mirror of https://github.com/hashicorp/consul
2277 lines
325 KiB
JavaScript
2277 lines
325 KiB
JavaScript
|
/*! For license information please see chunk.412.2df22e4bf69d8f15ebdb.js.LICENSE.txt */
|
|||
|
(globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]).push([[412],{218:(t,e,n)=>{"use strict"
|
|||
|
n.r(e),n.d(e,{iconNames:()=>r})
|
|||
|
const r=["loading","running","apple","apple-color","alibaba","alibaba-color","amazon-ecs","amazon-ecs-color","amazon-eks","amazon-eks-color","auth0","auth0-color","aws","aws-color","aws-cloudwatch","aws-cloudwatch-color","aws-ec2","aws-ec2-color","aws-lambda","aws-lambda-color","aws-s3","aws-s3-color","azure","azure-color","azure-aks","azure-aks-color","azure-blob-storage","azure-blob-storage-color","azure-devops","azure-devops-color","azure-vms","azure-vms-color","bitbucket","bitbucket-color","bridgecrew","bridgecrew-color","cisco","cisco-color","codepen","codepen-color","datadog","datadog-color","digital-ocean","digital-ocean-color","docker","docker-color","f5","f5-color","facebook","facebook-color","figma","figma-color","gcp","gcp-color","gitlab","gitlab-color","github","github-color","google","google-color","grafana","grafana-color","helm","helm-color","infracost","infracost-color","kubernetes","kubernetes-color","lightlytics","lightlytics-color","linkedin","linkedin-color","linode","linode-color","linux","linux-color","loom","loom-color","microsoft","microsoft-color","microsoft-teams","microsoft-teams-color","okta","okta-color","oracle","oracle-color","opa","opa-color","pack","pack-color","saml","saml-color","slack","slack-color","snyk","snyk-color","splunk","splunk-color","twitch","twitch-color","twitter","twitter-color","vantage","vantage-color","vmware","vmware-color","youtube","youtube-color","boundary","boundary-color","consul","consul-color","nomad","nomad-color","packer","packer-color","terraform","terraform-color","vagrant","vagrant-color","vault","vault-color","waypoint","waypoint-color","hashicorp","hashicorp-color","hcp","hcp-color","activity","alert-circle","alert-circle-fill","alert-diamond","alert-diamond-fill","alert-triangle","alert-triangle-fill","alert-octagon","alert-octagon-fill","align-center","align-justify","align-left","align-right","api","archive","arrow-down","arrow-down-circle","arrow-down-left","arrow-down-right","arrow-left","arrow-left-circle","arrow-right","arrow-right-circle","arrow-up","arrow-up-circle","arrow-up-left","arrow-up-right","at-sign","award","auto-apply","bank-vault","bar-chart","bar-chart-alt","battery","battery-charging","beaker","bell","bell-active-fill","bell-active","bell-off","bookmark","bookmark-fill","bookmark-add","bookmark-add-fill","bookmark-remove","bookmark-remove-fill","bottom","box","briefcase","bug","build","bulb","calendar","camera","camera-off","caret","cast","certificate","change","change-circle","change-square","check","check-circle","check-circle-fill","check-diamond","check-diamond-fill","check-hexagon","check-hexagon-fill","check-square","check-square-fill","chevron-down","chevron-left","chevron-right","chevron-up","chevrons-down","chevrons-left","chevrons-right","chevrons-up","circle","circle-dot","circle-fill","circle-half","clipboard","clipboard-checked","clipboard-copy","clock","clock-filled","cloud","closed-caption","cloud-check","cloud-download","cloud-lightning","cloud-lock","cloud-off","cloud-upload","cloud-x","code","collections","command","compass","connection","connection-gateway","corner-down-left","corner-down-right","corner-left-down","corner-left-up","corner-right-down","corner-right-up","corner-up-left","corner-up-right","cpu","credit-card","crop","crosshair","dashboard","database","delay","delete","diamond","diamond-fill","disc","discussion-circle","discussion-square","docs","docs-download","docs-link","dollar-sign","dot","dot-half","download","droplet","duplicate","edit","enterprise","entry-point","exit-point","external-link","event","eye","eye-off","fast-forward","file","file-check","file-change","file-diff","file-minus","file-plus","file-source","file-text","file-x","files","film","filter","filter-circle","filter-fill","fingerprint","flag","folder","folder-fill","folder-minus","folder-minus-fill","folder-plus","folder-plus-fill","folder-star","folder-users","frown","gateway","gift","git-branch","git-commit","git-merge","git-pull-request","git-repo","globe","globe-private","government","grid","grid-alt","guide","guide-link","hamm
|
|||
|
function r(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}var i
|
|||
|
n.r(e),n.d(e,{InterpreterStatus:()=>i,assign:()=>u,createMachine:()=>d,interpret:()=>y}),function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"}(i||(i={}))
|
|||
|
var o={type:"xstate.init"}
|
|||
|
function a(t){return void 0===t?[]:[].concat(t)}function u(t){return{type:"xstate.assign",assignment:t}}function c(t,e){return"string"==typeof(t="string"==typeof t&&e&&e[t]?e[t]:t)?{type:t}:"function"==typeof t?{type:t.name,exec:t}:t}function s(t){return function(e){return t===e}}function f(t){return"string"==typeof t?{type:t}:t}function l(t,e){return{value:t,context:e,actions:[],changed:!1,matches:s(t)}}function h(t,e,n){var r=e,i=!1
|
|||
|
return[t.filter((function(t){if("xstate.assign"===t.type){i=!0
|
|||
|
var e=Object.assign({},r)
|
|||
|
return"function"==typeof t.assignment?e=t.assignment(r,n):Object.keys(t.assignment).forEach((function(i){e[i]="function"==typeof t.assignment[i]?t.assignment[i](r,n):t.assignment[i]})),r=e,!1}return!0})),r,i]}function d(t,e){void 0===e&&(e={})
|
|||
|
var n=r(h(a(t.states[t.initial].entry).map((function(t){return c(t,e.actions)})),t.context,o),2),i=n[0],u=n[1],d={config:t,_options:e,initialState:{value:t.initial,actions:i,context:u,matches:s(t.initial)},transition:function(e,n){var i,o,u="string"==typeof e?{value:e,context:t.context}:e,p=u.value,y=u.context,b=f(n),v=t.states[p]
|
|||
|
if(v.on){var g=a(v.on[b.type])
|
|||
|
try{for(var m=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.")}(g),_=m.next();!_.done;_=m.next()){var w=_.value
|
|||
|
if(void 0===w)return l(p,y)
|
|||
|
var x="string"==typeof w?{target:w}:w,A=x.target,E=x.actions,k=void 0===E?[]:E,D=x.cond,C=void 0===A
|
|||
|
if((void 0===D?function(){return!0}:D)(y,b)){var O=t.states[null!=A?A:p],S=r(h((C?a(k):[].concat(v.exit,k,O.entry).filter((function(t){return t}))).map((function(t){return c(t,d._options.actions)})),y,b),3),M=S[0],F=S[1],T=S[2],B=null!=A?A:p
|
|||
|
return{value:B,context:F,actions:M,changed:A!==p||M.length>0||T,matches:s(B)}}}}catch(t){i={error:t}}finally{try{_&&!_.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}}return l(p,y)}}
|
|||
|
return d}var p=function(t,e){return t.actions.forEach((function(n){var r=n.exec
|
|||
|
return r&&r(t.context,e)}))}
|
|||
|
function y(t){var e=t.initialState,n=i.NotStarted,r=new Set,a={_machine:t,send:function(o){n===i.Running&&(e=t.transition(e,o),p(e,f(o)),r.forEach((function(t){return t(e)})))},subscribe:function(t){return r.add(t),t(e),{unsubscribe:function(){return r.delete(t)}}},start:function(r){if(r){var u="object"==typeof r?r:{context:t.config.context,value:r}
|
|||
|
e={value:u.value,actions:[],context:u.context,matches:s(u.value)}}return n=i.Running,p(e,o),a},stop:function(){return n=i.Stopped,r.clear(),a},get state(){return e},get status(){return n}}
|
|||
|
return a}},6313:(t,e,n)=>{"use strict"
|
|||
|
n.r(e),n.d(e,{default:()=>f})
|
|||
|
var r=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"]):checked','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])']
|
|||
|
function i(t,e){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this._previouslyFocused=null,this.container=t,this.dialog=t.querySelector('dialog, [role="dialog"], [role="alertdialog"]'),this.role=this.dialog.getAttribute("role")||"dialog",this.useDialog="show"in this.dialog,this._listeners={},this.create(e)}function o(t){return Array.prototype.slice.call(t)}function a(t,e){return o((e||document).querySelectorAll(t))}function u(t){var e=c(t),n=t.querySelector("[autofocus]")||e[0]
|
|||
|
n&&n.focus()}function c(t){return a(r.join(","),t).filter((function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}))}function s(){a("[data-a11y-dialog]").forEach((function(t){new i(t,t.getAttribute("data-a11y-dialog")||void 0)}))}i.prototype.create=function(t){var e,n,r
|
|||
|
return this._targets=this._targets||(r=t,NodeList.prototype.isPrototypeOf(r)?o(r):Element.prototype.isPrototypeOf(r)?[r]:"string"==typeof r?a(r):void 0)||((n=o((e=this.container).parentNode.childNodes).filter((function(t){return 1===t.nodeType}))).splice(n.indexOf(e),1),n),this.shown=this.dialog.hasAttribute("open"),this.dialog.setAttribute("role",this.role),this.useDialog?(this.container.setAttribute("data-a11y-dialog-native",""),this.container.removeAttribute("aria-hidden")):this.shown?this.container.removeAttribute("aria-hidden"):this.container.setAttribute("aria-hidden",!0),this._openers=a('[data-a11y-dialog-show="'+this.container.id+'"]'),this._openers.forEach(function(t){t.addEventListener("click",this._show)}.bind(this)),this._closers=a("[data-a11y-dialog-hide]",this.container).concat(a('[data-a11y-dialog-hide="'+this.container.id+'"]')),this._closers.forEach(function(t){t.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},i.prototype.show=function(t){return this.shown||(this.shown=!0,this._previouslyFocused=document.activeElement,this.useDialog?this.dialog.showModal(t instanceof Event?void 0:t):(this.dialog.setAttribute("open",""),this.container.removeAttribute("aria-hidden"),this._targets.forEach((function(t){t.hasAttribute("aria-hidden")&&t.setAttribute("data-a11y-dialog-original-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true")}))),u(this.dialog),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",t)),this},i.prototype.hide=function(t){return this.shown?(this.shown=!1,this.useDialog?this.dialog.close(t instanceof Event?void 0:t):(this.dialog.removeAttribute("open"),this.container.setAttribute("aria-hidden","true"),this._targets.forEach((function(t){t.hasAttribute("data-a11y-dialog-original-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-a11y-dialog-original-aria-hidden")),t.removeAttribute("data-a11y-dialog-original-aria-hidden")):t.removeAttribute("aria-hidden")}))),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",t),this):this},i.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(t){t.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(t){t.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},i.prototype.on=function(t,e){return void 0===this._listeners[t]&&(this._listeners[t]=[]),this._listeners[t].push(e),this},i.prototype.off=function(t,e){var n=(this._listeners[t]||[]).indexOf(e)
|
|||
|
return n>-1&&this._listeners[t].splice(n,1),this},i.prototype._fire=function(t,e){(this._listeners[t]||[]).forEach(function(t){t(this.container,e)}.bind(this))},i.prototype._bindKeypress=function(t){this.dialog.contains(document.activeElement)&&(this.shown&&27===t.which&&"alertdialog"!==this.role&&(t.preventDefault(),this.hide(t)),this.shown&&9===t.which&&function(t,e){var n=c(t),r=n.indexOf(document.activeElement)
|
|||
|
e.shiftKey&&0===r?(n[n.length-1].focus(),e.preventDefault()):e.shiftKey||r!==n.length-1||(n[0].focus(),e.preventDefault())}(this.dialog,t))},i.prototype._maintainFocus=function(t){var e=t.target.getAttribute("data-a11y-dialog-show")
|
|||
|
this.shown&&!this.container.contains(t.target)&&e===this.container.id&&u(this.container)},"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",s):window.requestAnimationFrame?window.requestAnimationFrame(s):window.setTimeout(s,16))
|
|||
|
const f=i},3305:(t,e)=>{"use strict"
|
|||
|
e.byteLength=function(t){var e=c(t),n=e[0],r=e[1]
|
|||
|
return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,o=c(t),a=o[0],u=o[1],s=new i(function(t,e,n){return 3*(e+n)/4-n}(0,a,u)),f=0,l=u>0?a-4:a
|
|||
|
for(n=0;n<l;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],s[f++]=e>>16&255,s[f++]=e>>8&255,s[f++]=255&e
|
|||
|
return 2===u&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,s[f++]=255&e),1===u&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,s[f++]=e>>8&255,s[f++]=255&e),s},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],a=16383,u=0,c=r-i;u<c;u+=a)o.push(s(t,u,u+a>c?c:u+a))
|
|||
|
return 1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),o.join("")}
|
|||
|
for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=o.length;a<u;++a)n[a]=o[a],r[o.charCodeAt(a)]=a
|
|||
|
function c(t){var e=t.length
|
|||
|
if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4")
|
|||
|
var n=t.indexOf("=")
|
|||
|
return-1===n&&(n=e),[n,n===e?0:4-n%4]}function s(t,e,r){for(var i,o,a=[],u=e;u<r;u+=3)i=(t[u]<<16&16711680)+(t[u+1]<<8&65280)+(255&t[u+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o])
|
|||
|
return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},2309:function(t){var e
|
|||
|
e=function(){return function(){var t={134:function(t,e,n){"use strict"
|
|||
|
n.d(e,{default:function(){return m}})
|
|||
|
var r=n(279),i=n.n(r),o=n(370),a=n.n(o),u=n(817),c=n.n(u)
|
|||
|
function s(t){return s="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},s(t)}var f=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.resolveOptions(e),this.initSelection()}var n
|
|||
|
return n=[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|||
|
this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var t="rtl"===document.documentElement.getAttribute("dir")
|
|||
|
this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px"
|
|||
|
var e=window.pageYOffset||document.documentElement.scrollTop
|
|||
|
return this.fakeElem.style.top="".concat(e,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var t=this,e=this.createFakeElement()
|
|||
|
this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(e),this.selectedText=c()(e),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=c()(this.target),this.copyText()}},{key:"copyText",value:function(){var t
|
|||
|
try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy"
|
|||
|
if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==s(t)||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element')
|
|||
|
if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute')
|
|||
|
if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')
|
|||
|
this._target=t}},get:function(){return this._target}}],n&&function(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)}}(t.prototype,n),t}(),l=f
|
|||
|
function h(t){return h="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},h(t)}function d(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 p(t,e){return p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},p(t,e)}function y(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|||
|
return t}(t):e}function b(t){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},b(t)}function v(t,e){var n="data-clipboard-".concat(t)
|
|||
|
if(e.hasAttribute(n))return e.getAttribute(n)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function")
|
|||
|
t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(c,t)
|
|||
|
var e,n,r,i,o,u=(i=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|||
|
if(Reflect.construct.sham)return!1
|
|||
|
if("function"==typeof Proxy)return!0
|
|||
|
try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=b(i)
|
|||
|
if(o){var n=b(this).constructor
|
|||
|
t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments)
|
|||
|
return y(this,t)})
|
|||
|
function c(t,e){var n
|
|||
|
return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(n=u.call(this)).resolveOptions(e),n.listenClick(t),n}return e=c,n=[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|||
|
this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===h(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this
|
|||
|
this.listener=a()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget
|
|||
|
this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return v("action",t)}},{key:"defaultTarget",value:function(t){var e=v("target",t)
|
|||
|
if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return v("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],r=[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported
|
|||
|
return e.forEach((function(t){n=n&&!!document.queryCommandSupported(t)})),n}}],n&&d(e.prototype,n),r&&d(e,r),c}(i()),m=g},828:function(t){if("undefined"!=typeof Element&&!Element.prototype.matches){var e=Element.prototype
|
|||
|
e.matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t
|
|||
|
t=t.parentNode}}},438:function(t,e,n){var r=n(828)
|
|||
|
function i(t,e,n,r,i){var a=o.apply(this,arguments)
|
|||
|
return t.addEventListener(n,a,i),{destroy:function(){t.removeEventListener(n,a,i)}}}function o(t,e,n,i){return function(n){n.delegateTarget=r(n.target,e),n.delegateTarget&&i.call(t,n)}}t.exports=function(t,e,n,r,o){return"function"==typeof t.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return i(t,e,n,r,o)})))}},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t)
|
|||
|
return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,n){var r=n(879),i=n(438)
|
|||
|
t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments")
|
|||
|
if(!r.string(e))throw new TypeError("Second argument must be a String")
|
|||
|
if(!r.fn(n))throw new TypeError("Third argument must be a Function")
|
|||
|
if(r.node(t))return function(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}(t,e,n)
|
|||
|
if(r.nodeList(t))return function(t,e,n){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,n)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,n)}))}}}(t,e,n)
|
|||
|
if(r.string(t))return function(t,e,n){return i(document.body,t,e,n)}(t,e,n)
|
|||
|
throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(t){t.exports=function(t){var e
|
|||
|
if("SELECT"===t.nodeName)t.focus(),e=t.value
|
|||
|
else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly")
|
|||
|
n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus()
|
|||
|
var r=window.getSelection(),i=document.createRange()
|
|||
|
i.selectNodeContents(t),r.removeAllRanges(),r.addRange(i),e=r.toString()}return e}},279:function(t){function e(){}e.prototype={on:function(t,e,n){var r=this.e||(this.e={})
|
|||
|
return(r[t]||(r[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var r=this
|
|||
|
function i(){r.off(t,i),e.apply(n,arguments)}return i._=e,this.on(t,i,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,e)
|
|||
|
return this},off:function(t,e){var n=this.e||(this.e={}),r=n[t],i=[]
|
|||
|
if(r&&e)for(var o=0,a=r.length;o<a;o++)r[o].fn!==e&&r[o].fn._!==e&&i.push(r[o])
|
|||
|
return i.length?n[t]=i:delete n[t],this}},t.exports=e,t.exports.TinyEmitter=e}},e={}
|
|||
|
function n(r){if(e[r])return e[r].exports
|
|||
|
var i=e[r]={exports:{}}
|
|||
|
return t[r](i,i.exports,n),i.exports}return n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t}
|
|||
|
return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n(134)}().default},t.exports=e()},7604:(t,e,n)=>{"use strict"
|
|||
|
function r(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}n.d(e,{Z:()=>r})},4376:(t,e,n)=>{"use strict"
|
|||
|
n.d(e,{Nw:()=>c,ZP:()=>f,ZR:()=>s,ml:()=>u})
|
|||
|
var r=n(7604),i=n(9354),o=n(9750)
|
|||
|
const a=(0,i.Z)(r.Z),u=a.right,c=a.left,s=(0,i.Z)(o.Z).center,f=u},9354:(t,e,n)=>{"use strict"
|
|||
|
n.d(e,{Z:()=>i})
|
|||
|
var r=n(7604)
|
|||
|
function i(t){let e=t,n=t
|
|||
|
function i(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){const o=r+i>>>1
|
|||
|
n(t[o],e)<0?r=o+1:i=o}return r}return 1===t.length&&(e=(e,n)=>t(e)-n,n=function(t){return(e,n)=>(0,r.Z)(t(e),n)}(t)),{left:i,center:function(t,n,r,o){null==r&&(r=0),null==o&&(o=t.length)
|
|||
|
const a=i(t,n,r,o-1)
|
|||
|
return a>r&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){const o=r+i>>>1
|
|||
|
n(t[o],e)>0?i=o:r=o+1}return r}}}},1286:(t,e,n)=>{"use strict"
|
|||
|
n.r(e),n.d(e,{Adder:()=>v,InternMap:()=>_,InternSet:()=>w,ascending:()=>i.Z,bin:()=>q,bisect:()=>r.ZP,bisectCenter:()=>r.ZR,bisectLeft:()=>r.Nw,bisectRight:()=>r.ml,bisector:()=>o.Z,count:()=>a,cross:()=>l,cumsum:()=>h,descending:()=>d,deviation:()=>y,difference:()=>xt,disjoint:()=>At,every:()=>bt,extent:()=>b,fcumsum:()=>m,filter:()=>gt,fsum:()=>g,greatest:()=>ut,greatestIndex:()=>ct,group:()=>C,groupSort:()=>R,groups:()=>O,histogram:()=>q,index:()=>F,indexes:()=>T,intersection:()=>kt,least:()=>ot,leastIndex:()=>at,map:()=>mt,max:()=>G.Z,maxIndex:()=>K,mean:()=>W,median:()=>X,merge:()=>J,min:()=>Q.Z,minIndex:()=>tt,nice:()=>z,pairs:()=>et,permute:()=>j,quantile:()=>V.Z,quantileSorted:()=>V.s,quickselect:()=>rt.Z,range:()=>it.Z,reduce:()=>_t,reverse:()=>wt,rollup:()=>S,rollups:()=>M,scan:()=>st,shuffle:()=>ft,shuffler:()=>lt,some:()=>vt,sort:()=>N,subset:()=>Ct,sum:()=>ht,superset:()=>Dt,thresholdFreedmanDiaconis:()=>H,thresholdScott:()=>Y,thresholdSturges:()=>Z,tickIncrement:()=>U.G9,tickStep:()=>U.ly,ticks:()=>U.ZP,transpose:()=>dt,union:()=>Ot,variance:()=>p,zip:()=>yt})
|
|||
|
var r=n(4376),i=n(7604),o=n(9354)
|
|||
|
function a(t,e){let n=0
|
|||
|
if(void 0===e)for(let r of t)null!=r&&(r=+r)>=r&&++n
|
|||
|
else{let r=-1
|
|||
|
for(let i of t)null!=(i=e(i,++r,t))&&(i=+i)>=i&&++n}return n}function u(t){return 0|t.length}function c(t){return!(t>0)}function s(t){return"object"!=typeof t||"length"in t?t:Array.from(t)}function f(t){return e=>t(...e)}function l(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n]
|
|||
|
const r="function"==typeof e[e.length-1]&&f(e.pop()),i=(e=e.map(s)).map(u),o=e.length-1,a=new Array(o+1).fill(0),l=[]
|
|||
|
if(o<0||i.some(c))return l
|
|||
|
for(;;){l.push(a.map(((t,n)=>e[n][t])))
|
|||
|
let t=o
|
|||
|
for(;++a[t]===i[t];){if(0===t)return r?l.map(r):l
|
|||
|
a[t--]=0}}}function h(t,e){var n=0,r=0
|
|||
|
return Float64Array.from(t,void 0===e?t=>n+=+t||0:i=>n+=+e(i,r++,t)||0)}function d(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function p(t,e){let n,r=0,i=0,o=0
|
|||
|
if(void 0===e)for(let a of t)null!=a&&(a=+a)>=a&&(n=a-i,i+=n/++r,o+=n*(a-i))
|
|||
|
else{let a=-1
|
|||
|
for(let u of t)null!=(u=e(u,++a,t))&&(u=+u)>=u&&(n=u-i,i+=n/++r,o+=n*(u-i))}if(r>1)return o/(r-1)}function y(t,e){const n=p(t,e)
|
|||
|
return n?Math.sqrt(n):n}function b(t,e){let n,r
|
|||
|
if(void 0===e)for(const i of t)null!=i&&(void 0===n?i>=i&&(n=r=i):(n>i&&(n=i),r<i&&(r=i)))
|
|||
|
else{let i=-1
|
|||
|
for(let o of t)null!=(o=e(o,++i,t))&&(void 0===n?o>=o&&(n=r=o):(n>o&&(n=o),r<o&&(r=o)))}return[n,r]}class v{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const e=this._partials
|
|||
|
let n=0
|
|||
|
for(let r=0;r<this._n&&r<32;r++){const 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}valueOf(){const t=this._partials
|
|||
|
let e,n,r,i=this._n,o=0
|
|||
|
if(i>0){for(o=t[--i];i>0&&(e=o,n=t[--i],o=e+n,r=n-(o-e),!r););i>0&&(r<0&&t[i-1]<0||r>0&&t[i-1]>0)&&(n=2*r,e=o+n,n==e-o&&(o=e))}return o}}function g(t,e){const n=new v
|
|||
|
if(void 0===e)for(let r of t)(r=+r)&&n.add(r)
|
|||
|
else{let r=-1
|
|||
|
for(let i of t)(i=+e(i,++r,t))&&n.add(i)}return+n}function m(t,e){const n=new v
|
|||
|
let r=-1
|
|||
|
return Float64Array.from(t,void 0===e?t=>n.add(+t||0):i=>n.add(+e(i,++r,t)||0))}class _ extends Map{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:k
|
|||
|
if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[n,r]of t)this.set(n,r)}get(t){return super.get(x(this,t))}has(t){return super.has(x(this,t))}set(t,e){return super.set(A(this,t),e)}delete(t){return super.delete(E(this,t))}}class w extends Set{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:k
|
|||
|
if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const n of t)this.add(n)}has(t){return super.has(x(this,t))}add(t){return super.add(A(this,t))}delete(t){return super.delete(E(this,t))}}function x(t,e){let{_intern:n,_key:r}=t
|
|||
|
const i=r(e)
|
|||
|
return n.has(i)?n.get(i):e}function A(t,e){let{_intern:n,_key:r}=t
|
|||
|
const i=r(e)
|
|||
|
return n.has(i)?n.get(i):(n.set(i,e),e)}function E(t,e){let{_intern:n,_key:r}=t
|
|||
|
const i=r(e)
|
|||
|
return n.has(i)&&(e=n.get(e),n.delete(i)),e}function k(t){return null!==t&&"object"==typeof t?t.valueOf():t}function D(t){return t}function C(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r]
|
|||
|
return P(t,D,D,n)}function O(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r]
|
|||
|
return P(t,Array.from,D,n)}function S(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]
|
|||
|
return P(t,D,e,r)}function M(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]
|
|||
|
return P(t,Array.from,e,r)}function F(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r]
|
|||
|
return P(t,D,B,n)}function T(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r]
|
|||
|
return P(t,Array.from,B,n)}function B(t){if(1!==t.length)throw new Error("duplicate key")
|
|||
|
return t[0]}function P(t,e,n,r){return function t(i,o){if(o>=r.length)return n(i)
|
|||
|
const a=new _,u=r[o++]
|
|||
|
let c=-1
|
|||
|
for(const e of i){const t=u(e,++c,i),n=a.get(t)
|
|||
|
n?n.push(e):a.set(t,[e])}for(const[e,n]of a)a.set(e,t(n,o))
|
|||
|
return e(a)}(t,0)}function j(t,e){return Array.from(e,(e=>t[e]))}function N(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r]
|
|||
|
if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable")
|
|||
|
t=Array.from(t)
|
|||
|
let[o=i.Z]=n
|
|||
|
if(1===o.length||n.length>1){const e=Uint32Array.from(t,((t,e)=>e))
|
|||
|
return n.length>1?(n=n.map((e=>t.map(e))),e.sort(((t,e)=>{for(const r of n){const n=(0,i.Z)(r[t],r[e])
|
|||
|
if(n)return n}}))):(o=t.map(o),e.sort(((t,e)=>(0,i.Z)(o[t],o[e])))),j(t,e)}return t.sort(o)}function R(t,e,n){return(1===e.length?N(S(t,e,n),((t,e)=>{let[n,r]=t,[o,a]=e
|
|||
|
return(0,i.Z)(r,a)||(0,i.Z)(n,o)})):N(C(t,n),((t,n)=>{let[r,o]=t,[a,u]=n
|
|||
|
return e(o,u)||(0,i.Z)(r,a)}))).map((t=>{let[e]=t
|
|||
|
return e}))}var L=Array.prototype,I=L.slice
|
|||
|
function $(t){return function(){return t}}L.map
|
|||
|
var U=n(458)
|
|||
|
function z(t,e,n){let r
|
|||
|
for(;;){const i=(0,U.G9)(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 Z(t){return Math.ceil(Math.log(a(t))/Math.LN2)+1}function q(){var t=D,e=b,n=Z
|
|||
|
function i(i){Array.isArray(i)||(i=Array.from(i))
|
|||
|
var o,a,u=i.length,c=new Array(u)
|
|||
|
for(o=0;o<u;++o)c[o]=t(i[o],o,i)
|
|||
|
var s=e(c),f=s[0],l=s[1],h=n(c,f,l)
|
|||
|
if(!Array.isArray(h)){const t=l,n=+h
|
|||
|
if(e===b&&([f,l]=z(f,l,n)),(h=(0,U.ZP)(f,l,n))[h.length-1]>=l)if(t>=l&&e===b){const t=(0,U.G9)(f,l,n)
|
|||
|
isFinite(t)&&(t>0?l=(Math.floor(l/t)+1)*t:t<0&&(l=(Math.ceil(l*-t)+1)/-t))}else h.pop()}for(var d=h.length;h[0]<=f;)h.shift(),--d
|
|||
|
for(;h[d-1]>l;)h.pop(),--d
|
|||
|
var p,y=new Array(d+1)
|
|||
|
for(o=0;o<=d;++o)(p=y[o]=[]).x0=o>0?h[o-1]:f,p.x1=o<d?h[o]:l
|
|||
|
for(o=0;o<u;++o)f<=(a=c[o])&&a<=l&&y[(0,r.ZP)(h,a,0,d)].push(i[o])
|
|||
|
return y}return i.value=function(e){return arguments.length?(t="function"==typeof e?e:$(e),i):t},i.domain=function(t){return arguments.length?(e="function"==typeof t?t:$([t[0],t[1]]),i):e},i.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?$(I.call(t)):$(t),i):n},i}var V=n(801)
|
|||
|
function H(t,e,n){return Math.ceil((n-e)/(2*((0,V.Z)(t,.75)-(0,V.Z)(t,.25))*Math.pow(a(t),-1/3)))}function Y(t,e,n){return Math.ceil((n-e)/(3.5*y(t)*Math.pow(a(t),-1/3)))}var G=n(2368)
|
|||
|
function K(t,e){let n,r=-1,i=-1
|
|||
|
if(void 0===e)for(const o of t)++i,null!=o&&(n<o||void 0===n&&o>=o)&&(n=o,r=i)
|
|||
|
else for(let o of t)null!=(o=e(o,++i,t))&&(n<o||void 0===n&&o>=o)&&(n=o,r=i)
|
|||
|
return r}function W(t,e){let n=0,r=0
|
|||
|
if(void 0===e)for(let i of t)null!=i&&(i=+i)>=i&&(++n,r+=i)
|
|||
|
else{let i=-1
|
|||
|
for(let o of t)null!=(o=e(o,++i,t))&&(o=+o)>=o&&(++n,r+=o)}if(n)return r/n}function X(t,e){return(0,V.Z)(t,.5,e)}function J(t){return Array.from(function*(t){for(const e of t)yield*e}(t))}var Q=n(4007)
|
|||
|
function tt(t,e){let n,r=-1,i=-1
|
|||
|
if(void 0===e)for(const o of t)++i,null!=o&&(n>o||void 0===n&&o>=o)&&(n=o,r=i)
|
|||
|
else for(let o of t)null!=(o=e(o,++i,t))&&(n>o||void 0===n&&o>=o)&&(n=o,r=i)
|
|||
|
return r}function et(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nt
|
|||
|
const n=[]
|
|||
|
let r,i=!1
|
|||
|
for(const o of t)i&&n.push(e(r,o)),r=o,i=!0
|
|||
|
return n}function nt(t,e){return[t,e]}var rt=n(3767),it=n(1204)
|
|||
|
function ot(t){let e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Z,r=!1
|
|||
|
if(1===n.length){let o
|
|||
|
for(const a of t){const t=n(a);(r?(0,i.Z)(t,o)<0:0===(0,i.Z)(t,t))&&(e=a,o=t,r=!0)}}else for(const i of t)(r?n(i,e)<0:0===n(i,i))&&(e=i,r=!0)
|
|||
|
return e}function at(t){let e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Z
|
|||
|
if(1===n.length)return tt(t,n)
|
|||
|
let r=-1,o=-1
|
|||
|
for(const i of t)++o,(r<0?0===n(i,i):n(i,e)<0)&&(e=i,r=o)
|
|||
|
return r}function ut(t){let e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Z,r=!1
|
|||
|
if(1===n.length){let o
|
|||
|
for(const a of t){const t=n(a);(r?(0,i.Z)(t,o)>0:0===(0,i.Z)(t,t))&&(e=a,o=t,r=!0)}}else for(const i of t)(r?n(i,e)>0:0===n(i,i))&&(e=i,r=!0)
|
|||
|
return e}function ct(t){let e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Z
|
|||
|
if(1===n.length)return K(t,n)
|
|||
|
let r=-1,o=-1
|
|||
|
for(const i of t)++o,(r<0?0===n(i,i):n(i,e)>0)&&(e=i,r=o)
|
|||
|
return r}function st(t,e){const n=at(t,e)
|
|||
|
return n<0?void 0:n}const ft=lt(Math.random)
|
|||
|
function lt(t){return function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,i=r-(n=+n)
|
|||
|
for(;i;){const r=t()*i--|0,o=e[i+n]
|
|||
|
e[i+n]=e[r+n],e[r+n]=o}return e}}function ht(t,e){let n=0
|
|||
|
if(void 0===e)for(let r of t)(r=+r)&&(n+=r)
|
|||
|
else{let r=-1
|
|||
|
for(let i of t)(i=+e(i,++r,t))&&(n+=i)}return n}function dt(t){if(!(i=t.length))return[]
|
|||
|
for(var e=-1,n=(0,Q.Z)(t,pt),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 pt(t){return t.length}function yt(){return dt(arguments)}function bt(t,e){if("function"!=typeof e)throw new TypeError("test is not a function")
|
|||
|
let n=-1
|
|||
|
for(const r of t)if(!e(r,++n,t))return!1
|
|||
|
return!0}function vt(t,e){if("function"!=typeof e)throw new TypeError("test is not a function")
|
|||
|
let n=-1
|
|||
|
for(const r of t)if(e(r,++n,t))return!0
|
|||
|
return!1}function gt(t,e){if("function"!=typeof e)throw new TypeError("test is not a function")
|
|||
|
const n=[]
|
|||
|
let r=-1
|
|||
|
for(const i of t)e(i,++r,t)&&n.push(i)
|
|||
|
return n}function mt(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,((n,r)=>e(n,r,t)))}function _t(t,e,n){if("function"!=typeof e)throw new TypeError("reducer is not a function")
|
|||
|
const r=t[Symbol.iterator]()
|
|||
|
let i,o,a=-1
|
|||
|
if(arguments.length<3){if(({done:i,value:n}=r.next()),i)return;++a}for(;({done:i,value:o}=r.next()),!i;)n=e(n,o,++a,t)
|
|||
|
return n}function wt(t){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable")
|
|||
|
return Array.from(t).reverse()}function xt(t){t=new Set(t)
|
|||
|
for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r]
|
|||
|
for(const i of n)for(const e of i)t.delete(e)
|
|||
|
return t}function At(t,e){const n=e[Symbol.iterator](),r=new Set
|
|||
|
for(const i of t){if(r.has(i))return!1
|
|||
|
let t,e
|
|||
|
for(;({value:t,done:e}=n.next())&&!e;){if(Object.is(i,t))return!1
|
|||
|
r.add(t)}}return!0}function Et(t){return t instanceof Set?t:new Set(t)}function kt(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r]
|
|||
|
t=new Set(t),n=n.map(Et)
|
|||
|
t:for(const i of t)for(const e of n)if(!e.has(i)){t.delete(i)
|
|||
|
continue t}return t}function Dt(t,e){const n=t[Symbol.iterator](),r=new Set
|
|||
|
for(const i of e){if(r.has(i))continue
|
|||
|
let t,e
|
|||
|
for(;({value:t,done:e}=n.next());){if(e)return!1
|
|||
|
if(r.add(t),Object.is(i,t))break}}return!0}function Ct(t,e){return Dt(e,t)}function Ot(){const t=new Set
|
|||
|
for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r]
|
|||
|
for(const i of n)for(const e of i)t.add(e)
|
|||
|
return t}},2368:(t,e,n)=>{"use strict"
|
|||
|
function r(t,e){let n
|
|||
|
if(void 0===e)for(const r of t)null!=r&&(n<r||void 0===n&&r>=r)&&(n=r)
|
|||
|
else{let r=-1
|
|||
|
for(let i of t)null!=(i=e(i,++r,t))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}n.d(e,{Z:()=>r})},4007:(t,e,n)=>{"use strict"
|
|||
|
function r(t,e){let n
|
|||
|
if(void 0===e)for(const r of t)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r)
|
|||
|
else{let r=-1
|
|||
|
for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}n.d(e,{Z:()=>r})},9750:(t,e,n)=>{"use strict"
|
|||
|
function r(t){return null===t?NaN:+t}function*i(t,e){if(void 0===e)for(let n of t)null!=n&&(n=+n)>=n&&(yield n)
|
|||
|
else{let n=-1
|
|||
|
for(let r of t)null!=(r=e(r,++n,t))&&(r=+r)>=r&&(yield r)}}n.d(e,{K:()=>i,Z:()=>r})},801:(t,e,n)=>{"use strict"
|
|||
|
n.d(e,{Z:()=>u,s:()=>c})
|
|||
|
var r=n(2368),i=n(4007),o=n(3767),a=n(9750)
|
|||
|
function u(t,e,n){if(u=(t=Float64Array.from((0,a.K)(t,n))).length){if((e=+e)<=0||u<2)return(0,i.Z)(t)
|
|||
|
if(e>=1)return(0,r.Z)(t)
|
|||
|
var u,c=(u-1)*e,s=Math.floor(c),f=(0,r.Z)((0,o.Z)(t,s).subarray(0,s+1))
|
|||
|
return f+((0,i.Z)(t.subarray(s+1))-f)*(c-s)}}function c(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.Z
|
|||
|
if(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),u=+n(t[o],o,t),c=+n(t[o+1],o+1,t)
|
|||
|
return u+(c-u)*(i-o)}}},3767:(t,e,n)=>{"use strict"
|
|||
|
n.d(e,{Z:()=>i})
|
|||
|
var r=n(7604)
|
|||
|
function i(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length-1,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.Z
|
|||
|
for(;a>n;){if(a-n>600){const r=a-n+1,o=e-n+1,c=Math.log(r),s=.5*Math.exp(2*c/3),f=.5*Math.sqrt(c*s*(r-s)/r)*(o-r/2<0?-1:1)
|
|||
|
i(t,e,Math.max(n,Math.floor(e-o*s/r+f)),Math.min(a,Math.floor(e+(r-o)*s/r+f)),u)}const r=t[e]
|
|||
|
let c=n,s=a
|
|||
|
for(o(t,n,e),u(t[a],r)>0&&o(t,n,a);c<s;){for(o(t,c,s),++c,--s;u(t[c],r)<0;)++c
|
|||
|
for(;u(t[s],r)>0;)--s}0===u(t[n],r)?o(t,n,s):(++s,o(t,s,a)),s<=e&&(n=s+1),e<=s&&(a=s-1)}return t}function o(t,e,n){const r=t[e]
|
|||
|
t[e]=t[n],t[n]=r}},1204:(t,e,n)=>{"use strict"
|
|||
|
function r(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}n.d(e,{Z:()=>r})},458:(t,e,n)=>{"use strict"
|
|||
|
n.d(e,{G9:()=>u,ZP:()=>a,ly:()=>c})
|
|||
|
var r=Math.sqrt(50),i=Math.sqrt(10),o=Math.sqrt(2)
|
|||
|
function a(t,e,n){var r,i,o,a,c=-1
|
|||
|
if(n=+n,(t=+t)==(e=+e)&&n>0)return[t]
|
|||
|
if((r=e<t)&&(i=t,t=e,e=i),0===(a=u(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));++c<i;)o[c]=(t+c)*a
|
|||
|
else for(a=-a,t=Math.ceil(t*a),e=Math.floor(e*a),o=new Array(i=Math.ceil(e-t+1));++c<i;)o[c]=(t+c)/a
|
|||
|
return r&&o.reverse(),o}function u(t,e,n){var a=(e-t)/Math.max(0,n),u=Math.floor(Math.log(a)/Math.LN10),c=a/Math.pow(10,u)
|
|||
|
return u>=0?(c>=r?10:c>=i?5:c>=o?2:1)*Math.pow(10,u):-Math.pow(10,-u)/(c>=r?10:c>=i?5:c>=o?2:1)}function c(t,e,n){var a=Math.abs(e-t)/Math.max(0,n),u=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),c=a/u
|
|||
|
return c>=r?u*=10:c>=i?u*=5:c>=o&&(u*=2),e<t?-u:u}},7128:(t,e,n)=>{"use strict"
|
|||
|
n.d(e,{B8:()=>E,Il:()=>i,J5:()=>a,SU:()=>A,Ss:()=>k,ZP:()=>_,xV:()=>o})
|
|||
|
var r=n(1572)
|
|||
|
function i(){}var o=.7,a=1/o,u="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",f=/^#([0-9a-f]{3,8})$/,l=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),h=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),d=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),p=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),y=new RegExp("^hsl\\("+[c,s,s]+"\\)$"),b=new RegExp("^hsla\\("+[c,s,s,c]+"\\)$"),v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074}
|
|||
|
function g(){return this.rgb().formatHex()}function m(){return this.rgb().formatRgb()}function _(t){var e,n
|
|||
|
return t=(t+"").trim().toLowerCase(),(e=f.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?w(e):3===n?new k(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?x(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?x(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=l.exec(t))?new k(e[1],e[2],e[3],1):(e=h.exec(t))?new k(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?x(e[1],e[2],e[3],e[4]):(e=p.exec(t))?x(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=y.exec(t))?S(e[1],e[2]/100,e[3]/100,1):(e=b.exec(t))?S(e[1],e[2]/100,e[3]/100,e[4]):v.hasOwnProperty(t)?w(v[t]):"transparent"===t?new k(NaN,NaN,NaN,0):null}function w(t){return new k(t>>16&255,t>>8&255,255&t,1)}function x(t,e,n,r){return r<=0&&(t=e=n=NaN),new k(t,e,n,r)}function A(t){return t instanceof i||(t=_(t)),t?new k((t=t.rgb()).r,t.g,t.b,t.opacity):new k}function E(t,e,n,r){return 1===arguments.length?A(t):new k(t,e,n,null==r?1:r)}function k(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function D(){return"#"+O(this.r)+O(this.g)+O(this.b)}function C(){var t=this.opacity
|
|||
|
return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function O(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function S(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new F(t,e,n,r)}function M(t){if(t instanceof F)return new F(t.h,t.s,t.l,t.opacity)
|
|||
|
if(t instanceof i||(t=_(t)),!t)return new F
|
|||
|
if(t instanceof F)return t
|
|||
|
var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),a=Math.max(e,n,r),u=NaN,c=a-o,s=(a+o)/2
|
|||
|
return c?(u=e===a?(n-r)/c+6*(n<r):n===a?(r-e)/c+2:(e-n)/c+4,c/=s<.5?a+o:2-a-o,u*=60):c=s>0&&s<1?0:u,new F(u,c,s,t.opacity)}function F(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function T(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}(0,r.Z)(i,_,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:g,formatHex:g,formatHsl:function(){return M(this).formatHsl()},formatRgb:m,toString:m}),(0,r.Z)(k,E,(0,r.l)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:D,formatHex:D,formatRgb:C,toString:C})),(0,r.Z)(F,(function(t,e,n,r){return 1===arguments.length?M(t):new F(t,e,n,null==r?1:r)}),(0,r.l)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new F(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new F(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r
|
|||
|
return new k(T(t>=240?t-240:t+120,i,r),T(t,i,r),T(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity
|
|||
|
return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},1572:(t,e,n)=>{"use strict"
|
|||
|
function r(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function i(t,e){var n=Object.create(t.prototype)
|
|||
|
for(var r in e)n[r]=e[r]
|
|||
|
return n}n.d(e,{Z:()=>r,l:()=>i})},901:(t,e,n)=>{"use strict"
|
|||
|
n.d(e,{ZP:()=>u,wx:()=>o,yi:()=>a})
|
|||
|
var r=n(6436)
|
|||
|
function i(t,e){return function(n){return t+n*e}}function o(t,e){var n=e-t
|
|||
|
return n?i(t,n>180||n<-180?n-360*Math.round(n/360):n):(0,r.Z)(isNaN(t)?e:t)}function a(t){return 1==(t=+t)?u:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):(0,r.Z)(isNaN(e)?n:e)}}function u(t,e){var n=e-t
|
|||
|
return n?i(t,n):(0,r.Z)(isNaN(t)?e:t)}},6436:(t,e,n)=>{"use strict"
|
|||
|
n.d(e,{Z:()=>r})
|
|||
|
const r=t=>()=>t},9663:(t,e,n)=>{"use strict"
|
|||
|
n.d(e,{ZP:()=>a,hD:()=>c})
|
|||
|
var r=n(7128)
|
|||
|
function i(t,e,n,r,i){var o=t*t,a=o*t
|
|||
|
return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}var o=n(901)
|
|||
|
const a=function t(e){var n=(0,o.yi)(e)
|
|||
|
function i(t,e){var i=n((t=(0,r.B8)(t)).r,(e=(0,r.B8)(e)).r),a=n(t.g,e.g),u=n(t.b,e.b),c=(0,o.ZP)(t.opacity,e.opacity)
|
|||
|
return function(e){return t.r=i(e),t.g=a(e),t.b=u(e),t.opacity=c(e),t+""}}return i.gamma=t,i}(1)
|
|||
|
function u(t){return function(e){var n,i,o=e.length,a=new Array(o),u=new Array(o),c=new Array(o)
|
|||
|
for(n=0;n<o;++n)i=(0,r.B8)(e[n]),a[n]=i.r||0,u[n]=i.g||0,c[n]=i.b||0
|
|||
|
return a=t(a),u=t(u),c=t(c),i.opacity=1,function(t){return i.r=a(t),i.g=u(t),i.b=c(t),i+""}}}var c=u((function(t){var e=t.length-1
|
|||
|
return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[r],a=t[r+1],u=r>0?t[r-1]:2*o-a,c=r<e-1?t[r+2]:2*a-o
|
|||
|
return i((n-r/e)*e,u,o,a,c)}}))
|
|||
|
u((function(t){var e=t.length
|
|||
|
return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),o=t[(r+e-1)%e],a=t[r%e],u=t[(r+1)%e],c=t[(r+2)%e]
|
|||
|
return i((n-r/e)*e,o,a,u,c)}}))},9677:(t,e,n)=>{"use strict"
|
|||
|
function r(t){for(var e=t.length/6|0,n=new Array(e),r=0;r<e;)n[r]="#"+t.slice(6*r,6*++r)
|
|||
|
return n}n.r(e),n.d(e,{interpolateBlues:()=>ot,interpolateBrBG:()=>v,interpolateBuGn:()=>j,interpolateBuPu:()=>R,interpolateCividis:()=>bt,interpolateCool:()=>Rt,interpolateCubehelixDefault:()=>jt,interpolateGnBu:()=>I,interpolateGreens:()=>ut,interpolateGreys:()=>st,interpolateInferno:()=>Gt,interpolateMagma:()=>Yt,interpolateOrRd:()=>U,interpolateOranges:()=>yt,interpolatePRGn:()=>m,interpolatePiYG:()=>w,interpolatePlasma:()=>Kt,interpolatePuBu:()=>V,interpolatePuBuGn:()=>Z,interpolatePuOr:()=>A,interpolatePuRd:()=>Y,interpolatePurples:()=>lt,interpolateRainbow:()=>It,interpolateRdBu:()=>k,interpolateRdGy:()=>C,interpolateRdPu:()=>K,interpolateRdYlBu:()=>S,interpolateRdYlGn:()=>F,interpolateReds:()=>dt,interpolateSinebow:()=>Zt,interpolateSpectral:()=>B,interpolateTurbo:()=>qt,interpolateViridis:()=>Ht,interpolateWarm:()=>Nt,interpolateYlGn:()=>Q,interpolateYlGnBu:()=>X,interpolateYlOrBr:()=>et,interpolateYlOrRd:()=>rt,schemeAccent:()=>o,schemeBlues:()=>it,schemeBrBG:()=>b,schemeBuGn:()=>P,schemeBuPu:()=>N,schemeCategory10:()=>i,schemeDark2:()=>a,schemeGnBu:()=>L,schemeGreens:()=>at,schemeGreys:()=>ct,schemeOrRd:()=>$,schemeOranges:()=>pt,schemePRGn:()=>g,schemePaired:()=>u,schemePastel1:()=>c,schemePastel2:()=>s,schemePiYG:()=>_,schemePuBu:()=>q,schemePuBuGn:()=>z,schemePuOr:()=>x,schemePuRd:()=>H,schemePurples:()=>ft,schemeRdBu:()=>E,schemeRdGy:()=>D,schemeRdPu:()=>G,schemeRdYlBu:()=>O,schemeRdYlGn:()=>M,schemeReds:()=>ht,schemeSet1:()=>f,schemeSet2:()=>l,schemeSet3:()=>h,schemeSpectral:()=>T,schemeTableau10:()=>d,schemeYlGn:()=>J,schemeYlGnBu:()=>W,schemeYlOrBr:()=>tt,schemeYlOrRd:()=>nt})
|
|||
|
const i=r("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),o=r("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),a=r("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),u=r("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),c=r("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),s=r("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),f=r("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),l=r("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),h=r("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),d=r("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab")
|
|||
|
var p=n(9663)
|
|||
|
const y=t=>(0,p.hD)(t[t.length-1])
|
|||
|
var b=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(r)
|
|||
|
const v=y(b)
|
|||
|
var g=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(r)
|
|||
|
const m=y(g)
|
|||
|
var _=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(r)
|
|||
|
const w=y(_)
|
|||
|
var x=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(r)
|
|||
|
const A=y(x)
|
|||
|
var E=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(r)
|
|||
|
const k=y(E)
|
|||
|
var D=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(r)
|
|||
|
const C=y(D)
|
|||
|
var O=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(r)
|
|||
|
const S=y(O)
|
|||
|
var M=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(r)
|
|||
|
const F=y(M)
|
|||
|
var T=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(r)
|
|||
|
const B=y(T)
|
|||
|
var P=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(r)
|
|||
|
const j=y(P)
|
|||
|
var N=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(r)
|
|||
|
const R=y(N)
|
|||
|
var L=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(r)
|
|||
|
const I=y(L)
|
|||
|
var $=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(r)
|
|||
|
const U=y($)
|
|||
|
var z=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(r)
|
|||
|
const Z=y(z)
|
|||
|
var q=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(r)
|
|||
|
const V=y(q)
|
|||
|
var H=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(r)
|
|||
|
const Y=y(H)
|
|||
|
var G=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(r)
|
|||
|
const K=y(G)
|
|||
|
var W=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(r)
|
|||
|
const X=y(W)
|
|||
|
var J=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(r)
|
|||
|
const Q=y(J)
|
|||
|
var tt=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(r)
|
|||
|
const et=y(tt)
|
|||
|
var nt=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(r)
|
|||
|
const rt=y(nt)
|
|||
|
var it=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(r)
|
|||
|
const ot=y(it)
|
|||
|
var at=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(r)
|
|||
|
const ut=y(at)
|
|||
|
var ct=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(r)
|
|||
|
const st=y(ct)
|
|||
|
var ft=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(r)
|
|||
|
const lt=y(ft)
|
|||
|
var ht=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(r)
|
|||
|
const dt=y(ht)
|
|||
|
var pt=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(r)
|
|||
|
const yt=y(pt)
|
|||
|
function bt(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"}var vt=n(1572),gt=n(7128)
|
|||
|
const mt=Math.PI/180,_t=180/Math.PI
|
|||
|
var wt=-.14861,xt=1.78277,At=-.29227,Et=-.90649,kt=1.97294,Dt=kt*Et,Ct=kt*xt,Ot=xt*At-Et*wt
|
|||
|
function St(t){if(t instanceof Ft)return new Ft(t.h,t.s,t.l,t.opacity)
|
|||
|
t instanceof gt.Ss||(t=(0,gt.SU)(t))
|
|||
|
var e=t.r/255,n=t.g/255,r=t.b/255,i=(Ot*r+Dt*e-Ct*n)/(Ot+Dt-Ct),o=r-i,a=(kt*(n-i)-At*o)/Et,u=Math.sqrt(a*a+o*o)/(kt*i*(1-i)),c=u?Math.atan2(a,o)*_t-120:NaN
|
|||
|
return new Ft(c<0?c+360:c,u,i,t.opacity)}function Mt(t,e,n,r){return 1===arguments.length?St(t):new Ft(t,e,n,null==r?1:r)}function Ft(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}(0,vt.Z)(Ft,Mt,(0,vt.l)(gt.Il,{brighter:function(t){return t=null==t?gt.J5:Math.pow(gt.J5,t),new Ft(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?gt.xV:Math.pow(gt.xV,t),new Ft(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*mt,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t)
|
|||
|
return new gt.Ss(255*(e+n*(wt*r+xt*i)),255*(e+n*(At*r+Et*i)),255*(e+n*(kt*r)),this.opacity)}}))
|
|||
|
var Tt=n(901)
|
|||
|
function Bt(t){return function e(n){function r(e,r){var i=t((e=Mt(e)).h,(r=Mt(r)).h),o=(0,Tt.ZP)(e.s,r.s),a=(0,Tt.ZP)(e.l,r.l),u=(0,Tt.ZP)(e.opacity,r.opacity)
|
|||
|
return function(t){return e.h=i(t),e.s=o(t),e.l=a(Math.pow(t,n)),e.opacity=u(t),e+""}}return n=+n,r.gamma=e,r}(1)}Bt(Tt.wx)
|
|||
|
var Pt=Bt(Tt.ZP)
|
|||
|
const jt=Pt(Mt(300,.5,0),Mt(-240,.5,1))
|
|||
|
var Nt=Pt(Mt(-100,.75,.35),Mt(80,1.5,.8)),Rt=Pt(Mt(260,.75,.35),Mt(80,1.5,.8)),Lt=Mt()
|
|||
|
function It(t){(t<0||t>1)&&(t-=Math.floor(t))
|
|||
|
var e=Math.abs(t-.5)
|
|||
|
return Lt.h=360*t-100,Lt.s=1.5-1.5*e,Lt.l=.8-.9*e,Lt+""}var $t=(0,gt.B8)(),Ut=Math.PI/3,zt=2*Math.PI/3
|
|||
|
function Zt(t){var e
|
|||
|
return t=(.5-t)*Math.PI,$t.r=255*(e=Math.sin(t))*e,$t.g=255*(e=Math.sin(t+Ut))*e,$t.b=255*(e=Math.sin(t+zt))*e,$t+""}function qt(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"}function Vt(t){var e=t.length
|
|||
|
return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}const Ht=Vt(r("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"))
|
|||
|
var Yt=Vt(r("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Gt=Vt(r("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Kt=Vt(r("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059
|
|||
|
n.r(e),n.d(e,{scaleBand:()=>c,scaleDiverging:()=>ur,scaleDivergingLog:()=>cr,scaleDivergingPow:()=>fr,scaleDivergingSqrt:()=>lr,scaleDivergingSymlog:()=>sr,scaleIdentity:()=>J,scaleImplicit:()=>a,scaleLinear:()=>X,scaleLog:()=>ut,scaleOrdinal:()=>u,scalePoint:()=>f,scalePow:()=>bt,scaleQuantile:()=>At,scaleQuantize:()=>Et,scaleRadial:()=>_t,scaleSequential:()=>Qn,scaleSequentialLog:()=>tr,scaleSequentialPow:()=>nr,scaleSequentialQuantile:()=>ir,scaleSequentialSqrt:()=>rr,scaleSequentialSymlog:()=>er,scaleSqrt:()=>vt,scaleSymlog:()=>lt,scaleThreshold:()=>kt,scaleTime:()=>Zn,scaleUtc:()=>Wn,tickFormat:()=>K})
|
|||
|
var r=n(1204)
|
|||
|
function i(t,e){switch(arguments.length){case 0:break
|
|||
|
case 1:this.range(t)
|
|||
|
break
|
|||
|
default:this.range(e).domain(t)}return this}function o(t,e){switch(arguments.length){case 0:break
|
|||
|
case 1:"function"==typeof t?this.interpolator(t):this.range(t)
|
|||
|
break
|
|||
|
default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}const a=Symbol("implicit")
|
|||
|
function u(){var t=new Map,e=[],n=[],r=a
|
|||
|
function o(i){var o=i+"",u=t.get(o)
|
|||
|
if(!u){if(r!==a)return r
|
|||
|
t.set(o,u=e.push(i))}return n[(u-1)%n.length]}return o.domain=function(n){if(!arguments.length)return e.slice()
|
|||
|
e=[],t=new Map
|
|||
|
for(const r of n){const n=r+""
|
|||
|
t.has(n)||t.set(n,e.push(r))}return o},o.range=function(t){return arguments.length?(n=Array.from(t),o):n.slice()},o.unknown=function(t){return arguments.length?(r=t,o):r},o.copy=function(){return u(e,n).unknown(r)},i.apply(o,arguments),o}function c(){var t,e,n=u().unknown(void 0),o=n.domain,a=n.range,s=0,f=1,l=!1,h=0,d=0,p=.5
|
|||
|
function y(){var n=o().length,i=f<s,u=i?f:s,c=i?s:f
|
|||
|
t=(c-u)/Math.max(1,n-h+2*d),l&&(t=Math.floor(t)),u+=(c-u-t*(n-h))*p,e=t*(1-h),l&&(u=Math.round(u),e=Math.round(e))
|
|||
|
var y=(0,r.Z)(n).map((function(e){return u+t*e}))
|
|||
|
return a(i?y.reverse():y)}return delete n.unknown,n.domain=function(t){return arguments.length?(o(t),y()):o()},n.range=function(t){return arguments.length?([s,f]=t,s=+s,f=+f,y()):[s,f]},n.rangeRound=function(t){return[s,f]=t,s=+s,f=+f,l=!0,y()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(l=!!t,y()):l},n.padding=function(t){return arguments.length?(h=Math.min(1,d=+t),y()):h},n.paddingInner=function(t){return arguments.length?(h=Math.min(1,t),y()):h},n.paddingOuter=function(t){return arguments.length?(d=+t,y()):d},n.align=function(t){return arguments.length?(p=Math.max(0,Math.min(1,t)),y()):p},n.copy=function(){return c(o(),[s,f]).round(l).paddingInner(h).paddingOuter(d).align(p)},i.apply(y(),arguments)}function s(t){var e=t.copy
|
|||
|
return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return s(e())},t}function f(){return s(c.apply(null,arguments).paddingInner(1))}var l=n(458),h=n(4376),d=n(7128),p=n(9663)
|
|||
|
function y(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]=E(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}}function b(t,e){var n=new Date
|
|||
|
return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function v(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function g(t,e){var n,r={},i={}
|
|||
|
for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=E(t[n],e[n]):i[n]=e[n]
|
|||
|
return function(t){for(n in r)i[n]=r[n](t)
|
|||
|
return i}}var m=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,_=new RegExp(m.source,"g")
|
|||
|
function w(t,e){var n,r,i,o=m.lastIndex=_.lastIndex=0,a=-1,u=[],c=[]
|
|||
|
for(t+="",e+="";(n=m.exec(t))&&(r=_.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,c.push({i:a,x:v(n,r)})),o=_.lastIndex
|
|||
|
return o<e.length&&(i=e.slice(o),u[a]?u[a]+=i:u[++a]=i),u.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,r=0;r<e;++r)u[(n=c[r]).i]=n.x(t)
|
|||
|
return u.join("")})}var x=n(6436)
|
|||
|
function A(t,e){e||(e=[])
|
|||
|
var n,r=t?Math.min(e.length,t.length):0,i=e.slice()
|
|||
|
return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o
|
|||
|
return i}}function E(t,e){var n,r,i=typeof e
|
|||
|
return null==e||"boolean"===i?(0,x.Z)(e):("number"===i?v:"string"===i?(n=(0,d.ZP)(e))?(e=n,p.ZP):w:e instanceof d.ZP?p.ZP:e instanceof Date?b:(r=e,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(e)?y:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?g:v:A))(t,e)}function k(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}function D(t){return+t}var C=[0,1]
|
|||
|
function O(t){return t}function S(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n})
|
|||
|
var n}function M(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1]
|
|||
|
return i<r?(r=S(i,r),o=n(a,o)):(r=S(r,i),o=n(o,a)),function(t){return o(r(t))}}function F(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),o=new Array(r),a=-1
|
|||
|
for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<r;)i[a]=S(t[a],t[a+1]),o[a]=n(e[a],e[a+1])
|
|||
|
return function(e){var n=(0,h.ZP)(t,e,1,r)-1
|
|||
|
return o[n](i[n](e))}}function T(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function B(){var t,e,n,r,i,o,a=C,u=C,c=E,s=O
|
|||
|
function f(){var t,e,n,c=Math.min(a.length,u.length)
|
|||
|
return s!==O&&(t=a[0],e=a[c-1],t>e&&(n=t,t=e,e=n),s=function(n){return Math.max(t,Math.min(e,n))}),r=c>2?F:M,i=o=null,l}function l(e){return isNaN(e=+e)?n:(i||(i=r(a.map(t),u,c)))(t(s(e)))}return l.invert=function(n){return s(e((o||(o=r(u,a.map(t),v)))(n)))},l.domain=function(t){return arguments.length?(a=Array.from(t,D),f()):a.slice()},l.range=function(t){return arguments.length?(u=Array.from(t),f()):u.slice()},l.rangeRound=function(t){return u=Array.from(t),c=k,f()},l.clamp=function(t){return arguments.length?(s=!!t||O,f()):s!==O},l.interpolate=function(t){return arguments.length?(c=t,f()):c},l.unknown=function(t){return arguments.length?(n=t,l):n},function(n,r){return t=n,e=r,f()}}function P(){return B()(O,O)}var j,N=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i
|
|||
|
function R(t){if(!(e=N.exec(t)))throw new Error("invalid format: "+t)
|
|||
|
var e
|
|||
|
return new L({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function L(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function I(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null
|
|||
|
var n,r=t.slice(0,n)
|
|||
|
return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function $(t){return(t=I(Math.abs(t)))?t[1]:NaN}function U(t,e){var n=I(t,e)
|
|||
|
if(!n)return t+""
|
|||
|
var r=n[0],i=n[1]
|
|||
|
return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}R.prototype=L.prototype,L.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}
|
|||
|
const z={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>U(100*t,e),r:U,s:function(t,e){var n=I(t,e)
|
|||
|
if(!n)return t+""
|
|||
|
var r=n[0],i=n[1],o=i-(j=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length
|
|||
|
return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+I(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)}
|
|||
|
function Z(t){return t}var q,V,H,Y=Array.prototype.map,G=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"]
|
|||
|
function K(t,e,n,r){var i,o=(0,l.ly)(t,e,n)
|
|||
|
switch((r=R(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e))
|
|||
|
return null!=r.precision||isNaN(i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor($(e)/3)))-$(Math.abs(t)))}(o,a))||(r.precision=i),H(r,a)
|
|||
|
case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,$(e)-$(t))+1}(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type))
|
|||
|
break
|
|||
|
case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-$(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return V(r)}function W(t){var e=t.domain
|
|||
|
return t.ticks=function(t){var n=e()
|
|||
|
return(0,l.ZP)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e()
|
|||
|
return K(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10)
|
|||
|
var r,i,o=e(),a=0,u=o.length-1,c=o[a],s=o[u],f=10
|
|||
|
for(s<c&&(i=c,c=s,s=i,i=a,a=u,u=i);f-- >0;){if((i=(0,l.G9)(c,s,n))===r)return o[a]=c,o[u]=s,e(o)
|
|||
|
if(i>0)c=Math.floor(c/i)*i,s=Math.ceil(s/i)*i
|
|||
|
else{if(!(i<0))break
|
|||
|
c=Math.ceil(c*i)/i,s=Math.floor(s*i)/i}r=i}return t},t}function X(){var t=P()
|
|||
|
return t.copy=function(){return T(t,X())},i.apply(t,arguments),W(t)}function J(t){var e
|
|||
|
function n(t){return isNaN(t=+t)?e:t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,D),n):t.slice()},n.unknown=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return J(t).unknown(e)},t=arguments.length?Array.from(t,D):[0,1],W(n)}function Q(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i]
|
|||
|
return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}function tt(t){return Math.log(t)}function et(t){return Math.exp(t)}function nt(t){return-Math.log(-t)}function rt(t){return-Math.exp(-t)}function it(t){return isFinite(t)?+("1e"+t):t<0?0:t}function ot(t){return function(e){return-t(-e)}}function at(t){var e,n,r=t(tt,et),i=r.domain,o=10
|
|||
|
function a(){return e=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}(o),n=function(t){return 10===t?it:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}(o),i()[0]<0?(e=ot(e),n=ot(n),t(nt,rt)):t(tt,et),r}return r.base=function(t){return arguments.length?(o=+t,a()):o},r.domain=function(t){return arguments.length?(i(t),a()):i()},r.ticks=function(t){var r,a=i(),u=a[0],c=a[a.length-1];(r=c<u)&&(d=u,u=c,c=d)
|
|||
|
var s,f,h,d=e(u),p=e(c),y=null==t?10:+t,b=[]
|
|||
|
if(!(o%1)&&p-d<y){if(d=Math.floor(d),p=Math.ceil(p),u>0){for(;d<=p;++d)for(f=1,s=n(d);f<o;++f)if(!((h=s*f)<u)){if(h>c)break
|
|||
|
b.push(h)}}else for(;d<=p;++d)for(f=o-1,s=n(d);f>=1;--f)if(!((h=s*f)<u)){if(h>c)break
|
|||
|
b.push(h)}2*b.length<y&&(b=(0,l.ZP)(u,c,y))}else b=(0,l.ZP)(d,p,Math.min(p-d,y)).map(n)
|
|||
|
return r?b.reverse():b},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=V(i)),t===1/0)return i
|
|||
|
null==t&&(t=10)
|
|||
|
var a=Math.max(1,o*t/r.ticks().length)
|
|||
|
return function(t){var r=t/n(Math.round(e(t)))
|
|||
|
return r*o<o-.5&&(r*=o),r<=a?i(t):""}},r.nice=function(){return i(Q(i(),{floor:function(t){return n(Math.floor(e(t)))},ceil:function(t){return n(Math.ceil(e(t)))}}))},r}function ut(){var t=at(B()).domain([1,10])
|
|||
|
return t.copy=function(){return T(t,ut()).base(t.base())},i.apply(t,arguments),t}function ct(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function st(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function ft(t){var e=1,n=t(ct(e),st(e))
|
|||
|
return n.constant=function(n){return arguments.length?t(ct(e=+n),st(e)):e},W(n)}function lt(){var t=ft(B())
|
|||
|
return t.copy=function(){return T(t,lt()).constant(t.constant())},i.apply(t,arguments)}function ht(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function dt(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function pt(t){return t<0?-t*t:t*t}function yt(t){var e=t(O,O),n=1
|
|||
|
function r(){return 1===n?t(O,O):.5===n?t(dt,pt):t(ht(n),ht(1/n))}return e.exponent=function(t){return arguments.length?(n=+t,r()):n},W(e)}function bt(){var t=yt(B())
|
|||
|
return t.copy=function(){return T(t,bt()).exponent(t.exponent())},i.apply(t,arguments),t}function vt(){return bt.apply(null,arguments).exponent(.5)}function gt(t){return Math.sign(t)*t*t}function mt(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function _t(){var t,e=P(),n=[0,1],r=!1
|
|||
|
function o(n){var i=mt(e(n))
|
|||
|
return isNaN(i)?t:r?Math.round(i):i}return o.invert=function(t){return e.invert(gt(t))},o.domain=function(t){return arguments.length?(e.domain(t),o):e.domain()},o.range=function(t){return arguments.length?(e.range((n=Array.from(t,D)).map(gt)),o):n.slice()},o.rangeRound=function(t){return o.range(t).round(!0)},o.round=function(t){return arguments.length?(r=!!t,o):r},o.clamp=function(t){return arguments.length?(e.clamp(t),o):e.clamp()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return _t(e.domain(),n).round(r).clamp(e.clamp()).unknown(t)},i.apply(o,arguments),W(o)}q=function(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?Z:(e=Y.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,u=e[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(t.substring(i-=u,i+u)),!((c+=u+1)>r));)u=e[a=(a+1)%e.length]
|
|||
|
return o.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?Z:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Y.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",s=void 0===t.minus?"−":t.minus+"",f=void 0===t.nan?"NaN":t.nan+""
|
|||
|
function l(t){var e=(t=R(t)).fill,n=t.align,l=t.sign,h=t.symbol,d=t.zero,p=t.width,y=t.comma,b=t.precision,v=t.trim,g=t.type
|
|||
|
"n"===g?(y=!0,g="g"):z[g]||(void 0===b&&(b=12),v=!0,g="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=")
|
|||
|
var m="$"===h?i:"#"===h&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",_="$"===h?o:/[%p]/.test(g)?c:"",w=z[g],x=/[defgprs%]/.test(g)
|
|||
|
function A(t){var i,o,c,h=m,A=_
|
|||
|
if("c"===g)A=w(t)+A,t=""
|
|||
|
else{var E=(t=+t)<0||1/t<0
|
|||
|
if(t=isNaN(t)?f:w(Math.abs(t),b),v&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r
|
|||
|
break
|
|||
|
case"0":0===i&&(i=r),e=r
|
|||
|
break
|
|||
|
default:if(!+t[r])break t
|
|||
|
i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),E&&0==+t&&"+"!==l&&(E=!1),h=(E?"("===l?l:s:"-"===l||"("===l?"":l)+h,A=("s"===g?G[8+j/3]:"")+A+(E&&"("===l?")":""),x)for(i=-1,o=t.length;++i<o;)if(48>(c=t.charCodeAt(i))||c>57){A=(46===c?a+t.slice(i+1):t.slice(i))+A,t=t.slice(0,i)
|
|||
|
break}}y&&!d&&(t=r(t,1/0))
|
|||
|
var k=h.length+t.length+A.length,D=k<p?new Array(p-k+1).join(e):""
|
|||
|
switch(y&&d&&(t=r(D+t,D.length?p-A.length:1/0),D=""),n){case"<":t=h+t+A+D
|
|||
|
break
|
|||
|
case"=":t=h+D+t+A
|
|||
|
break
|
|||
|
case"^":t=D.slice(0,k=D.length>>1)+h+t+A+D.slice(k)
|
|||
|
break
|
|||
|
default:t=D+h+t+A}return u(t)}return b=void 0===b?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),A.toString=function(){return t+""},A}return{format:l,formatPrefix:function(t,e){var n=l(((t=R(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor($(e)/3))),i=Math.pow(10,-r),o=G[8+r/3]
|
|||
|
return function(t){return n(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),V=q.format,H=q.formatPrefix
|
|||
|
var wt=n(801),xt=n(7604)
|
|||
|
function At(){var t,e=[],n=[],r=[]
|
|||
|
function o(){var t=0,i=Math.max(1,n.length)
|
|||
|
for(r=new Array(i-1);++t<i;)r[t-1]=(0,wt.s)(e,t/i)
|
|||
|
return a}function a(e){return isNaN(e=+e)?t:n[(0,h.ZP)(r,e)]}return a.invertExtent=function(t){var i=n.indexOf(t)
|
|||
|
return i<0?[NaN,NaN]:[i>0?r[i-1]:e[0],i<r.length?r[i]:e[e.length-1]]},a.domain=function(t){if(!arguments.length)return e.slice()
|
|||
|
e=[]
|
|||
|
for(let n of t)null==n||isNaN(n=+n)||e.push(n)
|
|||
|
return e.sort(xt.Z),o()},a.range=function(t){return arguments.length?(n=Array.from(t),o()):n.slice()},a.unknown=function(e){return arguments.length?(t=e,a):t},a.quantiles=function(){return r.slice()},a.copy=function(){return At().domain(e).range(n).unknown(t)},i.apply(a,arguments)}function Et(){var t,e=0,n=1,r=1,o=[.5],a=[0,1]
|
|||
|
function u(e){return e<=e?a[(0,h.ZP)(o,e,0,r)]:t}function c(){var t=-1
|
|||
|
for(o=new Array(r);++t<r;)o[t]=((t+1)*n-(t-r)*e)/(r+1)
|
|||
|
return u}return u.domain=function(t){return arguments.length?([e,n]=t,e=+e,n=+n,c()):[e,n]},u.range=function(t){return arguments.length?(r=(a=Array.from(t)).length-1,c()):a.slice()},u.invertExtent=function(t){var i=a.indexOf(t)
|
|||
|
return i<0?[NaN,NaN]:i<1?[e,o[0]]:i>=r?[o[r-1],n]:[o[i-1],o[i]]},u.unknown=function(e){return arguments.length?(t=e,u):u},u.thresholds=function(){return o.slice()},u.copy=function(){return Et().domain([e,n]).range(a).unknown(t)},i.apply(W(u),arguments)}function kt(){var t,e=[.5],n=[0,1],r=1
|
|||
|
function o(i){return i<=i?n[(0,h.ZP)(e,i,0,r)]:t}return o.domain=function(t){return arguments.length?(e=Array.from(t),r=Math.min(e.length,n.length-1),o):e.slice()},o.range=function(t){return arguments.length?(n=Array.from(t),r=Math.min(e.length,n.length-1),o):n.slice()},o.invertExtent=function(t){var r=n.indexOf(t)
|
|||
|
return[e[r-1],e[r]]},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return kt().domain(e).range(n).unknown(t)},i.apply(o,arguments)}var Dt=n(9354),Ct=new Date,Ot=new Date
|
|||
|
function St(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t)
|
|||
|
return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,o){var a,u=[]
|
|||
|
if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return u
|
|||
|
do{u.push(a=new Date(+n)),e(n,o),t(n)}while(a<n&&n<r)
|
|||
|
return u},i.filter=function(n){return St((function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return Ct.setTime(+e),Ot.setTime(+r),t(Ct),t(Ot),Math.floor(n(Ct,Ot))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var Mt=St((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}))
|
|||
|
Mt.every=function(t){return isFinite(t=Math.floor(t))&&t>0?St((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null}
|
|||
|
const Ft=Mt
|
|||
|
Mt.range
|
|||
|
var Tt=St((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}))
|
|||
|
const Bt=Tt
|
|||
|
Tt.range
|
|||
|
var Pt=1e3,jt=6e4,Nt=36e5,Rt=864e5,Lt=6048e5
|
|||
|
function It(t){return St((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*jt)/Lt}))}var $t=It(0),Ut=It(1),zt=It(2),Zt=It(3),qt=It(4),Vt=It(5),Ht=It(6),Yt=($t.range,Ut.range,zt.range,Zt.range,qt.range,Vt.range,Ht.range,St((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*jt)/Rt),(t=>t.getDate()-1)))
|
|||
|
const Gt=Yt
|
|||
|
Yt.range
|
|||
|
var Kt=St((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Pt-t.getMinutes()*jt)}),(function(t,e){t.setTime(+t+e*Nt)}),(function(t,e){return(e-t)/Nt}),(function(t){return t.getHours()}))
|
|||
|
const Wt=Kt
|
|||
|
Kt.range
|
|||
|
var Xt=St((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Pt)}),(function(t,e){t.setTime(+t+e*jt)}),(function(t,e){return(e-t)/jt}),(function(t){return t.getMinutes()}))
|
|||
|
const Jt=Xt
|
|||
|
Xt.range
|
|||
|
var Qt=St((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*Pt)}),(function(t,e){return(e-t)/Pt}),(function(t){return t.getUTCSeconds()}))
|
|||
|
const te=Qt
|
|||
|
Qt.range
|
|||
|
var ee=St((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}))
|
|||
|
ee.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?St((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):ee:null}
|
|||
|
const ne=ee
|
|||
|
function re(t){return St((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/Lt}))}ee.range
|
|||
|
var ie=re(0),oe=re(1),ae=re(2),ue=re(3),ce=re(4),se=re(5),fe=re(6),le=(ie.range,oe.range,ae.range,ue.range,ce.range,se.range,fe.range,St((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/Rt}),(function(t){return t.getUTCDate()-1})))
|
|||
|
const he=le
|
|||
|
le.range
|
|||
|
var de=St((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}))
|
|||
|
de.every=function(t){return isFinite(t=Math.floor(t))&&t>0?St((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null}
|
|||
|
const pe=de
|
|||
|
function ye(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L)
|
|||
|
return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function be(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L))
|
|||
|
return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function ve(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}de.range
|
|||
|
var ge,me,_e,we={"-":"",_:" ",0:"0"},xe=/^\s*\d+/,Ae=/^%/,Ee=/[\\^$*+?|[\]().{}]/g
|
|||
|
function ke(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length
|
|||
|
return r+(o<n?new Array(n-o+1).join(e)+i:i)}function De(t){return t.replace(Ee,"\\$&")}function Ce(t){return new RegExp("^(?:"+t.map(De).join("|")+")","i")}function Oe(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function Se(t,e,n){var r=xe.exec(e.slice(n,n+1))
|
|||
|
return r?(t.w=+r[0],n+r[0].length):-1}function Me(t,e,n){var r=xe.exec(e.slice(n,n+1))
|
|||
|
return r?(t.u=+r[0],n+r[0].length):-1}function Fe(t,e,n){var r=xe.exec(e.slice(n,n+2))
|
|||
|
return r?(t.U=+r[0],n+r[0].length):-1}function Te(t,e,n){var r=xe.exec(e.slice(n,n+2))
|
|||
|
return r?(t.V=+r[0],n+r[0].length):-1}function Be(t,e,n){var r=xe.exec(e.slice(n,n+2))
|
|||
|
return r?(t.W=+r[0],n+r[0].length):-1}function Pe(t,e,n){var r=xe.exec(e.slice(n,n+4))
|
|||
|
return r?(t.y=+r[0],n+r[0].length):-1}function je(t,e,n){var r=xe.exec(e.slice(n,n+2))
|
|||
|
return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Ne(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6))
|
|||
|
return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Re(t,e,n){var r=xe.exec(e.slice(n,n+1))
|
|||
|
return r?(t.q=3*r[0]-3,n+r[0].length):-1}function Le(t,e,n){var r=xe.exec(e.slice(n,n+2))
|
|||
|
return r?(t.m=r[0]-1,n+r[0].length):-1}function Ie(t,e,n){var r=xe.exec(e.slice(n,n+2))
|
|||
|
return r?(t.d=+r[0],n+r[0].length):-1}function $e(t,e,n){var r=xe.exec(e.slice(n,n+3))
|
|||
|
return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Ue(t,e,n){var r=xe.exec(e.slice(n,n+2))
|
|||
|
return r?(t.H=+r[0],n+r[0].length):-1}function ze(t,e,n){var r=xe.exec(e.slice(n,n+2))
|
|||
|
return r?(t.M=+r[0],n+r[0].length):-1}function Ze(t,e,n){var r=xe.exec(e.slice(n,n+2))
|
|||
|
return r?(t.S=+r[0],n+r[0].length):-1}function qe(t,e,n){var r=xe.exec(e.slice(n,n+3))
|
|||
|
return r?(t.L=+r[0],n+r[0].length):-1}function Ve(t,e,n){var r=xe.exec(e.slice(n,n+6))
|
|||
|
return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function He(t,e,n){var r=Ae.exec(e.slice(n,n+1))
|
|||
|
return r?n+r[0].length:-1}function Ye(t,e,n){var r=xe.exec(e.slice(n))
|
|||
|
return r?(t.Q=+r[0],n+r[0].length):-1}function Ge(t,e,n){var r=xe.exec(e.slice(n))
|
|||
|
return r?(t.s=+r[0],n+r[0].length):-1}function Ke(t,e){return ke(t.getDate(),e,2)}function We(t,e){return ke(t.getHours(),e,2)}function Xe(t,e){return ke(t.getHours()%12||12,e,2)}function Je(t,e){return ke(1+Gt.count(Ft(t),t),e,3)}function Qe(t,e){return ke(t.getMilliseconds(),e,3)}function tn(t,e){return Qe(t,e)+"000"}function en(t,e){return ke(t.getMonth()+1,e,2)}function nn(t,e){return ke(t.getMinutes(),e,2)}function rn(t,e){return ke(t.getSeconds(),e,2)}function on(t){var e=t.getDay()
|
|||
|
return 0===e?7:e}function an(t,e){return ke($t.count(Ft(t)-1,t),e,2)}function un(t){var e=t.getDay()
|
|||
|
return e>=4||0===e?qt(t):qt.ceil(t)}function cn(t,e){return t=un(t),ke(qt.count(Ft(t),t)+(4===Ft(t).getDay()),e,2)}function sn(t){return t.getDay()}function fn(t,e){return ke(Ut.count(Ft(t)-1,t),e,2)}function ln(t,e){return ke(t.getFullYear()%100,e,2)}function hn(t,e){return ke((t=un(t)).getFullYear()%100,e,2)}function dn(t,e){return ke(t.getFullYear()%1e4,e,4)}function pn(t,e){var n=t.getDay()
|
|||
|
return ke((t=n>=4||0===n?qt(t):qt.ceil(t)).getFullYear()%1e4,e,4)}function yn(t){var e=t.getTimezoneOffset()
|
|||
|
return(e>0?"-":(e*=-1,"+"))+ke(e/60|0,"0",2)+ke(e%60,"0",2)}function bn(t,e){return ke(t.getUTCDate(),e,2)}function vn(t,e){return ke(t.getUTCHours(),e,2)}function gn(t,e){return ke(t.getUTCHours()%12||12,e,2)}function mn(t,e){return ke(1+he.count(pe(t),t),e,3)}function _n(t,e){return ke(t.getUTCMilliseconds(),e,3)}function wn(t,e){return _n(t,e)+"000"}function xn(t,e){return ke(t.getUTCMonth()+1,e,2)}function An(t,e){return ke(t.getUTCMinutes(),e,2)}function En(t,e){return ke(t.getUTCSeconds(),e,2)}function kn(t){var e=t.getUTCDay()
|
|||
|
return 0===e?7:e}function Dn(t,e){return ke(ie.count(pe(t)-1,t),e,2)}function Cn(t){var e=t.getUTCDay()
|
|||
|
return e>=4||0===e?ce(t):ce.ceil(t)}function On(t,e){return t=Cn(t),ke(ce.count(pe(t),t)+(4===pe(t).getUTCDay()),e,2)}function Sn(t){return t.getUTCDay()}function Mn(t,e){return ke(oe.count(pe(t)-1,t),e,2)}function Fn(t,e){return ke(t.getUTCFullYear()%100,e,2)}function Tn(t,e){return ke((t=Cn(t)).getUTCFullYear()%100,e,2)}function Bn(t,e){return ke(t.getUTCFullYear()%1e4,e,4)}function Pn(t,e){var n=t.getUTCDay()
|
|||
|
return ke((t=n>=4||0===n?ce(t):ce.ceil(t)).getUTCFullYear()%1e4,e,4)}function jn(){return"+0000"}function Nn(){return"%"}function Rn(t){return+t}function Ln(t){return Math.floor(+t/1e3)}ge=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,u=t.months,c=t.shortMonths,s=Ce(i),f=Oe(i),l=Ce(o),h=Oe(o),d=Ce(a),p=Oe(a),y=Ce(u),b=Oe(u),v=Ce(c),g=Oe(c),m={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:Ke,e:Ke,f:tn,g:hn,G:pn,H:We,I:Xe,j:Je,L:Qe,m:en,M:nn,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Rn,s:Ln,S:rn,u:on,U:an,V:cn,w:sn,W:fn,x:null,X:null,y:ln,Y:dn,Z:yn,"%":Nn},_={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:bn,e:bn,f:wn,g:Tn,G:Pn,H:vn,I:gn,j:mn,L:_n,m:xn,M:An,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Rn,s:Ln,S:En,u:kn,U:Dn,V:On,w:Sn,W:Mn,x:null,X:null,y:Fn,Y:Bn,Z:jn,"%":Nn},w={a:function(t,e,n){var r=d.exec(e.slice(n))
|
|||
|
return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=l.exec(e.slice(n))
|
|||
|
return r?(t.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=v.exec(e.slice(n))
|
|||
|
return r?(t.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=y.exec(e.slice(n))
|
|||
|
return r?(t.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return E(t,e,n,r)},d:Ie,e:Ie,f:Ve,g:je,G:Pe,H:Ue,I:Ue,j:$e,L:qe,m:Le,M:ze,p:function(t,e,n){var r=s.exec(e.slice(n))
|
|||
|
return r?(t.p=f.get(r[0].toLowerCase()),n+r[0].length):-1},q:Re,Q:Ye,s:Ge,S:Ze,u:Me,U:Fe,V:Te,w:Se,W:Be,x:function(t,e,r){return E(t,n,e,r)},X:function(t,e,n){return E(t,r,e,n)},y:je,Y:Pe,Z:Ne,"%":He}
|
|||
|
function x(t,e){return function(n){var r,i,o,a=[],u=-1,c=0,s=t.length
|
|||
|
for(n instanceof Date||(n=new Date(+n));++u<s;)37===t.charCodeAt(u)&&(a.push(t.slice(c,u)),null!=(i=we[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),c=u+1)
|
|||
|
return a.push(t.slice(c,u)),a.join("")}}function A(t,e){return function(n){var r,i,o=ve(1900,void 0,1)
|
|||
|
if(E(o,t,n+="",0)!=n.length)return null
|
|||
|
if("Q"in o)return new Date(o.Q)
|
|||
|
if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0))
|
|||
|
if(e&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null
|
|||
|
"w"in o||(o.w=1),"Z"in o?(i=(r=be(ve(o.y,0,1))).getUTCDay(),r=i>4||0===i?oe.ceil(r):oe(r),r=he.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=ye(ve(o.y,0,1))).getDay(),r=i>4||0===i?Ut.ceil(r):Ut(r),r=Gt.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?be(ve(o.y,0,1)).getUTCDay():ye(ve(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7)
|
|||
|
return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,be(o)):ye(o)}}function E(t,e,n,r){for(var i,o,a=0,u=e.length,c=n.length;a<u;){if(r>=c)return-1
|
|||
|
if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=w[i in we?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return m.x=x(n,m),m.X=x(r,m),m.c=x(e,m),_.x=x(n,_),_.X=x(r,_),_.c=x(e,_),{format:function(t){var e=x(t+="",m)
|
|||
|
return e.toString=function(){return t},e},parse:function(t){var e=A(t+="",!1)
|
|||
|
return e.toString=function(){return t},e},utcFormat:function(t){var e=x(t+="",_)
|
|||
|
return e.toString=function(){return t},e},utcParse:function(t){var e=A(t+="",!0)
|
|||
|
return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),me=ge.format,ge.parse,_e=ge.utcFormat,ge.utcParse
|
|||
|
var In=31536e6
|
|||
|
function $n(t){return new Date(t)}function Un(t){return t instanceof Date?+t:+new Date(+t)}function zn(t,e,n,r,i,o,a,u,c){var s=P(),f=s.invert,h=s.domain,d=c(".%L"),p=c(":%S"),y=c("%I:%M"),b=c("%I %p"),v=c("%a %d"),g=c("%b %d"),m=c("%B"),_=c("%Y"),w=[[a,1,1e3],[a,5,5e3],[a,15,15e3],[a,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,In]]
|
|||
|
function x(u){return(a(u)<u?d:o(u)<u?p:i(u)<u?y:r(u)<u?b:e(u)<u?n(u)<u?v:g:t(u)<u?m:_)(u)}function A(e,n,r){if(null==e&&(e=10),"number"==typeof e){var i,o=Math.abs(r-n)/e,a=(0,Dt.Z)((function(t){return t[2]})).right(w,o)
|
|||
|
return a===w.length?(i=(0,l.ly)(n/In,r/In,e),e=t):a?(i=(a=w[o/w[a-1][2]<w[a][2]/o?a-1:a])[1],e=a[0]):(i=Math.max((0,l.ly)(n,r,e),1),e=u),e.every(i)}return e}return s.invert=function(t){return new Date(f(t))},s.domain=function(t){return arguments.length?h(Array.from(t,Un)):h().map($n)},s.ticks=function(t){var e,n=h(),r=n[0],i=n[n.length-1],o=i<r
|
|||
|
return o&&(e=r,r=i,i=e),e=(e=A(t,r,i))?e.range(r,i+1):[],o?e.reverse():e},s.tickFormat=function(t,e){return null==e?x:c(e)},s.nice=function(t){var e=h()
|
|||
|
return(t=A(t,e[0],e[e.length-1]))?h(Q(e,t)):s},s.copy=function(){return T(s,zn(t,e,n,r,i,o,a,u,c))},s}function Zn(){return i.apply(zn(Ft,Bt,$t,Gt,Wt,Jt,te,ne,me).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var qn=St((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}))
|
|||
|
const Vn=qn
|
|||
|
qn.range
|
|||
|
var Hn=St((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*Nt)}),(function(t,e){return(e-t)/Nt}),(function(t){return t.getUTCHours()}))
|
|||
|
const Yn=Hn
|
|||
|
Hn.range
|
|||
|
var Gn=St((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*jt)}),(function(t,e){return(e-t)/jt}),(function(t){return t.getUTCMinutes()}))
|
|||
|
const Kn=Gn
|
|||
|
function Wn(){return i.apply(zn(pe,Vn,ie,he,Yn,Kn,te,ne,_e).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Xn(){var t,e,n,r,i,o=0,a=1,u=O,c=!1
|
|||
|
function s(e){return isNaN(e=+e)?i:u(0===n?.5:(e=(r(e)-t)*n,c?Math.max(0,Math.min(1,e)):e))}function f(t){return function(e){var n,r
|
|||
|
return arguments.length?([n,r]=e,u=t(n,r),s):[u(0),u(1)]}}return s.domain=function(i){return arguments.length?([o,a]=i,t=r(o=+o),e=r(a=+a),n=t===e?0:1/(e-t),s):[o,a]},s.clamp=function(t){return arguments.length?(c=!!t,s):c},s.interpolator=function(t){return arguments.length?(u=t,s):u},s.range=f(E),s.rangeRound=f(k),s.unknown=function(t){return arguments.length?(i=t,s):i},function(i){return r=i,t=i(o),e=i(a),n=t===e?0:1/(e-t),s}}function Jn(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Qn(){var t=W(Xn()(O))
|
|||
|
return t.copy=function(){return Jn(t,Qn())},o.apply(t,arguments)}function tr(){var t=at(Xn()).domain([1,10])
|
|||
|
return t.copy=function(){return Jn(t,tr()).base(t.base())},o.apply(t,arguments)}function er(){var t=ft(Xn())
|
|||
|
return t.copy=function(){return Jn(t,er()).constant(t.constant())},o.apply(t,arguments)}function nr(){var t=yt(Xn())
|
|||
|
return t.copy=function(){return Jn(t,nr()).exponent(t.exponent())},o.apply(t,arguments)}function rr(){return nr.apply(null,arguments).exponent(.5)}function ir(){var t=[],e=O
|
|||
|
function n(n){if(!isNaN(n=+n))return e(((0,h.ZP)(t,n,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice()
|
|||
|
t=[]
|
|||
|
for(let n of e)null==n||isNaN(n=+n)||t.push(n)
|
|||
|
return t.sort(xt.Z),n},n.interpolator=function(t){return arguments.length?(e=t,n):e},n.range=function(){return t.map(((n,r)=>e(r/(t.length-1))))},n.quantiles=function(e){return Array.from({length:e+1},((n,r)=>(0,wt.Z)(t,r/e)))},n.copy=function(){return ir(e).domain(t)},o.apply(n,arguments)}function or(t,e){void 0===e&&(e=t,t=E)
|
|||
|
for(var n=0,r=e.length-1,i=e[0],o=new Array(r<0?0:r);n<r;)o[n]=t(i,i=e[++n])
|
|||
|
return function(t){var e=Math.max(0,Math.min(r-1,Math.floor(t*=r)))
|
|||
|
return o[e](t-e)}}function ar(){var t,e,n,r,i,o,a,u=0,c=.5,s=1,f=1,l=O,h=!1
|
|||
|
function d(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-e)*(f*t<f*e?r:i),l(h?Math.max(0,Math.min(1,t)):t))}function p(t){return function(e){var n,r,i
|
|||
|
return arguments.length?([n,r,i]=e,l=or(t,[n,r,i]),d):[l(0),l(.5),l(1)]}}return d.domain=function(a){return arguments.length?([u,c,s]=a,t=o(u=+u),e=o(c=+c),n=o(s=+s),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),f=e<t?-1:1,d):[u,c,s]},d.clamp=function(t){return arguments.length?(h=!!t,d):h},d.interpolator=function(t){return arguments.length?(l=t,d):l},d.range=p(E),d.rangeRound=p(k),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return o=a,t=a(u),e=a(c),n=a(s),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),f=e<t?-1:1,d}}function ur(){var t=W(ar()(O))
|
|||
|
return t.copy=function(){return Jn(t,ur())},o.apply(t,arguments)}function cr(){var t=at(ar()).domain([.1,1,10])
|
|||
|
return t.copy=function(){return Jn(t,cr()).base(t.base())},o.apply(t,arguments)}function sr(){var t=ft(ar())
|
|||
|
return t.copy=function(){return Jn(t,sr()).constant(t.constant())},o.apply(t,arguments)}function fr(){var t=yt(ar())
|
|||
|
return t.copy=function(){return Jn(t,fr()).exponent(t.exponent())},o.apply(t,arguments)}function lr(){return fr.apply(null,arguments).exponent(.5)}Gn.range},1058:(t,e,n)=>{"use strict"
|
|||
|
n.r(e),n.d(e,{create:()=>gt,creator:()=>c,local:()=>_t,matcher:()=>p,namespace:()=>o,namespaces:()=>i,pointer:()=>At,pointers:()=>Et,select:()=>vt,selectAll:()=>kt,selection:()=>bt,selector:()=>f,selectorAll:()=>d,style:()=>R,window:()=>B})
|
|||
|
var r="http://www.w3.org/1999/xhtml"
|
|||
|
const i={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}
|
|||
|
function o(t){var e=t+="",n=e.indexOf(":")
|
|||
|
return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),i.hasOwnProperty(e)?{space:i[e],local:t}:t}function a(t){return function(){var e=this.ownerDocument,n=this.namespaceURI
|
|||
|
return n===r&&e.documentElement.namespaceURI===r?e.createElement(t):e.createElementNS(n,t)}}function u(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function c(t){var e=o(t)
|
|||
|
return(e.local?u:a)(e)}function s(){}function f(t){return null==t?s:function(){return this.querySelector(t)}}function l(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function h(){return[]}function d(t){return null==t?h:function(){return this.querySelectorAll(t)}}function p(t){return function(){return this.matches(t)}}function y(t){return function(e){return e.matches(t)}}var b=Array.prototype.find
|
|||
|
function v(){return this.firstElementChild}var g=Array.prototype.filter
|
|||
|
function m(){return this.children}function _(t){return new Array(t.length)}function w(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function x(t){return function(){return t}}function A(t,e,n,r,i,o){for(var a,u=0,c=e.length,s=o.length;u<s;++u)(a=e[u])?(a.__data__=o[u],r[u]=a):n[u]=new w(t,o[u])
|
|||
|
for(;u<c;++u)(a=e[u])&&(i[u]=a)}function E(t,e,n,r,i,o,a){var u,c,s,f=new Map,l=e.length,h=o.length,d=new Array(l)
|
|||
|
for(u=0;u<l;++u)(c=e[u])&&(d[u]=s=a.call(c,c.__data__,u,e)+"",f.has(s)?i[u]=c:f.set(s,c))
|
|||
|
for(u=0;u<h;++u)s=a.call(t,o[u],u,o)+"",(c=f.get(s))?(r[u]=c,c.__data__=o[u],f.delete(s)):n[u]=new w(t,o[u])
|
|||
|
for(u=0;u<l;++u)(c=e[u])&&f.get(d[u])===c&&(i[u]=c)}function k(t){return t.__data__}function D(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function C(t){return function(){this.removeAttribute(t)}}function O(t){return function(){this.removeAttributeNS(t.space,t.local)}}function S(t,e){return function(){this.setAttribute(t,e)}}function M(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function F(t,e){return function(){var n=e.apply(this,arguments)
|
|||
|
null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function T(t,e){return function(){var n=e.apply(this,arguments)
|
|||
|
null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function B(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function P(t){return function(){this.style.removeProperty(t)}}function j(t,e,n){return function(){this.style.setProperty(t,e,n)}}function N(t,e,n){return function(){var r=e.apply(this,arguments)
|
|||
|
null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function R(t,e){return t.style.getPropertyValue(e)||B(t).getComputedStyle(t,null).getPropertyValue(e)}function L(t){return function(){delete this[t]}}function I(t,e){return function(){this[t]=e}}function $(t,e){return function(){var n=e.apply(this,arguments)
|
|||
|
null==n?delete this[t]:this[t]=n}}function U(t){return t.trim().split(/^|\s+/)}function z(t){return t.classList||new Z(t)}function Z(t){this._node=t,this._names=U(t.getAttribute("class")||"")}function q(t,e){for(var n=z(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function V(t,e){for(var n=z(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function H(t){return function(){q(this,t)}}function Y(t){return function(){V(this,t)}}function G(t,e){return function(){(e.apply(this,arguments)?q:V)(this,t)}}function K(){this.textContent=""}function W(t){return function(){this.textContent=t}}function X(t){return function(){var e=t.apply(this,arguments)
|
|||
|
this.textContent=null==e?"":e}}function J(){this.innerHTML=""}function Q(t){return function(){this.innerHTML=t}}function tt(t){return function(){var e=t.apply(this,arguments)
|
|||
|
this.innerHTML=null==e?"":e}}function et(){this.nextSibling&&this.parentNode.appendChild(this)}function nt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function rt(){return null}function it(){var t=this.parentNode
|
|||
|
t&&t.removeChild(this)}function ot(){var t=this.cloneNode(!1),e=this.parentNode
|
|||
|
return e?e.insertBefore(t,this.nextSibling):t}function at(){var t=this.cloneNode(!0),e=this.parentNode
|
|||
|
return e?e.insertBefore(t,this.nextSibling):t}function ut(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".")
|
|||
|
return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function ct(t){return function(){var e=this.__on
|
|||
|
if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function st(t,e,n){return function(){var r,i=this.__on,o=function(t){return function(e){t.call(this,e,this.__data__)}}(e)
|
|||
|
if(i)for(var a=0,u=i.length;a<u;++a)if((r=i[a]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=e)
|
|||
|
this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function ft(t,e,n){var r=B(t),i=r.CustomEvent
|
|||
|
"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function lt(t,e){return function(){return ft(this,t,e)}}function ht(t,e){return function(){return ft(this,t,e.apply(this,arguments))}}w.prototype={constructor:w,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}},Z.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t)
|
|||
|
e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}}
|
|||
|
var dt=[null]
|
|||
|
function pt(t,e){this._groups=t,this._parents=e}function yt(){return new pt([[document.documentElement]],dt)}pt.prototype=yt.prototype={constructor:pt,select:function(t){"function"!=typeof t&&(t=f(t))
|
|||
|
for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a,u=e[i],c=u.length,s=r[i]=new Array(c),l=0;l<c;++l)(o=u[l])&&(a=t.call(o,o.__data__,l,u))&&("__data__"in o&&(a.__data__=o.__data__),s[l]=a)
|
|||
|
return new pt(r,this._parents)},selectAll:function(t){t="function"==typeof t?function(t){return function(){var e=t.apply(this,arguments)
|
|||
|
return null==e?[]:l(e)}}(t):d(t)
|
|||
|
for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var a,u=e[o],c=u.length,s=0;s<c;++s)(a=u[s])&&(r.push(t.call(a,a.__data__,s,u)),i.push(a))
|
|||
|
return new pt(r,i)},selectChild:function(t){return this.select(null==t?v:function(t){return function(){return b.call(this.children,t)}}("function"==typeof t?t:y(t)))},selectChildren:function(t){return this.selectAll(null==t?m:function(t){return function(){return g.call(this.children,t)}}("function"==typeof t?t:y(t)))},filter:function(t){"function"!=typeof t&&(t=p(t))
|
|||
|
for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],u=a.length,c=r[i]=[],s=0;s<u;++s)(o=a[s])&&t.call(o,o.__data__,s,a)&&c.push(o)
|
|||
|
return new pt(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,k)
|
|||
|
var n=e?E:A,r=this._parents,i=this._groups
|
|||
|
"function"!=typeof t&&(t=x(t))
|
|||
|
for(var o=i.length,a=new Array(o),u=new Array(o),c=new Array(o),s=0;s<o;++s){var f=r[s],h=i[s],d=h.length,p=l(t.call(f,f&&f.__data__,s,r)),y=p.length,b=u[s]=new Array(y),v=a[s]=new Array(y),g=c[s]=new Array(d)
|
|||
|
n(f,h,b,v,g,p,e)
|
|||
|
for(var m,_,w=0,D=0;w<y;++w)if(m=b[w]){for(w>=D&&(D=w+1);!(_=v[D])&&++D<y;);m._next=_||null}}return(a=new pt(a,r))._enter=u,a._exit=c,a},enter:function(){return new pt(this._enter||this._groups.map(_),this._parents)},exit:function(){return new pt(this._exit||this._groups.map(_),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit()
|
|||
|
return r="function"==typeof t?t(r):r.append(t+""),null!=e&&(i=e(i)),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){if(!(t instanceof pt))throw new Error("invalid merge")
|
|||
|
for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var c,s=e[u],f=n[u],l=s.length,h=a[u]=new Array(l),d=0;d<l;++d)(c=s[d]||f[d])&&(h[d]=c)
|
|||
|
for(;u<r;++u)a[u]=e[u]
|
|||
|
return new pt(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r)
|
|||
|
return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=D)
|
|||
|
for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,u=n[o],c=u.length,s=i[o]=new Array(c),f=0;f<c;++f)(a=u[f])&&(s[f]=a)
|
|||
|
s.sort(e)}return new pt(i,this._parents).order()},call:function(){var t=arguments[0]
|
|||
|
return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i]
|
|||
|
if(a)return a}return null},size:function(){let t=0
|
|||
|
for(const e of this)++t
|
|||
|
return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o)
|
|||
|
return this},attr:function(t,e){var n=o(t)
|
|||
|
if(arguments.length<2){var r=this.node()
|
|||
|
return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?O:C:"function"==typeof e?n.local?T:F:n.local?M:S)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?P:"function"==typeof e?N:j)(t,e,null==n?"":n)):R(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?L:"function"==typeof e?$:I)(t,e)):this.node()[t]},classed:function(t,e){var n=U(t+"")
|
|||
|
if(arguments.length<2){for(var r=z(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1
|
|||
|
return!0}return this.each(("function"==typeof e?G:e?H:Y)(n,e))},text:function(t){return arguments.length?this.each(null==t?K:("function"==typeof t?X:W)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?J:("function"==typeof t?tt:Q)(t)):this.node().innerHTML},raise:function(){return this.each(et)},lower:function(){return this.each(nt)},append:function(t){var e="function"==typeof t?t:c(t)
|
|||
|
return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:c(t),r=null==e?rt:"function"==typeof e?e:f(e)
|
|||
|
return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(it)},clone:function(t){return this.select(t?at:ot)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=ut(t+""),a=o.length
|
|||
|
if(!(arguments.length<2)){for(u=e?st:ct,r=0;r<a;++r)this.each(u(o[r],e,n))
|
|||
|
return this}var u=this.node().__on
|
|||
|
if(u)for(var c,s=0,f=u.length;s<f;++s)for(r=0,c=u[s];r<a;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,e){return this.each(("function"==typeof e?ht:lt)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,i=t[e],o=0,a=i.length;o<a;++o)(r=i[o])&&(yield r)}}
|
|||
|
const bt=yt
|
|||
|
function vt(t){return"string"==typeof t?new pt([[document.querySelector(t)]],[document.documentElement]):new pt([[t]],dt)}function gt(t){return vt(c(t).call(document.documentElement))}var mt=0
|
|||
|
function _t(){return new wt}function wt(){this._="@"+(++mt).toString(36)}function xt(t){let e
|
|||
|
for(;e=t.sourceEvent;)t=e
|
|||
|
return t}function At(t,e){if(t=xt(t),void 0===e&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e
|
|||
|
if(n.createSVGPoint){var r=n.createSVGPoint()
|
|||
|
return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(e.getScreenCTM().inverse())).x,r.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect()
|
|||
|
return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]}function Et(t,e){return t.target&&(t=xt(t),void 0===e&&(e=t.currentTarget),t=t.touches||[t]),Array.from(t,(t=>At(t,e)))}function kt(t){return"string"==typeof t?new pt([document.querySelectorAll(t)],[document.documentElement]):new pt([null==t?[]:l(t)],dt)}wt.prototype=_t.prototype={constructor:wt,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return
|
|||
|
return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}}},6736:(t,e,n)=>{"use strict"
|
|||
|
n.r(e),n.d(e,{arc:()=>F,area:()=>I,areaRadial:()=>G,curveBasis:()=>Ct,curveBasisClosed:()=>St,curveBasisOpen:()=>Ft,curveBumpX:()=>Bt,curveBumpY:()=>Pt,curveBundle:()=>Nt,curveCardinal:()=>It,curveCardinalClosed:()=>Ut,curveCardinalOpen:()=>Zt,curveCatmullRom:()=>Ht,curveCatmullRomClosed:()=>Gt,curveCatmullRomOpen:()=>Wt,curveLinear:()=>j,curveLinearClosed:()=>Jt,curveMonotoneX:()=>ae,curveMonotoneY:()=>ue,curveNatural:()=>fe,curveStep:()=>he,curveStepAfter:()=>pe,curveStepBefore:()=>de,line:()=>L,lineRadial:()=>Y,linkHorizontal:()=>nt,linkRadial:()=>it,linkVertical:()=>rt,pie:()=>z,pointRadial:()=>K,radialArea:()=>G,radialLine:()=>Y,stack:()=>me,stackOffsetDiverging:()=>we,stackOffsetExpand:()=>_e,stackOffsetNone:()=>ye,stackOffsetSilhouette:()=>xe,stackOffsetWiggle:()=>Ae,stackOrderAppearance:()=>Ee,stackOrderAscending:()=>De,stackOrderDescending:()=>Oe,stackOrderInsideOut:()=>Se,stackOrderNone:()=>be,stackOrderReverse:()=>Me,symbol:()=>At,symbolCircle:()=>ot,symbolCross:()=>at,symbolDiamond:()=>st,symbolSquare:()=>pt,symbolStar:()=>dt,symbolTriangle:()=>bt,symbolWye:()=>wt,symbols:()=>xt})
|
|||
|
const r=Math.PI,i=2*r,o=1e-6,a=i-o
|
|||
|
function u(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function c(){return new u}u.prototype=c.prototype={constructor:u,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,e,n,i,a){t=+t,e=+e,n=+n,i=+i,a=+a
|
|||
|
var u=this._x1,c=this._y1,s=n-t,f=i-e,l=u-t,h=c-e,d=l*l+h*h
|
|||
|
if(a<0)throw new Error("negative radius: "+a)
|
|||
|
if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e)
|
|||
|
else if(d>o)if(Math.abs(h*s-f*l)>o&&a){var p=n-u,y=i-c,b=s*s+f*f,v=p*p+y*y,g=Math.sqrt(b),m=Math.sqrt(d),_=a*Math.tan((r-Math.acos((b+d-v)/(2*g*m)))/2),w=_/m,x=_/g
|
|||
|
Math.abs(w-1)>o&&(this._+="L"+(t+w*l)+","+(e+w*h)),this._+="A"+a+","+a+",0,0,"+ +(h*p>l*y)+","+(this._x1=t+x*s)+","+(this._y1=e+x*f)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,u,c,s){t=+t,e=+e,s=!!s
|
|||
|
var f=(n=+n)*Math.cos(u),l=n*Math.sin(u),h=t+f,d=e+l,p=1^s,y=s?u-c:c-u
|
|||
|
if(n<0)throw new Error("negative radius: "+n)
|
|||
|
null===this._x1?this._+="M"+h+","+d:(Math.abs(this._x1-h)>o||Math.abs(this._y1-d)>o)&&(this._+="L"+h+","+d),n&&(y<0&&(y=y%i+i),y>a?this._+="A"+n+","+n+",0,1,"+p+","+(t-f)+","+(e-l)+"A"+n+","+n+",0,1,"+p+","+(this._x1=h)+","+(this._y1=d):y>o&&(this._+="A"+n+","+n+",0,"+ +(y>=r)+","+p+","+(this._x1=t+n*Math.cos(c))+","+(this._y1=e+n*Math.sin(c))))},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._}}
|
|||
|
const s=c
|
|||
|
function f(t){return function(){return t}}var l=Math.abs,h=Math.atan2,d=Math.cos,p=Math.max,y=Math.min,b=Math.sin,v=Math.sqrt,g=1e-12,m=Math.PI,_=m/2,w=2*m
|
|||
|
function x(t){return t>1?0:t<-1?m:Math.acos(t)}function A(t){return t>=1?_:t<=-1?-_:Math.asin(t)}function E(t){return t.innerRadius}function k(t){return t.outerRadius}function D(t){return t.startAngle}function C(t){return t.endAngle}function O(t){return t&&t.padAngle}function S(t,e,n,r,i,o,a,u){var c=n-t,s=r-e,f=a-i,l=u-o,h=l*c-f*s
|
|||
|
if(!(h*h<g))return[t+(h=(f*(e-o)-l*(t-i))/h)*c,e+h*s]}function M(t,e,n,r,i,o,a){var u=t-n,c=e-r,s=(a?o:-o)/v(u*u+c*c),f=s*c,l=-s*u,h=t+f,d=e+l,y=n+f,b=r+l,g=(h+y)/2,m=(d+b)/2,_=y-h,w=b-d,x=_*_+w*w,A=i-o,E=h*b-y*d,k=(w<0?-1:1)*v(p(0,A*A*x-E*E)),D=(E*w-_*k)/x,C=(-E*_-w*k)/x,O=(E*w+_*k)/x,S=(-E*_+w*k)/x,M=D-g,F=C-m,T=O-g,B=S-m
|
|||
|
return M*M+F*F>T*T+B*B&&(D=O,C=S),{cx:D,cy:C,x01:-f,y01:-l,x11:D*(i/A-1),y11:C*(i/A-1)}}function F(){var t=E,e=k,n=f(0),r=null,i=D,o=C,a=O,u=null
|
|||
|
function c(){var c,f,p=+t.apply(this,arguments),E=+e.apply(this,arguments),k=i.apply(this,arguments)-_,D=o.apply(this,arguments)-_,C=l(D-k),O=D>k
|
|||
|
if(u||(u=c=s()),E<p&&(f=E,E=p,p=f),E>g)if(C>w-g)u.moveTo(E*d(k),E*b(k)),u.arc(0,0,E,k,D,!O),p>g&&(u.moveTo(p*d(D),p*b(D)),u.arc(0,0,p,D,k,O))
|
|||
|
else{var F,T,B=k,P=D,j=k,N=D,R=C,L=C,I=a.apply(this,arguments)/2,$=I>g&&(r?+r.apply(this,arguments):v(p*p+E*E)),U=y(l(E-p)/2,+n.apply(this,arguments)),z=U,Z=U
|
|||
|
if($>g){var q=A($/p*b(I)),V=A($/E*b(I));(R-=2*q)>g?(j+=q*=O?1:-1,N-=q):(R=0,j=N=(k+D)/2),(L-=2*V)>g?(B+=V*=O?1:-1,P-=V):(L=0,B=P=(k+D)/2)}var H=E*d(B),Y=E*b(B),G=p*d(N),K=p*b(N)
|
|||
|
if(U>g){var W,X=E*d(P),J=E*b(P),Q=p*d(j),tt=p*b(j)
|
|||
|
if(C<m&&(W=S(H,Y,Q,tt,X,J,G,K))){var et=H-W[0],nt=Y-W[1],rt=X-W[0],it=J-W[1],ot=1/b(x((et*rt+nt*it)/(v(et*et+nt*nt)*v(rt*rt+it*it)))/2),at=v(W[0]*W[0]+W[1]*W[1])
|
|||
|
z=y(U,(p-at)/(ot-1)),Z=y(U,(E-at)/(ot+1))}}L>g?Z>g?(F=M(Q,tt,H,Y,E,Z,O),T=M(X,J,G,K,E,Z,O),u.moveTo(F.cx+F.x01,F.cy+F.y01),Z<U?u.arc(F.cx,F.cy,Z,h(F.y01,F.x01),h(T.y01,T.x01),!O):(u.arc(F.cx,F.cy,Z,h(F.y01,F.x01),h(F.y11,F.x11),!O),u.arc(0,0,E,h(F.cy+F.y11,F.cx+F.x11),h(T.cy+T.y11,T.cx+T.x11),!O),u.arc(T.cx,T.cy,Z,h(T.y11,T.x11),h(T.y01,T.x01),!O))):(u.moveTo(H,Y),u.arc(0,0,E,B,P,!O)):u.moveTo(H,Y),p>g&&R>g?z>g?(F=M(G,K,X,J,p,-z,O),T=M(H,Y,Q,tt,p,-z,O),u.lineTo(F.cx+F.x01,F.cy+F.y01),z<U?u.arc(F.cx,F.cy,z,h(F.y01,F.x01),h(T.y01,T.x01),!O):(u.arc(F.cx,F.cy,z,h(F.y01,F.x01),h(F.y11,F.x11),!O),u.arc(0,0,p,h(F.cy+F.y11,F.cx+F.x11),h(T.cy+T.y11,T.cx+T.x11),O),u.arc(T.cx,T.cy,z,h(T.y11,T.x11),h(T.y01,T.x01),!O))):u.arc(0,0,p,N,j,O):u.lineTo(G,K)}else u.moveTo(0,0)
|
|||
|
if(u.closePath(),c)return u=null,c+""||null}return c.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-m/2
|
|||
|
return[d(r)*n,b(r)*n]},c.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:f(+e),c):t},c.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:f(+t),c):e},c.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:f(+t),c):n},c.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:f(+t),c):r},c.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:f(+t),c):i},c.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:f(+t),c):o},c.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:f(+t),c):a},c.context=function(t){return arguments.length?(u=null==t?null:t,c):u},c}var T=Array.prototype.slice
|
|||
|
function B(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function P(t){this._context=t}function j(t){return new P(t)}function N(t){return t[0]}function R(t){return t[1]}function L(t,e){var n=f(!0),r=null,i=j,o=null
|
|||
|
function a(a){var u,c,f,l=(a=B(a)).length,h=!1
|
|||
|
for(null==r&&(o=i(f=s())),u=0;u<=l;++u)!(u<l&&n(c=a[u],u,a))===h&&((h=!h)?o.lineStart():o.lineEnd()),h&&o.point(+t(c,u,a),+e(c,u,a))
|
|||
|
if(f)return o=null,f+""||null}return t="function"==typeof t?t:void 0===t?N:f(t),e="function"==typeof e?e:void 0===e?R:f(e),a.x=function(e){return arguments.length?(t="function"==typeof e?e:f(+e),a):t},a.y=function(t){return arguments.length?(e="function"==typeof t?t:f(+t),a):e},a.defined=function(t){return arguments.length?(n="function"==typeof t?t:f(!!t),a):n},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a}function I(t,e,n){var r=null,i=f(!0),o=null,a=j,u=null
|
|||
|
function c(c){var f,l,h,d,p,y=(c=B(c)).length,b=!1,v=new Array(y),g=new Array(y)
|
|||
|
for(null==o&&(u=a(p=s())),f=0;f<=y;++f){if(!(f<y&&i(d=c[f],f,c))===b)if(b=!b)l=f,u.areaStart(),u.lineStart()
|
|||
|
else{for(u.lineEnd(),u.lineStart(),h=f-1;h>=l;--h)u.point(v[h],g[h])
|
|||
|
u.lineEnd(),u.areaEnd()}b&&(v[f]=+t(d,f,c),g[f]=+e(d,f,c),u.point(r?+r(d,f,c):v[f],n?+n(d,f,c):g[f]))}if(p)return u=null,p+""||null}function l(){return L().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?N:f(+t),e="function"==typeof e?e:f(void 0===e?0:+e),n="function"==typeof n?n:void 0===n?R:f(+n),c.x=function(e){return arguments.length?(t="function"==typeof e?e:f(+e),r=null,c):t},c.x0=function(e){return arguments.length?(t="function"==typeof e?e:f(+e),c):t},c.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:f(+t),c):r},c.y=function(t){return arguments.length?(e="function"==typeof t?t:f(+t),n=null,c):e},c.y0=function(t){return arguments.length?(e="function"==typeof t?t:f(+t),c):e},c.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:f(+t),c):n},c.lineX0=c.lineY0=function(){return l().x(t).y(e)},c.lineY1=function(){return l().x(t).y(n)},c.lineX1=function(){return l().x(r).y(e)},c.defined=function(t){return arguments.length?(i="function"==typeof t?t:f(!!t),c):i},c.curve=function(t){return arguments.length?(a=t,null!=o&&(u=a(o)),c):a},c.context=function(t){return arguments.length?(null==t?o=u=null:u=a(o=t),c):o},c}function $(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function U(t){return t}function z(){var t=U,e=$,n=null,r=f(0),i=f(w),o=f(0)
|
|||
|
function a(a){var u,c,s,f,l,h=(a=B(a)).length,d=0,p=new Array(h),y=new Array(h),b=+r.apply(this,arguments),v=Math.min(w,Math.max(-w,i.apply(this,arguments)-b)),g=Math.min(Math.abs(v)/h,o.apply(this,arguments)),m=g*(v<0?-1:1)
|
|||
|
for(u=0;u<h;++u)(l=y[p[u]=u]=+t(a[u],u,a))>0&&(d+=l)
|
|||
|
for(null!=e?p.sort((function(t,n){return e(y[t],y[n])})):null!=n&&p.sort((function(t,e){return n(a[t],a[e])})),u=0,s=d?(v-h*m)/d:0;u<h;++u,b=f)c=p[u],f=b+((l=y[c])>0?l*s:0)+m,y[c]={data:a[c],index:u,value:l,startAngle:b,endAngle:f,padAngle:g}
|
|||
|
return y}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:f(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,n=null,a):e},a.sort=function(t){return arguments.length?(n=t,e=null,a):n},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:f(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:f(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:f(+t),a):o},a}P.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 Z=V(j)
|
|||
|
function q(t){this._curve=t}function V(t){function e(e){return new q(t(e))}return e._curve=t,e}function H(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(V(t)):e()._curve},t}function Y(){return H(L().curve(Z))}function G(){var t=I().curve(Z),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 H(n())},delete t.lineX0,t.lineEndAngle=function(){return H(r())},delete t.lineX1,t.lineInnerRadius=function(){return H(i())},delete t.lineY0,t.lineOuterRadius=function(){return H(o())},delete t.lineY1,t.curve=function(t){return arguments.length?e(V(t)):e()._curve},t}function K(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}function W(t){return t.source}function X(t){return t.target}function J(t){var e=W,n=X,r=N,i=R,o=null
|
|||
|
function a(){var a,u=T.call(arguments),c=e.apply(this,u),f=n.apply(this,u)
|
|||
|
if(o||(o=a=s()),t(o,+r.apply(this,(u[0]=c,u)),+i.apply(this,u),+r.apply(this,(u[0]=f,u)),+i.apply(this,u)),a)return o=null,a+""||null}return a.source=function(t){return arguments.length?(e=t,a):e},a.target=function(t){return arguments.length?(n=t,a):n},a.x=function(t){return arguments.length?(r="function"==typeof t?t:f(+t),a):r},a.y=function(t){return arguments.length?(i="function"==typeof t?t:f(+t),a):i},a.context=function(t){return arguments.length?(o=null==t?null:t,a):o},a}function Q(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,i,r,i)}function tt(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+i)/2,r,n,r,i)}function et(t,e,n,r,i){var o=K(e,n),a=K(e,n=(n+i)/2),u=K(r,n),c=K(r,i)
|
|||
|
t.moveTo(o[0],o[1]),t.bezierCurveTo(a[0],a[1],u[0],u[1],c[0],c[1])}function nt(){return J(Q)}function rt(){return J(tt)}function it(){var t=J(et)
|
|||
|
return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}q.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))}}
|
|||
|
const ot={draw:function(t,e){var n=Math.sqrt(e/m)
|
|||
|
t.moveTo(n,0),t.arc(0,0,n,0,w)}},at={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()}}
|
|||
|
var ut=Math.sqrt(1/3),ct=2*ut
|
|||
|
const st={draw:function(t,e){var n=Math.sqrt(e/ct),r=n*ut
|
|||
|
t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}}
|
|||
|
var ft=Math.sin(m/10)/Math.sin(7*m/10),lt=Math.sin(w/10)*ft,ht=-Math.cos(w/10)*ft
|
|||
|
const dt={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=lt*n,i=ht*n
|
|||
|
t.moveTo(0,-n),t.lineTo(r,i)
|
|||
|
for(var o=1;o<5;++o){var a=w*o/5,u=Math.cos(a),c=Math.sin(a)
|
|||
|
t.lineTo(c*n,-u*n),t.lineTo(u*r-c*i,c*r+u*i)}t.closePath()}},pt={draw:function(t,e){var n=Math.sqrt(e),r=-n/2
|
|||
|
t.rect(r,r,n,n)}}
|
|||
|
var yt=Math.sqrt(3)
|
|||
|
const bt={draw:function(t,e){var n=-Math.sqrt(e/(3*yt))
|
|||
|
t.moveTo(0,2*n),t.lineTo(-yt*n,-n),t.lineTo(yt*n,-n),t.closePath()}}
|
|||
|
var vt=-.5,gt=Math.sqrt(3)/2,mt=1/Math.sqrt(12),_t=3*(mt/2+1)
|
|||
|
const wt={draw:function(t,e){var n=Math.sqrt(e/_t),r=n/2,i=n*mt,o=r,a=n*mt+n,u=-o,c=a
|
|||
|
t.moveTo(r,i),t.lineTo(o,a),t.lineTo(u,c),t.lineTo(vt*r-gt*i,gt*r+vt*i),t.lineTo(vt*o-gt*a,gt*o+vt*a),t.lineTo(vt*u-gt*c,gt*u+vt*c),t.lineTo(vt*r+gt*i,vt*i-gt*r),t.lineTo(vt*o+gt*a,vt*a-gt*o),t.lineTo(vt*u+gt*c,vt*c-gt*u),t.closePath()}}
|
|||
|
var xt=[ot,at,st,pt,dt,bt,wt]
|
|||
|
function At(t,e){var n=null
|
|||
|
function r(){var r
|
|||
|
if(n||(n=r=s()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return t="function"==typeof t?t:f(t||ot),e="function"==typeof e?e:f(void 0===e?64:+e),r.type=function(e){return arguments.length?(t="function"==typeof e?e:f(e),r):t},r.size=function(t){return arguments.length?(e="function"==typeof t?t:f(+t),r):e},r.context=function(t){return arguments.length?(n=null==t?null:t,r):n},r}function Et(){}function kt(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 Dt(t){this._context=t}function Ct(t){return new Dt(t)}function Ot(t){this._context=t}function St(t){return new Ot(t)}function Mt(t){this._context=t}function Ft(t){return new Mt(t)}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(){switch(this._point){case 3:kt(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:kt(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Ot.prototype={areaStart:Et,areaEnd:Et,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:kt(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Mt.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:kt(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}}
|
|||
|
class Tt{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(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._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function Bt(t){return new Tt(t,!0)}function Pt(t){return new Tt(t,!1)}function jt(t,e){this._basis=new Dt(t),this._beta=e}jt.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,u=e[n]-o,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*a),this._beta*e[c]+(1-this._beta)*(o+r*u))
|
|||
|
this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}}
|
|||
|
const Nt=function t(e){function n(t){return 1===e?new Dt(t):new jt(t,e)}return n.beta=function(e){return t(+e)},n}(.85)
|
|||
|
function Rt(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 Lt(t,e){this._context=t,this._k=(1-e)/6}Lt.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:Rt(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:Rt(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}}
|
|||
|
const It=function t(e){function n(t){return new Lt(t,e)}return n.tension=function(e){return t(+e)},n}(0)
|
|||
|
function $t(t,e){this._context=t,this._k=(1-e)/6}$t.prototype={areaStart:Et,areaEnd:Et,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:Rt(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}}
|
|||
|
const Ut=function t(e){function n(t){return new $t(t,e)}return n.tension=function(e){return t(+e)},n}(0)
|
|||
|
function zt(t,e){this._context=t,this._k=(1-e)/6}zt.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:Rt(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}}
|
|||
|
const Zt=function t(e){function n(t){return new zt(t,e)}return n.tension=function(e){return t(+e)},n}(0)
|
|||
|
function qt(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2
|
|||
|
if(t._l01_a>g){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a)
|
|||
|
r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>g){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a)
|
|||
|
o=(o*s+t._x1*t._l23_2a-e*t._l12_2a)/f,a=(a*s+t._y1*t._l23_2a-n*t._l12_2a)/f}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function Vt(t,e){this._context=t,this._alpha=e}Vt.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:qt(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}}
|
|||
|
const Ht=function t(e){function n(t){return e?new Vt(t,e):new Lt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)
|
|||
|
function Yt(t,e){this._context=t,this._alpha=e}Yt.prototype={areaStart:Et,areaEnd:Et,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:qt(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}}
|
|||
|
const Gt=function t(e){function n(t){return e?new Yt(t,e):new $t(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)
|
|||
|
function Kt(t,e){this._context=t,this._alpha=e}Kt.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:qt(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}}
|
|||
|
const Wt=function t(e){function n(t){return e?new Kt(t,e):new zt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)
|
|||
|
function Xt(t){this._context=t}function Jt(t){return new Xt(t)}function Qt(t){return t<0?-1:1}function te(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),u=(o*i+a*r)/(r+i)
|
|||
|
return(Qt(o)+Qt(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function ee(t,e){var n=t._x1-t._x0
|
|||
|
return n?(3*(t._y1-t._y0)/n-e)/2:e}function ne(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3
|
|||
|
t._context.bezierCurveTo(r+u,i+u*e,o-u,a-u*n,o,a)}function re(t){this._context=t}function ie(t){this._context=new oe(t)}function oe(t){this._context=t}function ae(t){return new re(t)}function ue(t){return new ie(t)}function ce(t){this._context=t}function se(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 fe(t){return new ce(t)}function le(t,e){this._context=t,this._t=e}function he(t){return new le(t,.5)}function de(t){return new le(t,0)}function pe(t){return new le(t,1)}function ye(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],u=a.length;o<i;++o)for(r=a,a=t[e[o]],n=0;n<u;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function be(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e
|
|||
|
return n}function ve(t,e){return t[e]}function ge(t){const e=[]
|
|||
|
return e.key=t,e}function me(){var t=f([]),e=be,n=ye,r=ve
|
|||
|
function i(i){var o,a,u=Array.from(t.apply(this,arguments),ge),c=u.length,s=-1
|
|||
|
for(const t of i)for(o=0,++s;o<c;++o)(u[o][s]=[0,+r(t,u[o].key,s,i)]).data=t
|
|||
|
for(o=0,a=B(e(u));o<c;++o)u[a[o]].index=o
|
|||
|
return n(u,a),u}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:f(Array.from(e)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:f(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?be:"function"==typeof t?t:f(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(n=null==t?ye:t,i):n},i}function _e(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}ye(t,e)}}function we(t,e){if((u=t.length)>0)for(var n,r,i,o,a,u,c=0,s=t[e[0]].length;c<s;++c)for(o=a=0,n=0;n<u;++n)(i=(r=t[e[n]][c])[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)}function xe(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,u=0;a<n;++a)u+=t[a][r][1]||0
|
|||
|
i[r][1]+=i[r][0]=-u/2}ye(t,e)}}function Ae(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 u=0,c=0,s=0;u<i;++u){for(var f=t[e[u]],l=f[a][1]||0,h=(l-(f[a-1][1]||0))/2,d=0;d<u;++d){var p=t[e[d]]
|
|||
|
h+=(p[a][1]||0)-(p[a-1][1]||0)}c+=l,s+=h*l}n[a-1][1]+=n[a-1][0]=o,c&&(o-=s/c)}n[a-1][1]+=n[a-1][0]=o,ye(t,e)}}function Ee(t){var e=t.map(ke)
|
|||
|
return be(t).sort((function(t,n){return e[t]-e[n]}))}function ke(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 De(t){var e=t.map(Ce)
|
|||
|
return be(t).sort((function(t,n){return e[t]-e[n]}))}function Ce(t){for(var e,n=0,r=-1,i=t.length;++r<i;)(e=+t[r][1])&&(n+=e)
|
|||
|
return n}function Oe(t){return De(t).reverse()}function Se(t){var e,n,r=t.length,i=t.map(Ce),o=Ee(t),a=0,u=0,c=[],s=[]
|
|||
|
for(e=0;e<r;++e)n=o[e],a<u?(a+=i[n],c.push(n)):(u+=i[n],s.push(n))
|
|||
|
return s.reverse().concat(c)}function Me(t){return be(t).reverse()}Xt.prototype={areaStart:Et,areaEnd:Et,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))}},re.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:ne(this,this._t0,ee(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,ne(this,ee(this,n=te(this,t,e)),n)
|
|||
|
break
|
|||
|
default:ne(this,this._t0,n=te(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(ie.prototype=Object.create(re.prototype)).point=function(t,e){re.prototype.point.call(this,e,t)},oe.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)}},ce.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=se(t),i=se(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)}},le.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}}},4434:function(t){t.exports=function(){"use strict"
|
|||
|
var t="millisecond",e="second",n="minute",r="hour",i="day",o="week",a="month",u="quarter",c="year",s="date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},d=function(t,e,n){var r=String(t)
|
|||
|
return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},p={s:d,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60
|
|||
|
return(e<=0?"+":"-")+d(r,2,"0")+":"+d(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e)
|
|||
|
var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,a),o=n-i<0,u=e.clone().add(r+(o?-1:1),a)
|
|||
|
return+(-(r+(n-i)/(o?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(f){return{M:a,y:c,w:o,d:i,D:s,h:r,m:n,s:e,ms:t,Q:u}[f]||String(f||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",b={}
|
|||
|
b[y]=h
|
|||
|
var v=function(t){return t instanceof w},g=function(t,e,n){var r
|
|||
|
if(!t)return y
|
|||
|
if("string"==typeof t)b[t]&&(r=t),e&&(b[t]=e,r=t)
|
|||
|
else{var i=t.name
|
|||
|
b[i]=t,r=i}return!n&&r&&(y=r),r||!n&&y},m=function(t,e){if(v(t))return t.clone()
|
|||
|
var n="object"==typeof e?e:{}
|
|||
|
return n.date=t,n.args=arguments,new w(n)},_=p
|
|||
|
_.l=g,_.i=v,_.w=function(t,e){return m(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})}
|
|||
|
var w=function(){function h(t){this.$L=g(t.locale,null,!0),this.parse(t)}var d=h.prototype
|
|||
|
return d.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc
|
|||
|
if(null===e)return new Date(NaN)
|
|||
|
if(_.u(e))return new Date
|
|||
|
if(e instanceof Date)return new Date(e)
|
|||
|
if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(f)
|
|||
|
if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3)
|
|||
|
return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},d.init=function(){var t=this.$d
|
|||
|
this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},d.$utils=function(){return _},d.isValid=function(){return!("Invalid Date"===this.$d.toString())},d.isSame=function(t,e){var n=m(t)
|
|||
|
return this.startOf(e)<=n&&n<=this.endOf(e)},d.isAfter=function(t,e){return m(t)<this.startOf(e)},d.isBefore=function(t,e){return this.endOf(e)<m(t)},d.$g=function(t,e,n){return _.u(t)?this[e]:this.set(n,t)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(t,u){var f=this,l=!!_.u(u)||u,h=_.p(t),d=function(t,e){var n=_.w(f.$u?Date.UTC(f.$y,e,t):new Date(f.$y,e,t),f)
|
|||
|
return l?n:n.endOf(i)},p=function(t,e){return _.w(f.toDate()[t].apply(f.toDate("s"),(l?[0,0,0,0]:[23,59,59,999]).slice(e)),f)},y=this.$W,b=this.$M,v=this.$D,g="set"+(this.$u?"UTC":"")
|
|||
|
switch(h){case c:return l?d(1,0):d(31,11)
|
|||
|
case a:return l?d(1,b):d(0,b+1)
|
|||
|
case o:var m=this.$locale().weekStart||0,w=(y<m?y+7:y)-m
|
|||
|
return d(l?v-w:v+(6-w),b)
|
|||
|
case i:case s:return p(g+"Hours",0)
|
|||
|
case r:return p(g+"Minutes",1)
|
|||
|
case n:return p(g+"Seconds",2)
|
|||
|
case e:return p(g+"Milliseconds",3)
|
|||
|
default:return this.clone()}},d.endOf=function(t){return this.startOf(t,!1)},d.$set=function(o,u){var f,l=_.p(o),h="set"+(this.$u?"UTC":""),d=(f={},f[i]=h+"Date",f[s]=h+"Date",f[a]=h+"Month",f[c]=h+"FullYear",f[r]=h+"Hours",f[n]=h+"Minutes",f[e]=h+"Seconds",f[t]=h+"Milliseconds",f)[l],p=l===i?this.$D+(u-this.$W):u
|
|||
|
if(l===a||l===c){var y=this.clone().set(s,1)
|
|||
|
y.$d[d](p),y.init(),this.$d=y.set(s,Math.min(this.$D,y.daysInMonth())).$d}else d&&this.$d[d](p)
|
|||
|
return this.init(),this},d.set=function(t,e){return this.clone().$set(t,e)},d.get=function(t){return this[_.p(t)]()},d.add=function(t,u){var s,f=this
|
|||
|
t=Number(t)
|
|||
|
var l=_.p(u),h=function(e){var n=m(f)
|
|||
|
return _.w(n.date(n.date()+Math.round(e*t)),f)}
|
|||
|
if(l===a)return this.set(a,this.$M+t)
|
|||
|
if(l===c)return this.set(c,this.$y+t)
|
|||
|
if(l===i)return h(1)
|
|||
|
if(l===o)return h(7)
|
|||
|
var d=(s={},s[n]=6e4,s[r]=36e5,s[e]=1e3,s)[l]||1,p=this.$d.getTime()+t*d
|
|||
|
return _.w(p,this)},d.subtract=function(t,e){return this.add(-1*t,e)},d.format=function(t){var e=this
|
|||
|
if(!this.isValid())return"Invalid Date"
|
|||
|
var n=t||"YYYY-MM-DDTHH:mm:ssZ",r=_.z(this),i=this.$locale(),o=this.$H,a=this.$m,u=this.$M,c=i.weekdays,s=i.months,f=function(t,r,i,o){return t&&(t[r]||t(e,n))||i[r].substr(0,o)},h=function(t){return _.s(o%12||12,t,"0")},d=i.meridiem||function(t,e,n){var r=t<12?"AM":"PM"
|
|||
|
return n?r.toLowerCase():r},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:u+1,MM:_.s(u+1,2,"0"),MMM:f(i.monthsShort,u,s,3),MMMM:f(s,u),D:this.$D,DD:_.s(this.$D,2,"0"),d:String(this.$W),dd:f(i.weekdaysMin,this.$W,c,2),ddd:f(i.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(o),HH:_.s(o,2,"0"),h:h(1),hh:h(2),a:d(o,a,!0),A:d(o,a,!1),m:String(a),mm:_.s(a,2,"0"),s:String(this.$s),ss:_.s(this.$s,2,"0"),SSS:_.s(this.$ms,3,"0"),Z:r}
|
|||
|
return n.replace(l,(function(t,e){return e||p[t]||r.replace(":","")}))},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(t,s,f){var l,h=_.p(s),d=m(t),p=6e4*(d.utcOffset()-this.utcOffset()),y=this-d,b=_.m(this,d)
|
|||
|
return b=(l={},l[c]=b/12,l[a]=b,l[u]=b/3,l[o]=(y-p)/6048e5,l[i]=(y-p)/864e5,l[r]=y/36e5,l[n]=y/6e4,l[e]=y/1e3,l)[h]||y,f?b:_.a(b)},d.daysInMonth=function(){return this.endOf(a).$D},d.$locale=function(){return b[this.$L]},d.locale=function(t,e){if(!t)return this.$L
|
|||
|
var n=this.clone(),r=g(t,e,!0)
|
|||
|
return r&&(n.$L=r),n},d.clone=function(){return _.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},h}(),x=w.prototype
|
|||
|
return m.prototype=x,[["$ms",t],["$s",e],["$m",n],["$H",r],["$W",i],["$M",a],["$y",c],["$D",s]].forEach((function(t){x[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),m.extend=function(t,e){return t.$i||(t(e,w,m),t.$i=!0),m},m.locale=g,m.isDayjs=v,m.unix=function(t){return m(1e3*t)},m.en=b[y],m.Ls=b,m.p={},m}()},9379:function(t){t.exports=function(){"use strict"
|
|||
|
return function(t,e,n){var r="h:mm A",i={lastDay:"[Yesterday at] "+r,sameDay:"[Today at] "+r,nextDay:"[Tomorrow at] "+r,nextWeek:"dddd [at] "+r,lastWeek:"[Last] dddd [at] "+r,sameElse:"MM/DD/YYYY"}
|
|||
|
e.prototype.calendar=function(t,e){var r=e||this.$locale().calendar||i,o=n(t||void 0).startOf("d"),a=this.diff(o,"d",!0),u=a<-6?"sameElse":a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":"sameElse",c=r[u]||i[u]
|
|||
|
return"function"==typeof c?c.call(this,n()):this.format(c)}}}()},8275:function(t){t.exports=function(){"use strict"
|
|||
|
return function(t,e,n){t=t||{}
|
|||
|
var r=e.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}
|
|||
|
function o(t,e,n,i){return r.fromToBase(t,e,n,i)}n.en.relativeTime=i,r.fromToBase=function(e,r,o,a,u){for(var c,s,f,l=o.$locale().relativeTime||i,h=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],d=h.length,p=0;p<d;p+=1){var y=h[p]
|
|||
|
y.d&&(c=a?n(e).diff(o,y.d,!0):o.diff(e,y.d,!0))
|
|||
|
var b=(t.rounding||Math.round)(Math.abs(c))
|
|||
|
if(f=c>0,b<=y.r||!y.r){b<=1&&p>0&&(y=h[p-1])
|
|||
|
var v=l[y.l]
|
|||
|
u&&(b=u(""+b)),s="string"==typeof v?v.replace("%d",b):v(b,r,y.l,f)
|
|||
|
break}}if(r)return s
|
|||
|
var g=f?l.future:l.past
|
|||
|
return"function"==typeof g?g(s):g.replace("%s",s)},r.to=function(t,e){return o(t,e,this,!0)},r.from=function(t,e){return o(t,e,this)}
|
|||
|
var a=function(t){return t.$u?n.utc():n()}
|
|||
|
r.toNow=function(t){return this.to(a(this),t)},r.fromNow=function(t){return this.from(a(this),t)}}}()},2999:t=>{"use strict"
|
|||
|
var e=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t)
|
|||
|
return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===n}(t)}(t)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103
|
|||
|
function r(t,e){return!1!==e.clone&&e.isMergeableObject(t)?u((n=t,Array.isArray(n)?[]:{}),t,e):t
|
|||
|
var n}function i(t,e,n){return t.concat(e).map((function(t){return r(t,n)}))}function o(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}(t))}function a(t,e){try{return e in t}catch(t){return!1}}function u(t,n,c){(c=c||{}).arrayMerge=c.arrayMerge||i,c.isMergeableObject=c.isMergeableObject||e,c.cloneUnlessOtherwiseSpecified=r
|
|||
|
var s=Array.isArray(n)
|
|||
|
return s===Array.isArray(t)?s?c.arrayMerge(t,n,c):function(t,e,n){var i={}
|
|||
|
return n.isMergeableObject(t)&&o(t).forEach((function(e){i[e]=r(t[e],n)})),o(e).forEach((function(o){(function(t,e){return a(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,o)||(a(t,o)&&n.isMergeableObject(e[o])?i[o]=function(t,e){if(!e.customMerge)return u
|
|||
|
var n=e.customMerge(t)
|
|||
|
return"function"==typeof n?n:u}(o,n)(t[o],e[o],n):i[o]=r(e[o],n))})),i}(t,n,c):r(n,c)}u.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array")
|
|||
|
return t.reduce((function(t,n){return u(t,n,e)}),{})}
|
|||
|
var c=u
|
|||
|
t.exports=c},6673:(t,e,n)=>{"use strict"
|
|||
|
n.r(e),n.d(e,{default:()=>P})
|
|||
|
var r=n(4927),i=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],o=i.join(","),a="undefined"==typeof Element,u=a?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,c=!a&&Element.prototype.getRootNode?function(t){return t.getRootNode()}:function(t){return t.ownerDocument},s=function(t,e,n){var r=Array.prototype.slice.apply(t.querySelectorAll(o))
|
|||
|
return e&&u.call(t,o)&&r.unshift(t),r.filter(n)},f=function t(e,n,r){for(var i=[],a=Array.from(e);a.length;){var c=a.shift()
|
|||
|
if("SLOT"===c.tagName){var s=c.assignedElements(),f=t(s.length?s:c.children,!0,r)
|
|||
|
r.flatten?i.push.apply(i,f):i.push({scope:c,candidates:f})}else{u.call(c,o)&&r.filter(c)&&(n||!e.includes(c))&&i.push(c)
|
|||
|
var l=c.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(c),h=!r.shadowRootFilter||r.shadowRootFilter(c)
|
|||
|
if(l&&h){var d=t(!0===l?c.children:l.children,!0,r)
|
|||
|
r.flatten?i.push.apply(i,d):i.push({scope:c,candidates:d})}else a.unshift.apply(a,c.children)}}return i},l=function(t,e){return t.tabIndex<0&&(e||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||t.isContentEditable)&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},h=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},d=function(t){return"INPUT"===t.tagName},p=function(t){var e=t.getBoundingClientRect(),n=e.width,r=e.height
|
|||
|
return 0===n&&0===r},y=function(t,e){return!(e.disabled||function(t){return d(t)&&"hidden"===t.type}(e)||function(t,e){var n=e.displayCheck,r=e.getShadowRoot
|
|||
|
if("hidden"===getComputedStyle(t).visibility)return!0
|
|||
|
var i=u.call(t,"details>summary:first-of-type")?t.parentElement:t
|
|||
|
if(u.call(i,"details:not([open]) *"))return!0
|
|||
|
var o=c(t).host,a=(null==o?void 0:o.ownerDocument.contains(o))||t.ownerDocument.contains(t)
|
|||
|
if(n&&"full"!==n){if("non-zero-area"===n)return p(t)}else{if("function"==typeof r){for(var s=t;t;){var f=t.parentElement,l=c(t)
|
|||
|
if(f&&!f.shadowRoot&&!0===r(f))return p(t)
|
|||
|
t=t.assignedSlot?t.assignedSlot:f||l===t.ownerDocument?f:l.host}t=s}if(a)return!t.getClientRects().length}return!1}(e,t)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var r=e.children.item(n)
|
|||
|
if("LEGEND"===r.tagName)return!!u.call(e,"fieldset[disabled] *")||!r.contains(t)}return!0}e=e.parentElement}return!1}(e))},b=function(t,e){return!(function(t){return function(t){return d(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0
|
|||
|
var e,n=t.form||c(t),r=function(t){return n.querySelectorAll('input[type="radio"][name="'+t+'"]')}
|
|||
|
if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=r(window.CSS.escape(t.name))
|
|||
|
else try{e=r(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var i=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]}(e,t.form)
|
|||
|
return!i||i===t}(t)}(e)||l(e)<0||!y(t,e))},v=function(t){var e=parseInt(t.getAttribute("tabindex"),10)
|
|||
|
return!!(isNaN(e)||e>=0)},g=function t(e){var n=[],r=[]
|
|||
|
return e.forEach((function(e,i){var o=!!e.scope,a=o?e.scope:e,u=l(a,o),c=o?t(e.candidates):a
|
|||
|
0===u?o?n.push.apply(n,c):n.push(a):r.push({documentOrder:i,tabIndex:u,item:e,isScope:o,content:c})})),r.sort(h).reduce((function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t}),[]).concat(n)},m=function(t,e){var n
|
|||
|
return n=(e=e||{}).getShadowRoot?f([t],e.includeContainer,{filter:b.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:v}):s(t,e.includeContainer,b.bind(null,e)),g(n)},_=function(t,e){if(e=e||{},!t)throw new Error("No node provided")
|
|||
|
return!1!==u.call(t,o)&&b(e,t)},w=i.concat("iframe").join(","),x=function(t,e){if(e=e||{},!t)throw new Error("No node provided")
|
|||
|
return!1!==u.call(t,w)&&y(e,t)}
|
|||
|
function A(t,e){var n=Object.keys(t)
|
|||
|
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t)
|
|||
|
e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function E(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{}
|
|||
|
e%2?A(Object(n),!0).forEach((function(e){k(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var D,C=(D=[],{activateTrap:function(t){if(D.length>0){var e=D[D.length-1]
|
|||
|
e!==t&&e.pause()}var n=D.indexOf(t);-1===n||D.splice(n,1),D.push(t)},deactivateTrap:function(t){var e=D.indexOf(t);-1!==e&&D.splice(e,1),D.length>0&&D[D.length-1].unpause()}}),O=function(t){return setTimeout(t,0)},S=function(t,e){var n=-1
|
|||
|
return t.every((function(t,r){return!e(t)||(n=r,!1)})),n},M=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r]
|
|||
|
return"function"==typeof t?t.apply(void 0,n):t},F=function(t){return t.target.shadowRoot&&"function"==typeof t.composedPath?t.composedPath()[0]:t.target},T=function(t,e){var n,r=(null==e?void 0:e.document)||document,i=E({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},e),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a=function(t,e,n){return t&&void 0!==t[e]?t[e]:i[n||e]},u=function(t){return o.containerGroups.findIndex((function(e){var n=e.container,r=e.tabbableNodes
|
|||
|
return n.contains(t)||r.find((function(e){return e===t}))}))},c=function(t){var e=i[t]
|
|||
|
if("function"==typeof e){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a]
|
|||
|
e=e.apply(void 0,o)}if(!0===e&&(e=void 0),!e){if(void 0===e||!1===e)return e
|
|||
|
throw new Error("`".concat(t,"` was specified but was not a node, or did not return a node"))}var u=e
|
|||
|
if("string"==typeof e&&!(u=r.querySelector(e)))throw new Error("`".concat(t,"` as selector refers to no known node"))
|
|||
|
return u},l=function(){var t=c("initialFocus")
|
|||
|
if(!1===t)return!1
|
|||
|
if(void 0===t)if(u(r.activeElement)>=0)t=r.activeElement
|
|||
|
else{var e=o.tabbableGroups[0]
|
|||
|
t=e&&e.firstTabbableNode||c("fallbackFocus")}if(!t)throw new Error("Your focus-trap needs to have at least one focusable element")
|
|||
|
return t},h=function(){if(o.containerGroups=o.containers.map((function(t){var e,n,r=m(t,i.tabbableOptions),o=(e=t,(n=(n=i.tabbableOptions)||{}).getShadowRoot?f([e],n.includeContainer,{filter:y.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):s(e,n.includeContainer,y.bind(null,n)))
|
|||
|
return{container:t,tabbableNodes:r,focusableNodes:o,firstTabbableNode:r.length>0?r[0]:null,lastTabbableNode:r.length>0?r[r.length-1]:null,nextTabbableNode:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=o.findIndex((function(e){return e===t}))
|
|||
|
if(!(n<0))return e?o.slice(n+1).find((function(t){return _(t,i.tabbableOptions)})):o.slice(0,n).reverse().find((function(t){return _(t,i.tabbableOptions)}))}}})),o.tabbableGroups=o.containerGroups.filter((function(t){return t.tabbableNodes.length>0})),o.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},d=function t(e){!1!==e&&e!==r.activeElement&&(e&&e.focus?(e.focus({preventScroll:!!i.preventScroll}),o.mostRecentlyFocusedNode=e,function(t){return t.tagName&&"input"===t.tagName.toLowerCase()&&"function"==typeof t.select}(e)&&e.select()):t(l()))},p=function(t){var e=c("setReturnFocus",t)
|
|||
|
return e||!1!==e&&t},b=function(t){var e=F(t)
|
|||
|
u(e)>=0||(M(i.clickOutsideDeactivates,t)?n.deactivate({returnFocus:i.returnFocusOnDeactivate&&!x(e,i.tabbableOptions)}):M(i.allowOutsideClick,t)||t.preventDefault())},v=function(t){var e=F(t),n=u(e)>=0
|
|||
|
n||e instanceof Document?n&&(o.mostRecentlyFocusedNode=e):(t.stopImmediatePropagation(),d(o.mostRecentlyFocusedNode||l()))},g=function(t){if(function(t){return"Escape"===t.key||"Esc"===t.key||27===t.keyCode}(t)&&!1!==M(i.escapeDeactivates,t))return t.preventDefault(),void n.deactivate();(function(t){return"Tab"===t.key||9===t.keyCode})(t)&&function(t){var e=F(t)
|
|||
|
h()
|
|||
|
var n=null
|
|||
|
if(o.tabbableGroups.length>0){var r=u(e),a=r>=0?o.containerGroups[r]:void 0
|
|||
|
if(r<0)n=t.shiftKey?o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:o.tabbableGroups[0].firstTabbableNode
|
|||
|
else if(t.shiftKey){var s=S(o.tabbableGroups,(function(t){var n=t.firstTabbableNode
|
|||
|
return e===n}))
|
|||
|
if(s<0&&(a.container===e||x(e,i.tabbableOptions)&&!_(e,i.tabbableOptions)&&!a.nextTabbableNode(e,!1))&&(s=r),s>=0){var f=0===s?o.tabbableGroups.length-1:s-1
|
|||
|
n=o.tabbableGroups[f].lastTabbableNode}}else{var l=S(o.tabbableGroups,(function(t){var n=t.lastTabbableNode
|
|||
|
return e===n}))
|
|||
|
if(l<0&&(a.container===e||x(e,i.tabbableOptions)&&!_(e,i.tabbableOptions)&&!a.nextTabbableNode(e))&&(l=r),l>=0){var p=l===o.tabbableGroups.length-1?0:l+1
|
|||
|
n=o.tabbableGroups[p].firstTabbableNode}}}else n=c("fallbackFocus")
|
|||
|
n&&(t.preventDefault(),d(n))}(t)},w=function(t){var e=F(t)
|
|||
|
u(e)>=0||M(i.clickOutsideDeactivates,t)||M(i.allowOutsideClick,t)||(t.preventDefault(),t.stopImmediatePropagation())},A=function(){if(o.active)return C.activateTrap(n),o.delayInitialFocusTimer=i.delayInitialFocus?O((function(){d(l())})):d(l()),r.addEventListener("focusin",v,!0),r.addEventListener("mousedown",b,{capture:!0,passive:!1}),r.addEventListener("touchstart",b,{capture:!0,passive:!1}),r.addEventListener("click",w,{capture:!0,passive:!1}),r.addEventListener("keydown",g,{capture:!0,passive:!1}),n},k=function(){if(o.active)return r.removeEventListener("focusin",v,!0),r.removeEventListener("mousedown",b,!0),r.removeEventListener("touchstart",b,!0),r.removeEventListener("click",w,!0),r.removeEventListener("keydown",g,!0),n}
|
|||
|
return(n={get active(){return o.active},get paused(){return o.paused},activate:function(t){if(o.active)return this
|
|||
|
var e=a(t,"onActivate"),n=a(t,"onPostActivate"),i=a(t,"checkCanFocusTrap")
|
|||
|
i||h(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=r.activeElement,e&&e()
|
|||
|
var u=function(){i&&h(),A(),n&&n()}
|
|||
|
return i?(i(o.containers.concat()).then(u,u),this):(u(),this)},deactivate:function(t){if(!o.active)return this
|
|||
|
var e=E({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},t)
|
|||
|
clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,k(),o.active=!1,o.paused=!1,C.deactivateTrap(n)
|
|||
|
var r=a(e,"onDeactivate"),u=a(e,"onPostDeactivate"),c=a(e,"checkCanReturnFocus"),s=a(e,"returnFocus","returnFocusOnDeactivate")
|
|||
|
r&&r()
|
|||
|
var f=function(){O((function(){s&&d(p(o.nodeFocusedBeforeActivation)),u&&u()}))}
|
|||
|
return s&&c?(c(p(o.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(){return o.paused||!o.active||(o.paused=!0,k()),this},unpause:function(){return o.paused&&o.active?(o.paused=!1,h(),A(),this):this},updateContainerElements:function(t){var e=[].concat(t).filter(Boolean)
|
|||
|
return o.containers=e.map((function(t){return"string"==typeof t?r.querySelector(t):t})),o.active&&h(),this}}).updateContainerElements(t),n}
|
|||
|
let B
|
|||
|
try{B=(0,r.capabilities)("3.22")}catch{B=(0,r.capabilities)("3.13")}var P=(0,r.setModifierManager)((()=>({capabilities:B,createModifier:()=>({focusTrapOptions:void 0,isActive:!0,isPaused:!1,shouldSelfFocus:!1,focusTrap:void 0}),installModifier(t,e,n){let{named:{isActive:r,isPaused:i,shouldSelfFocus:o,focusTrapOptions:a,_createFocusTrap:u}}=n
|
|||
|
t.focusTrapOptions={...a}||{},void 0!==r&&(t.isActive=r),void 0!==i&&(t.isPaused=i),t.focusTrapOptions&&void 0===t.focusTrapOptions.initialFocus&&o&&(t.focusTrapOptions.initialFocus=e)
|
|||
|
let c=T
|
|||
|
u&&(c=u),!1!==t.focusTrapOptions.returnFocusOnDeactivate&&(t.focusTrapOptions.returnFocusOnDeactivate=!0),t.focusTrap=c(e,t.focusTrapOptions),t.isActive&&t.focusTrap.activate(),t.isPaused&&t.focusTrap.pause()},updateModifier(t,e){let{named:n}=e
|
|||
|
const r=n.focusTrapOptions||{}
|
|||
|
if(t.isActive&&!n.isActive){const{returnFocusOnDeactivate:e}=r,n=void 0===e
|
|||
|
t.focusTrap.deactivate({returnFocus:n})}else!t.isActive&&n.isActive&&t.focusTrap.activate()
|
|||
|
t.isPaused&&!n.isPaused?t.focusTrap.unpause():!t.isPaused&&n.isPaused&&t.focusTrap.pause(),t.focusTrapOptions=r,void 0!==n.isActive&&(t.isActive=n.isActive),void 0!==n.isPaused&&(t.isPaused=n.isPaused)},destroyModifier(t){let{focusTrap:e}=t
|
|||
|
e.deactivate()}})),class{})},7889:t=>{"use strict"
|
|||
|
var e=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty
|
|||
|
t.exports=function t(i,o){if(i===o)return!0
|
|||
|
if(i&&o&&"object"==typeof i&&"object"==typeof o){var a,u,c,s=e(i),f=e(o)
|
|||
|
if(s&&f){if((u=i.length)!=o.length)return!1
|
|||
|
for(a=u;0!=a--;)if(!t(i[a],o[a]))return!1
|
|||
|
return!0}if(s!=f)return!1
|
|||
|
var l=i instanceof Date,h=o instanceof Date
|
|||
|
if(l!=h)return!1
|
|||
|
if(l&&h)return i.getTime()==o.getTime()
|
|||
|
var d=i instanceof RegExp,p=o instanceof RegExp
|
|||
|
if(d!=p)return!1
|
|||
|
if(d&&p)return i.toString()==o.toString()
|
|||
|
var y=n(i)
|
|||
|
if((u=y.length)!==n(o).length)return!1
|
|||
|
for(a=u;0!=a--;)if(!r.call(o,y[a]))return!1
|
|||
|
for(a=u;0!=a--;)if(!t(i[c=y[a]],o[c]))return!1
|
|||
|
return!0}return i!=i&&o!=o}},9763:(t,e,n)=>{"use strict"
|
|||
|
function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e,n,r){n&&Object.defineProperty(t,e,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function o(t,e,n,r,i){var o={}
|
|||
|
return Object.keys(r).forEach((function(t){o[t]=r[t]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(t,e,n)||n}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(t,e,o),o=null),o}n.d(e,{_:()=>r,a:()=>o,b:()=>i})},5989:(t,e,n)=>{"use strict"
|
|||
|
n.d(e,{Bq:()=>i,sd:()=>o,zA:()=>r})
|
|||
|
const r={A:"a",B:"b",C:"c",D:"d",E:"e",F:"f",G:"g",H:"h",I:"i",J:"j",K:"k",L:"l",M:"m",N:"n",O:"o",P:"p",Q:"q",R:"r",S:"s",T:"t",U:"u",V:"v",W:"w",X:"x",Y:"y",Z:"z","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=","<":",",">":".","?":"/",":":";",'"':"'","~":"`","{":"[","}":"]","|":"\\"},i={"å":"a",b:"b","ç":"c","∂":"d","ƒ":"f","©":"g","˙":"h","∆":"j","˚":"k","¬":"l","µ":"m","ø":"o","π":"p","œ":"q","®":"r","ß":"s","†":"t","√":"v","∑":"w","≈":"x","¥":"y","Ω":"z","¡":"1","™":"2","£":"3","¢":"4","∞":"5","§":"6","¶":"7","•":"8","ª":"9","º":"0","–":"-","≠":"=","≤":",","≥":".","÷":"/","…":";","æ":"'","“":"[","‘":"]","«":"\\"},o={"Å":"a","ı":"b","Î":"d","Ï":"f","˝":"g","Ó":"h","ˆ":"i","Ô":"j","":"k","Ò":"l","Â":"m","˜":"n","Ø":"o","Œ":"q","‰":"r","Í":"s","ˇ":"t","¨":"u","◊":"v","„":"w","˛":"x","Á":"y","¸":"z","⁄":"1","€":"2","‹":"3","›":"4","fi":"5","fl":"6","‡":"7","°":"8","·":"9","‚":"0","—":"-","±":"=","¯":",","˘":".","¿":"/","Ú":";","Æ":"'","`":"`","”":"[","’":"]","»":"\\"}},6866:(t,e,n)=>{"use strict"
|
|||
|
n.r(e),n.d(e,{default:()=>u})
|
|||
|
var r=n(8797),i=n(3353),o=n(4784),a=n(1377),u=(n(5780),n(2001),n(5989),n(2995),n(1866),(0,r.helper)((function(t){let[e,n]=t
|
|||
|
return function(t){(0,i.assert)("ember-keyboard: You must pass a function as the second argument to the `if-key` helper","function"==typeof n),(0,i.assert)("ember-keyboard: The `if-key` helper expects to be invoked with a KeyboardEvent",t instanceof KeyboardEvent),(0,o.Z)((0,a.Z)(t.type,e),t)&&n(t)}})))},9930:(t,e,n)=>{"use strict"
|
|||
|
n.r(e),n.d(e,{default:()=>l})
|
|||
|
var r,i,o=n(9763),a=n(8797),u=n.n(a),c=n(3353),s=n(8574),f=n(1377)
|
|||
|
let l=(r=class extends(u()){constructor(){super(...arguments),(0,o.b)(this,"keyboard",i,this),(0,o._)(this,"keyCombo",void 0),(0,o._)(this,"callback",void 0),(0,o._)(this,"keyboardActivated",!0),(0,o._)(this,"keyboardPriority",0),(0,o._)(this,"eventName","keydown"),(0,o._)(this,"keyboardHandlers",void 0)}compute(t,e){let[n,r]=t,{event:i="keydown",activated:o=!0,priority:a=0}=e;(0,c.assert)("ember-keyboard: You must pass a function as the second argument to the `on-key` helper","function"==typeof r),this.keyCombo=n,this.callback=r,this.eventName=i,this.keyboardActivated=o,this.keyboardPriority=a,this.keyboardHandlers={},this.keyboardHandlers[(0,f.Z)(i,n)]=r,this.keyboard.register(this)}willDestroy(){this.keyboard.unregister(this),super.willDestroy(...arguments)}},i=(0,o.a)(r.prototype,"keyboard",[s.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},6222:(t,e,n)=>{"use strict"
|
|||
|
n.r(e),n.d(e,{default:()=>y})
|
|||
|
var r=n(9763),i=n(5831),o=n.n(i),a=n(8574),u=n(7219),c=n(9341),s=n(1377),f=n(4784)
|
|||
|
n(5780),n(2001),n(3353),n(5989),n(2995),n(1866)
|
|||
|
const l=["input","select","textarea"]
|
|||
|
let h
|
|||
|
var d,p
|
|||
|
d=class extends(o()){constructor(t,e){super(t,e),(0,r.b)(this,"keyboard",p,this),(0,r._)(this,"element",void 0),(0,r._)(this,"keyboardPriority",0),(0,r._)(this,"activatedParamValue",!0),(0,r._)(this,"eventName","keydown"),(0,r._)(this,"onlyWhenFocused",!0),(0,r._)(this,"listenerName",void 0),(0,r._)(this,"removeEventListeners",(()=>{this.onlyWhenFocused&&(this.element.removeEventListener("click",this.onFocus,!0),this.element.removeEventListener("focus",this.onFocus,!0),this.element.removeEventListener("focusout",this.onFocusOut,!0))})),this.keyboard.register(this),(0,c.registerDestructor)(this,(()=>{this.removeEventListeners(),this.keyboard.unregister(this)}))}modify(t,e,n){this.element=t,this.removeEventListeners(),this.setupProperties(e,n),this.onlyWhenFocused&&this.addEventListeners()}setupProperties(t,e){let[n,r]=t,{activated:i,event:o,priority:a,onlyWhenFocused:u}=e
|
|||
|
this.keyCombo=n,this.callback=r,this.eventName=o||"keydown",this.activatedParamValue="activated"in e?!!i:void 0,this.keyboardPriority=a?parseInt(a,10):0,this.listenerName=(0,s.Z)(this.eventName,this.keyCombo),this.onlyWhenFocused=void 0!==u?u:l.includes(this.element.tagName.toLowerCase())}addEventListeners(){this.element.addEventListener("click",this.onFocus,!0),this.element.addEventListener("focus",this.onFocus,!0),this.element.addEventListener("focusout",this.onFocusOut,!0)}onFocus(){this.isFocused=!0}onFocusOut(){this.isFocused=!1}get keyboardActivated(){return!1!==this.activatedParamValue&&(!this.onlyWhenFocused||this.isFocused)}get keyboardFirstResponder(){return!!this.onlyWhenFocused&&this.isFocused}canHandleKeyboardEvent(t){return(0,f.Z)(this.listenerName,t)}handleKeyboardEvent(t,e){(0,f.Z)(this.listenerName,t)&&(this.callback?this.callback(t,e):this.element.click())}},p=(0,r.a)(d.prototype,"keyboard",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,r.a)(d.prototype,"onFocus",[u.action],Object.getOwnPropertyDescriptor(d.prototype,"onFocus"),d.prototype),(0,r.a)(d.prototype,"onFocusOut",[u.action],Object.getOwnPropertyDescriptor(d.prototype,"onFocusOut"),d.prototype),h=d
|
|||
|
var y=h},6918:(t,e,n)=>{"use strict"
|
|||
|
n.r(e),n.d(e,{default:()=>p})
|
|||
|
var r,i=n(9763),o=n(8574),a=n.n(o),u=n(1292),c=n(7219),s=n(8773),f=n(1377),l=n(4784)
|
|||
|
function h(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null
|
|||
|
if(t.handleKeyboardEvent){if(t.canHandleKeyboardEvent&&!t.canHandleKeyboardEvent(e))return
|
|||
|
t.handleKeyboardEvent(e,n)}else{if(!t.keyboardHandlers)throw new Error("A responder registered with the ember-keyboard service must implement either `keyboardHandlers` (property returning a dictionary of listenerNames to handler functions), or `handleKeyboardEvent(event)`)")
|
|||
|
Object.keys(t.keyboardHandlers).forEach((r=>{(0,l.Z)(r,e)&&(n?t.keyboardHandlers[r](e,n):t.keyboardHandlers[r](e))}))}}function d(t,e,n,r){return function(t,e){let n=t-e
|
|||
|
return(n>0)-(n<0)}(r?r((0,c.get)(t,n)):(0,c.get)(t,n),r?r((0,c.get)(e,n)):(0,c.get)(e,n))}n(5780),n(2001),n(3353),n(5989),n(2995),n(1866)
|
|||
|
let p=(r=class extends(a()){get activeResponders(){let{registeredResponders:t}=this
|
|||
|
return Array.from(t).filter((t=>t.keyboardActivated))}get sortedResponders(){return this.activeResponders.sort(((t,e)=>function(t,e,n){return d(e,t,n,arguments.length>3&&void 0!==arguments[3]?arguments[3]:null)}(t,e,"keyboardPriority")))}get firstResponders(){return this.sortedResponders.filter((t=>t.keyboardFirstResponder))}get normalResponders(){return this.sortedResponders.filter((t=>!t.keyboardFirstResponder))}constructor(){if(super(...arguments),(0,i._)(this,"registeredResponders",new Set),"undefined"!=typeof FastBoot)return
|
|||
|
let t=((0,u.getOwner)(this).resolveRegistration("config:environment")||{}).emberKeyboard||{}
|
|||
|
t.disableOnInputFields&&(this._disableOnInput=!0),this._listeners=t.listeners||["keyUp","keyDown","keyPress"],this._listeners=this._listeners.map((t=>t.toLowerCase())),this._listeners.forEach((t=>{document.addEventListener(t,this._respond)}))}willDestroy(){super.willDestroy(...arguments),"undefined"==typeof FastBoot&&this._listeners.forEach((t=>{document.removeEventListener(t,this._respond)}))}_respond(t){if(this._disableOnInput&&t.target){var e
|
|||
|
const n=null!==(e=t.composedPath()[0])&&void 0!==e?e:t.target,r=n.tagName
|
|||
|
if(n.getAttribute&&null!=n.getAttribute("contenteditable")||"TEXTAREA"===r||"INPUT"===r)return}(0,s.run)((()=>{let{firstResponders:e,normalResponders:n}=this
|
|||
|
!function(t,e){let{firstResponders:n,normalResponders:r}=e,i=!1,o=!1
|
|||
|
const a={stopImmediatePropagation(){i=!0},stopPropagation(){o=!0}}
|
|||
|
for(const c of n)if(h(c,t,a),i)break
|
|||
|
if(o)return
|
|||
|
i=!1
|
|||
|
let u=Number.POSITIVE_INFINITY
|
|||
|
for(const c of r){const e=Number(c.keyboardPriority)
|
|||
|
if(!i||e!==u){if(e<u){if(o)return
|
|||
|
i=!1,u=e}h(c,t,a)}}}(t,{firstResponders:e,normalResponders:n})}))}register(t){this.registeredResponders.add(t)}unregister(t){this.registeredResponders.delete(t)}keyDown(){return function(t){return(0,f.Z)("keydown",t)}(...arguments)}keyPress(){return function(t){return(0,f.Z)("keypress",t)}(...arguments)}keyUp(){return function(t){return(0,f.Z)("keyup",t)}(...arguments)}},(0,i.a)(r.prototype,"_respond",[c.action],Object.getOwnPropertyDescriptor(r.prototype,"_respond"),r.prototype),r)},2995:(t,e,n)=>{"use strict"
|
|||
|
n.d(e,{Z:()=>i})
|
|||
|
var r=n(1866)
|
|||
|
function i(t){if(!(0,r.isNone)(t))switch(t){case 0:return"left"
|
|||
|
case 1:return"middle"
|
|||
|
case 2:return"right"}}},4784:(t,e,n)=>{"use strict"
|
|||
|
n.d(e,{Z:()=>c})
|
|||
|
var r=n(5780),i=n(2001),o=n(5989),a=n(2995)
|
|||
|
n(3353),n(1866)
|
|||
|
const u="_all"
|
|||
|
function c(t,e){let n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,i.Z)()
|
|||
|
if(t instanceof r.Z)n=t
|
|||
|
else{if("string"!=typeof t)throw new Error("Expected a `string` or `KeyCombo` as `keyComboOrKeyComboString` argument to `isKey`")
|
|||
|
n=r.Z.parse(t,o)}return n.type===e.type&&(!!s(n)||!(!f(n,e)||!l(n,e)&&!h(n,e))||d(n,e,o))}function s(t){return t.keyOrCode===u&&!1===t.altKey&&!1===t.ctrlKey&&!1===t.metaKey&&!1===t.shiftKey}function f(t,e){return t.type===e.type&&t.altKey===e.altKey&&t.ctrlKey===e.ctrlKey&&t.metaKey===e.metaKey&&t.shiftKey===e.shiftKey}function l(t,e){return e instanceof KeyboardEvent&&(t.keyOrCode===u||t.keyOrCode===e.code||t.keyOrCode===e.key)}function h(t,e){return e instanceof MouseEvent&&(t.keyOrCode===u||t.keyOrCode===(0,a.Z)(e.button))}function d(t,e,n){return y([],t)&&y(["shift"],e)?e.key===t.keyOrCode:y(["shift"],t)&&y(["shift"],e)?(r=e.key,(o.zA[r]||r)===t.keyOrCode):"Macintosh"===n&&y(["alt"],t)&&y(["alt"],e)?function(t){return o.Bq[t]||t}(e.key)===t.keyOrCode:!("Macintosh"!==n||!y(["shift","alt"],t)||!y(["shift","alt"],e))&&function(t){return o.sd[t]||t}(e.key)===t.keyOrCode
|
|||
|
var r}const p=["alt","ctrl","meta","shift","cmd"].filter((t=>"cmd"!=t))
|
|||
|
function y(t,e){for(let n of p){if(t.includes(n)&&!e[`${n}Key`])return!1
|
|||
|
if(!t.includes(n)&&e[`${n}Key`])return!1}return!0}},5780:(t,e,n)=>{"use strict"
|
|||
|
n.d(e,{Z:()=>f})
|
|||
|
var r=n(9763),i=n(2001)
|
|||
|
n(3353)
|
|||
|
const o=/^alt$/i,a=/^shift$/i,u=/^ctrl$/i,c=/^meta$/i,s=/^cmd$/i
|
|||
|
class f{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,i.Z)();(0,r._)(this,"type",void 0),(0,r._)(this,"altKey",!1),(0,r._)(this,"ctrlKey",!1),(0,r._)(this,"shiftKey",!1),(0,r._)(this,"metaKey",!1),(0,r._)(this,"keyOrCode",void 0),(0,r._)(this,"platform",void 0),this.platform=t}static parse(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,i.Z)(),n=new f(e),[r,l]=t.split(":")
|
|||
|
return n.type=r,"+"===l?(n.keyOrCode=l,n):(l.split("+").forEach((t=>{o.test(t)?n.altKey=!0:u.test(t)?n.ctrlKey=!0:c.test(t)?n.metaKey=!0:a.test(t)?n.shiftKey=!0:s.test(t)?e.indexOf("Mac")>-1?n.metaKey=!0:n.ctrlKey=!0:n.keyOrCode=t})),n)}createMatchingKeyboardEvent(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|||
|
return new KeyboardEvent(this.type,Object.assign({key:this.keyOrCode,code:this.keyOrCode,altKey:this.altKey,ctrlKey:this.ctrlKey,metaKey:this.metaKey,shiftKey:this.shiftKey},t))}}},1377:(t,e,n)=>{"use strict"
|
|||
|
function r(t){if("undefined"==typeof FastBoot)return void 0===t&&(t=navigator.platform),t.indexOf("Mac")>-1?"meta":"ctrl"}function i(t){return t.sort().join("+")}function o(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e
|
|||
|
"string"==typeof e&&(n=e.split("+")),n.indexOf("cmd")>-1&&(n[n.indexOf("cmd")]=r())
|
|||
|
let o=i(n||[])
|
|||
|
return""===o&&(o="_all"),`${t}:${o}`}n.d(e,{Z:()=>o})},2001:(t,e,n)=>{"use strict"
|
|||
|
n.d(e,{Z:()=>o})
|
|||
|
var r=n(3353)
|
|||
|
let i
|
|||
|
function o(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent
|
|||
|
if((0,r.runInDebug)((()=>{i=null})),!i){let e="Unknown OS";-1!=t.indexOf("Win")&&(e="Windows"),-1!=t.indexOf("Mac")&&(e="Macintosh"),-1!=t.indexOf("Linux")&&(e="Linux"),-1!=t.indexOf("Android")&&(e="Android"),-1!=t.indexOf("like Mac")&&(e="iOS"),i=e}return i}},4564:t=>{function e(t,e,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),a=e.get(o)
|
|||
|
return void 0===a&&(a=t.call(this,r),e.set(o,a)),a}function n(t,e,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=e.get(i)
|
|||
|
return void 0===o&&(o=t.apply(this,r),e.set(i,o)),o}function r(t,e,n,r,i){return n.bind(e,t,r,i)}function i(t,i){return r(t,this,1===t.length?e:n,i.cache.create(),i.serializer)}function o(){return JSON.stringify(arguments)}function a(){this.cache=Object.create(null)}a.prototype.has=function(t){return t in this.cache},a.prototype.get=function(t){return this.cache[t]},a.prototype.set=function(t,e){this.cache[t]=e}
|
|||
|
var u={create:function(){return new a}}
|
|||
|
t.exports=function(t,e){var n=e&&e.cache?e.cache:u,r=e&&e.serializer?e.serializer:o
|
|||
|
return(e&&e.strategy?e.strategy:i)(t,{cache:n,serializer:r})},t.exports.strategies={variadic:function(t,e){return r(t,this,n,e.cache.create(),e.serializer)},monadic:function(t,n){return r(t,this,e,n.cache.create(),n.serializer)}}},8581:t=>{function e(t){return t&&t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function n(t){return t}function r(t,r){const i=(r=r||{}).delimiter||".",o=r.maxDepth,a=r.transformKey||n,u={}
|
|||
|
return function t(n,c,s){s=s||1,Object.keys(n).forEach((function(f){const l=n[f],h=r.safe&&Array.isArray(l),d=Object.prototype.toString.call(l),p=e(l),y="[object Object]"===d||"[object Array]"===d,b=c?c+i+a(f):a(f)
|
|||
|
if(!h&&!p&&y&&Object.keys(l).length&&(!r.maxDepth||s<o))return t(l,b,s+1)
|
|||
|
u[b]=l}))}(t),u}t.exports=r,r.flatten=r,r.unflatten=function t(i,o){const a=(o=o||{}).delimiter||".",u=o.overwrite||!1,c=o.transformKey||n,s={}
|
|||
|
if(e(i)||"[object Object]"!==Object.prototype.toString.call(i))return i
|
|||
|
function f(t){const e=Number(t)
|
|||
|
return isNaN(e)||-1!==t.indexOf(".")||o.object?t:e}return i=Object.keys(i).reduce((function(t,e){const n=Object.prototype.toString.call(i[e])
|
|||
|
return"[object Object]"!==n&&"[object Array]"!==n||function(t){const e=Object.prototype.toString.call(t),n="[object Object]"===e
|
|||
|
return!t||("[object Array]"===e?!t.length:n?!Object.keys(t).length:void 0)}(i[e])?(t[e]=i[e],t):function(t,e,n){return Object.keys(n).reduce((function(e,r){return e[t+a+r]=n[r],e}),e)}(e,t,r(i[e],o))}),{}),Object.keys(i).forEach((function(e){const n=e.split(a).map(c)
|
|||
|
let r=f(n.shift()),l=f(n[0]),h=s
|
|||
|
for(;void 0!==l;){if("__proto__"===r)return
|
|||
|
const t=Object.prototype.toString.call(h[r]),e="[object Object]"===t||"[object Array]"===t
|
|||
|
if(!u&&!e&&void 0!==h[r])return;(u&&!e||!u&&null==h[r])&&(h[r]="number"!=typeof l||o.object?{}:[]),h=h[r],n.length>0&&(r=f(n.shift()),l=f(n[0]))}h[r]=t(i[e],o)})),s}},2914:(t,e,n)=>{"use strict"
|
|||
|
n.r(e),n.d(e,{default:()=>s})
|
|||
|
var r,i=function(){function t(){this.registry=new WeakMap}return t.prototype.elementExists=function(t){return this.registry.has(t)},t.prototype.getElement=function(t){return this.registry.get(t)},t.prototype.addElement=function(t,e){t&&this.registry.set(t,e||{})},t.prototype.removeElement=function(t){this.registry.delete(t)},t.prototype.destroyRegistry=function(){this.registry=new WeakMap},t}(),o=function(){}
|
|||
|
!function(t){t.enter="enter",t.exit="exit"}(r||(r={}))
|
|||
|
var a,u=function(){function t(){this.registry=new i}return t.prototype.addCallback=function(t,e,n){var i,o,a
|
|||
|
t===r.enter?((i={})[r.enter]=n,a=i):((o={})[r.exit]=n,a=o),this.registry.addElement(e,Object.assign({},this.registry.getElement(e),a))},t.prototype.dispatchCallback=function(t,e,n){if(t===r.enter){var i=this.registry.getElement(e).enter;(void 0===i?o:i)(n)}else{var a=this.registry.getElement(e).exit;(void 0===a?o:a)(n)}},t}(),c=(a=function(t,e){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},a(t,e)},function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})
|
|||
|
const s=function(t){function e(){var e=t.call(this)||this
|
|||
|
return e.elementRegistry=new i,e}return c(e,t),e.prototype.observe=function(t,e){void 0===e&&(e={}),t&&(this.elementRegistry.addElement(t,e),this.setupObserver(t,e))},e.prototype.unobserve=function(t,e){var n=this.findMatchingRootEntry(e)
|
|||
|
n&&n.intersectionObserver.unobserve(t)},e.prototype.addEnterCallback=function(t,e){this.addCallback(r.enter,t,e)},e.prototype.addExitCallback=function(t,e){this.addCallback(r.exit,t,e)},e.prototype.dispatchEnterCallback=function(t,e){this.dispatchCallback(r.enter,t,e)},e.prototype.dispatchExitCallback=function(t,e){this.dispatchCallback(r.exit,t,e)},e.prototype.destroy=function(){this.elementRegistry.destroyRegistry()},e.prototype.setupOnIntersection=function(t){var e=this
|
|||
|
return function(n){return e.onIntersection(t,n)}},e.prototype.setupObserver=function(t,e){var n,r,i=e.root,o=void 0===i?window:i,a=this.findRootFromRegistry(o)
|
|||
|
if(a&&(r=this.determineMatchingElements(e,a)),r){var u=r.elements,c=r.intersectionObserver
|
|||
|
u.push(t),c&&c.observe(t)}else{var s={elements:[t],intersectionObserver:c=this.newObserver(t,e),options:e},f=this.stringifyOptions(e)
|
|||
|
a?a[f]=s:this.elementRegistry.addElement(o,((n={})[f]=s,n))}},e.prototype.newObserver=function(t,e){var n=e.root,r=e.rootMargin,i=e.threshold,o=new IntersectionObserver(this.setupOnIntersection(e).bind(this),{root:n,rootMargin:r,threshold:i})
|
|||
|
return o.observe(t),o},e.prototype.onIntersection=function(t,e){var n=this
|
|||
|
e.forEach((function(e){var r=e.isIntersecting,i=e.intersectionRatio,o=t.threshold||0
|
|||
|
Array.isArray(o)&&(o=o[o.length-1])
|
|||
|
var a=n.findMatchingRootEntry(t)
|
|||
|
r||i>o?a&&a.elements.some((function(t){return!(!t||t!==e.target||(n.dispatchEnterCallback(t,e),0))})):a&&a.elements.some((function(t){return!(!t||t!==e.target||(n.dispatchExitCallback(t,e),0))}))}))},e.prototype.findRootFromRegistry=function(t){if(this.elementRegistry)return this.elementRegistry.getElement(t)},e.prototype.findMatchingRootEntry=function(t){var e=t.root,n=void 0===e?window:e,r=this.findRootFromRegistry(n)
|
|||
|
if(r)return r[this.stringifyOptions(t)]},e.prototype.determineMatchingElements=function(t,e){var n=this,r=Object.keys(e).filter((function(r){var i=e[r].options
|
|||
|
return n.areOptionsSame(t,i)}))[0]
|
|||
|
return e[r]},e.prototype.areOptionsSame=function(t,e){if(t===e)return!0
|
|||
|
var n=Object.prototype.toString.call(t),r=Object.prototype.toString.call(e)
|
|||
|
if(n!==r)return!1
|
|||
|
if("[object Object]"!==n&&"[object Object]"!==r)return t===e
|
|||
|
if(t&&e&&"object"==typeof t&&"object"==typeof e)for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&!1===this.areOptionsSame(t[i],e[i]))return!1
|
|||
|
return!0},e.prototype.stringifyOptions=function(t){var e=t.root
|
|||
|
return JSON.stringify(t,(function(t,n){if("root"===t&&e){var r=Array.prototype.slice.call(e.classList).reduce((function(t,e){return t+e}),"")
|
|||
|
return e.id+"-"+r}return n}))},e}(u)},4857:(t,e,n)=>{"use strict"
|
|||
|
n.r(e),n.d(e,{SKELETON_TYPE:()=>i.aV,SyntaxError:()=>y,TYPE:()=>i.wD,createLiteralElement:()=>i.mD,createNumberElement:()=>i.qx,isArgumentElement:()=>i.VG,isDateElement:()=>i.rp,isDateTimeSkeleton:()=>i.Ii,isLiteralElement:()=>i.O4,isNumberElement:()=>i.uf,isNumberSkeleton:()=>i.Wh,isPluralElement:()=>i.Jo,isPoundElement:()=>i.yx,isSelectElement:()=>i.Wi,isTagElement:()=>i.HI,isTimeElement:()=>i.pe,parse:()=>m,pegParse:()=>b})
|
|||
|
var r=n(2247),i=n(8131),o=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,a=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,u=/^(@+)?(\+|#+)?$/g,c=/(\*)(0+)|(#+)(0+)|(0+)/g,s=/^(0+)$/
|
|||
|
function f(t){var e={}
|
|||
|
return t.replace(u,(function(t,n,r){return"string"!=typeof r?(e.minimumSignificantDigits=n.length,e.maximumSignificantDigits=n.length):"+"===r?e.minimumSignificantDigits=n.length:"#"===n[0]?e.maximumSignificantDigits=n.length:(e.minimumSignificantDigits=n.length,e.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),e}function l(t){switch(t){case"sign-auto":return{signDisplay:"auto"}
|
|||
|
case"sign-accounting":case"()":return{currencySign:"accounting"}
|
|||
|
case"sign-always":case"+!":return{signDisplay:"always"}
|
|||
|
case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"}
|
|||
|
case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"}
|
|||
|
case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"}
|
|||
|
case"sign-never":case"+_":return{signDisplay:"never"}}}function h(t){var e
|
|||
|
if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var n=t.slice(0,2)
|
|||
|
if("+!"===n?(e.signDisplay="always",t=t.slice(2)):"+?"===n&&(e.signDisplay="exceptZero",t=t.slice(2)),!s.test(t))throw new Error("Malformed concise eng/scientific notation")
|
|||
|
e.minimumIntegerDigits=t.length}return e}function d(t){return l(t)||{}}function p(t){for(var e={},n=0,i=t;n<i.length;n++){var o=i[n]
|
|||
|
switch(o.stem){case"percent":case"%":e.style="percent"
|
|||
|
continue
|
|||
|
case"%x100":e.style="percent",e.scale=100
|
|||
|
continue
|
|||
|
case"currency":e.style="currency",e.currency=o.options[0]
|
|||
|
continue
|
|||
|
case"group-off":case",_":e.useGrouping=!1
|
|||
|
continue
|
|||
|
case"precision-integer":case".":e.maximumFractionDigits=0
|
|||
|
continue
|
|||
|
case"measure-unit":case"unit":e.style="unit",e.unit=o.options[0].replace(/^(.*?)-/,"")
|
|||
|
continue
|
|||
|
case"compact-short":case"K":e.notation="compact",e.compactDisplay="short"
|
|||
|
continue
|
|||
|
case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long"
|
|||
|
continue
|
|||
|
case"scientific":e=(0,r.pi)((0,r.pi)((0,r.pi)({},e),{notation:"scientific"}),o.options.reduce((function(t,e){return(0,r.pi)((0,r.pi)({},t),d(e))}),{}))
|
|||
|
continue
|
|||
|
case"engineering":e=(0,r.pi)((0,r.pi)((0,r.pi)({},e),{notation:"engineering"}),o.options.reduce((function(t,e){return(0,r.pi)((0,r.pi)({},t),d(e))}),{}))
|
|||
|
continue
|
|||
|
case"notation-simple":e.notation="standard"
|
|||
|
continue
|
|||
|
case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow"
|
|||
|
continue
|
|||
|
case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short"
|
|||
|
continue
|
|||
|
case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long"
|
|||
|
continue
|
|||
|
case"unit-width-iso-code":e.currencyDisplay="symbol"
|
|||
|
continue
|
|||
|
case"scale":e.scale=parseFloat(o.options[0])
|
|||
|
continue
|
|||
|
case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option")
|
|||
|
o.options[0].replace(c,(function(t,n,r,i,o,a){if(n)e.minimumIntegerDigits=r.length
|
|||
|
else{if(i&&o)throw new Error("We currently do not support maximum integer digits")
|
|||
|
if(a)throw new Error("We currently do not support exact integer digits")}return""}))
|
|||
|
continue}if(s.test(o.stem))e.minimumIntegerDigits=o.stem.length
|
|||
|
else if(a.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option")
|
|||
|
o.stem.replace(a,(function(t,n,r,i,o,a){return"*"===r?e.minimumFractionDigits=n.length:i&&"#"===i[0]?e.maximumFractionDigits=i.length:o&&a?(e.minimumFractionDigits=o.length,e.maximumFractionDigits=o.length+a.length):(e.minimumFractionDigits=n.length,e.maximumFractionDigits=n.length),""})),o.options.length&&(e=(0,r.pi)((0,r.pi)({},e),f(o.options[0])))}else if(u.test(o.stem))e=(0,r.pi)((0,r.pi)({},e),f(o.stem))
|
|||
|
else{var p=l(o.stem)
|
|||
|
p&&(e=(0,r.pi)((0,r.pi)({},e),p))
|
|||
|
var y=h(o.stem)
|
|||
|
y&&(e=(0,r.pi)((0,r.pi)({},e),y))}}return e}var y=function(t){function e(n,r,i,o){var a=t.call(this)||this
|
|||
|
return a.message=n,a.expected=r,a.found=i,a.location=o,a.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,e),a}return(0,r.ZT)(e,t),e.buildMessage=function(t,e){function n(t){return t.charCodeAt(0).toString(16).toUpperCase()}function r(t){return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(t){return"\\x0"+n(t)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(t){return"\\x"+n(t)}))}function i(t){return t.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(t){return"\\x0"+n(t)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(t){return"\\x"+n(t)}))}function o(t){switch(t.type){case"literal":return'"'+r(t.text)+'"'
|
|||
|
case"class":var e=t.parts.map((function(t){return Array.isArray(t)?i(t[0])+"-"+i(t[1]):i(t)}))
|
|||
|
return"["+(t.inverted?"^":"")+e+"]"
|
|||
|
case"any":return"any character"
|
|||
|
case"end":return"end of input"
|
|||
|
case"other":return t.description}}return"Expected "+function(t){var e,n,r=t.map(o)
|
|||
|
if(r.sort(),r.length>0){for(e=1,n=1;e<r.length;e++)r[e-1]!==r[e]&&(r[n]=r[e],n++)
|
|||
|
r.length=n}switch(r.length){case 1:return r[0]
|
|||
|
case 2:return r[0]+" or "+r[1]
|
|||
|
default:return r.slice(0,-1).join(", ")+", or "+r[r.length-1]}}(t)+" but "+((a=e)?'"'+r(a)+'"':"end of input")+" found."
|
|||
|
var a},e}(Error),b=function(t,e){e=void 0!==e?e:{}
|
|||
|
var n,a={},u={start:qt},c=qt,s="<",f=Lt("<",!1),l=function(t){return t.join("")},h=Lt("#",!1),d=$t("tagElement"),b=Lt("/>",!1),v=Lt(">",!1),g=Lt("</",!1),m=$t("argumentElement"),_="{",w=Lt("{",!1),x="}",A=Lt("}",!1),E=$t("numberSkeletonId"),k=/^['\/{}]/,D=It(["'","/","{","}"],!1,!1),C={type:"any"},O=$t("numberSkeletonTokenOption"),S=Lt("/",!1),M=$t("numberSkeletonToken"),F="::",T=Lt("::",!1),B=function(t){return be.pop(),t.replace(/\s*$/,"")},P=",",j=Lt(",",!1),N="number",R=Lt("number",!1),L=function(t,e,n){return(0,r.pi)({type:"number"===e?i.wD.number:"date"===e?i.wD.date:i.wD.time,style:n&&n[2],value:t},ge())},I="'",$=Lt("'",!1),U=/^[^']/,z=It(["'"],!0,!1),Z=/^[^a-zA-Z'{}]/,q=It([["a","z"],["A","Z"],"'","{","}"],!0,!1),V=/^[a-zA-Z]/,H=It([["a","z"],["A","Z"]],!1,!1),Y="date",G=Lt("date",!1),K="time",W=Lt("time",!1),X="plural",J=Lt("plural",!1),Q="selectordinal",tt=Lt("selectordinal",!1),et="offset:",nt=Lt("offset:",!1),rt="select",it=Lt("select",!1),ot=Lt("=",!1),at=$t("whitespace"),ut=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ct=It([["\t","\r"]," ","
"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),st=$t("syntax pattern"),ft=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,lt=It([["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←",""],["─","❵"],["➔","⯿"],["⸀",""],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),ht=$t("optional whitespace"),dt=$t("number"),pt=Lt("-",!1),yt=($t("apostrophe"),$t("double apostrophes")),bt="''",vt=Lt("''",!1),gt=Lt("\n",!1),mt=$t("argNameOrNumber"),_t=$t("validTag"),wt=$t("argNumber"),xt=Lt("0",!1),At=/^[1-9]/,Et=It([["1","9"]],!1,!1),kt=/^[0-9]/,Dt=It([["0","9"]],!1,!1),Ct=$t("argName"),Ot=$t("tagName"),St=0,Mt=0,Ft=[{line:1,column:1}],Tt=0,Bt=[],Pt=0
|
|||
|
if(void 0!==e.startRule){if(!(e.startRule in u))throw new Error("Can't start parsing from rule \""+e.startRule+'".')
|
|||
|
c=u[e.startRule]}function jt(){return t.substring(Mt,St)}function Nt(){return zt(Mt,St)}function Rt(t,e){throw function(t,e){return new y(t,[],"",e)}(t,e=void 0!==e?e:zt(Mt,St))}function Lt(t,e){return{type:"literal",text:t,ignoreCase:e}}function It(t,e,n){return{type:"class",parts:t,inverted:e,ignoreCase:n}}function $t(t){return{type:"other",description:t}}function Ut(e){var n,r=Ft[e]
|
|||
|
if(r)return r
|
|||
|
for(n=e-1;!Ft[n];)n--
|
|||
|
for(r={line:(r=Ft[n]).line,column:r.column};n<e;)10===t.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++
|
|||
|
return Ft[e]=r,r}function zt(t,e){var n=Ut(t),r=Ut(e)
|
|||
|
return{start:{offset:t,line:n.line,column:n.column},end:{offset:e,line:r.line,column:r.column}}}function Zt(t){St<Tt||(St>Tt&&(Tt=St,Bt=[]),Bt.push(t))}function qt(){return Vt()}function Vt(){var t,e
|
|||
|
for(t=[],e=Ht();e!==a;)t.push(e),e=Ht()
|
|||
|
return t}function Ht(){var e,n
|
|||
|
return e=St,Mt=St,(xe?a:void 0)!==a?(n=function(){var t,e,n,o,u,c,s
|
|||
|
return Pt++,(t=Kt())===a&&(t=St,(e=Wt())!==a&&(n=Vt())!==a&&(o=Xt())!==a?(Mt=t,c=n,(u=e)!==(s=o)&&Rt('Mismatch tag "'+u+'" !== "'+s+'"',Nt()),t=e=(0,r.pi)({type:i.wD.tag,value:u,children:c},ge())):(St=t,t=a)),Pt--,t===a&&(e=a,0===Pt&&Zt(d)),t}(),n!==a?(Mt=e,e=n):(St=e,e=a)):(St=e,e=a),e===a&&(e=function(){var t,e,n
|
|||
|
return t=St,(e=Yt())!==a&&(Mt=t,n=e,e=(0,r.pi)({type:i.wD.literal,value:n},ge())),e}())===a&&(e=function(){var e,n,o,u,c
|
|||
|
return Pt++,e=St,123===t.charCodeAt(St)?(n=_,St++):(n=a,0===Pt&&Zt(w)),n!==a&&ue()!==a&&(o=he())!==a&&ue()!==a?(125===t.charCodeAt(St)?(u=x,St++):(u=a,0===Pt&&Zt(A)),u!==a?(Mt=e,c=o,e=n=(0,r.pi)({type:i.wD.argument,value:c},ge())):(St=e,e=a)):(St=e,e=a),Pt--,e===a&&(n=a,0===Pt&&Zt(m)),e}())===a&&(e=function(){var e
|
|||
|
return e=function(){var e,n,o,u,c,s,f,l,h
|
|||
|
return e=St,123===t.charCodeAt(St)?(n=_,St++):(n=a,0===Pt&&Zt(w)),n!==a&&ue()!==a&&(o=he())!==a&&ue()!==a?(44===t.charCodeAt(St)?(u=P,St++):(u=a,0===Pt&&Zt(j)),u!==a&&ue()!==a?(t.substr(St,6)===N?(c=N,St+=6):(c=a,0===Pt&&Zt(R)),c!==a&&ue()!==a?(s=St,44===t.charCodeAt(St)?(f=P,St++):(f=a,0===Pt&&Zt(j)),f!==a&&(l=ue())!==a?(h=function(){var e,n,o
|
|||
|
return e=St,t.substr(St,2)===F?(n=F,St+=2):(n=a,0===Pt&&Zt(T)),n!==a?(o=function(){var t,e,n,o
|
|||
|
if(t=St,e=[],(n=te())!==a)for(;n!==a;)e.push(n),n=te()
|
|||
|
else e=a
|
|||
|
return e!==a&&(Mt=t,o=e,e=(0,r.pi)({type:i.aV.number,tokens:o,parsedOptions:Ae?p(o):{}},ge())),e}(),o!==a?(Mt=e,e=n=o):(St=e,e=a)):(St=e,e=a),e===a&&(e=St,Mt=St,be.push("numberArgStyle"),(n=(n=!0)?void 0:a)!==a&&(o=Yt())!==a?(Mt=e,e=n=B(o)):(St=e,e=a)),e}(),h!==a?s=f=[f,l,h]:(St=s,s=a)):(St=s,s=a),s===a&&(s=null),s!==a&&(f=ue())!==a?(125===t.charCodeAt(St)?(l=x,St++):(l=a,0===Pt&&Zt(A)),l!==a?(Mt=e,e=n=L(o,c,s)):(St=e,e=a)):(St=e,e=a)):(St=e,e=a)):(St=e,e=a)):(St=e,e=a),e}(),e===a&&(e=function(){var e,n,u,c,s,f,l,h,d
|
|||
|
return e=St,123===t.charCodeAt(St)?(n=_,St++):(n=a,0===Pt&&Zt(w)),n!==a&&ue()!==a&&(u=he())!==a&&ue()!==a?(44===t.charCodeAt(St)?(c=P,St++):(c=a,0===Pt&&Zt(j)),c!==a&&ue()!==a?(t.substr(St,4)===Y?(s=Y,St+=4):(s=a,0===Pt&&Zt(G)),s===a&&(t.substr(St,4)===K?(s=K,St+=4):(s=a,0===Pt&&Zt(W))),s!==a&&ue()!==a?(f=St,44===t.charCodeAt(St)?(l=P,St++):(l=a,0===Pt&&Zt(j)),l!==a&&(h=ue())!==a?(d=function(){var e,n,u
|
|||
|
return e=St,t.substr(St,2)===F?(n=F,St+=2):(n=a,0===Pt&&Zt(T)),n!==a?(u=function(){var e,n,u,c,s,f,l
|
|||
|
if(e=St,n=St,u=[],(c=ee())===a&&(c=ne()),c!==a)for(;c!==a;)u.push(c),(c=ee())===a&&(c=ne())
|
|||
|
else u=a
|
|||
|
return(n=u!==a?t.substring(n,St):u)!==a&&(Mt=e,s=n,n=(0,r.pi)({type:i.aV.dateTime,pattern:s,parsedOptions:Ae?(f=s,l={},f.replace(o,(function(t){var e=t.length
|
|||
|
switch(t[0]){case"G":l.era=4===e?"long":5===e?"narrow":"short"
|
|||
|
break
|
|||
|
case"y":l.year=2===e?"2-digit":"numeric"
|
|||
|
break
|
|||
|
case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead")
|
|||
|
case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported")
|
|||
|
case"M":case"L":l.month=["numeric","2-digit","short","long","narrow"][e-1]
|
|||
|
break
|
|||
|
case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported")
|
|||
|
case"d":l.day=["numeric","2-digit"][e-1]
|
|||
|
break
|
|||
|
case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead")
|
|||
|
case"E":l.weekday=4===e?"short":5===e?"narrow":"short"
|
|||
|
break
|
|||
|
case"e":if(e<4)throw new RangeError("`e..eee` (weekday) patterns are not supported")
|
|||
|
l.weekday=["short","long","narrow","short"][e-4]
|
|||
|
break
|
|||
|
case"c":if(e<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported")
|
|||
|
l.weekday=["short","long","narrow","short"][e-4]
|
|||
|
break
|
|||
|
case"a":l.hour12=!0
|
|||
|
break
|
|||
|
case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead")
|
|||
|
case"h":l.hourCycle="h12",l.hour=["numeric","2-digit"][e-1]
|
|||
|
break
|
|||
|
case"H":l.hourCycle="h23",l.hour=["numeric","2-digit"][e-1]
|
|||
|
break
|
|||
|
case"K":l.hourCycle="h11",l.hour=["numeric","2-digit"][e-1]
|
|||
|
break
|
|||
|
case"k":l.hourCycle="h24",l.hour=["numeric","2-digit"][e-1]
|
|||
|
break
|
|||
|
case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead")
|
|||
|
case"m":l.minute=["numeric","2-digit"][e-1]
|
|||
|
break
|
|||
|
case"s":l.second=["numeric","2-digit"][e-1]
|
|||
|
break
|
|||
|
case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead")
|
|||
|
case"z":l.timeZoneName=e<4?"short":"long"
|
|||
|
break
|
|||
|
case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),l):{}},ge())),n}(),u!==a?(Mt=e,e=n=u):(St=e,e=a)):(St=e,e=a),e===a&&(e=St,Mt=St,be.push("dateOrTimeArgStyle"),(n=(n=!0)?void 0:a)!==a&&(u=Yt())!==a?(Mt=e,e=n=B(u)):(St=e,e=a)),e}(),d!==a?f=l=[l,h,d]:(St=f,f=a)):(St=f,f=a),f===a&&(f=null),f!==a&&(l=ue())!==a?(125===t.charCodeAt(St)?(h=x,St++):(h=a,0===Pt&&Zt(A)),h!==a?(Mt=e,e=n=L(u,s,f)):(St=e,e=a)):(St=e,e=a)):(St=e,e=a)):(St=e,e=a)):(St=e,e=a),e}()),e}(),e===a&&(e=function(){var e,n,o,u,c,s,f,l,h,d,p
|
|||
|
if(e=St,123===t.charCodeAt(St)?(n=_,St++):(n=a,0===Pt&&Zt(w)),n!==a)if(ue()!==a)if((o=he())!==a)if(ue()!==a)if(44===t.charCodeAt(St)?(u=P,St++):(u=a,0===Pt&&Zt(j)),u!==a)if(ue()!==a)if(t.substr(St,6)===X?(c=X,St+=6):(c=a,0===Pt&&Zt(J)),c===a&&(t.substr(St,13)===Q?(c=Q,St+=13):(c=a,0===Pt&&Zt(tt))),c!==a)if(ue()!==a)if(44===t.charCodeAt(St)?(s=P,St++):(s=a,0===Pt&&Zt(j)),s!==a)if(ue()!==a)if(f=St,t.substr(St,7)===et?(l=et,St+=7):(l=a,0===Pt&&Zt(nt)),l!==a&&(h=ue())!==a&&(d=ce())!==a?f=l=[l,h,d]:(St=f,f=a),f===a&&(f=null),f!==a)if((l=ue())!==a){if(h=[],(d=ie())!==a)for(;d!==a;)h.push(d),d=ie()
|
|||
|
else h=a
|
|||
|
h!==a&&(d=ue())!==a?(125===t.charCodeAt(St)?(p=x,St++):(p=a,0===Pt&&Zt(A)),p!==a?(Mt=e,n=function(t,e,n,o){return(0,r.pi)({type:i.wD.plural,pluralType:"plural"===e?"cardinal":"ordinal",value:t,offset:n?n[2]:0,options:o.reduce((function(t,e){var n=e.id,r=e.value,i=e.location
|
|||
|
return n in t&&Rt('Duplicate option "'+n+'" in plural element: "'+jt()+'"',Nt()),t[n]={value:r,location:i},t}),{})},ge())}(o,c,f,h),e=n):(St=e,e=a)):(St=e,e=a)}else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
return e}(),e===a&&(e=function(){var e,n,o,u,c,s,f,l,h
|
|||
|
if(e=St,123===t.charCodeAt(St)?(n=_,St++):(n=a,0===Pt&&Zt(w)),n!==a)if(ue()!==a)if((o=he())!==a)if(ue()!==a)if(44===t.charCodeAt(St)?(u=P,St++):(u=a,0===Pt&&Zt(j)),u!==a)if(ue()!==a)if(t.substr(St,6)===rt?(c=rt,St+=6):(c=a,0===Pt&&Zt(it)),c!==a)if(ue()!==a)if(44===t.charCodeAt(St)?(s=P,St++):(s=a,0===Pt&&Zt(j)),s!==a)if(ue()!==a){if(f=[],(l=re())!==a)for(;l!==a;)f.push(l),l=re()
|
|||
|
else f=a
|
|||
|
f!==a&&(l=ue())!==a?(125===t.charCodeAt(St)?(h=x,St++):(h=a,0===Pt&&Zt(A)),h!==a?(Mt=e,n=function(t,e){return(0,r.pi)({type:i.wD.select,value:t,options:e.reduce((function(t,e){var n=e.id,r=e.value,i=e.location
|
|||
|
return n in t&&Rt('Duplicate option "'+n+'" in select element: "'+jt()+'"',Nt()),t[n]={value:r,location:i},t}),{})},ge())}(o,f),e=n):(St=e,e=a)):(St=e,e=a)}else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
return e}(),e===a&&(e=function(){var e,n
|
|||
|
return e=St,35===t.charCodeAt(St)?(n="#",St++):(n=a,0===Pt&&Zt(h)),n!==a&&(Mt=e,n=(0,r.pi)({type:i.wD.pound},ge())),n}())))),e}function Yt(){var e,n,r,i
|
|||
|
if(e=St,Mt=St,(n=(n=xe)?void 0:a)!==a){if(r=[],(i=se())===a&&(i=fe())===a&&(i=le())===a&&(60===t.charCodeAt(St)?(i=s,St++):(i=a,0===Pt&&Zt(f))),i!==a)for(;i!==a;)r.push(i),(i=se())===a&&(i=fe())===a&&(i=le())===a&&(60===t.charCodeAt(St)?(i=s,St++):(i=a,0===Pt&&Zt(f)))
|
|||
|
else r=a
|
|||
|
r!==a?(Mt=e,e=n=l(r)):(St=e,e=a)}else St=e,e=a
|
|||
|
if(e===a){if(e=St,n=[],(r=se())===a&&(r=fe())===a&&(r=le())===a&&(r=Gt()),r!==a)for(;r!==a;)n.push(r),(r=se())===a&&(r=fe())===a&&(r=le())===a&&(r=Gt())
|
|||
|
else n=a
|
|||
|
n!==a&&(Mt=e,n=l(n)),e=n}return e}function Gt(){var e,n,r
|
|||
|
return e=St,n=St,Pt++,(r=Wt())===a&&(r=Xt())===a&&(r=Kt()),Pt--,r===a?n=void 0:(St=n,n=a),n!==a?(60===t.charCodeAt(St)?(r=s,St++):(r=a,0===Pt&&Zt(f)),r!==a?(Mt=e,e=n="<"):(St=e,e=a)):(St=e,e=a),e}function Kt(){var e,n,o,u,c,l,h
|
|||
|
return e=St,n=St,60===t.charCodeAt(St)?(o=s,St++):(o=a,0===Pt&&Zt(f)),o!==a&&(u=de())!==a&&(c=ue())!==a?("/>"===t.substr(St,2)?(l="/>",St+=2):(l=a,0===Pt&&Zt(b)),l!==a?n=o=[o,u,c,l]:(St=n,n=a)):(St=n,n=a),n!==a&&(Mt=e,h=n,n=(0,r.pi)({type:i.wD.literal,value:h.join("")},ge())),n}function Wt(){var e,n,r,i
|
|||
|
return e=St,60===t.charCodeAt(St)?(n=s,St++):(n=a,0===Pt&&Zt(f)),n!==a&&(r=de())!==a?(62===t.charCodeAt(St)?(i=">",St++):(i=a,0===Pt&&Zt(v)),i!==a?(Mt=e,e=n=r):(St=e,e=a)):(St=e,e=a),e}function Xt(){var e,n,r,i
|
|||
|
return e=St,"</"===t.substr(St,2)?(n="</",St+=2):(n=a,0===Pt&&Zt(g)),n!==a&&(r=de())!==a?(62===t.charCodeAt(St)?(i=">",St++):(i=a,0===Pt&&Zt(v)),i!==a?(Mt=e,e=n=r):(St=e,e=a)):(St=e,e=a),e}function Jt(){var e,n,r,i,o
|
|||
|
if(Pt++,e=St,n=[],r=St,i=St,Pt++,(o=oe())===a&&(k.test(t.charAt(St))?(o=t.charAt(St),St++):(o=a,0===Pt&&Zt(D))),Pt--,o===a?i=void 0:(St=i,i=a),i!==a?(t.length>St?(o=t.charAt(St),St++):(o=a,0===Pt&&Zt(C)),o!==a?r=i=[i,o]:(St=r,r=a)):(St=r,r=a),r!==a)for(;r!==a;)n.push(r),r=St,i=St,Pt++,(o=oe())===a&&(k.test(t.charAt(St))?(o=t.charAt(St),St++):(o=a,0===Pt&&Zt(D))),Pt--,o===a?i=void 0:(St=i,i=a),i!==a?(t.length>St?(o=t.charAt(St),St++):(o=a,0===Pt&&Zt(C)),o!==a?r=i=[i,o]:(St=r,r=a)):(St=r,r=a)
|
|||
|
else n=a
|
|||
|
return e=n!==a?t.substring(e,St):n,Pt--,e===a&&(n=a,0===Pt&&Zt(E)),e}function Qt(){var e,n,r
|
|||
|
return Pt++,e=St,47===t.charCodeAt(St)?(n="/",St++):(n=a,0===Pt&&Zt(S)),n!==a&&(r=Jt())!==a?(Mt=e,e=n=r):(St=e,e=a),Pt--,e===a&&(n=a,0===Pt&&Zt(O)),e}function te(){var t,e,n,r,i
|
|||
|
if(Pt++,t=St,(e=ue())!==a)if((n=Jt())!==a){for(r=[],i=Qt();i!==a;)r.push(i),i=Qt()
|
|||
|
r!==a?(Mt=t,e=function(t,e){return{stem:t,options:e}}(n,r),t=e):(St=t,t=a)}else St=t,t=a
|
|||
|
else St=t,t=a
|
|||
|
return Pt--,t===a&&(e=a,0===Pt&&Zt(M)),t}function ee(){var e,n,r,i
|
|||
|
if(e=St,39===t.charCodeAt(St)?(n=I,St++):(n=a,0===Pt&&Zt($)),n!==a){if(r=[],(i=se())===a&&(U.test(t.charAt(St))?(i=t.charAt(St),St++):(i=a,0===Pt&&Zt(z))),i!==a)for(;i!==a;)r.push(i),(i=se())===a&&(U.test(t.charAt(St))?(i=t.charAt(St),St++):(i=a,0===Pt&&Zt(z)))
|
|||
|
else r=a
|
|||
|
r!==a?(39===t.charCodeAt(St)?(i=I,St++):(i=a,0===Pt&&Zt($)),i!==a?e=n=[n,r,i]:(St=e,e=a)):(St=e,e=a)}else St=e,e=a
|
|||
|
if(e===a)if(e=[],(n=se())===a&&(Z.test(t.charAt(St))?(n=t.charAt(St),St++):(n=a,0===Pt&&Zt(q))),n!==a)for(;n!==a;)e.push(n),(n=se())===a&&(Z.test(t.charAt(St))?(n=t.charAt(St),St++):(n=a,0===Pt&&Zt(q)))
|
|||
|
else e=a
|
|||
|
return e}function ne(){var e,n
|
|||
|
if(e=[],V.test(t.charAt(St))?(n=t.charAt(St),St++):(n=a,0===Pt&&Zt(H)),n!==a)for(;n!==a;)e.push(n),V.test(t.charAt(St))?(n=t.charAt(St),St++):(n=a,0===Pt&&Zt(H))
|
|||
|
else e=a
|
|||
|
return e}function re(){var e,n,i,o,u,c,s
|
|||
|
return e=St,ue()!==a&&(n=ye())!==a&&ue()!==a?(123===t.charCodeAt(St)?(i=_,St++):(i=a,0===Pt&&Zt(w)),i!==a?(Mt=St,be.push("select"),void 0!==a&&(o=Vt())!==a?(125===t.charCodeAt(St)?(u=x,St++):(u=a,0===Pt&&Zt(A)),u!==a?(Mt=e,c=n,s=o,be.pop(),e=(0,r.pi)({id:c,value:s},ge())):(St=e,e=a)):(St=e,e=a)):(St=e,e=a)):(St=e,e=a),e}function ie(){var e,n,i,o,u,c,s
|
|||
|
return e=St,ue()!==a?(n=function(){var e,n,r,i
|
|||
|
return e=St,n=St,61===t.charCodeAt(St)?(r="=",St++):(r=a,0===Pt&&Zt(ot)),r!==a&&(i=ce())!==a?n=r=[r,i]:(St=n,n=a),(e=n!==a?t.substring(e,St):n)===a&&(e=ye()),e}(),n!==a&&ue()!==a?(123===t.charCodeAt(St)?(i=_,St++):(i=a,0===Pt&&Zt(w)),i!==a?(Mt=St,be.push("plural"),void 0!==a&&(o=Vt())!==a?(125===t.charCodeAt(St)?(u=x,St++):(u=a,0===Pt&&Zt(A)),u!==a?(Mt=e,c=n,s=o,be.pop(),e=(0,r.pi)({id:c,value:s},ge())):(St=e,e=a)):(St=e,e=a)):(St=e,e=a)):(St=e,e=a)):(St=e,e=a),e}function oe(){var e
|
|||
|
return Pt++,ut.test(t.charAt(St))?(e=t.charAt(St),St++):(e=a,0===Pt&&Zt(ct)),Pt--,e===a&&0===Pt&&Zt(at),e}function ae(){var e
|
|||
|
return Pt++,ft.test(t.charAt(St))?(e=t.charAt(St),St++):(e=a,0===Pt&&Zt(lt)),Pt--,e===a&&0===Pt&&Zt(st),e}function ue(){var e,n,r
|
|||
|
for(Pt++,e=St,n=[],r=oe();r!==a;)n.push(r),r=oe()
|
|||
|
return e=n!==a?t.substring(e,St):n,Pt--,e===a&&(n=a,0===Pt&&Zt(ht)),e}function ce(){var e,n,r,i
|
|||
|
return Pt++,e=St,45===t.charCodeAt(St)?(n="-",St++):(n=a,0===Pt&&Zt(pt)),n===a&&(n=null),n!==a&&(r=pe())!==a?(Mt=e,e=n=(i=r)?n?-i:i:0):(St=e,e=a),Pt--,e===a&&(n=a,0===Pt&&Zt(dt)),e}function se(){var e,n
|
|||
|
return Pt++,e=St,t.substr(St,2)===bt?(n=bt,St+=2):(n=a,0===Pt&&Zt(vt)),n!==a&&(Mt=e,n="'"),Pt--,(e=n)===a&&(n=a,0===Pt&&Zt(yt)),e}function fe(){var e,n,r,i,o,u
|
|||
|
if(e=St,39===t.charCodeAt(St)?(n=I,St++):(n=a,0===Pt&&Zt($)),n!==a)if(r=function(){var e,n,r,i,o
|
|||
|
return e=St,n=St,t.length>St?(r=t.charAt(St),St++):(r=a,0===Pt&&Zt(C)),r!==a?(Mt=St,(i=(i="<"===(o=r)||">"===o||"{"===o||"}"===o||ve()&&"#"===o)?void 0:a)!==a?n=r=[r,i]:(St=n,n=a)):(St=n,n=a),n!==a?t.substring(e,St):n}(),r!==a){for(i=St,o=[],t.substr(St,2)===bt?(u=bt,St+=2):(u=a,0===Pt&&Zt(vt)),u===a&&(U.test(t.charAt(St))?(u=t.charAt(St),St++):(u=a,0===Pt&&Zt(z)));u!==a;)o.push(u),t.substr(St,2)===bt?(u=bt,St+=2):(u=a,0===Pt&&Zt(vt)),u===a&&(U.test(t.charAt(St))?(u=t.charAt(St),St++):(u=a,0===Pt&&Zt(z)));(i=o!==a?t.substring(i,St):o)!==a?(39===t.charCodeAt(St)?(o=I,St++):(o=a,0===Pt&&Zt($)),o===a&&(o=null),o!==a?(Mt=e,e=n=r+i.replace("''","'")):(St=e,e=a)):(St=e,e=a)}else St=e,e=a
|
|||
|
else St=e,e=a
|
|||
|
return e}function le(){var e,n,r,i,o
|
|||
|
return e=St,n=St,t.length>St?(r=t.charAt(St),St++):(r=a,0===Pt&&Zt(C)),r!==a?(Mt=St,(i=(i=!("<"===(o=r)||"{"===o||ve()&&"#"===o||be.length>1&&"}"===o))?void 0:a)!==a?n=r=[r,i]:(St=n,n=a)):(St=n,n=a),n===a&&(10===t.charCodeAt(St)?(n="\n",St++):(n=a,0===Pt&&Zt(gt))),n!==a?t.substring(e,St):n}function he(){var e,n
|
|||
|
return Pt++,e=St,(n=pe())===a&&(n=ye()),e=n!==a?t.substring(e,St):n,Pt--,e===a&&(n=a,0===Pt&&Zt(mt)),e}function de(){var e,n
|
|||
|
return Pt++,e=St,(n=pe())===a&&(n=function(){var e,n,r,i,o
|
|||
|
if(Pt++,e=St,n=[],45===t.charCodeAt(St)?(r="-",St++):(r=a,0===Pt&&Zt(pt)),r===a&&(r=St,i=St,Pt++,(o=oe())===a&&(o=ae()),Pt--,o===a?i=void 0:(St=i,i=a),i!==a?(t.length>St?(o=t.charAt(St),St++):(o=a,0===Pt&&Zt(C)),o!==a?r=i=[i,o]:(St=r,r=a)):(St=r,r=a)),r!==a)for(;r!==a;)n.push(r),45===t.charCodeAt(St)?(r="-",St++):(r=a,0===Pt&&Zt(pt)),r===a&&(r=St,i=St,Pt++,(o=oe())===a&&(o=ae()),Pt--,o===a?i=void 0:(St=i,i=a),i!==a?(t.length>St?(o=t.charAt(St),St++):(o=a,0===Pt&&Zt(C)),o!==a?r=i=[i,o]:(St=r,r=a)):(St=r,r=a))
|
|||
|
else n=a
|
|||
|
return e=n!==a?t.substring(e,St):n,Pt--,e===a&&(n=a,0===Pt&&Zt(Ot)),e}()),e=n!==a?t.substring(e,St):n,Pt--,e===a&&(n=a,0===Pt&&Zt(_t)),e}function pe(){var e,n,r,i,o
|
|||
|
if(Pt++,e=St,48===t.charCodeAt(St)?(n="0",St++):(n=a,0===Pt&&Zt(xt)),n!==a&&(Mt=e,n=0),(e=n)===a){if(e=St,n=St,At.test(t.charAt(St))?(r=t.charAt(St),St++):(r=a,0===Pt&&Zt(Et)),r!==a){for(i=[],kt.test(t.charAt(St))?(o=t.charAt(St),St++):(o=a,0===Pt&&Zt(Dt));o!==a;)i.push(o),kt.test(t.charAt(St))?(o=t.charAt(St),St++):(o=a,0===Pt&&Zt(Dt))
|
|||
|
i!==a?n=r=[r,i]:(St=n,n=a)}else St=n,n=a
|
|||
|
n!==a&&(Mt=e,n=parseInt(n.join(""),10)),e=n}return Pt--,e===a&&(n=a,0===Pt&&Zt(wt)),e}function ye(){var e,n,r,i,o
|
|||
|
if(Pt++,e=St,n=[],r=St,i=St,Pt++,(o=oe())===a&&(o=ae()),Pt--,o===a?i=void 0:(St=i,i=a),i!==a?(t.length>St?(o=t.charAt(St),St++):(o=a,0===Pt&&Zt(C)),o!==a?r=i=[i,o]:(St=r,r=a)):(St=r,r=a),r!==a)for(;r!==a;)n.push(r),r=St,i=St,Pt++,(o=oe())===a&&(o=ae()),Pt--,o===a?i=void 0:(St=i,i=a),i!==a?(t.length>St?(o=t.charAt(St),St++):(o=a,0===Pt&&Zt(C)),o!==a?r=i=[i,o]:(St=r,r=a)):(St=r,r=a)
|
|||
|
else n=a
|
|||
|
return e=n!==a?t.substring(e,St):n,Pt--,e===a&&(n=a,0===Pt&&Zt(Ct)),e}var be=["root"]
|
|||
|
function ve(){return"plural"===be[be.length-1]}function ge(){return e&&e.captureLocation?{location:Nt()}:{}}var me,_e,we,xe=e&&e.ignoreTag,Ae=e&&e.shouldParseSkeleton
|
|||
|
if((n=c())!==a&&St===t.length)return n
|
|||
|
throw n!==a&&St<t.length&&Zt({type:"end"}),me=Bt,_e=Tt<t.length?t.charAt(Tt):null,we=Tt<t.length?zt(Tt,Tt+1):zt(Tt,Tt),new y(y.buildMessage(me,_e),me,_e,we)},v=/(^|[^\\])#/g
|
|||
|
function g(t){t.forEach((function(t){((0,i.Jo)(t)||(0,i.Wi)(t))&&Object.keys(t.options).forEach((function(e){for(var n,o=t.options[e],a=-1,u=void 0,c=0;c<o.value.length;c++){var s=o.value[c]
|
|||
|
if((0,i.O4)(s)&&v.test(s.value)){a=c,u=s
|
|||
|
break}}if(u){var f=u.value.replace(v,"$1{"+t.value+", number}"),l=b(f);(n=o.value).splice.apply(n,(0,r.ev)([a,1],l))}g(o.value)}))}))}function m(t,e){e=(0,r.pi)({normalizeHashtagInPlural:!0,shouldParseSkeleton:!0},e||{})
|
|||
|
var n=b(t,e)
|
|||
|
return e.normalizeHashtagInPlural&&g(n),n}},8131:(t,e,n)=>{"use strict"
|
|||
|
var r,i
|
|||
|
function o(t){return t.type===r.literal}function a(t){return t.type===r.argument}function u(t){return t.type===r.number}function c(t){return t.type===r.date}function s(t){return t.type===r.time}function f(t){return t.type===r.select}function l(t){return t.type===r.plural}function h(t){return t.type===r.pound}function d(t){return t.type===r.tag}function p(t){return!(!t||"object"!=typeof t||t.type!==i.number)}function y(t){return!(!t||"object"!=typeof t||t.type!==i.dateTime)}function b(t){return{type:r.literal,value:t}}function v(t,e){return{type:r.number,value:t,style:e}}n.d(e,{HI:()=>d,Ii:()=>y,Jo:()=>l,O4:()=>o,VG:()=>a,Wh:()=>p,Wi:()=>f,aV:()=>i,mD:()=>b,pe:()=>s,qx:()=>v,rp:()=>c,uf:()=>u,wD:()=>r,yx:()=>h}),function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"}(r||(r={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(i||(i={}))},4143:(t,e,n)=>{"use strict"
|
|||
|
n.r(e),n.d(e,{ErrorCode:()=>r,FormatError:()=>f,IntlMessageFormat:()=>g,InvalidValueError:()=>l,InvalidValueTypeError:()=>h,MissingValueError:()=>d,PART_TYPE:()=>s,default:()=>m,formatToParts:()=>y,isFormatXMLElementFn:()=>p})
|
|||
|
var r,i=n(2247),o=n(4857),a=n(4564),u=n.n(a),c=n(8131)
|
|||
|
!function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"}(r||(r={}))
|
|||
|
var s,f=function(t){function e(e,n,r){var i=t.call(this,e)||this
|
|||
|
return i.code=n,i.originalMessage=r,i}return(0,i.ZT)(e,t),e.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},e}(Error),l=function(t){function e(e,n,i,o){return t.call(this,'Invalid values for "'+e+'": "'+n+'". Options are "'+Object.keys(i).join('", "')+'"',r.INVALID_VALUE,o)||this}return(0,i.ZT)(e,t),e}(f),h=function(t){function e(e,n,i){return t.call(this,'Value for "'+e+'" must be of type '+n,r.INVALID_VALUE,i)||this}return(0,i.ZT)(e,t),e}(f),d=function(t){function e(e,n){return t.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+n+'"',r.MISSING_VALUE,n)||this}return(0,i.ZT)(e,t),e}(f)
|
|||
|
function p(t){return"function"==typeof t}function y(t,e,n,i,o,a,u){if(1===t.length&&(0,c.O4)(t[0]))return[{type:s.literal,value:t[0].value}]
|
|||
|
for(var b=[],v=0,g=t;v<g.length;v++){var m=g[v]
|
|||
|
if((0,c.O4)(m))b.push({type:s.literal,value:m.value})
|
|||
|
else if((0,c.yx)(m))"number"==typeof a&&b.push({type:s.literal,value:n.getNumberFormat(e).format(a)})
|
|||
|
else{var _=m.value
|
|||
|
if(!o||!(_ in o))throw new d(_,u)
|
|||
|
var w=o[_]
|
|||
|
if((0,c.VG)(m))w&&"string"!=typeof w&&"number"!=typeof w||(w="string"==typeof w||"number"==typeof w?String(w):""),b.push({type:"string"==typeof w?s.literal:s.object,value:w})
|
|||
|
else if((0,c.rp)(m)){var x="string"==typeof m.style?i.date[m.style]:(0,c.Ii)(m.style)?m.style.parsedOptions:void 0
|
|||
|
b.push({type:s.literal,value:n.getDateTimeFormat(e,x).format(w)})}else if((0,c.pe)(m))x="string"==typeof m.style?i.time[m.style]:(0,c.Ii)(m.style)?m.style.parsedOptions:void 0,b.push({type:s.literal,value:n.getDateTimeFormat(e,x).format(w)})
|
|||
|
else if((0,c.uf)(m))(x="string"==typeof m.style?i.number[m.style]:(0,c.Wh)(m.style)?m.style.parsedOptions:void 0)&&x.scale&&(w*=x.scale||1),b.push({type:s.literal,value:n.getNumberFormat(e,x).format(w)})
|
|||
|
else{if((0,c.HI)(m)){var A=m.children,E=m.value,k=o[E]
|
|||
|
if(!p(k))throw new h(E,"function",u)
|
|||
|
var D=k(y(A,e,n,i,o,a).map((function(t){return t.value})))
|
|||
|
Array.isArray(D)||(D=[D]),b.push.apply(b,D.map((function(t){return{type:"string"==typeof t?s.literal:s.object,value:t}})))}if((0,c.Wi)(m)){if(!(C=m.options[w]||m.options.other))throw new l(m.value,w,Object.keys(m.options),u)
|
|||
|
b.push.apply(b,y(C.value,e,n,i,o))}else if((0,c.Jo)(m)){var C
|
|||
|
if(!(C=m.options["="+w])){if(!Intl.PluralRules)throw new f('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',r.MISSING_INTL_API,u)
|
|||
|
var O=n.getPluralRules(e,{type:m.pluralType}).select(w-(m.offset||0))
|
|||
|
C=m.options[O]||m.options.other}if(!C)throw new l(m.value,w,Object.keys(m.options),u)
|
|||
|
b.push.apply(b,y(C.value,e,n,i,o,w-(m.offset||0)))}}}}return(S=b).length<2?S:S.reduce((function(t,e){var n=t[t.length-1]
|
|||
|
return n&&n.type===s.literal&&e.type===s.literal?n.value+=e.value:t.push(e),t}),[])
|
|||
|
var S}function b(t){return{create:function(){return{has:function(e){return e in t},get:function(e){return t[e]},set:function(e,n){t[e]=n}}}}}!function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(s||(s={}))
|
|||
|
var v=u()||a,g=function(){function t(e,n,r,o){var a,u,c,f=this
|
|||
|
if(void 0===n&&(n=t.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var e=f.formatToParts(t)
|
|||
|
if(1===e.length)return e[0].value
|
|||
|
var n=e.reduce((function(t,e){return t.length&&e.type===s.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t}),[])
|
|||
|
return n.length<=1?n[0]||"":n},this.formatToParts=function(t){return y(f.ast,f.locales,f.formatters,f.formats,t,void 0,f.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(f.locales)[0]}},this.getAst=function(){return f.ast},"string"==typeof e){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`")
|
|||
|
this.ast=t.__parse(e,{normalizeHashtagInPlural:!1,ignoreTag:null==o?void 0:o.ignoreTag})}else this.ast=e
|
|||
|
if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.")
|
|||
|
this.formats=(u=t.formats,(c=r)?Object.keys(u).reduce((function(t,e){var n,r
|
|||
|
return t[e]=(n=u[e],(r=c[e])?(0,i.pi)((0,i.pi)((0,i.pi)({},n||{}),r||{}),Object.keys(n).reduce((function(t,e){return t[e]=(0,i.pi)((0,i.pi)({},n[e]),r[e]||{}),t}),{})):n),t}),(0,i.pi)({},u)):u),this.locales=n,this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:v((function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n]
|
|||
|
return new((t=Intl.NumberFormat).bind.apply(t,(0,i.ev)([void 0],e)))}),{cache:b(a.number),strategy:v.strategies.variadic}),getDateTimeFormat:v((function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n]
|
|||
|
return new((t=Intl.DateTimeFormat).bind.apply(t,(0,i.ev)([void 0],e)))}),{cache:b(a.dateTime),strategy:v.strategies.variadic}),getPluralRules:v((function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n]
|
|||
|
return new((t=Intl.PluralRules).bind.apply(t,(0,i.ev)([void 0],e)))}),{cache:b(a.pluralRules),strategy:v.strategies.variadic})})}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.__parse=o.parse,t.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}()
|
|||
|
const m=g},6196:(t,e,n)=>{var r=n(1219),i=n(2251)
|
|||
|
function o(t){this.Container=t||Array,this.items=new Map,this.clear(),Object.defineProperty(this.items,"constructor",{value:o,enumerable:!1})}o.prototype.clear=function(){this.size=0,this.dimension=0,this.items.clear()},o.prototype.set=function(t,e){var n,r=this.items.get(t)
|
|||
|
return r||(this.dimension++,r=new this.Container,this.items.set(t,r)),this.Container===Set?(n=r.size,r.add(e),n<r.size&&this.size++):(r.push(e),this.size++),this},o.prototype.delete=function(t){var e=this.items.get(t)
|
|||
|
return!!e&&(this.size-=this.Container===Set?e.size:e.length,this.dimension--,this.items.delete(t),!0)},o.prototype.remove=function(t,e){var n,r,i=this.items.get(t)
|
|||
|
return!!i&&(this.Container===Set?((n=i.delete(e))&&this.size--,0===i.size&&(this.items.delete(t),this.dimension--),n):-1!==(r=i.indexOf(e))&&(this.size--,1===i.length?(this.items.delete(t),this.dimension--,!0):(i.splice(r,1),!0)))},o.prototype.has=function(t){return this.items.has(t)},o.prototype.get=function(t){return this.items.get(t)},o.prototype.multiplicity=function(t){var e=this.items.get(t)
|
|||
|
return void 0===e?0:this.Container===Set?e.size:e.length},o.prototype.count=o.prototype.multiplicity,o.prototype.forEach=function(t,e){var n
|
|||
|
function r(r){t.call(e,r,n)}e=arguments.length>1?e:this,this.items.forEach((function(t,e){n=e,t.forEach(r)}))},o.prototype.forEachAssociation=function(t,e){e=arguments.length>1?e:this,this.items.forEach(t,e)},o.prototype.keys=function(){return this.items.keys()},o.prototype.values=function(){var t,e,n,i,o=this.items.values(),a=!1
|
|||
|
return this.Container===Set?new r((function n(){if(!a){if((e=o.next()).done)return{done:!0}
|
|||
|
a=!0,t=e.value.values()}return(e=t.next()).done?(a=!1,n()):{done:!1,value:e.value}})):new r((function r(){if(!a){if((e=o.next()).done)return{done:!0}
|
|||
|
a=!0,t=e.value,n=0,i=t.length}return n>=i?(a=!1,r()):{done:!1,value:t[n++]}}))},o.prototype.entries=function(){var t,e,n,i,o,a=this.items.entries(),u=!1
|
|||
|
return this.Container===Set?new r((function r(){if(!u){if((e=a.next()).done)return{done:!0}
|
|||
|
u=!0,n=e.value[0],t=e.value[1].values()}return(e=t.next()).done?(u=!1,r()):{done:!1,value:[n,e.value]}})):new r((function r(){if(!u){if((e=a.next()).done)return{done:!0}
|
|||
|
u=!0,n=e.value[0],t=e.value[1],i=0,o=t.length}return i>=o?(u=!1,r()):{done:!1,value:[n,t[i++]]}}))},o.prototype.containers=function(){return this.items.values()},o.prototype.associations=function(){return this.items.entries()},"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=o.prototype.entries),o.prototype.inspect=function(){return this.items},"undefined"!=typeof Symbol&&(o.prototype[Symbol.for("nodejs.util.inspect.custom")]=o.prototype.inspect),o.prototype.toJSON=function(){return this.items},o.from=function(t,e){var n=new o(e)
|
|||
|
return i(t,(function(t,e){n.set(e,t)})),n},t.exports=o},3333:(t,e)=>{e.intersection=function(){if(arguments.length<2)throw new Error("mnemonist/Set.intersection: needs at least two arguments.")
|
|||
|
var t,e,n=new Set,r=1/0,i=null,o=arguments.length
|
|||
|
for(e=0;e<o;e++){if(0===(t=arguments[e]).size)return n
|
|||
|
t.size<r&&(r=t.size,i=t)}for(var a,u,c,s,f=i.values();!(a=f.next()).done;){for(u=a.value,c=!0,e=0;e<o;e++)if((s=arguments[e])!==i&&!s.has(u)){c=!1
|
|||
|
break}c&&n.add(u)}return n},e.union=function(){if(arguments.length<2)throw new Error("mnemonist/Set.union: needs at least two arguments.")
|
|||
|
var t,e,n,r=new Set,i=arguments.length
|
|||
|
for(t=0;t<i;t++)for(e=arguments[t].values();!(n=e.next()).done;)r.add(n.value)
|
|||
|
return r},e.difference=function(t,e){if(!t.size)return new Set
|
|||
|
if(!e.size)return new Set(t)
|
|||
|
for(var n,r=new Set,i=t.values();!(n=i.next()).done;)e.has(n.value)||r.add(n.value)
|
|||
|
return r},e.symmetricDifference=function(t,e){for(var n,r=new Set,i=t.values();!(n=i.next()).done;)e.has(n.value)||r.add(n.value)
|
|||
|
for(i=e.values();!(n=i.next()).done;)t.has(n.value)||r.add(n.value)
|
|||
|
return r},e.isSubset=function(t,e){var n,r=t.values()
|
|||
|
if(t===e)return!0
|
|||
|
if(t.size>e.size)return!1
|
|||
|
for(;!(n=r.next()).done;)if(!e.has(n.value))return!1
|
|||
|
return!0},e.isSuperset=function(t,n){return e.isSubset(n,t)},e.add=function(t,e){for(var n,r=e.values();!(n=r.next()).done;)t.add(n.value)},e.subtract=function(t,e){for(var n,r=e.values();!(n=r.next()).done;)t.delete(n.value)},e.intersect=function(t,e){for(var n,r=t.values();!(n=r.next()).done;)e.has(n.value)||t.delete(n.value)},e.disjunct=function(t,e){for(var n,r=t.values(),i=[];!(n=r.next()).done;)e.has(n.value)&&i.push(n.value)
|
|||
|
for(r=e.values();!(n=r.next()).done;)t.has(n.value)||t.add(n.value)
|
|||
|
for(var o=0,a=i.length;o<a;o++)t.delete(i[o])},e.intersectionSize=function(t,e){var n
|
|||
|
if(t.size>e.size&&(n=t,t=e,e=n),0===t.size)return 0
|
|||
|
if(t===e)return t.size
|
|||
|
for(var r,i=t.values(),o=0;!(r=i.next()).done;)e.has(r.value)&&o++
|
|||
|
return o},e.unionSize=function(t,n){var r=e.intersectionSize(t,n)
|
|||
|
return t.size+n.size-r},e.jaccard=function(t,n){var r=e.intersectionSize(t,n)
|
|||
|
return 0===r?0:r/(t.size+n.size-r)},e.overlap=function(t,n){var r=e.intersectionSize(t,n)
|
|||
|
return 0===r?0:r/Math.min(t.size,n.size)}},260:t=>{function e(t,e){if(!t)throw new Error(e||"AssertionError")}e.notEqual=function(t,n,r){e(t!=n,r)},e.notOk=function(t,n){e(!t,n)},e.equal=function(t,n,r){e(t==n,r)},e.ok=e,t.exports=e},4662:t=>{t.exports=function(t){!function(t){if(!t)throw new Error("Eventify cannot use falsy object as events subject")
|
|||
|
for(var e=["on","fire","off"],n=0;n<e.length;++n)if(t.hasOwnProperty(e[n]))throw new Error("Subject cannot be eventified, since it already has property '"+e[n]+"'")}(t)
|
|||
|
var e=function(t){var e=Object.create(null)
|
|||
|
return{on:function(n,r,i){if("function"!=typeof r)throw new Error("callback is expected to be a function")
|
|||
|
var o=e[n]
|
|||
|
return o||(o=e[n]=[]),o.push({callback:r,ctx:i}),t},off:function(n,r){if(void 0===n)return e=Object.create(null),t
|
|||
|
if(e[n])if("function"!=typeof r)delete e[n]
|
|||
|
else for(var i=e[n],o=0;o<i.length;++o)i[o].callback===r&&i.splice(o,1)
|
|||
|
return t},fire:function(n){var r,i=e[n]
|
|||
|
if(!i)return t
|
|||
|
arguments.length>1&&(r=Array.prototype.splice.call(arguments,1))
|
|||
|
for(var o=0;o<i.length;++o){var a=i[o]
|
|||
|
a.callback.apply(a.ctx,r)}return t}}}(t)
|
|||
|
return t.on=e.on,t.off=e.off,t.fire=e.fire,t}},1832:(t,e,n)=>{t.exports=function(t){if("uniqueLinkId"in(t=t||{})&&(console.warn("ngraph.graph: Starting from version 0.14 `uniqueLinkId` is deprecated.\nUse `multigraph` option instead\n","\n","Note: there is also change in default behavior: From now on each graph\nis considered to be not a multigraph by default (each edge is unique)."),t.multigraph=t.uniqueLinkId),void 0===t.multigraph&&(t.multigraph=!1),"function"!=typeof Map)throw new Error("ngraph.graph requires `Map` to be defined. Please polyfill it before using ngraph")
|
|||
|
var e,n=new Map,s=[],f={},l=0,h=t.multigraph?function(t,e,n){var r=c(t,e),i=f.hasOwnProperty(r)
|
|||
|
if(i||C(t,e)){i||(f[r]=0)
|
|||
|
var o="@"+ ++f[r]
|
|||
|
r=c(t+o,e+o)}return new u(t,e,n,r)}:function(t,e,n){return new u(t,e,n,c(t,e))},d=[],p=O,y=O,b=O,v=O,g={addNode:w,addLink:function(t,e,n){b()
|
|||
|
var r=x(t)||w(t),i=x(e)||w(e),o=h(t,e,n)
|
|||
|
return s.push(o),a(r,o),t!==e&&a(i,o),p(o,"add"),v(),o},removeLink:D,removeNode:A,getNode:x,getNodeCount:E,getLinkCount:k,getLinksCount:k,getNodesCount:E,getLinks:function(t){var e=x(t)
|
|||
|
return e?e.links:null},forEachNode:F,forEachLinkedNode:function(t,e,r){var i=x(t)
|
|||
|
if(i&&i.links&&"function"==typeof e)return r?function(t,e,r){for(var i=0;i<t.length;++i){var o=t[i]
|
|||
|
if(o.fromId===e&&r(n.get(o.toId),o))return!0}}(i.links,t,e):function(t,e,r){for(var i=0;i<t.length;++i){var o=t[i],a=o.fromId===e?o.toId:o.fromId
|
|||
|
if(r(n.get(a),o))return!0}}(i.links,t,e)},forEachLink:function(t){var e,n
|
|||
|
if("function"==typeof t)for(e=0,n=s.length;e<n;++e)t(s[e])},beginUpdate:b,endUpdate:v,clear:function(){b(),F((function(t){A(t.id)})),v()},hasLink:C,hasNode:x,getLink:C}
|
|||
|
return r(g),e=g.on,g.on=function(){return g.beginUpdate=b=S,g.endUpdate=v=M,p=m,y=_,g.on=e,e.apply(g,arguments)},g
|
|||
|
function m(t,e){d.push({link:t,changeType:e})}function _(t,e){d.push({node:t,changeType:e})}function w(t,e){if(void 0===t)throw new Error("Invalid node identifier")
|
|||
|
b()
|
|||
|
var r=x(t)
|
|||
|
return r?(r.data=e,y(r,"update")):(r=new o(t,e),y(r,"add")),n.set(t,r),v(),r}function x(t){return n.get(t)}function A(t){var e=x(t)
|
|||
|
if(!e)return!1
|
|||
|
b()
|
|||
|
var r=e.links
|
|||
|
if(r){e.links=null
|
|||
|
for(var i=0;i<r.length;++i)D(r[i])}return n.delete(t),y(e,"remove"),v(),!0}function E(){return n.size}function k(){return s.length}function D(t){if(!t)return!1
|
|||
|
var e=i(t,s)
|
|||
|
if(e<0)return!1
|
|||
|
b(),s.splice(e,1)
|
|||
|
var n=x(t.fromId),r=x(t.toId)
|
|||
|
return n&&(e=i(t,n.links))>=0&&n.links.splice(e,1),r&&(e=i(t,r.links))>=0&&r.links.splice(e,1),p(t,"remove"),v(),!0}function C(t,e){var n,r=x(t)
|
|||
|
if(!r||!r.links)return null
|
|||
|
for(n=0;n<r.links.length;++n){var i=r.links[n]
|
|||
|
if(i.fromId===t&&i.toId===e)return i}return null}function O(){}function S(){l+=1}function M(){0==(l-=1)&&d.length>0&&(g.fire("changed",d),d.length=0)}function F(t){if("function"!=typeof t)throw new Error("Function is expected to iterate over graph nodes. You passed "+t)
|
|||
|
for(var e=n.values(),r=e.next();!r.done;){if(t(r.value))return!0
|
|||
|
r=e.next()}}}
|
|||
|
var r=n(4662)
|
|||
|
function i(t,e){if(!e)return-1
|
|||
|
if(e.indexOf)return e.indexOf(t)
|
|||
|
var n,r=e.length
|
|||
|
for(n=0;n<r;n+=1)if(e[n]===t)return n
|
|||
|
return-1}function o(t,e){this.id=t,this.links=null,this.data=e}function a(t,e){t.links?t.links.push(e):t.links=[e]}function u(t,e,n,r){this.fromId=t,this.toId=e,this.data=n,this.id=r}function c(t,e){return t.toString()+"👉 "+e.toString()}},2251:t=>{var e="undefined"!=typeof ArrayBuffer,n="undefined"!=typeof Symbol
|
|||
|
function r(t,r){var i,o,a,u,c
|
|||
|
if(!t)throw new Error("obliterator/forEach: invalid iterable.")
|
|||
|
if("function"!=typeof r)throw new Error("obliterator/forEach: expecting a callback.")
|
|||
|
if(Array.isArray(t)||e&&ArrayBuffer.isView(t)||"string"==typeof t||"[object Arguments]"===t.toString())for(a=0,u=t.length;a<u;a++)r(t[a],a)
|
|||
|
else if("function"!=typeof t.forEach)if(n&&Symbol.iterator in t&&"function"!=typeof t.next&&(t=t[Symbol.iterator]()),"function"!=typeof t.next)for(o in t)t.hasOwnProperty(o)&&r(t[o],o)
|
|||
|
else for(i=t,a=0;!0!==(c=i.next()).done;)r(c.value,a),a++
|
|||
|
else t.forEach(r)}r.forEachWithNullKeys=function(t,r){var i,o,a,u,c
|
|||
|
if(!t)throw new Error("obliterator/forEachWithNullKeys: invalid iterable.")
|
|||
|
if("function"!=typeof r)throw new Error("obliterator/forEachWithNullKeys: expecting a callback.")
|
|||
|
if(Array.isArray(t)||e&&ArrayBuffer.isView(t)||"string"==typeof t||"[object Arguments]"===t.toString())for(a=0,u=t.length;a<u;a++)r(t[a],null)
|
|||
|
else if(t instanceof Set)t.forEach((function(t){r(t,null)}))
|
|||
|
else if("function"!=typeof t.forEach)if(n&&Symbol.iterator in t&&"function"!=typeof t.next&&(t=t[Symbol.iterator]()),"function"!=typeof t.next)for(o in t)t.hasOwnProperty(o)&&r(t[o],o)
|
|||
|
else for(i=t,a=0;!0!==(c=i.next()).done;)r(c.value,null),a++
|
|||
|
else t.forEach(r)},t.exports=r},1219:t=>{function e(t){Object.defineProperty(this,"_next",{writable:!1,enumerable:!1,value:t}),this.done=!1}e.prototype.next=function(){if(this.done)return{done:!0}
|
|||
|
var t=this._next()
|
|||
|
return t.done&&(this.done=!0),t},"undefined"!=typeof Symbol&&(e.prototype[Symbol.iterator]=function(){return this}),e.of=function(){var t=arguments,n=t.length,r=0
|
|||
|
return new e((function(){return r>=n?{done:!0}:{done:!1,value:t[r++]}}))},e.empty=function(){var t=new e(null)
|
|||
|
return t.done=!0,t},e.is=function(t){return t instanceof e||"object"==typeof t&&null!==t&&"function"==typeof t.next},t.exports=e},1813:t=>{"use strict"
|
|||
|
var e=/(\x2D?(?:\d+\.?\d*|\d*\.?\d+)(?:e[-+]?\d+)?)\s*([A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D
|
|||
|
function n(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ms"
|
|||
|
var i=null
|
|||
|
return t=(t+"").replace(/(\d)[,_](\d)/g,"$1$2"),t.replace(e,(function(t,e,n){(n=r(n))&&(i=(i||0)+parseFloat(e,10)*n)})),i&&i/(r(n)||1)}function r(t){return n[t]||n[t.toLowerCase().replace(/s$/,"")]}t.exports=n,t.exports.default=n,n.nanosecond=n.ns=1e-6,n["µs"]=n["μs"]=n.us=n.microsecond=.001,n.millisecond=n.ms=n[""]=1,n.second=n.sec=n.s=1e3*n.ms,n.minute=n.min=n.m=60*n.s,n.hour=n.hr=n.h=60*n.m,n.day=n.d=24*n.h,n.week=n.wk=n.w=7*n.d,n.month=n.b=30.4375*n.d,n.year=n.yr=n.y=365.25*n.d},2610:t=>{"use strict"
|
|||
|
t.exports=t=>{if("number"!=typeof t)throw new TypeError("Expected a number")
|
|||
|
const e=t>0?Math.floor:Math.ceil
|
|||
|
return{days:e(t/864e5),hours:e(t/36e5)%24,minutes:e(t/6e4)%60,seconds:e(t/1e3)%60,milliseconds:e(t)%1e3,microseconds:e(1e3*t)%1e3,nanoseconds:e(1e6*t)%1e3}}},3385:(t,e,n)=>{"use strict"
|
|||
|
const r=n(2610),i=(t,e)=>1===e?t:`${t}s`
|
|||
|
t.exports=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
|
|||
|
if(!Number.isFinite(t))throw new TypeError("Expected a finite number")
|
|||
|
e.colonNotation&&(e.compact=!1,e.formatSubMilliseconds=!1,e.separateMilliseconds=!1,e.verbose=!1),e.compact&&(e.secondsDecimalDigits=0,e.millisecondsDecimalDigits=0)
|
|||
|
const n=[],o=(t,e)=>{const n=Math.floor(t*10**e+1e-7)
|
|||
|
return(Math.round(n)/10**e).toFixed(e)},a=(t,r,o,a)=>{if(!(0!==n.length&&e.colonNotation||0!==t||e.colonNotation&&"m"===o))return
|
|||
|
let u,c
|
|||
|
if(a=(a||t||"0").toString(),e.colonNotation){u=n.length>0?":":"",c=""
|
|||
|
const t=a.includes(".")?a.split(".")[0].length:a.length,e=n.length>0?2:1
|
|||
|
a="0".repeat(Math.max(0,e-t))+a}else u="",c=e.verbose?" "+i(r,t):o
|
|||
|
n.push(u+a+c)},u=r(t)
|
|||
|
if(a(Math.trunc(u.days/365),"year","y"),a(u.days%365,"day","d"),a(u.hours,"hour","h"),a(u.minutes,"minute","m"),e.separateMilliseconds||e.formatSubMilliseconds||!e.colonNotation&&t<1e3)if(a(u.seconds,"second","s"),e.formatSubMilliseconds)a(u.milliseconds,"millisecond","ms"),a(u.microseconds,"microsecond","µs"),a(u.nanoseconds,"nanosecond","ns")
|
|||
|
else{const t=u.milliseconds+u.microseconds/1e3+u.nanoseconds/1e6,n="number"==typeof e.millisecondsDecimalDigits?e.millisecondsDecimalDigits:0,r=t>=1?Math.round(t):Math.ceil(t),i=n?t.toFixed(n):r
|
|||
|
a(Number.parseFloat(i,10),"millisecond","ms",i)}else{const n=o(t/1e3%60,"number"==typeof e.secondsDecimalDigits?e.secondsDecimalDigits:1),r=e.keepDecimalsOnWholeSeconds?n:n.replace(/\.0+$/,"")
|
|||
|
a(Number.parseFloat(r,10),"second","s",r)}if(0===n.length)return"0"+(e.verbose?" milliseconds":"ms")
|
|||
|
if(e.compact)return n[0]
|
|||
|
if("number"==typeof e.unitCount){const t=e.colonNotation?"":" "
|
|||
|
return n.slice(0,Math.max(e.unitCount,1)).join(t)}return e.colonNotation?n.join(""):n.join(" ")}},7114:(t,e,n)=>{"use strict"
|
|||
|
var r
|
|||
|
n.r(e),n.d(e,{default:()=>i})
|
|||
|
const i=function(){function t(){this.pool=[],this.flush()}return t.prototype.flush=function(){var t=this
|
|||
|
r=window.requestAnimationFrame((function(){var e=t.pool
|
|||
|
t.reset(),e.forEach((function(t){t[Object.keys(t)[0]]()})),t.flush()}))},t.prototype.add=function(t,e){var n
|
|||
|
return this.pool.push(((n={})[t]=e,n)),e},t.prototype.remove=function(t){this.pool=this.pool.filter((function(e){return!e[t]}))},t.prototype.reset=function(){this.pool=[]},t.prototype.stop=function(){window.cancelAnimationFrame(r)},t}()},1499:(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 u(t){return t instanceof i(t).HTMLElement||t instanceof HTMLElement}function c(t){return"undefined"!=typeof ShadowRoot&&(t instanceof i(t).ShadowRoot||t instanceof ShadowRoot)}function s(t){return t?(t.nodeName||"").toLowerCase():null}function f(t){return((a(t)?t.ownerDocument:t.document)||window.document).documentElement}function l(t){return r(f(t)).left+o(t).scrollLeft}function h(t){return i(t).getComputedStyle(t)}function d(t){var e=h(t),n=e.overflow,r=e.overflowX,i=e.overflowY
|
|||
|
return/auto|scroll|overlay|hidden/.test(n+i+r)}function p(t,e,n){void 0===n&&(n=!1)
|
|||
|
var a,c,h=f(e),p=r(t),y=u(e),b={scrollLeft:0,scrollTop:0},v={x:0,y:0}
|
|||
|
return(y||!y&&!n)&&(("body"!==s(e)||d(h))&&(b=(a=e)!==i(a)&&u(a)?{scrollLeft:(c=a).scrollLeft,scrollTop:c.scrollTop}:o(a)),u(e)?((v=r(e)).x+=e.clientLeft,v.y+=e.clientTop):h&&(v.x=l(h))),{x:p.left+b.scrollLeft-v.x,y:p.top+b.scrollTop-v.y,width:p.width,height:p.height}}function y(t){var e=r(t),n=t.offsetWidth,i=t.offsetHeight
|
|||
|
return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function b(t){return"html"===s(t)?t:t.assignedSlot||t.parentNode||(c(t)?t.host:null)||f(t)}function v(t){return["html","body","#document"].indexOf(s(t))>=0?t.ownerDocument.body:u(t)&&d(t)?t:v(b(t))}function g(t,e){var n
|
|||
|
void 0===e&&(e=[])
|
|||
|
var r=v(t),o=r===(null==(n=t.ownerDocument)?void 0:n.body),a=i(r),u=o?[a].concat(a.visualViewport||[],d(r)?r:[]):r,c=e.concat(u)
|
|||
|
return o?c:c.concat(g(b(u)))}function m(t){return["table","td","th"].indexOf(s(t))>=0}function _(t){return u(t)&&"fixed"!==h(t).position?t.offsetParent:null}function w(t){for(var e=i(t),n=_(t);n&&m(n)&&"static"===h(n).position;)n=_(n)
|
|||
|
return n&&("html"===s(n)||"body"===s(n)&&"static"===h(n).position)?e:n||function(t){for(var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=b(t);u(n)&&["html","body"].indexOf(s(n))<0;){var r=h(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,{animateFill:()=>oe,createSingleton:()=>ne,default:()=>de,delegate:()=>ie,followCursor:()=>se,hideAll:()=>te,inlinePositioning:()=>fe,roundArrow:()=>lt,sticky:()=>le})
|
|||
|
var x="top",A="bottom",E="right",k="left",D="auto",C=[x,A,E,k],O="start",S="end",M="viewport",F="popper",T=C.reduce((function(t,e){return t.concat([e+"-"+O,e+"-"+S])}),[]),B=[].concat(C,[D]).reduce((function(t,e){return t.concat([e,e+"-"+O,e+"-"+S])}),[]),P=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]
|
|||
|
function j(t){var e=new Map,n=new Set,r=[]
|
|||
|
function i(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var r=e.get(t)
|
|||
|
r&&i(r)}})),r.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||i(t)})),r}var N={placement:"bottom",modifiers:[],strategy:"absolute"}
|
|||
|
function R(){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)}))}var L={passive:!0}
|
|||
|
const I={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,u=r.resize,c=void 0===u||u,s=i(e.elements.popper),f=[].concat(e.scrollParents.reference,e.scrollParents.popper)
|
|||
|
return a&&f.forEach((function(t){t.addEventListener("scroll",n.update,L)})),c&&s.addEventListener("resize",n.update,L),function(){a&&f.forEach((function(t){t.removeEventListener("scroll",n.update,L)})),c&&s.removeEventListener("resize",n.update,L)}},data:{}}
|
|||
|
function $(t){return t.split("-")[0]}function U(t){return t.split("-")[1]}function z(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Z(t){var e,n=t.reference,r=t.element,i=t.placement,o=i?$(i):null,a=i?U(i):null,u=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2
|
|||
|
switch(o){case x:e={x:u,y:n.y-r.height}
|
|||
|
break
|
|||
|
case A:e={x:u,y:n.y+n.height}
|
|||
|
break
|
|||
|
case E:e={x:n.x+n.width,y:c}
|
|||
|
break
|
|||
|
case k:e={x:n.x-r.width,y:c}
|
|||
|
break
|
|||
|
default:e={x:n.x,y:n.y}}var s=o?z(o):null
|
|||
|
if(null!=s){var f="y"===s?"height":"width"
|
|||
|
switch(a){case O:e[s]=e[s]-(n[f]/2-r[f]/2)
|
|||
|
break
|
|||
|
case S:e[s]=e[s]+(n[f]/2-r[f]/2)}}return e}const q={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name
|
|||
|
e.modifiersData[n]=Z({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}}
|
|||
|
var V=Math.max,H=Math.min,Y=Math.round,G={top:"auto",right:"auto",bottom:"auto",left:"auto"}
|
|||
|
function K(t){var e,n=t.popper,r=t.popperRect,o=t.placement,a=t.offsets,u=t.position,c=t.gpuAcceleration,s=t.adaptive,l=t.roundOffsets,d=!0===l?function(t){var e=t.x,n=t.y,r=window.devicePixelRatio||1
|
|||
|
return{x:Y(Y(e*r)/r)||0,y:Y(Y(n*r)/r)||0}}(a):"function"==typeof l?l(a):a,p=d.x,y=void 0===p?0:p,b=d.y,v=void 0===b?0:b,g=a.hasOwnProperty("x"),m=a.hasOwnProperty("y"),_=k,D=x,C=window
|
|||
|
if(s){var O=w(n),S="clientHeight",M="clientWidth"
|
|||
|
O===i(n)&&"static"!==h(O=f(n)).position&&(S="scrollHeight",M="scrollWidth"),o===x&&(D=A,v-=O[S]-r.height,v*=c?1:-1),o===k&&(_=E,y-=O[M]-r.width,y*=c?1:-1)}var F,T=Object.assign({position:u},s&&G)
|
|||
|
return c?Object.assign({},T,((F={})[D]=m?"0":"",F[_]=g?"0":"",F.transform=(C.devicePixelRatio||1)<2?"translate("+y+"px, "+v+"px)":"translate3d("+y+"px, "+v+"px, 0)",F)):Object.assign({},T,((e={})[D]=m?v+"px":"",e[_]=g?y+"px":"",e.transform="",e))}const W={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]
|
|||
|
u(i)&&s(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}),{})
|
|||
|
u(r)&&s(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]}
|
|||
|
var X={left:"right",right:"left",bottom:"top",top:"bottom"}
|
|||
|
function J(t){return t.replace(/left|right|bottom|top/g,(function(t){return X[t]}))}var Q={start:"end",end:"start"}
|
|||
|
function tt(t){return t.replace(/start|end/g,(function(t){return Q[t]}))}function et(t,e){var n=e.getRootNode&&e.getRootNode()
|
|||
|
if(t.contains(e))return!0
|
|||
|
if(n&&c(n)){var r=e
|
|||
|
do{if(r&&t.isSameNode(r))return!0
|
|||
|
r=r.parentNode||r.host}while(r)}return!1}function nt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function rt(t,e){return e===M?nt(function(t){var e=i(t),n=f(t),r=e.visualViewport,o=n.clientWidth,a=n.clientHeight,u=0,c=0
|
|||
|
return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(u=r.offsetLeft,c=r.offsetTop)),{width:o,height:a,x:u+l(t),y:c}}(t)):u(e)?function(t){var e=r(t)
|
|||
|
return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):nt(function(t){var e,n=f(t),r=o(t),i=null==(e=t.ownerDocument)?void 0:e.body,a=V(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),u=V(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),c=-r.scrollLeft+l(t),s=-r.scrollTop
|
|||
|
return"rtl"===h(i||n).direction&&(c+=V(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:u,x:c,y:s}}(f(t)))}function it(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ot(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function at(t,e){void 0===e&&(e={})
|
|||
|
var n=e,i=n.placement,o=void 0===i?t.placement:i,c=n.boundary,l=void 0===c?"clippingParents":c,d=n.rootBoundary,p=void 0===d?M:d,y=n.elementContext,v=void 0===y?F:y,m=n.altBoundary,_=void 0!==m&&m,k=n.padding,D=void 0===k?0:k,O=it("number"!=typeof D?D:ot(D,C)),S=v===F?"reference":F,T=t.elements.reference,B=t.rects.popper,P=t.elements[_?S:v],j=function(t,e,n){var r="clippingParents"===e?function(t){var e=g(b(t)),n=["absolute","fixed"].indexOf(h(t).position)>=0&&u(t)?w(t):t
|
|||
|
return a(n)?e.filter((function(t){return a(t)&&et(t,n)&&"body"!==s(t)})):[]}(t):[].concat(e),i=[].concat(r,[n]),o=i[0],c=i.reduce((function(e,n){var r=rt(t,n)
|
|||
|
return e.top=V(r.top,e.top),e.right=H(r.right,e.right),e.bottom=H(r.bottom,e.bottom),e.left=V(r.left,e.left),e}),rt(t,o))
|
|||
|
return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}(a(P)?P:P.contextElement||f(t.elements.popper),l,p),N=r(T),R=Z({reference:N,element:B,strategy:"absolute",placement:o}),L=nt(Object.assign({},B,R)),I=v===F?L:N,$={top:j.top-I.top+O.top,bottom:I.bottom-j.bottom+O.bottom,left:j.left-I.left+O.left,right:I.right-j.right+O.right},U=t.modifiersData.offset
|
|||
|
if(v===F&&U){var z=U[o]
|
|||
|
Object.keys($).forEach((function(t){var e=[E,A].indexOf(t)>=0?1:-1,n=[x,A].indexOf(t)>=0?"y":"x"
|
|||
|
$[t]+=z[n]*e}))}return $}function ut(t,e,n){return V(t,H(e,n))}function ct(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function st(t){return[x,E,A,k].some((function(e){return t[e]>=0}))}var ft=function(t){void 0===t&&(t={})
|
|||
|
var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,i=e.defaultOptions,o=void 0===i?N:i
|
|||
|
return function(t,e,n){void 0===n&&(n=o)
|
|||
|
var i,u,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},N,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},s=[],f=!1,l={state:c,setOptions:function(n){h(),c.options=Object.assign({},o,c.options,n),c.scrollParents={reference:a(t)?g(t):t.contextElement?g(t.contextElement):[],popper:g(e)}
|
|||
|
var i,u,f=function(t){var e=j(t)
|
|||
|
return P.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((i=[].concat(r,c.options.modifiers),u=i.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}),{}),Object.keys(u).map((function(t){return u[t]}))))
|
|||
|
return c.orderedModifiers=f.filter((function(t){return t.enabled})),c.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:c,name:e,instance:l,options:r})
|
|||
|
s.push(o||function(){})}})),l.update()},forceUpdate:function(){if(!f){var t=c.elements,e=t.reference,n=t.popper
|
|||
|
if(R(e,n)){c.rects={reference:p(e,w(n),"fixed"===c.options.strategy),popper:y(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(t){return c.modifiersData[t.name]=Object.assign({},t.data)}))
|
|||
|
for(var r=0;r<c.orderedModifiers.length;r++)if(!0!==c.reset){var i=c.orderedModifiers[r],o=i.fn,a=i.options,u=void 0===a?{}:a,s=i.name
|
|||
|
"function"==typeof o&&(c=o({state:c,options:u,name:s,instance:l})||c)}else c.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){l.forceUpdate(),t(c)}))},function(){return u||(u=new Promise((function(t){Promise.resolve().then((function(){u=void 0,t(i())}))}))),u}),destroy:function(){h(),f=!0}}
|
|||
|
if(!R(t,e))return l
|
|||
|
function h(){s.forEach((function(t){return t()})),s=[]}return l.setOptions(n).then((function(t){!f&&n.onFirstUpdate&&n.onFirstUpdate(t)})),l}}({defaultModifiers:[I,q,{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,u=n.roundOffsets,c=void 0===u||u,s={placement:$(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i}
|
|||
|
null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,K(Object.assign({},s,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,K(Object.assign({},s,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},W,{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=B.reduce((function(t,n){return t[n]=function(t,e,n){var r=$(t),i=[k,x].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=o[0],u=o[1]
|
|||
|
return a=a||0,u=(u||0)*i,[k,E].indexOf(r)>=0?{x:u,y:a}:{x:a,y:u}}(n,e.rects,o),t}),{}),u=a[e.placement],c=u.x,s=u.y
|
|||
|
null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=s),e.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name
|
|||
|
if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,u=void 0===a||a,c=n.fallbackPlacements,s=n.padding,f=n.boundary,l=n.rootBoundary,h=n.altBoundary,d=n.flipVariations,p=void 0===d||d,y=n.allowedAutoPlacements,b=e.options.placement,v=$(b),g=c||(v!==b&&p?function(t){if($(t)===D)return[]
|
|||
|
var e=J(t)
|
|||
|
return[tt(t),e,tt(e)]}(b):[J(b)]),m=[b].concat(g).reduce((function(t,n){return t.concat($(n)===D?function(t,e){void 0===e&&(e={})
|
|||
|
var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,u=n.flipVariations,c=n.allowedAutoPlacements,s=void 0===c?B:c,f=U(r),l=f?u?T:T.filter((function(t){return U(t)===f})):C,h=l.filter((function(t){return s.indexOf(t)>=0}))
|
|||
|
0===h.length&&(h=l)
|
|||
|
var d=h.reduce((function(e,n){return e[n]=at(t,{placement:n,boundary:i,rootBoundary:o,padding:a})[$(n)],e}),{})
|
|||
|
return Object.keys(d).sort((function(t,e){return d[t]-d[e]}))}(e,{placement:n,boundary:f,rootBoundary:l,padding:s,flipVariations:p,allowedAutoPlacements:y}):n)}),[]),_=e.rects.reference,w=e.rects.popper,S=new Map,M=!0,F=m[0],P=0;P<m.length;P++){var j=m[P],N=$(j),R=U(j)===O,L=[x,A].indexOf(N)>=0,I=L?"width":"height",z=at(e,{placement:j,boundary:f,rootBoundary:l,altBoundary:h,padding:s}),Z=L?R?E:k:R?A:x
|
|||
|
_[I]>w[I]&&(Z=J(Z))
|
|||
|
var q=J(Z),V=[]
|
|||
|
if(o&&V.push(z[N]<=0),u&&V.push(z[Z]<=0,z[q]<=0),V.every((function(t){return t}))){F=j,M=!1
|
|||
|
break}S.set(j,V)}if(M)for(var H=function(t){var e=m.find((function(e){var n=S.get(e)
|
|||
|
if(n)return n.slice(0,t).every((function(t){return t}))}))
|
|||
|
if(e)return F=e,"break"},Y=p?3:1;Y>0&&"break"!==H(Y);Y--);e.placement!==F&&(e.modifiersData[r]._skip=!0,e.placement=F,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,u=void 0!==a&&a,c=n.boundary,s=n.rootBoundary,f=n.altBoundary,l=n.padding,h=n.tether,d=void 0===h||h,p=n.tetherOffset,b=void 0===p?0:p,v=at(e,{boundary:c,rootBoundary:s,padding:l,altBoundary:f}),g=$(e.placement),m=U(e.placement),_=!m,D=z(g),C="x"===D?"y":"x",S=e.modifiersData.popperOffsets,M=e.rects.reference,F=e.rects.popper,T="function"==typeof b?b(Object.assign({},e.rects,{placement:e.placement})):b,B={x:0,y:0}
|
|||
|
if(S){if(o||u){var P="y"===D?x:k,j="y"===D?A:E,N="y"===D?"height":"width",R=S[D],L=S[D]+v[P],I=S[D]-v[j],Z=d?-F[N]/2:0,q=m===O?M[N]:F[N],Y=m===O?-F[N]:-M[N],G=e.elements.arrow,K=d&&G?y(G):{width:0,height:0},W=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=W[P],J=W[j],Q=ut(0,M[N],K[N]),tt=_?M[N]/2-Z-Q-X-T:q-Q-X-T,et=_?-M[N]/2+Z+Q+J+T:Y+Q+J+T,nt=e.elements.arrow&&w(e.elements.arrow),rt=nt?"y"===D?nt.clientTop||0:nt.clientLeft||0:0,it=e.modifiersData.offset?e.modifiersData.offset[e.placement][D]:0,ot=S[D]+tt-it-rt,ct=S[D]+et-it
|
|||
|
if(o){var st=ut(d?H(L,ot):L,R,d?V(I,ct):I)
|
|||
|
S[D]=st,B[D]=st-R}if(u){var ft="x"===D?x:k,lt="x"===D?A:E,ht=S[C],dt=ht+v[ft],pt=ht-v[lt],yt=ut(d?H(dt,ot):dt,ht,d?V(pt,ct):pt)
|
|||
|
S[C]=yt,B[C]=yt-ht}}e.modifiersData[r]=B}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,u=$(n.placement),c=z(u),s=[k,E].indexOf(u)>=0?"height":"width"
|
|||
|
if(o&&a){var f=function(t,e){return it("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ot(t,C))}(i.padding,n),l=y(o),h="y"===c?x:k,d="y"===c?A:E,p=n.rects.reference[s]+n.rects.reference[c]-a[c]-n.rects.popper[s],b=a[c]-n.rects.reference[c],v=w(o),g=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,m=p/2-b/2,_=f[h],D=g-l[s]-f[d],O=g/2-l[s]/2+m,S=ut(_,O,D),M=c
|
|||
|
n.modifiersData[r]=((e={})[M]=S,e.centerOffset=S-O,e)}},effect:function(t){var e=t.state,n=t.options.element,r=void 0===n?"[data-popper-arrow]":n
|
|||
|
null!=r&&("string"!=typeof r||(r=e.elements.popper.querySelector(r)))&&et(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=at(e,{elementContext:"reference"}),u=at(e,{altBoundary:!0}),c=ct(a,r),s=ct(u,i,o),f=st(c),l=st(s)
|
|||
|
e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:s,isReferenceHidden:f,hasPopperEscaped:l},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":l})}}]}),lt='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',ht="tippy-content",dt="tippy-backdrop",pt="tippy-arrow",yt="tippy-svg-arrow",bt={passive:!0,capture:!0}
|
|||
|
function vt(t,e,n){if(Array.isArray(t)){var r=t[e]
|
|||
|
return null==r?Array.isArray(n)?n[e]:n:r}return t}function gt(t,e){var n={}.toString.call(t)
|
|||
|
return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function mt(t,e){return"function"==typeof t?t.apply(void 0,e):t}function _t(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout((function(){t(r)}),e)}
|
|||
|
var n}function wt(t,e){var n=Object.assign({},t)
|
|||
|
return e.forEach((function(t){delete n[t]})),n}function xt(t){return[].concat(t)}function At(t,e){-1===t.indexOf(e)&&t.push(e)}function Et(t){return t.split("-")[0]}function kt(t){return[].slice.call(t)}function Dt(){return document.createElement("div")}function Ct(t){return["Element","Fragment"].some((function(e){return gt(t,e)}))}function Ot(t){return gt(t,"MouseEvent")}function St(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function Mt(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function Ft(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function Tt(t){var e,n=xt(t)[0]
|
|||
|
return(null==n||null==(e=n.ownerDocument)?void 0:e.body)?n.ownerDocument:document}function Bt(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[r](e,n)}))}var Pt={isTouch:!1},jt=0
|
|||
|
function Nt(){Pt.isTouch||(Pt.isTouch=!0,window.performance&&document.addEventListener("mousemove",Rt))}function Rt(){var t=performance.now()
|
|||
|
t-jt<20&&(Pt.isTouch=!1,document.removeEventListener("mousemove",Rt)),jt=t}function Lt(){var t=document.activeElement
|
|||
|
if(St(t)){var e=t._tippy
|
|||
|
t.blur&&!e.state.isVisible&&t.blur()}}var It="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",$t=/MSIE |Trident\//.test(It),Ut=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),zt=Object.keys(Ut)
|
|||
|
function Zt(t){var e=(t.plugins||[]).reduce((function(e,n){var r=n.name,i=n.defaultValue
|
|||
|
return r&&(e[r]=void 0!==t[r]?t[r]:i),e}),{})
|
|||
|
return Object.assign({},t,{},e)}function qt(t,e){var n=Object.assign({},e,{content:mt(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(Zt(Object.assign({},Ut,{plugins:e}))):zt).reduce((function(e,n){var r=(t.getAttribute("data-tippy-"+n)||"").trim()
|
|||
|
if(!r)return e
|
|||
|
if("content"===n)e[n]=r
|
|||
|
else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e}),{})}(t,e.plugins))
|
|||
|
return n.aria=Object.assign({},Ut.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}function Vt(t,e){t.innerHTML=e}function Ht(t){var e=Dt()
|
|||
|
return!0===t?e.className=pt:(e.className=yt,Ct(t)?e.appendChild(t):Vt(e,t)),e}function Yt(t,e){Ct(e.content)?(Vt(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?Vt(t,e.content):t.textContent=e.content)}function Gt(t){var e=t.firstElementChild,n=kt(e.children)
|
|||
|
return{box:e,content:n.find((function(t){return t.classList.contains(ht)})),arrow:n.find((function(t){return t.classList.contains(pt)||t.classList.contains(yt)})),backdrop:n.find((function(t){return t.classList.contains(dt)}))}}function Kt(t){var e=Dt(),n=Dt()
|
|||
|
n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1")
|
|||
|
var r=Dt()
|
|||
|
function i(n,r){var i=Gt(e),o=i.box,a=i.content,u=i.arrow
|
|||
|
r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Yt(a,t.props),r.arrow?u?n.arrow!==r.arrow&&(o.removeChild(u),o.appendChild(Ht(r.arrow))):o.appendChild(Ht(r.arrow)):u&&o.removeChild(u)}return r.className=ht,r.setAttribute("data-state","hidden"),Yt(r,t.props),e.appendChild(n),n.appendChild(r),i(t.props,t.props),{popper:e,onUpdate:i}}Kt.$$tippy=!0
|
|||
|
var Wt=1,Xt=[],Jt=[]
|
|||
|
function Qt(t,e){void 0===e&&(e={})
|
|||
|
var n=Ut.plugins.concat(e.plugins||[])
|
|||
|
document.addEventListener("touchstart",Nt,bt),window.addEventListener("blur",Lt)
|
|||
|
var r,i=Object.assign({},e,{plugins:n}),o=(r=t,Ct(r)?[r]:function(t){return gt(t,"NodeList")}(r)?kt(r):Array.isArray(r)?r:kt(document.querySelectorAll(r))).reduce((function(t,e){var n=e&&function(t,e){var n,r,i,o,a,u,c,s,f,l=qt(t,Object.assign({},Ut,{},Zt((n=e,Object.keys(n).reduce((function(t,e){return void 0!==n[e]&&(t[e]=n[e]),t}),{}))))),h=!1,d=!1,p=!1,y=!1,b=[],v=_t(G,l.interactiveDebounce),g=Wt++,m=(f=l.plugins).filter((function(t,e){return f.indexOf(t)===e})),_={id:g,reference:t,popper:Dt(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:m,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)},setProps:function(e){if(!_.state.isDestroyed){P("onBeforeUpdate",[_,e]),H()
|
|||
|
var n=_.props,r=qt(t,Object.assign({},_.props,{},e,{ignoreAttributes:!0}))
|
|||
|
_.props=r,V(),n.interactiveDebounce!==r.interactiveDebounce&&(R(),v=_t(G,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?xt(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):r.triggerTarget&&t.removeAttribute("aria-expanded"),N(),B(),A&&A(n,r),_.popperInstance&&(J(),tt().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)}))),P("onAfterUpdate",[_,e])}},setContent:function(t){_.setProps({content:t})},show:function(){var t=_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,r=Pt.isTouch&&!_.props.touch,i=vt(_.props.duration,0,Ut.duration)
|
|||
|
if(!(t||e||n||r||S().hasAttribute("disabled")||(P("onShow",[_],!1),!1===_.props.onShow(_)))){if(_.state.isVisible=!0,O()&&(x.style.visibility="visible"),B(),U(),_.state.isMounted||(x.style.transition="none"),O()){var o=F()
|
|||
|
Mt([o.box,o.content],0)}var a,u,s
|
|||
|
c=function(){var t
|
|||
|
if(_.state.isVisible&&!y){if(y=!0,x.offsetHeight,x.style.transition=_.props.moveTransition,O()&&_.props.animation){var e=F(),n=e.box,r=e.content
|
|||
|
Mt([n,r],i),Ft([n,r],"visible")}j(),N(),At(Jt,_),null==(t=_.popperInstance)||t.forceUpdate(),_.state.isMounted=!0,P("onMount",[_]),_.props.animation&&O()&&function(t,e){Z(t,(function(){_.state.isShown=!0,P("onShown",[_])}))}(i)}},u=_.props.appendTo,s=S(),(a=_.props.interactive&&u===Ut.appendTo||"parent"===u?s.parentNode:mt(u,[s])).contains(x)||a.appendChild(x),J()}},hide:function(){var t=!_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,r=vt(_.props.duration,1,Ut.duration)
|
|||
|
if(!(t||e||n)&&(P("onHide",[_],!1),!1!==_.props.onHide(_))){if(_.state.isVisible=!1,_.state.isShown=!1,y=!1,h=!1,O()&&(x.style.visibility="hidden"),R(),z(),B(),O()){var i=F(),o=i.box,a=i.content
|
|||
|
_.props.animation&&(Mt([o,a],r),Ft([o,a],"hidden"))}j(),N(),_.props.animation?O()&&function(t,e){Z(t,(function(){!_.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&e()}))}(r,_.unmount):_.unmount()}},hideWithInteractivity:function(t){M().addEventListener("mousemove",v),At(Xt,v),v(t)},enable:function(){_.state.isEnabled=!0},disable:function(){_.hide(),_.state.isEnabled=!1},unmount:function(){_.state.isVisible&&_.hide(),_.state.isMounted&&(Q(),tt().forEach((function(t){t._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x),Jt=Jt.filter((function(t){return t!==_})),_.state.isMounted=!1,P("onHidden",[_]))},destroy:function(){_.state.isDestroyed||(_.clearDelayTimeouts(),_.unmount(),H(),delete t._tippy,_.state.isDestroyed=!0,P("onDestroy",[_]))}}
|
|||
|
if(!l.render)return _
|
|||
|
var w=l.render(_),x=w.popper,A=w.onUpdate
|
|||
|
x.setAttribute("data-tippy-root",""),x.id="tippy-"+_.id,_.popper=x,t._tippy=_,x._tippy=_
|
|||
|
var E=m.map((function(t){return t.fn(_)})),k=t.hasAttribute("aria-expanded")
|
|||
|
return V(),N(),B(),P("onCreate",[_]),l.showOnCreate&&et(),x.addEventListener("mouseenter",(function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(t){_.props.interactive&&_.props.trigger.indexOf("mouseenter")>=0&&(M().addEventListener("mousemove",v),v(t))})),_
|
|||
|
function D(){var t=_.props.touch
|
|||
|
return Array.isArray(t)?t:[t,0]}function C(){return"hold"===D()[0]}function O(){var t
|
|||
|
return!!(null==(t=_.props.render)?void 0:t.$$tippy)}function S(){return s||t}function M(){var t=S().parentNode
|
|||
|
return t?Tt(t):document}function F(){return Gt(x)}function T(t){return _.state.isMounted&&!_.state.isVisible||Pt.isTouch||a&&"focus"===a.type?0:vt(_.props.delay,t?0:1,Ut.delay)}function B(){x.style.pointerEvents=_.props.interactive&&_.state.isVisible?"":"none",x.style.zIndex=""+_.props.zIndex}function P(t,e,n){var r
|
|||
|
void 0===n&&(n=!0),E.forEach((function(n){n[t]&&n[t].apply(void 0,e)})),n&&(r=_.props)[t].apply(r,e)}function j(){var e=_.props.aria
|
|||
|
if(e.content){var n="aria-"+e.content,r=x.id
|
|||
|
xt(_.props.triggerTarget||t).forEach((function(t){var e=t.getAttribute(n)
|
|||
|
if(_.state.isVisible)t.setAttribute(n,e?e+" "+r:r)
|
|||
|
else{var i=e&&e.replace(r,"").trim()
|
|||
|
i?t.setAttribute(n,i):t.removeAttribute(n)}}))}}function N(){!k&&_.props.aria.expanded&&xt(_.props.triggerTarget||t).forEach((function(t){_.props.interactive?t.setAttribute("aria-expanded",_.state.isVisible&&t===S()?"true":"false"):t.removeAttribute("aria-expanded")}))}function R(){M().removeEventListener("mousemove",v),Xt=Xt.filter((function(t){return t!==v}))}function L(t){if(!(Pt.isTouch&&(p||"mousedown"===t.type)||_.props.interactive&&x.contains(t.target))){if(S().contains(t.target)){if(Pt.isTouch)return
|
|||
|
if(_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else P("onClickOutside",[_,t])
|
|||
|
!0===_.props.hideOnClick&&(_.clearDelayTimeouts(),_.hide(),d=!0,setTimeout((function(){d=!1})),_.state.isMounted||z())}}function I(){p=!0}function $(){p=!1}function U(){var t=M()
|
|||
|
t.addEventListener("mousedown",L,!0),t.addEventListener("touchend",L,bt),t.addEventListener("touchstart",$,bt),t.addEventListener("touchmove",I,bt)}function z(){var t=M()
|
|||
|
t.removeEventListener("mousedown",L,!0),t.removeEventListener("touchend",L,bt),t.removeEventListener("touchstart",$,bt),t.removeEventListener("touchmove",I,bt)}function Z(t,e){var n=F().box
|
|||
|
function r(t){t.target===n&&(Bt(n,"remove",r),e())}if(0===t)return e()
|
|||
|
Bt(n,"remove",u),Bt(n,"add",r),u=r}function q(e,n,r){void 0===r&&(r=!1),xt(_.props.triggerTarget||t).forEach((function(t){t.addEventListener(e,n,r),b.push({node:t,eventType:e,handler:n,options:r})}))}function V(){var t
|
|||
|
C()&&(q("touchstart",Y,{passive:!0}),q("touchend",K,{passive:!0})),(t=_.props.trigger,t.split(/\s+/).filter(Boolean)).forEach((function(t){if("manual"!==t)switch(q(t,Y),t){case"mouseenter":q("mouseleave",K)
|
|||
|
break
|
|||
|
case"focus":q($t?"focusout":"blur",W)
|
|||
|
break
|
|||
|
case"focusin":q("focusout",W)}}))}function H(){b.forEach((function(t){var e=t.node,n=t.eventType,r=t.handler,i=t.options
|
|||
|
e.removeEventListener(n,r,i)})),b=[]}function Y(t){var e,n=!1
|
|||
|
if(_.state.isEnabled&&!X(t)&&!d){var r="focus"===(null==(e=a)?void 0:e.type)
|
|||
|
a=t,s=t.currentTarget,N(),!_.state.isVisible&&Ot(t)&&Xt.forEach((function(e){return e(t)})),"click"===t.type&&(_.props.trigger.indexOf("mouseenter")<0||h)&&!1!==_.props.hideOnClick&&_.state.isVisible?n=!0:et(t),"click"===t.type&&(h=!n),n&&!r&&nt(t)}}function G(t){var e=t.target,n=S().contains(e)||x.contains(e)
|
|||
|
if("mousemove"!==t.type||!n){var r=tt().concat(x).map((function(t){var e,n=null==(e=t._tippy.popperInstance)?void 0:e.state
|
|||
|
return n?{popperRect:t.getBoundingClientRect(),popperState:n,props:l}:null})).filter(Boolean);(function(t,e){var n=e.clientX,r=e.clientY
|
|||
|
return t.every((function(t){var e=t.popperRect,i=t.popperState,o=t.props.interactiveBorder,a=Et(i.placement),u=i.modifiersData.offset
|
|||
|
if(!u)return!0
|
|||
|
var c="bottom"===a?u.top.y:0,s="top"===a?u.bottom.y:0,f="right"===a?u.left.x:0,l="left"===a?u.right.x:0,h=e.top-r+c>o,d=r-e.bottom-s>o,p=e.left-n+f>o,y=n-e.right-l>o
|
|||
|
return h||d||p||y}))})(r,t)&&(R(),nt(t))}}function K(t){X(t)||_.props.trigger.indexOf("click")>=0&&h||(_.props.interactive?_.hideWithInteractivity(t):nt(t))}function W(t){_.props.trigger.indexOf("focusin")<0&&t.target!==S()||_.props.interactive&&t.relatedTarget&&x.contains(t.relatedTarget)||nt(t)}function X(t){return!!Pt.isTouch&&C()!==t.type.indexOf("touch")>=0}function J(){Q()
|
|||
|
var e=_.props,n=e.popperOptions,r=e.placement,i=e.offset,o=e.getReferenceClientRect,a=e.moveTransition,u=O()?Gt(x).arrow:null,s=o?{getBoundingClientRect:o,contextElement:o.contextElement||S()}:t,f=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state
|
|||
|
if(O()){var n=F().box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?n.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?n.setAttribute("data-"+t,""):n.removeAttribute("data-"+t)})),e.attributes.popper={}}}}]
|
|||
|
O()&&u&&f.push({name:"arrow",options:{element:u,padding:3}}),f.push.apply(f,(null==n?void 0:n.modifiers)||[]),_.popperInstance=ft(s,x,Object.assign({},n,{placement:r,onFirstUpdate:c,modifiers:f}))}function Q(){_.popperInstance&&(_.popperInstance.destroy(),_.popperInstance=null)}function tt(){return kt(x.querySelectorAll("[data-tippy-root]"))}function et(t){_.clearDelayTimeouts(),t&&P("onTrigger",[_,t]),U()
|
|||
|
var e=T(!0),n=D(),i=n[0],o=n[1]
|
|||
|
Pt.isTouch&&"hold"===i&&o&&(e=o),e?r=setTimeout((function(){_.show()}),e):_.show()}function nt(t){if(_.clearDelayTimeouts(),P("onUntrigger",[_,t]),_.state.isVisible){if(!(_.props.trigger.indexOf("mouseenter")>=0&&_.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&h)){var e=T(!1)
|
|||
|
e?i=setTimeout((function(){_.state.isVisible&&_.hide()}),e):o=requestAnimationFrame((function(){_.hide()}))}}else z()}}(e,i)
|
|||
|
return n&&t.push(n),t}),[])
|
|||
|
return Ct(t)?o[0]:o}Qt.defaultProps=Ut,Qt.setDefaultProps=function(t){Object.keys(t).forEach((function(e){Ut[e]=t[e]}))},Qt.currentInput=Pt
|
|||
|
var te=function(t){var e=void 0===t?{}:t,n=e.exclude,r=e.duration
|
|||
|
Jt.forEach((function(t){var e=!1
|
|||
|
if(n&&(e=St(n)?t.reference===n:t.popper===n.popper),!e){var i=t.props.duration
|
|||
|
t.setProps({duration:r}),t.hide(),t.state.isDestroyed||t.setProps({duration:i})}}))},ee=Object.assign({},W,{effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}}
|
|||
|
Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow)}}),ne=function(t,e){var n
|
|||
|
void 0===e&&(e={})
|
|||
|
var r,i=t,o=[],a=e.overrides,u=[],c=!1
|
|||
|
function s(){o=i.map((function(t){return t.reference}))}function f(t){i.forEach((function(e){t?e.enable():e.disable()}))}function l(t){return i.map((function(e){var n=e.setProps
|
|||
|
return e.setProps=function(i){n(i),e.reference===r&&t.setProps(i)},function(){e.setProps=n}}))}function h(t,e){var n=o.indexOf(e)
|
|||
|
if(e!==r){r=e
|
|||
|
var u=(a||[]).concat("content").reduce((function(t,e){return t[e]=i[n].props[e],t}),{})
|
|||
|
t.setProps(Object.assign({},u,{getReferenceClientRect:"function"==typeof u.getReferenceClientRect?u.getReferenceClientRect:function(){return e.getBoundingClientRect()}}))}}f(!1),s()
|
|||
|
var d={fn:function(){return{onDestroy:function(){f(!0)},onHidden:function(){r=null},onClickOutside:function(t){t.props.showOnCreate&&!c&&(c=!0,r=null)},onShow:function(t){t.props.showOnCreate&&!c&&(c=!0,h(t,o[0]))},onTrigger:function(t,e){h(t,e.currentTarget)}}}},p=Qt(Dt(),Object.assign({},wt(e,["overrides"]),{plugins:[d].concat(e.plugins||[]),triggerTarget:o,popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((null==(n=e.popperOptions)?void 0:n.modifiers)||[],[ee])})})),y=p.show
|
|||
|
p.show=function(t){if(y(),!r&&null==t)return h(p,o[0])
|
|||
|
if(!r||null!=t){if("number"==typeof t)return o[t]&&h(p,o[t])
|
|||
|
if(i.includes(t)){var e=t.reference
|
|||
|
return h(p,e)}return o.includes(t)?h(p,t):void 0}},p.showNext=function(){var t=o[0]
|
|||
|
if(!r)return p.show(0)
|
|||
|
var e=o.indexOf(r)
|
|||
|
p.show(o[e+1]||t)},p.showPrevious=function(){var t=o[o.length-1]
|
|||
|
if(!r)return p.show(t)
|
|||
|
var e=o.indexOf(r),n=o[e-1]||t
|
|||
|
p.show(n)}
|
|||
|
var b=p.setProps
|
|||
|
return p.setProps=function(t){a=t.overrides||a,b(t)},p.setInstances=function(t){f(!0),u.forEach((function(t){return t()})),i=t,f(!1),s(),l(p),p.setProps({triggerTarget:o})},u=l(p),p},re={mouseover:"mouseenter",focusin:"focus",click:"click"}
|
|||
|
function ie(t,e){var n=[],r=[],i=!1,o=e.target,a=wt(e,["target"]),u=Object.assign({},a,{trigger:"manual",touch:!1}),c=Object.assign({},a,{showOnCreate:!0}),s=Qt(t,u)
|
|||
|
function f(t){if(t.target&&!i){var n=t.target.closest(o)
|
|||
|
if(n){var a=n.getAttribute("data-tippy-trigger")||e.trigger||Ut.trigger
|
|||
|
if(!n._tippy&&!("touchstart"===t.type&&"boolean"==typeof c.touch||"touchstart"!==t.type&&a.indexOf(re[t.type])<0)){var u=Qt(n,c)
|
|||
|
u&&(r=r.concat(u))}}}}function l(t,e,r,i){void 0===i&&(i=!1),t.addEventListener(e,r,i),n.push({node:t,eventType:e,handler:r,options:i})}return xt(s).forEach((function(t){var e=t.destroy,o=t.enable,a=t.disable
|
|||
|
t.destroy=function(t){void 0===t&&(t=!0),t&&r.forEach((function(t){t.destroy()})),r=[],n.forEach((function(t){var e=t.node,n=t.eventType,r=t.handler,i=t.options
|
|||
|
e.removeEventListener(n,r,i)})),n=[],e()},t.enable=function(){o(),r.forEach((function(t){return t.enable()})),i=!1},t.disable=function(){a(),r.forEach((function(t){return t.disable()})),i=!0},function(t){var e=t.reference
|
|||
|
l(e,"touchstart",f,bt),l(e,"mouseover",f),l(e,"focusin",f),l(e,"click",f)}(t)})),s}var oe={name:"animateFill",defaultValue:!1,fn:function(t){var e
|
|||
|
if(!(null==(e=t.props.render)?void 0:e.$$tippy))return{}
|
|||
|
var n=Gt(t.popper),r=n.box,i=n.content,o=t.props.animateFill?function(){var t=Dt()
|
|||
|
return t.className=dt,Ft([t],"hidden"),t}():null
|
|||
|
return{onCreate:function(){o&&(r.insertBefore(o,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(o){var t=r.style.transitionDuration,e=Number(t.replace("ms",""))
|
|||
|
i.style.transitionDelay=Math.round(e/10)+"ms",o.style.transitionDuration=t,Ft([o],"visible")}},onShow:function(){o&&(o.style.transitionDuration="0ms")},onHide:function(){o&&Ft([o],"hidden")}}}},ae={clientX:0,clientY:0},ue=[]
|
|||
|
function ce(t){var e=t.clientX,n=t.clientY
|
|||
|
ae={clientX:e,clientY:n}}var se={name:"followCursor",defaultValue:!1,fn:function(t){var e=t.reference,n=Tt(t.props.triggerTarget||e),r=!1,i=!1,o=!0,a=t.props
|
|||
|
function u(){return"initial"===t.props.followCursor&&t.state.isVisible}function c(){n.addEventListener("mousemove",l)}function s(){n.removeEventListener("mousemove",l)}function f(){r=!0,t.setProps({getReferenceClientRect:null}),r=!1}function l(n){var r=!n.target||e.contains(n.target),i=t.props.followCursor,o=n.clientX,a=n.clientY,u=e.getBoundingClientRect(),c=o-u.left,s=a-u.top
|
|||
|
!r&&t.props.interactive||t.setProps({getReferenceClientRect:function(){var t=e.getBoundingClientRect(),n=o,r=a
|
|||
|
"initial"===i&&(n=t.left+c,r=t.top+s)
|
|||
|
var u="horizontal"===i?t.top:r,f="vertical"===i?t.right:n,l="horizontal"===i?t.bottom:r,h="vertical"===i?t.left:n
|
|||
|
return{width:f-h,height:l-u,top:u,right:f,bottom:l,left:h}}})}function h(){t.props.followCursor&&(ue.push({instance:t,doc:n}),function(t){t.addEventListener("mousemove",ce)}(n))}function d(){0===(ue=ue.filter((function(e){return e.instance!==t}))).filter((function(t){return t.doc===n})).length&&function(t){t.removeEventListener("mousemove",ce)}(n)}return{onCreate:h,onDestroy:d,onBeforeUpdate:function(){a=t.props},onAfterUpdate:function(e,n){var o=n.followCursor
|
|||
|
r||void 0!==o&&a.followCursor!==o&&(d(),o?(h(),!t.state.isMounted||i||u()||c()):(s(),f()))},onMount:function(){t.props.followCursor&&!i&&(o&&(l(ae),o=!1),u()||c())},onTrigger:function(t,e){Ot(e)&&(ae={clientX:e.clientX,clientY:e.clientY}),i="focus"===e.type},onHidden:function(){t.props.followCursor&&(f(),s(),o=!0)}}}},fe={name:"inlinePositioning",defaultValue:!1,fn:function(t){var e,n=t.reference,r=-1,i=!1,o={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(i){var o=i.state
|
|||
|
t.props.inlinePositioning&&(e!==o.placement&&t.setProps({getReferenceClientRect:function(){return function(t){return function(t,e,n,r){if(n.length<2||null===t)return e
|
|||
|
if(2===n.length&&r>=0&&n[0].left>n[1].right)return n[r]||e
|
|||
|
switch(t){case"top":case"bottom":var i=n[0],o=n[n.length-1],a="top"===t,u=i.top,c=o.bottom,s=a?i.left:o.left,f=a?i.right:o.right
|
|||
|
return{top:u,bottom:c,left:s,right:f,width:f-s,height:c-u}
|
|||
|
case"left":case"right":var l=Math.min.apply(Math,n.map((function(t){return t.left}))),h=Math.max.apply(Math,n.map((function(t){return t.right}))),d=n.filter((function(e){return"left"===t?e.left===l:e.right===h})),p=d[0].top,y=d[d.length-1].bottom
|
|||
|
return{top:p,bottom:y,left:l,right:h,width:h-l,height:y-p}
|
|||
|
default:return e}}(Et(t),n.getBoundingClientRect(),kt(n.getClientRects()),r)}(o.placement)}}),e=o.placement)}}
|
|||
|
function a(){var e
|
|||
|
i||(e=function(t,e){var n
|
|||
|
return{popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat(((null==(n=t.popperOptions)?void 0:n.modifiers)||[]).filter((function(t){return t.name!==e.name})),[e])})}}(t.props,o),i=!0,t.setProps(e),i=!1)}return{onCreate:a,onAfterUpdate:a,onTrigger:function(e,n){if(Ot(n)){var i=kt(t.reference.getClientRects()),o=i.find((function(t){return t.left-2<=n.clientX&&t.right+2>=n.clientX&&t.top-2<=n.clientY&&t.bottom+2>=n.clientY}))
|
|||
|
r=i.indexOf(o)}},onUntrigger:function(){r=-1}}}},le={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper
|
|||
|
function r(e){return!0===t.props.sticky||t.props.sticky===e}var i=null,o=null
|
|||
|
function a(){var u=r("reference")?(t.popperInstance?t.popperInstance.state.elements.reference:e).getBoundingClientRect():null,c=r("popper")?n.getBoundingClientRect():null;(u&&he(i,u)||c&&he(o,c))&&t.popperInstance&&t.popperInstance.update(),i=u,o=c,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}}
|
|||
|
function he(t,e){return!t||!e||t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left}Qt.setDefaultProps({render:Kt})
|
|||
|
const de=Qt},2247:(t,e,n)=>{"use strict"
|
|||
|
n.d(e,{ZT:()=>i,ev:()=>a,pi:()=>o})
|
|||
|
var r=function(t,e){return r=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])},r(t,e)}
|
|||
|
function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null")
|
|||
|
function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return 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},o.apply(this,arguments)}
|
|||
|
function a(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n]
|
|||
|
return t}Object.create,Object.create},6530:(t,e,n)=>{"use strict"
|
|||
|
function r(t){return null!==t&&"object"==typeof t&&!(t instanceof Date||t instanceof RegExp)&&!Array.isArray(t)}n.r(e),n.d(e,{BufferedChangeset:()=>vt,CHANGESET:()=>F,Change:()=>o,Changeset:()=>_t,Err:()=>c,ValidatedChangeset:()=>mt,buildOldValues:()=>q,changeset:()=>gt,getChangeValue:()=>u,getDeep:()=>y,getKeyValues:()=>l,isChange:()=>a,isChangeset:()=>T,isObject:()=>r,isPromise:()=>d,keyInObject:()=>B,lookupValidator:()=>b,mergeDeep:()=>J,mergeNested:()=>Z,normalizeObject:()=>E,objectWithout:()=>rt,propertyIsUnsafe:()=>K,pureAssign:()=>D,setDeep:()=>U,take:()=>it})
|
|||
|
var i=Symbol("__value__"),o=function(t){this[i]=t},a=function(t){return r(t)&&i in t}
|
|||
|
function u(t){if(a(t))return t[i]}var c=function(t,e){this.value=t,this.validation=e},s=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},f=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(s(arguments[e]))
|
|||
|
return t}
|
|||
|
function l(t,e){void 0===e&&(e=[])
|
|||
|
var n=[]
|
|||
|
for(var i in t)t[i]&&r(t[i])&&(a(t[i])?n.push({key:f(e,[i]).join("."),value:u(t[i])}):n.push.apply(n,f(l(t[i],f(e,[i])))))
|
|||
|
return n}function h(t,e){void 0===e&&(e=[])
|
|||
|
var n=[]
|
|||
|
for(var i in t)t[i]&&r(t[i])&&(Object.prototype.hasOwnProperty.call(t[i],"value")&&t[i]instanceof c?n.push({key:f(e,[i]).join("."),validation:t[i].validation,value:t[i].value}):"value"!==i&&n.push.apply(n,f(h(t[i],f(e,[i])))))
|
|||
|
return n}function d(t){return r(t)&&function(t){return!!(t&&t.then&&t.catch&&t.finally&&"function"==typeof t.then&&"function"==typeof t.catch&&"function"==typeof t.finally)}(t)}function p(t){return e=this,void 0,r=function(){var e,n
|
|||
|
return 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:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o
|
|||
|
function u(o){return function(u){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,u])}}}(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,Promise.all(t)]
|
|||
|
case 1:return e=r.sent(),[2,0===(n=e.filter((function(t){return"boolean"!=typeof t&&t}))).length||n]
|
|||
|
case 2:return[2,r.sent()]
|
|||
|
case 3:return[2]}}))},new((n=void 0)||(n=Promise))((function(t,i){function o(t){try{u(r.next(t))}catch(t){i(t)}}function a(t){try{u(r.throw(t))}catch(t){i(t)}}function u(e){var r
|
|||
|
e.done?t(e.value):(r=e.value,r instanceof n?r:new n((function(t){t(r)}))).then(o,a)}u((r=r.apply(e,[])).next())}))
|
|||
|
var e,n,r}function y(t,e){var n=t
|
|||
|
if(-1===e.indexOf("."))return n[e]
|
|||
|
for(var r="string"==typeof e?e.split("."):e,i=0;i<r.length;i++){if(null==n)return
|
|||
|
n=n[r[i]]}return n}function b(t){return function(e){var n,i=e.key,o=e.newValue,a=e.oldValue,u=e.changes,c=e.content,s=y(t||{},i)
|
|||
|
return s&&s.validate&&(s=s.validate.bind(s)),!(s&&!r(s))||(n=Array.isArray(s)?function(t,e){var n=e.key,r=e.newValue,i=e.oldValue,o=e.changes,a=e.content,u=Array.from(t.map((function(t){return t&&t.validate&&(t=t.validate.bind(t)),t(n,r,i,o,a)})))
|
|||
|
return u.some(d)?Promise.all(u).then(p):function(t){var e=t.filter((function(t){return"boolean"!=typeof t&&t}))
|
|||
|
return 0===e.length||e}(u)}(s,{key:i,newValue:o,oldValue:a,changes:u,content:c}):s(i,o,a,u,c),d(n)?n.then((function(t){return t})):n)}}var v=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},g=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(v(arguments[e]))
|
|||
|
return t},m=function(){function t(){this.listeners=[]}return t.prototype.addListener=function(t){var e=this
|
|||
|
return this.listeners.push(t),function(){return e.removeListener(t)}},t.prototype.removeListener=function(t){for(var e=0;e<this.listeners.length;e++)if(this.listeners[e]===t)return void this.listeners.splice(e,1)},t.prototype.trigger=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]
|
|||
|
this.listeners.forEach((function(e){return e.apply(void 0,g(t))}))},t}()
|
|||
|
function _(t,e){void 0===t._eventedNotifiers&&(t._eventedNotifiers={})
|
|||
|
var n=t._eventedNotifiers[e]
|
|||
|
return n||(n=t._eventedNotifiers[e]=new m),n}var w,x=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.")},A=function(){return A=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.apply(this,arguments)}
|
|||
|
function E(t,e){if(void 0===e&&(e=r),!t||!e(t))return t
|
|||
|
if(a(t))return u(t)
|
|||
|
var n=A({},t)
|
|||
|
for(var i in n){var o=n[i]
|
|||
|
if(o&&e(o))if(a(o))n[i]=u(o)
|
|||
|
else{try{JSON.stringify(o)}catch(t){break}n[i]=E(o)}}return n}function k(t){for(var e in t){if(a(t[e]))return!0
|
|||
|
if(r(t[e])){var n=k(t[e])
|
|||
|
if(n)return n}}return!1}function D(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]
|
|||
|
return t.reduce((function(t,e){return Object.defineProperties(t,w(e))}),{})}w=void 0!==Object.getOwnPropertyDescriptors?Object.getOwnPropertyDescriptors:function(t){var e={}
|
|||
|
return Object.keys(t).forEach((function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)})),e}
|
|||
|
var C=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},O=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(C(arguments[e]))
|
|||
|
return t}
|
|||
|
function S(t,e,n,i){var o,a
|
|||
|
void 0===i&&(i=[])
|
|||
|
try{for(var u=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.")}(n),c=u.next();!c.done;c=u.next()){var s=c.value,f=t[s]
|
|||
|
"function"==typeof f.validate?e[s]=f:r(f)?S(f,e,Object.keys(f),O(i,[s])):("function"==typeof f||Array.isArray(f)&&f.every((function(t){return"function"==typeof t||"function"==typeof t.validate})))&&(e[O(i,[s]).join(".")]=f)}}catch(t){o={error:t}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return e}function M(t){return t?S(t,{},Object.keys(t)):{}}var F="__CHANGESET__"
|
|||
|
function T(t){return t&&t.__changeset__===F}function B(t,e){var n=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}(e.split(".")),r=n[0],i=n.slice(1)
|
|||
|
if(!r||!(r in t))return!1
|
|||
|
if(!i.length)return r in t
|
|||
|
var o=t[r]
|
|||
|
return null!==o&&"object"==typeof o&&B(t[r],i.join("."))}var 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}
|
|||
|
function j(t){return!!t&&Object.keys(t).every((function(t){return Number.isInteger(parseInt(t,10))}))}function N(t){return t.reduce((function(t,e,n){return t[n]=e,t}),{})}function R(t){var e,n,r=[]
|
|||
|
try{for(var i=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.")}(Object.entries(t)),o=i.next();!o.done;o=i.next()){var a=P(o.value,2),u=a[0],c=a[1]
|
|||
|
r[parseInt(u,10)]=c}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r}var L=function(){return L=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},L.apply(this,arguments)}
|
|||
|
function I(t,e){var n=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}(e.slice(-1),1)[0],r=Object.keys(t).filter((function(t){return t!==n})).reduce((function(e,n){return e[n]=t[n],e}),Object.create(null))
|
|||
|
return L({},r)}function $(t){return"__proto__"!==t&&"constructor"!==t&&"prototype"!==t}function U(t,e,n,i){void 0===i&&(i={safeSet:void 0,safeGet:void 0})
|
|||
|
var c=function(t){return t.split(".")}(e).filter($),s=t
|
|||
|
if(i.safeSet=i.safeSet||function(t,e,n){return t[e]=n},i.safeGet=i.safeGet||function(t,e){return t?t[e]:t},1===c.length)return i.safeSet(t,e,n),t
|
|||
|
for(var f=0;f<c.length;f++){var l=c[f]
|
|||
|
if(Array.isArray(t)&&parseInt(l,10)<0)throw new Error("Negative indices are not allowed as arrays do not serialize values at negative indices")
|
|||
|
var h=r(i.safeGet(t,l)),d=Array.isArray(i.safeGet(t,l)),p=h||d
|
|||
|
if(p){if(p&&a(i.safeGet(t,l))){var y=u(i.safeGet(t,l))
|
|||
|
if(r(y)){var b,v=I(y,c),g=a(n)?u(n):n,m=Array.isArray(t)||j(t),_=m?c.slice(f+1,c.length).join("."):c.slice(1,c.length).join(".")
|
|||
|
b=m&&void 0===g||f===c.length-1?g:U(v,_,g,i),i.safeSet(t,l,new o(b))
|
|||
|
break}i.safeSet(t,l,{})}}else i.safeSet(t,l,{})
|
|||
|
if(f===c.length-1){i.safeSet(t,l,n)
|
|||
|
break}t=i.safeGet(t,l)}return s}var z=Object.keys
|
|||
|
function Z(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]
|
|||
|
var n={}
|
|||
|
return t.forEach((function(t){return z(t).forEach((function(e){return U(n,e,t[e])}))})),n}function q(t,e,n){var r,i,o=Object.create(null)
|
|||
|
try{for(var a=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.")}(e),u=a.next();!u.done;u=a.next()){var c=u.value
|
|||
|
o[c.key]=n(t,c.key)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return o}var V=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},H=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(V(arguments[e]))
|
|||
|
return t}
|
|||
|
function Y(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}(t))}function G(t,e){try{return e in t}catch(t){return!1}}function K(t,e){return G(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function W(t,e,n,r){return Object.keys(t).forEach((function(i){var o=t[i]
|
|||
|
o&&a(o)?n[H(r,[i]).join(".")]=u(o):o&&"object"==typeof o&&W(o,e,n,H(r,[i]))})),n}function X(t,e,n){return n.getKeys(e).forEach((function(r){if(n.propertyIsUnsafe(t,r)){if(n.safeSet){var i=W(e,n,{},[])
|
|||
|
if(Object.keys(i).length>0)for(r in i){var o=i[r]
|
|||
|
n.safeSet(t,r,o)}}}else{if(!G(t,r)||!function(t){return!!t&&"object"==typeof t}(s=e[r])||function(t){var e=Object.prototype.toString.call(t)
|
|||
|
return"[object RegExp]"===e||"[object Date]"===e}(s)||a(e[r])){var c=e[r]
|
|||
|
return c&&a(c)?n.safeSet(t,r,u(c)):n.safeSet(t,r,E(c))}n.safeSet(t,r,J(n.safeGet(t,r),n.safeGet(e,r),n))}var s})),t}function J(t,e,n){void 0===n&&(n={safeGet:void 0,safeSet:void 0,propertyIsUnsafe:void 0,getKeys:void 0}),n.getKeys=n.getKeys||Y,n.propertyIsUnsafe=n.propertyIsUnsafe||K,n.safeGet=n.safeGet||function(t,e){return t[e]},n.safeSet=n.safeSet||function(t,e,n){return t[e]=n}
|
|||
|
var r=Array.isArray(e),i=Array.isArray(t)
|
|||
|
if(r===i)return r||null==t?e:X(t,e,n)
|
|||
|
var o=j(e)
|
|||
|
return i&&o?R(X(N(t),e,n)):e}var Q=function(){return Q=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},Q.apply(this,arguments)},tt={get:function(t,e){if("symbol"!=typeof e){var n=t.safeGet(t.changes,e)
|
|||
|
if(a(n))return u(n)
|
|||
|
if(r(n)){var i=t.children[e]
|
|||
|
if(void 0===i&&t.content){var o=t.safeGet(t.content,e)
|
|||
|
i=t.children[e]=new nt(n,o,t.safeGet)}if(i)return i.proxy}if(void 0!==n)return n
|
|||
|
if(t.content){var c=t.content
|
|||
|
if(t.safeGet(c,e))return t.safeGet(c,e)}return"function"==typeof t[e]||t.hasOwnProperty(e)?t[e]:void 0}},ownKeys:function(t){return Reflect.ownKeys(t.changes)},getOwnPropertyDescriptor:function(t,e){return Reflect.getOwnPropertyDescriptor(t.changes,e)},has:function(t,e){return Reflect.has(t.changes,e)},set:function(t,e,n){return e.startsWith("_")?Reflect.set(t,e,n):Reflect.set(t.changes,e,new o(n))}}
|
|||
|
function et(t,e){return t[e]}var nt=function(){function t(t,e,n,r){void 0===t&&(t={}),void 0===e&&(e={}),void 0===n&&(n=et),this.safeGet=n,this.isObject=r,this.changes=t,this.content=e,this.proxy=new Proxy(this,tt),this.children=Object.create(null)}return t.prototype.get=function(t){return this.safeGet(this.changes,t)},t.prototype.set=function(t,e){return U(this.changes,t,e)},t.prototype.unwrap=function(){var t=this.changes
|
|||
|
if(r(t)){t=E(t,this.isObject)
|
|||
|
var e=this.content
|
|||
|
if(r(e))return t=E(t,this.isObject),Q(Q({},e),t)
|
|||
|
if(Array.isArray(e))return t=E(t,this.isObject),R(J(N(e),t))}return t},t}()
|
|||
|
function rt(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n]
|
|||
|
return e.reduce((function(e,n){return Object.keys(n).filter((function(e){return-1===t.indexOf(e)||!n.hasOwnProperty(e)})).forEach((function(t){return e[t]=n[t]})),e}),{})}function it(t,e){void 0===t&&(t={}),void 0===e&&(e=[])
|
|||
|
var n={}
|
|||
|
for(var r in t)-1!==e.indexOf(r)&&(n[r]=t[r])
|
|||
|
return n}var ot=function(){return ot=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},ot.apply(this,arguments)},at=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function u(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e
|
|||
|
t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))},ut=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:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o
|
|||
|
function u(o){return function(u){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,u])}}},ct=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},st=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(ct(arguments[e]))
|
|||
|
return t},ft=Object.keys,lt="_changes",ht="_errors",dt="afterValidation",pt=function(){return!0},yt={skipValidate:!1}
|
|||
|
function bt(t){return t}var vt=function(){function t(t,e,n,i){void 0===e&&(e=pt),void 0===n&&(n={}),void 0===i&&(i={}),this.validateFn=e,this.validationMap=n,this.__changeset__=F,this._eventedNotifiers={},this.isObject=r,this.maybeUnwrapProxy=bt,this.setDeep=U,this.getDeep=y,this.mergeDeep=J,this._content=t,this._previousContent=void 0,this._changes={},this._errors={},this._errorsCache={},this._validator=e,this._options=D(yt,JSON.parse(JSON.stringify(i))),this._runningValidations={}}return t.prototype.on=function(t,e){return _(this,t).addListener(e)},t.prototype.off=function(t,e){return _(this,t).removeListener(e)},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n]
|
|||
|
var r=_(this,t)
|
|||
|
r&&r.trigger.apply(r,st(e))},t.prototype.safeGet=function(t,e){return t[e]},t.prototype.safeSet=function(t,e,n){return t[e]=n},Object.defineProperty(t.prototype,"_bareChanges",{get:function(){return l(this._changes).reduce((function(t,e){var n=e.key,r=e.value
|
|||
|
return t[n]=r,t}),Object.create(null))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"changes",{get:function(){return l(this._changes)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return h(this._errors)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"change",{get:function(){var t=this._changes
|
|||
|
return k(this._changes)?E(t):{}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"error",{get:function(){return this._errors},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this._content},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValid",{get:function(){return 0===h(this._errors).length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPristine",{get:function(){var t=Object.keys(this._changes),e=this._options.changesetKeys
|
|||
|
return Array.isArray(e)&&e.length&&(t=t.filter((function(t){return e.includes(t)}))),0===t.length||!k(this._changes)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInvalid",{get:function(){return!this.isValid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDirty",{get:function(){return!this.isPristine},enumerable:!1,configurable:!0}),t.prototype.setUnknownProperty=function(t,e){var n=this._options,r=n.changesetKeys
|
|||
|
if(!(Array.isArray(r)&&r.length>0)||r.find((function(e){return t.match(e)}))){var i=this._content,o=this.safeGet(i,t)
|
|||
|
if(n.skipValidate)return this._setProperty({key:t,value:e,oldValue:o}),void this._handleValidation(!0,{key:t,value:e})
|
|||
|
this._setProperty({key:t,value:e,oldValue:o}),this._validateKey(t,e)}},Object.defineProperty(t.prototype,Symbol.toStringTag,{get:function(){return"changeset:"+D(this._content,{}).toString()},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return"changeset:"+D(this._content,{}).toString()},t.prototype.prepare=function(t){var e=t(this._bareChanges)
|
|||
|
if(this.isObject(e),this.isObject(e)){var n=ft(e).reduce((function(t,n){return t[n]=new o(e[n]),t}),{})
|
|||
|
this._changes=n}return this},t.prototype.execute=function(){var t
|
|||
|
if(this.isValid&&this.isDirty){var e=this._content,n=this._changes
|
|||
|
t=q(e,this.changes,this.getDeep),this._content=this.mergeDeep(e,n)}return this.trigger("execute"),this._changes={},this._previousContent=t,this},t.prototype.unexecute=function(){return this._previousContent&&(this._content=this.mergeDeep(this._content,this._previousContent,{safeGet:this.safeGet,safeSet:this.safeSet})),this},t.prototype.save=function(t){return at(this,void 0,void 0,(function(){var e,n,r,i
|
|||
|
return ut(this,(function(o){switch(o.label){case 0:e=this._content,n=Promise.resolve(this),this.execute(),"function"==typeof e.save?n=e.save(t):"function"==typeof this.safeGet(e,"save")&&(r=this.maybeUnwrapProxy(e).save())&&(n=r),o.label=1
|
|||
|
case 1:return o.trys.push([1,3,,4]),[4,n]
|
|||
|
case 2:return i=o.sent(),this.rollback(),[2,i]
|
|||
|
case 3:throw o.sent()
|
|||
|
case 4:return[2]}}))}))},t.prototype.merge=function(t){var e=this._content
|
|||
|
if(T(t),t._content,this.isPristine&&t.isPristine)return this
|
|||
|
var n=this._changes,r=t._changes,i=this._errors,o=t._errors,a=new mt(e,this._validator),u=rt(ft(r),i),c=rt(ft(o),n),s=Z(u,o),f=Z(c,r)
|
|||
|
return a._errors=s,a._changes=f,a._notifyVirtualProperties(),a},t.prototype.rollback=function(){var t=this._rollbackKeys()
|
|||
|
return this._changes={},this._errors={},this._errorsCache={},this._notifyVirtualProperties(t),this.trigger("afterRollback"),this},t.prototype.rollbackInvalid=function(t){var e=this,n=ft(this._errors)
|
|||
|
return t?(this._notifyVirtualProperties([t]),this._errors=this._deleteKey(ht,t),this._errorsCache=this._errors,n.indexOf(t)>-1&&(this._changes=this._deleteKey(lt,t))):(this._notifyVirtualProperties(),this._errors={},this._errorsCache=this._errors,n.forEach((function(t){e._changes=e._deleteKey(lt,t)}))),this},t.prototype.rollbackProperty=function(t){return this._changes=this._deleteKey(lt,t),this._errors=this._deleteKey(ht,t),this._errorsCache=this._errors,this},t.prototype.validate=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]
|
|||
|
return at(this,void 0,void 0,(function(){var e,n=this
|
|||
|
return ut(this,(function(r){return 0!==ft(this.validationMap).length||t.length?(t=t.length>0?t:ft(M(this.validationMap)),e=t.map((function(t){var e=n[t],r=e instanceof nt?e.unwrap():e
|
|||
|
return n._validateKey(t,r)})),[2,Promise.all(e)]):[2,Promise.resolve(null)]}))}))},t.prototype.addError=function(t,e){var n,r=this
|
|||
|
if(function(t){return r.isObject(t)&&!Array.isArray(t)}(e))e.hasOwnProperty("value")||e.value,e.hasOwnProperty("validation"),n=new c(e.value,e.validation)
|
|||
|
else{var i=this[t]
|
|||
|
n=new c(i,e)}var o=this._errors
|
|||
|
return this._errors=this.setDeep(o,t,n,{safeSet:this.safeSet}),this._errorsCache=this._errors,e},t.prototype.pushErrors=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n]
|
|||
|
var r=this._errors,i=this.getDeep(r,t)||new c(null,[]),o=i.validation,a=this[t]
|
|||
|
!Array.isArray(o)&&Boolean(o)&&(i.validation=[o])
|
|||
|
var u=i.validation
|
|||
|
o=st(u,e)
|
|||
|
var s=new c(a,o)
|
|||
|
return this._errors=this.setDeep(r,t,s,{safeSet:this.safeSet}),this._errorsCache=this._errors,{value:a,validation:o}},t.prototype.snapshot=function(){var t=this._changes,e=this._errors
|
|||
|
return{changes:ft(t).reduce((function(e,n){return e[n]=u(t[n]),e}),{}),errors:ft(e).reduce((function(t,n){var r=e[n]
|
|||
|
return t[n]={value:r.value,validation:r.validation},t}),{})}},t.prototype.restore=function(t){var e=t.changes,n=t.errors,r=ft(e).reduce((function(t,n){return t[n]=new o(e[n]),t}),{}),i=ft(n).reduce((function(t,e){var r=n[e]
|
|||
|
return t[e]=new c(r.value,r.validation),t}),{})
|
|||
|
return this._changes=r,this._errors=i,this._errorsCache=this._errors,this._notifyVirtualProperties(),this},t.prototype.cast=function(t){void 0===t&&(t=[])
|
|||
|
var e=this._changes
|
|||
|
if(Array.isArray(t)&&0===t.length)return this
|
|||
|
var n=it(e,ft(e).filter((function(e){return t.includes(e)})))
|
|||
|
return this._changes=n,this},t.prototype.isValidating=function(t){var e=this._runningValidations,n=ft(e)
|
|||
|
return t?n.includes(t):n.length>0},t.prototype._validateKey=function(t,e){var n=this,r=this._content,i=this.getDeep(r,t),o=this._validate(t,e,i)
|
|||
|
if(this.trigger("beforeValidation",t),d(o)){this._setIsValidating(t,o)
|
|||
|
var a=this._runningValidations,u=Object.entries(a)
|
|||
|
return Promise.all(u).then((function(){return o.then((function(r){return delete a[t],n._handleValidation(r,{key:t,value:e})})).then((function(e){return n.trigger(dt,t),e}))}))}var c=this._handleValidation(o,{key:t,value:e})
|
|||
|
return this.trigger(dt,t),c},t.prototype._handleValidation=function(t,e){var n=e.key,r=e.value,i=!0===t||Array.isArray(t)&&1===t.length&&!0===t[0]
|
|||
|
return this._errors=this._deleteKey("_errorsCache",n),i?r:this.addError(n,{value:r,validation:t})},t.prototype._validate=function(t,e,n){var r=this._validator,i=this._content
|
|||
|
if("function"==typeof r){var o=r({key:t,newValue:e,oldValue:n,changes:this.change,content:i})
|
|||
|
return void 0===o||o}return!0},t.prototype._setProperty=function(t){var e,n,r=t.key,i=t.value,a=t.oldValue,u=this._changes
|
|||
|
if(n=a,((e=i)instanceof Date&&n instanceof Date?e.getTime()===n.getTime():e===n)&&void 0!==a)B(u,r)&&(this._changes=this._deleteKey(lt,r))
|
|||
|
else{var c=this.setDeep(u,r,new o(i),{safeSet:this.safeSet})
|
|||
|
this._changes=c}},t.prototype._setIsValidating=function(t,e){var n=this._runningValidations
|
|||
|
this.setDeep(n,t,e)},t.prototype._notifyVirtualProperties=function(t){return t||(t=this._rollbackKeys()),t},t.prototype._rollbackKeys=function(){var t=this._changes,e=this._errors
|
|||
|
return st(new Set(st(ft(t),ft(e))))},t.prototype._deleteKey=function(t,e){void 0===e&&(e="")
|
|||
|
var n=this[t],r=e.split(".")
|
|||
|
if(1===r.length&&n.hasOwnProperty(e))delete n[e]
|
|||
|
else if(n[r[0]])for(var i=ct(r),o=i[0],u=i.slice(1),c=n,s=n[o],f=o;this.isObject(s)&&f;){var l=s;(a(l)||void 0!==l.value||l.validation)&&delete c[f],c=s,(f=u.shift())&&(s=s[f])}return n},t.prototype.get=function(t){var e=ct(t.split(".")),n=e[0],i=e.slice(1),o=this._changes,c=this._content
|
|||
|
if(Object.prototype.hasOwnProperty.call(o,n)){var s=this.getDeep(o,t)
|
|||
|
if(!this.isObject(s)&&void 0!==s)return s}if(Object.prototype.hasOwnProperty.call(o,n)&&k(o)){var f=o[n],l=E(f)
|
|||
|
if(this.isObject(l)){var h=this.maybeUnwrapProxy(this.getDeep(l,i.join(".")))
|
|||
|
if(void 0===h&&function(t,e,n){var r,i
|
|||
|
if(a(t))return!1
|
|||
|
var o=e.split("."),u=t
|
|||
|
try{for(var c=x(o),s=c.next();!s.done;s=c.next()){var f=s.value
|
|||
|
if(!u)return!1
|
|||
|
if(o[o.length-1]!==f&&a(n(u,f)))return!0
|
|||
|
u=n(u,f)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}return!1}(o,t,this.safeGet)&&!function(t,e,n){var r,i,o=e.split("."),c=t
|
|||
|
try{for(var s=x(o),f=s.next();!f.done;f=s.next()){var l=f.value
|
|||
|
if(!c||!Object.prototype.hasOwnProperty.call(c,l))return!1
|
|||
|
c=n(c,l),a(c)&&(c=u(c))}}catch(t){r={error:t}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return!0}(o,t,this.safeGet)&&this.getDeep(c,t))return
|
|||
|
if(this.isObject(h)){if(a(h))return u(h)
|
|||
|
var d=this.safeGet(c,n)||{},p=this.getDeep(d,i.join(".")),y=function(t,e){var n=t
|
|||
|
if(-1===e.indexOf("."))return n[e]
|
|||
|
for(var r="string"==typeof e?e.split("."):e,i=0;i<r.length;i++){if(null==n)return
|
|||
|
n=a(n[r[i]])?u(n[r[i]]):n[r[i]]}return n}(o,t)
|
|||
|
return new nt(y,p,this.getDeep,this.isObject).proxy}if(void 0!==h)return h}if(a(f)&&0===i.length)return u(f)}if(n in this||t in this)return this.getDeep(this,t)
|
|||
|
var b=this.maybeUnwrapProxy(this.getDeep(c,t))
|
|||
|
if(this.isObject(b))return(y=this.getDeep(o,t))||(y=this.getDeep(this.setDeep(o,t,{}),t)),new nt(y,b,this.getDeep,this.isObject).proxy
|
|||
|
if(Array.isArray(b)){if(!(y=this.getDeep(o,t)))return b
|
|||
|
if(r(y)){if(r(b))return y=E(y,this.isObject),ot(ot({},b),y)
|
|||
|
if(Array.isArray(b))return y=E(y,this.isObject),R(J(N(b),y))}return y}return b},t.prototype.set=function(t,e){this.hasOwnProperty(t)||B(this,t)?this[t]=e:this.setUnknownProperty(t,e)},t}()
|
|||
|
function gt(t,e,n,r){return new vt(t,e,n,r)}var mt=function(t,e,n,r){var i=gt(t,e,n,r)
|
|||
|
return new Proxy(i,{get:function(t,e){return t.get(e.toString())},set:function(t,e,n){return t.set(e.toString(),n),!0}})}
|
|||
|
function _t(t,e,n,r){var i=gt(t,e,n,r)
|
|||
|
return new Proxy(i,{get:function(t,e){return t.get(e.toString())},set:function(t,e,n){return t.set(e.toString(),n),!0}})}},6841:(t,e,n)=>{var r=n(260),i=n(8806)
|
|||
|
t.exports=function t(e){if(!(this instanceof t))return new t(e)
|
|||
|
var n=(e||"").replace(/^\//,""),o=i()
|
|||
|
return a._trie=o,a.on=function(t,e){if(r.equal(typeof t,"string"),r.equal(typeof e,"function"),t=t||"/",e._wayfarer&&e._trie)o.mount(t,e._trie.trie)
|
|||
|
else{var n=o.create(t)
|
|||
|
n.cb=e,n.route=t}return a},a.emit=a,a.match=u,a._wayfarer=!0,a
|
|||
|
function a(t){var e=u(t),n=new Array(arguments.length)
|
|||
|
n[0]=e.params
|
|||
|
for(var r=1;r<n.length;r++)n[r]=arguments[r]
|
|||
|
return e.cb.apply(e.cb,n)}function u(t){r.notEqual(t,void 0,"'route' must be defined")
|
|||
|
var e=o.match(t)
|
|||
|
if(e&&e.cb)return new c(e)
|
|||
|
var i=o.match(n)
|
|||
|
if(i&&i.cb)return new c(i)
|
|||
|
throw new Error("route '"+t+"' did not match")}function c(t){this.cb=t.cb,this.route=t.route,this.params=t.params}}},8806:(t,e,n)=>{var r=n(260)
|
|||
|
function i(){if(!(this instanceof i))return new i
|
|||
|
this.trie={nodes:{}}}function o(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=i,i.prototype.create=function(t){r.equal(typeof t,"string","route should be a string")
|
|||
|
var e=t.replace(/^\//,"").split("/")
|
|||
|
return function t(n,r){var i=o(e,n)&&e[n]
|
|||
|
if(!1===i)return r
|
|||
|
var a=null
|
|||
|
return/^:|^\*/.test(i)?(o(r.nodes,"$$")?a=r.nodes.$$:(a={nodes:{}},r.nodes.$$=a),"*"===i[0]&&(r.wildcard=!0),r.name=i.replace(/^:|^\*/,"")):o(r.nodes,i)?a=r.nodes[i]:(a={nodes:{}},r.nodes[i]=a),t(n+1,a)}(0,this.trie)},i.prototype.match=function(t){r.equal(typeof t,"string","route should be a string")
|
|||
|
var e=t.replace(/^\//,"").split("/"),n={},i=function t(r,i){if(void 0!==i){var a=e[r]
|
|||
|
if(void 0===a)return i
|
|||
|
if(o(i.nodes,a))return t(r+1,i.nodes[a])
|
|||
|
if(i.name){try{n[i.name]=decodeURIComponent(a)}catch(e){return t(r,void 0)}return t(r+1,i.nodes.$$)}if(i.wildcard){try{n.wildcard=decodeURIComponent(e.slice(r).join("/"))}catch(e){return t(r,void 0)}return i.nodes.$$}return t(r+1)}}(0,this.trie)
|
|||
|
if(i)return(i=Object.assign({},i)).params=n,i},i.prototype.mount=function(t,e){r.equal(typeof t,"string","route should be a string"),r.equal(typeof e,"object","trie should be a object")
|
|||
|
var n=t.replace(/^\//,"").split("/"),i=null,o=null
|
|||
|
if(1===n.length)o=n[0],i=this.create(o)
|
|||
|
else{var a=n.join("/")
|
|||
|
o=n[0],i=this.create(a)}Object.assign(i.nodes,e.nodes),e.name&&(i.name=e.name),i.nodes[""]&&(Object.keys(i.nodes[""]).forEach((function(t){"nodes"!==t&&(i[t]=i.nodes[""][t])})),Object.assign(i.nodes,i.nodes[""].nodes),delete i.nodes[""].nodes)}},3493:(t,e,n)=>{"use strict"
|
|||
|
n.r(e),n.d(e,{CSSResult:()=>a,ReactiveElement:()=>g,adoptStyles:()=>s,css:()=>c,defaultConverter:()=>y,getCompatibleStyle:()=>f,notEqual:()=>b,supportsAdoptingStyleSheets:()=>r,unsafeCSS:()=>u})
|
|||
|
const r=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),o=new Map
|
|||
|
class a{constructor(t,e){if(this._$cssResult$=!0,e!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.")
|
|||
|
this.cssText=t}get styleSheet(){let t=o.get(this.cssText)
|
|||
|
return r&&void 0===t&&(o.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const u=t=>new a("string"==typeof t?t:t+"",i),c=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r]
|
|||
|
const o=1===t.length?t[0]:n.reduce(((e,n,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText
|
|||
|
if("number"==typeof t)return t
|
|||
|
throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[r+1]),t[0])
|
|||
|
return new a(o,i)},s=(t,e)=>{r?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const n=document.createElement("style"),r=window.litNonce
|
|||
|
void 0!==r&&n.setAttribute("nonce",r),n.textContent=e.cssText,t.appendChild(n)}))},f=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=""
|
|||
|
for(const n of t.cssRules)e+=n.cssText
|
|||
|
return u(e)})(t):t
|
|||
|
var l
|
|||
|
const h=window.trustedTypes,d=h?h.emptyScript:"",p=window.reactiveElementPolyfillSupport,y={toAttribute(t,e){switch(e){case Boolean:t=t?d:null
|
|||
|
break
|
|||
|
case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let n=t
|
|||
|
switch(e){case Boolean:n=null!==t
|
|||
|
break
|
|||
|
case Number:n=null===t?null:Number(t)
|
|||
|
break
|
|||
|
case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},b=(t,e)=>e!==t&&(e==e||t==t),v={attribute:!0,type:String,converter:y,reflect:!1,hasChanged:b}
|
|||
|
class g extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e
|
|||
|
null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize()
|
|||
|
const t=[]
|
|||
|
return this.elementProperties.forEach(((e,n)=>{const r=this._$Eh(n,e)
|
|||
|
void 0!==r&&(this._$Eu.set(r,n),t.push(r))})),t}static createProperty(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v
|
|||
|
if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const n="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,n,e)
|
|||
|
void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,e,n){return{get(){return this[e]},set(r){const i=this[t]
|
|||
|
this[e]=r,this.requestUpdate(t,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||v}static finalize(){if(this.hasOwnProperty("finalized"))return!1
|
|||
|
this.finalized=!0
|
|||
|
const t=Object.getPrototypeOf(this)
|
|||
|
if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)]
|
|||
|
for(const n of e)this.createProperty(n,t[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[]
|
|||
|
if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse())
|
|||
|
for(const t of n)e.unshift(f(t))}else void 0!==t&&e.push(f(t))
|
|||
|
return e}static _$Eh(t,e){const n=e.attribute
|
|||
|
return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}o(){var t
|
|||
|
this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,n;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(n=t.hostConnected)||void 0===n||n.call(t))}removeController(t){var e
|
|||
|
null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t
|
|||
|
const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions)
|
|||
|
return s(e,this.constructor.elementStyles),e}connectedCallback(){var t
|
|||
|
void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e
|
|||
|
return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t
|
|||
|
null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e
|
|||
|
return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$ES(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v
|
|||
|
var r,i
|
|||
|
const o=this.constructor._$Eh(t,n)
|
|||
|
if(void 0!==o&&!0===n.reflect){const a=(null!==(i=null===(r=n.converter)||void 0===r?void 0:r.toAttribute)&&void 0!==i?i:y.toAttribute)(e,n.type)
|
|||
|
this._$Ei=t,null==a?this.removeAttribute(o):this.setAttribute(o,a),this._$Ei=null}}_$AK(t,e){var n,r,i
|
|||
|
const o=this.constructor,a=o._$Eu.get(t)
|
|||
|
if(void 0!==a&&this._$Ei!==a){const t=o.getPropertyOptions(a),u=t.converter,c=null!==(i=null!==(r=null===(n=u)||void 0===n?void 0:n.fromAttribute)&&void 0!==r?r:"function"==typeof u?u:null)&&void 0!==i?i:y.fromAttribute
|
|||
|
this._$Ei=a,this[a]=c(e,t.type),this._$Ei=null}}requestUpdate(t,e,n){let r=!0
|
|||
|
void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||b)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===n.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,n))):r=!1),!this.isUpdatePending&&r&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0
|
|||
|
try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate()
|
|||
|
return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t
|
|||
|
if(!this.isUpdatePending)return
|
|||
|
this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0)
|
|||
|
let e=!1
|
|||
|
const n=this._$AL
|
|||
|
try{e=this.shouldUpdate(n),e?(this.willUpdate(n),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e
|
|||
|
return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(n)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(n)}willUpdate(t){}_$AE(t){var e
|
|||
|
null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e
|
|||
|
return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}g.finalized=!0,g.elementProperties=new Map,g.elementStyles=[],g.shadowRootOptions={mode:"open"},null==p||p({ReactiveElement:g}),(null!==(l=globalThis.reactiveElementVersions)&&void 0!==l?l:globalThis.reactiveElementVersions=[]).push("1.2.1")}}])
|