/*! For license information please see app-react.js.LICENSE.txt */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["app-react"]=e():t["app-react"]=e()}(this,(()=>(()=>{var __webpack_modules__={11003:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(97796),r=n.n(i),o=n(71051),a=n.n(o)()(r());a.push([t.id,"/*!\n * Quill Editor v1.3.7\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */\n.ql-container {\n box-sizing: border-box;\n font-family: Helvetica, Arial, sans-serif;\n font-size: 13px;\n height: 100%;\n margin: 0px;\n position: relative;\n}\n.ql-container.ql-disabled .ql-tooltip {\n visibility: hidden;\n}\n.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before {\n pointer-events: none;\n}\n.ql-clipboard {\n left: -100000px;\n height: 1px;\n overflow-y: hidden;\n position: absolute;\n top: 50%;\n}\n.ql-clipboard p {\n margin: 0;\n padding: 0;\n}\n.ql-editor {\n box-sizing: border-box;\n line-height: 1.42;\n height: 100%;\n outline: none;\n overflow-y: auto;\n padding: 12px 15px;\n tab-size: 4;\n -moz-tab-size: 4;\n text-align: left;\n white-space: pre-wrap;\n word-wrap: break-word;\n}\n.ql-editor > * {\n cursor: text;\n}\n.ql-editor p,\n.ql-editor ol,\n.ql-editor ul,\n.ql-editor pre,\n.ql-editor blockquote,\n.ql-editor h1,\n.ql-editor h2,\n.ql-editor h3,\n.ql-editor h4,\n.ql-editor h5,\n.ql-editor h6 {\n margin: 0;\n padding: 0;\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol,\n.ql-editor ul {\n padding-left: 1.5em;\n}\n.ql-editor ol > li,\n.ql-editor ul > li {\n list-style-type: none;\n}\n.ql-editor ul > li::before {\n content: '\\2022';\n}\n.ql-editor ul[data-checked=true],\n.ql-editor ul[data-checked=false] {\n pointer-events: none;\n}\n.ql-editor ul[data-checked=true] > li *,\n.ql-editor ul[data-checked=false] > li * {\n pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before,\n.ql-editor ul[data-checked=false] > li::before {\n color: #777;\n cursor: pointer;\n pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before {\n content: '\\2611';\n}\n.ql-editor ul[data-checked=false] > li::before {\n content: '\\2610';\n}\n.ql-editor li::before {\n display: inline-block;\n white-space: nowrap;\n width: 1.2em;\n}\n.ql-editor li:not(.ql-direction-rtl)::before {\n margin-left: -1.5em;\n margin-right: 0.3em;\n text-align: right;\n}\n.ql-editor li.ql-direction-rtl::before {\n margin-left: 0.3em;\n margin-right: -1.5em;\n}\n.ql-editor ol li:not(.ql-direction-rtl),\n.ql-editor ul li:not(.ql-direction-rtl) {\n padding-left: 1.5em;\n}\n.ql-editor ol li.ql-direction-rtl,\n.ql-editor ul li.ql-direction-rtl {\n padding-right: 1.5em;\n}\n.ql-editor ol li {\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n counter-increment: list-0;\n}\n.ql-editor ol li:before {\n content: counter(list-0, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n counter-increment: list-1;\n}\n.ql-editor ol li.ql-indent-1:before {\n content: counter(list-1, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-2 {\n counter-increment: list-2;\n}\n.ql-editor ol li.ql-indent-2:before {\n content: counter(list-2, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-2 {\n counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-3 {\n counter-increment: list-3;\n}\n.ql-editor ol li.ql-indent-3:before {\n content: counter(list-3, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-3 {\n counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-4 {\n counter-increment: list-4;\n}\n.ql-editor ol li.ql-indent-4:before {\n content: counter(list-4, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-4 {\n counter-reset: list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-5 {\n counter-increment: list-5;\n}\n.ql-editor ol li.ql-indent-5:before {\n content: counter(list-5, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-5 {\n counter-reset: list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-6 {\n counter-increment: list-6;\n}\n.ql-editor ol li.ql-indent-6:before {\n content: counter(list-6, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-6 {\n counter-reset: list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-7 {\n counter-increment: list-7;\n}\n.ql-editor ol li.ql-indent-7:before {\n content: counter(list-7, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-7 {\n counter-reset: list-8 list-9;\n}\n.ql-editor ol li.ql-indent-8 {\n counter-increment: list-8;\n}\n.ql-editor ol li.ql-indent-8:before {\n content: counter(list-8, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-8 {\n counter-reset: list-9;\n}\n.ql-editor ol li.ql-indent-9 {\n counter-increment: list-9;\n}\n.ql-editor ol li.ql-indent-9:before {\n content: counter(list-9, decimal) '. ';\n}\n.ql-editor .ql-indent-1:not(.ql-direction-rtl) {\n padding-left: 3em;\n}\n.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {\n padding-left: 4.5em;\n}\n.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {\n padding-right: 3em;\n}\n.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {\n padding-right: 4.5em;\n}\n.ql-editor .ql-indent-2:not(.ql-direction-rtl) {\n padding-left: 6em;\n}\n.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {\n padding-left: 7.5em;\n}\n.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {\n padding-right: 6em;\n}\n.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {\n padding-right: 7.5em;\n}\n.ql-editor .ql-indent-3:not(.ql-direction-rtl) {\n padding-left: 9em;\n}\n.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {\n padding-left: 10.5em;\n}\n.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {\n padding-right: 9em;\n}\n.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {\n padding-right: 10.5em;\n}\n.ql-editor .ql-indent-4:not(.ql-direction-rtl) {\n padding-left: 12em;\n}\n.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {\n padding-left: 13.5em;\n}\n.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {\n padding-right: 12em;\n}\n.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {\n padding-right: 13.5em;\n}\n.ql-editor .ql-indent-5:not(.ql-direction-rtl) {\n padding-left: 15em;\n}\n.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {\n padding-left: 16.5em;\n}\n.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {\n padding-right: 15em;\n}\n.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {\n padding-right: 16.5em;\n}\n.ql-editor .ql-indent-6:not(.ql-direction-rtl) {\n padding-left: 18em;\n}\n.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {\n padding-left: 19.5em;\n}\n.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {\n padding-right: 18em;\n}\n.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {\n padding-right: 19.5em;\n}\n.ql-editor .ql-indent-7:not(.ql-direction-rtl) {\n padding-left: 21em;\n}\n.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {\n padding-left: 22.5em;\n}\n.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {\n padding-right: 21em;\n}\n.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {\n padding-right: 22.5em;\n}\n.ql-editor .ql-indent-8:not(.ql-direction-rtl) {\n padding-left: 24em;\n}\n.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {\n padding-left: 25.5em;\n}\n.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {\n padding-right: 24em;\n}\n.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {\n padding-right: 25.5em;\n}\n.ql-editor .ql-indent-9:not(.ql-direction-rtl) {\n padding-left: 27em;\n}\n.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {\n padding-left: 28.5em;\n}\n.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {\n padding-right: 27em;\n}\n.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {\n padding-right: 28.5em;\n}\n.ql-editor .ql-video {\n display: block;\n max-width: 100%;\n}\n.ql-editor .ql-video.ql-align-center {\n margin: 0 auto;\n}\n.ql-editor .ql-video.ql-align-right {\n margin: 0 0 0 auto;\n}\n.ql-editor .ql-bg-black {\n background-color: #000;\n}\n.ql-editor .ql-bg-red {\n background-color: #e60000;\n}\n.ql-editor .ql-bg-orange {\n background-color: #f90;\n}\n.ql-editor .ql-bg-yellow {\n background-color: #ff0;\n}\n.ql-editor .ql-bg-green {\n background-color: #008a00;\n}\n.ql-editor .ql-bg-blue {\n background-color: #06c;\n}\n.ql-editor .ql-bg-purple {\n background-color: #93f;\n}\n.ql-editor .ql-color-white {\n color: #fff;\n}\n.ql-editor .ql-color-red {\n color: #e60000;\n}\n.ql-editor .ql-color-orange {\n color: #f90;\n}\n.ql-editor .ql-color-yellow {\n color: #ff0;\n}\n.ql-editor .ql-color-green {\n color: #008a00;\n}\n.ql-editor .ql-color-blue {\n color: #06c;\n}\n.ql-editor .ql-color-purple {\n color: #93f;\n}\n.ql-editor .ql-font-serif {\n font-family: Georgia, Times New Roman, serif;\n}\n.ql-editor .ql-font-monospace {\n font-family: Monaco, Courier New, monospace;\n}\n.ql-editor .ql-size-small {\n font-size: 0.75em;\n}\n.ql-editor .ql-size-large {\n font-size: 1.5em;\n}\n.ql-editor .ql-size-huge {\n font-size: 2.5em;\n}\n.ql-editor .ql-direction-rtl {\n direction: rtl;\n text-align: inherit;\n}\n.ql-editor .ql-align-center {\n text-align: center;\n}\n.ql-editor .ql-align-justify {\n text-align: justify;\n}\n.ql-editor .ql-align-right {\n text-align: right;\n}\n.ql-editor.ql-blank::before {\n color: rgba(0,0,0,0.6);\n content: attr(data-placeholder);\n font-style: italic;\n left: 15px;\n pointer-events: none;\n position: absolute;\n right: 15px;\n}\n.ql-snow.ql-toolbar:after,\n.ql-snow .ql-toolbar:after {\n clear: both;\n content: '';\n display: table;\n}\n.ql-snow.ql-toolbar button,\n.ql-snow .ql-toolbar button {\n background: none;\n border: none;\n cursor: pointer;\n display: inline-block;\n float: left;\n height: 24px;\n padding: 3px 5px;\n width: 28px;\n}\n.ql-snow.ql-toolbar button svg,\n.ql-snow .ql-toolbar button svg {\n float: left;\n height: 100%;\n}\n.ql-snow.ql-toolbar button:active:hover,\n.ql-snow .ql-toolbar button:active:hover {\n outline: none;\n}\n.ql-snow.ql-toolbar input.ql-image[type=file],\n.ql-snow .ql-toolbar input.ql-image[type=file] {\n display: none;\n}\n.ql-snow.ql-toolbar button:hover,\n.ql-snow .ql-toolbar button:hover,\n.ql-snow.ql-toolbar button:focus,\n.ql-snow .ql-toolbar button:focus,\n.ql-snow.ql-toolbar button.ql-active,\n.ql-snow .ql-toolbar button.ql-active,\n.ql-snow.ql-toolbar .ql-picker-label:hover,\n.ql-snow .ql-toolbar .ql-picker-label:hover,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active,\n.ql-snow.ql-toolbar .ql-picker-item:hover,\n.ql-snow .ql-toolbar .ql-picker-item:hover,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected {\n color: #06c;\n}\n.ql-snow.ql-toolbar button:hover .ql-fill,\n.ql-snow .ql-toolbar button:hover .ql-fill,\n.ql-snow.ql-toolbar button:focus .ql-fill,\n.ql-snow .ql-toolbar button:focus .ql-fill,\n.ql-snow.ql-toolbar button.ql-active .ql-fill,\n.ql-snow .ql-toolbar button.ql-active .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,\n.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill {\n fill: #06c;\n}\n.ql-snow.ql-toolbar button:hover .ql-stroke,\n.ql-snow .ql-toolbar button:hover .ql-stroke,\n.ql-snow.ql-toolbar button:focus .ql-stroke,\n.ql-snow .ql-toolbar button:focus .ql-stroke,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,\n.ql-snow.ql-toolbar button:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar button:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar button:focus .ql-stroke-miter,\n.ql-snow .ql-toolbar button:focus .ql-stroke-miter,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter {\n stroke: #06c;\n}\n@media (pointer: coarse) {\n .ql-snow.ql-toolbar button:hover:not(.ql-active),\n .ql-snow .ql-toolbar button:hover:not(.ql-active) {\n color: #444;\n }\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill {\n fill: #444;\n }\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter {\n stroke: #444;\n }\n}\n.ql-snow {\n box-sizing: border-box;\n}\n.ql-snow * {\n box-sizing: border-box;\n}\n.ql-snow .ql-hidden {\n display: none;\n}\n.ql-snow .ql-out-bottom,\n.ql-snow .ql-out-top {\n visibility: hidden;\n}\n.ql-snow .ql-tooltip {\n position: absolute;\n transform: translateY(10px);\n}\n.ql-snow .ql-tooltip a {\n cursor: pointer;\n text-decoration: none;\n}\n.ql-snow .ql-tooltip.ql-flip {\n transform: translateY(-10px);\n}\n.ql-snow .ql-formats {\n display: inline-block;\n vertical-align: middle;\n}\n.ql-snow .ql-formats:after {\n clear: both;\n content: '';\n display: table;\n}\n.ql-snow .ql-stroke {\n fill: none;\n stroke: #444;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-width: 2;\n}\n.ql-snow .ql-stroke-miter {\n fill: none;\n stroke: #444;\n stroke-miterlimit: 10;\n stroke-width: 2;\n}\n.ql-snow .ql-fill,\n.ql-snow .ql-stroke.ql-fill {\n fill: #444;\n}\n.ql-snow .ql-empty {\n fill: none;\n}\n.ql-snow .ql-even {\n fill-rule: evenodd;\n}\n.ql-snow .ql-thin,\n.ql-snow .ql-stroke.ql-thin {\n stroke-width: 1;\n}\n.ql-snow .ql-transparent {\n opacity: 0.4;\n}\n.ql-snow .ql-direction svg:last-child {\n display: none;\n}\n.ql-snow .ql-direction.ql-active svg:last-child {\n display: inline;\n}\n.ql-snow .ql-direction.ql-active svg:first-child {\n display: none;\n}\n.ql-snow .ql-editor h1 {\n font-size: 2em;\n}\n.ql-snow .ql-editor h2 {\n font-size: 1.5em;\n}\n.ql-snow .ql-editor h3 {\n font-size: 1.17em;\n}\n.ql-snow .ql-editor h4 {\n font-size: 1em;\n}\n.ql-snow .ql-editor h5 {\n font-size: 0.83em;\n}\n.ql-snow .ql-editor h6 {\n font-size: 0.67em;\n}\n.ql-snow .ql-editor a {\n text-decoration: underline;\n}\n.ql-snow .ql-editor blockquote {\n border-left: 4px solid #ccc;\n margin-bottom: 5px;\n margin-top: 5px;\n padding-left: 16px;\n}\n.ql-snow .ql-editor code,\n.ql-snow .ql-editor pre {\n background-color: #f0f0f0;\n border-radius: 3px;\n}\n.ql-snow .ql-editor pre {\n white-space: pre-wrap;\n margin-bottom: 5px;\n margin-top: 5px;\n padding: 5px 10px;\n}\n.ql-snow .ql-editor code {\n font-size: 85%;\n padding: 2px 4px;\n}\n.ql-snow .ql-editor pre.ql-syntax {\n background-color: #23241f;\n color: #f8f8f2;\n overflow: visible;\n}\n.ql-snow .ql-editor img {\n max-width: 100%;\n}\n.ql-snow .ql-picker {\n color: #444;\n display: inline-block;\n float: left;\n font-size: 14px;\n font-weight: 500;\n height: 24px;\n position: relative;\n vertical-align: middle;\n}\n.ql-snow .ql-picker-label {\n cursor: pointer;\n display: inline-block;\n height: 100%;\n padding-left: 8px;\n padding-right: 2px;\n position: relative;\n width: 100%;\n}\n.ql-snow .ql-picker-label::before {\n display: inline-block;\n line-height: 22px;\n}\n.ql-snow .ql-picker-options {\n background-color: #fff;\n display: none;\n min-width: 100%;\n padding: 4px 8px;\n position: absolute;\n white-space: nowrap;\n}\n.ql-snow .ql-picker-options .ql-picker-item {\n cursor: pointer;\n display: block;\n padding-bottom: 5px;\n padding-top: 5px;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-label {\n color: #ccc;\n z-index: 2;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill {\n fill: #ccc;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {\n stroke: #ccc;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-options {\n display: block;\n margin-top: -1px;\n top: 100%;\n z-index: 1;\n}\n.ql-snow .ql-color-picker,\n.ql-snow .ql-icon-picker {\n width: 28px;\n}\n.ql-snow .ql-color-picker .ql-picker-label,\n.ql-snow .ql-icon-picker .ql-picker-label {\n padding: 2px 4px;\n}\n.ql-snow .ql-color-picker .ql-picker-label svg,\n.ql-snow .ql-icon-picker .ql-picker-label svg {\n right: 4px;\n}\n.ql-snow .ql-icon-picker .ql-picker-options {\n padding: 4px 0px;\n}\n.ql-snow .ql-icon-picker .ql-picker-item {\n height: 24px;\n width: 24px;\n padding: 2px 4px;\n}\n.ql-snow .ql-color-picker .ql-picker-options {\n padding: 3px 5px;\n width: 152px;\n}\n.ql-snow .ql-color-picker .ql-picker-item {\n border: 1px solid transparent;\n float: left;\n height: 16px;\n margin: 2px;\n padding: 0px;\n width: 16px;\n}\n.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {\n position: absolute;\n margin-top: -9px;\n right: 0;\n top: 50%;\n width: 18px;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before {\n content: attr(data-label);\n}\n.ql-snow .ql-picker.ql-header {\n width: 98px;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item::before {\n content: 'Normal';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"1\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before {\n content: 'Heading 1';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"2\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before {\n content: 'Heading 2';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"3\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before {\n content: 'Heading 3';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"4\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before {\n content: 'Heading 4';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"5\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before {\n content: 'Heading 5';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"6\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before {\n content: 'Heading 6';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before {\n font-size: 2em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before {\n font-size: 1.5em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before {\n font-size: 1.17em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before {\n font-size: 1em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before {\n font-size: 0.83em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before {\n font-size: 0.67em;\n}\n.ql-snow .ql-picker.ql-font {\n width: 108px;\n}\n.ql-snow .ql-picker.ql-font .ql-picker-label::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item::before {\n content: 'Sans Serif';\n}\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {\n content: 'Serif';\n}\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {\n content: 'Monospace';\n}\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {\n font-family: Georgia, Times New Roman, serif;\n}\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {\n font-family: Monaco, Courier New, monospace;\n}\n.ql-snow .ql-picker.ql-size {\n width: 98px;\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item::before {\n content: 'Normal';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {\n content: 'Small';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {\n content: 'Large';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {\n content: 'Huge';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {\n font-size: 10px;\n}\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {\n font-size: 18px;\n}\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {\n font-size: 32px;\n}\n.ql-snow .ql-color-picker.ql-background .ql-picker-item {\n background-color: #fff;\n}\n.ql-snow .ql-color-picker.ql-color .ql-picker-item {\n background-color: #000;\n}\n.ql-toolbar.ql-snow {\n border: 1px solid #ccc;\n box-sizing: border-box;\n font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;\n padding: 8px;\n}\n.ql-toolbar.ql-snow .ql-formats {\n margin-right: 15px;\n}\n.ql-toolbar.ql-snow .ql-picker-label {\n border: 1px solid transparent;\n}\n.ql-toolbar.ql-snow .ql-picker-options {\n border: 1px solid transparent;\n box-shadow: rgba(0,0,0,0.2) 0 2px 8px;\n}\n.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label {\n border-color: #ccc;\n}\n.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options {\n border-color: #ccc;\n}\n.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,\n.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover {\n border-color: #000;\n}\n.ql-toolbar.ql-snow + .ql-container.ql-snow {\n border-top: 0px;\n}\n.ql-snow .ql-tooltip {\n background-color: #fff;\n border: 1px solid #ccc;\n box-shadow: 0px 0px 5px #ddd;\n color: #444;\n padding: 5px 12px;\n white-space: nowrap;\n}\n.ql-snow .ql-tooltip::before {\n content: \"Visit URL:\";\n line-height: 26px;\n margin-right: 8px;\n}\n.ql-snow .ql-tooltip input[type=text] {\n display: none;\n border: 1px solid #ccc;\n font-size: 13px;\n height: 26px;\n margin: 0px;\n padding: 3px 5px;\n width: 170px;\n}\n.ql-snow .ql-tooltip a.ql-preview {\n display: inline-block;\n max-width: 200px;\n overflow-x: hidden;\n text-overflow: ellipsis;\n vertical-align: top;\n}\n.ql-snow .ql-tooltip a.ql-action::after {\n border-right: 1px solid #ccc;\n content: 'Edit';\n margin-left: 16px;\n padding-right: 8px;\n}\n.ql-snow .ql-tooltip a.ql-remove::before {\n content: 'Remove';\n margin-left: 8px;\n}\n.ql-snow .ql-tooltip a {\n line-height: 26px;\n}\n.ql-snow .ql-tooltip.ql-editing a.ql-preview,\n.ql-snow .ql-tooltip.ql-editing a.ql-remove {\n display: none;\n}\n.ql-snow .ql-tooltip.ql-editing input[type=text] {\n display: inline-block;\n}\n.ql-snow .ql-tooltip.ql-editing a.ql-action::after {\n border-right: 0px;\n content: 'Save';\n padding-right: 0px;\n}\n.ql-snow .ql-tooltip[data-mode=link]::before {\n content: \"Enter link:\";\n}\n.ql-snow .ql-tooltip[data-mode=formula]::before {\n content: \"Enter formula:\";\n}\n.ql-snow .ql-tooltip[data-mode=video]::before {\n content: \"Enter video:\";\n}\n.ql-snow a {\n color: #06c;\n}\n.ql-container.ql-snow {\n border: 1px solid #ccc;\n}\n","",{version:3,sources:["webpack://./../../node_modules/react-quill/dist/quill.snow.css"],names:[],mappings:"AAAA;;;;;EAKE;AACF;EACE,sBAAsB;EACtB,yCAAyC;EACzC,eAAe;EACf,YAAY;EACZ,WAAW;EACX,kBAAkB;AACpB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,oBAAoB;AACtB;AACA;EACE,eAAe;EACf,WAAW;EACX,kBAAkB;EAClB,kBAAkB;EAClB,QAAQ;AACV;AACA;EACE,SAAS;EACT,UAAU;AACZ;AACA;EACE,sBAAsB;EACtB,iBAAiB;EACjB,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,kBAAkB;EAClB,WAAW;EACX,gBAAgB;EAChB,gBAAgB;EAChB,qBAAqB;EACrB,qBAAqB;AACvB;AACA;EACE,YAAY;AACd;AACA;;;;;;;;;;;EAWE,SAAS;EACT,UAAU;EACV,6EAA6E;AAC/E;AACA;;EAEE,mBAAmB;AACrB;AACA;;EAEE,qBAAqB;AACvB;AACA;EACE,gBAAgB;AAClB;AACA;;EAEE,oBAAoB;AACtB;AACA;;EAEE,mBAAmB;AACrB;AACA;;EAEE,WAAW;EACX,eAAe;EACf,mBAAmB;AACrB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,qBAAqB;EACrB,mBAAmB;EACnB,YAAY;AACd;AACA;EACE,mBAAmB;EACnB,mBAAmB;EACnB,iBAAiB;AACnB;AACA;EACE,kBAAkB;EAClB,oBAAoB;AACtB;AACA;;EAEE,mBAAmB;AACrB;AACA;;EAEE,oBAAoB;AACtB;AACA;EACE,6EAA6E;EAC7E,yBAAyB;AAC3B;AACA;EACE,sCAAsC;AACxC;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,0CAA0C;AAC5C;AACA;EACE,sEAAsE;AACxE;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,0CAA0C;AAC5C;AACA;EACE,+DAA+D;AACjE;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,sCAAsC;AACxC;AACA;EACE,wDAAwD;AAC1D;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,0CAA0C;AAC5C;AACA;EACE,iDAAiD;AACnD;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,0CAA0C;AAC5C;AACA;EACE,0CAA0C;AAC5C;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,sCAAsC;AACxC;AACA;EACE,mCAAmC;AACrC;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,0CAA0C;AAC5C;AACA;EACE,4BAA4B;AAC9B;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,0CAA0C;AAC5C;AACA;EACE,qBAAqB;AACvB;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,sCAAsC;AACxC;AACA;EACE,iBAAiB;AACnB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,oBAAoB;AACtB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,oBAAoB;AACtB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,oBAAoB;AACtB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,qBAAqB;AACvB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,oBAAoB;AACtB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,qBAAqB;AACvB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,oBAAoB;AACtB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,qBAAqB;AACvB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,oBAAoB;AACtB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,qBAAqB;AACvB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,oBAAoB;AACtB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,qBAAqB;AACvB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,oBAAoB;AACtB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,qBAAqB;AACvB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,oBAAoB;AACtB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,qBAAqB;AACvB;AACA;EACE,cAAc;EACd,eAAe;AACjB;AACA;EACE,cAAc;AAChB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,sBAAsB;AACxB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,sBAAsB;AACxB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,WAAW;AACb;AACA;EACE,cAAc;AAChB;AACA;EACE,WAAW;AACb;AACA;EACE,WAAW;AACb;AACA;EACE,cAAc;AAChB;AACA;EACE,WAAW;AACb;AACA;EACE,WAAW;AACb;AACA;EACE,4CAA4C;AAC9C;AACA;EACE,2CAA2C;AAC7C;AACA;EACE,iBAAiB;AACnB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,cAAc;EACd,mBAAmB;AACrB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,sBAAsB;EACtB,+BAA+B;EAC/B,kBAAkB;EAClB,UAAU;EACV,oBAAoB;EACpB,kBAAkB;EAClB,WAAW;AACb;AACA;;EAEE,WAAW;EACX,WAAW;EACX,cAAc;AAChB;AACA;;EAEE,gBAAgB;EAChB,YAAY;EACZ,eAAe;EACf,qBAAqB;EACrB,WAAW;EACX,YAAY;EACZ,gBAAgB;EAChB,WAAW;AACb;AACA;;EAEE,WAAW;EACX,YAAY;AACd;AACA;;EAEE,aAAa;AACf;AACA;;EAEE,aAAa;AACf;AACA;;;;;;;;;;;;;;EAcE,WAAW;AACb;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BE,UAAU;AACZ;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BE,YAAY;AACd;AACA;EACE;;IAEE,WAAW;EACb;EACA;;;;IAIE,UAAU;EACZ;EACA;;;;IAIE,YAAY;EACd;AACF;AACA;EACE,sBAAsB;AACxB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,aAAa;AACf;AACA;;EAEE,kBAAkB;AACpB;AACA;EACE,kBAAkB;EAClB,2BAA2B;AAC7B;AACA;EACE,eAAe;EACf,qBAAqB;AACvB;AACA;EACE,4BAA4B;AAC9B;AACA;EACE,qBAAqB;EACrB,sBAAsB;AACxB;AACA;EACE,WAAW;EACX,WAAW;EACX,cAAc;AAChB;AACA;EACE,UAAU;EACV,YAAY;EACZ,qBAAqB;EACrB,sBAAsB;EACtB,eAAe;AACjB;AACA;EACE,UAAU;EACV,YAAY;EACZ,qBAAqB;EACrB,eAAe;AACjB;AACA;;EAEE,UAAU;AACZ;AACA;EACE,UAAU;AACZ;AACA;EACE,kBAAkB;AACpB;AACA;;EAEE,eAAe;AACjB;AACA;EACE,YAAY;AACd;AACA;EACE,aAAa;AACf;AACA;EACE,eAAe;AACjB;AACA;EACE,aAAa;AACf;AACA;EACE,cAAc;AAChB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,cAAc;AAChB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,2BAA2B;EAC3B,kBAAkB;EAClB,eAAe;EACf,kBAAkB;AACpB;AACA;;EAEE,yBAAyB;EACzB,kBAAkB;AACpB;AACA;EACE,qBAAqB;EACrB,kBAAkB;EAClB,eAAe;EACf,iBAAiB;AACnB;AACA;EACE,cAAc;EACd,gBAAgB;AAClB;AACA;EACE,yBAAyB;EACzB,cAAc;EACd,iBAAiB;AACnB;AACA;EACE,eAAe;AACjB;AACA;EACE,WAAW;EACX,qBAAqB;EACrB,WAAW;EACX,eAAe;EACf,gBAAgB;EAChB,YAAY;EACZ,kBAAkB;EAClB,sBAAsB;AACxB;AACA;EACE,eAAe;EACf,qBAAqB;EACrB,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;EAClB,kBAAkB;EAClB,WAAW;AACb;AACA;EACE,qBAAqB;EACrB,iBAAiB;AACnB;AACA;EACE,sBAAsB;EACtB,aAAa;EACb,eAAe;EACf,gBAAgB;EAChB,kBAAkB;EAClB,mBAAmB;AACrB;AACA;EACE,eAAe;EACf,cAAc;EACd,mBAAmB;EACnB,gBAAgB;AAClB;AACA;EACE,WAAW;EACX,UAAU;AACZ;AACA;EACE,UAAU;AACZ;AACA;EACE,YAAY;AACd;AACA;EACE,cAAc;EACd,gBAAgB;EAChB,SAAS;EACT,UAAU;AACZ;AACA;;EAEE,WAAW;AACb;AACA;;EAEE,gBAAgB;AAClB;AACA;;EAEE,UAAU;AACZ;AACA;EACE,gBAAgB;AAClB;AACA;EACE,YAAY;EACZ,WAAW;EACX,gBAAgB;AAClB;AACA;EACE,gBAAgB;EAChB,YAAY;AACd;AACA;EACE,6BAA6B;EAC7B,WAAW;EACX,YAAY;EACZ,WAAW;EACX,YAAY;EACZ,WAAW;AACb;AACA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,QAAQ;EACR,QAAQ;EACR,WAAW;AACb;AACA;;;;;;EAME,yBAAyB;AAC3B;AACA;EACE,WAAW;AACb;AACA;;EAEE,iBAAiB;AACnB;AACA;;EAEE,oBAAoB;AACtB;AACA;;EAEE,oBAAoB;AACtB;AACA;;EAEE,oBAAoB;AACtB;AACA;;EAEE,oBAAoB;AACtB;AACA;;EAEE,oBAAoB;AACtB;AACA;;EAEE,oBAAoB;AACtB;AACA;EACE,cAAc;AAChB;AACA;EACE,gBAAgB;AAClB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,cAAc;AAChB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,YAAY;AACd;AACA;;EAEE,qBAAqB;AACvB;AACA;;EAEE,gBAAgB;AAClB;AACA;;EAEE,oBAAoB;AACtB;AACA;EACE,4CAA4C;AAC9C;AACA;EACE,2CAA2C;AAC7C;AACA;EACE,WAAW;AACb;AACA;;EAEE,iBAAiB;AACnB;AACA;;EAEE,gBAAgB;AAClB;AACA;;EAEE,gBAAgB;AAClB;AACA;;EAEE,eAAe;AACjB;AACA;EACE,eAAe;AACjB;AACA;EACE,eAAe;AACjB;AACA;EACE,eAAe;AACjB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,sBAAsB;EACtB,sBAAsB;EACtB,+DAA+D;EAC/D,YAAY;AACd;AACA;EACE,kBAAkB;AACpB;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,6BAA6B;EAC7B,qCAAqC;AACvC;AACA;EACE,kBAAkB;AACpB;AACA;EACE,kBAAkB;AACpB;AACA;;EAEE,kBAAkB;AACpB;AACA;EACE,eAAe;AACjB;AACA;EACE,sBAAsB;EACtB,sBAAsB;EACtB,4BAA4B;EAC5B,WAAW;EACX,iBAAiB;EACjB,mBAAmB;AACrB;AACA;EACE,qBAAqB;EACrB,iBAAiB;EACjB,iBAAiB;AACnB;AACA;EACE,aAAa;EACb,sBAAsB;EACtB,eAAe;EACf,YAAY;EACZ,WAAW;EACX,gBAAgB;EAChB,YAAY;AACd;AACA;EACE,qBAAqB;EACrB,gBAAgB;EAChB,kBAAkB;EAClB,uBAAuB;EACvB,mBAAmB;AACrB;AACA;EACE,4BAA4B;EAC5B,eAAe;EACf,iBAAiB;EACjB,kBAAkB;AACpB;AACA;EACE,iBAAiB;EACjB,gBAAgB;AAClB;AACA;EACE,iBAAiB;AACnB;AACA;;EAEE,aAAa;AACf;AACA;EACE,qBAAqB;AACvB;AACA;EACE,iBAAiB;EACjB,eAAe;EACf,kBAAkB;AACpB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,uBAAuB;AACzB;AACA;EACE,WAAW;AACb;AACA;EACE,sBAAsB;AACxB",sourcesContent:["/*!\n * Quill Editor v1.3.7\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */\n.ql-container {\n box-sizing: border-box;\n font-family: Helvetica, Arial, sans-serif;\n font-size: 13px;\n height: 100%;\n margin: 0px;\n position: relative;\n}\n.ql-container.ql-disabled .ql-tooltip {\n visibility: hidden;\n}\n.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before {\n pointer-events: none;\n}\n.ql-clipboard {\n left: -100000px;\n height: 1px;\n overflow-y: hidden;\n position: absolute;\n top: 50%;\n}\n.ql-clipboard p {\n margin: 0;\n padding: 0;\n}\n.ql-editor {\n box-sizing: border-box;\n line-height: 1.42;\n height: 100%;\n outline: none;\n overflow-y: auto;\n padding: 12px 15px;\n tab-size: 4;\n -moz-tab-size: 4;\n text-align: left;\n white-space: pre-wrap;\n word-wrap: break-word;\n}\n.ql-editor > * {\n cursor: text;\n}\n.ql-editor p,\n.ql-editor ol,\n.ql-editor ul,\n.ql-editor pre,\n.ql-editor blockquote,\n.ql-editor h1,\n.ql-editor h2,\n.ql-editor h3,\n.ql-editor h4,\n.ql-editor h5,\n.ql-editor h6 {\n margin: 0;\n padding: 0;\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol,\n.ql-editor ul {\n padding-left: 1.5em;\n}\n.ql-editor ol > li,\n.ql-editor ul > li {\n list-style-type: none;\n}\n.ql-editor ul > li::before {\n content: '\\2022';\n}\n.ql-editor ul[data-checked=true],\n.ql-editor ul[data-checked=false] {\n pointer-events: none;\n}\n.ql-editor ul[data-checked=true] > li *,\n.ql-editor ul[data-checked=false] > li * {\n pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before,\n.ql-editor ul[data-checked=false] > li::before {\n color: #777;\n cursor: pointer;\n pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before {\n content: '\\2611';\n}\n.ql-editor ul[data-checked=false] > li::before {\n content: '\\2610';\n}\n.ql-editor li::before {\n display: inline-block;\n white-space: nowrap;\n width: 1.2em;\n}\n.ql-editor li:not(.ql-direction-rtl)::before {\n margin-left: -1.5em;\n margin-right: 0.3em;\n text-align: right;\n}\n.ql-editor li.ql-direction-rtl::before {\n margin-left: 0.3em;\n margin-right: -1.5em;\n}\n.ql-editor ol li:not(.ql-direction-rtl),\n.ql-editor ul li:not(.ql-direction-rtl) {\n padding-left: 1.5em;\n}\n.ql-editor ol li.ql-direction-rtl,\n.ql-editor ul li.ql-direction-rtl {\n padding-right: 1.5em;\n}\n.ql-editor ol li {\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n counter-increment: list-0;\n}\n.ql-editor ol li:before {\n content: counter(list-0, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n counter-increment: list-1;\n}\n.ql-editor ol li.ql-indent-1:before {\n content: counter(list-1, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-2 {\n counter-increment: list-2;\n}\n.ql-editor ol li.ql-indent-2:before {\n content: counter(list-2, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-2 {\n counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-3 {\n counter-increment: list-3;\n}\n.ql-editor ol li.ql-indent-3:before {\n content: counter(list-3, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-3 {\n counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-4 {\n counter-increment: list-4;\n}\n.ql-editor ol li.ql-indent-4:before {\n content: counter(list-4, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-4 {\n counter-reset: list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-5 {\n counter-increment: list-5;\n}\n.ql-editor ol li.ql-indent-5:before {\n content: counter(list-5, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-5 {\n counter-reset: list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-6 {\n counter-increment: list-6;\n}\n.ql-editor ol li.ql-indent-6:before {\n content: counter(list-6, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-6 {\n counter-reset: list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-7 {\n counter-increment: list-7;\n}\n.ql-editor ol li.ql-indent-7:before {\n content: counter(list-7, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-7 {\n counter-reset: list-8 list-9;\n}\n.ql-editor ol li.ql-indent-8 {\n counter-increment: list-8;\n}\n.ql-editor ol li.ql-indent-8:before {\n content: counter(list-8, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-8 {\n counter-reset: list-9;\n}\n.ql-editor ol li.ql-indent-9 {\n counter-increment: list-9;\n}\n.ql-editor ol li.ql-indent-9:before {\n content: counter(list-9, decimal) '. ';\n}\n.ql-editor .ql-indent-1:not(.ql-direction-rtl) {\n padding-left: 3em;\n}\n.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {\n padding-left: 4.5em;\n}\n.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {\n padding-right: 3em;\n}\n.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {\n padding-right: 4.5em;\n}\n.ql-editor .ql-indent-2:not(.ql-direction-rtl) {\n padding-left: 6em;\n}\n.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {\n padding-left: 7.5em;\n}\n.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {\n padding-right: 6em;\n}\n.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {\n padding-right: 7.5em;\n}\n.ql-editor .ql-indent-3:not(.ql-direction-rtl) {\n padding-left: 9em;\n}\n.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {\n padding-left: 10.5em;\n}\n.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {\n padding-right: 9em;\n}\n.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {\n padding-right: 10.5em;\n}\n.ql-editor .ql-indent-4:not(.ql-direction-rtl) {\n padding-left: 12em;\n}\n.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {\n padding-left: 13.5em;\n}\n.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {\n padding-right: 12em;\n}\n.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {\n padding-right: 13.5em;\n}\n.ql-editor .ql-indent-5:not(.ql-direction-rtl) {\n padding-left: 15em;\n}\n.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {\n padding-left: 16.5em;\n}\n.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {\n padding-right: 15em;\n}\n.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {\n padding-right: 16.5em;\n}\n.ql-editor .ql-indent-6:not(.ql-direction-rtl) {\n padding-left: 18em;\n}\n.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {\n padding-left: 19.5em;\n}\n.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {\n padding-right: 18em;\n}\n.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {\n padding-right: 19.5em;\n}\n.ql-editor .ql-indent-7:not(.ql-direction-rtl) {\n padding-left: 21em;\n}\n.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {\n padding-left: 22.5em;\n}\n.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {\n padding-right: 21em;\n}\n.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {\n padding-right: 22.5em;\n}\n.ql-editor .ql-indent-8:not(.ql-direction-rtl) {\n padding-left: 24em;\n}\n.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {\n padding-left: 25.5em;\n}\n.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {\n padding-right: 24em;\n}\n.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {\n padding-right: 25.5em;\n}\n.ql-editor .ql-indent-9:not(.ql-direction-rtl) {\n padding-left: 27em;\n}\n.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {\n padding-left: 28.5em;\n}\n.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {\n padding-right: 27em;\n}\n.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {\n padding-right: 28.5em;\n}\n.ql-editor .ql-video {\n display: block;\n max-width: 100%;\n}\n.ql-editor .ql-video.ql-align-center {\n margin: 0 auto;\n}\n.ql-editor .ql-video.ql-align-right {\n margin: 0 0 0 auto;\n}\n.ql-editor .ql-bg-black {\n background-color: #000;\n}\n.ql-editor .ql-bg-red {\n background-color: #e60000;\n}\n.ql-editor .ql-bg-orange {\n background-color: #f90;\n}\n.ql-editor .ql-bg-yellow {\n background-color: #ff0;\n}\n.ql-editor .ql-bg-green {\n background-color: #008a00;\n}\n.ql-editor .ql-bg-blue {\n background-color: #06c;\n}\n.ql-editor .ql-bg-purple {\n background-color: #93f;\n}\n.ql-editor .ql-color-white {\n color: #fff;\n}\n.ql-editor .ql-color-red {\n color: #e60000;\n}\n.ql-editor .ql-color-orange {\n color: #f90;\n}\n.ql-editor .ql-color-yellow {\n color: #ff0;\n}\n.ql-editor .ql-color-green {\n color: #008a00;\n}\n.ql-editor .ql-color-blue {\n color: #06c;\n}\n.ql-editor .ql-color-purple {\n color: #93f;\n}\n.ql-editor .ql-font-serif {\n font-family: Georgia, Times New Roman, serif;\n}\n.ql-editor .ql-font-monospace {\n font-family: Monaco, Courier New, monospace;\n}\n.ql-editor .ql-size-small {\n font-size: 0.75em;\n}\n.ql-editor .ql-size-large {\n font-size: 1.5em;\n}\n.ql-editor .ql-size-huge {\n font-size: 2.5em;\n}\n.ql-editor .ql-direction-rtl {\n direction: rtl;\n text-align: inherit;\n}\n.ql-editor .ql-align-center {\n text-align: center;\n}\n.ql-editor .ql-align-justify {\n text-align: justify;\n}\n.ql-editor .ql-align-right {\n text-align: right;\n}\n.ql-editor.ql-blank::before {\n color: rgba(0,0,0,0.6);\n content: attr(data-placeholder);\n font-style: italic;\n left: 15px;\n pointer-events: none;\n position: absolute;\n right: 15px;\n}\n.ql-snow.ql-toolbar:after,\n.ql-snow .ql-toolbar:after {\n clear: both;\n content: '';\n display: table;\n}\n.ql-snow.ql-toolbar button,\n.ql-snow .ql-toolbar button {\n background: none;\n border: none;\n cursor: pointer;\n display: inline-block;\n float: left;\n height: 24px;\n padding: 3px 5px;\n width: 28px;\n}\n.ql-snow.ql-toolbar button svg,\n.ql-snow .ql-toolbar button svg {\n float: left;\n height: 100%;\n}\n.ql-snow.ql-toolbar button:active:hover,\n.ql-snow .ql-toolbar button:active:hover {\n outline: none;\n}\n.ql-snow.ql-toolbar input.ql-image[type=file],\n.ql-snow .ql-toolbar input.ql-image[type=file] {\n display: none;\n}\n.ql-snow.ql-toolbar button:hover,\n.ql-snow .ql-toolbar button:hover,\n.ql-snow.ql-toolbar button:focus,\n.ql-snow .ql-toolbar button:focus,\n.ql-snow.ql-toolbar button.ql-active,\n.ql-snow .ql-toolbar button.ql-active,\n.ql-snow.ql-toolbar .ql-picker-label:hover,\n.ql-snow .ql-toolbar .ql-picker-label:hover,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active,\n.ql-snow.ql-toolbar .ql-picker-item:hover,\n.ql-snow .ql-toolbar .ql-picker-item:hover,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected {\n color: #06c;\n}\n.ql-snow.ql-toolbar button:hover .ql-fill,\n.ql-snow .ql-toolbar button:hover .ql-fill,\n.ql-snow.ql-toolbar button:focus .ql-fill,\n.ql-snow .ql-toolbar button:focus .ql-fill,\n.ql-snow.ql-toolbar button.ql-active .ql-fill,\n.ql-snow .ql-toolbar button.ql-active .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,\n.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill {\n fill: #06c;\n}\n.ql-snow.ql-toolbar button:hover .ql-stroke,\n.ql-snow .ql-toolbar button:hover .ql-stroke,\n.ql-snow.ql-toolbar button:focus .ql-stroke,\n.ql-snow .ql-toolbar button:focus .ql-stroke,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,\n.ql-snow.ql-toolbar button:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar button:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar button:focus .ql-stroke-miter,\n.ql-snow .ql-toolbar button:focus .ql-stroke-miter,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter {\n stroke: #06c;\n}\n@media (pointer: coarse) {\n .ql-snow.ql-toolbar button:hover:not(.ql-active),\n .ql-snow .ql-toolbar button:hover:not(.ql-active) {\n color: #444;\n }\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill {\n fill: #444;\n }\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter {\n stroke: #444;\n }\n}\n.ql-snow {\n box-sizing: border-box;\n}\n.ql-snow * {\n box-sizing: border-box;\n}\n.ql-snow .ql-hidden {\n display: none;\n}\n.ql-snow .ql-out-bottom,\n.ql-snow .ql-out-top {\n visibility: hidden;\n}\n.ql-snow .ql-tooltip {\n position: absolute;\n transform: translateY(10px);\n}\n.ql-snow .ql-tooltip a {\n cursor: pointer;\n text-decoration: none;\n}\n.ql-snow .ql-tooltip.ql-flip {\n transform: translateY(-10px);\n}\n.ql-snow .ql-formats {\n display: inline-block;\n vertical-align: middle;\n}\n.ql-snow .ql-formats:after {\n clear: both;\n content: '';\n display: table;\n}\n.ql-snow .ql-stroke {\n fill: none;\n stroke: #444;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-width: 2;\n}\n.ql-snow .ql-stroke-miter {\n fill: none;\n stroke: #444;\n stroke-miterlimit: 10;\n stroke-width: 2;\n}\n.ql-snow .ql-fill,\n.ql-snow .ql-stroke.ql-fill {\n fill: #444;\n}\n.ql-snow .ql-empty {\n fill: none;\n}\n.ql-snow .ql-even {\n fill-rule: evenodd;\n}\n.ql-snow .ql-thin,\n.ql-snow .ql-stroke.ql-thin {\n stroke-width: 1;\n}\n.ql-snow .ql-transparent {\n opacity: 0.4;\n}\n.ql-snow .ql-direction svg:last-child {\n display: none;\n}\n.ql-snow .ql-direction.ql-active svg:last-child {\n display: inline;\n}\n.ql-snow .ql-direction.ql-active svg:first-child {\n display: none;\n}\n.ql-snow .ql-editor h1 {\n font-size: 2em;\n}\n.ql-snow .ql-editor h2 {\n font-size: 1.5em;\n}\n.ql-snow .ql-editor h3 {\n font-size: 1.17em;\n}\n.ql-snow .ql-editor h4 {\n font-size: 1em;\n}\n.ql-snow .ql-editor h5 {\n font-size: 0.83em;\n}\n.ql-snow .ql-editor h6 {\n font-size: 0.67em;\n}\n.ql-snow .ql-editor a {\n text-decoration: underline;\n}\n.ql-snow .ql-editor blockquote {\n border-left: 4px solid #ccc;\n margin-bottom: 5px;\n margin-top: 5px;\n padding-left: 16px;\n}\n.ql-snow .ql-editor code,\n.ql-snow .ql-editor pre {\n background-color: #f0f0f0;\n border-radius: 3px;\n}\n.ql-snow .ql-editor pre {\n white-space: pre-wrap;\n margin-bottom: 5px;\n margin-top: 5px;\n padding: 5px 10px;\n}\n.ql-snow .ql-editor code {\n font-size: 85%;\n padding: 2px 4px;\n}\n.ql-snow .ql-editor pre.ql-syntax {\n background-color: #23241f;\n color: #f8f8f2;\n overflow: visible;\n}\n.ql-snow .ql-editor img {\n max-width: 100%;\n}\n.ql-snow .ql-picker {\n color: #444;\n display: inline-block;\n float: left;\n font-size: 14px;\n font-weight: 500;\n height: 24px;\n position: relative;\n vertical-align: middle;\n}\n.ql-snow .ql-picker-label {\n cursor: pointer;\n display: inline-block;\n height: 100%;\n padding-left: 8px;\n padding-right: 2px;\n position: relative;\n width: 100%;\n}\n.ql-snow .ql-picker-label::before {\n display: inline-block;\n line-height: 22px;\n}\n.ql-snow .ql-picker-options {\n background-color: #fff;\n display: none;\n min-width: 100%;\n padding: 4px 8px;\n position: absolute;\n white-space: nowrap;\n}\n.ql-snow .ql-picker-options .ql-picker-item {\n cursor: pointer;\n display: block;\n padding-bottom: 5px;\n padding-top: 5px;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-label {\n color: #ccc;\n z-index: 2;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill {\n fill: #ccc;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {\n stroke: #ccc;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-options {\n display: block;\n margin-top: -1px;\n top: 100%;\n z-index: 1;\n}\n.ql-snow .ql-color-picker,\n.ql-snow .ql-icon-picker {\n width: 28px;\n}\n.ql-snow .ql-color-picker .ql-picker-label,\n.ql-snow .ql-icon-picker .ql-picker-label {\n padding: 2px 4px;\n}\n.ql-snow .ql-color-picker .ql-picker-label svg,\n.ql-snow .ql-icon-picker .ql-picker-label svg {\n right: 4px;\n}\n.ql-snow .ql-icon-picker .ql-picker-options {\n padding: 4px 0px;\n}\n.ql-snow .ql-icon-picker .ql-picker-item {\n height: 24px;\n width: 24px;\n padding: 2px 4px;\n}\n.ql-snow .ql-color-picker .ql-picker-options {\n padding: 3px 5px;\n width: 152px;\n}\n.ql-snow .ql-color-picker .ql-picker-item {\n border: 1px solid transparent;\n float: left;\n height: 16px;\n margin: 2px;\n padding: 0px;\n width: 16px;\n}\n.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {\n position: absolute;\n margin-top: -9px;\n right: 0;\n top: 50%;\n width: 18px;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before {\n content: attr(data-label);\n}\n.ql-snow .ql-picker.ql-header {\n width: 98px;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item::before {\n content: 'Normal';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"1\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before {\n content: 'Heading 1';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"2\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before {\n content: 'Heading 2';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"3\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before {\n content: 'Heading 3';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"4\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before {\n content: 'Heading 4';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"5\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before {\n content: 'Heading 5';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"6\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before {\n content: 'Heading 6';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before {\n font-size: 2em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before {\n font-size: 1.5em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before {\n font-size: 1.17em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before {\n font-size: 1em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before {\n font-size: 0.83em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before {\n font-size: 0.67em;\n}\n.ql-snow .ql-picker.ql-font {\n width: 108px;\n}\n.ql-snow .ql-picker.ql-font .ql-picker-label::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item::before {\n content: 'Sans Serif';\n}\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {\n content: 'Serif';\n}\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {\n content: 'Monospace';\n}\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {\n font-family: Georgia, Times New Roman, serif;\n}\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {\n font-family: Monaco, Courier New, monospace;\n}\n.ql-snow .ql-picker.ql-size {\n width: 98px;\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item::before {\n content: 'Normal';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {\n content: 'Small';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {\n content: 'Large';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {\n content: 'Huge';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {\n font-size: 10px;\n}\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {\n font-size: 18px;\n}\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {\n font-size: 32px;\n}\n.ql-snow .ql-color-picker.ql-background .ql-picker-item {\n background-color: #fff;\n}\n.ql-snow .ql-color-picker.ql-color .ql-picker-item {\n background-color: #000;\n}\n.ql-toolbar.ql-snow {\n border: 1px solid #ccc;\n box-sizing: border-box;\n font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;\n padding: 8px;\n}\n.ql-toolbar.ql-snow .ql-formats {\n margin-right: 15px;\n}\n.ql-toolbar.ql-snow .ql-picker-label {\n border: 1px solid transparent;\n}\n.ql-toolbar.ql-snow .ql-picker-options {\n border: 1px solid transparent;\n box-shadow: rgba(0,0,0,0.2) 0 2px 8px;\n}\n.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label {\n border-color: #ccc;\n}\n.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options {\n border-color: #ccc;\n}\n.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,\n.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover {\n border-color: #000;\n}\n.ql-toolbar.ql-snow + .ql-container.ql-snow {\n border-top: 0px;\n}\n.ql-snow .ql-tooltip {\n background-color: #fff;\n border: 1px solid #ccc;\n box-shadow: 0px 0px 5px #ddd;\n color: #444;\n padding: 5px 12px;\n white-space: nowrap;\n}\n.ql-snow .ql-tooltip::before {\n content: \"Visit URL:\";\n line-height: 26px;\n margin-right: 8px;\n}\n.ql-snow .ql-tooltip input[type=text] {\n display: none;\n border: 1px solid #ccc;\n font-size: 13px;\n height: 26px;\n margin: 0px;\n padding: 3px 5px;\n width: 170px;\n}\n.ql-snow .ql-tooltip a.ql-preview {\n display: inline-block;\n max-width: 200px;\n overflow-x: hidden;\n text-overflow: ellipsis;\n vertical-align: top;\n}\n.ql-snow .ql-tooltip a.ql-action::after {\n border-right: 1px solid #ccc;\n content: 'Edit';\n margin-left: 16px;\n padding-right: 8px;\n}\n.ql-snow .ql-tooltip a.ql-remove::before {\n content: 'Remove';\n margin-left: 8px;\n}\n.ql-snow .ql-tooltip a {\n line-height: 26px;\n}\n.ql-snow .ql-tooltip.ql-editing a.ql-preview,\n.ql-snow .ql-tooltip.ql-editing a.ql-remove {\n display: none;\n}\n.ql-snow .ql-tooltip.ql-editing input[type=text] {\n display: inline-block;\n}\n.ql-snow .ql-tooltip.ql-editing a.ql-action::after {\n border-right: 0px;\n content: 'Save';\n padding-right: 0px;\n}\n.ql-snow .ql-tooltip[data-mode=link]::before {\n content: \"Enter link:\";\n}\n.ql-snow .ql-tooltip[data-mode=formula]::before {\n content: \"Enter formula:\";\n}\n.ql-snow .ql-tooltip[data-mode=video]::before {\n content: \"Enter video:\";\n}\n.ql-snow a {\n color: #06c;\n}\n.ql-container.ql-snow {\n border: 1px solid #ccc;\n}\n"],sourceRoot:""}]);const s=a},69398:(t,e,n)=>{"use strict";n.d(e,{Z:()=>it});var i=function(){function t(t){var e=this;this._insertTag=function(t){var n;n=0===e.tags.length?e.insertionPoint?e.insertionPoint.nextSibling:e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,n),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(t){if(t.sheet)return t.sheet;for(var e=0;e0?c(b,--g):0,m--,10===y&&(m=1,p--),y}function C(){return y=g2||z(y)>3?"":" "}function L(t,e){for(;--e&&C()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return S(t,A()+(e<6&&32==T()&&32==C()))}function M(t){for(;C();)switch(y){case t:return g;case 34:case 39:34!==t&&39!==t&&M(y);break;case 40:41===t&&M(t);break;case 92:C()}return g}function $(t,e){for(;C()&&t+y!==57&&(t+y!==84||47!==T()););return"/*"+S(e,g-1)+"*"+o(47===t?t:C())}function R(t){for(;!z(T());)C();return S(t,g)}var P="-ms-",U="-moz-",j="-webkit-",q="comm",D="rule",B="decl",F="@keyframes";function W(t,e){for(var n="",i=f(t),r=0;r0&&d(U)-v&&_(y>32?Z(U+";",i,n,v-1):Z(l(U," ","")+";",i,n,v-2),f);break;case 59:U+=";";default:if(_(P=X(U,e,n,p,m,r,h,k,N=[],M=[],v),a),123===z)if(0===m)V(U,e,P,P,N,a,v,h,M);else switch(99===g&&110===c(U,3)?100:g){case 100:case 108:case 109:case 115:V(t,P,P,i&&_(X(t,P,P,0,0,r,h,k,r,N=[],v),M),r,M,v,h,i?N:M);break;default:V(U,P,P,P,[""],M,0,h,M)}}p=m=y=0,w=S=1,k=U="",v=s;break;case 58:v=1+d(U),y=b;default:if(w<1)if(123==z)--w;else if(125==z&&0==w++&&125==x())continue;switch(U+=o(z),z*w){case 38:S=m>0?1:(U+="\f",-1);break;case 44:h[p++]=(d(U)-1)*S,S=1;break;case 64:45===T()&&(U+=I(C())),g=T(),m=v=d(k=U+=R(A())),z++;break;case 45:45===b&&2==d(U)&&(w=0)}}return a}function X(t,e,n,i,o,a,u,c,d,_,p){for(var m=o-1,v=0===o?a:[""],g=f(v),y=0,b=0,E=0;y0?v[x]+" "+C:l(C,/&\f/g,v[x])))&&(d[E++]=T);return w(t,e,n,0===o?D:c,d,_,p)}function J(t,e,n){return w(t,e,n,q,o(y),h(t,2,-2),0)}function Z(t,e,n,i){return w(t,e,n,B,h(t,0,i),h(t,i+1,-1),i)}var Y=function(t,e,n){for(var i=0,r=0;i=r,r=T(),38===i&&12===r&&(e[n]=1),!z(r);)C();return S(t,g)},K=new WeakMap,Q=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||K.get(n))&&!i){K.set(t,!0);for(var r=[],a=function(t,e){return N(function(t,e){var n=-1,i=44;do{switch(z(i)){case 0:38===i&&12===T()&&(e[n]=1),t[n]+=Y(g-1,e,n);break;case 2:t[n]+=I(i);break;case 4:if(44===i){t[++n]=58===T()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=o(i)}}while(i=C());return t}(k(t),e))}(e,r),s=n.props,l=0,u=0;l6)switch(c(t,e+1)){case 109:if(45!==c(t,e+4))break;case 102:return l(t,/(.+:)(.+)-([^]+)/,"$1"+j+"$2-$3$1"+U+(108==c(t,e+3)?"$3":"$2-$3"))+t;case 115:return~u(t,"stretch")?et(l(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==c(t,e+1))break;case 6444:switch(c(t,d(t)-3-(~u(t,"!important")&&10))){case 107:return l(t,":",":"+j)+t;case 101:return l(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+j+(45===c(t,14)?"inline-":"")+"box$3$1"+j+"$2$3$1"+P+"$2box$3")+t}break;case 5936:switch(c(t,e+11)){case 114:return j+t+P+l(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return j+t+P+l(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return j+t+P+l(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return j+t+P+t+t}return t}var nt=[function(t,e,n,i){if(t.length>-1&&!t.return)switch(t.type){case B:t.return=et(t.value,t.length);break;case F:return W([E(t,{value:l(t.value,"@","@"+j)})],i);case D:if(t.length)return function(t,e){return t.map(e).join("")}(t.props,(function(e){switch(function(t,e){return(t=/(::plac\w+|:read-\w+)/.exec(t))?t[0]:t}(e)){case":read-only":case":read-write":return W([E(t,{props:[l(e,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return W([E(t,{props:[l(e,/:(plac\w+)/,":"+j+"input-$1")]}),E(t,{props:[l(e,/:(plac\w+)/,":-moz-$1")]}),E(t,{props:[l(e,/:(plac\w+)/,P+"input-$1")]})],i)}return""}))}}],it=function(t){var e=t.key;if("css"===e){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var r,o,a=t.stylisPlugins||nt,s={},l=[];r=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n{"use strict";n.r(e),n.d(e,{cache:()=>y,css:()=>v,cx:()=>d,flush:()=>c,getRegisteredStyles:()=>_,hydrate:()=>h,injectGlobal:()=>p,keyframes:()=>m,merge:()=>f,sheet:()=>g});var i=n(69398),r=n(81782),o=n(99463);function a(t,e){if(void 0===t.inserted[e.name])return t.insert("",e,t.sheet,!0)}function s(t,e,n){var i=[],r=(0,o.fp)(t,i,n);return i.length<2?n:r+e(i)}var l=function t(e){for(var n="",i=0;i{"use strict";function i(t){for(var e,n=0,i=0,r=t.length;r>=4;++i,r-=4)e=1540483477*(65535&(e=255&t.charCodeAt(i)|(255&t.charCodeAt(++i))<<8|(255&t.charCodeAt(++i))<<16|(255&t.charCodeAt(++i))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&t.charCodeAt(i+2))<<16;case 2:n^=(255&t.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}n.d(e,{Z:()=>i})},36902:(t,e,n)=>{"use strict";function i(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}n.d(e,{Z:()=>i})},5893:(t,e,n)=>{"use strict";n.d(e,{C:()=>s,T:()=>u,i:()=>o,w:()=>l});var i=n(66204),r=n(69398),o=(n(62468),n(98013),!0),a=i.createContext("undefined"!=typeof HTMLElement?(0,r.Z)({key:"css"}):null),s=a.Provider,l=function(t){return(0,i.forwardRef)((function(e,n){var r=(0,i.useContext)(a);return t(e,r,n)}))};o||(l=function(t){return function(e){var n=(0,i.useContext)(a);return null===n?(n=(0,r.Z)({key:"css"}),i.createElement(a.Provider,{value:n},t(e,n))):t(e,n)}});var u=i.createContext({})},71580:(t,e,n)=>{"use strict";n.d(e,{F4:()=>c,iv:()=>u,xB:()=>l});var i=n(5893),r=n(66204),o=n(99463),a=n(98013),s=n(62468),l=(n(69398),n(69060),(0,i.w)((function(t,e){var n=t.styles,l=(0,s.O)([n],void 0,r.useContext(i.T));if(!i.i){for(var u,c=l.name,h=l.styles,d=l.next;void 0!==d;)c+=" "+d.name,h+=d.styles,d=d.next;var f=!0===e.compat,_=e.insert("",{name:c,styles:h},e.sheet,f);return f?null:r.createElement("style",((u={})["data-emotion"]=e.key+"-global "+c,u.dangerouslySetInnerHTML={__html:_},u.nonce=e.sheet.nonce,u))}var p=r.useRef();return(0,a.j)((function(){var t=e.key+"-global",n=new e.sheet.constructor({key:t,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),i=!1,r=document.querySelector('style[data-emotion="'+t+" "+l.name+'"]');return e.sheet.tags.length&&(n.before=e.sheet.tags[0]),null!==r&&(i=!0,r.setAttribute("data-emotion",t),n.hydrate([r])),p.current=[n,i],function(){n.flush()}}),[e]),(0,a.j)((function(){var t=p.current,n=t[0];if(t[1])t[1]=!1;else{if(void 0!==l.next&&(0,o.My)(e,l.next,!0),n.tags.length){var i=n.tags[n.tags.length-1].nextElementSibling;n.before=i,n.flush()}e.insert("",l,n,!1)}}),[e,l.name]),null})));function u(){for(var t=arguments.length,e=new Array(t),n=0;n{"use strict";n.d(e,{O:()=>p});var i=n(81663),r=n(45002),o=n(36902),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(t){return 45===t.charCodeAt(1)},u=function(t){return null!=t&&"boolean"!=typeof t},c=(0,o.Z)((function(t){return l(t)?t:t.replace(a,"-$&").toLowerCase()})),h=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace(s,(function(t,e,n){return f={name:e,styles:n,next:f},e}))}return 1===r.Z[t]||l(t)||"number"!=typeof e||0===e?e:e+"px"};function d(t,e,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)f={name:i.name,styles:i.styles,next:f},i=i.next;return n.styles+";"}return function(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r{"use strict";n.d(e,{O:()=>p});var i=n(81663),r=n(45002),o=n(36902),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(t){return 45===t.charCodeAt(1)},u=function(t){return null!=t&&"boolean"!=typeof t},c=(0,o.Z)((function(t){return l(t)?t:t.replace(a,"-$&").toLowerCase()})),h=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace(s,(function(t,e,n){return f={name:e,styles:n,next:f},e}))}return 1===r.Z[t]||l(t)||"number"!=typeof e||0===e?e:e+"px"};function d(t,e,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)f={name:i.name,styles:i.styles,next:f},i=i.next;return n.styles+";"}return function(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r{"use strict";n.d(e,{Z:()=>i});var i={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},98013:(t,e,n)=>{"use strict";var i;n.d(e,{L:()=>a,j:()=>s});var r=n(66204),o=!!(i||(i=n.t(r,2))).useInsertionEffect&&(i||(i=n.t(r,2))).useInsertionEffect,a=o||function(t){return t()},s=o||r.useLayoutEffect},99463:(t,e,n)=>{"use strict";function i(t,e,n){var i="";return n.split(" ").forEach((function(n){void 0!==t[n]?e.push(t[n]+";"):i+=n+" "})),i}n.d(e,{My:()=>o,fp:()=>i,hC:()=>r});var r=function(t,e,n){var i=t.key+"-"+e.name;!1===n&&void 0===t.registered[i]&&(t.registered[i]=e.styles)},o=function(t,e,n){r(t,e,n);var i=t.key+"-"+e.name;if(void 0===t.inserted[e.name]){var o=e;do{t.insert(e===o?"."+i:"",o,t.sheet,!0),o=o.next}while(void 0!==o)}}},52135:(t,e,n)=>{"use strict";function i(t,e,n){function i(t){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,e&&e.apply(this,arguments),this.toString=function(){return this.name+": "+this.message}}return void 0===n&&(n=Error),i.prototype=Object.create(n.prototype),i.prototype.name=t,i.prototype.constructor=i,i}n.r(e),n.d(e,{ArithmeticException:()=>s,ChronoField:()=>k,ChronoLocalDate:()=>H,ChronoLocalDateTime:()=>ue,ChronoUnit:()=>A,ChronoZonedDateTime:()=>ie,Clock:()=>_e,DateTimeException:()=>r,DateTimeFormatter:()=>Vt,DateTimeFormatterBuilder:()=>Bt,DateTimeParseException:()=>o,DayOfWeek:()=>R,DecimalStyle:()=>gt,Duration:()=>C,IllegalArgumentException:()=>l,IllegalStateException:()=>u,Instant:()=>fe,IsoChronology:()=>ee,IsoFields:()=>rt,LocalDate:()=>le,LocalDateTime:()=>ce,LocalTime:()=>he,Month:()=>P,MonthDay:()=>Xt,NullPointerException:()=>c,OffsetDateTime:()=>oe,OffsetTime:()=>ne,Period:()=>j,ResolverStyle:()=>B,SignStyle:()=>yt,Temporal:()=>W,TemporalAccessor:()=>I,TemporalAdjuster:()=>F,TemporalAdjusters:()=>Yt,TemporalAmount:()=>E,TemporalField:()=>S,TemporalQueries:()=>N,TemporalQuery:()=>O,TemporalUnit:()=>x,TextStyle:()=>bt,UnsupportedTemporalTypeException:()=>a,ValueRange:()=>z,Year:()=>Zt,YearConstants:()=>T,YearMonth:()=>Jt,ZoneId:()=>X,ZoneOffset:()=>Q,ZoneOffsetTransition:()=>ge,ZoneRegion:()=>Rt,ZoneRules:()=>J,ZoneRulesProvider:()=>$t,ZonedDateTime:()=>re,_:()=>Ne,convert:()=>Te,nativeJs:()=>Se,use:()=>Oe});var r=i("DateTimeException",(function(t,e){void 0===e&&(e=null);var n=t||this.name;null!==e&&e instanceof Error&&(n+="\n-------\nCaused by: "+e.stack+"\n-------\n"),this.message=n})),o=i("DateTimeParseException",(function(t,e,n,i){void 0===e&&(e=""),void 0===n&&(n=0),void 0===i&&(i=null);var r=t||this.name;r+=": "+e+", at index: "+n,null!==i&&i instanceof Error&&(r+="\n-------\nCaused by: "+i.stack+"\n-------\n"),this.message=r,this.parsedString=function(){return e},this.errorIndex=function(){return n}})),a=i("UnsupportedTemporalTypeException",null,r),s=i("ArithmeticException"),l=i("IllegalArgumentException"),u=i("IllegalStateException"),c=i("NullPointerException");function h(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t,e,n){if(!t)throw n?new n(e):new Error(e)}function _(t,e){if(null==t)throw new c(e+" must not be null");return t}function p(t,e,n){if(!(t instanceof e))throw new l(n+" must be an instance of "+(e.name?e.name:e)+(t&&t.constructor&&t.constructor.name?", but is "+t.constructor.name:""));return t}function m(t){throw new TypeError('abstract method "'+t+'" is not implemented')}var v=Object.freeze({__proto__:null,assert:f,requireNonNull:_,requireInstance:p,abstractMethodFail:m}),g=9007199254740991,y=-9007199254740991,b=function(){function t(){}return t.intDiv=function(e,n){var i=e/n;return i=t.roundDown(i),t.safeZero(i)},t.intMod=function(e,n){var i=e-t.intDiv(e,n)*n;return i=t.roundDown(i),t.safeZero(i)},t.roundDown=function(t){return t<0?Math.ceil(t):Math.floor(t)},t.floorDiv=function(e,n){var i=Math.floor(e/n);return t.safeZero(i)},t.floorMod=function(e,n){var i=e-t.floorDiv(e,n)*n;return t.safeZero(i)},t.safeAdd=function(e,n){if(t.verifyInt(e),t.verifyInt(n),0===e)return t.safeZero(n);if(0===n)return t.safeZero(e);var i=t.safeToInt(e+n);if(i===e||i===n)throw new s("Invalid addition beyond MAX_SAFE_INTEGER!");return i},t.safeSubtract=function(e,n){return t.verifyInt(e),t.verifyInt(n),0===e&&0===n?0:0===e?t.safeZero(-1*n):0===n?t.safeZero(e):t.safeToInt(e-n)},t.safeMultiply=function(e,n){if(t.verifyInt(e),t.verifyInt(n),1===e)return t.safeZero(n);if(1===n)return t.safeZero(e);if(0===e||0===n)return 0;var i=t.safeToInt(e*n);if(i/n!==e||e===y&&-1===n||n===y&&-1===e)throw new s("Multiplication overflows: "+e+" * "+n);return i},t.parseInt=function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(e){var n=parseInt(e);return t.safeToInt(n)})),t.safeToInt=function(e){return t.verifyInt(e),t.safeZero(e)},t.verifyInt=function(t){if(null==t)throw new s("Invalid value: '"+t+"', using null or undefined as argument");if(isNaN(t))throw new s("Invalid int value, using NaN as argument");if(t%1!=0)throw new s("Invalid value: '"+t+"' is a float");if(t>g||te?1:0},t.smi=function(t){return t>>>1&1073741824|3221225471&t},t.hash=function(e){if(e!=e||e===1/0)return 0;for(var n=e;e>4294967295;)n^=e/=4294967295;return t.smi(n)},t.hashCode=function(){for(var e=17,n=arguments.length,i=new Array(n),r=0;r0&&i<0)i+=he.NANOS_PER_SECOND;else if(n<0&&i>0)i-=he.NANOS_PER_SECOND;else if(0===n&&0!==i){var o=e.with(k.NANO_OF_SECOND,r);n=t.until(o,A.SECONDS)}}catch(t){}return this.ofSeconds(n,i)},e.parse=function(t){_(t,"text");var n=new RegExp("([-+]?)P(?:([-+]?[0-9]+)D)?(T(?:([-+]?[0-9]+)H)?(?:([-+]?[0-9]+)M)?(?:([-+]?[0-9]+)(?:[.,]([0-9]{0,9}))?S)?)?","i").exec(t);if(null!==n&&"T"===n[3]==0){var i="-"===n[1],r=n[2],a=n[4],s=n[5],l=n[6],u=n[7];if(null!=r||null!=a||null!=s||null!=l){var c=e._parseNumber(t,r,he.SECONDS_PER_DAY,"days"),h=e._parseNumber(t,a,he.SECONDS_PER_HOUR,"hours"),d=e._parseNumber(t,s,he.SECONDS_PER_MINUTE,"minutes"),f=e._parseNumber(t,l,1,"seconds"),p=null!=l&&"-"===l.charAt(0),m=e._parseFraction(t,u,p?-1:1);try{return e._create(i,c,h,d,f,m)}catch(e){throw new o("Text cannot be parsed to a Duration: overflow",t,0,e)}}}throw new o("Text cannot be parsed to a Duration",t,0)},e._parseNumber=function(t,e,n,i){if(null==e)return 0;try{return"+"===e[0]&&(e=e.substring(1)),b.safeMultiply(parseFloat(e),n)}catch(e){throw new o("Text cannot be parsed to a Duration: "+i,t,0,e)}},e._parseFraction=function(t,e,n){return null==e||0===e.length?0:(e=(e+"000000000").substring(0,9),parseFloat(e)*n)},e._create=function(){return arguments.length<=2?e._createSecondsNanos(arguments[0],arguments[1]):e._createNegateDaysHoursMinutesSecondsNanos(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},e._createNegateDaysHoursMinutesSecondsNanos=function(t,n,i,r,o,a){var s=b.safeAdd(n,b.safeAdd(i,b.safeAdd(r,o)));return t?e.ofSeconds(s,a).negated():e.ofSeconds(s,a)},e._createSecondsNanos=function(t,n){return void 0===t&&(t=0),void 0===n&&(n=0),0===t&&0===n?e.ZERO:new e(t,n)};var n=e.prototype;return n.get=function(t){if(t===A.SECONDS)return this._seconds;if(t===A.NANOS)return this._nanos;throw new a("Unsupported unit: "+t)},n.units=function(){return[A.SECONDS,A.NANOS]},n.isZero=function(){return 0===this._seconds&&0===this._nanos},n.isNegative=function(){return this._seconds<0},n.seconds=function(){return this._seconds},n.nano=function(){return this._nanos},n.withSeconds=function(t){return e._create(t,this._nanos)},n.withNanos=function(t){return k.NANO_OF_SECOND.checkValidIntValue(t),e._create(this._seconds,t)},n.plusDuration=function(t){return _(t,"duration"),this.plus(t.seconds(),t.nano())},n.plus=function(t,e){return 1===arguments.length?this.plusDuration(t):2===arguments.length&&e instanceof x?this.plusAmountUnit(t,e):this.plusSecondsNanos(t,e)},n.plusAmountUnit=function(t,e){if(_(t,"amountToAdd"),_(e,"unit"),e===A.DAYS)return this.plusSecondsNanos(b.safeMultiply(t,he.SECONDS_PER_DAY),0);if(e.isDurationEstimated())throw new a("Unit must not have an estimated duration");if(0===t)return this;if(e instanceof A){switch(e){case A.NANOS:return this.plusNanos(t);case A.MICROS:return this.plusSecondsNanos(1e3*b.intDiv(t,1e9),1e3*b.intMod(t,1e9));case A.MILLIS:return this.plusMillis(t);case A.SECONDS:return this.plusSeconds(t)}return this.plusSecondsNanos(b.safeMultiply(e.duration().seconds(),t),0)}var n=e.duration().multipliedBy(t);return this.plusSecondsNanos(n.seconds(),n.nano())},n.plusDays=function(t){return this.plusSecondsNanos(b.safeMultiply(t,he.SECONDS_PER_DAY),0)},n.plusHours=function(t){return this.plusSecondsNanos(b.safeMultiply(t,he.SECONDS_PER_HOUR),0)},n.plusMinutes=function(t){return this.plusSecondsNanos(b.safeMultiply(t,he.SECONDS_PER_MINUTE),0)},n.plusSeconds=function(t){return this.plusSecondsNanos(t,0)},n.plusMillis=function(t){return this.plusSecondsNanos(b.intDiv(t,1e3),1e6*b.intMod(t,1e3))},n.plusNanos=function(t){return this.plusSecondsNanos(0,t)},n.plusSecondsNanos=function(t,n){if(_(t,"secondsToAdd"),_(n,"nanosToAdd"),0===t&&0===n)return this;var i=b.safeAdd(this._seconds,t);i=b.safeAdd(i,b.intDiv(n,he.NANOS_PER_SECOND)),n=b.intMod(n,he.NANOS_PER_SECOND);var r=b.safeAdd(this._nanos,n);return e.ofSeconds(i,r)},n.minus=function(t,e){return 1===arguments.length?this.minusDuration(t):this.minusAmountUnit(t,e)},n.minusDuration=function(t){_(t,"duration");var e=t.seconds(),n=t.nano();return e===y?this.plus(g,-n):this.plus(-e,-n)},n.minusAmountUnit=function(t,e){return _(t,"amountToSubtract"),_(e,"unit"),t===y?this.plusAmountUnit(g,e):this.plusAmountUnit(-t,e)},n.minusDays=function(t){return t===y?this.plusDays(g):this.plusDays(-t)},n.minusHours=function(t){return t===y?this.plusHours(g):this.plusHours(-t)},n.minusMinutes=function(t){return t===y?this.plusMinutes(g):this.plusMinutes(-t)},n.minusSeconds=function(t){return t===y?this.plusSeconds(g):this.plusSeconds(-t)},n.minusMillis=function(t){return t===y?this.plusMillis(g):this.plusMillis(-t)},n.minusNanos=function(t){return t===y?this.plusNanos(g):this.plusNanos(-t)},n.multipliedBy=function(t){if(0===t)return e.ZERO;if(1===t)return this;var n=b.safeMultiply(this._seconds,t),i=b.safeMultiply(this._nanos,t);return n+=b.intDiv(i,he.NANOS_PER_SECOND),i=b.intMod(i,he.NANOS_PER_SECOND),e.ofSeconds(n,i)},n.dividedBy=function(t){if(0===t)throw new s("Cannot divide by zero");if(1===t)return this;var n=b.intDiv(this._seconds,t),i=b.roundDown((this._seconds/t-n)*he.NANOS_PER_SECOND),r=b.intDiv(this._nanos,t);return r=i+r,e.ofSeconds(n,r)},n.negated=function(){return this.multipliedBy(-1)},n.abs=function(){return this.isNegative()?this.negated():this},n.addTo=function(t){return _(t,"temporal"),0!==this._seconds&&(t=t.plus(this._seconds,A.SECONDS)),0!==this._nanos&&(t=t.plus(this._nanos,A.NANOS)),t},n.subtractFrom=function(t){return _(t,"temporal"),0!==this._seconds&&(t=t.minus(this._seconds,A.SECONDS)),0!==this._nanos&&(t=t.minus(this._nanos,A.NANOS)),t},n.toDays=function(){return b.intDiv(this._seconds,he.SECONDS_PER_DAY)},n.toHours=function(){return b.intDiv(this._seconds,he.SECONDS_PER_HOUR)},n.toMinutes=function(){return b.intDiv(this._seconds,he.SECONDS_PER_MINUTE)},n.toMillis=function(){var t=Math.round(b.safeMultiply(this._seconds,1e3));return b.safeAdd(t,b.intDiv(this._nanos,1e6))},n.toNanos=function(){var t=b.safeMultiply(this._seconds,he.NANOS_PER_SECOND);return b.safeAdd(t,this._nanos)},n.compareTo=function(t){_(t,"otherDuration"),p(t,e,"otherDuration");var n=b.compareNumbers(this._seconds,t.seconds());return 0!==n?n:this._nanos-t.nano()},n.equals=function(t){return this===t||t instanceof e&&this.seconds()===t.seconds()&&this.nano()===t.nano()},n.toString=function(){if(this===e.ZERO)return"PT0S";var t,n=b.intDiv(this._seconds,he.SECONDS_PER_HOUR),i=b.intDiv(b.intMod(this._seconds,he.SECONDS_PER_HOUR),he.SECONDS_PER_MINUTE),r=b.intMod(this._seconds,he.SECONDS_PER_MINUTE),o="PT";if(0!==n&&(o+=n+"H"),0!==i&&(o+=i+"M"),0===r&&0===this._nanos&&o.length>2)return o;if(r<0&&this._nanos>0?o+=-1===r?"-0":r+1:o+=r,this._nanos>0)for(o+=".",o+=t=(t=r<0?""+(2*he.NANOS_PER_SECOND-this._nanos):""+(he.NANOS_PER_SECOND+this._nanos)).slice(1,t.length);"0"===o.charAt(o.length-1);)o=o.slice(0,o.length-1);return o+"S"},n.toJSON=function(){return this.toString()},e}(E),T=function(){},A=function(t){function e(e,n){var i;return(i=t.call(this)||this)._name=e,i._duration=n,i}h(e,t);var n=e.prototype;return n.duration=function(){return this._duration},n.isDurationEstimated=function(){return this.isDateBased()||this===e.FOREVER},n.isDateBased=function(){return this.compareTo(e.DAYS)>=0&&this!==e.FOREVER},n.isTimeBased=function(){return this.compareTo(e.DAYS)<0},n.isSupportedBy=function(t){if(this===e.FOREVER)return!1;try{return t.plus(1,this),!0}catch(e){try{return t.plus(-1,this),!0}catch(t){return!1}}},n.addTo=function(t,e){return t.plus(e,this)},n.between=function(t,e){return t.until(e,this)},n.toString=function(){return this._name},n.compareTo=function(t){return this.duration().compareTo(t.duration())},e}(x),S=function(){function t(){}var e=t.prototype;return e.isDateBased=function(){m("isDateBased")},e.isTimeBased=function(){m("isTimeBased")},e.baseUnit=function(){m("baseUnit")},e.rangeUnit=function(){m("rangeUnit")},e.range=function(){m("range")},e.rangeRefinedBy=function(t){m("rangeRefinedBy")},e.getFrom=function(t){m("getFrom")},e.adjustInto=function(t,e){m("adjustInto")},e.isSupportedBy=function(t){m("isSupportedBy")},e.displayName=function(){m("displayName")},e.equals=function(t){m("equals")},e.name=function(){m("name")},t}(),z=function(){function t(t,e,n,i){f(!(t>e),"Smallest minimum value '"+t+"' must be less than largest minimum value '"+e+"'",l),f(!(n>i),"Smallest maximum value '"+n+"' must be less than largest maximum value '"+i+"'",l),f(!(e>i),"Minimum value '"+e+"' must be less than maximum value '"+i+"'",l),this._minSmallest=t,this._minLargest=e,this._maxLargest=i,this._maxSmallest=n}var e=t.prototype;return e.isFixed=function(){return this._minSmallest===this._minLargest&&this._maxSmallest===this._maxLargest},e.minimum=function(){return this._minSmallest},e.largestMinimum=function(){return this._minLargest},e.maximum=function(){return this._maxLargest},e.smallestMaximum=function(){return this._maxSmallest},e.isValidValue=function(t){return this.minimum()<=t&&t<=this.maximum()},e.checkValidValue=function(t,e){return this.isValidValue(t)?t:f(!1,null!=e?"Invalid value for "+e+" (valid values "+this.toString()+"): "+t:"Invalid value (valid values "+this.toString()+"): "+t,r)},e.checkValidIntValue=function(t,e){if(!1===this.isValidIntValue(t))throw new r("Invalid int value for "+e+": "+t);return t},e.isValidIntValue=function(t){return this.isIntValue()&&this.isValidValue(t)},e.isIntValue=function(){return this.minimum()>=b.MIN_SAFE_INTEGER&&this.maximum()<=b.MAX_SAFE_INTEGER},e.equals=function(e){return e===this||e instanceof t&&this._minSmallest===e._minSmallest&&this._minLargest===e._minLargest&&this._maxSmallest===e._maxSmallest&&this._maxLargest===e._maxLargest},e.hashCode=function(){return b.hashCode(this._minSmallest,this._minLargest,this._maxSmallest,this._maxLargest)},e.toString=function(){var t=this.minimum()+(this.minimum()!==this.largestMinimum()?"/"+this.largestMinimum():"");return(t+=" - ")+(this.smallestMaximum()+(this.smallestMaximum()!==this.maximum()?"/"+this.maximum():""))},t.of=function(){return 2===arguments.length?new t(arguments[0],arguments[0],arguments[1],arguments[1]):3===arguments.length?new t(arguments[0],arguments[0],arguments[1],arguments[2]):4===arguments.length?new t(arguments[0],arguments[1],arguments[2],arguments[3]):f(!1,"Invalid number of arguments "+arguments.length,l)},t}(),k=function(t){function e(e,n,i,r){var o;return(o=t.call(this)||this)._name=e,o._baseUnit=n,o._rangeUnit=i,o._range=r,o}h(e,t),e.byName=function(t){for(var n in e)if(e[n]&&e[n]instanceof e&&e[n].name()===t)return e[n]};var n=e.prototype;return n.name=function(){return this._name},n.baseUnit=function(){return this._baseUnit},n.rangeUnit=function(){return this._rangeUnit},n.range=function(){return this._range},n.displayName=function(){return this.toString()},n.checkValidValue=function(t){return this.range().checkValidValue(t,this)},n.checkValidIntValue=function(t){return this.range().checkValidIntValue(t,this)},n.isDateBased=function(){return this===e.DAY_OF_WEEK||this===e.ALIGNED_DAY_OF_WEEK_IN_MONTH||this===e.ALIGNED_DAY_OF_WEEK_IN_YEAR||this===e.DAY_OF_MONTH||this===e.DAY_OF_YEAR||this===e.EPOCH_DAY||this===e.ALIGNED_WEEK_OF_MONTH||this===e.ALIGNED_WEEK_OF_YEAR||this===e.MONTH_OF_YEAR||this===e.YEAR_OF_ERA||this===e.YEAR||this===e.ERA},n.isTimeBased=function(){return this===e.NANO_OF_SECOND||this===e.NANO_OF_DAY||this===e.MICRO_OF_SECOND||this===e.MICRO_OF_DAY||this===e.MILLI_OF_SECOND||this===e.MILLI_OF_DAY||this===e.SECOND_OF_MINUTE||this===e.SECOND_OF_DAY||this===e.MINUTE_OF_HOUR||this===e.MINUTE_OF_DAY||this===e.HOUR_OF_AMPM||this===e.CLOCK_HOUR_OF_AMPM||this===e.HOUR_OF_DAY||this===e.CLOCK_HOUR_OF_DAY||this===e.AMPM_OF_DAY},n.rangeRefinedBy=function(t){return t.range(this)},n.getFrom=function(t){return t.getLong(this)},n.toString=function(){return this.name()},n.equals=function(t){return this===t},n.adjustInto=function(t,e){return t.with(this,e)},n.isSupportedBy=function(t){return t.isSupported(this)},e}(S),N=function(){function t(){}return t.zoneId=function(){return t.ZONE_ID},t.chronology=function(){return t.CHRONO},t.precision=function(){return t.PRECISION},t.zone=function(){return t.ZONE},t.offset=function(){return t.OFFSET},t.localDate=function(){return t.LOCAL_DATE},t.localTime=function(){return t.LOCAL_TIME},t}(),I=function(){function t(){}var e=t.prototype;return e.query=function(t){return t===N.zoneId()||t===N.chronology()||t===N.precision()?null:t.queryFrom(this)},e.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},e.range=function(t){if(t instanceof k){if(this.isSupported(t))return t.range();throw new a("Unsupported field: "+t)}return t.rangeRefinedBy(this)},t}(),O=function(t){function e(){return t.apply(this,arguments)||this}return h(e,t),e.prototype.queryFrom=function(t){m("queryFrom")},e}(w);function L(t,e){var n=function(t){function e(){return t.apply(this,arguments)||this}return h(e,t),e}(O);return n.prototype.queryFrom=e,new n(t)}var M,$,R=function(t){function e(e,n){var i;return(i=t.call(this)||this)._ordinal=e,i._name=n,i}h(e,t);var n=e.prototype;return n.ordinal=function(){return this._ordinal},n.name=function(){return this._name},e.values=function(){return M.slice()},e.valueOf=function(t){for(var n=0;n7)throw new r("Invalid value for DayOfWeek: "+t);return M[t-1]},e.from=function(t){if(f(null!=t,"temporal",c),t instanceof e)return t;try{return e.of(t.get(k.DAY_OF_WEEK))}catch(e){throw e instanceof r?new r("Unable to obtain DayOfWeek from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""),e):e}},n.value=function(){return this._ordinal+1},n.displayName=function(t,e){throw new l("Pattern using (localized) text not implemented yet!")},n.isSupported=function(t){return t instanceof k?t===k.DAY_OF_WEEK:null!=t&&t.isSupportedBy(this)},n.range=function(t){if(t===k.DAY_OF_WEEK)return t.range();if(t instanceof k)throw new a("Unsupported field: "+t);return t.rangeRefinedBy(this)},n.get=function(t){return t===k.DAY_OF_WEEK?this.value():this.range(t).checkValidIntValue(this.getLong(t),t)},n.getLong=function(t){if(t===k.DAY_OF_WEEK)return this.value();if(t instanceof k)throw new a("Unsupported field: "+t);return t.getFrom(this)},n.plus=function(t){var e=b.floorMod(t,7);return M[b.floorMod(this._ordinal+(e+7),7)]},n.minus=function(t){return this.plus(-1*b.floorMod(t,7))},n.query=function(t){return t===N.precision()?A.DAYS:t===N.localDate()||t===N.localTime()||t===N.chronology()||t===N.zone()||t===N.zoneId()||t===N.offset()?null:(f(null!=t,"query",c),t.queryFrom(this))},n.adjustInto=function(t){return _(t,"temporal"),t.with(k.DAY_OF_WEEK,this.value())},n.equals=function(t){return this===t},n.toString=function(){return this._name},n.compareTo=function(t){return _(t,"other"),p(t,e,"other"),this._ordinal-t._ordinal},n.toJSON=function(){return this.toString()},e}(I),P=function(t){function e(e,n){var i;return(i=t.call(this)||this)._value=b.safeToInt(e),i._name=n,i}h(e,t);var n=e.prototype;return n.value=function(){return this._value},n.ordinal=function(){return this._value-1},n.name=function(){return this._name},n.displayName=function(t,e){throw new l("Pattern using (localized) text not implemented yet!")},n.isSupported=function(t){return null!==t&&(t instanceof k?t===k.MONTH_OF_YEAR:null!=t&&t.isSupportedBy(this))},n.get=function(t){return t===k.MONTH_OF_YEAR?this.value():this.range(t).checkValidIntValue(this.getLong(t),t)},n.getLong=function(t){if(t===k.MONTH_OF_YEAR)return this.value();if(t instanceof k)throw new a("Unsupported field: "+t);return t.getFrom(this)},n.plus=function(t){var n=b.intMod(t,12)+12,i=b.intMod(this.value()+n,12);return i=0===i?12:i,e.of(i)},n.minus=function(t){return this.plus(-1*b.intMod(t,12))},n.length=function(t){switch(this){case e.FEBRUARY:return t?29:28;case e.APRIL:case e.JUNE:case e.SEPTEMBER:case e.NOVEMBER:return 30;default:return 31}},n.minLength=function(){switch(this){case e.FEBRUARY:return 28;case e.APRIL:case e.JUNE:case e.SEPTEMBER:case e.NOVEMBER:return 30;default:return 31}},n.maxLength=function(){switch(this){case e.FEBRUARY:return 29;case e.APRIL:case e.JUNE:case e.SEPTEMBER:case e.NOVEMBER:return 30;default:return 31}},n.firstDayOfYear=function(t){var n=t?1:0;switch(this){case e.JANUARY:return 1;case e.FEBRUARY:return 32;case e.MARCH:return 60+n;case e.APRIL:return 91+n;case e.MAY:return 121+n;case e.JUNE:return 152+n;case e.JULY:return 182+n;case e.AUGUST:return 213+n;case e.SEPTEMBER:return 244+n;case e.OCTOBER:return 274+n;case e.NOVEMBER:return 305+n;case e.DECEMBER:default:return 335+n}},n.firstMonthOfQuarter=function(){switch(this){case e.JANUARY:case e.FEBRUARY:case e.MARCH:return e.JANUARY;case e.APRIL:case e.MAY:case e.JUNE:return e.APRIL;case e.JULY:case e.AUGUST:case e.SEPTEMBER:return e.JULY;case e.OCTOBER:case e.NOVEMBER:case e.DECEMBER:default:return e.OCTOBER}},n.query=function(e){return f(null!=e,"query() parameter must not be null",r),e===N.chronology()?ee.INSTANCE:e===N.precision()?A.MONTHS:t.prototype.query.call(this,e)},n.toString=function(){switch(this){case e.JANUARY:return"JANUARY";case e.FEBRUARY:return"FEBRUARY";case e.MARCH:return"MARCH";case e.APRIL:return"APRIL";case e.MAY:return"MAY";case e.JUNE:return"JUNE";case e.JULY:return"JULY";case e.AUGUST:return"AUGUST";case e.SEPTEMBER:return"SEPTEMBER";case e.OCTOBER:return"OCTOBER";case e.NOVEMBER:return"NOVEMBER";case e.DECEMBER:return"DECEMBER";default:return"unknown Month, value: "+this.value()}},n.toJSON=function(){return this.toString()},n.adjustInto=function(t){return t.with(k.MONTH_OF_YEAR,this.value())},n.compareTo=function(t){return _(t,"other"),p(t,e,"other"),this._value-t._value},n.equals=function(t){return this===t},e.valueOf=function(t){for(var n=0;n<$.length&&$[n].name()!==t;n++);return e.of(n+1)},e.values=function(){return $.slice()},e.of=function(t){return(t<1||t>12)&&f(!1,"Invalid value for MonthOfYear: "+t,r),$[t-1]},e.from=function(t){if(t instanceof e)return t;try{return e.of(t.get(k.MONTH_OF_YEAR))}catch(e){throw new r("Unable to obtain Month from TemporalAccessor: "+t+" of type "+(t&&null!=t.constructor?t.constructor.name:""),e)}},e}(I),U=/([-+]?)P(?:([-+]?[0-9]+)Y)?(?:([-+]?[0-9]+)M)?(?:([-+]?[0-9]+)W)?(?:([-+]?[0-9]+)D)?/,j=function(t){function e(n,i,r){var o;o=t.call(this)||this;var a=b.safeToInt(n),s=b.safeToInt(i),l=b.safeToInt(r);return 0===a&&0===s&&0===l?(e.ZERO||(o._years=a,o._months=s,o._days=l,e.ZERO=d(o)),e.ZERO||d(o)):(o._years=a,o._months=s,o._days=l,o)}h(e,t),e.ofYears=function(t){return e.create(t,0,0)},e.ofMonths=function(t){return e.create(0,t,0)},e.ofWeeks=function(t){return e.create(0,0,b.safeMultiply(t,7))},e.ofDays=function(t){return e.create(0,0,t)},e.of=function(t,n,i){return e.create(t,n,i)},e.from=function(t){if(t instanceof e)return t;_(t,"amount");for(var n=0,i=0,o=0,a=t.units(),s=0;se.MAX_SECONDS)throw new r("Zone offset not in valid range: -18:00 to +18:00")},e._validate=function(t,e,n){if(t<-18||t>18)throw new r("Zone offset hours not in valid range: value "+t+" is not in the range -18 to 18");if(t>0){if(e<0||n<0)throw new r("Zone offset minutes and seconds must be positive because hours is positive")}else if(t<0){if(e>0||n>0)throw new r("Zone offset minutes and seconds must be negative because hours is negative")}else if(e>0&&n<0||e<0&&n>0)throw new r("Zone offset minutes and seconds must have the same sign");if(Math.abs(e)>59)throw new r("Zone offset minutes not in valid range: abs(value) "+Math.abs(e)+" is not in the range 0 to 59");if(Math.abs(n)>59)throw new r("Zone offset seconds not in valid range: abs(value) "+Math.abs(n)+" is not in the range 0 to 59");if(18===Math.abs(t)&&(Math.abs(e)>0||Math.abs(n)>0))throw new r("Zone offset not in valid range: -18:00 to +18:00")},e.of=function(t){_(t,"offsetId");var n,i,o,a=K[t];if(null!=a)return a;switch(t.length){case 2:t=t[0]+"0"+t[1];case 3:n=e._parseNumber(t,1,!1),i=0,o=0;break;case 5:n=e._parseNumber(t,1,!1),i=e._parseNumber(t,3,!1),o=0;break;case 6:n=e._parseNumber(t,1,!1),i=e._parseNumber(t,4,!0),o=0;break;case 7:n=e._parseNumber(t,1,!1),i=e._parseNumber(t,3,!1),o=e._parseNumber(t,5,!1);break;case 9:n=e._parseNumber(t,1,!1),i=e._parseNumber(t,4,!0),o=e._parseNumber(t,7,!0);break;default:throw new r("Invalid ID for ZoneOffset, invalid format: "+t)}var s=t[0];if("+"!==s&&"-"!==s)throw new r("Invalid ID for ZoneOffset, plus/minus not found when expected: "+t);return"-"===s?e.ofHoursMinutesSeconds(-n,-i,-o):e.ofHoursMinutesSeconds(n,i,o)},e._parseNumber=function(t,e,n){if(n&&":"!==t[e-1])throw new r("Invalid ID for ZoneOffset, colon not found when expected: "+t);var i=t[e],o=t[e+1];if(i<"0"||i>"9"||o<"0"||o>"9")throw new r("Invalid ID for ZoneOffset, non numeric characters found: "+t);return 10*(i.charCodeAt(0)-48)+(o.charCodeAt(0)-48)},e.ofHours=function(t){return e.ofHoursMinutesSeconds(t,0,0)},e.ofHoursMinutes=function(t,n){return e.ofHoursMinutesSeconds(t,n,0)},e.ofHoursMinutesSeconds=function(t,n,i){e._validate(t,n,i);var r=t*he.SECONDS_PER_HOUR+n*he.SECONDS_PER_MINUTE+i;return e.ofTotalSeconds(r)},e.ofTotalMinutes=function(t){var n=t*he.SECONDS_PER_MINUTE;return e.ofTotalSeconds(n)},e.ofTotalSeconds=function(t){if(t%(15*he.SECONDS_PER_MINUTE)==0){var n=t,i=Y[n];return null==i&&(i=new e(t),Y[n]=i,K[i.id()]=i),i}return new e(t)},n.rules=function(){return this._rules},n.get=function(t){return this.getLong(t)},n.getLong=function(t){if(t===k.OFFSET_SECONDS)return this._totalSeconds;if(t instanceof k)throw new r("Unsupported field: "+t);return t.getFrom(this)},n.query=function(t){return _(t,"query"),t===N.offset()||t===N.zone()?this:t===N.localDate()||t===N.localTime()||t===N.precision()||t===N.chronology()||t===N.zoneId()?null:t.queryFrom(this)},n.adjustInto=function(t){return t.with(k.OFFSET_SECONDS,this._totalSeconds)},n.compareTo=function(t){return _(t,"other"),t._totalSeconds-this._totalSeconds},n.equals=function(t){return this===t||t instanceof e&&this._totalSeconds===t._totalSeconds},n.hashCode=function(){return this._totalSeconds},n.toString=function(){return this._id},e}(X),tt=function(t){function e(){var e;return(e=t.call(this)||this).fieldValues=new D,e.chrono=null,e.zone=null,e.date=null,e.time=null,e.leapSecond=!1,e.excessDays=null,e}h(e,t),e.create=function(t,n){var i=new e;return i._addFieldValue(t,n),i};var n=e.prototype;return n.getFieldValue0=function(t){return this.fieldValues.get(t)},n._addFieldValue=function(t,e){_(t,"field");var n=this.getFieldValue0(t);if(null!=n&&n!==e)throw new r("Conflict found: "+t+" "+n+" differs from "+t+" "+e+": "+this);return this._putFieldValue0(t,e)},n._putFieldValue0=function(t,e){return this.fieldValues.put(t,e),this},n.resolve=function(t,e){return null!=e&&this.fieldValues.retainAll(e),this._mergeDate(t),this._mergeTime(t),this._resolveTimeInferZeroes(t),null!=this.excessDays&&!1===this.excessDays.isZero()&&null!=this.date&&null!=this.time&&(this.date=this.date.plus(this.excessDays),this.excessDays=j.ZERO),this._resolveInstant(),this},n._mergeDate=function(t){this._checkDate(ee.INSTANCE.resolveDate(this.fieldValues,t))},n._checkDate=function(t){if(null!=t)for(var e in this._addObject(t),this.fieldValues.keySet()){var n=k.byName(e);if(n&&void 0!==this.fieldValues.get(n)&&n.isDateBased()){var i=void 0;try{i=t.getLong(n)}catch(t){if(t instanceof r)continue;throw t}var o=this.fieldValues.get(n);if(i!==o)throw new r("Conflict found: Field "+n+" "+i+" differs from "+n+" "+o+" derived from "+t)}}},n._mergeTime=function(t){if(this.fieldValues.containsKey(k.CLOCK_HOUR_OF_DAY)){var e=this.fieldValues.remove(k.CLOCK_HOUR_OF_DAY);t!==B.LENIENT&&(t===B.SMART&&0===e||k.CLOCK_HOUR_OF_DAY.checkValidValue(e)),this._addFieldValue(k.HOUR_OF_DAY,24===e?0:e)}if(this.fieldValues.containsKey(k.CLOCK_HOUR_OF_AMPM)){var n=this.fieldValues.remove(k.CLOCK_HOUR_OF_AMPM);t!==B.LENIENT&&(t===B.SMART&&0===n||k.CLOCK_HOUR_OF_AMPM.checkValidValue(n)),this._addFieldValue(k.HOUR_OF_AMPM,12===n?0:n)}if(t!==B.LENIENT&&(this.fieldValues.containsKey(k.AMPM_OF_DAY)&&k.AMPM_OF_DAY.checkValidValue(this.fieldValues.get(k.AMPM_OF_DAY)),this.fieldValues.containsKey(k.HOUR_OF_AMPM)&&k.HOUR_OF_AMPM.checkValidValue(this.fieldValues.get(k.HOUR_OF_AMPM))),this.fieldValues.containsKey(k.AMPM_OF_DAY)&&this.fieldValues.containsKey(k.HOUR_OF_AMPM)){var i=this.fieldValues.remove(k.AMPM_OF_DAY),r=this.fieldValues.remove(k.HOUR_OF_AMPM);this._addFieldValue(k.HOUR_OF_DAY,12*i+r)}if(this.fieldValues.containsKey(k.NANO_OF_DAY)){var o=this.fieldValues.remove(k.NANO_OF_DAY);t!==B.LENIENT&&k.NANO_OF_DAY.checkValidValue(o),this._addFieldValue(k.SECOND_OF_DAY,b.intDiv(o,1e9)),this._addFieldValue(k.NANO_OF_SECOND,b.intMod(o,1e9))}if(this.fieldValues.containsKey(k.MICRO_OF_DAY)){var a=this.fieldValues.remove(k.MICRO_OF_DAY);t!==B.LENIENT&&k.MICRO_OF_DAY.checkValidValue(a),this._addFieldValue(k.SECOND_OF_DAY,b.intDiv(a,1e6)),this._addFieldValue(k.MICRO_OF_SECOND,b.intMod(a,1e6))}if(this.fieldValues.containsKey(k.MILLI_OF_DAY)){var s=this.fieldValues.remove(k.MILLI_OF_DAY);t!==B.LENIENT&&k.MILLI_OF_DAY.checkValidValue(s),this._addFieldValue(k.SECOND_OF_DAY,b.intDiv(s,1e3)),this._addFieldValue(k.MILLI_OF_SECOND,b.intMod(s,1e3))}if(this.fieldValues.containsKey(k.SECOND_OF_DAY)){var l=this.fieldValues.remove(k.SECOND_OF_DAY);t!==B.LENIENT&&k.SECOND_OF_DAY.checkValidValue(l),this._addFieldValue(k.HOUR_OF_DAY,b.intDiv(l,3600)),this._addFieldValue(k.MINUTE_OF_HOUR,b.intMod(b.intDiv(l,60),60)),this._addFieldValue(k.SECOND_OF_MINUTE,b.intMod(l,60))}if(this.fieldValues.containsKey(k.MINUTE_OF_DAY)){var u=this.fieldValues.remove(k.MINUTE_OF_DAY);t!==B.LENIENT&&k.MINUTE_OF_DAY.checkValidValue(u),this._addFieldValue(k.HOUR_OF_DAY,b.intDiv(u,60)),this._addFieldValue(k.MINUTE_OF_HOUR,b.intMod(u,60))}if(t!==B.LENIENT&&(this.fieldValues.containsKey(k.MILLI_OF_SECOND)&&k.MILLI_OF_SECOND.checkValidValue(this.fieldValues.get(k.MILLI_OF_SECOND)),this.fieldValues.containsKey(k.MICRO_OF_SECOND)&&k.MICRO_OF_SECOND.checkValidValue(this.fieldValues.get(k.MICRO_OF_SECOND))),this.fieldValues.containsKey(k.MILLI_OF_SECOND)&&this.fieldValues.containsKey(k.MICRO_OF_SECOND)){var c=this.fieldValues.remove(k.MILLI_OF_SECOND),h=this.fieldValues.get(k.MICRO_OF_SECOND);this._putFieldValue0(k.MICRO_OF_SECOND,1e3*c+b.intMod(h,1e3))}if(this.fieldValues.containsKey(k.MICRO_OF_SECOND)&&this.fieldValues.containsKey(k.NANO_OF_SECOND)){var d=this.fieldValues.get(k.NANO_OF_SECOND);this._putFieldValue0(k.MICRO_OF_SECOND,b.intDiv(d,1e3)),this.fieldValues.remove(k.MICRO_OF_SECOND)}if(this.fieldValues.containsKey(k.MILLI_OF_SECOND)&&this.fieldValues.containsKey(k.NANO_OF_SECOND)){var f=this.fieldValues.get(k.NANO_OF_SECOND);this._putFieldValue0(k.MILLI_OF_SECOND,b.intDiv(f,1e6)),this.fieldValues.remove(k.MILLI_OF_SECOND)}if(this.fieldValues.containsKey(k.MICRO_OF_SECOND)){var _=this.fieldValues.remove(k.MICRO_OF_SECOND);this._putFieldValue0(k.NANO_OF_SECOND,1e3*_)}else if(this.fieldValues.containsKey(k.MILLI_OF_SECOND)){var p=this.fieldValues.remove(k.MILLI_OF_SECOND);this._putFieldValue0(k.NANO_OF_SECOND,1e6*p)}},n._resolveTimeInferZeroes=function(t){var e=this.fieldValues.get(k.HOUR_OF_DAY),n=this.fieldValues.get(k.MINUTE_OF_HOUR),i=this.fieldValues.get(k.SECOND_OF_MINUTE),r=this.fieldValues.get(k.NANO_OF_SECOND);if(null!=e&&(null!=n||null==i&&null==r)&&(null==n||null!=i||null==r)){if(t!==B.LENIENT){if(null!=e){t!==B.SMART||24!==e||null!=n&&0!==n||null!=i&&0!==i||null!=r&&0!==r||(e=0,this.excessDays=j.ofDays(1));var o=k.HOUR_OF_DAY.checkValidIntValue(e);if(null!=n){var a=k.MINUTE_OF_HOUR.checkValidIntValue(n);if(null!=i){var s=k.SECOND_OF_MINUTE.checkValidIntValue(i);if(null!=r){var l=k.NANO_OF_SECOND.checkValidIntValue(r);this._addObject(he.of(o,a,s,l))}else this._addObject(he.of(o,a,s))}else null==r&&this._addObject(he.of(o,a))}else null==i&&null==r&&this._addObject(he.of(o,0))}}else if(null!=e){var u=e;if(null!=n)if(null!=i){null==r&&(r=0);var c=b.safeMultiply(u,36e11);c=b.safeAdd(c,b.safeMultiply(n,6e10)),c=b.safeAdd(c,b.safeMultiply(i,1e9)),c=b.safeAdd(c,r);var h=b.floorDiv(c,864e11),d=b.floorMod(c,864e11);this._addObject(he.ofNanoOfDay(d)),this.excessDays=j.ofDays(h)}else{var f=b.safeMultiply(u,3600);f=b.safeAdd(f,b.safeMultiply(n,60));var _=b.floorDiv(f,86400),p=b.floorMod(f,86400);this._addObject(he.ofSecondOfDay(p)),this.excessDays=j.ofDays(_)}else{var m=b.safeToInt(b.floorDiv(u,24));u=b.floorMod(u,24),this._addObject(he.of(u,0)),this.excessDays=j.ofDays(m)}}this.fieldValues.remove(k.HOUR_OF_DAY),this.fieldValues.remove(k.MINUTE_OF_HOUR),this.fieldValues.remove(k.SECOND_OF_MINUTE),this.fieldValues.remove(k.NANO_OF_SECOND)}},n._addObject=function(t){t instanceof H?this.date=t:t instanceof he&&(this.time=t)},n._resolveInstant=function(){if(null!=this.date&&null!=this.time){var t=this.fieldValues.get(k.OFFSET_SECONDS);if(null!=t){var e=Q.ofTotalSeconds(t),n=this.date.atTime(this.time).atZone(e).getLong(k.INSTANT_SECONDS);this.fieldValues.put(k.INSTANT_SECONDS,n)}else if(null!=this.zone){var i=this.date.atTime(this.time).atZone(this.zone).getLong(k.INSTANT_SECONDS);this.fieldValues.put(k.INSTANT_SECONDS,i)}}},n.build=function(t){return t.queryFrom(this)},n.isSupported=function(t){return null!=t&&(this.fieldValues.containsKey(t)&&void 0!==this.fieldValues.get(t)||null!=this.date&&this.date.isSupported(t)||null!=this.time&&this.time.isSupported(t))},n.getLong=function(t){_(t,"field");var e=this.getFieldValue0(t);if(null==e){if(null!=this.date&&this.date.isSupported(t))return this.date.getLong(t);if(null!=this.time&&this.time.isSupported(t))return this.time.getLong(t);throw new r("Field not found: "+t)}return e},n.query=function(t){return t===N.zoneId()?this.zone:t===N.chronology()?this.chrono:t===N.localDate()?null!=this.date?le.from(this.date):null:t===N.localTime()?this.time:t===N.zone()||t===N.offset()?t.queryFrom(this):t===N.precision()?null:t.queryFrom(this)},e}(I),et=function(){function t(){if(1===arguments.length){if(arguments[0]instanceof t)return void this._constructorSelf.apply(this,arguments);this._constructorFormatter.apply(this,arguments)}else this._constructorParam.apply(this,arguments);this._caseSensitive=!0,this._strict=!0,this._parsed=[new nt(this)]}var e=t.prototype;return e._constructorParam=function(t,e,n){this._locale=t,this._symbols=e,this._overrideChronology=n},e._constructorFormatter=function(t){this._locale=t.locale(),this._symbols=t.decimalStyle(),this._overrideChronology=t.chronology()},e._constructorSelf=function(t){this._locale=t._locale,this._symbols=t._symbols,this._overrideChronology=t._overrideChronology,this._overrideZone=t._overrideZone,this._caseSensitive=t._caseSensitive,this._strict=t._strict,this._parsed=[new nt(this)]},e.copy=function(){return new t(this)},e.symbols=function(){return this._symbols},e.isStrict=function(){return this._strict},e.setStrict=function(t){this._strict=t},e.locale=function(){return this._locale},e.setLocale=function(t){this._locale=t},e.startOptional=function(){this._parsed.push(this.currentParsed().copy())},e.endOptional=function(t){t?this._parsed.splice(this._parsed.length-2,1):this._parsed.splice(this._parsed.length-1,1)},e.isCaseSensitive=function(){return this._caseSensitive},e.setCaseSensitive=function(t){this._caseSensitive=t},e.subSequenceEquals=function(t,e,n,i,r){if(e+r>t.length||i+r>n.length)return!1;this.isCaseSensitive()||(t=t.toLowerCase(),n=n.toLowerCase());for(var o=0;o0)return null;throw t}},e.temporal=function(){return this._temporal},e.locale=function(){return this._locale},e.setDateTime=function(t){this._temporal=t},e.setLocale=function(t){this._locale=t},t}(),rt={},ot=[0,90,181,273,0,91,182,274],at=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.isDateBased=function(){return!0},n.isTimeBased=function(){return!1},n._isIso=function(){return!0},e._getWeekRangeByLocalDate=function(t){var n=e._getWeekBasedYear(t);return z.of(1,e._getWeekRangeByYear(n))},e._getWeekRangeByYear=function(t){var e=le.of(t,1,1);return e.dayOfWeek()===R.THURSDAY||e.dayOfWeek()===R.WEDNESDAY&&e.isLeapYear()?53:52},e._getWeek=function(t){var n=t.dayOfWeek().ordinal(),i=t.dayOfYear()-1,r=i+(3-n),o=r-7*b.intDiv(r,7)-3;if(o<-3&&(o+=7),i=363){var i=t.dayOfWeek().ordinal();(n=n-363-(t.isLeapYear()?1:0))-i>=0&&e++}return e},n.displayName=function(){return this.toString()},n.resolve=function(){return null},n.name=function(){return this.toString()},e}(S),st=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.toString=function(){return"DayOfQuarter"},n.baseUnit=function(){return A.DAYS},n.rangeUnit=function(){return vt},n.range=function(){return z.of(1,90,92)},n.isSupportedBy=function(t){return t.isSupported(k.DAY_OF_YEAR)&&t.isSupported(k.MONTH_OF_YEAR)&&t.isSupported(k.YEAR)&&this._isIso(t)},n.rangeRefinedBy=function(t){if(!1===t.isSupported(this))throw new a("Unsupported field: DayOfQuarter");var e=t.getLong(ft);if(1===e){var n=t.getLong(k.YEAR);return ee.isLeapYear(n)?z.of(1,91):z.of(1,90)}return 2===e?z.of(1,91):3===e||4===e?z.of(1,92):this.range()},n.getFrom=function(t){if(!1===t.isSupported(this))throw new a("Unsupported field: DayOfQuarter");var e=t.get(k.DAY_OF_YEAR),n=t.get(k.MONTH_OF_YEAR),i=t.getLong(k.YEAR);return e-ot[b.intDiv(n-1,3)+(ee.isLeapYear(i)?4:0)]},n.adjustInto=function(t,e){var n=this.getFrom(t);return this.range().checkValidValue(e,this),t.with(k.DAY_OF_YEAR,t.getLong(k.DAY_OF_YEAR)+(e-n))},n.resolve=function(t,e,n){var i=t.get(k.YEAR),r=t.get(ft);if(null==i||null==r)return null;var o,a=k.YEAR.checkValidIntValue(i),s=t.get(dt);if(n===B.LENIENT){var l=r;o=(o=(o=le.of(a,1,1)).plusMonths(b.safeMultiply(b.safeSubtract(l,1),3))).plusDays(b.safeSubtract(s,1))}else{var u=ft.range().checkValidIntValue(r,ft);if(n===B.STRICT){var c=92;1===u?c=ee.isLeapYear(a)?91:90:2===u&&(c=91),z.of(1,c).checkValidValue(s,this)}else this.range().checkValidValue(s,this);o=le.of(a,3*(u-1)+1,1).plusDays(s-1)}return t.remove(this),t.remove(k.YEAR),t.remove(ft),o},e}(at),lt=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.toString=function(){return"QuarterOfYear"},n.baseUnit=function(){return vt},n.rangeUnit=function(){return A.YEARS},n.range=function(){return z.of(1,4)},n.isSupportedBy=function(t){return t.isSupported(k.MONTH_OF_YEAR)&&this._isIso(t)},n.rangeRefinedBy=function(t){return this.range()},n.getFrom=function(t){if(!1===t.isSupported(this))throw new a("Unsupported field: QuarterOfYear");var e=t.getLong(k.MONTH_OF_YEAR);return b.intDiv(e+2,3)},n.adjustInto=function(t,e){var n=this.getFrom(t);return this.range().checkValidValue(e,this),t.with(k.MONTH_OF_YEAR,t.getLong(k.MONTH_OF_YEAR)+3*(e-n))},e}(at),ut=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.toString=function(){return"WeekOfWeekBasedYear"},n.baseUnit=function(){return A.WEEKS},n.rangeUnit=function(){return mt},n.range=function(){return z.of(1,52,53)},n.isSupportedBy=function(t){return t.isSupported(k.EPOCH_DAY)&&this._isIso(t)},n.rangeRefinedBy=function(t){if(!1===t.isSupported(this))throw new a("Unsupported field: WeekOfWeekBasedYear");return at._getWeekRangeByLocalDate(le.from(t))},n.getFrom=function(t){if(!1===t.isSupported(this))throw new a("Unsupported field: WeekOfWeekBasedYear");return at._getWeek(le.from(t))},n.adjustInto=function(t,e){return this.range().checkValidValue(e,this),t.plus(b.safeSubtract(e,this.getFrom(t)),A.WEEKS)},n.resolve=function(t,e,n){var i=t.get(pt),r=t.get(k.DAY_OF_WEEK);if(null==i||null==r)return null;var o,a=pt.range().checkValidIntValue(i,pt),s=t.get(_t);if(n===B.LENIENT){var l=r,u=0;l>7?(u=b.intDiv(l-1,7),l=b.intMod(l-1,7)+1):l<1&&(u=b.intDiv(l,7)-1,l=b.intMod(l,7)+7),o=le.of(a,1,4).plusWeeks(s-1).plusWeeks(u).with(k.DAY_OF_WEEK,l)}else{var c=k.DAY_OF_WEEK.checkValidIntValue(r);if(n===B.STRICT){var h=le.of(a,1,4);at._getWeekRangeByLocalDate(h).checkValidValue(s,this)}else this.range().checkValidValue(s,this);o=le.of(a,1,4).plusWeeks(s-1).with(k.DAY_OF_WEEK,c)}return t.remove(this),t.remove(pt),t.remove(k.DAY_OF_WEEK),o},n.displayName=function(){return"Week"},e}(at),ct=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.toString=function(){return"WeekBasedYear"},n.baseUnit=function(){return mt},n.rangeUnit=function(){return A.FOREVER},n.range=function(){return k.YEAR.range()},n.isSupportedBy=function(t){return t.isSupported(k.EPOCH_DAY)&&this._isIso(t)},n.rangeRefinedBy=function(t){return k.YEAR.range()},n.getFrom=function(t){if(!1===t.isSupported(this))throw new a("Unsupported field: WeekBasedYear");return at._getWeekBasedYear(le.from(t))},n.adjustInto=function(t,e){if(!1===this.isSupportedBy(t))throw new a("Unsupported field: WeekBasedYear");var n=this.range().checkValidIntValue(e,pt),i=le.from(t),r=i.get(k.DAY_OF_WEEK),o=at._getWeek(i);53===o&&52===at._getWeekRangeByYear(n)&&(o=52);var s=le.of(n,1,4),l=r-s.get(k.DAY_OF_WEEK)+7*(o-1);return s=s.plusDays(l),t.with(s)},e}(at),ht=function(t){function e(e,n){var i;return(i=t.call(this)||this)._name=e,i._duration=n,i}h(e,t);var n=e.prototype;return n.duration=function(){return this._duration},n.isDurationEstimated=function(){return!0},n.isDateBased=function(){return!0},n.isTimeBased=function(){return!1},n.isSupportedBy=function(t){return t.isSupported(k.EPOCH_DAY)},n.addTo=function(t,e){switch(this){case mt:var n=b.safeAdd(t.get(pt),e);return t.with(pt,n);case vt:return t.plus(b.intDiv(e,256),A.YEARS).plus(3*b.intMod(e,256),A.MONTHS);default:throw new u("Unreachable")}},n.between=function(t,e){switch(this){case mt:return b.safeSubtract(e.getLong(pt),t.getLong(pt));case vt:return b.intDiv(t.until(e,A.MONTHS),3);default:throw new u("Unreachable")}},n.toString=function(){return name},e}(x),dt=null,ft=null,_t=null,pt=null,mt=null,vt=null,gt=function(){function t(t,e,n,i){this._zeroDigit=t,this._zeroDigitCharCode=t.charCodeAt(0),this._positiveSign=e,this._negativeSign=n,this._decimalSeparator=i}var e=t.prototype;return e.positiveSign=function(){return this._positiveSign},e.withPositiveSign=function(e){return e===this._positiveSign?this:new t(this._zeroDigit,e,this._negativeSign,this._decimalSeparator)},e.negativeSign=function(){return this._negativeSign},e.withNegativeSign=function(e){return e===this._negativeSign?this:new t(this._zeroDigit,this._positiveSign,e,this._decimalSeparator)},e.zeroDigit=function(){return this._zeroDigit},e.withZeroDigit=function(e){return e===this._zeroDigit?this:new t(e,this._positiveSign,this._negativeSign,this._decimalSeparator)},e.decimalSeparator=function(){return this._decimalSeparator},e.withDecimalSeparator=function(e){return e===this._decimalSeparator?this:new t(this._zeroDigit,this._positiveSign,this._negativeSign,e)},e.convertToDigit=function(t){var e=t.charCodeAt(0)-this._zeroDigitCharCode;return e>=0&&e<=9?e:-1},e.convertNumberToI18N=function(t){if("0"===this._zeroDigit)return t;for(var e=this._zeroDigitCharCode-"0".charCodeAt(0),n="",i=0;i1)throw new l('invalid literal, too long: "'+t+'"');this._literal=t}var e=t.prototype;return e.print=function(t,e){return e.append(this._literal),!0},e.parse=function(t,e,n){if(n===e.length)return~n;var i=e.charAt(n);return!1===t.charEquals(this._literal,i)?~n:n+this._literal.length},e.toString=function(){return"'"===this._literal?"''":"'"+this._literal+"'"},t}(),Et=function(){function t(t,e){this._printerParsers=t,this._optional=e}var e=t.prototype;return e.withOptional=function(e){return e===this._optional?this:new t(this._printerParsers,e)},e.print=function(t,e){var n=e.length();this._optional&&t.startOptional();try{for(var i=0;i9)throw new l("Minimum width must be from 0 to 9 inclusive but was "+e);if(n<1||n>9)throw new l("Maximum width must be from 1 to 9 inclusive but was "+n);if(n0){this.decimalPoint&&e.append(i.decimalSeparator());for(var r=0;r0)for(;o.length>this.minWidth&&"0"===o[o.length-1];)o=o.substr(0,o.length-1);var s=o;s=i.convertNumberToI18N(s),this.decimalPoint&&e.append(i.decimalSeparator()),e.append(s)}return!0},e.parse=function(t,e,n){var i=t.isStrict()?this.minWidth:0,r=t.isStrict()?this.maxWidth:9,o=e.length;if(n===o)return i>0?~n:n;if(this.decimalPoint){if(e[n]!==t.symbols().decimalSeparator())return i>0?~n:n;n++}var a=n+i;if(a>o)return~n;for(var s=Math.min(n+r,o),l=0,u=n;u0&&this._minWidth===this._maxWidth&&this._signStyle===yt.NOT_NEGATIVE},e.print=function(t,e){var n=t.getValue(this._field);if(null==n)return!1;var i=this._getValue(t,n),o=t.symbols(),a=""+Math.abs(i);if(a.length>this._maxWidth)throw new r("Field "+this._field+" cannot be printed as the value "+i+" exceeds the maximum print width of "+this._maxWidth);if(a=o.convertNumberToI18N(a),i>=0)switch(this._signStyle){case yt.EXCEEDS_PAD:this._minWidth<15&&i>=Ct[this._minWidth]&&e.append(o.positiveSign());break;case yt.ALWAYS:e.append(o.positiveSign())}else switch(this._signStyle){case yt.NORMAL:case yt.EXCEEDS_PAD:case yt.ALWAYS:e.append(o.negativeSign());break;case yt.NOT_NEGATIVE:throw new r("Field "+this._field+" cannot be printed as the value "+i+" cannot be negative according to the SignStyle")}for(var s=0;s=0&&ni)return~n;for(var c=(t.isStrict()||this._isFixedWidth()?this._maxWidth:9)+Math.max(this._subsequentWidth,0),h=0,d=n,_=0;_<2;_++){for(var p=Math.min(d+c,i);d15)throw new s("number text exceeds length");h=10*h+v}if(!(this._subsequentWidth>0&&0===_))break;var g=d-n;c=Math.max(l,g-this._subsequentWidth),d=n,h=0}if(o){if(0===h&&t.isStrict())return~(n-1);0!==h&&(h=-h)}else if(this._signStyle===yt.EXCEEDS_PAD&&t.isStrict()){var y=d-n;if(a){if(y<=this._minWidth)return~(n-1)}else if(y>this._minWidth)return~n}return this._setValue(t,h,n,d)},e._getValue=function(t,e){return e},e._setValue=function(t,e,n,i){return t.setParsedField(this._field,e,n,i)},e.toString=function(){return 1===this._minWidth&&15===this._maxWidth&&this._signStyle===yt.NORMAL?"Value("+this._field+")":this._minWidth===this._maxWidth&&this._signStyle===yt.NOT_NEGATIVE?"Value("+this._field+","+this._minWidth+")":"Value("+this._field+","+this._minWidth+","+this._maxWidth+","+this._signStyle+")"},t}(),At=function(t){function e(e,n,i,o,a){var s;if(s=t.call(this,e,n,i,yt.NOT_NEGATIVE)||this,n<1||n>10)throw new l("The width must be from 1 to 10 inclusive but was "+n);if(i<1||i>10)throw new l("The maxWidth must be from 1 to 10 inclusive but was "+i);if(ib.MAX_SAFE_INTEGER)throw new r("Unable to add printer-parser as the range exceeds the capacity of an int")}return s._baseValue=o,s._baseDate=a,s}h(e,t);var n=e.prototype;return n._getValue=function(t,e){var n=Math.abs(e),i=this._baseValue;return null!==this._baseDate&&(t.temporal(),i=ee.INSTANCE.date(this._baseDate).get(this._field)),e>=i&&e=0){var o=Ct[this._minWidth],a=r-r%o;(e=r>0?a+e:a-e)=3||this.type>=1&&o>0)&&(e.append(this.type%2==0?":":"").appendChar(b.intDiv(o,10)+"0").appendChar(o%10+"0"),l+=o,(this.type>=7||this.type>=5&&a>0)&&(e.append(this.type%2==0?":":"").appendChar(b.intDiv(a,10)+"0").appendChar(a%10+"0"),l+=a)),0===l&&(e.setLength(s),e.append(this.noOffsetText))}return!0},e.parse=function(t,e,n){var i=e.length,r=this.noOffsetText.length;if(0===r){if(n===i)return t.setParsedField(k.OFFSET_SECONDS,0,n,n)}else{if(n===i)return~n;if(t.subSequenceEquals(e,n,this.noOffsetText,0,r))return t.setParsedField(k.OFFSET_SECONDS,0,n,n+r)}var o=e[n];if("+"===o||"-"===o){var a="-"===o?-1:1,s=[0,0,0,0];if(s[0]=n+1,!1===(this._parseNumber(s,1,e,!0)||this._parseNumber(s,2,e,this.type>=3)||this._parseNumber(s,3,e,!1))){var l=b.safeZero(a*(3600*s[1]+60*s[2]+s[3]));return t.setParsedField(k.OFFSET_SECONDS,l,n,s[0])}}return 0===r?t.setParsedField(k.OFFSET_SECONDS,0,n,n+r):~n},e._parseNumber=function(t,e,n,i){if((this.type+3)/21){if(r+1>n.length||":"!==n[r])return i;r++}if(r+2>n.length)return i;var o=n[r++],a=n[r++];if(o<"0"||o>"9"||a<"0"||a>"9")return i;var s=10*(o.charCodeAt(0)-48)+(a.charCodeAt(0)-48);return s<0||s>59?i:(t[e]=s,t[0]=r,!1)},e.toString=function(){var t=this.noOffsetText.replace("'","''");return"Offset("+St[this.type]+",'"+t+"')"},t}();zt.INSTANCE_ID=new zt("Z","+HH:MM:ss"),zt.PATTERNS=St;var kt=function(){function t(t,e,n){this._printerParser=t,this._padWidth=e,this._padChar=n}var e=t.prototype;return e.print=function(t,e){var n=e.length();if(!1===this._printerParser.print(t,e))return!1;var i=e.length()-n;if(i>this._padWidth)throw new r("Cannot print as output of "+i+" characters exceeds pad width of "+this._padWidth);for(var o=0;oe.length)),f(n>=0),n===e.length)return~n;var o=n+this._padWidth;if(o>e.length){if(i)return~n;o=e.length}for(var a=n;ae.length||n<0)),!1===t.subSequenceEquals(e,n,this._literal,0,this._literal.length)?~n:n+this._literal.length},e.toString=function(){return"'"+this._literal.replace("'","''")+"'"},t}(),$t=function(){function t(){}return t.getRules=function(t){throw new r("unsupported ZoneId:"+t)},t.getAvailableZoneIds=function(){return[]},t}(),Rt=function(t){function e(e,n){var i;return(i=t.call(this)||this)._id=e,i._rules=n,i}h(e,t),e.ofId=function(t){return new e(t,$t.getRules(t))};var n=e.prototype;return n.id=function(){return this._id},n.rules=function(){return this._rules},e}(X),Pt=function(){function t(t,e){this.query=t,this.description=e}var e=t.prototype;return e.print=function(t,e){var n=t.getValueQuery(this.query);return null!=n&&(e.append(n.id()),!0)},e.parse=function(t,e,n){var i=e.length;if(n>i)return~n;if(n===i)return~n;var r=e.charAt(n);if("+"===r||"-"===r){var o=t.copy(),a=zt.INSTANCE_ID.parse(o,e,n);if(a<0)return a;var s=o.getParsed(k.OFFSET_SECONDS),l=Q.ofTotalSeconds(s);return t.setParsedZone(l),a}if(i>=n+2){var u=e.charAt(n+1);if(t.charEquals(r,"U")&&t.charEquals(u,"T"))return i>=n+3&&t.charEquals(e.charAt(n+2),"C")?this._parsePrefixedOffset(t,e,n,n+3):this._parsePrefixedOffset(t,e,n,n+2);if(t.charEquals(r,"G")&&i>=n+3&&t.charEquals(u,"M")&&t.charEquals(e.charAt(n+2),"T"))return this._parsePrefixedOffset(t,e,n,n+3)}if("SYSTEM"===e.substr(n,6))return t.setParsedZone(X.systemDefault()),n+6;if(t.charEquals(r,"Z"))return t.setParsedZone(Q.UTC),n+1;var c=$t.getAvailableZoneIds();qt.size!==c.length&&(qt=Ut.createTreeMap(c));for(var h=i-n,d=qt.treeMap,f=null,_=0;null!=d;){var p=e.substr(n,Math.min(d.length,h));null!=(d=d.get(p))&&d.isLeaf&&(f=p,_=d.length)}return null!=f?(t.setParsedZone(Rt.ofId(f)),n+_):~n},e._parsePrefixedOffset=function(t,e,n,i){var r=e.substring(n,i).toUpperCase(),o=t.copy();if(ithis.length){var i=e.substr(0,this.length),r=this._treeMap[i];null==r&&(r=new t(n,!1),this._treeMap[i]=r),r.add(e)}},e.get=function(t){return this._treeMap[t]},t}(),qt=new Ut([]),Dt=15,Bt=function(){function t(){this._active=this,this._parent=null,this._printerParsers=[],this._optional=!1,this._padNextWidth=0,this._padNextChar=null,this._valueParserIndex=-1}t._of=function(e,n){_(e,"parent"),_(n,"optional");var i=new t;return i._parent=e,i._optional=n,i};var e=t.prototype;return e.parseCaseSensitive=function(){return this._appendInternalPrinterParser(Nt.SENSITIVE),this},e.parseCaseInsensitive=function(){return this._appendInternalPrinterParser(Nt.INSENSITIVE),this},e.parseStrict=function(){return this._appendInternalPrinterParser(Nt.STRICT),this},e.parseLenient=function(){return this._appendInternalPrinterParser(Nt.LENIENT),this},e.appendValue=function(){return 1===arguments.length?this._appendValue1.apply(this,arguments):2===arguments.length?this._appendValue2.apply(this,arguments):this._appendValue4.apply(this,arguments)},e._appendValue1=function(t){return _(t),this._appendValuePrinterParser(new Tt(t,1,Dt,yt.NORMAL)),this},e._appendValue2=function(t,e){if(_(t),e<1||e>Dt)throw new l("The width must be from 1 to 15 inclusive but was "+e);var n=new Tt(t,e,e,yt.NOT_NEGATIVE);return this._appendValuePrinterParser(n),this},e._appendValue4=function(t,e,n,i){if(_(t),_(i),e===n&&i===yt.NOT_NEGATIVE)return this._appendValue2(t,n);if(e<1||e>Dt)throw new l("The minimum width must be from 1 to 15 inclusive but was "+e);if(n<1||n>Dt)throw new l("The minimum width must be from 1 to 15 inclusive but was "+n);if(n=0&&this._active._printerParsers[this._active._valueParserIndex]instanceof Tt){var e=this._active._valueParserIndex,n=this._active._printerParsers[e];t.minWidth()===t.maxWidth()&&t.signStyle()===yt.NOT_NEGATIVE?(n=n.withSubsequentWidth(t.maxWidth()),this._appendInternal(t.withFixedWidth()),this._active._valueParserIndex=e):(n=n.withFixedWidth(),this._active._valueParserIndex=this._appendInternal(t)),this._active._printerParsers[e]=n}else this._active._valueParserIndex=this._appendInternal(t);return this},e.appendFraction=function(t,e,n,i){return this._appendInternal(new xt(t,e,n,i)),this},e.appendInstant=function(t){if(void 0===t&&(t=-2),t<-2||t>9)throw new l("Invalid fractional digits: "+t);return this._appendInternal(new Gt(t)),this},e.appendOffsetId=function(){return this._appendInternal(zt.INSTANCE_ID),this},e.appendOffset=function(t,e){return this._appendInternalPrinterParser(new zt(e,t)),this},e.appendZoneId=function(){return this._appendInternal(new Pt(N.zoneId(),"ZoneId()")),this},e.appendPattern=function(t){return _(t,"pattern"),this._parsePattern(t),this},e.appendZoneText=function(){throw new l("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},e.appendText=function(){throw new l("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},e.appendLocalizedOffset=function(){throw new l("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},e.appendWeekField=function(){throw new l("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},e._parsePattern=function(t){for(var e={G:k.ERA,y:k.YEAR_OF_ERA,u:k.YEAR,Q:rt.QUARTER_OF_YEAR,q:rt.QUARTER_OF_YEAR,M:k.MONTH_OF_YEAR,L:k.MONTH_OF_YEAR,D:k.DAY_OF_YEAR,d:k.DAY_OF_MONTH,F:k.ALIGNED_DAY_OF_WEEK_IN_MONTH,E:k.DAY_OF_WEEK,c:k.DAY_OF_WEEK,e:k.DAY_OF_WEEK,a:k.AMPM_OF_DAY,H:k.HOUR_OF_DAY,k:k.CLOCK_HOUR_OF_DAY,K:k.HOUR_OF_AMPM,h:k.CLOCK_HOUR_OF_AMPM,m:k.MINUTE_OF_HOUR,s:k.SECOND_OF_MINUTE,S:k.NANO_OF_SECOND,A:k.MILLI_OF_DAY,n:k.NANO_OF_SECOND,N:k.NANO_OF_DAY},n=0;n="A"&&i<="Z"||i>="a"&&i<="z"){for(var r=n++;n="A"&&i<="Z"||i>="a"&&i<="z")){for(a=o,r=n++;n4)throw new l("Too many pattern letters: "+i);4===o?this.appendZoneText(bt.FULL):this.appendZoneText(bt.SHORT)}else if("V"===i){if(2!==o)throw new l("Pattern letter count must be 2: "+i);this.appendZoneId()}else if("Z"===i)if(o<4)this.appendOffset("+HHMM","+0000");else if(4===o)this.appendLocalizedOffset(bt.FULL);else{if(5!==o)throw new l("Too many pattern letters: "+i);this.appendOffset("+HH:MM:ss","Z")}else if("O"===i)if(1===o)this.appendLocalizedOffset(bt.SHORT);else{if(4!==o)throw new l("Pattern letter count must be 1 or 4: "+i);this.appendLocalizedOffset(bt.FULL)}else if("X"===i){if(o>5)throw new l("Too many pattern letters: "+i);this.appendOffset(zt.PATTERNS[o+(1===o?0:1)],"Z")}else if("x"===i){if(o>5)throw new l("Too many pattern letters: "+i);var u=1===o?"+00":o%2==0?"+0000":"+00:00";this.appendOffset(zt.PATTERNS[o+(1===o?0:1)],u)}else if("W"===i){if(o>1)throw new l("Too many pattern letters: "+i);this.appendWeekField("W",o)}else if("w"===i){if(o>2)throw new l("Too many pattern letters: "+i);this.appendWeekField("w",o)}else{if("Y"!==i)throw new l("Unknown pattern letter: "+i);this.appendWeekField("Y",o)}n--}else if("'"===i){for(var c=n++;n=t.length)throw new l("Pattern ends with an incomplete string literal: "+t);var h=t.substring(c+1,n);0===h.length?this.appendLiteral("'"):this.appendLiteral(h.replace("''","'"))}else if("["===i)this.optionalStart();else if("]"===i){if(null===this._active._parent)throw new l("Pattern invalid as it contains ] without previous [");this.optionalEnd()}else{if("{"===i||"}"===i||"#"===i)throw new l("Pattern includes reserved character: '"+i+"'");this.appendLiteral(i)}}},e._parseField=function(t,e,n){switch(t){case"u":case"y":2===e?this.appendValueReduced(n,2,2,At.BASE_DATE):e<4?this.appendValue(n,e,Dt,yt.NORMAL):this.appendValue(n,e,Dt,yt.EXCEEDS_PAD);break;case"M":case"Q":switch(e){case 1:this.appendValue(n);break;case 2:this.appendValue(n,2);break;case 3:this.appendText(n,bt.SHORT);break;case 4:this.appendText(n,bt.FULL);break;case 5:this.appendText(n,bt.NARROW);break;default:throw new l("Too many pattern letters: "+t)}break;case"L":case"q":switch(e){case 1:this.appendValue(n);break;case 2:this.appendValue(n,2);break;case 3:this.appendText(n,bt.SHORT_STANDALONE);break;case 4:this.appendText(n,bt.FULL_STANDALONE);break;case 5:this.appendText(n,bt.NARROW_STANDALONE);break;default:throw new l("Too many pattern letters: "+t)}break;case"e":switch(e){case 1:case 2:this.appendWeekField("e",e);break;case 3:this.appendText(n,bt.SHORT);break;case 4:this.appendText(n,bt.FULL);break;case 5:this.appendText(n,bt.NARROW);break;default:throw new l("Too many pattern letters: "+t)}break;case"c":switch(e){case 1:this.appendWeekField("c",e);break;case 2:throw new l("Invalid number of pattern letters: "+t);case 3:this.appendText(n,bt.SHORT_STANDALONE);break;case 4:this.appendText(n,bt.FULL_STANDALONE);break;case 5:this.appendText(n,bt.NARROW_STANDALONE);break;default:throw new l("Too many pattern letters: "+t)}break;case"a":if(1!==e)throw new l("Too many pattern letters: "+t);this.appendText(n,bt.SHORT);break;case"E":case"G":switch(e){case 1:case 2:case 3:this.appendText(n,bt.SHORT);break;case 4:this.appendText(n,bt.FULL);break;case 5:this.appendText(n,bt.NARROW);break;default:throw new l("Too many pattern letters: "+t)}break;case"S":this.appendFraction(k.NANO_OF_SECOND,e,e,!1);break;case"F":if(1!==e)throw new l("Too many pattern letters: "+t);this.appendValue(n);break;case"d":case"h":case"H":case"k":case"K":case"m":case"s":if(1===e)this.appendValue(n);else{if(2!==e)throw new l("Too many pattern letters: "+t);this.appendValue(n,e)}break;case"D":if(1===e)this.appendValue(n);else{if(!(e<=3))throw new l("Too many pattern letters: "+t);this.appendValue(n,e)}break;default:1===e?this.appendValue(n):this.appendValue(n,e)}},e.padNext=function(){return 1===arguments.length?this._padNext1.apply(this,arguments):this._padNext2.apply(this,arguments)},e._padNext1=function(t){return this._padNext2(t," ")},e._padNext2=function(t,e){if(t<1)throw new l("The pad width must be at least one but was "+t);return this._active._padNextWidth=t,this._active._padNextChar=e,this._active._valueParserIndex=-1,this},e.optionalStart=function(){return this._active._valueParserIndex=-1,this._active=t._of(this._active,!0),this},e.optionalEnd=function(){if(null==this._active._parent)throw new u("Cannot call optionalEnd() as there was no previous call to optionalStart()");if(this._active._printerParsers.length>0){var t=new Et(this._active._printerParsers,this._active._optional);this._active=this._active._parent,this._appendInternal(t)}else this._active=this._active._parent;return this},e._appendInternal=function(t){return f(null!=t),this._active._padNextWidth>0&&(null!=t&&(t=new kt(t,this._active._padNextWidth,this._active._padNextChar)),this._active._padNextWidth=0,this._active._padNextChar=0),this._active._printerParsers.push(t),this._active._valueParserIndex=-1,this._active._printerParsers.length-1},e.appendLiteral=function(t){return f(null!=t),t.length>0&&(1===t.length?this._appendInternalPrinterParser(new wt(t.charAt(0))):this._appendInternalPrinterParser(new Mt(t))),this},e._appendInternalPrinterParser=function(t){return f(null!=t),this._active._padNextWidth>0&&(null!=t&&(t=new kt(t,this._active._padNextWidth,this._active._padNextChar)),this._active._padNextWidth=0,this._active._padNextChar=0),this._active._printerParsers.push(t),this._active._valueParserIndex=-1,this._active._printerParsers.length-1},e.append=function(t){return _(t,"formatter"),this._appendInternal(t._toPrinterParser(!1)),this},e.toFormatter=function(t){for(void 0===t&&(t=B.SMART);null!=this._active._parent;)this.optionalEnd();var e=new Et(this._printerParsers,!1);return new Vt(e,null,gt.STANDARD,t,null,null,null)},t}(),Ft=31556952e4,Wt=62167219200,Gt=function(){function t(t){this.fractionalDigits=t}var e=t.prototype;return e.print=function(t,e){var n=t.getValue(k.INSTANT_SECONDS),i=0;if(t.temporal().isSupported(k.NANO_OF_SECOND)&&(i=t.temporal().getLong(k.NANO_OF_SECOND)),null==n)return!1;var r=n,o=k.NANO_OF_SECOND.checkValidIntValue(i);if(r>=-62167219200){var a=r-Ft+Wt,s=b.floorDiv(a,Ft)+1,l=b.floorMod(a,Ft),u=ce.ofEpochSecond(l-Wt,0,Q.UTC);s>0&&e.append("+").append(s),e.append(u),0===u.second()&&e.append(":00")}else{var c=r+Wt,h=b.intDiv(c,Ft),d=b.intMod(c,Ft),f=ce.ofEpochSecond(d-Wt,0,Q.UTC),_=e.length();e.append(f),0===f.second()&&e.append(":00"),h<0&&(-1e4===f.year()?e.replace(_,_+2,""+(h-1)):0===d?e.insert(_,h):e.insert(_+1,Math.abs(h)))}if(-2===this.fractionalDigits)0!==o&&(e.append("."),0===b.intMod(o,1e6)?e.append((""+(b.intDiv(o,1e6)+1e3)).substring(1)):0===b.intMod(o,1e3)?e.append((""+(b.intDiv(o,1e3)+1e6)).substring(1)):e.append((""+(o+1e9)).substring(1)));else if(this.fractionalDigits>0||-1===this.fractionalDigits&&o>0){e.append(".");for(var p=1e8,m=0;-1===this.fractionalDigits&&o>0||m64?t.substring(0,64)+"...":t,new o("Text '"+n+"' could not be parsed: "+e.message,t,0,e)},e._parseToBuilder=function(t,e){var n=null!=e?e:new q(0),i=this._parseUnresolved0(t,n);if(null==i||n.getErrorIndex()>=0||null==e&&n.getIndex()64?t.substr(0,64).toString()+"...":t,n.getErrorIndex()>=0?new o("Text '"+r+"' could not be parsed at index "+n.getErrorIndex(),t,n.getErrorIndex()):new o("Text '"+r+"' could not be parsed, unparsed text found at index "+n.getIndex(),t,n.getIndex())}return i.toBuilder()},e.parseUnresolved=function(t,e){return this._parseUnresolved0(t,e)},e._parseUnresolved0=function(t,e){f(null!=t,"text",c),f(null!=e,"position",c);var n=new et(this),i=e.getIndex();return(i=this._printerParser.parse(n,t,i))<0?(e.setErrorIndex(~i),null):(e.setIndex(i),n.toParsed())},e._toPrinterParser=function(t){return this._printerParser.withOptional(t)},e.toString=function(){var t=this._printerParser.toString();return 0===t.indexOf("[")?t:t.substring(1,t.length-1)},t}(),Xt=function(t){function e(e,n){var i;return(i=t.call(this)||this)._month=b.safeToInt(e),i._day=b.safeToInt(n),i}h(e,t),e.now=function(t){return 0===arguments.length?e.now0():1===arguments.length&&t instanceof X?e.nowZoneId(t):e.nowClock(t)},e.now0=function(){return this.nowClock(_e.systemDefaultZone())},e.nowZoneId=function(t){return _(t,"zone"),this.nowClock(_e.system(t))},e.nowClock=function(t){_(t,"clock");var n=le.now(t);return e.of(n.month(),n.dayOfMonth())},e.of=function(t,n){return 2===arguments.length&&t instanceof P?e.ofMonthNumber(t,n):e.ofNumberNumber(t,n)},e.ofMonthNumber=function(t,n){if(_(t,"month"),k.DAY_OF_MONTH.checkValidValue(n),n>t.maxLength())throw new r("Illegal value for DayOfMonth field, value "+n+" is not valid for month "+t.toString());return new e(t.value(),n)},e.ofNumberNumber=function(t,n){return _(t,"month"),_(n,"dayOfMonth"),e.of(P.of(t),n)},e.from=function(t){if(_(t,"temporal"),p(t,I,"temporal"),t instanceof e)return t;try{return e.of(t.get(k.MONTH_OF_YEAR),t.get(k.DAY_OF_MONTH))}catch(e){throw new r("Unable to obtain MonthDay from TemporalAccessor: "+t+", type "+(t&&null!=t.constructor?t.constructor.name:""))}},e.parse=function(t,n){return 1===arguments.length?e.parseString(t):e.parseStringFormatter(t,n)},e.parseString=function(t){return e.parseStringFormatter(t,It)},e.parseStringFormatter=function(t,n){return _(t,"text"),_(n,"formatter"),p(n,Vt,"formatter"),n.parse(t,e.FROM)};var n=e.prototype;return n.monthValue=function(){return this._month},n.month=function(){return P.of(this._month)},n.dayOfMonth=function(){return this._day},n.isSupported=function(t){return t instanceof k?t===k.MONTH_OF_YEAR||t===k.DAY_OF_MONTH:null!=t&&t.isSupportedBy(this)},n.range=function(e){return e===k.MONTH_OF_YEAR?e.range():e===k.DAY_OF_MONTH?z.of(1,this.month().minLength(),this.month().maxLength()):t.prototype.range.call(this,e)},n.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},n.getLong=function(t){if(_(t,"field"),t instanceof k){switch(t){case k.DAY_OF_MONTH:return this._day;case k.MONTH_OF_YEAR:return this._month}throw new a("Unsupported field: "+t)}return t.getFrom(this)},n.isValidYear=function(t){return 0==(29===this._day&&2===this._month&&!1===Zt.isLeap(t))},n.withMonth=function(t){return this.with(P.of(t))},n.with=function(t){if(_(t,"month"),t.value()===this._month)return this;var n=Math.min(this._day,t.maxLength());return new e(t.value(),n)},n.withDayOfMonth=function(t){return t===this._day?this:e.of(this._month,t)},n.query=function(e){return _(e,"query"),p(e,O,"query"),e===N.chronology()?ee.INSTANCE:t.prototype.query.call(this,e)},n.adjustInto=function(t){return _(t,"temporal"),(t=t.with(k.MONTH_OF_YEAR,this._month)).with(k.DAY_OF_MONTH,Math.min(t.range(k.DAY_OF_MONTH).maximum(),this._day))},n.atYear=function(t){return le.of(t,this._month,this.isValidYear(t)?this._day:28)},n.compareTo=function(t){_(t,"other"),p(t,e,"other");var n=this._month-t.monthValue();return 0===n&&(n=this._day-t.dayOfMonth()),n},n.isAfter=function(t){return _(t,"other"),p(t,e,"other"),this.compareTo(t)>0},n.isBefore=function(t){return _(t,"other"),p(t,e,"other"),this.compareTo(t)<0},n.equals=function(t){if(this===t)return!0;if(t instanceof e){var n=t;return this.monthValue()===n.monthValue()&&this.dayOfMonth()===n.dayOfMonth()}return!1},n.toString=function(){return"--"+(this._month<10?"0":"")+this._month+(this._day<10?"-0":"-")+this._day},n.toJSON=function(){return this.toString()},n.format=function(t){return _(t,"formatter"),p(t,Vt,"formatter"),t.format(this)},e}(I),Jt=function(t){function e(e,n){var i;return(i=t.call(this)||this)._year=b.safeToInt(e),i._month=b.safeToInt(n),i}h(e,t),e.now=function(t){return 0===arguments.length?e.now0():1===arguments.length&&t instanceof X?e.nowZoneId(t):e.nowClock(t)},e.now0=function(){return e.nowClock(_e.systemDefaultZone())},e.nowZoneId=function(t){return e.nowClock(_e.system(t))},e.nowClock=function(t){var n=le.now(t);return e.of(n.year(),n.month())},e.of=function(t,n){return 2===arguments.length&&n instanceof P?e.ofNumberMonth(t,n):e.ofNumberNumber(t,n)},e.ofNumberMonth=function(t,n){return _(n,"month"),p(n,P,"month"),e.ofNumberNumber(t,n.value())},e.ofNumberNumber=function(t,n){return _(t,"year"),_(n,"month"),k.YEAR.checkValidValue(t),k.MONTH_OF_YEAR.checkValidValue(n),new e(t,n)},e.from=function(t){if(_(t,"temporal"),t instanceof e)return t;try{return e.of(t.get(k.YEAR),t.get(k.MONTH_OF_YEAR))}catch(e){throw new r("Unable to obtain YearMonth from TemporalAccessor: "+t+", type "+(t&&null!=t.constructor?t.constructor.name:""))}},e.parse=function(t,n){return 1===arguments.length?e.parseString(t):e.parseStringFormatter(t,n)},e.parseString=function(t){return e.parseStringFormatter(t,Ot)},e.parseStringFormatter=function(t,n){return _(n,"formatter"),n.parse(t,e.FROM)};var n=e.prototype;return n.isSupported=function(t){return 1===arguments.length&&t instanceof S?this.isSupportedField(t):this.isSupportedUnit(t)},n.isSupportedField=function(t){return t instanceof k?t===k.YEAR||t===k.MONTH_OF_YEAR||t===k.PROLEPTIC_MONTH||t===k.YEAR_OF_ERA||t===k.ERA:null!=t&&t.isSupportedBy(this)},n.isSupportedUnit=function(t){return t instanceof A?t===A.MONTHS||t===A.YEARS||t===A.DECADES||t===A.CENTURIES||t===A.MILLENNIA||t===A.ERAS:null!=t&&t.isSupportedBy(this)},n.range=function(e){return e===k.YEAR_OF_ERA?this.year()<=0?z.of(1,Zt.MAX_VALUE+1):z.of(1,Zt.MAX_VALUE):t.prototype.range.call(this,e)},n.get=function(t){return _(t,"field"),p(t,S,"field"),this.range(t).checkValidIntValue(this.getLong(t),t)},n.getLong=function(t){if(_(t,"field"),p(t,S,"field"),t instanceof k){switch(t){case k.MONTH_OF_YEAR:return this._month;case k.PROLEPTIC_MONTH:return this._getProlepticMonth();case k.YEAR_OF_ERA:return this._year<1?1-this._year:this._year;case k.YEAR:return this._year;case k.ERA:return this._year<1?0:1}throw new a("Unsupported field: "+t)}return t.getFrom(this)},n._getProlepticMonth=function(){return b.safeAdd(b.safeMultiply(this._year,12),this._month-1)},n.year=function(){return this._year},n.monthValue=function(){return this._month},n.month=function(){return P.of(this._month)},n.isLeapYear=function(){return ee.isLeapYear(this._year)},n.isValidDay=function(t){return t>=1&&t<=this.lengthOfMonth()},n.lengthOfMonth=function(){return this.month().length(this.isLeapYear())},n.lengthOfYear=function(){return this.isLeapYear()?366:365},n.with=function(t,e){return 1===arguments.length?this.withAdjuster(t):this.withFieldValue(t,e)},n.withAdjuster=function(t){return _(t,"adjuster"),t.adjustInto(this)},n.withFieldValue=function(t,e){if(_(t,"field"),p(t,S,"field"),t instanceof k){var n=t;switch(n.checkValidValue(e),n){case k.MONTH_OF_YEAR:return this.withMonth(e);case k.PROLEPTIC_MONTH:return this.plusMonths(e-this.getLong(k.PROLEPTIC_MONTH));case k.YEAR_OF_ERA:return this.withYear(this._year<1?1-e:e);case k.YEAR:return this.withYear(e);case k.ERA:return this.getLong(k.ERA)===e?this:this.withYear(1-this._year)}throw new a("Unsupported field: "+t)}return t.adjustInto(this,e)},n.withYear=function(t){return k.YEAR.checkValidValue(t),new e(t,this._month)},n.withMonth=function(t){return k.MONTH_OF_YEAR.checkValidValue(t),new e(this._year,t)},n.plusAmount=function(t){return _(t,"amount"),p(t,E,"amount"),t.addTo(this)},n.plusAmountUnit=function(t,e){if(_(e,"unit"),p(e,x,"unit"),e instanceof A){switch(e){case A.MONTHS:return this.plusMonths(t);case A.YEARS:return this.plusYears(t);case A.DECADES:return this.plusYears(b.safeMultiply(t,10));case A.CENTURIES:return this.plusYears(b.safeMultiply(t,100));case A.MILLENNIA:return this.plusYears(b.safeMultiply(t,1e3));case A.ERAS:return this.with(k.ERA,b.safeAdd(this.getLong(k.ERA),t))}throw new a("Unsupported unit: "+e)}return e.addTo(this,t)},n.plusYears=function(t){if(0===t)return this;var e=k.YEAR.checkValidIntValue(this._year+t);return this.withYear(e)},n.plusMonths=function(t){if(0===t)return this;var n=12*this._year+(this._month-1)+t;return new e(k.YEAR.checkValidIntValue(b.floorDiv(n,12)),b.floorMod(n,12)+1)},n.minusAmount=function(t){return _(t,"amount"),t.subtractFrom(this)},n.minusAmountUnit=function(t,e){return t===b.MIN_SAFE_INTEGER?this.plusAmountUnit(b.MAX_SAFE_INTEGER,e).plusAmountUnit(1,e):this.plusAmountUnit(-t,e)},n.minusYears=function(t){return t===b.MIN_SAFE_INTEGER?this.plusYears(b.MIN_SAFE_INTEGER).plusYears(1):this.plusYears(-t)},n.minusMonths=function(t){return t===b.MIN_SAFE_INTEGER?this.plusMonths(Math.MAX_SAFE_INTEGER).plusMonths(1):this.plusMonths(-t)},n.query=function(e){return _(e,"query"),p(e,O,"query"),e===N.chronology()?ee.INSTANCE:e===N.precision()?A.MONTHS:e===N.localDate()||e===N.localTime()||e===N.zone()||e===N.zoneId()||e===N.offset()?null:t.prototype.query.call(this,e)},n.adjustInto=function(t){return _(t,"temporal"),p(t,W,"temporal"),t.with(k.PROLEPTIC_MONTH,this._getProlepticMonth())},n.until=function(t,n){_(t,"endExclusive"),_(n,"unit"),p(t,W,"endExclusive"),p(n,x,"unit");var i=e.from(t);if(n instanceof A){var r=i._getProlepticMonth()-this._getProlepticMonth();switch(n){case A.MONTHS:return r;case A.YEARS:return r/12;case A.DECADES:return r/120;case A.CENTURIES:return r/1200;case A.MILLENNIA:return r/12e3;case A.ERAS:return i.getLong(k.ERA)-this.getLong(k.ERA)}throw new a("Unsupported unit: "+n)}return n.between(this,i)},n.atDay=function(t){return le.of(this._year,this._month,t)},n.atEndOfMonth=function(){return le.of(this._year,this._month,this.lengthOfMonth())},n.compareTo=function(t){_(t,"other"),p(t,e,"other");var n=this._year-t.year();return 0===n&&(n=this._month-t.monthValue()),n},n.isAfter=function(t){return this.compareTo(t)>0},n.isBefore=function(t){return this.compareTo(t)<0},n.equals=function(t){if(this===t)return!0;if(t instanceof e){var n=t;return this.year()===n.year()&&this.monthValue()===n.monthValue()}return!1},n.toString=function(){return Ot.format(this)},n.toJSON=function(){return this.toString()},n.format=function(t){return _(t,"formatter"),t.format(this)},e}(W),Zt=function(t){function e(e){var n;return(n=t.call(this)||this)._year=b.safeToInt(e),n}h(e,t);var n=e.prototype;return n.value=function(){return this._year},e.now=function(t){return void 0===t&&(t=void 0),void 0===t?e.now0():t instanceof X?e.nowZoneId(t):e.nowClock(t)},e.now0=function(){return e.nowClock(_e.systemDefaultZone())},e.nowZoneId=function(t){return _(t,"zone"),p(t,X,"zone"),e.nowClock(_e.system(t))},e.nowClock=function(t){_(t,"clock"),p(t,_e,"clock");var n=le.now(t);return e.of(n.year())},e.of=function(t){return _(t,"isoYear"),k.YEAR.checkValidValue(t),new e(t)},e.from=function(t){if(_(t,"temporal"),p(t,I,"temporal"),t instanceof e)return t;try{return e.of(t.get(k.YEAR))}catch(e){throw new r("Unable to obtain Year from TemporalAccessor: "+t+", type "+(t&&null!=t.constructor?t.constructor.name:""))}},e.parse=function(t,n){return arguments.length<=1?e.parseText(t):e.parseTextFormatter(t,n)},e.parseText=function(t){return _(t,"text"),e.parse(t,Lt)},e.parseTextFormatter=function(t,n){return void 0===n&&(n=Lt),_(t,"text"),_(n,"formatter"),p(n,Vt,"formatter"),n.parse(t,e.FROM)},e.isLeap=function(t){return 0===b.intMod(t,4)&&(0!==b.intMod(t,100)||0===b.intMod(t,400))},n.isSupported=function(t){return 1===arguments.length&&t instanceof S?this.isSupportedField(t):this.isSupportedUnit(t)},n.isSupportedField=function(t){return t instanceof k?t===k.YEAR||t===k.YEAR_OF_ERA||t===k.ERA:null!=t&&t.isSupportedBy(this)},n.isSupportedUnit=function(t){return t instanceof A?t===A.YEARS||t===A.DECADES||t===A.CENTURIES||t===A.MILLENNIA||t===A.ERAS:null!=t&&t.isSupportedBy(this)},n.range=function(e){if(this.isSupported(e))return e.range();if(e instanceof k)throw new a("Unsupported field: "+e);return t.prototype.range.call(this,e)},n.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},n.getLong=function(t){if(_(t,"field"),t instanceof k){switch(t){case k.YEAR_OF_ERA:return this._year<1?1-this._year:this._year;case k.YEAR:return this._year;case k.ERA:return this._year<1?0:1}throw new a("Unsupported field: "+t)}return t.getFrom(this)},n.isLeap=function(){return e.isLeap(this._year)},n.withAdjuster=function(t){return _(t,"adjuster"),t.adjustInto(this)},n.withFieldValue=function(t,n){if(_(t,"field"),p(t,S,"field"),t instanceof k){switch(t.checkValidValue(n),t){case k.YEAR_OF_ERA:return e.of(this._year<1?1-n:n);case k.YEAR:return e.of(n);case k.ERA:return this.getLong(k.ERA)===n?this:e.of(1-this._year)}throw new a("Unsupported field: "+t)}return t.adjustInto(this,n)},n.plusAmount=function(t){return _(t,"amount"),p(t,E,"amount"),t.addTo(this)},n.plusAmountUnit=function(t,e){if(_(t,"amountToAdd"),_(e,"unit"),p(e,x,"unit"),e instanceof A){switch(e){case A.YEARS:return this.plusYears(t);case A.DECADES:return this.plusYears(b.safeMultiply(t,10));case A.CENTURIES:return this.plusYears(b.safeMultiply(t,100));case A.MILLENNIA:return this.plusYears(b.safeMultiply(t,1e3));case A.ERAS:return this.with(k.ERA,b.safeAdd(this.getLong(k.ERA),t))}throw new a("Unsupported unit: "+e)}return e.addTo(this,t)},n.plusYears=function(t){return 0===t?this:e.of(k.YEAR.checkValidIntValue(b.safeAdd(this._year,t)))},n.minusAmount=function(t){return _(t,"amount"),p(t,E,"amount"),t.subtractFrom(this)},n.minusAmountUnit=function(t,e){return _(t,"amountToSubtract"),_(e,"unit"),p(e,x,"unit"),t===b.MIN_SAFE_INTEGER?this.plus(b.MAX_SAFE_INTEGER,e).plus(1,e):this.plus(-t,e)},n.minusYears=function(t){return t===b.MIN_SAFE_INTEGER?this.plusYears(b.MAX_SAFE_INTEGER).plusYears(1):this.plusYears(-t)},n.adjustInto=function(t){return _(t,"temporal"),t.with(k.YEAR,this._year)},n.isValidMonthDay=function(t){return null!=t&&t.isValidYear(this._year)},n.length=function(){return this.isLeap()?366:365},n.atDay=function(t){return le.ofYearDay(this._year,t)},n.atMonth=function(t){return 1===arguments.length&&t instanceof P?this.atMonthMonth(t):this.atMonthNumber(t)},n.atMonthMonth=function(t){return _(t,"month"),p(t,P,"month"),Jt.of(this._year,t)},n.atMonthNumber=function(t){return _(t,"month"),Jt.of(this._year,t)},n.atMonthDay=function(t){return _(t,"monthDay"),p(t,Xt,"monthDay"),t.atYear(this._year)},n.query=function(e){return _(e,"query()"),p(e,O,"query()"),e===N.chronology()?ee.INSTANCE:e===N.precision()?A.YEARS:e===N.localDate()||e===N.localTime()||e===N.zone()||e===N.zoneId()||e===N.offset()?null:t.prototype.query.call(this,e)},n.compareTo=function(t){return _(t,"other"),p(t,e,"other"),this._year-t._year},n.isAfter=function(t){return _(t,"other"),p(t,e,"other"),this._year>t._year},n.isBefore=function(t){return _(t,"other"),p(t,e,"other"),this._year=0){var e=t.with(k.DAY_OF_MONTH,1),n=e.get(k.DAY_OF_WEEK),i=b.intMod(this._dowValue-n+7,7);return i+=7*(this._ordinal-1),e.plus(i,A.DAYS)}var r=t.with(k.DAY_OF_MONTH,t.range(k.DAY_OF_MONTH).maximum()),o=r.get(k.DAY_OF_WEEK),a=this._dowValue-o;return a=0===a?0:a>0?a-7:a,a-=7*(-this._ordinal-1),r.plus(a,A.DAYS)},e}(F),te=function(t){function e(e,n){var i;return i=t.call(this)||this,_(n,"dayOfWeek"),i._relative=e,i._dowValue=n.value(),i}return h(e,t),e.prototype.adjustInto=function(t){var e=t.get(k.DAY_OF_WEEK);if(this._relative<2&&e===this._dowValue)return t;if(0==(1&this._relative)){var n=e-this._dowValue;return t.plus(n>=0?7-n:-n,A.DAYS)}var i=this._dowValue-e;return t.minus(i>=0?7-i:-i,A.DAYS)},e}(F),ee=function(t){function e(){return t.apply(this,arguments)||this}h(e,t),e.isLeapYear=function(t){return 0==(3&t)&&(t%100!=0||t%400==0)};var n=e.prototype;return n._updateResolveMap=function(t,e,n){_(t,"fieldValues"),_(e,"field");var i=t.get(e);if(null!=i&&i!==n)throw new r("Invalid state, field: "+e+" "+i+" conflicts with "+e+" "+n);t.put(e,n)},n.resolveDate=function(t,e){if(t.containsKey(k.EPOCH_DAY))return le.ofEpochDay(t.remove(k.EPOCH_DAY));var n=t.remove(k.PROLEPTIC_MONTH);null!=n&&(e!==B.LENIENT&&k.PROLEPTIC_MONTH.checkValidValue(n),this._updateResolveMap(t,k.MONTH_OF_YEAR,b.floorMod(n,12)+1),this._updateResolveMap(t,k.YEAR,b.floorDiv(n,12)));var i=t.remove(k.YEAR_OF_ERA);if(null!=i){e!==B.LENIENT&&k.YEAR_OF_ERA.checkValidValue(i);var o=t.remove(k.ERA);if(null==o){var a=t.get(k.YEAR);e===B.STRICT?null!=a?this._updateResolveMap(t,k.YEAR,a>0?i:b.safeSubtract(1,i)):t.put(k.YEAR_OF_ERA,i):this._updateResolveMap(t,k.YEAR,null==a||a>0?i:b.safeSubtract(1,i))}else if(1===o)this._updateResolveMap(t,k.YEAR,i);else{if(0!==o)throw new r("Invalid value for era: "+o);this._updateResolveMap(t,k.YEAR,b.safeSubtract(1,i))}}else t.containsKey(k.ERA)&&k.ERA.checkValidValue(t.get(k.ERA));if(t.containsKey(k.YEAR)){if(t.containsKey(k.MONTH_OF_YEAR)&&t.containsKey(k.DAY_OF_MONTH)){var s=k.YEAR.checkValidIntValue(t.remove(k.YEAR)),l=t.remove(k.MONTH_OF_YEAR),u=t.remove(k.DAY_OF_MONTH);if(e===B.LENIENT){var c=l-1,h=u-1;return le.of(s,1,1).plusMonths(c).plusDays(h)}return e===B.SMART?(k.DAY_OF_MONTH.checkValidValue(u),4===l||6===l||9===l||11===l?u=Math.min(u,30):2===l&&(u=Math.min(u,P.FEBRUARY.length(Zt.isLeap(s)))),le.of(s,l,u)):le.of(s,l,u)}if(t.containsKey(k.DAY_OF_YEAR)){var d=k.YEAR.checkValidIntValue(t.remove(k.YEAR));if(e===B.LENIENT){var f=b.safeSubtract(t.remove(k.DAY_OF_YEAR),1);return le.ofYearDay(d,1).plusDays(f)}var _=k.DAY_OF_YEAR.checkValidIntValue(t.remove(k.DAY_OF_YEAR));return le.ofYearDay(d,_)}if(t.containsKey(k.ALIGNED_WEEK_OF_YEAR)){if(t.containsKey(k.ALIGNED_DAY_OF_WEEK_IN_YEAR)){var p=k.YEAR.checkValidIntValue(t.remove(k.YEAR));if(e===B.LENIENT){var m=b.safeSubtract(t.remove(k.ALIGNED_WEEK_OF_YEAR),1),v=b.safeSubtract(t.remove(k.ALIGNED_DAY_OF_WEEK_IN_YEAR),1);return le.of(p,1,1).plusWeeks(m).plusDays(v)}var g=k.ALIGNED_WEEK_OF_YEAR.checkValidIntValue(t.remove(k.ALIGNED_WEEK_OF_YEAR)),y=k.ALIGNED_DAY_OF_WEEK_IN_YEAR.checkValidIntValue(t.remove(k.ALIGNED_DAY_OF_WEEK_IN_YEAR)),w=le.of(p,1,1).plusDays(7*(g-1)+(y-1));if(e===B.STRICT&&w.get(k.YEAR)!==p)throw new r("Strict mode rejected date parsed to a different year");return w}if(t.containsKey(k.DAY_OF_WEEK)){var E=k.YEAR.checkValidIntValue(t.remove(k.YEAR));if(e===B.LENIENT){var x=b.safeSubtract(t.remove(k.ALIGNED_WEEK_OF_YEAR),1),C=b.safeSubtract(t.remove(k.DAY_OF_WEEK),1);return le.of(E,1,1).plusWeeks(x).plusDays(C)}var T=k.ALIGNED_WEEK_OF_YEAR.checkValidIntValue(t.remove(k.ALIGNED_WEEK_OF_YEAR)),A=k.DAY_OF_WEEK.checkValidIntValue(t.remove(k.DAY_OF_WEEK)),S=le.of(E,1,1).plusWeeks(T-1).with(Yt.nextOrSame(R.of(A)));if(e===B.STRICT&&S.get(k.YEAR)!==E)throw new r("Strict mode rejected date parsed to a different month");return S}}}return null},n.date=function(t){return le.from(t)},e}(w),ne=function(t){function e(e,n){var i;return i=t.call(this)||this,_(e,"time"),p(e,he,"time"),_(n,"offset"),p(n,Q,"offset"),i._time=e,i._offset=n,i}h(e,t),e.from=function(t){if(_(t,"temporal"),t instanceof e)return t;if(t instanceof oe)return t.toOffsetTime();try{return new e(he.from(t),Q.from(t))}catch(e){throw new r("Unable to obtain OffsetTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""))}},e.now=function(t){return 0===arguments.length?e._now(_e.systemDefaultZone()):t instanceof _e?e._now(t):e._now(_e.system(t))},e._now=function(t){_(t,"clock");var n=t.instant();return e.ofInstant(n,t.zone().rules().offset(n))},e.of=function(){return arguments.length<=2?e.ofTimeAndOffset.apply(this,arguments):e.ofNumbers.apply(this,arguments)},e.ofNumbers=function(t,n,i,r,o){return new e(he.of(t,n,i,r),o)},e.ofTimeAndOffset=function(t,n){return new e(t,n)},e.ofInstant=function(t,n){_(t,"instant"),p(t,fe,"instant"),_(n,"zone"),p(n,X,"zone");var i=n.rules().offset(t),r=t.epochSecond()%he.SECONDS_PER_DAY;return(r=(r+i.totalSeconds())%he.SECONDS_PER_DAY)<0&&(r+=he.SECONDS_PER_DAY),new e(he.ofSecondOfDay(r,t.nano()),i)},e.parse=function(t,n){return void 0===n&&(n=Vt.ISO_OFFSET_TIME),_(n,"formatter"),n.parse(t,e.FROM)};var n=e.prototype;return n.adjustInto=function(t){return t.with(k.NANO_OF_DAY,this._time.toNanoOfDay()).with(k.OFFSET_SECONDS,this.offset().totalSeconds())},n.atDate=function(t){return oe.of(t,this._time,this._offset)},n.format=function(t){return _(t,"formatter"),t.format(this,e.FROM)},n.get=function(e){return t.prototype.get.call(this,e)},n.getLong=function(t){return t instanceof k?t===k.OFFSET_SECONDS?this._offset.totalSeconds():this._time.getLong(t):t.getFrom(this)},n.hour=function(){return this._time.hour()},n.minute=function(){return this._time.minute()},n.second=function(){return this._time.second()},n.nano=function(){return this._time.nano()},n.offset=function(){return this._offset},n.isAfter=function(t){return _(t,"other"),this._toEpochNano()>t._toEpochNano()},n.isBefore=function(t){return _(t,"other"),this._toEpochNano()n?1:0),i},n.isAfter=function(t){_(t,"other");var e=this.toEpochSecond(),n=t.toEpochSecond();return e>n||e===n&&this.toLocalTime().nano()>t.toLocalTime().nano()},n.isBefore=function(t){_(t,"other");var e=this.toEpochSecond(),n=t.toEpochSecond();return en||e===n&&this.toLocalTime().nano()>t.toLocalTime().nano()},n.isBefore=function(t){_(t,"other");var e=this.toEpochSecond(),n=t.toEpochSecond();return eo.firstDayOfYear(i)+o.length(i)-1&&(o=o.plus(1));var a=n-o.firstDayOfYear(i)+1;return new e(t,o.value(),a)},e.ofEpochDay=function(t){var n,i,r,o,a;void 0===t&&(t=0),a=t+se,n=0,(a-=60)<0&&(n=400*(i=b.intDiv(a+1,ae)-1),a+=-i*ae),(r=a-(365*(o=b.intDiv(400*a+591,ae))+b.intDiv(o,4)-b.intDiv(o,100)+b.intDiv(o,400)))<0&&(r=a-(365*--o+b.intDiv(o,4)-b.intDiv(o,100)+b.intDiv(o,400))),o+=n;var s=r,l=b.intDiv(5*s+2,153),u=(l+2)%12+1,c=s-b.intDiv(306*l+5,10)+1;return new e(o+=b.intDiv(l,10),u,c)},e.from=function(t){_(t,"temporal");var e=t.query(N.localDate());if(null==e)throw new r("Unable to obtain LocalDate from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return e},e.parse=function(t,n){return void 0===n&&(n=Vt.ISO_LOCAL_DATE),f(null!=n,"formatter",c),n.parse(t,e.FROM)},e._resolvePreviousValid=function(t,n,i){switch(n){case 2:i=Math.min(i,ee.isLeapYear(t)?29:28);break;case 4:case 6:case 9:case 11:i=Math.min(i,30)}return e.of(t,n,i)},e._validate=function(t,e,n){var i;if(k.YEAR.checkValidValue(t),k.MONTH_OF_YEAR.checkValidValue(e),k.DAY_OF_MONTH.checkValidValue(n),n>28){switch(i=31,e){case 2:i=ee.isLeapYear(t)?29:28;break;case 4:case 6:case 9:case 11:i=30}n>i&&f(!1,29===n?"Invalid date 'February 29' as '"+t+"' is not a leap year":"Invalid date '"+t+"' '"+e+"' '"+n+"'",r)}};var n=e.prototype;return n.isSupported=function(e){return t.prototype.isSupported.call(this,e)},n.range=function(t){if(t instanceof k){if(t.isDateBased()){switch(t){case k.DAY_OF_MONTH:return z.of(1,this.lengthOfMonth());case k.DAY_OF_YEAR:return z.of(1,this.lengthOfYear());case k.ALIGNED_WEEK_OF_MONTH:return z.of(1,this.month()===P.FEBRUARY&&!1===this.isLeapYear()?4:5);case k.YEAR_OF_ERA:return this._year<=0?z.of(1,Zt.MAX_VALUE+1):z.of(1,Zt.MAX_VALUE)}return t.range()}throw new a("Unsupported field: "+t)}return t.rangeRefinedBy(this)},n.get=function(t){return this.getLong(t)},n.getLong=function(t){return f(null!=t,"",c),t instanceof k?this._get0(t):t.getFrom(this)},n._get0=function(t){switch(t){case k.DAY_OF_WEEK:return this.dayOfWeek().value();case k.ALIGNED_DAY_OF_WEEK_IN_MONTH:return b.intMod(this._day-1,7)+1;case k.ALIGNED_DAY_OF_WEEK_IN_YEAR:return b.intMod(this.dayOfYear()-1,7)+1;case k.DAY_OF_MONTH:return this._day;case k.DAY_OF_YEAR:return this.dayOfYear();case k.EPOCH_DAY:return this.toEpochDay();case k.ALIGNED_WEEK_OF_MONTH:return b.intDiv(this._day-1,7)+1;case k.ALIGNED_WEEK_OF_YEAR:return b.intDiv(this.dayOfYear()-1,7)+1;case k.MONTH_OF_YEAR:return this._month;case k.PROLEPTIC_MONTH:return this._prolepticMonth();case k.YEAR_OF_ERA:return this._year>=1?this._year:1-this._year;case k.YEAR:return this._year;case k.ERA:return this._year>=1?1:0}throw new a("Unsupported field: "+t)},n._prolepticMonth=function(){return 12*this._year+(this._month-1)},n.chronology=function(){return ee.INSTANCE},n.year=function(){return this._year},n.monthValue=function(){return this._month},n.month=function(){return P.of(this._month)},n.dayOfMonth=function(){return this._day},n.dayOfYear=function(){return this.month().firstDayOfYear(this.isLeapYear())+this._day-1},n.dayOfWeek=function(){var t=b.floorMod(this.toEpochDay()+3,7);return R.of(t+1)},n.isLeapYear=function(){return ee.isLeapYear(this._year)},n.lengthOfMonth=function(){switch(this._month){case 2:return this.isLeapYear()?29:28;case 4:case 6:case 9:case 11:return 30;default:return 31}},n.lengthOfYear=function(){return this.isLeapYear()?366:365},n.withAdjuster=function(t){return _(t,"adjuster"),t instanceof e?t:(f("function"==typeof t.adjustInto,"adjuster",l),t.adjustInto(this))},n.withFieldValue=function(t,n){if(f(null!=t,"field",c),t instanceof k){var i=t;switch(i.checkValidValue(n),i){case k.DAY_OF_WEEK:return this.plusDays(n-this.dayOfWeek().value());case k.ALIGNED_DAY_OF_WEEK_IN_MONTH:return this.plusDays(n-this.getLong(k.ALIGNED_DAY_OF_WEEK_IN_MONTH));case k.ALIGNED_DAY_OF_WEEK_IN_YEAR:return this.plusDays(n-this.getLong(k.ALIGNED_DAY_OF_WEEK_IN_YEAR));case k.DAY_OF_MONTH:return this.withDayOfMonth(n);case k.DAY_OF_YEAR:return this.withDayOfYear(n);case k.EPOCH_DAY:return e.ofEpochDay(n);case k.ALIGNED_WEEK_OF_MONTH:return this.plusWeeks(n-this.getLong(k.ALIGNED_WEEK_OF_MONTH));case k.ALIGNED_WEEK_OF_YEAR:return this.plusWeeks(n-this.getLong(k.ALIGNED_WEEK_OF_YEAR));case k.MONTH_OF_YEAR:return this.withMonth(n);case k.PROLEPTIC_MONTH:return this.plusMonths(n-this.getLong(k.PROLEPTIC_MONTH));case k.YEAR_OF_ERA:return this.withYear(this._year>=1?n:1-n);case k.YEAR:return this.withYear(n);case k.ERA:return this.getLong(k.ERA)===n?this:this.withYear(1-this._year)}throw new a("Unsupported field: "+t)}return t.adjustInto(this,n)},n.withYear=function(t){return this._year===t?this:(k.YEAR.checkValidValue(t),e._resolvePreviousValid(t,this._month,this._day))},n.withMonth=function(t){var n=t instanceof P?t.value():t;return this._month===n?this:(k.MONTH_OF_YEAR.checkValidValue(n),e._resolvePreviousValid(this._year,n,this._day))},n.withDayOfMonth=function(t){return this._day===t?this:e.of(this._year,this._month,t)},n.withDayOfYear=function(t){return this.dayOfYear()===t?this:e.ofYearDay(this._year,t)},n.plusAmount=function(t){return _(t,"amount"),t.addTo(this)},n.plusAmountUnit=function(t,e){if(_(t,"amountToAdd"),_(e,"unit"),e instanceof A){switch(e){case A.DAYS:return this.plusDays(t);case A.WEEKS:return this.plusWeeks(t);case A.MONTHS:return this.plusMonths(t);case A.YEARS:return this.plusYears(t);case A.DECADES:return this.plusYears(b.safeMultiply(t,10));case A.CENTURIES:return this.plusYears(b.safeMultiply(t,100));case A.MILLENNIA:return this.plusYears(b.safeMultiply(t,1e3));case A.ERAS:return this.with(k.ERA,b.safeAdd(this.getLong(k.ERA),t))}throw new a("Unsupported unit: "+e)}return e.addTo(this,t)},n.plusYears=function(t){if(0===t)return this;var n=k.YEAR.checkValidIntValue(this._year+t);return e._resolvePreviousValid(n,this._month,this._day)},n.plusMonths=function(t){if(0===t)return this;var n=12*this._year+(this._month-1)+t,i=k.YEAR.checkValidIntValue(b.floorDiv(n,12)),r=b.floorMod(n,12)+1;return e._resolvePreviousValid(i,r,this._day)},n.plusWeeks=function(t){return this.plusDays(b.safeMultiply(t,7))},n.plusDays=function(t){if(0===t)return this;var n=b.safeAdd(this.toEpochDay(),t);return e.ofEpochDay(n)},n.minusAmount=function(t){return _(t,"amount"),t.subtractFrom(this)},n.minusAmountUnit=function(t,e){return _(t,"amountToSubtract"),_(e,"unit"),this.plusAmountUnit(-1*t,e)},n.minusYears=function(t){return this.plusYears(-1*t)},n.minusMonths=function(t){return this.plusMonths(-1*t)},n.minusWeeks=function(t){return this.plusWeeks(-1*t)},n.minusDays=function(t){return this.plusDays(-1*t)},n.query=function(e){return _(e,"query"),e===N.localDate()?this:t.prototype.query.call(this,e)},n.adjustInto=function(e){return t.prototype.adjustInto.call(this,e)},n.until=function(t,e){return arguments.length<2?this.until1(t):this.until2(t,e)},n.until2=function(t,n){var i=e.from(t);if(n instanceof A){switch(n){case A.DAYS:return this.daysUntil(i);case A.WEEKS:return b.intDiv(this.daysUntil(i),7);case A.MONTHS:return this._monthsUntil(i);case A.YEARS:return b.intDiv(this._monthsUntil(i),12);case A.DECADES:return b.intDiv(this._monthsUntil(i),120);case A.CENTURIES:return b.intDiv(this._monthsUntil(i),1200);case A.MILLENNIA:return b.intDiv(this._monthsUntil(i),12e3);case A.ERAS:return i.getLong(k.ERA)-this.getLong(k.ERA)}throw new a("Unsupported unit: "+n)}return n.between(this,i)},n.daysUntil=function(t){return t.toEpochDay()-this.toEpochDay()},n._monthsUntil=function(t){var e=32*this._prolepticMonth()+this.dayOfMonth(),n=32*t._prolepticMonth()+t.dayOfMonth();return b.intDiv(n-e,32)},n.until1=function(t){var n=e.from(t),i=n._prolepticMonth()-this._prolepticMonth(),r=n._day-this._day;if(i>0&&r<0){i--;var o=this.plusMonths(i);r=n.toEpochDay()-o.toEpochDay()}else i<0&&r>0&&(i++,r-=n.lengthOfMonth());var a=b.intDiv(i,12),s=b.intMod(i,12);return j.of(a,s,r)},n.atTime=function(){return 1===arguments.length?this.atTime1.apply(this,arguments):this.atTime4.apply(this,arguments)},n.atTime1=function(t){if(_(t,"time"),t instanceof he)return ce.of(this,t);if(t instanceof ne)return this._atTimeOffsetTime(t);throw new l("time must be an instance of LocalTime or OffsetTime"+(t&&t.constructor&&t.constructor.name?", but is "+t.constructor.name:""))},n.atTime4=function(t,e,n,i){return void 0===n&&(n=0),void 0===i&&(i=0),this.atTime1(he.of(t,e,n,i))},n._atTimeOffsetTime=function(t){return oe.of(ce.of(this,t.toLocalTime()),t.offset())},n.atStartOfDay=function(t){return null!=t?this.atStartOfDayWithZone(t):ce.of(this,he.MIDNIGHT)},n.atStartOfDayWithZone=function(t){_(t,"zone");var e=this.atTime(he.MIDNIGHT);if(t instanceof Q==0){var n=t.rules().transition(e);null!=n&&n.isGap()&&(e=n.dateTimeAfter())}return re.of(e,t)},n.toEpochDay=function(){var t=this._year,e=this._month,n=0;return n+=365*t,t>=0?n+=b.intDiv(t+3,4)-b.intDiv(t+99,100)+b.intDiv(t+399,400):n-=b.intDiv(t,-4)-b.intDiv(t,-100)+b.intDiv(t,-400),n+=b.intDiv(367*e-362,12),n+=this.dayOfMonth()-1,e>2&&(n--,ee.isLeapYear(t)||n--),n-se},n.compareTo=function(t){return _(t,"other"),p(t,e,"other"),this._compareTo0(t)},n._compareTo0=function(t){var e=this._year-t._year;return 0===e&&0==(e=this._month-t._month)&&(e=this._day-t._day),e},n.isAfter=function(t){return this.compareTo(t)>0},n.isBefore=function(t){return this.compareTo(t)<0},n.isEqual=function(t){return 0===this.compareTo(t)},n.equals=function(t){return this===t||t instanceof e&&0===this._compareTo0(t)},n.hashCode=function(){var t=this._year,e=this._month,n=this._day;return b.hash(4294965248&t^(t<<11)+(e<<6)+n)},n.toString=function(){var t=this._year,e=this._month,n=this._day;return(Math.abs(t)<1e3?t<0?"-"+(""+(t-1e4)).slice(-4):(""+(t+1e4)).slice(-4):t>9999?"+"+t:""+t)+(e<10?"-0"+e:"-"+e)+(n<10?"-0"+n:"-"+n)},n.toJSON=function(){return this.toString()},n.format=function(e){return _(e,"formatter"),p(e,Vt,"formatter"),t.prototype.format.call(this,e)},e}(H),ue=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.chronology=function(){return this.toLocalDate().chronology()},n.query=function(e){return e===N.chronology()?this.chronology():e===N.precision()?A.NANOS:e===N.localDate()?le.ofEpochDay(this.toLocalDate().toEpochDay()):e===N.localTime()?this.toLocalTime():e===N.zone()||e===N.zoneId()||e===N.offset()?null:t.prototype.query.call(this,e)},n.adjustInto=function(t){return t.with(k.EPOCH_DAY,this.toLocalDate().toEpochDay()).with(k.NANO_OF_DAY,this.toLocalTime().toNanoOfDay())},n.toInstant=function(t){return p(t,Q,"zoneId"),fe.ofEpochSecond(this.toEpochSecond(t),this.toLocalTime().nano())},n.toEpochSecond=function(t){_(t,"offset");var e=86400*this.toLocalDate().toEpochDay()+this.toLocalTime().toSecondOfDay();return e-=t.totalSeconds(),b.safeToInt(e)},e}(G),ce=function(t){function e(e,n){var i;return i=t.call(this)||this,p(e,le,"date"),p(n,he,"time"),i._date=e,i._time=n,i}h(e,t),e.now=function(t){return null==t?e._now(_e.systemDefaultZone()):t instanceof _e?e._now(t):e._now(_e.system(t))},e._now=function(t){return _(t,"clock"),e.ofInstant(t.instant(),t.zone())},e._ofEpochMillis=function(t,n){var i=b.floorDiv(t,1e3)+n.totalSeconds(),r=b.floorDiv(i,he.SECONDS_PER_DAY),o=b.floorMod(i,he.SECONDS_PER_DAY),a=1e6*b.floorMod(t,1e3);return new e(le.ofEpochDay(r),he.ofSecondOfDay(o,a))},e.of=function(){return arguments.length<=2?e.ofDateAndTime.apply(this,arguments):e.ofNumbers.apply(this,arguments)},e.ofNumbers=function(t,n,i,r,o,a,s){return void 0===r&&(r=0),void 0===o&&(o=0),void 0===a&&(a=0),void 0===s&&(s=0),new e(le.of(t,n,i),he.of(r,o,a,s))},e.ofDateAndTime=function(t,n){return _(t,"date"),_(n,"time"),new e(t,n)},e.ofInstant=function(t,n){void 0===n&&(n=X.systemDefault()),_(t,"instant"),p(t,fe,"instant"),_(n,"zone");var i=n.rules().offset(t);return e.ofEpochSecond(t.epochSecond(),t.nano(),i)},e.ofEpochSecond=function(t,n,i){void 0===t&&(t=0),void 0===n&&(n=0),2===arguments.length&&n instanceof Q&&(i=n,n=0),_(i,"offset");var r=t+i.totalSeconds(),o=b.floorDiv(r,he.SECONDS_PER_DAY),a=b.floorMod(r,he.SECONDS_PER_DAY);return new e(le.ofEpochDay(o),he.ofSecondOfDay(a,n))},e.from=function(t){if(_(t,"temporal"),t instanceof e)return t;if(t instanceof re)return t.toLocalDateTime();try{return new e(le.from(t),he.from(t))}catch(e){throw new r("Unable to obtain LocalDateTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""))}},e.parse=function(t,n){return void 0===n&&(n=Vt.ISO_LOCAL_DATE_TIME),_(n,"formatter"),n.parse(t,e.FROM)};var n=e.prototype;return n._withDateTime=function(t,n){return this._date.equals(t)&&this._time.equals(n)?this:new e(t,n)},n.isSupported=function(t){return t instanceof k||t instanceof A?t.isDateBased()||t.isTimeBased():null!=t&&t.isSupportedBy(this)},n.range=function(t){return t instanceof k?t.isTimeBased()?this._time.range(t):this._date.range(t):t.rangeRefinedBy(this)},n.get=function(e){return e instanceof k?e.isTimeBased()?this._time.get(e):this._date.get(e):t.prototype.get.call(this,e)},n.getLong=function(t){return _(t,"field"),t instanceof k?t.isTimeBased()?this._time.getLong(t):this._date.getLong(t):t.getFrom(this)},n.year=function(){return this._date.year()},n.monthValue=function(){return this._date.monthValue()},n.month=function(){return this._date.month()},n.dayOfMonth=function(){return this._date.dayOfMonth()},n.dayOfYear=function(){return this._date.dayOfYear()},n.dayOfWeek=function(){return this._date.dayOfWeek()},n.hour=function(){return this._time.hour()},n.minute=function(){return this._time.minute()},n.second=function(){return this._time.second()},n.nano=function(){return this._time.nano()},n.withAdjuster=function(t){return _(t,"adjuster"),t instanceof le?this._withDateTime(t,this._time):t instanceof he?this._withDateTime(this._date,t):t instanceof e?t:(f("function"==typeof t.adjustInto,"adjuster",l),t.adjustInto(this))},n.withFieldValue=function(t,e){return _(t,"field"),t instanceof k?t.isTimeBased()?this._withDateTime(this._date,this._time.with(t,e)):this._withDateTime(this._date.with(t,e),this._time):t.adjustInto(this,e)},n.withYear=function(t){return this._withDateTime(this._date.withYear(t),this._time)},n.withMonth=function(t){return this._withDateTime(this._date.withMonth(t),this._time)},n.withDayOfMonth=function(t){return this._withDateTime(this._date.withDayOfMonth(t),this._time)},n.withDayOfYear=function(t){return this._withDateTime(this._date.withDayOfYear(t),this._time)},n.withHour=function(t){var e=this._time.withHour(t);return this._withDateTime(this._date,e)},n.withMinute=function(t){var e=this._time.withMinute(t);return this._withDateTime(this._date,e)},n.withSecond=function(t){var e=this._time.withSecond(t);return this._withDateTime(this._date,e)},n.withNano=function(t){var e=this._time.withNano(t);return this._withDateTime(this._date,e)},n.truncatedTo=function(t){return this._withDateTime(this._date,this._time.truncatedTo(t))},n.plusAmount=function(t){return _(t,"amount"),t.addTo(this)},n.plusAmountUnit=function(t,e){if(_(e,"unit"),e instanceof A){switch(e){case A.NANOS:return this.plusNanos(t);case A.MICROS:return this.plusDays(b.intDiv(t,he.MICROS_PER_DAY)).plusNanos(1e3*b.intMod(t,he.MICROS_PER_DAY));case A.MILLIS:return this.plusDays(b.intDiv(t,he.MILLIS_PER_DAY)).plusNanos(1e6*b.intMod(t,he.MILLIS_PER_DAY));case A.SECONDS:return this.plusSeconds(t);case A.MINUTES:return this.plusMinutes(t);case A.HOURS:return this.plusHours(t);case A.HALF_DAYS:return this.plusDays(b.intDiv(t,256)).plusHours(12*b.intMod(t,256))}return this._withDateTime(this._date.plus(t,e),this._time)}return e.addTo(this,t)},n.plusYears=function(t){var e=this._date.plusYears(t);return this._withDateTime(e,this._time)},n.plusMonths=function(t){var e=this._date.plusMonths(t);return this._withDateTime(e,this._time)},n.plusWeeks=function(t){var e=this._date.plusWeeks(t);return this._withDateTime(e,this._time)},n.plusDays=function(t){var e=this._date.plusDays(t);return this._withDateTime(e,this._time)},n.plusHours=function(t){return this._plusWithOverflow(this._date,t,0,0,0,1)},n.plusMinutes=function(t){return this._plusWithOverflow(this._date,0,t,0,0,1)},n.plusSeconds=function(t){return this._plusWithOverflow(this._date,0,0,t,0,1)},n.plusNanos=function(t){return this._plusWithOverflow(this._date,0,0,0,t,1)},n.minusAmount=function(t){return _(t,"amount"),t.subtractFrom(this)},n.minusAmountUnit=function(t,e){return _(e,"unit"),this.plusAmountUnit(-1*t,e)},n.minusYears=function(t){return this.plusYears(-1*t)},n.minusMonths=function(t){return this.plusMonths(-1*t)},n.minusWeeks=function(t){return this.plusWeeks(-1*t)},n.minusDays=function(t){return this.plusDays(-1*t)},n.minusHours=function(t){return this._plusWithOverflow(this._date,t,0,0,0,-1)},n.minusMinutes=function(t){return this._plusWithOverflow(this._date,0,t,0,0,-1)},n.minusSeconds=function(t){return this._plusWithOverflow(this._date,0,0,t,0,-1)},n.minusNanos=function(t){return this._plusWithOverflow(this._date,0,0,0,t,-1)},n._plusWithOverflow=function(t,e,n,i,r,o){if(0===e&&0===n&&0===i&&0===r)return this._withDateTime(t,this._time);var a=b.intDiv(r,he.NANOS_PER_DAY)+b.intDiv(i,he.SECONDS_PER_DAY)+b.intDiv(n,he.MINUTES_PER_DAY)+b.intDiv(e,he.HOURS_PER_DAY);a*=o;var s=b.intMod(r,he.NANOS_PER_DAY)+b.intMod(i,he.SECONDS_PER_DAY)*he.NANOS_PER_SECOND+b.intMod(n,he.MINUTES_PER_DAY)*he.NANOS_PER_MINUTE+b.intMod(e,he.HOURS_PER_DAY)*he.NANOS_PER_HOUR,l=this._time.toNanoOfDay();s=s*o+l,a+=b.floorDiv(s,he.NANOS_PER_DAY);var u=b.floorMod(s,he.NANOS_PER_DAY),c=u===l?this._time:he.ofNanoOfDay(u);return this._withDateTime(t.plusDays(a),c)},n.query=function(e){return _(e,"query"),e===N.localDate()?this.toLocalDate():t.prototype.query.call(this,e)},n.adjustInto=function(e){return t.prototype.adjustInto.call(this,e)},n.until=function(t,n){_(t,"endExclusive"),_(n,"unit");var i=e.from(t);if(n instanceof A){if(n.isTimeBased()){var r=this._date.daysUntil(i._date),o=i._time.toNanoOfDay()-this._time.toNanoOfDay();r>0&&o<0?(r--,o+=he.NANOS_PER_DAY):r<0&&o>0&&(r++,o-=he.NANOS_PER_DAY);var s=r;switch(n){case A.NANOS:return s=b.safeMultiply(s,he.NANOS_PER_DAY),b.safeAdd(s,o);case A.MICROS:return s=b.safeMultiply(s,he.MICROS_PER_DAY),b.safeAdd(s,b.intDiv(o,1e3));case A.MILLIS:return s=b.safeMultiply(s,he.MILLIS_PER_DAY),b.safeAdd(s,b.intDiv(o,1e6));case A.SECONDS:return s=b.safeMultiply(s,he.SECONDS_PER_DAY),b.safeAdd(s,b.intDiv(o,he.NANOS_PER_SECOND));case A.MINUTES:return s=b.safeMultiply(s,he.MINUTES_PER_DAY),b.safeAdd(s,b.intDiv(o,he.NANOS_PER_MINUTE));case A.HOURS:return s=b.safeMultiply(s,he.HOURS_PER_DAY),b.safeAdd(s,b.intDiv(o,he.NANOS_PER_HOUR));case A.HALF_DAYS:return s=b.safeMultiply(s,2),b.safeAdd(s,b.intDiv(o,12*he.NANOS_PER_HOUR))}throw new a("Unsupported unit: "+n)}var l=i._date,u=i._time;return l.isAfter(this._date)&&u.isBefore(this._time)?l=l.minusDays(1):l.isBefore(this._date)&&u.isAfter(this._time)&&(l=l.plusDays(1)),this._date.until(l,n)}return n.between(this,i)},n.atOffset=function(t){return oe.of(this,t)},n.atZone=function(t){return re.of(this,t)},n.toLocalDate=function(){return this._date},n.toLocalTime=function(){return this._time},n.compareTo=function(t){return _(t,"other"),p(t,e,"other"),this._compareTo0(t)},n._compareTo0=function(t){var e=this._date.compareTo(t.toLocalDate());return 0===e&&(e=this._time.compareTo(t.toLocalTime())),e},n.isAfter=function(t){return this.compareTo(t)>0},n.isBefore=function(t){return this.compareTo(t)<0},n.isEqual=function(t){return 0===this.compareTo(t)},n.equals=function(t){return this===t||t instanceof e&&this._date.equals(t._date)&&this._time.equals(t._time)},n.hashCode=function(){return this._date.hashCode()^this._time.hashCode()},n.toString=function(){return this._date.toString()+"T"+this._time.toString()},n.toJSON=function(){return this.toString()},n.format=function(t){return _(t,"formatter"),t.format(this)},e}(ue),he=function(t){function e(n,i,r,o){var a;void 0===n&&(n=0),void 0===i&&(i=0),void 0===r&&(r=0),void 0===o&&(o=0),a=t.call(this)||this;var s=b.safeToInt(n),l=b.safeToInt(i),u=b.safeToInt(r),c=b.safeToInt(o);return e._validate(s,l,u,c),0===l&&0===u&&0===c?(e.HOURS[s]||(a._hour=s,a._minute=l,a._second=u,a._nano=c,e.HOURS[s]=d(a)),e.HOURS[s]||d(a)):(a._hour=s,a._minute=l,a._second=u,a._nano=c,a)}h(e,t),e.now=function(t){return null==t?e._now(_e.systemDefaultZone()):t instanceof _e?e._now(t):e._now(_e.system(t))},e._now=function(t){return void 0===t&&(t=_e.systemDefaultZone()),_(t,"clock"),e.ofInstant(t.instant(),t.zone())},e.ofInstant=function(t,n){void 0===n&&(n=X.systemDefault());var i=n.rules().offset(t),r=b.intMod(t.epochSecond(),e.SECONDS_PER_DAY);return(r=b.intMod(r+i.totalSeconds(),e.SECONDS_PER_DAY))<0&&(r+=e.SECONDS_PER_DAY),e.ofSecondOfDay(r,t.nano())},e.of=function(t,n,i,r){return new e(t,n,i,r)},e.ofSecondOfDay=function(t,n){void 0===t&&(t=0),void 0===n&&(n=0),k.SECOND_OF_DAY.checkValidValue(t),k.NANO_OF_SECOND.checkValidValue(n);var i=b.intDiv(t,e.SECONDS_PER_HOUR);t-=i*e.SECONDS_PER_HOUR;var r=b.intDiv(t,e.SECONDS_PER_MINUTE);return new e(i,r,t-=r*e.SECONDS_PER_MINUTE,n)},e.ofNanoOfDay=function(t){void 0===t&&(t=0),k.NANO_OF_DAY.checkValidValue(t);var n=b.intDiv(t,e.NANOS_PER_HOUR);t-=n*e.NANOS_PER_HOUR;var i=b.intDiv(t,e.NANOS_PER_MINUTE);t-=i*e.NANOS_PER_MINUTE;var r=b.intDiv(t,e.NANOS_PER_SECOND);return new e(n,i,r,t-=r*e.NANOS_PER_SECOND)},e.from=function(t){_(t,"temporal");var e=t.query(N.localTime());if(null==e)throw new r("Unable to obtain LocalTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return e},e.parse=function(t,n){return void 0===n&&(n=Vt.ISO_LOCAL_TIME),_(n,"formatter"),n.parse(t,e.FROM)},e._validate=function(t,e,n,i){k.HOUR_OF_DAY.checkValidValue(t),k.MINUTE_OF_HOUR.checkValidValue(e),k.SECOND_OF_MINUTE.checkValidValue(n),k.NANO_OF_SECOND.checkValidValue(i)};var n=e.prototype;return n.isSupported=function(t){return t instanceof k||t instanceof A?t.isTimeBased():null!=t&&t.isSupportedBy(this)},n.range=function(e){return _(e),t.prototype.range.call(this,e)},n.get=function(t){return this.getLong(t)},n.getLong=function(t){return _(t,"field"),t instanceof k?this._get0(t):t.getFrom(this)},n._get0=function(t){switch(t){case k.NANO_OF_SECOND:return this._nano;case k.NANO_OF_DAY:return this.toNanoOfDay();case k.MICRO_OF_SECOND:return b.intDiv(this._nano,1e3);case k.MICRO_OF_DAY:return b.intDiv(this.toNanoOfDay(),1e3);case k.MILLI_OF_SECOND:return b.intDiv(this._nano,1e6);case k.MILLI_OF_DAY:return b.intDiv(this.toNanoOfDay(),1e6);case k.SECOND_OF_MINUTE:return this._second;case k.SECOND_OF_DAY:return this.toSecondOfDay();case k.MINUTE_OF_HOUR:return this._minute;case k.MINUTE_OF_DAY:return 60*this._hour+this._minute;case k.HOUR_OF_AMPM:return b.intMod(this._hour,12);case k.CLOCK_HOUR_OF_AMPM:var e=b.intMod(this._hour,12);return e%12==0?12:e;case k.HOUR_OF_DAY:return this._hour;case k.CLOCK_HOUR_OF_DAY:return 0===this._hour?24:this._hour;case k.AMPM_OF_DAY:return b.intDiv(this._hour,12)}throw new a("Unsupported field: "+t)},n.hour=function(){return this._hour},n.minute=function(){return this._minute},n.second=function(){return this._second},n.nano=function(){return this._nano},n.withAdjuster=function(t){return _(t,"adjuster"),t instanceof e?t:(f("function"==typeof t.adjustInto,"adjuster",l),t.adjustInto(this))},n.withFieldValue=function(t,n){if(_(t,"field"),p(t,S,"field"),t instanceof k){switch(t.checkValidValue(n),t){case k.NANO_OF_SECOND:return this.withNano(n);case k.NANO_OF_DAY:return e.ofNanoOfDay(n);case k.MICRO_OF_SECOND:return this.withNano(1e3*n);case k.MICRO_OF_DAY:return e.ofNanoOfDay(1e3*n);case k.MILLI_OF_SECOND:return this.withNano(1e6*n);case k.MILLI_OF_DAY:return e.ofNanoOfDay(1e6*n);case k.SECOND_OF_MINUTE:return this.withSecond(n);case k.SECOND_OF_DAY:return this.plusSeconds(n-this.toSecondOfDay());case k.MINUTE_OF_HOUR:return this.withMinute(n);case k.MINUTE_OF_DAY:return this.plusMinutes(n-(60*this._hour+this._minute));case k.HOUR_OF_AMPM:return this.plusHours(n-b.intMod(this._hour,12));case k.CLOCK_HOUR_OF_AMPM:return this.plusHours((12===n?0:n)-b.intMod(this._hour,12));case k.HOUR_OF_DAY:return this.withHour(n);case k.CLOCK_HOUR_OF_DAY:return this.withHour(24===n?0:n);case k.AMPM_OF_DAY:return this.plusHours(12*(n-b.intDiv(this._hour,12)))}throw new a("Unsupported field: "+t)}return t.adjustInto(this,n)},n.withHour=function(t){return void 0===t&&(t=0),this._hour===t?this:new e(t,this._minute,this._second,this._nano)},n.withMinute=function(t){return void 0===t&&(t=0),this._minute===t?this:new e(this._hour,t,this._second,this._nano)},n.withSecond=function(t){return void 0===t&&(t=0),this._second===t?this:new e(this._hour,this._minute,t,this._nano)},n.withNano=function(t){return void 0===t&&(t=0),this._nano===t?this:new e(this._hour,this._minute,this._second,t)},n.truncatedTo=function(t){if(_(t,"unit"),t===A.NANOS)return this;var n=t.duration();if(n.seconds()>e.SECONDS_PER_DAY)throw new r("Unit is too large to be used for truncation");var i=n.toNanos();if(0!==b.intMod(e.NANOS_PER_DAY,i))throw new r("Unit must divide into a standard day without remainder");var o=this.toNanoOfDay();return e.ofNanoOfDay(b.intDiv(o,i)*i)},n.plusAmount=function(t){return _(t,"amount"),t.addTo(this)},n.plusAmountUnit=function(t,n){if(_(n,"unit"),n instanceof A){switch(n){case A.NANOS:return this.plusNanos(t);case A.MICROS:return this.plusNanos(1e3*b.intMod(t,e.MICROS_PER_DAY));case A.MILLIS:return this.plusNanos(1e6*b.intMod(t,e.MILLIS_PER_DAY));case A.SECONDS:return this.plusSeconds(t);case A.MINUTES:return this.plusMinutes(t);case A.HOURS:return this.plusHours(t);case A.HALF_DAYS:return this.plusHours(12*b.intMod(t,2))}throw new a("Unsupported unit: "+n)}return n.addTo(this,t)},n.plusHours=function(t){return 0===t?this:new e(b.intMod(b.intMod(t,e.HOURS_PER_DAY)+this._hour+e.HOURS_PER_DAY,e.HOURS_PER_DAY),this._minute,this._second,this._nano)},n.plusMinutes=function(t){if(0===t)return this;var n=this._hour*e.MINUTES_PER_HOUR+this._minute,i=b.intMod(b.intMod(t,e.MINUTES_PER_DAY)+n+e.MINUTES_PER_DAY,e.MINUTES_PER_DAY);return n===i?this:new e(b.intDiv(i,e.MINUTES_PER_HOUR),b.intMod(i,e.MINUTES_PER_HOUR),this._second,this._nano)},n.plusSeconds=function(t){if(0===t)return this;var n=this._hour*e.SECONDS_PER_HOUR+this._minute*e.SECONDS_PER_MINUTE+this._second,i=b.intMod(b.intMod(t,e.SECONDS_PER_DAY)+n+e.SECONDS_PER_DAY,e.SECONDS_PER_DAY);return n===i?this:new e(b.intDiv(i,e.SECONDS_PER_HOUR),b.intMod(b.intDiv(i,e.SECONDS_PER_MINUTE),e.MINUTES_PER_HOUR),b.intMod(i,e.SECONDS_PER_MINUTE),this._nano)},n.plusNanos=function(t){if(0===t)return this;var n=this.toNanoOfDay(),i=b.intMod(b.intMod(t,e.NANOS_PER_DAY)+n+e.NANOS_PER_DAY,e.NANOS_PER_DAY);return n===i?this:new e(b.intDiv(i,e.NANOS_PER_HOUR),b.intMod(b.intDiv(i,e.NANOS_PER_MINUTE),e.MINUTES_PER_HOUR),b.intMod(b.intDiv(i,e.NANOS_PER_SECOND),e.SECONDS_PER_MINUTE),b.intMod(i,e.NANOS_PER_SECOND))},n.minusAmount=function(t){return _(t,"amount"),t.subtractFrom(this)},n.minusAmountUnit=function(t,e){return _(e,"unit"),this.plusAmountUnit(-1*t,e)},n.minusHours=function(t){return this.plusHours(-1*b.intMod(t,e.HOURS_PER_DAY))},n.minusMinutes=function(t){return this.plusMinutes(-1*b.intMod(t,e.MINUTES_PER_DAY))},n.minusSeconds=function(t){return this.plusSeconds(-1*b.intMod(t,e.SECONDS_PER_DAY))},n.minusNanos=function(t){return this.plusNanos(-1*b.intMod(t,e.NANOS_PER_DAY))},n.query=function(t){return _(t,"query"),t===N.precision()?A.NANOS:t===N.localTime()?this:t===N.chronology()||t===N.zoneId()||t===N.zone()||t===N.offset()||t===N.localDate()?null:t.queryFrom(this)},n.adjustInto=function(t){return t.with(e.NANO_OF_DAY,this.toNanoOfDay())},n.until=function(t,n){_(t,"endExclusive"),_(n,"unit");var i=e.from(t);if(n instanceof A){var r=i.toNanoOfDay()-this.toNanoOfDay();switch(n){case A.NANOS:return r;case A.MICROS:return b.intDiv(r,1e3);case A.MILLIS:return b.intDiv(r,1e6);case A.SECONDS:return b.intDiv(r,e.NANOS_PER_SECOND);case A.MINUTES:return b.intDiv(r,e.NANOS_PER_MINUTE);case A.HOURS:return b.intDiv(r,e.NANOS_PER_HOUR);case A.HALF_DAYS:return b.intDiv(r,12*e.NANOS_PER_HOUR)}throw new a("Unsupported unit: "+n)}return n.between(this,i)},n.atDate=function(t){return ce.of(t,this)},n.toSecondOfDay=function(){var t=this._hour*e.SECONDS_PER_HOUR;return(t+=this._minute*e.SECONDS_PER_MINUTE)+this._second},n.toNanoOfDay=function(){var t=this._hour*e.NANOS_PER_HOUR;return t+=this._minute*e.NANOS_PER_MINUTE,(t+=this._second*e.NANOS_PER_SECOND)+this._nano},n.compareTo=function(t){_(t,"other"),p(t,e,"other");var n=b.compareNumbers(this._hour,t._hour);return 0===n&&0===(n=b.compareNumbers(this._minute,t._minute))&&0===(n=b.compareNumbers(this._second,t._second))&&(n=b.compareNumbers(this._nano,t._nano)),n},n.isAfter=function(t){return this.compareTo(t)>0},n.isBefore=function(t){return this.compareTo(t)<0},n.equals=function(t){return this===t||t instanceof e&&this._hour===t._hour&&this._minute===t._minute&&this._second===t._second&&this._nano===t._nano},n.hashCode=function(){var t=this.toNanoOfDay();return b.hash(t)},n.toString=function(){var t="",e=this._hour,n=this._minute,i=this._second,r=this._nano;return t+=e<10?"0":"",t+=e,t+=n<10?":0":":",t+=n,(i>0||r>0)&&(t+=i<10?":0":":",t+=i,r>0&&(t+=".",0===b.intMod(r,1e6)?t+=(""+(b.intDiv(r,1e6)+1e3)).substring(1):0===b.intMod(r,1e3)?t+=(""+(b.intDiv(r,1e3)+1e6)).substring(1):t+=(""+(r+1e9)).substring(1))),t},n.toJSON=function(){return this.toString()},n.format=function(t){return _(t,"formatter"),t.format(this)},e}(W);he.HOURS_PER_DAY=24,he.MINUTES_PER_HOUR=60,he.MINUTES_PER_DAY=he.MINUTES_PER_HOUR*he.HOURS_PER_DAY,he.SECONDS_PER_MINUTE=60,he.SECONDS_PER_HOUR=he.SECONDS_PER_MINUTE*he.MINUTES_PER_HOUR,he.SECONDS_PER_DAY=he.SECONDS_PER_HOUR*he.HOURS_PER_DAY,he.MILLIS_PER_DAY=1e3*he.SECONDS_PER_DAY,he.MICROS_PER_DAY=1e6*he.SECONDS_PER_DAY,he.NANOS_PER_SECOND=1e9,he.NANOS_PER_MINUTE=he.NANOS_PER_SECOND*he.SECONDS_PER_MINUTE,he.NANOS_PER_HOUR=he.NANOS_PER_MINUTE*he.MINUTES_PER_HOUR,he.NANOS_PER_DAY=he.NANOS_PER_HOUR*he.HOURS_PER_DAY;var de=1e6,fe=function(t){function e(n,i){var r;return r=t.call(this)||this,e._validate(n,i),r._seconds=b.safeToInt(n),r._nanos=b.safeToInt(i),r}h(e,t),e.now=function(t){return void 0===t&&(t=_e.systemUTC()),t.instant()},e.ofEpochSecond=function(t,n){void 0===n&&(n=0);var i=t+b.floorDiv(n,he.NANOS_PER_SECOND),r=b.floorMod(n,he.NANOS_PER_SECOND);return e._create(i,r)},e.ofEpochMilli=function(t){var n=b.floorDiv(t,1e3),i=b.floorMod(t,1e3);return e._create(n,1e6*i)},e.from=function(t){try{var n=t.getLong(k.INSTANT_SECONDS),i=t.get(k.NANO_OF_SECOND);return e.ofEpochSecond(n,i)}catch(e){throw new r("Unable to obtain Instant from TemporalAccessor: "+t+", type "+typeof t,e)}},e.parse=function(t){return Vt.ISO_INSTANT.parse(t,e.FROM)},e._create=function(t,n){return 0===t&&0===n?e.EPOCH:new e(t,n)},e._validate=function(t,n){if(te.MAX_SECONDS)throw new r("Instant exceeds minimum or maximum instant");if(n<0||n>he.NANOS_PER_SECOND)throw new r("Instant exceeds minimum or maximum instant")};var n=e.prototype;return n.isSupported=function(t){return t instanceof k?t===k.INSTANT_SECONDS||t===k.NANO_OF_SECOND||t===k.MICRO_OF_SECOND||t===k.MILLI_OF_SECOND:t instanceof A?t.isTimeBased()||t===A.DAYS:null!=t&&t.isSupportedBy(this)},n.range=function(e){return t.prototype.range.call(this,e)},n.get=function(t){return this.getLong(t)},n.getLong=function(t){if(t instanceof k){switch(t){case k.NANO_OF_SECOND:return this._nanos;case k.MICRO_OF_SECOND:return b.intDiv(this._nanos,1e3);case k.MILLI_OF_SECOND:return b.intDiv(this._nanos,de);case k.INSTANT_SECONDS:return this._seconds}throw new a("Unsupported field: "+t)}return t.getFrom(this)},n.epochSecond=function(){return this._seconds},n.nano=function(){return this._nanos},n.withAdjuster=function(t){return _(t,"adjuster"),t.adjustInto(this)},n.withFieldValue=function(t,n){if(_(t,"field"),t instanceof k){switch(t.checkValidValue(n),t){case k.MILLI_OF_SECOND:var i=n*de;return i!==this._nanos?e._create(this._seconds,i):this;case k.MICRO_OF_SECOND:var r=1e3*n;return r!==this._nanos?e._create(this._seconds,r):this;case k.NANO_OF_SECOND:return n!==this._nanos?e._create(this._seconds,n):this;case k.INSTANT_SECONDS:return n!==this._seconds?e._create(n,this._nanos):this}throw new a("Unsupported field: "+t)}return t.adjustInto(this,n)},n.truncatedTo=function(t){if(_(t,"unit"),t===A.NANOS)return this;var e=t.duration();if(e.seconds()>he.SECONDS_PER_DAY)throw new r("Unit is too large to be used for truncation");var n=e.toNanos();if(0!==b.intMod(he.NANOS_PER_DAY,n))throw new r("Unit must divide into a standard day without remainder");var i=b.intMod(this._seconds,he.SECONDS_PER_DAY)*he.NANOS_PER_SECOND+this._nanos,o=b.intDiv(i,n)*n;return this.plusNanos(o-i)},n.plusAmount=function(t){return _(t,"amount"),t.addTo(this)},n.plusAmountUnit=function(t,e){if(_(t,"amountToAdd"),_(e,"unit"),p(e,x),e instanceof A){switch(e){case A.NANOS:return this.plusNanos(t);case A.MICROS:return this._plus(b.intDiv(t,1e6),1e3*b.intMod(t,1e6));case A.MILLIS:return this.plusMillis(t);case A.SECONDS:return this.plusSeconds(t);case A.MINUTES:return this.plusSeconds(b.safeMultiply(t,he.SECONDS_PER_MINUTE));case A.HOURS:return this.plusSeconds(b.safeMultiply(t,he.SECONDS_PER_HOUR));case A.HALF_DAYS:return this.plusSeconds(b.safeMultiply(t,he.SECONDS_PER_DAY/2));case A.DAYS:return this.plusSeconds(b.safeMultiply(t,he.SECONDS_PER_DAY))}throw new a("Unsupported unit: "+e)}return e.addTo(this,t)},n.plusSeconds=function(t){return this._plus(t,0)},n.plusMillis=function(t){return this._plus(b.intDiv(t,1e3),b.intMod(t,1e3)*de)},n.plusNanos=function(t){return this._plus(0,t)},n._plus=function(t,n){if(0===t&&0===n)return this;var i=this._seconds+t;i+=b.intDiv(n,he.NANOS_PER_SECOND);var r=this._nanos+n%he.NANOS_PER_SECOND;return e.ofEpochSecond(i,r)},n.minusAmount=function(t){return _(t,"amount"),t.subtractFrom(this)},n.minusAmountUnit=function(t,e){return this.plusAmountUnit(-1*t,e)},n.minusSeconds=function(t){return this.plusSeconds(-1*t)},n.minusMillis=function(t){return this.plusMillis(-1*t)},n.minusNanos=function(t){return this.plusNanos(-1*t)},n.query=function(t){return _(t,"query"),t===N.precision()?A.NANOS:t===N.localDate()||t===N.localTime()||t===N.chronology()||t===N.zoneId()||t===N.zone()||t===N.offset()?null:t.queryFrom(this)},n.adjustInto=function(t){return _(t,"temporal"),t.with(k.INSTANT_SECONDS,this._seconds).with(k.NANO_OF_SECOND,this._nanos)},n.until=function(t,n){_(t,"endExclusive"),_(n,"unit");var i=e.from(t);if(n instanceof A){switch(n){case A.NANOS:return this._nanosUntil(i);case A.MICROS:return b.intDiv(this._nanosUntil(i),1e3);case A.MILLIS:return b.safeSubtract(i.toEpochMilli(),this.toEpochMilli());case A.SECONDS:return this._secondsUntil(i);case A.MINUTES:return b.intDiv(this._secondsUntil(i),he.SECONDS_PER_MINUTE);case A.HOURS:return b.intDiv(this._secondsUntil(i),he.SECONDS_PER_HOUR);case A.HALF_DAYS:return b.intDiv(this._secondsUntil(i),12*he.SECONDS_PER_HOUR);case A.DAYS:return b.intDiv(this._secondsUntil(i),he.SECONDS_PER_DAY)}throw new a("Unsupported unit: "+n)}return n.between(this,i)},n._nanosUntil=function(t){var e=b.safeSubtract(t.epochSecond(),this.epochSecond()),n=b.safeMultiply(e,he.NANOS_PER_SECOND);return b.safeAdd(n,t.nano()-this.nano())},n._secondsUntil=function(t){var e=b.safeSubtract(t.epochSecond(),this.epochSecond()),n=t.nano()-this.nano();return e>0&&n<0?e--:e<0&&n>0&&e++,e},n.atOffset=function(t){return oe.ofInstant(this,t)},n.atZone=function(t){return re.ofInstant(this,t)},n.toEpochMilli=function(){return b.safeMultiply(this._seconds,1e3)+b.intDiv(this._nanos,de)},n.compareTo=function(t){_(t,"otherInstant"),p(t,e,"otherInstant");var n=b.compareNumbers(this._seconds,t._seconds);return 0!==n?n:this._nanos-t._nanos},n.isAfter=function(t){return this.compareTo(t)>0},n.isBefore=function(t){return this.compareTo(t)<0},n.equals=function(t){return this===t||t instanceof e&&this.epochSecond()===t.epochSecond()&&this.nano()===t.nano()},n.hashCode=function(){return b.hashCode(this._seconds,this._nanos)},n.toString=function(){return Vt.ISO_INSTANT.format(this)},n.toJSON=function(){return this.toString()},e}(W),_e=function(){function t(){}t.systemUTC=function(){return new pe(Q.UTC)},t.systemDefaultZone=function(){return new pe(X.systemDefault())},t.system=function(t){return new pe(t)},t.fixed=function(t,e){return new me(t,e)},t.offset=function(t,e){return new ve(t,e)};var e=t.prototype;return e.millis=function(){m("Clock.millis")},e.instant=function(){m("Clock.instant")},e.zone=function(){m("Clock.zone")},e.withZone=function(){m("Clock.withZone")},t}(),pe=function(t){function e(e){var n;return _(e,"zone"),(n=t.call(this)||this)._zone=e,n}h(e,t);var n=e.prototype;return n.zone=function(){return this._zone},n.millis=function(){return(new Date).getTime()},n.instant=function(){return fe.ofEpochMilli(this.millis())},n.equals=function(t){return t instanceof e&&this._zone.equals(t._zone)},n.withZone=function(t){return t.equals(this._zone)?this:new e(t)},n.toString=function(){return"SystemClock["+this._zone.toString()+"]"},e}(_e),me=function(t){function e(e,n){var i;return(i=t.call(this)||this)._instant=e,i._zoneId=n,i}h(e,t);var n=e.prototype;return n.instant=function(){return this._instant},n.millis=function(){return this._instant.toEpochMilli()},n.zone=function(){return this._zoneId},n.toString=function(){return"FixedClock[]"},n.equals=function(t){return t instanceof e&&this._instant.equals(t._instant)&&this._zoneId.equals(t._zoneId)},n.withZone=function(t){return t.equals(this._zoneId)?this:new e(this._instant,t)},e}(_e),ve=function(t){function e(e,n){var i;return(i=t.call(this)||this)._baseClock=e,i._offset=n,i}h(e,t);var n=e.prototype;return n.zone=function(){return this._baseClock.zone()},n.withZone=function(t){return t.equals(this._baseClock.zone())?this:new e(this._baseClock.withZone(t),this._offset)},n.millis=function(){return this._baseClock.millis()+this._offset.toMillis()},n.instant=function(){return this._baseClock.instant().plus(this._offset)},n.equals=function(t){return t instanceof e&&this._baseClock.equals(t._baseClock)&&this._offset.equals(t._offset)},n.toString=function(){return"OffsetClock["+this._baseClock+","+this._offset+"]"},e}(_e),ge=function(){function t(t,e,n){if(_(t,"transition"),_(e,"offsetBefore"),_(n,"offsetAfter"),e.equals(n))throw new l("Offsets must not be equal");if(0!==t.nano())throw new l("Nano-of-second must be zero");this._transition=t instanceof ce?t:ce.ofEpochSecond(t,0,e),this._offsetBefore=e,this._offsetAfter=n}t.of=function(e,n,i){return new t(e,n,i)};var e=t.prototype;return e.instant=function(){return this._transition.toInstant(this._offsetBefore)},e.toEpochSecond=function(){return this._transition.toEpochSecond(this._offsetBefore)},e.dateTimeBefore=function(){return this._transition},e.dateTimeAfter=function(){return this._transition.plusSeconds(this.durationSeconds())},e.offsetBefore=function(){return this._offsetBefore},e.offsetAfter=function(){return this._offsetAfter},e.duration=function(){return C.ofSeconds(this.durationSeconds())},e.durationSeconds=function(){return this._offsetAfter.totalSeconds()-this._offsetBefore.totalSeconds()},e.isGap=function(){return this._offsetAfter.totalSeconds()>this._offsetBefore.totalSeconds()},e.isOverlap=function(){return this._offsetAfter.totalSeconds()>>16},e.toString=function(){return"Transition["+(this.isGap()?"Gap":"Overlap")+" at "+this._transition.toString()+this._offsetBefore.toString()+" to "+this._offsetAfter+"]"},t}(),ye=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.isFixedOffset=function(){return!1},n.offsetOfInstant=function(t){var e=new Date(t.toEpochMilli()).getTimezoneOffset();return Q.ofTotalMinutes(-1*e)},n.offsetOfEpochMilli=function(t){var e=new Date(t).getTimezoneOffset();return Q.ofTotalMinutes(-1*e)},n.offsetOfLocalDateTime=function(t){var e=1e3*t.toEpochSecond(Q.UTC),n=new Date(e).getTimezoneOffset(),i=new Date(e+6e4*n).getTimezoneOffset();return Q.ofTotalMinutes(-1*i)},n.validOffsets=function(t){return[this.offsetOfLocalDateTime(t)]},n.transition=function(){return null},n.standardOffset=function(t){return this.offsetOfInstant(t)},n.daylightSavings=function(){this._throwNotSupported()},n.isDaylightSavings=function(){this._throwNotSupported()},n.isValidOffset=function(t,e){return this.offsetOfLocalDateTime(t).equals(e)},n.nextTransition=function(){this._throwNotSupported()},n.previousTransition=function(){this._throwNotSupported()},n.transitions=function(){this._throwNotSupported()},n.transitionRules=function(){this._throwNotSupported()},n._throwNotSupported=function(){throw new r("not supported operation")},n.equals=function(t){return this===t||t instanceof e},n.toString=function(){return"SYSTEM"},e}(J),be=function(t){function e(){var e;return(e=t.call(this)||this)._rules=new ye,e}h(e,t);var n=e.prototype;return n.rules=function(){return this._rules},n.equals=function(t){return this===t},n.id=function(){return"SYSTEM"},e}(X),we=function(){function t(){}return t.systemDefault=function(){return Ee},t.getAvailableZoneIds=function(){return $t.getAvailableZoneIds()},t.of=function(t){if(_(t,"zoneId"),"Z"===t)return Q.UTC;if(1===t.length)throw new r("Invalid zone: "+t);if(V.startsWith(t,"+")||V.startsWith(t,"-"))return Q.of(t);if("UTC"===t||"GMT"===t||"GMT0"===t||"UT"===t)return new Rt(t,Q.UTC.rules());if(V.startsWith(t,"UTC+")||V.startsWith(t,"GMT+")||V.startsWith(t,"UTC-")||V.startsWith(t,"GMT-")){var e=Q.of(t.substring(3));return 0===e.totalSeconds()?new Rt(t.substring(0,3),e.rules()):new Rt(t.substring(0,3)+e.id(),e.rules())}if(V.startsWith(t,"UT+")||V.startsWith(t,"UT-")){var n=Q.of(t.substring(2));return 0===n.totalSeconds()?new Rt("UT",n.rules()):new Rt("UT"+n.id(),n.rules())}return"SYSTEM"===t?X.systemDefault():Rt.ofId(t)},t.ofOffset=function(t,e){if(_(t,"prefix"),_(e,"offset"),0===t.length)return e;if("GMT"===t||"UTC"===t||"UT"===t)return 0===e.totalSeconds()?new Rt(t,e.rules()):new Rt(t+e.id(),e.rules());throw new l("Invalid prefix, must be GMT, UTC or UT: "+t)},t.from=function(t){_(t,"temporal");var e=t.query(N.zone());if(null==e)throw new r("Unable to obtain ZoneId from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return e},t}(),Ee=null,xe=!1;xe||(xe=!0,T.MIN_VALUE=-999999,T.MAX_VALUE=999999,C.ZERO=new C(0,0),A.NANOS=new A("Nanos",C.ofNanos(1)),A.MICROS=new A("Micros",C.ofNanos(1e3)),A.MILLIS=new A("Millis",C.ofNanos(1e6)),A.SECONDS=new A("Seconds",C.ofSeconds(1)),A.MINUTES=new A("Minutes",C.ofSeconds(60)),A.HOURS=new A("Hours",C.ofSeconds(3600)),A.HALF_DAYS=new A("HalfDays",C.ofSeconds(43200)),A.DAYS=new A("Days",C.ofSeconds(86400)),A.WEEKS=new A("Weeks",C.ofSeconds(604800)),A.MONTHS=new A("Months",C.ofSeconds(2629746)),A.YEARS=new A("Years",C.ofSeconds(31556952)),A.DECADES=new A("Decades",C.ofSeconds(315569520)),A.CENTURIES=new A("Centuries",C.ofSeconds(3155695200)),A.MILLENNIA=new A("Millennia",C.ofSeconds(31556952e3)),A.ERAS=new A("Eras",C.ofSeconds(31556952*(T.MAX_VALUE+1))),A.FOREVER=new A("Forever",C.ofSeconds(b.MAX_SAFE_INTEGER,999999999)),k.NANO_OF_SECOND=new k("NanoOfSecond",A.NANOS,A.SECONDS,z.of(0,999999999)),k.NANO_OF_DAY=new k("NanoOfDay",A.NANOS,A.DAYS,z.of(0,86399999999999)),k.MICRO_OF_SECOND=new k("MicroOfSecond",A.MICROS,A.SECONDS,z.of(0,999999)),k.MICRO_OF_DAY=new k("MicroOfDay",A.MICROS,A.DAYS,z.of(0,86399999999)),k.MILLI_OF_SECOND=new k("MilliOfSecond",A.MILLIS,A.SECONDS,z.of(0,999)),k.MILLI_OF_DAY=new k("MilliOfDay",A.MILLIS,A.DAYS,z.of(0,86399999)),k.SECOND_OF_MINUTE=new k("SecondOfMinute",A.SECONDS,A.MINUTES,z.of(0,59)),k.SECOND_OF_DAY=new k("SecondOfDay",A.SECONDS,A.DAYS,z.of(0,86399)),k.MINUTE_OF_HOUR=new k("MinuteOfHour",A.MINUTES,A.HOURS,z.of(0,59)),k.MINUTE_OF_DAY=new k("MinuteOfDay",A.MINUTES,A.DAYS,z.of(0,1439)),k.HOUR_OF_AMPM=new k("HourOfAmPm",A.HOURS,A.HALF_DAYS,z.of(0,11)),k.CLOCK_HOUR_OF_AMPM=new k("ClockHourOfAmPm",A.HOURS,A.HALF_DAYS,z.of(1,12)),k.HOUR_OF_DAY=new k("HourOfDay",A.HOURS,A.DAYS,z.of(0,23)),k.CLOCK_HOUR_OF_DAY=new k("ClockHourOfDay",A.HOURS,A.DAYS,z.of(1,24)),k.AMPM_OF_DAY=new k("AmPmOfDay",A.HALF_DAYS,A.DAYS,z.of(0,1)),k.DAY_OF_WEEK=new k("DayOfWeek",A.DAYS,A.WEEKS,z.of(1,7)),k.ALIGNED_DAY_OF_WEEK_IN_MONTH=new k("AlignedDayOfWeekInMonth",A.DAYS,A.WEEKS,z.of(1,7)),k.ALIGNED_DAY_OF_WEEK_IN_YEAR=new k("AlignedDayOfWeekInYear",A.DAYS,A.WEEKS,z.of(1,7)),k.DAY_OF_MONTH=new k("DayOfMonth",A.DAYS,A.MONTHS,z.of(1,28,31),"day"),k.DAY_OF_YEAR=new k("DayOfYear",A.DAYS,A.YEARS,z.of(1,365,366)),k.EPOCH_DAY=new k("EpochDay",A.DAYS,A.FOREVER,z.of(Math.floor(365.25*T.MIN_VALUE),Math.floor(365.25*T.MAX_VALUE))),k.ALIGNED_WEEK_OF_MONTH=new k("AlignedWeekOfMonth",A.WEEKS,A.MONTHS,z.of(1,4,5)),k.ALIGNED_WEEK_OF_YEAR=new k("AlignedWeekOfYear",A.WEEKS,A.YEARS,z.of(1,53)),k.MONTH_OF_YEAR=new k("MonthOfYear",A.MONTHS,A.YEARS,z.of(1,12),"month"),k.PROLEPTIC_MONTH=new k("ProlepticMonth",A.MONTHS,A.FOREVER,z.of(12*T.MIN_VALUE,12*T.MAX_VALUE+11)),k.YEAR_OF_ERA=new k("YearOfEra",A.YEARS,A.FOREVER,z.of(1,T.MAX_VALUE,T.MAX_VALUE+1)),k.YEAR=new k("Year",A.YEARS,A.FOREVER,z.of(T.MIN_VALUE,T.MAX_VALUE),"year"),k.ERA=new k("Era",A.ERAS,A.FOREVER,z.of(0,1)),k.INSTANT_SECONDS=new k("InstantSeconds",A.SECONDS,A.FOREVER,z.of(y,g)),k.OFFSET_SECONDS=new k("OffsetSeconds",A.SECONDS,A.FOREVER,z.of(-64800,64800)),function(){he.HOURS=[];for(var t=0;t<24;t++)he.of(t,0,0,0);he.MIN=he.HOURS[0],he.MAX=new he(23,59,59,999999999),he.MIDNIGHT=he.HOURS[0],he.NOON=he.HOURS[12],he.FROM=L("LocalTime.FROM",(function(t){return he.from(t)}))}(),dt=new st,ft=new lt,_t=new ut,pt=new ct,mt=new ht("WeekBasedYears",C.ofSeconds(31556952)),vt=new ht("QuarterYears",C.ofSeconds(7889238)),rt.DAY_OF_QUARTER=dt,rt.QUARTER_OF_YEAR=ft,rt.WEEK_OF_WEEK_BASED_YEAR=_t,rt.WEEK_BASED_YEAR=pt,rt.WEEK_BASED_YEARS=mt,rt.QUARTER_YEARS=vt,le.prototype.isoWeekOfWeekyear=function(){return this.get(rt.WEEK_OF_WEEK_BASED_YEAR)},le.prototype.isoWeekyear=function(){return this.get(rt.WEEK_BASED_YEAR)},N.ZONE_ID=L("ZONE_ID",(function(t){return t.query(N.ZONE_ID)})),N.CHRONO=L("CHRONO",(function(t){return t.query(N.CHRONO)})),N.PRECISION=L("PRECISION",(function(t){return t.query(N.PRECISION)})),N.OFFSET=L("OFFSET",(function(t){return t.isSupported(k.OFFSET_SECONDS)?Q.ofTotalSeconds(t.get(k.OFFSET_SECONDS)):null})),N.ZONE=L("ZONE",(function(t){var e=t.query(N.ZONE_ID);return null!=e?e:t.query(N.OFFSET)})),N.LOCAL_DATE=L("LOCAL_DATE",(function(t){return t.isSupported(k.EPOCH_DAY)?le.ofEpochDay(t.getLong(k.EPOCH_DAY)):null})),N.LOCAL_TIME=L("LOCAL_TIME",(function(t){return t.isSupported(k.NANO_OF_DAY)?he.ofNanoOfDay(t.getLong(k.NANO_OF_DAY)):null})),R.MONDAY=new R(0,"MONDAY"),R.TUESDAY=new R(1,"TUESDAY"),R.WEDNESDAY=new R(2,"WEDNESDAY"),R.THURSDAY=new R(3,"THURSDAY"),R.FRIDAY=new R(4,"FRIDAY"),R.SATURDAY=new R(5,"SATURDAY"),R.SUNDAY=new R(6,"SUNDAY"),R.FROM=L("DayOfWeek.FROM",(function(t){return R.from(t)})),M=[R.MONDAY,R.TUESDAY,R.WEDNESDAY,R.THURSDAY,R.FRIDAY,R.SATURDAY,R.SUNDAY],fe.MIN_SECONDS=-31619119219200,fe.MAX_SECONDS=31494816403199,fe.EPOCH=new fe(0,0),fe.MIN=fe.ofEpochSecond(fe.MIN_SECONDS,0),fe.MAX=fe.ofEpochSecond(fe.MAX_SECONDS,999999999),fe.FROM=L("Instant.FROM",(function(t){return fe.from(t)})),le.MIN=le.of(T.MIN_VALUE,1,1),le.MAX=le.of(T.MAX_VALUE,12,31),le.EPOCH_0=le.ofEpochDay(0),le.FROM=L("LocalDate.FROM",(function(t){return le.from(t)})),ce.MIN=ce.of(le.MIN,he.MIN),ce.MAX=ce.of(le.MAX,he.MAX),ce.FROM=L("LocalDateTime.FROM",(function(t){return ce.from(t)})),Zt.MIN_VALUE=T.MIN_VALUE,Zt.MAX_VALUE=T.MAX_VALUE,Lt=(new Bt).appendValue(k.YEAR,4,10,yt.EXCEEDS_PAD).toFormatter(),Zt.FROM=L("Year.FROM",(function(t){return Zt.from(t)})),P.JANUARY=new P(1,"JANUARY"),P.FEBRUARY=new P(2,"FEBRUARY"),P.MARCH=new P(3,"MARCH"),P.APRIL=new P(4,"APRIL"),P.MAY=new P(5,"MAY"),P.JUNE=new P(6,"JUNE"),P.JULY=new P(7,"JULY"),P.AUGUST=new P(8,"AUGUST"),P.SEPTEMBER=new P(9,"SEPTEMBER"),P.OCTOBER=new P(10,"OCTOBER"),P.NOVEMBER=new P(11,"NOVEMBER"),P.DECEMBER=new P(12,"DECEMBER"),$=[P.JANUARY,P.FEBRUARY,P.MARCH,P.APRIL,P.MAY,P.JUNE,P.JULY,P.AUGUST,P.SEPTEMBER,P.OCTOBER,P.NOVEMBER,P.DECEMBER],Ot=(new Bt).appendValue(k.YEAR,4,10,yt.EXCEEDS_PAD).appendLiteral("-").appendValue(k.MONTH_OF_YEAR,2).toFormatter(),Jt.FROM=L("YearMonth.FROM",(function(t){return Jt.from(t)})),It=(new Bt).appendLiteral("--").appendValue(k.MONTH_OF_YEAR,2).appendLiteral("-").appendValue(k.DAY_OF_MONTH,2).toFormatter(),Xt.FROM=L("MonthDay.FROM",(function(t){return Xt.from(t)})),j.ofDays(0),Q.MAX_SECONDS=18*he.SECONDS_PER_HOUR,Q.UTC=Q.ofTotalSeconds(0),Q.MIN=Q.ofTotalSeconds(-Q.MAX_SECONDS),Q.MAX=Q.ofTotalSeconds(Q.MAX_SECONDS),re.FROM=L("ZonedDateTime.FROM",(function(t){return re.from(t)})),Ee=new be,X.systemDefault=we.systemDefault,X.getAvailableZoneIds=we.getAvailableZoneIds,X.of=we.of,X.ofOffset=we.ofOffset,X.from=we.from,Q.from=we.from,X.SYSTEM=Ee,X.UTC=Q.ofTotalSeconds(0),ee.INSTANCE=new ee("IsoChronology"),Vt.ISO_LOCAL_DATE=(new Bt).appendValue(k.YEAR,4,10,yt.EXCEEDS_PAD).appendLiteral("-").appendValue(k.MONTH_OF_YEAR,2).appendLiteral("-").appendValue(k.DAY_OF_MONTH,2).toFormatter(B.STRICT).withChronology(ee.INSTANCE),Vt.ISO_LOCAL_TIME=(new Bt).appendValue(k.HOUR_OF_DAY,2).appendLiteral(":").appendValue(k.MINUTE_OF_HOUR,2).optionalStart().appendLiteral(":").appendValue(k.SECOND_OF_MINUTE,2).optionalStart().appendFraction(k.NANO_OF_SECOND,0,9,!0).toFormatter(B.STRICT),Vt.ISO_LOCAL_DATE_TIME=(new Bt).parseCaseInsensitive().append(Vt.ISO_LOCAL_DATE).appendLiteral("T").append(Vt.ISO_LOCAL_TIME).toFormatter(B.STRICT).withChronology(ee.INSTANCE),Vt.ISO_INSTANT=(new Bt).parseCaseInsensitive().appendInstant().toFormatter(B.STRICT),Vt.ISO_OFFSET_DATE_TIME=(new Bt).parseCaseInsensitive().append(Vt.ISO_LOCAL_DATE_TIME).appendOffsetId().toFormatter(B.STRICT).withChronology(ee.INSTANCE),Vt.ISO_ZONED_DATE_TIME=(new Bt).append(Vt.ISO_OFFSET_DATE_TIME).optionalStart().appendLiteral("[").parseCaseSensitive().appendZoneId().appendLiteral("]").toFormatter(B.STRICT).withChronology(ee.INSTANCE),Vt.BASIC_ISO_DATE=(new Bt).appendValue(k.YEAR,4,10,yt.EXCEEDS_PAD).appendValue(k.MONTH_OF_YEAR,2).appendValue(k.DAY_OF_MONTH,2).toFormatter(B.STRICT).withChronology(ee.INSTANCE),Vt.ISO_OFFSET_DATE=(new Bt).parseCaseInsensitive().append(Vt.ISO_LOCAL_DATE).appendOffsetId().toFormatter(B.STRICT).withChronology(ee.INSTANCE),Vt.ISO_OFFSET_TIME=(new Bt).parseCaseInsensitive().append(Vt.ISO_LOCAL_TIME).appendOffsetId().toFormatter(B.STRICT).withChronology(ee.INSTANCE),Vt.ISO_ORDINAL_DATE=(new Bt).appendValue(k.YEAR,4,10,yt.EXCEEDS_PAD).appendLiteral("-").appendValue(k.DAY_OF_YEAR).toFormatter(B.STRICT),Vt.ISO_WEEK_DATE=(new Bt).appendValue(k.YEAR,4,10,yt.EXCEEDS_PAD).appendLiteral("-W").appendValue(k.ALIGNED_WEEK_OF_YEAR).appendLiteral("-").appendValue(k.DAY_OF_WEEK).toFormatter(B.STRICT),Vt.PARSED_EXCESS_DAYS=L("PARSED_EXCESS_DAYS",(function(t){return t instanceof tt?t.excessDays:j.ZERO})),Vt.PARSED_LEAP_SECOND=L("PARSED_LEAP_SECOND",(function(t){return t instanceof tt&&t.leapSecond})),At.BASE_DATE=le.of(2e3,1,1),Bt.CompositePrinterParser=Et,Bt.PadPrinterParserDecorator=kt,Bt.SettingsParser=Nt,Bt.CharLiteralPrinterParser=Mt,Bt.StringLiteralPrinterParser=Mt,Bt.CharLiteralPrinterParser=wt,Bt.NumberPrinterParser=Tt,Bt.ReducedPrinterParser=At,Bt.FractionPrinterParser=xt,Bt.OffsetIdPrinterParser=zt,Bt.ZoneIdPrinterParser=Pt,oe.MIN=ce.MIN.atOffset(Q.MAX),oe.MAX=ce.MAX.atOffset(Q.MIN),oe.FROM=L("OffsetDateTime.FROM",(function(t){return oe.from(t)})),ne.MIN=ne.ofNumbers(0,0,0,0,Q.MAX),ne.MAX=ne.ofNumbers(23,59,59,999999999,Q.MIN),ne.FROM=L("OffsetTime.FROM",(function(t){return ne.from(t)})));var Ce=function(){function t(t,e){var n;if(t instanceof le)e=null==e?X.systemDefault():e,n=t.atStartOfDay(e);else if(t instanceof ce)e=null==e?X.systemDefault():e,n=t.atZone(e);else{if(!(t instanceof re))throw new l("unsupported instance for convert operation:"+t);n=null==e?t:t.withZoneSameInstant(e)}this.instant=n.toInstant()}var e=t.prototype;return e.toDate=function(){return new Date(this.instant.toEpochMilli())},e.toEpochMilli=function(){return this.instant.toEpochMilli()},t}();function Te(t,e){return new Ce(t,e)}var Ae=function(t){function e(e,n){var i;return void 0===n&&(n=X.systemDefault()),(i=t.call(this)||this)._zone=n,e instanceof Date?(i._epochMilli=e.getTime(),d(i)):"function"==typeof e.toDate&&e.toDate()instanceof Date?(i._epochMilli=e.toDate().getTime(),d(i)):(f(!1,"date must be either a javascript date or a moment"),i)}h(e,t);var n=e.prototype;return n.query=function(e){return _(e,"query"),e===N.localDate()?le.ofInstant(fe.ofEpochMilli(this._epochMilli),this._zone):e===N.localTime()?he.ofInstant(fe.ofEpochMilli(this._epochMilli),this._zone):e===N.zone()?this._zone:t.prototype.query.call(this,e)},n.get=function(t){return this.getLong(t)},n.getLong=function(t){if(_(t,"field"),t instanceof k){switch(t){case k.NANO_OF_SECOND:return 1e6*b.floorMod(this._epochMilli,1e3);case k.INSTANT_SECONDS:return b.floorDiv(this._epochMilli,1e3)}throw new a("Unsupported field: "+t)}return t.getFrom(this)},n.isSupported=function(t){return t===k.INSTANT_SECONDS||t===k.NANO_OF_SECOND},e}(I);function Se(t,e){return new Ae(t,e)}var ze,ke,Ne={assert:v,DateTimeBuilder:tt,DateTimeParseContext:et,DateTimePrintContext:it,MathUtil:b,StringUtil:V,StringBuilder:Ht},Ie={_:Ne,convert:Te,nativeJs:Se,ArithmeticException:s,DateTimeException:r,DateTimeParseException:o,IllegalArgumentException:l,IllegalStateException:u,UnsupportedTemporalTypeException:a,NullPointerException:c,Clock:_e,DayOfWeek:R,Duration:C,Instant:fe,LocalDate:le,LocalTime:he,LocalDateTime:ce,OffsetTime:ne,OffsetDateTime:oe,Month:P,MonthDay:Xt,Period:j,Year:Zt,YearConstants:T,YearMonth:Jt,ZonedDateTime:re,ZoneOffset:Q,ZoneId:X,ZoneRegion:Rt,ZoneOffsetTransition:ge,ZoneRules:J,ZoneRulesProvider:$t,ChronoLocalDate:H,ChronoLocalDateTime:ue,ChronoZonedDateTime:ie,IsoChronology:ee,ChronoField:k,ChronoUnit:A,IsoFields:rt,Temporal:W,TemporalAccessor:I,TemporalAdjuster:F,TemporalAdjusters:Yt,TemporalAmount:E,TemporalField:S,TemporalQueries:N,TemporalQuery:O,TemporalUnit:x,ValueRange:z,DateTimeFormatter:Vt,DateTimeFormatterBuilder:Bt,DecimalStyle:gt,ResolverStyle:B,SignStyle:yt,TextStyle:bt},Oe=(ze=Ie,ke=[],function(t){return~ke.indexOf(t)||(t(ze),ke.push(t)),ze});Ie.use=Oe},13257:function(t,e,n){var i;i=function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="./src/js-joda-timezone.js")}({"./data/packed/latest.json":function(t){t.exports=JSON.parse('{"version":"2020a","zones":["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Accra|LMT GMT +0020|.Q 0 -k|012121212121212121212121212121212121212121212121|-26BbX.8 6tzX.8 MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE|41e5","Africa/Nairobi|LMT EAT +0230 +0245|-2r.g -30 -2u -2J|01231|-1F3Cr.g 3Dzr.g okMu MFXJ|47e5","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT WAT|-d.A -10|01|-22y0d.A|17e6","Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|32e5","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|20e4","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|01212121212121212121212121212121213|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5","Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Sao_Tome|LMT GMT WAT|A.J 0 -10|0121|-2le00 4i6N0 2q00","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|+0130 SAST SAST CAT WAT|-1u -20 -30 -20 -10|01213434343434343434343434343434343434343434343434343|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Port_of_Spain|LMT AST|46.4 40|01|-2kNvR.U|43e3","America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0","America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0","America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0","America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0","America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0","America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0","America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0","America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0","America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0","America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0","America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0","America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0","America/Curacao|LMT -0430 AST|4z.L 4u 40|012|-2kV7o.d 28KLS.d|15e4","America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Atikokan|CST CDT CWT CPT EST|60 50 50 50 50|0101234|-25TQ0 1in0 Rnb0 3je0 8x30 iw0|28e2","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Barbados|LMT BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST -0530 CDT|5Q.M 60 5u 50|01212121212121212121212121212121212121212121212121213131|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1f0Mu qn0 lxB0 mn0|57e3","America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0|11e2","America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Creston|MST PST|70 80|010|-29DR0 43B0|53e2","America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4","America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Dawson|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|01010230405656565656565656565656565656565656565656565656565656565656565656565656565656565657|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|13e2","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|0123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 JxX1 SMX 1cN0 1cL0 aW10 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|0121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 XQp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|KMT EST EDT AST|57.a 50 40 40|01212121212121212121212121212121212121212121212121212121212121212121212121232121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5","America/Guyana|LMT -0345 -03 -04|3Q.E 3J 30 40|0123|-2dvU7.k 2r6LQ.k Bxbf|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010401054541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 8wn0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|KMT EST EDT|57.a 50 40|0121212121212121212121|-2l1uQ.O 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 1nX1 e0X 9vd0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/La_Paz|CMT BST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5","America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5","America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|01203030303030303030303030303030304545450454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5","America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/Nassau|LMT EST EDT|59.u 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2kNuO.u 26XdO.u 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|24e4","America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842","America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5","America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6","America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|01010230405656565656565656565656565656565656565656565656565656565656565656565656565656565657|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|23e3","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","Antarctica/Casey|-00 +08 +11|0 -80 -b0|01212121|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Antarctica/DumontDUrville|-00 +10|0 -a0|0101|-U0o0 cfq0 bFm0|80","Antarctica/Macquarie|AEST AEDT -00 +11|-a0 -b0 0 -b0|0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101013|-29E80 19X0 4SL0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Antarctica/Syowa|-00 +03|0 -30|01|-vs00|20","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25","Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4","Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0","Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4","Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST CDT|-80 -90|01010101010101010101010101010|-23uw0 18n0 OjB0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4","Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|0101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0 Wo0 1rc0 11c0 1oo0 11c0 1oo0 11c0 1oo0 11c0 1rc0|25e4","Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|IMT EET EEST +03 +04|-1U.U -20 -30 -30 -40|0121212121212121212121212121212121212121212121234312121212121212121212121212121212121212121212121212121212121212123|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|012121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyMk.E 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 3LB0 Em0 or0 1cn0 1dB0 16n0 10O0 1ja0 1tC0 14o0 1cM0 1a00 11A0 1Na0 An0 1MP0 AJ0 1Kp0 LC0 1oo0 Wl0 EQN0 Db0 1fB0 Rb0 bXd0 gM0 8Q00 IM0 1wM0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5","Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4","Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|PST PDT JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5","Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4","Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -a0 -9u|012343434343151515151515134343|-2um8r.Q 97XV.Q 1m1zu 6CM0 Fz0 1kN0 14n0 1kN0 14L0 1zd0 On0 69B0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJJ0 Rc0 1lc0 14o0 1zc0 Oo0 1zc0 Oo0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|LMT AST ADT|4j.i 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1BnRE.G 1LTbE.G 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldX0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4","Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4","Atlantic/South_Georgia|-02|20|0||30","Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Currie|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|746","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293kI xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293jX xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","EST|EST|50|0|","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Etc/GMT-0|GMT|0|0|","Etc/GMT-1|+01|-10|0|","Pacific/Port_Moresby|+10|-a0|0||25e4","Etc/GMT-11|+11|-b0|0|","Pacific/Tarawa|+12|-c0|0||29e3","Etc/GMT-13|+13|-d0|0|","Etc/GMT-14|+14|-e0|0|","Etc/GMT-2|+02|-20|0|","Etc/GMT-3|+03|-30|0|","Etc/GMT-4|+04|-40|0|","Etc/GMT-5|+05|-50|0|","Etc/GMT-6|+06|-60|0|","Indian/Christmas|+07|-70|0||21e2","Etc/GMT-8|+08|-80|0|","Pacific/Palau|+09|-90|0||21e3","Etc/GMT+1|-01|10|0|","Etc/GMT+10|-10|a0|0|","Etc/GMT+11|-11|b0|0|","Etc/GMT+12|-12|c0|0|","Etc/GMT+3|-03|30|0|","Etc/GMT+4|-04|40|0|","Etc/GMT+5|-05|50|0|","Etc/GMT+6|-06|60|0|","Etc/GMT+7|-07|70|0|","Etc/GMT+8|-08|80|0|","Etc/GMT+9|-09|90|0|","Etc/UCT|UTC|0|0|","Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5","Europe/Prague|CET CEST GMT|-10 -20 0|01010101010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1ip0 17b0 1op0 1tb0 Q2m0 3Ne0 WM0 1fA0 1cM0 1cM0 1oJ0 1dc0 1030 1fA0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1iM0 1fA0 8Ha0 Rb0 1wN0 Rb0 1BB0 Lz0 1C20 LB0 SNX0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|CET CEST EET EEST MSK MSD +03|-10 -20 -20 -30 -30 -40 -30|01010101010101232454545454545454543232323232323232323232323232323232323232323262|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 390 7A0 1en0 12N0 1pbb0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3","Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco8.l cNb8.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0|10e5","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4","HST|HST|a0|0|","Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Cocos|+0630|-6u|0||596","Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130","Indian/Mahe|LMT +04|-3F.M -40|01|-2yO3F.M|79e3","Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4","Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4","Pacific/Kwajalein|+11 +10 +09 -12 +12|-b0 -a0 -90 c0 -c0|012034|-1kln0 akp0 6Up0 12ry0 Wan0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","MST|MST|70|0|","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545454545454545454545454545454545454|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|37e3","Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4","Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3","Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|0121212121212121212121|-2l9nd.g 2Szcd.g 1cL0 1oN0 10L0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-12 -11 +13|c0 b0 -d0|012|nIc0 B7X0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|0121212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00|88e4","Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3","Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|GST +09 GDT ChST|-a0 -90 -b0 -a0|01020202020202020203|-18jK0 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4","Pacific/Honolulu|HST HDT HWT HPT HST|au 9u 9u 9u a0|0102304|-1thLu 8x0 lef0 8wWu iAu 46p0|37e4","Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2","Pacific/Kosrae|+11 +09 +10 +12|-b0 -90 -a0 -c0|01021030|-2ewz0 axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2","Pacific/Majuro|+11 +09 +10 +12|-b0 -90 -a0 -c0|0102103|-2ewz0 axC0 HBy0 akp0 6RB0 12um0|28e3","Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2","Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3","Pacific/Niue|-1120 -1130 -11|bk bu b0|012|-KfME 17y0a|12e2","Pacific/Norfolk|+1112 +1130 +1230 +11 +12|-bc -bu -cu -b0 -c0|012134343434343434343434343434343434343434|-Kgbc W01G Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|25e4","Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56","Pacific/Pohnpei|+11 +09 +10|-b0 -90 -a0|010210|-2ewz0 axC0 HBy0 akp0 axd0|34e3","Pacific/Rarotonga|-1030 -0930 -10|au 9u a0|012121212121212121212121212|lyWu IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4","Pacific/Tongatapu|+1220 +13 +14|-ck -d0 -e0|0121212121|-1aB0k 2n5dk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00"],"links":["Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Atikokan|America/Coral_Harbour","America/Chicago|US/Central","America/Curacao|America/Aruba","America/Curacao|America/Kralendijk","America/Curacao|America/Lower_Princes","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Godthab|America/Nuuk","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Los_Angeles|US/Pacific-New","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Cayman","America/Phoenix|US/Arizona","America/Port_of_Spain|America/Anguilla","America/Port_of_Spain|America/Antigua","America/Port_of_Spain|America/Dominica","America/Port_of_Spain|America/Grenada","America/Port_of_Spain|America/Guadeloupe","America/Port_of_Spain|America/Marigot","America/Port_of_Spain|America/Montserrat","America/Port_of_Spain|America/St_Barthelemy","America/Port_of_Spain|America/St_Kitts","America/Port_of_Spain|America/St_Lucia","America/Port_of_Spain|America/St_Thomas","America/Port_of_Spain|America/St_Vincent","America/Port_of_Spain|America/Tortola","America/Port_of_Spain|America/Virgin","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Singapore","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Atlantic/Reykjavik|Iceland","Atlantic/South_Georgia|Etc/GMT+2","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT-0|Etc/GMT","Etc/GMT-0|Etc/GMT+0","Etc/GMT-0|Etc/GMT0","Etc/GMT-0|Etc/Greenwich","Etc/GMT-0|GMT","Etc/GMT-0|GMT+0","Etc/GMT-0|GMT-0","Etc/GMT-0|GMT0","Etc/GMT-0|Greenwich","Etc/UCT|Etc/UTC","Etc/UCT|Etc/Universal","Etc/UCT|Etc/Zulu","Etc/UCT|UCT","Etc/UCT|UTC","Etc/UCT|Universal","Etc/UCT|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Oslo|Arctic/Longyearbyen","Europe/Oslo|Atlantic/Jan_Mayen","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Indian/Christmas|Etc/GMT-7","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Easter|Chile/EasterIsland","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Palau|Etc/GMT-9","Pacific/Pohnpei|Pacific/Ponape","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Tarawa|Etc/GMT-12","Pacific/Tarawa|Pacific/Funafuti","Pacific/Tarawa|Pacific/Wake","Pacific/Tarawa|Pacific/Wallis"]}')},"./src/MomentZoneRules.js":function(t,e,n){"use strict";n.r(e),n.d(e,"MomentZoneRules",(function(){return r}));var i=n("@js-joda/core"),r=function(t){var e,n;function r(e){var n;return(n=t.call(this)||this)._tzdbInfo=e,n._ldtUntils=new o(n._tzdbInfo.untils,n._tzdbInfo.offsets),n}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var l=r.prototype;return l.isFixedOffset=function(){return 1===this._tzdbInfo.offsets.length},l.offsetOfInstant=function(t){var e=t.toEpochMilli();return this.offsetOfEpochMilli(e)},l.offsetOfEpochMilli=function(t){var e=function(t,e){for(var n,i=t.length-1,r=-1;i-r>1;)t[n=i+r>>1]<=e?r=n:i=n;return i}(this._tzdbInfo.untils,t);return i.ZoneOffset.ofTotalSeconds(this._offsetByIndexInSeconds(e))},l.offsetOfLocalDateTime=function(t){var e=this._offsetInfo(t);return e instanceof i.ZoneOffsetTransition?e.offsetBefore():e},l._offsetInfo=function(t){var e=function(t,e){for(var n,i=t.size-1,r=-1;i-r>1;)e.isBefore(t.get(n=i+r>>1))?i=n:r=n;return i}(this._ldtUntils,t),n=e>>1;if(e%2==1){var r=this._ldtUntils.get(Math.max(e-1,0)),o=this._ldtUntils.get(Math.min(e,this._ldtUntils.size-1)),a=i.ZoneOffset.ofTotalSeconds(this._offsetByIndexInSeconds(n)),s=i.ZoneOffset.ofTotalSeconds(this._offsetByIndexInSeconds(Math.min(n+1,this._tzdbInfo.offsets.length-1)));return a.compareTo(s)>0?i.ZoneOffsetTransition.of(r,a,s):i.ZoneOffsetTransition.of(o,a,s)}return i.ZoneOffset.ofTotalSeconds(this._offsetByIndexInSeconds(n))},l._offsetByIndexInSeconds=function(t){return-a(this._tzdbInfo.offsets[t])},l.validOffsets=function(t){var e=this._offsetInfo(t);return e instanceof i.ZoneOffsetTransition?e.validOffsets():[e]},l.transition=function(t){var e=this._offsetInfo(t);return e instanceof i.ZoneOffsetTransition?e:null},l.standardOffset=function(t){s("ZoneRules.standardOffset")},l.daylightSavings=function(t){s("ZoneRules.daylightSavings")},l.isDaylightSavings=function(t){s("ZoneRules.isDaylightSavings")},l.isValidOffset=function(t,e){return this.validOffsets(t).some((function(t){return t.equals(e)}))},l.nextTransition=function(t){s("ZoneRules.nextTransition")},l.previousTransition=function(t){s("ZoneRules.previousTransition")},l.transitions=function(){s("ZoneRules.transitions")},l.transitionRules=function(){s("ZoneRules.transitionRules")},l.equals=function(t){return this===t||t instanceof r&&this._tzdbInfo===t._tzdbInfo},l.toString=function(){return this._tzdbInfo.name},r}(i.ZoneRules),o=function(){function t(t,e){this._tzdbUntils=t,this._tzdbOffsets=e,this._ldtUntils=[],this.size=2*this._tzdbUntils.length}var e=t.prototype;return e._generateTupple=function(t){var e=this._tzdbUntils[t];if(e===1/0)return[i.LocalDateTime.MAX,i.LocalDateTime.MAX];var n=i.Instant.ofEpochMilli(e),r=a(this._tzdbOffsets[t]),o=i.ZoneOffset.ofTotalSeconds(-r),s=i.LocalDateTime.ofInstant(n,o),l=Math.min(t+1,this._tzdbOffsets.length-1),u=a(this._tzdbOffsets[l]),c=i.ZoneOffset.ofTotalSeconds(-u),h=i.LocalDateTime.ofInstant(n,c);return r>u?[s,h]:[h,s]},e._getTupple=function(t){return null==this._ldtUntils[t]&&(this._ldtUntils[t]=this._generateTupple(t)),this._ldtUntils[t]},e.get=function(t){return this._getTupple(t>>1)[t%2]},t}();function a(t){return(e=60*+t)<0?Math.ceil(e):Math.floor(e);var e}function s(t){throw new Error("not supported: "+t)}},"./src/MomentZoneRulesProvider.js":function(t,e,n){"use strict";n.r(e),n.d(e,"MomentZoneRulesProvider",(function(){return h}));var i,r,o=n("@js-joda/core"),a=n("./src/MomentZoneRules.js"),s=n("./src/unpack.js"),l=[],u={},c={},h=function(t){var e,n;function h(){return t.apply(this,arguments)||this}return n=t,(e=h).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,h.getRules=function(t){var e=u[c[t]];if(null==e)throw new o.DateTimeException("Unknown time-zone ID: "+t);return new a.MomentZoneRules(e)},h.getAvailableZoneIds=function(){return l},h.getVersion=function(){return r},h.getTzdbData=function(){return i},h.loadTzdbData=function(t){i=t,r=t.version;var e=t.zones,n=Array.isArray(e),o=0;for(e=n?e:e[Symbol.iterator]();;){var a;if(n){if(o>=e.length)break;a=e[o++]}else{if((o=e.next()).done)break;a=o.value}var h=a,d=Object(s.unpack)(h);l.push(d.name),u[d.name]=d,c[d.name]=d.name}var f=t.links,_=Array.isArray(f),p=0;for(f=_?f:f[Symbol.iterator]();;){var m;if(_){if(p>=f.length)break;m=f[p++]}else{if((p=f.next()).done)break;m=p.value}var v=m.split("|");l.push(v[1]),c[v[1]]=v[0]}},h}(o.ZoneRulesProvider)},"./src/auto-plug.js":function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return o}));var i=n("@js-joda/core"),r=n("./src/plug.js");function o(){Object(i.use)(r.default)}},"./src/js-joda-timezone.js":function(t,e,n){"use strict";n.r(e);var i=n("./src/tzdbData.js"),r=n("./src/MomentZoneRulesProvider.js"),o=n("./src/auto-plug.js");r.MomentZoneRulesProvider.loadTzdbData(i.default),Object(o.default)()},"./src/plug.js":function(t,e,n){"use strict";n.r(e);var i=n("./src/MomentZoneRulesProvider.js"),r=n("./src/system-default-zone.js");e.default=function(t){return t.ZoneRulesProvider.getRules=i.MomentZoneRulesProvider.getRules,t.ZoneRulesProvider.getAvailableZoneIds=i.MomentZoneRulesProvider.getAvailableZoneIds,t.ZoneRulesProvider.getTzdbData=i.MomentZoneRulesProvider.getTzdbData,t.ZoneRulesProvider.loadTzdbData=i.MomentZoneRulesProvider.loadTzdbData,Object(r.default)(t.ZoneId),t}},"./src/system-default-zone.js":function(t,e,n){"use strict";function i(t){var e=function(t){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;return t.of(e)}catch(t){}return null}(t);null!=e&&(t.systemDefault=function(){return e})}n.r(e),n.d(e,"default",(function(){return i}))},"./src/tzdbData.js":function(t,e,n){"use strict";n.r(e);var i=n("./data/packed/latest.json");e.default=i},"./src/unpack.js":function(t,e,n){"use strict";function i(t){return t>96?t-87:t>64?t-29:t-48}function r(t){var e=0,n=t.split("."),r=n[0],o=n[1]||"",a=1,s=0,l=1;for(45===t.charCodeAt(0)&&(e=1,l=-1);e=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function i(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function r(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;rt<4?"short":4===t?"long":"narrow",s=t=>t%2==0?"2-digit":"numeric";function l(t,e){switch(t.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:return void e(`${t.desc} is not supported with width ${t.width}`)}}function u(t,e){const{char:n,desc:i,width:r}=t;return"d"===n?s(r):void e(`${i} is not supported`)}function c(t,e){const{char:n,desc:i,width:r}=t;return("c"===n||"e"===n)&&r<3&&e(`Numeric value is not supported for ${i}; falling back to weekday:short`,o.WARNING),a(r)}function h(t,e){const{char:n,desc:i,width:r}=t;switch(n){case"v":case"z":return 4===r?"long":"short";case"V":return 4===r?"long":void e(`${i} is not supported with width ${r}`);case"X":return void e(`${i} is not supported`)}return"short"}function d(t,e){switch(t.field){case"era":return{era:a(t.width)};case"year":return function(t,e){switch(t.char){case"y":return{year:s(t.width)};case"r":return{calendar:"gregory",year:"numeric"};default:return e(`${t.desc} is not supported; falling back to year:numeric`,o.WARNING),{year:"numeric"}}}(t,e);case"month":return{month:l(t,e)};case"day":return{day:u(t,e)};case"weekday":return{weekday:c(t,e)};case"period":return;case"hour":return function(t){const e=s(t.width);let n;switch(t.char){case"h":n="h12";break;case"H":n="h23";break;case"k":n="h24";break;case"K":n="h11"}return n?{hour:e,hourCycle:n}:{hour:e}}(t);case"min":return{minute:s(t.width)};case"sec":return{second:s(t.width)};case"tz":return{timeZoneName:h(t,e)};case"quarter":case"week":case"sec-frac":case"ms":e(`${t.desc} is not supported`)}}function f(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>{throw t};const n={},i=[];for(const r of t){const{error:t,field:a,str:s}=r;if(t){const n=new o(t.message,r);n.stack=t.stack,e(n)}s&&e(new o(`Ignoring string part: ${s}`,r,o.WARNING)),a&&(-1===i.indexOf(a)?i.push(a):e(new o(`Duplicate ${a} token`,r)));const l=d(r,((t,n)=>e(new o(t,r,n))));l&&Object.assign(n,l)}return n}const _={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},p=t=>t>="A"&&t<="Z"||t>="a"&&t<="z";function m(t,e){const n=t[e];if(!n)return null;if(p(n))return function(t,e){const n=t[e];let i=1;for(;t[++e]===n;)++i;const r=_[n];return r?{char:n,field:r.field,desc:r.desc,width:i}:{char:n,error:new Error(`The letter ${n} is not a valid field identifier`),width:i}}(t,e);if("'"===n)return function(t,e){let n=t[++e],i=2;if("'"===n)return{char:"'",str:n,width:i};for(;;){const r=t[++e];if(++i,void 0===r)return{char:"'",error:new Error(`Unterminated quoted literal in pattern: ${n||t}`),str:n,width:i};if("'"===r){if("'"!==t[++e])return{char:"'",str:n,width:i};++i}n+=r}}(t,e);let i=n,r=1;for(;;){const o=t[++e];if(!o||p(o)||"'"===o)return{char:n,str:i,width:r};i+=o,r+=1}}function v(t){const e=[];let n=0;for(;;){const i=m(t,n);if(!i)return e;e.push(i),n+=i.width}}class g extends Error{constructor(t,e){super(e),this.code=t}}class y extends g{constructor(t,e){super("BAD_OPTION",`Unknown ${t} option: ${e}`),this.stem=t,this.option=e}}class b extends g{constructor(t){super("BAD_STEM",`Unknown stem: ${t}`),this.stem=t}}class w extends g{constructor(t,e){super("MASKED_VALUE",`Value for ${t} is set multiple times`),this.type=t,this.prev=e}}class E extends g{constructor(t){super("MISSING_OPTION",`Required option missing for ${t}`),this.stem=t}}class x extends g{constructor(t,e){super("BAD_PATTERN",e),this.char=t}}class C extends g{constructor(t,e,n){super("TOO_MANY_OPTIONS",`Token ${t} only supports ${n>1?`${n} options`:"one option"} (got ${e.length})`),this.stem=t,this.options=e}}class T extends g{constructor(t,e){super("UNSUPPORTED",`The stem ${t} is not supported`),this.stem=t,e&&(this.message+=` with value ${e}`,this.source=e)}}function A(t,e){let{numberingSystem:n}=e;return Array.isArray(t)||(t=[t]),n?t.map((t=>{const e=-1===t.indexOf("-u-")?"u-nu":"nu";return`${t}-${e}-${n}`})).concat(t):t}function S(t){let{scale:e,unit:n}=t,i="number"==typeof e&&e>=0?e:1;return n&&"percent"===n.style&&(i*=.01),i}function z(t,e){const{decimal:n,group:i,integerWidth:r,notation:o,precision:a,roundingMode:s,sign:l,unit:u,unitPer:c,unitWidth:h}=t,d=(t,n)=>{e&&e(new T(t,n))},f={};if(u)switch(u.style){case"base-unit":f.style="decimal";break;case"currency":f.style="currency",f.currency=u.currency;break;case"measure-unit":f.style="unit",f.unit=u.unit.replace(/.*-/,""),c&&(f.unit+="-per-"+c.replace(/.*-/,""));break;case"percent":f.style="percent";break;case"permille":d("permille")}switch(h){case"unit-width-full-name":f.currencyDisplay="name",f.unitDisplay="long";break;case"unit-width-hidden":d(h);break;case"unit-width-iso-code":f.currencyDisplay="code";break;case"unit-width-narrow":f.currencyDisplay="narrowSymbol",f.unitDisplay="narrow";break;case"unit-width-short":f.currencyDisplay="symbol",f.unitDisplay="short"}switch(i){case"group-off":f.useGrouping=!1;break;case"group-auto":f.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":d(i),f.useGrouping=!0}if(a)switch(a.style){case"precision-fraction":{const{minFraction:t,maxFraction:e,minSignificant:n,maxSignificant:i,source:r}=a;"number"==typeof t&&(f.minimumFractionDigits=t,"number"==typeof n&&d("precision-fraction",r)),"number"==typeof e&&(f.maximumFractionDigits=e),"number"==typeof n&&(f.minimumSignificantDigits=n),"number"==typeof i&&(f.maximumSignificantDigits=i);break}case"precision-integer":f.maximumFractionDigits=0;break;case"precision-unlimited":f.maximumFractionDigits=20;break;case"precision-increment":case"precision-currency-standard":break;case"precision-currency-cash":d(a.style)}if(o)switch(o.style){case"compact-short":f.notation="compact",f.compactDisplay="short";break;case"compact-long":f.notation="compact",f.compactDisplay="long";break;case"notation-simple":f.notation="standard";break;case"scientific":case"engineering":{const{expDigits:t,expSign:e,source:n,style:i}=o;f.notation=i,(t&&t>1||e&&"sign-auto"!==e)&&d(i,n);break}}if(r){const{min:t,max:e,source:n}=r;if(t>0&&(f.minimumIntegerDigits=t),Number(e)>0){const t="engineering"===f.notation||"scientific"===f.notation;3===e&&t?f.notation="engineering":d("integer-width",n)}}switch(l){case"sign-auto":f.signDisplay="auto";break;case"sign-always":f.signDisplay="always";break;case"sign-except-zero":f.signDisplay="exceptZero";break;case"sign-never":f.signDisplay="never";break;case"sign-accounting":f.currencySign="accounting";break;case"sign-accounting-always":f.currencySign="accounting",f.signDisplay="always";break;case"sign-accounting-except-zero":f.currencySign="accounting",f.signDisplay="exceptZero"}return"decimal-always"===n&&d(n),s&&d(s),f}function k(t,e,n){const i=t[e];switch(i){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let r=1;for(;"¤"===t[++e];)++r;switch(r){case 1:return{char:i,currency:"default",width:r};case 2:return{char:i,currency:"iso-code",width:r};case 3:return{char:i,currency:"full-name",width:r};case 5:return{char:i,currency:"narrow",width:r};default:return n(new x("¤",`Invalid number (${r}) of ¤ chars in pattern`)),null}}case"*":{const n=t[e+1];if(n)return{char:i,pad:n,width:2};break}case"+":case"-":return{char:i,width:1};case"'":{let r=t[++e],o=2;if("'"===r)return{char:i,str:r,width:o};for(;;){const a=t[++e];if(++o,void 0===a)return n(new x("'",`Unterminated quoted literal in pattern: ${r}`)),{char:i,str:r,width:o};if("'"===a){if("'"!==t[++e])return{char:i,str:r,width:o};++o}r+=a}}}return null}const N=t=>t>="0"&&t<="9";function I(t,e){const n=t[e];if(N(n)){let i=n;for(;;){const n=t[++e];if(!N(n))return{char:"0",digits:i,width:i.length};i+=n}}switch(n){case"#":{let i=1;for(;"#"===t[++e];)++i;return{char:n,width:i}}case"@":{let i=1;for(;"@"===t[++e];)++i;let r=i;for(e-=1;"#"===t[++e];)++r;return{char:n,min:i,width:r}}case"E":{const i="+"===t[e+1];i&&++e;let r=0;for(;"0"===t[++e];)++r;if(r)return{char:n,expDigits:r,plus:i,width:(i?2:1)+r};break}case".":case",":return{char:n,width:1}}return null}function O(t,e,n){let i;!function(t){t[t.Prefix=0]="Prefix",t[t.Number=1]="Number",t[t.Suffix=2]="Suffix"}(i||(i={}));const r=[],o=[],a=[];let s=i.Prefix,l="";for(;e2&&void 0!==arguments[2]?arguments[2]:t=>{throw t};const{tokens:i,negative:r}=function(t,e){const{pattern:n,pos:i}=O(t,0,e);if(i1&&(n.notation.expDigits=h.expDigits),h.plus&&(n.notation.expSign="sign-always"),r=!0}}i?n.group="group-auto":o+a.length>3&&(n.group="group-off");const c=Number(`${a||"0"}.${l}`);if(c&&(n.precision={style:"precision-increment",increment:c}),r)if(n.precision&&!c||(n.integerWidth=o?{min:1,max:o+a.length}:{min:Math.max(1,a.length)}),n.precision)c||(n.integerWidth={min:1,max:1});else{const t=a.length+l.length;-1===s?t>0&&(n.precision={style:"precision-fraction",maxSignificant:t}):(n.precision={style:"precision-fraction",maxSignificant:Math.max(1,t)+u},t>1&&(n.precision.minSignificant=t))}else a.length>1&&(n.integerWidth={min:a.length}),n.precision||!l.length&&!u||(n.precision={style:"precision-fraction",minFraction:l.length,maxFraction:l.length+u});return n}(i.number,n),a=L(i.prefix,o,e,n,!0),s=L(i.suffix,o,e,n,!1);if(r){const t=M(r.prefix,!0),e=M(r.suffix,!1);o.affix={pos:[a,s],neg:[t,e]},o.sign="sign-never"}else(a||s)&&(o.affix={pos:[a,s]});return o}function R(t){const[e]=t.split("-",1);return-1!==["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"].indexOf(e)}const P={"compact-short":0,"compact-long":0,"notation-simple":0,scientific:2,engineering:2,percent:0,permille:0,"base-unit":0,currency:1,"measure-unit":1,"per-measure-unit":1,"unit-width-narrow":0,"unit-width-short":0,"unit-width-full-name":0,"unit-width-iso-code":0,"unit-width-hidden":0,"precision-integer":0,"precision-unlimited":0,"precision-currency-standard":0,"precision-currency-cash":0,"precision-increment":1,"rounding-mode-ceiling":0,"rounding-mode-floor":0,"rounding-mode-down":0,"rounding-mode-up":0,"rounding-mode-half-even":0,"rounding-mode-half-down":0,"rounding-mode-half-up":0,"rounding-mode-unnecessary":0,"integer-width":1,scale:1,"group-off":0,"group-min2":0,"group-auto":0,"group-on-aligned":0,"group-thousands":0,latin:0,"numbering-system":1,"sign-auto":0,"sign-always":0,"sign-never":0,"sign-accounting":0,"sign-accounting-always":0,"sign-except-zero":0,"sign-accounting-except-zero":0,"decimal-auto":0,"decimal-always":0},U={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function j(t,e,n){if(function(t){return t in P}(t)){const i=P[t];if(e.length>i){if(0===i)for(const i of e)n(new y(t,i));else n(new C(t,e,i));return!1}if(function(t){return t in U}(t)&&e.length0?(this.assertEmpty("precision"),i.precision={style:t,increment:e}):this.badOption(t,n);break}case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-odd":case"rounding-mode-half-ceiling":case"rounding-mode-half-floor":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),i.roundingMode=t;break;case"integer-width":if(/^\+0*$/.test(n))this.assertEmpty("integerWidth"),i.integerWidth={source:n,min:n.length-1};else{const e=n.match(/^#*(0*)$/);e?(this.assertEmpty("integerWidth"),i.integerWidth={source:n,min:e[1].length,max:e[0].length}):this.badOption(t,n)}break;case"scale":{const e=Number(n);e>0?(this.assertEmpty("scale"),i.scale=e):this.badOption(t,n);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),i.group=t;break;case"latin":this.assertEmpty("numberingSystem"),i.numberingSystem="latn";break;case"numbering-system":-1!==["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(n)?(this.assertEmpty("numberingSystem"),i.numberingSystem=n):this.badOption(t,n);break;case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),i.sign=t;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),i.decimal=t;break;default:{const n=function(t,e,n){const i=q(t,"fraction");if(i){e.length>1&&n(new C(t,e,1));const r={style:"precision-fraction",source:t,minFraction:i.min};null!=i.max&&(r.maxFraction=i.max);const o=e[0],a=q(o,"significant");return a?(r.source=`${t}/${o}`,r.minSignificant=a.min,null!=a.max&&(r.maxSignificant=a.max)):o&&n(new y(t,o)),r}const r=q(t,"significant");if(r){for(const i of e)n(new y(t,i));const i={style:"precision-fraction",source:t,minSignificant:r.min};return null!=r.max&&(i.maxSignificant=r.max),i}return null}(t,e,this.onError);n?(this.assertEmpty("precision"),i.precision=n):this.onError(new b(t))}}}}function B(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>{throw t};const n=[];for(const e of t.split(" "))if(e){const t=e.split("/"),i=t.shift()||"";n.push({stem:i,options:t})}const i=new D(e);for(const{stem:t,options:e}of n)i.parseToken(t,e);return i.skeleton}function F(t,e,n,i){"string"==typeof e&&(e=0===e.indexOf("::")?B(e.slice(2),i):$(e,n,i));const r=A(t,e),o=z(e,i),a=function(t){const e=S(t),{precision:n}=t;return n&&"precision-increment"===n.style?t=>function(t,e){const n=+t+e/2;return n-n%+e}(t,n.increment)*e:t=>t*e}(e),s=new Intl.NumberFormat(r,o);if(e.affix){const[t,n]=e.affix.pos,[i,r]=e.affix.neg||["",""];return e=>{const o=s.format(a(e));return e<0?`${i}${o}${r}`:`${t}${o}${n}`}}return t=>s.format(a(t))}function W(t,e,n,i){"string"==typeof e&&(e=0===e.indexOf("::")?B(e.slice(2),i):$(e,n,i));const r=A(t,e),o=z(e,i),a=function(t){const e=S(t),{precision:n}=t;if(n&&"precision-increment"===n.style){const t="+n + "+n.increment/2;let i=`x - (x % +${n.increment})`;return 1!==e&&(i=`(${i}) * ${e}`),`function(n) { var x = ${t}; return ${i}; }`}return 1!==e?`function(n) { return n * ${e}; }`:null}(e),s=["(function() {",`var opt = ${JSON.stringify(o)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(r)}, opt);`];let l="nf.format(value)";if(a&&(s.push(`var mod = ${a};`),l="nf.format(mod(value))"),e.affix){const[t,n]=e.affix.pos.map((t=>JSON.stringify(t)));if(e.affix.neg){const[i,r]=e.affix.neg.map((t=>JSON.stringify(t)));l=`value < 0 ? ${i} + ${l} + ${r} : ${t} + ${l} + ${n}`}else l=`${t} + ${l} + ${n}`}return s.push(`return function(value) { return ${l}; }`),s.join("\n ")+"\n})()"}var G="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},H={},V={},X={};(function(t){var e,n;e=G,n=function(){var t=Object.prototype.hasOwnProperty,e=Object.prototype.toString,n="boolean"==typeof(new RegExp).sticky;function i(t){return t&&"[object RegExp]"===e.call(t)}function r(t){return t&&"object"==typeof t&&!i(t)&&!Array.isArray(t)}function o(t){return"("+t+")"}function a(t){return t.length?"(?:"+t.map((function(t){return"(?:"+t+")"})).join("|")+")":"(?!)"}function s(t){if("string"==typeof t)return"(?:"+t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+")";if(i(t)){if(t.ignoreCase)throw new Error("RegExp /i flag not allowed");if(t.global)throw new Error("RegExp /g flag is implied");if(t.sticky)throw new Error("RegExp /y flag is implied");if(t.multiline)throw new Error("RegExp /m flag is implied");return t.source}throw new Error("Not a pattern: "+t)}function l(t,e){return t.length>e?t:Array(e-t.length+1).join(" ")+t}function u(e,n){if(r(n)||(n={match:n}),n.include)throw new Error("Matching rules cannot also include states");var o={defaultType:e,lineBreaks:!!n.error||!!n.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var a in n)t.call(n,a)&&(o[a]=n[a]);if("string"==typeof o.type&&e!==o.type)throw new Error("Type transform cannot be a string (type '"+o.type+"' for token '"+e+"')");var s=o.match;return o.match=Array.isArray(s)?s:s?[s]:[],o.match.sort((function(t,e){return i(t)&&i(e)?0:i(e)?-1:i(t)?1:e.length-t.length})),o}function c(t){return Array.isArray(t)?function(t){for(var e=[],n=0;n0)throw new Error("RegExp has capture groups: "+b+"\nUse (?: … ) instead");if(!p.lineBreaks&&b.test("\n"))throw new Error("Rule should declare lineBreaks: "+b);f.push(o(y))}}var w=r&&r.fallback,E=n&&!w?"ym":"gm",x=n||w?"":"|";return!0===c&&(E+="u"),{regexp:new RegExp(a(f)+x,E),groups:d,fast:l,error:r||h}}function f(t,e,n){var i=t&&(t.push||t.next);if(i&&!n[i])throw new Error("Missing state '"+i+"' (in token '"+t.defaultType+"' of state '"+e+"')");if(t&&t.pop&&1!=+t.pop)throw new Error("pop must be 1 (in token '"+t.defaultType+"' of state '"+e+"')")}var _=function(t,e){this.startState=e,this.states=t,this.buffer="",this.stack=[],this.reset()};_.prototype.reset=function(t,e){return this.buffer=t||"",this.index=0,this.line=e?e.line:1,this.col=e?e.col:1,this.queuedToken=e?e.queuedToken:null,this.queuedText=e?e.queuedText:"",this.queuedThrow=e?e.queuedThrow:null,this.setState(e?e.state:this.startState),this.stack=e&&e.stack?e.stack.slice():[],this},_.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},_.prototype.setState=function(t){if(t&&this.state!==t){this.state=t;var e=this.states[t];this.groups=e.groups,this.error=e.error,this.re=e.regexp,this.fast=e.fast}},_.prototype.popState=function(){this.setState(this.stack.pop())},_.prototype.pushState=function(t){this.stack.push(this.state),this.setState(t)};var p=n?function(t,e){return t.exec(e)}:function(t,e){var n=t.exec(e);return 0===n[0].length?null:n};function m(){return this.value}if(_.prototype._getGroup=function(t){for(var e=this.groups.length,n=0;n"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:t=>t.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:t=>t.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:t=>t.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:t=>t.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:t=>t.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:t=>t.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:t=>t.substring(0,t.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},t.lexer=n.default.states(t.states)}(V),Object.defineProperty(H,"__esModule",{value:!0});var J=H.parse=H.ParseError=void 0;const Z=V,Y=t=>({offset:t.offset,line:t.line,col:t.col,text:t.text,lineBreaks:t.lineBreaks}),K=t=>"plural"===t||"select"===t||"selectordinal"===t;const Q=["number","date","time","spellout","ordinal","duration"],tt=["zero","one","two","few","many","other"];class et extends Error{constructor(t,e){super(Z.lexer.formatError(t,e))}}H.ParseError=et;class nt{constructor(t,e){this.lexer=Z.lexer.reset(t),this.cardinalKeys=e&&e.cardinal||tt,this.ordinalKeys=e&&e.ordinal||tt,this.strict=e&&e.strict||!1}parse(){return this.parseBody(!1,!0)}checkSelectKey(t,e,n){if("="===n[0]){if("select"===e)throw new et(t,`The case ${n} is not valid with select`)}else if("select"!==e){const i="plural"===e?this.cardinalKeys:this.ordinalKeys;if(i.length>0&&!i.includes(n))throw new et(t,`The ${e} case ${n} is not valid in this locale`)}}parseSelect(t,e,n,i){let{value:r}=t;const o={type:i,arg:r,cases:[],ctx:n};"plural"===i||"selectordinal"===i?e=!0:this.strict&&(e=!1);for(const t of this.lexer)switch(t.type){case"offset":if("select"===i)throw new et(t,"Unexpected plural offset for select");if(o.cases.length>0)throw new et(t,"Plural offset must be set before cases");o.pluralOffset=Number(t.value),n.text+=t.text,n.lineBreaks+=t.lineBreaks;break;case"case":this.checkSelectKey(t,i,t.value),o.cases.push({key:t.value,tokens:this.parseBody(e),ctx:Y(t)});break;case"end":return o;default:throw new et(t,`Unexpected lexer token: ${t.type}`)}throw new et(null,"Unexpected message end")}parseArgToken(t,e){const n=Y(t),i=this.lexer.next();if(!i)throw new et(null,"Unexpected message end");if(n.text+=i.text,n.lineBreaks+=i.lineBreaks,this.strict&&("func-simple"===i.type||"func-args"===i.type)&&!Q.includes(i.value)){const e=`Invalid strict mode function arg type: ${i.value}`;throw new et(t,e)}switch(i.type){case"end":return{type:"argument",arg:t.value,ctx:n};case"func-simple":{const e=this.lexer.next();if(!e)throw new et(null,"Unexpected message end");if("end"!==e.type)throw new et(e,`Unexpected lexer token: ${e.type}`);if(n.text+=e.text,K(i.value.toLowerCase()))throw new et(i,`Invalid type identifier: ${i.value}`);return{type:"function",arg:t.value,key:i.value,ctx:n}}case"func-args":{if(K(i.value.toLowerCase())){const t=`Invalid type identifier: ${i.value}`;throw new et(i,t)}let r=this.parseBody(!this.strict&&e);return this.strict&&r.length>0&&(r=function(t,e){let n="",i="";for(const r of e){const e=r.ctx.text;switch(i+=e,r.type){case"content":n+=r.value;break;case"argument":case"function":case"octothorpe":n+=e;break;default:throw new et(t,`Unsupported part in strict mode function arg style: ${e}`)}}return[{type:"content",value:n.trim(),ctx:Object.assign({},e[0].ctx,{text:i})}]}(t,r)),{type:"function",arg:t.value,key:i.value,param:r,ctx:n}}case"select":if(K(i.value))return this.parseSelect(t,e,n,i.value);throw new et(i,`Unexpected select type ${i.value}`);default:throw new et(i,`Unexpected lexer token: ${i.type}`)}}parseBody(t,e){const n=[];let i=null;for(const r of this.lexer)if("argument"===r.type)i&&(i=null),n.push(this.parseArgToken(r,t));else if("octothorpe"===r.type&&t)i&&(i=null),n.push({type:"octothorpe",ctx:Y(r)});else{if("end"===r.type&&!e)return n;{let e=r.value;if(!t&&"quoted"===r.type&&"#"===e[0]){if(e.includes("{"))throw new et(r,`Unsupported escape pattern: ${e}`);e=r.text}i?(i.value+=e,i.ctx.text+=r.text,i.ctx.lineBreaks+=r.lineBreaks):(i={type:"content",value:e,ctx:Y(r)},n.push(i))}}if(e)return n;throw new et(null,"Unexpected message end")}}function it(t){return it[t]||(it[t]=new Intl.NumberFormat(t))}J=H.parse=function(t){return new nt(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).parse()};var rt=Object.freeze({__proto__:null,_nf:it,number:function(t,e,n){return it(t).format(e-n)},plural:function(t,e,n,i,r){if({}.hasOwnProperty.call(i,t))return i[t];e&&(t-=e);var o=n(t,r);return o in i?i[o]:i.other},reqArgs:function(t,e){for(var n=0;n=60&&(t=Math.round((t-Number(i[0]))/60),i.unshift(t))),e+i.shift()+":"+i.map((function(t){return t<10?"0"+String(t):String(t)})).join(":")},numberCurrency:function(t,e,n){return at(e,{style:"currency",currency:n,minimumFractionDigits:2,maximumFractionDigits:2}).format(t)},numberFmt:function(t,e,n,i){var r=n&&n.split(":")||[],o=r[0],a=r[1];return at(e,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:a&&a.trim()||i,minimumFractionDigits:2,maximumFractionDigits:2}}[o]||{}).format(t)},numberInteger:function(t,e){return at(e,{maximumFractionDigits:0}).format(t)},numberPercent:function(t,e){return at(e,{style:"percent"}).format(t)},time:function(t,e,n){var i={second:"numeric",minute:"numeric",hour:"numeric"};switch(n){case"full":case"long":i.timeZoneName="short";break;case"short":delete i.second}return new Date(t).toLocaleTimeString(e,i)}}),lt={ES3:{break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},ESnext:{await:!0,debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0}};function ut(t,e){e&&(t+=" "+function(t){let e=0;for(let n=0;n0,b=this.concatenate(g,!0);if(u&&y){this.setRuntimeFn("reqArgs");var w=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(w,", d); return ").concat(b,"; }")}return"(".concat(y?"d":"",") => ").concat(b)},t.prototype.cases=function(t,e){var n=this,i=!0,r=t.cases.map((function(t){var r=t.key,o=t.tokens;"other"===r&&(i=!1);var a=o.map((function(t){return n.token(t,e)}));return"".concat(ct(null,r.replace(/^=/,"")),": ").concat(n.concatenate(a,!1))}));if(i){var o=t.type,a=this.plural,s=a.cardinals,l=a.ordinals;if("select"===o||"plural"===o&&s.includes("other")||"selectordinal"===o&&l.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(t)))}return"{ ".concat(r.join(", ")," }")},t.prototype.concatenate=function(t,e){return"values"===this.options.returnType&&(e||t.length>1)?"["+t.join(", ")+"]":t.join(" + ")||'""'},t.prototype.token=function(t,e){if("content"===t.type)return JSON.stringify(t.value);var n,i,r,o,a,s,l=this.plural,u=l.id,c=l.lc;switch("arg"in t?(this.arguments.push(t.arg),n=[ct("d",t.arg)]):n=[],t.type){case"argument":return this.options.biDiSupport?(r=String(n[0]),o=c,a=ht.test(o),s=JSON.stringify(a?"‏":"‎"),"".concat(s," + ").concat(r," + ").concat(s)):String(n[0]);case"select":i="select",e&&this.options.strict&&(e=null),n.push(this.cases(t,e)),this.setRuntimeFn("select");break;case"selectordinal":i="plural",n.push(t.pluralOffset||0,u,this.cases(t,t),1),this.setLocale(u,!0),this.setRuntimeFn("plural");break;case"plural":i="plural",n.push(t.pluralOffset||0,u,this.cases(t,t)),this.setLocale(u,!1),this.setRuntimeFn("plural");break;case"function":if(!this.options.customFormatters[t.key]){if("date"===t.key){i=this.setDateFormatter(t,n,e);break}if("number"===t.key){i=this.setNumberFormatter(t,n,e);break}}if(n.push(JSON.stringify(this.plural.locale)),t.param){e&&this.options.strict&&(e=null);var h=this.getFormatterArg(t,e);h&&n.push(h)}i=t.key,this.setFormatter(i);break;case"octothorpe":if(!e)return'"#"';n=[JSON.stringify(this.plural.locale),ct("d",e.arg),e.pluralOffset||0],this.options.strict?(i="strictNumber",n.push(JSON.stringify(e.arg)),this.setRuntimeFn("strictNumber")):(i="number",this.setRuntimeFn("number"))}if(!i)throw new Error("Parser error for token "+JSON.stringify(t));return"".concat(i,"(").concat(n.join(", "),")")},t.prototype.runtimeIncludes=function(t,e){if(ut(t)!==t)throw new SyntaxError("Reserved word used as ".concat(e," identifier: ").concat(t));var n=this.runtime[t];if(!n||n.type===e)return n;throw new TypeError("Cannot override ".concat(n.type," runtime function as ").concat(e,": ").concat(t))},t.prototype.setLocale=function(t,e){var n,i,r,o=this.runtimeIncludes(t,"locale"),a=this.plural,s=a.getCardinal,l=a.getPlural,u=a.isDefault;if(!e&&u&&s){if(o)return;n=function(t){return s(t)},i="@messageformat/runtime/lib/cardinals",r=function(){return String(s)}}else{if(o&&(!u||o.module===dt))return;n=function(t,e){return l(t,e)},i=u?dt:l.module||null,r=function(){return String(l)}}this.runtime[t]=Object.assign(n,{id:t,module:i,toString:r,type:"locale"})},t.prototype.setRuntimeFn=function(t){this.runtimeIncludes(t,"runtime")||(this.runtime[t]=Object.assign(rt[t],{id:t,module:"@messageformat/runtime",type:"runtime"}))},t.prototype.getFormatterArg=function(t,n){var i,r,o,a,s=this,l=t.key,u=t.param,c=this.options.customFormatters[l]||_t(l)&&st[l];if(!c||!u)return null;var h="arg"in c&&c.arg||"string";if("options"===h){var d="";try{for(var f=e(u),_=f.next();!_.done;_=f.next()){var p=_.value;if("content"!==p.type)throw new SyntaxError("Expected literal options for ".concat(l," formatter"));d+=p.value}}catch(t){i={error:t}}finally{try{_&&!_.done&&(r=f.return)&&r.call(f)}finally{if(i)throw i.error}}var m={};try{for(var v=e(d.split(",")),g=v.next();!g.done;g=v.next()){var y=g.value,b=y.indexOf(":");if(-1===b)m[y.trim()]=null;else{var w=y.substring(0,b).trim(),E=y.substring(b+1).trim();if("true"===E)m[w]=!0;else if("false"===E)m[w]=!1;else if("null"===E)m[w]=null;else{var x=Number(E);m[w]=Number.isFinite(x)?x:E}}}}catch(t){o={error:t}}finally{try{g&&!g.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}return JSON.stringify(m)}var C=u.map((function(t){return s.token(t,n)}));if("raw"===h)return"[".concat(C.join(", "),"]");var T=C.join(" + ");return T?"(".concat(T,").trim()"):'""'},t.prototype.setFormatter=function(t){if(!this.runtimeIncludes(t,"formatter")){var e=this.options.customFormatters[t];if(e)"function"==typeof e&&(e={formatter:e}),this.runtime[t]=Object.assign(e.formatter,{type:"formatter"},"module"in e&&e.module&&e.id?{id:ut(e.id),module:e.module}:{id:null,module:null});else{if(!_t(t))throw new Error("Formatting function not found: ".concat(t));this.runtime[t]=Object.assign(st[t],{type:"formatter"},{id:t,module:"@messageformat/runtime/lib/formatters"})}}},t.prototype.setDateFormatter=function(t,e,n){var i=this,r=t.param,o=this.plural.locale,a=r&&1===r.length&&r[0];if(a&&"content"===a.type&&/^\s*::/.test(a.value)){var s=a.value.trim().substr(2),l=ut("date_".concat(o,"_").concat(s),!0);if(!this.runtimeIncludes(l,"formatter")){var u=function(t,e,n){"string"==typeof e&&(e=v(e));const i=f(e,n),r=new Intl.DateTimeFormat(t,i);return t=>r.format(t)}(o,s);this.runtime[l]=Object.assign(u,{id:l,module:null,toString:function(){return function(t,e,n){"string"==typeof e&&(e=v(e));const i=f(e,n);return["(function() {",`var opt = ${JSON.stringify(i)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(t)}, opt);`,"return function(value) { return dtf.format(value); }"].join("\n ")+"\n})()"}(o,s)},type:"formatter"})}return l}if(e.push(JSON.stringify(o)),r&&r.length>0){n&&this.options.strict&&(n=null);var c=r.map((function(t){return i.token(t,n)}));e.push("("+(c.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},t.prototype.setNumberFormatter=function(t,e,n){var i=this,r=t.param,o=this.plural.locale;if(!r||0===r.length)return e.unshift(JSON.stringify(o)),e.push("0"),this.setRuntimeFn("number"),"number";if(e.push(JSON.stringify(o)),1===r.length&&"content"===r[0].type){var a=r[0].value.trim();switch(a){case"currency":return e.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var s=a.match(/^currency:([A-Z]+)$/);if(s)return e.push(JSON.stringify(s[1])),this.setFormatter("numberCurrency"),"numberCurrency";var l=ut("number_".concat(o,"_").concat(a),!0);if(!this.runtimeIncludes(l,"formatter")){var u=this.options.currency,c=F(o,a,u);this.runtime[l]=Object.assign(c,{id:null,module:null,toString:function(){return W(o,a,u)},type:"formatter"})}return l}n&&this.options.strict&&(n=null);var h=r.map((function(t){return i.token(t,n)}));return e.push("("+(h.join(" + ")||'""')+").trim()"),e.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},t}();function _t(t){return t in st}const pt=t=>1==t?"one":"other",mt=t=>0==t||1==t?"one":"other",vt=t=>t>=0&&t<=1?"one":"other",gt=t=>{const e=!String(t).split(".")[1];return 1==t&&e?"one":"other"},yt=t=>"other",bt=t=>1==t?"one":2==t?"two":"other",wt=pt,Et=mt,xt=vt,Ct=pt,Tt=vt,At=pt,St=gt,zt=pt,kt=pt,Nt=pt,It=pt,Ot=pt,Lt=mt,Mt=yt,$t=vt,Rt=yt,Pt=pt,Ut=pt,jt=pt,qt=pt,Dt=pt,Bt=gt,Ft=vt,Wt=pt,Gt=yt,Ht=pt,Vt=pt,Xt=gt,Jt=pt,Zt=gt,Yt=pt,Kt=vt,Qt=gt,te=pt,ee=pt,ne=gt,ie=gt,re=pt,oe=vt,ae=mt,se=pt,le=pt,ue=vt,ce=yt,he=pt,de=gt,fe=yt,_e=yt,pe=yt,me=gt,ve=bt,ge=yt,ye=yt,be=pt,we=pt,Ee=yt,xe=yt,Ce=pt,Te=pt,Ae=pt,Se=yt,ze=yt,ke=pt,Ne=pt,Ie=pt,Oe=yt,Le=vt,Me=yt,$e=pt,Re=pt,Pe=pt,Ue=pt,je=pt,qe=pt,De=gt,Be=yt,Fe=mt,We=yt,Ge=pt,He=mt,Ve=pt,Xe=pt,Je=pt,Ze=pt,Ye=yt,Ke=yt,Qe=pt,tn=bt,en=pt,nn=pt,rn=pt,on=gt,an=pt,sn=pt,ln=pt,un=yt,cn=pt,hn=mt,dn=pt,fn=pt,_n=pt,pn=pt,mn=pt,vn=yt,gn=mt,yn=pt,bn=vt,wn=pt,En=pt,xn=pt,Cn=pt,Tn=yt,An=pt,Sn=bt,zn=gt,kn=gt,Nn=pt,In=pt,On=bt,Ln=pt,Mn=yt,$n=yt,Rn=bt,Pn=bt,Un=bt,jn=bt,qn=bt,Dn=pt,Bn=pt,Fn=pt,Wn=pt,Gn=pt,Hn=pt,Vn=yt,Xn=gt,Jn=gt,Zn=pt,Yn=pt,Kn=pt,Qn=pt,ti=yt,ei=mt,ni=pt,ii=pt,ri=pt,oi=yt,ai=yt,si=pt,li=pt,ui=pt,ci=yt,hi=gt,di=pt,fi=pt,_i=yt,pi=pt,mi=pt,vi=mt,gi=pt,yi=yt,bi=pt,wi=pt,Ei=gt,xi=yt,Ci=yt,Ti=yt,Ai=vt;var Si=Object.freeze({__proto__:null,af:wt,ak:Et,am:xt,an:Ct,ar:t=>{const e=String(t).split("."),n=Number(e[0])==t&&e[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},ars:t=>{const e=String(t).split("."),n=Number(e[0])==t&&e[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},as:Tt,asa:At,ast:St,az:zt,bal:kt,be:t=>{const e=String(t).split("."),n=Number(e[0])==t,i=n&&e[0].slice(-1),r=n&&e[0].slice(-2);return 1==i&&11!=r?"one":i>=2&&i<=4&&(r<12||r>14)?"few":n&&0==i||i>=5&&i<=9||r>=11&&r<=14?"many":"other"},bem:Nt,bez:It,bg:Ot,bho:Lt,bm:Mt,bn:$t,bo:Rt,br:t=>{const e=String(t).split("."),n=Number(e[0])==t,i=n&&e[0].slice(-1),r=n&&e[0].slice(-2),o=n&&e[0].slice(-6);return 1==i&&11!=r&&71!=r&&91!=r?"one":2==i&&12!=r&&72!=r&&92!=r?"two":(3==i||4==i||9==i)&&(r<10||r>19)&&(r<70||r>79)&&(r<90||r>99)?"few":0!=t&&n&&0==o?"many":"other"},brx:Pt,bs:t=>{const e=String(t).split("."),n=e[0],i=e[1]||"",r=!e[1],o=n.slice(-1),a=n.slice(-2),s=i.slice(-1),l=i.slice(-2);return r&&1==o&&11!=a||1==s&&11!=l?"one":r&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(l<12||l>14)?"few":"other"},ca:t=>{const e=String(t).split("."),n=e[0],i=!e[1],r=n.slice(-6);return 1==t&&i?"one":0!=n&&0==r&&i?"many":"other"},ce:Ut,ceb:t=>{const e=String(t).split("."),n=e[0],i=e[1]||"",r=!e[1],o=n.slice(-1),a=i.slice(-1);return r&&(1==n||2==n||3==n)||r&&4!=o&&6!=o&&9!=o||!r&&4!=a&&6!=a&&9!=a?"one":"other"},cgg:jt,chr:qt,ckb:Dt,cs:t=>{const e=String(t).split("."),n=e[0],i=!e[1];return 1==t&&i?"one":n>=2&&n<=4&&i?"few":i?"other":"many"},cy:t=>0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other",da:t=>{const e=String(t).split("."),n=e[0],i=Number(e[0])==t;return 1!=t&&(i||0!=n&&1!=n)?"other":"one"},de:Bt,doi:Ft,dsb:t=>{const e=String(t).split("."),n=e[0],i=e[1]||"",r=!e[1],o=n.slice(-2),a=i.slice(-2);return r&&1==o||1==a?"one":r&&2==o||2==a?"two":r&&(3==o||4==o)||3==a||4==a?"few":"other"},dv:Wt,dz:Gt,ee:Ht,el:Vt,en:Xt,eo:Jt,es:t=>{const e=String(t).split("."),n=e[0],i=!e[1],r=n.slice(-6);return 1==t?"one":0!=n&&0==r&&i?"many":"other"},et:Zt,eu:Yt,fa:Kt,ff:t=>t>=0&&t<2?"one":"other",fi:Qt,fil:t=>{const e=String(t).split("."),n=e[0],i=e[1]||"",r=!e[1],o=n.slice(-1),a=i.slice(-1);return r&&(1==n||2==n||3==n)||r&&4!=o&&6!=o&&9!=o||!r&&4!=a&&6!=a&&9!=a?"one":"other"},fo:te,fr:t=>{const e=String(t).split("."),n=e[0],i=!e[1],r=n.slice(-6);return t>=0&&t<2?"one":0!=n&&0==r&&i?"many":"other"},fur:ee,fy:ne,ga:t=>{const e=String(t).split("."),n=Number(e[0])==t;return 1==t?"one":2==t?"two":n&&t>=3&&t<=6?"few":n&&t>=7&&t<=10?"many":"other"},gd:t=>{const e=String(t).split("."),n=Number(e[0])==t;return 1==t||11==t?"one":2==t||12==t?"two":n&&t>=3&&t<=10||n&&t>=13&&t<=19?"few":"other"},gl:ie,gsw:re,gu:oe,guw:ae,gv:t=>{const e=String(t).split("."),n=e[0],i=!e[1],r=n.slice(-1),o=n.slice(-2);return i&&1==r?"one":i&&2==r?"two":!i||0!=o&&20!=o&&40!=o&&60!=o&&80!=o?i?"other":"many":"few"},ha:se,haw:le,he:t=>{const e=String(t).split("."),n=e[0],i=!e[1];return 1==n&&i||0==n&&!i?"one":2==n&&i?"two":"other"},hi:ue,hnj:ce,hr:t=>{const e=String(t).split("."),n=e[0],i=e[1]||"",r=!e[1],o=n.slice(-1),a=n.slice(-2),s=i.slice(-1),l=i.slice(-2);return r&&1==o&&11!=a||1==s&&11!=l?"one":r&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(l<12||l>14)?"few":"other"},hsb:t=>{const e=String(t).split("."),n=e[0],i=e[1]||"",r=!e[1],o=n.slice(-2),a=i.slice(-2);return r&&1==o||1==a?"one":r&&2==o||2==a?"two":r&&(3==o||4==o)||3==a||4==a?"few":"other"},hu:he,hy:t=>t>=0&&t<2?"one":"other",ia:de,id:fe,ig:_e,ii:pe,io:me,is:t=>{const e=String(t).split("."),n=e[0],i=(e[1]||"").replace(/0+$/,""),r=Number(e[0])==t,o=n.slice(-1),a=n.slice(-2);return r&&1==o&&11!=a||i%10==1&&i%100!=11?"one":"other"},it:t=>{const e=String(t).split("."),n=e[0],i=!e[1],r=n.slice(-6);return 1==t&&i?"one":0!=n&&0==r&&i?"many":"other"},iu:ve,ja:ge,jbo:ye,jgo:be,jmc:we,jv:Ee,jw:xe,ka:Ce,kab:t=>t>=0&&t<2?"one":"other",kaj:Te,kcg:Ae,kde:Se,kea:ze,kk:ke,kkj:Ne,kl:Ie,km:Oe,kn:Le,ko:Me,ks:$e,ksb:Re,ksh:t=>0==t?"zero":1==t?"one":"other",ku:Pe,kw:t=>{const e=String(t).split("."),n=Number(e[0])==t,i=n&&e[0].slice(-2),r=n&&e[0].slice(-3),o=n&&e[0].slice(-5),a=n&&e[0].slice(-6);return 0==t?"zero":1==t?"one":2==i||22==i||42==i||62==i||82==i||n&&0==r&&(o>=1e3&&o<=2e4||4e4==o||6e4==o||8e4==o)||0!=t&&1e5==a?"two":3==i||23==i||43==i||63==i||83==i?"few":1==t||1!=i&&21!=i&&41!=i&&61!=i&&81!=i?"other":"many"},ky:Ue,lag:t=>{const e=String(t).split(".")[0];return 0==t?"zero":0!=e&&1!=e||0==t?"other":"one"},lb:je,lg:qe,lij:De,lkt:Be,ln:Fe,lo:We,lt:t=>{const e=String(t).split("."),n=e[1]||"",i=Number(e[0])==t,r=i&&e[0].slice(-1),o=i&&e[0].slice(-2);return 1==r&&(o<11||o>19)?"one":r>=2&&r<=9&&(o<11||o>19)?"few":0!=n?"many":"other"},lv:t=>{const e=String(t).split("."),n=e[1]||"",i=n.length,r=Number(e[0])==t,o=r&&e[0].slice(-1),a=r&&e[0].slice(-2),s=n.slice(-2),l=n.slice(-1);return r&&0==o||a>=11&&a<=19||2==i&&s>=11&&s<=19?"zero":1==o&&11!=a||2==i&&1==l&&11!=s||2!=i&&1==l?"one":"other"},mas:Ge,mg:He,mgo:Ve,mk:t=>{const e=String(t).split("."),n=e[0],i=e[1]||"",r=!e[1],o=n.slice(-1),a=n.slice(-2),s=i.slice(-1),l=i.slice(-2);return r&&1==o&&11!=a||1==s&&11!=l?"one":"other"},ml:Xe,mn:Je,mo:t=>{const e=String(t).split("."),n=!e[1],i=Number(e[0])==t&&e[0].slice(-2);return 1==t&&n?"one":!n||0==t||1!=t&&i>=1&&i<=19?"few":"other"},mr:Ze,ms:Ye,mt:t=>{const e=String(t).split("."),n=Number(e[0])==t&&e[0].slice(-2);return 1==t?"one":2==t?"two":0==t||n>=3&&n<=10?"few":n>=11&&n<=19?"many":"other"},my:Ke,nah:Qe,naq:tn,nb:en,nd:nn,ne:rn,nl:on,nn:an,nnh:sn,no:ln,nqo:un,nr:cn,nso:hn,ny:dn,nyn:fn,om:_n,or:pn,os:mn,osa:vn,pa:gn,pap:yn,pcm:bn,pl:t=>{const e=String(t).split("."),n=e[0],i=!e[1],r=n.slice(-1),o=n.slice(-2);return 1==t&&i?"one":i&&r>=2&&r<=4&&(o<12||o>14)?"few":i&&1!=n&&(0==r||1==r)||i&&r>=5&&r<=9||i&&o>=12&&o<=14?"many":"other"},prg:t=>{const e=String(t).split("."),n=e[1]||"",i=n.length,r=Number(e[0])==t,o=r&&e[0].slice(-1),a=r&&e[0].slice(-2),s=n.slice(-2),l=n.slice(-1);return r&&0==o||a>=11&&a<=19||2==i&&s>=11&&s<=19?"zero":1==o&&11!=a||2==i&&1==l&&11!=s||2!=i&&1==l?"one":"other"},ps:wn,pt:t=>{const e=String(t).split("."),n=e[0],i=!e[1],r=n.slice(-6);return 0==n||1==n?"one":0!=n&&0==r&&i?"many":"other"},pt_PT:t=>{const e=String(t).split("."),n=e[0],i=!e[1],r=n.slice(-6);return 1==t&&i?"one":0!=n&&0==r&&i?"many":"other"},rm:En,ro:t=>{const e=String(t).split("."),n=!e[1],i=Number(e[0])==t&&e[0].slice(-2);return 1==t&&n?"one":!n||0==t||1!=t&&i>=1&&i<=19?"few":"other"},rof:xn,ru:t=>{const e=String(t).split("."),n=e[0],i=!e[1],r=n.slice(-1),o=n.slice(-2);return i&&1==r&&11!=o?"one":i&&r>=2&&r<=4&&(o<12||o>14)?"few":i&&0==r||i&&r>=5&&r<=9||i&&o>=11&&o<=14?"many":"other"},rwk:Cn,sah:Tn,saq:An,sat:Sn,sc:zn,scn:kn,sd:Nn,sdh:In,se:On,seh:Ln,ses:Mn,sg:$n,sh:t=>{const e=String(t).split("."),n=e[0],i=e[1]||"",r=!e[1],o=n.slice(-1),a=n.slice(-2),s=i.slice(-1),l=i.slice(-2);return r&&1==o&&11!=a||1==s&&11!=l?"one":r&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(l<12||l>14)?"few":"other"},shi:t=>{const e=String(t).split("."),n=Number(e[0])==t;return t>=0&&t<=1?"one":n&&t>=2&&t<=10?"few":"other"},si:t=>{const e=String(t).split("."),n=e[0],i=e[1]||"";return 0==t||1==t||0==n&&1==i?"one":"other"},sk:t=>{const e=String(t).split("."),n=e[0],i=!e[1];return 1==t&&i?"one":n>=2&&n<=4&&i?"few":i?"other":"many"},sl:t=>{const e=String(t).split("."),n=e[0],i=!e[1],r=n.slice(-2);return i&&1==r?"one":i&&2==r?"two":i&&(3==r||4==r)||!i?"few":"other"},sma:Rn,smi:Pn,smj:Un,smn:jn,sms:qn,sn:Dn,so:Bn,sq:Fn,sr:t=>{const e=String(t).split("."),n=e[0],i=e[1]||"",r=!e[1],o=n.slice(-1),a=n.slice(-2),s=i.slice(-1),l=i.slice(-2);return r&&1==o&&11!=a||1==s&&11!=l?"one":r&&o>=2&&o<=4&&(a<12||a>14)||s>=2&&s<=4&&(l<12||l>14)?"few":"other"},ss:Wn,ssy:Gn,st:Hn,su:Vn,sv:Xn,sw:Jn,syr:Zn,ta:Yn,te:Kn,teo:Qn,th:ti,ti:ei,tig:ni,tk:ii,tl:t=>{const e=String(t).split("."),n=e[0],i=e[1]||"",r=!e[1],o=n.slice(-1),a=i.slice(-1);return r&&(1==n||2==n||3==n)||r&&4!=o&&6!=o&&9!=o||!r&&4!=a&&6!=a&&9!=a?"one":"other"},tn:ri,to:oi,tpi:ai,tr:si,ts:li,tzm:t=>{const e=String(t).split("."),n=Number(e[0])==t;return 0==t||1==t||n&&t>=11&&t<=99?"one":"other"},ug:ui,uk:t=>{const e=String(t).split("."),n=e[0],i=!e[1],r=n.slice(-1),o=n.slice(-2);return i&&1==r&&11!=o?"one":i&&r>=2&&r<=4&&(o<12||o>14)?"few":i&&0==r||i&&r>=5&&r<=9||i&&o>=11&&o<=14?"many":"other"},und:ci,ur:hi,uz:di,ve:fi,vec:t=>{const e=String(t).split("."),n=e[0],i=!e[1],r=n.slice(-6);return 1==t&&i?"one":0!=n&&0==r&&i?"many":"other"},vi:_i,vo:pi,vun:mi,wa:vi,wae:gi,wo:yi,xh:bi,xog:wi,yi:Ei,yo:xi,yue:Ci,zh:Ti,zu:Ai});const zi="zero",ki="one",Ni="two",Ii="few",Oi="many",Li="other",Mi={cardinal:[ki,Li],ordinal:[Li]},$i={cardinal:[ki,Li],ordinal:[ki,Li]},Ri={cardinal:[Li],ordinal:[Li]},Pi={cardinal:[ki,Ni,Li],ordinal:[Li]},Ui=Mi,ji=Mi,qi=Mi,Di=Mi,Bi={cardinal:[zi,ki,Ni,Ii,Oi,Li],ordinal:[Li]},Fi={cardinal:[zi,ki,Ni,Ii,Oi,Li],ordinal:[Li]},Wi={cardinal:[ki,Li],ordinal:[ki,Ni,Ii,Oi,Li]},Gi=Mi,Hi=Mi,Vi={cardinal:[ki,Li],ordinal:[ki,Ii,Oi,Li]},Xi=$i,Ji={cardinal:[ki,Ii,Oi,Li],ordinal:[Ii,Li]},Zi=Mi,Yi=Mi,Ki=Mi,Qi=Mi,tr=Ri,er={cardinal:[ki,Li],ordinal:[ki,Ni,Ii,Oi,Li]},nr=Ri,ir={cardinal:[ki,Ni,Ii,Oi,Li],ordinal:[Li]},rr=Mi,or={cardinal:[ki,Ii,Li],ordinal:[Li]},ar={cardinal:[ki,Oi,Li],ordinal:[ki,Ni,Ii,Li]},sr=Mi,lr=Mi,ur=Mi,cr=Mi,hr=Mi,dr={cardinal:[ki,Ii,Oi,Li],ordinal:[Li]},fr={cardinal:[zi,ki,Ni,Ii,Oi,Li],ordinal:[zi,ki,Ni,Ii,Oi,Li]},_r=Mi,pr=Mi,mr=Mi,vr={cardinal:[ki,Ni,Ii,Li],ordinal:[Li]},gr=Mi,yr=Ri,br=Mi,wr=Mi,Er={cardinal:[ki,Li],ordinal:[ki,Ni,Ii,Li]},xr=Mi,Cr={cardinal:[ki,Oi,Li],ordinal:[Li]},Tr=Mi,Ar=Mi,Sr=Mi,zr=Mi,kr=Mi,Nr=$i,Ir=Mi,Or={cardinal:[ki,Oi,Li],ordinal:[ki,Li]},Lr=Mi,Mr=Mi,$r={cardinal:[ki,Ni,Ii,Oi,Li],ordinal:[ki,Li]},Rr={cardinal:[ki,Ni,Ii,Li],ordinal:[ki,Ni,Ii,Li]},Pr=Mi,Ur=Mi,jr={cardinal:[ki,Li],ordinal:[ki,Ni,Ii,Oi,Li]},qr=Mi,Dr={cardinal:[ki,Ni,Ii,Oi,Li],ordinal:[Li]},Br=Mi,Fr=Mi,Wr=Pi,Gr={cardinal:[ki,Li],ordinal:[ki,Ni,Ii,Oi,Li]},Hr=Ri,Vr={cardinal:[ki,Ii,Li],ordinal:[Li]},Xr={cardinal:[ki,Ni,Ii,Li],ordinal:[Li]},Jr=$i,Zr=$i,Yr=Mi,Kr=Ri,Qr=Ri,to=Ri,eo=Mi,no=Mi,io={cardinal:[ki,Oi,Li],ordinal:[Oi,Li]},ro=Pi,oo=Ri,ao=Ri,so=Mi,lo=Mi,uo=Ri,co=Ri,ho={cardinal:[ki,Li],ordinal:[ki,Oi,Li]},fo=Mi,_o=Mi,po=Mi,mo=Ri,vo=Ri,go={cardinal:[ki,Li],ordinal:[Oi,Li]},yo=Mi,bo=Mi,wo=Ri,Eo=Mi,xo=Ri,Co=Mi,To=Mi,Ao={cardinal:[zi,ki,Li],ordinal:[Li]},So=Mi,zo={cardinal:[zi,ki,Ni,Ii,Oi,Li],ordinal:[ki,Oi,Li]},ko=Mi,No={cardinal:[zi,ki,Li],ordinal:[Li]},Io=Mi,Oo=Mi,Lo={cardinal:[ki,Li],ordinal:[Oi,Li]},Mo=Ri,$o=Mi,Ro={cardinal:[Li],ordinal:[ki,Li]},Po={cardinal:[ki,Ii,Oi,Li],ordinal:[Li]},Uo={cardinal:[zi,ki,Li],ordinal:[Li]},jo=Mi,qo=Mi,Do=Mi,Bo={cardinal:[ki,Li],ordinal:[ki,Ni,Oi,Li]},Fo=Mi,Wo=Mi,Go={cardinal:[ki,Ii,Li],ordinal:[ki,Li]},Ho={cardinal:[ki,Li],ordinal:[ki,Ni,Ii,Li]},Vo={cardinal:[Li],ordinal:[ki,Li]},Xo={cardinal:[ki,Ni,Ii,Oi,Li],ordinal:[Li]},Jo=Ri,Zo=Mi,Yo=Pi,Ko=Mi,Qo=Mi,ta=$i,ea=Mi,na=Mi,ia=Mi,ra=Mi,oa=Ri,aa=Mi,sa=Mi,la=Mi,ua=Mi,ca=Mi,ha={cardinal:[ki,Li],ordinal:[ki,Ni,Ii,Oi,Li]},da=Mi,fa=Ri,_a=Mi,pa=Mi,ma=Mi,va={cardinal:[ki,Ii,Oi,Li],ordinal:[Li]},ga={cardinal:[zi,ki,Li],ordinal:[Li]},ya=Mi,ba={cardinal:[ki,Oi,Li],ordinal:[Li]},wa={cardinal:[ki,Oi,Li],ordinal:[Li]},Ea=Mi,xa={cardinal:[ki,Ii,Li],ordinal:[ki,Li]},Ca=Mi,Ta={cardinal:[ki,Ii,Oi,Li],ordinal:[Li]},Aa=Mi,Sa=Ri,za=Mi,ka=Pi,Na={cardinal:[ki,Li],ordinal:[Oi,Li]},Ia={cardinal:[ki,Li],ordinal:[Oi,Li]},Oa=Mi,La=Mi,Ma=Pi,$a=Mi,Ra=Ri,Pa=Ri,Ua={cardinal:[ki,Ii,Li],ordinal:[Li]},ja={cardinal:[ki,Ii,Li],ordinal:[Li]},qa=Mi,Da={cardinal:[ki,Ii,Oi,Li],ordinal:[Li]},Ba={cardinal:[ki,Ni,Ii,Li],ordinal:[Li]},Fa=Pi,Wa=Pi,Ga=Pi,Ha=Pi,Va=Pi,Xa=Mi,Ja=Mi,Za={cardinal:[ki,Li],ordinal:[ki,Oi,Li]},Ya={cardinal:[ki,Ii,Li],ordinal:[Li]},Ka=Mi,Qa=Mi,ts=Mi,es=Ri,ns=$i,is=Mi,rs=Mi,os=Mi,as=Mi,ss=Mi,ls=Ri,us=Mi,cs=Mi,hs={cardinal:[ki,Li],ordinal:[Ii,Li]},ds=$i,fs=Mi,_s=Ri,ps=Ri,ms=Mi,vs=Mi,gs=Mi,ys=Mi,bs={cardinal:[ki,Ii,Oi,Li],ordinal:[Ii,Li]},ws=Ri,Es=Mi,xs=Mi,Cs=Mi,Ts={cardinal:[ki,Oi,Li],ordinal:[Oi,Li]},As={cardinal:[Li],ordinal:[ki,Li]},Ss=Mi,zs=Mi,ks=Mi,Ns=Mi,Is=Ri,Os=Mi,Ls=Mi,Ms=Mi,$s=Ri,Rs=Ri,Ps=Ri,Us=Mi;var js=Object.freeze({__proto__:null,af:Ui,ak:ji,am:qi,an:Di,ar:Bi,ars:Fi,as:Wi,asa:Gi,ast:Hi,az:Vi,bal:Xi,be:Ji,bem:Zi,bez:Yi,bg:Ki,bho:Qi,bm:tr,bn:er,bo:nr,br:ir,brx:rr,bs:or,ca:ar,ce:sr,ceb:lr,cgg:ur,chr:cr,ckb:hr,cs:dr,cy:fr,da:_r,de:pr,doi:mr,dsb:vr,dv:gr,dz:yr,ee:br,el:wr,en:Er,eo:xr,es:Cr,et:Tr,eu:Ar,fa:Sr,ff:zr,fi:kr,fil:Nr,fo:Ir,fr:Or,fur:Lr,fy:Mr,ga:$r,gd:Rr,gl:Pr,gsw:Ur,gu:jr,guw:qr,gv:Dr,ha:Br,haw:Fr,he:Wr,hi:Gr,hnj:Hr,hr:Vr,hsb:Xr,hu:Jr,hy:Zr,ia:Yr,id:Kr,ig:Qr,ii:to,io:eo,is:no,it:io,iu:ro,ja:oo,jbo:ao,jgo:so,jmc:lo,jv:uo,jw:co,ka:ho,kab:fo,kaj:_o,kcg:po,kde:mo,kea:vo,kk:go,kkj:yo,kl:bo,km:wo,kn:Eo,ko:xo,ks:Co,ksb:To,ksh:Ao,ku:So,kw:zo,ky:ko,lag:No,lb:Io,lg:Oo,lij:Lo,lkt:Mo,ln:$o,lo:Ro,lt:Po,lv:Uo,mas:jo,mg:qo,mgo:Do,mk:Bo,ml:Fo,mn:Wo,mo:Go,mr:Ho,ms:Vo,mt:Xo,my:Jo,nah:Zo,naq:Yo,nb:Ko,nd:Qo,ne:ta,nl:ea,nn:na,nnh:ia,no:ra,nqo:oa,nr:aa,nso:sa,ny:la,nyn:ua,om:ca,or:ha,os:da,osa:fa,pa:_a,pap:pa,pcm:ma,pl:va,prg:ga,ps:ya,pt:ba,pt_PT:wa,rm:Ea,ro:xa,rof:Ca,ru:Ta,rwk:Aa,sah:Sa,saq:za,sat:ka,sc:Na,scn:Ia,sd:Oa,sdh:La,se:Ma,seh:$a,ses:Ra,sg:Pa,sh:Ua,shi:ja,si:qa,sk:Da,sl:Ba,sma:Fa,smi:Wa,smj:Ga,smn:Ha,sms:Va,sn:Xa,so:Ja,sq:Za,sr:Ya,ss:Ka,ssy:Qa,st:ts,su:es,sv:ns,sw:is,syr:rs,ta:os,te:as,teo:ss,th:ls,ti:us,tig:cs,tk:hs,tl:ds,tn:fs,to:_s,tpi:ps,tr:ms,ts:vs,tzm:gs,ug:ys,uk:bs,und:ws,ur:Es,uz:xs,ve:Cs,vec:Ts,vi:As,vo:Ss,vun:zs,wa:ks,wae:Ns,wo:Is,xh:Os,xog:Ls,yi:Ms,yo:$s,yue:Rs,zh:Ps,zu:Us});const qs=(t,e)=>e?"other":1==t?"one":"other",Ds=(t,e)=>e?"other":0==t||1==t?"one":"other",Bs=(t,e)=>e?"other":t>=0&&t<=1?"one":"other",Fs=(t,e)=>{const n=!String(t).split(".")[1];return e?"other":1==t&&n?"one":"other"},Ws=(t,e)=>"other",Gs=(t,e)=>e?"other":1==t?"one":2==t?"two":"other",Hs=qs,Vs=Ds,Xs=Bs,Js=qs,Zs=qs,Ys=Fs,Ks=qs,Qs=qs,tl=qs,el=Ds,nl=Ws,il=Ws,rl=qs,ol=qs,al=qs,sl=qs,ll=qs,ul=Fs,cl=Bs,hl=qs,dl=Ws,fl=qs,_l=qs,pl=qs,ml=Fs,vl=qs,gl=Bs,yl=Fs,bl=qs,wl=qs,El=Fs,xl=Fs,Cl=qs,Tl=Ds,Al=qs,Sl=qs,zl=Ws,kl=Fs,Nl=Ws,Il=Ws,Ol=Ws,Ll=Fs,Ml=Gs,$l=Ws,Rl=Ws,Pl=qs,Ul=qs,jl=Ws,ql=Ws,Dl=qs,Bl=qs,Fl=Ws,Wl=Ws,Gl=qs,Hl=qs,Vl=Ws,Xl=Bs,Jl=Ws,Zl=qs,Yl=qs,Kl=qs,Ql=qs,tu=qs,eu=qs,nu=Ws,iu=Ds,ru=qs,ou=Ds,au=qs,su=qs,lu=qs,uu=Ws,cu=qs,hu=Gs,du=qs,fu=qs,_u=Fs,pu=qs,mu=qs,vu=qs,gu=Ws,yu=qs,bu=Ds,wu=qs,Eu=qs,xu=qs,Cu=qs,Tu=Ws,Au=Ds,Su=qs,zu=Bs,ku=qs,Nu=qs,Iu=qs,Ou=qs,Lu=Ws,Mu=qs,$u=Gs,Ru=qs,Pu=qs,Uu=Gs,ju=qs,qu=Ws,Du=Ws,Bu=Gs,Fu=Gs,Wu=Gs,Gu=Gs,Hu=Gs,Vu=qs,Xu=qs,Ju=qs,Zu=qs,Yu=qs,Ku=Ws,Qu=Fs,tc=qs,ec=qs,nc=qs,ic=qs,rc=Ws,oc=Ds,ac=qs,sc=qs,lc=Ws,uc=Ws,cc=qs,hc=qs,dc=qs,fc=Ws,_c=Fs,pc=qs,mc=qs,vc=qs,gc=qs,yc=Ds,bc=qs,wc=Ws,Ec=qs,xc=qs,Cc=Fs,Tc=Ws,Ac=Ws,Sc=Ws,zc=Bs;var kc=Object.freeze({__proto__:null,af:Hs,ak:Vs,am:Xs,an:Js,ar:(t,e)=>{const n=String(t).split("."),i=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":i>=3&&i<=10?"few":i>=11&&i<=99?"many":"other"},ars:(t,e)=>{const n=String(t).split("."),i=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":i>=3&&i<=10?"few":i>=11&&i<=99?"many":"other"},as:(t,e)=>e?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",asa:Zs,ast:Ys,az:(t,e)=>{const n=String(t).split(".")[0],i=n.slice(-1),r=n.slice(-2),o=n.slice(-3);return e?1==i||2==i||5==i||7==i||8==i||20==r||50==r||70==r||80==r?"one":3==i||4==i||100==o||200==o||300==o||400==o||500==o||600==o||700==o||800==o||900==o?"few":0==n||6==i||40==r||60==r||90==r?"many":"other":1==t?"one":"other"},bal:(t,e)=>1==t?"one":"other",be:(t,e)=>{const n=String(t).split("."),i=Number(n[0])==t,r=i&&n[0].slice(-1),o=i&&n[0].slice(-2);return e?2!=r&&3!=r||12==o||13==o?"other":"few":1==r&&11!=o?"one":r>=2&&r<=4&&(o<12||o>14)?"few":i&&0==r||r>=5&&r<=9||o>=11&&o<=14?"many":"other"},bem:Ks,bez:Qs,bg:tl,bho:el,bm:nl,bn:(t,e)=>e?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",bo:il,br:(t,e)=>{const n=String(t).split("."),i=Number(n[0])==t,r=i&&n[0].slice(-1),o=i&&n[0].slice(-2),a=i&&n[0].slice(-6);return e?"other":1==r&&11!=o&&71!=o&&91!=o?"one":2==r&&12!=o&&72!=o&&92!=o?"two":(3==r||4==r||9==r)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":0!=t&&i&&0==a?"many":"other"},brx:rl,bs:(t,e)=>{const n=String(t).split("."),i=n[0],r=n[1]||"",o=!n[1],a=i.slice(-1),s=i.slice(-2),l=r.slice(-1),u=r.slice(-2);return e?"other":o&&1==a&&11!=s||1==l&&11!=u?"one":o&&a>=2&&a<=4&&(s<12||s>14)||l>=2&&l<=4&&(u<12||u>14)?"few":"other"},ca:(t,e)=>{const n=String(t).split("."),i=n[0],r=!n[1],o=i.slice(-6);return e?1==t||3==t?"one":2==t?"two":4==t?"few":"other":1==t&&r?"one":0!=i&&0==o&&r?"many":"other"},ce:ol,ceb:(t,e)=>{const n=String(t).split("."),i=n[0],r=n[1]||"",o=!n[1],a=i.slice(-1),s=r.slice(-1);return e?"other":o&&(1==i||2==i||3==i)||o&&4!=a&&6!=a&&9!=a||!o&&4!=s&&6!=s&&9!=s?"one":"other"},cgg:al,chr:sl,ckb:ll,cs:(t,e)=>{const n=String(t).split("."),i=n[0],r=!n[1];return e?"other":1==t&&r?"one":i>=2&&i<=4&&r?"few":r?"other":"many"},cy:(t,e)=>e?0==t||7==t||8==t||9==t?"zero":1==t?"one":2==t?"two":3==t||4==t?"few":5==t||6==t?"many":"other":0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other",da:(t,e)=>{const n=String(t).split("."),i=n[0],r=Number(n[0])==t;return e||1!=t&&(r||0!=i&&1!=i)?"other":"one"},de:ul,doi:cl,dsb:(t,e)=>{const n=String(t).split("."),i=n[0],r=n[1]||"",o=!n[1],a=i.slice(-2),s=r.slice(-2);return e?"other":o&&1==a||1==s?"one":o&&2==a||2==s?"two":o&&(3==a||4==a)||3==s||4==s?"few":"other"},dv:hl,dz:dl,ee:fl,el:_l,en:(t,e)=>{const n=String(t).split("."),i=!n[1],r=Number(n[0])==t,o=r&&n[0].slice(-1),a=r&&n[0].slice(-2);return e?1==o&&11!=a?"one":2==o&&12!=a?"two":3==o&&13!=a?"few":"other":1==t&&i?"one":"other"},eo:pl,es:(t,e)=>{const n=String(t).split("."),i=n[0],r=!n[1],o=i.slice(-6);return e?"other":1==t?"one":0!=i&&0==o&&r?"many":"other"},et:ml,eu:vl,fa:gl,ff:(t,e)=>e?"other":t>=0&&t<2?"one":"other",fi:yl,fil:(t,e)=>{const n=String(t).split("."),i=n[0],r=n[1]||"",o=!n[1],a=i.slice(-1),s=r.slice(-1);return e?1==t?"one":"other":o&&(1==i||2==i||3==i)||o&&4!=a&&6!=a&&9!=a||!o&&4!=s&&6!=s&&9!=s?"one":"other"},fo:bl,fr:(t,e)=>{const n=String(t).split("."),i=n[0],r=!n[1],o=i.slice(-6);return e?1==t?"one":"other":t>=0&&t<2?"one":0!=i&&0==o&&r?"many":"other"},fur:wl,fy:El,ga:(t,e)=>{const n=String(t).split("."),i=Number(n[0])==t;return e?1==t?"one":"other":1==t?"one":2==t?"two":i&&t>=3&&t<=6?"few":i&&t>=7&&t<=10?"many":"other"},gd:(t,e)=>{const n=String(t).split("."),i=Number(n[0])==t;return e?1==t||11==t?"one":2==t||12==t?"two":3==t||13==t?"few":"other":1==t||11==t?"one":2==t||12==t?"two":i&&t>=3&&t<=10||i&&t>=13&&t<=19?"few":"other"},gl:xl,gsw:Cl,gu:(t,e)=>e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",guw:Tl,gv:(t,e)=>{const n=String(t).split("."),i=n[0],r=!n[1],o=i.slice(-1),a=i.slice(-2);return e?"other":r&&1==o?"one":r&&2==o?"two":!r||0!=a&&20!=a&&40!=a&&60!=a&&80!=a?r?"other":"many":"few"},ha:Al,haw:Sl,he:(t,e)=>{const n=String(t).split("."),i=n[0],r=!n[1];return e?"other":1==i&&r||0==i&&!r?"one":2==i&&r?"two":"other"},hi:(t,e)=>e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",hnj:zl,hr:(t,e)=>{const n=String(t).split("."),i=n[0],r=n[1]||"",o=!n[1],a=i.slice(-1),s=i.slice(-2),l=r.slice(-1),u=r.slice(-2);return e?"other":o&&1==a&&11!=s||1==l&&11!=u?"one":o&&a>=2&&a<=4&&(s<12||s>14)||l>=2&&l<=4&&(u<12||u>14)?"few":"other"},hsb:(t,e)=>{const n=String(t).split("."),i=n[0],r=n[1]||"",o=!n[1],a=i.slice(-2),s=r.slice(-2);return e?"other":o&&1==a||1==s?"one":o&&2==a||2==s?"two":o&&(3==a||4==a)||3==s||4==s?"few":"other"},hu:(t,e)=>e?1==t||5==t?"one":"other":1==t?"one":"other",hy:(t,e)=>e?1==t?"one":"other":t>=0&&t<2?"one":"other",ia:kl,id:Nl,ig:Il,ii:Ol,io:Ll,is:(t,e)=>{const n=String(t).split("."),i=n[0],r=(n[1]||"").replace(/0+$/,""),o=Number(n[0])==t,a=i.slice(-1),s=i.slice(-2);return e?"other":o&&1==a&&11!=s||r%10==1&&r%100!=11?"one":"other"},it:(t,e)=>{const n=String(t).split("."),i=n[0],r=!n[1],o=i.slice(-6);return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&r?"one":0!=i&&0==o&&r?"many":"other"},iu:Ml,ja:$l,jbo:Rl,jgo:Pl,jmc:Ul,jv:jl,jw:ql,ka:(t,e)=>{const n=String(t).split(".")[0],i=n.slice(-2);return e?1==n?"one":0==n||i>=2&&i<=20||40==i||60==i||80==i?"many":"other":1==t?"one":"other"},kab:(t,e)=>e?"other":t>=0&&t<2?"one":"other",kaj:Dl,kcg:Bl,kde:Fl,kea:Wl,kk:(t,e)=>{const n=String(t).split("."),i=Number(n[0])==t,r=i&&n[0].slice(-1);return e?6==r||9==r||i&&0==r&&0!=t?"many":"other":1==t?"one":"other"},kkj:Gl,kl:Hl,km:Vl,kn:Xl,ko:Jl,ks:Zl,ksb:Yl,ksh:(t,e)=>e?"other":0==t?"zero":1==t?"one":"other",ku:Kl,kw:(t,e)=>{const n=String(t).split("."),i=Number(n[0])==t,r=i&&n[0].slice(-2),o=i&&n[0].slice(-3),a=i&&n[0].slice(-5),s=i&&n[0].slice(-6);return e?i&&t>=1&&t<=4||r>=1&&r<=4||r>=21&&r<=24||r>=41&&r<=44||r>=61&&r<=64||r>=81&&r<=84?"one":5==t||5==r?"many":"other":0==t?"zero":1==t?"one":2==r||22==r||42==r||62==r||82==r||i&&0==o&&(a>=1e3&&a<=2e4||4e4==a||6e4==a||8e4==a)||0!=t&&1e5==s?"two":3==r||23==r||43==r||63==r||83==r?"few":1==t||1!=r&&21!=r&&41!=r&&61!=r&&81!=r?"other":"many"},ky:Ql,lag:(t,e)=>{const n=String(t).split(".")[0];return e?"other":0==t?"zero":0!=n&&1!=n||0==t?"other":"one"},lb:tu,lg:eu,lij:(t,e)=>{const n=String(t).split("."),i=!n[1],r=Number(n[0])==t;return e?11==t||8==t||r&&t>=80&&t<=89||r&&t>=800&&t<=899?"many":"other":1==t&&i?"one":"other"},lkt:nu,ln:iu,lo:(t,e)=>e&&1==t?"one":"other",lt:(t,e)=>{const n=String(t).split("."),i=n[1]||"",r=Number(n[0])==t,o=r&&n[0].slice(-1),a=r&&n[0].slice(-2);return e?"other":1==o&&(a<11||a>19)?"one":o>=2&&o<=9&&(a<11||a>19)?"few":0!=i?"many":"other"},lv:(t,e)=>{const n=String(t).split("."),i=n[1]||"",r=i.length,o=Number(n[0])==t,a=o&&n[0].slice(-1),s=o&&n[0].slice(-2),l=i.slice(-2),u=i.slice(-1);return e?"other":o&&0==a||s>=11&&s<=19||2==r&&l>=11&&l<=19?"zero":1==a&&11!=s||2==r&&1==u&&11!=l||2!=r&&1==u?"one":"other"},mas:ru,mg:ou,mgo:au,mk:(t,e)=>{const n=String(t).split("."),i=n[0],r=n[1]||"",o=!n[1],a=i.slice(-1),s=i.slice(-2),l=r.slice(-1),u=r.slice(-2);return e?1==a&&11!=s?"one":2==a&&12!=s?"two":7!=a&&8!=a||17==s||18==s?"other":"many":o&&1==a&&11!=s||1==l&&11!=u?"one":"other"},ml:su,mn:lu,mo:(t,e)=>{const n=String(t).split("."),i=!n[1],r=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&i?"one":!i||0==t||1!=t&&r>=1&&r<=19?"few":"other"},mr:(t,e)=>e?1==t?"one":2==t||3==t?"two":4==t?"few":"other":1==t?"one":"other",ms:(t,e)=>e&&1==t?"one":"other",mt:(t,e)=>{const n=String(t).split("."),i=Number(n[0])==t&&n[0].slice(-2);return e?"other":1==t?"one":2==t?"two":0==t||i>=3&&i<=10?"few":i>=11&&i<=19?"many":"other"},my:uu,nah:cu,naq:hu,nb:du,nd:fu,ne:(t,e)=>{const n=String(t).split("."),i=Number(n[0])==t;return e?i&&t>=1&&t<=4?"one":"other":1==t?"one":"other"},nl:_u,nn:pu,nnh:mu,no:vu,nqo:gu,nr:yu,nso:bu,ny:wu,nyn:Eu,om:xu,or:(t,e)=>{const n=String(t).split("."),i=Number(n[0])==t;return e?1==t||5==t||i&&t>=7&&t<=9?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":1==t?"one":"other"},os:Cu,osa:Tu,pa:Au,pap:Su,pcm:zu,pl:(t,e)=>{const n=String(t).split("."),i=n[0],r=!n[1],o=i.slice(-1),a=i.slice(-2);return e?"other":1==t&&r?"one":r&&o>=2&&o<=4&&(a<12||a>14)?"few":r&&1!=i&&(0==o||1==o)||r&&o>=5&&o<=9||r&&a>=12&&a<=14?"many":"other"},prg:(t,e)=>{const n=String(t).split("."),i=n[1]||"",r=i.length,o=Number(n[0])==t,a=o&&n[0].slice(-1),s=o&&n[0].slice(-2),l=i.slice(-2),u=i.slice(-1);return e?"other":o&&0==a||s>=11&&s<=19||2==r&&l>=11&&l<=19?"zero":1==a&&11!=s||2==r&&1==u&&11!=l||2!=r&&1==u?"one":"other"},ps:ku,pt:(t,e)=>{const n=String(t).split("."),i=n[0],r=!n[1],o=i.slice(-6);return e?"other":0==i||1==i?"one":0!=i&&0==o&&r?"many":"other"},pt_PT:(t,e)=>{const n=String(t).split("."),i=n[0],r=!n[1],o=i.slice(-6);return e?"other":1==t&&r?"one":0!=i&&0==o&&r?"many":"other"},rm:Nu,ro:(t,e)=>{const n=String(t).split("."),i=!n[1],r=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&i?"one":!i||0==t||1!=t&&r>=1&&r<=19?"few":"other"},rof:Iu,ru:(t,e)=>{const n=String(t).split("."),i=n[0],r=!n[1],o=i.slice(-1),a=i.slice(-2);return e?"other":r&&1==o&&11!=a?"one":r&&o>=2&&o<=4&&(a<12||a>14)?"few":r&&0==o||r&&o>=5&&o<=9||r&&a>=11&&a<=14?"many":"other"},rwk:Ou,sah:Lu,saq:Mu,sat:$u,sc:(t,e)=>{const n=!String(t).split(".")[1];return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&n?"one":"other"},scn:(t,e)=>{const n=!String(t).split(".")[1];return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&n?"one":"other"},sd:Ru,sdh:Pu,se:Uu,seh:ju,ses:qu,sg:Du,sh:(t,e)=>{const n=String(t).split("."),i=n[0],r=n[1]||"",o=!n[1],a=i.slice(-1),s=i.slice(-2),l=r.slice(-1),u=r.slice(-2);return e?"other":o&&1==a&&11!=s||1==l&&11!=u?"one":o&&a>=2&&a<=4&&(s<12||s>14)||l>=2&&l<=4&&(u<12||u>14)?"few":"other"},shi:(t,e)=>{const n=String(t).split("."),i=Number(n[0])==t;return e?"other":t>=0&&t<=1?"one":i&&t>=2&&t<=10?"few":"other"},si:(t,e)=>{const n=String(t).split("."),i=n[0],r=n[1]||"";return e?"other":0==t||1==t||0==i&&1==r?"one":"other"},sk:(t,e)=>{const n=String(t).split("."),i=n[0],r=!n[1];return e?"other":1==t&&r?"one":i>=2&&i<=4&&r?"few":r?"other":"many"},sl:(t,e)=>{const n=String(t).split("."),i=n[0],r=!n[1],o=i.slice(-2);return e?"other":r&&1==o?"one":r&&2==o?"two":r&&(3==o||4==o)||!r?"few":"other"},sma:Bu,smi:Fu,smj:Wu,smn:Gu,sms:Hu,sn:Vu,so:Xu,sq:(t,e)=>{const n=String(t).split("."),i=Number(n[0])==t,r=i&&n[0].slice(-1),o=i&&n[0].slice(-2);return e?1==t?"one":4==r&&14!=o?"many":"other":1==t?"one":"other"},sr:(t,e)=>{const n=String(t).split("."),i=n[0],r=n[1]||"",o=!n[1],a=i.slice(-1),s=i.slice(-2),l=r.slice(-1),u=r.slice(-2);return e?"other":o&&1==a&&11!=s||1==l&&11!=u?"one":o&&a>=2&&a<=4&&(s<12||s>14)||l>=2&&l<=4&&(u<12||u>14)?"few":"other"},ss:Ju,ssy:Zu,st:Yu,su:Ku,sv:(t,e)=>{const n=String(t).split("."),i=!n[1],r=Number(n[0])==t,o=r&&n[0].slice(-1),a=r&&n[0].slice(-2);return e?1!=o&&2!=o||11==a||12==a?"other":"one":1==t&&i?"one":"other"},sw:Qu,syr:tc,ta:ec,te:nc,teo:ic,th:rc,ti:oc,tig:ac,tk:(t,e)=>{const n=String(t).split("."),i=Number(n[0])==t&&n[0].slice(-1);return e?6==i||9==i||10==t?"few":"other":1==t?"one":"other"},tl:(t,e)=>{const n=String(t).split("."),i=n[0],r=n[1]||"",o=!n[1],a=i.slice(-1),s=r.slice(-1);return e?1==t?"one":"other":o&&(1==i||2==i||3==i)||o&&4!=a&&6!=a&&9!=a||!o&&4!=s&&6!=s&&9!=s?"one":"other"},tn:sc,to:lc,tpi:uc,tr:cc,ts:hc,tzm:(t,e)=>{const n=String(t).split("."),i=Number(n[0])==t;return e?"other":0==t||1==t||i&&t>=11&&t<=99?"one":"other"},ug:dc,uk:(t,e)=>{const n=String(t).split("."),i=n[0],r=!n[1],o=Number(n[0])==t,a=o&&n[0].slice(-1),s=o&&n[0].slice(-2),l=i.slice(-1),u=i.slice(-2);return e?3==a&&13!=s?"few":"other":r&&1==l&&11!=u?"one":r&&l>=2&&l<=4&&(u<12||u>14)?"few":r&&0==l||r&&l>=5&&l<=9||r&&u>=11&&u<=14?"many":"other"},und:fc,ur:_c,uz:pc,ve:mc,vec:(t,e)=>{const n=String(t).split("."),i=n[0],r=!n[1],o=i.slice(-6);return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&r?"one":0!=i&&0==o&&r?"many":"other"},vi:(t,e)=>e&&1==t?"one":"other",vo:vc,vun:gc,wa:yc,wae:bc,wo:wc,xh:Ec,xog:xc,yi:Cc,yo:Tc,yue:Ac,zh:Sc,zu:zc});function Nc(t){if("string"!=typeof t||t.length<2)throw new RangeError("Invalid language tag: ".concat(t));if(t.startsWith("pt-PT"))return"pt-PT";var e=t.match(/.+?(?=[-_])/);return e?e[0]:t}function Ic(t){if("function"==typeof t){var e=Nc(t.name);return{isDefault:!1,id:ut(e),lc:e,locale:t.name,getPlural:t,cardinals:t.cardinals||[],ordinals:t.ordinals||[]}}var n=Nc(t),i=ut(n);return function(t){return t in kc}(i)?{isDefault:!0,id:i,lc:n,locale:t,getCardinal:Si[i],getPlural:kc[i],cardinals:js[i].cardinal,ordinals:js[i].ordinal}:null}function Oc(t){return ut(Nc(t))in kc}return function(){function n(t,e){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:e&&e.strictNumberSign||!1},e),"*"===t?this.plurals=(r=n.defaultLocale,(o=Object.keys(kc).filter((function(t){return t!==r}))).unshift(r),o.map(Ic)):Array.isArray(t)?this.plurals=t.map(Ic).filter(Boolean):t&&(i=Ic(t))&&(this.plurals=[i]),0===this.plurals.length){var i=Ic(n.defaultLocale);this.plurals=[i]}var r,o}return n.escape=function(t,e){var n=e?/[#{}]/g:/[{}]/g;return String(t).replace(n,"'$&'")},n.supportedLocalesOf=function(t){return(Array.isArray(t)?t:[t]).filter(Oc)},n.prototype.resolvedOptions=function(){return t(t({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},n.prototype.compile=function(t){var n,o,a=new ft(this.options),s="return "+a.compile(t,this.plurals[0]),l=[],u=[];try{for(var c=e(Object.entries(a.runtime)),h=c.next();!h.done;h=c.next()){var d=i(h.value,2),f=d[0],_=d[1];l.push(f),u.push(_)}}catch(t){n={error:t}}finally{try{h&&!h.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}return(new(Function.bind.apply(Function,r(r([void 0],i(l),!1),[s],!1)))).apply(void 0,r([],i(u),!1))},n.defaultLocale="en",n}()}()},9969:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)([(0,o.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),(0,o.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime")},53914:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M4 10h3v7H4zm6.5 0h3v7h-3zM2 19h20v3H2zm15-9h3v7h-3zm-5-9L2 6v2h20V6z"}),"AccountBalance")},54885:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6m0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20"}),"AccountCircle")},97916:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},47973:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M3 4V1h2v3h3v2H5v3H3V6H0V4zm3 6V7h3V4h7l1.83 2H21c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V10zm7 9c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5m-3.2-5c0 1.77 1.43 3.2 3.2 3.2s3.2-1.43 3.2-3.2-1.43-3.2-3.2-3.2-3.2 1.43-3.2 3.2"}),"AddAPhoto")},66778:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack")},79453:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward")},41540:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward")},4118:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward")},85722:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"}),"Article")},90472:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m2 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"}),"Assignment")},32560:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m-2 14-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9z"}),"AssignmentTurnedIn")},37990:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M2 12.5C2 9.46 4.46 7 7.5 7H18c2.21 0 4 1.79 4 4s-1.79 4-4 4H9.5C8.12 15 7 13.88 7 12.5S8.12 10 9.5 10H17v2H9.41c-.55 0-.55 1 0 1H18c1.1 0 2-.9 2-2s-.9-2-2-2H7.5C5.57 9 4 10.57 4 12.5S5.57 16 7.5 16H17v2H7.5C4.46 18 2 15.54 2 12.5"}),"Attachment")},84033:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M12 3v9.28c-.47-.17-.97-.28-1.5-.28C8.01 12 6 14.01 6 16.5S8.01 21 10.5 21c2.31 0 4.2-1.75 4.45-4H15V6h4V3z"}),"Audiotrack")},41386:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M20 7h-5V4c0-1.1-.9-2-2-2h-2c-1.1 0-2 .9-2 2v3H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2M9 12c.83 0 1.5.67 1.5 1.5S9.83 15 9 15s-1.5-.67-1.5-1.5S8.17 12 9 12m3 6H6v-.75c0-1 2-1.5 3-1.5s3 .5 3 1.5zm1-9h-2V4h2zm5 7.5h-4V15h4zm0-3h-4V12h4z"}),"Badge")},97879:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M6 4h5v8l-2.5-1.5L6 12z"}),"Book")},81140:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M9 4h2v5l-1-.75L9 9zm9 16H6V4h1v9l3-2.25L13 13V4h5z"}),"BookOutlined")},46849:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 18H4V8h16z"}),"CalendarToday")},82665:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99"}),"Call")},8723:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}),"Cancel")},26794:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M6 9h12v2H6zm8 5H6v-2h8zm4-6H6V6h12z"}),"Chat")},93061:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check")},39197:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"CheckBoxOutlineBlank")},34633:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V5h14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"}),"CheckBoxOutlined")},92292:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear")},3206:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},12724:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2m-11-4 2.03 2.71L16 11l4 5H8zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6z"}),"Collections")},4295:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4zM18 14H6v-2h12zm0-3H6V9h12zm0-3H6V6h12z"}),"Comment")},45923:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy")},65277:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M18 2H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H9V4h9zM3 15v-2h2v2zm0-5.5h2v2H3zM10 20h2v2h-2zm-7-1.5v-2h2v2zM5 22c-1.1 0-2-.9-2-2h2zm3.5 0h-2v-2h2zm5 0v-2h2c0 1.1-.9 2-2 2M5 6v2H3c0-1.1.9-2 2-2"}),"CopyAll")},84165:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M3 5v4h2V5h4V3H5c-1.1 0-2 .9-2 2m2 10H3v4c0 1.1.9 2 2 2h4v-2H5zm14 4h-4v2h4c1.1 0 2-.9 2-2v-4h-2zm0-16h-4v2h4v4h2V5c0-1.1-.9-2-2-2"}),"CropFree")},15971:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete")},42537:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"}),"DeleteForever")},17370:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"}),"Done")},72255:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"m18 7-1.41-1.41-6.34 6.34 1.41 1.41zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12zM.41 13.41 6 19l1.41-1.41L1.83 12z"}),"DoneAll")},30330:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"}),"Download")},25117:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M20.13 5.41 18.72 4l-9.19 9.19-4.25-4.24-1.41 1.41 5.66 5.66zM5 18h14v2H5z"}),"DownloadDone")},3832:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-6 12v-3h-4v-4h4V8l5 5z"}),"DriveFileMove")},3539:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M18.41 5.8 17.2 4.59c-.78-.78-2.05-.78-2.83 0l-2.68 2.68L3 15.96V20h4.04l8.74-8.74 2.63-2.63c.79-.78.79-2.05 0-2.83M6.21 18H5v-1.21l8.66-8.66 1.21 1.21zM11 20l4-4h6v4z"}),"DriveFileRenameOutline")},46701:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit")},37621:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Email")},80698:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2M5 8V7h2v3.82C5.84 10.4 5 9.3 5 8m14 0c0 1.3-.84 2.4-2 2.82V7h2z"}),"EmojiEvents")},49824:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error")},61898:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"ErrorOutline")},60341:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M17 12h-5v5h5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1zm3 18H5V8h14z"}),"Event")},68537:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M16.53 11.06 15.47 10l-4.88 4.88-2.12-2.12-1.06 1.06L10.59 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V8h14z"}),"EventAvailable")},70487:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M10.09 15.59 11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"ExitToApp")},74659:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess")},2266:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},19546:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload")},3581:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"}),"Folder")},95487:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1m-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1"}),"Forum")},72906:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"Group")},14229:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M22 9V7h-2v2h-2v2h2v2h2v-2h2V9zM8 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 1c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4m4.51-8.95C13.43 5.11 14 6.49 14 8s-.57 2.89-1.49 3.95C14.47 11.7 16 10.04 16 8s-1.53-3.7-3.49-3.95m4.02 9.78C17.42 14.66 18 15.7 18 17v3h2v-3c0-1.45-1.59-2.51-3.47-3.17"}),"GroupAdd")},45806:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M12 12.75c1.63 0 3.07.39 4.24.9 1.08.48 1.76 1.56 1.76 2.73V18H6v-1.61c0-1.18.68-2.26 1.76-2.73 1.17-.52 2.61-.91 4.24-.91M4 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m1.13 1.1c-.37-.06-.74-.1-1.13-.1-.99 0-1.93.21-2.78.58C.48 14.9 0 15.62 0 16.43V18h4.5v-1.61c0-.83.23-1.61.63-2.29M20 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m4 3.43c0-.81-.48-1.53-1.22-1.85-.85-.37-1.79-.58-2.78-.58-.39 0-.76.04-1.13.1.4.68.63 1.46.63 2.29V18H24zM12 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3"}),"Groups")},94777:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M14.59 8 12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"HighlightOffOutlined")},71760:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"m12 20-.86-.86c-1.18-1.18-1.17-3.1.02-4.26l.84-.82c-.39-.04-.68-.06-1-.06-2.67 0-8 1.34-8 4v2zm-1-8c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m5.18 7.78c-.39.39-1.03.39-1.42 0l-2.07-2.09c-.38-.39-.38-1.01 0-1.39l.01-.01c.39-.39 1.02-.39 1.4 0l1.37 1.37 4.43-4.46c.39-.39 1.02-.39 1.41 0l.01.01c.38.39.38 1.01 0 1.39z"}),"HowToRegRounded")},49957:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"}),"InsertDriveFile")},74538:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M21 10h-8.35C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H13l2 2 2-2 2 2 4-4.04zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3"}),"Key")},86987:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown")},22277:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp")},37194:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2m6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56M12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96M4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56m2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8M12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96M14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2m.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56M16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2z"}),"Language")},53560:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M20 4v12H8V4zm0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-7.53 12L9 10.5l1.4-1.41 2.07 2.08L17.6 6 19 7.41zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4z"}),"LibraryAddCheckOutlined")},18831:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-1 9H9V9h10zm-4 4H9v-2h6zm4-8H9V5h10z"}),"LibraryBooks")},16106:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link")},82570:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5m-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4zm-3-4h8v2H8z"}),"LinkOutlined")},47346:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"}),"LocationOn")},55870:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8z"}),"Login")},79038:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M17 6h-2V3c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v3H7c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2 0 .55.45 1 1 1s1-.45 1-1h6c0 .55.45 1 1 1s1-.45 1-1c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2M9.5 18H8V9h1.5zm3.25 0h-1.5V9h1.5zm.75-12h-3V3.5h3zM16 18h-1.5V9H16z"}),"Luggage")},9051:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu")},98313:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert")},77301:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M7 13.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m5 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m5 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5"}),"Pending")},15880:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M17 12c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5m1.65 7.35L16.5 17.2V14h1v2.79l1.85 1.85zM18 3h-3.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H6c-1.1 0-2 .9-2 2v15c0 1.1.9 2 2 2h6.11c-.59-.57-1.07-1.25-1.42-2H6V5h2v3h8V5h2v5.08c.71.1 1.38.31 2 .6V5c0-1.1-.9-2-2-2m-6 2c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1"}),"PendingActions")},91169:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"People")},57361:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"}),"Person")},37360:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M18.39 14.56C16.71 13.7 14.53 13 12 13s-4.71.7-6.39 1.56C4.61 15.07 4 16.1 4 17.22V20h16v-2.78c0-1.12-.61-2.15-1.61-2.66M9.78 12h4.44c1.21 0 2.14-1.06 1.98-2.26l-.32-2.45C15.57 5.39 13.92 4 12 4S8.43 5.39 8.12 7.29L7.8 9.74c-.16 1.2.77 2.26 1.98 2.26"}),"Person2")},24601:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m-9-2V7H4v3H1v2h3v3h2v-3h3v-2zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"}),"PersonAdd")},86231:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M7 8V5l-7 7 7 7v-3l-4-4zm6 1V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11"}),"ReplyAll")},35589:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27zM12 17.3c-.72 0-1.3-.58-1.3-1.3 0-.72.58-1.3 1.3-1.3.72 0 1.3.58 1.3 1.3 0 .72-.58 1.3-1.3 1.3m1-4.3h-2V7h2z"}),"Report")},78942:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z"}),"Restore")},1237:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)([(0,o.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),(0,o.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"Schedule")},57823:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17zM12 3 1 9l11 6 9-4.91V17h2V9z"}),"School")},62655:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search")},43869:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send")},1700:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings")},26523:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92"}),"Share")},39701:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5z"}),"Shield")},45531:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2M9.5 16.5v-9l7 4.5z"}),"SmartDisplay")},38991:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star")},96927:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2M4 12h4v2H4zm10 6H4v-2h10zm6 0h-4v-2h4zm0-4H10v-2h10z"}),"Subtitles")},79362:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M11.99 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10m3.61 6.34c1.07 0 1.93.86 1.93 1.93 0 1.07-.86 1.93-1.93 1.93-1.07 0-1.93-.86-1.93-1.93-.01-1.07.86-1.93 1.93-1.93m-6-1.58c1.3 0 2.36 1.06 2.36 2.36 0 1.3-1.06 2.36-2.36 2.36s-2.36-1.06-2.36-2.36c0-1.31 1.05-2.36 2.36-2.36m0 9.13v3.75c-2.4-.75-4.3-2.6-5.14-4.96 1.05-1.12 3.67-1.69 5.14-1.69.53 0 1.2.08 1.9.22-1.64.87-1.9 2.02-1.9 2.68M11.99 20c-.27 0-.53-.01-.79-.04v-4.07c0-1.42 2.94-2.13 4.4-2.13 1.07 0 2.92.39 3.84 1.15-1.17 2.97-4.06 5.09-7.45 5.09"}),"SupervisedUserCircle")},4e3:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"}),"Sync")},5319:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"m20.41 8.41-4.83-4.83c-.37-.37-.88-.58-1.41-.58H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V9.83c0-.53-.21-1.04-.59-1.42M7 7h7v2H7zm10 10H7v-2h10zm0-4H7v-2h10z"}),"TextSnippet")},67945:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M16.24 7.76C15.07 6.59 13.54 6 12 6v6l-4.24 4.24c2.34 2.34 6.14 2.34 8.49 0 2.34-2.34 2.34-6.14-.01-8.48M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"Timelapse")},3720:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M5 4v3h5.5v12h3V7H19V4z"}),"Title")},53695:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M9 11.24V7.5C9 6.12 10.12 5 11.5 5S14 6.12 14 7.5v3.74c1.21-.81 2-2.18 2-3.74C16 5.01 13.99 3 11.5 3S7 5.01 7 7.5c0 1.56.79 2.93 2 3.74m9.84 4.63-4.54-2.26c-.17-.07-.35-.11-.54-.11H13v-6c0-.83-.67-1.5-1.5-1.5S10 6.67 10 7.5v10.74c-3.6-.76-3.54-.75-3.67-.75-.31 0-.59.13-.79.33l-.79.8 4.94 4.94c.27.27.65.44 1.06.44h6.79c.75 0 1.33-.55 1.44-1.28l.75-5.27c.01-.07.02-.14.02-.2 0-.62-.38-1.16-.91-1.38"}),"TouchApp")},72241:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility")},41400:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff")},36539:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning")},14198:(t,e,n)=>{"use strict";var i=n(57739);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n(53948)),o=n(43188);e.default=(0,r.default)((0,o.jsx)("path",{d:"M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2m-6 0h-4V4h4z"}),"Work")},53948:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i.createSvgIcon}});var i=n(36189)},1489:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>a,_i:()=>s,pQ:()=>u,uU:()=>l});var i=n(66204),r=n(43188);const o=i.createContext(null);function a(t){const{children:e,value:n}=t,a=function(){const[t,e]=i.useState(null);return i.useEffect((()=>{e(`mui-p-${Math.round(1e5*Math.random())}`)}),[]),t}(),s=i.useMemo((()=>({idPrefix:a,value:n})),[a,n]);return(0,r.jsx)(o.Provider,{value:s,children:e})}function s(){return i.useContext(o)}function l(t,e){const{idPrefix:n}=t;return null===n?null:`${t.idPrefix}-P-${e}`}function u(t,e){const{idPrefix:n}=t;return null===n?null:`${t.idPrefix}-T-${e}`}},64611:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.ZP,getPanelId:()=>i.uU,getTabId:()=>i.pQ,useTabContext:()=>i._i});var i=n(1489)},76239:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>v,getTabPanelUtilityClass:()=>h,tabPanelClasses:()=>d});var i=n(30984),r=n(55559),o=n(66204),a=n(56317),s=n(61125),l=n(57369),u=n(95311),c=n(2957);function h(t){return(0,c.ZP)("MuiTabPanel",t)}const d=(0,n(30264).Z)("MuiTabPanel",["root"]);var f=n(1489),_=n(43188);const p=["children","className","value"],m=(0,s.ZP)("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(t,e)=>e.root})((({theme:t})=>({padding:t.spacing(3)}))),v=o.forwardRef((function(t,e){const n=(0,l.Z)({props:t,name:"MuiTabPanel"}),{children:o,className:s,value:c}=n,d=(0,r.Z)(n,p),v=(0,i.Z)({},n),g=(t=>{const{classes:e}=t;return(0,u.Z)({root:["root"]},h,e)})(v),y=(0,f._i)();if(null===y)throw new TypeError("No TabContext provided");const b=(0,f.uU)(y,c),w=(0,f.pQ)(y,c);return(0,_.jsx)(m,(0,i.Z)({"aria-labelledby":w,className:(0,a.Z)(g.root,s),hidden:c!==y.value,id:b,ref:e,role:"tabpanel",ownerState:v},d,{children:c===y.value&&o}))}))},18482:(t,e,n)=>{"use strict";n.r(e),n.d(e,{appBarClasses:()=>p,default:()=>b,getAppBarUtilityClass:()=>_});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(61125),u=n(57369),c=n(40118),h=n(3943),d=n(30264),f=n(2957);function _(t){return(0,f.ZP)("MuiAppBar",t)}const p=(0,d.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);var m=n(43188);const v=["className","color","enableColorOnDark","position"],g=(t,e)=>t?`${null==t?void 0:t.replace(")","")}, ${e})`:e,y=(0,l.ZP)(h.Z,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${(0,c.Z)(n.position)}`],e[`color${(0,c.Z)(n.color)}`]]}})((({theme:t,ownerState:e})=>{const n="light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[900];return(0,r.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===e.position&&{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===e.position&&{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===e.position&&{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"static"===e.position&&{position:"static"},"relative"===e.position&&{position:"relative"},!t.vars&&(0,r.Z)({},"default"===e.color&&{backgroundColor:n,color:t.palette.getContrastText(n)},e.color&&"default"!==e.color&&"inherit"!==e.color&&"transparent"!==e.color&&{backgroundColor:t.palette[e.color].main,color:t.palette[e.color].contrastText},"inherit"===e.color&&{color:"inherit"},"dark"===t.palette.mode&&!e.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===e.color&&(0,r.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===t.palette.mode&&{backgroundImage:"none"})),t.vars&&(0,r.Z)({},"default"===e.color&&{"--AppBar-background":e.enableColorOnDark?t.vars.palette.AppBar.defaultBg:g(t.vars.palette.AppBar.darkBg,t.vars.palette.AppBar.defaultBg),"--AppBar-color":e.enableColorOnDark?t.vars.palette.text.primary:g(t.vars.palette.AppBar.darkColor,t.vars.palette.text.primary)},e.color&&!e.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":e.enableColorOnDark?t.vars.palette[e.color].main:g(t.vars.palette.AppBar.darkBg,t.vars.palette[e.color].main),"--AppBar-color":e.enableColorOnDark?t.vars.palette[e.color].contrastText:g(t.vars.palette.AppBar.darkColor,t.vars.palette[e.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===e.color?"inherit":"var(--AppBar-color)"},"transparent"===e.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),b=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiAppBar"}),{className:o,color:l="primary",enableColorOnDark:h=!1,position:d="fixed"}=n,f=(0,i.Z)(n,v),p=(0,r.Z)({},n,{color:l,position:d,enableColorOnDark:h}),g=(t=>{const{color:e,position:n,classes:i}=t,r={root:["root",`color${(0,c.Z)(e)}`,`position${(0,c.Z)(n)}`]};return(0,s.Z)(r,_,i)})(p);return(0,m.jsx)(y,(0,r.Z)({square:!0,component:"header",ownerState:p,elevation:4,className:(0,a.Z)(g.root,o,"fixed"===d&&"mui-fixed"),ref:e},f))}))},30855:(t,e,n)=>{"use strict";n.r(e),n.d(e,{autocompleteClasses:()=>D,createFilterOptions:()=>f,default:()=>rt,getAutocompleteUtilityClass:()=>q});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(1311),l=n(80539),u=n(45240),c=n(54738),h=n(31566);function d(t){return void 0!==t.normalize?t.normalize("NFD").replace(/[\u0300-\u036f]/g,""):t}function f(t={}){const{ignoreAccents:e=!0,ignoreCase:n=!0,limit:i,matchFrom:r="any",stringify:o,trim:a=!1}=t;return(t,{inputValue:s,getOptionLabel:l})=>{let u=a?s.trim():s;n&&(u=u.toLowerCase()),e&&(u=d(u));const c=u?t.filter((t=>{let i=(o||l)(t);return n&&(i=i.toLowerCase()),e&&(i=d(i)),"start"===r?0===i.indexOf(u):i.indexOf(u)>-1})):t;return"number"==typeof i?c.slice(0,i):c}}function _(t,e){for(let n=0;n{var e;return null!==t.current&&(null==(e=t.current.parentElement)?void 0:e.contains(document.activeElement))};var v=n(95311),g=n(83041),y=n(41665),b=n(61125),w=n(57369),E=n(40118),x=n(30264),C=n(2957);function T(t){return(0,C.ZP)("MuiListSubheader",t)}(0,x.Z)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var A=n(43188);const S=["className","color","component","disableGutters","disableSticky","inset"],z=(0,b.ZP)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,"default"!==n.color&&e[`color${(0,E.Z)(n.color)}`],!n.disableGutters&&e.gutters,n.inset&&e.inset,!n.disableSticky&&e.sticky]}})((({theme:t,ownerState:e})=>(0,r.Z)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},"primary"===e.color&&{color:(t.vars||t).palette.primary.main},"inherit"===e.color&&{color:"inherit"},!e.disableGutters&&{paddingLeft:16,paddingRight:16},e.inset&&{paddingLeft:72},!e.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper}))),k=o.forwardRef((function(t,e){const n=(0,w.Z)({props:t,name:"MuiListSubheader"}),{className:o,color:s="default",component:l="li",disableGutters:u=!1,disableSticky:c=!1,inset:h=!1}=n,d=(0,i.Z)(n,S),f=(0,r.Z)({},n,{color:s,component:l,disableGutters:u,disableSticky:c,inset:h}),_=(t=>{const{classes:e,color:n,disableGutters:i,inset:r,disableSticky:o}=t,a={root:["root","default"!==n&&`color${(0,E.Z)(n)}`,!i&&"gutters",r&&"inset",!o&&"sticky"]};return(0,v.Z)(a,T,e)})(f);return(0,A.jsx)(z,(0,r.Z)({as:l,className:(0,a.Z)(_.root,o),ref:e,ownerState:f},d))}));k.muiSkipListHighlight=!0;const N=k;var I=n(3943),O=n(49140),L=n(62225),M=n(2994),$=n(33872),R=n(95368),P=n(83195);const U=(0,n(66661).Z)((0,A.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");var j=n(99016);function q(t){return(0,C.ZP)("MuiAutocomplete",t)}const D=(0,x.Z)("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var B,F,W=n(81597);const G=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],H=["ref"],V=(0,b.ZP)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{fullWidth:i,hasClearIcon:r,hasPopupIcon:o,inputFocused:a,size:s}=n;return[{[`& .${D.tag}`]:e.tag},{[`& .${D.tag}`]:e[`tagSize${(0,E.Z)(s)}`]},{[`& .${D.inputRoot}`]:e.inputRoot},{[`& .${D.input}`]:e.input},{[`& .${D.input}`]:a&&e.inputFocused},e.root,i&&e.fullWidth,o&&e.hasPopupIcon,r&&e.hasClearIcon]}})((({ownerState:t})=>(0,r.Z)({[`&.${D.focused} .${D.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${D.clearIndicator}`]:{visibility:"visible"}}},t.fullWidth&&{width:"100%"},{[`& .${D.tag}`]:(0,r.Z)({margin:3,maxWidth:"calc(100% - 6px)"},"small"===t.size&&{margin:2,maxWidth:"calc(100% - 4px)"}),[`& .${D.inputRoot}`]:{flexWrap:"wrap",[`.${D.hasPopupIcon}&, .${D.hasClearIcon}&`]:{paddingRight:30},[`.${D.hasPopupIcon}.${D.hasClearIcon}&`]:{paddingRight:56},[`& .${D.input}`]:{width:0,minWidth:30}},[`& .${M.Z.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${M.Z.root}.${$.Z.sizeSmall}`]:{[`& .${M.Z.input}`]:{padding:"2px 4px 3px 0"}},[`& .${R.Z.root}`]:{padding:9,[`.${D.hasPopupIcon}&, .${D.hasClearIcon}&`]:{paddingRight:39},[`.${D.hasPopupIcon}.${D.hasClearIcon}&`]:{paddingRight:65},[`& .${D.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${D.endAdornment}`]:{right:9}},[`& .${R.Z.root}.${$.Z.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${D.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${P.Z.root}`]:{paddingTop:19,paddingLeft:8,[`.${D.hasPopupIcon}&, .${D.hasClearIcon}&`]:{paddingRight:39},[`.${D.hasPopupIcon}.${D.hasClearIcon}&`]:{paddingRight:65},[`& .${P.Z.input}`]:{padding:"7px 4px"},[`& .${D.endAdornment}`]:{right:9}},[`& .${P.Z.root}.${$.Z.sizeSmall}`]:{paddingBottom:1,[`& .${P.Z.input}`]:{padding:"2.5px 4px"}},[`& .${$.Z.hiddenLabel}`]:{paddingTop:8},[`& .${P.Z.root}.${$.Z.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${D.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${P.Z.root}.${$.Z.hiddenLabel}.${$.Z.sizeSmall}`]:{[`& .${D.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${D.input}`]:(0,r.Z)({flexGrow:1,textOverflow:"ellipsis",opacity:0},t.inputFocused&&{opacity:1})}))),X=(0,b.ZP)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(t,e)=>e.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),J=(0,b.ZP)(O.Z,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(t,e)=>e.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),Z=(0,b.ZP)(O.Z,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:t},e)=>(0,r.Z)({},e.popupIndicator,t.popupOpen&&e.popupIndicatorOpen)})((({ownerState:t})=>(0,r.Z)({padding:2,marginRight:-2},t.popupOpen&&{transform:"rotate(180deg)"}))),Y=(0,b.ZP)(y.Z,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${D.option}`]:e.option},e.popper,n.disablePortal&&e.popperDisablePortal]}})((({theme:t,ownerState:e})=>(0,r.Z)({zIndex:(t.vars||t).zIndex.modal},e.disablePortal&&{position:"absolute"}))),K=(0,b.ZP)(I.Z,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(t,e)=>e.paper})((({theme:t})=>(0,r.Z)({},t.typography.body1,{overflow:"auto"}))),Q=(0,b.ZP)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(t,e)=>e.loading})((({theme:t})=>({color:(t.vars||t).palette.text.secondary,padding:"14px 16px"}))),tt=(0,b.ZP)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(t,e)=>e.noOptions})((({theme:t})=>({color:(t.vars||t).palette.text.secondary,padding:"14px 16px"}))),et=(0,b.ZP)("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(t,e)=>e.listbox})((({theme:t})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${D.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[t.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${D.focused}`]:{backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${D.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,g.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${D.focused}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,g.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(t.vars||t).palette.action.selected}},[`&.${D.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,g.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}}}}))),nt=(0,b.ZP)(N,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(t,e)=>e.groupLabel})((({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,top:-8}))),it=(0,b.ZP)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(t,e)=>e.groupUl})({padding:0,[`& .${D.option}`]:{paddingLeft:24}}),rt=o.forwardRef((function(t,e){var n,d,f,g;const b=(0,w.Z)({props:t,name:"MuiAutocomplete"}),{autoComplete:x=!1,autoHighlight:C=!1,autoSelect:T=!1,blurOnSelect:S=!1,ChipProps:z,className:k,clearIcon:N=B||(B=(0,A.jsx)(U,{fontSize:"small"})),clearOnBlur:O=!b.freeSolo,clearOnEscape:M=!1,clearText:$="Clear",closeText:R="Close",componentsProps:P={},defaultValue:D=(b.multiple?[]:null),disableClearable:rt=!1,disableCloseOnSelect:ot=!1,disabled:at=!1,disabledItemsFocusable:st=!1,disableListWrap:lt=!1,disablePortal:ut=!1,filterSelectedOptions:ct=!1,forcePopupIcon:ht="auto",freeSolo:dt=!1,fullWidth:ft=!1,getLimitTagsText:_t=(t=>`+${t}`),getOptionLabel:pt,groupBy:mt,handleHomeEndKeys:vt=!b.freeSolo,includeInputInList:gt=!1,limitTags:yt=-1,ListboxComponent:bt="ul",ListboxProps:wt,loading:Et=!1,loadingText:xt="Loading…",multiple:Ct=!1,noOptionsText:Tt="No options",openOnFocus:At=!1,openText:St="Open",PaperComponent:zt=I.Z,PopperComponent:kt=y.Z,popupIcon:Nt=F||(F=(0,A.jsx)(j.Z,{})),readOnly:It=!1,renderGroup:Ot,renderInput:Lt,renderOption:Mt,renderTags:$t,selectOnFocus:Rt=!b.freeSolo,size:Pt="medium",slotProps:Ut={}}=b,jt=(0,i.Z)(b,G),{getRootProps:qt,getInputProps:Dt,getInputLabelProps:Bt,getPopupIndicatorProps:Ft,getClearProps:Wt,getTagProps:Gt,getListboxProps:Ht,getOptionProps:Vt,value:Xt,dirty:Jt,expanded:Zt,id:Yt,popupOpen:Kt,focused:Qt,focusedTag:te,anchorEl:ee,setAnchorEl:ne,inputValue:ie,groupedOptions:re}=function(t){const{unstable_isActiveElementInListbox:e=m,unstable_classNamePrefix:n="Mui",autoComplete:i=!1,autoHighlight:a=!1,autoSelect:d=!1,blurOnSelect:f=!1,clearOnBlur:v=!t.freeSolo,clearOnEscape:g=!1,componentName:y="useAutocomplete",defaultValue:b=(t.multiple?[]:null),disableClearable:w=!1,disableCloseOnSelect:E=!1,disabled:x,disabledItemsFocusable:C=!1,disableListWrap:T=!1,filterOptions:A=p,filterSelectedOptions:S=!1,freeSolo:z=!1,getOptionDisabled:k,getOptionKey:N,getOptionLabel:I=(t=>{var e;return null!=(e=t.label)?e:t}),groupBy:O,handleHomeEndKeys:L=!t.freeSolo,id:M,includeInputInList:$=!1,inputValue:R,isOptionEqualToValue:P=((t,e)=>t===e),multiple:U=!1,onChange:j,onClose:q,onHighlightChange:D,onInputChange:B,onOpen:F,open:W,openOnFocus:G=!1,options:H,readOnly:V=!1,selectOnFocus:X=!t.freeSolo,value:J}=t,Z=(0,s.Z)(M);let Y=I;Y=t=>{const e=I(t);return"string"!=typeof e?String(e):e};const K=o.useRef(!1),Q=o.useRef(!0),tt=o.useRef(null),et=o.useRef(null),[nt,it]=o.useState(null),[rt,ot]=o.useState(-1),at=a?0:-1,st=o.useRef(at),[lt,ut]=(0,l.Z)({controlled:J,default:b,name:y}),[ct,ht]=(0,l.Z)({controlled:R,default:"",name:y,state:"inputValue"}),[dt,ft]=o.useState(!1),_t=o.useCallback(((t,e)=>{if(!(U?lt.length!S||!(U?lt:[lt]).some((e=>null!==e&&P(t,e))))),{inputValue:yt&&vt?"":ct,getOptionLabel:Y}):[],Et=(0,u.Z)({filteredOptions:wt,value:lt,inputValue:ct});o.useEffect((()=>{const t=lt!==Et.value;dt&&!t||z&&!t||_t(null,lt)}),[lt,_t,dt,Et.value,z]);const xt=pt&&wt.length>0&&!V,Ct=(0,c.Z)((t=>{-1===t?tt.current.focus():nt.querySelector(`[data-tag-index="${t}"]`).focus()}));o.useEffect((()=>{U&&rt>lt.length-1&&(ot(-1),Ct(-1))}),[lt,U,rt,Ct]);const Tt=(0,c.Z)((({event:t,index:e,reason:i="auto"})=>{if(st.current=e,-1===e?tt.current.removeAttribute("aria-activedescendant"):tt.current.setAttribute("aria-activedescendant",`${Z}-option-${e}`),D&&D(t,-1===e?null:wt[e],i),!et.current)return;const r=et.current.querySelector(`[role="option"].${n}-focused`);r&&(r.classList.remove(`${n}-focused`),r.classList.remove(`${n}-focusVisible`));let o=et.current;if("listbox"!==et.current.getAttribute("role")&&(o=et.current.parentElement.querySelector('[role="listbox"]')),!o)return;if(-1===e)return void(o.scrollTop=0);const a=et.current.querySelector(`[data-option-index="${e}"]`);if(a&&(a.classList.add(`${n}-focused`),"keyboard"===i&&a.classList.add(`${n}-focusVisible`),o.scrollHeight>o.clientHeight&&"mouse"!==i&&"touch"!==i)){const t=a,e=o.clientHeight+o.scrollTop,n=t.offsetTop+t.offsetHeight;n>e?o.scrollTop=n-o.clientHeight:t.offsetTop-t.offsetHeight*(O?1.3:0){if(!bt)return;const o=function(t,e){if(!et.current||t<0||t>=wt.length)return-1;let n=t;for(;;){const i=et.current.querySelector(`[data-option-index="${n}"]`),r=!C&&(!i||i.disabled||"true"===i.getAttribute("aria-disabled"));if(i&&i.hasAttribute("tabindex")&&!r)return n;if(n="next"===e?(n+1)%wt.length:(n-1+wt.length)%wt.length,n===t)return-1}}((()=>{const t=wt.length-1;if("reset"===e)return at;if("start"===e)return 0;if("end"===e)return t;const n=st.current+e;return n<0?-1===n&&$?-1:T&&-1!==st.current||Math.abs(e)>1?0:t:n>t?n===t+1&&$?-1:T||Math.abs(e)>1?t:0:n})(),n);if(Tt({index:o,reason:r,event:t}),i&&"reset"!==e)if(-1===o)tt.current.value=ct;else{const t=Y(wt[o]);tt.current.value=t,0===t.toLowerCase().indexOf(ct.toLowerCase())&&ct.length>0&&tt.current.setSelectionRange(ct.length,t.length)}})),St=o.useCallback((()=>{if(!bt)return;if((()=>{if(-1!==st.current&&Et.filteredOptions&&Et.filteredOptions.length!==wt.length&&Et.inputValue===ct&&(U?lt.length===Et.value.length&&Et.value.every(((t,e)=>Y(lt[e])===Y(t))):(t=Et.value,e=lt,(t?Y(t):"")===(e?Y(e):"")))){const t=Et.filteredOptions[st.current];if(t&&wt.some((e=>Y(e)===Y(t))))return!0}var t,e;return!1})())return;const t=U?lt[0]:lt;if(0!==wt.length&&null!=t){if(et.current)if(null==t)st.current>=wt.length-1?Tt({index:wt.length-1}):Tt({index:st.current});else{const e=wt[st.current];if(U&&e&&-1!==_(lt,(t=>P(e,t))))return;const n=_(wt,(e=>P(e,t)));-1===n?At({diff:"reset"}):Tt({index:n})}}else At({diff:"reset"})}),[wt.length,!U&<,S,At,Tt,bt,ct,U]),zt=(0,c.Z)((t=>{(0,h.Z)(et,t),t&&St()}));o.useEffect((()=>{St()}),[St]);const kt=t=>{pt||(mt(!0),gt(!0),F&&F(t))},Nt=(t,e)=>{pt&&(mt(!1),q&&q(t,e))},It=(t,e,n,i)=>{if(U){if(lt.length===e.length&<.every(((t,n)=>t===e[n])))return}else if(lt===e)return;j&&j(t,e,n,i),ut(e)},Ot=o.useRef(!1),Lt=(t,e,n="selectOption",i="options")=>{let r=n,o=e;if(U){o=Array.isArray(lt)?lt.slice():[];const t=_(o,(t=>P(e,t)));-1===t?o.push(e):"freeSolo"!==i&&(o.splice(t,1),r="removeOption")}_t(t,o),It(t,o,r,{option:e}),E||t&&(t.ctrlKey||t.metaKey)||Nt(t,r),(!0===f||"touch"===f&&Ot.current||"mouse"===f&&!Ot.current)&&tt.current.blur()},Mt=(t,e)=>{if(!U)return;""===ct&&Nt(t,"toggleInput");let n=rt;-1===rt?""===ct&&"previous"===e&&(n=lt.length-1):(n+="next"===e?1:-1,n<0&&(n=0),n===lt.length&&(n=-1)),n=function(t,e){if(-1===t)return-1;let n=t;for(;;){if("next"===e&&n===lt.length||"previous"===e&&-1===n)return-1;const t=nt.querySelector(`[data-tag-index="${n}"]`);if(t&&t.hasAttribute("tabindex")&&!t.disabled&&"true"!==t.getAttribute("aria-disabled"))return n;n+="next"===e?1:-1}}(n,e),ot(n),Ct(n)},$t=t=>{K.current=!0,ht(""),B&&B(t,"","clear"),It(t,U?[]:null,"clear")},Rt=t=>e=>{if(t.onKeyDown&&t.onKeyDown(e),!e.defaultMuiPrevented&&(-1!==rt&&-1===["ArrowLeft","ArrowRight"].indexOf(e.key)&&(ot(-1),Ct(-1)),229!==e.which))switch(e.key){case"Home":bt&&L&&(e.preventDefault(),At({diff:"start",direction:"next",reason:"keyboard",event:e}));break;case"End":bt&&L&&(e.preventDefault(),At({diff:"end",direction:"previous",reason:"keyboard",event:e}));break;case"PageUp":e.preventDefault(),At({diff:-5,direction:"previous",reason:"keyboard",event:e}),kt(e);break;case"PageDown":e.preventDefault(),At({diff:5,direction:"next",reason:"keyboard",event:e}),kt(e);break;case"ArrowDown":e.preventDefault(),At({diff:1,direction:"next",reason:"keyboard",event:e}),kt(e);break;case"ArrowUp":e.preventDefault(),At({diff:-1,direction:"previous",reason:"keyboard",event:e}),kt(e);break;case"ArrowLeft":Mt(e,"previous");break;case"ArrowRight":Mt(e,"next");break;case"Enter":if(-1!==st.current&&bt){const t=wt[st.current],n=!!k&&k(t);if(e.preventDefault(),n)return;Lt(e,t,"selectOption"),i&&tt.current.setSelectionRange(tt.current.value.length,tt.current.value.length)}else z&&""!==ct&&!1===yt&&(U&&e.preventDefault(),Lt(e,ct,"createOption","freeSolo"));break;case"Escape":bt?(e.preventDefault(),e.stopPropagation(),Nt(e,"escape")):g&&(""!==ct||U&<.length>0)&&(e.preventDefault(),e.stopPropagation(),$t(e));break;case"Backspace":if(U&&!V&&""===ct&<.length>0){const t=-1===rt?lt.length-1:rt,n=lt.slice();n.splice(t,1),It(e,n,"removeOption",{option:lt[t]})}break;case"Delete":if(U&&!V&&""===ct&<.length>0&&-1!==rt){const t=rt,n=lt.slice();n.splice(t,1),It(e,n,"removeOption",{option:lt[t]})}}},Pt=t=>{ft(!0),G&&!K.current&&kt(t)},Ut=t=>{e(et)?tt.current.focus():(ft(!1),Q.current=!0,K.current=!1,d&&-1!==st.current&&bt?Lt(t,wt[st.current],"blur"):d&&z&&""!==ct?Lt(t,ct,"blur","freeSolo"):v&&_t(t,lt),Nt(t,"blur"))},jt=t=>{const e=t.target.value;ct!==e&&(ht(e),gt(!1),B&&B(t,e,"input")),""===e?w||U||It(t,null,"clear"):kt(t)},qt=t=>{const e=Number(t.currentTarget.getAttribute("data-option-index"));st.current!==e&&Tt({event:t,index:e,reason:"mouse"})},Dt=t=>{Tt({event:t,index:Number(t.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Ot.current=!0},Bt=t=>{const e=Number(t.currentTarget.getAttribute("data-option-index"));Lt(t,wt[e],"selectOption"),Ot.current=!1},Ft=t=>e=>{const n=lt.slice();n.splice(t,1),It(e,n,"removeOption",{option:lt[t]})},Wt=t=>{pt?Nt(t,"toggleInput"):kt(t)},Gt=t=>{t.currentTarget.contains(t.target)&&t.target.getAttribute("id")!==Z&&t.preventDefault()},Ht=t=>{t.currentTarget.contains(t.target)&&(tt.current.focus(),X&&Q.current&&tt.current.selectionEnd-tt.current.selectionStart==0&&tt.current.select(),Q.current=!1)},Vt=t=>{x||""!==ct&&pt||Wt(t)};let Xt=z&&ct.length>0;Xt=Xt||(U?lt.length>0:null!==lt);let Jt=wt;return O&&(new Map,Jt=wt.reduce(((t,e,n)=>{const i=O(e);return t.length>0&&t[t.length-1].group===i?t[t.length-1].options.push(e):t.push({key:n,index:n,group:i,options:[e]}),t}),[])),x&&dt&&Ut(),{getRootProps:(t={})=>(0,r.Z)({"aria-owns":xt?`${Z}-listbox`:null},t,{onKeyDown:Rt(t),onMouseDown:Gt,onClick:Ht}),getInputLabelProps:()=>({id:`${Z}-label`,htmlFor:Z}),getInputProps:()=>({id:Z,value:ct,onBlur:Ut,onFocus:Pt,onChange:jt,onMouseDown:Vt,"aria-activedescendant":bt?"":null,"aria-autocomplete":i?"both":"list","aria-controls":xt?`${Z}-listbox`:void 0,"aria-expanded":xt,autoComplete:"off",ref:tt,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:x}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:$t}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Wt}),getTagProps:({index:t})=>(0,r.Z)({key:t,"data-tag-index":t,tabIndex:-1},!V&&{onDelete:Ft(t)}),getListboxProps:()=>({role:"listbox",id:`${Z}-listbox`,"aria-labelledby":`${Z}-label`,ref:zt,onMouseDown:t=>{t.preventDefault()}}),getOptionProps:({index:t,option:e})=>{var n;const i=(U?lt:[lt]).some((t=>null!=t&&P(e,t))),r=!!k&&k(e);return{key:null!=(n=null==N?void 0:N(e))?n:Y(e),tabIndex:-1,role:"option",id:`${Z}-option-${t}`,onMouseMove:qt,onClick:Bt,onTouchStart:Dt,"data-option-index":t,"aria-disabled":r,"aria-selected":i}},id:Z,inputValue:ct,value:lt,dirty:Xt,expanded:bt&&nt,popupOpen:bt,focused:dt||-1!==rt,anchorEl:nt,setAnchorEl:it,focusedTag:rt,groupedOptions:Jt}}((0,r.Z)({},b,{componentName:"Autocomplete"})),oe=!rt&&!at&&Jt&&!It,ae=(!dt||!0===ht)&&!1!==ht,{onMouseDown:se}=Dt(),{ref:le}=null!=wt?wt:{},ue=Ht(),{ref:ce}=ue,he=(0,i.Z)(ue,H),de=(0,W.Z)(ce,le),fe=pt||(t=>{var e;return null!=(e=t.label)?e:t}),_e=(0,r.Z)({},b,{disablePortal:ut,expanded:Zt,focused:Qt,fullWidth:ft,getOptionLabel:fe,hasClearIcon:oe,hasPopupIcon:ae,inputFocused:-1===te,popupOpen:Kt,size:Pt}),pe=(t=>{const{classes:e,disablePortal:n,expanded:i,focused:r,fullWidth:o,hasClearIcon:a,hasPopupIcon:s,inputFocused:l,popupOpen:u,size:c}=t,h={root:["root",i&&"expanded",r&&"focused",o&&"fullWidth",a&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${(0,E.Z)(c)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",u&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,v.Z)(h,q,e)})(_e);let me;if(Ct&&Xt.length>0){const t=t=>(0,r.Z)({className:pe.tag,disabled:at},Gt(t));me=$t?$t(Xt,t,_e):Xt.map(((e,n)=>(0,A.jsx)(L.Z,(0,r.Z)({label:fe(e),size:Pt},t({index:n}),z))))}if(yt>-1&&Array.isArray(me)){const t=me.length-yt;!Qt&&t>0&&(me=me.splice(0,yt),me.push((0,A.jsx)("span",{className:pe.tag,children:_t(t)},me.length)))}const ve=Ot||(t=>(0,A.jsxs)("li",{children:[(0,A.jsx)(nt,{className:pe.groupLabel,ownerState:_e,component:"div",children:t.group}),(0,A.jsx)(it,{className:pe.groupUl,ownerState:_e,children:t.children})]},t.key)),ge=Mt||((t,e)=>(0,o.createElement)("li",(0,r.Z)({},t,{key:t.key}),fe(e))),ye=(t,e)=>{const n=Vt({option:t,index:e});return ge((0,r.Z)({},n,{className:pe.option}),t,{selected:n["aria-selected"],index:e,inputValue:ie},_e)},be=null!=(n=Ut.clearIndicator)?n:P.clearIndicator,we=null!=(d=Ut.paper)?d:P.paper,Ee=null!=(f=Ut.popper)?f:P.popper,xe=null!=(g=Ut.popupIndicator)?g:P.popupIndicator;return(0,A.jsxs)(o.Fragment,{children:[(0,A.jsx)(V,(0,r.Z)({ref:e,className:(0,a.Z)(pe.root,k),ownerState:_e},qt(jt),{children:Lt({id:Yt,disabled:at,fullWidth:!0,size:"small"===Pt?"small":void 0,InputLabelProps:Bt(),InputProps:(0,r.Z)({ref:ne,className:pe.inputRoot,startAdornment:me,onClick:t=>{t.target===t.currentTarget&&se(t)}},(oe||ae)&&{endAdornment:(0,A.jsxs)(X,{className:pe.endAdornment,ownerState:_e,children:[oe?(0,A.jsx)(J,(0,r.Z)({},Wt(),{"aria-label":$,title:$,ownerState:_e},be,{className:(0,a.Z)(pe.clearIndicator,null==be?void 0:be.className),children:N})):null,ae?(0,A.jsx)(Z,(0,r.Z)({},Ft(),{disabled:at,"aria-label":Kt?R:St,title:Kt?R:St,ownerState:_e},xe,{className:(0,a.Z)(pe.popupIndicator,null==xe?void 0:xe.className),children:Nt})):null]})}),inputProps:(0,r.Z)({className:pe.input,disabled:at,readOnly:It},Dt())})})),ee?(0,A.jsx)(Y,(0,r.Z)({as:kt,disablePortal:ut,style:{width:ee?ee.clientWidth:null},ownerState:_e,role:"presentation",anchorEl:ee,open:Kt},Ee,{className:(0,a.Z)(pe.popper,null==Ee?void 0:Ee.className),children:(0,A.jsxs)(K,(0,r.Z)({ownerState:_e,as:zt},we,{className:(0,a.Z)(pe.paper,null==we?void 0:we.className),children:[Et&&0===re.length?(0,A.jsx)(Q,{className:pe.loading,ownerState:_e,children:xt}):null,0!==re.length||dt||Et?null:(0,A.jsx)(tt,{className:pe.noOptions,ownerState:_e,role:"presentation",onMouseDown:t=>{t.preventDefault()},children:Tt}),re.length>0?(0,A.jsx)(et,(0,r.Z)({as:bt,className:pe.listbox,ownerState:_e},he,wt,{ref:de,children:re.map(((t,e)=>mt?ve({key:t.key,group:t.group,children:t.options.map(((e,n)=>ye(e,t.index+n)))}):ye(t,e)))})):null]}))})):null]})}))},30569:(t,e,n)=>{"use strict";n.r(e),n.d(e,{avatarClasses:()=>m,default:()=>z,getAvatarUtilityClass:()=>p});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(61125),u=n(57369),c=n(66661),h=n(43188);const d=(0,c.Z)((0,h.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var f=n(30264),_=n(2957);function p(t){return(0,_.ZP)("MuiAvatar",t)}const m=(0,f.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var v=n(70047),g=n(34582),y=n(91344),b=n(42019);const w=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],E=["component","slots","slotProps"],x=["component"],C=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],T=(0,l.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],n.colorDefault&&e.colorDefault]}})((({theme:t})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:(0,r.Z)({color:(t.vars||t).palette.background.default},t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:(0,r.Z)({backgroundColor:t.palette.grey[400]},t.applyStyles("dark",{backgroundColor:t.palette.grey[600]})))}]}))),A=(0,l.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(t,e)=>e.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),S=(0,l.ZP)(d,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(t,e)=>e.fallback})({width:"75%",height:"75%"}),z=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiAvatar"}),{alt:l,children:c,className:d,component:f="div",slots:_={},slotProps:m={},imgProps:z,sizes:k,src:N,srcSet:I,variant:O="circular"}=n,L=(0,i.Z)(n,C);let M=null;const $=function({crossOrigin:t,referrerPolicy:e,src:n,srcSet:i}){const[r,a]=o.useState(!1);return o.useEffect((()=>{if(!n&&!i)return;a(!1);let r=!0;const o=new Image;return o.onload=()=>{r&&a("loaded")},o.onerror=()=>{r&&a("error")},o.crossOrigin=t,o.referrerPolicy=e,o.src=n,i&&(o.srcset=i),()=>{r=!1}}),[t,e,n,i]),r}((0,r.Z)({},z,{src:N,srcSet:I})),R=N||I,P=R&&"error"!==$,U=(0,r.Z)({},n,{colorDefault:!P,component:f,variant:O}),j=(t=>{const{classes:e,variant:n,colorDefault:i}=t,r={root:["root",n,i&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,s.Z)(r,p,e)})(U),[q,D]=function(t,e){const{className:n,elementType:o,ownerState:a,externalForwardedProps:s,getSlotOwnerState:l,internalForwardedProps:u}=e,c=(0,i.Z)(e,w),{component:h,slots:d={[t]:void 0},slotProps:f={[t]:void 0}}=s,_=(0,i.Z)(s,E),p=d[t]||o,m=(0,g.x)(f[t],a),C=(0,y.L)((0,r.Z)({className:n},c,{externalForwardedProps:"root"===t?_:void 0,externalSlotProps:m})),{props:{component:T},internalRef:A}=C,S=(0,i.Z)(C.props,x),z=(0,v.Z)(A,null==m?void 0:m.ref,e.ref),k=l?l(S):{},N=(0,r.Z)({},a,k),I="root"===t?T||h:T,O=(0,b.$)(p,(0,r.Z)({},"root"===t&&!h&&!d[t]&&u,"root"!==t&&!d[t]&&u,S,I&&{as:I},{ref:z}),N);return Object.keys(k).forEach((t=>{delete O[t]})),[p,O]}("img",{className:j.img,elementType:A,externalForwardedProps:{slots:_,slotProps:{img:(0,r.Z)({},z,m.img)}},additionalProps:{alt:l,src:N,srcSet:I,sizes:k},ownerState:U});return M=P?(0,h.jsx)(q,(0,r.Z)({},D)):c||0===c?c:R&&l?l[0]:(0,h.jsx)(S,{ownerState:U,className:j.fallback}),(0,h.jsx)(T,(0,r.Z)({as:f,ownerState:U,className:(0,a.Z)(j.root,d),ref:e},L,{children:M}))}))},80587:(t,e,n)=>{"use strict";n.d(e,{Z:()=>v});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(61125),u=n(57369),c=n(63270),h=n(30264),d=n(2957);function f(t){return(0,d.ZP)("MuiBackdrop",t)}(0,h.Z)("MuiBackdrop",["root","invisible"]);var _=n(43188);const p=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],m=(0,l.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.invisible&&e.invisible]}})((({ownerState:t})=>(0,r.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"}))),v=o.forwardRef((function(t,e){var n,o,l;const h=(0,u.Z)({props:t,name:"MuiBackdrop"}),{children:d,className:v,component:g="div",components:y={},componentsProps:b={},invisible:w=!1,open:E,slotProps:x={},slots:C={},TransitionComponent:T=c.Z,transitionDuration:A}=h,S=(0,i.Z)(h,p),z=(0,r.Z)({},h,{component:g,invisible:w}),k=(t=>{const{classes:e,invisible:n}=t,i={root:["root",n&&"invisible"]};return(0,s.Z)(i,f,e)})(z),N=null!=(n=x.root)?n:b.root;return(0,_.jsx)(T,(0,r.Z)({in:E,timeout:A},S,{children:(0,_.jsx)(m,(0,r.Z)({"aria-hidden":!0},N,{as:null!=(o=null!=(l=C.root)?l:y.Root)?o:g,className:(0,a.Z)(k.root,v,null==N?void 0:N.className),ownerState:(0,r.Z)({},z,null==N?void 0:N.ownerState),classes:k,ref:e,children:d}))}))}))},15392:(t,e,n)=>{"use strict";n.r(e),n.d(e,{badgeClasses:()=>m,default:()=>E,getBadgeUtilityClass:()=>p});var i=n(30984),r=n(55559),o=n(66204),a=n(56317),s=n(45240),l=n(95311),u=n(45854),c=n(57369),h=n(61125),d=n(40118),f=n(30264),_=n(2957);function p(t){return(0,_.ZP)("MuiBadge",t)}const m=(0,f.Z)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);var v=n(43188);const g=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],y=c.Z,b=(0,h.ZP)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(t,e)=>e.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),w=(0,h.ZP)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.badge,e[n.variant],e[`anchorOrigin${(0,d.Z)(n.anchorOrigin.vertical)}${(0,d.Z)(n.anchorOrigin.horizontal)}${(0,d.Z)(n.overlap)}`],"default"!==n.color&&e[`color${(0,d.Z)(n.color)}`],n.invisible&&e.invisible]}})((({theme:t})=>{var e;return{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.enteringScreen}),variants:[...Object.keys((null!=(e=t.vars)?e:t).palette).filter((e=>{var n,i;return(null!=(n=t.vars)?n:t).palette[e].main&&(null!=(i=t.vars)?i:t).palette[e].contrastText})).map((e=>({props:{color:e},style:{backgroundColor:(t.vars||t).palette[e].main,color:(t.vars||t).palette[e].contrastText}}))),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${m.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${m.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${m.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${m.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${m.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${m.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${m.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${m.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.leavingScreen})}}]}})),E=o.forwardRef((function(t,e){var n,o,c,h,f,_;const m=y({props:t,name:"MuiBadge"}),{anchorOrigin:E={vertical:"top",horizontal:"right"},className:x,component:C,components:T={},componentsProps:A={},children:S,overlap:z="rectangular",color:k="default",invisible:N=!1,max:I=99,badgeContent:O,slots:L,slotProps:M,showZero:$=!1,variant:R="standard"}=m,P=(0,r.Z)(m,g),{badgeContent:U,invisible:j,max:q,displayValue:D}=function(t){const{badgeContent:e,invisible:n=!1,max:i=99,showZero:r=!1}=t,o=(0,s.Z)({badgeContent:e,max:i});let a=n;!1!==n||0!==e||r||(a=!0);const{badgeContent:l,max:u=i}=a?o:t;return{badgeContent:l,invisible:a,max:u,displayValue:l&&Number(l)>u?`${u}+`:l}}({max:I,invisible:N,badgeContent:O,showZero:$}),B=(0,s.Z)({anchorOrigin:E,color:k,overlap:z,variant:R,badgeContent:O}),F=j||null==U&&"dot"!==R,{color:W=k,overlap:G=z,anchorOrigin:H=E,variant:V=R}=F?B:m,X="dot"!==V?D:void 0,J=(0,i.Z)({},m,{badgeContent:U,invisible:F,max:q,displayValue:X,showZero:$,anchorOrigin:H,color:W,overlap:G,variant:V}),Z=(t=>{const{color:e,anchorOrigin:n,invisible:i,overlap:r,variant:o,classes:a={}}=t,s={root:["root"],badge:["badge",o,i&&"invisible",`anchorOrigin${(0,d.Z)(n.vertical)}${(0,d.Z)(n.horizontal)}`,`anchorOrigin${(0,d.Z)(n.vertical)}${(0,d.Z)(n.horizontal)}${(0,d.Z)(r)}`,`overlap${(0,d.Z)(r)}`,"default"!==e&&`color${(0,d.Z)(e)}`]};return(0,l.Z)(s,p,a)})(J),Y=null!=(n=null!=(o=null==L?void 0:L.root)?o:T.Root)?n:b,K=null!=(c=null!=(h=null==L?void 0:L.badge)?h:T.Badge)?c:w,Q=null!=(f=null==M?void 0:M.root)?f:A.root,tt=null!=(_=null==M?void 0:M.badge)?_:A.badge,et=(0,u.y)({elementType:Y,externalSlotProps:Q,externalForwardedProps:P,additionalProps:{ref:e,as:C},ownerState:J,className:(0,a.Z)(null==Q?void 0:Q.className,Z.root,x)}),nt=(0,u.y)({elementType:K,externalSlotProps:tt,ownerState:J,className:(0,a.Z)(Z.badge,null==tt?void 0:tt.className)});return(0,v.jsxs)(Y,(0,i.Z)({},et,{children:[S,(0,v.jsx)(K,(0,i.Z)({},nt,{children:X}))]}))}))},1390:(t,e,n)=>{"use strict";n.r(e),n.d(e,{boxClasses:()=>s,default:()=>u});var i=n(30768),r=n(13113),o=n(53534),a=n(80880);const s=(0,n(30264).Z)("MuiBox",["root"]),l=(0,o.default)(),u=(0,i.Z)({themeId:a.Z,defaultTheme:l,defaultClassName:s.root,generateClassName:r.Z.generate})},40475:(t,e,n)=>{"use strict";n.r(e),n.d(e,{buttonClasses:()=>v,default:()=>A,getButtonUtilityClass:()=>m});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(22509),l=n(95311),u=n(83041),c=n(61125),h=n(57369),d=n(42406),f=n(40118),_=n(30264),p=n(2957);function m(t){return(0,p.ZP)("MuiButton",t)}const v=(0,_.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),g=o.createContext({}),y=o.createContext(void 0);var b=n(43188);const w=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],E=t=>(0,r.Z)({},"small"===t.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===t.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===t.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),x=(0,c.ZP)(d.Z,{shouldForwardProp:t=>(0,c.FO)(t)||"classes"===t,name:"MuiButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${(0,f.Z)(n.color)}`],e[`size${(0,f.Z)(n.size)}`],e[`${n.variant}Size${(0,f.Z)(n.size)}`],"inherit"===n.color&&e.colorInherit,n.disableElevation&&e.disableElevation,n.fullWidth&&e.fullWidth]}})((({theme:t,ownerState:e})=>{var n,i;const o="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],a="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return(0,r.Z)({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":(0,r.Z)({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===e.variant&&"inherit"!==e.color&&{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===e.variant&&"inherit"!==e.color&&{border:`1px solid ${(t.vars||t).palette[e.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===e.variant&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},"contained"===e.variant&&"inherit"!==e.color&&{backgroundColor:(t.vars||t).palette[e.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[e.color].main}}),"&:active":(0,r.Z)({},"contained"===e.variant&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${v.focusVisible}`]:(0,r.Z)({},"contained"===e.variant&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${v.disabled}`]:(0,r.Z)({color:(t.vars||t).palette.action.disabled},"outlined"===e.variant&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"contained"===e.variant&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},"text"===e.variant&&{padding:"6px 8px"},"text"===e.variant&&"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main},"outlined"===e.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===e.variant&&"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[e.color].mainChannel} / 0.5)`:`1px solid ${(0,u.Fq)(t.palette[e.color].main,.5)}`},"contained"===e.variant&&{color:t.vars?t.vars.palette.text.primary:null==(n=(i=t.palette).getContrastText)?void 0:n.call(i,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:o,boxShadow:(t.vars||t).shadows[2]},"contained"===e.variant&&"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].contrastText,backgroundColor:(t.vars||t).palette[e.color].main},"inherit"===e.color&&{color:"inherit",borderColor:"currentColor"},"small"===e.size&&"text"===e.variant&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},"large"===e.size&&"text"===e.variant&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},"small"===e.size&&"outlined"===e.variant&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},"large"===e.size&&"outlined"===e.variant&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},"small"===e.size&&"contained"===e.variant&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},"large"===e.size&&"contained"===e.variant&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},e.fullWidth&&{width:"100%"})}),(({ownerState:t})=>t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${v.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${v.disabled}`]:{boxShadow:"none"}})),C=(0,c.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.startIcon,e[`iconSize${(0,f.Z)(n.size)}`]]}})((({ownerState:t})=>(0,r.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},E(t)))),T=(0,c.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.endIcon,e[`iconSize${(0,f.Z)(n.size)}`]]}})((({ownerState:t})=>(0,r.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},E(t)))),A=o.forwardRef((function(t,e){const n=o.useContext(g),u=o.useContext(y),c=(0,s.Z)(n,t),d=(0,h.Z)({props:c,name:"MuiButton"}),{children:_,color:p="primary",component:v="button",className:E,disabled:A=!1,disableElevation:S=!1,disableFocusRipple:z=!1,endIcon:k,focusVisibleClassName:N,fullWidth:I=!1,size:O="medium",startIcon:L,type:M,variant:$="text"}=d,R=(0,i.Z)(d,w),P=(0,r.Z)({},d,{color:p,component:v,disabled:A,disableElevation:S,disableFocusRipple:z,fullWidth:I,size:O,type:M,variant:$}),U=(t=>{const{color:e,disableElevation:n,fullWidth:i,size:o,variant:a,classes:s}=t,u={root:["root",a,`${a}${(0,f.Z)(e)}`,`size${(0,f.Z)(o)}`,`${a}Size${(0,f.Z)(o)}`,"inherit"===e&&"colorInherit",n&&"disableElevation",i&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,f.Z)(o)}`],endIcon:["endIcon",`iconSize${(0,f.Z)(o)}`]},c=(0,l.Z)(u,m,s);return(0,r.Z)({},s,c)})(P),j=L&&(0,b.jsx)(C,{className:U.startIcon,ownerState:P,children:L}),q=k&&(0,b.jsx)(T,{className:U.endIcon,ownerState:P,children:k}),D=u||"";return(0,b.jsxs)(x,(0,r.Z)({ownerState:P,className:(0,a.Z)(n.className,U.root,E,D),component:v,disabled:A,focusRipple:!z,focusVisibleClassName:(0,a.Z)(U.focusVisible,N),ref:e,type:M},R,{classes:U,children:[j,_,q]}))}))},42406:(t,e,n)=>{"use strict";n.d(e,{Z:()=>B});var i=n(30984),r=n(55559),o=n(66204),a=n(56317),s=n(95311),l=n(61125),u=n(57369),c=n(81597),h=n(42853),d=n(97128),f=n(40715);function _(){return _=Object.assign||function(t){for(var e=1;et;const L=(0,x.F4)(z||(z=O` 0% { transform: scale(0); opacity: 0.1; } 100% { transform: scale(1); opacity: 0.3; } `)),M=(0,x.F4)(k||(k=O` 0% { opacity: 1; } 100% { opacity: 0; } `)),$=(0,x.F4)(N||(N=O` 0% { transform: scale(1); } 50% { transform: scale(0.92); } 100% { transform: scale(1); } `)),R=(0,l.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),P=(0,l.ZP)((function(t){const{className:e,classes:n,pulsate:i=!1,rippleX:r,rippleY:s,rippleSize:l,in:u,onExited:c,timeout:h}=t,[d,f]=o.useState(!1),_=(0,a.Z)(e,n.ripple,n.rippleVisible,i&&n.ripplePulsate),p={width:l,height:l,top:-l/2+s,left:-l/2+r},m=(0,a.Z)(n.child,d&&n.childLeaving,i&&n.childPulsate);return u||d||f(!0),o.useEffect((()=>{if(!u&&null!=c){const t=setTimeout(c,h);return()=>{clearTimeout(t)}}}),[c,u,h]),(0,T.jsx)("span",{className:_,style:p,children:(0,T.jsx)("span",{className:m})})}),{name:"MuiTouchRipple",slot:"Ripple"})(I||(I=O` opacity: 0; position: absolute; &.${0} { opacity: 0.3; transform: scale(1); animation-name: ${0}; animation-duration: ${0}ms; animation-timing-function: ${0}; } &.${0} { animation-duration: ${0}ms; } & .${0} { opacity: 1; display: block; width: 100%; height: 100%; border-radius: 50%; background-color: currentColor; } & .${0} { opacity: 0; animation-name: ${0}; animation-duration: ${0}ms; animation-timing-function: ${0}; } & .${0} { position: absolute; /* @noflip */ left: 0px; top: 0; animation-name: ${0}; animation-duration: 2500ms; animation-timing-function: ${0}; animation-iteration-count: infinite; animation-delay: 200ms; } `),A.Z.rippleVisible,L,550,(({theme:t})=>t.transitions.easing.easeInOut),A.Z.ripplePulsate,(({theme:t})=>t.transitions.duration.shorter),A.Z.child,A.Z.childLeaving,M,550,(({theme:t})=>t.transitions.easing.easeInOut),A.Z.childPulsate,$,(({theme:t})=>t.transitions.easing.easeInOut)),U=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiTouchRipple"}),{center:s=!1,classes:l={},className:c}=n,h=(0,r.Z)(n,S),[d,f]=o.useState([]),_=o.useRef(0),p=o.useRef(null);o.useEffect((()=>{p.current&&(p.current(),p.current=null)}),[d]);const m=o.useRef(!1),v=(0,C.Z)(),g=o.useRef(null),y=o.useRef(null),b=o.useCallback((t=>{const{pulsate:e,rippleX:n,rippleY:i,rippleSize:r,cb:o}=t;f((t=>[...t,(0,T.jsx)(P,{classes:{ripple:(0,a.Z)(l.ripple,A.Z.ripple),rippleVisible:(0,a.Z)(l.rippleVisible,A.Z.rippleVisible),ripplePulsate:(0,a.Z)(l.ripplePulsate,A.Z.ripplePulsate),child:(0,a.Z)(l.child,A.Z.child),childLeaving:(0,a.Z)(l.childLeaving,A.Z.childLeaving),childPulsate:(0,a.Z)(l.childPulsate,A.Z.childPulsate)},timeout:550,pulsate:e,rippleX:n,rippleY:i,rippleSize:r},_.current)])),_.current+=1,p.current=o}),[l]),w=o.useCallback(((t={},e={},n=(()=>{}))=>{const{pulsate:i=!1,center:r=s||e.pulsate,fakeElement:o=!1}=e;if("mousedown"===(null==t?void 0:t.type)&&m.current)return void(m.current=!1);"touchstart"===(null==t?void 0:t.type)&&(m.current=!0);const a=o?null:y.current,l=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,h;if(r||void 0===t||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)u=Math.round(l.width/2),c=Math.round(l.height/2);else{const{clientX:e,clientY:n}=t.touches&&t.touches.length>0?t.touches[0]:t;u=Math.round(e-l.left),c=Math.round(n-l.top)}if(r)h=Math.sqrt((2*l.width**2+l.height**2)/3),h%2==0&&(h+=1);else{const t=2*Math.max(Math.abs((a?a.clientWidth:0)-u),u)+2,e=2*Math.max(Math.abs((a?a.clientHeight:0)-c),c)+2;h=Math.sqrt(t**2+e**2)}null!=t&&t.touches?null===g.current&&(g.current=()=>{b({pulsate:i,rippleX:u,rippleY:c,rippleSize:h,cb:n})},v.start(80,(()=>{g.current&&(g.current(),g.current=null)}))):b({pulsate:i,rippleX:u,rippleY:c,rippleSize:h,cb:n})}),[s,b,v]),x=o.useCallback((()=>{w({},{pulsate:!0})}),[w]),z=o.useCallback(((t,e)=>{if(v.clear(),"touchend"===(null==t?void 0:t.type)&&g.current)return g.current(),g.current=null,void v.start(0,(()=>{z(t,e)}));g.current=null,f((t=>t.length>0?t.slice(1):t)),p.current=e}),[v]);return o.useImperativeHandle(e,(()=>({pulsate:x,start:w,stop:z})),[x,w,z]),(0,T.jsx)(R,(0,i.Z)({className:(0,a.Z)(A.Z.root,l.root,c),ref:y},h,{children:(0,T.jsx)(E,{component:null,exit:!0,children:d})}))}));var j=n(31317);const q=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],D=(0,l.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${j.Z.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),B=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiButtonBase"}),{action:l,centerRipple:f=!1,children:_,className:p,component:m="button",disabled:v=!1,disableRipple:g=!1,disableTouchRipple:y=!1,focusRipple:b=!1,LinkComponent:w="a",onBlur:E,onClick:x,onContextMenu:C,onDragLeave:A,onFocus:S,onFocusVisible:z,onKeyDown:k,onKeyUp:N,onMouseDown:I,onMouseLeave:O,onMouseUp:L,onTouchEnd:M,onTouchMove:$,onTouchStart:R,tabIndex:P=0,TouchRippleProps:B,touchRippleRef:F,type:W}=n,G=(0,r.Z)(n,q),H=o.useRef(null),V=o.useRef(null),X=(0,c.Z)(V,F),{isFocusVisibleRef:J,onFocus:Z,onBlur:Y,ref:K}=(0,d.Z)(),[Q,tt]=o.useState(!1);v&&Q&&tt(!1),o.useImperativeHandle(l,(()=>({focusVisible:()=>{tt(!0),H.current.focus()}})),[]);const[et,nt]=o.useState(!1);o.useEffect((()=>{nt(!0)}),[]);const it=et&&!g&&!v;function rt(t,e,n=y){return(0,h.Z)((i=>(e&&e(i),!n&&V.current&&V.current[t](i),!0)))}o.useEffect((()=>{Q&&b&&!g&&et&&V.current.pulsate()}),[g,b,Q,et]);const ot=rt("start",I),at=rt("stop",C),st=rt("stop",A),lt=rt("stop",L),ut=rt("stop",(t=>{Q&&t.preventDefault(),O&&O(t)})),ct=rt("start",R),ht=rt("stop",M),dt=rt("stop",$),ft=rt("stop",(t=>{Y(t),!1===J.current&&tt(!1),E&&E(t)}),!1),_t=(0,h.Z)((t=>{H.current||(H.current=t.currentTarget),Z(t),!0===J.current&&(tt(!0),z&&z(t)),S&&S(t)})),pt=()=>{const t=H.current;return m&&"button"!==m&&!("A"===t.tagName&&t.href)},mt=o.useRef(!1),vt=(0,h.Z)((t=>{b&&!mt.current&&Q&&V.current&&" "===t.key&&(mt.current=!0,V.current.stop(t,(()=>{V.current.start(t)}))),t.target===t.currentTarget&&pt()&&" "===t.key&&t.preventDefault(),k&&k(t),t.target===t.currentTarget&&pt()&&"Enter"===t.key&&!v&&(t.preventDefault(),x&&x(t))})),gt=(0,h.Z)((t=>{b&&" "===t.key&&V.current&&Q&&!t.defaultPrevented&&(mt.current=!1,V.current.stop(t,(()=>{V.current.pulsate(t)}))),N&&N(t),x&&t.target===t.currentTarget&&pt()&&" "===t.key&&!t.defaultPrevented&&x(t)}));let yt=m;"button"===yt&&(G.href||G.to)&&(yt=w);const bt={};"button"===yt?(bt.type=void 0===W?"button":W,bt.disabled=v):(G.href||G.to||(bt.role="button"),v&&(bt["aria-disabled"]=v));const wt=(0,c.Z)(e,K,H),Et=(0,i.Z)({},n,{centerRipple:f,component:m,disabled:v,disableRipple:g,disableTouchRipple:y,focusRipple:b,tabIndex:P,focusVisible:Q}),xt=(t=>{const{disabled:e,focusVisible:n,focusVisibleClassName:i,classes:r}=t,o={root:["root",e&&"disabled",n&&"focusVisible"]},a=(0,s.Z)(o,j.$,r);return n&&i&&(a.root+=` ${i}`),a})(Et);return(0,T.jsxs)(D,(0,i.Z)({as:yt,className:(0,a.Z)(xt.root,p),ownerState:Et,onBlur:ft,onClick:x,onContextMenu:at,onFocus:_t,onKeyDown:vt,onKeyUp:gt,onMouseDown:ot,onMouseLeave:ut,onMouseUp:lt,onDragLeave:st,onTouchEnd:ht,onTouchMove:dt,onTouchStart:ct,ref:wt,tabIndex:v?-1:P,type:W},bt,G,{children:[_,it?(0,T.jsx)(U,(0,i.Z)({ref:X,center:f},B)):null]}))}))},31317:(t,e,n)=>{"use strict";n.d(e,{$:()=>o,Z:()=>a});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiButtonBase",t)}const a=(0,i.Z)("MuiButtonBase",["root","disabled","focusVisible"])},20641:(t,e,n)=>{"use strict";n.r(e),n.d(e,{buttonBaseClasses:()=>r.Z,default:()=>i.Z,getButtonBaseUtilityClass:()=>r.$,getTouchRippleUtilityClass:()=>o.H,touchRippleClasses:()=>o.Z});var i=n(42406),r=n(31317),o=n(61247)},61247:(t,e,n)=>{"use strict";n.d(e,{H:()=>o,Z:()=>a});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiTouchRipple",t)}const a=(0,i.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"])},34181:(t,e,n)=>{"use strict";n.r(e),n.d(e,{cardClasses:()=>_,default:()=>g,getCardUtilityClass:()=>f});var i=n(30984),r=n(55559),o=n(66204),a=n(56317),s=n(95311),l=n(61125),u=n(57369),c=n(3943),h=n(30264),d=n(2957);function f(t){return(0,d.ZP)("MuiCard",t)}const _=(0,h.Z)("MuiCard",["root"]);var p=n(43188);const m=["className","raised"],v=(0,l.ZP)(c.Z,{name:"MuiCard",slot:"Root",overridesResolver:(t,e)=>e.root})((()=>({overflow:"hidden"}))),g=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiCard"}),{className:o,raised:l=!1}=n,c=(0,r.Z)(n,m),h=(0,i.Z)({},n,{raised:l}),d=(t=>{const{classes:e}=t;return(0,s.Z)({root:["root"]},f,e)})(h);return(0,p.jsx)(v,(0,i.Z)({className:(0,a.Z)(d.root,o),elevation:l?8:void 0,ref:e,ownerState:h},c))}))},36585:(t,e,n)=>{"use strict";n.r(e),n.d(e,{cardActionAreaClasses:()=>f,default:()=>y,getCardActionAreaUtilityClass:()=>d});var i=n(30984),r=n(55559),o=n(66204),a=n(56317),s=n(95311),l=n(57369),u=n(61125),c=n(30264),h=n(2957);function d(t){return(0,h.ZP)("MuiCardActionArea",t)}const f=(0,c.Z)("MuiCardActionArea",["root","focusVisible","focusHighlight"]);var _=n(42406),p=n(43188);const m=["children","className","focusVisibleClassName"],v=(0,u.ZP)(_.Z,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(t,e)=>e.root})((({theme:t})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${f.focusHighlight}`]:{opacity:(t.vars||t).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${f.focusVisible} .${f.focusHighlight}`]:{opacity:(t.vars||t).palette.action.focusOpacity}}))),g=(0,u.ZP)("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(t,e)=>e.focusHighlight})((({theme:t})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:t.transitions.create("opacity",{duration:t.transitions.duration.short})}))),y=o.forwardRef((function(t,e){const n=(0,l.Z)({props:t,name:"MuiCardActionArea"}),{children:o,className:u,focusVisibleClassName:c}=n,h=(0,r.Z)(n,m),f=n,_=(t=>{const{classes:e}=t;return(0,s.Z)({root:["root"],focusHighlight:["focusHighlight"]},d,e)})(f);return(0,p.jsxs)(v,(0,i.Z)({className:(0,a.Z)(_.root,u),focusVisibleClassName:(0,a.Z)(c,_.focusVisible),ref:e,ownerState:f},h,{children:[o,(0,p.jsx)(g,{className:_.focusHighlight,ownerState:f})]}))}))},86982:(t,e,n)=>{"use strict";n.r(e),n.d(e,{cardContentClasses:()=>f,default:()=>v,getCardContentUtilityClass:()=>d});var i=n(30984),r=n(55559),o=n(66204),a=n(56317),s=n(95311),l=n(61125),u=n(57369),c=n(30264),h=n(2957);function d(t){return(0,h.ZP)("MuiCardContent",t)}const f=(0,c.Z)("MuiCardContent",["root"]);var _=n(43188);const p=["className","component"],m=(0,l.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,e)=>e.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}}))),v=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiCardContent"}),{className:o,component:l="div"}=n,c=(0,r.Z)(n,p),h=(0,i.Z)({},n,{component:l}),f=(t=>{const{classes:e}=t;return(0,s.Z)({root:["root"]},d,e)})(h);return(0,_.jsx)(m,(0,i.Z)({as:l,className:(0,a.Z)(f.root,o),ownerState:h,ref:e},c))}))},27556:(t,e,n)=>{"use strict";n.r(e),n.d(e,{cardMediaClasses:()=>f,default:()=>y,getCardMediaUtilityClass:()=>d});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(57369),u=n(61125),c=n(30264),h=n(2957);function d(t){return(0,h.ZP)("MuiCardMedia",t)}const f=(0,c.Z)("MuiCardMedia",["root","media","img"]);var _=n(43188);const p=["children","className","component","image","src","style"],m=(0,u.ZP)("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{isMediaComponent:i,isImageComponent:r}=n;return[e.root,i&&e.media,r&&e.img]}})((({ownerState:t})=>(0,r.Z)({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},t.isMediaComponent&&{width:"100%"},t.isImageComponent&&{objectFit:"cover"}))),v=["video","audio","picture","iframe","img"],g=["picture","img"],y=o.forwardRef((function(t,e){const n=(0,l.Z)({props:t,name:"MuiCardMedia"}),{children:o,className:u,component:c="div",image:h,src:f,style:y}=n,b=(0,i.Z)(n,p),w=-1!==v.indexOf(c),E=!w&&h?(0,r.Z)({backgroundImage:`url("${h}")`},y):y,x=(0,r.Z)({},n,{component:c,isMediaComponent:w,isImageComponent:-1!==g.indexOf(c)}),C=(t=>{const{classes:e,isMediaComponent:n,isImageComponent:i}=t,r={root:["root",n&&"media",i&&"img"]};return(0,s.Z)(r,d,e)})(x);return(0,_.jsx)(m,(0,r.Z)({className:(0,a.Z)(C.root,u),as:c,role:!w&&h?"img":void 0,ref:e,style:E,ownerState:x,src:w?h||f:void 0},b,{children:o}))}))},62225:(t,e,n)=>{"use strict";n.d(e,{Z:()=>E});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(83041),u=n(66661),c=n(43188);const h=(0,u.Z)((0,c.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var d=n(81597),f=n(40118),_=n(42406),p=n(57369),m=n(61125),v=n(23780);const g=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],y=(0,m.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{color:i,iconColor:r,clickable:o,onDelete:a,size:s,variant:l}=n;return[{[`& .${v.Z.avatar}`]:e.avatar},{[`& .${v.Z.avatar}`]:e[`avatar${(0,f.Z)(s)}`]},{[`& .${v.Z.avatar}`]:e[`avatarColor${(0,f.Z)(i)}`]},{[`& .${v.Z.icon}`]:e.icon},{[`& .${v.Z.icon}`]:e[`icon${(0,f.Z)(s)}`]},{[`& .${v.Z.icon}`]:e[`iconColor${(0,f.Z)(r)}`]},{[`& .${v.Z.deleteIcon}`]:e.deleteIcon},{[`& .${v.Z.deleteIcon}`]:e[`deleteIcon${(0,f.Z)(s)}`]},{[`& .${v.Z.deleteIcon}`]:e[`deleteIconColor${(0,f.Z)(i)}`]},{[`& .${v.Z.deleteIcon}`]:e[`deleteIcon${(0,f.Z)(l)}Color${(0,f.Z)(i)}`]},e.root,e[`size${(0,f.Z)(s)}`],e[`color${(0,f.Z)(i)}`],o&&e.clickable,o&&"default"!==i&&e[`clickableColor${(0,f.Z)(i)})`],a&&e.deletable,a&&"default"!==i&&e[`deletableColor${(0,f.Z)(i)}`],e[l],e[`${l}${(0,f.Z)(i)}`]]}})((({theme:t,ownerState:e})=>{const n="light"===t.palette.mode?t.palette.grey[700]:t.palette.grey[300];return(0,r.Z)({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${v.Z.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${v.Z.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:n,fontSize:t.typography.pxToRem(12)},[`& .${v.Z.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${v.Z.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${v.Z.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${v.Z.icon}`]:(0,r.Z)({marginLeft:5,marginRight:-6},"small"===e.size&&{fontSize:18,marginLeft:4,marginRight:-4},e.iconColor===e.color&&(0,r.Z)({color:t.vars?t.vars.palette.Chip.defaultIconColor:n},"default"!==e.color&&{color:"inherit"})),[`& .${v.Z.deleteIcon}`]:(0,r.Z)({WebkitTapHighlightColor:"transparent",color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.26)`:(0,l.Fq)(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:(0,l.Fq)(t.palette.text.primary,.4)}},"small"===e.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==e.color&&{color:t.vars?`rgba(${t.vars.palette[e.color].contrastTextChannel} / 0.7)`:(0,l.Fq)(t.palette[e.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[e.color].contrastText}})},"small"===e.size&&{height:24},"default"!==e.color&&{backgroundColor:(t.vars||t).palette[e.color].main,color:(t.vars||t).palette[e.color].contrastText},e.onDelete&&{[`&.${v.Z.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,l.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},e.onDelete&&"default"!==e.color&&{[`&.${v.Z.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e.color].dark}})}),(({theme:t,ownerState:e})=>(0,r.Z)({},e.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,l.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},[`&.${v.Z.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,l.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}},e.clickable&&"default"!==e.color&&{[`&:hover, &.${v.Z.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e.color].dark}})),(({theme:t,ownerState:e})=>(0,r.Z)({},"outlined"===e.variant&&{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${v.Z.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${v.Z.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${v.Z.avatar}`]:{marginLeft:4},[`& .${v.Z.avatarSmall}`]:{marginLeft:2},[`& .${v.Z.icon}`]:{marginLeft:4},[`& .${v.Z.iconSmall}`]:{marginLeft:2},[`& .${v.Z.deleteIcon}`]:{marginRight:5},[`& .${v.Z.deleteIconSmall}`]:{marginRight:3}},"outlined"===e.variant&&"default"!==e.color&&{color:(t.vars||t).palette[e.color].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / 0.7)`:(0,l.Fq)(t.palette[e.color].main,.7)}`,[`&.${v.Z.clickable}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,l.Fq)(t.palette[e.color].main,t.palette.action.hoverOpacity)},[`&.${v.Z.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.focusOpacity})`:(0,l.Fq)(t.palette[e.color].main,t.palette.action.focusOpacity)},[`& .${v.Z.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / 0.7)`:(0,l.Fq)(t.palette[e.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[e.color].main}}}))),b=(0,m.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,e)=>{const{ownerState:n}=t,{size:i}=n;return[e.label,e[`label${(0,f.Z)(i)}`]]}})((({ownerState:t})=>(0,r.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===t.variant&&{paddingLeft:11,paddingRight:11},"small"===t.size&&{paddingLeft:8,paddingRight:8},"small"===t.size&&"outlined"===t.variant&&{paddingLeft:7,paddingRight:7})));function w(t){return"Backspace"===t.key||"Delete"===t.key}const E=o.forwardRef((function(t,e){const n=(0,p.Z)({props:t,name:"MuiChip"}),{avatar:l,className:u,clickable:m,color:E="default",component:x,deleteIcon:C,disabled:T=!1,icon:A,label:S,onClick:z,onDelete:k,onKeyDown:N,onKeyUp:I,size:O="medium",variant:L="filled",tabIndex:M,skipFocusWhenDisabled:$=!1}=n,R=(0,i.Z)(n,g),P=o.useRef(null),U=(0,d.Z)(P,e),j=t=>{t.stopPropagation(),k&&k(t)},q=!(!1===m||!z)||m,D=q||k?_.Z:x||"div",B=(0,r.Z)({},n,{component:D,disabled:T,size:O,color:E,iconColor:o.isValidElement(A)&&A.props.color||E,onDelete:!!k,clickable:q,variant:L}),F=(t=>{const{classes:e,disabled:n,size:i,color:r,iconColor:o,onDelete:a,clickable:l,variant:u}=t,c={root:["root",u,n&&"disabled",`size${(0,f.Z)(i)}`,`color${(0,f.Z)(r)}`,l&&"clickable",l&&`clickableColor${(0,f.Z)(r)}`,a&&"deletable",a&&`deletableColor${(0,f.Z)(r)}`,`${u}${(0,f.Z)(r)}`],label:["label",`label${(0,f.Z)(i)}`],avatar:["avatar",`avatar${(0,f.Z)(i)}`,`avatarColor${(0,f.Z)(r)}`],icon:["icon",`icon${(0,f.Z)(i)}`,`iconColor${(0,f.Z)(o)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,f.Z)(i)}`,`deleteIconColor${(0,f.Z)(r)}`,`deleteIcon${(0,f.Z)(u)}Color${(0,f.Z)(r)}`]};return(0,s.Z)(c,v.z,e)})(B),W=D===_.Z?(0,r.Z)({component:x||"div",focusVisibleClassName:F.focusVisible},k&&{disableRipple:!0}):{};let G=null;k&&(G=C&&o.isValidElement(C)?o.cloneElement(C,{className:(0,a.Z)(C.props.className,F.deleteIcon),onClick:j}):(0,c.jsx)(h,{className:(0,a.Z)(F.deleteIcon),onClick:j}));let H=null;l&&o.isValidElement(l)&&(H=o.cloneElement(l,{className:(0,a.Z)(F.avatar,l.props.className)}));let V=null;return A&&o.isValidElement(A)&&(V=o.cloneElement(A,{className:(0,a.Z)(F.icon,A.props.className)})),(0,c.jsxs)(y,(0,r.Z)({as:D,className:(0,a.Z)(F.root,u),disabled:!(!q||!T)||void 0,onClick:z,onKeyDown:t=>{t.currentTarget===t.target&&w(t)&&t.preventDefault(),N&&N(t)},onKeyUp:t=>{t.currentTarget===t.target&&(k&&w(t)?k(t):"Escape"===t.key&&P.current&&P.current.blur()),I&&I(t)},ref:U,tabIndex:$&&T?-1:M,ownerState:B},W,R,{children:[H||V,(0,c.jsx)(b,{className:(0,a.Z)(F.label),ownerState:B,children:S}),G]}))}))},23780:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a,z:()=>o});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiChip",t)}const a=(0,i.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"])},5820:(t,e,n)=>{"use strict";n.r(e),n.d(e,{chipClasses:()=>r.Z,default:()=>i.Z,getChipUtilityClass:()=>r.z});var i=n(62225),r=n(23780)},21282:(t,e,n)=>{"use strict";n.r(e),n.d(e,{circularProgressClasses:()=>p,default:()=>z,getCircularProgressUtilityClass:()=>_});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(71580),u=n(40118),c=n(57369),h=n(61125),d=n(30264),f=n(2957);function _(t){return(0,f.ZP)("MuiCircularProgress",t)}const p=(0,d.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var m=n(43188);const v=["className","color","disableShrink","size","style","thickness","value","variant"];let g,y,b,w,E=t=>t;const x=(0,l.F4)(g||(g=E` 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } `)),C=(0,l.F4)(y||(y=E` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; } 50% { stroke-dasharray: 100px, 200px; stroke-dashoffset: -15px; } 100% { stroke-dasharray: 100px, 200px; stroke-dashoffset: -125px; } `)),T=(0,h.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`color${(0,u.Z)(n.color)}`]]}})((({ownerState:t,theme:e})=>(0,r.Z)({display:"inline-block"},"determinate"===t.variant&&{transition:e.transitions.create("transform")},"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main})),(({ownerState:t})=>"indeterminate"===t.variant&&(0,l.iv)(b||(b=E` animation: ${0} 1.4s linear infinite; `),x))),A=(0,h.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,e)=>e.svg})({display:"block"}),S=(0,h.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.circle,e[`circle${(0,u.Z)(n.variant)}`],n.disableShrink&&e.circleDisableShrink]}})((({ownerState:t,theme:e})=>(0,r.Z)({stroke:"currentColor"},"determinate"===t.variant&&{transition:e.transitions.create("stroke-dashoffset")},"indeterminate"===t.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:t})=>"indeterminate"===t.variant&&!t.disableShrink&&(0,l.iv)(w||(w=E` animation: ${0} 1.4s ease-in-out infinite; `),C))),z=o.forwardRef((function(t,e){const n=(0,c.Z)({props:t,name:"MuiCircularProgress"}),{className:o,color:l="primary",disableShrink:h=!1,size:d=40,style:f,thickness:p=3.6,value:g=0,variant:y="indeterminate"}=n,b=(0,i.Z)(n,v),w=(0,r.Z)({},n,{color:l,disableShrink:h,size:d,thickness:p,value:g,variant:y}),E=(t=>{const{classes:e,variant:n,color:i,disableShrink:r}=t,o={root:["root",n,`color${(0,u.Z)(i)}`],svg:["svg"],circle:["circle",`circle${(0,u.Z)(n)}`,r&&"circleDisableShrink"]};return(0,s.Z)(o,_,e)})(w),x={},C={},z={};if("determinate"===y){const t=2*Math.PI*((44-p)/2);x.strokeDasharray=t.toFixed(3),z["aria-valuenow"]=Math.round(g),x.strokeDashoffset=`${((100-g)/100*t).toFixed(3)}px`,C.transform="rotate(-90deg)"}return(0,m.jsx)(T,(0,r.Z)({className:(0,a.Z)(E.root,o),style:(0,r.Z)({width:d,height:d},C,f),ownerState:w,ref:e,role:"progressbar"},z,b,{children:(0,m.jsx)(A,{className:E.svg,ownerState:w,viewBox:"22 22 44 44",children:(0,m.jsx)(S,{className:E.circle,style:x,ownerState:w,cx:44,cy:44,r:(44-p)/2,fill:"none",strokeWidth:p})})}))}))},93418:(t,e,n)=>{"use strict";n.r(e),n.d(e,{containerClasses:()=>h,default:()=>s,getContainerUtilityClass:()=>c});var i=n(53236),r=n(40118),o=n(61125),a=n(57369);const s=(0,i.Z)({createStyledComponent:(0,o.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`maxWidth${(0,r.Z)(String(n.maxWidth))}`],n.fixed&&e.fixed,n.disableGutters&&e.disableGutters]}}),useThemeProps:t=>(0,a.Z)({props:t,name:"MuiContainer"})});var l=n(30264),u=n(2957);function c(t){return(0,u.ZP)("MuiContainer",t)}const h=(0,l.Z)("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"])},11662:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>c});var i=n(30984),r=n(66204),o=n(57369),a=n(37711),s=n(43188);const l=(t,e)=>(0,i.Z)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},e&&!t.vars&&{colorScheme:t.palette.mode}),u=t=>(0,i.Z)({color:(t.vars||t).palette.text.primary},t.typography.body1,{backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),c=function(t){const e=(0,o.Z)({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:c=!1}=e;return(0,s.jsxs)(r.Fragment,{children:[(0,s.jsx)(a.Z,{styles:t=>((t,e=!1)=>{var n;const r={};e&&t.colorSchemes&&Object.entries(t.colorSchemes).forEach((([e,n])=>{var i;r[t.getColorSchemeSelector(e).replace(/\s*&/,"")]={colorScheme:null==(i=n.palette)?void 0:i.mode}}));let o=(0,i.Z)({html:l(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:(0,i.Z)({margin:0},u(t),{"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}})},r);const a=null==(n=t.components)||null==(n=n.MuiCssBaseline)?void 0:n.styleOverrides;return a&&(o=[o,a]),o})(t,c)}),n]})}},22438:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>z,dialogClasses:()=>g,getDialogUtilityClass:()=>v});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(1311),u=n(40118),c=n(1034),h=n(63270),d=n(3943),f=n(57369),_=n(61125),p=n(30264),m=n(2957);function v(t){return(0,m.ZP)("MuiDialog",t)}const g=(0,p.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),y=o.createContext({});var b=n(80587),w=n(92368),E=n(43188);const x=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],C=(0,_.ZP)(b.Z,{name:"MuiDialog",slot:"Backdrop",overrides:(t,e)=>e.backdrop})({zIndex:-1}),T=(0,_.ZP)(c.Z,{name:"MuiDialog",slot:"Root",overridesResolver:(t,e)=>e.root})({"@media print":{position:"absolute !important"}}),A=(0,_.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.container,e[`scroll${(0,u.Z)(n.scroll)}`]]}})((({ownerState:t})=>(0,r.Z)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===t.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===t.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}))),S=(0,_.ZP)(d.Z,{name:"MuiDialog",slot:"Paper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.paper,e[`scrollPaper${(0,u.Z)(n.scroll)}`],e[`paperWidth${(0,u.Z)(String(n.maxWidth))}`],n.fullWidth&&e.paperFullWidth,n.fullScreen&&e.paperFullScreen]}})((({theme:t,ownerState:e})=>(0,r.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===e.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===e.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!e.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===e.maxWidth&&{maxWidth:"px"===t.breakpoints.unit?Math.max(t.breakpoints.values.xs,444):`max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,[`&.${g.paperScrollBody}`]:{[t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},e.maxWidth&&"xs"!==e.maxWidth&&{maxWidth:`${t.breakpoints.values[e.maxWidth]}${t.breakpoints.unit}`,[`&.${g.paperScrollBody}`]:{[t.breakpoints.down(t.breakpoints.values[e.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},e.fullWidth&&{width:"calc(100% - 64px)"},e.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${g.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}))),z=o.forwardRef((function(t,e){const n=(0,f.Z)({props:t,name:"MuiDialog"}),c=(0,w.Z)(),_={enter:c.transitions.duration.enteringScreen,exit:c.transitions.duration.leavingScreen},{"aria-describedby":p,"aria-labelledby":m,BackdropComponent:g,BackdropProps:b,children:z,className:k,disableEscapeKeyDown:N=!1,fullScreen:I=!1,fullWidth:O=!1,maxWidth:L="sm",onBackdropClick:M,onClose:$,open:R,PaperComponent:P=d.Z,PaperProps:U={},scroll:j="paper",TransitionComponent:q=h.Z,transitionDuration:D=_,TransitionProps:B}=n,F=(0,i.Z)(n,x),W=(0,r.Z)({},n,{disableEscapeKeyDown:N,fullScreen:I,fullWidth:O,maxWidth:L,scroll:j}),G=(t=>{const{classes:e,scroll:n,maxWidth:i,fullWidth:r,fullScreen:o}=t,a={root:["root"],container:["container",`scroll${(0,u.Z)(n)}`],paper:["paper",`paperScroll${(0,u.Z)(n)}`,`paperWidth${(0,u.Z)(String(i))}`,r&&"paperFullWidth",o&&"paperFullScreen"]};return(0,s.Z)(a,v,e)})(W),H=o.useRef(),V=(0,l.Z)(m),X=o.useMemo((()=>({titleId:V})),[V]);return(0,E.jsx)(T,(0,r.Z)({className:(0,a.Z)(G.root,k),closeAfterTransition:!0,components:{Backdrop:C},componentsProps:{backdrop:(0,r.Z)({transitionDuration:D,as:g},b)},disableEscapeKeyDown:N,onClose:$,open:R,ref:e,onClick:t=>{H.current&&(H.current=null,M&&M(t),$&&$(t,"backdropClick"))},ownerState:W},F,{children:(0,E.jsx)(q,(0,r.Z)({appear:!0,in:R,timeout:D,role:"presentation"},B,{children:(0,E.jsx)(A,{className:(0,a.Z)(G.container),onMouseDown:t=>{H.current=t.target===t.currentTarget},ownerState:W,children:(0,E.jsx)(S,(0,r.Z)({as:P,elevation:24,role:"dialog","aria-describedby":p,"aria-labelledby":V},U,{className:(0,a.Z)(G.paper,U.className),ownerState:W,children:(0,E.jsx)(y.Provider,{value:X,children:z})}))})}))}))}))},3702:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>v,dialogActionsClasses:()=>f,getDialogActionsUtilityClass:()=>d});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(61125),u=n(57369),c=n(30264),h=n(2957);function d(t){return(0,h.ZP)("MuiDialogActions",t)}const f=(0,c.Z)("MuiDialogActions",["root","spacing"]);var _=n(43188);const p=["className","disableSpacing"],m=(0,l.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableSpacing&&e.spacing]}})((({ownerState:t})=>(0,r.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}}))),v=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiDialogActions"}),{className:o,disableSpacing:l=!1}=n,c=(0,i.Z)(n,p),h=(0,r.Z)({},n,{disableSpacing:l}),f=(t=>{const{classes:e,disableSpacing:n}=t,i={root:["root",!n&&"spacing"]};return(0,s.Z)(i,d,e)})(h);return(0,_.jsx)(m,(0,r.Z)({className:(0,a.Z)(f.root,o),ownerState:h,ref:e},c))}))},56100:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>g,dialogContentClasses:()=>f,getDialogContentUtilityClass:()=>d});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(61125),u=n(57369),c=n(30264),h=n(2957);function d(t){return(0,h.ZP)("MuiDialogContent",t)}const f=(0,c.Z)("MuiDialogContent",["root","dividers"]),_=(0,c.Z)("MuiDialogTitle",["root"]);var p=n(43188);const m=["className","dividers"],v=(0,l.ZP)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.dividers&&e.dividers]}})((({theme:t,ownerState:e})=>(0,r.Z)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},e.dividers?{padding:"16px 24px",borderTop:`1px solid ${(t.vars||t).palette.divider}`,borderBottom:`1px solid ${(t.vars||t).palette.divider}`}:{[`.${_.root} + &`]:{paddingTop:0}}))),g=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiDialogContent"}),{className:o,dividers:l=!1}=n,c=(0,i.Z)(n,m),h=(0,r.Z)({},n,{dividers:l}),f=(t=>{const{classes:e,dividers:n}=t,i={root:["root",n&&"dividers"]};return(0,s.Z)(i,d,e)})(h);return(0,p.jsx)(v,(0,r.Z)({className:(0,a.Z)(f.root,o),ownerState:h,ref:e},c))}))},83391:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>g,dialogContentTextClasses:()=>_,getDialogContentTextUtilityClass:()=>f});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(61125),u=n(57369),c=n(80013),h=n(30264),d=n(2957);function f(t){return(0,d.ZP)("MuiDialogContentText",t)}const _=(0,h.Z)("MuiDialogContentText",["root"]);var p=n(43188);const m=["children","className"],v=(0,l.ZP)(c.Z,{shouldForwardProp:t=>(0,l.FO)(t)||"classes"===t,name:"MuiDialogContentText",slot:"Root",overridesResolver:(t,e)=>e.root})({}),g=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiDialogContentText"}),{className:o}=n,l=(0,i.Z)(n,m),c=(t=>{const{classes:e}=t,n=(0,s.Z)({root:["root"]},f,e);return(0,r.Z)({},e,n)})(l);return(0,p.jsx)(v,(0,r.Z)({component:"p",variant:"body1",color:"text.secondary",ref:e,ownerState:l,className:(0,a.Z)(c.root,o)},n,{classes:c}))}))},92165:(t,e,n)=>{"use strict";n.d(e,{V:()=>o,Z:()=>a});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiDivider",t)}const a=(0,i.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"])},36517:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>v,dividerClasses:()=>h.Z,getDividerUtilityClass:()=>h.V});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(83041),u=n(61125),c=n(57369),h=n(92165),d=n(43188);const f=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],_=(0,u.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.absolute&&e.absolute,e[n.variant],n.light&&e.light,"vertical"===n.orientation&&e.vertical,n.flexItem&&e.flexItem,n.children&&e.withChildren,n.children&&"vertical"===n.orientation&&e.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&e.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&e.textAlignLeft]}})((({theme:t,ownerState:e})=>(0,r.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},e.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},e.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:(0,l.Fq)(t.palette.divider,.08)},"inset"===e.variant&&{marginLeft:72},"middle"===e.variant&&"horizontal"===e.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===e.variant&&"vertical"===e.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===e.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},e.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:t})=>(0,r.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:t,ownerState:e})=>(0,r.Z)({},e.children&&"vertical"!==e.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`}})),(({theme:t,ownerState:e})=>(0,r.Z)({},e.children&&"vertical"===e.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`}})),(({ownerState:t})=>(0,r.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),p=(0,u.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.wrapper,"vertical"===n.orientation&&e.wrapperVertical]}})((({theme:t,ownerState:e})=>(0,r.Z)({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},"vertical"===e.orientation&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`}))),m=o.forwardRef((function(t,e){const n=(0,c.Z)({props:t,name:"MuiDivider"}),{absolute:o=!1,children:l,className:u,component:m=(l?"div":"hr"),flexItem:v=!1,light:g=!1,orientation:y="horizontal",role:b=("hr"!==m?"separator":void 0),textAlign:w="center",variant:E="fullWidth"}=n,x=(0,i.Z)(n,f),C=(0,r.Z)({},n,{absolute:o,component:m,flexItem:v,light:g,orientation:y,role:b,textAlign:w,variant:E}),T=(t=>{const{absolute:e,children:n,classes:i,flexItem:r,light:o,orientation:a,textAlign:l,variant:u}=t,c={root:["root",e&&"absolute",u,o&&"light","vertical"===a&&"vertical",r&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,s.Z)(c,h.V,i)})(C);return(0,d.jsx)(_,(0,r.Z)({as:m,className:(0,a.Z)(T.root,u),role:b,ref:e,ownerState:C},x,{children:l?(0,d.jsx)(p,{className:T.wrapper,ownerState:C,children:l}):null}))}));m.muiSkipListHighlight=!0;const v=m},96829:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>L,ni:()=>O,wE:()=>I});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(1034),u=n(44628),c=n(78101),h=n(81597),d=n(92368),f=n(79143),_=n(19514),p=n(43188);const m=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function v(t,e,n){var i;const r=function(t,e,n){const i=e.getBoundingClientRect(),r=n&&n.getBoundingClientRect(),o=(0,_.Z)(e);let a;if(e.fakeTransform)a=e.fakeTransform;else{const t=o.getComputedStyle(e);a=t.getPropertyValue("-webkit-transform")||t.getPropertyValue("transform")}let s=0,l=0;if(a&&"none"!==a&&"string"==typeof a){const t=a.split("(")[1].split(")")[0].split(",");s=parseInt(t[4],10),l=parseInt(t[5],10)}return"left"===t?r?`translateX(${r.right+s-i.left}px)`:`translateX(${o.innerWidth+s-i.left}px)`:"right"===t?r?`translateX(-${i.right-r.left-s}px)`:`translateX(-${i.left+i.width-s}px)`:"up"===t?r?`translateY(${r.bottom+l-i.top}px)`:`translateY(${o.innerHeight+l-i.top}px)`:r?`translateY(-${i.top-r.top+i.height-l}px)`:`translateY(-${i.top+i.height-l}px)`}(t,e,"function"==typeof(i=n)?i():i);r&&(e.style.webkitTransform=r,e.style.transform=r)}const g=o.forwardRef((function(t,e){const n=(0,d.Z)(),a={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},s={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:l,appear:g=!0,children:y,container:b,direction:w="down",easing:E=a,in:x,onEnter:C,onEntered:T,onEntering:A,onExit:S,onExited:z,onExiting:k,style:N,timeout:I=s,TransitionComponent:O=u.ZP}=t,L=(0,i.Z)(t,m),M=o.useRef(null),$=(0,h.Z)(y.ref,M,e),R=t=>e=>{t&&(void 0===e?t(M.current):t(M.current,e))},P=R(((t,e)=>{v(w,t,b),(0,f.n)(t),C&&C(t,e)})),U=R(((t,e)=>{const i=(0,f.C)({timeout:I,style:N,easing:E},{mode:"enter"});t.style.webkitTransition=n.transitions.create("-webkit-transform",(0,r.Z)({},i)),t.style.transition=n.transitions.create("transform",(0,r.Z)({},i)),t.style.webkitTransform="none",t.style.transform="none",A&&A(t,e)})),j=R(T),q=R(k),D=R((t=>{const e=(0,f.C)({timeout:I,style:N,easing:E},{mode:"exit"});t.style.webkitTransition=n.transitions.create("-webkit-transform",e),t.style.transition=n.transitions.create("transform",e),v(w,t,b),S&&S(t)})),B=R((t=>{t.style.webkitTransition="",t.style.transition="",z&&z(t)})),F=o.useCallback((()=>{M.current&&v(w,M.current,b)}),[w,b]);return o.useEffect((()=>{if(x||"down"===w||"right"===w)return;const t=(0,c.Z)((()=>{M.current&&v(w,M.current,b)})),e=(0,_.Z)(M.current);return e.addEventListener("resize",t),()=>{t.clear(),e.removeEventListener("resize",t)}}),[w,x,b]),o.useEffect((()=>{x||F()}),[x,F]),(0,p.jsx)(O,(0,r.Z)({nodeRef:M,onEnter:P,onEntered:j,onEntering:U,onExit:D,onExited:B,onExiting:q,addEndListener:t=>{l&&l(M.current,t)},appear:g,in:x,timeout:I},L,{children:(t,e)=>o.cloneElement(y,(0,r.Z)({ref:$,style:(0,r.Z)({visibility:"exited"!==t||x?void 0:"hidden"},N,y.props.style)},e))}))}));var y=n(3943),b=n(40118),w=n(57369),E=n(61125),x=n(19157);const C=["BackdropProps"],T=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],A=(t,e)=>{const{ownerState:n}=t;return[e.root,("permanent"===n.variant||"persistent"===n.variant)&&e.docked,e.modal]},S=(0,E.ZP)(l.Z,{name:"MuiDrawer",slot:"Root",overridesResolver:A})((({theme:t})=>({zIndex:(t.vars||t).zIndex.drawer}))),z=(0,E.ZP)("div",{shouldForwardProp:E.FO,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:A})({flex:"0 0 auto"}),k=(0,E.ZP)(y.Z,{name:"MuiDrawer",slot:"Paper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.paper,e[`paperAnchor${(0,b.Z)(n.anchor)}`],"temporary"!==n.variant&&e[`paperAnchorDocked${(0,b.Z)(n.anchor)}`]]}})((({theme:t,ownerState:e})=>(0,r.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(t.vars||t).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===e.anchor&&{left:0},"top"===e.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===e.anchor&&{right:0},"bottom"===e.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===e.anchor&&"temporary"!==e.variant&&{borderRight:`1px solid ${(t.vars||t).palette.divider}`},"top"===e.anchor&&"temporary"!==e.variant&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`},"right"===e.anchor&&"temporary"!==e.variant&&{borderLeft:`1px solid ${(t.vars||t).palette.divider}`},"bottom"===e.anchor&&"temporary"!==e.variant&&{borderTop:`1px solid ${(t.vars||t).palette.divider}`}))),N={left:"right",right:"left",top:"down",bottom:"up"};function I(t){return-1!==["left","right"].indexOf(t)}function O(t,e){return"rtl"===t.direction&&I(e)?N[e]:e}const L=o.forwardRef((function(t,e){const n=(0,w.Z)({props:t,name:"MuiDrawer"}),l=(0,d.Z)(),u={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{anchor:c="left",BackdropProps:h,children:f,className:_,elevation:m=16,hideBackdrop:v=!1,ModalProps:{BackdropProps:y}={},onClose:E,open:A=!1,PaperProps:I={},SlideProps:L,TransitionComponent:M=g,transitionDuration:$=u,variant:R="temporary"}=n,P=(0,i.Z)(n.ModalProps,C),U=(0,i.Z)(n,T),j=o.useRef(!1);o.useEffect((()=>{j.current=!0}),[]);const q=O(l,c),D=c,B=(0,r.Z)({},n,{anchor:D,elevation:m,open:A,variant:R},U),F=(t=>{const{classes:e,anchor:n,variant:i}=t,r={root:["root"],docked:[("permanent"===i||"persistent"===i)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,b.Z)(n)}`,"temporary"!==i&&`paperAnchorDocked${(0,b.Z)(n)}`]};return(0,s.Z)(r,x.l,e)})(B),W=(0,p.jsx)(k,(0,r.Z)({elevation:"temporary"===R?m:0,square:!0},I,{className:(0,a.Z)(F.paper,I.className),ownerState:B,children:f}));if("permanent"===R)return(0,p.jsx)(z,(0,r.Z)({className:(0,a.Z)(F.root,F.docked,_),ownerState:B,ref:e},U,{children:W}));const G=(0,p.jsx)(M,(0,r.Z)({in:A,direction:N[q],timeout:$,appear:j.current},L,{children:W}));return"persistent"===R?(0,p.jsx)(z,(0,r.Z)({className:(0,a.Z)(F.root,F.docked,_),ownerState:B,ref:e},U,{children:G})):(0,p.jsx)(S,(0,r.Z)({BackdropProps:(0,r.Z)({},h,y,{transitionDuration:$}),className:(0,a.Z)(F.root,F.modal,_),open:A,ownerState:B,onClose:E,hideBackdrop:v,ref:e},U,P,{children:G}))}))},19157:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a,l:()=>o});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiDrawer",t)}const a=(0,i.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"])},68135:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.ZP,drawerClasses:()=>r.Z,getDrawerUtilityClass:()=>r.l});var i=n(96829),r=n(19157)},20899:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>y,fabClasses:()=>_,getFabUtilityClass:()=>f});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(42406),u=n(40118),c=n(57369),h=n(30264),d=n(2957);function f(t){return(0,d.ZP)("MuiFab",t)}const _=(0,h.Z)("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]);var p=n(61125),m=n(43188);const v=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],g=(0,p.ZP)(l.Z,{name:"MuiFab",slot:"Root",shouldForwardProp:t=>(0,p.FO)(t)||"classes"===t,overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`size${(0,u.Z)(n.size)}`],"inherit"===n.color&&e.colorInherit,e[(0,u.Z)(n.size)],e[n.color]]}})((({theme:t,ownerState:e})=>{var n,i;return(0,r.Z)({},t.typography.button,{minHeight:36,transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(t.vars||t).zIndex.fab,boxShadow:(t.vars||t).shadows[6],"&:active":{boxShadow:(t.vars||t).shadows[12]},color:t.vars?t.vars.palette.text.primary:null==(n=(i=t.palette).getContrastText)?void 0:n.call(i,t.palette.grey[300]),backgroundColor:(t.vars||t).palette.grey[300],"&:hover":{backgroundColor:(t.vars||t).palette.grey.A100,"@media (hover: none)":{backgroundColor:(t.vars||t).palette.grey[300]},textDecoration:"none"},[`&.${_.focusVisible}`]:{boxShadow:(t.vars||t).shadows[6]}},"small"===e.size&&{width:40,height:40},"medium"===e.size&&{width:48,height:48},"extended"===e.variant&&{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},"extended"===e.variant&&"small"===e.size&&{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"extended"===e.variant&&"medium"===e.size&&{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40},"inherit"===e.color&&{color:"inherit"})}),(({theme:t,ownerState:e})=>(0,r.Z)({},"inherit"!==e.color&&"default"!==e.color&&null!=(t.vars||t).palette[e.color]&&{color:(t.vars||t).palette[e.color].contrastText,backgroundColor:(t.vars||t).palette[e.color].main,"&:hover":{backgroundColor:(t.vars||t).palette[e.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[e.color].main}}})),(({theme:t})=>({[`&.${_.disabled}`]:{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground}}))),y=o.forwardRef((function(t,e){const n=(0,c.Z)({props:t,name:"MuiFab"}),{children:o,className:l,color:h="default",component:d="button",disabled:_=!1,disableFocusRipple:p=!1,focusVisibleClassName:y,size:b="large",variant:w="circular"}=n,E=(0,i.Z)(n,v),x=(0,r.Z)({},n,{color:h,component:d,disabled:_,disableFocusRipple:p,size:b,variant:w}),C=(t=>{const{color:e,variant:n,classes:i,size:o}=t,a={root:["root",n,`size${(0,u.Z)(o)}`,"inherit"===e?"colorInherit":e]},l=(0,s.Z)(a,f,i);return(0,r.Z)({},i,l)})(x);return(0,m.jsx)(g,(0,r.Z)({className:(0,a.Z)(C.root,l),component:d,disabled:_,focusRipple:!p,focusVisibleClassName:(0,a.Z)(C.focusVisible,y),ownerState:x,ref:e},E,{classes:C,children:o}))}))},63270:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});var i=n(30984),r=n(55559),o=n(66204),a=n(44628),s=n(92368),l=n(79143),u=n(81597),c=n(43188);const h=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],d={entering:{opacity:1},entered:{opacity:1}},f=o.forwardRef((function(t,e){const n=(0,s.Z)(),f={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:_,appear:p=!0,children:m,easing:v,in:g,onEnter:y,onEntered:b,onEntering:w,onExit:E,onExited:x,onExiting:C,style:T,timeout:A=f,TransitionComponent:S=a.ZP}=t,z=(0,r.Z)(t,h),k=o.useRef(null),N=(0,u.Z)(k,m.ref,e),I=t=>e=>{if(t){const n=k.current;void 0===e?t(n):t(n,e)}},O=I(w),L=I(((t,e)=>{(0,l.n)(t);const i=(0,l.C)({style:T,timeout:A,easing:v},{mode:"enter"});t.style.webkitTransition=n.transitions.create("opacity",i),t.style.transition=n.transitions.create("opacity",i),y&&y(t,e)})),M=I(b),$=I(C),R=I((t=>{const e=(0,l.C)({style:T,timeout:A,easing:v},{mode:"exit"});t.style.webkitTransition=n.transitions.create("opacity",e),t.style.transition=n.transitions.create("opacity",e),E&&E(t)})),P=I(x);return(0,c.jsx)(S,(0,i.Z)({appear:p,in:g,nodeRef:k,onEnter:L,onEntered:M,onEntering:O,onExit:R,onExited:P,onExiting:$,addEndListener:t=>{_&&_(k.current,t)},timeout:A},z,{children:(t,e)=>o.cloneElement(m,(0,i.Z)({style:(0,i.Z)({opacity:0,visibility:"exited"!==t||g?void 0:"hidden"},d[t],T,m.props.style),ref:N},e))}))}))},80402:(t,e,n)=>{"use strict";n.d(e,{Z:()=>v});var i=n(55559),r=n(30984),o=n(66204),a=n(96715),s=n(95311),l=n(12303),u=n(61125),c=n(57369),h=n(83195),d=n(43188);const f=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],_=(0,u.ZP)(l.Ej,{shouldForwardProp:t=>(0,u.FO)(t)||"classes"===t,name:"MuiFilledInput",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[...(0,l.Gx)(t,e),!n.disableUnderline&&e.underline]}})((({theme:t,ownerState:e})=>{var n;const i="light"===t.palette.mode,o=i?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=i?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=i?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=i?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,r.Z)({position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:a}},[`&.${h.Z.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:a},[`&.${h.Z.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:l}},!e.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(n=(t.vars||t).palette[e.color||"primary"])?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${h.Z.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${h.Z.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${h.Z.disabled}, .${h.Z.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${h.Z.disabled}:before`]:{borderBottomStyle:"dotted"}},e.startAdornment&&{paddingLeft:12},e.endAdornment&&{paddingRight:12},e.multiline&&(0,r.Z)({padding:"25px 12px 8px"},"small"===e.size&&{paddingTop:21,paddingBottom:4},e.hiddenLabel&&{paddingTop:16,paddingBottom:17},e.hiddenLabel&&"small"===e.size&&{paddingTop:8,paddingBottom:9}))})),p=(0,u.ZP)(l.rA,{name:"MuiFilledInput",slot:"Input",overridesResolver:l._o})((({theme:t,ownerState:e})=>(0,r.Z)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===e.size&&{paddingTop:21,paddingBottom:4},e.hiddenLabel&&{paddingTop:16,paddingBottom:17},e.startAdornment&&{paddingLeft:0},e.endAdornment&&{paddingRight:0},e.hiddenLabel&&"small"===e.size&&{paddingTop:8,paddingBottom:9},e.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}))),m=o.forwardRef((function(t,e){var n,o,u,m;const v=(0,c.Z)({props:t,name:"MuiFilledInput"}),{components:g={},componentsProps:y,fullWidth:b=!1,inputComponent:w="input",multiline:E=!1,slotProps:x,slots:C={},type:T="text"}=v,A=(0,i.Z)(v,f),S=(0,r.Z)({},v,{fullWidth:b,inputComponent:w,multiline:E,type:T}),z=(t=>{const{classes:e,disableUnderline:n}=t,i={root:["root",!n&&"underline"],input:["input"]},o=(0,s.Z)(i,h._,e);return(0,r.Z)({},e,o)})(v),k={root:{ownerState:S},input:{ownerState:S}},N=(null!=x?x:y)?(0,a.Z)(k,null!=x?x:y):k,I=null!=(n=null!=(o=C.root)?o:g.Root)?n:_,O=null!=(u=null!=(m=C.input)?m:g.Input)?u:p;return(0,d.jsx)(l.ZP,(0,r.Z)({slots:{root:I,input:O},componentsProps:N,fullWidth:b,inputComponent:w,multiline:E,ref:e,type:T},A,{classes:z}))}));m.muiName="Input";const v=m},83195:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l,_:()=>s});var i=n(30984),r=n(30264),o=n(2957),a=n(33872);function s(t){return(0,o.ZP)("MuiFilledInput",t)}const l=(0,i.Z)({},a.Z,(0,r.Z)("MuiFilledInput",["root","underline","input"]))},94926:(t,e,n)=>{"use strict";n.d(e,{Z:()=>g});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(57369),u=n(61125),c=n(41372),h=n(40118),d=n(46790),f=n(30954),_=n(4870),p=n(43188);const m=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],v=(0,u.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:t},e)=>(0,r.Z)({},e.root,e[`margin${(0,h.Z)(t.margin)}`],t.fullWidth&&e.fullWidth)})((({ownerState:t})=>(0,r.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"}))),g=o.forwardRef((function(t,e){const n=(0,l.Z)({props:t,name:"MuiFormControl"}),{children:u,className:g,color:y="primary",component:b="div",disabled:w=!1,error:E=!1,focused:x,fullWidth:C=!1,hiddenLabel:T=!1,margin:A="none",required:S=!1,size:z="medium",variant:k="outlined"}=n,N=(0,i.Z)(n,m),I=(0,r.Z)({},n,{color:y,component:b,disabled:w,error:E,fullWidth:C,hiddenLabel:T,margin:A,required:S,size:z,variant:k}),O=(t=>{const{classes:e,margin:n,fullWidth:i}=t,r={root:["root","none"!==n&&`margin${(0,h.Z)(n)}`,i&&"fullWidth"]};return(0,s.Z)(r,_.e,e)})(I),[L,M]=o.useState((()=>{let t=!1;return u&&o.Children.forEach(u,(e=>{if(!(0,d.Z)(e,["Input","Select"]))return;const n=(0,d.Z)(e,["Select"])?e.props.input:e;n&&(0,c.B7)(n.props)&&(t=!0)})),t})),[$,R]=o.useState((()=>{let t=!1;return u&&o.Children.forEach(u,(e=>{(0,d.Z)(e,["Input","Select"])&&((0,c.vd)(e.props,!0)||(0,c.vd)(e.props.inputProps,!0))&&(t=!0)})),t})),[P,U]=o.useState(!1);w&&P&&U(!1);const j=void 0===x||w?P:x;let q;const D=o.useMemo((()=>({adornedStart:L,setAdornedStart:M,color:y,disabled:w,error:E,filled:$,focused:j,fullWidth:C,hiddenLabel:T,size:z,onBlur:()=>{U(!1)},onEmpty:()=>{R(!1)},onFilled:()=>{R(!0)},onFocus:()=>{U(!0)},registerEffect:q,required:S,variant:k})),[L,y,w,E,$,j,C,T,q,S,z,k]);return(0,p.jsx)(f.Z.Provider,{value:D,children:(0,p.jsx)(v,(0,r.Z)({as:b,ownerState:I,className:(0,a.Z)(O.root,g),ref:e},N,{children:u}))})}))},30954:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=n(66204).createContext(void 0)},4870:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a,e:()=>o});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiFormControl",t)}const a=(0,i.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"])},92407:(t,e,n)=>{"use strict";function i({props:t,states:e,muiFormControl:n}){return e.reduce(((e,i)=>(e[i]=t[i],n&&void 0===t[i]&&(e[i]=n[i]),e)),{})}n.d(e,{Z:()=>i})},63085:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,formControlClasses:()=>o.Z,getFormControlUtilityClasses:()=>o.e,useFormControl:()=>r.Z});var i=n(94926),r=n(55834),o=n(4870)},55834:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(66204),r=n(30954);function o(){return i.useContext(r.Z)}},86765:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>x,formControlLabelClasses:()=>v,getFormControlLabelUtilityClasses:()=>m});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(55834),u=n(18020),c=n(80013),h=n(40118),d=n(61125),f=n(57369),_=n(30264),p=n(2957);function m(t){return(0,p.ZP)("MuiFormControlLabel",t)}const v=(0,_.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var g=n(92407),y=n(43188);const b=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],w=(0,d.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${v.label}`]:e.label},e.root,e[`labelPlacement${(0,h.Z)(n.labelPlacement)}`]]}})((({theme:t,ownerState:e})=>(0,r.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${v.disabled}`]:{cursor:"default"}},"start"===e.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===e.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===e.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${v.label}`]:{[`&.${v.disabled}`]:{color:(t.vars||t).palette.text.disabled}}}))),E=(0,d.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(t,e)=>e.asterisk})((({theme:t})=>({[`&.${v.error}`]:{color:(t.vars||t).palette.error.main}}))),x=o.forwardRef((function(t,e){var n,d;const _=(0,f.Z)({props:t,name:"MuiFormControlLabel"}),{className:p,componentsProps:v={},control:x,disabled:C,disableTypography:T,label:A,labelPlacement:S="end",required:z,slotProps:k={}}=_,N=(0,i.Z)(_,b),I=(0,l.Z)(),O=null!=(n=null!=C?C:x.props.disabled)?n:null==I?void 0:I.disabled,L=null!=z?z:x.props.required,M={disabled:O,required:L};["checked","name","onChange","value","inputRef"].forEach((t=>{void 0===x.props[t]&&void 0!==_[t]&&(M[t]=_[t])}));const $=(0,g.Z)({props:_,muiFormControl:I,states:["error"]}),R=(0,r.Z)({},_,{disabled:O,labelPlacement:S,required:L,error:$.error}),P=(t=>{const{classes:e,disabled:n,labelPlacement:i,error:r,required:o}=t,a={root:["root",n&&"disabled",`labelPlacement${(0,h.Z)(i)}`,r&&"error",o&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",r&&"error"]};return(0,s.Z)(a,m,e)})(R),U=null!=(d=k.typography)?d:v.typography;let j=A;return null==j||j.type===c.Z||T||(j=(0,y.jsx)(c.Z,(0,r.Z)({component:"span"},U,{className:(0,a.Z)(P.label,null==U?void 0:U.className),children:j}))),(0,y.jsxs)(w,(0,r.Z)({className:(0,a.Z)(P.root,p),ownerState:R,ref:e},N,{children:[o.cloneElement(x,M),L?(0,y.jsxs)(u.Z,{display:"block",children:[j,(0,y.jsxs)(E,{ownerState:R,"aria-hidden":!0,className:P.asterisk,children:[" ","*"]})]}):j]}))}))},35861:(t,e,n)=>{"use strict";n.d(e,{Z:()=>g});var i,r=n(55559),o=n(30984),a=n(66204),s=n(56317),l=n(95311),u=n(92407),c=n(55834),h=n(61125),d=n(40118),f=n(54475),_=n(57369),p=n(43188);const m=["children","className","component","disabled","error","filled","focused","margin","required","variant"],v=(0,h.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.size&&e[`size${(0,d.Z)(n.size)}`],n.contained&&e.contained,n.filled&&e.filled]}})((({theme:t,ownerState:e})=>(0,o.Z)({color:(t.vars||t).palette.text.secondary},t.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${f.Z.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${f.Z.error}`]:{color:(t.vars||t).palette.error.main}},"small"===e.size&&{marginTop:4},e.contained&&{marginLeft:14,marginRight:14}))),g=a.forwardRef((function(t,e){const n=(0,_.Z)({props:t,name:"MuiFormHelperText"}),{children:a,className:h,component:g="p"}=n,y=(0,r.Z)(n,m),b=(0,c.Z)(),w=(0,u.Z)({props:n,muiFormControl:b,states:["variant","size","disabled","error","filled","focused","required"]}),E=(0,o.Z)({},n,{component:g,contained:"filled"===w.variant||"outlined"===w.variant,variant:w.variant,size:w.size,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required}),x=(t=>{const{classes:e,contained:n,size:i,disabled:r,error:o,filled:a,focused:s,required:u}=t,c={root:["root",r&&"disabled",o&&"error",i&&`size${(0,d.Z)(i)}`,n&&"contained",s&&"focused",a&&"filled",u&&"required"]};return(0,l.Z)(c,f.E,e)})(E);return(0,p.jsx)(v,(0,o.Z)({as:g,ownerState:E,className:(0,s.Z)(x.root,h),ref:e},y,{children:" "===a?i||(i=(0,p.jsx)("span",{className:"notranslate",children:"​"})):a}))}))},54475:(t,e,n)=>{"use strict";n.d(e,{E:()=>o,Z:()=>a});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiFormHelperText",t)}const a=(0,i.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"])},50441:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,formHelperTextClasses:()=>r.Z,getFormHelperTextUtilityClasses:()=>r.E});var i=n(35861),r=n(54475)},37711:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var i=n(30984),r=(n(66204),n(42619)),o=n(85293),a=n(43188);const s=function({styles:t,themeId:e,defaultTheme:n={}}){const i=(0,o.Z)(n),s="function"==typeof t?t(e&&i[e]||i):t;return(0,a.jsx)(r.Z,{styles:s})};var l=n(86995),u=n(80880);const c=function(t){return(0,a.jsx)(s,(0,i.Z)({},t,{defaultTheme:l.Z,themeId:u.Z}))}},74530:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>T,getGridUtilityClass:()=>m,gridClasses:()=>g});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(79556),l=n(8449),u=n(95311),c=n(61125),h=n(57369),d=n(92368);const f=o.createContext();var _=n(30264),p=n(2957);function m(t){return(0,p.ZP)("MuiGrid",t)}const v=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],g=(0,_.Z)("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((t=>`spacing-xs-${t}`)),...["column-reverse","column","row-reverse","row"].map((t=>`direction-xs-${t}`)),...["nowrap","wrap-reverse","wrap"].map((t=>`wrap-xs-${t}`)),...v.map((t=>`grid-xs-${t}`)),...v.map((t=>`grid-sm-${t}`)),...v.map((t=>`grid-md-${t}`)),...v.map((t=>`grid-lg-${t}`)),...v.map((t=>`grid-xl-${t}`))]);var y=n(43188);const b=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function w(t){const e=parseFloat(t);return`${e}${String(t).replace(String(e),"")||"px"}`}function E({breakpoints:t,values:e}){let n="";Object.keys(e).forEach((t=>{""===n&&0!==e[t]&&(n=t)}));const i=Object.keys(t).sort(((e,n)=>t[e]-t[n]));return i.slice(0,i.indexOf(n))}const x=(0,c.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{container:i,direction:r,item:o,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:u}=n;let c=[];i&&(c=function(t,e,n={}){if(!t||t<=0)return[];if("string"==typeof t&&!Number.isNaN(Number(t))||"number"==typeof t)return[n[`spacing-xs-${String(t)}`]];const i=[];return e.forEach((e=>{const r=t[e];Number(r)>0&&i.push(n[`spacing-${e}-${String(r)}`])})),i}(a,u,e));const h=[];return u.forEach((t=>{const i=n[t];i&&h.push(e[`grid-${t}-${String(i)}`])})),[e.root,i&&e.container,o&&e.item,l&&e.zeroMinWidth,...c,"row"!==r&&e[`direction-xs-${String(r)}`],"wrap"!==s&&e[`wrap-xs-${String(s)}`],...h]}})((({ownerState:t})=>(0,r.Z)({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},"wrap"!==t.wrap&&{flexWrap:t.wrap})),(function({theme:t,ownerState:e}){const n=(0,s.P$)({values:e.direction,breakpoints:t.breakpoints.values});return(0,s.k9)({theme:t},n,(t=>{const e={flexDirection:t};return 0===t.indexOf("column")&&(e[`& > .${g.item}`]={maxWidth:"none"}),e}))}),(function({theme:t,ownerState:e}){const{container:n,rowSpacing:i}=e;let r={};if(n&&0!==i){const e=(0,s.P$)({values:i,breakpoints:t.breakpoints.values});let n;"object"==typeof e&&(n=E({breakpoints:t.breakpoints.values,values:e})),r=(0,s.k9)({theme:t},e,((e,i)=>{var r;const o=t.spacing(e);return"0px"!==o?{marginTop:`-${w(o)}`,[`& > .${g.item}`]:{paddingTop:w(o)}}:null!=(r=n)&&r.includes(i)?{}:{marginTop:0,[`& > .${g.item}`]:{paddingTop:0}}}))}return r}),(function({theme:t,ownerState:e}){const{container:n,columnSpacing:i}=e;let r={};if(n&&0!==i){const e=(0,s.P$)({values:i,breakpoints:t.breakpoints.values});let n;"object"==typeof e&&(n=E({breakpoints:t.breakpoints.values,values:e})),r=(0,s.k9)({theme:t},e,((e,i)=>{var r;const o=t.spacing(e);return"0px"!==o?{width:`calc(100% + ${w(o)})`,marginLeft:`-${w(o)}`,[`& > .${g.item}`]:{paddingLeft:w(o)}}:null!=(r=n)&&r.includes(i)?{}:{width:"100%",marginLeft:0,[`& > .${g.item}`]:{paddingLeft:0}}}))}return r}),(function({theme:t,ownerState:e}){let n;return t.breakpoints.keys.reduce(((i,o)=>{let a={};if(e[o]&&(n=e[o]),!n)return i;if(!0===n)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=(0,s.P$)({values:e.columns,breakpoints:t.breakpoints.values}),u="object"==typeof l?l[o]:l;if(null==u)return i;const c=Math.round(n/u*1e8)/1e6+"%";let h={};if(e.container&&e.item&&0!==e.columnSpacing){const n=t.spacing(e.columnSpacing);if("0px"!==n){const t=`calc(${c} + ${w(n)})`;h={flexBasis:t,maxWidth:t}}}a=(0,r.Z)({flexBasis:c,flexGrow:0,maxWidth:c},h)}return 0===t.breakpoints.values[o]?Object.assign(i,a):i[t.breakpoints.up(o)]=a,i}),{})})),C=o.forwardRef((function(t,e){const n=(0,h.Z)({props:t,name:"MuiGrid"}),{breakpoints:s}=(0,d.Z)(),c=(0,l.Z)(n),{className:_,columns:p,columnSpacing:v,component:g="div",container:w=!1,direction:E="row",item:C=!1,rowSpacing:T,spacing:A=0,wrap:S="wrap",zeroMinWidth:z=!1}=c,k=(0,i.Z)(c,b),N=T||A,I=v||A,O=o.useContext(f),L=w?p||12:O,M={},$=(0,r.Z)({},k);s.keys.forEach((t=>{null!=k[t]&&(M[t]=k[t],delete $[t])}));const R=(0,r.Z)({},c,{columns:L,container:w,direction:E,item:C,rowSpacing:N,columnSpacing:I,wrap:S,zeroMinWidth:z,spacing:A},M,{breakpoints:s.keys}),P=(t=>{const{classes:e,container:n,direction:i,item:r,spacing:o,wrap:a,zeroMinWidth:s,breakpoints:l}=t;let c=[];n&&(c=function(t,e){if(!t||t<=0)return[];if("string"==typeof t&&!Number.isNaN(Number(t))||"number"==typeof t)return[`spacing-xs-${String(t)}`];const n=[];return e.forEach((e=>{const i=t[e];if(Number(i)>0){const t=`spacing-${e}-${String(i)}`;n.push(t)}})),n}(o,l));const h=[];l.forEach((e=>{const n=t[e];n&&h.push(`grid-${e}-${String(n)}`)}));const d={root:["root",n&&"container",r&&"item",s&&"zeroMinWidth",...c,"row"!==i&&`direction-xs-${String(i)}`,"wrap"!==a&&`wrap-xs-${String(a)}`,...h]};return(0,u.Z)(d,m,e)})(R);return(0,y.jsx)(f.Provider,{value:L,children:(0,y.jsx)(x,(0,r.Z)({ownerState:R,className:(0,a.Z)(P.root,_),as:g,ref:e},$))})})),T=C},23160:(t,e,n)=>{"use strict";n.d(e,{Z:()=>v});var i=n(30984),r=n(55559),o=n(66204),a=n(97969),s=n(44628),l=n(92368),u=n(79143),c=n(81597),h=n(43188);const d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function f(t){return`scale(${t}, ${t**2})`}const _={entering:{opacity:1,transform:f(1)},entered:{opacity:1,transform:"none"}},p="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),m=o.forwardRef((function(t,e){const{addEndListener:n,appear:m=!0,children:v,easing:g,in:y,onEnter:b,onEntered:w,onEntering:E,onExit:x,onExited:C,onExiting:T,style:A,timeout:S="auto",TransitionComponent:z=s.ZP}=t,k=(0,r.Z)(t,d),N=(0,a.Z)(),I=o.useRef(),O=(0,l.Z)(),L=o.useRef(null),M=(0,c.Z)(L,v.ref,e),$=t=>e=>{if(t){const n=L.current;void 0===e?t(n):t(n,e)}},R=$(E),P=$(((t,e)=>{(0,u.n)(t);const{duration:n,delay:i,easing:r}=(0,u.C)({style:A,timeout:S,easing:g},{mode:"enter"});let o;"auto"===S?(o=O.transitions.getAutoHeightDuration(t.clientHeight),I.current=o):o=n,t.style.transition=[O.transitions.create("opacity",{duration:o,delay:i}),O.transitions.create("transform",{duration:p?o:.666*o,delay:i,easing:r})].join(","),b&&b(t,e)})),U=$(w),j=$(T),q=$((t=>{const{duration:e,delay:n,easing:i}=(0,u.C)({style:A,timeout:S,easing:g},{mode:"exit"});let r;"auto"===S?(r=O.transitions.getAutoHeightDuration(t.clientHeight),I.current=r):r=e,t.style.transition=[O.transitions.create("opacity",{duration:r,delay:n}),O.transitions.create("transform",{duration:p?r:.666*r,delay:p?n:n||.333*r,easing:i})].join(","),t.style.opacity=0,t.style.transform=f(.75),x&&x(t)})),D=$(C);return(0,h.jsx)(z,(0,i.Z)({appear:m,in:y,nodeRef:L,onEnter:P,onEntered:U,onEntering:R,onExit:q,onExited:D,onExiting:j,addEndListener:t=>{"auto"===S&&N.start(I.current||0,t),n&&n(L.current,t)},timeout:"auto"===S?null:S},k,{children:(t,e)=>o.cloneElement(v,(0,i.Z)({style:(0,i.Z)({opacity:0,transform:f(.75),visibility:"exited"!==t||y?void 0:"hidden"},_[t],A,v.props.style),ref:M},e))}))}));m.muiSupportAuto=!0;const v=m},74681:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>y,getIconUtilityClass:()=>f,iconClasses:()=>_});var i=n(30984),r=n(55559),o=n(66204),a=n(56317),s=n(95311),l=n(61125),u=n(57369),c=n(40118),h=n(30264),d=n(2957);function f(t){return(0,d.ZP)("MuiIcon",t)}const _=(0,h.Z)("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var p=n(43188);const m=["baseClassName","className","color","component","fontSize"],v=(0,l.ZP)("span",{name:"MuiIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,"inherit"!==n.color&&e[`color${(0,c.Z)(n.color)}`],e[`fontSize${(0,c.Z)(n.fontSize)}`]]}})((({theme:t,ownerState:e})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,fontSize:{inherit:"inherit",small:t.typography.pxToRem(20),medium:t.typography.pxToRem(24),large:t.typography.pxToRem(36)}[e.fontSize],color:{primary:(t.vars||t).palette.primary.main,secondary:(t.vars||t).palette.secondary.main,info:(t.vars||t).palette.info.main,success:(t.vars||t).palette.success.main,warning:(t.vars||t).palette.warning.main,action:(t.vars||t).palette.action.active,error:(t.vars||t).palette.error.main,disabled:(t.vars||t).palette.action.disabled,inherit:void 0}[e.color]}))),g=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiIcon"}),{baseClassName:o="material-icons",className:l,color:h="inherit",component:d="span",fontSize:_="medium"}=n,g=(0,r.Z)(n,m),y=(0,i.Z)({},n,{baseClassName:o,color:h,component:d,fontSize:_}),b=(t=>{const{color:e,fontSize:n,classes:i}=t,r={root:["root","inherit"!==e&&`color${(0,c.Z)(e)}`,`fontSize${(0,c.Z)(n)}`]};return(0,s.Z)(r,f,i)})(y);return(0,p.jsx)(v,(0,i.Z)({as:d,className:(0,a.Z)(o,"notranslate",b.root,l),ownerState:y,"aria-hidden":!0,ref:e},g))}));g.muiName="Icon";const y=g},49140:(t,e,n)=>{"use strict";n.d(e,{Z:()=>v});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(83041),u=n(61125),c=n(57369),h=n(42406),d=n(40118),f=n(28141),_=n(43188);const p=["edge","children","className","color","disabled","disableFocusRipple","size"],m=(0,u.ZP)(h.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,"default"!==n.color&&e[`color${(0,d.Z)(n.color)}`],n.edge&&e[`edge${(0,d.Z)(n.edge)}`],e[`size${(0,d.Z)(n.size)}`]]}})((({theme:t,ownerState:e})=>(0,r.Z)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!e.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,l.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12})),(({theme:t,ownerState:e})=>{var n;const i=null==(n=(t.vars||t).palette)?void 0:n[e.color];return(0,r.Z)({},"inherit"===e.color&&{color:"inherit"},"inherit"!==e.color&&"default"!==e.color&&(0,r.Z)({color:null==i?void 0:i.main},!e.disableRipple&&{"&:hover":(0,r.Z)({},i&&{backgroundColor:t.vars?`rgba(${i.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,l.Fq)(i.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===e.size&&{padding:5,fontSize:t.typography.pxToRem(18)},"large"===e.size&&{padding:12,fontSize:t.typography.pxToRem(28)},{[`&.${f.Z.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})})),v=o.forwardRef((function(t,e){const n=(0,c.Z)({props:t,name:"MuiIconButton"}),{edge:o=!1,children:l,className:u,color:h="default",disabled:v=!1,disableFocusRipple:g=!1,size:y="medium"}=n,b=(0,i.Z)(n,p),w=(0,r.Z)({},n,{edge:o,color:h,disabled:v,disableFocusRipple:g,size:y}),E=(t=>{const{classes:e,disabled:n,color:i,edge:r,size:o}=t,a={root:["root",n&&"disabled","default"!==i&&`color${(0,d.Z)(i)}`,r&&`edge${(0,d.Z)(r)}`,`size${(0,d.Z)(o)}`]};return(0,s.Z)(a,f.r,e)})(w);return(0,_.jsx)(m,(0,r.Z)({className:(0,a.Z)(E.root,u),centerRipple:!0,focusRipple:!g,disabled:v,ref:e},b,{ownerState:w,children:l}))}))},28141:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a,r:()=>o});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiIconButton",t)}const a=(0,i.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"])},52545:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,getIconButtonUtilityClass:()=>r.r,iconButtonClasses:()=>r.Z});var i=n(49140),r=n(28141)},61054:(t,e,n)=>{"use strict";n.d(e,{Z:()=>v});var i=n(55559),r=n(30984),o=n(66204),a=n(95311),s=n(96715),l=n(12303),u=n(61125),c=n(57369),h=n(2994),d=n(43188);const f=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],_=(0,u.ZP)(l.Ej,{shouldForwardProp:t=>(0,u.FO)(t)||"classes"===t,name:"MuiInput",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[...(0,l.Gx)(t,e),!n.disableUnderline&&e.underline]}})((({theme:t,ownerState:e})=>{let n="light"===t.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(n=`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`),(0,r.Z)({position:"relative"},e.formControl&&{"label + &":{marginTop:16}},!e.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[e.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${h.Z.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${h.Z.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${h.Z.disabled}, .${h.Z.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${h.Z.disabled}:before`]:{borderBottomStyle:"dotted"}})})),p=(0,u.ZP)(l.rA,{name:"MuiInput",slot:"Input",overridesResolver:l._o})({}),m=o.forwardRef((function(t,e){var n,o,u,m;const v=(0,c.Z)({props:t,name:"MuiInput"}),{disableUnderline:g,components:y={},componentsProps:b,fullWidth:w=!1,inputComponent:E="input",multiline:x=!1,slotProps:C,slots:T={},type:A="text"}=v,S=(0,i.Z)(v,f),z=(t=>{const{classes:e,disableUnderline:n}=t,i={root:["root",!n&&"underline"],input:["input"]},o=(0,a.Z)(i,h.l,e);return(0,r.Z)({},e,o)})(v),k={root:{ownerState:{disableUnderline:g}}},N=(null!=C?C:b)?(0,s.Z)(null!=C?C:b,k):k,I=null!=(n=null!=(o=T.root)?o:y.Root)?n:_,O=null!=(u=null!=(m=T.input)?m:y.Input)?u:p;return(0,d.jsx)(l.ZP,(0,r.Z)({slots:{root:I,input:O},slotProps:N,fullWidth:w,inputComponent:E,multiline:x,ref:e,type:A},S,{classes:z}))}));m.muiName="Input";const v=m},2994:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l,l:()=>s});var i=n(30984),r=n(30264),o=n(2957),a=n(33872);function s(t){return(0,o.ZP)("MuiInput",t)}const l=(0,i.Z)({},a.Z,(0,r.Z)("MuiInput",["root","underline","input"]))},81799:(t,e,n)=>{"use strict";n.d(e,{Z:()=>y});var i,r=n(55559),o=n(30984),a=n(66204),s=n(56317),l=n(95311),u=n(40118),c=n(80013),h=n(30954),d=n(55834),f=n(61125),_=n(34810),p=n(57369),m=n(43188);const v=["children","className","component","disablePointerEvents","disableTypography","position","variant"],g=(0,f.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${(0,u.Z)(n.position)}`],!0===n.disablePointerEvents&&e.disablePointerEvents,e[n.variant]]}})((({theme:t,ownerState:e})=>(0,o.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===e.variant&&{[`&.${_.Z.positionStart}&:not(.${_.Z.hiddenLabel})`]:{marginTop:16}},"start"===e.position&&{marginRight:8},"end"===e.position&&{marginLeft:8},!0===e.disablePointerEvents&&{pointerEvents:"none"}))),y=a.forwardRef((function(t,e){const n=(0,p.Z)({props:t,name:"MuiInputAdornment"}),{children:f,className:y,component:b="div",disablePointerEvents:w=!1,disableTypography:E=!1,position:x,variant:C}=n,T=(0,r.Z)(n,v),A=(0,d.Z)()||{};let S=C;C&&A.variant,A&&!S&&(S=A.variant);const z=(0,o.Z)({},n,{hiddenLabel:A.hiddenLabel,size:A.size,disablePointerEvents:w,position:x,variant:S}),k=(t=>{const{classes:e,disablePointerEvents:n,hiddenLabel:i,position:r,size:o,variant:a}=t,s={root:["root",n&&"disablePointerEvents",r&&`position${(0,u.Z)(r)}`,a,i&&"hiddenLabel",o&&`size${(0,u.Z)(o)}`]};return(0,l.Z)(s,_.w,e)})(z);return(0,m.jsx)(h.Z.Provider,{value:null,children:(0,m.jsx)(g,(0,o.Z)({as:b,ownerState:z,className:(0,s.Z)(k.root,y),ref:e},T,{children:"string"!=typeof f||E?(0,m.jsxs)(a.Fragment,{children:["start"===x?i||(i=(0,m.jsx)("span",{className:"notranslate",children:"​"})):null,f]}):(0,m.jsx)(c.Z,{color:"text.secondary",children:f})}))})}))},71099:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,getInputAdornmentUtilityClass:()=>r.w,inputAdornmentClasses:()=>r.Z});var i=n(81799),r=n(34810)},34810:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a,w:()=>o});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiInputAdornment",t)}const a=(0,i.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"])},12303:(t,e,n)=>{"use strict";n.d(e,{rA:()=>M,Ej:()=>L,ZP:()=>R,_o:()=>O,Gx:()=>I});var i=n(55559),r=n(30984),o=n(60247),a=n(66204),s=n(56317),l=n(70047),u=n(95690),c=n(71969),h=n(63886),d=n(43188);const f=["onChange","maxRows","minRows","style","value"];function _(t){return parseInt(t,10)||0}const p={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},m=a.forwardRef((function(t,e){const{onChange:n,maxRows:o,minRows:s=1,style:m,value:v}=t,g=(0,i.Z)(t,f),{current:y}=a.useRef(null!=v),b=a.useRef(null),w=(0,l.Z)(e,b),E=a.useRef(null),x=a.useCallback((()=>{const e=b.current,n=(0,u.Z)(e).getComputedStyle(e);if("0px"===n.width)return{outerHeightStyle:0,overflowing:!1};const i=E.current;i.style.width=n.width,i.value=e.value||t.placeholder||"x","\n"===i.value.slice(-1)&&(i.value+=" ");const r=n.boxSizing,a=_(n.paddingBottom)+_(n.paddingTop),l=_(n.borderBottomWidth)+_(n.borderTopWidth),c=i.scrollHeight;i.value="x";const h=i.scrollHeight;let d=c;return s&&(d=Math.max(Number(s)*h,d)),o&&(d=Math.min(Number(o)*h,d)),d=Math.max(d,h),{outerHeightStyle:d+("border-box"===r?a+l:0),overflowing:Math.abs(d-c)<=1}}),[o,s,t.placeholder]),C=a.useCallback((()=>{const t=x();if(null==(e=t)||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflowing)return;var e;const n=b.current;n.style.height=`${t.outerHeightStyle}px`,n.style.overflow=t.overflowing?"hidden":""}),[x]);return(0,c.Z)((()=>{const t=()=>{C()};const e=(0,h.Z)(t),n=b.current,i=(0,u.Z)(n);let r;return i.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(t),r.observe(n)),()=>{e.clear(),cancelAnimationFrame(undefined),i.removeEventListener("resize",e),r&&r.disconnect()}}),[x,C]),(0,c.Z)((()=>{C()})),(0,d.jsxs)(a.Fragment,{children:[(0,d.jsx)("textarea",(0,r.Z)({value:v,onChange:t=>{y||C(),n&&n(t)},ref:w,rows:s},g)),(0,d.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:E,tabIndex:-1,style:(0,r.Z)({},p,m,{paddingTop:0,paddingBottom:0})})]})}));var v=n(38094),g=n(95311),y=n(92407),b=n(30954),w=n(55834),E=n(61125),x=n(57369),C=n(40118),T=n(81597),A=n(5429),S=n(37711),z=n(41372),k=n(33872);const N=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],I=(t,e)=>{const{ownerState:n}=t;return[e.root,n.formControl&&e.formControl,n.startAdornment&&e.adornedStart,n.endAdornment&&e.adornedEnd,n.error&&e.error,"small"===n.size&&e.sizeSmall,n.multiline&&e.multiline,n.color&&e[`color${(0,C.Z)(n.color)}`],n.fullWidth&&e.fullWidth,n.hiddenLabel&&e.hiddenLabel]},O=(t,e)=>{const{ownerState:n}=t;return[e.input,"small"===n.size&&e.inputSizeSmall,n.multiline&&e.inputMultiline,"search"===n.type&&e.inputTypeSearch,n.startAdornment&&e.inputAdornedStart,n.endAdornment&&e.inputAdornedEnd,n.hiddenLabel&&e.inputHiddenLabel]},L=(0,E.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:I})((({theme:t,ownerState:e})=>(0,r.Z)({},t.typography.body1,{color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${k.Z.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"}},e.multiline&&(0,r.Z)({padding:"4px 0 5px"},"small"===e.size&&{paddingTop:1}),e.fullWidth&&{width:"100%"}))),M=(0,E.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:O})((({theme:t,ownerState:e})=>{const n="light"===t.palette.mode,i=(0,r.Z)({color:"currentColor"},t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})}),o={opacity:"0 !important"},a=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return(0,r.Z)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${k.Z.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${k.Z.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===e.size&&{paddingTop:1},e.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===e.type&&{MozAppearance:"textfield"})})),$=(0,d.jsx)(S.Z,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),R=a.forwardRef((function(t,e){var n;const l=(0,x.Z)({props:t,name:"MuiInputBase"}),{"aria-describedby":u,autoComplete:c,autoFocus:h,className:f,components:_={},componentsProps:p={},defaultValue:E,disabled:S,disableInjectingGlobalStyles:I,endAdornment:O,fullWidth:R=!1,id:P,inputComponent:U="input",inputProps:j={},inputRef:q,maxRows:D,minRows:B,multiline:F=!1,name:W,onBlur:G,onChange:H,onClick:V,onFocus:X,onKeyDown:J,onKeyUp:Z,placeholder:Y,readOnly:K,renderSuffix:Q,rows:tt,slotProps:et={},slots:nt={},startAdornment:it,type:rt="text",value:ot}=l,at=(0,i.Z)(l,N),st=null!=j.value?j.value:ot,{current:lt}=a.useRef(null!=st),ut=a.useRef(),ct=a.useCallback((t=>{}),[]),ht=(0,T.Z)(ut,q,j.ref,ct),[dt,ft]=a.useState(!1),_t=(0,w.Z)(),pt=(0,y.Z)({props:l,muiFormControl:_t,states:["color","disabled","error","hiddenLabel","size","required","filled"]});pt.focused=_t?_t.focused:dt,a.useEffect((()=>{!_t&&S&&dt&&(ft(!1),G&&G())}),[_t,S,dt,G]);const mt=_t&&_t.onFilled,vt=_t&&_t.onEmpty,gt=a.useCallback((t=>{(0,z.vd)(t)?mt&&mt():vt&&vt()}),[mt,vt]);(0,A.Z)((()=>{lt&>({value:st})}),[st,gt,lt]),a.useEffect((()=>{gt(ut.current)}),[]);let yt=U,bt=j;F&&"input"===yt&&(bt=tt?(0,r.Z)({type:void 0,minRows:tt,maxRows:tt},bt):(0,r.Z)({type:void 0,maxRows:D,minRows:B},bt),yt=m),a.useEffect((()=>{_t&&_t.setAdornedStart(Boolean(it))}),[_t,it]);const wt=(0,r.Z)({},l,{color:pt.color||"primary",disabled:pt.disabled,endAdornment:O,error:pt.error,focused:pt.focused,formControl:_t,fullWidth:R,hiddenLabel:pt.hiddenLabel,multiline:F,size:pt.size,startAdornment:it,type:rt}),Et=(t=>{const{classes:e,color:n,disabled:i,error:r,endAdornment:o,focused:a,formControl:s,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:h,size:d,startAdornment:f,type:_}=t,p={root:["root",`color${(0,C.Z)(n)}`,i&&"disabled",r&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",d&&"medium"!==d&&`size${(0,C.Z)(d)}`,c&&"multiline",f&&"adornedStart",o&&"adornedEnd",u&&"hiddenLabel",h&&"readOnly"],input:["input",i&&"disabled","search"===_&&"inputTypeSearch",c&&"inputMultiline","small"===d&&"inputSizeSmall",u&&"inputHiddenLabel",f&&"inputAdornedStart",o&&"inputAdornedEnd",h&&"readOnly"]};return(0,g.Z)(p,k.u,e)})(wt),xt=nt.root||_.Root||L,Ct=et.root||p.root||{},Tt=nt.input||_.Input||M;return bt=(0,r.Z)({},bt,null!=(n=et.input)?n:p.input),(0,d.jsxs)(a.Fragment,{children:[!I&&$,(0,d.jsxs)(xt,(0,r.Z)({},Ct,!(0,v.X)(xt)&&{ownerState:(0,r.Z)({},wt,Ct.ownerState)},{ref:e,onClick:t=>{ut.current&&t.currentTarget===t.target&&ut.current.focus(),V&&V(t)}},at,{className:(0,s.Z)(Et.root,Ct.className,f,K&&"MuiInputBase-readOnly"),children:[it,(0,d.jsx)(b.Z.Provider,{value:null,children:(0,d.jsx)(Tt,(0,r.Z)({ownerState:wt,"aria-invalid":pt.error,"aria-describedby":u,autoComplete:c,autoFocus:h,defaultValue:E,disabled:pt.disabled,id:P,onAnimationStart:t=>{gt("mui-auto-fill-cancel"===t.animationName?ut.current:{value:"x"})},name:W,placeholder:Y,readOnly:K,required:pt.required,rows:tt,value:st,onKeyDown:J,onKeyUp:Z,type:rt},bt,!(0,v.X)(Tt)&&{as:yt,ownerState:(0,r.Z)({},wt,bt.ownerState)},{ref:ht,className:(0,s.Z)(Et.input,bt.className,K&&"MuiInputBase-readOnly"),onBlur:t=>{G&&G(t),j.onBlur&&j.onBlur(t),_t&&_t.onBlur?_t.onBlur(t):ft(!1)},onChange:(t,...e)=>{if(!lt){const e=t.target||ut.current;if(null==e)throw new Error((0,o.Z)(1));gt({value:e.value})}j.onChange&&j.onChange(t,...e),H&&H(t,...e)},onFocus:t=>{pt.disabled?t.stopPropagation():(X&&X(t),j.onFocus&&j.onFocus(t),_t&&_t.onFocus?_t.onFocus(t):ft(!0))}}))}),O,Q?Q((0,r.Z)({},pt,{startAdornment:it})):null]}))]})}))},9807:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.ZP,getInputBaseUtilityClass:()=>r.u,inputBaseClasses:()=>r.Z});var i=n(12303),r=n(33872)},33872:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a,u:()=>o});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiInputBase",t)}const a=(0,i.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},41372:(t,e,n)=>{"use strict";function i(t){return null!=t&&!(Array.isArray(t)&&0===t.length)}function r(t,e=!1){return t&&(i(t.value)&&""!==t.value||e&&i(t.defaultValue)&&""!==t.defaultValue)}function o(t){return t.startAdornment}n.d(e,{B7:()=>o,vd:()=>r})},58707:(t,e,n)=>{"use strict";n.d(e,{Z:()=>T});var i=n(55559),r=n(30984),o=n(66204),a=n(95311),s=n(56317),l=n(92407),u=n(55834),c=n(40118),h=n(57369),d=n(61125),f=n(30264),_=n(2957);function p(t){return(0,_.ZP)("MuiFormLabel",t)}const m=(0,f.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);var v=n(43188);const g=["children","className","color","component","disabled","error","filled","focused","required"],y=(0,d.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:t},e)=>(0,r.Z)({},e.root,"secondary"===t.color&&e.colorSecondary,t.filled&&e.filled)})((({theme:t,ownerState:e})=>(0,r.Z)({color:(t.vars||t).palette.text.secondary},t.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${m.focused}`]:{color:(t.vars||t).palette[e.color].main},[`&.${m.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${m.error}`]:{color:(t.vars||t).palette.error.main}}))),b=(0,d.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(t,e)=>e.asterisk})((({theme:t})=>({[`&.${m.error}`]:{color:(t.vars||t).palette.error.main}}))),w=o.forwardRef((function(t,e){const n=(0,h.Z)({props:t,name:"MuiFormLabel"}),{children:o,className:d,component:f="label"}=n,_=(0,i.Z)(n,g),m=(0,u.Z)(),w=(0,l.Z)({props:n,muiFormControl:m,states:["color","required","focused","disabled","error","filled"]}),E=(0,r.Z)({},n,{color:w.color||"primary",component:f,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required}),x=(t=>{const{classes:e,color:n,focused:i,disabled:r,error:o,filled:s,required:l}=t,u={root:["root",`color${(0,c.Z)(n)}`,r&&"disabled",o&&"error",s&&"filled",i&&"focused",l&&"required"],asterisk:["asterisk",o&&"error"]};return(0,a.Z)(u,p,e)})(E);return(0,v.jsxs)(y,(0,r.Z)({as:f,ownerState:E,className:(0,s.Z)(x.root,d),ref:e},_,{children:[o,w.required&&(0,v.jsxs)(b,{ownerState:E,"aria-hidden":!0,className:x.asterisk,children:[" ","*"]})]}))}));var E=n(90301);const x=["disableAnimation","margin","shrink","variant","className"],C=(0,d.ZP)(w,{shouldForwardProp:t=>(0,d.FO)(t)||"classes"===t,name:"MuiInputLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${m.asterisk}`]:e.asterisk},e.root,n.formControl&&e.formControl,"small"===n.size&&e.sizeSmall,n.shrink&&e.shrink,!n.disableAnimation&&e.animated,n.focused&&e.focused,e[n.variant]]}})((({theme:t,ownerState:e})=>(0,r.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},e.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===e.size&&{transform:"translate(0, 17px) scale(1)"},e.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!e.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===e.variant&&(0,r.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===e.size&&{transform:"translate(12px, 13px) scale(1)"},e.shrink&&(0,r.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===e.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===e.variant&&(0,r.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===e.size&&{transform:"translate(14px, 9px) scale(1)"},e.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"})))),T=o.forwardRef((function(t,e){const n=(0,h.Z)({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,shrink:d,className:f}=n,_=(0,i.Z)(n,x),p=(0,u.Z)();let m=d;void 0===m&&p&&(m=p.filled||p.focused||p.adornedStart);const g=(0,l.Z)({props:n,muiFormControl:p,states:["size","variant","required","focused"]}),y=(0,r.Z)({},n,{disableAnimation:o,formControl:p,shrink:m,size:g.size,variant:g.variant,required:g.required,focused:g.focused}),b=(t=>{const{classes:e,formControl:n,size:i,shrink:o,disableAnimation:s,variant:l,required:u}=t,h={root:["root",n&&"formControl",!s&&"animated",o&&"shrink",i&&"normal"!==i&&`size${(0,c.Z)(i)}`,l],asterisk:[u&&"asterisk"]},d=(0,a.Z)(h,E.Y,e);return(0,r.Z)({},e,d)})(y);return(0,v.jsx)(C,(0,r.Z)({"data-shrink":m,ownerState:y,ref:e,className:(0,s.Z)(b.root,f)},_,{classes:b}))}))},97097:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,getInputLabelUtilityClasses:()=>r.Y,inputLabelClasses:()=>r.Z});var i=n(58707),r=n(90301)},90301:(t,e,n)=>{"use strict";n.d(e,{Y:()=>o,Z:()=>a});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiInputLabel",t)}const a=(0,i.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"])},70587:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>$,getLinearProgressUtilityClass:()=>m,linearProgressClasses:()=>v});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(71580),u=n(83041),c=n(40118),h=n(92368),d=n(61125),f=n(57369),_=n(30264),p=n(2957);function m(t){return(0,p.ZP)("MuiLinearProgress",t)}const v=(0,_.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var g=n(43188);const y=["className","color","value","valueBuffer","variant"];let b,w,E,x,C,T,A=t=>t;const S=(0,l.F4)(b||(b=A` 0% { left: -35%; right: 100%; } 60% { left: 100%; right: -90%; } 100% { left: 100%; right: -90%; } `)),z=(0,l.F4)(w||(w=A` 0% { left: -200%; right: 100%; } 60% { left: 107%; right: -8%; } 100% { left: 107%; right: -8%; } `)),k=(0,l.F4)(E||(E=A` 0% { opacity: 1; background-position: 0 -23px; } 60% { opacity: 0; background-position: 0 -23px; } 100% { opacity: 1; background-position: -200px -23px; } `)),N=(t,e)=>"inherit"===e?"currentColor":t.vars?t.vars.palette.LinearProgress[`${e}Bg`]:"light"===t.palette.mode?(0,u.$n)(t.palette[e].main,.62):(0,u._j)(t.palette[e].main,.5),I=(0,d.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`color${(0,c.Z)(n.color)}`],e[n.variant]]}})((({ownerState:t,theme:e})=>(0,r.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:N(e,t.color)},"inherit"===t.color&&"buffer"!==t.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===t.variant&&{backgroundColor:"transparent"},"query"===t.variant&&{transform:"rotate(180deg)"}))),O=(0,d.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.dashed,e[`dashedColor${(0,c.Z)(n.color)}`]]}})((({ownerState:t,theme:e})=>{const n=N(e,t.color);return(0,r.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===t.color&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})}),(0,l.iv)(x||(x=A` animation: ${0} 3s infinite linear; `),k)),L=(0,d.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.bar,e[`barColor${(0,c.Z)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&e.bar1Indeterminate,"determinate"===n.variant&&e.bar1Determinate,"buffer"===n.variant&&e.bar1Buffer]}})((({ownerState:t,theme:e})=>(0,r.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===t.color?"currentColor":(e.vars||e).palette[t.color].main},"determinate"===t.variant&&{transition:"transform .4s linear"},"buffer"===t.variant&&{zIndex:1,transition:"transform .4s linear"})),(({ownerState:t})=>("indeterminate"===t.variant||"query"===t.variant)&&(0,l.iv)(C||(C=A` width: auto; animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; `),S))),M=(0,d.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.bar,e[`barColor${(0,c.Z)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&e.bar2Indeterminate,"buffer"===n.variant&&e.bar2Buffer]}})((({ownerState:t,theme:e})=>(0,r.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==t.variant&&{backgroundColor:"inherit"===t.color?"currentColor":(e.vars||e).palette[t.color].main},"inherit"===t.color&&{opacity:.3},"buffer"===t.variant&&{backgroundColor:N(e,t.color),transition:"transform .4s linear"})),(({ownerState:t})=>("indeterminate"===t.variant||"query"===t.variant)&&(0,l.iv)(T||(T=A` width: auto; animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; `),z))),$=o.forwardRef((function(t,e){const n=(0,f.Z)({props:t,name:"MuiLinearProgress"}),{className:o,color:l="primary",value:u,valueBuffer:d,variant:_="indeterminate"}=n,p=(0,i.Z)(n,y),v=(0,r.Z)({},n,{color:l,variant:_}),b=(t=>{const{classes:e,variant:n,color:i}=t,r={root:["root",`color${(0,c.Z)(i)}`,n],dashed:["dashed",`dashedColor${(0,c.Z)(i)}`],bar1:["bar",`barColor${(0,c.Z)(i)}`,("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&`barColor${(0,c.Z)(i)}`,"buffer"===n&&`color${(0,c.Z)(i)}`,("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]};return(0,s.Z)(r,m,e)})(v),w=(0,h.Z)(),E={},x={bar1:{},bar2:{}};if(("determinate"===_||"buffer"===_)&&void 0!==u){E["aria-valuenow"]=Math.round(u),E["aria-valuemin"]=0,E["aria-valuemax"]=100;let t=u-100;"rtl"===w.direction&&(t=-t),x.bar1.transform=`translateX(${t}%)`}if("buffer"===_&&void 0!==d){let t=(d||0)-100;"rtl"===w.direction&&(t=-t),x.bar2.transform=`translateX(${t}%)`}return(0,g.jsxs)(I,(0,r.Z)({className:(0,a.Z)(b.root,o),ownerState:v,role:"progressbar"},E,{ref:e},p,{children:["buffer"===_?(0,g.jsx)(O,{className:b.dashed,ownerState:v}):null,(0,g.jsx)(L,{className:b.bar1,ownerState:v,style:x.bar1}),"determinate"===_?null:(0,g.jsx)(M,{className:b.bar2,ownerState:v,style:x.bar2})]}))}))},19079:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>T,getLinkUtilityClass:()=>m,linkClasses:()=>v});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(40118),u=n(61125),c=n(57369),h=n(97128),d=n(81597),f=n(80013),_=n(30264),p=n(2957);function m(t){return(0,p.ZP)("MuiLink",t)}const v=(0,_.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var g=n(4860),y=n(83041);const b={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},w=({theme:t,ownerState:e})=>{const n=(t=>b[t]||t)(e.color),i=(0,g.DW)(t,`palette.${n}`,!1)||e.color,r=(0,g.DW)(t,`palette.${n}Channel`);return"vars"in t&&r?`rgba(${r} / 0.4)`:(0,y.Fq)(i,.4)};var E=n(43188);const x=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],C=(0,u.ZP)(f.Z,{name:"MuiLink",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`underline${(0,l.Z)(n.underline)}`],"button"===n.component&&e.button]}})((({theme:t,ownerState:e})=>(0,r.Z)({},"none"===e.underline&&{textDecoration:"none"},"hover"===e.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===e.underline&&(0,r.Z)({textDecoration:"underline"},"inherit"!==e.color&&{textDecorationColor:w({theme:t,ownerState:e})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===e.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${v.focusVisible}`]:{outline:"auto"}}))),T=o.forwardRef((function(t,e){const n=(0,c.Z)({props:t,name:"MuiLink"}),{className:u,color:f="primary",component:_="a",onBlur:p,onFocus:v,TypographyClasses:g,underline:y="always",variant:w="inherit",sx:T}=n,A=(0,i.Z)(n,x),{isFocusVisibleRef:S,onBlur:z,onFocus:k,ref:N}=(0,h.Z)(),[I,O]=o.useState(!1),L=(0,d.Z)(e,N),M=(0,r.Z)({},n,{color:f,component:_,focusVisible:I,underline:y,variant:w}),$=(t=>{const{classes:e,component:n,focusVisible:i,underline:r}=t,o={root:["root",`underline${(0,l.Z)(r)}`,"button"===n&&"button",i&&"focusVisible"]};return(0,s.Z)(o,m,e)})(M);return(0,E.jsx)(C,(0,r.Z)({color:f,className:(0,a.Z)($.root,u),classes:g,component:_,onBlur:t=>{z(t),!1===S.current&&O(!1),p&&p(t)},onFocus:t=>{k(t),!0===S.current&&O(!0),v&&v(t)},ref:L,ownerState:M,variant:w,sx:[...Object.keys(b).includes(f)?[]:[{color:f}],...Array.isArray(T)?T:[T]]},A))}))},86600:(t,e,n)=>{"use strict";n.d(e,{Z:()=>p});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(61125),u=n(57369),c=n(5524),h=n(9844),d=n(43188);const f=["children","className","component","dense","disablePadding","subheader"],_=(0,l.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disablePadding&&e.padding,n.dense&&e.dense,n.subheader&&e.subheader]}})((({ownerState:t})=>(0,r.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0}))),p=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiList"}),{children:l,className:p,component:m="ul",dense:v=!1,disablePadding:g=!1,subheader:y}=n,b=(0,i.Z)(n,f),w=o.useMemo((()=>({dense:v})),[v]),E=(0,r.Z)({},n,{component:m,dense:v,disablePadding:g}),x=(t=>{const{classes:e,disablePadding:n,dense:i,subheader:r}=t,o={root:["root",!n&&"padding",i&&"dense",r&&"subheader"]};return(0,s.Z)(o,h.z,e)})(E);return(0,d.jsx)(c.Z.Provider,{value:w,children:(0,d.jsxs)(_,(0,r.Z)({as:m,className:(0,a.Z)(x.root,p),ref:e,ownerState:E},b,{children:[y,l]}))})}))},5524:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=n(66204).createContext({})},15795:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,getListUtilityClass:()=>r.z,listClasses:()=>r.Z});var i=n(86600),r=n(9844)},9844:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a,z:()=>o});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiList",t)}const a=(0,i.Z)("MuiList",["root","padding","dense","subheader"])},65147:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>z,getListItemUtilityClass:()=>y,listItemClasses:()=>b});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(38094),l=n(95311),u=n(83041),c=n(61125),h=n(57369),d=n(42406),f=n(46790),_=n(5429),p=n(81597),m=n(5524),v=n(30264),g=n(2957);function y(t){return(0,g.ZP)("MuiListItem",t)}const b=(0,v.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var w=n(481),E=n(53292),x=n(43188);const C=["className"],T=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],A=(0,c.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,"flex-start"===n.alignItems&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters,!n.disablePadding&&e.padding,n.button&&e.button,n.hasSecondaryAction&&e.secondaryAction]}})((({theme:t,ownerState:e})=>(0,r.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!e.disablePadding&&(0,r.Z)({paddingTop:8,paddingBottom:8},e.dense&&{paddingTop:4,paddingBottom:4},!e.disableGutters&&{paddingLeft:16,paddingRight:16},!!e.secondaryAction&&{paddingRight:48}),!!e.secondaryAction&&{[`& > .${w.Z.root}`]:{paddingRight:48}},{[`&.${b.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${b.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,u.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${b.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${b.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},"flex-start"===e.alignItems&&{alignItems:"flex-start"},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},e.button&&{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${b.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,u.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,u.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)}}},e.hasSecondaryAction&&{paddingRight:48}))),S=(0,c.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(t,e)=>e.container})({position:"relative"}),z=o.forwardRef((function(t,e){const n=(0,h.Z)({props:t,name:"MuiListItem"}),{alignItems:u="center",autoFocus:c=!1,button:v=!1,children:g,className:w,component:z,components:k={},componentsProps:N={},ContainerComponent:I="li",ContainerProps:{className:O}={},dense:L=!1,disabled:M=!1,disableGutters:$=!1,disablePadding:R=!1,divider:P=!1,focusVisibleClassName:U,secondaryAction:j,selected:q=!1,slotProps:D={},slots:B={}}=n,F=(0,i.Z)(n.ContainerProps,C),W=(0,i.Z)(n,T),G=o.useContext(m.Z),H=o.useMemo((()=>({dense:L||G.dense||!1,alignItems:u,disableGutters:$})),[u,G.dense,L,$]),V=o.useRef(null);(0,_.Z)((()=>{c&&V.current&&V.current.focus()}),[c]);const X=o.Children.toArray(g),J=X.length&&(0,f.Z)(X[X.length-1],["ListItemSecondaryAction"]),Z=(0,r.Z)({},n,{alignItems:u,autoFocus:c,button:v,dense:H.dense,disabled:M,disableGutters:$,disablePadding:R,divider:P,hasSecondaryAction:J,selected:q}),Y=(t=>{const{alignItems:e,button:n,classes:i,dense:r,disabled:o,disableGutters:a,disablePadding:s,divider:u,hasSecondaryAction:c,selected:h}=t,d={root:["root",r&&"dense",!a&&"gutters",!s&&"padding",u&&"divider",o&&"disabled",n&&"button","flex-start"===e&&"alignItemsFlexStart",c&&"secondaryAction",h&&"selected"],container:["container"]};return(0,l.Z)(d,y,i)})(Z),K=(0,p.Z)(V,e),Q=B.root||k.Root||A,tt=D.root||N.root||{},et=(0,r.Z)({className:(0,a.Z)(Y.root,tt.className,w),disabled:M},W);let nt=z||"li";return v&&(et.component=z||"div",et.focusVisibleClassName=(0,a.Z)(b.focusVisible,U),nt=d.Z),J?(nt=et.component||z?nt:"div","li"===I&&("li"===nt?nt="div":"li"===et.component&&(et.component="div")),(0,x.jsx)(m.Z.Provider,{value:H,children:(0,x.jsxs)(S,(0,r.Z)({as:I,className:(0,a.Z)(Y.container,O),ref:K,ownerState:Z},F,{children:[(0,x.jsx)(Q,(0,r.Z)({},tt,!(0,s.X)(Q)&&{as:nt,ownerState:(0,r.Z)({},Z,tt.ownerState)},et,{children:X})),X.pop()]}))})):(0,x.jsx)(m.Z.Provider,{value:H,children:(0,x.jsxs)(Q,(0,r.Z)({},tt,{as:nt,ref:K},!(0,s.X)(Q)&&{ownerState:(0,r.Z)({},Z,tt.ownerState)},et,{children:[X,j&&(0,x.jsx)(E.Z,{children:j})]}))})}))},40837:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>y,getListItemButtonUtilityClass:()=>p.t,listItemButtonClasses:()=>p.Z});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(83041),u=n(61125),c=n(57369),h=n(42406),d=n(5429),f=n(81597),_=n(5524),p=n(481),m=n(43188);const v=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],g=(0,u.ZP)(h.Z,{shouldForwardProp:t=>(0,u.FO)(t)||"classes"===t,name:"MuiListItemButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,"flex-start"===n.alignItems&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters]}})((({theme:t,ownerState:e})=>(0,r.Z)({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${p.Z.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${p.Z.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${p.Z.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${p.Z.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${p.Z.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===e.alignItems&&{alignItems:"flex-start"},!e.disableGutters&&{paddingLeft:16,paddingRight:16},e.dense&&{paddingTop:4,paddingBottom:4}))),y=o.forwardRef((function(t,e){const n=(0,c.Z)({props:t,name:"MuiListItemButton"}),{alignItems:l="center",autoFocus:u=!1,component:h="div",children:y,dense:b=!1,disableGutters:w=!1,divider:E=!1,focusVisibleClassName:x,selected:C=!1,className:T}=n,A=(0,i.Z)(n,v),S=o.useContext(_.Z),z=o.useMemo((()=>({dense:b||S.dense||!1,alignItems:l,disableGutters:w})),[l,S.dense,b,w]),k=o.useRef(null);(0,d.Z)((()=>{u&&k.current&&k.current.focus()}),[u]);const N=(0,r.Z)({},n,{alignItems:l,dense:z.dense,disableGutters:w,divider:E,selected:C}),I=(t=>{const{alignItems:e,classes:n,dense:i,disabled:o,disableGutters:a,divider:l,selected:u}=t,c={root:["root",i&&"dense",!a&&"gutters",l&&"divider",o&&"disabled","flex-start"===e&&"alignItemsFlexStart",u&&"selected"]},h=(0,s.Z)(c,p.t,n);return(0,r.Z)({},n,h)})(N),O=(0,f.Z)(k,e);return(0,m.jsx)(_.Z.Provider,{value:z,children:(0,m.jsx)(g,(0,r.Z)({ref:O,href:A.href||A.to,component:(A.href||A.to)&&"div"===h?"button":h,focusVisibleClassName:(0,a.Z)(I.focusVisible,x),ownerState:N,className:(0,a.Z)(I.root,T)},A,{classes:I,children:y}))})}))},481:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a,t:()=>o});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiListItemButton",t)}const a=(0,i.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"])},93189:(t,e,n)=>{"use strict";n.d(e,{Z:()=>p});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(61125),u=n(57369),c=n(87017),h=n(5524),d=n(43188);const f=["className"],_=(0,l.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,"flex-start"===n.alignItems&&e.alignItemsFlexStart]}})((({theme:t,ownerState:e})=>(0,r.Z)({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===e.alignItems&&{marginTop:8}))),p=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiListItemIcon"}),{className:l}=n,p=(0,i.Z)(n,f),m=o.useContext(h.Z),v=(0,r.Z)({},n,{alignItems:m.alignItems}),g=(t=>{const{alignItems:e,classes:n}=t,i={root:["root","flex-start"===e&&"alignItemsFlexStart"]};return(0,s.Z)(i,c.f,n)})(v);return(0,d.jsx)(_,(0,r.Z)({className:(0,a.Z)(g.root,l),ownerState:v,ref:e},p))}))},26451:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,getListItemIconUtilityClass:()=>r.f,listItemIconClasses:()=>r.Z});var i=n(93189),r=n(87017)},87017:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a,f:()=>o});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiListItemIcon",t)}const a=(0,i.Z)("MuiListItemIcon",["root","alignItemsFlexStart"])},53292:(t,e,n)=>{"use strict";n.d(e,{Z:()=>m});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(61125),u=n(57369),c=n(5524),h=n(719),d=n(43188);const f=["className"],_=(0,l.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.disableGutters&&e.disableGutters]}})((({ownerState:t})=>(0,r.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0}))),p=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiListItemSecondaryAction"}),{className:l}=n,p=(0,i.Z)(n,f),m=o.useContext(c.Z),v=(0,r.Z)({},n,{disableGutters:m.disableGutters}),g=(t=>{const{disableGutters:e,classes:n}=t,i={root:["root",e&&"disableGutters"]};return(0,s.Z)(i,h.A,n)})(v);return(0,d.jsx)(_,(0,r.Z)({className:(0,a.Z)(g.root,l),ownerState:v,ref:e},p))}));p.muiName="ListItemSecondaryAction";const m=p},66377:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,getListItemSecondaryActionClassesUtilityClass:()=>r.A,listItemSecondaryActionClasses:()=>r.Z});var i=n(53292),r=n(719)},719:(t,e,n)=>{"use strict";n.d(e,{A:()=>o,Z:()=>a});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiListItemSecondaryAction",t)}const a=(0,i.Z)("MuiListItemSecondaryAction",["root","disableGutters"])},36199:(t,e,n)=>{"use strict";n.d(e,{Z:()=>m});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(80013),u=n(5524),c=n(57369),h=n(61125),d=n(99700),f=n(43188);const _=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],p=(0,h.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${d.Z.primary}`]:e.primary},{[`& .${d.Z.secondary}`]:e.secondary},e.root,n.inset&&e.inset,n.primary&&n.secondary&&e.multiline,n.dense&&e.dense]}})((({ownerState:t})=>(0,r.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56}))),m=o.forwardRef((function(t,e){const n=(0,c.Z)({props:t,name:"MuiListItemText"}),{children:h,className:m,disableTypography:v=!1,inset:g=!1,primary:y,primaryTypographyProps:b,secondary:w,secondaryTypographyProps:E}=n,x=(0,i.Z)(n,_),{dense:C}=o.useContext(u.Z);let T=null!=y?y:h,A=w;const S=(0,r.Z)({},n,{disableTypography:v,inset:g,primary:!!T,secondary:!!A,dense:C}),z=(t=>{const{classes:e,inset:n,primary:i,secondary:r,dense:o}=t,a={root:["root",n&&"inset",o&&"dense",i&&r&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,s.Z)(a,d.L,e)})(S);return null==T||T.type===l.Z||v||(T=(0,f.jsx)(l.Z,(0,r.Z)({variant:C?"body2":"body1",className:z.primary,component:null!=b&&b.variant?void 0:"span",display:"block"},b,{children:T}))),null==A||A.type===l.Z||v||(A=(0,f.jsx)(l.Z,(0,r.Z)({variant:"body2",className:z.secondary,color:"text.secondary",display:"block"},E,{children:A}))),(0,f.jsxs)(p,(0,r.Z)({className:(0,a.Z)(z.root,m),ownerState:S,ref:e},x,{children:[T,A]}))}))},56758:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,getListItemTextUtilityClass:()=>r.L,listItemTextClasses:()=>r.Z});var i=n(36199),r=n(99700)},99700:(t,e,n)=>{"use strict";n.d(e,{L:()=>o,Z:()=>a});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiListItemText",t)}const a=(0,i.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"])},87865:(t,e,n)=>{"use strict";n.d(e,{Z:()=>Y});var i=n(30984),r=n(55559),o=n(66204),a=(n(5356),n(56317)),s=n(95311),l=n(45854),u=n(60617),c=n(86600);const h=n(30187).Z;var d=n(81597),f=n(5429),_=n(43188);const p=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function m(t,e,n){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:n?null:t.firstChild}function v(t,e,n){return t===e?n?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:n?null:t.lastChild}function g(t,e){if(void 0===e)return!0;let n=t.innerText;return void 0===n&&(n=t.textContent),n=n.trim().toLowerCase(),0!==n.length&&(e.repeating?n[0]===e.keys[0]:0===n.indexOf(e.keys.join("")))}function y(t,e,n,i,r,o){let a=!1,s=r(t,e,!!e&&n);for(;s;){if(s===t.firstChild){if(a)return!1;a=!0}const e=!i&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&g(s,o)&&!e)return s.focus(),!0;s=r(t,s,n)}return!1}const b=o.forwardRef((function(t,e){const{actions:n,autoFocus:a=!1,autoFocusItem:s=!1,children:l,className:b,disabledItemsFocusable:w=!1,disableListWrap:E=!1,onKeyDown:x,variant:C="selectedMenu"}=t,T=(0,r.Z)(t,p),A=o.useRef(null),S=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,f.Z)((()=>{a&&A.current.focus()}),[a]),o.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(t,e)=>{const n=!A.current.style.width;if(t.clientHeight{o.isValidElement(t)?(t.props.disabled||("selectedMenu"===C&&t.props.selected||-1===k)&&(k=e),k===e&&(t.props.disabled||t.props.muiSkipListHighlight||t.type.muiSkipListHighlight)&&(k+=1,k>=l.length&&(k=-1))):k===e&&(k+=1,k>=l.length&&(k=-1))}));const N=o.Children.map(l,((t,e)=>{if(e===k){const e={};return s&&(e.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===C&&(e.tabIndex=0),o.cloneElement(t,e)}return t}));return(0,_.jsx)(c.Z,(0,i.Z)({role:"menu",ref:z,className:b,onKeyDown:t=>{const e=A.current,n=t.key,i=(0,u.Z)(e).activeElement;if("ArrowDown"===n)t.preventDefault(),y(e,i,E,w,m);else if("ArrowUp"===n)t.preventDefault(),y(e,i,E,w,v);else if("Home"===n)t.preventDefault(),y(e,null,E,w,m);else if("End"===n)t.preventDefault(),y(e,null,E,w,v);else if(1===n.length){const r=S.current,o=n.toLowerCase(),a=performance.now();r.keys.length>0&&(a-r.lastTime>500?(r.keys=[],r.repeating=!0,r.previousKeyMatched=!0):r.repeating&&o!==r.keys[0]&&(r.repeating=!1)),r.lastTime=a,r.keys.push(o);const s=i&&!r.repeating&&g(i,r);r.previousKeyMatched&&(s||y(e,i,!1,w,m,r))?t.preventDefault():r.previousKeyMatched=!1}x&&x(t)},tabIndex:a?0:-1},T,{children:N}))}));var w=n(38094),E=n(61125),x=n(57369),C=n(78101),T=n(19514),A=n(23160),S=n(1034),z=n(3943),k=n(30264),N=n(2957);function I(t){return(0,N.ZP)("MuiPopover",t)}(0,k.Z)("MuiPopover",["root","paper"]);const O=["onEntering"],L=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],M=["slotProps"];function $(t,e){let n=0;return"number"==typeof e?n=e:"center"===e?n=t.height/2:"bottom"===e&&(n=t.height),n}function R(t,e){let n=0;return"number"==typeof e?n=e:"center"===e?n=t.width/2:"right"===e&&(n=t.width),n}function P(t){return[t.horizontal,t.vertical].map((t=>"number"==typeof t?`${t}px`:t)).join(" ")}function U(t){return"function"==typeof t?t():t}const j=(0,E.ZP)(S.Z,{name:"MuiPopover",slot:"Root",overridesResolver:(t,e)=>e.root})({}),q=(0,E.ZP)(z.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:(t,e)=>e.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),D=o.forwardRef((function(t,e){var n,c,h;const f=(0,x.Z)({props:t,name:"MuiPopover"}),{action:p,anchorEl:m,anchorOrigin:v={vertical:"top",horizontal:"left"},anchorPosition:g,anchorReference:y="anchorEl",children:b,className:E,container:S,elevation:z=8,marginThreshold:k=16,open:N,PaperProps:D={},slots:B,slotProps:F,transformOrigin:W={vertical:"top",horizontal:"left"},TransitionComponent:G=A.Z,transitionDuration:H="auto",TransitionProps:{onEntering:V}={},disableScrollLock:X=!1}=f,J=(0,r.Z)(f.TransitionProps,O),Z=(0,r.Z)(f,L),Y=null!=(n=null==F?void 0:F.paper)?n:D,K=o.useRef(),Q=(0,d.Z)(K,Y.ref),tt=(0,i.Z)({},f,{anchorOrigin:v,anchorReference:y,elevation:z,marginThreshold:k,externalPaperSlotProps:Y,transformOrigin:W,TransitionComponent:G,transitionDuration:H,TransitionProps:J}),et=(t=>{const{classes:e}=t;return(0,s.Z)({root:["root"],paper:["paper"]},I,e)})(tt),nt=o.useCallback((()=>{if("anchorPosition"===y)return g;const t=U(m),e=(t&&1===t.nodeType?t:(0,u.Z)(K.current).body).getBoundingClientRect();return{top:e.top+$(e,v.vertical),left:e.left+R(e,v.horizontal)}}),[m,v.horizontal,v.vertical,g,y]),it=o.useCallback((t=>({vertical:$(t,W.vertical),horizontal:R(t,W.horizontal)})),[W.horizontal,W.vertical]),rt=o.useCallback((t=>{const e={width:t.offsetWidth,height:t.offsetHeight},n=it(e);if("none"===y)return{top:null,left:null,transformOrigin:P(n)};const i=nt();let r=i.top-n.vertical,o=i.left-n.horizontal;const a=r+e.height,s=o+e.width,l=(0,T.Z)(U(m)),u=l.innerHeight-k,c=l.innerWidth-k;if(null!==k&&ru){const t=a-u;r-=t,n.vertical+=t}if(null!==k&&oc){const t=s-c;o-=t,n.horizontal+=t}return{top:`${Math.round(r)}px`,left:`${Math.round(o)}px`,transformOrigin:P(n)}}),[m,y,nt,it,k]),[ot,at]=o.useState(N),st=o.useCallback((()=>{const t=K.current;if(!t)return;const e=rt(t);null!==e.top&&(t.style.top=e.top),null!==e.left&&(t.style.left=e.left),t.style.transformOrigin=e.transformOrigin,at(!0)}),[rt]);o.useEffect((()=>(X&&window.addEventListener("scroll",st),()=>window.removeEventListener("scroll",st))),[m,X,st]),o.useEffect((()=>{N&&st()})),o.useImperativeHandle(p,(()=>N?{updatePosition:()=>{st()}}:null),[N,st]),o.useEffect((()=>{if(!N)return;const t=(0,C.Z)((()=>{st()})),e=(0,T.Z)(m);return e.addEventListener("resize",t),()=>{t.clear(),e.removeEventListener("resize",t)}}),[m,N,st]);let lt=H;"auto"!==H||G.muiSupportAuto||(lt=void 0);const ut=S||(m?(0,u.Z)(U(m)).body:void 0),ct=null!=(c=null==B?void 0:B.root)?c:j,ht=null!=(h=null==B?void 0:B.paper)?h:q,dt=(0,l.y)({elementType:ht,externalSlotProps:(0,i.Z)({},Y,{style:ot?Y.style:(0,i.Z)({},Y.style,{opacity:0})}),additionalProps:{elevation:z,ref:Q},ownerState:tt,className:(0,a.Z)(et.paper,null==Y?void 0:Y.className)}),ft=(0,l.y)({elementType:ct,externalSlotProps:(null==F?void 0:F.root)||{},externalForwardedProps:Z,additionalProps:{ref:e,slotProps:{backdrop:{invisible:!0}},container:ut,open:N},ownerState:tt,className:(0,a.Z)(et.root,E)}),{slotProps:_t}=ft,pt=(0,r.Z)(ft,M);return(0,_.jsx)(ct,(0,i.Z)({},pt,!(0,w.X)(ct)&&{slotProps:_t,disableScrollLock:X},{children:(0,_.jsx)(G,(0,i.Z)({appear:!0,in:N,onEntering:(t,e)=>{V&&V(t,e),st()},onExited:()=>{at(!1)},timeout:lt},J,{children:(0,_.jsx)(ht,(0,i.Z)({},dt,{children:b}))}))}))}));var B=n(92368),F=n(55373);const W=["onEntering"],G=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],H={vertical:"top",horizontal:"right"},V={vertical:"top",horizontal:"left"},X=(0,E.ZP)(D,{shouldForwardProp:t=>(0,E.FO)(t)||"classes"===t,name:"MuiMenu",slot:"Root",overridesResolver:(t,e)=>e.root})({}),J=(0,E.ZP)(q,{name:"MuiMenu",slot:"Paper",overridesResolver:(t,e)=>e.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Z=(0,E.ZP)(b,{name:"MuiMenu",slot:"List",overridesResolver:(t,e)=>e.list})({outline:0}),Y=o.forwardRef((function(t,e){var n,u;const c=(0,x.Z)({props:t,name:"MuiMenu"}),{autoFocus:h=!0,children:d,className:f,disableAutoFocusItem:p=!1,MenuListProps:m={},onClose:v,open:g,PaperProps:y={},PopoverClasses:b,transitionDuration:w="auto",TransitionProps:{onEntering:E}={},variant:C="selectedMenu",slots:T={},slotProps:A={}}=c,S=(0,r.Z)(c.TransitionProps,W),z=(0,r.Z)(c,G),k=(0,B.Z)(),N="rtl"===k.direction,I=(0,i.Z)({},c,{autoFocus:h,disableAutoFocusItem:p,MenuListProps:m,onEntering:E,PaperProps:y,transitionDuration:w,TransitionProps:S,variant:C}),O=(t=>{const{classes:e}=t;return(0,s.Z)({root:["root"],paper:["paper"],list:["list"]},F.Q,e)})(I),L=h&&!p&&g,M=o.useRef(null);let $=-1;o.Children.map(d,((t,e)=>{o.isValidElement(t)&&(t.props.disabled||("selectedMenu"===C&&t.props.selected||-1===$)&&($=e))}));const R=null!=(n=T.paper)?n:J,P=null!=(u=A.paper)?u:y,U=(0,l.y)({elementType:T.root,externalSlotProps:A.root,ownerState:I,className:[O.root,f]}),j=(0,l.y)({elementType:R,externalSlotProps:P,ownerState:I,className:O.paper});return(0,_.jsx)(X,(0,i.Z)({onClose:v,anchorOrigin:{vertical:"bottom",horizontal:N?"right":"left"},transformOrigin:N?H:V,slots:{paper:R,root:T.root},slotProps:{root:U,paper:j},open:g,ref:e,transitionDuration:w,TransitionProps:(0,i.Z)({onEntering:(t,e)=>{M.current&&M.current.adjustStyleForScrollbar(t,k),E&&E(t,e)}},S),ownerState:I},z,{classes:b,children:(0,_.jsx)(Z,(0,i.Z)({onKeyDown:t=>{"Tab"===t.key&&(t.preventDefault(),v&&v(t,"tabKeyDown"))},actions:M,autoFocus:h&&(-1===$||p),autoFocusItem:L,variant:C},m,{className:(0,a.Z)(O.list,m.className),children:d}))}))}))},85212:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,getMenuUtilityClass:()=>r.Q,menuClasses:()=>r.Z});var i=n(87865),r=n(55373)},55373:(t,e,n)=>{"use strict";n.d(e,{Q:()=>o,Z:()=>a});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiMenu",t)}const a=(0,i.Z)("MuiMenu",["root","paper","list"])},78781:(t,e,n)=>{"use strict";n.d(e,{Z:()=>E});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(83041),u=n(61125),c=n(57369),h=n(5524),d=n(42406),f=n(5429),_=n(81597),p=n(92165),m=n(87017),v=n(99700),g=n(23435),y=n(43188);const b=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],w=(0,u.ZP)(d.Z,{shouldForwardProp:t=>(0,u.FO)(t)||"classes"===t,name:"MuiMenuItem",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.divider&&e.divider,!n.disableGutters&&e.gutters]}})((({theme:t,ownerState:e})=>(0,r.Z)({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!e.disableGutters&&{paddingLeft:16,paddingRight:16},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${g.Z.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${g.Z.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${g.Z.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${g.Z.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${g.Z.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${p.Z.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${p.Z.inset}`]:{marginLeft:52},[`& .${v.Z.root}`]:{marginTop:0,marginBottom:0},[`& .${v.Z.inset}`]:{paddingLeft:36},[`& .${m.Z.root}`]:{minWidth:36}},!e.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},e.dense&&(0,r.Z)({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{[`& .${m.Z.root} svg`]:{fontSize:"1.25rem"}})))),E=o.forwardRef((function(t,e){const n=(0,c.Z)({props:t,name:"MuiMenuItem"}),{autoFocus:l=!1,component:u="li",dense:d=!1,divider:p=!1,disableGutters:m=!1,focusVisibleClassName:v,role:E="menuitem",tabIndex:x,className:C}=n,T=(0,i.Z)(n,b),A=o.useContext(h.Z),S=o.useMemo((()=>({dense:d||A.dense||!1,disableGutters:m})),[A.dense,d,m]),z=o.useRef(null);(0,f.Z)((()=>{l&&z.current&&z.current.focus()}),[l]);const k=(0,r.Z)({},n,{dense:S.dense,divider:p,disableGutters:m}),N=(t=>{const{disabled:e,dense:n,divider:i,disableGutters:o,selected:a,classes:l}=t,u={root:["root",n&&"dense",e&&"disabled",!o&&"gutters",i&&"divider",a&&"selected"]},c=(0,s.Z)(u,g.K,l);return(0,r.Z)({},l,c)})(n),I=(0,_.Z)(z,e);let O;return n.disabled||(O=void 0!==x?x:-1),(0,y.jsx)(h.Z.Provider,{value:S,children:(0,y.jsx)(w,(0,r.Z)({ref:I,role:E,tabIndex:O,component:u,focusVisibleClassName:(0,a.Z)(N.focusVisible,v),className:(0,a.Z)(N.root,C)},T,{ownerState:k,classes:N}))})}))},77928:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,getMenuItemUtilityClass:()=>r.K,menuItemClasses:()=>r.Z});var i=n(78781),r=n(23435)},23435:(t,e,n)=>{"use strict";n.d(e,{K:()=>o,Z:()=>a});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiMenuItem",t)}const a=(0,i.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"])},1034:(t,e,n)=>{"use strict";n.d(e,{Z:()=>R});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(45854),l=n(70047),u=n(43175),c=n(54738),h=n(11677),d=n(61234),f=n(95690),_=n(30187);function p(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function m(t){return parseInt((0,f.Z)(t).getComputedStyle(t).paddingRight,10)||0}function v(t,e,n,i,r){const o=[e,n,...i];[].forEach.call(t.children,(t=>{const e=-1===o.indexOf(t),n=!function(t){const e=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(t.tagName),n="INPUT"===t.tagName&&"hidden"===t.getAttribute("type");return e||n}(t);e&&n&&p(t,r)}))}function g(t,e){let n=-1;return t.some(((t,i)=>!!e(t)&&(n=i,!0))),n}const y=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,e){let n=this.modals.indexOf(t);if(-1!==n)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&p(t.modalRef,!1);const i=function(t){const e=[];return[].forEach.call(t.children,(t=>{"true"===t.getAttribute("aria-hidden")&&e.push(t)})),e}(e);v(e,t.mount,t.modalRef,i,!0);const r=g(this.containers,(t=>t.container===e));return-1!==r?(this.containers[r].modals.push(t),n):(this.containers.push({modals:[t],container:e,restore:null,hiddenSiblings:i}),n)}mount(t,e){const n=g(this.containers,(e=>-1!==e.modals.indexOf(t))),i=this.containers[n];i.restore||(i.restore=function(t,e){const n=[],i=t.container;if(!e.disableScrollLock){if(function(t){const e=(0,u.Z)(t);return e.body===t?(0,f.Z)(t).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}(i)){const t=(0,_.Z)((0,u.Z)(i));n.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight=`${m(i)+t}px`;const e=(0,u.Z)(i).querySelectorAll(".mui-fixed");[].forEach.call(e,(e=>{n.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight=`${m(e)+t}px`}))}let t;if(i.parentNode instanceof DocumentFragment)t=(0,u.Z)(i).body;else{const e=i.parentElement,n=(0,f.Z)(i);t="HTML"===(null==e?void 0:e.nodeName)&&"scroll"===n.getComputedStyle(e).overflowY?e:i}n.push({value:t.style.overflow,property:"overflow",el:t},{value:t.style.overflowX,property:"overflow-x",el:t},{value:t.style.overflowY,property:"overflow-y",el:t}),t.style.overflow="hidden"}return()=>{n.forEach((({value:t,el:e,property:n})=>{t?e.style.setProperty(n,t):e.style.removeProperty(n)}))}}(i,e))}remove(t,e=!0){const n=this.modals.indexOf(t);if(-1===n)return n;const i=g(this.containers,(e=>-1!==e.modals.indexOf(t))),r=this.containers[i];if(r.modals.splice(r.modals.indexOf(t),1),this.modals.splice(n,1),0===r.modals.length)r.restore&&r.restore(),t.modalRef&&p(t.modalRef,e),v(r.container,t.mount,t.modalRef,r.hiddenSiblings,!1),this.containers.splice(i,1);else{const t=r.modals[r.modals.length-1];t.modalRef&&p(t.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}};var b=n(95311),w=n(43188);const E=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function x(t){const e=[],n=[];return Array.from(t.querySelectorAll(E)).forEach(((t,i)=>{const r=function(t){const e=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(e)?"true"===t.contentEditable||("AUDIO"===t.nodeName||"VIDEO"===t.nodeName||"DETAILS"===t.nodeName)&&null===t.getAttribute("tabindex")?0:t.tabIndex:e}(t);-1!==r&&function(t){return!(t.disabled||"INPUT"===t.tagName&&"hidden"===t.type||function(t){if("INPUT"!==t.tagName||"radio"!==t.type)return!1;if(!t.name)return!1;const e=e=>t.ownerDocument.querySelector(`input[type="radio"]${e}`);let n=e(`[name="${t.name}"]:checked`);return n||(n=e(`[name="${t.name}"]`)),n!==t}(t))}(t)&&(0===r?e.push(t):n.push({documentOrder:i,tabIndex:r,node:t}))})),n.sort(((t,e)=>t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex)).map((t=>t.node)).concat(e)}function C(){return!0}function T(t){const{children:e,disableAutoFocus:n=!1,disableEnforceFocus:i=!1,disableRestoreFocus:r=!1,getTabbable:a=x,isEnabled:s=C,open:c}=t,h=o.useRef(!1),d=o.useRef(null),f=o.useRef(null),_=o.useRef(null),p=o.useRef(null),m=o.useRef(!1),v=o.useRef(null),g=(0,l.Z)(e.ref,v),y=o.useRef(null);o.useEffect((()=>{c&&v.current&&(m.current=!n)}),[n,c]),o.useEffect((()=>{if(!c||!v.current)return;const t=(0,u.Z)(v.current);return v.current.contains(t.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex","-1"),m.current&&v.current.focus()),()=>{r||(_.current&&_.current.focus&&(h.current=!0,_.current.focus()),_.current=null)}}),[c]),o.useEffect((()=>{if(!c||!v.current)return;const t=(0,u.Z)(v.current),e=e=>{y.current=e,!i&&s()&&"Tab"===e.key&&t.activeElement===v.current&&e.shiftKey&&(h.current=!0,f.current&&f.current.focus())},n=()=>{const e=v.current;if(null===e)return;if(!t.hasFocus()||!s()||h.current)return void(h.current=!1);if(e.contains(t.activeElement))return;if(i&&t.activeElement!==d.current&&t.activeElement!==f.current)return;if(t.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!m.current)return;let n=[];if(t.activeElement!==d.current&&t.activeElement!==f.current||(n=a(v.current)),n.length>0){var r,o;const t=Boolean((null==(r=y.current)?void 0:r.shiftKey)&&"Tab"===(null==(o=y.current)?void 0:o.key)),e=n[0],i=n[n.length-1];"string"!=typeof e&&"string"!=typeof i&&(t?i.focus():e.focus())}else e.focus()};t.addEventListener("focusin",n),t.addEventListener("keydown",e,!0);const r=setInterval((()=>{t.activeElement&&"BODY"===t.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),t.removeEventListener("focusin",n),t.removeEventListener("keydown",e,!0)}}),[n,i,r,s,c,a]);const b=t=>{null===_.current&&(_.current=t.relatedTarget),m.current=!0};return(0,w.jsxs)(o.Fragment,{children:[(0,w.jsx)("div",{tabIndex:c?0:-1,onFocus:b,ref:d,"data-testid":"sentinelStart"}),o.cloneElement(e,{ref:g,onFocus:t=>{null===_.current&&(_.current=t.relatedTarget),m.current=!0,p.current=t.target;const n=e.props.onFocus;n&&n(t)}}),(0,w.jsx)("div",{tabIndex:c?0:-1,onFocus:b,ref:f,"data-testid":"sentinelEnd"})]})}var A=n(20636),S=n(61125),z=n(57369),k=n(80587),N=n(30264),I=n(2957);function O(t){return(0,I.ZP)("MuiModal",t)}(0,N.Z)("MuiModal",["root","hidden","backdrop"]);const L=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],M=(0,S.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.open&&n.exited&&e.hidden]}})((({theme:t,ownerState:e})=>(0,r.Z)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!e.open&&e.exited&&{visibility:"hidden"}))),$=(0,S.ZP)(k.Z,{name:"MuiModal",slot:"Backdrop",overridesResolver:(t,e)=>e.backdrop})({zIndex:-1}),R=o.forwardRef((function(t,e){var n,f,_,m,v,g;const E=(0,z.Z)({name:"MuiModal",props:t}),{BackdropComponent:x=$,BackdropProps:C,className:S,closeAfterTransition:k=!1,children:N,container:I,component:R,components:P={},componentsProps:U={},disableAutoFocus:j=!1,disableEnforceFocus:q=!1,disableEscapeKeyDown:D=!1,disablePortal:B=!1,disableRestoreFocus:F=!1,disableScrollLock:W=!1,hideBackdrop:G=!1,keepMounted:H=!1,onBackdropClick:V,open:X,slotProps:J,slots:Z}=E,Y=(0,i.Z)(E,L),K=(0,r.Z)({},E,{closeAfterTransition:k,disableAutoFocus:j,disableEnforceFocus:q,disableEscapeKeyDown:D,disablePortal:B,disableRestoreFocus:F,disableScrollLock:W,hideBackdrop:G,keepMounted:H}),{getRootProps:Q,getBackdropProps:tt,getTransitionProps:et,portalRef:nt,isTopModal:it,exited:rt,hasTransition:ot}=function(t){const{container:e,disableEscapeKeyDown:n=!1,disableScrollLock:i=!1,manager:a=y,closeAfterTransition:s=!1,onTransitionEnter:f,onTransitionExited:_,children:m,onClose:v,open:g,rootRef:b}=t,w=o.useRef({}),E=o.useRef(null),x=o.useRef(null),C=(0,l.Z)(x,b),[T,A]=o.useState(!g),S=function(t){return!!t&&t.props.hasOwnProperty("in")}(m);let z=!0;"false"!==t["aria-hidden"]&&!1!==t["aria-hidden"]||(z=!1);const k=()=>(w.current.modalRef=x.current,w.current.mount=E.current,w.current),N=()=>{a.mount(k(),{disableScrollLock:i}),x.current&&(x.current.scrollTop=0)},I=(0,c.Z)((()=>{const t=function(t){return"function"==typeof t?t():t}(e)||(0,u.Z)(E.current).body;a.add(k(),t),x.current&&N()})),O=o.useCallback((()=>a.isTopModal(k())),[a]),L=(0,c.Z)((t=>{E.current=t,t&&(g&&O()?N():x.current&&p(x.current,z))})),M=o.useCallback((()=>{a.remove(k(),z)}),[z,a]);o.useEffect((()=>()=>{M()}),[M]),o.useEffect((()=>{g?I():S&&s||M()}),[g,M,S,s,I]);const $=t=>e=>{var i;null==(i=t.onKeyDown)||i.call(t,e),"Escape"===e.key&&229!==e.which&&O()&&(n||(e.stopPropagation(),v&&v(e,"escapeKeyDown")))},R=t=>e=>{var n;null==(n=t.onClick)||n.call(t,e),e.target===e.currentTarget&&v&&v(e,"backdropClick")};return{getRootProps:(e={})=>{const n=(0,d._)(t);delete n.onTransitionEnter,delete n.onTransitionExited;const i=(0,r.Z)({},n,e);return(0,r.Z)({role:"presentation"},i,{onKeyDown:$(i),ref:C})},getBackdropProps:(t={})=>{const e=t;return(0,r.Z)({"aria-hidden":!0},e,{onClick:R(e),open:g})},getTransitionProps:()=>({onEnter:(0,h.Z)((()=>{A(!1),f&&f()}),null==m?void 0:m.props.onEnter),onExited:(0,h.Z)((()=>{A(!0),_&&_(),s&&M()}),null==m?void 0:m.props.onExited)}),rootRef:C,portalRef:L,isTopModal:O,exited:T,hasTransition:S}}((0,r.Z)({},K,{rootRef:e})),at=(0,r.Z)({},K,{exited:rt}),st=(t=>{const{open:e,exited:n,classes:i}=t,r={root:["root",!e&&n&&"hidden"],backdrop:["backdrop"]};return(0,b.Z)(r,O,i)})(at),lt={};if(void 0===N.props.tabIndex&&(lt.tabIndex="-1"),ot){const{onEnter:t,onExited:e}=et();lt.onEnter=t,lt.onExited=e}const ut=null!=(n=null!=(f=null==Z?void 0:Z.root)?f:P.Root)?n:M,ct=null!=(_=null!=(m=null==Z?void 0:Z.backdrop)?m:P.Backdrop)?_:x,ht=null!=(v=null==J?void 0:J.root)?v:U.root,dt=null!=(g=null==J?void 0:J.backdrop)?g:U.backdrop,ft=(0,s.y)({elementType:ut,externalSlotProps:ht,externalForwardedProps:Y,getSlotProps:Q,additionalProps:{ref:e,as:R},ownerState:at,className:(0,a.Z)(S,null==ht?void 0:ht.className,null==st?void 0:st.root,!at.open&&at.exited&&(null==st?void 0:st.hidden))}),_t=(0,s.y)({elementType:ct,externalSlotProps:dt,additionalProps:C,getSlotProps:t=>tt((0,r.Z)({},t,{onClick:e=>{V&&V(e),null!=t&&t.onClick&&t.onClick(e)}})),className:(0,a.Z)(null==dt?void 0:dt.className,null==C?void 0:C.className,null==st?void 0:st.backdrop),ownerState:at});return H||X||ot&&!rt?(0,w.jsx)(A.h,{ref:nt,container:I,disablePortal:B,children:(0,w.jsxs)(ut,(0,r.Z)({},ft,{children:[!G&&x?(0,w.jsx)(ct,(0,r.Z)({},_t)):null,(0,w.jsx)(T,{disableEnforceFocus:q,disableAutoFocus:j,disableRestoreFocus:F,isEnabled:it,open:X,children:o.cloneElement(N,lt)})]}))}):null}))},91906:(t,e,n)=>{"use strict";n.d(e,{Z:()=>x});var i,r=n(55559),o=n(30984),a=n(66204),s=n(95311),l=n(61125),u=n(43188);const c=["children","classes","className","label","notched"],h=(0,l.ZP)("fieldset",{shouldForwardProp:l.FO})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),d=(0,l.ZP)("legend",{shouldForwardProp:l.FO})((({ownerState:t,theme:e})=>(0,o.Z)({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},t.withLabel&&(0,o.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}))));var f=n(55834),_=n(92407),p=n(95368),m=n(12303),v=n(57369);const g=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],y=(0,l.ZP)(m.Ej,{shouldForwardProp:t=>(0,l.FO)(t)||"classes"===t,name:"MuiOutlinedInput",slot:"Root",overridesResolver:m.Gx})((({theme:t,ownerState:e})=>{const n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,o.Z)({position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${p.Z.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${p.Z.notchedOutline}`]:{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${p.Z.focused} .${p.Z.notchedOutline}`]:{borderColor:(t.vars||t).palette[e.color].main,borderWidth:2},[`&.${p.Z.error} .${p.Z.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${p.Z.disabled} .${p.Z.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}},e.startAdornment&&{paddingLeft:14},e.endAdornment&&{paddingRight:14},e.multiline&&(0,o.Z)({padding:"16.5px 14px"},"small"===e.size&&{padding:"8.5px 14px"}))})),b=(0,l.ZP)((function(t){const{className:e,label:n,notched:a}=t,s=(0,r.Z)(t,c),l=null!=n&&""!==n,f=(0,o.Z)({},t,{notched:a,withLabel:l});return(0,u.jsx)(h,(0,o.Z)({"aria-hidden":!0,className:e,ownerState:f},s,{children:(0,u.jsx)(d,{ownerState:f,children:l?(0,u.jsx)("span",{children:n}):i||(i=(0,u.jsx)("span",{className:"notranslate",children:"​"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(t,e)=>e.notchedOutline})((({theme:t})=>{const e="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:e}})),w=(0,l.ZP)(m.rA,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:m._o})((({theme:t,ownerState:e})=>(0,o.Z)({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===e.size&&{padding:"8.5px 14px"},e.multiline&&{padding:0},e.startAdornment&&{paddingLeft:0},e.endAdornment&&{paddingRight:0}))),E=a.forwardRef((function(t,e){var n,i,l,c,h;const d=(0,v.Z)({props:t,name:"MuiOutlinedInput"}),{components:E={},fullWidth:x=!1,inputComponent:C="input",label:T,multiline:A=!1,notched:S,slots:z={},type:k="text"}=d,N=(0,r.Z)(d,g),I=(t=>{const{classes:e}=t,n=(0,s.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},p.e,e);return(0,o.Z)({},e,n)})(d),O=(0,f.Z)(),L=(0,_.Z)({props:d,muiFormControl:O,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),M=(0,o.Z)({},d,{color:L.color||"primary",disabled:L.disabled,error:L.error,focused:L.focused,formControl:O,fullWidth:x,hiddenLabel:L.hiddenLabel,multiline:A,size:L.size,type:k}),$=null!=(n=null!=(i=z.root)?i:E.Root)?n:y,R=null!=(l=null!=(c=z.input)?c:E.Input)?l:w;return(0,u.jsx)(m.ZP,(0,o.Z)({slots:{root:$,input:R},renderSuffix:t=>(0,u.jsx)(b,{ownerState:M,className:I.notchedOutline,label:null!=T&&""!==T&&L.required?h||(h=(0,u.jsxs)(a.Fragment,{children:[T," ","*"]})):T,notched:void 0!==S?S:Boolean(t.startAdornment||t.filled||t.focused)}),fullWidth:x,inputComponent:C,multiline:A,ref:e,type:k},N,{classes:(0,o.Z)({},I,{notchedOutline:null})}))}));E.muiName="Input";const x=E},95368:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l,e:()=>s});var i=n(30984),r=n(30264),o=n(2957),a=n(33872);function s(t){return(0,o.ZP)("MuiOutlinedInput",t)}const l=(0,i.Z)({},a.Z,(0,r.Z)("MuiOutlinedInput",["root","notchedOutline","input"]))},3943:(t,e,n)=>{"use strict";n.d(e,{Z:()=>g});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(83041),u=n(61125);const c=t=>{let e;return e=t<1?5.11916*t**2:4.5*Math.log(t+1)+2,(e/100).toFixed(2)};var h=n(57369),d=n(30264),f=n(2957);function _(t){return(0,f.ZP)("MuiPaper",t)}(0,d.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var p=n(43188);const m=["className","component","elevation","square","variant"],v=(0,u.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],!n.square&&e.rounded,"elevation"===n.variant&&e[`elevation${n.elevation}`]]}})((({theme:t,ownerState:e})=>{var n;return(0,r.Z)({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!e.square&&{borderRadius:t.shape.borderRadius},"outlined"===e.variant&&{border:`1px solid ${(t.vars||t).palette.divider}`},"elevation"===e.variant&&(0,r.Z)({boxShadow:(t.vars||t).shadows[e.elevation]},!t.vars&&"dark"===t.palette.mode&&{backgroundImage:`linear-gradient(${(0,l.Fq)("#fff",c(e.elevation))}, ${(0,l.Fq)("#fff",c(e.elevation))})`},t.vars&&{backgroundImage:null==(n=t.vars.overlays)?void 0:n[e.elevation]}))})),g=o.forwardRef((function(t,e){const n=(0,h.Z)({props:t,name:"MuiPaper"}),{className:o,component:l="div",elevation:u=1,square:c=!1,variant:d="elevation"}=n,f=(0,i.Z)(n,m),g=(0,r.Z)({},n,{component:l,elevation:u,square:c,variant:d}),y=(t=>{const{square:e,elevation:n,variant:i,classes:r}=t,o={root:["root",i,!e&&"rounded","elevation"===i&&`elevation${n}`]};return(0,s.Z)(o,_,r)})(g);return(0,p.jsx)(v,(0,r.Z)({as:l,ownerState:g,className:(0,a.Z)(y.root,o),ref:e},f))}))},41665:(t,e,n)=>{"use strict";n.d(e,{Z:()=>jt});var i=n(30984),r=n(55559),o=n(66204),a=n(70047),s=n(71969),l=n(43175);function u(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function c(t){return t instanceof u(t).Element||t instanceof Element}function h(t){return t instanceof u(t).HTMLElement||t instanceof HTMLElement}function d(t){return"undefined"!=typeof ShadowRoot&&(t instanceof u(t).ShadowRoot||t instanceof ShadowRoot)}var f=Math.max,_=Math.min,p=Math.round;function m(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function v(){return!/^((?!chrome|android).)*safari/i.test(m())}function g(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),r=1,o=1;e&&h(t)&&(r=t.offsetWidth>0&&p(i.width)/t.offsetWidth||1,o=t.offsetHeight>0&&p(i.height)/t.offsetHeight||1);var a=(c(t)?u(t):window).visualViewport,s=!v()&&n,l=(i.left+(s&&a?a.offsetLeft:0))/r,d=(i.top+(s&&a?a.offsetTop:0))/o,f=i.width/r,_=i.height/o;return{width:f,height:_,top:d,right:l+f,bottom:d+_,left:l,x:l,y:d}}function y(t){var e=u(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function b(t){return t?(t.nodeName||"").toLowerCase():null}function w(t){return((c(t)?t.ownerDocument:t.document)||window.document).documentElement}function E(t){return g(w(t)).left+y(t).scrollLeft}function x(t){return u(t).getComputedStyle(t)}function C(t){var e=x(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function T(t,e,n){void 0===n&&(n=!1);var i,r,o=h(e),a=h(e)&&function(t){var e=t.getBoundingClientRect(),n=p(e.width)/t.offsetWidth||1,i=p(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),s=w(e),l=g(t,a,n),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(o||!o&&!n)&&(("body"!==b(e)||C(s))&&(c=(i=e)!==u(i)&&h(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:y(i)),h(e)?((d=g(e,!0)).x+=e.clientLeft,d.y+=e.clientTop):s&&(d.x=E(s))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function A(t){var e=g(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 S(t){return"html"===b(t)?t:t.assignedSlot||t.parentNode||(d(t)?t.host:null)||w(t)}function z(t){return["html","body","#document"].indexOf(b(t))>=0?t.ownerDocument.body:h(t)&&C(t)?t:z(S(t))}function k(t,e){var n;void 0===e&&(e=[]);var i=z(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=u(i),a=r?[o].concat(o.visualViewport||[],C(i)?i:[]):i,s=e.concat(a);return r?s:s.concat(k(S(a)))}function N(t){return["table","td","th"].indexOf(b(t))>=0}function I(t){return h(t)&&"fixed"!==x(t).position?t.offsetParent:null}function O(t){for(var e=u(t),n=I(t);n&&N(n)&&"static"===x(n).position;)n=I(n);return n&&("html"===b(n)||"body"===b(n)&&"static"===x(n).position)?e:n||function(t){var e=/firefox/i.test(m());if(/Trident/i.test(m())&&h(t)&&"fixed"===x(t).position)return null;var n=S(t);for(d(n)&&(n=n.host);h(n)&&["html","body"].indexOf(b(n))<0;){var i=x(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}var L="top",M="bottom",$="right",R="left",P="auto",U=[L,M,$,R],j="start",q="end",D="viewport",B="popper",F=U.reduce((function(t,e){return t.concat([e+"-"+j,e+"-"+q])}),[]),W=[].concat(U,[P]).reduce((function(t,e){return t.concat([e,e+"-"+j,e+"-"+q])}),[]),G=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||r(t)})),i}var V={placement:"bottom",modifiers:[],strategy:"absolute"};function X(){for(var t=arguments.length,e=new Array(t),n=0;n=0?"x":"y"}function tt(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?Y(r):null,a=r?K(r):null,s=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case L:e={x:s,y:n.y-i.height};break;case M:e={x:s,y:n.y+n.height};break;case $:e={x:n.x+n.width,y:l};break;case R:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var u=o?Q(o):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case j:e[u]=e[u]-(n[c]/2-i[c]/2);break;case q:e[u]=e[u]+(n[c]/2-i[c]/2)}}return e}var et={top:"auto",right:"auto",bottom:"auto",left:"auto"};function nt(t){var e,n=t.popper,i=t.popperRect,r=t.placement,o=t.variation,a=t.offsets,s=t.position,l=t.gpuAcceleration,c=t.adaptive,h=t.roundOffsets,d=t.isFixed,f=a.x,_=void 0===f?0:f,m=a.y,v=void 0===m?0:m,g="function"==typeof h?h({x:_,y:v}):{x:_,y:v};_=g.x,v=g.y;var y=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),E=R,C=L,T=window;if(c){var A=O(n),S="clientHeight",z="clientWidth";A===u(n)&&"static"!==x(A=w(n)).position&&"absolute"===s&&(S="scrollHeight",z="scrollWidth"),(r===L||(r===R||r===$)&&o===q)&&(C=M,v-=(d&&A===T&&T.visualViewport?T.visualViewport.height:A[S])-i.height,v*=l?1:-1),r!==R&&(r!==L&&r!==M||o!==q)||(E=$,_-=(d&&A===T&&T.visualViewport?T.visualViewport.width:A[z])-i.width,_*=l?1:-1)}var k,N=Object.assign({position:s},c&&et),I=!0===h?function(t,e){var n=t.x,i=t.y,r=e.devicePixelRatio||1;return{x:p(n*r)/r||0,y:p(i*r)/r||0}}({x:_,y:v},u(n)):{x:_,y:v};return _=I.x,v=I.y,l?Object.assign({},N,((k={})[C]=b?"0":"",k[E]=y?"0":"",k.transform=(T.devicePixelRatio||1)<=1?"translate("+_+"px, "+v+"px)":"translate3d("+_+"px, "+v+"px, 0)",k)):Object.assign({},N,((e={})[C]=b?v+"px":"",e[E]=y?_+"px":"",e.transform="",e))}var it={left:"right",right:"left",bottom:"top",top:"bottom"};function rt(t){return t.replace(/left|right|bottom|top/g,(function(t){return it[t]}))}var ot={start:"end",end:"start"};function at(t){return t.replace(/start|end/g,(function(t){return ot[t]}))}function st(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&d(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function lt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ut(t,e,n){return e===D?lt(function(t,e){var n=u(t),i=w(t),r=n.visualViewport,o=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){o=r.width,a=r.height;var c=v();(c||!c&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:o,height:a,x:s+E(t),y:l}}(t,n)):c(e)?function(t,e){var n=g(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):lt(function(t){var e,n=w(t),i=y(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=f(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=f(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-i.scrollLeft+E(t),l=-i.scrollTop;return"rtl"===x(r||n).direction&&(s+=f(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(w(t)))}function ct(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ht(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function dt(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=void 0===i?t.placement:i,o=n.strategy,a=void 0===o?t.strategy:o,s=n.boundary,l=void 0===s?"clippingParents":s,u=n.rootBoundary,d=void 0===u?D:u,p=n.elementContext,m=void 0===p?B:p,v=n.altBoundary,y=void 0!==v&&v,E=n.padding,C=void 0===E?0:E,T=ct("number"!=typeof C?C:ht(C,U)),A=m===B?"reference":B,z=t.rects.popper,N=t.elements[y?A:m],I=function(t,e,n,i){var r="clippingParents"===e?function(t){var e=k(S(t)),n=["absolute","fixed"].indexOf(x(t).position)>=0&&h(t)?O(t):t;return c(n)?e.filter((function(t){return c(t)&&st(t,n)&&"body"!==b(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),a=o[0],s=o.reduce((function(e,n){var r=ut(t,n,i);return e.top=f(r.top,e.top),e.right=_(r.right,e.right),e.bottom=_(r.bottom,e.bottom),e.left=f(r.left,e.left),e}),ut(t,a,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(c(N)?N:N.contextElement||w(t.elements.popper),l,d,a),R=g(t.elements.reference),P=tt({reference:R,element:z,strategy:"absolute",placement:r}),j=lt(Object.assign({},z,P)),q=m===B?j:R,F={top:I.top-q.top+T.top,bottom:q.bottom-I.bottom+T.bottom,left:I.left-q.left+T.left,right:q.right-I.right+T.right},W=t.modifiersData.offset;if(m===B&&W){var G=W[r];Object.keys(F).forEach((function(t){var e=[$,M].indexOf(t)>=0?1:-1,n=[L,M].indexOf(t)>=0?"y":"x";F[t]+=G[n]*e}))}return F}function ft(t,e,n){return f(t,_(e,n))}function _t(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 pt(t){return[L,$,M,R].some((function(e){return t[e]>=0}))}var mt=J({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,a=i.resize,s=void 0===a||a,l=u(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",n.update,Z)})),s&&l.addEventListener("resize",n.update,Z),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",n.update,Z)})),s&&l.removeEventListener("resize",n.update,Z)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=tt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,u={placement:Y(e.placement),variation:K(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,nt(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,nt(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];h(r)&&b(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?r.removeAttribute(t):r.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 i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});h(i)&&b(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.offset,o=void 0===r?[0,0]:r,a=W.reduce((function(t,n){return t[n]=function(t,e,n){var i=Y(t),r=[R,L].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*r,[R,$].indexOf(i)>=0?{x:s,y:a}:{x:a,y:s}}(n,e.rects,o),t}),{}),s=a[e.placement],l=s.x,u=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[i]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,h=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,_=void 0===f||f,p=n.allowedAutoPlacements,m=e.options.placement,v=Y(m),g=l||(v!==m&&_?function(t){if(Y(t)===P)return[];var e=rt(t);return[at(t),e,at(e)]}(m):[rt(m)]),y=[m].concat(g).reduce((function(t,n){return t.concat(Y(n)===P?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?W:l,c=K(i),h=c?s?F:F.filter((function(t){return K(t)===c})):U,d=h.filter((function(t){return u.indexOf(t)>=0}));0===d.length&&(d=h);var f=d.reduce((function(e,n){return e[n]=dt(t,{placement:n,boundary:r,rootBoundary:o,padding:a})[Y(n)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}(e,{placement:n,boundary:c,rootBoundary:h,padding:u,flipVariations:_,allowedAutoPlacements:p}):n)}),[]),b=e.rects.reference,w=e.rects.popper,E=new Map,x=!0,C=y[0],T=0;T=0,N=k?"width":"height",I=dt(e,{placement:A,boundary:c,rootBoundary:h,altBoundary:d,padding:u}),O=k?z?$:R:z?M:L;b[N]>w[N]&&(O=rt(O));var q=rt(O),D=[];if(o&&D.push(I[S]<=0),s&&D.push(I[O]<=0,I[q]<=0),D.every((function(t){return t}))){C=A,x=!1;break}E.set(A,D)}if(x)for(var B=function(t){var e=y.find((function(e){var n=E.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return C=e,"break"},G=_?3:1;G>0&&"break"!==B(G);G--);e.placement!==C&&(e.modifiersData[i]._skip=!0,e.placement=C,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,h=n.padding,d=n.tether,p=void 0===d||d,m=n.tetherOffset,v=void 0===m?0:m,g=dt(e,{boundary:l,rootBoundary:u,padding:h,altBoundary:c}),y=Y(e.placement),b=K(e.placement),w=!b,E=Q(y),x="x"===E?"y":"x",C=e.modifiersData.popperOffsets,T=e.rects.reference,S=e.rects.popper,z="function"==typeof v?v(Object.assign({},e.rects,{placement:e.placement})):v,k="number"==typeof z?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),N=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,I={x:0,y:0};if(C){if(o){var P,U="y"===E?L:R,q="y"===E?M:$,D="y"===E?"height":"width",B=C[E],F=B+g[U],W=B-g[q],G=p?-S[D]/2:0,H=b===j?T[D]:S[D],V=b===j?-S[D]:-T[D],X=e.elements.arrow,J=p&&X?A(X):{width:0,height:0},Z=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},tt=Z[U],et=Z[q],nt=ft(0,T[D],J[D]),it=w?T[D]/2-G-nt-tt-k.mainAxis:H-nt-tt-k.mainAxis,rt=w?-T[D]/2+G+nt+et+k.mainAxis:V+nt+et+k.mainAxis,ot=e.elements.arrow&&O(e.elements.arrow),at=ot?"y"===E?ot.clientTop||0:ot.clientLeft||0:0,st=null!=(P=null==N?void 0:N[E])?P:0,lt=B+rt-st,ut=ft(p?_(F,B+it-st-at):F,B,p?f(W,lt):W);C[E]=ut,I[E]=ut-B}if(s){var ct,ht="x"===E?L:R,_t="x"===E?M:$,pt=C[x],mt="y"===x?"height":"width",vt=pt+g[ht],gt=pt-g[_t],yt=-1!==[L,R].indexOf(y),bt=null!=(ct=null==N?void 0:N[x])?ct:0,wt=yt?vt:pt-T[mt]-S[mt]-bt+k.altAxis,Et=yt?pt+T[mt]+S[mt]-bt-k.altAxis:gt,xt=p&&yt?function(t,e,n){var i=ft(t,e,n);return i>n?n:i}(wt,pt,Et):ft(p?wt:vt,pt,p?Et:gt);C[x]=xt,I[x]=xt-pt}e.modifiersData[i]=I}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Y(n.placement),l=Q(s),u=[R,$].indexOf(s)>=0?"height":"width";if(o&&a){var c=function(t,e){return ct("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ht(t,U))}(r.padding,n),h=A(o),d="y"===l?L:R,f="y"===l?M:$,_=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],p=a[l]-n.rects.reference[l],m=O(o),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,g=_/2-p/2,y=c[d],b=v-h[u]-c[f],w=v/2-h[u]/2+g,E=ft(y,w,b),x=l;n.modifiersData[i]=((e={})[x]=E,e.centerOffset=E-w,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&st(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,a=dt(e,{elementContext:"reference"}),s=dt(e,{altBoundary:!0}),l=_t(a,i),u=_t(s,r,o),c=pt(l),h=pt(u);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":h})}}]}),vt=n(95311),gt=n(20636),yt=n(2957);const bt="base";function wt(t,e){const n=yt._v[e];return n?`${bt}--${n}`:function(t,e){return`${bt}-${t}-${e}`}(t,e)}const Et="Popper";function xt(t){return wt(Et,t)}!function(t,e){const n={};["root"].forEach((e=>{n[e]=wt(t,e)}))}(Et);var Ct=n(45854),Tt=n(43188);const At={disableDefaultClasses:!1},St=o.createContext(At),zt=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],kt=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Nt(t){return"function"==typeof t?t():t}const It={},Ot=o.forwardRef((function(t,e){var n;const{anchorEl:l,children:u,direction:c,disablePortal:h,modifiers:d,open:f,placement:_,popperOptions:p,popperRef:m,slotProps:v={},slots:g={},TransitionProps:y}=t,b=(0,r.Z)(t,zt),w=o.useRef(null),E=(0,a.Z)(w,e),x=o.useRef(null),C=(0,a.Z)(x,m),T=o.useRef(C);(0,s.Z)((()=>{T.current=C}),[C]),o.useImperativeHandle(m,(()=>x.current),[]);const A=function(t,e){if("ltr"===e)return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}(_,c),[S,z]=o.useState(A),[k,N]=o.useState(Nt(l));o.useEffect((()=>{x.current&&x.current.forceUpdate()})),o.useEffect((()=>{l&&N(Nt(l))}),[l]),(0,s.Z)((()=>{if(!k||!f)return;let t=[{name:"preventOverflow",options:{altBoundary:h}},{name:"flip",options:{altBoundary:h}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:t})=>{z(t.placement)}}];null!=d&&(t=t.concat(d)),p&&null!=p.modifiers&&(t=t.concat(p.modifiers));const e=mt(k,w.current,(0,i.Z)({placement:A},p,{modifiers:t}));return T.current(e),()=>{e.destroy(),T.current(null)}}),[k,h,d,f,p,A]);const I={placement:S};null!==y&&(I.TransitionProps=y);const O=(0,vt.Z)({root:["root"]},function(t){const{disableDefaultClasses:e}=o.useContext(St);return n=>e?"":t(n)}(xt)),L=null!=(n=g.root)?n:"div",M=(0,Ct.y)({elementType:L,externalSlotProps:v.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:E},ownerState:t,className:O.root});return(0,Tt.jsx)(L,(0,i.Z)({},M,{children:"function"==typeof u?u(I):u}))})),Lt=o.forwardRef((function(t,e){const{anchorEl:n,children:a,container:s,direction:u="ltr",disablePortal:c=!1,keepMounted:h=!1,modifiers:d,open:f,placement:_="bottom",popperOptions:p=It,popperRef:m,style:v,transition:g=!1,slotProps:y={},slots:b={}}=t,w=(0,r.Z)(t,kt),[E,x]=o.useState(!0);if(!h&&!f&&(!g||E))return null;let C;if(s)C=s;else if(n){const t=Nt(n);C=t&&void 0!==t.nodeType?(0,l.Z)(t).body:(0,l.Z)(null).body}const T=f||!h||g&&!E?void 0:"none",A=g?{in:f,onEnter:()=>{x(!1)},onExited:()=>{x(!0)}}:void 0;return(0,Tt.jsx)(gt.h,{disablePortal:c,container:C,children:(0,Tt.jsx)(Ot,(0,i.Z)({anchorEl:n,direction:u,disablePortal:c,modifiers:d,ref:e,open:g?!E:f,placement:_,popperOptions:p,popperRef:m,slotProps:y,slots:b},w,{style:(0,i.Z)({position:"fixed",top:0,left:0,display:T},v),TransitionProps:A,children:a}))})}));var Mt=n(92738),$t=n(61125),Rt=n(57369);const Pt=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Ut=(0,$t.ZP)(Lt,{name:"MuiPopper",slot:"Root",overridesResolver:(t,e)=>e.root})({}),jt=o.forwardRef((function(t,e){var n;const o=(0,Mt.Z)(),a=(0,Rt.Z)({props:t,name:"MuiPopper"}),{anchorEl:s,component:l,components:u,componentsProps:c,container:h,disablePortal:d,keepMounted:f,modifiers:_,open:p,placement:m,popperOptions:v,popperRef:g,transition:y,slots:b,slotProps:w}=a,E=(0,r.Z)(a,Pt),x=null!=(n=null==b?void 0:b.root)?n:null==u?void 0:u.Root,C=(0,i.Z)({anchorEl:s,container:h,disablePortal:d,keepMounted:f,modifiers:_,open:p,placement:m,popperOptions:v,popperRef:g,transition:y},E);return(0,Tt.jsx)(Ut,(0,i.Z)({as:l,direction:null==o?void 0:o.direction,slots:{root:x},slotProps:null!=w?w:c},C,{ref:e}))}))},65442:(t,e,n)=>{"use strict";n.d(e,{Z:()=>K});var i=n(30984),r=n(55559),o=n(66204),a=n(56317),s=n(96715),l=n(60247),u=(n(5356),n(95311)),c=n(1311),h=n(60617),d=n(40118),f=n(87865),_=n(30264),p=n(2957);function m(t){return(0,p.ZP)("MuiNativeSelect",t)}const v=(0,_.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var g=n(61125),y=n(43188);const b=["className","disabled","error","IconComponent","inputRef","variant"],w=({ownerState:t,theme:e})=>(0,i.Z)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,i.Z)({},e.vars?{backgroundColor:`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===e.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${v.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===t.variant&&{"&&&":{paddingRight:32}},"outlined"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}),E=(0,g.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:g.FO,overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.select,e[n.variant],n.error&&e.error,{[`&.${v.multiple}`]:e.multiple}]}})(w),x=({ownerState:t,theme:e})=>(0,i.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${v.disabled}`]:{color:(e.vars||e).palette.action.disabled}},t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7}),C=(0,g.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.icon,n.variant&&e[`icon${(0,d.Z)(n.variant)}`],n.open&&e.iconOpen]}})(x),T=o.forwardRef((function(t,e){const{className:n,disabled:s,error:l,IconComponent:c,inputRef:h,variant:f="standard"}=t,_=(0,r.Z)(t,b),p=(0,i.Z)({},t,{disabled:s,variant:f,error:l}),v=(t=>{const{classes:e,variant:n,disabled:i,multiple:r,open:o,error:a}=t,s={select:["select",n,i&&"disabled",r&&"multiple",a&&"error"],icon:["icon",`icon${(0,d.Z)(n)}`,o&&"iconOpen",i&&"disabled"]};return(0,u.Z)(s,m,e)})(p);return(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)(E,(0,i.Z)({ownerState:p,className:(0,a.Z)(v.select,n),disabled:s,ref:h||e},_)),t.multiple?null:(0,y.jsx)(C,{as:c,ownerState:p,className:v.icon})]})}));var A,S=n(41372),z=n(81597),k=n(24842),N=n(37617);const I=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],O=(0,g.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`&.${N.Z.select}`]:e.select},{[`&.${N.Z.select}`]:e[n.variant]},{[`&.${N.Z.error}`]:e.error},{[`&.${N.Z.multiple}`]:e.multiple}]}})(w,{[`&.${N.Z.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),L=(0,g.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.icon,n.variant&&e[`icon${(0,d.Z)(n.variant)}`],n.open&&e.iconOpen]}})(x),M=(0,g.ZP)("input",{shouldForwardProp:t=>(0,g.Dz)(t)&&"classes"!==t,name:"MuiSelect",slot:"NativeInput",overridesResolver:(t,e)=>e.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function $(t,e){return"object"==typeof e&&null!==e?t===e:String(t)===String(e)}function R(t){return null==t||"string"==typeof t&&!t.trim()}const P=o.forwardRef((function(t,e){var n;const{"aria-describedby":s,"aria-label":_,autoFocus:p,autoWidth:m,children:v,className:g,defaultOpen:b,defaultValue:w,disabled:E,displayEmpty:x,error:C=!1,IconComponent:T,inputRef:P,labelId:U,MenuProps:j={},multiple:q,name:D,onBlur:B,onChange:F,onClose:W,onFocus:G,onOpen:H,open:V,readOnly:X,renderValue:J,SelectDisplayProps:Z={},tabIndex:Y,value:K,variant:Q="standard"}=t,tt=(0,r.Z)(t,I),[et,nt]=(0,k.Z)({controlled:K,default:w,name:"Select"}),[it,rt]=(0,k.Z)({controlled:V,default:b,name:"Select"}),ot=o.useRef(null),at=o.useRef(null),[st,lt]=o.useState(null),{current:ut}=o.useRef(null!=V),[ct,ht]=o.useState(),dt=(0,z.Z)(e,P),ft=o.useCallback((t=>{at.current=t,t&<(t)}),[]),_t=null==st?void 0:st.parentNode;o.useImperativeHandle(dt,(()=>({focus:()=>{at.current.focus()},node:ot.current,value:et})),[et]),o.useEffect((()=>{b&&it&&st&&!ut&&(ht(m?null:_t.clientWidth),at.current.focus())}),[st,m]),o.useEffect((()=>{p&&at.current.focus()}),[p]),o.useEffect((()=>{if(!U)return;const t=(0,h.Z)(at.current).getElementById(U);if(t){const e=()=>{getSelection().isCollapsed&&at.current.focus()};return t.addEventListener("click",e),()=>{t.removeEventListener("click",e)}}}),[U]);const pt=(t,e)=>{t?H&&H(e):W&&W(e),ut||(ht(m?null:_t.clientWidth),rt(t))},mt=o.Children.toArray(v),vt=t=>e=>{let n;if(e.currentTarget.hasAttribute("tabindex")){if(q){n=Array.isArray(et)?et.slice():[];const e=et.indexOf(t.props.value);-1===e?n.push(t.props.value):n.splice(e,1)}else n=t.props.value;if(t.props.onClick&&t.props.onClick(e),et!==n&&(nt(n),F)){const i=e.nativeEvent||e,r=new i.constructor(i.type,i);Object.defineProperty(r,"target",{writable:!0,value:{value:n,name:D}}),F(r,t)}q||pt(!1,e)}},gt=null!==st&⁢let yt,bt;delete tt["aria-invalid"];const wt=[];let Et=!1,xt=!1;((0,S.vd)({value:et})||x)&&(J?yt=J(et):Et=!0);const Ct=mt.map((t=>{if(!o.isValidElement(t))return null;let e;if(q){if(!Array.isArray(et))throw new Error((0,l.Z)(2));e=et.some((e=>$(e,t.props.value))),e&&Et&&wt.push(t.props.children)}else e=$(et,t.props.value),e&&Et&&(bt=t.props.children);return e&&(xt=!0),o.cloneElement(t,{"aria-selected":e?"true":"false",onClick:vt(t),onKeyUp:e=>{" "===e.key&&e.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(e)},role:"option",selected:e,value:void 0,"data-value":t.props.value})}));Et&&(yt=q?0===wt.length?null:wt.reduce(((t,e,n)=>(t.push(e),n{const{classes:e,variant:n,disabled:i,multiple:r,open:o,error:a}=t,s={select:["select",n,i&&"disabled",r&&"multiple",a&&"error"],icon:["icon",`icon${(0,d.Z)(n)}`,o&&"iconOpen",i&&"disabled"],nativeInput:["nativeInput"]};return(0,u.Z)(s,N.o,e)})(zt),Nt=(0,i.Z)({},j.PaperProps,null==(n=j.slotProps)?void 0:n.paper),It=(0,c.Z)();return(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)(O,(0,i.Z)({ref:ft,tabIndex:Tt,role:"combobox","aria-controls":It,"aria-disabled":E?"true":void 0,"aria-expanded":gt?"true":"false","aria-haspopup":"listbox","aria-label":_,"aria-labelledby":[U,St].filter(Boolean).join(" ")||void 0,"aria-describedby":s,onKeyDown:t=>{X||-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(t.key)&&(t.preventDefault(),pt(!0,t))},onMouseDown:E||X?null:t=>{0===t.button&&(t.preventDefault(),at.current.focus(),pt(!0,t))},onBlur:t=>{!gt&&B&&(Object.defineProperty(t,"target",{writable:!0,value:{value:et,name:D}}),B(t))},onFocus:G},Z,{ownerState:zt,className:(0,a.Z)(Z.className,kt.select,g),id:St,children:R(yt)?A||(A=(0,y.jsx)("span",{className:"notranslate",children:"​"})):yt})),(0,y.jsx)(M,(0,i.Z)({"aria-invalid":C,value:Array.isArray(et)?et.join(","):et,name:D,ref:ot,"aria-hidden":!0,onChange:t=>{const e=mt.find((e=>e.props.value===t.target.value));void 0!==e&&(nt(e.props.value),F&&F(t,e))},tabIndex:-1,disabled:E,className:kt.nativeInput,autoFocus:p,ownerState:zt},tt)),(0,y.jsx)(L,{as:T,className:kt.icon,ownerState:zt}),(0,y.jsx)(f.Z,(0,i.Z)({id:`menu-${D||""}`,anchorEl:_t,open:gt,onClose:t=>{pt(!1,t)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},j,{MenuListProps:(0,i.Z)({"aria-labelledby":U,role:"listbox","aria-multiselectable":q?"true":void 0,disableListWrap:!0,id:It},j.MenuListProps),slotProps:(0,i.Z)({},j.slotProps,{paper:(0,i.Z)({},Nt,{style:(0,i.Z)({minWidth:At},null!=Nt?Nt.style:null)})}),children:Ct}))]})}));var U=n(92407),j=n(55834),q=n(99016),D=n(61054),B=n(80402),F=n(91906),W=n(57369);const G=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],H=["root"],V={name:"MuiSelect",overridesResolver:(t,e)=>e.root,shouldForwardProp:t=>(0,g.FO)(t)&&"variant"!==t,slot:"Root"},X=(0,g.ZP)(D.Z,V)(""),J=(0,g.ZP)(F.Z,V)(""),Z=(0,g.ZP)(B.Z,V)(""),Y=o.forwardRef((function(t,e){const n=(0,W.Z)({name:"MuiSelect",props:t}),{autoWidth:l=!1,children:u,classes:c={},className:h,defaultOpen:d=!1,displayEmpty:f=!1,IconComponent:_=q.Z,id:p,input:m,inputProps:v,label:g,labelId:b,MenuProps:w,multiple:E=!1,native:x=!1,onClose:C,onOpen:A,open:S,renderValue:k,SelectDisplayProps:N,variant:I="outlined"}=n,O=(0,r.Z)(n,G),L=x?T:P,M=(0,j.Z)(),$=(0,U.Z)({props:n,muiFormControl:M,states:["variant","error"]}),R=$.variant||I,D=(0,i.Z)({},n,{variant:R,classes:c}),B=(t=>{const{classes:e}=t;return e})(D),F=(0,r.Z)(B,H),V=m||{standard:(0,y.jsx)(X,{ownerState:D}),outlined:(0,y.jsx)(J,{label:g,ownerState:D}),filled:(0,y.jsx)(Z,{ownerState:D})}[R],Y=(0,z.Z)(e,V.ref);return(0,y.jsx)(o.Fragment,{children:o.cloneElement(V,(0,i.Z)({inputComponent:L,inputProps:(0,i.Z)({children:u,error:$.error,IconComponent:_,variant:R,type:void 0,multiple:E},x?{id:p}:{autoWidth:l,defaultOpen:d,displayEmpty:f,labelId:b,MenuProps:w,onClose:C,onOpen:A,open:S,renderValue:k,SelectDisplayProps:(0,i.Z)({id:p},N)},v,{classes:v?(0,s.Z)(F,v.classes):F},m?m.props.inputProps:{})},(E&&x||f)&&"outlined"===R?{notched:!0}:{},{ref:Y,className:(0,a.Z)(V.props.className,h,B.root)},!m&&{variant:R},O))})}));Y.muiName="Select";const K=Y},12363:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,getSelectUtilityClasses:()=>r.o,selectClasses:()=>r.Z});var i=n(65442),r=n(37617)},37617:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a,o:()=>o});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiSelect",t)}const a=(0,i.Z)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"])},93345:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>P,getSnackbarUtilityClass:()=>O,snackbarClasses:()=>L});var i=n(55559),r=n(30984),o=n(66204),a=n(45854),s=n(95311),l=n(70047),u=n(54738),c=n(43175),h=n(43188);function d(t){return t.substring(2).toLowerCase()}function f(t){const{children:e,disableReactTree:n=!1,mouseEvent:i="onClick",onClickAway:r,touchEvent:a="onTouchEnd"}=t,s=o.useRef(!1),f=o.useRef(null),_=o.useRef(!1),p=o.useRef(!1);o.useEffect((()=>(setTimeout((()=>{_.current=!0}),0),()=>{_.current=!1})),[]);const m=(0,l.Z)(e.ref,f),v=(0,u.Z)((t=>{const e=p.current;p.current=!1;const i=(0,c.Z)(f.current);if(!_.current||!f.current||"clientX"in t&&function(t,e){return e.documentElement.clientWidth-1:!i.documentElement.contains(t.target)||f.current.contains(t.target),o||!n&&e||r(t)})),g=t=>n=>{p.current=!0;const i=e.props[t];i&&i(n)},y={ref:m};return!1!==a&&(y[a]=g(a)),o.useEffect((()=>{if(!1!==a){const t=d(a),e=(0,c.Z)(f.current),n=()=>{s.current=!0};return e.addEventListener(t,v),e.addEventListener("touchmove",n),()=>{e.removeEventListener(t,v),e.removeEventListener("touchmove",n)}}}),[v,a]),!1!==i&&(y[i]=g(i)),o.useEffect((()=>{if(!1!==i){const t=d(i),e=(0,c.Z)(f.current);return e.addEventListener(t,v),()=>{e.removeEventListener(t,v)}}}),[v,i]),(0,h.jsx)(o.Fragment,{children:o.cloneElement(e,y)})}var _=n(97969),p=n(61234),m=n(61125),v=n(92368),g=n(57369),y=n(40118),b=n(23160),w=n(56317),E=n(83041),x=n(3943),C=n(30264),T=n(2957);function A(t){return(0,T.ZP)("MuiSnackbarContent",t)}(0,C.Z)("MuiSnackbarContent",["root","message","action"]);const S=["action","className","message","role"],z=(0,m.ZP)(x.Z,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(t,e)=>e.root})((({theme:t})=>{const e="light"===t.palette.mode?.8:.98,n=(0,E._4)(t.palette.background.default,e);return(0,r.Z)({},t.typography.body2,{color:t.vars?t.vars.palette.SnackbarContent.color:t.palette.getContrastText(n),backgroundColor:t.vars?t.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,flexGrow:1,[t.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})})),k=(0,m.ZP)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0"}),N=(0,m.ZP)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),I=o.forwardRef((function(t,e){const n=(0,g.Z)({props:t,name:"MuiSnackbarContent"}),{action:o,className:a,message:l,role:u="alert"}=n,c=(0,i.Z)(n,S),d=n,f=(t=>{const{classes:e}=t;return(0,s.Z)({root:["root"],action:["action"],message:["message"]},A,e)})(d);return(0,h.jsxs)(z,(0,r.Z)({role:u,square:!0,elevation:6,className:(0,w.Z)(f.root,a),ownerState:d,ref:e},c,{children:[(0,h.jsx)(k,{className:f.message,ownerState:d,children:l}),o?(0,h.jsx)(N,{className:f.action,ownerState:d,children:o}):null]}))}));function O(t){return(0,T.ZP)("MuiSnackbar",t)}const L=(0,C.Z)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]),M=["onEnter","onExited"],$=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],R=(0,m.ZP)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`anchorOrigin${(0,y.Z)(n.anchorOrigin.vertical)}${(0,y.Z)(n.anchorOrigin.horizontal)}`]]}})((({theme:t,ownerState:e})=>(0,r.Z)({zIndex:(t.vars||t).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===e.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===e.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===e.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[t.breakpoints.up("sm")]:(0,r.Z)({},"top"===e.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===e.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===e.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===e.anchorOrigin.horizontal&&{right:24,left:"auto"})}))),P=o.forwardRef((function(t,e){const n=(0,g.Z)({props:t,name:"MuiSnackbar"}),l=(0,v.Z)(),c={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{action:d,anchorOrigin:{vertical:m,horizontal:w}={vertical:"bottom",horizontal:"left"},autoHideDuration:E=null,children:x,className:C,ClickAwayListenerProps:T,ContentProps:A,disableWindowBlurListener:S=!1,message:z,open:k,TransitionComponent:N=b.Z,transitionDuration:L=c,TransitionProps:{onEnter:P,onExited:U}={}}=n,j=(0,i.Z)(n.TransitionProps,M),q=(0,i.Z)(n,$),D=(0,r.Z)({},n,{anchorOrigin:{vertical:m,horizontal:w},autoHideDuration:E,disableWindowBlurListener:S,TransitionComponent:N,transitionDuration:L}),B=(t=>{const{classes:e,anchorOrigin:n}=t,i={root:["root",`anchorOrigin${(0,y.Z)(n.vertical)}${(0,y.Z)(n.horizontal)}`]};return(0,s.Z)(i,O,e)})(D),{getRootProps:F,onClickAway:W}=function(t={}){const{autoHideDuration:e=null,disableWindowBlurListener:n=!1,onClose:i,open:a,resumeHideDuration:s}=t,l=(0,_.Z)();o.useEffect((()=>{if(a)return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)};function t(t){t.defaultPrevented||"Escape"!==t.key&&"Esc"!==t.key||null==i||i(t,"escapeKeyDown")}}),[a,i]);const c=(0,u.Z)(((t,e)=>{null==i||i(t,e)})),h=(0,u.Z)((t=>{i&&null!=t&&l.start(t,(()=>{c(null,"timeout")}))}));o.useEffect((()=>(a&&h(e),l.clear)),[a,e,h,l]);const d=l.clear,f=o.useCallback((()=>{null!=e&&h(null!=s?s:.5*e)}),[e,s,h]),m=t=>e=>{const n=t.onFocus;null==n||n(e),d()},v=t=>e=>{const n=t.onMouseEnter;null==n||n(e),d()},g=t=>e=>{const n=t.onMouseLeave;null==n||n(e),f()};return o.useEffect((()=>{if(!n&&a)return window.addEventListener("focus",f),window.addEventListener("blur",d),()=>{window.removeEventListener("focus",f),window.removeEventListener("blur",d)}}),[n,a,f,d]),{getRootProps:(e={})=>{const n=(0,r.Z)({},(0,p._)(t),(0,p._)(e));return(0,r.Z)({role:"presentation"},e,n,{onBlur:(i=n,t=>{const e=i.onBlur;null==e||e(t),f()}),onFocus:m(n),onMouseEnter:v(n),onMouseLeave:g(n)});var i},onClickAway:t=>{null==i||i(t,"clickaway")}}}((0,r.Z)({},D)),[G,H]=o.useState(!0),V=(0,a.y)({elementType:R,getSlotProps:F,externalForwardedProps:q,ownerState:D,additionalProps:{ref:e},className:[B.root,C]});return!k&&G?null:(0,h.jsx)(f,(0,r.Z)({onClickAway:W},T,{children:(0,h.jsx)(R,(0,r.Z)({},V,{children:(0,h.jsx)(N,(0,r.Z)({appear:!0,in:k,timeout:L,direction:"top"===m?"down":"up",onEnter:(t,e)=>{H(!1),P&&P(t,e)},onExited:t=>{H(!0),U&&U(t)}},j,{children:x||(0,h.jsx)(I,(0,r.Z)({message:z,action:d},A))}))}))}))}))},18020:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(9183),r=n(61125),o=n(57369);const a=(0,i.Z)({createStyledComponent:(0,r.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root}),useThemeProps:t=>(0,o.Z)({props:t,name:"MuiStack"})})},57415:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,stackClasses:()=>r});var i=n(18020);const r=(0,n(30264).Z)("MuiStack",["root"])},17187:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>L});var i=n(30984),r=n(55559),o=n(66204),a=n(42457),s=n(36672),l=n(71969),u=n(43188);function c(t){const{children:e,defer:n=!1,fallback:i=null}=t,[r,a]=o.useState(!1);return(0,l.Z)((()=>{n||a(!0)}),[n]),o.useEffect((()=>{n&&a(!0)}),[n]),(0,u.jsx)(o.Fragment,{children:r?e:i})}var h=n(96829),d=n(81597),f=n(60617),_=n(19514),p=n(42853),m=n(5429),v=n(92368),g=n(79143),y=n(56317),b=n(61125),w=n(40118);const E=["anchor","classes","className","width","style"],x=(0,b.ZP)("div",{shouldForwardProp:b.FO})((({theme:t,ownerState:e})=>(0,i.Z)({position:"fixed",top:0,left:0,bottom:0,zIndex:t.zIndex.drawer-1},"left"===e.anchor&&{right:"auto"},"right"===e.anchor&&{left:"auto",right:0},"top"===e.anchor&&{bottom:"auto",right:0},"bottom"===e.anchor&&{top:"auto",bottom:0,right:0}))),C=o.forwardRef((function(t,e){const{anchor:n,classes:o={},className:a,width:s,style:l}=t,c=(0,r.Z)(t,E),d=t;return(0,u.jsx)(x,(0,i.Z)({className:(0,y.Z)("PrivateSwipeArea-root",o.root,o[`anchor${(0,w.Z)(n)}`],a),ref:e,style:(0,i.Z)({[(0,h.wE)(n)?"width":"height"]:s},l),ownerState:d},c))})),T=["BackdropProps"],A=["anchor","disableBackdropTransition","disableDiscovery","disableSwipeToOpen","hideBackdrop","hysteresis","allowSwipeInChildren","minFlingVelocity","ModalProps","onClose","onOpen","open","PaperProps","SwipeAreaProps","swipeAreaWidth","transitionDuration","variant"];let S=null;function z(t,e,n){return"right"===t?n.body.offsetWidth-e[0].pageX:e[0].pageX}function k(t,e,n){return"bottom"===t?n.innerHeight-e[0].clientY:e[0].clientY}function N(t,e){return t?e.clientWidth:e.clientHeight}function I(t,e,n,i){return Math.min(Math.max(n?e-t:i+e-t,0),i)}const O="undefined"!=typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent),L=o.forwardRef((function(t,e){const n=(0,s.Z)({name:"MuiSwipeableDrawer",props:t}),l=(0,v.Z)(),y={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{anchor:b="left",disableBackdropTransition:w=!1,disableDiscovery:E=!1,disableSwipeToOpen:x=O,hideBackdrop:L,hysteresis:M=.52,allowSwipeInChildren:$=!1,minFlingVelocity:R=450,ModalProps:{BackdropProps:P}={},onClose:U,onOpen:j,open:q=!1,PaperProps:D={},SwipeAreaProps:B,swipeAreaWidth:F=20,transitionDuration:W=y,variant:G="temporary"}=n,H=(0,r.Z)(n.ModalProps,T),V=(0,r.Z)(n,A),[X,J]=o.useState(!1),Z=o.useRef({isSwiping:null}),Y=o.useRef(),K=o.useRef(),Q=o.useRef(),tt=(0,d.Z)(D.ref,Q),et=o.useRef(!1),nt=o.useRef();(0,m.Z)((()=>{nt.current=null}),[q]);const it=o.useCallback(((t,e={})=>{const{mode:n=null,changeTransition:i=!0}=e,r=(0,h.ni)(l,b),o=-1!==["right","bottom"].indexOf(r)?1:-1,a=(0,h.wE)(b),s=a?`translate(${o*t}px, 0)`:`translate(0, ${o*t}px)`,u=Q.current.style;u.webkitTransform=s,u.transform=s;let c="";if(n&&(c=l.transitions.create("all",(0,g.C)({easing:void 0,style:void 0,timeout:W},{mode:n}))),i&&(u.webkitTransition=c,u.transition=c),!w&&!L){const e=K.current.style;e.opacity=1-t/N(a,Q.current),i&&(e.webkitTransition=c,e.transition=c)}}),[b,w,L,l,W]),rt=(0,p.Z)((t=>{if(!et.current)return;if(S=null,et.current=!1,a.flushSync((()=>{J(!1)})),!Z.current.isSwiping)return void(Z.current.isSwiping=null);Z.current.isSwiping=null;const e=(0,h.ni)(l,b),n=(0,h.wE)(b);let i;i=n?z(e,t.changedTouches,(0,f.Z)(t.currentTarget)):k(e,t.changedTouches,(0,_.Z)(t.currentTarget));const r=n?Z.current.startX:Z.current.startY,o=N(n,Q.current),s=I(i,r,q,o),u=s/o;Math.abs(Z.current.velocity)>R&&(nt.current=1e3*Math.abs((o-s)/Z.current.velocity)),q?Z.current.velocity>R||u>M?U():it(0,{mode:"exit"}):Z.current.velocity<-R||1-u>M?j():it(N(n,Q.current),{mode:"enter"})})),ot=(t=!1)=>{if(!X){!t&&E&&$||a.flushSync((()=>{J(!0)}));const e=(0,h.wE)(b);!q&&Q.current&&it(N(e,Q.current)+(E?15:-20),{changeTransition:!1}),Z.current.velocity=0,Z.current.lastTime=null,Z.current.lastTranslate=null,Z.current.paperHit=!1,et.current=!0}},at=(0,p.Z)((t=>{if(!Q.current||!et.current)return;if(null!==S&&S!==Z.current)return;ot(!0);const e=(0,h.ni)(l,b),n=(0,h.wE)(b),i=z(e,t.touches,(0,f.Z)(t.currentTarget)),r=k(e,t.touches,(0,_.Z)(t.currentTarget));if(q&&Q.current.contains(t.target)&&null===S){const e=function({domTreeShapes:t,start:e,current:n,anchor:i}){const r={x:"scrollLeft",y:"scrollTop"},o={x:"scrollWidth",y:"scrollHeight"},a={x:"clientWidth",y:"clientHeight"};return t.some((t=>{let s=n>=e;"top"!==i&&"left"!==i||(s=!s);const l="left"===i||"right"===i?"x":"y",u=Math.round(t[r[l]]),c=u>0,h=u+t[a[l]]0&&t.scrollWidth>t.clientWidth||t.clientHeight>0&&t.scrollHeight>t.clientHeight)&&n.push(t),t=t.parentElement}return n}(t.target,Q.current),start:n?Z.current.startX:Z.current.startY,current:n?i:r,anchor:b});if(e)return void(S=!0);S=Z.current}if(null==Z.current.isSwiping){const e=Math.abs(i-Z.current.startX),o=Math.abs(r-Z.current.startY),a=n?e>o&&e>3:o>e&&o>3;if(a&&t.cancelable&&t.preventDefault(),!0===a||(n?o>3:e>3)){if(Z.current.isSwiping=a,!a)return void rt(t);Z.current.startX=i,Z.current.startY=r,E||q||(n?Z.current.startX-=20:Z.current.startY-=20)}}if(!Z.current.isSwiping)return;const o=N(n,Q.current);let a=n?Z.current.startX:Z.current.startY;q&&!Z.current.paperHit&&(a=Math.min(a,o));const s=I(n?i:r,a,q,o);if(q)if(Z.current.paperHit)0===s&&(Z.current.startX=i,Z.current.startY=r);else{if(!(n?i{if(t.defaultPrevented)return;if(t.defaultMuiPrevented)return;if(q&&(L||!K.current.contains(t.target))&&!Q.current.contains(t.target))return;const e=(0,h.ni)(l,b),n=(0,h.wE)(b),i=z(e,t.touches,(0,f.Z)(t.currentTarget)),r=k(e,t.touches,(0,_.Z)(t.currentTarget));if(!q){var o;if(x||!(t.target===Y.current||null!=(o=Q.current)&&o.contains(t.target)&&("function"==typeof $?$(t,Y.current,Q.current):$)))return;if(n){if(i>F)return}else if(r>F)return}t.defaultMuiPrevented=!0,S=null,Z.current.startX=i,Z.current.startY=r,ot()}));return o.useEffect((()=>{if("temporary"===G){const t=(0,f.Z)(Q.current);return t.addEventListener("touchstart",st),t.addEventListener("touchmove",at,{passive:!q}),t.addEventListener("touchend",rt),()=>{t.removeEventListener("touchstart",st),t.removeEventListener("touchmove",at,{passive:!q}),t.removeEventListener("touchend",rt)}}}),[G,q,st,at,rt]),o.useEffect((()=>()=>{S===Z.current&&(S=null)}),[]),o.useEffect((()=>{q||J(!1)}),[q]),(0,u.jsxs)(o.Fragment,{children:[(0,u.jsx)(h.ZP,(0,i.Z)({open:!("temporary"!==G||!X)||q,variant:G,ModalProps:(0,i.Z)({BackdropProps:(0,i.Z)({},P,{ref:K})},"temporary"===G&&{keepMounted:!0},H),hideBackdrop:L,PaperProps:(0,i.Z)({},D,{style:(0,i.Z)({pointerEvents:"temporary"!==G||q||$?"":"none"},D.style),ref:tt}),anchor:b,transitionDuration:nt.current||W,onClose:U,ref:e},V)),!x&&"temporary"===G&&(0,u.jsx)(c,{children:(0,u.jsx)(C,(0,i.Z)({anchor:b,ref:Y,width:F},B))})]})}))},13531:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>N,getSwitchUtilityClass:()=>x,switchClasses:()=>C});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(83041),u=n(40118),c=n(61125),h=n(24842),d=n(55834),f=n(42406),_=n(30264),p=n(2957);function m(t){return(0,p.ZP)("PrivateSwitchBase",t)}(0,_.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var v=n(43188);const g=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],y=(0,c.ZP)(f.Z)((({ownerState:t})=>(0,r.Z)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12}))),b=(0,c.ZP)("input",{shouldForwardProp:c.FO})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),w=o.forwardRef((function(t,e){const{autoFocus:n,checked:o,checkedIcon:l,className:c,defaultChecked:f,disabled:_,disableFocusRipple:p=!1,edge:w=!1,icon:E,id:x,inputProps:C,inputRef:T,name:A,onBlur:S,onChange:z,onFocus:k,readOnly:N,required:I=!1,tabIndex:O,type:L,value:M}=t,$=(0,i.Z)(t,g),[R,P]=(0,h.Z)({controlled:o,default:Boolean(f),name:"SwitchBase",state:"checked"}),U=(0,d.Z)();let j=_;U&&void 0===j&&(j=U.disabled);const q="checkbox"===L||"radio"===L,D=(0,r.Z)({},t,{checked:R,disabled:j,disableFocusRipple:p,edge:w}),B=(t=>{const{classes:e,checked:n,disabled:i,edge:r}=t,o={root:["root",n&&"checked",i&&"disabled",r&&`edge${(0,u.Z)(r)}`],input:["input"]};return(0,s.Z)(o,m,e)})(D);return(0,v.jsxs)(y,(0,r.Z)({component:"span",className:(0,a.Z)(B.root,c),centerRipple:!0,focusRipple:!p,disabled:j,tabIndex:null,role:void 0,onFocus:t=>{k&&k(t),U&&U.onFocus&&U.onFocus(t)},onBlur:t=>{S&&S(t),U&&U.onBlur&&U.onBlur(t)},ownerState:D,ref:e},$,{children:[(0,v.jsx)(b,(0,r.Z)({autoFocus:n,checked:o,defaultChecked:f,className:B.input,disabled:j,id:q?x:void 0,name:A,onChange:t=>{if(t.nativeEvent.defaultPrevented)return;const e=t.target.checked;P(e),z&&z(t,e)},readOnly:N,ref:T,required:I,ownerState:D,tabIndex:O,type:L},"checkbox"===L&&void 0===M?{}:{value:M},C)),R?l:E]}))}));var E=n(57369);function x(t){return(0,p.ZP)("MuiSwitch",t)}const C=(0,_.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),T=["className","color","edge","size","sx"],A=(0,c.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.edge&&e[`edge${(0,u.Z)(n.edge)}`],e[`size${(0,u.Z)(n.size)}`]]}})((({ownerState:t})=>(0,r.Z)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===t.edge&&{marginLeft:-8},"end"===t.edge&&{marginRight:-8},"small"===t.size&&{width:40,height:24,padding:7,[`& .${C.thumb}`]:{width:16,height:16},[`& .${C.switchBase}`]:{padding:4,[`&.${C.checked}`]:{transform:"translateX(16px)"}}}))),S=(0,c.ZP)(w,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.switchBase,{[`& .${C.input}`]:e.input},"default"!==n.color&&e[`color${(0,u.Z)(n.color)}`]]}})((({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${"light"===t.palette.mode?t.palette.common.white:t.palette.grey[300]}`,transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${C.checked}`]:{transform:"translateX(20px)"},[`&.${C.disabled}`]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${"light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[600]}`},[`&.${C.checked} + .${C.track}`]:{opacity:.5},[`&.${C.disabled} + .${C.track}`]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:""+("light"===t.palette.mode?.12:.2)},[`& .${C.input}`]:{left:"-100%",width:"300%"}})),(({theme:t,ownerState:e})=>(0,r.Z)({"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,l.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==e.color&&{[`&.${C.checked}`]:{color:(t.vars||t).palette[e.color].main,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,l.Fq)(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${C.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${e.color}DisabledColor`]:`${"light"===t.palette.mode?(0,l.$n)(t.palette[e.color].main,.62):(0,l._j)(t.palette[e.color].main,.55)}`}},[`&.${C.checked} + .${C.track}`]:{backgroundColor:(t.vars||t).palette[e.color].main}}))),z=(0,c.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,e)=>e.track})((({theme:t})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:`${"light"===t.palette.mode?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:""+("light"===t.palette.mode?.38:.3)}))),k=(0,c.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,e)=>e.thumb})((({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),N=o.forwardRef((function(t,e){const n=(0,E.Z)({props:t,name:"MuiSwitch"}),{className:o,color:l="primary",edge:c=!1,size:h="medium",sx:d}=n,f=(0,i.Z)(n,T),_=(0,r.Z)({},n,{color:l,edge:c,size:h}),p=(t=>{const{classes:e,edge:n,size:i,color:o,checked:a,disabled:l}=t,c={root:["root",n&&`edge${(0,u.Z)(n)}`,`size${(0,u.Z)(i)}`],switchBase:["switchBase",`color${(0,u.Z)(o)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},h=(0,s.Z)(c,x,e);return(0,r.Z)({},e,h)})(_),m=(0,v.jsx)(k,{className:p.thumb,ownerState:_});return(0,v.jsxs)(A,{className:(0,a.Z)(p.root,o),sx:d,ownerState:_,children:[(0,v.jsx)(S,(0,r.Z)({type:"checkbox",icon:m,checkedIcon:m,ref:e,ownerState:_},f,{classes:(0,r.Z)({},p,{root:p.switchBase})})),(0,v.jsx)(z,{className:p.track,ownerState:_})]})}))},97811:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>y,getTabUtilityClass:()=>_,tabClasses:()=>p});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(42406),u=n(40118),c=n(57369),h=n(61125),d=n(30264),f=n(2957);function _(t){return(0,f.ZP)("MuiTab",t)}const p=(0,d.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);var m=n(43188);const v=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],g=(0,h.ZP)(l.Z,{name:"MuiTab",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.label&&n.icon&&e.labelIcon,e[`textColor${(0,u.Z)(n.textColor)}`],n.fullWidth&&e.fullWidth,n.wrapped&&e.wrapped]}})((({theme:t,ownerState:e})=>(0,r.Z)({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},e.label&&{flexDirection:"top"===e.iconPosition||"bottom"===e.iconPosition?"column":"row"},{lineHeight:1.25},e.icon&&e.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${p.iconWrapper}`]:(0,r.Z)({},"top"===e.iconPosition&&{marginBottom:6},"bottom"===e.iconPosition&&{marginTop:6},"start"===e.iconPosition&&{marginRight:t.spacing(1)},"end"===e.iconPosition&&{marginLeft:t.spacing(1)})},"inherit"===e.textColor&&{color:"inherit",opacity:.6,[`&.${p.selected}`]:{opacity:1},[`&.${p.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},"primary"===e.textColor&&{color:(t.vars||t).palette.text.secondary,[`&.${p.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${p.disabled}`]:{color:(t.vars||t).palette.text.disabled}},"secondary"===e.textColor&&{color:(t.vars||t).palette.text.secondary,[`&.${p.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${p.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},e.wrapped&&{fontSize:t.typography.pxToRem(12)}))),y=o.forwardRef((function(t,e){const n=(0,c.Z)({props:t,name:"MuiTab"}),{className:l,disabled:h=!1,disableFocusRipple:d=!1,fullWidth:f,icon:p,iconPosition:y="top",indicator:b,label:w,onChange:E,onClick:x,onFocus:C,selected:T,selectionFollowsFocus:A,textColor:S="inherit",value:z,wrapped:k=!1}=n,N=(0,i.Z)(n,v),I=(0,r.Z)({},n,{disabled:h,disableFocusRipple:d,selected:T,icon:!!p,iconPosition:y,label:!!w,fullWidth:f,textColor:S,wrapped:k}),O=(t=>{const{classes:e,textColor:n,fullWidth:i,wrapped:r,icon:o,label:a,selected:l,disabled:c}=t,h={root:["root",o&&a&&"labelIcon",`textColor${(0,u.Z)(n)}`,i&&"fullWidth",r&&"wrapped",l&&"selected",c&&"disabled"],iconWrapper:["iconWrapper"]};return(0,s.Z)(h,_,e)})(I),L=p&&w&&o.isValidElement(p)?o.cloneElement(p,{className:(0,a.Z)(O.iconWrapper,p.props.className)}):p;return(0,m.jsxs)(g,(0,r.Z)({focusRipple:!d,className:(0,a.Z)(O.root,l),ref:e,role:"tab","aria-selected":T,disabled:h,onClick:t=>{!T&&E&&E(t,z),x&&x(t)},onFocus:t=>{A&&!T&&E&&E(t,z),C&&C(t)},ownerState:I,tabIndex:T?0:-1},N,{children:["top"===y||"start"===y?(0,m.jsxs)(o.Fragment,{children:[L,w]}):(0,m.jsxs)(o.Fragment,{children:[w,L]}),b]}))}))},18320:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>V,getTabsUtilityClass:()=>M,tabsClasses:()=>$});var i=n(55559),r=n(30984),o=n(66204),a=(n(5356),n(56317)),s=n(45854),l=n(95311),u=n(61125),c=n(57369),h=n(92368),d=n(78101);let f;function _(){if(f)return f;const t=document.createElement("div"),e=document.createElement("div");return e.style.width="10px",e.style.height="1px",t.appendChild(e),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),f="reverse",t.scrollLeft>0?f="default":(t.scrollLeft=1,0===t.scrollLeft&&(f="negative")),document.body.removeChild(t),f}function p(t,e){const n=t.scrollLeft;if("rtl"!==e)return n;switch(_()){case"negative":return t.scrollWidth-t.clientWidth+n;case"reverse":return t.scrollWidth-t.clientWidth-n;default:return n}}function m(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}var v=n(5429),g=n(19514),y=n(43188);const b=["onChange"],w={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var E=n(66661);const x=(0,E.Z)((0,y.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),C=(0,E.Z)((0,y.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");var T=n(42406),A=n(30264),S=n(2957);function z(t){return(0,S.ZP)("MuiTabScrollButton",t)}const k=(0,A.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),N=["className","slots","slotProps","direction","orientation","disabled"],I=(0,u.ZP)(T.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.orientation&&e[n.orientation]]}})((({ownerState:t})=>(0,r.Z)({width:40,flexShrink:0,opacity:.8,[`&.${k.disabled}`]:{opacity:0}},"vertical"===t.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${t.isRtl?-90:90}deg)`}}))),O=o.forwardRef((function(t,e){var n,o;const u=(0,c.Z)({props:t,name:"MuiTabScrollButton"}),{className:d,slots:f={},slotProps:_={},direction:p}=u,m=(0,i.Z)(u,N),v="rtl"===(0,h.Z)().direction,g=(0,r.Z)({isRtl:v},u),b=(t=>{const{classes:e,orientation:n,disabled:i}=t,r={root:["root",n,i&&"disabled"]};return(0,l.Z)(r,z,e)})(g),w=null!=(n=f.StartScrollButtonIcon)?n:x,E=null!=(o=f.EndScrollButtonIcon)?o:C,T=(0,s.y)({elementType:w,externalSlotProps:_.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g}),A=(0,s.y)({elementType:E,externalSlotProps:_.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g});return(0,y.jsx)(I,(0,r.Z)({component:"div",className:(0,a.Z)(b.root,d),ref:e,role:null,ownerState:g,tabIndex:null},m,{children:"left"===p?(0,y.jsx)(w,(0,r.Z)({},T)):(0,y.jsx)(E,(0,r.Z)({},A))}))}));var L=n(42853);function M(t){return(0,S.ZP)("MuiTabs",t)}const $=(0,A.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);var R=n(60617);const P=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],U=(t,e)=>t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild,j=(t,e)=>t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild,q=(t,e,n)=>{let i=!1,r=n(t,e);for(;r;){if(r===t.firstChild){if(i)return;i=!0}const e=r.disabled||"true"===r.getAttribute("aria-disabled");if(r.hasAttribute("tabindex")&&!e)return void r.focus();r=n(t,r)}},D=(0,u.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${$.scrollButtons}`]:e.scrollButtons},{[`& .${$.scrollButtons}`]:n.scrollButtonsHideMobile&&e.scrollButtonsHideMobile},e.root,n.vertical&&e.vertical]}})((({ownerState:t,theme:e})=>(0,r.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{[`& .${$.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}))),B=(0,u.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.scroller,n.fixed&&e.fixed,n.hideScrollbar&&e.hideScrollbar,n.scrollableX&&e.scrollableX,n.scrollableY&&e.scrollableY]}})((({ownerState:t})=>(0,r.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),F=(0,u.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.flexContainer,n.vertical&&e.flexContainerVertical,n.centered&&e.centered]}})((({ownerState:t})=>(0,r.Z)({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"}))),W=(0,u.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,e)=>e.indicator})((({ownerState:t,theme:e})=>(0,r.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},"primary"===t.indicatorColor&&{backgroundColor:(e.vars||e).palette.primary.main},"secondary"===t.indicatorColor&&{backgroundColor:(e.vars||e).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0}))),G=(0,u.ZP)((function(t){const{onChange:e}=t,n=(0,i.Z)(t,b),a=o.useRef(),s=o.useRef(null),l=()=>{a.current=s.current.offsetHeight-s.current.clientHeight};return(0,v.Z)((()=>{const t=(0,d.Z)((()=>{const t=a.current;l(),t!==a.current&&e(a.current)})),n=(0,g.Z)(s.current);return n.addEventListener("resize",t),()=>{t.clear(),n.removeEventListener("resize",t)}}),[e]),o.useEffect((()=>{l(),e(a.current)}),[e]),(0,y.jsx)("div",(0,r.Z)({style:w,ref:s},n))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),H={},V=o.forwardRef((function(t,e){const n=(0,c.Z)({props:t,name:"MuiTabs"}),u=(0,h.Z)(),f="rtl"===u.direction,{"aria-label":v,"aria-labelledby":b,action:w,centered:E=!1,children:x,className:C,component:T="div",allowScrollButtonsMobile:A=!1,indicatorColor:S="primary",onChange:z,orientation:k="horizontal",ScrollButtonComponent:N=O,scrollButtons:I="auto",selectionFollowsFocus:$,slots:V={},slotProps:X={},TabIndicatorProps:J={},TabScrollButtonProps:Z={},textColor:Y="primary",value:K,variant:Q="standard",visibleScrollbar:tt=!1}=n,et=(0,i.Z)(n,P),nt="scrollable"===Q,it="vertical"===k,rt=it?"scrollTop":"scrollLeft",ot=it?"top":"left",at=it?"bottom":"right",st=it?"clientHeight":"clientWidth",lt=it?"height":"width",ut=(0,r.Z)({},n,{component:T,allowScrollButtonsMobile:A,indicatorColor:S,orientation:k,vertical:it,scrollButtons:I,textColor:Y,variant:Q,visibleScrollbar:tt,fixed:!nt,hideScrollbar:nt&&!tt,scrollableX:nt&&!it,scrollableY:nt&&it,centered:E&&!nt,scrollButtonsHideMobile:!A}),ct=(t=>{const{vertical:e,fixed:n,hideScrollbar:i,scrollableX:r,scrollableY:o,centered:a,scrollButtonsHideMobile:s,classes:u}=t,c={root:["root",e&&"vertical"],scroller:["scroller",n&&"fixed",i&&"hideScrollbar",r&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",e&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[r&&"scrollableX"],hideScrollbar:[i&&"hideScrollbar"]};return(0,l.Z)(c,M,u)})(ut),ht=(0,s.y)({elementType:V.StartScrollButtonIcon,externalSlotProps:X.startScrollButtonIcon,ownerState:ut}),dt=(0,s.y)({elementType:V.EndScrollButtonIcon,externalSlotProps:X.endScrollButtonIcon,ownerState:ut}),[ft,_t]=o.useState(!1),[pt,mt]=o.useState(H),[vt,gt]=o.useState(!1),[yt,bt]=o.useState(!1),[wt,Et]=o.useState(!1),[xt,Ct]=o.useState({overflow:"hidden",scrollbarWidth:0}),Tt=new Map,At=o.useRef(null),St=o.useRef(null),zt=()=>{const t=At.current;let e,n;if(t){const n=t.getBoundingClientRect();e={clientWidth:t.clientWidth,scrollLeft:t.scrollLeft,scrollTop:t.scrollTop,scrollLeftNormalized:p(t,u.direction),scrollWidth:t.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(t&&!1!==K){const t=St.current.children;if(t.length>0){const e=t[Tt.get(K)];n=e?e.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:n}},kt=(0,L.Z)((()=>{const{tabsMeta:t,tabMeta:e}=zt();let n,i=0;if(it)n="top",e&&t&&(i=e.top-t.top+t.scrollTop);else if(n=f?"right":"left",e&&t){const r=f?t.scrollLeftNormalized+t.clientWidth-t.scrollWidth:t.scrollLeft;i=(f?-1:1)*(e[n]-t[n]+r)}const r={[n]:i,[lt]:e?e[lt]:0};if(isNaN(pt[n])||isNaN(pt[lt]))mt(r);else{const t=Math.abs(pt[n]-r[n]),e=Math.abs(pt[lt]-r[lt]);(t>=1||e>=1)&&mt(r)}})),Nt=(t,{animation:e=!0}={})=>{e?function(t,e,n,i={},r=(()=>{})){const{ease:o=m,duration:a=300}=i;let s=null;const l=e[t];let u=!1;const c=i=>{if(u)return void r(new Error("Animation cancelled"));null===s&&(s=i);const h=Math.min(1,(i-s)/a);e[t]=o(h)*(n-l)+l,h>=1?requestAnimationFrame((()=>{r(null)})):requestAnimationFrame(c)};l===n?r(new Error("Element already at target position")):requestAnimationFrame(c)}(rt,At.current,t,{duration:u.transitions.duration.standard}):At.current[rt]=t},It=t=>{let e=At.current[rt];it?e+=t:(e+=t*(f?-1:1),e*=f&&"reverse"===_()?-1:1),Nt(e)},Ot=()=>{const t=At.current[st];let e=0;const n=Array.from(St.current.children);for(let i=0;it){0===i&&(e=t);break}e+=r[st]}return e},Lt=()=>{It(-1*Ot())},Mt=()=>{It(Ot())},$t=o.useCallback((t=>{Ct({overflow:null,scrollbarWidth:t})}),[]),Rt=(0,L.Z)((t=>{const{tabsMeta:e,tabMeta:n}=zt();if(n&&e)if(n[ot]e[at]){const i=e[rt]+(n[at]-e[at]);Nt(i,{animation:t})}})),Pt=(0,L.Z)((()=>{nt&&!1!==I&&Et(!wt)}));o.useEffect((()=>{const t=(0,d.Z)((()=>{At.current&&kt()}));let e;const n=(0,g.Z)(At.current);let i;return n.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(t),Array.from(St.current.children).forEach((t=>{e.observe(t)}))),"undefined"!=typeof MutationObserver&&(i=new MutationObserver((n=>{n.forEach((t=>{t.removedNodes.forEach((t=>{var n;null==(n=e)||n.unobserve(t)})),t.addedNodes.forEach((t=>{var n;null==(n=e)||n.observe(t)}))})),t(),Pt()})),i.observe(St.current,{childList:!0})),()=>{var r,o;t.clear(),n.removeEventListener("resize",t),null==(r=i)||r.disconnect(),null==(o=e)||o.disconnect()}}),[kt,Pt]),o.useEffect((()=>{const t=Array.from(St.current.children),e=t.length;if("undefined"!=typeof IntersectionObserver&&e>0&&nt&&!1!==I){const n=t[0],i=t[e-1],r={root:At.current,threshold:.99},o=new IntersectionObserver((t=>{gt(!t[0].isIntersecting)}),r);o.observe(n);const a=new IntersectionObserver((t=>{bt(!t[0].isIntersecting)}),r);return a.observe(i),()=>{o.disconnect(),a.disconnect()}}}),[nt,I,wt,null==x?void 0:x.length]),o.useEffect((()=>{_t(!0)}),[]),o.useEffect((()=>{kt()})),o.useEffect((()=>{Rt(H!==pt)}),[Rt,pt]),o.useImperativeHandle(w,(()=>({updateIndicator:kt,updateScrollButtons:Pt})),[kt,Pt]);const Ut=(0,y.jsx)(W,(0,r.Z)({},J,{className:(0,a.Z)(ct.indicator,J.className),ownerState:ut,style:(0,r.Z)({},pt,J.style)}));let jt=0;const qt=o.Children.map(x,(t=>{if(!o.isValidElement(t))return null;const e=void 0===t.props.value?jt:t.props.value;Tt.set(e,jt);const n=e===K;return jt+=1,o.cloneElement(t,(0,r.Z)({fullWidth:"fullWidth"===Q,indicator:n&&!ft&&Ut,selected:n,selectionFollowsFocus:$,onChange:z,textColor:Y,value:e},1!==jt||!1!==K||t.props.tabIndex?{}:{tabIndex:0}))})),Dt=(()=>{const t={};t.scrollbarSizeListener=nt?(0,y.jsx)(G,{onChange:$t,className:(0,a.Z)(ct.scrollableX,ct.hideScrollbar)}):null;const e=nt&&("auto"===I&&(vt||yt)||!0===I);return t.scrollButtonStart=e?(0,y.jsx)(N,(0,r.Z)({slots:{StartScrollButtonIcon:V.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:ht},orientation:k,direction:f?"right":"left",onClick:Lt,disabled:!vt},Z,{className:(0,a.Z)(ct.scrollButtons,Z.className)})):null,t.scrollButtonEnd=e?(0,y.jsx)(N,(0,r.Z)({slots:{EndScrollButtonIcon:V.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:dt},orientation:k,direction:f?"left":"right",onClick:Mt,disabled:!yt},Z,{className:(0,a.Z)(ct.scrollButtons,Z.className)})):null,t})();return(0,y.jsxs)(D,(0,r.Z)({className:(0,a.Z)(ct.root,C),ownerState:ut,ref:e,as:T},et,{children:[Dt.scrollButtonStart,Dt.scrollbarSizeListener,(0,y.jsxs)(B,{className:ct.scroller,ownerState:ut,style:{overflow:xt.overflow,[it?"margin"+(f?"Left":"Right"):"marginBottom"]:tt?void 0:-xt.scrollbarWidth},ref:At,children:[(0,y.jsx)(F,{"aria-label":v,"aria-labelledby":b,"aria-orientation":"vertical"===k?"vertical":null,className:ct.flexContainer,ownerState:ut,onKeyDown:t=>{const e=St.current,n=(0,R.Z)(e).activeElement;if("tab"!==n.getAttribute("role"))return;let i="horizontal"===k?"ArrowLeft":"ArrowUp",r="horizontal"===k?"ArrowRight":"ArrowDown";switch("horizontal"===k&&f&&(i="ArrowRight",r="ArrowLeft"),t.key){case i:t.preventDefault(),q(e,n,j);break;case r:t.preventDefault(),q(e,n,U);break;case"Home":t.preventDefault(),q(e,null,U);break;case"End":t.preventDefault(),q(e,null,j)}},ref:St,role:"tablist",children:qt}),ft&&Ut]}),Dt.scrollButtonEnd]}))}))},46338:(t,e,n)=>{"use strict";n.d(e,{Z:()=>x});var i=n(30984),r=n(55559),o=n(66204),a=n(56317),s=n(95311),l=n(1311),u=n(61125),c=n(57369),h=n(61054),d=n(80402),f=n(91906),_=n(58707),p=n(94926),m=n(35861),v=n(65442),g=n(38247),y=n(43188);const b=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],w={standard:h.Z,filled:d.Z,outlined:f.Z},E=(0,u.ZP)(p.Z,{name:"MuiTextField",slot:"Root",overridesResolver:(t,e)=>e.root})({}),x=o.forwardRef((function(t,e){const n=(0,c.Z)({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:u=!1,children:h,className:d,color:f="primary",defaultValue:p,disabled:x=!1,error:C=!1,FormHelperTextProps:T,fullWidth:A=!1,helperText:S,id:z,InputLabelProps:k,inputProps:N,InputProps:I,inputRef:O,label:L,maxRows:M,minRows:$,multiline:R=!1,name:P,onBlur:U,onChange:j,onFocus:q,placeholder:D,required:B=!1,rows:F,select:W=!1,SelectProps:G,type:H,value:V,variant:X="outlined"}=n,J=(0,r.Z)(n,b),Z=(0,i.Z)({},n,{autoFocus:u,color:f,disabled:x,error:C,fullWidth:A,multiline:R,required:B,select:W,variant:X}),Y=(t=>{const{classes:e}=t;return(0,s.Z)({root:["root"]},g.I,e)})(Z),K={};"outlined"===X&&(k&&void 0!==k.shrink&&(K.notched=k.shrink),K.label=L),W&&(G&&G.native||(K.id=void 0),K["aria-describedby"]=void 0);const Q=(0,l.Z)(z),tt=S&&Q?`${Q}-helper-text`:void 0,et=L&&Q?`${Q}-label`:void 0,nt=w[X],it=(0,y.jsx)(nt,(0,i.Z)({"aria-describedby":tt,autoComplete:o,autoFocus:u,defaultValue:p,fullWidth:A,multiline:R,name:P,rows:F,maxRows:M,minRows:$,type:H,value:V,id:Q,inputRef:O,onBlur:U,onChange:j,onFocus:q,placeholder:D,inputProps:N},K,I));return(0,y.jsxs)(E,(0,i.Z)({className:(0,a.Z)(Y.root,d),disabled:x,error:C,fullWidth:A,ref:e,required:B,color:f,variant:X,ownerState:Z},J,{children:[null!=L&&""!==L&&(0,y.jsx)(_.Z,(0,i.Z)({htmlFor:Q,id:et},k,{children:L})),W?(0,y.jsx)(v.Z,(0,i.Z)({"aria-describedby":tt,id:Q,labelId:et,value:V,input:it},G,{children:h})):it,S&&(0,y.jsx)(m.Z,(0,i.Z)({id:tt},T,{children:S}))]}))}))},28053:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,getTextFieldUtilityClass:()=>r.I,textFieldClasses:()=>r.Z});var i=n(46338),r=n(38247)},38247:(t,e,n)=>{"use strict";n.d(e,{I:()=>o,Z:()=>a});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiTextField",t)}const a=(0,i.Z)("MuiTextField",["root"])},12568:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>T,getToggleButtonUtilityClass:()=>v.a,toggleButtonClasses:()=>v.Z});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(22509),l=n(95311),u=n(60247),c=n(31196);function h(t){if(t.type)return t;if("#"===t.charAt(0))return h(function(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&1===n[0].length&&(n=n.map((t=>t+t))),n?`rgb${4===n.length?"a":""}(${n.map(((t,e)=>e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3)).join(", ")})`:""}(t));const e=t.indexOf("("),n=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,u.Z)(9,t));let i,r=t.substring(e+1,t.length-1);if("color"===n){if(r=r.split(" "),i=r.shift(),4===r.length&&"/"===r[3].charAt(0)&&(r[3]=r[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error((0,u.Z)(10,i))}else r=r.split(",");return r=r.map((t=>parseFloat(t))),{type:n,values:r,colorSpace:i}}function d(t,e){return t=h(t),e=function(t,e=0,n=1){return(0,c.Z)(t,e,n)}(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),"color"===t.type?t.values[3]=`/${e}`:t.values[3]=e,function(t){const{type:e,colorSpace:n}=t;let{values:i}=t;return-1!==e.indexOf("rgb")?i=i.map(((t,e)=>e<3?parseInt(t,10):t)):-1!==e.indexOf("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),i=-1!==e.indexOf("color")?`${n} ${i.join(" ")}`:`${i.join(", ")}`,`${e}(${i})`}(t)}var f=n(42406),_=n(40118),p=n(57369),m=n(61125),v=n(74301),g=n(2452),y=n(64475);function b(t,e){return void 0!==e&&void 0!==t&&(Array.isArray(e)?e.indexOf(t)>=0:t===e)}var w=n(43188);const E=["value"],x=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],C=(0,m.ZP)(f.Z,{name:"MuiToggleButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`size${(0,_.Z)(n.size)}`]]}})((({theme:t,ownerState:e})=>{let n,i="standard"===e.color?t.palette.text.primary:t.palette[e.color].main;return t.vars&&(i="standard"===e.color?t.vars.palette.text.primary:t.vars.palette[e.color].main,n="standard"===e.color?t.vars.palette.text.primaryChannel:t.vars.palette[e.color].mainChannel),(0,r.Z)({},t.typography.button,{borderRadius:(t.vars||t).shape.borderRadius,padding:11,border:`1px solid ${(t.vars||t).palette.divider}`,color:(t.vars||t).palette.action.active},e.fullWidth&&{width:"100%"},{[`&.${v.Z.disabled}`]:{color:(t.vars||t).palette.action.disabled,border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:d(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${v.Z.selected}`]:{color:i,backgroundColor:t.vars?`rgba(${n} / ${t.vars.palette.action.selectedOpacity})`:d(i,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${n} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:d(i,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${n} / ${t.vars.palette.action.selectedOpacity})`:d(i,t.palette.action.selectedOpacity)}}}},"small"===e.size&&{padding:7,fontSize:t.typography.pxToRem(13)},"large"===e.size&&{padding:15,fontSize:t.typography.pxToRem(15)})})),T=o.forwardRef((function(t,e){const n=o.useContext(g.Z),{value:u}=n,c=(0,i.Z)(n,E),h=o.useContext(y.Z),d=(0,s.Z)((0,r.Z)({},c,{selected:b(t.value,u)}),t),f=(0,p.Z)({props:d,name:"MuiToggleButton"}),{children:m,className:T,color:A="standard",disabled:S=!1,disableFocusRipple:z=!1,fullWidth:k=!1,onChange:N,onClick:I,selected:O,size:L="medium",value:M}=f,$=(0,i.Z)(f,x),R=(0,r.Z)({},f,{color:A,disabled:S,disableFocusRipple:z,fullWidth:k,size:L}),P=(t=>{const{classes:e,fullWidth:n,selected:i,disabled:r,size:o,color:a}=t,s={root:["root",i&&"selected",r&&"disabled",n&&"fullWidth",`size${(0,_.Z)(o)}`,a]};return(0,l.Z)(s,v.a,e)})(R),U=h||"";return(0,w.jsx)(C,(0,r.Z)({className:(0,a.Z)(c.className,P.root,T,U),disabled:S,focusRipple:!z,ref:e,onClick:t=>{I&&(I(t,M),t.defaultPrevented)||N&&N(t,M)},onChange:N,value:M,ownerState:R,"aria-pressed":O},$,{children:m}))}))},74301:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a,a:()=>o});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiToggleButton",t)}const a=(0,i.Z)("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"])},64475:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=n(66204).createContext(void 0)},2452:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=n(66204).createContext({})},15450:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>w,getToggleButtonGroupUtilityClass:()=>f,toggleButtonGroupClasses:()=>_});var i=n(55559),r=n(30984),o=n(66204),a=(n(5356),n(56317)),s=n(95311),l=n(61125),u=n(57369),c=n(40118),h=n(30264),d=n(2957);function f(t){return(0,d.ZP)("MuiToggleButtonGroup",t)}const _=(0,h.Z)("MuiToggleButtonGroup",["root","selected","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]);var p=n(2452),m=n(64475),v=n(74301),g=n(43188);const y=["children","className","color","disabled","exclusive","fullWidth","onChange","orientation","size","value"],b=(0,l.ZP)("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${_.grouped}`]:e.grouped},{[`& .${_.grouped}`]:e[`grouped${(0,c.Z)(n.orientation)}`]},{[`& .${_.firstButton}`]:e.firstButton},{[`& .${_.lastButton}`]:e.lastButton},{[`& .${_.middleButton}`]:e.middleButton},e.root,"vertical"===n.orientation&&e.vertical,n.fullWidth&&e.fullWidth]}})((({ownerState:t,theme:e})=>(0,r.Z)({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius},"vertical"===t.orientation&&{flexDirection:"column"},t.fullWidth&&{width:"100%"},{[`& .${_.grouped}`]:(0,r.Z)({},"horizontal"===t.orientation?{[`&.${_.selected} + .${_.grouped}.${_.selected}`]:{borderLeft:0,marginLeft:0}}:{[`&.${_.selected} + .${_.grouped}.${_.selected}`]:{borderTop:0,marginTop:0}})},"horizontal"===t.orientation?{[`& .${_.firstButton},& .${_.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${_.lastButton},& .${_.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0}}:{[`& .${_.firstButton},& .${_.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${_.lastButton},& .${_.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0}},"horizontal"===t.orientation?{[`& .${_.lastButton}.${v.Z.disabled},& .${_.middleButton}.${v.Z.disabled}`]:{borderLeft:"1px solid transparent"}}:{[`& .${_.lastButton}.${v.Z.disabled},& .${_.middleButton}.${v.Z.disabled}`]:{borderTop:"1px solid transparent"}}))),w=o.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiToggleButtonGroup"}),{children:l,className:h,color:d="standard",disabled:_=!1,exclusive:v=!1,fullWidth:w=!1,onChange:E,orientation:x="horizontal",size:C="medium",value:T}=n,A=(0,i.Z)(n,y),S=(0,r.Z)({},n,{disabled:_,fullWidth:w,orientation:x,size:C}),z=(t=>{const{classes:e,orientation:n,fullWidth:i,disabled:r}=t,o={root:["root","vertical"===n&&"vertical",i&&"fullWidth"],grouped:["grouped",`grouped${(0,c.Z)(n)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,s.Z)(o,f,e)})(S),k=o.useCallback(((t,e)=>{if(!E)return;const n=T&&T.indexOf(e);let i;T&&n>=0?(i=T.slice(),i.splice(n,1)):i=T?T.concat(e):[e],E(t,i)}),[E,T]),N=o.useCallback(((t,e)=>{E&&E(t,T===e?null:e)}),[E,T]),I=o.useMemo((()=>({className:z.grouped,onChange:v?N:k,value:T,size:C,fullWidth:w,color:d,disabled:_})),[z.grouped,v,N,k,T,C,w,d,_]),O=function(t){return o.Children.toArray(t).filter((t=>o.isValidElement(t)))}(l),L=O.length,M=t=>{const e=0===t,n=t===L-1;return e&&n?"":e?z.firstButton:n?z.lastButton:z.middleButton};return(0,g.jsx)(b,(0,r.Z)({role:"group",className:(0,a.Z)(z.root,h),ref:e,ownerState:S},A,{children:(0,g.jsx)(p.Z.Provider,{value:I,children:O.map(((t,e)=>(0,g.jsx)(m.Z.Provider,{value:M(e),children:t},e)))})}))}))},1993:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>v,getToolbarUtilityClass:()=>d,toolbarClasses:()=>f});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(95311),l=n(57369),u=n(61125),c=n(30264),h=n(2957);function d(t){return(0,h.ZP)("MuiToolbar",t)}const f=(0,c.Z)("MuiToolbar",["root","gutters","regular","dense"]);var _=n(43188);const p=["className","component","disableGutters","variant"],m=(0,u.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableGutters&&e.gutters,e[n.variant]]}})((({theme:t,ownerState:e})=>(0,r.Z)({position:"relative",display:"flex",alignItems:"center"},!e.disableGutters&&{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}},"dense"===e.variant&&{minHeight:48})),(({theme:t,ownerState:e})=>"regular"===e.variant&&t.mixins.toolbar)),v=o.forwardRef((function(t,e){const n=(0,l.Z)({props:t,name:"MuiToolbar"}),{className:o,component:u="div",disableGutters:c=!1,variant:h="regular"}=n,f=(0,i.Z)(n,p),v=(0,r.Z)({},n,{component:u,disableGutters:c,variant:h}),g=(t=>{const{classes:e,disableGutters:n,variant:i}=t,r={root:["root",!n&&"gutters",i]};return(0,s.Z)(r,d,e)})(v);return(0,_.jsx)(m,(0,r.Z)({as:u,className:(0,a.Z)(g.root,o),ref:e,ownerState:v},f))}))},49556:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>$,getTooltipUtilityClass:()=>C,tooltipClasses:()=>T});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(97969),l=n(42019),u=n(95311),c=n(83041),h=n(61125),d=n(92368),f=n(57369),_=n(40118),p=n(23160),m=n(41665),v=n(42853),g=n(81597),y=n(79673),b=n(97128),w=n(24842),E=n(30264),x=n(2957);function C(t){return(0,x.ZP)("MuiTooltip",t)}const T=(0,E.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);var A=n(43188);const S=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"],z=(0,h.ZP)(m.Z,{name:"MuiTooltip",slot:"Popper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.popper,!n.disableInteractive&&e.popperInteractive,n.arrow&&e.popperArrow,!n.open&&e.popperClose]}})((({theme:t,ownerState:e,open:n})=>(0,r.Z)({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none"},!e.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},e.arrow&&{[`&[data-popper-placement*="bottom"] .${T.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${T.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${T.arrow}`]:(0,r.Z)({},e.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${T.arrow}`]:(0,r.Z)({},e.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),k=(0,h.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.tooltip,n.touch&&e.touch,n.arrow&&e.tooltipArrow,e[`tooltipPlacement${(0,_.Z)(n.placement.split("-")[0])}`]]}})((({theme:t,ownerState:e})=>(0,r.Z)({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:(0,c.Fq)(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},e.arrow&&{position:"relative",margin:0},e.touch&&{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:(16/14,Math.round(114285.71428571428)/1e5+"em"),fontWeight:t.typography.fontWeightRegular},{[`.${T.popper}[data-popper-placement*="left"] &`]:(0,r.Z)({transformOrigin:"right center"},e.isRtl?(0,r.Z)({marginLeft:"14px"},e.touch&&{marginLeft:"24px"}):(0,r.Z)({marginRight:"14px"},e.touch&&{marginRight:"24px"})),[`.${T.popper}[data-popper-placement*="right"] &`]:(0,r.Z)({transformOrigin:"left center"},e.isRtl?(0,r.Z)({marginRight:"14px"},e.touch&&{marginRight:"24px"}):(0,r.Z)({marginLeft:"14px"},e.touch&&{marginLeft:"24px"})),[`.${T.popper}[data-popper-placement*="top"] &`]:(0,r.Z)({transformOrigin:"center bottom",marginBottom:"14px"},e.touch&&{marginBottom:"24px"}),[`.${T.popper}[data-popper-placement*="bottom"] &`]:(0,r.Z)({transformOrigin:"center top",marginTop:"14px"},e.touch&&{marginTop:"24px"})}))),N=(0,h.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(t,e)=>e.arrow})((({theme:t})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:(0,c.Fq)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let I=!1;const O=new s.V;let L={x:0,y:0};function M(t,e){return n=>{e&&e(n),t(n)}}const $=o.forwardRef((function(t,e){var n,c,h,E,x,T,$,R,P,U,j,q,D,B,F,W,G,H,V;const X=(0,f.Z)({props:t,name:"MuiTooltip"}),{arrow:J=!1,children:Z,components:Y={},componentsProps:K={},describeChild:Q=!1,disableFocusListener:tt=!1,disableHoverListener:et=!1,disableInteractive:nt=!1,disableTouchListener:it=!1,enterDelay:rt=100,enterNextDelay:ot=0,enterTouchDelay:at=700,followCursor:st=!1,id:lt,leaveDelay:ut=0,leaveTouchDelay:ct=1500,onClose:ht,onOpen:dt,open:ft,placement:_t="bottom",PopperComponent:pt,PopperProps:mt={},slotProps:vt={},slots:gt={},title:yt,TransitionComponent:bt=p.Z,TransitionProps:wt}=X,Et=(0,i.Z)(X,S),xt=o.isValidElement(Z)?Z:(0,A.jsx)("span",{children:Z}),Ct=(0,d.Z)(),Tt="rtl"===Ct.direction,[At,St]=o.useState(),[zt,kt]=o.useState(null),Nt=o.useRef(!1),It=nt||st,Ot=(0,s.Z)(),Lt=(0,s.Z)(),Mt=(0,s.Z)(),$t=(0,s.Z)(),[Rt,Pt]=(0,w.Z)({controlled:ft,default:!1,name:"Tooltip",state:"open"});let Ut=Rt;const jt=(0,y.Z)(lt),qt=o.useRef(),Dt=(0,v.Z)((()=>{void 0!==qt.current&&(document.body.style.WebkitUserSelect=qt.current,qt.current=void 0),$t.clear()}));o.useEffect((()=>Dt),[Dt]);const Bt=t=>{O.clear(),I=!0,Pt(!0),dt&&!Ut&&dt(t)},Ft=(0,v.Z)((t=>{O.start(800+ut,(()=>{I=!1})),Pt(!1),ht&&Ut&&ht(t),Ot.start(Ct.transitions.duration.shortest,(()=>{Nt.current=!1}))})),Wt=t=>{Nt.current&&"touchstart"!==t.type||(At&&At.removeAttribute("title"),Lt.clear(),Mt.clear(),rt||I&&ot?Lt.start(I?ot:rt,(()=>{Bt(t)})):Bt(t))},Gt=t=>{Lt.clear(),Mt.start(ut,(()=>{Ft(t)}))},{isFocusVisibleRef:Ht,onBlur:Vt,onFocus:Xt,ref:Jt}=(0,b.Z)(),[,Zt]=o.useState(!1),Yt=t=>{Vt(t),!1===Ht.current&&(Zt(!1),Gt(t))},Kt=t=>{At||St(t.currentTarget),Xt(t),!0===Ht.current&&(Zt(!0),Wt(t))},Qt=t=>{Nt.current=!0;const e=xt.props;e.onTouchStart&&e.onTouchStart(t)};o.useEffect((()=>{if(Ut)return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)};function t(t){"Escape"!==t.key&&"Esc"!==t.key||Ft(t)}}),[Ft,Ut]);const te=(0,g.Z)(xt.ref,Jt,St,e);yt||0===yt||(Ut=!1);const ee=o.useRef(),ne={},ie="string"==typeof yt;Q?(ne.title=Ut||!ie||et?null:yt,ne["aria-describedby"]=Ut?jt:null):(ne["aria-label"]=ie?yt:null,ne["aria-labelledby"]=Ut&&!ie?jt:null);const re=(0,r.Z)({},ne,Et,xt.props,{className:(0,a.Z)(Et.className,xt.props.className),onTouchStart:Qt,ref:te},st?{onMouseMove:t=>{const e=xt.props;e.onMouseMove&&e.onMouseMove(t),L={x:t.clientX,y:t.clientY},ee.current&&ee.current.update()}}:{}),oe={};it||(re.onTouchStart=t=>{Qt(t),Mt.clear(),Ot.clear(),Dt(),qt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",$t.start(at,(()=>{document.body.style.WebkitUserSelect=qt.current,Wt(t)}))},re.onTouchEnd=t=>{xt.props.onTouchEnd&&xt.props.onTouchEnd(t),Dt(),Mt.start(ct,(()=>{Ft(t)}))}),et||(re.onMouseOver=M(Wt,re.onMouseOver),re.onMouseLeave=M(Gt,re.onMouseLeave),It||(oe.onMouseOver=Wt,oe.onMouseLeave=Gt)),tt||(re.onFocus=M(Kt,re.onFocus),re.onBlur=M(Yt,re.onBlur),It||(oe.onFocus=Kt,oe.onBlur=Yt));const ae=o.useMemo((()=>{var t;let e=[{name:"arrow",enabled:Boolean(zt),options:{element:zt,padding:4}}];return null!=(t=mt.popperOptions)&&t.modifiers&&(e=e.concat(mt.popperOptions.modifiers)),(0,r.Z)({},mt.popperOptions,{modifiers:e})}),[zt,mt]),se=(0,r.Z)({},X,{isRtl:Tt,arrow:J,disableInteractive:It,placement:_t,PopperComponentProp:pt,touch:Nt.current}),le=(t=>{const{classes:e,disableInteractive:n,arrow:i,touch:r,placement:o}=t,a={popper:["popper",!n&&"popperInteractive",i&&"popperArrow"],tooltip:["tooltip",i&&"tooltipArrow",r&&"touch",`tooltipPlacement${(0,_.Z)(o.split("-")[0])}`],arrow:["arrow"]};return(0,u.Z)(a,C,e)})(se),ue=null!=(n=null!=(c=gt.popper)?c:Y.Popper)?n:z,ce=null!=(h=null!=(E=null!=(x=gt.transition)?x:Y.Transition)?E:bt)?h:p.Z,he=null!=(T=null!=($=gt.tooltip)?$:Y.Tooltip)?T:k,de=null!=(R=null!=(P=gt.arrow)?P:Y.Arrow)?R:N,fe=(0,l.$)(ue,(0,r.Z)({},mt,null!=(U=vt.popper)?U:K.popper,{className:(0,a.Z)(le.popper,null==mt?void 0:mt.className,null==(j=null!=(q=vt.popper)?q:K.popper)?void 0:j.className)}),se),_e=(0,l.$)(ce,(0,r.Z)({},wt,null!=(D=vt.transition)?D:K.transition),se),pe=(0,l.$)(he,(0,r.Z)({},null!=(B=vt.tooltip)?B:K.tooltip,{className:(0,a.Z)(le.tooltip,null==(F=null!=(W=vt.tooltip)?W:K.tooltip)?void 0:F.className)}),se),me=(0,l.$)(de,(0,r.Z)({},null!=(G=vt.arrow)?G:K.arrow,{className:(0,a.Z)(le.arrow,null==(H=null!=(V=vt.arrow)?V:K.arrow)?void 0:H.className)}),se);return(0,A.jsxs)(o.Fragment,{children:[o.cloneElement(xt,re),(0,A.jsx)(ue,(0,r.Z)({as:null!=pt?pt:m.Z,placement:_t,anchorEl:st?{getBoundingClientRect:()=>({top:L.y,left:L.x,right:L.x,bottom:L.y,width:0,height:0})}:At,popperRef:ee,open:!!At&&Ut,id:jt,transition:!0},oe,fe,{popperOptions:ae,children:({TransitionProps:t})=>(0,A.jsx)(ce,(0,r.Z)({timeout:Ct.transitions.duration.shorter},t,_e,{children:(0,A.jsxs)(he,(0,r.Z)({},pe,{children:[yt,J?(0,A.jsx)(de,(0,r.Z)({},me,{ref:kt})):null]}))}))}))]})}))},80013:(t,e,n)=>{"use strict";n.d(e,{Z:()=>g});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(8449),l=n(95311),u=n(61125),c=n(57369),h=n(40118),d=n(39026),f=n(43188);const _=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],p=(0,u.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],"inherit"!==n.align&&e[`align${(0,h.Z)(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})((({theme:t,ownerState:e})=>(0,r.Z)({margin:0},"inherit"===e.variant&&{font:"inherit"},"inherit"!==e.variant&&t.typography[e.variant],"inherit"!==e.align&&{textAlign:e.align},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.paragraph&&{marginBottom:16}))),m={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},v={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},g=o.forwardRef((function(t,e){const n=(0,c.Z)({props:t,name:"MuiTypography"}),o=(t=>v[t]||t)(n.color),u=(0,s.Z)((0,r.Z)({},n,{color:o})),{align:g="inherit",className:y,component:b,gutterBottom:w=!1,noWrap:E=!1,paragraph:x=!1,variant:C="body1",variantMapping:T=m}=u,A=(0,i.Z)(u,_),S=(0,r.Z)({},u,{align:g,color:o,className:y,component:b,gutterBottom:w,noWrap:E,paragraph:x,variant:C,variantMapping:T}),z=b||(x?"p":T[C]||m[C])||"span",k=(t=>{const{align:e,gutterBottom:n,noWrap:i,paragraph:r,variant:o,classes:a}=t,s={root:["root",o,"inherit"!==t.align&&`align${(0,h.Z)(e)}`,n&&"gutterBottom",i&&"noWrap",r&&"paragraph"]};return(0,l.Z)(s,d.f,a)})(S);return(0,f.jsx)(p,(0,r.Z)({as:z,ref:e,ownerState:S,className:(0,a.Z)(k.root,y)},A))}))},87782:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,getTypographyUtilityClass:()=>r.f,typographyClasses:()=>r.Z});var i=n(80013),r=n(39026)},39026:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a,f:()=>o});var i=n(30264),r=n(2957);function o(t){return(0,r.ZP)("MuiTypography",t)}const a=(0,i.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"])},42341:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"}},99016:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o}),n(66204);var i=n(66661),r=n(43188);const o=(0,i.Z)((0,r.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},20636:(t,e,n)=>{"use strict";n.d(e,{h:()=>u});var i=n(66204),r=n(42457),o=n(70047),a=n(71969),s=n(31566),l=n(43188);const u=i.forwardRef((function(t,e){const{children:n,container:u,disablePortal:c=!1}=t,[h,d]=i.useState(null),f=(0,o.Z)(i.isValidElement(n)?n.ref:null,e);if((0,a.Z)((()=>{c||d(function(t){return"function"==typeof t?t():t}(u)||document.body)}),[u,c]),(0,a.Z)((()=>{if(h&&!c)return(0,s.Z)(e,h),()=>{(0,s.Z)(e,null)}}),[e,h,c]),c){if(i.isValidElement(n)){const t={ref:f};return i.cloneElement(n,t)}return(0,l.jsx)(i.Fragment,{children:n})}return(0,l.jsx)(i.Fragment,{children:h?r.createPortal(n,h):h})}))},42019:(t,e,n)=>{"use strict";n.d(e,{$:()=>o});var i=n(30984),r=n(38094);function o(t,e,n){return void 0===t||(0,r.X)(t)?e:(0,i.Z)({},e,{ownerState:(0,i.Z)({},e.ownerState,n)})}},61234:(t,e,n)=>{"use strict";function i(t,e=[]){if(void 0===t)return{};const n={};return Object.keys(t).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof t[n]&&!e.includes(n))).forEach((e=>{n[e]=t[e]})),n}n.d(e,{_:()=>i})},38094:(t,e,n)=>{"use strict";function i(t){return"string"==typeof t}n.d(e,{X:()=>i})},91344:(t,e,n)=>{"use strict";n.d(e,{L:()=>s});var i=n(30984),r=n(56317),o=n(61234);function a(t){if(void 0===t)return{};const e={};return Object.keys(t).filter((e=>!(e.match(/^on[A-Z]/)&&"function"==typeof t[e]))).forEach((n=>{e[n]=t[n]})),e}function s(t){const{getSlotProps:e,additionalProps:n,externalSlotProps:s,externalForwardedProps:l,className:u}=t;if(!e){const t=(0,r.Z)(null==n?void 0:n.className,u,null==l?void 0:l.className,null==s?void 0:s.className),e=(0,i.Z)({},null==n?void 0:n.style,null==l?void 0:l.style,null==s?void 0:s.style),o=(0,i.Z)({},n,l,s);return t.length>0&&(o.className=t),Object.keys(e).length>0&&(o.style=e),{props:o,internalRef:void 0}}const c=(0,o._)((0,i.Z)({},l,s)),h=a(s),d=a(l),f=e(c),_=(0,r.Z)(null==f?void 0:f.className,null==n?void 0:n.className,u,null==l?void 0:l.className,null==s?void 0:s.className),p=(0,i.Z)({},null==f?void 0:f.style,null==n?void 0:n.style,null==l?void 0:l.style,null==s?void 0:s.style),m=(0,i.Z)({},f,n,d,h);return _.length>0&&(m.className=_),Object.keys(p).length>0&&(m.style=p),{props:m,internalRef:f.ref}}},34582:(t,e,n)=>{"use strict";function i(t,e,n){return"function"==typeof t?t(e,n):t}n.d(e,{x:()=>i})},45854:(t,e,n)=>{"use strict";n.d(e,{y:()=>c});var i=n(30984),r=n(55559),o=n(70047),a=n(42019),s=n(91344),l=n(34582);const u=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function c(t){var e;const{elementType:n,externalSlotProps:c,ownerState:h,skipResolvingSlotProps:d=!1}=t,f=(0,r.Z)(t,u),_=d?{}:(0,l.x)(c,h),{props:p,internalRef:m}=(0,s.L)((0,i.Z)({},f,{externalSlotProps:_})),v=(0,o.Z)(m,null==_?void 0:_.ref,null==(e=t.additionalProps)?void 0:e.ref);return(0,a.$)(n,(0,i.Z)({},p,{ref:v}),h)}},79825:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>w});var i=n(30984),r=n(55559),o=n(66204);const a=o.createContext(null);function s(){return o.useContext(a)}const l="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var u=n(43188);const c=function(t){const{children:e,theme:n}=t,r=s(),c=o.useMemo((()=>{const t=null===r?n:function(t,e){return"function"==typeof e?e(t):(0,i.Z)({},t,e)}(r,n);return null!=t&&(t[l]=null!==r),t}),[n,r]);return(0,u.jsx)(a.Provider,{value:c,children:e})};var h=n(5893),d=n(2772);const f=["value"],_=o.createContext(),p=function(t){let{value:e}=t,n=(0,r.Z)(t,f);return(0,u.jsx)(_.Provider,(0,i.Z)({value:null==e||e},n))},m={};function v(t,e,n,r=!1){return o.useMemo((()=>{const o=t&&e[t]||e;if("function"==typeof n){const a=n(o),s=t?(0,i.Z)({},e,{[t]:a}):a;return r?()=>s:s}return t?(0,i.Z)({},e,{[t]:n}):(0,i.Z)({},e,n)}),[t,e,n,r])}const g=function(t){const{children:e,theme:n,themeId:i}=t,r=(0,d.Z)(m),o=s()||m,a=v(i,r,n),l=v(i,o,n,!0),f="rtl"===a.direction;return(0,u.jsx)(c,{theme:l,children:(0,u.jsx)(h.T.Provider,{value:a,children:(0,u.jsx)(p,{value:f,children:e})})})};var y=n(80880);const b=["theme"];function w(t){let{theme:e}=t,n=(0,r.Z)(t,b);const o=e[y.Z];return(0,u.jsx)(g,(0,i.Z)({},n,{themeId:o?y.Z:void 0,theme:o||e}))}},53534:(t,e,n)=>{"use strict";n.r(e),n.d(e,{createMuiTheme:()=>U,default:()=>j});var i=n(30984),r=n(55559),o=n(60247),a=n(96715),s=n(68342),l=n(95882),u=n(75773),c=n(83041);const h={black:"#000",white:"#fff"};var d=n(42341);const f={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},_={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},p={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},m={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},v={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},g={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},y=["mode","contrastThreshold","tonalOffset"],b={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:h.white,default:h.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},w={text:{primary:h.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:h.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function E(t,e,n,i){const r=i.light||i,o=i.dark||1.5*i;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:"light"===e?t.light=(0,c.$n)(t.main,r):"dark"===e&&(t.dark=(0,c._j)(t.main,o)))}const x=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],C={textTransform:"uppercase"},T='"Roboto", "Helvetica", "Arial", sans-serif';function A(t,e){const n="function"==typeof e?e(t):e,{fontFamily:o=T,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:u=400,fontWeightMedium:c=500,fontWeightBold:h=700,htmlFontSize:d=16,allVariants:f,pxToRem:_}=n,p=(0,r.Z)(n,x),m=s/14,v=_||(t=>t/d*m+"rem"),g=(t,e,n,r,a)=>{return(0,i.Z)({fontFamily:o,fontWeight:t,fontSize:v(e),lineHeight:n},o===T?{letterSpacing:(s=r/e,Math.round(1e5*s)/1e5+"em")}:{},a,f);var s},y={h1:g(l,96,1.167,-1.5),h2:g(l,60,1.2,-.5),h3:g(u,48,1.167,0),h4:g(u,34,1.235,.25),h5:g(u,24,1.334,0),h6:g(c,20,1.6,.15),subtitle1:g(u,16,1.75,.15),subtitle2:g(c,14,1.57,.1),body1:g(u,16,1.5,.15),body2:g(u,14,1.43,.15),button:g(c,14,1.75,.4,C),caption:g(u,12,1.66,.4),overline:g(u,12,2.66,1,C),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,i.Z)({htmlFontSize:d,pxToRem:v,fontFamily:o,fontSize:s,fontWeightLight:l,fontWeightRegular:u,fontWeightMedium:c,fontWeightBold:h},y),p,{clone:!1})}function S(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,0.2)`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,0.14)`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,0.12)`].join(",")}const z=["none",S(0,2,1,-1,0,1,1,0,0,1,3,0),S(0,3,1,-2,0,2,2,0,0,1,5,0),S(0,3,3,-2,0,3,4,0,0,1,8,0),S(0,2,4,-1,0,4,5,0,0,1,10,0),S(0,3,5,-1,0,5,8,0,0,1,14,0),S(0,3,5,-1,0,6,10,0,0,1,18,0),S(0,4,5,-2,0,7,10,1,0,2,16,1),S(0,5,5,-3,0,8,10,1,0,3,14,2),S(0,5,6,-3,0,9,12,1,0,3,16,2),S(0,6,6,-3,0,10,14,1,0,4,18,3),S(0,6,7,-4,0,11,15,1,0,4,20,3),S(0,7,8,-4,0,12,17,2,0,5,22,4),S(0,7,8,-4,0,13,19,2,0,5,24,4),S(0,7,9,-4,0,14,21,2,0,5,26,4),S(0,8,9,-5,0,15,22,2,0,6,28,5),S(0,8,10,-5,0,16,24,2,0,6,30,5),S(0,8,11,-5,0,17,26,2,0,6,32,5),S(0,9,11,-5,0,18,28,2,0,7,34,6),S(0,9,12,-6,0,19,29,2,0,7,36,6),S(0,10,13,-6,0,20,31,3,0,8,38,7),S(0,10,13,-6,0,21,33,3,0,8,40,7),S(0,10,14,-6,0,22,35,3,0,8,42,7),S(0,11,14,-7,0,23,36,3,0,9,44,8),S(0,11,15,-7,0,24,38,3,0,9,46,8)],k=["duration","easing","delay"],N={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},I={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function O(t){return`${Math.round(t)}ms`}function L(t){if(!t)return 0;const e=t/36;return Math.round(10*(4+15*e**.25+e/5))}function M(t){const e=(0,i.Z)({},N,t.easing),n=(0,i.Z)({},I,t.duration);return(0,i.Z)({getAutoHeightDuration:L,create:(t=["all"],i={})=>{const{duration:o=n.standard,easing:a=e.easeInOut,delay:s=0}=i;return(0,r.Z)(i,k),(Array.isArray(t)?t:[t]).map((t=>`${t} ${"string"==typeof o?o:O(o)} ${a} ${"string"==typeof s?s:O(s)}`)).join(",")}},t,{easing:e,duration:n})}const $={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},R=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function P(t={},...e){const{mixins:n={},palette:x={},transitions:C={},typography:T={}}=t,S=(0,r.Z)(t,R);if(t.vars)throw new Error((0,o.Z)(18));const k=function(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:s=.2}=t,l=(0,r.Z)(t,y),u=t.primary||function(t="light"){return"dark"===t?{main:m[200],light:m[50],dark:m[400]}:{main:m[700],light:m[400],dark:m[800]}}(e),x=t.secondary||function(t="light"){return"dark"===t?{main:f[200],light:f[50],dark:f[400]}:{main:f[500],light:f[300],dark:f[700]}}(e),C=t.error||function(t="light"){return"dark"===t?{main:_[500],light:_[300],dark:_[700]}:{main:_[700],light:_[400],dark:_[800]}}(e),T=t.info||function(t="light"){return"dark"===t?{main:v[400],light:v[300],dark:v[700]}:{main:v[700],light:v[500],dark:v[900]}}(e),A=t.success||function(t="light"){return"dark"===t?{main:g[400],light:g[300],dark:g[700]}:{main:g[800],light:g[500],dark:g[900]}}(e),S=t.warning||function(t="light"){return"dark"===t?{main:p[400],light:p[300],dark:p[700]}:{main:"#ed6c02",light:p[500],dark:p[900]}}(e);function z(t){return(0,c.mi)(t,w.text.primary)>=n?w.text.primary:b.text.primary}const k=({color:t,name:e,mainShade:n=500,lightShade:r=300,darkShade:a=700})=>{if(!(t=(0,i.Z)({},t)).main&&t[n]&&(t.main=t[n]),!t.hasOwnProperty("main"))throw new Error((0,o.Z)(11,e?` (${e})`:"",n));if("string"!=typeof t.main)throw new Error((0,o.Z)(12,e?` (${e})`:"",JSON.stringify(t.main)));return E(t,"light",r,s),E(t,"dark",a,s),t.contrastText||(t.contrastText=z(t.main)),t},N={dark:w,light:b};return(0,a.Z)((0,i.Z)({common:(0,i.Z)({},h),mode:e,primary:k({color:u,name:"primary"}),secondary:k({color:x,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:k({color:C,name:"error"}),warning:k({color:S,name:"warning"}),info:k({color:T,name:"info"}),success:k({color:A,name:"success"}),grey:d.Z,contrastThreshold:n,getContrastText:z,augmentColor:k,tonalOffset:s},N[e]),l)}(x),N=(0,u.Z)(t);let I=(0,a.Z)(N,{mixins:(O=N.breakpoints,L=n,(0,i.Z)({toolbar:{minHeight:56,[O.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[O.up("sm")]:{minHeight:64}}},L)),palette:k,shadows:z.slice(),typography:A(k,T),transitions:M(C),zIndex:(0,i.Z)({},$)});var O,L;return I=(0,a.Z)(I,S),I=e.reduce(((t,e)=>(0,a.Z)(t,e)),I),I.unstable_sxConfig=(0,i.Z)({},s.Z,null==S?void 0:S.unstable_sxConfig),I.unstable_sx=function(t){return(0,l.Z)({sx:t,theme:this})},I}function U(...t){return P(...t)}const j=P},86995:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=(0,n(53534).default)()},80880:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i="$$material"},61125:(t,e,n)=>{"use strict";n.d(e,{Dz:()=>s,FO:()=>a,ZP:()=>l});var i=n(17746),r=n(86995),o=n(80880);const a=t=>(0,i.x9)(t)&&"classes"!==t,s=i.x9,l=(0,i.ZP)({themeId:o.Z,defaultTheme:r.Z,rootShouldForwardProp:a})},92368:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a}),n(66204);var i=n(85293),r=n(86995),o=n(80880);function a(){const t=(0,i.Z)(r.Z);return t[o.Z]||t}},57369:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(36672),r=n(86995),o=n(80880);function a({props:t,name:e}){return(0,i.Z)({props:t,name:e,defaultTheme:r.Z,themeId:o.Z})}},79143:(t,e,n)=>{"use strict";n.d(e,{C:()=>r,n:()=>i});const i=t=>t.scrollTop;function r(t,e){var n,i;const{timeout:r,easing:o,style:a={}}=t;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof r?r:r[e.mode]||0,easing:null!=(i=a.transitionTimingFunction)?i:"object"==typeof o?o[e.mode]:o,delay:a.transitionDelay}}},40118:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=n(55271).Z},66661:(t,e,n)=>{"use strict";n.d(e,{Z:()=>y});var i=n(30984),r=n(66204),o=n(55559),a=n(56317),s=n(95311),l=n(40118),u=n(57369),c=n(61125),h=n(30264),d=n(2957);function f(t){return(0,d.ZP)("MuiSvgIcon",t)}(0,h.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var _=n(43188);const p=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],m=(0,c.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,"inherit"!==n.color&&e[`color${(0,l.Z)(n.color)}`],e[`fontSize${(0,l.Z)(n.fontSize)}`]]}})((({theme:t,ownerState:e})=>{var n,i,r,o,a,s,l,u,c,h,d,f,_;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:e.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=t.transitions)||null==(i=n.create)?void 0:i.call(n,"fill",{duration:null==(r=t.transitions)||null==(r=r.duration)?void 0:r.shorter}),fontSize:{inherit:"inherit",small:(null==(o=t.typography)||null==(a=o.pxToRem)?void 0:a.call(o,20))||"1.25rem",medium:(null==(s=t.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(u=t.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"}[e.fontSize],color:null!=(h=null==(d=(t.vars||t).palette)||null==(d=d[e.color])?void 0:d.main)?h:{action:null==(f=(t.vars||t).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(_=(t.vars||t).palette)||null==(_=_.action)?void 0:_.disabled,inherit:void 0}[e.color]}})),v=r.forwardRef((function(t,e){const n=(0,u.Z)({props:t,name:"MuiSvgIcon"}),{children:c,className:h,color:d="inherit",component:v="svg",fontSize:g="medium",htmlColor:y,inheritViewBox:b=!1,titleAccess:w,viewBox:E="0 0 24 24"}=n,x=(0,o.Z)(n,p),C=r.isValidElement(c)&&"svg"===c.type,T=(0,i.Z)({},n,{color:d,component:v,fontSize:g,instanceFontSize:t.fontSize,inheritViewBox:b,viewBox:E,hasSvgAsChild:C}),A={};b||(A.viewBox=E);const S=(t=>{const{color:e,fontSize:n,classes:i}=t,r={root:["root","inherit"!==e&&`color${(0,l.Z)(e)}`,`fontSize${(0,l.Z)(n)}`]};return(0,s.Z)(r,f,i)})(T);return(0,_.jsxs)(m,(0,i.Z)({as:v,className:(0,a.Z)(S.root,h),focusable:"false",color:y,"aria-hidden":!w||void 0,role:w?"img":void 0,ref:e},A,x,C&&c.props,{ownerState:T,children:[C?c.props.children:c,w?(0,_.jsx)("title",{children:w}):null]}))}));v.muiName="SvgIcon";const g=v;function y(t,e){function n(n,r){return(0,_.jsx)(g,(0,i.Z)({"data-testid":`${e}Icon`,ref:r},n,{children:t}))}return n.muiName=g.muiName,r.memo(r.forwardRef(n))}},78101:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=n(63886).Z},36189:(t,e,n)=>{"use strict";n.r(e),n.d(e,{capitalize:()=>r.Z,createChainedFunction:()=>o,createSvgIcon:()=>a.Z,debounce:()=>s.Z,deprecatedPropType:()=>l,isMuiElement:()=>u.Z,ownerDocument:()=>c.Z,ownerWindow:()=>h.Z,requirePropFactory:()=>d,setRef:()=>f,unstable_ClassNameGenerator:()=>w,unstable_useEnhancedEffect:()=>_.Z,unstable_useId:()=>p.Z,unsupportedProp:()=>m,useControlled:()=>v.Z,useEventCallback:()=>g.Z,useForkRef:()=>y.Z,useIsFocusVisible:()=>b.Z});var i=n(13113),r=n(40118);const o=n(11677).Z;var a=n(66661),s=n(78101);const l=function(t,e){return()=>null};var u=n(46790),c=n(60617),h=n(19514);n(30984);const d=function(t,e){return()=>null},f=n(31566).Z;var _=n(5429),p=n(79673);const m=function(t,e,n,i,r){return null};var v=n(24842),g=n(42853),y=n(81597),b=n(97128);const w={configure:t=>{i.Z.configure(t)}}},46790:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(66204);const r=function(t,e){var n,r;return i.isValidElement(t)&&-1!==e.indexOf(null!=(n=t.type.muiName)?n:null==(r=t.type)||null==(r=r._payload)||null==(r=r.value)?void 0:r.muiName)}},60617:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=n(43175).Z},19514:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=n(95690).Z},24842:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=n(80539).Z},5429:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=n(71969).Z},42853:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=n(54738).Z},81597:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=n(70047).Z},79673:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=n(1311).Z},97128:(t,e,n)=>{"use strict";n.d(e,{Z:()=>d});var i=n(66204),r=n(97969);let o=!0,a=!1;const s=new r.V,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(t){t.metaKey||t.altKey||t.ctrlKey||(o=!0)}function c(){o=!1}function h(){"hidden"===this.visibilityState&&a&&(o=!0)}const d=function(){const t=i.useCallback((t=>{var e;null!=t&&((e=t.ownerDocument).addEventListener("keydown",u,!0),e.addEventListener("mousedown",c,!0),e.addEventListener("pointerdown",c,!0),e.addEventListener("touchstart",c,!0),e.addEventListener("visibilitychange",h,!0))}),[]),e=i.useRef(!1);return{isFocusVisibleRef:e,onFocus:function(t){return!!function(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch(t){}return o||function(t){const{type:e,tagName:n}=t;return!("INPUT"!==n||!l[e]||t.readOnly)||"TEXTAREA"===n&&!t.readOnly||!!t.isContentEditable}(e)}(t)&&(e.current=!0,!0)},onBlur:function(){return!!e.current&&(a=!0,s.start(100,(()=>{a=!1})),e.current=!1,!0)},ref:t}}},42619:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o}),n(66204);var i=n(71580),r=n(43188);function o(t){const{styles:e,defaultTheme:n={}}=t,o="function"==typeof e?t=>{return e(null==(i=t)||0===Object.keys(i).length?n:t);var i}:e;return(0,r.jsx)(i.xB,{styles:o})}},65418:(t,e,n)=>{"use strict";function i(){return i=Object.assign?Object.assign.bind():function(t){for(var e=1;ex.Z,StyledEngineProvider:()=>E,ThemeContext:()=>l.T,css:()=>g.iv,default:()=>C,internal_processStyles:()=>T,keyframes:()=>g.F4});var r=n(66204),o=n(36902),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,o.Z)((function(t){return a.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})),l=n(5893),u=n(99463),c=n(81782),h=n(98013),d=s,f=function(t){return"theme"!==t},_=function(t){return"string"==typeof t&&t.charCodeAt(0)>96?d:f},p=function(t,e,n){var i;if(e){var r=e.shouldForwardProp;i=t.__emotion_forwardProp&&r?function(e){return t.__emotion_forwardProp(e)&&r(e)}:r}return"function"!=typeof i&&n&&(i=t.__emotion_forwardProp),i},m=function(t){var e=t.cache,n=t.serialized,i=t.isStringTag;return(0,u.hC)(e,n,i),(0,h.L)((function(){return(0,u.My)(e,n,i)})),null},v=function t(e,n){var o,a,s=e.__emotion_real===e,h=s&&e.__emotion_base||e;void 0!==n&&(o=n.label,a=n.target);var d=p(e,n,s),f=d||_(h),v=!f("as");return function(){var g=arguments,y=s&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==o&&y.push("label:"+o+";"),null==g[0]||void 0===g[0].raw)y.push.apply(y,g);else{y.push(g[0][0]);for(var b=g.length,w=1;w{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))}},83041:(t,e,n)=>{"use strict";var i=n(57739);e.Fq=function(t,e){return t=s(t),e=a(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),"color"===t.type?t.values[3]=`/${e}`:t.values[3]=e,l(t)},e._j=c,e._4=function(t,e=.15){return u(t)>.5?c(t,e):h(t,e)},e.mi=function(t,e){const n=u(t),i=u(e);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)},e.$n=h;var r=i(n(54469)),o=i(n(5602));function a(t,e=0,n=1){return(0,o.default)(t,e,n)}function s(t){if(t.type)return t;if("#"===t.charAt(0))return s(function(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&1===n[0].length&&(n=n.map((t=>t+t))),n?`rgb${4===n.length?"a":""}(${n.map(((t,e)=>e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3)).join(", ")})`:""}(t));const e=t.indexOf("("),n=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.default)(9,t));let i,o=t.substring(e+1,t.length-1);if("color"===n){if(o=o.split(" "),i=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error((0,r.default)(10,i))}else o=o.split(",");return o=o.map((t=>parseFloat(t))),{type:n,values:o,colorSpace:i}}function l(t){const{type:e,colorSpace:n}=t;let{values:i}=t;return-1!==e.indexOf("rgb")?i=i.map(((t,e)=>e<3?parseInt(t,10):t)):-1!==e.indexOf("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),i=-1!==e.indexOf("color")?`${n} ${i.join(" ")}`:`${i.join(", ")}`,`${e}(${i})`}function u(t){let e="hsl"===(t=s(t)).type||"hsla"===t.type?s(function(t){t=s(t);const{values:e}=t,n=e[0],i=e[1]/100,r=e[2]/100,o=i*Math.min(r,1-r),a=(t,e=(t+n/30)%12)=>r-o*Math.max(Math.min(e-3,9-e,1),-1);let u="rgb";const c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===t.type&&(u+="a",c.push(e[3])),l({type:u,values:c})}(t)).values:t.values;return e=e.map((e=>("color"!==t.type&&(e/=255),e<=.03928?e/12.92:((e+.055)/1.055)**2.4))),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function c(t,e){if(t=s(t),e=a(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb")||-1!==t.type.indexOf("color"))for(let n=0;n<3;n+=1)t.values[n]*=1-e;return l(t)}function h(t,e){if(t=s(t),e=a(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(-1!==t.type.indexOf("color"))for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return l(t)}},17746:(t,e,n)=>{"use strict";var i=n(57739);e.ZP=function(t={}){const{themeId:e,defaultTheme:n=p,rootShouldForwardProp:i=_,slotShouldForwardProp:l=_}=t,c=t=>(0,u.default)((0,r.default)({},t,{theme:v((0,r.default)({},t,{defaultTheme:n,themeId:e}))}));return c.__mui_systemSx=!0,(t,u={})=>{(0,a.internal_processStyles)(t,(t=>t.filter((t=>!(null!=t&&t.__mui_systemSx)))));const{name:h,slot:f,skipVariantsResolver:p,skipSx:b,overridesResolver:w=g(m(f))}=u,E=(0,o.default)(u,d),x=void 0!==p?p:f&&"Root"!==f&&"root"!==f||!1,C=b||!1;let T=_;"Root"===f||"root"===f?T=i:f?T=l:function(t){return"string"==typeof t&&t.charCodeAt(0)>96}(t)&&(T=void 0);const A=(0,a.default)(t,(0,r.default)({shouldForwardProp:T,label:void 0},E)),S=t=>"function"==typeof t&&t.__emotion_real!==t||(0,s.isPlainObject)(t)?i=>y(t,(0,r.default)({},i,{theme:v({theme:i.theme,defaultTheme:n,themeId:e})})):t,z=(i,...o)=>{let a=S(i);const s=o?o.map(S):[];h&&w&&s.push((t=>{const i=v((0,r.default)({},t,{defaultTheme:n,themeId:e}));if(!i.components||!i.components[h]||!i.components[h].styleOverrides)return null;const o=i.components[h].styleOverrides,a={};return Object.entries(o).forEach((([e,n])=>{a[e]=y(n,(0,r.default)({},t,{theme:i}))})),w(t,a)})),h&&!x&&s.push((t=>{var i;const o=v((0,r.default)({},t,{defaultTheme:n,themeId:e}));return y({variants:null==o||null==(i=o.components)||null==(i=i[h])?void 0:i.variants},(0,r.default)({},t,{theme:o}))})),C||s.push(c);const l=s.length-o.length;if(Array.isArray(i)&&l>0){const t=new Array(l).fill("");a=[...i,...t],a.raw=[...i.raw,...t]}const u=A(a,...s);return t.muiName&&(u.muiName=t.muiName),u};return A.withConfig&&(z.withConfig=A.withConfig),z}},e.x9=_;var r=i(n(24700)),o=i(n(19252)),a=function(t,e){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=f(e);if(n&&n.has(t))return n.get(t);var i={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var a=r?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(i,o,a):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}(n(65418)),s=n(43057),l=(i(n(69938)),i(n(64900)),i(n(92786))),u=i(n(65650));const c=["ownerState"],h=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(f=function(t){return t?n:e})(t)}function _(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}const p=(0,l.default)(),m=t=>t?t.charAt(0).toLowerCase()+t.slice(1):t;function v({defaultTheme:t,theme:e,themeId:n}){return i=e,0===Object.keys(i).length?t:e[n]||e;var i}function g(t){return t?(e,n)=>n[t]:null}function y(t,e){let{ownerState:n}=e,i=(0,o.default)(e,c);const a="function"==typeof t?t((0,r.default)({ownerState:n},i)):t;if(Array.isArray(a))return a.flatMap((t=>y(t,(0,r.default)({ownerState:n},i))));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:t=[]}=a;let e=(0,o.default)(a,h);return t.forEach((t=>{let o=!0;"function"==typeof t.props?o=t.props((0,r.default)({ownerState:n},i,n)):Object.keys(t.props).forEach((e=>{(null==n?void 0:n[e])!==t.props[e]&&i[e]!==t.props[e]&&(o=!1)})),o&&(Array.isArray(e)||(e=[e]),e.push("function"==typeof t.style?t.style((0,r.default)({ownerState:n},i,n)):t.style))})),e}return a}},72782:(t,e,n)=>{"use strict";n.r(e),n.d(e,{boxClasses:()=>o,default:()=>a});var i=n(13113),r=n(30768);const o=(0,n(30264).Z)("MuiBox",["root"]),a=(0,r.Z)({defaultClassName:o.root,generateClassName:i.Z.generate})},53236:(t,e,n)=>{"use strict";n.d(e,{Z:()=>y});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(2957),l=n(95311),u=n(55271),c=n(36672),h=n(372),d=n(75773),f=n(43188);const _=["className","component","disableGutters","fixed","maxWidth","classes"],p=(0,d.Z)(),m=(0,h.Z)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`maxWidth${(0,u.Z)(String(n.maxWidth))}`],n.fixed&&e.fixed,n.disableGutters&&e.disableGutters]}}),v=t=>(0,c.Z)({props:t,name:"MuiContainer",defaultTheme:p}),g=(t,e)=>{const{classes:n,fixed:i,disableGutters:r,maxWidth:o}=t,a={root:["root",o&&`maxWidth${(0,u.Z)(String(o))}`,i&&"fixed",r&&"disableGutters"]};return(0,l.Z)(a,(t=>(0,s.ZP)(e,t)),n)};function y(t={}){const{createStyledComponent:e=m,useThemeProps:n=v,componentName:s="MuiContainer"}=t,l=e((({theme:t,ownerState:e})=>(0,r.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!e.disableGutters&&{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}})),(({theme:t,ownerState:e})=>e.fixed&&Object.keys(t.breakpoints.values).reduce(((e,n)=>{const i=n,r=t.breakpoints.values[i];return 0!==r&&(e[t.breakpoints.up(i)]={maxWidth:`${r}${t.breakpoints.unit}`}),e}),{})),(({theme:t,ownerState:e})=>(0,r.Z)({},"xs"===e.maxWidth&&{[t.breakpoints.up("xs")]:{maxWidth:Math.max(t.breakpoints.values.xs,444)}},e.maxWidth&&"xs"!==e.maxWidth&&{[t.breakpoints.up(e.maxWidth)]:{maxWidth:`${t.breakpoints.values[e.maxWidth]}${t.breakpoints.unit}`}})));return o.forwardRef((function(t,e){const o=n(t),{className:u,component:c="div",disableGutters:h=!1,fixed:d=!1,maxWidth:p="lg"}=o,m=(0,i.Z)(o,_),v=(0,r.Z)({},o,{component:c,disableGutters:h,fixed:d,maxWidth:p}),y=g(v,s);return(0,f.jsx)(l,(0,r.Z)({as:c,ownerState:v,className:(0,a.Z)(y.root,u),ref:e},m))}))}},78104:(t,e,n)=>{"use strict";n.r(e),n.d(e,{containerClasses:()=>s,default:()=>i,getContainerUtilityClass:()=>a});const i=(0,n(53236).Z)();var r=n(30264),o=n(2957);function a(t){return(0,o.ZP)("MuiContainer",t)}const s=(0,r.Z)("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"])},9183:(t,e,n)=>{"use strict";n.d(e,{Z:()=>x});var i=n(55559),r=n(30984),o=n(66204),a=n(56317),s=n(96715),l=n(2957),u=n(95311),c=n(372),h=n(36672),d=n(8449),f=n(75773),_=n(79556),p=n(39546),m=n(43188);const v=["component","direction","spacing","divider","children","className","useFlexGap"],g=(0,f.Z)(),y=(0,c.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root});function b(t){return(0,h.Z)({props:t,name:"MuiStack",defaultTheme:g})}function w(t,e){const n=o.Children.toArray(t).filter(Boolean);return n.reduce(((t,i,r)=>(t.push(i),r{let n=(0,r.Z)({display:"flex",flexDirection:"column"},(0,_.k9)({theme:e},(0,_.P$)({values:t.direction,breakpoints:e.breakpoints.values}),(t=>({flexDirection:t}))));if(t.spacing){const i=(0,p.hB)(e),r=Object.keys(e.breakpoints.values).reduce(((e,n)=>(("object"==typeof t.spacing&&null!=t.spacing[n]||"object"==typeof t.direction&&null!=t.direction[n])&&(e[n]=!0),e)),{}),o=(0,_.P$)({values:t.direction,base:r}),a=(0,_.P$)({values:t.spacing,base:r});"object"==typeof o&&Object.keys(o).forEach(((t,e,n)=>{if(!o[t]){const i=e>0?o[n[e-1]]:"column";o[t]=i}}));const l=(e,n)=>{return t.useFlexGap?{gap:(0,p.NA)(i,e)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${r=n?o[n]:t.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[r]}`]:(0,p.NA)(i,e)}};var r};n=(0,s.Z)(n,(0,_.k9)({theme:e},a,l))}return n=(0,_.dt)(e.breakpoints,n),n};function x(t={}){const{createStyledComponent:e=y,useThemeProps:n=b,componentName:s="MuiStack"}=t,c=e(E);return o.forwardRef((function(t,e){const o=n(t),h=(0,d.Z)(o),{component:f="div",direction:_="column",spacing:p=0,divider:g,children:y,className:b,useFlexGap:E=!1}=h,x=(0,i.Z)(h,v),C={direction:_,spacing:p,useFlexGap:E},T=(0,u.Z)({root:["root"]},(t=>(0,l.ZP)(s,t)),{});return(0,m.jsx)(c,(0,r.Z)({as:f,ownerState:C,ref:e,className:(0,a.Z)(T.root,b)},x,{children:g?w(y,g):y}))}))}},83194:(t,e,n)=>{"use strict";n.r(e),n.d(e,{createStack:()=>i.Z,default:()=>r,getStackUtilityClass:()=>s,stackClasses:()=>l});var i=n(9183);const r=(0,i.Z)();var o=n(30264),a=n(2957);function s(t){return(0,a.ZP)("MuiStack",t)}const l=(0,o.Z)("MuiStack",["root"])},79556:(t,e,n)=>{"use strict";n.d(e,{L7:()=>l,P$:()=>c,VO:()=>r,W8:()=>s,dt:()=>u,k9:()=>a});var i=n(96715);const r={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${r[t]}px)`};function a(t,e,n){const i=t.theme||{};if(Array.isArray(e)){const t=i.breakpoints||o;return e.reduce(((i,r,o)=>(i[t.up(t.keys[o])]=n(e[o]),i)),{})}if("object"==typeof e){const t=i.breakpoints||o;return Object.keys(e).reduce(((i,o)=>{if(-1!==Object.keys(t.values||r).indexOf(o))i[t.up(o)]=n(e[o],o);else{const t=o;i[t]=e[t]}return i}),{})}return n(e)}function s(t={}){var e;return(null==(e=t.keys)?void 0:e.reduce(((e,n)=>(e[t.up(n)]={},e)),{}))||{}}function l(t,e){return t.reduce(((t,e)=>{const n=t[e];return(!n||0===Object.keys(n).length)&&delete t[e],t}),e)}function u(t,...e){const n=s(t),r=[n,...e].reduce(((t,e)=>(0,i.Z)(t,e)),{});return l(Object.keys(n),r)}function c({values:t,breakpoints:e,base:n}){const i=n||function(t,e){if("object"!=typeof t)return{};const n={},i=Object.keys(e);return Array.isArray(t)?i.forEach(((e,i)=>{i{null!=t[e]&&(n[e]=!0)})),n}(t,e),r=Object.keys(i);if(0===r.length)return t;let o;return r.reduce(((e,n,i)=>(Array.isArray(t)?(e[n]=null!=t[i]?t[i]:t[o],o=i):"object"==typeof t?(e[n]=null!=t[n]?t[n]:t[o],o=n):e[n]=t,e)),{})}},30768:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});var i=n(30984),r=n(55559),o=n(66204),a=n(56317),s=n(65418),l=n(95882),u=n(8449),c=n(85293),h=n(43188);const d=["className","component"];function f(t={}){const{themeId:e,defaultTheme:n,defaultClassName:f="MuiBox-root",generateClassName:_}=t,p=(0,s.default)("div",{shouldForwardProp:t=>"theme"!==t&&"sx"!==t&&"as"!==t})(l.Z);return o.forwardRef((function(t,o){const s=(0,c.Z)(n),l=(0,u.Z)(t),{className:m,component:v="div"}=l,g=(0,r.Z)(l,d);return(0,h.jsx)(p,(0,i.Z)({as:v,ref:o,className:(0,a.Z)(m,_?_(f):f),theme:e&&s[e]||s},g))}))}},45220:(t,e,n)=>{"use strict";function i(t,e){const n=this;return n.vars&&"function"==typeof n.getColorSchemeSelector?{[n.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)")]:e}:n.palette.mode===t?e:{}}n.d(e,{Z:()=>i})},88106:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(55559),r=n(30984);const o=["values","unit","step"],a=t=>{const e=Object.keys(t).map((e=>({key:e,val:t[e]})))||[];return e.sort(((t,e)=>t.val-e.val)),e.reduce(((t,e)=>(0,r.Z)({},t,{[e.key]:e.val})),{})};function s(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:s=5}=t,l=(0,i.Z)(t,o),u=a(e),c=Object.keys(u);function h(t){return`@media (min-width:${"number"==typeof e[t]?e[t]:t}${n})`}function d(t){return`@media (max-width:${("number"==typeof e[t]?e[t]:t)-s/100}${n})`}function f(t,i){const r=c.indexOf(i);return`@media (min-width:${"number"==typeof e[t]?e[t]:t}${n}) and (max-width:${(-1!==r&&"number"==typeof e[c[r]]?e[c[r]]:i)-s/100}${n})`}return(0,r.Z)({keys:c,values:u,up:h,down:d,between:f,only:function(t){return c.indexOf(t)+1{"use strict";n.d(e,{Z:()=>f});var i=n(30984),r=n(55559),o=n(96715),a=n(88106);const s={borderRadius:4};var l=n(39546),u=n(95882),c=n(68342),h=n(45220);const d=["breakpoints","palette","spacing","shape"],f=function(t={},...e){const{breakpoints:n={},palette:f={},spacing:_,shape:p={}}=t,m=(0,r.Z)(t,d),v=(0,a.Z)(n),g=function(t=8){if(t.mui)return t;const e=(0,l.hB)({spacing:t}),n=(...t)=>(0===t.length?[1]:t).map((t=>{const n=e(t);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(_);let y=(0,o.Z)({breakpoints:v,direction:"ltr",components:{},palette:(0,i.Z)({mode:"light"},f),spacing:g,shape:(0,i.Z)({},s,p)},m);return y.applyStyles=h.Z,y=e.reduce(((t,e)=>(0,o.Z)(t,e)),y),y.unstable_sxConfig=(0,i.Z)({},c.Z,null==m?void 0:m.unstable_sxConfig),y.unstable_sx=function(t){return(0,u.Z)({sx:t,theme:this})},y}},92786:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,private_createBreakpoints:()=>r.Z,unstable_applyStyles:()=>o.Z});var i=n(75773),r=n(88106),o=n(45220)},94941:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(96715);const r=function(t,e){return e?(0,i.Z)(t,e,{clone:!1}):t}},39546:(t,e,n)=>{"use strict";n.d(e,{hB:()=>_,eI:()=>f,NA:()=>p,e6:()=>v,o3:()=>g});var i=n(79556),r=n(4860),o=n(94941);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(t){const e={};return t=>(void 0===e[t]&&(e[t]=(t=>{if(t.length>2){if(!l[t])return[t];t=l[t]}const[e,n]=t.split(""),i=a[e],r=s[n]||"";return Array.isArray(r)?r.map((t=>i+t)):[i+r]})(t)),e[t])}(),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],h=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...c,...h];function f(t,e,n,i){var o;const a=null!=(o=(0,r.DW)(t,e,!1))?o:n;return"number"==typeof a?t=>"string"==typeof t?t:a*t:Array.isArray(a)?t=>"string"==typeof t?t:a[t]:"function"==typeof a?a:()=>{}}function _(t){return f(t,"spacing",8)}function p(t,e){if("string"==typeof e||null==e)return e;const n=t(Math.abs(e));return e>=0?n:"number"==typeof n?-n:`-${n}`}function m(t,e){const n=_(t.theme);return Object.keys(t).map((r=>function(t,e,n,r){if(-1===e.indexOf(n))return null;const o=function(t,e){return n=>t.reduce(((t,i)=>(t[i]=p(e,n),t)),{})}(u(n),r),a=t[n];return(0,i.k9)(t,a,o)}(t,e,r,n))).reduce(o.Z,{})}function v(t){return m(t,c)}function g(t){return m(t,h)}function y(t){return m(t,d)}v.propTypes={},v.filterProps=c,g.propTypes={},g.filterProps=h,y.propTypes={},y.filterProps=d},4860:(t,e,n)=>{"use strict";n.d(e,{DW:()=>o,Jq:()=>a,ZP:()=>s});var i=n(55271),r=n(79556);function o(t,e,n=!0){if(!e||"string"!=typeof e)return null;if(t&&t.vars&&n){const n=`vars.${e}`.split(".").reduce(((t,e)=>t&&t[e]?t[e]:null),t);if(null!=n)return n}return e.split(".").reduce(((t,e)=>t&&null!=t[e]?t[e]:null),t)}function a(t,e,n,i=n){let r;return r="function"==typeof t?t(n):Array.isArray(t)?t[n]||i:o(t,n)||i,e&&(r=e(r,i,t)),r}const s=function(t){const{prop:e,cssProperty:n=t.prop,themeKey:s,transform:l}=t,u=t=>{if(null==t[e])return null;const u=t[e],c=o(t.theme,s)||{};return(0,r.k9)(t,u,(t=>{let r=a(c,l,t);return t===r&&"string"==typeof t&&(r=a(c,l,`${e}${"default"===t?"":(0,i.Z)(t)}`,t)),!1===n?r:{[n]:r}}))};return u.propTypes={},u.filterProps=[e],u}},68342:(t,e,n)=>{"use strict";n.d(e,{Z:()=>M});var i=n(39546),r=n(4860),o=n(94941);const a=function(...t){const e=t.reduce(((t,e)=>(e.filterProps.forEach((n=>{t[n]=e})),t)),{}),n=t=>Object.keys(t).reduce(((n,i)=>e[i]?(0,o.Z)(n,e[i](t)):n),{});return n.propTypes={},n.filterProps=t.reduce(((t,e)=>t.concat(e.filterProps)),[]),n};var s=n(79556);function l(t){return"number"!=typeof t?t:`${t}px solid`}function u(t,e){return(0,r.ZP)({prop:t,themeKey:"borders",transform:e})}const c=u("border",l),h=u("borderTop",l),d=u("borderRight",l),f=u("borderBottom",l),_=u("borderLeft",l),p=u("borderColor"),m=u("borderTopColor"),v=u("borderRightColor"),g=u("borderBottomColor"),y=u("borderLeftColor"),b=u("outline",l),w=u("outlineColor"),E=t=>{if(void 0!==t.borderRadius&&null!==t.borderRadius){const e=(0,i.eI)(t.theme,"shape.borderRadius",4,"borderRadius"),n=t=>({borderRadius:(0,i.NA)(e,t)});return(0,s.k9)(t,t.borderRadius,n)}return null};E.propTypes={},E.filterProps=["borderRadius"],a(c,h,d,f,_,p,m,v,g,y,E,b,w);const x=t=>{if(void 0!==t.gap&&null!==t.gap){const e=(0,i.eI)(t.theme,"spacing",8,"gap"),n=t=>({gap:(0,i.NA)(e,t)});return(0,s.k9)(t,t.gap,n)}return null};x.propTypes={},x.filterProps=["gap"];const C=t=>{if(void 0!==t.columnGap&&null!==t.columnGap){const e=(0,i.eI)(t.theme,"spacing",8,"columnGap"),n=t=>({columnGap:(0,i.NA)(e,t)});return(0,s.k9)(t,t.columnGap,n)}return null};C.propTypes={},C.filterProps=["columnGap"];const T=t=>{if(void 0!==t.rowGap&&null!==t.rowGap){const e=(0,i.eI)(t.theme,"spacing",8,"rowGap"),n=t=>({rowGap:(0,i.NA)(e,t)});return(0,s.k9)(t,t.rowGap,n)}return null};function A(t,e){return"grey"===e?e:t}function S(t){return t<=1&&0!==t?100*t+"%":t}T.propTypes={},T.filterProps=["rowGap"],a(x,C,T,(0,r.ZP)({prop:"gridColumn"}),(0,r.ZP)({prop:"gridRow"}),(0,r.ZP)({prop:"gridAutoFlow"}),(0,r.ZP)({prop:"gridAutoColumns"}),(0,r.ZP)({prop:"gridAutoRows"}),(0,r.ZP)({prop:"gridTemplateColumns"}),(0,r.ZP)({prop:"gridTemplateRows"}),(0,r.ZP)({prop:"gridTemplateAreas"}),(0,r.ZP)({prop:"gridArea"})),a((0,r.ZP)({prop:"color",themeKey:"palette",transform:A}),(0,r.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:A}),(0,r.ZP)({prop:"backgroundColor",themeKey:"palette",transform:A}));const z=(0,r.ZP)({prop:"width",transform:S}),k=t=>{if(void 0!==t.maxWidth&&null!==t.maxWidth){const e=e=>{var n,i;const r=(null==(n=t.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[e])||s.VO[e];return r?"px"!==(null==(i=t.theme)||null==(i=i.breakpoints)?void 0:i.unit)?{maxWidth:`${r}${t.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:S(e)}};return(0,s.k9)(t,t.maxWidth,e)}return null};k.filterProps=["maxWidth"];const N=(0,r.ZP)({prop:"minWidth",transform:S}),I=(0,r.ZP)({prop:"height",transform:S}),O=(0,r.ZP)({prop:"maxHeight",transform:S}),L=(0,r.ZP)({prop:"minHeight",transform:S}),M=((0,r.ZP)({prop:"size",cssProperty:"width",transform:S}),(0,r.ZP)({prop:"size",cssProperty:"height",transform:S}),a(z,k,N,I,O,L,(0,r.ZP)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:E},color:{themeKey:"palette",transform:A},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:A},backgroundColor:{themeKey:"palette",transform:A},p:{style:i.o3},pt:{style:i.o3},pr:{style:i.o3},pb:{style:i.o3},pl:{style:i.o3},px:{style:i.o3},py:{style:i.o3},padding:{style:i.o3},paddingTop:{style:i.o3},paddingRight:{style:i.o3},paddingBottom:{style:i.o3},paddingLeft:{style:i.o3},paddingX:{style:i.o3},paddingY:{style:i.o3},paddingInline:{style:i.o3},paddingInlineStart:{style:i.o3},paddingInlineEnd:{style:i.o3},paddingBlock:{style:i.o3},paddingBlockStart:{style:i.o3},paddingBlockEnd:{style:i.o3},m:{style:i.e6},mt:{style:i.e6},mr:{style:i.e6},mb:{style:i.e6},ml:{style:i.e6},mx:{style:i.e6},my:{style:i.e6},margin:{style:i.e6},marginTop:{style:i.e6},marginRight:{style:i.e6},marginBottom:{style:i.e6},marginLeft:{style:i.e6},marginX:{style:i.e6},marginY:{style:i.e6},marginInline:{style:i.e6},marginInlineStart:{style:i.e6},marginInlineEnd:{style:i.e6},marginBlock:{style:i.e6},marginBlockStart:{style:i.e6},marginBlockEnd:{style:i.e6},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:x},rowGap:{style:T},columnGap:{style:C},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:S},maxWidth:{style:k},minWidth:{transform:S},height:{transform:S},maxHeight:{transform:S},minHeight:{transform:S},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},8449:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var i=n(30984),r=n(55559),o=n(96715),a=n(68342);const s=["sx"],l=t=>{var e,n;const i={systemProps:{},otherProps:{}},r=null!=(e=null==t||null==(n=t.theme)?void 0:n.unstable_sxConfig)?e:a.Z;return Object.keys(t).forEach((e=>{r[e]?i.systemProps[e]=t[e]:i.otherProps[e]=t[e]})),i};function u(t){const{sx:e}=t,n=(0,r.Z)(t,s),{systemProps:a,otherProps:u}=l(n);let c;return c=Array.isArray(e)?[a,...e]:"function"==typeof e?(...t)=>{const n=e(...t);return(0,o.P)(n)?(0,i.Z)({},a,n):a}:(0,i.Z)({},a,e),(0,i.Z)({},u,{sx:c})}},65650:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,extendSxProp:()=>r.Z,unstable_createStyleFunctionSx:()=>i.n,unstable_defaultSxConfig:()=>o.Z});var i=n(95882),r=n(8449),o=n(68342)},95882:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c,n:()=>l});var i=n(55271),r=n(94941),o=n(4860),a=n(79556),s=n(68342);function l(){function t(t,e,n,r){const s={[t]:e,theme:n},l=r[t];if(!l)return{[t]:e};const{cssProperty:u=t,themeKey:c,transform:h,style:d}=l;if(null==e)return null;if("typography"===c&&"inherit"===e)return{[t]:e};const f=(0,o.DW)(n,c)||{};return d?d(s):(0,a.k9)(s,e,(e=>{let n=(0,o.Jq)(f,h,e);return e===n&&"string"==typeof e&&(n=(0,o.Jq)(f,h,`${t}${"default"===e?"":(0,i.Z)(e)}`,e)),!1===u?n:{[u]:n}}))}return function e(n){var i;const{sx:o,theme:l={}}=n||{};if(!o)return null;const u=null!=(i=l.unstable_sxConfig)?i:s.Z;function c(n){let i=n;if("function"==typeof n)i=n(l);else if("object"!=typeof n)return n;if(!i)return null;const o=(0,a.W8)(l.breakpoints),s=Object.keys(o);let c=o;return Object.keys(i).forEach((n=>{const o="function"==typeof(s=i[n])?s(l):s;var s;if(null!=o)if("object"==typeof o)if(u[n])c=(0,r.Z)(c,t(n,o,l,u));else{const t=(0,a.k9)({theme:l},o,(t=>({[n]:t})));!function(...t){const e=t.reduce(((t,e)=>t.concat(Object.keys(e))),[]),n=new Set(e);return t.every((t=>n.size===Object.keys(t).length))}(t,o)?c=(0,r.Z)(c,t):c[n]=e({sx:o,theme:l})}else c=(0,r.Z)(c,t(n,o,l,u))})),(0,a.L7)(s,c)}return Array.isArray(o)?o.map(c):c(o)}}const u=l();u.filterProps=["sx"];const c=u},372:(t,e,n)=>{"use strict";n.d(e,{Z:()=>g});var i=n(30984),r=n(55559),o=n(65418),a=n(96715),s=n(75773),l=n(95882);const u=["ownerState"],c=["variants"],h=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function d(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}const f=(0,s.Z)(),_=t=>t?t.charAt(0).toLowerCase()+t.slice(1):t;function p({defaultTheme:t,theme:e,themeId:n}){return i=e,0===Object.keys(i).length?t:e[n]||e;var i}function m(t){return t?(e,n)=>n[t]:null}function v(t,e){let{ownerState:n}=e,o=(0,r.Z)(e,u);const a="function"==typeof t?t((0,i.Z)({ownerState:n},o)):t;if(Array.isArray(a))return a.flatMap((t=>v(t,(0,i.Z)({ownerState:n},o))));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:t=[]}=a;let e=(0,r.Z)(a,c);return t.forEach((t=>{let r=!0;"function"==typeof t.props?r=t.props((0,i.Z)({ownerState:n},o,n)):Object.keys(t.props).forEach((e=>{(null==n?void 0:n[e])!==t.props[e]&&o[e]!==t.props[e]&&(r=!1)})),r&&(Array.isArray(e)||(e=[e]),e.push("function"==typeof t.style?t.style((0,i.Z)({ownerState:n},o,n)):t.style))})),e}return a}const g=function(t={}){const{themeId:e,defaultTheme:n=f,rootShouldForwardProp:s=d,slotShouldForwardProp:u=d}=t,c=t=>(0,l.Z)((0,i.Z)({},t,{theme:p((0,i.Z)({},t,{defaultTheme:n,themeId:e}))}));return c.__mui_systemSx=!0,(t,l={})=>{(0,o.internal_processStyles)(t,(t=>t.filter((t=>!(null!=t&&t.__mui_systemSx)))));const{name:f,slot:g,skipVariantsResolver:y,skipSx:b,overridesResolver:w=m(_(g))}=l,E=(0,r.Z)(l,h),x=void 0!==y?y:g&&"Root"!==g&&"root"!==g||!1,C=b||!1;let T=d;"Root"===g||"root"===g?T=s:g?T=u:function(t){return"string"==typeof t&&t.charCodeAt(0)>96}(t)&&(T=void 0);const A=(0,o.default)(t,(0,i.Z)({shouldForwardProp:T,label:void 0},E)),S=t=>"function"==typeof t&&t.__emotion_real!==t||(0,a.P)(t)?r=>v(t,(0,i.Z)({},r,{theme:p({theme:r.theme,defaultTheme:n,themeId:e})})):t,z=(r,...o)=>{let a=S(r);const s=o?o.map(S):[];f&&w&&s.push((t=>{const r=p((0,i.Z)({},t,{defaultTheme:n,themeId:e}));if(!r.components||!r.components[f]||!r.components[f].styleOverrides)return null;const o=r.components[f].styleOverrides,a={};return Object.entries(o).forEach((([e,n])=>{a[e]=v(n,(0,i.Z)({},t,{theme:r}))})),w(t,a)})),f&&!x&&s.push((t=>{var r;const o=p((0,i.Z)({},t,{defaultTheme:n,themeId:e}));return v({variants:null==o||null==(r=o.components)||null==(r=r[f])?void 0:r.variants},(0,i.Z)({},t,{theme:o}))})),C||s.push(c);const l=s.length-o.length;if(Array.isArray(r)&&l>0){const t=new Array(l).fill("");a=[...r,...t],a.raw=[...r.raw,...t]}const u=A(a,...s);return t.muiName&&(u.muiName=t.muiName),u};return A.withConfig&&(z.withConfig=A.withConfig),z}}()},73935:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>h});var i=n(66204),r=n.t(i,2),o=n(71969),a=n(73606),s=n(2772);function l(t,e,n,r,a){const[s,l]=i.useState((()=>a&&n?n(t).matches:r?r(t).matches:e));return(0,o.Z)((()=>{let e=!0;if(!n)return;const i=n(t),r=()=>{e&&l(i.matches)};return r(),i.addListener(r),()=>{e=!1,i.removeListener(r)}}),[t,n]),s}const u=r.useSyncExternalStore;function c(t,e,n,r,o){const a=i.useCallback((()=>e),[e]),s=i.useMemo((()=>{if(o&&n)return()=>n(t).matches;if(null!==r){const{matches:e}=r(t);return()=>e}return a}),[a,t,r,o,n]),[l,c]=i.useMemo((()=>{if(null===n)return[a,()=>()=>{}];const e=n(t);return[()=>e.matches,t=>(e.addListener(t),()=>{e.removeListener(t)})]}),[a,n,t]);return u(c,l,s)}function h(t,e={}){const n=(0,s.Z)(),i="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:r=!1,matchMedia:o=(i?window.matchMedia:null),ssrMatchMedia:h=null,noSsr:d=!1}=(0,a.Z)({name:"MuiUseMediaQuery",props:e,theme:n});let f="function"==typeof t?t(n):t;return f=f.replace(/^@media( ?)/m,""),(void 0!==u?c:l)(f,r,o,h,d)}},85293:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(75773),r=n(2772);const o=(0,i.Z)(),a=function(t=o){return(0,r.Z)(t)}},73606:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(22509);function r(t){const{theme:e,name:n,props:r}=t;return e&&e.components&&e.components[n]&&e.components[n].defaultProps?(0,i.Z)(e.components[n].defaultProps,r):r}},36672:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(73606),r=n(85293);function o({props:t,name:e,defaultTheme:n,themeId:o}){let a=(0,r.Z)(n);return o&&(a=a[o]||a),(0,i.Z)({theme:a,name:e,props:t})}},2772:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(66204),r=n(5893);const o=function(t=null){const e=i.useContext(r.T);return e&&(n=e,0!==Object.keys(n).length)?e:t;var n}},92738:(t,e,n)=>{"use strict";e.Z=void 0;var i=function(t,e){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var i={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=r?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=t[a]}return i.default=t,n&&n.set(t,i),i}(n(66204)),r=n(65418);function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}e.Z=function(t=null){const e=i.useContext(r.ThemeContext);return e&&(n=e,0!==Object.keys(n).length)?e:t;var n}},13113:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const i=t=>t,r=(()=>{let t=i;return{configure(e){t=e},generate:e=>t(e),reset(){t=i}}})()},55271:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(60247);function r(t){if("string"!=typeof t)throw new Error((0,i.Z)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},69938:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z});var i=n(55271)},31196:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}},5602:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z});var i=n(31196)},95311:(t,e,n)=>{"use strict";function i(t,e,n=void 0){const i={};return Object.keys(t).forEach((r=>{i[r]=t[r].reduce(((t,i)=>{if(i){const r=e(i);""!==r&&t.push(r),n&&n[i]&&t.push(n[i])}return t}),[]).join(" ")})),i}n.d(e,{Z:()=>i})},11677:(t,e,n)=>{"use strict";function i(...t){return t.reduce(((t,e)=>null==e?t:function(...n){t.apply(this,n),e.apply(this,n)}),(()=>{}))}n.d(e,{Z:()=>i})},63886:(t,e,n)=>{"use strict";function i(t,e=166){let n;function i(...i){clearTimeout(n),n=setTimeout((()=>{t.apply(this,i)}),e)}return i.clear=()=>{clearTimeout(n)},i}n.d(e,{Z:()=>i})},96715:(t,e,n)=>{"use strict";n.d(e,{P:()=>r,Z:()=>a});var i=n(30984);function r(t){if("object"!=typeof t||null===t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)}function o(t){if(!r(t))return t;const e={};return Object.keys(t).forEach((n=>{e[n]=o(t[n])})),e}function a(t,e,n={clone:!0}){const s=n.clone?(0,i.Z)({},t):t;return r(t)&&r(e)&&Object.keys(e).forEach((i=>{"__proto__"!==i&&(r(e[i])&&i in t&&r(t[i])?s[i]=a(t[i],e[i],n):n.clone?s[i]=r(e[i])?o(e[i]):e[i]:s[i]=e[i])})),s}},43057:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z,isPlainObject:()=>i.P});var i=n(96715)},60247:(t,e,n)=>{"use strict";function i(t){let e="https://mui.com/production-error/?code="+t;for(let t=1;ti})},54469:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>i.Z});var i=n(60247)},2957:(t,e,n)=>{"use strict";n.d(e,{ZP:()=>o,_v:()=>r});var i=n(13113);const r={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function o(t,e,n="Mui"){const o=r[e];return o?`${n}-${o}`:`${i.Z.generate(t)}-${e}`}},30264:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(2957);function r(t,e,n="Mui"){const r={};return e.forEach((e=>{r[e]=(0,i.ZP)(t,e,n)})),r}},64900:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l,getFunctionName:()=>o});var i=n(5356);const r=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function o(t){const e=`${t}`.match(r);return e&&e[1]||""}function a(t,e=""){return t.displayName||t.name||o(t)||e}function s(t,e,n){const i=a(e);return t.displayName||(""!==i?`${n}(${i})`:n)}function l(t){if(null!=t){if("string"==typeof t)return t;if("function"==typeof t)return a(t,"Component");if("object"==typeof t)switch(t.$$typeof){case i.ForwardRef:return s(t,t.render,"ForwardRef");case i.Memo:return s(t,t.type,"memo");default:return}}}},30187:(t,e,n)=>{"use strict";function i(t){const e=t.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}n.d(e,{Z:()=>i})},43175:(t,e,n)=>{"use strict";function i(t){return t&&t.ownerDocument||document}n.d(e,{Z:()=>i})},95690:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(43175);function r(t){return(0,i.Z)(t).defaultView||window}},22509:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(30984);function r(t,e){const n=(0,i.Z)({},e);return Object.keys(t).forEach((o=>{if(o.toString().match(/^(components|slots)$/))n[o]=(0,i.Z)({},t[o],n[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){const a=t[o]||{},s=e[o];n[o]={},s&&Object.keys(s)?a&&Object.keys(a)?(n[o]=(0,i.Z)({},s),Object.keys(a).forEach((t=>{n[o][t]=r(a[t],s[t])}))):n[o]=s:n[o]=a}else void 0===n[o]&&(n[o]=t[o])})),n}},31566:(t,e,n)=>{"use strict";function i(t,e){"function"==typeof t?t(e):t&&(t.current=e)}n.d(e,{Z:()=>i})},80539:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(66204);function r({controlled:t,default:e,name:n,state:r="value"}){const{current:o}=i.useRef(void 0!==t),[a,s]=i.useState(e);return[o?t:a,i.useCallback((t=>{o||s(t)}),[])]}},71969:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(66204);const r="undefined"!=typeof window?i.useLayoutEffect:i.useEffect},54738:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(66204),r=n(71969);const o=function(t){const e=i.useRef(t);return(0,r.Z)((()=>{e.current=t})),i.useRef(((...t)=>(0,e.current)(...t))).current}},70047:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(66204),r=n(31566);function o(...t){return i.useMemo((()=>t.every((t=>null==t))?null:e=>{t.forEach((t=>{(0,r.Z)(t,e)}))}),t)}},1311:(t,e,n)=>{"use strict";var i;n.d(e,{Z:()=>s});var r=n(66204);let o=0;const a=(i||(i=n.t(r,2)))["useId".toString()];function s(t){if(void 0!==a){const e=a();return null!=t?t:e}return function(t){const[e,n]=r.useState(t),i=t||e;return r.useEffect((()=>{null==e&&(o+=1,n(`mui-${o}`))}),[e]),i}(t)}},45240:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(66204);const r=t=>{const e=i.useRef({});return i.useEffect((()=>{e.current=t})),e.current}},97969:(t,e,n)=>{"use strict";n.d(e,{V:()=>a,Z:()=>s});var i=n(66204);const r={},o=[];class a{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new a}start(t,e){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,e()}),t)}}function s(){const t=function(t,e){const n=i.useRef(r);return n.current===r&&(n.current=t(void 0)),n}(a.create).current;var e;return e=t.disposeEffect,i.useEffect(e,o),t}},45058:(t,e,n)=>{"use strict";function i(){return i=Object.assign?Object.assign.bind():function(t){for(var e=1;eG,Ep:()=>f,Gn:()=>O,J0:()=>u,LX:()=>L,OF:()=>K,PP:()=>a,PQ:()=>J,RQ:()=>D,WK:()=>Q,WS:()=>b,X3:()=>H,Zn:()=>$,aU:()=>r,cP:()=>_,cm:()=>j,fZ:()=>Y,fp:()=>y,i3:()=>R,lX:()=>s,ov:()=>st,p7:()=>dt,pC:()=>q,q_:()=>l,qp:()=>lt,uX:()=>Z}),function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"}(r||(r={}));const o="popstate";function a(t){void 0===t&&(t={});let e,{initialEntries:n=["/"],initialIndex:i,v5Compat:o=!1}=t;e=n.map(((t,e)=>p(t,"string"==typeof t?null:t.state,0===e?"default":void 0)));let a=u(null==i?e.length-1:i),s=r.Pop,l=null;function u(t){return Math.min(Math.max(t,0),e.length-1)}function h(){return e[a]}function p(t,n,i){void 0===n&&(n=null);let r=d(e?h().pathname:"/",t,n,i);return c("/"===r.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(t)),r}function m(t){return"string"==typeof t?t:f(t)}return{get index(){return a},get action(){return s},get location(){return h()},createHref:m,createURL:t=>new URL(m(t),"http://localhost"),encodeLocation(t){let e="string"==typeof t?_(t):t;return{pathname:e.pathname||"",search:e.search||"",hash:e.hash||""}},push(t,n){s=r.Push;let i=p(t,n);a+=1,e.splice(a,e.length,i),o&&l&&l({action:s,location:i,delta:1})},replace(t,n){s=r.Replace;let i=p(t,n);e[a]=i,o&&l&&l({action:s,location:i,delta:0})},go(t){s=r.Pop;let n=u(a+t),i=e[n];a=n,l&&l({action:s,location:i,delta:t})},listen:t=>(l=t,()=>{l=null})}}function s(t){return void 0===t&&(t={}),p((function(t,e){let{pathname:n,search:i,hash:r}=t.location;return d("",{pathname:n,search:i,hash:r},e.state&&e.state.usr||null,e.state&&e.state.key||"default")}),(function(t,e){return"string"==typeof e?e:f(e)}),null,t)}function l(t){return void 0===t&&(t={}),p((function(t,e){let{pathname:n="/",search:i="",hash:r=""}=_(t.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),d("",{pathname:n,search:i,hash:r},e.state&&e.state.usr||null,e.state&&e.state.key||"default")}),(function(t,e){let n=t.document.querySelector("base"),i="";if(n&&n.getAttribute("href")){let e=t.location.href,n=e.indexOf("#");i=-1===n?e:e.slice(0,n)}return i+"#"+("string"==typeof e?e:f(e))}),(function(t,e){c("/"===t.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(e)+")")}),t)}function u(t,e){if(!1===t||null==t)throw new Error(e)}function c(t,e){if(!t){"undefined"!=typeof console&&console.warn(e);try{throw new Error(e)}catch(t){}}}function h(t,e){return{usr:t.state,key:t.key,idx:e}}function d(t,e,n,r){return void 0===n&&(n=null),i({pathname:"string"==typeof t?t:t.pathname,search:"",hash:""},"string"==typeof e?_(e):e,{state:n,key:e&&e.key||r||Math.random().toString(36).substr(2,8)})}function f(t){let{pathname:e="/",search:n="",hash:i=""}=t;return n&&"?"!==n&&(e+="?"===n.charAt(0)?n:"?"+n),i&&"#"!==i&&(e+="#"===i.charAt(0)?i:"#"+i),e}function _(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let i=t.indexOf("?");i>=0&&(e.search=t.substr(i),t=t.substr(0,i)),t&&(e.pathname=t)}return e}function p(t,e,n,a){void 0===a&&(a={});let{window:s=document.defaultView,v5Compat:l=!1}=a,c=s.history,_=r.Pop,p=null,m=v();function v(){return(c.state||{idx:null}).idx}function g(){_=r.Pop;let t=v(),e=null==t?null:t-m;m=t,p&&p({action:_,location:b.location,delta:e})}function y(t){let e="null"!==s.location.origin?s.location.origin:s.location.href,n="string"==typeof t?t:f(t);return n=n.replace(/ $/,"%20"),u(e,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,e)}null==m&&(m=0,c.replaceState(i({},c.state,{idx:m}),""));let b={get action(){return _},get location(){return t(s,c)},listen(t){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(o,g),p=t,()=>{s.removeEventListener(o,g),p=null}},createHref:t=>e(s,t),createURL:y,encodeLocation(t){let e=y(t);return{pathname:e.pathname,search:e.search,hash:e.hash}},push:function(t,e){_=r.Push;let i=d(b.location,t,e);n&&n(i,t),m=v()+1;let o=h(i,m),a=b.createHref(i);try{c.pushState(o,"",a)}catch(t){if(t instanceof DOMException&&"DataCloneError"===t.name)throw t;s.location.assign(a)}l&&p&&p({action:_,location:b.location,delta:1})},replace:function(t,e){_=r.Replace;let i=d(b.location,t,e);n&&n(i,t),m=v();let o=h(i,m),a=b.createHref(i);c.replaceState(o,"",a),l&&p&&p({action:_,location:b.location,delta:0})},go:t=>c.go(t)};return b}var m;!function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"}(m||(m={}));const v=new Set(["lazy","caseSensitive","path","id","index","children"]);function g(t,e,n,r){return void 0===n&&(n=[]),void 0===r&&(r={}),t.map(((t,o)=>{let a=[...n,o],s="string"==typeof t.id?t.id:a.join("-");if(u(!0!==t.index||!t.children,"Cannot specify children on an index route"),u(!r[s],'Found a route id collision on id "'+s+"\". Route id's must be globally unique within Data Router usages"),function(t){return!0===t.index}(t)){let n=i({},t,e(t),{id:s});return r[s]=n,n}{let n=i({},t,e(t),{id:s,children:void 0});return r[s]=n,t.children&&(n.children=g(t.children,e,a,r)),n}}))}function y(t,e,n){void 0===n&&(n="/");let i=$(("string"==typeof e?_(e):e).pathname||"/",n);if(null==i)return null;let r=w(t);!function(t){t.sort(((t,e)=>t.score!==e.score?e.score-t.score:function(t,e){return t.length===e.length&&t.slice(0,-1).every(((t,n)=>t===e[n]))?t[t.length-1]-e[e.length-1]:0}(t.routesMeta.map((t=>t.childrenIndex)),e.routesMeta.map((t=>t.childrenIndex)))))}(r);let o=null;for(let t=0;null==o&&t{let a={relativePath:void 0===o?t.path||"":o,caseSensitive:!0===t.caseSensitive,childrenIndex:r,route:t};a.relativePath.startsWith("/")&&(u(a.relativePath.startsWith(i),'Absolute route path "'+a.relativePath+'" nested under path "'+i+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(i.length));let s=D([i,a.relativePath]),l=n.concat(a);t.children&&t.children.length>0&&(u(!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),w(t.children,e,l,s)),(null!=t.path||t.index)&&e.push({path:s,score:N(s,t.index),routesMeta:l})};return t.forEach(((t,e)=>{var n;if(""!==t.path&&null!=(n=t.path)&&n.includes("?"))for(let n of E(t.path))r(t,e,n);else r(t,e)})),e}function E(t){let e=t.split("/");if(0===e.length)return[];let[n,...i]=e,r=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===i.length)return r?[o,""]:[o];let a=E(i.join("/")),s=[];return s.push(...a.map((t=>""===t?o:[o,t].join("/")))),r&&s.push(...a),s.map((e=>t.startsWith("/")&&""===e?"/":e))}const x=/^:[\w-]+$/,C=3,T=2,A=1,S=10,z=-2,k=t=>"*"===t;function N(t,e){let n=t.split("/"),i=n.length;return n.some(k)&&(i+=z),e&&(i+=T),n.filter((t=>!k(t))).reduce(((t,e)=>t+(x.test(e)?C:""===e?A:S)),i)}function I(t,e){let{routesMeta:n}=t,i={},r="/",o=[];for(let t=0;tnull==t?"":"string"==typeof t?t:String(t);return i+n.split(/\/+/).map(((t,n,i)=>{if(n===i.length-1&&"*"===t)return r(e["*"]);const o=t.match(/^:([\w-]+)(\??)$/);if(o){const[,t,n]=o;let i=e[t];return u("?"===n||null!=i,'Missing ":'+t+'" param'),r(i)}return t.replace(/\?$/g,"")})).filter((t=>!!t)).join("/")}function L(t,e){"string"==typeof t&&(t={path:t,caseSensitive:!1,end:!0});let[n,i]=function(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!0),c("*"===t||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were "'+t.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+t.replace(/\*$/,"/*")+'".');let i=[],r="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((t,e,n)=>(i.push({paramName:e,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));return t.endsWith("*")?(i.push({paramName:"*"}),r+="*"===t||"/*"===t?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":""!==t&&"/"!==t&&(r+="(?:(?=\\/|$))"),[new RegExp(r,e?void 0:"i"),i]}(t.path,t.caseSensitive,t.end),r=e.match(n);if(!r)return null;let o=r[0],a=o.replace(/(.)\/+$/,"$1"),s=r.slice(1);return{params:i.reduce(((t,e,n)=>{let{paramName:i,isOptional:r}=e;if("*"===i){let t=s[n]||"";a=o.slice(0,o.length-t.length).replace(/(.)\/+$/,"$1")}const l=s[n];return t[i]=r&&!l?void 0:(l||"").replace(/%2F/g,"/"),t}),{}),pathname:o,pathnameBase:a,pattern:t}}function M(t){try{return t.split("/").map((t=>decodeURIComponent(t).replace(/\//g,"%2F"))).join("/")}catch(e){return c(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+e+")."),t}}function $(t,e){if("/"===e)return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,i=t.charAt(n);return i&&"/"!==i?null:t.slice(n)||"/"}function R(t,e){void 0===e&&(e="/");let{pathname:n,search:i="",hash:r=""}="string"==typeof t?_(t):t,o=n?n.startsWith("/")?n:function(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach((t=>{".."===t?n.length>1&&n.pop():"."!==t&&n.push(t)})),n.length>1?n.join("/"):"/"}(n,e):e;return{pathname:o,search:F(i),hash:W(r)}}function P(t,e,n,i){return"Cannot include a '"+t+"' character in a manually specified `to."+e+"` field ["+JSON.stringify(i)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function U(t){return t.filter(((t,e)=>0===e||t.route.path&&t.route.path.length>0))}function j(t,e){let n=U(t);return e?n.map(((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)):n.map((t=>t.pathnameBase))}function q(t,e,n,r){let o;void 0===r&&(r=!1),"string"==typeof t?o=_(t):(o=i({},t),u(!o.pathname||!o.pathname.includes("?"),P("?","pathname","search",o)),u(!o.pathname||!o.pathname.includes("#"),P("#","pathname","hash",o)),u(!o.search||!o.search.includes("#"),P("#","search","hash",o)));let a,s=""===t||""===o.pathname,l=s?"/":o.pathname;if(null==l)a=n;else{let t=e.length-1;if(!r&&l.startsWith("..")){let e=l.split("/");for(;".."===e[0];)e.shift(),t-=1;o.pathname=e.join("/")}a=t>=0?e[t]:"/"}let c=R(o,a),h=l&&"/"!==l&&l.endsWith("/"),d=(s||"."===l)&&n.endsWith("/");return c.pathname.endsWith("/")||!h&&!d||(c.pathname+="/"),c}const D=t=>t.join("/").replace(/\/\/+/g,"/"),B=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),F=t=>t&&"?"!==t?t.startsWith("?")?t:"?"+t:"",W=t=>t&&"#"!==t?t.startsWith("#")?t:"#"+t:"",G=function(t,e){void 0===e&&(e={});let n="number"==typeof e?{status:e}:e,r=new Headers(n.headers);return r.has("Content-Type")||r.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(t),i({},n,{headers:r}))};class H extends Error{}class V{constructor(t,e){let n;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],u(t&&"object"==typeof t&&!Array.isArray(t),"defer() only accepts plain objects"),this.abortPromise=new Promise(((t,e)=>n=e)),this.controller=new AbortController;let i=()=>n(new H("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",i),this.controller.signal.addEventListener("abort",i),this.data=Object.entries(t).reduce(((t,e)=>{let[n,i]=e;return Object.assign(t,{[n]:this.trackPromise(n,i)})}),{}),this.done&&this.unlistenAbortSignal(),this.init=e}trackPromise(t,e){if(!(e instanceof Promise))return e;this.deferredKeys.push(t),this.pendingKeysSet.add(t);let n=Promise.race([e,this.abortPromise]).then((e=>this.onSettle(n,t,void 0,e)),(e=>this.onSettle(n,t,e)));return n.catch((()=>{})),Object.defineProperty(n,"_tracked",{get:()=>!0}),n}onSettle(t,e,n,i){if(this.controller.signal.aborted&&n instanceof H)return this.unlistenAbortSignal(),Object.defineProperty(t,"_error",{get:()=>n}),Promise.reject(n);if(this.pendingKeysSet.delete(e),this.done&&this.unlistenAbortSignal(),void 0===n&&void 0===i){let n=new Error('Deferred data for key "'+e+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(t,"_error",{get:()=>n}),this.emit(!1,e),Promise.reject(n)}return void 0===i?(Object.defineProperty(t,"_error",{get:()=>n}),this.emit(!1,e),Promise.reject(n)):(Object.defineProperty(t,"_data",{get:()=>i}),this.emit(!1,e),i)}emit(t,e){this.subscribers.forEach((n=>n(t,e)))}subscribe(t){return this.subscribers.add(t),()=>this.subscribers.delete(t)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach(((t,e)=>this.pendingKeysSet.delete(e))),this.emit(!0)}async resolveData(t){let e=!1;if(!this.done){let n=()=>this.cancel();t.addEventListener("abort",n),e=await new Promise((e=>{this.subscribe((i=>{t.removeEventListener("abort",n),(i||this.done)&&e(i)}))}))}return e}get done(){return 0===this.pendingKeysSet.size}get unwrappedData(){return u(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce(((t,e)=>{let[n,i]=e;return Object.assign(t,{[n]:X(i)})}),{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function X(t){if(!function(t){return t instanceof Promise&&!0===t._tracked}(t))return t;if(t._error)throw t._error;return t._data}const J=function(t,e){return void 0===e&&(e={}),new V(t,"number"==typeof e?{status:e}:e)},Z=function(t,e){void 0===e&&(e=302);let n=e;"number"==typeof n?n={status:n}:void 0===n.status&&(n.status=302);let r=new Headers(n.headers);return r.set("Location",t),new Response(null,i({},n,{headers:r}))},Y=(t,e)=>{let n=Z(t,e);return n.headers.set("X-Remix-Reload-Document","true"),n};class K{constructor(t,e,n,i){void 0===i&&(i=!1),this.status=t,this.statusText=e||"",this.internal=i,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function Q(t){return null!=t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"boolean"==typeof t.internal&&"data"in t}const tt=["post","put","patch","delete"],et=new Set(tt),nt=["get",...tt],it=new Set(nt),rt=new Set([301,302,303,307,308]),ot=new Set([307,308]),at={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},st={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},lt={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},ut=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ct=t=>({hasErrorBoundary:Boolean(t.hasErrorBoundary)}),ht="remix-router-transitions";function dt(t){const e=t.window?t.window:"undefined"!=typeof window?window:void 0,n=void 0!==e&&void 0!==e.document&&void 0!==e.document.createElement,o=!n;let a;if(u(t.routes.length>0,"You must provide a non-empty routes array to createRouter"),t.mapRouteProperties)a=t.mapRouteProperties;else if(t.detectErrorBoundary){let e=t.detectErrorBoundary;a=t=>({hasErrorBoundary:e(t)})}else a=ct;let s,l,h={},f=g(t.routes,a,void 0,h),_=t.basename||"/",p=i({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},t.future),v=null,w=new Set,E=null,x=null,C=null,T=null!=t.hydrationData,A=y(f,t.history.location,_),S=null;if(null==A){let e=St(404,{pathname:t.history.location.pathname}),{matches:n,route:i}=At(f);A=n,S={[i.id]:e}}let z,k=A.some((t=>t.route.lazy)),N=A.some((t=>t.route.loader));if(k)l=!1;else if(N)if(p.v7_partialHydration){let e=t.hydrationData?t.hydrationData.loaderData:null,n=t.hydrationData?t.hydrationData.errors:null,i=t=>!t.route.loader||!0!==t.route.loader.hydrate&&(e&&void 0!==e[t.route.id]||n&&void 0!==n[t.route.id]);if(n){let t=A.findIndex((t=>void 0!==n[t.route.id]));l=A.slice(0,t+1).every(i)}else l=A.every(i)}else l=null!=t.hydrationData;else l=!0;let I,O={historyAction:t.history.action,location:t.history.location,matches:A,initialized:l,navigation:at,restoreScrollPosition:null==t.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||S,fetchers:new Map,blockers:new Map},L=r.Pop,M=!1,R=!1,P=new Map,U=null,j=!1,q=!1,D=[],B=[],F=new Map,W=0,G=-1,H=new Map,V=new Set,X=new Map,J=new Map,Z=new Set,Y=new Map,K=new Map,Q=!1;function tt(t,e){void 0===e&&(e={}),O=i({},O,t);let n=[],r=[];p.v7_fetcherPersist&&O.fetchers.forEach(((t,e)=>{"idle"===t.state&&(Z.has(e)?r.push(e):n.push(e))})),[...w].forEach((t=>t(O,{deletedFetchers:r,unstable_viewTransitionOpts:e.viewTransitionOpts,unstable_flushSync:!0===e.flushSync}))),p.v7_fetcherPersist&&(n.forEach((t=>O.fetchers.delete(t))),r.forEach((t=>wt(t))))}function et(e,n,o){var a,l;let u,{flushSync:c}=void 0===o?{}:o,h=null!=O.actionData&&null!=O.navigation.formMethod&&Lt(O.navigation.formMethod)&&"loading"===O.navigation.state&&!0!==(null==(a=e.state)?void 0:a._isRedirect);u=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:h?O.actionData:null;let d=n.loaderData?Ct(O.loaderData,n.loaderData,n.matches||[],n.errors):O.loaderData,_=O.blockers;_.size>0&&(_=new Map(_),_.forEach(((t,e)=>_.set(e,lt))));let p,m=!0===M||null!=O.navigation.formMethod&&Lt(O.navigation.formMethod)&&!0!==(null==(l=e.state)?void 0:l._isRedirect);if(s&&(f=s,s=void 0),j||L===r.Pop||(L===r.Push?t.history.push(e,e.state):L===r.Replace&&t.history.replace(e,e.state)),L===r.Pop){let t=P.get(O.location.pathname);t&&t.has(e.pathname)?p={currentLocation:O.location,nextLocation:e}:P.has(e.pathname)&&(p={currentLocation:e,nextLocation:O.location})}else if(R){let t=P.get(O.location.pathname);t?t.add(e.pathname):(t=new Set([e.pathname]),P.set(O.location.pathname,t)),p={currentLocation:O.location,nextLocation:e}}tt(i({},n,{actionData:u,loaderData:d,historyAction:L,location:e,initialized:!0,navigation:at,revalidation:"idle",restoreScrollPosition:Xt(e,n.matches||O.matches),preventScrollReset:m,blockers:_}),{viewTransitionOpts:p,flushSync:!0===c}),L=r.Pop,M=!1,R=!1,j=!1,q=!1,D=[],B=[]}async function nt(e,n,o){I&&I.abort(),I=null,L=e,j=!0===(o&&o.startUninterruptedRevalidation),function(t,e){if(E&&C){let n=Vt(t,e);E[n]=C()}}(O.location,O.matches),M=!0===(o&&o.preventScrollReset),R=!0===(o&&o.enableViewTransition);let l=s||f,u=o&&o.overrideNavigation,c=y(l,n,_),d=!0===(o&&o.flushSync);if(!c){let t=St(404,{pathname:n.pathname}),{matches:e,route:i}=At(l);return Ht(),void et(n,{matches:e,loaderData:{},errors:{[i.id]:t}},{flushSync:d})}if(O.initialized&&!q&&(v=O.location,g=n,v.pathname===g.pathname&&v.search===g.search&&(""===v.hash?""!==g.hash:v.hash===g.hash||""!==g.hash))&&!(o&&o.submission&&Lt(o.submission.formMethod)))return void et(n,{matches:c},{flushSync:d});var v,g;I=new AbortController;let b,w,x=bt(t.history,n,I.signal,o&&o.submission);if(o&&o.pendingError)w={[Tt(c).route.id]:o.pendingError};else if(o&&o.submission&&Lt(o.submission.formMethod)){let t=await async function(t,e,n,i,o){void 0===o&&(o={}),dt();let s,l=function(t,e){return{state:"submitting",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}}(e,n);tt({navigation:l},{flushSync:!0===o.flushSync});let u=Pt(i,e);if(u.route.action||u.route.lazy){if(s=await yt("action",t,u,i,h,a,_,p.v7_relativeSplatPath),t.signal.aborted)return{shortCircuited:!0}}else s={type:m.error,error:St(405,{method:t.method,pathname:e.pathname,routeId:u.route.id})};if(Ot(s)){let t;return t=o&&null!=o.replace?o.replace:s.location===O.location.pathname+O.location.search,await it(O,s,{submission:n,replace:t}),{shortCircuited:!0}}if(It(s)){let t=Tt(i,u.route.id);return!0!==(o&&o.replace)&&(L=r.Push),{pendingActionData:{},pendingActionError:{[t.route.id]:s.error}}}if(Nt(s))throw St(400,{type:"defer-action"});return{pendingActionData:{[u.route.id]:s.data}}}(x,n,o.submission,c,{replace:o.replace,flushSync:d});if(t.shortCircuited)return;b=t.pendingActionData,w=t.pendingActionError,u=jt(n,o.submission),d=!1,x=new Request(x.url,{signal:x.signal})}let{shortCircuited:T,loaderData:A,errors:S}=await async function(e,n,r,o,a,l,u,c,h,d,m){let v=o||jt(n,a),g=a||l||Ut(v),y=s||f,[b,w]=pt(t.history,O,r,g,n,p.v7_partialHydration&&!0===c,q,D,B,Z,X,V,y,_,d,m);if(Ht((t=>!(r&&r.some((e=>e.route.id===t)))||b&&b.some((e=>e.route.id===t)))),G=++W,0===b.length&&0===w.length){let t=Rt();return et(n,i({matches:r,loaderData:{},errors:m||null},d?{actionData:d}:{},t?{fetchers:new Map(O.fetchers)}:{}),{flushSync:h}),{shortCircuited:!0}}if(!(j||p.v7_partialHydration&&c)){w.forEach((t=>{let e=O.fetchers.get(t.key),n=qt(void 0,e?e.data:void 0);O.fetchers.set(t.key,n)}));let t=d||O.actionData;tt(i({navigation:v},t?0===Object.keys(t).length?{actionData:null}:{actionData:t}:{},w.length>0?{fetchers:new Map(O.fetchers)}:{}),{flushSync:h})}w.forEach((t=>{F.has(t.key)&&Et(t.key),t.controller&&F.set(t.key,t.controller)}));let E=()=>w.forEach((t=>Et(t.key)));I&&I.signal.addEventListener("abort",E);let{results:x,loaderResults:C,fetcherResults:T}=await rt(O.matches,r,b,w,e);if(e.signal.aborted)return{shortCircuited:!0};I&&I.signal.removeEventListener("abort",E),w.forEach((t=>F.delete(t.key)));let A=zt(x);if(A){if(A.idx>=b.length){let t=w[A.idx-b.length].key;V.add(t)}return await it(O,A.result,{replace:u}),{shortCircuited:!0}}let{loaderData:S,errors:z}=xt(O,r,b,C,m,w,T,Y);Y.forEach(((t,e)=>{t.subscribe((n=>{(n||t.done)&&Y.delete(e)}))})),p.v7_partialHydration&&c&&O.errors&&Object.entries(O.errors).filter((t=>{let[e]=t;return!b.some((t=>t.route.id===e))})).forEach((t=>{let[e,n]=t;z=Object.assign(z||{},{[e]:n})}));let k=Rt(),N=Bt(G),L=k||N||w.length>0;return i({loaderData:S,errors:z},L?{fetchers:new Map(O.fetchers)}:{})}(x,n,c,u,o&&o.submission,o&&o.fetcherSubmission,o&&o.replace,o&&!0===o.initialHydration,d,b,w);T||(I=null,et(n,i({matches:c},b?{actionData:b}:{},{loaderData:A,errors:S})))}async function it(o,a,s){let{submission:l,fetcherSubmission:c,replace:h}=void 0===s?{}:s;a.revalidate&&(q=!0);let f=d(o.location,a.location,{_isRedirect:!0});if(u(f,"Expected a location on the redirect navigation"),n){let n=!1;if(a.reloadDocument)n=!0;else if(ut.test(a.location)){const i=t.history.createURL(a.location);n=i.origin!==e.location.origin||null==$(i.pathname,_)}if(n)return void(h?e.location.replace(a.location):e.location.assign(a.location))}I=null;let p=!0===h?r.Replace:r.Push,{formMethod:m,formAction:v,formEncType:g}=o.navigation;!l&&!c&&m&&v&&g&&(l=Ut(o.navigation));let y=l||c;if(ot.has(a.status)&&y&&Lt(y.formMethod))await nt(p,f,{submission:i({},y,{formAction:a.location}),preventScrollReset:M});else{let t=jt(f,l);await nt(p,f,{overrideNavigation:t,fetcherSubmission:c,preventScrollReset:M})}}async function rt(e,n,i,r,o){let s=await Promise.all([...i.map((t=>yt("loader",o,t,n,h,a,_,p.v7_relativeSplatPath))),...r.map((e=>e.matches&&e.match&&e.controller?yt("loader",bt(t.history,e.path,e.controller.signal),e.match,e.matches,h,a,_,p.v7_relativeSplatPath):{type:m.error,error:St(404,{pathname:e.path})}))]),l=s.slice(0,i.length),u=s.slice(i.length);return await Promise.all([Mt(e,i,l,l.map((()=>o.signal)),!1,O.loaderData),Mt(e,r.map((t=>t.match)),u,r.map((t=>t.controller?t.controller.signal:null)),!0)]),{results:s,loaderResults:l,fetcherResults:u}}function dt(){q=!0,D.push(...Ht()),X.forEach(((t,e)=>{F.has(e)&&(B.push(e),Et(e))}))}function mt(t,e,n){void 0===n&&(n={}),O.fetchers.set(t,e),tt({fetchers:new Map(O.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function vt(t,e,n,i){void 0===i&&(i={});let r=Tt(O.matches,e);wt(t),tt({errors:{[r.route.id]:n},fetchers:new Map(O.fetchers)},{flushSync:!0===(i&&i.flushSync)})}function gt(t){return p.v7_fetcherPersist&&(J.set(t,(J.get(t)||0)+1),Z.has(t)&&Z.delete(t)),O.fetchers.get(t)||st}function wt(t){let e=O.fetchers.get(t);!F.has(t)||e&&"loading"===e.state&&H.has(t)||Et(t),X.delete(t),H.delete(t),V.delete(t),Z.delete(t),O.fetchers.delete(t)}function Et(t){let e=F.get(t);u(e,"Expected fetch controller: "+t),e.abort(),F.delete(t)}function kt(t){for(let e of t){let t=Dt(gt(e).data);O.fetchers.set(e,t)}}function Rt(){let t=[],e=!1;for(let n of V){let i=O.fetchers.get(n);u(i,"Expected fetcher: "+n),"loading"===i.state&&(V.delete(n),t.push(n),e=!0)}return kt(t),e}function Bt(t){let e=[];for(let[n,i]of H)if(i0}function Ft(t){O.blockers.delete(t),K.delete(t)}function Wt(t,e){let n=O.blockers.get(t)||lt;u("unblocked"===n.state&&"blocked"===e.state||"blocked"===n.state&&"blocked"===e.state||"blocked"===n.state&&"proceeding"===e.state||"blocked"===n.state&&"unblocked"===e.state||"proceeding"===n.state&&"unblocked"===e.state,"Invalid blocker state transition: "+n.state+" -> "+e.state);let i=new Map(O.blockers);i.set(t,e),tt({blockers:i})}function Gt(t){let{currentLocation:e,nextLocation:n,historyAction:i}=t;if(0===K.size)return;K.size>1&&c(!1,"A router only supports one blocker at a time");let r=Array.from(K.entries()),[o,a]=r[r.length-1],s=O.blockers.get(o);return s&&"proceeding"===s.state?void 0:a({currentLocation:e,nextLocation:n,historyAction:i})?o:void 0}function Ht(t){let e=[];return Y.forEach(((n,i)=>{t&&!t(i)||(n.cancel(),e.push(i),Y.delete(i))})),e}function Vt(t,e){return x&&x(t,e.map((t=>b(t,O.loaderData))))||t.key}function Xt(t,e){if(E){let n=Vt(t,e),i=E[n];if("number"==typeof i)return i}return null}return z={get basename(){return _},get future(){return p},get state(){return O},get routes(){return f},get window(){return e},initialize:function(){if(v=t.history.listen((e=>{let{action:n,location:i,delta:r}=e;if(Q)return void(Q=!1);c(0===K.size||null!=r,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=Gt({currentLocation:O.location,nextLocation:i,historyAction:n});return o&&null!=r?(Q=!0,t.history.go(-1*r),void Wt(o,{state:"blocked",location:i,proceed(){Wt(o,{state:"proceeding",proceed:void 0,reset:void 0,location:i}),t.history.go(r)},reset(){let t=new Map(O.blockers);t.set(o,lt),tt({blockers:t})}})):nt(n,i)})),n){!function(t,e){try{let n=t.sessionStorage.getItem(ht);if(n){let t=JSON.parse(n);for(let[n,i]of Object.entries(t||{}))i&&Array.isArray(i)&&e.set(n,new Set(i||[]))}}catch(t){}}(e,P);let t=()=>function(t,e){if(e.size>0){let n={};for(let[t,i]of e)n[t]=[...i];try{t.sessionStorage.setItem(ht,JSON.stringify(n))}catch(t){c(!1,"Failed to save applied view transitions in sessionStorage ("+t+").")}}}(e,P);e.addEventListener("pagehide",t),U=()=>e.removeEventListener("pagehide",t)}return O.initialized||nt(r.Pop,O.location,{initialHydration:!0}),z},subscribe:function(t){return w.add(t),()=>w.delete(t)},enableScrollRestoration:function(t,e,n){if(E=t,C=e,x=n||null,!T&&O.navigation===at){T=!0;let t=Xt(O.location,O.matches);null!=t&&tt({restoreScrollPosition:t})}return()=>{E=null,C=null,x=null}},navigate:async function e(n,o){if("number"==typeof n)return void t.history.go(n);let a=ft(O.location,O.matches,_,p.v7_prependBasename,n,p.v7_relativeSplatPath,null==o?void 0:o.fromRouteId,null==o?void 0:o.relative),{path:s,submission:l,error:u}=_t(p.v7_normalizeFormMethod,!1,a,o),c=O.location,h=d(O.location,s,o&&o.state);h=i({},h,t.history.encodeLocation(h));let f=o&&null!=o.replace?o.replace:void 0,m=r.Push;!0===f?m=r.Replace:!1===f||null!=l&&Lt(l.formMethod)&&l.formAction===O.location.pathname+O.location.search&&(m=r.Replace);let v=o&&"preventScrollReset"in o?!0===o.preventScrollReset:void 0,g=!0===(o&&o.unstable_flushSync),y=Gt({currentLocation:c,nextLocation:h,historyAction:m});if(!y)return await nt(m,h,{submission:l,pendingError:u,preventScrollReset:v,replace:o&&o.replace,enableViewTransition:o&&o.unstable_viewTransition,flushSync:g});Wt(y,{state:"blocked",location:h,proceed(){Wt(y,{state:"proceeding",proceed:void 0,reset:void 0,location:h}),e(n,o)},reset(){let t=new Map(O.blockers);t.set(y,lt),tt({blockers:t})}})},fetch:function(e,n,i,r){if(o)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");F.has(e)&&Et(e);let l=!0===(r&&r.unstable_flushSync),c=s||f,d=ft(O.location,O.matches,_,p.v7_prependBasename,i,p.v7_relativeSplatPath,n,null==r?void 0:r.relative),m=y(c,d,_);if(!m)return void vt(e,n,St(404,{pathname:d}),{flushSync:l});let{path:v,submission:g,error:b}=_t(p.v7_normalizeFormMethod,!0,d,r);if(b)return void vt(e,n,b,{flushSync:l});let w=Pt(m,v);M=!0===(r&&r.preventScrollReset),g&&Lt(g.formMethod)?async function(e,n,i,r,o,l,c){if(dt(),X.delete(e),!r.route.action&&!r.route.lazy){let t=St(405,{method:c.formMethod,pathname:i,routeId:n});return void vt(e,n,t,{flushSync:l})}let d=O.fetchers.get(e);mt(e,function(t,e){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e?e.data:void 0}}(c,d),{flushSync:l});let m=new AbortController,v=bt(t.history,i,m.signal,c);F.set(e,m);let g=W,b=await yt("action",v,r,o,h,a,_,p.v7_relativeSplatPath);if(v.signal.aborted)return void(F.get(e)===m&&F.delete(e));if(p.v7_fetcherPersist&&Z.has(e)){if(Ot(b)||It(b))return void mt(e,Dt(void 0))}else{if(Ot(b))return F.delete(e),G>g?void mt(e,Dt(void 0)):(V.add(e),mt(e,qt(c)),it(O,b,{fetcherSubmission:c}));if(It(b))return void vt(e,n,b.error)}if(Nt(b))throw St(400,{type:"defer-action"});let w=O.navigation.location||O.location,E=bt(t.history,w,m.signal),x=s||f,C="idle"!==O.navigation.state?y(x,O.navigation.location,_):O.matches;u(C,"Didn't find any matches after fetcher action");let T=++W;H.set(e,T);let A=qt(c,b.data);O.fetchers.set(e,A);let[S,z]=pt(t.history,O,C,c,w,!1,q,D,B,Z,X,V,x,_,{[r.route.id]:b.data},void 0);z.filter((t=>t.key!==e)).forEach((t=>{let e=t.key,n=O.fetchers.get(e),i=qt(void 0,n?n.data:void 0);O.fetchers.set(e,i),F.has(e)&&Et(e),t.controller&&F.set(e,t.controller)})),tt({fetchers:new Map(O.fetchers)});let k=()=>z.forEach((t=>Et(t.key)));m.signal.addEventListener("abort",k);let{results:N,loaderResults:M,fetcherResults:$}=await rt(O.matches,C,S,z,E);if(m.signal.aborted)return;m.signal.removeEventListener("abort",k),H.delete(e),F.delete(e),z.forEach((t=>F.delete(t.key)));let R=zt(N);if(R){if(R.idx>=S.length){let t=z[R.idx-S.length].key;V.add(t)}return it(O,R.result)}let{loaderData:P,errors:U}=xt(O,O.matches,S,M,void 0,z,$,Y);if(O.fetchers.has(e)){let t=Dt(b.data);O.fetchers.set(e,t)}Bt(T),"loading"===O.navigation.state&&T>G?(u(L,"Expected pending action"),I&&I.abort(),et(O.navigation.location,{matches:C,loaderData:P,errors:U,fetchers:new Map(O.fetchers)})):(tt({errors:U,loaderData:Ct(O.loaderData,P,C,U),fetchers:new Map(O.fetchers)}),q=!1)}(e,n,v,w,m,l,g):(X.set(e,{routeId:n,path:v}),async function(e,n,i,r,o,s,l){let c=O.fetchers.get(e);mt(e,qt(l,c?c.data:void 0),{flushSync:s});let d=new AbortController,f=bt(t.history,i,d.signal);F.set(e,d);let m=W,v=await yt("loader",f,r,o,h,a,_,p.v7_relativeSplatPath);if(Nt(v)&&(v=await $t(v,f.signal,!0)||v),F.get(e)===d&&F.delete(e),!f.signal.aborted){if(!Z.has(e))return Ot(v)?G>m?void mt(e,Dt(void 0)):(V.add(e),void await it(O,v)):void(It(v)?vt(e,n,v.error):(u(!Nt(v),"Unhandled fetcher deferred data"),mt(e,Dt(v.data))));mt(e,Dt(void 0))}}(e,n,v,w,m,l,g))},revalidate:function(){dt(),tt({revalidation:"loading"}),"submitting"!==O.navigation.state&&("idle"!==O.navigation.state?nt(L||O.historyAction,O.navigation.location,{overrideNavigation:O.navigation}):nt(O.historyAction,O.location,{startUninterruptedRevalidation:!0}))},createHref:e=>t.history.createHref(e),encodeLocation:e=>t.history.encodeLocation(e),getFetcher:gt,deleteFetcher:function(t){if(p.v7_fetcherPersist){let e=(J.get(t)||0)-1;e<=0?(J.delete(t),Z.add(t)):J.set(t,e)}else wt(t);tt({fetchers:new Map(O.fetchers)})},dispose:function(){v&&v(),U&&U(),w.clear(),I&&I.abort(),O.fetchers.forEach(((t,e)=>wt(e))),O.blockers.forEach(((t,e)=>Ft(e)))},getBlocker:function(t,e){let n=O.blockers.get(t)||lt;return K.get(t)!==e&&K.set(t,e),n},deleteBlocker:Ft,_internalFetchControllers:F,_internalActiveDeferreds:Y,_internalSetRoutes:function(t){h={},s=g(t,a,void 0,h)}},z}function ft(t,e,n,i,r,o,a,s){let l,u;if(a){l=[];for(let t of e)if(l.push(t),t.route.id===a){u=t;break}}else l=e,u=e[e.length-1];let c=q(r||".",j(l,o),$(t.pathname,n)||t.pathname,"path"===s);return null==r&&(c.search=t.search,c.hash=t.hash),null!=r&&""!==r&&"."!==r||!u||!u.route.index||Rt(c.search)||(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),i&&"/"!==n&&(c.pathname="/"===c.pathname?n:D([n,c.pathname])),f(c)}function _t(t,e,n,i){if(!i||!function(t){return null!=t&&("formData"in t&&null!=t.formData||"body"in t&&void 0!==t.body)}(i))return{path:n};if(i.formMethod&&(r=i.formMethod,!it.has(r.toLowerCase())))return{path:n,error:St(405,{method:i.formMethod})};var r;let o,a,s=()=>({path:n,error:St(400,{type:"invalid-body"})}),l=i.formMethod||"get",c=t?l.toUpperCase():l.toLowerCase(),h=kt(n);if(void 0!==i.body){if("text/plain"===i.formEncType){if(!Lt(c))return s();let t="string"==typeof i.body?i.body:i.body instanceof FormData||i.body instanceof URLSearchParams?Array.from(i.body.entries()).reduce(((t,e)=>{let[n,i]=e;return""+t+n+"="+i+"\n"}),""):String(i.body);return{path:n,submission:{formMethod:c,formAction:h,formEncType:i.formEncType,formData:void 0,json:void 0,text:t}}}if("application/json"===i.formEncType){if(!Lt(c))return s();try{let t="string"==typeof i.body?JSON.parse(i.body):i.body;return{path:n,submission:{formMethod:c,formAction:h,formEncType:i.formEncType,formData:void 0,json:t,text:void 0}}}catch(t){return s()}}}if(u("function"==typeof FormData,"FormData is not available in this environment"),i.formData)o=wt(i.formData),a=i.formData;else if(i.body instanceof FormData)o=wt(i.body),a=i.body;else if(i.body instanceof URLSearchParams)o=i.body,a=Et(o);else if(null==i.body)o=new URLSearchParams,a=new FormData;else try{o=new URLSearchParams(i.body),a=Et(o)}catch(t){return s()}let d={formMethod:c,formAction:h,formEncType:i&&i.formEncType||"application/x-www-form-urlencoded",formData:a,json:void 0,text:void 0};if(Lt(d.formMethod))return{path:n,submission:d};let p=_(n);return e&&p.search&&Rt(p.search)&&o.append("index",""),p.search="?"+o,{path:f(p),submission:d}}function pt(t,e,n,r,o,a,s,l,u,c,h,d,f,_,p,m){let v=m?Object.values(m)[0]:p?Object.values(p)[0]:void 0,g=t.createURL(e.location),b=t.createURL(o),w=m?Object.keys(m)[0]:void 0,E=function(t,e){let n=t;if(e){let i=t.findIndex((t=>t.route.id===e));i>=0&&(n=t.slice(0,i))}return n}(n,w).filter(((t,n)=>{let{route:o}=t;if(o.lazy)return!0;if(null==o.loader)return!1;if(a)return!!o.loader.hydrate||void 0===e.loaderData[o.id]&&(!e.errors||void 0===e.errors[o.id]);if(function(t,e,n){let i=!e||n.route.id!==e.route.id,r=void 0===t[n.route.id];return i||r}(e.loaderData,e.matches[n],t)||l.some((e=>e===t.route.id)))return!0;let u=e.matches[n],c=t;return vt(t,i({currentUrl:g,currentParams:u.params,nextUrl:b,nextParams:c.params},r,{actionResult:v,defaultShouldRevalidate:s||g.pathname+g.search===b.pathname+b.search||g.search!==b.search||mt(u,c)}))})),x=[];return h.forEach(((t,o)=>{if(a||!n.some((e=>e.route.id===t.routeId))||c.has(o))return;let l=y(f,t.path,_);if(!l)return void x.push({key:o,routeId:t.routeId,path:t.path,matches:null,match:null,controller:null});let h=e.fetchers.get(o),p=Pt(l,t.path),m=!1;m=!d.has(o)&&(!!u.includes(o)||(h&&"idle"!==h.state&&void 0===h.data?s:vt(p,i({currentUrl:g,currentParams:e.matches[e.matches.length-1].params,nextUrl:b,nextParams:n[n.length-1].params},r,{actionResult:v,defaultShouldRevalidate:s})))),m&&x.push({key:o,routeId:t.routeId,path:t.path,matches:l,match:p,controller:new AbortController})})),[E,x]}function mt(t,e){let n=t.route.path;return t.pathname!==e.pathname||null!=n&&n.endsWith("*")&&t.params["*"]!==e.params["*"]}function vt(t,e){if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate(e);if("boolean"==typeof n)return n}return e.defaultShouldRevalidate}async function gt(t,e,n){if(!t.lazy)return;let r=await t.lazy();if(!t.lazy)return;let o=n[t.id];u(o,"No route found in manifest");let a={};for(let t in r){let e=void 0!==o[t]&&"hasErrorBoundary"!==t;c(!e,'Route "'+o.id+'" has a static property "'+t+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+t+'" will be ignored.'),e||v.has(t)||(a[t]=r[t])}Object.assign(o,a),Object.assign(o,i({},e(o),{lazy:void 0}))}async function yt(t,e,n,i,r,o,a,s,l){let c,h,d;void 0===l&&(l={});let f=t=>{let i,r=new Promise(((t,e)=>i=e));return d=()=>i(),e.signal.addEventListener("abort",d),Promise.race([t({request:e,params:n.params,context:l.requestContext}),r])};try{let i=n.route[t];if(n.route.lazy)if(i){let t,e=await Promise.all([f(i).catch((e=>{t=e})),gt(n.route,o,r)]);if(t)throw t;h=e[0]}else{if(await gt(n.route,o,r),i=n.route[t],!i){if("action"===t){let t=new URL(e.url),i=t.pathname+t.search;throw St(405,{method:e.method,pathname:i,routeId:n.route.id})}return{type:m.data,data:void 0}}h=await f(i)}else{if(!i){let t=new URL(e.url);throw St(404,{pathname:t.pathname+t.search})}h=await f(i)}u(void 0!==h,"You defined "+("action"===t?"an action":"a loader")+' for route "'+n.route.id+"\" but didn't return anything from your `"+t+"` function. Please return a value or `null`.")}catch(t){c=m.error,h=t}finally{d&&e.signal.removeEventListener("abort",d)}if(null!=(_=h)&&"number"==typeof _.status&&"string"==typeof _.statusText&&"object"==typeof _.headers&&void 0!==_.body){let t,r=h.status;if(rt.has(r)){let t=h.headers.get("Location");if(u(t,"Redirects returned/thrown from loaders/actions must have a Location header"),ut.test(t)){if(!l.isStaticRequest){let n=new URL(e.url),i=t.startsWith("//")?new URL(n.protocol+t):new URL(t),r=null!=$(i.pathname,a);i.origin===n.origin&&r&&(t=i.pathname+i.search+i.hash)}}else t=ft(new URL(e.url),i.slice(0,i.indexOf(n)+1),a,!0,t,s);if(l.isStaticRequest)throw h.headers.set("Location",t),h;return{type:m.redirect,status:r,location:t,revalidate:null!==h.headers.get("X-Remix-Revalidate"),reloadDocument:null!==h.headers.get("X-Remix-Reload-Document")}}if(l.isRouteRequest)throw{type:c===m.error?m.error:m.data,response:h};try{let e=h.headers.get("Content-Type");t=e&&/\bapplication\/json\b/.test(e)?null==h.body?null:await h.json():await h.text()}catch(t){return{type:m.error,error:t}}return c===m.error?{type:c,error:new K(r,h.statusText,t),headers:h.headers}:{type:m.data,data:t,statusCode:h.status,headers:h.headers}}var _,p,v;return c===m.error?{type:c,error:h}:function(t){let e=t;return e&&"object"==typeof e&&"object"==typeof e.data&&"function"==typeof e.subscribe&&"function"==typeof e.cancel&&"function"==typeof e.resolveData}(h)?{type:m.deferred,deferredData:h,statusCode:null==(p=h.init)?void 0:p.status,headers:(null==(v=h.init)?void 0:v.headers)&&new Headers(h.init.headers)}:{type:m.data,data:h}}function bt(t,e,n,i){let r=t.createURL(kt(e)).toString(),o={signal:n};if(i&&Lt(i.formMethod)){let{formMethod:t,formEncType:e}=i;o.method=t.toUpperCase(),"application/json"===e?(o.headers=new Headers({"Content-Type":e}),o.body=JSON.stringify(i.json)):"text/plain"===e?o.body=i.text:"application/x-www-form-urlencoded"===e&&i.formData?o.body=wt(i.formData):o.body=i.formData}return new Request(r,o)}function wt(t){let e=new URLSearchParams;for(let[n,i]of t.entries())e.append(n,"string"==typeof i?i:i.name);return e}function Et(t){let e=new FormData;for(let[n,i]of t.entries())e.append(n,i);return e}function xt(t,e,n,r,o,a,s,l){let{loaderData:c,errors:h}=function(t,e,n,i,r){let o,a={},s=null,l=!1,c={};return n.forEach(((n,h)=>{let d=e[h].route.id;if(u(!Ot(n),"Cannot handle redirect results in processLoaderData"),It(n)){let e=Tt(t,d),r=n.error;i&&(r=Object.values(i)[0],i=void 0),s=s||{},null==s[e.route.id]&&(s[e.route.id]=r),a[d]=void 0,l||(l=!0,o=Q(n.error)?n.error.status:500),n.headers&&(c[d]=n.headers)}else Nt(n)?(r.set(d,n.deferredData),a[d]=n.deferredData.data):a[d]=n.data,null==n.statusCode||200===n.statusCode||l||(o=n.statusCode),n.headers&&(c[d]=n.headers)})),i&&(s=i,a[Object.keys(i)[0]]=void 0),{loaderData:a,errors:s,statusCode:o||200,loaderHeaders:c}}(e,n,r,o,l);for(let e=0;et.route.id===e))+1):[...t]).reverse().find((t=>!0===t.route.hasErrorBoundary))||t[0]}function At(t){let e=1===t.length?t[0]:t.find((t=>t.index||!t.path||"/"===t.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:e}],route:e}}function St(t,e){let{pathname:n,routeId:i,method:r,type:o}=void 0===e?{}:e,a="Unknown Server Error",s="Unknown @remix-run/router error";return 400===t?(a="Bad Request",r&&n&&i?s="You made a "+r+' request to "'+n+'" but did not provide a `loader` for route "'+i+'", so there is no way to handle the request.':"defer-action"===o?s="defer() is not supported in actions":"invalid-body"===o&&(s="Unable to encode submission body")):403===t?(a="Forbidden",s='Route "'+i+'" does not match URL "'+n+'"'):404===t?(a="Not Found",s='No route matches URL "'+n+'"'):405===t&&(a="Method Not Allowed",r&&n&&i?s="You made a "+r.toUpperCase()+' request to "'+n+'" but did not provide an `action` for route "'+i+'", so there is no way to handle the request.':r&&(s='Invalid request method "'+r.toUpperCase()+'"')),new K(t||500,a,new Error(s),!0)}function zt(t){for(let e=t.length-1;e>=0;e--){let n=t[e];if(Ot(n))return{result:n,idx:e}}}function kt(t){return f(i({},"string"==typeof t?_(t):t,{hash:""}))}function Nt(t){return t.type===m.deferred}function It(t){return t.type===m.error}function Ot(t){return(t&&t.type)===m.redirect}function Lt(t){return et.has(t.toLowerCase())}async function Mt(t,e,n,i,r,o){for(let a=0;at.route.id===l.route.id)),h=null!=c&&!mt(c,l)&&void 0!==(o&&o[l.route.id]);if(Nt(s)&&(r||h)){let t=i[a];u(t,"Expected an AbortSignal for revalidating fetcher deferred result"),await $t(s,t,r).then((t=>{t&&(n[a]=t||n[a])}))}}}async function $t(t,e,n){if(void 0===n&&(n=!1),!await t.deferredData.resolveData(e)){if(n)try{return{type:m.data,data:t.deferredData.unwrappedData}}catch(t){return{type:m.error,error:t}}return{type:m.data,data:t.deferredData.data}}}function Rt(t){return new URLSearchParams(t).getAll("index").some((t=>""===t))}function Pt(t,e){let n="string"==typeof e?_(e).search:e.search;if(t[t.length-1].route.index&&Rt(n||""))return t[t.length-1];let i=U(t);return i[i.length-1]}function Ut(t){let{formMethod:e,formAction:n,formEncType:i,text:r,formData:o,json:a}=t;if(e&&n&&i)return null!=r?{formMethod:e,formAction:n,formEncType:i,formData:void 0,json:void 0,text:r}:null!=o?{formMethod:e,formAction:n,formEncType:i,formData:o,json:void 0,text:void 0}:void 0!==a?{formMethod:e,formAction:n,formEncType:i,formData:void 0,json:a,text:void 0}:void 0}function jt(t,e){return e?{state:"loading",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}:{state:"loading",location:t,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function qt(t,e){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Dt(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}Symbol("deferred")},10734:t=>{"use strict";const e=(t,e,n)=>{const i=e<0?t.length+e:e;if(i>=0&&i(t=[...t],e(t,n,i),t),t.exports.mutate=e},43180:function(t){t.exports=function(){"use strict";function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function e(e){for(var n=1;n0&&t<1/0},h=Array.prototype.slice;function d(t){return Array.from?Array.from(t):h.call(t)}var f=/^image\/.+$/;function _(t){return f.test(t)}var p=String.fromCharCode;var m=u.btoa;function v(t,e){for(var n=[],i=new Uint8Array(t);i.length>0;)n.push(p.apply(null,d(i.subarray(0,8192)))),i=i.subarray(8192);return"data:".concat(e,";base64,").concat(m(n.join("")))}function g(t){var e,n=new DataView(t);try{var i,r,o;if(255===n.getUint8(0)&&216===n.getUint8(1))for(var a=n.byteLength,s=2;s+1=8&&(o=l+c)}}}if(o){var h,d,f=n.getUint16(o,i);for(d=0;d1&&void 0!==arguments[1]?arguments[1]:1e11;return y.test(t)?Math.round(t*e)/e:t}function w(t){var e=t.aspectRatio,n=t.height,i=t.width,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",o=c(i),a=c(n);if(o&&a){var s=n*e;("contain"===r||"none"===r)&&s>i||"cover"===r&&s1&&r(a,function(t){var e=0,n=1,i=1;switch(t){case 2:n=-1;break;case 3:e=-180;break;case 4:i=-1;break;case 5:e=90,i=-1;break;case 6:e=90;break;case 7:e=90,n=-1;break;case 8:e=-90}return{rotate:e,scaleX:n,scaleY:i}}(u)),l&&(e.exif=function(t){for(var e=d(new Uint8Array(t)),n=e.length,i=[],r=0;r+31?v(i,o):C.createObjectURL(n):i,e.load(a)},u.onabort=function(){e.fail(new Error("Aborted to read the image with FileReader."))},u.onerror=function(){e.fail(new Error("Failed to read the image with FileReader."))},u.onloadend=function(){e.reader=null},s||l?u.readAsArrayBuffer(n):u.readAsDataURL(n)}else this.load({url:C.createObjectURL(n)})}else this.fail(new Error("The current browser does not support image compression."));else this.fail(new Error("The first argument must be an image File or Blob object."))}else this.fail(new Error("The first argument must be a File or Blob object."))}},{key:"load",value:function(t){var n=this,i=this.file,r=this.image;r.onload=function(){n.draw(e(e({},t),{},{naturalWidth:r.naturalWidth,naturalHeight:r.naturalHeight}))},r.onabort=function(){n.fail(new Error("Aborted to load the image."))},r.onerror=function(){n.fail(new Error("Failed to load the image."))},u.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(u.navigator.userAgent)&&(r.crossOrigin="anonymous"),r.alt=i.name,r.src=t.url}},{key:"draw",value:function(t){var e=this,n=t.naturalWidth,i=t.naturalHeight,r=t.rotate,o=void 0===r?0:r,a=t.scaleX,l=void 0===a?1:a,u=t.scaleY,h=void 0===u?1:u,f=this.file,p=this.image,m=this.options,g=document.createElement("canvas"),y=g.getContext("2d"),E=Math.abs(o)%180==90,C=("contain"===m.resize||"cover"===m.resize)&&c(m.width)&&c(m.height),T=Math.max(m.maxWidth,0)||1/0,A=Math.max(m.maxHeight,0)||1/0,S=Math.max(m.minWidth,0)||0,z=Math.max(m.minHeight,0)||0,k=n/i,N=m.width,I=m.height;if(E){var O=[A,T];T=O[0],A=O[1];var L=[z,S];S=L[0],z=L[1];var M=[I,N];N=M[0],I=M[1]}C&&(k=N/I);var $=w({aspectRatio:k,width:T,height:A},"contain");T=$.width,A=$.height;var R=w({aspectRatio:k,width:S,height:z},"cover");if(S=R.width,z=R.height,C){var P=w({aspectRatio:k,width:N,height:I},m.resize);N=P.width,I=P.height}else{var U=w({aspectRatio:k,width:N,height:I}),j=U.width;N=void 0===j?n:j;var q=U.height;I=void 0===q?i:q}var D=-(N=Math.floor(b(Math.min(Math.max(N,S),T))))/2,B=-(I=Math.floor(b(Math.min(Math.max(I,z),A))))/2,F=N,W=I,G=[];if(C){var H,V,X,J,Z=w({aspectRatio:k,width:n,height:i},{contain:"cover",cover:"contain"}[m.resize]);X=Z.width,J=Z.height,H=(n-X)/2,V=(i-J)/2,G.push(H,V,X,J)}if(G.push(D,B,F,W),E){var Y=[I,N];N=Y[0],I=Y[1]}g.width=N,g.height=I,_(m.mimeType)||(m.mimeType=f.type);var K="transparent";f.size>m.convertSize&&m.convertTypes.indexOf(m.mimeType)>=0&&(m.mimeType="image/jpeg");var Q="image/jpeg"===m.mimeType;if(Q&&(K="#fff"),y.fillStyle=K,y.fillRect(0,0,N,I),m.beforeDraw&&m.beforeDraw.call(this,y,g),!this.aborted&&(y.save(),y.translate(N/2,I/2),y.rotate(o*Math.PI/180),y.scale(l,h),y.drawImage.apply(y,[p].concat(G)),y.restore(),m.drew&&m.drew.call(this,y,g),!this.aborted)){var tt=function(t){if(!e.aborted){var r=function(t){return e.done({naturalWidth:n,naturalHeight:i,result:t})};if(t&&Q&&m.retainExif&&e.exif&&e.exif.length>0){var o=function(t){return r(s(v(function(t,e){var n=d(new Uint8Array(t));if(255!==n[2]||224!==n[3])return t;var i=256*n[4]+n[5],r=[255,216].concat(e,n.slice(4+i));return new Uint8Array(r)}(t,e.exif),m.mimeType)))};if(t.arrayBuffer)t.arrayBuffer().then(o).catch((function(){e.fail(new Error("Failed to read the compressed image with Blob.arrayBuffer()."))}));else{var a=new x;e.reader=a,a.onload=function(t){var e=t.target;o(e.result)},a.onabort=function(){e.fail(new Error("Aborted to read the compressed image with FileReader."))},a.onerror=function(){e.fail(new Error("Failed to read the compressed image with FileReader."))},a.onloadend=function(){e.reader=null},a.readAsArrayBuffer(t)}}else r(t)}};g.toBlob?g.toBlob(tt,m.mimeType,m.quality):tt(s(g.toDataURL(m.mimeType,m.quality)))}}},{key:"done",value:function(t){var e,n,i=t.naturalWidth,r=t.naturalHeight,o=t.result,a=this.file,s=this.image,l=this.options;if(C&&0===s.src.indexOf("blob:")&&C.revokeObjectURL(s.src),o)if(l.strict&&!l.retainExif&&o.size>a.size&&l.mimeType===a.type&&!(l.width>i||l.height>r||l.minWidth>i||l.minHeight>r||l.maxWidth{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,r,o){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(i)for(var s=0;s0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),e.push(c))}},e}},97796:t=>{"use strict";t.exports=function(t){var e=t[1],n=t[3];if(!n)return e;if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),o="/*# ".concat(r," */");return[e].concat([o]).join("\n")}return[e].join("\n")}},33852:(t,e,n)=>{e.UINT32=n(99581),e.UINT64=n(13344)},99581:function(t,e){var n;!function(i){function r(t,e){return this instanceof r?(this._low=0,this._high=0,this.remainder=null,void 0===e?a.call(this,t):"string"==typeof t?s.call(this,t,e):void o.call(this,t,e)):new r(t,e)}function o(t,e){return this._low=0|t,this._high=0|e,this}function a(t){return this._low=65535&t,this._high=t>>>16,this}function s(t,e){var n=parseInt(t,e||10);return this._low=65535&n,this._high=n>>>16,this}r(Math.pow(36,5)),r(Math.pow(16,7)),r(Math.pow(10,9)),r(Math.pow(2,30)),r(36),r(16),r(10),r(2),r.prototype.fromBits=o,r.prototype.fromNumber=a,r.prototype.fromString=s,r.prototype.toNumber=function(){return 65536*this._high+this._low},r.prototype.toString=function(t){return this.toNumber().toString(t||10)},r.prototype.add=function(t){var e=this._low+t._low,n=e>>>16;return n+=this._high+t._high,this._low=65535&e,this._high=65535&n,this},r.prototype.subtract=function(t){return this.add(t.clone().negate())},r.prototype.multiply=function(t){var e,n,i=this._high,r=this._low,o=t._high,a=t._low;return e=(n=r*a)>>>16,e+=i*a,e&=65535,e+=r*o,this._low=65535&n,this._high=65535&e,this},r.prototype.div=function(t){if(0==t._low&&0==t._high)throw Error("division by zero");if(0==t._high&&1==t._low)return this.remainder=new r(0),this;if(t.gt(this))return this.remainder=this.clone(),this._low=0,this._high=0,this;if(this.eq(t))return this.remainder=new r(0),this._low=1,this._high=0,this;for(var e=t.clone(),n=-1;!this.lt(e);)e.shiftLeft(1,!0),n++;for(this.remainder=this.clone(),this._low=0,this._high=0;n>=0;n--)e.shiftRight(1),this.remainder.lt(e)||(this.remainder.subtract(e),n>=16?this._high|=1<>>16)&65535,this},r.prototype.equals=r.prototype.eq=function(t){return this._low==t._low&&this._high==t._high},r.prototype.greaterThan=r.prototype.gt=function(t){return this._high>t._high||!(this._hight._low},r.prototype.lessThan=r.prototype.lt=function(t){return this._hight._high)&&this._low16?(this._low=this._high>>t-16,this._high=0):16==t?(this._low=this._high,this._high=0):(this._low=this._low>>t|this._high<<16-t&65535,this._high>>=t),this},r.prototype.shiftLeft=r.prototype.shiftl=function(t,e){return t>16?(this._high=this._low<>16-t,this._low=this._low<>>32-t,this._low=65535&e,this._high=e>>>16,this},r.prototype.rotateRight=r.prototype.rotr=function(t){var e=this._high<<16|this._low;return e=e>>>t|e<<32-t,this._low=65535&e,this._high=e>>>16,this},r.prototype.clone=function(){return new r(this._low,this._high)},void 0===(n=function(){return r}.apply(e,[]))||(t.exports=n)}()},13344:function(t,e){var n;!function(i){var r={16:a(Math.pow(16,5)),10:a(Math.pow(10,5)),2:a(Math.pow(2,5))},o={16:a(16),10:a(10),2:a(2)};function a(t,e,n,i){return this instanceof a?(this.remainder=null,"string"==typeof t?u.call(this,t,e):void 0===e?l.call(this,t):void s.apply(this,arguments)):new a(t,e,n,i)}function s(t,e,n,i){return void 0===n?(this._a00=65535&t,this._a16=t>>>16,this._a32=65535&e,this._a48=e>>>16,this):(this._a00=0|t,this._a16=0|e,this._a32=0|n,this._a48=0|i,this)}function l(t){return this._a00=65535&t,this._a16=t>>>16,this._a32=0,this._a48=0,this}function u(t,e){e=e||10,this._a00=0,this._a16=0,this._a32=0,this._a48=0;for(var n=r[e]||new a(Math.pow(e,5)),i=0,o=t.length;i=0&&(n.div(e),i[r]=n.remainder.toNumber().toString(t),n.gt(e));r--);return i[r-1]=n.toNumber().toString(t),i.join("")},a.prototype.add=function(t){var e=this._a00+t._a00,n=e>>>16,i=(n+=this._a16+t._a16)>>>16,r=(i+=this._a32+t._a32)>>>16;return r+=this._a48+t._a48,this._a00=65535&e,this._a16=65535&n,this._a32=65535&i,this._a48=65535&r,this},a.prototype.subtract=function(t){return this.add(t.clone().negate())},a.prototype.multiply=function(t){var e=this._a00,n=this._a16,i=this._a32,r=this._a48,o=t._a00,a=t._a16,s=t._a32,l=e*o,u=l>>>16,c=(u+=e*a)>>>16;u&=65535,c+=(u+=n*o)>>>16;var h=(c+=e*s)>>>16;return c&=65535,h+=(c+=n*a)>>>16,c&=65535,h+=(c+=i*o)>>>16,h+=e*t._a48,h&=65535,h+=n*s,h&=65535,h+=i*a,h&=65535,h+=r*o,this._a00=65535&l,this._a16=65535&u,this._a32=65535&c,this._a48=65535&h,this},a.prototype.div=function(t){if(0==t._a16&&0==t._a32&&0==t._a48){if(0==t._a00)throw Error("division by zero");if(1==t._a00)return this.remainder=new a(0),this}if(t.gt(this))return this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0,this;if(this.eq(t))return this.remainder=new a(0),this._a00=1,this._a16=0,this._a32=0,this._a48=0,this;for(var e=t.clone(),n=-1;!this.lt(e);)e.shiftLeft(1,!0),n++;for(this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0;n>=0;n--)e.shiftRight(1),this.remainder.lt(e)||(this.remainder.subtract(e),n>=48?this._a48|=1<=32?this._a32|=1<=16?this._a16|=1<>>16),this._a16=65535&t,t=(65535&~this._a32)+(t>>>16),this._a32=65535&t,this._a48=~this._a48+(t>>>16)&65535,this},a.prototype.equals=a.prototype.eq=function(t){return this._a48==t._a48&&this._a00==t._a00&&this._a32==t._a32&&this._a16==t._a16},a.prototype.greaterThan=a.prototype.gt=function(t){return this._a48>t._a48||!(this._a48t._a32||!(this._a32t._a16||!(this._a16t._a00))},a.prototype.lessThan=a.prototype.lt=function(t){return this._a48t._a48)&&(this._a32t._a32)&&(this._a16t._a16)&&this._a00=48?(this._a00=this._a48>>t-48,this._a16=0,this._a32=0,this._a48=0):t>=32?(t-=32,this._a00=65535&(this._a32>>t|this._a48<<16-t),this._a16=this._a48>>t&65535,this._a32=0,this._a48=0):t>=16?(t-=16,this._a00=65535&(this._a16>>t|this._a32<<16-t),this._a16=65535&(this._a32>>t|this._a48<<16-t),this._a32=this._a48>>t&65535,this._a48=0):(this._a00=65535&(this._a00>>t|this._a16<<16-t),this._a16=65535&(this._a16>>t|this._a32<<16-t),this._a32=65535&(this._a32>>t|this._a48<<16-t),this._a48=this._a48>>t&65535),this},a.prototype.shiftLeft=a.prototype.shiftl=function(t,e){return(t%=64)>=48?(this._a48=this._a00<=32?(t-=32,this._a48=this._a16<>16-t,this._a32=this._a00<=16?(t-=16,this._a48=this._a32<>16-t,this._a32=65535&(this._a16<>16-t),this._a16=this._a00<>16-t,this._a32=65535&(this._a32<>16-t),this._a16=65535&(this._a16<>16-t),this._a00=this._a00<=32){var e=this._a00;if(this._a00=this._a32,this._a32=e,e=this._a48,this._a48=this._a16,this._a16=e,32==t)return this;t-=32}var n=this._a48<<16|this._a32,i=this._a16<<16|this._a00,r=n<>>32-t,o=i<>>32-t;return this._a00=65535&o,this._a16=o>>>16,this._a32=65535&r,this._a48=r>>>16,this},a.prototype.rotateRight=a.prototype.rotr=function(t){if(0==(t%=64))return this;if(t>=32){var e=this._a00;if(this._a00=this._a32,this._a32=e,e=this._a48,this._a48=this._a16,this._a16=e,32==t)return this;t-=32}var n=this._a48<<16|this._a32,i=this._a16<<16|this._a00,r=n>>>t|i<<32-t,o=i>>>t|n<<32-t;return this._a00=65535&o,this._a16=o>>>16,this._a32=65535&r,this._a48=r>>>16,this},a.prototype.clone=function(){return new a(this._a00,this._a16,this._a32,this._a48)},void 0===(n=function(){return a}.apply(e,[]))||(t.exports=n)}()},70792:function(t){t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:i,getOwnPropertyDescriptor:r}=Object;let{freeze:o,seal:a,create:s}=Object,{apply:l,construct:u}="undefined"!=typeof Reflect&&Reflect;o||(o=function(t){return t}),a||(a=function(t){return t}),l||(l=function(t,e,n){return t.apply(e,n)}),u||(u=function(t,e){return new t(...e)});const c=x(Array.prototype.forEach),h=x(Array.prototype.pop),d=x(Array.prototype.push),f=x(String.prototype.toLowerCase),_=x(String.prototype.toString),p=x(String.prototype.match),m=x(String.prototype.replace),v=x(String.prototype.indexOf),g=x(String.prototype.trim),y=x(Object.prototype.hasOwnProperty),b=x(RegExp.prototype.test),w=(E=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n1?n-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:f;e&&e(t,null);let o=i.length;for(;o--;){let e=i[o];if("string"==typeof e){const t=r(e);t!==e&&(n(i)||(i[o]=t),e=t)}t[e]=!0}return t}function T(t){for(let e=0;e/gm),D=a(/\${[\w\W]*}/gm),B=a(/^data-[\-\w.\u00B7-\uFFFF]/),F=a(/^aria-[\-\w]+$/),W=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),G=a(/^(?:\w+script|data):/i),H=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),V=a(/^html$/i),X=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var J=Object.freeze({__proto__:null,MUSTACHE_EXPR:j,ERB_EXPR:q,TMPLIT_EXPR:D,DATA_ATTR:B,ARIA_ATTR:F,IS_ALLOWED_URI:W,IS_SCRIPT_OR_DATA:G,ATTR_WHITESPACE:H,DOCTYPE_NAME:V,CUSTOM_ELEMENT:X});const Z=function(){return"undefined"==typeof window?null:window};return function e(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z();const i=t=>e(t);if(i.version="3.0.11",i.removed=[],!n||!n.document||9!==n.document.nodeType)return i.isSupported=!1,i;let{document:r}=n;const a=r,l=a.currentScript,{DocumentFragment:u,HTMLTemplateElement:E,Node:x,Element:T,NodeFilter:j,NamedNodeMap:q=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:D,DOMParser:B,trustedTypes:F}=n,G=T.prototype,H=S(G,"cloneNode"),X=S(G,"nextSibling"),Y=S(G,"childNodes"),K=S(G,"parentNode");if("function"==typeof E){const t=r.createElement("template");t.content&&t.content.ownerDocument&&(r=t.content.ownerDocument)}let Q,tt="";const{implementation:et,createNodeIterator:nt,createDocumentFragment:it,getElementsByTagName:rt}=r,{importNode:ot}=a;let at={};i.isSupported="function"==typeof t&&"function"==typeof K&&et&&void 0!==et.createHTMLDocument;const{MUSTACHE_EXPR:st,ERB_EXPR:lt,TMPLIT_EXPR:ut,DATA_ATTR:ct,ARIA_ATTR:ht,IS_SCRIPT_OR_DATA:dt,ATTR_WHITESPACE:ft,CUSTOM_ELEMENT:_t}=J;let{IS_ALLOWED_URI:pt}=J,mt=null;const vt=C({},[...z,...k,...N,...O,...M]);let gt=null;const yt=C({},[...$,...R,...P,...U]);let bt=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),wt=null,Et=null,xt=!0,Ct=!0,Tt=!1,At=!0,St=!1,zt=!1,kt=!1,Nt=!1,It=!1,Ot=!1,Lt=!1,Mt=!0,$t=!1,Rt=!0,Pt=!1,Ut={},jt=null;const qt=C({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Dt=null;const Bt=C({},["audio","video","img","source","image","track"]);let Ft=null;const Wt=C({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Gt="http://www.w3.org/1998/Math/MathML",Ht="http://www.w3.org/2000/svg",Vt="http://www.w3.org/1999/xhtml";let Xt=Vt,Jt=!1,Zt=null;const Yt=C({},[Gt,Ht,Vt],_);let Kt=null;const Qt=["application/xhtml+xml","text/html"];let te=null,ee=null;const ne=r.createElement("form"),ie=function(t){return t instanceof RegExp||t instanceof Function},re=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ee||ee!==t){if(t&&"object"==typeof t||(t={}),t=A(t),Kt=-1===Qt.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,te="application/xhtml+xml"===Kt?_:f,mt=y(t,"ALLOWED_TAGS")?C({},t.ALLOWED_TAGS,te):vt,gt=y(t,"ALLOWED_ATTR")?C({},t.ALLOWED_ATTR,te):yt,Zt=y(t,"ALLOWED_NAMESPACES")?C({},t.ALLOWED_NAMESPACES,_):Yt,Ft=y(t,"ADD_URI_SAFE_ATTR")?C(A(Wt),t.ADD_URI_SAFE_ATTR,te):Wt,Dt=y(t,"ADD_DATA_URI_TAGS")?C(A(Bt),t.ADD_DATA_URI_TAGS,te):Bt,jt=y(t,"FORBID_CONTENTS")?C({},t.FORBID_CONTENTS,te):qt,wt=y(t,"FORBID_TAGS")?C({},t.FORBID_TAGS,te):{},Et=y(t,"FORBID_ATTR")?C({},t.FORBID_ATTR,te):{},Ut=!!y(t,"USE_PROFILES")&&t.USE_PROFILES,xt=!1!==t.ALLOW_ARIA_ATTR,Ct=!1!==t.ALLOW_DATA_ATTR,Tt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,At=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,St=t.SAFE_FOR_TEMPLATES||!1,zt=t.WHOLE_DOCUMENT||!1,It=t.RETURN_DOM||!1,Ot=t.RETURN_DOM_FRAGMENT||!1,Lt=t.RETURN_TRUSTED_TYPE||!1,Nt=t.FORCE_BODY||!1,Mt=!1!==t.SANITIZE_DOM,$t=t.SANITIZE_NAMED_PROPS||!1,Rt=!1!==t.KEEP_CONTENT,Pt=t.IN_PLACE||!1,pt=t.ALLOWED_URI_REGEXP||W,Xt=t.NAMESPACE||Vt,bt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ie(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(bt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ie(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(bt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(bt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),St&&(Ct=!1),Ot&&(It=!0),Ut&&(mt=C({},M),gt=[],!0===Ut.html&&(C(mt,z),C(gt,$)),!0===Ut.svg&&(C(mt,k),C(gt,R),C(gt,U)),!0===Ut.svgFilters&&(C(mt,N),C(gt,R),C(gt,U)),!0===Ut.mathMl&&(C(mt,O),C(gt,P),C(gt,U))),t.ADD_TAGS&&(mt===vt&&(mt=A(mt)),C(mt,t.ADD_TAGS,te)),t.ADD_ATTR&&(gt===yt&&(gt=A(gt)),C(gt,t.ADD_ATTR,te)),t.ADD_URI_SAFE_ATTR&&C(Ft,t.ADD_URI_SAFE_ATTR,te),t.FORBID_CONTENTS&&(jt===qt&&(jt=A(jt)),C(jt,t.FORBID_CONTENTS,te)),Rt&&(mt["#text"]=!0),zt&&C(mt,["html","head","body"]),mt.table&&(C(mt,["tbody"]),delete wt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Q=t.TRUSTED_TYPES_POLICY,tt=Q.createHTML("")}else void 0===Q&&(Q=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(n=e.getAttribute(i));const r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(F,l)),null!==Q&&"string"==typeof tt&&(tt=Q.createHTML(""));o&&o(t),ee=t}},oe=C({},["mi","mo","mn","ms","mtext"]),ae=C({},["foreignobject","desc","title","annotation-xml"]),se=C({},["title","style","font","a","script"]),le=C({},[...k,...N,...I]),ue=C({},[...O,...L]),ce=function(t){d(i.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},he=function(t,e){try{d(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){d(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!gt[t])if(It||Ot)try{ce(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},de=function(t){let e=null,n=null;if(Nt)t=""+t;else{const e=p(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Kt&&Xt===Vt&&(t=''+t+"");const i=Q?Q.createHTML(t):t;if(Xt===Vt)try{e=(new B).parseFromString(i,Kt)}catch(t){}if(!e||!e.documentElement){e=et.createDocument(Xt,"template",null);try{e.documentElement.innerHTML=Jt?tt:i}catch(t){}}const o=e.body||e.documentElement;return t&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),Xt===Vt?rt.call(e,zt?"html":"body")[0]:zt?e.documentElement:o},fe=function(t){return nt.call(t.ownerDocument||t,t,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT|j.SHOW_PROCESSING_INSTRUCTION|j.SHOW_CDATA_SECTION,null)},_e=function(t){return"function"==typeof x&&t instanceof x},pe=function(t,e,n){at[t]&&c(at[t],(t=>{t.call(i,e,n,ee)}))},me=function(t){let e=null;if(pe("beforeSanitizeElements",t,null),(n=t)instanceof D&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof q)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return ce(t),!0;var n;const r=te(t.nodeName);if(pe("uponSanitizeElement",t,{tagName:r,allowedTags:mt}),t.hasChildNodes()&&!_e(t.firstElementChild)&&b(/<[/\w]/g,t.innerHTML)&&b(/<[/\w]/g,t.textContent))return ce(t),!0;if(7===t.nodeType)return ce(t),!0;if(!mt[r]||wt[r]){if(!wt[r]&&ge(r)){if(bt.tagNameCheck instanceof RegExp&&b(bt.tagNameCheck,r))return!1;if(bt.tagNameCheck instanceof Function&&bt.tagNameCheck(r))return!1}if(Rt&&!jt[r]){const e=K(t)||t.parentNode,n=Y(t)||t.childNodes;if(n&&e)for(let i=n.length-1;i>=0;--i)e.insertBefore(H(n[i],!0),X(t))}return ce(t),!0}return t instanceof T&&!function(t){let e=K(t);e&&e.tagName||(e={namespaceURI:Xt,tagName:"template"});const n=f(t.tagName),i=f(e.tagName);return!!Zt[t.namespaceURI]&&(t.namespaceURI===Ht?e.namespaceURI===Vt?"svg"===n:e.namespaceURI===Gt?"svg"===n&&("annotation-xml"===i||oe[i]):Boolean(le[n]):t.namespaceURI===Gt?e.namespaceURI===Vt?"math"===n:e.namespaceURI===Ht?"math"===n&&ae[i]:Boolean(ue[n]):t.namespaceURI===Vt?!(e.namespaceURI===Ht&&!ae[i])&&!(e.namespaceURI===Gt&&!oe[i])&&!ue[n]&&(se[n]||!le[n]):!("application/xhtml+xml"!==Kt||!Zt[t.namespaceURI]))}(t)?(ce(t),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!b(/<\/no(script|embed|frames)/i,t.innerHTML)?(St&&3===t.nodeType&&(e=t.textContent,c([st,lt,ut],(t=>{e=m(e,t," ")})),t.textContent!==e&&(d(i.removed,{element:t.cloneNode()}),t.textContent=e)),pe("afterSanitizeElements",t,null),!1):(ce(t),!0)},ve=function(t,e,n){if(Mt&&("id"===e||"name"===e)&&(n in r||n in ne))return!1;if(Ct&&!Et[e]&&b(ct,e));else if(xt&&b(ht,e));else if(!gt[e]||Et[e]){if(!(ge(t)&&(bt.tagNameCheck instanceof RegExp&&b(bt.tagNameCheck,t)||bt.tagNameCheck instanceof Function&&bt.tagNameCheck(t))&&(bt.attributeNameCheck instanceof RegExp&&b(bt.attributeNameCheck,e)||bt.attributeNameCheck instanceof Function&&bt.attributeNameCheck(e))||"is"===e&&bt.allowCustomizedBuiltInElements&&(bt.tagNameCheck instanceof RegExp&&b(bt.tagNameCheck,n)||bt.tagNameCheck instanceof Function&&bt.tagNameCheck(n))))return!1}else if(Ft[e]);else if(b(pt,m(n,ft,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==v(n,"data:")||!Dt[t])if(Tt&&!b(dt,m(n,ft,"")));else if(n)return!1;return!0},ge=function(t){return"annotation-xml"!==t&&p(t,_t)},ye=function(t){pe("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:gt};let r=e.length;for(;r--;){const o=e[r],{name:a,namespaceURI:s,value:l}=o,u=te(a);let d="value"===a?l:g(l);if(n.attrName=u,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,pe("uponSanitizeAttribute",t,n),d=n.attrValue,n.forceKeepAttr)continue;if(he(a,t),!n.keepAttr)continue;if(!At&&b(/\/>/i,d)){he(a,t);continue}St&&c([st,lt,ut],(t=>{d=m(d,t," ")}));const f=te(t.nodeName);if(ve(f,u,d)){if(!$t||"id"!==u&&"name"!==u||(he(a,t),d="user-content-"+d),Q&&"object"==typeof F&&"function"==typeof F.getAttributeType)if(s);else switch(F.getAttributeType(f,u)){case"TrustedHTML":d=Q.createHTML(d);break;case"TrustedScriptURL":d=Q.createScriptURL(d)}try{s?t.setAttributeNS(s,a,d):t.setAttribute(a,d),h(i.removed)}catch(t){}}}pe("afterSanitizeAttributes",t,null)},be=function t(e){let n=null;const i=fe(e);for(pe("beforeSanitizeShadowDOM",e,null);n=i.nextNode();)pe("uponSanitizeShadowNode",n,null),me(n)||(n.content instanceof u&&t(n.content),ye(n));pe("afterSanitizeShadowDOM",e,null)};return i.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,o=null,s=null;if(Jt=!t,Jt&&(t="\x3c!--\x3e"),"string"!=typeof t&&!_e(t)){if("function"!=typeof t.toString)throw w("toString is not a function");if("string"!=typeof(t=t.toString()))throw w("dirty is not a string, aborting")}if(!i.isSupported)return t;if(kt||re(e),i.removed=[],"string"==typeof t&&(Pt=!1),Pt){if(t.nodeName){const e=te(t.nodeName);if(!mt[e]||wt[e])throw w("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof x)n=de("\x3c!----\x3e"),r=n.ownerDocument.importNode(t,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!It&&!St&&!zt&&-1===t.indexOf("<"))return Q&&Lt?Q.createHTML(t):t;if(n=de(t),!n)return It?null:Lt?tt:""}n&&Nt&&ce(n.firstChild);const l=fe(Pt?t:n);for(;o=l.nextNode();)me(o)||(o.content instanceof u&&be(o.content),ye(o));if(Pt)return t;if(It){if(Ot)for(s=it.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(gt.shadowroot||gt.shadowrootmode)&&(s=ot.call(a,s,!0)),s}let h=zt?n.outerHTML:n.innerHTML;return zt&&mt["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&b(V,n.ownerDocument.doctype.name)&&(h="\n"+h),St&&c([st,lt,ut],(t=>{h=m(h,t," ")})),Q&&Lt?Q.createHTML(h):h},i.setConfig=function(){re(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),kt=!0},i.clearConfig=function(){ee=null,kt=!1},i.isValidAttribute=function(t,e,n){ee||re({});const i=te(t),r=te(e);return ve(i,r,n)},i.addHook=function(t,e){"function"==typeof e&&(at[t]=at[t]||[],d(at[t],e))},i.removeHook=function(t){if(at[t])return h(at[t])},i.removeHooks=function(t){at[t]&&(at[t]=[])},i.removeAllHooks=function(){at={}},i}()}()},69060:(t,e,n)=>{"use strict";var i=n(38381),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(t){return i.isMemo(t)?a:s[t.$$typeof]||r}s[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[i.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,_=Object.prototype;t.exports=function t(e,n,i){if("string"!=typeof n){if(_){var r=f(n);r&&r!==_&&t(e,r,i)}var a=c(n);h&&(a=a.concat(h(n)));for(var s=l(e),p=l(n),m=0;m{"use strict";var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,r=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,_=n?Symbol.for("react.suspense_list"):60120,p=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function w(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case c:case h:case o:case s:case a:case f:return t;default:switch(t=t&&t.$$typeof){case u:case d:case m:case p:case l:return t;default:return e}}case r:return e}}}function E(t){return w(t)===h}e.AsyncMode=c,e.ConcurrentMode=h,e.ContextConsumer=u,e.ContextProvider=l,e.Element=i,e.ForwardRef=d,e.Fragment=o,e.Lazy=m,e.Memo=p,e.Portal=r,e.Profiler=s,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(t){return E(t)||w(t)===c},e.isConcurrentMode=E,e.isContextConsumer=function(t){return w(t)===u},e.isContextProvider=function(t){return w(t)===l},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return w(t)===d},e.isFragment=function(t){return w(t)===o},e.isLazy=function(t){return w(t)===m},e.isMemo=function(t){return w(t)===p},e.isPortal=function(t){return w(t)===r},e.isProfiler=function(t){return w(t)===s},e.isStrictMode=function(t){return w(t)===a},e.isSuspense=function(t){return w(t)===f},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===h||t===s||t===a||t===f||t===_||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===p||t.$$typeof===l||t.$$typeof===u||t.$$typeof===d||t.$$typeof===g||t.$$typeof===y||t.$$typeof===b||t.$$typeof===v)},e.typeOf=w},38381:(t,e,n)=>{"use strict";t.exports=n(40903)},33317:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>Zt});var i=n(66204);const r="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",o="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",a=(t,e)=>{for(const n in e)t[n]=e[n];return t},s="numeric",l="ascii",u="alpha",c="asciinumeric",h="alphanumeric",d="domain",f="emoji",_="scheme",p="slashscheme",m="whitespace";function v(t,e){return t in e||(e[t]=[]),e[t]}function g(t,e,n){e[s]&&(e[c]=!0,e[h]=!0),e[l]&&(e[c]=!0,e[u]=!0),e[c]&&(e[h]=!0),e[u]&&(e[h]=!0),e[h]&&(e[d]=!0),e[f]&&(e[d]=!0);for(const i in e){const e=v(i,n);e.indexOf(t)<0&&e.push(t)}}function y(t){void 0===t&&(t=null),this.j={},this.jr=[],this.jd=null,this.t=t}y.groups={},y.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t];if(n)return n;for(let n=0;n=0&&(n[i]=!0);return n}(s.t,i),n);g(o,t,i)}else n&&g(o,n,i);s.t=o}return r.j[t]=s,s}};const b=(t,e,n,i,r)=>t.ta(e,n,i,r),w=(t,e,n,i,r)=>t.tr(e,n,i,r),E=(t,e,n,i,r)=>t.ts(e,n,i,r),x=(t,e,n,i,r)=>t.tt(e,n,i,r),C="WORD",T="UWORD",A="LOCALHOST",S="TLD",z="UTLD",k="SCHEME",N="SLASH_SCHEME",I="NUM",O="WS",L="NL",M="OPENBRACE",$="CLOSEBRACE",R="OPENBRACKET",P="CLOSEBRACKET",U="OPENPAREN",j="CLOSEPAREN",q="OPENANGLEBRACKET",D="CLOSEANGLEBRACKET",B="FULLWIDTHLEFTPAREN",F="FULLWIDTHRIGHTPAREN",W="LEFTCORNERBRACKET",G="RIGHTCORNERBRACKET",H="LEFTWHITECORNERBRACKET",V="RIGHTWHITECORNERBRACKET",X="FULLWIDTHLESSTHAN",J="FULLWIDTHGREATERTHAN",Z="AMPERSAND",Y="APOSTROPHE",K="ASTERISK",Q="AT",tt="BACKSLASH",et="BACKTICK",nt="CARET",it="COLON",rt="COMMA",ot="DOLLAR",at="DOT",st="EQUALS",lt="EXCLAMATION",ut="HYPHEN",ct="PERCENT",ht="PIPE",dt="PLUS",ft="POUND",_t="QUERY",pt="QUOTE",mt="SEMI",vt="SLASH",gt="TILDE",yt="UNDERSCORE",bt="EMOJI",wt="SYM";var Et=Object.freeze({__proto__:null,WORD:C,UWORD:T,LOCALHOST:A,TLD:S,UTLD:z,SCHEME:k,SLASH_SCHEME:N,NUM:I,WS:O,NL:L,OPENBRACE:M,CLOSEBRACE:$,OPENBRACKET:R,CLOSEBRACKET:P,OPENPAREN:U,CLOSEPAREN:j,OPENANGLEBRACKET:q,CLOSEANGLEBRACKET:D,FULLWIDTHLEFTPAREN:B,FULLWIDTHRIGHTPAREN:F,LEFTCORNERBRACKET:W,RIGHTCORNERBRACKET:G,LEFTWHITECORNERBRACKET:H,RIGHTWHITECORNERBRACKET:V,FULLWIDTHLESSTHAN:X,FULLWIDTHGREATERTHAN:J,AMPERSAND:Z,APOSTROPHE:Y,ASTERISK:K,AT:Q,BACKSLASH:tt,BACKTICK:et,CARET:nt,COLON:it,COMMA:rt,DOLLAR:ot,DOT:at,EQUALS:st,EXCLAMATION:lt,HYPHEN:ut,PERCENT:ct,PIPE:ht,PLUS:dt,POUND:ft,QUERY:_t,QUOTE:pt,SEMI:mt,SLASH:vt,TILDE:gt,UNDERSCORE:yt,EMOJI:bt,SYM:wt});const xt=/[a-z]/,Ct=/\p{L}/u,Tt=/\p{Emoji}/u,At=/\d/,St=/\s/,zt="\n",kt="️",Nt="‍";let It=null,Ot=null;function Lt(t,e,n,i,r){let o;const a=e.length;for(let n=0;n=0;)r++;if(r>0){e.push(n.join(""));for(let e=parseInt(t.substring(i,i+r),10);e>0;e--)n.pop();i+=r}else n.push(t[i]),i++}return e}const $t={defaultProtocol:"http",events:null,format:Pt,formatHref:Pt,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function Rt(t,e){void 0===e&&(e=null);let n=a({},$t);t&&(n=a(n,t instanceof Rt?t.o:t));const i=n.ignoreTags,r=[];for(let t=0;tt,check(t){return this.get("validate",t.toString(),t)},get(t,e,n){const i=null!=e;let r=this.o[t];return r?("object"==typeof r?(r=n.t in r?r[n.t]:$t[t],"function"==typeof r&&i&&(r=r(e,n))):"function"==typeof r&&i&&(r=r(e,n.t,n)),r):r},getObj(t,e,n){let i=this.o[t];return"function"==typeof i&&null!=e&&(i=i(e,n.t,n)),i},render(t){const e=t.render(this);return(this.get("render",null,t)||this.defaultRender)(e,t.t,t)}};var Ut=Object.freeze({__proto__:null,defaults:$t,Options:Rt,assign:a});function jt(t,e){this.t="token",this.v=t,this.tk=e}function qt(t,e){class n extends jt{constructor(e,n){super(e,n),this.t=t}}for(const t in e)n.prototype[t]=e[t];return n.t=t,n}jt.prototype={isLink:!1,toString(){return this.v},toHref(t){return this.toString()},toFormattedString(t){const e=this.toString(),n=t.get("truncate",e,this),i=t.get("format",e,this);return n&&i.length>n?i.substring(0,n)+"…":i},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t){return void 0===t&&(t=$t.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,n=this.toHref(t.get("defaultProtocol")),i=t.get("formatHref",n,this),r=t.get("tagName",n,e),o=this.toFormattedString(t),s={},l=t.get("className",n,e),u=t.get("target",n,e),c=t.get("rel",n,e),h=t.getObj("attributes",n,e),d=t.getObj("events",n,e);return s.href=i,l&&(s.class=l),u&&(s.target=u),c&&(s.rel=c),h&&a(s,h),{tagName:r,attributes:s,content:o,eventListeners:d}}};const Dt=qt("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Bt=qt("text"),Ft=qt("nl"),Wt=qt("url",{isLink:!0,toHref(t){return void 0===t&&(t=$t.defaultProtocol),this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==A&&t[1].t===it}}),Gt=t=>new y(t);function Ht(t,e,n){const i=n[0].s,r=n[n.length-1].e;return new t(e.slice(i,r),n)}"undefined"!=typeof console&&console&&console.warn;const Vt={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Xt(t){return Vt.initialized||function(){Vt.scanner=function(t){void 0===t&&(t=[]);const e={};y.groups=e;const n=new y;null==It&&(It=Mt(r)),null==Ot&&(Ot=Mt(o)),x(n,"'",Y),x(n,"{",M),x(n,"}",$),x(n,"[",R),x(n,"]",P),x(n,"(",U),x(n,")",j),x(n,"<",q),x(n,">",D),x(n,"(",B),x(n,")",F),x(n,"「",W),x(n,"」",G),x(n,"『",H),x(n,"』",V),x(n,"<",X),x(n,">",J),x(n,"&",Z),x(n,"*",K),x(n,"@",Q),x(n,"`",et),x(n,"^",nt),x(n,":",it),x(n,",",rt),x(n,"$",ot),x(n,".",at),x(n,"=",st),x(n,"!",lt),x(n,"-",ut),x(n,"%",ct),x(n,"|",ht),x(n,"+",dt),x(n,"#",ft),x(n,"?",_t),x(n,'"',pt),x(n,"/",vt),x(n,";",mt),x(n,"~",gt),x(n,"_",yt),x(n,"\\",tt);const i=w(n,At,I,{[s]:!0});w(i,At,i);const h=w(n,xt,C,{[l]:!0});w(h,xt,h);const v=w(n,Ct,T,{[u]:!0});w(v,xt),w(v,Ct,v);const b=w(n,St,O,{[m]:!0});x(n,zt,L,{[m]:!0}),x(b,zt),w(b,St,b);const $t=w(n,Tt,bt,{[f]:!0});w($t,Tt,$t),x($t,kt,$t);const Rt=x($t,Nt);w(Rt,Tt,$t);const Pt=[[xt,h]],Ut=[[xt,null],[Ct,v]];for(let t=0;tt[0]>e[0]?1:-1));for(let e=0;e=0?r[d]=!0:xt.test(i)?At.test(i)?r[c]=!0:r[l]=!0:r[s]=!0,E(n,i,i,r)}return E(n,"localhost",A,{ascii:!0}),n.jd=new y(wt),{start:n,tokens:a({groups:e},Et)}}(Vt.customSchemes);for(let t=0;t=0&&d++,r++,c++;if(d<0)r-=c,r0&&(o.push(Ht(Bt,e,a)),a=[]),r-=d,c-=d;const t=h.t,i=n.slice(r-c,r);o.push(Ht(t,e,i))}}return a.length>0&&o.push(Ht(Bt,e,a)),o}(Vt.parser.start,t,function(t,e){const n=function(t){const e=[],n=t.length;let i=0;for(;i56319||i+1===n||(r=t.charCodeAt(i+1))<56320||r>57343?t[i]:t.slice(i,i+2);e.push(a),i+=a.length}return e}(e.replace(/[A-Z]/g,(t=>t.toLowerCase()))),i=n.length,r=[];let o=0,a=0;for(;a=0&&(h+=n[a].length,d++),u+=n[a].length,o+=n[a].length,a++;o-=h,a-=d,u-=h,r.push({t:c.t,v:e.slice(o-u,o),s:o-u,e:o})}return r}(Vt.scanner.start,t))}function Jt(t,e,n){if(0===i.Children.count(t.props.children))return t;const r=[];i.Children.forEach(t.props.children,(t=>{"string"==typeof t?r.push.apply(r,function(t,e,n){const r=Xt(t),o=[];for(let t=0;t=0?r.push(t):r.push(Jt(t,e,n)):r.push(t)}));const o="__linkify-el-"+n.elementId++,a=Ut.assign({key:o},t.props);return i.cloneElement(t,a,r)}const Zt=t=>{let e=0;const n={key:"__linkify-wrapper"};for(const e in t)"options"!==e&&"as"!==e&&"tagName"!==e&&"children"!==e&&(n[e]=t[e]);const r=new Rt(t.options,(t=>{let{tagName:n,attributes:r,content:o}=t;return r.key="__linkify-lnk-"+e++,r.class&&(r.className=r.class,delete r.class),i.createElement(n,r,o)})),o=t.as||t.tagName||i.Fragment||"span",a=t.children;return Jt(i.createElement(o,n,a),r,{elementId:0})}},26056:(t,e,n)=>{var i=n(72221)(n(9649),"DataView");t.exports=i},21102:(t,e,n)=>{var i=n(1637),r=n(16380),o=n(17408),a=n(53997),s=n(34642);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{var i=n(76073),r=n(23390),o=n(42461),a=n(18190),s=n(95670);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{var i=n(72221)(n(9649),"Map");t.exports=i},52290:(t,e,n)=>{var i=n(6881),r=n(25089),o=n(67548),a=n(72151),s=n(51476);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{var i=n(72221)(n(9649),"Promise");t.exports=i},89018:(t,e,n)=>{var i=n(72221)(n(9649),"Set");t.exports=i},88212:(t,e,n)=>{var i=n(52290),r=n(94636),o=n(49810);function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new i;++e{var i=n(36491),r=n(38023),o=n(39611),a=n(6138),s=n(96961),l=n(32631);function u(t){var e=this.__data__=new i(t);this.size=e.size}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,t.exports=u},20997:(t,e,n)=>{var i=n(9649).Symbol;t.exports=i},37830:(t,e,n)=>{var i=n(9649).Uint8Array;t.exports=i},43895:(t,e,n)=>{var i=n(72221)(n(9649),"WeakMap");t.exports=i},41155:t=>{t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n{var i=n(4830),r=n(27987),o=n(69546),a=n(80758),s=n(95824),l=n(65739),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),c=!n&&r(t),h=!n&&!c&&a(t),d=!n&&!c&&!h&&l(t),f=n||c||h||d,_=f?i(t.length,String):[],p=_.length;for(var m in t)!e&&!u.call(t,m)||f&&("length"==m||h&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,p))||_.push(m);return _}},35276:t=>{t.exports=function(t,e){for(var n=-1,i=e.length,r=t.length;++n{t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length;++n{var i=n(17689);t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},12506:(t,e,n)=>{var i=n(35276),r=n(69546);t.exports=function(t,e,n){var o=e(t);return r(t)?o:i(o,n(t))}},28247:(t,e,n)=>{var i=n(20997),r=n(37386),o=n(4591),a=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?r(t):o(t)}},70621:(t,e,n)=>{var i=n(28247),r=n(17734);t.exports=function(t){return r(t)&&"[object Arguments]"==i(t)}},89107:(t,e,n)=>{var i=n(49739),r=n(17734);t.exports=function t(e,n,o,a,s){return e===n||(null==e||null==n||!r(e)&&!r(n)?e!=e&&n!=n:i(e,n,o,a,t,s))}},49739:(t,e,n)=>{var i=n(47649),r=n(79327),o=n(21550),a=n(98761),s=n(11970),l=n(69546),u=n(80758),c=n(65739),h="[object Arguments]",d="[object Array]",f="[object Object]",_=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,p,m,v){var g=l(t),y=l(e),b=g?d:s(t),w=y?d:s(e),E=(b=b==h?f:b)==f,x=(w=w==h?f:w)==f,C=b==w;if(C&&u(t)){if(!u(e))return!1;g=!0,E=!1}if(C&&!E)return v||(v=new i),g||c(t)?r(t,e,n,p,m,v):o(t,e,b,n,p,m,v);if(!(1&n)){var T=E&&_.call(t,"__wrapped__"),A=x&&_.call(e,"__wrapped__");if(T||A){var S=T?t.value():t,z=A?e.value():e;return v||(v=new i),m(S,z,n,p,v)}}return!!C&&(v||(v=new i),a(t,e,n,p,m,v))}},50291:(t,e,n)=>{var i=n(93331),r=n(37114),o=n(12289),a=n(77606),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,h=u.hasOwnProperty,d=RegExp("^"+c.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||r(t))&&(i(t)?d:s).test(a(t))}},89278:(t,e,n)=>{var i=n(28247),r=n(80459),o=n(17734),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&r(t.length)&&!!a[i(t)]}},59011:(t,e,n)=>{var i=n(46358),r=n(95513),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return r(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},4830:t=>{t.exports=function(t,e){for(var n=-1,i=Array(t);++n{t.exports=function(t){return function(e){return t(e)}}},48138:t=>{t.exports=function(t,e){return t.has(e)}},48976:(t,e,n)=>{var i=n(9649)["__core-js_shared__"];t.exports=i},79327:(t,e,n)=>{var i=n(88212),r=n(22289),o=n(48138);t.exports=function(t,e,n,a,s,l){var u=1&n,c=t.length,h=e.length;if(c!=h&&!(u&&h>c))return!1;var d=l.get(t),f=l.get(e);if(d&&f)return d==e&&f==t;var _=-1,p=!0,m=2&n?new i:void 0;for(l.set(t,e),l.set(e,t);++_{var i=n(20997),r=n(37830),o=n(17689),a=n(79327),s=n(46498),l=n(56783),u=i?i.prototype:void 0,c=u?u.valueOf:void 0;t.exports=function(t,e,n,i,u,h,d){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!h(new r(t),new r(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var f=s;case"[object Set]":var _=1&i;if(f||(f=l),t.size!=e.size&&!_)return!1;var p=d.get(t);if(p)return p==e;i|=2,d.set(t,e);var m=a(f(t),f(e),i,u,h,d);return d.delete(t),m;case"[object Symbol]":if(c)return c.call(t)==c.call(e)}return!1}},98761:(t,e,n)=>{var i=n(28616),r=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,a,s){var l=1&n,u=i(t),c=u.length;if(c!=i(e).length&&!l)return!1;for(var h=c;h--;){var d=u[h];if(!(l?d in e:r.call(e,d)))return!1}var f=s.get(t),_=s.get(e);if(f&&_)return f==e&&_==t;var p=!0;s.set(t,e),s.set(e,t);for(var m=l;++h{var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=i},28616:(t,e,n)=>{var i=n(12506),r=n(4918),o=n(25961);t.exports=function(t){return i(t,o,r)}},55502:(t,e,n)=>{var i=n(89983);t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},72221:(t,e,n)=>{var i=n(50291),r=n(85779);t.exports=function(t,e){var n=r(t,e);return i(n)?n:void 0}},37386:(t,e,n)=>{var i=n(20997),r=Object.prototype,o=r.hasOwnProperty,a=r.toString,s=i?i.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(t){}var r=a.call(t);return i&&(e?t[s]=n:delete t[s]),r}},4918:(t,e,n)=>{var i=n(41155),r=n(41258),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),i(a(t),(function(e){return o.call(t,e)})))}:r;t.exports=s},11970:(t,e,n)=>{var i=n(26056),r=n(95651),o=n(36561),a=n(89018),s=n(43895),l=n(28247),u=n(77606),c="[object Map]",h="[object Promise]",d="[object Set]",f="[object WeakMap]",_="[object DataView]",p=u(i),m=u(r),v=u(o),g=u(a),y=u(s),b=l;(i&&b(new i(new ArrayBuffer(1)))!=_||r&&b(new r)!=c||o&&b(o.resolve())!=h||a&&b(new a)!=d||s&&b(new s)!=f)&&(b=function(t){var e=l(t),n="[object Object]"==e?t.constructor:void 0,i=n?u(n):"";if(i)switch(i){case p:return _;case m:return c;case v:return h;case g:return d;case y:return f}return e}),t.exports=b},85779:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},1637:(t,e,n)=>{var i=n(55586);t.exports=function(){this.__data__=i?i(null):{},this.size=0}},16380:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},17408:(t,e,n)=>{var i=n(55586),r=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(e,t)?e[t]:void 0}},53997:(t,e,n)=>{var i=n(55586),r=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return i?void 0!==e[t]:r.call(e,t)}},34642:(t,e,n)=>{var i=n(55586);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this}},95824:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var i=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&e.test(t))&&t>-1&&t%1==0&&t{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},37114:(t,e,n)=>{var i,r=n(48976),o=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";t.exports=function(t){return!!o&&o in t}},46358:t=>{var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},76073:t=>{t.exports=function(){this.__data__=[],this.size=0}},23390:(t,e,n)=>{var i=n(28627),r=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=i(e,t);return!(n<0||(n==e.length-1?e.pop():r.call(e,n,1),--this.size,0))}},42461:(t,e,n)=>{var i=n(28627);t.exports=function(t){var e=this.__data__,n=i(e,t);return n<0?void 0:e[n][1]}},18190:(t,e,n)=>{var i=n(28627);t.exports=function(t){return i(this.__data__,t)>-1}},95670:(t,e,n)=>{var i=n(28627);t.exports=function(t,e){var n=this.__data__,r=i(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}},6881:(t,e,n)=>{var i=n(21102),r=n(36491),o=n(95651);t.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||r),string:new i}}},25089:(t,e,n)=>{var i=n(55502);t.exports=function(t){var e=i(this,t).delete(t);return this.size-=e?1:0,e}},67548:(t,e,n)=>{var i=n(55502);t.exports=function(t){return i(this,t).get(t)}},72151:(t,e,n)=>{var i=n(55502);t.exports=function(t){return i(this,t).has(t)}},51476:(t,e,n)=>{var i=n(55502);t.exports=function(t,e){var n=i(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}},46498:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}},55586:(t,e,n)=>{var i=n(72221)(Object,"create");t.exports=i},95513:(t,e,n)=>{var i=n(78892)(Object.keys,Object);t.exports=i},59214:(t,e,n)=>{t=n.nmd(t);var i=n(46954),r=e&&!e.nodeType&&e,o=r&&t&&!t.nodeType&&t,a=o&&o.exports===r&&i.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},4591:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},78892:t=>{t.exports=function(t,e){return function(n){return t(e(n))}}},9649:(t,e,n)=>{var i=n(46954),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();t.exports=o},94636:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},49810:t=>{t.exports=function(t){return this.__data__.has(t)}},56783:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},38023:(t,e,n)=>{var i=n(36491);t.exports=function(){this.__data__=new i,this.size=0}},39611:t=>{t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},6138:t=>{t.exports=function(t){return this.__data__.get(t)}},96961:t=>{t.exports=function(t){return this.__data__.has(t)}},32631:(t,e,n)=>{var i=n(36491),r=n(95651),o=n(52290);t.exports=function(t,e){var n=this.__data__;if(n instanceof i){var a=n.__data__;if(!r||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}},77606:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},17689:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},27987:(t,e,n)=>{var i=n(70621),r=n(17734),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(t){return r(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=l},69546:t=>{var e=Array.isArray;t.exports=e},46387:(t,e,n)=>{var i=n(93331),r=n(80459);t.exports=function(t){return null!=t&&r(t.length)&&!i(t)}},80758:(t,e,n)=>{t=n.nmd(t);var i=n(9649),r=n(68854),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,s=a&&a.exports===o?i.Buffer:void 0,l=(s?s.isBuffer:void 0)||r;t.exports=l},15608:(t,e,n)=>{var i=n(89107);t.exports=function(t,e){return i(t,e)}},93331:(t,e,n)=>{var i=n(28247),r=n(12289);t.exports=function(t){if(!r(t))return!1;var e=i(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},80459:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},12289:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},17734:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},65739:(t,e,n)=>{var i=n(89278),r=n(99199),o=n(59214),a=o&&o.isTypedArray,s=a?r(a):i;t.exports=s},25961:(t,e,n)=>{var i=n(17296),r=n(59011),o=n(46387);t.exports=function(t){return o(t)?i(t):r(t)}},41258:t=>{t.exports=function(){return[]}},68854:t=>{t.exports=function(){return!1}},98883:(t,e,n)=>{"use strict";n.r(e),n.d(e,{AsYouType:()=>Cn,MuiTelInput:()=>Nn,getNumberType:()=>Sn,matchIsValidTel:()=>xn});var i=n(43188),r=n(66204),o=n(61125),a=n(49140),s=n(42341),l=n(80013),u=n(78781),c=n(93189),h=n(36199),d=n(87865),f=n(81799),_=n(46338);const p={Flag:(0,o.ZP)("span")((()=>({display:"flex",alignItems:"center"}))),Picture:(0,o.ZP)("picture")((()=>({display:"flex",alignItems:"center"}))),Span:(0,o.ZP)("span")((()=>({width:"1px",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap"})))},m=({size:t="small",isoCode:e,countryName:n=""})=>{const r=e?e.toLowerCase():"",o=(t=>t?"TA"===t||"AC"===t?{TA:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 341.3'%3e%3cpath fill='%230052B4' d='M0 0h512v341.3H0z'/%3e%3cpath fill='white' d='M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z'/%3e%3cg fill='%23D80027'%3e%3cpath d='M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z'/%3e%3cpath d='M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z'/%3e%3c/g%3e%3cpath fill='%232E52B2' d='M256 22.7v30.7h-46.1z'/%3e%3cpath d='M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z' fill='%23D80027'/%3e%3cpath fill='%232E52B2' d='M256 22.7v30.7h-46.1z'/%3e%3cpath d='M0 170.7v-15.1l57.4-38.2H80zm256 0v-15.1l-57.4-38.2H176z' fill='%23D80027'/%3e%3cpath fill='%2329DBFF' d='M448.9 169.5c0 9.6-.3 29.6-1.4 39.2-4.1 34.9-23.5 68.8-62.1 85.9-45.3-17.9-60.8-51-64.9-85.9-1.1-9.6-1.5-19.4-1.5-29l.3-47.1h129.2l.4 36.9z'/%3e%3cpath fill='white' d='M447.5 208.7c-.2 1.6-.4 3.3-.6 4.9-4.8 33.1-22.9 65.4-61.5 81-43.2-17-59.4-47.9-64.2-81-.2-1.6-.4-3.2-.6-4.9'/%3e%3cpath fill='%2329DBFF' d='M385.4 251.7l-22.9-43h45.8z'/%3e%3cpath fill='white' d='M385.4 165.8l-22.9 42.9h45.8z'/%3e%3cellipse fill='%23FFBE57' cx='474.8' cy='236.8' rx='16.8' ry='43.3'/%3e%3cellipse fill='%23FFBE57' cx='295.3' cy='236.8' rx='16.8' ry='43.3'/%3e%3cpath fill='white' d='M385.4 31.5l-33.4 44h68.5zM315.5 280s33.8 29.5 69.9 29.5 67.1-29.5 67.1-29.5l8.5 14.6S439.2 326 385.4 326 307 294.6 307 294.6l8.5-14.6z'/%3e%3cellipse fill='%23A5A5A5' cx='386.3' cy='104.3' rx='34.3' ry='23.3'/%3e%3c/svg%3e",AC:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 513 342'%3e%3cpath fill='%230052B4' d='M0 0h513v342H0z'/%3e%3cpath fill='white' d='M440.1 181.1c-.1 39.2-6.4 81.4-57.4 101.5-51.1-20.1-57.3-62.3-57.4-101.5h114.8z'/%3e%3cpath fill='%2329DBFF' d='M439.6 197.7c-2.8 34.9-12.4 67.4-57 85-44.4-17.6-54.5-51.2-56.9-84.9'/%3e%3cpath fill='white' d='M437.8 214.1c-3.2 24.3-16.7 53.5-55.1 68.6-38.4-15.1-50.5-42.5-55.1-68.4'/%3e%3cpath fill='%2329DBFF' d='M434.2 230.3c-5.7 17.7-19.3 39.4-51.3 52.8-32-12.6-45.2-33.8-51.4-53'/%3e%3cpath fill='white' d='M426.7 246.9c-6.5 11.3-17.7 25.4-44 35.9-27.5-11.5-37.4-25.3-44-36.1'/%3e%3cpath fill='%2329DBFF' d='M412.4 265.1c-8.1 7.2-12 11.2-29.6 17.9-20.1-7.9-22.6-11.6-29.2-17.5'/%3e%3cpath fill='%235CC85C' d='M383.3 231.6c-.2-.2-27.9 35.7-27.9 35.7-1.8-1.3-10-9.5-13.3-15l41.3-50.1 40.2 49.7c-3.9 6.5-11.4 13.6-13.2 15M382.6 85.3l-26.5 45h53z'/%3e%3cellipse transform='rotate(-82.3 291.431 225.686)' fill='%23F7A226' cx='291.4' cy='225.7' rx='48.7' ry='15.7'/%3e%3cellipse transform='rotate(-68.099 303.087 164.67)' fill='%23DDC7AB' cx='303.1' cy='164.7' rx='11.7' ry='7.2'/%3e%3cellipse transform='rotate(-81.738 291.697 271.697)' fill='%23DDC7AB' cx='291.7' cy='271.7' rx='11.4' ry='3.3'/%3e%3cellipse transform='matrix(.9986 -.05353 .05353 .9986 -13.992 16.424)' fill='%23DDC7AB' cx='299.6' cy='269.4' rx='3.3' ry='11'/%3e%3cellipse transform='rotate(-21.518 314.54 201.06)' fill='%23DDC7AB' cx='314.5' cy='201.1' rx='4.1' ry='13.7'/%3e%3cellipse transform='rotate(-21.518 317.511 178.077)' fill='%23DDC7AB' cx='317.5' cy='178.1' rx='13.7' ry='4.1'/%3e%3cellipse transform='rotate(-7.7 473.781 225.857)' fill='%23F7A226' cx='473.6' cy='225.9' rx='15.7' ry='48.7'/%3e%3cellipse transform='rotate(-21.901 462.057 164.866)' fill='%23DDC7AB' cx='462' cy='164.9' rx='7.2' ry='11.7'/%3e%3cellipse transform='rotate(-8.27 473.27 271.908)' fill='%23DDC7AB' cx='473.4' cy='271.9' rx='3.3' ry='11.4'/%3e%3cellipse transform='matrix(.05353 -.9986 .9986 .05353 171.34 719.998)' fill='%23DDC7AB' cx='465.5' cy='269.6' rx='11' ry='3.3'/%3e%3cellipse transform='rotate(-68.482 450.552 201.247)' fill='%23DDC7AB' cx='450.6' cy='201.2' rx='13.7' ry='4.1'/%3e%3cellipse transform='rotate(-68.482 447.58 178.265)' fill='%23DDC7AB' cx='447.6' cy='178.3' rx='4.1' ry='13.7'/%3e%3cpath fill='%23B0C6CC' d='M373.3 130.3L356.1 155l17.8 26.1H396l4.7-25.4-5.4-25.4z'/%3e%3cpath fill='white' d='M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z'/%3e%3cpath fill='%23D80027' d='M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z'/%3e%3cpath fill='%232E52B2' d='M256 22.7v30.7h-46.1z'/%3e%3cpath fill='%23D80027' d='M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zm-7.3 170.6l-77.8-53.3h22.6l62.5 42.3v11z'/%3e%3c/svg%3e"}[t]:"":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAeCAYAAABXNvynAAAMeGlDQ1BEaXNwbGF5AABIiZVXd1ST9xp+vpGEhBFGQEBG2EsQ2UNmmIKCbBBHSAIEQoghQcU9ahWtWxw40bqLViuodaJWrRbBbR1FLSqVWtQ6Ubl/JKD13nvuue85ye89z+95n3d838nJC3DfCBUKGWkIlMlVyrT4aH5Obh6f9RAU2ODAAG5CUYUiKjU1GQB6z8+MAF5dAwEAlz2FCoUM/58ZiyUVIoDIB1AgrhCVAcRxgF4jUihVADMfgMM4lUIFMKcB4ClzcvMA5jIAvCKNvw0Ar0DjHwbAU2akCQBmC6CjJxQqiwCD2wD4laIiFWDwHoC3XCyVA9wBAMJFxUIxwJUBGFBWVi4GuCsBuFaKihQA9ziAoILPNIv+oV/Qpy8UFvX5mr4AADox0gqFTDjh/xzN/7Yymbo3hzMAvWJlQhoAHkDcKC1PSgOgBxCd8oJhKQCMAeKNVKyZO0ByitUJmRo+aSWqEOQBMANIb7EwJgmAFUDGyWXDkrV4QaE0LhGAIUCOl6oSMwCYA+QcSUVsupazQVmeps1FNhQqBVFa/KxQCWhz3VWXZkZp9Z8XSxK1+pRBVXFGNgAOQDlWSrOGATAAKK+K0vQkLWdwVbFgWC9HqU7LBOAIUGkSeXy0Rp+qLFTGpWn51WUVvf1SG4qlicO0/l5VcUaCZj7UKZEwNl3TC9UikUdl9upIKnKSe3sRS2JiNb1TjyXyzHStzhuFKjpNE0tzFLJULZ+2l8ji0wDYA7RfRWW6NpbOUikztM+ILlSoUjM0ddJVJcIhqZp66EVIhgAx4EMNPgpQjhJImzsbO8HX3sRBCCWKIIGnFumNyIYQSsghRDqq8CfkkKCiLy4aQighQSXk+NCHar49UQghlKiEBBUoxUMoUYYkyCCBGkpIIO/LloXfoYT037ILwYcI5ZChHEpI/wvei35CoiBAshZR92bkc3uZzFhmDDOBGcd0oy3pcDqUTqbD6Ug6nPahg+jg3j4+8RkPGa2M+4yrjDbGzdHSGcovqhyKNqi1M5Sg4PNZ0M60D+1PR9NhdDgdDD5tRlvCk/ajg+goOoIOpf3pYAi0dauh/GKGX3Tw2dPQ8tjebJLdjx3Jdv0y0sDdwL9PRQL5P+ajqbWgb96Cvpsv8ws+m74Y5Uj6kknNofZRZ6gT1DnqMNUIPnWMOkBdoI5QjZ+9Xb9DiaK+bGmQQI5SyCD9t3xCbU4lJKjw3und4f1ec6eSjFcBgKBcMUEpLSpW8aMUCpmEnygXeQ3g+3j7+AA5uXl8zc/Xi+EgABBmFz5hM38Dwo719PT8+Akbcgz4PhDgHPyEuQYBRrrA2YMitbJSg9EAwAAHXPBgARs4wBWe8EEAQhGJWAxBCjKQi1EQoRhlUGIcJmE6ZmMeFmE5VmM9NmEbvsNeNOIwTuAnnEcLruIW2tCOJ+jCK3QTBMEi9AkTwoKwJZwID8KHCCLCiVgimUgjcokxRBEhJ9TEJGImMY9YQqwmNhLbie+Jg8QJ4hzRStwk7hEdxHPiHUmReiSPtCadyYFkEBlFJpEZ5EiyiBxLVpGzyAXkSrKO3EU2kCfI8+RVso18Qr6kQOlSZpQd5UkFUQIqhcqjCiklNYWqpmqoOqqeOkSdoS5TbVQn9ZZm0iY0n/akQ+kEOpMW0WPpKfR8ejW9jW6gT9GX6Xt0F/2Roc+wYngwQhiJjBxGEWMcYzajhrGFsZ9xmnGV0c54xWQyzZguzEBmAjOXWcKcyJzPXMvczTzObGU+YL5ksVgWLA9WGCuFJWSpWLNZq1i7WMdYl1jtrDc6ujq2Oj46cTp5OnKdGTo1Ojt0jupc0nmk0802ZDuxQ9gpbDF7AnshezP7EPsiu53dzTHiuHDCOBmcEs50zkpOPec05zbnha6urr1usO5wXanuNN2Vunt0z+re032rZ6znrifQy9dT6y3Q26p3XO+m3gt9fX1n/Uj9PH2V/gL97fon9e/qvzEwMfAySDQQG0w1qDVoMLhk8JTL5jpxo7ijuFXcGu4+7kVupyHb0NlQYCg0nGJYa3jQ8LrhSyMTo0FGKUZlRvONdhidM3pszDJ2No41FhvPMt5kfNL4gQll4mAiMBGZzDTZbHLapJ3H5LnwEnklvHm873jNvC5TY1M/0yzT8aa1pkdM28woM2ezRDOZ2UKzvWbXzN71s+4X1U/Sb26/+n6X+r02728eaS4xrzbfbX7V/J0F3yLWotRisUWjxR1L2tLdcrjlOMt1lqctO/vz+of2F/Wv7r+3/69WpJW7VZrVRKtNVhesXlrbWMdbK6xXWZ+07rQxs4m0KbFZZnPUpsPWxDbcVmq7zPaY7R98U34UX8ZfyT/F77KzskuwU9tttGu267Z3sc+0n2G/2/6OA8chyKHQYZlDk0OXo63jUMdJjjsdf3ViOwU5FTutcDrj9NrZxTnb+WvnRufHLuYuiS5VLjtdbrvqu0a4jnWtc73ixnQLcit1W+vW4k66+7sXu9e6X/QgPQI8pB5rPVoHMAYED5APqBtw3VPPM8qz0nOn5z0vM69krxlejV5PBzoOzBu4eOCZgR+9/b1l3pu9bw0yHjRk0IxBhwY993H3EfnU+lzx1feN853qe8D3mZ+Hn8Rvnd8NfxP/of5f+zf5fwgIDFAG1Ad0BDoGjglcE3g9iBeUGjQ/6GwwIzg6eGrw4eC3IQEhqpC9IX+FeoaWhu4IfTzYZbBk8ObBD8Lsw4RhG8PawvnhY8I3hLdF2EUII+oi7kc6RIojt0Q+inKLKonaFfU02jtaGb0/+rUgRDBZcDyGiomPqY5pjjWOzYxdHXs3zj6uKG5nXFe8f/zE+OMJjISkhMUJ1xOtE0WJ2xO7hgQOmTzkVJJeUnrS6qT7ye7JyuRDQ8mhQ4YuHXp7mNMw+bDGFKQkpixNuZPqkjo29cfhzOGpw2uHP0wblDYp7Uy6Sfro9B3przKiMxZm3Mp0zVRnNmVxs/Kztme9zo7JXpLdljMwZ3LO+VzLXGnugTxWXlbelryXI2JHLB/Rnu+fPzv/2kiXkeNHnhtlOUo26sho7mjh6H1jGGOyx+wY816YIqwTvixILFhT0CUSiFaInogjxcvEHZIwyRLJo8KwwiWFj4vCipYWdRRHFNcUd0oF0tXSZyUJJetLXpemlG4t7ZFly3aX6ZSNKTsoN5aXyk+V25SPL29VeChmK9rGhoxdPrZLmaTcUkFUjKw4oOKpFKoLalf1V+p7leGVtZVvxmWN2zfeaLx8/IUJ7hPmTnhUFVf17UR6omhi0yS7SdMn3ZscNXnjFGJKwZSmqQ5TZ01tnxY/bdt0zvTS6b/M8J6xZMbfM7NnHpplPWvarAdfxX+1c7bBbOXs61+Hfr1+Dj1HOqd5ru/cVXM/Vourf57nPa9m3vv5ovk/fzPom5Xf9CwoXNC8MGDhukXMRfJF1xZHLN62xGhJ1ZIHS4cubVjGX1a97O/lo5efq/GrWb+Cs0K9om1l8soDqxxXLVr1fnXx6qu10bW711itmbvm9Vrx2kvrItfVr7deP2/9uw3SDTc2xm9sqHOuq9nE3FS56eHmrM1nvg36dvsWyy3ztnzYKt/ati1t26ntgdu377DasXAnuVO9s2NX/q6W72K+O1DvWb9xt9nueXuwR73nj+/HfH9tb9Lepn1B++p/cPphzX6T/dUNRMOEhq7G4sa2A7kHWg8OOdh0KPTQ/h+9ftx62O5w7RHTIwuPco7OOtpzrOrYy+OK450nik48aBrddOtkzskrp4afaj6ddPrsT3E/nTwTdebY2bCzh8+FnDv4c9DPjecDzjdc8L+w/xf/X/Y3BzQ3XAy8eKAluOVQ6+DWo5ciLp24HHP5pyuJV85fHXa19VrmtRvX86+33RDfeHxTdvPZr5W/dt+adptxu/qO4Z2au1Z3635z+213W0DbkXsx9y7cT79/64HowZPfK35/3z7rof7Dmke2j7Y/9nl8uCOuo+WPEX+0P1E86e6c/afRn2ueuj794a/Ivy505XS1P1M+63k+/4XFi61/+/3d9DL15d1XZa+6X1e/sXiz7W3Q2zPvst896h73nvV+5Qe3D4c+Jn283VPW06MQKoUAAAoAWVgIPN8K6OcCJi0AZ4RmFwQAEJr9FdD8B/nPvmZfBAAEAPU8YHgnILgO7NkMOBcC3HwgVR/ICAbp69v30VpFoa+PRksvGmDc7el54QywlgIfFvX0dNf19HzYBFC3geNyzQ4KAExDYEPih4KyAvwH0+ynn/X45QmQvr5++PL8F6mCkLerjl90AAAACXBIWXMAAAsTAAALEwEAmpwYAAAE92lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMjItMDMtMTJUMTQ6MTY6NTArMDE6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDIyLTAzLTIwVDEwOjIyOjUxKzAxOjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDIyLTAzLTIwVDEwOjIyOjUxKzAxOjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpmZDY2ZDIzMC1mMDk3LTRhMjUtODkxNi1mN2YxMmQ2NTRhNjkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ZmQ2NmQyMzAtZjA5Ny00YTI1LTg5MTYtZjdmMTJkNjU0YTY5IiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6ZmQ2NmQyMzAtZjA5Ny00YTI1LTg5MTYtZjdmMTJkNjU0YTY5Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpmZDY2ZDIzMC1mMDk3LTRhMjUtODkxNi1mN2YxMmQ2NTRhNjkiIHN0RXZ0OndoZW49IjIwMjItMDMtMTJUMTQ6MTY6NTArMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChNYWNpbnRvc2gpIi8+IDwvcmRmOlNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjHOcacAAAMOSURBVFiFzZixa1NBHMe/FxOIryWNNUkjJCYQkhJKU2oXsdJowU7t6KZroYNDB7eOgn+Dg0t10MmhrhUUEelm2hDaUmibQBtbQxuaI5JHn4O8cHe59/LuRY3fJbnj97vf5373vSOEzC8t4+W9mcUNzfcc/6mSw9H38U9rzx4d1ndJ9e27xa3Q0It+QznR1MbHjEfsbL1Bu35XjZflqtYBgPLMwgpZX/9gWEbYqN6gCAxofzVPjKWU1jyU0pos0MnYSddFBQa0rh1nY1lpmjbskSWJgbKOpBJJgy3OFmTjZcedSiQNuxyrDVBKaxxwt6R6g6LeoEglksZ4bozcvnO3PW91zOa8uVY6k8Z4boykM2lpvKxpLIenI8NmAwAwNTmB8dwYAQDN78Pcgznp5mQQU5MTiMdiAIB4LIbpfL4jT1bTnOMsIR6t1edZ7Zy7pCa06E0xbzqfb8OaOt4/4NbqVptSWlN+Jczjn529z83TZgtfv3zm7MHChgODXPxmoWjsHewT1ZeGFL5tXSplADg5/U7CoYhhWsOU3tJRKm1zDYgmE0SELVcq2N3ZRTgUUX5SXQGzsoNOZTJE8/s6YEVbqcj20rEyRjxENr9ZKHLFvT4vUpkMiSYTfxwWkACzYOx3Ur20LLRZKBp6S2+PNb+vw7PdYMWGWDWoZ0uwkllA5ute5NgSweEhaed7FbuubCxKCixLYo9TZg9Zd4HfnhYvptW6srHYHCmw6sXIZkc5WL2lgzZbXIwI7fSUxOY4toSVstlR4vV5ublSadvY29nhLiLAQ9tdYjvZAlu9GFawektHuVLhwGWd7uZTu+6Tw3LZ1U7F3wUAOFhWN0aiEE/BKrabXFlCBRYAjqrHEO0Rj8XgDwSVaysDXw+NdMw56ZYM+tpVv2p5deAfp1Wc1C/aY5WjZaFps4Wj6rFqefce9geCaNbP3KT2lOv6WXNbsNfcnt/hfy1POBJd7TeEU50fVlevPB3wFH/mbj3pN4wTRdbePCTzS8t4fTOQLs8srBiD/sf9hpKJXDRfmX8G/gKUwMkA3my/NwAAAABJRU5ErkJggg==")(e),a="small"===t?40:80;return(0,i.jsxs)(p.Flag,{"data-testid":e,className:"MuiTelInput-Flag",children:[o?(0,i.jsx)("img",{src:o,alt:n||"unknown",width:a/2}):(0,i.jsxs)(p.Picture,{children:[(0,i.jsx)("source",{type:"image/webp",srcSet:`https://flagcdn.com/w${a}/${r}.webp`}),(0,i.jsx)("source",{type:"image/png",srcSet:`https://flagcdn.com/w${a}/${r}.png`}),(0,i.jsx)("img",{src:`https://flagcdn.com/w${a}/${r}.png`,width:a/2,alt:n||"unknown",loading:"lazy"})]}),e?(0,i.jsx)(p.Span,{children:e}):null]})},v={EU:["AD","AL","AT","AX","BA","BE","BG","BY","CH","CY","CZ","DE","DK","EE","ES","FI","FO","FR","GB","GG","GI","GR","HR","HU","IE","IM","IS","IT","JE","LI","LT","LU","LV","MC","MD","ME","MK","MT","NL","NO","PL","PT","RO","RS","RU","SE","SI","SJ","SK","SM","UA","VA","XK"],AS:["AE","AF","AM","AZ","BD","BH","BN","BT","CC","CN","CX","GE","HK","ID","IL","IN","IO","IQ","IR","JO","JP","KG","KH","KP","KR","KW","KZ","LA","LB","LK","MM","MN","MO","MV","MY","NP","OM","PH","PK","PS","QA","SA","SG","SY","TH","TJ","TM","TR","TW","UZ","VN","YE"],NA:["AG","AI","AW","BB","BL","BM","BQ","BS","BZ","CA","CR","CU","CW","DM","DO","GD","GL","GP","GT","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PM","PR","SV","SX","TC","TT","US","VC","VG","VI"],SA:["AR","BO","BR","CL","CO","EC","FK","GF","GY","PE","PY","SR","UY","VE"],OC:["AS","AU","CK","FJ","FM","GU","KI","MH","MP","NC","NF","NR","NU","NZ","PF","PG","PW","SB","TK","TL","TO","TV","VU","WF","WS"],AF:["AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","DZ","EG","EH","ER","ET","GA","GH","GM","GN","GQ","GW","KE","KM","LR","LS","LY","MA","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SD","SH","SL","SN","SO","SS","ST","SZ","TD","TG","TN","TZ","UG","YT","ZA","ZM","ZW"]},g={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]]],BL:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-467]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","[189]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","[27]\\d{6,7}|[34]\\d{5,7}|63\\d{6}|(?:5|8\\d\\d)\\d{7}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-79])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-2]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","[56]94\\d{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([3-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","9008\\d{3}|(?:[2-467]\\d\\d|510|862)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],0,0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",1]],"8",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29[1289]|389)","529(?:1[1-46-9]|2[013-8]|90)|5(?:298|389)[0-46-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5293[01]\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|9[0-289])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[0189]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}"],["80\\d{7}"],["89\\d{7}"],0,0,0,0,["592(?:4[0-2]|93)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","596\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","1(?:(?:[27]2|44|87|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-69]|9[1-8])|[2-9]\\d)\\d{8}",[10,11],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],0,1],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],0,1],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],0,1]],"01",0,"0(?:[12]|4[45])|1",0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[047]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[47]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|80\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-5]))\\d{4}"],["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-27]|8[0-8]|9[0-479]))\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[2378]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","(?:[1-6]|[7-9]\\d\\d)\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","800\\d{4}|(?:[249]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-8]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[69]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[04]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","[1-6]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["5056(?:[0-35-9]\\d|4[46])\\d{4}|(?:4722|505[2-57-9]|983[29])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","810","200\\d{6}|(?:33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|5[0-4]|6\\d|[78]0)\\d{4}"],["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,0,0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[013-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}},y=Object.keys,b=g.countries,w=y(b);function E(t,e){const n=Array.isArray(t);return e?n&&t.length>0:n}function x(t){return b[t]?.[0]}function C(t,e){return[...new Set(e.concat(t))]}const T={CallingCodeSplitted:(0,o.ZP)(l.Z)({borderRight:`1px solid ${s.Z[300]}`,paddingRight:10,cursor:"default",pointerEvents:"none"})},A=({disableDropdown:t=!1,forceCallingCode:e=!1,flagSize:n="small",isFlagsMenuOpened:r=!1,isoCode:o,...s})=>(0,i.jsxs)(i.Fragment,{children:[t?(0,i.jsx)(a.Z,{tabIndex:-1,className:"MuiTelInput-IconButton",role:"",disableRipple:!0,sx:{pointerEvents:"none",aspectRatio:"1 / 1"},component:"span",children:(0,i.jsx)(m,{size:n,isoCode:o})}):(0,i.jsx)(a.Z,{...s,"aria-label":"Select country",className:"MuiTelInput-IconButton","aria-haspopup":"listbox",sx:{aspectRatio:"1 / 1"},"aria-controls":r?"select-country":void 0,"aria-expanded":r?"true":"false",children:(0,i.jsx)(m,{size:n,isoCode:o})}),e&&o?(0,i.jsxs)(T.CallingCodeSplitted,{children:["+",x(o)]}):null]}),S={ListItemIcon:(0,o.ZP)(c.Z)({marginRight:"10px"}),ListItemText:(0,o.ZP)(h.Z)({marginRight:"10px"})},z=r.memo((({isoCode:t,onSelectCountry:e,countryName:n,flagSize:r="small",...o})=>(0,i.jsxs)(u.Z,{...o,onClick:n=>{n.preventDefault(),e(t)},role:"option","data-testid":`option-${t}`,className:"MuiTelInput-MenuItem",children:[(0,i.jsx)(S.ListItemIcon,{className:"MuiTelInput-ListItemIcon-flag",children:(0,i.jsx)(m,{size:r,isoCode:t,countryName:n})}),(0,i.jsx)(S.ListItemText,{className:"MuiTelInput-ListItemText-country",children:n}),(0,i.jsxs)(l.Z,{variant:"body2",color:"text.secondary",className:"MuiTelInput-Typography-calling-code",children:["+",b[t]?.[0]]})]}))),k="en",N=[],I=[],O=[],L=[],M=({anchorEl:t,isoCode:e,onSelectCountry:n,excludedCountries:o=N,onlyCountries:a=I,langOfCountryName:s=k,continents:l=O,preferredCountries:u=L,className:c,flagSize:h="small",...f})=>{const _=r.useMemo((()=>function(t=k){try{return new Intl.DisplayNames(t,{type:"region"})}catch(t){return new Intl.DisplayNames(k,{type:"region"})}}(s)),[s]),p=function(t,e){return[...t].sort(((t,n)=>{const i=e.of(t),r=e.of(n);return i.localeCompare(r)}))}(w,_),m=function(t,e){const{onlyCountries:n,excludedCountries:i,continents:r,preferredCountries:o}=e;if(E(n,!0)){const e=function(t,e){return t.filter((t=>e.includes(t)))}(t,n);return E(o,!0)?C(e,o):e}const a=E(r,!0)?function(t){return t.flatMap((t=>v[t]))}(r):t,s=E(o,!0)?C(a,o):a;return E(i,!0)?function(t,e){return E(e,!0)?t.filter((t=>!e.includes(t))):t}(s,i):s}(p,{onlyCountries:a,excludedCountries:o,continents:l,preferredCountries:u});return(0,i.jsx)(d.Z,{anchorEl:t,open:!!t,id:"select-country",className:`MuiTelInput-Menu ${c||""}`,MenuListProps:{role:"listbox","aria-activedescendant":e?`country-${e}`:"","aria-labelledby":"select-country"},...f,children:m.map((t=>(0,i.jsx)(z,{onSelectCountry:n,isoCode:t,countryName:_.of(t),selected:t===e,id:`country-${t}`,flagSize:h},t)))})};function $(t,e){"function"==typeof e?e(t):e&&function(t){return"object"==typeof t&&!Array.isArray(t)&&null!==t}(e)&&"current"in e&&(e.current=t)}function R(t,e){return t.replace(e,"")}function P(t,e){var n=Array.prototype.slice.call(e);return n.push(g),t.apply(this,n)}function U(t){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q(t){var e="function"==typeof Map?new Map:void 0;return q=function(t){if(null===t||!function(t){return-1!==Function.toString.call(t).indexOf("[native code]")}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return D(t,arguments,W(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),F(n,t)},q(t)}function D(t,e,n){return(D=B()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var r=new(Function.bind.apply(t,i));return n&&F(r,n.prototype),r}).apply(null,arguments)}function B(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}function F(t,e){return(F=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function W(t){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&F(t,e)}(n,t);var e=function(t){var e=B();return function(){var n,i=W(t);if(e){var r=W(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return function(t,e){if(e&&("object"===U(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return j(t)}(this,n)}}(n);function n(t){var i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),i=e.call(this,t),Object.setPrototypeOf(j(i),n.prototype),i.name=i.constructor.name,i}return function(t,e,n){return Object.defineProperty(t,"prototype",{writable:!1}),t}(n)}(q(Error)),H=2,V=17,X=3,J="0-90-9٠-٩۰-۹",Z="".concat("-‐-―−ー-").concat("//").concat("..").concat("  ­​⁠ ").concat("()()[]\\[\\]").concat("~⁓∼~");function Y(t,e){t=t.split("-"),e=e.split("-");for(var n=t[0].split("."),i=e[0].split("."),r=0;r<3;r++){var o=Number(n[r]),a=Number(i[r]);if(o>a)return 1;if(a>o)return-1;if(!isNaN(o)&&isNaN(a))return 1;if(isNaN(o)&&!isNaN(a))return-1}return t[1]&&e[1]?t[1]>e[1]?1:t[1]=H&&wt.test(t)}var xt=new RegExp("(?:"+mt()+")$","i");function Ct(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.split(""));!(e=i()).done;){var r=At(e.value);r&&(n+=r)}return n}function zt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.split(""));!(e=i()).done;)n+=Nt(e.value,n)||"";return n}function Nt(t,e){return"+"===t?e?void 0:"+":At(t)}function It(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(n=r()).done;){var o=n.value;t.indexOf(o)<0&&i.push(o)}return i.sort((function(t,e){return t-e}))}(r,o.possibleLengths()))}else if(e&&!i)return"INVALID_LENGTH";var a=t.length,s=r[0];return s===a?"IS_POSSIBLE":s>a?"TOO_SHORT":r[r.length-1]=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Mt(t,e){return"IS_POSSIBLE"===Ot(t,e)}function $t(t,e){return t=t||"",new RegExp("^(?:"+e+")$").test(t)}function Rt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(Pt);!(r=o()).done;){var a=r.value;if(jt(i,a,n))return a}}}}function jt(t,e,n){return!(!(e=n.type(e))||!e.pattern()||e.possibleLengths()&&e.possibleLengths().indexOf(t.length)<0)&&$t(t,e.pattern())}function qt(t){return t.replace(new RegExp("[".concat(Z,"]+"),"g")," ").trim()}var Dt=/(\$\d)/;function Bt(t,e,n){var i=n.useInternationalFormat,r=n.withNationalPrefix;n.carrierCode,n.metadata;var o=t.replace(new RegExp(e.pattern()),i?e.internationalFormat():r&&e.nationalPrefixFormattingRule()?e.format().replace(Dt,e.nationalPrefixFormattingRule()):e.format());return i?qt(o):o}var Ft=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function Wt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(n=i()).done;){var r=n.value;if(r.leadingDigitsPatterns().length>0){var o=r.leadingDigitsPatterns()[r.leadingDigitsPatterns().length-1];if(0!==e.search(o))continue}if($t(e,r.pattern()))return r}}(i.formats(),t);return o?Bt(t,o,{useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!(o.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&r&&!1===r.nationalPrefix),carrierCode:e,metadata:i}):t}function Zt(t,e,n,i){return e?i(t,e,n):t}function Yt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Kt(t){for(var e=1;e=0}(e,t,n)})):[]}(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return function(t,e,n){if(void 0===e&&(e={}),n=new at(n),e.v2){if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}else{if(!t.phone)return!1;if(t.country){if(!n.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));n.country(t.country)}else{if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}}if(n.possibleLengths())return Mt(t.phone||t.nationalNumber,n);if(t.countryCallingCode&&n.isNonGeographicCallingCode(t.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return function(t,e,n){return e=e||{},(n=new at(n)).selectNumberingPlan(t.country,t.countryCallingCode),n.hasTypes()?void 0!==Ut(t,e,n.metadata):$t(e.v2?t.nationalNumber:t.phone,n.nationalNumberPattern())}(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){return new at(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(t){return this.number===t.number&&this.ext===t.ext}},{key:"getType",value:function(){return Ut(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(t,e){return function(t,e,n,i){if(n=n?Ht(Ht({},Xt),n):Xt,i=new at(i),t.country&&"001"!==t.country){if(!i.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));i.country(t.country)}else{if(!t.countryCallingCode)return t.phone||"";i.selectNumberingPlan(t.countryCallingCode)}var r,o=i.countryCallingCode(),a=n.v2?t.nationalNumber:t.phone;switch(e){case"NATIONAL":return a?Zt(r=Jt(a,t.carrierCode,"NATIONAL",i,n),t.ext,i,n.formatExtension):"";case"INTERNATIONAL":return a?(r=Jt(a,null,"INTERNATIONAL",i,n),Zt(r="+".concat(o," ").concat(r),t.ext,i,n.formatExtension)):"+".concat(o);case"E.164":return"+".concat(o).concat(a);case"RFC3966":return function(t){var e=t.number,n=t.ext;if(!e)return"";if("+"!==e[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(e).concat(n?";ext="+n:"")}({number:"+".concat(o).concat(a),ext:t.ext});case"IDD":if(!n.fromCountry)return;var s=function(t,e,n,i,r){if(ft(i,r.metadata)===n){var o=Jt(t,e,"NATIONAL",r);return"1"===n?n+" "+o:o}var a=function(t,e,n){var i=new at(n);return i.selectNumberingPlan(t,void 0),i.defaultIDDPrefix()?i.defaultIDDPrefix():Ft.test(i.IDDPrefix())?i.IDDPrefix():void 0}(i,0,r.metadata);if(a)return"".concat(a," ").concat(n," ").concat(Jt(t,null,"INTERNATIONAL",r))}(a,t.carrierCode,o,n.fromCountry,i);return Zt(s,t.ext,i,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e,'"'))}}(this,t,e?Kt(Kt({},e),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function(t){return this.format("RFC3966",t)}}]),t}(),ne=function(t){return/^[A-Z]{2}$/.test(t)},ie=new RegExp("(["+J+"])");function re(t,e,n,i){if(e){var r=new at(i);r.selectNumberingPlan(e,n);var o=new RegExp(r.IDDPrefix());if(0===t.search(o)){var a=(t=t.slice(t.match(o)[0].length)).match(ie);if(!(a&&null!=a[1]&&a[1].length>0&&"0"===a[1]))return t}}}function oe(t,e){if(t&&e.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+e.numberingPlan.nationalPrefixForParsing()+")"),i=n.exec(t);if(i){var r,o,a,s=i.length-1,l=s>0&&i[s];if(e.nationalPrefixTransformRule()&&l)r=t.replace(n,e.nationalPrefixTransformRule()),s>1&&(o=i[1]);else{var u=i[0];r=t.slice(u.length),l&&(o=i[1])}if(l){var c=t.indexOf(i[1]);t.slice(0,c)===e.numberingPlan.nationalPrefix()&&(a=e.numberingPlan.nationalPrefix())}else a=i[0];return{nationalNumber:r,nationalPrefix:a,carrierCode:o}}}return{nationalNumber:t}}function ae(t,e){var n=oe(t,e),i=n.carrierCode,r=n.nationalNumber;if(r!==t){if(!function(t,e,n){return!($t(t,n.nationalNumberPattern())&&!$t(e,n.nationalNumberPattern()))}(t,r,e))return{nationalNumber:t};if(e.possibleLengths()&&!function(t,e){switch(Ot(t,e)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(r,e))return{nationalNumber:t}}return{nationalNumber:r,carrierCode:i}}function se(t,e,n,i){var r=e?ft(e,i):n;if(0===t.indexOf(r)){(i=new at(i)).selectNumberingPlan(e,n);var o=t.slice(r.length),a=ae(o,i).nationalNumber,s=ae(t,i).nationalNumber;if(!$t(s,i.nationalNumberPattern())&&$t(a,i.nationalNumberPattern())||"TOO_LONG"===Ot(s,i))return{countryCallingCode:r,number:o}}return{number:t}}function le(t,e,n,i){if(!t)return{};var r;if("+"!==t[0]){var o=re(t,e,n,i);if(!o||o===t){if(e||n){var a=se(t,e,n,i),s=a.countryCallingCode,l=a.number;if(s)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:s,number:l}}return{number:t}}r=!0,t="+"+o}if("0"===t[1])return{};i=new at(i);for(var u=2;u-1<=X&&u<=t.length;){var c=t.slice(1,u);if(i.hasCallingCode(c))return i.selectNumberingPlan(c),{countryCallingCodeSource:r?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:c,number:t.slice(u)};u++}return{}}function ue(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(o=s()).done;){var l=o.value;if(r.country(l),r.leadingDigits()){if(t&&0===t.search(r.leadingDigits()))return l}else if(Ut({phone:t,country:l},void 0,r.metadata)){if(!i)return l;if(l===i)return l;a.push(l)}}if(a.length>0)return a[0]}var he=!1;function de(t,e){var n=e.nationalNumber,i=e.defaultCountry,r=e.metadata;if(he&&r.isNonGeographicCallingCode(t))return"001";var o=r.getCountryCodesForCallingCode(t);return o?1===o.length?o[0]:ce(n,{countries:o,defaultCountry:i,metadata:r.metadata}):void 0}var fe="+",_e="(["+J+"]|[\\-\\.\\(\\)]?)",pe=new RegExp("^\\"+fe+_e+"*["+J+"]"+_e+"*$","g"),me=new RegExp("^(["+J+"]+((\\-)*["+J+"])*\\.)*[a-zA-Z]+((\\-)*["+J+"])*\\.?$","g"),ve="tel:",ge=";phone-context=",ye=";isub=";var be=250,we=new RegExp("[++"+J+"]"),Ee=new RegExp("[^"+J+"#]+$");function xe(t,e,n){if(e=e||{},n=new at(n),e.defaultCountry&&!n.hasCountry(e.defaultCountry))throw e.v2?new G("INVALID_COUNTRY"):new Error("Unknown country: ".concat(e.defaultCountry));var i=function(t,e,n){var i=function(t,e){var n,i=e.extractFormattedPhoneNumber,r=function(t){var e=t.indexOf(ge);if(e<0)return null;var n=e+ge.length;if(n>=t.length)return"";var i=t.indexOf(";",n);return i>=0?t.substring(n,i):t.substring(n)}(t);if(!function(t){return null===t||0!==t.length&&(pe.test(t)||me.test(t))}(r))throw new G("NOT_A_NUMBER");if(null===r)n=i(t)||"";else{n="",r.charAt(0)===fe&&(n+=r);var o,a=t.indexOf(ve);o=a>=0?a+ve.length:0;var s=t.indexOf(ge);n+=t.substring(o,s)}var l=n.indexOf(ye);if(l>0&&(n=n.substring(0,l)),""!==n)return n}(t,{extractFormattedPhoneNumber:function(t){return function(t,e,n){if(t){if(t.length>be){if(n)throw new G("TOO_LONG");return}if(!1===e)return t;var i=t.search(we);if(!(i<0))return t.slice(i).replace(Ee,"")}}(t,n,e)}});if(!i)return{};if(!Et(i))return function(t){return yt.test(t)}(i)?{error:"TOO_SHORT"}:{};var r=function(t){var e=t.search(xt);if(e<0)return{};for(var n=t.slice(0,e),i=t.match(xt),r=1;rV){if(e.v2)throw new G("TOO_LONG");return{}}if(e.v2){var f=new ee(c,u,n.metadata);return l&&(f.country=l),d&&(f.carrierCode=d),o&&(f.ext=o),f.__countryCallingCodeSource=h,f}var _=!!(e.extended?n.hasSelectedNumberingPlan():l)&&$t(u,n.nationalNumberPattern());return e.extended?{country:l,countryCallingCode:c,carrierCode:d,valid:_,possible:!!_||!(!0!==e.extended||!n.possibleLengths()||!Mt(u,n)),phone:u,ext:o}:_?function(t,e,n){var i={country:t,phone:e};return n&&(i.ext=n),i}(l,u,o):{}}function Ce(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Te(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,i=new Array(e);nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n1;)1&e&&(n+=t),e>>=1,t+=t;return n+t}function We(t,e){return")"===t[e]&&e++,function(t){for(var e=[],n=0;n=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:{}).allowOverflow;if(!t)throw new Error("String is required");var n=rn(t.split(""),this.matchTree,!0);if(n&&n.match&&delete n.matchedChars,!n||!n.overflow||e)return n}}]),t}();function rn(t,e,n){if("string"==typeof e){var i=t.join("");return 0===e.indexOf(i)?t.length===e.length?{match:!0,matchedChars:t}:{partialMatch:!0}:0===i.indexOf(e)?n&&t.length>e.length?{overflow:!0}:{match:!0,matchedChars:t.slice(0,e.length)}:void 0}if(Array.isArray(e)){for(var r=t.slice(),o=0;o=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function an(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=0)){var n=this.getTemplateForFormat(t,e);if(n)return this.setNationalNumberTemplate(n,e),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(t){return this.isNANP||t&&t.nationalPrefixFormattingRule()&&un.test(t.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(t,e){var n=t.IDDPrefix,i=t.missingPlus;return n?e&&!1===e.spacing?n:n+" ":i?"":"+"}},{key:"getTemplate",value:function(t){if(this.template){for(var e=-1,n=0,i=t.international?this.getInternationalPrefixBeforeCountryCallingCode(t,{spacing:!1}):"";ns.length)){var l=new RegExp("^"+a+"$"),u=n.replace(/\d/g,"9");l.test(u)&&(s=u);var c,h=this.getFormatFormat(t,i);if(this.shouldTryNationalPrefixFormattingRule(t,{international:i,nationalPrefix:r})){var d=h.replace(Dt,t.nationalPrefixFormattingRule());if(St(t.nationalPrefixFormattingRule())===(r||"")+St("$1")&&(h=d,c=!0,r))for(var f=r.length;f>0;)h=h.replace(/\d/,De),f--}var _=s.replace(new RegExp(a),h).replace(new RegExp("9","g"),De);return c||(o?_=Fe(De,o.length)+" "+_:r&&(_=Fe(De,r.length)+this.getSeparatorAfterNationalPrefix(t)+_)),i&&(_=qt(_)),_}}},{key:"formatNextNationalNumberDigits",value:function(t){var e=function(t,e,n){for(var i,r=function(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return qe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qe(t,e)}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n.split(""));!(i=r()).done;){var o=i.value;if(t.slice(e+1).search(Be)<0)return;e=t.search(Be),t=t.replace(Be,o)}return[t,e]}(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,t);if(e)return this.populatedNationalNumberTemplate=e[0],this.populatedNationalNumberTemplatePosition=e[1],We(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1);this.resetFormat()}},{key:"shouldTryNationalPrefixFormattingRule",value:function(t,e){var n=e.international,i=e.nationalPrefix;if(t.nationalPrefixFormattingRule()){var r=t.usesNationalPrefix();if(r&&i||!r&&!n)return!0}}}]),t}();function dn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(i=n.next()).done)&&(o.push(i.value),!e||o.length!==e);a=!0);}catch(t){s=!0,r=t}finally{try{!a&&null!=n.return&&n.return()}finally{if(s)throw r}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return fn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fn(t,e)}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=3;if(e.appendDigits(t),i&&this.extractIddPrefix(e),this.isWaitingForCountryCallingCode(e)){if(!this.extractCountryCallingCode(e))return}else e.appendNationalSignificantNumberDigits(t);e.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(e.getNationalDigits(),(function(t){return e.update(t)}))}},{key:"isWaitingForCountryCallingCode",value:function(t){var e=t.international,n=t.callingCode;return e&&!n}},{key:"extractCountryCallingCode",value:function(t){var e=le("+"+t.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=e.countryCallingCode,i=e.number;if(n)return t.setCallingCode(n),t.update({nationalSignificantNumber:i}),!0}},{key:"reset",value:function(t){if(t){this.hasSelectedNumberingPlan=!0;var e=t._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=e&&gn.test(e)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(t,e){if(this.hasSelectedNumberingPlan){var n=oe(t,this.metadata),i=n.nationalPrefix,r=n.nationalNumber,o=n.carrierCode;if(r!==t)return this.onExtractedNationalNumber(i,o,r,t,e),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(t,e,n){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(t,n);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var i=oe(t,this.metadata),r=i.nationalPrefix,o=i.nationalNumber,a=i.carrierCode;if(o!==e)return this.onExtractedNationalNumber(r,a,o,t,n),!0}}},{key:"onExtractedNationalNumber",value:function(t,e,n,i,r){var o,a,s=i.lastIndexOf(n);if(s>=0&&s===i.length-n.length){a=!0;var l=i.slice(0,s);l!==t&&(o=l)}r({nationalPrefix:t,carrierCode:e,nationalSignificantNumber:n,nationalSignificantNumberMatchesInput:a,complexPrefixBeforeNationalSignificantNumber:o}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(t){return!!this.extractAnotherNationalSignificantNumber(t.getNationalDigits(),t.nationalSignificantNumber,(function(e){return t.update(e)}))||(this.extractIddPrefix(t)||this.fixMissingPlus(t)?(this.extractCallingCodeAndNationalSignificantNumber(t),!0):void 0)}},{key:"extractIddPrefix",value:function(t){var e=t.international,n=t.IDDPrefix,i=t.digits;if(t.nationalSignificantNumber,!e&&!n){var r=re(i,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(void 0!==r&&r!==i)return t.update({IDDPrefix:i.slice(0,i.length-r.length)}),this.startInternationalNumber(t,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(t){if(!t.international){var e=se(t.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=e.countryCallingCode;if(e.number,n)return t.update({missingPlus:!0}),this.startInternationalNumber(t,{country:t.country,callingCode:n}),!0}}},{key:"startInternationalNumber",value:function(t,e){var n=e.country,i=e.callingCode;t.startInternationalNumber(n,i),t.nationalSignificantNumber&&(t.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(t){this.extractCountryCallingCode(t)&&this.extractNationalSignificantNumber(t.getNationalDigits(),(function(e){return t.update(e)}))}}]),t}();function bn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n1}},{key:"determineTheCountry",value:function(){this.state.setCountry(de(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var t=this.state,e=t.digits,n=t.callingCode,i=t.country,r=t.nationalSignificantNumber;if(e){if(this.isInternational())return n?"+"+n+r:"+"+e;if(i||n)return"+"+(i?this.metadata.countryCallingCode():n)+r}}},{key:"getNumber",value:function(){var t=this.state,e=t.nationalSignificantNumber,n=t.carrierCode,i=t.callingCode,r=this._getCountry();if(e&&(r||i)){if(r&&r===this.defaultCountry){var o=new at(this.metadata.metadata);o.selectNumberingPlan(r);var a=o.numberingPlan.callingCode(),s=this.metadata.getCountryCodesForCallingCode(a);if(s.length>1){var l=ce(e,{countries:s,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});l&&(r=l)}}var u=new ee(r||i,e,this.metadata.metadata);return n&&(u.carrierCode=n),u}}},{key:"isPossible",value:function(){var t=this.getNumber();return!!t&&t.isPossible()}},{key:"isValid",value:function(){var t=this.getNumber();return!!t&&t.isValid()}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}]),t}();function xn(){return P(Pe,arguments)}function Cn(t){return En.call(this,t,g)}function Tn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);nzn({initialValue:t,defaultCountry:n,disableFormatting:s,forceCallingCode:l}))),[m,g]=r.useState(t),y=t=>({countryCallingCode:c.current.getCallingCode()||null,countryCode:c.current.getCountry()||null,nationalNumber:c.current.getNationalNumber(),numberType:c.current.getNumber()?.getType()??null,numberValue:c.current.getNumberValue()||null,reason:t}),w=t=>(c.current.reset(),c.current.input(t));return r.useEffect((()=>{if(t!==m){g(t);const e=zn({initialValue:t,defaultCountry:n,forceCallingCode:l,disableFormatting:s});u.current=e.isoCode,p(e)}}),[t,m,n,l,s]),r.useEffect((()=>{if(n!==d){f(n),c.current=new Cn(n);const{inputValue:t,isoCode:i}=zn({initialValue:"",defaultCountry:n,forceCallingCode:l,disableFormatting:s});g(t),c.current.input(t),u.current=c.current.getCountry()||null,e?.(t,y("country")),p({inputValue:t,isoCode:i})}}),[n,d,e,l,s]),{inputValue:_.inputValue,isoCode:_.isoCode,onInputChange:t=>{const n=l?((t,e)=>`+${x(e)}${t}`)(t.target.value,_.isoCode):(t=>t.startsWith("+")||""===t?t:`+${t}`)(t.target.value),r=w(n),h=c.current.getCountry(),d=l?_.isoCode:h||u.current,f=c.current.getNumberValue()||"";u.current=d;const m=y("input");if(!f||d&&(t=>t&&function(t,e){const{excludedCountries:n,onlyCountries:i,continents:r}=e;return!(E(n,!0)&&n.includes(t)||E(i)&&!i.includes(t)||E(r)&&!function(t,e){return t.some((t=>v[t].includes(e)))}(r,t))}(t,{onlyCountries:i,excludedCountries:o,continents:a}))(d)){const t=s?f:r;e?.(t,m),g(t),p({isoCode:d,inputValue:t})}else e?.(f,{...m,countryCode:null,countryCallingCode:null,nationalNumber:null}),g(f),p({isoCode:null,inputValue:f})},onCountryChange:t=>{if(t===_.isoCode)return;const n=b[t]?.[0],{inputValue:i,isoCode:r}=_;let o=`+${n}${r?R(i,`+${x(r)}`):i}`;s||(o=w(o)),e?.(o,{...y("country"),countryCode:t}),u.current=t,g(o),p({isoCode:t,inputValue:o})},inputRef:h}}Cn.prototype=Object.create(En.prototype,{}),Cn.prototype.constructor=Cn;const Nn=r.forwardRef(((t,e)=>{const{forceCallingCode:n=!1,onlyCountries:o,excludedCountries:a,defaultCountry:s,onDoubleClick:l,onFocus:u,onCopy:c,value:h="",inputProps:d,InputProps:p,inputRef:m,disabled:g,onChange:y,disableDropdown:b,disableFormatting:w=!1,focusOnSelectCountry:E,langOfCountryName:C,continents:T,preferredCountries:S,MenuProps:z,className:k,flagSize:N="small",...I}=t,O=r.useRef(null),[L,P]=r.useState(null),U=n?function(t){return t||"US"}(s):s;!function(t){const{defaultCountry:e,onlyCountries:n,excludedCountries:i,continents:o,forceCallingCode:a}=t;r.useEffect((()=>{n&&i&&function(t,e){t.find((t=>e.includes(t)))}(n,i)}),[n,i]),r.useEffect((()=>{e&&i&&i.includes(e)}),[e,i]),r.useEffect((()=>{e&&n&&n.includes(e)}),[e,n]),r.useEffect((()=>{e&&o&&o.length>0&&o.some((t=>v[t].includes(e)))}),[e,o]),r.useEffect((()=>{}),[e,a])}(t);const{onInputChange:j,onCountryChange:q,inputRef:D,isoCode:B,inputValue:F}=kn({forceCallingCode:n,defaultCountry:U,value:h??"",onChange:y,excludedCountries:a,onlyCountries:o,disableFormatting:w,continents:T}),W=B?`+${x(B)}`:"",G=n?R(F,W).trimStart():F;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(_.Z,{type:"tel",disabled:g,value:G,ref:t=>{O.current=t,e&&$(t,e)},onDoubleClick:t=>{const e=D.current;e.setSelectionRange(0,e.value.length),l?.(t)},inputRef:t=>{D.current=t,p?.inputRef&&$(t,p.inputRef),m&&$(t,m)},className:`MuiTelInput-TextField ${k||""}`,onChange:j,inputProps:{onCopy:t=>{if(c)return void c(t);const e=window.getSelection();if(e){const n=e.toString().replaceAll(" ","");t.clipboardData.setData("text/plain",n),t.preventDefault()}},...d},onFocus:t=>{setTimeout((()=>{D.current&&function(t){t.focus();const{length:e}=t.value;t.setSelectionRange(e,e)}(D.current)}),0),u?.(t)},InputProps:{startAdornment:(0,i.jsx)(f.Z,{position:"start",sx:{flexShrink:0},children:(0,i.jsx)(A,{isFlagsMenuOpened:!!L,isoCode:B,forceCallingCode:n,onClick:t=>{t.preventDefault(),(!g||!b)&&P(O.current)},disabled:g,flagSize:N,disableDropdown:!!b})}),...p},...I}),b?null:(0,i.jsx)(M,{onlyCountries:o,excludedCountries:a,continents:T,anchorEl:L,isoCode:B,preferredCountries:S,onClose:()=>{P(null)},langOfCountryName:C,onSelectCountry:t=>{P(null),q(t),E&&D.current&&D.current.focus()},flagSize:N,...z})]})}))},24044:t=>{var e;self,e=function(){return function(){var t={79288:function(t,e,n){"use strict";var i=n(3400),r={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var o in r){var a=o.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");i.addStyleRule(a,r[o])}},86712:function(t,e,n){"use strict";t.exports=n(84224)},37240:function(t,e,n){"use strict";t.exports=n(51132)},29744:function(t,e,n){"use strict";t.exports=n(94456)},29352:function(t,e,n){"use strict";t.exports=n(67244)},96144:function(t,e,n){"use strict";t.exports=n(97776)},53219:function(t,e,n){"use strict";t.exports=n(61712)},4624:function(t,e,n){"use strict";t.exports=n(95856)},54543:function(t,e,n){"use strict";t.exports=n(54272)},45e3:function(t,e,n){"use strict";t.exports=n(85404)},62300:function(t,e,n){"use strict";t.exports=n(26048)},6920:function(t,e,n){"use strict";t.exports=n(66240)},10264:function(t,e,n){"use strict";t.exports=n(40448)},32016:function(t,e,n){"use strict";t.exports=n(64884)},27528:function(t,e,n){"use strict";t.exports=n(15088)},75556:function(t,e,n){"use strict";t.exports=n(76744)},39204:function(t,e,n){"use strict";t.exports=n(94704)},73996:function(t,e,n){"use strict";t.exports=n(62396)},16489:function(t,e,n){"use strict";t.exports=n(32028)},5e3:function(t,e,n){"use strict";t.exports=n(81932)},77280:function(t,e,n){"use strict";t.exports=n(45536)},33992:function(t,e,n){"use strict";t.exports=n(42600)},17600:function(t,e,n){"use strict";t.exports=n(21536)},49116:function(t,e,n){"use strict";t.exports=n(65664)},46808:function(t,e,n){"use strict";t.exports=n(29044)},36168:function(t,e,n){"use strict";t.exports=n(48928)},13792:function(t,e,n){"use strict";var i=n(32016);i.register([n(37240),n(29352),n(5e3),n(33992),n(17600),n(49116),n(6920),n(67484),n(79440),n(39204),n(83096),n(36168),n(20260),n(63560),n(65832),n(46808),n(73996),n(48824),n(89904),n(25120),n(13752),n(4340),n(62300),n(29800),n(8363),n(54543),n(86636),n(42192),n(32140),n(77280),n(89296),n(56816),n(70192),n(45e3),n(27528),n(84764),n(3920),n(50248),n(4624),n(69967),n(10264),n(86152),n(53219),n(81604),n(63796),n(29744),n(89336),n(86712),n(75556),n(16489),n(97312),n(96144)]),t.exports=i},3920:function(t,e,n){"use strict";t.exports=n(43480)},25120:function(t,e,n){"use strict";t.exports=n(6296)},4340:function(t,e,n){"use strict";t.exports=n(7404)},86152:function(t,e,n){"use strict";t.exports=n(65456)},56816:function(t,e,n){"use strict";t.exports=n(22020)},89296:function(t,e,n){"use strict";t.exports=n(29928)},20260:function(t,e,n){"use strict";t.exports=n(75792)},32140:function(t,e,n){"use strict";t.exports=n(156)},84764:function(t,e,n){"use strict";t.exports=n(45499)},48824:function(t,e,n){"use strict";t.exports=n(3296)},69967:function(t,e,n){"use strict";t.exports=n(4184)},8363:function(t,e,n){"use strict";t.exports=n(36952)},86636:function(t,e,n){"use strict";t.exports=n(38983)},70192:function(t,e,n){"use strict";t.exports=n(11572)},81604:function(t,e,n){"use strict";t.exports=n(76924)},63796:function(t,e,n){"use strict";t.exports=n(62944)},89336:function(t,e,n){"use strict";t.exports=n(95443)},67484:function(t,e,n){"use strict";t.exports=n(34864)},97312:function(t,e,n){"use strict";t.exports=n(76272)},42192:function(t,e,n){"use strict";t.exports=n(97924)},29800:function(t,e,n){"use strict";t.exports=n(15436)},63560:function(t,e,n){"use strict";t.exports=n(5621)},89904:function(t,e,n){"use strict";t.exports=n(91304)},50248:function(t,e,n){"use strict";t.exports=n(41724)},65832:function(t,e,n){"use strict";t.exports=n(31991)},79440:function(t,e,n){"use strict";t.exports=n(22869)},13752:function(t,e,n){"use strict";t.exports=n(67776)},83096:function(t,e,n){"use strict";t.exports=n(95952)},72196:function(t){"use strict";t.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},13916:function(t,e,n){"use strict";var i=n(72196),r=n(25376),o=n(33816),a=n(31780).templatedArray;n(36208),t.exports=a("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:r({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:i.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:i.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",o.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",o.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",o.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",o.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:r({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},90272:function(t,e,n){"use strict";var i=n(3400),r=n(54460),o=n(23816).draw;function a(t){var e=t._fullLayout;i.filterVisible(e.annotations).forEach((function(e){var n=r.getFromId(t,e.xref),i=r.getFromId(t,e.yref),o=r.getRefType(e.xref),a=r.getRefType(e.yref);e._extremes={},"range"===o&&s(e,n),"range"===a&&s(e,i)}))}function s(t,e){var n,i=e._id,o=i.charAt(0),a=t[o],s=t["a"+o],l=t[o+"ref"],u=t["a"+o+"ref"],c=t["_"+o+"padplus"],h=t["_"+o+"padminus"],d={x:1,y:-1}[o]*t[o+"shift"],f=3*t.arrowsize*t.arrowwidth||0,_=f+d,p=f-d,m=3*t.startarrowsize*t.arrowwidth||0,v=m+d,g=m-d;if(u===l){var y=r.findExtremes(e,[e.r2c(a)],{ppadplus:_,ppadminus:p}),b=r.findExtremes(e,[e.r2c(s)],{ppadplus:Math.max(c,v),ppadminus:Math.max(h,g)});n={min:[y.min[0],b.min[0]],max:[y.max[0],b.max[0]]}}else v=s?v+s:v,g=s?g-s:g,n=r.findExtremes(e,[e.r2c(a)],{ppadplus:Math.max(c,_,v),ppadminus:Math.max(h,p,g)});t._extremes[i]=n}t.exports=function(t){var e=t._fullLayout;if(i.filterVisible(e.annotations).length&&t._fullData.length)return i.syncOrAsync([o,a],t)}},42300:function(t,e,n){"use strict";var i=n(3400),r=n(24040),o=n(31780).arrayEditor;function a(t,e){var n,i,r,o,a,l,u,c=t._fullLayout.annotations,h=[],d=[],f=[],_=(e||[]).length;for(n=0;n0||n.explicitOff.length>0},onClick:function(t,e){var n,s,l=a(t,e),u=l.on,c=l.off.concat(l.explicitOff),h={},d=t._fullLayout.annotations;if(u.length||c.length){for(n=0;n2/3?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[e]}for(var V=!1,X=["x","y"],J=0;J1)&&(it===nt?((ft=rt.r2fraction(e["a"+et]))<0||ft>1)&&(V=!0):V=!0),Z=rt._offset+rt.r2p(e[et]),Q=.5}else{var _t="domain"===dt;"x"===et?(K=e[et],Z=_t?rt._offset+rt._length*K:Z=x.l+x.w*K):(K=1-e[et],Z=_t?rt._offset+rt._length*K:Z=x.t+x.h*K),Q=e.showarrow?.5:K}if(e.showarrow){ht.head=Z;var pt=e["a"+et];if(tt=at*W(.5,e.xanchor)-st*W(.5,e.yanchor),it===nt){var mt=l.getRefType(it);"domain"===mt?("y"===et&&(pt=1-pt),ht.tail=rt._offset+rt._length*pt):"paper"===mt?"y"===et?(pt=1-pt,ht.tail=x.t+x.h*pt):ht.tail=x.l+x.w*pt:ht.tail=rt._offset+rt.r2p(pt),Y=tt}else ht.tail=Z+pt,Y=tt+pt;ht.text=ht.tail+tt;var vt=E["x"===et?"width":"height"];if("paper"===nt&&(ht.head=a.constrain(ht.head,1,vt-1)),"pixel"===it){var gt=-Math.max(ht.tail-3,ht.text),yt=Math.min(ht.tail+3,ht.text)-vt;gt>0?(ht.tail+=gt,ht.text+=gt):yt>0&&(ht.tail-=yt,ht.text-=yt)}ht.tail+=ct,ht.head+=ct}else Y=tt=lt*W(Q,ut),ht.text=Z+tt;ht.text+=ct,tt+=ct,Y+=ct,e["_"+et+"padplus"]=lt/2+Y,e["_"+et+"padminus"]=lt/2-Y,e["_"+et+"size"]=lt,e["_"+et+"shift"]=tt}if(V)R.remove();else{var bt=0,wt=0;if("left"!==e.align&&(bt=(T-b)*("center"===e.align?.5:1)),"top"!==e.valign&&(wt=($-w)*("middle"===e.valign?.5:1)),h)i.select("svg").attr({x:j+bt-1,y:j+wt}).call(c.setClipUrl,D?k:null,t);else{var Et=j+wt-p.top,xt=j+bt-p.left;G.call(d.positionText,xt,Et).call(c.setClipUrl,D?k:null,t)}B.select("rect").call(c.setRect,j,j,T,$),q.call(c.setRect,P/2,P/2,U-P,F-P),R.call(c.setTranslate,Math.round(N.x.text-U/2),Math.round(N.y.text-F/2)),L.attr({transform:"rotate("+I+","+N.x.text+","+N.y.text+")"});var Ct,Tt=function(n,i){O.selectAll(".annotation-arrow-g").remove();var l=N.x.head,h=N.y.head,d=N.x.tail+n,f=N.y.tail+i,p=N.x.text+n,b=N.y.text+i,w=a.rotationXYMatrix(I,p,b),E=a.apply2DTransform(w),T=a.apply2DTransform2(w),k=+q.attr("width"),M=+q.attr("height"),$=p-.5*k,P=$+k,U=b-.5*M,j=U+M,D=[[$,U,$,j],[$,j,P,j],[P,j,P,U],[P,U,$,U]].map(T);if(!D.reduce((function(t,e){return t^!!a.segmentsIntersect(l,h,l+1e6,h+1e6,e[0],e[1],e[2],e[3])}),!1)){D.forEach((function(t){var e=a.segmentsIntersect(d,f,l,h,t[0],t[1],t[2],t[3]);e&&(d=e.x,f=e.y)}));var B=e.arrowwidth,F=e.arrowcolor,W=e.arrowside,G=O.append("g").style({opacity:u.opacity(F)}).classed("annotation-arrow-g",!0),H=G.append("path").attr("d","M"+d+","+f+"L"+l+","+h).style("stroke-width",B+"px").call(u.stroke,u.rgb(F));if(m(H,W,e),C.annotationPosition&&H.node().parentNode&&!o){var V=l,X=h;if(e.standoff){var J=Math.sqrt(Math.pow(l-d,2)+Math.pow(h-f,2));V+=e.standoff*(d-l)/J,X+=e.standoff*(f-h)/J}var Z,Y,K=G.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(d-V)+","+(f-X),transform:s(V,X)}).style("stroke-width",B+6+"px").call(u.stroke,"rgba(0,0,0,0)").call(u.fill,"rgba(0,0,0,0)");_.init({element:K.node(),gd:t,prepFn:function(){var t=c.getTranslate(R);Z=t.x,Y=t.y,v&&v.autorange&&A(v._name+".autorange",!0),y&&y.autorange&&A(y._name+".autorange",!0)},moveFn:function(t,n){var i=E(Z,Y),r=i[0]+t,o=i[1]+n;R.call(c.setTranslate,r,o),S("x",g(v,t,"x",x,e)),S("y",g(y,n,"y",x,e)),e.axref===e.xref&&S("ax",g(v,t,"ax",x,e)),e.ayref===e.yref&&S("ay",g(y,n,"ay",x,e)),G.attr("transform",s(t,n)),L.attr({transform:"rotate("+I+","+r+","+o+")"})},doneFn:function(){r.call("_guiRelayout",t,z());var e=document.querySelector(".js-notes-box-panel");e&&e.redraw(e.selectedObj)}})}}};e.showarrow&&Tt(0,0),M&&_.init({element:R.node(),gd:t,prepFn:function(){Ct=L.attr("transform")},moveFn:function(t,n){var i="pointer";if(e.showarrow)e.axref===e.xref?S("ax",g(v,t,"ax",x,e)):S("ax",e.ax+t),e.ayref===e.yref?S("ay",g(y,n,"ay",x.w,e)):S("ay",e.ay+n),Tt(t,n);else{if(o)return;var r,a;if(v)r=g(v,t,"x",x,e);else{var l=e._xsize/x.w,u=e.x+(e._xshift-e.xshift)/x.w-l/2;r=_.align(u+t/x.w,l,0,1,e.xanchor)}if(y)a=g(y,n,"y",x,e);else{var c=e._ysize/x.h,h=e.y-(e._yshift+e.yshift)/x.h-c/2;a=_.align(h-n/x.h,c,0,1,e.yanchor)}S("x",r),S("y",a),v&&y||(i=_.getCursor(v?.5:r,y?.5:a,e.xanchor,e.yanchor))}L.attr({transform:s(t,n)+Ct}),f(R,i)},clickFn:function(n,i){e.captureevents&&t.emit("plotly_clickannotation",H(i))},doneFn:function(){f(R),r.call("_guiRelayout",t,z());var e=document.querySelector(".js-notes-box-panel");e&&e.redraw(e.selectedObj)}})}}}t.exports={draw:function(t){var e=t._fullLayout;e._infolayer.selectAll(".annotation").remove();for(var n=0;n=0,y=e.indexOf("end")>=0,b=_.backoff*m+n.standoff,w=p.backoff*v+n.startstandoff;if("line"===f.nodeName){a={x:+t.attr("x1"),y:+t.attr("y1")},c={x:+t.attr("x2"),y:+t.attr("y2")};var E=a.x-c.x,x=a.y-c.y;if(d=(h=Math.atan2(x,E))+Math.PI,b&&w&&b+w>Math.sqrt(E*E+x*x))return void M();if(b){if(b*b>E*E+x*x)return void M();var C=b*Math.cos(h),T=b*Math.sin(h);c.x+=C,c.y+=T,t.attr({x2:c.x,y2:c.y})}if(w){if(w*w>E*E+x*x)return void M();var A=w*Math.cos(h),S=w*Math.sin(h);a.x-=A,a.y-=S,t.attr({x1:a.x,y1:a.y})}}else if("path"===f.nodeName){var z=f.getTotalLength(),k="";if(z1){u=!0;break}}u?t.fullLayout._infolayer.select(".annotation-"+t.id+'[data-index="'+s+'"]').remove():(l._pdata=r(t.glplot.cameraParams,[e.xaxis.r2l(l.x)*n[0],e.yaxis.r2l(l.y)*n[1],e.zaxis.r2l(l.z)*n[2]]),i(t.graphDiv,l,s,t.id,l._xa,l._ya))}}},56864:function(t,e,n){"use strict";var i=n(24040),r=n(3400);t.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:n(45899)}}},layoutAttributes:n(45899),handleDefaults:n(52808),includeBasePlot:function(t,e){var n=i.subplotsRegistry.gl3d;if(n)for(var o=n.attrRegex,a=Object.keys(t),s=0;s=0))return t;if(3===a)i[a]>1&&(i[a]=1);else if(i[a]>=1)return t}var s=Math.round(255*i[0])+", "+Math.round(255*i[1])+", "+Math.round(255*i[2]);return o?"rgba("+s+", "+i[3]+")":"rgb("+s+")"}a.tinyRGB=function(t){var e=t.toRgb();return"rgb("+Math.round(e.r)+", "+Math.round(e.g)+", "+Math.round(e.b)+")"},a.rgb=function(t){return a.tinyRGB(i(t))},a.opacity=function(t){return t?i(t).getAlpha():0},a.addOpacity=function(t,e){var n=i(t).toRgb();return"rgba("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+", "+e+")"},a.combine=function(t,e){var n=i(t).toRgb();if(1===n.a)return i(t).toRgbString();var r=i(e||u).toRgb(),o=1===r.a?r:{r:255*(1-r.a)+r.r*r.a,g:255*(1-r.a)+r.g*r.a,b:255*(1-r.a)+r.b*r.a},a={r:o.r*(1-n.a)+n.r*n.a,g:o.g*(1-n.a)+n.g*n.a,b:o.b*(1-n.a)+n.b*n.a};return i(a).toRgbString()},a.contrast=function(t,e,n){var r=i(t);return 1!==r.getAlpha()&&(r=i(a.combine(t,u))),(r.isDark()?e?r.lighten(e):u:n?r.darken(n):l).toString()},a.stroke=function(t,e){var n=i(e);t.style({stroke:a.tinyRGB(n),"stroke-opacity":n.getAlpha()})},a.fill=function(t,e){var n=i(e);t.style({fill:a.tinyRGB(n),"fill-opacity":n.getAlpha()})},a.clean=function(t){if(t&&"object"==typeof t){var e,n,i,r,s=Object.keys(t);for(e=0;e0?i>=l:i<=l));r++)i>c&&i0?i>=l:i<=l));r++)i>n[0]&&i1){var ft=Math.pow(10,Math.floor(Math.log(dt)/Math.LN10));ct*=ft*u.roundUp(dt/ft,[2,5,10]),(Math.abs(H.start)/H.size+1e-6)%1<2e-6&&(lt.tick0=0)}lt.dtick=ct}lt.domain=a?[at+O/U.h,at+Q-O/U.h]:[at+I/U.w,at+Q-I/U.w],lt.setScale(),t.attr("transform",c(Math.round(U.l),Math.round(U.t)));var _t,pt=t.select("."+T.cbtitleunshift).attr("transform",c(-Math.round(U.l),-Math.round(U.t))),mt=lt.ticklabelposition,vt=lt.title.font.size,gt=t.select("."+T.cbaxis),yt=0,bt=0;function wt(i,r){var o={propContainer:lt,propName:e._propPrefix+"title",traceIndex:e._traceIndex,_meta:e._meta,placeholder:P._dfltTitle.colorbar,containerGroup:t.select("."+T.cbtitle)},a="h"===i.charAt(0)?i.substr(1):"h"+i;t.selectAll("."+a+",."+a+"-math-group").remove(),p.draw(n,i,h(o,r||{}))}return u.syncOrAsync([o.previousPromises,function(){var t,e;(a&&ut||!a&&!ut)&&("top"===B&&(t=I+U.l+tt*L,e=O+U.t+et*(1-at-Q)+3+.75*vt),"bottom"===B&&(t=I+U.l+tt*L,e=O+U.t+et*(1-at)-3-.25*vt),"right"===B&&(e=O+U.t+et*M+3+.75*vt,t=I+U.l+tt*at),wt(lt._id+"title",{attributes:{x:t,y:e,"text-anchor":a?"start":"middle"}}))},function(){if(!a&&!ut||a&&ut){var o,l=t.select("."+T.cbtitle),h=l.select("text"),d=[-A/2,A/2],_=l.select(".h"+lt._id+"title-math-group").node(),p=15.6;if(h.node()&&(p=parseInt(h.node().style.fontSize,10)*E),_?(o=f.bBox(_),bt=o.width,(yt=o.height)>p&&(d[1]-=(yt-p)/2)):h.node()&&!h.classed(T.jsPlaceholder)&&(o=f.bBox(h.node()),bt=o.width,yt=o.height),a){if(yt){if(yt+=5,"top"===B)lt.domain[1]-=yt/U.h,d[1]*=-1;else{lt.domain[0]+=yt/U.h;var v=m.lineCount(h);d[1]+=(1-v)*p}l.attr("transform",c(d[0],d[1])),lt.setScale()}}else bt&&("right"===B&&(lt.domain[0]+=(bt+vt/2)/U.w),l.attr("transform",c(d[0],d[1])),lt.setScale())}t.selectAll("."+T.cbfills+",."+T.cblines).attr("transform",a?c(0,Math.round(U.h*(1-lt.domain[1]))):c(Math.round(U.w*lt.domain[0]),0)),gt.attr("transform",a?c(0,Math.round(-U.t)):c(Math.round(-U.l),0));var g=t.select("."+T.cbfills).selectAll("rect."+T.cbfill).attr("style","").data(X);g.enter().append("rect").classed(T.cbfill,!0).attr("style",""),g.exit().remove();var y=F.map(lt.c2p).map(Math.round).sort((function(t,e){return t-e}));g.each((function(t,o){var s=[0===o?F[0]:(X[o]+X[o-1])/2,o===X.length-1?F[1]:(X[o]+X[o+1])/2].map(lt.c2p).map(Math.round);a&&(s[1]=u.constrain(s[1]+(s[1]>s[0])?1:-1,y[0],y[1]));var l=i.select(this).attr(a?"x":"y",nt).attr(a?"y":"x",i.min(s)).attr(a?"width":"height",Math.max(Z,2)).attr(a?"height":"width",Math.max(i.max(s)-i.min(s),2));if(e._fillgradient)f.gradient(l,n,e._id,a?"vertical":"horizontalreversed",e._fillgradient,"fill");else{var c=G(t).replace("e-","");l.attr("fill",r(c).toHexString())}}));var b=t.select("."+T.cblines).selectAll("path."+T.cbline).data(q.color&&q.width?J:[]);b.enter().append("path").classed(T.cbline,!0),b.exit().remove(),b.each((function(t){var e=nt,n=Math.round(lt.c2p(t))+q.width/2%1;i.select(this).attr("d","M"+(a?e+","+n:n+","+e)+(a?"h":"v")+Z).call(f.lineGroupStyle,q.width,W(t),q.dash)})),gt.selectAll("g."+lt._id+"tick,path").remove();var w=nt+Z+(A||0)/2-("outside"===e.ticks?1:0),x=s.calcTicks(lt),C=s.getTickSigns(lt)[2];return s.drawTicks(n,lt,{vals:"inside"===lt.ticks?s.clipEnds(lt,x):x,layer:gt,path:s.makeTickPath(lt,w,C),transFn:s.makeTransTickFn(lt)}),s.drawLabels(n,lt,{vals:x,layer:gt,transFn:s.makeTransTickLabelFn(lt),labelFns:s.makeLabelFns(lt,w)})},function(){if(a&&!ut||!a&&ut){var t,r,o=lt.position||0,s=lt._offset+lt._length/2;if("right"===B)r=s,t=U.l+tt*o+10+vt*(lt.showticklabels?1:.5);else if(t=s,"bottom"===B&&(r=U.t+et*o+10+(-1===mt.indexOf("inside")?lt.tickfont.size:0)+("intside"!==lt.ticks&&e.ticklen||0)),"top"===B){var l=D.text.split("
").length;r=U.t+et*o+10-Z-E*vt*l}wt((a?"h":"v")+lt._id+"title",{avoid:{selection:i.select(n).selectAll("g."+lt._id+"tick"),side:B,offsetTop:a?0:U.t,offsetLeft:a?U.l:0,maxShift:a?P.width:P.height},attributes:{x:t,y:r,"text-anchor":"middle"},transform:{rotate:a?-90:0,offset:0}})}},o.previousPromises,function(){var i,s=Z+A/2;-1===mt.indexOf("inside")&&(i=f.bBox(gt.node()),s+=a?i.width:i.height),_t=pt.select("text");var u=0,h=a&&"top"===B,p=!a&&"right"===B,m=0;if(_t.node()&&!_t.classed(T.jsPlaceholder)){var g,y=pt.select(".h"+lt._id+"title-math-group").node();y&&(a&&ut||!a&&!ut)?(u=(i=f.bBox(y)).width,g=i.height):(u=(i=f.bBox(pt.node())).right-U.l-(a?nt:st),g=i.bottom-U.t-(a?st:nt),a||"top"!==B||(s+=i.height,m=i.height)),p&&(_t.attr("transform",c(u/2+vt/2,0)),u*=2),s=Math.max(s,a?u:g)}var b=2*(a?I:O)+s+S+A/2,E=0;!a&&D.text&&"bottom"===N&&M<=0&&(b+=E=b/2,m+=E),P._hColorbarMoveTitle=E,P._hColorbarMoveCBTitle=m;var j=S+A,q=(a?nt:st)-j/2-(a?I:0),F=(a?st:nt)-(a?K:O+m-E);t.select("."+T.cbbg).attr("x",q).attr("y",F).attr(a?"width":"height",Math.max(b-E,2)).attr(a?"height":"width",Math.max(K+j,2)).call(_.fill,z).call(_.stroke,e.bordercolor).style("stroke-width",S);var W=p?Math.max(u-10,0):0;t.selectAll("."+T.cboutline).attr("x",(a?nt:st+I)+W).attr("y",(a?st+O-K:nt)+(h?yt:0)).attr(a?"width":"height",Math.max(Z,2)).attr(a?"height":"width",Math.max(K-(a?2*O+yt:2*I+W),2)).call(_.stroke,e.outlinecolor).style({fill:"none","stroke-width":A});var G=a?it*b:0,H=a?0:(1-rt)*b-m;if(G=R?U.l-G:-G,H=$?U.t-H:-H,t.attr("transform",c(G,H)),!a&&(S||r(z).getAlpha()&&!r.equals(P.paper_bgcolor,z))){var V=gt.selectAll("text"),X=V[0].length,J=t.select("."+T.cbbg).node(),Y=f.bBox(J),Q=f.getTranslate(t);V.each((function(t,e){var n=X-1;if(0===e||e===n){var i,r=f.bBox(this),o=f.getTranslate(this);if(e===n){var a=r.right+o.x;(i=Y.right+Q.x+st-S-2+L-a)>0&&(i=0)}else if(0===e){var s=r.left+o.x;(i=Y.left+Q.x+st+S+2-s)<0&&(i=0)}i&&(X<3?this.setAttribute("transform","translate("+i+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}}))}var tt={},et=x[k],ot=C[k],at=x[N],ct=C[N],ht=b-Z;a?("pixels"===d?(tt.y=M,tt.t=K*at,tt.b=K*ct):(tt.t=tt.b=0,tt.yt=M+l*at,tt.yb=M-l*ct),"pixels"===w?(tt.x=L,tt.l=b*et,tt.r=b*ot):(tt.l=ht*et,tt.r=ht*ot,tt.xl=L-v*et,tt.xr=L+v*ot)):("pixels"===d?(tt.x=L,tt.l=K*et,tt.r=K*ot):(tt.l=tt.r=0,tt.xl=L+l*et,tt.xr=L-l*ot),"pixels"===w?(tt.y=1-M,tt.t=b*at,tt.b=b*ct):(tt.t=ht*at,tt.b=ht*ct,tt.yt=M-v*at,tt.yb=M+v*ct));var dt=e.y<.5?"b":"t",ft=e.x<.5?"l":"r";n._fullLayout._reservedMargin[e._id]={};var bt={r:P.width-q-G,l:q+tt.r,b:P.height-F-H,t:F+tt.b};R&&$?o.autoMargin(n,e._id,tt):R?n._fullLayout._reservedMargin[e._id][dt]=bt[dt]:$||a?n._fullLayout._reservedMargin[e._id][ft]=bt[ft]:n._fullLayout._reservedMargin[e._id][dt]=bt[dt]}],n)}(n,e,t);v&&v.then&&(t._promises||[]).push(v),t._context.edits.colorbarPosition&&function(t,e,n){var i,r,o,s="v"===e.orientation,u=n._fullLayout._size;l.init({element:t.node(),gd:n,prepFn:function(){i=t.attr("transform"),d(t)},moveFn:function(n,a){t.attr("transform",i+c(n,a)),r=l.align((s?e._uFrac:e._vFrac)+n/u.w,s?e._thickFrac:e._lenFrac,0,1,e.xanchor),o=l.align((s?e._vFrac:1-e._uFrac)-a/u.h,s?e._lenFrac:e._thickFrac,0,1,e.yanchor);var h=l.getCursor(r,o,e.xanchor,e.yanchor);d(t,h)},doneFn:function(){if(d(t),void 0!==r&&void 0!==o){var i={};i[e._propPrefix+"x"]=r,i[e._propPrefix+"y"]=o,void 0!==e._traceIndex?a.call("_guiRestyle",n,i,e._traceIndex):a.call("_guiRelayout",n,i)}}})}(n,e,t)})),e.exit().each((function(e){o.autoMargin(t,e._id)})).remove(),e.order()}}},90553:function(t,e,n){"use strict";var i=n(3400);t.exports=function(t){return i.isPlainObject(t.colorbar)}},55080:function(t,e,n){"use strict";t.exports={moduleType:"component",name:"colorbar",attributes:n(42996),supplyDefaults:n(64013),draw:n(37848).draw,hasColorbar:n(90553)}},49084:function(t,e,n){"use strict";var i=n(42996),r=n(53756).counter,o=n(95376),a=n(88304).scales;function s(t){return"`"+t+"`"}o(a),t.exports=function(t,e){t=t||"";var n,o=(e=e||{}).cLetter||"c",l=("onlyIfNumerical"in e?e.onlyIfNumerical:Boolean(t),"noScale"in e?e.noScale:"marker.line"===t),u="showScaleDflt"in e?e.showScaleDflt:"z"===o,c="string"==typeof e.colorscaleDflt?a[e.colorscaleDflt]:null,h=e.editTypeOverride||"",d=t?t+".":"";"colorAttr"in e?(n=e.colorAttr,e.colorAttr):s(d+(n={z:"z",c:"color"}[o]));var f=o+"auto",_=o+"min",p=o+"max",m=o+"mid",v=(s(d+f),s(d+_),s(d+p),{});v[_]=v[p]=void 0;var g={};g[f]=!1;var y={};return"color"===n&&(y.color={valType:"color",arrayOk:!0,editType:h||"style"},e.anim&&(y.color.anim=!0)),y[f]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:v},y[_]={valType:"number",dflt:null,editType:h||"plot",impliedEdits:g},y[p]={valType:"number",dflt:null,editType:h||"plot",impliedEdits:g},y[m]={valType:"number",dflt:null,editType:"calc",impliedEdits:v},y.colorscale={valType:"colorscale",editType:"calc",dflt:c,impliedEdits:{autocolorscale:!1}},y.autocolorscale={valType:"boolean",dflt:!1!==e.autoColorDflt,editType:"calc",impliedEdits:{colorscale:void 0}},y.reversescale={valType:"boolean",dflt:!1,editType:"plot"},l||(y.showscale={valType:"boolean",dflt:u,editType:"calc"},y.colorbar=i),e.noColorAxis||(y.coloraxis={valType:"subplotid",regex:r("coloraxis"),dflt:null,editType:"calc"}),y}},47128:function(t,e,n){"use strict";var i=n(38248),r=n(3400),o=n(94288).extractOpts;t.exports=function(t,e,n){var a,s=t._fullLayout,l=n.vals,u=n.containerStr,c=u?r.nestedProperty(e,u).get():e,h=o(c),d=!1!==h.auto,f=h.min,_=h.max,p=h.mid,m=function(){return r.aggNums(Math.min,null,l)},v=function(){return r.aggNums(Math.max,null,l)};void 0===f?f=m():d&&(f=c._colorAx&&i(f)?Math.min(f,m()):m()),void 0===_?_=v():d&&(_=c._colorAx&&i(_)?Math.max(_,v()):v()),d&&void 0!==p&&(_-p>p-f?f=p-(_-p):_-p=0?s.colorscale.sequential:s.colorscale.sequentialminus,h._sync("colorscale",a))}},95504:function(t,e,n){"use strict";var i=n(3400),r=n(94288).hasColorscale,o=n(94288).extractOpts;t.exports=function(t,e){function n(t,e){var n=t["_"+e];void 0!==n&&(t[e]=n)}function a(t,r){var a=r.container?i.nestedProperty(t,r.container).get():t;if(a)if(a.coloraxis)a._colorAx=e[a.coloraxis];else{var s=o(a),l=s.auto;(l||void 0===s.min)&&n(a,r.min),(l||void 0===s.max)&&n(a,r.max),s.autocolorscale&&n(a,"colorscale")}}for(var s=0;s=0;i--,r++){var o=t[i];n[r]=[1-o[0],o[1]]}return n}function _(t,e){e=e||{};for(var n=t.domain,a=t.range,l=a.length,u=new Array(l),c=0;c4/3-s?a:s}},67416:function(t,e,n){"use strict";var i=n(3400),r=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];t.exports=function(t,e,n,o){return t="left"===n?0:"center"===n?1:"right"===n?2:i.constrain(Math.floor(3*t),0,2),e="bottom"===o?0:"middle"===o?1:"top"===o?2:i.constrain(Math.floor(3*e),0,2),r[e][t]}},72760:function(t,e){"use strict";e.selectMode=function(t){return"lasso"===t||"select"===t},e.drawMode=function(t){return"drawclosedpath"===t||"drawopenpath"===t||"drawline"===t||"drawrect"===t||"drawcircle"===t},e.openMode=function(t){return"drawline"===t||"drawopenpath"===t},e.rectMode=function(t){return"select"===t||"drawline"===t||"drawrect"===t||"drawcircle"===t},e.freeMode=function(t){return"lasso"===t||"drawclosedpath"===t||"drawopenpath"===t},e.selectingOrDrawing=function(t){return e.freeMode(t)||e.rectMode(t)}},86476:function(t,e,n){"use strict";var i=n(29128),r=n(52264),o=n(89184),a=n(3400).removeElement,s=n(33816),l=t.exports={};l.align=n(78316),l.getCursor=n(67416);var u=n(2616);function c(){var t=document.createElement("div");t.className="dragcover";var e=t.style;return e.position="fixed",e.left=0,e.right=0,e.top=0,e.bottom=0,e.zIndex=999999999,e.background="none",document.body.appendChild(t),t}function h(t){return i(t.changedTouches?t.changedTouches[0]:t,document.body)}l.unhover=u.wrapped,l.unhoverRaw=u.raw,l.init=function(t){var e,n,i,u,d,f,_,p,m=t.gd,v=1,g=m._context.doubleClickDelay,y=t.element;m._mouseDownTime||(m._mouseDownTime=0),y.style.pointerEvents="all",y.onmousedown=w,o?(y._ontouchstart&&y.removeEventListener("touchstart",y._ontouchstart),y._ontouchstart=w,y.addEventListener("touchstart",w,{passive:!1})):y.ontouchstart=w;var b=t.clampFn||function(t,e,n){return Math.abs(t)g&&(v=Math.max(v-1,1)),m._dragged)t.doneFn&&t.doneFn();else if(t.clickFn&&t.clickFn(v,f),!p){var n;try{n=new MouseEvent("click",e)}catch(t){var i=h(e);(n=document.createEvent("MouseEvents")).initMouseEvent("click",e.bubbles,e.cancelable,e.view,e.detail,e.screenX,e.screenY,i[0],i[1],e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget)}_.dispatchEvent(n)}m._dragging=!1,m._dragged=!1}else m._dragged=!1}},l.coverSlip=c},2616:function(t,e,n){"use strict";var i=n(95924),r=n(91200),o=n(52200).getGraphDiv,a=n(92456),s=t.exports={};s.wrapped=function(t,e,n){(t=o(t))._fullLayout&&r.clear(t._fullLayout._uid+a.HOVERID),s.raw(t,e,n)},s.raw=function(t,e){var n=t._fullLayout,r=t._hoverdata;e||(e={}),e.target&&!t._dragged&&!1===i.triggerHandler(t,"plotly_beforehover",e)||(n._hoverlayer.selectAll("g").remove(),n._hoverlayer.selectAll("line").remove(),n._hoverlayer.selectAll("circle").remove(),t._hoverdata=void 0,e.target&&r&&t.emit("plotly_unhover",{event:e,points:r}))}},98192:function(t,e){"use strict";e.u={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},e.c={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},43616:function(t,e,n){"use strict";var i=n(33428),r=n(3400),o=r.numberFormat,a=n(38248),s=n(49760),l=n(24040),u=n(76308),c=n(8932),h=r.strTranslate,d=n(72736),f=n(9616),_=n(84284).LINE_SPACING,p=n(13448).DESELECTDIM,m=n(43028),v=n(7152),g=n(10624).appendArrayPointValue,y=t.exports={};function b(t,e,n){var i=e.fillpattern,r=i&&y.getPatternAttr(i.shape,0,"");if(r){var o=y.getPatternAttr(i.bgcolor,0,null),a=y.getPatternAttr(i.fgcolor,0,null),s=i.fgopacity,l=y.getPatternAttr(i.size,0,8),c=y.getPatternAttr(i.solidity,0,.3),h=e.uid;y.pattern(t,"point",n,h,r,l,c,void 0,i.fillmode,o,a,s)}else e.fillcolor&&t.call(u.fill,e.fillcolor)}y.font=function(t,e,n,i){r.isPlainObject(e)&&(i=e.color,n=e.size,e=e.family),e&&t.style("font-family",e),n+1&&t.style("font-size",n+"px"),i&&t.call(u.fill,i)},y.setPosition=function(t,e,n){t.attr("x",e).attr("y",n)},y.setSize=function(t,e,n){t.attr("width",e).attr("height",n)},y.setRect=function(t,e,n,i,r){t.call(y.setPosition,e,n).call(y.setSize,i,r)},y.translatePoint=function(t,e,n,i){var r=n.c2p(t.x),o=i.c2p(t.y);return!!(a(r)&&a(o)&&e.node())&&("text"===e.node().nodeName?e.attr("x",r).attr("y",o):e.attr("transform",h(r,o)),!0)},y.translatePoints=function(t,e,n){t.each((function(t){var r=i.select(this);y.translatePoint(t,r,e,n)}))},y.hideOutsideRangePoint=function(t,e,n,i,r,o){e.attr("display",n.isPtWithinRange(t,r)&&i.isPtWithinRange(t,o)?null:"none")},y.hideOutsideRangePoints=function(t,e){if(e._hasClipOnAxisFalse){var n=e.xaxis,r=e.yaxis;t.each((function(e){var o=e[0].trace,a=o.xcalendar,s=o.ycalendar,u=l.traceIs(o,"bar-like")?".bartext":".point,.textpoint";t.selectAll(u).each((function(t){y.hideOutsideRangePoint(t,i.select(this),n,r,a,s)}))}))}},y.crispRound=function(t,e,n){return e&&a(e)?t._context.staticPlot?e:e<1?1:Math.round(e):n||0},y.singleLineStyle=function(t,e,n,i,r){e.style("fill","none");var o=(((t||[])[0]||{}).trace||{}).line||{},a=n||o.width||0,s=r||o.dash||"";u.stroke(e,i||o.color),y.dashLine(e,s,a)},y.lineGroupStyle=function(t,e,n,r){t.style("fill","none").each((function(t){var o=(((t||[])[0]||{}).trace||{}).line||{},a=e||o.width||0,s=r||o.dash||"";i.select(this).call(u.stroke,n||o.color).call(y.dashLine,s,a)}))},y.dashLine=function(t,e,n){n=+n||0,e=y.dashStyle(e,n),t.style({"stroke-dasharray":e,"stroke-width":n+"px"})},y.dashStyle=function(t,e){e=+e||1;var n=Math.max(e,3);return"solid"===t?t="":"dot"===t?t=n+"px,"+n+"px":"dash"===t?t=3*n+"px,"+3*n+"px":"longdash"===t?t=5*n+"px,"+5*n+"px":"dashdot"===t?t=3*n+"px,"+n+"px,"+n+"px,"+n+"px":"longdashdot"===t&&(t=5*n+"px,"+2*n+"px,"+n+"px,"+2*n+"px"),t},y.singleFillStyle=function(t,e){var n=i.select(t.node());b(t,((n.data()[0]||[])[0]||{}).trace||{},e)},y.fillGroupStyle=function(t,e){t.style("stroke-width",0).each((function(t){var n=i.select(this);t[0].trace&&b(n,t[0].trace,e)}))};var w=n(71984);y.symbolNames=[],y.symbolFuncs=[],y.symbolBackOffs=[],y.symbolNeedLines={},y.symbolNoDot={},y.symbolNoFill={},y.symbolList=[],Object.keys(w).forEach((function(t){var e=w[t],n=e.n;y.symbolList.push(n,String(n),t,n+100,String(n+100),t+"-open"),y.symbolNames[n]=t,y.symbolFuncs[n]=e.f,y.symbolBackOffs[n]=e.backoff||0,e.needLine&&(y.symbolNeedLines[n]=!0),e.noDot?y.symbolNoDot[n]=!0:y.symbolList.push(n+200,String(n+200),t+"-dot",n+300,String(n+300),t+"-open-dot"),e.noFill&&(y.symbolNoFill[n]=!0)}));var E=y.symbolNames.length;function x(t,e,n,i){var r=t%100;return y.symbolFuncs[r](e,n,i)+(t>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}y.symbolNumber=function(t){if(a(t))t=+t;else if("string"==typeof t){var e=0;t.indexOf("-open")>0&&(e=100,t=t.replace("-open","")),t.indexOf("-dot")>0&&(e+=200,t=t.replace("-dot","")),(t=y.symbolNames.indexOf(t))>=0&&(t+=e)}return t%100>=E||t>=400?0:Math.floor(Math.max(t,0))};var C={x1:1,x2:0,y1:0,y2:0},T={x1:0,x2:0,y1:1,y2:0},A=o("~f"),S={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:C},horizontalreversed:{node:"linearGradient",attrs:C,reversed:!0},vertical:{node:"linearGradient",attrs:T},verticalreversed:{node:"linearGradient",attrs:T,reversed:!0}};y.gradient=function(t,e,n,o,a,l){for(var c=a.length,h=S[o],d=new Array(c),f=0;f=0&&void 0===t.i&&(t.i=a.i),e.style("opacity",i.selectedOpacityFn?i.selectedOpacityFn(t):void 0===t.mo?s.opacity:t.mo),i.ms2mrc){var c;c="various"===t.ms||"various"===s.size?3:i.ms2mrc(t.ms),t.mrc=c,i.selectedSizeFn&&(c=t.mrc=i.selectedSizeFn(t));var h=y.symbolNumber(t.mx||s.symbol)||0;t.om=h%200>=100;var d=nt(t,n),f=G(t,n);e.attr("d",x(h,c,d,f))}var _,p,m,v=!1;if(t.so)m=l.outlierwidth,p=l.outliercolor,_=s.outliercolor;else{var g=(l||{}).width;m=(t.mlw+1||g+1||(t.trace?(t.trace.marker.line||{}).width:0)+1)-1||0,p="mlc"in t?t.mlcc=i.lineScale(t.mlc):r.isArrayOrTypedArray(l.color)?u.defaultLine:l.color,r.isArrayOrTypedArray(s.color)&&(_=u.defaultLine,v=!0),_="mc"in t?t.mcc=i.markerScale(t.mc):s.color||s.colors||"rgba(0,0,0,0)",i.selectedColorFn&&(_=i.selectedColorFn(t))}if(t.om)e.call(u.stroke,_).style({"stroke-width":(m||1)+"px",fill:"none"});else{e.style("stroke-width",(t.isBlank?0:m)+"px");var b=s.gradient,w=t.mgt;w?v=!0:w=b&&b.type,r.isArrayOrTypedArray(w)&&(w=w[0],S[w]||(w=0));var E=s.pattern,C=E&&y.getPatternAttr(E.shape,t.i,"");if(w&&"none"!==w){var T=t.mgc;T?v=!0:T=b.color;var A=n.uid;v&&(A+="-"+t.i),y.gradient(e,o,A,w,[[0,T],[1,_]],"fill")}else if(C){var z=!1,k=E.fgcolor;!k&&a&&a.color&&(k=a.color,z=!0);var N=y.getPatternAttr(k,t.i,a&&a.color||null),I=y.getPatternAttr(E.bgcolor,t.i,null),O=E.fgopacity,L=y.getPatternAttr(E.size,t.i,8),M=y.getPatternAttr(E.solidity,t.i,.3);z=z||t.mcc||r.isArrayOrTypedArray(E.shape)||r.isArrayOrTypedArray(E.bgcolor)||r.isArrayOrTypedArray(E.fgcolor)||r.isArrayOrTypedArray(E.size)||r.isArrayOrTypedArray(E.solidity);var $=n.uid;z&&($+="-"+t.i),y.pattern(e,"point",o,$,C,L,M,t.mcc,E.fillmode,I,N,O)}else r.isArrayOrTypedArray(_)?u.fill(e,_[t.i]):u.fill(e,_);m&&u.stroke(e,p)}},y.makePointStyleFns=function(t){var e={},n=t.marker;return e.markerScale=y.tryColorscale(n,""),e.lineScale=y.tryColorscale(n,"line"),l.traceIs(t,"symbols")&&(e.ms2mrc=m.isBubble(t)?v(t):function(){return(n.size||6)/2}),t.selectedpoints&&r.extendFlat(e,y.makeSelectedPointStyleFns(t)),e},y.makeSelectedPointStyleFns=function(t){var e={},n=t.selected||{},i=t.unselected||{},o=t.marker||{},a=n.marker||{},s=i.marker||{},u=o.opacity,c=a.opacity,h=s.opacity,d=void 0!==c,f=void 0!==h;(r.isArrayOrTypedArray(u)||d||f)&&(e.selectedOpacityFn=function(t){var e=void 0===t.mo?o.opacity:t.mo;return t.selected?d?c:e:f?h:p*e});var _=o.color,m=a.color,v=s.color;(m||v)&&(e.selectedColorFn=function(t){var e=t.mcc||_;return t.selected?m||e:v||e});var g=o.size,y=a.size,b=s.size,w=void 0!==y,E=void 0!==b;return l.traceIs(t,"symbols")&&(w||E)&&(e.selectedSizeFn=function(t){var e=t.mrc||g/2;return t.selected?w?y/2:e:E?b/2:e}),e},y.makeSelectedTextStyleFns=function(t){var e={},n=t.selected||{},i=t.unselected||{},r=t.textfont||{},o=n.textfont||{},a=i.textfont||{},s=r.color,l=o.color,c=a.color;return e.selectedTextColorFn=function(t){var e=t.tc||s;return t.selected?l||e:c||(l?e:u.addOpacity(e,p))},e},y.selectedPointStyle=function(t,e){if(t.size()&&e.selectedpoints){var n=y.makeSelectedPointStyleFns(e),r=e.marker||{},o=[];n.selectedOpacityFn&&o.push((function(t,e){t.style("opacity",n.selectedOpacityFn(e))})),n.selectedColorFn&&o.push((function(t,e){u.fill(t,n.selectedColorFn(e))})),n.selectedSizeFn&&o.push((function(t,i){var o=i.mx||r.symbol||0,a=n.selectedSizeFn(i);t.attr("d",x(y.symbolNumber(o),a,nt(i,e),G(i,e))),i.mrc2=a})),o.length&&t.each((function(t){for(var e=i.select(this),n=0;n0?n:0}function L(t,e,n){return n&&(t=j(t)),e?$(t[1]):M(t[0])}function M(t){var e=i.round(t,2);return z=e,e}function $(t){var e=i.round(t,2);return k=e,e}function R(t,e,n,i){var r=t[0]-e[0],o=t[1]-e[1],a=n[0]-e[0],s=n[1]-e[1],l=Math.pow(r*r+o*o,.25),u=Math.pow(a*a+s*s,.25),c=(u*u*r-l*l*a)*i,h=(u*u*o-l*l*s)*i,d=3*u*(l+u),f=3*l*(l+u);return[[M(e[0]+(d&&c/d)),$(e[1]+(d&&h/d))],[M(e[0]-(f&&c/f)),$(e[1]-(f&&h/f))]]}y.textPointStyle=function(t,e,n){if(t.size()){var o;if(e.selectedpoints){var a=y.makeSelectedTextStyleFns(e);o=a.selectedTextColorFn}var s=e.texttemplate,l=n._fullLayout;t.each((function(t){var a=i.select(this),u=s?r.extractOption(t,e,"txt","texttemplate"):r.extractOption(t,e,"tx","text");if(u||0===u){if(s){var c=e._module.formatLabels,h=c?c(t,e,l):{},f={};g(f,e,t.i);var _=e._meta||{};u=r.texttemplateString(u,h,l._d3locale,f,t,_)}var p=t.tp||e.textposition,m=O(t,e),v=o?o(t):t.tc||e.textfont.color;a.call(y.font,t.tf||e.textfont.family,m,v).text(u).call(d.convertToTspans,n).call(I,p,m,t.mrc)}else a.remove()}))}},y.selectedTextStyle=function(t,e){if(t.size()&&e.selectedpoints){var n=y.makeSelectedTextStyleFns(e);t.each((function(t){var r=i.select(this),o=n.selectedTextColorFn(t),a=t.tp||e.textposition,s=O(t,e);u.fill(r,o);var c=l.traceIs(e,"bar-like");I(r,a,s,t.mrc2||t.mrc,c)}))}},y.smoothopen=function(t,e){if(t.length<3)return"M"+t.join("L");var n,i="M"+t[0],r=[];for(n=1;n=u||E>=h&&E<=u)&&(x<=d&&x>=c||x>=d&&x<=c)&&(t=[E,x])}return t}y.steps=function(t){var e=P[t]||U;return function(t){for(var n="M"+M(t[0][0])+","+$(t[0][1]),i=t.length,r=1;r=1e4&&(y.savedBBoxes={},q=0),n&&(y.savedBBoxes[n]=m),q++,r.extendFlat({},m)},y.setClipUrl=function(t,e,n){t.attr("clip-path",B(e,n))},y.getTranslate=function(t){var e=(t[t.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,(function(t,e,n){return[e,n].join(" ")})).split(" ");return{x:+e[0]||0,y:+e[1]||0}},y.setTranslate=function(t,e,n){var i=t.attr?"attr":"getAttribute",r=t.attr?"attr":"setAttribute",o=t[i]("transform")||"";return e=e||0,n=n||0,o=o.replace(/(\btranslate\(.*?\);?)/,"").trim(),o=(o+=h(e,n)).trim(),t[r]("transform",o),o},y.getScale=function(t){var e=(t[t.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,(function(t,e,n){return[e,n].join(" ")})).split(" ");return{x:+e[0]||1,y:+e[1]||1}},y.setScale=function(t,e,n){var i=t.attr?"attr":"getAttribute",r=t.attr?"attr":"setAttribute",o=t[i]("transform")||"";return e=e||1,n=n||1,o=o.replace(/(\bscale\(.*?\);?)/,"").trim(),o=(o+="scale("+e+","+n+")").trim(),t[r]("transform",o),o};var F=/\s*sc.*/;y.setPointGroupScale=function(t,e,n){if(e=e||1,n=n||1,t){var i=1===e&&1===n?"":"scale("+e+","+n+")";t.each((function(){var t=(this.getAttribute("transform")||"").replace(F,"");t=(t+=i).trim(),this.setAttribute("transform",t)}))}};var W=/translate\([^)]*\)\s*$/;function G(t,e){var n;return t&&(n=t.mf),void 0===n&&(n=e.marker&&e.marker.standoff||0),e._geo||e._xA?n:-n}y.setTextPointsScale=function(t,e,n){t&&t.each((function(){var t,r=i.select(this),o=r.select("text");if(o.node()){var a=parseFloat(o.attr("x")||0),s=parseFloat(o.attr("y")||0),l=(r.attr("transform")||"").match(W);t=1===e&&1===n?[]:[h(a,s),"scale("+e+","+n+")",h(-a,-s)],l&&t.push(l),r.attr("transform",t.join(""))}}))},y.getMarkerStandoff=G;var H,V,X,J,Z,Y,K=Math.atan2,Q=Math.cos,tt=Math.sin;function et(t,e){var n=e[0],i=e[1];return[n*Q(t)-i*tt(t),n*tt(t)+i*Q(t)]}function nt(t,e){var n,i,o=t.ma;void 0===o&&((o=e.marker.angle)&&!r.isArrayOrTypedArray(o)||(o=0));var s=e.marker.angleref;if("previous"===s||"north"===s){if(e._geo){var l=e._geo.project(t.lonlat);n=l[0],i=l[1]}else{var u=e._xA,c=e._yA;if(!u||!c)return 90;n=u.c2p(t.x),i=c.c2p(t.y)}if(e._geo){var h,d=t.lonlat[0],f=t.lonlat[1],_=e._geo.project([d,f+1e-5]),p=e._geo.project([d+1e-5,f]),m=K(p[1]-i,p[0]-n),v=K(_[1]-i,_[0]-n);if("north"===s)h=o/180*Math.PI;else if("previous"===s){var g=d/180*Math.PI,y=f/180*Math.PI,b=H/180*Math.PI,w=V/180*Math.PI,E=b-g,x=Q(w)*tt(E),C=tt(w)*Q(y)-Q(w)*tt(y)*Q(E);h=-K(x,C)-Math.PI,H=d,V=f}var T=et(m,[Q(h),0]),A=et(v,[tt(h),0]);o=K(T[1]+A[1],T[0]+A[0])/Math.PI*180,"previous"!==s||Y===e.uid&&t.i===Z+1||(o=null)}if("previous"===s&&!e._geo)if(Y===e.uid&&t.i===Z+1&&a(n)&&a(i)){var S=n-X,z=i-J,k=e.line&&e.line.shape||"",N=k.slice(k.length-1);"h"===N&&(z=0),"v"===N&&(S=0),o+=K(z,S)/Math.PI*180+90}else o=null}return X=n,J=i,Z=t.i,Y=e.uid,o}y.getMarkerAngle=nt},71984:function(t,e,n){"use strict";var i,r,o,a,s=n(21984),l=n(33428).round,u="M0,0Z",c=Math.sqrt(2),h=Math.sqrt(3),d=Math.PI,f=Math.cos,_=Math.sin;function p(t){return null===t}function m(t,e,n){if(!(t&&t%360!=0||e))return n;if(o===t&&a===e&&i===n)return r;function l(t,n){var i=f(t),r=_(t),o=n[0],a=n[1]+(e||0);return[o*i-a*r,o*r+a*i]}o=t,a=e,i=n;for(var u=t/180*d,c=0,h=0,p=s(n),m="",v=0;v0,h=t._context.staticPlot;e.each((function(e){var d,f=e[0].trace,_=f.error_x||{},p=f.error_y||{};f.ids&&(d=function(t){return t.id});var m=a.hasMarkers(f)&&f.marker.maxdisplayed>0;p.visible||_.visible||(e=[]);var v=i.select(this).selectAll("g.errorbar").data(e,d);if(v.exit().remove(),e.length){_.visible||v.selectAll("path.xerror").remove(),p.visible||v.selectAll("path.yerror").remove(),v.style("opacity",1);var g=v.enter().append("g").classed("errorbar",!0);c&&g.style("opacity",0).transition().duration(s.duration).style("opacity",1),o.setClipUrl(v,n.layerClipId,t),v.each((function(t){var e=i.select(this),n=function(t,e,n){var i={x:e.c2p(t.x),y:n.c2p(t.y)};return void 0!==t.yh&&(i.yh=n.c2p(t.yh),i.ys=n.c2p(t.ys),r(i.ys)||(i.noYS=!0,i.ys=n.c2p(t.ys,!0))),void 0!==t.xh&&(i.xh=e.c2p(t.xh),i.xs=e.c2p(t.xs),r(i.xs)||(i.noXS=!0,i.xs=e.c2p(t.xs,!0))),i}(t,l,u);if(!m||t.vis){var o,a=e.select("path.yerror");if(p.visible&&r(n.x)&&r(n.yh)&&r(n.ys)){var d=p.width;o="M"+(n.x-d)+","+n.yh+"h"+2*d+"m-"+d+",0V"+n.ys,n.noYS||(o+="m-"+d+",0h"+2*d),a.size()?c&&(a=a.transition().duration(s.duration).ease(s.easing)):a=e.append("path").style("vector-effect",h?"none":"non-scaling-stroke").classed("yerror",!0),a.attr("d",o)}else a.remove();var f=e.select("path.xerror");if(_.visible&&r(n.y)&&r(n.xh)&&r(n.xs)){var v=(_.copy_ystyle?p:_).width;o="M"+n.xh+","+(n.y-v)+"v"+2*v+"m0,-"+v+"H"+n.xs,n.noXS||(o+="m0,-"+v+"v"+2*v),f.size()?c&&(f=f.transition().duration(s.duration).ease(s.easing)):f=e.append("path").style("vector-effect",h?"none":"non-scaling-stroke").classed("xerror",!0),f.attr("d",o)}else f.remove()}}))}}))}},92036:function(t,e,n){"use strict";var i=n(33428),r=n(76308);t.exports=function(t){t.each((function(t){var e=t[0].trace,n=e.error_y||{},o=e.error_x||{},a=i.select(this);a.selectAll("path.yerror").style("stroke-width",n.thickness+"px").call(r.stroke,n.color),o.copy_ystyle&&(o=n),a.selectAll("path.xerror").style("stroke-width",o.thickness+"px").call(r.stroke,o.color)}))}},55756:function(t,e,n){"use strict";var i=n(25376),r=n(65460).hoverlabel,o=n(92880).extendFlat;t.exports={hoverlabel:{bgcolor:o({},r.bgcolor,{arrayOk:!0}),bordercolor:o({},r.bordercolor,{arrayOk:!0}),font:i({arrayOk:!0,editType:"none"}),align:o({},r.align,{arrayOk:!0}),namelength:o({},r.namelength,{arrayOk:!0}),editType:"none"}}},55056:function(t,e,n){"use strict";var i=n(3400),r=n(24040);function o(t,e,n,r){r=r||i.identity,Array.isArray(t)&&(e[0][n]=r(t))}t.exports=function(t){var e=t.calcdata,n=t._fullLayout;function a(t){return function(e){return i.coerceHoverinfo({hoverinfo:e},{_module:t._module},n)}}for(var s=0;s=0&&n.indexw[0]._length||lt<0||lt>E[0]._length)return _.unhoverRaw(t,e)}else st="xpx"in e?e.xpx:w[0]._length/2,lt="ypx"in e?e.ypx:E[0]._length/2;if(e.pointerX=st+w[0]._offset,e.pointerY=lt+E[0]._offset,W="xval"in e?v.flat(l,e.xval):v.p2c(w,st),G="yval"in e?v.flat(l,e.yval):v.p2c(E,lt),!r(W[0])||!r(G[0]))return a.warn("Fx.hover failed",e,t),_.unhoverRaw(t,e)}var ht=1/0;function dt(t,n){for(V=0;Vnt&&(it.splice(0,nt),ht=it[0].distance),g&&0!==F&&0===it.length){et.distance=F,et.index=!1;var h=J._module.hoverPoints(et,Q,tt,"closest",{hoverLayer:c._hoverlayer});if(h&&(h=h.filter((function(t){return t.spikeDistance<=F}))),h&&h.length){var d,_=h.filter((function(t){return t.xa.showspikes&&"hovered data"!==t.xa.spikesnap}));if(_.length){var p=_[0];r(p.x0)&&r(p.y0)&&(d=_t(p),(!ot.vLinePoint||ot.vLinePoint.spikeDistance>d.spikeDistance)&&(ot.vLinePoint=d))}var m=h.filter((function(t){return t.ya.showspikes&&"hovered data"!==t.ya.spikesnap}));if(m.length){var y=m[0];r(y.x0)&&r(y.y0)&&(d=_t(y),(!ot.hLinePoint||ot.hLinePoint.spikeDistance>d.spikeDistance)&&(ot.hLinePoint=d))}}}}}function ft(t,e,n){for(var i,r=null,o=1/0,a=0;a0&&Math.abs(t.distance)Tt-1;At--)Nt(it[At]);it=St,gt()}var It=t._hoverdata,Ot=[],Lt=D(t),Mt=B(t);for(H=0;H1||it.length>1)||"closest"===L&&at&&it.length>1,Vt=f.combine(c.plot_bgcolor||f.background,c.paper_bgcolor),Xt=O(it,{gd:t,hovermode:L,rotateLabels:Ht,bgColor:Vt,container:c._hoverlayer,outerContainer:c._paper.node(),commonLabelOpts:c.hoverlabel,hoverdistance:c.hoverdistance}),Jt=Xt.hoverLabels;if(v.isUnifiedHover(L)||(function(t,e,n,i){var r,o,a,s,l,u,c,h=e?"xa":"ya",d=e?"ya":"xa",f=0,_=1,p=t.size(),m=new Array(p),v=0,g=i.minX,y=i.maxX,b=i.minY,w=i.maxY,E=function(t){return t*n._invScaleX},C=function(t){return t*n._invScaleY};function T(t){var e=t[0],n=t[t.length-1];if(o=e.pmin-e.pos-e.dp+e.size,a=n.pos+n.dp+n.size-e.pmax,o>.01){for(l=t.length-1;l>=0;l--)t[l].dp+=o;r=!1}if(!(a<.01)){if(o<-.01){for(l=t.length-1;l>=0;l--)t[l].dp-=a;r=!1}if(r){var i=0;for(s=0;se.pmax&&i++;for(s=t.length-1;s>=0&&!(i<=0);s--)(u=t[s]).pos>e.pmax-1&&(u.del=!0,i--);for(s=0;s=0;l--)t[l].dp-=a;for(s=t.length-1;s>=0&&!(i<=0);s--)(u=t[s]).pos+u.dp+u.size>e.pmax&&(u.del=!0,i--)}}}for(t.each((function(t){var i=t[h],r=t[d],o="x"===i._id.charAt(0),a=i.range;0===v&&a&&a[0]>a[1]!==o&&(_=-1);var s=0,l=o?n.width:n.height;if("x"===n.hovermode||"y"===n.hovermode){var u,c,f=M(t,e),p=t.anchor,T="end"===p?-1:1;if("middle"===p)c=(u=t.crossPos+(o?C(f.y-t.by/2):E(t.bx/2+t.tx2width/2)))+(o?C(t.by):E(t.bx));else if(o)c=(u=t.crossPos+C(A+f.y)-C(t.by/2-A))+C(t.by);else{var S=E(T*A+f.x),z=S+E(T*t.bx);u=t.crossPos+Math.min(S,z),c=t.crossPos+Math.max(S,z)}o?void 0!==b&&void 0!==w&&Math.min(c,w)-Math.max(u,b)>1&&("left"===r.side?(s=r._mainLinePosition,l=n.width):l=r._mainLinePosition):void 0!==g&&void 0!==y&&Math.min(c,y)-Math.max(u,g)>1&&("top"===r.side?(s=r._mainLinePosition,l=n.height):l=r._mainLinePosition)}m[v++]=[{datum:t,traceIndex:t.trace.index,dp:0,pos:t.pos,posref:t.posref,size:t.by*(o?x:1)/2,pmin:s,pmax:l}]})),m.sort((function(t,e){return t[0].posref-e[0].posref||_*(e[0].traceIndex-t[0].traceIndex)}));!r&&f<=p;){for(f++,r=!0,s=0;s.01&&k.pmin===N.pmin&&k.pmax===N.pmax){for(l=z.length-1;l>=0;l--)z[l].dp+=o;for(S.push.apply(S,z),m.splice(s+1,1),c=0,l=S.length-1;l>=0;l--)c+=S[l].dp;for(a=c/S.length,l=S.length-1;l>=0;l--)S[l].dp-=a;r=!1}else s++}m.forEach(T)}for(s=m.length-1;s>=0;s--){var I=m[s];for(l=I.length-1;l>=0;l--){var O=I[l],L=O.datum;L.offset=O.dp,L.del=O.del}}}(Jt,Ht,c,Xt.commonLabelBoundingBox),$(Jt,Ht,c._invScaleX,c._invScaleY)),s&&s.tagName){var Zt=m.getComponentMethod("annotations","hasClickToShow")(t,Ot);h(i.select(s),Zt?"pointer":"")}s&&!o&&function(t,e,n){if(!n||n.length!==t._hoverdata.length)return!0;for(var i=n.length-1;i>=0;i--){var r=n[i],o=t._hoverdata[i];if(r.curveNumber!==o.curveNumber||String(r.pointNumber)!==String(o.pointNumber)||String(r.pointNumbers)!==String(o.pointNumbers))return!0}return!1}(t,0,It)&&(It&&t.emit("plotly_unhover",{event:e,points:It}),t.emit("plotly_hover",{event:e,points:t._hoverdata,xaxes:w,yaxes:E,xvals:W,yvals:G}))}(t,e,n,o,s)}))},e.loneHover=function(t,e){var n=!0;Array.isArray(t)||(n=!1,t=[t]);var r=e.gd,o=D(r),a=B(r),s=O(t.map((function(t){var n=t._x0||t.x0||t.x||0,i=t._x1||t.x1||t.x||0,s=t._y0||t.y0||t.y||0,l=t._y1||t.y1||t.y||0,u=t.eventData;if(u){var c=Math.min(n,i),h=Math.max(n,i),d=Math.min(s,l),_=Math.max(s,l),p=t.trace;if(m.traceIs(p,"gl3d")){var v=r._fullLayout[p.scene]._scene.container,g=v.offsetLeft,y=v.offsetTop;c+=g,h+=g,d+=y,_+=y}u.bbox={x0:c+a,x1:h+a,y0:d+o,y1:_+o},e.inOut_bbox&&e.inOut_bbox.push(u.bbox)}else u=!1;return{color:t.color||f.defaultLine,x0:t.x0||t.x||0,x1:t.x1||t.x||0,y0:t.y0||t.y||0,y1:t.y1||t.y||0,xLabel:t.xLabel,yLabel:t.yLabel,zLabel:t.zLabel,text:t.text,name:t.name,idealAlign:t.idealAlign,borderColor:t.borderColor,fontFamily:t.fontFamily,fontSize:t.fontSize,fontColor:t.fontColor,nameLength:t.nameLength,textAlign:t.textAlign,trace:t.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:t.hovertemplate||!1,hovertemplateLabels:t.hovertemplateLabels||!1,eventData:u}})),{gd:r,hovermode:"closest",rotateLabels:!1,bgColor:e.bgColor||f.background,container:i.select(e.container),outerContainer:e.outerContainer||e.container}).hoverLabels,l=0,u=0;return s.sort((function(t,e){return t.y0-e.y0})).each((function(t,n){var i=t.y0-t.by/2;t.offset=i-5([\s\S]*)<\/extra>/;function O(t,e){var n=e.gd,r=n._fullLayout,o=e.hovermode,u=e.rotateLabels,h=e.bgColor,_=e.container,p=e.outerContainer,E=e.commonLabelOpts||{};if(0===t.length)return[[]];var x=e.fontFamily||g.HOVERFONT,C=e.fontSize||g.HOVERFONTSIZE,T=t[0],z=T.xa,k=T.ya,I=o.charAt(0),O=I+"Label",M=T[O];if(void 0===M&&"multicategory"===z.type)for(var $=0;$r.width-b?(m=r.width-b,e.attr("d","M"+(b-A)+",0L"+b+","+y+A+"v"+y+(2*S+g.height)+"H-"+b+"V"+y+A+"H"+(b-2*A)+"Z")):e.attr("d","M0,0L"+A+","+y+A+"H"+b+"v"+y+(2*S+g.height)+"H-"+b+"V"+y+A+"H-"+A+"Z"),V.minX=m-b,V.maxX=m+b,"top"===z.side?(V.minY=v-(2*S+g.height),V.maxY=v-S):(V.minY=v+S,V.maxY=v+(2*S+g.height))}else{var w,N,I;"right"===k.side?(w="start",N=1,I="",m=z._offset+z._length):(w="end",N=-1,I="-",m=z._offset),v=k._offset+(T.y0+T.y1)/2,l.attr("text-anchor",w),e.attr("d","M0,0L"+I+A+","+A+"V"+(S+g.height/2)+"h"+I+(2*S+g.width)+"V-"+(S+g.height/2)+"H"+I+A+"V-"+A+"Z"),V.minY=v-(S+g.height/2),V.maxY=v+(S+g.height/2),"right"===k.side?(V.minX=m+A,V.maxX=m+A+(2*S+g.width)):(V.minX=m-A-(2*S+g.width),V.maxX=m-A);var O,L=g.height/2,$=P-g.top-L,R="clip"+r._uid+"commonlabel"+k._id;if(m=0?lt:ut+dt=0?ut:bt+dt=0?at:st+ft=0?st:wt+ft=0,"top"!==t.idealAlign&&G||!H?G?(O+=R/2,t.anchor="start"):t.anchor="middle":(O-=R/2,t.anchor="end"),t.crossPos=O;else{if(t.pos=O,G=I+$/2+V<=U,H=I-$/2-V>=0,"left"!==t.idealAlign&&G||!H)if(G)I+=$/2,t.anchor="start";else{t.anchor="middle";var X=V/2,J=I+X-U,Z=I-X;J>0&&(I-=J),Z<0&&(I+=-Z)}else I-=$/2,t.anchor="end";t.crossPos=I}E.attr("text-anchor",t.anchor),z&&T.attr("text-anchor",t.anchor),e.attr("transform",s(I,O)+(u?l(w):""))})),{hoverLabels:Et,commonLabelBoundingBox:V}}function L(t,e,n,i,r,o){var s="",l="";void 0!==t.nameOverride&&(t.name=t.nameOverride),t.name&&(t.trace._meta&&(t.name=a.templateString(t.name,t.trace._meta)),s=j(t.name,t.nameLength));var u=n.charAt(0),c="x"===u?"y":"x";void 0!==t.zLabel?(void 0!==t.xLabel&&(l+="x: "+t.xLabel+"
"),void 0!==t.yLabel&&(l+="y: "+t.yLabel+"
"),"choropleth"!==t.trace.type&&"choroplethmapbox"!==t.trace.type&&(l+=(l?"z: ":"")+t.zLabel)):e&&t[u+"Label"]===r?l=t[c+"Label"]||"":void 0===t.xLabel?void 0!==t.yLabel&&"scattercarpet"!==t.trace.type&&(l=t.yLabel):l=void 0===t.yLabel?t.xLabel:"("+t.xLabel+", "+t.yLabel+")",!t.text&&0!==t.text||Array.isArray(t.text)||(l+=(l?"
":"")+t.text),void 0!==t.extraText&&(l+=(l?"
":"")+t.extraText),o&&""===l&&!t.hovertemplate&&(""===s&&o.remove(),l=s);var h=t.hovertemplate||!1;if(h){var d=t.hovertemplateLabels||t;t[u+"Label"]!==r&&(d[u+"other"]=d[u+"Val"],d[u+"otherLabel"]=d[u+"Label"]),l=(l=a.hovertemplateString(h,d,i._d3locale,t.eventData[0]||{},t.trace._meta)).replace(I,(function(e,n){return s=j(n,t.nameLength),""}))}return[l,s]}function M(t,e){var n=0,i=t.offset;return e&&(i*=-T,n=t.offset*C),{x:n,y:i}}function $(t,e,n,r){var o=function(t){return t*n},a=function(t){return t*r};t.each((function(t){var n=i.select(this);if(t.del)return n.remove();var r,s,l,u,h=n.select("text.nums"),f=t.anchor,_="end"===f?-1:1,p=(u=(l=(s={start:1,end:-1,middle:0}[(r=t).anchor])*(A+S))+s*(r.txwidth+S),"middle"===r.anchor&&(l-=r.tx2width/2,u+=r.txwidth/2+S),{alignShift:s,textShiftX:l,text2ShiftX:u}),m=M(t,e),v=m.x,g=m.y,y="middle"===f;n.select("path").attr("d",y?"M-"+o(t.bx/2+t.tx2width/2)+","+a(g-t.by/2)+"h"+o(t.bx)+"v"+a(t.by)+"h-"+o(t.bx)+"Z":"M0,0L"+o(_*A+v)+","+a(A+g)+"v"+a(t.by/2-A)+"h"+o(_*t.bx)+"v-"+a(t.by)+"H"+o(_*A+v)+"V"+a(g-A)+"Z");var b=v+p.textShiftX,w=g+t.ty0-t.by/2+S,E=t.textAlign||"auto";"auto"!==E&&("left"===E&&"start"!==f?(h.attr("text-anchor","start"),b=y?-t.bx/2-t.tx2width/2+S:-t.bx-S):"right"===E&&"end"!==f&&(h.attr("text-anchor","end"),b=y?t.bx/2-t.tx2width/2-S:t.bx+S)),h.call(c.positionText,o(b),a(w)),t.tx2width&&(n.select("text.name").call(c.positionText,o(p.text2ShiftX+p.alignShift*S+v),a(g+t.ty0-t.by/2+S)),n.select("rect").call(d.setRect,o(p.text2ShiftX+(p.alignShift-1)*t.tx2width/2+v),a(g-t.by/2-1),o(t.tx2width),a(t.by+2)))}))}function R(t,e){var n=t.index,i=t.trace||{},o=t.cd[0],s=t.cd[n]||{};function l(t){return t||r(t)&&0===t}var u=Array.isArray(n)?function(t,e){var r=a.castOption(o,n,t);return l(r)?r:a.extractOption({},i,"",e)}:function(t,e){return a.extractOption(s,i,t,e)};function c(e,n,i){var r=u(n,i);l(r)&&(t[e]=r)}if(c("hoverinfo","hi","hoverinfo"),c("bgcolor","hbg","hoverlabel.bgcolor"),c("borderColor","hbc","hoverlabel.bordercolor"),c("fontFamily","htf","hoverlabel.font.family"),c("fontSize","hts","hoverlabel.font.size"),c("fontColor","htc","hoverlabel.font.color"),c("nameLength","hnl","hoverlabel.namelength"),c("textAlign","hta","hoverlabel.align"),t.posref="y"===e||"closest"===e&&"h"===i.orientation?t.xa._offset+(t.x0+t.x1)/2:t.ya._offset+(t.y0+t.y1)/2,t.x0=a.constrain(t.x0,0,t.xa._length),t.x1=a.constrain(t.x1,0,t.xa._length),t.y0=a.constrain(t.y0,0,t.ya._length),t.y1=a.constrain(t.y1,0,t.ya._length),void 0!==t.xLabelVal&&(t.xLabel="xLabel"in t?t.xLabel:p.hoverLabelText(t.xa,t.xLabelVal,i.xhoverformat),t.xVal=t.xa.c2d(t.xLabelVal)),void 0!==t.yLabelVal&&(t.yLabel="yLabel"in t?t.yLabel:p.hoverLabelText(t.ya,t.yLabelVal,i.yhoverformat),t.yVal=t.ya.c2d(t.yLabelVal)),void 0!==t.zLabelVal&&void 0===t.zLabel&&(t.zLabel=String(t.zLabelVal)),!(isNaN(t.xerr)||"log"===t.xa.type&&t.xerr<=0)){var h=p.tickText(t.xa,t.xa.c2l(t.xerr),"hover").text;void 0!==t.xerrneg?t.xLabel+=" +"+h+" / -"+p.tickText(t.xa,t.xa.c2l(t.xerrneg),"hover").text:t.xLabel+=" ± "+h,"x"===e&&(t.distance+=1)}if(!(isNaN(t.yerr)||"log"===t.ya.type&&t.yerr<=0)){var d=p.tickText(t.ya,t.ya.c2l(t.yerr),"hover").text;void 0!==t.yerrneg?t.yLabel+=" +"+d+" / -"+p.tickText(t.ya,t.ya.c2l(t.yerrneg),"hover").text:t.yLabel+=" ± "+d,"y"===e&&(t.distance+=1)}var f=t.hoverinfo||t.trace.hoverinfo;return f&&"all"!==f&&(-1===(f=Array.isArray(f)?f:f.split("+")).indexOf("x")&&(t.xLabel=void 0),-1===f.indexOf("y")&&(t.yLabel=void 0),-1===f.indexOf("z")&&(t.zLabel=void 0),-1===f.indexOf("text")&&(t.text=void 0),-1===f.indexOf("name")&&(t.name=void 0)),t}function P(t,e,n){var i,r,a=n.container,s=n.fullLayout,l=s._size,u=n.event,c=!!e.hLinePoint,h=!!e.vLinePoint;if(a.selectAll(".spikeline").remove(),h||c){var _=f.combine(s.plot_bgcolor,s.paper_bgcolor);if(c){var m,v,g=e.hLinePoint;i=g&&g.xa,"cursor"===(r=g&&g.ya).spikesnap?(m=u.pointerX,v=u.pointerY):(m=i._offset+g.x,v=r._offset+g.y);var y,b,w=o.readability(g.color,_)<1.5?f.contrast(_):g.color,E=r.spikemode,x=r.spikethickness,C=r.spikecolor||w,T=p.getPxPosition(t,r);if(-1!==E.indexOf("toaxis")||-1!==E.indexOf("across")){if(-1!==E.indexOf("toaxis")&&(y=T,b=m),-1!==E.indexOf("across")){var A=r._counterDomainMin,S=r._counterDomainMax;"free"===r.anchor&&(A=Math.min(A,r.position),S=Math.max(S,r.position)),y=l.l+A*l.w,b=l.l+S*l.w}a.insert("line",":first-child").attr({x1:y,x2:b,y1:v,y2:v,"stroke-width":x,stroke:C,"stroke-dasharray":d.dashStyle(r.spikedash,x)}).classed("spikeline",!0).classed("crisp",!0),a.insert("line",":first-child").attr({x1:y,x2:b,y1:v,y2:v,"stroke-width":x+2,stroke:_}).classed("spikeline",!0).classed("crisp",!0)}-1!==E.indexOf("marker")&&a.insert("circle",":first-child").attr({cx:T+("right"!==r.side?x:-x),cy:v,r:x,fill:C}).classed("spikeline",!0)}if(h){var z,k,N=e.vLinePoint;i=N&&N.xa,r=N&&N.ya,"cursor"===i.spikesnap?(z=u.pointerX,k=u.pointerY):(z=i._offset+N.x,k=r._offset+N.y);var I,O,L=o.readability(N.color,_)<1.5?f.contrast(_):N.color,M=i.spikemode,$=i.spikethickness,R=i.spikecolor||L,P=p.getPxPosition(t,i);if(-1!==M.indexOf("toaxis")||-1!==M.indexOf("across")){if(-1!==M.indexOf("toaxis")&&(I=P,O=k),-1!==M.indexOf("across")){var U=i._counterDomainMin,j=i._counterDomainMax;"free"===i.anchor&&(U=Math.min(U,i.position),j=Math.max(j,i.position)),I=l.t+(1-j)*l.h,O=l.t+(1-U)*l.h}a.insert("line",":first-child").attr({x1:z,x2:z,y1:I,y2:O,"stroke-width":$,stroke:R,"stroke-dasharray":d.dashStyle(i.spikedash,$)}).classed("spikeline",!0).classed("crisp",!0),a.insert("line",":first-child").attr({x1:z,x2:z,y1:I,y2:O,"stroke-width":$+2,stroke:_}).classed("spikeline",!0).classed("crisp",!0)}-1!==M.indexOf("marker")&&a.insert("circle",":first-child").attr({cx:z,cy:P-("top"!==i.side?$:-$),r:$,fill:R}).classed("spikeline",!0)}}}function U(t,e){return!e||e.vLinePoint!==t._spikepoints.vLinePoint||e.hLinePoint!==t._spikepoints.hLinePoint}function j(t,e){return c.plainText(t||"",{len:e,allowedTags:["br","sub","sup","b","i","em"]})}function q(t,e,n){var i=e[t+"a"],r=e[t+"Val"],o=e.cd[0];if("category"===i.type||"multicategory"===i.type)r=i._categoriesMap[r];else if("date"===i.type){var a=e.trace[t+"periodalignment"];if(a){var s=e.cd[e.index],l=s[t+"Start"];void 0===l&&(l=s[t]);var u=s[t+"End"];void 0===u&&(u=s[t]);var c=u-l;"end"===a?r+=c:"middle"===a&&(r+=c/2)}r=i.d2c(r)}return o&&o.t&&o.t.posLetter===i._id&&("group"!==n.boxmode&&"group"!==n.violinmode||(r+=o.t.dPos)),r}function D(t){return t.offsetTop+t.clientTop}function B(t){return t.offsetLeft+t.clientLeft}function F(t,e){var n=t._fullLayout,i=e.getBoundingClientRect(),r=i.left,o=i.top,s=r+i.width,l=o+i.height,u=a.apply3DTransform(n._invTransform)(r,o),c=a.apply3DTransform(n._invTransform)(s,l),h=u[0],d=u[1],f=c[0],_=c[1];return{x:h,y:d,width:f-h,height:_-d,top:Math.min(d,_),left:Math.min(h,f),right:Math.max(h,f),bottom:Math.max(d,_)}}},16132:function(t,e,n){"use strict";var i=n(3400),r=n(76308),o=n(10624).isUnifiedHover;t.exports=function(t,e,n,a){a=a||{};var s=e.legend;function l(t){a.font[t]||(a.font[t]=s?e.legend.font[t]:e.font[t])}e&&o(e.hovermode)&&(a.font||(a.font={}),l("size"),l("family"),l("color"),s?(a.bgcolor||(a.bgcolor=r.combine(e.legend.bgcolor,e.paper_bgcolor)),a.bordercolor||(a.bordercolor=e.legend.bordercolor)):a.bgcolor||(a.bgcolor=e.paper_bgcolor)),n("hoverlabel.bgcolor",a.bgcolor),n("hoverlabel.bordercolor",a.bordercolor),n("hoverlabel.namelength",a.namelength),i.coerceFont(n,"hoverlabel.font",a.font),n("hoverlabel.align",a.align)}},41008:function(t,e,n){"use strict";var i=n(3400),r=n(65460);t.exports=function(t,e){function n(n,o){return void 0!==e[n]?e[n]:i.coerce(t,e,r,n,o)}return n("clickmode"),n("hovermode")}},93024:function(t,e,n){"use strict";var i=n(33428),r=n(3400),o=n(86476),a=n(10624),s=n(65460),l=n(83292);t.exports={moduleType:"component",name:"fx",constants:n(92456),schema:{layout:s},attributes:n(55756),layoutAttributes:s,supplyLayoutGlobalDefaults:n(81976),supplyDefaults:n(95448),supplyLayoutDefaults:n(88336),calc:n(55056),getDistanceFunction:a.getDistanceFunction,getClosest:a.getClosest,inbox:a.inbox,quadrature:a.quadrature,appendArrayPointValue:a.appendArrayPointValue,castHoverOption:function(t,e,n){return r.castOption(t,e,"hoverlabel."+n)},castHoverinfo:function(t,e,n){return r.castOption(t,n,"hoverinfo",(function(n){return r.coerceHoverinfo({hoverinfo:n},{_module:t._module},e)}))},hover:l.hover,unhover:o.unhover,loneHover:l.loneHover,loneUnhover:function(t){var e=r.isD3Selection(t)?t:i.select(t);e.selectAll("g.hovertext").remove(),e.selectAll(".spikeline").remove()},click:n(62376)}},65460:function(t,e,n){"use strict";var i=n(92456),r=n(25376),o=r({editType:"none"});o.family.dflt=i.HOVERFONT,o.size.dflt=i.HOVERFONTSIZE,t.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:o,grouptitlefont:r({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},88336:function(t,e,n){"use strict";var i=n(3400),r=n(65460),o=n(41008),a=n(16132);t.exports=function(t,e){function n(n,o){return i.coerce(t,e,r,n,o)}o(t,e)&&(n("hoverdistance"),n("spikedistance")),"select"===n("dragmode")&&n("selectdirection");var s=e._has("mapbox"),l=e._has("geo"),u=e._basePlotModules.length;"zoom"===e.dragmode&&((s||l)&&1===u||s&&l&&2===u)&&(e.dragmode="pan"),a(t,e,n),i.coerceFont(n,"hoverlabel.grouptitlefont",e.hoverlabel.font)}},81976:function(t,e,n){"use strict";var i=n(3400),r=n(16132),o=n(65460);t.exports=function(t,e){r(t,e,(function(n,r){return i.coerce(t,e,o,n,r)}))}},12704:function(t,e,n){"use strict";var i=n(3400),r=n(53756).counter,o=n(86968).u,a=n(33816).idRegex,s=n(31780),l={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[r("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[a.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[a.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:o({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function u(t,e,n){var i=e[n+"axes"],r=Object.keys((t._splomAxes||{})[n]||{});return Array.isArray(i)?i:r.length?r:void 0}function c(t,e,n,i,r,o){var a=e(t+"gap",n),s=e("domain."+t);e(t+"side",i);for(var l=new Array(r),u=s[0],c=(s[1]-u)/(r-a),h=c*(1-a),d=0;d1){d||f||_||"independent"===C("pattern")&&(d=!0),m._hasSubplotGrid=d;var y,b,w="top to bottom"===C("roworder"),E=d?.2:.1,x=d?.3:.1;p&&e._splomGridDflt&&(y=e._splomGridDflt.xside,b=e._splomGridDflt.yside),m._domains={x:c("x",C,E,y,g),y:c("y",C,x,b,v,w)}}else delete e.grid}function C(t,e){return i.coerce(n,m,l,t,e)}},contentDefaults:function(t,e){var n=e.grid;if(n&&n._domains){var i,r,o,a,s,l,c,d=t.grid||{},f=e._subplots,_=n._hasSubplotGrid,p=n.rows,m=n.columns,v="independent"===n.pattern,g=n._axisMap={};if(_){var y=d.subplots||[];l=n.subplots=new Array(p);var b=1;for(i=0;i("legend"===t?1:0));if(!1===A&&(n[t]=void 0),(!1!==A||h.uirevision)&&(f("uirevision",n.uirevision),!1!==A)){f("borderwidth");var S,z,k,N="h"===f("orientation"),I="paper"===f("yref"),O="paper"===f("xref"),L="left";if(N?(S=0,i.getComponentMethod("rangeslider","isVisible")(e.xaxis)?I?(z=1.1,k="bottom"):(z=1,k="top"):I?(z=-.1,k="top"):(z=0,k="bottom")):(z=1,k="auto",O?S=1.02:(S=1,L="right")),r.coerce(h,d,{x:{valType:"number",editType:"legend",min:O?-2:0,max:O?3:1,dflt:S}},"x"),r.coerce(h,d,{y:{valType:"number",editType:"legend",min:I?-2:0,max:I?3:1,dflt:z}},"y"),f("traceorder",w),u.isGrouped(n[t])&&f("tracegroupgap"),f("entrywidth"),f("entrywidthmode"),f("itemsizing"),f("itemwidth"),f("itemclick"),f("itemdoubleclick"),f("groupclick"),f("xanchor",L),f("yanchor",k),f("valign"),r.noneOrAll(h,d,["x","y"]),f("title.text")){f("title.side",N?"left":"top");var M=r.extendFlat({},_,{size:r.bigFont(_.size)});r.coerceFont(f,"title.font",M)}}}}t.exports=function(t,e,n){var i,o=n.slice(),a=e.shapes;if(a)for(i=0;i1)}var U=_.hiddenlabels||[];if(!(x||_.showlegend&&S.length))return s.selectAll("."+E).remove(),_._topdefs.select("#"+n).remove(),o.autoMargin(t,E);var j=r.ensureSingle(s,"g",E,(function(t){x||t.attr("pointer-events","all")})),q=r.ensureSingleById(_._topdefs,"clipPath",n,(function(t){t.append("rect")})),D=r.ensureSingle(j,"rect","bg",(function(t){t.attr("shape-rendering","crispEdges")}));D.call(c.stroke,d.bordercolor).call(c.fill,d.bgcolor).style("stroke-width",d.borderwidth+"px");var B,F=r.ensureSingle(j,"g","scrollbox"),W=d.title;d._titleWidth=0,d._titleHeight=0,W.text?((B=r.ensureSingle(F,"text",E+"titletext")).attr("text-anchor","start").call(u.font,W.font).text(W.text),k(B,F,t,d,w)):F.selectAll("."+E+"titletext").remove();var G=r.ensureSingle(j,"rect","scrollbar",(function(t){t.attr(f.scrollBarEnterAttrs).call(c.fill,f.scrollBarColor)})),H=F.selectAll("g.groups").data(S);H.enter().append("g").attr("class","groups"),H.exit().remove();var V=H.selectAll("g.traces").data(r.identity);V.enter().append("g").attr("class","traces"),V.exit().remove(),V.style("opacity",(function(t){var e=t[0].trace;return a.traceIs(e,"pie-like")?-1!==U.indexOf(t[0].label)?.5:1:"legendonly"===e.visible?.5:1})).each((function(){i.select(this).call(A,t,d)})).call(y,t,d).each((function(){x||i.select(this).call(z,t,E)})),r.syncOrAsync([o.previousPromises,function(){return function(t,e,n,r){var o=t._fullLayout,a=O(r);r||(r=o[a]);var s=o._size,l=b.isVertical(r),c=b.isGrouped(r),h="fraction"===r.entrywidthmode,d=r.borderwidth,_=2*d,p=f.itemGap,m=r.itemwidth+2*p,v=2*(d+p),g=I(r),y=r.y<0||0===r.y&&"top"===g,w=r.y>1||1===r.y&&"bottom"===g,E=r.tracegroupgap,x={};r._maxHeight=Math.max(y||w?o.height/2:s.h,30);var T=0;r._width=0,r._height=0;var A=function(t){var e=0,n=0,i=t.title.side;return i&&(-1!==i.indexOf("left")&&(e=t._titleWidth),-1!==i.indexOf("top")&&(n=t._titleHeight)),[e,n]}(r);if(l)n.each((function(t){var e=t[0].height;u.setTranslate(this,d+A[0],d+A[1]+r._height+e/2+p),r._height+=e,r._width=Math.max(r._width,t[0].width)})),T=m+r._width,r._width+=p+m+_,r._height+=v,c&&(e.each((function(t,e){u.setTranslate(this,0,e*r.tracegroupgap)})),r._height+=(r._lgroupsLength-1)*r.tracegroupgap);else{var S=N(r),z=r.x<0||0===r.x&&"right"===S,k=r.x>1||1===r.x&&"left"===S,L=w||y,M=o.width/2;r._maxWidth=Math.max(z?L&&"left"===S?s.l+s.w:M:k?L&&"right"===S?s.r+s.w:M:s.w,2*m);var $=0,R=0;n.each((function(t){var e=C(t,r,m);$=Math.max($,e),R+=e})),T=null;var P=0;if(c){var U=0,j=0,q=0;e.each((function(){var t=0,e=0;i.select(this).selectAll("g.traces").each((function(n){var i=C(n,r,m),o=n[0].height;u.setTranslate(this,A[0],A[1]+d+p+o/2+e),e+=o,t=Math.max(t,i),x[n[0].trace.legendgroup]=t}));var n=t+p;j>0&&n+d+j>r._maxWidth?(P=Math.max(P,j),j=0,q+=U+E,U=e):U=Math.max(U,e),u.setTranslate(this,j,q),j+=n})),r._width=Math.max(P,j)+d,r._height=q+U+v}else{var D=n.size(),B=R+_+(D-1)*p=r._maxWidth&&(P=Math.max(P,H),W=0,G+=F,r._height+=F,F=0),u.setTranslate(this,A[0]+d+W,A[1]+d+G+e/2+p),H=W+n+p,W+=i,F=Math.max(F,e)})),B?(r._width=W+_,r._height=F+v):(r._width=Math.max(P,H)+_,r._height+=F+v)}}r._width=Math.ceil(Math.max(r._width+A[0],r._titleWidth+2*(d+f.titlePad))),r._height=Math.ceil(Math.max(r._height+A[1],r._titleHeight+2*(d+f.itemGap))),r._effHeight=Math.min(r._height,r._maxHeight);var V=t._context.edits,X=V.legendText||V.legendPosition;n.each((function(t){var e=i.select(this).select("."+a+"toggle"),n=t[0].height,o=t[0].trace.legendgroup,s=C(t,r,m);c&&""!==o&&(s=x[o]);var d=X?m:T||s;l||h||(d+=p/2),u.setRect(e,0,-n/2,d,n)}))}(t,H,V,d)},function(){var e,c,g,y,b=_._size,w=d.borderwidth,C="paper"===d.xref,A="paper"===d.yref;if(W.text&&function(t,e,n){if("top center"===e.title.side||"top right"===e.title.side){var i=e.title.font.size*p,r=0,o=t.node(),a=u.bBox(o).width;"top center"===e.title.side?r=.5*(e._width-2*n-2*f.titlePad-a):"top right"===e.title.side&&(r=e._width-2*n-2*f.titlePad-a),h.positionText(t,n+f.titlePad+r,n+i)}}(B,d,w),!x){var S,z;S=C?b.l+b.w*d.x-m[N(d)]*d._width:_.width*d.x-m[N(d)]*d._width,z=A?b.t+b.h*(1-d.y)-m[I(d)]*d._effHeight:_.height*(1-d.y)-m[I(d)]*d._effHeight;var k=function(t,e,n,i){var r=t._fullLayout,a=r[e],s=N(a),l=I(a),u="paper"===a.xref,c="paper"===a.yref;t._fullLayout._reservedMargin[e]={};var h=a.y<.5?"b":"t",d=a.x<.5?"l":"r",f={r:r.width-n,l:n+a._width,b:r.height-i,t:i+a._effHeight};if(u&&c)return o.autoMargin(t,e,{x:a.x,y:a.y,l:a._width*m[s],r:a._width*v[s],b:a._effHeight*v[l],t:a._effHeight*m[l]});u?t._fullLayout._reservedMargin[e][h]=f[h]:c||"v"===a.orientation?t._fullLayout._reservedMargin[e][d]=f[d]:t._fullLayout._reservedMargin[e][h]=f[h]}(t,E,S,z);if(k)return;if(_.margin.autoexpand){var O=S,L=z;S=C?r.constrain(S,0,_.width-d._width):O,z=A?r.constrain(z,0,_.height-d._effHeight):L,S!==O&&r.log("Constrain "+E+".x to make legend fit inside graph"),z!==L&&r.log("Constrain "+E+".y to make legend fit inside graph")}u.setTranslate(j,S,z)}if(G.on(".drag",null),j.on("wheel",null),x||d._height<=d._maxHeight||t._context.staticPlot){var M=d._effHeight;x&&(M=d._height),D.attr({width:d._width-w,height:M-w,x:w/2,y:w/2}),u.setTranslate(F,0,0),q.select("rect").attr({width:d._width-2*w,height:M-2*w,x:w,y:w}),u.setClipUrl(F,n,t),u.setRect(G,0,0,0,0),delete d._scrollY}else{var $,R,P,U=Math.max(f.scrollBarMinHeight,d._effHeight*d._effHeight/d._height),H=d._effHeight-U-2*f.scrollBarMargin,V=d._height-d._effHeight,X=H/V,J=Math.min(d._scrollY||0,V);D.attr({width:d._width-2*w+f.scrollBarWidth+f.scrollBarMargin,height:d._effHeight-w,x:w/2,y:w/2}),q.select("rect").attr({width:d._width-2*w+f.scrollBarWidth+f.scrollBarMargin,height:d._effHeight-2*w,x:w,y:w+J}),u.setClipUrl(F,n,t),K(J,U,X),j.on("wheel",(function(){K(J=r.constrain(d._scrollY+i.event.deltaY/H*V,0,V),U,X),0!==J&&J!==V&&i.event.preventDefault()}));var Z=i.behavior.drag().on("dragstart",(function(){var t=i.event.sourceEvent;$="touchstart"===t.type?t.changedTouches[0].clientY:t.clientY,P=J})).on("drag",(function(){var t=i.event.sourceEvent;2===t.buttons||t.ctrlKey||(R="touchmove"===t.type?t.changedTouches[0].clientY:t.clientY,J=function(t,e,n){var i=(n-e)/X+t;return r.constrain(i,0,V)}(P,$,R),K(J,U,X))}));G.call(Z);var Y=i.behavior.drag().on("dragstart",(function(){var t=i.event.sourceEvent;"touchstart"===t.type&&($=t.changedTouches[0].clientY,P=J)})).on("drag",(function(){var t=i.event.sourceEvent;"touchmove"===t.type&&(R=t.changedTouches[0].clientY,J=function(t,e,n){var i=(e-n)/X+t;return r.constrain(i,0,V)}(P,$,R),K(J,U,X))}));F.call(Y)}function K(e,n,i){d._scrollY=t._fullLayout[E]._scrollY=e,u.setTranslate(F,0,-e),u.setRect(G,d._width,f.scrollBarMargin+e*i,f.scrollBarWidth,n),q.select("rect").attr("y",w+e)}t._context.edits.legendPosition&&(j.classed("cursor-move",!0),l.init({element:j.node(),gd:t,prepFn:function(){var t=u.getTranslate(j);g=t.x,y=t.y},moveFn:function(t,n){var i=g+t,r=y+n;u.setTranslate(j,i,r),e=l.align(i,d._width,b.l,b.l+b.w,d.xanchor),c=l.align(r+d._height,-d._height,b.t+b.h,b.t,d.yanchor)},doneFn:function(){if(void 0!==e&&void 0!==c){var n={};n[E+".x"]=e,n[E+".y"]=c,a.call("_guiRelayout",t,n)}},clickFn:function(e,n){var i=s.selectAll("g.traces").filter((function(){var t=this.getBoundingClientRect();return n.clientX>=t.left&&n.clientX<=t.right&&n.clientY>=t.top&&n.clientY<=t.bottom}));i.size()>0&&T(t,j,i,e,n)}}))}],t)}}function C(t,e,n){var i=t[0],r=i.width,o=e.entrywidthmode,a=i.trace.legendwidth||e.entrywidth;return"fraction"===o?e._maxWidth*a:n+(a||r)}function T(t,e,n,i,r){var o=n.data()[0][0].trace,l={event:r,node:n.node(),curveNumber:o.index,expandedIndex:o._expandedIndex,data:t.data,layout:t.layout,frames:t._transitionData._frames,config:t._context,fullData:t._fullData,fullLayout:t._fullLayout};o._group&&(l.group=o._group),a.traceIs(o,"pie-like")&&(l.label=n.datum()[0].label);var u=s.triggerHandler(t,"plotly_legendclick",l);if(1===i){if(!1===u)return;e._clickTimeout=setTimeout((function(){t._fullLayout&&d(n,t,i)}),t._context.doubleClickDelay)}else 2===i&&(e._clickTimeout&&clearTimeout(e._clickTimeout),t._legendMouseDownTime=0,!1!==s.triggerHandler(t,"plotly_legenddoubleclick",l)&&!1!==u&&d(n,t,i))}function A(t,e,n){var i,o,s=O(n),l=t.data()[0][0],c=l.trace,d=a.traceIs(c,"pie-like"),_=!n._inHover&&e._context.edits.legendText&&!d,p=n._maxNameLength;l.groupTitle?(i=l.groupTitle.text,o=l.groupTitle.font):(o=n.font,n.entries?i=l.text:(i=d?l.label:c.name,c._meta&&(i=r.templateString(i,c._meta))));var m=r.ensureSingle(t,"text",s+"text");m.attr("text-anchor","start").call(u.font,o).text(_?S(i,p):i);var v=n.itemwidth+2*f.itemGap;h.positionText(m,v,0),_?m.call(h.makeEditable,{gd:e,text:i}).call(k,t,e,n).on("edit",(function(i){this.text(S(i,p)).call(k,t,e,n);var o=l.trace._fullInput||{},s={};if(a.hasTransform(o,"groupby")){var u=a.getTransformIndices(o,"groupby"),h=u[u.length-1],d=r.keyedContainer(o,"transforms["+h+"].styles","target","value.name");d.set(l.trace._group,i),s=d.constructUpdate()}else s.name=i;return o._isShape?a.call("_guiRelayout",e,"shapes["+c.index+"].name",s.name):a.call("_guiRestyle",e,s,c.index)})):k(m,t,e,n)}function S(t,e){var n=Math.max(4,e);if(t&&t.trim().length>=n/2)return t;for(var i=n-(t=t||"").length;i>0;i--)t+=" ";return t}function z(t,e,n){var o,a=e._context.doubleClickDelay,s=1,l=r.ensureSingle(t,"rect",n+"toggle",(function(t){e._context.staticPlot||t.style("cursor","pointer").attr("pointer-events","all"),t.call(c.fill,"rgba(0,0,0,0)")}));e._context.staticPlot||(l.on("mousedown",(function(){(o=(new Date).getTime())-e._legendMouseDownTimea&&(s=Math.max(s-1,1)),T(e,r,t,s,i.event)}})))}function k(t,e,n,i,r){i._inHover&&t.attr("data-notex",!0),h.convertToTspans(t,n,(function(){!function(t,e,n,i){var r=t.data()[0][0];if(n._inHover||!r||r.trace.showlegend){var o=t.select("g[class*=math-group]"),a=o.node(),s=O(n);n||(n=e._fullLayout[s]);var l,c,d=n.borderwidth,_=(i===w?n.title.font:r.groupTitle?r.groupTitle.font:n.font).size*p;if(a){var m=u.bBox(a);l=m.height,c=m.width,i===w?u.setTranslate(o,d,d+.75*l):u.setTranslate(o,0,.25*l)}else{var v="."+s+(i===w?"title":"")+"text",g=t.select(v),y=h.lineCount(g),b=g.node();if(l=_*y,c=b?u.bBox(b).width:0,i===w)"left"===n.title.side&&(c+=2*f.itemGap),h.positionText(g,d+f.titlePad,d+_);else{var E=2*f.itemGap+n.itemwidth;r.groupTitle&&(E=f.itemGap,c-=n.itemwidth),h.positionText(g,E,-_*((y-1)/2-.3))}}i===w?(n._titleWidth=c,n._titleHeight=l):(r.lineHeight=_,r.height=Math.max(l,16)+3,r.width=c)}else t.remove()}(e,n,i,r)}))}function N(t){return r.isRightAnchor(t)?"right":r.isCenterAnchor(t)?"center":"left"}function I(t){return r.isBottomAnchor(t)?"bottom":r.isMiddleAnchor(t)?"middle":"top"}function O(t){return t._id||"legend"}t.exports=function(t,e){if(e)x(t,e);else{var n=t._fullLayout,r=n._legends;n._infolayer.selectAll('[class^="legend"]').each((function(){var t=i.select(this),e=t.attr("class").split(" ")[0];e.match(E)&&-1===r.indexOf(e)&&t.remove()}));for(var o=0;oS&&(A=S)}C[o][0]._groupMinRank=A,C[o][0]._preGroupSort=o}var z=function(t,e){return t.trace.legendrank-e.trace.legendrank||t._preSort-e._preSort};for(C.forEach((function(t,e){t[0]._preGroupSort=e})),C.sort((function(t,e){return t[0]._groupMinRank-e[0]._groupMinRank||t[0]._preGroupSort-e[0]._preGroupSort})),o=0;on?n:t}t.exports=function(t,e,n){var v=e._fullLayout;n||(n=v.legend);var g="constant"===n.itemsizing,y=n.itemwidth,b=(y+2*f.itemGap)/2,w=a(b,0),E=function(t,e,n,i){var r;if(t+1)r=t;else{if(!(e&&e.width>0))return 0;r=e.width}return g?i:Math.min(r,n)};function x(t,o,a){var c=t[0].trace,h=c.marker||{},d=h.line||{},f=h.cornerradius?"M6,3a3,3,0,0,1-3,3H-3a3,3,0,0,1-3-3V-3a3,3,0,0,1,3-3H3a3,3,0,0,1,3,3Z":"M6,6H-6V-6H6Z",_=a?c.visible&&c.type===a:r.traceIs(c,"bar"),p=i.select(o).select("g.legendpoints").selectAll("path.legend"+a).data(_?[t]:[]);p.enter().append("path").classed("legend"+a,!0).attr("d",f).attr("transform",w),p.exit().remove(),p.each((function(t){var r=i.select(this),o=t[0],a=E(o.mlw,h.line,5,2);r.style("stroke-width",a+"px");var f=o.mcc;if(!n._inHover&&"mc"in o){var _=u(h),p=_.mid;void 0===p&&(p=(_.max+_.min)/2),f=s.tryColorscale(h,"")(p)}var v=f||o.mc||h.color,g=h.pattern,y=g&&s.getPatternAttr(g.shape,0,"");if(y){var b=s.getPatternAttr(g.bgcolor,0,null),w=s.getPatternAttr(g.fgcolor,0,null),x=g.fgopacity,C=m(g.size,8,10),T=m(g.solidity,.5,1),A="legend-"+c.uid;r.call(s.pattern,"legend",e,A,y,C,T,f,g.fillmode,b,w,x)}else r.call(l.fill,v);a&&l.stroke(r,o.mlc||d.color)}))}function C(t,n,a){var s=t[0],l=s.trace,u=a?l.visible&&l.type===a:r.traceIs(l,a),c=i.select(n).select("g.legendpoints").selectAll("path.legend"+a).data(u?[t]:[]);if(c.enter().append("path").classed("legend"+a,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",w),c.exit().remove(),c.size()){var f=l.marker||{},_=E(d(f.line.width,s.pts),f.line,5,2),p="pieLike",m=o.minExtend(l,{marker:{line:{width:_}}},p),v=o.minExtend(s,{trace:m},p);h(c,v,m,e)}}t.each((function(t){var e=i.select(this),r=o.ensureSingle(e,"g","layers");r.style("opacity",t[0].trace.opacity);var s=n.valign,l=t[0].lineHeight,u=t[0].height;if("middle"!==s&&l&&u){var c={top:1,bottom:-1}[s]*(.5*(l-u+3));r.attr("transform",a(0,c))}else r.attr("transform",null);r.selectAll("g.legendfill").data([t]).enter().append("g").classed("legendfill",!0),r.selectAll("g.legendlines").data([t]).enter().append("g").classed("legendlines",!0);var h=r.selectAll("g.legendsymbols").data([t]);h.enter().append("g").classed("legendsymbols",!0),h.selectAll("g.legendpoints").data([t]).enter().append("g").classed("legendpoints",!0)})).each((function(t){var n,r=t[0].trace,a=[];if(r.visible)switch(r.type){case"histogram2d":case"heatmap":a=[["M-15,-2V4H15V-2Z"]],n=!0;break;case"choropleth":case"choroplethmapbox":a=[["M-6,-6V6H6V-6Z"]],n=!0;break;case"densitymapbox":a=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],n="radial";break;case"cone":a=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],n=!1;break;case"streamtube":a=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],n=!1;break;case"surface":a=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],n=!0;break;case"mesh3d":a=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],n=!1;break;case"volume":a=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],n=!0;break;case"isosurface":a=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],n=!1}var c=i.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(a);c.enter().append("path").classed("legend3dandfriends",!0).attr("transform",w).style("stroke-miterlimit",1),c.exit().remove(),c.each((function(t,a){var c,h=i.select(this),d=u(r),f=d.colorscale,p=d.reversescale;if(f){if(!n){var m=f.length;c=0===a?f[p?m-1:0][1]:1===a?f[p?0:m-1][1]:f[Math.floor((m-1)/2)][1]}}else{var v=r.vertexcolor||r.facecolor||r.color;c=o.isArrayOrTypedArray(v)?v[a]||v[0]:v}h.attr("d",t[0]),c?h.call(l.fill,c):h.call((function(t){if(t.size()){var i="legendfill-"+r.uid;s.gradient(t,e,i,_(p,"radial"===n),f,"fill")}}))}))})).each((function(t){var e=t[0].trace,n="waterfall"===e.type;if(t[0]._distinct&&n){var r=t[0].trace[t[0].dir].marker;return t[0].mc=r.color,t[0].mlw=r.line.width,t[0].mlc=r.line.color,x(t,this,"waterfall")}var o=[];e.visible&&n&&(o=t[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var a=i.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(o);a.enter().append("path").classed("legendwaterfall",!0).attr("transform",w).style("stroke-miterlimit",1),a.exit().remove(),a.each((function(t){var n=i.select(this),r=e[t[0]].marker,o=E(void 0,r.line,5,2);n.attr("d",t[1]).style("stroke-width",o+"px").call(l.fill,r.color),o&&n.call(l.stroke,r.line.color)}))})).each((function(t){x(t,this,"funnel")})).each((function(t){x(t,this)})).each((function(t){var n=t[0].trace,a=i.select(this).select("g.legendpoints").selectAll("path.legendbox").data(n.visible&&r.traceIs(n,"box-violin")?[t]:[]);a.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",w),a.exit().remove(),a.each((function(){var t=i.select(this);if("all"!==n.boxpoints&&"all"!==n.points||0!==l.opacity(n.fillcolor)||0!==l.opacity((n.line||{}).color)){var r=E(void 0,n.line,5,2);t.style("stroke-width",r+"px").call(l.fill,n.fillcolor),r&&l.stroke(t,n.line.color)}else{var u=o.minExtend(n,{marker:{size:g?12:o.constrain(n.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});a.call(s.pointStyle,u,e)}}))})).each((function(t){C(t,this,"funnelarea")})).each((function(t){C(t,this,"pie")})).each((function(t){var n,r,a=p(t),l=a.showFill,h=a.showLine,d=a.showGradientLine,f=a.showGradientFill,m=a.anyFill,v=a.anyLine,g=t[0],b=g.trace,w=u(b),x=w.colorscale,C=w.reversescale,T=c.hasMarkers(b)||!m?"M5,0":v?"M5,-2":"M5,-3",A=i.select(this),S=A.select(".legendfill").selectAll("path").data(l||f?[t]:[]);if(S.enter().append("path").classed("js-fill",!0),S.exit().remove(),S.attr("d",T+"h"+y+"v6h-"+y+"z").call((function(t){if(t.size())if(l)s.fillGroupStyle(t,e);else{var n="legendfill-"+b.uid;s.gradient(t,e,n,_(C),x,"fill")}})),h||d){var z=E(void 0,b.line,10,5);r=o.minExtend(b,{line:{width:z}}),n=[o.minExtend(g,{trace:r})]}var k=A.select(".legendlines").selectAll("path").data(h||d?[n]:[]);k.enter().append("path").classed("js-line",!0),k.exit().remove(),k.attr("d",T+(d?"l"+y+",0.0001":"h"+y)).call(h?s.lineGroupStyle:function(t){if(t.size()){var n="legendline-"+b.uid;s.lineGroupStyle(t),s.gradient(t,e,n,_(C),x,"stroke")}})})).each((function(t){var n,r,a=p(t),l=a.anyFill,u=a.anyLine,h=a.showLine,d=a.showMarker,f=t[0],_=f.trace,m=!d&&!u&&!l&&c.hasText(_);function v(t,e,n,i){var r=o.nestedProperty(_,t).get(),a=o.isArrayOrTypedArray(r)&&e?e(r):r;if(g&&a&&void 0!==i&&(a=i),n){if(an[1])return n[1]}return a}function y(t){return f._distinct&&f.index&&t[f.index]?t[f.index]:t[0]}if(d||m||h){var b={},E={};if(d){b.mc=v("marker.color",y),b.mx=v("marker.symbol",y),b.mo=v("marker.opacity",o.mean,[.2,1]),b.mlc=v("marker.line.color",y),b.mlw=v("marker.line.width",o.mean,[0,5],2),E.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var x=v("marker.size",o.mean,[2,16],12);b.ms=x,E.marker.size=x}h&&(E.line={width:v("line.width",y,[0,10],5)}),m&&(b.tx="Aa",b.tp=v("textposition",y),b.ts=10,b.tc=v("textfont.color",y),b.tf=v("textfont.family",y)),n=[o.minExtend(f,b)],(r=o.minExtend(_,E)).selectedpoints=null,r.texttemplate=null}var C=i.select(this).select("g.legendpoints"),T=C.selectAll("path.scatterpts").data(d?n:[]);T.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",w),T.exit().remove(),T.call(s.pointStyle,r,e),d&&(n[0].mrc=3);var A=C.selectAll("g.pointtext").data(m?n:[]);A.enter().append("g").classed("pointtext",!0).append("text").attr("transform",w),A.exit().remove(),A.selectAll("text").call(s.textPointStyle,r,e)})).each((function(t){var e=t[0].trace,n=i.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(e.visible&&"candlestick"===e.type?[t,t]:[]);n.enter().append("path").classed("legendcandle",!0).attr("d",(function(t,e){return e?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"})).attr("transform",w).style("stroke-miterlimit",1),n.exit().remove(),n.each((function(t,n){var r=i.select(this),o=e[n?"increasing":"decreasing"],a=E(void 0,o.line,5,2);r.style("stroke-width",a+"px").call(l.fill,o.fillcolor),a&&l.stroke(r,o.line.color)}))})).each((function(t){var e=t[0].trace,n=i.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(e.visible&&"ohlc"===e.type?[t,t]:[]);n.enter().append("path").classed("legendohlc",!0).attr("d",(function(t,e){return e?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"})).attr("transform",w).style("stroke-miterlimit",1),n.exit().remove(),n.each((function(t,n){var r=i.select(this),o=e[n?"increasing":"decreasing"],a=E(void 0,o.line,5,2);r.style("fill","none").call(s.dashLine,o.line.dash,a),a&&l.stroke(r,o.line.color)}))}))}},66540:function(t,e,n){"use strict";n(76052),t.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},44248:function(t,e,n){"use strict";var i=n(24040),r=n(7316),o=n(79811),a=n(9224),s=n(4016).eraseActiveShape,l=n(3400),u=l._,c=t.exports={};function h(t,e){var n,r,a=e.currentTarget,s=a.getAttribute("data-attr"),l=a.getAttribute("data-val")||!0,u=t._fullLayout,c={},h=o.list(t,null,!0),d=u._cartesianSpikesEnabled;if("zoom"===s){var f,_="in"===l?.5:2,p=(1+_)/2,m=(1-_)/2;for(r=0;r1?(O=["toggleHover"],L=["resetViews"]):v?(I=["zoomInGeo","zoomOutGeo"],O=["hoverClosestGeo"],L=["resetGeo"]):m?(O=["hoverClosest3d"],L=["resetCameraDefault3d","resetCameraLastSave3d"]):E?(I=["zoomInMapbox","zoomOutMapbox"],O=["toggleHover"],L=["resetViewMapbox"]):b?O=["hoverClosestGl2d"]:g?O=["hoverClosestPie"]:T?(O=["hoverClosestCartesian","hoverCompareCartesian"],L=["resetViewSankey"]):O=["toggleHover"],p&&(O=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(t){for(var e=0;e0)){var p=function(t,e,n){for(var i=n.filter((function(n){return e[n].anchor===t._id})),r=0,o=0;o0?t.touches[0].clientX:0}function v(t,e,n,i){var r=a.ensureSingle(t,"rect",p.bgClassName,(function(t){t.attr({x:0,y:0,"shape-rendering":"crispEdges"})})),o=i.borderwidth%2==0?i.borderwidth:i.borderwidth-1,c=-i._offsetShift,h=l.crispRound(e,i.borderwidth);r.attr({width:i._width+o,height:i._height+o,transform:s(c,c),"stroke-width":h}).call(u.stroke,i.bordercolor).call(u.fill,i.bgcolor)}function g(t,e,n,i){var r=e._fullLayout;a.ensureSingleById(r._topdefs,"clipPath",i._clipId,(function(t){t.append("rect").attr({x:0,y:0})})).select("rect").attr({width:i._width,height:i._height})}function y(t,e,n,r){var s,u=e.calcdata,c=t.selectAll("g."+p.rangePlotClassName).data(n._subplotsWith,a.identity);c.enter().append("g").attr("class",(function(t){return p.rangePlotClassName+" "+t})).call(l.setClipUrl,r._clipId,e),c.order(),c.exit().remove(),c.each((function(t,a){var l=i.select(this),c=0===a,f=d.getFromId(e,t,"y"),_=f._name,p=r[_],m={data:[],layout:{xaxis:{type:n.type,domain:[0,1],range:r.range.slice(),calendar:n.calendar},width:r._width,height:r._height,margin:{t:0,b:0,l:0,r:0}},_context:e._context};n.rangebreaks&&(m.layout.xaxis.rangebreaks=n.rangebreaks),m.layout[_]={type:f.type,domain:[0,1],range:"match"!==p.rangemode?p.range.slice():f.range.slice(),calendar:f.calendar},f.rangebreaks&&(m.layout[_].rangebreaks=f.rangebreaks),o.supplyDefaults(m);var v=m._fullLayout.xaxis,g=m._fullLayout[_];v.clearCalc(),v.setScale(),g.clearCalc(),g.setScale();var y={id:t,plotgroup:l,xaxis:v,yaxis:g,isRangePlot:!0};c?s=y:(y.mainplot="xy",y.mainplotinfo=s),h.rangePlot(e,y,function(t,e){for(var n=[],i=0;i=i.max)e=U[n+1];else if(t=i.pmax)e=U[n+1];else if(tn._length||g+w<0)return;c=v+w,f=g+w;break;case l:if(b="col-resize",v+w>n._length)return;c=v+w,f=g;break;case u:if(b="col-resize",g+w<0)return;c=v,f=g+w;break;default:b="ew-resize",c=p,f=p+w}if(f=0;C--){var T=n.append("path").attr(m).style("opacity",C?.1:v).call(a.stroke,y).call(a.fill,g).call(s.dashLine,C?"solid":w,C?4+b:b);if(_(T,t,o),E){var A=l(t.layout,"selections",o);T.style({cursor:"move"});var S={element:T.node(),plotinfo:f,gd:t,editHelpers:A,isActiveSelection:!0},z=i(u,t);r(z,T,S)}else T.style("pointer-events",C?"all":"none");x[C]=T}var k=x[0];x[1].node().addEventListener("click",(function(){return function(t,e){if(d(t)){var n=+e.node().getAttribute("data-index");if(n>=0){if(n===t._fullLayout._activeSelectionIndex)return void p(t);t._fullLayout._activeSelectionIndex=n,t._fullLayout._deactivateSelection=p,h(t)}}}(t,k)}))}(t._fullLayout._selectionLayer)}function _(t,e,n){var i=n.xref+n.yref;s.setClipUrl(t,"clip"+e._fullLayout._uid+i,e)}function p(t){d(t)&&t._fullLayout._activeSelectionIndex>=0&&(o(t),delete t._fullLayout._activeSelectionIndex,h(t))}t.exports={draw:h,drawOne:f,activateLastSelection:function(t){if(d(t)){var e=t._fullLayout.selections.length-1;t._fullLayout._activeSelectionIndex=e,t._fullLayout._deactivateSelection=p,h(t)}}}},34200:function(t,e,n){"use strict";var i=n(98192).u,r=n(92880).extendFlat;t.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:r({},i,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},81004:function(t){"use strict";t.exports=function(t,e,n){n("newselection.mode"),n("newselection.line.width")&&(n("newselection.line.color"),n("newselection.line.dash")),n("activeselection.fillcolor"),n("activeselection.opacity")}},5968:function(t,e,n){"use strict";var i=n(72760).selectMode,r=n(1936).clearOutline,o=n(9856),a=o.readPaths,s=o.writePaths,l=o.fixDatesForPaths;t.exports=function(t,e){if(t.length){var n=t[0][0];if(n){var o=n.getAttribute("d"),u=e.gd,c=u._fullLayout.newselection,h=e.plotinfo,d=h.xaxis,f=h.yaxis,_=e.isActiveSelection,p=e.dragmode,m=(u.layout||{}).selections||[];if(!i(p)&&void 0!==_){var v=u._fullLayout._activeSelectionIndex;if(v-1,b=[];if(function(t){return t&&Array.isArray(t)&&!0!==t[0].hoverOnBox}(v)){H(t,e,o);var w=function(t,e){var n,i,r=t[0],o=-1,a=[];for(i=0;i0?function(t,e){var n,i,r,o=[];for(r=0;r0&&o.push(n);if(1===o.length&&o[0]===e.searchInfo&&(i=e.searchInfo.cd[0].trace).selectedpoints.length===e.pointNumbers.length){for(r=0;r1)return!1;if((i+=e.selectedpoints.length)>1)return!1}return 1===i}(s)&&(d=Y(w))){for(a&&a.remove(),m=0;m=0})(r)&&r._fullLayout._deactivateShape(r),function(t){return t._fullLayout._activeSelectionIndex>=0}(r)&&r._fullLayout._deactivateSelection(r);var a=r._fullLayout._zoomlayer,s=f(n),l=p(n);if(s||l){var u,c,h=a.selectAll(".select-outline-"+i.id);h&&r._fullLayout._outlining&&(s&&(u=x(h,t)),u&&o.call("_guiRelayout",r,{shapes:u}),l&&!D(t)&&(c=C(h,t)),c&&(r._fullLayout._noEmitSelectedAtStart=!0,o.call("_guiRelayout",r,{selections:c}).then((function(){e&&T(r)}))),r._fullLayout._outlining=!1)}i.selection={},i.selection.selectionDefs=t.selectionDefs=[],i.selection.mergedPolygons=t.mergedPolygons=[]}function X(t){return t._id}function J(t,e,n,i){if(!t.calcdata)return[];var r,o,a,s=[],l=e.map(X),u=n.map(X);for(a=0;a0?i[0]:n;return!!e.selectedpoints&&e.selectedpoints.indexOf(r)>-1}function K(t,e,n){var i,r;for(i=0;i-1&&e;if(!o&&e){var et=at(t,!0);if(et.length){var it=et[0].xref,ft=et[0].yref;if(it&&ft){var _t=ut(et);ct([N(t,it,"x"),N(t,ft,"y")])(Q,_t)}}t._fullLayout._noEmitSelectedAtStart?t._fullLayout._noEmitSelectedAtStart=!1:tt&&ht(t,Q),d._reselect=!1}if(!o&&d._deselect){var pt=d._deselect;(function(t,e,n){for(var i=0;i=0)C._fullLayout._deactivateShape(C);else if(!y){var n=T.clickmode;k.done(At).then((function(){if(k.clear(At),2===t){for(bt.remove(),Y=0;Y-1&&B(e,C,i.xaxes,i.yaxes,i.subplot,i,bt),"event"===n&&ht(C,void 0);l.click(C,e,I.id)})).catch(A.error)}},i.doneFn=function(){Ct.remove(),k.done(At).then((function(){k.clear(At),!S&&Z&&i.selectionDefs&&(Z.subtract=yt,i.selectionDefs.push(Z),i.mergedPolygons.length=0,[].push.apply(i.mergedPolygons,X)),(S||y)&&V(i,S),i.doneFnCompleted&&i.doneFnCompleted(St),b&&ht(C,ot)})).catch(A.error)}},clearOutline:y,clearSelectionsCache:V,selectOnClick:B}},46056:function(t,e,n){"use strict";var i=n(13916),r=n(25376),o=n(52904).line,a=n(98192).u,s=n(92880).extendFlat,l=n(31780).templatedArray,u=(n(36208),n(45464)),c=n(21776).ye,h=n(97728);t.exports=l("shape",{visible:s({},u.visible,{editType:"calc+arraydraw"}),showlegend:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},legend:s({},u.legend,{editType:"calc+arraydraw"}),legendgroup:s({},u.legendgroup,{editType:"calc+arraydraw"}),legendgrouptitle:{text:s({},u.legendgrouptitle.text,{editType:"calc+arraydraw"}),font:r({editType:"calc+arraydraw"}),editType:"calc+arraydraw"},legendrank:s({},u.legendrank,{editType:"calc+arraydraw"}),legendwidth:s({},u.legendwidth,{editType:"calc+arraydraw"}),type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:s({},i.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:s({},i.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:s({},o.color,{editType:"arraydraw"}),width:s({},o.width,{editType:"calc+arraydraw"}),dash:s({},a,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},label:{text:{valType:"string",dflt:"",editType:"arraydraw"},texttemplate:c({},{keys:Object.keys(h)}),font:r({editType:"calc+arraydraw",colorEditType:"arraydraw"}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],editType:"arraydraw"},textangle:{valType:"angle",dflt:"auto",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],editType:"calc+arraydraw"},padding:{valType:"number",dflt:3,min:0,editType:"arraydraw"},editType:"arraydraw"},editType:"arraydraw"})},96084:function(t,e,n){"use strict";var i=n(3400),r=n(54460),o=n(85448),a=n(65152);function s(t){return u(t.line.width,t.xsizemode,t.x0,t.x1,t.path,!1)}function l(t){return u(t.line.width,t.ysizemode,t.y0,t.y1,t.path,!0)}function u(t,e,n,r,s,l){var u=t/2,c=l;if("pixel"===e){var h=s?a.extractPathCoords(s,l?o.paramIsY:o.paramIsX):[n,r],d=i.aggNums(Math.max,null,h),f=i.aggNums(Math.min,null,h),_=f<0?Math.abs(f)+u:u,p=d>0?d+u:u;return{ppad:u,ppadplus:c?_:p,ppadminus:c?p:_}}return{ppad:u}}function c(t,e,n,i,r){var s="category"===t.type||"multicategory"===t.type?t.r2c:t.d2c;if(void 0!==e)return[s(e),s(n)];if(i){var l,u,c,h,d=1/0,f=-1/0,_=i.match(o.segmentRE);for("date"===t.type&&(s=a.decodeDate(s)),l=0;l<_.length;l++)void 0!==(u=r[_[l].charAt(0)].drawn)&&(!(c=_[l].substr(1).match(o.paramRE))||c.lengthf&&(f=h)));return f>=d?[d,f]:void 0}}t.exports=function(t){var e=t._fullLayout,n=i.filterVisible(e.shapes);if(n.length&&t._fullData.length)for(var a=0;a=t?e-i:i-e,-180/Math.PI*Math.atan2(r,o)}(y,w,b,E):0),T.call((function(e){return e.call(a.font,C).attr({}),o.convertToTspans(e,t),e}));var D=function(t,e,n,i,r,o,a){var s,l,u,c,d=r.label.textposition,f=r.label.textangle,_=r.label.padding,p=r.type,m=Math.PI/180*o,v=Math.sin(m),g=Math.cos(m),y=r.label.xanchor,b=r.label.yanchor;if("line"===p){"start"===d?(s=t,l=e):"end"===d?(s=n,l=i):(s=(t+n)/2,l=(e+i)/2),"auto"===y&&(y="start"===d?"auto"===f?n>t?"left":nt?"right":nt?"right":nt?"left":n1&&(2!==t.length||"Z"!==t[1][0])&&(0===N&&(t[0][0]="M"),e[k]=t,T(),A())}}()}}function B(t,n){!function(t,n){if(e.length)for(var i=0;iw?(A=f,N="y0",S=w,I="y1"):(A=w,N="y1",S=f,I="y0"),tt(i),it(l,n),function(t,e,n){var i=e.xref,r=e.yref,o=a.getFromId(n,i),s=a.getFromId(n,r),l="";"paper"===i||o.autorange||(l+=i),"paper"===r||s.autorange||(l+=r),d.setClipUrl(t,l?"clip"+n._fullLayout._uid+l:null,n)}(e,n,t),Q.moveFn="move"===$?et:nt,Q.altKey=i.altKey)},doneFn:function(){b(t)||(p(e),rt(l),x(e,t,n),r.call("_guiRelayout",t,c.getUpdateObj()))},clickFn:function(){b(t)||rt(l)}};function tt(n){if(b(t))$=null;else if(q)$="path"===n.target.tagName?"move":"start-point"===n.target.attributes["data-line-point"].value?"resize-over-start-point":"resize-over-end-point";else{var i=Q.element.getBoundingClientRect(),r=i.right-i.left,o=i.bottom-i.top,a=n.clientX-i.left,s=n.clientY-i.top,l=!D&&r>R&&o>P&&!n.shiftKey?_.getCursor(a/r,1-s/o):"move";p(e,l),$=l.split("-")[0]}}function et(i,r){if("path"===n.type){var o=function(t){return t},a=o,c=o;U?B("xanchor",n.xanchor=Z(E+i)):(a=function(t){return Z(X(t)+i)},W&&"date"===W.type&&(a=v.encodeDate(a))),j?B("yanchor",n.yanchor=Y(T+r)):(c=function(t){return Y(J(t)+r)},H&&"date"===H.type&&(c=v.encodeDate(c))),B("path",n.path=C(M,a,c))}else U?B("xanchor",n.xanchor=Z(E+i)):(B("x0",n.x0=Z(h+i)),B("x1",n.x1=Z(y+i))),j?B("yanchor",n.yanchor=Y(T+r)):(B("y0",n.y0=Y(f+r)),B("y1",n.y1=Y(w+r)));e.attr("d",g(t,n)),it(l,n),u(t,s,n,F)}function nt(i,r){if(D){var o=function(t){return t},a=o,c=o;U?B("xanchor",n.xanchor=Z(E+i)):(a=function(t){return Z(X(t)+i)},W&&"date"===W.type&&(a=v.encodeDate(a))),j?B("yanchor",n.yanchor=Y(T+r)):(c=function(t){return Y(J(t)+r)},H&&"date"===H.type&&(c=v.encodeDate(c))),B("path",n.path=C(M,a,c))}else if(q){if("resize-over-start-point"===$){var d=h+i,_=j?f-r:f+r;B("x0",n.x0=U?d:Z(d)),B("y0",n.y0=j?_:Y(_))}else if("resize-over-end-point"===$){var p=y+i,m=j?w-r:w+r;B("x1",n.x1=U?p:Z(p)),B("y1",n.y1=j?m:Y(m))}}else{var b=function(t){return-1!==$.indexOf(t)},x=b("n"),G=b("s"),V=b("w"),K=b("e"),Q=x?A+r:A,tt=G?S+r:S,et=V?z+i:z,nt=K?k+i:k;j&&(x&&(Q=A-r),G&&(tt=S-r)),(!j&&tt-Q>P||j&&Q-tt>P)&&(B(N,n[N]=j?Q:Y(Q)),B(I,n[I]=j?tt:Y(tt))),nt-et>R&&(B(O,n[O]=U?et:Z(et)),B(L,n[L]=U?nt:Z(nt)))}e.attr("d",g(t,n)),it(l,n),u(t,s,n,F)}function it(t,e){(U||j)&&function(){var n="path"!==e.type,i=t.selectAll(".visual-cue").data([0]);i.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var r=X(U?e.xanchor:o.midRange(n?[e.x0,e.x1]:v.extractPathCoords(e.path,m.paramIsX))),a=J(j?e.yanchor:o.midRange(n?[e.y0,e.y1]:v.extractPathCoords(e.path,m.paramIsY)));if(r=v.roundPositionForSharpStrokeRendering(r,1),a=v.roundPositionForSharpStrokeRendering(a,1),U&&j){var s="M"+(r-1-1)+","+(a-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";i.attr("d",s)}else if(U){var l="M"+(r-1-1)+","+(a-9-1)+"v18 h2 v-18 Z";i.attr("d",l)}else{var u="M"+(r-9-1)+","+(a-1-1)+"h18 v2 h-18 Z";i.attr("d",u)}}()}function rt(t){t.selectAll(".visual-cue").remove()}_.init(Q),K.node().onmousemove=tt}(t,P,c,e,n,$):!0===c.editable&&P.style("pointer-events",L||h.opacity(k)*z<=.5?"stroke":"all");P.node().addEventListener("click",(function(){return function(t,e){if(w(t)){var n=+e.node().getAttribute("data-index");if(n>=0){if(n===t._fullLayout._activeShapeIndex)return void T(t);t._fullLayout._activeShapeIndex=n,t._fullLayout._deactivateShape=T,y(t)}}}(t,P)}))}c._input&&!0===c.visible&&("below"!==c.layer?A(t._fullLayout._shapeUpperLayer):"paper"===c.xref||"paper"===c.yref?A(t._fullLayout._shapeLowerLayer):E._hadPlotinfo?A((E.mainplotinfo||E).shapelayer):A(t._fullLayout._shapeLowerLayer))}function x(t,e,n){var i=(n.xref+n.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");d.setClipUrl(t,i?"clip"+e._fullLayout._uid+i:null,e)}function C(t,e,n){return t.replace(m.segmentRE,(function(t){var i=0,r=t.charAt(0),o=m.paramIsX[r],a=m.paramIsY[r],s=m.numParams[r];return r+t.substr(1).replace(m.paramRE,(function(t){return i>=s||(o[i]?t=e(t):a[i]&&(t=n(t)),i++),t}))}))}function T(t){w(t)&&t._fullLayout._activeShapeIndex>=0&&(c(t),delete t._fullLayout._activeShapeIndex,y(t))}t.exports={draw:y,drawOne:E,eraseActiveShape:function(t){if(w(t)){c(t);var e=t._fullLayout._activeShapeIndex,n=(t.layout||{}).shapes||[];if(e0&&lf&&(t="X"),t}));return o>f&&(_=_.replace(/[\s,]*X.*/,""),r.log("Ignoring extra params in segment "+t)),c+_}))}(n,s,u);if("pixel"===n.xsizemode){var b=s(n.xanchor);c=b+n.x0,h=b+n.x1}else c=s(n.x0),h=s(n.x1);if("pixel"===n.ysizemode){var w=u(n.yanchor);d=w-n.y0,f=w-n.y1}else d=u(n.y0),f=u(n.y1);if("line"===_)return"M"+c+","+d+"L"+h+","+f;if("rect"===_)return"M"+c+","+d+"H"+h+"V"+f+"H"+c+"Z";var E=(c+h)/2,x=(d+f)/2,C=Math.abs(E-c),T=Math.abs(x-d),A="A"+C+","+T,S=E+C+","+x;return"M"+S+A+" 0 1,1 "+E+","+(x-T)+A+" 0 0,1 "+S+"Z"}},41592:function(t,e,n){"use strict";var i=n(4016);t.exports={moduleType:"component",name:"shapes",layoutAttributes:n(46056),supplyLayoutDefaults:n(43712),supplyDrawNewShapeDefaults:n(65144),includeBasePlot:n(36632)("shapes"),calcAutorange:n(96084),draw:i.draw,drawOne:i.drawOne}},97728:function(t){"use strict";function e(t,e){return e?e.d2l(t):t}function n(t,e){return e?e.l2d(t):t}function i(t,n){return e(t.x1,n)-e(t.x0,n)}function r(t,n,i){return e(t.y1,i)-e(t.y0,i)}t.exports={x0:function(t){return t.x0},x1:function(t){return t.x1},y0:function(t){return t.y0},y1:function(t){return t.y1},slope:function(t,e,n){return"line"!==t.type?void 0:r(t,0,n)/i(t,e)},dx:i,dy:r,width:function(t,e){return Math.abs(i(t,e))},height:function(t,e,n){return Math.abs(r(t,0,n))},length:function(t,e,n){return"line"!==t.type?void 0:Math.sqrt(Math.pow(i(t,e),2)+Math.pow(r(t,0,n),2))},xcenter:function(t,i){return n((e(t.x1,i)+e(t.x0,i))/2,i)},ycenter:function(t,i,r){return n((e(t.y1,r)+e(t.y0,r))/2,r)}}},89861:function(t,e,n){"use strict";var i=n(25376),r=n(66741),o=n(92880).extendDeepAll,a=n(67824).overrideAll,s=n(85656),l=n(31780).templatedArray,u=n(60876),c=l("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});t.exports=a(l("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:c,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:o(r({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:s.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:i({})},font:i({}),activebgcolor:{valType:"color",dflt:u.gripBgActiveColor},bgcolor:{valType:"color",dflt:u.railBgColor},bordercolor:{valType:"color",dflt:u.railBorderColor},borderwidth:{valType:"number",min:0,dflt:u.railBorderWidth},ticklen:{valType:"number",min:0,dflt:u.tickLength},tickcolor:{valType:"color",dflt:u.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:u.minorTickLength}}),"arraydraw","from-root")},60876:function(t){"use strict";t.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},8132:function(t,e,n){"use strict";var i=n(3400),r=n(51272),o=n(89861),a=n(60876).name,s=o.steps;function l(t,e,n){function a(n,r){return i.coerce(t,e,o,n,r)}for(var s=r(t,e,{name:"steps",handleItemDefaults:u}),l=0,c=0;c0&&(s=s.transition().duration(e.transition.duration).ease(e.transition.easing)),s.attr("transform",l(a-.5*h.gripWidth,e._dims.currentValueTotalHeight))}}function z(t,e){var n=t._dims;return n.inputAreaStart+h.stepInset+(n.inputAreaLength-2*h.stepInset)*Math.min(1,Math.max(0,e))}function k(t,e){var n=t._dims;return Math.min(1,Math.max(0,(e-h.stepInset-n.inputAreaStart)/(n.inputAreaLength-2*h.stepInset-2*n.inputAreaStart)))}function N(t,e,n){var i=n._dims,r=s.ensureSingle(t,"rect",h.railTouchRectClass,(function(i){i.call(T,e,t,n).style("pointer-events","all")}));r.attr({width:i.inputAreaLength,height:Math.max(i.inputAreaWidth,h.tickOffset+n.ticklen+i.labelHeight)}).call(o.fill,n.bgcolor).attr("opacity",0),a.setTranslate(r,0,i.currentValueTotalHeight)}function I(t,e){var n=e._dims,i=n.inputAreaLength-2*h.railInset,r=s.ensureSingle(t,"rect",h.railRectClass);r.attr({width:i,height:h.railWidth,rx:h.railRadius,ry:h.railRadius,"shape-rendering":"crispEdges"}).call(o.stroke,e.bordercolor).call(o.fill,e.bgcolor).style("stroke-width",e.borderwidth+"px"),a.setTranslate(r,h.railInset,.5*(n.inputAreaWidth-h.railWidth)+n.currentValueTotalHeight)}t.exports=function(t){var e=t._context.staticPlot,n=t._fullLayout,o=function(t,e){for(var n=t[h.name],i=[],r=0;r0?[0]:[]);function l(e){e._commandObserver&&(e._commandObserver.remove(),delete e._commandObserver),r.autoMargin(t,m(e))}if(s.enter().append("g").classed(h.containerClassName,!0).style("cursor",e?null:"ew-resize"),s.exit().each((function(){i.select(this).selectAll("g."+h.groupClassName).each(l)})).remove(),0!==o.length){var u=s.selectAll("g."+h.groupClassName).data(o,v);u.enter().append("g").classed(h.groupClassName,!0),u.exit().each(l).remove();for(var c=0;c0||w<0){var A={left:[-E,0],right:[E,0],top:[0,-E],bottom:[0,E]}[b.side];n.attr("transform",l(A[0],A[1]))}}}return R.call(P),L&&(z?R.on(".opacity",null):(T=0,A=!0,R.text(g).on("mouseover.opacity",(function(){i.select(this).transition().duration(d.SHOW_PLACEHOLDER).style("opacity",1)})).on("mouseout.opacity",(function(){i.select(this).transition().duration(d.HIDE_PLACEHOLDER).style("opacity",0)}))),R.call(h.makeEditable,{gd:t}).on("edit",(function(e){void 0!==y?a.call("_guiRestyle",t,v,e,y):a.call("_guiRelayout",t,v,e)})).on("cancel",(function(){this.text(this.attr("data-unformatted")).call(P)})).on("input",(function(t){this.text(t||" ").call(h.positionText,w.x,w.y)}))),R.classed("js-placeholder",A),x}}},88444:function(t,e,n){"use strict";var i=n(25376),r=n(22548),o=n(92880).extendFlat,a=n(67824).overrideAll,s=n(66741),l=n(31780).templatedArray,u=l("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});t.exports=a(l("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:u,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:o(s({editType:"arraydraw"}),{}),font:i({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:r.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},73712:function(t){"use strict";t.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},91384:function(t,e,n){"use strict";var i=n(3400),r=n(51272),o=n(88444),a=n(73712).name,s=o.buttons;function l(t,e,n){function a(n,r){return i.coerce(t,e,o,n,r)}a("visible",r(t,e,{name:"buttons",handleItemDefaults:u}).length>0)&&(a("active"),a("direction"),a("type"),a("showactive"),a("x"),a("y"),i.noneOrAll(t,e,["x","y"]),a("xanchor"),a("yanchor"),a("pad.t"),a("pad.r"),a("pad.b"),a("pad.l"),i.coerceFont(a,"font",n.font),a("bgcolor",n.paper_bgcolor),a("bordercolor"),a("borderwidth"))}function u(t,e){function n(n,r){return i.coerce(t,e,s,n,r)}n("visible","skip"===t.method||Array.isArray(t.args))&&(n("method"),n("args"),n("args2"),n("label"),n("execute"))}t.exports=function(t,e){r(t,e,{name:a,handleItemDefaults:l})}},14420:function(t,e,n){"use strict";var i=n(33428),r=n(7316),o=n(76308),a=n(43616),s=n(3400),l=n(72736),u=n(31780).arrayEditor,c=n(84284).LINE_SPACING,h=n(73712),d=n(37400);function f(t){return t._index}function _(t,e){return+t.attr(h.menuIndexAttrName)===e._index}function p(t,e,n,i,r,o,a,s){e.active=a,u(t.layout,h.name,e).applyUpdate("active",a),"buttons"===e.type?v(t,i,null,null,e):"dropdown"===e.type&&(r.attr(h.menuIndexAttrName,"-1"),m(t,i,r,o,e),s||v(t,i,r,o,e))}function m(t,e,n,i,r){var o=s.ensureSingle(e,"g",h.headerClassName,(function(t){t.style("pointer-events","all")})),l=r._dims,u=r.active,c=r.buttons[u]||h.blankHeaderOpts,d={y:r.pad.t,yPad:0,x:r.pad.l,xPad:0,index:0},f={width:l.headerWidth,height:l.headerHeight};o.call(g,r,c,t).call(A,r,d,f),s.ensureSingle(e,"text",h.headerArrowClassName,(function(t){t.attr("text-anchor","end").call(a.font,r.font).text(h.arrowSymbol[r.direction])})).attr({x:l.headerWidth-h.arrowOffsetX+r.pad.l,y:l.headerHeight/2+h.textOffsetY+r.pad.t}),o.on("click",(function(){n.call(S,String(_(n,r)?-1:r._index)),v(t,e,n,i,r)})),o.on("mouseover",(function(){o.call(E)})),o.on("mouseout",(function(){o.call(x,r)})),a.setTranslate(e,l.lx,l.ly)}function v(t,e,n,o,a){n||(n=e).attr("pointer-events","all");var l=function(t){return-1==+t.attr(h.menuIndexAttrName)}(n)&&"buttons"!==a.type?[]:a.buttons,u="dropdown"===a.type?h.dropdownButtonClassName:h.buttonClassName,c=n.selectAll("g."+u).data(s.filterVisible(l)),d=c.enter().append("g").classed(u,!0),f=c.exit();"dropdown"===a.type?(d.attr("opacity","0").transition().attr("opacity","1"),f.transition().attr("opacity","0").remove()):f.remove();var _=0,m=0,v=a._dims,y=-1!==["up","down"].indexOf(a.direction);"dropdown"===a.type&&(y?m=v.headerHeight+h.gapButtonHeader:_=v.headerWidth+h.gapButtonHeader),"dropdown"===a.type&&"up"===a.direction&&(m=-h.gapButtonHeader+h.gapButton-v.openHeight),"dropdown"===a.type&&"left"===a.direction&&(_=-h.gapButtonHeader+h.gapButton-v.openWidth);var b={x:v.lx+_+a.pad.l,y:v.ly+m+a.pad.t,yPad:h.gapButton,xPad:h.gapButton,index:0},C={l:b.x+a.borderwidth,t:b.y+a.borderwidth};c.each((function(s,l){var u=i.select(this);u.call(g,a,s,t).call(A,a,b),u.on("click",(function(){i.event.defaultPrevented||(s.execute&&(s.args2&&a.active===l?(p(t,a,0,e,n,o,-1),r.executeAPICommand(t,s.method,s.args2)):(p(t,a,0,e,n,o,l),r.executeAPICommand(t,s.method,s.args))),t.emit("plotly_buttonclicked",{menu:a,button:s,active:a.active}))})),u.on("mouseover",(function(){u.call(E)})),u.on("mouseout",(function(){u.call(x,a),c.call(w,a)}))})),c.call(w,a),y?(C.w=Math.max(v.openWidth,v.headerWidth),C.h=b.y-C.t):(C.w=b.x-C.l,C.h=Math.max(v.openHeight,v.headerHeight)),C.direction=a.direction,o&&(c.size()?function(t,e,n,i,r,o){var a,s,l,u=r.direction,c="up"===u||"down"===u,d=r._dims,f=r.active;if(c)for(s=0,l=0;l0?[0]:[]);if(a.enter().append("g").classed(h.containerClassName,!0).style("cursor","pointer"),a.exit().each((function(){i.select(this).selectAll("g."+h.headerGroupClassName).each(o)})).remove(),0!==n.length){var l=a.selectAll("g."+h.headerGroupClassName).data(n,f);l.enter().append("g").classed(h.headerGroupClassName,!0);for(var u=s.ensureSingle(a,"g",h.dropdownButtonGroupClassName,(function(t){t.style("pointer-events","all")})),c=0;cE,T=s.barLength+2*s.barPad,A=s.barWidth+2*s.barPad,S=_,z=m+v;z+A>u&&(z=u-A);var k=this.container.selectAll("rect.scrollbar-horizontal").data(C?[0]:[]);k.exit().on(".drag",null).remove(),k.enter().append("rect").classed("scrollbar-horizontal",!0).call(r.fill,s.barColor),C?(this.hbar=k.attr({rx:s.barRadius,ry:s.barRadius,x:S,y:z,width:T,height:A}),this._hbarXMin=S+T/2,this._hbarTranslateMax=E-T):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var N=v>x,I=s.barWidth+2*s.barPad,O=s.barLength+2*s.barPad,L=_+p,M=m;L+I>l&&(L=l-I);var $=this.container.selectAll("rect.scrollbar-vertical").data(N?[0]:[]);$.exit().on(".drag",null).remove(),$.enter().append("rect").classed("scrollbar-vertical",!0).call(r.fill,s.barColor),N?(this.vbar=$.attr({rx:s.barRadius,ry:s.barRadius,x:L,y:M,width:I,height:O}),this._vbarYMin=M+O/2,this._vbarTranslateMax=x-O):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var R=this.id,P=c-.5,U=N?h+I+.5:h+.5,j=d-.5,q=C?f+A+.5:f+.5,D=a._topdefs.selectAll("#"+R).data(C||N?[0]:[]);if(D.exit().remove(),D.enter().append("clipPath").attr("id",R).append("rect"),C||N?(this._clipRect=D.select("rect").attr({x:Math.floor(P),y:Math.floor(j),width:Math.ceil(U)-Math.floor(P),height:Math.ceil(q)-Math.floor(j)}),this.container.call(o.setClipUrl,R,this.gd),this.bg.attr({x:_,y:m,width:p,height:v})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(o.setClipUrl,null),delete this._clipRect),C||N){var B=i.behavior.drag().on("dragstart",(function(){i.event.sourceEvent.preventDefault()})).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(B);var F=i.behavior.drag().on("dragstart",(function(){i.event.sourceEvent.preventDefault(),i.event.sourceEvent.stopPropagation()})).on("drag",this._onBarDrag.bind(this));C&&this.hbar.on(".drag",null).call(F),N&&this.vbar.on(".drag",null).call(F)}this.setTranslate(e,n)},s.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(o.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},s.prototype._onBoxDrag=function(){var t=this.translateX,e=this.translateY;this.hbar&&(t-=i.event.dx),this.vbar&&(e-=i.event.dy),this.setTranslate(t,e)},s.prototype._onBoxWheel=function(){var t=this.translateX,e=this.translateY;this.hbar&&(t+=i.event.deltaY),this.vbar&&(e+=i.event.deltaY),this.setTranslate(t,e)},s.prototype._onBarDrag=function(){var t=this.translateX,e=this.translateY;if(this.hbar){var n=t+this._hbarXMin,r=n+this._hbarTranslateMax;t=(a.constrain(i.event.x,n,r)-n)/(r-n)*(this.position.w-this._box.w)}if(this.vbar){var o=e+this._vbarYMin,s=o+this._vbarTranslateMax;e=(a.constrain(i.event.y,o,s)-o)/(s-o)*(this.position.h-this._box.h)}this.setTranslate(t,e)},s.prototype.setTranslate=function(t,e){var n=this.position.w-this._box.w,i=this.position.h-this._box.h;if(t=a.constrain(t||0,0,n),e=a.constrain(e||0,0,i),this.translateX=t,this.translateY=e,this.container.call(o.setTranslate,this._box.l-this.position.l-t,this._box.t-this.position.t-e),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+t-.5),y:Math.floor(this.position.t+e-.5)}),this.hbar){var r=t/n;this.hbar.call(o.setTranslate,t+r*this._hbarTranslateMax,e)}if(this.vbar){var s=e/i;this.vbar.call(o.setTranslate,t,e+s*this._vbarTranslateMax)}}},84284:function(t){"use strict";t.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},36208:function(t){"use strict";t.exports={axisRefDescription:function(t,e,n){return["If set to a",t,"axis id (e.g. *"+t+"* or","*"+t+"2*), the `"+t+"` position refers to a",t,"coordinate. If set to *paper*, the `"+t+"`","position refers to the distance from the",e,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",e,"("+n+"). If set to a",t,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",e,"of the domain of that axis: e.g.,","*"+t+"2 domain* refers to the domain of the second",t," axis and a",t,"position of 0.5 refers to the","point between the",e,"and the",n,"of the domain of the","second",t,"axis."].join(" ")}}},48164:function(t){"use strict";t.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},26880:function(t){"use strict";t.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},69104:function(t){"use strict";t.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},99168:function(t){"use strict";t.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87792:function(t){"use strict";t.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},13448:function(t){"use strict";t.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},39032:function(t){"use strict";t.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:2440587.5,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},2264:function(t,e){"use strict";e.CSS_DECLARATIONS=[["image-rendering","optimizeSpeed"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-crisp-edges"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","optimize-contrast"],["image-rendering","crisp-edges"],["image-rendering","pixelated"]],e.STYLE=e.CSS_DECLARATIONS.map((function(t){return t.join(": ")+"; "})).join("")},9616:function(t,e){"use strict";e.xmlns="http://www.w3.org/2000/xmlns/",e.svg="http://www.w3.org/2000/svg",e.xlink="http://www.w3.org/1999/xlink",e.svgAttrs={xmlns:e.svg,"xmlns:xlink":e.xlink}},64884:function(t,e,n){"use strict";e.version=n(25788).version,n(88324),n(79288);for(var i=n(24040),r=e.register=i.register,o=n(22448),a=Object.keys(o),s=0;s",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},98308:function(t,e){"use strict";e.isLeftAnchor=function(t){return"left"===t.xanchor||"auto"===t.xanchor&&t.x<=1/3},e.isCenterAnchor=function(t){return"center"===t.xanchor||"auto"===t.xanchor&&t.x>1/3&&t.x<2/3},e.isRightAnchor=function(t){return"right"===t.xanchor||"auto"===t.xanchor&&t.x>=2/3},e.isTopAnchor=function(t){return"top"===t.yanchor||"auto"===t.yanchor&&t.y>=2/3},e.isMiddleAnchor=function(t){return"middle"===t.yanchor||"auto"===t.yanchor&&t.y>1/3&&t.y<2/3},e.isBottomAnchor=function(t){return"bottom"===t.yanchor||"auto"===t.yanchor&&t.y<=1/3}},11864:function(t,e,n){"use strict";var i=n(20435),r=i.mod,o=i.modHalf,a=Math.PI,s=2*a;function l(t){return Math.abs(t[1]-t[0])>s-1e-14}function u(t,e){return o(e-t,s)}function c(t,e){if(l(e))return!0;var n,i;e[0](i=r(i,s))&&(i+=s);var o=r(t,s),a=o+s;return o>=n&&o<=i||a>=n&&a<=i}function h(t,e,n,i,r,o,u){r=r||0,o=o||0;var c,h,d,f,_,p=l([n,i]);function m(t,e){return[t*Math.cos(e)+r,o-t*Math.sin(e)]}p?(c=0,h=a,d=s):n=r&&t<=o);var r,o},pathArc:function(t,e,n,i,r){return h(null,t,e,n,i,r,0)},pathSector:function(t,e,n,i,r){return h(null,t,e,n,i,r,1)},pathAnnulus:function(t,e,n,i,r,o){return h(t,e,n,i,r,o,1)}}},38116:function(t,e,n){"use strict";var i=n(83160).decode,r=n(63620),o=Array.isArray,a=ArrayBuffer,s=DataView;function l(t){return a.isView(t)&&!(t instanceof s)}function u(t){return o(t)||l(t)}e.isTypedArray=l,e.isArrayOrTypedArray=u,e.isArray1D=function(t){return!u(t[0])},e.ensureArray=function(t,e){return o(t)||(t=[]),t.length=e,t};var c={u1c:"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,i1:"undefined"==typeof Int8Array?void 0:Int8Array,u1:"undefined"==typeof Uint8Array?void 0:Uint8Array,i2:"undefined"==typeof Int16Array?void 0:Int16Array,u2:"undefined"==typeof Uint16Array?void 0:Uint16Array,i4:"undefined"==typeof Int32Array?void 0:Int32Array,u4:"undefined"==typeof Uint32Array?void 0:Uint32Array,f4:"undefined"==typeof Float32Array?void 0:Float32Array,f8:"undefined"==typeof Float64Array?void 0:Float64Array};function h(t){return t.constructor===ArrayBuffer}function d(t,e,n){if(u(t)){if(u(t[0])){for(var i=n,r=0;rr.max?e.set(n):e.set(+t)}},integer:{coerceFunction:function(t,e,n,r){t%1||!i(t)||void 0!==r.min&&tr.max?e.set(n):e.set(+t)}},string:{coerceFunction:function(t,e,n,i){if("string"!=typeof t){var r="number"==typeof t;!0!==i.strict&&r?e.set(String(t)):e.set(n)}else i.noBlank&&!t?e.set(n):e.set(t)}},color:{coerceFunction:function(t,e,n){r(t).isValid()?e.set(t):e.set(n)}},colorlist:{coerceFunction:function(t,e,n){Array.isArray(t)&&t.length&&t.every((function(t){return r(t).isValid()}))?e.set(t):e.set(n)}},colorscale:{coerceFunction:function(t,e,n){e.set(a.get(t,n))}},angle:{coerceFunction:function(t,e,n){"auto"===t?e.set("auto"):i(t)?e.set(h(+t,360)):e.set(n)}},subplotid:{coerceFunction:function(t,e,n,i){var r=i.regex||c(n);"string"==typeof t&&r.test(t)?e.set(t):e.set(n)},validateFunction:function(t,e){var n=e.dflt;return t===n||"string"==typeof t&&!!c(n).test(t)}},flaglist:{coerceFunction:function(t,e,n,i){if(-1===(i.extras||[]).indexOf(t))if("string"==typeof t){for(var r=t.split("+"),o=0;o=i&&t<=r?t:c}if("string"!=typeof t&&"number"!=typeof t)return c;t=String(t);var u=w(n),v=t.charAt(0);!u||"G"!==v&&"g"!==v||(t=t.substr(1),n="");var E=u&&"chinese"===n.substr(0,7),x=t.match(E?y:g);if(!x)return c;var C=x[1],T=x[3]||"1",A=Number(x[5]||1),S=Number(x[7]||0),z=Number(x[9]||0),k=Number(x[11]||0);if(u){if(2===C.length)return c;var N;C=Number(C);try{var I=m.getComponentMethod("calendars","getCal")(n);if(E){var O="i"===T.charAt(T.length-1);T=parseInt(T,10),N=I.newDate(C,I.toMonthIndex(C,T,O),A)}else N=I.newDate(C,Number(T),A)}catch(t){return c}return N?(N.toJD()-p)*h+S*d+z*f+k*_:c}C=2===C.length?(Number(C)+2e3-b)%100+b:Number(C),T-=1;var L=new Date(Date.UTC(2e3,T,A,S,z));return L.setUTCFullYear(C),L.getUTCMonth()!==T||L.getUTCDate()!==A?c:L.getTime()+k*_},i=e.MIN_MS=e.dateTime2ms("-9999"),r=e.MAX_MS=e.dateTime2ms("9999-12-31 23:59:59.9999"),e.isDateTime=function(t,n){return e.dateTime2ms(t,n)!==c};var x=90*h,C=3*d,T=5*f;function A(t,e,n,i,r){if((e||n||i||r)&&(t+=" "+E(e,2)+":"+E(n,2),(i||r)&&(t+=":"+E(i,2),r))){for(var o=4;r%10==0;)o-=1,r/=10;t+="."+E(r,o)}return t}e.ms2DateTime=function(t,e,n){if("number"!=typeof t||!(t>=i&&t<=r))return c;e||(e=0);var o,a,s,u,g,y,b=Math.floor(10*l(t+.05,1)),E=Math.round(t-b/10);if(w(n)){var S=Math.floor(E/h)+p,z=Math.floor(l(t,h));try{o=m.getComponentMethod("calendars","getCal")(n).fromJD(S).formatDate("yyyy-mm-dd")}catch(t){o=v("G%Y-%m-%d")(new Date(E))}if("-"===o.charAt(0))for(;o.length<11;)o="-0"+o.substr(1);else for(;o.length<10;)o="0"+o;a=e=i+h&&t<=r-h))return c;var e=Math.floor(10*l(t+.05,1)),n=new Date(Math.round(t-e/10));return A(o("%Y-%m-%d")(n),n.getHours(),n.getMinutes(),n.getSeconds(),10*n.getUTCMilliseconds()+e)},e.cleanDate=function(t,n,i){if(t===c)return n;if(e.isJSDate(t)||"number"==typeof t&&isFinite(t)){if(w(i))return s.error("JS Dates and milliseconds are incompatible with world calendars",t),n;if(!(t=e.ms2DateTimeLocal(+t))&&void 0!==n)return n}else if(!e.isDateTime(t,i))return s.error("unrecognized date",t),n;return t};var S=/%\d?f/g,z=/%h/g,k={1:"1",2:"1",3:"2",4:"2"};function N(t,e,n,i){t=t.replace(S,(function(t){var n=Math.min(+t.charAt(1)||6,6);return(e/1e3%1+2).toFixed(n).substr(2).replace(/0+$/,"")||"0"}));var r=new Date(Math.floor(e+.05));if(t=t.replace(z,(function(){return k[n("%q")(r)]})),w(i))try{t=m.getComponentMethod("calendars","worldCalFmt")(t,e,i)}catch(t){return"Invalid"}return n(t)(r)}var I=[59,59.9,59.99,59.999,59.9999];e.formatDate=function(t,e,n,i,r,o){if(r=w(r)&&r,!e)if("y"===n)e=o.year;else if("m"===n)e=o.month;else{if("d"!==n)return function(t,e){var n=l(t+.05,h),i=E(Math.floor(n/d),2)+":"+E(l(Math.floor(n/f),60),2);if("M"!==e){a(e)||(e=0);var r=(100+Math.min(l(t/_,60),I[e])).toFixed(e).substr(1);e>0&&(r=r.replace(/0+$/,"").replace(/[\.]$/,"")),i+=":"+r}return i}(t,n)+"\n"+N(o.dayMonthYear,t,i,r);e=o.dayMonth+"\n"+o.year}return N(e,t,i,r)};var O=3*h;e.incrementMonth=function(t,e,n){n=w(n)&&n;var i=l(t,h);if(t=Math.round(t-i),n)try{var r=Math.round(t/h)+p,o=m.getComponentMethod("calendars","getCal")(n),a=o.fromJD(r);return e%12?o.add(a,e,"m"):o.add(a,e/12,"y"),(a.toJD()-p)*h+i}catch(e){s.error("invalid ms "+t+" in calendar "+n)}var u=new Date(t+O);return u.setUTCMonth(u.getUTCMonth()+e)+i-O},e.findExactDates=function(t,e){for(var n,i,r=0,o=0,s=0,l=0,u=w(e)&&m.getComponentMethod("calendars","getCal")(e),c=0;c0&&t[e+1][0]<0)return e;return null}switch(e="RUS"===s||"FJI"===s?function(t){var e;if(null===u(t))e=t;else for(e=new Array(t.length),r=0;re?n[i++]=[t[r][0]+360,t[r][1]]:r===e?(n[i++]=t[r],n[i++]=[t[r][0],-90]):n[i++]=t[r];var o=d.tester(n);o.pts.pop(),l.push(o)}:function(t){l.push(d.tester(t))},o.type){case"MultiPolygon":for(n=0;nr&&(r=u,e=l)}else e=n;return a.default(e).geometry.coordinates}(c),i.fIn=t,i.fOut=c,s.push(c)}else u.log(["Location",i.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete r[n]}switch(n.type){case"FeatureCollection":var d=n.features;for(i=0;i100?(clearInterval(o),i("Unexpected error while fetching from "+t)):void r++}),50)}))}for(var a=0;a0&&(n.push(r),r=[])}return r.length>0&&n.push(r),n},e.makeLine=function(t){return 1===t.length?{type:"LineString",coordinates:t[0]}:{type:"MultiLineString",coordinates:t}},e.makePolygon=function(t){if(1===t.length)return{type:"Polygon",coordinates:t};for(var e=new Array(t.length),n=0;n1||p<0||p>1?null:{x:t+l*p,y:e+h*p}}function l(t,e,n,i,r){var o=i*t+r*e;if(o<0)return i*i+r*r;if(o>n){var a=i-t,s=r-e;return a*a+s*s}var l=i*e-r*t;return l*l/n}e.segmentsIntersect=s,e.segmentDistance=function(t,e,n,i,r,o,a,u){if(s(t,e,n,i,r,o,a,u))return 0;var c=n-t,h=i-e,d=a-r,f=u-o,_=c*c+h*h,p=d*d+f*f,m=Math.min(l(c,h,_,r-t,o-e),l(c,h,_,a-t,u-e),l(d,f,p,t-r,e-o),l(d,f,p,n-r,i-o));return Math.sqrt(m)},e.getTextLocation=function(t,e,n,s){if(t===r&&s===o||(i={},r=t,o=s),i[n])return i[n];var l=t.getPointAtLength(a(n-s/2,e)),u=t.getPointAtLength(a(n+s/2,e)),c=Math.atan((u.y-l.y)/(u.x-l.x)),h=t.getPointAtLength(a(n,e)),d={x:(4*h.x+l.x+u.x)/6,y:(4*h.y+l.y+u.y)/6,theta:c};return i[n]=d,d},e.clearLocationCache=function(){r=null},e.getVisibleSegment=function(t,e,n){var i,r,o=e.left,a=e.right,s=e.top,l=e.bottom,u=0,c=t.getTotalLength(),h=c;function d(e){var n=t.getPointAtLength(e);0===e?i=n:e===c&&(r=n);var u=n.xa?n.x-a:0,h=n.yl?n.y-l:0;return Math.sqrt(u*u+h*h)}for(var f=d(u);f;){if((u+=f+n)>h)return;f=d(u)}for(f=d(h);f;){if(u>(h-=f+n))return;f=d(h)}return{min:u,max:h,len:h-u,total:c,isClosed:0===u&&h===c&&Math.abs(i.x-r.x)<.1&&Math.abs(i.y-r.y)<.1}},e.findPointOnPath=function(t,e,n,i){for(var r,o,a,s=(i=i||{}).pathLength||t.getTotalLength(),l=i.tolerance||.001,u=i.iterationLimit||30,c=t.getPointAtLength(0)[n]>t.getPointAtLength(s)[n]?-1:1,h=0,d=0,f=s;h0?f=r:d=r,h++}return o}},33040:function(t,e,n){"use strict";var i=n(38248),r=n(49760),o=n(72160),a=n(8932),s=n(22548).defaultLine,l=n(38116).isArrayOrTypedArray,u=o(s);function c(t,e){var n=t;return n[3]*=e,n}function h(t){if(i(t))return u;var e=o(t);return e.length?e:u}function d(t){return i(t)?t:1}t.exports={formatColor:function(t,e,n){var i=t.color;i&&i._inputArray&&(i=i._inputArray);var r,s,f,_,p,m=l(i),v=l(e),g=a.extractOpts(t),y=[];if(r=void 0!==g.colorscale?a.makeColorScaleFuncFromTrace(t):h,s=m?function(t,e){return void 0===t[e]?u:o(r(t[e]))}:h,f=v?function(t,e){return void 0===t[e]?1:d(t[e])}:d,m||v)for(var b=0;b1?(n*t+n*e)/n:t+e,r=String(i).length;if(r>16){var o=String(e).length;if(r>=String(t).length+o){var a=parseFloat(i).toPrecision(12);-1===a.indexOf("e+")&&(i=+a)}}return i}},3400:function(t,e,n){"use strict";var i=n(33428),r=n(94336).E9,o=n(57624).E9,a=n(38248),s=n(39032),l=s.FP_SAFE,u=-l,c=s.BADNUM,h=t.exports={};h.adjustFormat=function(t){return!t||/^\d[.]\df/.test(t)||/[.]\d%/.test(t)?t:"0.f"===t?"~f":/^\d%/.test(t)?"~%":/^\ds/.test(t)?"~s":!/^[~,.0$]/.test(t)&&/[&fps]/.test(t)?"~"+t:t};var d={};h.warnBadFormat=function(t){var e=String(t);d[e]||(d[e]=1,h.warn('encountered bad format: "'+e+'"'))},h.noFormat=function(t){return String(t)},h.numberFormat=function(t){var e;try{e=o(h.adjustFormat(t))}catch(e){return h.warnBadFormat(t),h.noFormat}return e},h.nestedProperty=n(22296),h.keyedContainer=n(37804),h.relativeAttr=n(23193),h.isPlainObject=n(63620),h.toLogRange=n(36896),h.relinkPrivateKeys=n(51528);var f=n(38116);h.isArrayBuffer=f.isArrayBuffer,h.isTypedArray=f.isTypedArray,h.isArrayOrTypedArray=f.isArrayOrTypedArray,h.isArray1D=f.isArray1D,h.ensureArray=f.ensureArray,h.concat=f.concat,h.maxRowLength=f.maxRowLength,h.minRowLength=f.minRowLength;var _=n(20435);h.mod=_.mod,h.modHalf=_.modHalf;var p=n(63064);h.valObjectMeta=p.valObjectMeta,h.coerce=p.coerce,h.coerce2=p.coerce2,h.coerceFont=p.coerceFont,h.coercePattern=p.coercePattern,h.coerceHoverinfo=p.coerceHoverinfo,h.coerceSelectionMarkerOpacity=p.coerceSelectionMarkerOpacity,h.validate=p.validate;var m=n(67555);h.dateTime2ms=m.dateTime2ms,h.isDateTime=m.isDateTime,h.ms2DateTime=m.ms2DateTime,h.ms2DateTimeLocal=m.ms2DateTimeLocal,h.cleanDate=m.cleanDate,h.isJSDate=m.isJSDate,h.formatDate=m.formatDate,h.incrementMonth=m.incrementMonth,h.dateTick0=m.dateTick0,h.dfltRange=m.dfltRange,h.findExactDates=m.findExactDates,h.MIN_MS=m.MIN_MS,h.MAX_MS=m.MAX_MS;var v=n(14952);h.findBin=v.findBin,h.sorterAsc=v.sorterAsc,h.sorterDes=v.sorterDes,h.distinctVals=v.distinctVals,h.roundUp=v.roundUp,h.sort=v.sort,h.findIndexOfMin=v.findIndexOfMin,h.sortObjectKeys=n(95376);var g=n(63084);h.aggNums=g.aggNums,h.len=g.len,h.mean=g.mean,h.median=g.median,h.midRange=g.midRange,h.variance=g.variance,h.stdev=g.stdev,h.interp=g.interp;var y=n(52248);h.init2dArray=y.init2dArray,h.transposeRagged=y.transposeRagged,h.dot=y.dot,h.translationMatrix=y.translationMatrix,h.rotationMatrix=y.rotationMatrix,h.rotationXYMatrix=y.rotationXYMatrix,h.apply3DTransform=y.apply3DTransform,h.apply2DTransform=y.apply2DTransform,h.apply2DTransform2=y.apply2DTransform2,h.convertCssMatrix=y.convertCssMatrix,h.inverseTransformMatrix=y.inverseTransformMatrix;var b=n(11864);h.deg2rad=b.deg2rad,h.rad2deg=b.rad2deg,h.angleDelta=b.angleDelta,h.angleDist=b.angleDist,h.isFullCircle=b.isFullCircle,h.isAngleInsideSector=b.isAngleInsideSector,h.isPtInsideSector=b.isPtInsideSector,h.pathArc=b.pathArc,h.pathSector=b.pathSector,h.pathAnnulus=b.pathAnnulus;var w=n(98308);h.isLeftAnchor=w.isLeftAnchor,h.isCenterAnchor=w.isCenterAnchor,h.isRightAnchor=w.isRightAnchor,h.isTopAnchor=w.isTopAnchor,h.isMiddleAnchor=w.isMiddleAnchor,h.isBottomAnchor=w.isBottomAnchor;var E=n(92348);h.segmentsIntersect=E.segmentsIntersect,h.segmentDistance=E.segmentDistance,h.getTextLocation=E.getTextLocation,h.clearLocationCache=E.clearLocationCache,h.getVisibleSegment=E.getVisibleSegment,h.findPointOnPath=E.findPointOnPath;var x=n(92880);h.extendFlat=x.extendFlat,h.extendDeep=x.extendDeep,h.extendDeepAll=x.extendDeepAll,h.extendDeepNoArrays=x.extendDeepNoArrays;var C=n(24248);h.log=C.log,h.warn=C.warn,h.error=C.error;var T=n(53756);h.counterRegex=T.counter;var A=n(91200);h.throttle=A.throttle,h.throttleDone=A.done,h.clearThrottle=A.clear;var S=n(52200);function z(t){var e={};for(var n in t)for(var i=t[n],r=0;rl||t=e)&&a(t)&&t>=0&&t%1==0},h.noop=n(16628),h.identity=n(35536),h.repeat=function(t,e){for(var n=new Array(e),i=0;in?Math.max(n,Math.min(e,t)):Math.max(e,Math.min(n,t))},h.bBoxIntersect=function(t,e,n){return n=n||0,t.left<=e.right+n&&e.left<=t.right+n&&t.top<=e.bottom+n&&e.top<=t.bottom+n},h.simpleMap=function(t,e,n,i,r){for(var o=t.length,a=new Array(o),s=0;s=Math.pow(2,n)?r>10?(h.warn("randstr failed uniqueness"),l):t(e,n,i,(r||0)+1):l},h.OptionControl=function(t,e){t||(t={}),e||(e="opt");var n={optionList:[],_newoption:function(i){i[e]=t,n[i.name]=i,n.optionList.push(i)}};return n["_"+e]=t,n},h.smooth=function(t,e){if((e=Math.round(e)||0)<2)return t;var n,i,r,o,a=t.length,s=2*a,l=2*e-1,u=new Array(l),c=new Array(a);for(n=0;n=s&&(r-=s*Math.floor(r/s)),r<0?r=-1-r:r>=a&&(r=s-1-r),o+=t[r]*u[i];c[n]=o}return c},h.syncOrAsync=function(t,e,n){var i;function r(){return h.syncOrAsync(t,e,n)}for(;t.length;)if((i=(0,t.splice(0,1)[0])(e))&&i.then)return i.then(r);return n&&n(e)},h.stripTrailingSlash=function(t){return"/"===t.substr(-1)?t.substr(0,t.length-1):t},h.noneOrAll=function(t,e,n){if(t){var i,r=!1,o=!0;for(i=0;i0?e:0}))},h.fillArray=function(t,e,n,i){if(i=i||h.identity,h.isArrayOrTypedArray(t))for(var r=0;r1?r+a[1]:"";if(o&&(a.length>1||s.length>4||n))for(;i.test(s);)s=s.replace(i,"$1"+o+"$2");return s+l},h.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var $=/^\w*$/;h.templateString=function(t,e){var n={};return t.replace(h.TEMPLATE_STRING_REGEX,(function(t,i){var r;return $.test(i)?r=e[i]:(n[i]=n[i]||h.nestedProperty(e,i).get,r=n[i]()),h.isValidTextValue(r)?r:""}))};var R={max:10,count:0,name:"hovertemplate"};h.hovertemplateString=function(){return D.apply(R,arguments)};var P={max:10,count:0,name:"texttemplate"};h.texttemplateString=function(){return D.apply(P,arguments)};var U=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/,j={max:10,count:0,name:"texttemplate",parseMultDiv:!0};h.texttemplateStringForShapes=function(){return D.apply(j,arguments)};var q=/^[:|\|]/;function D(t,e,n){var i=this,o=arguments;e||(e={});var a={};return t.replace(h.TEMPLATE_STRING_REGEX,(function(t,s,l){var u="_xother"===s||"_yother"===s,c="_xother_"===s||"_yother_"===s,d="xother_"===s||"yother_"===s,f="xother"===s||"yother"===s||u||d||c,_=s;(u||c)&&(_=_.substring(1)),(d||c)&&(_=_.substring(0,_.length-1));var p,m,v,g=null,y=null;if(i.parseMultDiv){var b=function(t){var e=t.match(U);return e?{key:e[1],op:e[2],number:Number(e[3])}:{key:t,op:null,number:null}}(_);_=b.key,g=b.op,y=b.number}if(f){if(void 0===(p=e[_]))return""}else for(v=3;v=48&&a<=57,u=s>=48&&s<=57;if(l&&(i=10*i+a-48),u&&(r=10*r+s-48),!l||!u){if(i!==r)return i-r;if(a!==s)return a-s}}return r-i};var B=2e9;h.seedPseudoRandom=function(){B=2e9},h.pseudoRandom=function(){var t=B;return B=(69069*B+1)%4294967296,Math.abs(B-t)<429496729?h.pseudoRandom():B/4294967296},h.fillText=function(t,e,n){var i=Array.isArray(n)?function(t){n.push(t)}:function(t){n.text=t},r=h.extractOption(t,e,"htx","hovertext");if(h.isValidTextValue(r))return i(r);var o=h.extractOption(t,e,"tx","text");return h.isValidTextValue(o)?i(o):void 0},h.isValidTextValue=function(t){return t||0===t},h.formatPercent=function(t,e){e=e||0;for(var n=(Math.round(100*t*Math.pow(10,e))*Math.pow(.1,e)).toFixed(e)+"%",i=0;i1&&(u=1):u=0,h.strTranslate(r-u*(n+a),o-u*(i+s))+h.strScale(u)+(l?"rotate("+l+(e?"":" "+n+" "+i)+")":"")},h.setTransormAndDisplay=function(t,e){t.attr("transform",h.getTextTransform(e)),t.style("display",e.scale?null:"none")},h.ensureUniformFontSize=function(t,e){var n=h.extendFlat({},e);return n.size=Math.max(e.size,t._fullLayout.uniformtext.minsize||0),n},h.join2=function(t,e,n){var i=t.length;return i>1?t.slice(0,-1).join(e)+n+t[i-1]:t.join(e)},h.bigFont=function(t){return Math.round(1.2*t)};var F=h.getFirefoxVersion(),W=null!==F&&F<86;h.getPositionFromD3Event=function(){return W?[i.event.layerX,i.event.layerY]:[i.event.offsetX,i.event.offsetY]}},63620:function(t){"use strict";t.exports=function(t){return window&&window.process&&window.process.versions?"[object Object]"===Object.prototype.toString.call(t):"[object Object]"===Object.prototype.toString.call(t)&&Object.getPrototypeOf(t).hasOwnProperty("hasOwnProperty")}},37804:function(t,e,n){"use strict";var i=n(22296),r=/^\w*$/;t.exports=function(t,e,n,o){var a,s,l;n=n||"name",o=o||"value";var u={};e&&e.length?(l=i(t,e),s=l.get()):s=t,e=e||"";var c={};if(s)for(a=0;a2)return u[e]=2|u[e],d.set(t,null);if(h){for(a=e;a1){var e=["LOG:"];for(t=0;t1){var n=[];for(t=0;t"),"long")}},o.warn=function(){var t;if(i.logging>0){var e=["WARN:"];for(t=0;t0){var n=[];for(t=0;t"),"stick")}},o.error=function(){var t;if(i.logging>0){var e=["ERROR:"];for(t=0;t0){var n=[];for(t=0;t"),"stick")}}},30988:function(t,e,n){"use strict";var i=n(33428);t.exports=function(t,e,n){var r=t.selectAll("g."+n.replace(/\s/g,".")).data(e,(function(t){return t[0].trace.uid}));r.exit().remove(),r.enter().append("g").attr("class",n),r.order();var o=t.classed("rangeplot")?"nodeRangePlot3":"node3";return r.each((function(t){t[0][o]=i.select(this)})),r}},52248:function(t,e,n){"use strict";var i=n(36524);e.init2dArray=function(t,e){for(var n=new Array(t),i=0;ie/2?t-Math.round(t/e)*e:t}}},22296:function(t,e,n){"use strict";var i=n(38248),r=n(38116).isArrayOrTypedArray;function o(t,e){return function(){var n,i,a,s,l,u=t;for(s=0;s/g),l=0;lo||u===r||us||e&&l(t))}:function(t,e){var l=t[0],u=t[1];if(l===r||lo||u===r||us)return!1;var c,h,d,f,_,p=n.length,m=n[0][0],v=n[0][1],g=0;for(c=1;cMath.max(h,m)||u>Math.max(d,v)))if(uc||Math.abs(i(a,d))>r)return!0;return!1},o.filter=function(t,e){var n=[t[0]],i=0,r=0;function a(a){t.push(a);var s=n.length,l=i;n.splice(r+1);for(var u=l+1;u1&&a(t.pop()),{addPt:a,raw:t,filtered:n}}},5048:function(t,e,n){"use strict";var i=n(16576),r=n(28624);t.exports=function(t,e,o){var a=t._fullLayout,s=!0;return a._glcanvas.each((function(i){if(i.regl)i.regl.preloadCachedCode(o);else if(!i.pick||a._has("parcoords")){try{i.regl=r({canvas:this,attributes:{antialias:!i.pick,preserveDrawingBuffer:!0},pixelRatio:t._context.plotGlPixelRatio||n.g.devicePixelRatio,extensions:e||[],cachedCode:o||{}})}catch(t){s=!1}i.regl||(s=!1),s&&this.addEventListener("webglcontextlost",(function(e){t&&t.emit&&t.emit("plotly_webglcontextlost",{event:e,layer:i.key})}),!1)}})),s||i({container:a._glcontainer.node()}),s}},34296:function(t,e,n){"use strict";var i=n(38248),r=n(25928);t.exports=function(t){var e;if("string"!=typeof(e=t&&t.hasOwnProperty("userAgent")?t.userAgent:function(){var t;return"undefined"!=typeof navigator&&(t=navigator.userAgent),t&&t.headers&&"string"==typeof t.headers["user-agent"]&&(t=t.headers["user-agent"]),t}()))return!0;var n=r({ua:{headers:{"user-agent":e}},tablet:!0,featureDetect:!1});if(!n)for(var o=e.split(" "),a=1;a-1;s--){var l=o[s];if("Version/"===l.substr(0,8)){var u=l.substr(8).split(".")[0];if(i(u)&&(u=+u),u>=13)return!0}}return n}},52416:function(t){"use strict";t.exports=function(t,e){if(e instanceof RegExp){for(var n=e.toString(),i=0;ir.queueLength&&(t.undoQueue.queue.shift(),t.undoQueue.index--))},startSequence:function(t){t.undoQueue=t.undoQueue||{index:0,queue:[],sequence:!1},t.undoQueue.sequence=!0,t.undoQueue.beginSequence=!0},stopSequence:function(t){t.undoQueue=t.undoQueue||{index:0,queue:[],sequence:!1},t.undoQueue.sequence=!1,t.undoQueue.beginSequence=!1},undo:function(t){var e,n;if(!(void 0===t.undoQueue||isNaN(t.undoQueue.index)||t.undoQueue.index<=0)){for(t.undoQueue.index--,e=t.undoQueue.queue[t.undoQueue.index],t.undoQueue.inSequence=!0,n=0;n=t.undoQueue.queue.length)){for(e=t.undoQueue.queue[t.undoQueue.index],t.undoQueue.inSequence=!0,n=0;ne}function h(t,e){return t>=e}e.findBin=function(t,e,n){if(i(e.start))return n?Math.ceil((t-e.start)/e.size-s)-1:Math.floor((t-e.start)/e.size+s);var o,a,d=0,f=e.length,_=0,p=f>1?(e[f-1]-e[0])/(f-1):1;for(a=p>=0?n?l:u:n?h:c,t+=p*s*(n?-1:1)*(p>=0?1:-1);d90&&r.log("Long binary search..."),d-1},e.sorterAsc=function(t,e){return t-e},e.sorterDes=function(t,e){return e-t},e.distinctVals=function(t){var n,i=t.slice();for(i.sort(e.sorterAsc),n=i.length-1;n>-1&&i[n]===a;n--);for(var r,o=i[n]-i[0]||1,s=o/(n||1)/1e4,l=[],u=0;u<=n;u++){var c=i[u],h=c-r;void 0===r?(l.push(c),r=c):h>s&&(o=Math.min(o,h),l.push(c),r=c)}return{vals:l,minDiff:o}},e.roundUp=function(t,e,n){for(var i,r=0,o=e.length-1,a=0,s=n?0:1,l=n?1:0,u=n?Math.ceil:Math.floor;r0&&(i=1),n&&i)return t.sort(e)}return i?t:t.reverse()},e.findIndexOfMin=function(t,e){e=e||o;for(var n,i=1/0,r=0;ro.length)&&(a=o.length),i(n)||(n=!1),r(o[0])){for(l=new Array(a),s=0;st.length-1)return t[t.length-1];var n=e%1;return n*t[Math.ceil(e)]+(1-n)*t[Math.floor(e)]}},43080:function(t,e,n){"use strict";var i=n(72160);t.exports=function(t){return t?i(t):[0,0,0,1]}},9188:function(t,e,n){"use strict";var i=n(2264),r=n(43616),o=n(3400),a=null;t.exports=function(){if(null!==a)return a;a=!1;var t=o.isIE()||o.isSafari()||o.isIOS();if(window.navigator.userAgent&&!t){var e=Array.from(i.CSS_DECLARATIONS).reverse(),n=window.CSS&&window.CSS.supports||window.supportsCSS;if("function"==typeof n)a=e.some((function(t){return n.apply(null,t)}));else{var s=r.tester.append("image").attr("style",i.STYLE),l=window.getComputedStyle(s.node()).imageRendering;a=e.some((function(t){var e=t[1];return l===e||l===e.toLowerCase()})),s.remove()}}return a}},72736:function(t,e,n){"use strict";var i=n(33428),r=n(3400),o=r.strTranslate,a=n(9616),s=n(84284).LINE_SPACING,l=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;e.convertToTspans=function(t,n,m){var S=t.text(),z=!t.attr("data-notex")&&n&&n._context.typesetMath&&"undefined"!=typeof MathJax&&S.match(l),I=i.select(t.node().parentNode);if(!I.empty()){var O=t.attr("class")?t.attr("class").split(" ")[0]:"text";return O+="-math",I.selectAll("svg."+O).remove(),I.selectAll("g."+O+"-group").remove(),t.style("display",null).attr({"data-unformatted":S,"data-math":"N"}),z?(n&&n._promises||[]).push(new Promise((function(e){t.style("display","none");var n=parseInt(t.node().style.fontSize,10),a={fontSize:n};!function(t,e,n){var o,a,s,l,d=parseInt((MathJax.version||"").split(".")[0]);if(2===d||3===d){var f=function(){var n="math-output-"+r.randstr({},64),o=(l=i.select("body").append("div").attr({id:n}).style({visibility:"hidden",position:"absolute","font-size":e.fontSize+"px"}).text(t.replace(u,"\\lt ").replace(c,"\\gt "))).node();return 2===d?MathJax.Hub.Typeset(o):MathJax.typeset([o])},_=function(){var e=l.select(2===d?".MathJax_SVG":".MathJax"),o=!e.empty()&&l.select("svg").node();if(o){var a,s=o.getBoundingClientRect();a=2===d?i.select("body").select("#MathJax_SVG_glyphs"):e.select("defs"),n(e,a,s)}else r.log("There was an error in the tex syntax.",t),n();l.remove()};2===d?MathJax.Hub.Queue((function(){return a=r.extendDeepAll({},MathJax.Hub.config),s=MathJax.Hub.processSectionDelay,void 0!==MathJax.Hub.processSectionDelay&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:h},displayAlign:"left"})}),(function(){if("SVG"!==(o=MathJax.Hub.config.menuSettings.renderer))return MathJax.Hub.setRenderer("SVG")}),f,_,(function(){if("SVG"!==o)return MathJax.Hub.setRenderer(o)}),(function(){return void 0!==s&&(MathJax.Hub.processSectionDelay=s),MathJax.Hub.Config(a)})):3===d&&(a=r.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=h,"svg"!==(o=MathJax.config.startup.output)&&(MathJax.config.startup.output="svg"),MathJax.startup.defaultReady(),MathJax.startup.promise.then((function(){f(),_(),"svg"!==o&&(MathJax.config.startup.output=o),MathJax.config=a})))}else r.warn("No MathJax version:",MathJax.version)}(z[2],a,(function(i,r,a){I.selectAll("svg."+O).remove(),I.selectAll("g."+O+"-group").remove();var s=i&&i.select("svg");if(!s||!s.node())return L(),void e();var l=I.append("g").classed(O+"-group",!0).attr({"pointer-events":"none","data-unformatted":S,"data-math":"Y"});l.node().appendChild(s.node()),r&&r.node()&&s.node().insertBefore(r.node().cloneNode(!0),s.node().firstChild);var u=a.width,c=a.height;s.attr({class:O,height:c,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var h=t.node().style.fill||"black",d=s.select("g");d.attr({fill:h,stroke:h});var f=d.node().getBoundingClientRect(),_=f.width,p=f.height;(_>u||p>c)&&(s.style("overflow","hidden"),_=(f=s.node().getBoundingClientRect()).width,p=f.height);var v=+t.attr("x"),g=+t.attr("y"),y=-(n||t.node().getBoundingClientRect().height)/4;if("y"===O[0])l.attr({transform:"rotate("+[-90,v,g]+")"+o(-_/2,y-p/2)});else if("l"===O[0])g=y-p/2;else if("a"===O[0]&&0!==O.indexOf("atitle"))v=0,g=y;else{var b=t.attr("text-anchor");v-=_*("middle"===b?.5:"end"===b?1:0),g=g+y-p/2}s.attr({x:v,y:g}),m&&m.call(t,l),e(l)}))}))):L(),t}function L(){I.empty()||(O=t.attr("class")+"-math",I.select("svg."+O).remove()),t.text("").style("white-space","pre");var n=function(t,e){e=e.replace(v," ");var n,o=!1,l=[],u=-1;function c(){u++;var e=document.createElementNS(a.svg,"tspan");i.select(e).attr({class:"line",dy:u*s+"em"}),t.appendChild(e),n=e;var r=l;if(l=[{node:e}],r.length>1)for(var o=1;o doesnt match end tag <"+t+">. Pretending it did match.",e),n=l[l.length-1].node}else r.log("Ignoring unexpected end tag .",e)}b.test(e)?c():(n=t,l=[{node:t}]);for(var z=e.split(g),I=0;I|>|>)/g,h=[["$","$"],["\\(","\\)"]],d={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},f={sub:"0.3em",sup:"-0.6em"},_={sub:"-0.21em",sup:"0.42em"},p="​",m=["http:","https:","mailto:","",void 0,":"],v=e.NEWLINES=/(\r\n?|\n)/g,g=/(<[^<>]*>)/,y=/<(\/?)([^ >]*)(\s+(.*))?>/i,b=//i;e.BR_TAG_ALL=//gi;var w=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,E=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,x=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,C=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function T(t,e){if(!t)return null;var n=t.match(e),i=n&&(n[3]||n[4]);return i&&k(i)}var A=/(^|;)\s*color:/;e.plainText=function(t,e){for(var n=void 0!==(e=e||{}).len&&-1!==e.len?e.len:1/0,i=void 0!==e.allowedTags?e.allowedTags:["br"],r=t.split(g),o=[],a="",s=0,l=0;l3?o.push(u.substr(0,f-3)+"..."):o.push(u.substr(0,f));break}a=""}}return o.join("")};var S={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},z=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function k(t){return t.replace(z,(function(t,e){return("#"===e.charAt(0)?function(t){if(!(t>1114111)){var e=String.fromCodePoint;if(e)return e(t);var n=String.fromCharCode;return t<=65535?n(t):n(55232+(t>>10),t%1024+56320)}}("x"===e.charAt(1)?parseInt(e.substr(2),16):parseInt(e.substr(1),10)):S[e])||t}))}function N(t){var e=encodeURI(decodeURI(t)),n=document.createElement("a"),i=document.createElement("a");n.href=t,i.href=e;var r=n.protocol,o=i.protocol;return-1!==m.indexOf(r)&&-1!==m.indexOf(o)?e:""}function I(t,e,n){var i,o,a,s=n.horizontalAlign,l=n.verticalAlign||"top",u=t.node().getBoundingClientRect(),c=e.node().getBoundingClientRect();return o="bottom"===l?function(){return u.bottom-i.height}:"middle"===l?function(){return u.top+(u.height-i.height)/2}:function(){return u.top},a="right"===s?function(){return u.right-i.width}:"center"===s?function(){return u.left+(u.width-i.width)/2}:function(){return u.left},function(){i=this.node().getBoundingClientRect();var t=a()-c.left,e=o()-c.top,s=n.gd||{};if(n.gd){s._fullLayout._calcInverseTransform(s);var l=r.apply3DTransform(s._fullLayout._invTransform)(t,e);t=l[0],e=l[1]}return this.style({top:e+"px",left:t+"px","z-index":1e3}),this}}e.convertEntities=k,e.sanitizeHTML=function(t){t=t.replace(v," ");for(var e=document.createElement("p"),n=e,r=[],o=t.split(g),a=0;ao.ts+e?l():o.timer=setTimeout((function(){l(),o.timer=null}),e)},e.done=function(t){var e=n[t];return e&&e.timer?new Promise((function(t){var n=e.onDone;e.onDone=function(){n&&n(),t(),e.onDone=null}})):Promise.resolve()},e.clear=function(t){if(t)i(n[t]),delete n[t];else for(var r in n)e.clear(r)}},36896:function(t,e,n){"use strict";var i=n(38248);t.exports=function(t,e){if(t>0)return Math.log(t)/Math.LN10;var n=Math.log(Math.min(e[0],e[1]))/Math.LN10;return i(n)||(n=Math.log(Math.max(e[0],e[1]))/Math.LN10-6),n}},59972:function(t,e,n){"use strict";var i=t.exports={},r=n(79552).locationmodeToLayer,o=n(55712).NO;i.getTopojsonName=function(t){return[t.scope.replace(/ /g,"-"),"_",t.resolution.toString(),"m"].join("")},i.getTopojsonPath=function(t,e){return t+e+".json"},i.getTopojsonFeatures=function(t,e){var n=r[t.locationmode],i=e.objects[n];return o(e,i).features}},11680:function(t){"use strict";t.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},6580:function(t){"use strict";t.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{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"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},69820:function(t,e,n){"use strict";var i=n(24040);t.exports=function(t){for(var e,n,r=i.layoutArrayContainers,o=i.layoutArrayRegexes,a=t.split("[")[0],s=0;s0&&a.log("Clearing previous rejected promises from queue."),t._promises=[]},e.cleanLayout=function(t){var n,i;t||(t={}),t.xaxis1&&(t.xaxis||(t.xaxis=t.xaxis1),delete t.xaxis1),t.yaxis1&&(t.yaxis||(t.yaxis=t.yaxis1),delete t.yaxis1),t.scene1&&(t.scene||(t.scene=t.scene1),delete t.scene1);var o=(s.subplotsRegistry.cartesian||{}).attrRegex,l=(s.subplotsRegistry.polar||{}).attrRegex,h=(s.subplotsRegistry.ternary||{}).attrRegex,d=(s.subplotsRegistry.gl3d||{}).attrRegex,p=Object.keys(t);for(n=0;n3?(L.x=1.02,L.xanchor="left"):L.x<-2&&(L.x=-.02,L.xanchor="right"),L.y>3?(L.y=1.02,L.yanchor="bottom"):L.y<-2&&(L.y=-.02,L.yanchor="top")),_(t),"rotate"===t.dragmode&&(t.dragmode="orbit"),u.clean(t),t.template&&t.template.layout&&e.cleanLayout(t.template.layout),t},e.cleanData=function(t){for(var n=0;n0)return t.substr(0,e)}e.hasParent=function(t,e){for(var n=b(e);n;){if(n in t)return!0;n=b(n)}return!1};var w=["x","y","z"];e.clearAxisTypes=function(t,e,n){for(var i=0;i1&&o.warn("Full array edits are incompatible with other edits",h);var g=n[""][""];if(u(g))e.set(null);else{if(!Array.isArray(g))return o.warn("Unrecognized full array edit value",h,g),!0;e.set(g)}return!p&&(d(m,v),f(t),!0)}var y,b,w,E,x,C,T,A,S=Object.keys(n).map(Number).sort(a),z=e.get(),k=z||[],N=c(v,h).get(),I=[],O=-1,L=k.length;for(y=0;yk.length-(T?0:1))o.warn("index out of range",h,w);else if(void 0!==C)x.length>1&&o.warn("Insertion & removal are incompatible with edits to the same index.",h,w),u(C)?I.push(w):T?("add"===C&&(C={}),k.splice(w,0,C),N&&N.splice(w,0,{})):o.warn("Unrecognized full object edit value",h,w,C),-1===O&&(O=w);else for(b=0;b=0;y--)k.splice(I[y],1),N&&N.splice(I[y],1);if(k.length?z||e.set(k):e.set(null),p)return!1;if(d(m,v),_!==r){var M;if(-1===O)M=S;else{for(L=Math.max(k.length,L),M=[],y=0;y=O);y++)M.push(w);for(y=O;y=t.data.length||r<-t.data.length)throw new Error(n+" must be valid indices for gd.data.");if(e.indexOf(r,i+1)>-1||r>=0&&e.indexOf(-t.data.length+r)>-1||r<0&&e.indexOf(t.data.length+r)>-1)throw new Error("each index in "+n+" must be unique.")}}function M(t,e,n){if(!Array.isArray(t.data))throw new Error("gd.data must be an array.");if(void 0===e)throw new Error("currentIndices is a required argument.");if(Array.isArray(e)||(e=[e]),L(t,e,"currentIndices"),void 0===n||Array.isArray(n)||(n=[n]),void 0!==n&&L(t,n,"newIndices"),void 0!==n&&e.length!==n.length)throw new Error("current and new indices must be of equal length.")}function $(t,e,n,i,o){!function(t,e,n,i){var r=a.isPlainObject(i);if(!Array.isArray(t.data))throw new Error("gd.data must be an array");if(!a.isPlainObject(e))throw new Error("update must be a key:value object");if(void 0===n)throw new Error("indices must be an integer or array of integers");for(var o in L(t,n,"indices"),e){if(!Array.isArray(e[o])||e[o].length!==n.length)throw new Error("attribute "+o+" must be an array of length equal to indices array length");if(r&&(!(o in i)||!Array.isArray(i[o])||i[o].length!==e[o].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}(t,e,n,i);for(var l=function(t,e,n,i){var o,l,u,c,h,d=a.isPlainObject(i),f=[];for(var _ in Array.isArray(n)||(n=[n]),n=O(n,t.data.length-1),e)for(var p=0;p-1&&-1===n.indexOf("grouptitlefont")?l(n,n.replace("titlefont","title.font")):n.indexOf("titleposition")>-1?l(n,n.replace("titleposition","title.position")):n.indexOf("titleside")>-1?l(n,n.replace("titleside","title.side")):n.indexOf("titleoffset")>-1&&l(n,n.replace("titleoffset","title.offset")):l(n,n.replace("title","title.text"));function l(e,n){t[n]=t[e],delete t[e]}}function F(t,e,n){t=a.getGraphDiv(t),x.clearPromiseQueue(t);var i={};if("string"==typeof e)i[e]=n;else{if(!a.isPlainObject(e))return a.warn("Relayout fail.",e,n),Promise.reject();i=a.extendFlat({},e)}Object.keys(i).length&&(t.changed=!0);var r=J(t,i),o=r.flags;o.calc&&(t.calcdata=void 0);var s=[d.previousPromises];o.layoutReplot?s.push(C.layoutReplot):Object.keys(i).length&&(W(t,o,r)||d.supplyDefaults(t),o.legend&&s.push(C.doLegend),o.layoutstyle&&s.push(C.layoutStyles),o.axrange&&G(s,r.rangesAltered),o.ticks&&s.push(C.doTicksRelayout),o.modebar&&s.push(C.doModeBar),o.camera&&s.push(C.doCamera),o.colorbars&&s.push(C.doColorBars),s.push(z)),s.push(d.rehover,d.redrag,d.reselect),u.add(t,F,[t,r.undoit],F,[t,r.redoit]);var l=a.syncOrAsync(s,t);return l&&l.then||(l=Promise.resolve(t)),l.then((function(){return t.emit("plotly_relayout",r.eventData),t}))}function W(t,e,n){var i,r,o=t._fullLayout;if(!e.axrange)return!1;for(var s in e)if("axrange"!==s&&e[s])return!1;var l=function(t,e){return a.coerce(i,r,p,t,e)},u={};for(var c in n.rangesAltered){var h=f.id2name(c);if(i=t.layout[h],r=o[h],_(i,r,l,u),r._matchGroup)for(var d in r._matchGroup)if(d!==c){var m=o[f.id2name(d)];m.autorange=r.autorange,m.range=r.range.slice(),m._input.range=r.range.slice()}}return!0}function G(t,e){var n=e?function(t){var n=[];for(var i in e){var r=f.getFromId(t,i);if(n.push(i),-1!==(r.ticklabelposition||"").indexOf("inside")&&r._anchorAxis&&n.push(r._anchorAxis._id),r._matchGroup)for(var o in r._matchGroup)e[o]||n.push(o)}return f.draw(t,n,{skipTitle:!0})}:function(t){return f.draw(t,"redraw")};t.push(b,C.doAutoRangeAndConstraints,n,C.drawData,C.finalDraw)}var H=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,V=/^[xyz]axis[0-9]*\.autorange$/,X=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function J(t,e){var n,i,r,o=t.layout,l=t._fullLayout,u=l._guiEditing,d=j(l._preGUI,u),_=Object.keys(e),p=f.list(t),m=a.extendDeepAll({},e),v={};for(B(e),_=Object.keys(e),i=0;i<_.length;i++)if(0===_[i].indexOf("allaxes")){for(r=0;r0&&"string"!=typeof L.parts[$];)$--;var R=L.parts[$],P=L.parts[$-1]+"."+R,q=L.parts.slice(0,$).join("."),D=s(t.layout,q).get(),F=s(l,q).get(),W=L.get();if(void 0!==M){C[O]=M,S[O]="reverse"===R?M:U(W);var G=h.getLayoutValObject(l,L.parts);if(G&&G.impliedEdits&&null!==M)for(var J in G.impliedEdits)z(a.relativeAttr(O,J),G.impliedEdits[J]);if(-1!==["width","height"].indexOf(O))if(M){z("autosize",null);var Y="height"===O?"width":"height";z(Y,l[Y])}else l[O]=t._initialAutoSize[O];else if("autosize"===O)z("width",M?null:l.width),z("height",M?null:l.height);else if(P.match(H))I(P),s(l,q+"._inputRange").set(null);else if(P.match(V)){I(P),s(l,q+"._inputRange").set(null);var K=s(l,q).get();K._inputDomain&&(K._input.domain=K._inputDomain.slice())}else P.match(X)&&s(l,q+"._inputDomain").set(null);if("type"===R){k=D;var Q="linear"===F.type&&"log"===M,tt="log"===F.type&&"linear"===M;if(Q||tt){if(k&&k.range)if(F.autorange)Q&&(k.range=k.range[1]>k.range[0]?[1,2]:[2,1]);else{var et=k.range[0],nt=k.range[1];Q?(et<=0&&nt<=0&&z(q+".autorange",!0),et<=0?et=nt/1e6:nt<=0&&(nt=et/1e6),z(q+".range[0]",Math.log(et)/Math.LN10),z(q+".range[1]",Math.log(nt)/Math.LN10)):(z(q+".range[0]",Math.pow(10,et)),z(q+".range[1]",Math.pow(10,nt)))}else z(q+".autorange",!0);Array.isArray(l._subplots.polar)&&l._subplots.polar.length&&l[L.parts[0]]&&"radialaxis"===L.parts[1]&&delete l[L.parts[0]]._subplot.viewInitial["radialaxis.range"],c.getComponentMethod("annotations","convertCoords")(t,F,M,z),c.getComponentMethod("images","convertCoords")(t,F,M,z)}else z(q+".autorange",!0),z(q+".range",null);s(l,q+"._inputRange").set(null)}else if(R.match(A)){var it=s(l,O).get(),rt=(M||{}).type;rt&&"-"!==rt||(rt="linear"),c.getComponentMethod("annotations","convertCoords")(t,it,rt,z),c.getComponentMethod("images","convertCoords")(t,it,rt,z)}var ot=E.containerArrayMatch(O);if(ot){n=ot.array,i=ot.index;var at=ot.property,st=G||{editType:"calc"};""!==i&&""===at&&(E.isAddVal(M)?S[O]=null:E.isRemoveVal(M)?S[O]=(s(o,n).get()||[])[i]:a.warn("unrecognized full object value",e)),T.update(w,st),v[n]||(v[n]={});var lt=v[n][i];lt||(lt=v[n][i]={}),lt[at]=M,delete e[O]}else"reverse"===R?(D.range?D.range.reverse():(z(q+".autorange",!0),D.range=[1,0]),F.autorange?w.calc=!0:w.plot=!0):("dragmode"===O&&(!1===M&&!1!==W||!1!==M&&!1===W)||l._has("scatter-like")&&l._has("regl")&&"dragmode"===O&&("lasso"===M||"select"===M)&&"lasso"!==W&&"select"!==W||l._has("gl2d")?w.plot=!0:G?T.update(w,G):w.calc=!0,L.set(M))}}for(n in v)E.applyContainerArrayChanges(t,d(o,n),v[n],w,d)||(w.plot=!0);for(var ut in N){var ct=(k=f.getFromId(t,ut))&&k._constraintGroup;if(ct)for(var ht in w.calc=!0,ct)N[ht]||(f.getFromId(t,ht)._constraintShrinkable=!0)}(Z(t)||e.height||e.width)&&(w.plot=!0);var dt=l.shapes;for(i=0;i1;)if(i.pop(),void 0!==(n=s(e,i.join(".")+".uirevision").get()))return n;return e.uirevision}function it(t,e){for(var n=0;n=r.length?r[0]:r[t]:r}function l(t){return Array.isArray(o)?t>=o.length?o[0]:o[t]:o}function u(t,e){var n=0;return function(){if(t&&++n===e)return t()}}return void 0===i._frameWaitingCnt&&(i._frameWaitingCnt=0),new Promise((function(o,c){function h(){t.emit("plotly_animating"),i._lastFrameAt=-1/0,i._timeToNext=0,i._runningTransitions=0,i._currentFrame=null;var e=function(){i._animationRaf=window.requestAnimationFrame(e),Date.now()-i._lastFrameAt>i._timeToNext&&function(){i._currentFrame&&i._currentFrame.onComplete&&i._currentFrame.onComplete();var e=i._currentFrame=i._frameQueue.shift();if(e){var n=e.name?e.name.toString():null;t._fullLayout._currentFrame=n,i._lastFrameAt=Date.now(),i._timeToNext=e.frameOpts.duration,d.transition(t,e.frame.data,e.frame.layout,x.coerceTraceIndices(t,e.frame.traces),e.frameOpts,e.transitionOpts).then((function(){e.onComplete&&e.onComplete()})),t.emit("plotly_animatingframe",{name:n,frame:e.frame,animation:{frame:e.frameOpts,transition:e.transitionOpts}})}else t.emit("plotly_animated"),window.cancelAnimationFrame(i._animationRaf),i._animationRaf=null}()};e()}var f,_,p=0;function m(t){return Array.isArray(r)?p>=r.length?t.transitionOpts=r[p]:t.transitionOpts=r[0]:t.transitionOpts=r,p++,t}var v=[],g=null==e,y=Array.isArray(e);if(g||y||!a.isPlainObject(e)){if(g||-1!==["string","number"].indexOf(typeof e))for(f=0;f0&&EE)&&C.push(_);v=C}}v.length>0?function(e){if(0!==e.length){for(var r=0;r=0;i--)if(a.isPlainObject(e[i])){var p=e[i].name,m=(c[p]||_[p]||{}).name,v=e[i].name,g=c[m]||_[m];m&&v&&"number"==typeof v&&g&&S<5&&(S++,a.warn('addFrames: overwriting frame "'+(c[m]||_[m]).name+'" with a frame whose name of type "number" also equates to "'+m+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),5===S&&a.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),_[p]={name:p},f.push({frame:d.supplyFrameDefaults(e[i]),index:n&&void 0!==n[i]&&null!==n[i]?n[i]:h+i})}f.sort((function(t,e){return t.index>e.index?-1:t.index=0;i--){if("number"==typeof(r=f[i].frame).name&&a.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!r.name)for(;c[r.name="frame "+t._transitionData._counter++];);if(c[r.name]){for(o=0;o=0;n--)i=e[n],o.push({type:"delete",index:i}),s.unshift({type:"insert",index:i,value:r[i]});var l=d.modifyFrames,c=d.modifyFrames,h=[t,s],f=[t,o];return u&&u.add(t,l,h,c,f),d.modifyFrames(t,o)},e.addTraces=function t(n,i,r){n=a.getGraphDiv(n);var o,s,l=[],c=e.deleteTraces,h=t,d=[n,l],f=[n,i];for(function(t,e,n){var i,r;if(!Array.isArray(t.data))throw new Error("gd.data must be an array.");if(void 0===e)throw new Error("traces must be defined.");for(Array.isArray(e)||(e=[e]),i=0;i=0&&n=0&&n=o.length)return!1;if(2===t.dimensions){if(n++,e.length===n)return t;var a=e[n];if(!w(a))return!1;t=o[r][a]}else t=o[r]}else t=o}}return t}function w(t){return t===Math.round(t)&&t>=0}function E(){var t,e,n={};for(t in h(n,a),i.subplotsRegistry)if((e=i.subplotsRegistry[t]).layoutAttributes)if(Array.isArray(e.attr))for(var r=0;r=l.length)return!1;r=(n=(i.transformsRegistry[l[u].type]||{}).attributes)&&n[e[2]],s=3}else{var c=t._module;if(c||(c=(i.modules[t.type||o.type.dflt]||{})._module),!c)return!1;if(!(r=(n=c.attributes)&&n[a])){var h=c.basePlotModule;h&&h.attributes&&(r=h.attributes[a])}r||(r=o[a])}return b(r,e,s)},e.getLayoutValObject=function(t,e){var n=function(t,e){var n,r,o,s,l=t._basePlotModules;if(l){var u;for(n=0;n=r&&(n._input||{})._templateitemname;s&&(a=r);var l,u=e+"["+a+"]";function c(){l={},s&&(l[u]={},l[u][o]=s)}function h(t,e){s?i.nestedProperty(l[u],t).set(e):l[u+"."+t]=e}function d(){var t=l;return c(),t}return c(),{modifyBase:function(t,e){l[t]=e},modifyItem:h,getUpdateObj:d,applyUpdate:function(e,n){e&&h(e,n);var r=d();for(var o in r)i.nestedProperty(t,o).set(r[o])}}}},39172:function(t,e,n){"use strict";var i=n(33428),r=n(24040),o=n(7316),a=n(3400),s=n(72736),l=n(73696),u=n(76308),c=n(43616),h=n(81668),d=n(45460),f=n(54460),_=n(84284),p=n(71888),m=p.enforce,v=p.clean,g=n(19280).doAutoRange,y="start";function b(t,e,n){for(var i=0;i=t[1]||r[1]<=t[0])&&o[0]e[0])return!0}return!1}function w(t){var n,r,s,l,h,p,m=t._fullLayout,v=m._size,g=v.p,y=f.list(t,"",!0);if(m._paperdiv.style({width:t._context.responsive&&m.autosize&&!t._context._hasZeroWidth&&!t.layout.width?"100%":m.width+"px",height:t._context.responsive&&m.autosize&&!t._context._hasZeroHeight&&!t.layout.height?"100%":m.height+"px"}).selectAll(".main-svg").call(c.setSize,m.width,m.height),t._context.setBackground(t,m.paper_bgcolor),e.drawMainTitle(t),d.manage(t),!m._has("cartesian"))return o.previousPromises(t);function w(t,e,n){var i=t._lw/2;return"x"===t._id.charAt(0)?e?"top"===n?e._offset-g-i:e._offset+e._length+g+i:v.t+v.h*(1-(t.position||0))+i%1:e?"right"===n?e._offset+e._length+g+i:e._offset-g-i:v.l+v.w*(t.position||0)+i%1}for(n=0;n.5?"t":"b",a=t._fullLayout.margin[o],s=0;return"paper"===e.yref?s=n+e.pad.t+e.pad.b:"container"===e.yref&&(s=function(t,e,n,i,r){var o=0;return"middle"===n&&(o+=r/2),"t"===t?("top"===n&&(o+=r),o+=i-e*i):("bottom"===n&&(o+=r),o+=e*i),o}(o,i,r,t._fullLayout.height,n)+e.pad.t+e.pad.b),s>a?s:0}(t,n,m);if(v>0){!function(t,e,n,i){var r="title.automargin",s=t._fullLayout.title,l=s.y>.5?"t":"b",u={x:s.x,y:s.y,t:0,b:0},c={};"paper"===s.yref&&function(t,e,n,i,r){var o="paper"===e.yref?t._fullLayout._size.h:t._fullLayout.height,s=a.isTopAnchor(e)?i:i-r,l="b"===n?o-s:s;return!(a.isTopAnchor(e)&&"t"===n||a.isBottomAnchor(e)&&"b"===n)&&lx?c.push({code:"unused",traceType:g,templateCount:E,dataCount:x}):x>E&&c.push({code:"reused",traceType:g,templateCount:E,dataCount:x})}}else c.push({code:"data"});if(function t(e,n){for(var i in e)if("_"!==i.charAt(0)){var o=e[i],a=p(e,i,n);r(o)?(Array.isArray(e)&&!1===o._template&&o.templateitemname&&c.push({code:"missing",path:a,templateitemname:o.templateitemname}),t(o,a)):Array.isArray(o)&&m(o)&&t(o,a)}}({data:f,layout:d},""),c.length)return c.map(v)}},67024:function(t,e,n){"use strict";var i=n(38248),r=n(36424),o=n(7316),a=n(3400),s=n(81792),l=n(37164),u=n(63268),c=n(25788).version,h={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png"},width:{valType:"number",min:1},height:{valType:"number",min:1},scale:{valType:"number",min:0,dflt:1},setBackground:{valType:"any",dflt:!1},imageDataOnly:{valType:"boolean",dflt:!1}};t.exports=function(t,e){var n,d,f,_;function p(t){return!(t in e)||a.validate(e[t],h[t])}if(e=e||{},a.isPlainObject(t)?(n=t.data||[],d=t.layout||{},f=t.config||{},_={}):(t=a.getGraphDiv(t),n=a.extendDeep([],t.data),d=a.extendDeep({},t.layout),f=t._context,_=t._fullLayout||{}),!p("width")&&null!==e.width||!p("height")&&null!==e.height)throw new Error("Height and width should be pixel values.");if(!p("format"))throw new Error("Export format is not "+a.join2(h.format.values,", "," or ")+".");var m={};function v(t,n){return a.coerce(e,m,h,t,n)}var g=v("format"),y=v("width"),b=v("height"),w=v("scale"),E=v("setBackground"),x=v("imageDataOnly"),C=document.createElement("div");C.style.position="absolute",C.style.left="-5000px",document.body.appendChild(C);var T=a.extendFlat({},d);y?T.width=y:null===e.width&&i(_.width)&&(T.width=_.width),b?T.height=b:null===e.height&&i(_.height)&&(T.height=_.height);var A=a.extendFlat({},f,{_exportedPlot:!0,staticPlot:!0,setBackground:E}),S=s.getRedrawFunc(C);function z(){return new Promise((function(t){setTimeout(t,s.getDelay(C._fullLayout))}))}function k(){return new Promise((function(t,e){var n=l(C,g,w),i=C._fullLayout.width,h=C._fullLayout.height;function d(){r.purge(C),document.body.removeChild(C)}if("full-json"===g){var f=o.graphJson(C,!1,"keepdata","object",!0,!0);return f.version=c,f=JSON.stringify(f),d(),t(x?f:s.encodeJSON(f))}if(d(),"svg"===g)return t(x?n:s.encodeSVG(n));var _=document.createElement("canvas");_.id=a.randstr(),u({format:g,width:i,height:h,scale:w,canvas:_,svg:n,promise:!0}).then(t).catch(e)}))}return new Promise((function(t,e){r.newPlot(C,n,T,A).then(S).then(z).then(k).then((function(e){t(function(t){return x?t.replace(s.IMAGE_URL_PREFIX,""):t}(e))})).catch((function(t){e(t)}))}))}},21480:function(t,e,n){"use strict";var i=n(3400),r=n(7316),o=n(73060),a=n(20556).dfltConfig,s=i.isPlainObject,l=Array.isArray,u=i.isArrayOrTypedArray;function c(t,e,n,r,o,a){a=a||[];for(var h=Object.keys(t),d=0;dy.length&&r.push(f("unused",o,v.concat(y.length)));var T,A,S,z,k,N=y.length,I=Array.isArray(C);if(I&&(N=Math.min(N,C.length)),2===b.dimensions)for(A=0;Ay[A].length&&r.push(f("unused",o,v.concat(A,y[A].length)));var O=y[A].length;for(T=0;T<(I?Math.min(O,C[A].length):O);T++)S=I?C[A][T]:C,z=g[A][T],k=y[A][T],i.validate(z,S)?k!==z&&k!==+z&&r.push(f("dynamic",o,v.concat(A,T),z,k)):r.push(f("value",o,v.concat(A,T),z))}else r.push(f("array",o,v.concat(A),g[A]));else for(A=0;A1&&d.push(f("object","layout"))),r.supplyDefaults(_);for(var p=_._fullData,m=n.length,v=0;v0&&Math.round(h)===h))return{vals:r};u=h}for(var d=e.calendar,f="start"===l,_="end"===l,p=t[n+"period0"],m=o(p,d)||0,v=[],g=[],y=[],b=r.length,w=0;wT;)C=a(C,-u,d);for(;C<=T;)C=a(C,u,d);x=a(C,-u,d)}else{for(C=m+(E=Math.round((T-m)/c))*c;C>T;)C-=c;for(;C<=T;)C+=c;x=C-c}v[w]=f?x:_?C:(x+C)/2,g[w]=x,y[w]=C}return{vals:v,starts:g,ends:y}}},26720:function(t){"use strict";t.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},19280:function(t,e,n){"use strict";var i=n(33428),r=n(38248),o=n(3400),a=n(39032).FP_SAFE,s=n(24040),l=n(43616),u=n(79811),c=u.getFromId,h=u.isLinked;function d(t,e){var n,i,r=[],a=t._fullLayout,s=_(a,e,0),l=_(a,e,1),u=m(t,e),c=u.min,h=u.max;if(0===c.length||0===h.length)return o.simpleMap(e.range,e.r2l);var d=c[0].val,p=h[0].val;for(n=1;n0&&((T=N-s(b)-l(w))>I?A/T>O&&(E=b,x=w,O=A/T):A/N>O&&(E={val:b.val,nopad:1},x={val:w.val,nopad:1},O=A/N));if(d===p){var L=d-1,M=d+1;if(z)if(0===d)r=[0,1];else{var $=(d>0?h:c).reduce((function(t,e){return Math.max(t,l(e))}),0),R=d/(1-Math.min(.5,$/N));r=d>0?[0,R]:[R,0]}else r=k?[Math.max(0,L),Math.max(1,M)]:[L,M]}else z?(E.val>=0&&(E={val:0,nopad:1}),x.val<=0&&(x={val:0,nopad:1})):k&&(E.val-O*s(E)<0&&(E={val:0,nopad:1}),x.val<=0&&(x={val:1,nopad:1})),O=(x.val-E.val-f(e,b.val,w.val))/(N-s(E)-l(x)),r=[E.val-O*s(E),x.val+O*l(x)];return r=C(r,e),e.limitRange&&e.limitRange(),g&&r.reverse(),o.simpleMap(r,e.l2r||Number)}function f(t,e,n){var i=0;if(t.rangebreaks)for(var r=t.locateBreaks(e,n),o=0;o0?n.ppadplus:n.ppadminus)||n.ppad||0),S=T((t._m>0?n.ppadminus:n.ppadplus)||n.ppad||0),z=T(n.vpadplus||n.vpad),k=T(n.vpadminus||n.vpad);if(!x){if(d=1/0,f=-1/0,E)for(i=0;i0&&(d=o),o>f&&o-a&&(d=o),o>f&&o=O;i--)I(i);return{min:_,max:p,opts:n}},concatExtremes:m};var p=3;function m(t,e,n){var i,r,o,a=e._id,s=t._fullData,l=t._fullLayout,u=[],h=[];function d(t,e){for(i=0;i=n&&(u.extrapad||!a)){s=!1;break}r(e,u.val)&&u.pad<=n&&(a||!u.extrapad)&&(t.splice(l,1),l--)}if(s){var c=o&&0===e;t.push({val:e,pad:c?0:n,extrapad:!c&&a})}}function b(t){return r(t)&&Math.abs(t)=e}function x(t,e,n){return void 0===e||void 0===n||(e=t.d2l(e))=u&&(a=u,n=u),s<=u&&(s=u,i=u)}}return n=function(t,e){var n=e.autorangeoptions;return n&&void 0!==n.minallowed&&x(e,n.minallowed,n.maxallowed)?n.minallowed:n&&void 0!==n.clipmin&&x(e,n.clipmin,n.clipmax)?Math.max(t,e.d2l(n.clipmin)):t}(n,e),i=function(t,e){var n=e.autorangeoptions;return n&&void 0!==n.maxallowed&&x(e,n.minallowed,n.maxallowed)?n.maxallowed:n&&void 0!==n.clipmax&&x(e,n.clipmin,n.clipmax)?Math.min(t,e.d2l(n.clipmax)):t}(i,e),[n,i]}},76808:function(t){"use strict";t.exports=function(t,e,n){var i,r;if(n){var o="reversed"===e||"min reversed"===e||"max reversed"===e;i=n[o?1:0],r=n[o?0:1]}var a=t("autorangeoptions.minallowed",null===r?i:void 0),s=t("autorangeoptions.maxallowed",null===i?r:void 0);void 0===a&&t("autorangeoptions.clipmin"),void 0===s&&t("autorangeoptions.clipmax"),t("autorangeoptions.include")}},54460:function(t,e,n){"use strict";var i=n(33428),r=n(38248),o=n(7316),a=n(24040),s=n(3400),l=s.strTranslate,u=n(72736),c=n(81668),h=n(76308),d=n(43616),f=n(94724),_=n(98728),p=n(39032),m=p.ONEMAXYEAR,v=p.ONEAVGYEAR,g=p.ONEMINYEAR,y=p.ONEMAXQUARTER,b=p.ONEAVGQUARTER,w=p.ONEMINQUARTER,E=p.ONEMAXMONTH,x=p.ONEAVGMONTH,C=p.ONEMINMONTH,T=p.ONEWEEK,A=p.ONEDAY,S=A/2,z=p.ONEHOUR,k=p.ONEMIN,N=p.ONESEC,I=p.MINUS_SIGN,O=p.BADNUM,L={K:"zeroline"},M={K:"gridline",L:"path"},$={K:"minor-gridline",L:"path"},R={K:"tick",L:"path"},P={K:"tick",L:"text"},U={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},j=n(84284),q=j.MID_SHIFT,D=j.CAP_SHIFT,B=j.LINE_SPACING,F=j.OPPOSITE_SIDE,W=t.exports={};W.setConvert=n(78344);var G=n(52976),H=n(79811),V=H.idSort,X=H.isLinked;W.id2name=H.id2name,W.name2id=H.name2id,W.cleanId=H.cleanId,W.list=H.list,W.listIds=H.listIds,W.getFromId=H.getFromId,W.getFromTrace=H.getFromTrace;var J=n(19280);W.getAutoRange=J.getAutoRange,W.findExtremes=J.findExtremes;var Z=1e-4;function Y(t){var e=(t[1]-t[0])*Z;return[t[0]-e,t[1]+e]}W.coerceRef=function(t,e,n,i,r,o){var a=i.charAt(i.length-1),l=n._fullLayout._subplots[a+"axis"],u=i+"ref",c={};return r||(r=l[0]||("string"==typeof o?o:o[0])),o||(o=r),l=l.concat(l.map((function(t){return t+" domain"}))),c[u]={valType:"enumerated",values:l.concat(o?"string"==typeof o?[o]:o:[]),dflt:r},s.coerce(t,e,c,u)},W.getRefType=function(t){return void 0===t?t:"paper"===t?"paper":"pixel"===t?"pixel":/( domain)$/.test(t)?"domain":"range"},W.coercePosition=function(t,e,n,i,r,o){var a,l;if("range"!==W.getRefType(i))a=s.ensureNumber,l=n(r,o);else{var u=W.getFromId(e,i);l=n(r,o=u.fraction2r(o)),a=u.cleanPos}t[r]=a(l)},W.cleanPosition=function(t,e,n){return("paper"===n||"pixel"===n?s.ensureNumber:W.getFromId(e,n).cleanPos)(t)},W.redrawComponents=function(t,e){e=e||W.listIds(t);var n=t._fullLayout;function i(i,r,o,s){for(var l=a.getComponentMethod(i,r),u={},c=0;ci&&d2e-6||((n-t._forceTick0)/t._minDtick%1+1.000001)%1>2e-6)&&(t._minDtick=0)):t._minDtick=0},W.saveRangeInitial=function(t,e){for(var n=W.list(t,"",!0),i=!1,r=0;r.3*d||c(i)||c(o))){var f=n.dtick/2;t+=t+f.8){var a=Number(n.substr(1));o.exactYears>.8&&a%12==0?t=W.tickIncrement(t,"M6","reverse")+1.5*A:o.exactMonths>.8?t=W.tickIncrement(t,"M1","reverse")+15.5*A:t-=S;var l=W.tickIncrement(t,n);if(l<=i)return l}return t}(g,t,v,u,o)),m=g;m<=c;)m=W.tickIncrement(m,v,!1,o);return{start:e.c2r(g,0,o),end:e.c2r(m,0,o),size:v,_dataSpan:c-u}},W.prepMinorTicks=function(t,e,n){if(!e.minor.dtick){delete t.dtick;var i,o=e.dtick&&r(e._tmin);if(o){var a=W.tickIncrement(e._tmin,e.dtick,!0);i=[e._tmin,.99*a+.01*e._tmin]}else{var l=s.simpleMap(e.range,e.r2l);i=[l[0],.8*l[0]+.2*l[1]]}if(t.range=s.simpleMap(i,e.l2r),t._isMinor=!0,W.prepTicks(t,n),o){var u=r(e.dtick),c=r(t.dtick),h=u?e.dtick:+e.dtick.substring(1),d=c?t.dtick:+t.dtick.substring(1);u&&c?et(h,d)?h===2*T&&d===2*A&&(t.dtick=T):h===2*T&&d===3*A?t.dtick=T:h!==T||(e._input.minor||{}).nticks?nt(h/d,2.5)?t.dtick=h/2:t.dtick=h:t.dtick=A:"M"===String(e.dtick).charAt(0)?c?t.dtick="M1":et(h,d)?h>=12&&2===d&&(t.dtick="M3"):t.dtick=e.dtick:"L"===String(t.dtick).charAt(0)?"L"===String(e.dtick).charAt(0)?et(h,d)||(t.dtick=nt(h/d,2.5)?e.dtick/2:e.dtick):t.dtick="D1":"D2"===t.dtick&&+e.dtick>1&&(t.dtick=1)}t.range=e.range}void 0===e.minor._tick0Init&&(t.tick0=e.tick0)},W.prepTicks=function(t,e){var n=s.simpleMap(t.range,t.r2l,void 0,void 0,e);if("auto"===t.tickmode||!t.dtick){var i,o=t.nticks;o||("category"===t.type||"multicategory"===t.type?(i=t.tickfont?s.bigFont(t.tickfont.size||12):15,o=t._length/i):(i="y"===t._id.charAt(0)?40:80,o=s.constrain(t._length/i,4,9)+1),"radialaxis"===t._name&&(o*=2)),t.minor&&"array"!==t.minor.tickmode||"array"===t.tickmode&&(o*=100),t._roughDTick=Math.abs(n[1]-n[0])/o,W.autoTicks(t,t._roughDTick),t._minDtick>0&&t.dtick<2*t._minDtick&&(t.dtick=t._minDtick,t.tick0=t.l2r(t._forceTick0))}"period"===t.ticklabelmode&&function(t){var e;function n(){return!(r(t.dtick)||"M"!==t.dtick.charAt(0))}var i=n(),o=W.getTickFormat(t);if(o){var a=t._dtickInit!==t.dtick;/%[fLQsSMX]/.test(o)||(/%[HI]/.test(o)?(e=z,a&&!i&&t.dtick=(L?0:1);M--){var $=!M;M?(t._dtickInit=t.dtick,t._tick0Init=t.tick0):(t.minor._dtickInit=t.minor.dtick,t.minor._tick0Init=t.minor.tick0);var R=M?t:s.extendFlat({},t,t.minor);if($?W.prepMinorTicks(R,t,e):W.prepTicks(R,e),"array"!==R.tickmode)if("sync"!==R.tickmode){var P=Y(c),U=P[0],j=P[1],q=r(R.dtick),D="log"===o&&!(q||"L"===R.dtick.charAt(0)),B=W.tickFirst(R,e);if(M){if(t._tmin=B,B=j:V<=j;V=W.tickIncrement(V,X,h,a)){if(M&&F++,R.rangebreaks&&!h){if(V=f)break}if(N.length>_||V===H)break;H=V;var J={value:V};M?(D&&V!==(0|V)&&(J.simpleLabel=!0),l>1&&F%l&&(J.skipLabel=!0),N.push(J)):(J.minor=!0,I.push(J))}}else N=[],p=ot(t);else M?(N=[],p=at(t,!$)):(I=[],k=at(t,!$))}if(L&&!("inside"===t.minor.ticks&&"outside"===t.ticks||"outside"===t.minor.ticks&&"inside"===t.ticks)){for(var Z=N.map((function(t){return t.value})),K=[],Q=0;Q0?(o=i-1,a=i):(o=i,a=i);var s,l=t[o].value,u=t[a].value,c=Math.abs(u-l),h=n||c,d=0;h>=g?d=c>=g&&c<=m?c:v:n===b&&h>=w?d=c>=w&&c<=y?c:b:h>=C?d=c>=C&&c<=E?c:x:n===T&&h>=T?d=T:h>=A?d=A:n===S&&h>=S?d=S:n===z&&h>=z&&(d=z),d>=c&&(d=c,s=!0);var f=r+d;if(e.rangebreaks&&d>0){for(var _=0,p=0;p<84;p++){var k=(p+.5)/84;e.maskBreaks(r*(1-k)+k*f)!==O&&_++}(d*=_/84)||(t[i].drop=!0),s&&c>T&&(d=c)}(d>0||0===i)&&(t[i].periodX=r+d/2)}}(N,t,t._definedDelta),t.rangebreaks){var rt="y"===t._id.charAt(0),st=1;"auto"===t.tickmode&&(st=t.tickfont?t.tickfont.size:12);var lt=NaN;for(n=N.length-1;n>-1;n--)if(N[n].drop)N.splice(n,1);else{N[n].value=$t(N[n].value,t);var ut=t.c2p(N[n].value);(rt?lt>ut-st:ltf||htf&&(ct.periodX=f),ht10||"01-01"!==i.substr(5)?t._tickround="d":t._tickround=+e.substr(1)%12==0?"y":"m";else if(e>=A&&o<=10||e>=15*A)t._tickround="d";else if(e>=k&&o<=16||e>=z)t._tickround="M";else if(e>=N&&o<=19||e>=k)t._tickround="S";else{var a=t.l2r(n+e).replace(/^-/,"").length;t._tickround=Math.max(o,a)-20,t._tickround<0&&(t._tickround=4)}}else if(r(e)||"L"===e.charAt(0)){var s=t.range.map(t.r2d||Number);r(e)||(e=Number(e.substr(1))),t._tickround=2-Math.floor(Math.log(e)/Math.LN10+.01);var l=Math.max(Math.abs(s[0]),Math.abs(s[1])),u=Math.floor(Math.log(l)/Math.LN10+.01),c=void 0===t.minexponent?3:t.minexponent;Math.abs(u)>c&&(gt(t.exponentformat)&&!yt(u)?t._tickexponent=3*Math.round((u-1)/3):t._tickexponent=u)}else t._tickround=null}function mt(t,e,n){var i=t.tickfont||{};return{x:e,dx:0,dy:0,text:n||"",fontSize:i.size,font:i.family,fontColor:i.color}}W.autoTicks=function(t,e,n){var i;function o(t){return Math.pow(t,Math.floor(Math.log(e)/Math.LN10))}if("date"===t.type){t.tick0=s.dateTick0(t.calendar,0);var a=2*e;if(a>v)e/=v,i=o(10),t.dtick="M"+12*_t(e,i,st);else if(a>x)e/=x,t.dtick="M"+_t(e,1,lt);else if(a>A){if(t.dtick=_t(e,A,t._hasDayOfWeekBreaks?[1,2,7,14]:ct),!n){var l=W.getTickFormat(t),u="period"===t.ticklabelmode;u&&(t._rawTick0=t.tick0),/%[uVW]/.test(l)?t.tick0=s.dateTick0(t.calendar,2):t.tick0=s.dateTick0(t.calendar,1),u&&(t._dowTick0=t.tick0)}}else a>z?t.dtick=_t(e,z,lt):a>k?t.dtick=_t(e,k,ut):a>N?t.dtick=_t(e,N,ut):(i=o(10),t.dtick=_t(e,i,st))}else if("log"===t.type){t.tick0=0;var c=s.simpleMap(t.range,t.r2l);if(t._isMinor&&(e*=1.5),e>.7)t.dtick=Math.ceil(e);else if(Math.abs(c[1]-c[0])<1){var h=1.5*Math.abs((c[1]-c[0])/e);e=Math.abs(Math.pow(10,c[1])-Math.pow(10,c[0]))/h,i=o(10),t.dtick="L"+_t(e,i,st)}else t.dtick=e>.3?"D2":"D1"}else"category"===t.type||"multicategory"===t.type?(t.tick0=0,t.dtick=Math.ceil(Math.max(e,1))):Mt(t)?(t.tick0=0,i=1,t.dtick=_t(e,i,ft)):(t.tick0=0,i=o(10),t.dtick=_t(e,i,st));if(0===t.dtick&&(t.dtick=1),!r(t.dtick)&&"string"!=typeof t.dtick){var d=t.dtick;throw t.dtick=1,"ax.dtick error: "+String(d)}},W.tickIncrement=function(t,e,n,o){var a=n?-1:1;if(r(e))return s.increment(t,a*e);var l=e.charAt(0),u=a*Number(e.substr(1));if("M"===l)return s.incrementMonth(t,u,o);if("L"===l)return Math.log(Math.pow(10,t)+u)/Math.LN10;if("D"===l){var c="D2"===e?dt:ht,h=t+.01*a,d=s.roundUp(s.mod(h,1),c,n);return Math.floor(h)+Math.log(i.round(Math.pow(10,d),1))/Math.LN10}throw"unrecognized dtick "+String(e)},W.tickFirst=function(t,e){var n=t.r2l||Number,o=s.simpleMap(t.range,n,void 0,void 0,e),a=o[1] ")}else t._prevDateHead=l,u+="
"+l;e.text=u}(t,a,n,u):"log"===c?function(t,e,n,i,o){var a=t.dtick,l=e.x,u=t.tickformat,c="string"==typeof a&&a.charAt(0);if("never"===o&&(o=""),i&&"L"!==c&&(a="L3",c="L"),u||"L"===c)e.text=bt(Math.pow(10,l),t,o,i);else if(r(a)||"D"===c&&s.mod(l+.01,1)<.1){var h=Math.round(l),d=Math.abs(h),f=t.exponentformat;"power"===f||gt(f)&&yt(h)?(e.text=0===h?1:1===h?"10":"10"+(h>1?"":I)+d+"",e.fontSize*=1.25):("e"===f||"E"===f)&&d>2?e.text="1"+f+(h>0?"+":I)+d:(e.text=bt(Math.pow(10,l),t,"","fakehover"),"D1"===a&&"y"===t._id.charAt(0)&&(e.dy-=e.fontSize/6))}else{if("D"!==c)throw"unrecognized dtick "+String(a);e.text=String(Math.round(Math.pow(10,s.mod(l,1)))),e.fontSize*=.75}if("D1"===t.dtick){var _=String(e.text).charAt(0);"0"!==_&&"1"!==_||("y"===t._id.charAt(0)?e.dx-=e.fontSize/4:(e.dy+=e.fontSize/2,e.dx+=(t.range[1]>t.range[0]?1:-1)*e.fontSize*(l<0?.5:.25)))}}(t,a,0,u,p):"category"===c?function(t,e){var n=t._categories[Math.round(e.x)];void 0===n&&(n=""),e.text=String(n)}(t,a):"multicategory"===c?function(t,e,n){var i=Math.round(e.x),r=t._categories[i]||[],o=void 0===r[1]?"":String(r[1]),a=void 0===r[0]?"":String(r[0]);n?e.text=a+" - "+o:(e.text=o,e.text2=a)}(t,a,n):Mt(t)?function(t,e,n,i,r){if("radians"!==t.thetaunit||n)e.text=bt(e.x,t,r,i);else{var o=e.x/180;if(0===o)e.text="0";else{var a=function(t){function e(t,e){return Math.abs(t-e)<=1e-6}var n=function(t){for(var n=1;!e(Math.round(t*n)/n,t);)n*=10;return n}(t),i=t*n,r=Math.abs(function t(n,i){return e(i,0)?n:t(i,n%i)}(i,n));return[Math.round(i/r),Math.round(n/r)]}(o);if(a[1]>=100)e.text=bt(s.deg2rad(e.x),t,r,i);else{var l=e.x<0;1===a[1]?1===a[0]?e.text="π":e.text=a[0]+"π":e.text=["",a[0],"","⁄","",a[1],"","π"].join(""),l&&(e.text=I+e.text)}}}}(t,a,n,u,p):function(t,e,n,i,r){"never"===r?r="":"all"===t.showexponent&&Math.abs(e.x/t.dtick)<1e-6&&(r="hide"),e.text=bt(e.x,t,r,i)}(t,a,0,u,p),i||(t.tickprefix&&!_(t.showtickprefix)&&(a.text=t.tickprefix+a.text),t.ticksuffix&&!_(t.showticksuffix)&&(a.text+=t.ticksuffix)),t.labelalias&&t.labelalias.hasOwnProperty(a.text)){var m=t.labelalias[a.text];"string"==typeof m&&(a.text=m)}if("boundaries"===t.tickson||t.showdividers){var v=function(e){var n=t.l2p(e);return n>=0&&n<=t._length?e:null};a.xbnd=[v(a.x-.5),v(a.x+t.dtick-.5)]}return a},W.hoverLabelText=function(t,e,n){n&&(t=s.extendFlat({},t,{hoverformat:n}));var i=s.isArrayOrTypedArray(e)?e[0]:e,r=s.isArrayOrTypedArray(e)?e[1]:void 0;if(void 0!==r&&r!==i)return W.hoverLabelText(t,i,n)+" - "+W.hoverLabelText(t,r,n);var o="log"===t.type&&i<=0,a=W.tickText(t,t.c2l(o?-i:i),"hover").text;return o?0===i?"0":I+a:a};var vt=["f","p","n","μ","m","","k","M","G","T"];function gt(t){return"SI"===t||"B"===t}function yt(t){return t>14||t<-15}function bt(t,e,n,i){var o=t<0,a=e._tickround,l=n||e.exponentformat||"B",u=e._tickexponent,c=W.getTickFormat(e),h=e.separatethousands;if(i){var d={exponentformat:l,minexponent:e.minexponent,dtick:"none"===e.showexponent?e.dtick:r(t)&&Math.abs(t)||1,range:"none"===e.showexponent?e.range.map(e.r2d):[0,t||1]};pt(d),a=(Number(d._tickround)||0)+4,u=d._tickexponent,e.hoverformat&&(c=e.hoverformat)}if(c)return e._numFormat(c)(t).replace(/-/g,I);var f,_=Math.pow(10,-a)/2;if("none"===l&&(u=0),(t=Math.abs(t))<_)t="0",o=!1;else{if(t+=_,u&&(t*=Math.pow(10,-u),a+=u),0===a)t=String(Math.floor(t));else if(a<0){t=(t=String(Math.round(t))).substr(0,t.length+a);for(var p=a;p<0;p++)t+="0"}else{var m=(t=String(t)).indexOf(".")+1;m&&(t=t.substr(0,m+a).replace(/\.?0+$/,""))}t=s.numSeparate(t,e._separators,h)}return u&&"hide"!==l&&(gt(l)&&yt(u)&&(l="power"),f=u<0?I+-u:"power"!==l?"+"+u:String(u),"e"===l||"E"===l?t+=l+f:"power"===l?t+="×10"+f+"":"B"===l&&9===u?t+="B":gt(l)&&(t+=vt[u/3+5])),o?I+t:t}function wt(t,e){if(t){var n=Object.keys(U).reduce((function(t,n){return-1!==e.indexOf(n)&&U[n].forEach((function(e){t[e]=1})),t}),{});Object.keys(t).forEach((function(e){n[e]||(1===e.length?t[e]=0:delete t[e])}))}}function Et(t,e){for(var n=[],i={},r=0;r1&&n=r.min&&t=0,o=c(t,e[1])<=0;return(n||r)&&(i||o)}if(t.tickformatstops&&t.tickformatstops.length>0)switch(t.type){case"date":case"linear":for(e=0;e=a(r)))){n=i;break}break;case"log":for(e=0;e=0&&r.unshift(r.splice(i,1).shift())}}));var a={false:{left:0,right:0}};return s.syncOrAsync(r.map((function(e){return function(){if(e){var i=W.getFromId(t,e);n||(n={}),n.axShifts=a,n.overlayingShiftedAx=o;var r=W.drawOne(t,i,n);return i._shiftPusher&&Ut(i,i._fullDepth||0,a,!0),i._r=i.range.slice(),i._rl=s.simpleMap(i._r,i.r2l),r}}})))},W.drawOne=function(t,e,n){var i,r,l,u=(n=n||{}).axShifts||{},f=n.overlayingShiftedAx||[];e.setScale();var _=t._fullLayout,p=e._id,m=p.charAt(0),v=W.counterLetter(p),g=_._plots[e._mainSubplot];if(g){if(e._shiftPusher=e.autoshift||-1!==f.indexOf(e._id)||-1!==f.indexOf(e.overlaying),e._shiftPusher&"free"===e.anchor){var y=e.linewidth/2||0;"inside"===e.ticks&&(y+=e.ticklen),Ut(e,y,u,!0),Ut(e,e.shift||0,u,!1)}!0===n.skipTitle&&void 0!==e._shift||(e._shift=function(t,e){return t.autoshift?e[t.overlaying][t.side]:t.shift||0}(e,u));var b=g[m+"axislayer"],w=e._mainLinePosition,E=w+=e._shift,x=e._mainMirrorPosition,C=e._vals=W.calcTicks(e),T=[e.mirror,E,x].join("_");for(i=0;i0?n.bottom-c:0,h))));var d=0,f=0;if(e._shiftPusher&&(d=Math.max(h,n.height>0?"l"===l?c-n.left:n.right-c:0),e.title.text!==_._dfltTitle[m]&&(f=(e._titleStandoff||0)+(e._titleScoot||0),"l"===l&&(f+=Tt(e))),e._fullDepth=Math.max(d,f)),e.automargin){i={x:0,y:0,r:0,l:0,t:0,b:0};var p=[0,1],g="number"==typeof e._shift?e._shift:0;if("x"===m){if("b"===l?i[l]=e._depth:(i[l]=e._depth=Math.max(n.width>0?c-n.top:0,h),p.reverse()),n.width>0){var y=n.right-(e._offset+e._length);y>0&&(i.xr=1,i.r=y);var b=e._offset-n.left;b>0&&(i.xl=0,i.l=b)}}else if("l"===l?(e._depth=Math.max(n.height>0?c-n.left:0,h),i[l]=e._depth-g):(e._depth=Math.max(n.height>0?n.right-c:0,h),i[l]=e._depth+g,p.reverse()),n.height>0){var w=n.bottom-(e._offset+e._length);w>0&&(i.yb=0,i.b=w);var E=e._offset-n.top;E>0&&(i.yt=1,i.t=E)}i[v]="free"===e.anchor?e.position:e._anchorAxis.domain[p[0]],e.title.text!==_._dfltTitle[m]&&(i[l]+=Tt(e)+(e.title.standoff||0)),e.mirror&&"free"!==e.anchor&&((r={x:0,y:0,r:0,l:0,t:0,b:0})[u]=e.linewidth,e.mirror&&!0!==e.mirror&&(r[u]+=h),!0===e.mirror||"ticks"===e.mirror?r[v]=e._anchorAxis.domain[p[1]]:"all"!==e.mirror&&"allticks"!==e.mirror||(r[v]=[e._counterDomainMin,e._counterDomainMax][p[1]]))}lt&&(s=a.getComponentMethod("rangeslider","autoMarginOpts")(t,e)),"string"==typeof e.automargin&&(wt(i,e.automargin),wt(r,e.automargin)),o.autoMargin(t,zt(e),i),o.autoMargin(t,kt(e),r),o.autoMargin(t,Nt(e),s)})),s.syncOrAsync(at)}}function ut(t){var n=p+(t||"tick");return A[n]||(A[n]=function(t,e){var n,i,r,o;return t._selections[e].size()?(n=1/0,i=-1/0,r=1/0,o=-1/0,t._selections[e].each((function(){var t=St(this),e=d.bBox(t.node().parentNode);n=Math.min(n,e.top),i=Math.max(i,e.bottom),r=Math.min(r,e.left),o=Math.max(o,e.right)}))):(n=0,i=0,r=0,o=0),{top:n,bottom:i,left:r,right:o,height:i-n,width:o-r}}(e,n)),A[n]}},W.getTickSigns=function(t,e){var n=t._id.charAt(0),i={x:"top",y:"right"}[n],r=t.side===i?1:-1,o=[-1,1,r,-r];return"inside"!==(e?(t.minor||{}).ticks:t.ticks)==("x"===n)&&(o=o.map((function(t){return-t}))),t.side&&o.push({l:-1,t:-1,r:1,b:1}[t.side.charAt(0)]),o},W.makeTransTickFn=function(t){return"x"===t._id.charAt(0)?function(e){return l(t._offset+t.l2p(e.x),0)}:function(e){return l(0,t._offset+t.l2p(e.x))}},W.makeTransTickLabelFn=function(t){var e=function(t){var e=t.ticklabelposition||"",n=function(t){return-1!==e.indexOf(t)},i=n("top"),r=n("left"),o=n("right"),a=n("bottom"),s=n("inside"),l=a||r||i||o;if(!l&&!s)return[0,0];var u=t.side,c=l?(t.tickwidth||0)/2:0,h=3,d=t.tickfont?t.tickfont.size:12;return(a||i)&&(c+=d*D,h+=(t.linewidth||0)/2),(r||o)&&(c+=(t.linewidth||0)/2,h+=3),s&&"top"===u&&(h-=d*(1-D)),(r||i)&&(c=-c),"bottom"!==u&&"right"!==u||(h=-h),[l?c:0,s?h:0]}(t),n=e[0],i=e[1];return"x"===t._id.charAt(0)?function(e){return l(n+t._offset+t.l2p(xt(e)),i)}:function(e){return l(i,n+t._offset+t.l2p(xt(e)))}},W.makeTickPath=function(t,e,n,i){i||(i={});var r=i.minor;if(r&&!t.minor)return"";var o=void 0!==i.len?i.len:r?t.minor.ticklen:t.ticklen,a=t._id.charAt(0),s=(t.linewidth||1)/2;return"x"===a?"M0,"+(e+s*n)+"v"+o*n:"M"+(e+s*n)+",0h"+o*n},W.makeLabelFns=function(t,e,n){var i=t.ticklabelposition||"",o=function(t){return-1!==i.indexOf(t)},a=o("top"),l=o("left"),u=o("right"),c=o("bottom")||l||a||u,h=o("inside"),d="inside"===i&&"inside"===t.ticks||!h&&"outside"===t.ticks&&"boundaries"!==t.tickson,f=0,_=0,p=d?t.ticklen:0;if(h?p*=-1:c&&(p=0),d&&(f+=p,n)){var m=s.deg2rad(n);f=p*Math.cos(m)+1,_=p*Math.sin(m)}t.showticklabels&&(d||t.showline)&&(f+=.2*t.tickfont.size);var v,g,y,b,w,E={labelStandoff:f+=(t.linewidth||1)/2*(h?-1:1),labelShift:_},x=0,C=t.side,T=t._id.charAt(0),A=t.tickangle;if("x"===T)b=(w=!h&&"bottom"===C||h&&"top"===C)?1:-1,h&&(b*=-1),v=_*b,g=e+f*b,y=w?1:-.2,90===Math.abs(A)&&(h?y+=q:y=-90===A&&"bottom"===C?D:90===A&&"top"===C?q:.5,x=q/2*(A/90)),E.xFn=function(t){return t.dx+v+x*t.fontSize},E.yFn=function(t){return t.dy+g+t.fontSize*y},E.anchorFn=function(t,e){if(c){if(l)return"end";if(u)return"start"}return r(e)&&0!==e&&180!==e?e*b<0!==h?"end":"start":"middle"},E.heightFn=function(e,n,i){return n<-60||n>60?-.5*i:"top"===t.side!==h?-i:0};else if("y"===T){if(b=(w=!h&&"left"===C||h&&"right"===C)?1:-1,h&&(b*=-1),v=f,g=_*b,y=0,h||90!==Math.abs(A)||(y=-90===A&&"left"===C||90===A&&"right"===C?D:.5),h){var S=r(A)?+A:0;if(0!==S){var z=s.deg2rad(S);x=Math.abs(Math.sin(z))*D*b,y=0}}E.xFn=function(t){return t.dx+e-(v+t.fontSize*y)*b+x*t.fontSize},E.yFn=function(t){return t.dy+g+t.fontSize*q},E.anchorFn=function(t,e){return r(e)&&90===Math.abs(e)?"middle":w?"end":"start"},E.heightFn=function(e,n,i){return"right"===t.side&&(n*=-1),n<-30?-i:n<30?-.5*i:0}}return E},W.drawTicks=function(t,e,n){n=n||{};var r=e._id+"tick",o=[].concat(e.minor&&e.minor.ticks?n.vals.filter((function(t){return t.minor&&!t.noTick})):[]).concat(e.ticks?n.vals.filter((function(t){return!t.minor&&!t.noTick})):[]),a=n.layer.selectAll("path."+r).data(o,Ct);a.exit().remove(),a.enter().append("path").classed(r,1).classed("ticks",1).classed("crisp",!1!==n.crisp).each((function(t){return h.stroke(i.select(this),t.minor?e.minor.tickcolor:e.tickcolor)})).style("stroke-width",(function(n){return d.crispRound(t,n.minor?e.minor.tickwidth:e.tickwidth,1)+"px"})).attr("d",n.path).style("display",null),Pt(e,[R]),a.attr("transform",n.transFn)},W.drawGrid=function(t,e,n){if(n=n||{},"sync"!==e.tickmode){var r=e._id+"grid",o=e.minor&&e.minor.showgrid,a=o?n.vals.filter((function(t){return t.minor})):[],s=e.showgrid?n.vals.filter((function(t){return!t.minor})):[],l=n.counterAxis;if(l&&W.shouldShowZeroLine(t,e,l))for(var u="array"===e.tickmode,c=0;c=0;v--){var g=v?p:m;if(g){var y=g.selectAll("path."+r).data(v?s:a,Ct);y.exit().remove(),y.enter().append("path").classed(r,1).classed("crisp",!1!==n.crisp),y.attr("transform",n.transFn).attr("d",n.path).each((function(t){return h.stroke(i.select(this),t.minor?e.minor.gridcolor:e.gridcolor||"#ddd")})).style("stroke-dasharray",(function(t){return d.dashStyle(t.minor?e.minor.griddash:e.griddash,t.minor?e.minor.gridwidth:e.gridwidth)})).style("stroke-width",(function(t){return(t.minor?_:e._gw)+"px"})).style("display",null),"function"==typeof n.path&&y.attr("d",n.path)}}Pt(e,[M,$])}},W.drawZeroLine=function(t,e,n){n=n||n;var i=e._id+"zl",r=W.shouldShowZeroLine(t,e,n.counterAxis),o=n.layer.selectAll("path."+i).data(r?[{x:0,id:e._id}]:[]);o.exit().remove(),o.enter().append("path").classed(i,1).classed("zl",1).classed("crisp",!1!==n.crisp).each((function(){n.layer.selectAll("path").sort((function(t,e){return V(t.id,e.id)}))})),o.attr("transform",n.transFn).attr("d",n.path).call(h.stroke,e.zerolinecolor||h.defaultLine).style("stroke-width",d.crispRound(t,e.zerolinewidth,e._gw||1)+"px").style("display",null),Pt(e,[L])},W.drawLabels=function(t,e,n){n=n||{};var o=t._fullLayout,a=e._id,c=n.cls||a+"tick",h=n.vals.filter((function(t){return t.text})),f=n.labelFns,_=n.secondary?0:e.tickangle,p=(e._prevTickAngles||{})[c],m=n.layer.selectAll("g."+c).data(e.showticklabels?h:[],Ct),v=[];function g(t,o){t.each((function(t){var a=i.select(this),s=a.select(".text-math-group"),c=f.anchorFn(t,o),h=n.transFn.call(a.node(),t)+(r(o)&&0!=+o?" rotate("+o+","+f.xFn(t)+","+(f.yFn(t)-t.fontSize/2)+")":""),_=u.lineCount(a),p=B*t.fontSize,m=f.heightFn(t,r(o)?+o:0,(_-1)*p);if(m&&(h+=l(0,m)),s.empty()){var v=a.select("text");v.attr({transform:h,"text-anchor":c}),v.style("opacity",1),e._adjustTickLabelsOverflow&&e._adjustTickLabelsOverflow()}else{var g=d.bBox(s.node()).width*{end:-.5,start:.5}[c];s.attr("transform",h+l(g,0))}}))}m.enter().append("g").classed(c,1).append("text").attr("text-anchor","middle").each((function(e){var n=i.select(this),r=t._promises.length;n.call(u.positionText,f.xFn(e),f.yFn(e)).call(d.font,e.font,e.fontSize,e.fontColor).text(e.text).call(u.convertToTspans,t),t._promises[r]?v.push(t._promises.pop().then((function(){g(n,_)}))):g(n,_)})),Pt(e,[P]),m.exit().remove(),n.repositionOnUpdate&&m.each((function(t){i.select(this).select("text").call(u.positionText,f.xFn(t),f.yFn(t))})),e._adjustTickLabelsOverflow=function(){var n=e.ticklabeloverflow;if(n&&"allow"!==n){var r=-1!==n.indexOf("hide"),a="x"===e._id.charAt(0),l=0,u=a?t._fullLayout.width:t._fullLayout.height;if(-1!==n.indexOf("domain")){var c=s.simpleMap(e.range,e.r2l);l=e.l2p(c[0])+e._offset,u=e.l2p(c[1])+e._offset}var h=Math.min(l,u),f=Math.max(l,u),_=e.side,p=1/0,v=-1/0;for(var g in m.each((function(t){var n=i.select(this);if(n.select(".text-math-group").empty()){var o=d.bBox(n.node()),s=0;a?(o.right>f||o.leftf||o.top+(e.tickangle?0:t.fontSize/4)e["_visibleLabelMin_"+n._id]?l.style("display","none"):"tick"!==t.K||r||l.style("display",null)}))}))}))}))},g(m,p+1?p:_);var y=null;e._selections&&(e._selections[c]=m);var b=[function(){return v.length&&Promise.all(v)}];e.automargin&&o._redrawFromAutoMarginCount&&90===p?(y=p,b.push((function(){g(m,p)}))):b.push((function(){if(g(m,_),h.length&&e.autotickangles&&("log"!==e.type||"D"!==String(e.dtick).charAt(0))){y=e.autotickangles[0];var t,i=0,r=[],o=1;if(m.each((function(t){i=Math.max(i,t.fontSize);var n=e.l2p(t.x),a=St(this),s=d.bBox(a.node());o=Math.max(o,u.lineCount(a)),r.push({top:0,bottom:10,height:10,left:n-s.width/2,right:n+s.width/2+2,width:s.width+2})})),"boundaries"!==e.tickson&&!e.showdividers||n.secondary){var a=h.length,l=Math.abs((h[a-1].x-h[0].x)*e._m)/(a-1),c=e.ticklabelposition||"",f=function(t){return-1!==c.indexOf(t)},p=f("top"),v=f("left"),b=f("right"),w=f("bottom")||v||p||b?(e.tickwidth||0)+6:0,E=l,x=1.25*i*o,C=E/Math.sqrt(Math.pow(E,2)+Math.pow(x,2)),T=e.autotickangles.map((function(t){return t*Math.PI/180})),A=T.find((function(t){return Math.abs(Math.cos(t))<=C}));void 0===A&&(A=T.reduce((function(t,e){return Math.abs(Math.cos(t))0?C*=1+C/(I-=C):C=0,"y"!==e._id.charAt(0)&&(C=-C),z[A]=E.p2d(E.d2p(E.range[A])+T*C),"min"===E.autorange||"max reversed"===E.autorange?(z[0]=null,E._rangeInitial0=void 0,E._rangeInitial1=void 0):"max"!==E.autorange&&"min reversed"!==E.autorange||(z[1]=null,E._rangeInitial0=void 0,E._rangeInitial1=void 0),o._insideTickLabelsUpdaterange[E._name+".range"]=z}var O=s.syncOrAsync(b);return O&&O.then&&t._promises.push(O),O},W.getPxPosition=function(t,e){var n,i=t._fullLayout._size,r=e._id.charAt(0),o=e.side;return"free"!==e.anchor?n=e._anchorAxis:"x"===r?n={_offset:i.t+(1-(e.position||0))*i.h,_length:0}:"y"===r&&(n={_offset:i.l+(e.position||0)*i.w+e._shift,_length:0}),"top"===o||"left"===o?n._offset:"bottom"===o||"right"===o?n._offset+n._length:void 0},W.shouldShowZeroLine=function(t,e,n){var i=s.simpleMap(e.range,e.r2l);return i[0]*i[1]<=0&&e.zeroline&&("linear"===e.type||"-"===e.type)&&!(e.rangebreaks&&e.maskBreaks(0)===O)&&(At(e,0)||!function(t,e,n,i){var r=n._mainAxis;if(r){var o=t._fullLayout,a=e._id.charAt(0),s=W.counterLetter(e._id),l=e._offset+(Math.abs(i[0])1)for(i=1;i2*a}(r,e))return"date";var m="strict"!==n.autotypenumbers;return function(t,e){for(var n=t.length,i=h(n),r=0,a=0,s={},c=0;c2*r}(r,m)?"category":function(t,e){for(var n=t.length,i=0;i=2){var s,u,c="";if(2===a.length)for(s=0;s<2;s++)if(u=w(a[s])){c=v;break}var h=r("pattern",c);if(h===v)for(s=0;s<2;s++)(u=w(a[s]))&&(e.bounds[s]=a[s]=u-1);if(h)for(s=0;s<2;s++)switch(u=a[s],h){case v:if(!i(u))return void(e.enabled=!1);if((u=+u)!==Math.floor(u)||u<0||u>=7)return void(e.enabled=!1);e.bounds[s]=a[s]=u;break;case g:if(!i(u))return void(e.enabled=!1);if((u=+u)<0||u>24)return void(e.enabled=!1);e.bounds[s]=a[s]=u}if(!1===n.autorange){var d=n.range;if(d[0]d[1])return void(e.enabled=!1)}else if(a[0]>d[0]&&a[1]i?1:-1:+(t.substr(1)||1)-+(e.substr(1)||1)},e.ref2id=function(t){return!!/^[xyz]/.test(t)&&t.split(" ")[0]},e.isLinked=function(t,e){return o(e,t._axisMatchGroups)||o(e,t._axisConstraintGroups)}},22416:function(t,e,n){"use strict";var i=n(38116).isTypedArraySpec;t.exports=function(t,e,n,r){if("category"===e.type){var o,a=t.categoryarray,s=Array.isArray(a)&&a.length>0||i(a);s&&(o="array");var l,u=n("categoryorder",o);"array"===u&&(l=n("categoryarray")),s||"array"!==u||(u=e.categoryorder="trace"),"trace"===u?e._initialCategories=[]:"array"===u?e._initialCategories=l.slice():(l=function(t,e){var n,i,r,o=e.dataAttr||t._id.charAt(0),a={};if(e.axData)n=e.axData;else for(n=[],i=0;ii?r.substr(i):o.substr(n))+a:r+o+t*e:a}function m(t,e){for(var n=e._size,i=n.h/n.w,r={},o=Object.keys(t),a=0;au*y)||x)for(n=0;nL&&PI&&(I=P);d/=(I-N)/(2*O),N=l.l2r(N),I=l.l2r(I),l.range=l._input.range=S=0?Math.min(t,.9):1/(1/Math.max(t,-.3)+3.222))}function j(t,e,n,i,r){return t.append("path").attr("class","zoombox").style({fill:e>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",u(n,i)).attr("d",r+"Z")}function q(t,e,n){return t.append("path").attr("class","zoombox-corners").style({fill:h.background,stroke:h.defaultLine,"stroke-width":1,opacity:0}).attr("transform",u(e,n)).attr("d","M0,0Z")}function D(t,e,n,i,r,o){t.attr("d",i+"M"+n.l+","+n.t+"v"+n.h+"h"+n.w+"v-"+n.h+"h-"+n.w+"Z"),B(t,e,r,o)}function B(t,e,n,i){n||(t.transition().style("fill",i>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),e.transition().style("opacity",1).duration(200))}function F(t){i.select(t).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function W(t){O&&t.data&&t._context.showTips&&(r.notifier(r._(t,"Double-click to zoom back out"),"long"),O=!1)}function G(t){var e=Math.floor(Math.min(t.b-t.t,t.r-t.l,I)/2);return"M"+(t.l-3.5)+","+(t.t-.5+e)+"h3v"+-e+"h"+e+"v-3h-"+(e+3)+"ZM"+(t.r+3.5)+","+(t.t-.5+e)+"h-3v"+-e+"h"+-e+"v-3h"+(e+3)+"ZM"+(t.r+3.5)+","+(t.b+.5-e)+"h-3v"+e+"h"+-e+"v3h"+(e+3)+"ZM"+(t.l-3.5)+","+(t.b+.5-e)+"h3v"+e+"h"+e+"v3h-"+(e+3)+"Z"}function H(t,e,n,i,o){for(var a,s,l,u,c=!1,h={},d={},f=(o||{}).xaHash,_=(o||{}).yaHash,p=0;p=0)r._fullLayout._deactivateShape(r);else{var a=r._fullLayout.clickmode;if(F(r),2!==t||vt||Wt(),mt)a.indexOf("select")>-1&&S(n,r,Z,Y,e.id,It),a.indexOf("event")>-1&&f.click(r,n,e.id);else if(1===t&&vt){var s=p?L:O,u="s"===p||"w"===v?0:1,h=s._name+".range["+u+"]",d=function(t,e){var n,i=t.range[e],r=Math.abs(i-t.range[1-e]);return"date"===t.type?i:"log"===t.type?(n=Math.ceil(Math.max(0,-Math.log(r)/Math.LN10))+3,o("."+n+"g")(Math.pow(10,i))):(n=Math.floor(Math.log(Math.abs(i))/Math.LN10)-Math.floor(Math.log(r)/Math.LN10)+4,o("."+String(n)+"g")(i))}(s,u),_="left",m="middle";if(s.fixedrange)return;p?(m="n"===p?"top":"bottom","right"===s.side&&(_="right")):"e"===v&&(_="right"),r._context.showAxisRangeEntryBoxes&&i.select(bt).call(c.makeEditable,{gd:r,immediate:!0,background:r._fullLayout.paper_bgcolor,text:String(d),fill:s.tickfont?s.tickfont.color:"#444",horizontalAlign:_,verticalAlign:m}).on("edit",(function(t){var e=s.d2r(t);void 0!==e&&l.call("_guiRelayout",r,h,e)}))}}}function Mt(e,n){if(t._transitioningWithDuration)return!1;var i=Math.max(0,Math.min(tt,ft*e+wt)),r=Math.max(0,Math.min(et,_t*n+Et)),o=Math.abs(i-wt),a=Math.abs(r-Et);function s(){St="",xt.r=xt.l,xt.t=xt.b,kt.attr("d","M0,0Z")}if(xt.l=Math.min(wt,i),xt.r=Math.max(wt,i),xt.t=Math.min(Et,r),xt.b=Math.max(Et,r),nt.isSubplotConstrained)o>I||a>I?(St="xy",o/tt>a/et?(a=o*et/tt,Et>r?xt.t=Et-a:xt.b=Et+a):(o=a*tt/et,wt>i?xt.l=wt-o:xt.r=wt+o),kt.attr("d",G(xt))):s();else if(it.isSubplotConstrained)if(o>I||a>I){St="xy";var l=Math.min(xt.l/tt,(et-xt.b)/et),u=Math.max(xt.r/tt,(et-xt.t)/et);xt.l=l*tt,xt.r=u*tt,xt.b=(1-l)*et,xt.t=(1-u)*et,kt.attr("d",G(xt))}else s();else!ot||a0){var c;if(it.isSubplotConstrained||!rt&&1===ot.length){for(c=0;c1&&(void 0!==o.maxallowed&&st===(o.range[0]1&&(void 0!==a.maxallowed&<===(a.range[0]b[1]-1/4096&&(e.domain=s),r.noneOrAll(t.domain,e.domain,s),"sync"===e.tickmode&&(e.tickmode="auto")}return n("layer"),e}},42568:function(t,e,n){"use strict";var i=n(85024);t.exports=function(t,e,n,r,o){o||(o={});var a=o.tickSuffixDflt,s=i(t);n("tickprefix")&&n("showtickprefix",s),n("ticksuffix",a)&&n("showticksuffix",s)}},96312:function(t,e,n){"use strict";var i=n(76808);t.exports=function(t,e,n,r){var o=e._template||{},a=e.type||o.type||"-";n("minallowed"),n("maxallowed");var s,l=n("range");l||r.noInsiderange||"log"===a||(!(s=n("insiderange"))||null!==s[0]&&null!==s[1]||(e.insiderange=!1,s=void 0),s&&(l=n("range",s)));var u,c=e.getAutorangeDflt(l,r),h=n("autorange",c);!l||(null!==l[0]||null!==l[1])&&(null!==l[0]&&null!==l[1]||"reversed"!==h&&!0!==h)&&(null===l[0]||"min"!==h&&"max reversed"!==h)&&(null===l[1]||"max"!==h&&"min reversed"!==h)||(l=void 0,delete e.range,e.autorange=!0,u=!0),u||(h=n("autorange",c=e.getAutorangeDflt(l,r))),h&&(i(n,h,l),"linear"!==a&&"-"!==a||n("rangemode")),e.cleanRange()}},21160:function(t,e,n){"use strict";var i=n(84284).FROM_BL;t.exports=function(t,e,n){void 0===n&&(n=i[t.constraintoward||"center"]);var r=[t.r2l(t.range[0]),t.r2l(t.range[1])],o=r[0]+(r[1]-r[0])*n;t.range=t._input.range=[t.l2r(o+(r[0]-o)*e),t.l2r(o+(r[1]-o)*e)],t.setScale()}},78344:function(t,e,n){"use strict";var i=n(33428),r=n(94336).E9,o=n(3400),a=o.numberFormat,s=n(38248),l=o.cleanNumber,u=o.ms2DateTime,c=o.dateTime2ms,h=o.ensureNumber,d=o.isArrayOrTypedArray,f=n(39032),_=f.FP_SAFE,p=f.BADNUM,m=f.LOG_CLIP,v=f.ONEWEEK,g=f.ONEDAY,y=f.ONEHOUR,b=f.ONEMIN,w=f.ONESEC,E=n(79811),x=n(33816),C=x.HOUR_PATTERN,T=x.WEEKDAY_PATTERN;function A(t){return Math.pow(10,t)}function S(t){return null!=t}t.exports=function(t,e){e=e||{};var n=t._id||"x",f=n.charAt(0);function z(e,n){if(e>0)return Math.log(e)/Math.LN10;if(e<=0&&n&&t.range&&2===t.range.length){var i=t.range[0],r=t.range[1];return.5*(i+r-2*m*Math.abs(i-r))}return p}function k(e,n,i,r){if((r||{}).msUTC&&s(e))return+e;var a=c(e,i||t.calendar);if(a===p){if(!s(e))return p;e=+e;var l=Math.floor(10*o.mod(e+.05,1)),u=Math.round(e-l/10);a=c(new Date(u))+l/10}return a}function N(e,n,i){return u(e,n,i||t.calendar)}function I(e){return t._categories[Math.round(e)]}function O(e){if(S(e)){if(void 0===t._categoriesMap&&(t._categoriesMap={}),void 0!==t._categoriesMap[e])return t._categoriesMap[e];t._categories.push("number"==typeof e?String(e):e);var n=t._categories.length-1;return t._categoriesMap[e]=n,n}return p}function L(e){if(t._categoriesMap)return t._categoriesMap[e]}function M(t){var e=L(t);return void 0!==e?e:s(t)?+t:void 0}function $(t){return s(t)?+t:L(t)}function R(t,e,n){return i.round(n+e*t,2)}function P(t,e,n){return(t-n)/e}var U=function(e){return s(e)?R(e,t._m,t._b):p},j=function(e){return P(e,t._m,t._b)};if(t.rangebreaks){var q="y"===f;U=function(e){if(!s(e))return p;var n=t._rangebreaks.length;if(!n)return R(e,t._m,t._b);var i=q;t.range[0]>t.range[1]&&(i=!i);for(var r=i?-1:1,o=r*e,a=0,l=0;lc)){a=o<(u+c)/2?l:l+1;break}a=l+1}var h=t._B[a]||0;return isFinite(h)?R(e,t._m2,h):0},j=function(e){var n=t._rangebreaks.length;if(!n)return P(e,t._m,t._b);for(var i=0,r=0;rt._rangebreaks[r].pmax&&(i=r+1);return P(e,t._m2,t._B[i])}}t.c2l="log"===t.type?z:h,t.l2c="log"===t.type?A:h,t.l2p=U,t.p2l=j,t.c2p="log"===t.type?function(t,e){return U(z(t,e))}:U,t.p2c="log"===t.type?function(t){return A(j(t))}:j,-1!==["linear","-"].indexOf(t.type)?(t.d2r=t.r2d=t.d2c=t.r2c=t.d2l=t.r2l=l,t.c2d=t.c2r=t.l2d=t.l2r=h,t.d2p=t.r2p=function(e){return t.l2p(l(e))},t.p2d=t.p2r=j,t.cleanPos=h):"log"===t.type?(t.d2r=t.d2l=function(t,e){return z(l(t),e)},t.r2d=t.r2c=function(t){return A(l(t))},t.d2c=t.r2l=l,t.c2d=t.l2r=h,t.c2r=z,t.l2d=A,t.d2p=function(e,n){return t.l2p(t.d2r(e,n))},t.p2d=function(t){return A(j(t))},t.r2p=function(e){return t.l2p(l(e))},t.p2r=j,t.cleanPos=h):"date"===t.type?(t.d2r=t.r2d=o.identity,t.d2c=t.r2c=t.d2l=t.r2l=k,t.c2d=t.c2r=t.l2d=t.l2r=N,t.d2p=t.r2p=function(e,n,i){return t.l2p(k(e,0,i))},t.p2d=t.p2r=function(t,e,n){return N(j(t),e,n)},t.cleanPos=function(e){return o.cleanDate(e,p,t.calendar)}):"category"===t.type?(t.d2c=t.d2l=O,t.r2d=t.c2d=t.l2d=I,t.d2r=t.d2l_noadd=M,t.r2c=function(e){var n=$(e);return void 0!==n?n:t.fraction2r(.5)},t.l2r=t.c2r=h,t.r2l=$,t.d2p=function(e){return t.l2p(t.r2c(e))},t.p2d=function(t){return I(j(t))},t.r2p=t.d2p,t.p2r=j,t.cleanPos=function(t){return"string"==typeof t&&""!==t?t:h(t)}):"multicategory"===t.type&&(t.r2d=t.c2d=t.l2d=I,t.d2r=t.d2l_noadd=M,t.r2c=function(e){var n=M(e);return void 0!==n?n:t.fraction2r(.5)},t.r2c_just_indices=L,t.l2r=t.c2r=h,t.r2l=M,t.d2p=function(e){return t.l2p(t.r2c(e))},t.p2d=function(t){return I(j(t))},t.r2p=t.d2p,t.p2r=j,t.cleanPos=function(t){return Array.isArray(t)||"string"==typeof t&&""!==t?t:h(t)},t.setupMultiCategory=function(i){var r,a,s=t._traceIndices,l=t._matchGroup;if(l&&0===t._categories.length)for(var u in l)if(u!==n){var c=e[E.id2name(u)];s=s.concat(c._traceIndices)}var h=[[0,{}],[0,{}]],_=[];for(r=0;rl[1]&&(r[s?0:1]=i),r[0]===r[1]){var u=t.l2r(n),c=t.l2r(i);if(void 0!==n){var h=u+1;void 0!==i&&(h=Math.min(h,c)),r[s?1:0]=h}if(void 0!==i){var d=c+1;void 0!==n&&(d=Math.max(d,u)),r[s?0:1]=d}}}},t.cleanRange=function(e,n){t._cleanRange(e,n),t.limitRange(e)},t._cleanRange=function(e,n){n||(n={}),e||(e="range");var i,r,a=o.nestedProperty(t,e).get();if(r=(r="date"===t.type?o.dfltRange(t.calendar):"y"===f?x.DFLTRANGEY:"realaxis"===t._name?[0,1]:n.dfltRange||x.DFLTRANGEX).slice(),"tozero"!==t.rangemode&&"nonnegative"!==t.rangemode||(r[0]=0),a&&2===a.length){var l=null===a[0],u=null===a[1];for("date"!==t.type||t.autorange||(a[0]=o.cleanDate(a[0],p,t.calendar),a[1]=o.cleanDate(a[1],p,t.calendar)),i=0;i<2;i++)if("date"===t.type){if(!o.isDateTime(a[i],t.calendar)){t[e]=r;break}if(t.r2l(a[0])===t.r2l(a[1])){var c=o.constrain(t.r2l(a[0]),o.MIN_MS+1e3,o.MAX_MS-1e3);a[0]=t.l2r(c-1e3),a[1]=t.l2r(c+1e3);break}}else{if(!s(a[i])){if(l||u||!s(a[1-i])){t[e]=r;break}a[i]=a[1-i]*(i?10:.1)}if(a[i]<-_?a[i]=-_:a[i]>_&&(a[i]=_),a[0]===a[1]){var h=Math.max(1,Math.abs(1e-6*a[0]));a[0]-=h,a[1]+=h}}}else o.nestedProperty(t,e).set(r)},t.setScale=function(n){var i=e._size;if(t.overlaying){var r=E.getFromId({_fullLayout:e},t.overlaying);t.domain=r.domain}var o=n&&t._r?"_r":"range",a=t.calendar;t.cleanRange(o);var s,l,u=t.r2l(t[o][0],a),c=t.r2l(t[o][1],a),h="y"===f;if(h?(t._offset=i.t+(1-t.domain[1])*i.h,t._length=i.h*(t.domain[1]-t.domain[0]),t._m=t._length/(u-c),t._b=-t._m*c):(t._offset=i.l+t.domain[0]*i.w,t._length=i.w*(t.domain[1]-t.domain[0]),t._m=t._length/(c-u),t._b=-t._m*u),t._rangebreaks=[],t._lBreaks=0,t._m2=0,t._B=[],t.rangebreaks&&(t._rangebreaks=t.locateBreaks(Math.min(u,c),Math.max(u,c)),t._rangebreaks.length)){for(s=0;sc&&(d=!d),d&&t._rangebreaks.reverse();var _=d?-1:1;for(t._m2=_*t._length/(Math.abs(c-u)-t._lBreaks),t._B.push(-t._m2*(h?c:u)),s=0;sr&&(r+=7,ar&&(r+=24,a=i&&a=i&&e=s.min&&(ts.max&&(s.max=i),r=!1)}r&&u.push({min:t,max:i})}};for(i=0;in.duration?(function(){for(var n={},i=0;i rect").call(a.setTranslate,0,0).call(a.setScale,1,1),t.plot.call(a.setTranslate,e._offset,n._offset).call(a.setScale,1,1);var i=t.plot.selectAll(".scatterlayer .trace");i.selectAll(".point").call(a.setPointGroupScale,1,1),i.selectAll(".textpoint").call(a.setTextPointsScale,1,1),i.call(a.hideOutsideRangePoints,t)}function m(e,n){var i=e.plotinfo,r=i.xaxis,l=i.yaxis,u=r._length,c=l._length,h=!!e.xr1,d=!!e.yr1,f=[];if(h){var _=o.simpleMap(e.xr0,r.r2l),p=o.simpleMap(e.xr1,r.r2l),m=_[1]-_[0],v=p[1]-p[0];f[0]=(_[0]*(1-n)+n*p[0]-_[0])/(_[1]-_[0])*u,f[2]=u*(1-n+n*v/m),r.range[0]=r.l2r(_[0]*(1-n)+n*p[0]),r.range[1]=r.l2r(_[1]*(1-n)+n*p[1])}else f[0]=0,f[2]=u;if(d){var g=o.simpleMap(e.yr0,l.r2l),y=o.simpleMap(e.yr1,l.r2l),b=g[1]-g[0],w=y[1]-y[0];f[1]=(g[1]*(1-n)+n*y[1]-g[1])/(g[0]-g[1])*c,f[3]=c*(1-n+n*w/b),l.range[0]=r.l2r(g[0]*(1-n)+n*y[0]),l.range[1]=l.l2r(g[1]*(1-n)+n*y[1])}else f[1]=0,f[3]=c;s.drawOne(t,r,{skipTitle:!0}),s.drawOne(t,l,{skipTitle:!0}),s.redrawComponents(t,[r._id,l._id]);var E=h?u/f[2]:1,x=d?c/f[3]:1,C=h?f[0]:0,T=d?f[1]:0,A=h?f[0]/f[2]*u:0,S=d?f[1]/f[3]*c:0,z=r._offset-A,k=l._offset-S;i.clipRect.call(a.setTranslate,C,T).call(a.setScale,1/E,1/x),i.plot.call(a.setTranslate,z,k).call(a.setScale,E,x),a.setPointGroupScale(i.zoomScalePts,1/E,1/x),a.setTextPointsScale(i.zoomScaleTxt,1/E,1/x)}s.redrawComponents(t)}},14944:function(t,e,n){"use strict";var i=n(24040).traceIs,r=n(52976);function o(t){return{v:"x",h:"y"}[t.orientation||"v"]}function a(t,e){var n=o(t),r=i(t,"box-violin"),a=i(t._fullInput||{},"candlestick");return r&&!a&&e===n&&void 0===t[n]&&void 0===t[n+"0"]}t.exports=function(t,e,n,s){n("autotypenumbers",s.autotypenumbersDflt),"-"===n("type",(s.splomStash||{}).type)&&(function(t,e){if("-"===t.type){var n,s=t._id,l=s.charAt(0);-1!==s.indexOf("scene")&&(s=l);var u=function(t,e,n){for(var i=0;i0&&(r["_"+n+"axes"]||{})[e])return r;if((r[n+"axis"]||n)===e){if(a(r,n))return r;if((r[n]||[]).length||r[n+"0"])return r}}}(e,s,l);if(u)if("histogram"!==u.type||l!=={v:"y",h:"x"}[u.orientation||"v"]){var c=l+"calendar",h=u[c],d={noMultiCategory:!i(u,"cartesian")||i(u,"noMultiCategory")};if("box"===u.type&&u._hasPreCompStats&&l==={h:"x",v:"y"}[u.orientation||"v"]&&(d.noMultiCategory=!0),d.autotypenumbers=t.autotypenumbers,a(u,l)){var f=o(u),_=[];for(n=0;n0?".":"")+o;r.isPlainObject(a)?l(a,e,s,i+1):e(s,o,a)}}))}e.manageCommandObserver=function(t,n,i,a){var s={},l=!0;n&&n._commandObserver&&(s=n._commandObserver),s.cache||(s.cache={}),s.lookupTable={};var u=e.hasSimpleAPICommandBindings(t,i,s.lookupTable);if(n&&n._commandObserver){if(u)return s;if(n._commandObserver.remove)return n._commandObserver.remove(),n._commandObserver=null,s}if(u){o(t,u,s.cache),s.check=function(){if(l){var e=o(t,u,s.cache);return e.changed&&a&&void 0!==s.lookupTable[e.value]&&(s.disable(),Promise.resolve(a({value:e.value,type:u.type,prop:u.prop,traces:u.traces,index:s.lookupTable[e.value]})).then(s.enable,s.enable)),e.changed}};for(var c=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],h=0;h0&&r<0&&(r+=360);var s=(r-i)/4;return{type:"Polygon",coordinates:[[[i,o],[i,a],[i+s,a],[i+2*s,a],[i+3*s,a],[r,a],[r,o],[r-s,o],[r-2*s,o],[r-3*s,o],[i,o]]]}}t.exports=function(t){return new A(t)},S.plot=function(t,e,n,i){var r=this;if(i)return r.update(t,e,!0);r._geoCalcData=t,r._fullLayout=e;var o=e[this.id],a=[],s=!1;for(var l in E.layerNameToAdjective)if("frame"!==l&&o["show"+l]){s=!0;break}for(var u=!1,c=0;c0&&a._module.calcGeoJSON(o,e)}if(!n){if(this.updateProjection(t,e))return;this.viewInitial&&this.scope===i.scope||this.saveViewInitial(i)}this.scope=i.scope,this.updateBaseLayers(e,i),this.updateDims(e,i),this.updateFx(e,i),_.generalUpdatePerTraceModule(this.graphDiv,this,t,i);var s=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=s.selectAll(".point"),this.dataPoints.text=s.selectAll("text"),this.dataPaths.line=s.selectAll(".js-line");var l=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=l.selectAll("path"),this._render()},S.updateProjection=function(t,e){var n=this.graphDiv,i=e[this.id],l=e._size,c=i.domain,h=i.projection,d=i.lonaxis,f=i.lataxis,_=d._ax,p=f._ax,v=this.projection=function(t){var e=t.projection,n=e.type,i=E.projNames[n];i="geo"+u.titleCase(i);for(var l=(r[i]||s[i])(),c=t._isSatellite?180*Math.acos(1/e.distance)/Math.PI:t._isClipped?E.lonaxisSpan[n]/2:null,h=["center","rotate","parallels","clipExtent"],d=function(t){return t?l:[]},f=0;fc*Math.PI/180}return!1},l.getPath=function(){return o().projection(l)},l.getBounds=function(t){return l.getPath().bounds(t)},l.precision(E.precision),t._isSatellite&&l.tilt(e.tilt).distance(e.distance),c&&l.clipAngle(c-E.clipPad),l}(i),g=[[l.l+l.w*c.x[0],l.t+l.h*(1-c.y[1])],[l.l+l.w*c.x[1],l.t+l.h*(1-c.y[0])]],y=i.center||{},b=h.rotation||{},w=d.range||[],x=f.range||[];if(i.fitbounds){_._length=g[1][0]-g[0][0],p._length=g[1][1]-g[0][1],_.range=m(n,_),p.range=m(n,p);var C=(_.range[0]+_.range[1])/2,T=(p.range[0]+p.range[1])/2;if(i._isScoped)y={lon:C,lat:T};else if(i._isClipped){y={lon:C,lat:T},b={lon:C,lat:T,roll:b.roll};var A=h.type,S=E.lonaxisSpan[A]/2||180,k=E.lataxisSpan[A]/2||90;w=[C-S,C+S],x=[T-k,T+k]}else y={lon:C,lat:T},b={lon:C,lat:b.lat,roll:b.roll}}v.center([y.lon-b.lon,y.lat-b.lat]).rotate([-b.lon,-b.lat,b.roll]).parallels(h.parallels);var N=z(w,x);v.fitExtent(g,N);var I=this.bounds=v.getBounds(N),O=this.fitScale=v.scale(),L=v.translate();if(i.fitbounds){var M=v.getBounds(z(_.range,p.range)),$=Math.min((I[1][0]-I[0][0])/(M[1][0]-M[0][0]),(I[1][1]-I[0][1])/(M[1][1]-M[0][1]));isFinite($)?v.scale($*O):u.warn("Something went wrong during"+this.id+"fitbounds computations.")}else v.scale(h.scale*O);var R=this.midPt=[(I[0][0]+I[1][0])/2,(I[0][1]+I[1][1])/2];if(v.translate([L[0]+(R[0]-L[0]),L[1]+(R[1]-L[1])]).clipExtent(I),i._isAlbersUsa){var P=v([y.lon,y.lat]),U=v.translate();v.translate([U[0]-(P[0]-U[0]),U[1]-(P[1]-U[1])])}},S.updateBaseLayers=function(t,e){var n=this,r=n.topojson,o=n.layers,a=n.basePaths;function s(t){return"lonaxis"===t||"lataxis"===t}function l(t){return Boolean(E.lineLayers[t])}function u(t){return Boolean(E.fillLayers[t])}var c=(this.hasChoropleth?E.layersForChoropleth:E.layers).filter((function(t){return l(t)||u(t)?e["show"+t]:!s(t)||e[t].showgrid})),f=n.framework.selectAll(".layer").data(c,String);f.exit().each((function(t){delete o[t],delete a[t],i.select(this).remove()})),f.enter().append("g").attr("class",(function(t){return"layer "+t})).each((function(t){var e=o[t]=i.select(this);"bg"===t?n.bgRect=e.append("rect").style("pointer-events","all"):s(t)?a[t]=e.append("path").style("fill","none"):"backplot"===t?e.append("g").classed("choroplethlayer",!0):"frontplot"===t?e.append("g").classed("scatterlayer",!0):l(t)?a[t]=e.append("path").style("fill","none").style("stroke-miterlimit",2):u(t)&&(a[t]=e.append("path").style("stroke","none"))})),f.order(),f.each((function(n){var i=a[n],o=E.layerNameToAdjective[n];"frame"===n?i.datum(E.sphereSVG):l(n)||u(n)?i.datum(T(r,r.objects[n])):s(n)&&i.datum(function(t,e,n){var i,r,o,a=e[t],s=E.scopeDefaults[e.scope];"lonaxis"===t?(i=s.lonaxisRange,r=s.lataxisRange,o=function(t,e){return[t,e]}):"lataxis"===t&&(i=s.lataxisRange,r=s.lonaxisRange,o=function(t,e){return[e,t]});var l={type:"linear",range:[i[0],i[1]-1e-6],tick0:a.tick0,dtick:a.dtick};p.setConvert(l,n);var u=p.calcTicks(l);e.isScoped||"lonaxis"!==t||u.pop();for(var c=u.length,h=new Array(c),d=0;d-1&&b(i.event,r,[n.xaxis],[n.yaxis],n.id,c),s.indexOf("event")>-1&&f.click(r,i.event))}))}function h(t){return n.projection.invert([t[0]+n.xaxis._offset,t[1]+n.yaxis._offset])}},S.makeFramework=function(){var t=this,e=t.graphDiv,n=e._fullLayout,r="clip"+n._uid+t.id;t.clipDef=n._clips.append("clipPath").attr("id",r),t.clipRect=t.clipDef.append("rect"),t.framework=i.select(t.container).append("g").attr("class","geo "+t.id).call(d.setClipUrl,r,e),t.project=function(e){var n=t.projection(e);return n?[n[0]-t.xaxis._offset,n[1]-t.yaxis._offset]:[null,null]},t.xaxis={_id:"x",c2p:function(e){return t.project(e)[0]}},t.yaxis={_id:"y",c2p:function(e){return t.project(e)[1]}},t.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},p.setConvert(t.mockAxis,n)},S.saveViewInitial=function(t){var e,n=t.center||{},i=t.projection,r=i.rotation||{};this.viewInitial={fitbounds:t.fitbounds,"projection.scale":i.scale},e=t._isScoped?{"center.lon":n.lon,"center.lat":n.lat}:t._isClipped?{"projection.rotation.lon":r.lon,"projection.rotation.lat":r.lat}:{"center.lon":n.lon,"center.lat":n.lat,"projection.rotation.lon":r.lon},u.extendFlat(this.viewInitial,e)},S.render=function(t){this._hasMarkerAngles&&t?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},S._render=function(){var t,e=this.projection,n=e.getPath();function i(t){var n=e(t.lonlat);return n?c(n[0],n[1]):null}function r(t){return e.isLonLatOverEdges(t.lonlat)?"none":null}for(t in this.basePaths)this.basePaths[t].attr("d",n);for(t in this.dataPaths)this.dataPaths[t].attr("d",(function(t){return n(t.geojson)}));for(t in this.dataPoints)this.dataPoints[t].attr("display",r).attr("transform",i)}},10816:function(t,e,n){"use strict";var i=n(84888).KY,r=n(3400).counterRegex,o=n(43520),a="geo",s=r(a),l={};l[a]={valType:"subplotid",dflt:a,editType:"calc"},t.exports={attr:a,name:a,idRoot:a,idRegex:s,attrRegex:s,attributes:l,layoutAttributes:n(40384),supplyLayoutDefaults:n(86920),plot:function(t){for(var e=t._fullLayout,n=t.calcdata,r=e._subplots[a],s=0;s0&&I<0&&(I+=360);var O,L,M,$=(N+I)/2;if(!f){var R=_?h.projRotate:[$,0,0];O=n("projection.rotation.lon",R[0]),n("projection.rotation.lat",R[1]),n("projection.rotation.roll",R[2]),n("showcoastlines",!_&&y)&&(n("coastlinecolor"),n("coastlinewidth")),n("showocean",!!y&&void 0)&&n("oceancolor")}f?(L=-96.6,M=38.7):(L=_?$:O,M=(k[0]+k[1])/2),n("center.lon",L),n("center.lat",M),p&&(n("projection.tilt"),n("projection.distance")),m&&n("projection.parallels",h.projParallels||[0,60]),n("projection.scale"),n("showland",!!y&&void 0)&&n("landcolor"),n("showlakes",!!y&&void 0)&&n("lakecolor"),n("showrivers",!!y&&void 0)&&(n("rivercolor"),n("riverwidth")),n("showcountries",_&&"usa"!==c&&y)&&(n("countrycolor"),n("countrywidth")),("usa"===c||"north america"===c&&50===u)&&(n("showsubunits",y),n("subunitcolor"),n("subunitwidth")),_||n("showframe",y)&&(n("framecolor"),n("framewidth")),n("bgcolor"),n("fitbounds")&&(delete e.projection.scale,_?(delete e.center.lon,delete e.center.lat):v?(delete e.center.lon,delete e.center.lat,delete e.projection.rotation.lon,delete e.projection.rotation.lat,delete e.lonaxis.range,delete e.lataxis.range):(delete e.center.lon,delete e.center.lat,delete e.projection.rotation.lon))}t.exports=function(t,e,n){r(t,e,n,{type:"geo",attributes:s,handleDefaults:u,fullData:n,partition:"y"})}},79248:function(t,e,n){"use strict";var i=n(33428),r=n(3400),o=n(24040),a=Math.PI/180,s=180/Math.PI,l={cursor:"pointer"},u={cursor:"auto"};function c(t,e){return i.behavior.zoom().translate(e.translate()).scale(e.scale())}function h(t,e,n){var i=t.id,a=t.graphDiv,s=a.layout,l=s[i],u=a._fullLayout,c=u[i],h={},d={};function f(t,e){h[i+"."+t]=r.nestedProperty(l,t).get(),o.call("_storeDirectGUIEdit",s,u._preGUI,h);var n=r.nestedProperty(c,t);n.get()!==e&&(n.set(e),r.nestedProperty(l,t).set(e),d[i+"."+t]=e)}n(f),f("projection.scale",e.scale()/t.fitScale),f("fitbounds",!1),a.emit("plotly_relayout",d)}function d(t,e){var n=c(0,e);function r(n){var i=e.invert(t.midPt);n("center.lon",i[0]),n("center.lat",i[1])}return n.on("zoomstart",(function(){i.select(this).style(l)})).on("zoom",(function(){e.scale(i.event.scale).translate(i.event.translate),t.render(!0);var n=e.invert(t.midPt);t.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":e.scale()/t.fitScale,"geo.center.lon":n[0],"geo.center.lat":n[1]})})).on("zoomend",(function(){i.select(this).style(u),h(t,e,r)})),n}function f(t,e){var n,r,o,a,s,d,f,_,p,m=c(0,e);function v(t){return e.invert(t)}function g(n){var i=e.rotate(),r=e.invert(t.midPt);n("projection.rotation.lon",-i[0]),n("center.lon",r[0]),n("center.lat",r[1])}return m.on("zoomstart",(function(){i.select(this).style(l),n=i.mouse(this),r=e.rotate(),o=e.translate(),a=r,s=v(n)})).on("zoom",(function(){if(d=i.mouse(this),function(t){var n=v(t);if(!n)return!0;var i=e(n);return Math.abs(i[0]-t[0])>2||Math.abs(i[1]-t[1])>2}(n))return m.scale(e.scale()),void m.translate(e.translate());e.scale(i.event.scale),e.translate([o[0],i.event.translate[1]]),s?v(d)&&(_=v(d),f=[a[0]+(_[0]-s[0]),r[1],r[2]],e.rotate(f),a=f):s=v(n=d),p=!0,t.render(!0);var l=e.rotate(),u=e.invert(t.midPt);t.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":e.scale()/t.fitScale,"geo.center.lon":u[0],"geo.center.lat":u[1],"geo.projection.rotation.lon":-l[0]})})).on("zoomend",(function(){i.select(this).style(u),p&&h(t,e,g)})),m}function _(t,e){var n,r={r:e.rotate(),k:e.scale()},o=c(0,e),d=function(t){for(var e=0,n=arguments.length,r=[];++e_?(o=(h>0?90:-90)-f,r=0):(o=Math.asin(h/_)*s-f,r=Math.sqrt(_*_-h*h));var p=180-o-2*f,v=(Math.atan2(d,c)-Math.atan2(u,r))*s,y=(Math.atan2(d,c)-Math.atan2(u,-r))*s;return m(n[0],n[1],o,v)<=m(n[0],n[1],p,y)?[o,v,n[2]]:[p,y,n[2]]}(x,n,z);isFinite(C[0])&&isFinite(C[1])&&isFinite(C[2])||(C=z),e.rotate(C),z=C}}else n=p(e,A=b);d.of(this,arguments)({type:"zoom"})})),T=d.of(this,arguments),f++||T({type:"zoomstart"})})).on("zoomend",(function(){var n;i.select(this).style(u),_.call(o,"zoom",null),n=d.of(this,arguments),--f||n({type:"zoomend"}),h(t,e,v)})).on("zoom.redraw",(function(){t.render(!0);var n=e.rotate();t.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":e.scale()/t.fitScale,"geo.projection.rotation.lon":-n[0],"geo.projection.rotation.lat":-n[1]})})),i.rebind(o,d,"on")}function p(t,e){var n=t.invert(e);return n&&isFinite(n[0])&&isFinite(n[1])&&function(t){var e=t[0]*a,n=t[1]*a,i=Math.cos(n);return[i*Math.cos(e),i*Math.sin(e),Math.sin(n)]}(n)}function m(t,e,n,i){var r=v(n-t),o=v(i-e);return Math.sqrt(r*r+o*o)}function v(t){return(t%360+540)%360-180}function g(t,e,n){var i=n*a,r=t.slice(),o=0===e?1:0,s=2===e?1:2,l=Math.cos(i),u=Math.sin(i);return r[o]=t[o]*l-t[s]*u,r[s]=t[s]*l+t[o]*u,r}function y(t,e){for(var n=0,i=0,r=t.length;iMath.abs(s)?(u.boxEnd[1]=u.boxStart[1]+Math.abs(o)*w*(s>=0?1:-1),u.boxEnd[1]l[3]&&(u.boxEnd[1]=l[3],u.boxEnd[0]=u.boxStart[0]+(l[3]-u.boxStart[1])/Math.abs(w))):(u.boxEnd[0]=u.boxStart[0]+Math.abs(s)/w*(o>=0?1:-1),u.boxEnd[0]l[2]&&(u.boxEnd[0]=l[2],u.boxEnd[1]=u.boxStart[1]+(l[2]-u.boxStart[0])*Math.abs(w)))}}else u.boxEnabled?(o=u.boxStart[0]!==u.boxEnd[0],s=u.boxStart[1]!==u.boxEnd[1],o||s?(o&&(m(0,u.boxStart[0],u.boxEnd[0]),t.xaxis.autorange=!1),s&&(m(1,u.boxStart[1],u.boxEnd[1]),t.yaxis.autorange=!1),t.relayoutCallback()):t.glplot.setDirty(),u.boxEnabled=!1,u.boxInited=!1):u.boxInited&&(u.boxInited=!1);break;case"pan":u.boxEnabled=!1,u.boxInited=!1,e?(u.panning||(u.dragStart[0]=i,u.dragStart[1]=r),Math.abs(u.dragStart[0]-i)<_&&(i=u.dragStart[0]),Math.abs(u.dragStart[1]-r)<_&&(r=u.dragStart[1]),o=(d-i)*(l[2]-l[0])/(n.viewBox[2]-n.viewBox[0]),s=(f-r)*(l[3]-l[1])/(n.viewBox[3]-n.viewBox[1]),l[0]+=o,l[2]+=o,l[1]+=s,l[3]+=s,t.setRanges(l),u.panning=!0,u.lastInputTime=Date.now(),c(),t.cameraChanged(),t.handleAnnotations()):u.panning&&(u.panning=!1,t.relayoutCallback())}u.lastPos[0]=i,u.lastPos[1]=r}return u.mouseListener=i(e,h),e.addEventListener("touchstart",(function(t){var n=o(t.changedTouches[0],e);h(0,n[0],n[1]),h(1,n[0],n[1]),t.preventDefault()}),!!s&&{passive:!1}),e.addEventListener("touchmove",(function(t){t.preventDefault();var n=o(t.changedTouches[0],e);h(1,n[0],n[1]),t.preventDefault()}),!!s&&{passive:!1}),e.addEventListener("touchend",(function(t){h(0,u.lastPos[0],u.lastPos[1]),t.preventDefault()}),!!s&&{passive:!1}),u.wheelListener=r(e,(function(e,i){if(!t.scrollZoom)return!1;var r=t.calcDataBox(),o=n.viewBox,a=u.lastPos[0],s=u.lastPos[1],l=Math.exp(5*i/(o[3]-o[1])),h=a/(o[2]-o[0])*(r[2]-r[0])+r[0],d=s/(o[3]-o[1])*(r[3]-r[1])+r[1];return r[0]=(r[0]-h)*l+h,r[2]=(r[2]-h)*l+h,r[1]=(r[1]-d)*l+d,r[3]=(r[3]-d)*l+d,t.setRanges(r),u.lastInputTime=Date.now(),c(),t.cameraChanged(),t.handleAnnotations(),t.relayoutCallback(),!0}),!0),u}},92568:function(t,e,n){"use strict";var i=n(54460),r=n(43080);function o(t){this.scene=t,this.gl=t.gl,this.pixelRatio=t.pixelRatio,this.screenBox=[0,0,1,1],this.viewBox=[0,0,1,1],this.dataBox=[-1,-1,1,1],this.borderLineEnable=[!1,!1,!1,!1],this.borderLineWidth=[1,1,1,1],this.borderLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.ticks=[[],[]],this.tickEnable=[!0,!0,!1,!1],this.tickPad=[15,15,15,15],this.tickAngle=[0,0,0,0],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickMarkLength=[0,0,0,0],this.tickMarkWidth=[0,0,0,0],this.tickMarkColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labels=["x","y"],this.labelEnable=[!0,!0,!1,!1],this.labelAngle=[0,Math.PI/2,0,3*Math.PI/2],this.labelPad=[15,15,15,15],this.labelSize=[12,12],this.labelFont=["sans-serif","sans-serif"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.title="",this.titleEnable=!0,this.titleCenter=[0,0,0,0],this.titleAngle=0,this.titleColor=[0,0,0,1],this.titleFont="sans-serif",this.titleSize=18,this.gridLineEnable=[!0,!0],this.gridLineColor=[[0,0,0,.5],[0,0,0,.5]],this.gridLineWidth=[1,1],this.zeroLineEnable=[!0,!0],this.zeroLineWidth=[1,1],this.zeroLineColor=[[0,0,0,1],[0,0,0,1]],this.borderColor=[0,0,0,0],this.backgroundColor=[0,0,0,0],this.static=this.scene.staticPlot}var a=o.prototype,s=["xaxis","yaxis"];a.merge=function(t){var e,n,i,o,a,l,u,c,h,d,f;for(this.titleEnable=!1,this.backgroundColor=r(t.plot_bgcolor),d=0;d<2;++d){var _=(e=s[d]).charAt(0);for(i=(n=t[this.scene[e]._name]).title.text===this.scene.fullLayout._dfltTitle[_]?"":n.title.text,f=0;f<=2;f+=2)this.labelEnable[d+f]=!1,this.labels[d+f]=i,this.labelColor[d+f]=r(n.title.font.color),this.labelFont[d+f]=n.title.font.family,this.labelSize[d+f]=n.title.font.size,this.labelPad[d+f]=this.getLabelPad(e,n),this.tickEnable[d+f]=!1,this.tickColor[d+f]=r((n.tickfont||{}).color),this.tickAngle[d+f]="auto"===n.tickangle?0:Math.PI*-n.tickangle/180,this.tickPad[d+f]=this.getTickPad(n),this.tickMarkLength[d+f]=0,this.tickMarkWidth[d+f]=n.tickwidth||0,this.tickMarkColor[d+f]=r(n.tickcolor),this.borderLineEnable[d+f]=!1,this.borderLineColor[d+f]=r(n.linecolor),this.borderLineWidth[d+f]=n.linewidth||0;u=this.hasSharedAxis(n),a=this.hasAxisInDfltPos(e,n)&&!u,l=this.hasAxisInAltrPos(e,n)&&!u,o=n.mirror||!1,c=u?-1!==String(o).indexOf("all"):!!o,h=u?"allticks"===o:-1!==String(o).indexOf("ticks"),a?this.labelEnable[d]=!0:l&&(this.labelEnable[d+2]=!0),a?this.tickEnable[d]=n.showticklabels:l&&(this.tickEnable[d+2]=n.showticklabels),(a||c)&&(this.borderLineEnable[d]=n.showline),(l||c)&&(this.borderLineEnable[d+2]=n.showline),(a||h)&&(this.tickMarkLength[d]=this.getTickMarkLength(n)),(l||h)&&(this.tickMarkLength[d+2]=this.getTickMarkLength(n)),this.gridLineEnable[d]=n.showgrid,this.gridLineColor[d]=r(n.gridcolor),this.gridLineWidth[d]=n.gridwidth,this.zeroLineEnable[d]=n.zeroline,this.zeroLineColor[d]=r(n.zerolinecolor),this.zeroLineWidth[d]=n.zerolinewidth}},a.hasSharedAxis=function(t){var e=this.scene,n=e.fullLayout._subplots.gl2d;return 0!==i.findSubplotsWithAxis(n,t).indexOf(e.id)},a.hasAxisInDfltPos=function(t,e){var n=e.side;return"xaxis"===t?"bottom"===n:"yaxis"===t?"left"===n:void 0},a.hasAxisInAltrPos=function(t,e){var n=e.side;return"xaxis"===t?"top"===n:"yaxis"===t?"right"===n:void 0},a.getLabelPad=function(t,e){var n=1.5,i=e.title.font.size,r=e.showticklabels;return"xaxis"===t?"top"===e.side?i*(n+(r?1:0))-10:i*(n+(r?.5:0))-10:"yaxis"===t?"right"===e.side?10+i*(n+(r?1:.5)):10+i*(n+(r?.5:0)):void 0},a.getTickPad=function(t){return"outside"===t.ticks?10+t.ticklen:15},a.getTickMarkLength=function(t){if(!t.ticks)return 0;var e=t.ticklen;return"inside"===t.ticks?-e:e},t.exports=function(t){return new o(t)}},39952:function(t,e,n){"use strict";var i=n(67824).overrideAll,r=n(17188),o=n(64859),a=n(9616),s=n(33816),l=n(57952),u=n(65460),c=n(84888).op;e.name="gl2d",e.attr=["xaxis","yaxis"],e.idRoot=["x","y"],e.idRegex=s.idRegex,e.attrRegex=s.attrRegex,e.attributes=n(26720),e.supplyLayoutDefaults=function(t,e,n){e._has("cartesian")||l.supplyLayoutDefaults(t,e,n)},e.layoutAttrOverrides=i(l.layoutAttributes,"plot","from-root"),e.baseLayoutAttrOverrides=i({plot_bgcolor:o.plot_bgcolor,hoverlabel:u.hoverlabel},"plot","nested"),e.plot=function(t){for(var e=t._fullLayout,n=t._fullData,i=e._subplots.gl2d,o=0;o.999&&(m="turntable"):m="turntable")}else m="turntable";n("dragmode",m),n("hovermode",i.getDfltFromLayout("hovermode"))}t.exports=function(t,e,n){var r=e._basePlotModules.length>1;a(t,e,n,{type:c,attributes:l,handleDefaults:h,fullLayout:e,font:e.font,fullData:n,getDfltFromLayout:function(e){if(!r)return i.validate(t[e],l[e])?t[e]:void 0},autotypenumbersDflt:e.autotypenumbers,paper_bgcolor:e.paper_bgcolor,calendar:e.calendar})}},346:function(t,e,n){"use strict";var i=n(86140),r=n(86968).u,o=n(92880).extendFlat,a=n(3400).counterRegex;function s(t,e,n){return{x:{valType:"number",dflt:t,editType:"camera"},y:{valType:"number",dflt:e,editType:"camera"},z:{valType:"number",dflt:n,editType:"camera"},editType:"camera"}}t.exports={_arrayAttrRegexps:[a("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:o(s(0,0,1),{}),center:o(s(0,0,0),{}),eye:o(s(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:r({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:i,yaxis:i,zaxis:i,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",editType:"camera"}}}},9020:function(t,e,n){"use strict";var i=n(43080),r=["xaxis","yaxis","zaxis"];function o(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}o.prototype.merge=function(t){for(var e=0;e<3;++e){var n=t[r[e]];n.visible?(this.enabled[e]=n.showspikes,this.colors[e]=i(n.spikecolor),this.drawSides[e]=n.spikesides,this.lineWidth[e]=n.spikethickness):(this.enabled[e]=!1,this.drawSides[e]=!1)}},t.exports=function(t){var e=new o;return e.merge(t),e}},87152:function(t,e,n){"use strict";t.exports=function(t){for(var e=t.axesOptions,n=t.glplot.axesPixels,s=t.fullSceneLayout,l=[[],[],[]],u=0;u<3;++u){var c=s[o[u]];if(c._length=(n[u].hi-n[u].lo)*n[u].pixelsPerDataUnit/t.dataScale[u],Math.abs(c._length)===1/0||isNaN(c._length))l[u]=[];else{c._input_range=c.range.slice(),c.range[0]=n[u].lo/t.dataScale[u],c.range[1]=n[u].hi/t.dataScale[u],c._m=1/(t.dataScale[u]*n[u].pixelsPerDataUnit),c.range[0]===c.range[1]&&(c.range[0]-=1,c.range[1]+=1);var h=c.tickmode;if("auto"===c.tickmode){c.tickmode="linear";var d=c.nticks||r.constrain(c._length/40,4,9);i.autoTicks(c,Math.abs(c.range[1]-c.range[0])/d)}for(var f=i.calcTicks(c,{msUTC:!0}),_=0;_/g," "));l[u]=f,c.tickmode=h}}for(e.ticks=l,u=0;u<3;++u)for(a[u]=.5*(t.glplot.bounds[0][u]+t.glplot.bounds[1][u]),_=0;_<2;++_)e.bounds[_][u]=t.glplot.bounds[_][u];t.contourLevels=function(t){for(var e=new Array(3),n=0;n<3;++n){for(var i=t[n],r=new Array(i.length),o=0;on.deltaY?1.1:1/1.1,o=t.glplot.getAspectratio();t.glplot.setAspectratio({x:i*o.x,y:i*o.y,z:i*o.z})}r(t)}}),!!u&&{passive:!1}),t.glplot.canvas.addEventListener("mousemove",(function(){if(!1!==t.fullSceneLayout.dragmode&&0!==t.camera.mouseListener.buttons){var e=i();t.graphDiv.emit("plotly_relayouting",e)}})),t.staticMode||t.glplot.canvas.addEventListener("webglcontextlost",(function(n){e&&e.emit&&e.emit("plotly_webglcontextlost",{event:n,layer:t.id})}),!1)),t.glplot.oncontextloss=function(){t.recoverContext()},t.glplot.onrender=function(){t.render()},!0},C.render=function(){var t,e=this,n=e.graphDiv,i=e.svgContainer,r=e.container.getBoundingClientRect();n._fullLayout._calcInverseTransform(n);var o=n._fullLayout._invScaleX,a=n._fullLayout._invScaleY,s=r.width*o,l=r.height*a;i.setAttributeNS(null,"viewBox","0 0 "+s+" "+l),i.setAttributeNS(null,"width",s),i.setAttributeNS(null,"height",l),b(e),e.glplot.axes.update(e.axesOptions);for(var u=Object.keys(e.traces),c=null,d=e.glplot.selection,p=0;p")):"isosurface"===t.type||"volume"===t.type?(C.valueLabel=f.hoverLabelText(e._mockAxis,e._mockAxis.d2l(d.traceCoordinate[3]),t.valuehoverformat),z.push("value: "+C.valueLabel),d.textLabel&&z.push(d.textLabel),y=z.join("
")):y=d.textLabel;var k={x:d.traceCoordinate[0],y:d.traceCoordinate[1],z:d.traceCoordinate[2],data:w._input,fullData:w,curveNumber:w.index,pointNumber:x};_.appendArrayPointValue(k,w,x),t._module.eventData&&(k=w._module.eventData(k,d,w,{},x));var N={points:[k]};if(e.fullSceneLayout.hovermode){var I=[];_.loneHover({trace:w,x:(.5+.5*g[0]/g[3])*s,y:(.5-.5*g[1]/g[3])*l,xLabel:C.xLabel,yLabel:C.yLabel,zLabel:C.zLabel,text:y,name:c.name,color:_.castHoverOption(w,x,"bgcolor")||c.color,borderColor:_.castHoverOption(w,x,"bordercolor"),fontFamily:_.castHoverOption(w,x,"font.family"),fontSize:_.castHoverOption(w,x,"font.size"),fontColor:_.castHoverOption(w,x,"font.color"),nameLength:_.castHoverOption(w,x,"namelength"),textAlign:_.castHoverOption(w,x,"align"),hovertemplate:h.castOption(w,x,"hovertemplate"),hovertemplateLabels:h.extendFlat({},k,C),eventData:[k]},{container:i,gd:n,inOut_bbox:I}),k.bbox=I[0]}d.distance<5&&(d.buttons||E)?n.emit("plotly_click",N):n.emit("plotly_hover",N),this.oldEventData=N}else _.loneUnhover(i),this.oldEventData&&n.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;e.drawAnnotations(e)},C.recoverContext=function(){var t=this;t.glplot.dispose();var e=function(){t.glplot.gl.isContextLost()?requestAnimationFrame(e):t.initializeGLPlot()?t.plot.apply(t,t.plotArgs):h.error("Catastrophic and unrecoverable WebGL error. Context lost.")};requestAnimationFrame(e)};var A=["xaxis","yaxis","zaxis"];function S(t,e,n){for(var i=t.fullSceneLayout,r=0;r<3;r++){var o=A[r],a=o.charAt(0),s=i[o],l=e[a],u=e[a+"calendar"],c=e["_"+a+"length"];if(h.isArrayOrTypedArray(l))for(var d,f=0;f<(c||l.length);f++)if(h.isArrayOrTypedArray(l[f]))for(var _=0;_v[1][a])v[0][a]=-1,v[1][a]=1;else{var O=v[1][a]-v[0][a];v[0][a]-=O/32,v[1][a]+=O/32}if(b=[v[0][a],v[1][a]],b=w(b,l),v[0][a]=b[0],v[1][a]=b[1],l.isReversed()){var L=v[0][a];v[0][a]=v[1][a],v[1][a]=L}}else b=l.range,v[0][a]=l.r2l(b[0]),v[1][a]=l.r2l(b[1]);v[0][a]===v[1][a]&&(v[0][a]-=1,v[1][a]+=1),g[a]=v[1][a]-v[0][a],l.range=[v[0][a],v[1][a]],l.limitRange(),i.glplot.setBounds(a,{min:l.range[0]*f[a],max:l.range[1]*f[a]})}var M=c.aspectmode;if("cube"===M)m=[1,1,1];else if("manual"===M){var $=c.aspectratio;m=[$.x,$.y,$.z]}else{if("auto"!==M&&"data"!==M)throw new Error("scene.js aspectRatio was not one of the enumerated types");var R=[1,1,1];for(a=0;a<3;++a){var P=y[u=(l=c[A[a]]).type];R[a]=Math.pow(P.acc,1/P.count)/f[a]}m="data"===M||Math.max.apply(null,R)/Math.min.apply(null,R)<=4?R:[1,1,1]}c.aspectratio.x=h.aspectratio.x=m[0],c.aspectratio.y=h.aspectratio.y=m[1],c.aspectratio.z=h.aspectratio.z=m[2],i.glplot.setAspectratio(c.aspectratio),i.viewInitial.aspectratio||(i.viewInitial.aspectratio={x:c.aspectratio.x,y:c.aspectratio.y,z:c.aspectratio.z}),i.viewInitial.aspectmode||(i.viewInitial.aspectmode=c.aspectmode);var U=c.domain||null,j=e._size||null;if(U&&j){var q=i.container.style;q.position="absolute",q.left=j.l+U.x[0]*j.w+"px",q.top=j.t+(1-U.y[1])*j.h+"px",q.width=j.w*(U.x[1]-U.x[0])+"px",q.height=j.h*(U.y[1]-U.y[0])+"px"}i.glplot.redraw()}},C.destroy=function(){var t=this;t.glplot&&(t.camera.mouseListener.enabled=!1,t.container.removeEventListener("wheel",t.camera.wheelListener),t.camera=null,t.glplot.dispose(),t.container.parentNode.removeChild(t.container),t.glplot=null)},C.getCamera=function(){var t,e=this;return e.camera.view.recalcMatrix(e.camera.view.lastT()),{up:{x:(t=e.camera).up[0],y:t.up[1],z:t.up[2]},center:{x:t.center[0],y:t.center[1],z:t.center[2]},eye:{x:t.eye[0],y:t.eye[1],z:t.eye[2]},projection:{type:!0===t._ortho?"orthographic":"perspective"}}},C.setViewport=function(t){var e,n=this,i=t.camera;n.camera.lookAt.apply(this,[[(e=i).eye.x,e.eye.y,e.eye.z],[e.center.x,e.center.y,e.center.z],[e.up.x,e.up.y,e.up.z]]),n.glplot.setAspectratio(t.aspectratio),"orthographic"===i.projection.type!==n.camera._ortho&&(n.glplot.redraw(),n.glplot.clearRGBA(),n.glplot.dispose(),n.initializeGLPlot())},C.isCameraChanged=function(t){var e=this.getCamera(),n=h.nestedProperty(t,this.id+".camera").get();function i(t,e,n,i){var r=["up","center","eye"],o=["x","y","z"];return e[r[n]]&&t[r[n]][o[i]]===e[r[n]][o[i]]}var r=!1;if(void 0===n)r=!0;else{for(var o=0;o<3;o++)for(var a=0;a<3;a++)if(!i(e,n,o,a)){r=!0;break}(!n.projection||e.projection&&e.projection.type!==n.projection.type)&&(r=!0)}return r},C.isAspectChanged=function(t){var e=this.glplot.getAspectratio(),n=h.nestedProperty(t,this.id+".aspectratio").get();return void 0===n||n.x!==e.x||n.y!==e.y||n.z!==e.z},C.saveLayout=function(t){var e,n,i,r,o,a,s=this,l=s.fullLayout,u=s.isCameraChanged(t),d=s.isAspectChanged(t),f=u||d;if(f){var _={};u&&(e=s.getCamera(),i=(n=h.nestedProperty(t,s.id+".camera")).get(),_[s.id+".camera"]=i),d&&(r=s.glplot.getAspectratio(),a=(o=h.nestedProperty(t,s.id+".aspectratio")).get(),_[s.id+".aspectratio"]=a),c.call("_storeDirectGUIEdit",t,l._preGUI,_),u&&(n.set(e),h.nestedProperty(l,s.id+".camera").set(e)),d&&(o.set(r),h.nestedProperty(l,s.id+".aspectratio").set(r),s.glplot.redraw())}return f},C.updateFx=function(t,e){var n=this,i=n.camera;if(i)if("orbit"===t)i.mode="orbit",i.keyBindingMode="rotate";else if("turntable"===t){i.up=[0,0,1],i.mode="turntable",i.keyBindingMode="rotate";var r=n.graphDiv,o=r._fullLayout,a=n.fullSceneLayout.camera,s=a.up.x,l=a.up.y,u=a.up.z;if(u/Math.sqrt(s*s+l*l+u*u)<.999){var d=n.id+".camera.up",f={x:0,y:0,z:1},_={};_[d]=f;var p=r.layout;c.call("_storeDirectGUIEdit",p,o._preGUI,_),a.up=f,h.nestedProperty(p,d).set(f)}}else i.keyBindingMode=t;n.fullSceneLayout.hovermode=e},C.toImage=function(t){var e=this;t||(t="png"),e.staticMode&&e.container.appendChild(i),e.glplot.redraw();var n=e.glplot.gl,r=n.drawingBufferWidth,o=n.drawingBufferHeight;n.bindFramebuffer(n.FRAMEBUFFER,null);var a=new Uint8Array(r*o*4);n.readPixels(0,0,r,o,n.RGBA,n.UNSIGNED_BYTE,a),function(t,e,n){for(var i=0,r=n-1;i0)for(var s=255/a,l=0;l<3;++l)t[o+l]=Math.min(s*t[o+l],255)}}(a,r,o);var s=document.createElement("canvas");s.width=r,s.height=o;var l,u=s.getContext("2d",{willReadFrequently:!0}),c=u.createImageData(r,o);switch(c.data.set(a),u.putImageData(c,0,0),t){case"jpeg":l=s.toDataURL("image/jpeg");break;case"webp":l=s.toDataURL("image/webp");break;default:l=s.toDataURL("image/png")}return e.staticMode&&e.container.removeChild(i),l},C.setConvert=function(){for(var t=0;t<3;t++){var e=this.fullSceneLayout[A[t]];f.setConvert(e,this.fullLayout),e.setScale=h.noop}},C.make4thDimension=function(){var t=this,e=t.graphDiv._fullLayout;t._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},f.setConvert(t._mockAxis,e)},t.exports=x},52094:function(t){"use strict";t.exports=function(t,e,n,i){i=i||t.length;for(var r=new Array(i),o=0;oOpenStreetMap contributors',a=['© Carto',o].join(" "),s=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),l={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:o,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:a,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:a,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:s,tiles:["https://tiles.stadiamaps.com/tiles/stamen_terrain/{z}/{x}/{y}.png?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:s,tiles:["https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}.png?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under CC BY SA'].join(" "),tiles:["https://tiles.stadiamaps.com/tiles/stamen_watercolor/{z}/{x}/{y}.jpg?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"}},u=i(l);t.exports={requiredVersion:r,styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:l,styleValuesNonMapbox:u,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install @plotly/mapbox-gl@"+r+"."].join("\n"),noAccessTokenErrorMsg:["Missing Mapbox access token.","Mapbox trace type require a Mapbox access token to be registered.","For example:"," Plotly.newPlot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });","More info here: https://www.mapbox.com/help/define-access-token/"].join("\n"),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",u.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join("\n"),multipleTokensErrorMsg:["Set multiple mapbox access token across different mapbox subplot,","using first token found as mapbox-gl does not allow multipleaccess tokens on the same page."].join("\n"),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":'content: ""; cursor: pointer; position: absolute; background-image: url(\'data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E\'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;',"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":'display:block; width: 21px; height: 21px; background-image: url(\'data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E\')'}}},89032:function(t,e,n){"use strict";var i=n(3400);t.exports=function(t,e){var n=t.split(" "),r=n[0],o=n[1],a=i.isArrayOrTypedArray(e)?i.mean(e):e,s=.5+a/100,l=1.5+a/100,u=["",""],c=[0,0];switch(r){case"top":u[0]="top",c[1]=-l;break;case"bottom":u[0]="bottom",c[1]=l}switch(o){case"left":u[1]="right",c[0]=-s;break;case"right":u[1]="left",c[0]=s}return{anchor:u[0]&&u[1]?u.join("-"):u[0]?u[0]:u[1]?u[1]:"center",offset:c}}},33688:function(t,e,n){"use strict";var i=n(3480),r=n(3400),o=r.strTranslate,a=r.strScale,s=n(84888).KY,l=n(9616),u=n(33428),c=n(43616),h=n(72736),d=n(14440),f="mapbox",_=e.constants=n(47552);function p(t){return"string"==typeof t&&(-1!==_.styleValuesMapbox.indexOf(t)||0===t.indexOf("mapbox://")||0===t.indexOf("stamen"))}e.name=f,e.attr="subplot",e.idRoot=f,e.idRegex=e.attrRegex=r.counterRegex(f),e.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},e.layoutAttributes=n(5232),e.supplyLayoutDefaults=n(5976),e.plot=function(t){var e=t._fullLayout,n=t.calcdata,o=e._subplots[f];if(i.version!==_.requiredVersion)throw new Error(_.wrongVersionErrorMsg);var a=function(t,e){var n=t._fullLayout;if(""===t._context.mapboxAccessToken)return"";for(var i=[],o=[],a=!1,s=!1,l=0;l1&&r.warn(_.multipleTokensErrorMsg),i[0]):(o.length&&r.log(["Listed mapbox access token(s)",o.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}(t,o);i.accessToken=a;for(var l=0;lE/2){var x=g.split("|").join("
");b.text(x).attr("data-unformatted",x).call(h.convertToTspans,t),w=c.bBox(b.node())}b.attr("transform",o(-3,8-w.height)),y.insert("rect",".static-attribution").attr({x:-w.width-6,y:-w.height-3,width:w.width+6,height:w.height+3,fill:"rgba(255, 255, 255, 0.75)"});var C=1;w.width+6>E&&(C=E/(w.width+6));var T=[i.l+i.w*d.x[1],i.t+i.h*(1-d.y[0])];y.attr("transform",o(T[0],T[1])+a(C))}},e.updateFx=function(t){for(var e=t._fullLayout,n=e._subplots[f],i=0;i0){for(var n=0;n0}function c(t){var e={},n={};switch(t.type){case"circle":i.extendFlat(n,{"circle-radius":t.circle.radius,"circle-color":t.color,"circle-opacity":t.opacity});break;case"line":i.extendFlat(n,{"line-width":t.line.width,"line-color":t.color,"line-opacity":t.opacity,"line-dasharray":t.line.dash});break;case"fill":i.extendFlat(n,{"fill-color":t.color,"fill-outline-color":t.fill.outlinecolor,"fill-opacity":t.opacity});break;case"symbol":var r=t.symbol,a=o(r.textposition,r.iconsize);i.extendFlat(e,{"icon-image":r.icon+"-15","icon-size":r.iconsize/10,"text-field":r.text,"text-size":r.textfont.size,"text-anchor":a.anchor,"text-offset":a.offset,"symbol-placement":r.placement}),i.extendFlat(n,{"icon-color":t.color,"text-color":r.textfont.color,"text-opacity":t.opacity});break;case"raster":i.extendFlat(n,{"raster-fade-duration":0,"raster-opacity":t.opacity})}return{layout:e,paint:n}}l.update=function(t){this.visible?this.needsNewImage(t)?this.updateImage(t):this.needsNewSource(t)?(this.removeLayer(),this.updateSource(t),this.updateLayer(t)):this.needsNewLayer(t)?this.updateLayer(t):this.updateStyle(t):(this.updateSource(t),this.updateLayer(t)),this.visible=u(t)},l.needsNewImage=function(t){return this.subplot.map.getSource(this.idSource)&&"image"===this.sourceType&&"image"===t.sourcetype&&(this.source!==t.source||JSON.stringify(this.coordinates)!==JSON.stringify(t.coordinates))},l.needsNewSource=function(t){return this.sourceType!==t.sourcetype||JSON.stringify(this.source)!==JSON.stringify(t.source)||this.layerType!==t.type},l.needsNewLayer=function(t){return this.layerType!==t.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},l.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},l.updateImage=function(t){this.subplot.map.getSource(this.idSource).updateImage({url:t.source,coordinates:t.coordinates});var e=this.findFollowingMapboxLayerId(this.lookupBelow());null!==e&&this.subplot.map.moveLayer(this.idLayer,e)},l.updateSource=function(t){var e=this.subplot.map;if(e.getSource(this.idSource)&&e.removeSource(this.idSource),this.sourceType=t.sourcetype,this.source=t.source,u(t)){var n=function(t){var e,n=t.sourcetype,i=t.source,o={type:n};return"geojson"===n?e="data":"vector"===n?e="string"==typeof i?"url":"tiles":"raster"===n?(e="tiles",o.tileSize=256):"image"===n&&(e="url",o.coordinates=t.coordinates),o[e]=i,t.sourceattribution&&(o.attribution=r(t.sourceattribution)),o}(t);e.addSource(this.idSource,n)}},l.findFollowingMapboxLayerId=function(t){if("traces"===t)for(var e=this.subplot.getMapLayers(),n=0;n1)for(n=0;n-1&&m(e.originalEvent,i,[n.xaxis],[n.yaxis],n.id,t),r.indexOf("event")>-1&&u.click(i,e.originalEvent)}}},b.updateFx=function(t){var e=this,n=e.map,i=e.gd;if(!e.isStatic){var o,a=t.dragmode;o=function(t,n){n.isRect?(t.range={})[e.id]=[u([n.xmin,n.ymin]),u([n.xmax,n.ymax])]:(t.lassoPoints={})[e.id]=n.map(u)};var s=e.dragOptions;e.dragOptions=r.extendDeep(s||{},{dragmode:t.dragmode,element:e.div,gd:i,plotinfo:{id:e.id,domain:t[e.id].domain,xaxis:e.xaxis,yaxis:e.yaxis,fillRangeItems:o},xaxes:[e.xaxis],yaxes:[e.yaxis],subplot:e.id}),n.off("click",e.onClickInPanHandler),d(a)||h(a)?(n.dragPan.disable(),n.on("zoomstart",e.clearOutline),e.dragOptions.prepFn=function(t,n,i){f(t,n,i,e.dragOptions,a)},l.init(e.dragOptions)):(n.dragPan.enable(),n.off("zoomstart",e.clearOutline),e.div.onmousedown=null,e.div.ontouchstart=null,e.div.removeEventListener("touchstart",e.div._ontouchstart),e.onClickInPanHandler=e.onClickInPanFn(e.dragOptions),n.on("click",e.onClickInPanHandler))}function u(t){var n=e.map.unproject(t);return[n.lng,n.lat]}},b.updateFramework=function(t){var e=t[this.id].domain,n=t._size,i=this.div.style;i.width=n.w*(e.x[1]-e.x[0])+"px",i.height=n.h*(e.y[1]-e.y[0])+"px",i.left=n.l+e.x[0]*n.w+"px",i.top=n.t+(1-e.y[1])*n.h+"px",this.xaxis._offset=n.l+e.x[0]*n.w,this.xaxis._length=n.w*(e.x[1]-e.x[0]),this.yaxis._offset=n.t+(1-e.y[1])*n.h,this.yaxis._length=n.h*(e.y[1]-e.y[0])},b.updateLayers=function(t){var e,n=t[this.id].layers,i=this.layerList;if(n.length!==i.length){for(e=0;e=e.width-20?(o["text-anchor"]="start",o.x=5):(o["text-anchor"]="end",o.x=e._paper.attr("width")-7),n.attr(o);var a=n.select(".js-link-to-tool"),s=n.select(".js-link-spacer"),l=n.select(".js-sourcelinks");t._context.showSources&&t._context.showSources(t),t._context.showLink&&function(t,e){e.text("");var n=e.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(t._context.linkText+" "+String.fromCharCode(187));if(t._context.sendData)n.on("click",(function(){E.sendDataToCloud(t)}));else{var i=window.location.pathname.split("/"),r=window.location.search;n.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+i[2].split(".")[0]+"/"+i[1]+r})}}(t,a),s.text(a.text()&&l.text()?" - ":"")}},E.sendDataToCloud=function(t){var e=(window.PLOTLYENV||{}).BASE_URL||t._context.plotlyServerURL;if(e){t.emit("plotly_beforeexport");var n=i.select(t).append("div").attr("id","hiddenform").style("display","none"),r=n.append("form").attr({action:e+"/external",method:"post",target:"_blank"});return r.append("input").attr({type:"text",name:"data"}).node().value=E.graphJson(t,!1,"keepdata"),r.node().submit(),n.remove(),t.emit("plotly_afterexport"),!1}};var T=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],A=["year","month","dayMonth","dayMonthYear"];function S(t,e){var n=t._context.locale;n||(n="en-US");var i=!1,r={};function o(t){for(var n=!0,o=0;o1&&M.length>1){for(l.getComponentMethod("grid","sizeDefaults")(u,s),a=0;a15&&M.length>15&&0===s.shapes.length&&0===s.images.length,E.linkSubplots(d,s,c,i),E.cleanPlot(d,s,c,i);var j=!(!i._has||!i._has("gl2d")),q=!(!s._has||!s._has("gl2d")),D=!(!i._has||!i._has("cartesian"))||j,B=!(!s._has||!s._has("cartesian"))||q;D&&!B?i._bgLayer.remove():B&&!D&&(s._shouldCreateBgLayer=!0),i._zoomlayer&&!t._dragging&&p({_fullLayout:i}),function(t,e){var n,i=[];e.meta&&(n=e._meta={meta:e.meta,layout:{meta:e.meta}});for(var r=0;r0){var c=1-2*s;i=Math.round(c*i),r=Math.round(c*r)}}var d=E.layoutAttributes.width.min,f=E.layoutAttributes.height.min;i1,p=!e.height&&Math.abs(n.height-r)>1;(p||_)&&(_&&(n.width=i),p&&(n.height=r)),t._initialAutoSize||(t._initialAutoSize={width:i,height:r}),E.sanitizeMargins(n)},E.supplyLayoutModuleDefaults=function(t,e,n,i){var r,o,a,s=l.componentsRegistry,u=e._basePlotModules,c=l.subplotsRegistry.cartesian;for(r in s)(a=s[r]).includeBasePlot&&a.includeBasePlot(t,e);for(var d in u.length||u.push(c),e._has("cartesian")&&(l.getComponentMethod("grid","contentDefaults")(t,e),c.finalizeSubplots(t,e)),e._subplots)e._subplots[d].sort(h.subplotSort);for(o=0;o1&&(n.l/=v,n.r/=v)}if(f){var g=(n.t+n.b)/f;g>1&&(n.t/=g,n.b/=g)}var y=void 0!==n.xl?n.xl:n.x,b=void 0!==n.xr?n.xr:n.x,w=void 0!==n.yt?n.yt:n.y,x=void 0!==n.yb?n.yb:n.y;_[e]={l:{val:y,size:n.l+m},r:{val:b,size:n.r+m},b:{val:x,size:n.b+m},t:{val:w,size:n.t+m}},p[e]=1}else delete _[e],delete p[e];if(!i._replotting)return E.doAutoMargin(t)}},E.doAutoMargin=function(t){var e=t._fullLayout,n=e.width,i=e.height;e._size||(e._size={}),O(e);var r=e._size,o=e.margin,s={t:0,b:0,l:0,r:0},u=h.extendFlat({},r),c=o.l,d=o.r,f=o.t,p=o.b,m=e._pushmargin,v=e._pushmarginIds,g=e.minreducedwidth,y=e.minreducedheight;if(!1!==o.autoexpand){for(var b in m)v[b]||delete m[b];var w=t._fullLayout._reservedMargin;for(var x in w)for(var C in w[x]){var T=w[x][C];s[C]=Math.max(s[C],T)}for(var A in m.base={l:{val:0,size:c},r:{val:1,size:d},t:{val:1,size:f},b:{val:0,size:p}},s){var S=0;for(var z in m)"base"!==z&&a(m[z][A].size)&&(S=m[z][A].size>S?m[z][A].size:S);var k=Math.max(0,o[A]-S);s[A]=Math.max(0,s[A]-k)}for(var N in m){var I=m[N].l||{},L=m[N].b||{},M=I.val,$=I.size,R=L.val,P=L.size,U=n-s.r-s.l,j=i-s.t-s.b;for(var q in m){if(a($)&&m[q].r){var D=m[q].r.val,B=m[q].r.size;if(D>M){var F=($*D+(B-U)*M)/(D-M),W=(B*(1-M)+($-U)*(1-D))/(D-M);F+W>c+d&&(c=F,d=W)}}if(a(P)&&m[q].t){var G=m[q].t.val,H=m[q].t.size;if(G>R){var V=(P*G+(H-j)*R)/(G-R),X=(H*(1-R)+(P-j)*(1-G))/(G-R);V+X>p+f&&(p=V,f=X)}}}}}var J=h.constrain(n-o.l-o.r,2,g),Z=h.constrain(i-o.t-o.b,2,y),Y=Math.max(0,n-J),K=Math.max(0,i-Z);if(Y){var Q=(c+d)/Y;Q>1&&(c/=Q,d/=Q)}if(K){var tt=(p+f)/K;tt>1&&(p/=tt,f/=tt)}if(r.l=Math.round(c)+s.l,r.r=Math.round(d)+s.r,r.t=Math.round(f)+s.t,r.b=Math.round(p)+s.b,r.p=Math.round(o.pad),r.w=Math.round(n)-r.l-r.r,r.h=Math.round(i)-r.t-r.b,!e._replotting&&(E.didMarginChange(u,r)||function(t){if("_redrawFromAutoMarginCount"in t._fullLayout)return!1;var e=_.list(t,"",!0);for(var n in e)if(e[n].autoshift||e[n].shift)return!0;return!1}(t))){"_redrawFromAutoMarginCount"in e?e._redrawFromAutoMarginCount++:e._redrawFromAutoMarginCount=1;var et=3*(1+Object.keys(v).length);if(e._redrawFromAutoMarginCount0&&(t._transitioningWithDuration=!0),t._transitionData._interruptCallbacks.push((function(){i=!0})),n.redraw&&t._transitionData._interruptCallbacks.push((function(){return l.call("redraw",t)})),t._transitionData._interruptCallbacks.push((function(){t.emit("plotly_transitioninterrupted",[])}));var o=0,a=0;function s(){return o++,function(){var e;a++,i||a!==o||(e=r,t._transitionData&&(function(t){if(t)for(;t.length;)t.shift()}(t._transitionData._interruptCallbacks),Promise.resolve().then((function(){if(n.redraw)return l.call("redraw",t)})).then((function(){t._transitioning=!1,t._transitioningWithDuration=!1,t.emit("plotly_transitioned",[])})).then(e)))}}n.runFn(s),setTimeout(s())}))}],o=h.syncOrAsync(r,t);return o&&o.then||(o=Promise.resolve()),o.then((function(){return t}))}E.didMarginChange=function(t,e){for(var n=0;n1)return!0}return!1},E.graphJson=function(t,e,n,i,r,o){(r&&e&&!t._fullData||r&&!e&&!t._fullLayout)&&E.supplyDefaults(t);var a=r?t._fullData:t.data,l=r?t._fullLayout:t.layout,u=(t._transitionData||{})._frames;function c(t,e){if("function"==typeof t)return e?"_function_":null;if(h.isPlainObject(t)){var i,r={};return Object.keys(t).sort().forEach((function(o){if(-1===["_","["].indexOf(o.charAt(0)))if("function"!=typeof t[o]){if("keepdata"===n){if("src"===o.substr(o.length-3))return}else if("keepstream"===n){if("string"==typeof(i=t[o+"src"])&&i.indexOf(":")>0&&!h.isPlainObject(t.stream))return}else if("keepall"!==n&&"string"==typeof(i=t[o+"src"])&&i.indexOf(":")>0)return;r[o]=c(t[o],e)}else e&&(r[o]="_function")})),r}var o=Array.isArray(t),a=h.isTypedArray(t);if((o||a)&&t.dtype&&t.shape){var l=t.bdata;return c({dtype:t.dtype,shape:t.shape,bdata:h.isArrayBuffer(l)?s.encode(l):l},e)}return o?t.map((function(t){return c(t,e)})):a?h.simpleMap(t,h.identity):h.isJSDate(t)?h.ms2DateTimeLocal(+t):t}var d={data:(a||[]).map((function(t){var n=c(t);return e&&delete n.fit,n}))};if(!e&&(d.layout=c(l),r)){var f=l._size;d.layout.computed={margin:{b:f.b,l:f.l,r:f.r,t:f.t}}}return u&&(d.frames=c(u)),o&&(d.config=c(t._context,!0)),"object"===i?d:JSON.stringify(d)},E.modifyFrames=function(t,e){var n,i,r,o=t._transitionData._frames,a=t._transitionData._frameHash;for(n=0;n=0;o--)if(l[o].enabled){n._indexToPoints=l[o]._indexToPoints;break}i&&i.calc&&(a=i.calc(t,n))}Array.isArray(a)&&a[0]||(a=[{x:f,y:f}]),a[0].t||(a[0].t={}),a[0].trace=n,d[e]=a}}for(R(a,s,c),r=0;r1e-10?t:0}function d(t,e,n){e=e||0,n=n||0;for(var i=t.length,r=new Array(i),o=0;o0?n:1/0})),r=i.mod(n+1,e.length);return[e[n],e[r]]},findIntersectionXY:u,findXYatLength:function(t,e,n,i){var r=-e*n,o=e*e+1,a=2*(e*r-n),s=r*r+n*n-t*t,l=Math.sqrt(a*a-4*o*s),u=(-a+l)/(2*o),c=(-a-l)/(2*o);return[[u,e*u+r+i],[c,e*c+r+i]]},clampTiny:h,pathPolygon:function(t,e,n,i,r,o){return"M"+d(c(t,e,n,i),r,o).join("L")},pathPolygonAnnulus:function(t,e,n,i,r,o,a){var s,l;t=90||r>90&&o>=450?1:s<=0&&u<=0?0:Math.max(s,u),[r<=180&&o>=180||r>180&&o>=540?-1:a>=0&&l>=0?0:Math.min(a,l),r<=270&&o>=270||r>270&&o>=630?-1:s>=0&&u>=0?0:Math.min(s,u),o>=360?1:a<=0&&l<=0?0:Math.max(a,l),e]}(_),w=b[2]-b[0],E=b[3]-b[1],x=f/d,C=Math.abs(E/w);x>C?(p=d,y=(f-(m=d*C))/r.h/2,v=[s[0],s[1]],g=[h[0]+y,h[1]-y]):(m=f,y=(d-(p=f/C))/r.w/2,v=[s[0]+y,s[1]-y],g=[h[0],h[1]]),n.xLength2=p,n.yLength2=m,n.xDomain2=v,n.yDomain2=g;var T,A=n.xOffset2=r.l+r.w*v[0],S=n.yOffset2=r.t+r.h*(1-g[1]),z=n.radius=p/w,k=n.innerRadius=n.getHole(e)*z,N=n.cx=A-z*b[0],I=n.cy=S+z*b[3],O=n.cxx=N-A,L=n.cyy=I-S,M=o.side;"counterclockwise"===M?(T=M,M="top"):"clockwise"===M&&(T=M,M="bottom"),n.radialAxis=n.mockAxis(t,e,o,{_id:"x",side:M,_trueSide:T,domain:[k/r.w,z/r.w]}),n.angularAxis=n.mockAxis(t,e,a,{side:"right",domain:[0,Math.PI],autorange:!1}),n.doAutoRange(t,e),n.updateAngularAxis(t,e),n.updateRadialAxis(t,e),n.updateRadialAxisTitle(t,e),n.xaxis=n.mockCartesianAxis(t,e,{_id:"x",domain:v}),n.yaxis=n.mockCartesianAxis(t,e,{_id:"y",domain:g});var P=n.pathSubplot();n.clipPaths.forTraces.select("path").attr("d",P).attr("transform",l(O,L)),i.frontplot.attr("transform",l(A,S)).call(c.setClipUrl,n._hasClipOnAxisFalse?null:n.clipIds.forTraces,n.gd),i.bg.attr("d",P).attr("transform",l(N,I)).call(u.fill,e.bgcolor)},j.mockAxis=function(t,e,n,i){var r=a.extendFlat({},n,i);return _(r,e,t),r},j.mockCartesianAxis=function(t,e,n){var i=this,r=i.isSmith,o=n._id,s=a.extendFlat({type:"linear"},n);f(s,t);var l={x:[0,2],y:[1,3]};return s.setRange=function(){var t=i.sectorBBox,n=l[o],r=i.radialAxis._rl,a=(r[1]-r[0])/(1-i.getHole(e));s.range=[t[n[0]]*a,t[n[1]]*a]},s.isPtWithinRange="x"!==o||r?function(){return!0}:function(t){return i.isPtInside(t)},s.setRange(),s.setScale(),s},j.doAutoRange=function(t,e){var n=this,i=n.gd,r=n.radialAxis,o=n.getRadial(e);p(i,r);var a=r.range;if(o.range=a.slice(),o._input.range=a.slice(),r._rl=[r.r2l(a[0],null,"gregorian"),r.r2l(a[1],null,"gregorian")],void 0!==r.minallowed){var s=r.r2l(r.minallowed);r._rl[0]>r._rl[1]?r._rl[1]=Math.max(r._rl[1],s):r._rl[0]=Math.max(r._rl[0],s)}if(void 0!==r.maxallowed){var l=r.r2l(r.maxallowed);r._rl[0]90&&p<=270&&(m.tickangle=180);var y=g?function(t){var e=L(n,N([t.x,0]));return l(e[0]-h,e[1]-f)}:function(t){return l(m.l2p(t.x)+c,0)},b=g?function(t){return O(n,t.x,-1/0,1/0)}:function(t){return n.pathArc(m.r2p(t.x)+c)},w=q(_);if(n.radialTickLayout!==w&&(r["radial-axis"].selectAll(".xtick").remove(),n.radialTickLayout=w),v){m.setScale();var E=0,x=g?(m.tickvals||[]).filter((function(t){return t>=0})).map((function(t){return d.tickText(m,t,!0,!1)})):d.calcTicks(m),C=g?x:d.clipEnds(m,x),T=d.getTickSigns(m)[2];g&&(("top"===m.ticks&&"bottom"===m.side||"bottom"===m.ticks&&"top"===m.side)&&(T=-T),"top"===m.ticks&&"top"===m.side&&(E=-m.ticklen),"bottom"===m.ticks&&"bottom"===m.side&&(E=m.ticklen)),d.drawTicks(i,m,{vals:x,layer:r["radial-axis"],path:d.makeTickPath(m,0,T),transFn:y,crisp:!1}),d.drawGrid(i,m,{vals:C,layer:r["radial-grid"],path:b,transFn:a.noop,crisp:!1}),d.drawLabels(i,m,{vals:x,layer:r["radial-axis"],transFn:y,labelFns:d.makeLabelFns(m,E)})}var A=n.radialAxisAngle=n.vangles?P(D(R(_.angle),n.vangles)):_.angle,S=l(h,f),z=S+s(-A);B(r["radial-axis"],v&&(_.showticklabels||_.ticks),{transform:z}),B(r["radial-grid"],v&&_.showgrid,{transform:g?"":S}),B(r["radial-line"].select("line"),v&&_.showline,{x1:g?-o:c,y1:0,x2:o,y2:0,transform:z}).attr("stroke-width",_.linewidth).call(u.stroke,_.linecolor)},j.updateRadialAxisTitle=function(t,e,n){if(!this.isSmith){var i=this,r=i.gd,o=i.radius,a=i.cx,s=i.cy,l=i.getRadial(e),u=i.id+"title",h=0;if(l.title){var d=c.bBox(i.layers["radial-axis"].node()).height,f=l.title.font.size,_=l.side;h="top"===_?f:"counterclockwise"===_?-(d+.4*f):d+.8*f}var p=void 0!==n?n:i.radialAxisAngle,m=R(p),v=Math.cos(m),g=Math.sin(m),b=a+o/2*v+h*g,w=s-o/2*g+h*v;i.layers["radial-axis-title"]=y.draw(r,u,{propContainer:l,propName:i.id+".radialaxis.title",placeholder:M(r,"Click to enter radial axis title"),attributes:{x:b,y:w,"text-anchor":"middle"},transform:{rotate:-p}})}},j.updateAngularAxis=function(t,e){var n=this,i=n.gd,r=n.layers,o=n.radius,c=n.innerRadius,h=n.cx,f=n.cy,_=n.getAngular(e),p=n.angularAxis,m=n.isSmith;m||(n.fillViewInitialKey("angularaxis.rotation",_.rotation),p.setGeometry(),p.setScale());var v=m?function(t){var e=L(n,N([0,t.x]));return Math.atan2(e[0]-h,e[1]-f)-Math.PI/2}:function(t){return p.t2g(t.x)};"linear"===p.type&&"radians"===p.thetaunit&&(p.tick0=P(p.tick0),p.dtick=P(p.dtick));var g=function(t){return l(h+o*Math.cos(t),f-o*Math.sin(t))},y=m?function(t){var e=L(n,N([0,t.x]));return l(e[0],e[1])}:function(t){return g(v(t))},b=m?function(t){var e=L(n,N([0,t.x])),i=Math.atan2(e[0]-h,e[1]-f)-Math.PI/2;return l(e[0],e[1])+s(-P(i))}:function(t){var e=v(t);return g(e)+s(-P(e))},w=m?function(t){return I(n,t.x,0,1/0)}:function(t){var e=v(t),n=Math.cos(e),i=Math.sin(e);return"M"+[h+c*n,f-c*i]+"L"+[h+o*n,f-o*i]},E=d.makeLabelFns(p,0).labelStandoff,x={xFn:function(t){var e=v(t);return Math.cos(e)*E},yFn:function(t){var e=v(t),n=Math.sin(e)>0?.2:1;return-Math.sin(e)*(E+t.fontSize*n)+Math.abs(Math.cos(e))*(t.fontSize*A)},anchorFn:function(t){var e=v(t),n=Math.cos(e);return Math.abs(n)<.1?"middle":n>0?"start":"end"},heightFn:function(t,e,n){var i=v(t);return-.5*(1+Math.sin(i))*n}},C=q(_);n.angularTickLayout!==C&&(r["angular-axis"].selectAll("."+p._id+"tick").remove(),n.angularTickLayout=C);var T,S=m?[1/0].concat(p.tickvals||[]).map((function(t){return d.tickText(p,t,!0,!1)})):d.calcTicks(p);if(m&&(S[0].text="∞",S[0].fontSize*=1.75),"linear"===e.gridshape?(T=S.map(v),a.angleDelta(T[0],T[1])<0&&(T=T.slice().reverse())):T=null,n.vangles=T,"category"===p.type&&(S=S.filter((function(t){return a.isAngleInsideSector(v(t),n.sectorInRad)}))),p.visible){var z="inside"===p.ticks?-1:1,k=(p.linewidth||1)/2;d.drawTicks(i,p,{vals:S,layer:r["angular-axis"],path:"M"+z*k+",0h"+z*p.ticklen,transFn:b,crisp:!1}),d.drawGrid(i,p,{vals:S,layer:r["angular-grid"],path:w,transFn:a.noop,crisp:!1}),d.drawLabels(i,p,{vals:S,layer:r["angular-axis"],repositionOnUpdate:!0,transFn:y,labelFns:x})}B(r["angular-line"].select("path"),_.showline,{d:n.pathSubplot(),transform:l(h,f)}).attr("stroke-width",_.linewidth).call(u.stroke,_.linecolor)},j.updateFx=function(t,e){this.gd._context.staticPlot||(!this.isSmith&&(this.updateAngularDrag(t),this.updateRadialDrag(t,e,0),this.updateRadialDrag(t,e,1)),this.updateHoverAndMainDrag(t))},j.updateHoverAndMainDrag=function(t){var e,n,s=this,u=s.isSmith,c=s.gd,h=s.layers,d=t._zoomlayer,f=S.MINZOOM,_=S.OFFEDGE,p=s.radius,y=s.innerRadius,x=s.cx,C=s.cy,T=s.cxx,A=s.cyy,k=s.sectorInRad,N=s.vangles,I=s.radialAxis,O=z.clampTiny,L=z.findXYatLength,M=z.findEnclosingVertexAngles,$=S.cornerHalfWidth,R=S.cornerLen/2,P=m.makeDragger(h,"path","maindrag",!1===t.dragmode?"none":"crosshair");i.select(P).attr("d",s.pathSubplot()).attr("transform",l(x,C)),P.onmousemove=function(t){g.hover(c,t,s.id),c._fullLayout._lasthover=P,c._fullLayout._hoversubplot=s.id},P.onmouseout=function(t){c._dragging||v.unhover(c,t)};var U,j,q,D,B,F,W,G,H,V={element:P,gd:c,subplot:s.id,plotinfo:{id:s.id,xaxis:s.xaxis,yaxis:s.yaxis},xaxes:[s.xaxis],yaxes:[s.yaxis]};function X(t,e){return Math.sqrt(t*t+e*e)}function J(t,e){return X(t-T,e-A)}function Z(t,e){return Math.atan2(A-e,t-T)}function Y(t,e){return[t*Math.cos(e),t*Math.sin(-e)]}function K(t,e){if(0===t)return s.pathSector(2*$);var n=R/t,i=e-n,r=e+n,o=Math.max(0,Math.min(t,p)),a=o-$,l=o+$;return"M"+Y(a,i)+"A"+[a,a]+" 0,0,0 "+Y(a,r)+"L"+Y(l,r)+"A"+[l,l]+" 0,0,1 "+Y(l,i)+"Z"}function Q(t,e,n){if(0===t)return s.pathSector(2*$);var i,r,o=Y(t,e),a=Y(t,n),l=O((o[0]+a[0])/2),u=O((o[1]+a[1])/2);if(l&&u){var c=u/l,h=-1/c,d=L($,c,l,u);i=L(R,h,d[0][0],d[0][1]),r=L(R,h,d[1][0],d[1][1])}else{var f,_;u?(f=R,_=$):(f=$,_=R),i=[[l-f,u-_],[l+f,u-_]],r=[[l-f,u+_],[l+f,u+_]]}return"M"+i.join("L")+"L"+r.reverse().join("L")+"Z"}function tt(t,e){return e=Math.max(Math.min(e,p),y),t<_?t=0:p-t<_?t=p:e<_?e=0:p-e<_&&(e=p),Math.abs(e-t)>f?(t-1&&1===t&&w(e,c,[s.xaxis],[s.yaxis],s.id,V),n.indexOf("event")>-1&&g.click(c,e,s.id)}V.prepFn=function(t,i,o){var l=c._fullLayout.dragmode,h=P.getBoundingClientRect();c._fullLayout._calcInverseTransform(c);var f=c._fullLayout._invTransform;e=c._fullLayout._invScaleX,n=c._fullLayout._invScaleY;var _=a.apply3DTransform(f)(i-h.left,o-h.top);if(U=_[0],j=_[1],N){var v=z.findPolygonOffset(p,k[0],k[1],N);U+=T+v[0],j+=A+v[1]}switch(l){case"zoom":V.clickFn=st,u||(V.moveFn=N?rt:nt,V.doneFn=ot,function(){q=null,D=null,B=s.pathSubplot(),F=!1;var t=c._fullLayout[s.id];W=r(t.bgcolor).getLuminance(),(G=m.makeZoombox(d,W,x,C,B)).attr("fill-rule","evenodd"),H=m.makeCorners(d,x,C),E(c)}());break;case"select":case"lasso":b(t,i,o,V,l)}},v.init(V)},j.updateRadialDrag=function(t,e,n){var r=this,u=r.gd,c=r.layers,h=r.radius,d=r.innerRadius,f=r.cx,_=r.cy,p=r.radialAxis,g=S.radialDragBoxSize,y=g/2;if(p.visible){var b,w,x,A=R(r.radialAxisAngle),z=p._rl,k=z[0],N=z[1],I=z[n],O=.75*(z[1]-z[0])/(1-r.getHole(e))/h;n?(b=f+(h+y)*Math.cos(A),w=_-(h+y)*Math.sin(A),x="radialdrag"):(b=f+(d-y)*Math.cos(A),w=_-(d-y)*Math.sin(A),x="radialdrag-inner");var L,M,$,U=m.makeRectDragger(c,x,"crosshair",-y,-y,g,g),j={element:U,gd:u};!1===t.dragmode&&(j.dragmode=!1),B(i.select(U),p.visible&&d0==(n?$>k:$i?function(t){return t<=0}:function(t){return t>=0};t.c2g=function(n){var i=t.c2l(n)-e;return(s(i)?i:0)+a},t.g2c=function(n){return t.l2c(n+e-a)},t.g2p=function(t){return t*o},t.c2p=function(e){return t.g2p(t.c2g(e))}}}(t,e);break;case"angularaxis":!function(t,e){var n=t.type;if("linear"===n){var r=t.d2c,s=t.c2d;t.d2c=function(t,e){return function(t,e){return"degrees"===e?o(t):t}(r(t),e)},t.c2d=function(t,e){return s(function(t,e){return"degrees"===e?a(t):t}(t,e))}}t.makeCalcdata=function(e,n){var i,r,o=e[n],a=e._length,s=function(n){return t.d2c(n,e.thetaunit)};if(o)for(i=new Array(a),r=0;r0?1:0}function n(t){var e=t[0],n=t[1];if(!isFinite(e)||!isFinite(n))return[1,0];var i=(e+1)*(e+1)+n*n;return[(e*e+n*n-1)/i,2*n/i]}function i(t,e){var n=e[0],i=e[1];return[n*t.radius+t.cx,-i*t.radius+t.cy]}function r(t,e){return e*t.radius}t.exports={smith:n,reactanceArc:function(t,e,o,a){var s=i(t,n([o,e])),l=s[0],u=s[1],c=i(t,n([a,e])),h=c[0],d=c[1];if(0===e)return["M"+l+","+u,"L"+h+","+d].join(" ");var f=r(t,1/Math.abs(e));return["M"+l+","+u,"A"+f+","+f+" 0 0,"+(e<0?1:0)+" "+h+","+d].join(" ")},resistanceArc:function(t,o,a,s){var l=r(t,1/(o+1)),u=i(t,n([o,a])),c=u[0],h=u[1],d=i(t,n([o,s])),f=d[0],_=d[1];if(e(a)!==e(s)){var p=i(t,n([o,0]));return["M"+c+","+h,"A"+l+","+l+" 0 0,"+(00){for(var i=[],r=0;r=c&&(d.min=0,_.min=0,m.min=0,t.aaxis&&delete t.aaxis.min,t.baxis&&delete t.baxis.min,t.caxis&&delete t.caxis.min)}function p(t,e,n,i){var r=d[e._name];function a(n,i){return o.coerce(t,e,r,n,i)}a("uirevision",i.uirevision),e.type="linear";var f=a("color"),_=f!==r.color.dflt?f:n.font.color,p=e._name.charAt(0).toUpperCase(),m="Component "+p,v=a("title.text",m);e._hovertitle=v===m?v:p,o.coerceFont(a,"title.font",{family:n.font.family,size:o.bigFont(n.font.size),color:_}),a("min"),c(t,e,a,"linear"),l(t,e,a,"linear"),s(t,e,a,"linear",{noAutotickangles:!0}),u(t,e,a,{outerTicks:!0}),a("showticklabels")&&(o.coerceFont(a,"tickfont",{family:n.font.family,size:n.font.size,color:_}),a("tickangle"),a("tickformat")),h(t,e,a,{dfltColor:f,bgColor:n.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:r}),a("hoverformat"),a("layer")}t.exports=function(t,e,n){a(t,e,n,{type:"ternary",attributes:d,handleDefaults:_,font:e.font,paper_bgcolor:e.paper_bgcolor})}},24696:function(t,e,n){"use strict";var i=n(33428),r=n(49760),o=n(24040),a=n(3400),s=a.strTranslate,l=a._,u=n(76308),c=n(43616),h=n(78344),d=n(92880).extendFlat,f=n(7316),_=n(54460),p=n(86476),m=n(93024),v=n(72760),g=v.freeMode,y=v.rectMode,b=n(81668),w=n(22676).prepSelect,E=n(22676).selectOnClick,x=n(22676).clearOutline,C=n(22676).clearSelectionsCache,T=n(33816);function A(t,e){this.id=t.id,this.graphDiv=t.graphDiv,this.init(e),this.makeFramework(e),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}t.exports=A;var S=A.prototype;S.init=function(t){this.container=t._ternarylayer,this.defs=t._defs,this.layoutId=t._uid,this.traceHash={},this.layers={}},S.plot=function(t,e){var n=this,i=e[n.id],r=e._size;n._hasClipOnAxisFalse=!1;for(var o=0;oz*b?r=(o=b)*z:o=(r=y)/z,a=v*r/y,l=g*o/b,n=e.l+e.w*p-r/2,i=e.t+e.h*(1-m)-o/2,f.x0=n,f.y0=i,f.w=r,f.h=o,f.sum=w,f.xaxis={type:"linear",range:[E+2*C-w,w-E-2*x],domain:[p-a/2,p+a/2],_id:"x"},h(f.xaxis,f.graphDiv._fullLayout),f.xaxis.setScale(),f.xaxis.isPtWithinRange=function(t){return t.a>=f.aaxis.range[0]&&t.a<=f.aaxis.range[1]&&t.b>=f.baxis.range[1]&&t.b<=f.baxis.range[0]&&t.c>=f.caxis.range[1]&&t.c<=f.caxis.range[0]},f.yaxis={type:"linear",range:[E,w-x-C],domain:[m-l/2,m+l/2],_id:"y"},h(f.yaxis,f.graphDiv._fullLayout),f.yaxis.setScale(),f.yaxis.isPtWithinRange=function(){return!0};var T=f.yaxis.domain[0],A=f.aaxis=d({},t.aaxis,{range:[E,w-x-C],side:"left",tickangle:(+t.aaxis.tickangle||0)-30,domain:[T,T+l*z],anchor:"free",position:0,_id:"y",_length:r});h(A,f.graphDiv._fullLayout),A.setScale();var S=f.baxis=d({},t.baxis,{range:[w-E-C,x],side:"bottom",domain:f.xaxis.domain,anchor:"free",position:0,_id:"x",_length:r});h(S,f.graphDiv._fullLayout),S.setScale();var k=f.caxis=d({},t.caxis,{range:[w-E-x,C],side:"right",tickangle:(+t.caxis.tickangle||0)+30,domain:[T,T+l*z],anchor:"free",position:0,_id:"y",_length:r});h(k,f.graphDiv._fullLayout),k.setScale();var N="M"+n+","+(i+o)+"h"+r+"l-"+r/2+",-"+o+"Z";f.clipDef.select("path").attr("d",N),f.layers.plotbg.select("path").attr("d",N);var I="M0,"+o+"h"+r+"l-"+r/2+",-"+o+"Z";f.clipDefRelative.select("path").attr("d",I);var O=s(n,i);f.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",O),f.clipDefRelative.select("path").attr("transform",null);var L=s(n-S._offset,i+o);f.layers.baxis.attr("transform",L),f.layers.bgrid.attr("transform",L);var M=s(n+r/2,i)+"rotate(30)"+s(0,-A._offset);f.layers.aaxis.attr("transform",M),f.layers.agrid.attr("transform",M);var $=s(n+r/2,i)+"rotate(-30)"+s(0,-k._offset);f.layers.caxis.attr("transform",$),f.layers.cgrid.attr("transform",$),f.drawAxes(!0),f.layers.aline.select("path").attr("d",A.showline?"M"+n+","+(i+o)+"l"+r/2+",-"+o:"M0,0").call(u.stroke,A.linecolor||"#000").style("stroke-width",(A.linewidth||0)+"px"),f.layers.bline.select("path").attr("d",S.showline?"M"+n+","+(i+o)+"h"+r:"M0,0").call(u.stroke,S.linecolor||"#000").style("stroke-width",(S.linewidth||0)+"px"),f.layers.cline.select("path").attr("d",k.showline?"M"+(n+r/2)+","+i+"l"+r/2+","+o:"M0,0").call(u.stroke,k.linecolor||"#000").style("stroke-width",(k.linewidth||0)+"px"),f.graphDiv._context.staticPlot||f.initInteractions(),c.setClipUrl(f.layers.frontplot,f._hasClipOnAxisFalse?null:f.clipId,f.graphDiv)},S.drawAxes=function(t){var e=this,n=e.graphDiv,i=e.id.substr(7)+"title",r=e.layers,o=e.aaxis,a=e.baxis,s=e.caxis;if(e.drawAx(o),e.drawAx(a),e.drawAx(s),t){var u=Math.max(o.showticklabels?o.tickfont.size/2:0,(s.showticklabels?.75*s.tickfont.size:0)+("outside"===s.ticks?.87*s.ticklen:0)),c=(a.showticklabels?a.tickfont.size:0)+("outside"===a.ticks?a.ticklen:0)+3;r["a-title"]=b.draw(n,"a"+i,{propContainer:o,propName:e.id+".aaxis.title",placeholder:l(n,"Click to enter Component A title"),attributes:{x:e.x0+e.w/2,y:e.y0-o.title.font.size/3-u,"text-anchor":"middle"}}),r["b-title"]=b.draw(n,"b"+i,{propContainer:a,propName:e.id+".baxis.title",placeholder:l(n,"Click to enter Component B title"),attributes:{x:e.x0-c,y:e.y0+e.h+.83*a.title.font.size+c,"text-anchor":"middle"}}),r["c-title"]=b.draw(n,"c"+i,{propContainer:s,propName:e.id+".caxis.title",placeholder:l(n,"Click to enter Component C title"),attributes:{x:e.x0+e.w+c,y:e.y0+e.h+.83*s.title.font.size+c,"text-anchor":"middle"}})}},S.drawAx=function(t){var e,n=this,i=n.graphDiv,r=t._name,o=r.charAt(0),s=t._id,l=n.layers[r],u=o+"tickLayout",c=(e=t).ticks+String(e.ticklen)+String(e.showticklabels);n[u]!==c&&(l.selectAll("."+s+"tick").remove(),n[u]=c),t.setScale();var h=_.calcTicks(t),d=_.clipEnds(t,h),f=_.makeTransTickFn(t),p=_.getTickSigns(t)[2],m=a.deg2rad(30),v=p*(t.linewidth||1)/2,g=p*t.ticklen,y=n.w,b=n.h,w="b"===o?"M0,"+v+"l"+Math.sin(m)*g+","+Math.cos(m)*g:"M"+v+",0l"+Math.cos(m)*g+","+-Math.sin(m)*g,E={a:"M0,0l"+b+",-"+y/2,b:"M0,0l-"+y/2+",-"+b,c:"M0,0l-"+b+","+y/2}[o];_.drawTicks(i,t,{vals:"inside"===t.ticks?d:h,layer:l,path:w,transFn:f,crisp:!1}),_.drawGrid(i,t,{vals:d,layer:n.layers[o+"grid"],path:E,transFn:f,crisp:!1}),_.drawLabels(i,t,{vals:h,layer:l,transFn:f,labelFns:_.makeLabelFns(t,0,30)})};var k=T.MINZOOM/2+.87,N="m-0.87,.5h"+k+"v3h-"+(k+5.2)+"l"+(k/2+2.6)+",-"+(.87*k+4.5)+"l2.6,1.5l-"+k/2+","+.87*k+"Z",I="m0.87,.5h-"+k+"v3h"+(k+5.2)+"l-"+(k/2+2.6)+",-"+(.87*k+4.5)+"l-2.6,1.5l"+k/2+","+.87*k+"Z",O="m0,1l"+k/2+","+.87*k+"l2.6,-1.5l-"+(k/2+2.6)+",-"+(.87*k+4.5)+"l-"+(k/2+2.6)+","+(.87*k+4.5)+"l2.6,1.5l"+k/2+",-"+.87*k+"Z",L=!0;function M(t){i.select(t).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}S.clearOutline=function(){C(this.dragOptions),x(this.dragOptions.gd)},S.initInteractions=function(){var t,e,n,i,h,d,f,_,v,b,x,C,A=this,S=A.layers.plotbg.select("path").node(),k=A.graphDiv,$=k._fullLayout._zoomlayer;function R(t){var e={};return e[A.id+".aaxis.min"]=t.a,e[A.id+".baxis.min"]=t.b,e[A.id+".caxis.min"]=t.c,e}function P(t,e){var n=k._fullLayout.clickmode;M(k),2===t&&(k.emit("plotly_doubleclick",null),o.call("_guiRelayout",k,R({a:0,b:0,c:0}))),n.indexOf("select")>-1&&1===t&&E(e,k,[A.xaxis],[A.yaxis],A.id,A.dragOptions),n.indexOf("event")>-1&&m.click(k,e,A.id)}function U(t,e){return 1-e/A.h}function j(t,e){return 1-(t+(A.h-e)/Math.sqrt(3))/A.w}function q(t,e){return(t-(A.h-e)/Math.sqrt(3))/A.w}function D(r,o){var a=n+r*t,s=i+o*e,l=Math.max(0,Math.min(1,U(0,i),U(0,s))),u=Math.max(0,Math.min(1,j(n,i),j(a,s))),c=Math.max(0,Math.min(1,q(n,i),q(a,s))),p=(l/2+c)*A.w,m=(1-l/2-u)*A.w,g=(p+m)/2,y=m-p,w=(1-l)*A.h,E=w-y/z;y.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),C.transition().style("opacity",1).duration(200),b=!0),k.emit("plotly_relayouting",R(f))}function B(){M(k),f!==h&&(o.call("_guiRelayout",k,R(f)),L&&k.data&&k._context.showTips&&(a.notifier(l(k,"Double-click to zoom back out"),"long"),L=!1))}function F(t,e){var n=t/A.xaxis._m,i=e/A.yaxis._m,r=[(f={a:h.a-i,b:h.b+(n+i)/2,c:h.c-(n-i)/2}).a,f.b,f.c].sort(a.sorterAsc),o=r.indexOf(f.a),l=r.indexOf(f.b),u=r.indexOf(f.c);r[0]<0&&(r[1]+r[0]/2<0?(r[2]+=r[0]+r[1],r[0]=r[1]=0):(r[2]+=r[0]/2,r[1]+=r[0]/2,r[0]=0),f={a:r[o],b:r[l],c:r[u]},e=(h.a-f.a)*A.yaxis._m,t=(h.c-f.c-h.b+f.b)*A.xaxis._m);var d=s(A.x0+t,A.y0+e);A.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",d);var _=s(-t,-e);A.clipDefRelative.select("path").attr("transform",_),A.aaxis.range=[f.a,A.sum-f.b-f.c],A.baxis.range=[A.sum-f.a-f.c,f.b],A.caxis.range=[A.sum-f.a-f.b,f.c],A.drawAxes(!1),A._hasClipOnAxisFalse&&A.plotContainer.select(".scatterlayer").selectAll(".trace").call(c.hideOutsideRangePoints,A),k.emit("plotly_relayouting",R(f))}function W(){o.call("_guiRelayout",k,R(f))}this.dragOptions={element:S,gd:k,plotinfo:{id:A.id,domain:k._fullLayout[A.id].domain,xaxis:A.xaxis,yaxis:A.yaxis},subplot:A.id,prepFn:function(o,l,c){A.dragOptions.xaxes=[A.xaxis],A.dragOptions.yaxes=[A.yaxis],t=k._fullLayout._invScaleX,e=k._fullLayout._invScaleY;var p=A.dragOptions.dragmode=k._fullLayout.dragmode;g(p)?A.dragOptions.minDrag=1:A.dragOptions.minDrag=void 0,"zoom"===p?(A.dragOptions.moveFn=D,A.dragOptions.clickFn=P,A.dragOptions.doneFn=B,function(t,e,o){var l=S.getBoundingClientRect();n=e-l.left,i=o-l.top,k._fullLayout._calcInverseTransform(k);var c=k._fullLayout._invTransform,p=a.apply3DTransform(c)(n,i);n=p[0],i=p[1],h={a:A.aaxis.range[0],b:A.baxis.range[1],c:A.caxis.range[1]},f=h,d=A.aaxis.range[1]-h.a,_=r(A.graphDiv._fullLayout[A.id].bgcolor).getLuminance(),v="M0,"+A.h+"L"+A.w/2+", 0L"+A.w+","+A.h+"Z",b=!1,x=$.append("path").attr("class","zoombox").attr("transform",s(A.x0,A.y0)).style({fill:_>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",v),C=$.append("path").attr("class","zoombox-corners").attr("transform",s(A.x0,A.y0)).style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),A.clearOutline(k)}(0,l,c)):"pan"===p?(A.dragOptions.moveFn=F,A.dragOptions.clickFn=P,A.dragOptions.doneFn=W,h={a:A.aaxis.range[0],b:A.baxis.range[1],c:A.caxis.range[1]},f=h,A.clearOutline(k)):(y(p)||g(p))&&w(o,l,c,A.dragOptions,p)}},S.onmousemove=function(t){m.hover(k,t,A.id),k._fullLayout._lasthover=S,k._fullLayout._hoversubplot=A.id},S.onmouseout=function(t){k._dragging||p.unhover(k,t)},p.init(this.dragOptions)}},24040:function(t,e,n){"use strict";var i=n(24248),r=n(16628),o=n(52416),a=n(63620),s=n(52200).addStyleRule,l=n(92880),u=n(45464),c=n(64859),h=l.extendFlat,d=l.extendDeepAll;function f(t){var n=t.name,r=t.categories,o=t.meta;if(e.modules[n])i.log("Type "+n+" already registered");else{e.subplotsRegistry[t.basePlotModule.name]||function(t){var n=t.name;if(e.subplotsRegistry[n])i.log("Plot type "+n+" already registered.");else for(var r in v(t),e.subplotsRegistry[n]=t,e.componentsRegistry)b(r,t.name)}(t.basePlotModule);for(var a={},l=0;l-1&&(h[f[n]].title={text:""});for(n=0;n")?"":e.html(t).text()}));return e.remove(),n}(E)).replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(c,"'"),r.isIE()&&(E=(E=(E=E.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),E}},84664:function(t,e,n){"use strict";var i=n(3400);t.exports=function(t,e){for(var n=0;nh+u||!i(c))}for(var f=0;f=0)return t}else if("string"==typeof t&&"%"===(t=t.trim()).slice(-1)&&i(t.slice(0,-1))&&(t=+t.slice(0,-1))>=0)return t+"%"}function _(t,e,n,i,o,a){var s=!(!1===(a=a||{}).moduleHasSelected),l=!(!1===a.moduleHasUnselected),u=!(!1===a.moduleHasConstrain),c=!(!1===a.moduleHasCliponaxis),h=!(!1===a.moduleHasTextangle),f=!(!1===a.moduleHasInsideanchor),_=!!a.hasPathbar,p=Array.isArray(o)||"auto"===o,m=p||"inside"===o,v=p||"outside"===o;if(m||v){var g=d(i,"textfont",n.font),y=r.extendFlat({},g),b=!(t.textfont&&t.textfont.color);if(b&&delete y.color,d(i,"insidetextfont",y),_){var w=r.extendFlat({},g);b&&delete w.color,d(i,"pathbar.textfont",w)}v&&d(i,"outsidetextfont",g),s&&i("selected.textfont.color"),l&&i("unselected.textfont.color"),u&&i("constraintext"),c&&i("cliponaxis"),h&&i("textangle"),i("texttemplate")}m&&f&&i("insidetextanchor")}t.exports={supplyDefaults:function(t,e,n,i){function c(n,i){return r.coerce(t,e,h,n,i)}if(s(t,e,i,c)){l(t,e,i,c),c("xhoverformat"),c("yhoverformat"),c("orientation",e.x&&!e.y?"h":"v"),c("base"),c("offset"),c("width"),c("text"),c("hovertext"),c("hovertemplate");var d=c("textposition");_(t,0,i,c,d,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),u(t,e,c,n,i);var f=(e.marker.line||{}).color,p=a.getComponentMethod("errorbars","supplyDefaults");p(t,e,f||o.defaultLine,{axis:"y"}),p(t,e,f||o.defaultLine,{axis:"x",inherit:"y"}),r.coerceSelectionMarkerOpacity(e,c)}else e.visible=!1},crossTraceDefaults:function(t,e){var n,i;function o(t,e){return r.coerce(i._input,i,h,t,e)}for(var a=0;ao))return e}return void 0!==n?n:t.dflt},e.coerceColor=function(t,e,n){return r(e).isValid()?e:void 0!==n?n:t.dflt},e.coerceEnumerated=function(t,e,n){return t.coerceNumber&&(e=+e),-1!==t.values.indexOf(e)?e:void 0!==n?n:t.dflt},e.getValue=function(t,e){var n;return o(t)?e0?e+=n:c<0&&(e-=n)}return e}function M(t){var e=c,n=t.b,r=L(t);return i.inbox(n-e,r-e,w+(r-e)/(r-n)-1)}var $=t[h+"a"],R=t[d+"a"];p=Math.abs($.r2c($.range[1])-$.r2c($.range[0]));var P=i.getDistanceFunction(r,f,_,(function(t){return(f(t)+_(t))/2}));if(i.getClosest(m,P,t),!1!==t.index&&m[t.index].p!==u){C||(k=function(t){return Math.min(T(t),t.p-g.bargroupwidth/2)},N=function(t){return Math.max(A(t),t.p+g.bargroupwidth/2)});var U=m[t.index],j=v.base?U.b+U.s:U.s;t[d+"0"]=t[d+"1"]=R.c2p(U[d],!0),t[d+"LabelVal"]=j;var q=g.extents[g.extents.round(U.p)];t[h+"0"]=$.c2p(y?k(U):q[0],!0),t[h+"1"]=$.c2p(y?N(U):q[1],!0);var D=void 0!==U.orig_p;return t[h+"LabelVal"]=D?U.orig_p:U.p,t.labelLabel=l($,t[h+"LabelVal"],v[h+"hoverformat"]),t.valueLabel=l(R,t[d+"LabelVal"],v[d+"hoverformat"]),t.baseLabel=l(R,U.b,v[d+"hoverformat"]),t.spikeDistance=(function(t){var e=c,n=t.b,r=L(t);return i.inbox(n-e,r-e,E+(r-e)/(r-n)-1)}(U)+function(t){return I(T(t),A(t),E)}(U))/2,t[h+"Spike"]=$.c2p(U.p,!0),a(U,v,t),t.hovertemplate=v.hovertemplate,t}}function h(t,e){var n=e.mcc||t.marker.color,i=e.mlcc||t.marker.line.color,r=s(t,e);return o.opacity(n)?n:o.opacity(i)&&r?i:void 0}t.exports={hoverPoints:function(t,e,n,i,o){var a=c(t,e,n,i,o);if(a){var s=a.cd,l=s[0].trace,u=s[a.index];return a.color=h(l,u),r.getComponentMethod("errorbars","hoverInfo")(u,l,a),[a]}},hoverOnBars:c,getTraceColor:h}},51132:function(t,e,n){"use strict";t.exports={attributes:n(20832),layoutAttributes:n(39324),supplyDefaults:n(31508).supplyDefaults,crossTraceDefaults:n(31508).crossTraceDefaults,supplyLayoutDefaults:n(37156),calc:n(71820),crossTraceCalc:n(96376).crossTraceCalc,colorbar:n(5528),arraysToCalcdata:n(84664),plot:n(98184).plot,style:n(60100).style,styleOnSelect:n(60100).styleOnSelect,hoverPoints:n(63400).hoverPoints,eventData:n(52160),selectPoints:n(45784),moduleType:"trace",name:"bar",basePlotModule:n(57952),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},39324:function(t){"use strict";t.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",editType:"calc"},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},bargap:{valType:"number",min:0,max:1,editType:"calc"},bargroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},barcornerradius:{valType:"any",editType:"calc"}}},37156:function(t,e,n){"use strict";var i=n(24040),r=n(54460),o=n(3400),a=n(39324),s=n(31508).validateCornerradius;t.exports=function(t,e,n){function l(n,i){return o.coerce(t,e,a,n,i)}for(var u=!1,c=!1,h=!1,d={},f=l("barmode"),_=0;_0)-(t<0)}function T(t,e){return t0}function z(t,e,n,i,r){return!(t<0||e<0)&&(n<=t&&i<=e||n<=e&&i<=t||(r?t>=n*(e/i):e>=i*(t/n)))}function k(t){return"auto"===t?0:t}function N(t,e){var n=Math.PI/180*e,i=Math.abs(Math.sin(n)),r=Math.abs(Math.cos(n));return{x:t.width*r+t.height*i,y:t.width*i+t.height*r}}function I(t,e,n,i,r,o){var a=!!o.isHorizontal,s=!!o.constrained,l=o.angle||0,u=o.anchor,c="end"===u,h="start"===u,d=((o.leftToRight||0)+1)/2,f=1-d,_=o.hasB,p=o.r,m=o.overhead,v=r.width,g=r.height,y=Math.abs(e-t),b=Math.abs(i-n),E=y>2*w&&b>2*w?w:0;y-=2*E,b-=2*E;var x=k(l);"auto"!==l||v<=y&&g<=b||!(v>y||g>b)||(v>b||g>y)&&vw){var z=function(t,e,n,i,r,o,a,s,l){var u,c,h,d,f=Math.max(0,Math.abs(e-t)-2*w),_=Math.max(0,Math.abs(i-n)-2*w),p=o-w,m=a?p-Math.sqrt(p*p-(p-a)*(p-a)):p,v=l?2*p:s?p-a:2*m,g=l?2*p:s?2*m:p-a;return r.y/r.x>=_/(f-v)?d=_/r.y:r.y/r.x<=(_-g)/f?d=f/r.x:!l&&s?(u=r.x*r.x+r.y*r.y/4,h=(f-p)*(f-p)+(_/2-p)*(_/2-p)-p*p,d=(-(c=-2*r.x*(f-p)-r.y*(_/2-p))+Math.sqrt(c*c-4*u*h))/(2*u)):l?(u=(r.x*r.x+r.y*r.y)/4,h=(f/2-p)*(f/2-p)+(_/2-p)*(_/2-p)-p*p,d=(-(c=-r.x*(f/2-p)-r.y*(_/2-p))+Math.sqrt(c*c-4*u*h))/(2*u)):(u=r.x*r.x/4+r.y*r.y,h=(f/2-p)*(f/2-p)+(_-p)*(_-p)-p*p,d=(-(c=-r.x*(f/2-p)-2*r.y*(_-p))+Math.sqrt(c*c-4*u*h))/(2*u)),{scale:d=Math.min(1,d),pad:s?Math.max(0,p-Math.sqrt(Math.max(0,p*p-(p-(_-r.y*d)/2)*(p-(_-r.y*d)/2)))-a):Math.max(0,p-Math.sqrt(Math.max(0,p*p-(p-(f-r.x*d)/2)*(p-(f-r.x*d)/2)))-a)}}(t,e,n,i,S,p,m,a,_);C=z.scale,A=z.pad}else C=1,s&&(C=Math.min(1,y/S.x,b/S.y)),A=0;var I=r.left*f+r.right*d,O=(r.top+r.bottom)/2,L=(t+w)*f+(e-w)*d,M=(n+i)/2,$=0,R=0;if(h||c){var P=(a?S.x:S.y)/2;p&&(c||_)&&(E+=A);var U=a?T(t,e):T(n,i);a?h?(L=t+U*E,$=-U*P):(L=e-U*E,$=U*P):h?(M=n+U*E,R=-U*P):(M=i-U*E,R=U*P)}return{textX:I,textY:O,targetX:L,targetY:M,anchorX:$,anchorY:R,scale:C,rotate:x}}t.exports={plot:function(t,e,n,h,m,v){var E=e.xaxis,O=e.yaxis,L=t._fullLayout,M=t._context.staticPlot;m||(m={mode:L.barmode,norm:L.barmode,gap:L.bargap,groupgap:L.bargroupgap},f("bar",L));var $=o.makeTraceGroups(h,n,"trace bars").each((function(n){var u=i.select(this),h=n[0].trace,f=n[0].t,$="waterfall"===h.type,R="funnel"===h.type,P="histogram"===h.type,U="bar"===h.type,j=U||R,q=0;$&&h.connector.visible&&"between"===h.connector.mode&&(q=h.connector.line.width/2);var D="h"===h.orientation,B=S(m),F=o.ensureSingle(u,"g","points"),W=x(h),G=F.selectAll("g.point").data(o.identity,W);G.enter().append("g").classed("point",!0),G.exit().remove(),G.each((function(u,x){var S,$,R=i.select(this),F=function(t,e,n,i){var r=[],o=[],a=i?e:n,s=i?n:e;return r[0]=a.c2p(t.s0,!0),o[0]=s.c2p(t.p0,!0),r[1]=a.c2p(t.s1,!0),o[1]=s.c2p(t.p1,!0),i?[r,o]:[o,r]}(u,E,O,D),W=F[0][0],G=F[0][1],H=F[1][0],V=F[1][1],X=0==(D?G-W:V-H);if(X&&j&&p.getLineWidth(h,u)&&(X=!1),X||(X=!(r(W)&&r(G)&&r(H)&&r(V))),u.isBlank=X,X&&(D?G=W:V=H),q&&!X&&(D?(W-=T(W,G)*q,G+=T(W,G)*q):(H-=T(H,V)*q,V+=T(H,V)*q)),"waterfall"===h.type){if(!X){var J=h[u.dir].marker;S=J.line.width,$=J.color}}else S=p.getLineWidth(h,u),$=u.mc||h.marker.color;function Z(t){var e=i.round(S/2%1,2);return 0===m.gap&&0===m.groupgap?i.round(Math.round(t)-e,2):t}var Y=s.opacity($)<1||S>.01?Z:function(t,e,n){return n&&t===e?t:Math.abs(t-e)>=2?Z(t):t>e?Math.ceil(t):Math.floor(t)};t._context.staticPlot||(W=Y(W,G,D),G=Y(G,W,D),H=Y(H,V,!D),V=Y(V,H,!D));var K,Q=D?E.c2p:O.c2p;K=u.s0>0?u._sMax:u.s0<0?u._sMin:u.s1>0?u._sMax:u._sMin;var tt,et,nt=U||P?function(t,e){if(!t)return 0;var n,i=D?Math.abs(V-H):Math.abs(G-W),r=D?Math.abs(G-W):Math.abs(V-H),o=Y(Math.abs(Q(K,!0)-Q(0,!0))),a=u.hasB?Math.min(i/2,r/2):Math.min(i/2,o);return n="%"===e?i*(Math.min(50,t)/100):t,Y(Math.max(Math.min(n,a),0))}(f.cornerradiusvalue,f.cornerradiusform):0,it="M"+W+","+H+"V"+V+"H"+G+"V"+H+"Z",rt=0;if(nt&&u.s){var ot=0===C(u.s0)||C(u.s)===C(u.s0)?u.s1:u.s0;if((rt=Y(u.hasB?0:Math.abs(Q(K,!0)-Q(ot,!0))))0?Math.sqrt(rt*(2*nt-rt)):0,ht=at>0?Math.max:Math.min;tt="M"+W+","+H+"V"+(V-ut*st)+"H"+ht(G-(nt-rt)*at,W)+"A "+nt+","+nt+" 0 0 "+lt+" "+G+","+(V-nt*st-ct)+"V"+(H+nt*st+ct)+"A "+nt+","+nt+" 0 0 "+lt+" "+ht(G-(nt-rt)*at,W)+","+(H+ut*st)+"Z"}else if(u.hasB)tt="M"+(W+nt*at)+","+H+"A "+nt+","+nt+" 0 0 "+lt+" "+W+","+(H+nt*st)+"V"+(V-nt*st)+"A "+nt+","+nt+" 0 0 "+lt+" "+(W+nt*at)+","+V+"H"+(G-nt*at)+"A "+nt+","+nt+" 0 0 "+lt+" "+G+","+(V-nt*st)+"V"+(H+nt*st)+"A "+nt+","+nt+" 0 0 "+lt+" "+(G-nt*at)+","+H+"Z";else{var dt=(et=Math.abs(V-H)+rt)0?Math.sqrt(rt*(2*nt-rt)):0,_t=st>0?Math.max:Math.min;tt="M"+(W+dt*at)+","+H+"V"+_t(V-(nt-rt)*st,H)+"A "+nt+","+nt+" 0 0 "+lt+" "+(W+nt*at-ft)+","+V+"H"+(G-nt*at+ft)+"A "+nt+","+nt+" 0 0 "+lt+" "+(G-dt*at)+","+_t(V-(nt-rt)*st,H)+"V"+H+"Z"}}else tt=it}else tt=it;var pt=A(o.ensureSingle(R,"path"),L,m,v);if(pt.style("vector-effect",M?"none":"non-scaling-stroke").attr("d",isNaN((G-W)*(V-H))||X&&t._context.staticPlot?"M0,0Z":tt).call(l.setClipUrl,e.layerClipId,t),!L.uniformtext.mode&&B){var mt=l.makePointStyleFns(h);l.singlePointStyle(u,pt,h,mt,t)}!function(t,e,n,i,r,s,u,h,f,m,v,E,x){var C,S=e.xaxis,O=e.yaxis,L=t._fullLayout;function M(e,n,i){return o.ensureSingle(e,"text").text(n).attr({class:"bartext bartext-"+C,"text-anchor":"middle","data-notex":1}).call(l.font,i).call(a.convertToTspans,t)}var $=i[0].trace,R="h"===$.orientation,P=function(t,e,n,i,r){var a,s=e[0].trace;return a=s.texttemplate?function(t,e,n,i,r){var a=e[0].trace,s=o.castOption(a,n,"texttemplate");if(!s)return"";var l,u,h,d,f="histogram"===a.type,_="waterfall"===a.type,p="funnel"===a.type,m="h"===a.orientation;function v(t){return c(d,d.c2l(t),!0).text}m?(l="y",u=r,h="x",d=i):(l="x",u=i,h="y",d=r);var g,y=e[n],w={};w.label=y.p,w.labelLabel=w[l+"Label"]=(g=y.p,c(u,u.c2l(g),!0).text);var E=o.castOption(a,y.i,"text");(0===E||E)&&(w.text=E),w.value=y.s,w.valueLabel=w[h+"Label"]=v(y.s);var x={};b(x,a,y.i),(f||void 0===x.x)&&(x.x=m?w.value:w.label),(f||void 0===x.y)&&(x.y=m?w.label:w.value),(f||void 0===x.xLabel)&&(x.xLabel=m?w.valueLabel:w.labelLabel),(f||void 0===x.yLabel)&&(x.yLabel=m?w.labelLabel:w.valueLabel),_&&(w.delta=+y.rawS||y.s,w.deltaLabel=v(w.delta),w.final=y.v,w.finalLabel=v(w.final),w.initial=w.final-w.delta,w.initialLabel=v(w.initial)),p&&(w.value=y.s,w.valueLabel=v(w.value),w.percentInitial=y.begR,w.percentInitialLabel=o.formatPercent(y.begR),w.percentPrevious=y.difR,w.percentPreviousLabel=o.formatPercent(y.difR),w.percentTotal=y.sumR,w.percenTotalLabel=o.formatPercent(y.sumR));var C=o.castOption(a,y.i,"customdata");return C&&(w.customdata=C),o.texttemplateString(s,w,t._d3locale,x,w,a._meta||{})}(t,e,n,i,r):s.textinfo?function(t,e,n,i){var r=t[0].trace,a="h"===r.orientation,s="waterfall"===r.type,l="funnel"===r.type;function u(t){return c(a?n:i,+t,!0).text}var h,d,f=r.textinfo,_=t[e],p=f.split("+"),m=[],v=function(t){return-1!==p.indexOf(t)};if(v("label")&&m.push((d=t[e].p,c(a?i:n,d,!0).text)),v("text")&&(0===(h=o.castOption(r,_.i,"text"))||h)&&m.push(h),s){var g=+_.rawS||_.s,y=_.v,b=y-g;v("initial")&&m.push(u(b)),v("delta")&&m.push(u(g)),v("final")&&m.push(u(y))}if(l){v("value")&&m.push(u(_.s));var w=0;v("percent initial")&&w++,v("percent previous")&&w++,v("percent total")&&w++;var E=w>1;v("percent initial")&&(h=o.formatPercent(_.begR),E&&(h+=" of initial"),m.push(h)),v("percent previous")&&(h=o.formatPercent(_.difR),E&&(h+=" of previous"),m.push(h)),v("percent total")&&(h=o.formatPercent(_.sumR),E&&(h+=" of total"),m.push(h))}return m.join("
")}(e,n,i,r):p.getValue(s.text,n),p.coerceString(g,a)}(L,i,r,S,O);C=function(t,e){var n=p.getValue(t.textposition,e);return p.coerceEnumerated(y,n)}($,r);var U="stack"===E.mode||"relative"===E.mode,j=i[r],q=!U||j._outmost,D=j.hasB,B=m&&m-v>w;if(P&&"none"!==C&&(!j.isBlank&&s!==u&&h!==f||"auto"!==C&&"inside"!==C)){var F=L.font,W=_.getBarColor(i[r],$),G=_.getInsideTextFont($,r,F,W),H=_.getOutsideTextFont($,r,F),V=$.insidetextanchor||"end",X=n.datum();R?"log"===S.type&&X.s0<=0&&(s=S.range[0]0&&K>0;rt=B?D?z(nt-2*m,it,Y,K,R)||z(nt,it-2*m,Y,K,R):R?z(nt-(m-v),it,Y,K,R)||z(nt,it-2*(m-v),Y,K,R):z(nt,it-(m-v),Y,K,R)||z(nt-2*(m-v),it,Y,K,R):z(nt,it,Y,K,R),ot&&rt?C="inside":(C="outside",J.remove(),J=null)}else C="inside";if(!J){var at=(J=M(n,P,Q=o.ensureUniformFontSize(t,"outside"===C?H:G))).attr("transform");if(J.attr("transform",""),Y=(Z=l.bBox(J.node())).width,K=Z.height,J.attr("transform",at),Y<=0||K<=0)return void J.remove()}var st,lt=$.textangle;st="outside"===C?function(t,e,n,i,r,o){var a,s=!!o.isHorizontal,l=!!o.constrained,u=o.angle||0,c=r.width,h=r.height,d=Math.abs(e-t),f=Math.abs(i-n);a=s?f>2*w?w:0:d>2*w?w:0;var _=1;l&&(_=s?Math.min(1,f/h):Math.min(1,d/c));var p=k(u),m=N(r,p),v=(s?m.x:m.y)/2,g=(r.left+r.right)/2,y=(r.top+r.bottom)/2,b=(t+e)/2,E=(n+i)/2,x=0,C=0,A=s?T(e,t):T(n,i);return s?(b=e-A*a,x=A*v):(E=i+A*a,C=-A*v),{textX:g,textY:y,targetX:b,targetY:E,anchorX:x,anchorY:C,scale:_,rotate:p}}(s,u,h,f,Z,{isHorizontal:R,constrained:"both"===$.constraintext||"outside"===$.constraintext,angle:lt}):I(s,u,h,f,Z,{isHorizontal:R,constrained:"both"===$.constraintext||"inside"===$.constraintext,angle:lt,anchor:V,hasB:D,r:m,overhead:v}),st.fontSize=Q.size,d("histogram"===$.type?"bar":$.type,st,L),j.transform=st;var ut=A(J,L,E,x);o.setTransormAndDisplay(ut,st)}else n.select("text").remove()}(t,e,R,n,x,W,G,H,V,nt,rt,m,v),e.layerClipId&&l.hideOutsideRangePoint(u,R.select("text"),E,O,h.xcalendar,h.ycalendar)}));var H=!1===h.cliponaxis;l.setClipUrl(u,H?null:e.layerClipId,t)}));u.getComponentMethod("errorbars","plot")(t,$,e,m)},toMoveInsideBar:I}},45784:function(t){"use strict";function e(t,e,n,i,r){var o=e.c2p(i?t.s0:t.p0,!0),a=e.c2p(i?t.s1:t.p1,!0),s=n.c2p(i?t.p0:t.s0,!0),l=n.c2p(i?t.p1:t.s1,!0);return r?[(o+a)/2,(s+l)/2]:i?[a,(s+l)/2]:[(o+a)/2,l]}t.exports=function(t,n){var i,r=t.cd,o=t.xaxis,a=t.yaxis,s=r[0].trace,l="funnel"===s.type,u="h"===s.orientation,c=[];if(!1===n)for(i=0;i1||0===r.bargap&&0===r.bargroupgap&&!t[0].trace.marker.line.width)&&i.select(this).attr("shape-rendering","crispEdges")})),e.selectAll("g.points").each((function(e){_(i.select(this),e[0].trace,t)})),s.getComponentMethod("errorbars","style")(e)},styleTextPoints:p,styleOnSelect:function(t,e,n){var r=e[0].trace;r.selectedpoints?function(t,e,n){o.selectedPointStyle(t.selectAll("path"),e),function(t,e,n){t.each((function(t){var r,s=i.select(this);if(t.selected){r=a.ensureUniformFontSize(n,m(s,t,e,n));var l=e.selected.textfont&&e.selected.textfont.color;l&&(r.color=l),o.font(s,r)}else o.selectedTextStyle(s,e)}))}(t.selectAll("text"),e,n)}(n,r,t):(_(n,r,t),s.getComponentMethod("errorbars","style")(n))},getInsideTextFont:g,getOutsideTextFont:y,getBarColor:w,resizeText:l}},55592:function(t,e,n){"use strict";var i=n(76308),r=n(94288).hasColorscale,o=n(27260),a=n(3400).coercePattern;t.exports=function(t,e,n,s,l){var u=n("marker.color",s),c=r(t,"marker");c&&o(t,e,l,n,{prefix:"marker.",cLetter:"c"}),n("marker.line.color",i.defaultLine),r(t,"marker.line")&&o(t,e,l,n,{prefix:"marker.line.",cLetter:"c"}),n("marker.line.width"),n("marker.opacity"),a(n,"marker.pattern",u,c),n("selected.marker.color"),n("unselected.marker.color")}},82744:function(t,e,n){"use strict";var i=n(33428),r=n(3400);function o(t){return"_"+t+"Text_minsize"}t.exports={recordMinTextSize:function(t,e,n){if(n.uniformtext.mode){var i=o(t),r=n.uniformtext.minsize,a=e.scale*e.fontSize;e.hide=ad.range[1]&&(y+=Math.PI),i.getClosest(u,(function(t){return p(g,y,[t.rp0,t.rp1],[t.thetag0,t.thetag1],_)?m+Math.min(1,Math.abs(t.thetag1-t.thetag0)/v)-1+(t.rp1-g)/(t.rp1-t.rp0)-1:1/0}),t),!1!==t.index){var b=u[t.index];t.x0=t.x1=b.ct[0],t.y0=t.y1=b.ct[1];var w=r.extendFlat({},b,{r:b.s,theta:b.p});return a(b,c,t),s(w,c,h,t),t.hovertemplate=c.hovertemplate,t.color=o(c,b),t.xLabelVal=t.yLabelVal=void 0,b.s<0&&(t.idealAlign="left"),[t]}}},94456:function(t,e,n){"use strict";t.exports={moduleType:"trace",name:"barpolar",basePlotModule:n(40872),categories:["polar","bar","showLegend"],attributes:n(78100),layoutAttributes:n(9320),supplyDefaults:n(70384),supplyLayoutDefaults:n(89580),calc:n(47056).calc,crossTraceCalc:n(47056).crossTraceCalc,plot:n(42040),colorbar:n(5528),formatLabels:n(22852),style:n(60100).style,styleOnSelect:n(60100).styleOnSelect,hoverPoints:n(68896),selectPoints:n(45784),meta:{}}},9320:function(t){"use strict";t.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},89580:function(t,e,n){"use strict";var i=n(3400),r=n(9320);t.exports=function(t,e,n){var o,a={};function s(n,a){return i.coerce(t[o]||{},e[o],r,n,a)}for(var l=0;l0?(u=a,c=l):(u=l,c=a);var h=[s.findEnclosingVertexAngles(u,t.vangles)[0],(u+c)/2,s.findEnclosingVertexAngles(c,t.vangles)[1]];return s.pathPolygonAnnulus(i,r,u,c,h,e,n)}:function(t,i,r,a){return o.pathAnnulus(t,i,r,a,e,n)}}(e),_=e.layers.frontplot.select("g.barlayer");o.makeTraceGroups(_,n,"trace bars").each((function(){var n=i.select(this),s=o.ensureSingle(n,"g","points").selectAll("g.point").data(o.identity);s.enter().append("g").style("vector-effect",l?"none":"non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),s.exit().remove(),s.each((function(t){var e,n=i.select(this),a=t.rp0=h.c2p(t.s0),s=t.rp1=h.c2p(t.s1),l=t.thetag0=d.c2g(t.p0),_=t.thetag1=d.c2g(t.p1);if(r(a)&&r(s)&&r(l)&&r(_)&&a!==s&&l!==_){var p=h.c2g(t.s1),m=(l+_)/2;t.ct=[u.c2p(p*Math.cos(m)),c.c2p(p*Math.sin(m))],e=f(a,s,l,_)}else e="M0,0Z";o.ensureSingle(n,"path").attr("d",e)})),a.setClipUrl(n,e._hasClipOnAxisFalse?e.clipIds.forTraces:null,t)}))}},63188:function(t,e,n){"use strict";var i=n(52904),r=n(20832),o=n(22548),a=n(29736).axisHoverFormat,s=n(21776).Ks,l=n(92880).extendFlat,u=i.marker,c=u.line;t.exports={y:{valType:"data_array",editType:"calc+clearAxisTypes"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},x0:{valType:"any",editType:"calc+clearAxisTypes"},y0:{valType:"any",editType:"calc+clearAxisTypes"},dx:{valType:"number",editType:"calc"},dy:{valType:"number",editType:"calc"},xperiod:i.xperiod,yperiod:i.yperiod,xperiod0:i.xperiod0,yperiod0:i.yperiod0,xperiodalignment:i.xperiodalignment,yperiodalignment:i.yperiodalignment,xhoverformat:a("x"),yhoverformat:a("y"),name:{valType:"string",editType:"calc+clearAxisTypes"},q1:{valType:"data_array",editType:"calc+clearAxisTypes"},median:{valType:"data_array",editType:"calc+clearAxisTypes"},q3:{valType:"data_array",editType:"calc+clearAxisTypes"},lowerfence:{valType:"data_array",editType:"calc"},upperfence:{valType:"data_array",editType:"calc"},notched:{valType:"boolean",editType:"calc"},notchwidth:{valType:"number",min:0,max:.5,dflt:.25,editType:"calc"},notchspan:{valType:"data_array",editType:"calc"},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],editType:"calc"},jitter:{valType:"number",min:0,max:1,editType:"calc"},pointpos:{valType:"number",min:-2,max:2,editType:"calc"},sdmultiple:{valType:"number",min:0,editType:"calc",dflt:1},sizemode:{valType:"enumerated",values:["quartiles","sd"],editType:"calc",dflt:"quartiles"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],editType:"calc"},mean:{valType:"data_array",editType:"calc"},sd:{valType:"data_array",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},quartilemethod:{valType:"enumerated",values:["linear","exclusive","inclusive"],dflt:"linear",editType:"calc"},width:{valType:"number",min:0,dflt:0,editType:"calc"},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)",editType:"style"},symbol:l({},u.symbol,{arrayOk:!1,editType:"plot"}),opacity:l({},u.opacity,{arrayOk:!1,dflt:1,editType:"style"}),angle:l({},u.angle,{arrayOk:!1,editType:"calc"}),size:l({},u.size,{arrayOk:!1,editType:"calc"}),color:l({},u.color,{arrayOk:!1,editType:"style"}),line:{color:l({},c.color,{arrayOk:!1,dflt:o.defaultLine,editType:"style"}),width:l({},c.width,{arrayOk:!1,dflt:0,editType:"style"}),outliercolor:{valType:"color",editType:"style"},outlierwidth:{valType:"number",min:0,dflt:1,editType:"style"},editType:"style"},editType:"plot"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:i.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},showwhiskers:{valType:"boolean",editType:"calc"},offsetgroup:r.offsetgroup,alignmentgroup:r.alignmentgroup,selected:{marker:i.selected.marker,editType:"style"},unselected:{marker:i.unselected.marker,editType:"style"},text:l({},i.text,{}),hovertext:l({},i.hovertext,{}),hovertemplate:s({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},62555:function(t,e,n){"use strict";var i=n(38248),r=n(54460),o=n(1220),a=n(3400),s=n(39032).BADNUM,l=a._;t.exports=function(t,e){var n,u,g,y,b,w,E,x=t._fullLayout,C=r.getFromId(t,e.xaxis||"x"),T=r.getFromId(t,e.yaxis||"y"),A=[],S="violin"===e.type?"_numViolins":"_numBoxes";"h"===e.orientation?(g=C,y="x",b=T,w="y",E=!!e.yperiodalignment):(g=T,y="y",b=C,w="x",E=!!e.xperiodalignment);var z,k,N,I,O,L,M=function(t,e,n,r){var s,l=e+"0"in t;if(e in t||l&&"d"+e in t){var u=n.makeCalcdata(t,e);return[o(t,n,e,u).vals,u]}s=l?t[e+"0"]:"name"in t&&("category"===n.type||i(t.name)&&-1!==["linear","log"].indexOf(n.type)||a.isDateTime(t.name)&&"date"===n.type)?t.name:r;for(var c="multicategory"===n.type?n.r2c_just_indices(s):n.d2c(s,0,t[e+"calendar"]),h=t._length,d=new Array(h),f=0;fz.uf};if(e._hasPreCompStats){var D=e[y],B=function(t){return g.d2c((e[t]||[])[n])},F=1/0,W=-1/0;for(n=0;n=z.q1&&z.q3>=z.med){var H=B("lowerfence");z.lf=H!==s&&H<=z.q1?H:f(z,N,I);var V=B("upperfence");z.uf=V!==s&&V>=z.q3?V:_(z,N,I);var X=B("mean");z.mean=X!==s?X:I?a.mean(N,I):(z.q1+z.q3)/2;var J=B("sd");z.sd=X!==s&&J>=0?J:I?a.stdev(N,I,z.mean):z.q3-z.q1,z.lo=p(z),z.uo=m(z);var Z=B("notchspan");Z=Z!==s&&Z>0?Z:v(z,I),z.ln=z.med-Z,z.un=z.med+Z;var Y=z.lf,K=z.uf;e.boxpoints&&N.length&&(Y=Math.min(Y,N[0]),K=Math.max(K,N[I-1])),e.notched&&(Y=Math.min(Y,z.ln),K=Math.max(K,z.un)),z.min=Y,z.max=K}else{var Q;a.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+z.q1,"median = "+z.med,"q3 = "+z.q3].join("\n")),Q=z.med!==s?z.med:z.q1!==s?z.q3!==s?(z.q1+z.q3)/2:z.q1:z.q3!==s?z.q3:0,z.med=Q,z.q1=z.q3=Q,z.lf=z.uf=Q,z.mean=z.sd=Q,z.ln=z.un=Q,z.min=z.max=Q}F=Math.min(F,z.min),W=Math.max(W,z.max),z.pts2=k.filter(q),A.push(z)}}e._extremes[g._id]=r.findExtremes(g,[F,W],{padded:!0})}else{var tt=g.makeCalcdata(e,y),et=function(t,e){for(var n=t.length,i=new Array(n+1),r=0;r=0&&rt0){var ct,ht;(z={}).pos=z[w]=U[n],k=z.pts=it[n].sort(h),I=(N=z[y]=k.map(d)).length,z.min=N[0],z.max=N[I-1],z.mean=a.mean(N,I),z.sd=a.stdev(N,I,z.mean)*e.sdmultiple,z.med=a.interp(N,.5),I%2&&(lt||ut)?(lt?(ct=N.slice(0,I/2),ht=N.slice(I/2+1)):ut&&(ct=N.slice(0,I/2+1),ht=N.slice(I/2)),z.q1=a.interp(ct,.5),z.q3=a.interp(ht,.5)):(z.q1=a.interp(N,.25),z.q3=a.interp(N,.75)),z.lf=f(z,N,I),z.uf=_(z,N,I),z.lo=p(z),z.uo=m(z);var dt=v(z,I);z.ln=z.med-dt,z.un=z.med+dt,ot=Math.min(ot,z.ln),at=Math.max(at,z.un),z.pts2=k.filter(q),A.push(z)}e.notched&&a.isTypedArray(tt)&&(tt=Array.from(tt)),e._extremes[g._id]=r.findExtremes(g,e.notched?tt.concat([ot,at]):tt,{padded:!0})}return function(t,e){if(a.isArrayOrTypedArray(e.selectedpoints))for(var n=0;n0?(A[0].t={num:x[S],dPos:j,posLetter:w,valLetter:y,labels:{med:l(t,"median:"),min:l(t,"min:"),q1:l(t,"q1:"),q3:l(t,"q3:"),max:l(t,"max:"),mean:"sd"===e.boxmean||"sd"===e.sizemode?l(t,"mean ± σ:").replace("σ",1===e.sdmultiple?"σ":e.sdmultiple+"σ"):l(t,"mean:"),lf:l(t,"lower fence:"),uf:l(t,"upper fence:")}},x[S]++,A):[{t:{empty:!0}}]};var u={text:"tx",hovertext:"htx"};function c(t,e,n){for(var i in u)a.isArrayOrTypedArray(e[i])&&(Array.isArray(n)?a.isArrayOrTypedArray(e[i][n[0]])&&(t[u[i]]=e[i][n[0]][n[1]]):t[u[i]]=e[i][n])}function h(t,e){return t.v-e.v}function d(t){return t.v}function f(t,e,n){return 0===n?t.q1:Math.min(t.q1,e[Math.min(a.findBin(2.5*t.q1-1.5*t.q3,e,!0)+1,n-1)])}function _(t,e,n){return 0===n?t.q3:Math.max(t.q3,e[Math.max(a.findBin(2.5*t.q3-1.5*t.q1,e),0)])}function p(t){return 4*t.q1-3*t.q3}function m(t){return 4*t.q3-3*t.q1}function v(t,e){return 0===e?0:1.57*(t.q3-t.q1)/Math.sqrt(e)}},96404:function(t,e,n){"use strict";var i=n(54460),r=n(3400),o=n(71888).getAxisGroup,a=["v","h"];function s(t,e,n,a){var s,l,u,c=e.calcdata,h=e._fullLayout,d=a._id,f=d.charAt(0),_=[],p=0;for(s=0;s1,b=1-h[t+"gap"],w=1-h[t+"groupgap"];for(s=0;s0){var W=z.pointpos,G=z.jitter,H=z.marker.size/2,V=0;W+G>=0&&((V=B*(W+G))>A?(F=!0,q=H,U=V):V>R&&(q=H,U=A)),V<=A&&(U=A);var X=0;W-G<=0&&((X=-B*(W-G))>S?(F=!0,D=H,j=X):X>P&&(D=H,j=S)),X<=S&&(j=S)}else U=A,j=S;var J=new Array(u.length);for(l=0;l0?(m="v",v=y>0?Math.min(w,b):Math.min(b)):y>0?(m="h",v=Math.min(w)):v=0;if(v){e._length=v;var S=n("orientation",m);e._hasPreCompStats?"v"===S&&0===y?(n("x0",0),n("dx",1)):"h"===S&&0===g&&(n("y0",0),n("dy",1)):"v"===S&&0===y?n("x0"):"h"===S&&0===g&&n("y0"),r.getComponentMethod("calendars","handleTraceDefaults")(t,e,["x","y"],o)}else e.visible=!1}function h(t,e,n,r){var o=r.prefix,a=i.coerce2(t,e,u,"marker.outliercolor"),s=n("marker.line.outliercolor"),l="outliers";e._hasPreCompStats?l="all":(a||s)&&(l="suspectedoutliers");var c=n(o+"points",l);c?(n("jitter","all"===c?.3:0),n("pointpos","all"===c?-1.5:0),n("marker.symbol"),n("marker.opacity"),n("marker.size"),n("marker.angle"),n("marker.color",e.line.color),n("marker.line.color"),n("marker.line.width"),"suspectedoutliers"===c&&(n("marker.line.outliercolor",e.marker.color),n("marker.line.outlierwidth")),n("selected.marker.color"),n("unselected.marker.color"),n("selected.marker.size"),n("unselected.marker.size"),n("text"),n("hovertext")):delete e.marker;var h=n("hoveron");"all"!==h&&-1===h.indexOf("points")||n("hovertemplate"),i.coerceSelectionMarkerOpacity(e,n)}t.exports={supplyDefaults:function(t,e,n,r){function s(n,r){return i.coerce(t,e,u,n,r)}if(c(t,e,s,r),!1!==e.visible){a(t,e,r,s),s("xhoverformat"),s("yhoverformat");var l=e._hasPreCompStats;l&&(s("lowerfence"),s("upperfence")),s("line.color",(t.marker||{}).color||n),s("line.width"),s("fillcolor",o.addOpacity(e.line.color,.5));var d=!1;if(l){var f=s("mean"),_=s("sd");f&&f.length&&(d=!0,_&&_.length&&(d="sd"))}s("whiskerwidth");var p,m=s("sizemode");"quartiles"===m&&(p=s("boxmean",d)),s("showwhiskers","quartiles"===m),"sd"!==m&&"sd"!==p||s("sdmultiple"),s("width"),s("quartilemethod");var v=!1;if(l){var g=s("notchspan");g&&g.length&&(v=!0)}else i.validate(t.notchwidth,u.notchwidth)&&(v=!0);s("notched",v)&&s("notchwidth"),h(t,e,s,{prefix:"box"})}},crossTraceDefaults:function(t,e){var n,r;function o(t){return i.coerce(r._input,r,u,t)}for(var a=0;at.lo&&(y.so=!0)}return o}));d.enter().append("path").classed("point",!0),d.exit().remove(),d.call(o.translatePoints,a,s)}function l(t,e,n,o){var a,s,l=e.val,u=e.pos,c=!!u.rangebreaks,h=o.bPos,d=o.bPosPxOffset||0,f=n.boxmean||(n.meanline||{}).visible;Array.isArray(o.bdPos)?(a=o.bdPos[0],s=o.bdPos[1]):(a=o.bdPos,s=o.bdPos);var _=t.selectAll("path.mean").data("box"===n.type&&n.boxmean||"violin"===n.type&&n.box.visible&&n.meanline.visible?r.identity:[]);_.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),_.exit().remove(),_.each((function(t){var e=u.c2l(t.pos+h,!0),r=u.l2p(e-a)+d,o=u.l2p(e+s)+d,_=c?(r+o)/2:u.l2p(e)+d,p=l.c2p(t.mean,!0),m=l.c2p(t.mean-t.sd,!0),v=l.c2p(t.mean+t.sd,!0);"h"===n.orientation?i.select(this).attr("d","M"+p+","+r+"V"+o+("sd"===f?"m0,0L"+m+","+_+"L"+p+","+r+"L"+v+","+_+"Z":"")):i.select(this).attr("d","M"+r+","+p+"H"+o+("sd"===f?"m0,0L"+_+","+m+"L"+r+","+p+"L"+_+","+v+"Z":""))}))}t.exports={plot:function(t,e,n,o){var u=t._context.staticPlot,c=e.xaxis,h=e.yaxis;r.makeTraceGroups(o,n,"trace boxes").each((function(t){var e,n,r=i.select(this),o=t[0],d=o.t,f=o.trace;d.wdPos=d.bdPos*f.whiskerwidth,!0!==f.visible||d.empty?r.remove():("h"===f.orientation?(e=h,n=c):(e=c,n=h),a(r,{pos:e,val:n},f,d,u),s(r,{x:c,y:h},f,d),l(r,{pos:e,val:n},f,d))}))},plotBoxAndWhiskers:a,plotPoints:s,plotBoxMean:l}},8264:function(t){"use strict";t.exports=function(t,e){var n,i,r=t.cd,o=t.xaxis,a=t.yaxis,s=[];if(!1===e)for(n=0;n=10)return null;for(var n=1/0,o=-1/0,a=t.length,s=0;s0?Math.floor:Math.ceil,O=k>0?Math.ceil:Math.floor,L=k>0?Math.min:Math.max,M=k>0?Math.max:Math.min,$=I(S+N),R=O(z-N),P=[[h=A(S)]];for(o=$;o*k=0;r--)o[c-r]=t[h][r],a[c-r]=e[h][r];for(s.push({x:o,y:a,bicubic:l}),r=h,o=[],a=[];r>=0;r--)o[h-r]=t[r][0],a[h-r]=e[r][0];return s.push({x:o,y:a,bicubic:u}),s}},19216:function(t,e,n){"use strict";var i=n(54460),r=n(92880).extendFlat;t.exports=function(t,e,n){var o,a,s,l,u,c,h,d,f,_,p,m,v,g,y=t["_"+e],b=t[e+"axis"],w=b._gridlines=[],E=b._minorgridlines=[],x=b._boundarylines=[],C=t["_"+n],T=t[n+"axis"];"array"===b.tickmode&&(b.tickvals=y.slice());var A=t._xctrl,S=t._yctrl,z=A[0].length,k=A.length,N=t._a.length,I=t._b.length;i.prepTicks(b),"array"===b.tickmode&&delete b.tickvals;var O=b.smoothing?3:1;function L(i){var r,o,a,s,l,u,c,h,f,_,p,m,v=[],g=[],y={};if("b"===e)for(o=t.b2j(i),a=Math.floor(Math.max(0,Math.min(I-2,o))),s=o-a,y.length=I,y.crossLength=N,y.xy=function(e){return t.evalxy([],e,o)},y.dxy=function(e,n){return t.dxydi([],e,a,n,s)},r=0;r0&&(f=t.dxydi([],r-1,a,0,s),v.push(l[0]+f[0]/3),g.push(l[1]+f[1]/3),_=t.dxydi([],r-1,a,1,s),v.push(h[0]-_[0]/3),g.push(h[1]-_[1]/3)),v.push(h[0]),g.push(h[1]),l=h;else for(r=t.a2i(i),u=Math.floor(Math.max(0,Math.min(N-2,r))),c=r-u,y.length=N,y.crossLength=I,y.xy=function(e){return t.evalxy([],r,e)},y.dxy=function(e,n){return t.dxydj([],u,e,c,n)},o=0;o0&&(p=t.dxydj([],u,o-1,c,0),v.push(l[0]+p[0]/3),g.push(l[1]+p[1]/3),m=t.dxydj([],u,o-1,c,1),v.push(h[0]-m[0]/3),g.push(h[1]-m[1]/3)),v.push(h[0]),g.push(h[1]),l=h;return y.axisLetter=e,y.axis=b,y.crossAxis=T,y.value=i,y.constvar=n,y.index=d,y.x=v,y.y=g,y.smoothing=T.smoothing,y}function M(i){var r,o,a,s,l,u=[],c=[],h={};if(h.length=y.length,h.crossLength=C.length,"b"===e)for(a=Math.max(0,Math.min(I-2,i)),l=Math.min(1,Math.max(0,i-a)),h.xy=function(e){return t.evalxy([],e,i)},h.dxy=function(e,n){return t.dxydi([],e,a,n,l)},r=0;ry.length-1||w.push(r(M(a),{color:b.gridcolor,width:b.gridwidth,dash:b.griddash}));for(d=c;dy.length-1||p<0||p>y.length-1))for(m=y[s],v=y[p],o=0;oy[y.length-1]||E.push(r(L(_),{color:b.minorgridcolor,width:b.minorgridwidth,dash:b.minorgriddash}));b.startline&&x.push(r(M(0),{color:b.startlinecolor,width:b.startlinewidth})),b.endline&&x.push(r(M(y.length-1),{color:b.endlinecolor,width:b.endlinewidth}))}else{for(l=5e-15,c=(u=[Math.floor((y[y.length-1]-b.tick0)/b.dtick*(1+l)),Math.ceil((y[0]-b.tick0)/b.dtick/(1+l))].sort((function(t,e){return t-e})))[0],h=u[1],d=c;d<=h;d++)f=b.tick0+b.dtick*d,w.push(r(L(f),{color:b.gridcolor,width:b.gridwidth,dash:b.griddash}));for(d=c-1;dy[y.length-1]||E.push(r(L(_),{color:b.minorgridcolor,width:b.minorgridwidth,dash:b.minorgriddash}));b.startline&&x.push(r(L(y[0]),{color:b.startlinecolor,width:b.startlinewidth})),b.endline&&x.push(r(L(y[y.length-1]),{color:b.endlinecolor,width:b.endlinewidth}))}}},14724:function(t,e,n){"use strict";var i=n(54460),r=n(92880).extendFlat;t.exports=function(t,e){var n,o,a,s=e._labels=[],l=e._gridlines;for(n=0;ne.length&&(t=t.slice(0,e.length)):t=[],r=0;r90&&(f-=180,l=-l),{angle:f,flip:l,p:t.c2p(i,e,n),offsetMultplier:u}}},164:function(t,e,n){"use strict";var i=n(33428),r=n(43616),o=n(87072),a=n(53416),s=n(15584),l=n(72736),u=n(3400),c=u.strRotate,h=u.strTranslate,d=n(84284);function f(t,e,n,s,l,u,c){var h="const-"+l+"-lines",d=n.selectAll("."+h).data(u);d.enter().append("path").classed(h,!0).style("vector-effect",c?"none":"non-scaling-stroke"),d.each((function(n){var s=n,l=s.x,u=s.y,c=o([],l,t.c2p),h=o([],u,e.c2p),d="M"+a(c,h,s.smoothing);i.select(this).attr("d",d).style("stroke-width",s.width).style("stroke",s.color).style("stroke-dasharray",r.dashStyle(s.dash,s.width)).style("fill","none")})),d.exit().remove()}function _(t,e,n,o,a,u,d,f){var _=u.selectAll("text."+f).data(d);_.enter().append("text").classed(f,!0);var p=0,m={};return _.each((function(a,u){var d;if("auto"===a.axis.tickangle)d=s(o,e,n,a.xy,a.dxy);else{var f=(a.axis.tickangle+180)*Math.PI/180;d=s(o,e,n,a.xy,[Math.cos(f),Math.sin(f)])}u||(m={angle:d.angle,flip:d.flip});var _=(a.endAnchor?-1:1)*d.flip,v=i.select(this).attr({"text-anchor":_>0?"start":"end","data-notex":1}).call(r.font,a.font).text(a.text).call(l.convertToTspans,t),g=r.bBox(this);v.attr("transform",h(d.p[0],d.p[1])+c(d.angle)+h(a.axis.labelpadding*_,.3*g.height)),p=Math.max(p,g.width+a.axis.labelpadding)})),_.exit().remove(),m.maxExtent=p,m}t.exports=function(t,e,n,r){var l=t._context.staticPlot,c=e.xaxis,h=e.yaxis,d=t._fullLayout._clips;u.makeTraceGroups(r,n,"trace").each((function(e){var n=i.select(this),r=e[0],p=r.trace,m=p.aaxis,g=p.baxis,y=u.ensureSingle(n,"g","minorlayer"),b=u.ensureSingle(n,"g","majorlayer"),w=u.ensureSingle(n,"g","boundarylayer"),E=u.ensureSingle(n,"g","labellayer");n.style("opacity",p.opacity),f(c,h,b,0,"a",m._gridlines,!0),f(c,h,b,0,"b",g._gridlines,!0),f(c,h,y,0,"a",m._minorgridlines,!0),f(c,h,y,0,"b",g._minorgridlines,!0),f(c,h,w,0,"a-boundary",m._boundarylines,l),f(c,h,w,0,"b-boundary",g._boundarylines,l);var x=_(t,c,h,p,0,E,m._labels,"a-label"),C=_(t,c,h,p,0,E,g._labels,"b-label");!function(t,e,n,i,r,o,a,l){var c,h,d,f,_=u.aggNums(Math.min,null,n.a),p=u.aggNums(Math.max,null,n.a),m=u.aggNums(Math.min,null,n.b),g=u.aggNums(Math.max,null,n.b);c=.5*(_+p),h=m,d=n.ab2xy(c,h,!0),f=n.dxyda_rough(c,h),void 0===a.angle&&u.extendFlat(a,s(n,r,o,d,n.dxydb_rough(c,h))),v(t,e,n,0,d,f,n.aaxis,r,o,a,"a-title"),c=_,h=.5*(m+g),d=n.ab2xy(c,h,!0),f=n.dxydb_rough(c,h),void 0===l.angle&&u.extendFlat(l,s(n,r,o,d,n.dxyda_rough(c,h))),v(t,e,n,0,d,f,n.baxis,r,o,l,"b-title")}(t,E,p,0,c,h,x,C),function(t,e,n,i,r){var s,l,c,h,d=n.select("#"+t._clipPathId);d.size()||(d=n.append("clipPath").classed("carpetclip",!0));var f=u.ensureSingle(d,"path","carpetboundary"),_=e.clipsegments,p=[];for(h=0;h<_.length;h++)s=_[h],l=o([],s.x,i.c2p),c=o([],s.y,r.c2p),p.push(a(l,c,s.bicubic));var m="M"+p.join("L")+"Z";d.attr("id",t._clipPathId),f.attr("d",m)}(p,r,d,c,h)}))};var p=d.LINE_SPACING,m=(1-d.MID_SHIFT)/p+1;function v(t,e,n,o,a,u,d,f,_,v,g){var y=[];d.title.text&&y.push(d.title.text);var b=e.selectAll("text."+g).data(y),w=v.maxExtent;b.enter().append("text").classed(g,!0),b.each((function(){var e=s(n,f,_,a,u);-1===["start","both"].indexOf(d.showticklabels)&&(w=0);var o=d.title.font.size;w+=o+d.title.offset;var g=(v.angle+(v.flip<0?180:0)-e.angle+450)%360,y=g>90&&g<270,b=i.select(this);b.text(d.title.text).call(l.convertToTspans,t),y&&(w=(-l.lineCount(b)+m)*p*o-w),b.attr("transform",h(e.p[0],e.p[1])+c(e.angle)+h(0,w)).attr("text-anchor","middle").call(r.font,d.title.font)})),b.exit().remove()}},81e3:function(t,e,n){"use strict";var i=n(24588),r=n(14952).findBin,o=n(30180),a=n(29056),s=n(26435),l=n(24464);t.exports=function(t){var e=t._a,n=t._b,u=e.length,c=n.length,h=t.aaxis,d=t.baxis,f=e[0],_=e[u-1],p=n[0],m=n[c-1],v=e[e.length-1]-e[0],g=n[n.length-1]-n[0],y=v*i.RELATIVE_CULL_TOLERANCE,b=g*i.RELATIVE_CULL_TOLERANCE;f-=y,_+=y,p-=b,m+=b,t.isVisible=function(t,e){return t>f&&t<_&&e>p&&e_||em},t.setScale=function(){var e=t._x,n=t._y,i=o(t._xctrl,t._yctrl,e,n,h.smoothing,d.smoothing);t._xctrl=i[0],t._yctrl=i[1],t.evalxy=a([t._xctrl,t._yctrl],u,c,h.smoothing,d.smoothing),t.dxydi=s([t._xctrl,t._yctrl],h.smoothing,d.smoothing),t.dxydj=l([t._xctrl,t._yctrl],h.smoothing,d.smoothing)},t.i2a=function(t){var n=Math.max(0,Math.floor(t[0]),u-2),i=t[0]-n;return(1-i)*e[n]+i*e[n+1]},t.j2b=function(t){var e=Math.max(0,Math.floor(t[1]),u-2),i=t[1]-e;return(1-i)*n[e]+i*n[e+1]},t.ij2ab=function(e){return[t.i2a(e[0]),t.j2b(e[1])]},t.a2i=function(t){var n=Math.max(0,Math.min(r(t,e),u-2)),i=e[n],o=e[n+1];return Math.max(0,Math.min(u-1,n+(t-i)/(o-i)))},t.b2j=function(t){var e=Math.max(0,Math.min(r(t,n),c-2)),i=n[e],o=n[e+1];return Math.max(0,Math.min(c-1,e+(t-i)/(o-i)))},t.ab2ij=function(e){return[t.a2i(e[0]),t.b2j(e[1])]},t.i2c=function(e,n){return t.evalxy([],e,n)},t.ab2xy=function(i,r,o){if(!o&&(ie[u-1]|rn[c-1]))return[!1,!1];var a=t.a2i(i),s=t.b2j(r),l=t.evalxy([],a,s);if(o){var h,d,f,_,p=0,m=0,v=[];ie[u-1]?(h=u-2,d=1,p=(i-e[u-1])/(e[u-1]-e[u-2])):d=a-(h=Math.max(0,Math.min(u-2,Math.floor(a)))),rn[c-1]?(f=c-2,_=1,m=(r-n[c-1])/(n[c-1]-n[c-2])):_=s-(f=Math.max(0,Math.min(c-2,Math.floor(s)))),p&&(t.dxydi(v,h,f,d,_),l[0]+=v[0]*p,l[1]+=v[1]*p),m&&(t.dxydj(v,h,f,d,_),l[0]+=v[0]*m,l[1]+=v[1]*m)}return l},t.c2p=function(t,e,n){return[e.c2p(t[0]),n.c2p(t[1])]},t.p2x=function(t,e,n){return[e.p2c(t[0]),n.p2c(t[1])]},t.dadi=function(t){var n=Math.max(0,Math.min(e.length-2,t));return e[n+1]-e[n]},t.dbdj=function(t){var e=Math.max(0,Math.min(n.length-2,t));return n[e+1]-n[e]},t.dxyda=function(e,n,i,r){var o=t.dxydi(null,e,n,i,r),a=t.dadi(e,i);return[o[0]/a,o[1]/a]},t.dxydb=function(e,n,i,r){var o=t.dxydj(null,e,n,i,r),a=t.dbdj(n,r);return[o[0]/a,o[1]/a]},t.dxyda_rough=function(e,n,i){var r=v*(i||.1),o=t.ab2xy(e+r,n,!0),a=t.ab2xy(e-r,n,!0);return[.5*(o[0]-a[0])/r,.5*(o[1]-a[1])/r]},t.dxydb_rough=function(e,n,i){var r=g*(i||.1),o=t.ab2xy(e,n+r,!0),a=t.ab2xy(e,n-r,!0);return[.5*(o[0]-a[0])/r,.5*(o[1]-a[1])/r]},t.dpdx=function(t){return t._m},t.dpdy=function(t){return t._m}}},51512:function(t,e,n){"use strict";var i=n(3400);t.exports=function(t,e,n){var r,o,a,s=[],l=[],u=t[0].length,c=t.length;function h(e,n){var i,r=0,o=0;return e>0&&void 0!==(i=t[n][e-1])&&(o++,r+=i),e0&&void 0!==(i=t[n-1][e])&&(o++,r+=i),n0&&o0&&r1e-5);return i.log("Smoother converged to",C,"after",T,"iterations"),t}},86411:function(t,e,n){"use strict";var i=n(3400).isArray1D;t.exports=function(t,e,n){var r=n("x"),o=r&&r.length,a=n("y"),s=a&&a.length;if(!o&&!s)return!1;if(e._cheater=!r,o&&!i(r)||s&&!i(a))e._length=null;else{var l=o?r.length:1/0;s&&(l=Math.min(l,a.length)),e.a&&e.a.length&&(l=Math.min(l,e.a.length)),e.b&&e.b.length&&(l=Math.min(l,e.b.length)),e._length=l}return!0}},83372:function(t,e,n){"use strict";var i=n(21776).Ks,r=n(6096),o=n(49084),a=n(45464),s=n(22548).defaultLine,l=n(92880).extendFlat,u=r.marker.line;t.exports=l({locations:{valType:"data_array",editType:"calc"},locationmode:r.locationmode,z:{valType:"data_array",editType:"calc"},geojson:l({},r.geojson,{}),featureidkey:r.featureidkey,text:l({},r.text,{}),hovertext:l({},r.hovertext,{}),marker:{line:{color:l({},u.color,{dflt:s}),width:l({},u.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:r.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:r.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:l({},a.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:i(),showlegend:l({},a.showlegend,{dflt:!1})},o("",{cLetter:"z",editTypeOverride:"calc"}))},7924:function(t,e,n){"use strict";var i=n(38248),r=n(39032).BADNUM,o=n(47128),a=n(20148),s=n(4500);function l(t){return t&&"string"==typeof t}t.exports=function(t,e){var n,u=e._length,c=new Array(u);n=e.geojson?function(t){return l(t)||i(t)}:l;for(var h=0;h")}}(t,h,a),[t]}},54272:function(t,e,n){"use strict";t.exports={attributes:n(83372),supplyDefaults:n(30972),colorbar:n(96288),calc:n(7924),calcGeoJSON:n(88364).calcGeoJSON,plot:n(88364).plot,style:n(7947).style,styleOnSelect:n(7947).styleOnSelect,hoverPoints:n(69224),eventData:n(52428),selectPoints:n(17328),moduleType:"trace",name:"choropleth",basePlotModule:n(10816),categories:["geo","noOpacity","showLegend"],meta:{}}},88364:function(t,e,n){"use strict";var i=n(33428),r=n(3400),o=n(27144),a=n(59972).getTopojsonFeatures,s=n(19280).findExtremes,l=n(7947).style;t.exports={calcGeoJSON:function(t,e){for(var n=t[0].trace,i=e[n.geo],r=i._subplot,l=n.locationmode,u=n._length,c="geojson-id"===l?o.extractTraceFeature(t):a(n,r.topojson),h=[],d=[],f=0;f=0;i--){var r=n[i].id;if("string"==typeof r&&0===r.indexOf("water"))for(var o=i+1;o=0;n--)t.removeLayer(e[n][1])},s.dispose=function(){var t=this.subplot.map;this._removeLayers(),t.removeSource(this.sourceId)},t.exports=function(t,e){var n=e[0].trace,r=new a(t,n.uid),o=r.sourceId,s=i(e),l=r.below=t.belowLookup["trace-"+n.uid];return t.map.addSource(o,{type:"geojson",data:s.geojson}),r._addLayers(s,l),e[0].trace._glTrace=r,r}},86040:function(t,e,n){"use strict";var i=n(49084),r=n(29736).axisHoverFormat,o=n(21776).Ks,a=n(52948),s=n(45464),l=n(92880).extendFlat,u={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:o({editType:"calc"},{keys:["norm"]}),uhoverformat:r("u",1),vhoverformat:r("v",1),whoverformat:r("w",1),xhoverformat:r("x"),yhoverformat:r("y"),zhoverformat:r("z"),showlegend:l({},s.showlegend,{dflt:!1})};l(u,i("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"})),["opacity","lightposition","lighting"].forEach((function(t){u[t]=a[t]})),u.hoverinfo=l({},s.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),u.transforms=void 0,t.exports=u},83344:function(t,e,n){"use strict";var i=n(47128);t.exports=function(t,e){for(var n=e.u,r=e.v,o=e.w,a=Math.min(e.x.length,e.y.length,e.z.length,n.length,r.length,o.length),s=-1/0,l=1/0,u=0;ua.level||a.starts.length&&o===a.level)}break;case"constraint":if(i.prefixBoundary=!1,i.edgepaths.length)return;var s=i.x.length,l=i.y.length,u=-1/0,c=1/0;for(n=0;n":f>u&&(i.prefixBoundary=!0);break;case"<":(fu||i.starts.length&&d===c)&&(i.prefixBoundary=!0);break;case"][":h=Math.min(f[0],f[1]),d=Math.max(f[0],f[1]),hu&&(i.prefixBoundary=!0)}}}},55296:function(t,e,n){"use strict";var i=n(8932),r=n(41076),o=n(46960);t.exports={min:"zmin",max:"zmax",calc:function(t,e,n){var a=e.contours,s=e.line,l=a.size||1,u=a.coloring,c=r(e,{isColorbar:!0});if("heatmap"===u){var h=i.extractOpts(e);n._fillgradient=h.reversescale?i.flipScale(h.colorscale):h.colorscale,n._zrange=[h.min,h.max]}else"fill"===u&&(n._fillcolor=c);n._line={color:"lines"===u?c:s.color,width:!1!==a.showlines?s.width:0,dash:s.dash},n._levels={start:a.start,end:o(a),size:l}}}},93252:function(t){"use strict";t.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},95536:function(t,e,n){"use strict";var i=n(38248),r=n(17428),o=n(76308),a=o.addOpacity,s=o.opacity,l=n(69104),u=n(3400).isArrayOrTypedArray,c=l.CONSTRAINT_REDUCTION,h=l.COMPARISON_OPS2;t.exports=function(t,e,n,o,l,d){var f,_,p,m=e.contours,v=n("contours.operation");m._operation=c[v],function(t,e){var n;-1===h.indexOf(e.operation)?(t("contours.value",[0,1]),u(e.value)?e.value.length>2?e.value=e.value.slice(2):0===e.length?e.value=[0,1]:e.length<2?(n=parseFloat(e.value[0]),e.value=[n,n+1]):e.value=[parseFloat(e.value[0]),parseFloat(e.value[1])]:i(e.value)&&(n=parseFloat(e.value),e.value=[n,n+1])):(t("contours.value",0),i(e.value)||(u(e.value)?e.value=parseFloat(e.value[0]):e.value=0))}(n,m),"="===v?f=m.showlines=!0:(f=n("contours.showlines"),p=n("fillcolor",a((t.line||{}).color||l,.5))),f&&(_=n("line.color",p&&s(p)?a(e.fillcolor,1):l),n("line.width",2),n("line.dash")),n("line.smoothing"),r(n,o,_,d)}},3212:function(t,e,n){"use strict";var i=n(69104),r=n(38248);function o(t,e){var n,o=Array.isArray(e);function a(t){return r(t)?+t:null}return-1!==i.COMPARISON_OPS2.indexOf(t)?n=a(o?e[0]:e):-1!==i.INTERVAL_OPS.indexOf(t)?n=o?[a(e[0]),a(e[1])]:[a(e),a(e)]:-1!==i.SET_OPS.indexOf(t)&&(n=o?e.map(a):[a(e)]),n}function a(t){return function(e){e=o(t,e);var n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return{start:n,end:i,size:i-n}}}function s(t){return function(e){return{start:e=o(t,e),end:1/0,size:1/0}}}t.exports={"[]":a("[]"),"][":a("]["),">":s(">"),"<":s("<"),"=":s("=")}},84952:function(t){"use strict";t.exports=function(t,e,n,i){var r=i("contours.start"),o=i("contours.end"),a=!1===r||!1===o,s=n("contours.size");!(a?e.autocontour=!0:n("autocontour",!1))&&s||n("ncontours")}},82172:function(t,e,n){"use strict";var i=n(3400);function r(t){return i.extendFlat({},t,{edgepaths:i.extendDeep([],t.edgepaths),paths:i.extendDeep([],t.paths),starts:i.extendDeep([],t.starts)})}t.exports=function(t,e){var n,o,a,s=function(t){return t.reverse()},l=function(t){return t};switch(e){case"=":case"<":return t;case">":for(1!==t.length&&i.warn("Contour data invalid for the specified inequality operation."),o=t[0],n=0;n1e3){i.warn("Too many contours, clipping at 1000",t);break}return l}},46960:function(t){"use strict";t.exports=function(t){return t.end+t.size/1e6}},88748:function(t,e,n){"use strict";var i=n(3400),r=n(93252);function o(t,e,n,i){return Math.abs(t[0]-e[0])20&&e?208===t||1114===t?i=0===n[0]?1:-1:o=0===n[1]?1:-1:-1!==r.BOTTOMSTART.indexOf(t)?o=1:-1!==r.LEFTSTART.indexOf(t)?i=1:-1!==r.TOPSTART.indexOf(t)?o=-1:i=-1,[i,o]}(h,n,e),f=[s(t,e,[-d[0],-d[1]])],_=t.z.length,p=t.z[0].length,m=e.slice(),v=d.slice();for(u=0;u<1e4;u++){if(h>20?(h=r.CHOOSESADDLE[h][(d[0]||d[1])<0?0:1],t.crossings[c]=r.SADDLEREMAINDER[h]):delete t.crossings[c],!(d=r.NEWDELTA[h])){i.log("Found bad marching index:",h,e,t.level);break}f.push(s(t,e,d)),e[0]+=d[0],e[1]+=d[1],c=e.join(","),o(f[f.length-1],f[f.length-2],a,l)&&f.pop();var g=d[0]&&(e[0]<0||e[0]>p-2)||d[1]&&(e[1]<0||e[1]>_-2);if(e[0]===m[0]&&e[1]===m[1]&&d[0]===v[0]&&d[1]===v[1]||n&&g)break;h=t.crossings[c]}1e4===u&&i.log("Infinite loop in contour?");var y,b,w,E,x,C,T,A,S,z,k,N,I,O,L,M=o(f[0],f[f.length-1],a,l),$=0,R=.2*t.smoothing,P=[],U=0;for(u=1;u=U;u--)if((y=P[u])=U&&y+P[b]A&&S--,t.edgepaths[S]=k.concat(f,z));break}B||(t.edgepaths[A]=f.concat(z))}for(A=0;A=g)&&(n<=v&&(n=v),a>=g&&(a=g),l=Math.floor((a-n)/s)+1,u=0),d=0;d<_;d++)h=f[d],p[d]=(h[0]*(l+u-1)-u/2)*s+n,m[d]=h[1];(E||t.autocontour)&&(p[0]>v&&(p.unshift(v),m.unshift(m[0])),p[p.length-1]t?0:1)+(e[0][1]>t?0:2)+(e[1][1]>t?0:4)+(e[1][0]>t?0:8);return 5===n||10===n?t>(e[0][0]+e[0][1]+e[1][0]+e[1][1])/4?5===n?713:1114:5===n?104:208:15===n?0:n}t.exports=function(t){var e,n,o,a,s,l,u,c,h,d=t[0].z,f=d.length,_=d[0].length,p=2===f||2===_;for(n=0;n=0&&(i=g,s=l):Math.abs(n[1]-i[1])<.01?Math.abs(n[1]-g[1])<.01&&(g[0]-n[0])*(i[0]-g[0])>=0&&(i=g,s=l):r.log("endpt to newendpt is not vert. or horz.",n,i,g)}if(n=i,s>=0)break;h+="L"+i}if(s===t.edgepaths.length){r.log("unclosed perimeter path");break}d=s,(_=-1===f.indexOf(d))&&(d=f[0],h+="Z")}for(d=0;di.center?i.right-s:s-i.left)/(c+Math.abs(Math.sin(u)*a)),f=(l>i.middle?i.bottom-l:l-i.top)/(Math.abs(h)+Math.cos(u)*a);if(d<1||f<1)return 1/0;var _=v.EDGECOST*(1/(d-1)+1/(f-1));_+=v.ANGLECOST*u*u;for(var p=s-c,m=l-h,g=s+c,y=l+h,b=0;b2*v.MAXCOST)break;f&&(s/=2),l=(a=u-s/2)+1.5*s}if(d<=v.MAXCOST)return c},e.addLabelData=function(t,e,n,i){var r=e.fontSize,o=e.width+r/3,a=Math.max(0,e.height-r/3),s=t.x,l=t.y,u=t.theta,c=Math.sin(u),h=Math.cos(u),d=function(t,e){return[s+t*h-e*c,l+t*c+e*h]},f=[d(-o/2,-a/2),d(-o/2,a/2),d(o/2,a/2),d(o/2,-a/2)];n.push({text:e.text,x:s,y:l,dy:e.dy,theta:u,level:e.level,width:o,height:a}),i.push(f)},e.drawLabels=function(t,e,n,o,a){var l=t.selectAll("text").data(e,(function(t){return t.text+","+t.x+","+t.y+","+t.theta}));if(l.exit().remove(),l.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each((function(t){var e=t.x+Math.sin(t.theta)*t.dy,r=t.y-Math.cos(t.theta)*t.dy;i.select(this).text(t.text).attr({x:e,y:r,transform:"rotate("+180*t.theta/Math.PI+" "+e+" "+r+")"}).call(s.convertToTspans,n)})),a){for(var u="",c=0;cn.end&&(n.start=n.end=(n.start+n.end)/2),t._input.contours||(t._input.contours={}),r.extendFlat(t._input.contours,{start:n.start,end:n.end,size:n.size}),t._input.autocontour=!0}else if("constraint"!==n.type){var u,c=n.start,h=n.end,d=t._input.contours;c>h&&(n.start=d.start=h,h=n.end=d.end=c,c=n.start),n.size>0||(u=c===h?1:o(c,h,t.ncontours).dtick,d.size=n.size=u)}}},52440:function(t,e,n){"use strict";var i=n(33428),r=n(43616),o=n(41648),a=n(41076);t.exports=function(t){var e=i.select(t).selectAll("g.contour");e.style("opacity",(function(t){return t[0].trace.opacity})),e.each((function(t){var e=i.select(this),n=t[0].trace,o=n.contours,s=n.line,l=o.size||1,u=o.start,c="constraint"===o.type,h=!c&&"lines"===o.coloring,d=!c&&"fill"===o.coloring,f=h||d?a(n):null;e.selectAll("g.contourlevel").each((function(t){i.select(this).selectAll("path").call(r.lineGroupStyle,s.width,h?f(t.level):s.color,s.dash)}));var _=o.labelfont;if(e.selectAll("g.contourlabels text").each((function(t){r.font(i.select(this),{family:_.family,size:_.size,color:_.color||(h?f(t.level):s.color)})})),c)e.selectAll("g.contourfill path").style("fill",n.fillcolor);else if(d){var p;e.selectAll("g.contourfill path").style("fill",(function(t){return void 0===p&&(p=t.level),f(t.level+.5*l)})),void 0===p&&(p=u),e.selectAll("g.contourbg path").style("fill",f(p-.5*l))}})),o(t)}},97680:function(t,e,n){"use strict";var i=n(27260),r=n(17428);t.exports=function(t,e,n,o,a){var s,l=n("contours.coloring"),u="";"fill"===l&&(s=n("contours.showlines")),!1!==s&&("lines"!==l&&(u=n("line.color","#000")),n("line.width",.5),n("line.dash")),"none"!==l&&(!0!==t.showlegend&&(e.showlegend=!1),e._dfltShowLegend=!1,i(t,e,o,n,{prefix:"",cLetter:"z"})),n("line.smoothing"),r(n,o,u,a)}},37960:function(t,e,n){"use strict";var i=n(83328),r=n(67104),o=n(49084),a=n(92880).extendFlat,s=r.contours;t.exports=a({carpet:{valType:"string",editType:"calc"},z:i.z,a:i.x,a0:i.x0,da:i.dx,b:i.y,b0:i.y0,db:i.dy,text:i.text,hovertext:i.hovertext,transpose:i.transpose,atype:i.xtype,btype:i.ytype,fillcolor:r.fillcolor,autocontour:r.autocontour,ncontours:r.ncontours,contours:{type:s.type,start:s.start,end:s.end,size:s.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:s.showlines,showlabels:s.showlabels,labelfont:s.labelfont,labelformat:s.labelformat,operation:s.operation,value:s.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:r.line.color,width:r.line.width,dash:r.line.dash,smoothing:r.line.smoothing,editType:"plot"},transforms:void 0},o("",{cLetter:"z",autoColorDflt:!1}))},30572:function(t,e,n){"use strict";var i=n(47128),r=n(3400),o=n(2872),a=n(26136),s=n(70448),l=n(11240),u=n(35744),c=n(3252),h=n(50948),d=n(54444);t.exports=function(t,e){var n=e._carpetTrace=h(t,e);if(n&&n.visible&&"legendonly"!==n.visible){if(!e.a||!e.b){var f=t.data[n.index],_=t.data[e.index];_.a||(_.a=f.a),_.b||(_.b=f.b),c(_,e,e._defaultColor,t._fullLayout)}var p=function(t,e){var n,c,h,d,f,_,p,m=e._carpetTrace,v=m.aaxis,g=m.baxis;v._minDtick=0,g._minDtick=0,r.isArray1D(e.z)&&o(e,v,g,"a","b",["z"]),n=e._a=e._a||e.a,d=e._b=e._b||e.b,n=n?v.makeCalcdata(e,"_a"):[],d=d?g.makeCalcdata(e,"_b"):[],c=e.a0||0,h=e.da||1,f=e.b0||0,_=e.db||1,p=e._z=a(e._z||e.z,e.transpose),e._emptypoints=l(p),s(p,e._emptypoints);var y=r.maxRowLength(p),b="scaled"===e.xtype?"":n,w=u(e,b,c,h,y,v),E="scaled"===e.ytype?"":d,x={a:w,b:u(e,E,f,_,p.length,g),z:p};return"levels"===e.contours.type&&"none"!==e.contours.coloring&&i(t,e,{vals:p,containerStr:"",cLetter:"z"}),[x]}(t,e);return d(e,e._z),p}}},3252:function(t,e,n){"use strict";var i=n(3400),r=n(51264),o=n(37960),a=n(95536),s=n(84952),l=n(97680);t.exports=function(t,e,n,u){function c(n,r){return i.coerce(t,e,o,n,r)}if(c("carpet"),t.a&&t.b){if(!r(t,e,c,u,"a","b"))return void(e.visible=!1);c("text"),"constraint"===c("contours.type")?a(t,e,c,u,n,{hasHover:!1}):(s(t,e,c,(function(n){return i.coerce2(t,e,o,n)})),l(t,e,c,u,{hasHover:!1}))}else e._defaultColor=n,e._length=null}},40448:function(t,e,n){"use strict";t.exports={attributes:n(37960),supplyDefaults:n(3252),colorbar:n(55296),calc:n(30572),plot:n(94440),style:n(52440),moduleType:"trace",name:"contourcarpet",basePlotModule:n(57952),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},94440:function(t,e,n){"use strict";var i=n(33428),r=n(87072),o=n(53416),a=n(43616),s=n(3400),l=n(72424),u=n(88748),c=n(23676),h=n(93252),d=n(82172),f=n(61512),_=n(56008),p=n(50948),m=n(77712);function v(t,e,n){var i=t.getPointAtLength(e),r=t.getPointAtLength(n),o=r.x-i.x,a=r.y-i.y,s=Math.sqrt(o*o+a*a);return[o/s,a/s]}function g(t){var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]);return[t[0]/e,t[1]/e]}function y(t,e){var n=Math.abs(t[0]*e[0]+t[1]*e[1]);return Math.sqrt(1-n*n)/n}t.exports=function(t,e,n,b){var w=e.xaxis,E=e.yaxis;s.makeTraceGroups(b,n,"contour").each((function(n){var b=i.select(this),x=n[0],C=x.trace,T=C._carpetTrace=p(t,C),A=t.calcdata[T.index][0];if(T.visible&&"legendonly"!==T.visible){var S=x.a,z=x.b,k=C.contours,N=f(k,e,x),I="constraint"===k.type,O=k._operation,L=I?"="===O?"lines":"fill":k.coloring,M=[[S[0],z[z.length-1]],[S[S.length-1],z[z.length-1]],[S[S.length-1],z[0]],[S[0],z[0]]];l(N);var $=1e-8*(S[S.length-1]-S[0]),R=1e-8*(z[z.length-1]-z[0]);u(N,$,R);var P,U,j,q,D=N;"constraint"===k.type&&(D=d(N,O)),function(t,e){var n,i,r,o,a,s,l,u,c;for(n=0;n=0;q--)P=A.clipsegments[q],U=r([],P.x,w.c2p),j=r([],P.y,E.c2p),U.reverse(),j.reverse(),B.push(o(U,j,P.bicubic));var F="M"+B.join("L")+"Z";!function(t,e,n,i,a,l){var u,c,h,d,f=s.ensureSingle(t,"g","contourbg").selectAll("path").data("fill"!==l||a?[]:[0]);f.enter().append("path"),f.exit().remove();var _=[];for(d=0;d=0&&(d=k,_=p):Math.abs(h[1]-d[1])=0&&(d=k,_=p):s.log("endpt to newendpt is not vert. or horz.",h,d,k)}if(_>=0)break;g+=S(h,d),h=d}if(_===e.edgepaths.length){s.log("unclosed perimeter path");break}c=_,(b=-1===y.indexOf(c))&&(c=y[0],g+=S(h,d)+"Z",h=null)}for(c=0;cp&&(i.max=p),i.len=i.max-i.min}function m(t,e){var n,i=0,a=.1;return(Math.abs(t[0]-l)0?+f[c]:0),h.push({type:"Feature",geometry:{type:"Point",coordinates:v},properties:g})}}var b=a.extractOpts(e),w=b.reversescale?a.flipScale(b.colorscale):b.colorscale,E=w[0][1],x=["interpolate",["linear"],["heatmap-density"],0,o.opacity(E)<1?E:o.addOpacity(E,0)];for(c=1;c=0;n--)t.removeLayer(e[n][1])},a.dispose=function(){var t=this.subplot.map;this._removeLayers(),t.removeSource(this.sourceId)},t.exports=function(t,e){var n=e[0].trace,r=new o(t,n.uid),a=r.sourceId,s=i(e),l=r.below=t.belowLookup["trace-"+n.uid];return t.map.addSource(a,{type:"geojson",data:s.geojson}),r._addLayers(s,l),r}},74248:function(t,e,n){"use strict";var i=n(3400);t.exports=function(t,e){for(var n=0;n"),l.color=function(t,e){var n=t.marker,r=e.mc||n.color,o=e.mlc||n.line.color,a=e.mlw||n.line.width;return i(r)?r:i(o)&&a?o:void 0}(c,d),[l]}}},94704:function(t,e,n){"use strict";t.exports={attributes:n(20088),layoutAttributes:n(7076),supplyDefaults:n(45432).supplyDefaults,crossTraceDefaults:n(45432).crossTraceDefaults,supplyLayoutDefaults:n(11631),calc:n(23096),crossTraceCalc:n(4804),plot:n(42200),style:n(44544).style,hoverPoints:n(31488),eventData:n(34580),selectPoints:n(45784),moduleType:"trace",name:"funnel",basePlotModule:n(57952),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},7076:function(t){"use strict";t.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",editType:"calc"},funnelgap:{valType:"number",min:0,max:1,editType:"calc"},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},11631:function(t,e,n){"use strict";var i=n(3400),r=n(7076);t.exports=function(t,e,n){var o=!1;function a(n,o){return i.coerce(t,e,r,n,o)}for(var s=0;s path").each((function(t){if(!t.isBlank){var e=s.marker;i.select(this).call(o.fill,t.mc||e.color).call(o.stroke,t.mlc||e.line.color).call(r.dashLine,e.line.dash,t.mlw||e.line.width).style("opacity",s.selectedpoints&&!t.selected?a:1)}})),u(n,s,t),n.selectAll(".regions").each((function(){i.select(this).selectAll("path").style("stroke-width",0).call(o.fill,s.connector.fillcolor)})),n.selectAll(".lines").each((function(){var t=s.connector.line;r.lineGroupStyle(i.select(this).selectAll("path"),t.width,t.color,t.dash)}))}))}}},22332:function(t,e,n){"use strict";var i=n(74996),r=n(45464),o=n(86968).u,a=n(21776).Ks,s=n(21776).Gw,l=n(92880).extendFlat;t.exports={labels:i.labels,label0:i.label0,dlabel:i.dlabel,values:i.values,marker:{colors:i.marker.colors,line:{color:l({},i.marker.line.color,{dflt:null}),width:l({},i.marker.line.width,{dflt:1}),editType:"calc"},pattern:i.marker.pattern,editType:"calc"},text:i.text,hovertext:i.hovertext,scalegroup:l({},i.scalegroup,{}),textinfo:l({},i.textinfo,{flags:["label","text","value","percent"]}),texttemplate:s({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:l({},r.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:a({},{keys:["label","color","value","text","percent"]}),textposition:l({},i.textposition,{values:["inside","none"],dflt:"inside"}),textfont:i.textfont,insidetextfont:i.insidetextfont,title:{text:i.title.text,font:i.title.font,position:l({},i.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:o({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}},91248:function(t,e,n){"use strict";var i=n(7316);e.name="funnelarea",e.plot=function(t,n,r,o){i.plotBasePlot(e.name,t,n,r,o)},e.clean=function(t,n,r,o){i.cleanBasePlot(e.name,t,n,r,o)}},54e3:function(t,e,n){"use strict";var i=n(45768);t.exports={calc:function(t,e){return i.calc(t,e)},crossTraceCalc:function(t){i.crossTraceCalc(t,{type:"funnelarea"})}}},92688:function(t,e,n){"use strict";var i=n(3400),r=n(22332),o=n(86968).Q,a=n(31508).handleText,s=n(74174).handleLabelsAndValues,l=n(74174).handleMarkerDefaults;t.exports=function(t,e,n,u){function c(n,o){return i.coerce(t,e,r,n,o)}var h=c("labels"),d=c("values"),f=s(h,d),_=f.len;if(e._hasLabels=f.hasLabels,e._hasValues=f.hasValues,!e._hasLabels&&e._hasValues&&(c("label0"),c("dlabel")),_){e._length=_,l(t,e,u,c),c("scalegroup");var p,m=c("text"),v=c("texttemplate");if(v||(p=c("textinfo",Array.isArray(m)?"text+percent":"percent")),c("hovertext"),c("hovertemplate"),v||p&&"none"!==p){var g=c("textposition");a(t,e,u,c,g,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}o(e,u,c),c("title.text")&&(c("title.position"),i.coerceFont(c,"title.font",u.font)),c("aspectratio"),c("baseratio")}else e.visible=!1}},62396:function(t,e,n){"use strict";t.exports={moduleType:"trace",name:"funnelarea",basePlotModule:n(91248),categories:["pie-like","funnelarea","showLegend"],attributes:n(22332),layoutAttributes:n(61280),supplyDefaults:n(92688),supplyLayoutDefaults:n(35384),calc:n(54e3).calc,crossTraceCalc:n(54e3).crossTraceCalc,plot:n(39472),style:n(62096),styleOne:n(10528),meta:{}}},61280:function(t,e,n){"use strict";var i=n(85204).hiddenlabels;t.exports={hiddenlabels:i,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},35384:function(t,e,n){"use strict";var i=n(3400),r=n(61280);t.exports=function(t,e){function n(n,o){return i.coerce(t,e,r,n,o)}n("hiddenlabels"),n("funnelareacolorway",e.colorway),n("extendfunnelareacolors")}},39472:function(t,e,n){"use strict";var i=n(33428),r=n(43616),o=n(3400),a=o.strScale,s=o.strTranslate,l=n(72736),u=n(98184).toMoveInsideBar,c=n(82744),h=c.recordMinTextSize,d=c.clearMinTextSize,f=n(69656),_=n(37820),p=_.attachFxHandlers,m=_.determineInsideTextFont,v=_.layoutAreas,g=_.prerenderTitles,y=_.positionTitleOutside,b=_.formatSliceLabel;function w(t,e){return"l"+(e[0]-t[0])+","+(e[1]-t[1])}t.exports=function(t,e){var n=t._context.staticPlot,c=t._fullLayout;d("funnelarea",c),g(e,t),v(e,c._size),o.makeTraceGroups(c._funnelarealayer,e,"trace").each((function(e){var d=i.select(this),_=e[0],v=_.trace;!function(t){if(t.length){var e=t[0],n=e.trace,i=n.aspectratio,r=n.baseratio;r>.999&&(r=.999);var o,a,s,l=Math.pow(r,2),u=e.vTotal,c=u,h=u*l/(1-l)/u,d=[];for(d.push(z()),a=t.length-1;a>-1;a--)if(!(s=t[a]).hidden){var f=s.v/c;h+=f,d.push(z())}var _=1/0,p=-1/0;for(a=0;a-1;a--)if(!(s=t[a]).hidden){var C=d[x+=1][0],T=d[x][1];s.TL=[-C,T],s.TR=[C,T],s.BL=w,s.BR=E,s.pxmid=(A=s.TR,S=s.BR,[.5*(A[0]+S[0]),.5*(A[1]+S[1])]),w=s.TL,E=s.TR}}var A,S;function z(){var t,e={x:t=Math.sqrt(h),y:-t};return[e.x,e.y]}}(e),d.each((function(){var d=i.select(this).selectAll("g.slice").data(e);d.enter().append("g").classed("slice",!0),d.exit().remove(),d.each((function(a,s){if(a.hidden)i.select(this).selectAll("path,g").remove();else{a.pointNumber=a.i,a.curveNumber=v.index;var d=_.cx,g=_.cy,y=i.select(this),E=y.selectAll("path.surface").data([a]);E.enter().append("path").classed("surface",!0).style({"pointer-events":n?"none":"all"}),y.call(p,t,e);var x="M"+(d+a.TR[0])+","+(g+a.TR[1])+w(a.TR,a.BR)+w(a.BR,a.BL)+w(a.BL,a.TL)+"Z";E.attr("d",x),b(t,a,_);var C=f.castOption(v.textposition,a.pts),T=y.selectAll("g.slicetext").data(a.text&&"none"!==C?[0]:[]);T.enter().append("g").classed("slicetext",!0),T.exit().remove(),T.each((function(){var n=o.ensureSingle(i.select(this),"text","",(function(t){t.attr("data-notex",1)})),f=o.ensureUniformFontSize(t,m(v,a,c.font));n.text(a.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(r.font,f).call(l.convertToTspans,t);var _,p,y,b=r.bBox(n.node()),w=Math.min(a.BL[1],a.BR[1])+g,E=Math.max(a.TL[1],a.TR[1])+g;p=Math.max(a.TL[0],a.BL[0])+d,y=Math.min(a.TR[0],a.BR[0])+d,(_=u(p,y,w,E,b,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"})).fontSize=f.size,h(v.type,_,c),e[s].transform=_,o.setTransormAndDisplay(n,_)}))}}));var g=i.select(this).selectAll("g.titletext").data(v.title.text?[0]:[]);g.enter().append("g").classed("titletext",!0),g.exit().remove(),g.each((function(){var e=o.ensureSingle(i.select(this),"text","",(function(t){t.attr("data-notex",1)})),n=v.title.text;v._meta&&(n=o.templateString(n,v._meta)),e.text(n).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(r.font,v.title.font).call(l.convertToTspans,t);var u=y(_,c._size);e.attr("transform",s(u.x,u.y)+a(Math.min(1,u.scale))+s(u.tx,u.ty))}))}))}))}},62096:function(t,e,n){"use strict";var i=n(33428),r=n(10528),o=n(82744).resizeText;t.exports=function(t){var e=t._fullLayout._funnelarealayer.selectAll(".trace");o(t,e,"funnelarea"),e.each((function(e){var n=e[0].trace,o=i.select(this);o.style({opacity:n.opacity}),o.selectAll("path.surface").each((function(e){i.select(this).call(r,e,n,t)}))}))}},83328:function(t,e,n){"use strict";var i=n(52904),r=n(45464),o=n(25376),a=n(29736).axisHoverFormat,s=n(21776).Ks,l=n(21776).Gw,u=n(49084),c=n(92880).extendFlat;t.exports=c({z:{valType:"data_array",editType:"calc"},x:c({},i.x,{impliedEdits:{xtype:"array"}}),x0:c({},i.x0,{impliedEdits:{xtype:"scaled"}}),dx:c({},i.dx,{impliedEdits:{xtype:"scaled"}}),y:c({},i.y,{impliedEdits:{ytype:"array"}}),y0:c({},i.y0,{impliedEdits:{ytype:"scaled"}}),dy:c({},i.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:c({},i.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:c({},i.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:c({},i.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:c({},i.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:c({},i.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:c({},i.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc"},hovertext:{valType:"data_array",editType:"calc"},transpose:{valType:"boolean",dflt:!1,editType:"calc"},xtype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},ytype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,editType:"calc"},hoverongaps:{valType:"boolean",dflt:!0,editType:"none"},connectgaps:{valType:"boolean",editType:"calc"},xgap:{valType:"number",dflt:0,min:0,editType:"plot"},ygap:{valType:"number",dflt:0,min:0,editType:"plot"},xhoverformat:a("x"),yhoverformat:a("y"),zhoverformat:a("z",1),hovertemplate:s(),texttemplate:l({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:o({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:c({},r.showlegend,{dflt:!1})},{transforms:void 0},u("",{cLetter:"z",autoColorDflt:!1}))},19512:function(t,e,n){"use strict";var i=n(24040),r=n(3400),o=n(54460),a=n(1220),s=n(55480),l=n(47128),u=n(2872),c=n(26136),h=n(70448),d=n(11240),f=n(35744),_=n(39032).BADNUM;function p(t){for(var e=[],n=t.length,i=0;i1){var e=(t[t.length-1]-t[0])/(t.length-1),n=Math.abs(e/100);for(C=0;Cn)return!1}return!0}(A.rangebreaks||S.rangebreaks)&&(x=function(t,e,n){for(var i=[],r=-1,o=0;o=0;a--)(s=((h[[(n=(o=d[a])[0])-1,r=o[1]]]||p)[2]+(h[[n+1,r]]||p)[2]+(h[[n,r-1]]||p)[2]+(h[[n,r+1]]||p)[2])/20)&&(l[o]=[n,r,s],d.splice(a,1),u=!0);if(!u)throw"findEmpties iterated with no new neighbors";for(o in l)h[o]=l[o],c.push(l[o])}return c.sort((function(t,e){return e[2]-t[2]}))}},55512:function(t,e,n){"use strict";var i=n(93024),r=n(3400),o=r.isArrayOrTypedArray,a=n(54460),s=n(8932).extractOpts;t.exports=function(t,e,n,l,u){u||(u={});var c,h,d,f,_=u.isContour,p=t.cd[0],m=p.trace,v=t.xa,g=t.ya,y=p.x,b=p.y,w=p.z,E=p.xCenter,x=p.yCenter,C=p.zmask,T=m.zhoverformat,A=y,S=b;if(!1!==t.index){try{d=Math.round(t.index[1]),f=Math.round(t.index[0])}catch(e){return void r.error("Error hovering on heatmap, pointNumber must be [row,col], found:",t.index)}if(d<0||d>=w[0].length||f<0||f>w.length)return}else{if(i.inbox(e-y[0],e-y[y.length-1],0)>0||i.inbox(n-b[0],n-b[b.length-1],0)>0)return;if(_){var z;for(A=[2*y[0]-y[1]],z=1;zp&&(v=Math.max(v,Math.abs(t[o][a]-_)/(m-p))))}return v}t.exports=function(t,e){var n,r=1;for(a(t,e),n=0;n.01;n++)r=a(t,e,o(r));return r>.01&&i.log("interp2d didn't converge quickly",r),t}},39096:function(t,e,n){"use strict";var i=n(3400);t.exports=function(t,e){t("texttemplate");var n=i.extendFlat({},e.font,{color:"auto",size:"auto"});i.coerceFont(t,"textfont",n)}},35744:function(t,e,n){"use strict";var i=n(24040),r=n(3400).isArrayOrTypedArray;t.exports=function(t,e,n,o,a,s){var l,u,c,h=[],d=i.traceIs(t,"contour"),f=i.traceIs(t,"histogram"),_=i.traceIs(t,"gl2d");if(r(e)&&e.length>1&&!f&&"category"!==s.type){var p=e.length;if(!(p<=a))return d?e.slice(0,a):e.slice(0,a+1);if(d||_)h=Array.from(e).slice(0,a);else if(1===a)h="log"===s.type?[.5*e[0],2*e[0]]:[e[0]-.5,e[0]+.5];else if("log"===s.type){for(h=[Math.pow(e[0],1.5)/Math.pow(e[1],.5)],c=1;c0;)C=T.c2p(j[N]),N--;for(C0;)k=A.c2p(q[N]),N--;k=T._length||C<=0||z>=A._length||k<=0)return L.selectAll("image").data([]).exit().remove(),void b(L);"fast"===J?(Y=H,K=G):(Y=Q,K=tt);var et=document.createElement("canvas");et.width=Y,et.height=K;var nt,it,rt=et.getContext("2d",{willReadFrequently:!0}),ot=f($,{noNumericCheck:!0,returnArray:!0});"fast"===J?(nt=V?function(t){return H-1-t}:l.identity,it=X?function(t){return G-1-t}:l.identity):(nt=function(t){return l.constrain(Math.round(T.c2p(j[t])-n),0,Q)},it=function(t){return l.constrain(Math.round(A.c2p(q[t])-z),0,tt)});var at,st,lt,ut,ct=it(0),ht=[ct,ct],dt=V?0:1,ft=X?0:1,_t=0,pt=0,mt=0,vt=0;function gt(t,e){if(void 0!==t){var n=ot(t);return n[0]=Math.round(n[0]),n[1]=Math.round(n[1]),n[2]=Math.round(n[2]),_t+=e,pt+=n[0]*e,mt+=n[1]*e,vt+=n[2]*e,n}return[0,0,0,0]}function yt(t,e,n,i){var r=t[n.bin0];if(void 0===r)return gt(void 0,1);var o,a=t[n.bin1],s=e[n.bin0],l=e[n.bin1],u=a-r||0,c=s-r||0;return o=void 0===a?void 0===l?0:void 0===s?2*(l-r):2*(2*l-s-r)/3:void 0===l?void 0===s?0:2*(2*r-a-s)/3:void 0===s?2*(2*l-a-r)/3:l+r-a-s,gt(r+n.frac*u+i.frac*(c+n.frac*o))}if("default"!==J){var bt,wt=0;try{bt=new Uint8Array(Y*K*4)}catch(t){bt=new Array(Y*K*4)}if("smooth"===J){var Et,xt,Ct,Tt=D||j,At=B||q,St=new Array(Tt.length),zt=new Array(At.length),kt=new Array(Q),Nt=D?E:w,It=B?E:w;for(N=0;NJt||Jt>A._length))for(I=Gt;IYt||Yt>T._length)){var Kt=c({x:Zt,y:Xt},$,t._fullLayout);Kt.x=Zt,Kt.y=Xt;var Qt=M.z[N][I];void 0===Qt?(Kt.z="",Kt.zLabel=""):(Kt.z=Qt,Kt.zLabel=s.tickText(Dt,Qt,"hover").text);var te=M.text&&M.text[N]&&M.text[N][I];void 0!==te&&!1!==te||(te=""),Kt.text=te;var ee=l.texttemplateString(jt,Kt,t._fullLayout._d3locale,Kt,$._meta||{});if(ee){var ne=ee.split("
"),ie=ne.length,re=0;for(O=0;O0&&(o=!0);for(var l=0;lo){var a=o-n[t];return n[t]=o,a}}return 0},max:function(t,e,n,r){var o=r[e];if(i(o)){if(o=Number(o),!i(n[t]))return n[t]=o,o;if(n[t]u?t>a?t>1.1*r?r:t>1.1*o?o:a:t>s?s:t>l?l:u:Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function f(t,e,n,i,o,s){if(i&&t>a){var l=_(e,o,s),u=_(n,o,s),c=t===r?0:1;return l[c]!==u[c]}return Math.floor(n/t)-Math.floor(e/t)>.1}function _(t,e,n){var i=e.c2d(t,r,n).split("-");return""===i[0]&&(i.unshift(),i[0]="-"+i[0]),i}t.exports=function(t,e,n,i,o){var s,l,u=-1.1*e,d=-.1*e,f=t-d,_=n[0],p=n[1],m=Math.min(h(_+d,_+f,i,o),h(p+d,p+f,i,o)),v=Math.min(h(_+u,_+d,i,o),h(p+u,p+d,i,o));if(m>v&&va){var g=s===r?1:6,y=s===r?"M12":"M1";return function(e,n){var a=i.c2d(e,r,o),s=a.indexOf("-",g);s>0&&(a=a.substr(0,s));var u=i.d2c(a,0,o);if(un.r2l(U)&&(q=a.tickIncrement(q,b.size,!0,f)),M.start=n.l2r(q),P||r.nestedProperty(e,v+".start").set(M.start)}var D=b.end,B=n.r2l(L.end),F=void 0!==B;if((b.endFound||F)&&B!==n.r2l(D)){var W=F?B:r.aggNums(Math.max,null,_);M.end=n.l2r(W),F||r.nestedProperty(e,v+".start").set(M.end)}var G="autobin"+s;return!1===e._input[G]&&(e._input[v]=r.extendFlat({},e[v]||{}),delete e._input[G],delete e[G]),[M,_]}t.exports={calc:function(t,e){var n,o,f,_,p=[],m=[],v="h"===e.orientation,g=a.getFromId(t,v?e.yaxis:e.xaxis),y=v?"y":"x",b={x:"y",y:"x"}[y],w=e[y+"calendar"],E=e.cumulative,x=d(t,e,g,y),C=x[0],T=x[1],A="string"==typeof C.size,S=[],z=A?S:C,k=[],N=[],I=[],O=0,L=e.histnorm,M=e.histfunc,$=-1!==L.indexOf("density");E.enabled&&$&&(L=L.replace(/ ?density$/,""),$=!1);var R,P="max"===M||"min"===M?null:0,U=l.count,j=u[L],q=!1,D=function(t){return g.r2c(t,0,w)};for(r.isArrayOrTypedArray(e[b])&&"count"!==M&&(R=e[b],q="avg"===M,U=l[M]),n=D(C.start),f=D(C.end)+(n-a.tickIncrement(n,C.size,!1,w))/1e6;n=0&&_=0;i--)s(i);else if("increasing"===e){for(i=1;i=0;i--)t[i]+=t[i+1];"exclude"===n&&(t.push(0),t.shift())}}(m,E.direction,E.currentbin);var Y=Math.min(p.length,m.length),K=[],Q=0,tt=Y-1;for(n=0;n=Q;n--)if(m[n]){tt=n;break}for(n=Q;n<=tt;n++)if(i(p[n])&&i(m[n])){var et={p:p[n],s:m[n],b:0};E.enabled||(et.pts=I[n],H?et.ph0=et.ph1=I[n].length?T[I[n][0]]:p[n]:(e._computePh=!0,et.ph0=W(S[n]),et.ph1=W(S[n+1],!0))),K.push(et)}return 1===K.length&&(K[0].width1=a.tickIncrement(K[0].p,C.size,!1,w)-K[0].p),s(K,e),r.isArrayOrTypedArray(e.selectedpoints)&&r.tagSelected(K,e,J),K},calcAllAutoBins:d}},73316:function(t){"use strict";t.exports={eventDataKeys:["binNumber"]}},80536:function(t,e,n){"use strict";var i=n(3400),r=n(79811),o=n(24040).traceIs,a=n(20011),s=n(31508).validateCornerradius,l=i.nestedProperty,u=n(71888).getAxisGroup,c=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],h=["x","y"];t.exports=function(t,e){var n,d,f,_,p,m,v,g=e._histogramBinOpts={},y=[],b={},w=[];function E(t,e){return i.coerce(n._input,n,n._module.attributes,t,e)}function x(t){return"v"===t.orientation?"x":"y"}function C(t,n,o){var a=t.uid+"__"+o;n||(n=a);var s=function(t,n){return r.getFromTrace({_fullLayout:e},t,n).type}(t,o),l=t[o+"calendar"]||"",u=g[n],c=!0;u&&(s===u.axType&&l===u.calendar?(c=!1,u.traces.push(t),u.dirs.push(o)):(n=a,s!==u.axType&&i.warn(["Attempted to group the bins of trace",t.index,"set on a","type:"+s,"axis","with bins on","type:"+u.axType,"axis."].join(" ")),l!==u.calendar&&i.warn(["Attempted to group the bins of trace",t.index,"set with a",l,"calendar","with bins",u.calendar?"on a "+u.calendar+" calendar":"w/o a set calendar"].join(" ")))),c&&(g[n]={traces:[t],dirs:[o],axType:s,calendar:t[o+"calendar"]||""}),t["_"+o+"bingroup"]=n}for(p=0;pS&&x.splice(S,x.length-S),A.length>S&&A.splice(S,A.length-S);var z=[],k=[],N=[],I="string"==typeof E.size,O="string"==typeof T.size,L=[],M=[],$=I?L:E,R=O?M:T,P=0,U=[],j=[],q=e.histnorm,D=e.histfunc,B=-1!==q.indexOf("density"),F="max"===D||"min"===D?null:0,W=o.count,G=a[q],H=!1,V=[],X=[],J="z"in e?e.z:"marker"in e&&Array.isArray(e.marker.color)?e.marker.color:"";J&&"count"!==D&&(H="avg"===D,W=o[D]);var Z=E.size,Y=y(E.start),K=y(E.end)+(Y-r.tickIncrement(Y,Z,!1,v))/1e6;for(n=Y;n=0&&f=0&&_-1,flipY:N.tiling.flip.indexOf("y")>-1,orientation:N.tiling.orientation,pad:{inner:N.tiling.pad},maxDepth:N._maxDepth}).descendants(),$=1/0,R=-1/0;M.forEach((function(t){var e=t.depth;e>=N._maxDepth?(t.x0=t.x1=(t.x0+t.x1)/2,t.y0=t.y1=(t.y0+t.y1)/2):($=Math.min($,e),R=Math.max(R,e))})),_=_.data(M,c.getPtId),N._maxVisibleLayers=isFinite(R)?R-$+1:0,_.enter().append("g").classed("slice",!0),C(_,f,{},[m,v],b),_.order();var P=null;if(x&&S){var U=c.getPtId(S);_.each((function(t){null===P&&c.getPtId(t)===U&&(P={x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1})}))}var j=function(){return P||{x0:0,x1:m,y0:0,y1:v}},q=_;return x&&(q=q.transition().each("end",(function(){var e=i.select(this);c.setSliceCursor(e,t,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})}))),q.each((function(s){s._x0=g(s.x0),s._x1=g(s.x1),s._y0=y(s.y0),s._y1=y(s.y1),s._hoverX=g(s.x1-N.tiling.pad),s._hoverY=y(L?s.y1-N.tiling.pad/2:s.y0+N.tiling.pad/2);var _=i.select(this),p=r.ensureSingle(_,"path","surface",(function(t){t.style("pointer-events",z?"none":"all")}));x?p.transition().attrTween("d",(function(t){var e=T(t,f,j(),[m,v],{orientation:N.tiling.orientation,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1});return function(t){return b(e(t))}})):p.attr("d",b),_.call(h,n,t,e,{styleOne:l,eventDataKeys:u.eventDataKeys,transitionTime:u.CLICK_TRANSITION_TIME,transitionEasing:u.CLICK_TRANSITION_EASING}).call(c.setSliceCursor,t,{isTransitioning:t._transitioning}),p.call(l,s,N,t,{hovered:!1}),s.x0===s.x1||s.y0===s.y1?s._text="":s._text=d(s,n,N,e,k)||"";var C=r.ensureSingle(_,"g","slicetext"),S=r.ensureSingle(C,"text","",(function(t){t.attr("data-notex",1)})),M=r.ensureUniformFontSize(t,c.determineTextFont(N,s,k.font));S.text(s._text||" ").classed("slicetext",!0).attr("text-anchor",O?"end":I?"start":"middle").call(o.font,M).call(a.convertToTspans,t),s.textBB=o.bBox(S.node()),s.transform=w(s,{fontSize:M.size}),s.transform.fontSize=M.size,x?S.transition().attrTween("transform",(function(t){var e=A(t,f,j(),[m,v]);return function(t){return E(e(t))}})):S.attr("transform",E(s))})),P}},29044:function(t,e,n){"use strict";t.exports={moduleType:"trace",name:"icicle",basePlotModule:n(59564),categories:[],animatable:!0,attributes:n(97376),layoutAttributes:n(90676),supplyDefaults:n(7045),supplyLayoutDefaults:n(4304),calc:n(73876).r,crossTraceCalc:n(73876).q,plot:n(38364),style:n(47192).style,colorbar:n(5528),meta:{}}},90676:function(t){"use strict";t.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},4304:function(t,e,n){"use strict";var i=n(3400),r=n(90676);t.exports=function(t,e){function n(n,o){return i.coerce(t,e,r,n,o)}n("iciclecolorway",e.colorway),n("extendiciclecolors")}},25132:function(t,e,n){"use strict";var i=n(74148),r=n(83024);t.exports=function(t,e,n){var o=n.flipX,a=n.flipY,s="h"===n.orientation,l=n.maxDepth,u=e[0],c=e[1];l&&(u=(t.height+1)*e[0]/Math.min(t.height+1,l),c=(t.height+1)*e[1]/Math.min(t.height+1,l));var h=i.partition().padding(n.pad.inner).size(s?[e[1],u]:[e[0],c])(t);return(s||o||a)&&r(h,e,{swapXY:s,flipX:o,flipY:a}),h}},38364:function(t,e,n){"use strict";var i=n(95808),r=n(67880);t.exports=function(t,e,n,o){return i(t,e,n,o,{type:"icicle",drawDescendants:r})}},47192:function(t,e,n){"use strict";var i=n(33428),r=n(76308),o=n(3400),a=n(82744).resizeText,s=n(60404);function l(t,e,n,i){var a=e.data.data,l=!e.children,u=a.i,c=o.castOption(n,u,"marker.line.color")||r.defaultLine,h=o.castOption(n,u,"marker.line.width")||0;t.call(s,e,n,i).style("stroke-width",h).call(r.stroke,c).style("opacity",l?n.leaf.opacity:null)}t.exports={style:function(t){var e=t._fullLayout._iciclelayer.selectAll(".trace");a(t,e,"icicle"),e.each((function(e){var n=i.select(this),r=e[0].trace;n.style("opacity",r.opacity),n.selectAll("path.surface").each((function(e){i.select(this).call(l,e,r,t)}))}))},styleOne:l}},95188:function(t,e,n){"use strict";for(var i=n(45464),r=n(21776).Ks,o=n(92880).extendFlat,a=n(47797).colormodel,s=["rgb","rgba","rgba256","hsl","hsla"],l=[],u=[],c=0;c0||i.inbox(n-s.y0,n-(s.y0+s.h*l.dy),0)>0)){var h,d=Math.floor((e-s.x0)/l.dx),f=Math.floor(Math.abs(n-s.y0)/l.dy);if(l._hasZ?h=s.z[f][d]:l._hasSource&&(h=l._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(d,f,1,1).data),h){var _,p=s.hi||l.hoverinfo;if(p){var m=p.split("+");-1!==m.indexOf("all")&&(m=["color"]),-1!==m.indexOf("color")&&(_=!0)}var v,g=a.colormodel[l.colormodel],y=g.colormodel||l.colormodel,b=y.length,w=l._scaler(h),E=g.suffix,x=[];(l.hovertemplate||_)&&(x.push("["+[w[0]+E[0],w[1]+E[1],w[2]+E[2]].join(", ")),4===b&&x.push(", "+w[3]+E[3]),x.push("]"),x=x.join(""),t.extraText=y.toUpperCase()+": "+x),o(l.hovertext)&&o(l.hovertext[f])?v=l.hovertext[f][d]:o(l.text)&&o(l.text[f])&&(v=l.text[f][d]);var C=c.c2p(s.y0+(f+.5)*l.dy),T=s.x0+(d+.5)*l.dx,A=s.y0+(f+.5)*l.dy,S="["+h.slice(0,l.colormodel.length).join(", ")+"]";return[r.extendFlat(t,{index:[f,d],x0:u.c2p(s.x0+d*l.dx),x1:u.c2p(s.x0+(d+1)*l.dx),y0:C,y1:C,color:w,xVal:T,xLabelVal:T,yVal:A,yLabelVal:A,zLabelVal:S,text:v,hovertemplateLabels:{zLabel:S,colorLabel:x,"color[0]Label":w[0]+E[0],"color[1]Label":w[1]+E[1],"color[2]Label":w[2]+E[2],"color[3]Label":w[3]+E[3]}})]}}}},48928:function(t,e,n){"use strict";t.exports={attributes:n(95188),supplyDefaults:n(13188),calc:n(93336),plot:n(63715),style:n(28576),hoverPoints:n(24892),eventData:n(79972),moduleType:"trace",name:"image",basePlotModule:n(57952),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},63715:function(t,e,n){"use strict";var i=n(33428),r=n(3400),o=r.strTranslate,a=n(9616),s=n(47797),l=n(9188),u=n(2264).STYLE;t.exports=function(t,e,n,c){var h=e.xaxis,d=e.yaxis,f=!t._context._exportedPlot&&l();r.makeTraceGroups(c,n,"im").each((function(e){var n=i.select(this),l=e[0],c=l.trace,_=("fast"===c.zsmooth||!1===c.zsmooth&&f)&&!c._hasZ&&c._hasSource&&"linear"===h.type&&"linear"===d.type;c._realImage=_;var p,m,v,g,y,b,w=l.z,E=l.x0,x=l.y0,C=l.w,T=l.h,A=c.dx,S=c.dy;for(b=0;void 0===p&&b0;)m=h.c2p(E+b*A),b--;for(b=0;void 0===g&&b0;)y=d.c2p(x+b*S),b--;mL[0];if(M||$){var R=p+z/2,P=g+k/2;I+="transform:"+o(R+"px",P+"px")+"scale("+(M?-1:1)+","+($?-1:1)+")"+o(-R+"px",-P+"px")+";"}}N.attr("style",I);var U=new Promise((function(t){if(c._hasZ)t();else if(c._hasSource)if(c._canvas&&c._canvas.el.width===C&&c._canvas.el.height===T&&c._canvas.source===c.source)t();else{var e=document.createElement("canvas");e.width=C,e.height=T;var n=e.getContext("2d",{willReadFrequently:!0});c._image=c._image||new Image;var i=c._image;i.onload=function(){n.drawImage(i,0,0),c._canvas={el:e,source:c.source},t()},i.setAttribute("src",c.source)}})).then((function(){var t,e;if(c._hasZ)e=j((function(t,e){var n=w[e][t];return r.isTypedArray(n)&&(n=Array.from(n)),n})),t=e.toDataURL("image/png");else if(c._hasSource)if(_)t=c.source;else{var n=c._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,C,T).data;e=j((function(t,e){var i=4*(e*C+t);return[n[i],n[i+1],n[i+2],n[i+3]]})),t=e.toDataURL("image/png")}N.attr({"xlink:href":t,height:k,width:z,x:p,y:g})}));t._promises.push(U)}function j(t){var e=document.createElement("canvas");e.width=z,e.height=k;var n,i=e.getContext("2d",{willReadFrequently:!0}),o=function(t){return r.constrain(Math.round(h.c2p(E+t*A)-p),0,z)},a=function(t){return r.constrain(Math.round(d.c2p(x+t*S)-g),0,k)},u=s.colormodel[c.colormodel],f=u.colormodel||c.colormodel,_=u.fmt;for(b=0;b0}function x(t){t.each((function(t){g.stroke(i.select(this),t.line.color)})).each((function(t){g.fill(i.select(this),t.color)})).style("stroke-width",(function(t){return t.line.width}))}function C(t,e,n){var i=t._fullLayout,r=a.extendFlat({type:"linear",ticks:"outside",range:n,showline:!0},e),o={type:"linear",_id:"x"+e._id},s={letter:"x",font:i.font,noAutotickangles:!0,noHover:!0,noTickson:!0};function l(t,e){return a.coerce(r,o,v,t,e)}return p(r,o,l,s,i),m(r,o,l,s),o}function T(t,e,n){return[Math.min(e/t.width,n/t.height),t,e+"x"+n]}function A(t,e,n,r){var o=document.createElementNS("http://www.w3.org/2000/svg","text"),a=i.select(o);return a.text(t).attr("x",0).attr("y",0).attr("text-anchor",n).attr("data-unformatted",t).call(f.convertToTspans,r).call(h.font,e),h.bBox(a.node())}function S(t,e,n,i,r,o){var s="_cache"+e;t[s]&&t[s].key===r||(t[s]={key:r,value:n});var l=a.aggNums(o,null,[t[s].value,i],2);return t[s].value=l,l}t.exports=function(t,e,n,p){var m,v=t._fullLayout;E(n)&&p&&(m=p()),a.makeTraceGroups(v._indicatorlayer,e,"trace").each((function(e){var p,z,k,N,I,O=e[0].trace,L=i.select(this),M=O._hasGauge,$=O._isAngular,R=O._isBullet,P=O.domain,U={w:v._size.w*(P.x[1]-P.x[0]),h:v._size.h*(P.y[1]-P.y[0]),l:v._size.l+v._size.w*P.x[0],r:v._size.r+v._size.w*(1-P.x[1]),t:v._size.t+v._size.h*(1-P.y[1]),b:v._size.b+v._size.h*P.y[0]},j=U.l+U.w/2,q=U.t+U.h/2,D=Math.min(U.w/2,U.h),B=d.innerRadius*D,F=O.align||"center";if(z=q,M){if($&&(p=j,z=q+D/2,k=function(t){return function(t,e){return[e/Math.sqrt(t.width/2*(t.width/2)+t.height*t.height),t,e]}(t,.9*B)}),R){var W=d.bulletPadding,G=1-d.bulletNumberDomainSize+W;p=U.l+(G+(1-G)*b[F])*U.w,k=function(t){return T(t,(d.bulletNumberDomainSize-W)*U.w,U.h)}}}else p=U.l+b[F]*U.w,k=function(t){return T(t,U.w,U.h)};!function(t,e,n,r){var u,c,d,p=n[0].trace,m=r.numbersX,v=r.numbersY,x=p.align||"center",T=y[x],z=r.transitionOpts,k=r.onComplete,N=a.ensureSingle(e,"g","numbers"),I=[];p._hasNumber&&I.push("number"),p._hasDelta&&(I.push("delta"),"left"===p.delta.position&&I.reverse());var O=N.selectAll("text").data(I);function L(e,n,i,r){if(!e.match("s")||i>=0==r>=0||n(i).slice(-1).match(w)||n(r).slice(-1).match(w))return n;var o=e.slice().replace("s","f").replace(/\d+/,(function(t){return parseInt(t)-1})),a=C(t,{tickformat:o});return function(t){return Math.abs(t)<1?_.tickText(a,t).text:n(t)}}O.enter().append("text"),O.attr("text-anchor",(function(){return T})).attr("class",(function(t){return t})).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),O.exit().remove();var M,$=p.mode+p.align;if(p._hasDelta&&(M=function(){var e=C(t,{tickformat:p.delta.valueformat},p._range);e.setScale(),_.prepTicks(e);var r=function(t){return _.tickText(e,t).text},a=p.delta.suffix,s=p.delta.prefix,l=function(t){return p.delta.relative?t.relativeDelta:t.delta},u=function(t,e){return 0===t||"number"!=typeof t||isNaN(t)?"-":(t>0?p.delta.increasing.symbol:p.delta.decreasing.symbol)+s+e(t)+a},d=function(t){return t.delta>=0?p.delta.increasing.color:p.delta.decreasing.color};void 0===p._deltaLastValue&&(p._deltaLastValue=l(n[0]));var m=N.select("text.delta");function v(){m.text(u(l(n[0]),r)).call(g.fill,d(n[0])).call(f.convertToTspans,t)}return m.call(h.font,p.delta.font).call(g.fill,d({delta:p._deltaLastValue})),E(z)?m.transition().duration(z.duration).ease(z.easing).tween("text",(function(){var t=i.select(this),e=l(n[0]),a=p._deltaLastValue,s=L(p.delta.valueformat,r,a,e),c=o(a,e);return p._deltaLastValue=e,function(e){t.text(u(c(e),s)),t.call(g.fill,d({delta:c(e)}))}})).each("end",(function(){v(),k&&k()})).each("interrupt",(function(){v(),k&&k()})):v(),c=A(u(l(n[0]),r),p.delta.font,T,t),m}(),$+=p.delta.position+p.delta.font.size+p.delta.font.family+p.delta.valueformat,$+=p.delta.increasing.symbol+p.delta.decreasing.symbol,d=c),p._hasNumber&&(function(){var e=C(t,{tickformat:p.number.valueformat},p._range);e.setScale(),_.prepTicks(e);var r=function(t){return _.tickText(e,t).text},a=p.number.suffix,s=p.number.prefix,l=N.select("text.number");function c(){var e="number"==typeof n[0].y?s+r(n[0].y)+a:"-";l.text(e).call(h.font,p.number.font).call(f.convertToTspans,t)}E(z)?l.transition().duration(z.duration).ease(z.easing).each("end",(function(){c(),k&&k()})).each("interrupt",(function(){c(),k&&k()})).attrTween("text",(function(){var t=i.select(this),e=o(n[0].lastY,n[0].y);p._lastValue=n[0].y;var l=L(p.number.valueformat,r,n[0].lastY,n[0].y);return function(n){t.text(s+l(e(n))+a)}})):c(),u=A(s+r(n[0].y)+a,p.number.font,T,t)}(),$+=p.number.font.size+p.number.font.family+p.number.valueformat+p.number.suffix+p.number.prefix,d=u),p._hasDelta&&p._hasNumber){var R,P,U=[(u.left+u.right)/2,(u.top+u.bottom)/2],j=[(c.left+c.right)/2,(c.top+c.bottom)/2],q=.75*p.delta.font.size;"left"===p.delta.position&&(R=S(p,"deltaPos",0,-1*(u.width*b[p.align]+c.width*(1-b[p.align])+q),$,Math.min),P=U[1]-j[1],d={width:u.width+c.width+q,height:Math.max(u.height,c.height),left:c.left+R,right:u.right,top:Math.min(u.top,c.top+P),bottom:Math.max(u.bottom,c.bottom+P)}),"right"===p.delta.position&&(R=S(p,"deltaPos",0,u.width*(1-b[p.align])+c.width*b[p.align]+q,$,Math.max),P=U[1]-j[1],d={width:u.width+c.width+q,height:Math.max(u.height,c.height),left:u.left,right:c.right+R,top:Math.min(u.top,c.top+P),bottom:Math.max(u.bottom,c.bottom+P)}),"bottom"===p.delta.position&&(R=null,P=c.height,d={width:Math.max(u.width,c.width),height:u.height+c.height,left:Math.min(u.left,c.left),right:Math.max(u.right,c.right),top:u.bottom-u.height,bottom:u.bottom+c.height}),"top"===p.delta.position&&(R=null,P=u.top,d={width:Math.max(u.width,c.width),height:u.height+c.height,left:Math.min(u.left,c.left),right:Math.max(u.right,c.right),top:u.bottom-u.height-c.height,bottom:u.bottom}),M.attr({dx:R,dy:P})}(p._hasNumber||p._hasDelta)&&N.attr("transform",(function(){var t=r.numbersScaler(d);$+=t[2];var e,n=S(p,"numbersScale",1,t[0],$,Math.min);p._scaleNumbers||(n=1),e=p._isAngular?v-n*d.bottom:v-n*(d.top+d.bottom)/2,p._numbersTop=n*d.top+e;var i=d[x];"center"===x&&(i=(d.left+d.right)/2);var o=m-n*i;return o=S(p,"numbersTranslate",0,o,$,Math.max),l(o,e)+s(n)}))}(t,L,e,{numbersX:p,numbersY:z,numbersScaler:k,transitionOpts:n,onComplete:m}),M&&(N={range:O.gauge.axis.range,color:O.gauge.bgcolor,line:{color:O.gauge.bordercolor,width:0},thickness:1},I={range:O.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:O.gauge.bordercolor,width:O.gauge.borderwidth},thickness:1});var H=L.selectAll("g.angular").data($?e:[]);H.exit().remove();var V=L.selectAll("g.angularaxis").data($?e:[]);V.exit().remove(),$&&function(t,e,n,o){var a,s,h,d,f=n[0].trace,p=o.size,m=o.radius,v=o.innerRadius,g=o.gaugeBg,y=o.gaugeOutline,b=[p.l+p.w/2,p.t+p.h/2+m/2],w=o.gauge,T=o.layer,A=o.transitionOpts,S=o.onComplete,z=Math.PI/2;function k(t){var e=f.gauge.axis.range[0],n=(t-e)/(f.gauge.axis.range[1]-e)*Math.PI-z;return n<-z?-z:n>z?z:n}function N(t){return i.svg.arc().innerRadius((v+m)/2-t/2*(m-v)).outerRadius((v+m)/2+t/2*(m-v)).startAngle(-z)}function I(t){t.attr("d",(function(t){return N(t.thickness).startAngle(k(t.range[0])).endAngle(k(t.range[1]))()}))}w.enter().append("g").classed("angular",!0),w.attr("transform",l(b[0],b[1])),T.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),T.selectAll("g.xangularaxistick,path,text").remove(),(a=C(t,f.gauge.axis)).type="linear",a.range=f.gauge.axis.range,a._id="xangularaxis",a.ticklabeloverflow="allow",a.setScale();var O=function(t){return(a.range[0]-t.x)/(a.range[1]-a.range[0])*Math.PI+Math.PI},L={},M=_.makeLabelFns(a,0).labelStandoff;L.xFn=function(t){var e=O(t);return Math.cos(e)*M},L.yFn=function(t){var e=O(t),n=Math.sin(e)>0?.2:1;return-Math.sin(e)*(M+t.fontSize*n)+Math.abs(Math.cos(e))*(t.fontSize*c)},L.anchorFn=function(t){var e=O(t),n=Math.cos(e);return Math.abs(n)<.1?"middle":n>0?"start":"end"},L.heightFn=function(t,e,n){var i=O(t);return-.5*(1+Math.sin(i))*n};var $=function(t){return l(b[0]+m*Math.cos(t),b[1]-m*Math.sin(t))};h=function(t){return $(O(t))};if(s=_.calcTicks(a),d=_.getTickSigns(a)[2],a.visible){d="inside"===a.ticks?-1:1;var R=(a.linewidth||1)/2;_.drawTicks(t,a,{vals:s,layer:T,path:"M"+d*R+",0h"+d*a.ticklen,transFn:function(t){var e=O(t);return $(e)+"rotate("+-u(e)+")"}}),_.drawLabels(t,a,{vals:s,layer:T,transFn:h,labelFns:L})}var P=[g].concat(f.gauge.steps),U=w.selectAll("g.bg-arc").data(P);U.enter().append("g").classed("bg-arc",!0).append("path"),U.select("path").call(I).call(x),U.exit().remove();var j=N(f.gauge.bar.thickness),q=w.selectAll("g.value-arc").data([f.gauge.bar]);q.enter().append("g").classed("value-arc",!0).append("path");var D,B,F,W=q.select("path");E(A)?(W.transition().duration(A.duration).ease(A.easing).each("end",(function(){S&&S()})).each("interrupt",(function(){S&&S()})).attrTween("d",(D=j,B=k(n[0].lastY),F=k(n[0].y),function(){var t=r(B,F);return function(e){return D.endAngle(t(e))()}})),f._lastValue=n[0].y):W.attr("d","number"==typeof n[0].y?j.endAngle(k(n[0].y)):"M0,0Z"),W.call(x),q.exit().remove(),P=[];var G=f.gauge.threshold.value;(G||0===G)&&P.push({range:[G,G],color:f.gauge.threshold.color,line:{color:f.gauge.threshold.line.color,width:f.gauge.threshold.line.width},thickness:f.gauge.threshold.thickness});var H=w.selectAll("g.threshold-arc").data(P);H.enter().append("g").classed("threshold-arc",!0).append("path"),H.select("path").call(I).call(x),H.exit().remove();var V=w.selectAll("g.gauge-outline").data([y]);V.enter().append("g").classed("gauge-outline",!0).append("path"),V.select("path").call(I).call(x),V.exit().remove()}(t,0,e,{radius:D,innerRadius:B,gauge:H,layer:V,size:U,gaugeBg:N,gaugeOutline:I,transitionOpts:n,onComplete:m});var X=L.selectAll("g.bullet").data(R?e:[]);X.exit().remove();var J=L.selectAll("g.bulletaxis").data(R?e:[]);J.exit().remove(),R&&function(t,e,n,i){var r,o,a,s,u,c=n[0].trace,h=i.gauge,f=i.layer,p=i.gaugeBg,m=i.gaugeOutline,v=i.size,y=c.domain,b=i.transitionOpts,w=i.onComplete;h.enter().append("g").classed("bullet",!0),h.attr("transform",l(v.l,v.t)),f.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),f.selectAll("g.xbulletaxistick,path,text").remove();var T=v.h,A=c.gauge.bar.thickness*T,S=y.x[0],z=y.x[0]+(y.x[1]-y.x[0])*(c._hasNumber||c._hasDelta?1-d.bulletNumberDomainSize:1);function k(t){t.attr("width",(function(t){return Math.max(0,r.c2p(t.range[1])-r.c2p(t.range[0]))})).attr("x",(function(t){return r.c2p(t.range[0])})).attr("y",(function(t){return.5*(1-t.thickness)*T})).attr("height",(function(t){return t.thickness*T}))}(r=C(t,c.gauge.axis))._id="xbulletaxis",r.domain=[S,z],r.setScale(),o=_.calcTicks(r),a=_.makeTransTickFn(r),s=_.getTickSigns(r)[2],u=v.t+v.h,r.visible&&(_.drawTicks(t,r,{vals:"inside"===r.ticks?_.clipEnds(r,o):o,layer:f,path:_.makeTickPath(r,u,s),transFn:a}),_.drawLabels(t,r,{vals:o,layer:f,transFn:a,labelFns:_.makeLabelFns(r,u)}));var N=[p].concat(c.gauge.steps),I=h.selectAll("g.bg-bullet").data(N);I.enter().append("g").classed("bg-bullet",!0).append("rect"),I.select("rect").call(k).call(x),I.exit().remove();var O=h.selectAll("g.value-bullet").data([c.gauge.bar]);O.enter().append("g").classed("value-bullet",!0).append("rect"),O.select("rect").attr("height",A).attr("y",(T-A)/2).call(x),E(b)?O.select("rect").transition().duration(b.duration).ease(b.easing).each("end",(function(){w&&w()})).each("interrupt",(function(){w&&w()})).attr("width",Math.max(0,r.c2p(Math.min(c.gauge.axis.range[1],n[0].y)))):O.select("rect").attr("width","number"==typeof n[0].y?Math.max(0,r.c2p(Math.min(c.gauge.axis.range[1],n[0].y))):0),O.exit().remove();var L=n.filter((function(){return c.gauge.threshold.value||0===c.gauge.threshold.value})),M=h.selectAll("g.threshold-bullet").data(L);M.enter().append("g").classed("threshold-bullet",!0).append("line"),M.select("line").attr("x1",r.c2p(c.gauge.threshold.value)).attr("x2",r.c2p(c.gauge.threshold.value)).attr("y1",(1-c.gauge.threshold.thickness)/2*T).attr("y2",(1-(1-c.gauge.threshold.thickness)/2)*T).call(g.stroke,c.gauge.threshold.line.color).style("stroke-width",c.gauge.threshold.line.width),M.exit().remove();var $=h.selectAll("g.gauge-outline").data([m]);$.enter().append("g").classed("gauge-outline",!0).append("rect"),$.select("rect").call(k).call(x),$.exit().remove()}(t,0,e,{gauge:X,layer:J,size:U,gaugeBg:N,gaugeOutline:I,transitionOpts:n,onComplete:m});var Z=L.selectAll("text.title").data(e);Z.exit().remove(),Z.enter().append("text").classed("title",!0),Z.attr("text-anchor",(function(){return R?y.right:y[O.title.align]})).text(O.title.text).call(h.font,O.title.font).call(f.convertToTspans,t),Z.attr("transform",(function(){var t,e=U.l+U.w*b[O.title.align],n=d.titlePadding,i=h.bBox(Z.node());return M?($&&(t=O.gauge.axis.visible?h.bBox(V.node()).top-n-i.bottom:U.t+U.h/2-D/2-i.bottom-n),R&&(t=z-(i.top+i.bottom)/2,e=U.l-d.bulletPadding*U.w)):t=O._numbersTop-n-i.bottom,l(e,t)}))}))}},50048:function(t,e,n){"use strict";var i=n(49084),r=n(29736).axisHoverFormat,o=n(21776).Ks,a=n(52948),s=n(45464),l=n(92880).extendFlat,u=n(67824).overrideAll,c=t.exports=u(l({x:{valType:"data_array"},y:{valType:"data_array"},z:{valType:"data_array"},value:{valType:"data_array"},isomin:{valType:"number"},isomax:{valType:"number"},surface:{show:{valType:"boolean",dflt:!0},count:{valType:"integer",dflt:2,min:1},fill:{valType:"number",min:0,max:1,dflt:1},pattern:{valType:"flaglist",flags:["A","B","C","D","E"],extras:["all","odd","even"],dflt:"all"}},spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:.15}},slices:{x:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}}},caps:{x:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}}},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:o(),xhoverformat:r("x"),yhoverformat:r("y"),zhoverformat:r("z"),valuehoverformat:r("value",1),showlegend:l({},s.showlegend,{dflt:!1})},i("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:a.opacity,lightposition:a.lightposition,lighting:a.lighting,flatshading:a.flatshading,contour:a.contour,hoverinfo:l({},s.hoverinfo)}),"calc","nested");c.flatshading.dflt=!0,c.lighting.facenormalsepsilon.dflt=0,c.x.editType=c.y.editType=c.z.editType=c.value.editType="calc+clearAxisTypes",c.transforms=void 0},62624:function(t,e,n){"use strict";var i=n(47128),r=n(3832).processGrid,o=n(3832).filter;t.exports=function(t,e){e._len=Math.min(e.x.length,e.y.length,e.z.length,e.value.length),e._x=o(e.x,e._len),e._y=o(e.y,e._len),e._z=o(e.z,e._len),e._value=o(e.value,e._len);var n=r(e);e._gridFill=n.fill,e._Xs=n.Xs,e._Ys=n.Ys,e._Zs=n.Zs,e._len=n.len;for(var a=1/0,s=-1/0,l=0;l0;n--){var i=Math.min(e[n],e[n-1]),r=Math.max(e[n],e[n-1]);if(r>i&&i-1}function R(t,e){return null===t?e:t}function P(e,n,i){N();var r,o,a,l=[n],u=[i];if(s>=1)l=[n],u=[i];else if(s>0){var c=function(t,e){var n=t[0],i=t[1],r=t[2],o=function(t,e,n){for(var i=[],r=0;r-1?i[f]:k(_,p,v);d[f]=y>-1?y:O(_,p,v,R(e,g))}r=d[0],o=d[1],a=d[2],t._meshI.push(r),t._meshJ.push(o),t._meshK.push(a),++m}}function U(t,e,n,i){var r=t[3];ri&&(r=i);for(var o=(t[3]-r)/(t[3]-e[3]+1e-9),a=[],s=0;s<4;s++)a[s]=(1-o)*t[s]+o*e[s];return a}function j(t,e,n){return t>=e&&t<=n}function q(t){var e=.001*(z-S);return t>=S-e&&t<=z+e}function D(e){for(var n=[],i=0;i<4;i++){var r=e[i];n.push([t._x[r],t._y[r],t._z[r],t._value[r]])}return n}var B=3;function F(t,e,n,i,r,o){o||(o=1),n=[-1,-1,-1];var a=!1,s=[j(e[0][3],i,r),j(e[1][3],i,r),j(e[2][3],i,r)];if(!s[0]&&!s[1]&&!s[2])return!1;var l=function(t,e,n){return q(e[0][3])&&q(e[1][3])&&q(e[2][3])?(P(t,e,n),!0):oMath.abs(k-A)?[T,k]:[k,A];_=!0,Q(n,N[0],N[1]),_=!1}}var L=[[Math.min(S,A),Math.max(S,A)],[Math.min(T,z),Math.max(T,z)]];["x","y","z"].forEach((function(n){for(var i=[],r=0;r0&&(h.push(_.id),"x"===n?d.push([_.distRatio,0,0]):"y"===n?d.push([0,_.distRatio,0]):d.push([0,0,_.distRatio]))}else c=it(1,"x"===n?b-1:"y"===n?w-1:E-1);h.length>0&&(i[o]="x"===n?tt(e,h,a,s,d,i[o]):"y"===n?et(e,h,a,s,d,i[o]):nt(e,h,a,s,d,i[o]),o++),c.length>0&&(i[o]="x"===n?Z(e,c,a,s,i[o]):"y"===n?Y(e,c,a,s,i[o]):K(e,c,a,s,i[o]),o++)}var p=t.caps[n];p.show&&p.fill&&(M(p.fill),i[o]="x"===n?Z(e,[0,b-1],a,s,i[o]):"y"===n?Y(e,[0,w-1],a,s,i[o]):K(e,[0,E-1],a,s,i[o]),o++)}})),0===m&&I(),t._meshX=i,t._meshY=r,t._meshZ=o,t._meshIntensity=a,t._Xs=v,t._Ys=g,t._Zs=y}(),t}t.exports={findNearestOnAxis:u,generateIsoMeshes:f,createIsosurfaceTrace:function(t,e){var n=t.glplot.gl,r=i({gl:n}),o=new c(t,r,e.uid);return r._trace=o,o.update(e),t.glplot.add(r),o}}},70548:function(t,e,n){"use strict";var i=n(3400),r=n(24040),o=n(50048),a=n(27260);function s(t,e,n,i,o){var s=o("isomin"),l=o("isomax");null!=l&&null!=s&&s>l&&(e.isomin=null,e.isomax=null);var u=o("x"),c=o("y"),h=o("z"),d=o("value");u&&u.length&&c&&c.length&&h&&h.length&&d&&d.length?(r.getComponentMethod("calendars","handleTraceDefaults")(t,e,["x","y","z"],i),o("valuehoverformat"),["x","y","z"].forEach((function(t){o(t+"hoverformat");var e="caps."+t;o(e+".show")&&o(e+".fill");var n="slices."+t;o(n+".show")&&(o(n+".fill"),o(n+".locations"))})),o("spaceframe.show")&&o("spaceframe.fill"),o("surface.show")&&(o("surface.count"),o("surface.fill"),o("surface.pattern")),o("contour.show")&&(o("contour.color"),o("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach((function(t){o(t)})),a(t,e,i,o,{prefix:"",cLetter:"c"}),e._length=null):e.visible=!1}t.exports={supplyDefaults:function(t,e,n,r){s(t,e,0,r,(function(n,r){return i.coerce(t,e,o,n,r)}))},supplyIsoDefaults:s}},6296:function(t,e,n){"use strict";t.exports={attributes:n(50048),supplyDefaults:n(70548).supplyDefaults,calc:n(62624),colorbar:{min:"cmin",max:"cmax"},plot:n(31460).createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:n(12536),categories:["gl3d","showLegend"],meta:{}}},52948:function(t,e,n){"use strict";var i=n(49084),r=n(29736).axisHoverFormat,o=n(21776).Ks,a=n(16716),s=n(45464),l=n(92880).extendFlat;t.exports=l({x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},i:{valType:"data_array",editType:"calc"},j:{valType:"data_array",editType:"calc"},k:{valType:"data_array",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:o({editType:"calc"}),xhoverformat:r("x"),yhoverformat:r("y"),zhoverformat:r("z"),delaunayaxis:{valType:"enumerated",values:["x","y","z"],dflt:"z",editType:"calc"},alphahull:{valType:"number",dflt:-1,editType:"calc"},intensity:{valType:"data_array",editType:"calc"},intensitymode:{valType:"enumerated",values:["vertex","cell"],dflt:"vertex",editType:"calc"},color:{valType:"color",editType:"calc"},vertexcolor:{valType:"data_array",editType:"calc"},facecolor:{valType:"data_array",editType:"calc"},transforms:void 0},i("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:a.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:l({},a.contours.x.show,{}),color:a.contours.x.color,width:a.contours.x.width,editType:"calc"},lightposition:{x:l({},a.lightposition.x,{dflt:1e5}),y:l({},a.lightposition.y,{dflt:1e5}),z:l({},a.lightposition.z,{dflt:0}),editType:"calc"},lighting:l({vertexnormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-12,editType:"calc"},facenormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-6,editType:"calc"},editType:"calc"},a.lighting),hoverinfo:l({},s.hoverinfo,{editType:"calc"}),showlegend:l({},s.showlegend,{dflt:!1})})},1876:function(t,e,n){"use strict";var i=n(47128);t.exports=function(t,e){e.intensity&&i(t,e,{vals:e.intensity,containerStr:"",cLetter:"c"})}},576:function(t,e,n){"use strict";var i=n(67792).gl_mesh3d,r=n(67792).delaunay_triangulate,o=n(67792).alpha_shape,a=n(67792).convex_hull,s=n(33040).parseColorScale,l=n(3400).isArrayOrTypedArray,u=n(43080),c=n(8932).extractOpts,h=n(52094);function d(t,e,n){this.scene=t,this.uid=n,this.mesh=e,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var f=d.prototype;function _(t){for(var e=[],n=t.length,i=0;i=e-.5)return!1;return!0}f.handlePick=function(t){if(t.object===this.mesh){var e=t.index=t.data.index;t.data._cellCenter?t.traceCoordinate=t.data.dataCoordinate:t.traceCoordinate=[this.data.x[e],this.data.y[e],this.data.z[e]];var n=this.data.hovertext||this.data.text;return l(n)&&void 0!==n[e]?t.textLabel=n[e]:n&&(t.textLabel=n),!0}},f.update=function(t){var e=this.scene,n=e.fullSceneLayout;this.data=t;var i,l=t.x.length,d=h(p(n.xaxis,t.x,e.dataScale[0],t.xcalendar),p(n.yaxis,t.y,e.dataScale[1],t.ycalendar),p(n.zaxis,t.z,e.dataScale[2],t.zcalendar));if(t.i&&t.j&&t.k){if(t.i.length!==t.j.length||t.j.length!==t.k.length||!v(t.i,l)||!v(t.j,l)||!v(t.k,l))return;i=h(m(t.i),m(t.j),m(t.k))}else i=0===t.alphahull?a(d):t.alphahull>0?o(t.alphahull,d):function(t,e){for(var n=["x","y","z"].indexOf(t),i=[],o=e.length,a=0;av):m=T>E,v=T;var A=u(E,x,C,T);A.pos=w,A.yc=(E+T)/2,A.i=b,A.dir=m?"increasing":"decreasing",A.x=A.pos,A.y=[C,x],g&&(A.orig_p=n[b]),_&&(A.tx=e.text[b]),p&&(A.htx=e.hovertext[b]),y.push(A)}else y.push({pos:w,empty:!0})}return e._extremes[l._id]=o.findExtremes(l,i.concat(d,h),{padded:!0}),y.length&&(y[0].t={labels:{open:r(t,"open:")+" ",high:r(t,"high:")+" ",low:r(t,"low:")+" ",close:r(t,"close:")+" "}}),y}t.exports={calc:function(t,e){var n=o.getFromId(t,e.xaxis),r=o.getFromId(t,e.yaxis),s=function(t,e,n){var r=n._minDiff;if(!r){var o,s=t._fullData,l=[];for(r=1/0,o=0;o"+u.labels[y]+i.hoverLabelText(s,b,l.yhoverformat):((g=r.extendFlat({},d)).y0=g.y1=w,g.yLabelVal=b,g.yLabel=u.labels[y]+i.hoverLabelText(s,b,l.yhoverformat),g.name="",h.push(g),m[b]=g)}return h}function d(t,e,n,r){var o=t.cd,a=t.ya,l=o[0].trace,h=o[0].t,d=c(t,e,n,r);if(!d)return[];var f=o[d.index],_=d.index=f.i,p=f.dir;function m(t){return h.labels[t]+i.hoverLabelText(a,l[t][_],l.yhoverformat)}var v=f.hi||l.hoverinfo,g=v.split("+"),y="all"===v,b=y||-1!==g.indexOf("y"),w=y||-1!==g.indexOf("text"),E=b?[m("open"),m("high"),m("low"),m("close")+" "+u[p]]:[];return w&&s(f,l,E),d.extraText=E.join("
"),d.y0=d.y1=a.c2p(f.yc,!0),[d]}t.exports={hoverPoints:function(t,e,n,i){return t.cd[0].trace.hoverlabel.split?h(t,e,n,i):d(t,e,n,i)},hoverSplit:h,hoverOnPoints:d}},65456:function(t,e,n){"use strict";t.exports={moduleType:"trace",name:"ohlc",basePlotModule:n(57952),categories:["cartesian","svg","showLegend"],meta:{},attributes:n(20279),supplyDefaults:n(23860),calc:n(42812).calc,plot:n(36664),style:n(14008),hoverPoints:n(18720).hoverPoints,selectPoints:n(97384)}},52744:function(t,e,n){"use strict";var i=n(24040),r=n(3400);t.exports=function(t,e,n,o){var a=n("x"),s=n("open"),l=n("high"),u=n("low"),c=n("close");if(n("hoverlabel.split"),i.getComponentMethod("calendars","handleTraceDefaults")(t,e,["x"],o),s&&l&&u&&c){var h=Math.min(s.length,l.length,u.length,c.length);return a&&(h=Math.min(h,r.minRowLength(a))),e._length=h,h}}},36664:function(t,e,n){"use strict";var i=n(33428),r=n(3400);t.exports=function(t,e,n,o){var a=e.yaxis,s=e.xaxis,l=!!s.rangebreaks;r.makeTraceGroups(o,n,"trace ohlc").each((function(t){var e=i.select(this),n=t[0],o=n.t;if(!0!==n.trace.visible||o.empty)e.remove();else{var u=o.tickLen,c=e.selectAll("path").data(r.identity);c.enter().append("path"),c.exit().remove(),c.attr("d",(function(t){if(t.empty)return"M0,0Z";var e=s.c2p(t.pos-u,!0),n=s.c2p(t.pos+u,!0),i=l?(e+n)/2:s.c2p(t.pos,!0);return"M"+e+","+a.c2p(t.o,!0)+"H"+i+"M"+i+","+a.c2p(t.h,!0)+"V"+a.c2p(t.l,!0)+"M"+n+","+a.c2p(t.c,!0)+"H"+i}))}}))}},97384:function(t){"use strict";t.exports=function(t,e){var n,i=t.cd,r=t.xaxis,o=t.yaxis,a=[],s=i[0].t.bPos||0;if(!1===e)for(n=0;n=t.length)return!1;if(void 0!==e[t[n]])return!1;e[t[n]]=!0}return!0}(n))for(e=0;e0||c(s);u&&(a="array");var h=n("categoryorder",a);"array"===h?(n("categoryarray"),n("ticktext")):(delete t.categoryarray,delete t.ticktext),u||"array"!==h||(e.categoryorder="trace")}}t.exports=function(t,e,n,c){function d(n,r){return i.coerce(t,e,l,n,r)}var f=s(t,e,{name:"dimensions",handleItemDefaults:h}),_=function(t,e,n,a,s){s("line.shape"),s("line.hovertemplate");var l=s("line.color",a.colorway[0]);if(r(t,"line")&&i.isArrayOrTypedArray(l)){if(l.length)return s("line.colorscale"),o(t,e,a,s,{prefix:"line.",cLetter:"c"}),l.length;e.line.color=n}return 1/0}(t,e,n,c,d);a(e,c,d),Array.isArray(f)&&f.length||(e.visible=!1),u(e,f,"values",_),d("hoveron"),d("hovertemplate"),d("arrangement"),d("bundlecolors"),d("sortpaths"),d("counts");var p={family:c.font.family,size:Math.round(c.font.size),color:c.font.color};i.coerceFont(d,"labelfont",p);var m={family:c.font.family,size:Math.round(c.font.size/1.2),color:c.font.color};i.coerceFont(d,"tickfont",m)}},22020:function(t,e,n){"use strict";t.exports={attributes:n(72140),supplyDefaults:n(76671),calc:n(69136),plot:n(60268),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:n(91800),categories:["noOpacity"],meta:{}}},51036:function(t,e,n){"use strict";var i=n(33428),r=n(67756).Gz,o=n(36424),a=n(93024),s=n(3400),l=s.strTranslate,u=n(43616),c=n(49760),h=n(72736);function d(t,e,n,r){var o=e._context.staticPlot,a=t.map(P.bind(0,e,n)),c=r.selectAll("g.parcatslayer").data([null]);c.enter().append("g").attr("class","parcatslayer").style("pointer-events",o?"none":"all");var d=c.selectAll("g.trace.parcats").data(a,f),g=d.enter().append("g").attr("class","trace parcats");d.attr("transform",(function(t){return l(t.x,t.y)})),g.append("g").attr("class","paths");var y=d.select("g.paths").selectAll("path.path").data((function(t){return t.paths}),f);y.attr("fill",(function(t){return t.model.color}));var E=y.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",(function(t){return t.model.color})).attr("fill-opacity",0);w(E),y.attr("d",(function(t){return t.svgD})),E.empty()||y.sort(p),y.exit().remove(),y.on("mouseover",m).on("mouseout",v).on("click",b),g.append("g").attr("class","dimensions");var T=d.select("g.dimensions").selectAll("g.dimension").data((function(t){return t.dimensions}),f);T.enter().append("g").attr("class","dimension"),T.attr("transform",(function(t){return l(t.x,0)})),T.exit().remove();var A=T.selectAll("g.category").data((function(t){return t.categories}),f),S=A.enter().append("g").attr("class","category");A.attr("transform",(function(t){return l(0,t.y)})),S.append("rect").attr("class","catrect").attr("pointer-events","none"),A.select("rect.catrect").attr("fill","none").attr("width",(function(t){return t.width})).attr("height",(function(t){return t.height})),x(S);var z=A.selectAll("rect.bandrect").data((function(t){return t.bands}),f);z.each((function(){s.raiseToTop(this)})),z.attr("fill",(function(t){return t.color}));var M=z.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",(function(t){return t.color})).attr("fill-opacity",0);z.attr("fill",(function(t){return t.color})).attr("width",(function(t){return t.width})).attr("height",(function(t){return t.height})).attr("y",(function(t){return t.y})).attr("cursor",(function(t){return"fixed"===t.parcatsViewModel.arrangement?"default":"perpendicular"===t.parcatsViewModel.arrangement?"ns-resize":"move"})),C(M),z.exit().remove(),S.append("text").attr("class","catlabel").attr("pointer-events","none");var $=e._fullLayout.paper_bgcolor;A.select("text.catlabel").attr("text-anchor",(function(t){return _(t)?"start":"end"})).attr("alignment-baseline","middle").style("text-shadow",h.makeTextShadow($)).style("fill","rgb(0, 0, 0)").attr("x",(function(t){return _(t)?t.width+5:-5})).attr("y",(function(t){return t.height/2})).text((function(t){return t.model.categoryLabel})).each((function(t){u.font(i.select(this),t.parcatsViewModel.categorylabelfont),h.convertToTspans(i.select(this),e)})),S.append("text").attr("class","dimlabel"),A.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",(function(t){return"fixed"===t.parcatsViewModel.arrangement?"default":"ew-resize"})).attr("x",(function(t){return t.width/2})).attr("y",-5).text((function(t,e){return 0===e?t.parcatsViewModel.model.dimensions[t.model.dimensionInd].dimensionLabel:null})).each((function(t){u.font(i.select(this),t.parcatsViewModel.labelfont)})),A.selectAll("rect.bandrect").on("mouseover",k).on("mouseout",N),A.exit().remove(),T.call(i.behavior.drag().origin((function(t){return{x:t.x,y:0}})).on("dragstart",I).on("drag",O).on("dragend",L)),d.each((function(t){t.traceSelection=i.select(this),t.pathSelection=i.select(this).selectAll("g.paths").selectAll("path.path"),t.dimensionSelection=i.select(this).selectAll("g.dimensions").selectAll("g.dimension")})),d.exit().remove()}function f(t){return t.key}function _(t){var e=t.parcatsViewModel.dimensions.length,n=t.parcatsViewModel.dimensions[e-1].model.dimensionInd;return t.model.dimensionInd===n}function p(t,e){return t.model.rawColor>e.model.rawColor?1:t.model.rawColor"),k=i.mouse(h)[0];a.loneHover({trace:d,x:b-_.left+p.left,y:w-_.top+p.top,text:z,color:t.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:x,idealAlign:k1&&d.displayInd===h.dimensions.length-1?(r=u.left,o="left"):(r=u.left+u.width,o="right");var p=c.model.count,m=c.model.categoryLabel,v=p/c.parcatsViewModel.model.count,g={countLabel:p,categoryLabel:m,probabilityLabel:v.toFixed(3)},y=[];-1!==c.parcatsViewModel.hoverinfoItems.indexOf("count")&&y.push(["Count:",g.countLabel].join(" ")),-1!==c.parcatsViewModel.hoverinfoItems.indexOf("probability")&&y.push(["P("+g.categoryLabel+"):",g.probabilityLabel].join(" "));var b=y.join("
");return{trace:f,x:a*(r-e.left),y:s*(_-e.top),text:b,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:o,hovertemplate:f.hovertemplate,hovertemplateLabels:g,eventData:[{data:f._input,fullData:f,count:p,category:m,probability:v}]}}function k(t){if(!t.parcatsViewModel.dragDimension&&-1===t.parcatsViewModel.hoverinfoItems.indexOf("skip")){if(i.mouse(this)[1]<-1)return;var e,n=t.parcatsViewModel.graphDiv,r=n._fullLayout,o=r._paperdiv.node().getBoundingClientRect(),l=t.parcatsViewModel.hoveron,u=this;"color"===l?(function(t){var e=i.select(t).datum(),n=T(e);E(n),n.each((function(){s.raiseToTop(this)})),i.select(t.parentNode).selectAll("rect.bandrect").filter((function(t){return t.color===e.color})).each((function(){s.raiseToTop(this),i.select(this).attr("stroke","black").attr("stroke-width",1.5)}))}(u),S(u,"plotly_hover",i.event)):(function(t){i.select(t.parentNode).selectAll("rect.bandrect").each((function(t){var e=T(t);E(e),e.each((function(){s.raiseToTop(this)}))})),i.select(t.parentNode).select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}(u),A(u,"plotly_hover",i.event)),-1===t.parcatsViewModel.hoverinfoItems.indexOf("none")&&("category"===l?e=z(n,o,u):"color"===l?e=function(t,e,n){t._fullLayout._calcInverseTransform(t);var r,o,a=t._fullLayout._invScaleX,s=t._fullLayout._invScaleY,l=n.getBoundingClientRect(),u=i.select(n).datum(),h=u.categoryViewModel,d=h.parcatsViewModel,f=d.model.dimensions[h.model.dimensionInd],_=d.trace,p=l.y+l.height/2;d.dimensions.length>1&&f.displayInd===d.dimensions.length-1?(r=l.left,o="left"):(r=l.left+l.width,o="right");var m=h.model.categoryLabel,v=u.parcatsViewModel.model.count,g=0;u.categoryViewModel.bands.forEach((function(t){t.color===u.color&&(g+=t.count)}));var y=h.model.count,b=0;d.pathSelection.each((function(t){t.model.color===u.color&&(b+=t.model.count)}));var w=g/v,E=g/b,x=g/y,C={countLabel:v,categoryLabel:m,probabilityLabel:w.toFixed(3)},T=[];-1!==h.parcatsViewModel.hoverinfoItems.indexOf("count")&&T.push(["Count:",C.countLabel].join(" ")),-1!==h.parcatsViewModel.hoverinfoItems.indexOf("probability")&&(T.push("P(color ∩ "+m+"): "+C.probabilityLabel),T.push("P("+m+" | color): "+E.toFixed(3)),T.push("P(color | "+m+"): "+x.toFixed(3)));var A=T.join("
"),S=c.mostReadable(u.color,["black","white"]);return{trace:_,x:a*(r-e.left),y:s*(p-e.top),text:A,color:u.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:S,fontSize:10,idealAlign:o,hovertemplate:_.hovertemplate,hovertemplateLabels:C,eventData:[{data:_._input,fullData:_,category:m,count:v,probability:w,categorycount:y,colorcount:b,bandcolorcount:g}]}}(n,o,u):"dimension"===l&&(e=function(t,e,n){var r=[];return i.select(n.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each((function(){r.push(z(t,e,this))})),r}(n,o,u)),e&&a.loneHover(e,{container:r._hoverlayer.node(),outerContainer:r._paper.node(),gd:n}))}}function N(t){var e=t.parcatsViewModel;e.dragDimension||(w(e.pathSelection),x(e.dimensionSelection.selectAll("g.category")),C(e.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),a.loneUnhover(e.graphDiv._fullLayout._hoverlayer.node()),e.pathSelection.sort(p),-1!==e.hoverinfoItems.indexOf("skip"))||("color"===t.parcatsViewModel.hoveron?S(this,"plotly_unhover",i.event):A(this,"plotly_unhover",i.event))}function I(t){"fixed"!==t.parcatsViewModel.arrangement&&(t.dragDimensionDisplayInd=t.model.displayInd,t.initialDragDimensionDisplayInds=t.parcatsViewModel.model.dimensions.map((function(t){return t.displayInd})),t.dragHasMoved=!1,t.dragCategoryDisplayInd=null,i.select(this).selectAll("g.category").select("rect.catrect").each((function(e){var n=i.mouse(this)[0],r=i.mouse(this)[1];-2<=n&&n<=e.width+2&&-2<=r&&r<=e.height+2&&(t.dragCategoryDisplayInd=e.model.displayInd,t.initialDragCategoryDisplayInds=t.model.categories.map((function(t){return t.displayInd})),e.model.dragY=e.y,s.raiseToTop(this.parentNode),i.select(this.parentNode).selectAll("rect.bandrect").each((function(e){e.yh.y+h.height/2&&(a.model.displayInd=h.model.displayInd,h.model.displayInd=l),t.dragCategoryDisplayInd=a.model.displayInd}if(null===t.dragCategoryDisplayInd||"freeform"===t.parcatsViewModel.arrangement){o.model.dragX=i.event.x;var d=t.parcatsViewModel.dimensions[n],f=t.parcatsViewModel.dimensions[r];void 0!==d&&o.model.dragXf.x&&(o.model.displayInd=f.model.displayInd,f.model.displayInd=t.dragDimensionDisplayInd),t.dragDimensionDisplayInd=o.model.displayInd}q(t.parcatsViewModel),j(t.parcatsViewModel),R(t.parcatsViewModel),$(t.parcatsViewModel)}}function L(t){if("fixed"!==t.parcatsViewModel.arrangement&&null!==t.dragDimensionDisplayInd){i.select(this).selectAll("text").attr("font-weight","normal");var e={},n=M(t.parcatsViewModel),r=t.parcatsViewModel.model.dimensions.map((function(t){return t.displayInd})),a=t.initialDragDimensionDisplayInds.some((function(t,e){return t!==r[e]}));a&&r.forEach((function(n,i){var r=t.parcatsViewModel.model.dimensions[i].containerInd;e["dimensions["+r+"].displayindex"]=n}));var s=!1;if(null!==t.dragCategoryDisplayInd){var l=t.model.categories.map((function(t){return t.displayInd}));if(s=t.initialDragCategoryDisplayInds.some((function(t,e){return t!==l[e]}))){var u=t.model.categories.slice().sort((function(t,e){return t.displayInd-e.displayInd})),c=u.map((function(t){return t.categoryValue})),h=u.map((function(t){return t.categoryLabel}));e["dimensions["+t.model.containerInd+"].categoryarray"]=[c],e["dimensions["+t.model.containerInd+"].ticktext"]=[h],e["dimensions["+t.model.containerInd+"].categoryorder"]="array"}}-1===t.parcatsViewModel.hoverinfoItems.indexOf("skip")&&!t.dragHasMoved&&t.potentialClickBand&&("color"===t.parcatsViewModel.hoveron?S(t.potentialClickBand,"plotly_click",i.event.sourceEvent):A(t.potentialClickBand,"plotly_click",i.event.sourceEvent)),t.model.dragX=null,null!==t.dragCategoryDisplayInd&&(t.parcatsViewModel.dimensions[t.dragDimensionDisplayInd].categories[t.dragCategoryDisplayInd].model.dragY=null,t.dragCategoryDisplayInd=null),t.dragDimensionDisplayInd=null,t.parcatsViewModel.dragDimension=null,t.dragHasMoved=null,t.potentialClickBand=null,q(t.parcatsViewModel),j(t.parcatsViewModel),i.transition().duration(300).ease("cubic-in-out").each((function(){R(t.parcatsViewModel,!0),$(t.parcatsViewModel,!0)})).each("end",(function(){(a||s)&&o.restyle(t.parcatsViewModel.graphDiv,e,[n])}))}}function M(t){for(var e,n=t.graphDiv._fullData,i=0;i=0;s--)c+="C"+u[s]+","+(e[s+1]+i)+" "+l[s]+","+(e[s]+i)+" "+(t[s]+n[s])+","+(e[s]+i),c+="l-"+n[s]+",0 ";return c+"Z"}function j(t){var e=t.dimensions,n=t.model,i=e.map((function(t){return t.categories.map((function(t){return t.y}))})),r=t.model.dimensions.map((function(t){return t.categories.map((function(t){return t.displayInd}))})),o=t.model.dimensions.map((function(t){return t.displayInd})),a=t.dimensions.map((function(t){return t.model.dimensionInd})),s=e.map((function(t){return t.x})),l=e.map((function(t){return t.width})),u=[];for(var c in n.paths)n.paths.hasOwnProperty(c)&&u.push(n.paths[c]);function h(t){var e=t.categoryInds.map((function(t,e){return r[e][t]}));return a.map((function(t){return e[t]}))}u.sort((function(e,n){var i=h(e),r=h(n);return"backward"===t.sortpaths&&(i.reverse(),r.reverse()),i.push(e.valueInds[0]),r.push(n.valueInds[0]),t.bundlecolors&&(i.unshift(e.rawColor),r.unshift(n.rawColor)),ir?1:0}));for(var d=new Array(u.length),f=e[0].model.count,_=e[0].categories.map((function(t){return t.height})).reduce((function(t,e){return t+e})),p=0;p0?_*(v.count/f):0;for(var g,y=new Array(i.length),b=0;b1?(t.width-80-16)/(i-1):0)*r;var o,a,s,l,u,c=[],h=t.model.maxCats,d=e.categories.length,f=e.count,_=t.height-8*(h-1),p=8*(h-d)/2,m=e.categories.map((function(t){return{displayInd:t.displayInd,categoryInd:t.categoryInd}}));for(m.sort((function(t,e){return t.displayInd-e.displayInd})),u=0;u0?a.count/f*_:0,s={key:a.valueInds[0],model:a,width:16,height:o,y:null!==a.dragY?a.dragY:p,bands:[],parcatsViewModel:t},p=p+o+8,c.push(s);return{key:e.dimensionInd,x:null!==e.dragX?e.dragX:n,y:0,width:16,model:e,categories:c,parcatsViewModel:t,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}t.exports=function(t,e,n,i){d(n,t,i,e)}},60268:function(t,e,n){"use strict";var i=n(51036);t.exports=function(t,e,n,r){var o=t._fullLayout,a=o._paper,s=o._size;i(t,a,e,{width:s.w,height:s.h,margin:{t:s.t,r:s.r,b:s.b,l:s.l}},n,r)}},82296:function(t,e,n){"use strict";var i=n(49084),r=n(94724),o=n(25376),a=n(86968).u,s=n(92880).extendFlat,l=n(31780).templatedArray;t.exports={domain:a({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:o({editType:"plot"}),tickfont:o({editType:"plot"}),rangefont:o({editType:"plot"}),dimensions:l("dimension",{label:{valType:"string",editType:"plot"},tickvals:s({},r.tickvals,{editType:"plot"}),ticktext:s({},r.ticktext,{editType:"plot"}),tickformat:s({},r.tickformat,{editType:"plot"}),visible:{valType:"boolean",dflt:!0,editType:"plot"},range:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},constraintrange:{valType:"info_array",freeLength:!0,dimensions:"1-2",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},multiselect:{valType:"boolean",dflt:!0,editType:"plot"},values:{valType:"data_array",editType:"calc"},editType:"calc"}),line:s({editType:"calc"},i("line",{colorscaleDflt:"Viridis",autoColorDflt:!1,editTypeOverride:"calc"})),unselected:{line:{color:{valType:"color",dflt:"#7f7f7f",editType:"plot"},opacity:{valType:"number",min:0,max:1,dflt:"auto",editType:"plot"},editType:"plot"},editType:"plot"}}},71864:function(t,e,n){"use strict";var i=n(30140),r=n(33428),o=n(71688).keyFun,a=n(71688).repeat,s=n(3400).sorterAsc,l=n(3400).strTranslate,u=i.bar.snapRatio;function c(t,e){return t*(1-u)+e*u}var h=i.bar.snapClose;function d(t,e){return t*(1-h)+e*h}function f(t,e,n,i){if(function(t,e){for(var n=0;n=e[n][0]&&t<=e[n][1])return!0;return!1}(n,i))return n;var r=t?-1:1,o=0,a=e.length-1;if(r<0){var s=o;o=a,a=s}for(var l=e[o],u=l,h=o;r*he){d=n;break}}if(o=c,isNaN(o)&&(o=isNaN(h)||isNaN(d)?isNaN(h)?d:h:e-u[h][1]t[1]+n||e=.9*t[1]+.1*t[0]?"n":e<=.9*t[0]+.1*t[1]?"s":"ns"}(_,e);p&&(a.interval=l[o],a.intervalPix=_,a.region=p)}}if(t.ordinal&&!a.region){var m=t.unitTickvals,g=t.unitToPaddedPx.invert(e);for(n=0;n=y[0]&&g<=y[1]){a.clickableOrdinalRange=y;break}}}return a}function E(t,e){r.event.sourceEvent.stopPropagation();var n=e.height-r.mouse(t)[1]-2*i.verticalPadding,o=e.brush.svgBrush;o.wasDragged=!0,o._dragging=!0,o.grabbingBar?o.newExtent=[n-o.grabPoint,n+o.barLength-o.grabPoint].map(e.unitToPaddedPx.invert):o.newExtent=[o.startExtent,e.unitToPaddedPx.invert(n)].sort(s),e.brush.filterSpecified=!0,o.extent=o.stayingIntervals.concat([o.newExtent]),o.brushCallback(e),b(t.parentNode)}function x(t,e){var n=w(e,e.height-r.mouse(t)[1]-2*i.verticalPadding),o="crosshair";n.clickableOrdinalRange?o="pointer":n.region&&(o=n.region+"-resize"),r.select(document.body).style("cursor",o)}function C(t){t.on("mousemove",(function(t){r.event.preventDefault(),t.parent.inBrushDrag||x(this,t)})).on("mouseleave",(function(t){t.parent.inBrushDrag||g()})).call(r.behavior.drag().on("dragstart",(function(t){!function(t,e){r.event.sourceEvent.stopPropagation();var n=e.height-r.mouse(t)[1]-2*i.verticalPadding,o=e.unitToPaddedPx.invert(n),a=e.brush,s=w(e,n),l=s.interval,u=a.svgBrush;if(u.wasDragged=!1,u.grabbingBar="ns"===s.region,u.grabbingBar){var c=l.map(e.unitToPaddedPx);u.grabPoint=n-c[0]-i.verticalPadding,u.barLength=c[1]-c[0]}u.clickableOrdinalRange=s.clickableOrdinalRange,u.stayingIntervals=e.multiselect&&a.filterSpecified?a.filter.getConsolidated():[],l&&(u.stayingIntervals=u.stayingIntervals.filter((function(t){return t[0]!==l[0]&&t[1]!==l[1]}))),u.startExtent=s.region?l["s"===s.region?1:0]:o,e.parent.inBrushDrag=!0,u.brushStartCallback()}(this,t)})).on("drag",(function(t){E(this,t)})).on("dragend",(function(t){!function(t,e){var n=e.brush,i=n.filter,o=n.svgBrush;o._dragging||(x(t,e),E(t,e),e.brush.svgBrush.wasDragged=!1),o._dragging=!1,r.event.sourceEvent.stopPropagation();var a=o.grabbingBar;if(o.grabbingBar=!1,o.grabLocation=void 0,e.parent.inBrushDrag=!1,g(),!o.wasDragged)return o.wasDragged=void 0,o.clickableOrdinalRange?n.filterSpecified&&e.multiselect?o.extent.push(o.clickableOrdinalRange):(o.extent=[o.clickableOrdinalRange],n.filterSpecified=!0):a?(o.extent=o.stayingIntervals,0===o.extent.length&&A(n)):A(n),o.brushCallback(e),b(t.parentNode),void o.brushEndCallback(n.filterSpecified?i.getConsolidated():[]);var s=function(){i.set(i.getConsolidated())};if(e.ordinal){var l=e.unitTickvals;l[l.length-1]o.newExtent[0];o.extent=o.stayingIntervals.concat(u?[o.newExtent]:[]),o.extent.length||A(n),o.brushCallback(e),u?b(t.parentNode,s):(s(),b(t.parentNode))}else s();o.brushEndCallback(n.filterSpecified?i.getConsolidated():[])}(this,t)})))}function T(t,e){return t[0]-e[0]}function A(t){t.filterSpecified=!1,t.svgBrush.extent=[[-1/0,1/0]]}function S(t){for(var e,n=t.slice(),i=[],r=n.shift();r;){for(e=r.slice();(r=n.shift())&&r[0]<=e[1];)e[1]=Math.max(e[1],r[1]);i.push(e)}return 1===i.length&&i[0][0]>i[0][1]&&(i=[]),i}t.exports={makeBrush:function(t,e,n,i,r,o){var a,l=function(){var t,e,n=[];return{set:function(i){1===(n=i.map((function(t){return t.slice().sort(s)})).sort(T)).length&&n[0][0]===-1/0&&n[0][1]===1/0&&(n=[[0,-1]]),t=S(n),e=n.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0])},get:function(){return n.slice()},getConsolidated:function(){return t},getBounds:function(){return e}}}();return l.set(n),{filter:l,filterSpecified:e,svgBrush:{extent:[],brushStartCallback:i,brushCallback:(a=r,function(t){var e=t.brush,n=function(t){return t.svgBrush.extent.map((function(t){return t.slice()}))}(e),i=n.slice();e.filter.set(i),a()}),brushEndCallback:o}}},ensureAxisBrush:function(t,e,n){var r=t.selectAll("."+i.cn.axisBrush).data(a,o);r.enter().append("g").classed(i.cn.axisBrush,!0),function(t,e,n){var r=n._context.staticPlot,o=t.selectAll(".background").data(a);o.enter().append("rect").classed("background",!0).call(_).call(p).style("pointer-events",r?"none":"auto").attr("transform",l(0,i.verticalPadding)),o.call(C).attr("height",(function(t){return t.height-i.verticalPadding}));var s=t.selectAll(".highlight-shadow").data(a);s.enter().append("line").classed("highlight-shadow",!0).attr("x",-i.bar.width/2).attr("stroke-width",i.bar.width+i.bar.strokeWidth).attr("stroke",e).attr("opacity",i.bar.strokeOpacity).attr("stroke-linecap","butt"),s.attr("y1",(function(t){return t.height})).call(y);var u=t.selectAll(".highlight").data(a);u.enter().append("line").classed("highlight",!0).attr("x",-i.bar.width/2).attr("stroke-width",i.bar.width-i.bar.strokeWidth).attr("stroke",i.bar.fillColor).attr("opacity",i.bar.fillOpacity).attr("stroke-linecap","butt"),u.attr("y1",(function(t){return t.height})).call(y)}(r,e,n)},cleanRanges:function(t,e){if(Array.isArray(t[0])?(t=t.map((function(t){return t.sort(s)})),t=e.multiselect?S(t.sort(T)):[t[0]]):t=[t.sort(s)],e.tickvals){var n=e.tickvals.slice().sort(s);if(!(t=t.map((function(t){var e=[f(0,n,t[0],[]),f(1,n,t[1],[])];if(e[1]>e[0])return e})).filter((function(t){return t}))).length)return}return t.length>1?t:t[0]}}},61664:function(t,e,n){"use strict";t.exports={attributes:n(82296),supplyDefaults:n(60664),calc:n(95044),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:n(19976),categories:["gl","regl","noOpacity","noHover"],meta:{}}},19976:function(t,e,n){"use strict";var i=n(33428),r=n(84888)._M,o=n(24196),a=n(9616);e.name="parcoords",e.plot=function(t){var e=r(t.calcdata,"parcoords")[0];e.length&&o(t,e)},e.clean=function(t,e,n,i){var r=i._has&&i._has("parcoords"),o=e._has&&e._has("parcoords");r&&!o&&(i._paperdiv.selectAll(".parcoords").remove(),i._glimages.selectAll("*").remove())},e.toSVG=function(t){var e=t._fullLayout._glimages,n=i.select(t).selectAll(".svg-container");n.filter((function(t,e){return e===n.size()-1})).selectAll(".gl-canvas-context, .gl-canvas-focus").each((function(){var t=this,n=t.toDataURL("image/png");e.append("svg:image").attr({xmlns:a.svg,"xlink:href":n,preserveAspectRatio:"none",x:0,y:0,width:t.style.width,height:t.style.height})})),window.setTimeout((function(){i.selectAll("#filterBarPattern").attr("id","filterBarPattern")}),60)}},95044:function(t,e,n){"use strict";var i=n(3400).isArrayOrTypedArray,r=n(8932),o=n(71688).wrap;t.exports=function(t,e){var n,a;return r.hasColorscale(e,"line")&&i(e.line.color)?(n=e.line.color,a=r.extractOpts(e.line).colorscale,r.calc(t,e,{vals:n,containerStr:"line",cLetter:"c"})):(n=function(t){for(var e=new Array(t),n=0;nh&&(i.log("parcoords traces support up to "+h+" dimensions at the moment"),_.splice(h));var p=s(t,e,{name:"dimensions",layout:l,handleItemDefaults:f}),m=function(t,e,n,a,s){var l=s("line.color",n);if(r(t,"line")&&i.isArrayOrTypedArray(l)){if(l.length)return s("line.colorscale"),o(t,e,a,s,{prefix:"line.",cLetter:"c"}),l.length;e.line.color=n}return 1/0}(t,e,n,l,c);a(e,l,c),Array.isArray(p)&&p.length||(e.visible=!1),d(e,p,"values",m);var v={family:l.font.family,size:Math.round(l.font.size/1.2),color:l.font.color};i.coerceFont(c,"labelfont",v),i.coerceFont(c,"tickfont",v),i.coerceFont(c,"rangefont",v),c("labelangle"),c("labelside"),c("unselected.line.color"),c("unselected.line.opacity")}},95724:function(t,e,n){"use strict";var i=n(3400).isTypedArray;e.convertTypedArray=function(t){return i(t)?Array.prototype.slice.call(t):t},e.isOrdinal=function(t){return!!t.tickvals},e.isVisible=function(t){return t.visible||!("visible"in t)}},29928:function(t,e,n){"use strict";var i=n(61664);i.plot=n(24196),t.exports=i},51352:function(t,e,n){"use strict";var i=n(26444),r=i(["precision highp float;\n#define GLSLIFY 1\n\nvarying vec4 fragColor;\n\nattribute vec4 p01_04, p05_08, p09_12, p13_16,\n p17_20, p21_24, p25_28, p29_32,\n p33_36, p37_40, p41_44, p45_48,\n p49_52, p53_56, p57_60, colors;\n\nuniform mat4 dim0A, dim1A, dim0B, dim1B, dim0C, dim1C, dim0D, dim1D,\n loA, hiA, loB, hiB, loC, hiC, loD, hiD;\n\nuniform vec2 resolution, viewBoxPos, viewBoxSize;\nuniform float maskHeight;\nuniform float drwLayer; // 0: context, 1: focus, 2: pick\nuniform vec4 contextColor;\nuniform sampler2D maskTexture, palette;\n\nbool isPick = (drwLayer > 1.5);\nbool isContext = (drwLayer < 0.5);\n\nconst vec4 ZEROS = vec4(0.0, 0.0, 0.0, 0.0);\nconst vec4 UNITS = vec4(1.0, 1.0, 1.0, 1.0);\n\nfloat val(mat4 p, mat4 v) {\n return dot(matrixCompMult(p, v) * UNITS, UNITS);\n}\n\nfloat axisY(float ratio, mat4 A, mat4 B, mat4 C, mat4 D) {\n float y1 = val(A, dim0A) + val(B, dim0B) + val(C, dim0C) + val(D, dim0D);\n float y2 = val(A, dim1A) + val(B, dim1B) + val(C, dim1C) + val(D, dim1D);\n return y1 * (1.0 - ratio) + y2 * ratio;\n}\n\nint iMod(int a, int b) {\n return a - b * (a / b);\n}\n\nbool fOutside(float p, float lo, float hi) {\n return (lo < hi) && (lo > p || p > hi);\n}\n\nbool vOutside(vec4 p, vec4 lo, vec4 hi) {\n return (\n fOutside(p[0], lo[0], hi[0]) ||\n fOutside(p[1], lo[1], hi[1]) ||\n fOutside(p[2], lo[2], hi[2]) ||\n fOutside(p[3], lo[3], hi[3])\n );\n}\n\nbool mOutside(mat4 p, mat4 lo, mat4 hi) {\n return (\n vOutside(p[0], lo[0], hi[0]) ||\n vOutside(p[1], lo[1], hi[1]) ||\n vOutside(p[2], lo[2], hi[2]) ||\n vOutside(p[3], lo[3], hi[3])\n );\n}\n\nbool outsideBoundingBox(mat4 A, mat4 B, mat4 C, mat4 D) {\n return mOutside(A, loA, hiA) ||\n mOutside(B, loB, hiB) ||\n mOutside(C, loC, hiC) ||\n mOutside(D, loD, hiD);\n}\n\nbool outsideRasterMask(mat4 A, mat4 B, mat4 C, mat4 D) {\n mat4 pnts[4];\n pnts[0] = A;\n pnts[1] = B;\n pnts[2] = C;\n pnts[3] = D;\n\n for(int i = 0; i < 4; ++i) {\n for(int j = 0; j < 4; ++j) {\n for(int k = 0; k < 4; ++k) {\n if(0 == iMod(\n int(255.0 * texture2D(maskTexture,\n vec2(\n (float(i * 2 + j / 2) + 0.5) / 8.0,\n (pnts[i][j][k] * (maskHeight - 1.0) + 1.0) / maskHeight\n ))[3]\n ) / int(pow(2.0, float(iMod(j * 4 + k, 8)))),\n 2\n )) return true;\n }\n }\n }\n return false;\n}\n\nvec4 position(bool isContext, float v, mat4 A, mat4 B, mat4 C, mat4 D) {\n float x = 0.5 * sign(v) + 0.5;\n float y = axisY(x, A, B, C, D);\n float z = 1.0 - abs(v);\n\n z += isContext ? 0.0 : 2.0 * float(\n outsideBoundingBox(A, B, C, D) ||\n outsideRasterMask(A, B, C, D)\n );\n\n return vec4(\n 2.0 * (vec2(x, y) * viewBoxSize + viewBoxPos) / resolution - 1.0,\n z,\n 1.0\n );\n}\n\nvoid main() {\n mat4 A = mat4(p01_04, p05_08, p09_12, p13_16);\n mat4 B = mat4(p17_20, p21_24, p25_28, p29_32);\n mat4 C = mat4(p33_36, p37_40, p41_44, p45_48);\n mat4 D = mat4(p49_52, p53_56, p57_60, ZEROS);\n\n float v = colors[3];\n\n gl_Position = position(isContext, v, A, B, C, D);\n\n fragColor =\n isContext ? vec4(contextColor) :\n isPick ? vec4(colors.rgb, 1.0) : texture2D(palette, vec2(abs(v), 0.5));\n}\n"]),o=i(["precision highp float;\n#define GLSLIFY 1\n\nvarying vec4 fragColor;\n\nvoid main() {\n gl_FragColor = fragColor;\n}\n"]),a=n(30140).maxDimensionCount,s=n(3400),l=1e-6,u=new Uint8Array(4),c=new Uint8Array(4),h={shape:[256,1],format:"rgba",type:"uint8",mag:"nearest",min:"nearest"};function d(t,e,n,i,r){var o=t._gl;o.enable(o.SCISSOR_TEST),o.scissor(e,n,i,r),t.clear({color:[0,0,0,0],depth:1})}function f(t,e,n,i,r,o){var a=o.key;n.drawCompleted||(function(t){t.read({x:0,y:0,width:1,height:1,data:u})}(t),n.drawCompleted=!0),function s(l){var u=Math.min(i,r-l*i);0===l&&(window.cancelAnimationFrame(n.currentRafs[a]),delete n.currentRafs[a],d(t,o.scissorX,o.scissorY,o.scissorWidth,o.viewBoxSize[1])),n.clearOnly||(o.count=2*u,o.offset=2*l*i,e(o),l*i+u>>8*e)%256/255}function m(t,e,n){for(var i=new Array(8*e),r=0,o=0;oc&&(c=t[r].dim1.canvasX,a=r);0===s&&d(C,0,0,n.canvasWidth,n.canvasHeight);var h=function(t){var e,n,i,r=[[],[]];for(i=0;i<64;i++){var o=!t&&is._length&&(z=z.slice(0,s._length));var N,I=s.tickvals;function O(t,e){return{val:t,text:N[e]}}function L(t,e){return t.val-e.val}if(o(I)&&I.length){r.isTypedArray(I)&&(I=Array.from(I)),N=s.ticktext,o(N)&&N.length?N.length>I.length?N=N.slice(0,I.length):I.length>N.length&&(I=I.slice(0,N.length)):N=I.map(a(s.tickformat));for(var M=1;M=n||l>=r)return;var u=t.lineLayer.readPixel(s,r-1-l),c=0!==u[3],h=c?u[2]+256*(u[1]+256*u[0]):null,d={x:s,y:l,clientX:e.clientX,clientY:e.clientY,dataIndex:t.model.key,curveNumber:h};h!==j&&(c?o.hover(d):o.unhover&&o.unhover(d),j=h)}})),U.style("opacity",(function(t){return t.pick?0:1})),f.style("background","rgba(255, 255, 255, 0)");var q=f.selectAll("."+y.cn.parcoords).data(P,p);q.exit().remove(),q.enter().append("g").classed(y.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),q.attr("transform",(function(t){return c(t.model.translateX,t.model.translateY)}));var D=q.selectAll("."+y.cn.parcoordsControlView).data(m,p);D.enter().append("g").classed(y.cn.parcoordsControlView,!0),D.attr("transform",(function(t){return c(t.model.pad.l,t.model.pad.t)}));var B=D.selectAll("."+y.cn.yAxis).data((function(t){return t.dimensions}),p);B.enter().append("g").classed(y.cn.yAxis,!0),D.each((function(t){M(B,t,E)})),U.each((function(t){if(t.viewModel){!t.lineLayer||o?t.lineLayer=w(this,t):t.lineLayer.update(t),(t.key||0===t.key)&&(t.viewModel[t.key]=t.lineLayer);var e=!t.context||o;t.lineLayer.render(t.viewModel.panels,e)}})),B.attr("transform",(function(t){return c(t.xScale(t.xIndex),0)})),B.call(i.behavior.drag().origin((function(t){return t})).on("drag",(function(t){var e=t.parent;z.linePickActive(!1),t.x=Math.max(-y.overdrag,Math.min(t.model.width+y.overdrag,i.event.x)),t.canvasX=t.x*t.model.canvasPixelRatio,B.sort((function(t,e){return t.x-e.x})).each((function(e,n){e.xIndex=n,e.x=t===e?e.x:e.xScale(e.xIndex),e.canvasX=e.x*e.model.canvasPixelRatio})),M(B,e,E),B.filter((function(e){return 0!==Math.abs(t.xIndex-e.xIndex)})).attr("transform",(function(t){return c(t.xScale(t.xIndex),0)})),i.select(this).attr("transform",c(t.x,0)),B.each((function(n,i,r){r===t.parent.key&&(e.dimensions[i]=n)})),e.contextLayer&&e.contextLayer.render(e.panels,!1,!k(e)),e.focusLayer.render&&e.focusLayer.render(e.panels)})).on("dragend",(function(t){var e=t.parent;t.x=t.xScale(t.xIndex),t.canvasX=t.x*t.model.canvasPixelRatio,M(B,e,E),i.select(this).attr("transform",(function(t){return c(t.x,0)})),e.contextLayer&&e.contextLayer.render(e.panels,!1,!k(e)),e.focusLayer&&e.focusLayer.render(e.panels),e.pickLayer&&e.pickLayer.render(e.panels,!0),z.linePickActive(!0),o&&o.axesMoved&&o.axesMoved(e.key,e.dimensions.map((function(t){return t.crossfilterDimensionIndex})))}))),B.exit().remove();var F=B.selectAll("."+y.cn.axisOverlays).data(m,p);F.enter().append("g").classed(y.cn.axisOverlays,!0),F.selectAll("."+y.cn.axis).remove();var W=F.selectAll("."+y.cn.axis).data(m,p);W.enter().append("g").classed(y.cn.axis,!0),W.each((function(t){var e=t.model.height/t.model.tickDistance,n=t.domainScale,r=n.domain();i.select(this).call(i.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(e,t.tickFormat).tickValues(t.ordinal?r:null).tickFormat((function(e){return g.isOrdinal(t)?e:$(t.model.dimensions[t.visibleIndex],e)})).scale(n)),d.font(W.selectAll("text"),t.model.tickFont)})),W.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),W.selectAll("text").style("text-shadow",h.makeTextShadow(C)).style("cursor","default");var G=F.selectAll("."+y.cn.axisHeading).data(m,p);G.enter().append("g").classed(y.cn.axisHeading,!0);var H=G.selectAll("."+y.cn.axisTitle).data(m,p);H.enter().append("text").classed(y.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",a?"none":"auto"),H.text((function(t){return t.label})).each((function(e){var n=i.select(this);d.font(n,e.model.labelFont),h.convertToTspans(n,t)})).attr("transform",(function(t){var e=L(t.model.labelAngle,t.model.labelSide),n=y.axisTitleOffset;return(e.dir>0?"":c(0,2*n+t.model.height))+u(e.degrees)+c(-n*e.dx,-n*e.dy)})).attr("text-anchor",(function(t){var e=L(t.model.labelAngle,t.model.labelSide);return 2*Math.abs(e.dx)>Math.abs(e.dy)?e.dir*e.dx<0?"start":"end":"middle"}));var V=F.selectAll("."+y.cn.axisExtent).data(m,p);V.enter().append("g").classed(y.cn.axisExtent,!0);var X=V.selectAll("."+y.cn.axisExtentTop).data(m,p);X.enter().append("g").classed(y.cn.axisExtentTop,!0),X.attr("transform",c(0,-y.axisExtentOffset));var J=X.selectAll("."+y.cn.axisExtentTopText).data(m,p);J.enter().append("text").classed(y.cn.axisExtentTopText,!0).call(O),J.text((function(t){return R(t,!0)})).each((function(t){d.font(i.select(this),t.model.rangeFont)}));var Z=V.selectAll("."+y.cn.axisExtentBottom).data(m,p);Z.enter().append("g").classed(y.cn.axisExtentBottom,!0),Z.attr("transform",(function(t){return c(0,t.model.height+y.axisExtentOffset)}));var Y=Z.selectAll("."+y.cn.axisExtentBottomText).data(m,p);Y.enter().append("text").classed(y.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(O),Y.text((function(t){return R(t,!1)})).each((function(t){d.font(i.select(this),t.model.rangeFont)})),b.ensureAxisBrush(F,C,t)}},24196:function(t,e,n){"use strict";var i=n(36336),r=n(5048),o=n(95724).isVisible,a={};function s(t,e,n){var i=e.indexOf(n),r=t.indexOf(i);return-1===r&&(r+=e.length),r}(t.exports=function(t,e){var n=t._fullLayout;if(r(t,[],a)){var l={},u={},c={},h={},d=n._size;e.forEach((function(e,n){var i=e[0].trace;c[n]=i.index;var r=h[n]=i._fullInput.index;l[n]=t.data[r].dimensions,u[n]=t.data[r].dimensions.slice()})),i(t,e,{width:d.w,height:d.h,margin:{t:d.t,r:d.r,b:d.b,l:d.l}},{filterChanged:function(e,i,r){var o=u[e][i],a=r.map((function(t){return t.slice()})),s="dimensions["+i+"].constraintrange",l=n._tracePreGUI[t._fullData[c[e]]._fullInput.uid];if(void 0===l[s]){var d=o.constraintrange;l[s]=d||null}var f=t._fullData[c[e]].dimensions[i];a.length?(1===a.length&&(a=a[0]),o.constraintrange=a,f.constraintrange=a.slice(),a=[a]):(delete o.constraintrange,delete f.constraintrange,a=null);var _={};_[s]=a,t.emit("plotly_restyle",[_,[h[e]]])},hover:function(e){t.emit("plotly_hover",e)},unhover:function(e){t.emit("plotly_unhover",e)},axesMoved:function(e,n){var i=function(t,e){return function(n,i){return s(t,e,n)-s(t,e,i)}}(n,u[e].filter(o));l[e].sort(i),u[e].filter((function(t){return!o(t)})).sort((function(t){return u[e].indexOf(t)})).forEach((function(t){l[e].splice(l[e].indexOf(t),1),l[e].splice(u[e].indexOf(t),0,t)})),t.emit("plotly_restyle",[{dimensions:[l[e]]},[h[e]]])}})}}).reglPrecompiled=a},74996:function(t,e,n){"use strict";var i=n(45464),r=n(86968).u,o=n(25376),a=n(22548),s=n(21776).Ks,l=n(21776).Gw,u=n(92880).extendFlat,c=n(98192).c,h=o({editType:"plot",arrayOk:!0,colorEditType:"plot"});t.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:a.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},pattern:c,editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:u({},i.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:s({},{keys:["label","color","value","percent","text"]}),texttemplate:l({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:u({},h,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:u({},h,{}),outsidetextfont:u({},h,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:u({},h,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:r({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"},_deprecated:{title:{valType:"string",dflt:"",editType:"calc"},titlefont:u({},h,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},80036:function(t,e,n){"use strict";var i=n(7316);e.name="pie",e.plot=function(t,n,r,o){i.plotBasePlot(e.name,t,n,r,o)},e.clean=function(t,n,r,o){i.cleanBasePlot(e.name,t,n,r,o)}},45768:function(t,e,n){"use strict";var i=n(38248),r=n(49760),o=n(76308),a={};function s(t){return function(e,n){return!!e&&!!(e=r(e)).isValid()&&(e=o.addOpacity(e,e.getAlpha()),t[n]||(t[n]=e),e)}}function l(t,e){var n,i=JSON.stringify(t),o=e[i];if(!o){for(o=t.slice(),n=0;n=0})),("funnelarea"===e.type?v:e.sort)&&o.sort((function(t,e){return e.v-t.v})),o[0]&&(o[0].vTotal=m),o},crossTraceCalc:function(t,e){var n=(e||{}).type;n||(n="pie");var i=t._fullLayout,r=t.calcdata,o=i[n+"colorway"],s=i["_"+n+"colormap"];i["extend"+n+"colors"]&&(o=l(o,a));for(var u=0,c=0;c0){s=!0;break}}s||(a=0)}return{hasLabels:n,hasValues:o,len:a}}function c(t,e,n,i,r){i("marker.line.width")&&i("marker.line.color",r?void 0:n.paper_bgcolor);var o=i("marker.colors");l(i,"marker.pattern",o),t.marker&&!e.marker.pattern.fgcolor&&(e.marker.pattern.fgcolor=t.marker.colors),e.marker.pattern.bgcolor||(e.marker.pattern.bgcolor=n.paper_bgcolor)}t.exports={handleLabelsAndValues:u,handleMarkerDefaults:c,supplyDefaults:function(t,e,n,i){function l(n,i){return r.coerce(t,e,o,n,i)}var h=u(l("labels"),l("values")),d=h.len;if(e._hasLabels=h.hasLabels,e._hasValues=h.hasValues,!e._hasLabels&&e._hasValues&&(l("label0"),l("dlabel")),d){e._length=d,c(t,e,i,l,!0),l("scalegroup");var f,_=l("text"),p=l("texttemplate");if(p||(f=l("textinfo",r.isArrayOrTypedArray(_)?"text+percent":"percent")),l("hovertext"),l("hovertemplate"),p||f&&"none"!==f){var m=l("textposition");s(t,e,i,l,m,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(m)||"auto"===m||"outside"===m)&&l("automargin"),("inside"===m||"auto"===m||Array.isArray(m))&&l("insidetextorientation")}a(e,i,l);var v=l("hole");if(l("title.text")){var g=l("title.position",v?"middle center":"top center");v||"middle center"!==g||(e.title.position="top center"),r.coerceFont(l,"title.font",i.font)}l("sort"),l("direction"),l("rotation"),l("pull")}else e.visible=!1}}},53644:function(t,e,n){"use strict";var i=n(10624).appendArrayMultiPointValues;t.exports=function(t,e){var n={curveNumber:e.index,pointNumbers:t.pts,data:e._input,fullData:e,label:t.label,color:t.color,value:t.v,percent:t.percent,text:t.text,bbox:t.bbox,v:t.v};return 1===t.pts.length&&(n.pointNumber=n.i=t.pts[0]),i(n,e,t.pts),"funnelarea"===e.type&&(delete n.v,delete n.i),n}},21552:function(t,e,n){"use strict";var i=n(43616),r=n(76308);t.exports=function(t,e,n,o){var a=n.marker.pattern;a&&a.shape?i.pointStyle(t,n,o,e):r.fill(t,e.color)}},69656:function(t,e,n){"use strict";var i=n(3400);function r(t){return-1!==t.indexOf("e")?t.replace(/[.]?0+e/,"e"):-1!==t.indexOf(".")?t.replace(/[.]?0+$/,""):t}e.formatPiePercent=function(t,e){var n=r((100*t).toPrecision(3));return i.numSeparate(n,e)+"%"},e.formatPieValue=function(t,e){var n=r(t.toPrecision(10));return i.numSeparate(n,e)},e.getFirstFilled=function(t,e){if(i.isArrayOrTypedArray(t))for(var n=0;n"),name:h.hovertemplate||-1!==d.indexOf("name")?h.name:void 0,idealAlign:t.pxmid[0]<0?"left":"right",color:m.castOption(w.bgcolor,t.pts)||t.color,borderColor:m.castOption(w.bordercolor,t.pts),fontFamily:m.castOption(E.family,t.pts),fontSize:m.castOption(E.size,t.pts),fontColor:m.castOption(E.color,t.pts),nameLength:m.castOption(w.namelength,t.pts),textAlign:m.castOption(w.align,t.pts),hovertemplate:m.castOption(h.hovertemplate,t.pts),hovertemplateLabels:t,eventData:[v(t,h)]},{container:n._hoverlayer.node(),outerContainer:n._paper.node(),gd:e,inOut_bbox:x}),t.bbox=x[0],u._hasHoverLabel=!0}u._hasHoverEvent=!0,e.emit("plotly_hover",{points:[v(t,h)],event:i.event})}})),t.on("mouseout",(function(t){var n=e._fullLayout,r=e._fullData[u.index],a=i.select(this).datum();u._hasHoverEvent&&(t.originalEvent=i.event,e.emit("plotly_unhover",{points:[v(a,r)],event:i.event}),u._hasHoverEvent=!1),u._hasHoverLabel&&(o.loneUnhover(n._hoverlayer.node()),u._hasHoverLabel=!1)})),t.on("click",(function(t){var n=e._fullLayout,r=e._fullData[u.index];e._dragging||!1===n.hovermode||(e._hoverdata=[v(t,r)],o.click(e,i.event))}))}function b(t,e,n){var i=m.castOption(t.insidetextfont.color,e.pts);!i&&t._input.textfont&&(i=m.castOption(t._input.textfont.color,e.pts));var r=m.castOption(t.insidetextfont.family,e.pts)||m.castOption(t.textfont.family,e.pts)||n.family,o=m.castOption(t.insidetextfont.size,e.pts)||m.castOption(t.textfont.size,e.pts)||n.size;return{color:i||a.contrast(e.color),family:r,size:o}}function w(t,e){for(var n,i,r=0;re&&e>i||n=-4;m-=2)v(Math.PI*m,"tan");for(m=4;m>=-4;m-=2)v(Math.PI*(m+1),"tan")}if(h||f){for(m=4;m>=-4;m-=2)v(Math.PI*(m+1.5),"rad");for(m=4;m>=-4;m-=2)v(Math.PI*(m+.5),"rad")}}if(s||_||h){var g=Math.sqrt(t.width*t.width+t.height*t.height);if((o={scale:r*i*2/g,rCenter:1-r,rotate:0}).textPosAngle=(e.startangle+e.stopangle)/2,o.scale>=1)return o;p.push(o)}(_||f)&&((o=x(t,i,a,l,u)).textPosAngle=(e.startangle+e.stopangle)/2,p.push(o)),(_||d)&&((o=C(t,i,a,l,u)).textPosAngle=(e.startangle+e.stopangle)/2,p.push(o));for(var y=0,b=0,w=0;w=1)break}return p[y]}function x(t,e,n,i,r){e=Math.max(0,e-2*p);var o=t.width/t.height,a=S(o,i,e,n);return{scale:2*a/t.height,rCenter:T(o,a/e),rotate:A(r)}}function C(t,e,n,i,r){e=Math.max(0,e-2*p);var o=t.height/t.width,a=S(o,i,e,n);return{scale:2*a/t.width,rCenter:T(o,a/e),rotate:A(r+Math.PI/2)}}function T(t,e){return Math.cos(e)-t*e}function A(t){return(180/Math.PI*t+720)%180-90}function S(t,e,n,i){var r=t+1/(2*Math.tan(e));return n*Math.min(1/(Math.sqrt(r*r+.5)+r),i/(Math.sqrt(t*t+i/2)+t))}function z(t,e){return t.v!==e.vTotal||e.trace.hole?Math.min(1/(1+1/Math.sin(t.halfangle)),t.ring/2):1}function k(t,e){var n=e.pxmid[0],i=e.pxmid[1],r=t.width/2,o=t.height/2;return n<0&&(r*=-1),i<0&&(o*=-1),{scale:1,rCenter:1,rotate:0,x:r+Math.abs(o)*(r>0?1:-1)/2,y:o/(1+n*n/(i*i)),outside:!0}}function N(t,e){var n,i,r,o=t.trace,a={x:t.cx,y:t.cy},s={tx:0,ty:0};s.ty+=o.title.font.size,r=O(o),-1!==o.title.position.indexOf("top")?(a.y-=(1+r)*t.r,s.ty-=t.titleBox.height):-1!==o.title.position.indexOf("bottom")&&(a.y+=(1+r)*t.r);var l,u=t.r/(void 0===(l=t.trace.aspectratio)?1:l),c=e.w*(o.domain.x[1]-o.domain.x[0])/2;return-1!==o.title.position.indexOf("left")?(c+=u,a.x-=(1+r)*u,s.tx+=t.titleBox.width/2):-1!==o.title.position.indexOf("center")?c*=2:-1!==o.title.position.indexOf("right")&&(c+=u,a.x+=(1+r)*u,s.tx-=t.titleBox.width/2),n=c/t.titleBox.width,i=I(t,e)/t.titleBox.height,{x:a.x,y:a.y,scale:Math.min(n,i),tx:s.tx,ty:s.ty}}function I(t,e){var n=t.trace,i=e.h*(n.domain.y[1]-n.domain.y[0]);return Math.min(t.titleBox.height,i/2)}function O(t){var e,n=t.pull;if(!n)return 0;if(l.isArrayOrTypedArray(n))for(n=0,e=0;en&&(n=t.pull[e]);return n}function L(t,e){for(var n=[],i=0;i1?c=(u=n.r)/r.aspectratio:u=(c=n.r)*r.aspectratio,l=(u*=(1+r.baseratio)/2)*c}a=Math.min(a,l/n.vTotal)}for(i=0;i")}if(o){var y=l.castOption(r,e.i,"texttemplate");if(y){var b=function(t){return{label:t.label,value:t.v,valueLabel:m.formatPieValue(t.v,i.separators),percent:t.v/n.vTotal,percentLabel:m.formatPiePercent(t.v/n.vTotal,i.separators),color:t.color,text:t.text,customdata:l.castOption(r,t.i,"customdata")}}(e),w=m.getFirstFilled(r.text,e.pts);(g(w)||""===w)&&(b.text=w),e.text=l.texttemplateString(y,b,t._fullLayout._d3locale,b,r._meta||{})}else e.text=""}}function R(t,e){var n=t.rotate*Math.PI/180,i=Math.cos(n),r=Math.sin(n),o=(e.left+e.right)/2,a=(e.top+e.bottom)/2;t.textX=o*i-a*r,t.textY=o*r+a*i,t.noCenter=!0}t.exports={plot:function(t,e){var n=t._context.staticPlot,o=t._fullLayout,d=o._size;_("pie",o),w(e,t),L(e,d);var p=l.makeTraceGroups(o._pielayer,e,"trace").each((function(e){var _=i.select(this),p=e[0],v=p.trace;!function(t){var e,n,i,r=t[0],o=r.r,a=r.trace,s=m.getRotationAngle(a.rotation),l=2*Math.PI/r.vTotal,u="px0",c="px1";if("counterclockwise"===a.direction){for(e=0;er.vTotal/2?1:0,n.halfangle=Math.PI*Math.min(n.v/r.vTotal,.5),n.ring=1-a.hole,n.rInscribed=z(n,r))}(e),_.attr("stroke-linejoin","round"),_.each((function(){var g=i.select(this).selectAll("g.slice").data(e);g.enter().append("g").classed("slice",!0),g.exit().remove();var w=[[[],[]],[[],[]]],x=!1;g.each((function(r,a){if(r.hidden)i.select(this).selectAll("path,g").remove();else{r.pointNumber=r.i,r.curveNumber=v.index,w[r.pxmid[1]<0?0:1][r.pxmid[0]<0?0:1].push(r);var u=p.cx,c=p.cy,d=i.select(this),_=d.selectAll("path.surface").data([r]);if(_.enter().append("path").classed("surface",!0).style({"pointer-events":n?"none":"all"}),d.call(y,t,e),v.pull){var g=+m.castOption(v.pull,r.pts)||0;g>0&&(u+=g*r.pxmid[0],c+=g*r.pxmid[1])}r.cxFinal=u,r.cyFinal=c;var C=v.hole;if(r.v===p.vTotal){var T="M"+(u+r.px0[0])+","+(c+r.px0[1])+I(r.px0,r.pxmid,!0,1)+I(r.pxmid,r.px0,!0,1)+"Z";C?_.attr("d","M"+(u+C*r.px0[0])+","+(c+C*r.px0[1])+I(r.px0,r.pxmid,!1,C)+I(r.pxmid,r.px0,!1,C)+"Z"+T):_.attr("d",T)}else{var A=I(r.px0,r.px1,!0,1);if(C){var S=1-C;_.attr("d","M"+(u+C*r.px1[0])+","+(c+C*r.px1[1])+I(r.px1,r.px0,!1,C)+"l"+S*r.px0[0]+","+S*r.px0[1]+A+"Z")}else _.attr("d","M"+u+","+c+"l"+r.px0[0]+","+r.px0[1]+A+"Z")}$(t,r,p);var z=m.castOption(v.textposition,r.pts),N=d.selectAll("g.slicetext").data(r.text&&"none"!==z?[0]:[]);N.enter().append("g").classed("slicetext",!0),N.exit().remove(),N.each((function(){var n=l.ensureSingle(i.select(this),"text","",(function(t){t.attr("data-notex",1)})),d=l.ensureUniformFontSize(t,"outside"===z?function(t,e,n){return{color:m.castOption(t.outsidetextfont.color,e.pts)||m.castOption(t.textfont.color,e.pts)||n.color,family:m.castOption(t.outsidetextfont.family,e.pts)||m.castOption(t.textfont.family,e.pts)||n.family,size:m.castOption(t.outsidetextfont.size,e.pts)||m.castOption(t.textfont.size,e.pts)||n.size}}(v,r,o.font):b(v,r,o.font));n.text(r.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(s.font,d).call(h.convertToTspans,t);var _,g=s.bBox(n.node());if("outside"===z)_=k(g,r);else if(_=E(g,r,p),"auto"===z&&_.scale<1){var y=l.ensureUniformFontSize(t,v.outsidetextfont);n.call(s.font,y),_=k(g=s.bBox(n.node()),r)}var w=_.textPosAngle,C=void 0===w?r.pxmid:M(p.r,w);if(_.targetX=u+C[0]*_.rCenter+(_.x||0),_.targetY=c+C[1]*_.rCenter+(_.y||0),R(_,g),_.outside){var T=_.targetY;r.yLabelMin=T-g.height/2,r.yLabelMid=T,r.yLabelMax=T+g.height/2,r.labelExtraX=0,r.labelExtraY=0,x=!0}_.fontSize=d.size,f(v.type,_,o),e[a].transform=_,l.setTransormAndDisplay(n,_)}))}function I(t,e,n,i){var o=i*(e[0]-t[0]),a=i*(e[1]-t[1]);return"a"+i*p.r+","+i*p.r+" 0 "+r.largeArc+(n?" 1 ":" 0 ")+o+","+a}}));var C=i.select(this).selectAll("g.titletext").data(v.title.text?[0]:[]);if(C.enter().append("g").classed("titletext",!0),C.exit().remove(),C.each((function(){var e,n=l.ensureSingle(i.select(this),"text","",(function(t){t.attr("data-notex",1)})),r=v.title.text;v._meta&&(r=l.templateString(r,v._meta)),n.text(r).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(s.font,v.title.font).call(h.convertToTspans,t),e="middle center"===v.title.position?function(t){var e=Math.sqrt(t.titleBox.width*t.titleBox.width+t.titleBox.height*t.titleBox.height);return{x:t.cx,y:t.cy,scale:t.trace.hole*t.r*2/e,tx:0,ty:-t.titleBox.height/2+t.trace.title.font.size}}(p):N(p,d),n.attr("transform",c(e.x,e.y)+u(Math.min(1,e.scale))+c(e.tx,e.ty))})),x&&function(t,e){var n,i,r,o,a,s,u,c,h,d,f,_,p;function v(t,e){return t.pxmid[1]-e.pxmid[1]}function g(t,e){return e.pxmid[1]-t.pxmid[1]}function y(t,n){n||(n={});var r,c,h,f,_=n.labelExtraY+(i?n.yLabelMax:n.yLabelMin),p=i?t.yLabelMin:t.yLabelMax,v=i?t.yLabelMax:t.yLabelMin,g=t.cyFinal+a(t.px0[1],t.px1[1]),y=_-p;if(y*u>0&&(t.labelExtraY=y),l.isArrayOrTypedArray(e.pull))for(c=0;c=(m.castOption(e.pull,h.pts)||0)||((t.pxmid[1]-h.pxmid[1])*u>0?(y=h.cyFinal+a(h.px0[1],h.px1[1])-p-t.labelExtraY)*u>0&&(t.labelExtraY+=y):(v+t.labelExtraY-g)*u>0&&(r=3*s*Math.abs(c-d.indexOf(t)),(f=h.cxFinal+o(h.px0[0],h.px1[0])+r-(t.cxFinal+t.pxmid[0])-t.labelExtraX)*s>0&&(t.labelExtraX+=f)))}for(i=0;i<2;i++)for(r=i?v:g,a=i?Math.max:Math.min,u=i?1:-1,n=0;n<2;n++){for(o=n?Math.max:Math.min,s=n?1:-1,(c=t[i][n]).sort(r),h=t[1-i][n],d=h.concat(c),_=[],f=0;fMath.abs(h)?s+="l"+h*t.pxmid[0]/t.pxmid[1]+","+h+"H"+(o+t.labelExtraX+u):s+="l"+t.labelExtraX+","+c+"v"+(h-c)+"h"+u}else s+="V"+(t.yLabelMid+t.labelExtraY)+"h"+u;l.ensureSingle(n,"path","textline").call(a.stroke,e.outsidetextfont.color).attr({"stroke-width":Math.min(2,e.outsidetextfont.size/8),d:s,fill:"none"})}else n.select("path.textline").remove()}))}(g,v),x&&v.automargin){var T=s.bBox(_.node()),A=v.domain,S=d.w*(A.x[1]-A.x[0]),z=d.h*(A.y[1]-A.y[0]),I=(.5*S-p.r)/d.w,O=(.5*z-p.r)/d.h;r.autoMargin(t,"pie."+v.uid+".automargin",{xl:A.x[0]-I,xr:A.x[1]+I,yb:A.y[0]-O,yt:A.y[1]+O,l:Math.max(p.cx-p.r-T.left,0),r:Math.max(T.right-(p.cx+p.r),0),b:Math.max(T.bottom-(p.cy+p.r),0),t:Math.max(p.cy-p.r-T.top,0),pad:5})}}))}));setTimeout((function(){p.selectAll("tspan").each((function(){var t=i.select(this);t.attr("dy")&&t.attr("dy",t.attr("dy"))}))}),0)},formatSliceLabel:$,transformInsideText:E,determineInsideTextFont:b,positionTitleOutside:N,prerenderTitles:w,layoutAreas:L,attachFxHandlers:y,computeTransform:R}},22152:function(t,e,n){"use strict";var i=n(33428),r=n(10528),o=n(82744).resizeText;t.exports=function(t){var e=t._fullLayout._pielayer.selectAll(".trace");o(t,e,"pie"),e.each((function(e){var n=e[0].trace,o=i.select(this);o.style({opacity:n.opacity}),o.selectAll("path.surface").each((function(e){i.select(this).call(r,e,n,t)}))}))}},10528:function(t,e,n){"use strict";var i=n(76308),r=n(69656).castOption,o=n(21552);t.exports=function(t,e,n,a){var s=n.marker.line,l=r(s.color,e.pts)||i.defaultLine,u=r(s.width,e.pts)||0;t.call(o,e,n,a).style("stroke-width",u).call(i.stroke,l)}},35484:function(t,e,n){"use strict";var i=n(52904);t.exports={x:i.x,y:i.y,xy:{valType:"data_array",editType:"calc"},indices:{valType:"data_array",editType:"calc"},xbounds:{valType:"data_array",editType:"calc"},ybounds:{valType:"data_array",editType:"calc"},text:i.text,marker:{color:{valType:"color",arrayOk:!1,editType:"calc"},opacity:{valType:"number",min:0,max:1,dflt:1,arrayOk:!1,editType:"calc"},blend:{valType:"boolean",dflt:null,editType:"calc"},sizemin:{valType:"number",min:.1,max:2,dflt:.5,editType:"calc"},sizemax:{valType:"number",min:.1,dflt:20,editType:"calc"},border:{color:{valType:"color",arrayOk:!1,editType:"calc"},arearatio:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},editType:"calc"},editType:"calc"},transforms:void 0}},11072:function(t,e,n){"use strict";var i=n(67792).gl_pointcloud2d,r=n(3400).isArrayOrTypedArray,o=n(43080),a=n(19280).findExtremes,s=n(44928);function l(t,e){this.scene=t,this.uid=e,this.type="pointcloud",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color="rgb(0, 0, 0)",this.name="",this.hoverinfo="all",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=i(t.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var u=l.prototype;u.handlePick=function(t){var e=this.idToIndex[t.pointId];return{trace:this,dataCoord:t.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*e],this.pickXYData[2*e+1]]:[this.pickXData[e],this.pickYData[e]],textLabel:r(this.textLabels)?this.textLabels[e]:this.textLabels,color:this.color,name:this.name,pointIndex:e,hoverinfo:this.hoverinfo}},u.update=function(t){this.index=t.index,this.textLabels=t.text,this.name=t.name,this.hoverinfo=t.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(t),this.color=s(t,{})},u.updateFast=function(t){var e,n,i,r,s,l,u=this.xData=this.pickXData=t.x,c=this.yData=this.pickYData=t.y,h=this.pickXYData=t.xy,d=t.xbounds&&t.ybounds,f=t.indices,_=this.bounds;if(h){if(i=h,e=h.length>>>1,d)_[0]=t.xbounds[0],_[2]=t.xbounds[1],_[1]=t.ybounds[0],_[3]=t.ybounds[1];else for(l=0;l_[2]&&(_[2]=r),s<_[1]&&(_[1]=s),s>_[3]&&(_[3]=s);if(f)n=f;else for(n=new Int32Array(e),l=0;l_[2]&&(_[2]=r),s<_[1]&&(_[1]=s),s>_[3]&&(_[3]=s);this.idToIndex=n,this.pointcloudOptions.idToIndex=n,this.pointcloudOptions.positions=i;var p=o(t.marker.color),m=o(t.marker.border.color),v=t.opacity*t.marker.opacity;p[3]*=v,this.pointcloudOptions.color=p;var g=t.marker.blend;null===g&&(g=u.length<100||c.length<100),this.pointcloudOptions.blend=g,m[3]*=v,this.pointcloudOptions.borderColor=m;var y=t.marker.sizemin,b=Math.max(t.marker.sizemax,t.marker.sizemin);this.pointcloudOptions.sizeMin=y,this.pointcloudOptions.sizeMax=b,this.pointcloudOptions.areaRatio=t.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var w=this.scene.xaxis,E=this.scene.yaxis,x=b/2||.5;t._extremes[w._id]=a(w,[_[0],_[2]],{ppad:x}),t._extremes[E._id]=a(E,[_[1],_[3]],{ppad:x})},u.dispose=function(){this.pointcloud.dispose()},t.exports=function(t,e){var n=new l(t,e.uid);return n.update(e),n}},41904:function(t,e,n){"use strict";var i=n(3400),r=n(35484);t.exports=function(t,e,n){function o(n,o){return i.coerce(t,e,r,n,o)}o("x"),o("y"),o("xbounds"),o("ybounds"),t.xy&&t.xy instanceof Float32Array&&(e.xy=t.xy),t.indices&&t.indices instanceof Int32Array&&(e.indices=t.indices),o("text"),o("marker.color",n),o("marker.opacity"),o("marker.blend"),o("marker.sizemin"),o("marker.sizemax"),o("marker.border.color",n),o("marker.border.arearatio"),e._length=null}},156:function(t,e,n){"use strict";["*pointcloud* trace is deprecated!","Please consider switching to the *scattergl* trace type."].join(" "),t.exports={attributes:n(35484),supplyDefaults:n(41904),calc:n(41484),plot:n(11072),moduleType:"trace",name:"pointcloud",basePlotModule:n(39952),categories:["gl","gl2d","showLegend"],meta:{}}},41440:function(t,e,n){"use strict";var i=n(25376),r=n(45464),o=n(22548),a=n(55756),s=n(86968).u,l=n(21776).Ks,u=n(49084),c=n(31780).templatedArray,h=n(29736).descriptionOnlyNumbers,d=n(92880).extendFlat,f=n(67824).overrideAll;(t.exports=f({hoverinfo:d({},r.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:a.hoverlabel,domain:s({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h"},valueformat:{valType:"string",dflt:".3s",description:h("value")},valuesuffix:{valType:"string",dflt:""},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap"},textfont:i({}),customdata:void 0,node:{label:{valType:"data_array",dflt:[]},groups:{valType:"info_array",impliedEdits:{x:[],y:[]},dimensions:2,freeLength:!0,dflt:[],items:{valType:"number",editType:"calc"}},x:{valType:"data_array",dflt:[]},y:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:o.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:.5,arrayOk:!0}},pad:{valType:"number",arrayOk:!1,min:0,dflt:20},thickness:{valType:"number",arrayOk:!1,min:1,dflt:20},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:a.hoverlabel,hovertemplate:l({},{keys:["value","label"]}),align:{valType:"enumerated",values:["justify","left","right","center"],dflt:"justify"}},link:{arrowlen:{valType:"number",min:0,dflt:0},label:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},hovercolor:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:o.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:0,arrayOk:!0}},source:{valType:"data_array",dflt:[]},target:{valType:"data_array",dflt:[]},value:{valType:"data_array",dflt:[]},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:a.hoverlabel,hovertemplate:l({},{keys:["value","label"]}),colorscales:c("concentrationscales",{editType:"calc",label:{valType:"string",editType:"calc",dflt:""},cmax:{valType:"number",editType:"calc",dflt:1},cmin:{valType:"number",editType:"calc",dflt:0},colorscale:d(u().colorscale,{dflt:[[0,"white"],[1,"black"]]})})}},"calc","nested")).transforms=void 0},10760:function(t,e,n){"use strict";var i=n(67824).overrideAll,r=n(84888)._M,o=n(59596),a=n(65460),s=n(93972),l=n(86476),u=n(22676).prepSelect,c=n(3400),h=n(24040),d="sankey";function f(t,e){var n=t._fullData[e],i=t._fullLayout,r=i.dragmode,o="pan"===i.dragmode?"move":"crosshair",a=n._bgRect;if(a&&"pan"!==r&&"zoom"!==r){s(a,o);var d={_id:"x",c2p:c.identity,_offset:n._sankey.translateX,_length:n._sankey.width},f={_id:"y",c2p:c.identity,_offset:n._sankey.translateY,_length:n._sankey.height},_={gd:t,element:a.node(),plotinfo:{id:e,xaxis:d,yaxis:f,fillRangeItems:c.noop},subplot:e,xaxes:[d],yaxes:[f],doneFnCompleted:function(n){var i,r=t._fullData[e],o=r.node.groups.slice(),a=[];function s(t){for(var e=r._sankey.graph.nodes,n=0;ny&&(y=o.source[e]),o.target[e]>y&&(y=o.target[e]);var b,w=y+1;t.node._count=w;var E=t.node.groups,x={};for(e=0;e0&&s(k,w)&&s(N,w)&&(!x.hasOwnProperty(k)||!x.hasOwnProperty(N)||x[k]!==x[N])){x.hasOwnProperty(N)&&(N=x[N]),x.hasOwnProperty(k)&&(k=x[k]),N=+N,f[k=+k]=f[N]=!0;var I="";o.label&&o.label[e]&&(I=o.label[e]);var O=null;I&&_.hasOwnProperty(I)&&(O=_[I]),u.push({pointNumber:e,label:I,color:c?o.color[e]:o.color,hovercolor:h?o.hovercolor[e]:o.hovercolor,customdata:d?o.customdata[e]:o.customdata,concentrationscale:O,source:k,target:N,value:+z}),S.source.push(k),S.target.push(N)}}var L=w+E.length,M=a(n.color),$=a(n.customdata),R=[];for(e=0;ew-1,childrenNodes:[],pointNumber:e,label:P,color:M?n.color[e]:n.color,customdata:$?n.customdata[e]:n.customdata})}var U=!1;return function(t,e,n){for(var o=r.init2dArray(t,0),a=0;a1}))}(L,S.source,S.target)&&(U=!0),{circular:U,links:u,nodes:R,groups:E,groupLookup:x}}(e);return o({circular:n.circular,_nodes:n.nodes,_links:n.links,_groups:n.groups,_groupLookup:n.groupLookup})}},11820:function(t){"use strict";t.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}},47140:function(t,e,n){"use strict";var i=n(3400),r=n(41440),o=n(76308),a=n(49760),s=n(86968).Q,l=n(16132),u=n(31780),c=n(51272);function h(t,e){function n(n,o){return i.coerce(t,e,r.link.colorscales,n,o)}n("label"),n("cmin"),n("cmax"),n("colorscale")}t.exports=function(t,e,n,d){function f(n,o){return i.coerce(t,e,r,n,o)}var _=i.extendDeep(d.hoverlabel,t.hoverlabel),p=t.node,m=u.newContainer(e,"node");function v(t,e){return i.coerce(p,m,r.node,t,e)}v("label"),v("groups"),v("x"),v("y"),v("pad"),v("thickness"),v("line.color"),v("line.width"),v("hoverinfo",t.hoverinfo),l(p,m,v,_),v("hovertemplate"),v("align");var g=d.colorway;v("color",m.label.map((function(t,e){return o.addOpacity(function(t){return g[t%g.length]}(e),.8)}))),v("customdata");var y=t.link||{},b=u.newContainer(e,"link");function w(t,e){return i.coerce(y,b,r.link,t,e)}w("label"),w("arrowlen"),w("source"),w("target"),w("value"),w("line.color"),w("line.width"),w("hoverinfo",t.hoverinfo),l(y,b,w,_),w("hovertemplate");var E,x=a(d.paper_bgcolor).getLuminance()<.333,C=w("color",x?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)");function T(t){var e=a(t);if(!e.isValid())return t;var n=e.getAlpha();return n<=.8?e.setAlpha(n+.2):e=x?e.brighten():e.darken(),e.toRgbString()}w("hovercolor",Array.isArray(C)?C.map(T):T(C)),w("customdata"),c(y,b,{name:"colorscales",handleItemDefaults:h}),s(e,d,f),f("orientation"),f("valueformat"),f("valuesuffix"),m.x.length&&m.y.length&&(E="freeform"),f("arrangement",E),i.coerceFont(f,"textfont",i.extendFlat({},d.font)),e._length=null}},45499:function(t,e,n){"use strict";t.exports={attributes:n(41440),supplyDefaults:n(47140),calc:n(48068),plot:n(59596),moduleType:"trace",name:"sankey",basePlotModule:n(10760),selectPoints:n(81128),categories:["noOpacity"],meta:{}}},59596:function(t,e,n){"use strict";var i=n(33428),r=n(3400),o=r.numberFormat,a=n(83248),s=n(93024),l=n(76308),u=n(11820).cn,c=r._;function h(t){return""!==t}function d(t,e){return t.filter((function(t){return t.key===e.traceId}))}function f(t,e){i.select(t).select("path").style("fill-opacity",e),i.select(t).select("rect").style("fill-opacity",e)}function _(t){i.select(t).select("text.name").style("fill","black")}function p(t){return function(e){return-1!==t.node.sourceLinks.indexOf(e.link)||-1!==t.node.targetLinks.indexOf(e.link)}}function m(t){return function(e){return-1!==e.node.sourceLinks.indexOf(t.link)||-1!==e.node.targetLinks.indexOf(t.link)}}function v(t,e,n){e&&n&&d(n,e).selectAll("."+u.sankeyLink).filter(p(e)).call(y.bind(0,e,n,!1))}function g(t,e,n){e&&n&&d(n,e).selectAll("."+u.sankeyLink).filter(p(e)).call(b.bind(0,e,n,!1))}function y(t,e,n,i){i.style("fill",(function(t){if(!t.link.concentrationscale)return t.tinyColorHoverHue})).style("fill-opacity",(function(t){if(!t.link.concentrationscale)return t.tinyColorHoverAlpha})),i.each((function(n){var i=n.link.label;""!==i&&d(e,t).selectAll("."+u.sankeyLink).filter((function(t){return t.link.label===i})).style("fill",(function(t){if(!t.link.concentrationscale)return t.tinyColorHoverHue})).style("fill-opacity",(function(t){if(!t.link.concentrationscale)return t.tinyColorHoverAlpha}))})),n&&d(e,t).selectAll("."+u.sankeyNode).filter(m(t)).call(v)}function b(t,e,n,i){i.style("fill",(function(t){return t.tinyColorHue})).style("fill-opacity",(function(t){return t.tinyColorAlpha})),i.each((function(n){var i=n.link.label;""!==i&&d(e,t).selectAll("."+u.sankeyLink).filter((function(t){return t.link.label===i})).style("fill",(function(t){return t.tinyColorHue})).style("fill-opacity",(function(t){return t.tinyColorAlpha}))})),n&&d(e,t).selectAll(u.sankeyNode).filter(m(t)).call(g)}function w(t,e){var n=t.hoverlabel||{},i=r.nestedProperty(n,e).get();return!Array.isArray(i)&&i}t.exports=function(t,e){for(var n=t._fullLayout,r=n._paper,d=n._size,p=0;p"),color:w(a,"bgcolor")||l.addOpacity(p.color,1),borderColor:w(a,"bordercolor"),fontFamily:w(a,"font.family"),fontSize:w(a,"font.size"),fontColor:w(a,"font.color"),nameLength:w(a,"namelength"),textAlign:w(a,"align"),idealAlign:i.event.x"),color:w(a,"bgcolor")||r.tinyColorHue,borderColor:w(a,"bordercolor"),fontFamily:w(a,"font.family"),fontSize:w(a,"font.size"),fontColor:w(a,"font.color"),nameLength:w(a,"namelength"),textAlign:w(a,"align"),idealAlign:"left",hovertemplate:a.hovertemplate,hovertemplateLabels:g,eventData:[r.node]},{container:n._hoverlayer.node(),outerContainer:n._paper.node(),gd:t});f(E,.85),_(E)}}},unhover:function(e,r,o){!1!==t._fullLayout.hovermode&&(i.select(e).call(g,r,o),"skip"!==r.node.trace.node.hoverinfo&&(r.node.fullData=r.node.trace,t.emit("plotly_unhover",{event:i.event,points:[r.node]})),s.loneUnhover(n._hoverlayer.node()))},select:function(e,n,r){var o=n.node;o.originalEvent=i.event,t._hoverdata=[o],i.select(e).call(g,n,r),s.click(t,{target:!0})}}})}},83248:function(t,e,n){"use strict";var i=n(49812),r=n(67756).Gz,o=n(33428),a=n(26800),s=n(48932),l=n(11820),u=n(49760),c=n(76308),h=n(43616),d=n(3400),f=d.strTranslate,_=d.strRotate,p=n(71688),m=p.keyFun,v=p.repeat,g=p.unwrap,y=n(72736),b=n(24040),w=n(84284),E=w.CAP_SHIFT,x=w.LINE_SPACING;function C(t,e,n){var i,r=g(e),o=r.trace,c=o.domain,h="h"===o.orientation,f=o.node.pad,_=o.node.thickness,p={justify:a.sankeyJustify,left:a.sankeyLeft,right:a.sankeyRight,center:a.sankeyCenter}[o.node.align],m=t.width*(c.x[1]-c.x[0]),v=t.height*(c.y[1]-c.y[0]),y=r._nodes,b=r._links,w=r.circular;(i=w?s.sankeyCircular().circularLinkGap(0):a.sankey()).iterations(l.sankeyIterations).size(h?[m,v]:[v,m]).nodeWidth(_).nodePadding(f).nodeId((function(t){return t.pointNumber})).nodeAlign(p).nodes(y).links(b);var E,x,C,T=i();for(var A in i.nodePadding()a+_&&(o+=1,e=s.x0),a=s.x0,r[o]||(r[o]=[]),r[o].push(s),n=e-s.x0,s.x0+=n,s.x1+=n}return r}(y=T.nodes).forEach((function(t){var e,n,i,r=0,o=t.length;for(t.sort((function(t,e){return t.y0-e.y0})),i=0;i=r||(n=r-e.y0)>1e-6&&(e.y0+=n,e.y1+=n),r=e.y1+f})),i.update(T)}return{circular:w,key:n,trace:o,guid:d.randstr(),horizontal:h,width:m,height:v,nodePad:o.node.pad,nodeLineColor:o.node.line.color,nodeLineWidth:o.node.line.width,linkLineColor:o.link.line.color,linkLineWidth:o.link.line.width,linkArrowLength:o.link.arrowlen,valueFormat:o.valueformat,valueSuffix:o.valuesuffix,textFont:o.textfont,translateX:c.x[0]*t.width+t.margin.l,translateY:t.height-c.y[1]*t.height+t.margin.t,dragParallel:h?v:m,dragPerpendicular:h?m:v,arrangement:o.arrangement,sankey:i,graph:T,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function T(t,e,n){var i=u(e.color),r=u(e.hovercolor),o=e.source.label+"|"+e.target.label+"__"+n;return e.trace=t.trace,e.curveNumber=t.trace.index,{circular:t.circular,key:o,traceId:t.key,pointNumber:e.pointNumber,link:e,tinyColorHue:c.tinyRGB(i),tinyColorAlpha:i.getAlpha(),tinyColorHoverHue:c.tinyRGB(r),tinyColorHoverAlpha:r.getAlpha(),linkPath:A,linkLineColor:t.linkLineColor,linkLineWidth:t.linkLineWidth,linkArrowLength:t.linkArrowLength,valueFormat:t.valueFormat,valueSuffix:t.valueSuffix,sankey:t.sankey,parent:t,interactionState:t.interactionState,flow:e.flow}}function A(){return function(t){var e=t.linkArrowLength;if(t.link.circular)return function(t,e){var n=t.width/2,i=t.circularPathData;return"top"===t.circularLinkType?"M "+(i.targetX-e)+" "+(i.targetY+n)+" L"+(i.rightInnerExtent-e)+" "+(i.targetY+n)+"A"+(i.rightLargeArcRadius+n)+" "+(i.rightSmallArcRadius+n)+" 0 0 1 "+(i.rightFullExtent-n-e)+" "+(i.targetY-i.rightSmallArcRadius)+"L"+(i.rightFullExtent-n-e)+" "+i.verticalRightInnerExtent+"A"+(i.rightLargeArcRadius+n)+" "+(i.rightLargeArcRadius+n)+" 0 0 1 "+(i.rightInnerExtent-e)+" "+(i.verticalFullExtent-n)+"L"+i.leftInnerExtent+" "+(i.verticalFullExtent-n)+"A"+(i.leftLargeArcRadius+n)+" "+(i.leftLargeArcRadius+n)+" 0 0 1 "+(i.leftFullExtent+n)+" "+i.verticalLeftInnerExtent+"L"+(i.leftFullExtent+n)+" "+(i.sourceY-i.leftSmallArcRadius)+"A"+(i.leftLargeArcRadius+n)+" "+(i.leftSmallArcRadius+n)+" 0 0 1 "+i.leftInnerExtent+" "+(i.sourceY+n)+"L"+i.sourceX+" "+(i.sourceY+n)+"L"+i.sourceX+" "+(i.sourceY-n)+"L"+i.leftInnerExtent+" "+(i.sourceY-n)+"A"+(i.leftLargeArcRadius-n)+" "+(i.leftSmallArcRadius-n)+" 0 0 0 "+(i.leftFullExtent-n)+" "+(i.sourceY-i.leftSmallArcRadius)+"L"+(i.leftFullExtent-n)+" "+i.verticalLeftInnerExtent+"A"+(i.leftLargeArcRadius-n)+" "+(i.leftLargeArcRadius-n)+" 0 0 0 "+i.leftInnerExtent+" "+(i.verticalFullExtent+n)+"L"+(i.rightInnerExtent-e)+" "+(i.verticalFullExtent+n)+"A"+(i.rightLargeArcRadius-n)+" "+(i.rightLargeArcRadius-n)+" 0 0 0 "+(i.rightFullExtent+n-e)+" "+i.verticalRightInnerExtent+"L"+(i.rightFullExtent+n-e)+" "+(i.targetY-i.rightSmallArcRadius)+"A"+(i.rightLargeArcRadius-n)+" "+(i.rightSmallArcRadius-n)+" 0 0 0 "+(i.rightInnerExtent-e)+" "+(i.targetY-n)+"L"+(i.targetX-e)+" "+(i.targetY-n)+(e>0?"L"+i.targetX+" "+i.targetY:"")+"Z":"M "+(i.targetX-e)+" "+(i.targetY-n)+" L"+(i.rightInnerExtent-e)+" "+(i.targetY-n)+"A"+(i.rightLargeArcRadius+n)+" "+(i.rightSmallArcRadius+n)+" 0 0 0 "+(i.rightFullExtent-n-e)+" "+(i.targetY+i.rightSmallArcRadius)+"L"+(i.rightFullExtent-n-e)+" "+i.verticalRightInnerExtent+"A"+(i.rightLargeArcRadius+n)+" "+(i.rightLargeArcRadius+n)+" 0 0 0 "+(i.rightInnerExtent-e)+" "+(i.verticalFullExtent+n)+"L"+i.leftInnerExtent+" "+(i.verticalFullExtent+n)+"A"+(i.leftLargeArcRadius+n)+" "+(i.leftLargeArcRadius+n)+" 0 0 0 "+(i.leftFullExtent+n)+" "+i.verticalLeftInnerExtent+"L"+(i.leftFullExtent+n)+" "+(i.sourceY+i.leftSmallArcRadius)+"A"+(i.leftLargeArcRadius+n)+" "+(i.leftSmallArcRadius+n)+" 0 0 0 "+i.leftInnerExtent+" "+(i.sourceY-n)+"L"+i.sourceX+" "+(i.sourceY-n)+"L"+i.sourceX+" "+(i.sourceY+n)+"L"+i.leftInnerExtent+" "+(i.sourceY+n)+"A"+(i.leftLargeArcRadius-n)+" "+(i.leftSmallArcRadius-n)+" 0 0 1 "+(i.leftFullExtent-n)+" "+(i.sourceY+i.leftSmallArcRadius)+"L"+(i.leftFullExtent-n)+" "+i.verticalLeftInnerExtent+"A"+(i.leftLargeArcRadius-n)+" "+(i.leftLargeArcRadius-n)+" 0 0 1 "+i.leftInnerExtent+" "+(i.verticalFullExtent-n)+"L"+(i.rightInnerExtent-e)+" "+(i.verticalFullExtent-n)+"A"+(i.rightLargeArcRadius-n)+" "+(i.rightLargeArcRadius-n)+" 0 0 1 "+(i.rightFullExtent+n-e)+" "+i.verticalRightInnerExtent+"L"+(i.rightFullExtent+n-e)+" "+(i.targetY+i.rightSmallArcRadius)+"A"+(i.rightLargeArcRadius-n)+" "+(i.rightSmallArcRadius-n)+" 0 0 1 "+(i.rightInnerExtent-e)+" "+(i.targetY+n)+"L"+(i.targetX-e)+" "+(i.targetY+n)+(e>0?"L"+i.targetX+" "+i.targetY:"")+"Z"}(t.link,e);var n=Math.abs((t.link.target.x0-t.link.source.x1)/2);e>n&&(e=n);var i=t.link.source.x1,o=t.link.target.x0-e,a=r(i,o),s=a(.5),l=a(.5),u=t.link.y0-t.link.width/2,c=t.link.y0+t.link.width/2,h=t.link.y1-t.link.width/2,d=t.link.y1+t.link.width/2,f="M"+i+","+u,_="C"+s+","+u+" "+l+","+h+" "+o+","+h,p="C"+l+","+d+" "+s+","+c+" "+i+","+c,m=e>0?"L"+(o+e)+","+(h+t.link.width/2):"";return f+_+(m+="L"+o+","+d)+p+"Z"}}function S(t,e){var n=u(e.color),i=l.nodePadAcross,r=t.nodePad/2;e.dx=e.x1-e.x0,e.dy=e.y1-e.y0;var o=e.dx,a=Math.max(.5,e.dy),s="node_"+e.pointNumber;return e.group&&(s=d.randstr()),e.trace=t.trace,e.curveNumber=t.trace.index,{index:e.pointNumber,key:s,partOfGroup:e.partOfGroup||!1,group:e.group,traceId:t.key,trace:t.trace,node:e,nodePad:t.nodePad,nodeLineColor:t.nodeLineColor,nodeLineWidth:t.nodeLineWidth,textFont:t.textFont,size:t.horizontal?t.height:t.width,visibleWidth:Math.ceil(o),visibleHeight:a,zoneX:-i,zoneY:-r,zoneWidth:o+2*i,zoneHeight:a+2*r,labelY:t.horizontal?e.dy/2+1:e.dx/2+1,left:1===e.originalLayer,sizeAcross:t.width,forceLayouts:t.forceLayouts,horizontal:t.horizontal,darkBackground:n.getBrightness()<=128,tinyColorHue:c.tinyRGB(n),tinyColorAlpha:n.getAlpha(),valueFormat:t.valueFormat,valueSuffix:t.valueSuffix,sankey:t.sankey,graph:t.graph,arrangement:t.arrangement,uniqueNodeLabelPathId:[t.guid,t.key,s].join("_"),interactionState:t.interactionState,figure:t}}function z(t){t.attr("transform",(function(t){return f(t.node.x0.toFixed(3),t.node.y0.toFixed(3))}))}function k(t){t.call(z)}function N(t,e){t.call(k),e.attr("d",A())}function I(t){t.attr("width",(function(t){return t.node.x1-t.node.x0})).attr("height",(function(t){return t.visibleHeight}))}function O(t){return t.link.width>1||t.linkLineWidth>0}function L(t){return f(t.translateX,t.translateY)+(t.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function M(t,e,n){t.on(".basic",null).on("mouseover.basic",(function(t){t.interactionState.dragInProgress||t.partOfGroup||(n.hover(this,t,e),t.interactionState.hovered=[this,t])})).on("mousemove.basic",(function(t){t.interactionState.dragInProgress||t.partOfGroup||(n.follow(this,t),t.interactionState.hovered=[this,t])})).on("mouseout.basic",(function(t){t.interactionState.dragInProgress||t.partOfGroup||(n.unhover(this,t,e),t.interactionState.hovered=!1)})).on("click.basic",(function(t){t.interactionState.hovered&&(n.unhover(this,t,e),t.interactionState.hovered=!1),t.interactionState.dragInProgress||t.partOfGroup||n.select(this,t,e)}))}function $(t,e,n,r){var a=o.behavior.drag().origin((function(t){return{x:t.node.x0+t.visibleWidth/2,y:t.node.y0+t.visibleHeight/2}})).on("dragstart",(function(o){if("fixed"!==o.arrangement&&(d.ensureSingle(r._fullLayout._infolayer,"g","dragcover",(function(t){r._fullLayout._dragCover=t})),d.raiseToTop(this),o.interactionState.dragInProgress=o.node,P(o.node),o.interactionState.hovered&&(n.nodeEvents.unhover.apply(0,o.interactionState.hovered),o.interactionState.hovered=!1),"snap"===o.arrangement)){var a=o.traceId+"|"+o.key;o.forceLayouts[a]?o.forceLayouts[a].alpha(1):function(t,e,n,r){!function(t){for(var e=0;e0&&i.forceLayouts[e].alpha(0)}}(0,e,o,n)).stop()}(0,a,o),function(t,e,n,i,r){window.requestAnimationFrame((function o(){var a;for(a=0;a0)window.requestAnimationFrame(o);else{var s=n.node.originalX;n.node.x0=s-n.visibleWidth/2,n.node.x1=s+n.visibleWidth/2,R(n,r)}}))}(t,e,o,a,r)}})).on("drag",(function(n){if("fixed"!==n.arrangement){var i=o.event.x,r=o.event.y;"snap"===n.arrangement?(n.node.x0=i-n.visibleWidth/2,n.node.x1=i+n.visibleWidth/2,n.node.y0=r-n.visibleHeight/2,n.node.y1=r+n.visibleHeight/2):("freeform"===n.arrangement&&(n.node.x0=i-n.visibleWidth/2,n.node.x1=i+n.visibleWidth/2),r=Math.max(0,Math.min(n.size-n.visibleHeight/2,r)),n.node.y0=r-n.visibleHeight/2,n.node.y1=r+n.visibleHeight/2),P(n.node),"snap"!==n.arrangement&&(n.sankey.update(n.graph),N(t.filter(U(n)),e))}})).on("dragend",(function(t){if("fixed"!==t.arrangement){t.interactionState.dragInProgress=!1;for(var e=0;el&&N[v].gap;)v--;for(y=N[v].s,p=N.length-1;p>v;p--)N[p].s=y;for(;lS[h]&&h=0;h--){var d=t[h];if("scatter"===d.type&&d.xaxis===u.xaxis&&d.yaxis===u.yaxis){d.opacity=void 0;break}}}}}},18800:function(t,e,n){"use strict";var i=n(3400),r=n(24040),o=n(52904),a=n(88200),s=n(43028),l=n(43980),u=n(31147),c=n(43912),h=n(74428),d=n(66828),f=n(11731),_=n(124),p=n(70840),m=n(3400).coercePattern;t.exports=function(t,e,n,v){function g(n,r){return i.coerce(t,e,o,n,r)}var y=l(t,e,v,g);if(y||(e.visible=!1),e.visible){u(t,e,v,g),g("xhoverformat"),g("yhoverformat");var b=c(t,e,v,g);"group"===v.scattermode&&void 0===e.orientation&&g("orientation","v");var w=!b&&y=Math.min(e,n)&&_<=Math.max(e,n)?0:1/0}var i=Math.max(3,t.mrc||0),r=1-1/i,o=Math.abs(d.c2p(t.x)-_);return o=Math.min(e,n)&&p<=Math.max(e,n)?0:1/0}var i=Math.max(3,t.mrc||0),r=1-1/i,o=Math.abs(f.c2p(t.y)-p);return on!=(u=r[i][1])>=n&&(a=r[i-1][0],s=r[i][0],u-l&&(o=a+(s-a)*(n-l)/(u-l),h=Math.min(h,o),_=Math.max(_,o)));return{x0:h=Math.max(h,0),x1:_=Math.min(_,d._length),y0:n,y1:n}}(h._polygons);null===O&&(O={x0:m[0],x1:m[0],y0:m[1],y1:m[1]});var L=s.defaultLine;return s.opacity(h.fillcolor)?L=h.fillcolor:s.opacity((h.line||{}).color)&&(L=h.line.color),i.extendFlat(t,{distance:t.maxHoverDistance,x0:O.x0,x1:O.x1,y0:O.y0,y1:O.y1,color:L,hovertemplate:!1}),delete t.index,h.text&&!i.isArrayOrTypedArray(h.text)?t.text=String(h.text):t.text=h.name,[t]}}},65875:function(t,e,n){"use strict";var i=n(43028);t.exports={hasLines:i.hasLines,hasMarkers:i.hasMarkers,hasText:i.hasText,isBubble:i.isBubble,attributes:n(52904),layoutAttributes:n(55308),supplyDefaults:n(18800),crossTraceDefaults:n(35036),supplyLayoutDefaults:n(59748),calc:n(16356).calc,crossTraceCalc:n(96664),arraysToCalcdata:n(20148),plot:n(96504),colorbar:n(5528),formatLabels:n(76688),style:n(49224).style,styleOnSelect:n(49224).styleOnSelect,hoverPoints:n(98723),selectPoints:n(91560),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:n(57952),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},55308:function(t){"use strict";t.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}},59748:function(t,e,n){"use strict";var i=n(3400),r=n(55308);t.exports=function(t,e){var n,o="group"===e.barmode;"group"===e.scattermode&&("scattergap",n=o?e.bargap:.2,i.coerce(t,e,r,"scattergap",n))}},66828:function(t,e,n){"use strict";var i=n(3400).isArrayOrTypedArray,r=n(94288).hasColorscale,o=n(27260);t.exports=function(t,e,n,a,s,l){l||(l={});var u=(t.marker||{}).color;u&&u._inputArray&&(u=u._inputArray),s("line.color",n),r(t,"line")?o(t,e,a,s,{prefix:"line.",cLetter:"c"}):s("line.color",!i(u)&&u||n),s("line.width"),l.noDash||s("line.dash"),l.backoff&&s("line.backoff")}},52340:function(t,e,n){"use strict";var i=n(43616),r=n(39032),o=r.BADNUM,a=r.LOG_CLIP,s=a+.5,l=a-.5,u=n(3400),c=u.segmentsIntersect,h=u.constrain,d=n(88200);t.exports=function(t,e){var n,r,a,f,_,p,m,v,g,y,b,w,E,x,C,T,A,S,z=e.trace||{},k=e.xaxis,N=e.yaxis,I="log"===k.type,O="log"===N.type,L=k._length,M=N._length,$=e.backoff,R=z.marker,P=e.connectGaps,U=e.baseTolerance,j=e.shape,q="linear"===j,D=z.fill&&"none"!==z.fill,B=[],F=d.minTolerance,W=t.length,G=new Array(W),H=0;function V(n){var i=t[n];if(!i)return!1;var r=e.linearized?k.l2p(i.x):k.c2p(i.x),a=e.linearized?N.l2p(i.y):N.c2p(i.y);if(r===o){if(I&&(r=k.c2p(i.x,!0)),r===o)return!1;O&&a===o&&(r*=Math.abs(k._m*M*(k._m>0?s:l)/(N._m*L*(N._m>0?s:l)))),r*=1e3}if(a===o){if(O&&(a=N.c2p(i.y,!0)),a===o)return!1;a*=1e3}return[r,a]}function X(t,e,n,i){var r=n-t,o=i-e,a=.5-t,s=.5-e,l=r*r+o*o,u=r*a+o*s;if(u>0&&uat||t[1]lt)return[h(t[0],ot,at),h(t[1],st,lt)]}function ht(t,e){return t[0]===e[0]&&(t[0]===ot||t[0]===at)||t[1]===e[1]&&(t[1]===st||t[1]===lt)||void 0}function dt(t,e,n){return function(i,r){var o=ct(i),a=ct(r),s=[];if(o&&a&&ht(o,a))return s;o&&s.push(o),a&&s.push(a);var l=2*u.constrain((i[t]+r[t])/2,e,n)-((o||i)[t]+(a||r)[t]);return l&&((o&&a?l>0==o[t]>a[t]?o:a:o||a)[t]+=l),s}}function ft(t){var e=t[0],n=t[1],i=e===G[H-1][0],r=n===G[H-1][1];if(!i||!r)if(H>1){var o=e===G[H-2][0],a=n===G[H-2][1];i&&(e===ot||e===at)&&o?a?H--:G[H-1]=t:r&&(n===st||n===lt)&&a?o?H--:G[H-1]=t:G[H++]=t}else G[H++]=t}function _t(t){G[H-1][0]!==t[0]&&G[H-1][1]!==t[1]&&ft([Q,tt]),ft(t),et=null,Q=tt=0}"linear"===j||"spline"===j?it=function(t,e){for(var n=[],i=0,r=0;r<4;r++){var o=ut[r],a=c(t[0],t[1],e[0],e[1],o[0],o[1],o[2],o[3]);a&&(!i||Math.abs(a.x-n[0][0])>1||Math.abs(a.y-n[0][1])>1)&&(a=[a.x,a.y],i&&Z(a,t)at?at:0,K=e[1]lt?lt:0,Y||K){if(H)if(et){var i=it(et,e);i.length>1&&(_t(i[0]),G[H++]=i[1])}else nt=it(G[H-1],e)[0],G[H++]=nt;else G[H++]=[Y||e[0],K||e[1]];var r=G[H-1];Y&&K&&(r[0]!==Y||r[1]!==K)?(et&&(Q!==Y&&tt!==K?ft(Q&&tt?(o=et,s=(a=e)[0]-o[0],l=(a[1]-o[1])/s,(o[1]*a[0]-a[1]*o[0])/s>0?[l>0?ot:at,lt]:[l>0?at:ot,st]):[Q||Y,tt||K]):Q&&tt&&ft([Q,tt])),ft([Y,K])):Q-Y&&tt-K&&ft([Y||Q,K||tt]),et=e,Q=Y,tt=K}else et&&_t(it(et,e)[0]),G[H++]=e;var o,a,s,l}for(n=0;nJ(p,vt))break;a=p,(E=g[0]*v[0]+g[1]*v[1])>b?(b=E,f=p,m=!1):E=t.length||!p)break;mt(p),r=p}}else mt(f)}et&&ft([Q||et[0],tt||et[1]]),B.push(G.slice(0,H))}var gt=j.slice(j.length-1);if($&&"h"!==gt&&"v"!==gt){for(var yt=!1,bt=-1,wt=[],Et=0;Et=0?l=f:(l=f=d,d++),l0?Math.max(n,o):0}}},5528:function(t){"use strict";t.exports={container:"marker",min:"cmin",max:"cmax"}},74428:function(t,e,n){"use strict";var i=n(76308),r=n(94288).hasColorscale,o=n(27260),a=n(43028);t.exports=function(t,e,n,s,l,u){var c=a.isBubble(t),h=(t.line||{}).color;u=u||{},h&&(n=h),l("marker.symbol"),l("marker.opacity",c?.7:1),l("marker.size"),u.noAngle||(l("marker.angle"),u.noAngleRef||l("marker.angleref"),u.noStandOff||l("marker.standoff")),l("marker.color",n),r(t,"marker")&&o(t,e,s,l,{prefix:"marker.",cLetter:"c"}),u.noSelect||(l("selected.marker.color"),l("unselected.marker.color"),l("selected.marker.size"),l("unselected.marker.size")),u.noLine||(l("marker.line.color",h&&!Array.isArray(h)&&e.marker.color!==h?h:c?i.background:i.defaultLine),r(t,"marker.line")&&o(t,e,s,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width",c?1:0)),c&&(l("marker.sizeref"),l("marker.sizemin"),l("marker.sizemode")),u.gradient&&"none"!==l("marker.gradient.type")&&l("marker.gradient.color")}},31147:function(t,e,n){"use strict";var i=n(3400).dateTick0,r=n(39032).ONEWEEK;function o(t,e){return i(e,t%r==0?1:0)}t.exports=function(t,e,n,i,r){if(r||(r={x:!0,y:!0}),r.x){var a=i("xperiod");a&&(i("xperiod0",o(a,e.xcalendar)),i("xperiodalignment"))}if(r.y){var s=i("yperiod");s&&(i("yperiod0",o(s,e.ycalendar)),i("yperiodalignment"))}}},96504:function(t,e,n){"use strict";var i=n(33428),r=n(24040),o=n(3400),a=o.ensureSingle,s=o.identity,l=n(43616),u=n(43028),c=n(52340),h=n(14328),d=n(92065).tester;function f(t,e,n,h,f,_,p){var m,v=t._context.staticPlot;!function(t,e,n,r,a){var s=n.xaxis,l=n.yaxis,c=i.extent(o.simpleMap(s.range,s.r2c)),h=i.extent(o.simpleMap(l.range,l.r2c)),d=r[0].trace;if(u.hasMarkers(d)){var f=d.marker.maxdisplayed;if(0!==f){var _=r.filter((function(t){return t.x>=c[0]&&t.x<=c[1]&&t.y>=h[0]&&t.y<=h[1]})),p=Math.ceil(_.length/f),m=0;a.forEach((function(t,n){var i=t[0].trace;u.hasMarkers(i)&&i.marker.maxdisplayed>0&&n0;function y(t){return g?t.transition():t}var b=n.xaxis,w=n.yaxis,E=h[0].trace,x=E.line,C=i.select(_),T=a(C,"g","errorbars"),A=a(C,"g","lines"),S=a(C,"g","points"),z=a(C,"g","text");if(r.getComponentMethod("errorbars","plot")(t,T,n,p),!0===E.visible){var k,N;y(C).style("opacity",E.opacity);var I,O,L=E.fill.charAt(E.fill.length-1);"x"!==L&&"y"!==L&&(L=""),"y"===L?(I=1,O=w.c2p(0,!0)):"x"===L&&(I=0,O=b.c2p(0,!0)),h[0][n.isRangePlot?"nodeRangePlot3":"node3"]=C;var M,$,R="",P=[],U=E._prevtrace,j=null,q=null;U&&(R=U._prevRevpath||"",N=U._nextFill,P=U._ownPolygons,j=U._fillsegments,q=U._fillElement);var D,B,F,W,G,H,V="",X="",J=[];E._polygons=[];var Z=[],Y=[],K=o.noop;if(k=E._ownFill,u.hasLines(E)||"none"!==E.fill){N&&N.datum(h),-1!==["hv","vh","hvh","vhv"].indexOf(x.shape)?(D=l.steps(x.shape),B=l.steps(x.shape.split("").reverse().join(""))):D=B="spline"===x.shape?function(t){var e=t[t.length-1];return t.length>1&&t[0][0]===e[0]&&t[0][1]===e[1]?l.smoothclosed(t.slice(1),x.smoothing):l.smoothopen(t,x.smoothing)}:function(t){return"M"+t.join("L")},F=function(t){return B(t.reverse())},Y=c(h,{xaxis:b,yaxis:w,trace:E,connectGaps:E.connectgaps,baseTolerance:Math.max(x.width||1,3)/4,shape:x.shape,backoff:x.backoff,simplify:x.simplify,fill:E.fill}),Z=new Array(Y.length);var Q=0;for(m=0;m0,m=h(t,e,n);(c=r.selectAll("g.trace").data(m,(function(t){return t[0].trace.uid}))).enter().append("g").attr("class",(function(t){return"trace scatter trace"+t[0].trace.uid})).style("stroke-miterlimit",2),c.order(),function(t,e,n){e.each((function(e){var r=a(i.select(this),"g","fills");l.setClipUrl(r,n.layerClipId,t);var o=e[0].trace,u=[];o._ownfill&&u.push("_ownFill"),o._nexttrace&&u.push("_nextFill");var c=r.selectAll("g").data(u,s);c.enter().append("g"),c.exit().each((function(t){o[t]=null})).remove(),c.order().each((function(t){o[t]=a(i.select(this),"path","js-fill")}))}))}(t,c,e),p?(u&&(d=u()),i.transition().duration(o.duration).ease(o.easing).each("end",(function(){d&&d()})).each("interrupt",(function(){d&&d()})).each((function(){r.selectAll("g.trace").each((function(n,i){f(t,i,e,n,m,this,o)}))}))):c.each((function(n,i){f(t,i,e,n,m,this,o)})),_&&c.exit().remove(),r.selectAll("path:not([d])").remove()}},91560:function(t,e,n){"use strict";var i=n(43028);t.exports=function(t,e){var n,r,o,a,s=t.cd,l=t.xaxis,u=t.yaxis,c=[],h=s[0].trace;if(!i.hasMarkers(h)&&!i.hasText(h))return[];if(!1===e)for(n=0;n0){var d=r.c2l(c);r._lowerLogErrorBound||(r._lowerLogErrorBound=d),r._lowerErrorBound=Math.min(r._lowerLogErrorBound,d)}}else a[s]=[-l[0]*n,l[1]*n]}return a}t.exports=function(t,e,n){var i=[r(t.x,t.error_x,e[0],n.xaxis),r(t.y,t.error_y,e[1],n.yaxis),r(t.z,t.error_z,e[2],n.zaxis)],o=function(t){for(var e=0;e-1?-1:t.indexOf("right")>-1?1:0}function b(t){return null==t?0:t.indexOf("top")>-1?-1:t.indexOf("bottom")>-1?1:0}function w(t,e){return e(4*t)}function E(t){return f[t]}function x(t,e,n,i,r){var o=null;if(l.isArrayOrTypedArray(t)){o=[];for(var a=0;a=0){var z=function(t,e,n){var i,r=(n+1)%3,o=(n+2)%3,a=[],l=[];for(i=0;i=0&&h("surfacecolor",f||_);for(var p=["x","y","z"],m=0;m<3;++m){var v="projection."+p[m];h(v+".show")&&(h(v+".opacity"),h(v+".scale"))}var g=i.getComponentMethod("errorbars","supplyDefaults");g(t,e,f||_||n,{axis:"z"}),g(t,e,f||_||n,{axis:"y",inherit:"z"}),g(t,e,f||_||n,{axis:"x",inherit:"z"})}else e.visible=!1}},3296:function(t,e,n){"use strict";t.exports={plot:n(41064),attributes:n(91592),markerSymbols:n(87792),supplyDefaults:n(83484),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:n(41484),moduleType:"trace",name:"scatter3d",basePlotModule:n(12536),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},90372:function(t,e,n){"use strict";var i=n(52904),r=n(45464),o=n(21776).Ks,a=n(21776).Gw,s=n(49084),l=n(92880).extendFlat,u=i.marker,c=i.line,h=u.line;t.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:l({},i.mode,{dflt:"markers"}),text:l({},i.text,{}),texttemplate:a({editType:"plot"},{keys:["a","b","text"]}),hovertext:l({},i.hovertext,{}),line:{color:c.color,width:c.width,dash:c.dash,backoff:c.backoff,shape:l({},c.shape,{values:["linear","spline"]}),smoothing:c.smoothing,editType:"calc"},connectgaps:i.connectgaps,fill:l({},i.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:i.fillcolor,marker:l({symbol:u.symbol,opacity:u.opacity,maxdisplayed:u.maxdisplayed,angle:u.angle,angleref:u.angleref,standoff:u.standoff,size:u.size,sizeref:u.sizeref,sizemin:u.sizemin,sizemode:u.sizemode,line:l({width:h.width,editType:"calc"},s("marker.line")),gradient:u.gradient,editType:"calc"},s("marker")),textfont:i.textfont,textposition:i.textposition,selected:i.selected,unselected:i.unselected,hoverinfo:l({},r.hoverinfo,{flags:["a","b","text","name"]}),hoveron:i.hoveron,hovertemplate:o()}},48228:function(t,e,n){"use strict";var i=n(38248),r=n(90136),o=n(20148),a=n(4500),s=n(16356).calcMarkerSize,l=n(50948);t.exports=function(t,e){var n=e._carpetTrace=l(t,e);if(n&&n.visible&&"legendonly"!==n.visible){var u;e.xaxis=n.xaxis,e.yaxis=n.yaxis;var c,h,d=e._length,f=new Array(d),_=!1;for(u=0;u")}return a}function g(t,e){var n;n=t.labelprefix&&t.labelprefix.length>0?t.labelprefix.replace(/ = $/,""):t._hovertitle,m.push(n+": "+e.toFixed(3)+t.labelsuffix)}}},4184:function(t,e,n){"use strict";t.exports={attributes:n(90372),supplyDefaults:n(6176),colorbar:n(5528),formatLabels:n(52364),calc:n(48228),plot:n(20036),style:n(49224).style,styleOnSelect:n(49224).styleOnSelect,hoverPoints:n(58960),selectPoints:n(91560),eventData:n(89307),moduleType:"trace",name:"scattercarpet",basePlotModule:n(57952),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},20036:function(t,e,n){"use strict";var i=n(96504),r=n(54460),o=n(43616);t.exports=function(t,e,n,a){var s,l,u,c=n[0][0].carpet,h=r.getFromId(t,c.xaxis||"x"),d=r.getFromId(t,c.yaxis||"y"),f={xaxis:h,yaxis:d,plot:e.plot};for(s=0;s")}function f(t){return t+"°"}}(u,p,t,l[0].t.labels),t.hovertemplate=u.hovertemplate,[t]}}},36952:function(t,e,n){"use strict";t.exports={attributes:n(6096),supplyDefaults:n(86188),colorbar:n(5528),formatLabels:n(56696),calc:n(25212),calcGeoJSON:n(48691).calcGeoJSON,plot:n(48691).plot,style:n(25064),styleOnSelect:n(49224).styleOnSelect,hoverPoints:n(64292),eventData:n(58544),selectPoints:n(8796),moduleType:"trace",name:"scattergeo",basePlotModule:n(10816),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},48691:function(t,e,n){"use strict";var i=n(33428),r=n(3400),o=n(59972).getTopojsonFeatures,a=n(44808),s=n(27144),l=n(19280).findExtremes,u=n(39032).BADNUM,c=n(16356).calcMarkerSize,h=n(43028),d=n(25064);t.exports={calcGeoJSON:function(t,e){var n,i,a=t[0].trace,h=e[a.geo],d=h._subplot,f=a._length;if(r.isArrayOrTypedArray(a.locations)){var _=a.locationmode,p="geojson-id"===_?s.extractTraceFeature(t):o(a,d.topojson);for(n=0;n=m,E=2*b,x={},C=l.makeCalcdata(e,"x"),T=g.makeCalcdata(e,"y"),A=s(e,l,"x",C),S=s(e,g,"y",T),z=A.vals,k=S.vals;e._x=z,e._y=k,e.xperiodalignment&&(e._origX=C,e._xStarts=A.starts,e._xEnds=A.ends),e.yperiodalignment&&(e._origY=T,e._yStarts=S.starts,e._yEnds=S.ends);var N=new Array(E),I=new Array(b);for(n=0;n1&&r.extendFlat(s.line,f.linePositions(t,n,i)),s.errorX||s.errorY){var l=f.errorBarPositions(t,n,i,o,a);s.errorX&&r.extendFlat(s.errorX,l.x),s.errorY&&r.extendFlat(s.errorY,l.y)}return s.text&&(r.extendFlat(s.text,{positions:i},f.textPosition(t,n,s.text,s.marker)),r.extendFlat(s.textSel,{positions:i},f.textPosition(t,n,s.text,s.markerSel)),r.extendFlat(s.textUnsel,{positions:i},f.textPosition(t,n,s.text,s.markerUnsel))),s}(t,0,e,N,z,k),M=_(t,y);return h(a,e),w?L.marker&&(O=L.marker.sizeAvg||Math.max(L.marker.size,3)):O=u(e,b),c(t,e,l,g,z,k,O),L.errorX&&v(e,l,L.errorX),L.errorY&&v(e,g,L.errorY),L.fill&&!M.fill2d&&(M.fill2d=!0),L.marker&&!M.scatter2d&&(M.scatter2d=!0),L.line&&!M.line2d&&(M.line2d=!0),!L.errorX&&!L.errorY||M.error2d||(M.error2d=!0),L.text&&!M.glText&&(M.glText=!0),L.marker&&(L.marker.snap=b),M.lineOptions.push(L.line),M.errorXOptions.push(L.errorX),M.errorYOptions.push(L.errorY),M.fillOptions.push(L.fill),M.markerOptions.push(L.marker),M.markerSelectedOptions.push(L.markerSel),M.markerUnselectedOptions.push(L.markerUnsel),M.textOptions.push(L.text),M.textSelectedOptions.push(L.textSel),M.textUnselectedOptions.push(L.textUnsel),M.selectBatch.push([]),M.unselectBatch.push([]),x._scene=M,x.index=M.count,x.x=z,x.y=k,x.positions=N,M.count++,[{x:!1,y:!1,t:x,trace:e}]}},67072:function(t){"use strict";t.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:20,SYMBOL_STROKE:1,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},84236:function(t,e,n){"use strict";var i=n(38248),r=n(20472),o=n(72160),a=n(24040),s=n(3400),l=s.isArrayOrTypedArray,u=n(43616),c=n(79811),h=n(33040).formatColor,d=n(43028),f=n(7152),_=n(80088),p=n(67072),m=n(13448).DESELECTDIM,v={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},g=n(10624).appendArrayPointValue;function y(t,e){var n,r=t._fullLayout,o=e._length,a=e.textfont,u=e.textposition,c=l(u)?u:[u],h=a.color,d=a.size,f=a.family,_={},p=t._context.plotGlPixelRatio,m=e.texttemplate;if(m){_.text=[];var v=r._d3locale,y=Array.isArray(m),b=y?Math.min(m.length,o):o,w=y?function(t){return m[t]}:function(){return m};for(n=0;np.TOO_MANY_POINTS||d.hasMarkers(e)?"rect":"round";if(u&&e.connectgaps){var h=i[0],f=i[1];for(r=0;r1?u[r]:u[0]:u,p=l(c)?c.length>1?c[r]:c[0]:c,m=v[_],g=v[p],y=h?h/.8+1:0,b=-g*y-.5*g;a.offset[r]=[m*y/f,b/f]}}return a}}},80220:function(t,e,n){"use strict";var i=n(3400),r=n(24040),o=n(80088),a=n(2876),s=n(88200),l=n(43028),u=n(43980),c=n(31147),h=n(74428),d=n(66828),f=n(70840),_=n(124);t.exports=function(t,e,n,p){function m(n,r){return i.coerce(t,e,a,n,r)}var v=!!t.marker&&o.isOpenSymbol(t.marker.symbol),g=l.isBubble(t),y=u(t,e,p,m);if(y){c(t,e,p,m),m("xhoverformat"),m("yhoverformat");var b=y100},e.isDotSymbol=function(t){return"string"==typeof t?i.DOT_RE.test(t):t>200}},41272:function(t,e,n){"use strict";var i=n(24040),r=n(3400),o=n(44928);function a(t,e,n,a){var s=t.xa,l=t.ya,u=t.distance,c=t.dxy,h=t.index,d={pointNumber:h,x:e[h],y:n[h]};d.tx=r.isArrayOrTypedArray(a.text)?a.text[h]:a.text,d.htx=Array.isArray(a.hovertext)?a.hovertext[h]:a.hovertext,d.data=Array.isArray(a.customdata)?a.customdata[h]:a.customdata,d.tp=Array.isArray(a.textposition)?a.textposition[h]:a.textposition;var f=a.textfont;f&&(d.ts=r.isArrayOrTypedArray(f.size)?f.size[h]:f.size,d.tc=Array.isArray(f.color)?f.color[h]:f.color,d.tf=Array.isArray(f.family)?f.family[h]:f.family);var _=a.marker;_&&(d.ms=r.isArrayOrTypedArray(_.size)?_.size[h]:_.size,d.mo=r.isArrayOrTypedArray(_.opacity)?_.opacity[h]:_.opacity,d.mx=r.isArrayOrTypedArray(_.symbol)?_.symbol[h]:_.symbol,d.ma=r.isArrayOrTypedArray(_.angle)?_.angle[h]:_.angle,d.mc=r.isArrayOrTypedArray(_.color)?_.color[h]:_.color);var p=_&&_.line;p&&(d.mlc=Array.isArray(p.color)?p.color[h]:p.color,d.mlw=r.isArrayOrTypedArray(p.width)?p.width[h]:p.width);var m=_&&_.gradient;m&&"none"!==m.type&&(d.mgt=Array.isArray(m.type)?m.type[h]:m.type,d.mgc=Array.isArray(m.color)?m.color[h]:m.color);var v=s.c2p(d.x,!0),g=l.c2p(d.y,!0),y=d.mrc||1,b=a.hoverlabel;b&&(d.hbg=Array.isArray(b.bgcolor)?b.bgcolor[h]:b.bgcolor,d.hbc=Array.isArray(b.bordercolor)?b.bordercolor[h]:b.bordercolor,d.hts=r.isArrayOrTypedArray(b.font.size)?b.font.size[h]:b.font.size,d.htc=Array.isArray(b.font.color)?b.font.color[h]:b.font.color,d.htf=Array.isArray(b.font.family)?b.font.family[h]:b.font.family,d.hnl=r.isArrayOrTypedArray(b.namelength)?b.namelength[h]:b.namelength);var w=a.hoverinfo;w&&(d.hi=Array.isArray(w)?w[h]:w);var E=a.hovertemplate;E&&(d.ht=Array.isArray(E)?E[h]:E);var x={};x[t.index]=d;var C=a._origX,T=a._origY,A=r.extendFlat({},t,{color:o(a,d),x0:v-y,x1:v+y,xLabelVal:C?C[h]:d.x,y0:g-y,y1:g+y,yLabelVal:T?T[h]:d.y,cd:x,distance:u,spikeDistance:c,hovertemplate:d.ht});return d.htx?A.text=d.htx:d.tx?A.text=d.tx:a.text&&(A.text=a.text),r.fillText(d,a,A),i.getComponentMethod("errorbars","hoverInfo")(d,a,A),A}t.exports={hoverPoints:function(t,e,n,i){var r,o,s,l,u,c,h,d,f,_,p=t.cd,m=p[0].t,v=p[0].trace,g=t.xa,y=t.ya,b=m.x,w=m.y,E=g.c2p(e),x=y.c2p(n),C=t.distance;if(m.tree){var T=g.p2c(E-C),A=g.p2c(E+C),S=y.p2c(x-C),z=y.p2c(x+C);r="x"===i?m.tree.range(Math.min(T,A),Math.min(y._rl[0],y._rl[1]),Math.max(T,A),Math.max(y._rl[0],y._rl[1])):m.tree.range(Math.min(T,A),Math.min(S,z),Math.max(T,A),Math.max(S,z))}else r=m.ids;var k=C;if("x"===i){var N=!!v.xperiodalignment,I=!!v.yperiodalignment;for(c=0;c=Math.min(O,L)&&E<=Math.max(O,L)?0:1/0}if(h=Math.min(M,$)&&x<=Math.max(M,$)?0:1/0}_=Math.sqrt(h*h+d*d),s=r[c]}}}else for(c=r.length-1;c>-1;c--)l=b[o=r[c]],u=w[o],h=g.c2p(l)-E,d=y.c2p(u)-x,(f=Math.sqrt(h*h+d*d))g.glText.length){var x=w-g.glText.length;for(p=0;pn&&(isNaN(e[i])||isNaN(e[i+1]));)i-=2;t.positions=e.slice(n,i+2)}return t})),g.line2d.update(g.lineOptions)),g.error2d){var T=(g.errorXOptions||[]).concat(g.errorYOptions||[]);g.error2d.update(T)}g.scatter2d&&g.scatter2d.update(g.markerOptions),g.fillOrder=s.repeat(null,w),g.fill2d&&(g.fillOptions=g.fillOptions.map((function(t,e){var i=n[e];if(t&&i&&i[0]&&i[0].trace){var r,o,a=i[0],s=a.trace,l=a.t,u=g.lineOptions[e],c=[];s._ownfill&&c.push(e),s._nexttrace&&c.push(e+1),c.length&&(g.fillOrder[e]=c);var h,d,f=[],_=u&&u.positions||l.positions;if("tozeroy"===s.fill){for(h=0;h<_.length&&isNaN(_[h+1]);)h+=2;for(d=_.length-2;d>h&&isNaN(_[d+1]);)d-=2;0!==_[h+1]&&(f=[_[h],0]),f=f.concat(_.slice(h,d+2)),0!==_[d+1]&&(f=f.concat([_[d],0]))}else if("tozerox"===s.fill){for(h=0;h<_.length&&isNaN(_[h]);)h+=2;for(d=_.length-2;d>h&&isNaN(_[d]);)d-=2;0!==_[h]&&(f=[0,_[h+1]]),f=f.concat(_.slice(h,d+2)),0!==_[d]&&(f=f.concat([0,_[d+1]]))}else if("toself"===s.fill||"tonext"===s.fill){for(f=[],r=0,t.splitNull=!0,o=0;o<_.length;o+=2)(isNaN(_[o])||isNaN(_[o+1]))&&((f=f.concat(_.slice(r,o))).push(_[r],_[r+1]),f.push(null,null),r=o+2);f=f.concat(_.slice(r)),r&&f.push(_[r],_[r+1])}else{var p=s._nexttrace;if(p){var m=g.lineOptions[e+1];if(m){var v=m.positions;if("tonexty"===s.fill){for(f=_.slice(),e=Math.floor(v.length/2);e--;){var y=v[2*e],b=v[2*e+1];isNaN(y)||isNaN(b)||f.push(y,b)}t.fill=p.fillcolor}}}}if(s._prevtrace&&"tonext"===s._prevtrace.fill){var w=g.lineOptions[e-1].positions,E=f.length/2,x=[r=E];for(o=0;o-1;for(p=0;p")}function c(t){return t+"°"}}t.exports={hoverPoints:function(t,e,n){var a=t.cd,c=a[0].trace,h=t.xa,d=t.ya,f=t.subplot,_=[],p=l+c.uid+"-circle",m=c.cluster&&c.cluster.enabled;if(m){var v=f.map.queryRenderedFeatures(null,{layers:[p]});_=v.map((function(t){return t.id}))}var g=360*(e>=0?Math.floor((e+180)/360):Math.ceil((e-180)/360)),y=e-g;if(i.getClosest(a,(function(t){var e=t.lonlat;if(e[0]===s)return 1/0;if(m&&-1===_.indexOf(t.i+1))return 1/0;var i=r.modHalf(e[0],360),o=e[1],a=f.project([i,o]),l=a.x-h.c2p([y,o]),u=a.y-d.c2p([i,n]),c=Math.max(3,t.mrc||0);return Math.max(Math.sqrt(l*l+u*u)-c,1-3/c)}),t),!1!==t.index){var b=a[t.index],w=b.lonlat,E=[r.modHalf(w[0],360)+g,w[1]],x=h.c2p(E),C=d.c2p(E),T=b.mrc||1;t.x0=x-T,t.x1=x+T,t.y0=C-T,t.y1=C+T;var A={};A[c.subplot]={_subplot:f};var S=c._module.formatLabels(b,c,A);return t.lonLabel=S.lonLabel,t.latLabel=S.latLabel,t.color=o(c,b),t.extraText=u(c,b,a[0].t.labels),t.hovertemplate=c.hovertemplate,[t]}},getExtraText:u}},11572:function(t,e,n){"use strict";t.exports={attributes:n(31512),supplyDefaults:n(15752),colorbar:n(5528),formatLabels:n(11960),calc:n(25212),plot:n(9660),hoverPoints:n(63312).hoverPoints,eventData:n(37920),selectPoints:n(404),styleOnSelect:function(t,e){e&&e[0].trace._glTrace.update(e)},moduleType:"trace",name:"scattermapbox",basePlotModule:n(33688),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},9660:function(t,e,n){"use strict";var i=n(3400),r=n(59392),o=n(47552).traceLayerPrefix,a={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function s(t,e,n,i){this.type="scattermapbox",this.subplot=t,this.uid=e,this.clusterEnabled=n,this.isHidden=i,this.sourceIds={fill:"source-"+e+"-fill",line:"source-"+e+"-line",circle:"source-"+e+"-circle",symbol:"source-"+e+"-symbol",cluster:"source-"+e+"-circle",clusterCount:"source-"+e+"-circle"},this.layerIds={fill:o+e+"-fill",line:o+e+"-line",circle:o+e+"-circle",symbol:o+e+"-symbol",cluster:o+e+"-cluster",clusterCount:o+e+"-cluster-count"},this.below=null}var l=s.prototype;l.addSource=function(t,e,n){var r={type:"geojson",data:e.geojson};n&&n.enabled&&i.extendFlat(r,{cluster:!0,clusterMaxZoom:n.maxzoom});var o=this.subplot.map.getSource(this.sourceIds[t]);o?o.setData(e.geojson):this.subplot.map.addSource(this.sourceIds[t],r)},l.setSourceData=function(t,e){this.subplot.map.getSource(this.sourceIds[t]).setData(e.geojson)},l.addLayer=function(t,e,n){var i={type:e.type,id:this.layerIds[t],source:this.sourceIds[t],layout:e.layout,paint:e.paint};e.filter&&(i.filter=e.filter);for(var r,o=this.layerIds[t],a=this.subplot.getMapLayers(),s=0;s=0;n--){var r=e[n];i.removeLayer(c.layerIds[r])}t||i.removeSource(c.sourceIds.circle)}(t):function(t){for(var e=a.nonCluster,n=e.length-1;n>=0;n--){var r=e[n];i.removeLayer(c.layerIds[r]),t||i.removeSource(c.sourceIds[r])}}(t)}function d(t){l?function(t){t||c.addSource("circle",o.circle,e.cluster);for(var n=a.cluster,i=0;i=0;n--){var i=e[n];t.removeLayer(this.layerIds[i]),t.removeSource(this.sourceIds[i])}},t.exports=function(t,e){var n,i,o,l=e[0].trace,u=l.cluster&&l.cluster.enabled,c=!0!==l.visible,h=new s(t,l.uid,u,c),d=r(t.gd,e),f=h.below=t.belowLookup["trace-"+l.uid];if(u)for(h.addSource("circle",d.circle,l.cluster),n=0;n")}}t.exports={hoverPoints:function(t,e,n,o){var a=i(t,e,n,o);if(a&&!1!==a[0].index){var s=a[0];if(void 0===s.index)return a;var l=t.subplot,u=s.cd[s.index],c=s.trace;if(l.isPtInside(u))return s.xLabelVal=void 0,s.yLabelVal=void 0,r(u,c,l,s),s.hovertemplate=c.hovertemplate,a}},makeHoverPointText:r}},76924:function(t,e,n){"use strict";t.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:n(40872),categories:["polar","symbols","showLegend","scatter-like"],attributes:n(8319),supplyDefaults:n(85968).supplyDefaults,colorbar:n(5528),formatLabels:n(22852),calc:n(58320),plot:n(43456),style:n(49224).style,styleOnSelect:n(49224).styleOnSelect,hoverPoints:n(8504).hoverPoints,selectPoints:n(91560),meta:{}}},43456:function(t,e,n){"use strict";var i=n(96504),r=n(39032).BADNUM;t.exports=function(t,e,n){for(var o=e.layers.frontplot.select("g.scatterlayer"),a=e.xaxis,s=e.yaxis,l={xaxis:a,yaxis:s,plot:e.framework,layerClipId:e._hasClipOnAxisFalse?e.clipIds.forTraces:null},u=e.radialAxis,c=e.angularAxis,h=0;h=u&&(g.marker.cluster=_.tree),g.marker&&(g.markerSel.positions=g.markerUnsel.positions=g.marker.positions=w),g.line&&w.length>1&&l.extendFlat(g.line,s.linePositions(t,f,w)),g.text&&(l.extendFlat(g.text,{positions:w},s.textPosition(t,f,g.text,g.marker)),l.extendFlat(g.textSel,{positions:w},s.textPosition(t,f,g.text,g.markerSel)),l.extendFlat(g.textUnsel,{positions:w},s.textPosition(t,f,g.text,g.markerUnsel))),g.fill&&!d.fill2d&&(d.fill2d=!0),g.marker&&!d.scatter2d&&(d.scatter2d=!0),g.line&&!d.line2d&&(d.line2d=!0),g.text&&!d.glText&&(d.glText=!0),d.lineOptions.push(g.line),d.fillOptions.push(g.fill),d.markerOptions.push(g.marker),d.markerSelectedOptions.push(g.markerSel),d.markerUnselectedOptions.push(g.markerUnsel),d.textOptions.push(g.text),d.textSelectedOptions.push(g.textSel),d.textUnselectedOptions.push(g.textUnsel),d.selectBatch.push([]),d.unselectBatch.push([]),_.x=E,_.y=x,_.rawx=E,_.rawy=x,_.r=m,_.theta=v,_.positions=w,_._scene=d,_.index=d.count,d.count++}})),o(t,e,n)}},t.exports.reglPrecompiled={}},69496:function(t,e,n){"use strict";var i=n(21776).Ks,r=n(21776).Gw,o=n(92880).extendFlat,a=n(52904),s=n(45464),l=a.line;t.exports={mode:a.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:a.text,texttemplate:r({editType:"plot"},{keys:["real","imag","text"]}),hovertext:a.hovertext,line:{color:l.color,width:l.width,dash:l.dash,backoff:l.backoff,shape:o({},l.shape,{values:["linear","spline"]}),smoothing:l.smoothing,editType:"calc"},connectgaps:a.connectgaps,marker:a.marker,cliponaxis:o({},a.cliponaxis,{dflt:!1}),textposition:a.textposition,textfont:a.textfont,fill:o({},a.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:a.fillcolor,hoverinfo:o({},s.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:a.hoveron,hovertemplate:i(),selected:a.selected,unselected:a.unselected}},47507:function(t,e,n){"use strict";var i=n(38248),r=n(39032).BADNUM,o=n(90136),a=n(20148),s=n(4500),l=n(16356).calcMarkerSize;t.exports=function(t,e){for(var n=t._fullLayout,u=e.subplot,c=n[u].realaxis,h=n[u].imaginaryaxis,d=c.makeCalcdata(e,"real"),f=h.makeCalcdata(e,"imag"),_=e._length,p=new Array(_),m=0;m<_;m++){var v=d[m],g=f[m],y=p[m]={};i(v)&&i(g)?(y.real=v,y.imag=g):y.real=r}return l(e,_),o(t,e),a(p,e),s(p,e),p}},76716:function(t,e,n){"use strict";var i=n(3400),r=n(43028),o=n(74428),a=n(66828),s=n(11731),l=n(124),u=n(70840),c=n(88200).PTS_LINESONLY,h=n(69496);t.exports=function(t,e,n,d){function f(n,r){return i.coerce(t,e,h,n,r)}var _=function(t,e,n,r){var o,a=r("real"),s=r("imag");return a&&s&&(o=Math.min(a.length,s.length)),i.isTypedArray(a)&&(e.real=a=Array.from(a)),i.isTypedArray(s)&&(e.imag=s=Array.from(s)),e._length=o,o}(0,e,0,f);if(_){f("mode",_")}}t.exports={hoverPoints:function(t,e,n,o){var a=i(t,e,n,o);if(a&&!1!==a[0].index){var s=a[0];if(void 0===s.index)return a;var l=t.subplot,u=s.cd[s.index],c=s.trace;if(l.isPtInside(u))return s.xLabelVal=void 0,s.yLabelVal=void 0,r(u,c,l,s),s.hovertemplate=c.hovertemplate,a}},makeHoverPointText:r}},95443:function(t,e,n){"use strict";t.exports={moduleType:"trace",name:"scattersmith",basePlotModule:n(47788),categories:["smith","symbols","showLegend","scatter-like"],attributes:n(69496),supplyDefaults:n(76716),colorbar:n(5528),formatLabels:n(49504),calc:n(47507),plot:n(34927),style:n(49224).style,styleOnSelect:n(49224).styleOnSelect,hoverPoints:n(25292).hoverPoints,selectPoints:n(91560),meta:{}}},34927:function(t,e,n){"use strict";var i=n(96504),r=n(39032).BADNUM,o=n(36416).smith;t.exports=function(t,e,n){for(var a=e.layers.frontplot.select("g.scatterlayer"),s=e.xaxis,l=e.yaxis,u={xaxis:s,yaxis:l,plot:e.framework,layerClipId:e._hasClipOnAxisFalse?e.clipIds.forTraces:null},c=0;c"),a.hovertemplate=d.hovertemplate,o}function y(t,e){v.push(t._hovertitle+": "+e)}}},34864:function(t,e,n){"use strict";t.exports={attributes:n(5896),supplyDefaults:n(84256),colorbar:n(5528),formatLabels:n(90404),calc:n(34335),plot:n(88776),style:n(49224).style,styleOnSelect:n(49224).styleOnSelect,hoverPoints:n(26596),selectPoints:n(91560),eventData:n(97476),moduleType:"trace",name:"scatterternary",basePlotModule:n(19352),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},88776:function(t,e,n){"use strict";var i=n(96504);t.exports=function(t,e,n){var r=e.plotContainer;r.select(".scatterlayer").selectAll("*").remove();for(var o=e.xaxis,a=e.yaxis,s={xaxis:o,yaxis:a,plot:r,layerClipId:e._hasClipOnAxisFalse?e.clipIdRelative:null},l=e.layers.frontplot.select("g.scatterlayer"),u=0;ud?b.sizeAvg||Math.max(b.size,3):o(e,y),f=0;fo&&l||r-1,I=!0;if(a(y)||f.selectedpoints||N){var O=f._length;if(f.selectedpoints){p.selectBatch=f.selectedpoints;var L=f.selectedpoints,M={};for(l=0;l1&&(c=p[g-1],d=m[g-1],_=v[g-1]),e=0;ec?"-":"+")+"x")).replace("y",(h>d?"-":"+")+"y")).replace("z",(f>_?"-":"+")+"z");var k=function(){g=0,A=[],S=[],z=[]};(!g||g2?t.slice(1,e-1):2===e?[(t[0]+t[1])/2]:t}function f(t){var e=t.length;return 1===e?[.5,.5]:[t[1]-t[0],t[e-1]-t[e-2]]}function _(t,e){var n=t.fullSceneLayout,r=t.dataScale,c=e._len,h={};function _(t,e){var i=n[e],a=r[u[e]];return o.simpleMap(t,(function(t){return i.d2l(t)*a}))}if(h.vectors=l(_(e._u,"xaxis"),_(e._v,"yaxis"),_(e._w,"zaxis"),c),!c)return{positions:[],cells:[]};var p=_(e._Xs,"xaxis"),m=_(e._Ys,"yaxis"),v=_(e._Zs,"zaxis");if(h.meshgrid=[p,m,v],h.gridFill=e._gridFill,e._slen)h.startingPositions=l(_(e._startsX,"xaxis"),_(e._startsY,"yaxis"),_(e._startsZ,"zaxis"));else{for(var g=m[0],y=d(p),b=d(v),w=new Array(y.length*b.length),E=0,x=0;x=0};g?(n=Math.min(v.length,b.length),l=function(t){return A(v[t])&&S(t)},h=function(t){return String(v[t])}):(n=Math.min(y.length,b.length),l=function(t){return A(y[t])&&S(t)},h=function(t){return String(y[t])}),E&&(n=Math.min(n,w.length));for(var z=0;z1){for(var O=o.randstr(),L=0;L=0){e.i=s.i;var c=n.marker;c.pattern&&c.colors&&c.pattern.shape||(c.color=u,e.color=u),i.pointStyle(t,n,o,e)}else r.fill(t,u)}},45716:function(t,e,n){"use strict";var i=n(33428),r=n(24040),o=n(10624).appendArrayPointValue,a=n(93024),s=n(3400),l=n(95924),u=n(78176),c=n(69656).formatPieValue;function h(t,e,n){for(var i=t.data.data,r={curveNumber:e.index,pointNumber:i.i,data:e._input,fullData:e},a=0;a"),name:T||M("name")?g.name:void 0,color:C("hoverlabel.bgcolor")||y.color,borderColor:C("hoverlabel.bordercolor"),fontFamily:C("hoverlabel.font.family"),fontSize:C("hoverlabel.font.size"),fontColor:C("hoverlabel.font.color"),nameLength:C("hoverlabel.namelength"),textAlign:C("hoverlabel.align"),hovertemplate:T,hovertemplateLabels:I,eventData:l};m&&(P.x0=z-r.rInscribed*r.rpx1,P.x1=z+r.rInscribed*r.rpx1,P.idealAlign=r.pxmid[0]<0?"left":"right"),v&&(P.x=z,P.idealAlign=z<0?"left":"right");var U=[];a.loneHover(P,{container:o._hoverlayer.node(),outerContainer:o._paper.node(),gd:n,inOut_bbox:U}),l[0].bbox=U[0],_._hasHoverLabel=!0}if(v){var j=t.select("path.surface");d.styleOne(j,r,g,n,{hovered:!0})}_._hasHoverEvent=!0,n.emit("plotly_hover",{points:l||[h(r,g,d.eventDataKeys)],event:i.event})}})),t.on("mouseout",(function(e){var r=n._fullLayout,o=n._fullData[_.index],s=i.select(this).datum();if(_._hasHoverEvent&&(e.originalEvent=i.event,n.emit("plotly_unhover",{points:[h(s,o,d.eventDataKeys)],event:i.event}),_._hasHoverEvent=!1),_._hasHoverLabel&&(a.loneUnhover(r._hoverlayer.node()),_._hasHoverLabel=!1),v){var l=t.select("path.surface");d.styleOne(l,s,o,n,{hovered:!1})}})),t.on("click",(function(t){var e=n._fullLayout,o=n._fullData[_.index],s=m&&(u.isHierarchyRoot(t)||u.isLeaf(t)),c=u.getPtId(t),f=u.isEntry(t)?u.findEntryWithChild(p,c):u.findEntryWithLevel(p,c),v=u.getPtId(f),g={points:[h(t,o,d.eventDataKeys)],event:i.event};s||(g.nextLevel=v);var y=l.triggerHandler(n,"plotly_"+_.type+"click",g);if(!1!==y&&e.hovermode&&(n._hoverdata=[h(t,o,d.eventDataKeys)],a.click(n,i.event)),!s&&!1!==y&&!n._dragging&&!n._transitioning){r.call("_storeDirectGUIEdit",o,e._tracePreGUI[o.uid],{level:o.level});var b={data:[{level:v}],traces:[_.index]},w={frame:{redraw:!1,duration:d.transitionTime},transition:{duration:d.transitionTime,easing:d.transitionEasing},mode:"immediate",fromcurrent:!0};a.loneUnhover(e._hoverlayer.node()),r.call("animate",n,b,w)}}))}},78176:function(t,e,n){"use strict";var i=n(3400),r=n(76308),o=n(93972),a=n(69656);function s(t){return t.data.data.pid}e.findEntryWithLevel=function(t,n){var i;return n&&t.eachAfter((function(t){if(e.getPtId(t)===n)return i=t.copy()})),i||t},e.findEntryWithChild=function(t,n){var i;return t.eachAfter((function(t){for(var r=t.children||[],o=0;o0)},e.getMaxDepth=function(t){return t.maxdepth>=0?t.maxdepth:1/0},e.isHeader=function(t,n){return!(e.isLeaf(t)||t.depth===n._maxDepth-1)},e.getParent=function(t,n){return e.findEntryWithLevel(t,s(n))},e.listPath=function(t,n){var i=t.parent;if(!i)return[];var r=n?[i.data[n]]:[i];return e.listPath(i,n).concat(r)},e.getPath=function(t){return e.listPath(t,"label").join("/")+"/"},e.formatValue=a.formatPieValue,e.formatPercent=function(t,e){var n=i.formatPercent(t,0);return"0%"===n&&(n=a.formatPiePercent(t,e)),n}},5621:function(t,e,n){"use strict";t.exports={moduleType:"trace",name:"sunburst",basePlotModule:n(54904),categories:[],animatable:!0,attributes:n(424),layoutAttributes:n(84920),supplyDefaults:n(25244),supplyLayoutDefaults:n(28732),calc:n(3776).calc,crossTraceCalc:n(3776).crossTraceCalc,plot:n(96488).plot,style:n(85676).style,colorbar:n(5528),meta:{}}},84920:function(t){"use strict";t.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},28732:function(t,e,n){"use strict";var i=n(3400),r=n(84920);t.exports=function(t,e){function n(n,o){return i.coerce(t,e,r,n,o)}n("sunburstcolorway",e.colorway),n("extendsunburstcolors")}},96488:function(t,e,n){"use strict";var i=n(33428),r=n(74148),o=n(67756).qy,a=n(43616),s=n(3400),l=n(72736),u=n(82744),c=u.recordMinTextSize,h=u.clearMinTextSize,d=n(37820),f=n(69656).getRotationAngle,_=d.computeTransform,p=d.transformInsideText,m=n(85676).styleOne,v=n(60100).resizeText,g=n(45716),y=n(27328),b=n(78176);function w(t,n,u,h){var d=t._context.staticPlot,v=t._fullLayout,w=!v.uniformtext.mode&&b.hasTransition(h),x=i.select(u).selectAll("g.slice"),C=n[0],T=C.trace,A=C.hierarchy,S=b.findEntryWithLevel(A,T.level),z=b.getMaxDepth(T),k=v._size,N=T.domain,I=k.w*(N.x[1]-N.x[0]),O=k.h*(N.y[1]-N.y[0]),L=.5*Math.min(I,O),M=C.cx=k.l+k.w*(N.x[1]+N.x[0])/2,$=C.cy=k.t+k.h*(1-N.y[0])-O/2;if(!S)return x.remove();var R=null,P={};w&&x.each((function(t){P[b.getPtId(t)]={rpx0:t.rpx0,rpx1:t.rpx1,x0:t.x0,x1:t.x1,transform:t.transform},!R&&b.isEntry(t)&&(R=t)}));var U=function(t){return r.partition().size([2*Math.PI,t.height+1])(t)}(S).descendants(),j=S.height+1,q=0,D=z;C.hasMultipleRoots&&b.isHierarchyRoot(S)&&(U=U.slice(1),j-=1,q=1,D+=1),U=U.filter((function(t){return t.y1<=D}));var B=f(T.rotation);B&&U.forEach((function(t){t.x0+=B,t.x1+=B}));var F=Math.min(j,z),W=function(t){return(t-q)/F*L},G=function(t,e){return[t*Math.cos(e),-t*Math.sin(e)]},H=function(t){return s.pathAnnulus(t.rpx0,t.rpx1,t.x0,t.x1,M,$)},V=function(t){return M+E(t)[0]*(t.transform.rCenter||0)+(t.transform.x||0)},X=function(t){return $+E(t)[1]*(t.transform.rCenter||0)+(t.transform.y||0)};(x=x.data(U,b.getPtId)).enter().append("g").classed("slice",!0),w?x.exit().transition().each((function(){var t=i.select(this);t.select("path.surface").transition().attrTween("d",(function(t){var e=function(t){var e,n=b.getPtId(t),i=P[n],r=P[b.getPtId(S)];if(r){var a=(t.x1>r.x1?2*Math.PI:0)+B;e=t.rpx1J?2*Math.PI:0)+B;e={x0:r,x1:r}}else e={rpx0:L,rpx1:L},s.extendFlat(e,K(t));else e={rpx0:0,rpx1:0};else e={x0:B,x1:B};return o(e,i)}(t);return function(t){return H(e(t))}})):h.attr("d",H),u.call(g,S,t,n,{eventDataKeys:y.eventDataKeys,transitionTime:y.CLICK_TRANSITION_TIME,transitionEasing:y.CLICK_TRANSITION_EASING}).call(b.setSliceCursor,t,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:t._transitioning}),h.call(m,r,T,t);var f=s.ensureSingle(u,"g","slicetext"),E=s.ensureSingle(f,"text","",(function(t){t.attr("data-notex",1)})),x=s.ensureUniformFontSize(t,b.determineTextFont(T,r,v.font));E.text(e.formatSliceLabel(r,S,T,n,v)).classed("slicetext",!0).attr("text-anchor","middle").call(a.font,x).call(l.convertToTspans,t);var A=a.bBox(E.node());r.transform=p(A,r,C),r.transform.targetX=V(r),r.transform.targetY=X(r);var z=function(t,e){var n=t.transform;return _(n,e),n.fontSize=x.size,c(T.type,n,v),s.getTextTransform(n)};w?E.transition().attrTween("transform",(function(t){var e=function(t){var e,n=P[b.getPtId(t)],i=t.transform;if(n)e=n;else if(e={rpx1:t.rpx1,transform:{textPosAngle:i.textPosAngle,scale:0,rotate:i.rotate,rCenter:i.rCenter,x:i.x,y:i.y}},R)if(t.parent)if(J){var r=t.x1>J?2*Math.PI:0;e.x0=e.x1=r}else s.extendFlat(e,K(t));else e.x0=e.x1=B;else e.x0=e.x1=B;var a=o(e.transform.textPosAngle,t.transform.textPosAngle),l=o(e.rpx1,t.rpx1),u=o(e.x0,t.x0),h=o(e.x1,t.x1),d=o(e.transform.scale,i.scale),f=o(e.transform.rotate,i.rotate),_=0===i.rCenter?3:0===e.transform.rCenter?1/3:1,p=o(e.transform.rCenter,i.rCenter);return function(t){var e=l(t),n=u(t),r=h(t),o=function(t){return p(Math.pow(t,_))}(t),s={pxmid:G(e,(n+r)/2),rpx1:e,transform:{textPosAngle:a(t),rCenter:o,x:i.x,y:i.y}};return c(T.type,i,v),{transform:{targetX:V(s),targetY:X(s),scale:d(t),rotate:f(t),rCenter:o}}}}(t);return function(t){return z(e(t),A)}})):E.attr("transform",z(r,A))}))}function E(t){return e=t.rpx1,n=t.transform.textPosAngle,[e*Math.sin(n),-e*Math.cos(n)];var e,n}e.plot=function(t,e,n,r){var o,a,s=t._fullLayout,l=s._sunburstlayer,u=!n,c=!s.uniformtext.mode&&b.hasTransition(n);h("sunburst",s),(o=l.selectAll("g.trace.sunburst").data(e,(function(t){return t[0].trace.uid}))).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),o.order(),c?(r&&(a=r()),i.transition().duration(n.duration).ease(n.easing).each("end",(function(){a&&a()})).each("interrupt",(function(){a&&a()})).each((function(){l.selectAll("g.trace").each((function(e){w(t,e,this,n)}))}))):(o.each((function(e){w(t,e,this,n)})),s.uniformtext.mode&&v(t,s._sunburstlayer.selectAll(".trace"),"sunburst")),u&&o.exit().remove()},e.formatSliceLabel=function(t,e,n,i,r){var o=n.texttemplate,a=n.textinfo;if(!(o||a&&"none"!==a))return"";var l=r.separators,u=i[0],c=t.data.data,h=u.hierarchy,d=b.isHierarchyRoot(t),f=b.getParent(h,t),_=b.getValue(t);if(!o){var p,m=a.split("+"),v=function(t){return-1!==m.indexOf(t)},g=[];if(v("label")&&c.label&&g.push(c.label),c.hasOwnProperty("v")&&v("value")&&g.push(b.formatValue(c.v,l)),!d){v("current path")&&g.push(b.getPath(t.data));var y=0;v("percent parent")&&y++,v("percent entry")&&y++,v("percent root")&&y++;var w=y>1;if(y){var E,x=function(t){p=b.formatPercent(E,l),w&&(p+=" of "+t),g.push(p)};v("percent parent")&&!d&&(E=_/b.getValue(f),x("parent")),v("percent entry")&&(E=_/b.getValue(e),x("entry")),v("percent root")&&(E=_/b.getValue(h),x("root"))}}return v("text")&&(p=s.castOption(n,c.i,"text"),s.isValidTextValue(p)&&g.push(p)),g.join("
")}var C=s.castOption(n,c.i,"texttemplate");if(!C)return"";var T={};c.label&&(T.label=c.label),c.hasOwnProperty("v")&&(T.value=c.v,T.valueLabel=b.formatValue(c.v,l)),T.currentPath=b.getPath(t.data),d||(T.percentParent=_/b.getValue(f),T.percentParentLabel=b.formatPercent(T.percentParent,l),T.parent=b.getPtLabel(f)),T.percentEntry=_/b.getValue(e),T.percentEntryLabel=b.formatPercent(T.percentEntry,l),T.entry=b.getPtLabel(e),T.percentRoot=_/b.getValue(h),T.percentRootLabel=b.formatPercent(T.percentRoot,l),T.root=b.getPtLabel(h),c.hasOwnProperty("color")&&(T.color=c.color);var A=s.castOption(n,c.i,"text");return(s.isValidTextValue(A)||""===A)&&(T.text=A),T.customdata=s.castOption(n,c.i,"customdata"),s.texttemplateString(C,T,r._d3locale,T,n._meta||{})}},85676:function(t,e,n){"use strict";var i=n(33428),r=n(76308),o=n(3400),a=n(82744).resizeText,s=n(60404);function l(t,e,n,i){var a=e.data.data,l=!e.children,u=a.i,c=o.castOption(n,u,"marker.line.color")||r.defaultLine,h=o.castOption(n,u,"marker.line.width")||0;t.call(s,e,n,i).style("stroke-width",h).call(r.stroke,c).style("opacity",l?n.leaf.opacity:null)}t.exports={style:function(t){var e=t._fullLayout._sunburstlayer.selectAll(".trace");a(t,e,"sunburst"),e.each((function(e){var n=i.select(this),r=e[0].trace;n.style("opacity",r.opacity),n.selectAll("path.surface").each((function(e){i.select(this).call(l,e,r,t)}))}))},styleOne:l}},16716:function(t,e,n){"use strict";var i=n(76308),r=n(49084),o=n(29736).axisHoverFormat,a=n(21776).Ks,s=n(45464),l=n(92880).extendFlat,u=n(67824).overrideAll;function c(t){return{show:{valType:"boolean",dflt:!1},start:{valType:"number",dflt:null,editType:"plot"},end:{valType:"number",dflt:null,editType:"plot"},size:{valType:"number",dflt:null,min:0,editType:"plot"},project:{x:{valType:"boolean",dflt:!1},y:{valType:"boolean",dflt:!1},z:{valType:"boolean",dflt:!1}},color:{valType:"color",dflt:i.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:i.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var h=t.exports=u(l({z:{valType:"data_array"},x:{valType:"data_array"},y:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:a(),xhoverformat:o("x"),yhoverformat:o("y"),zhoverformat:o("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},r("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:c(),y:c(),z:c()},hidesurface:{valType:"boolean",dflt:!1},lightposition:{x:{valType:"number",min:-1e5,max:1e5,dflt:10},y:{valType:"number",min:-1e5,max:1e5,dflt:1e4},z:{valType:"number",min:-1e5,max:1e5,dflt:0}},lighting:{ambient:{valType:"number",min:0,max:1,dflt:.8},diffuse:{valType:"number",min:0,max:1,dflt:.8},specular:{valType:"number",min:0,max:2,dflt:.05},roughness:{valType:"number",min:0,max:1,dflt:.5},fresnel:{valType:"number",min:0,max:5,dflt:.2}},opacity:{valType:"number",min:0,max:1,dflt:1},opacityscale:{valType:"any",editType:"calc"},_deprecated:{zauto:l({},r.zauto,{}),zmin:l({},r.zmin,{}),zmax:l({},r.zmax,{})},hoverinfo:l({},s.hoverinfo),showlegend:l({},s.showlegend,{dflt:!1})}),"calc","nested");h.x.editType=h.y.editType=h.z.editType="calc+clearAxisTypes",h.transforms=void 0},56576:function(t,e,n){"use strict";var i=n(47128);t.exports=function(t,e){e.surfacecolor?i(t,e,{vals:e.surfacecolor,containerStr:"",cLetter:"c"}):i(t,e,{vals:e.z,containerStr:"",cLetter:"c"})}},79164:function(t,e,n){"use strict";var i=n(67792).gl_surface3d,r=n(67792).ndarray,o=n(67792).ndarray_linear_interpolate.d2,a=n(70448),s=n(11240),l=n(3400).isArrayOrTypedArray,u=n(33040).parseColorScale,c=n(43080),h=n(8932).extractOpts;function d(t,e,n){this.scene=t,this.uid=n,this.surface=e,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var f=d.prototype;f.getXat=function(t,e,n,i){var r=l(this.data.x)?l(this.data.x[0])?this.data.x[e][t]:this.data.x[t]:t;return void 0===n?r:i.d2l(r,0,n)},f.getYat=function(t,e,n,i){var r=l(this.data.y)?l(this.data.y[0])?this.data.y[e][t]:this.data.y[e]:e;return void 0===n?r:i.d2l(r,0,n)},f.getZat=function(t,e,n,i){var r=this.data.z[e][t];return null===r&&this.data.connectgaps&&this.data._interpolatedZ&&(r=this.data._interpolatedZ[e][t]),void 0===n?r:i.d2l(r,0,n)},f.handlePick=function(t){if(t.object===this.surface){var e=(t.data.index[0]-1)/this.dataScaleX-1,n=(t.data.index[1]-1)/this.dataScaleY-1,i=Math.max(Math.min(Math.round(e),this.data.z[0].length-1),0),r=Math.max(Math.min(Math.round(n),this.data._ylength-1),0);t.index=[i,r],t.traceCoordinate=[this.getXat(i,r),this.getYat(i,r),this.getZat(i,r)],t.dataCoordinate=[this.getXat(i,r,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(i,r,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(i,r,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var o=0;o<3;o++){null!=t.dataCoordinate[o]&&(t.dataCoordinate[o]*=this.scene.dataScale[o])}var a=this.data.hovertext||this.data.text;return l(a)&&a[r]&&void 0!==a[r][i]?t.textLabel=a[r][i]:t.textLabel=a||"",t.data.dataCoordinate=t.dataCoordinate.slice(),this.surface.highlight(t.data),this.scene.glplot.spikes.position=t.dataCoordinate,!0}};var _=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function p(t,e){if(t0){n=_[i];break}return n}function g(t,e){if(!(t<1||e<1)){for(var n=m(t),i=m(e),r=1,o=0;o<_.length;o++)r*=Math.pow(_[o],Math.max(n[o],i[o]));return r}}f.calcXnums=function(t){var e,n=[];for(e=1;ew;)n--,n/=v(n),++n1?i:1},f.refineCoords=function(t){for(var e=this.dataScaleX,n=this.dataScaleY,i=t[0].shape[0],o=t[0].shape[1],a=0|Math.floor(t[0].shape[0]*e+1),s=0|Math.floor(t[0].shape[1]*n+1),l=1+i+1,u=1+o+1,c=r(new Float32Array(l*u),[l,u]),h=[1/e,0,0,0,1/n,0,0,0,1],d=0;d0&&null!==this.contourStart[t]&&null!==this.contourEnd[t]&&this.contourEnd[t]>this.contourStart[t]))for(r[t]=!0,e=this.contourStart[t];eo&&(this.minValues[e]=o),this.maxValues[e]",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},55992:function(t,e,n){"use strict";var i=n(23536),r=n(92880).extendFlat,o=n(38248),a=n(38116).isTypedArray,s=n(38116).isArrayOrTypedArray;function l(t){if(s(t)){for(var e=0,n=0;n=e||u===t.length-1)&&(i[r]=a,a.key=l++,a.firstRowIndex=s,a.lastRowIndex=u,a={firstRowIndex:null,lastRowIndex:null,rows:[]},r+=o,s=u+1,o=0);return i}t.exports=function(t,e){var n=c(e.cells.values),a=function(t){return t.slice(e.header.values.length,t.length)},p=c(e.header.values);p.length&&!p[0].length&&(p[0]=[""],p=c(p));var m=p.concat(a(n).map((function(){return h((p[0]||[""]).length)}))),v=e.domain,g=Math.floor(t._fullLayout._size.w*(v.x[1]-v.x[0])),y=Math.floor(t._fullLayout._size.h*(v.y[1]-v.y[0])),b=e.header.values.length?m[0].map((function(){return e.header.height})):[i.emptyHeaderHeight],w=n.length?n[0].map((function(){return e.cells.height})):[],E=b.reduce(u,0),x=_(w,y-E+i.uplift),C=f(_(b,E),[]),T=f(x,C),A={},S=e._fullInput.columnorder;s(S)&&(S=Array.from(S)),S=S.concat(a(n.map((function(t,e){return e}))));var z=m.map((function(t,n){var i=s(e.columnwidth)?e.columnwidth[Math.min(n,e.columnwidth.length-1)]:e.columnwidth;return o(i)?Number(i):1})),k=z.reduce(u,0);z=z.map((function(t){return t/k*g}));var N=Math.max(l(e.header.line.width),l(e.cells.line.width)),I={key:e.uid+t._context.staticPlot,translateX:v.x[0]*t._fullLayout._size.w,translateY:t._fullLayout._size.h*(1-v.y[1]),size:t._fullLayout._size,width:g,maxLineWidth:N,height:y,columnOrder:S,groupHeight:y,rowBlocks:T,headerRowBlocks:C,scrollY:0,cells:r({},e.cells,{values:n}),headerCells:r({},e.header,{values:m}),gdColumns:m.map((function(t){return t[0]})),gdColumnsOriginalOrder:m.map((function(t){return t[0]})),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:m.map((function(t,e){var n=A[t];return A[t]=(n||0)+1,{key:t+"__"+A[t],label:t,specIndex:e,xIndex:S[e],xScale:d,x:void 0,calcdata:void 0,columnWidth:z[e]}}))};return I.columns.forEach((function(t){t.calcdata=I,t.x=d(t)})),I}},53056:function(t,e,n){"use strict";var i=n(92880).extendFlat;e.splitToPanels=function(t){var e=[0,0],n=i({},t,{key:"header",type:"header",page:0,prevPages:e,currentRepaint:[null,null],dragHandle:!0,values:t.calcdata.headerCells.values[t.specIndex],rowBlocks:t.calcdata.headerRowBlocks,calcdata:i({},t.calcdata,{cells:t.calcdata.headerCells})});return[i({},t,{key:"cells1",type:"cells",page:0,prevPages:e,currentRepaint:[null,null],dragHandle:!1,values:t.calcdata.cells.values[t.specIndex],rowBlocks:t.calcdata.rowBlocks}),i({},t,{key:"cells2",type:"cells",page:1,prevPages:e,currentRepaint:[null,null],dragHandle:!1,values:t.calcdata.cells.values[t.specIndex],rowBlocks:t.calcdata.rowBlocks}),n]},e.splitToCells=function(t){var e=function(t){var e=t.rowBlocks[t.page],n=e?e.rows[0].rowIndex:0;return[n,e?n+e.rows.length:0]}(t);return(t.values||[]).slice(e[0],e[1]).map((function(n,i){return{keyWithinBlock:i+("string"==typeof n&&n.match(/[<$&> ]/)?"_keybuster_"+Math.random():""),key:e[0]+i,column:t,calcdata:t.calcdata,page:t.page,rowBlocks:t.rowBlocks,value:n}}))}},53212:function(t,e,n){"use strict";var i=n(3400),r=n(60520),o=n(86968).Q;t.exports=function(t,e,n,a){function s(n,o){return i.coerce(t,e,r,n,o)}o(e,a,s),s("columnwidth"),s("header.values"),s("header.format"),s("header.align"),s("header.prefix"),s("header.suffix"),s("header.height"),s("header.line.width"),s("header.line.color"),s("header.fill.color"),i.coerceFont(s,"header.font",i.extendFlat({},a.font)),function(t,e){for(var n=t.columnorder||[],i=t.header.values.length,r=n.slice(0,i),o=r.slice().sort((function(t,e){return t-e})),a=r.map((function(t){return o.indexOf(t)})),s=a.length;s/i),l=!o||s;t.mayHaveMarkup=o&&r.match(/[<&>]/);var u,c="string"==typeof(u=r)&&u.match(i.latexCheck);t.latex=c;var h,d,f=c?"":C(t.calcdata.cells.prefix,e,n)||"",_=c?"":C(t.calcdata.cells.suffix,e,n)||"",p=c?null:C(t.calcdata.cells.format,e,n)||null,m=f+(p?a(p)(t.value):t.value)+_;if(t.wrappingNeeded=!t.wrapped&&!l&&!c&&(h=x(m)),t.cellHeightMayIncrease=s||c||t.mayHaveMarkup||(void 0===h?x(m):h),t.needsConvertToTspans=t.mayHaveMarkup||t.wrappingNeeded||t.latex,t.wrappingNeeded){var v=(" "===i.wrapSplitCharacter?m.replace(/r&&i.push(o),r+=l}return i}(r,l,s);1===u.length&&(u[0]===r.length-1?u.unshift(u[0]-1):u.push(u[0]+1)),u[0]%2&&u.reverse(),e.each((function(t,e){t.page=u[e],t.scrollY=l})),e.attr("transform",(function(t){var e=R(t.rowBlocks,t.page)-t.scrollY;return h(0,e)})),t&&(I(t,n,e,u,i.prevPages,i,0),I(t,n,e,u,i.prevPages,i,1),b(n,t))}}function N(t,e,n,o){return function(a){var s=a.calcdata?a.calcdata:a,l=e.filter((function(t){return s.key===t.key})),u=n||s.scrollbarState.dragMultiplier,c=s.scrollY;s.scrollY=void 0===o?s.scrollY+u*r.event.dy:o;var h=l.selectAll("."+i.cn.yColumn).selectAll("."+i.cn.columnBlock).filter(A);return k(t,h,l),s.scrollY===c}}function I(t,e,n,i,r,o,a){i[a]!==r[a]&&(clearTimeout(o.currentRepaint[a]),o.currentRepaint[a]=setTimeout((function(){var o=n.filter((function(t,e){return e===a&&i[e]!==r[e]}));w(t,e,o,n),r[a]=i[a]})))}function O(t,e,n,o){return function(){var a=r.select(e.parentNode);a.each((function(t){var e=t.fragments;a.selectAll("tspan.line").each((function(t,n){e[n].width=this.getComputedTextLength()}));var n,r,o=e[e.length-1].width,s=e.slice(0,-1),l=[],u=0,c=t.column.columnWidth-2*i.cellPad;for(t.value="";s.length;)u+(r=(n=s.shift()).width+o)>c&&(t.value+=l.join(i.wrapSpacer)+i.lineBreaker,l=[],u=0),l.push(n.text),u+=r;u&&(t.value+=l.join(i.wrapSpacer)),t.wrapped=!0})),a.selectAll("tspan.line").remove(),E(a.select("."+i.cn.cellText),n,t,o),r.select(e.parentNode.parentNode).call($)}}function L(t,e,n,o,a){return function(){if(!a.settledY){var s=r.select(e.parentNode),l=j(a),u=a.key-l.firstRowIndex,c=l.rows[u].rowHeight,d=a.cellHeightMayIncrease?e.parentNode.getBoundingClientRect().height+2*i.cellPad:c,f=Math.max(d,c);f-l.rows[u].rowHeight&&(l.rows[u].rowHeight=f,t.selectAll("."+i.cn.columnCell).call($),k(null,t.filter(A),0),b(n,o,!0)),s.attr("transform",(function(){var t=this,e=t.parentNode.getBoundingClientRect(),n=r.select(t.parentNode).select("."+i.cn.cellRect).node().getBoundingClientRect(),o=t.transform.baseVal.consolidate(),s=n.top-e.top+(o?o.matrix.f:i.cellPad);return h(M(a,r.select(t.parentNode).select("."+i.cn.cellTextHolder).node().getBoundingClientRect().width),s)})),a.settledY=!0}}}function M(t,e){switch(t.align){case"left":default:return i.cellPad;case"right":return t.column.columnWidth-(e||0)-i.cellPad;case"center":return(t.column.columnWidth-(e||0))/2}}function $(t){t.attr("transform",(function(t){var e=t.rowBlocks[0].auxiliaryBlocks.reduce((function(t,e){return t+P(e,1/0)}),0),n=P(j(t),t.key);return h(0,n+e)})).selectAll("."+i.cn.cellRect).attr("height",(function(t){return(e=j(t),n=t.key,e.rows[n-e.firstRowIndex]).rowHeight;var e,n}))}function R(t,e){for(var n=0,i=e-1;i>=0;i--)n+=U(t[i]);return n}function P(t,e){for(var n=0,i=0;i","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:c({},s.textfont,{}),editType:"calc"},text:s.text,textinfo:l.textinfo,texttemplate:r({editType:"plot"},{keys:u.eventDataKeys.concat(["label","value"])}),hovertext:s.hovertext,hoverinfo:l.hoverinfo,hovertemplate:i({},{keys:u.eventDataKeys}),textfont:s.textfont,insidetextfont:s.insidetextfont,outsidetextfont:c({},s.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:s.sort,root:l.root,domain:a({name:"treemap",trace:!0,editType:"calc"})}},79516:function(t,e,n){"use strict";var i=n(7316);e.name="treemap",e.plot=function(t,n,r,o){i.plotBasePlot(e.name,t,n,r,o)},e.clean=function(t,n,r,o){i.cleanBasePlot(e.name,t,n,r,o)}},97840:function(t,e,n){"use strict";var i=n(3776);e.r=function(t,e){return i.calc(t,e)},e.q=function(t){return i._runCrossTraceCalc("treemap",t)}},32984:function(t){"use strict";t.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},34092:function(t,e,n){"use strict";var i=n(3400),r=n(40516),o=n(76308),a=n(86968).Q,s=n(31508).handleText,l=n(78048).TEXTPAD,u=n(74174).handleMarkerDefaults,c=n(8932),h=c.hasColorscale,d=c.handleDefaults;t.exports=function(t,e,n,c){function f(n,o){return i.coerce(t,e,r,n,o)}var _=f("labels"),p=f("parents");if(_&&_.length&&p&&p.length){var m=f("values");m&&m.length?f("branchvalues"):f("count"),f("level"),f("maxdepth"),"squarify"===f("tiling.packing")&&f("tiling.squarifyratio"),f("tiling.flip"),f("tiling.pad");var v=f("text");f("texttemplate"),e.texttemplate||f("textinfo",i.isArrayOrTypedArray(v)?"text+label":"label"),f("hovertext"),f("hovertemplate");var g=f("pathbar.visible");s(t,e,c,f,"auto",{hasPathbar:g,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),f("textposition");var y=-1!==e.textposition.indexOf("bottom");u(t,e,c,f),(e._hasColorscale=h(t,"marker","colors")||(t.marker||{}).coloraxis)?d(t,e,c,f,{prefix:"marker.",cLetter:"c"}):f("marker.depthfade",!(e.marker.colors||[]).length);var b=2*e.textfont.size;f("marker.pad.t",y?b/4:b),f("marker.pad.l",b/4),f("marker.pad.r",b/4),f("marker.pad.b",y?b:b/4),f("marker.cornerradius"),e._hovered={marker:{line:{width:2,color:o.contrast(c.paper_bgcolor)}}},g&&(f("pathbar.thickness",e.pathbar.textfont.size+2*l),f("pathbar.side"),f("pathbar.edgeshape")),f("sort"),f("root.color"),a(e,c,f),e._length=null}else e.visible=!1}},95808:function(t,e,n){"use strict";var i=n(33428),r=n(78176),o=n(82744).clearMinTextSize,a=n(60100).resizeText,s=n(52960);t.exports=function(t,e,n,l,u){var c,h,d=u.type,f=u.drawDescendants,_=t._fullLayout,p=_["_"+d+"layer"],m=!n;o(d,_),(c=p.selectAll("g.trace."+d).data(e,(function(t){return t[0].trace.uid}))).enter().append("g").classed("trace",!0).classed(d,!0),c.order(),!_.uniformtext.mode&&r.hasTransition(n)?(l&&(h=l()),i.transition().duration(n.duration).ease(n.easing).each("end",(function(){h&&h()})).each("interrupt",(function(){h&&h()})).each((function(){p.selectAll("g.trace").each((function(e){s(t,e,this,n,f)}))}))):(c.each((function(e){s(t,e,this,n,f)})),_.uniformtext.mode&&a(t,p.selectAll(".trace"),d)),m&&c.exit().remove()}},27336:function(t,e,n){"use strict";var i=n(33428),r=n(3400),o=n(43616),a=n(72736),s=n(13832),l=n(66192).styleOne,u=n(32984),c=n(78176),h=n(45716),d=!0;t.exports=function(t,e,n,f,_){var p=_.barDifY,m=_.width,v=_.height,g=_.viewX,y=_.viewY,b=_.pathSlice,w=_.toMoveInsideSlice,E=_.strTransform,x=_.hasTransition,C=_.handleSlicesExit,T=_.makeUpdateSliceInterpolator,A=_.makeUpdateTextInterpolator,S={},z=t._context.staticPlot,k=t._fullLayout,N=e[0],I=N.trace,O=N.hierarchy,L=m/I._entryDepth,M=c.listPath(n.data,"id"),$=s(O.copy(),[m,v],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();($=$.filter((function(t){var e=M.indexOf(t.data.id);return-1!==e&&(t.x0=L*e,t.x1=L*(e+1),t.y0=p,t.y1=p+v,t.onPathbar=!0,!0)}))).reverse(),(f=f.data($,c.getPtId)).enter().append("g").classed("pathbar",!0),C(f,d,S,[m,v],b),f.order();var R=f;x&&(R=R.transition().each("end",(function(){var e=i.select(this);c.setSliceCursor(e,t,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})}))),R.each((function(s){s._x0=g(s.x0),s._x1=g(s.x1),s._y0=y(s.y0),s._y1=y(s.y1),s._hoverX=g(s.x1-Math.min(m,v)/2),s._hoverY=y(s.y1-v/2);var f=i.select(this),_=r.ensureSingle(f,"path","surface",(function(t){t.style("pointer-events",z?"none":"all")}));x?_.transition().attrTween("d",(function(t){var e=T(t,d,S,[m,v]);return function(t){return b(e(t))}})):_.attr("d",b),f.call(h,n,t,e,{styleOne:l,eventDataKeys:u.eventDataKeys,transitionTime:u.CLICK_TRANSITION_TIME,transitionEasing:u.CLICK_TRANSITION_EASING}).call(c.setSliceCursor,t,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:t._transitioning}),_.call(l,s,I,t,{hovered:!1}),s._text=(c.getPtLabel(s)||"").split("
").join(" ")||"";var p=r.ensureSingle(f,"g","slicetext"),C=r.ensureSingle(p,"text","",(function(t){t.attr("data-notex",1)})),N=r.ensureUniformFontSize(t,c.determineTextFont(I,s,k.font,{onPathbar:!0}));C.text(s._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(o.font,N).call(a.convertToTspans,t),s.textBB=o.bBox(C.node()),s.transform=w(s,{fontSize:N.size,onPathbar:!0}),s.transform.fontSize=N.size,x?C.transition().attrTween("transform",(function(t){var e=A(t,d,S,[m,v]);return function(t){return E(e(t))}})):C.attr("transform",E(s))}))}},76477:function(t,e,n){"use strict";var i=n(33428),r=n(3400),o=n(43616),a=n(72736),s=n(13832),l=n(66192).styleOne,u=n(32984),c=n(78176),h=n(45716),d=n(96488).formatSliceLabel,f=!1;t.exports=function(t,e,n,_,p){var m=p.width,v=p.height,g=p.viewX,y=p.viewY,b=p.pathSlice,w=p.toMoveInsideSlice,E=p.strTransform,x=p.hasTransition,C=p.handleSlicesExit,T=p.makeUpdateSliceInterpolator,A=p.makeUpdateTextInterpolator,S=p.prevEntry,z=t._context.staticPlot,k=t._fullLayout,N=e[0].trace,I=-1!==N.textposition.indexOf("left"),O=-1!==N.textposition.indexOf("right"),L=-1!==N.textposition.indexOf("bottom"),M=!L&&!N.marker.pad.t||L&&!N.marker.pad.b,$=s(n,[m,v],{packing:N.tiling.packing,squarifyratio:N.tiling.squarifyratio,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1,pad:{inner:N.tiling.pad,top:N.marker.pad.t,left:N.marker.pad.l,right:N.marker.pad.r,bottom:N.marker.pad.b}}).descendants(),R=1/0,P=-1/0;$.forEach((function(t){var e=t.depth;e>=N._maxDepth?(t.x0=t.x1=(t.x0+t.x1)/2,t.y0=t.y1=(t.y0+t.y1)/2):(R=Math.min(R,e),P=Math.max(P,e))})),_=_.data($,c.getPtId),N._maxVisibleLayers=isFinite(P)?P-R+1:0,_.enter().append("g").classed("slice",!0),C(_,f,{},[m,v],b),_.order();var U=null;if(x&&S){var j=c.getPtId(S);_.each((function(t){null===U&&c.getPtId(t)===j&&(U={x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1})}))}var q=function(){return U||{x0:0,x1:m,y0:0,y1:v}},D=_;return x&&(D=D.transition().each("end",(function(){var e=i.select(this);c.setSliceCursor(e,t,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})}))),D.each((function(s){var _=c.isHeader(s,N);s._x0=g(s.x0),s._x1=g(s.x1),s._y0=y(s.y0),s._y1=y(s.y1),s._hoverX=g(s.x1-N.marker.pad.r),s._hoverY=y(L?s.y1-N.marker.pad.b/2:s.y0+N.marker.pad.t/2);var p=i.select(this),C=r.ensureSingle(p,"path","surface",(function(t){t.style("pointer-events",z?"none":"all")}));x?C.transition().attrTween("d",(function(t){var e=T(t,f,q(),[m,v]);return function(t){return b(e(t))}})):C.attr("d",b),p.call(h,n,t,e,{styleOne:l,eventDataKeys:u.eventDataKeys,transitionTime:u.CLICK_TRANSITION_TIME,transitionEasing:u.CLICK_TRANSITION_EASING}).call(c.setSliceCursor,t,{isTransitioning:t._transitioning}),C.call(l,s,N,t,{hovered:!1}),s.x0===s.x1||s.y0===s.y1?s._text="":s._text=_?M?"":c.getPtLabel(s)||"":d(s,n,N,e,k)||"";var S=r.ensureSingle(p,"g","slicetext"),$=r.ensureSingle(S,"text","",(function(t){t.attr("data-notex",1)})),R=r.ensureUniformFontSize(t,c.determineTextFont(N,s,k.font));$.text(s._text||" ").classed("slicetext",!0).attr("text-anchor",O?"end":I||_?"start":"middle").call(o.font,R).call(a.convertToTspans,t),s.textBB=o.bBox($.node()),s.transform=w(s,{fontSize:R.size,isHeader:_}),s.transform.fontSize=R.size,x?$.transition().attrTween("transform",(function(t){var e=A(t,f,q(),[m,v]);return function(t){return E(e(t))}})):$.attr("transform",E(s))})),U}},83024:function(t){"use strict";t.exports=function t(e,n,i){var r;i.swapXY&&(r=e.x0,e.x0=e.y0,e.y0=r,r=e.x1,e.x1=e.y1,e.y1=r),i.flipX&&(r=e.x0,e.x0=n[0]-e.x1,e.x1=n[0]-r),i.flipY&&(r=e.y0,e.y0=n[1]-e.y1,e.y1=n[1]-r);var o=e.children;if(o)for(var a=0;a-1?N+L:-(O+L):0,$={x0:I,x1:I,y0:M,y1:M+O},R=function(t,e,n){var i=v.tiling.pad,r=function(t){return t-i<=e.x0},o=function(t){return t+i>=e.x1},a=function(t){return t-i<=e.y0},s=function(t){return t+i>=e.y1};return t.x0===e.x0&&t.x1===e.x1&&t.y0===e.y0&&t.y1===e.y1?{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}:{x0:r(t.x0-i)?0:o(t.x0-i)?n[0]:t.x0,x1:r(t.x1+i)?0:o(t.x1+i)?n[0]:t.x1,y0:a(t.y0-i)?0:s(t.y0-i)?n[1]:t.y0,y1:a(t.y1+i)?0:s(t.y1+i)?n[1]:t.y1}},P=null,U={},j={},q=null,D=function(t,e){return e?U[d(t)]:j[d(t)]};m.hasMultipleRoots&&C&&A++,v._maxDepth=A,v._backgroundColor=p.paper_bgcolor,v._entryDepth=b.data.depth,v._atRootLevel=C;var B=-k/2+S.l+S.w*(z.x[1]+z.x[0])/2,F=-N/2+S.t+S.h*(1-(z.y[1]+z.y[0])/2),W=function(t){return B+t},G=function(t){return F+t},H=G(0),V=W(0),X=function(t){return V+t},J=function(t){return H+t};function Z(t,e){return t+","+e}var Y=X(0),K=function(t){t.x=Math.max(Y,t.x)},Q=v.pathbar.edgeshape,tt=v[g?"tiling":"marker"].pad,et=function(t){return-1!==v.textposition.indexOf(t)},nt=et("top"),it=et("left"),rt=et("right"),ot=et("bottom"),at=function(t,e){var n=t.x0,i=t.x1,r=t.y0,o=t.y1,a=t.textBB,c=nt||e.isHeader&&!ot?"start":ot?"end":"middle",h=et("right"),d=et("left")||e.onPathbar?-1:h?1:0;if(e.isHeader){if((n+=(g?tt:tt.l)-s)>=(i-=(g?tt:tt.r)-s)){var f=(n+i)/2;n=f,i=f}var _;ot?r<(_=o-(g?tt:tt.b))&&_"===Q?(l.x-=o,u.x-=o,c.x-=o,h.x-=o):"/"===Q?(c.x-=o,h.x-=o,a.x-=o/2,s.x-=o/2):"\\"===Q?(l.x-=o,u.x-=o,a.x-=o/2,s.x-=o/2):"<"===Q&&(a.x-=o,s.x-=o),K(l),K(h),K(a),K(u),K(c),K(s),"M"+Z(l.x,l.y)+"L"+Z(u.x,u.y)+"L"+Z(s.x,s.y)+"L"+Z(c.x,c.y)+"L"+Z(h.x,h.y)+"L"+Z(a.x,a.y)+"Z"},toMoveInsideSlice:at,makeUpdateSliceInterpolator:lt,makeUpdateTextInterpolator:ut,handleSlicesExit:ct,hasTransition:T,strTransform:ht}):E.remove()}},66192:function(t,e,n){"use strict";var i=n(33428),r=n(76308),o=n(3400),a=n(78176),s=n(82744).resizeText,l=n(60404);function u(t,e,n,i,s){var u,c,h=(s||{}).hovered,d=e.data.data,f=d.i,_=d.color,p=a.isHierarchyRoot(e),m=1;if(h)u=n._hovered.marker.line.color,c=n._hovered.marker.line.width;else if(p&&_===n.root.color)m=100,u="rgba(0,0,0,0)",c=0;else if(u=o.castOption(n,f,"marker.line.color")||r.defaultLine,c=o.castOption(n,f,"marker.line.width")||0,!n._hasColorscale&&!e.onPathbar){var v=n.marker.depthfade;if(v){var g,y=r.combine(r.addOpacity(n._backgroundColor,.75),_);if(!0===v){var b=a.getMaxDepth(n);g=isFinite(b)?a.isLeaf(e)?0:n._maxVisibleLayers-(e.data.depth-n._entryDepth):e.data.height+1}else g=e.data.depth-n._entryDepth,n._atRootLevel||g++;if(g>0)for(var w=0;w0){var b,w,E,x,C,T=t.xa,A=t.ya;"h"===_.orientation?(C=e,b="y",E=A,w="x",x=T):(C=n,b="x",E=T,w="y",x=A);var S=f[t.index];if(C>=S.span[0]&&C<=S.span[1]){var z=r.extendFlat({},t),k=x.c2p(C,!0),N=s.getKdeValue(S,_,C),I=s.getPositionOnKdePath(S,_,k),O=E._offset,L=E._length;z[b+"0"]=I[0],z[b+"1"]=I[1],z[w+"0"]=z[w+"1"]=k,z[w+"Label"]=w+": "+o.hoverLabelText(x,C,_[w+"hoverformat"])+", "+f[0].t.labels.kde+" "+N.toFixed(3);for(var M=0,$=0;$")),c.color=function(t,e){var n=t[e.dir].marker,i=n.color,o=n.line.color,a=n.line.width;return r(i)?i:r(o)&&a?o:void 0}(d,m),[c]}function C(t){return i(p,t,d[_+"hoverformat"])}}},95952:function(t,e,n){"use strict";t.exports={attributes:n(65776),layoutAttributes:n(91352),supplyDefaults:n(24224).supplyDefaults,crossTraceDefaults:n(24224).crossTraceDefaults,supplyLayoutDefaults:n(59464),calc:n(73540),crossTraceCalc:n(50152),plot:n(64488),style:n(12252).style,hoverPoints:n(94196),eventData:n(53256),selectPoints:n(45784),moduleType:"trace",name:"waterfall",basePlotModule:n(57952),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},91352:function(t){"use strict";t.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},59464:function(t,e,n){"use strict";var i=n(3400),r=n(91352);t.exports=function(t,e,n){var o=!1;function a(n,o){return i.coerce(t,e,r,n,o)}for(var s=0;s0&&(m+=d?"M"+h[0]+","+_[1]+"V"+_[0]:"M"+h[1]+","+_[0]+"H"+h[0]),"between"!==f&&(n.isSum||s path").each((function(t){if(!t.isBlank){var e=s[t.dir].marker;i.select(this).call(o.fill,e.color).call(o.stroke,e.line.color).call(r.dashLine,e.line.dash,e.line.width).style("opacity",s.selectedpoints&&!t.selected?a:1)}})),u(n,s,t),n.selectAll(".lines").each((function(){var t=s.connector.line;r.lineGroupStyle(i.select(this).selectAll("path"),t.width,t.color,t.dash)}))}))}}},84224:function(t,e,n){"use strict";var i=n(54460),r=n(3400),o=n(73060),a=n(60468).W,s=n(39032).BADNUM;e.moduleType="transform",e.name="aggregate";var l=e.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},aggregations:{_isLinkedToArray:"aggregation",target:{valType:"string",editType:"calc"},func:{valType:"enumerated",values:["count","sum","avg","median","mode","rms","stddev","min","max","first","last","change","range"],dflt:"first",editType:"calc"},funcmode:{valType:"enumerated",values:["sample","population"],dflt:"sample",editType:"calc"},enabled:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},editType:"calc"},u=l.aggregations;function c(t,e,n,o){if(o.enabled){for(var a=o.target,l=r.nestedProperty(e,a),u=l.get(),c=function(t,e){var n=t.func,i=e.d2c,o=e.c2d;switch(n){case"count":return h;case"first":return d;case"last":return f;case"sum":return function(t,e){for(var n=0,r=0;rr&&(r=c,a=u)}}return r?o(a):s};case"rms":return function(t,e){for(var n=0,r=0,a=0;a":return function(t){return f(t)>h};case">=":return function(t){return f(t)>=h};case"[]":return function(t){var e=f(t);return e>=h[0]&&e<=h[1]};case"()":return function(t){var e=f(t);return e>h[0]&&e=h[0]&&eh[0]&&e<=h[1]};case"][":return function(t){var e=f(t);return e<=h[0]||e>=h[1]};case")(":return function(t){var e=f(t);return eh[1]};case"](":return function(t){var e=f(t);return e<=h[0]||e>h[1]};case")[":return function(t){var e=f(t);return e=h[1]};case"{}":return function(t){return-1!==h.indexOf(f(t))};case"}{":return function(t){return-1===h.indexOf(f(t))}}}(n,o.getDataToCoordFunc(t,e,s,r),d),y={},b={},w=0;_?(m=function(t){y[t.astr]=i.extendDeep([],t.get()),t.set(new Array(h))},v=function(t,e){var n=y[t.astr][e];t.get()[e]=n}):(m=function(t){y[t.astr]=i.extendDeep([],t.get()),t.set([])},v=function(t,e){var n=y[t.astr][e];t.get().push(n)}),C(m);for(var E=a(e.transforms,n),x=0;x1?"%{group} (%{trace})":"%{group}");var l=t.styles,u=a.styles=[];if(l)for(o=0;oh)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,f.prototype),e}function f(t,e,n){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return m(t)}return _(t,e,n)}function _(t,e,n){if("string"==typeof t)return function(t,e){if("string"==typeof e&&""!==e||(e="utf8"),!f.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var n=0|b(t,e),i=d(n),r=i.write(t,e);return r!==n&&(i=i.slice(0,r)),i}(t,e);if(ArrayBuffer.isView(t))return function(t){if(tt(t,Uint8Array)){var e=new Uint8Array(t);return g(e.buffer,e.byteOffset,e.byteLength)}return v(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+s(t));if(tt(t,ArrayBuffer)||t&&tt(t.buffer,ArrayBuffer))return g(t,e,n);if("undefined"!=typeof SharedArrayBuffer&&(tt(t,SharedArrayBuffer)||t&&tt(t.buffer,SharedArrayBuffer)))return g(t,e,n);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var i=t.valueOf&&t.valueOf();if(null!=i&&i!==t)return f.from(i,e,n);var r=function(t){if(f.isBuffer(t)){var e=0|y(t.length),n=d(e);return 0===n.length||t.copy(n,0,0,e),n}return void 0!==t.length?"number"!=typeof t.length||et(t.length)?d(0):v(t):"Buffer"===t.type&&Array.isArray(t.data)?v(t.data):void 0}(t);if(r)return r;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return f.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+s(t))}function p(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function m(t){return p(t),d(t<0?0:0|y(t))}function v(t){for(var e=t.length<0?0:0|y(t.length),n=d(e),i=0;i=h)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h.toString(16)+" bytes");return 0|t}function b(t,e){if(f.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||tt(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+s(t));var n=t.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Y(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(t).length;default:if(r)return i?-1:Y(t).length;e=(""+e).toLowerCase(),r=!0}}function w(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return $(this,e,n);case"utf8":case"utf-8":return I(this,e,n);case"ascii":return L(this,e,n);case"latin1":case"binary":return M(this,e,n);case"base64":return N(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function E(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function x(t,e,n,i,r){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),et(n=+n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof e&&(e=f.from(e,i)),f.isBuffer(e))return 0===e.length?-1:C(t,e,n,i,r);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):C(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function C(t,e,n,i,r){var o,a=1,s=t.length,l=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(r){var c=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var h=!0,d=0;dr&&(i=r):i=r;var o,a=e.length;for(i>a/2&&(i=a/2),o=0;o>8,r=n%256,o.push(r),o.push(i);return o}(e,t.length-n),t,n,i)}function N(t,e,n){return 0===e&&n===t.length?l.fromByteArray(t):l.fromByteArray(t.slice(e,n))}function I(t,e,n){n=Math.min(t.length,n);for(var i=[],r=e;r239?4:o>223?3:o>191?2:1;if(r+s<=n){var l=void 0,u=void 0,c=void 0,h=void 0;switch(s){case 1:o<128&&(a=o);break;case 2:128==(192&(l=t[r+1]))&&(h=(31&o)<<6|63&l)>127&&(a=h);break;case 3:l=t[r+1],u=t[r+2],128==(192&l)&&128==(192&u)&&(h=(15&o)<<12|(63&l)<<6|63&u)>2047&&(h<55296||h>57343)&&(a=h);break;case 4:l=t[r+1],u=t[r+2],c=t[r+3],128==(192&l)&&128==(192&u)&&128==(192&c)&&(h=(15&o)<<18|(63&l)<<12|(63&u)<<6|63&c)>65535&&h<1114112&&(a=h)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,i.push(a>>>10&1023|55296),a=56320|1023&a),i.push(a),r+=s}return function(t){var e=t.length;if(e<=O)return String.fromCharCode.apply(String,t);for(var n="",i=0;ii.length?(f.isBuffer(o)||(o=f.from(o)),o.copy(i,r)):Uint8Array.prototype.set.call(i,o,r);else{if(!f.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,r)}r+=o.length}return i},f.byteLength=b,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;en&&(t+=" ... "),""},c&&(f.prototype[c]=f.prototype.inspect),f.prototype.compare=function(t,e,n,i,r){if(tt(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),!f.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+s(t));if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(r>>>=0)-(i>>>=0),a=(n>>>=0)-(e>>>=0),l=Math.min(o,a),u=this.slice(i,r),c=t.slice(e,n),h=0;h>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return T(this,t,e,n);case"utf8":case"utf-8":return A(this,t,e,n);case"ascii":case"latin1":case"binary":return S(this,t,e,n);case"base64":return z(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function L(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;ri)&&(n=i);for(var r="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function U(t,e,n,i,r,o){if(!f.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function j(t,e,n,i,r){V(e,i,r,t,n,7);var o=Number(e&BigInt(4294967295));t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o;var a=Number(e>>BigInt(32)&BigInt(4294967295));return t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,n}function q(t,e,n,i,r){V(e,i,r,t,n,7);var o=Number(e&BigInt(4294967295));t[n+7]=o,o>>=8,t[n+6]=o,o>>=8,t[n+5]=o,o>>=8,t[n+4]=o;var a=Number(e>>BigInt(32)&BigInt(4294967295));return t[n+3]=a,a>>=8,t[n+2]=a,a>>=8,t[n+1]=a,a>>=8,t[n]=a,n+8}function D(t,e,n,i,r,o){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(t,e,n,i,r){return e=+e,n>>>=0,r||D(t,0,n,4),u.write(t,e,n,i,23,4),n+4}function F(t,e,n,i,r){return e=+e,n>>>=0,r||D(t,0,n,8),u.write(t,e,n,i,52,8),n+8}f.prototype.slice=function(t,e){var n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e>>=0,e>>>=0,n||P(t,e,this.length);for(var i=this[t],r=1,o=0;++o>>=0,e>>>=0,n||P(t,e,this.length);for(var i=this[t+--e],r=1;e>0&&(r*=256);)i+=this[t+--e]*r;return i},f.prototype.readUint8=f.prototype.readUInt8=function(t,e){return t>>>=0,e||P(t,1,this.length),this[t]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(t,e){return t>>>=0,e||P(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(t,e){return t>>>=0,e||P(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(t,e){return t>>>=0,e||P(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(t,e){return t>>>=0,e||P(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readBigUInt64LE=it((function(t){X(t>>>=0,"offset");var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||J(t,this.length-8);var i=e+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,24),r=this[++t]+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+n*Math.pow(2,24);return BigInt(i)+(BigInt(r)<>>=0,"offset");var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||J(t,this.length-8);var i=e*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t],r=this[++t]*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+n;return(BigInt(i)<>>=0,e>>>=0,n||P(t,e,this.length);for(var i=this[t],r=1,o=0;++o=(r*=128)&&(i-=Math.pow(2,8*e)),i},f.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||P(t,e,this.length);for(var i=e,r=1,o=this[t+--i];i>0&&(r*=256);)o+=this[t+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*e)),o},f.prototype.readInt8=function(t,e){return t>>>=0,e||P(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,e){t>>>=0,e||P(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt16BE=function(t,e){t>>>=0,e||P(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt32LE=function(t,e){return t>>>=0,e||P(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return t>>>=0,e||P(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readBigInt64LE=it((function(t){X(t>>>=0,"offset");var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||J(t,this.length-8);var i=this[t+4]+this[t+5]*Math.pow(2,8)+this[t+6]*Math.pow(2,16)+(n<<24);return(BigInt(i)<>>=0,"offset");var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||J(t,this.length-8);var i=(e<<24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t];return(BigInt(i)<>>=0,e||P(t,4,this.length),u.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return t>>>=0,e||P(t,4,this.length),u.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return t>>>=0,e||P(t,8,this.length),u.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return t>>>=0,e||P(t,8,this.length),u.read(this,t,!1,52,8)},f.prototype.writeUintLE=f.prototype.writeUIntLE=function(t,e,n,i){t=+t,e>>>=0,n>>>=0,i||U(this,t,e,n,Math.pow(2,8*n)-1,0);var r=1,o=0;for(this[e]=255&t;++o>>=0,n>>>=0,i||U(this,t,e,n,Math.pow(2,8*n)-1,0);var r=n-1,o=1;for(this[e+r]=255&t;--r>=0&&(o*=256);)this[e+r]=t/o&255;return e+n},f.prototype.writeUint8=f.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,1,255,0),this[e]=255&t,e+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},f.prototype.writeBigUInt64LE=it((function(t){return j(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),f.prototype.writeBigUInt64BE=it((function(t){return q(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),f.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e>>>=0,!i){var r=Math.pow(2,8*n-1);U(this,t,e,n,r-1,-r)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+n},f.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e>>>=0,!i){var r=Math.pow(2,8*n-1);U(this,t,e,n,r-1,-r)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},f.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},f.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},f.prototype.writeBigInt64LE=it((function(t){return j(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),f.prototype.writeBigInt64BE=it((function(t){return q(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),f.prototype.writeFloatLE=function(t,e,n){return B(this,t,e,!0,n)},f.prototype.writeFloatBE=function(t,e,n){return B(this,t,e,!1,n)},f.prototype.writeDoubleLE=function(t,e,n){return F(this,t,e,!0,n)},f.prototype.writeDoubleBE=function(t,e,n){return F(this,t,e,!1,n)},f.prototype.copy=function(t,e,n,i){if(!f.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o=i+4;n-=3)e="_".concat(t.slice(n-3,n)).concat(e);return"".concat(t.slice(0,n)).concat(e)}function V(t,e,n,i,r,o){if(t>n||t3?0===e||e===BigInt(0)?">= 0".concat(s," and < 2").concat(s," ** ").concat(8*(o+1)).concat(s):">= -(2".concat(s," ** ").concat(8*(o+1)-1).concat(s,") and < 2 ** ")+"".concat(8*(o+1)-1).concat(s):">= ".concat(e).concat(s," and <= ").concat(n).concat(s),new W.ERR_OUT_OF_RANGE("value",a,t)}!function(t,e,n){X(e,"offset"),void 0!==t[e]&&void 0!==t[e+n]||J(e,t.length-(n+1))}(i,r,o)}function X(t,e){if("number"!=typeof t)throw new W.ERR_INVALID_ARG_TYPE(e,"number",t)}function J(t,e,n){if(Math.floor(t)!==t)throw X(t,n),new W.ERR_OUT_OF_RANGE(n||"offset","an integer",t);if(e<0)throw new W.ERR_BUFFER_OUT_OF_BOUNDS;throw new W.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(e),t)}G("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?"".concat(t," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),G("ERR_INVALID_ARG_TYPE",(function(t,e){return'The "'.concat(t,'" argument must be of type number. Received type ').concat(s(e))}),TypeError),G("ERR_OUT_OF_RANGE",(function(t,e,n){var i='The value of "'.concat(t,'" is out of range.'),r=n;return Number.isInteger(n)&&Math.abs(n)>Math.pow(2,32)?r=H(String(n)):"bigint"==typeof n&&(r=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(r=H(r)),r+="n"),i+" It must be ".concat(e,". Received ").concat(r)}),RangeError);var Z=/[^+/0-9A-Za-z-_]/g;function Y(t,e){var n;e=e||1/0;for(var i=t.length,r=null,o=[],a=0;a55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===i){(e-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function K(t){return l.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(Z,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Q(t,e,n,i){var r;for(r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function tt(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function et(t){return t!=t}var nt=function(){for(var t="0123456789abcdef",e=new Array(256),n=0;n<16;++n)for(var i=16*n,r=0;r<16;++r)e[i+r]=t[n]+t[r];return e}();function it(t){return"undefined"==typeof BigInt?rt:t}function rt(){throw new Error("BigInt not supported")}},2321:function(t){"use strict";t.exports=r,t.exports.isMobile=r,t.exports.default=r;var e=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,n=/CrOS/,i=/android|ipad|playbook|silk/i;function r(t){t||(t={});var r=t.ua;if(r||"undefined"==typeof navigator||(r=navigator.userAgent),r&&r.headers&&"string"==typeof r.headers["user-agent"]&&(r=r.headers["user-agent"]),"string"!=typeof r)return!1;var o=e.test(r)&&!n.test(r)||!!t.tablet&&i.test(r);return!o&&t.tablet&&t.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==r.indexOf("Macintosh")&&-1!==r.indexOf("Safari")&&(o=!0),o}},3910:function(t,e){"use strict";e.byteLength=function(t){var e=s(t),n=e[0],i=e[1];return 3*(n+i)/4-i},e.toByteArray=function(t){var e,n,o=s(t),a=o[0],l=o[1],u=new r(function(t,e,n){return 3*(e+n)/4-n}(0,a,l)),c=0,h=l>0?a-4:a;for(n=0;n>16&255,u[c++]=e>>8&255,u[c++]=255&e;return 2===l&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,u[c++]=255&e),1===l&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,u[c++]=e>>8&255,u[c++]=255&e),u},e.fromByteArray=function(t){for(var e,i=t.length,r=i%3,o=[],a=16383,s=0,u=i-r;su?u:s+a));return 1===r?(e=t[i-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===r&&(e=(t[i-2]<<8)+t[i-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),o.join("")};for(var n=[],i=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],i[o.charCodeAt(a)]=a;function s(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 l(t,e,i){for(var r,o,a=[],s=e;s>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},3187:function(t,e){e.read=function(t,e,n,i,r){var o,a,s=8*r-i-1,l=(1<>1,c=-7,h=n?r-1:0,d=n?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+t[e+h],h+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=i;c>0;a=256*a+t[e+h],h+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,i),o-=u}return(f?-1:1)*a*Math.pow(2,o-i)},e.write=function(t,e,n,i,r,o){var a,s,l,u=8*o-r-1,c=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:o-1,_=i?1:-1,p=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+h>=1?d/l:d*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(e*l-1)*Math.pow(2,r),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),a=0));r>=8;t[n+f]=255&s,f+=_,s/=256,r-=8);for(a=a<0;t[n+f]=255&a,f+=_,a/=256,u-=8);t[n+f-_]|=128*p}},1152:function(t,e,n){"use strict";t.exports=function(t){var e=(t=t||{}).eye||[0,0,1],n=t.center||[0,0,0],s=t.up||[0,1,0],l=t.distanceLimits||[0,1/0],u=t.mode||"turntable",c=i(),h=r(),d=o();return c.setDistanceLimits(l[0],l[1]),c.lookAt(0,e,n,s),h.setDistanceLimits(l[0],l[1]),h.lookAt(0,e,n,s),d.setDistanceLimits(l[0],l[1]),d.lookAt(0,e,n,s),new a({turntable:c,orbit:h,matrix:d},u)};var i=n(3440),r=n(7774),o=n(9298);function a(t,e){this._controllerNames=Object.keys(t),this._controllerList=this._controllerNames.map((function(e){return t[e]})),this._mode=e,this._active=t[e],this._active||(this._mode="turntable",this._active=t.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var s=a.prototype;s.flush=function(t){for(var e=this._controllerList,n=0;n0?u=u.ushln(h):h<0&&(c=c.ushln(-h)),s(u,c)}},234:function(t,e,n){"use strict";var i=n(3218);t.exports=function(t){return Array.isArray(t)&&2===t.length&&i(t[0])&&i(t[1])}},4275:function(t,e,n){"use strict";var i=n(1928);t.exports=function(t){return t.cmp(new i(0))}},9958:function(t,e,n){"use strict";var i=n(4275);t.exports=function(t){var e=t.length,n=t.words,r=0;if(1===e)r=n[0];else if(2===e)r=n[0]+67108864*n[1];else for(var o=0;o20?52:n+32}},3218:function(t,e,n){"use strict";n(1928),t.exports=function(t){return t&&"object"==typeof t&&Boolean(t.words)}},5514:function(t,e,n){"use strict";var i=n(1928),r=n(8362);t.exports=function(t){var e=r.exponent(t);return e<52?new i(t):new i(t*Math.pow(2,52-e)).ushln(e-52)}},8524:function(t,e,n){"use strict";var i=n(5514),r=n(4275);t.exports=function(t,e){var n=r(t),o=r(e);if(0===n)return[i(0),i(1)];if(0===o)return[i(0),i(0)];o<0&&(t=t.neg(),e=e.neg());var a=t.gcd(e);return a.cmpn(1)?[t.div(a),e.div(a)]:[t,e]}},2813:function(t,e,n){"use strict";var i=n(1928);t.exports=function(t){return new i(t)}},3962:function(t,e,n){"use strict";var i=n(8524);t.exports=function(t,e){return i(t[0].mul(e[0]),t[1].mul(e[1]))}},4951:function(t,e,n){"use strict";var i=n(4275);t.exports=function(t){return i(t[0])*i(t[1])}},4354:function(t,e,n){"use strict";var i=n(8524);t.exports=function(t,e){return i(t[0].mul(e[1]).sub(t[1].mul(e[0])),t[1].mul(e[1]))}},7999:function(t,e,n){"use strict";var i=n(9958),r=n(1112);t.exports=function(t){var e=t[0],n=t[1];if(0===e.cmpn(0))return 0;var o=e.abs().divmod(n.abs()),a=o.div,s=i(a),l=o.mod,u=e.negative!==n.negative?-1:1;if(0===l.cmpn(0))return u*s;if(s){var c=r(s)+4;return u*(s+(d=i(l.ushln(c).divRound(n)))*Math.pow(2,-c))}var h=n.bitLength()-l.bitLength()+53,d=i(l.ushln(h).divRound(n));return h<1023?u*d*Math.pow(2,-h):u*(d*=Math.pow(2,-1023))*Math.pow(2,1023-h)}},5070:function(t){"use strict";function e(t,e,n,i,r){for(var o=r+1;i<=r;){var a=i+r>>>1,s=t[a];(void 0!==n?n(s,e):s-e)>=0?(o=a,r=a-1):i=a+1}return o}function n(t,e,n,i,r){for(var o=r+1;i<=r;){var a=i+r>>>1,s=t[a];(void 0!==n?n(s,e):s-e)>0?(o=a,r=a-1):i=a+1}return o}function i(t,e,n,i,r){for(var o=i-1;i<=r;){var a=i+r>>>1,s=t[a];(void 0!==n?n(s,e):s-e)<0?(o=a,i=a+1):r=a-1}return o}function r(t,e,n,i,r){for(var o=i-1;i<=r;){var a=i+r>>>1,s=t[a];(void 0!==n?n(s,e):s-e)<=0?(o=a,i=a+1):r=a-1}return o}function o(t,e,n,i,r){for(;i<=r;){var o=i+r>>>1,a=t[o],s=void 0!==n?n(a,e):a-e;if(0===s)return o;s<=0?i=o+1:r=o-1}return-1}function a(t,e,n,i,r,o){return"function"==typeof n?o(t,e,n,void 0===i?0:0|i,void 0===r?t.length-1:0|r):o(t,e,void 0,void 0===n?0:0|n,void 0===i?t.length-1:0|i)}t.exports={ge:function(t,n,i,r,o){return a(t,n,i,r,o,e)},gt:function(t,e,i,r,o){return a(t,e,i,r,o,n)},lt:function(t,e,n,r,o){return a(t,e,n,r,o,i)},le:function(t,e,n,i,o){return a(t,e,n,i,o,r)},eq:function(t,e,n,i,r){return a(t,e,n,i,r,o)}}},2288:function(t,e){"use strict";function n(t){var e=32;return(t&=-t)&&e--,65535&t&&(e-=16),16711935&t&&(e-=8),252645135&t&&(e-=4),858993459&t&&(e-=2),1431655765&t&&(e-=1),e}e.INT_BITS=32,e.INT_MAX=2147483647,e.INT_MIN=-1<<31,e.sign=function(t){return(t>0)-(t<0)},e.abs=function(t){var e=t>>31;return(t^e)-e},e.min=function(t,e){return e^(t^e)&-(t65535)<<4,e|=n=((t>>>=e)>255)<<3,e|=n=((t>>>=n)>15)<<2,(e|=n=((t>>>=n)>3)<<1)|(t>>>=n)>>1},e.log10=function(t){return t>=1e9?9:t>=1e8?8:t>=1e7?7:t>=1e6?6:t>=1e5?5:t>=1e4?4:t>=1e3?3:t>=100?2:t>=10?1:0},e.popCount=function(t){return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24},e.countTrailingZeros=n,e.nextPow2=function(t){return t+=0===t,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,1+((t|=t>>>8)|t>>>16)},e.prevPow2=function(t){return t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)-(t>>>1)},e.parity=function(t){return t^=t>>>16,t^=t>>>8,t^=t>>>4,27030>>>(t&=15)&1};var i=new Array(256);!function(t){for(var e=0;e<256;++e){var n=e,i=e,r=7;for(n>>>=1;n;n>>>=1)i<<=1,i|=1&n,--r;t[e]=i<>>8&255]<<16|i[t>>>16&255]<<8|i[t>>>24&255]},e.interleave2=function(t,e){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t&=65535)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e&=65535)|e<<8))|e<<4))|e<<2))|e<<1))<<1},e.deinterleave2=function(t,e){return(t=65535&((t=16711935&((t=252645135&((t=858993459&((t=t>>>e&1431655765)|t>>>1))|t>>>2))|t>>>4))|t>>>16))<<16>>16},e.interleave3=function(t,e,n){return t=1227133513&((t=3272356035&((t=251719695&((t=4278190335&((t&=1023)|t<<16))|t<<8))|t<<4))|t<<2),(t|=(e=1227133513&((e=3272356035&((e=251719695&((e=4278190335&((e&=1023)|e<<16))|e<<8))|e<<4))|e<<2))<<1)|(n=1227133513&((n=3272356035&((n=251719695&((n=4278190335&((n&=1023)|n<<16))|n<<8))|n<<4))|n<<2))<<2},e.deinterleave3=function(t,e){return(t=1023&((t=4278190335&((t=251719695&((t=3272356035&((t=t>>>e&1227133513)|t>>>2))|t>>>4))|t>>>8))|t>>>16))<<22>>22},e.nextCombination=function(t){var e=t|t-1;return e+1|(~e&-~e)-1>>>n(t)+1}},1928:function(t,e,n){!function(t,e){"use strict";function i(t,e){if(!t)throw new Error(e||"Assertion failed")}function r(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(6601).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,e,n){var i=s(t,n);return n-1>=e&&(i|=s(t,n-1)<<4),i}function u(t,e,n,i){for(var r=0,o=Math.min(t.length,n),a=e;a=49?s-49+10:s>=17?s-17+10:s}return r}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),i(e===(0|e)&&e>=2&&e<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;r-=3)a=t[r]|t[r-1]<<8|t[r-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(r=0,o=0;r>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i=e;i-=2)r=l(t,e,i)<=18?(o-=18,a+=1,this.words[a]|=r>>>26):o+=8;else for(i=(t.length-e)%2==0?e+1:e;i=18?(o-=18,a+=1,this.words[a]|=r>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var i=0,r=1;r<=67108863;r*=e)i++;i--,r=r/e|0;for(var o=t.length-n,a=o%i,s=Math.min(o,o-a)+n,l=0,c=n;c1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(t,e,n){n.negative=e.negative^t.negative;var i=t.length+e.length|0;n.length=i,i=i-1|0;var r=0|t.words[0],o=0|e.words[0],a=r*o,s=67108863&a,l=a/67108864|0;n.words[0]=s;for(var u=1;u>>26,h=67108863&l,d=Math.min(u,e.length-1),f=Math.max(0,u-t.length+1);f<=d;f++){var _=u-f|0;c+=(a=(r=0|t.words[_])*(o=0|e.words[f])+h)/67108864|0,h=67108863&a}n.words[u]=0|h,l=0|c}return 0!==l?n.words[u]=0|l:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var r=0,o=0,a=0;a>>24-r&16777215)||a!==this.length-1?c[6-l.length]+l+n:l+n,(r+=2)>=26&&(r-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var u=h[t],f=d[t];n="";var _=this.clone();for(_.negative=0;!_.isZero();){var p=_.modn(f).toString(t);n=(_=_.idivn(f)).isZero()?p+n:c[u-p.length]+p+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}i(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return i(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var r=this.byteLength(),o=n||Math.max(1,r);i(r<=o,"byte array longer than desired length"),i(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===e,u=new t(o),c=this.clone();if(l){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[s]=a;for(;s=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var i=0;it.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){i("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var r=0;r0&&(this.words[r]=~this.words[r]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){i("number"==typeof t&&t>=0);var n=t/26|0,r=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<t.length?(n=this,i=t):(n=t,i=this);for(var r=0,o=0;o>>26;for(;0!==r&&o>>26;if(this.length=n.length,0!==r)this.words[this.length]=r,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,i,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(n=this,i=t):(n=t,i=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,f=0|a[1],_=8191&f,p=f>>>13,m=0|a[2],v=8191&m,g=m>>>13,y=0|a[3],b=8191&y,w=y>>>13,E=0|a[4],x=8191&E,C=E>>>13,T=0|a[5],A=8191&T,S=T>>>13,z=0|a[6],k=8191&z,N=z>>>13,I=0|a[7],O=8191&I,L=I>>>13,M=0|a[8],$=8191&M,R=M>>>13,P=0|a[9],U=8191&P,j=P>>>13,q=0|s[0],D=8191&q,B=q>>>13,F=0|s[1],W=8191&F,G=F>>>13,H=0|s[2],V=8191&H,X=H>>>13,J=0|s[3],Z=8191&J,Y=J>>>13,K=0|s[4],Q=8191&K,tt=K>>>13,et=0|s[5],nt=8191&et,it=et>>>13,rt=0|s[6],ot=8191&rt,at=rt>>>13,st=0|s[7],lt=8191&st,ut=st>>>13,ct=0|s[8],ht=8191&ct,dt=ct>>>13,ft=0|s[9],_t=8191&ft,pt=ft>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(u+(i=Math.imul(h,D))|0)+((8191&(r=(r=Math.imul(h,B))+Math.imul(d,D)|0))<<13)|0;u=((o=Math.imul(d,B))+(r>>>13)|0)+(mt>>>26)|0,mt&=67108863,i=Math.imul(_,D),r=(r=Math.imul(_,B))+Math.imul(p,D)|0,o=Math.imul(p,B);var vt=(u+(i=i+Math.imul(h,W)|0)|0)+((8191&(r=(r=r+Math.imul(h,G)|0)+Math.imul(d,W)|0))<<13)|0;u=((o=o+Math.imul(d,G)|0)+(r>>>13)|0)+(vt>>>26)|0,vt&=67108863,i=Math.imul(v,D),r=(r=Math.imul(v,B))+Math.imul(g,D)|0,o=Math.imul(g,B),i=i+Math.imul(_,W)|0,r=(r=r+Math.imul(_,G)|0)+Math.imul(p,W)|0,o=o+Math.imul(p,G)|0;var gt=(u+(i=i+Math.imul(h,V)|0)|0)+((8191&(r=(r=r+Math.imul(h,X)|0)+Math.imul(d,V)|0))<<13)|0;u=((o=o+Math.imul(d,X)|0)+(r>>>13)|0)+(gt>>>26)|0,gt&=67108863,i=Math.imul(b,D),r=(r=Math.imul(b,B))+Math.imul(w,D)|0,o=Math.imul(w,B),i=i+Math.imul(v,W)|0,r=(r=r+Math.imul(v,G)|0)+Math.imul(g,W)|0,o=o+Math.imul(g,G)|0,i=i+Math.imul(_,V)|0,r=(r=r+Math.imul(_,X)|0)+Math.imul(p,V)|0,o=o+Math.imul(p,X)|0;var yt=(u+(i=i+Math.imul(h,Z)|0)|0)+((8191&(r=(r=r+Math.imul(h,Y)|0)+Math.imul(d,Z)|0))<<13)|0;u=((o=o+Math.imul(d,Y)|0)+(r>>>13)|0)+(yt>>>26)|0,yt&=67108863,i=Math.imul(x,D),r=(r=Math.imul(x,B))+Math.imul(C,D)|0,o=Math.imul(C,B),i=i+Math.imul(b,W)|0,r=(r=r+Math.imul(b,G)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,G)|0,i=i+Math.imul(v,V)|0,r=(r=r+Math.imul(v,X)|0)+Math.imul(g,V)|0,o=o+Math.imul(g,X)|0,i=i+Math.imul(_,Z)|0,r=(r=r+Math.imul(_,Y)|0)+Math.imul(p,Z)|0,o=o+Math.imul(p,Y)|0;var bt=(u+(i=i+Math.imul(h,Q)|0)|0)+((8191&(r=(r=r+Math.imul(h,tt)|0)+Math.imul(d,Q)|0))<<13)|0;u=((o=o+Math.imul(d,tt)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863,i=Math.imul(A,D),r=(r=Math.imul(A,B))+Math.imul(S,D)|0,o=Math.imul(S,B),i=i+Math.imul(x,W)|0,r=(r=r+Math.imul(x,G)|0)+Math.imul(C,W)|0,o=o+Math.imul(C,G)|0,i=i+Math.imul(b,V)|0,r=(r=r+Math.imul(b,X)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,X)|0,i=i+Math.imul(v,Z)|0,r=(r=r+Math.imul(v,Y)|0)+Math.imul(g,Z)|0,o=o+Math.imul(g,Y)|0,i=i+Math.imul(_,Q)|0,r=(r=r+Math.imul(_,tt)|0)+Math.imul(p,Q)|0,o=o+Math.imul(p,tt)|0;var wt=(u+(i=i+Math.imul(h,nt)|0)|0)+((8191&(r=(r=r+Math.imul(h,it)|0)+Math.imul(d,nt)|0))<<13)|0;u=((o=o+Math.imul(d,it)|0)+(r>>>13)|0)+(wt>>>26)|0,wt&=67108863,i=Math.imul(k,D),r=(r=Math.imul(k,B))+Math.imul(N,D)|0,o=Math.imul(N,B),i=i+Math.imul(A,W)|0,r=(r=r+Math.imul(A,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,i=i+Math.imul(x,V)|0,r=(r=r+Math.imul(x,X)|0)+Math.imul(C,V)|0,o=o+Math.imul(C,X)|0,i=i+Math.imul(b,Z)|0,r=(r=r+Math.imul(b,Y)|0)+Math.imul(w,Z)|0,o=o+Math.imul(w,Y)|0,i=i+Math.imul(v,Q)|0,r=(r=r+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,i=i+Math.imul(_,nt)|0,r=(r=r+Math.imul(_,it)|0)+Math.imul(p,nt)|0,o=o+Math.imul(p,it)|0;var Et=(u+(i=i+Math.imul(h,ot)|0)|0)+((8191&(r=(r=r+Math.imul(h,at)|0)+Math.imul(d,ot)|0))<<13)|0;u=((o=o+Math.imul(d,at)|0)+(r>>>13)|0)+(Et>>>26)|0,Et&=67108863,i=Math.imul(O,D),r=(r=Math.imul(O,B))+Math.imul(L,D)|0,o=Math.imul(L,B),i=i+Math.imul(k,W)|0,r=(r=r+Math.imul(k,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,i=i+Math.imul(A,V)|0,r=(r=r+Math.imul(A,X)|0)+Math.imul(S,V)|0,o=o+Math.imul(S,X)|0,i=i+Math.imul(x,Z)|0,r=(r=r+Math.imul(x,Y)|0)+Math.imul(C,Z)|0,o=o+Math.imul(C,Y)|0,i=i+Math.imul(b,Q)|0,r=(r=r+Math.imul(b,tt)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,tt)|0,i=i+Math.imul(v,nt)|0,r=(r=r+Math.imul(v,it)|0)+Math.imul(g,nt)|0,o=o+Math.imul(g,it)|0,i=i+Math.imul(_,ot)|0,r=(r=r+Math.imul(_,at)|0)+Math.imul(p,ot)|0,o=o+Math.imul(p,at)|0;var xt=(u+(i=i+Math.imul(h,lt)|0)|0)+((8191&(r=(r=r+Math.imul(h,ut)|0)+Math.imul(d,lt)|0))<<13)|0;u=((o=o+Math.imul(d,ut)|0)+(r>>>13)|0)+(xt>>>26)|0,xt&=67108863,i=Math.imul($,D),r=(r=Math.imul($,B))+Math.imul(R,D)|0,o=Math.imul(R,B),i=i+Math.imul(O,W)|0,r=(r=r+Math.imul(O,G)|0)+Math.imul(L,W)|0,o=o+Math.imul(L,G)|0,i=i+Math.imul(k,V)|0,r=(r=r+Math.imul(k,X)|0)+Math.imul(N,V)|0,o=o+Math.imul(N,X)|0,i=i+Math.imul(A,Z)|0,r=(r=r+Math.imul(A,Y)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,Y)|0,i=i+Math.imul(x,Q)|0,r=(r=r+Math.imul(x,tt)|0)+Math.imul(C,Q)|0,o=o+Math.imul(C,tt)|0,i=i+Math.imul(b,nt)|0,r=(r=r+Math.imul(b,it)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,it)|0,i=i+Math.imul(v,ot)|0,r=(r=r+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,i=i+Math.imul(_,lt)|0,r=(r=r+Math.imul(_,ut)|0)+Math.imul(p,lt)|0,o=o+Math.imul(p,ut)|0;var Ct=(u+(i=i+Math.imul(h,ht)|0)|0)+((8191&(r=(r=r+Math.imul(h,dt)|0)+Math.imul(d,ht)|0))<<13)|0;u=((o=o+Math.imul(d,dt)|0)+(r>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,i=Math.imul(U,D),r=(r=Math.imul(U,B))+Math.imul(j,D)|0,o=Math.imul(j,B),i=i+Math.imul($,W)|0,r=(r=r+Math.imul($,G)|0)+Math.imul(R,W)|0,o=o+Math.imul(R,G)|0,i=i+Math.imul(O,V)|0,r=(r=r+Math.imul(O,X)|0)+Math.imul(L,V)|0,o=o+Math.imul(L,X)|0,i=i+Math.imul(k,Z)|0,r=(r=r+Math.imul(k,Y)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,Y)|0,i=i+Math.imul(A,Q)|0,r=(r=r+Math.imul(A,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,i=i+Math.imul(x,nt)|0,r=(r=r+Math.imul(x,it)|0)+Math.imul(C,nt)|0,o=o+Math.imul(C,it)|0,i=i+Math.imul(b,ot)|0,r=(r=r+Math.imul(b,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,i=i+Math.imul(v,lt)|0,r=(r=r+Math.imul(v,ut)|0)+Math.imul(g,lt)|0,o=o+Math.imul(g,ut)|0,i=i+Math.imul(_,ht)|0,r=(r=r+Math.imul(_,dt)|0)+Math.imul(p,ht)|0,o=o+Math.imul(p,dt)|0;var Tt=(u+(i=i+Math.imul(h,_t)|0)|0)+((8191&(r=(r=r+Math.imul(h,pt)|0)+Math.imul(d,_t)|0))<<13)|0;u=((o=o+Math.imul(d,pt)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,i=Math.imul(U,W),r=(r=Math.imul(U,G))+Math.imul(j,W)|0,o=Math.imul(j,G),i=i+Math.imul($,V)|0,r=(r=r+Math.imul($,X)|0)+Math.imul(R,V)|0,o=o+Math.imul(R,X)|0,i=i+Math.imul(O,Z)|0,r=(r=r+Math.imul(O,Y)|0)+Math.imul(L,Z)|0,o=o+Math.imul(L,Y)|0,i=i+Math.imul(k,Q)|0,r=(r=r+Math.imul(k,tt)|0)+Math.imul(N,Q)|0,o=o+Math.imul(N,tt)|0,i=i+Math.imul(A,nt)|0,r=(r=r+Math.imul(A,it)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,it)|0,i=i+Math.imul(x,ot)|0,r=(r=r+Math.imul(x,at)|0)+Math.imul(C,ot)|0,o=o+Math.imul(C,at)|0,i=i+Math.imul(b,lt)|0,r=(r=r+Math.imul(b,ut)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,ut)|0,i=i+Math.imul(v,ht)|0,r=(r=r+Math.imul(v,dt)|0)+Math.imul(g,ht)|0,o=o+Math.imul(g,dt)|0;var At=(u+(i=i+Math.imul(_,_t)|0)|0)+((8191&(r=(r=r+Math.imul(_,pt)|0)+Math.imul(p,_t)|0))<<13)|0;u=((o=o+Math.imul(p,pt)|0)+(r>>>13)|0)+(At>>>26)|0,At&=67108863,i=Math.imul(U,V),r=(r=Math.imul(U,X))+Math.imul(j,V)|0,o=Math.imul(j,X),i=i+Math.imul($,Z)|0,r=(r=r+Math.imul($,Y)|0)+Math.imul(R,Z)|0,o=o+Math.imul(R,Y)|0,i=i+Math.imul(O,Q)|0,r=(r=r+Math.imul(O,tt)|0)+Math.imul(L,Q)|0,o=o+Math.imul(L,tt)|0,i=i+Math.imul(k,nt)|0,r=(r=r+Math.imul(k,it)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,it)|0,i=i+Math.imul(A,ot)|0,r=(r=r+Math.imul(A,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,i=i+Math.imul(x,lt)|0,r=(r=r+Math.imul(x,ut)|0)+Math.imul(C,lt)|0,o=o+Math.imul(C,ut)|0,i=i+Math.imul(b,ht)|0,r=(r=r+Math.imul(b,dt)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,dt)|0;var St=(u+(i=i+Math.imul(v,_t)|0)|0)+((8191&(r=(r=r+Math.imul(v,pt)|0)+Math.imul(g,_t)|0))<<13)|0;u=((o=o+Math.imul(g,pt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,i=Math.imul(U,Z),r=(r=Math.imul(U,Y))+Math.imul(j,Z)|0,o=Math.imul(j,Y),i=i+Math.imul($,Q)|0,r=(r=r+Math.imul($,tt)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,tt)|0,i=i+Math.imul(O,nt)|0,r=(r=r+Math.imul(O,it)|0)+Math.imul(L,nt)|0,o=o+Math.imul(L,it)|0,i=i+Math.imul(k,ot)|0,r=(r=r+Math.imul(k,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,i=i+Math.imul(A,lt)|0,r=(r=r+Math.imul(A,ut)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,ut)|0,i=i+Math.imul(x,ht)|0,r=(r=r+Math.imul(x,dt)|0)+Math.imul(C,ht)|0,o=o+Math.imul(C,dt)|0;var zt=(u+(i=i+Math.imul(b,_t)|0)|0)+((8191&(r=(r=r+Math.imul(b,pt)|0)+Math.imul(w,_t)|0))<<13)|0;u=((o=o+Math.imul(w,pt)|0)+(r>>>13)|0)+(zt>>>26)|0,zt&=67108863,i=Math.imul(U,Q),r=(r=Math.imul(U,tt))+Math.imul(j,Q)|0,o=Math.imul(j,tt),i=i+Math.imul($,nt)|0,r=(r=r+Math.imul($,it)|0)+Math.imul(R,nt)|0,o=o+Math.imul(R,it)|0,i=i+Math.imul(O,ot)|0,r=(r=r+Math.imul(O,at)|0)+Math.imul(L,ot)|0,o=o+Math.imul(L,at)|0,i=i+Math.imul(k,lt)|0,r=(r=r+Math.imul(k,ut)|0)+Math.imul(N,lt)|0,o=o+Math.imul(N,ut)|0,i=i+Math.imul(A,ht)|0,r=(r=r+Math.imul(A,dt)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,dt)|0;var kt=(u+(i=i+Math.imul(x,_t)|0)|0)+((8191&(r=(r=r+Math.imul(x,pt)|0)+Math.imul(C,_t)|0))<<13)|0;u=((o=o+Math.imul(C,pt)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,i=Math.imul(U,nt),r=(r=Math.imul(U,it))+Math.imul(j,nt)|0,o=Math.imul(j,it),i=i+Math.imul($,ot)|0,r=(r=r+Math.imul($,at)|0)+Math.imul(R,ot)|0,o=o+Math.imul(R,at)|0,i=i+Math.imul(O,lt)|0,r=(r=r+Math.imul(O,ut)|0)+Math.imul(L,lt)|0,o=o+Math.imul(L,ut)|0,i=i+Math.imul(k,ht)|0,r=(r=r+Math.imul(k,dt)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,dt)|0;var Nt=(u+(i=i+Math.imul(A,_t)|0)|0)+((8191&(r=(r=r+Math.imul(A,pt)|0)+Math.imul(S,_t)|0))<<13)|0;u=((o=o+Math.imul(S,pt)|0)+(r>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,i=Math.imul(U,ot),r=(r=Math.imul(U,at))+Math.imul(j,ot)|0,o=Math.imul(j,at),i=i+Math.imul($,lt)|0,r=(r=r+Math.imul($,ut)|0)+Math.imul(R,lt)|0,o=o+Math.imul(R,ut)|0,i=i+Math.imul(O,ht)|0,r=(r=r+Math.imul(O,dt)|0)+Math.imul(L,ht)|0,o=o+Math.imul(L,dt)|0;var It=(u+(i=i+Math.imul(k,_t)|0)|0)+((8191&(r=(r=r+Math.imul(k,pt)|0)+Math.imul(N,_t)|0))<<13)|0;u=((o=o+Math.imul(N,pt)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,i=Math.imul(U,lt),r=(r=Math.imul(U,ut))+Math.imul(j,lt)|0,o=Math.imul(j,ut),i=i+Math.imul($,ht)|0,r=(r=r+Math.imul($,dt)|0)+Math.imul(R,ht)|0,o=o+Math.imul(R,dt)|0;var Ot=(u+(i=i+Math.imul(O,_t)|0)|0)+((8191&(r=(r=r+Math.imul(O,pt)|0)+Math.imul(L,_t)|0))<<13)|0;u=((o=o+Math.imul(L,pt)|0)+(r>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,i=Math.imul(U,ht),r=(r=Math.imul(U,dt))+Math.imul(j,ht)|0,o=Math.imul(j,dt);var Lt=(u+(i=i+Math.imul($,_t)|0)|0)+((8191&(r=(r=r+Math.imul($,pt)|0)+Math.imul(R,_t)|0))<<13)|0;u=((o=o+Math.imul(R,pt)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863;var Mt=(u+(i=Math.imul(U,_t))|0)+((8191&(r=(r=Math.imul(U,pt))+Math.imul(j,_t)|0))<<13)|0;return u=((o=Math.imul(j,pt))+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,l[0]=mt,l[1]=vt,l[2]=gt,l[3]=yt,l[4]=bt,l[5]=wt,l[6]=Et,l[7]=xt,l[8]=Ct,l[9]=Tt,l[10]=At,l[11]=St,l[12]=zt,l[13]=kt,l[14]=Nt,l[15]=It,l[16]=Ot,l[17]=Lt,l[18]=Mt,0!==u&&(l[19]=u,n.length++),n};function p(t,e,n){return(new m).mulp(t,e,n)}function m(t,e){this.x=t,this.y=e}Math.imul||(_=f),o.prototype.mulTo=function(t,e){var n,i=this.length+t.length;return n=10===this.length&&10===t.length?_(this,t,e):i<63?f(this,t,e):i<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var i=0,r=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,i=a,a=r}return 0!==i?n.words[o]=i:n.length--,n.strip()}(this,t,e):p(this,t,e),n},m.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,i=0;i>=1;return i},m.prototype.permute=function(t,e,n,i,r,o){for(var a=0;a>>=1)r++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=r/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>r}return e}(t);if(0===e.length)return new o(1);for(var n=this,i=0;i=0);var e,n=t%26,r=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==r){for(e=this.length-1;e>=0;e--)this.words[e+r]=this.words[e];for(e=0;e=0),r=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,u=0;u=0&&(0!==c||u>=r);u--){var h=0|this.words[u];this.words[u]=c<<26-o|h>>>o,c=h&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return i(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){i("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,r=1<=0);var e=t%26,n=(t-e)/26;if(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var r=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(i("number"==typeof t),i(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(l/67108864|0),this.words[r+n]=67108863&o}for(;r>26,this.words[r+n]=67108863&o;if(0===s)return this.strip();for(i(-1===s),s=0,r=0;r>26,this.words[r]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),i=this.clone(),r=t,a=0|r.words[r.length-1];0!=(n=26-this._countBits(a))&&(r=r.ushln(n),i.iushln(n),a=0|r.words[r.length-1]);var s,l=i.length-r.length;if("mod"!==e){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var u=0;u=0;h--){var d=67108864*(0|i.words[r.length+h])+(0|i.words[r.length+h-1]);for(d=Math.min(d/a|0,67108863),i._ishlnsubmul(r,d,h);0!==i.negative;)d--,i.negative=0,i._ishlnsubmul(r,1,h),i.isZero()||(i.negative^=1);s&&(s.words[h]=d)}return s&&s.strip(),i.strip(),"div"!==e&&0!==n&&i.iushrn(n),{div:s||null,mod:i}},o.prototype.divmod=function(t,e,n){return i(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(r=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:r,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(r=s.div.neg()),{div:r,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var r,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,i=t.ushrn(1),r=t.andln(1),o=n.cmp(i);return o<0||1===r&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){i(t<=67108863);for(var e=(1<<26)%t,n=0,r=this.length-1;r>=0;r--)n=(e*n+(0|this.words[r]))%t;return n},o.prototype.idivn=function(t){i(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var r=(0|this.words[n])+67108864*e;this.words[n]=r/t|0,e=r%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){i(0===t.negative),i(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var r=new o(1),a=new o(0),s=new o(0),l=new o(1),u=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++u;for(var c=n.clone(),h=e.clone();!e.isZero();){for(var d=0,f=1;0==(e.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(r.isOdd()||a.isOdd())&&(r.iadd(c),a.isub(h)),r.iushrn(1),a.iushrn(1);for(var _=0,p=1;0==(n.words[0]&p)&&_<26;++_,p<<=1);if(_>0)for(n.iushrn(_);_-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(h)),s.iushrn(1),l.iushrn(1);e.cmp(n)>=0?(e.isub(n),r.isub(s),a.isub(l)):(n.isub(e),s.isub(r),l.isub(a))}return{a:s,b:l,gcd:n.iushln(u)}},o.prototype._invmp=function(t){i(0===t.negative),i(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var r,a=new o(1),s=new o(0),l=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var u=0,c=1;0==(e.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var h=0,d=1;0==(n.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(r=0===e.cmpn(1)?a:s).cmpn(0)<0&&r.iadd(t),r},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var i=0;e.isEven()&&n.isEven();i++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var r=e.cmp(n);if(r<0){var o=e;e=n,n=o}else if(0===r||0===n.cmpn(1))break;e.isub(n)}return n.iushln(i)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){i("number"==typeof t);var e=t%26,n=(t-e)/26,r=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),i(t<=67108863,"Number is too big");var r=0|this.words[0];e=r===t?0:rt.length)return 1;if(this.length=0;n--){var i=0|this.words[n],r=0|t.words[n];if(i!==r){ir&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new x(t)},o.prototype.toRed=function(t){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return i(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return i(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function b(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function x(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else i(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function C(t){x.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var i=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},r(y,g),y.prototype.split=function(t,e){for(var n=4194303,i=Math.min(t.length,9),r=0;r>>22,o=a}o>>>=22,t.words[r-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=r,e=i}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new b;else if("p192"===t)e=new w;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new E}return v[t]=e,e},x.prototype._verify1=function(t){i(0===t.negative,"red works only with positives"),i(t.red,"red works only with red numbers")},x.prototype._verify2=function(t,e){i(0==(t.negative|e.negative),"red works only with positives"),i(t.red&&t.red===e.red,"red works only with red numbers")},x.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},x.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},x.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},x.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},x.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},x.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},x.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},x.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},x.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},x.prototype.isqr=function(t){return this.imul(t,t.clone())},x.prototype.sqr=function(t){return this.mul(t,t)},x.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(i(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var r=this.m.subn(1),a=0;!r.isZero()&&0===r.andln(1);)a++,r.iushrn(1);i(!r.isZero());var s=new o(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(l);)c.redIAdd(l);for(var h=this.pow(c,r),d=this.pow(t,r.addn(1).iushrn(1)),f=this.pow(t,r),_=a;0!==f.cmp(s);){for(var p=f,m=0;0!==p.cmp(s);m++)p=p.redSqr();i(m<_);var v=this.pow(h,new o(1).iushln(_-m-1));d=d.redMul(v),h=v.redSqr(),f=f.redMul(h),_=m}return d},x.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},x.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=t;for(var i=2;i=0;i--){for(var u=e.words[i],c=l-1;c>=0;c--){var h=u>>c&1;r!==n[0]&&(r=this.sqr(r)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===i&&0===c)&&(r=this.mul(r,n[a]),s=0,a=0)):s=0}l=26}return r},x.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},x.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new C(t)},r(C,x),C.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},C.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},C.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),o=r;return r.cmp(this.m)>=0?o=r.isub(this.m):r.cmpn(0)<0&&(o=r.iadd(this.m)),o._forceRed(this)},C.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=n.isub(i).iushrn(this.shift),a=r;return r.cmp(this.m)>=0?a=r.isub(this.m):r.cmpn(0)<0&&(a=r.iadd(this.m)),a._forceRed(this)},C.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},2692:function(t){"use strict";t.exports=function(t){var e,n,i,r=t.length,o=0;for(e=0;e>>1;if(!(c<=0)){var h,d=r.mallocDouble(2*c*s),f=r.mallocInt32(s);if((s=l(t,c,d,f))>0){if(1===c&&i)o.init(s),h=o.sweepComplete(c,n,0,s,d,f,0,s,d,f);else{var _=r.mallocDouble(2*c*u),p=r.mallocInt32(u);(u=l(e,c,_,p))>0&&(o.init(s+u),h=1===c?o.sweepBipartite(c,n,0,s,d,f,0,u,_,p):a(c,n,i,s,d,f,u,_,p),r.free(_),r.free(p))}r.free(d),r.free(f)}return h}}}function c(t,e){i.push([t,e])}},7333:function(t,e){"use strict";function n(t){return t?function(t,e,n,i,r,o,a,s,l,u,c){return r-i>l-s?function(t,e,n,i,r,o,a,s,l,u,c){for(var h=2*t,d=i,f=h*i;du-l?i?function(t,e,n,i,r,o,a,s,l,u,c){for(var h=2*t,d=i,f=h*i;d0;){var M=(O-=1)*b,$=E[M],R=E[M+1],P=E[M+2],U=E[M+3],j=E[M+4],q=E[M+5],D=O*w,B=x[D],F=x[D+1],W=1&q,G=!!(16&q),H=c,V=S,X=k,J=N;if(W&&(H=k,V=N,X=c,J=S),!(2&q&&R>=(P=m(t,$,R,P,H,V,F))||4&q&&(R=v(t,$,R,P,H,V,B))>=P)){var Z=P-R,Y=j-U;if(G){if(t*Z*(Z+Y)=p0)&&!(p1>=hi)"),p=c("lo===p0"),m=c("lo>>1,d=2*t,f=h,_=s[d*h+e];u=y?(f=g,_=y):v>=w?(f=m,_=v):(f=b,_=w):y>=w?(f=g,_=y):w>=v?(f=m,_=v):(f=b,_=w);for(var E=d*(c-1),x=d*f,C=0;Cn&&r[h+e]>u;--c,h-=a){for(var d=h,f=h+a,_=0;_d;++d,l+=s)if(r[l+h]===a)if(c===d)c+=1,u+=s;else{for(var f=0;s>f;++f){var _=r[l+f];r[l+f]=r[u],r[u++]=_}var p=o[d];o[d]=o[c],o[c++]=p}return c},"lod;++d,l+=s)if(r[l+h]f;++f){var _=r[l+f];r[l+f]=r[u],r[u++]=_}var p=o[d];o[d]=o[c],o[c++]=p}return c},"lo<=p0":function(t,e,n,i,r,o,a){for(var s=2*t,l=s*n,u=l,c=n,h=t+e,d=n;i>d;++d,l+=s)if(r[l+h]<=a)if(c===d)c+=1,u+=s;else{for(var f=0;s>f;++f){var _=r[l+f];r[l+f]=r[u],r[u++]=_}var p=o[d];o[d]=o[c],o[c++]=p}return c},"hi<=p0":function(t,e,n,i,r,o,a){for(var s=2*t,l=s*n,u=l,c=n,h=t+e,d=n;i>d;++d,l+=s)if(r[l+h]<=a)if(c===d)c+=1,u+=s;else{for(var f=0;s>f;++f){var _=r[l+f];r[l+f]=r[u],r[u++]=_}var p=o[d];o[d]=o[c],o[c++]=p}return c},"lof;++f,l+=s){var _=r[l+h],p=r[l+d];if(_m;++m){var v=r[l+m];r[l+m]=r[u],r[u++]=v}var g=o[f];o[f]=o[c],o[c++]=g}}return c},"lo<=p0&&p0<=hi":function(t,e,n,i,r,o,a){for(var s=2*t,l=s*n,u=l,c=n,h=e,d=t+e,f=n;i>f;++f,l+=s){var _=r[l+h],p=r[l+d];if(_<=a&&a<=p)if(c===f)c+=1,u+=s;else{for(var m=0;s>m;++m){var v=r[l+m];r[l+m]=r[u],r[u++]=v}var g=o[f];o[f]=o[c],o[c++]=g}}return c},"!(lo>=p0)&&!(p1>=hi)":function(t,e,n,i,r,o,a,s){for(var l=2*t,u=l*n,c=u,h=n,d=e,f=t+e,_=n;i>_;++_,u+=l){var p=r[u+d],m=r[u+f];if(!(p>=a||s>=m))if(h===_)h+=1,c+=l;else{for(var v=0;l>v;++v){var g=r[u+v];r[u+v]=r[c],r[c++]=g}var y=o[_];o[_]=o[h],o[h++]=y}}return h}}},309:function(t){"use strict";t.exports=function(t,i){i<=4*e?n(0,i-1,t):u(0,i-1,t)};var e=32;function n(t,e,n){for(var i=2*(t+1),r=t+1;r<=e;++r){for(var o=n[i++],a=n[i++],s=r,l=i-2;s-- >t;){var u=n[l-2],c=n[l-1];if(un[e+1])}function l(t,e,n,i){var r=i[t*=2];return r>1,m=p-d,v=p+d,g=f,y=m,b=p,w=v,E=_,x=t+1,C=c-1,T=0;s(g,y,h)&&(T=g,g=y,y=T),s(w,E,h)&&(T=w,w=E,E=T),s(g,b,h)&&(T=g,g=b,b=T),s(y,b,h)&&(T=y,y=b,b=T),s(g,w,h)&&(T=g,g=w,w=T),s(b,w,h)&&(T=b,b=w,w=T),s(y,E,h)&&(T=y,y=E,E=T),s(y,b,h)&&(T=y,y=b,b=T),s(w,E,h)&&(T=w,w=E,E=T);for(var A=h[2*y],S=h[2*y+1],z=h[2*w],k=h[2*w+1],N=2*g,I=2*b,O=2*E,L=2*f,M=2*p,$=2*_,R=0;R<2;++R){var P=h[N+R],U=h[I+R],j=h[O+R];h[L+R]=P,h[M+R]=U,h[$+R]=j}r(m,t,h),r(v,c,h);for(var q=x;q<=C;++q)if(l(q,A,S,h))q!==x&&i(q,x,h),++x;else if(!l(q,z,k,h))for(;;){if(l(C,z,k,h)){l(C,A,S,h)?(o(q,x,C,h),++x,--C):(i(q,C,h),--C);break}if(--C>>1;o(_,S);var z=0,k=0;for(x=0;x=a)p(c,h,k--,N=N-a|0);else if(N>=0)p(l,u,z--,N);else if(N<=-a){N=-N-a|0;for(var I=0;I>>1;o(_,z);var k=0,N=0,I=0;for(C=0;C>1==_[2*C+3]>>1&&(L=2,C+=1),O<0){for(var M=-(O>>1)-1,$=0;$>1)-1,0===L?p(l,u,k--,M):1===L?p(c,h,N--,M):2===L&&p(d,f,I--,M)}},scanBipartite:function(t,e,n,i,r,s,c,h,d,f,v,g){var y=0,b=2*t,w=e,E=e+t,x=1,C=1;i?C=a:x=a;for(var T=r;T>>1;o(_,k);var N=0;for(T=0;T=a?(O=!i,A-=a):(O=!!i,A-=1),O)m(l,u,N++,A);else{var L=g[A],M=b*A,$=v[M+e+1],R=v[M+e+1+t];t:for(var P=0;P>>1;o(_,x);var C=0;for(y=0;y=a)l[C++]=b-a;else{var A=f[b-=1],S=m*b,z=d[S+e+1],k=d[S+e+1+t];t:for(var N=0;N=0;--N)if(l[N]===b){for(M=N+1;M0;){for(var f=n.pop(),_=(c=-1,h=-1,l=a[s=n.pop()],1);_=0||(e.flip(s,f),r(t,e,n,c,s,h),r(t,e,n,s,h,c),r(t,e,n,h,f,c),r(t,e,n,f,c,h))}}},7098:function(t,e,n){"use strict";var i,r=n(5070);function o(t,e,n,i,r,o,a){this.cells=t,this.neighbor=e,this.flags=i,this.constraint=n,this.active=r,this.next=o,this.boundary=a}function a(t,e){return t[0]-e[0]||t[1]-e[1]||t[2]-e[2]}t.exports=function(t,e,n){var i=function(t,e){for(var n=t.cells(),i=n.length,r=0;r0||l.length>0;){for(;s.length>0;){var f=s.pop();if(u[f]!==-r){u[f]=r,c[f];for(var _=0;_<3;++_){var p=d[3*f+_];p>=0&&0===u[p]&&(h[3*f+_]?l.push(p):(s.push(p),u[p]=r))}}}var m=l;l=s,s=m,l.length=0,r=-r}var v=function(t,e,n){for(var i=0,r=0;r1&&r(n[d[f-2]],n[d[f-1]],o)>0;)t.push([d[f-1],d[f-2],a]),f-=1;d.length=f,d.push(a);var _=h.upperIds;for(f=_.length;f>1&&r(n[_[f-2]],n[_[f-1]],o)<0;)t.push([_[f-2],_[f-1],a]),f-=1;_.length=f,_.push(a)}}function c(t,e){var n;return(n=t.a[0]_[0]&&r.push(new a(_,f,2,l),new a(f,_,1,l))}r.sort(s);for(var p=r[0].a[0]-(1+Math.abs(r[0].a[0]))*Math.pow(2,-52),m=[new o([p,1],[p,0],-1,[],[],[],[])],v=[],g=(l=0,r.length);l=0}}(),o.removeTriangle=function(t,e,n){var i=this.stars;a(i[t],e,n),a(i[e],n,t),a(i[n],t,e)},o.addTriangle=function(t,e,n){var i=this.stars;i[t].push(e,n),i[e].push(n,t),i[n].push(t,e)},o.opposite=function(t,e){for(var n=this.stars[e],i=1,r=n.length;ie[2]?1:0)}function v(t,e,n){if(0!==t.length){if(e)for(var i=0;i=0;--o){var y=e[c=(S=i[o])[0]],b=y[0],w=y[1],E=t[b],x=t[w];if((E[0]-x[0]||E[1]-x[1])<0){var C=b;b=w,w=C}y[0]=b;var T,A=y[1]=S[1];for(r&&(T=y[2]);o>0&&i[o-1][0]===c;){var S,z=(S=i[--o])[1];r?e.push([A,z,T]):e.push([A,z]),A=z}r?e.push([A,w,T]):e.push([A,w])}return d}(t,e,d,p,n),g=_(t,m);return v(e,g,n),!!g||d.length>0||p.length>0}},5528:function(t,e,n){"use strict";t.exports=function(t,e,n,i){var o=s(e,t),h=s(i,n),d=c(o,h);if(0===a(d))return null;var f=c(h,s(t,n)),_=r(f,d),p=u(o,_);return l(t,p)};var i=n(3962),r=n(9189),o=n(4354),a=n(4951),s=n(6695),l=n(7584),u=n(4469);function c(t,e){return o(i(t[0],e[1]),i(t[1],e[0]))}},5692:function(t){t.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],"rainbow-soft":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],"freesurface-blue":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],"freesurface-red":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],"velocity-blue":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],"velocity-green":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},9156:function(t,e,n){"use strict";var i=n(5692),r=n(3578);function o(t){return[t[0]/255,t[1]/255,t[2]/255,t[3]]}function a(t){for(var e,n="#",i=0;i<3;++i)n+=("00"+(e=(e=t[i]).toString(16))).substr(e.length);return n}function s(t){return"rgba("+t.join(",")+")"}t.exports=function(t){var e,n,l,u,c,h,d,f,_,p;if(t||(t={}),f=(t.nshades||72)-1,d=t.format||"hex",(h=t.colormap)||(h="jet"),"string"==typeof h){if(h=h.toLowerCase(),!i[h])throw Error(h+" not a supported colorscale");c=i[h]}else{if(!Array.isArray(h))throw Error("unsupported colormap option",h);c=h.slice()}if(c.length>f+1)throw new Error(h+" map requires nshades to be at least size "+c.length);_=Array.isArray(t.alpha)?2!==t.alpha.length?[1,1]:t.alpha.slice():"number"==typeof t.alpha?[t.alpha,t.alpha]:[1,1],e=c.map((function(t){return Math.round(t.index*f)})),_[0]=Math.min(Math.max(_[0],0),1),_[1]=Math.min(Math.max(_[1],0),1);var m=c.map((function(t,e){var n=c[e].index,i=c[e].rgb.slice();return 4===i.length&&i[3]>=0&&i[3]<=1||(i[3]=_[0]+(_[1]-_[0])*n),i})),v=[];for(p=0;p0||l(t,e,o)?-1:1:0===s?u>0||l(t,e,n)?1:-1:r(u-s)}var h=i(t,e,n);return h>0?a>0&&i(t,e,o)>0?1:-1:h<0?a>0||i(t,e,o)>0?1:-1:i(t,e,o)>0||l(t,e,n)?1:-1};var i=n(417),r=n(7538),o=n(87),a=n(2019),s=n(9662);function l(t,e,n){var i=o(t[0],-e[0]),r=o(t[1],-e[1]),l=o(n[0],-e[0]),u=o(n[1],-e[1]),c=s(a(i,l),a(r,u));return c[c.length-1]>=0}},7538:function(t){"use strict";t.exports=function(t){return t<0?-1:t>0?1:0}},9209:function(t){t.exports=function(t,i){var r=t.length,o=t.length-i.length;if(o)return o;switch(r){case 0:return 0;case 1:return t[0]-i[0];case 2:return t[0]+t[1]-i[0]-i[1]||e(t[0],t[1])-e(i[0],i[1]);case 3:var a=t[0]+t[1],s=i[0]+i[1];if(o=a+t[2]-(s+i[2]))return o;var l=e(t[0],t[1]),u=e(i[0],i[1]);return e(l,t[2])-e(u,i[2])||e(l+t[2],a)-e(u+i[2],s);case 4:var c=t[0],h=t[1],d=t[2],f=t[3],_=i[0],p=i[1],m=i[2],v=i[3];return c+h+d+f-(_+p+m+v)||e(c,h,d,f)-e(_,p,m,v,_)||e(c+h,c+d,c+f,h+d,h+f,d+f)-e(_+p,_+m,_+v,p+m,p+v,m+v)||e(c+h+d,c+h+f,c+d+f,h+d+f)-e(_+p+m,_+p+v,_+m+v,p+m+v);default:for(var g=t.slice().sort(n),y=i.slice().sort(n),b=0;bt[n][0]&&(n=i);return en?[[n],[e]]:[[e]]}},8722:function(t,e,n){"use strict";t.exports=function(t){var e=i(t),n=e.length;if(n<=2)return[];for(var r=new Array(n),o=e[n-1],a=0;a=e[l]&&(s+=1);o[a]=s}}return t}(i(o,!0),n)}};var i=n(2183),r=n(2153)},9680:function(t){"use strict";t.exports=function(t,e,n,i,r,o){var a=r-1,s=r*r,l=a*a,u=(1+2*r)*l,c=r*l,h=s*(3-2*r),d=s*a;if(t.length){o||(o=new Array(t.length));for(var f=t.length-1;f>=0;--f)o[f]=u*t[f]+c*e[f]+h*n[f]+d*i[f];return o}return u*t+c*e+h*n+d*i},t.exports.derivative=function(t,e,n,i,r,o){var a=6*r*r-6*r,s=3*r*r-4*r+1,l=-6*r*r+6*r,u=3*r*r-2*r;if(t.length){o||(o=new Array(t.length));for(var c=t.length-1;c>=0;--c)o[c]=a*t[c]+s*e[c]+l*n[c]+u*i[c];return o}return a*t+s*e+l*n[c]+u*i}},4419:function(t,e,n){"use strict";var i=n(2183),r=n(1215);function o(t,e){this.point=t,this.index=e}function a(t,e){for(var n=t.point,i=e.point,r=n.length,o=0;o=2)return!1;t[n]=i}return!0})):w.filter((function(t){for(var e=0;e<=s;++e){var n=v[t[e]];if(n<0)return!1;t[e]=n}return!0})),1&s)for(c=0;c>>31},t.exports.exponent=function(e){return(t.exports.hi(e)<<1>>>21)-1023},t.exports.fraction=function(e){var n=t.exports.lo(e),i=t.exports.hi(e),r=1048575&i;return 2146435072&i&&(r+=1<<20),[n,r]},t.exports.denormalized=function(e){return!(2146435072&t.exports.hi(e))}},3094:function(t){"use strict";function e(t,n,i){var r=0|t[i];if(r<=0)return[];var o,a=new Array(r);if(i===t.length-1)for(o=0;o0)return function(t,e){var n,i;for(n=new Array(t),i=0;i=n-1){d=l.length-1;var _=t-e[n-1];for(f=0;f=n-1)for(var c=s.length-1,h=(e[n-1],0);h=0;--n)if(t[--e])return!1;return!0},s.jump=function(t){var e=this.lastT(),n=this.dimension;if(!(t0;--h)i.push(o(l[h-1],u[h-1],arguments[h])),r.push(0)}},s.push=function(t){var e=this.lastT(),n=this.dimension;if(!(t1e-6?1/s:0;this._time.push(t);for(var d=n;d>0;--d){var f=o(u[d-1],c[d-1],arguments[d]);i.push(f),r.push((f-i[a++])*h)}}},s.set=function(t){var e=this.dimension;if(!(t0;--l)n.push(o(a[l-1],s[l-1],arguments[l])),i.push(0)}},s.move=function(t){var e=this.lastT(),n=this.dimension;if(!(t<=e||arguments.length!==n+1)){var i=this._state,r=this._velocity,a=i.length-this.dimension,s=this.bounds,l=s[0],u=s[1],c=t-e,h=c>1e-6?1/c:0;this._time.push(t);for(var d=n;d>0;--d){var f=arguments[d];i.push(o(l[d-1],u[d-1],i[a++]+f)),r.push(f*h)}}},s.idle=function(t){var e=this.lastT();if(!(t=0;--h)i.push(o(l[h],u[h],i[a]+c*r[a])),r.push(0),a+=1}}},7080:function(t){"use strict";function e(t,e,n,i,r,o){this._color=t,this.key=e,this.value=n,this.left=i,this.right=r,this._count=o}function n(t){return new e(t._color,t.key,t.value,t.left,t.right,t._count)}function i(t,n){return new e(t,n.key,n.value,n.left,n.right,n._count)}function r(t){t._count=1+(t.left?t.left._count:0)+(t.right?t.right._count:0)}function o(t,e){this._compare=t,this.root=e}t.exports=function(t){return new o(t||f,null)};var a=o.prototype;function s(t,e){var n;return e.left&&(n=s(t,e.left))?n:(n=t(e.key,e.value))||(e.right?s(t,e.right):void 0)}function l(t,e,n,i){if(e(t,i.key)<=0){var r;if(i.left&&(r=l(t,e,n,i.left)))return r;if(r=n(i.key,i.value))return r}if(i.right)return l(t,e,n,i.right)}function u(t,e,n,i,r){var o,a=n(t,r.key),s=n(e,r.key);if(a<=0){if(r.left&&(o=u(t,e,n,i,r.left)))return o;if(s>0&&(o=i(r.key,r.value)))return o}if(s>0&&r.right)return u(t,e,n,i,r.right)}function c(t,e){this.tree=t,this._stack=e}Object.defineProperty(a,"keys",{get:function(){var t=[];return this.forEach((function(e,n){t.push(e)})),t}}),Object.defineProperty(a,"values",{get:function(){var t=[];return this.forEach((function(e,n){t.push(n)})),t}}),Object.defineProperty(a,"length",{get:function(){return this.root?this.root._count:0}}),a.insert=function(t,n){for(var a=this._compare,s=this.root,l=[],u=[];s;){var c=a(t,s.key);l.push(s),u.push(c),s=c<=0?s.left:s.right}l.push(new e(0,t,n,null,null,1));for(var h=l.length-2;h>=0;--h)s=l[h],u[h]<=0?l[h]=new e(s._color,s.key,s.value,l[h+1],s.right,s._count+1):l[h]=new e(s._color,s.key,s.value,s.left,l[h+1],s._count+1);for(h=l.length-1;h>1;--h){var d=l[h-1];if(s=l[h],1===d._color||1===s._color)break;var f=l[h-2];if(f.left===d)if(d.left===s){if(!(_=f.right)||0!==_._color){f._color=0,f.left=d.right,d._color=1,d.right=f,l[h-2]=d,l[h-1]=s,r(f),r(d),h>=3&&((p=l[h-3]).left===f?p.left=d:p.right=d);break}d._color=1,f.right=i(1,_),f._color=0,h-=1}else{if(!(_=f.right)||0!==_._color){d.right=s.left,f._color=0,f.left=s.right,s._color=1,s.left=d,s.right=f,l[h-2]=s,l[h-1]=d,r(f),r(d),r(s),h>=3&&((p=l[h-3]).left===f?p.left=s:p.right=s);break}d._color=1,f.right=i(1,_),f._color=0,h-=1}else if(d.right===s){if(!(_=f.left)||0!==_._color){f._color=0,f.right=d.left,d._color=1,d.left=f,l[h-2]=d,l[h-1]=s,r(f),r(d),h>=3&&((p=l[h-3]).right===f?p.right=d:p.left=d);break}d._color=1,f.left=i(1,_),f._color=0,h-=1}else{var _;if(!(_=f.left)||0!==_._color){var p;d.left=s.right,f._color=0,f.right=s.left,s._color=1,s.right=d,s.left=f,l[h-2]=s,l[h-1]=d,r(f),r(d),r(s),h>=3&&((p=l[h-3]).right===f?p.right=s:p.left=s);break}d._color=1,f.left=i(1,_),f._color=0,h-=1}}return l[0]._color=1,new o(a,l[0])},a.forEach=function(t,e,n){if(this.root)switch(arguments.length){case 1:return s(t,this.root);case 2:return l(e,this._compare,t,this.root);case 3:if(this._compare(e,n)>=0)return;return u(e,n,this._compare,t,this.root)}},Object.defineProperty(a,"begin",{get:function(){for(var t=[],e=this.root;e;)t.push(e),e=e.left;return new c(this,t)}}),Object.defineProperty(a,"end",{get:function(){for(var t=[],e=this.root;e;)t.push(e),e=e.right;return new c(this,t)}}),a.at=function(t){if(t<0)return new c(this,[]);for(var e=this.root,n=[];;){if(n.push(e),e.left){if(t=e.right._count)break;e=e.right}return new c(this,[])},a.ge=function(t){for(var e=this._compare,n=this.root,i=[],r=0;n;){var o=e(t,n.key);i.push(n),o<=0&&(r=i.length),n=o<=0?n.left:n.right}return i.length=r,new c(this,i)},a.gt=function(t){for(var e=this._compare,n=this.root,i=[],r=0;n;){var o=e(t,n.key);i.push(n),o<0&&(r=i.length),n=o<0?n.left:n.right}return i.length=r,new c(this,i)},a.lt=function(t){for(var e=this._compare,n=this.root,i=[],r=0;n;){var o=e(t,n.key);i.push(n),o>0&&(r=i.length),n=o<=0?n.left:n.right}return i.length=r,new c(this,i)},a.le=function(t){for(var e=this._compare,n=this.root,i=[],r=0;n;){var o=e(t,n.key);i.push(n),o>=0&&(r=i.length),n=o<0?n.left:n.right}return i.length=r,new c(this,i)},a.find=function(t){for(var e=this._compare,n=this.root,i=[];n;){var r=e(t,n.key);if(i.push(n),0===r)return new c(this,i);n=r<=0?n.left:n.right}return new c(this,[])},a.remove=function(t){var e=this.find(t);return e?e.remove():this},a.get=function(t){for(var e=this._compare,n=this.root;n;){var i=e(t,n.key);if(0===i)return n.value;n=i<=0?n.left:n.right}};var h=c.prototype;function d(t,e){t.key=e.key,t.value=e.value,t.left=e.left,t.right=e.right,t._color=e._color,t._count=e._count}function f(t,e){return te?1:0}Object.defineProperty(h,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(h,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),h.clone=function(){return new c(this.tree,this._stack.slice())},h.remove=function(){var t=this._stack;if(0===t.length)return this.tree;var a=new Array(t.length),s=t[t.length-1];a[a.length-1]=new e(s._color,s.key,s.value,s.left,s.right,s._count);for(var l=t.length-2;l>=0;--l)(s=t[l]).left===t[l+1]?a[l]=new e(s._color,s.key,s.value,a[l+1],s.right,s._count):a[l]=new e(s._color,s.key,s.value,s.left,a[l+1],s._count);if((s=a[a.length-1]).left&&s.right){var u=a.length;for(s=s.left;s.right;)a.push(s),s=s.right;var c=a[u-1];for(a.push(new e(s._color,c.key,c.value,s.left,s.right,s._count)),a[u-1].key=s.key,a[u-1].value=s.value,l=a.length-2;l>=u;--l)s=a[l],a[l]=new e(s._color,s.key,s.value,s.left,a[l+1],s._count);a[u-1].left=a[u]}if(0===(s=a[a.length-1])._color){var h=a[a.length-2];for(h.left===s?h.left=null:h.right===s&&(h.right=null),a.pop(),l=0;l=0;--l){if(e=t[l],0===l)return void(e._color=1);if((o=t[l-1]).left===e){if((a=o.right).right&&0===a.right._color)return s=(a=o.right=n(a)).right=n(a.right),o.right=a.left,a.left=o,a.right=s,a._color=o._color,e._color=1,o._color=1,s._color=1,r(o),r(a),l>1&&((u=t[l-2]).left===o?u.left=a:u.right=a),void(t[l-1]=a);if(a.left&&0===a.left._color)return s=(a=o.right=n(a)).left=n(a.left),o.right=s.left,a.left=s.right,s.left=o,s.right=a,s._color=o._color,o._color=1,a._color=1,e._color=1,r(o),r(a),r(s),l>1&&((u=t[l-2]).left===o?u.left=s:u.right=s),void(t[l-1]=s);if(1===a._color){if(0===o._color)return o._color=1,void(o.right=i(0,a));o.right=i(0,a);continue}a=n(a),o.right=a.left,a.left=o,a._color=o._color,o._color=0,r(o),r(a),l>1&&((u=t[l-2]).left===o?u.left=a:u.right=a),t[l-1]=a,t[l]=o,l+11&&((u=t[l-2]).right===o?u.right=a:u.left=a),void(t[l-1]=a);if(a.right&&0===a.right._color)return s=(a=o.left=n(a)).right=n(a.right),o.left=s.right,a.right=s.left,s.right=o,s.left=a,s._color=o._color,o._color=1,a._color=1,e._color=1,r(o),r(a),r(s),l>1&&((u=t[l-2]).right===o?u.right=s:u.left=s),void(t[l-1]=s);if(1===a._color){if(0===o._color)return o._color=1,void(o.left=i(0,a));o.left=i(0,a);continue}var u;a=n(a),o.left=a.right,a.right=o,a._color=o._color,o._color=0,r(o),r(a),l>1&&((u=t[l-2]).right===o?u.right=a:u.left=a),t[l-1]=a,t[l]=o,l+10)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(h,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(h,"index",{get:function(){var t=0,e=this._stack;if(0===e.length){var n=this.tree.root;return n?n._count:0}e[e.length-1].left&&(t=e[e.length-1].left._count);for(var i=e.length-2;i>=0;--i)e[i+1]===e[i].right&&(++t,e[i].left&&(t+=e[i].left._count));return t},enumerable:!0}),h.next=function(){var t=this._stack;if(0!==t.length){var e=t[t.length-1];if(e.right)for(e=e.right;e;)t.push(e),e=e.left;else for(t.pop();t.length>0&&t[t.length-1].right===e;)e=t[t.length-1],t.pop()}},Object.defineProperty(h,"hasNext",{get:function(){var t=this._stack;if(0===t.length)return!1;if(t[t.length-1].right)return!0;for(var e=t.length-1;e>0;--e)if(t[e-1].left===t[e])return!0;return!1}}),h.update=function(t){var n=this._stack;if(0===n.length)throw new Error("Can't update empty node!");var i=new Array(n.length),r=n[n.length-1];i[i.length-1]=new e(r._color,r.key,t,r.left,r.right,r._count);for(var a=n.length-2;a>=0;--a)(r=n[a]).left===n[a+1]?i[a]=new e(r._color,r.key,r.value,i[a+1],r.right,r._count):i[a]=new e(r._color,r.key,r.value,r.left,i[a+1],r._count);return new o(this.tree._compare,i[0])},h.prev=function(){var t=this._stack;if(0!==t.length){var e=t[t.length-1];if(e.left)for(e=e.left;e;)t.push(e),e=e.right;else for(t.pop();t.length>0&&t[t.length-1].left===e;)e=t[t.length-1],t.pop()}},Object.defineProperty(h,"hasPrev",{get:function(){var t=this._stack;if(0===t.length)return!1;if(t[t.length-1].left)return!0;for(var e=t.length-1;e>0;--e)if(t[e-1].right===t[e])return!0;return!1}})},7453:function(t,e,n){"use strict";t.exports=function(t,e){var n=new c(t);return n.update(e),n};var i=n(9557),r=n(1681),o=n(1011),a=n(2864),s=n(8468),l=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function u(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function c(t){this.gl=t,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont="sans-serif",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=o(t)}var h=c.prototype;function d(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}h.update=function(t){function e(e,n,i){if(i in t){var r,o=t[i],a=this[i];(e?Array.isArray(o)&&Array.isArray(o[0]):Array.isArray(o))?this[i]=r=[n(o[0]),n(o[1]),n(o[2])]:this[i]=r=[n(o),n(o),n(o)];for(var s=0;s<3;++s)if(r[s]!==a[s])return!0}return!1}t=t||{};var n,o=e.bind(this,!1,Number),a=e.bind(this,!1,Boolean),l=e.bind(this,!1,String),u=e.bind(this,!0,(function(t){if(Array.isArray(t)){if(3===t.length)return[+t[0],+t[1],+t[2],1];if(4===t.length)return[+t[0],+t[1],+t[2],+t[3]]}return[0,0,0,1]})),c=!1,h=!1;if("bounds"in t)for(var d=t.bounds,f=0;f<2;++f)for(var _=0;_<3;++_)d[f][_]!==this.bounds[f][_]&&(h=!0),this.bounds[f][_]=d[f][_];if("ticks"in t)for(n=t.ticks,c=!0,this.autoTicks=!1,f=0;f<3;++f)this.tickSpacing[f]=0;else o("tickSpacing")&&(this.autoTicks=!0,h=!0);if(this._firstInit&&("ticks"in t||"tickSpacing"in t||(this.autoTicks=!0),h=!0,c=!0,this._firstInit=!1),h&&this.autoTicks&&(n=s.create(this.bounds,this.tickSpacing),c=!0),c){for(f=0;f<3;++f)n[f].sort((function(t,e){return t.x-e.x}));s.equal(n,this.ticks)?c=!1:this.ticks=n}a("tickEnable"),l("tickFont")&&(c=!0),o("tickSize"),o("tickAngle"),o("tickPad"),u("tickColor");var p=l("labels");l("labelFont")&&(p=!0),a("labelEnable"),o("labelSize"),o("labelPad"),u("labelColor"),a("lineEnable"),a("lineMirror"),o("lineWidth"),u("lineColor"),a("lineTickEnable"),a("lineTickMirror"),o("lineTickLength"),o("lineTickWidth"),u("lineTickColor"),a("gridEnable"),o("gridWidth"),u("gridColor"),a("zeroEnable"),u("zeroLineColor"),o("zeroLineWidth"),a("backgroundEnable"),u("backgroundColor"),this._text?this._text&&(p||c)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=i(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&c&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=r(this.gl,this.bounds,this.ticks))};var f=[new d,new d,new d];function _(t,e,n,i,r){for(var o=t.primalOffset,a=t.primalMinor,s=t.mirrorOffset,l=t.mirrorMinor,u=i[e],c=0;c<3;++c)if(e!==c){var h=o,d=s,f=a,_=l;u&1<0?(f[c]=-1,_[c]=0):(f[c]=0,_[c]=1)}}var p=[0,0,0],m={model:l,view:l,projection:l,_ortho:!1};h.isOpaque=function(){return!0},h.isTransparent=function(){return!1},h.drawTransparent=function(t){};var v=[0,0,0],g=[0,0,0],y=[0,0,0];h.draw=function(t){t=t||m;for(var e=this.gl,n=t.model||l,i=t.view||l,r=t.projection||l,o=this.bounds,s=t._ortho||!1,c=a(n,i,r,o,s),h=c.cubeEdges,d=c.axis,b=i[12],w=i[13],E=i[14],x=i[15],C=(s?2:1)*this.pixelRatio*(r[3]*b+r[7]*w+r[11]*E+r[15]*x)/e.drawingBufferHeight,T=0;T<3;++T)this.lastCubeProps.cubeEdges[T]=h[T],this.lastCubeProps.axis[T]=d[T];var A=f;for(T=0;T<3;++T)_(f[T],T,this.bounds,h,d);e=this.gl;var S,z,k,N=p;for(T=0;T<3;++T)this.backgroundEnable[T]?N[T]=d[T]:N[T]=0;for(this._background.draw(n,i,r,o,N,this.backgroundColor),this._lines.bind(n,i,r,this),T=0;T<3;++T){var I=[0,0,0];d[T]>0?I[T]=o[1][T]:I[T]=o[0][T];for(var O=0;O<2;++O){var L=(T+1+O)%3,M=(T+1+(1^O))%3;this.gridEnable[L]&&this._lines.drawGrid(L,M,this.bounds,I,this.gridColor[L],this.gridWidth[L]*this.pixelRatio)}for(O=0;O<2;++O)L=(T+1+O)%3,M=(T+1+(1^O))%3,this.zeroEnable[M]&&Math.min(o[0][M],o[1][M])<=0&&Math.max(o[0][M],o[1][M])>=0&&this._lines.drawZero(L,M,this.bounds,I,this.zeroLineColor[M],this.zeroLineWidth[M]*this.pixelRatio)}for(T=0;T<3;++T){this.lineEnable[T]&&this._lines.drawAxisLine(T,this.bounds,A[T].primalOffset,this.lineColor[T],this.lineWidth[T]*this.pixelRatio),this.lineMirror[T]&&this._lines.drawAxisLine(T,this.bounds,A[T].mirrorOffset,this.lineColor[T],this.lineWidth[T]*this.pixelRatio);var $=u(v,A[T].primalMinor),R=u(g,A[T].mirrorMinor),P=this.lineTickLength;for(O=0;O<3;++O){var U=C/n[5*O];$[O]*=P[O]*U,R[O]*=P[O]*U}this.lineTickEnable[T]&&this._lines.drawAxisTicks(T,A[T].primalOffset,$,this.lineTickColor[T],this.lineTickWidth[T]*this.pixelRatio),this.lineTickMirror[T]&&this._lines.drawAxisTicks(T,A[T].mirrorOffset,R,this.lineTickColor[T],this.lineTickWidth[T]*this.pixelRatio)}function j(t){(k=[0,0,0])[t]=1}function q(t,e,n){var i=(t+1)%3,r=(t+2)%3,o=e[i],a=e[r],s=n[i],l=n[r];o>0&&l>0||o>0&&l<0||o<0&&l>0||o<0&&l<0?j(i):(a>0&&s>0||a>0&&s<0||a<0&&s>0||a<0&&s<0)&&j(r)}for(this._lines.unbind(),this._text.bind(n,i,r,this.pixelRatio),T=0;T<3;++T){var D=A[T].primalMinor,B=A[T].mirrorMinor,F=u(y,A[T].primalOffset);for(O=0;O<3;++O)this.lineTickEnable[T]&&(F[O]+=C*D[O]*Math.max(this.lineTickLength[O],0)/n[5*O]);var W=[0,0,0];if(W[T]=1,this.tickEnable[T]){for(-3600===this.tickAngle[T]?(this.tickAngle[T]=0,this.tickAlign[T]="auto"):this.tickAlign[T]=-1,z=1,"auto"===(S=[this.tickAlign[T],.5,z])[0]?S[0]=0:S[0]=parseInt(""+S[0]),k=[0,0,0],q(T,D,B),O=0;O<3;++O)F[O]+=C*D[O]*this.tickPad[O]/n[5*O];this._text.drawTicks(T,this.tickSize[T],this.tickAngle[T],F,this.tickColor[T],W,k,S)}if(this.labelEnable[T]){for(z=0,k=[0,0,0],this.labels[T].length>4&&(j(T),z=1),"auto"===(S=[this.labelAlign[T],.5,z])[0]?S[0]=0:S[0]=parseInt(""+S[0]),O=0;O<3;++O)F[O]+=C*D[O]*this.labelPad[O]/n[5*O];F[T]+=.5*(o[0][T]+o[1][T]),this._text.drawLabel(T,this.labelSize[T],this.labelAngle[T],F,this.labelColor[T],[0,0,0],k,S)}}this._text.unbind()},h.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null}},1011:function(t,e,n){"use strict";t.exports=function(t){for(var e=[],n=[],s=0,l=0;l<3;++l)for(var u=(l+1)%3,c=(l+2)%3,h=[0,0,0],d=[0,0,0],f=-1;f<=1;f+=2){n.push(s,s+2,s+1,s+1,s+2,s+3),h[l]=f,d[l]=f;for(var _=-1;_<=1;_+=2){h[u]=_;for(var p=-1;p<=1;p+=2)h[c]=p,e.push(h[0],h[1],h[2],d[0],d[1],d[2]),s+=1}var m=u;u=c,c=m}var v=i(t,new Float32Array(e)),g=i(t,new Uint16Array(n),t.ELEMENT_ARRAY_BUFFER),y=r(t,[{buffer:v,type:t.FLOAT,size:3,offset:0,stride:24},{buffer:v,type:t.FLOAT,size:3,offset:12,stride:24}],g),b=o(t);return b.attributes.position.location=0,b.attributes.normal.location=1,new a(t,v,y,b)};var i=n(5827),r=n(2944),o=n(1943).bg;function a(t,e,n,i){this.gl=t,this.buffer=e,this.vao=n,this.shader=i}var s=a.prototype;s.draw=function(t,e,n,i,r,o){for(var a=!1,s=0;s<3;++s)a=a||r[s];if(a){var l=this.gl;l.enable(l.POLYGON_OFFSET_FILL),l.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:t,view:e,projection:n,bounds:i,enable:r,colors:o},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),l.disable(l.POLYGON_OFFSET_FILL)}},s.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},2864:function(t,e,n){"use strict";t.exports=function(t,e,n,o,f){r(s,e,t),r(s,n,s);for(var g=0,y=0;y<2;++y){c[2]=o[y][2];for(var b=0;b<2;++b){c[1]=o[b][1];for(var w=0;w<2;++w)c[0]=o[w][0],d(l[g],c,s),g+=1}}var E=-1;for(y=0;y<8;++y){for(var x=l[y][3],C=0;C<3;++C)u[y][C]=l[y][C]/x;f&&(u[y][2]*=-1),x<0&&(E<0||u[y][2]z&&(E|=1<z&&(E|=1<u[y][1])&&(R=y);var P=-1;for(y=0;y<3;++y)(j=R^1<u[U][0]&&(U=j))}var q=p;q[0]=q[1]=q[2]=0,q[i.log2(P^R)]=R&P,q[i.log2(R^U)]=R&U;var D=7^U;D===E||D===$?(D=7^P,q[i.log2(U^D)]=D&U):q[i.log2(P^D)]=D&P;var B=m,F=E;for(T=0;T<3;++T)B[T]=F&1< HALF_PI) && (b <= ONE_AND_HALF_PI)) ?\n b - PI :\n b;\n}\n\nfloat look_horizontal_or_vertical(float a, float ratio) {\n // ratio controls the ratio between being horizontal to (vertical + horizontal)\n // if ratio is set to 0.5 then it is 50%, 50%.\n // when using a higher ratio e.g. 0.75 the result would\n // likely be more horizontal than vertical.\n\n float b = positive_angle(a);\n\n return\n (b < ( ratio) * HALF_PI) ? 0.0 :\n (b < (2.0 - ratio) * HALF_PI) ? -HALF_PI :\n (b < (2.0 + ratio) * HALF_PI) ? 0.0 :\n (b < (4.0 - ratio) * HALF_PI) ? HALF_PI :\n 0.0;\n}\n\nfloat roundTo(float a, float b) {\n return float(b * floor((a + 0.5 * b) / b));\n}\n\nfloat look_round_n_directions(float a, int n) {\n float b = positive_angle(a);\n float div = TWO_PI / float(n);\n float c = roundTo(b, div);\n return look_upwards(c);\n}\n\nfloat applyAlignOption(float rawAngle, float delta) {\n return\n (option > 2) ? look_round_n_directions(rawAngle + delta, option) : // option 3-n: round to n directions\n (option == 2) ? look_horizontal_or_vertical(rawAngle + delta, hv_ratio) : // horizontal or vertical\n (option == 1) ? rawAngle + delta : // use free angle, and flip to align with one direction of the axis\n (option == 0) ? look_upwards(rawAngle) : // use free angle, and stay upwards\n (option ==-1) ? 0.0 : // useful for backward compatibility, all texts remains horizontal\n rawAngle; // otherwise return back raw input angle\n}\n\nbool isAxisTitle = (axis.x == 0.0) &&\n (axis.y == 0.0) &&\n (axis.z == 0.0);\n\nvoid main() {\n //Compute world offset\n float axisDistance = position.z;\n vec3 dataPosition = axisDistance * axis + offset;\n\n float beta = angle; // i.e. user defined attributes for each tick\n\n float axisAngle;\n float clipAngle;\n float flip;\n\n if (enableAlign) {\n axisAngle = (isAxisTitle) ? HALF_PI :\n computeViewAngle(dataPosition, dataPosition + axis);\n clipAngle = computeViewAngle(dataPosition, dataPosition + alignDir);\n\n axisAngle += (sin(axisAngle) < 0.0) ? PI : 0.0;\n clipAngle += (sin(clipAngle) < 0.0) ? PI : 0.0;\n\n flip = (dot(vec2(cos(axisAngle), sin(axisAngle)),\n vec2(sin(clipAngle),-cos(clipAngle))) > 0.0) ? 1.0 : 0.0;\n\n beta += applyAlignOption(clipAngle, flip * PI);\n }\n\n //Compute plane offset\n vec2 planeCoord = position.xy * pixelScale;\n\n mat2 planeXform = scale * mat2(\n cos(beta), sin(beta),\n -sin(beta), cos(beta)\n );\n\n vec2 viewOffset = 2.0 * planeXform * planeCoord / resolution;\n\n //Compute clip position\n vec3 clipPosition = project(dataPosition);\n\n //Apply text offset in clip coordinates\n clipPosition += vec3(viewOffset, 0.0);\n\n //Done\n gl_Position = vec4(clipPosition, 1.0);\n}"]),l=i(["precision highp float;\n#define GLSLIFY 1\n\nuniform vec4 color;\nvoid main() {\n gl_FragColor = color;\n}"]);e.f=function(t){return r(t,s,l,null,[{name:"position",type:"vec3"}])};var u=i(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\nattribute vec3 normal;\n\nuniform mat4 model, view, projection;\nuniform vec3 enable;\nuniform vec3 bounds[2];\n\nvarying vec3 colorChannel;\n\nvoid main() {\n\n vec3 signAxis = sign(bounds[1] - bounds[0]);\n\n vec3 realNormal = signAxis * normal;\n\n if(dot(realNormal, enable) > 0.0) {\n vec3 minRange = min(bounds[0], bounds[1]);\n vec3 maxRange = max(bounds[0], bounds[1]);\n vec3 nPosition = mix(minRange, maxRange, 0.5 * (position + 1.0));\n gl_Position = projection * view * model * vec4(nPosition, 1.0);\n } else {\n gl_Position = vec4(0,0,0,0);\n }\n\n colorChannel = abs(realNormal);\n}"]),c=i(["precision highp float;\n#define GLSLIFY 1\n\nuniform vec4 colors[3];\n\nvarying vec3 colorChannel;\n\nvoid main() {\n gl_FragColor = colorChannel.x * colors[0] +\n colorChannel.y * colors[1] +\n colorChannel.z * colors[2];\n}"]);e.bg=function(t){return r(t,u,c,null,[{name:"position",type:"vec3"},{name:"normal",type:"vec3"}])}},9557:function(t,e,n){"use strict";t.exports=function(t,e,n,r,a,l){var u=i(t),h=o(t,[{buffer:u,size:3}]),d=s(t);d.attributes.position.location=0;var f=new c(t,d,u,h);return f.update(e,n,r,a,l),f};var i=n(5827),o=n(2944),a=n(875),s=n(1943).f,l=window||r.global||{},u=l.__TEXT_CACHE||{};function c(t,e,n,i){this.gl=t,this.shader=e,this.buffer=n,this.vao=i,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}l.__TEXT_CACHE={};var h=c.prototype,d=[0,0];h.bind=function(t,e,n,i){this.vao.bind(),this.shader.bind();var r=this.shader.uniforms;r.model=t,r.view=e,r.projection=n,r.pixelScale=i,d[0]=this.gl.drawingBufferWidth,d[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=d},h.unbind=function(){this.vao.unbind()},h.update=function(t,e,n,i,r){var o=[];function s(t,e,n,i,r,s){var l=u[n];l||(l=u[n]={});var c=l[e];c||(c=l[e]=function(t,e){try{return a(t,e)}catch(e){return console.warn('error vectorizing text:"'+t+'" error:',e),{cells:[],positions:[]}}}(e,{triangles:!0,font:n,textAlign:"center",textBaseline:"middle",lineSpacing:r,styletags:s}));for(var h=(i||12)/12,d=c.positions,f=c.cells,_=0,p=f.length;_=0;--v){var g=d[m[v]];o.push(h*g[0],-h*g[1],t)}}for(var l=[0,0,0],c=[0,0,0],h=[0,0,0],d=[0,0,0],f={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},_=0;_<3;++_){h[_]=o.length/3|0,s(.5*(t[0][_]+t[1][_]),e[_],n[_],12,1.25,f),d[_]=(o.length/3|0)-h[_],l[_]=o.length/3|0;for(var p=0;p=0&&(r=n.length-i-1);var o=Math.pow(10,r),a=Math.round(t*e*o),s=a+"";if(s.indexOf("e")>=0)return s;var l=a/o,u=a%o;a<0?(l=0|-Math.ceil(l),u=0|-u):(l=0|Math.floor(l),u|=0);var c=""+l;if(a<0&&(c="-"+c),r){for(var h=""+u;h.length=t[0][r];--a)o.push({x:a*e[r],text:n(e[r],a)});i.push(o)}return i},e.equal=function(t,e){for(var n=0;n<3;++n){if(t[n].length!==e[n].length)return!1;for(var i=0;in)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return t.bufferSubData(e,o,r),n}function c(t,e){for(var n=i.malloc(t.length,e),r=t.length,o=0;o=0;--i){if(e[i]!==n)return!1;n*=t[i]}return!0}(t.shape,t.stride))0===t.offset&&t.data.length===t.shape[0]?this.length=u(this.gl,this.type,this.length,this.usage,t.data,e):this.length=u(this.gl,this.type,this.length,this.usage,t.data.subarray(t.offset,t.shape[0]),e);else{var s=i.malloc(t.size,n),l=o(s,t.shape);r.assign(l,t),this.length=u(this.gl,this.type,this.length,this.usage,e<0?s:s.subarray(0,t.size),e),i.free(s)}}else if(Array.isArray(t)){var h;h=this.type===this.gl.ELEMENT_ARRAY_BUFFER?c(t,"uint16"):c(t,"float32"),this.length=u(this.gl,this.type,this.length,this.usage,e<0?h:h.subarray(0,t.length),e),i.free(h)}else if("object"==typeof t&&"number"==typeof t.length)this.length=u(this.gl,this.type,this.length,this.usage,t,e);else{if("number"!=typeof t&&void 0!==t)throw new Error("gl-buffer: Invalid data type");if(e>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");(t|=0)<=0&&(t=1),this.gl.bufferData(this.type,0|t,this.usage),this.length=t}},t.exports=function(t,e,n,i){if(n=n||t.ARRAY_BUFFER,i=i||t.DYNAMIC_DRAW,n!==t.ARRAY_BUFFER&&n!==t.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(i!==t.DYNAMIC_DRAW&&i!==t.STATIC_DRAW&&i!==t.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var r=t.createBuffer(),o=new s(t,n,r,0,i);return o.update(e),o}},1140:function(t,e,n){"use strict";var i=n(2858);t.exports=function(t,e){var n=t.positions,r=t.vectors,o={positions:[],vertexIntensity:[],vertexIntensityBounds:t.vertexIntensityBounds,vectors:[],cells:[],coneOffset:t.coneOffset,colormap:t.colormap};if(0===t.positions.length)return e&&(e[0]=[0,0,0],e[1]=[0,0,0]),o;for(var a=0,s=1/0,l=-1/0,u=1/0,c=-1/0,h=1/0,d=-1/0,f=null,_=null,p=[],m=1/0,v=!1,g=0;ga&&(a=i.length(b)),g){var w=2*i.distance(f,y)/(i.length(_)+i.length(b));w?(m=Math.min(m,w),v=!1):v=!0}v||(f=y,_=b),p.push(b)}var E=[s,u,h],x=[l,c,d];e&&(e[0]=E,e[1]=x),0===a&&(a=1);var C=1/a;isFinite(m)||(m=1),o.vectorScale=m;var T=t.coneSize||.5;t.absoluteConeSize&&(T=t.absoluteConeSize*C),o.coneScale=T,g=0;for(var A=0;g=1},f.isTransparent=function(){return this.opacity<1},f.pickSlots=1,f.setPickBase=function(t){this.pickId=t},f.update=function(t){t=t||{};var e=this.gl;this.dirty=!0,"lightPosition"in t&&(this.lightPosition=t.lightPosition),"opacity"in t&&(this.opacity=t.opacity),"ambient"in t&&(this.ambientLight=t.ambient),"diffuse"in t&&(this.diffuseLight=t.diffuse),"specular"in t&&(this.specularLight=t.specular),"roughness"in t&&(this.roughness=t.roughness),"fresnel"in t&&(this.fresnel=t.fresnel),void 0!==t.tubeScale&&(this.tubeScale=t.tubeScale),void 0!==t.vectorScale&&(this.vectorScale=t.vectorScale),void 0!==t.coneScale&&(this.coneScale=t.coneScale),void 0!==t.coneOffset&&(this.coneOffset=t.coneOffset),t.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=e.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=e.LINEAR,this.texture.setPixels(function(t){for(var e=c({colormap:t,nshades:256,format:"rgba"}),n=new Uint8Array(1024),i=0;i<256;++i){for(var r=e[i],o=0;o<3;++o)n[4*i+o]=r[o];n[4*i+3]=255*r[3]}return u(n,[256,256,4],[4,0,1])}(t.colormap)),this.texture.generateMipmap());var n=t.cells,i=t.positions,r=t.vectors;if(i&&n&&r){var o=[],a=[],s=[],l=[],h=[];this.cells=n,this.positions=i,this.vectors=r;var d=t.meshColor||[1,1,1,1],f=t.vertexIntensity,_=1/0,p=-1/0;if(f)if(t.vertexIntensityBounds)_=+t.vertexIntensityBounds[0],p=+t.vertexIntensityBounds[1];else for(var m=0;m0){var p=this.triShader;p.bind(),p.uniforms=u,this.triangleVAO.bind(),e.drawArrays(e.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},f.drawPick=function(t){t=t||{};for(var e=this.gl,n=t.model||h,i=t.view||h,r=t.projection||h,o=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],a=0;a<3;++a)o[0][a]=Math.max(o[0][a],this.clipBounds[0][a]),o[1][a]=Math.min(o[1][a],this.clipBounds[1][a]);this._model=[].slice.call(n),this._view=[].slice.call(i),this._projection=[].slice.call(r),this._resolution=[e.drawingBufferWidth,e.drawingBufferHeight];var s={model:n,view:i,projection:r,clipBounds:o,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},l=this.pickShader;l.bind(),l.uniforms=s,this.triangleCount>0&&(this.triangleVAO.bind(),e.drawArrays(e.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},f.pick=function(t){if(!t)return null;if(t.id!==this.pickId)return null;var e=t.value[0]+256*t.value[1]+65536*t.value[2],n=this.cells[e],i=this.positions[n[1]].slice(0,3),r={position:i,dataCoordinate:i,index:Math.floor(n[1]/48)};return"cone"===this.traceType?r.index=Math.floor(n[1]/48):"streamtube"===this.traceType&&(r.intensity=this.intensity[n[1]],r.velocity=this.vectors[n[1]].slice(0,3),r.divergence=this.vectors[n[1]][3],r.index=e),r},f.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()},t.exports=function(t,e,n){var s=n.shaders;1===arguments.length&&(t=(e=t).gl);var l=function(t,e){var n=i(t,e.meshShader.vertex,e.meshShader.fragment,null,e.meshShader.attributes);return n.attributes.position.location=0,n.attributes.color.location=2,n.attributes.uv.location=3,n.attributes.vector.location=4,n}(t,s),c=function(t,e){var n=i(t,e.pickShader.vertex,e.pickShader.fragment,null,e.pickShader.attributes);return n.attributes.position.location=0,n.attributes.id.location=1,n.attributes.vector.location=4,n}(t,s),h=a(t,u(new Uint8Array([255,255,255,255]),[1,1,4]));h.generateMipmap(),h.minFilter=t.LINEAR_MIPMAP_LINEAR,h.magFilter=t.LINEAR;var f=r(t),_=r(t),p=r(t),m=r(t),v=r(t),g=new d(t,h,l,c,f,_,v,p,m,o(t,[{buffer:f,type:t.FLOAT,size:4},{buffer:v,type:t.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:p,type:t.FLOAT,size:4},{buffer:m,type:t.FLOAT,size:2},{buffer:_,type:t.FLOAT,size:4}]),n.traceType||"cone");return g.update(e),g}},7234:function(t,e,n){var i=n(6832),r=i(["precision highp float;\n\nprecision highp float;\n#define GLSLIFY 1\n\nvec3 getOrthogonalVector(vec3 v) {\n // Return up-vector for only-z vector.\n // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\n // From the above if-statement we have ||a|| > 0 U ||b|| > 0.\n // Assign z = 0, x = -b, y = a:\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n return normalize(vec3(-v.y, v.x, 0.0));\n } else {\n return normalize(vec3(0.0, v.z, -v.y));\n }\n}\n\n// Calculate the cone vertex and normal at the given index.\n//\n// The returned vertex is for a cone with its top at origin and height of 1.0,\n// pointing in the direction of the vector attribute.\n//\n// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices.\n// These vertices are used to make up the triangles of the cone by the following:\n// segment + 0 top vertex\n// segment + 1 perimeter vertex a+1\n// segment + 2 perimeter vertex a\n// segment + 3 center base vertex\n// segment + 4 perimeter vertex a\n// segment + 5 perimeter vertex a+1\n// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment.\n// To go from index to segment, floor(index / 6)\n// To go from segment to angle, 2*pi * (segment/segmentCount)\n// To go from index to segment index, index - (segment*6)\n//\nvec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) {\n\n const float segmentCount = 8.0;\n\n float index = rawIndex - floor(rawIndex /\n (segmentCount * 6.0)) *\n (segmentCount * 6.0);\n\n float segment = floor(0.001 + index/6.0);\n float segmentIndex = index - (segment*6.0);\n\n normal = -normalize(d);\n\n if (segmentIndex > 2.99 && segmentIndex < 3.01) {\n return mix(vec3(0.0), -d, coneOffset);\n }\n\n float nextAngle = (\n (segmentIndex > 0.99 && segmentIndex < 1.01) ||\n (segmentIndex > 4.99 && segmentIndex < 5.01)\n ) ? 1.0 : 0.0;\n float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount);\n\n vec3 v1 = mix(d, vec3(0.0), coneOffset);\n vec3 v2 = v1 - d;\n\n vec3 u = getOrthogonalVector(d);\n vec3 v = normalize(cross(u, d));\n\n vec3 x = u * cos(angle) * length(d)*0.25;\n vec3 y = v * sin(angle) * length(d)*0.25;\n vec3 v3 = v2 + x + y;\n if (segmentIndex < 3.0) {\n vec3 tx = u * sin(angle);\n vec3 ty = v * -cos(angle);\n vec3 tangent = tx + ty;\n normal = normalize(cross(v3 - v1, tangent));\n }\n\n if (segmentIndex == 0.0) {\n return mix(d, vec3(0.0), coneOffset);\n }\n return v3;\n}\n\nattribute vec3 vector;\nattribute vec4 color, position;\nattribute vec2 uv;\n\nuniform float vectorScale, coneScale, coneOffset;\nuniform mat4 model, view, projection, inverseModel;\nuniform vec3 eyePosition, lightPosition;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n // Scale the vector magnitude to stay constant with\n // model & view changes.\n vec3 normal;\n vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector), position.w, coneOffset, normal);\n vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n\n //Lighting geometry parameters\n vec4 cameraCoordinate = view * conePosition;\n cameraCoordinate.xyz /= cameraCoordinate.w;\n f_lightDirection = lightPosition - cameraCoordinate.xyz;\n f_eyeDirection = eyePosition - cameraCoordinate.xyz;\n f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);\n\n // vec4 m_position = model * vec4(conePosition, 1.0);\n vec4 t_position = view * conePosition;\n gl_Position = projection * t_position;\n\n f_color = color;\n f_data = conePosition.xyz;\n f_position = position.xyz;\n f_uv = uv;\n}\n"]),o=i(["#extension GL_OES_standard_derivatives : enable\n\nprecision highp float;\n#define GLSLIFY 1\n\nfloat beckmannDistribution(float x, float roughness) {\n float NdotH = max(x, 0.0001);\n float cos2Alpha = NdotH * NdotH;\n float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\n float roughness2 = roughness * roughness;\n float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\n return exp(tan2Alpha / roughness2) / denom;\n}\n\nfloat cookTorranceSpecular(\n vec3 lightDirection,\n vec3 viewDirection,\n vec3 surfaceNormal,\n float roughness,\n float fresnel) {\n\n float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);\n float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);\n\n //Half angle vector\n vec3 H = normalize(lightDirection + viewDirection);\n\n //Geometric term\n float NdotH = max(dot(surfaceNormal, H), 0.0);\n float VdotH = max(dot(viewDirection, H), 0.000001);\n float LdotH = max(dot(lightDirection, H), 0.000001);\n float G1 = (2.0 * NdotH * VdotN) / VdotH;\n float G2 = (2.0 * NdotH * LdotN) / LdotH;\n float G = min(1.0, min(G1, G2));\n \n //Distribution term\n float D = beckmannDistribution(NdotH, roughness);\n\n //Fresnel term\n float F = pow(1.0 - VdotN, fresnel);\n\n //Multiply terms and done\n return G * F * D / max(3.14159265 * VdotN, 0.000001);\n}\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;\nuniform sampler2D texture;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n vec3 N = normalize(f_normal);\n vec3 L = normalize(f_lightDirection);\n vec3 V = normalize(f_eyeDirection);\n\n if(gl_FrontFacing) {\n N = -N;\n }\n\n float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n vec4 surfaceColor = f_color * texture2D(texture, f_uv);\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\n\n gl_FragColor = litColor * opacity;\n}\n"]),a=i(["precision highp float;\n\nprecision highp float;\n#define GLSLIFY 1\n\nvec3 getOrthogonalVector(vec3 v) {\n // Return up-vector for only-z vector.\n // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\n // From the above if-statement we have ||a|| > 0 U ||b|| > 0.\n // Assign z = 0, x = -b, y = a:\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n return normalize(vec3(-v.y, v.x, 0.0));\n } else {\n return normalize(vec3(0.0, v.z, -v.y));\n }\n}\n\n// Calculate the cone vertex and normal at the given index.\n//\n// The returned vertex is for a cone with its top at origin and height of 1.0,\n// pointing in the direction of the vector attribute.\n//\n// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices.\n// These vertices are used to make up the triangles of the cone by the following:\n// segment + 0 top vertex\n// segment + 1 perimeter vertex a+1\n// segment + 2 perimeter vertex a\n// segment + 3 center base vertex\n// segment + 4 perimeter vertex a\n// segment + 5 perimeter vertex a+1\n// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment.\n// To go from index to segment, floor(index / 6)\n// To go from segment to angle, 2*pi * (segment/segmentCount)\n// To go from index to segment index, index - (segment*6)\n//\nvec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) {\n\n const float segmentCount = 8.0;\n\n float index = rawIndex - floor(rawIndex /\n (segmentCount * 6.0)) *\n (segmentCount * 6.0);\n\n float segment = floor(0.001 + index/6.0);\n float segmentIndex = index - (segment*6.0);\n\n normal = -normalize(d);\n\n if (segmentIndex > 2.99 && segmentIndex < 3.01) {\n return mix(vec3(0.0), -d, coneOffset);\n }\n\n float nextAngle = (\n (segmentIndex > 0.99 && segmentIndex < 1.01) ||\n (segmentIndex > 4.99 && segmentIndex < 5.01)\n ) ? 1.0 : 0.0;\n float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount);\n\n vec3 v1 = mix(d, vec3(0.0), coneOffset);\n vec3 v2 = v1 - d;\n\n vec3 u = getOrthogonalVector(d);\n vec3 v = normalize(cross(u, d));\n\n vec3 x = u * cos(angle) * length(d)*0.25;\n vec3 y = v * sin(angle) * length(d)*0.25;\n vec3 v3 = v2 + x + y;\n if (segmentIndex < 3.0) {\n vec3 tx = u * sin(angle);\n vec3 ty = v * -cos(angle);\n vec3 tangent = tx + ty;\n normal = normalize(cross(v3 - v1, tangent));\n }\n\n if (segmentIndex == 0.0) {\n return mix(d, vec3(0.0), coneOffset);\n }\n return v3;\n}\n\nattribute vec4 vector;\nattribute vec4 position;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\nuniform float vectorScale, coneScale, coneOffset;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n vec3 normal;\n vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector.xyz), position.w, coneOffset, normal);\n vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n gl_Position = projection * view * conePosition;\n f_id = id;\n f_position = position.xyz;\n}\n"]),s=i(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float pickId;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n\n gl_FragColor = vec4(pickId, f_id.xyz);\n}"]);e.meshShader={vertex:r,fragment:o,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},e.pickShader={vertex:a,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},1950:function(t){t.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},6603:function(t,e,n){var i=n(1950);t.exports=function(t){return i[t]}},3110:function(t,e,n){"use strict";t.exports=function(t){var e=t.gl,n=i(e),a=r(e,[{buffer:n,type:e.FLOAT,size:3,offset:0,stride:40},{buffer:n,type:e.FLOAT,size:4,offset:12,stride:40},{buffer:n,type:e.FLOAT,size:3,offset:28,stride:40}]),l=o(e);l.attributes.position.location=0,l.attributes.color.location=1,l.attributes.offset.location=2;var u=new s(e,n,a,l);return u.update(t),u};var i=n(5827),r=n(2944),o=n(7667),a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function s(t,e,n,i){this.gl=t,this.shader=i,this.buffer=e,this.vao=n,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var l=s.prototype;function u(t,e){for(var n=0;n<3;++n)t[0][n]=Math.min(t[0][n],e[n]),t[1][n]=Math.max(t[1][n],e[n])}l.isOpaque=function(){return!this.hasAlpha},l.isTransparent=function(){return this.hasAlpha},l.drawTransparent=l.draw=function(t){var e=this.gl,n=this.shader.uniforms;this.shader.bind();var i=n.view=t.view||a,r=n.projection=t.projection||a;n.model=t.model||a,n.clipBounds=this.clipBounds,n.opacity=this.opacity;var o=i[12],s=i[13],l=i[14],u=i[15],c=(t._ortho?2:1)*this.pixelRatio*(r[3]*o+r[7]*s+r[11]*l+r[15]*u)/e.drawingBufferHeight;this.vao.bind();for(var h=0;h<3;++h)e.lineWidth(this.lineWidth[h]*this.pixelRatio),n.capSize=this.capSize[h]*c,this.lineCount[h]&&e.drawArrays(e.LINES,this.lineOffset[h],this.lineCount[h]);this.vao.unbind()};var c=function(){for(var t=new Array(3),e=0;e<3;++e){for(var n=[],i=1;i<=2;++i)for(var r=-1;r<=1;r+=2){var o=[0,0,0];o[(i+e)%3]=r,n.push(o)}t[e]=n}return t}();function h(t,e,n,i){for(var r=c[i],o=0;o0&&((f=c.slice())[s]+=_[1][s],r.push(c[0],c[1],c[2],p[0],p[1],p[2],p[3],0,0,0,f[0],f[1],f[2],p[0],p[1],p[2],p[3],0,0,0),u(this.bounds,f),a+=2+h(r,f,p,s)))}this.lineCount[s]=a-this.lineOffset[s]}this.buffer.update(r)}},l.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()}},7667:function(t,e,n){"use strict";var i=n(6832),r=n(5158),o=i(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position, offset;\nattribute vec4 color;\nuniform mat4 model, view, projection;\nuniform float capSize;\nvarying vec4 fragColor;\nvarying vec3 fragPosition;\n\nvoid main() {\n vec4 worldPosition = model * vec4(position, 1.0);\n worldPosition = (worldPosition / worldPosition.w) + vec4(capSize * offset, 0.0);\n gl_Position = projection * view * worldPosition;\n fragColor = color;\n fragPosition = position;\n}"]),a=i(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float opacity;\nvarying vec3 fragPosition;\nvarying vec4 fragColor;\n\nvoid main() {\n if (\n outOfRange(clipBounds[0], clipBounds[1], fragPosition) ||\n fragColor.a * opacity == 0.\n ) discard;\n\n gl_FragColor = opacity * fragColor;\n}"]);t.exports=function(t){return r(t,o,a,null,[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"offset",type:"vec3"}])}},4234:function(t,e,n){"use strict";var i=n(8931);t.exports=function(t,e,n,i){r||(r=t.FRAMEBUFFER_UNSUPPORTED,o=t.FRAMEBUFFER_INCOMPLETE_ATTACHMENT,a=t.FRAMEBUFFER_INCOMPLETE_DIMENSIONS,s=t.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT);var u=t.getExtension("WEBGL_draw_buffers");if(!l&&u&&function(t,e){var n=t.getParameter(e.MAX_COLOR_ATTACHMENTS_WEBGL);l=new Array(n+1);for(var i=0;i<=n;++i){for(var r=new Array(n),o=0;oc||n<0||n>c)throw new Error("gl-fbo: Parameters are too large for FBO");var h=1;if("color"in(i=i||{})){if((h=Math.max(0|i.color,0))<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(h>1){if(!u)throw new Error("gl-fbo: Multiple draw buffer extension not supported");if(h>t.getParameter(u.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+h+" draw buffers")}}var d=t.UNSIGNED_BYTE,f=t.getExtension("OES_texture_float");if(i.float&&h>0){if(!f)throw new Error("gl-fbo: Context does not support floating point textures");d=t.FLOAT}else i.preferFloat&&h>0&&f&&(d=t.FLOAT);var p=!0;"depth"in i&&(p=!!i.depth);var m=!1;return"stencil"in i&&(m=!!i.stencil),new _(t,e,n,d,h,p,m,u)};var r,o,a,s,l=null;function u(t){return[t.getParameter(t.FRAMEBUFFER_BINDING),t.getParameter(t.RENDERBUFFER_BINDING),t.getParameter(t.TEXTURE_BINDING_2D)]}function c(t,e){t.bindFramebuffer(t.FRAMEBUFFER,e[0]),t.bindRenderbuffer(t.RENDERBUFFER,e[1]),t.bindTexture(t.TEXTURE_2D,e[2])}function h(t){switch(t){case r:throw new Error("gl-fbo: Framebuffer unsupported");case o:throw new Error("gl-fbo: Framebuffer incomplete attachment");case a:throw new Error("gl-fbo: Framebuffer incomplete dimensions");case s:throw new Error("gl-fbo: Framebuffer incomplete missing attachment");default:throw new Error("gl-fbo: Framebuffer failed for unspecified reason")}}function d(t,e,n,r,o,a){if(!r)return null;var s=i(t,e,n,o,r);return s.magFilter=t.NEAREST,s.minFilter=t.NEAREST,s.mipSamples=1,s.bind(),t.framebufferTexture2D(t.FRAMEBUFFER,a,t.TEXTURE_2D,s.handle,0),s}function f(t,e,n,i,r){var o=t.createRenderbuffer();return t.bindRenderbuffer(t.RENDERBUFFER,o),t.renderbufferStorage(t.RENDERBUFFER,i,e,n),t.framebufferRenderbuffer(t.FRAMEBUFFER,r,t.RENDERBUFFER,o),o}function _(t,e,n,i,r,o,a,s){this.gl=t,this._shape=[0|e,0|n],this._destroyed=!1,this._ext=s,this.color=new Array(r);for(var _=0;_1&&s.drawBuffersWEBGL(l[a]);var g=n.getExtension("WEBGL_depth_texture");g?_?t.depth=d(n,r,o,g.UNSIGNED_INT_24_8_WEBGL,n.DEPTH_STENCIL,n.DEPTH_STENCIL_ATTACHMENT):p&&(t.depth=d(n,r,o,n.UNSIGNED_SHORT,n.DEPTH_COMPONENT,n.DEPTH_ATTACHMENT)):p&&_?t._depth_rb=f(n,r,o,n.DEPTH_STENCIL,n.DEPTH_STENCIL_ATTACHMENT):p?t._depth_rb=f(n,r,o,n.DEPTH_COMPONENT16,n.DEPTH_ATTACHMENT):_&&(t._depth_rb=f(n,r,o,n.STENCIL_INDEX,n.STENCIL_ATTACHMENT));var y=n.checkFramebufferStatus(n.FRAMEBUFFER);if(y!==n.FRAMEBUFFER_COMPLETE){for(t._destroyed=!0,n.bindFramebuffer(n.FRAMEBUFFER,null),n.deleteFramebuffer(t.handle),t.handle=null,t.depth&&(t.depth.dispose(),t.depth=null),t._depth_rb&&(n.deleteRenderbuffer(t._depth_rb),t._depth_rb=null),v=0;vr||n<0||n>r)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");t._shape[0]=e,t._shape[1]=n;for(var o=u(i),a=0;a>8*f&255;this.pickOffset=n,r.bind();var _=r.uniforms;_.viewTransform=t,_.pickOffset=e,_.shape=this.shape;var p=r.attributes;return this.positionBuffer.bind(),p.position.pointer(),this.weightBuffer.bind(),p.weight.pointer(s.UNSIGNED_BYTE,!1),this.idBuffer.bind(),p.pickId.pointer(s.UNSIGNED_BYTE,!1),s.drawArrays(s.TRIANGLES,0,a),n+this.shape[0]*this.shape[1]}}}(),h.pick=function(t,e,n){var i=this.pickOffset,r=this.shape[0]*this.shape[1];if(n=i+r)return null;var o=n-i,a=this.xData,s=this.yData;return{object:this,pointId:o,dataCoord:[a[o%this.shape[0]],s[o/this.shape[0]|0]]}},h.update=function(t){var e=(t=t||{}).shape||[0,0],n=t.x||r(e[0]),a=t.y||r(e[1]),s=t.z||new Float32Array(e[0]*e[1]),l=!1!==t.zsmooth;this.xData=n,this.yData=a;var u,c,h,f,_=t.colorLevels||[0],p=t.colorValues||[0,0,0,1],m=_.length,v=this.bounds;l?(u=v[0]=n[0],c=v[1]=a[0],h=v[2]=n[n.length-1],f=v[3]=a[a.length-1]):(u=v[0]=n[0]+(n[1]-n[0])/2,c=v[1]=a[0]+(a[1]-a[0])/2,h=v[2]=n[n.length-1]+(n[n.length-1]-n[n.length-2])/2,f=v[3]=a[a.length-1]+(a[a.length-1]-a[a.length-2])/2);var g=1/(h-u),y=1/(f-c),b=e[0],w=e[1];this.shape=[b,w];var E=(l?(b-1)*(w-1):b*w)*(d.length>>>1);this.numVertices=E;for(var x=o.mallocUint8(4*E),C=o.mallocFloat32(2*E),T=o.mallocUint8(2*E),A=o.mallocUint32(E),S=0,z=l?b-1:b,k=l?w-1:w,N=0;N max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform sampler2D dashTexture;\nuniform float dashScale;\nuniform float opacity;\n\nvarying vec3 worldPosition;\nvarying float pixelArcLength;\nvarying vec4 fragColor;\n\nvoid main() {\n if (\n outOfRange(clipBounds[0], clipBounds[1], worldPosition) ||\n fragColor.a * opacity == 0.\n ) discard;\n\n float dashWeight = texture2D(dashTexture, vec2(dashScale * pixelArcLength, 0)).r;\n if(dashWeight < 0.5) {\n discard;\n }\n gl_FragColor = fragColor * opacity;\n}\n"]),s=i(["precision highp float;\n#define GLSLIFY 1\n\n#define FLOAT_MAX 1.70141184e38\n#define FLOAT_MIN 1.17549435e-38\n\n// https://github.com/mikolalysenko/glsl-read-float/blob/master/index.glsl\nvec4 packFloat(float v) {\n float av = abs(v);\n\n //Handle special cases\n if(av < FLOAT_MIN) {\n return vec4(0.0, 0.0, 0.0, 0.0);\n } else if(v > FLOAT_MAX) {\n return vec4(127.0, 128.0, 0.0, 0.0) / 255.0;\n } else if(v < -FLOAT_MAX) {\n return vec4(255.0, 128.0, 0.0, 0.0) / 255.0;\n }\n\n vec4 c = vec4(0,0,0,0);\n\n //Compute exponent and mantissa\n float e = floor(log2(av));\n float m = av * pow(2.0, -e) - 1.0;\n\n //Unpack mantissa\n c[1] = floor(128.0 * m);\n m -= c[1] / 128.0;\n c[2] = floor(32768.0 * m);\n m -= c[2] / 32768.0;\n c[3] = floor(8388608.0 * m);\n\n //Unpack exponent\n float ebias = e + 127.0;\n c[0] = floor(ebias / 2.0);\n ebias -= c[0] * 2.0;\n c[1] += floor(ebias) * 128.0;\n\n //Unpack sign bit\n c[0] += 128.0 * step(0.0, -v);\n\n //Scale back to range\n return c / 255.0;\n}\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform float pickId;\nuniform vec3 clipBounds[2];\n\nvarying vec3 worldPosition;\nvarying float pixelArcLength;\nvarying vec4 fragColor;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], worldPosition)) discard;\n\n gl_FragColor = vec4(pickId/255.0, packFloat(pixelArcLength).xyz);\n}"]),l=[{name:"position",type:"vec3"},{name:"nextPosition",type:"vec3"},{name:"arcLength",type:"float"},{name:"lineWidth",type:"float"},{name:"color",type:"vec4"}];e.createShader=function(t){return r(t,o,a,null,l)},e.createPickShader=function(t){return r(t,o,s,null,l)}},6086:function(t,e,n){"use strict";t.exports=function(t){var e=t.gl||t.scene&&t.scene.gl,n=h(e);n.attributes.position.location=0,n.attributes.nextPosition.location=1,n.attributes.arcLength.location=2,n.attributes.lineWidth.location=3,n.attributes.color.location=4;var a=d(e);a.attributes.position.location=0,a.attributes.nextPosition.location=1,a.attributes.arcLength.location=2,a.attributes.lineWidth.location=3,a.attributes.color.location=4;for(var s=i(e),l=r(e,[{buffer:s,size:3,offset:0,stride:48},{buffer:s,size:3,offset:12,stride:48},{buffer:s,size:1,offset:24,stride:48},{buffer:s,size:1,offset:28,stride:48},{buffer:s,size:4,offset:32,stride:48}]),c=u(new Array(1024),[256,1,4]),f=0;f<1024;++f)c.data[f]=255;var _=o(e,c);_.wrap=e.REPEAT;var p=new v(e,n,a,s,l,_);return p.update(t),p};var i=n(5827),r=n(2944),o=n(8931),a=new Uint8Array(4),s=new Float32Array(a.buffer),l=n(5070),u=n(5050),c=n(248),h=c.createShader,d=c.createPickShader,f=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function _(t,e){for(var n=0,i=0;i<3;++i){var r=t[i]-e[i];n+=r*r}return Math.sqrt(n)}function p(t){for(var e=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],n=0;n<3;++n)e[0][n]=Math.max(t[0][n],e[0][n]),e[1][n]=Math.min(t[1][n],e[1][n]);return e}function m(t,e,n,i){this.arcLength=t,this.position=e,this.index=n,this.dataCoordinate=i}function v(t,e,n,i,r,o){this.gl=t,this.shader=e,this.pickShader=n,this.buffer=i,this.vao=r,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=o,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var g=v.prototype;g.isTransparent=function(){return this.hasAlpha},g.isOpaque=function(){return!this.hasAlpha},g.pickSlots=1,g.setPickBase=function(t){this.pickId=t},g.drawTransparent=g.draw=function(t){if(this.vertexCount){var e=this.gl,n=this.shader,i=this.vao;n.bind(),n.uniforms={model:t.model||f,view:t.view||f,projection:t.projection||f,clipBounds:p(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[e.drawingBufferWidth,e.drawingBufferHeight],pixelRatio:this.pixelRatio},i.bind(),i.draw(e.TRIANGLE_STRIP,this.vertexCount),i.unbind()}},g.drawPick=function(t){if(this.vertexCount){var e=this.gl,n=this.pickShader,i=this.vao;n.bind(),n.uniforms={model:t.model||f,view:t.view||f,projection:t.projection||f,pickId:this.pickId,clipBounds:p(this.clipBounds),screenShape:[e.drawingBufferWidth,e.drawingBufferHeight],pixelRatio:this.pixelRatio},i.bind(),i.draw(e.TRIANGLE_STRIP,this.vertexCount),i.unbind()}},g.update=function(t){var e,n;this.dirty=!0;var i=!!t.connectGaps;"dashScale"in t&&(this.dashScale=t.dashScale),this.hasAlpha=!1,"opacity"in t&&(this.opacity=+t.opacity,this.opacity<1&&(this.hasAlpha=!0));var r=[],o=[],a=[],s=0,c=0,h=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],d=t.position||t.positions;if(d){var f=t.color||t.colors||[0,0,0,1],p=t.lineWidth||1,m=!1;t:for(e=1;e0){for(var E=0;E<24;++E)r.push(r[r.length-12]);c+=2,m=!0}continue t}h[0][n]=Math.min(h[0][n],b[n],w[n]),h[1][n]=Math.max(h[1][n],b[n],w[n])}Array.isArray(f[0])?(v=f.length>e-1?f[e-1]:f.length>0?f[f.length-1]:[0,0,0,1],g=f.length>e?f[e]:f.length>0?f[f.length-1]:[0,0,0,1]):v=g=f,3===v.length&&(v=[v[0],v[1],v[2],1]),3===g.length&&(g=[g[0],g[1],g[2],1]),!this.hasAlpha&&v[3]<1&&(this.hasAlpha=!0),y=Array.isArray(p)?p.length>e-1?p[e-1]:p.length>0?p[p.length-1]:[0,0,0,1]:p;var x=s;if(s+=_(b,w),m){for(n=0;n<2;++n)r.push(b[0],b[1],b[2],w[0],w[1],w[2],x,y,v[0],v[1],v[2],v[3]);c+=2,m=!1}r.push(b[0],b[1],b[2],w[0],w[1],w[2],x,y,v[0],v[1],v[2],v[3],b[0],b[1],b[2],w[0],w[1],w[2],x,-y,v[0],v[1],v[2],v[3],w[0],w[1],w[2],b[0],b[1],b[2],s,-y,g[0],g[1],g[2],g[3],w[0],w[1],w[2],b[0],b[1],b[2],s,y,g[0],g[1],g[2],g[3]),c+=4}}if(this.buffer.update(r),o.push(s),a.push(d[d.length-1].slice()),this.bounds=h,this.vertexCount=c,this.points=a,this.arcLength=o,"dashes"in t){var C=t.dashes.slice();for(C.unshift(0),e=1;e1.0001)return null;v+=m[h]}return Math.abs(v-1)>.001?null:[d,s(t,m),m]}},2056:function(t,e,n){var i=n(6832),r=i(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position, normal;\nattribute vec4 color;\nattribute vec2 uv;\n\nuniform mat4 model\n , view\n , projection\n , inverseModel;\nuniform vec3 eyePosition\n , lightPosition;\n\nvarying vec3 f_normal\n , f_lightDirection\n , f_eyeDirection\n , f_data;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvec4 project(vec3 p) {\n return projection * view * model * vec4(p, 1.0);\n}\n\nvoid main() {\n gl_Position = project(position);\n\n //Lighting geometry parameters\n vec4 cameraCoordinate = view * vec4(position , 1.0);\n cameraCoordinate.xyz /= cameraCoordinate.w;\n f_lightDirection = lightPosition - cameraCoordinate.xyz;\n f_eyeDirection = eyePosition - cameraCoordinate.xyz;\n f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);\n\n f_color = color;\n f_data = position;\n f_uv = uv;\n}\n"]),o=i(["#extension GL_OES_standard_derivatives : enable\n\nprecision highp float;\n#define GLSLIFY 1\n\nfloat beckmannDistribution(float x, float roughness) {\n float NdotH = max(x, 0.0001);\n float cos2Alpha = NdotH * NdotH;\n float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\n float roughness2 = roughness * roughness;\n float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\n return exp(tan2Alpha / roughness2) / denom;\n}\n\nfloat cookTorranceSpecular(\n vec3 lightDirection,\n vec3 viewDirection,\n vec3 surfaceNormal,\n float roughness,\n float fresnel) {\n\n float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);\n float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);\n\n //Half angle vector\n vec3 H = normalize(lightDirection + viewDirection);\n\n //Geometric term\n float NdotH = max(dot(surfaceNormal, H), 0.0);\n float VdotH = max(dot(viewDirection, H), 0.000001);\n float LdotH = max(dot(lightDirection, H), 0.000001);\n float G1 = (2.0 * NdotH * VdotN) / VdotH;\n float G2 = (2.0 * NdotH * LdotN) / LdotH;\n float G = min(1.0, min(G1, G2));\n \n //Distribution term\n float D = beckmannDistribution(NdotH, roughness);\n\n //Fresnel term\n float F = pow(1.0 - VdotN, fresnel);\n\n //Multiply terms and done\n return G * F * D / max(3.14159265 * VdotN, 0.000001);\n}\n\n//#pragma glslify: beckmann = require(glsl-specular-beckmann) // used in gl-surface3d\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float roughness\n , fresnel\n , kambient\n , kdiffuse\n , kspecular;\nuniform sampler2D texture;\n\nvarying vec3 f_normal\n , f_lightDirection\n , f_eyeDirection\n , f_data;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n if (f_color.a == 0.0 ||\n outOfRange(clipBounds[0], clipBounds[1], f_data)\n ) discard;\n\n vec3 N = normalize(f_normal);\n vec3 L = normalize(f_lightDirection);\n vec3 V = normalize(f_eyeDirection);\n\n if(gl_FrontFacing) {\n N = -N;\n }\n\n float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));\n //float specular = max(0.0, beckmann(L, V, N, roughness)); // used in gl-surface3d\n\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n vec4 surfaceColor = vec4(f_color.rgb, 1.0) * texture2D(texture, f_uv);\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\n\n gl_FragColor = litColor * f_color.a;\n}\n"]),a=i(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 uv;\n\nuniform mat4 model, view, projection;\n\nvarying vec4 f_color;\nvarying vec3 f_data;\nvarying vec2 f_uv;\n\nvoid main() {\n gl_Position = projection * view * model * vec4(position, 1.0);\n f_color = color;\n f_data = position;\n f_uv = uv;\n}"]),s=i(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform sampler2D texture;\nuniform float opacity;\n\nvarying vec4 f_color;\nvarying vec3 f_data;\nvarying vec2 f_uv;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_data)) discard;\n\n gl_FragColor = f_color * texture2D(texture, f_uv) * opacity;\n}"]),l=i(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 uv;\nattribute float pointSize;\n\nuniform mat4 model, view, projection;\nuniform vec3 clipBounds[2];\n\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n gl_Position = vec4(0.0, 0.0 ,0.0 ,0.0);\n } else {\n gl_Position = projection * view * model * vec4(position, 1.0);\n }\n gl_PointSize = pointSize;\n f_color = color;\n f_uv = uv;\n}"]),u=i(["precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D texture;\nuniform float opacity;\n\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n vec2 pointR = gl_PointCoord.xy - vec2(0.5, 0.5);\n if(dot(pointR, pointR) > 0.25) {\n discard;\n }\n gl_FragColor = f_color * texture2D(texture, f_uv) * opacity;\n}"]),c=i(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n gl_Position = projection * view * model * vec4(position, 1.0);\n f_id = id;\n f_position = position;\n}"]),h=i(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float pickId;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n\n gl_FragColor = vec4(pickId, f_id.xyz);\n}"]),d=i(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute float pointSize;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\nuniform vec3 clipBounds[2];\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n gl_Position = vec4(0.0, 0.0, 0.0, 0.0);\n } else {\n gl_Position = projection * view * model * vec4(position, 1.0);\n gl_PointSize = pointSize;\n }\n f_id = id;\n f_position = position;\n}"]),f=i(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec3 position;\n\nuniform mat4 model, view, projection;\n\nvoid main() {\n gl_Position = projection * view * model * vec4(position, 1.0);\n}"]),_=i(["precision highp float;\n#define GLSLIFY 1\n\nuniform vec3 contourColor;\n\nvoid main() {\n gl_FragColor = vec4(contourColor, 1.0);\n}\n"]);e.meshShader={vertex:r,fragment:o,attributes:[{name:"position",type:"vec3"},{name:"normal",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},e.wireShader={vertex:a,fragment:s,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},e.pointShader={vertex:l,fragment:u,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"pointSize",type:"float"}]},e.pickShader={vertex:c,fragment:h,attributes:[{name:"position",type:"vec3"},{name:"id",type:"vec4"}]},e.pointPickShader={vertex:d,fragment:h,attributes:[{name:"position",type:"vec3"},{name:"pointSize",type:"float"},{name:"id",type:"vec4"}]},e.contourShader={vertex:f,fragment:_,attributes:[{name:"position",type:"vec3"}]}},8116:function(t,e,n){"use strict";var i=n(5158),r=n(5827),o=n(2944),a=n(8931),s=n(115),l=n(104),u=n(7437),c=n(5050),h=n(9156),d=n(7212),f=n(5306),_=n(2056),p=n(4340),m=_.meshShader,v=_.wireShader,g=_.pointShader,y=_.pickShader,b=_.pointPickShader,w=_.contourShader,E=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function x(t,e,n,i,r,o,a,s,l,u,c,h,d,f,_,p,m,v,g,y,b,w,x,C,T,A,S){this.gl=t,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=e,this.dirty=!0,this.triShader=n,this.lineShader=i,this.pointShader=r,this.pickShader=o,this.pointPickShader=a,this.contourShader=s,this.trianglePositions=l,this.triangleColors=c,this.triangleNormals=d,this.triangleUVs=h,this.triangleIds=u,this.triangleVAO=f,this.triangleCount=0,this.lineWidth=1,this.edgePositions=_,this.edgeColors=m,this.edgeUVs=v,this.edgeIds=p,this.edgeVAO=g,this.edgeCount=0,this.pointPositions=y,this.pointColors=w,this.pointUVs=x,this.pointSizes=C,this.pointIds=b,this.pointVAO=T,this.pointCount=0,this.contourLineWidth=1,this.contourPositions=A,this.contourVAO=S,this.contourCount=0,this.contourColor=[0,0,0],this.contourEnable=!0,this.pickVertex=!0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.hasAlpha=!1,this.opacityscale=!1,this._model=E,this._view=E,this._projection=E,this._resolution=[1,1]}var C=x.prototype;function T(t,e){if(!e)return 1;if(!e.length)return 1;for(var n=0;nt&&n>0){var i=(e[n][0]-t)/(e[n][0]-e[n-1][0]);return e[n][1]*(1-i)+i*e[n-1][1]}}return 1}function A(t){var e=i(t,g.vertex,g.fragment);return e.attributes.position.location=0,e.attributes.color.location=2,e.attributes.uv.location=3,e.attributes.pointSize.location=4,e}function S(t){var e=i(t,y.vertex,y.fragment);return e.attributes.position.location=0,e.attributes.id.location=1,e}function z(t){var e=i(t,b.vertex,b.fragment);return e.attributes.position.location=0,e.attributes.id.location=1,e.attributes.pointSize.location=4,e}function k(t){var e=i(t,w.vertex,w.fragment);return e.attributes.position.location=0,e}C.isOpaque=function(){return!this.hasAlpha},C.isTransparent=function(){return this.hasAlpha},C.pickSlots=1,C.setPickBase=function(t){this.pickId=t},C.highlight=function(t){if(t&&this.contourEnable){for(var e=d(this.cells,this.intensity,t.intensity),n=e.cells,i=e.vertexIds,r=e.vertexWeights,o=n.length,a=f.mallocFloat32(6*o),s=0,l=0;l0&&((h=this.triShader).bind(),h.uniforms=s,this.triangleVAO.bind(),e.drawArrays(e.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&this.lineWidth>0&&((h=this.lineShader).bind(),h.uniforms=s,this.edgeVAO.bind(),e.lineWidth(this.lineWidth*this.pixelRatio),e.drawArrays(e.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((h=this.pointShader).bind(),h.uniforms=s,this.pointVAO.bind(),e.drawArrays(e.POINTS,0,this.pointCount),this.pointVAO.unbind()),this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0&&((h=this.contourShader).bind(),h.uniforms=s,this.contourVAO.bind(),e.drawArrays(e.LINES,0,this.contourCount),this.contourVAO.unbind())},C.drawPick=function(t){t=t||{};for(var e=this.gl,n=t.model||E,i=t.view||E,r=t.projection||E,o=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],a=0;a<3;++a)o[0][a]=Math.max(o[0][a],this.clipBounds[0][a]),o[1][a]=Math.min(o[1][a],this.clipBounds[1][a]);this._model=[].slice.call(n),this._view=[].slice.call(i),this._projection=[].slice.call(r),this._resolution=[e.drawingBufferWidth,e.drawingBufferHeight];var s,l={model:n,view:i,projection:r,clipBounds:o,pickId:this.pickId/255};(s=this.pickShader).bind(),s.uniforms=l,this.triangleCount>0&&(this.triangleVAO.bind(),e.drawArrays(e.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),e.lineWidth(this.lineWidth*this.pixelRatio),e.drawArrays(e.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((s=this.pointPickShader).bind(),s.uniforms=l,this.pointVAO.bind(),e.drawArrays(e.POINTS,0,this.pointCount),this.pointVAO.unbind())},C.pick=function(t){if(!t)return null;if(t.id!==this.pickId)return null;for(var e=t.value[0]+256*t.value[1]+65536*t.value[2],n=this.cells[e],i=this.positions,r=new Array(n.length),o=0;or[C]&&(n.uniforms.dataAxis=u,n.uniforms.screenOffset=c,n.uniforms.color=m[t],n.uniforms.angle=v[t],o.drawArrays(o.TRIANGLES,r[C],r[T]-r[C]))),g[t]&&x&&(c[1^t]-=A*f*y[t],n.uniforms.dataAxis=h,n.uniforms.screenOffset=c,n.uniforms.color=b[t],n.uniforms.angle=w[t],o.drawArrays(o.TRIANGLES,E,x)),c[1^t]=A*s[2+(1^t)]-1,_[t+2]&&(c[1^t]+=A*f*p[t+2],Cr[C]&&(n.uniforms.dataAxis=u,n.uniforms.screenOffset=c,n.uniforms.color=m[t+2],n.uniforms.angle=v[t+2],o.drawArrays(o.TRIANGLES,r[C],r[T]-r[C]))),g[t+2]&&x&&(c[1^t]+=A*f*y[t+2],n.uniforms.dataAxis=h,n.uniforms.screenOffset=c,n.uniforms.color=b[t+2],n.uniforms.angle=w[t+2],o.drawArrays(o.TRIANGLES,E,x))}),p.drawTitle=function(){var t=[0,0],e=[0,0];return function(){var n=this.plot,i=this.shader,r=n.gl,o=n.screenBox,a=n.titleCenter,s=n.titleAngle,l=n.titleColor,u=n.pixelRatio;if(this.titleCount){for(var c=0;c<2;++c)e[c]=2*(a[c]*u-o[c])/(o[2+c]-o[c])-1;i.bind(),i.uniforms.dataAxis=t,i.uniforms.screenOffset=e,i.uniforms.angle=s,i.uniforms.color=l,r.drawArrays(r.TRIANGLES,this.titleOffset,this.titleCount)}}}(),p.bind=(d=[0,0],f=[0,0],_=[0,0],function(){var t=this.plot,e=this.shader,n=t._tickBounds,i=t.dataBox,r=t.screenBox,o=t.viewBox;e.bind();for(var a=0;a<2;++a){var s=n[a],l=n[a+2]-s,u=.5*(i[a+2]+i[a]),c=i[a+2]-i[a],h=o[a],p=o[a+2]-h,m=r[a],v=r[a+2]-m;f[a]=2*l/c*p/v,d[a]=2*(s-u)/c*p/v}_[1]=2*t.pixelRatio/(r[3]-r[1]),_[0]=_[1]*(r[3]-r[1])/(r[2]-r[0]),e.uniforms.dataScale=f,e.uniforms.dataShift=d,e.uniforms.textScale=_,this.vbo.bind(),e.attributes.textCoordinate.pointer()}),p.update=function(t){var e,n,i,r,a,s=[],l=t.ticks,u=t.bounds;for(a=0;a<2;++a){var c=[Math.floor(s.length/3)],h=[-1/0],d=l[a];for(e=0;e=0){var p=e[_]-i[_]*(e[_+2]-e[_])/(i[_+2]-i[_]);0===_?a.drawLine(p,e[1],p,e[3],f[_],d[_]):a.drawLine(e[0],p,e[2],p,f[_],d[_])}}for(_=0;_=0;--t)this.objects[t].dispose();for(this.objects.length=0,t=this.overlays.length-1;t>=0;--t)this.overlays[t].dispose();this.overlays.length=0,this.gl=null},u.addObject=function(t){this.objects.indexOf(t)<0&&(this.objects.push(t),this.setDirty())},u.removeObject=function(t){for(var e=this.objects,n=0;nMath.abs(e))u.rotate(o,0,0,-t*n*Math.PI*_.rotateSpeed/window.innerWidth);else if(!_._ortho){var a=-_.zoomSpeed*r*e/window.innerHeight*(o-u.lastT())/20;u.pan(o,0,0,h*(Math.exp(a)-1))}}}),!0)},_.enableMouseListeners(),_};var i=n(8161),r=n(1152),o=n(6145),a=n(6475),s=n(2565),l=n(5233)},8245:function(t,e,n){var i=n(6832),r=n(5158),o=i(["precision mediump float;\n#define GLSLIFY 1\nattribute vec2 position;\nvarying vec2 uv;\nvoid main() {\n uv = position;\n gl_Position = vec4(position, 0, 1);\n}"]),a=i(["precision mediump float;\n#define GLSLIFY 1\n\nuniform sampler2D accumBuffer;\nvarying vec2 uv;\n\nvoid main() {\n vec4 accum = texture2D(accumBuffer, 0.5 * (uv + 1.0));\n gl_FragColor = min(vec4(1,1,1,1), accum);\n}"]);t.exports=function(t){return r(t,o,a,null,[{name:"position",type:"vec2"}])}},1059:function(t,e,n){"use strict";var i=n(4296),r=n(7453),o=n(2771),a=n(6496),s=n(2611),l=n(4234),u=n(8126),c=n(6145),h=n(1120),d=n(5268),f=n(8245),_=n(2321)({tablet:!0,featureDetect:!0});function p(){this.mouse=[-1,-1],this.screen=null,this.distance=1/0,this.index=null,this.dataCoordinate=null,this.dataPosition=null,this.object=null,this.data=null}function m(t){var e=Math.round(Math.log(Math.abs(t))/Math.log(10));if(e<0){var n=Math.round(Math.pow(10,-e));return Math.ceil(t*n)/n}return e>0?(n=Math.round(Math.pow(10,e)),Math.ceil(t/n)*n):Math.ceil(t)}function v(t){return"boolean"!=typeof t||t}t.exports={createScene:function(t){(t=t||{}).camera=t.camera||{};var e=t.canvas;e||(e=document.createElement("canvas"),t.container?t.container.appendChild(e):document.body.appendChild(e));var n=t.gl;if(n||(t.glOptions&&(_=!!t.glOptions.preserveDrawingBuffer),n=function(t,e){var n=null;try{(n=t.getContext("webgl",e))||(n=t.getContext("experimental-webgl",e))}catch(t){return null}return n}(e,t.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:_})),!n)throw new Error("webgl not supported");var g=t.bounds||[[-10,-10,-10],[10,10,10]],y=new p,b=l(n,n.drawingBufferWidth,n.drawingBufferHeight,{preferFloat:!_}),w=f(n),E=t.cameraObject&&!0===t.cameraObject._ortho||t.camera.projection&&"orthographic"===t.camera.projection.type||!1,x={eye:t.camera.eye||[2,0,0],center:t.camera.center||[0,0,0],up:t.camera.up||[0,1,0],zoomMin:t.camera.zoomMax||.1,zoomMax:t.camera.zoomMin||100,mode:t.camera.mode||"turntable",_ortho:E},C=t.axes||{},T=r(n,C);T.enable=!C.disable;var A=t.spikes||{},S=a(n,A),z=[],k=[],N=[],I=[],O=!0,L=!0,M={view:null,projection:new Array(16),model:new Array(16),_ortho:!1},$=(L=!0,[n.drawingBufferWidth,n.drawingBufferHeight]),R=t.cameraObject||i(e,x),P={gl:n,contextLost:!1,pixelRatio:t.pixelRatio||1,canvas:e,selection:y,camera:R,axes:T,axesPixels:null,spikes:S,bounds:g,objects:z,shape:$,aspect:t.aspectRatio||[1,1,1],pickRadius:t.pickRadius||10,zNear:t.zNear||.01,zFar:t.zFar||1e3,fovy:t.fovy||Math.PI/4,clearColor:t.clearColor||[0,0,0,0],autoResize:v(t.autoResize),autoBounds:v(t.autoBounds),autoScale:!!t.autoScale,autoCenter:v(t.autoCenter),clipToBounds:v(t.clipToBounds),snapToData:!!t.snapToData,onselect:t.onselect||null,onrender:t.onrender||null,onclick:t.onclick||null,cameraParams:M,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(t){this.aspect[0]=t.x,this.aspect[1]=t.y,this.aspect[2]=t.z,L=!0},setBounds:function(t,e){this.bounds[0][t]=e.min,this.bounds[1][t]=e.max},setClearColor:function(t){this.clearColor=t},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},U=[n.drawingBufferWidth/P.pixelRatio|0,n.drawingBufferHeight/P.pixelRatio|0];function j(){if(!P._stopped&&P.autoResize){var t=e.parentNode,n=1,i=1;t&&t!==document.body?(n=t.clientWidth,i=t.clientHeight):(n=window.innerWidth,i=window.innerHeight);var r=0|Math.ceil(n*P.pixelRatio),o=0|Math.ceil(i*P.pixelRatio);if(r!==e.width||o!==e.height){e.width=r,e.height=o;var a=e.style;a.position=a.position||"absolute",a.left="0px",a.top="0px",a.width=n+"px",a.height=i+"px",O=!0}}}function q(){for(var t=z.length,e=I.length,i=0;i0&&0===N[e-1];)N.pop(),I.pop().dispose()}function D(){if(P.contextLost)return!0;n.isContextLost()&&(P.contextLost=!0,P.mouseListener.enabled=!1,P.selection.object=null,P.oncontextloss&&P.oncontextloss())}P.autoResize&&j(),window.addEventListener("resize",j),P.update=function(t){P._stopped||(t=t||{},O=!0,L=!0)},P.add=function(t){P._stopped||(t.axes=T,z.push(t),k.push(-1),O=!0,L=!0,q())},P.remove=function(t){if(!P._stopped){var e=z.indexOf(t);e<0||(z.splice(e,1),k.pop(),O=!0,L=!0,q())}},P.dispose=function(){if(!P._stopped&&(P._stopped=!0,window.removeEventListener("resize",j),e.removeEventListener("webglcontextlost",D),P.mouseListener.enabled=!1,!P.contextLost)){T.dispose(),S.dispose();for(var t=0;ty.distance)continue;for(var u=0;u 1.0) {\n discard;\n }\n baseColor = mix(borderColor, color, step(radius, centerFraction));\n gl_FragColor = vec4(baseColor.rgb * baseColor.a, baseColor.a);\n }\n}\n"]),e.pickVertex=i(["precision mediump float;\n#define GLSLIFY 1\n\nattribute vec2 position;\nattribute vec4 pickId;\n\nuniform mat3 matrix;\nuniform float pointSize;\nuniform vec4 pickOffset;\n\nvarying vec4 fragId;\n\nvoid main() {\n vec3 hgPosition = matrix * vec3(position, 1);\n gl_Position = vec4(hgPosition.xy, 0, hgPosition.z);\n gl_PointSize = pointSize;\n\n vec4 id = pickId + pickOffset;\n id.y += floor(id.x / 256.0);\n id.x -= floor(id.x / 256.0) * 256.0;\n\n id.z += floor(id.y / 256.0);\n id.y -= floor(id.y / 256.0) * 256.0;\n\n id.w += floor(id.z / 256.0);\n id.z -= floor(id.z / 256.0) * 256.0;\n\n fragId = id;\n}\n"]),e.pickFragment=i(["precision mediump float;\n#define GLSLIFY 1\n\nvarying vec4 fragId;\n\nvoid main() {\n float radius = length(2.0 * gl_PointCoord.xy - 1.0);\n if(radius > 1.0) {\n discard;\n }\n gl_FragColor = fragId / 255.0;\n}\n"])},8271:function(t,e,n){"use strict";var i=n(5158),r=n(5827),o=n(5306),a=n(8023);function s(t,e,n,i,r){this.plot=t,this.offsetBuffer=e,this.pickBuffer=n,this.shader=i,this.pickShader=r,this.sizeMin=.5,this.sizeMinCap=2,this.sizeMax=20,this.areaRatio=1,this.pointCount=0,this.color=[1,0,0,1],this.borderColor=[0,0,0,1],this.blend=!1,this.pickOffset=0,this.points=null}t.exports=function(t,e){var n=t.gl,o=new s(t,r(n),r(n),i(n,a.pointVertex,a.pointFragment),i(n,a.pickVertex,a.pickFragment));return o.update(e),t.addObject(o),o};var l,u,c=s.prototype;c.dispose=function(){this.shader.dispose(),this.pickShader.dispose(),this.offsetBuffer.dispose(),this.pickBuffer.dispose(),this.plot.removeObject(this)},c.update=function(t){var e;function n(e,n){return e in t?t[e]:n}t=t||{},this.sizeMin=n("sizeMin",.5),this.sizeMax=n("sizeMax",20),this.color=n("color",[1,0,0,1]).slice(),this.areaRatio=n("areaRatio",1),this.borderColor=n("borderColor",[0,0,0,1]).slice(),this.blend=n("blend",!1);var i=t.positions.length>>>1,r=t.positions instanceof Float32Array,a=t.idToIndex instanceof Int32Array&&t.idToIndex.length>=i,s=t.positions,l=r?s:o.mallocFloat32(s.length),u=a?t.idToIndex:o.mallocInt32(i);if(r||l.set(s),!a)for(l.set(s),e=0;e>>1;for(n=0;n=e[0]&&o<=e[2]&&a>=e[1]&&a<=e[3]&&i++}return i}(this.points,r),c=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(s,.33333)));l[0]=2/o,l[4]=2/a,l[6]=-2*r[0]/o-1,l[7]=-2*r[1]/a-1,this.offsetBuffer.bind(),n.bind(),n.attributes.position.pointer(),n.uniforms.matrix=l,n.uniforms.color=this.color,n.uniforms.borderColor=this.borderColor,n.uniforms.pointCloud=c<5,n.uniforms.pointSize=c,n.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),e&&(u[0]=255&t,u[1]=t>>8&255,u[2]=t>>16&255,u[3]=t>>24&255,this.pickBuffer.bind(),n.attributes.pickId.pointer(i.UNSIGNED_BYTE),n.uniforms.pickOffset=u,this.pickOffset=t);var h=i.getParameter(i.BLEND),d=i.getParameter(i.DITHER);return h&&!this.blend&&i.disable(i.BLEND),d&&i.disable(i.DITHER),i.drawArrays(i.POINTS,0,this.pointCount),h&&!this.blend&&i.enable(i.BLEND),d&&i.enable(i.DITHER),t+this.pointCount}),c.draw=c.unifiedDraw,c.drawPick=c.unifiedDraw,c.pick=function(t,e,n){var i=this.pickOffset,r=this.pointCount;if(n=i+r)return null;var o=n-i,a=this.points;return{object:this,pointId:o,dataCoord:[a[2*o],a[2*o+1]]}}},6093:function(t){t.exports=function(t,e,n,i){var r,o,a,s,l,u=e[0],c=e[1],h=e[2],d=e[3],f=n[0],_=n[1],p=n[2],m=n[3];return(o=u*f+c*_+h*p+d*m)<0&&(o=-o,f=-f,_=-_,p=-p,m=-m),1-o>1e-6?(r=Math.acos(o),a=Math.sin(r),s=Math.sin((1-i)*r)/a,l=Math.sin(i*r)/a):(s=1-i,l=i),t[0]=s*u+l*f,t[1]=s*c+l*_,t[2]=s*h+l*p,t[3]=s*d+l*m,t}},8240:function(t){"use strict";t.exports=function(t){return t||0===t?t.toString():""}},4123:function(t,e,n){"use strict";var i=n(875);t.exports=function(t,e,n){var o=r[e];if(o||(o=r[e]={}),t in o)return o[t];var a={textAlign:"center",textBaseline:"middle",lineHeight:1,font:e,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},triangles:!0},s=i(t,a);a.triangles=!1;var l,u,c=i(t,a);if(n&&1!==n){for(l=0;l max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 glyph;\nattribute vec4 id;\n\nuniform vec4 highlightId;\nuniform float highlightScale;\nuniform mat4 model, view, projection;\nuniform vec3 clipBounds[2];\n\nvarying vec4 interpColor;\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n gl_Position = vec4(0,0,0,0);\n } else {\n float scale = 1.0;\n if(distance(highlightId, id) < 0.0001) {\n scale = highlightScale;\n }\n\n vec4 worldPosition = model * vec4(position, 1);\n vec4 viewPosition = view * worldPosition;\n viewPosition = viewPosition / viewPosition.w;\n vec4 clipPosition = projection * (viewPosition + scale * vec4(glyph.x, -glyph.y, 0, 0));\n\n gl_Position = clipPosition;\n interpColor = color;\n pickId = id;\n dataCoordinate = position;\n }\n}"]),a=r(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 glyph;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\nuniform vec2 screenSize;\nuniform vec3 clipBounds[2];\nuniform float highlightScale, pixelRatio;\nuniform vec4 highlightId;\n\nvarying vec4 interpColor;\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n gl_Position = vec4(0,0,0,0);\n } else {\n float scale = pixelRatio;\n if(distance(highlightId.bgr, id.bgr) < 0.001) {\n scale *= highlightScale;\n }\n\n vec4 worldPosition = model * vec4(position, 1.0);\n vec4 viewPosition = view * worldPosition;\n vec4 clipPosition = projection * viewPosition;\n clipPosition /= clipPosition.w;\n\n gl_Position = clipPosition + vec4(screenSize * scale * vec2(glyph.x, -glyph.y), 0.0, 0.0);\n interpColor = color;\n pickId = id;\n dataCoordinate = position;\n }\n}"]),s=r(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nattribute vec3 position;\nattribute vec4 color;\nattribute vec2 glyph;\nattribute vec4 id;\n\nuniform float highlightScale;\nuniform vec4 highlightId;\nuniform vec3 axes[2];\nuniform mat4 model, view, projection;\nuniform vec2 screenSize;\nuniform vec3 clipBounds[2];\nuniform float scale, pixelRatio;\n\nvarying vec4 interpColor;\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], position)) {\n\n gl_Position = vec4(0,0,0,0);\n } else {\n float lscale = pixelRatio * scale;\n if(distance(highlightId, id) < 0.0001) {\n lscale *= highlightScale;\n }\n\n vec4 clipCenter = projection * view * model * vec4(position, 1);\n vec3 dataPosition = position + 0.5*lscale*(axes[0] * glyph.x + axes[1] * glyph.y) * clipCenter.w * screenSize.y;\n vec4 clipPosition = projection * view * model * vec4(dataPosition, 1);\n\n gl_Position = clipPosition;\n interpColor = color;\n pickId = id;\n dataCoordinate = dataPosition;\n }\n}\n"]),l=r(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 fragClipBounds[2];\nuniform float opacity;\n\nvarying vec4 interpColor;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n if (\n outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate) ||\n interpColor.a * opacity == 0.\n ) discard;\n gl_FragColor = interpColor * opacity;\n}\n"]),u=r(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 fragClipBounds[2];\nuniform float pickGroup;\n\nvarying vec4 pickId;\nvarying vec3 dataCoordinate;\n\nvoid main() {\n if (outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate)) discard;\n\n gl_FragColor = vec4(pickGroup, pickId.bgr);\n}"]),c=[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"glyph",type:"vec2"},{name:"id",type:"vec4"}],h={vertex:o,fragment:l,attributes:c},d={vertex:a,fragment:l,attributes:c},f={vertex:s,fragment:l,attributes:c},_={vertex:o,fragment:u,attributes:c},p={vertex:a,fragment:u,attributes:c},m={vertex:s,fragment:u,attributes:c};function v(t,e){var n=i(t,e),r=n.attributes;return r.position.location=0,r.color.location=1,r.glyph.location=2,r.id.location=3,n}e.createPerspective=function(t){return v(t,h)},e.createOrtho=function(t){return v(t,d)},e.createProject=function(t){return v(t,f)},e.createPickPerspective=function(t){return v(t,_)},e.createPickOrtho=function(t){return v(t,p)},e.createPickProject=function(t){return v(t,m)}},2182:function(t,e,n){"use strict";var i=n(3596),r=n(5827),o=n(2944),a=n(5306),s=n(104),l=n(9282),u=n(4123),c=n(8240),h=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function d(t,e){var n=t[0],i=t[1],r=t[2],o=t[3];return t[0]=e[0]*n+e[4]*i+e[8]*r+e[12]*o,t[1]=e[1]*n+e[5]*i+e[9]*r+e[13]*o,t[2]=e[2]*n+e[6]*i+e[10]*r+e[14]*o,t[3]=e[3]*n+e[7]*i+e[11]*r+e[15]*o,t}function f(t,e,n,i){return d(i,i),d(i,i),d(i,i)}function _(t,e){this.index=t,this.dataCoordinate=this.position=e}function p(t){return!0===t||t>1?1:t}function m(t,e,n,i,r,o,a,s,l,u,c,h){this.gl=t,this.pixelRatio=1,this.shader=e,this.orthoShader=n,this.projectShader=i,this.pointBuffer=r,this.colorBuffer=o,this.glyphBuffer=a,this.idBuffer=s,this.vao=l,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[2/3,2/3,2/3],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=u,this.pickOrthoShader=c,this.pickProjectShader=h,this.points=[],this._selectResult=new _(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}t.exports=function(t){var e=t.gl,n=l.createPerspective(e),i=l.createOrtho(e),a=l.createProject(e),s=l.createPickPerspective(e),u=l.createPickOrtho(e),c=l.createPickProject(e),h=r(e),d=r(e),f=r(e),_=r(e),p=new m(e,n,i,a,h,d,f,_,o(e,[{buffer:h,size:3,type:e.FLOAT},{buffer:d,size:4,type:e.FLOAT},{buffer:f,size:2,type:e.FLOAT},{buffer:_,size:4,type:e.UNSIGNED_BYTE,normalized:!0}]),s,u,c);return p.update(t),p};var v=m.prototype;v.pickSlots=1,v.setPickBase=function(t){this.pickId=t},v.isTransparent=function(){if(this.hasAlpha)return!0;for(var t=0;t<3;++t)if(this.axesProject[t]&&this.projectHasAlpha)return!0;return!1},v.isOpaque=function(){if(!this.hasAlpha)return!0;for(var t=0;t<3;++t)if(this.axesProject[t]&&!this.projectHasAlpha)return!0;return!1};var g=[0,0],y=[0,0,0],b=[0,0,0],w=[0,0,0,1],E=[0,0,0,1],x=h.slice(),C=[0,0,0],T=[[0,0,0],[0,0,0]];function A(t){return t[0]=t[1]=t[2]=0,t}function S(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=1,t}function z(t,e,n,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[n]=i,t}var k=[[-1e8,-1e8,-1e8],[1e8,1e8,1e8]];function N(t,e,n,i,r,o,a){var l=n.gl;if((o===n.projectHasAlpha||a)&&function(t,e,n,i){var r,o=e.axesProject,a=e.gl,l=t.uniforms,u=n.model||h,c=n.view||h,d=n.projection||h,_=e.axesBounds,p=function(t){for(var e=T,n=0;n<2;++n)for(var i=0;i<3;++i)e[n][i]=Math.max(Math.min(t[n][i],1e8),-1e8);return e}(e.clipBounds);r=e.axes&&e.axes.lastCubeProps?e.axes.lastCubeProps.axis:[1,1,1],g[0]=2/a.drawingBufferWidth,g[1]=2/a.drawingBufferHeight,t.bind(),l.view=c,l.projection=d,l.screenSize=g,l.highlightId=e.highlightId,l.highlightScale=e.highlightScale,l.clipBounds=p,l.pickGroup=e.pickId/255,l.pixelRatio=i;for(var m=0;m<3;++m)if(o[m]){l.scale=e.projectScale[m],l.opacity=e.projectOpacity[m];for(var v=x,k=0;k<16;++k)v[k]=0;for(k=0;k<4;++k)v[5*k]=1;v[5*m]=0,r[m]<0?v[12+m]=_[0][m]:v[12+m]=_[1][m],s(v,u,v),l.model=v;var N=(m+1)%3,I=(m+2)%3,O=A(y),L=A(b);O[N]=1,L[I]=1;var M=f(0,0,0,S(w,O)),$=f(0,0,0,S(E,L));if(Math.abs(M[1])>Math.abs($[1])){var R=M;M=$,$=R,R=O,O=L,L=R;var P=N;N=I,I=P}M[0]<0&&(O[N]=-1),$[1]>0&&(L[I]=-1);var U=0,j=0;for(k=0;k<4;++k)U+=Math.pow(u[4*N+k],2),j+=Math.pow(u[4*I+k],2);O[N]/=Math.sqrt(U),L[I]/=Math.sqrt(j),l.axes[0]=O,l.axes[1]=L,l.fragClipBounds[0]=z(C,p[0],m,-1e8),l.fragClipBounds[1]=z(C,p[1],m,1e8),e.vao.bind(),e.vao.draw(a.TRIANGLES,e.vertexCount),e.lineWidth>0&&(a.lineWidth(e.lineWidth*i),e.vao.draw(a.LINES,e.lineVertexCount,e.vertexCount)),e.vao.unbind()}}(e,n,i,r),o===n.hasAlpha||a){t.bind();var u=t.uniforms;u.model=i.model||h,u.view=i.view||h,u.projection=i.projection||h,g[0]=2/l.drawingBufferWidth,g[1]=2/l.drawingBufferHeight,u.screenSize=g,u.highlightId=n.highlightId,u.highlightScale=n.highlightScale,u.fragClipBounds=k,u.clipBounds=n.axes.bounds,u.opacity=n.opacity,u.pickGroup=n.pickId/255,u.pixelRatio=r,n.vao.bind(),n.vao.draw(l.TRIANGLES,n.vertexCount),n.lineWidth>0&&(l.lineWidth(n.lineWidth*r),n.vao.draw(l.LINES,n.lineVertexCount,n.vertexCount)),n.vao.unbind()}}function I(t,e,n,r){var o;o=Array.isArray(t)?e=this.pointCount||e<0)return null;var n=this.points[e],i=this._selectResult;i.index=e;for(var r=0;r<3;++r)i.position[r]=i.dataCoordinate[r]=n[r];return i},v.highlight=function(t){if(t){var e=t.index,n=255&e,i=e>>8&255,r=e>>16&255;this.highlightId=[n/255,i/255,r/255,0]}else this.highlightId=[1,1,1,1]},v.update=function(t){if("perspective"in(t=t||{})&&(this.useOrtho=!t.perspective),"orthographic"in t&&(this.useOrtho=!!t.orthographic),"lineWidth"in t&&(this.lineWidth=t.lineWidth),"project"in t)if(Array.isArray(t.project))this.axesProject=t.project;else{var e=!!t.project;this.axesProject=[e,e,e]}if("projectScale"in t)if(Array.isArray(t.projectScale))this.projectScale=t.projectScale.slice();else{var n=+t.projectScale;this.projectScale=[n,n,n]}if(this.projectHasAlpha=!1,"projectOpacity"in t){Array.isArray(t.projectOpacity)?this.projectOpacity=t.projectOpacity.slice():(n=+t.projectOpacity,this.projectOpacity=[n,n,n]);for(var i=0;i<3;++i)this.projectOpacity[i]=p(this.projectOpacity[i]),this.projectOpacity[i]<1&&(this.projectHasAlpha=!0)}this.hasAlpha=!1,"opacity"in t&&(this.opacity=p(t.opacity),this.opacity<1&&(this.hasAlpha=!0)),this.dirty=!0;var r,o,s=t.position,l=t.font||"normal",u=t.alignment||[0,0];if(2===u.length)r=u[0],o=u[1];else for(r=[],o=[],i=0;i0){var L=0,M=y,$=[0,0,0,1],R=[0,0,0,1],P=Array.isArray(f)&&Array.isArray(f[0]),U=Array.isArray(v)&&Array.isArray(v[0]);t:for(i=0;i0?1-A[0][0]:H<0?1+A[1][0]:1,V*=V>0?1-A[0][1]:V<0?1+A[1][1]:1],J=C.cells||[],Z=C.positions||[];for(x=0;x0){var v=n*c;a.drawBox(h-v,d-v,f+v,d+v,o),a.drawBox(h-v,_-v,f+v,_+v,o),a.drawBox(h-v,d-v,h+v,_+v,o),a.drawBox(f-v,d-v,f+v,_+v,o)}}}},s.update=function(t){t=t||{},this.innerFill=!!t.innerFill,this.outerFill=!!t.outerFill,this.innerColor=(t.innerColor||[0,0,0,.5]).slice(),this.outerColor=(t.outerColor||[0,0,0,.5]).slice(),this.borderColor=(t.borderColor||[0,0,0,1]).slice(),this.borderWidth=t.borderWidth||0,this.selectBox=(t.selectBox||this.selectBox).slice()},s.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)}},2611:function(t,e,n){"use strict";t.exports=function(t,e){var n=e[0],o=e[1];return new l(t,i(t,n,o,{}),r.mallocUint8(n*o*4))};var i=n(4234),r=n(5306),o=n(5050),a=n(2288).nextPow2;function s(t,e,n,i,r){this.coord=[t,e],this.id=n,this.value=i,this.distance=r}function l(t,e,n){this.gl=t,this.fbo=e,this.buffer=n,this._readTimeout=null;var i=this;this._readCallback=function(){i.gl&&(e.bind(),t.readPixels(0,0,e.shape[0],e.shape[1],t.RGBA,t.UNSIGNED_BYTE,i.buffer),i._readTimeout=null)}}var u=l.prototype;Object.defineProperty(u,"shape",{get:function(){return this.gl?this.fbo.shape.slice():[0,0]},set:function(t){if(this.gl){this.fbo.shape=t;var e=this.fbo.shape[0],n=this.fbo.shape[1];if(n*e*4>this.buffer.length){r.free(this.buffer);for(var i=this.buffer=r.mallocUint8(a(n*e*4)),o=0;on)for(t=n;te)for(t=e;t=0){for(var x=0|E.type.charAt(E.type.length-1),C=new Array(x),T=0;T=0;)A+=1;w[g]=A}var S=new Array(n.length);function z(){d.program=a.program(f,d._vref,d._fref,b,w);for(var t=0;t=0){if((_=d.charCodeAt(d.length-1)-48)<2||_>4)throw new i("","Invalid data type for attribute "+h+": "+d);s(t,e,f[0],r,_,o,h)}else{if(!(d.indexOf("mat")>=0))throw new i("","Unknown data type for attribute "+h+": "+d);var _;if((_=d.charCodeAt(d.length-1)-48)<2||_>4)throw new i("","Invalid data type for attribute "+h+": "+d);l(t,e,f,r,_,o,h)}}}return o};var i=n(9068);function r(t,e,n,i,r,o){this._gl=t,this._wrapper=e,this._index=n,this._locations=i,this._dimension=r,this._constFunc=o}var o=r.prototype;o.pointer=function(t,e,n,i){var r=this,o=r._gl,a=r._locations[r._index];o.vertexAttribPointer(a,r._dimension,t||o.FLOAT,!!e,n||0,i||0),o.enableVertexAttribArray(a)},o.set=function(t,e,n,i){return this._constFunc(this._locations[this._index],t,e,n,i)},Object.defineProperty(o,"location",{get:function(){return this._locations[this._index]},set:function(t){return t!==this._locations[this._index]&&(this._locations[this._index]=0|t,this._wrapper.program=null),0|t}});var a=[function(t,e,n){return void 0===n.length?t.vertexAttrib1f(e,n):t.vertexAttrib1fv(e,n)},function(t,e,n,i){return void 0===n.length?t.vertexAttrib2f(e,n,i):t.vertexAttrib2fv(e,n)},function(t,e,n,i,r){return void 0===n.length?t.vertexAttrib3f(e,n,i,r):t.vertexAttrib3fv(e,n)},function(t,e,n,i,r,o){return void 0===n.length?t.vertexAttrib4f(e,n,i,r,o):t.vertexAttrib4fv(e,n)}];function s(t,e,n,i,o,s,l){var u=a[o],c=new r(t,e,n,i,o,u);Object.defineProperty(s,l,{set:function(e){return t.disableVertexAttribArray(i[n]),u(t,i[n],e),e},get:function(){return c},enumerable:!0})}function l(t,e,n,i,r,o,a){for(var l=new Array(r),u=new Array(r),c=0;c4)throw new r("","Invalid uniform dimension type for matrix "+name+": "+g);t["uniformMatrix"+v+"fv"](s[h],!1,d);break}throw new r("","Unknown uniform data type for "+name+": "+g)}if((v=g.charCodeAt(g.length-1)-48)<2||v>4)throw new r("","Invalid data type");switch(g.charAt(0)){case"b":case"i":t["uniform"+v+"iv"](s[h],d);break;case"v":t["uniform"+v+"fv"](s[h],d);break;default:throw new r("","Unrecognized data type for vector "+name+": "+g)}}}}}}function u(t,e){if("object"!=typeof e)return[[t,e]];var n=[];for(var i in e){var r=e[i],o=t;parseInt(i)+""===i?o+="["+i+"]":o+="."+i,"object"==typeof r?n.push.apply(n,u(o,r)):n.push([o,r])}return n}function c(t,e,i){if("object"==typeof i){var u=h(i);Object.defineProperty(t,e,{get:o(u),set:l(i),enumerable:!0,configurable:!1})}else s[i]?Object.defineProperty(t,e,{get:(c=i,function(t,e,n){return t.getUniform(e.program,n[c])}),set:l(i),enumerable:!0,configurable:!1}):t[e]=function(t){switch(t){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":case"float":return 0;default:var e=t.indexOf("vec");if(0<=e&&e<=1&&t.length===4+e){if((n=t.charCodeAt(t.length-1)-48)<2||n>4)throw new r("","Invalid data type");return"b"===t.charAt(0)?a(n,!1):a(n,0)}if(0===t.indexOf("mat")&&4===t.length){var n;if((n=t.charCodeAt(t.length-1)-48)<2||n>4)throw new r("","Invalid uniform dimension type for matrix "+name+": "+t);return a(n*n,0)}throw new r("","Unknown uniform data type for "+name+": "+t)}}(n[i].type);var c}function h(t){var e;if(Array.isArray(t)){e=new Array(t.length);for(var n=0;n1){s[0]in o||(o[s[0]]=[]),o=o[s[0]];for(var l=1;l1)for(var l=0;l 0 U ||b|| > 0.\n // Assign z = 0, x = -b, y = a:\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n return normalize(vec3(-v.y, v.x, 0.0));\n } else {\n return normalize(vec3(0.0, v.z, -v.y));\n }\n}\n\n// Calculate the tube vertex and normal at the given index.\n//\n// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d.\n//\n// Each tube segment is made up of a ring of vertices.\n// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array.\n// The indexes of tube segments run from 0 to 8.\n//\nvec3 getTubePosition(vec3 d, float index, out vec3 normal) {\n float segmentCount = 8.0;\n\n float angle = 2.0 * 3.14159 * (index / segmentCount);\n\n vec3 u = getOrthogonalVector(d);\n vec3 v = normalize(cross(u, d));\n\n vec3 x = u * cos(angle) * length(d);\n vec3 y = v * sin(angle) * length(d);\n vec3 v3 = x + y;\n\n normal = normalize(v3);\n\n return v3;\n}\n\nattribute vec4 vector;\nattribute vec4 color, position;\nattribute vec2 uv;\n\nuniform float vectorScale, tubeScale;\nuniform mat4 model, view, projection, inverseModel;\nuniform vec3 eyePosition, lightPosition;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n // Scale the vector magnitude to stay constant with\n // model & view changes.\n vec3 normal;\n vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal);\n vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n\n //Lighting geometry parameters\n vec4 cameraCoordinate = view * tubePosition;\n cameraCoordinate.xyz /= cameraCoordinate.w;\n f_lightDirection = lightPosition - cameraCoordinate.xyz;\n f_eyeDirection = eyePosition - cameraCoordinate.xyz;\n f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz);\n\n // vec4 m_position = model * vec4(tubePosition, 1.0);\n vec4 t_position = view * tubePosition;\n gl_Position = projection * t_position;\n\n f_color = color;\n f_data = tubePosition.xyz;\n f_position = position.xyz;\n f_uv = uv;\n}\n"]),o=i(["#extension GL_OES_standard_derivatives : enable\n\nprecision highp float;\n#define GLSLIFY 1\n\nfloat beckmannDistribution(float x, float roughness) {\n float NdotH = max(x, 0.0001);\n float cos2Alpha = NdotH * NdotH;\n float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha;\n float roughness2 = roughness * roughness;\n float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha;\n return exp(tan2Alpha / roughness2) / denom;\n}\n\nfloat cookTorranceSpecular(\n vec3 lightDirection,\n vec3 viewDirection,\n vec3 surfaceNormal,\n float roughness,\n float fresnel) {\n\n float VdotN = max(dot(viewDirection, surfaceNormal), 0.0);\n float LdotN = max(dot(lightDirection, surfaceNormal), 0.0);\n\n //Half angle vector\n vec3 H = normalize(lightDirection + viewDirection);\n\n //Geometric term\n float NdotH = max(dot(surfaceNormal, H), 0.0);\n float VdotH = max(dot(viewDirection, H), 0.000001);\n float LdotH = max(dot(lightDirection, H), 0.000001);\n float G1 = (2.0 * NdotH * VdotN) / VdotH;\n float G2 = (2.0 * NdotH * LdotN) / LdotH;\n float G = min(1.0, min(G1, G2));\n \n //Distribution term\n float D = beckmannDistribution(NdotH, roughness);\n\n //Fresnel term\n float F = pow(1.0 - VdotN, fresnel);\n\n //Multiply terms and done\n return G * F * D / max(3.14159265 * VdotN, 0.000001);\n}\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;\nuniform sampler2D texture;\n\nvarying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n vec3 N = normalize(f_normal);\n vec3 L = normalize(f_lightDirection);\n vec3 V = normalize(f_eyeDirection);\n\n if(gl_FrontFacing) {\n N = -N;\n }\n\n float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel)));\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n vec4 surfaceColor = f_color * texture2D(texture, f_uv);\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\n\n gl_FragColor = litColor * opacity;\n}\n"]),a=i(["precision highp float;\n\nprecision highp float;\n#define GLSLIFY 1\n\nvec3 getOrthogonalVector(vec3 v) {\n // Return up-vector for only-z vector.\n // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0).\n // From the above if-statement we have ||a|| > 0 U ||b|| > 0.\n // Assign z = 0, x = -b, y = a:\n // a*-b + b*a + c*0 = -ba + ba + 0 = 0\n if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) {\n return normalize(vec3(-v.y, v.x, 0.0));\n } else {\n return normalize(vec3(0.0, v.z, -v.y));\n }\n}\n\n// Calculate the tube vertex and normal at the given index.\n//\n// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d.\n//\n// Each tube segment is made up of a ring of vertices.\n// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array.\n// The indexes of tube segments run from 0 to 8.\n//\nvec3 getTubePosition(vec3 d, float index, out vec3 normal) {\n float segmentCount = 8.0;\n\n float angle = 2.0 * 3.14159 * (index / segmentCount);\n\n vec3 u = getOrthogonalVector(d);\n vec3 v = normalize(cross(u, d));\n\n vec3 x = u * cos(angle) * length(d);\n vec3 y = v * sin(angle) * length(d);\n vec3 v3 = x + y;\n\n normal = normalize(v3);\n\n return v3;\n}\n\nattribute vec4 vector;\nattribute vec4 position;\nattribute vec4 id;\n\nuniform mat4 model, view, projection;\nuniform float tubeScale;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n vec3 normal;\n vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal);\n vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n\n gl_Position = projection * view * tubePosition;\n f_id = id;\n f_position = position.xyz;\n}\n"]),s=i(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform float pickId;\n\nvarying vec3 f_position;\nvarying vec4 f_id;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard;\n\n gl_FragColor = vec4(pickId, f_id.xyz);\n}"]);e.meshShader={vertex:r,fragment:o,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec4"}]},e.pickShader={vertex:a,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec4"}]}},7307:function(t,e,n){"use strict";var i=n(2858),r=n(4020),o=["xyz","xzy","yxz","yzx","zxy","zyx"],a=function(t,e){var n,i=t.length;for(n=0;ne)return n-1}return n},s=function(t,e,n){return tn?n:t},l=function(t){var e=1/0;t.sort((function(t,e){return t-e}));for(var n=t.length,i=1;ih-1||g>d-1||y>f-1)return i.create();var b,w,E,x,C,T,A=o[0][_],S=o[0][v],z=o[1][p],k=o[1][g],N=o[2][m],I=(l-A)/(S-A),O=(u-z)/(k-z),L=(c-N)/(o[2][y]-N);switch(isFinite(I)||(I=.5),isFinite(O)||(O=.5),isFinite(L)||(L=.5),n.reversedX&&(_=h-1-_,v=h-1-v),n.reversedY&&(p=d-1-p,g=d-1-g),n.reversedZ&&(m=f-1-m,y=f-1-y),n.filled){case 5:C=m,T=y,E=p*f,x=g*f,b=_*f*d,w=v*f*d;break;case 4:C=m,T=y,b=_*f,w=v*f,E=p*f*h,x=g*f*h;break;case 3:E=p,x=g,C=m*d,T=y*d,b=_*d*f,w=v*d*f;break;case 2:E=p,x=g,b=_*d,w=v*d,C=m*d*h,T=y*d*h;break;case 1:b=_,w=v,C=m*h,T=y*h,E=p*h*f,x=g*h*f;break;default:b=_,w=v,E=p*h,x=g*h,C=m*h*d,T=y*h*d}var M=r[b+E+C],$=r[b+E+T],R=r[b+x+C],P=r[b+x+T],U=r[w+E+C],j=r[w+E+T],q=r[w+x+C],D=r[w+x+T],B=i.create(),F=i.create(),W=i.create(),G=i.create();i.lerp(B,M,U,I),i.lerp(F,$,j,I),i.lerp(W,R,q,I),i.lerp(G,P,D,I);var H=i.create(),V=i.create();i.lerp(H,B,W,O),i.lerp(V,F,G,O);var X=i.create();return i.lerp(X,H,V,L),X}(e,t,f)},p=t.getDivergence||function(t,e){var n=i.create(),r=1e-4;i.add(n,t,[r,0,0]);var o=_(n);i.subtract(o,o,e),i.scale(o,o,1/r),i.add(n,t,[0,r,0]);var a=_(n);i.subtract(a,a,e),i.scale(a,a,1/r),i.add(n,t,[0,0,r]);var s=_(n);return i.subtract(s,s,e),i.scale(s,s,1/r),i.add(n,o,a),i.add(n,n,s),n},m=[],v=e[0][0],g=e[0][1],y=e[0][2],b=e[1][0],w=e[1][1],E=e[1][2],x=function(t){var e=t[0],n=t[1],i=t[2];return!(eb||nw||iE)},C=10*i.distance(e[0],e[1])/u,T=C*C,A=1,S=0,z=n.length;z>1&&(A=function(t){for(var e=[],n=[],i=[],r={},o={},a={},s=t.length,u=0;uS&&(S=P),$.push(P),m.push({points:I,velocities:O,divergences:$});for(var U=0;U<100*u&&I.lengthT&&i.scale(j,j,C/Math.sqrt(q)),i.add(j,j,N),L=_(j),i.squaredDistance(M,j)-T>-1e-4*T&&(I.push(j),M=j,O.push(L),R=p(j,L),P=i.length(R),isFinite(P)&&P>S&&(S=P),$.push(P)),N=j}}var D=function(t,e,n,o){for(var a=0,s=0;s0)for(x=0;x<8;x++){var C=(x+1)%8;u.push(d[x],f[x],f[C],f[C],d[C],d[x]),h.push(g,v,v,v,g,g),_.push(p,m,m,m,p,p);var T=u.length;c.push([T-6,T-5,T-4],[T-3,T-2,T-1])}var A=d;d=f,f=A;var S=g;g=v,v=S;var z=p;p=m,m=z}return{positions:u,cells:c,vectors:h,vertexIntensity:_}}(t,n,o,a)})),h=[],d=[],f=[],_=[];for(s=0;s max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 lowerBound, upperBound;\nuniform float contourTint;\nuniform vec4 contourColor;\nuniform sampler2D colormap;\nuniform vec3 clipBounds[2];\nuniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity;\nuniform float vertexColor;\n\nvarying float value, kill;\nvarying vec3 worldCoordinate;\nvarying vec3 lightDirection, eyeDirection, surfaceNormal;\nvarying vec4 vColor;\n\nvoid main() {\n if (\n kill > 0.0 ||\n vColor.a == 0.0 ||\n outOfRange(clipBounds[0], clipBounds[1], worldCoordinate)\n ) discard;\n\n vec3 N = normalize(surfaceNormal);\n vec3 V = normalize(eyeDirection);\n vec3 L = normalize(lightDirection);\n\n if(gl_FrontFacing) {\n N = -N;\n }\n\n float specular = max(beckmannSpecular(L, V, N, roughness), 0.);\n float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0);\n\n //decide how to interpolate color — in vertex or in fragment\n vec4 surfaceColor =\n step(vertexColor, .5) * texture2D(colormap, vec2(value, value)) +\n step(.5, vertexColor) * vColor;\n\n vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0);\n\n gl_FragColor = mix(litColor, contourColor, contourTint) * opacity;\n}\n"]),s=r(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec4 uv;\nattribute float f;\n\nuniform vec3 objectOffset;\nuniform mat3 permutation;\nuniform mat4 model, view, projection;\nuniform float height, zOffset;\nuniform sampler2D colormap;\n\nvarying float value, kill;\nvarying vec3 worldCoordinate;\nvarying vec2 planeCoordinate;\nvarying vec3 lightDirection, eyeDirection, surfaceNormal;\nvarying vec4 vColor;\n\nvoid main() {\n vec3 dataCoordinate = permutation * vec3(uv.xy, height);\n worldCoordinate = objectOffset + dataCoordinate;\n vec4 worldPosition = model * vec4(worldCoordinate, 1.0);\n\n vec4 clipPosition = projection * view * worldPosition;\n clipPosition.z += zOffset;\n\n gl_Position = clipPosition;\n value = f + objectOffset.z;\n kill = -1.0;\n planeCoordinate = uv.zw;\n\n vColor = texture2D(colormap, vec2(value, value));\n\n //Don't do lighting for contours\n surfaceNormal = vec3(1,0,0);\n eyeDirection = vec3(0,1,0);\n lightDirection = vec3(0,0,1);\n}\n"]),l=r(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec2 shape;\nuniform vec3 clipBounds[2];\nuniform float pickId;\n\nvarying float value, kill;\nvarying vec3 worldCoordinate;\nvarying vec2 planeCoordinate;\nvarying vec3 surfaceNormal;\n\nvec2 splitFloat(float v) {\n float vh = 255.0 * v;\n float upper = floor(vh);\n float lower = fract(vh);\n return vec2(upper / 255.0, floor(lower * 16.0) / 16.0);\n}\n\nvoid main() {\n if ((kill > 0.0) ||\n (outOfRange(clipBounds[0], clipBounds[1], worldCoordinate))) discard;\n\n vec2 ux = splitFloat(planeCoordinate.x / shape.x);\n vec2 uy = splitFloat(planeCoordinate.y / shape.y);\n gl_FragColor = vec4(pickId, ux.x, uy.x, ux.y + (uy.y/16.0));\n}\n"]);e.createShader=function(t){var e=i(t,o,a,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return e.attributes.uv.location=0,e.attributes.f.location=1,e.attributes.normal.location=2,e},e.createPickShader=function(t){var e=i(t,o,l,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return e.attributes.uv.location=0,e.attributes.f.location=1,e.attributes.normal.location=2,e},e.createContourShader=function(t){var e=i(t,s,a,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return e.attributes.uv.location=0,e.attributes.f.location=1,e},e.createPickContourShader=function(t){var e=i(t,s,l,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return e.attributes.uv.location=0,e.attributes.f.location=1,e}},3754:function(t,e,n){"use strict";t.exports=function(t){var e=t.gl,n=g(e),i=b(e),s=y(e),l=w(e),u=r(e),c=o(e,[{buffer:u,size:4,stride:E,offset:0},{buffer:u,size:3,stride:E,offset:16},{buffer:u,size:3,stride:E,offset:28}]),h=r(e),d=o(e,[{buffer:h,size:4,stride:20,offset:0},{buffer:h,size:1,stride:20,offset:16}]),f=r(e),_=o(e,[{buffer:f,size:2,type:e.FLOAT}]),p=a(e,1,S,e.RGBA,e.UNSIGNED_BYTE);p.minFilter=e.LINEAR,p.magFilter=e.LINEAR;var m=new z(e,[0,0],[[0,0,0],[0,0,0]],n,i,u,c,p,s,l,h,d,f,_,[0,0,0]),v={levels:[[],[],[]]};for(var x in t)v[x]=t[x];return v.colormap=v.colormap||"jet",m.update(v),m};var i=n(2288),r=n(5827),o=n(2944),a=n(8931),s=n(5306),l=n(9156),u=n(7498),c=n(7382),h=n(5050),d=n(4162),f=n(104),_=n(7437),p=n(5070),m=n(9144),v=n(9054),g=v.createShader,y=v.createContourShader,b=v.createPickShader,w=v.createPickContourShader,E=40,x=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],C=[[0,0],[0,1],[1,0],[1,1],[1,0],[0,1]],T=[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]];function A(t,e,n,i,r){this.position=t,this.index=e,this.uv=n,this.level=i,this.dataCoordinate=r}!function(){for(var t=0;t<3;++t){var e=T[t],n=(t+2)%3;e[(t+1)%3+0]=1,e[n+3]=1,e[t+6]=1}}();var S=256;function z(t,e,n,i,r,o,a,l,u,c,d,f,_,p,m){this.gl=t,this.shape=e,this.bounds=n,this.objectOffset=m,this.intensityBounds=[],this._shader=i,this._pickShader=r,this._coordinateBuffer=o,this._vao=a,this._colorMap=l,this._contourShader=u,this._contourPickShader=c,this._contourBuffer=d,this._contourVAO=f,this._contourOffsets=[[],[],[]],this._contourCounts=[[],[],[]],this._vertexCount=0,this._pickResult=new A([0,0,0],[0,0],[0,0],[0,0,0],[0,0,0]),this._dynamicBuffer=_,this._dynamicVAO=p,this._dynamicOffsets=[0,0,0],this._dynamicCounts=[0,0,0],this.contourWidth=[1,1,1],this.contourLevels=[[1],[1],[1]],this.contourTint=[0,0,0],this.contourColor=[[.5,.5,.5,1],[.5,.5,.5,1],[.5,.5,.5,1]],this.showContour=!0,this.showSurface=!0,this.enableHighlight=[!0,!0,!0],this.highlightColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.highlightTint=[1,1,1],this.highlightLevel=[-1,-1,-1],this.enableDynamic=[!0,!0,!0],this.dynamicLevel=[NaN,NaN,NaN],this.dynamicColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.dynamicTint=[1,1,1],this.dynamicWidth=[1,1,1],this.axesBounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.surfaceProject=[!1,!1,!1],this.contourProject=[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],this.colorBounds=[!1,!1],this._field=[h(s.mallocFloat(1024),[0,0]),h(s.mallocFloat(1024),[0,0]),h(s.mallocFloat(1024),[0,0])],this.pickId=1,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.snapToData=!1,this.pixelRatio=1,this.opacity=1,this.lightPosition=[10,1e4,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.vertexColor=0,this.dirty=!0}var k=z.prototype;k.genColormap=function(t,e){var n=!1,i=c([l({colormap:t,nshades:S,format:"rgba"}).map((function(t,i){var r=e?function(t,e){if(!e)return 1;if(!e.length)return 1;for(var n=0;nt&&n>0){var i=(e[n][0]-t)/(e[n][0]-e[n-1][0]);return e[n][1]*(1-i)+i*e[n-1][1]}}return 1}(i/255,e):t[3];return r<1&&(n=!0),[t[0],t[1],t[2],255*r]}))]);return u.divseq(i,255),this.hasAlphaScale=n,i},k.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},k.isOpaque=function(){return!this.isTransparent()},k.pickSlots=1,k.setPickBase=function(t){this.pickId=t};var N=[0,0,0],I={showSurface:!1,showContour:!1,projections:[x.slice(),x.slice(),x.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function O(t,e){var n,i,r,o=e.axes&&e.axes.lastCubeProps.axis||N,a=e.showSurface,s=e.showContour;for(n=0;n<3;++n)for(a=a||e.surfaceProject[n],i=0;i<3;++i)s=s||e.contourProject[n][i];for(n=0;n<3;++n){var l=I.projections[n];for(i=0;i<16;++i)l[i]=0;for(i=0;i<4;++i)l[5*i]=1;l[5*n]=0,l[12+n]=e.axesBounds[+(o[n]>0)][n],f(l,t.model,l);var u=I.clipBounds[n];for(r=0;r<2;++r)for(i=0;i<3;++i)u[r][i]=t.clipBounds[r][i];u[0][n]=-1e8,u[1][n]=1e8}return I.showSurface=a,I.showContour=s,I}var L={model:x,view:x,projection:x,inverseModel:x.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},M=x.slice(),$=[1,0,0,0,1,0,0,0,1];function R(t,e){t=t||{};var n=this.gl;n.disable(n.CULL_FACE),this._colorMap.bind(0);var i=L;i.model=t.model||x,i.view=t.view||x,i.projection=t.projection||x,i.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],i.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],i.objectOffset=this.objectOffset,i.contourColor=this.contourColor[0],i.inverseModel=_(i.inverseModel,i.model);for(var r=0;r<2;++r)for(var o=i.clipBounds[r],a=0;a<3;++a)o[a]=Math.min(Math.max(this.clipBounds[r][a],-1e8),1e8);i.kambient=this.ambientLight,i.kdiffuse=this.diffuseLight,i.kspecular=this.specularLight,i.roughness=this.roughness,i.fresnel=this.fresnel,i.opacity=this.opacity,i.height=0,i.permutation=$,i.vertexColor=this.vertexColor;var s=M;for(f(s,i.view,i.model),f(s,i.projection,s),_(s,s),r=0;r<3;++r)i.eyePosition[r]=s[12+r]/s[15];var l=s[15];for(r=0;r<3;++r)l+=this.lightPosition[r]*s[4*r+3];for(r=0;r<3;++r){var u=s[12+r];for(a=0;a<3;++a)u+=s[4*a+r]*this.lightPosition[a];i.lightPosition[r]=u/l}var c=O(i,this);if(c.showSurface){for(this._shader.bind(),this._shader.uniforms=i,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(n.TRIANGLES,this._vertexCount),r=0;r<3;++r)this.surfaceProject[r]&&this.vertexCount&&(this._shader.uniforms.model=c.projections[r],this._shader.uniforms.clipBounds=c.clipBounds[r],this._vao.draw(n.TRIANGLES,this._vertexCount));this._vao.unbind()}if(c.showContour){var h=this._contourShader;i.kambient=1,i.kdiffuse=0,i.kspecular=0,i.opacity=1,h.bind(),h.uniforms=i;var d=this._contourVAO;for(d.bind(),r=0;r<3;++r)for(h.uniforms.permutation=T[r],n.lineWidth(this.contourWidth[r]*this.pixelRatio),a=0;a>4)/16)/255,r=Math.floor(i),o=i-r,a=e[1]*(t.value[1]+(15&t.value[2])/16)/255,s=Math.floor(a),l=a-s;r+=1,s+=1;var u=n.position;u[0]=u[1]=u[2]=0;for(var c=0;c<2;++c)for(var h=c?o:1-o,d=0;d<2;++d)for(var f=r+c,_=s+d,m=h*(d?l:1-l),v=0;v<3;++v)u[v]+=this._field[v].get(f,_)*m;for(var g=this._pickResult.level,y=0;y<3;++y)if(g[y]=p.le(this.contourLevels[y],u[y]),g[y]<0)this.contourLevels[y].length>0&&(g[y]=0);else if(g[y]Math.abs(w-u[y])&&(g[y]+=1)}for(n.index[0]=o<.5?r:r+1,n.index[1]=l<.5?s:s+1,n.uv[0]=i/e[0],n.uv[1]=a/e[1],v=0;v<3;++v)n.dataCoordinate[v]=this._field[v].get(n.index[0],n.index[1]);return n},k.padField=function(t,e){var n=e.shape.slice(),i=t.shape.slice();u.assign(t.lo(1,1).hi(n[0],n[1]),e),u.assign(t.lo(1).hi(n[0],1),e.hi(n[0],1)),u.assign(t.lo(1,i[1]-1).hi(n[0],1),e.lo(0,n[1]-1).hi(n[0],1)),u.assign(t.lo(0,1).hi(1,n[1]),e.hi(1)),u.assign(t.lo(i[0]-1,1).hi(1,n[1]),e.lo(n[0]-1)),t.set(0,0,e.get(0,0)),t.set(0,i[1]-1,e.get(0,n[1]-1)),t.set(i[0]-1,0,e.get(n[0]-1,0)),t.set(i[0]-1,i[1]-1,e.get(n[0]-1,n[1]-1))},k.update=function(t){t=t||{},this.objectOffset=t.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in t&&(this.contourWidth=U(t.contourWidth,Number)),"showContour"in t&&(this.showContour=U(t.showContour,Boolean)),"showSurface"in t&&(this.showSurface=!!t.showSurface),"contourTint"in t&&(this.contourTint=U(t.contourTint,Boolean)),"contourColor"in t&&(this.contourColor=q(t.contourColor)),"contourProject"in t&&(this.contourProject=U(t.contourProject,(function(t){return U(t,Boolean)}))),"surfaceProject"in t&&(this.surfaceProject=t.surfaceProject),"dynamicColor"in t&&(this.dynamicColor=q(t.dynamicColor)),"dynamicTint"in t&&(this.dynamicTint=U(t.dynamicTint,Number)),"dynamicWidth"in t&&(this.dynamicWidth=U(t.dynamicWidth,Number)),"opacity"in t&&(this.opacity=t.opacity),"opacityscale"in t&&(this.opacityscale=t.opacityscale),"colorBounds"in t&&(this.colorBounds=t.colorBounds),"vertexColor"in t&&(this.vertexColor=t.vertexColor?1:0),"colormap"in t&&this._colorMap.setPixels(this.genColormap(t.colormap,this.opacityscale));var e=t.field||t.coords&&t.coords[2]||null,n=!1;if(e||(e=this._field[2].shape[0]||this._field[2].shape[2]?this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):this._field[2].hi(0,0)),"field"in t||"coords"in t){var r=(e.shape[0]+2)*(e.shape[1]+2);r>this._field[2].data.length&&(s.freeFloat(this._field[2].data),this._field[2].data=s.mallocFloat(i.nextPow2(r))),this._field[2]=h(this._field[2].data,[e.shape[0]+2,e.shape[1]+2]),this.padField(this._field[2],e),this.shape=e.shape.slice();for(var o=this.shape,a=0;a<2;++a)this._field[2].size>this._field[a].data.length&&(s.freeFloat(this._field[a].data),this._field[a].data=s.mallocFloat(this._field[2].size)),this._field[a]=h(this._field[a].data,[o[0]+2,o[1]+2]);if(t.coords){var l=t.coords;if(!Array.isArray(l)||3!==l.length)throw new Error("gl-surface: invalid coordinates for x/y");for(a=0;a<2;++a){var u=l[a];for(v=0;v<2;++v)if(u.shape[v]!==o[v])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[a],u)}}else if(t.ticks){var c=t.ticks;if(!Array.isArray(c)||2!==c.length)throw new Error("gl-surface: invalid ticks");for(a=0;a<2;++a){var f=c[a];if((Array.isArray(f)||f.length)&&(f=h(f)),f.shape[0]!==o[a])throw new Error("gl-surface: invalid tick length");var _=h(f.data,o);_.stride[a]=f.stride[0],_.stride[1^a]=0,this.padField(this._field[a],_)}}else{for(a=0;a<2;++a){var p=[0,0];p[a]=1,this._field[a]=h(this._field[a].data,[o[0]+2,o[1]+2],p,0)}this._field[0].set(0,0,0);for(var v=0;v0){for(var yt=0;yt<5;++yt)K.pop();D-=1}continue t}K.push(it[0],it[1],at[0],at[1],it[2]),D+=1}}nt.push(D)}this._contourOffsets[Q]=et,this._contourCounts[Q]=nt}var bt=s.mallocFloat(K.length);for(a=0;as||a[1]<0||a[1]>s)throw new Error("gl-texture2d: Invalid texture size");var l=_(a,e.stride.slice()),u=0;"float32"===n?u=t.FLOAT:"float64"===n?(u=t.FLOAT,l=!1,n="float32"):"uint8"===n?u=t.UNSIGNED_BYTE:(u=t.UNSIGNED_BYTE,l=!1,n="uint8");var h,f,m=0;if(2===a.length)m=t.LUMINANCE,a=[a[0],a[1],1],e=i(e.data,a,[e.stride[0],e.stride[1],1],e.offset);else{if(3!==a.length)throw new Error("gl-texture2d: Invalid shape for texture");if(1===a[2])m=t.ALPHA;else if(2===a[2])m=t.LUMINANCE_ALPHA;else if(3===a[2])m=t.RGB;else{if(4!==a[2])throw new Error("gl-texture2d: Invalid shape for pixel coords");m=t.RGBA}}u!==t.FLOAT||t.getExtension("OES_texture_float")||(u=t.UNSIGNED_BYTE,l=!1);var v=e.size;if(l)h=0===e.offset&&e.data.length===v?e.data:e.data.subarray(e.offset,e.offset+v);else{var g=[a[2],a[2]*a[0],1];f=o.malloc(v,n);var y=i(f,a,g,0);"float32"!==n&&"float64"!==n||u!==t.UNSIGNED_BYTE?r.assign(y,e):c(y,e),h=f.subarray(0,v)}var b=p(t);return t.texImage2D(t.TEXTURE_2D,0,m,a[0],a[1],0,m,u,h),l||o.free(f),new d(t,b,a[0],a[1],m,u)}(t,e)}throw new Error("gl-texture2d: Invalid arguments for texture2d constructor")};var a=null,s=null,l=null;function u(t){return"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||"undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement||"undefined"!=typeof HTMLVideoElement&&t instanceof HTMLVideoElement||"undefined"!=typeof ImageData&&t instanceof ImageData}var c=function(t,e){r.muls(t,e,255)};function h(t,e,n){var i=t.gl,r=i.getParameter(i.MAX_TEXTURE_SIZE);if(e<0||e>r||n<0||n>r)throw new Error("gl-texture2d: Invalid texture size");return t._shape=[e,n],t.bind(),i.texImage2D(i.TEXTURE_2D,0,t.format,e,n,0,t.format,t.type,null),t._mipLevels=[0],t}function d(t,e,n,i,r,o){this.gl=t,this.handle=e,this.format=r,this.type=o,this._shape=[n,i],this._mipLevels=[0],this._magFilter=t.NEAREST,this._minFilter=t.NEAREST,this._wrapS=t.CLAMP_TO_EDGE,this._wrapT=t.CLAMP_TO_EDGE,this._anisoSamples=1;var a=this,s=[this._wrapS,this._wrapT];Object.defineProperties(s,[{get:function(){return a._wrapS},set:function(t){return a.wrapS=t}},{get:function(){return a._wrapT},set:function(t){return a.wrapT=t}}]),this._wrapVector=s;var l=[this._shape[0],this._shape[1]];Object.defineProperties(l,[{get:function(){return a._shape[0]},set:function(t){return a.width=t}},{get:function(){return a._shape[1]},set:function(t){return a.height=t}}]),this._shapeVector=l}var f=d.prototype;function _(t,e){return 3===t.length?1===e[2]&&e[1]===t[0]*t[2]&&e[0]===t[2]:1===e[0]&&e[1]===t[0]}function p(t){var e=t.createTexture();return t.bindTexture(t.TEXTURE_2D,e),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.NEAREST),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.NEAREST),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),e}function m(t,e,n,i,r){var o=t.getParameter(t.MAX_TEXTURE_SIZE);if(e<0||e>o||n<0||n>o)throw new Error("gl-texture2d: Invalid texture shape");if(r===t.FLOAT&&!t.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var a=p(t);return t.texImage2D(t.TEXTURE_2D,0,i,e,n,0,i,r,null),new d(t,a,e,n,i,r)}Object.defineProperties(f,{minFilter:{get:function(){return this._minFilter},set:function(t){this.bind();var e=this.gl;if(this.type===e.FLOAT&&a.indexOf(t)>=0&&(e.getExtension("OES_texture_float_linear")||(t=e.NEAREST)),s.indexOf(t)<0)throw new Error("gl-texture2d: Unknown filter mode "+t);return e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,t),this._minFilter=t}},magFilter:{get:function(){return this._magFilter},set:function(t){this.bind();var e=this.gl;if(this.type===e.FLOAT&&a.indexOf(t)>=0&&(e.getExtension("OES_texture_float_linear")||(t=e.NEAREST)),s.indexOf(t)<0)throw new Error("gl-texture2d: Unknown filter mode "+t);return e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,t),this._magFilter=t}},mipSamples:{get:function(){return this._anisoSamples},set:function(t){var e=this._anisoSamples;if(this._anisoSamples=0|Math.max(t,1),e!==this._anisoSamples){var n=this.gl.getExtension("EXT_texture_filter_anisotropic");n&&this.gl.texParameterf(this.gl.TEXTURE_2D,n.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(t){if(this.bind(),l.indexOf(t)<0)throw new Error("gl-texture2d: Unknown wrap mode "+t);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,t),this._wrapS=t}},wrapT:{get:function(){return this._wrapT},set:function(t){if(this.bind(),l.indexOf(t)<0)throw new Error("gl-texture2d: Unknown wrap mode "+t);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,t),this._wrapT=t}},wrap:{get:function(){return this._wrapVector},set:function(t){if(Array.isArray(t)||(t=[t,t]),2!==t.length)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var e=0;e<2;++e)if(l.indexOf(t[e])<0)throw new Error("gl-texture2d: Unknown wrap mode "+t);this._wrapS=t[0],this._wrapT=t[1];var n=this.gl;return this.bind(),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,this._wrapS),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,this._wrapT),t}},shape:{get:function(){return this._shapeVector},set:function(t){if(Array.isArray(t)){if(2!==t.length)throw new Error("gl-texture2d: Invalid texture shape")}else t=[0|t,0|t];return h(this,0|t[0],0|t[1]),[0|t[0],0|t[1]]}},width:{get:function(){return this._shape[0]},set:function(t){return h(this,t|=0,this._shape[1]),t}},height:{get:function(){return this._shape[1]},set:function(t){return t|=0,h(this,this._shape[0],t),t}}}),f.bind=function(t){var e=this.gl;return void 0!==t&&e.activeTexture(e.TEXTURE0+(0|t)),e.bindTexture(e.TEXTURE_2D,this.handle),void 0!==t?0|t:e.getParameter(e.ACTIVE_TEXTURE)-e.TEXTURE0},f.dispose=function(){this.gl.deleteTexture(this.handle)},f.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var t=Math.min(this._shape[0],this._shape[1]),e=0;t>0;++e,t>>>=1)this._mipLevels.indexOf(e)<0&&this._mipLevels.push(e)},f.setPixels=function(t,e,n,a){var s=this.gl;this.bind(),Array.isArray(e)?(a=n,n=0|e[1],e=0|e[0]):(e=e||0,n=n||0),a=a||0;var l=u(t)?t:t.raw;if(l)this._mipLevels.indexOf(a)<0?(s.texImage2D(s.TEXTURE_2D,0,this.format,this.format,this.type,l),this._mipLevels.push(a)):s.texSubImage2D(s.TEXTURE_2D,a,e,n,this.format,this.type,l);else{if(!(t.shape&&t.stride&&t.data))throw new Error("gl-texture2d: Unsupported data type");if(t.shape.length<2||e+t.shape[1]>this._shape[1]>>>a||n+t.shape[0]>this._shape[0]>>>a||e<0||n<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");!function(t,e,n,a,s,l,u,h){var d=h.dtype,f=h.shape.slice();if(f.length<2||f.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var p=0,m=0,v=_(f,h.stride.slice());if("float32"===d?p=t.FLOAT:"float64"===d?(p=t.FLOAT,v=!1,d="float32"):"uint8"===d?p=t.UNSIGNED_BYTE:(p=t.UNSIGNED_BYTE,v=!1,d="uint8"),2===f.length)m=t.LUMINANCE,f=[f[0],f[1],1],h=i(h.data,f,[h.stride[0],h.stride[1],1],h.offset);else{if(3!==f.length)throw new Error("gl-texture2d: Invalid shape for texture");if(1===f[2])m=t.ALPHA;else if(2===f[2])m=t.LUMINANCE_ALPHA;else if(3===f[2])m=t.RGB;else{if(4!==f[2])throw new Error("gl-texture2d: Invalid shape for pixel coords");m=t.RGBA}f[2]}if(m!==t.LUMINANCE&&m!==t.ALPHA||s!==t.LUMINANCE&&s!==t.ALPHA||(m=s),m!==s)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var g=h.size,y=u.indexOf(a)<0;if(y&&u.push(a),p===l&&v)0===h.offset&&h.data.length===g?y?t.texImage2D(t.TEXTURE_2D,a,s,f[0],f[1],0,s,l,h.data):t.texSubImage2D(t.TEXTURE_2D,a,e,n,f[0],f[1],s,l,h.data):y?t.texImage2D(t.TEXTURE_2D,a,s,f[0],f[1],0,s,l,h.data.subarray(h.offset,h.offset+g)):t.texSubImage2D(t.TEXTURE_2D,a,e,n,f[0],f[1],s,l,h.data.subarray(h.offset,h.offset+g));else{var b;b=l===t.FLOAT?o.mallocFloat32(g):o.mallocUint8(g);var w=i(b,f,[f[2],f[2]*f[0],1]);p===t.FLOAT&&l===t.UNSIGNED_BYTE?c(w,h):r.assign(w,h),y?t.texImage2D(t.TEXTURE_2D,a,s,f[0],f[1],0,s,l,b.subarray(0,g)):t.texSubImage2D(t.TEXTURE_2D,a,e,n,f[0],f[1],s,l,b.subarray(0,g)),l===t.FLOAT?o.freeFloat32(b):o.freeUint8(b)}}(s,e,n,a,this.format,this.type,this._mipLevels,t)}}},3056:function(t){"use strict";t.exports=function(t,e,n){e?e.bind():t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,null);var i=0|t.getParameter(t.MAX_VERTEX_ATTRIBS);if(n){if(n.length>i)throw new Error("gl-vao: Too many vertex attributes");for(var r=0;r1?0:Math.acos(s)};var i=n(5415),r=n(899),o=n(9305)},8827:function(t){t.exports=function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t}},7622:function(t){t.exports=function(t){var e=new Float32Array(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}},8782:function(t){t.exports=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}},8501:function(t){t.exports=function(){var t=new Float32Array(3);return t[0]=0,t[1]=0,t[2]=0,t}},903:function(t){t.exports=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=n[0],s=n[1],l=n[2];return t[0]=r*l-o*s,t[1]=o*a-i*l,t[2]=i*s-r*a,t}},5981:function(t,e,n){t.exports=n(8288)},8288:function(t){t.exports=function(t,e){var n=e[0]-t[0],i=e[1]-t[1],r=e[2]-t[2];return Math.sqrt(n*n+i*i+r*r)}},8629:function(t,e,n){t.exports=n(7979)},7979:function(t){t.exports=function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}},9305:function(t){t.exports=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}},154:function(t){t.exports=1e-6},4932:function(t,e,n){t.exports=function(t,e){var n=t[0],r=t[1],o=t[2],a=e[0],s=e[1],l=e[2];return Math.abs(n-a)<=i*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-s)<=i*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(o-l)<=i*Math.max(1,Math.abs(o),Math.abs(l))};var i=n(154)},5777:function(t){t.exports=function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}},3306:function(t){t.exports=function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t}},7447:function(t,e,n){t.exports=function(t,e,n,r,o,a){var s,l;for(e||(e=3),n||(n=0),l=r?Math.min(r*e+n,t.length):t.length,s=n;s0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o),t}},6660:function(t){t.exports=function(t,e){e=e||1;var n=2*Math.random()*Math.PI,i=2*Math.random()-1,r=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(n)*r,t[1]=Math.sin(n)*r,t[2]=i*e,t}},392:function(t){t.exports=function(t,e,n,i){var r=n[1],o=n[2],a=e[1]-r,s=e[2]-o,l=Math.sin(i),u=Math.cos(i);return t[0]=e[0],t[1]=r+a*u-s*l,t[2]=o+a*l+s*u,t}},3222:function(t){t.exports=function(t,e,n,i){var r=n[0],o=n[2],a=e[0]-r,s=e[2]-o,l=Math.sin(i),u=Math.cos(i);return t[0]=r+s*l+a*u,t[1]=e[1],t[2]=o+s*u-a*l,t}},3388:function(t){t.exports=function(t,e,n,i){var r=n[0],o=n[1],a=e[0]-r,s=e[1]-o,l=Math.sin(i),u=Math.cos(i);return t[0]=r+a*u-s*l,t[1]=o+a*l+s*u,t[2]=e[2],t}},1624:function(t){t.exports=function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t}},5685:function(t){t.exports=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}},6722:function(t){t.exports=function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t[2]=e[2]+n[2]*i,t}},831:function(t){t.exports=function(t,e,n,i){return t[0]=e,t[1]=n,t[2]=i,t}},5294:function(t,e,n){t.exports=n(6403)},3303:function(t,e,n){t.exports=n(4337)},6403:function(t){t.exports=function(t,e){var n=e[0]-t[0],i=e[1]-t[1],r=e[2]-t[2];return n*n+i*i+r*r}},4337:function(t){t.exports=function(t){var e=t[0],n=t[1],i=t[2];return e*e+n*n+i*i}},8921:function(t,e,n){t.exports=n(911)},911:function(t){t.exports=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}},9908:function(t){t.exports=function(t,e,n){var i=e[0],r=e[1],o=e[2];return t[0]=i*n[0]+r*n[3]+o*n[6],t[1]=i*n[1]+r*n[4]+o*n[7],t[2]=i*n[2]+r*n[5]+o*n[8],t}},3255:function(t){t.exports=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=n[3]*i+n[7]*r+n[11]*o+n[15];return a=a||1,t[0]=(n[0]*i+n[4]*r+n[8]*o+n[12])/a,t[1]=(n[1]*i+n[5]*r+n[9]*o+n[13])/a,t[2]=(n[2]*i+n[6]*r+n[10]*o+n[14])/a,t}},6568:function(t){t.exports=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=n[0],s=n[1],l=n[2],u=n[3],c=u*i+s*o-l*r,h=u*r+l*i-a*o,d=u*o+a*r-s*i,f=-a*i-s*r-l*o;return t[0]=c*u+f*-a+h*-l-d*-s,t[1]=h*u+f*-s+d*-a-c*-l,t[2]=d*u+f*-l+c*-s-h*-a,t}},3433:function(t){t.exports=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t}},1413:function(t){t.exports=function(t){var e=new Float32Array(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}},3470:function(t){t.exports=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}},5313:function(t){t.exports=function(){var t=new Float32Array(4);return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t}},5446:function(t){t.exports=function(t,e){var n=e[0]-t[0],i=e[1]-t[1],r=e[2]-t[2],o=e[3]-t[3];return Math.sqrt(n*n+i*i+r*r+o*o)}},205:function(t){t.exports=function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t[3]=e[3]/n[3],t}},4242:function(t){t.exports=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}},5680:function(t){t.exports=function(t,e,n,i){var r=new Float32Array(4);return r[0]=t,r[1]=e,r[2]=n,r[3]=i,r}},4020:function(t,e,n){t.exports={create:n(5313),clone:n(1413),fromValues:n(5680),copy:n(3470),set:n(6453),add:n(3433),subtract:n(2705),multiply:n(746),divide:n(205),min:n(2170),max:n(3030),scale:n(5510),scaleAndAdd:n(4224),distance:n(5446),squaredDistance:n(1542),length:n(8177),squaredLength:n(9037),negate:n(6459),inverse:n(8057),normalize:n(381),dot:n(4242),lerp:n(8746),random:n(3770),transformMat4:n(6342),transformQuat:n(5022)}},8057:function(t){t.exports=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t}},8177:function(t){t.exports=function(t){var e=t[0],n=t[1],i=t[2],r=t[3];return Math.sqrt(e*e+n*n+i*i+r*r)}},8746:function(t){t.exports=function(t,e,n,i){var r=e[0],o=e[1],a=e[2],s=e[3];return t[0]=r+i*(n[0]-r),t[1]=o+i*(n[1]-o),t[2]=a+i*(n[2]-a),t[3]=s+i*(n[3]-s),t}},3030:function(t){t.exports=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t[3]=Math.max(e[3],n[3]),t}},2170:function(t){t.exports=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t[3]=Math.min(e[3],n[3]),t}},746:function(t){t.exports=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t}},6459:function(t){t.exports=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t}},381:function(t){t.exports=function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=n*n+i*i+r*r+o*o;return a>0&&(a=1/Math.sqrt(a),t[0]=n*a,t[1]=i*a,t[2]=r*a,t[3]=o*a),t}},3770:function(t,e,n){var i=n(381),r=n(5510);t.exports=function(t,e){return e=e||1,t[0]=Math.random(),t[1]=Math.random(),t[2]=Math.random(),t[3]=Math.random(),i(t,t),r(t,t,e),t}},5510:function(t){t.exports=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t}},4224:function(t){t.exports=function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t[2]=e[2]+n[2]*i,t[3]=e[3]+n[3]*i,t}},6453:function(t){t.exports=function(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}},1542:function(t){t.exports=function(t,e){var n=e[0]-t[0],i=e[1]-t[1],r=e[2]-t[2],o=e[3]-t[3];return n*n+i*i+r*r+o*o}},9037:function(t){t.exports=function(t){var e=t[0],n=t[1],i=t[2],r=t[3];return e*e+n*n+i*i+r*r}},2705:function(t){t.exports=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t}},6342:function(t){t.exports=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3];return t[0]=n[0]*i+n[4]*r+n[8]*o+n[12]*a,t[1]=n[1]*i+n[5]*r+n[9]*o+n[13]*a,t[2]=n[2]*i+n[6]*r+n[10]*o+n[14]*a,t[3]=n[3]*i+n[7]*r+n[11]*o+n[15]*a,t}},5022:function(t){t.exports=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=n[0],s=n[1],l=n[2],u=n[3],c=u*i+s*o-l*r,h=u*r+l*i-a*o,d=u*o+a*r-s*i,f=-a*i-s*r-l*o;return t[0]=c*u+f*-a+h*-l-d*-s,t[1]=h*u+f*-s+d*-a-c*-l,t[2]=d*u+f*-l+c*-s-h*-a,t[3]=e[3],t}},9365:function(t,e,n){var i=n(8096),r=n(7896);t.exports=function(t){for(var e=Array.isArray(t)?t:i(t),n=0;n0)continue;n=t.slice(0,1).join("")}return j(n),I+=n.length,(S=S.slice(n.length)).length}}function H(){return/[^a-fA-F0-9]/.test(e)?(j(S.join("")),A=l,C):(S.push(e),n=e,C+1)}function V(){return"."===e||/[eE]/.test(e)?(S.push(e),A=p,n=e,C+1):"x"===e&&1===S.length&&"0"===S[0]?(A=w,S.push(e),n=e,C+1):/[^\d]/.test(e)?(j(S.join("")),A=l,C):(S.push(e),n=e,C+1)}function X(){return"f"===e&&(S.push(e),n=e,C+=1),/[eE]/.test(e)?(S.push(e),n=e,C+1):("-"!==e&&"+"!==e||!/[eE]/.test(n))&&/[^\d]/.test(e)?(j(S.join("")),A=l,C):(S.push(e),n=e,C+1)}function J(){if(/[^\d\w_]/.test(e)){var t=S.join("");return A=U[t]?g:P[t]?v:m,j(S.join("")),A=l,C}return S.push(e),n=e,C+1}};var i=n(399),r=n(9746),o=n(9525),a=n(9458),s=n(3585),l=999,u=9999,c=0,h=1,d=2,f=3,_=4,p=5,m=6,v=7,g=8,y=9,b=10,w=11,E=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"]},3585:function(t,e,n){var i=n(9525);i=i.slice().filter((function(t){return!/^(gl\_|texture)/.test(t)})),t.exports=i.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},9525:function(t){t.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},9458:function(t,e,n){var i=n(399);t.exports=i.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},399:function(t){t.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},9746:function(t){t.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},8096:function(t,e,n){var i=n(3193);t.exports=function(t,e){var n=i(e),r=[];return(r=r.concat(n(t))).concat(n(null))}},6832:function(t){t.exports=function(t){"string"==typeof t&&(t=[t]);for(var e=[].slice.call(arguments,1),n=[],i=0;i0;)for(var s=(t=a.pop()).adjacent,l=0;l<=n;++l){var u=s[l];if(u.boundary&&!(u.lastVisited<=-i)){for(var c=u.vertices,h=0;h<=n;++h){var d=c[h];r[h]=d<0?e:o[d]}var f=this.orient();if(f>0)return u;u.lastVisited=-i,0===f&&a.push(u)}}return null},c.walk=function(t,e){var n=this.vertices.length-1,i=this.dimension,r=this.vertices,o=this.tuple,a=e?this.interior.length*Math.random()|0:this.interior.length-1,s=this.interior[a];t:for(;!s.boundary;){for(var l=s.vertices,u=s.adjacent,c=0;c<=i;++c)o[c]=r[l[c]];for(s.lastVisited=n,c=0;c<=i;++c){var h=u[c];if(!(h.lastVisited>=n)){var d=o[c];o[c]=t;var f=this.orient();if(o[c]=d,f<0){s=h;continue t}h.boundary?h.lastVisited=-n:h.lastVisited=n}}return}return s},c.addPeaks=function(t,e){var n=this.vertices.length-1,i=this.dimension,r=this.vertices,l=this.tuple,u=this.interior,c=this.simplices,h=[e];e.lastVisited=n,e.vertices[e.vertices.indexOf(-1)]=n,e.boundary=!1,u.push(e);for(var d=[];h.length>0;){var f=(e=h.pop()).vertices,_=e.adjacent,p=f.indexOf(n);if(!(p<0))for(var m=0;m<=i;++m)if(m!==p){var v=_[m];if(v.boundary&&!(v.lastVisited>=n)){var g=v.vertices;if(v.lastVisited!==-n){for(var y=0,b=0;b<=i;++b)g[b]<0?(y=b,l[b]=t):l[b]=r[g[b]];if(this.orient()>0){g[y]=n,v.boundary=!1,u.push(v),h.push(v),v.lastVisited=n;continue}v.lastVisited=-n}var w=v.adjacent,E=f.slice(),x=_.slice(),C=new o(E,x,!0);c.push(C);var T=w.indexOf(e);if(!(T<0))for(w[T]=C,x[p]=v,E[m]=-1,x[m]=e,_[m]=C,C.flip(),b=0;b<=i;++b){var A=E[b];if(!(A<0||A===n)){for(var S=new Array(i-1),z=0,k=0;k<=i;++k){var N=E[k];N<0||k===b||(S[z++]=N)}d.push(new a(S,C,b))}}}}}for(d.sort(s),m=0;m+1=0?a[l++]=s[c]:u=1&c;if(u===(1&t)){var h=a[0];a[0]=a[1],a[1]=h}e.push(a)}}return e}},9014:function(t,e,n){"use strict";var i=n(5070);function r(t,e,n,i,r){this.mid=t,this.left=e,this.right=n,this.leftPoints=i,this.rightPoints=r,this.count=(e?e.count:0)+(n?n.count:0)+i.length}t.exports=function(t){return t&&0!==t.length?new v(m(t)):new v(null)};var o=r.prototype;function a(t,e){t.mid=e.mid,t.left=e.left,t.right=e.right,t.leftPoints=e.leftPoints,t.rightPoints=e.rightPoints,t.count=e.count}function s(t,e){var n=m(e);t.mid=n.mid,t.left=n.left,t.right=n.right,t.leftPoints=n.leftPoints,t.rightPoints=n.rightPoints,t.count=n.count}function l(t,e){var n=t.intervals([]);n.push(e),s(t,n)}function u(t,e){var n=t.intervals([]),i=n.indexOf(e);return i<0?0:(n.splice(i,1),s(t,n),1)}function c(t,e,n){for(var i=0;i=0&&t[i][1]>=e;--i){var r=n(t[i]);if(r)return r}}function d(t,e){for(var n=0;n>1],o=[],a=[],s=[];for(n=0;n3*(e+1)?l(this,t):this.left.insert(t):this.left=m([t]);else if(t[0]>this.mid)this.right?4*(this.right.count+1)>3*(e+1)?l(this,t):this.right.insert(t):this.right=m([t]);else{var n=i.ge(this.leftPoints,t,_),r=i.ge(this.rightPoints,t,p);this.leftPoints.splice(n,0,t),this.rightPoints.splice(r,0,t)}},o.remove=function(t){var e=this.count-this.leftPoints;if(t[1]3*(e-1)?u(this,t):2===(s=this.left.remove(t))?(this.left=null,this.count-=1,1):(1===s&&(this.count-=1),s):0;if(t[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(e-1)?u(this,t):2===(s=this.right.remove(t))?(this.right=null,this.count-=1,1):(1===s&&(this.count-=1),s):0;if(1===this.count)return this.leftPoints[0]===t?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===t){if(this.left&&this.right){for(var n=this,r=this.left;r.right;)n=r,r=r.right;if(n===this)r.right=this.right;else{var o=this.left,s=this.right;n.count-=r.count,n.right=r.left,r.left=o,r.right=s}a(this,r),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?a(this,this.left):a(this,this.right);return 1}for(o=i.ge(this.leftPoints,t,_);othis.mid?this.right&&(n=this.right.queryPoint(t,e))?n:h(this.rightPoints,t,e):d(this.leftPoints,e);var n},o.queryInterval=function(t,e,n){var i;return tthis.mid&&this.right&&(i=this.right.queryInterval(t,e,n))?i:ethis.mid?h(this.rightPoints,t,n):d(this.leftPoints,n)};var g=v.prototype;g.insert=function(t){this.root?this.root.insert(t):this.root=new r(t[0],null,null,[t],[t])},g.remove=function(t){if(this.root){var e=this.root.remove(t);return 2===e&&(this.root=null),0!==e}return!1},g.queryPoint=function(t,e){if(this.root)return this.root.queryPoint(t,e)},g.queryInterval=function(t,e,n){if(t<=e&&this.root)return this.root.queryInterval(t,e,n)},Object.defineProperty(g,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(g,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}})},9560:function(t){"use strict";t.exports=function(t){for(var e=new Array(t),n=0;n13)&&32!==e&&133!==e&&160!==e&&5760!==e&&6158!==e&&(e<8192||e>8205)&&8232!==e&&8233!==e&&8239!==e&&8287!==e&&8288!==e&&12288!==e&&65279!==e)return!1;return!0}},3578:function(t){t.exports=function(t,e,n){return t*(1-n)+e*n}},7191:function(t,e,n){var i=n(4690),r=n(9823),o=n(7332),a=n(7787),s=n(7437),l=n(2142),u={length:n(4693),normalize:n(899),dot:n(9305),cross:n(903)},c=r(),h=r(),d=[0,0,0,0],f=[[0,0,0],[0,0,0],[0,0,0]],_=[0,0,0];function p(t,e,n,i,r){t[0]=e[0]*i+n[0]*r,t[1]=e[1]*i+n[1]*r,t[2]=e[2]*i+n[2]*r}t.exports=function(t,e,n,r,m,v){if(e||(e=[0,0,0]),n||(n=[0,0,0]),r||(r=[0,0,0]),m||(m=[0,0,0,1]),v||(v=[0,0,0,1]),!i(c,t))return!1;if(o(h,c),h[3]=0,h[7]=0,h[11]=0,h[15]=1,Math.abs(a(h)<1e-8))return!1;var g,y,b,w,E,x,C,T=c[3],A=c[7],S=c[11],z=c[12],k=c[13],N=c[14],I=c[15];if(0!==T||0!==A||0!==S){if(d[0]=T,d[1]=A,d[2]=S,d[3]=I,!s(h,h))return!1;l(h,h),g=m,b=h,w=(y=d)[0],E=y[1],x=y[2],C=y[3],g[0]=b[0]*w+b[4]*E+b[8]*x+b[12]*C,g[1]=b[1]*w+b[5]*E+b[9]*x+b[13]*C,g[2]=b[2]*w+b[6]*E+b[10]*x+b[14]*C,g[3]=b[3]*w+b[7]*E+b[11]*x+b[15]*C}else m[0]=m[1]=m[2]=0,m[3]=1;if(e[0]=z,e[1]=k,e[2]=N,function(t,e){t[0][0]=e[0],t[0][1]=e[1],t[0][2]=e[2],t[1][0]=e[4],t[1][1]=e[5],t[1][2]=e[6],t[2][0]=e[8],t[2][1]=e[9],t[2][2]=e[10]}(f,c),n[0]=u.length(f[0]),u.normalize(f[0],f[0]),r[0]=u.dot(f[0],f[1]),p(f[1],f[1],f[0],1,-r[0]),n[1]=u.length(f[1]),u.normalize(f[1],f[1]),r[0]/=n[1],r[1]=u.dot(f[0],f[2]),p(f[2],f[2],f[0],1,-r[1]),r[2]=u.dot(f[1],f[2]),p(f[2],f[2],f[1],1,-r[2]),n[2]=u.length(f[2]),u.normalize(f[2],f[2]),r[1]/=n[2],r[2]/=n[2],u.cross(_,f[1],f[2]),u.dot(f[0],_)<0)for(var O=0;O<3;O++)n[O]*=-1,f[O][0]*=-1,f[O][1]*=-1,f[O][2]*=-1;return v[0]=.5*Math.sqrt(Math.max(1+f[0][0]-f[1][1]-f[2][2],0)),v[1]=.5*Math.sqrt(Math.max(1-f[0][0]+f[1][1]-f[2][2],0)),v[2]=.5*Math.sqrt(Math.max(1-f[0][0]-f[1][1]+f[2][2],0)),v[3]=.5*Math.sqrt(Math.max(1+f[0][0]+f[1][1]+f[2][2],0)),f[2][1]>f[1][2]&&(v[0]=-v[0]),f[0][2]>f[2][0]&&(v[1]=-v[1]),f[1][0]>f[0][1]&&(v[2]=-v[2]),!0}},4690:function(t){t.exports=function(t,e){var n=e[15];if(0===n)return!1;for(var i=1/n,r=0;r<16;r++)t[r]=e[r]*i;return!0}},7649:function(t,e,n){var i=n(1868),r=n(1102),o=n(7191),a=n(7787),s=n(1116),l=h(),u=h(),c=h();function h(){return{translate:d(),scale:d(1),skew:d(),perspective:[0,0,0,1],quaternion:[0,0,0,1]}}function d(t){return[t||0,t||0,t||0]}t.exports=function(t,e,n,h){if(0===a(e)||0===a(n))return!1;var d=o(e,l.translate,l.scale,l.skew,l.perspective,l.quaternion),f=o(n,u.translate,u.scale,u.skew,u.perspective,u.quaternion);return!(!d||!f||(i(c.translate,l.translate,u.translate,h),i(c.skew,l.skew,u.skew,h),i(c.scale,l.scale,u.scale,h),i(c.perspective,l.perspective,u.perspective,h),s(c.quaternion,l.quaternion,u.quaternion,h),r(t,c.translate,c.scale,c.skew,c.perspective,c.quaternion),0))}},1102:function(t,e,n){var i={identity:n(9947),translate:n(998),multiply:n(104),create:n(9823),scale:n(3668),fromRotationTranslation:n(7280)},r=(i.create(),i.create());t.exports=function(t,e,n,o,a,s){return i.identity(t),i.fromRotationTranslation(t,s,e),t[3]=a[0],t[7]=a[1],t[11]=a[2],t[15]=a[3],i.identity(r),0!==o[2]&&(r[9]=o[2],i.multiply(t,t,r)),0!==o[1]&&(r[9]=0,r[8]=o[1],i.multiply(t,t,r)),0!==o[0]&&(r[8]=0,r[4]=o[0],i.multiply(t,t,r)),i.scale(t,t,n),t}},9298:function(t,e,n){"use strict";var i=n(5070),r=n(7649),o=n(7437),a=n(6109),s=n(7115),l=n(5240),u=n(3012),c=n(998),h=(n(3668),n(899)),d=[0,0,0];function f(t){this._components=t.slice(),this._time=[0],this.prevMatrix=t.slice(),this.nextMatrix=t.slice(),this.computedMatrix=t.slice(),this.computedInverse=t.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}t.exports=function(t){return new f((t=t||{}).matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};var _=f.prototype;_.recalcMatrix=function(t){var e=this._time,n=i.le(e,t),a=this.computedMatrix;if(!(n<0)){var s=this._components;if(n===e.length-1)for(var l=16*n,u=0;u<16;++u)a[u]=s[l++];else{var c=e[n+1]-e[n],d=(l=16*n,this.prevMatrix),f=!0;for(u=0;u<16;++u)d[u]=s[l++];var _=this.nextMatrix;for(u=0;u<16;++u)_[u]=s[l++],f=f&&d[u]===_[u];if(c<1e-6||f)for(u=0;u<16;++u)a[u]=d[u];else r(a,d,_,(t-e[n])/c)}var p=this.computedUp;p[0]=a[1],p[1]=a[5],p[2]=a[9],h(p,p);var m=this.computedInverse;o(m,a);var v=this.computedEye,g=m[15];v[0]=m[12]/g,v[1]=m[13]/g,v[2]=m[14]/g;var y=this.computedCenter,b=Math.exp(this.computedRadius[0]);for(u=0;u<3;++u)y[u]=v[u]-a[2+4*u]*b}},_.idle=function(t){if(!(t1&&i(t[a[c-2]],t[a[c-1]],u)<=0;)c-=1,a.pop();for(a.push(l),c=s.length;c>1&&i(t[s[c-2]],t[s[c-1]],u)>=0;)c-=1,s.pop();s.push(l)}n=new Array(s.length+a.length-2);for(var h=0,d=(r=0,a.length);r0;--f)n[h++]=s[f];return n};var i=n(417)[3]},6145:function(t,e,n){"use strict";t.exports=function(t,e){e||(e=t,t=window);var n=0,r=0,o=0,a={shift:!1,alt:!1,control:!1,meta:!1},s=!1;function l(t){var e=!1;return"altKey"in t&&(e=e||t.altKey!==a.alt,a.alt=!!t.altKey),"shiftKey"in t&&(e=e||t.shiftKey!==a.shift,a.shift=!!t.shiftKey),"ctrlKey"in t&&(e=e||t.ctrlKey!==a.control,a.control=!!t.ctrlKey),"metaKey"in t&&(e=e||t.metaKey!==a.meta,a.meta=!!t.metaKey),e}function u(t,s){var u=i.x(s),c=i.y(s);"buttons"in s&&(t=0|s.buttons),(t!==n||u!==r||c!==o||l(s))&&(n=0|t,r=u||0,o=c||0,e&&e(n,r,o,a))}function c(t){u(0,t)}function h(){(n||r||o||a.shift||a.alt||a.meta||a.control)&&(r=o=0,n=0,a.shift=a.alt=a.control=a.meta=!1,e&&e(0,0,0,a))}function d(t){l(t)&&e&&e(n,r,o,a)}function f(t){0===i.buttons(t)?u(0,t):u(n,t)}function _(t){u(n|i.buttons(t),t)}function p(t){u(n&~i.buttons(t),t)}function m(){s||(s=!0,t.addEventListener("mousemove",f),t.addEventListener("mousedown",_),t.addEventListener("mouseup",p),t.addEventListener("mouseleave",c),t.addEventListener("mouseenter",c),t.addEventListener("mouseout",c),t.addEventListener("mouseover",c),t.addEventListener("blur",h),t.addEventListener("keyup",d),t.addEventListener("keydown",d),t.addEventListener("keypress",d),t!==window&&(window.addEventListener("blur",h),window.addEventListener("keyup",d),window.addEventListener("keydown",d),window.addEventListener("keypress",d)))}m();var v={element:t};return Object.defineProperties(v,{enabled:{get:function(){return s},set:function(e){e?m():s&&(s=!1,t.removeEventListener("mousemove",f),t.removeEventListener("mousedown",_),t.removeEventListener("mouseup",p),t.removeEventListener("mouseleave",c),t.removeEventListener("mouseenter",c),t.removeEventListener("mouseout",c),t.removeEventListener("mouseover",c),t.removeEventListener("blur",h),t.removeEventListener("keyup",d),t.removeEventListener("keydown",d),t.removeEventListener("keypress",d),t!==window&&(window.removeEventListener("blur",h),window.removeEventListener("keyup",d),window.removeEventListener("keydown",d),window.removeEventListener("keypress",d)))},enumerable:!0},buttons:{get:function(){return n},enumerable:!0},x:{get:function(){return r},enumerable:!0},y:{get:function(){return o},enumerable:!0},mods:{get:function(){return a},enumerable:!0}}),v};var i=n(4110)},2565:function(t){var e={left:0,top:0};t.exports=function(t,n,i){n=n||t.currentTarget||t.srcElement,Array.isArray(i)||(i=[0,0]);var r,o=t.clientX||0,a=t.clientY||0,s=(r=n)===window||r===document||r===document.body?e:r.getBoundingClientRect();return i[0]=o-s.left,i[1]=a-s.top,i}},4110:function(t,e){"use strict";function n(t){return t.target||t.srcElement||window}e.buttons=function(t){if("object"==typeof t){if("buttons"in t)return t.buttons;if("which"in t){if(2===(e=t.which))return 4;if(3===e)return 2;if(e>0)return 1<=0)return 1< 0"),"function"!=typeof t.vertex&&e("Must specify vertex creation function"),"function"!=typeof t.cell&&e("Must specify cell creation function"),"function"!=typeof t.phase&&e("Must specify phase function");for(var a=t.getters||[],s=new Array(o),l=0;l=0?s[l]=!0:s[l]=!1;return function(t,e,n,o,a,s){var l=[s,a].join(",");return(0,r[l])(t,e,n,i.mallocUint32,i.freeUint32)}(t.vertex,t.cell,t.phase,0,n,s)};var r={"false,0,1":function(t,e,n,i,r){return function(o,a,s,l){var u,c=0|o.shape[0],h=0|o.shape[1],d=o.data,f=0|o.offset,_=0|o.stride[0],p=0|o.stride[1],m=f,v=0|-_,g=0,y=0|-p,b=0,w=-_-p|0,E=0,x=0|_,C=p-_*c|0,T=0,A=0,S=0,z=2*c|0,k=i(z),N=i(z),I=0,O=0,L=-1,M=-1,$=0,R=0|-c,P=0|c,U=0,j=-c-1|0,q=c-1|0,D=0,B=0,F=0;for(T=0;T0){if(A=1,k[I++]=n(d[m],a,s,l),m+=x,c>0)for(T=1,u=d[m],O=k[I]=n(u,a,s,l),$=k[I+L],U=k[I+R],D=k[I+j],O===$&&O===U&&O===D||(g=d[m+v],b=d[m+y],E=d[m+w],t(T,A,u,g,b,E,O,$,U,D,a,s,l),B=N[I]=S++),I+=1,m+=x,T=2;T0)for(T=1,u=d[m],O=k[I]=n(u,a,s,l),$=k[I+L],U=k[I+R],D=k[I+j],O===$&&O===U&&O===D||(g=d[m+v],b=d[m+y],E=d[m+w],t(T,A,u,g,b,E,O,$,U,D,a,s,l),B=N[I]=S++,D!==U&&e(N[I+R],B,b,E,U,D,a,s,l)),I+=1,m+=x,T=2;T0){if(T=1,k[I++]=n(d[m],a,s,l),m+=x,h>0)for(A=1,u=d[m],O=k[I]=n(u,a,s,l),U=k[I+R],$=k[I+L],D=k[I+j],O===U&&O===$&&O===D||(g=d[m+v],b=d[m+y],E=d[m+w],t(T,A,u,g,b,E,O,U,$,D,a,s,l),B=N[I]=S++),I+=1,m+=x,A=2;A0)for(A=1,u=d[m],O=k[I]=n(u,a,s,l),U=k[I+R],$=k[I+L],D=k[I+j],O===U&&O===$&&O===D||(g=d[m+v],b=d[m+y],E=d[m+w],t(T,A,u,g,b,E,O,U,$,D,a,s,l),B=N[I]=S++,D!==U&&e(N[I+R],B,E,g,D,U,a,s,l)),I+=1,m+=x,A=2;A2&&o[1]>2&&i(r.pick(-1,-1).lo(1,1).hi(o[0]-2,o[1]-2),t.pick(-1,-1,0).lo(1,1).hi(o[0]-2,o[1]-2),t.pick(-1,-1,1).lo(1,1).hi(o[0]-2,o[1]-2)),o[1]>2&&(n(r.pick(0,-1).lo(1).hi(o[1]-2),t.pick(0,-1,1).lo(1).hi(o[1]-2)),e(t.pick(0,-1,0).lo(1).hi(o[1]-2))),o[1]>2&&(n(r.pick(o[0]-1,-1).lo(1).hi(o[1]-2),t.pick(o[0]-1,-1,1).lo(1).hi(o[1]-2)),e(t.pick(o[0]-1,-1,0).lo(1).hi(o[1]-2))),o[0]>2&&(n(r.pick(-1,0).lo(1).hi(o[0]-2),t.pick(-1,0,0).lo(1).hi(o[0]-2)),e(t.pick(-1,0,1).lo(1).hi(o[0]-2))),o[0]>2&&(n(r.pick(-1,o[1]-1).lo(1).hi(o[0]-2),t.pick(-1,o[1]-1,0).lo(1).hi(o[0]-2)),e(t.pick(-1,o[1]-1,1).lo(1).hi(o[0]-2))),t.set(0,0,0,0),t.set(0,0,1,0),t.set(o[0]-1,0,0,0),t.set(o[0]-1,0,1,0),t.set(0,o[1]-1,0,0),t.set(0,o[1]-1,1,0),t.set(o[0]-1,o[1]-1,0,0),t.set(o[0]-1,o[1]-1,1,0),t}}t.exports=function(t,e,n){return Array.isArray(n)||(n=i(e.dimension,"string"==typeof n?n:"clamp")),0===e.size?t:0===e.dimension?(t.set(0),t):function(t){var e=t.join();if(o=c[e])return o;for(var n=t.length,i=[h,d],r=1;r<=n;++r)i.push(f(r));var o=_.apply(void 0,i);return c[e]=o,o}(n)(t,e)}},3581:function(t){"use strict";function e(t,e){var n=Math.floor(e),i=e-n,r=0<=n&&n0;){y<64?(l=y,y=0):(l=64,y-=64);for(var b=0|t[1];b>0;){b<64?(u=b,b=0):(u=64,b-=64),i=v+y*h+b*d,a=g+y*_+b*p;var w=0,E=0,x=0,C=f,T=h-c*f,A=d-l*h,S=m,z=_-c*m,k=p-l*_;for(x=0;x0;){p<64?(l=p,p=0):(l=64,p-=64);for(var m=0|t[0];m>0;){m<64?(s=m,m=0):(s=64,m-=64),i=f+p*c+m*u,a=_+p*d+m*h;var v=0,g=0,y=c,b=u-l*c,w=d,E=h-l*d;for(g=0;g0;){g<64?(u=g,g=0):(u=64,g-=64);for(var y=0|t[0];y>0;){y<64?(s=y,y=0):(s=64,y-=64);for(var b=0|t[1];b>0;){b<64?(l=b,b=0):(l=64,b-=64),i=m+g*d+y*c+b*h,a=v+g*p+y*f+b*_;var w=0,E=0,x=0,C=d,T=c-u*d,A=h-s*c,S=p,z=f-u*p,k=_-s*f;for(x=0;xn;){v=0,g=p-a;e:for(m=0;mb)break e;g+=h,v+=d}for(v=p,g=p-a,m=0;m>1,W=F-q,G=F+q,H=D,V=W,X=F,J=G,Z=B,Y=r+1,K=o-1,Q=!0,tt=0,et=0,nt=0,it=h,rt=e(it),ot=e(it);T=l*H,A=l*V,j=s;t:for(C=0;C0){m=H,H=V,V=m;break t}if(nt<0)break t;j+=f}T=l*J,A=l*Z,j=s;t:for(C=0;C0){m=J,J=Z,Z=m;break t}if(nt<0)break t;j+=f}T=l*H,A=l*X,j=s;t:for(C=0;C0){m=H,H=X,X=m;break t}if(nt<0)break t;j+=f}T=l*V,A=l*X,j=s;t:for(C=0;C0){m=V,V=X,X=m;break t}if(nt<0)break t;j+=f}T=l*H,A=l*J,j=s;t:for(C=0;C0){m=H,H=J,J=m;break t}if(nt<0)break t;j+=f}T=l*X,A=l*J,j=s;t:for(C=0;C0){m=X,X=J,J=m;break t}if(nt<0)break t;j+=f}T=l*V,A=l*Z,j=s;t:for(C=0;C0){m=V,V=Z,Z=m;break t}if(nt<0)break t;j+=f}T=l*V,A=l*X,j=s;t:for(C=0;C0){m=V,V=X,X=m;break t}if(nt<0)break t;j+=f}T=l*J,A=l*Z,j=s;t:for(C=0;C0){m=J,J=Z,Z=m;break t}if(nt<0)break t;j+=f}for(T=l*H,A=l*V,S=l*X,z=l*J,k=l*Z,N=l*D,I=l*F,O=l*B,U=0,j=s,C=0;C0)){if(nt<0){for(T=l*b,A=l*Y,S=l*K,j=s,C=0;C0)for(;;){for(w=s+K*l,U=0,C=0;C0)){for(w=s+K*l,U=0,C=0;CB){t:for(;;){for(w=s+Y*l,U=0,j=s,C=0;C1&&i?s(n,i[0],i[1]):s(n)}(t,e,l);return i(l,u)}},8729:function(t,e,n){"use strict";var i=n(8139),r={};t.exports=function(t){var e=t.order,n=t.dtype,o=[e,n].join(":"),a=r[o];return a||(r[o]=a=i(e,n)),a(t),t}},5050:function(t,e,n){var i=n(4780),r="undefined"!=typeof Float64Array;function o(t,e){return t[0]-e[0]}function a(){var t,e=this.stride,n=new Array(e.length);for(t=0;t=0&&(e+=o*(n=0|t),r-=n),new i(this.data,r,o,e)},r.step=function(t){var e=this.shape[0],n=this.stride[0],r=this.offset,o=0,a=Math.ceil;return"number"==typeof t&&((o=0|t)<0?(r+=n*(e-1),e=a(-e/o)):e=a(e/o),n*=o),new i(this.data,e,n,r)},r.transpose=function(t){t=void 0===t?0:0|t;var e=this.shape,n=this.stride;return new i(this.data,e[t],n[t],this.offset)},r.pick=function(t){var n=[],i=[],r=this.offset;return"number"==typeof t&&t>=0?r=r+this.stride[0]*t|0:(n.push(this.shape[0]),i.push(this.stride[0])),(0,e[n.length+1])(this.data,n,i,r)},function(t,e,n,r){return new i(t,e[0],n[0],r)}},2:function(t,e,n){function i(t,e,n,i,r,o){this.data=t,this.shape=[e,n],this.stride=[i,r],this.offset=0|o}var r=i.prototype;return r.dtype=t,r.dimension=2,Object.defineProperty(r,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(r,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),r.set=function(e,n,i){return"generic"===t?this.data.set(this.offset+this.stride[0]*e+this.stride[1]*n,i):this.data[this.offset+this.stride[0]*e+this.stride[1]*n]=i},r.get=function(e,n){return"generic"===t?this.data.get(this.offset+this.stride[0]*e+this.stride[1]*n):this.data[this.offset+this.stride[0]*e+this.stride[1]*n]},r.index=function(t,e){return this.offset+this.stride[0]*t+this.stride[1]*e},r.hi=function(t,e){return new i(this.data,"number"!=typeof t||t<0?this.shape[0]:0|t,"number"!=typeof e||e<0?this.shape[1]:0|e,this.stride[0],this.stride[1],this.offset)},r.lo=function(t,e){var n=this.offset,r=0,o=this.shape[0],a=this.shape[1],s=this.stride[0],l=this.stride[1];return"number"==typeof t&&t>=0&&(n+=s*(r=0|t),o-=r),"number"==typeof e&&e>=0&&(n+=l*(r=0|e),a-=r),new i(this.data,o,a,s,l,n)},r.step=function(t,e){var n=this.shape[0],r=this.shape[1],o=this.stride[0],a=this.stride[1],s=this.offset,l=0,u=Math.ceil;return"number"==typeof t&&((l=0|t)<0?(s+=o*(n-1),n=u(-n/l)):n=u(n/l),o*=l),"number"==typeof e&&((l=0|e)<0?(s+=a*(r-1),r=u(-r/l)):r=u(r/l),a*=l),new i(this.data,n,r,o,a,s)},r.transpose=function(t,e){t=void 0===t?0:0|t,e=void 0===e?1:0|e;var n=this.shape,r=this.stride;return new i(this.data,n[t],n[e],r[t],r[e],this.offset)},r.pick=function(t,n){var i=[],r=[],o=this.offset;return"number"==typeof t&&t>=0?o=o+this.stride[0]*t|0:(i.push(this.shape[0]),r.push(this.stride[0])),"number"==typeof n&&n>=0?o=o+this.stride[1]*n|0:(i.push(this.shape[1]),r.push(this.stride[1])),(0,e[i.length+1])(this.data,i,r,o)},function(t,e,n,r){return new i(t,e[0],e[1],n[0],n[1],r)}},3:function(t,e,n){function i(t,e,n,i,r,o,a,s){this.data=t,this.shape=[e,n,i],this.stride=[r,o,a],this.offset=0|s}var r=i.prototype;return r.dtype=t,r.dimension=3,Object.defineProperty(r,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(r,"order",{get:function(){var t=Math.abs(this.stride[0]),e=Math.abs(this.stride[1]),n=Math.abs(this.stride[2]);return t>e?e>n?[2,1,0]:t>n?[1,2,0]:[1,0,2]:t>n?[2,0,1]:n>e?[0,1,2]:[0,2,1]}}),r.set=function(e,n,i,r){return"generic"===t?this.data.set(this.offset+this.stride[0]*e+this.stride[1]*n+this.stride[2]*i,r):this.data[this.offset+this.stride[0]*e+this.stride[1]*n+this.stride[2]*i]=r},r.get=function(e,n,i){return"generic"===t?this.data.get(this.offset+this.stride[0]*e+this.stride[1]*n+this.stride[2]*i):this.data[this.offset+this.stride[0]*e+this.stride[1]*n+this.stride[2]*i]},r.index=function(t,e,n){return this.offset+this.stride[0]*t+this.stride[1]*e+this.stride[2]*n},r.hi=function(t,e,n){return new i(this.data,"number"!=typeof t||t<0?this.shape[0]:0|t,"number"!=typeof e||e<0?this.shape[1]:0|e,"number"!=typeof n||n<0?this.shape[2]:0|n,this.stride[0],this.stride[1],this.stride[2],this.offset)},r.lo=function(t,e,n){var r=this.offset,o=0,a=this.shape[0],s=this.shape[1],l=this.shape[2],u=this.stride[0],c=this.stride[1],h=this.stride[2];return"number"==typeof t&&t>=0&&(r+=u*(o=0|t),a-=o),"number"==typeof e&&e>=0&&(r+=c*(o=0|e),s-=o),"number"==typeof n&&n>=0&&(r+=h*(o=0|n),l-=o),new i(this.data,a,s,l,u,c,h,r)},r.step=function(t,e,n){var r=this.shape[0],o=this.shape[1],a=this.shape[2],s=this.stride[0],l=this.stride[1],u=this.stride[2],c=this.offset,h=0,d=Math.ceil;return"number"==typeof t&&((h=0|t)<0?(c+=s*(r-1),r=d(-r/h)):r=d(r/h),s*=h),"number"==typeof e&&((h=0|e)<0?(c+=l*(o-1),o=d(-o/h)):o=d(o/h),l*=h),"number"==typeof n&&((h=0|n)<0?(c+=u*(a-1),a=d(-a/h)):a=d(a/h),u*=h),new i(this.data,r,o,a,s,l,u,c)},r.transpose=function(t,e,n){t=void 0===t?0:0|t,e=void 0===e?1:0|e,n=void 0===n?2:0|n;var r=this.shape,o=this.stride;return new i(this.data,r[t],r[e],r[n],o[t],o[e],o[n],this.offset)},r.pick=function(t,n,i){var r=[],o=[],a=this.offset;return"number"==typeof t&&t>=0?a=a+this.stride[0]*t|0:(r.push(this.shape[0]),o.push(this.stride[0])),"number"==typeof n&&n>=0?a=a+this.stride[1]*n|0:(r.push(this.shape[1]),o.push(this.stride[1])),"number"==typeof i&&i>=0?a=a+this.stride[2]*i|0:(r.push(this.shape[2]),o.push(this.stride[2])),(0,e[r.length+1])(this.data,r,o,a)},function(t,e,n,r){return new i(t,e[0],e[1],e[2],n[0],n[1],n[2],r)}},4:function(t,e,n){function i(t,e,n,i,r,o,a,s,l,u){this.data=t,this.shape=[e,n,i,r],this.stride=[o,a,s,l],this.offset=0|u}var r=i.prototype;return r.dtype=t,r.dimension=4,Object.defineProperty(r,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(r,"order",{get:n}),r.set=function(e,n,i,r,o){return"generic"===t?this.data.set(this.offset+this.stride[0]*e+this.stride[1]*n+this.stride[2]*i+this.stride[3]*r,o):this.data[this.offset+this.stride[0]*e+this.stride[1]*n+this.stride[2]*i+this.stride[3]*r]=o},r.get=function(e,n,i,r){return"generic"===t?this.data.get(this.offset+this.stride[0]*e+this.stride[1]*n+this.stride[2]*i+this.stride[3]*r):this.data[this.offset+this.stride[0]*e+this.stride[1]*n+this.stride[2]*i+this.stride[3]*r]},r.index=function(t,e,n,i){return this.offset+this.stride[0]*t+this.stride[1]*e+this.stride[2]*n+this.stride[3]*i},r.hi=function(t,e,n,r){return new i(this.data,"number"!=typeof t||t<0?this.shape[0]:0|t,"number"!=typeof e||e<0?this.shape[1]:0|e,"number"!=typeof n||n<0?this.shape[2]:0|n,"number"!=typeof r||r<0?this.shape[3]:0|r,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},r.lo=function(t,e,n,r){var o=this.offset,a=0,s=this.shape[0],l=this.shape[1],u=this.shape[2],c=this.shape[3],h=this.stride[0],d=this.stride[1],f=this.stride[2],_=this.stride[3];return"number"==typeof t&&t>=0&&(o+=h*(a=0|t),s-=a),"number"==typeof e&&e>=0&&(o+=d*(a=0|e),l-=a),"number"==typeof n&&n>=0&&(o+=f*(a=0|n),u-=a),"number"==typeof r&&r>=0&&(o+=_*(a=0|r),c-=a),new i(this.data,s,l,u,c,h,d,f,_,o)},r.step=function(t,e,n,r){var o=this.shape[0],a=this.shape[1],s=this.shape[2],l=this.shape[3],u=this.stride[0],c=this.stride[1],h=this.stride[2],d=this.stride[3],f=this.offset,_=0,p=Math.ceil;return"number"==typeof t&&((_=0|t)<0?(f+=u*(o-1),o=p(-o/_)):o=p(o/_),u*=_),"number"==typeof e&&((_=0|e)<0?(f+=c*(a-1),a=p(-a/_)):a=p(a/_),c*=_),"number"==typeof n&&((_=0|n)<0?(f+=h*(s-1),s=p(-s/_)):s=p(s/_),h*=_),"number"==typeof r&&((_=0|r)<0?(f+=d*(l-1),l=p(-l/_)):l=p(l/_),d*=_),new i(this.data,o,a,s,l,u,c,h,d,f)},r.transpose=function(t,e,n,r){t=void 0===t?0:0|t,e=void 0===e?1:0|e,n=void 0===n?2:0|n,r=void 0===r?3:0|r;var o=this.shape,a=this.stride;return new i(this.data,o[t],o[e],o[n],o[r],a[t],a[e],a[n],a[r],this.offset)},r.pick=function(t,n,i,r){var o=[],a=[],s=this.offset;return"number"==typeof t&&t>=0?s=s+this.stride[0]*t|0:(o.push(this.shape[0]),a.push(this.stride[0])),"number"==typeof n&&n>=0?s=s+this.stride[1]*n|0:(o.push(this.shape[1]),a.push(this.stride[1])),"number"==typeof i&&i>=0?s=s+this.stride[2]*i|0:(o.push(this.shape[2]),a.push(this.stride[2])),"number"==typeof r&&r>=0?s=s+this.stride[3]*r|0:(o.push(this.shape[3]),a.push(this.stride[3])),(0,e[o.length+1])(this.data,o,a,s)},function(t,e,n,r){return new i(t,e[0],e[1],e[2],e[3],n[0],n[1],n[2],n[3],r)}},5:function(t,e,n){function i(t,e,n,i,r,o,a,s,l,u,c,h){this.data=t,this.shape=[e,n,i,r,o],this.stride=[a,s,l,u,c],this.offset=0|h}var r=i.prototype;return r.dtype=t,r.dimension=5,Object.defineProperty(r,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(r,"order",{get:n}),r.set=function(e,n,i,r,o,a){return"generic"===t?this.data.set(this.offset+this.stride[0]*e+this.stride[1]*n+this.stride[2]*i+this.stride[3]*r+this.stride[4]*o,a):this.data[this.offset+this.stride[0]*e+this.stride[1]*n+this.stride[2]*i+this.stride[3]*r+this.stride[4]*o]=a},r.get=function(e,n,i,r,o){return"generic"===t?this.data.get(this.offset+this.stride[0]*e+this.stride[1]*n+this.stride[2]*i+this.stride[3]*r+this.stride[4]*o):this.data[this.offset+this.stride[0]*e+this.stride[1]*n+this.stride[2]*i+this.stride[3]*r+this.stride[4]*o]},r.index=function(t,e,n,i,r){return this.offset+this.stride[0]*t+this.stride[1]*e+this.stride[2]*n+this.stride[3]*i+this.stride[4]*r},r.hi=function(t,e,n,r,o){return new i(this.data,"number"!=typeof t||t<0?this.shape[0]:0|t,"number"!=typeof e||e<0?this.shape[1]:0|e,"number"!=typeof n||n<0?this.shape[2]:0|n,"number"!=typeof r||r<0?this.shape[3]:0|r,"number"!=typeof o||o<0?this.shape[4]:0|o,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},r.lo=function(t,e,n,r,o){var a=this.offset,s=0,l=this.shape[0],u=this.shape[1],c=this.shape[2],h=this.shape[3],d=this.shape[4],f=this.stride[0],_=this.stride[1],p=this.stride[2],m=this.stride[3],v=this.stride[4];return"number"==typeof t&&t>=0&&(a+=f*(s=0|t),l-=s),"number"==typeof e&&e>=0&&(a+=_*(s=0|e),u-=s),"number"==typeof n&&n>=0&&(a+=p*(s=0|n),c-=s),"number"==typeof r&&r>=0&&(a+=m*(s=0|r),h-=s),"number"==typeof o&&o>=0&&(a+=v*(s=0|o),d-=s),new i(this.data,l,u,c,h,d,f,_,p,m,v,a)},r.step=function(t,e,n,r,o){var a=this.shape[0],s=this.shape[1],l=this.shape[2],u=this.shape[3],c=this.shape[4],h=this.stride[0],d=this.stride[1],f=this.stride[2],_=this.stride[3],p=this.stride[4],m=this.offset,v=0,g=Math.ceil;return"number"==typeof t&&((v=0|t)<0?(m+=h*(a-1),a=g(-a/v)):a=g(a/v),h*=v),"number"==typeof e&&((v=0|e)<0?(m+=d*(s-1),s=g(-s/v)):s=g(s/v),d*=v),"number"==typeof n&&((v=0|n)<0?(m+=f*(l-1),l=g(-l/v)):l=g(l/v),f*=v),"number"==typeof r&&((v=0|r)<0?(m+=_*(u-1),u=g(-u/v)):u=g(u/v),_*=v),"number"==typeof o&&((v=0|o)<0?(m+=p*(c-1),c=g(-c/v)):c=g(c/v),p*=v),new i(this.data,a,s,l,u,c,h,d,f,_,p,m)},r.transpose=function(t,e,n,r,o){t=void 0===t?0:0|t,e=void 0===e?1:0|e,n=void 0===n?2:0|n,r=void 0===r?3:0|r,o=void 0===o?4:0|o;var a=this.shape,s=this.stride;return new i(this.data,a[t],a[e],a[n],a[r],a[o],s[t],s[e],s[n],s[r],s[o],this.offset)},r.pick=function(t,n,i,r,o){var a=[],s=[],l=this.offset;return"number"==typeof t&&t>=0?l=l+this.stride[0]*t|0:(a.push(this.shape[0]),s.push(this.stride[0])),"number"==typeof n&&n>=0?l=l+this.stride[1]*n|0:(a.push(this.shape[1]),s.push(this.stride[1])),"number"==typeof i&&i>=0?l=l+this.stride[2]*i|0:(a.push(this.shape[2]),s.push(this.stride[2])),"number"==typeof r&&r>=0?l=l+this.stride[3]*r|0:(a.push(this.shape[3]),s.push(this.stride[3])),"number"==typeof o&&o>=0?l=l+this.stride[4]*o|0:(a.push(this.shape[4]),s.push(this.stride[4])),(0,e[a.length+1])(this.data,a,s,l)},function(t,e,n,r){return new i(t,e[0],e[1],e[2],e[3],e[4],n[0],n[1],n[2],n[3],n[4],r)}}};function l(t,e){var n=-1===e?"T":String(e),i=s[n];return-1===e?i(t):0===e?i(t,u[t][0]):i(t,u[t],a)}var u={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};t.exports=function(t,e,n,o){if(void 0===t)return(0,u.array[0])([]);"number"==typeof t&&(t=[t]),void 0===e&&(e=[t.length]);var a=e.length;if(void 0===n){n=new Array(a);for(var s=a-1,c=1;s>=0;--s)n[s]=c,c*=e[s]}if(void 0===o)for(o=0,s=0;s>>0;t.exports=function(t,e){if(isNaN(t)||isNaN(e))return NaN;if(t===e)return t;if(0===t)return e<0?-r:r;var n=i.hi(t),a=i.lo(t);return e>t==t>0?a===o?(n+=1,a=0):a+=1:0===a?(a=o,n-=1):a-=1,i.pack(a,n)}},115:function(t,e){e.vertexNormals=function(t,e,n){for(var i=e.length,r=new Array(i),o=void 0===n?1e-6:n,a=0;ao){var b=r[u],w=1/Math.sqrt(m*g);for(y=0;y<3;++y){var E=(y+1)%3,x=(y+2)%3;b[y]+=w*(v[E]*p[x]-v[x]*p[E])}}}for(a=0;ao)for(w=1/Math.sqrt(C),y=0;y<3;++y)b[y]*=w;else for(y=0;y<3;++y)b[y]=0}return r},e.faceNormals=function(t,e,n){for(var i=t.length,r=new Array(i),o=void 0===n?1e-6:n,a=0;ao?1/Math.sqrt(f):0,u=0;u<3;++u)d[u]*=f;r[a]=d}return r}},567:function(t){"use strict";t.exports=function(t,e,n,i,r,o,a,s,l,u){var c=e+o+u;if(h>0){var h=Math.sqrt(c+1);t[0]=.5*(a-l)/h,t[1]=.5*(s-i)/h,t[2]=.5*(n-o)/h,t[3]=.5*h}else{var d=Math.max(e,o,u);h=Math.sqrt(2*d-c+1),e>=d?(t[0]=.5*h,t[1]=.5*(r+n)/h,t[2]=.5*(s+i)/h,t[3]=.5*(a-l)/h):o>=d?(t[0]=.5*(n+r)/h,t[1]=.5*h,t[2]=.5*(l+a)/h,t[3]=.5*(s-i)/h):(t[0]=.5*(i+s)/h,t[1]=.5*(a+l)/h,t[2]=.5*h,t[3]=.5*(n-r)/h)}return t}},7774:function(t,e,n){"use strict";t.exports=function(t){var e=(t=t||{}).center||[0,0,0],n=t.rotation||[0,0,0,1],i=t.radius||1;e=[].slice.call(e,0,3),c(n=[].slice.call(n,0,4),n);var r=new h(n,e,Math.log(i));return r.setDistanceLimits(t.zoomMin,t.zoomMax),("eye"in t||"up"in t)&&r.lookAt(0,t.eye,t.center,t.up),r};var i=n(8444),r=n(3012),o=n(5950),a=n(7437),s=n(567);function l(t,e,n){return Math.sqrt(Math.pow(t,2)+Math.pow(e,2)+Math.pow(n,2))}function u(t,e,n,i){return Math.sqrt(Math.pow(t,2)+Math.pow(e,2)+Math.pow(n,2)+Math.pow(i,2))}function c(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=u(n,i,r,o);a>1e-6?(t[0]=n/a,t[1]=i/a,t[2]=r/a,t[3]=o/a):(t[0]=t[1]=t[2]=0,t[3]=1)}function h(t,e,n){this.radius=i([n]),this.center=i(e),this.rotation=i(t),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var d=h.prototype;d.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},d.recalcMatrix=function(t){this.radius.curve(t),this.center.curve(t),this.rotation.curve(t);var e=this.computedRotation;c(e,e);var n=this.computedMatrix;o(n,e);var i=this.computedCenter,r=this.computedEye,a=this.computedUp,s=Math.exp(this.computedRadius[0]);r[0]=i[0]+s*n[2],r[1]=i[1]+s*n[6],r[2]=i[2]+s*n[10],a[0]=n[1],a[1]=n[5],a[2]=n[9];for(var l=0;l<3;++l){for(var u=0,h=0;h<3;++h)u+=n[l+4*h]*r[h];n[12+l]=-u}},d.getMatrix=function(t,e){this.recalcMatrix(t);var n=this.computedMatrix;if(e){for(var i=0;i<16;++i)e[i]=n[i];return e}return n},d.idle=function(t){this.center.idle(t),this.radius.idle(t),this.rotation.idle(t)},d.flush=function(t){this.center.flush(t),this.radius.flush(t),this.rotation.flush(t)},d.pan=function(t,e,n,i){e=e||0,n=n||0,i=i||0,this.recalcMatrix(t);var r=this.computedMatrix,o=r[1],a=r[5],s=r[9],u=l(o,a,s);o/=u,a/=u,s/=u;var c=r[0],h=r[4],d=r[8],f=c*o+h*a+d*s,_=l(c-=o*f,h-=a*f,d-=s*f);c/=_,h/=_,d/=_;var p=r[2],m=r[6],v=r[10],g=p*o+m*a+v*s,y=p*c+m*h+v*d,b=l(p-=g*o+y*c,m-=g*a+y*h,v-=g*s+y*d);p/=b,m/=b,v/=b;var w=c*e+o*n,E=h*e+a*n,x=d*e+s*n;this.center.move(t,w,E,x);var C=Math.exp(this.computedRadius[0]);C=Math.max(1e-4,C+i),this.radius.set(t,Math.log(C))},d.rotate=function(t,e,n,i){this.recalcMatrix(t),e=e||0,n=n||0;var r=this.computedMatrix,o=r[0],a=r[4],s=r[8],c=r[1],h=r[5],d=r[9],f=r[2],_=r[6],p=r[10],m=e*o+n*c,v=e*a+n*h,g=e*s+n*d,y=-(_*g-p*v),b=-(p*m-f*g),w=-(f*v-_*m),E=Math.sqrt(Math.max(0,1-Math.pow(y,2)-Math.pow(b,2)-Math.pow(w,2))),x=u(y,b,w,E);x>1e-6?(y/=x,b/=x,w/=x,E/=x):(y=b=w=0,E=1);var C=this.computedRotation,T=C[0],A=C[1],S=C[2],z=C[3],k=T*E+z*y+A*w-S*b,N=A*E+z*b+S*y-T*w,I=S*E+z*w+T*b-A*y,O=z*E-T*y-A*b-S*w;if(i){y=f,b=_,w=p;var L=Math.sin(i)/l(y,b,w);y*=L,b*=L,w*=L,O=O*(E=Math.cos(e))-(k=k*E+O*y+N*w-I*b)*y-(N=N*E+O*b+I*y-k*w)*b-(I=I*E+O*w+k*b-N*y)*w}var M=u(k,N,I,O);M>1e-6?(k/=M,N/=M,I/=M,O/=M):(k=N=I=0,O=1),this.rotation.set(t,k,N,I,O)},d.lookAt=function(t,e,n,i){this.recalcMatrix(t),n=n||this.computedCenter,e=e||this.computedEye,i=i||this.computedUp;var o=this.computedMatrix;r(o,e,n,i);var a=this.computedRotation;s(a,o[0],o[1],o[2],o[4],o[5],o[6],o[8],o[9],o[10]),c(a,a),this.rotation.set(t,a[0],a[1],a[2],a[3]);for(var l=0,u=0;u<3;++u)l+=Math.pow(n[u]-e[u],2);this.radius.set(t,.5*Math.log(Math.max(l,1e-6))),this.center.set(t,n[0],n[1],n[2])},d.translate=function(t,e,n,i){this.center.move(t,e||0,n||0,i||0)},d.setMatrix=function(t,e){var n=this.computedRotation;s(n,e[0],e[1],e[2],e[4],e[5],e[6],e[8],e[9],e[10]),c(n,n),this.rotation.set(t,n[0],n[1],n[2],n[3]);var i=this.computedMatrix;a(i,e);var r=i[15];if(Math.abs(r)>1e-6){var o=i[12]/r,l=i[13]/r,u=i[14]/r;this.recalcMatrix(t);var h=Math.exp(this.computedRadius[0]);this.center.set(t,o-i[2]*h,l-i[6]*h,u-i[10]*h),this.radius.idle(t)}else this.center.idle(t),this.radius.idle(t)},d.setDistance=function(t,e){e>0&&this.radius.set(t,Math.log(e))},d.setDistanceLimits=function(t,e){t=t>0?Math.log(t):-1/0,e=e>0?Math.log(e):1/0,e=Math.max(e,t),this.radius.bounds[0][0]=t,this.radius.bounds[1][0]=e},d.getDistanceLimits=function(t){var e=this.radius.bounds;return t?(t[0]=Math.exp(e[0][0]),t[1]=Math.exp(e[1][0]),t):[Math.exp(e[0][0]),Math.exp(e[1][0])]},d.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},d.fromJSON=function(t){var e=this.lastT(),n=t.center;n&&this.center.set(e,n[0],n[1],n[2]);var i=t.rotation;i&&this.rotation.set(e,i[0],i[1],i[2],i[3]);var r=t.distance;r&&r>0&&this.radius.set(e,Math.log(r)),this.setDistanceLimits(t.zoomMin,t.zoomMax)}},4930:function(t,e,n){"use strict";var i=n(6184);t.exports=function(t,e,n){return i(n=void 0!==n?n+"":" ",e)+t}},4405:function(t){t.exports=function(t,e){e||(e=[0,""]),t=String(t);var n=parseFloat(t,10);return e[0]=n,e[1]=t.match(/[\d.\-\+]*\s*(.*)/)[1]||"",e}},4166:function(t,e,n){"use strict";t.exports=function(t,e){for(var n=0|e.length,r=t.length,o=[new Array(n),new Array(n)],a=0;a0){a=o[c][n][0],l=c;break}s=a[1^l];for(var h=0;h<2;++h)for(var d=o[h][n],f=0;f0&&(a=_,s=p,l=h)}return r||a&&u(a,l),s}function h(t,n){var r=o[n][t][0],a=[t];u(r,n);for(var s=r[1^n];;){for(;s!==t;)a.push(s),s=c(a[a.length-2],s,!1);if(o[0][t].length+o[1][t].length===0)break;var l=a[a.length-1],h=t,d=a[1],f=c(l,h,!0);if(i(e[l],e[h],e[d],e[f])<0)break;a.push(t),s=c(l,h)}return a}function d(t,e){return e[1]===e[e.length-1]}for(a=0;a0;){o[0][a].length;var p=h(a,f);d(0,p)?_.push.apply(_,p):(_.length>0&&l.push(_),_=p)}_.length>0&&l.push(_)}return l};var i=n(9398)},3959:function(t,e,n){"use strict";t.exports=function(t,e){for(var n=i(t,e.length),r=new Array(e.length),o=new Array(e.length),a=[],s=0;s0;){r[f=a.pop()]=!1;var u=n[f];for(s=0;s0}))).length,m=new Array(p),v=new Array(p);for(f=0;f0;){var U=R.pop(),j=z[U];l(j,(function(t,e){return t-e}));var q,D=j.length,B=P[U];for(0===B&&(q=[F=_[U]]),f=0;f=0||(P[W]=1^B,R.push(W),0===B&&($(F=_[W])||(F.reverse(),q.push(F))))}0===B&&n.push(q)}return n};var i=n(8348),r=n(4166),o=n(211),a=n(9660),s=n(9662),l=n(1215),u=n(3959);function c(t,e){for(var n=new Array(t),i=0;i0&&e[r]===n[0]))return 1;o=t[r-1]}for(var s=1;o;){var l=o.key,u=i(n,l[0],l[1]);if(l[0][0]0))return 0;s=-1,o=o.right}else if(u>0)o=o.left;else{if(!(u<0))return 0;s=1,o=o.right}}return s}}(v.slabs,v.coordinates);return 0===o.length?g:function(t,e){return function(n){return t(n[0],n[1])?0:e(n)}}(l(o),g)};var i=n(417)[3],r=n(4385),o=n(9014),a=n(5070);function s(){return!0}function l(t){for(var e={},n=0;n=u?(C=1,g=u+2*d+_):g=d*(C=-d/u)+_):(C=0,f>=0?(T=0,g=_):-f>=h?(T=1,g=h+2*f+_):g=f*(T=-f/h)+_);else if(T<0)T=0,d>=0?(C=0,g=_):-d>=u?(C=1,g=u+2*d+_):g=d*(C=-d/u)+_;else{var A=1/x;g=(C*=A)*(u*C+c*(T*=A)+2*d)+T*(c*C+h*T+2*f)+_}else C<0?(b=h+f)>(y=c+d)?(w=b-y)>=(E=u-2*c+h)?(C=1,T=0,g=u+2*d+_):g=(C=w/E)*(u*C+c*(T=1-C)+2*d)+T*(c*C+h*T+2*f)+_:(C=0,b<=0?(T=1,g=h+2*f+_):f>=0?(T=0,g=_):g=f*(T=-f/h)+_):T<0?(b=u+d)>(y=c+f)?(w=b-y)>=(E=u-2*c+h)?(T=1,C=0,g=h+2*f+_):g=(C=1-(T=w/E))*(u*C+c*T+2*d)+T*(c*C+h*T+2*f)+_:(T=0,b<=0?(C=1,g=u+2*d+_):d>=0?(C=0,g=_):g=d*(C=-d/u)+_):(w=h+f-c-d)<=0?(C=0,T=1,g=h+2*f+_):w>=(E=u-2*c+h)?(C=1,T=0,g=u+2*d+_):g=(C=w/E)*(u*C+c*(T=1-C)+2*d)+T*(c*C+h*T+2*f)+_;var S=1-C-T;for(l=0;l0){var u=t[n-1];if(0===i(s,u)&&o(u)!==l){n-=1;continue}}t[n++]=s}}return t.length=n,t}},6184:function(t){"use strict";var e,n="";t.exports=function(t,i){if("string"!=typeof t)throw new TypeError("expected a string");if(1===i)return t;if(2===i)return t+t;var r=t.length*i;if(e!==t||void 0===e)e=t,n="";else if(n.length>=r)return n.substr(0,r);for(;r>n.length&&i>1;)1&i&&(n+=t),i>>=1,t+=t;return n=(n+=t).substr(0,r)}},8161:function(t,e,n){t.exports=n.g.performance&&n.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},402:function(t){"use strict";t.exports=function(t){for(var e=t.length,n=t[t.length-1],i=e,r=e-2;r>=0;--r){var o=n;(l=(s=t[r])-((n=o+s)-o))&&(t[--i]=n,n=l)}var a=0;for(r=i;r0){if(o<=0)return a;i=r+o}else{if(!(r<0))return a;if(o>=0)return a;i=-(r+o)}var s=33306690738754716e-32*i;return a>=s||a<=-s?a:h(t,e,n)},function(t,e,n,i){var r=t[0]-i[0],o=e[0]-i[0],a=n[0]-i[0],s=t[1]-i[1],l=e[1]-i[1],u=n[1]-i[1],c=t[2]-i[2],h=e[2]-i[2],f=n[2]-i[2],_=o*u,p=a*l,m=a*s,v=r*u,g=r*l,y=o*s,b=c*(_-p)+h*(m-v)+f*(g-y),w=7771561172376103e-31*((Math.abs(_)+Math.abs(p))*Math.abs(c)+(Math.abs(m)+Math.abs(v))*Math.abs(h)+(Math.abs(g)+Math.abs(y))*Math.abs(f));return b>w||-b>w?b:d(t,e,n,i)}];function _(t){var e=f[t.length];return e||(e=f[t.length]=c(t.length)),e.apply(void 0,t)}function p(t,e,n,i,r,o,a){return function(e,n,s,l,u){switch(arguments.length){case 0:case 1:return 0;case 2:return i(e,n);case 3:return r(e,n,s);case 4:return o(e,n,s,l);case 5:return a(e,n,s,l,u)}for(var c=new Array(arguments.length),h=0;h0&&a>0||o<0&&a<0)return!1;var s=i(n,t,e),l=i(r,t,e);return!(s>0&&l>0||s<0&&l<0)&&(0!==o||0!==a||0!==s||0!==l||function(t,e,n,i){for(var r=0;r<2;++r){var o=t[r],a=e[r],s=Math.min(o,a),l=Math.max(o,a),u=n[r],c=i[r],h=Math.min(u,c);if(Math.max(u,c)=i?(r=h,(l+=1)=i?(r=h,(l+=1)>1,u=e[2*l+1];if(u===o)return l;o>1,u=e[2*l+1];if(u===o)return l;o>1,u=e[2*l+1];if(u===o)return l;o0)-(t<0)},e.abs=function(t){var e=t>>31;return(t^e)-e},e.min=function(t,e){return e^(t^e)&-(t65535)<<4,e|=n=((t>>>=e)>255)<<3,e|=n=((t>>>=n)>15)<<2,(e|=n=((t>>>=n)>3)<<1)|(t>>>=n)>>1},e.log10=function(t){return t>=1e9?9:t>=1e8?8:t>=1e7?7:t>=1e6?6:t>=1e5?5:t>=1e4?4:t>=1e3?3:t>=100?2:t>=10?1:0},e.popCount=function(t){return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24},e.countTrailingZeros=n,e.nextPow2=function(t){return t+=0===t,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,1+((t|=t>>>8)|t>>>16)},e.prevPow2=function(t){return t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)-(t>>>1)},e.parity=function(t){return t^=t>>>16,t^=t>>>8,t^=t>>>4,27030>>>(t&=15)&1};var i=new Array(256);!function(t){for(var e=0;e<256;++e){var n=e,i=e,r=7;for(n>>>=1;n;n>>>=1)i<<=1,i|=1&n,--r;t[e]=i<>>8&255]<<16|i[t>>>16&255]<<8|i[t>>>24&255]},e.interleave2=function(t,e){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t&=65535)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e&=65535)|e<<8))|e<<4))|e<<2))|e<<1))<<1},e.deinterleave2=function(t,e){return(t=65535&((t=16711935&((t=252645135&((t=858993459&((t=t>>>e&1431655765)|t>>>1))|t>>>2))|t>>>4))|t>>>16))<<16>>16},e.interleave3=function(t,e,n){return t=1227133513&((t=3272356035&((t=251719695&((t=4278190335&((t&=1023)|t<<16))|t<<8))|t<<4))|t<<2),(t|=(e=1227133513&((e=3272356035&((e=251719695&((e=4278190335&((e&=1023)|e<<16))|e<<8))|e<<4))|e<<2))<<1)|(n=1227133513&((n=3272356035&((n=251719695&((n=4278190335&((n&=1023)|n<<16))|n<<8))|n<<4))|n<<2))<<2},e.deinterleave3=function(t,e){return(t=1023&((t=4278190335&((t=251719695&((t=3272356035&((t=t>>>e&1227133513)|t>>>2))|t>>>4))|t>>>8))|t>>>16))<<22>>22},e.nextCombination=function(t){var e=t|t-1;return e+1|(~e&-~e)-1>>>n(t)+1}},6656:function(t,e,n){"use strict";var i=n(9392),r=n(9521);function o(t,e){var n=t.length,i=t.length-e.length,r=Math.min;if(i)return i;switch(n){case 0:return 0;case 1:return t[0]-e[0];case 2:return(s=t[0]+t[1]-e[0]-e[1])||r(t[0],t[1])-r(e[0],e[1]);case 3:var o=t[0]+t[1],a=e[0]+e[1];if(s=o+t[2]-(a+e[2]))return s;var s,l=r(t[0],t[1]),u=r(e[0],e[1]);return(s=r(l,t[2])-r(u,e[2]))||r(l+t[2],o)-r(u+e[2],a);default:var c=t.slice(0);c.sort();var h=e.slice(0);h.sort();for(var d=0;d>1,s=o(t[a],e);s<=0?(0===s&&(r=a),n=a+1):s>0&&(i=a-1)}return r}function c(t,e){for(var n=new Array(t.length),r=0,a=n.length;r=t.length||0!==o(t[m],s)););}return n}function h(t,e){if(e<0)return[];for(var n=[],r=(1<>>c&1&&u.push(r[c]);e.push(u)}return s(e)},e.skeleton=h,e.boundary=function(t){for(var e=[],n=0,i=t.length;n>1:(t>>1)-1}function y(t){for(var e=v(t);;){var n=e,i=2*t+1,r=2*(t+1),o=t;if(i0;){var n=g(t);if(!(n>=0&&e0){var t=C[0];return m(0,A-1),A-=1,y(0),t}return-1}function E(t,e){var n=C[t];return u[n]===e?t:(u[n]=-1/0,b(t),w(),u[n]=e,b((A+=1)-1))}function x(t){if(!c[t]){c[t]=!0;var e=s[t],n=l[t];s[n]>=0&&(s[n]=e),l[e]>=0&&(l[e]=n),T[e]>=0&&E(T[e],p(e)),T[n]>=0&&E(T[n],p(n))}}var C=[],T=new Array(o);for(h=0;h>1;h>=0;--h)y(h);for(;;){var S=w();if(S<0||u[S]>n)break;x(S)}var z=[];for(h=0;h=0&&n>=0&&e!==n){var i=T[e],r=T[n];i!==r&&N.push([i,r])}})),r.unique(r.normalize(N)),{positions:z,edges:N}};var i=n(417),r=n(6656)},6638:function(t,e,n){"use strict";t.exports=function(t,e){var n,o,a,s;if(e[0][0]e[1][0]))return r(e,t);n=e[1],o=e[0]}if(t[0][0]t[1][0]))return-r(t,e);a=t[1],s=t[0]}var l=i(n,o,s),u=i(n,o,a);if(l<0){if(u<=0)return l}else if(l>0){if(u>=0)return l}else if(u)return u;if(l=i(s,a,o),u=i(s,a,n),l<0){if(u<=0)return l}else if(l>0){if(u>=0)return l}else if(u)return u;return o[0]-s[0]};var i=n(417);function r(t,e){var n,r,o,a;if(e[0][0]e[1][0])){var s=Math.min(t[0][1],t[1][1]),l=Math.max(t[0][1],t[1][1]),u=Math.min(e[0][1],e[1][1]),c=Math.max(e[0][1],e[1][1]);return lc?s-c:l-c}n=e[1],r=e[0]}t[0][1]0)if(e[0]!==a[1][0])n=t,t=t.right;else{if(l=u(t.right,e))return l;t=t.left}else{if(e[0]!==a[1][0])return t;var l;if(l=u(t.right,e))return l;t=t.left}}return n}function c(t,e,n,i){this.y=t,this.index=e,this.start=n,this.closed=i}function h(t,e,n,i){this.x=t,this.segment=e,this.create=n,this.index=i}s.prototype.castUp=function(t){var e=i.le(this.coordinates,t[0]);if(e<0)return-1;this.slabs[e];var n=u(this.slabs[e],t),r=-1;if(n&&(r=n.value),this.coordinates[e]===t[0]){var s=null;if(n&&(s=n.key),e>0){var c=u(this.slabs[e-1],t);c&&(s?a(c.key,s)>0&&(s=c.key,r=c.value):(r=c.value,s=c.key))}var h=this.horizontal[e];if(h.length>0){var d=i.ge(h,t[1],l);if(d=h.length)return r;f=h[d]}}if(f.start)if(s){var _=o(s[0],s[1],[t[0],f.y]);s[0][0]>s[1][0]&&(_=-_),_>0&&(r=f.index)}else r=f.index;else f.y!==t[1]&&(r=f.index)}}}return r}},4670:function(t,e,n){"use strict";var i=n(9130),r=n(9662);function o(t,e){var n=r(i(t,e),[e[e.length-1]]);return n[n.length-1]}function a(t,e,n,i){var r=-e/(i-e);r<0?r=0:r>1&&(r=1);for(var o=1-r,a=t.length,s=new Array(a),l=0;l0||r>0&&c<0){var h=a(s,c,l,r);n.push(h),i.push(h.slice())}c<0?i.push(l.slice()):c>0?n.push(l.slice()):(n.push(l.slice()),i.push(l.slice())),r=c}return{positive:n,negative:i}},t.exports.positive=function(t,e){for(var n=[],i=o(t[t.length-1],e),r=t[t.length-1],s=t[0],l=0;l0||i>0&&u<0)&&n.push(a(r,u,s,i)),u>=0&&n.push(s.slice()),i=u}return n},t.exports.negative=function(t,e){for(var n=[],i=o(t[t.length-1],e),r=t[t.length-1],s=t[0],l=0;l0||i>0&&u<0)&&n.push(a(r,u,s,i)),u<=0&&n.push(s.slice()),i=u}return n}},8974:function(t,e,n){var i;!function(){"use strict";var r={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function o(t){return function(t,e){var n,i,a,s,l,u,c,h,d,f=1,_=t.length,p="";for(i=0;i<_;i++)if("string"==typeof t[i])p+=t[i];else if("object"==typeof t[i]){if((s=t[i]).keys)for(n=e[f],a=0;a=0),s.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,s.width?parseInt(s.width):0);break;case"e":n=s.precision?parseFloat(n).toExponential(s.precision):parseFloat(n).toExponential();break;case"f":n=s.precision?parseFloat(n).toFixed(s.precision):parseFloat(n);break;case"g":n=s.precision?String(Number(n.toPrecision(s.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=s.precision?n.substring(0,s.precision):n;break;case"t":n=String(!!n),n=s.precision?n.substring(0,s.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=s.precision?n.substring(0,s.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=s.precision?n.substring(0,s.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}r.json.test(s.type)?p+=n:(!r.number.test(s.type)||h&&!s.sign?d="":(d=h?"+":"-",n=n.toString().replace(r.sign,"")),u=s.pad_char?"0"===s.pad_char?"0":s.pad_char.charAt(1):" ",c=s.width-(d+n).length,l=s.width&&c>0?u.repeat(c):"",p+=s.align?d+n+l:"0"===u?d+l+n:l+d+n)}return p}(function(t){if(s[t])return s[t];for(var e,n=t,i=[],o=0;n;){if(null!==(e=r.text.exec(n)))i.push(e[0]);else if(null!==(e=r.modulo.exec(n)))i.push("%");else{if(null===(e=r.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(e[2]){o|=1;var a=[],l=e[2],u=[];if(null===(u=r.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(u[1]);""!==(l=l.substring(u[0].length));)if(null!==(u=r.key_access.exec(l)))a.push(u[1]);else{if(null===(u=r.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(u[1])}e[2]=a}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");i.push({placeholder:e[0],param_no:e[1],keys:e[2],sign:e[3],pad_char:e[4],align:e[5],width:e[6],precision:e[7],type:e[8]})}n=n.substring(e[0].length)}return s[t]=i}(t),arguments)}function a(t,e){return o.apply(null,[t].concat(e||[]))}var s=Object.create(null);e.sprintf=o,e.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=a,void 0===(i=function(){return{sprintf:o,vsprintf:a}}.call(e,n,e,t))||(t.exports=i))}()},4162:function(t,e,n){"use strict";t.exports=function(t,e){if(t.dimension<=0)return{positions:[],cells:[]};if(1===t.dimension)return function(t,e){for(var n=r(t,e),i=n.length,o=new Array(i),a=new Array(i),s=0;si|0},vertex:function(t,e,n,i,r,o,a,s,l,u,c,h,d){var f=(a<<0)+(s<<1)+(l<<2)+(u<<3)|0;if(0!==f&&15!==f)switch(f){case 0:case 15:c.push([t-.5,e-.5]);break;case 1:c.push([t-.25-.25*(i+n-2*d)/(n-i),e-.25-.25*(r+n-2*d)/(n-r)]);break;case 2:c.push([t-.75-.25*(-i-n+2*d)/(i-n),e-.25-.25*(o+i-2*d)/(i-o)]);break;case 3:c.push([t-.5,e-.5-.5*(r+n+o+i-4*d)/(n-r+i-o)]);break;case 4:c.push([t-.25-.25*(o+r-2*d)/(r-o),e-.75-.25*(-r-n+2*d)/(r-n)]);break;case 5:c.push([t-.5-.5*(i+n+o+r-4*d)/(n-i+r-o),e-.5]);break;case 6:c.push([t-.5-.25*(-i-n+o+r)/(i-n+r-o),e-.5-.25*(-r-n+o+i)/(r-n+i-o)]);break;case 7:c.push([t-.75-.25*(o+r-2*d)/(r-o),e-.75-.25*(o+i-2*d)/(i-o)]);break;case 8:c.push([t-.75-.25*(-o-r+2*d)/(o-r),e-.75-.25*(-o-i+2*d)/(o-i)]);break;case 9:c.push([t-.5-.25*(i+n+-o-r)/(n-i+o-r),e-.5-.25*(r+n+-o-i)/(n-r+o-i)]);break;case 10:c.push([t-.5-.5*(-i-n-o-r+4*d)/(i-n+o-r),e-.5]);break;case 11:c.push([t-.25-.25*(-o-r+2*d)/(o-r),e-.75-.25*(r+n-2*d)/(n-r)]);break;case 12:c.push([t-.5,e-.5-.5*(-r-n-o-i+4*d)/(r-n+o-i)]);break;case 13:c.push([t-.75-.25*(i+n-2*d)/(n-i),e-.25-.25*(-o-i+2*d)/(o-i)]);break;case 14:c.push([t-.25-.25*(-i-n+2*d)/(i-n),e-.25-.25*(-r-n+2*d)/(r-n)])}},cell:function(t,e,n,i,r,o,a,s,l){r?s.push([t,e]):s.push([e,t])}});return function(t,e){var n=[],r=[];return i(t,n,r,e),{positions:n,cells:r}}}},a={}},6946:function(t,e,n){"use strict";t.exports=function t(e,n,r){r=r||{};var o=a[e];o||(o=a[e]={" ":{data:new Float32Array(0),shape:.2}});var s=o[n];if(!s)if(n.length<=1||!/\d/.test(n))s=o[n]=function(t){for(var e=t.cells,n=t.positions,i=new Float32Array(6*e.length),r=0,o=0,a=0;a0&&(h+=.02);var f=new Float32Array(c),_=0,p=-.5*h;for(d=0;dMath.max(n,i)?r[2]=1:n>Math.max(e,i)?r[0]=1:r[1]=1;for(var o=0,a=0,l=0;l<3;++l)o+=t[l]*t[l],a+=r[l]*t[l];for(l=0;l<3;++l)r[l]-=a/o*t[l];return s(r,r),r}function d(t,e,n,r,o,a,s,l){this.center=i(n),this.up=i(r),this.right=i(o),this.radius=i([a]),this.angle=i([s,l]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(t,e),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var u=0;u<16;++u)this.computedMatrix[u]=.5;this.recalcMatrix(0)}var f=d.prototype;f.setDistanceLimits=function(t,e){t=t>0?Math.log(t):-1/0,e=e>0?Math.log(e):1/0,e=Math.max(e,t),this.radius.bounds[0][0]=t,this.radius.bounds[1][0]=e},f.getDistanceLimits=function(t){var e=this.radius.bounds[0];return t?(t[0]=Math.exp(e[0][0]),t[1]=Math.exp(e[1][0]),t):[Math.exp(e[0][0]),Math.exp(e[1][0])]},f.recalcMatrix=function(t){this.center.curve(t),this.up.curve(t),this.right.curve(t),this.radius.curve(t),this.angle.curve(t);for(var e=this.computedUp,n=this.computedRight,i=0,r=0,o=0;o<3;++o)r+=e[o]*n[o],i+=e[o]*e[o];var l=Math.sqrt(i),c=0;for(o=0;o<3;++o)n[o]-=e[o]*r/i,c+=n[o]*n[o],e[o]/=l;var h=Math.sqrt(c);for(o=0;o<3;++o)n[o]/=h;var d=this.computedToward;a(d,e,n),s(d,d);var f=Math.exp(this.computedRadius[0]),_=this.computedAngle[0],p=this.computedAngle[1],m=Math.cos(_),v=Math.sin(_),g=Math.cos(p),y=Math.sin(p),b=this.computedCenter,w=m*g,E=v*g,x=y,C=-m*y,T=-v*y,A=g,S=this.computedEye,z=this.computedMatrix;for(o=0;o<3;++o){var k=w*n[o]+E*d[o]+x*e[o];z[4*o+1]=C*n[o]+T*d[o]+A*e[o],z[4*o+2]=k,z[4*o+3]=0}var N=z[1],I=z[5],O=z[9],L=z[2],M=z[6],$=z[10],R=I*$-O*M,P=O*L-N*$,U=N*M-I*L,j=u(R,P,U);for(R/=j,P/=j,U/=j,z[0]=R,z[4]=P,z[8]=U,o=0;o<3;++o)S[o]=b[o]+z[2+4*o]*f;for(o=0;o<3;++o){c=0;for(var q=0;q<3;++q)c+=z[o+4*q]*S[q];z[12+o]=-c}z[15]=1},f.getMatrix=function(t,e){this.recalcMatrix(t);var n=this.computedMatrix;if(e){for(var i=0;i<16;++i)e[i]=n[i];return e}return n};var _=[0,0,0];f.rotate=function(t,e,n,i){if(this.angle.move(t,e,n),i){this.recalcMatrix(t);var r=this.computedMatrix;_[0]=r[2],_[1]=r[6],_[2]=r[10];for(var a=this.computedUp,s=this.computedRight,l=this.computedToward,u=0;u<3;++u)r[4*u]=a[u],r[4*u+1]=s[u],r[4*u+2]=l[u];for(o(r,r,i,_),u=0;u<3;++u)a[u]=r[4*u],s[u]=r[4*u+1];this.up.set(t,a[0],a[1],a[2]),this.right.set(t,s[0],s[1],s[2])}},f.pan=function(t,e,n,i){e=e||0,n=n||0,i=i||0,this.recalcMatrix(t);var r=this.computedMatrix,o=(Math.exp(this.computedRadius[0]),r[1]),a=r[5],s=r[9],l=u(o,a,s);o/=l,a/=l,s/=l;var c=r[0],h=r[4],d=r[8],f=c*o+h*a+d*s,_=u(c-=o*f,h-=a*f,d-=s*f),p=(c/=_)*e+o*n,m=(h/=_)*e+a*n,v=(d/=_)*e+s*n;this.center.move(t,p,m,v);var g=Math.exp(this.computedRadius[0]);g=Math.max(1e-4,g+i),this.radius.set(t,Math.log(g))},f.translate=function(t,e,n,i){this.center.move(t,e||0,n||0,i||0)},f.setMatrix=function(t,e,n,i){var o=1;"number"==typeof n&&(o=0|n),(o<0||o>3)&&(o=1);var a=(o+2)%3;e||(this.recalcMatrix(t),e=this.computedMatrix);var s=e[o],l=e[o+4],h=e[o+8];if(i){var d=Math.abs(s),f=Math.abs(l),_=Math.abs(h),p=Math.max(d,f,_);d===p?(s=s<0?-1:1,l=h=0):_===p?(h=h<0?-1:1,s=l=0):(l=l<0?-1:1,s=h=0)}else{var m=u(s,l,h);s/=m,l/=m,h/=m}var v,g,y=e[a],b=e[a+4],w=e[a+8],E=y*s+b*l+w*h,x=u(y-=s*E,b-=l*E,w-=h*E),C=l*(w/=x)-h*(b/=x),T=h*(y/=x)-s*w,A=s*b-l*y,S=u(C,T,A);if(C/=S,T/=S,A/=S,this.center.jump(t,W,G,H),this.radius.idle(t),this.up.jump(t,s,l,h),this.right.jump(t,y,b,w),2===o){var z=e[1],k=e[5],N=e[9],I=z*y+k*b+N*w,O=z*C+k*T+N*A;v=R<0?-Math.PI/2:Math.PI/2,g=Math.atan2(O,I)}else{var L=e[2],M=e[6],$=e[10],R=L*s+M*l+$*h,P=L*y+M*b+$*w,U=L*C+M*T+$*A;v=Math.asin(c(R)),g=Math.atan2(U,P)}this.angle.jump(t,g,v),this.recalcMatrix(t);var j=e[2],q=e[6],D=e[10],B=this.computedMatrix;r(B,e);var F=B[15],W=B[12]/F,G=B[13]/F,H=B[14]/F,V=Math.exp(this.computedRadius[0]);this.center.jump(t,W-j*V,G-q*V,H-D*V)},f.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},f.idle=function(t){this.center.idle(t),this.up.idle(t),this.right.idle(t),this.radius.idle(t),this.angle.idle(t)},f.flush=function(t){this.center.flush(t),this.up.flush(t),this.right.flush(t),this.radius.flush(t),this.angle.flush(t)},f.setDistance=function(t,e){e>0&&this.radius.set(t,Math.log(e))},f.lookAt=function(t,e,n,i){this.recalcMatrix(t),e=e||this.computedEye,n=n||this.computedCenter;var r=(i=i||this.computedUp)[0],o=i[1],a=i[2],s=u(r,o,a);if(!(s<1e-6)){r/=s,o/=s,a/=s;var l=e[0]-n[0],h=e[1]-n[1],d=e[2]-n[2],f=u(l,h,d);if(!(f<1e-6)){l/=f,h/=f,d/=f;var _=this.computedRight,p=_[0],m=_[1],v=_[2],g=r*p+o*m+a*v,y=u(p-=g*r,m-=g*o,v-=g*a);if(!(y<.01&&(y=u(p=o*d-a*h,m=a*l-r*d,v=r*h-o*l))<1e-6)){p/=y,m/=y,v/=y,this.up.set(t,r,o,a),this.right.set(t,p,m,v),this.center.set(t,n[0],n[1],n[2]),this.radius.set(t,Math.log(f));var b=o*v-a*m,w=a*p-r*v,E=r*m-o*p,x=u(b,w,E),C=r*l+o*h+a*d,T=p*l+m*h+v*d,A=(b/=x)*l+(w/=x)*h+(E/=x)*d,S=Math.asin(c(C)),z=Math.atan2(A,T),k=this.angle._state,N=k[k.length-1],I=k[k.length-2];N%=2*Math.PI;var O=Math.abs(N+2*Math.PI-z),L=Math.abs(N-z),M=Math.abs(N-2*Math.PI-z);O0?n.pop():new ArrayBuffer(t)}function _(t){return new Uint8Array(f(t),0,t)}function p(t){return new Uint16Array(f(2*t),0,t)}function m(t){return new Uint32Array(f(4*t),0,t)}function v(t){return new Int8Array(f(t),0,t)}function g(t){return new Int16Array(f(2*t),0,t)}function y(t){return new Int32Array(f(4*t),0,t)}function b(t){return new Float32Array(f(4*t),0,t)}function w(t){return new Float64Array(f(8*t),0,t)}function E(t){return a?new Uint8ClampedArray(f(t),0,t):_(t)}function x(t){return s?new BigUint64Array(f(8*t),0,t):null}function C(t){return l?new BigInt64Array(f(8*t),0,t):null}function T(t){return new DataView(f(t),0,t)}function A(t){t=i.nextPow2(t);var e=i.log2(t),n=h[e];return n.length>0?n.pop():new o(t)}e.free=function(t){if(o.isBuffer(t))h[i.log2(t.length)].push(t);else{if("[object ArrayBuffer]"!==Object.prototype.toString.call(t)&&(t=t.buffer),!t)return;var e=t.length||t.byteLength,n=0|i.log2(e);c[n].push(t)}},e.freeUint8=e.freeUint16=e.freeUint32=e.freeBigUint64=e.freeInt8=e.freeInt16=e.freeInt32=e.freeBigInt64=e.freeFloat32=e.freeFloat=e.freeFloat64=e.freeDouble=e.freeUint8Clamped=e.freeDataView=function(t){d(t.buffer)},e.freeArrayBuffer=d,e.freeBuffer=function(t){h[i.log2(t.length)].push(t)},e.malloc=function(t,e){if(void 0===e||"arraybuffer"===e)return f(t);switch(e){case"uint8":return _(t);case"uint16":return p(t);case"uint32":return m(t);case"int8":return v(t);case"int16":return g(t);case"int32":return y(t);case"float":case"float32":return b(t);case"double":case"float64":return w(t);case"uint8_clamped":return E(t);case"bigint64":return C(t);case"biguint64":return x(t);case"buffer":return A(t);case"data":case"dataview":return T(t);default:return null}return null},e.mallocArrayBuffer=f,e.mallocUint8=_,e.mallocUint16=p,e.mallocUint32=m,e.mallocInt8=v,e.mallocInt16=g,e.mallocInt32=y,e.mallocFloat32=e.mallocFloat=b,e.mallocFloat64=e.mallocDouble=w,e.mallocUint8Clamped=E,e.mallocBigUint64=x,e.mallocBigInt64=C,e.mallocDataView=T,e.mallocBuffer=A,e.clearCache=function(){for(var t=0;t<32;++t)u.UINT8[t].length=0,u.UINT16[t].length=0,u.UINT32[t].length=0,u.INT8[t].length=0,u.INT16[t].length=0,u.INT32[t].length=0,u.FLOAT[t].length=0,u.DOUBLE[t].length=0,u.BIGUINT64[t].length=0,u.BIGINT64[t].length=0,u.UINT8C[t].length=0,c[t].length=0,h[t].length=0}},1731:function(t){"use strict";function e(t){this.roots=new Array(t),this.ranks=new Array(t);for(var e=0;e0&&(o=i.size),i.lineSpacing&&i.lineSpacing>0&&(a=i.lineSpacing),i.styletags&&i.styletags.breaklines&&(s.breaklines=!!i.styletags.breaklines),i.styletags&&i.styletags.bolds&&(s.bolds=!!i.styletags.bolds),i.styletags&&i.styletags.italics&&(s.italics=!!i.styletags.italics),i.styletags&&i.styletags.subscripts&&(s.subscripts=!!i.styletags.subscripts),i.styletags&&i.styletags.superscripts&&(s.superscripts=!!i.styletags.superscripts)),n.font=[i.fontStyle,i.fontVariant,i.fontWeight,o+"px",i.font].filter((function(t){return t})).join(" "),n.textAlign="start",n.textBaseline="alphabetic",n.direction="ltr",E(function(t,e,n,i,o,a){n=n.replace(/\n/g,""),n=!0===a.breaklines?n.replace(/\/g,"\n"):n.replace(/\/g," ");var s="",l=[];for(x=0;x-1?parseInt(t[1+r]):0,l=o>-1?parseInt(n[1+o]):0;s!==l&&(i=i.replace(P(),"?px "),A*=Math.pow(.75,l-s),i=i.replace("?px ",P())),T+=.25*k*(l-s)}if(!0===a.superscripts){var u=t.indexOf(_),h=n.indexOf(_),f=u>-1?parseInt(t[1+u]):0,p=h>-1?parseInt(n[1+h]):0;f!==p&&(i=i.replace(P(),"?px "),A*=Math.pow(.75,p-f),i=i.replace("?px ",P())),T-=.25*k*(p-f)}if(!0===a.bolds){var m=t.indexOf(c)>-1,g=n.indexOf(c)>-1;!m&&g&&(i=y?i.replace("italic ","italic bold "):"bold "+i),m&&!g&&(i=i.replace("bold ",""))}if(!0===a.italics){var y=t.indexOf(d)>-1,b=n.indexOf(d)>-1;!y&&b&&(i="italic "+i),y&&!b&&(i=i.replace("italic ",""))}e.font=i}for(E=0;E",o="",a=r.length,s=o.length,l=e[0]===_||e[0]===v,u=0,c=-s;u>-1&&-1!==(u=n.indexOf(r,u))&&-1!==(c=n.indexOf(o,u+a))&&!(c<=u);){for(var h=u;h=c)i[h]=null,n=n.substr(0,h)+" "+n.substr(h+1);else if(null!==i[h]){var d=i[h].indexOf(e[0]);-1===d?i[h]+=e:l&&(i[h]=i[h].substr(0,d+1)+(1+parseInt(i[h][d+1]))+i[h].substr(d+2))}var f=u+a,p=n.substr(f,c-f).indexOf(r);u=-1!==p?p:c+s}return i}function b(t,e){var n=i(t,128);return e?o(n.cells,n.positions,.25):{edges:n.cells,positions:n.positions}}function w(t,e,n,i){var r=b(t,i),o=function(t,e,n){for(var i=e.textAlign||"start",r=e.textBaseline||"alphabetic",o=[1<<30,1<<30],a=[0,0],s=t.length,l=0;l=0?e[o]:r}))},has___:{value:y((function(e){var i=g(e);return i?n in i:t.indexOf(e)>=0}))},set___:{value:y((function(i,r){var o,a=g(i);return a?a[n]=r:(o=t.indexOf(i))>=0?e[o]=r:(o=t.length,e[o]=r,t[o]=i),this}))},delete___:{value:y((function(i){var r,o,a=g(i);return a?n in a&&delete a[n]:!((r=t.indexOf(i))<0||(o=t.length-1,t[r]=void 0,e[r]=e[o],t[r]=t[o],t.length=o,e.length=o,0))}))}})};p.prototype=Object.create(Object.prototype,{get:{value:function(t,e){return this.get___(t,e)},writable:!0,configurable:!0},has:{value:function(t){return this.has___(t)},writable:!0,configurable:!0},set:{value:function(t,e){return this.set___(t,e)},writable:!0,configurable:!0},delete:{value:function(t){return this.delete___(t)},writable:!0,configurable:!0}}),"function"==typeof n?function(){function i(){this instanceof p||b();var t,i=new n,r=void 0,o=!1;return t=e?function(t,e){return i.set(t,e),i.has(t)||(r||(r=new p),r.set(t,e)),this}:function(t,e){if(o)try{i.set(t,e)}catch(n){r||(r=new p),r.set___(t,e)}else i.set(t,e);return this},Object.create(p.prototype,{get___:{value:y((function(t,e){return r?i.has(t)?i.get(t):r.get___(t,e):i.get(t,e)}))},has___:{value:y((function(t){return i.has(t)||!!r&&r.has___(t)}))},set___:{value:y(t)},delete___:{value:y((function(t){var e=!!i.delete(t);return r&&r.delete___(t)||e}))},permitHostObjects___:{value:y((function(t){if(t!==m)throw new Error("bogus call to permitHostObjects___");o=!0}))}})}e&&"undefined"!=typeof Proxy&&(Proxy=void 0),i.prototype=p.prototype,t.exports=i,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():("undefined"!=typeof Proxy&&(Proxy=void 0),t.exports=p)}function m(t){t.permitHostObjects___&&t.permitHostObjects___(m)}function v(t){return!(t.substr(0,8)==l&&"___"===t.substr(t.length-3))}function g(t){if(t!==Object(t))throw new TypeError("Not an object: "+t);var e=t[u];if(e&&e.key===t)return e;if(s(t)){e={key:t};try{return a(t,u,{value:e,writable:!1,enumerable:!1,configurable:!1}),e}catch(t){return}}}function y(t){return t.prototype=null,Object.freeze(t)}function b(){f||"undefined"==typeof console||(f=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}}()},9222:function(t,e,n){var i=n(7178);t.exports=function(){var t={};return function(e){if(("object"!=typeof e||null===e)&&"function"!=typeof e)throw new Error("Weakmap-shim: Key must be object");var n=e.valueOf(t);return n&&n.identity===t?n:i(e,t)}}},7178:function(t){t.exports=function(t,e){var n={identity:e},i=t.valueOf;return Object.defineProperty(t,"valueOf",{value:function(t){return t!==e?i.apply(this,arguments):n},writable:!0}),n}},4037:function(t,e,n){var i=n(9222);t.exports=function(){var t=i();return{get:function(e,n){var i=t(e);return i.hasOwnProperty("value")?i.value:n},set:function(e,n){return t(e).value=n,this},has:function(e){return"value"in t(e)},delete:function(e){return delete t(e).value}}}},6183:function(t){"use strict";t.exports=function(t){var e={};return function(n,i,r){var o=n.dtype,a=n.order,s=[o,a.join()].join(),l=e[s];return l||(e[s]=l=t([o,a])),l(n.shape.slice(0),n.data,n.stride,0|n.offset,i,r)}}(function(){return function(t,e,n,i,r,o){var a=t[0],s=n[0],l=[0],u=s;i|=0;var c=0,h=s;for(c=0;c=0!=f>=0&&r.push(l[0]+.5+.5*(d+f)/(d-f)),i+=h,++l[0]}}}.bind(void 0,{funcName:"zeroCrossings"}))},9584:function(t,e,n){"use strict";t.exports=function(t,e){var n=[];return e=+e||0,i(t.hi(t.shape[0]-1),n,e),n};var i=n(6183)},6601:function(){}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={id:i,loaded:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},n(7386)}()},t.exports=i()},33576:function(t,e,n){"use strict";function i(t,e){for(var n=0;nh)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,f.prototype),e}function f(t,e,n){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return m(t)}return _(t,e,n)}function _(t,e,n){if("string"==typeof t)return function(t,e){if("string"==typeof e&&""!==e||(e="utf8"),!f.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var n=0|b(t,e),i=d(n),r=i.write(t,e);return r!==n&&(i=i.slice(0,r)),i}(t,e);if(ArrayBuffer.isView(t))return function(t){if(tt(t,Uint8Array)){var e=new Uint8Array(t);return g(e.buffer,e.byteOffset,e.byteLength)}return v(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+s(t));if(tt(t,ArrayBuffer)||t&&tt(t.buffer,ArrayBuffer))return g(t,e,n);if("undefined"!=typeof SharedArrayBuffer&&(tt(t,SharedArrayBuffer)||t&&tt(t.buffer,SharedArrayBuffer)))return g(t,e,n);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var i=t.valueOf&&t.valueOf();if(null!=i&&i!==t)return f.from(i,e,n);var r=function(t){if(f.isBuffer(t)){var e=0|y(t.length),n=d(e);return 0===n.length||t.copy(n,0,0,e),n}return void 0!==t.length?"number"!=typeof t.length||et(t.length)?d(0):v(t):"Buffer"===t.type&&Array.isArray(t.data)?v(t.data):void 0}(t);if(r)return r;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return f.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+s(t))}function p(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function m(t){return p(t),d(t<0?0:0|y(t))}function v(t){for(var e=t.length<0?0:0|y(t.length),n=d(e),i=0;i=h)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h.toString(16)+" bytes");return 0|t}function b(t,e){if(f.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||tt(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+s(t));var n=t.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Y(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(t).length;default:if(r)return i?-1:Y(t).length;e=(""+e).toLowerCase(),r=!0}}function w(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return $(this,e,n);case"utf8":case"utf-8":return I(this,e,n);case"ascii":return L(this,e,n);case"latin1":case"binary":return M(this,e,n);case"base64":return N(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function E(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function x(t,e,n,i,r){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),et(n=+n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof e&&(e=f.from(e,i)),f.isBuffer(e))return 0===e.length?-1:C(t,e,n,i,r);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):C(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function C(t,e,n,i,r){var o,a=1,s=t.length,l=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(r){var c=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var h=!0,d=0;dr&&(i=r):i=r;var o,a=e.length;for(i>a/2&&(i=a/2),o=0;o>8,r=n%256,o.push(r),o.push(i);return o}(e,t.length-n),t,n,i)}function N(t,e,n){return 0===e&&n===t.length?l.fromByteArray(t):l.fromByteArray(t.slice(e,n))}function I(t,e,n){n=Math.min(t.length,n);for(var i=[],r=e;r239?4:o>223?3:o>191?2:1;if(r+s<=n){var l=void 0,u=void 0,c=void 0,h=void 0;switch(s){case 1:o<128&&(a=o);break;case 2:128==(192&(l=t[r+1]))&&(h=(31&o)<<6|63&l)>127&&(a=h);break;case 3:l=t[r+1],u=t[r+2],128==(192&l)&&128==(192&u)&&(h=(15&o)<<12|(63&l)<<6|63&u)>2047&&(h<55296||h>57343)&&(a=h);break;case 4:l=t[r+1],u=t[r+2],c=t[r+3],128==(192&l)&&128==(192&u)&&128==(192&c)&&(h=(15&o)<<18|(63&l)<<12|(63&u)<<6|63&c)>65535&&h<1114112&&(a=h)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,i.push(a>>>10&1023|55296),a=56320|1023&a),i.push(a),r+=s}return function(t){var e=t.length;if(e<=O)return String.fromCharCode.apply(String,t);for(var n="",i=0;ii.length?(f.isBuffer(o)||(o=f.from(o)),o.copy(i,r)):Uint8Array.prototype.set.call(i,o,r);else{if(!f.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,r)}r+=o.length}return i},f.byteLength=b,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;en&&(t+=" ... "),""},c&&(f.prototype[c]=f.prototype.inspect),f.prototype.compare=function(t,e,n,i,r){if(tt(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),!f.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+s(t));if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(r>>>=0)-(i>>>=0),a=(n>>>=0)-(e>>>=0),l=Math.min(o,a),u=this.slice(i,r),c=t.slice(e,n),h=0;h>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return T(this,t,e,n);case"utf8":case"utf-8":return A(this,t,e,n);case"ascii":case"latin1":case"binary":return S(this,t,e,n);case"base64":return z(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function L(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;ri)&&(n=i);for(var r="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function U(t,e,n,i,r,o){if(!f.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function j(t,e,n,i,r){V(e,i,r,t,n,7);var o=Number(e&BigInt(4294967295));t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o;var a=Number(e>>BigInt(32)&BigInt(4294967295));return t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,n}function q(t,e,n,i,r){V(e,i,r,t,n,7);var o=Number(e&BigInt(4294967295));t[n+7]=o,o>>=8,t[n+6]=o,o>>=8,t[n+5]=o,o>>=8,t[n+4]=o;var a=Number(e>>BigInt(32)&BigInt(4294967295));return t[n+3]=a,a>>=8,t[n+2]=a,a>>=8,t[n+1]=a,a>>=8,t[n]=a,n+8}function D(t,e,n,i,r,o){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(t,e,n,i,r){return e=+e,n>>>=0,r||D(t,0,n,4),u.write(t,e,n,i,23,4),n+4}function F(t,e,n,i,r){return e=+e,n>>>=0,r||D(t,0,n,8),u.write(t,e,n,i,52,8),n+8}f.prototype.slice=function(t,e){var n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e>>=0,e>>>=0,n||P(t,e,this.length);for(var i=this[t],r=1,o=0;++o>>=0,e>>>=0,n||P(t,e,this.length);for(var i=this[t+--e],r=1;e>0&&(r*=256);)i+=this[t+--e]*r;return i},f.prototype.readUint8=f.prototype.readUInt8=function(t,e){return t>>>=0,e||P(t,1,this.length),this[t]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(t,e){return t>>>=0,e||P(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(t,e){return t>>>=0,e||P(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(t,e){return t>>>=0,e||P(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(t,e){return t>>>=0,e||P(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readBigUInt64LE=it((function(t){X(t>>>=0,"offset");var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||J(t,this.length-8);var i=e+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,24),r=this[++t]+this[++t]*Math.pow(2,8)+this[++t]*Math.pow(2,16)+n*Math.pow(2,24);return BigInt(i)+(BigInt(r)<>>=0,"offset");var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||J(t,this.length-8);var i=e*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t],r=this[++t]*Math.pow(2,24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+n;return(BigInt(i)<>>=0,e>>>=0,n||P(t,e,this.length);for(var i=this[t],r=1,o=0;++o=(r*=128)&&(i-=Math.pow(2,8*e)),i},f.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||P(t,e,this.length);for(var i=e,r=1,o=this[t+--i];i>0&&(r*=256);)o+=this[t+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*e)),o},f.prototype.readInt8=function(t,e){return t>>>=0,e||P(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,e){t>>>=0,e||P(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt16BE=function(t,e){t>>>=0,e||P(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},f.prototype.readInt32LE=function(t,e){return t>>>=0,e||P(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return t>>>=0,e||P(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readBigInt64LE=it((function(t){X(t>>>=0,"offset");var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||J(t,this.length-8);var i=this[t+4]+this[t+5]*Math.pow(2,8)+this[t+6]*Math.pow(2,16)+(n<<24);return(BigInt(i)<>>=0,"offset");var e=this[t],n=this[t+7];void 0!==e&&void 0!==n||J(t,this.length-8);var i=(e<<24)+this[++t]*Math.pow(2,16)+this[++t]*Math.pow(2,8)+this[++t];return(BigInt(i)<>>=0,e||P(t,4,this.length),u.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return t>>>=0,e||P(t,4,this.length),u.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return t>>>=0,e||P(t,8,this.length),u.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return t>>>=0,e||P(t,8,this.length),u.read(this,t,!1,52,8)},f.prototype.writeUintLE=f.prototype.writeUIntLE=function(t,e,n,i){t=+t,e>>>=0,n>>>=0,i||U(this,t,e,n,Math.pow(2,8*n)-1,0);var r=1,o=0;for(this[e]=255&t;++o>>=0,n>>>=0,i||U(this,t,e,n,Math.pow(2,8*n)-1,0);var r=n-1,o=1;for(this[e+r]=255&t;--r>=0&&(o*=256);)this[e+r]=t/o&255;return e+n},f.prototype.writeUint8=f.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,1,255,0),this[e]=255&t,e+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},f.prototype.writeBigUInt64LE=it((function(t){return j(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),f.prototype.writeBigUInt64BE=it((function(t){return q(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),f.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e>>>=0,!i){var r=Math.pow(2,8*n-1);U(this,t,e,n,r-1,-r)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+n},f.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e>>>=0,!i){var r=Math.pow(2,8*n-1);U(this,t,e,n,r-1,-r)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},f.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},f.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},f.prototype.writeBigInt64LE=it((function(t){return j(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),f.prototype.writeBigInt64BE=it((function(t){return q(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),f.prototype.writeFloatLE=function(t,e,n){return B(this,t,e,!0,n)},f.prototype.writeFloatBE=function(t,e,n){return B(this,t,e,!1,n)},f.prototype.writeDoubleLE=function(t,e,n){return F(this,t,e,!0,n)},f.prototype.writeDoubleBE=function(t,e,n){return F(this,t,e,!1,n)},f.prototype.copy=function(t,e,n,i){if(!f.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o=i+4;n-=3)e="_".concat(t.slice(n-3,n)).concat(e);return"".concat(t.slice(0,n)).concat(e)}function V(t,e,n,i,r,o){if(t>n||t3?0===e||e===BigInt(0)?">= 0".concat(s," and < 2").concat(s," ** ").concat(8*(o+1)).concat(s):">= -(2".concat(s," ** ").concat(8*(o+1)-1).concat(s,") and < 2 ** ")+"".concat(8*(o+1)-1).concat(s):">= ".concat(e).concat(s," and <= ").concat(n).concat(s),new W.ERR_OUT_OF_RANGE("value",a,t)}!function(t,e,n){X(e,"offset"),void 0!==t[e]&&void 0!==t[e+n]||J(e,t.length-(n+1))}(i,r,o)}function X(t,e){if("number"!=typeof t)throw new W.ERR_INVALID_ARG_TYPE(e,"number",t)}function J(t,e,n){if(Math.floor(t)!==t)throw X(t,n),new W.ERR_OUT_OF_RANGE(n||"offset","an integer",t);if(e<0)throw new W.ERR_BUFFER_OUT_OF_BOUNDS;throw new W.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(e),t)}G("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?"".concat(t," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),G("ERR_INVALID_ARG_TYPE",(function(t,e){return'The "'.concat(t,'" argument must be of type number. Received type ').concat(s(e))}),TypeError),G("ERR_OUT_OF_RANGE",(function(t,e,n){var i='The value of "'.concat(t,'" is out of range.'),r=n;return Number.isInteger(n)&&Math.abs(n)>Math.pow(2,32)?r=H(String(n)):"bigint"==typeof n&&(r=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(r=H(r)),r+="n"),i+" It must be ".concat(e,". Received ").concat(r)}),RangeError);var Z=/[^+/0-9A-Za-z-_]/g;function Y(t,e){var n;e=e||1/0;for(var i=t.length,r=null,o=[],a=0;a55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===i){(e-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function K(t){return l.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(Z,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Q(t,e,n,i){var r;for(r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function tt(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function et(t){return t!=t}var nt=function(){for(var t="0123456789abcdef",e=new Array(256),n=0;n<16;++n)for(var i=16*n,r=0;r<16;++r)e[i+r]=t[n]+t[r];return e}();function it(t){return"undefined"==typeof BigInt?rt:t}function rt(){throw new Error("BigInt not supported")}},25928:function(t){"use strict";t.exports=r,t.exports.isMobile=r,t.exports.default=r;var e=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,n=/CrOS/,i=/android|ipad|playbook|silk/i;function r(t){t||(t={});var r=t.ua;if(r||"undefined"==typeof navigator||(r=navigator.userAgent),r&&r.headers&&"string"==typeof r.headers["user-agent"]&&(r=r.headers["user-agent"]),"string"!=typeof r)return!1;var o=e.test(r)&&!n.test(r)||!!t.tablet&&i.test(r);return!o&&t.tablet&&t.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==r.indexOf("Macintosh")&&-1!==r.indexOf("Safari")&&(o=!0),o}},48932:function(t,e,n){"use strict";n.r(e),n.d(e,{sankeyCenter:function(){return d},sankeyCircular:function(){return N},sankeyJustify:function(){return h},sankeyLeft:function(){return u},sankeyRight:function(){return c}});var i=n(84706),r=n(34712),o=n(10132),a=n(6688),s=n.n(a);function l(t){return t.target.depth}function u(t){return t.depth}function c(t,e){return e-1-t.height}function h(t,e){return t.sourceLinks.length?t.depth:e-1}function d(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?(0,i.SY)(t.sourceLinks,l)-1:0}function f(t){return function(){return t}}var _="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};function p(t,e){return v(t.source,e.source)||t.index-e.index}function m(t,e){return v(t.target,e.target)||t.index-e.index}function v(t,e){return t.partOfCycle===e.partOfCycle?t.y0-e.y0:"top"===t.circularLinkType||"bottom"===e.circularLinkType?-1:1}function g(t){return t.value}function y(t){return(t.y0+t.y1)/2}function b(t){return y(t.source)}function w(t){return y(t.target)}function E(t){return t.index}function x(t){return t.nodes}function C(t){return t.links}function T(t,e){var n=t.get(e);if(!n)throw new Error("missing: "+e);return n}function A(t,e){return e(t)}var S=25,z=10,k=.3;function N(){var t,e,n=0,o=0,a=1,l=1,u=24,c=E,d=h,A=x,N=C,O=32,M=2,$=null;function P(){var h={nodes:A.apply(null,arguments),links:N.apply(null,arguments)};!function(t){t.nodes.forEach((function(t,e){t.index=e,t.sourceLinks=[],t.targetLinks=[]}));var e=(0,r.kH)(t.nodes,c);t.links.forEach((function(t,n){t.index=n;var i=t.source,r=t.target;"object"!==(void 0===i?"undefined":_(i))&&(i=t.source=T(e,i)),"object"!==(void 0===r?"undefined":_(r))&&(r=t.target=T(e,r)),i.sourceLinks.push(t),r.targetLinks.push(t)}))}(h),function(t,e,n){var i=0;if(null===n){for(var r=[],o=0;o0?e+S+z:e,bottom:n=n>0?n+S+z:n,left:o=o>0?o+S+z:o,right:r=r>0?r+S+z:r}}(s),_=function(t,e){var r=(0,i.kv)(t.nodes,(function(t){return t.column})),s=a-n,c=l-o,h=s/(s+e.right+e.left),d=c/(c+e.top+e.bottom);return n=n*h+e.left,a=0==e.right?a:a*h,o=o*d+e.top,l*=d,t.nodes.forEach((function(t){t.x0=n+t.column*((a-n-u)/r),t.x1=t.x0+u})),d}(s,f);h*=_,s.links.forEach((function(t){t.width=t.value*h})),d.forEach((function(t){var e=t.length;t.forEach((function(t,n){t.depth==d.length-1&&1==e||0==t.depth&&1==e?(t.y0=l/2-t.value*h,t.y1=t.y0+t.value*h):t.partOfCycle?0==L(t,r)?(t.y0=l/2+n,t.y1=t.y0+t.value*h):"top"==t.circularLinkType?(t.y0=o+n,t.y1=t.y0+t.value*h):(t.y0=l-t.value*h-n,t.y1=t.y0+t.value*h):0==f.top||0==f.bottom?(t.y0=(l-o)/e*n,t.y1=t.y0+t.value*h):(t.y0=(l-o)/2-e/2+n,t.y1=t.y0+t.value*h)}))}))})(h),m();for(var f=1,_=c;_>0;--_)p(f*=.99,h),m();function p(t,e){var n=d.length;d.forEach((function(r){var o=r.length,a=r[0].depth;r.forEach((function(r){var s;if(r.sourceLinks.length||r.targetLinks.length)if(r.partOfCycle&&L(r,e)>0);else if(0==a&&1==o)s=r.y1-r.y0,r.y0=l/2-s/2,r.y1=l/2+s/2;else if(a==n-1&&1==o)s=r.y1-r.y0,r.y0=l/2-s/2,r.y1=l/2+s/2;else{var u=(0,i.mo)(r.sourceLinks,w),c=(0,i.mo)(r.targetLinks,b),h=((u&&c?(u+c)/2:u||c)-y(r))*t;r.y0+=h,r.y1+=h}}))}))}function m(){d.forEach((function(e){var n,i,r,a=o,s=e.length;for(e.sort(v),r=0;r0&&(n.y0+=i,n.y1+=i),a=n.y1+t;if((i=a-t-l)>0)for(a=n.y0-=i,n.y1-=i,r=s-2;r>=0;--r)(i=(n=e[r]).y1+t-a)>0&&(n.y0-=i,n.y1-=i),a=n.y0}))}}(h,O,c),U(h);for(var f=0;f<4;f++)X(h,l,c),J(h,0,c),H(h,o,l,c),X(h,l,c),J(h,0,c);return function(t,e,n){var r=t.nodes,o=t.links,a=!1,s=!1;if(o.forEach((function(t){"top"==t.circularLinkType?a=!0:"bottom"==t.circularLinkType&&(s=!0)})),0==a||0==s){var l=(0,i.SY)(r,(function(t){return t.y0})),u=(n-e)/((0,i.kv)(r,(function(t){return t.y1}))-l);r.forEach((function(t){var e=(t.y1-t.y0)*u;t.y0=(t.y0-l)*u,t.y1=t.y0+e})),o.forEach((function(t){t.y0=(t.y0-l)*u,t.y1=(t.y1-l)*u,t.width=t.width*u}))}}(h,o,l),R(h,M,l,c),h}function U(t){t.nodes.forEach((function(t){t.sourceLinks.sort(m),t.targetLinks.sort(p)})),t.nodes.forEach((function(t){var e=t.y0,n=e,i=t.y1,r=i;t.sourceLinks.forEach((function(t){t.circular?(t.y0=i-t.width/2,i-=t.width):(t.y0=e+t.width/2,e+=t.width)})),t.targetLinks.forEach((function(t){t.circular?(t.y1=r-t.width/2,r-=t.width):(t.y1=n+t.width/2,n+=t.width)}))}))}return P.nodeId=function(t){return arguments.length?(c="function"==typeof t?t:f(t),P):c},P.nodeAlign=function(t){return arguments.length?(d="function"==typeof t?t:f(t),P):d},P.nodeWidth=function(t){return arguments.length?(u=+t,P):u},P.nodePadding=function(e){return arguments.length?(t=+e,P):t},P.nodes=function(t){return arguments.length?(A="function"==typeof t?t:f(t),P):A},P.links=function(t){return arguments.length?(N="function"==typeof t?t:f(t),P):N},P.size=function(t){return arguments.length?(n=o=0,a=+t[0],l=+t[1],P):[a-n,l-o]},P.extent=function(t){return arguments.length?(n=+t[0][0],a=+t[1][0],o=+t[0][1],l=+t[1][1],P):[[n,o],[a,l]]},P.iterations=function(t){return arguments.length?(O=+t,P):O},P.circularLinkGap=function(t){return arguments.length?(M=+t,P):M},P.nodePaddingRatio=function(t){return arguments.length?(e=+t,P):e},P.sortNodes=function(t){return arguments.length?($=t,P):$},P.update=function(t){return I(t,c),U(t),t.links.forEach((function(t){t.circular&&(t.circularLinkType=t.y0+t.y11||r>1)}function $(t,e,n){return t.sort(P),t.forEach((function(i,r){var o,a,s=0;if(K(i,n)&&M(i))i.circularPathData.verticalBuffer=s+i.width/2;else{for(var l=0;la.source.column)){var u=t[l].circularPathData.verticalBuffer+t[l].width/2+e;s=u>s?u:s}i.circularPathData.verticalBuffer=s+i.width/2}})),t}function R(t,e,n,r){var a=(0,i.SY)(t.links,(function(t){return t.source.y0}));t.links.forEach((function(t){t.circular&&(t.circularPathData={})})),$(t.links.filter((function(t){return"top"==t.circularLinkType})),e,r),$(t.links.filter((function(t){return"bottom"==t.circularLinkType})),e,r),t.links.forEach((function(i){if(i.circular){if(i.circularPathData.arcRadius=i.width+z,i.circularPathData.leftNodeBuffer=5,i.circularPathData.rightNodeBuffer=5,i.circularPathData.sourceWidth=i.source.x1-i.source.x0,i.circularPathData.sourceX=i.source.x0+i.circularPathData.sourceWidth,i.circularPathData.targetX=i.target.x0,i.circularPathData.sourceY=i.y0,i.circularPathData.targetY=i.y1,K(i,r)&&M(i))i.circularPathData.leftSmallArcRadius=z+i.width/2,i.circularPathData.leftLargeArcRadius=z+i.width/2,i.circularPathData.rightSmallArcRadius=z+i.width/2,i.circularPathData.rightLargeArcRadius=z+i.width/2,"bottom"==i.circularLinkType?(i.circularPathData.verticalFullExtent=i.source.y1+S+i.circularPathData.verticalBuffer,i.circularPathData.verticalLeftInnerExtent=i.circularPathData.verticalFullExtent-i.circularPathData.leftLargeArcRadius,i.circularPathData.verticalRightInnerExtent=i.circularPathData.verticalFullExtent-i.circularPathData.rightLargeArcRadius):(i.circularPathData.verticalFullExtent=i.source.y0-S-i.circularPathData.verticalBuffer,i.circularPathData.verticalLeftInnerExtent=i.circularPathData.verticalFullExtent+i.circularPathData.leftLargeArcRadius,i.circularPathData.verticalRightInnerExtent=i.circularPathData.verticalFullExtent+i.circularPathData.rightLargeArcRadius);else{var s=i.source.column,l=i.circularLinkType,u=t.links.filter((function(t){return t.source.column==s&&t.circularLinkType==l}));"bottom"==i.circularLinkType?u.sort(j):u.sort(U);var c=0;u.forEach((function(t,n){t.circularLinkID==i.circularLinkID&&(i.circularPathData.leftSmallArcRadius=z+i.width/2+c,i.circularPathData.leftLargeArcRadius=z+i.width/2+n*e+c),c+=t.width})),s=i.target.column,u=t.links.filter((function(t){return t.target.column==s&&t.circularLinkType==l})),"bottom"==i.circularLinkType?u.sort(D):u.sort(q),c=0,u.forEach((function(t,n){t.circularLinkID==i.circularLinkID&&(i.circularPathData.rightSmallArcRadius=z+i.width/2+c,i.circularPathData.rightLargeArcRadius=z+i.width/2+n*e+c),c+=t.width})),"bottom"==i.circularLinkType?(i.circularPathData.verticalFullExtent=Math.max(n,i.source.y1,i.target.y1)+S+i.circularPathData.verticalBuffer,i.circularPathData.verticalLeftInnerExtent=i.circularPathData.verticalFullExtent-i.circularPathData.leftLargeArcRadius,i.circularPathData.verticalRightInnerExtent=i.circularPathData.verticalFullExtent-i.circularPathData.rightLargeArcRadius):(i.circularPathData.verticalFullExtent=a-S-i.circularPathData.verticalBuffer,i.circularPathData.verticalLeftInnerExtent=i.circularPathData.verticalFullExtent+i.circularPathData.leftLargeArcRadius,i.circularPathData.verticalRightInnerExtent=i.circularPathData.verticalFullExtent+i.circularPathData.rightLargeArcRadius)}i.circularPathData.leftInnerExtent=i.circularPathData.sourceX+i.circularPathData.leftNodeBuffer,i.circularPathData.rightInnerExtent=i.circularPathData.targetX-i.circularPathData.rightNodeBuffer,i.circularPathData.leftFullExtent=i.circularPathData.sourceX+i.circularPathData.leftLargeArcRadius+i.circularPathData.leftNodeBuffer,i.circularPathData.rightFullExtent=i.circularPathData.targetX-i.circularPathData.rightLargeArcRadius-i.circularPathData.rightNodeBuffer}if(i.circular)i.path=function(t){return"top"==t.circularLinkType?"M"+t.circularPathData.sourceX+" "+t.circularPathData.sourceY+" L"+t.circularPathData.leftInnerExtent+" "+t.circularPathData.sourceY+" A"+t.circularPathData.leftLargeArcRadius+" "+t.circularPathData.leftSmallArcRadius+" 0 0 0 "+t.circularPathData.leftFullExtent+" "+(t.circularPathData.sourceY-t.circularPathData.leftSmallArcRadius)+" L"+t.circularPathData.leftFullExtent+" "+t.circularPathData.verticalLeftInnerExtent+" A"+t.circularPathData.leftLargeArcRadius+" "+t.circularPathData.leftLargeArcRadius+" 0 0 0 "+t.circularPathData.leftInnerExtent+" "+t.circularPathData.verticalFullExtent+" L"+t.circularPathData.rightInnerExtent+" "+t.circularPathData.verticalFullExtent+" A"+t.circularPathData.rightLargeArcRadius+" "+t.circularPathData.rightLargeArcRadius+" 0 0 0 "+t.circularPathData.rightFullExtent+" "+t.circularPathData.verticalRightInnerExtent+" L"+t.circularPathData.rightFullExtent+" "+(t.circularPathData.targetY-t.circularPathData.rightSmallArcRadius)+" A"+t.circularPathData.rightLargeArcRadius+" "+t.circularPathData.rightSmallArcRadius+" 0 0 0 "+t.circularPathData.rightInnerExtent+" "+t.circularPathData.targetY+" L"+t.circularPathData.targetX+" "+t.circularPathData.targetY:"M"+t.circularPathData.sourceX+" "+t.circularPathData.sourceY+" L"+t.circularPathData.leftInnerExtent+" "+t.circularPathData.sourceY+" A"+t.circularPathData.leftLargeArcRadius+" "+t.circularPathData.leftSmallArcRadius+" 0 0 1 "+t.circularPathData.leftFullExtent+" "+(t.circularPathData.sourceY+t.circularPathData.leftSmallArcRadius)+" L"+t.circularPathData.leftFullExtent+" "+t.circularPathData.verticalLeftInnerExtent+" A"+t.circularPathData.leftLargeArcRadius+" "+t.circularPathData.leftLargeArcRadius+" 0 0 1 "+t.circularPathData.leftInnerExtent+" "+t.circularPathData.verticalFullExtent+" L"+t.circularPathData.rightInnerExtent+" "+t.circularPathData.verticalFullExtent+" A"+t.circularPathData.rightLargeArcRadius+" "+t.circularPathData.rightLargeArcRadius+" 0 0 1 "+t.circularPathData.rightFullExtent+" "+t.circularPathData.verticalRightInnerExtent+" L"+t.circularPathData.rightFullExtent+" "+(t.circularPathData.targetY+t.circularPathData.rightSmallArcRadius)+" A"+t.circularPathData.rightLargeArcRadius+" "+t.circularPathData.rightSmallArcRadius+" 0 0 1 "+t.circularPathData.rightInnerExtent+" "+t.circularPathData.targetY+" L"+t.circularPathData.targetX+" "+t.circularPathData.targetY}(i);else{var h=(0,o.ak)().source((function(t){return[t.source.x0+(t.source.x1-t.source.x0),t.y0]})).target((function(t){return[t.target.x0,t.y1]}));i.path=h(i)}}))}function P(t,e){return B(t)==B(e)?"bottom"==t.circularLinkType?j(t,e):U(t,e):B(e)-B(t)}function U(t,e){return t.y0-e.y0}function j(t,e){return e.y0-t.y0}function q(t,e){return t.y1-e.y1}function D(t,e){return e.y1-t.y1}function B(t){return t.target.column-t.source.column}function F(t){return t.target.x0-t.source.x1}function W(t,e){var n=O(t),i=F(e)/Math.tan(n);return"up"==Y(t)?t.y1+i:t.y1-i}function G(t,e){var n=O(t),i=F(e)/Math.tan(n);return"up"==Y(t)?t.y1-i:t.y1+i}function H(t,e,n,i){t.links.forEach((function(r){if(!r.circular&&r.target.column-r.source.column>1){var o=r.source.column+1,a=r.target.column-1,s=1,l=a-o+1;for(s=1;o<=a;o++,s++)t.nodes.forEach((function(a){if(a.column==o){var u,c=s/(l+1),h=Math.pow(1-c,3),d=3*c*Math.pow(1-c,2),f=3*Math.pow(c,2)*(1-c),_=Math.pow(c,3),p=h*r.y0+d*r.y0+f*r.y1+_*r.y1,m=p-r.width/2,v=p+r.width/2;m>a.y0&&mo.y0&&r.y0o.y0&&r.y1o.y1)&&V(t,u,e,n)}))):(v>a.y0&&va.y1)&&(u=v-a.y0+10,a=V(a,u,e,n),t.nodes.forEach((function(t){A(t,i)!=A(a,i)&&t.column==a.column&&t.y0a.y1&&V(t,u,e,n)})))}}))}}))}function V(t,e,n,i){return t.y0+e>=n&&t.y1+e<=i&&(t.y0=t.y0+e,t.y1=t.y1+e,t.targetLinks.forEach((function(t){t.y1=t.y1+e})),t.sourceLinks.forEach((function(t){t.y0=t.y0+e}))),t}function X(t,e,n,i){t.nodes.forEach((function(r){i&&r.y+(r.y1-r.y0)>e&&(r.y=r.y-(r.y+(r.y1-r.y0)-e));var o=t.links.filter((function(t){return A(t.source,n)==A(r,n)})),a=o.length;a>1&&o.sort((function(t,e){if(!t.circular&&!e.circular){if(t.target.column==e.target.column)return t.y1-e.y1;if(!Z(t,e))return t.y1-e.y1;if(t.target.column>e.target.column){var n=G(e,t);return t.y1-n}if(e.target.column>t.target.column)return G(t,e)-e.y1}return t.circular&&!e.circular?"top"==t.circularLinkType?-1:1:e.circular&&!t.circular?"top"==e.circularLinkType?1:-1:t.circular&&e.circular?t.circularLinkType===e.circularLinkType&&"top"==t.circularLinkType?t.target.column===e.target.column?t.target.y1-e.target.y1:e.target.column-t.target.column:t.circularLinkType===e.circularLinkType&&"bottom"==t.circularLinkType?t.target.column===e.target.column?e.target.y1-t.target.y1:t.target.column-e.target.column:"top"==t.circularLinkType?-1:1:void 0}));var s=r.y0;o.forEach((function(t){t.y0=s+t.width/2,s+=t.width})),o.forEach((function(t,e){if("bottom"==t.circularLinkType){for(var n=e+1,i=0;n1&&i.sort((function(t,e){if(!t.circular&&!e.circular){if(t.source.column==e.source.column)return t.y0-e.y0;if(!Z(t,e))return t.y0-e.y0;if(e.source.column0?"up":"down"}function K(t,e){return A(t.source,e)==A(t.target,e)}},26800:function(t,e,n){"use strict";n.r(e),n.d(e,{sankey:function(){return E},sankeyCenter:function(){return u},sankeyJustify:function(){return l},sankeyLeft:function(){return a},sankeyLinkHorizontal:function(){return A},sankeyRight:function(){return s}});var i=n(84706),r=n(34712);function o(t){return t.target.depth}function a(t){return t.depth}function s(t,e){return e-1-t.height}function l(t,e){return t.sourceLinks.length?t.depth:e-1}function u(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?(0,i.SY)(t.sourceLinks,o)-1:0}function c(t){return function(){return t}}function h(t,e){return f(t.source,e.source)||t.index-e.index}function d(t,e){return f(t.target,e.target)||t.index-e.index}function f(t,e){return t.y0-e.y0}function _(t){return t.value}function p(t){return(t.y0+t.y1)/2}function m(t){return p(t.source)*t.value}function v(t){return p(t.target)*t.value}function g(t){return t.index}function y(t){return t.nodes}function b(t){return t.links}function w(t,e){var n=t.get(e);if(!n)throw new Error("missing: "+e);return n}function E(){var t=0,e=0,n=1,o=1,a=24,s=8,u=g,E=l,x=y,C=b,T=32;function A(){var l={nodes:x.apply(null,arguments),links:C.apply(null,arguments)};return function(t){t.nodes.forEach((function(t,e){t.index=e,t.sourceLinks=[],t.targetLinks=[]}));var e=(0,r.kH)(t.nodes,u);t.links.forEach((function(t,n){t.index=n;var i=t.source,r=t.target;"object"!=typeof i&&(i=t.source=w(e,i)),"object"!=typeof r&&(r=t.target=w(e,r)),i.sourceLinks.push(t),r.targetLinks.push(t)}))}(l),function(t){t.nodes.forEach((function(t){t.value=Math.max((0,i.oh)(t.sourceLinks,_),(0,i.oh)(t.targetLinks,_))}))}(l),function(e){var i,r,o;for(i=e.nodes,r=[],o=0;i.length;++o,i=r,r=[])i.forEach((function(t){t.depth=o,t.sourceLinks.forEach((function(t){r.indexOf(t.target)<0&&r.push(t.target)}))}));for(i=e.nodes,r=[],o=0;i.length;++o,i=r,r=[])i.forEach((function(t){t.height=o,t.targetLinks.forEach((function(t){r.indexOf(t.source)<0&&r.push(t.source)}))}));var s=(n-t-a)/(o-1);e.nodes.forEach((function(e){e.x1=(e.x0=t+Math.max(0,Math.min(o-1,Math.floor(E.call(null,e,o))))*s)+a}))}(l),function(t){var n=(0,r.UJ)().key((function(t){return t.x0})).sortKeys(i.XE).entries(t.nodes).map((function(t){return t.values}));(function(){var r=(0,i.kv)(n,(function(t){return t.length})),a=.6666666666666666*(o-e)/(r-1);s>a&&(s=a);var l=(0,i.SY)(n,(function(t){return(o-e-(t.length-1)*s)/(0,i.oh)(t,_)}));n.forEach((function(t){t.forEach((function(t,e){t.y1=(t.y0=e)+t.value*l}))})),t.links.forEach((function(t){t.width=t.value*l}))})(),h();for(var a=1,l=T;l>0;--l)c(a*=.99),h(),u(a),h();function u(t){n.forEach((function(e){e.forEach((function(e){if(e.targetLinks.length){var n=((0,i.oh)(e.targetLinks,m)/(0,i.oh)(e.targetLinks,_)-p(e))*t;e.y0+=n,e.y1+=n}}))}))}function c(t){n.slice().reverse().forEach((function(e){e.forEach((function(e){if(e.sourceLinks.length){var n=((0,i.oh)(e.sourceLinks,v)/(0,i.oh)(e.sourceLinks,_)-p(e))*t;e.y0+=n,e.y1+=n}}))}))}function h(){n.forEach((function(t){var n,i,r,a=e,l=t.length;for(t.sort(f),r=0;r0&&(n.y0+=i,n.y1+=i),a=n.y1+s;if((i=a-s-o)>0)for(a=n.y0-=i,n.y1-=i,r=l-2;r>=0;--r)(i=(n=t[r]).y1+s-a)>0&&(n.y0-=i,n.y1-=i),a=n.y0}))}}(l),S(l),l}function S(t){t.nodes.forEach((function(t){t.sourceLinks.sort(d),t.targetLinks.sort(h)})),t.nodes.forEach((function(t){var e=t.y0,n=e;t.sourceLinks.forEach((function(t){t.y0=e+t.width/2,e+=t.width})),t.targetLinks.forEach((function(t){t.y1=n+t.width/2,n+=t.width}))}))}return A.update=function(t){return S(t),t},A.nodeId=function(t){return arguments.length?(u="function"==typeof t?t:c(t),A):u},A.nodeAlign=function(t){return arguments.length?(E="function"==typeof t?t:c(t),A):E},A.nodeWidth=function(t){return arguments.length?(a=+t,A):a},A.nodePadding=function(t){return arguments.length?(s=+t,A):s},A.nodes=function(t){return arguments.length?(x="function"==typeof t?t:c(t),A):x},A.links=function(t){return arguments.length?(C="function"==typeof t?t:c(t),A):C},A.size=function(i){return arguments.length?(t=e=0,n=+i[0],o=+i[1],A):[n-t,o-e]},A.extent=function(i){return arguments.length?(t=+i[0][0],n=+i[1][0],e=+i[0][1],o=+i[1][1],A):[[t,e],[n,o]]},A.iterations=function(t){return arguments.length?(T=+t,A):T},A}var x=n(10132);function C(t){return[t.source.x1,t.y0]}function T(t){return[t.target.x0,t.y1]}function A(){return(0,x.ak)().source(C).target(T)}},33428:function(t,e,n){var i,r;(function(){var o={version:"3.8.0"},a=[].slice,s=function(t){return a.call(t)},l=self.document;function u(t){return t&&(t.ownerDocument||t.document||t).documentElement}function c(t){return t&&(t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView)}if(l)try{s(l.documentElement.childNodes)[0].nodeType}catch(t){s=function(t){for(var e=t.length,n=new Array(e);e--;)n[e]=t[e];return n}}if(Date.now||(Date.now=function(){return+new Date}),l)try{l.createElement("DIV").style.setProperty("opacity",0,"")}catch(t){var h=this.Element.prototype,d=h.setAttribute,f=h.setAttributeNS,_=this.CSSStyleDeclaration.prototype,p=_.setProperty;h.setAttribute=function(t,e){d.call(this,t,e+"")},h.setAttributeNS=function(t,e,n){f.call(this,t,e,n+"")},_.setProperty=function(t,e,n){p.call(this,t,e+"",n)}}function m(t,e){return te?1:t>=e?0:NaN}function v(t){return null===t?NaN:+t}function g(t){return!isNaN(t)}function y(t){return{left:function(e,n,i,r){for(arguments.length<3&&(i=0),arguments.length<4&&(r=e.length);i>>1;t(e[o],n)<0?i=o+1:r=o}return i},right:function(e,n,i,r){for(arguments.length<3&&(i=0),arguments.length<4&&(r=e.length);i>>1;t(e[o],n)>0?r=o:i=o+1}return i}}}o.ascending=m,o.descending=function(t,e){return et?1:e>=t?0:NaN},o.min=function(t,e){var n,i,r=-1,o=t.length;if(1===arguments.length){for(;++r=i){n=i;break}for(;++ri&&(n=i)}else{for(;++r=i){n=i;break}for(;++ri&&(n=i)}return n},o.max=function(t,e){var n,i,r=-1,o=t.length;if(1===arguments.length){for(;++r=i){n=i;break}for(;++rn&&(n=i)}else{for(;++r=i){n=i;break}for(;++rn&&(n=i)}return n},o.extent=function(t,e){var n,i,r,o=-1,a=t.length;if(1===arguments.length){for(;++o=i){n=r=i;break}for(;++oi&&(n=i),r=i){n=r=i;break}for(;++oi&&(n=i),r1)return a/(l-1)},o.deviation=function(){var t=o.variance.apply(this,arguments);return t?Math.sqrt(t):t};var b=y(m);function w(t){return t.length}o.bisectLeft=b.left,o.bisect=o.bisectRight=b.right,o.bisector=function(t){return y(1===t.length?function(e,n){return m(t(e),n)}:t)},o.shuffle=function(t,e,n){(o=arguments.length)<3&&(n=t.length,o<2&&(e=0));for(var i,r,o=n-e;o;)r=Math.random()*o--|0,i=t[o+e],t[o+e]=t[r+e],t[r+e]=i;return t},o.permute=function(t,e){for(var n=e.length,i=new Array(n);n--;)i[n]=t[e[n]];return i},o.pairs=function(t){for(var e=0,n=t.length-1,i=t[0],r=new Array(n<0?0:n);e=0;)for(e=(i=t[r]).length;--e>=0;)n[--a]=i[e];return n};var E=Math.abs;function x(t,e){for(var n in e)Object.defineProperty(t.prototype,n,{value:e[n],enumerable:!1})}function C(){this._=Object.create(null)}o.range=function(t,e,n){if(arguments.length<3&&(n=1,arguments.length<2&&(e=t,t=0)),(e-t)/n==1/0)throw new Error("infinite range");var i,r=[],o=function(t){for(var e=1;t*e%1;)e*=10;return e}(E(n)),a=-1;if(t*=o,e*=o,(n*=o)<0)for(;(i=t+n*++a)>e;)r.push(i/o);else for(;(i=t+n*++a)=i.length)return e?e.call(n,o):t?o.sort(t):o;for(var l,u,c,h,d=-1,f=o.length,_=i[s++],p=new C;++d=i.length)return t;var n=[],o=r[e++];return t.forEach((function(t,i){n.push({key:t,values:s(i,e)})})),o?n.sort((function(t,e){return o(t.key,e.key)})):n}return n.map=function(t,e){return a(e,t,0)},n.entries=function(t){return s(a(o.map,t,0),0)},n.key=function(t){return i.push(t),n},n.sortKeys=function(t){return r[i.length-1]=t,n},n.sortValues=function(e){return t=e,n},n.rollup=function(t){return e=t,n},n},o.set=function(t){var e=new M;if(t)for(var n=0,i=t.length;n=0&&(i=t.slice(n+1),t=t.slice(0,n)),t)return arguments.length<2?this[t].on(i):this[t].on(i,e);if(2===arguments.length){if(null==e)for(t in this)this.hasOwnProperty(t)&&this[t].on(i,null);return this}},o.event=null,o.requote=function(t){return t.replace(G,"\\$&")};var G=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,H={}.__proto__?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)t[n]=e[n]};function V(t){return H(t,Y),t}var X=function(t,e){return e.querySelector(t)},J=function(t,e){return e.querySelectorAll(t)},Z=function(t,e){var n=t.matches||t[P(t,"matchesSelector")];return Z=function(t,e){return n.call(t,e)},Z(t,e)};"function"==typeof Sizzle&&(X=function(t,e){return Sizzle(t,e)[0]||null},J=Sizzle,Z=Sizzle.matchesSelector),o.selection=function(){return o.select(l.documentElement)};var Y=o.selection.prototype=[];function K(t){return"function"==typeof t?t:function(){return X(t,this)}}function Q(t){return"function"==typeof t?t:function(){return J(t,this)}}Y.select=function(t){var e,n,i,r,o=[];t=K(t);for(var a=-1,s=this.length;++a=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),et.hasOwnProperty(n)?{space:et[n],local:t}:t}},Y.attr=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node();return(t=o.ns.qualify(t)).local?n.getAttributeNS(t.space,t.local):n.getAttribute(t)}for(e in t)this.each(nt(e,t[e]));return this}return this.each(nt(t,e))},Y.classed=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node(),i=(t=ot(t)).length,r=-1;if(e=n.classList){for(;++r=0;)(n=i[r])&&(o&&o!==n.nextSibling&&o.parentNode.insertBefore(n,o),o=n);return this},Y.sort=function(t){t=_t.apply(this,arguments);for(var e=-1,n=this.length;++e0&&(t=t.slice(0,r));var l=yt.get(t);function u(){var e=this[i];e&&(this.removeEventListener(t,e,e.$),delete this[i])}return l&&(t=l,a=wt),r?e?function(){var r=a(e,s(arguments));u.call(this),this.addEventListener(t,this[i]=r,r.$=n),r._=e}:u:e?j:function(){var e,n=new RegExp("^__on([^.]+)"+o.requote(t)+"$");for(var i in this)if(e=i.match(n)){var r=this[i];this.removeEventListener(e[1],r,r.$),delete this[i]}}}o.selection.enter=mt,o.selection.enter.prototype=vt,vt.append=Y.append,vt.empty=Y.empty,vt.node=Y.node,vt.call=Y.call,vt.size=Y.size,vt.select=function(t){for(var e,n,i,r,o,a=[],s=-1,l=this.length;++s=i&&(i=e+1);!(a=s[i])&&++i1?Lt:t<-1?-Lt:Math.asin(t)}function Pt(t){return((t=Math.exp(t))+1/t)/2}var Ut=Math.SQRT2;o.interpolateZoom=function(t,e){var n,i,r=t[0],o=t[1],a=t[2],s=e[0],l=e[1],u=e[2],c=s-r,h=l-o,d=c*c+h*h;if(d0&&(t=t.transition().duration(p)),t.call(E.event)}function S(){s&&s.domain(a.range().map((function(t){return(t-d.x)/d.k})).map(a.invert)),h&&h.domain(u.range().map((function(t){return(t-d.y)/d.k})).map(u.invert))}function z(t){m++||t({type:"zoomstart"})}function k(t){S(),t({type:"zoom",scale:d.k,translate:[d.x,d.y]})}function N(t){--m||(t({type:"zoomend"}),e=null)}function I(){var t=this,e=w.of(t,arguments),n=0,i=o.select(c(t)).on(g,(function(){n=1,T(o.mouse(t),r),k(e)})).on(y,(function(){i.on(g,null).on(y,null),a(n),N(e)})),r=x(o.mouse(t)),a=Ct(t);Zr.call(t),z(e)}function O(){var t,e=this,n=w.of(e,arguments),i={},a=0,s=".zoom-"+o.event.changedTouches[0].identifier,l="touchmove"+s,u="touchend"+s,c=[],h=o.select(e),f=Ct(e);function _(){var n=o.touches(e);return t=d.k,n.forEach((function(t){t.identifier in i&&(i[t.identifier]=x(t))})),n}function p(){var t=o.event.target;o.select(t).on(l,m).on(u,g),c.push(t);for(var n=o.event.changedTouches,s=0,h=n.length;s1){v=f[0];var y=f[1],b=v[0]-y[0],w=v[1]-y[1];a=b*b+w*w}}function m(){var s,l,u,c,h=o.touches(e);Zr.call(e);for(var d=0,f=h.length;d360?t-=360:t<0&&(t+=360),t<60?i+(r-i)*t/60:t<180?r:t<240?i+(r-i)*(240-t)/60:i}(t))}return t=isNaN(t)?0:(t%=360)<0?t+360:t,e=isNaN(e)||e<0?0:e>1?1:e,i=2*(n=n<0?0:n>1?1:n)-(r=n<=.5?n*(1+e):n+e-n*e),new oe(o(t+120),o(t),o(t-120))}function Ht(t,e,n){return this instanceof Ht?(this.h=+t,this.c=+e,void(this.l=+n)):arguments.length<2?t instanceof Ht?new Ht(t.h,t.c,t.l):function(t,e,n){return t>0?new Ht(Math.atan2(n,e)*$t,Math.sqrt(e*e+n*n),t):new Ht(NaN,NaN,t)}(t instanceof Jt?t.l:(t=de((t=o.rgb(t)).r,t.g,t.b)).l,t.a,t.b):new Ht(t,e,n)}Wt.brighter=function(t){return t=Math.pow(.7,arguments.length?t:1),new Ft(this.h,this.s,this.l/t)},Wt.darker=function(t){return t=Math.pow(.7,arguments.length?t:1),new Ft(this.h,this.s,t*this.l)},Wt.rgb=function(){return Gt(this.h,this.s,this.l)},o.hcl=Ht;var Vt=Ht.prototype=new Bt;function Xt(t,e,n){return isNaN(t)&&(t=0),isNaN(e)&&(e=0),new Jt(n,Math.cos(t*=Mt)*e,Math.sin(t)*e)}function Jt(t,e,n){return this instanceof Jt?(this.l=+t,this.a=+e,void(this.b=+n)):arguments.length<2?t instanceof Jt?new Jt(t.l,t.a,t.b):t instanceof Ht?Xt(t.h,t.c,t.l):de((t=oe(t)).r,t.g,t.b):new Jt(t,e,n)}Vt.brighter=function(t){return new Ht(this.h,this.c,Math.min(100,this.l+Zt*(arguments.length?t:1)))},Vt.darker=function(t){return new Ht(this.h,this.c,Math.max(0,this.l-Zt*(arguments.length?t:1)))},Vt.rgb=function(){return Xt(this.h,this.c,this.l).rgb()},o.lab=Jt;var Zt=18,Yt=.95047,Kt=1,Qt=1.08883,te=Jt.prototype=new Bt;function ee(t,e,n){var i=(t+16)/116,r=i+e/500,o=i-n/200;return new oe(re(3.2404542*(r=ne(r)*Yt)-1.5371385*(i=ne(i)*Kt)-.4985314*(o=ne(o)*Qt)),re(-.969266*r+1.8760108*i+.041556*o),re(.0556434*r-.2040259*i+1.0572252*o))}function ne(t){return t>.206893034?t*t*t:(t-4/29)/7.787037}function ie(t){return t>.008856?Math.pow(t,1/3):7.787037*t+4/29}function re(t){return Math.round(255*(t<=.00304?12.92*t:1.055*Math.pow(t,1/2.4)-.055))}function oe(t,e,n){return this instanceof oe?(this.r=~~t,this.g=~~e,void(this.b=~~n)):arguments.length<2?t instanceof oe?new oe(t.r,t.g,t.b):ce(""+t,oe,Gt):new oe(t,e,n)}function ae(t){return new oe(t>>16,t>>8&255,255&t)}function se(t){return ae(t)+""}te.brighter=function(t){return new Jt(Math.min(100,this.l+Zt*(arguments.length?t:1)),this.a,this.b)},te.darker=function(t){return new Jt(Math.max(0,this.l-Zt*(arguments.length?t:1)),this.a,this.b)},te.rgb=function(){return ee(this.l,this.a,this.b)},o.rgb=oe;var le=oe.prototype=new Bt;function ue(t){return t<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function ce(t,e,n){var i,r,o,a=0,s=0,l=0;if(i=/([a-z]+)\((.*)\)/.exec(t=t.toLowerCase()))switch(r=i[2].split(","),i[1]){case"hsl":return n(parseFloat(r[0]),parseFloat(r[1])/100,parseFloat(r[2])/100);case"rgb":return e(_e(r[0]),_e(r[1]),_e(r[2]))}return(o=pe.get(t))?e(o.r,o.g,o.b):(null==t||"#"!==t.charAt(0)||isNaN(o=parseInt(t.slice(1),16))||(4===t.length?(a=(3840&o)>>4,a|=a>>4,s=240&o,s|=s>>4,l=15&o,l|=l<<4):7===t.length&&(a=(16711680&o)>>16,s=(65280&o)>>8,l=255&o)),e(a,s,l))}function he(t,e,n){var i,r,o=Math.min(t/=255,e/=255,n/=255),a=Math.max(t,e,n),s=a-o,l=(a+o)/2;return s?(r=l<.5?s/(a+o):s/(2-a-o),i=t==a?(e-n)/s+(e0&&l<1?0:i),new Ft(i,r,l)}function de(t,e,n){var i=ie((.4124564*(t=fe(t))+.3575761*(e=fe(e))+.1804375*(n=fe(n)))/Yt),r=ie((.2126729*t+.7151522*e+.072175*n)/Kt);return Jt(116*r-16,500*(i-r),200*(r-ie((.0193339*t+.119192*e+.9503041*n)/Qt)))}function fe(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function _e(t){var e=parseFloat(t);return"%"===t.charAt(t.length-1)?Math.round(2.55*e):e}le.brighter=function(t){t=Math.pow(.7,arguments.length?t:1);var e=this.r,n=this.g,i=this.b,r=30;return e||n||i?(e&&e=200&&e<300||304===e){try{t=n.call(r,u)}catch(t){return void a.error.call(r,t)}a.load.call(r,t)}else a.error.call(r,u)}return self.XDomainRequest&&!("withCredentials"in u)&&/^(http(s)?:)?\/\//.test(t)&&(u=new XDomainRequest),"onload"in u?u.onload=u.onerror=h:u.onreadystatechange=function(){u.readyState>3&&h()},u.onprogress=function(t){var e=o.event;o.event=t;try{a.progress.call(r,u)}finally{o.event=e}},r.header=function(t,e){return t=(t+"").toLowerCase(),arguments.length<2?l[t]:(null==e?delete l[t]:l[t]=e+"",r)},r.mimeType=function(t){return arguments.length?(e=null==t?null:t+"",r):e},r.responseType=function(t){return arguments.length?(c=t,r):c},r.response=function(t){return n=t,r},["get","post"].forEach((function(t){r[t]=function(){return r.send.apply(r,[t].concat(s(arguments)))}})),r.send=function(n,i,o){if(2===arguments.length&&"function"==typeof i&&(o=i,i=null),u.open(n,t,!0),null==e||"accept"in l||(l.accept=e+",*/*"),u.setRequestHeader)for(var s in l)u.setRequestHeader(s,l[s]);return null!=e&&u.overrideMimeType&&u.overrideMimeType(e),null!=c&&(u.responseType=c),null!=o&&r.on("error",o).on("load",(function(t){o(null,t)})),a.beforesend.call(r,u),u.send(null==i?null:i),r},r.abort=function(){return u.abort(),r},o.rebind(r,a,"on"),null==i?r:r.get(function(t){return 1===t.length?function(e,n){t(null==e?n:null)}:t}(i))}pe.forEach((function(t,e){pe.set(t,ae(e))})),o.functor=me,o.xhr=ve($),o.dsv=function(t,e){var n=new RegExp('["'+t+"\n]"),i=t.charCodeAt(0);function r(t,n,i){arguments.length<3&&(i=n,n=null);var r=ge(t,e,null==n?o:a(n),i);return r.row=function(t){return arguments.length?r.response(null==(n=t)?o:a(t)):n},r}function o(t){return r.parse(t.responseText)}function a(t){return function(e){return r.parse(e.responseText,t)}}function s(e){return e.map(l).join(t)}function l(t){return n.test(t)?'"'+t.replace(/\"/g,'""')+'"':t}return r.parse=function(t,e){var n;return r.parseRows(t,(function(t,i){if(n)return n(t,i-1);var r=function(e){for(var n={},i=t.length,r=0;r=l)return a;if(r)return r=!1,o;var e=u;if(34===t.charCodeAt(e)){for(var n=e;n++24?(isFinite(e)&&(clearTimeout(Ee),Ee=setTimeout(Te,e)),we=0):(we=1,xe(Te))}function Ae(){for(var t=Date.now(),e=ye;e;)t>=e.t&&e.c(t-e.t)&&(e.c=null),e=e.n;return t}function Se(){for(var t,e=ye,n=1/0;e;)e.c?(e.t1&&(e=t[o[a-2]],n=t[o[a-1]],i=t[s],(n[0]-e[0])*(i[1]-e[1])-(n[1]-e[1])*(i[0]-e[0])<=0);)--a;o[a++]=s}return o.slice(0,a)}function Ie(t,e){return t[0]-e[0]||t[1]-e[1]}o.timer=function(){Ce.apply(this,arguments)},o.timer.flush=function(){Ae(),Se()},o.round=function(t,e){return e?Math.round(t*(e=Math.pow(10,e)))/e:Math.round(t)},o.geom={},o.geom.hull=function(t){var e=ze,n=ke;if(arguments.length)return i(t);function i(t){if(t.length<3)return[];var i,r=me(e),o=me(n),a=t.length,s=[],l=[];for(i=0;i=0;--i)f.push(t[s[u[i]][2]]);for(i=+h;izt)s=s.L;else{if(!((r=o-Je(s,a))>zt)){i>-zt?(e=s.P,n=s):r>-zt?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}var l=We(t);if(Ue.insert(e,l),e||n){if(e===n)return tn(e),n=We(e.site),Ue.insert(l,n),l.edge=n.edge=rn(e.site,l.site),Qe(e),void Qe(n);if(n){tn(e),tn(n);var u=e.site,c=u.x,h=u.y,d=t.x-c,f=t.y-h,_=n.site,p=_.x-c,m=_.y-h,v=2*(d*m-f*p),g=d*d+f*f,y=p*p+m*m,b={x:(m*g-f*y)/v+c,y:(d*y-p*g)/v+h};on(n.edge,u,_,b),l.edge=rn(u,t,null,b),n.edge=rn(t,_,null,b),Qe(e),Qe(n)}else l.edge=rn(e.site,l.site)}}function Xe(t,e){var n=t.site,i=n.x,r=n.y,o=r-e;if(!o)return i;var a=t.P;if(!a)return-1/0;var s=(n=a.site).x,l=n.y,u=l-e;if(!u)return s;var c=s-i,h=1/o-1/u,d=c/u;return h?(-d+Math.sqrt(d*d-2*h*(c*c/(-2*u)-l+u/2+r-o/2)))/h+i:(i+s)/2}function Je(t,e){var n=t.N;if(n)return Xe(n,e);var i=t.site;return i.y===e?i.x:1/0}function Ze(t){this.site=t,this.edges=[]}function Ye(t,e){return e.angle-t.angle}function Ke(){ln(this),this.x=this.y=this.arc=this.site=this.cy=null}function Qe(t){var e=t.P,n=t.N;if(e&&n){var i=e.site,r=t.site,o=n.site;if(i!==o){var a=r.x,s=r.y,l=i.x-a,u=i.y-s,c=o.x-a,h=2*(l*(m=o.y-s)-u*c);if(!(h>=-kt)){var d=l*l+u*u,f=c*c+m*m,_=(m*d-u*f)/h,p=(l*f-c*d)/h,m=p+s,v=Be.pop()||new Ke;v.arc=t,v.site=r,v.x=_+a,v.y=m+Math.sqrt(_*_+p*p),v.cy=m,t.circle=v;for(var g=null,y=qe._;y;)if(v.y=s)return;if(d>_){if(o){if(o.y>=u)return}else o={x:m,y:l};n={x:m,y:u}}else{if(o){if(o.y1)if(d>_){if(o){if(o.y>=u)return}else o={x:(l-r)/i,y:l};n={x:(u-r)/i,y:u}}else{if(o){if(o.y=s)return}else o={x:a,y:i*a+r};n={x:s,y:i*s+r}}else{if(o){if(o.x0)){if(e/=d,d<0){if(e0){if(e>h)return;e>c&&(c=e)}if(e=r-l,d||!(e<0)){if(e/=d,d<0){if(e>h)return;e>c&&(c=e)}else if(d>0){if(e0)){if(e/=f,f<0){if(e0){if(e>h)return;e>c&&(c=e)}if(e=o-u,f||!(e<0)){if(e/=f,f<0){if(e>h)return;e>c&&(c=e)}else if(f>0){if(e0&&(t.a={x:l+c*d,y:u+c*f}),h<1&&(t.b={x:l+h*d,y:u+h*f}),t}}}}}),l=a.length;l--;)(!en(e=a[l],t)||!s(e)||E(e.a.x-e.b.x)zt||E(r-n)>zt)&&(s.splice(a,0,new an((v=o.site,g=c,y=E(i-h)zt?{x:h,y:E(e-h)zt?{x:E(n-_)zt?{x:d,y:E(e-d)zt?{x:E(n-f)=n&&u.x<=r&&u.y>=i&&u.y<=a?[[n,a],[r,a],[r,i],[n,i]]:[]).point=t[s]})),e}function s(t){return t.map((function(t,e){return{x:Math.round(i(t,e)/zt)*zt,y:Math.round(r(t,e)/zt)*zt,i:e}}))}return a.links=function(t){return dn(s(t)).edges.filter((function(t){return t.l&&t.r})).map((function(e){return{source:t[e.l.i],target:t[e.r.i]}}))},a.triangles=function(t){var e=[];return dn(s(t)).cells.forEach((function(n,i){for(var r,o,a,s,l=n.site,u=n.edges.sort(Ye),c=-1,h=u.length,d=u[h-1].edge,f=d.l===l?d.r:d.l;++co&&(r=e.slice(o,r),s[a]?s[a]+=r:s[++a]=r),(n=n[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,l.push({i:a,x:bn(n,i)})),o=xn.lastIndex;return op&&(p=l.x),l.y>m&&(m=l.y),u.push(l.x),c.push(l.y);else for(h=0;hp&&(p=y),b>m&&(m=b),u.push(y),c.push(b)}var w=p-f,x=m-_;function C(t,e,n,i,r,o,a,s){if(!isNaN(n)&&!isNaN(i))if(t.leaf){var l=t.x,u=t.y;if(null!=l)if(E(l-n)+E(u-i)<.01)T(t,e,n,i,r,o,a,s);else{var c=t.point;t.x=t.y=t.point=null,T(t,c,l,u,r,o,a,s),T(t,e,n,i,r,o,a,s)}else t.x=n,t.y=i,t.point=e}else T(t,e,n,i,r,o,a,s)}function T(t,e,n,i,r,o,a,s){var l=.5*(r+a),u=.5*(o+s),c=n>=l,h=i>=u,d=h<<1|c;t.leaf=!1,c?r=l:a=l,h?o=u:s=u,C(t=t.nodes[d]||(t.nodes[d]={leaf:!0,nodes:[],point:null,x:null,y:null}),e,n,i,r,o,a,s)}w>x?m=_+w:p=f+x;var A={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(t){C(A,t,+v(t,++h),+g(t,h),f,_,p,m)},visit:function(t){vn(t,A,f,_,p,m)},find:function(t){return function(t,e,n,i,r,o,a){var s,l=1/0;return function t(u,c,h,d,f){if(!(c>o||h>a||d=w)<<1|e>=b,x=E+4;E=0&&!(n=o.interpolators[i](t,e)););return n}function Tn(t,e){var n,i=[],r=[],o=t.length,a=e.length,s=Math.min(t.length,e.length);for(n=0;n=1)return 1;var e=t*t,n=e*t;return 4*(t<.5?n:3*(t-e)+n-.75)}function Mn(t){return 1-Math.cos(t*Lt)}function $n(t){return Math.pow(2,10*(t-1))}function Rn(t){return 1-Math.sqrt(1-t*t)}function Pn(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}function Un(t,e){return e-=t,function(n){return Math.round(t+e*n)}}function jn(t){var e,n,i,r=[t.a,t.b],o=[t.c,t.d],a=Dn(r),s=qn(r,o),l=Dn(((e=o)[0]+=(i=-s)*(n=r)[0],e[1]+=i*n[1],e))||0;r[0]*o[1]=0?t.slice(0,n):t,r=n>=0?t.slice(n+1):"in";return i=Sn.get(i)||An,r=zn.get(r)||$,e=r(i.apply(null,a.call(arguments,1))),function(t){return t<=0?0:t>=1?1:e(t)}},o.interpolateHcl=function(t,e){t=o.hcl(t),e=o.hcl(e);var n=t.h,i=t.c,r=t.l,a=e.h-n,s=e.c-i,l=e.l-r;return isNaN(s)&&(s=0,i=isNaN(i)?e.c:i),isNaN(a)?(a=0,n=isNaN(n)?e.h:n):a>180?a-=360:a<-180&&(a+=360),function(t){return Xt(n+a*t,i+s*t,r+l*t)+""}},o.interpolateHsl=function(t,e){t=o.hsl(t),e=o.hsl(e);var n=t.h,i=t.s,r=t.l,a=e.h-n,s=e.s-i,l=e.l-r;return isNaN(s)&&(s=0,i=isNaN(i)?e.s:i),isNaN(a)?(a=0,n=isNaN(n)?e.h:n):a>180?a-=360:a<-180&&(a+=360),function(t){return Gt(n+a*t,i+s*t,r+l*t)+""}},o.interpolateLab=function(t,e){t=o.lab(t),e=o.lab(e);var n=t.l,i=t.a,r=t.b,a=e.l-n,s=e.a-i,l=e.b-r;return function(t){return ee(n+a*t,i+s*t,r+l*t)+""}},o.interpolateRound=Un,o.transform=function(t){var e=l.createElementNS(o.ns.prefix.svg,"g");return(o.transform=function(t){if(null!=t){e.setAttribute("transform",t);var n=e.transform.baseVal.consolidate()}return new jn(n?n.matrix:Bn)})(t)},jn.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Bn={a:1,b:0,c:0,d:1,e:0,f:0};function Fn(t){return t.length?t.pop()+",":""}function Wn(t,e){var n=[],i=[];return t=o.transform(t),e=o.transform(e),function(t,e,n,i){if(t[0]!==e[0]||t[1]!==e[1]){var r=n.push("translate(",null,",",null,")");i.push({i:r-4,x:bn(t[0],e[0])},{i:r-2,x:bn(t[1],e[1])})}else(e[0]||e[1])&&n.push("translate("+e+")")}(t.translate,e.translate,n,i),function(t,e,n,i){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),i.push({i:n.push(Fn(n)+"rotate(",null,")")-2,x:bn(t,e)})):e&&n.push(Fn(n)+"rotate("+e+")")}(t.rotate,e.rotate,n,i),function(t,e,n,i){t!==e?i.push({i:n.push(Fn(n)+"skewX(",null,")")-2,x:bn(t,e)}):e&&n.push(Fn(n)+"skewX("+e+")")}(t.skew,e.skew,n,i),function(t,e,n,i){if(t[0]!==e[0]||t[1]!==e[1]){var r=n.push(Fn(n)+"scale(",null,",",null,")");i.push({i:r-4,x:bn(t[0],e[0])},{i:r-2,x:bn(t[1],e[1])})}else 1===e[0]&&1===e[1]||n.push(Fn(n)+"scale("+e+")")}(t.scale,e.scale,n,i),t=e=null,function(t){for(var e,r=-1,o=i.length;++r0?n=e:(t.c=null,t.t=NaN,t=null,l.end({type:"end",alpha:n=0})):e>0&&(l.start({type:"start",alpha:n=e}),t=Ce(s.tick)),s):n},s.start=function(){var t,e,n,o=v.length,l=g.length,c=u[0],_=u[1];for(t=0;t=0;)n.push(r[i])}function oi(t,e){for(var n=[t],i=[];null!=(t=n.pop());)if(i.push(t),(o=t.children)&&(r=o.length))for(var r,o,a=-1;++a=0;)a.push(c=u[l]),c.parent=o,c.depth=o.depth+1;n&&(o.value=0),o.children=u}else n&&(o.value=+n.call(i,o,o.depth)||0),delete o.children;return oi(r,(function(e){var i,r;t&&(i=e.children)&&i.sort(t),n&&(r=e.parent)&&(r.value+=e.value)})),s}return i.sort=function(e){return arguments.length?(t=e,i):t},i.children=function(t){return arguments.length?(e=t,i):e},i.value=function(t){return arguments.length?(n=t,i):n},i.revalue=function(t){return n&&(ri(t,(function(t){t.children&&(t.value=0)})),oi(t,(function(t){var e;t.children||(t.value=+n.call(i,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)}))),t},i},o.layout.partition=function(){var t=o.layout.hierarchy(),e=[1,1];function n(t,e,i,r){var o=t.children;if(t.x=e,t.y=t.depth*r,t.dx=i,t.dy=r,o&&(a=o.length)){var a,s,l,u=-1;for(i=t.value?i/t.value:0;++us&&(s=i),a.push(i)}for(n=0;nr&&(i=n,r=e);return i}function yi(t){return t.reduce(bi,0)}function bi(t,e){return t+e[1]}function wi(t,e){return Ei(t,Math.ceil(Math.log(e.length)/Math.LN2+1))}function Ei(t,e){for(var n=-1,i=+t[0],r=(t[1]-i)/e,o=[];++n<=e;)o[n]=r*n+i;return o}function xi(t){return[o.min(t),o.max(t)]}function Ci(t,e){return t.value-e.value}function Ti(t,e){var n=t._pack_next;t._pack_next=e,e._pack_prev=t,e._pack_next=n,n._pack_prev=e}function Ai(t,e){t._pack_next=e,e._pack_prev=t}function Si(t,e){var n=e.x-t.x,i=e.y-t.y,r=t.r+e.r;return.999*r*r>n*n+i*i}function zi(t){if((e=t.children)&&(l=e.length)){var e,n,i,r,o,a,s,l,u=1/0,c=-1/0,h=1/0,d=-1/0;if(e.forEach(ki),(n=e[0]).x=-n.r,n.y=0,y(n),l>1&&((i=e[1]).x=i.r,i.y=0,y(i),l>2))for(Oi(n,i,r=e[2]),y(r),Ti(n,r),n._pack_prev=r,Ti(r,i),i=n._pack_next,o=3;o0)for(a=-1;++a=h[0]&&l<=h[1]&&((s=u[o.bisect(d,l,1,_)-1]).y+=p,s.push(r[a]));return u}return r.value=function(t){return arguments.length?(e=t,r):e},r.range=function(t){return arguments.length?(n=me(t),r):n},r.bins=function(t){return arguments.length?(i="number"==typeof t?function(e){return Ei(e,t)}:me(t),r):i},r.frequency=function(e){return arguments.length?(t=!!e,r):t},r},o.layout.pack=function(){var t,e=o.layout.hierarchy().sort(Ci),n=0,i=[1,1];function r(r,o){var a=e.call(this,r,o),s=a[0],l=i[0],u=i[1],c=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(s.x=s.y=0,oi(s,(function(t){t.r=+c(t.value)})),oi(s,zi),n){var h=n*(t?1:Math.max(2*s.r/l,2*s.r/u))/2;oi(s,(function(t){t.r+=h})),oi(s,zi),oi(s,(function(t){t.r-=h}))}return Ii(s,l/2,u/2,t?1:1/Math.max(2*s.r/l,2*s.r/u)),a}return r.size=function(t){return arguments.length?(i=t,r):i},r.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,r):t},r.padding=function(t){return arguments.length?(n=+t,r):n},ii(r,e)},o.layout.tree=function(){var t=o.layout.hierarchy().sort(null).value(null),e=Li,n=[1,1],i=null;function r(r,o){var u=t.call(this,r,o),c=u[0],h=function(t){for(var e,n={A:null,children:[t]},i=[n];null!=(e=i.pop());)for(var r,o=e.children,a=0,s=o.length;af.x&&(f=t),t.depth>_.depth&&(_=t)}));var p=e(d,f)/2-d.x,m=n[0]/(f.x+e(f,d)/2+p),v=n[1]/(_.depth||1);ri(c,(function(t){t.x=(t.x+p)*m,t.y=t.depth*v}))}return u}function a(t){var n=t.children,i=t.parent.children,r=t.i?i[t.i-1]:null;if(n.length){!function(t){for(var e,n=0,i=0,r=t.children,o=r.length;--o>=0;)(e=r[o]).z+=n,e.m+=n,n+=e.s+(i+=e.c)}(t);var o=(n[0].z+n[n.length-1].z)/2;r?(t.z=r.z+e(t._,r._),t.m=t.z-o):t.z=o}else r&&(t.z=r.z+e(t._,r._));t.parent.A=function(t,n,i){if(n){for(var r,o=t,a=t,s=n,l=o.parent.children[0],u=o.m,c=a.m,h=s.m,d=l.m;s=$i(s),o=Mi(o),s&&o;)l=Mi(l),(a=$i(a)).a=t,(r=s.z+h-o.z-u+e(s._,o._))>0&&(Ri(Pi(s,t,i),t,r),u+=r,c+=r),h+=s.m,u+=o.m,d+=l.m,c+=a.m;s&&!$i(a)&&(a.t=s,a.m+=h-c),o&&!Mi(l)&&(l.t=o,l.m+=u-d,i=t)}return i}(t,r,t.parent.A||i[0])}function s(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function l(t){t.x*=n[0],t.y=t.depth*n[1]}return r.separation=function(t){return arguments.length?(e=t,r):e},r.size=function(t){return arguments.length?(i=null==(n=t)?l:null,r):i?null:n},r.nodeSize=function(t){return arguments.length?(i=null==(n=t)?null:l,r):i?n:null},ii(r,t)},o.layout.cluster=function(){var t=o.layout.hierarchy().sort(null).value(null),e=Li,n=[1,1],i=!1;function r(r,a){var s,l=t.call(this,r,a),u=l[0],c=0;oi(u,(function(t){var n=t.children;n&&n.length?(t.x=function(t){return t.reduce((function(t,e){return t+e.x}),0)/t.length}(n),t.y=function(t){return 1+o.max(t,(function(t){return t.y}))}(n)):(t.x=s?c+=e(t,s):0,t.y=0,s=t)}));var h=Ui(u),d=ji(u),f=h.x-e(h,d)/2,_=d.x+e(d,h)/2;return oi(u,i?function(t){t.x=(t.x-u.x)*n[0],t.y=(u.y-t.y)*n[1]}:function(t){t.x=(t.x-f)/(_-f)*n[0],t.y=(1-(u.y?t.y/u.y:1))*n[1]}),l}return r.separation=function(t){return arguments.length?(e=t,r):e},r.size=function(t){return arguments.length?(i=null==(n=t),r):i?null:n},r.nodeSize=function(t){return arguments.length?(i=null!=(n=t),r):i?n:null},ii(r,t)},o.layout.treemap=function(){var t,e=o.layout.hierarchy(),n=Math.round,i=[1,1],r=null,a=qi,s=!1,l="squarify",u=.5*(1+Math.sqrt(5));function c(t,e){for(var n,i,r=-1,o=t.length;++r0;)s.push(n=u[r-1]),s.area+=n.area,"squarify"!==l||(i=f(s,p))<=d?(u.pop(),d=i):(s.area-=s.pop().area,_(s,p,o,!1),p=Math.min(o.dx,o.dy),s.length=s.area=0,d=1/0);s.length&&(_(s,p,o,!0),s.length=s.area=0),e.forEach(h)}}function d(t){var e=t.children;if(e&&e.length){var n,i=a(t),r=e.slice(),o=[];for(c(r,i.dx*i.dy/t.value),o.area=0;n=r.pop();)o.push(n),o.area+=n.area,null!=n.z&&(_(o,n.z?i.dx:i.dy,i,!r.length),o.length=o.area=0);e.forEach(d)}}function f(t,e){for(var n,i=t.area,r=0,o=1/0,a=-1,s=t.length;++ar&&(r=n));return e*=e,(i*=i)?Math.max(e*r*u/i,i/(e*o*u)):1/0}function _(t,e,i,r){var o,a=-1,s=t.length,l=i.x,u=i.y,c=e?n(t.area/e):0;if(e==i.dx){for((r||c>i.dy)&&(c=i.dy);++ai.dx)&&(c=i.dx);++a1);return t+e*n*Math.sqrt(-2*Math.log(r)/r)}},logNormal:function(){var t=o.random.normal.apply(o,arguments);return function(){return Math.exp(t())}},bates:function(t){var e=o.random.irwinHall(t);return function(){return e()/t}},irwinHall:function(t){return function(){for(var e=0,n=0;n2?Xi:Wi,l=i?Hn:Gn;return r=a(t,e,l,n),o=a(e,t,l,Cn),s}function s(t){return r(t)}return s.invert=function(t){return o(t)},s.domain=function(e){return arguments.length?(t=e.map(Number),a()):t},s.range=function(t){return arguments.length?(e=t,a()):e},s.rangeRound=function(t){return s.range(t).interpolate(Un)},s.clamp=function(t){return arguments.length?(i=t,a()):i},s.interpolate=function(t){return arguments.length?(n=t,a()):n},s.ticks=function(e){return Qi(t,e)},s.tickFormat=function(e,n){return d3_scale_linearTickFormat(t,e,n)},s.nice=function(e){return Yi(t,e),a()},s.copy=function(){return Ji(t,e,n,i)},a()}function Zi(t,e){return o.rebind(t,e,"range","rangeRound","interpolate","clamp")}function Yi(t,e){return Gi(t,Hi(Ki(t,e)[2])),Gi(t,Hi(Ki(t,e)[2])),t}function Ki(t,e){null==e&&(e=10);var n=Bi(t),i=n[1]-n[0],r=Math.pow(10,Math.floor(Math.log(i/e)/Math.LN10)),o=e/i*r;return o<=.15?r*=10:o<=.35?r*=5:o<=.75&&(r*=2),n[0]=Math.ceil(n[0]/r)*r,n[1]=Math.floor(n[1]/r)*r+.5*r,n[2]=r,n}function Qi(t,e){return o.range.apply(o,Ki(t,e))}function tr(t,e,n,i){function r(t){return(n?Math.log(t<0?0:t):-Math.log(t>0?0:-t))/Math.log(e)}function o(t){return n?Math.pow(e,t):-Math.pow(e,-t)}function a(e){return t(r(e))}return a.invert=function(e){return o(t.invert(e))},a.domain=function(e){return arguments.length?(n=e[0]>=0,t.domain((i=e.map(Number)).map(r)),a):i},a.base=function(n){return arguments.length?(e=+n,t.domain(i.map(r)),a):e},a.nice=function(){var e=Gi(i.map(r),n?Math:er);return t.domain(e),i=e.map(o),a},a.ticks=function(){var t=Bi(i),a=[],s=t[0],l=t[1],u=Math.floor(r(s)),c=Math.ceil(r(l)),h=e%1?2:e;if(isFinite(c-u)){if(n){for(;u0;d--)a.push(o(u)*d);for(u=0;a[u]l;c--);a=a.slice(u,c)}return a},a.copy=function(){return tr(t.copy(),e,n,i)},Zi(a,t)}o.scale.linear=function(){return Ji([0,1],[0,1],Cn,!1)},o.scale.log=function(){return tr(o.scale.linear().domain([0,1]),10,!0,[1,10])};var er={floor:function(t){return-Math.ceil(-t)},ceil:function(t){return-Math.floor(-t)}};function nr(t,e,n){var i=ir(e),r=ir(1/e);function o(e){return t(i(e))}return o.invert=function(e){return r(t.invert(e))},o.domain=function(e){return arguments.length?(t.domain((n=e.map(Number)).map(i)),o):n},o.ticks=function(t){return Qi(n,t)},o.tickFormat=function(t,e){return d3_scale_linearTickFormat(n,t,e)},o.nice=function(t){return o.domain(Yi(n,t))},o.exponent=function(a){return arguments.length?(i=ir(e=a),r=ir(1/e),t.domain(n.map(i)),o):e},o.copy=function(){return nr(t.copy(),e,n)},Zi(o,t)}function ir(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function rr(t,e){var n,i,r;function a(r){return i[((n.get(r)||("range"===e.t?n.set(r,t.push(r)):NaN))-1)%i.length]}function s(e,n){return o.range(t.length).map((function(t){return e+n*t}))}return a.domain=function(i){if(!arguments.length)return t;t=[],n=new C;for(var r,o=-1,s=i.length;++o0?n[i-1]:t[0],ih?0:1;if(u=Ot)return l(u,f)+(s?l(s,1-f):"")+"Z";var _,p,m,v,g,y,b,w,E,x,C,T,A=0,S=0,z=[];if((v=(+a.apply(this,arguments)||0)/2)&&(m=i===_r?Math.sqrt(s*s+u*u):+i.apply(this,arguments),f||(S*=-1),u&&(S=Rt(m/u*Math.sin(v))),s&&(A=Rt(m/s*Math.sin(v)))),u){g=u*Math.cos(c+S),y=u*Math.sin(c+S),b=u*Math.cos(h-S),w=u*Math.sin(h-S);var k=Math.abs(h-c-2*S)<=Nt?0:1;if(S&&br(g,y,b,w)===f^k){var N=(c+h)/2;g=u*Math.cos(N),y=u*Math.sin(N),b=w=null}}else g=y=0;if(s){E=s*Math.cos(h-A),x=s*Math.sin(h-A),C=s*Math.cos(c+A),T=s*Math.sin(c+A);var I=Math.abs(c-h+2*A)<=Nt?0:1;if(A&&br(E,x,C,T)===1-f^I){var O=(c+h)/2;E=s*Math.cos(O),x=s*Math.sin(O),C=T=null}}else E=x=0;if(d>zt&&(_=Math.min(Math.abs(u-s)/2,+n.apply(this,arguments)))>.001){p=s0?0:1}function wr(t,e,n,i,r){var o=t[0]-e[0],a=t[1]-e[1],s=(r?i:-i)/Math.sqrt(o*o+a*a),l=s*a,u=-s*o,c=t[0]+l,h=t[1]+u,d=e[0]+l,f=e[1]+u,_=(c+d)/2,p=(h+f)/2,m=d-c,v=f-h,g=m*m+v*v,y=n-i,b=c*f-d*h,w=(v<0?-1:1)*Math.sqrt(Math.max(0,y*y*g-b*b)),E=(b*v-m*w)/g,x=(-b*m-v*w)/g,C=(b*v+m*w)/g,T=(-b*m+v*w)/g,A=E-_,S=x-p,z=C-_,k=T-p;return A*A+S*S>z*z+k*k&&(E=C,x=T),[[E-l,x-u],[E*n/y,x*n/y]]}function Er(){return!0}function xr(t){var e=ze,n=ke,i=Er,r=Tr,o=r.key,a=.7;function s(o){var s,l=[],u=[],c=-1,h=o.length,d=me(e),f=me(n);function _(){l.push("M",r(t(u),a))}for(;++c1&&r.push("H",i[0]),r.join("")},"step-before":Sr,"step-after":zr,basis:Ir,"basis-open":function(t){if(t.length<4)return Tr(t);for(var e,n=[],i=-1,r=t.length,o=[0],a=[0];++i<3;)e=t[i],o.push(e[0]),a.push(e[1]);for(n.push(Or($r,o)+","+Or($r,a)),--i;++i9&&(r=3*e/Math.sqrt(r),a[s]=r*n,a[s+1]=r*i);for(s=-1;++s<=l;)r=(t[Math.min(l,s+1)][0]-t[Math.max(0,s-1)][0])/(6*(1+a[s]*a[s])),o.push([r||0,a[s]*r||0]);return o}(t))}});function Tr(t){return t.length>1?t.join("L"):t+"Z"}function Ar(t){return t.join("L")+"Z"}function Sr(t){for(var e=0,n=t.length,i=t[0],r=[i[0],",",i[1]];++e1){s=e[1],o=t[l],l++,i+="C"+(r[0]+a[0])+","+(r[1]+a[1])+","+(o[0]-s[0])+","+(o[1]-s[1])+","+o[0]+","+o[1];for(var u=2;uNt)+",1 "+e}function l(t,e,n,i){return"Q 0,0 "+i}return o.radius=function(t){return arguments.length?(n=me(t),o):n},o.source=function(e){return arguments.length?(t=me(e),o):t},o.target=function(t){return arguments.length?(e=me(t),o):e},o.startAngle=function(t){return arguments.length?(i=me(t),o):i},o.endAngle=function(t){return arguments.length?(r=me(t),o):r},o},o.svg.diagonal=function(){var t=qr,e=Dr,n=Fr;function i(i,r){var o=t.call(this,i,r),a=e.call(this,i,r),s=(o.y+a.y)/2,l=[o,{x:o.x,y:s},{x:a.x,y:s},a];return"M"+(l=l.map(n))[0]+"C"+l[1]+" "+l[2]+" "+l[3]}return i.source=function(e){return arguments.length?(t=me(e),i):t},i.target=function(t){return arguments.length?(e=me(t),i):e},i.projection=function(t){return arguments.length?(n=t,i):n},i},o.svg.diagonal.radial=function(){var t=o.svg.diagonal(),e=Fr,n=t.projection;return t.projection=function(t){return arguments.length?n(function(t){return function(){var e=t.apply(this,arguments),n=e[0],i=e[1]-Lt;return[n*Math.cos(i),n*Math.sin(i)]}}(e=t)):e},t},o.svg.symbol=function(){var t=Gr,e=Wr;function n(n,i){return(Vr.get(t.call(this,n,i))||Hr)(e.call(this,n,i))}return n.type=function(e){return arguments.length?(t=me(e),n):t},n.size=function(t){return arguments.length?(e=me(t),n):e},n};var Vr=o.map({circle:Hr,cross:function(t){var e=Math.sqrt(t/5)/2;return"M"+-3*e+","+-e+"H"+-e+"V"+-3*e+"H"+e+"V"+-e+"H"+3*e+"V"+e+"H"+e+"V"+3*e+"H"+-e+"V"+e+"H"+-3*e+"Z"},diamond:function(t){var e=Math.sqrt(t/(2*Jr)),n=e*Jr;return"M0,"+-e+"L"+n+",0 0,"+e+" "+-n+",0Z"},square:function(t){var e=Math.sqrt(t)/2;return"M"+-e+","+-e+"L"+e+","+-e+" "+e+","+e+" "+-e+","+e+"Z"},"triangle-down":function(t){var e=Math.sqrt(t/Xr),n=e*Xr/2;return"M0,"+n+"L"+e+","+-n+" "+-e+","+-n+"Z"},"triangle-up":function(t){var e=Math.sqrt(t/Xr),n=e*Xr/2;return"M0,"+-n+"L"+e+","+n+" "+-e+","+n+"Z"}});o.svg.symbolTypes=Vr.keys();var Xr=Math.sqrt(3),Jr=Math.tan(30*Mt);Y.transition=function(t){for(var e,n,i=Qr||++no,r=oo(t),o=[],a=to||{time:Date.now(),ease:Ln,delay:0,duration:250},s=-1,l=this.length;++s0;)u[--d].call(t,a);if(o>=1)return h.event&&h.event.end.call(t,t.__data__,e),--c.count?delete c[i]:delete t[n],1}h||(o=r.time,a=Ce((function(t){var e=h.delay;if(a.t=e+o,e<=t)return d(t-e);a.c=d}),0,o),h=c[i]={tween:new C,time:o,timer:a,delay:r.delay,duration:r.duration,ease:r.ease,index:e},r=null,++c.count)}eo.call=Y.call,eo.empty=Y.empty,eo.node=Y.node,eo.size=Y.size,o.transition=function(t,e){return t&&t.transition?Qr?t.transition(e):t:o.selection().transition(t)},o.transition.prototype=eo,eo.select=function(t){var e,n,i,r=this.id,o=this.namespace,a=[];t=K(t);for(var s=-1,l=this.length;++srect,.s>rect").attr("width",a[1]-a[0])}function p(t){t.select(".extent").attr("y",s[0]),t.selectAll(".extent,.e>rect,.w>rect").attr("height",s[1]-s[0])}function m(){var h,m,v=this,g=o.select(o.event.target),y=n.of(v,arguments),b=o.select(v),w=g.datum(),E=!/^(n|s)$/.test(w)&&i,x=!/^(e|w)$/.test(w)&&r,C=g.classed("extent"),T=Ct(v),A=o.mouse(v),S=o.select(c(v)).on("keydown.brush",(function(){32==o.event.keyCode&&(C||(h=null,A[0]-=a[1],A[1]-=s[1],C=2),B())})).on("keyup.brush",(function(){32==o.event.keyCode&&2==C&&(A[0]+=a[1],A[1]+=s[1],C=0,B())}));if(o.event.changedTouches?S.on("touchmove.brush",N).on("touchend.brush",O):S.on("mousemove.brush",N).on("mouseup.brush",O),b.interrupt().selectAll("*").interrupt(),C)A[0]=a[0]-A[0],A[1]=s[0]-A[1];else if(w){var z=+/w$/.test(w),k=+/^n/.test(w);m=[a[1-z]-A[0],s[1-k]-A[1]],A[0]=a[z],A[1]=s[k]}else o.event.altKey&&(h=A.slice());function N(){var t=o.mouse(v),e=!1;m&&(t[0]+=m[0],t[1]+=m[1]),C||(o.event.altKey?(h||(h=[(a[0]+a[1])/2,(s[0]+s[1])/2]),A[0]=a[+(t[0](i=1))return i;for(;no?n=r:i=r,r=.5*(i-n)+n}return r},r.prototype.solve=function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))};var o=a;function a(t,e){this.x=t,this.y=e}a.prototype={clone:function(){return new a(this.x,this.y)},add:function(t){return this.clone()._add(t)},sub:function(t){return this.clone()._sub(t)},multByPoint:function(t){return this.clone()._multByPoint(t)},divByPoint:function(t){return this.clone()._divByPoint(t)},mult:function(t){return this.clone()._mult(t)},div:function(t){return this.clone()._div(t)},rotate:function(t){return this.clone()._rotate(t)},rotateAround:function(t,e){return this.clone()._rotateAround(t,e)},matMult:function(t){return this.clone()._matMult(t)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(t){return this.x===t.x&&this.y===t.y},dist:function(t){return Math.sqrt(this.distSqr(t))},distSqr:function(t){var e=t.x-this.x,n=t.y-this.y;return e*e+n*n},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith:function(t){return this.angleWithSep(t.x,t.y)},angleWithSep:function(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult:function(t){var e=t[0]*this.x+t[1]*this.y,n=t[2]*this.x+t[3]*this.y;return this.x=e,this.y=n,this},_add:function(t){return this.x+=t.x,this.y+=t.y,this},_sub:function(t){return this.x-=t.x,this.y-=t.y,this},_mult:function(t){return this.x*=t,this.y*=t,this},_div:function(t){return this.x/=t,this.y/=t,this},_multByPoint:function(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint:function(t){return this.x/=t.x,this.y/=t.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var t=this.y;return this.y=this.x,this.x=-t,this},_rotate:function(t){var e=Math.cos(t),n=Math.sin(t),i=e*this.x-n*this.y,r=n*this.x+e*this.y;return this.x=i,this.y=r,this},_rotateAround:function(t,e){var n=Math.cos(t),i=Math.sin(t),r=e.x+n*(this.x-e.x)-i*(this.y-e.y),o=e.y+i*(this.x-e.x)+n*(this.y-e.y);return this.x=r,this.y=o,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},a.convert=function(t){return t instanceof a?t:Array.isArray(t)?new a(t[0],t[1]):t};var s="undefined"!=typeof self?self:{};var l=Math.pow(2,53)-1;function u(t,e,n,r){var o=new i(t,e,n,r);return function(t){return o.solve(t)}}var c=u(.25,.1,.25,1);function h(t,e,n){return Math.min(n,Math.max(e,t))}function d(t,e,n){var i=n-e,r=((t-e)%i+i)%i+e;return r===e?n:r}function f(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];for(var i=0,r=e;i>e/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}function v(t){return!!t&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t)}function g(t,e){t.forEach((function(t){e[t]&&(e[t]=e[t].bind(e))}))}function y(t,e){return-1!==t.indexOf(e,t.length-e.length)}function b(t,e,n){var i={};for(var r in t)i[r]=e.call(n||this,t[r],r,t);return i}function w(t,e,n){var i={};for(var r in t)e.call(n||this,t[r],r,t)&&(i[r]=t[r]);return i}function E(t){return Array.isArray(t)?t.map(E):"object"==typeof t&&t?b(t,E):t}var x={};function C(t){x[t]||("undefined"!=typeof console&&console.warn(t),x[t]=!0)}function T(t,e,n){return(n.y-t.y)*(e.x-t.x)>(e.y-t.y)*(n.x-t.x)}function A(t){for(var e=0,n=0,i=t.length,r=i-1,o=void 0,a=void 0;n@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(function(t,n,i,r){var o=i||r;return e[n]=!o||o.toLowerCase(),""})),e["max-age"]){var n=parseInt(e["max-age"],10);isNaN(n)?delete e["max-age"]:e["max-age"]=n}return e}var k=null;function N(t){if(null==k){var e=t.navigator?t.navigator.userAgent:null;k=!!t.safari||!(!e||!(/\b(iPad|iPhone|iPod)\b/.test(e)||e.match("Safari")&&!e.match("Chrome")))}return k}function I(t){try{var e=s[t];return e.setItem("_mapbox_test_",1),e.removeItem("_mapbox_test_"),!0}catch(t){return!1}}var O,L,M,$,R=s.performance&&s.performance.now?s.performance.now.bind(s.performance):Date.now.bind(Date),P=s.requestAnimationFrame||s.mozRequestAnimationFrame||s.webkitRequestAnimationFrame||s.msRequestAnimationFrame,U=s.cancelAnimationFrame||s.mozCancelAnimationFrame||s.webkitCancelAnimationFrame||s.msCancelAnimationFrame,j={now:R,frame:function(t){var e=P(t);return{cancel:function(){return U(e)}}},getImageData:function(t,e){void 0===e&&(e=0);var n=s.document.createElement("canvas"),i=n.getContext("2d");if(!i)throw new Error("failed to create canvas 2d context");return n.width=t.width,n.height=t.height,i.drawImage(t,0,0,t.width,t.height),i.getImageData(-e,-e,t.width+2*e,t.height+2*e)},resolveURL:function(t){return O||(O=s.document.createElement("a")),O.href=t,O.href},hardwareConcurrency:s.navigator&&s.navigator.hardwareConcurrency||4,get devicePixelRatio(){return s.devicePixelRatio},get prefersReducedMotion(){return!!s.matchMedia&&(null==L&&(L=s.matchMedia("(prefers-reduced-motion: reduce)")),L.matches)}},q={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?0===this.API_URL.indexOf("https://api.mapbox.cn")?"https://events.mapbox.cn/events/v2":0===this.API_URL.indexOf("https://api.mapbox.com")?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},D={supported:!1,testSupport:function(t){!B&&$&&(F?W(t):M=t)}},B=!1,F=!1;function W(t){var e=t.createTexture();t.bindTexture(t.TEXTURE_2D,e);try{if(t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,$),t.isContextLost())return;D.supported=!0}catch(t){}t.deleteTexture(e),B=!0}s.document&&(($=s.document.createElement("img")).onload=function(){M&&W(M),M=null,F=!0},$.onerror=function(){B=!0,M=null},$.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var G="01";var H=function(t,e){this._transformRequestFn=t,this._customAccessToken=e,this._createSkuToken()};function V(t){return 0===t.indexOf("mapbox:")}H.prototype._createSkuToken=function(){var t=function(){for(var t="",e=0;e<10;e++)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",G,t].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=t.token,this._skuTokenExpiresAt=t.tokenExpiresAt},H.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},H.prototype.transformRequest=function(t,e){return this._transformRequestFn&&this._transformRequestFn(t,e)||{url:t}},H.prototype.normalizeStyleURL=function(t,e){if(!V(t))return t;var n=Y(t);return n.path="/styles/v1"+n.path,this._makeAPIURL(n,this._customAccessToken||e)},H.prototype.normalizeGlyphsURL=function(t,e){if(!V(t))return t;var n=Y(t);return n.path="/fonts/v1"+n.path,this._makeAPIURL(n,this._customAccessToken||e)},H.prototype.normalizeSourceURL=function(t,e){if(!V(t))return t;var n=Y(t);return n.path="/v4/"+n.authority+".json",n.params.push("secure"),this._makeAPIURL(n,this._customAccessToken||e)},H.prototype.normalizeSpriteURL=function(t,e,n,i){var r=Y(t);return V(t)?(r.path="/styles/v1"+r.path+"/sprite"+e+n,this._makeAPIURL(r,this._customAccessToken||i)):(r.path+=""+e+n,K(r))},H.prototype.normalizeTileURL=function(t,e){if(this._isSkuTokenExpired()&&this._createSkuToken(),t&&!V(t))return t;var n=Y(t),i=j.devicePixelRatio>=2||512===e?"@2x":"",r=D.supported?".webp":"$1";n.path=n.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+i+r),n.path=n.path.replace(/^.+\/v4\//,"/"),n.path="/v4"+n.path;var o=this._customAccessToken||function(t){for(var e=0,n=t;e=0&&t.params.splice(r,1)}if("/"!==i.path&&(t.path=""+i.path+t.path),!q.REQUIRE_ACCESS_TOKEN)return K(t);if(!(e=e||q.ACCESS_TOKEN))throw new Error("An API access token is required to use Mapbox GL. "+n);if("s"===e[0])throw new Error("Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). "+n);return t.params=t.params.filter((function(t){return-1===t.indexOf("access_token")})),t.params.push("access_token="+e),K(t)};var X=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;function J(t){return X.test(t)}var Z=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function Y(t){var e=t.match(Z);if(!e)throw new Error("Unable to parse URL object");return{protocol:e[1],authority:e[2],path:e[3]||"/",params:e[4]?e[4].split("&"):[]}}function K(t){var e=t.params.length?"?"+t.params.join("&"):"";return t.protocol+"://"+t.authority+t.path+e}var Q="mapbox.eventData";function tt(t){if(!t)return null;var e,n=t.split(".");if(!n||3!==n.length)return null;try{return JSON.parse((e=n[1],decodeURIComponent(s.atob(e).split("").map((function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(t){return null}}var et=function(t){this.type=t,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null};et.prototype.getStorageKey=function(t){var e,n,i=tt(q.ACCESS_TOKEN);return e=i&&i.u?(n=i.u,s.btoa(encodeURIComponent(n).replace(/%([0-9A-F]{2})/g,(function(t,e){return String.fromCharCode(Number("0x"+e))})))):q.ACCESS_TOKEN||"",t?Q+"."+t+":"+e:Q+":"+e},et.prototype.fetchEventData=function(){var t=I("localStorage"),e=this.getStorageKey(),n=this.getStorageKey("uuid");if(t)try{var i=s.localStorage.getItem(e);i&&(this.eventData=JSON.parse(i));var r=s.localStorage.getItem(n);r&&(this.anonId=r)}catch(t){C("Unable to read from LocalStorage")}},et.prototype.saveEventData=function(){var t=I("localStorage"),e=this.getStorageKey(),n=this.getStorageKey("uuid");if(t)try{s.localStorage.setItem(n,this.anonId),Object.keys(this.eventData).length>=1&&s.localStorage.setItem(e,JSON.stringify(this.eventData))}catch(t){C("Unable to write to LocalStorage")}},et.prototype.processRequests=function(t){},et.prototype.postEvent=function(t,e,i,r){var o=this;if(q.EVENTS_URL){var a=Y(q.EVENTS_URL);a.params.push("access_token="+(r||q.ACCESS_TOKEN||""));var s={event:this.type,created:new Date(t).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:n,skuId:G,userId:this.anonId},l=e?f(s,e):s,u={url:K(a),headers:{"Content-Type":"text/plain"},body:JSON.stringify([l])};this.pendingRequest=St(u,(function(t){o.pendingRequest=null,i(t),o.saveEventData(),o.processRequests(r)}))}},et.prototype.queueRequest=function(t,e){this.queue.push(t),this.processRequests(e)};var nt,it,rt=function(t){function e(){t.call(this,"map.load"),this.success={},this.skuToken=""}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.postMapLoadEvent=function(t,e,n,i){this.skuToken=n,(q.EVENTS_URL&&i||q.ACCESS_TOKEN&&Array.isArray(t)&&t.some((function(t){return V(t)||J(t)})))&&this.queueRequest({id:e,timestamp:Date.now()},i)},e.prototype.processRequests=function(t){var e=this;if(!this.pendingRequest&&0!==this.queue.length){var n=this.queue.shift(),i=n.id,r=n.timestamp;i&&this.success[i]||(this.anonId||this.fetchEventData(),v(this.anonId)||(this.anonId=m()),this.postEvent(r,{skuToken:this.skuToken},(function(t){t||i&&(e.success[i]=!0)}),t))}},e}(et),ot=function(t){function e(e){t.call(this,"appUserTurnstile"),this._customAccessToken=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.postTurnstileEvent=function(t,e){q.EVENTS_URL&&q.ACCESS_TOKEN&&Array.isArray(t)&&t.some((function(t){return V(t)||J(t)}))&&this.queueRequest(Date.now(),e)},e.prototype.processRequests=function(t){var e=this;if(!this.pendingRequest&&0!==this.queue.length){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var n=tt(q.ACCESS_TOKEN),i=n?n.u:q.ACCESS_TOKEN,r=i!==this.eventData.tokenU;v(this.anonId)||(this.anonId=m(),r=!0);var o=this.queue.shift();if(this.eventData.lastSuccess){var a=new Date(this.eventData.lastSuccess),s=new Date(o),l=(o-this.eventData.lastSuccess)/864e5;r=r||l>=1||l<-1||a.getDate()!==s.getDate()}else r=!0;if(!r)return this.processRequests();this.postEvent(o,{"enabled.telemetry":!1},(function(t){t||(e.eventData.lastSuccess=o,e.eventData.tokenU=i)}),t)}},e}(et),at=new ot,st=at.postTurnstileEvent.bind(at),lt=new rt,ut=lt.postMapLoadEvent.bind(lt),ct="mapbox-tiles",ht=500,dt=50,ft=42e4;function _t(){s.caches&&!nt&&(nt=s.caches.open(ct))}function pt(t,e,n){if(_t(),nt){var i={status:e.status,statusText:e.statusText,headers:new s.Headers};e.headers.forEach((function(t,e){return i.headers.set(e,t)}));var r=z(e.headers.get("Cache-Control")||"");r["no-store"]||(r["max-age"]&&i.headers.set("Expires",new Date(n+1e3*r["max-age"]).toUTCString()),new Date(i.headers.get("Expires")).getTime()-nDate.now()&&!n["no-cache"]}(i);t.delete(n),r&&t.put(n,i.clone()),e(null,i,r)})).catch(e)})).catch(e)}var gt,yt=1/0;function bt(){return null==gt&&(gt=s.OffscreenCanvas&&new s.OffscreenCanvas(1,1).getContext("2d")&&"function"==typeof s.createImageBitmap),gt}var wt={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};"function"==typeof Object.freeze&&Object.freeze(wt);var Et=function(t){function e(e,n,i){401===n&&J(i)&&(e+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),t.call(this,e),this.status=n,this.url=i,this.name=this.constructor.name,this.message=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},e}(Error),xt=S()?function(){return self.worker&&self.worker.referrer}:function(){return("blob:"===s.location.protocol?s.parent:s).location.href};function Ct(t,e){var n,i=new s.AbortController,r=new s.Request(t.url,{method:t.method||"GET",body:t.body,credentials:t.credentials,headers:t.headers,referrer:xt(),signal:i.signal}),o=!1,a=!1,l=(n=r.url).indexOf("sku=")>0&&J(n);"json"===t.type&&r.headers.set("Accept","application/json");var u=function(n,i,o){if(!a){if(n&&"SecurityError"!==n.message&&C(n),i&&o)return c(i);var u=Date.now();s.fetch(r).then((function(n){if(n.ok){var i=l?n.clone():null;return c(n,i,u)}return e(new Et(n.statusText,n.status,t.url))})).catch((function(t){20!==t.code&&e(new Error(t.message))}))}},c=function(n,i,s){("arrayBuffer"===t.type?n.arrayBuffer():"json"===t.type?n.json():n.text()).then((function(t){a||(i&&s&&pt(r,i,s),o=!0,e(null,t,n.headers.get("Cache-Control"),n.headers.get("Expires")))})).catch((function(t){a||e(new Error(t.message))}))};return l?vt(r,u):u(null,null),{cancel:function(){a=!0,o||i.abort()}}}var Tt=function(t,e){if(n=t.url,!(/^file:/.test(n)||/^file:/.test(xt())&&!/^\w+:/.test(n))){if(s.fetch&&s.Request&&s.AbortController&&s.Request.prototype.hasOwnProperty("signal"))return Ct(t,e);if(S()&&self.worker&&self.worker.actor){return self.worker.actor.send("getResource",t,e,void 0,!0)}}var n;return function(t,e){var n=new s.XMLHttpRequest;for(var i in n.open(t.method||"GET",t.url,!0),"arrayBuffer"===t.type&&(n.responseType="arraybuffer"),t.headers)n.setRequestHeader(i,t.headers[i]);return"json"===t.type&&(n.responseType="text",n.setRequestHeader("Accept","application/json")),n.withCredentials="include"===t.credentials,n.onerror=function(){e(new Error(n.statusText))},n.onload=function(){if((n.status>=200&&n.status<300||0===n.status)&&null!==n.response){var i=n.response;if("json"===t.type)try{i=JSON.parse(n.response)}catch(t){return e(t)}e(null,i,n.getResponseHeader("Cache-Control"),n.getResponseHeader("Expires"))}else e(new Et(n.statusText,n.status,t.url))},n.send(t.body),{cancel:function(){return n.abort()}}}(t,e)},At=function(t,e){return Tt(f(t,{type:"arrayBuffer"}),e)},St=function(t,e){return Tt(f(t,{method:"POST"}),e)};var zt,kt,Nt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";zt=[],kt=0;var It=function(t,e){if(D.supported&&(t.headers||(t.headers={}),t.headers.accept="image/webp,*/*"),kt>=q.MAX_PARALLEL_IMAGE_REQUESTS){var n={requestParameters:t,callback:e,cancelled:!1,cancel:function(){this.cancelled=!0}};return zt.push(n),n}kt++;var i=!1,r=function(){if(!i)for(i=!0,kt--;zt.length&&kt0||this._oneTimeListeners&&this._oneTimeListeners[t]&&this._oneTimeListeners[t].length>0||this._eventedParent&&this._eventedParent.listens(t)},Rt.prototype.setEventedParent=function(t,e){return this._eventedParent=t,this._eventedParentData=e,this};var Pt={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"*"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},Ut=function(t,e,n,i){this.message=(t?t+": ":"")+n,i&&(this.identifier=i),null!=e&&e.__line__&&(this.line=e.__line__)};function jt(t){var e=t.key,n=t.value;return n?[new Ut(e,n,"constants have been deprecated as of v8")]:[]}function qt(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];for(var i=0,r=e;i":"value"===t.itemType.kind?"array":"array<"+e+">"}return t.kind}var ie=[Gt,Ht,Vt,Xt,Jt,Qt,Zt,ee(Yt),te];function re(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!re(t.itemType,e.itemType))&&("number"!=typeof t.N||t.N===e.N))return null}else{if(t.kind===e.kind)return null;if("value"===t.kind)for(var n=0,i=ie;n255?255:t}function r(t){return t<0?0:t>1?1:t}function o(t){return"%"===t[t.length-1]?i(parseFloat(t)/100*255):i(parseInt(t))}function a(t){return"%"===t[t.length-1]?r(parseFloat(t)/100):r(parseFloat(t))}function s(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}try{e.parseCSSColor=function(t){var e,r=t.replace(/ /g,"").toLowerCase();if(r in n)return n[r].slice();if("#"===r[0])return 4===r.length?(e=parseInt(r.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:7===r.length&&(e=parseInt(r.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var l=r.indexOf("("),u=r.indexOf(")");if(-1!==l&&u+1===r.length){var c=r.substr(0,l),h=r.substr(l+1,u-(l+1)).split(","),d=1;switch(c){case"rgba":if(4!==h.length)return null;d=a(h.pop());case"rgb":return 3!==h.length?null:[o(h[0]),o(h[1]),o(h[2]),d];case"hsla":if(4!==h.length)return null;d=a(h.pop());case"hsl":if(3!==h.length)return null;var f=(parseFloat(h[0])%360+360)%360/360,_=a(h[1]),p=a(h[2]),m=p<=.5?p*(_+1):p+_-p*_,v=2*p-m;return[i(255*s(v,m,f+1/3)),i(255*s(v,m,f)),i(255*s(v,m,f-1/3)),d];default:return null}}return null}}catch(t){}})),le=se.parseCSSColor,ue=function(t,e,n,i){void 0===i&&(i=1),this.r=t,this.g=e,this.b=n,this.a=i};ue.parse=function(t){if(t){if(t instanceof ue)return t;if("string"==typeof t){var e=le(t);if(e)return new ue(e[0]/255*e[3],e[1]/255*e[3],e[2]/255*e[3],e[3])}}},ue.prototype.toString=function(){var t=this.toArray(),e=t[0],n=t[1],i=t[2],r=t[3];return"rgba("+Math.round(e)+","+Math.round(n)+","+Math.round(i)+","+r+")"},ue.prototype.toArray=function(){var t=this,e=t.r,n=t.g,i=t.b,r=t.a;return 0===r?[0,0,0,0]:[255*e/r,255*n/r,255*i/r,r]},ue.black=new ue(0,0,0,1),ue.white=new ue(1,1,1,1),ue.transparent=new ue(0,0,0,0),ue.red=new ue(1,0,0,1);var ce=function(t,e,n){this.sensitivity=t?e?"variant":"case":e?"accent":"base",this.locale=n,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};ce.prototype.compare=function(t,e){return this.collator.compare(t,e)},ce.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var he=function(t,e,n,i,r){this.text=t,this.image=e,this.scale=n,this.fontStack=i,this.textColor=r},de=function(t){this.sections=t};de.fromString=function(t){return new de([new he(t,null,null,null,null)])},de.prototype.isEmpty=function(){return 0===this.sections.length||!this.sections.some((function(t){return 0!==t.text.length||t.image&&0!==t.image.name.length}))},de.factory=function(t){return t instanceof de?t:de.fromString(t)},de.prototype.toString=function(){return 0===this.sections.length?"":this.sections.map((function(t){return t.text})).join("")},de.prototype.serialize=function(){for(var t=["format"],e=0,n=this.sections;e=0&&t<=255&&"number"==typeof e&&e>=0&&e<=255&&"number"==typeof n&&n>=0&&n<=255?void 0===i||"number"==typeof i&&i>=0&&i<=1?null:"Invalid rgba value ["+[t,e,n,i].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+("number"==typeof i?[t,e,n,i]:[t,e,n]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function pe(t){if(null===t)return!0;if("string"==typeof t)return!0;if("boolean"==typeof t)return!0;if("number"==typeof t)return!0;if(t instanceof ue)return!0;if(t instanceof ce)return!0;if(t instanceof de)return!0;if(t instanceof fe)return!0;if(Array.isArray(t)){for(var e=0,n=t;e2){var s=t[1];if("string"!=typeof s||!(s in be)||"object"===s)return e.error('The item type argument of "array" must be one of string, number, boolean',1);o=be[s],i++}else o=Yt;if(t.length>3){if(null!==t[2]&&("number"!=typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2])))return e.error('The length argument to "array" must be a positive integer literal',2);a=t[2],i++}n=ee(o,a)}else n=be[r];for(var l=[];i1)&&e.push(i)}}return e.concat(this.args.map((function(t){return t.serialize()})))};var Ee=function(t){this.type=Qt,this.sections=t};Ee.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var n=t[1];if(!Array.isArray(n)&&"object"==typeof n)return e.error("First argument must be an image or text section.");for(var i=[],r=!1,o=1;o<=t.length-1;++o){var a=t[o];if(r&&"object"==typeof a&&!Array.isArray(a)){r=!1;var s=null;if(a["font-scale"]&&!(s=e.parse(a["font-scale"],1,Ht)))return null;var l=null;if(a["text-font"]&&!(l=e.parse(a["text-font"],1,ee(Vt))))return null;var u=null;if(a["text-color"]&&!(u=e.parse(a["text-color"],1,Jt)))return null;var c=i[i.length-1];c.scale=s,c.font=l,c.textColor=u}else{var h=e.parse(t[o],1,Yt);if(!h)return null;var d=h.type.kind;if("string"!==d&&"value"!==d&&"null"!==d&&"resolvedImage"!==d)return e.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");r=!0,i.push({content:h,scale:null,font:null,textColor:null})}}return new Ee(i)},Ee.prototype.evaluate=function(t){return new de(this.sections.map((function(e){var n=e.content.evaluate(t);return me(n)===te?new he("",n,null,null,null):new he(ve(n),null,e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null,e.textColor?e.textColor.evaluate(t):null)})))},Ee.prototype.eachChild=function(t){for(var e=0,n=this.sections;e-1),n},xe.prototype.eachChild=function(t){t(this.input)},xe.prototype.outputDefined=function(){return!1},xe.prototype.serialize=function(){return["image",this.input.serialize()]};var Ce={"to-boolean":Xt,"to-color":Jt,"to-number":Ht,"to-string":Vt},Te=function(t,e){this.type=t,this.args=e};Te.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var n=t[0];if(("to-boolean"===n||"to-string"===n)&&2!==t.length)return e.error("Expected one argument.");for(var i=Ce[n],r=[],o=1;o4?"Invalid rbga value "+JSON.stringify(e)+": expected an array containing either three or four numeric values.":_e(e[0],e[1],e[2],e[3])))return new ue(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new ye(n||"Could not parse color from value '"+("string"==typeof e?e:String(JSON.stringify(e)))+"'")}if("number"===this.type.kind){for(var a=null,s=0,l=this.args;s=e[2]||t[1]<=e[1]||t[3]>=e[3])}function Le(t,e){var n,i=(180+t[0])/360,r=(n=t[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+n*Math.PI/360)))/360),o=Math.pow(2,e.z);return[Math.round(i*o*Ne),Math.round(r*o*Ne)]}function Me(t,e,n){return e[1]>t[1]!=n[1]>t[1]&&t[0]<(n[0]-e[0])*(t[1]-e[1])/(n[1]-e[1])+e[0]}function $e(t,e){for(var n=!1,i=0,r=e.length;i0&&h<0||c<0&&h>0}function Ue(t,e,n){for(var i=0,r=n;in[2]){var r=.5*i,o=t[0]-n[0]>r?-i:n[0]-t[0]>r?i:0;0===o&&(o=t[0]-n[2]>r?-i:n[2]-t[0]>r?i:0),t[0]+=o}Ie(e,t)}function We(t,e,n,i){for(var r=Math.pow(2,i.z)*Ne,o=[i.x*Ne,i.y*Ne],a=[],s=0,l=t;s=0)return!1;var n=!0;return t.eachChild((function(t){n&&!Je(t,e)&&(n=!1)})),n}He.parse=function(t,e){if(2!==t.length)return e.error("'within' expression requires exactly one argument, but found "+(t.length-1)+" instead.");if(pe(t[1])){var n=t[1];if("FeatureCollection"===n.type)for(var i=0;ie))throw new ye("Input is not a number.");a=s-1}return 0}Ye.prototype.parse=function(t,e,n,i,r){return void 0===r&&(r={}),e?this.concat(e,n,i)._parse(t,r):this._parse(t,r)},Ye.prototype._parse=function(t,e){function n(t,e,n){return"assert"===n?new we(e,[t]):"coerce"===n?new Te(e,[t]):t}if(null!==t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t||(t=["literal",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var i=t[0];if("string"!=typeof i)return this.error("Expression name must be a string, but found "+typeof i+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var r=this.registry[i];if(r){var o=r.parse(t,this);if(!o)return null;if(this.expectedType){var a=this.expectedType,s=o.type;if("string"!==a.kind&&"number"!==a.kind&&"boolean"!==a.kind&&"object"!==a.kind&&"array"!==a.kind||"value"!==s.kind)if("color"!==a.kind&&"formatted"!==a.kind&&"resolvedImage"!==a.kind||"value"!==s.kind&&"string"!==s.kind){if(this.checkSubtype(a,s))return null}else o=n(o,a,e.typeAnnotation||"coerce");else o=n(o,a,e.typeAnnotation||"assert")}if(!(o instanceof ge)&&"resolvedImage"!==o.type.kind&&Ke(o)){var l=new Se;try{o=new ge(o.type,o.evaluate(l))}catch(t){return this.error(t.message),null}}return o}return this.error('Unknown expression "'+i+'". If you wanted a literal array, use ["literal", [...]].',0)}return void 0===t?this.error("'undefined' value invalid. Use null instead."):"object"==typeof t?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof t+" instead.")},Ye.prototype.concat=function(t,e,n){var i="number"==typeof t?this.path.concat(t):this.path,r=n?this.scope.concat(n):this.scope;return new Ye(this.registry,i,e||null,r,this.errors)},Ye.prototype.error=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var i=""+this.key+e.map((function(t){return"["+t+"]"})).join("");this.errors.push(new Ft(i,t))},Ye.prototype.checkSubtype=function(t,e){var n=re(t,e);return n&&this.error(n),n};var tn=function(t,e,n){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(var i=0,r=n;i=a)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',l);var c=e.parse(s,u,r);if(!c)return null;r=r||c.type,i.push([a,c])}return new tn(r,n,i)},tn.prototype.evaluate=function(t){var e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);var i=this.input.evaluate(t);if(i<=e[0])return n[0].evaluate(t);var r=e.length;return i>=e[r-1]?n[r-1].evaluate(t):n[Qe(e,i)].evaluate(t)},tn.prototype.eachChild=function(t){t(this.input);for(var e=0,n=this.outputs;e0&&t.push(this.labels[e]),t.push(this.outputs[e].serialize());return t};var nn=Object.freeze({__proto__:null,number:en,color:function(t,e,n){return new ue(en(t.r,e.r,n),en(t.g,e.g,n),en(t.b,e.b,n),en(t.a,e.a,n))},array:function(t,e,n){return t.map((function(t,i){return en(t,e[i],n)}))}}),rn=.95047,on=1,an=1.08883,sn=4/29,ln=6/29,un=3*ln*ln,cn=ln*ln*ln,hn=Math.PI/180,dn=180/Math.PI;function fn(t){return t>cn?Math.pow(t,1/3):t/un+sn}function _n(t){return t>ln?t*t*t:un*(t-sn)}function pn(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function mn(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function vn(t){var e=mn(t.r),n=mn(t.g),i=mn(t.b),r=fn((.4124564*e+.3575761*n+.1804375*i)/rn),o=fn((.2126729*e+.7151522*n+.072175*i)/on);return{l:116*o-16,a:500*(r-o),b:200*(o-fn((.0193339*e+.119192*n+.9503041*i)/an)),alpha:t.a}}function gn(t){var e=(t.l+16)/116,n=isNaN(t.a)?e:e+t.a/500,i=isNaN(t.b)?e:e-t.b/200;return e=on*_n(e),n=rn*_n(n),i=an*_n(i),new ue(pn(3.2404542*n-1.5371385*e-.4985314*i),pn(-.969266*n+1.8760108*e+.041556*i),pn(.0556434*n-.2040259*e+1.0572252*i),t.alpha)}function yn(t,e,n){var i=e-t;return t+n*(i>180||i<-180?i-360*Math.round(i/360):i)}var bn={forward:vn,reverse:gn,interpolate:function(t,e,n){return{l:en(t.l,e.l,n),a:en(t.a,e.a,n),b:en(t.b,e.b,n),alpha:en(t.alpha,e.alpha,n)}}},wn={forward:function(t){var e=vn(t),n=e.l,i=e.a,r=e.b,o=Math.atan2(r,i)*dn;return{h:o<0?o+360:o,c:Math.sqrt(i*i+r*r),l:n,alpha:t.a}},reverse:function(t){var e=t.h*hn,n=t.c;return gn({l:t.l,a:Math.cos(e)*n,b:Math.sin(e)*n,alpha:t.alpha})},interpolate:function(t,e,n){return{h:yn(t.h,e.h,n),c:en(t.c,e.c,n),l:en(t.l,e.l,n),alpha:en(t.alpha,e.alpha,n)}}},En=Object.freeze({__proto__:null,lab:bn,hcl:wn}),xn=function(t,e,n,i,r){this.type=t,this.operator=e,this.interpolation=n,this.input=i,this.labels=[],this.outputs=[];for(var o=0,a=r;o1})))return e.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);i={name:"cubic-bezier",controlPoints:s}}if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(!(r=e.parse(r,2,Ht)))return null;var l=[],u=null;"interpolate-hcl"===n||"interpolate-lab"===n?u=Jt:e.expectedType&&"value"!==e.expectedType.kind&&(u=e.expectedType);for(var c=0;c=h)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',f);var p=e.parse(d,_,u);if(!p)return null;u=u||p.type,l.push([h,p])}return"number"===u.kind||"color"===u.kind||"array"===u.kind&&"number"===u.itemType.kind&&"number"==typeof u.N?new xn(u,n,i,r,l):e.error("Type "+ne(u)+" is not interpolatable.")},xn.prototype.evaluate=function(t){var e=this.labels,n=this.outputs;if(1===e.length)return n[0].evaluate(t);var i=this.input.evaluate(t);if(i<=e[0])return n[0].evaluate(t);var r=e.length;if(i>=e[r-1])return n[r-1].evaluate(t);var o=Qe(e,i),a=e[o],s=e[o+1],l=xn.interpolationFactor(this.interpolation,i,a,s),u=n[o].evaluate(t),c=n[o+1].evaluate(t);return"interpolate"===this.operator?nn[this.type.kind.toLowerCase()](u,c,l):"interpolate-hcl"===this.operator?wn.reverse(wn.interpolate(wn.forward(u),wn.forward(c),l)):bn.reverse(bn.interpolate(bn.forward(u),bn.forward(c),l))},xn.prototype.eachChild=function(t){t(this.input);for(var e=0,n=this.outputs;e=n.length)throw new ye("Array index out of bounds: "+e+" > "+(n.length-1)+".");if(e!==Math.floor(e))throw new ye("Array index must be an integer, but found "+e+" instead.");return n[e]},Sn.prototype.eachChild=function(t){t(this.index),t(this.input)},Sn.prototype.outputDefined=function(){return!1},Sn.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var zn=function(t,e){this.type=Xt,this.needle=t,this.haystack=e};zn.parse=function(t,e){if(3!==t.length)return e.error("Expected 2 arguments, but found "+(t.length-1)+" instead.");var n=e.parse(t[1],1,Yt),i=e.parse(t[2],2,Yt);return n&&i?oe(n.type,[Xt,Vt,Ht,Gt,Yt])?new zn(n,i):e.error("Expected first argument to be of type boolean, string, number or null, but found "+ne(n.type)+" instead"):null},zn.prototype.evaluate=function(t){var e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(!n)return!1;if(!ae(e,["boolean","string","number","null"]))throw new ye("Expected first argument to be of type boolean, string, number or null, but found "+ne(me(e))+" instead.");if(!ae(n,["string","array"]))throw new ye("Expected second argument to be of type array or string, but found "+ne(me(n))+" instead.");return n.indexOf(e)>=0},zn.prototype.eachChild=function(t){t(this.needle),t(this.haystack)},zn.prototype.outputDefined=function(){return!0},zn.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var kn=function(t,e,n){this.type=Ht,this.needle=t,this.haystack=e,this.fromIndex=n};kn.parse=function(t,e){if(t.length<=2||t.length>=5)return e.error("Expected 3 or 4 arguments, but found "+(t.length-1)+" instead.");var n=e.parse(t[1],1,Yt),i=e.parse(t[2],2,Yt);if(!n||!i)return null;if(!oe(n.type,[Xt,Vt,Ht,Gt,Yt]))return e.error("Expected first argument to be of type boolean, string, number or null, but found "+ne(n.type)+" instead");if(4===t.length){var r=e.parse(t[3],3,Ht);return r?new kn(n,i,r):null}return new kn(n,i)},kn.prototype.evaluate=function(t){var e=this.needle.evaluate(t),n=this.haystack.evaluate(t);if(!ae(e,["boolean","string","number","null"]))throw new ye("Expected first argument to be of type boolean, string, number or null, but found "+ne(me(e))+" instead.");if(!ae(n,["string","array"]))throw new ye("Expected second argument to be of type array or string, but found "+ne(me(n))+" instead.");if(this.fromIndex){var i=this.fromIndex.evaluate(t);return n.indexOf(e,i)}return n.indexOf(e)},kn.prototype.eachChild=function(t){t(this.needle),t(this.haystack),this.fromIndex&&t(this.fromIndex)},kn.prototype.outputDefined=function(){return!1},kn.prototype.serialize=function(){if(null!=this.fromIndex&&void 0!==this.fromIndex){var t=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),t]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var Nn=function(t,e,n,i,r,o){this.inputType=t,this.type=e,this.input=n,this.cases=i,this.outputs=r,this.otherwise=o};Nn.parse=function(t,e){if(t.length<5)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if(t.length%2!=1)return e.error("Expected an even number of arguments.");var n,i;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);for(var r={},o=[],a=2;aNumber.MAX_SAFE_INTEGER)return u.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if("number"==typeof d&&Math.floor(d)!==d)return u.error("Numeric branch labels must be integer values.");if(n){if(u.checkSubtype(n,me(d)))return null}else n=me(d);if(void 0!==r[String(d)])return u.error("Branch labels must be unique.");r[String(d)]=o.length}var f=e.parse(l,a,i);if(!f)return null;i=i||f.type,o.push(f)}var _=e.parse(t[1],1,Yt);if(!_)return null;var p=e.parse(t[t.length-1],t.length-1,i);return p?"value"!==_.type.kind&&e.concat(1).checkSubtype(n,_.type)?null:new Nn(n,i,_,r,o,p):null},Nn.prototype.evaluate=function(t){var e=this.input.evaluate(t);return(me(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).evaluate(t)},Nn.prototype.eachChild=function(t){t(this.input),this.outputs.forEach(t),t(this.otherwise)},Nn.prototype.outputDefined=function(){return this.outputs.every((function(t){return t.outputDefined()}))&&this.otherwise.outputDefined()},Nn.prototype.serialize=function(){for(var t=this,e=["match",this.input.serialize()],n=[],i={},r=0,o=Object.keys(this.cases).sort();r=5)return e.error("Expected 3 or 4 arguments, but found "+(t.length-1)+" instead.");var n=e.parse(t[1],1,Yt),i=e.parse(t[2],2,Ht);if(!n||!i)return null;if(!oe(n.type,[ee(Yt),Vt,Yt]))return e.error("Expected first argument to be of type array or string, but found "+ne(n.type)+" instead");if(4===t.length){var r=e.parse(t[3],3,Ht);return r?new On(n.type,n,i,r):null}return new On(n.type,n,i)},On.prototype.evaluate=function(t){var e=this.input.evaluate(t),n=this.beginIndex.evaluate(t);if(!ae(e,["string","array"]))throw new ye("Expected first argument to be of type array or string, but found "+ne(me(e))+" instead.");if(this.endIndex){var i=this.endIndex.evaluate(t);return e.slice(n,i)}return e.slice(n)},On.prototype.eachChild=function(t){t(this.input),t(this.beginIndex),this.endIndex&&t(this.endIndex)},On.prototype.outputDefined=function(){return!1},On.prototype.serialize=function(){if(null!=this.endIndex&&void 0!==this.endIndex){var t=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),t]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var Rn=$n("==",(function(t,e,n){return e===n}),Mn),Pn=$n("!=",(function(t,e,n){return e!==n}),(function(t,e,n,i){return!Mn(0,e,n,i)})),Un=$n("<",(function(t,e,n){return e",(function(t,e,n){return e>n}),(function(t,e,n,i){return i.compare(e,n)>0})),qn=$n("<=",(function(t,e,n){return e<=n}),(function(t,e,n,i){return i.compare(e,n)<=0})),Dn=$n(">=",(function(t,e,n){return e>=n}),(function(t,e,n,i){return i.compare(e,n)>=0})),Bn=function(t,e,n,i,r){this.type=Vt,this.number=t,this.locale=e,this.currency=n,this.minFractionDigits=i,this.maxFractionDigits=r};Bn.parse=function(t,e){if(3!==t.length)return e.error("Expected two arguments.");var n=e.parse(t[1],1,Ht);if(!n)return null;var i=t[2];if("object"!=typeof i||Array.isArray(i))return e.error("NumberFormat options argument must be an object.");var r=null;if(i.locale&&!(r=e.parse(i.locale,1,Vt)))return null;var o=null;if(i.currency&&!(o=e.parse(i.currency,1,Vt)))return null;var a=null;if(i["min-fraction-digits"]&&!(a=e.parse(i["min-fraction-digits"],1,Ht)))return null;var s=null;return i["max-fraction-digits"]&&!(s=e.parse(i["max-fraction-digits"],1,Ht))?null:new Bn(n,r,o,a,s)},Bn.prototype.evaluate=function(t){return new Intl.NumberFormat(this.locale?this.locale.evaluate(t):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(t):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(t):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(t):void 0}).format(this.number.evaluate(t))},Bn.prototype.eachChild=function(t){t(this.number),this.locale&&t(this.locale),this.currency&&t(this.currency),this.minFractionDigits&&t(this.minFractionDigits),this.maxFractionDigits&&t(this.maxFractionDigits)},Bn.prototype.outputDefined=function(){return!1},Bn.prototype.serialize=function(){var t={};return this.locale&&(t.locale=this.locale.serialize()),this.currency&&(t.currency=this.currency.serialize()),this.minFractionDigits&&(t["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(t["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),t]};var Fn=function(t){this.type=Ht,this.input=t};Fn.parse=function(t,e){if(2!==t.length)return e.error("Expected 1 argument, but found "+(t.length-1)+" instead.");var n=e.parse(t[1],1);return n?"array"!==n.type.kind&&"string"!==n.type.kind&&"value"!==n.type.kind?e.error("Expected argument of type string or array, but found "+ne(n.type)+" instead."):new Fn(n):null},Fn.prototype.evaluate=function(t){var e=this.input.evaluate(t);if("string"==typeof e)return e.length;if(Array.isArray(e))return e.length;throw new ye("Expected value to be of type string or array, but found "+ne(me(e))+" instead.")},Fn.prototype.eachChild=function(t){t(this.input)},Fn.prototype.outputDefined=function(){return!1},Fn.prototype.serialize=function(){var t=["length"];return this.eachChild((function(e){t.push(e.serialize())})),t};var Wn={"==":Rn,"!=":Pn,">":jn,"<":Un,">=":Dn,"<=":qn,array:we,at:Sn,boolean:we,case:In,coalesce:Tn,collator:ke,format:Ee,image:xe,in:zn,"index-of":kn,interpolate:xn,"interpolate-hcl":xn,"interpolate-lab":xn,length:Fn,let:An,literal:ge,match:Nn,number:we,"number-format":Bn,object:we,slice:On,step:tn,string:we,"to-boolean":Te,"to-color":Te,"to-number":Te,"to-string":Te,var:Ze,within:He};function Gn(t,e){var n=e[0],i=e[1],r=e[2],o=e[3];n=n.evaluate(t),i=i.evaluate(t),r=r.evaluate(t);var a=o?o.evaluate(t):1,s=_e(n,i,r,a);if(s)throw new ye(s);return new ue(n/255*a,i/255*a,r/255*a,a)}function Hn(t,e){return t in e}function Vn(t,e){var n=e[t];return void 0===n?null:n}function Xn(t){return{type:t}}function Jn(t){return{result:"success",value:t}}function Zn(t){return{result:"error",value:t}}function Yn(t){return"data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function Kn(t){return!!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function Qn(t){return!!t.expression&&t.expression.interpolated}function ti(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function ei(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function ni(t){return t}function ii(t,e){var n,i,r,o="color"===e.type,a=t.stops&&"object"==typeof t.stops[0][0],s=a||void 0!==t.property,l=a||!s,u=t.type||(Qn(e)?"exponential":"interval");if(o&&((t=qt({},t)).stops&&(t.stops=t.stops.map((function(t){return[t[0],ue.parse(t[1])]}))),t.default?t.default=ue.parse(t.default):t.default=ue.parse(e.default)),t.colorSpace&&"rgb"!==t.colorSpace&&!En[t.colorSpace])throw new Error("Unknown color space: "+t.colorSpace);if("exponential"===u)n=si;else if("interval"===u)n=ai;else if("categorical"===u){n=oi,i=Object.create(null);for(var c=0,h=t.stops;c=t.stops[i-1][0])return t.stops[i-1][1];var r=Qe(t.stops.map((function(t){return t[0]})),n);return t.stops[r][1]}function si(t,e,n){var i=void 0!==t.base?t.base:1;if("number"!==ti(n))return ri(t.default,e.default);var r=t.stops.length;if(1===r)return t.stops[0][1];if(n<=t.stops[0][0])return t.stops[0][1];if(n>=t.stops[r-1][0])return t.stops[r-1][1];var o=Qe(t.stops.map((function(t){return t[0]})),n),a=function(t,e,n,i){var r=i-n,o=t-n;return 0===r?0:1===e?o/r:(Math.pow(e,o)-1)/(Math.pow(e,r)-1)}(n,i,t.stops[o][0],t.stops[o+1][0]),s=t.stops[o][1],l=t.stops[o+1][1],u=nn[e.type]||ni;if(t.colorSpace&&"rgb"!==t.colorSpace){var c=En[t.colorSpace];u=function(t,e){return c.reverse(c.interpolate(c.forward(t),c.forward(e),a))}}return"function"==typeof s.evaluate?{evaluate:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=s.evaluate.apply(void 0,t),i=l.evaluate.apply(void 0,t);if(void 0!==n&&void 0!==i)return u(n,i,a)}}:u(s,l,a)}function li(t,e,n){return"color"===e.type?n=ue.parse(n):"formatted"===e.type?n=de.fromString(n.toString()):"resolvedImage"===e.type?n=fe.fromString(n.toString()):ti(n)===e.type||"enum"===e.type&&e.values[n]||(n=void 0),ri(n,t.default,e.default)}ze.register(Wn,{error:[{kind:"error"},[Vt],function(t,e){var n=e[0];throw new ye(n.evaluate(t))}],typeof:[Vt,[Yt],function(t,e){return ne(me(e[0].evaluate(t)))}],"to-rgba":[ee(Ht,4),[Jt],function(t,e){return e[0].evaluate(t).toArray()}],rgb:[Jt,[Ht,Ht,Ht],Gn],rgba:[Jt,[Ht,Ht,Ht,Ht],Gn],has:{type:Xt,overloads:[[[Vt],function(t,e){return Hn(e[0].evaluate(t),t.properties())}],[[Vt,Zt],function(t,e){var n=e[0],i=e[1];return Hn(n.evaluate(t),i.evaluate(t))}]]},get:{type:Yt,overloads:[[[Vt],function(t,e){return Vn(e[0].evaluate(t),t.properties())}],[[Vt,Zt],function(t,e){var n=e[0],i=e[1];return Vn(n.evaluate(t),i.evaluate(t))}]]},"feature-state":[Yt,[Vt],function(t,e){return Vn(e[0].evaluate(t),t.featureState||{})}],properties:[Zt,[],function(t){return t.properties()}],"geometry-type":[Vt,[],function(t){return t.geometryType()}],id:[Yt,[],function(t){return t.id()}],zoom:[Ht,[],function(t){return t.globals.zoom}],"heatmap-density":[Ht,[],function(t){return t.globals.heatmapDensity||0}],"line-progress":[Ht,[],function(t){return t.globals.lineProgress||0}],accumulated:[Yt,[],function(t){return void 0===t.globals.accumulated?null:t.globals.accumulated}],"+":[Ht,Xn(Ht),function(t,e){for(var n=0,i=0,r=e;i":[Xt,[Vt,Yt],function(t,e){var n=e[0],i=e[1],r=t.properties()[n.value],o=i.value;return typeof r==typeof o&&r>o}],"filter-id->":[Xt,[Yt],function(t,e){var n=e[0],i=t.id(),r=n.value;return typeof i==typeof r&&i>r}],"filter-<=":[Xt,[Vt,Yt],function(t,e){var n=e[0],i=e[1],r=t.properties()[n.value],o=i.value;return typeof r==typeof o&&r<=o}],"filter-id-<=":[Xt,[Yt],function(t,e){var n=e[0],i=t.id(),r=n.value;return typeof i==typeof r&&i<=r}],"filter->=":[Xt,[Vt,Yt],function(t,e){var n=e[0],i=e[1],r=t.properties()[n.value],o=i.value;return typeof r==typeof o&&r>=o}],"filter-id->=":[Xt,[Yt],function(t,e){var n=e[0],i=t.id(),r=n.value;return typeof i==typeof r&&i>=r}],"filter-has":[Xt,[Yt],function(t,e){return e[0].value in t.properties()}],"filter-has-id":[Xt,[],function(t){return null!==t.id()&&void 0!==t.id()}],"filter-type-in":[Xt,[ee(Vt)],function(t,e){return e[0].value.indexOf(t.geometryType())>=0}],"filter-id-in":[Xt,[ee(Yt)],function(t,e){return e[0].value.indexOf(t.id())>=0}],"filter-in-small":[Xt,[Vt,ee(Yt)],function(t,e){var n=e[0];return e[1].value.indexOf(t.properties()[n.value])>=0}],"filter-in-large":[Xt,[Vt,ee(Yt)],function(t,e){var n=e[0],i=e[1];return function(t,e,n,i){for(;n<=i;){var r=n+i>>1;if(e[r]===t)return!0;e[r]>t?i=r-1:n=r+1}return!1}(t.properties()[n.value],i.value,0,i.value.length-1)}],all:{type:Xt,overloads:[[[Xt,Xt],function(t,e){var n=e[0],i=e[1];return n.evaluate(t)&&i.evaluate(t)}],[Xn(Xt),function(t,e){for(var n=0,i=e;n0&&"string"==typeof t[0]&&t[0]in Wn}function hi(t,e){var n=new Ye(Wn,[],e?function(t){var e={color:Jt,string:Vt,number:Ht,enum:Vt,boolean:Xt,formatted:Qt,resolvedImage:te};return"array"===t.type?ee(e[t.value]||Yt,t.length):e[t.type]}(e):void 0),i=n.parse(t,void 0,void 0,void 0,e&&"string"===e.type?{typeAnnotation:"coerce"}:void 0);return i?Jn(new ui(i,e)):Zn(n.errors)}ui.prototype.evaluateWithoutErrorHandling=function(t,e,n,i,r,o){return this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=n,this._evaluator.canonical=i,this._evaluator.availableImages=r||null,this._evaluator.formattedSection=o,this.expression.evaluate(this._evaluator)},ui.prototype.evaluate=function(t,e,n,i,r,o){this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=n||null,this._evaluator.canonical=i,this._evaluator.availableImages=r||null,this._evaluator.formattedSection=o||null;try{var a=this.expression.evaluate(this._evaluator);if(null==a||"number"==typeof a&&a!=a)return this._defaultValue;if(this._enumValues&&!(a in this._enumValues))throw new ye("Expected value to be one of "+Object.keys(this._enumValues).map((function(t){return JSON.stringify(t)})).join(", ")+", but found "+JSON.stringify(a)+" instead.");return a}catch(t){return this._warningHistory[t.message]||(this._warningHistory[t.message]=!0,"undefined"!=typeof console&&console.warn(t.message)),this._defaultValue}};var di=function(t,e){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!Xe(e.expression)};di.prototype.evaluateWithoutErrorHandling=function(t,e,n,i,r,o){return this._styleExpression.evaluateWithoutErrorHandling(t,e,n,i,r,o)},di.prototype.evaluate=function(t,e,n,i,r,o){return this._styleExpression.evaluate(t,e,n,i,r,o)};var fi=function(t,e,n,i){this.kind=t,this.zoomStops=n,this._styleExpression=e,this.isStateDependent="camera"!==t&&!Xe(e.expression),this.interpolationType=i};function _i(t,e){if("error"===(t=hi(t,e)).result)return t;var n=t.value.expression,i=Ve(n);if(!i&&!Yn(e))return Zn([new Ft("","data expressions not supported")]);var r=Je(n,["zoom"]);if(!r&&!Kn(e))return Zn([new Ft("","zoom expressions not supported")]);var o=mi(n);if(!o&&!r)return Zn([new Ft("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(o instanceof Ft)return Zn([o]);if(o instanceof xn&&!Qn(e))return Zn([new Ft("",'"interpolate" expressions cannot be used with this property')]);if(!o)return Jn(new di(i?"constant":"source",t.value));var a=o instanceof xn?o.interpolation:void 0;return Jn(new fi(i?"camera":"composite",t.value,o.labels,a))}fi.prototype.evaluateWithoutErrorHandling=function(t,e,n,i,r,o){return this._styleExpression.evaluateWithoutErrorHandling(t,e,n,i,r,o)},fi.prototype.evaluate=function(t,e,n,i,r,o){return this._styleExpression.evaluate(t,e,n,i,r,o)},fi.prototype.interpolationFactor=function(t,e,n){return this.interpolationType?xn.interpolationFactor(this.interpolationType,t,e,n):0};var pi=function(t,e){this._parameters=t,this._specification=e,qt(this,ii(this._parameters,this._specification))};function mi(t){var e=null;if(t instanceof An)e=mi(t.result);else if(t instanceof Tn)for(var n=0,i=t.args;ni.maximum?[new Ut(e,n,n+" is greater than the maximum value "+i.maximum)]:[]}function bi(t){var e,n,i,r=t.valueSpec,o=Dt(t.value.type),a={},s="categorical"!==o&&void 0===t.value.property,l=!s,u="array"===ti(t.value.stops)&&"array"===ti(t.value.stops[0])&&"object"===ti(t.value.stops[0][0]),c=vi({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if("identity"===o)return[new Ut(t.key,t.value,'identity function may not have a "stops" property')];var e=[],n=t.value;return e=e.concat(gi({key:t.key,value:n,valueSpec:t.valueSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:h})),"array"===ti(n)&&0===n.length&&e.push(new Ut(t.key,n,"array must have at least one stop")),e},default:function(t){return Wi({key:t.key,value:t.value,valueSpec:r,style:t.style,styleSpec:t.styleSpec})}}});return"identity"===o&&s&&c.push(new Ut(t.key,t.value,'missing required property "property"')),"identity"===o||t.value.stops||c.push(new Ut(t.key,t.value,'missing required property "stops"')),"exponential"===o&&t.valueSpec.expression&&!Qn(t.valueSpec)&&c.push(new Ut(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(l&&!Yn(t.valueSpec)?c.push(new Ut(t.key,t.value,"property functions not supported")):s&&!Kn(t.valueSpec)&&c.push(new Ut(t.key,t.value,"zoom functions not supported"))),"categorical"!==o&&!u||void 0!==t.value.property||c.push(new Ut(t.key,t.value,'"property" property is required')),c;function h(t){var e=[],o=t.value,s=t.key;if("array"!==ti(o))return[new Ut(s,o,"array expected, "+ti(o)+" found")];if(2!==o.length)return[new Ut(s,o,"array length 2 expected, length "+o.length+" found")];if(u){if("object"!==ti(o[0]))return[new Ut(s,o,"object expected, "+ti(o[0])+" found")];if(void 0===o[0].zoom)return[new Ut(s,o,"object stop key must have zoom")];if(void 0===o[0].value)return[new Ut(s,o,"object stop key must have value")];if(i&&i>Dt(o[0].zoom))return[new Ut(s,o[0].zoom,"stop zoom values must appear in ascending order")];Dt(o[0].zoom)!==i&&(i=Dt(o[0].zoom),n=void 0,a={}),e=e.concat(vi({key:s+"[0]",value:o[0],valueSpec:{zoom:{}},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:yi,value:d}}))}else e=e.concat(d({key:s+"[0]",value:o[0],valueSpec:{},style:t.style,styleSpec:t.styleSpec},o));return ci(Bt(o[1]))?e.concat([new Ut(s+"[1]",o[1],"expressions are not allowed in function stops.")]):e.concat(Wi({key:s+"[1]",value:o[1],valueSpec:r,style:t.style,styleSpec:t.styleSpec}))}function d(t,i){var s=ti(t.value),l=Dt(t.value),u=null!==t.value?t.value:i;if(e){if(s!==e)return[new Ut(t.key,u,s+" stop domain type must match previous stop domain type "+e)]}else e=s;if("number"!==s&&"string"!==s&&"boolean"!==s)return[new Ut(t.key,u,"stop domain value must be a number, string, or boolean")];if("number"!==s&&"categorical"!==o){var c="number expected, "+s+" found";return Yn(r)&&void 0===o&&(c+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ut(t.key,u,c)]}return"categorical"!==o||"number"!==s||isFinite(l)&&Math.floor(l)===l?"categorical"!==o&&"number"===s&&void 0!==n&&l=2&&"$id"!==t[1]&&"$type"!==t[1];case"in":return t.length>=3&&("string"!=typeof t[1]||Array.isArray(t[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case"any":case"all":for(var e=0,n=t.slice(1);ee?1:0}function Si(t){if(!Array.isArray(t))return!1;if("within"===t[0])return!0;for(var e=1;e"===n||"<="===n||">="===n?ki(t[1],t[2],n):"any"===n?(e=t.slice(1),["any"].concat(e.map(zi))):"all"===n?["all"].concat(t.slice(1).map(zi)):"none"===n?["all"].concat(t.slice(1).map(zi).map(Oi)):"in"===n?Ni(t[1],t.slice(2)):"!in"===n?Oi(Ni(t[1],t.slice(2))):"has"===n?Ii(t[1]):"!has"===n?Oi(Ii(t[1])):"within"!==n||t}function ki(t,e,n){switch(t){case"$type":return["filter-type-"+n,e];case"$id":return["filter-id-"+n,e];default:return["filter-"+n,t,e]}}function Ni(t,e){if(0===e.length)return!1;switch(t){case"$type":return["filter-type-in",["literal",e]];case"$id":return["filter-id-in",["literal",e]];default:return e.length>200&&!e.some((function(t){return typeof t!=typeof e[0]}))?["filter-in-large",t,["literal",e.sort(Ai)]]:["filter-in-small",t,["literal",e]]}}function Ii(t){switch(t){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",t]}}function Oi(t){return["!",t]}function Li(t){return xi(Bt(t.value))?wi(qt({},t,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Mi(t)}function Mi(t){var e=t.value,n=t.key;if("array"!==ti(e))return[new Ut(n,e,"array expected, "+ti(e)+" found")];var i,r=t.styleSpec,o=[];if(e.length<1)return[new Ut(n,e,"filter array must have at least 1 element")];switch(o=o.concat(Ei({key:n+"[0]",value:e[0],valueSpec:r.filter_operator,style:t.style,styleSpec:t.styleSpec})),Dt(e[0])){case"<":case"<=":case">":case">=":e.length>=2&&"$type"===Dt(e[1])&&o.push(new Ut(n,e,'"$type" cannot be use with operator "'+e[0]+'"'));case"==":case"!=":3!==e.length&&o.push(new Ut(n,e,'filter array for operator "'+e[0]+'" must have 3 elements'));case"in":case"!in":e.length>=2&&"string"!==(i=ti(e[1]))&&o.push(new Ut(n+"[1]",e[1],"string expected, "+i+" found"));for(var a=2;a=c[f+0]&&i>=c[f+1])?(a[d]=!0,o.push(u[d])):a[d]=!1}}},nr.prototype._forEachCell=function(t,e,n,i,r,o,a,s){for(var l=this._convertToCellCoord(t),u=this._convertToCellCoord(e),c=this._convertToCellCoord(n),h=this._convertToCellCoord(i),d=l;d<=c;d++)for(var f=u;f<=h;f++){var _=this.d*f+d;if((!s||s(this._convertFromCellCoord(d),this._convertFromCellCoord(f),this._convertFromCellCoord(d+1),this._convertFromCellCoord(f+1)))&&r.call(this,t,e,n,i,_,o,a,s))return}},nr.prototype._convertFromCellCoord=function(t){return(t-this.padding)/this.scale},nr.prototype._convertToCellCoord=function(t){return Math.max(0,Math.min(this.d-1,Math.floor(t*this.scale)+this.padding))},nr.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var t=this.cells,e=er+this.cells.length+1+1,n=0,i=0;i=0)){var h=t[c];u[c]=or[l].shallow.indexOf(c)>=0?h:cr(h,e)}t instanceof Error&&(u.message=t.message)}if(u.$name)throw new Error("$name property is reserved for worker serialization logic.");return"Object"!==l&&(u.$name=l),u}throw new Error("can't serialize object of type "+typeof t)}function hr(t){if(null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp||lr(t)||ur(t)||ArrayBuffer.isView(t)||t instanceof ir)return t;if(Array.isArray(t))return t.map(hr);if("object"==typeof t){var e=t.$name||"Object",n=or[e].klass;if(!n)throw new Error("can't deserialize unregistered class "+e);if(n.deserialize)return n.deserialize(t);for(var i=Object.create(n.prototype),r=0,o=Object.keys(t);r=0?s:hr(s)}}return i}throw new Error("can't deserialize object of type "+typeof t)}var dr=function(){this.first=!0};dr.prototype.update=function(t,e){var n=Math.floor(t);return this.first?(this.first=!1,this.lastIntegerZoom=n,this.lastIntegerZoomTime=0,this.lastZoom=t,this.lastFloorZoom=n,!0):(this.lastFloorZoom>n?(this.lastIntegerZoom=n+1,this.lastIntegerZoomTime=e):this.lastFloorZoom=128&&t<=255},Arabic:function(t){return t>=1536&&t<=1791},"Arabic Supplement":function(t){return t>=1872&&t<=1919},"Arabic Extended-A":function(t){return t>=2208&&t<=2303},"Hangul Jamo":function(t){return t>=4352&&t<=4607},"Unified Canadian Aboriginal Syllabics":function(t){return t>=5120&&t<=5759},Khmer:function(t){return t>=6016&&t<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(t){return t>=6320&&t<=6399},"General Punctuation":function(t){return t>=8192&&t<=8303},"Letterlike Symbols":function(t){return t>=8448&&t<=8527},"Number Forms":function(t){return t>=8528&&t<=8591},"Miscellaneous Technical":function(t){return t>=8960&&t<=9215},"Control Pictures":function(t){return t>=9216&&t<=9279},"Optical Character Recognition":function(t){return t>=9280&&t<=9311},"Enclosed Alphanumerics":function(t){return t>=9312&&t<=9471},"Geometric Shapes":function(t){return t>=9632&&t<=9727},"Miscellaneous Symbols":function(t){return t>=9728&&t<=9983},"Miscellaneous Symbols and Arrows":function(t){return t>=11008&&t<=11263},"CJK Radicals Supplement":function(t){return t>=11904&&t<=12031},"Kangxi Radicals":function(t){return t>=12032&&t<=12255},"Ideographic Description Characters":function(t){return t>=12272&&t<=12287},"CJK Symbols and Punctuation":function(t){return t>=12288&&t<=12351},Hiragana:function(t){return t>=12352&&t<=12447},Katakana:function(t){return t>=12448&&t<=12543},Bopomofo:function(t){return t>=12544&&t<=12591},"Hangul Compatibility Jamo":function(t){return t>=12592&&t<=12687},Kanbun:function(t){return t>=12688&&t<=12703},"Bopomofo Extended":function(t){return t>=12704&&t<=12735},"CJK Strokes":function(t){return t>=12736&&t<=12783},"Katakana Phonetic Extensions":function(t){return t>=12784&&t<=12799},"Enclosed CJK Letters and Months":function(t){return t>=12800&&t<=13055},"CJK Compatibility":function(t){return t>=13056&&t<=13311},"CJK Unified Ideographs Extension A":function(t){return t>=13312&&t<=19903},"Yijing Hexagram Symbols":function(t){return t>=19904&&t<=19967},"CJK Unified Ideographs":function(t){return t>=19968&&t<=40959},"Yi Syllables":function(t){return t>=40960&&t<=42127},"Yi Radicals":function(t){return t>=42128&&t<=42191},"Hangul Jamo Extended-A":function(t){return t>=43360&&t<=43391},"Hangul Syllables":function(t){return t>=44032&&t<=55215},"Hangul Jamo Extended-B":function(t){return t>=55216&&t<=55295},"Private Use Area":function(t){return t>=57344&&t<=63743},"CJK Compatibility Ideographs":function(t){return t>=63744&&t<=64255},"Arabic Presentation Forms-A":function(t){return t>=64336&&t<=65023},"Vertical Forms":function(t){return t>=65040&&t<=65055},"CJK Compatibility Forms":function(t){return t>=65072&&t<=65103},"Small Form Variants":function(t){return t>=65104&&t<=65135},"Arabic Presentation Forms-B":function(t){return t>=65136&&t<=65279},"Halfwidth and Fullwidth Forms":function(t){return t>=65280&&t<=65519}};function _r(t){for(var e=0,n=t;e=65097&&t<=65103)||fr["CJK Compatibility Ideographs"](t)||fr["CJK Compatibility"](t)||fr["CJK Radicals Supplement"](t)||fr["CJK Strokes"](t)||!(!fr["CJK Symbols and Punctuation"](t)||t>=12296&&t<=12305||t>=12308&&t<=12319||12336===t)||fr["CJK Unified Ideographs Extension A"](t)||fr["CJK Unified Ideographs"](t)||fr["Enclosed CJK Letters and Months"](t)||fr["Hangul Compatibility Jamo"](t)||fr["Hangul Jamo Extended-A"](t)||fr["Hangul Jamo Extended-B"](t)||fr["Hangul Jamo"](t)||fr["Hangul Syllables"](t)||fr.Hiragana(t)||fr["Ideographic Description Characters"](t)||fr.Kanbun(t)||fr["Kangxi Radicals"](t)||fr["Katakana Phonetic Extensions"](t)||fr.Katakana(t)&&12540!==t||!(!fr["Halfwidth and Fullwidth Forms"](t)||65288===t||65289===t||65293===t||t>=65306&&t<=65310||65339===t||65341===t||65343===t||t>=65371&&t<=65503||65507===t||t>=65512&&t<=65519)||!(!fr["Small Form Variants"](t)||t>=65112&&t<=65118||t>=65123&&t<=65126)||fr["Unified Canadian Aboriginal Syllabics"](t)||fr["Unified Canadian Aboriginal Syllabics Extended"](t)||fr["Vertical Forms"](t)||fr["Yijing Hexagram Symbols"](t)||fr["Yi Syllables"](t)||fr["Yi Radicals"](t))))}function mr(t){return!(pr(t)||function(t){return!!(fr["Latin-1 Supplement"](t)&&(167===t||169===t||174===t||177===t||188===t||189===t||190===t||215===t||247===t)||fr["General Punctuation"](t)&&(8214===t||8224===t||8225===t||8240===t||8241===t||8251===t||8252===t||8258===t||8263===t||8264===t||8265===t||8273===t)||fr["Letterlike Symbols"](t)||fr["Number Forms"](t)||fr["Miscellaneous Technical"](t)&&(t>=8960&&t<=8967||t>=8972&&t<=8991||t>=8996&&t<=9e3||9003===t||t>=9085&&t<=9114||t>=9150&&t<=9165||9167===t||t>=9169&&t<=9179||t>=9186&&t<=9215)||fr["Control Pictures"](t)&&9251!==t||fr["Optical Character Recognition"](t)||fr["Enclosed Alphanumerics"](t)||fr["Geometric Shapes"](t)||fr["Miscellaneous Symbols"](t)&&!(t>=9754&&t<=9759)||fr["Miscellaneous Symbols and Arrows"](t)&&(t>=11026&&t<=11055||t>=11088&&t<=11097||t>=11192&&t<=11243)||fr["CJK Symbols and Punctuation"](t)||fr.Katakana(t)||fr["Private Use Area"](t)||fr["CJK Compatibility Forms"](t)||fr["Small Form Variants"](t)||fr["Halfwidth and Fullwidth Forms"](t)||8734===t||8756===t||8757===t||t>=9984&&t<=10087||t>=10102&&t<=10131||65532===t||65533===t)}(t))}function vr(t){return fr.Arabic(t)||fr["Arabic Supplement"](t)||fr["Arabic Extended-A"](t)||fr["Arabic Presentation Forms-A"](t)||fr["Arabic Presentation Forms-B"](t)}function gr(t){return t>=1424&&t<=2303||fr["Arabic Presentation Forms-A"](t)||fr["Arabic Presentation Forms-B"](t)}function yr(t,e){return!(!e&&gr(t)||t>=2304&&t<=3583||t>=3840&&t<=4255||fr.Khmer(t))}function br(t){for(var e=0,n=t;e-1&&(Ar=Cr),Tr&&Tr(t)};function kr(){Nr.fire(new Mt("pluginStateChange",{pluginStatus:Ar,pluginURL:Sr}))}var Nr=new Rt,Ir=function(){return Ar},Or=function(){if(Ar!==wr||!Sr)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");Ar=Er,kr(),Sr&&At({url:Sr},(function(t){t?zr(t):(Ar=xr,kr())}))},Lr={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return Ar===xr||null!=Lr.applyArabicShaping},isLoading:function(){return Ar===Er},setState:function(t){Ar=t.pluginStatus,Sr=t.pluginURL},isParsed:function(){return null!=Lr.applyArabicShaping&&null!=Lr.processBidirectionalText&&null!=Lr.processStyledBidirectionalText},getPluginURL:function(){return Sr}},Mr=function(t,e){this.zoom=t,e?(this.now=e.now,this.fadeDuration=e.fadeDuration,this.zoomHistory=e.zoomHistory,this.transition=e.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new dr,this.transition={})};Mr.prototype.isSupportedScript=function(t){return function(t,e){for(var n=0,i=t;nthis.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:e+(1-e)*n}:{fromScale:.5,toScale:1,t:1-(1-n)*e}};var $r=function(t,e){this.property=t,this.value=e,this.expression=function(t,e){if(ei(t))return new pi(t,e);if(ci(t)){var n=_i(t,e);if("error"===n.result)throw new Error(n.value.map((function(t){return t.key+": "+t.message})).join(", "));return n.value}var i=t;return"string"==typeof t&&"color"===e.type&&(i=ue.parse(t)),{kind:"constant",evaluate:function(){return i}}}(void 0===e?t.specification.default:e,t.specification)};$r.prototype.isDataDriven=function(){return"source"===this.expression.kind||"composite"===this.expression.kind},$r.prototype.possiblyEvaluate=function(t,e,n){return this.property.possiblyEvaluate(this,t,e,n)};var Rr=function(t){this.property=t,this.value=new $r(t,void 0)};Rr.prototype.transitioned=function(t,e){return new Ur(this.property,this.value,e,f({},t.transition,this.transition),t.now)},Rr.prototype.untransitioned=function(){return new Ur(this.property,this.value,null,{},0)};var Pr=function(t){this._properties=t,this._values=Object.create(t.defaultTransitionablePropertyValues)};Pr.prototype.getValue=function(t){return E(this._values[t].value.value)},Pr.prototype.setValue=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new Rr(this._values[t].property)),this._values[t].value=new $r(this._values[t].property,null===e?void 0:E(e))},Pr.prototype.getTransition=function(t){return E(this._values[t].transition)},Pr.prototype.setTransition=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new Rr(this._values[t].property)),this._values[t].transition=E(e)||void 0},Pr.prototype.serialize=function(){for(var t={},e=0,n=Object.keys(this._values);ethis.end)return this.prior=null,r;if(this.value.isDataDriven())return this.prior=null,r;if(i=1)return 1;var e=t*t,n=e*t;return 4*(t<.5?n:3*(t-e)+n-.75)}(a))}return r};var jr=function(t){this._properties=t,this._values=Object.create(t.defaultTransitioningPropertyValues)};jr.prototype.possiblyEvaluate=function(t,e,n){for(var i=new Br(this._properties),r=0,o=Object.keys(this._values);ri.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:n,to:e}},e.prototype.interpolate=function(t){return t},e}(Wr),Hr=function(t){this.specification=t};Hr.prototype.possiblyEvaluate=function(t,e,n,i){if(void 0!==t.value){if("constant"===t.expression.kind){var r=t.expression.evaluate(e,null,{},n,i);return this._calculate(r,r,r,e)}return this._calculate(t.expression.evaluate(new Mr(Math.floor(e.zoom-1),e)),t.expression.evaluate(new Mr(Math.floor(e.zoom),e)),t.expression.evaluate(new Mr(Math.floor(e.zoom+1),e)),e)}},Hr.prototype._calculate=function(t,e,n,i){return i.zoom>i.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:n,to:e}},Hr.prototype.interpolate=function(t){return t};var Vr=function(t){this.specification=t};Vr.prototype.possiblyEvaluate=function(t,e,n,i){return!!t.expression.evaluate(e,null,{},n,i)},Vr.prototype.interpolate=function(){return!1};var Xr=function(t){for(var e in this.properties=t,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],t){var n=t[e];n.specification.overridable&&this.overridableProperties.push(e);var i=this.defaultPropertyValues[e]=new $r(n,void 0),r=this.defaultTransitionablePropertyValues[e]=new Rr(n);this.defaultTransitioningPropertyValues[e]=r.untransitioned(),this.defaultPossiblyEvaluatedValues[e]=i.possiblyEvaluate({})}};ar("DataDrivenProperty",Wr),ar("DataConstantProperty",Fr),ar("CrossFadedDataDrivenProperty",Gr),ar("CrossFadedProperty",Hr),ar("ColorRampProperty",Vr);var Jr="-transition",Zr=function(t){function e(e,n){if(t.call(this),this.id=e.id,this.type=e.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},"custom"!==e.type&&(this.metadata=e.metadata,this.minzoom=e.minzoom,this.maxzoom=e.maxzoom,"background"!==e.type&&(this.source=e.source,this.sourceLayer=e["source-layer"],this.filter=e.filter),n.layout&&(this._unevaluatedLayout=new qr(n.layout)),n.paint)){for(var i in this._transitionablePaint=new Pr(n.paint),e.paint)this.setPaintProperty(i,e.paint[i],{validate:!1});for(var r in e.layout)this.setLayoutProperty(r,e.layout[r],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new Br(n.paint)}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},e.prototype.getLayoutProperty=function(t){return"visibility"===t?this.visibility:this._unevaluatedLayout.getValue(t)},e.prototype.setLayoutProperty=function(t,e,n){if(void 0===n&&(n={}),null!=e){var i="layers."+this.id+".layout."+t;if(this._validate(Ki,i,t,e,n))return}"visibility"!==t?this._unevaluatedLayout.setValue(t,e):this.visibility=e},e.prototype.getPaintProperty=function(t){return y(t,Jr)?this._transitionablePaint.getTransition(t.slice(0,-11)):this._transitionablePaint.getValue(t)},e.prototype.setPaintProperty=function(t,e,n){if(void 0===n&&(n={}),null!=e){var i="layers."+this.id+".paint."+t;if(this._validate(Yi,i,t,e,n))return!1}if(y(t,Jr))return this._transitionablePaint.setTransition(t.slice(0,-11),e||void 0),!1;var r=this._transitionablePaint._values[t],o="cross-faded-data-driven"===r.property.specification["property-type"],a=r.value.isDataDriven(),s=r.value;this._transitionablePaint.setValue(t,e),this._handleSpecialPaintPropertyUpdate(t);var l=this._transitionablePaint._values[t].value;return l.isDataDriven()||a||o||this._handleOverridablePaintPropertyUpdate(t,s,l)},e.prototype._handleSpecialPaintPropertyUpdate=function(t){},e.prototype._handleOverridablePaintPropertyUpdate=function(t,e,n){return!1},e.prototype.isHidden=function(t){return!!(this.minzoom&&t=this.maxzoom)||"none"===this.visibility},e.prototype.updateTransitions=function(t){this._transitioningPaint=this._transitionablePaint.transitioned(t,this._transitioningPaint)},e.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},e.prototype.recalculate=function(t,e){t.getCrossfadeParameters&&(this._crossfadeParameters=t.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(t,void 0,e)),this.paint=this._transitioningPaint.possiblyEvaluate(t,void 0,e)},e.prototype.serialize=function(){var t={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(t.layout=t.layout||{},t.layout.visibility=this.visibility),w(t,(function(t,e){return!(void 0===t||"layout"===e&&!Object.keys(t).length||"paint"===e&&!Object.keys(t).length)}))},e.prototype._validate=function(t,e,n,i,r){return void 0===r&&(r={}),(!r||!1!==r.validate)&&Qi(this,t.call(Ji,{key:e,layerType:this.type,objectKey:n,value:i,styleSpec:Pt,style:{glyphs:!0,sprite:!0}}))},e.prototype.is3D=function(){return!1},e.prototype.isTileClipped=function(){return!1},e.prototype.hasOffscreenPass=function(){return!1},e.prototype.resize=function(){},e.prototype.isStateDependent=function(){for(var t in this.paint._values){var e=this.paint.get(t);if(e instanceof Dr&&Yn(e.property.specification)&&("source"===e.value.kind||"composite"===e.value.kind)&&e.value.isStateDependent)return!0}return!1},e}(Rt),Yr={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},Kr=function(t,e){this._structArray=t,this._pos1=e*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},Qr=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function to(t,e){void 0===e&&(e=1);var n=0,i=0;return{members:t.map((function(t){var r,o=(r=t.type,Yr[r].BYTES_PER_ELEMENT),a=n=eo(n,Math.max(e,o)),s=t.components||1;return i=Math.max(i,o),n+=o*s,{name:t.name,type:t.type,components:s,offset:a}})),size:eo(n,Math.max(i,e)),alignment:e}}function eo(t,e){return Math.ceil(t/e)*e}Qr.serialize=function(t,e){return t._trim(),e&&(t.isTransferred=!0,e.push(t.arrayBuffer)),{length:t.length,arrayBuffer:t.arrayBuffer}},Qr.deserialize=function(t){var e=Object.create(this.prototype);return e.arrayBuffer=t.arrayBuffer,e.length=t.length,e.capacity=t.arrayBuffer.byteLength/e.bytesPerElement,e._refreshViews(),e},Qr.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Qr.prototype.clear=function(){this.length=0},Qr.prototype.resize=function(t){this.reserve(t),this.length=t},Qr.prototype.reserve=function(t){if(t>this.capacity){this.capacity=Math.max(t,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var e=this.uint8;this._refreshViews(),e&&this.uint8.set(e)}},Qr.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var no=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var n=this.length;return this.resize(n+1),this.emplace(n,t,e)},e.prototype.emplace=function(t,e,n){var i=2*t;return this.int16[i+0]=e,this.int16[i+1]=n,t},e}(Qr);no.prototype.bytesPerElement=4,ar("StructArrayLayout2i4",no);var io=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,i){var r=this.length;return this.resize(r+1),this.emplace(r,t,e,n,i)},e.prototype.emplace=function(t,e,n,i,r){var o=4*t;return this.int16[o+0]=e,this.int16[o+1]=n,this.int16[o+2]=i,this.int16[o+3]=r,t},e}(Qr);io.prototype.bytesPerElement=8,ar("StructArrayLayout4i8",io);var ro=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,i,r,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,n,i,r,o)},e.prototype.emplace=function(t,e,n,i,r,o,a){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=n,this.int16[s+2]=i,this.int16[s+3]=r,this.int16[s+4]=o,this.int16[s+5]=a,t},e}(Qr);ro.prototype.bytesPerElement=12,ar("StructArrayLayout2i4i12",ro);var oo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,i,r,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,n,i,r,o)},e.prototype.emplace=function(t,e,n,i,r,o,a){var s=4*t,l=8*t;return this.int16[s+0]=e,this.int16[s+1]=n,this.uint8[l+4]=i,this.uint8[l+5]=r,this.uint8[l+6]=o,this.uint8[l+7]=a,t},e}(Qr);oo.prototype.bytesPerElement=8,ar("StructArrayLayout2i4ub8",oo);var ao=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var n=this.length;return this.resize(n+1),this.emplace(n,t,e)},e.prototype.emplace=function(t,e,n){var i=2*t;return this.float32[i+0]=e,this.float32[i+1]=n,t},e}(Qr);ao.prototype.bytesPerElement=8,ar("StructArrayLayout2f8",ao);var so=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,i,r,o,a,s,l,u){var c=this.length;return this.resize(c+1),this.emplace(c,t,e,n,i,r,o,a,s,l,u)},e.prototype.emplace=function(t,e,n,i,r,o,a,s,l,u,c){var h=10*t;return this.uint16[h+0]=e,this.uint16[h+1]=n,this.uint16[h+2]=i,this.uint16[h+3]=r,this.uint16[h+4]=o,this.uint16[h+5]=a,this.uint16[h+6]=s,this.uint16[h+7]=l,this.uint16[h+8]=u,this.uint16[h+9]=c,t},e}(Qr);so.prototype.bytesPerElement=20,ar("StructArrayLayout10ui20",so);var lo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,i,r,o,a,s,l,u,c,h){var d=this.length;return this.resize(d+1),this.emplace(d,t,e,n,i,r,o,a,s,l,u,c,h)},e.prototype.emplace=function(t,e,n,i,r,o,a,s,l,u,c,h,d){var f=12*t;return this.int16[f+0]=e,this.int16[f+1]=n,this.int16[f+2]=i,this.int16[f+3]=r,this.uint16[f+4]=o,this.uint16[f+5]=a,this.uint16[f+6]=s,this.uint16[f+7]=l,this.int16[f+8]=u,this.int16[f+9]=c,this.int16[f+10]=h,this.int16[f+11]=d,t},e}(Qr);lo.prototype.bytesPerElement=24,ar("StructArrayLayout4i4ui4i24",lo);var uo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,n)},e.prototype.emplace=function(t,e,n,i){var r=3*t;return this.float32[r+0]=e,this.float32[r+1]=n,this.float32[r+2]=i,t},e}(Qr);uo.prototype.bytesPerElement=12,ar("StructArrayLayout3f12",uo);var co=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var n=1*t;return this.uint32[n+0]=e,t},e}(Qr);co.prototype.bytesPerElement=4,ar("StructArrayLayout1ul4",co);var ho=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,i,r,o,a,s,l){var u=this.length;return this.resize(u+1),this.emplace(u,t,e,n,i,r,o,a,s,l)},e.prototype.emplace=function(t,e,n,i,r,o,a,s,l,u){var c=10*t,h=5*t;return this.int16[c+0]=e,this.int16[c+1]=n,this.int16[c+2]=i,this.int16[c+3]=r,this.int16[c+4]=o,this.int16[c+5]=a,this.uint32[h+3]=s,this.uint16[c+8]=l,this.uint16[c+9]=u,t},e}(Qr);ho.prototype.bytesPerElement=20,ar("StructArrayLayout6i1ul2ui20",ho);var fo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,i,r,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,n,i,r,o)},e.prototype.emplace=function(t,e,n,i,r,o,a){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=n,this.int16[s+2]=i,this.int16[s+3]=r,this.int16[s+4]=o,this.int16[s+5]=a,t},e}(Qr);fo.prototype.bytesPerElement=12,ar("StructArrayLayout2i2i2i12",fo);var _o=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,i,r){var o=this.length;return this.resize(o+1),this.emplace(o,t,e,n,i,r)},e.prototype.emplace=function(t,e,n,i,r,o){var a=4*t,s=8*t;return this.float32[a+0]=e,this.float32[a+1]=n,this.float32[a+2]=i,this.int16[s+6]=r,this.int16[s+7]=o,t},e}(Qr);_o.prototype.bytesPerElement=16,ar("StructArrayLayout2f1f2i16",_o);var po=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,i){var r=this.length;return this.resize(r+1),this.emplace(r,t,e,n,i)},e.prototype.emplace=function(t,e,n,i,r){var o=12*t,a=3*t;return this.uint8[o+0]=e,this.uint8[o+1]=n,this.float32[a+1]=i,this.float32[a+2]=r,t},e}(Qr);po.prototype.bytesPerElement=12,ar("StructArrayLayout2ub2f12",po);var mo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,n)},e.prototype.emplace=function(t,e,n,i){var r=3*t;return this.uint16[r+0]=e,this.uint16[r+1]=n,this.uint16[r+2]=i,t},e}(Qr);mo.prototype.bytesPerElement=6,ar("StructArrayLayout3ui6",mo);var vo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,i,r,o,a,s,l,u,c,h,d,f,_,p,m){var v=this.length;return this.resize(v+1),this.emplace(v,t,e,n,i,r,o,a,s,l,u,c,h,d,f,_,p,m)},e.prototype.emplace=function(t,e,n,i,r,o,a,s,l,u,c,h,d,f,_,p,m,v){var g=24*t,y=12*t,b=48*t;return this.int16[g+0]=e,this.int16[g+1]=n,this.uint16[g+2]=i,this.uint16[g+3]=r,this.uint32[y+2]=o,this.uint32[y+3]=a,this.uint32[y+4]=s,this.uint16[g+10]=l,this.uint16[g+11]=u,this.uint16[g+12]=c,this.float32[y+7]=h,this.float32[y+8]=d,this.uint8[b+36]=f,this.uint8[b+37]=_,this.uint8[b+38]=p,this.uint32[y+10]=m,this.int16[g+22]=v,t},e}(Qr);vo.prototype.bytesPerElement=48,ar("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",vo);var go=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,i,r,o,a,s,l,u,c,h,d,f,_,p,m,v,g,y,b,w,E,x,C,T,A,S){var z=this.length;return this.resize(z+1),this.emplace(z,t,e,n,i,r,o,a,s,l,u,c,h,d,f,_,p,m,v,g,y,b,w,E,x,C,T,A,S)},e.prototype.emplace=function(t,e,n,i,r,o,a,s,l,u,c,h,d,f,_,p,m,v,g,y,b,w,E,x,C,T,A,S,z){var k=34*t,N=17*t;return this.int16[k+0]=e,this.int16[k+1]=n,this.int16[k+2]=i,this.int16[k+3]=r,this.int16[k+4]=o,this.int16[k+5]=a,this.int16[k+6]=s,this.int16[k+7]=l,this.uint16[k+8]=u,this.uint16[k+9]=c,this.uint16[k+10]=h,this.uint16[k+11]=d,this.uint16[k+12]=f,this.uint16[k+13]=_,this.uint16[k+14]=p,this.uint16[k+15]=m,this.uint16[k+16]=v,this.uint16[k+17]=g,this.uint16[k+18]=y,this.uint16[k+19]=b,this.uint16[k+20]=w,this.uint16[k+21]=E,this.uint16[k+22]=x,this.uint32[N+12]=C,this.float32[N+13]=T,this.float32[N+14]=A,this.float32[N+15]=S,this.float32[N+16]=z,t},e}(Qr);go.prototype.bytesPerElement=68,ar("StructArrayLayout8i15ui1ul4f68",go);var yo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var n=1*t;return this.float32[n+0]=e,t},e}(Qr);yo.prototype.bytesPerElement=4,ar("StructArrayLayout1f4",yo);var bo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,n)},e.prototype.emplace=function(t,e,n,i){var r=3*t;return this.int16[r+0]=e,this.int16[r+1]=n,this.int16[r+2]=i,t},e}(Qr);bo.prototype.bytesPerElement=6,ar("StructArrayLayout3i6",bo);var wo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,n)},e.prototype.emplace=function(t,e,n,i){var r=2*t,o=4*t;return this.uint32[r+0]=e,this.uint16[o+2]=n,this.uint16[o+3]=i,t},e}(Qr);wo.prototype.bytesPerElement=8,ar("StructArrayLayout1ul2ui8",wo);var Eo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var n=this.length;return this.resize(n+1),this.emplace(n,t,e)},e.prototype.emplace=function(t,e,n){var i=2*t;return this.uint16[i+0]=e,this.uint16[i+1]=n,t},e}(Qr);Eo.prototype.bytesPerElement=4,ar("StructArrayLayout2ui4",Eo);var xo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var n=1*t;return this.uint16[n+0]=e,t},e}(Qr);xo.prototype.bytesPerElement=2,ar("StructArrayLayout1ui2",xo);var Co=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,n,i){var r=this.length;return this.resize(r+1),this.emplace(r,t,e,n,i)},e.prototype.emplace=function(t,e,n,i,r){var o=4*t;return this.float32[o+0]=e,this.float32[o+1]=n,this.float32[o+2]=i,this.float32[o+3]=r,t},e}(Qr);Co.prototype.bytesPerElement=16,ar("StructArrayLayout4f16",Co);var To=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return n.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},n.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},n.x1.get=function(){return this._structArray.int16[this._pos2+2]},n.y1.get=function(){return this._structArray.int16[this._pos2+3]},n.x2.get=function(){return this._structArray.int16[this._pos2+4]},n.y2.get=function(){return this._structArray.int16[this._pos2+5]},n.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},n.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},n.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},n.anchorPoint.get=function(){return new o(this.anchorPointX,this.anchorPointY)},Object.defineProperties(e.prototype,n),e}(Kr);To.prototype.size=20;var Ao=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new To(this,t)},e}(ho);ar("CollisionBoxArray",Ao);var So=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return n.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},n.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},n.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},n.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},n.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},n.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},n.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},n.segment.get=function(){return this._structArray.uint16[this._pos2+10]},n.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},n.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},n.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},n.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},n.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},n.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},n.placedOrientation.set=function(t){this._structArray.uint8[this._pos1+37]=t},n.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},n.hidden.set=function(t){this._structArray.uint8[this._pos1+38]=t},n.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},n.crossTileID.set=function(t){this._structArray.uint32[this._pos4+10]=t},n.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(e.prototype,n),e}(Kr);So.prototype.size=48;var zo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new So(this,t)},e}(vo);ar("PlacedSymbolArray",zo);var ko=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return n.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},n.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},n.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},n.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},n.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},n.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},n.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},n.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},n.key.get=function(){return this._structArray.uint16[this._pos2+8]},n.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},n.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},n.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},n.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},n.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},n.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},n.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},n.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},n.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},n.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},n.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},n.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},n.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},n.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},n.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},n.crossTileID.set=function(t){this._structArray.uint32[this._pos4+12]=t},n.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},n.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},n.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},n.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(e.prototype,n),e}(Kr);ko.prototype.size=68;var No=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new ko(this,t)},e}(go);ar("SymbolInstanceArray",No);var Io=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getoffsetX=function(t){return this.float32[1*t+0]},e}(yo);ar("GlyphOffsetArray",Io);var Oo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getx=function(t){return this.int16[3*t+0]},e.prototype.gety=function(t){return this.int16[3*t+1]},e.prototype.gettileUnitDistanceFromAnchor=function(t){return this.int16[3*t+2]},e}(bo);ar("SymbolLineVertexArray",Oo);var Lo=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return n.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},n.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},n.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(e.prototype,n),e}(Kr);Lo.prototype.size=8;var Mo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new Lo(this,t)},e}(wo);ar("FeatureIndexArray",Mo);var $o=to([{name:"a_pos",components:2,type:"Int16"}],4).members,Ro=function(t){void 0===t&&(t=[]),this.segments=t};function Po(t,e){return 256*(t=h(Math.floor(t),0,255))+h(Math.floor(e),0,255)}Ro.prototype.prepareSegment=function(t,e,n,i){var r=this.segments[this.segments.length-1];return t>Ro.MAX_VERTEX_ARRAY_LENGTH&&C("Max vertices per segment is "+Ro.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+t),(!r||r.vertexLength+t>Ro.MAX_VERTEX_ARRAY_LENGTH||r.sortKey!==i)&&(r={vertexOffset:e.length,primitiveOffset:n.length,vertexLength:0,primitiveLength:0},void 0!==i&&(r.sortKey=i),this.segments.push(r)),r},Ro.prototype.get=function(){return this.segments},Ro.prototype.destroy=function(){for(var t=0,e=this.segments;t>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<13|r>>>19))+((5*(r>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(l=0,n){case 3:l^=(255&t.charCodeAt(u+2))<<16;case 2:l^=(255&t.charCodeAt(u+1))<<8;case 1:r^=l=(65535&(l=(l=(65535&(l^=255&t.charCodeAt(u)))*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295}return r^=t.length,r=2246822507*(65535&(r^=r>>>16))+((2246822507*(r>>>16)&65535)<<16)&4294967295,r=3266489909*(65535&(r^=r>>>13))+((3266489909*(r>>>16)&65535)<<16)&4294967295,(r^=r>>>16)>>>0}})),qo=e((function(t){t.exports=function(t,e){for(var n,i=t.length,r=e^i,o=0;i>=4;)n=1540483477*(65535&(n=255&t.charCodeAt(o)|(255&t.charCodeAt(++o))<<8|(255&t.charCodeAt(++o))<<16|(255&t.charCodeAt(++o))<<24))+((1540483477*(n>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),i-=4,++o;switch(i){case 3:r^=(255&t.charCodeAt(o+2))<<16;case 2:r^=(255&t.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&t.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),(r^=r>>>15)>>>0}})),Do=jo,Bo=jo,Fo=qo;Do.murmur3=Bo,Do.murmur2=Fo;var Wo=function(){this.ids=[],this.positions=[],this.indexed=!1};Wo.prototype.add=function(t,e,n,i){this.ids.push(Ho(t)),this.positions.push(e,n,i)},Wo.prototype.getPositions=function(t){for(var e=Ho(t),n=0,i=this.ids.length-1;n>1;this.ids[r]>=e?i=r:n=r+1}for(var o=[];this.ids[n]===e;){var a=this.positions[3*n],s=this.positions[3*n+1],l=this.positions[3*n+2];o.push({index:a,start:s,end:l}),n++}return o},Wo.serialize=function(t,e){var n=new Float64Array(t.ids),i=new Uint32Array(t.positions);return Vo(n,i,0,n.length-1),e&&e.push(n.buffer,i.buffer),{ids:n,positions:i}},Wo.deserialize=function(t){var e=new Wo;return e.ids=t.ids,e.positions=t.positions,e.indexed=!0,e};var Go=Math.pow(2,53)-1;function Ho(t){var e=+t;return!isNaN(e)&&e<=Go?e:Do(String(t))}function Vo(t,e,n,i){for(;n>1],o=n-1,a=i+1;;){do{o++}while(t[o]r);if(o>=a)break;Xo(t,o,a),Xo(e,3*o,3*a),Xo(e,3*o+1,3*a+1),Xo(e,3*o+2,3*a+2)}a-na.x+1||la.y+1)&&C("Geometry exceeds allowed extent, reduce your vector tile buffer size")}return n}function ga(t,e){return{type:t.type,id:t.id,properties:t.properties,geometry:e?va(t):[]}}function ya(t,e,n,i,r){t.emplaceBack(2*e+(i+1)/2,2*n+(r+1)/2)}var ba=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new no,this.indexArray=new mo,this.segments=new Ro,this.programConfigurations=new ha(t.layers,t.zoom),this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};function wa(t,e){for(var n=0;n1){if(Ta(t,e))return!0;for(var i=0;i1?t.distSqr(n):t.distSqr(n.sub(e)._mult(r)._add(e))}function ka(t,e){for(var n,i,r,o=!1,a=0;ae.y!=r.y>e.y&&e.x<(r.x-i.x)*(e.y-i.y)/(r.y-i.y)+i.x&&(o=!o);return o}function Na(t,e){for(var n=!1,i=0,r=t.length-1;ie.y!=a.y>e.y&&e.x<(a.x-o.x)*(e.y-o.y)/(a.y-o.y)+o.x&&(n=!n)}return n}function Ia(t,e,n){var i=n[0],r=n[2];if(t.xr.x&&e.x>r.x||t.yr.y&&e.y>r.y)return!1;var o=T(t,e,n[0]);return o!==T(t,e,n[1])||o!==T(t,e,n[2])||o!==T(t,e,n[3])}function Oa(t,e,n){var i=e.paint.get(t).value;return"constant"===i.kind?i.value:n.programConfigurations.get(e.id).getMaxValue(t)}function La(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function Ma(t,e,n,i,r){if(!e[0]&&!e[1])return t;var a=o.convert(e)._mult(r);"viewport"===n&&a._rotate(-i);for(var s=[],l=0;l=_a||c<0||c>=_a)){var h=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,t.sortKey),d=h.vertexLength;ya(this.layoutVertexArray,u,c,-1,-1),ya(this.layoutVertexArray,u,c,1,-1),ya(this.layoutVertexArray,u,c,1,1),ya(this.layoutVertexArray,u,c,-1,1),this.indexArray.emplaceBack(d,d+1,d+2),this.indexArray.emplaceBack(d,d+3,d+2),h.vertexLength+=4,h.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,n,{},i)},ar("CircleBucket",ba,{omit:["layers"]});var $a=new Xr({"circle-sort-key":new Wr(Pt.layout_circle["circle-sort-key"])}),Ra={paint:new Xr({"circle-radius":new Wr(Pt.paint_circle["circle-radius"]),"circle-color":new Wr(Pt.paint_circle["circle-color"]),"circle-blur":new Wr(Pt.paint_circle["circle-blur"]),"circle-opacity":new Wr(Pt.paint_circle["circle-opacity"]),"circle-translate":new Fr(Pt.paint_circle["circle-translate"]),"circle-translate-anchor":new Fr(Pt.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Fr(Pt.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Fr(Pt.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new Wr(Pt.paint_circle["circle-stroke-width"]),"circle-stroke-color":new Wr(Pt.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new Wr(Pt.paint_circle["circle-stroke-opacity"])}),layout:$a},Pa="undefined"!=typeof Float32Array?Float32Array:Array;function Ua(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function ja(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],h=e[8],d=e[9],f=e[10],_=e[11],p=e[12],m=e[13],v=e[14],g=e[15],y=n[0],b=n[1],w=n[2],E=n[3];return t[0]=y*i+b*s+w*h+E*p,t[1]=y*r+b*l+w*d+E*m,t[2]=y*o+b*u+w*f+E*v,t[3]=y*a+b*c+w*_+E*g,y=n[4],b=n[5],w=n[6],E=n[7],t[4]=y*i+b*s+w*h+E*p,t[5]=y*r+b*l+w*d+E*m,t[6]=y*o+b*u+w*f+E*v,t[7]=y*a+b*c+w*_+E*g,y=n[8],b=n[9],w=n[10],E=n[11],t[8]=y*i+b*s+w*h+E*p,t[9]=y*r+b*l+w*d+E*m,t[10]=y*o+b*u+w*f+E*v,t[11]=y*a+b*c+w*_+E*g,y=n[12],b=n[13],w=n[14],E=n[15],t[12]=y*i+b*s+w*h+E*p,t[13]=y*r+b*l+w*d+E*m,t[14]=y*o+b*u+w*f+E*v,t[15]=y*a+b*c+w*_+E*g,t}Math.hypot||(Math.hypot=function(){for(var t=arguments,e=0,n=arguments.length;n--;)e+=t[n]*t[n];return Math.sqrt(e)});var qa=ja;var Da,Ba=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t};function Fa(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3];return t[0]=n[0]*i+n[4]*r+n[8]*o+n[12]*a,t[1]=n[1]*i+n[5]*r+n[9]*o+n[13]*a,t[2]=n[2]*i+n[6]*r+n[10]*o+n[14]*a,t[3]=n[3]*i+n[7]*r+n[11]*o+n[15]*a,t}Da=new Pa(3),Pa!=Float32Array&&(Da[0]=0,Da[1]=0,Da[2]=0),function(){var t=new Pa(4);Pa!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0)}();var Wa=function(t){var e=t[0],n=t[1];return e*e+n*n},Ga=(function(){var t=new Pa(2);Pa!=Float32Array&&(t[0]=0,t[1]=0)}(),function(t){function e(e){t.call(this,e,Ra)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new ba(t)},e.prototype.queryRadius=function(t){var e=t;return Oa("circle-radius",this,e)+Oa("circle-stroke-width",this,e)+La(this.paint.get("circle-translate"))},e.prototype.queryIntersectsFeature=function(t,e,n,i,r,o,a,s){for(var l=Ma(t,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),o.angle,a),u=this.paint.get("circle-radius").evaluate(e,n)+this.paint.get("circle-stroke-width").evaluate(e,n),c="map"===this.paint.get("circle-pitch-alignment"),h=c?l:function(t,e){return t.map((function(t){return Ha(t,e)}))}(l,s),d=c?u*a:u,f=0,_=i;f<_.length;f+=1)for(var p=0,m=_[f];pt.width||r.height>t.height||n.x>t.width-r.width||n.y>t.height-r.height)throw new RangeError("out of range source coordinates for image copy");if(r.width>e.width||r.height>e.height||i.x>e.width-r.width||i.y>e.height-r.height)throw new RangeError("out of range destination coordinates for image copy");for(var a=t.data,s=e.data,l=0;l80*n){i=o=t[0],r=a=t[1];for(var _=n;_o&&(o=s),l>a&&(a=l);u=0!==(u=Math.max(o-i,a-r))?1/u:0}return cs(d,f,n,i,r,u),f}function ls(t,e,n,i,r){var o,a;if(r===Os(t,e,n,i)>0)for(o=e;o=e;o-=i)a=ks(o,t[o],t[o+1],a);return a&&xs(a,a.next)&&(Ns(a),a=a.next),a}function us(t,e){if(!t)return t;e||(e=t);var n,i=t;do{if(n=!1,i.steiner||!xs(i,i.next)&&0!==Es(i.prev,i,i.next))i=i.next;else{if(Ns(i),(i=e=i.prev)===i.next)break;n=!0}}while(n||i!==e);return e}function cs(t,e,n,i,r,o,a){if(t){!a&&o&&function(t,e,n,i){var r=t;do{null===r.z&&(r.z=gs(r.x,r.y,e,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next}while(r!==t);r.prevZ.nextZ=null,r.prevZ=null,function(t){var e,n,i,r,o,a,s,l,u=1;do{for(n=t,t=null,o=null,a=0;n;){for(a++,i=n,s=0,e=0;e0||l>0&&i;)0!==s&&(0===l||!i||n.z<=i.z)?(r=n,n=n.nextZ,s--):(r=i,i=i.nextZ,l--),o?o.nextZ=r:t=r,r.prevZ=o,o=r;n=i}o.nextZ=null,u*=2}while(a>1)}(r)}(t,i,r,o);for(var s,l,u=t;t.prev!==t.next;)if(s=t.prev,l=t.next,o?ds(t,i,r,o):hs(t))e.push(s.i/n),e.push(t.i/n),e.push(l.i/n),Ns(t),t=l.next,u=l.next;else if((t=l)===u){a?1===a?cs(t=fs(us(t),e,n),e,n,i,r,o,2):2===a&&_s(t,e,n,i,r,o):cs(us(t),e,n,i,r,o,1);break}}}function hs(t){var e=t.prev,n=t,i=t.next;if(Es(e,n,i)>=0)return!1;for(var r=t.next.next;r!==t.prev;){if(bs(e.x,e.y,n.x,n.y,i.x,i.y,r.x,r.y)&&Es(r.prev,r,r.next)>=0)return!1;r=r.next}return!0}function ds(t,e,n,i){var r=t.prev,o=t,a=t.next;if(Es(r,o,a)>=0)return!1;for(var s=r.xo.x?r.x>a.x?r.x:a.x:o.x>a.x?o.x:a.x,c=r.y>o.y?r.y>a.y?r.y:a.y:o.y>a.y?o.y:a.y,h=gs(s,l,e,n,i),d=gs(u,c,e,n,i),f=t.prevZ,_=t.nextZ;f&&f.z>=h&&_&&_.z<=d;){if(f!==t.prev&&f!==t.next&&bs(r.x,r.y,o.x,o.y,a.x,a.y,f.x,f.y)&&Es(f.prev,f,f.next)>=0)return!1;if(f=f.prevZ,_!==t.prev&&_!==t.next&&bs(r.x,r.y,o.x,o.y,a.x,a.y,_.x,_.y)&&Es(_.prev,_,_.next)>=0)return!1;_=_.nextZ}for(;f&&f.z>=h;){if(f!==t.prev&&f!==t.next&&bs(r.x,r.y,o.x,o.y,a.x,a.y,f.x,f.y)&&Es(f.prev,f,f.next)>=0)return!1;f=f.prevZ}for(;_&&_.z<=d;){if(_!==t.prev&&_!==t.next&&bs(r.x,r.y,o.x,o.y,a.x,a.y,_.x,_.y)&&Es(_.prev,_,_.next)>=0)return!1;_=_.nextZ}return!0}function fs(t,e,n){var i=t;do{var r=i.prev,o=i.next.next;!xs(r,o)&&Cs(r,i,i.next,o)&&Ss(r,o)&&Ss(o,r)&&(e.push(r.i/n),e.push(i.i/n),e.push(o.i/n),Ns(i),Ns(i.next),i=t=o),i=i.next}while(i!==t);return us(i)}function _s(t,e,n,i,r,o){var a=t;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&ws(a,s)){var l=zs(a,s);return a=us(a,a.next),l=us(l,l.next),cs(a,e,n,i,r,o),void cs(l,e,n,i,r,o)}s=s.next}a=a.next}while(a!==t)}function ps(t,e){return t.x-e.x}function ms(t,e){if(e=function(t,e){var n,i=e,r=t.x,o=t.y,a=-1/0;do{if(o<=i.y&&o>=i.next.y&&i.next.y!==i.y){var s=i.x+(o-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(s<=r&&s>a){if(a=s,s===r){if(o===i.y)return i;if(o===i.next.y)return i.next}n=i.x=i.x&&i.x>=c&&r!==i.x&&bs(on.x||i.x===n.x&&vs(n,i)))&&(n=i,d=l)),i=i.next}while(i!==u);return n}(t,e)){var n=zs(e,t);us(e,e.next),us(n,n.next)}}function vs(t,e){return Es(t.prev,t,e.prev)<0&&Es(e.next,t,t.next)<0}function gs(t,e,n,i,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*r)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-i)*r)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function ys(t){var e=t,n=t;do{(e.x=0&&(t-a)*(i-s)-(n-a)*(e-s)>=0&&(n-a)*(o-s)-(r-a)*(i-s)>=0}function ws(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&Cs(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&(Ss(t,e)&&Ss(e,t)&&function(t,e){var n=t,i=!1,r=(t.x+e.x)/2,o=(t.y+e.y)/2;do{n.y>o!=n.next.y>o&&n.next.y!==n.y&&r<(n.next.x-n.x)*(o-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next}while(n!==t);return i}(t,e)&&(Es(t.prev,t,e.prev)||Es(t,e.prev,e))||xs(t,e)&&Es(t.prev,t,t.next)>0&&Es(e.prev,e,e.next)>0)}function Es(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function xs(t,e){return t.x===e.x&&t.y===e.y}function Cs(t,e,n,i){var r=As(Es(t,e,n)),o=As(Es(t,e,i)),a=As(Es(n,i,t)),s=As(Es(n,i,e));return r!==o&&a!==s||!(0!==r||!Ts(t,n,e))||!(0!==o||!Ts(t,i,e))||!(0!==a||!Ts(n,t,i))||!(0!==s||!Ts(n,e,i))}function Ts(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function As(t){return t>0?1:t<0?-1:0}function Ss(t,e){return Es(t.prev,t,t.next)<0?Es(t,e,t.next)>=0&&Es(t,t.prev,e)>=0:Es(t,e,t.prev)<0||Es(t,t.next,e)<0}function zs(t,e){var n=new Is(t.i,t.x,t.y),i=new Is(e.i,e.x,e.y),r=t.next,o=e.prev;return t.next=e,e.prev=t,n.next=r,r.prev=n,i.next=n,n.prev=i,o.next=i,i.prev=o,i}function ks(t,e,n,i){var r=new Is(t,e,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function Ns(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function Is(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function Os(t,e,n,i){for(var r=0,o=e,a=n-i;on;){if(i-n>600){var o=i-n+1,a=e-n+1,s=Math.log(o),l=.5*Math.exp(2*s/3),u=.5*Math.sqrt(s*l*(o-l)/o)*(a-o/2<0?-1:1);Ms(t,e,Math.max(n,Math.floor(e-a*l/o+u)),Math.min(i,Math.floor(e+(o-a)*l/o+u)),r)}var c=t[e],h=n,d=i;for($s(t,n,e),r(t[i],c)>0&&$s(t,n,i);h0;)d--}0===r(t[n],c)?$s(t,n,d):$s(t,++d,i),d<=e&&(n=d+1),e<=d&&(i=d-1)}}function $s(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function Rs(t,e){return te?1:0}function Ps(t,e){var n=t.length;if(n<=1)return[t];for(var i,r,o=[],a=0;a1)for(var l=0;l0&&(i+=t[r-1].length,n.holes.push(i))}return n},os.default=as;var Ds=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new no,this.indexArray=new mo,this.indexArray2=new Eo,this.programConfigurations=new ha(t.layers,t.zoom),this.segments=new Ro,this.segments2=new Ro,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};Ds.prototype.populate=function(t,e,n){this.hasPattern=js("fill",this.layers,e);for(var i=this.layers[0].layout.get("fill-sort-key"),r=[],o=0,a=t;o>3}if(r--,1===i||2===i)a+=t.readSVarint(),s+=t.readSVarint(),1===i&&(e&&l.push(e),e=[]),e.push(new o(a,s));else{if(7!==i)throw new Error("unknown command "+i);e&&e.push(e[0].clone())}}return e&&l.push(e),l},Vs.prototype.bbox=function(){var t=this._pbf;t.pos=this._geometry;for(var e=t.readVarint()+t.pos,n=1,i=0,r=0,o=0,a=1/0,s=-1/0,l=1/0,u=-1/0;t.pos>3}if(i--,1===n||2===n)(r+=t.readSVarint())s&&(s=r),(o+=t.readSVarint())u&&(u=o);else if(7!==n)throw new Error("unknown command "+n)}return[a,l,s,u]},Vs.prototype.toGeoJSON=function(t,e,n){var i,r,o=this.extent*Math.pow(2,n),a=this.extent*t,s=this.extent*e,l=this.loadGeometry(),u=Vs.types[this.type];function c(t){for(var e=0;e>3;e=1===i?t.readString():2===i?t.readFloat():3===i?t.readDouble():4===i?t.readVarint64():5===i?t.readVarint():6===i?t.readSVarint():7===i?t.readBoolean():null}return e}(n))}function Qs(t,e,n){if(3===t){var i=new Zs(n,n.readVarint()+n.pos);i.length&&(e[i.name]=i)}}Ys.prototype.feature=function(t){if(t<0||t>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[t];var e=this._pbf.readVarint()+this._pbf.pos;return new Hs(this._pbf,e,this.extent,this._keys,this._values)};var tl={VectorTile:function(t,e){this.layers=t.readFields(Qs,{},e)},VectorTileFeature:Hs,VectorTileLayer:Zs},el=tl.VectorTileFeature.types,nl=Math.pow(2,13);function il(t,e,n,i,r,o,a,s){t.emplaceBack(e,n,2*Math.floor(i*nl)+a,r*nl*2,o*nl*2,Math.round(s))}var rl=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new ro,this.indexArray=new mo,this.programConfigurations=new ha(t.layers,t.zoom),this.segments=new Ro,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};function ol(t,e){return t.x===e.x&&(t.x<0||t.x>_a)||t.y===e.y&&(t.y<0||t.y>_a)}rl.prototype.populate=function(t,e,n){this.features=[],this.hasPattern=js("fill-extrusion",this.layers,e);for(var i=0,r=t;i_a}))||O.every((function(t){return t.y<0}))||O.every((function(t){return t.y>_a}))))for(var p=0,m=0;m<_.length;m++){var v=_[m];if(m>=1){var g=_[m-1];if(!ol(v,g)){h.vertexLength+4>Ro.MAX_VERTEX_ARRAY_LENGTH&&(h=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var y=v.sub(g)._perp()._unit(),b=g.dist(v);p+b>32768&&(p=0),il(this.layoutVertexArray,v.x,v.y,y.x,y.y,0,0,p),il(this.layoutVertexArray,v.x,v.y,y.x,y.y,0,1,p),p+=b,il(this.layoutVertexArray,g.x,g.y,y.x,y.y,0,0,p),il(this.layoutVertexArray,g.x,g.y,y.x,y.y,0,1,p);var w=h.vertexLength;this.indexArray.emplaceBack(w,w+2,w+1),this.indexArray.emplaceBack(w+1,w+2,w+3),h.vertexLength+=4,h.primitiveLength+=2}}}}if(h.vertexLength+l>Ro.MAX_VERTEX_ARRAY_LENGTH&&(h=this.segments.prepareSegment(l,this.layoutVertexArray,this.indexArray)),"Polygon"===el[t.type]){for(var E=[],x=[],C=h.vertexLength,T=0,A=s;T=2&&t[l-1].equals(t[l-2]);)l--;for(var u=0;u0;if(x&&v>u){var T=c.dist(f);if(T>2*h){var A=c.sub(c.sub(f)._mult(h/T)._round());this.updateDistance(f,A),this.addCurrentVertex(A,p,0,0,d),f=A}}var S=f&&_,z=S?n:s?"butt":i;if(S&&"round"===z&&(wr&&(z="bevel"),"bevel"===z&&(w>2&&(z="flipbevel"),w100)g=m.mult(-1);else{var k=w*p.add(m).mag()/p.sub(m).mag();g._perp()._mult(k*(C?-1:1))}this.addCurrentVertex(c,g,0,0,d),this.addCurrentVertex(c,g.mult(-1),0,0,d)}else if("bevel"===z||"fakeround"===z){var N=-Math.sqrt(w*w-1),I=C?N:0,O=C?0:N;if(f&&this.addCurrentVertex(c,p,I,O,d),"fakeround"===z)for(var L=Math.round(180*E/Math.PI/20),M=1;M2*h){var q=c.add(_.sub(c)._mult(h/j)._round());this.updateDistance(c,q),this.addCurrentVertex(q,m,0,0,d),c=q}}}}},pl.prototype.addCurrentVertex=function(t,e,n,i,r,o){void 0===o&&(o=!1);var a=e.x+e.y*n,s=e.y-e.x*n,l=-e.x+e.y*i,u=-e.y-e.x*i;this.addHalfVertex(t,a,s,o,!1,n,r),this.addHalfVertex(t,l,u,o,!0,-i,r),this.distance>_l/2&&0===this.totalDistance&&(this.distance=0,this.addCurrentVertex(t,e,n,i,r,o))},pl.prototype.addHalfVertex=function(t,e,n,i,r,o,a){var s=t.x,l=t.y,u=.5*(this.lineClips?this.scaledDistance*(_l-1):this.scaledDistance);if(this.layoutVertexArray.emplaceBack((s<<1)+(i?1:0),(l<<1)+(r?1:0),Math.round(63*e)+128,Math.round(63*n)+128,1+(0===o?0:o<0?-1:1)|(63&u)<<2,u>>6),this.lineClips){var c=(this.scaledDistance-this.lineClips.start)/(this.lineClips.end-this.lineClips.start);this.layoutVertexArray2.emplaceBack(c,this.lineClipsArray.length)}var h=a.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,h),a.primitiveLength++),r?this.e2=h:this.e1=h},pl.prototype.updateScaledDistance=function(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance},pl.prototype.updateDistance=function(t,e){this.distance+=t.dist(e),this.updateScaledDistance()},ar("LineBucket",pl,{omit:["layers","patternFeatures"]});var ml=new Xr({"line-cap":new Fr(Pt.layout_line["line-cap"]),"line-join":new Wr(Pt.layout_line["line-join"]),"line-miter-limit":new Fr(Pt.layout_line["line-miter-limit"]),"line-round-limit":new Fr(Pt.layout_line["line-round-limit"]),"line-sort-key":new Wr(Pt.layout_line["line-sort-key"])}),vl={paint:new Xr({"line-opacity":new Wr(Pt.paint_line["line-opacity"]),"line-color":new Wr(Pt.paint_line["line-color"]),"line-translate":new Fr(Pt.paint_line["line-translate"]),"line-translate-anchor":new Fr(Pt.paint_line["line-translate-anchor"]),"line-width":new Wr(Pt.paint_line["line-width"]),"line-gap-width":new Wr(Pt.paint_line["line-gap-width"]),"line-offset":new Wr(Pt.paint_line["line-offset"]),"line-blur":new Wr(Pt.paint_line["line-blur"]),"line-dasharray":new Hr(Pt.paint_line["line-dasharray"]),"line-pattern":new Gr(Pt.paint_line["line-pattern"]),"line-gradient":new Vr(Pt.paint_line["line-gradient"])}),layout:ml},gl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.possiblyEvaluate=function(e,n){return n=new Mr(Math.floor(n.zoom),{now:n.now,fadeDuration:n.fadeDuration,zoomHistory:n.zoomHistory,transition:n.transition}),t.prototype.possiblyEvaluate.call(this,e,n)},e.prototype.evaluate=function(e,n,i,r){return n=f({},n,{zoom:Math.floor(n.zoom)}),t.prototype.evaluate.call(this,e,n,i,r)},e}(Wr),yl=new gl(vl.paint.properties["line-width"].specification);yl.useIntegerZoom=!0;var bl=function(t){function e(e){t.call(this,e,vl),this.gradientVersion=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._handleSpecialPaintPropertyUpdate=function(t){if("line-gradient"===t){var e=this._transitionablePaint._values["line-gradient"].value.expression;this.stepInterpolant=e._styleExpression.expression instanceof tn,this.gradientVersion=(this.gradientVersion+1)%l}},e.prototype.gradientExpression=function(){return this._transitionablePaint._values["line-gradient"].value.expression},e.prototype.recalculate=function(e,n){t.prototype.recalculate.call(this,e,n),this.paint._values["line-floorwidth"]=yl.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,e)},e.prototype.createBucket=function(t){return new pl(t)},e.prototype.queryRadius=function(t){var e=t,n=wl(Oa("line-width",this,e),Oa("line-gap-width",this,e)),i=Oa("line-offset",this,e);return n/2+Math.abs(i)+La(this.paint.get("line-translate"))},e.prototype.queryIntersectsFeature=function(t,e,n,i,r,a,s){var l=Ma(t,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),a.angle,s),u=s/2*wl(this.paint.get("line-width").evaluate(e,n),this.paint.get("line-gap-width").evaluate(e,n)),c=this.paint.get("line-offset").evaluate(e,n);return c&&(i=function(t,e){for(var n=[],i=new o(0,0),r=0;r=3)for(var o=0;o0?e+2*t:t}var El=to([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),xl=to([{name:"a_projected_pos",components:3,type:"Float32"}],4),Cl=(to([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),to([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),Tl=(to([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),to([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),Al=to([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function Sl(t,e,n){return t.sections.forEach((function(t){t.text=function(t,e,n){var i=e.layout.get("text-transform").evaluate(n,{});return"uppercase"===i?t=t.toLocaleUpperCase():"lowercase"===i&&(t=t.toLocaleLowerCase()),Lr.applyArabicShaping&&(t=Lr.applyArabicShaping(t)),t}(t.text,e,n)})),t}to([{name:"triangle",components:3,type:"Uint16"}]),to([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),to([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),to([{type:"Float32",name:"offsetX"}]),to([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var zl={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"};var kl=24,Nl=function(t,e,n,i,r){var o,a,s=8*r-i-1,l=(1<>1,c=-7,h=n?r-1:0,d=n?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+t[e+h],h+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=i;c>0;a=256*a+t[e+h],h+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,i),o-=u}return(f?-1:1)*a*Math.pow(2,o-i)},Il=function(t,e,n,i,r,o){var a,s,l,u=8*o-r-1,c=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:o-1,_=i?1:-1,p=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+h>=1?d/l:d*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(e*l-1)*Math.pow(2,r),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),a=0));r>=8;t[n+f]=255&s,f+=_,s/=256,r-=8);for(a=a<0;t[n+f]=255&a,f+=_,a/=256,u-=8);t[n+f-_]|=128*p},Ol=Ll;function Ll(t){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.pos=0,this.type=0,this.length=this.buf.length}Ll.Varint=0,Ll.Fixed64=1,Ll.Bytes=2,Ll.Fixed32=5;var Ml=4294967296,$l=1/Ml,Rl="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function Pl(t){return t.type===Ll.Bytes?t.readVarint()+t.pos:t.pos+1}function Ul(t,e,n){return n?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function jl(t,e,n){var i=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));n.realloc(i);for(var r=n.pos-1;r>=t;r--)n.buf[r+i]=n.buf[r]}function ql(t,e){for(var n=0;n>>8,t[n+2]=e>>>16,t[n+3]=e>>>24}function Yl(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}Ll.prototype={destroy:function(){this.buf=null},readFields:function(t,e,n){for(n=n||this.length;this.pos>3,o=this.pos;this.type=7&i,t(r,e,this),this.pos===o&&this.skip(i)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=Jl(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=Yl(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=Jl(this.buf,this.pos)+Jl(this.buf,this.pos+4)*Ml;return this.pos+=8,t},readSFixed64:function(){var t=Jl(this.buf,this.pos)+Yl(this.buf,this.pos+4)*Ml;return this.pos+=8,t},readFloat:function(){var t=Nl(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=Nl(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,n,i=this.buf;return e=127&(n=i[this.pos++]),n<128?e:(e|=(127&(n=i[this.pos++]))<<7,n<128?e:(e|=(127&(n=i[this.pos++]))<<14,n<128?e:(e|=(127&(n=i[this.pos++]))<<21,n<128?e:function(t,e,n){var i,r,o=n.buf;if(i=(112&(r=o[n.pos++]))>>4,r<128)return Ul(t,i,e);if(i|=(127&(r=o[n.pos++]))<<3,r<128)return Ul(t,i,e);if(i|=(127&(r=o[n.pos++]))<<10,r<128)return Ul(t,i,e);if(i|=(127&(r=o[n.pos++]))<<17,r<128)return Ul(t,i,e);if(i|=(127&(r=o[n.pos++]))<<24,r<128)return Ul(t,i,e);if(i|=(1&(r=o[n.pos++]))<<31,r<128)return Ul(t,i,e);throw new Error("Expected varint not more than 10 bytes")}(e|=(15&(n=i[this.pos]))<<28,t,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2==1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=12&&Rl?function(t,e,n){return Rl.decode(t.subarray(e,n))}(this.buf,e,t):function(t,e,n){for(var i="",r=e;r239?4:l>223?3:l>191?2:1;if(r+c>n)break;1===c?l<128&&(u=l):2===c?128==(192&(o=t[r+1]))&&(u=(31&l)<<6|63&o)<=127&&(u=null):3===c?(o=t[r+1],a=t[r+2],128==(192&o)&&128==(192&a)&&((u=(15&l)<<12|(63&o)<<6|63&a)<=2047||u>=55296&&u<=57343)&&(u=null)):4===c&&(o=t[r+1],a=t[r+2],s=t[r+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&((u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)<=65535||u>=1114112)&&(u=null)),null===u?(u=65533,c=1):u>65535&&(u-=65536,i+=String.fromCharCode(u>>>10&1023|55296),u=56320|1023&u),i+=String.fromCharCode(u),r+=c}return i}(this.buf,e,t)},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){if(this.type!==Ll.Bytes)return t.push(this.readVarint(e));var n=Pl(this);for(t=t||[];this.pos127;);else if(e===Ll.Bytes)this.pos=this.readVarint()+this.pos;else if(e===Ll.Fixed32)this.pos+=4;else{if(e!==Ll.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){for(var e=this.length||16;e268435455||t<0?function(t,e){var n,i;if(t>=0?(n=t%4294967296|0,i=t/4294967296|0):(i=~(-t/4294967296),4294967295^(n=~(-t%4294967296))?n=n+1|0:(n=0,i=i+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,n){n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos++]=127&t|128,t>>>=7,n.buf[n.pos]=127&t}(n,0,e),function(t,e){var n=(7&t)<<4;e.buf[e.pos++]|=n|((t>>>=3)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t)))))}(i,e)}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))))},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t)},writeBoolean:function(t){this.writeVarint(Boolean(t))},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=function(t,e,n){for(var i,r,o=0;o55295&&i<57344){if(!r){i>56319||o+1===e.length?(t[n++]=239,t[n++]=191,t[n++]=189):r=i;continue}if(i<56320){t[n++]=239,t[n++]=191,t[n++]=189,r=i;continue}i=r-55296<<10|i-56320|65536,r=null}else r&&(t[n++]=239,t[n++]=191,t[n++]=189,r=null);i<128?t[n++]=i:(i<2048?t[n++]=i>>6|192:(i<65536?t[n++]=i>>12|224:(t[n++]=i>>18|240,t[n++]=i>>12&63|128),t[n++]=i>>6&63|128),t[n++]=63&i|128)}return n}(this.buf,t,this.pos);var n=this.pos-e;n>=128&&jl(e,n,this),this.pos=e-1,this.writeVarint(n),this.pos+=n},writeFloat:function(t){this.realloc(4),Il(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),Il(this.buf,t,this.pos,!0,52,8),this.pos+=8},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var n=0;n=128&&jl(n,i,this),this.pos=n-1,this.writeVarint(i),this.pos+=i},writeMessage:function(t,e,n){this.writeTag(t,Ll.Bytes),this.writeRawMessage(e,n)},writePackedVarint:function(t,e){e.length&&this.writeMessage(t,ql,e)},writePackedSVarint:function(t,e){e.length&&this.writeMessage(t,Dl,e)},writePackedBoolean:function(t,e){e.length&&this.writeMessage(t,Wl,e)},writePackedFloat:function(t,e){e.length&&this.writeMessage(t,Bl,e)},writePackedDouble:function(t,e){e.length&&this.writeMessage(t,Fl,e)},writePackedFixed32:function(t,e){e.length&&this.writeMessage(t,Gl,e)},writePackedSFixed32:function(t,e){e.length&&this.writeMessage(t,Hl,e)},writePackedFixed64:function(t,e){e.length&&this.writeMessage(t,Vl,e)},writePackedSFixed64:function(t,e){e.length&&this.writeMessage(t,Xl,e)},writeBytesField:function(t,e){this.writeTag(t,Ll.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,Ll.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,Ll.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,Ll.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,Ll.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,Ll.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,Ll.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,Ll.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,Ll.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,Ll.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}};var Kl=3;function Ql(t,e,n){1===t&&n.readMessage(tu,e)}function tu(t,e,n){if(3===t){var i=n.readMessage(eu,{}),r=i.id,o=i.bitmap,a=i.width,s=i.height,l=i.left,u=i.top,c=i.advance;e.push({id:r,bitmap:new Ya({width:a+2*Kl,height:s+2*Kl},o),metrics:{width:a,height:s,left:l,top:u,advance:c}})}}function eu(t,e,n){1===t?e.id=n.readVarint():2===t?e.bitmap=n.readBytes():3===t?e.width=n.readVarint():4===t?e.height=n.readVarint():5===t?e.left=n.readSVarint():6===t?e.top=n.readSVarint():7===t&&(e.advance=n.readVarint())}var nu=Kl;function iu(t){for(var e=0,n=0,i=0,r=t;i=0;d--){var f=a[d];if(!(h.w>f.w||h.h>f.h)){if(h.x=f.x,h.y=f.y,l=Math.max(l,h.y+h.h),s=Math.max(s,h.x+h.w),h.w===f.w&&h.h===f.h){var _=a.pop();d0&&U>T&&(T=U)}else{var j=n[S.fontStack],q=j&&j[k];if(q&&q.rect)O=q.rect,I=q.metrics;else{var D=e[S.fontStack],B=D&&D[k];if(!B)continue;I=B.metrics}N=(w-S.scale)*kl}$?(t.verticalizable=!0,C.push({glyph:k,imageName:L,x:d,y:f+N,vertical:$,scale:S.scale,fontStack:S.fontStack,sectionIndex:z,metrics:I,rect:O}),d+=M*S.scale+u):(C.push({glyph:k,imageName:L,x:d,y:f+N,vertical:$,scale:S.scale,fontStack:S.fontStack,sectionIndex:z,metrics:I,rect:O}),d+=I.advance*S.scale+u)}if(0!==C.length){var F=d-u;_=Math.max(F,_),Eu(C,0,C.length-1,m,T)}d=0;var W=o*w+T;x.lineOffset=Math.max(T,E),f+=W,p=Math.max(W,p),++v}else f+=o,++v}var G=f-uu,H=wu(a),V=H.horizontalAlign,X=H.verticalAlign;(function(t,e,n,i,r,o,a,s,l){var u=(e-n)*r,c=0;c=o!==a?-s*i-uu:(-i*l+.5)*a;for(var h=0,d=t;h=0&&i>=t&&fu[this.text.charCodeAt(i)];i--)n--;this.text=this.text.substring(t,n),this.sectionIndex=this.sectionIndex.slice(t,n)},hu.prototype.substring=function(t,e){var n=new hu;return n.text=this.text.substring(t,e),n.sectionIndex=this.sectionIndex.slice(t,e),n.sections=this.sections,n},hu.prototype.toString=function(){return this.text},hu.prototype.getMaxScale=function(){var t=this;return this.sectionIndex.reduce((function(e,n){return Math.max(e,t.sections[n].scale)}),0)},hu.prototype.addTextSection=function(t,e){this.text+=t.text,this.sections.push(cu.forText(t.scale,t.fontStack||e));for(var n=this.sections.length-1,i=0;i=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var fu={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},_u={};function pu(t,e,n,i,r,o){if(e.imageName){var a=i[e.imageName];return a?a.displaySize[0]*e.scale*kl/o+r:0}var s=n[e.fontStack],l=s&&s[t];return l?l.metrics.advance*e.scale+r:0}function mu(t,e,n,i){var r=Math.pow(t-e,2);return i?t=0,c=0,h=0;h-n/2;){if(--a<0)return!1;s-=t[a].dist(o),o=t[a]}s+=t[a].dist(t[a+1]),a++;for(var l=[],u=0;si;)u-=l.shift().angleDelta;if(u>r)return!1;a++,s+=h.dist(d)}return!0}function Iu(t){for(var e=0,n=0;nu){var _=(u-l)/f,p=en(h.x,d.x,_),m=en(h.y,d.y,_),v=new Cu(p,m,d.angleTo(h),c);return v._round(),!a||Nu(t,v,s,a,e)?v:void 0}l+=f}}function $u(t,e,n,i,r,o,a,s,l){var u=Ou(i,o,a),c=Lu(i,r),h=c*a,d=0===t[0].x||t[0].x===l||0===t[0].y||t[0].y===l;return e-h=0&&b=0&&w=0&&d+u<=c){var E=new Cu(b,w,g,_);E._round(),i&&!Nu(t,E,o,i,r)||f.push(E)}}h+=v}return s||f.length||a||(f=Ru(t,h/2,n,i,r,o,a,!0,l)),f}function Pu(t,e,n,i,r){for(var a=[],s=0;s=i&&d.x>=i||(h.x>=i?h=new o(i,h.y+(d.y-h.y)*((i-h.x)/(d.x-h.x)))._round():d.x>=i&&(d=new o(i,h.y+(d.y-h.y)*((i-h.x)/(d.x-h.x)))._round()),h.y>=r&&d.y>=r||(h.y>=r?h=new o(h.x+(d.x-h.x)*((r-h.y)/(d.y-h.y)),r)._round():d.y>=r&&(d=new o(h.x+(d.x-h.x)*((r-h.y)/(d.y-h.y)),r)._round()),u&&h.equals(u[u.length-1])||(u=[h],a.push(u)),u.push(d)))))}return a}var Uu=ru;function ju(t,e,n,i){var r=[],a=t.image,s=a.pixelRatio,l=a.paddedRect.w-2*Uu,u=a.paddedRect.h-2*Uu,c=t.right-t.left,h=t.bottom-t.top,d=a.stretchX||[[0,l]],f=a.stretchY||[[0,u]],_=function(t,e){return t+e[1]-e[0]},p=d.reduce(_,0),m=f.reduce(_,0),v=l-p,g=u-m,y=0,b=p,w=0,E=m,x=0,C=v,T=0,A=g;if(a.content&&i){var S=a.content;y=qu(d,0,S[0]),w=qu(f,0,S[1]),b=qu(d,S[0],S[2]),E=qu(f,S[1],S[3]),x=S[0]-y,T=S[1]-w,C=S[2]-S[0]-b,A=S[3]-S[1]-E}var z=function(i,r,l,u){var d=Bu(i.stretch-y,b,c,t.left),f=Fu(i.fixed-x,C,i.stretch,p),_=Bu(r.stretch-w,E,h,t.top),v=Fu(r.fixed-T,A,r.stretch,m),g=Bu(l.stretch-y,b,c,t.left),S=Fu(l.fixed-x,C,l.stretch,p),z=Bu(u.stretch-w,E,h,t.top),k=Fu(u.fixed-T,A,u.stretch,m),N=new o(d,_),I=new o(g,_),O=new o(g,z),L=new o(d,z),M=new o(f/s,v/s),$=new o(S/s,k/s),R=e*Math.PI/180;if(R){var P=Math.sin(R),U=Math.cos(R),j=[U,-P,P,U];N._matMult(j),I._matMult(j),L._matMult(j),O._matMult(j)}var q=i.stretch+i.fixed,D=l.stretch+l.fixed,B=r.stretch+r.fixed,F=u.stretch+u.fixed;return{tl:N,tr:I,bl:L,br:O,tex:{x:a.paddedRect.x+Uu+q,y:a.paddedRect.y+Uu+B,w:D-q,h:F-B},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:M,pixelOffsetBR:$,minFontScaleX:C/s/c,minFontScaleY:A/s/h,isSDF:n}};if(i&&(a.stretchX||a.stretchY))for(var k=Du(d,v,p),N=Du(f,g,m),I=0;I0&&(_=Math.max(10,_),this.circleDiameter=_)}else{var p=a.top*s-l,m=a.bottom*s+l,v=a.left*s-l,g=a.right*s+l,y=a.collisionPadding;if(y&&(v-=y[0]*s,p-=y[1]*s,g+=y[2]*s,m+=y[3]*s),c){var b=new o(v,p),w=new o(g,p),E=new o(v,m),x=new o(g,m),C=c*Math.PI/180;b._rotate(C),w._rotate(C),E._rotate(C),x._rotate(C),v=Math.min(b.x,w.x,E.x,x.x),g=Math.max(b.x,w.x,E.x,x.x),p=Math.min(b.y,w.y,E.y,x.y),m=Math.max(b.y,w.y,E.y,x.y)}t.emplaceBack(e.x,e.y,v,p,g,m,n,i,r)}this.boxEndIndex=t.length},Gu=function(t,e){if(void 0===t&&(t=[]),void 0===e&&(e=Hu),this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(var n=(this.length>>1)-1;n>=0;n--)this._down(n)};function Hu(t,e){return te?1:0}function Vu(t,e,n){void 0===e&&(e=1),void 0===n&&(n=!1);for(var i=1/0,r=1/0,a=-1/0,s=-1/0,l=t[0],u=0;ua)&&(a=c.x),(!u||c.y>s)&&(s=c.y)}var h=a-i,d=s-r,f=Math.min(h,d),_=f/2,p=new Gu([],Xu);if(0===f)return new o(i,r);for(var m=i;mg.d||!g.d)&&(g=b,n&&console.log("found best %d after %d probes",Math.round(1e4*b.d)/1e4,y)),b.max-g.d<=e||(_=b.h/2,p.push(new Ju(b.p.x-_,b.p.y-_,_,t)),p.push(new Ju(b.p.x+_,b.p.y-_,_,t)),p.push(new Ju(b.p.x-_,b.p.y+_,_,t)),p.push(new Ju(b.p.x+_,b.p.y+_,_,t)),y+=4)}return n&&(console.log("num probes: "+y),console.log("best distance: "+g.d)),g.p}function Xu(t,e){return e.max-t.max}function Ju(t,e,n,i){this.p=new o(t,e),this.h=n,this.d=function(t,e){for(var n=!1,i=1/0,r=0;rt.y!=c.y>t.y&&t.x<(c.x-u.x)*(t.y-u.y)/(c.y-u.y)+u.x&&(n=!n),i=Math.min(i,za(t,u,c))}return(n?1:-1)*Math.sqrt(i)}(this.p,i),this.max=this.d+this.h*Math.SQRT2}Gu.prototype.push=function(t){this.data.push(t),this.length++,this._up(this.length-1)},Gu.prototype.pop=function(){if(0!==this.length){var t=this.data[0],e=this.data.pop();return this.length--,this.length>0&&(this.data[0]=e,this._down(0)),t}},Gu.prototype.peek=function(){return this.data[0]},Gu.prototype._up=function(t){for(var e=this.data,n=this.compare,i=e[t];t>0;){var r=t-1>>1,o=e[r];if(n(i,o)>=0)break;e[t]=o,t=r}e[t]=i},Gu.prototype._down=function(t){for(var e=this.data,n=this.compare,i=this.length>>1,r=e[t];t=0)break;e[t]=a,t=o}e[t]=r};var Zu=7,Yu=Number.POSITIVE_INFINITY;function Ku(t,e){return e[1]!==Yu?function(t,e,n){var i=0,r=0;switch(e=Math.abs(e),n=Math.abs(n),t){case"top-right":case"top-left":case"top":r=n-Zu;break;case"bottom-right":case"bottom-left":case"bottom":r=-n+Zu}switch(t){case"top-right":case"bottom-right":case"right":i=-e;break;case"top-left":case"bottom-left":case"left":i=e}return[i,r]}(t,e[0],e[1]):function(t,e){var n=0,i=0;e<0&&(e=0);var r=e/Math.sqrt(2);switch(t){case"top-right":case"top-left":i=r-Zu;break;case"bottom-right":case"bottom-left":i=-r+Zu;break;case"bottom":i=-e+Zu;break;case"top":i=e-Zu}switch(t){case"top-right":case"bottom-right":n=-r;break;case"top-left":case"bottom-left":n=r;break;case"left":n=e;break;case"right":n=-e}return[n,i]}(t,e[0])}function Qu(t){switch(t){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}var tc=255,ec=tc*Tu;function nc(t,e,n,i,r,a,s,l,u,c,h,d,f,_,p){var m=function(t,e,n,i,r,a,s,l){for(var u=i.layout.get("text-rotate").evaluate(a,{})*Math.PI/180,c=[],h=0,d=e.positionedLines;hec&&C(t.layerIds[0]+': Value for "text-size" is >= '+tc+'. Reduce your "text-size".'):"composite"===v.kind&&((g=[Tu*_.compositeTextSizes[0].evaluate(s,{},p),Tu*_.compositeTextSizes[1].evaluate(s,{},p)])[0]>ec||g[1]>ec)&&C(t.layerIds[0]+': Value for "text-size" is >= '+tc+'. Reduce your "text-size".'),t.addSymbols(t.text,m,g,l,a,s,c,e,u.lineStartIndex,u.lineLength,f,p);for(var y=0,b=h;y=0;a--)if(i.dist(o[a])0)&&("constant"!==o.value.kind||o.value.value.length>0),u="constant"!==s.value.kind||!!s.value.value||Object.keys(s.parameters).length>0,c=r.get("symbol-sort-key");if(this.features=[],l||u){for(var h=e.iconDependencies,d=e.glyphDependencies,f=e.availableImages,_=new Mr(this.zoom),p=0,m=t;p=0;for(var L=0,M=C.sections;L=0;s--)o[s]={x:e[s].x,y:e[s].y,tileUnitDistanceFromAnchor:r},s>0&&(r+=e[s-1].dist(e[s]));for(var l=0;l0},dc.prototype.hasIconData=function(){return this.icon.segments.get().length>0},dc.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},dc.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},dc.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},dc.prototype.addIndicesForPlacedSymbol=function(t,e){for(var n=t.placedSymbolArray.get(e),i=n.vertexStartIndex+4*n.numGlyphs,r=n.vertexStartIndex;r1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(t),this.sortedAngle=t,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var n=0,i=this.symbolInstanceIndexes;n=0&&i.indexOf(t)===n&&e.addIndicesForPlacedSymbol(e.text,t)})),o.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,o.verticalPlacedTextSymbolIndex),o.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,o.placedIconSymbolIndex),o.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,o.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},ar("SymbolBucket",dc,{omit:["layers","collisionBoxArray","features","compareText"]}),dc.MAX_GLYPHS=65535,dc.addDynamicAttributes=lc;var fc=new Xr({"symbol-placement":new Fr(Pt.layout_symbol["symbol-placement"]),"symbol-spacing":new Fr(Pt.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Fr(Pt.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new Wr(Pt.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Fr(Pt.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Fr(Pt.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Fr(Pt.layout_symbol["icon-ignore-placement"]),"icon-optional":new Fr(Pt.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Fr(Pt.layout_symbol["icon-rotation-alignment"]),"icon-size":new Wr(Pt.layout_symbol["icon-size"]),"icon-text-fit":new Fr(Pt.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Fr(Pt.layout_symbol["icon-text-fit-padding"]),"icon-image":new Wr(Pt.layout_symbol["icon-image"]),"icon-rotate":new Wr(Pt.layout_symbol["icon-rotate"]),"icon-padding":new Fr(Pt.layout_symbol["icon-padding"]),"icon-keep-upright":new Fr(Pt.layout_symbol["icon-keep-upright"]),"icon-offset":new Wr(Pt.layout_symbol["icon-offset"]),"icon-anchor":new Wr(Pt.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Fr(Pt.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Fr(Pt.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Fr(Pt.layout_symbol["text-rotation-alignment"]),"text-field":new Wr(Pt.layout_symbol["text-field"]),"text-font":new Wr(Pt.layout_symbol["text-font"]),"text-size":new Wr(Pt.layout_symbol["text-size"]),"text-max-width":new Wr(Pt.layout_symbol["text-max-width"]),"text-line-height":new Fr(Pt.layout_symbol["text-line-height"]),"text-letter-spacing":new Wr(Pt.layout_symbol["text-letter-spacing"]),"text-justify":new Wr(Pt.layout_symbol["text-justify"]),"text-radial-offset":new Wr(Pt.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Fr(Pt.layout_symbol["text-variable-anchor"]),"text-anchor":new Wr(Pt.layout_symbol["text-anchor"]),"text-max-angle":new Fr(Pt.layout_symbol["text-max-angle"]),"text-writing-mode":new Fr(Pt.layout_symbol["text-writing-mode"]),"text-rotate":new Wr(Pt.layout_symbol["text-rotate"]),"text-padding":new Fr(Pt.layout_symbol["text-padding"]),"text-keep-upright":new Fr(Pt.layout_symbol["text-keep-upright"]),"text-transform":new Wr(Pt.layout_symbol["text-transform"]),"text-offset":new Wr(Pt.layout_symbol["text-offset"]),"text-allow-overlap":new Fr(Pt.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Fr(Pt.layout_symbol["text-ignore-placement"]),"text-optional":new Fr(Pt.layout_symbol["text-optional"])}),_c={paint:new Xr({"icon-opacity":new Wr(Pt.paint_symbol["icon-opacity"]),"icon-color":new Wr(Pt.paint_symbol["icon-color"]),"icon-halo-color":new Wr(Pt.paint_symbol["icon-halo-color"]),"icon-halo-width":new Wr(Pt.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Wr(Pt.paint_symbol["icon-halo-blur"]),"icon-translate":new Fr(Pt.paint_symbol["icon-translate"]),"icon-translate-anchor":new Fr(Pt.paint_symbol["icon-translate-anchor"]),"text-opacity":new Wr(Pt.paint_symbol["text-opacity"]),"text-color":new Wr(Pt.paint_symbol["text-color"],{runtimeType:Jt,getOverride:function(t){return t.textColor},hasOverride:function(t){return!!t.textColor}}),"text-halo-color":new Wr(Pt.paint_symbol["text-halo-color"]),"text-halo-width":new Wr(Pt.paint_symbol["text-halo-width"]),"text-halo-blur":new Wr(Pt.paint_symbol["text-halo-blur"]),"text-translate":new Fr(Pt.paint_symbol["text-translate"]),"text-translate-anchor":new Fr(Pt.paint_symbol["text-translate-anchor"])}),layout:fc},pc=function(t){this.type=t.property.overrides?t.property.overrides.runtimeType:Gt,this.defaultValue=t};pc.prototype.evaluate=function(t){if(t.formattedSection){var e=this.defaultValue.property.overrides;if(e&&e.hasOverride(t.formattedSection))return e.getOverride(t.formattedSection)}return t.feature&&t.featureState?this.defaultValue.evaluate(t.feature,t.featureState):this.defaultValue.property.specification.default},pc.prototype.eachChild=function(t){this.defaultValue.isConstant()||t(this.defaultValue.value._styleExpression.expression)},pc.prototype.outputDefined=function(){return!1},pc.prototype.serialize=function(){return null},ar("FormatSectionOverride",pc,{omit:["defaultValue"]});var mc=function(t){function e(e){t.call(this,e,_c)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.recalculate=function(e,n){if(t.prototype.recalculate.call(this,e,n),"auto"===this.layout.get("icon-rotation-alignment")&&("point"!==this.layout.get("symbol-placement")?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),"auto"===this.layout.get("text-rotation-alignment")&&("point"!==this.layout.get("symbol-placement")?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),"auto"===this.layout.get("text-pitch-alignment")&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),"auto"===this.layout.get("icon-pitch-alignment")&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),"point"===this.layout.get("symbol-placement")){var i=this.layout.get("text-writing-mode");if(i){for(var r=[],o=0,a=i;o",targetMapId:i,sourceMapId:o.mapId})}}},Nc.prototype.receive=function(t){var e=t.data,n=e.id;if(n&&(!e.targetMapId||this.mapId===e.targetMapId))if(""===e.type){delete this.tasks[n];var i=this.cancelCallbacks[n];delete this.cancelCallbacks[n],i&&i()}else S()||e.mustQueue?(this.tasks[n]=e,this.taskQueue.push(n),this.invoker.trigger()):this.processTask(n,e)},Nc.prototype.process=function(){if(this.taskQueue.length){var t=this.taskQueue.shift(),e=this.tasks[t];delete this.tasks[t],this.taskQueue.length&&this.invoker.trigger(),e&&this.processTask(t,e)}},Nc.prototype.processTask=function(t,e){var n=this;if(""===e.type){var i=this.callbacks[t];delete this.callbacks[t],i&&(e.error?i(hr(e.error)):i(null,hr(e.data)))}else{var r=!1,o=N(this.globalScope)?void 0:[],a=e.hasCallback?function(e,i){r=!0,delete n.cancelCallbacks[t],n.target.postMessage({id:t,type:"",sourceMapId:n.mapId,error:e?cr(e):null,data:cr(i,o)},o)}:function(t){r=!0},s=null,l=hr(e.data);if(this.parent[e.type])s=this.parent[e.type](e.sourceMapId,l,a);else if(this.parent.getWorkerSource){var u=e.type.split(".");s=this.parent.getWorkerSource(e.sourceMapId,u[0],l.source)[u[1]](l,a)}else a(new Error("Could not find function "+e.type));!r&&s&&s.cancel&&(this.cancelCallbacks[t]=s.cancel)}},Nc.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var Oc=function(t,e){t&&(e?this.setSouthWest(t).setNorthEast(e):4===t.length?this.setSouthWest([t[0],t[1]]).setNorthEast([t[2],t[3]]):this.setSouthWest(t[0]).setNorthEast(t[1]))};Oc.prototype.setNorthEast=function(t){return this._ne=t instanceof Mc?new Mc(t.lng,t.lat):Mc.convert(t),this},Oc.prototype.setSouthWest=function(t){return this._sw=t instanceof Mc?new Mc(t.lng,t.lat):Mc.convert(t),this},Oc.prototype.extend=function(t){var e,n,i=this._sw,r=this._ne;if(t instanceof Mc)e=t,n=t;else{if(!(t instanceof Oc)){if(Array.isArray(t)){if(4===t.length||t.every(Array.isArray)){var o=t;return this.extend(Oc.convert(o))}var a=t;return this.extend(Mc.convert(a))}return this}if(e=t._sw,n=t._ne,!e||!n)return this}return i||r?(i.lng=Math.min(e.lng,i.lng),i.lat=Math.min(e.lat,i.lat),r.lng=Math.max(n.lng,r.lng),r.lat=Math.max(n.lat,r.lat)):(this._sw=new Mc(e.lng,e.lat),this._ne=new Mc(n.lng,n.lat)),this},Oc.prototype.getCenter=function(){return new Mc((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},Oc.prototype.getSouthWest=function(){return this._sw},Oc.prototype.getNorthEast=function(){return this._ne},Oc.prototype.getNorthWest=function(){return new Mc(this.getWest(),this.getNorth())},Oc.prototype.getSouthEast=function(){return new Mc(this.getEast(),this.getSouth())},Oc.prototype.getWest=function(){return this._sw.lng},Oc.prototype.getSouth=function(){return this._sw.lat},Oc.prototype.getEast=function(){return this._ne.lng},Oc.prototype.getNorth=function(){return this._ne.lat},Oc.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},Oc.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},Oc.prototype.isEmpty=function(){return!(this._sw&&this._ne)},Oc.prototype.contains=function(t){var e=Mc.convert(t),n=e.lng,i=e.lat,r=this._sw.lat<=i&&i<=this._ne.lat,o=this._sw.lng<=n&&n<=this._ne.lng;return this._sw.lng>this._ne.lng&&(o=this._sw.lng>=n&&n>=this._ne.lng),r&&o},Oc.convert=function(t){return!t||t instanceof Oc?t:new Oc(t)};var Lc=6371008.8,Mc=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid LngLat object: ("+t+", "+e+")");if(this.lng=+t,this.lat=+e,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Mc.prototype.wrap=function(){return new Mc(d(this.lng,-180,180),this.lat)},Mc.prototype.toArray=function(){return[this.lng,this.lat]},Mc.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Mc.prototype.distanceTo=function(t){var e=Math.PI/180,n=this.lat*e,i=t.lat*e,r=Math.sin(n)*Math.sin(i)+Math.cos(n)*Math.cos(i)*Math.cos((t.lng-this.lng)*e);return Lc*Math.acos(Math.min(r,1))},Mc.prototype.toBounds=function(t){void 0===t&&(t=0);var e=360*t/40075017,n=e/Math.cos(Math.PI/180*this.lat);return new Oc(new Mc(this.lng-n,this.lat-e),new Mc(this.lng+n,this.lat+e))},Mc.convert=function(t){if(t instanceof Mc)return t;if(Array.isArray(t)&&(2===t.length||3===t.length))return new Mc(Number(t[0]),Number(t[1]));if(!Array.isArray(t)&&"object"==typeof t&&null!==t)return new Mc(Number("lng"in t?t.lng:t.lon),Number(t.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")};var $c=2*Math.PI*Lc;function Rc(t){return $c*Math.cos(t*Math.PI/180)}function Pc(t){return(180+t)/360}function Uc(t){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t*Math.PI/360)))/360}function jc(t,e){return t/Rc(e)}function qc(t){var e=180-360*t;return 360/Math.PI*Math.atan(Math.exp(e*Math.PI/180))-90}var Dc=function(t,e,n){void 0===n&&(n=0),this.x=+t,this.y=+e,this.z=+n};Dc.fromLngLat=function(t,e){void 0===e&&(e=0);var n=Mc.convert(t);return new Dc(Pc(n.lng),Uc(n.lat),jc(e,n.lat))},Dc.prototype.toLngLat=function(){return new Mc(360*this.x-180,qc(this.y))},Dc.prototype.toAltitude=function(){return t=this.z,e=this.y,t*Rc(qc(e));var t,e},Dc.prototype.meterInMercatorCoordinateUnits=function(){return 1/$c*(t=qc(this.y),1/Math.cos(t*Math.PI/180));var t};var Bc=function(t,e,n){this.z=t,this.x=e,this.y=n,this.key=Gc(0,t,t,e,n)};Bc.prototype.equals=function(t){return this.z===t.z&&this.x===t.x&&this.y===t.y},Bc.prototype.url=function(t,e){var n,i,r,o,a,s=(n=this.x,i=this.y,r=this.z,o=Ic(256*n,256*(i=Math.pow(2,r)-i-1),r),a=Ic(256*(n+1),256*(i+1),r),o[0]+","+o[1]+","+a[0]+","+a[1]),l=function(t,e,n){for(var i,r="",o=t;o>0;o--)r+=(e&(i=1<this.canonical.z?new Wc(t,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new Wc(t,this.wrap,t,this.canonical.x>>e,this.canonical.y>>e)},Wc.prototype.calculateScaledKey=function(t,e){var n=this.canonical.z-t;return t>this.canonical.z?Gc(this.wrap*+e,t,this.canonical.z,this.canonical.x,this.canonical.y):Gc(this.wrap*+e,t,t,this.canonical.x>>n,this.canonical.y>>n)},Wc.prototype.isChildOf=function(t){if(t.wrap!==this.wrap)return!1;var e=this.canonical.z-t.canonical.z;return 0===t.overscaledZ||t.overscaledZ>e&&t.canonical.y===this.canonical.y>>e},Wc.prototype.children=function(t){if(this.overscaledZ>=t)return[new Wc(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var e=this.canonical.z+1,n=2*this.canonical.x,i=2*this.canonical.y;return[new Wc(e,this.wrap,e,n,i),new Wc(e,this.wrap,e,n+1,i),new Wc(e,this.wrap,e,n,i+1),new Wc(e,this.wrap,e,n+1,i+1)]},Wc.prototype.isLessThan=function(t){return this.wrapt.wrap)&&(this.overscaledZt.overscaledZ)&&(this.canonical.xt.canonical.x)&&this.canonical.y=this.dim+1||e<-1||e>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(e+1)*this.stride+(t+1)},Hc.prototype._unpackMapbox=function(t,e,n){return(256*t*256+256*e+n)/10-1e4},Hc.prototype._unpackTerrarium=function(t,e,n){return 256*t+e+n/256-32768},Hc.prototype.getPixels=function(){return new Ka({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Hc.prototype.backfillBorder=function(t,e,n){if(this.dim!==t.dim)throw new Error("dem dimension mismatch");var i=e*this.dim,r=e*this.dim+this.dim,o=n*this.dim,a=n*this.dim+this.dim;switch(e){case-1:i=r-1;break;case 1:r=i+1}switch(n){case-1:o=a-1;break;case 1:a=o+1}for(var s=-e*this.dim,l=-n*this.dim,u=o;u=0&&c[3]>=0&&s.insert(a,c[0],c[1],c[2],c[3])}},Yc.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new tl.VectorTile(new Ol(this.rawTileData)).layers,this.sourceLayerCoder=new Vc(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Yc.prototype.query=function(t,e,n,i){var r=this;this.loadVTLayers();for(var a=t.params||{},s=_a/t.tileSize/t.scale,l=Ti(a.filter),u=t.queryGeometry,c=t.queryPadding*s,h=Qc(u),d=this.grid.query(h.minX-c,h.minY-c,h.maxX+c,h.maxY+c),f=Qc(t.cameraQueryGeometry),_=0,p=this.grid3D.query(f.minX-c,f.minY-c,f.maxX+c,f.maxY+c,(function(e,n,i,r){return function(t,e,n,i,r){for(var a=0,s=t;a=l.x&&r>=l.y)return!0}var u=[new o(e,n),new o(e,r),new o(i,r),new o(i,n)];if(t.length>2)for(var c=0,h=u;c=0)return!0;return!1}(o,h)){var d=this.sourceLayerCoder.decode(n),_=this.vtLayers[d].feature(i);if(r.needGeometry){var p=ga(_,!0);if(!r.filter(new Mr(this.tileID.overscaledZ),p,this.tileID.canonical))return}else if(!r.filter(new Mr(this.tileID.overscaledZ),_))return;for(var m=this.getId(_,d),v=0;vi)r=!1;else if(e)if(this.expirationTimedt&&(t.getActor().send("enforceCacheSizeLimit",ht),yt=0)},t.clamp=h,t.clearTileCache=function(t){var e=s.caches.delete(ct);t&&e.catch(t).then((function(){return t()}))},t.clipLine=Pu,t.clone=function(t){var e=new Pa(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},t.clone$1=E,t.clone$2=function(t){var e=new Pa(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},t.collisionCircleLayout=Al,t.config=q,t.create=function(){var t=new Pa(16);return Pa!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t},t.create$1=function(){var t=new Pa(9);return Pa!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t},t.create$2=function(){var t=new Pa(4);return Pa!=Float32Array&&(t[1]=0,t[2]=0),t[0]=1,t[3]=1,t},t.createCommonjsModule=e,t.createExpression=hi,t.createLayout=to,t.createStyleLayer=function(t){return"custom"===t.type?new wc(t):new Ec[t.type](t)},t.cross=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=n[0],s=n[1],l=n[2];return t[0]=r*l-o*s,t[1]=o*a-i*l,t[2]=i*s-r*a,t},t.deepEqual=function t(e,n){if(Array.isArray(e)){if(!Array.isArray(n)||e.length!==n.length)return!1;for(var i=0;i0&&(o=1/Math.sqrt(o)),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o,t},t.number=en,t.offscreenCanvasSupported=bt,t.ortho=function(t,e,n,i,r,o,a){var s=1/(e-n),l=1/(i-r),u=1/(o-a);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*s,t[13]=(r+i)*l,t[14]=(a+o)*u,t[15]=1,t},t.parseGlyphPBF=function(t){return new Ol(t).readFields(Ql,[])},t.pbf=Ol,t.performSymbolLayout=function(t,e,n,i,r,o,a){t.createArrays();var s=512*t.overscaling;t.tilePixelRatio=_a/s,t.compareText={},t.iconsNeedLinear=!1;var l=t.layers[0].layout,u=t.layers[0]._unevaluatedLayout._values,c={};if("composite"===t.textSizeData.kind){var h=t.textSizeData,d=h.minZoom,f=h.maxZoom;c.compositeTextSizes=[u["text-size"].possiblyEvaluate(new Mr(d),a),u["text-size"].possiblyEvaluate(new Mr(f),a)]}if("composite"===t.iconSizeData.kind){var _=t.iconSizeData,p=_.minZoom,m=_.maxZoom;c.compositeIconSizes=[u["icon-size"].possiblyEvaluate(new Mr(p),a),u["icon-size"].possiblyEvaluate(new Mr(m),a)]}c.layoutTextSize=u["text-size"].possiblyEvaluate(new Mr(t.zoom+1),a),c.layoutIconSize=u["icon-size"].possiblyEvaluate(new Mr(t.zoom+1),a),c.textMaxSize=u["text-size"].possiblyEvaluate(new Mr(18));for(var v=l.get("text-line-height")*kl,g="map"===l.get("text-rotation-alignment")&&"point"!==l.get("symbol-placement"),y=l.get("text-keep-upright"),b=l.get("text-size"),w=function(){var o=x[E],s=l.get("text-font").evaluate(o,{},a).join(","),u=b.evaluate(o,{},a),h=c.layoutTextSize.evaluate(o,{},a),d=c.layoutIconSize.evaluate(o,{},a),f={horizontal:{},vertical:void 0},_=o.text,p=[0,0];if(_){var m=_.toString(),w=l.get("text-letter-spacing").evaluate(o,{},a)*kl,T=function(t){for(var e=0,n=t;e=_a||h.y<0||h.y>=_a||function(t,e,n,i,r,o,a,s,l,u,c,h,d,f,_,p,m,v,g,y,b,w,E,x,T){var A,S,z,k,N,I=t.addToLineVertexArray(e,n),O=0,L=0,M=0,$=0,R=-1,P=-1,U={},j=Do(""),q=0,D=0;if(void 0===s._unevaluatedLayout.getValue("text-radial-offset")?(q=(A=s.layout.get("text-offset").evaluate(b,{},x).map((function(t){return t*kl})))[0],D=A[1]):(q=s.layout.get("text-radial-offset").evaluate(b,{},x)*kl,D=Yu),t.allowVerticalPlacement&&i.vertical){var B=s.layout.get("text-rotate").evaluate(b,{},x)+90,F=i.vertical;k=new Wu(l,e,u,c,h,F,d,f,_,B),a&&(N=new Wu(l,e,u,c,h,a,m,v,_,B))}if(r){var W=s.layout.get("icon-rotate").evaluate(b,{}),G="none"!==s.layout.get("icon-text-fit"),H=ju(r,W,E,G),V=a?ju(a,W,E,G):void 0;z=new Wu(l,e,u,c,h,r,m,v,!1,W),O=4*H.length;var X=t.iconSizeData,J=null;"source"===X.kind?(J=[Tu*s.layout.get("icon-size").evaluate(b,{})])[0]>ec&&C(t.layerIds[0]+': Value for "icon-size" is >= '+tc+'. Reduce your "icon-size".'):"composite"===X.kind&&((J=[Tu*w.compositeIconSizes[0].evaluate(b,{},x),Tu*w.compositeIconSizes[1].evaluate(b,{},x)])[0]>ec||J[1]>ec)&&C(t.layerIds[0]+': Value for "icon-size" is >= '+tc+'. Reduce your "icon-size".'),t.addSymbols(t.icon,H,J,y,g,b,!1,e,I.lineStartIndex,I.lineLength,-1,x),R=t.icon.placedSymbolArray.length-1,V&&(L=4*V.length,t.addSymbols(t.icon,V,J,y,g,b,lu.vertical,e,I.lineStartIndex,I.lineLength,-1,x),P=t.icon.placedSymbolArray.length-1)}for(var Z in i.horizontal){var Y=i.horizontal[Z];if(!S){j=Do(Y.text);var K=s.layout.get("text-rotate").evaluate(b,{},x);S=new Wu(l,e,u,c,h,Y,d,f,_,K)}var Q=1===Y.positionedLines.length;if(M+=nc(t,e,Y,o,s,_,b,p,I,i.vertical?lu.horizontal:lu.horizontalOnly,Q?Object.keys(i.horizontal):[Z],U,R,w,x),Q)break}i.vertical&&($+=nc(t,e,i.vertical,o,s,_,b,p,I,lu.vertical,["vertical"],U,P,w,x));var tt=S?S.boxStartIndex:t.collisionBoxArray.length,et=S?S.boxEndIndex:t.collisionBoxArray.length,nt=k?k.boxStartIndex:t.collisionBoxArray.length,it=k?k.boxEndIndex:t.collisionBoxArray.length,rt=z?z.boxStartIndex:t.collisionBoxArray.length,ot=z?z.boxEndIndex:t.collisionBoxArray.length,at=N?N.boxStartIndex:t.collisionBoxArray.length,st=N?N.boxEndIndex:t.collisionBoxArray.length,lt=-1,ut=function(t,e){return t&&t.circleDiameter?Math.max(t.circleDiameter,e):e};lt=ut(S,lt),lt=ut(k,lt),lt=ut(z,lt);var ct=(lt=ut(N,lt))>-1?1:0;ct&&(lt*=T/kl),t.glyphOffsetArray.length>=dc.MAX_GLYPHS&&C("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),void 0!==b.sortKey&&t.addToSortKeyRanges(t.symbolInstances.length,b.sortKey),t.symbolInstances.emplaceBack(e.x,e.y,U.right>=0?U.right:-1,U.center>=0?U.center:-1,U.left>=0?U.left:-1,U.vertical||-1,R,P,j,tt,et,nt,it,rt,ot,at,st,u,M,$,O,L,ct,0,d,q,D,lt)}(t,h,s,n,i,r,d,t.layers[0],t.collisionBoxArray,e.index,e.sourceLayerIndex,t.index,g,E,A,l,b,x,S,_,e,o,u,c,a)};if("line"===z)for(var O=0,L=Pu(e.geometry,0,0,_a,_a);O1){var D=Mu(q,T,n.vertical||p,i,m,y);D&&I(q,D)}}else if("Polygon"===e.type)for(var B=0,F=Ps(e.geometry,0);B=z.maxzoom||"none"!==z.visibility&&(a(S,this.zoom,i),(p[z.id]=z.createBucket({index:c.bucketLayerIDs.length,layers:S,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:b,sourceID:this.source})).populate(w,m,this.tileID.canonical),c.bucketLayerIDs.push(S.map((function(t){return t.id}))))}}}var k=t.mapObject(m.glyphDependencies,(function(t){return Object.keys(t).map(Number)}));Object.keys(k).length?o.send("getGlyphs",{uid:this.uid,stacks:k},(function(t,e){h||(h=t,d=e,O.call(l))})):d={};var N=Object.keys(m.iconDependencies);N.length?o.send("getImages",{icons:N,source:this.source,tileID:this.tileID,type:"icons"},(function(t,e){h||(h=t,f=e,O.call(l))})):f={};var I=Object.keys(m.patternDependencies);function O(){if(h)return s(h);if(d&&f&&_){var e=new r(d),n=new t.ImageAtlas(f,_);for(var o in p){var l=p[o];l instanceof t.SymbolBucket?(a(l.layers,this.zoom,i),t.performSymbolLayout(l,d,e.positions,f,n.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):l.hasPattern&&(l instanceof t.LineBucket||l instanceof t.FillBucket||l instanceof t.FillExtrusionBucket)&&(a(l.layers,this.zoom,i),l.addFeatures(m,this.tileID.canonical,n.patternPositions))}this.status="done",s(null,{buckets:t.values(p).filter((function(t){return!t.isEmpty()})),featureIndex:c,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:e.image,imageAtlas:n,glyphMap:this.returnDependencies?d:null,iconMap:this.returnDependencies?f:null,glyphPositions:this.returnDependencies?e.positions:null})}}I.length?o.send("getImages",{icons:I,source:this.source,tileID:this.tileID,type:"patterns"},(function(t,e){h||(h=t,_=e,O.call(l))})):_={},O.call(this)};var l=function(t,e,n,i){this.actor=t,this.layerIndex=e,this.availableImages=n,this.loadVectorData=i||s,this.loading={},this.loaded={}};l.prototype.loadTile=function(e,n){var i=this,r=e.uid;this.loading||(this.loading={});var a=!!(e&&e.request&&e.request.collectResourceTiming)&&new t.RequestPerformance(e.request),s=this.loading[r]=new o(e);s.abort=this.loadVectorData(e,(function(e,o){if(delete i.loading[r],e||!o)return s.status="done",i.loaded[r]=s,n(e);var l=o.rawData,u={};o.expires&&(u.expires=o.expires),o.cacheControl&&(u.cacheControl=o.cacheControl);var c={};if(a){var h=a.finish();h&&(c.resourceTiming=JSON.parse(JSON.stringify(h)))}s.vectorTile=o.vectorTile,s.parse(o.vectorTile,i.layerIndex,i.availableImages,i.actor,(function(e,i){if(e||!i)return n(e);n(null,t.extend({rawTileData:l.slice(0)},i,u,c))})),i.loaded=i.loaded||{},i.loaded[r]=s}))},l.prototype.reloadTile=function(t,e){var n=this,i=this.loaded,r=t.uid,o=this;if(i&&i[r]){var a=i[r];a.showCollisionBoxes=t.showCollisionBoxes;var s=function(t,i){var r=a.reloadCallback;r&&(delete a.reloadCallback,a.parse(a.vectorTile,o.layerIndex,n.availableImages,o.actor,r)),e(t,i)};"parsing"===a.status?a.reloadCallback=s:"done"===a.status&&(a.vectorTile?a.parse(a.vectorTile,this.layerIndex,this.availableImages,this.actor,s):s())}},l.prototype.abortTile=function(t,e){var n=this.loading,i=t.uid;n&&n[i]&&n[i].abort&&(n[i].abort(),delete n[i]),e()},l.prototype.removeTile=function(t,e){var n=this.loaded,i=t.uid;n&&n[i]&&delete n[i],e()};var u=t.window.ImageBitmap,c=function(){this.loaded={}};c.prototype.loadTile=function(e,n){var i=e.uid,r=e.encoding,o=e.rawImageData,a=u&&o instanceof u?this.getImageData(o):o,s=new t.DEMData(i,a,r);this.loaded=this.loaded||{},this.loaded[i]=s,n(null,s)},c.prototype.getImageData=function(e){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(e.width,e.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=e.width,this.offscreenCanvas.height=e.height,this.offscreenCanvasContext.drawImage(e,0,0,e.width,e.height);var n=this.offscreenCanvasContext.getImageData(-1,-1,e.width+2,e.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new t.RGBAImage({width:n.width,height:n.height},n.data)},c.prototype.removeTile=function(t){var e=this.loaded,n=t.uid;e&&e[n]&&delete e[n]};var h=function t(e,n){var i,r=e&&e.type;if("FeatureCollection"===r)for(i=0;i=0!=!!e&&t.reverse()}var _=t.vectorTile.VectorTileFeature.prototype.toGeoJSON,p=function(e){this._feature=e,this.extent=t.EXTENT,this.type=e.type,this.properties=e.tags,"id"in e&&!isNaN(e.id)&&(this.id=parseInt(e.id,10))};p.prototype.loadGeometry=function(){if(1===this._feature.type){for(var e=[],n=0,i=this._feature.geometry;n>31}function I(t,e){for(var n=t.loadGeometry(),i=t.type,r=0,o=0,a=n.length,s=0;s>1;M(t,e,a,i,r,o%2),L(t,e,n,i,a-1,o+1),L(t,e,n,a+1,r,o+1)}}function M(t,e,n,i,r,o){for(;r>i;){if(r-i>600){var a=r-i+1,s=n-i+1,l=Math.log(a),u=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*u*(a-u)/a)*(s-a/2<0?-1:1);M(t,e,n,Math.max(i,Math.floor(n-s*u/a+c)),Math.min(r,Math.floor(n+(a-s)*u/a+c)),o)}var h=e[2*n+o],d=i,f=r;for($(t,e,i,n),e[2*r+o]>h&&$(t,e,i,r);dh;)f--}e[2*i+o]===h?$(t,e,i,f):$(t,e,++f,r),f<=n&&(i=f+1),n<=f&&(r=f-1)}}function $(t,e,n,i){R(t,n,i),R(e,2*n,2*i),R(e,2*n+1,2*i+1)}function R(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function P(t,e,n,i){var r=t-n,o=e-i;return r*r+o*o}w.fromVectorTileJs=E,w.fromGeojsonVt=x,w.GeoJSONWrapper=C;var U=function(t){return t[0]},j=function(t){return t[1]},q=function(t,e,n,i,r){void 0===e&&(e=U),void 0===n&&(n=j),void 0===i&&(i=64),void 0===r&&(r=Float64Array),this.nodeSize=i,this.points=t;for(var o=t.length<65536?Uint16Array:Uint32Array,a=this.ids=new o(t.length),s=this.coords=new r(2*t.length),l=0;l=n&&s<=r&&l>=i&&l<=o&&c.push(t[_]);else{var p=Math.floor((f+d)/2);s=e[2*p],l=e[2*p+1],s>=n&&s<=r&&l>=i&&l<=o&&c.push(t[p]);var m=(h+1)%2;(0===h?n<=s:i<=l)&&(u.push(f),u.push(p-1),u.push(m)),(0===h?r>=s:o>=l)&&(u.push(p+1),u.push(d),u.push(m))}}return c}(this.ids,this.coords,t,e,n,i,this.nodeSize)},q.prototype.within=function(t,e,n){return function(t,e,n,i,r,o){for(var a=[0,t.length-1,0],s=[],l=r*r;a.length;){var u=a.pop(),c=a.pop(),h=a.pop();if(c-h<=o)for(var d=h;d<=c;d++)P(e[2*d],e[2*d+1],n,i)<=l&&s.push(t[d]);else{var f=Math.floor((h+c)/2),_=e[2*f],p=e[2*f+1];P(_,p,n,i)<=l&&s.push(t[f]);var m=(u+1)%2;(0===u?n-r<=_:i-r<=p)&&(a.push(h),a.push(f-1),a.push(m)),(0===u?n+r>=_:i+r>=p)&&(a.push(f+1),a.push(c),a.push(m))}}return s}(this.ids,this.coords,t,e,n,this.nodeSize)};var D={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(t){return t}},B=function(t){this.options=J(Object.create(D),t),this.trees=new Array(this.options.maxZoom+1)};function F(t,e,n,i,r){return{x:t,y:e,zoom:1/0,id:n,parentId:-1,numPoints:i,properties:r}}function W(t,e){var n=t.geometry.coordinates,i=n[0],r=n[1];return{x:V(i),y:X(r),zoom:1/0,index:e,parentId:-1}}function G(t){return{type:"Feature",id:t.id,properties:H(t),geometry:{type:"Point",coordinates:[(i=t.x,360*(i-.5)),(e=t.y,n=(180-360*e)*Math.PI/180,360*Math.atan(Math.exp(n))/Math.PI-90)]}};var e,n,i}function H(t){var e=t.numPoints,n=e>=1e4?Math.round(e/1e3)+"k":e>=1e3?Math.round(e/100)/10+"k":e;return J(J({},t.properties),{cluster:!0,cluster_id:t.id,point_count:e,point_count_abbreviated:n})}function V(t){return t/360+.5}function X(t){var e=Math.sin(t*Math.PI/180),n=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return n<0?0:n>1?1:n}function J(t,e){for(var n in e)t[n]=e[n];return t}function Z(t){return t.x}function Y(t){return t.y}function K(t,e,n,i){for(var r,o=i,a=n-e>>1,s=n-e,l=t[e],u=t[e+1],c=t[n],h=t[n+1],d=e+3;do)r=d,o=f;else if(f===o){var _=Math.abs(d-a);_i&&(r-e>3&&K(t,e,r,i),t[r+2]=o,n-r>3&&K(t,r,n,i))}function Q(t,e,n,i,r,o){var a=r-n,s=o-i;if(0!==a||0!==s){var l=((t-n)*a+(e-i)*s)/(a*a+s*s);l>1?(n=r,i=o):l>0&&(n+=a*l,i+=s*l)}return(a=t-n)*a+(s=e-i)*s}function tt(t,e,n,i){var r={id:void 0===t?null:t,type:e,geometry:n,tags:i,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(t){var e=t.geometry,n=t.type;if("Point"===n||"MultiPoint"===n||"LineString"===n)et(t,e);else if("Polygon"===n||"MultiLineString"===n)for(var i=0;i0&&(a+=i?(r*u-l*o)/2:Math.sqrt(Math.pow(l-r,2)+Math.pow(u-o,2))),r=l,o=u}var c=e.length-3;e[2]=1,K(e,0,c,n),e[c+2]=1,e.size=Math.abs(a),e.start=0,e.end=e.size}function ot(t,e,n,i){for(var r=0;r1?1:n}function lt(t,e,n,i,r,o,a,s){if(i/=e,o>=(n/=e)&&a=i)return null;for(var l=[],u=0;u=n&&_=i)){var p=[];if("Point"===d||"MultiPoint"===d)ut(h,p,n,i,r);else if("LineString"===d)ct(h,p,n,i,r,!1,s.lineMetrics);else if("MultiLineString"===d)dt(h,p,n,i,r,!1);else if("Polygon"===d)dt(h,p,n,i,r,!0);else if("MultiPolygon"===d)for(var m=0;m=n&&a<=i&&(e.push(t[o]),e.push(t[o+1]),e.push(t[o+2]))}}function ct(t,e,n,i,r,o,a){for(var s,l,u=ht(t),c=0===r?_t:pt,h=t.start,d=0;dn&&(l=c(u,f,_,m,v,n),a&&(u.start=h+s*l)):g>i?y=n&&(l=c(u,f,_,m,v,n),b=!0),y>i&&g<=i&&(l=c(u,f,_,m,v,i),b=!0),!o&&b&&(a&&(u.end=h+s*l),e.push(u),u=ht(t)),a&&(h+=s)}var w=t.length-3;f=t[w],_=t[w+1],p=t[w+2],(g=0===r?f:_)>=n&&g<=i&&ft(u,f,_,p),w=u.length-3,o&&w>=3&&(u[w]!==u[0]||u[w+1]!==u[1])&&ft(u,u[0],u[1],u[2]),u.length&&e.push(u)}function ht(t){var e=[];return e.size=t.size,e.start=t.start,e.end=t.end,e}function dt(t,e,n,i,r,o){for(var a=0;aa.maxX&&(a.maxX=c),h>a.maxY&&(a.maxY=h)}return a}function wt(t,e,n,i){var r=e.geometry,o=e.type,a=[];if("Point"===o||"MultiPoint"===o)for(var s=0;s0&&e.size<(r?a:i))n.numPoints+=e.length/3;else{for(var s=[],l=0;la)&&(n.numSimplified++,s.push(e[l]),s.push(e[l+1])),n.numPoints++;r&&function(t,e){for(var n=0,i=0,r=t.length,o=r-2;i0===e)for(i=0,r=t.length;i24)throw new Error("maxZoom should be in the 0-24 range");if(e.promoteId&&e.generateId)throw new Error("promoteId and generateId cannot be used together.");var i=function(t,e){var n=[];if("FeatureCollection"===t.type)for(var i=0;i=i;u--){var c=+Date.now();s=this._cluster(s,u),this.trees[u]=new q(s,Z,Y,o,Float32Array),n&&console.log("z%d: %d clusters in %dms",u,s.length,+Date.now()-c)}return n&&console.timeEnd("total time"),this},B.prototype.getClusters=function(t,e){var n=((t[0]+180)%360+360)%360-180,i=Math.max(-90,Math.min(90,t[1])),r=180===t[2]?180:((t[2]+180)%360+360)%360-180,o=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)n=-180,r=180;else if(n>r){var a=this.getClusters([n,i,180,o],e),s=this.getClusters([-180,i,r,o],e);return a.concat(s)}for(var l=this.trees[this._limitZoom(e)],u=[],c=0,h=l.range(V(n),X(o),V(r),X(i));ce&&(_+=g.numPoints||1)}if(_>=s){for(var y=c.x*f,b=c.y*f,w=a&&f>1?this._map(c,!0):null,E=(u<<5)+(e+1)+this.points.length,x=0,C=d;x1)for(var z=0,k=d;z>5},B.prototype._getOriginZoom=function(t){return(t-this.points.length)%32},B.prototype._map=function(t,e){if(t.numPoints)return e?J({},t.properties):t.properties;var n=this.points[t.index].properties,i=this.options.map(n);return e&&i===n?J({},i):i},xt.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},xt.prototype.splitTile=function(t,e,n,i,r,o,a){for(var s=[t,e,n,i],l=this.options,u=l.debug;s.length;){i=s.pop(),n=s.pop(),e=s.pop(),t=s.pop();var c=1<1&&console.time("creation"),d=this.tiles[h]=bt(t,e,n,i,l),this.tileCoords.push({z:e,x:n,y:i}),u)){u>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",e,n,i,d.numFeatures,d.numPoints,d.numSimplified),console.timeEnd("creation"));var f="z"+e;this.stats[f]=(this.stats[f]||0)+1,this.total++}if(d.source=t,r){if(e===l.maxZoom||e===r)continue;var _=1<1&&console.time("clipping");var p,m,v,g,y,b,w=.5*l.buffer/l.extent,E=.5-w,x=.5+w,C=1+w;p=m=v=g=null,y=lt(t,c,n-w,n+x,0,d.minX,d.maxX,l),b=lt(t,c,n+E,n+C,0,d.minX,d.maxX,l),t=null,y&&(p=lt(y,c,i-w,i+x,1,d.minY,d.maxY,l),m=lt(y,c,i+E,i+C,1,d.minY,d.maxY,l),y=null),b&&(v=lt(b,c,i-w,i+x,1,d.minY,d.maxY,l),g=lt(b,c,i+E,i+C,1,d.minY,d.maxY,l),b=null),u>1&&console.timeEnd("clipping"),s.push(p||[],e+1,2*n,2*i),s.push(m||[],e+1,2*n,2*i+1),s.push(v||[],e+1,2*n+1,2*i),s.push(g||[],e+1,2*n+1,2*i+1)}}},xt.prototype.getTile=function(t,e,n){var i=this.options,r=i.extent,o=i.debug;if(t<0||t>24)return null;var a=1<1&&console.log("drilling down to z%d-%d-%d",t,e,n);for(var l,u=t,c=e,h=n;!l&&u>0;)u--,c=Math.floor(c/2),h=Math.floor(h/2),l=this.tiles[Ct(u,c,h)];return l&&l.source?(o>1&&console.log("found parent tile z%d-%d-%d",u,c,h),o>1&&console.time("drilling down"),this.splitTile(l.source,u,c,h,t,e,n),o>1&&console.timeEnd("drilling down"),this.tiles[s]?gt(this.tiles[s],r):null):null};var At=function(e){function n(t,n,i,r){e.call(this,t,n,i,Tt),r&&(this.loadGeoJSON=r)}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.loadData=function(t,e){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=e,this._pendingLoadDataParams=t,this._state&&"Idle"!==this._state?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},n.prototype._loadData=function(){var e=this;if(this._pendingCallback&&this._pendingLoadDataParams){var n=this._pendingCallback,i=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var r=!!(i&&i.request&&i.request.collectResourceTiming)&&new t.RequestPerformance(i.request);this.loadGeoJSON(i,(function(o,a){if(o||!a)return n(o);if("object"!=typeof a)return n(new Error("Input data given to '"+i.source+"' is not a valid GeoJSON object."));h(a,!0);try{if(i.filter){var s=t.createExpression(i.filter,{type:"boolean","property-type":"data-driven",overridable:!1,transition:!1});if("error"===s.result)throw new Error(s.value.map((function(t){return t.key+": "+t.message})).join(", "));var l=a.features.filter((function(t){return s.value.evaluate({zoom:0},t)}));a={type:"FeatureCollection",features:l}}e._geoJSONIndex=i.cluster?new B(function(e){var n=e.superclusterOptions,i=e.clusterProperties;if(!i||!n)return n;for(var r={},o={},a={accumulated:null,zoom:0},s={properties:null},l=Object.keys(i),u=0,c=l;u=0?0:e.button},n.remove=function(t){t.parentNode&&t.parentNode.removeChild(t)};var d=function(e){function n(){e.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.RGBAImage({width:1,height:1}),this.dirty=!0}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.isLoaded=function(){return this.loaded},n.prototype.setLoaded=function(t){if(this.loaded!==t&&(this.loaded=t,t)){for(var e=0,n=this.requestors;e=0?1.2:1))}function v(t,e,n,i,r,o,a){for(var s=0;s65535)e(new Error("glyphs > 65535 not supported"));else if(o.ranges[s])e(null,{stack:n,id:r,glyph:a});else{var l=o.requests[s];l||(l=o.requests[s]=[],y.loadGlyphRange(n,s,i.url,i.requestManager,(function(t,e){if(e){for(var n in e)i._doesCharSupportLocalGlyph(+n)||(o.glyphs[+n]=e[+n]);o.ranges[s]=!0}for(var r=0,a=l;r1&&(l=t[++s]);var c=Math.abs(u-l.left),h=Math.abs(u-l.right),d=Math.min(c,h),f=void 0,_=r/n*(i+1);if(l.isDash){var p=i-Math.abs(_);f=Math.sqrt(d*d+p*p)}else f=i-Math.sqrt(d*d+_*_);this.data[a+u]=Math.max(0,Math.min(255,f+128))}},C.prototype.addRegularDash=function(t){for(var e=t.length-1;e>=0;--e){var n=t[e],i=t[e+1];n.zeroLength?t.splice(e,1):i&&i.isDash===n.isDash&&(i.left=n.left,t.splice(e,1))}var r=t[0],o=t[t.length-1];r.isDash===o.isDash&&(r.left=o.left-this.width,o.right=r.right+this.width);for(var a=this.width*this.nextRow,s=0,l=t[s],u=0;u1&&(l=t[++s]);var c=Math.abs(u-l.left),h=Math.abs(u-l.right),d=Math.min(c,h),f=l.isDash?d:-d;this.data[a+u]=Math.max(0,Math.min(255,f+128))}},C.prototype.addDash=function(e,n){var i=n?7:0,r=2*i+1;if(this.nextRow+r>this.height)return t.warnOnce("LineAtlas out of space"),null;for(var o=0,a=0;a=i&&e.x=r&&e.y0&&(l[new t.OverscaledTileID(e.overscaledZ,o,n.z,r,n.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,e.wrap,n.z,n.x,n.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,n.z,a,n.y-1).key]={backfilled:!1}),n.y+10&&(i.resourceTiming=e._resourceTiming,e._resourceTiming=[]),e.fire(new t.Event("data",i))}}))},n.prototype.onAdd=function(t){this.map=t,this.load()},n.prototype.setData=function(e){var n=this;return this._data=e,this.fire(new t.Event("dataloading",{dataType:"source"})),this._updateWorkerData((function(e){if(e)n.fire(new t.ErrorEvent(e));else{var i={dataType:"source",sourceDataType:"content"};n._collectResourceTiming&&n._resourceTiming&&n._resourceTiming.length>0&&(i.resourceTiming=n._resourceTiming,n._resourceTiming=[]),n.fire(new t.Event("data",i))}})),this},n.prototype.getClusterExpansionZoom=function(t,e){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:t,source:this.id},e),this},n.prototype.getClusterChildren=function(t,e){return this.actor.send("geojson.getClusterChildren",{clusterId:t,source:this.id},e),this},n.prototype.getClusterLeaves=function(t,e,n,i){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:t,limit:e,offset:n},i),this},n.prototype._updateWorkerData=function(e){var n=this;this._loaded=!1;var i=t.extend({},this.workerOptions),r=this._data;"string"==typeof r?(i.request=this.map._requestManager.transformRequest(t.browser.resolveURL(r),t.ResourceType.Source),i.request.collectResourceTiming=this._collectResourceTiming):i.data=JSON.stringify(r),this.actor.send(this.type+".loadData",i,(function(t,r){n._removed||r&&r.abandoned||(n._loaded=!0,r&&r.resourceTiming&&r.resourceTiming[n.id]&&(n._resourceTiming=r.resourceTiming[n.id].slice(0)),n.actor.send(n.type+".coalesce",{source:i.source},null),e(t))}))},n.prototype.loaded=function(){return this._loaded},n.prototype.loadTile=function(e,n){var i=this,r=e.actor?"reloadTile":"loadTile";e.actor=this.actor;var o={type:this.type,uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:t.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};e.request=this.actor.send(r,o,(function(t,o){return delete e.request,e.unloadVectorData(),e.aborted?n(null):t?n(t):(e.loadVectorData(o,i.map.painter,"reloadTile"===r),n(null))}))},n.prototype.abortTile=function(t){t.request&&(t.request.cancel(),delete t.request),t.aborted=!0},n.prototype.unloadTile=function(t){t.unloadVectorData(),this.actor.send("removeTile",{uid:t.uid,type:this.type,source:this.id})},n.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},n.prototype.serialize=function(){return t.extend({},this._options,{type:this.type,data:this._data})},n.prototype.hasTransition=function(){return!1},n}(t.Evented),O=t.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),L=function(e){function n(t,n,i,r){e.call(this),this.id=t,this.dispatcher=i,this.coordinates=n.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(r),this.options=n}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.load=function(e,n){var i=this;this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this.url=this.options.url,t.getImage(this.map._requestManager.transformRequest(this.url,t.ResourceType.Image),(function(r,o){i._loaded=!0,r?i.fire(new t.ErrorEvent(r)):o&&(i.image=o,e&&(i.coordinates=e),n&&n(),i._finishLoading())}))},n.prototype.loaded=function(){return this._loaded},n.prototype.updateImage=function(t){var e=this;return this.image&&t.url?(this.options.url=t.url,this.load(t.coordinates,(function(){e.texture=null})),this):this},n.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})))},n.prototype.onAdd=function(t){this.map=t,this.load()},n.prototype.setCoordinates=function(e){var n=this;this.coordinates=e;var i=e.map(t.MercatorCoordinate.fromLngLat);this.tileID=function(e){for(var n=1/0,i=1/0,r=-1/0,o=-1/0,a=0,s=e;an.end(0)?this.fire(new t.ErrorEvent(new t.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+n.start(0)+" and "+n.end(0)+"-second mark."))):this.video.currentTime=e}},n.prototype.getVideo=function(){return this.video},n.prototype.onAdd=function(t){this.map||(this.map=t,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},n.prototype.prepare=function(){if(!(0===Object.keys(this.tiles).length||this.video.readyState<2)){var e=this.map.painter.context,n=e.gl;for(var i in this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,O.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(n.LINEAR,n.CLAMP_TO_EDGE),n.texSubImage2D(n.TEXTURE_2D,0,0,0,n.RGBA,n.UNSIGNED_BYTE,this.video)):(this.texture=new t.Texture(e,this.video,n.RGBA),this.texture.bind(n.LINEAR,n.CLAMP_TO_EDGE)),this.tiles){var r=this.tiles[i];"loaded"!==r.state&&(r.state="loaded",r.texture=this.texture)}}},n.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},n.prototype.hasTransition=function(){return this.video&&!this.video.paused},n}(L),$=function(e){function n(n,i,r,o){e.call(this,n,i,r,o),i.coordinates?Array.isArray(i.coordinates)&&4===i.coordinates.length&&!i.coordinates.some((function(t){return!Array.isArray(t)||2!==t.length||t.some((function(t){return"number"!=typeof t}))}))||this.fire(new t.ErrorEvent(new t.ValidationError("sources."+n,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.ErrorEvent(new t.ValidationError("sources."+n,null,'missing required property "coordinates"'))),i.animate&&"boolean"!=typeof i.animate&&this.fire(new t.ErrorEvent(new t.ValidationError("sources."+n,null,'optional "animate" property must be a boolean value'))),i.canvas?"string"==typeof i.canvas||i.canvas instanceof t.window.HTMLCanvasElement||this.fire(new t.ErrorEvent(new t.ValidationError("sources."+n,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new t.ErrorEvent(new t.ValidationError("sources."+n,null,'missing required property "canvas"'))),this.options=i,this.animate=void 0===i.animate||i.animate}return e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n,n.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof t.window.HTMLCanvasElement?this.options.canvas:t.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new t.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},n.prototype.getCanvas=function(){return this.canvas},n.prototype.onAdd=function(t){this.map=t,this.load(),this.canvas&&this.animate&&this.play()},n.prototype.onRemove=function(){this.pause()},n.prototype.prepare=function(){var e=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,e=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,e=!0),!this._hasInvalidDimensions()&&0!==Object.keys(this.tiles).length){var n=this.map.painter.context,i=n.gl;for(var r in this.boundsBuffer||(this.boundsBuffer=n.createVertexBuffer(this._boundsArray,O.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(e||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new t.Texture(n,this.canvas,i.RGBA,{premultiply:!0}),this.tiles){var o=this.tiles[r];"loaded"!==o.state&&(o.state="loaded",o.texture=this.texture)}}},n.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},n.prototype.hasTransition=function(){return this._playing},n.prototype._hasInvalidDimensions=function(){for(var t=0,e=[this.canvas.width,this.canvas.height];tthis.max){var a=this._getAndRemoveByKey(this.order[0]);a&&this.onRemove(a)}return this},q.prototype.has=function(t){return t.wrapped().key in this.data},q.prototype.getAndRemove=function(t){return this.has(t)?this._getAndRemoveByKey(t.wrapped().key):null},q.prototype._getAndRemoveByKey=function(t){var e=this.data[t].shift();return e.timeout&&clearTimeout(e.timeout),0===this.data[t].length&&delete this.data[t],this.order.splice(this.order.indexOf(t),1),e.value},q.prototype.getByKey=function(t){var e=this.data[t];return e?e[0].value:null},q.prototype.get=function(t){return this.has(t)?this.data[t.wrapped().key][0].value:null},q.prototype.remove=function(t,e){if(!this.has(t))return this;var n=t.wrapped().key,i=void 0===e?0:this.data[n].indexOf(e),r=this.data[n][i];return this.data[n].splice(i,1),r.timeout&&clearTimeout(r.timeout),0===this.data[n].length&&delete this.data[n],this.onRemove(r.value),this.order.splice(this.order.indexOf(n),1),this},q.prototype.setMaxSize=function(t){for(this.max=t;this.order.length>this.max;){var e=this._getAndRemoveByKey(this.order[0]);e&&this.onRemove(e)}return this},q.prototype.filter=function(t){var e=[];for(var n in this.data)for(var i=0,r=this.data[n];i1||(Math.abs(n)>1&&(1===Math.abs(n+r)?n+=r:1===Math.abs(n-r)&&(n-=r)),e.dem&&t.dem&&(t.dem.backfillBorder(e.dem,n,i),t.neighboringTiles&&t.neighboringTiles[o]&&(t.neighboringTiles[o].backfilled=!0)))}},n.prototype.getTile=function(t){return this.getTileByID(t.key)},n.prototype.getTileByID=function(t){return this._tiles[t]},n.prototype._retainLoadedChildren=function(t,e,n,i){for(var r in this._tiles){var o=this._tiles[r];if(!(i[r]||!o.hasData()||o.tileID.overscaledZ<=e||o.tileID.overscaledZ>n)){for(var a=o.tileID;o&&o.tileID.overscaledZ>e+1;){var s=o.tileID.scaledTo(o.tileID.overscaledZ-1);(o=this._tiles[s.key])&&o.hasData()&&(a=s)}for(var l=a;l.overscaledZ>e;)if(t[(l=l.scaledTo(l.overscaledZ-1)).key]){i[a.key]=a;break}}}},n.prototype.findLoadedParent=function(t,e){if(t.key in this._loadedParentTiles){var n=this._loadedParentTiles[t.key];return n&&n.tileID.overscaledZ>=e?n:null}for(var i=t.overscaledZ-1;i>=e;i--){var r=t.scaledTo(i),o=this._getLoadedTile(r);if(o)return o}},n.prototype._getLoadedTile=function(t){var e=this._tiles[t.key];return e&&e.hasData()?e:this._cache.getByKey(t.wrapped().key)},n.prototype.updateCacheSize=function(t){var e=(Math.ceil(t.width/this._source.tileSize)+1)*(Math.ceil(t.height/this._source.tileSize)+1),n=Math.floor(5*e),i="number"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,n):n;this._cache.setMaxSize(i)},n.prototype.handleWrapJump=function(t){var e=(t-(void 0===this._prevLng?t:this._prevLng))/360,n=Math.round(e);if(this._prevLng=t,n){var i={};for(var r in this._tiles){var o=this._tiles[r];o.tileID=o.tileID.unwrapTo(o.tileID.wrap+n),i[o.tileID.key]=o}for(var a in this._tiles=i,this._timers)clearTimeout(this._timers[a]),delete this._timers[a];for(var s in this._tiles){var l=this._tiles[s];this._setTileReloadTimer(s,l)}}},n.prototype.update=function(e){var i=this;if(this.transform=e,this._sourceLoaded&&!this._paused){var r;this.updateCacheSize(e),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?r=e.getVisibleUnwrappedCoordinates(this._source.tileID).map((function(e){return new t.OverscaledTileID(e.canonical.z,e.wrap,e.canonical.z,e.canonical.x,e.canonical.y)})):(r=e.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(r=r.filter((function(t){return i._source.hasTile(t)})))):r=[];var o=e.coveringZoomLevel(this._source),a=Math.max(o-n.maxOverzooming,this._source.minzoom),s=Math.max(o+n.maxUnderzooming,this._source.minzoom),l=this._updateRetainedTiles(r,o);if(Mt(this._source.type)){for(var u={},c={},h=0,d=Object.keys(l);hthis._source.maxzoom){var m=_.children(this._source.maxzoom)[0],v=this.getTile(m);if(v&&v.hasData()){i[m.key]=m;continue}}else{var g=_.children(this._source.maxzoom);if(i[g[0].key]&&i[g[1].key]&&i[g[2].key]&&i[g[3].key])continue}for(var y=p.wasRequested(),b=_.overscaledZ-1;b>=o;--b){var w=_.scaledTo(b);if(r[w.key])break;if(r[w.key]=!0,!(p=this.getTile(w))&&y&&(p=this._addTile(w)),p&&(i[w.key]=w,y=p.wasRequested(),p.hasData()))break}}}return i},n.prototype._updateLoadedParentTileCache=function(){for(var t in this._loadedParentTiles={},this._tiles){for(var e=[],n=void 0,i=this._tiles[t].tileID;i.overscaledZ>0;){if(i.key in this._loadedParentTiles){n=this._loadedParentTiles[i.key];break}e.push(i.key);var r=i.scaledTo(i.overscaledZ-1);if(n=this._getLoadedTile(r))break;i=r}for(var o=0,a=e;o0||(e.hasData()&&"reloading"!==e.state?this._cache.add(e.tileID,e,e.getExpiryTimeout()):(e.aborted=!0,this._abortTile(e),this._unloadTile(e))))},n.prototype.clearTiles=function(){for(var t in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(t);this._cache.reset()},n.prototype.tilesIn=function(e,n,i){var r=this,o=[],a=this.transform;if(!a)return o;for(var s=i?a.getCameraQueryGeometry(e):e,l=e.map((function(t){return a.pointCoordinate(t)})),u=s.map((function(t){return a.pointCoordinate(t)})),c=this.getIds(),h=1/0,d=1/0,f=-1/0,_=-1/0,p=0,m=u;p=0&&v[1].y+m>=0){var g=l.map((function(t){return s.getTilePoint(t)})),y=u.map((function(t){return s.getTilePoint(t)}));o.push({tile:i,tileID:s,queryGeometry:g,cameraQueryGeometry:y,scale:p})}}},y=0;y=t.browser.now())return!0}return!1},n.prototype.setFeatureState=function(t,e,n){t=t||"_geojsonTileLayer",this._state.updateState(t,e,n)},n.prototype.removeFeatureState=function(t,e,n){t=t||"_geojsonTileLayer",this._state.removeFeatureState(t,e,n)},n.prototype.getFeatureState=function(t,e){return t=t||"_geojsonTileLayer",this._state.getState(t,e)},n.prototype.setDependencies=function(t,e,n){var i=this._tiles[t];i&&i.setDependencies(e,n)},n.prototype.reloadTilesForDependencies=function(t,e){for(var n in this._tiles)this._tiles[n].hasDependency(t,e)&&this._reloadTile(n,"reloading");this._cache.filter((function(n){return!n.hasDependency(t,e)}))},n}(t.Evented);function Lt(t,e){var n=Math.abs(2*t.wrap)-+(t.wrap<0),i=Math.abs(2*e.wrap)-+(e.wrap<0);return t.overscaledZ-e.overscaledZ||i-n||e.canonical.y-t.canonical.y||e.canonical.x-t.canonical.x}function Mt(t){return"raster"===t||"image"===t||"video"===t}function $t(){return new t.window.Worker(ao.workerUrl)}Ot.maxOverzooming=10,Ot.maxUnderzooming=3;var Rt="mapboxgl_preloaded_worker_pool",Pt=function(){this.active={}};Pt.prototype.acquire=function(t){if(!this.workers)for(this.workers=[];this.workers.length0?(r-a)/s:0;return this.points[o].mult(1-l).add(this.points[n].mult(l))};var Qt=function(t,e,n){var i=this.boxCells=[],r=this.circleCells=[];this.xCellCount=Math.ceil(t/n),this.yCellCount=Math.ceil(e/n);for(var o=0;o=-e[0]&&n<=e[0]&&i>=-e[1]&&i<=e[1]}function oe(e,n,i,r,o,a,s,l){var u=r?e.textSizeData:e.iconSizeData,c=t.evaluateSizeForZoom(u,i.transform.zoom),h=[256/i.width*2+1,256/i.height*2+1],d=r?e.text.dynamicLayoutVertexArray:e.icon.dynamicLayoutVertexArray;d.clear();for(var f=e.lineVertexArray,_=r?e.text.placedSymbolArray:e.icon.placedSymbolArray,p=i.transform.width/i.transform.height,m=!1,v=0;v<_.length;v++){var g=_.get(v);if(g.hidden||g.writingMode===t.WritingMode.vertical&&!m)de(g.numGlyphs,d);else{m=!1;var y=[g.anchorX,g.anchorY,0,1];if(t.transformMat4(y,y,n),re(y,h)){var b=y[3],w=ie(i.transform.cameraToCenterDistance,b),E=t.evaluateSizeForFeature(u,c,g),x=s?E/w:E*w,C=new t.Point(g.anchorX,g.anchorY),T=ne(C,o).point,A={},S=le(g,x,!1,l,n,o,a,e.glyphOffsetArray,f,d,T,C,A,p);m=S.useVertical,(S.notEnoughRoom||m||S.needsFlipping&&le(g,x,!0,l,n,o,a,e.glyphOffsetArray,f,d,T,C,A,p).notEnoughRoom)&&de(g.numGlyphs,d)}else de(g.numGlyphs,d)}}r?e.text.dynamicLayoutVertexBuffer.updateData(d):e.icon.dynamicLayoutVertexBuffer.updateData(d)}function ae(t,e,n,i,r,o,a,s,l,u,c){var h=s.glyphStartIndex+s.numGlyphs,d=s.lineStartIndex,f=s.lineStartIndex+s.lineLength,_=e.getoffsetX(s.glyphStartIndex),p=e.getoffsetX(h-1),m=ce(t*_,n,i,r,o,a,s.segment,d,f,l,u,c);if(!m)return null;var v=ce(t*p,n,i,r,o,a,s.segment,d,f,l,u,c);return v?{first:m,last:v}:null}function se(e,n,i,r){return e===t.WritingMode.horizontal&&Math.abs(i.y-n.y)>Math.abs(i.x-n.x)*r?{useVertical:!0}:(e===t.WritingMode.vertical?n.yi.x)?{needsFlipping:!0}:null}function le(e,n,i,r,o,a,s,l,u,c,h,d,f,_){var p,m=n/24,v=e.lineOffsetX*m,g=e.lineOffsetY*m;if(e.numGlyphs>1){var y=e.glyphStartIndex+e.numGlyphs,b=e.lineStartIndex,w=e.lineStartIndex+e.lineLength,E=ae(m,l,v,g,i,h,d,e,u,a,f);if(!E)return{notEnoughRoom:!0};var x=ne(E.first.point,s).point,C=ne(E.last.point,s).point;if(r&&!i){var T=se(e.writingMode,x,C,_);if(T)return T}p=[E.first];for(var A=e.glyphStartIndex+1;A0?N.point:ue(d,k,S,1,o),O=se(e.writingMode,S,I,_);if(O)return O}var L=ce(m*l.getoffsetX(e.glyphStartIndex),v,g,i,h,d,e.segment,e.lineStartIndex,e.lineStartIndex+e.lineLength,u,a,f);if(!L)return{notEnoughRoom:!0};p=[L]}for(var M=0,$=p;M<$.length;M+=1){var R=$[M];t.addDynamicAttributes(c,R.point,R.angle)}return{}}function ue(t,e,n,i,r){var o=ne(t.add(t.sub(e)._unit()),r).point,a=n.sub(o);return n.add(a._mult(i/a.mag()))}function ce(e,n,i,r,o,a,s,l,u,c,h,d){var f=r?e-n:e+n,_=f>0?1:-1,p=0;r&&(_*=-1,p=Math.PI),_<0&&(p+=Math.PI);for(var m=_>0?l+s:l+s+1,v=o,g=o,y=0,b=0,w=Math.abs(f),E=[];y+b<=w;){if((m+=_)=u)return null;if(g=v,E.push(v),void 0===(v=d[m])){var x=new t.Point(c.getx(m),c.gety(m)),C=ne(x,h);if(C.signedDistanceFromCamera>0)v=d[m]=C.point;else{var T=m-_;v=ue(0===y?a:new t.Point(c.getx(T),c.gety(T)),x,g,w-y+1,h)}}y+=b,b=g.dist(v)}var A=(w-y)/b,S=v.sub(g),z=S.mult(A)._add(g);z._add(S._unit()._perp()._mult(i*_));var k=p+Math.atan2(v.y-g.y,v.x-g.x);return E.push(z),{point:z,angle:k,path:E}}Qt.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},Qt.prototype.insert=function(t,e,n,i,r){this._forEachCell(e,n,i,r,this._insertBoxCell,this.boxUid++),this.boxKeys.push(t),this.bboxes.push(e),this.bboxes.push(n),this.bboxes.push(i),this.bboxes.push(r)},Qt.prototype.insertCircle=function(t,e,n,i){this._forEachCell(e-i,n-i,e+i,n+i,this._insertCircleCell,this.circleUid++),this.circleKeys.push(t),this.circles.push(e),this.circles.push(n),this.circles.push(i)},Qt.prototype._insertBoxCell=function(t,e,n,i,r,o){this.boxCells[r].push(o)},Qt.prototype._insertCircleCell=function(t,e,n,i,r,o){this.circleCells[r].push(o)},Qt.prototype._query=function(t,e,n,i,r,o){if(n<0||t>this.width||i<0||e>this.height)return!r&&[];var a=[];if(t<=0&&e<=0&&this.width<=n&&this.height<=i){if(r)return!0;for(var s=0;s0:a},Qt.prototype._queryCircle=function(t,e,n,i,r){var o=t-n,a=t+n,s=e-n,l=e+n;if(a<0||o>this.width||l<0||s>this.height)return!i&&[];var u=[],c={hitTest:i,circle:{x:t,y:e,radius:n},seenUids:{box:{},circle:{}}};return this._forEachCell(o,s,a,l,this._queryCellCircle,u,c,r),i?u.length>0:u},Qt.prototype.query=function(t,e,n,i,r){return this._query(t,e,n,i,!1,r)},Qt.prototype.hitTest=function(t,e,n,i,r){return this._query(t,e,n,i,!0,r)},Qt.prototype.hitTestCircle=function(t,e,n,i){return this._queryCircle(t,e,n,!0,i)},Qt.prototype._queryCell=function(t,e,n,i,r,o,a,s){var l=a.seenUids,u=this.boxCells[r];if(null!==u)for(var c=this.bboxes,h=0,d=u;h=c[_+0]&&i>=c[_+1]&&(!s||s(this.boxKeys[f]))){if(a.hitTest)return o.push(!0),!0;o.push({key:this.boxKeys[f],x1:c[_],y1:c[_+1],x2:c[_+2],y2:c[_+3]})}}}var p=this.circleCells[r];if(null!==p)for(var m=this.circles,v=0,g=p;va*a+s*s},Qt.prototype._circleAndRectCollide=function(t,e,n,i,r,o,a){var s=(o-i)/2,l=Math.abs(t-(i+s));if(l>s+n)return!1;var u=(a-r)/2,c=Math.abs(e-(r+u));if(c>u+n)return!1;if(l<=s||c<=u)return!0;var h=l-s,d=c-u;return h*h+d*d<=n*n};var he=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function de(t,e){for(var n=0;n=1;I--)N.push(z.path[I]);for(var O=1;O0){for(var R=N[0].clone(),P=N[0].clone(),U=1;U=T.x&&P.x<=A.x&&R.y>=T.y&&P.y<=A.y?[N]:P.xA.x||P.yA.y?[]:t.clipLine([N],T.x,T.y,A.x,A.y)}for(var j=0,q=$;j=this.screenRightBoundary||i<_e||e>this.screenBottomBoundary},pe.prototype.isInsideGrid=function(t,e,n,i){return n>=0&&t=0&&e0?(this.prevPlacement&&this.prevPlacement.variableOffsets[h.crossTileID]&&this.prevPlacement.placements[h.crossTileID]&&this.prevPlacement.placements[h.crossTileID].text&&(p=this.prevPlacement.variableOffsets[h.crossTileID].anchor),this.variableOffsets[h.crossTileID]={textOffset:m,width:n,height:i,anchor:t,textBoxScale:r,prevAnchor:p},this.markUsedJustification(d,t,h,f),d.allowVerticalPlacement&&(this.markUsedOrientation(d,f,h),this.placedOrientations[h.crossTileID]=f),{shift:v,placedGlyphBoxes:g}):void 0},Te.prototype.placeLayerBucketPart=function(e,n,i){var r=this,o=e.parameters,a=o.bucket,s=o.layout,l=o.posMatrix,u=o.textLabelPlaneMatrix,c=o.labelToScreenMatrix,h=o.textPixelRatio,d=o.holdingForFade,f=o.collisionBoxArray,_=o.partiallyEvaluatedTextSize,p=o.collisionGroup,m=s.get("text-optional"),v=s.get("icon-optional"),g=s.get("text-allow-overlap"),y=s.get("icon-allow-overlap"),b="map"===s.get("text-rotation-alignment"),w="map"===s.get("text-pitch-alignment"),E="none"!==s.get("icon-text-fit"),x="viewport-y"===s.get("symbol-z-order"),C=g&&(y||!a.hasIconData()||v),T=y&&(g||!a.hasTextData()||m);!a.collisionArrays&&f&&a.deserializeCollisionBoxes(f);var A=function(e,o){if(!n[e.crossTileID])if(d)r.placements[e.crossTileID]=new ye(!1,!1,!1);else{var f,x=!1,A=!1,S=!0,z=null,k={box:null,offscreen:null},N={box:null,offscreen:null},I=null,O=null,L=0,M=0,$=0;o.textFeatureIndex?L=o.textFeatureIndex:e.useRuntimeCollisionCircles&&(L=e.featureIndex),o.verticalTextFeatureIndex&&(M=o.verticalTextFeatureIndex);var R=o.textBox;if(R){var P=function(n){var i=t.WritingMode.horizontal;if(a.allowVerticalPlacement&&!n&&r.prevPlacement){var o=r.prevPlacement.placedOrientations[e.crossTileID];o&&(r.placedOrientations[e.crossTileID]=o,i=o,r.markUsedOrientation(a,i,e))}return i},U=function(n,i){if(a.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&o.verticalTextBox)for(var r=0,s=a.writingModes;r0&&(j=j.filter((function(t){return t!==q.anchor}))).unshift(q.anchor)}var D=function(t,n,i){for(var o=t.x2-t.x1,s=t.y2-t.y1,u=e.textBoxScale,c=E&&!y?n:null,d={box:[],offscreen:!1},f=g?2*j.length:j.length,_=0;_=j.length,C=r.attemptAnchorPlacement(m,t,o,s,u,b,w,h,l,p,v,e,a,i,c);if(C&&(d=C.placedGlyphBoxes)&&d.box&&d.box.length){x=!0,z=C.shift;break}}return d};U((function(){return D(R,o.iconBox,t.WritingMode.horizontal)}),(function(){var n=o.verticalTextBox,i=k&&k.box&&k.box.length;return a.allowVerticalPlacement&&!i&&e.numVerticalGlyphVertices>0&&n?D(n,o.verticalIconBox,t.WritingMode.vertical):{box:null,offscreen:null}})),k&&(x=k.box,S=k.offscreen);var B=P(k&&k.box);if(!x&&r.prevPlacement){var F=r.prevPlacement.variableOffsets[e.crossTileID];F&&(r.variableOffsets[e.crossTileID]=F,r.markUsedJustification(a,F.anchor,e,B))}}else{var W=function(t,n){var i=r.collisionIndex.placeCollisionBox(t,g,h,l,p.predicate);return i&&i.box&&i.box.length&&(r.markUsedOrientation(a,n,e),r.placedOrientations[e.crossTileID]=n),i};U((function(){return W(R,t.WritingMode.horizontal)}),(function(){var n=o.verticalTextBox;return a.allowVerticalPlacement&&e.numVerticalGlyphVertices>0&&n?W(n,t.WritingMode.vertical):{box:null,offscreen:null}})),P(k&&k.box&&k.box.length)}}if(x=(f=k)&&f.box&&f.box.length>0,S=f&&f.offscreen,e.useRuntimeCollisionCircles){var G=a.text.placedSymbolArray.get(e.centerJustifiedTextSymbolIndex),H=t.evaluateSizeForFeature(a.textSizeData,_,G),V=s.get("text-padding"),X=e.collisionCircleDiameter;I=r.collisionIndex.placeCollisionCircles(g,G,a.lineVertexArray,a.glyphOffsetArray,H,l,u,c,i,w,p.predicate,X,V),x=g||I.circles.length>0&&!I.collisionDetected,S=S&&I.offscreen}if(o.iconFeatureIndex&&($=o.iconFeatureIndex),o.iconBox){var J=function(t){var e=E&&z?Ce(t,z.x,z.y,b,w,r.transform.angle):t;return r.collisionIndex.placeCollisionBox(e,y,h,l,p.predicate)};A=N&&N.box&&N.box.length&&o.verticalIconBox?(O=J(o.verticalIconBox)).box.length>0:(O=J(o.iconBox)).box.length>0,S=S&&O.offscreen}var Z=m||0===e.numHorizontalGlyphVertices&&0===e.numVerticalGlyphVertices,Y=v||0===e.numIconVertices;if(Z||Y?Y?Z||(A=A&&x):x=A&&x:A=x=A&&x,x&&f&&f.box&&(N&&N.box&&M?r.collisionIndex.insertCollisionBox(f.box,s.get("text-ignore-placement"),a.bucketInstanceId,M,p.ID):r.collisionIndex.insertCollisionBox(f.box,s.get("text-ignore-placement"),a.bucketInstanceId,L,p.ID)),A&&O&&r.collisionIndex.insertCollisionBox(O.box,s.get("icon-ignore-placement"),a.bucketInstanceId,$,p.ID),I&&(x&&r.collisionIndex.insertCollisionCircles(I.circles,s.get("text-ignore-placement"),a.bucketInstanceId,L,p.ID),i)){var K=a.bucketInstanceId,Q=r.collisionCircleArrays[K];void 0===Q&&(Q=r.collisionCircleArrays[K]=new be);for(var tt=0;tt=0;--z){var k=S[z];A(a.symbolInstances.get(k),a.collisionArrays[k])}else for(var N=e.symbolInstanceStart;N=0&&(e.text.placedSymbolArray.get(u).crossTileID=o>=0&&u!==o?0:i.crossTileID)}},Te.prototype.markUsedOrientation=function(e,n,i){for(var r=n===t.WritingMode.horizontal||n===t.WritingMode.horizontalOnly?n:0,o=n===t.WritingMode.vertical?n:0,a=0,s=[i.leftJustifiedTextSymbolIndex,i.centerJustifiedTextSymbolIndex,i.rightJustifiedTextSymbolIndex];a0||l>0,y=o.numIconVertices>0,b=r.placedOrientations[o.crossTileID],w=b===t.WritingMode.vertical,E=b===t.WritingMode.horizontal||b===t.WritingMode.horizontalOnly;if(g){var x=Me(v.text),C=w?$e:x;_(e.text,s,C);var T=E?$e:x;_(e.text,l,T);var A=v.text.isHidden();[o.rightJustifiedTextSymbolIndex,o.centerJustifiedTextSymbolIndex,o.leftJustifiedTextSymbolIndex].forEach((function(t){t>=0&&(e.text.placedSymbolArray.get(t).hidden=A||w?1:0)})),o.verticalPlacedTextSymbolIndex>=0&&(e.text.placedSymbolArray.get(o.verticalPlacedTextSymbolIndex).hidden=A||E?1:0);var S=r.variableOffsets[o.crossTileID];S&&r.markUsedJustification(e,S.anchor,o,b);var z=r.placedOrientations[o.crossTileID];z&&(r.markUsedJustification(e,"left",o,z),r.markUsedOrientation(e,z,o))}if(y){var k=Me(v.icon),N=!(d&&o.verticalPlacedIconSymbolIndex&&w);if(o.placedIconSymbolIndex>=0){var I=N?k:$e;_(e.icon,o.numIconVertices,I),e.icon.placedSymbolArray.get(o.placedIconSymbolIndex).hidden=v.icon.isHidden()}if(o.verticalPlacedIconSymbolIndex>=0){var O=N?$e:k;_(e.icon,o.numVerticalIconVertices,O),e.icon.placedSymbolArray.get(o.verticalPlacedIconSymbolIndex).hidden=v.icon.isHidden()}}if(e.hasIconCollisionBoxData()||e.hasTextCollisionBoxData()){var L=e.collisionArrays[i];if(L){var M=new t.Point(0,0);if(L.textBox||L.verticalTextBox){var $=!0;if(u){var R=r.variableOffsets[p];R?(M=xe(R.anchor,R.width,R.height,R.textOffset,R.textBoxScale),c&&M._rotate(h?r.transform.angle:-r.transform.angle)):$=!1}L.textBox&&Ae(e.textCollisionBox.collisionVertexArray,v.text.placed,!$||w,M.x,M.y),L.verticalTextBox&&Ae(e.textCollisionBox.collisionVertexArray,v.text.placed,!$||E,M.x,M.y)}var P=Boolean(!E&&L.verticalIconBox);L.iconBox&&Ae(e.iconCollisionBox.collisionVertexArray,v.icon.placed,P,d?M.x:0,d?M.y:0),L.verticalIconBox&&Ae(e.iconCollisionBox.collisionVertexArray,v.icon.placed,!P,d?M.x:0,d?M.y:0)}}},m=0;mt},Te.prototype.setStale=function(){this.stale=!0};var Se=Math.pow(2,25),ze=Math.pow(2,24),ke=Math.pow(2,17),Ne=Math.pow(2,16),Ie=Math.pow(2,9),Oe=Math.pow(2,8),Le=Math.pow(2,1);function Me(t){if(0===t.opacity&&!t.placed)return 0;if(1===t.opacity&&t.placed)return 4294967295;var e=t.placed?1:0,n=Math.floor(127*t.opacity);return n*Se+e*ze+n*ke+e*Ne+n*Ie+e*Oe+n*Le+e}var $e=0,Re=function(t){this._sortAcrossTiles="viewport-y"!==t.layout.get("symbol-z-order")&&void 0!==t.layout.get("symbol-sort-key").constantOr(1),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};Re.prototype.continuePlacement=function(t,e,n,i,r){for(var o=this._bucketParts;this._currentTileIndex2};this._currentPlacementIndex>=0;){var s=n[e[this._currentPlacementIndex]],l=this.placement.collisionIndex.transform.zoom;if("symbol"===s.type&&(!s.minzoom||s.minzoom<=l)&&(!s.maxzoom||s.maxzoom>l)){if(this._inProgressLayer||(this._inProgressLayer=new Re(s)),this._inProgressLayer.continuePlacement(i[s.source],this.placement,this._showCollisionBoxes,s,a))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},Pe.prototype.commit=function(t){return this.placement.commit(t),this.placement};var Ue=512/t.EXTENT/2,je=function(t,e,n){this.tileID=t,this.indexedSymbolInstances={},this.bucketInstanceId=n;for(var i=0;it.overscaledZ)for(var s in a){var l=a[s];l.tileID.isChildOf(t)&&l.findMatches(e.symbolInstances,t,r)}else{var u=a[t.scaledTo(Number(o)).key];u&&u.findMatches(e.symbolInstances,t,r)}}for(var c=0;c1?"@2x":"",l=t.getJSON(n.transformRequest(n.normalizeSpriteURL(e,s,".json"),t.ResourceType.SpriteJSON),(function(t,e){l=null,a||(a=t,r=e,c())})),u=t.getImage(n.transformRequest(n.normalizeSpriteURL(e,s,".png"),t.ResourceType.SpriteImage),(function(t,e){u=null,a||(a=t,o=e,c())}));function c(){if(a)i(a);else if(r&&o){var e=t.browser.getImageData(o),n={};for(var s in r){var l=r[s],u=l.width,c=l.height,h=l.x,d=l.y,f=l.sdf,_=l.pixelRatio,p=l.stretchX,m=l.stretchY,v=l.content,g=new t.RGBAImage({width:u,height:c});t.RGBAImage.copy(e,g,{x:h,y:d},{x:0,y:0},{width:u,height:c}),n[s]={data:g,pixelRatio:_,sdf:f,stretchX:p,stretchY:m,content:v}}i(null,n)}}return{cancel:function(){l&&(l.cancel(),l=null),u&&(u.cancel(),u=null)}}}(e,this.map._requestManager,(function(e,i){if(n._spriteRequest=null,e)n.fire(new t.ErrorEvent(e));else if(i)for(var r in i)n.imageManager.addImage(r,i[r]);n.imageManager.setLoaded(!0),n._availableImages=n.imageManager.listImages(),n.dispatcher.broadcast("setImages",n._availableImages),n.fire(new t.Event("data",{dataType:"style"}))}))},n.prototype._validateLayer=function(e){var n=this.sourceCaches[e.source];if(n){var i=e.sourceLayer;if(i){var r=n.getSource();("geojson"===r.type||r.vectorLayerIds&&-1===r.vectorLayerIds.indexOf(i))&&this.fire(new t.ErrorEvent(new Error('Source layer "'+i+'" does not exist on source "'+r.id+'" as specified by style layer "'+e.id+'"')))}}},n.prototype.loaded=function(){if(!this._loaded)return!1;if(Object.keys(this._updatedSources).length)return!1;for(var t in this.sourceCaches)if(!this.sourceCaches[t].loaded())return!1;return!!this.imageManager.isLoaded()},n.prototype._serializeLayers=function(t){for(var e=[],n=0,i=t;n0)throw new Error("Unimplemented: "+r.map((function(t){return t.command})).join(", ")+".");return i.forEach((function(t){"setTransition"!==t.command&&n[t.command].apply(n,t.args)})),this.stylesheet=e,!0},n.prototype.addImage=function(e,n){if(this.getImage(e))return this.fire(new t.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(e,n),this._afterImageUpdated(e)},n.prototype.updateImage=function(t,e){this.imageManager.updateImage(t,e)},n.prototype.getImage=function(t){return this.imageManager.getImage(t)},n.prototype.removeImage=function(e){if(!this.getImage(e))return this.fire(new t.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(e),this._afterImageUpdated(e)},n.prototype._afterImageUpdated=function(e){this._availableImages=this.imageManager.listImages(),this._changedImages[e]=!0,this._changed=!0,this.dispatcher.broadcast("setImages",this._availableImages),this.fire(new t.Event("data",{dataType:"style"}))},n.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},n.prototype.addSource=function(e,n,i){var r=this;if(void 0===i&&(i={}),this._checkLoaded(),void 0!==this.sourceCaches[e])throw new Error("There is already a source with this ID");if(!n.type)throw new Error("The type property must be defined, but only the following properties were given: "+Object.keys(n).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(n.type)>=0&&this._validate(t.validateStyle.source,"sources."+e,n,null,i))){this.map&&this.map._collectResourceTiming&&(n.collectResourceTiming=!0);var o=this.sourceCaches[e]=new Ot(e,n,this.dispatcher);o.style=this,o.setEventedParent(this,(function(){return{isSourceLoaded:r.loaded(),source:o.serialize(),sourceId:e}})),o.onAdd(this.map),this._changed=!0}},n.prototype.removeSource=function(e){if(this._checkLoaded(),void 0===this.sourceCaches[e])throw new Error("There is no source with this ID");for(var n in this._layers)if(this._layers[n].source===e)return this.fire(new t.ErrorEvent(new Error('Source "'+e+'" cannot be removed while layer "'+n+'" is using it.')));var i=this.sourceCaches[e];delete this.sourceCaches[e],delete this._updatedSources[e],i.fire(new t.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:e})),i.setEventedParent(null),i.clearTiles(),i.onRemove&&i.onRemove(this.map),this._changed=!0},n.prototype.setGeoJSONSourceData=function(t,e){this._checkLoaded(),this.sourceCaches[t].getSource().setData(e),this._changed=!0},n.prototype.getSource=function(t){return this.sourceCaches[t]&&this.sourceCaches[t].getSource()},n.prototype.addLayer=function(e,n,i){void 0===i&&(i={}),this._checkLoaded();var r=e.id;if(this.getLayer(r))this.fire(new t.ErrorEvent(new Error('Layer with id "'+r+'" already exists on this map')));else{var o;if("custom"===e.type){if(Fe(this,t.validateCustomStyleLayer(e)))return;o=t.createStyleLayer(e)}else{if("object"==typeof e.source&&(this.addSource(r,e.source),e=t.clone$1(e),e=t.extend(e,{source:r})),this._validate(t.validateStyle.layer,"layers."+r,e,{arrayIndex:-1},i))return;o=t.createStyleLayer(e),this._validateLayer(o),o.setEventedParent(this,{layer:{id:r}}),this._serializedLayers[o.id]=o.serialize()}var a=n?this._order.indexOf(n):this._order.length;if(n&&-1===a)this.fire(new t.ErrorEvent(new Error('Layer with id "'+n+'" does not exist on this map.')));else{if(this._order.splice(a,0,r),this._layerOrderChanged=!0,this._layers[r]=o,this._removedLayers[r]&&o.source&&"custom"!==o.type){var s=this._removedLayers[r];delete this._removedLayers[r],s.type!==o.type?this._updatedSources[o.source]="clear":(this._updatedSources[o.source]="reload",this.sourceCaches[o.source].pause())}this._updateLayer(o),o.onAdd&&o.onAdd(this.map)}}},n.prototype.moveLayer=function(e,n){if(this._checkLoaded(),this._changed=!0,this._layers[e]){if(e!==n){var i=this._order.indexOf(e);this._order.splice(i,1);var r=n?this._order.indexOf(n):this._order.length;n&&-1===r?this.fire(new t.ErrorEvent(new Error('Layer with id "'+n+'" does not exist on this map.'))):(this._order.splice(r,0,e),this._layerOrderChanged=!0)}}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be moved.")))},n.prototype.removeLayer=function(e){this._checkLoaded();var n=this._layers[e];if(n){n.setEventedParent(null);var i=this._order.indexOf(e);this._order.splice(i,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[e]=n,delete this._layers[e],delete this._serializedLayers[e],delete this._updatedLayers[e],delete this._updatedPaintProps[e],n.onRemove&&n.onRemove(this.map)}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be removed.")))},n.prototype.getLayer=function(t){return this._layers[t]},n.prototype.hasLayer=function(t){return t in this._layers},n.prototype.setLayerZoomRange=function(e,n,i){this._checkLoaded();var r=this.getLayer(e);r?r.minzoom===n&&r.maxzoom===i||(null!=n&&(r.minzoom=n),null!=i&&(r.maxzoom=i),this._updateLayer(r)):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot have zoom extent.")))},n.prototype.setFilter=function(e,n,i){void 0===i&&(i={}),this._checkLoaded();var r=this.getLayer(e);if(r){if(!t.deepEqual(r.filter,n))return null==n?(r.filter=void 0,void this._updateLayer(r)):void(this._validate(t.validateStyle.filter,"layers."+r.id+".filter",n,null,i)||(r.filter=t.clone$1(n),this._updateLayer(r)))}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be filtered.")))},n.prototype.getFilter=function(e){return t.clone$1(this.getLayer(e).filter)},n.prototype.setLayoutProperty=function(e,n,i,r){void 0===r&&(r={}),this._checkLoaded();var o=this.getLayer(e);o?t.deepEqual(o.getLayoutProperty(n),i)||(o.setLayoutProperty(n,i,r),this._updateLayer(o)):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be styled.")))},n.prototype.getLayoutProperty=function(e,n){var i=this.getLayer(e);if(i)return i.getLayoutProperty(n);this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style.")))},n.prototype.setPaintProperty=function(e,n,i,r){void 0===r&&(r={}),this._checkLoaded();var o=this.getLayer(e);o?t.deepEqual(o.getPaintProperty(n),i)||(o.setPaintProperty(n,i,r)&&this._updateLayer(o),this._changed=!0,this._updatedPaintProps[e]=!0):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be styled.")))},n.prototype.getPaintProperty=function(t,e){return this.getLayer(t).getPaintProperty(e)},n.prototype.setFeatureState=function(e,n){this._checkLoaded();var i=e.source,r=e.sourceLayer,o=this.sourceCaches[i];if(void 0!==o){var a=o.getSource().type;"geojson"===a&&r?this.fire(new t.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):"vector"!==a||r?(void 0===e.id&&this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided."))),o.setFeatureState(r,e.id,n)):this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new t.ErrorEvent(new Error("The source '"+i+"' does not exist in the map's style.")))},n.prototype.removeFeatureState=function(e,n){this._checkLoaded();var i=e.source,r=this.sourceCaches[i];if(void 0!==r){var o=r.getSource().type,a="vector"===o?e.sourceLayer:void 0;"vector"!==o||a?n&&"string"!=typeof e.id&&"number"!=typeof e.id?this.fire(new t.ErrorEvent(new Error("A feature id is required to remove its specific state property."))):r.removeFeatureState(a,e.id,n):this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new t.ErrorEvent(new Error("The source '"+i+"' does not exist in the map's style.")))},n.prototype.getFeatureState=function(e){this._checkLoaded();var n=e.source,i=e.sourceLayer,r=this.sourceCaches[n];if(void 0!==r){if("vector"!==r.getSource().type||i)return void 0===e.id&&this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided."))),r.getFeatureState(i,e.id);this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new t.ErrorEvent(new Error("The source '"+n+"' does not exist in the map's style.")))},n.prototype.getTransition=function(){return t.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},n.prototype.serialize=function(){return t.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:t.mapObject(this.sourceCaches,(function(t){return t.serialize()})),layers:this._serializeLayers(this._order)},(function(t){return void 0!==t}))},n.prototype._updateLayer=function(t){this._updatedLayers[t.id]=!0,t.source&&!this._updatedSources[t.source]&&"raster"!==this.sourceCaches[t.source].getSource().type&&(this._updatedSources[t.source]="reload",this.sourceCaches[t.source].pause()),this._changed=!0},n.prototype._flattenAndSortRenderedFeatures=function(t){for(var e=this,n=function(t){return"fill-extrusion"===e._layers[t].type},i={},r=[],o=this._order.length-1;o>=0;o--){var a=this._order[o];if(n(a)){i[a]=o;for(var s=0,l=t;s=0;_--){var p=this._order[_];if(n(p))for(var m=r.length-1;m>=0;m--){var v=r[m].feature;if(i[v.layer.id]<_)break;f.push(v),r.pop()}else for(var g=0,y=t;g 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),rn=En("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),on=En("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}"),an=En("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_FragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);}"),sn=En("varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),ln=En("uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),un=En("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}"),cn=En("varying vec4 v_color;void main() {gl_FragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}"),hn=En("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}"),dn=En("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),fn=En("uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\n#define PI 3.141592653589793\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),_n=En("uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),pn=En("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),mn=En("uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float pixel_ratio_from\n#pragma mapbox: initialize lowp float pixel_ratio_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}"),vn=En("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}"),gn=En("uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),yn=En("uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}"),bn=En("#define SDF_PX 8.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}"),wn=En("#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}");function En(t,e){var n=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,i=e.match(/attribute ([\w]+) ([\w]+)/g),r=t.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),o=e.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),a=o?o.concat(r):r,s={};return{fragmentSource:t=t.replace(n,(function(t,e,n,i,r){return s[r]=!0,"define"===e?"\n#ifndef HAS_UNIFORM_u_"+r+"\nvarying "+n+" "+i+" "+r+";\n#else\nuniform "+n+" "+i+" u_"+r+";\n#endif\n":"\n#ifdef HAS_UNIFORM_u_"+r+"\n "+n+" "+i+" "+r+" = u_"+r+";\n#endif\n"})),vertexSource:e=e.replace(n,(function(t,e,n,i,r){var o="float"===i?"vec2":"vec4",a=r.match(/color/)?"color":o;return s[r]?"define"===e?"\n#ifndef HAS_UNIFORM_u_"+r+"\nuniform lowp float u_"+r+"_t;\nattribute "+n+" "+o+" a_"+r+";\nvarying "+n+" "+i+" "+r+";\n#else\nuniform "+n+" "+i+" u_"+r+";\n#endif\n":"vec4"===a?"\n#ifndef HAS_UNIFORM_u_"+r+"\n "+r+" = a_"+r+";\n#else\n "+n+" "+i+" "+r+" = u_"+r+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+r+"\n "+r+" = unpack_mix_"+a+"(a_"+r+", u_"+r+"_t);\n#else\n "+n+" "+i+" "+r+" = u_"+r+";\n#endif\n":"define"===e?"\n#ifndef HAS_UNIFORM_u_"+r+"\nuniform lowp float u_"+r+"_t;\nattribute "+n+" "+o+" a_"+r+";\n#else\nuniform "+n+" "+i+" u_"+r+";\n#endif\n":"vec4"===a?"\n#ifndef HAS_UNIFORM_u_"+r+"\n "+n+" "+i+" "+r+" = a_"+r+";\n#else\n "+n+" "+i+" "+r+" = u_"+r+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+r+"\n "+n+" "+i+" "+r+" = unpack_mix_"+a+"(a_"+r+", u_"+r+"_t);\n#else\n "+n+" "+i+" "+r+" = u_"+r+";\n#endif\n"})),staticAttributes:i,staticUniforms:a}}var xn=Object.freeze({__proto__:null,prelude:Je,background:Ze,backgroundPattern:Ye,circle:Ke,clippingMask:Qe,heatmap:tn,heatmapTexture:en,collisionBox:nn,collisionCircle:rn,debug:on,fill:an,fillOutline:sn,fillOutlinePattern:ln,fillPattern:un,fillExtrusion:cn,fillExtrusionPattern:hn,hillshadePrepare:dn,hillshade:fn,line:_n,lineGradient:pn,linePattern:mn,lineSDF:vn,raster:gn,symbolIcon:yn,symbolSDF:bn,symbolTextAndIcon:wn}),Cn=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};function Tn(t){for(var e=[],n=0;n>16,s>>16],u_pixel_coord_lower:[65535&a,65535&s]}}An.prototype.draw=function(t,e,n,i,r,o,a,s,l,u,c,h,d,f,_,p){var m,v=t.gl;if(!this.failedToCreate){for(var g in t.program.set(this.program),t.setDepthMode(n),t.setStencilMode(i),t.setColorMode(r),t.setCullFace(o),this.fixedUniforms)this.fixedUniforms[g].set(a[g]);f&&f.setUniforms(t,this.binderUniforms,h,{zoom:d});for(var y=(m={},m[v.LINES]=2,m[v.TRIANGLES]=3,m[v.LINE_STRIP]=1,m)[e],b=0,w=c.get();b0?1-1/(1.001-a):-a),u_contrast_factor:(o=r.paint.get("raster-contrast"),o>0?1/(1-o):1+o),u_spin_weights:Zn(r.paint.get("raster-hue-rotate"))};var o,a};function Zn(t){t*=Math.PI/180;var e=Math.sin(t),n=Math.cos(t);return[(2*n+1)/3,(-Math.sqrt(3)*e-n+1)/3,(Math.sqrt(3)*e-n+1)/3]}var Yn,Kn=function(t,e,n,i,r,o,a,s,l,u){var c=r.transform;return{u_is_size_zoom_constant:+("constant"===t||"source"===t),u_is_size_feature_constant:+("constant"===t||"camera"===t),u_size_t:e?e.uSizeT:0,u_size:e?e.uSize:0,u_camera_to_center_distance:c.cameraToCenterDistance,u_pitch:c.pitch/360*2*Math.PI,u_rotate_symbol:+n,u_aspect_ratio:c.width/c.height,u_fade_change:r.options.fadeDuration?r.symbolFadeChange:1,u_matrix:o,u_label_plane_matrix:a,u_coord_matrix:s,u_is_text:+l,u_pitch_with_map:+i,u_texsize:u,u_texture:0}},Qn=function(e,n,i,r,o,a,s,l,u,c,h){var d=o.transform;return t.extend(Kn(e,n,i,r,o,a,s,l,u,c),{u_gamma_scale:r?Math.cos(d._pitch)*d.cameraToCenterDistance:1,u_device_pixel_ratio:t.browser.devicePixelRatio,u_is_halo:+h})},ti=function(e,n,i,r,o,a,s,l,u,c){return t.extend(Qn(e,n,i,r,o,a,s,l,!0,u,!0),{u_texsize_icon:c,u_texture_icon:1})},ei=function(t,e,n){return{u_matrix:t,u_opacity:e,u_color:n}},ni=function(e,n,i,r,o,a){return t.extend(function(t,e,n,i){var r=n.imageManager.getPattern(t.from.toString()),o=n.imageManager.getPattern(t.to.toString()),a=n.imageManager.getPixelSize(),s=a.width,l=a.height,u=Math.pow(2,i.tileID.overscaledZ),c=i.tileSize*Math.pow(2,n.transform.tileZoom)/u,h=c*(i.tileID.canonical.x+i.tileID.wrap*u),d=c*i.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:r.tl,u_pattern_br_a:r.br,u_pattern_tl_b:o.tl,u_pattern_br_b:o.br,u_texsize:[s,l],u_mix:e.t,u_pattern_size_a:r.displaySize,u_pattern_size_b:o.displaySize,u_scale_a:e.fromScale,u_scale_b:e.toScale,u_tile_units_to_pixels:1/me(i,1,n.transform.tileZoom),u_pixel_coord_upper:[h>>16,d>>16],u_pixel_coord_lower:[65535&h,65535&d]}}(r,a,i,o),{u_matrix:e,u_opacity:n})},ii={fillExtrusion:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_lightpos:new t.Uniform3f(e,n.u_lightpos),u_lightintensity:new t.Uniform1f(e,n.u_lightintensity),u_lightcolor:new t.Uniform3f(e,n.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,n.u_vertical_gradient),u_opacity:new t.Uniform1f(e,n.u_opacity)}},fillExtrusionPattern:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_lightpos:new t.Uniform3f(e,n.u_lightpos),u_lightintensity:new t.Uniform1f(e,n.u_lightintensity),u_lightcolor:new t.Uniform3f(e,n.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,n.u_vertical_gradient),u_height_factor:new t.Uniform1f(e,n.u_height_factor),u_image:new t.Uniform1i(e,n.u_image),u_texsize:new t.Uniform2f(e,n.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,n.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,n.u_pixel_coord_lower),u_scale:new t.Uniform3f(e,n.u_scale),u_fade:new t.Uniform1f(e,n.u_fade),u_opacity:new t.Uniform1f(e,n.u_opacity)}},fill:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix)}},fillPattern:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_image:new t.Uniform1i(e,n.u_image),u_texsize:new t.Uniform2f(e,n.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,n.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,n.u_pixel_coord_lower),u_scale:new t.Uniform3f(e,n.u_scale),u_fade:new t.Uniform1f(e,n.u_fade)}},fillOutline:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_world:new t.Uniform2f(e,n.u_world)}},fillOutlinePattern:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_world:new t.Uniform2f(e,n.u_world),u_image:new t.Uniform1i(e,n.u_image),u_texsize:new t.Uniform2f(e,n.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,n.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,n.u_pixel_coord_lower),u_scale:new t.Uniform3f(e,n.u_scale),u_fade:new t.Uniform1f(e,n.u_fade)}},circle:function(e,n){return{u_camera_to_center_distance:new t.Uniform1f(e,n.u_camera_to_center_distance),u_scale_with_map:new t.Uniform1i(e,n.u_scale_with_map),u_pitch_with_map:new t.Uniform1i(e,n.u_pitch_with_map),u_extrude_scale:new t.Uniform2f(e,n.u_extrude_scale),u_device_pixel_ratio:new t.Uniform1f(e,n.u_device_pixel_ratio),u_matrix:new t.UniformMatrix4f(e,n.u_matrix)}},collisionBox:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_camera_to_center_distance:new t.Uniform1f(e,n.u_camera_to_center_distance),u_pixels_to_tile_units:new t.Uniform1f(e,n.u_pixels_to_tile_units),u_extrude_scale:new t.Uniform2f(e,n.u_extrude_scale),u_overscale_factor:new t.Uniform1f(e,n.u_overscale_factor)}},collisionCircle:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_inv_matrix:new t.UniformMatrix4f(e,n.u_inv_matrix),u_camera_to_center_distance:new t.Uniform1f(e,n.u_camera_to_center_distance),u_viewport_size:new t.Uniform2f(e,n.u_viewport_size)}},debug:function(e,n){return{u_color:new t.UniformColor(e,n.u_color),u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_overlay:new t.Uniform1i(e,n.u_overlay),u_overlay_scale:new t.Uniform1f(e,n.u_overlay_scale)}},clippingMask:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix)}},heatmap:function(e,n){return{u_extrude_scale:new t.Uniform1f(e,n.u_extrude_scale),u_intensity:new t.Uniform1f(e,n.u_intensity),u_matrix:new t.UniformMatrix4f(e,n.u_matrix)}},heatmapTexture:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_world:new t.Uniform2f(e,n.u_world),u_image:new t.Uniform1i(e,n.u_image),u_color_ramp:new t.Uniform1i(e,n.u_color_ramp),u_opacity:new t.Uniform1f(e,n.u_opacity)}},hillshade:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_image:new t.Uniform1i(e,n.u_image),u_latrange:new t.Uniform2f(e,n.u_latrange),u_light:new t.Uniform2f(e,n.u_light),u_shadow:new t.UniformColor(e,n.u_shadow),u_highlight:new t.UniformColor(e,n.u_highlight),u_accent:new t.UniformColor(e,n.u_accent)}},hillshadePrepare:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_image:new t.Uniform1i(e,n.u_image),u_dimension:new t.Uniform2f(e,n.u_dimension),u_zoom:new t.Uniform1f(e,n.u_zoom),u_unpack:new t.Uniform4f(e,n.u_unpack)}},line:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_ratio:new t.Uniform1f(e,n.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,n.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,n.u_units_to_pixels)}},lineGradient:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_ratio:new t.Uniform1f(e,n.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,n.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,n.u_units_to_pixels),u_image:new t.Uniform1i(e,n.u_image),u_image_height:new t.Uniform1f(e,n.u_image_height)}},linePattern:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_texsize:new t.Uniform2f(e,n.u_texsize),u_ratio:new t.Uniform1f(e,n.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,n.u_device_pixel_ratio),u_image:new t.Uniform1i(e,n.u_image),u_units_to_pixels:new t.Uniform2f(e,n.u_units_to_pixels),u_scale:new t.Uniform3f(e,n.u_scale),u_fade:new t.Uniform1f(e,n.u_fade)}},lineSDF:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_ratio:new t.Uniform1f(e,n.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,n.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,n.u_units_to_pixels),u_patternscale_a:new t.Uniform2f(e,n.u_patternscale_a),u_patternscale_b:new t.Uniform2f(e,n.u_patternscale_b),u_sdfgamma:new t.Uniform1f(e,n.u_sdfgamma),u_image:new t.Uniform1i(e,n.u_image),u_tex_y_a:new t.Uniform1f(e,n.u_tex_y_a),u_tex_y_b:new t.Uniform1f(e,n.u_tex_y_b),u_mix:new t.Uniform1f(e,n.u_mix)}},raster:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_tl_parent:new t.Uniform2f(e,n.u_tl_parent),u_scale_parent:new t.Uniform1f(e,n.u_scale_parent),u_buffer_scale:new t.Uniform1f(e,n.u_buffer_scale),u_fade_t:new t.Uniform1f(e,n.u_fade_t),u_opacity:new t.Uniform1f(e,n.u_opacity),u_image0:new t.Uniform1i(e,n.u_image0),u_image1:new t.Uniform1i(e,n.u_image1),u_brightness_low:new t.Uniform1f(e,n.u_brightness_low),u_brightness_high:new t.Uniform1f(e,n.u_brightness_high),u_saturation_factor:new t.Uniform1f(e,n.u_saturation_factor),u_contrast_factor:new t.Uniform1f(e,n.u_contrast_factor),u_spin_weights:new t.Uniform3f(e,n.u_spin_weights)}},symbolIcon:function(e,n){return{u_is_size_zoom_constant:new t.Uniform1i(e,n.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,n.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,n.u_size_t),u_size:new t.Uniform1f(e,n.u_size),u_camera_to_center_distance:new t.Uniform1f(e,n.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,n.u_pitch),u_rotate_symbol:new t.Uniform1i(e,n.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,n.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,n.u_fade_change),u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,n.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,n.u_coord_matrix),u_is_text:new t.Uniform1i(e,n.u_is_text),u_pitch_with_map:new t.Uniform1i(e,n.u_pitch_with_map),u_texsize:new t.Uniform2f(e,n.u_texsize),u_texture:new t.Uniform1i(e,n.u_texture)}},symbolSDF:function(e,n){return{u_is_size_zoom_constant:new t.Uniform1i(e,n.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,n.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,n.u_size_t),u_size:new t.Uniform1f(e,n.u_size),u_camera_to_center_distance:new t.Uniform1f(e,n.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,n.u_pitch),u_rotate_symbol:new t.Uniform1i(e,n.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,n.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,n.u_fade_change),u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,n.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,n.u_coord_matrix),u_is_text:new t.Uniform1i(e,n.u_is_text),u_pitch_with_map:new t.Uniform1i(e,n.u_pitch_with_map),u_texsize:new t.Uniform2f(e,n.u_texsize),u_texture:new t.Uniform1i(e,n.u_texture),u_gamma_scale:new t.Uniform1f(e,n.u_gamma_scale),u_device_pixel_ratio:new t.Uniform1f(e,n.u_device_pixel_ratio),u_is_halo:new t.Uniform1i(e,n.u_is_halo)}},symbolTextAndIcon:function(e,n){return{u_is_size_zoom_constant:new t.Uniform1i(e,n.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,n.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,n.u_size_t),u_size:new t.Uniform1f(e,n.u_size),u_camera_to_center_distance:new t.Uniform1f(e,n.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,n.u_pitch),u_rotate_symbol:new t.Uniform1i(e,n.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,n.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,n.u_fade_change),u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,n.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,n.u_coord_matrix),u_is_text:new t.Uniform1i(e,n.u_is_text),u_pitch_with_map:new t.Uniform1i(e,n.u_pitch_with_map),u_texsize:new t.Uniform2f(e,n.u_texsize),u_texsize_icon:new t.Uniform2f(e,n.u_texsize_icon),u_texture:new t.Uniform1i(e,n.u_texture),u_texture_icon:new t.Uniform1i(e,n.u_texture_icon),u_gamma_scale:new t.Uniform1f(e,n.u_gamma_scale),u_device_pixel_ratio:new t.Uniform1f(e,n.u_device_pixel_ratio),u_is_halo:new t.Uniform1i(e,n.u_is_halo)}},background:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_opacity:new t.Uniform1f(e,n.u_opacity),u_color:new t.UniformColor(e,n.u_color)}},backgroundPattern:function(e,n){return{u_matrix:new t.UniformMatrix4f(e,n.u_matrix),u_opacity:new t.Uniform1f(e,n.u_opacity),u_image:new t.Uniform1i(e,n.u_image),u_pattern_tl_a:new t.Uniform2f(e,n.u_pattern_tl_a),u_pattern_br_a:new t.Uniform2f(e,n.u_pattern_br_a),u_pattern_tl_b:new t.Uniform2f(e,n.u_pattern_tl_b),u_pattern_br_b:new t.Uniform2f(e,n.u_pattern_br_b),u_texsize:new t.Uniform2f(e,n.u_texsize),u_mix:new t.Uniform1f(e,n.u_mix),u_pattern_size_a:new t.Uniform2f(e,n.u_pattern_size_a),u_pattern_size_b:new t.Uniform2f(e,n.u_pattern_size_b),u_scale_a:new t.Uniform1f(e,n.u_scale_a),u_scale_b:new t.Uniform1f(e,n.u_scale_b),u_pixel_coord_upper:new t.Uniform2f(e,n.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,n.u_pixel_coord_lower),u_tile_units_to_pixels:new t.Uniform1f(e,n.u_tile_units_to_pixels)}}};function ri(e,n,i,r,o,a,s){for(var l=e.context,u=l.gl,c=e.useProgram("collisionBox"),h=[],d=0,f=0,_=0;_0){var w=t.create(),E=g;t.mul(w,v.placementInvProjMatrix,e.transform.glCoordMatrix),t.mul(w,w,v.placementViewportMatrix),h.push({circleArray:b,circleOffset:f,transform:E,invTransform:w}),f=d+=b.length/4}y&&c.draw(l,u.LINES,At.disabled,zt.disabled,e.colorModeForRenderPass(),Nt.disabled,$n(g,e.transform,m),i.id,y.layoutVertexBuffer,y.indexBuffer,y.segments,null,e.transform.zoom,null,null,y.collisionVertexBuffer)}}if(s&&h.length){var x=e.useProgram("collisionCircle"),C=new t.StructArrayLayout2f1f2i16;C.resize(4*d),C._trim();for(var T=0,A=0,S=h;A=0&&(p[v.associatedIconIndex]={shiftedAnchor:S,angle:z})}else de(v.numGlyphs,f)}if(h){_.clear();for(var N=e.icon.placedSymbolArray,I=0;I0){var s=t.browser.now(),l=(s-e.timeAdded)/a,u=n?(s-n.timeAdded)/a:-1,c=i.getSource(),h=o.coveringZoomLevel({tileSize:c.tileSize,roundZoom:c.roundZoom}),d=!n||Math.abs(n.tileID.overscaledZ-h)>Math.abs(e.tileID.overscaledZ-h),f=d&&e.refreshedUponExpiration?1:t.clamp(d?l:1-u,0,1);return e.refreshedUponExpiration&&l>=1&&(e.refreshedUponExpiration=!1),n?{opacity:1,mix:1-f}:{opacity:f,mix:0}}return{opacity:1,mix:0}}var mi=new t.Color(1,0,0,1),vi=new t.Color(0,1,0,1),gi=new t.Color(0,0,1,1),yi=new t.Color(1,0,1,1),bi=new t.Color(0,1,1,1);function wi(t){var e=t.transform.padding;Ei(t,t.transform.height-(e.top||0),3,mi),Ei(t,e.bottom||0,3,vi),xi(t,e.left||0,3,gi),xi(t,t.transform.width-(e.right||0),3,yi);var n=t.transform.centerPoint;!function(t,e,n,i){var r=20,o=2;Ci(t,e-o/2,n-r/2,o,r,i),Ci(t,e-r/2,n-o/2,r,o,i)}(t,n.x,t.transform.height-n.y,bi)}function Ei(t,e,n,i){Ci(t,0,e+n/2,t.transform.width,n,i)}function xi(t,e,n,i){Ci(t,e-n/2,0,n,t.transform.height,i)}function Ci(e,n,i,r,o,a){var s=e.context,l=s.gl;l.enable(l.SCISSOR_TEST),l.scissor(n*t.browser.devicePixelRatio,i*t.browser.devicePixelRatio,r*t.browser.devicePixelRatio,o*t.browser.devicePixelRatio),s.clear({color:a}),l.disable(l.SCISSOR_TEST)}function Ti(e,n,i){var r=e.context,o=r.gl,a=i.posMatrix,s=e.useProgram("debug"),l=At.disabled,u=zt.disabled,c=e.colorModeForRenderPass(),h="$debug";r.activeTexture.set(o.TEXTURE0),e.emptyTexture.bind(o.LINEAR,o.CLAMP_TO_EDGE),s.draw(r,o.LINE_STRIP,l,u,c,Nt.disabled,Pn(a,t.Color.red),h,e.debugBuffer,e.tileBorderIndexBuffer,e.debugSegments);var d=n.getTileByID(i.key).latestRawTileData,f=d&&d.byteLength||0,_=Math.floor(f/1024),p=n.getTile(i).tileSize,m=512/Math.min(p,512)*(i.overscaledZ/e.transform.zoom)*.5,v=i.canonical.toString();i.overscaledZ!==i.canonical.z&&(v+=" => "+i.overscaledZ),function(t,e){t.initDebugOverlayCanvas();var n=t.debugOverlayCanvas,i=t.context.gl,r=t.debugOverlayCanvas.getContext("2d");r.clearRect(0,0,n.width,n.height),r.shadowColor="white",r.shadowBlur=2,r.lineWidth=1.5,r.strokeStyle="white",r.textBaseline="top",r.font="bold 36px Open Sans, sans-serif",r.fillText(e,5,5),r.strokeText(e,5,5),t.debugOverlayTexture.update(n),t.debugOverlayTexture.bind(i.LINEAR,i.CLAMP_TO_EDGE)}(e,v+" "+_+"kb"),s.draw(r,o.TRIANGLES,l,u,kt.alphaBlended,Nt.disabled,Pn(a,t.Color.transparent,m),h,e.debugBuffer,e.quadTriangleIndexBuffer,e.debugSegments)}var Ai={symbol:function(e,n,i,r,o){if("translucent"===e.renderPass){var a=zt.disabled,s=e.colorModeForRenderPass();i.layout.get("text-variable-anchor")&&function(e,n,i,r,o,a,s){for(var l=n.transform,u="map"===o,c="map"===a,h=0,d=e;h256&&this.clearStencil(),n.setColorMode(kt.disabled),n.setDepthMode(At.disabled);var r=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var o=0,a=e;o256&&this.clearStencil();var t=this.nextStencilID++,e=this.context.gl;return new zt({func:e.NOTEQUAL,mask:255},t,255,e.KEEP,e.KEEP,e.REPLACE)},Si.prototype.stencilModeForClipping=function(t){var e=this.context.gl;return new zt({func:e.EQUAL,mask:255},this._tileClippingMaskIDs[t.key],0,e.KEEP,e.KEEP,e.REPLACE)},Si.prototype.stencilConfigForOverlap=function(t){var e,n=this.context.gl,i=t.sort((function(t,e){return e.overscaledZ-t.overscaledZ})),r=i[i.length-1].overscaledZ,o=i[0].overscaledZ-r+1;if(o>1){this.currentStencilSource=void 0,this.nextStencilID+o>256&&this.clearStencil();for(var a={},s=0;s=0;this.currentLayer--){var E=this.style._layers[r[this.currentLayer]],x=o[E.source],C=c[E.source];this._renderTileClippingMasks(E,C),this.renderLayer(this,x,E,C)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?e.pop():null},Si.prototype.isPatternMissing=function(t){if(!t)return!1;if(!t.from||!t.to)return!0;var e=this.imageManager.getPattern(t.from.toString()),n=this.imageManager.getPattern(t.to.toString());return!e||!n},Si.prototype.useProgram=function(t,e){this.cache=this.cache||{};var n=""+t+(e?e.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[n]||(this.cache[n]=new An(this.context,t,xn[t],e,ii[t],this._showOverdrawInspector)),this.cache[n]},Si.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},Si.prototype.setBaseState=function(){var t=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(t.FUNC_ADD)},Si.prototype.initDebugOverlayCanvas=function(){if(null==this.debugOverlayCanvas){this.debugOverlayCanvas=t.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var e=this.context.gl;this.debugOverlayTexture=new t.Texture(this.context,this.debugOverlayCanvas,e.RGBA)}},Si.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var zi=function(t,e){this.points=t,this.planes=e};zi.fromInvProjectionMatrix=function(e,n,i){var r=Math.pow(2,i),o=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map((function(n){return t.transformMat4([],n,e)})).map((function(e){return t.scale$1([],e,1/e[3]/n*r)})),a=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map((function(e){var n=t.sub([],o[e[0]],o[e[1]]),i=t.sub([],o[e[2]],o[e[1]]),r=t.normalize([],t.cross([],n,i)),a=-t.dot(r,o[e[1]]);return r.concat(a)}));return new zi(o,a)};var ki=function(e,n){this.min=e,this.max=n,this.center=t.scale$2([],t.add([],this.min,this.max),.5)};ki.prototype.quadrant=function(e){for(var n=[e%2==0,e<2],i=t.clone$2(this.min),r=t.clone$2(this.max),o=0;o=0;if(0===a)return 0;a!==n.length&&(i=!1)}if(i)return 2;for(var l=0;l<3;l++){for(var u=Number.MAX_VALUE,c=-Number.MAX_VALUE,h=0;hthis.max[l]-this.min[l])return 0}return 1};var Ni=function(t,e,n,i){if(void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===i&&(i=0),isNaN(t)||t<0||isNaN(e)||e<0||isNaN(n)||n<0||isNaN(i)||i<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=t,this.bottom=e,this.left=n,this.right=i};Ni.prototype.interpolate=function(e,n,i){return null!=n.top&&null!=e.top&&(this.top=t.number(e.top,n.top,i)),null!=n.bottom&&null!=e.bottom&&(this.bottom=t.number(e.bottom,n.bottom,i)),null!=n.left&&null!=e.left&&(this.left=t.number(e.left,n.left,i)),null!=n.right&&null!=e.right&&(this.right=t.number(e.right,n.right,i)),this},Ni.prototype.getCenter=function(e,n){var i=t.clamp((this.left+e-this.right)/2,0,e),r=t.clamp((this.top+n-this.bottom)/2,0,n);return new t.Point(i,r)},Ni.prototype.equals=function(t){return this.top===t.top&&this.bottom===t.bottom&&this.left===t.left&&this.right===t.right},Ni.prototype.clone=function(){return new Ni(this.top,this.bottom,this.left,this.right)},Ni.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var Ii=function(e,n,i,r,o){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=void 0===o||o,this._minZoom=e||0,this._maxZoom=n||22,this._minPitch=null==i?0:i,this._maxPitch=null==r?60:r,this.setMaxBounds(),this.width=0,this.height=0,this._center=new t.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new Ni,this._posMatrixCache={},this._alignedPosMatrixCache={}},Oi={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};Ii.prototype.clone=function(){var t=new Ii(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return t.tileSize=this.tileSize,t.latRange=this.latRange,t.width=this.width,t.height=this.height,t._center=this._center,t.zoom=this.zoom,t.angle=this.angle,t._fov=this._fov,t._pitch=this._pitch,t._unmodified=this._unmodified,t._edgeInsets=this._edgeInsets.clone(),t._calcMatrices(),t},Oi.minZoom.get=function(){return this._minZoom},Oi.minZoom.set=function(t){this._minZoom!==t&&(this._minZoom=t,this.zoom=Math.max(this.zoom,t))},Oi.maxZoom.get=function(){return this._maxZoom},Oi.maxZoom.set=function(t){this._maxZoom!==t&&(this._maxZoom=t,this.zoom=Math.min(this.zoom,t))},Oi.minPitch.get=function(){return this._minPitch},Oi.minPitch.set=function(t){this._minPitch!==t&&(this._minPitch=t,this.pitch=Math.max(this.pitch,t))},Oi.maxPitch.get=function(){return this._maxPitch},Oi.maxPitch.set=function(t){this._maxPitch!==t&&(this._maxPitch=t,this.pitch=Math.min(this.pitch,t))},Oi.renderWorldCopies.get=function(){return this._renderWorldCopies},Oi.renderWorldCopies.set=function(t){void 0===t?t=!0:null===t&&(t=!1),this._renderWorldCopies=t},Oi.worldSize.get=function(){return this.tileSize*this.scale},Oi.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},Oi.size.get=function(){return new t.Point(this.width,this.height)},Oi.bearing.get=function(){return-this.angle/Math.PI*180},Oi.bearing.set=function(e){var n=-t.wrap(e,-180,180)*Math.PI/180;this.angle!==n&&(this._unmodified=!1,this.angle=n,this._calcMatrices(),this.rotationMatrix=t.create$2(),t.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},Oi.pitch.get=function(){return this._pitch/Math.PI*180},Oi.pitch.set=function(e){var n=t.clamp(e,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==n&&(this._unmodified=!1,this._pitch=n,this._calcMatrices())},Oi.fov.get=function(){return this._fov/Math.PI*180},Oi.fov.set=function(t){t=Math.max(.01,Math.min(60,t)),this._fov!==t&&(this._unmodified=!1,this._fov=t/180*Math.PI,this._calcMatrices())},Oi.zoom.get=function(){return this._zoom},Oi.zoom.set=function(t){var e=Math.min(Math.max(t,this.minZoom),this.maxZoom);this._zoom!==e&&(this._unmodified=!1,this._zoom=e,this.scale=this.zoomScale(e),this.tileZoom=Math.floor(e),this.zoomFraction=e-this.tileZoom,this._constrain(),this._calcMatrices())},Oi.center.get=function(){return this._center},Oi.center.set=function(t){t.lat===this._center.lat&&t.lng===this._center.lng||(this._unmodified=!1,this._center=t,this._constrain(),this._calcMatrices())},Oi.padding.get=function(){return this._edgeInsets.toJSON()},Oi.padding.set=function(t){this._edgeInsets.equals(t)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,t,1),this._calcMatrices())},Oi.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},Ii.prototype.isPaddingEqual=function(t){return this._edgeInsets.equals(t)},Ii.prototype.interpolatePadding=function(t,e,n){this._unmodified=!1,this._edgeInsets.interpolate(t,e,n),this._constrain(),this._calcMatrices()},Ii.prototype.coveringZoomLevel=function(t){var e=(t.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/t.tileSize));return Math.max(0,e)},Ii.prototype.getVisibleUnwrappedCoordinates=function(e){var n=[new t.UnwrappedTileID(0,e)];if(this._renderWorldCopies)for(var i=this.pointCoordinate(new t.Point(0,0)),r=this.pointCoordinate(new t.Point(this.width,0)),o=this.pointCoordinate(new t.Point(this.width,this.height)),a=this.pointCoordinate(new t.Point(0,this.height)),s=Math.floor(Math.min(i.x,r.x,o.x,a.x)),l=Math.floor(Math.max(i.x,r.x,o.x,a.x)),u=s-1;u<=l+1;u++)0!==u&&n.push(new t.UnwrappedTileID(u,e));return n},Ii.prototype.coveringTiles=function(e){var n=this.coveringZoomLevel(e),i=n;if(void 0!==e.minzoom&&ne.maxzoom&&(n=e.maxzoom);var r=t.MercatorCoordinate.fromLngLat(this.center),o=Math.pow(2,n),a=[o*r.x,o*r.y,0],s=zi.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,n),l=e.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(l=n);var u=function(t){return{aabb:new ki([t*o,0,0],[(t+1)*o,o,0]),zoom:0,x:0,y:0,wrap:t,fullyVisible:!1}},c=[],h=[],d=n,f=e.reparseOverscaled?i:n;if(this._renderWorldCopies)for(var _=1;_<=3;_++)c.push(u(-_)),c.push(u(_));for(c.push(u(0));c.length>0;){var p=c.pop(),m=p.x,v=p.y,g=p.fullyVisible;if(!g){var y=p.aabb.intersects(s);if(0===y)continue;g=2===y}var b=p.aabb.distanceX(a),w=p.aabb.distanceY(a),E=Math.max(Math.abs(b),Math.abs(w)),x=3+(1<x&&p.zoom>=l)h.push({tileID:new t.OverscaledTileID(p.zoom===d?f:p.zoom,p.wrap,p.zoom,m,v),distanceSq:t.sqrLen([a[0]-.5-m,a[1]-.5-v])});else for(var C=0;C<4;C++){var T=(m<<1)+C%2,A=(v<<1)+(C>>1);c.push({aabb:p.aabb.quadrant(C),zoom:p.zoom+1,x:T,y:A,wrap:p.wrap,fullyVisible:g})}}return h.sort((function(t,e){return t.distanceSq-e.distanceSq})).map((function(t){return t.tileID}))},Ii.prototype.resize=function(t,e){this.width=t,this.height=e,this.pixelsToGLUnits=[2/t,-2/e],this._constrain(),this._calcMatrices()},Oi.unmodified.get=function(){return this._unmodified},Ii.prototype.zoomScale=function(t){return Math.pow(2,t)},Ii.prototype.scaleZoom=function(t){return Math.log(t)/Math.LN2},Ii.prototype.project=function(e){var n=t.clamp(e.lat,-this.maxValidLatitude,this.maxValidLatitude);return new t.Point(t.mercatorXfromLng(e.lng)*this.worldSize,t.mercatorYfromLat(n)*this.worldSize)},Ii.prototype.unproject=function(e){return new t.MercatorCoordinate(e.x/this.worldSize,e.y/this.worldSize).toLngLat()},Oi.point.get=function(){return this.project(this.center)},Ii.prototype.setLocationAtPoint=function(e,n){var i=this.pointCoordinate(n),r=this.pointCoordinate(this.centerPoint),o=this.locationCoordinate(e),a=new t.MercatorCoordinate(o.x-(i.x-r.x),o.y-(i.y-r.y));this.center=this.coordinateLocation(a),this._renderWorldCopies&&(this.center=this.center.wrap())},Ii.prototype.locationPoint=function(t){return this.coordinatePoint(this.locationCoordinate(t))},Ii.prototype.pointLocation=function(t){return this.coordinateLocation(this.pointCoordinate(t))},Ii.prototype.locationCoordinate=function(e){return t.MercatorCoordinate.fromLngLat(e)},Ii.prototype.coordinateLocation=function(t){return t.toLngLat()},Ii.prototype.pointCoordinate=function(e){var n=[e.x,e.y,0,1],i=[e.x,e.y,1,1];t.transformMat4(n,n,this.pixelMatrixInverse),t.transformMat4(i,i,this.pixelMatrixInverse);var r=n[3],o=i[3],a=n[0]/r,s=i[0]/o,l=n[1]/r,u=i[1]/o,c=n[2]/r,h=i[2]/o,d=c===h?0:(0-c)/(h-c);return new t.MercatorCoordinate(t.number(a,s,d)/this.worldSize,t.number(l,u,d)/this.worldSize)},Ii.prototype.coordinatePoint=function(e){var n=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.transformMat4(n,n,this.pixelMatrix),new t.Point(n[0]/n[3],n[1]/n[3])},Ii.prototype.getBounds=function(){return(new t.LngLatBounds).extend(this.pointLocation(new t.Point(0,0))).extend(this.pointLocation(new t.Point(this.width,0))).extend(this.pointLocation(new t.Point(this.width,this.height))).extend(this.pointLocation(new t.Point(0,this.height)))},Ii.prototype.getMaxBounds=function(){return this.latRange&&2===this.latRange.length&&this.lngRange&&2===this.lngRange.length?new t.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},Ii.prototype.setMaxBounds=function(t){t?(this.lngRange=[t.getWest(),t.getEast()],this.latRange=[t.getSouth(),t.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},Ii.prototype.calculatePosMatrix=function(e,n){void 0===n&&(n=!1);var i=e.key,r=n?this._alignedPosMatrixCache:this._posMatrixCache;if(r[i])return r[i];var o=e.canonical,a=this.worldSize/this.zoomScale(o.z),s=o.x+Math.pow(2,o.z)*e.wrap,l=t.identity(new Float64Array(16));return t.translate(l,l,[s*a,o.y*a,0]),t.scale(l,l,[a/t.EXTENT,a/t.EXTENT,1]),t.multiply(l,n?this.alignedProjMatrix:this.projMatrix,l),r[i]=new Float32Array(l),r[i]},Ii.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},Ii.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var e,n,i,r,o=-90,a=90,s=-180,l=180,u=this.size,c=this._unmodified;if(this.latRange){var h=this.latRange;o=t.mercatorYfromLat(h[1])*this.worldSize,e=(a=t.mercatorYfromLat(h[0])*this.worldSize)-oa&&(r=a-m)}if(this.lngRange){var v=f.x,g=u.x/2;v-gl&&(i=l-g)}void 0===i&&void 0===r||(this.center=this.unproject(new t.Point(void 0!==i?i:f.x,void 0!==r?r:f.y))),this._unmodified=c,this._constraining=!1}},Ii.prototype._calcMatrices=function(){if(this.height){var e=this._fov/2,n=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(e)*this.height;var i=Math.PI/2+this._pitch,r=this._fov*(.5+n.y/this.height),o=Math.sin(r)*this.cameraToCenterDistance/Math.sin(t.clamp(Math.PI-i-r,.01,Math.PI-.01)),a=this.point,s=a.x,l=a.y,u=1.01*(Math.cos(Math.PI/2-this._pitch)*o+this.cameraToCenterDistance),c=this.height/50,h=new Float64Array(16);t.perspective(h,this._fov,this.width/this.height,c,u),h[8]=2*-n.x/this.width,h[9]=2*n.y/this.height,t.scale(h,h,[1,-1,1]),t.translate(h,h,[0,0,-this.cameraToCenterDistance]),t.rotateX(h,h,this._pitch),t.rotateZ(h,h,this.angle),t.translate(h,h,[-s,-l,0]),this.mercatorMatrix=t.scale([],h,[this.worldSize,this.worldSize,this.worldSize]),t.scale(h,h,[1,1,t.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=h,this.invProjMatrix=t.invert([],this.projMatrix);var d=this.width%2/2,f=this.height%2/2,_=Math.cos(this.angle),p=Math.sin(this.angle),m=s-Math.round(s)+_*d+p*f,v=l-Math.round(l)+_*f+p*d,g=new Float64Array(h);if(t.translate(g,g,[m>.5?m-1:m,v>.5?v-1:v,0]),this.alignedProjMatrix=g,h=t.create(),t.scale(h,h,[this.width/2,-this.height/2,1]),t.translate(h,h,[1,-1,0]),this.labelPlaneMatrix=h,h=t.create(),t.scale(h,h,[1,-1,1]),t.translate(h,h,[-1,-1,0]),t.scale(h,h,[2/this.width,2/this.height,1]),this.glCoordMatrix=h,this.pixelMatrix=t.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(h=t.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=h,this._posMatrixCache={},this._alignedPosMatrixCache={}}},Ii.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var e=this.pointCoordinate(new t.Point(0,0)),n=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.transformMat4(n,n,this.pixelMatrix)[3]/this.cameraToCenterDistance},Ii.prototype.getCameraPoint=function(){var e=this._pitch,n=Math.tan(e)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.Point(0,n))},Ii.prototype.getCameraQueryGeometry=function(e){var n=this.getCameraPoint();if(1===e.length)return[e[0],n];for(var i=n.x,r=n.y,o=n.x,a=n.y,s=0,l=e;s=3&&!t.some((function(t){return isNaN(t)}))){var e=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(t[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+t[2],+t[1]],zoom:+t[0],bearing:e,pitch:+(t[4]||0)}),!0}return!1},Li.prototype._updateHashUnthrottled=function(){var e=t.window.location.href.replace(/(#.+)?$/,this.getHashString());try{t.window.history.replaceState(t.window.history.state,null,e)}catch(t){}};var Mi={linearity:.3,easing:t.bezier(0,0,.3,1)},$i=t.extend({deceleration:2500,maxSpeed:1400},Mi),Ri=t.extend({deceleration:20,maxSpeed:1400},Mi),Pi=t.extend({deceleration:1e3,maxSpeed:360},Mi),Ui=t.extend({deceleration:1e3,maxSpeed:90},Mi),ji=function(t){this._map=t,this.clear()};function qi(t,e){(!t.duration||t.duration0&&n-e[0].time>160;)e.shift()},ji.prototype._onMoveEnd=function(e){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var n={zoom:0,bearing:0,pitch:0,pan:new t.Point(0,0),pinchAround:void 0,around:void 0},i=0,r=this._inertiaBuffer;i=this._clickTolerance||this._map.fire(new Bi(t.type,this._map,t))},Gi.prototype.dblclick=function(t){return this._firePreventable(new Bi(t.type,this._map,t))},Gi.prototype.mouseover=function(t){this._map.fire(new Bi(t.type,this._map,t))},Gi.prototype.mouseout=function(t){this._map.fire(new Bi(t.type,this._map,t))},Gi.prototype.touchstart=function(t){return this._firePreventable(new Fi(t.type,this._map,t))},Gi.prototype.touchmove=function(t){this._map.fire(new Fi(t.type,this._map,t))},Gi.prototype.touchend=function(t){this._map.fire(new Fi(t.type,this._map,t))},Gi.prototype.touchcancel=function(t){this._map.fire(new Fi(t.type,this._map,t))},Gi.prototype._firePreventable=function(t){if(this._map.fire(t),t.defaultPrevented)return{}},Gi.prototype.isEnabled=function(){return!0},Gi.prototype.isActive=function(){return!1},Gi.prototype.enable=function(){},Gi.prototype.disable=function(){};var Hi=function(t){this._map=t};Hi.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},Hi.prototype.mousemove=function(t){this._map.fire(new Bi(t.type,this._map,t))},Hi.prototype.mousedown=function(){this._delayContextMenu=!0},Hi.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new Bi("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},Hi.prototype.contextmenu=function(t){this._delayContextMenu?this._contextMenuEvent=t:this._map.fire(new Bi(t.type,this._map,t)),this._map.listens("contextmenu")&&t.preventDefault()},Hi.prototype.isEnabled=function(){return!0},Hi.prototype.isActive=function(){return!1},Hi.prototype.enable=function(){},Hi.prototype.disable=function(){};var Vi=function(t,e){this._map=t,this._el=t.getCanvasContainer(),this._container=t.getContainer(),this._clickTolerance=e.clickTolerance||1};function Xi(t,e){for(var n={},i=0;ithis.numTouches)&&(this.aborted=!0),this.aborted||(void 0===this.startTime&&(this.startTime=e.timeStamp),i.length===this.numTouches&&(this.centroid=function(e){for(var n=new t.Point(0,0),i=0,r=e;i30)&&(this.aborted=!0)}}},Ji.prototype.touchend=function(t,e,n){if((!this.centroid||t.timeStamp-this.startTime>500)&&(this.aborted=!0),0===n.length){var i=!this.aborted&&this.centroid;if(this.reset(),i)return i}};var Zi=function(t){this.singleTap=new Ji(t),this.numTaps=t.numTaps,this.reset()};Zi.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Zi.prototype.touchstart=function(t,e,n){this.singleTap.touchstart(t,e,n)},Zi.prototype.touchmove=function(t,e,n){this.singleTap.touchmove(t,e,n)},Zi.prototype.touchend=function(t,e,n){var i=this.singleTap.touchend(t,e,n);if(i){var r=t.timeStamp-this.lastTime<500,o=!this.lastTap||this.lastTap.dist(i)<30;if(r&&o||this.reset(),this.count++,this.lastTime=t.timeStamp,this.lastTap=i,this.count===this.numTaps)return this.reset(),i}};var Yi=function(){this._zoomIn=new Zi({numTouches:1,numTaps:2}),this._zoomOut=new Zi({numTouches:2,numTaps:1}),this.reset()};Yi.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},Yi.prototype.touchstart=function(t,e,n){this._zoomIn.touchstart(t,e,n),this._zoomOut.touchstart(t,e,n)},Yi.prototype.touchmove=function(t,e,n){this._zoomIn.touchmove(t,e,n),this._zoomOut.touchmove(t,e,n)},Yi.prototype.touchend=function(t,e,n){var i=this,r=this._zoomIn.touchend(t,e,n),o=this._zoomOut.touchend(t,e,n);return r?(this._active=!0,t.preventDefault(),setTimeout((function(){return i.reset()}),0),{cameraAnimation:function(e){return e.easeTo({duration:300,zoom:e.getZoom()+1,around:e.unproject(r)},{originalEvent:t})}}):o?(this._active=!0,t.preventDefault(),setTimeout((function(){return i.reset()}),0),{cameraAnimation:function(e){return e.easeTo({duration:300,zoom:e.getZoom()-1,around:e.unproject(o)},{originalEvent:t})}}):void 0},Yi.prototype.touchcancel=function(){this.reset()},Yi.prototype.enable=function(){this._enabled=!0},Yi.prototype.disable=function(){this._enabled=!1,this.reset()},Yi.prototype.isEnabled=function(){return this._enabled},Yi.prototype.isActive=function(){return this._active};var Ki={};Ki[0]=1,Ki[2]=2;var Qi=function(t){this.reset(),this._clickTolerance=t.clickTolerance||1};Qi.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},Qi.prototype._correctButton=function(t,e){return!1},Qi.prototype._move=function(t,e){return{}},Qi.prototype.mousedown=function(t,e){if(!this._lastPoint){var i=n.mouseButton(t);this._correctButton(t,i)&&(this._lastPoint=e,this._eventButton=i)}},Qi.prototype.mousemoveWindow=function(t,e){var n=this._lastPoint;if(n)if(t.preventDefault(),function(t,e){var n=Ki[e];return void 0===t.buttons||(t.buttons&n)!==n}(t,this._eventButton))this.reset();else if(this._moved||!(e.dist(n)0&&(this._active=!0);var r=Xi(i,n),o=new t.Point(0,0),a=new t.Point(0,0),s=0;for(var l in r){var u=r[l],c=this._touches[l];c&&(o._add(u),a._add(u.sub(c)),s++,r[l]=u)}if(this._touches=r,!(sMath.abs(t.x)}var hr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reset=function(){t.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},e.prototype._start=function(t){this._lastPoints=t,cr(t[0].sub(t[1]))&&(this._valid=!1)},e.prototype._move=function(t,e,n){var i=t[0].sub(this._lastPoints[0]),r=t[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(i,r,n.timeStamp),this._valid)return this._lastPoints=t,this._active=!0,{pitchDelta:(i.y+r.y)/2*-.5}},e.prototype.gestureBeginsVertically=function(t,e,n){if(void 0!==this._valid)return this._valid;var i=t.mag()>=2,r=e.mag()>=2;if(i||r){if(!i||!r)return void 0===this._firstMove&&(this._firstMove=n),n-this._firstMove<100&&void 0;var o=t.y>0==e.y>0;return cr(t)&&cr(e)&&o}},e}(rr),dr={panStep:100,bearingStep:15,pitchStep:10},fr=function(){var t=dr;this._panStep=t.panStep,this._bearingStep=t.bearingStep,this._pitchStep=t.pitchStep,this._rotationDisabled=!1};function _r(t){return t*(2-t)}fr.prototype.reset=function(){this._active=!1},fr.prototype.keydown=function(t){var e=this;if(!(t.altKey||t.ctrlKey||t.metaKey)){var n=0,i=0,r=0,o=0,a=0;switch(t.keyCode){case 61:case 107:case 171:case 187:n=1;break;case 189:case 109:case 173:n=-1;break;case 37:t.shiftKey?i=-1:(t.preventDefault(),o=-1);break;case 39:t.shiftKey?i=1:(t.preventDefault(),o=1);break;case 38:t.shiftKey?r=1:(t.preventDefault(),a=-1);break;case 40:t.shiftKey?r=-1:(t.preventDefault(),a=1);break;default:return}return this._rotationDisabled&&(i=0,r=0),{cameraAnimation:function(s){var l=s.getZoom();s.easeTo({duration:300,easeId:"keyboardHandler",easing:_r,zoom:n?Math.round(l)+n*(t.shiftKey?2:1):l,bearing:s.getBearing()+i*e._bearingStep,pitch:s.getPitch()+r*e._pitchStep,offset:[-o*e._panStep,-a*e._panStep],center:s.getCenter()},{originalEvent:t})}}}},fr.prototype.enable=function(){this._enabled=!0},fr.prototype.disable=function(){this._enabled=!1,this.reset()},fr.prototype.isEnabled=function(){return this._enabled},fr.prototype.isActive=function(){return this._active},fr.prototype.disableRotation=function(){this._rotationDisabled=!0},fr.prototype.enableRotation=function(){this._rotationDisabled=!1};var pr=4.000244140625,mr=function(e,n){this._map=e,this._el=e.getCanvasContainer(),this._handler=n,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,t.bindAll(["_onTimeout"],this)};mr.prototype.setZoomRate=function(t){this._defaultZoomRate=t},mr.prototype.setWheelZoomRate=function(t){this._wheelZoomRate=t},mr.prototype.isEnabled=function(){return!!this._enabled},mr.prototype.isActive=function(){return!!this._active||void 0!==this._finishTimeout},mr.prototype.isZooming=function(){return!!this._zooming},mr.prototype.enable=function(t){this.isEnabled()||(this._enabled=!0,this._aroundCenter=t&&"center"===t.around)},mr.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},mr.prototype.wheel=function(e){if(this.isEnabled()){var n=e.deltaMode===t.window.WheelEvent.DOM_DELTA_LINE?40*e.deltaY:e.deltaY,i=t.browser.now(),r=i-(this._lastWheelEventTime||0);this._lastWheelEventTime=i,0!==n&&n%pr==0?this._type="wheel":0!==n&&Math.abs(n)<4?this._type="trackpad":r>400?(this._type=null,this._lastValue=n,this._timeout=setTimeout(this._onTimeout,40,e)):this._type||(this._type=Math.abs(r*n)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,n+=this._lastValue)),e.shiftKey&&n&&(n/=4),this._type&&(this._lastWheelEvent=e,this._delta-=n,this._active||this._start(e)),e.preventDefault()}},mr.prototype._onTimeout=function(t){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(t)},mr.prototype._start=function(e){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var i=n.mousePos(this._el,e);this._around=t.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(i)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},mr.prototype.renderFrame=function(){var e=this;if(this._frameId&&(this._frameId=null,this.isActive())){var n=this._map.transform;if(0!==this._delta){var i="wheel"===this._type&&Math.abs(this._delta)>pr?this._wheelZoomRate:this._defaultZoomRate,r=2/(1+Math.exp(-Math.abs(this._delta*i)));this._delta<0&&0!==r&&(r=1/r);var o="number"==typeof this._targetZoom?n.zoomScale(this._targetZoom):n.scale;this._targetZoom=Math.min(n.maxZoom,Math.max(n.minZoom,n.scaleZoom(o*r))),"wheel"===this._type&&(this._startZoom=n.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var a,s="number"==typeof this._targetZoom?this._targetZoom:n.zoom,l=this._startZoom,u=this._easing,c=!1;if("wheel"===this._type&&l&&u){var h=Math.min((t.browser.now()-this._lastWheelEventTime)/200,1),d=u(h);a=t.number(l,s,d),h<1?this._frameId||(this._frameId=!0):c=!0}else a=s,c=!0;return this._active=!0,c&&(this._active=!1,this._finishTimeout=setTimeout((function(){e._zooming=!1,e._handler._triggerRenderFrame(),delete e._targetZoom,delete e._finishTimeout}),200)),{noInertia:!0,needsRenderFrame:!c,zoomDelta:a-n.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},mr.prototype._smoothOutEasing=function(e){var n=t.ease;if(this._prevEase){var i=this._prevEase,r=(t.browser.now()-i.start)/i.duration,o=i.easing(r+.01)-i.easing(r),a=.27/Math.sqrt(o*o+1e-4)*.01,s=Math.sqrt(.0729-a*a);n=t.bezier(a,s,.25,1)}return this._prevEase={start:t.browser.now(),duration:e,easing:n},n},mr.prototype.reset=function(){this._active=!1};var vr=function(t,e){this._clickZoom=t,this._tapZoom=e};vr.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},vr.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},vr.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},vr.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var gr=function(){this.reset()};gr.prototype.reset=function(){this._active=!1},gr.prototype.dblclick=function(t,e){return t.preventDefault(),{cameraAnimation:function(n){n.easeTo({duration:300,zoom:n.getZoom()+(t.shiftKey?-1:1),around:n.unproject(e)},{originalEvent:t})}}},gr.prototype.enable=function(){this._enabled=!0},gr.prototype.disable=function(){this._enabled=!1,this.reset()},gr.prototype.isEnabled=function(){return this._enabled},gr.prototype.isActive=function(){return this._active};var yr=function(){this._tap=new Zi({numTouches:1,numTaps:1}),this.reset()};yr.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},yr.prototype.touchstart=function(t,e,n){this._swipePoint||(this._tapTime&&t.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?n.length>0&&(this._swipePoint=e[0],this._swipeTouch=n[0].identifier):this._tap.touchstart(t,e,n))},yr.prototype.touchmove=function(t,e,n){if(this._tapTime){if(this._swipePoint){if(n[0].identifier!==this._swipeTouch)return;var i=e[0],r=i.y-this._swipePoint.y;return this._swipePoint=i,t.preventDefault(),this._active=!0,{zoomDelta:r/128}}}else this._tap.touchmove(t,e,n)},yr.prototype.touchend=function(t,e,n){this._tapTime?this._swipePoint&&0===n.length&&this.reset():this._tap.touchend(t,e,n)&&(this._tapTime=t.timeStamp)},yr.prototype.touchcancel=function(){this.reset()},yr.prototype.enable=function(){this._enabled=!0},yr.prototype.disable=function(){this._enabled=!1,this.reset()},yr.prototype.isEnabled=function(){return this._enabled},yr.prototype.isActive=function(){return this._active};var br=function(t,e,n){this._el=t,this._mousePan=e,this._touchPan=n};br.prototype.enable=function(t){this._inertiaOptions=t||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},br.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},br.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},br.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var wr=function(t,e,n){this._pitchWithRotate=t.pitchWithRotate,this._mouseRotate=e,this._mousePitch=n};wr.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},wr.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},wr.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},wr.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var Er=function(t,e,n,i){this._el=t,this._touchZoom=e,this._touchRotate=n,this._tapDragZoom=i,this._rotationDisabled=!1,this._enabled=!0};Er.prototype.enable=function(t){this._touchZoom.enable(t),this._rotationDisabled||this._touchRotate.enable(t),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},Er.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},Er.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},Er.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},Er.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},Er.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var xr=function(t){return t.zoom||t.drag||t.pitch||t.rotate},Cr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(t.Event);function Tr(t){return t.panDelta&&t.panDelta.mag()||t.zoomDelta||t.bearingDelta||t.pitchDelta}var Ar=function(e,i){this._map=e,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ji(e),this._bearingSnap=i.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(i),t.bindAll(["handleEvent","handleWindowEvent"],this);var r=this._el;this._listeners=[[r,"touchstart",{passive:!0}],[r,"touchmove",{passive:!1}],[r,"touchend",void 0],[r,"touchcancel",void 0],[r,"mousedown",void 0],[r,"mousemove",void 0],[r,"mouseup",void 0],[t.window.document,"mousemove",{capture:!0}],[t.window.document,"mouseup",void 0],[r,"mouseover",void 0],[r,"mouseout",void 0],[r,"dblclick",void 0],[r,"click",void 0],[r,"keydown",{capture:!1}],[r,"keyup",void 0],[r,"wheel",{passive:!1}],[r,"contextmenu",void 0],[t.window,"blur",void 0]];for(var o=0,a=this._listeners;oo?Math.min(2,w):Math.max(.5,w),E=Math.pow(m,1-e),x=r.unproject(y.add(b.mult(e*E)).mult(p));r.setLocationAtPoint(r.renderWorldCopies?x.wrap():x,_)}i._fireMoveEvents(n)}),(function(t){i._afterEase(n,t)}),e),this},n.prototype._prepareEase=function(e,n,i){void 0===i&&(i={}),this._moving=!0,n||i.moving||this.fire(new t.Event("movestart",e)),this._zooming&&!i.zooming&&this.fire(new t.Event("zoomstart",e)),this._rotating&&!i.rotating&&this.fire(new t.Event("rotatestart",e)),this._pitching&&!i.pitching&&this.fire(new t.Event("pitchstart",e))},n.prototype._fireMoveEvents=function(e){this.fire(new t.Event("move",e)),this._zooming&&this.fire(new t.Event("zoom",e)),this._rotating&&this.fire(new t.Event("rotate",e)),this._pitching&&this.fire(new t.Event("pitch",e))},n.prototype._afterEase=function(e,n){if(!this._easeId||!n||this._easeId!==n){delete this._easeId;var i=this._zooming,r=this._rotating,o=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,i&&this.fire(new t.Event("zoomend",e)),r&&this.fire(new t.Event("rotateend",e)),o&&this.fire(new t.Event("pitchend",e)),this.fire(new t.Event("moveend",e))}},n.prototype.flyTo=function(e,n){var i=this;if(!e.essential&&t.browser.prefersReducedMotion){var r=t.pick(e,["center","zoom","bearing","pitch","around"]);return this.jumpTo(r,n)}this.stop(),e=t.extend({offset:[0,0],speed:1.2,curve:1.42,easing:t.ease},e);var o=this.transform,a=this.getZoom(),s=this.getBearing(),l=this.getPitch(),u=this.getPadding(),c="zoom"in e?t.clamp(+e.zoom,o.minZoom,o.maxZoom):a,h="bearing"in e?this._normalizeBearing(e.bearing,s):s,d="pitch"in e?+e.pitch:l,f="padding"in e?e.padding:o.padding,_=o.zoomScale(c-a),p=t.Point.convert(e.offset),m=o.centerPoint.add(p),v=o.pointLocation(m),g=t.LngLat.convert(e.center||v);this._normalizeCenter(g);var y=o.project(v),b=o.project(g).sub(y),w=e.curve,E=Math.max(o.width,o.height),x=E/_,C=b.mag();if("minZoom"in e){var T=t.clamp(Math.min(e.minZoom,a,c),o.minZoom,o.maxZoom),A=E/o.zoomScale(T-a);w=Math.sqrt(A/C*2)}var S=w*w;function z(t){var e=(x*x-E*E+(t?-1:1)*S*S*C*C)/(2*(t?x:E)*S*C);return Math.log(Math.sqrt(e*e+1)-e)}function k(t){return(Math.exp(t)-Math.exp(-t))/2}function N(t){return(Math.exp(t)+Math.exp(-t))/2}var I=z(0),O=function(t){return N(I)/N(I+w*t)},L=function(t){return E*((N(I)*(k(e=I+w*t)/N(e))-k(I))/S)/C;var e},M=(z(1)-I)/w;if(Math.abs(C)<1e-6||!isFinite(M)){if(Math.abs(E-x)<1e-6)return this.easeTo(e,n);var $=xe.maxDuration&&(e.duration=0),this._zooming=!0,this._rotating=s!==h,this._pitching=d!==l,this._padding=!o.isPaddingEqual(f),this._prepareEase(n,!1),this._ease((function(e){var r=e*M,_=1/O(r);o.zoom=1===e?c:a+o.scaleZoom(_),i._rotating&&(o.bearing=t.number(s,h,e)),i._pitching&&(o.pitch=t.number(l,d,e)),i._padding&&(o.interpolatePadding(u,f,e),m=o.centerPoint.add(p));var v=1===e?g:o.unproject(y.add(b.mult(L(r))).mult(_));o.setLocationAtPoint(o.renderWorldCopies?v.wrap():v,m),i._fireMoveEvents(n)}),(function(){return i._afterEase(n)}),e),this},n.prototype.isEasing=function(){return!!this._easeFrameId},n.prototype.stop=function(){return this._stop()},n.prototype._stop=function(t,e){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var n=this._onEaseEnd;delete this._onEaseEnd,n.call(this,e)}if(!t){var i=this.handlers;i&&i.stop(!1)}return this},n.prototype._ease=function(e,n,i){!1===i.animate||0===i.duration?(e(1),n()):(this._easeStart=t.browser.now(),this._easeOptions=i,this._onEaseFrame=e,this._onEaseEnd=n,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},n.prototype._renderFrameCallback=function(){var e=Math.min((t.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(e)),e<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},n.prototype._normalizeBearing=function(e,n){e=t.wrap(e,-180,180);var i=Math.abs(e-n);return Math.abs(e-360-n)180?-360:n<-180?360:0}},n}(t.Evented),zr=function(e){void 0===e&&(e={}),this.options=e,t.bindAll(["_toggleAttribution","_updateEditLink","_updateData","_updateCompact"],this)};zr.prototype.getDefaultPosition=function(){return"bottom-right"},zr.prototype.onAdd=function(t){var e=this.options&&this.options.compact;return this._map=t,this._container=n.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._compactButton=n.create("button","mapboxgl-ctrl-attrib-button",this._container),this._compactButton.addEventListener("click",this._toggleAttribution),this._setElementTitle(this._compactButton,"ToggleAttribution"),this._innerContainer=n.create("div","mapboxgl-ctrl-attrib-inner",this._container),this._innerContainer.setAttribute("role","list"),e&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),void 0===e&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},zr.prototype.onRemove=function(){n.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},zr.prototype._setElementTitle=function(t,e){var n=this._map._getUIString("AttributionControl."+e);t.title=n,t.setAttribute("aria-label",n)},zr.prototype._toggleAttribution=function(){this._container.classList.contains("mapboxgl-compact-show")?(this._container.classList.remove("mapboxgl-compact-show"),this._compactButton.setAttribute("aria-pressed","false")):(this._container.classList.add("mapboxgl-compact-show"),this._compactButton.setAttribute("aria-pressed","true"))},zr.prototype._updateEditLink=function(){var e=this._editLink;e||(e=this._editLink=this._container.querySelector(".mapbox-improve-map"));var n=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||t.config.ACCESS_TOKEN}];if(e){var i=n.reduce((function(t,e,i){return e.value&&(t+=e.key+"="+e.value+(i=0)return!1;return!0}))).join(" | ");a!==this._attribHTML&&(this._attribHTML=a,t.length?(this._innerContainer.innerHTML=a,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},zr.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact","mapboxgl-compact-show")};var kr=function(){t.bindAll(["_updateLogo"],this),t.bindAll(["_updateCompact"],this)};kr.prototype.onAdd=function(t){this._map=t,this._container=n.create("div","mapboxgl-ctrl");var e=n.create("a","mapboxgl-ctrl-logo");return e.target="_blank",e.rel="noopener nofollow",e.href="https://www.mapbox.com/",e.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),e.setAttribute("rel","noopener nofollow"),this._container.appendChild(e),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},kr.prototype.onRemove=function(){n.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},kr.prototype.getDefaultPosition=function(){return"bottom-left"},kr.prototype._updateLogo=function(t){t&&"metadata"!==t.sourceDataType||(this._container.style.display=this._logoRequired()?"block":"none")},kr.prototype._logoRequired=function(){if(this._map.style){var t=this._map.style.sourceCaches;for(var e in t)if(t[e].getSource().mapbox_logo)return!0;return!1}},kr.prototype._updateCompact=function(){var t=this._container.children;if(t.length){var e=t[0];this._map.getCanvasContainer().offsetWidth<250?e.classList.add("mapboxgl-compact"):e.classList.remove("mapboxgl-compact")}};var Nr=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Nr.prototype.add=function(t){var e=++this._id;return this._queue.push({callback:t,id:e,cancelled:!1}),e},Nr.prototype.remove=function(t){for(var e=this._currentlyRunning,n=0,i=e?this._queue.concat(e):this._queue;ne.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(null!=e.minPitch&&null!=e.maxPitch&&e.minPitch>e.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(null!=e.minPitch&&e.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(null!=e.maxPitch&&e.maxPitch>$r)throw new Error("maxPitch must be less than or equal to 60");var r=new Ii(e.minZoom,e.maxZoom,e.minPitch,e.maxPitch,e.renderWorldCopies);if(i.call(this,r,e),this._interactive=e.interactive,this._maxTileCacheSize=e.maxTileCacheSize,this._failIfMajorPerformanceCaveat=e.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=e.preserveDrawingBuffer,this._antialias=e.antialias,this._trackResize=e.trackResize,this._bearingSnap=e.bearingSnap,this._refreshExpiredTiles=e.refreshExpiredTiles,this._fadeDuration=e.fadeDuration,this._crossSourceCollisions=e.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=e.collectResourceTiming,this._renderTaskQueue=new Nr,this._controls=[],this._mapId=t.uniqueId(),this._locale=t.extend({},Ir,e.locale),this._clickTolerance=e.clickTolerance,this._requestManager=new t.RequestManager(e.transformRequest,e.accessToken),"string"==typeof e.container){if(this._container=t.window.document.getElementById(e.container),!this._container)throw new Error("Container '"+e.container+"' not found.")}else{if(!(e.container instanceof Lr))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=e.container}if(e.maxBounds&&this.setMaxBounds(e.maxBounds),t.bindAll(["_onWindowOnline","_onWindowResize","_onMapScroll","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),void 0===this.painter)throw new Error("Failed to initialize WebGL.");this.on("move",(function(){return n._update(!1)})),this.on("moveend",(function(){return n._update(!1)})),this.on("zoom",(function(){return n._update(!0)})),void 0!==t.window&&(t.window.addEventListener("online",this._onWindowOnline,!1),t.window.addEventListener("resize",this._onWindowResize,!1),t.window.addEventListener("orientationchange",this._onWindowResize,!1)),this.handlers=new Ar(this,e);var o="string"==typeof e.hash&&e.hash||void 0;this._hash=e.hash&&new Li(o).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:e.center,zoom:e.zoom,bearing:e.bearing,pitch:e.pitch}),e.bounds&&(this.resize(),this.fitBounds(e.bounds,t.extend({},e.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=e.localIdeographFontFamily,e.style&&this.setStyle(e.style,{localIdeographFontFamily:e.localIdeographFontFamily}),e.attributionControl&&this.addControl(new zr({customAttribution:e.customAttribution})),this.addControl(new kr,e.logoPosition),this.on("style.load",(function(){n.transform.unmodified&&n.jumpTo(n.style.stylesheet)})),this.on("data",(function(e){n._update("style"===e.dataType),n.fire(new t.Event(e.dataType+"data",e))})),this.on("dataloading",(function(e){n.fire(new t.Event(e.dataType+"dataloading",e))}))}i&&(r.__proto__=i),r.prototype=Object.create(i&&i.prototype),r.prototype.constructor=r;var o={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return r.prototype._getMapId=function(){return this._mapId},r.prototype.addControl=function(e,n){if(void 0===n&&(n=e.getDefaultPosition?e.getDefaultPosition():"top-right"),!e||!e.onAdd)return this.fire(new t.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var i=e.onAdd(this);this._controls.push(e);var r=this._controlPositions[n];return-1!==n.indexOf("bottom")?r.insertBefore(i,r.firstChild):r.appendChild(i),this},r.prototype.removeControl=function(e){if(!e||!e.onRemove)return this.fire(new t.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var n=this._controls.indexOf(e);return n>-1&&this._controls.splice(n,1),e.onRemove(this),this},r.prototype.hasControl=function(t){return this._controls.indexOf(t)>-1},r.prototype.resize=function(e){var n=this._containerDimensions(),i=n[0],r=n[1];this._resizeCanvas(i,r),this.transform.resize(i,r),this.painter.resize(i,r);var o=!this._moving;return o&&(this.stop(),this.fire(new t.Event("movestart",e)).fire(new t.Event("move",e))),this.fire(new t.Event("resize",e)),o&&this.fire(new t.Event("moveend",e)),this},r.prototype.getBounds=function(){return this.transform.getBounds()},r.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},r.prototype.setMaxBounds=function(e){return this.transform.setMaxBounds(t.LngLatBounds.convert(e)),this._update()},r.prototype.setMinZoom=function(t){if((t=null==t?-2:t)>=-2&&t<=this.transform.maxZoom)return this.transform.minZoom=t,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=t,this._update(),this.getZoom()>t&&this.setZoom(t),this;throw new Error("maxZoom must be greater than the current minZoom")},r.prototype.getMaxZoom=function(){return this.transform.maxZoom},r.prototype.setMinPitch=function(t){if((t=null==t?0:t)<0)throw new Error("minPitch must be greater than or equal to 0");if(t>=0&&t<=this.transform.maxPitch)return this.transform.minPitch=t,this._update(),this.getPitch()$r)throw new Error("maxPitch must be less than or equal to 60");if(t>=this.transform.minPitch)return this.transform.maxPitch=t,this._update(),this.getPitch()>t&&this.setPitch(t),this;throw new Error("maxPitch must be greater than the current minPitch")},r.prototype.getMaxPitch=function(){return this.transform.maxPitch},r.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},r.prototype.setRenderWorldCopies=function(t){return this.transform.renderWorldCopies=t,this._update()},r.prototype.project=function(e){return this.transform.locationPoint(t.LngLat.convert(e))},r.prototype.unproject=function(e){return this.transform.pointLocation(t.Point.convert(e))},r.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},r.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},r.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},r.prototype._createDelegatedListener=function(t,e,n){var i,r=this;if("mouseenter"===t||"mouseover"===t){var o=!1;return{layer:e,listener:n,delegates:{mousemove:function(i){var a=r.getLayer(e)?r.queryRenderedFeatures(i.point,{layers:[e]}):[];a.length?o||(o=!0,n.call(r,new Bi(t,r,i.originalEvent,{features:a}))):o=!1},mouseout:function(){o=!1}}}}if("mouseleave"===t||"mouseout"===t){var a=!1;return{layer:e,listener:n,delegates:{mousemove:function(i){(r.getLayer(e)?r.queryRenderedFeatures(i.point,{layers:[e]}):[]).length?a=!0:a&&(a=!1,n.call(r,new Bi(t,r,i.originalEvent)))},mouseout:function(e){a&&(a=!1,n.call(r,new Bi(t,r,e.originalEvent)))}}}}return{layer:e,listener:n,delegates:(i={},i[t]=function(t){var i=r.getLayer(e)?r.queryRenderedFeatures(t.point,{layers:[e]}):[];i.length&&(t.features=i,n.call(r,t),delete t.features)},i)}},r.prototype.on=function(t,e,n){if(void 0===n)return i.prototype.on.call(this,t,e);var r=this._createDelegatedListener(t,e,n);for(var o in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[t]=this._delegatedListeners[t]||[],this._delegatedListeners[t].push(r),r.delegates)this.on(o,r.delegates[o]);return this},r.prototype.once=function(t,e,n){if(void 0===n)return i.prototype.once.call(this,t,e);var r=this._createDelegatedListener(t,e,n);for(var o in r.delegates)this.once(o,r.delegates[o]);return this},r.prototype.off=function(t,e,n){var r=this;if(void 0===n)return i.prototype.off.call(this,t,e);return this._delegatedListeners&&this._delegatedListeners[t]&&function(i){for(var o=i[t],a=0;a180;){var s=i.locationPoint(e);if(s.x>=0&&s.y>=0&&s.x<=i.width&&s.y<=i.height)break;e.lng>i.center.lng?e.lng-=360:e.lng+=360}return e}Dr.prototype.down=function(t,e){this.mouseRotate.mousedown(t,e),this.mousePitch&&this.mousePitch.mousedown(t,e),n.disableDrag()},Dr.prototype.move=function(t,e){var n=this.map,i=this.mouseRotate.mousemoveWindow(t,e);if(i&&i.bearingDelta&&n.setBearing(n.getBearing()+i.bearingDelta),this.mousePitch){var r=this.mousePitch.mousemoveWindow(t,e);r&&r.pitchDelta&&n.setPitch(n.getPitch()+r.pitchDelta)}},Dr.prototype.off=function(){var t=this.element;n.removeEventListener(t,"mousedown",this.mousedown),n.removeEventListener(t,"touchstart",this.touchstart,{passive:!1}),n.removeEventListener(t,"touchmove",this.touchmove),n.removeEventListener(t,"touchend",this.touchend),n.removeEventListener(t,"touchcancel",this.reset),this.offTemp()},Dr.prototype.offTemp=function(){n.enableDrag(),n.removeEventListener(t.window,"mousemove",this.mousemove),n.removeEventListener(t.window,"mouseup",this.mouseup)},Dr.prototype.mousedown=function(e){this.down(t.extend({},e,{ctrlKey:!0,preventDefault:function(){return e.preventDefault()}}),n.mousePos(this.element,e)),n.addEventListener(t.window,"mousemove",this.mousemove),n.addEventListener(t.window,"mouseup",this.mouseup)},Dr.prototype.mousemove=function(t){this.move(t,n.mousePos(this.element,t))},Dr.prototype.mouseup=function(t){this.mouseRotate.mouseupWindow(t),this.mousePitch&&this.mousePitch.mouseupWindow(t),this.offTemp()},Dr.prototype.touchstart=function(t){1!==t.targetTouches.length?this.reset():(this._startPos=this._lastPos=n.touchPos(this.element,t.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return t.preventDefault()}},this._startPos))},Dr.prototype.touchmove=function(t){1!==t.targetTouches.length?this.reset():(this._lastPos=n.touchPos(this.element,t.targetTouches)[0],this.move({preventDefault:function(){return t.preventDefault()}},this._lastPos))},Dr.prototype.touchend=function(t){0===t.targetTouches.length&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)=n}this._isDragging&&(this._pos=e.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none","pending"===this._state&&(this._state="active",this.fire(new t.Event("dragstart"))),this.fire(new t.Event("drag")))},i.prototype._onUp=function(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),"active"===this._state&&this.fire(new t.Event("dragend")),this._state="inactive"},i.prototype._addDragHandler=function(t){this._element.contains(t.originalEvent.target)&&(t.preventDefault(),this._positionDelta=t.point.sub(this._pos).add(this._offset),this._pointerdownPos=t.point,this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))},i.prototype.setDraggable=function(t){return this._draggable=!!t,this._map&&(t?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this},i.prototype.isDraggable=function(){return this._draggable},i.prototype.setRotation=function(t){return this._rotation=t||0,this._update(),this},i.prototype.getRotation=function(){return this._rotation},i.prototype.setRotationAlignment=function(t){return this._rotationAlignment=t||"auto",this._update(),this},i.prototype.getRotationAlignment=function(){return this._rotationAlignment},i.prototype.setPitchAlignment=function(t){return this._pitchAlignment=t&&"auto"!==t?t:this._rotationAlignment,this._update(),this},i.prototype.getPitchAlignment=function(){return this._pitchAlignment},i}(t.Evented),Vr={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0};var Xr=0,Jr=!1,Zr=function(e){function i(n){e.call(this),this.options=t.extend({},Vr,n),t.bindAll(["_onSuccess","_onError","_onZoom","_finish","_setupUI","_updateCamera","_updateMarker"],this)}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.onAdd=function(e){return this._map=e,this._container=n.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),i=this._setupUI,void 0!==Gr?i(Gr):void 0!==t.window.navigator.permissions?t.window.navigator.permissions.query({name:"geolocation"}).then((function(t){Gr="denied"!==t.state,i(Gr)})):(Gr=!!t.window.navigator.geolocation,i(Gr)),this._container;var i},i.prototype.onRemove=function(){void 0!==this._geolocationWatchID&&(t.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),n.remove(this._container),this._map.off("zoom",this._onZoom),this._map=void 0,Xr=0,Jr=!1},i.prototype._isOutOfMapMaxBounds=function(t){var e=this._map.getMaxBounds(),n=t.coords;return e&&(n.longitudee.getEast()||n.latitudee.getNorth())},i.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},i.prototype._onSuccess=function(e){if(this._map){if(this._isOutOfMapMaxBounds(e))return this._setErrorState(),this.fire(new t.Event("outofmaxbounds",e)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=e,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&"OFF"!==this._watchState&&this._updateMarker(e),this.options.trackUserLocation&&"ACTIVE_LOCK"!==this._watchState||this._updateCamera(e),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new t.Event("geolocate",e)),this._finish()}},i.prototype._updateCamera=function(e){var n=new t.LngLat(e.coords.longitude,e.coords.latitude),i=e.coords.accuracy,r=this._map.getBearing(),o=t.extend({bearing:r},this.options.fitBoundsOptions);this._map.fitBounds(n.toBounds(i),o,{geolocateSource:!0})},i.prototype._updateMarker=function(e){if(e){var n=new t.LngLat(e.coords.longitude,e.coords.latitude);this._accuracyCircleMarker.setLngLat(n).addTo(this._map),this._userLocationDotMarker.setLngLat(n).addTo(this._map),this._accuracy=e.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},i.prototype._updateCircleRadius=function(){var t=this._map._container.clientHeight/2,e=this._map.unproject([0,t]),n=this._map.unproject([1,t]),i=e.distanceTo(n),r=Math.ceil(2*this._accuracy/i);this._circleElement.style.width=r+"px",this._circleElement.style.height=r+"px"},i.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},i.prototype._onError=function(e){if(this._map){if(this.options.trackUserLocation)if(1===e.code){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var n=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=n,this._geolocateButton.setAttribute("aria-label",n),void 0!==this._geolocationWatchID&&this._clearWatch()}else{if(3===e.code&&Jr)return;this._setErrorState()}"OFF"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new t.Event("error",e)),this._finish()}},i.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},i.prototype._setupUI=function(e){var i=this;if(this._container.addEventListener("contextmenu",(function(t){return t.preventDefault()})),this._geolocateButton=n.create("button","mapboxgl-ctrl-geolocate",this._container),n.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",!1===e){t.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var r=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=r,this._geolocateButton.setAttribute("aria-label",r)}else{var o=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=o,this._geolocateButton.setAttribute("aria-label",o)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=n.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new Hr(this._dotElement),this._circleElement=n.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new Hr({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",(function(e){var n=e.originalEvent&&"resize"===e.originalEvent.type;e.geolocateSource||"ACTIVE_LOCK"!==i._watchState||n||(i._watchState="BACKGROUND",i._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),i._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),i.fire(new t.Event("trackuserlocationend")))}))},i.prototype.trigger=function(){if(!this._setup)return t.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new t.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Xr--,Jr=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new t.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if("OFF"===this._watchState&&void 0!==this._geolocationWatchID)this._clearWatch();else if(void 0===this._geolocationWatchID){var e;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Xr>1?(e={maximumAge:6e5,timeout:0},Jr=!0):(e=this.options.positionOptions,Jr=!1),this._geolocationWatchID=t.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,e)}}else t.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},i.prototype._clearWatch=function(){t.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},i}(t.Evented),Yr={maxWidth:100,unit:"metric"},Kr=function(e){this.options=t.extend({},Yr,e),t.bindAll(["_onMove","setUnit"],this)};function Qr(t,e,n){var i=n&&n.maxWidth||100,r=t._container.clientHeight/2,o=t.unproject([0,r]),a=t.unproject([i,r]),s=o.distanceTo(a);if(n&&"imperial"===n.unit){var l=3.2808*s;l>5280?to(e,i,l/5280,t._getUIString("ScaleControl.Miles")):to(e,i,l,t._getUIString("ScaleControl.Feet"))}else n&&"nautical"===n.unit?to(e,i,s/1852,t._getUIString("ScaleControl.NauticalMiles")):s>=1e3?to(e,i,s/1e3,t._getUIString("ScaleControl.Kilometers")):to(e,i,s,t._getUIString("ScaleControl.Meters"))}function to(t,e,n,i){var r,o,a,s=(r=n,(o=Math.pow(10,(""+Math.floor(r)).length-1))*((a=r/o)>=10?10:a>=5?5:a>=3?3:a>=2?2:a>=1?1:function(t){var e=Math.pow(10,Math.ceil(-Math.log(t)/Math.LN10));return Math.round(t*e)/e}(a))),l=s/n;t.style.width=e*l+"px",t.innerHTML=s+" "+i}Kr.prototype.getDefaultPosition=function(){return"bottom-left"},Kr.prototype._onMove=function(){Qr(this._map,this._container,this.options)},Kr.prototype.onAdd=function(t){return this._map=t,this._container=n.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",t.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},Kr.prototype.onRemove=function(){n.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},Kr.prototype.setUnit=function(t){this.options.unit=t,Qr(this._map,this._container,this.options)};var eo=function(e){this._fullscreen=!1,e&&e.container&&(e.container instanceof t.window.HTMLElement?this._container=e.container:t.warnOnce("Full screen control 'container' must be a DOM element.")),t.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in t.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in t.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in t.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in t.window.document&&(this._fullscreenchange="MSFullscreenChange")};eo.prototype.onAdd=function(e){return this._map=e,this._container||(this._container=this._map.getContainer()),this._controlContainer=n.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",t.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},eo.prototype.onRemove=function(){n.remove(this._controlContainer),this._map=null,t.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},eo.prototype._checkFullscreenSupport=function(){return!!(t.window.document.fullscreenEnabled||t.window.document.mozFullScreenEnabled||t.window.document.msFullscreenEnabled||t.window.document.webkitFullscreenEnabled)},eo.prototype._setupUI=function(){var e=this._fullscreenButton=n.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);n.create("span","mapboxgl-ctrl-icon",e).setAttribute("aria-hidden",!0),e.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),t.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},eo.prototype._updateTitle=function(){var t=this._getTitle();this._fullscreenButton.setAttribute("aria-label",t),this._fullscreenButton.title=t},eo.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},eo.prototype._isFullscreen=function(){return this._fullscreen},eo.prototype._changeIcon=function(){(t.window.document.fullscreenElement||t.window.document.mozFullScreenElement||t.window.document.webkitFullscreenElement||t.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},eo.prototype._onClickFullscreen=function(){this._isFullscreen()?t.window.document.exitFullscreen?t.window.document.exitFullscreen():t.window.document.mozCancelFullScreen?t.window.document.mozCancelFullScreen():t.window.document.msExitFullscreen?t.window.document.msExitFullscreen():t.window.document.webkitCancelFullScreen&&t.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var no={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px"},io=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", "),ro=function(e){function i(n){e.call(this),this.options=t.extend(Object.create(no),n),t.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.addTo=function(e){return this._map&&this.remove(),this._map=e,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new t.Event("open")),this},i.prototype.isOpen=function(){return!!this._map},i.prototype.remove=function(){return this._content&&n.remove(this._content),this._container&&(n.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new t.Event("close")),this},i.prototype.getLngLat=function(){return this._lngLat},i.prototype.setLngLat=function(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},i.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},i.prototype.getElement=function(){return this._container},i.prototype.setText=function(e){return this.setDOMContent(t.window.document.createTextNode(e))},i.prototype.setHTML=function(e){var n,i=t.window.document.createDocumentFragment(),r=t.window.document.createElement("body");for(r.innerHTML=e;n=r.firstChild;)i.appendChild(n);return this.setDOMContent(i)},i.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},i.prototype.setMaxWidth=function(t){return this.options.maxWidth=t,this._update(),this},i.prototype.setDOMContent=function(t){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=n.create("div","mapboxgl-popup-content",this._container);return this._content.appendChild(t),this._createCloseButton(),this._update(),this._focusFirstElement(),this},i.prototype.addClassName=function(t){this._container&&this._container.classList.add(t)},i.prototype.removeClassName=function(t){this._container&&this._container.classList.remove(t)},i.prototype.setOffset=function(t){return this.options.offset=t,this._update(),this},i.prototype.toggleClassName=function(t){if(this._container)return this._container.classList.toggle(t)},i.prototype._createCloseButton=function(){this.options.closeButton&&(this._closeButton=n.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},i.prototype._onMouseUp=function(t){this._update(t.point)},i.prototype._onMouseMove=function(t){this._update(t.point)},i.prototype._onDrag=function(t){this._update(t.point)},i.prototype._update=function(t){var e=this,i=this._lngLat||this._trackPointer;if(this._map&&i&&this._content&&(this._container||(this._container=n.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=n.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach((function(t){return e._container.classList.add(t)})),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=Br(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||t)){var r=this._pos=this._trackPointer&&t?t:this._map.project(this._lngLat),o=this.options.anchor,a=oo(this.options.offset);if(!o){var s,l=this._container.offsetWidth,u=this._container.offsetHeight;s=r.y+a.bottom.ythis._map.transform.height-u?["bottom"]:[],r.xthis._map.transform.width-l/2&&s.push("right"),o=0===s.length?"bottom":s.join("-")}var c=r.add(a[o]).round();n.setTransform(this._container,Fr[o]+" translate("+c.x+"px,"+c.y+"px)"),Wr(this._container,o,"popup")}},i.prototype._focusFirstElement=function(){if(this.options.focusAfterOpen&&this._container){var t=this._container.querySelector(io);t&&t.focus()}},i.prototype._onClose=function(){this.remove()},i}(t.Evented);function oo(e){if(e){if("number"==typeof e){var n=Math.round(Math.sqrt(.5*Math.pow(e,2)));return{center:new t.Point(0,0),top:new t.Point(0,e),"top-left":new t.Point(n,n),"top-right":new t.Point(-n,n),bottom:new t.Point(0,-e),"bottom-left":new t.Point(n,-n),"bottom-right":new t.Point(-n,-n),left:new t.Point(e,0),right:new t.Point(-e,0)}}if(e instanceof t.Point||Array.isArray(e)){var i=t.Point.convert(e);return{center:i,top:i,"top-left":i,"top-right":i,bottom:i,"bottom-left":i,"bottom-right":i,left:i,right:i}}return{center:t.Point.convert(e.center||[0,0]),top:t.Point.convert(e.top||[0,0]),"top-left":t.Point.convert(e["top-left"]||[0,0]),"top-right":t.Point.convert(e["top-right"]||[0,0]),bottom:t.Point.convert(e.bottom||[0,0]),"bottom-left":t.Point.convert(e["bottom-left"]||[0,0]),"bottom-right":t.Point.convert(e["bottom-right"]||[0,0]),left:t.Point.convert(e.left||[0,0]),right:t.Point.convert(e.right||[0,0])}}return oo(new t.Point(0,0))}var ao={version:t.version,supported:e,setRTLTextPlugin:t.setRTLTextPlugin,getRTLTextPluginStatus:t.getRTLTextPluginStatus,Map:Pr,NavigationControl:qr,GeolocateControl:Zr,AttributionControl:zr,ScaleControl:Kr,FullscreenControl:eo,Popup:ro,Marker:Hr,Style:Ve,LngLat:t.LngLat,LngLatBounds:t.LngLatBounds,Point:t.Point,MercatorCoordinate:t.MercatorCoordinate,Evented:t.Evented,config:t.config,prewarm:function(){qt().acquire(Rt)},clearPrewarmedResources:function(){var t=Ut;t&&(t.isPreloaded()&&1===t.numActive()?(t.release(Rt),Ut=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return t.config.ACCESS_TOKEN},set accessToken(e){t.config.ACCESS_TOKEN=e},get baseApiUrl(){return t.config.API_URL},set baseApiUrl(e){t.config.API_URL=e},get workerCount(){return Pt.workerCount},set workerCount(t){Pt.workerCount=t},get maxParallelImageRequests(){return t.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(e){t.config.MAX_PARALLEL_IMAGE_REQUESTS=e},clearStorage:function(e){t.clearTileCache(e)},workerUrl:""};return ao})),n}()},3108:function(t,e,n){"use strict";t.exports=n(26099)},26099:function(t,e,n){"use strict";var i=n(64928),r=n(32420),o=n(51160),a=n(76752),s=n(55616),l=n(31264),u=n(47520),c=n(18400),h=n(72512),d=n(76244);function f(t,e){for(var n=e[0],i=e[1],o=1/(e[2]-n),a=1/(e[3]-i),s=new Array(t.length),l=0,u=t.length/2;l>>1;e.dtype||(e.dtype="array"),"string"==typeof e.dtype?_=new(h(e.dtype))(m):e.dtype&&(_=e.dtype,Array.isArray(_)&&(_.length=m));for(var v=0;vn||s>1073741824){for(var d=0;dn+r||A>i+r||S=N||a===s)){var l=g[o];void 0===s&&(s=l.length);for(var u=a;u=m&&h<=E&&d>=v&&d<=x&&I.push(c)}var f=y[o],_=f[4*a+0],p=f[4*a+1],b=f[4*a+2],w=f[4*a+3],C=function(t,e){for(var n=null,i=0;null===n;)if(n=t[4*e+i],++i>t.length)return null;return n}(f,a+1),z=.5*r,O=o+1;e(n,i,z,O,_,p||b||w||C),e(n,i+z,z,O,p,b||w||C),e(n+z,i,z,O,b,w||C),e(n+z,i+z,z,O,w,C)}}(0,0,1,0,0,1),I},_;function z(t,e,n){for(var i=1,r=.5,o=.5,a=.5,s=0;s0){e+=Math.abs(a(t[0]));for(var n=1;n2){for(l=0;l=0))throw new Error("precision must be a positive number");var n=Math.pow(10,e||0);return Math.round(t*n)/n},e.radiansToLength=c,e.lengthToRadians=h,e.lengthToDegrees=function(t,e){return d(h(t,e))},e.bearingToAzimuth=function(t){var e=t%360;return e<0&&(e+=360),e},e.radiansToDegrees=d,e.degreesToRadians=function(t){return t%360*Math.PI/180},e.convertLength=function(t,e,n){if(void 0===e&&(e="kilometers"),void 0===n&&(n="kilometers"),!(t>=0))throw new Error("length must be a positive number");return c(h(t,e),n)},e.convertArea=function(t,n,i){if(void 0===n&&(n="meters"),void 0===i&&(i="kilometers"),!(t>=0))throw new Error("area must be a positive number");var r=e.areaFactors[n];if(!r)throw new Error("invalid original units");var o=e.areaFactors[i];if(!o)throw new Error("invalid final units");return t/r*o},e.isNumber=f,e.isObject=function(t){return!!t&&t.constructor===Object},e.validateBBox=function(t){if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be an Array");if(4!==t.length&&6!==t.length)throw new Error("bbox must be an Array of 4 or 6 numbers");t.forEach((function(t){if(!f(t))throw new Error("bbox must only contain numbers")}))},e.validateId=function(t){if(!t)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof t))throw new Error("id must be a number or a string")}},3256:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(46284);function r(t,e,n){if(null!==t)for(var i,o,a,s,l,u,c,h,d=0,f=0,_=t.type,p="FeatureCollection"===_,m="Feature"===_,v=p?t.features.length:1,g=0;gu||f>c||_>h)return l=r,u=n,c=f,h=_,void(a=0);var p=i.lineString([l,r],t.properties);if(!1===e(p,n,o,_,a))return!1;a++,l=r}))&&void 0}}}))}function c(t,e){if(!t)throw new Error("geojson is required");l(t,(function(t,n,r){if(null!==t.geometry){var o=t.geometry.type,a=t.geometry.coordinates;switch(o){case"LineString":if(!1===e(t,n,r,0,0))return!1;break;case"Polygon":for(var s=0;st[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]=0))throw new Error("precision must be a positive number");var n=Math.pow(10,e||0);return Math.round(t*n)/n},e.radiansToLength=c,e.lengthToRadians=h,e.lengthToDegrees=function(t,e){return d(h(t,e))},e.bearingToAzimuth=function(t){var e=t%360;return e<0&&(e+=360),e},e.radiansToDegrees=d,e.degreesToRadians=function(t){return t%360*Math.PI/180},e.convertLength=function(t,e,n){if(void 0===e&&(e="kilometers"),void 0===n&&(n="kilometers"),!(t>=0))throw new Error("length must be a positive number");return c(h(t,e),n)},e.convertArea=function(t,n,i){if(void 0===n&&(n="meters"),void 0===i&&(i="kilometers"),!(t>=0))throw new Error("area must be a positive number");var r=e.areaFactors[n];if(!r)throw new Error("invalid original units");var o=e.areaFactors[i];if(!o)throw new Error("invalid final units");return t/r*o},e.isNumber=f,e.isObject=function(t){return!!t&&t.constructor===Object},e.validateBBox=function(t){if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be an Array");if(4!==t.length&&6!==t.length)throw new Error("bbox must be an Array of 4 or 6 numbers");t.forEach((function(t){if(!f(t))throw new Error("bbox must only contain numbers")}))},e.validateId=function(t){if(!t)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof t))throw new Error("id must be a number or a string")}},84880:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(76796);function r(t,e,n){if(null!==t)for(var i,o,a,s,l,u,c,h,d=0,f=0,_=t.type,p="FeatureCollection"===_,m="Feature"===_,v=p?t.features.length:1,g=0;gu||f>c||_>h)return l=r,u=n,c=f,h=_,void(a=0);var p=i.lineString([l,r],t.properties);if(!1===e(p,n,o,_,a))return!1;a++,l=r}))&&void 0}}}))}function c(t,e){if(!t)throw new Error("geojson is required");l(t,(function(t,n,r){if(null!==t.geometry){var o=t.geometry.type,a=t.geometry.coordinates;switch(o){case"LineString":if(!1===e(t,n,r,0,0))return!1;break;case"Polygon":for(var s=0;s=0))throw new Error("precision must be a positive number");var n=Math.pow(10,e||0);return Math.round(t*n)/n},e.radiansToLength=c,e.lengthToRadians=h,e.lengthToDegrees=function(t,e){return d(h(t,e))},e.bearingToAzimuth=function(t){var e=t%360;return e<0&&(e+=360),e},e.radiansToDegrees=d,e.degreesToRadians=function(t){return t%360*Math.PI/180},e.convertLength=function(t,e,n){if(void 0===e&&(e="kilometers"),void 0===n&&(n="kilometers"),!(t>=0))throw new Error("length must be a positive number");return c(h(t,e),n)},e.convertArea=function(t,n,i){if(void 0===n&&(n="meters"),void 0===i&&(i="kilometers"),!(t>=0))throw new Error("area must be a positive number");var r=e.areaFactors[n];if(!r)throw new Error("invalid original units");var o=e.areaFactors[i];if(!o)throw new Error("invalid final units");return t/r*o},e.isNumber=f,e.isObject=function(t){return!!t&&t.constructor===Object},e.validateBBox=function(t){if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be an Array");if(4!==t.length&&6!==t.length)throw new Error("bbox must be an Array of 4 or 6 numbers");t.forEach((function(t){if(!f(t))throw new Error("bbox must only contain numbers")}))},e.validateId=function(t){if(!t)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof t))throw new Error("id must be a number or a string")},e.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},e.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},e.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},e.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},e.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},e.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},e.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},43752:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(49840);function r(t,e,n){if(null!==t)for(var i,o,a,s,l,u,c,h,d=0,f=0,_=t.type,p="FeatureCollection"===_,m="Feature"===_,v=p?t.features.length:1,g=0;gu||f>c||_>h)return l=r,u=n,c=f,h=_,void(a=0);var p=i.lineString([l,r],t.properties);if(!1===e(p,n,o,_,a))return!1;a++,l=r}))&&void 0}}}))}function c(t,e){if(!t)throw new Error("geojson is required");l(t,(function(t,n,r){if(null!==t.geometry){var o=t.geometry.type,a=t.geometry.coordinates;switch(o){case"LineString":if(!1===e(t,n,r,0,0))return!1;break;case"Polygon":for(var s=0;sr&&(r=t[a]),t[a]1?n-1:0),r=1;r1?n-1:0),r=1;r1?n-1:0),r=1;r1?n-1:0),r=1;rt.length)&&(n=t.length),t.substring(n-e.length,n)===e}var m="",v="",g="",y="",b={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function w(t){var e=Object.keys(t),n=Object.create(Object.getPrototypeOf(t));return e.forEach((function(e){n[e]=t[e]})),Object.defineProperty(n,"message",{value:t.message}),n}function E(t){return f(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var x=function(t){function e(t){var n;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),"object"!==d(t)||null===t)throw new _("options","Object",t);var r=t.message,o=t.operator,l=t.stackStartFn,u=t.actual,c=t.expected,f=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=r)n=a(this,h(e).call(this,String(r)));else if(i.stderr&&i.stderr.isTTY&&(i.stderr&&i.stderr.getColorDepth&&1!==i.stderr.getColorDepth()?(m="",v="",y="",g=""):(m="",v="",y="",g="")),"object"===d(u)&&null!==u&&"object"===d(c)&&null!==c&&"stack"in u&&u instanceof Error&&"stack"in c&&c instanceof Error&&(u=w(u),c=w(c)),"deepStrictEqual"===o||"strictEqual"===o)n=a(this,h(e).call(this,function(t,e,n){var r="",o="",a=0,s="",l=!1,u=E(t),c=u.split("\n"),h=E(e).split("\n"),f=0,_="";if("strictEqual"===n&&"object"===d(t)&&"object"===d(e)&&null!==t&&null!==e&&(n="strictEqualObject"),1===c.length&&1===h.length&&c[0]!==h[0]){var w=c[0].length+h[0].length;if(w<=10){if(!("object"===d(t)&&null!==t||"object"===d(e)&&null!==e||0===t&&0===e))return"".concat(b[n],"\n\n")+"".concat(c[0]," !== ").concat(h[0],"\n")}else if("strictEqualObject"!==n&&w<(i.stderr&&i.stderr.isTTY?i.stderr.columns:80)){for(;c[0][f]===h[0][f];)f++;f>2&&(_="\n ".concat(function(t,e){if(e=Math.floor(e),0==t.length||0==e)return"";var n=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+t.substring(0,n-t.length)}(" ",f),"^"),f=0)}}for(var x=c[c.length-1],C=h[h.length-1];x===C&&(f++<2?s="\n ".concat(x).concat(s):r=x,c.pop(),h.pop(),0!==c.length&&0!==h.length);)x=c[c.length-1],C=h[h.length-1];var T=Math.max(c.length,h.length);if(0===T){var A=u.split("\n");if(A.length>30)for(A[26]="".concat(m,"...").concat(y);A.length>27;)A.pop();return"".concat(b.notIdentical,"\n\n").concat(A.join("\n"),"\n")}f>3&&(s="\n".concat(m,"...").concat(y).concat(s),l=!0),""!==r&&(s="\n ".concat(r).concat(s),r="");var S=0,z=b[n]+"\n".concat(v,"+ actual").concat(y," ").concat(g,"- expected").concat(y),k=" ".concat(m,"...").concat(y," Lines skipped");for(f=0;f1&&f>2&&(N>4?(o+="\n".concat(m,"...").concat(y),l=!0):N>3&&(o+="\n ".concat(h[f-2]),S++),o+="\n ".concat(h[f-1]),S++),a=f,r+="\n".concat(g,"-").concat(y," ").concat(h[f]),S++;else if(h.length1&&f>2&&(N>4?(o+="\n".concat(m,"...").concat(y),l=!0):N>3&&(o+="\n ".concat(c[f-2]),S++),o+="\n ".concat(c[f-1]),S++),a=f,o+="\n".concat(v,"+").concat(y," ").concat(c[f]),S++;else{var I=h[f],O=c[f],L=O!==I&&(!p(O,",")||O.slice(0,-1)!==I);L&&p(I,",")&&I.slice(0,-1)===O&&(L=!1,O+=","),L?(N>1&&f>2&&(N>4?(o+="\n".concat(m,"...").concat(y),l=!0):N>3&&(o+="\n ".concat(c[f-2]),S++),o+="\n ".concat(c[f-1]),S++),a=f,o+="\n".concat(v,"+").concat(y," ").concat(O),r+="\n".concat(g,"-").concat(y," ").concat(I),S+=2):(o+=r,r="",1!==N&&0!==f||(o+="\n ".concat(O),S++))}if(S>20&&f30)for(C[26]="".concat(m,"...").concat(y);C.length>27;)C.pop();n=1===C.length?a(this,h(e).call(this,"".concat(x," ").concat(C[0]))):a(this,h(e).call(this,"".concat(x,"\n\n").concat(C.join("\n"),"\n")))}else{var T=E(u),A="",S=b[o];"notDeepEqual"===o||"notEqual"===o?(T="".concat(b[o],"\n\n").concat(T)).length>1024&&(T="".concat(T.slice(0,1021),"...")):(A="".concat(E(c)),T.length>512&&(T="".concat(T.slice(0,509),"...")),A.length>512&&(A="".concat(A.slice(0,509),"...")),"deepEqual"===o||"equal"===o?T="".concat(S,"\n\n").concat(T,"\n\nshould equal\n\n"):A=" ".concat(o," ").concat(A)),n=a(this,h(e).call(this,"".concat(T).concat(A)))}return Error.stackTraceLimit=f,n.generatedMessage=!r,Object.defineProperty(s(n),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),n.code="ERR_ASSERTION",n.actual=u,n.expected=c,n.operator=o,Error.captureStackTrace&&Error.captureStackTrace(s(n),l),n.stack,n.name="AssertionError",a(n)}var n,l;return 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&&c(t,e)}(e,t),n=e,l=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:f.custom,value:function(t,e){return f(this,function(t){for(var e=1;e2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}u("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),u("ERR_INVALID_ARG_TYPE",(function(t,e,r){var o,s,l,u,h;if(void 0===a&&(a=n(45408)),a("string"==typeof t,"'name' must be a string"),"string"==typeof e&&(s="not ",e.substr(0,4)===s)?(o="must not be",e=e.replace(/^not /,"")):o="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-9,n)===e}(t," argument"))l="The ".concat(t," ").concat(o," ").concat(c(e,"type"));else{var d=("number"!=typeof h&&(h=0),h+1>(u=t).length||-1===u.indexOf(".",h)?"argument":"property");l='The "'.concat(t,'" ').concat(d," ").concat(o," ").concat(c(e,"type"))}return l+". Received type ".concat(i(r))}),TypeError),u("ERR_INVALID_ARG_VALUE",(function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===s&&(s=n(35840));var r=s.inspect(e);return r.length>128&&(r="".concat(r.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(i,". Received ").concat(r)}),TypeError,RangeError),u("ERR_INVALID_RETURN_VALUE",(function(t,e,n){var r;return r=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(i(n)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(r,".")}),TypeError),u("ERR_MISSING_ARGS",(function(){for(var t=arguments.length,e=new Array(t),i=0;i0,"At least one arg needs to be specified");var r="The ",o=e.length;switch(e=e.map((function(t){return'"'.concat(t,'"')})),o){case 1:r+="".concat(e[0]," argument");break;case 2:r+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:r+=e.slice(0,o-1).join(", "),r+=", and ".concat(e[o-1]," arguments")}return"".concat(r," must be specified")}),TypeError),t.exports.codes=l},25116:function(t,e,n){"use strict";function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function r(t){return r="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},r(t)}var o=void 0!==/a/g.flags,a=function(t){var e=[];return t.forEach((function(t){return e.push(t)})),e},s=function(t){var e=[];return t.forEach((function(t,n){return e.push([n,t])})),e},l=Object.is?Object.is:n(39896),u=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},c=Number.isNaN?Number.isNaN:n(1560);function h(t){return t.call.bind(t)}var d=h(Object.prototype.hasOwnProperty),f=h(Object.prototype.propertyIsEnumerable),_=h(Object.prototype.toString),p=n(35840).types,m=p.isAnyArrayBuffer,v=p.isArrayBufferView,g=p.isDate,y=p.isMap,b=p.isRegExp,w=p.isSet,E=p.isNativeError,x=p.isBoxedPrimitive,C=p.isNumberObject,T=p.isStringObject,A=p.isBooleanObject,S=p.isBigIntObject,z=p.isSymbolObject,k=p.isFloat32Array,N=p.isFloat64Array;function I(t){if(0===t.length||t.length>10)return!0;for(var e=0;e57)return!0}return 10===t.length&&t>=Math.pow(2,32)}function O(t){return Object.keys(t).filter(I).concat(u(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function L(t,e){if(t===e)return 0;for(var n=t.length,i=e.length,r=0,o=Math.min(n,i);r>2],o+=i[(3&n[e])<<4|n[e+1]>>4],o+=i[(15&n[e+1])<<2|n[e+2]>>6],o+=i[63&n[e+2]];return r%3==2?o=o.substring(0,o.length-1)+"=":r%3==1&&(o=o.substring(0,o.length-2)+"=="),o},s=function(t){var e,n,i,o,a,s=.75*t.length,l=t.length,u=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var c=new ArrayBuffer(s),h=new Uint8Array(c);for(e=0;e>4,h[u++]=(15&i)<<4|o>>2,h[u++]=(3&o)<<6|63&a;return c}},59968:function(t,e){"use strict";e.byteLength=function(t){var e=s(t),n=e[0],i=e[1];return 3*(n+i)/4-i},e.toByteArray=function(t){var e,n,o=s(t),a=o[0],l=o[1],u=new r(function(t,e,n){return 3*(e+n)/4-n}(0,a,l)),c=0,h=l>0?a-4:a;for(n=0;n>16&255,u[c++]=e>>8&255,u[c++]=255&e;return 2===l&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,u[c++]=255&e),1===l&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,u[c++]=e>>8&255,u[c++]=255&e),u},e.fromByteArray=function(t){for(var e,i=t.length,r=i%3,o=[],a=16383,s=0,u=i-r;su?u:s+a));return 1===r?(e=t[i-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===r&&(e=(t[i-2]<<8)+t[i-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),o.join("")};for(var n=[],i=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],i[o.charCodeAt(a)]=a;function s(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 l(t,e,i){for(var r,o,a=[],s=e;s>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},64928:function(t){"use strict";function e(t,e,n,i,r){for(var o=r+1;i<=r;){var a=i+r>>>1,s=t[a];(void 0!==n?n(s,e):s-e)>=0?(o=a,r=a-1):i=a+1}return o}function n(t,e,n,i,r){for(var o=r+1;i<=r;){var a=i+r>>>1,s=t[a];(void 0!==n?n(s,e):s-e)>0?(o=a,r=a-1):i=a+1}return o}function i(t,e,n,i,r){for(var o=i-1;i<=r;){var a=i+r>>>1,s=t[a];(void 0!==n?n(s,e):s-e)<0?(o=a,i=a+1):r=a-1}return o}function r(t,e,n,i,r){for(var o=i-1;i<=r;){var a=i+r>>>1,s=t[a];(void 0!==n?n(s,e):s-e)<=0?(o=a,i=a+1):r=a-1}return o}function o(t,e,n,i,r){for(;i<=r;){var o=i+r>>>1,a=t[o],s=void 0!==n?n(a,e):a-e;if(0===s)return o;s<=0?i=o+1:r=o-1}return-1}function a(t,e,n,i,r,o){return"function"==typeof n?o(t,e,n,void 0===i?0:0|i,void 0===r?t.length-1:0|r):o(t,e,void 0,void 0===n?0:0|n,void 0===i?t.length-1:0|i)}t.exports={ge:function(t,n,i,r,o){return a(t,n,i,r,o,e)},gt:function(t,e,i,r,o){return a(t,e,i,r,o,n)},lt:function(t,e,n,r,o){return a(t,e,n,r,o,i)},le:function(t,e,n,i,o){return a(t,e,n,i,o,r)},eq:function(t,e,n,i,r){return a(t,e,n,i,r,o)}}},308:function(t,e){"use strict";function n(t){var e=32;return(t&=-t)&&e--,65535&t&&(e-=16),16711935&t&&(e-=8),252645135&t&&(e-=4),858993459&t&&(e-=2),1431655765&t&&(e-=1),e}e.INT_BITS=32,e.INT_MAX=2147483647,e.INT_MIN=-1<<31,e.sign=function(t){return(t>0)-(t<0)},e.abs=function(t){var e=t>>31;return(t^e)-e},e.min=function(t,e){return e^(t^e)&-(t65535)<<4,e|=n=((t>>>=e)>255)<<3,e|=n=((t>>>=n)>15)<<2,(e|=n=((t>>>=n)>3)<<1)|(t>>>=n)>>1},e.log10=function(t){return t>=1e9?9:t>=1e8?8:t>=1e7?7:t>=1e6?6:t>=1e5?5:t>=1e4?4:t>=1e3?3:t>=100?2:t>=10?1:0},e.popCount=function(t){return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24},e.countTrailingZeros=n,e.nextPow2=function(t){return t+=0===t,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,1+((t|=t>>>8)|t>>>16)},e.prevPow2=function(t){return t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)-(t>>>1)},e.parity=function(t){return t^=t>>>16,t^=t>>>8,t^=t>>>4,27030>>>(t&=15)&1};var i=new Array(256);!function(t){for(var e=0;e<256;++e){var n=e,i=e,r=7;for(n>>>=1;n;n>>>=1)i<<=1,i|=1&n,--r;t[e]=i<>>8&255]<<16|i[t>>>16&255]<<8|i[t>>>24&255]},e.interleave2=function(t,e){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t&=65535)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e&=65535)|e<<8))|e<<4))|e<<2))|e<<1))<<1},e.deinterleave2=function(t,e){return(t=65535&((t=16711935&((t=252645135&((t=858993459&((t=t>>>e&1431655765)|t>>>1))|t>>>2))|t>>>4))|t>>>16))<<16>>16},e.interleave3=function(t,e,n){return t=1227133513&((t=3272356035&((t=251719695&((t=4278190335&((t&=1023)|t<<16))|t<<8))|t<<4))|t<<2),(t|=(e=1227133513&((e=3272356035&((e=251719695&((e=4278190335&((e&=1023)|e<<16))|e<<8))|e<<4))|e<<2))<<1)|(n=1227133513&((n=3272356035&((n=251719695&((n=4278190335&((n&=1023)|n<<16))|n<<8))|n<<4))|n<<2))<<2},e.deinterleave3=function(t,e){return(t=1023&((t=4278190335&((t=251719695&((t=3272356035&((t=t>>>e&1227133513)|t>>>2))|t>>>4))|t>>>8))|t>>>16))<<22>>22},e.nextCombination=function(t){var e=t|t-1;return e+1|(~e&-~e)-1>>>n(t)+1}},29620:function(t,e,n){"use strict";var i=n(32420);t.exports=function(t,e){e||(e={});var n,a,s,l,u,c,h,d,f,_,p,m=null==e.cutoff?.25:e.cutoff,v=null==e.radius?8:e.radius,g=e.channel||0;if(ArrayBuffer.isView(t)||Array.isArray(t)){if(!e.width||!e.height)throw Error("For raw data width and height should be provided by options");n=e.width,a=e.height,l=t,c=e.stride?e.stride:Math.floor(t.length/n/a)}else window.HTMLCanvasElement&&t instanceof window.HTMLCanvasElement?(h=(d=t).getContext("2d"),n=d.width,a=d.height,l=(f=h.getImageData(0,0,n,a)).data,c=4):window.CanvasRenderingContext2D&&t instanceof window.CanvasRenderingContext2D?(h=t,n=(d=t.canvas).width,a=d.height,l=(f=h.getImageData(0,0,n,a)).data,c=4):window.ImageData&&t instanceof window.ImageData&&(f=t,n=t.width,a=t.height,l=f.data,c=4);if(s=Math.max(n,a),window.Uint8ClampedArray&&l instanceof window.Uint8ClampedArray||window.Uint8Array&&l instanceof window.Uint8Array)for(u=l,l=Array(n*a),_=0,p=u.length;_-1?r(n):n}},57916:function(t,e,n){"use strict";var i=n(8844),r=n(53664),o=n(14500),a=r("%TypeError%"),s=r("%Function.prototype.apply%"),l=r("%Function.prototype.call%"),u=r("%Reflect.apply%",!0)||i.call(l,s),c=r("%Object.defineProperty%",!0),h=r("%Math.max%");if(c)try{c({},"a",{value:1})}catch(t){c=null}t.exports=function(t){if("function"!=typeof t)throw new a("a function is required");var e=u(i,l,arguments);return o(e,1+h(0,t.length-(arguments.length-1)),!0)};var d=function(){return u(i,s,arguments)};c?c(t.exports,"apply",{value:d}):t.exports.apply=d},32420:function(t){t.exports=function(t,e,n){return en?n:t:te?e:t}},3808:function(t,e,n){"use strict";var i=n(32420);function r(t,e){null==e&&(e=!0);var n=t[0],r=t[1],o=t[2],a=t[3];return null==a&&(a=e?1:255),e&&(n*=255,r*=255,o*=255,a*=255),16777216*(n=255&i(n,0,255))+((r=255&i(r,0,255))<<16)+((o=255&i(o,0,255))<<8)+(255&i(a,0,255))}t.exports=r,t.exports.to=r,t.exports.from=function(t,e){var n=(t=+t)>>>24,i=(16711680&t)>>>16,r=(65280&t)>>>8,o=255&t;return!1===e?[n,i,r,o]:[n/255,i/255,r/255,o/255]}},17592:function(t){"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},72160:function(t,e,n){"use strict";var i=n(96824),r=n(32420),o=n(72512);t.exports=function(t,e){"float"!==e&&e||(e="array"),"uint"===e&&(e="uint8"),"uint_clamped"===e&&(e="uint8_clamped");var n=new(o(e))(4),a="uint8"!==e&&"uint8_clamped"!==e;return t.length&&"string"!=typeof t||((t=i(t))[0]/=255,t[1]/=255,t[2]/=255),function(t){return t instanceof Uint8Array||t instanceof Uint8ClampedArray||!!(Array.isArray(t)&&(t[0]>1||0===t[0])&&(t[1]>1||0===t[1])&&(t[2]>1||0===t[2])&&(!t[3]||t[3]>1))}(t)?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=null!=t[3]?t[3]:255,a&&(n[0]/=255,n[1]/=255,n[2]/=255,n[3]/=255),n):(a?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=null!=t[3]?t[3]:1):(n[0]=r(Math.floor(255*t[0]),0,255),n[1]=r(Math.floor(255*t[1]),0,255),n[2]=r(Math.floor(255*t[2]),0,255),n[3]=null==t[3]?255:r(Math.floor(255*t[3]),0,255)),n)}},81704:function(t,e,n){"use strict";var i=n(17592),r=n(58908),o=n(31264);t.exports=function(t){var e,s,l=[],u=1;if("string"==typeof t)if(i[t])l=i[t].slice(),s="rgb";else if("transparent"===t)u=0,s="rgb",l=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(t)){var c=t.slice(1);u=1,(f=c.length)<=4?(l=[parseInt(c[0]+c[0],16),parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16)],4===f&&(u=parseInt(c[3]+c[3],16)/255)):(l=[parseInt(c[0]+c[1],16),parseInt(c[2]+c[3],16),parseInt(c[4]+c[5],16)],8===f&&(u=parseInt(c[6]+c[7],16)/255)),l[0]||(l[0]=0),l[1]||(l[1]=0),l[2]||(l[2]=0),s="rgb"}else if(e=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(t)){var h=e[1],d="rgb"===h;s=c=h.replace(/a$/,"");var f="cmyk"===c?4:"gray"===c?1:3;l=e[2].trim().split(/\s*,\s*/).map((function(t,e){if(/%$/.test(t))return e===f?parseFloat(t)/100:"rgb"===c?255*parseFloat(t)/100:parseFloat(t);if("h"===c[e]){if(/deg$/.test(t))return parseFloat(t);if(void 0!==a[t])return a[t]}return parseFloat(t)})),h===c&&l.push(1),u=d||void 0===l[f]?1:l[f],l=l.slice(0,f)}else t.length>10&&/[0-9](?:\s|\/)/.test(t)&&(l=t.match(/([0-9]+)/g).map((function(t){return parseFloat(t)})),s=t.match(/([a-z])/gi).join("").toLowerCase());else if(isNaN(t))if(r(t)){var _=o(t.r,t.red,t.R,null);null!==_?(s="rgb",l=[_,o(t.g,t.green,t.G),o(t.b,t.blue,t.B)]):(s="hsl",l=[o(t.h,t.hue,t.H),o(t.s,t.saturation,t.S),o(t.l,t.lightness,t.L,t.b,t.brightness)]),u=o(t.a,t.alpha,t.opacity,1),null!=t.opacity&&(u/=100)}else(Array.isArray(t)||n.g.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(t))&&(l=[t[0],t[1],t[2]],s="rgb",u=4===t.length?t[3]:1);else s="rgb",l=[t>>>16,(65280&t)>>>8,255&t];return{space:s,values:l,alpha:u}};var a={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}},96824:function(t,e,n){"use strict";var i=n(81704),r=n(53576),o=n(32420);t.exports=function(t){var e,n=i(t);return n.space?((e=Array(3))[0]=o(n.values[0],0,255),e[1]=o(n.values[1],0,255),e[2]=o(n.values[2],0,255),"h"===n.space[0]&&(e=r.rgb(e)),e.push(o(n.alpha,0,1)),e):[]}},53576:function(t,e,n){"use strict";var i=n(19336);t.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(t){var e,n,i,r,o,a=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return[o=255*l,o,o];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),r=[0,0,0];for(var u=0;u<3;u++)(i=a+1/3*-(u-1))<0?i++:i>1&&i--,o=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,r[u]=255*o;return r}},i.hsl=function(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a;return s===a?e=0:i===s?e=(r-o)/l:r===s?e=2+(o-i)/l:o===s&&(e=4+(i-r)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(a+s)/2,[e,100*(s===a?0:n<=.5?l/(s+a):l/(2-s-a)),100*n]}},19336:function(t){"use strict";t.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},36116:function(t){t.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|ç)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|é)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|é)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|ã)o.?tom(e|é)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},42771:function(t,e,n){"use strict";t.exports={parse:n(46416),stringify:n(49395)}},8744:function(t,e,n){"use strict";var i=n(30584);t.exports={isSize:function(t){return/^[\d\.]/.test(t)||-1!==t.indexOf("/")||-1!==i.indexOf(t)}}},46416:function(t,e,n){"use strict";var i=n(92384),r=n(68194),o=n(3748),a=n(2904),s=n(47916),l=n(7294),u=n(39956),c=n(8744).isSize;t.exports=d;var h=d.cache={};function d(t){if("string"!=typeof t)throw new Error("Font argument must be a string.");if(h[t])return h[t];if(""===t)throw new Error("Cannot parse an empty string.");if(-1!==o.indexOf(t))return h[t]={system:t};for(var e,n={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},d=u(t,/\s+/);e=d.shift();){if(-1!==r.indexOf(e))return["style","variant","weight","stretch"].forEach((function(t){n[t]=e})),h[t]=n;if(-1===s.indexOf(e))if("normal"!==e&&"small-caps"!==e)if(-1===l.indexOf(e)){if(-1===a.indexOf(e)){if(c(e)){var _=u(e,"/");if(n.size=_[0],null!=_[1]?n.lineHeight=f(_[1]):"/"===d[0]&&(d.shift(),n.lineHeight=f(d.shift())),!d.length)throw new Error("Missing required font-family.");return n.family=u(d.join(" "),/\s*,\s*/).map(i),h[t]=n}throw new Error("Unknown or unsupported font token: "+e)}n.weight=e}else n.stretch=e;else n.variant=e;else n.style=e}throw new Error("Missing required font-size.")}function f(t){var e=parseFloat(t);return e.toString()===t?e:t}},49395:function(t,e,n){"use strict";var i=n(55616),r=n(8744).isSize,o=_(n(68194)),a=_(n(3748)),s=_(n(2904)),l=_(n(47916)),u=_(n(7294)),c={normal:1,"small-caps":1},h={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},d="serif";function f(t,e){if(t&&!e[t]&&!o[t])throw Error("Unknown keyword `"+t+"`");return t}function _(t){for(var e={},n=0;ne?1:t>=e?0:NaN}n.d(e,{XE:function(){return i},kv:function(){return s},mo:function(){return u},Uf:function(){return c},SY:function(){return h},ik:function(){return d},oh:function(){return f}}),1===(r=i).length&&(o=r,r=function(t,e){return i(o(t),e)});var r,o,a=Array.prototype;function s(t,e){var n,i,r=t.length,o=-1;if(null==e){for(;++o=n)for(i=n;++oi&&(i=n)}else for(;++o=n)for(i=n;++oi&&(i=n);return i}function l(t){return null===t?NaN:+t}function u(t,e){var n,i=t.length,r=i,o=-1,a=0;if(null==e)for(;++o=0;)for(e=(i=t[r]).length;--e>=0;)n[--a]=i[e];return n}function h(t,e){var n,i,r=t.length,o=-1;if(null==e){for(;++o=n)for(i=n;++on&&(i=n)}else for(;++o=n)for(i=n;++on&&(i=n);return i}function d(t,e,n){t=+t,e=+e,n=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+n;for(var i=-1,r=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(r);++i=i.length)return null!=t&&n.sort(t),null!=e?e(n):n;for(var u,c,h,d=-1,f=n.length,_=i[r++],p=a(),m=s();++di.length)return t;var o,a=r[n-1];return null!=e&&n>=i.length?o=t.entries():(o=[],t.each((function(t,e){o.push({key:e,values:s(t,n)})}))),null!=a?o.sort((function(t,e){return a(t.key,e.key)})):o}return n={object:function(t){return o(t,0,l,u)},map:function(t){return o(t,0,c,h)},entries:function(t){return s(o(t,0,c,h),0)},key:function(t){return i.push(t),n},sortKeys:function(t){return r[i.length-1]=t,n},sortValues:function(e){return t=e,n},rollup:function(t){return e=t,n}}}function l(){return{}}function u(t,e,n){t[e]=n}function c(){return a()}function h(t,e,n){t.set(e,n)}function d(){}var f=a.prototype;d.prototype=function(t,e){var n=new d;if(t instanceof d)t.each((function(t){n.add(t)}));else if(t){var i=-1,r=t.length;if(null==e)for(;++i=(o=(p+v)/2))?p=o:v=o,(c=n>=(a=(m+g)/2))?m=a:g=a,r=f,!(f=f[h=c<<1|u]))return r[h]=_,t;if(s=+t._x.call(null,f.data),l=+t._y.call(null,f.data),e===s&&n===l)return _.next=f,r?r[h]=_:t._root=_,t;do{r=r?r[h]=new Array(4):t._root=new Array(4),(u=e>=(o=(p+v)/2))?p=o:v=o,(c=n>=(a=(m+g)/2))?m=a:g=a}while((h=c<<1|u)==(d=(l>=a)<<1|s>=o));return r[d]=f,r[h]=_,t}function s(t,e,n,i,r){this.node=t,this.x0=e,this.y0=n,this.x1=i,this.y1=r}function l(t){return t[0]}function u(t){return t[1]}function c(t,e,n){var i=new h(null==e?l:e,null==n?u:n,NaN,NaN,NaN,NaN);return null==t?i:i.addAll(t)}function h(t,e,n,i,r,o){this._x=t,this._y=e,this._x0=n,this._y0=i,this._x1=r,this._y1=o,this._root=void 0}function d(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}n.r(e),n.d(e,{forceCenter:function(){return i},forceCollide:function(){return m},forceLink:function(){return b},forceManyBody:function(){return Z},forceRadial:function(){return Y},forceSimulation:function(){return J},forceX:function(){return K},forceY:function(){return Q}});var f=c.prototype=h.prototype;function _(t){return t.x+t.vx}function p(t){return t.y+t.vy}function m(t){var e,n,i=1,a=1;function s(){for(var t,r,s,u,h,d,f,m=e.length,v=0;vu+_||rh+_||as.index){var p=u-l.x-l.vx,m=h-l.y-l.vy,v=p*p+m*m;v<_*_&&(0===p&&(v+=(p=o())*p),0===m&&(v+=(m=o())*m),v=(_-(v=Math.sqrt(v)))/v*i,s.vx+=(p*=v)*(_=(c*=c)/(f+c)),s.vy+=(m*=v)*_,l.vx-=p*(_=1-_),l.vy-=m*_)}}}function l(t){if(t.data)return t.r=n[t.data.index];for(var e=t.r=0;e<4;++e)t[e]&&t[e].r>t.r&&(t.r=t[e].r)}function u(){if(e){var i,r,o=e.length;for(n=new Array(o),i=0;ih&&(h=i),rd&&(d=r));if(u>h||c>d)return this;for(this.cover(u,c).cover(h,d),n=0;nt||t>=r||i>e||e>=o;)switch(s=(ef||(o=u.y0)>_||(a=u.x1)=g)<<1|t>=v)&&(u=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=u)}else{var y=t-+this._x.call(null,m.data),b=e-+this._y.call(null,m.data),w=y*y+b*b;if(w=(s=(_+m)/2))?_=s:m=s,(c=a>=(l=(p+v)/2))?p=l:v=l,e=f,!(f=f[h=c<<1|u]))return this;if(!f.length)break;(e[h+1&3]||e[h+2&3]||e[h+3&3])&&(n=e,d=h)}for(;f.data!==t;)if(i=f,!(f=f.next))return this;return(r=f.next)&&delete f.next,i?(r?i.next=r:delete i.next,this):e?(r?e[h]=r:delete e[h],(f=e[0]||e[1]||e[2]||e[3])&&f===(e[3]||e[2]||e[1]||e[0])&&!f.length&&(n?n[d]=f:this._root=f),this):(this._root=r,this)},f.removeAll=function(t){for(var e=0,n=t.length;e=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!i.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a0)for(var n,i,r=new Array(n),o=0;o=0&&e._call.call(null,t),e=e._next;--k}()}finally{k=0,function(){for(var t,e,n=A,i=1/0;n;)n._call?(i>n._time&&(i=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:A=e);S=t,W(i)}(),M=0}}function F(){var t=R.now(),e=t-L;e>O&&($-=e,L=t)}function W(t){k||(N&&(N=clearTimeout(N)),t-M>24?(t<1/0&&(N=setTimeout(B,t-R.now()-$)),I&&(I=clearInterval(I))):(I||(L=R.now(),I=setInterval(F,O)),k=1,P(B)))}function G(t){return t.x}function H(t){return t.y}q.prototype=D.prototype={constructor:q,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?U():+n)+(null==e?0:+e),this._next||S===this||(S?S._next=this:A=this,S=this),this._call=t,this._time=n,W()},stop:function(){this._call&&(this._call=null,this._time=1/0,W())}};var V=10,X=Math.PI*(3-Math.sqrt(5));function J(t){var e,n=1,i=.001,r=1-Math.pow(i,1/300),o=0,a=.6,s=(0,v.kH)(),l=D(c),u=z("tick","end");function c(){h(),u.call("tick",e),n1?(null==n?s.remove(t):s.set(t,f(n)),e):s.get(t)},find:function(e,n,i){var r,o,a,s,l,u=0,c=t.length;for(null==i?i=1/0:i*=i,u=0;u1?(u.on(t,n),e):u.on(t)}}}function Z(){var t,e,n,i,a=r(-30),s=1,l=1/0,u=.81;function h(i){var r,o=t.length,a=c(t,G,H).visitAfter(f);for(n=i,r=0;r=l)){(t.data!==e||t.next)&&(0===h&&(_+=(h=o())*h),0===d&&(_+=(d=o())*d),_1?i[0]+i.slice(2):i,+t.slice(n+1)]}n.d(e,{E9:function(){return d},SO:function(){return p}});var r,o=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function a(t){if(!(e=o.exec(t)))throw new Error("invalid format: "+t);var e;return new s({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 s(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 l(t,e){var n=i(t,e);if(!n)return t+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}a.prototype=s.prototype,s.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};var u={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return l(100*t,e)},r:l,s:function(t,e){var n=i(t,e);if(!n)return t+"";var o=n[0],a=n[1],s=a-(r=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,l=o.length;return s===l?o:s>l?o+new Array(s-l+1).join("0"):s>0?o.slice(0,s)+"."+o.slice(s):"0."+new Array(1-s).join("0")+i(t,Math.max(0,e+s-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function c(t){return t}var h,d,f=Array.prototype.map,_=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function p(t){var e,n,o=void 0===t.grouping||void 0===t.thousands?c:(e=f.call(t.grouping,Number),n=t.thousands+"",function(t,i){for(var r=t.length,o=[],a=0,s=e[0],l=0;r>0&&s>0&&(l+s+1>i&&(s=Math.max(1,i-l)),o.push(t.substring(r-=s,r+s)),!((l+=s+1)>i));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),s=void 0===t.currency?"":t.currency[0]+"",l=void 0===t.currency?"":t.currency[1]+"",h=void 0===t.decimal?".":t.decimal+"",d=void 0===t.numerals?c:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(f.call(t.numerals,String)),p=void 0===t.percent?"%":t.percent+"",m=void 0===t.minus?"-":t.minus+"",v=void 0===t.nan?"NaN":t.nan+"";function g(t){var e=(t=a(t)).fill,n=t.align,i=t.sign,c=t.symbol,f=t.zero,g=t.width,y=t.comma,b=t.precision,w=t.trim,E=t.type;"n"===E?(y=!0,E="g"):u[E]||(void 0===b&&(b=12),w=!0,E="g"),(f||"0"===e&&"="===n)&&(f=!0,e="0",n="=");var x="$"===c?s:"#"===c&&/[boxX]/.test(E)?"0"+E.toLowerCase():"",C="$"===c?l:/[%p]/.test(E)?p:"",T=u[E],A=/[defgprs%]/.test(E);function S(t){var a,s,l,u=x,c=C;if("c"===E)c=T(t)+c,t="";else{var p=(t=+t)<0||1/t<0;if(t=isNaN(t)?v:T(Math.abs(t),b),w&&(t=function(t){t:for(var e,n=t.length,i=1,r=-1;i0&&(r=0)}return r>0?t.slice(0,r)+t.slice(e+1):t}(t)),p&&0==+t&&"+"!==i&&(p=!1),u=(p?"("===i?i:m:"-"===i||"("===i?"":i)+u,c=("s"===E?_[8+r/3]:"")+c+(p&&"("===i?")":""),A)for(a=-1,s=t.length;++a(l=t.charCodeAt(a))||l>57){c=(46===l?h+t.slice(a+1):t.slice(a))+c,t=t.slice(0,a);break}}y&&!f&&(t=o(t,1/0));var S=u.length+t.length+c.length,z=S>1)+u+t+c+z.slice(S);break;default:t=z+u+t+c}return d(t)}return b=void 0===b?6:/[gprs]/.test(E)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),S.toString=function(){return t+""},S}return{format:g,formatPrefix:function(t,e){var n,r=g(((t=a(t)).type="f",t)),o=3*Math.max(-8,Math.min(8,Math.floor((n=e,((n=i(Math.abs(n)))?n[1]:NaN)/3)))),s=Math.pow(10,-o),l=_[8+o/3];return function(t){return r(s*t)+l}}}}h=p({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),d=h.format,h.formatPrefix},87108:function(t,e,n){"use strict";n.r(e),n.d(e,{geoAiry:function(){return $},geoAiryRaw:function(){return M},geoAitoff:function(){return P},geoAitoffRaw:function(){return R},geoArmadillo:function(){return j},geoArmadilloRaw:function(){return U},geoAugust:function(){return D},geoAugustRaw:function(){return q},geoBaker:function(){return G},geoBakerRaw:function(){return W},geoBerghaus:function(){return X},geoBerghausRaw:function(){return V},geoBertin1953:function(){return nt},geoBertin1953Raw:function(){return et},geoBoggs:function(){return ct},geoBoggsRaw:function(){return ut},geoBonne:function(){return pt},geoBonneRaw:function(){return _t},geoBottomley:function(){return vt},geoBottomleyRaw:function(){return mt},geoBromley:function(){return yt},geoBromleyRaw:function(){return gt},geoChamberlin:function(){return zt},geoChamberlinAfrica:function(){return St},geoChamberlinRaw:function(){return Tt},geoCollignon:function(){return Nt},geoCollignonRaw:function(){return kt},geoCraig:function(){return Ot},geoCraigRaw:function(){return It},geoCraster:function(){return $t},geoCrasterRaw:function(){return Mt},geoCylindricalEqualArea:function(){return Pt},geoCylindricalEqualAreaRaw:function(){return Rt},geoCylindricalStereographic:function(){return jt},geoCylindricalStereographicRaw:function(){return Ut},geoEckert1:function(){return Dt},geoEckert1Raw:function(){return qt},geoEckert2:function(){return Ft},geoEckert2Raw:function(){return Bt},geoEckert3:function(){return Gt},geoEckert3Raw:function(){return Wt},geoEckert4:function(){return Vt},geoEckert4Raw:function(){return Ht},geoEckert5:function(){return Jt},geoEckert5Raw:function(){return Xt},geoEckert6:function(){return Yt},geoEckert6Raw:function(){return Zt},geoEisenlohr:function(){return te},geoEisenlohrRaw:function(){return Qt},geoFahey:function(){return ie},geoFaheyRaw:function(){return ne},geoFoucaut:function(){return oe},geoFoucautRaw:function(){return re},geoFoucautSinusoidal:function(){return se},geoFoucautSinusoidalRaw:function(){return ae},geoGilbert:function(){return de},geoGingery:function(){return me},geoGingeryRaw:function(){return fe},geoGinzburg4:function(){return ye},geoGinzburg4Raw:function(){return ge},geoGinzburg5:function(){return we},geoGinzburg5Raw:function(){return be},geoGinzburg6:function(){return xe},geoGinzburg6Raw:function(){return Ee},geoGinzburg8:function(){return Te},geoGinzburg8Raw:function(){return Ce},geoGinzburg9:function(){return Se},geoGinzburg9Raw:function(){return Ae},geoGringorten:function(){return Ne},geoGringortenQuincuncial:function(){return rr},geoGringortenRaw:function(){return ke},geoGuyou:function(){return Me},geoGuyouRaw:function(){return Le},geoHammer:function(){return K},geoHammerRaw:function(){return Z},geoHammerRetroazimuthal:function(){return Ue},geoHammerRetroazimuthalRaw:function(){return Re},geoHealpix:function(){return Ve},geoHealpixRaw:function(){return Fe},geoHill:function(){return Je},geoHillRaw:function(){return Xe},geoHomolosine:function(){return en},geoHomolosineRaw:function(){return tn},geoHufnagel:function(){return rn},geoHufnagelRaw:function(){return nn},geoHyperelliptical:function(){return ln},geoHyperellipticalRaw:function(){return sn},geoInterrupt:function(){return hn},geoInterruptedBoggs:function(){return fn},geoInterruptedHomolosine:function(){return pn},geoInterruptedMollweide:function(){return vn},geoInterruptedMollweideHemispheres:function(){return yn},geoInterruptedQuarticAuthalic:function(){return hi},geoInterruptedSinuMollweide:function(){return wn},geoInterruptedSinusoidal:function(){return xn},geoKavrayskiy7:function(){return Tn},geoKavrayskiy7Raw:function(){return Cn},geoLagrange:function(){return Sn},geoLagrangeRaw:function(){return An},geoLarrivee:function(){return Nn},geoLarriveeRaw:function(){return kn},geoLaskowski:function(){return On},geoLaskowskiRaw:function(){return In},geoLittrow:function(){return Mn},geoLittrowRaw:function(){return Ln},geoLoximuthal:function(){return Rn},geoLoximuthalRaw:function(){return $n},geoMiller:function(){return Un},geoMillerRaw:function(){return Pn},geoModifiedStereographic:function(){return Zn},geoModifiedStereographicAlaska:function(){return Gn},geoModifiedStereographicGs48:function(){return Hn},geoModifiedStereographicGs50:function(){return Vn},geoModifiedStereographicLee:function(){return Jn},geoModifiedStereographicMiller:function(){return Xn},geoModifiedStereographicRaw:function(){return jn},geoMollweide:function(){return at},geoMollweideRaw:function(){return ot},geoMtFlatPolarParabolic:function(){return ti},geoMtFlatPolarParabolicRaw:function(){return Qn},geoMtFlatPolarQuartic:function(){return ni},geoMtFlatPolarQuarticRaw:function(){return ei},geoMtFlatPolarSinusoidal:function(){return ri},geoMtFlatPolarSinusoidalRaw:function(){return ii},geoNaturalEarth:function(){return oi.c},geoNaturalEarth2:function(){return si},geoNaturalEarth2Raw:function(){return ai},geoNaturalEarthRaw:function(){return oi.g},geoNellHammer:function(){return ui},geoNellHammerRaw:function(){return li},geoNicolosi:function(){return fi},geoNicolosiRaw:function(){return di},geoPatterson:function(){return Ci},geoPattersonRaw:function(){return xi},geoPeirceQuincuncial:function(){return or},geoPierceQuincuncial:function(){return or},geoPolyconic:function(){return Ai},geoPolyconicRaw:function(){return Ti},geoPolyhedral:function(){return Oi},geoPolyhedralButterfly:function(){return ji},geoPolyhedralCollignon:function(){return Bi},geoPolyhedralWaterman:function(){return Fi},geoProject:function(){return Xi},geoQuantize:function(){return ar},geoQuincuncial:function(){return ir},geoRectangularPolyconic:function(){return lr},geoRectangularPolyconicRaw:function(){return sr},geoRobinson:function(){return hr},geoRobinsonRaw:function(){return cr},geoSatellite:function(){return fr},geoSatelliteRaw:function(){return dr},geoSinuMollweide:function(){return Qe},geoSinuMollweideRaw:function(){return Ke},geoSinusoidal:function(){return ft},geoSinusoidalRaw:function(){return dt},geoStitch:function(){return Or},geoTimes:function(){return Mr},geoTimesRaw:function(){return Lr},geoTwoPointAzimuthal:function(){return Ur},geoTwoPointAzimuthalRaw:function(){return Rr},geoTwoPointAzimuthalUsa:function(){return Pr},geoTwoPointEquidistant:function(){return Dr},geoTwoPointEquidistantRaw:function(){return jr},geoTwoPointEquidistantUsa:function(){return qr},geoVanDerGrinten:function(){return Fr},geoVanDerGrinten2:function(){return Gr},geoVanDerGrinten2Raw:function(){return Wr},geoVanDerGrinten3:function(){return Vr},geoVanDerGrinten3Raw:function(){return Hr},geoVanDerGrinten4:function(){return Jr},geoVanDerGrinten4Raw:function(){return Xr},geoVanDerGrintenRaw:function(){return Br},geoWagner:function(){return Yr},geoWagner4:function(){return no},geoWagner4Raw:function(){return eo},geoWagner6:function(){return ro},geoWagner6Raw:function(){return io},geoWagner7:function(){return Kr},geoWagnerRaw:function(){return Zr},geoWiechel:function(){return ao},geoWiechelRaw:function(){return oo},geoWinkel3:function(){return lo},geoWinkel3Raw:function(){return so}});var i=n(87952),r=Math.abs,o=Math.atan,a=Math.atan2,s=(Math.ceil,Math.cos),l=Math.exp,u=Math.floor,c=Math.log,h=Math.max,d=Math.min,f=Math.pow,_=Math.round,p=Math.sign||function(t){return t>0?1:t<0?-1:0},m=Math.sin,v=Math.tan,g=1e-6,y=1e-12,b=Math.PI,w=b/2,E=b/4,x=Math.SQRT1_2,C=I(2),T=I(b),A=2*b,S=180/b,z=b/180;function k(t){return t>1?w:t<-1?-w:Math.asin(t)}function N(t){return t>1?0:t<-1?b:Math.acos(t)}function I(t){return t>0?Math.sqrt(t):0}function O(t){return(l(t)-l(-t))/2}function L(t){return(l(t)+l(-t))/2}function M(t){var e=v(t/2),n=2*c(s(t/2))/(e*e);function i(t,e){var i=s(t),r=s(e),o=m(e),a=r*i,l=-((1-a?c((1+a)/2)/(1-a):-.5)+n/(1+a));return[l*r*m(t),l*o]}return i.invert=function(e,i){var o,l=I(e*e+i*i),u=-t/2,h=50;if(!l)return[0,0];do{var d=u/2,f=s(d),_=m(d),p=_/f,v=-c(r(f));u-=o=(2/p*v-n*p-l)/(-v/(_*_)+1-n/(2*f*f))*(f<0?.7:1)}while(r(o)>g&&--h>0);var y=m(u);return[a(e*y,l*s(u)),k(i*y/l)]},i}function $(){var t=w,e=(0,i.U)(M),n=e(t);return n.radius=function(n){return arguments.length?e(t=n*z):t*S},n.scale(179.976).clipAngle(147)}function R(t,e){var n=s(e),i=function(t){return t?t/Math.sin(t):1}(N(n*s(t/=2)));return[2*n*m(t)*i,m(e)*i]}function P(){return(0,i.c)(R).scale(152.63)}function U(t){var e=m(t),n=s(t),i=t>=0?1:-1,o=v(i*t),l=(1+e-n)/2;function u(t,r){var u=s(r),c=s(t/=2);return[(1+u)*m(t),(i*r>-a(c,o)-.001?0:10*-i)+l+m(r)*n-(1+u)*e*c]}return u.invert=function(t,u){var c=0,h=0,d=50;do{var f=s(c),_=m(c),p=s(h),v=m(h),y=1+p,b=y*_-t,w=l+v*n-y*e*f-u,E=y*f/2,x=-_*v,C=e*y*_/2,T=n*p+e*f*v,A=x*C-T*E,S=(w*x-b*T)/A/2,z=(b*C-w*E)/A;r(z)>2&&(z/=2),c-=S,h-=z}while((r(S)>g||r(z)>g)&&--d>0);return i*h>-a(s(c),o)-.001?[2*c,h]:null},u}function j(){var t=20*z,e=t>=0?1:-1,n=v(e*t),r=(0,i.U)(U),o=r(t),l=o.stream;return o.parallel=function(i){return arguments.length?(n=v((e=(t=i*z)>=0?1:-1)*t),r(t)):t*S},o.stream=function(i){var r=o.rotate(),u=l(i),c=(o.rotate([0,0]),l(i)),h=o.precision();return o.rotate(r),u.sphere=function(){c.polygonStart(),c.lineStart();for(var i=-180*e;e*i<180;i+=90*e)c.point(i,90*e);if(t)for(;e*(i-=3*e*h)>=-180;)c.point(i,e*-a(s(i*z/2),n)*S);c.lineEnd(),c.polygonEnd()},u},o.scale(218.695).center([0,28.0974])}function q(t,e){var n=v(e/2),i=I(1-n*n),r=1+i*s(t/=2),o=m(t)*i/r,a=n/r,l=o*o,u=a*a;return[4/3*o*(3+l-3*u),4/3*a*(3+3*l-u)]}function D(){return(0,i.c)(q).scale(66.1603)}R.invert=function(t,e){if(!(t*t+4*e*e>b*b+g)){var n=t,i=e,o=25;do{var a,l=m(n),u=m(n/2),c=s(n/2),h=m(i),d=s(i),f=m(2*i),_=h*h,p=d*d,v=u*u,y=1-p*c*c,w=y?N(d*c)*I(a=1/y):a=0,E=2*w*d*u-t,x=w*h-e,C=a*(p*v+w*d*c*_),T=a*(.5*l*f-2*w*h*u),A=.25*a*(f*u-w*h*p*l),S=a*(_*c+w*v*d),z=T*A-S*C;if(!z)break;var k=(x*T-E*S)/z,O=(E*A-x*C)/z;n-=k,i-=O}while((r(k)>g||r(O)>g)&&--o>0);return[n,i]}},q.invert=function(t,e){if(e*=3/8,!(t*=3/8)&&r(e)>1)return null;var n=1+t*t+e*e,i=I((n-I(n*n-4*e*e))/2),o=k(i)/3,l=i?function(t){return c(t+I(t*t-1))}(r(e/i))/3:function(t){return c(t+I(t*t+1))}(r(t))/3,u=s(o),h=L(l),d=h*h-u*u;return[2*p(t)*a(O(l)*u,.25-d),2*p(e)*a(h*m(o),.25+d)]};var B=I(8),F=c(1+C);function W(t,e){var n=r(e);return ny&&--u>0);return[t/(s(a)*(B-1/m(a))),p(e)*a]};var H=n(69020);function V(t){var e=2*b/t;function n(t,n){var i=(0,H.O)(t,n);if(r(t)>w){var o=a(i[1],i[0]),l=I(i[0]*i[0]+i[1]*i[1]),u=e*_((o-w)/e)+w,c=a(m(o-=u),2-s(o));o=u+k(b/l*m(c))-c,i[0]=l*s(o),i[1]=l*m(o)}return i}return n.invert=function(t,n){var i=I(t*t+n*n);if(i>w){var r=a(n,t),l=e*_((r-w)/e)+w,u=r>l?-1:1,c=i*s(l-r),h=1/v(u*N((c-b)/I(b*(b-2*c)+i*i)));r=l+2*o((h+u*I(h*h-3))/3),t=i*s(r),n=i*m(r)}return H.O.invert(t,n)},n}function X(){var t=5,e=(0,i.U)(V),n=e(t),r=n.stream,o=.01,l=-s(o*z),u=m(o*z);return n.lobes=function(n){return arguments.length?e(t=+n):t},n.stream=function(e){var i=n.rotate(),c=r(e),h=(n.rotate([0,0]),r(e));return n.rotate(i),c.sphere=function(){h.polygonStart(),h.lineStart();for(var e=0,n=360/t,i=2*b/t,r=90-180/t,c=w;e0&&r(i)>g);return s<0?NaN:n}function tt(t,e,n){return void 0===e&&(e=40),void 0===n&&(n=y),function(i,o,a,s){var l,u,c;a=void 0===a?0:+a,s=void 0===s?0:+s;for(var h=0;hl)a-=u/=2,s-=c/=2;else{l=p;var m=(a>0?-1:1)*n,v=(s>0?-1:1)*n,g=t(a+m,s),y=t(a,s+v),b=(g[0]-d[0])/m,w=(g[1]-d[1])/m,E=(y[0]-d[0])/v,x=(y[1]-d[1])/v,C=x*b-w*E,T=(r(C)<.5?.5:1)/C;if(a+=u=(_*E-f*x)*T,s+=c=(f*w-_*b)*T,r(u)0&&(r[1]*=1+o/1.5*r[0]*r[0]),r}return e.invert=tt(e),e}function nt(){return(0,i.c)(et()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function it(t,e){var n,i=t*m(e),o=30;do{e-=n=(e+m(e)-i)/(1+s(e))}while(r(n)>g&&--o>0);return e/2}function rt(t,e,n){function i(i,r){return[t*i*s(r=it(n,r)),e*m(r)]}return i.invert=function(i,r){return r=k(r/e),[i/(t*s(r)),k((2*r+m(2*r))/n)]},i}Y.invert=function(t,e){var n=2*k(e/2);return[t*s(n/2)/s(n),n]};var ot=rt(C/w,C,b);function at(){return(0,i.c)(ot).scale(169.529)}var st=2.00276,lt=1.11072;function ut(t,e){var n=it(b,e);return[st*t/(1/s(e)+lt/s(n)),(e+C*m(n))/st]}function ct(){return(0,i.c)(ut).scale(160.857)}function ht(t){var e=0,n=(0,i.U)(t),r=n(e);return r.parallel=function(t){return arguments.length?n(e=t*z):e*S},r}function dt(t,e){return[t*s(e),e]}function ft(){return(0,i.c)(dt).scale(152.63)}function _t(t){if(!t)return dt;var e=1/v(t);function n(n,i){var r=e+t-i,o=r?n*s(i)/r:r;return[r*m(o),e-r*s(o)]}return n.invert=function(n,i){var r=I(n*n+(i=e-i)*i),o=e+t-r;return[r/s(o)*a(n,i),o]},n}function pt(){return ht(_t).scale(123.082).center([0,26.1441]).parallel(45)}function mt(t){function e(e,n){var i=w-n,r=i?e*t*m(i)/i:i;return[i*m(r)/t,w-i*s(r)]}return e.invert=function(e,n){var i=e*t,r=w-n,o=I(i*i+r*r),s=a(i,r);return[(o?o/m(o):1)*s/t,w-o]},e}function vt(){var t=.5,e=(0,i.U)(mt),n=e(t);return n.fraction=function(n){return arguments.length?e(t=+n):t},n.scale(158.837)}ut.invert=function(t,e){var n,i,o=st*e,a=e<0?-E:E,l=25;do{i=o-C*m(a),a-=n=(m(2*a)+2*a-b*m(i))/(2*s(2*a)+2+b*s(i)*C*s(a))}while(r(n)>g&&--l>0);return i=o-C*m(a),[t*(1/s(i)+lt/s(a))/st,i]},dt.invert=function(t,e){return[t/s(e),e]};var gt=rt(1,4/b,b);function yt(){return(0,i.c)(gt).scale(152.63)}var bt=n(24052),wt=n(92992);function Et(t,e,n,i,o,l){var u,c=s(l);if(r(t)>1||r(l)>1)u=N(n*o+e*i*c);else{var h=m(t/2),d=m(l/2);u=2*k(I(h*h+e*i*d*d))}return r(u)>g?[u,a(i*m(l),e*o-n*i*c)]:[0,0]}function xt(t,e,n){return N((t*t+e*e-n*n)/(2*t*e))}function Ct(t){return t-2*b*u((t+b)/(2*b))}function Tt(t,e,n){for(var i,r=[[t[0],t[1],m(t[1]),s(t[1])],[e[0],e[1],m(e[1]),s(e[1])],[n[0],n[1],m(n[1]),s(n[1])]],o=r[2],a=0;a<3;++a,o=i)i=r[a],o.v=Et(i[1]-o[1],o[3],o[2],i[3],i[2],i[0]-o[0]),o.point=[0,0];var l=xt(r[0].v[0],r[2].v[0],r[1].v[0]),u=xt(r[0].v[0],r[1].v[0],r[2].v[0]),c=b-l;r[2].point[1]=0,r[0].point[0]=-(r[1].point[0]=r[0].v[0]/2);var h=[r[2].point[0]=r[0].point[0]+r[2].v[0]*s(l),2*(r[0].point[1]=r[1].point[1]=r[2].v[0]*m(l))];return function(t,e){var n,i=m(e),o=s(e),a=new Array(3);for(n=0;n<3;++n){var l=r[n];if(a[n]=Et(e-l[1],l[3],l[2],o,i,t-l[0]),!a[n][0])return l.point;a[n][1]=Ct(a[n][1]-l.v[1])}var d=h.slice();for(n=0;n<3;++n){var f=2==n?0:n+1,_=xt(r[n].v[0],a[n][0],a[f][0]);a[n][1]<0&&(_=-_),n?1==n?(_=u-_,d[0]-=a[n][0]*s(_),d[1]-=a[n][0]*m(_)):(_=c-_,d[0]+=a[n][0]*s(_),d[1]+=a[n][0]*m(_)):(d[0]+=a[n][0]*s(_),d[1]-=a[n][0]*m(_))}return d[0]/=3,d[1]/=3,d}}function At(t){return t[0]*=z,t[1]*=z,t}function St(){return zt([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function zt(t,e,n){var r=(0,bt.c)({type:"MultiPoint",coordinates:[t,e,n]}),o=[-r[0],-r[1]],a=(0,wt.c)(o),s=Tt(At(a(t)),At(a(e)),At(a(n)));s.invert=tt(s);var l=(0,i.c)(s).rotate(o),u=l.center;return delete l.rotate,l.center=function(t){return arguments.length?u(a(t)):a.invert(u())},l.clipAngle(90)}function kt(t,e){var n=I(1-m(e));return[2/T*t*n,T*(1-n)]}function Nt(){return(0,i.c)(kt).scale(95.6464).center([0,30])}function It(t){var e=v(t);function n(t,n){return[t,(t?t/m(t):1)*(m(n)*s(t)-e*s(n))]}return n.invert=e?function(t,n){t&&(n*=m(t)/t);var i=s(t);return[t,2*a(I(i*i+e*e-n*n)-i,e-n)]}:function(t,e){return[t,k(t?e*v(t)/t:e)]},n}function Ot(){return ht(It).scale(249.828).clipAngle(90)}kt.invert=function(t,e){var n=(n=e/T-1)*n;return[n>0?t*I(b/n)/2:0,k(1-n)]};var Lt=I(3);function Mt(t,e){return[Lt*t*(2*s(2*e/3)-1)/T,Lt*T*m(e/3)]}function $t(){return(0,i.c)(Mt).scale(156.19)}function Rt(t){var e=s(t);function n(t,n){return[t*e,m(n)/e]}return n.invert=function(t,n){return[t/e,k(n*e)]},n}function Pt(){return ht(Rt).parallel(38.58).scale(195.044)}function Ut(t){var e=s(t);function n(t,n){return[t*e,(1+e)*v(n/2)]}return n.invert=function(t,n){return[t/e,2*o(n/(1+e))]},n}function jt(){return ht(Ut).scale(124.75)}function qt(t,e){var n=I(8/(3*b));return[n*t*(1-r(e)/b),n*e]}function Dt(){return(0,i.c)(qt).scale(165.664)}function Bt(t,e){var n=I(4-3*m(r(e)));return[2/I(6*b)*t*n,p(e)*I(2*b/3)*(2-n)]}function Ft(){return(0,i.c)(Bt).scale(165.664)}function Wt(t,e){var n=I(b*(4+b));return[2/n*t*(1+I(1-4*e*e/(b*b))),4/n*e]}function Gt(){return(0,i.c)(Wt).scale(180.739)}function Ht(t,e){var n=(2+w)*m(e);e/=2;for(var i=0,o=1/0;i<10&&r(o)>g;i++){var a=s(e);e-=o=(e+m(e)*(a+2)-n)/(2*a*(1+a))}return[2/I(b*(4+b))*t*(1+s(e)),2*I(b/(4+b))*m(e)]}function Vt(){return(0,i.c)(Ht).scale(180.739)}function Xt(t,e){return[t*(1+s(e))/I(2+b),2*e/I(2+b)]}function Jt(){return(0,i.c)(Xt).scale(173.044)}function Zt(t,e){for(var n=(1+w)*m(e),i=0,o=1/0;i<10&&r(o)>g;i++)e-=o=(e+m(e)-n)/(1+s(e));return n=I(2+b),[t*(1+s(e))/n,2*e/n]}function Yt(){return(0,i.c)(Zt).scale(173.044)}Mt.invert=function(t,e){var n=3*k(e/(Lt*T));return[T*t/(Lt*(2*s(2*n/3)-1)),n]},qt.invert=function(t,e){var n=I(8/(3*b)),i=e/n;return[t/(n*(1-r(i)/b)),i]},Bt.invert=function(t,e){var n=2-r(e)/I(2*b/3);return[t*I(6*b)/(2*n),p(e)*k((4-n*n)/3)]},Wt.invert=function(t,e){var n=I(b*(4+b))/2;return[t*n/(1+I(1-e*e*(4+b)/(4*b))),e*n/2]},Ht.invert=function(t,e){var n=e*I((4+b)/b)/2,i=k(n),r=s(i);return[t/(2/I(b*(4+b))*(1+r)),k((i+n*(r+2))/(2+w))]},Xt.invert=function(t,e){var n=I(2+b),i=e*n/2;return[n*t/(1+s(i)),i]},Zt.invert=function(t,e){var n=1+w,i=I(n/2);return[2*t*i/(1+s(e*=i)),k((e+m(e))/n)]};var Kt=3+2*C;function Qt(t,e){var n=m(t/=2),i=s(t),r=I(s(e)),a=s(e/=2),l=m(e)/(a+C*i*r),u=I(2/(1+l*l)),h=I((C*a+(i+n)*r)/(C*a+(i-n)*r));return[Kt*(u*(h-1/h)-2*c(h)),Kt*(u*l*(h+1/h)-2*o(l))]}function te(){return(0,i.c)(Qt).scale(62.5271)}Qt.invert=function(t,e){if(!(n=q.invert(t/1.2,1.065*e)))return null;var n,i=n[0],a=n[1],l=20;t/=Kt,e/=Kt;do{var u=i/2,f=a/2,_=m(u),p=s(u),v=m(f),y=s(f),b=s(a),E=I(b),T=v/(y+C*p*E),A=T*T,S=I(2/(1+A)),z=(C*y+(p+_)*E)/(C*y+(p-_)*E),k=I(z),N=k-1/k,O=k+1/k,L=S*N-2*c(k)-t,M=S*T*O-2*o(T)-e,$=v&&x*E*_*A/v,R=(C*p*y+E)/(2*(y+C*p*E)*(y+C*p*E)*E),P=-.5*T*S*S*S,U=P*$,j=P*R,D=(D=2*y+C*E*(p-_))*D*k,B=(C*p*y*E+b)/D,F=-C*_*v/(E*D),W=N*U-2*B/k+S*(B+B/z),G=N*j-2*F/k+S*(F+F/z),H=T*O*U-2*$/(1+A)+S*O*$+S*T*(B-B/z),V=T*O*j-2*R/(1+A)+S*O*R+S*T*(F-F/z),X=G*H-V*W;if(!X)break;var J=(M*G-L*V)/X,Z=(L*H-M*W)/X;i-=J,a=h(-w,d(w,a-Z))}while((r(J)>g||r(Z)>g)&&--l>0);return r(r(a)-w)i){var d=I(h),f=a(c,u),p=n*_(f/n),v=f-p,y=t*s(v),E=(t*m(v)-v*m(y))/(w-y),x=_e(v,E),C=(b-t)/pe(x,y,b);u=d;var T,A=50;do{u-=T=(t+pe(x,y,u)*C-d)/(x(u)*C)}while(r(T)>g&&--A>0);c=v*m(u),ui){var u=I(l),c=a(o,e),h=n*_(c/n),d=c-h;e=u*s(d),o=u*m(d);for(var f=e-w,p=m(e),v=o/p,g=eg||r(f)>g)&&--v>0);return[_,p]},c}var ge=ve(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function ye(){return(0,i.c)(ge).scale(149.995)}var be=ve(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function we(){return(0,i.c)(be).scale(153.93)}var Ee=ve(5/6*b,-.62636,-.0344,0,1.3493,-.05524,0,.045);function xe(){return(0,i.c)(Ee).scale(130.945)}function Ce(t,e){var n=t*t,i=e*e;return[t*(1-.162388*i)*(.87-952426e-9*n*n),e*(1+i/12)]}function Te(){return(0,i.c)(Ce).scale(131.747)}Ce.invert=function(t,e){var n,i=t,o=e,a=50;do{var s=o*o;o-=n=(o*(1+s/12)-e)/(1+s/4)}while(r(n)>g&&--a>0);a=50,t/=1-.162388*s;do{var l=(l=i*i)*l;i-=n=(i*(.87-952426e-9*l)-t)/(.87-.00476213*l)}while(r(n)>g&&--a>0);return[i,o]};var Ae=ve(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Se(){return(0,i.c)(Ae).scale(131.087)}function ze(t){var e=t(w,0)[0]-t(-w,0)[0];function n(n,i){var r=n>0?-.5:.5,o=t(n+r*b,i);return o[0]-=r*e,o}return t.invert&&(n.invert=function(n,i){var r=n>0?-.5:.5,o=t.invert(n+r*e,i),a=o[0]-r*b;return a<-b?a+=2*b:a>b&&(a-=2*b),o[0]=a,o}),n}function ke(t,e){var n=p(t),i=p(e),o=s(e),l=s(t)*o,u=m(t)*o,c=m(i*e);t=r(a(u,c)),e=k(l),r(t-w)>g&&(t%=w);var h=function(t,e){if(e===w)return[0,0];var n,i,o=m(e),a=o*o,l=a*a,u=1+l,c=1+3*l,h=1-l,d=k(1/I(u)),f=h+a*u*d,_=(1-o)/f,p=I(_),v=_*u,y=I(v),E=p*h;if(0===t)return[0,-(E+a*y)];var x,C=s(e),T=1/C,A=2*o*C,S=(-f*C-(1-o)*((-3*a+d*c)*A))/(f*f),z=-T*A,N=-T*(a*u*S+_*c*A),O=-2*T*(h*(.5*S/p)-2*a*p*A),L=4*t/b;if(t>.222*b||e.175*b){if(n=(E+a*I(v*(1+l)-E*E))/(1+l),t>b/4)return[n,n];var M=n,$=.5*n;n=.5*($+M),i=50;do{var R=n*(O+z*I(v-n*n))+N*k(n/y)-L;if(!R)break;R<0?$=n:M=n,n=.5*($+M)}while(r(M-$)>g&&--i>0)}else{n=g,i=25;do{var P=n*n,U=I(v-P),j=O+z*U,q=n*j+N*k(n/y)-L;n-=x=U?q/(j+(N-z*P)/U):0}while(r(x)>g&&--i>0)}return[n,-E-a*I(v-n*n)]}(t>b/4?w-t:t,e);return t>b/4&&(c=h[0],h[0]=-h[1],h[1]=-c),h[0]*=n,h[1]*=-i,h}function Ne(){return(0,i.c)(ze(ke)).scale(239.75)}function Ie(t,e){var n,i,a,u,c,h;if(e=1-g)return n=(1-e)/4,a=1/(i=L(t)),[(u=((h=l(2*(h=t)))-1)/(h+1))+n*((c=i*O(t))-t)/(i*i),a-n*u*a*(c-t),a+n*u*a*(c+t),2*o(l(t))-w+n*(c-t)/i];var d=[1,0,0,0,0,0,0,0,0],f=[I(e),0,0,0,0,0,0,0,0],_=0;for(i=I(1-e),c=1;r(f[_]/d[_])>g&&_<8;)n=d[_++],f[_]=(n-i)/2,d[_]=(n+i)/2,i=I(n*i),c*=2;a=c*d[_]*t;do{a=(k(u=f[_]*m(i=a)/d[_])+a)/2}while(--_);return[m(a),u=s(a),u/s(a-i),a]}function Oe(t,e){if(!e)return t;if(1===e)return c(v(t/2+E));for(var n=1,i=I(1-e),a=I(e),s=0;r(a)>g;s++){if(t%b){var l=o(i*v(t)/n);l<0&&(l+=b),t+=l+~~(t/b)*b}else t+=t;a=(n+i)/2,i=I(n*i),a=((n=a)-i)/2}return t/(f(2,s)*n)}function Le(t,e){var n=(C-1)/(C+1),i=I(1-n*n),u=Oe(w,i*i),h=c(v(b/4+r(e)/2)),d=l(-1*h)/I(n),f=function(t,e){var n=t*t,i=e+1,r=1-n-e*e;return[.5*((t>=0?w:-w)-a(r,2*t)),-.25*c(r*r+4*n)+.5*c(i*i+n)]}(d*s(-1*t),d*m(-1*t)),_=function(t,e,n){var i=r(t),a=O(r(e));if(i){var s=1/m(i),l=1/(v(i)*v(i)),u=-(l+n*(a*a*s*s)-1+n),c=(-u+I(u*u-(n-1)*l*4))/2;return[Oe(o(1/I(c)),n)*p(t),Oe(o(I((c/l-1)/n)),1-n)*p(e)]}return[0,Oe(o(a),1-n)*p(e)]}(f[0],f[1],i*i);return[-_[1],(e>=0?1:-1)*(.5*u-_[0])]}function Me(){return(0,i.c)(ze(Le)).scale(151.496)}ke.invert=function(t,e){r(t)>1&&(t=2*p(t)-t),r(e)>1&&(e=2*p(e)-e);var n=p(t),i=p(e),o=-n*t,l=-i*e,u=l/o<1,c=function(t,e){for(var n=0,i=1,o=.5,a=50;;){var l=o*o,u=I(o),c=k(1/I(1+l)),h=1-l+o*(1+l)*c,d=(1-u)/h,f=I(d),_=d*(1+l),p=f*(1-l),m=I(_-t*t),v=e+p+o*m;if(r(i-n)0?n=o:i=o,o=.5*(n+i)}if(!a)return null;var g=k(u),w=s(g),E=1/w,x=2*u*w,C=(-h*w-(-3*o+c*(1+3*l))*x*(1-u))/(h*h);return[b/4*(t*(-2*E*((1-l)*(.5*C/f)-2*o*f*x)+-E*x*m)+-E*(o*(1+l)*C+d*(1+3*l)*x)*k(t/I(_))),g]}(u?l:o,u?o:l),h=c[0],d=c[1],f=s(d);return u&&(h=-w-h),[n*(a(m(h)*f,-m(d))+b),i*k(s(h)*f)]},Le.invert=function(t,e){var n,i,r,s,u,h,d=(C-1)/(C+1),f=I(1-d*d),_=(i=-t,r=f*f,(n=.5*Oe(w,f*f)-e)?(s=Ie(n,r),i?(h=(u=Ie(i,1-r))[1]*u[1]+r*s[0]*s[0]*u[0]*u[0],[[s[0]*u[2]/h,s[1]*s[2]*u[0]*u[1]/h],[s[1]*u[1]/h,-s[0]*s[2]*u[0]*u[2]/h],[s[2]*u[1]*u[2]/h,-r*s[0]*s[1]*u[0]/h]]):[[s[0],0],[s[1],0],[s[2],0]]):[[0,(u=Ie(i,1-r))[0]/u[1]],[1/u[1],0],[u[2]/u[1],0]]),p=function(t,e){var n=e[0]*e[0]+e[1]*e[1];return[(t[0]*e[0]+t[1]*e[1])/n,(t[1]*e[0]-t[0]*e[1])/n]}(_[0],_[1]);return[a(p[1],p[0])/-1,2*o(l(-.5*c(d*p[0]*p[0]+d*p[1]*p[1])))-w]};var $e=n(61780);function Re(t){var e=m(t),n=s(t),i=Pe(t);function o(t,o){var a=i(t,o);t=a[0],o=a[1];var l=m(o),u=s(o),c=s(t),h=N(e*l+n*u*c),d=m(h),f=r(d)>g?h/d:1;return[f*n*m(t),(r(t)>w?f:-f)*(e*u-n*l*c)]}return i.invert=Pe(-t),o.invert=function(t,n){var r=I(t*t+n*n),o=-m(r),l=s(r),u=r*l,c=-n*o,h=r*e,d=I(u*u+c*c-h*h),f=a(u*h+c*d,c*h-u*d),_=(r>w?-1:1)*a(t*o,r*s(f)*l+n*m(f)*o);return i.invert(_,f)},o}function Pe(t){var e=m(t),n=s(t);return function(t,i){var r=s(i),o=s(t)*r,l=m(t)*r,u=m(i);return[a(l,o*n-u*e),k(u*n+o*e)]}}function Ue(){var t=0,e=(0,i.U)(Re),n=e(t),r=n.rotate,o=n.stream,a=(0,$e.c)();return n.parallel=function(i){if(!arguments.length)return t*S;var r=n.rotate();return e(t=i*z).rotate(r)},n.rotate=function(e){return arguments.length?(r.call(n,[e[0],e[1]-t*S]),a.center([-e[0],-e[1]]),n):((e=r.call(n))[1]+=t*S,e)},n.stream=function(t){return(t=o(t)).sphere=function(){t.polygonStart();var e,n=a.radius(89.99)().coordinates[0],i=n.length-1,r=-1;for(t.lineStart();++r=0;)t.point((e=n[r])[0],e[1]);t.lineEnd(),t.polygonEnd()},t},n.scale(79.4187).parallel(45).clipAngle(179.999)}var je=n(84706),qe=n(16016),De=k(1-1/3)*S,Be=Rt(0);function Fe(t){var e=De*z,n=kt(b,e)[0]-kt(-b,e)[0],i=Be(0,e)[1],o=kt(0,e)[1],a=T-o,s=A/t,l=4/A,c=i+a*a*4/A;function f(f,_){var p,m=r(_);if(m>e){var v=d(t-1,h(0,u((f+b)/s)));(p=kt(f+=b*(t-1)/t-v*s,m))[0]=p[0]*A/n-A*(t-1)/(2*t)+v*A/t,p[1]=i+4*(p[1]-o)*a/A,_<0&&(p[1]=-p[1])}else p=Be(f,_);return p[0]*=l,p[1]/=c,p}return f.invert=function(e,f){e/=l;var _=r(f*=c);if(_>i){var p=d(t-1,h(0,u((e+b)/s)));e=(e+b*(t-1)/t-p*s)*n/A;var m=kt.invert(e,.25*(_-i)*A/a+o);return m[0]-=b*(t-1)/t-p*s,f<0&&(m[1]=-m[1]),m}return Be.invert(e,f)},f}function We(t,e){return[t,1&e?90-g:De]}function Ge(t,e){return[t,1&e?-90+g:-De]}function He(t){return[t[0]*(1-g),t[1]]}function Ve(){var t=4,e=(0,i.U)(Fe),n=e(t),r=n.stream;return n.lobes=function(n){return arguments.length?e(t=+n):t},n.stream=function(e){var i=n.rotate(),o=r(e),a=(n.rotate([0,0]),r(e));return n.rotate(i),o.sphere=function(){var e,n;(0,qe.c)((e=180/t,n=[].concat((0,je.ik)(-180,180+e/2,e).map(We),(0,je.ik)(180,-180-e/2,-e).map(Ge)),{type:"Polygon",coordinates:[180===e?n.map(He):n]}),a)},o},n.scale(239.75)}function Xe(t){var e,n=1+t,i=k(m(1/n)),o=2*I(b/(e=b+4*i*n)),l=.5*o*(n+I(t*(2+t))),u=t*t,c=n*n;function h(h,d){var f,_,p=1-m(d);if(p&&p<2){var v,g=w-d,E=25;do{var x=m(g),C=s(g),T=i+a(x,n-C),A=1+c-2*n*C;g-=v=(g-u*i-n*x+A*T-.5*p*e)/(2*n*x*T)}while(r(v)>y&&--E>0);f=o*I(A),_=h*T/b}else f=o*(t+p),_=h*i/b;return[f*m(_),l-f*s(_)]}return h.invert=function(t,r){var s=t*t+(r-=l)*r,h=(1+c-s/(o*o))/(2*n),d=N(h),f=m(d),_=i+a(f,n-h);return[k(t/I(s))*b/_,k(1-2*(d-u*i-n*f+(1+c-2*n*h)*_)/e)]},h}function Je(){var t=1,e=(0,i.U)(Xe),n=e(t);return n.ratio=function(n){return arguments.length?e(t=+n):t},n.scale(167.774).center([0,18.67])}var Ze=.7109889596207567,Ye=.0528035274542;function Ke(t,e){return e>-Ze?((t=ot(t,e))[1]+=Ye,t):dt(t,e)}function Qe(){return(0,i.c)(Ke).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function tn(t,e){return r(e)>Ze?((t=ot(t,e))[1]-=e>0?Ye:-Ye,t):dt(t,e)}function en(){return(0,i.c)(tn).scale(152.63)}function nn(t,e,n,i){var r=I(4*b/(2*n+(1+t-e/2)*m(2*n)+(t+e)/2*m(4*n)+e/2*m(6*n))),o=I(i*m(n)*I((1+t*s(2*n)+e*s(4*n))/(1+t+e))),a=n*u(1);function l(n){return I(1+t*s(2*n)+e*s(4*n))}function u(i){var r=i*n;return(2*r+(1+t-e/2)*m(2*r)+(t+e)/2*m(4*r)+e/2*m(6*r))/n}function c(t){return l(t)*m(t)}var h=function(t,e){var i=n*Q(u,a*m(e)/n,e/b);isNaN(i)&&(i=n*p(e));var c=r*l(i);return[c*o*t/b*s(i),c/o*m(i)]};return h.invert=function(t,e){var i=Q(c,e*o/r);return[t*b/(s(i)*r*o*l(i)),k(n*u(i/n)/a)]},0===n&&(r=I(i/b),(h=function(t,e){return[t*r,m(e)/r]}).invert=function(t,e){return[t/r,k(e*r)]}),h}function rn(){var t=1,e=0,n=45*z,r=2,o=(0,i.U)(nn),a=o(t,e,n,r);return a.a=function(i){return arguments.length?o(t=+i,e,n,r):t},a.b=function(i){return arguments.length?o(t,e=+i,n,r):e},a.psiMax=function(i){return arguments.length?o(t,e,n=+i*z,r):n*S},a.ratio=function(i){return arguments.length?o(t,e,n,r=+i):r},a.scale(180.739)}function on(t,e,n,i,r,o,a,s,l,u,c){if(c.nanEncountered)return NaN;var h,d,f,_,p,m,v,g,y,b;if(d=t(e+.25*(h=n-e)),f=t(n-.25*h),isNaN(d))c.nanEncountered=!0;else{if(!isNaN(f))return b=((m=(_=h*(i+4*d+r)/12)+(p=h*(r+4*f+o)/12))-a)/15,u>l?(c.maxDepthCount++,m+b):Math.abs(b)t?n=i:e=i,i=e+n>>1}while(i>e);var r=u[i+1]-u[i];return r&&(r=(t-u[i+1])/r),(i+1+r)/s}var d=2*h(1)/b*a/n,_=function(t,e){var n=h(r(m(e))),o=i(n)*t;return n/=d,[o,e>=0?n:-n]};return _.invert=function(t,e){var n;return r(e*=d)<1&&(n=p(e)*k(o(r(e))*a)),[t/i(r(e)),n]},_}function ln(){var t=0,e=2.5,n=1.183136,r=(0,i.U)(sn),o=r(t,e,n);return o.alpha=function(i){return arguments.length?r(t=+i,e,n):t},o.k=function(i){return arguments.length?r(t,e=+i,n):e},o.gamma=function(i){return arguments.length?r(t,e,n=+i):n},o.scale(152.63)}function un(t,e){return r(t[0]-e[0])o[a][2][0];++a);var l=t(n-o[a][1][0],i);return l[0]+=t(o[a][1][0],r*i>r*o[a][0][1]?o[a][0][1]:i)[0],l}n?a.invert=n(a):t.invert&&(a.invert=function(n,i){for(var r=o[+(i<0)],s=e[+(i<0)],l=0,u=r.length;l=0;--s)n=(e=t[1][s])[0][0],i=e[0][1],r=e[1][1],o=e[2][0],a=e[2][1],l.push(cn([[o-g,a-g],[o-g,r+g],[n+g,r+g],[n+g,i-g]],30));return{type:"Polygon",coordinates:[(0,je.Uf)(l)]}}(n),e=n.map((function(t){return t.map((function(t){return[[t[0][0]*z,t[0][1]*z],[t[1][0]*z,t[1][1]*z],[t[2][0]*z,t[2][1]*z]]}))})),o=e.map((function(e){return e.map((function(e){var n,i=t(e[0][0],e[0][1])[0],r=t(e[2][0],e[2][1])[0],o=t(e[1][0],e[0][1])[1],a=t(e[1][0],e[1][1])[1];return o>a&&(n=o,o=a,a=n),[[i,o],[r,a]]}))})),s):e.map((function(t){return t.map((function(t){return[[t[0][0]*S,t[0][1]*S],[t[1][0]*S,t[1][1]*S],[t[2][0]*S,t[2][1]*S]]}))}))},null!=e&&s.lobes(e),s}Ke.invert=function(t,e){return e>-Ze?ot.invert(t,e-Ye):dt.invert(t,e)},tn.invert=function(t,e){return r(e)>Ze?ot.invert(t,e+(e>0?Ye:-Ye)):dt.invert(t,e)};var dn=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function fn(){return hn(ut,dn).scale(160.857)}var _n=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function pn(){return hn(tn,_n).scale(152.63)}var mn=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function vn(){return hn(ot,mn).scale(169.529)}var gn=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function yn(){return hn(ot,gn).scale(169.529).rotate([20,0])}var bn=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function wn(){return hn(Ke,bn,tt).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var En=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function xn(){return hn(dt,En).scale(152.63).rotate([-20,0])}function Cn(t,e){return[3/A*t*I(b*b/3-e*e),e]}function Tn(){return(0,i.c)(Cn).scale(158.837)}function An(t){function e(e,n){if(r(r(n)-w)2)return null;var o=(e/=2)*e,s=(n/=2)*n,l=2*n/(1+o+s);return l=f((1+l)/(1-l),1/t),[a(2*e,1-o-s)/t,k((l-1)/(l+1))]},e}function Sn(){var t=.5,e=(0,i.U)(An),n=e(t);return n.spacing=function(n){return arguments.length?e(t=+n):t},n.scale(124.75)}Cn.invert=function(t,e){return[A/3*t/I(b*b/3-e*e),e]};var zn=b/C;function kn(t,e){return[t*(1+I(s(e)))/2,e/(s(e/2)*s(t/6))]}function Nn(){return(0,i.c)(kn).scale(97.2672)}function In(t,e){var n=t*t,i=e*e;return[t*(.975534+i*(-.0143059*n-.119161+-.0547009*i)),e*(1.00384+n*(.0802894+-.02855*i+199025e-9*n)+i*(.0998909+-.0491032*i))]}function On(){return(0,i.c)(In).scale(139.98)}function Ln(t,e){return[m(t)/s(e),v(e)*s(t)]}function Mn(){return(0,i.c)(Ln).scale(144.049).clipAngle(89.999)}function $n(t){var e=s(t),n=v(E+t/2);function i(i,o){var a=o-t,s=r(a)=0;)d=(h=t[c])[0]+l*(r=d)-u*f,f=h[1]+l*f+u*r;return[d=l*(r=d)-u*f,f=l*f+u*r]}return n.invert=function(n,i){var l=20,u=n,c=i;do{for(var h,d=e,f=t[d],_=f[0],p=f[1],v=0,y=0;--d>=0;)v=_+u*(h=v)-c*y,y=p+u*y+c*h,_=(f=t[d])[0]+u*(h=_)-c*p,p=f[1]+u*p+c*h;var b,w,E=(v=_+u*(h=v)-c*y)*v+(y=p+u*y+c*h)*y;u-=b=((_=u*(h=_)-c*p-n)*v+(p=u*p+c*h-i)*y)/E,c-=w=(p*v-_*y)/E}while(r(b)+r(w)>g*g&&--l>0);if(l){var x=I(u*u+c*c),C=2*o(.5*x),T=m(C);return[a(u*T,x*s(C)),x?k(c*T/x):0]}},n}kn.invert=function(t,e){var n=r(t),i=r(e),o=g,a=w;ig||r(y)>g)&&--o>0);return o&&[n,i]},Ln.invert=function(t,e){var n=t*t,i=e*e+1,r=n+i,o=t?x*I((r-I(r*r-4*n))/n):1/I(i);return[k(t*o),p(e)*N(o)]},Pn.invert=function(t,e){return[t,2.5*o(l(.8*e))-.625*b]};var qn=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],Dn=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Bn=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],Fn=[[.9245,0],[0,0],[.01943,0]],Wn=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Gn(){return Zn(qn,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function Hn(){return Zn(Dn,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function Vn(){return Zn(Bn,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Xn(){return Zn(Fn,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Jn(){return Zn(Wn,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Zn(t,e){var n=(0,i.c)(jn(t)).rotate(e).clipAngle(90),r=(0,wt.c)(e),o=n.center;return delete n.rotate,n.center=function(t){return arguments.length?o(r(t)):r.invert(o())},n}var Yn=I(6),Kn=I(7);function Qn(t,e){var n=k(7*m(e)/(3*Yn));return[Yn*t*(2*s(2*n/3)-1)/Kn,9*m(n/3)/Kn]}function ti(){return(0,i.c)(Qn).scale(164.859)}function ei(t,e){for(var n,i=(1+x)*m(e),o=e,a=0;a<25&&(o-=n=(m(o/2)+m(o)-i)/(.5*s(o/2)+s(o)),!(r(n)y&&--l>0);return[t/(.84719-.13063*(i=s*s)+(a=i*(o=i*i))*a*(.05494*i-.04515-.02326*o+.00331*a)),s]},li.invert=function(t,e){for(var n=e/2,i=0,o=1/0;i<10&&r(o)>g;++i){var a=s(e/2);e-=o=(e-v(e/2)-n)/(1-.5/(a*a))}return[2*t/(1+s(e)),e]};var ci=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function hi(){return hn(Z(1/0),ci).rotate([20,0]).scale(152.63)}function di(t,e){var n=m(e),i=s(e),o=p(t);if(0===t||r(e)===w)return[0,e];if(0===e)return[t,0];if(r(t)===w)return[t*i,w*n];var a=b/(2*t)-2*t/b,l=2*e/b,u=(1-l*l)/(n-l),c=a*a,h=u*u,d=1+c/h,f=1+h/c,_=(a*n/u-a/2)/d,v=(h*n/c+u/2)/f,g=v*v-(h*n*n/c+u*n-1)/f;return[w*(_+I(_*_+i*i/d)*o),w*(v+I(g<0?0:g)*p(-e*a)*o)]}function fi(){return(0,i.c)(di).scale(127.267)}di.invert=function(t,e){var n=(t/=w)*t,i=n+(e/=w)*e,r=b*b;return[t?(i-1+I((1-i)*(1-i)+4*n))/(2*t)*w:0,Q((function(t){return i*(b*m(t)-2*t)*b+4*t*t*(e-m(t))+2*b*t-r*e}),0)]};var _i=1.0148,pi=.23185,mi=-.14499,vi=.02406,gi=_i,yi=5*pi,bi=7*mi,wi=9*vi,Ei=1.790857183;function xi(t,e){var n=e*e;return[t,e*(_i+n*n*(pi+n*(mi+vi*n)))]}function Ci(){return(0,i.c)(xi).scale(139.319)}function Ti(t,e){if(r(e)Ei?e=Ei:e<-1.790857183&&(e=-1.790857183);var n,i=e;do{var o=i*i;i-=n=(i*(_i+o*o*(pi+o*(mi+vi*o)))-e)/(gi+o*o*(yi+o*(bi+wi*o)))}while(r(n)>g);return[t,i]},Ti.invert=function(t,e){if(r(e)g&&--a>0);return l=v(o),[(r(e)=0;)if(i=e[s],n[0]===i[0]&&n[1]===i[1]){if(o)return[o,n];o=n}}}(e.face,n.face),r=(c=i.map(n.project),h=i.map(e.project),d=Ni(c[1],c[0]),f=Ni(h[1],h[0]),_=function(t,e){return a(t[0]*e[1]-t[1]*e[0],t[0]*e[0]+t[1]*e[1])}(d,f),p=Ii(d)/Ii(f),ki([1,0,c[0][0],0,1,c[0][1]],ki([p,0,0,0,p,0],ki([s(_),m(_),0,-m(_),s(_),0],[1,0,-h[0][0],0,1,-h[0][1]]))));e.transform=n.transform?ki(n.transform,r):r;for(var o=n.edges,l=0,u=o.length;l0?[-e[0],0]:[180-e[0],180])};var e=Ui.map((function(e){return{face:e,project:t(e)}}));return[-1,0,0,1,0,1,4,5].forEach((function(t,n){var i=e[t];i&&(i.children||(i.children=[])).push(e[n])})),Oi(e[0],(function(t,n){return e[t<-b/2?n<0?6:4:t<0?n<0?2:0:ti^f>i&&n<(d-u)*(i-c)/(f-c)+u&&(r=!r)}return r}(t[0],n))return t.push(e),!0}))||t.push([e])})),Qi=[],t.length?t.length>1?{type:"MultiPolygon",coordinates:t}:{type:"Polygon",coordinates:t[0]}:null}};function ir(t){var e=t(w,0)[0]-t(-w,0)[0];function n(n,i){var o=r(n)0?n-b:n+b,i),s=(a[0]-a[1])*x,l=(a[0]+a[1])*x;if(o)return[s,l];var u=e*x,c=s>0^l>0?-1:1;return[c*s-p(l)*u,c*l-p(s)*u]}return t.invert&&(n.invert=function(n,i){var o=(n+i)*x,a=(i-n)*x,s=r(o)<.5*e&&r(a)<.5*e;if(!s){var l=e*x,u=o>0^a>0?-1:1,c=-u*n+(a>0?1:-1)*l,h=-u*i+(o>0?1:-1)*l;o=(-c-h)*x,a=(c-h)*x}var d=t.invert(o,a);return s||(d[0]+=o>0?b:-b),d}),(0,i.c)(n).rotate([-90,-90,45]).clipAngle(179.999)}function rr(){return ir(ke).scale(176.423)}function or(){return ir(Le).scale(111.48)}function ar(t,e){if(!(0<=(e=+e)&&e<=20))throw new Error("invalid digits");function n(t){var n=t.length,i=2,r=new Array(n);for(r[0]=+t[0].toFixed(e),r[1]=+t[1].toFixed(e);i2||o[0]!=e[0]||o[1]!=e[1])&&(i.push(o),e=o)}return 1===i.length&&t.length>1&&i.push(n(t[t.length-1])),i}function o(t){return t.map(r)}function a(t){if(null==t)return t;var e;switch(t.type){case"GeometryCollection":e={type:"GeometryCollection",geometries:t.geometries.map(a)};break;case"Point":e={type:"Point",coordinates:n(t.coordinates)};break;case"MultiPoint":e={type:t.type,coordinates:i(t.coordinates)};break;case"LineString":e={type:t.type,coordinates:r(t.coordinates)};break;case"MultiLineString":case"Polygon":e={type:t.type,coordinates:o(t.coordinates)};break;case"MultiPolygon":e={type:"MultiPolygon",coordinates:t.coordinates.map(o)};break;default:return t}return null!=t.bbox&&(e.bbox=t.bbox),e}function s(t){var e={type:"Feature",properties:t.properties,geometry:a(t.geometry)};return null!=t.id&&(e.id=t.id),null!=t.bbox&&(e.bbox=t.bbox),e}if(null!=t)switch(t.type){case"Feature":return s(t);case"FeatureCollection":var l={type:"FeatureCollection",features:t.features.map(s)};return null!=t.bbox&&(l.bbox=t.bbox),l;default:return a(t)}return t}function sr(t){var e=m(t);function n(n,i){var r=e?v(n*e/2)/e:n/2;if(!i)return[2*r,-t];var a=2*o(r*m(i)),l=1/v(i);return[m(a)*l,i+(1-s(a))*l-t]}return n.invert=function(n,i){if(r(i+=t)g&&--c>0);var _=n*(h=v(u)),p=v(r(i)0?w:-w)*(h+a*(_-l)/2+a*a*(_-2*h+l)/2)]}function hr(){return(0,i.c)(cr).scale(152.63)}function dr(t,e){var n=function(t){function e(e,n){var i=s(n),r=(t-1)/(t-i*s(e));return[r*i*m(e),r*m(n)]}return e.invert=function(e,n){var i=e*e+n*n,r=I(i),o=(t-I(1-i*(t+1)/(t-1)))/((t-1)/r+r/(t-1));return[a(e*o,r*I(1-o*o)),r?k(n*o/r):0]},e}(t);if(!e)return n;var i=s(e),r=m(e);function o(e,o){var a=n(e,o),s=a[1],l=s*r/(t-1)+i;return[a[0]*i/l,s/l]}return o.invert=function(e,o){var a=(t-1)/(t-1-o*r);return n.invert(a*e,a*o*i)},o}function fr(){var t=2,e=0,n=(0,i.U)(dr),r=n(t,e);return r.distance=function(i){return arguments.length?n(t=+i,e):t},r.tilt=function(i){return arguments.length?n(t,e=i*z):e*S},r.scale(432.147).clipAngle(N(1/t)*S-1e-6)}ur.forEach((function(t){t[1]*=1.0144})),cr.invert=function(t,e){var n=e/w,i=90*n,o=d(18,r(i/5)),a=h(0,u(o));do{var s=ur[a][1],l=ur[a+1][1],c=ur[d(19,a+2)][1],f=c-s,_=c-2*l+s,p=2*(r(n)-l)/f,m=_/f,v=p*(1-m*p*(1-2*m*p));if(v>=0||1===a){i=(e>=0?5:-5)*(v+o);var g,b=50;do{v=(o=d(18,r(i)/5))-(a=u(o)),s=ur[a][1],l=ur[a+1][1],c=ur[d(19,a+2)][1],i-=(g=(e>=0?w:-w)*(l+v*(c-s)/2+v*v*(c-2*l+s)/2)-e)*S}while(r(g)>y&&--b>0);break}}while(--a>=0);var E=ur[a][0],x=ur[a+1][0],C=ur[d(19,a+2)][0];return[t/(x+v*(C-E)/2+v*v*(C-2*x+E)/2),i*z]};var _r=1e-4,pr=1e4,mr=-180,vr=mr+_r,gr=180,yr=gr-_r,br=-90,wr=br+_r,Er=90,xr=Er-_r;function Cr(t){return t.length>0}function Tr(t){return t===br||t===Er?[0,t]:[mr,(e=t,Math.floor(e*pr)/pr)];var e}function Ar(t){var e=t[0],n=t[1],i=!1;return e<=vr?(e=mr,i=!0):e>=yr&&(e=gr,i=!0),n<=wr?(n=br,i=!0):n>=xr&&(n=Er,i=!0),i?[e,n]:t}function Sr(t){return t.map(Ar)}function zr(t,e,n){for(var i=0,r=t.length;i=yr||c<=wr||c>=xr){o[a]=Ar(l);for(var h=a+1;hvr&&fwr&&_=s)break;n.push({index:-1,polygon:e,ring:o=o.slice(h-1)}),o[0]=Tr(o[0][1]),a=-1,s=o.length}}}}function kr(t){var e,n,i,r,o,a,s=t.length,l={},u={};for(e=0;e0?b-l:l)*S],c=(0,i.c)(t(s)).rotate(u),h=(0,wt.c)(u),d=c.center;return delete c.rotate,c.center=function(t){return arguments.length?d(h(t)):h.invert(d())},c.clipAngle(90)}function Rr(t){var e=s(t);function n(t,n){var i=(0,Ri.Y)(t,n);return i[0]*=e,i}return n.invert=function(t,n){return Ri.Y.invert(t/e,n)},n}function Pr(){return Ur([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function Ur(t,e){return $r(Rr,t,e)}function jr(t){if(!(t*=2))return H.O;var e=-t/2,n=-e,i=t*t,r=v(n),o=.5/m(n);function l(r,o){var a=N(s(o)*s(r-e)),l=N(s(o)*s(r-n));return[((a*=a)-(l*=l))/(2*t),(o<0?-1:1)*I(4*i*l-(i-a+l)*(i-a+l))/(2*t)]}return l.invert=function(t,i){var l,u,c=i*i,h=s(I(c+(l=t+e)*l)),d=s(I(c+(l=t+n)*l));return[a(u=h-d,l=(h+d)*r),(i<0?-1:1)*N(I(l*l+u*u)*o)]},l}function qr(){return Dr([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Dr(t,e){return $r(jr,t,e)}function Br(t,e){if(r(e)g&&--l>0);return[p(t)*(I(o*o+4)+o)*b/4,w*s]};var Qr=4*b+3*I(3),to=2*I(2*b*I(3)/Qr),eo=rt(to*I(3)/b,to,Qr/6);function no(){return(0,i.c)(eo).scale(176.84)}function io(t,e){return[t*I(1-3*e*e/(b*b)),e]}function ro(){return(0,i.c)(io).scale(152.63)}function oo(t,e){var n=s(e),i=s(t)*n,r=1-i,o=s(t=a(m(t)*n,-m(e))),l=m(t);return[l*(n=I(1-i*i))-o*r,-o*n-l*r]}function ao(){return(0,i.c)(oo).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}function so(t,e){var n=R(t,e);return[(n[0]+t/w)/2,(n[1]+e)/2]}function lo(){return(0,i.c)(so).scale(158.837)}io.invert=function(t,e){return[t/I(1-3*e*e/(b*b)),e]},oo.invert=function(t,e){var n=(t*t+e*e)/-2,i=I(-n*(2+n)),r=e*n+t*i,o=t*n-e*i,s=I(o*o+r*r);return[a(i*r,s*(1+n)),s?-k(i*o/s):0]},so.invert=function(t,e){var n=t,i=e,o=25;do{var a,l=s(i),u=m(i),c=m(2*i),h=u*u,d=l*l,f=m(n),_=s(n/2),p=m(n/2),v=p*p,y=1-d*_*_,b=y?N(l*_)*I(a=1/y):a=0,E=.5*(2*b*l*p+n/w)-t,x=.5*(b*u+i)-e,C=.5*a*(d*v+b*l*_*h)+.5/w,T=a*(f*c/4-b*u*p),A=.125*a*(c*p-b*u*d*f),S=.5*a*(h*_+b*v*l)+.5,z=T*A-S*C,k=(x*T-E*S)/z,O=(E*A-x*C)/z;n-=k,i-=O}while((r(k)>g||r(O)>g)&&--o>0);return[n,i]}},88728:function(t,e,n){"use strict";function i(){return new r}function r(){this.reset()}n.d(e,{c:function(){return i}}),r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){a(o,t,this.t),a(this,o.s,this.s),this.s?this.t+=o.t:this.s=o.t},valueOf:function(){return this.s}};var o=new r;function a(t,e,n){var i=t.s=e+n,r=i-e,o=i-r;t.t=e-o+(n-r)}},95384:function(t,e,n){"use strict";n.d(e,{cp:function(){return y},mQ:function(){return d},oB:function(){return _}});var i,r,o,a,s,l=n(88728),u=n(64528),c=n(70932),h=n(16016),d=(0,l.c)(),f=(0,l.c)(),_={point:c.c,lineStart:c.c,lineEnd:c.c,polygonStart:function(){d.reset(),_.lineStart=p,_.lineEnd=m},polygonEnd:function(){var t=+d;f.add(t<0?u.kD+t:t),this.lineStart=this.lineEnd=this.point=c.c},sphere:function(){f.add(u.kD)}};function p(){_.point=v}function m(){g(i,r)}function v(t,e){_.point=g,i=t,r=e,t*=u.qw,e*=u.qw,o=t,a=(0,u.W8)(e=e/2+u.wL),s=(0,u.g$)(e)}function g(t,e){t*=u.qw,e=(e*=u.qw)/2+u.wL;var n=t-o,i=n>=0?1:-1,r=i*n,l=(0,u.W8)(e),c=(0,u.g$)(e),h=s*c,f=a*l+h*(0,u.W8)(r),_=h*i*(0,u.g$)(r);d.add((0,u.WE)(_,f)),o=t,a=l,s=c}function y(t){return f.reset(),(0,h.c)(t,_),2*f}},13696:function(t,e,n){"use strict";n.d(e,{c:function(){return N}});var i,r,o,a,s,l,u,c,h,d,f=n(88728),_=n(95384),p=n(84220),m=n(64528),v=n(16016),g=(0,f.c)(),y={point:b,lineStart:E,lineEnd:x,polygonStart:function(){y.point=C,y.lineStart=T,y.lineEnd=A,g.reset(),_.oB.polygonStart()},polygonEnd:function(){_.oB.polygonEnd(),y.point=b,y.lineStart=E,y.lineEnd=x,_.mQ<0?(i=-(o=180),r=-(a=90)):g>m.Gg?a=90:g<-m.Gg&&(r=-90),d[0]=i,d[1]=o},sphere:function(){i=-(o=180),r=-(a=90)}};function b(t,e){h.push(d=[i=t,o=t]),ea&&(a=e)}function w(t,e){var n=(0,p.ux)([t*m.qw,e*m.qw]);if(c){var l=(0,p.CW)(c,n),u=[l[1],-l[0],0],f=(0,p.CW)(u,l);(0,p.cJ)(f),f=(0,p.G)(f);var _,v=t-s,g=v>0?1:-1,y=f[0]*m.oh*g,b=(0,m.a2)(v)>180;b^(g*sa&&(a=_):b^(g*s<(y=(y+360)%360-180)&&ya&&(a=e)),b?tS(i,o)&&(o=t):S(t,o)>S(i,o)&&(i=t):o>=i?(to&&(o=t)):t>s?S(i,t)>S(i,o)&&(o=t):S(t,o)>S(i,o)&&(i=t)}else h.push(d=[i=t,o=t]);ea&&(a=e),c=n,s=t}function E(){y.point=w}function x(){d[0]=i,d[1]=o,y.point=b,c=null}function C(t,e){if(c){var n=t-s;g.add((0,m.a2)(n)>180?n+(n>0?360:-360):n)}else l=t,u=e;_.oB.point(t,e),w(t,e)}function T(){_.oB.lineStart()}function A(){C(l,u),_.oB.lineEnd(),(0,m.a2)(g)>m.Gg&&(i=-(o=180)),d[0]=i,d[1]=o,c=null}function S(t,e){return(e-=t)<0?e+360:e}function z(t,e){return t[0]-e[0]}function k(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:eS(s[0],s[1])&&(s[1]=l[1]),S(l[0],s[1])>S(s[0],s[1])&&(s[0]=l[0])):u.push(s=l);for(c=-1/0,e=0,s=u[n=u.length-1];e<=n;s=l,++e)l=u[e],(f=S(s[1],l[0]))>c&&(c=f,i=l[0],o=s[1])}return h=d=null,i===1/0||r===1/0?[[NaN,NaN],[NaN,NaN]]:[[i,r],[o,a]]}},84220:function(t,e,n){"use strict";n.d(e,{CW:function(){return s},Ez:function(){return a},G:function(){return r},cJ:function(){return c},mg:function(){return l},ux:function(){return o},wx:function(){return u}});var i=n(64528);function r(t){return[(0,i.WE)(t[1],t[0]),(0,i.qR)(t[2])]}function o(t){var e=t[0],n=t[1],r=(0,i.W8)(n);return[r*(0,i.W8)(e),r*(0,i.g$)(e),(0,i.g$)(n)]}function a(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function s(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function l(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function u(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function c(t){var e=(0,i._I)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}},24052:function(t,e,n){"use strict";n.d(e,{c:function(){return L}});var i,r,o,a,s,l,u,c,h,d,f,_,p,m,v,g,y=n(64528),b=n(70932),w=n(16016),E={sphere:b.c,point:x,lineStart:T,lineEnd:z,polygonStart:function(){E.lineStart=k,E.lineEnd=N},polygonEnd:function(){E.lineStart=T,E.lineEnd=z}};function x(t,e){t*=y.qw,e*=y.qw;var n=(0,y.W8)(e);C(n*(0,y.W8)(t),n*(0,y.g$)(t),(0,y.g$)(e))}function C(t,e,n){++i,o+=(t-o)/i,a+=(e-a)/i,s+=(n-s)/i}function T(){E.point=A}function A(t,e){t*=y.qw,e*=y.qw;var n=(0,y.W8)(e);m=n*(0,y.W8)(t),v=n*(0,y.g$)(t),g=(0,y.g$)(e),E.point=S,C(m,v,g)}function S(t,e){t*=y.qw,e*=y.qw;var n=(0,y.W8)(e),i=n*(0,y.W8)(t),o=n*(0,y.g$)(t),a=(0,y.g$)(e),s=(0,y.WE)((0,y._I)((s=v*a-g*o)*s+(s=g*i-m*a)*s+(s=m*o-v*i)*s),m*i+v*o+g*a);r+=s,l+=s*(m+(m=i)),u+=s*(v+(v=o)),c+=s*(g+(g=a)),C(m,v,g)}function z(){E.point=x}function k(){E.point=I}function N(){O(_,p),E.point=x}function I(t,e){_=t,p=e,t*=y.qw,e*=y.qw,E.point=O;var n=(0,y.W8)(e);m=n*(0,y.W8)(t),v=n*(0,y.g$)(t),g=(0,y.g$)(e),C(m,v,g)}function O(t,e){t*=y.qw,e*=y.qw;var n=(0,y.W8)(e),i=n*(0,y.W8)(t),o=n*(0,y.g$)(t),a=(0,y.g$)(e),s=v*a-g*o,_=g*i-m*a,p=m*o-v*i,b=(0,y._I)(s*s+_*_+p*p),w=(0,y.qR)(b),E=b&&-w/b;h+=E*s,d+=E*_,f+=E*p,r+=w,l+=w*(m+(m=i)),u+=w*(v+(v=o)),c+=w*(g+(g=a)),C(m,v,g)}function L(t){i=r=o=a=s=l=u=c=h=d=f=0,(0,w.c)(t,E);var e=h,n=d,_=f,p=e*e+n*n+_*_;return p0?as)&&(a+=r*o.kD));for(var d,f=a;r>0?f>s:f0?r.pi:-r.pi,u=(0,r.a2)(a-n);(0,r.a2)(u-r.pi)0?r.or:-r.or),t.point(o,i),t.lineEnd(),t.lineStart(),t.point(l,i),t.point(a,i),e=0):o!==l&&u>=r.pi&&((0,r.a2)(n-o)r.Gg?(0,r.MQ)(((0,r.g$)(e)*(a=(0,r.W8)(i))*(0,r.g$)(n)-(0,r.g$)(i)*(o=(0,r.W8)(e))*(0,r.g$)(t))/(o*a*s)):(e+i)/2}(n,i,a,s),t.point(o,i),t.lineEnd(),t.lineStart(),t.point(l,i),e=0),t.point(n=a,i=s),o=l},lineEnd:function(){t.lineEnd(),n=i=NaN},clean:function(){return 2-e}}}),(function(t,e,n,i){var o;if(null==t)o=n*r.or,i.point(-r.pi,o),i.point(0,o),i.point(r.pi,o),i.point(r.pi,0),i.point(r.pi,-o),i.point(0,-o),i.point(-r.pi,-o),i.point(-r.pi,0),i.point(-r.pi,o);else if((0,r.a2)(t[0]-e[0])>r.Gg){var a=t[0]1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}},2728:function(t,e,n){"use strict";n.d(e,{c:function(){return l}});var i=n(84220),r=n(61780),o=n(64528),a=n(41860),s=n(14229);function l(t){var e=(0,o.W8)(t),n=6*o.qw,l=e>0,u=(0,o.a2)(e)>o.Gg;function c(t,n){return(0,o.W8)(t)*(0,o.W8)(n)>e}function h(t,n,r){var a=(0,i.ux)(t),s=(0,i.ux)(n),l=[1,0,0],u=(0,i.CW)(a,s),c=(0,i.Ez)(u,u),h=u[0],d=c-h*h;if(!d)return!r&&t;var f=e*c/d,_=-e*h/d,p=(0,i.CW)(l,u),m=(0,i.wx)(l,f),v=(0,i.wx)(u,_);(0,i.mg)(m,v);var g=p,y=(0,i.Ez)(m,g),b=(0,i.Ez)(g,g),w=y*y-b*((0,i.Ez)(m,m)-1);if(!(w<0)){var E=(0,o._I)(w),x=(0,i.wx)(g,(-y-E)/b);if((0,i.mg)(x,m),x=(0,i.G)(x),!r)return x;var C,T=t[0],A=n[0],S=t[1],z=n[1];A0^x[1]<((0,o.a2)(x[0]-T)o.pi^(T<=x[0]&&x[0]<=A)){var I=(0,i.wx)(g,(-y+E)/b);return(0,i.mg)(I,m),[x,(0,i.G)(I)]}}}function d(e,n){var i=l?t:o.pi-t,r=0;return e<-i?r|=1:e>i&&(r|=2),n<-i?r|=4:n>i&&(r|=8),r}return(0,s.c)(c,(function(t){var e,n,i,r,s;return{lineStart:function(){r=i=!1,s=1},point:function(f,_){var p,m=[f,_],v=c(f,_),g=l?v?0:d(f,_):v?d(f+(f<0?o.pi:-o.pi),_):0;if(!e&&(r=i=v)&&t.lineStart(),v!==i&&(!(p=h(e,m))||(0,a.c)(e,p)||(0,a.c)(m,p))&&(m[2]=1),v!==i)s=0,v?(t.lineStart(),p=h(m,e),t.point(p[0],p[1])):(p=h(e,m),t.point(p[0],p[1],2),t.lineEnd()),e=p;else if(u&&e&&l^v){var y;g&n||!(y=h(m,e,!0))||(s=0,l?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1],3)))}!v||e&&(0,a.c)(e,m)||t.point(m[0],m[1]),e=m,i=v,n=g},lineEnd:function(){i&&t.lineEnd(),e=null},clean:function(){return s|(r&&i)<<1}}}),(function(e,i,o,a){(0,r.Q)(a,t,n,o,e,i)}),l?[0,-t]:[-o.pi,t-o.pi])}},14229:function(t,e,n){"use strict";n.d(e,{c:function(){return l}});var i=n(97208),r=n(32232),o=n(64528),a=n(58196),s=n(84706);function l(t,e,n,o){return function(l){var h,d,f,_=e(l),p=(0,i.c)(),m=e(p),v=!1,g={point:y,lineStart:w,lineEnd:E,polygonStart:function(){g.point=x,g.lineStart=C,g.lineEnd=T,d=[],h=[]},polygonEnd:function(){g.point=y,g.lineStart=w,g.lineEnd=E,d=(0,s.Uf)(d);var t=(0,a.c)(h,o);d.length?(v||(l.polygonStart(),v=!0),(0,r.c)(d,c,t,n,l)):t&&(v||(l.polygonStart(),v=!0),l.lineStart(),n(null,null,1,l),l.lineEnd()),v&&(l.polygonEnd(),v=!1),d=h=null},sphere:function(){l.polygonStart(),l.lineStart(),n(null,null,1,l),l.lineEnd(),l.polygonEnd()}};function y(e,n){t(e,n)&&l.point(e,n)}function b(t,e){_.point(t,e)}function w(){g.point=b,_.lineStart()}function E(){g.point=y,_.lineEnd()}function x(t,e){f.push([t,e]),m.point(t,e)}function C(){m.lineStart(),f=[]}function T(){x(f[0][0],f[0][1]),m.lineEnd();var t,e,n,i,r=m.clean(),o=p.result(),a=o.length;if(f.pop(),h.push(f),f=null,a)if(1&r){if((e=(n=o[0]).length-1)>0){for(v||(l.polygonStart(),v=!0),l.lineStart(),t=0;t1&&2&r&&o.push(o.pop().concat(o.shift())),d.push(o.filter(u))}return g}}function u(t){return t.length>1}function c(t,e){return((t=t.x)[0]<0?t[1]-o.or-o.Gg:o.or-t[1])-((e=e.x)[0]<0?e[1]-o.or-o.Gg:o.or-e[1])}},21676:function(t,e,n){"use strict";n.d(e,{c:function(){return u}});var i=n(64528),r=n(97208),o=n(32232),a=n(84706),s=1e9,l=-s;function u(t,e,n,u){function c(i,r){return t<=i&&i<=n&&e<=r&&r<=u}function h(i,r,o,a){var s=0,l=0;if(null==i||(s=d(i,o))!==(l=d(r,o))||_(i,r)<0^o>0)do{a.point(0===s||3===s?t:n,s>1?u:e)}while((s=(s+o+4)%4)!==l);else a.point(r[0],r[1])}function d(r,o){return(0,i.a2)(r[0]-t)0?0:3:(0,i.a2)(r[0]-n)0?2:1:(0,i.a2)(r[1]-e)0?1:0:o>0?3:2}function f(t,e){return _(t.x,e.x)}function _(t,e){var n=d(t,1),i=d(e,1);return n!==i?n-i:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(i){var d,_,p,m,v,g,y,b,w,E,x,C=i,T=(0,r.c)(),A={point:S,lineStart:function(){A.point=z,_&&_.push(p=[]),E=!0,w=!1,y=b=NaN},lineEnd:function(){d&&(z(m,v),g&&w&&T.rejoin(),d.push(T.result())),A.point=S,w&&C.lineEnd()},polygonStart:function(){C=T,d=[],_=[],x=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=_.length;nu&&(h-r)*(u-o)>(d-o)*(t-r)&&++e:d<=u&&(h-r)*(u-o)<(d-o)*(t-r)&&--e;return e}(),n=x&&e,r=(d=(0,a.Uf)(d)).length;(n||r)&&(i.polygonStart(),n&&(i.lineStart(),h(null,null,1,i),i.lineEnd()),r&&(0,o.c)(d,f,e,h,i),i.polygonEnd()),C=i,d=_=p=null}};function S(t,e){c(t,e)&&C.point(t,e)}function z(i,r){var o=c(i,r);if(_&&p.push([i,r]),E)m=i,v=r,g=o,E=!1,o&&(C.lineStart(),C.point(i,r));else if(o&&w)C.point(i,r);else{var a=[y=Math.max(l,Math.min(s,y)),b=Math.max(l,Math.min(s,b))],h=[i=Math.max(l,Math.min(s,i)),r=Math.max(l,Math.min(s,r))];!function(t,e,n,i,r,o){var a,s=t[0],l=t[1],u=0,c=1,h=e[0]-s,d=e[1]-l;if(a=n-s,h||!(a>0)){if(a/=h,h<0){if(a0){if(a>c)return;a>u&&(u=a)}if(a=r-s,h||!(a<0)){if(a/=h,h<0){if(a>c)return;a>u&&(u=a)}else if(h>0){if(a0)){if(a/=d,d<0){if(a0){if(a>c)return;a>u&&(u=a)}if(a=o-l,d||!(a<0)){if(a/=d,d<0){if(a>c)return;a>u&&(u=a)}else if(d>0){if(a0&&(t[0]=s+u*h,t[1]=l+u*d),c<1&&(e[0]=s+c*h,e[1]=l+c*d),!0}}}}}(a,h,t,e,n,u)?o&&(C.lineStart(),C.point(i,r),x=!1):(w||(C.lineStart(),C.point(a[0],a[1])),C.point(h[0],h[1]),o||C.lineEnd(),x=!1)}y=i,b=r,w=o}return A}}},32232:function(t,e,n){"use strict";n.d(e,{c:function(){return a}});var i=n(41860),r=n(64528);function o(t,e,n,i){this.x=t,this.z=e,this.o=n,this.e=i,this.v=!1,this.n=this.p=null}function a(t,e,n,a,l){var u,c,h=[],d=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,n,a=t[0],s=t[e];if((0,i.c)(a,s)){if(!a[2]&&!s[2]){for(l.lineStart(),u=0;u=0;--u)l.point((_=f[u])[0],_[1]);else a(m.x,m.p.x,-1,l);m=m.p}f=(m=m.o).z,v=!v}while(!m.v);l.lineEnd()}}}function s(t){if(e=t.length){for(var e,n,i=0,r=t[0];++i0&&(r=S(t[o],t[o-1]))>0&&n<=r&&i<=r&&(n+i-r)*(1-Math.pow((n-i)/r,2))m.Gg})).map(l)).concat((0,P.ik)((0,m.Km)(o/f)*f,r,f).filter((function(t){return(0,m.a2)(t%p)>m.Gg})).map(u))}return g.lines=function(){return y().map((function(t){return{type:"LineString",coordinates:t}}))},g.outline=function(){return{type:"Polygon",coordinates:[c(i).concat(h(a).slice(1),c(n).reverse().slice(1),h(s).reverse().slice(1))]}},g.extent=function(t){return arguments.length?g.extentMajor(t).extentMinor(t):g.extentMinor()},g.extentMajor=function(t){return arguments.length?(i=+t[0][0],n=+t[1][0],s=+t[0][1],a=+t[1][1],i>n&&(t=i,i=n,n=t),s>a&&(t=s,s=a,a=t),g.precision(v)):[[i,s],[n,a]]},g.extentMinor=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],o=+n[0][1],r=+n[1][1],e>t&&(n=e,e=t,t=n),o>r&&(n=o,o=r,r=n),g.precision(v)):[[e,o],[t,r]]},g.step=function(t){return arguments.length?g.stepMajor(t).stepMinor(t):g.stepMinor()},g.stepMajor=function(t){return arguments.length?(_=+t[0],p=+t[1],g):[_,p]},g.stepMinor=function(t){return arguments.length?(d=+t[0],f=+t[1],g):[d,f]},g.precision=function(d){return arguments.length?(v=+d,l=U(o,r,90),u=j(e,t,v),c=U(s,a,90),h=j(i,n,v),g):v},g.extentMajor([[-180,-90+m.Gg],[180,90-m.Gg]]).extentMinor([[-180,-80-m.Gg],[180,80+m.Gg]])}function D(){return q()()}var B,F,W,G,H=n(27284),V=n(7376),X=(0,p.c)(),J=(0,p.c)(),Z={point:v.c,lineStart:v.c,lineEnd:v.c,polygonStart:function(){Z.lineStart=Y,Z.lineEnd=tt},polygonEnd:function(){Z.lineStart=Z.lineEnd=Z.point=v.c,X.add((0,m.a2)(J)),J.reset()},result:function(){var t=X/2;return X.reset(),t}};function Y(){Z.point=K}function K(t,e){Z.point=Q,B=W=t,F=G=e}function Q(t,e){J.add(G*t-W*e),W=t,G=e}function tt(){Q(B,F)}var et,nt,it,rt,ot=Z,at=n(73784),st=0,lt=0,ut=0,ct=0,ht=0,dt=0,ft=0,_t=0,pt=0,mt={point:vt,lineStart:gt,lineEnd:wt,polygonStart:function(){mt.lineStart=Et,mt.lineEnd=xt},polygonEnd:function(){mt.point=vt,mt.lineStart=gt,mt.lineEnd=wt},result:function(){var t=pt?[ft/pt,_t/pt]:dt?[ct/dt,ht/dt]:ut?[st/ut,lt/ut]:[NaN,NaN];return st=lt=ut=ct=ht=dt=ft=_t=pt=0,t}};function vt(t,e){st+=t,lt+=e,++ut}function gt(){mt.point=yt}function yt(t,e){mt.point=bt,vt(it=t,rt=e)}function bt(t,e){var n=t-it,i=e-rt,r=(0,m._I)(n*n+i*i);ct+=r*(it+t)/2,ht+=r*(rt+e)/2,dt+=r,vt(it=t,rt=e)}function wt(){mt.point=vt}function Et(){mt.point=Ct}function xt(){Tt(et,nt)}function Ct(t,e){mt.point=Tt,vt(et=it=t,nt=rt=e)}function Tt(t,e){var n=t-it,i=e-rt,r=(0,m._I)(n*n+i*i);ct+=r*(it+t)/2,ht+=r*(rt+e)/2,dt+=r,ft+=(r=rt*t-it*e)*(it+t),_t+=r*(rt+e),pt+=3*r,vt(it=t,rt=e)}var At=mt;function St(t){this._context=t}St.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,m.kD)}},result:v.c};var zt,kt,Nt,It,Ot,Lt=(0,p.c)(),Mt={point:v.c,lineStart:function(){Mt.point=$t},lineEnd:function(){zt&&Rt(kt,Nt),Mt.point=v.c},polygonStart:function(){zt=!0},polygonEnd:function(){zt=null},result:function(){var t=+Lt;return Lt.reset(),t}};function $t(t,e){Mt.point=Rt,kt=It=t,Nt=Ot=e}function Rt(t,e){It-=t,Ot-=e,Lt.add((0,m._I)(It*It+Ot*Ot)),It=t,Ot=e}var Pt=Mt;function Ut(){this._string=[]}function jt(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function qt(t,e){var n,i,r=4.5;function o(t){return t&&("function"==typeof r&&i.pointRadius(+r.apply(this,arguments)),(0,g.c)(t,n(i))),i.result()}return o.area=function(t){return(0,g.c)(t,n(ot)),ot.result()},o.measure=function(t){return(0,g.c)(t,n(Pt)),Pt.result()},o.bounds=function(t){return(0,g.c)(t,n(at.c)),at.c.result()},o.centroid=function(t){return(0,g.c)(t,n(At)),At.result()},o.projection=function(e){return arguments.length?(n=null==e?(t=null,V.c):(t=e).stream,o):t},o.context=function(t){return arguments.length?(i=null==t?(e=null,new Ut):new St(e=t),"function"!=typeof r&&i.pointRadius(r),o):e},o.pointRadius=function(t){return arguments.length?(r="function"==typeof t?t:(i.pointRadius(+t),+t),o):r},o.projection(t).context(e)}Ut.prototype={_radius:4.5,_circle:jt(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=jt(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var Dt=n(87952);function Bt(t){var e=0,n=m.pi/3,i=(0,Dt.U)(t),r=i(e,n);return r.parallels=function(t){return arguments.length?i(e=t[0]*m.qw,n=t[1]*m.qw):[e*m.oh,n*m.oh]},r}function Ft(t,e){var n=(0,m.g$)(t),i=(n+(0,m.g$)(e))/2;if((0,m.a2)(i)=.12&&r<.234&&i>=-.425&&i<-.214?s:r>=.166&&r<.234&&i>=-.214&&i<-.115?l:a).invert(t)},c.stream=function(n){return t&&e===n?t:(i=[a.stream(e=n),s.stream(n),l.stream(n)],r=i.length,t={point:function(t,e){for(var n=-1;++n0?e<-m.or+m.Gg&&(e=-m.or+m.Gg):e>m.or-m.Gg&&(e=m.or-m.Gg);var n=r/(0,m.g3)(te(e),i);return[n*(0,m.g$)(i*t),r-n*(0,m.W8)(i*t)]}return o.invert=function(t,e){var n=r-e,o=(0,m.kq)(i)*(0,m._I)(t*t+n*n),a=(0,m.WE)(t,(0,m.a2)(n))*(0,m.kq)(n);return n*i<0&&(a-=m.pi*(0,m.kq)(t)*(0,m.kq)(n)),[a/i,2*(0,m.MQ)((0,m.g3)(r/o,1/i))-m.or]},o}function ne(){return Bt(ee).scale(109.5).parallels([30,30])}Yt.invert=function(t,e){return[t,2*(0,m.MQ)((0,m.oN)(e))-m.or]};var ie=n(69604);function re(t,e){var n=(0,m.W8)(t),i=t===e?(0,m.g$)(t):(n-(0,m.W8)(e))/(e-t),r=n/i+t;if((0,m.a2)(i)2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)}ye.invert=(0,ge.g)((function(t){return 2*(0,m.MQ)(t)})),we.invert=function(t,e){return[-e,2*(0,m.MQ)((0,m.oN)(t))-m.or]}},27284:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});var i=n(64528);function r(t,e){var n=t[0]*i.qw,r=t[1]*i.qw,o=e[0]*i.qw,a=e[1]*i.qw,s=(0,i.W8)(r),l=(0,i.g$)(r),u=(0,i.W8)(a),c=(0,i.g$)(a),h=s*(0,i.W8)(n),d=s*(0,i.g$)(n),f=u*(0,i.W8)(o),_=u*(0,i.g$)(o),p=2*(0,i.qR)((0,i._I)((0,i.SD)(a-r)+s*u*(0,i.SD)(o-n))),m=(0,i.g$)(p),v=p?function(t){var e=(0,i.g$)(t*=p)/m,n=(0,i.g$)(p-t)/m,r=n*h+e*f,o=n*d+e*_,a=n*l+e*c;return[(0,i.WE)(o,r)*i.oh,(0,i.WE)(a,(0,i._I)(r*r+o*o))*i.oh]}:function(){return[n*i.oh,r*i.oh]};return v.distance=p,v}},64528:function(t,e,n){"use strict";n.d(e,{Gg:function(){return i},Km:function(){return p},MQ:function(){return d},SD:function(){return T},W8:function(){return _},WE:function(){return f},Yz:function(){return v},_I:function(){return w},a2:function(){return h},a6:function(){return E},a8:function(){return r},g$:function(){return y},g3:function(){return g},kD:function(){return l},kq:function(){return b},mE:function(){return x},oN:function(){return m},oh:function(){return u},or:function(){return a},pi:function(){return o},qR:function(){return C},qw:function(){return c},wL:function(){return s}});var i=1e-6,r=1e-12,o=Math.PI,a=o/2,s=o/4,l=2*o,u=180/o,c=o/180,h=Math.abs,d=Math.atan,f=Math.atan2,_=Math.cos,p=Math.ceil,m=Math.exp,v=(Math.floor,Math.log),g=Math.pow,y=Math.sin,b=Math.sign||function(t){return t>0?1:t<0?-1:0},w=Math.sqrt,E=Math.tan;function x(t){return t>1?0:t<-1?o:Math.acos(t)}function C(t){return t>1?a:t<-1?-a:Math.asin(t)}function T(t){return(t=y(t/2))*t}},70932:function(t,e,n){"use strict";function i(){}n.d(e,{c:function(){return i}})},73784:function(t,e,n){"use strict";var i=n(70932),r=1/0,o=r,a=-r,s=a,l={point:function(t,e){ta&&(a=t),es&&(s=e)},lineStart:i.c,lineEnd:i.c,polygonStart:i.c,polygonEnd:i.c,result:function(){var t=[[r,o],[a,s]];return a=s=-(o=r=1/0),t}};e.c=l},41860:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});var i=n(64528);function r(t,e){return(0,i.a2)(t[0]-e[0])=0?1:-1,k=z*S,N=k>o.pi,I=y*T;if(a.add((0,o.WE)(I*z*(0,o.g$)(k),b*A+I*(0,o.W8)(k))),c+=N?S+z*o.kD:S,N^v>=n^x>=n){var O=(0,r.CW)((0,r.ux)(m),(0,r.ux)(E));(0,r.cJ)(O);var L=(0,r.CW)(u,O);(0,r.cJ)(L);var M=(N^S>=0?-1:1)*(0,o.qR)(L[2]);(i>M||i===M&&(O[0]||O[1]))&&(h+=N^S>=0?1:-1)}}return(c<-o.Gg||c4*e&&v--){var E=a+f,x=s+p,C=u+m,T=(0,l._I)(E*E+x*x+C*C),A=(0,l.qR)(C/=T),S=(0,l.a2)((0,l.a2)(C)-1)e||(0,l.a2)((y*I+b*O)/w-.5)>.3||a*f+s*p+u*m<_)&&(n(i,r,o,a,s,u,k,N,S,E/=T,x/=T,C,v,g),g.point(k,N),n(k,N,S,E,x,C,c,h,d,f,p,m,v,g))}}return function(e){var i,r,o,a,s,l,u,c,h,_,p,m,v={point:g,lineStart:y,lineEnd:w,polygonStart:function(){e.polygonStart(),v.lineStart=E},polygonEnd:function(){e.polygonEnd(),v.lineStart=y}};function g(n,i){n=t(n,i),e.point(n[0],n[1])}function y(){c=NaN,v.point=b,e.lineStart()}function b(i,r){var o=(0,d.ux)([i,r]),a=t(i,r);n(c,h,u,_,p,m,c=a[0],h=a[1],u=i,_=o[0],p=o[1],m=o[2],f,e),e.point(c,h)}function w(){v.point=g,e.lineEnd()}function E(){y(),v.point=x,v.lineEnd=C}function x(t,e){b(i=t,e),r=c,o=h,a=_,s=p,l=m,v.point=b}function C(){n(c,h,u,_,p,m,r,o,i,a,s,l,f,e),v.lineEnd=w,w()}return v}}(t,e):function(t){return(0,c.s)({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)}var m=(0,c.s)({point:function(t,e){this.stream.point(t*l.qw,e*l.qw)}});function v(t,e,n,i,r){function o(o,a){return[e+t*(o*=i),n-t*(a*=r)]}return o.invert=function(o,a){return[(o-e)/t*i,(n-a)/t*r]},o}function g(t,e,n,i,r,o){var a=(0,l.W8)(o),s=(0,l.g$)(o),u=a*t,c=s*t,h=a/t,d=s/t,f=(s*n-a*e)/t,_=(s*e+a*n)/t;function p(t,o){return[u*(t*=i)-c*(o*=r)+e,n-c*t-u*o]}return p.invert=function(t,e){return[i*(h*t-d*e+f),r*(_-d*t-h*e)]},p}function y(t){return b((function(){return t}))()}function b(t){var e,n,d,f,_,y,b,w,E,x,C=150,T=480,A=250,S=0,z=0,k=0,N=0,I=0,O=0,L=1,M=1,$=null,R=i.c,P=null,U=s.c,j=.5;function q(t){return w(t[0]*l.qw,t[1]*l.qw)}function D(t){return(t=w.invert(t[0],t[1]))&&[t[0]*l.oh,t[1]*l.oh]}function B(){var t=g(C,0,0,L,M,O).apply(null,e(S,z)),i=(O?g:v)(C,T-t[0],A-t[1],L,M,O);return n=(0,u.O)(k,N,I),b=(0,a.c)(e,i),w=(0,a.c)(n,b),y=p(b,j),F()}function F(){return E=x=null,q}return q.stream=function(t){return E&&x===t?E:E=m(function(t){return(0,c.s)({point:function(e,n){var i=t(e,n);return this.stream.point(i[0],i[1])}})}(n)(R(y(U(x=t)))))},q.preclip=function(t){return arguments.length?(R=t,$=void 0,F()):R},q.postclip=function(t){return arguments.length?(U=t,P=d=f=_=null,F()):U},q.clipAngle=function(t){return arguments.length?(R=+t?(0,r.c)($=t*l.qw):($=null,i.c),F()):$*l.oh},q.clipExtent=function(t){return arguments.length?(U=null==t?(P=d=f=_=null,s.c):(0,o.c)(P=+t[0][0],d=+t[0][1],f=+t[1][0],_=+t[1][1]),F()):null==P?null:[[P,d],[f,_]]},q.scale=function(t){return arguments.length?(C=+t,B()):C},q.translate=function(t){return arguments.length?(T=+t[0],A=+t[1],B()):[T,A]},q.center=function(t){return arguments.length?(S=t[0]%360*l.qw,z=t[1]%360*l.qw,B()):[S*l.oh,z*l.oh]},q.rotate=function(t){return arguments.length?(k=t[0]%360*l.qw,N=t[1]%360*l.qw,I=t.length>2?t[2]%360*l.qw:0,B()):[k*l.oh,N*l.oh,I*l.oh]},q.angle=function(t){return arguments.length?(O=t%360*l.qw,B()):O*l.oh},q.reflectX=function(t){return arguments.length?(L=t?-1:1,B()):L<0},q.reflectY=function(t){return arguments.length?(M=t?-1:1,B()):M<0},q.precision=function(t){return arguments.length?(y=p(b,j=t*t),F()):(0,l._I)(j)},q.fitExtent=function(t,e){return(0,h.QX)(q,t,e)},q.fitSize=function(t,e){return(0,h.UV)(q,t,e)},q.fitWidth=function(t,e){return(0,h.Qx)(q,t,e)},q.fitHeight=function(t,e){return(0,h.OW)(q,t,e)},function(){return e=t.apply(this,arguments),q.invert=e.invert&&D,B()}}},47984:function(t,e,n){"use strict";n.d(e,{c:function(){return a},g:function(){return o}});var i=n(87952),r=n(64528);function o(t,e){var n=e*e,i=n*n;return[t*(.8707-.131979*n+i*(i*(.003971*n-.001529*i)-.013791)),e*(1.007226+n*(.015085+i*(.028874*n-.044475-.005916*i)))]}function a(){return(0,i.c)(o).scale(175.295)}o.invert=function(t,e){var n,i=e,o=25;do{var a=i*i,s=a*a;i-=n=(i*(1.007226+a*(.015085+s*(.028874*a-.044475-.005916*s)))-e)/(1.007226+a*(.045255+s*(.259866*a-.311325-.005916*11*s)))}while((0,r.a2)(n)>r.Gg&&--o>0);return[t/(.8707+(a=i*i)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),i]}},4888:function(t,e,n){"use strict";n.d(e,{c:function(){return s},t:function(){return a}});var i=n(64528),r=n(62280),o=n(87952);function a(t,e){return[(0,i.W8)(e)*(0,i.g$)(t),(0,i.g$)(e)]}function s(){return(0,o.c)(a).scale(249.5).clipAngle(90+i.Gg)}a.invert=(0,r.g)(i.qR)},92992:function(t,e,n){"use strict";n.d(e,{O:function(){return a},c:function(){return c}});var i=n(68120),r=n(64528);function o(t,e){return[(0,r.a2)(t)>r.pi?t+Math.round(-t/r.kD)*r.kD:t,e]}function a(t,e,n){return(t%=r.kD)?e||n?(0,i.c)(l(t),u(e,n)):l(t):e||n?u(e,n):o}function s(t){return function(e,n){return[(e+=t)>r.pi?e-r.kD:e<-r.pi?e+r.kD:e,n]}}function l(t){var e=s(t);return e.invert=s(-t),e}function u(t,e){var n=(0,r.W8)(t),i=(0,r.g$)(t),o=(0,r.W8)(e),a=(0,r.g$)(e);function s(t,e){var s=(0,r.W8)(e),l=(0,r.W8)(t)*s,u=(0,r.g$)(t)*s,c=(0,r.g$)(e),h=c*n+l*i;return[(0,r.WE)(u*o-h*a,l*n-c*i),(0,r.qR)(h*o+u*a)]}return s.invert=function(t,e){var s=(0,r.W8)(e),l=(0,r.W8)(t)*s,u=(0,r.g$)(t)*s,c=(0,r.g$)(e),h=c*o-u*a;return[(0,r.WE)(u*o+c*a,l*n+h*i),(0,r.qR)(h*n-l*i)]},s}function c(t){function e(e){return(e=t(e[0]*r.qw,e[1]*r.qw))[0]*=r.oh,e[1]*=r.oh,e}return t=a(t[0]*r.qw,t[1]*r.qw,t.length>2?t[2]*r.qw:0),e.invert=function(e){return(e=t.invert(e[0]*r.qw,e[1]*r.qw))[0]*=r.oh,e[1]*=r.oh,e},e}o.invert=o},16016:function(t,e,n){"use strict";function i(t,e){t&&o.hasOwnProperty(t.type)&&o[t.type](t,e)}n.d(e,{c:function(){return l}});var r={Feature:function(t,e){i(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,o=n.length;++r=0;)e+=n[i].value;else e=1;t.value=e}function l(t,e){var n,i,r,o,a,s=new d(t),l=+t.value&&(s.value=t.value),c=[s];for(null==e&&(e=u);n=c.pop();)if(l&&(n.value=+n.data.value),(r=e(n.data))&&(a=r.length))for(n.children=new Array(a),o=a-1;o>=0;--o)c.push(i=n.children[o]=new d(r[o])),i.parent=n,i.depth=n.depth+1;return s.eachBefore(h)}function u(t){return t.children}function c(t){t.data=t.data.data}function h(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function d(t){this.data=t,this.depth=this.height=0,this.parent=null}n.r(e),n.d(e,{cluster:function(){return a},hierarchy:function(){return l},pack:function(){return O},packEnclose:function(){return _},packSiblings:function(){return S},partition:function(){return U},stratify:function(){return W},tree:function(){return Y},treemap:function(){return nt},treemapBinary:function(){return it},treemapDice:function(){return P},treemapResquarify:function(){return ot},treemapSlice:function(){return K},treemapSliceDice:function(){return rt},treemapSquarify:function(){return et}}),d.prototype=l.prototype={constructor:d,count:function(){return this.eachAfter(s)},each:function(t){var e,n,i,r,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(t(o),n=o.children)for(i=0,r=n.length;i=0;--n)r.push(e[n]);return this},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,i=e.children,r=i&&i.length;--r>=0;)n+=i[r].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),i=e.ancestors(),r=null;for(t=n.pop(),e=i.pop();t===e;)r=t,t=n.pop(),e=i.pop();return r}(e,t),i=[e];e!==n;)e=e.parent,i.push(e);for(var r=i.length;t!==n;)i.splice(r,0,t),t=t.parent;return i},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each((function(e){t.push(e)})),t},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return l(this).eachBefore(c)}};var f=Array.prototype.slice;function _(t){for(var e,n,i=0,r=(t=function(t){for(var e,n,i=t.length;i;)n=Math.random()*i--|0,e=t[i],t[i]=t[n],t[n]=e;return t}(f.call(t))).length,o=[];i0&&n*n>i*i+r*r}function g(t,e){for(var n=0;n(a*=a)?(i=(u+a-r)/(2*u),o=Math.sqrt(Math.max(0,a/u-i*i)),n.x=t.x-i*s-o*l,n.y=t.y-i*l+o*s):(i=(u+r-a)/(2*u),o=Math.sqrt(Math.max(0,r/u-i*i)),n.x=e.x+i*s-o*l,n.y=e.y+i*l+o*s)):(n.x=e.x+n.r,n.y=e.y)}function x(t,e){var n=t.r+e.r-1e-6,i=e.x-t.x,r=e.y-t.y;return n>0&&n*n>i*i+r*r}function C(t){var e=t._,n=t.next._,i=e.r+n.r,r=(e.x*n.r+n.x*e.r)/i,o=(e.y*n.r+n.y*e.r)/i;return r*r+o*o}function T(t){this._=t,this.next=null,this.previous=null}function A(t){if(!(r=t.length))return 0;var e,n,i,r,o,a,s,l,u,c,h;if((e=t[0]).x=0,e.y=0,!(r>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(r>2))return e.r+n.r;E(n,e,i=t[2]),e=new T(e),n=new T(n),i=new T(i),e.next=i.previous=n,n.next=e.previous=i,i.next=n.previous=e;t:for(s=3;s0)throw new Error("cycle");return o}return n.id=function(e){return arguments.length?(t=z(e),n):t},n.parentId=function(t){return arguments.length?(e=z(t),n):e},n}function G(t,e){return t.parent===e.parent?1:2}function H(t){var e=t.children;return e?e[0]:t.t}function V(t){var e=t.children;return e?e[e.length-1]:t.t}function X(t,e,n){var i=n/(e.i-t.i);e.c-=i,e.s+=n,t.c+=i,e.z+=n,e.m+=n}function J(t,e,n){return t.a.parent===e.parent?t.a:n}function Z(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function Y(){var t=G,e=1,n=1,i=null;function r(r){var l=function(t){for(var e,n,i,r,o,a=new Z(t,0),s=[a];e=s.pop();)if(i=e._.children)for(e.children=new Array(o=i.length),r=o-1;r>=0;--r)s.push(n=e.children[r]=new Z(i[r],r)),n.parent=e;return(a.parent=new Z(null,0)).children=[a],a}(r);if(l.eachAfter(o),l.parent.m=-l.z,l.eachBefore(a),i)r.eachBefore(s);else{var u=r,c=r,h=r;r.eachBefore((function(t){t.xc.x&&(c=t),t.depth>h.depth&&(h=t)}));var d=u===c?1:t(u,c)/2,f=d-u.x,_=e/(c.x+d+f),p=n/(h.depth||1);r.eachBefore((function(t){t.x=(t.x+f)*_,t.y=t.depth*p}))}return r}function o(e){var n=e.children,i=e.parent.children,r=e.i?i[e.i-1]:null;if(n){!function(t){for(var e,n=0,i=0,r=t.children,o=r.length;--o>=0;)(e=r[o]).z+=n,e.m+=n,n+=e.s+(i+=e.c)}(e);var o=(n[0].z+n[n.length-1].z)/2;r?(e.z=r.z+t(e._,r._),e.m=e.z-o):e.z=o}else r&&(e.z=r.z+t(e._,r._));e.parent.A=function(e,n,i){if(n){for(var r,o=e,a=e,s=n,l=o.parent.children[0],u=o.m,c=a.m,h=s.m,d=l.m;s=V(s),o=H(o),s&&o;)l=H(l),(a=V(a)).a=e,(r=s.z+h-o.z-u+t(s._,o._))>0&&(X(J(s,e,i),e,r),u+=r,c+=r),h+=s.m,u+=o.m,d+=l.m,c+=a.m;s&&!V(a)&&(a.t=s,a.m+=h-c),o&&!H(l)&&(l.t=o,l.m+=u-d,i=e)}return i}(e,r,e.parent.A||i[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*n}return r.separation=function(e){return arguments.length?(t=e,r):t},r.size=function(t){return arguments.length?(i=!1,e=+t[0],n=+t[1],r):i?null:[e,n]},r.nodeSize=function(t){return arguments.length?(i=!0,e=+t[0],n=+t[1],r):i?[e,n]:null},r}function K(t,e,n,i,r){for(var o,a=t.children,s=-1,l=a.length,u=t.value&&(r-n)/t.value;++sd&&(d=s),m=c*c*p,(f=Math.max(d/m,m/h))>_){c-=s;break}_=f}v.push(a={value:c,dice:l1?e:1)},n}(Q);function nt(){var t=et,e=!1,n=1,i=1,r=[0],o=k,a=k,s=k,l=k,u=k;function c(t){return t.x0=t.y0=0,t.x1=n,t.y1=i,t.eachBefore(h),r=[0],e&&t.eachBefore(R),t}function h(e){var n=r[e.depth],i=e.x0+n,c=e.y0+n,h=e.x1-n,d=e.y1-n;h=n-1){var c=s[e];return c.x0=r,c.y0=o,c.x1=a,void(c.y1=l)}for(var h=u[e],d=i/2+h,f=e+1,_=n-1;f<_;){var p=f+_>>>1;u[p]l-o){var g=(r*v+a*m)/i;t(e,f,m,r,o,g,l),t(f,n,v,g,o,a,l)}else{var y=(o*v+l*m)/i;t(e,f,m,r,o,a,y),t(f,n,v,r,y,a,l)}}(0,l,t.value,e,n,i,r)}function rt(t,e,n,i,r){(1&t.depth?K:P)(t,e,n,i,r)}var ot=function t(e){function n(t,n,i,r,o){if((a=t._squarify)&&a.ratio===e)for(var a,s,l,u,c,h=-1,d=a.length,f=t.value;++h1?e:1)},n}(Q)},10132:function(t,e,n){"use strict";n.d(e,{ak:function(){return v}});var i=Math.PI,r=2*i,o=1e-6,a=r-o;function s(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function l(){return new s}s.prototype=l.prototype={constructor:s,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,i){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+i)},bezierCurveTo:function(t,e,n,i,r,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+r)+","+(this._y1=+o)},arcTo:function(t,e,n,r,a){t=+t,e=+e,n=+n,r=+r,a=+a;var s=this._x1,l=this._y1,u=n-t,c=r-e,h=s-t,d=l-e,f=h*h+d*d;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(f>o)if(Math.abs(d*u-c*h)>o&&a){var _=n-s,p=r-l,m=u*u+c*c,v=_*_+p*p,g=Math.sqrt(m),y=Math.sqrt(f),b=a*Math.tan((i-Math.acos((m+f-v)/(2*g*y)))/2),w=b/y,E=b/g;Math.abs(w-1)>o&&(this._+="L"+(t+w*h)+","+(e+w*d)),this._+="A"+a+","+a+",0,0,"+ +(d*_>h*p)+","+(this._x1=t+E*u)+","+(this._y1=e+E*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,s,l,u){t=+t,e=+e,u=!!u;var c=(n=+n)*Math.cos(s),h=n*Math.sin(s),d=t+c,f=e+h,_=1^u,p=u?s-l:l-s;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+d+","+f:(Math.abs(this._x1-d)>o||Math.abs(this._y1-f)>o)&&(this._+="L"+d+","+f),n&&(p<0&&(p=p%r+r),p>a?this._+="A"+n+","+n+",0,1,"+_+","+(t-c)+","+(e-h)+"A"+n+","+n+",0,1,"+_+","+(this._x1=d)+","+(this._y1=f):p>o&&(this._+="A"+n+","+n+",0,"+ +(p>=i)+","+_+","+(this._x1=t+n*Math.cos(l))+","+(this._y1=e+n*Math.sin(l))))},rect:function(t,e,n,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +i+"h"+-n+"Z"},toString:function(){return this._}};var u=l,c=Array.prototype.slice;function h(t){return function(){return t}}function d(t){return t[0]}function f(t){return t[1]}function _(t){return t.source}function p(t){return t.target}function m(t,e,n,i,r){t.moveTo(e,n),t.bezierCurveTo(e=(e+i)/2,n,e,r,i,r)}function v(){return function(t){var e=_,n=p,i=d,r=f,o=null;function a(){var a,s=c.call(arguments),l=e.apply(this,s),h=n.apply(this,s);if(o||(o=a=u()),t(o,+i.apply(this,(s[0]=l,s)),+r.apply(this,s),+i.apply(this,(s[0]=h,s)),+r.apply(this,s)),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?(i="function"==typeof t?t:h(+t),a):i},a.y=function(t){return arguments.length?(r="function"==typeof t?t:h(+t),a):r},a.context=function(t){return arguments.length?(o=null==t?null:t,a):o},a}(m)}},94336:function(t,e,n){"use strict";n.d(e,{Yn:function(){return _},m_:function(){return d},E9:function(){return p}});var i=n(8208),r=n(58931),o=n(46192),a=n(68936),s=n(32171),l=n(53528);function u(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 c(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 h(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function d(t){var e=t.dateTime,n=t.date,s=t.time,l=t.periods,d=t.days,f=t.shortDays,_=t.months,p=t.shortMonths,v=E(l),g=x(l),y=E(d),b=x(d),w=E(f),St=x(f),zt=E(_),kt=x(_),Nt=E(p),It=x(p),Ot={a:function(t){return f[t.getDay()]},A:function(t){return d[t.getDay()]},b:function(t){return p[t.getMonth()]},B:function(t){return _[t.getMonth()]},c:null,d:W,e:W,f:J,H:G,I:H,j:V,L:X,m:Z,M:Y,p:function(t){return l[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Tt,s:At,S:K,u:Q,U:tt,V:et,w:nt,W:it,x:null,X:null,y:rt,Y:ot,Z:at,"%":Ct},Lt={a:function(t){return f[t.getUTCDay()]},A:function(t){return d[t.getUTCDay()]},b:function(t){return p[t.getUTCMonth()]},B:function(t){return _[t.getUTCMonth()]},c:null,d:st,e:st,f:dt,H:lt,I:ut,j:ct,L:ht,m:ft,M:_t,p:function(t){return l[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Tt,s:At,S:pt,u:mt,U:vt,V:gt,w:yt,W:bt,x:null,X:null,y:wt,Y:Et,Z:xt,"%":Ct},Mt={a:function(t,e,n){var i=w.exec(e.slice(n));return i?(t.w=St[i[0].toLowerCase()],n+i[0].length):-1},A:function(t,e,n){var i=y.exec(e.slice(n));return i?(t.w=b[i[0].toLowerCase()],n+i[0].length):-1},b:function(t,e,n){var i=Nt.exec(e.slice(n));return i?(t.m=It[i[0].toLowerCase()],n+i[0].length):-1},B:function(t,e,n){var i=zt.exec(e.slice(n));return i?(t.m=kt[i[0].toLowerCase()],n+i[0].length):-1},c:function(t,n,i){return Pt(t,e,n,i)},d:M,e:M,f:q,H:R,I:R,j:$,L:j,m:L,M:P,p:function(t,e,n){var i=v.exec(e.slice(n));return i?(t.p=g[i[0].toLowerCase()],n+i[0].length):-1},q:O,Q:B,s:F,S:U,u:T,U:A,V:S,w:C,W:z,x:function(t,e,i){return Pt(t,n,e,i)},X:function(t,e,n){return Pt(t,s,e,n)},y:N,Y:k,Z:I,"%":D};function $t(t,e){return function(n){var i,r,o,a=[],s=-1,l=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in d||(d.w=1),"Z"in d?(l=(s=c(h(d.y,0,1))).getUTCDay(),s=l>4||0===l?i.ot.ceil(s):(0,i.ot)(s),s=r.c.offset(s,7*(d.V-1)),d.y=s.getUTCFullYear(),d.m=s.getUTCMonth(),d.d=s.getUTCDate()+(d.w+6)%7):(l=(s=u(h(d.y,0,1))).getDay(),s=l>4||0===l?o.qT.ceil(s):(0,o.qT)(s),s=a.c.offset(s,7*(d.V-1)),d.y=s.getFullYear(),d.m=s.getMonth(),d.d=s.getDate()+(d.w+6)%7)}else("W"in d||"U"in d)&&("w"in d||(d.w="u"in d?d.u%7:"W"in d?1:0),l="Z"in d?c(h(d.y,0,1)).getUTCDay():u(h(d.y,0,1)).getDay(),d.m=0,d.d="W"in d?(d.w+6)%7+7*d.W-(l+5)%7:d.w+7*d.U-(l+6)%7);return"Z"in d?(d.H+=d.Z/100|0,d.M+=d.Z%100,c(d)):u(d)}}function Pt(t,e,n,i){for(var r,o,a=0,s=e.length,l=n.length;a=l)return-1;if(37===(r=e.charCodeAt(a++))){if(r=e.charAt(a++),!(o=Mt[r in m?e.charAt(a++):r])||(i=o(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}return Ot.x=$t(n,Ot),Ot.X=$t(s,Ot),Ot.c=$t(e,Ot),Lt.x=$t(n,Lt),Lt.X=$t(s,Lt),Lt.c=$t(e,Lt),{format:function(t){var e=$t(t+="",Ot);return e.toString=function(){return t},e},parse:function(t){var e=Rt(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=$t(t+="",Lt);return e.toString=function(){return t},e},utcParse:function(t){var e=Rt(t+="",!0);return e.toString=function(){return t},e}}}var f,_,p,m={"-":"",_:" ",0:"0"},v=/^\s*\d+/,g=/^%/,y=/[\\^$*+?|[\]().{}]/g;function b(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",o=r.length;return i+(o68?1900:2e3),n+i[0].length):-1}function I(t,e,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function O(t,e,n){var i=v.exec(e.slice(n,n+1));return i?(t.q=3*i[0]-3,n+i[0].length):-1}function L(t,e,n){var i=v.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function M(t,e,n){var i=v.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function $(t,e,n){var i=v.exec(e.slice(n,n+3));return i?(t.m=0,t.d=+i[0],n+i[0].length):-1}function R(t,e,n){var i=v.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function P(t,e,n){var i=v.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function U(t,e,n){var i=v.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function j(t,e,n){var i=v.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function q(t,e,n){var i=v.exec(e.slice(n,n+6));return i?(t.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function D(t,e,n){var i=g.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function B(t,e,n){var i=v.exec(e.slice(n));return i?(t.Q=+i[0],n+i[0].length):-1}function F(t,e,n){var i=v.exec(e.slice(n));return i?(t.s=+i[0],n+i[0].length):-1}function W(t,e){return b(t.getDate(),e,2)}function G(t,e){return b(t.getHours(),e,2)}function H(t,e){return b(t.getHours()%12||12,e,2)}function V(t,e){return b(1+a.c.count((0,s.c)(t),t),e,3)}function X(t,e){return b(t.getMilliseconds(),e,3)}function J(t,e){return X(t,e)+"000"}function Z(t,e){return b(t.getMonth()+1,e,2)}function Y(t,e){return b(t.getMinutes(),e,2)}function K(t,e){return b(t.getSeconds(),e,2)}function Q(t){var e=t.getDay();return 0===e?7:e}function tt(t,e){return b(o.uU.count((0,s.c)(t)-1,t),e,2)}function et(t,e){var n=t.getDay();return t=n>=4||0===n?(0,o.kD)(t):o.kD.ceil(t),b(o.kD.count((0,s.c)(t),t)+(4===(0,s.c)(t).getDay()),e,2)}function nt(t){return t.getDay()}function it(t,e){return b(o.qT.count((0,s.c)(t)-1,t),e,2)}function rt(t,e){return b(t.getFullYear()%100,e,2)}function ot(t,e){return b(t.getFullYear()%1e4,e,4)}function at(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+b(e/60|0,"0",2)+b(e%60,"0",2)}function st(t,e){return b(t.getUTCDate(),e,2)}function lt(t,e){return b(t.getUTCHours(),e,2)}function ut(t,e){return b(t.getUTCHours()%12||12,e,2)}function ct(t,e){return b(1+r.c.count((0,l.c)(t),t),e,3)}function ht(t,e){return b(t.getUTCMilliseconds(),e,3)}function dt(t,e){return ht(t,e)+"000"}function ft(t,e){return b(t.getUTCMonth()+1,e,2)}function _t(t,e){return b(t.getUTCMinutes(),e,2)}function pt(t,e){return b(t.getUTCSeconds(),e,2)}function mt(t){var e=t.getUTCDay();return 0===e?7:e}function vt(t,e){return b(i.EV.count((0,l.c)(t)-1,t),e,2)}function gt(t,e){var n=t.getUTCDay();return t=n>=4||0===n?(0,i.yA)(t):i.yA.ceil(t),b(i.yA.count((0,l.c)(t),t)+(4===(0,l.c)(t).getUTCDay()),e,2)}function yt(t){return t.getUTCDay()}function bt(t,e){return b(i.ot.count((0,l.c)(t)-1,t),e,2)}function wt(t,e){return b(t.getUTCFullYear()%100,e,2)}function Et(t,e){return b(t.getUTCFullYear()%1e4,e,4)}function xt(){return"+0000"}function Ct(){return"%"}function Tt(t){return+t}function At(t){return Math.floor(+t/1e3)}f=d({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"]}),_=f.format,f.parse,p=f.utcFormat,f.utcParse},68936:function(t,e,n){"use strict";n.d(e,{m:function(){return a}});var i=n(81628),r=n(69792),o=(0,i.c)((function(t){t.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*r.iy)/r.SK}),(function(t){return t.getDate()-1}));e.c=o;var a=o.range},69792:function(t,e,n){"use strict";n.d(e,{KK:function(){return s},SK:function(){return a},cg:function(){return o},iy:function(){return r},yc:function(){return i}});var i=1e3,r=6e4,o=36e5,a=864e5,s=6048e5},73220:function(t,e,n){"use strict";n.r(e),n.d(e,{timeDay:function(){return v.c},timeDays:function(){return v.m},timeFriday:function(){return g.iB},timeFridays:function(){return g.sJ},timeHour:function(){return p},timeHours:function(){return m},timeInterval:function(){return i.c},timeMillisecond:function(){return o},timeMilliseconds:function(){return a},timeMinute:function(){return d},timeMinutes:function(){return f},timeMonday:function(){return g.qT},timeMondays:function(){return g.QP},timeMonth:function(){return b},timeMonths:function(){return w},timeSaturday:function(){return g.Wc},timeSaturdays:function(){return g.aI},timeSecond:function(){return u},timeSeconds:function(){return c},timeSunday:function(){return g.uU},timeSundays:function(){return g.Ab},timeThursday:function(){return g.kD},timeThursdays:function(){return g.eC},timeTuesday:function(){return g.Mf},timeTuesdays:function(){return g.Oc},timeWednesday:function(){return g.eg},timeWednesdays:function(){return g.sn},timeWeek:function(){return g.uU},timeWeeks:function(){return g.Ab},timeYear:function(){return E.c},timeYears:function(){return E.Q},utcDay:function(){return k.c},utcDays:function(){return k.o},utcFriday:function(){return N.od},utcFridays:function(){return N.iG},utcHour:function(){return S},utcHours:function(){return z},utcMillisecond:function(){return o},utcMilliseconds:function(){return a},utcMinute:function(){return C},utcMinutes:function(){return T},utcMonday:function(){return N.ot},utcMondays:function(){return N.iO},utcMonth:function(){return O},utcMonths:function(){return L},utcSaturday:function(){return N.Ad},utcSaturdays:function(){return N.K8},utcSecond:function(){return u},utcSeconds:function(){return c},utcSunday:function(){return N.EV},utcSundays:function(){return N.Wq},utcThursday:function(){return N.yA},utcThursdays:function(){return N.ob},utcTuesday:function(){return N.sG},utcTuesdays:function(){return N.kl},utcWednesday:function(){return N._6},utcWednesdays:function(){return N.W_},utcWeek:function(){return N.EV},utcWeeks:function(){return N.Wq},utcYear:function(){return M.c},utcYears:function(){return M.i}});var i=n(81628),r=(0,i.c)((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));r.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?(0,i.c)((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):r:null};var o=r,a=r.range,s=n(69792),l=(0,i.c)((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*s.yc)}),(function(t,e){return(e-t)/s.yc}),(function(t){return t.getUTCSeconds()})),u=l,c=l.range,h=(0,i.c)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*s.yc)}),(function(t,e){t.setTime(+t+e*s.iy)}),(function(t,e){return(e-t)/s.iy}),(function(t){return t.getMinutes()})),d=h,f=h.range,_=(0,i.c)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*s.yc-t.getMinutes()*s.iy)}),(function(t,e){t.setTime(+t+e*s.cg)}),(function(t,e){return(e-t)/s.cg}),(function(t){return t.getHours()})),p=_,m=_.range,v=n(68936),g=n(46192),y=(0,i.c)((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()})),b=y,w=y.range,E=n(32171),x=(0,i.c)((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*s.iy)}),(function(t,e){return(e-t)/s.iy}),(function(t){return t.getUTCMinutes()})),C=x,T=x.range,A=(0,i.c)((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*s.cg)}),(function(t,e){return(e-t)/s.cg}),(function(t){return t.getUTCHours()})),S=A,z=A.range,k=n(58931),N=n(8208),I=(0,i.c)((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()})),O=I,L=I.range,M=n(53528)},81628:function(t,e,n){"use strict";n.d(e,{c:function(){return o}});var i=new Date,r=new Date;function o(t,e,n,a){function s(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return s.floor=function(e){return t(e=new Date(+e)),e},s.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},s.round=function(t){var e=s(t),n=s.ceil(t);return t-e0))return a;do{a.push(o=new Date(+n)),e(n,r),t(n)}while(o=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,i){if(t>=t)if(i<0)for(;++i<=0;)for(;e(t,-1),!n(t););else for(;--i>=0;)for(;e(t,1),!n(t););}))},n&&(s.count=function(e,o){return i.setTime(+e),r.setTime(+o),t(i),t(r),Math.floor(n(i,r))},s.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?s.filter(a?function(e){return a(e)%t==0}:function(e){return s.count(0,e)%t==0}):s:null}),s}},58931:function(t,e,n){"use strict";n.d(e,{o:function(){return a}});var i=n(81628),r=n(69792),o=(0,i.c)((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/r.SK}),(function(t){return t.getUTCDate()-1}));e.c=o;var a=o.range},8208:function(t,e,n){"use strict";n.d(e,{Ad:function(){return d},EV:function(){return a},K8:function(){return y},W_:function(){return m},Wq:function(){return f},_6:function(){return u},iG:function(){return g},iO:function(){return _},kl:function(){return p},ob:function(){return v},od:function(){return h},ot:function(){return s},sG:function(){return l},yA:function(){return c}});var i=n(81628),r=n(69792);function o(t){return(0,i.c)((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)/r.KK}))}var a=o(0),s=o(1),l=o(2),u=o(3),c=o(4),h=o(5),d=o(6),f=a.range,_=s.range,p=l.range,m=u.range,v=c.range,g=h.range,y=d.range},53528:function(t,e,n){"use strict";n.d(e,{i:function(){return o}});var i=n(81628),r=(0,i.c)((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()}));r.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,i.c)((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},e.c=r;var o=r.range},46192:function(t,e,n){"use strict";n.d(e,{Ab:function(){return f},Mf:function(){return l},Oc:function(){return p},QP:function(){return _},Wc:function(){return d},aI:function(){return y},eC:function(){return v},eg:function(){return u},iB:function(){return h},kD:function(){return c},qT:function(){return s},sJ:function(){return g},sn:function(){return m},uU:function(){return a}});var i=n(81628),r=n(69792);function o(t){return(0,i.c)((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())*r.iy)/r.KK}))}var a=o(0),s=o(1),l=o(2),u=o(3),c=o(4),h=o(5),d=o(6),f=a.range,_=s.range,p=l.range,m=u.range,v=c.range,g=h.range,y=d.range},32171:function(t,e,n){"use strict";n.d(e,{Q:function(){return o}});var i=n(81628),r=(0,i.c)((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()}));r.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,i.c)((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},e.c=r;var o=r.range},64348:function(t,e,n){"use strict";var i=n(39640)(),r=n(53664),o=i&&r("%Object.defineProperty%",!0);if(o)try{o({},"a",{value:1})}catch(t){o=!1}var a=r("%SyntaxError%"),s=r("%TypeError%"),l=n(2304);t.exports=function(t,e,n){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new s("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new s("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new s("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new s("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new s("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new s("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,r=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],h=!!l&&l(t,e);if(o)o(t,e,{configurable:null===u&&h?h.configurable:!u,enumerable:null===i&&h?h.enumerable:!i,value:n,writable:null===r&&h?h.writable:!r});else{if(!c&&(i||r||u))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=n}}},81288:function(t,e,n){"use strict";var i=n(41820),r="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,l=n(39640)(),u=s&&l,c=function(t,e,n,i){if(e in t)if(!0===i){if(t[e]===n)return}else if("function"!=typeof(r=i)||"[object Function]"!==o.call(r)||!i())return;var r;u?s(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n},h=function(t,e){var n=arguments.length>2?arguments[2]:{},o=i(e);r&&(o=a.call(o,Object.getOwnPropertySymbols(e)));for(var s=0;ss*l){var f=(d-h)/s;a[c]=1e3*f}}return a}function r(t){for(var e=[],n=t[0];n<=t[1];n++)for(var i=String.fromCharCode(n),r=t[0];r0)return function(t,e){var n,i;for(n=new Array(t),i=0;i80*o){a=l=t[0],s=h=t[1];for(var b=o;bl&&(l=d),_>h&&(h=_);p=0!==(p=Math.max(l-a,h-s))?1/p:0}return r(g,y,o,a,s,p),y}function n(t,e,n,i,r){var o,a;if(r===A(t,e,n,i)>0)for(o=e;o=e;o-=i)a=x(o,t[o],t[o+1],a);return a&&v(a,a.next)&&(C(a),a=a.next),a}function i(t,e){if(!t)return t;e||(e=t);var n,i=t;do{if(n=!1,i.steiner||!v(i,i.next)&&0!==m(i.prev,i,i.next))i=i.next;else{if(C(i),(i=e=i.prev)===i.next)break;n=!0}}while(n||i!==e);return e}function r(t,e,n,u,c,h,f){if(t){!f&&h&&function(t,e,n,i){var r=t;do{null===r.z&&(r.z=d(r.x,r.y,e,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next}while(r!==t);r.prevZ.nextZ=null,r.prevZ=null,function(t){var e,n,i,r,o,a,s,l,u=1;do{for(n=t,t=null,o=null,a=0;n;){for(a++,i=n,s=0,e=0;e0||l>0&&i;)0!==s&&(0===l||!i||n.z<=i.z)?(r=n,n=n.nextZ,s--):(r=i,i=i.nextZ,l--),o?o.nextZ=r:t=r,r.prevZ=o,o=r;n=i}o.nextZ=null,u*=2}while(a>1)}(r)}(t,u,c,h);for(var _,p,m=t;t.prev!==t.next;)if(_=t.prev,p=t.next,h?a(t,u,c,h):o(t))e.push(_.i/n),e.push(t.i/n),e.push(p.i/n),C(t),t=p.next,m=p.next;else if((t=p)===m){f?1===f?r(t=s(i(t),e,n),e,n,u,c,h,2):2===f&&l(t,e,n,u,c,h):r(i(t),e,n,u,c,h,1);break}}}function o(t){var e=t.prev,n=t,i=t.next;if(m(e,n,i)>=0)return!1;for(var r=t.next.next;r!==t.prev;){if(_(e.x,e.y,n.x,n.y,i.x,i.y,r.x,r.y)&&m(r.prev,r,r.next)>=0)return!1;r=r.next}return!0}function a(t,e,n,i){var r=t.prev,o=t,a=t.next;if(m(r,o,a)>=0)return!1;for(var s=r.xo.x?r.x>a.x?r.x:a.x:o.x>a.x?o.x:a.x,c=r.y>o.y?r.y>a.y?r.y:a.y:o.y>a.y?o.y:a.y,h=d(s,l,e,n,i),f=d(u,c,e,n,i),p=t.prevZ,v=t.nextZ;p&&p.z>=h&&v&&v.z<=f;){if(p!==t.prev&&p!==t.next&&_(r.x,r.y,o.x,o.y,a.x,a.y,p.x,p.y)&&m(p.prev,p,p.next)>=0)return!1;if(p=p.prevZ,v!==t.prev&&v!==t.next&&_(r.x,r.y,o.x,o.y,a.x,a.y,v.x,v.y)&&m(v.prev,v,v.next)>=0)return!1;v=v.nextZ}for(;p&&p.z>=h;){if(p!==t.prev&&p!==t.next&&_(r.x,r.y,o.x,o.y,a.x,a.y,p.x,p.y)&&m(p.prev,p,p.next)>=0)return!1;p=p.prevZ}for(;v&&v.z<=f;){if(v!==t.prev&&v!==t.next&&_(r.x,r.y,o.x,o.y,a.x,a.y,v.x,v.y)&&m(v.prev,v,v.next)>=0)return!1;v=v.nextZ}return!0}function s(t,e,n){var r=t;do{var o=r.prev,a=r.next.next;!v(o,a)&&g(o,r,r.next,a)&&w(o,a)&&w(a,o)&&(e.push(o.i/n),e.push(r.i/n),e.push(a.i/n),C(r),C(r.next),r=t=a),r=r.next}while(r!==t);return i(r)}function l(t,e,n,o,a,s){var l=t;do{for(var u=l.next.next;u!==l.prev;){if(l.i!==u.i&&p(l,u)){var c=E(l,u);return l=i(l,l.next),c=i(c,c.next),r(l,e,n,o,a,s),void r(c,e,n,o,a,s)}u=u.next}l=l.next}while(l!==t)}function u(t,e){return t.x-e.x}function c(t,e){if(e=function(t,e){var n,i=e,r=t.x,o=t.y,a=-1/0;do{if(o<=i.y&&o>=i.next.y&&i.next.y!==i.y){var s=i.x+(o-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(s<=r&&s>a){if(a=s,s===r){if(o===i.y)return i;if(o===i.next.y)return i.next}n=i.x=i.x&&i.x>=c&&r!==i.x&&_(on.x||i.x===n.x&&h(n,i)))&&(n=i,f=l)),i=i.next}while(i!==u);return n}(t,e),e){var n=E(e,t);i(e,e.next),i(n,n.next)}}function h(t,e){return m(t.prev,t,e.prev)<0&&m(e.next,t,t.next)<0}function d(t,e,n,i,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*r)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-i)*r)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function f(t){var e=t,n=t;do{(e.x=0&&(t-a)*(i-s)-(n-a)*(e-s)>=0&&(n-a)*(o-s)-(r-a)*(i-s)>=0}function p(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&g(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&(w(t,e)&&w(e,t)&&function(t,e){var n=t,i=!1,r=(t.x+e.x)/2,o=(t.y+e.y)/2;do{n.y>o!=n.next.y>o&&n.next.y!==n.y&&r<(n.next.x-n.x)*(o-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next}while(n!==t);return i}(t,e)&&(m(t.prev,t,e.prev)||m(t,e.prev,e))||v(t,e)&&m(t.prev,t,t.next)>0&&m(e.prev,e,e.next)>0)}function m(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function v(t,e){return t.x===e.x&&t.y===e.y}function g(t,e,n,i){var r=b(m(t,e,n)),o=b(m(t,e,i)),a=b(m(n,i,t)),s=b(m(n,i,e));return r!==o&&a!==s||!(0!==r||!y(t,n,e))||!(0!==o||!y(t,i,e))||!(0!==a||!y(n,t,i))||!(0!==s||!y(n,e,i))}function y(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function b(t){return t>0?1:t<0?-1:0}function w(t,e){return m(t.prev,t,t.next)<0?m(t,e,t.next)>=0&&m(t,t.prev,e)>=0:m(t,e,t.prev)<0||m(t,t.next,e)<0}function E(t,e){var n=new T(t.i,t.x,t.y),i=new T(e.i,e.x,e.y),r=t.next,o=e.prev;return t.next=e,e.prev=t,n.next=r,r.prev=n,i.next=n,n.prev=i,o.next=i,i.prev=o,i}function x(t,e,n,i){var r=new T(t,e,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function C(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function T(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function A(t,e,n,i){for(var r=0,o=e,a=n-i;o0&&(i+=t[r-1].length,n.holes.push(i))}return n}},6688:function(t,e,n){var i=n(78484);t.exports=function(t,e){var n,r=[],o=[],a=[],s={},l=[];function u(t){a[t]=!1,s.hasOwnProperty(t)&&Object.keys(s[t]).forEach((function(e){delete s[t][e],a[e]&&u(e)}))}function c(t){var e,i,r=!1;for(o.push(t),a[t]=!0,e=0;e=e}))}(e);for(var n,r=i(t).components.filter((function(t){return t.length>1})),o=1/0,a=0;a=55296&&g<=56319&&(E+=t[++n]),E=x?d.call(x,C,E,p):E,e?(f.value=E,_(m,p,f)):m[p]=E,++p;v=p}if(void 0===v)for(v=a(t.length),e&&(m=new e(v)),n=0;n0?1:-1}},96936:function(t,e,n){"use strict";var i=n(85608),r=Math.abs,o=Math.floor;t.exports=function(t){return isNaN(t)?0:0!==(t=Number(t))&&isFinite(t)?i(t)*o(r(t)):t}},81304:function(t,e,n){"use strict";var i=n(96936),r=Math.max;t.exports=function(t){return r(0,i(t))}},14428:function(t,e,n){"use strict";var i=n(34044),r=n(9252),o=Function.prototype.bind,a=Function.prototype.call,s=Object.keys,l=Object.prototype.propertyIsEnumerable;t.exports=function(t,e){return function(n,u){var c,h=arguments[2],d=arguments[3];return n=Object(r(n)),i(u),c=s(n),d&&c.sort("function"==typeof d?o.call(d,n):void 0),"function"!=typeof t&&(t=c[t]),a.call(t,c,(function(t,i){return l.call(n,t)?a.call(u,h,n[t],t,n,i):e}))}}},38452:function(t,e,n){"use strict";t.exports=n(96276)()?Object.assign:n(81892)},96276:function(t){"use strict";t.exports=function(){var t,e=Object.assign;return"function"==typeof e&&(e(t={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},81892:function(t,e,n){"use strict";var i=n(54768),r=n(9252),o=Math.max;t.exports=function(t,e){var n,a,s,l=o(arguments.length,2);for(t=Object(r(t)),s=function(i){try{t[i]=e[i]}catch(t){n||(n=t)}},a=1;a-1}},29768:function(t){"use strict";var e=Object.prototype.toString,n=e.call("");t.exports=function(t){return"string"==typeof t||t&&"object"==typeof t&&(t instanceof String||e.call(t)===n)||!1}},82252:function(t){"use strict";var e=Object.create(null),n=Math.random;t.exports=function(){var t;do{t=n().toString(36).slice(2)}while(e[t]);return t}},52104:function(t,e,n){"use strict";var i,r=n(69932),o=n(71056),a=n(21092),s=n(92664),l=n(85512),u=Object.defineProperty;i=t.exports=function(t,e){if(!(this instanceof i))throw new TypeError("Constructor requires 'new'");l.call(this,t),e=e?o.call(e,"key+value")?"key+value":o.call(e,"key")?"key":"value":"value",u(this,"__kind__",a("",e))},r&&r(i,l),delete i.prototype.constructor,i.prototype=Object.create(l.prototype,{_resolve:a((function(t){return"value"===this.__kind__?this.__list__[t]:"key+value"===this.__kind__?[t,this.__list__[t]]:t}))}),u(i.prototype,s.toStringTag,a("c","Array Iterator"))},76024:function(t,e,n){"use strict";var i=n(60948),r=n(34044),o=n(29768),a=n(76252),s=Array.isArray,l=Function.prototype.call,u=Array.prototype.some;t.exports=function(t,e){var n,c,h,d,f,_,p,m,v=arguments[2];if(s(t)||i(t)?n="array":o(t)?n="string":t=a(t),r(e),h=function(){d=!0},"array"!==n)if("string"!==n)for(c=t.next();!c.done;){if(l.call(e,v,c.value,h),d)return;c=t.next()}else for(_=t.length,f=0;f<_&&(p=t[f],f+1<_&&(m=p.charCodeAt(0))>=55296&&m<=56319&&(p+=t[++f]),l.call(e,v,p,h),!d);++f);else u.call(t,(function(t){return l.call(e,v,t,h),d}))}},76252:function(t,e,n){"use strict";var i=n(60948),r=n(29768),o=n(52104),a=n(80940),s=n(52891),l=n(92664).iterator;t.exports=function(t){return"function"==typeof s(t)[l]?t[l]():i(t)?new o(t):r(t)?new a(t):new o(t)}},85512:function(t,e,n){"use strict";var i,r=n(41476),o=n(38452),a=n(34044),s=n(9252),l=n(21092),u=n(27940),c=n(92664),h=Object.defineProperty,d=Object.defineProperties;t.exports=i=function(t,e){if(!(this instanceof i))throw new TypeError("Constructor requires 'new'");d(this,{__list__:l("w",s(t)),__context__:l("w",e),__nextIndex__:l("w",0)}),e&&(a(e.on),e.on("_add",this._onAdd),e.on("_delete",this._onDelete),e.on("_clear",this._onClear))},delete i.prototype.constructor,d(i.prototype,o({_next:l((function(){var t;if(this.__list__)return this.__redo__&&void 0!==(t=this.__redo__.shift())?t:this.__nextIndex__=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach((function(e,n){e>=t&&(this.__redo__[n]=++e)}),this),this.__redo__.push(t)):h(this,"__redo__",l("c",[t])))})),_onDelete:l((function(t){var e;t>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(-1!==(e=this.__redo__.indexOf(t))&&this.__redo__.splice(e,1),this.__redo__.forEach((function(e,n){e>t&&(this.__redo__[n]=--e)}),this)))})),_onClear:l((function(){this.__redo__&&r.call(this.__redo__),this.__nextIndex__=0}))}))),h(i.prototype,c.iterator,l((function(){return this})))},76368:function(t,e,n){"use strict";var i=n(60948),r=n(42584),o=n(29768),a=n(92664).iterator,s=Array.isArray;t.exports=function(t){return!(!r(t)||!s(t)&&!o(t)&&!i(t)&&"function"!=typeof t[a])}},80940:function(t,e,n){"use strict";var i,r=n(69932),o=n(21092),a=n(92664),s=n(85512),l=Object.defineProperty;i=t.exports=function(t){if(!(this instanceof i))throw new TypeError("Constructor requires 'new'");t=String(t),s.call(this,t),l(this,"__length__",o("",t.length))},r&&r(i,s),delete i.prototype.constructor,i.prototype=Object.create(s.prototype,{_next:o((function(){if(this.__list__)return this.__nextIndex__=55296&&e<=56319?n+this.__list__[this.__nextIndex__++]:n}))}),l(i.prototype,a.toStringTag,o("c","String Iterator"))},52891:function(t,e,n){"use strict";var i=n(76368);t.exports=function(t){if(!i(t))throw new TypeError(t+" is not iterable");return t}},60964:function(t){"use strict";function e(t,e){if(null==t)throw new TypeError("Cannot convert first argument to object");for(var n=Object(t),i=1;i0&&a.length>r&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=a.length,u=c,console&&console.warn&&console.warn(u)}return t}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(t,e,n){var i={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},r=c.bind(i);return r.listener=n,i.wrapFn=r,r}function d(t,e,n){var i=t._events;if(void 0===i)return[];var r=i[e];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(t){for(var e=new Array(t.length),n=0;n0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[t];if(void 0===l)return!1;if("function"==typeof l)i(l,this,e);else{var u=l.length,c=_(l,u);for(n=0;n=0;o--)if(n[o]===e||n[o].listener===e){a=n[o].listener,r=o;break}if(r<0)return this;0===r?n.shift():function(t,e){for(;e+1=0;i--)this.removeListener(t,e[i]);return this},o.prototype.listeners=function(t){return d(this,t,!0)},o.prototype.rawListeners=function(t){return d(this,t,!1)},o.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):f.call(t,e)},o.prototype.listenerCount=f,o.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},39072:function(t){var e=function(){if("object"==typeof self&&self)return self;if("object"==typeof window&&window)return window;throw new Error("Unable to resolve global `this`")};t.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(t){return e()}try{return __global__||e()}finally{delete Object.prototype.__global__}}()},12296:function(t,e,n){"use strict";t.exports=n(45072)()?globalThis:n(39072)},45072:function(t){"use strict";t.exports=function(){return"object"==typeof globalThis&&!!globalThis&&globalThis.Array===Array}},38248:function(t,e,n){"use strict";var i=n(94576);t.exports=function(t){var e=typeof t;if("string"===e){var n=t;if(0==(t=+t)&&i(n))return!1}else if("number"!==e)return!1;return t-t<1}},47520:function(t,e,n){var i=n(72512);t.exports=function(t,e,n){if(!t)throw new TypeError("must specify data as first parameter");if(n=0|+(n||0),Array.isArray(t)&&t[0]&&"number"==typeof t[0][0]){var r,o,a,s,l=t[0].length,u=t.length*l;e&&"string"!=typeof e||(e=new(i(e||"float32"))(u+n));var c=e.length-n;if(u!==c)throw new Error("source length "+u+" ("+l+"x"+t.length+") does not match destination length "+c);for(r=0,a=n;re[0]-a[0]/2&&(d=a[0]/2,f+=a[1]);return n}},71920:function(t){"use strict";function e(t,o){o||(o={}),("string"==typeof t||Array.isArray(t))&&(o.family=t);var a=Array.isArray(o.family)?o.family.join(", "):o.family;if(!a)throw Error("`family` must be defined");var s=o.size||o.fontSize||o.em||48,l=o.weight||o.fontWeight||"",u=(t=[o.style||o.fontStyle||"",l,s].join(" ")+"px "+a,o.origin||"top");if(e.cache[a]&&s<=e.cache[a].em)return n(e.cache[a],u);var c=o.canvas||e.canvas,h=c.getContext("2d"),d={upper:void 0!==o.upper?o.upper:"H",lower:void 0!==o.lower?o.lower:"x",descent:void 0!==o.descent?o.descent:"p",ascent:void 0!==o.ascent?o.ascent:"h",tittle:void 0!==o.tittle?o.tittle:"i",overshoot:void 0!==o.overshoot?o.overshoot:"O"},f=Math.ceil(1.5*s);c.height=f,c.width=.5*f,h.font=t;var _="H",p={top:0};h.clearRect(0,0,f,f),h.textBaseline="top",h.fillStyle="black",h.fillText(_,0,0);var m=i(h.getImageData(0,0,f,f));h.clearRect(0,0,f,f),h.textBaseline="bottom",h.fillText(_,0,f);var v=i(h.getImageData(0,0,f,f));p.lineHeight=p.bottom=f-v+m,h.clearRect(0,0,f,f),h.textBaseline="alphabetic",h.fillText(_,0,f);var g=f-i(h.getImageData(0,0,f,f))-1+m;p.baseline=p.alphabetic=g,h.clearRect(0,0,f,f),h.textBaseline="middle",h.fillText(_,0,.5*f);var y=i(h.getImageData(0,0,f,f));p.median=p.middle=f-y-1+m-.5*f,h.clearRect(0,0,f,f),h.textBaseline="hanging",h.fillText(_,0,.5*f);var b=i(h.getImageData(0,0,f,f));p.hanging=f-b-1+m-.5*f,h.clearRect(0,0,f,f),h.textBaseline="ideographic",h.fillText(_,0,f);var w=i(h.getImageData(0,0,f,f));if(p.ideographic=f-w-1+m,d.upper&&(h.clearRect(0,0,f,f),h.textBaseline="top",h.fillText(d.upper,0,0),p.upper=i(h.getImageData(0,0,f,f)),p.capHeight=p.baseline-p.upper),d.lower&&(h.clearRect(0,0,f,f),h.textBaseline="top",h.fillText(d.lower,0,0),p.lower=i(h.getImageData(0,0,f,f)),p.xHeight=p.baseline-p.lower),d.tittle&&(h.clearRect(0,0,f,f),h.textBaseline="top",h.fillText(d.tittle,0,0),p.tittle=i(h.getImageData(0,0,f,f))),d.ascent&&(h.clearRect(0,0,f,f),h.textBaseline="top",h.fillText(d.ascent,0,0),p.ascent=i(h.getImageData(0,0,f,f))),d.descent&&(h.clearRect(0,0,f,f),h.textBaseline="top",h.fillText(d.descent,0,0),p.descent=r(h.getImageData(0,0,f,f))),d.overshoot){h.clearRect(0,0,f,f),h.textBaseline="top",h.fillText(d.overshoot,0,0);var E=r(h.getImageData(0,0,f,f));p.overshoot=E-g}for(var x in p)p[x]/=s;return p.em=s,e.cache[a]=p,n(p,u)}function n(t,e){var n={};for(var i in"string"==typeof e&&(e=t[e]),t)"em"!==i&&(n[i]=t[i]-e);return n}function i(t){for(var e=t.height,n=t.data,i=3;i0;i-=4)if(0!==n[i])return Math.floor(.25*(i-3)/e)}t.exports=e,e.canvas=document.createElement("canvas"),e.cache={}},46492:function(t,e,n){"use strict";var i=n(90720),r=Object.prototype.toString,o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){if(!i(e))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=n),"[object Array]"===r.call(t)?function(t,e,n){for(var i=0,r=t.length;i1&&"boolean"!=typeof e)throw new a('"allowMissing" argument must be a boolean');if(null===A(/^%?[^%]*%?$/,t))throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(t){var e=T(t,0,1),n=T(t,-1);if("%"===e&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new r("invalid intrinsic syntax, expected opening `%`");var i=[];return C(t,S,(function(t,e,n,r){i[i.length]=n?C(r,z,"$1"):e||t})),i}(t),i=n.length>0?n[0]:"",o=k("%"+i+"%",e),s=o.name,u=o.value,c=!1,h=o.alias;h&&(i=h[0],x(n,E([0,1],h)));for(var d=1,f=!0;d=n.length){var g=l(u,_);u=(f=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:u[_]}else f=w(u,_),u=u[_];f&&!c&&(m[s]=u)}}return u}},12408:function(t){t.exports=function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=e[9],d=e[10],f=e[11],_=e[12],p=e[13],m=e[14],v=e[15];return t[0]=s*(d*v-f*m)-h*(l*v-u*m)+p*(l*f-u*d),t[1]=-(i*(d*v-f*m)-h*(r*v-o*m)+p*(r*f-o*d)),t[2]=i*(l*v-u*m)-s*(r*v-o*m)+p*(r*u-o*l),t[3]=-(i*(l*f-u*d)-s*(r*f-o*d)+h*(r*u-o*l)),t[4]=-(a*(d*v-f*m)-c*(l*v-u*m)+_*(l*f-u*d)),t[5]=n*(d*v-f*m)-c*(r*v-o*m)+_*(r*f-o*d),t[6]=-(n*(l*v-u*m)-a*(r*v-o*m)+_*(r*u-o*l)),t[7]=n*(l*f-u*d)-a*(r*f-o*d)+c*(r*u-o*l),t[8]=a*(h*v-f*p)-c*(s*v-u*p)+_*(s*f-u*h),t[9]=-(n*(h*v-f*p)-c*(i*v-o*p)+_*(i*f-o*h)),t[10]=n*(s*v-u*p)-a*(i*v-o*p)+_*(i*u-o*s),t[11]=-(n*(s*f-u*h)-a*(i*f-o*h)+c*(i*u-o*s)),t[12]=-(a*(h*m-d*p)-c*(s*m-l*p)+_*(s*d-l*h)),t[13]=n*(h*m-d*p)-c*(i*m-r*p)+_*(i*d-r*h),t[14]=-(n*(s*m-l*p)-a*(i*m-r*p)+_*(i*l-r*s)),t[15]=n*(s*d-l*h)-a*(i*d-r*h)+c*(i*l-r*s),t}},76860:function(t){t.exports=function(t){var e=new Float32Array(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}},64492:function(t){t.exports=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}},54212:function(t){t.exports=function(){var t=new Float32Array(16);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},70800:function(t){t.exports=function(t){var e=t[0],n=t[1],i=t[2],r=t[3],o=t[4],a=t[5],s=t[6],l=t[7],u=t[8],c=t[9],h=t[10],d=t[11],f=t[12],_=t[13],p=t[14],m=t[15];return(e*a-n*o)*(h*m-d*p)-(e*s-i*o)*(c*m-d*_)+(e*l-r*o)*(c*p-h*_)+(n*s-i*a)*(u*m-d*f)-(n*l-r*a)*(u*p-h*f)+(i*l-r*s)*(u*_-c*f)}},61784:function(t){t.exports=function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=n+n,s=i+i,l=r+r,u=n*a,c=i*a,h=i*s,d=r*a,f=r*s,_=r*l,p=o*a,m=o*s,v=o*l;return t[0]=1-h-_,t[1]=c+v,t[2]=d-m,t[3]=0,t[4]=c-v,t[5]=1-u-_,t[6]=f+p,t[7]=0,t[8]=d+m,t[9]=f-p,t[10]=1-u-h,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},91616:function(t){t.exports=function(t,e,n){var i,r,o,a=n[0],s=n[1],l=n[2],u=Math.sqrt(a*a+s*s+l*l);return Math.abs(u)<1e-6?null:(a*=u=1/u,s*=u,l*=u,i=Math.sin(e),o=1-(r=Math.cos(e)),t[0]=a*a*o+r,t[1]=s*a*o+l*i,t[2]=l*a*o-s*i,t[3]=0,t[4]=a*s*o-l*i,t[5]=s*s*o+r,t[6]=l*s*o+a*i,t[7]=0,t[8]=a*l*o+s*i,t[9]=s*l*o-a*i,t[10]=l*l*o+r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t)}},51944:function(t){t.exports=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=i+i,l=r+r,u=o+o,c=i*s,h=i*l,d=i*u,f=r*l,_=r*u,p=o*u,m=a*s,v=a*l,g=a*u;return t[0]=1-(f+p),t[1]=h+g,t[2]=d-v,t[3]=0,t[4]=h-g,t[5]=1-(c+p),t[6]=_+m,t[7]=0,t[8]=d+v,t[9]=_-m,t[10]=1-(c+f),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}},69444:function(t){t.exports=function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},48268:function(t){t.exports=function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}},21856:function(t){t.exports=function(t,e){var n=Math.sin(e),i=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=i,t[6]=n,t[7]=0,t[8]=0,t[9]=-n,t[10]=i,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},79216:function(t){t.exports=function(t,e){var n=Math.sin(e),i=Math.cos(e);return t[0]=i,t[1]=0,t[2]=-n,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=n,t[9]=0,t[10]=i,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},57736:function(t){t.exports=function(t,e){var n=Math.sin(e),i=Math.cos(e);return t[0]=i,t[1]=n,t[2]=0,t[3]=0,t[4]=-n,t[5]=i,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},38848:function(t){t.exports=function(t,e,n,i,r,o,a){var s=1/(n-e),l=1/(r-i),u=1/(o-a);return t[0]=2*o*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*o*l,t[6]=0,t[7]=0,t[8]=(n+e)*s,t[9]=(r+i)*l,t[10]=(a+o)*u,t[11]=-1,t[12]=0,t[13]=0,t[14]=a*o*2*u,t[15]=0,t}},36635:function(t){t.exports=function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},36524:function(t,e,n){t.exports={create:n(54212),clone:n(76860),copy:n(64492),identity:n(36635),transpose:n(86520),invert:n(4308),adjoint:n(12408),determinant:n(70800),multiply:n(80944),translate:n(35176),scale:n(68152),rotate:n(30016),rotateX:n(15456),rotateY:n(64840),rotateZ:n(4192),fromRotation:n(91616),fromRotationTranslation:n(51944),fromScaling:n(69444),fromTranslation:n(48268),fromXRotation:n(21856),fromYRotation:n(79216),fromZRotation:n(57736),fromQuat:n(61784),frustum:n(38848),perspective:n(51296),perspectiveFromFieldOfView:n(63688),ortho:n(97688),lookAt:n(56508),str:n(89412)}},4308:function(t){t.exports=function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=e[9],d=e[10],f=e[11],_=e[12],p=e[13],m=e[14],v=e[15],g=n*s-i*a,y=n*l-r*a,b=n*u-o*a,w=i*l-r*s,E=i*u-o*s,x=r*u-o*l,C=c*p-h*_,T=c*m-d*_,A=c*v-f*_,S=h*m-d*p,z=h*v-f*p,k=d*v-f*m,N=g*k-y*z+b*S+w*A-E*T+x*C;return N?(N=1/N,t[0]=(s*k-l*z+u*S)*N,t[1]=(r*z-i*k-o*S)*N,t[2]=(p*x-m*E+v*w)*N,t[3]=(d*E-h*x-f*w)*N,t[4]=(l*A-a*k-u*T)*N,t[5]=(n*k-r*A+o*T)*N,t[6]=(m*b-_*x-v*y)*N,t[7]=(c*x-d*b+f*y)*N,t[8]=(a*z-s*A+u*C)*N,t[9]=(i*A-n*z-o*C)*N,t[10]=(_*E-p*b+v*g)*N,t[11]=(h*b-c*E-f*g)*N,t[12]=(s*T-a*S-l*C)*N,t[13]=(n*S-i*T+r*C)*N,t[14]=(p*y-_*w-m*g)*N,t[15]=(c*w-h*y+d*g)*N,t):null}},56508:function(t,e,n){var i=n(36635);t.exports=function(t,e,n,r){var o,a,s,l,u,c,h,d,f,_,p=e[0],m=e[1],v=e[2],g=r[0],y=r[1],b=r[2],w=n[0],E=n[1],x=n[2];return Math.abs(p-w)<1e-6&&Math.abs(m-E)<1e-6&&Math.abs(v-x)<1e-6?i(t):(h=p-w,d=m-E,f=v-x,o=y*(f*=_=1/Math.sqrt(h*h+d*d+f*f))-b*(d*=_),a=b*(h*=_)-g*f,s=g*d-y*h,(_=Math.sqrt(o*o+a*a+s*s))?(o*=_=1/_,a*=_,s*=_):(o=0,a=0,s=0),l=d*s-f*a,u=f*o-h*s,c=h*a-d*o,(_=Math.sqrt(l*l+u*u+c*c))?(l*=_=1/_,u*=_,c*=_):(l=0,u=0,c=0),t[0]=o,t[1]=l,t[2]=h,t[3]=0,t[4]=a,t[5]=u,t[6]=d,t[7]=0,t[8]=s,t[9]=c,t[10]=f,t[11]=0,t[12]=-(o*p+a*m+s*v),t[13]=-(l*p+u*m+c*v),t[14]=-(h*p+d*m+f*v),t[15]=1,t)}},80944:function(t){t.exports=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],h=e[8],d=e[9],f=e[10],_=e[11],p=e[12],m=e[13],v=e[14],g=e[15],y=n[0],b=n[1],w=n[2],E=n[3];return t[0]=y*i+b*s+w*h+E*p,t[1]=y*r+b*l+w*d+E*m,t[2]=y*o+b*u+w*f+E*v,t[3]=y*a+b*c+w*_+E*g,y=n[4],b=n[5],w=n[6],E=n[7],t[4]=y*i+b*s+w*h+E*p,t[5]=y*r+b*l+w*d+E*m,t[6]=y*o+b*u+w*f+E*v,t[7]=y*a+b*c+w*_+E*g,y=n[8],b=n[9],w=n[10],E=n[11],t[8]=y*i+b*s+w*h+E*p,t[9]=y*r+b*l+w*d+E*m,t[10]=y*o+b*u+w*f+E*v,t[11]=y*a+b*c+w*_+E*g,y=n[12],b=n[13],w=n[14],E=n[15],t[12]=y*i+b*s+w*h+E*p,t[13]=y*r+b*l+w*d+E*m,t[14]=y*o+b*u+w*f+E*v,t[15]=y*a+b*c+w*_+E*g,t}},97688:function(t){t.exports=function(t,e,n,i,r,o,a){var s=1/(e-n),l=1/(i-r),u=1/(o-a);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*s,t[13]=(r+i)*l,t[14]=(a+o)*u,t[15]=1,t}},51296:function(t){t.exports=function(t,e,n,i,r){var o=1/Math.tan(e/2),a=1/(i-r);return t[0]=o/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=(r+i)*a,t[11]=-1,t[12]=0,t[13]=0,t[14]=2*r*i*a,t[15]=0,t}},63688:function(t){t.exports=function(t,e,n,i){var r=Math.tan(e.upDegrees*Math.PI/180),o=Math.tan(e.downDegrees*Math.PI/180),a=Math.tan(e.leftDegrees*Math.PI/180),s=Math.tan(e.rightDegrees*Math.PI/180),l=2/(a+s),u=2/(r+o);return t[0]=l,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=u,t[6]=0,t[7]=0,t[8]=-(a-s)*l*.5,t[9]=(r-o)*u*.5,t[10]=i/(n-i),t[11]=-1,t[12]=0,t[13]=0,t[14]=i*n/(n-i),t[15]=0,t}},30016:function(t){t.exports=function(t,e,n,i){var r,o,a,s,l,u,c,h,d,f,_,p,m,v,g,y,b,w,E,x,C,T,A,S,z=i[0],k=i[1],N=i[2],I=Math.sqrt(z*z+k*k+N*N);return Math.abs(I)<1e-6?null:(z*=I=1/I,k*=I,N*=I,r=Math.sin(n),a=1-(o=Math.cos(n)),s=e[0],l=e[1],u=e[2],c=e[3],h=e[4],d=e[5],f=e[6],_=e[7],p=e[8],m=e[9],v=e[10],g=e[11],y=z*z*a+o,b=k*z*a+N*r,w=N*z*a-k*r,E=z*k*a-N*r,x=k*k*a+o,C=N*k*a+z*r,T=z*N*a+k*r,A=k*N*a-z*r,S=N*N*a+o,t[0]=s*y+h*b+p*w,t[1]=l*y+d*b+m*w,t[2]=u*y+f*b+v*w,t[3]=c*y+_*b+g*w,t[4]=s*E+h*x+p*C,t[5]=l*E+d*x+m*C,t[6]=u*E+f*x+v*C,t[7]=c*E+_*x+g*C,t[8]=s*T+h*A+p*S,t[9]=l*T+d*A+m*S,t[10]=u*T+f*A+v*S,t[11]=c*T+_*A+g*S,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t)}},15456:function(t){t.exports=function(t,e,n){var i=Math.sin(n),r=Math.cos(n),o=e[4],a=e[5],s=e[6],l=e[7],u=e[8],c=e[9],h=e[10],d=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=o*r+u*i,t[5]=a*r+c*i,t[6]=s*r+h*i,t[7]=l*r+d*i,t[8]=u*r-o*i,t[9]=c*r-a*i,t[10]=h*r-s*i,t[11]=d*r-l*i,t}},64840:function(t){t.exports=function(t,e,n){var i=Math.sin(n),r=Math.cos(n),o=e[0],a=e[1],s=e[2],l=e[3],u=e[8],c=e[9],h=e[10],d=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=o*r-u*i,t[1]=a*r-c*i,t[2]=s*r-h*i,t[3]=l*r-d*i,t[8]=o*i+u*r,t[9]=a*i+c*r,t[10]=s*i+h*r,t[11]=l*i+d*r,t}},4192:function(t){t.exports=function(t,e,n){var i=Math.sin(n),r=Math.cos(n),o=e[0],a=e[1],s=e[2],l=e[3],u=e[4],c=e[5],h=e[6],d=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=o*r+u*i,t[1]=a*r+c*i,t[2]=s*r+h*i,t[3]=l*r+d*i,t[4]=u*r-o*i,t[5]=c*r-a*i,t[6]=h*r-s*i,t[7]=d*r-l*i,t}},68152:function(t){t.exports=function(t,e,n){var i=n[0],r=n[1],o=n[2];return t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i,t[3]=e[3]*i,t[4]=e[4]*r,t[5]=e[5]*r,t[6]=e[6]*r,t[7]=e[7]*r,t[8]=e[8]*o,t[9]=e[9]*o,t[10]=e[10]*o,t[11]=e[11]*o,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}},89412:function(t){t.exports=function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"}},35176:function(t){t.exports=function(t,e,n){var i,r,o,a,s,l,u,c,h,d,f,_,p=n[0],m=n[1],v=n[2];return e===t?(t[12]=e[0]*p+e[4]*m+e[8]*v+e[12],t[13]=e[1]*p+e[5]*m+e[9]*v+e[13],t[14]=e[2]*p+e[6]*m+e[10]*v+e[14],t[15]=e[3]*p+e[7]*m+e[11]*v+e[15]):(i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],h=e[8],d=e[9],f=e[10],_=e[11],t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t[6]=u,t[7]=c,t[8]=h,t[9]=d,t[10]=f,t[11]=_,t[12]=i*p+s*m+h*v+e[12],t[13]=r*p+l*m+d*v+e[13],t[14]=o*p+u*m+f*v+e[14],t[15]=a*p+c*m+_*v+e[15]),t}},86520:function(t){t.exports=function(t,e){if(t===e){var n=e[1],i=e[2],r=e[3],o=e[6],a=e[7],s=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=i,t[9]=o,t[11]=e[14],t[12]=r,t[13]=a,t[14]=s}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}},23352:function(t,e,n){"use strict";var i=n(42771),r=n(55616),o=n(28624),a=n(55212),s=n(60463),l=n(72160),u=n(33888),c=n(14144),h=n(51160),d=n(58908),f=n(65819),_=n(23464),p=n(63768),m=n(50896),v=n(71920),g=n(47520),y=n(308).nextPow2,b=new s,w=!1;if(document.body){var E=document.body.appendChild(document.createElement("div"));E.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(E).fontStretch&&(w=!0),document.body.removeChild(E)}var x=function(t){!function(t){return"function"==typeof t&&t._gl&&t.prop&&t.texture&&t.buffer}(t)?this.gl=a(t):(t={regl:t},this.gl=t.regl._gl),this.shader=b.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=t.regl||o({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),b.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(d(t)?t:{})};x.prototype.createShader=function(){var t=this.regl,e=t({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:t.prop("count"),offset:t.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:t.this("sizeBuffer")},width:{offset:0,stride:8,buffer:t.this("sizeBuffer")},char:t.this("charBuffer"),position:t.this("position")},uniforms:{atlasSize:function(t,e){return[e.atlas.width,e.atlas.height]},atlasDim:function(t,e){return[e.atlas.cols,e.atlas.rows]},atlas:function(t,e){return e.atlas.texture},charStep:function(t,e){return e.atlas.step},em:function(t,e){return e.atlas.em},color:t.prop("color"),opacity:t.prop("opacity"),viewport:t.this("viewportArray"),scale:t.this("scale"),align:t.prop("align"),baseline:t.prop("baseline"),translate:t.this("translate"),positionOffset:t.prop("positionOffset")},primitive:"points",viewport:t.this("viewport"),vert:"\n\t\t\tprecision highp float;\n\t\t\tattribute float width, charOffset, char;\n\t\t\tattribute vec2 position;\n\t\t\tuniform float fontSize, charStep, em, align, baseline;\n\t\t\tuniform vec4 viewport;\n\t\t\tuniform vec4 color;\n\t\t\tuniform vec2 atlasSize, atlasDim, scale, translate, positionOffset;\n\t\t\tvarying vec2 charCoord, charId;\n\t\t\tvarying float charWidth;\n\t\t\tvarying vec4 fontColor;\n\t\t\tvoid main () {\n\t\t\t\tvec2 offset = floor(em * (vec2(align + charOffset, baseline)\n\t\t\t\t\t+ vec2(positionOffset.x, -positionOffset.y)))\n\t\t\t\t\t/ (viewport.zw * scale.xy);\n\n\t\t\t\tvec2 position = (position + translate) * scale;\n\t\t\t\tposition += offset * scale;\n\n\t\t\t\tcharCoord = position * viewport.zw + viewport.xy;\n\n\t\t\t\tgl_Position = vec4(position * 2. - 1., 0, 1);\n\n\t\t\t\tgl_PointSize = charStep;\n\n\t\t\t\tcharId.x = mod(char, atlasDim.x);\n\t\t\t\tcharId.y = floor(char / atlasDim.x);\n\n\t\t\t\tcharWidth = width * em;\n\n\t\t\t\tfontColor = color / 255.;\n\t\t\t}",frag:"\n\t\t\tprecision highp float;\n\t\t\tuniform float fontSize, charStep, opacity;\n\t\t\tuniform vec2 atlasSize;\n\t\t\tuniform vec4 viewport;\n\t\t\tuniform sampler2D atlas;\n\t\t\tvarying vec4 fontColor;\n\t\t\tvarying vec2 charCoord, charId;\n\t\t\tvarying float charWidth;\n\n\t\t\tfloat lightness(vec4 color) {\n\t\t\t\treturn color.r * 0.299 + color.g * 0.587 + color.b * 0.114;\n\t\t\t}\n\n\t\t\tvoid main () {\n\t\t\t\tvec2 uv = gl_FragCoord.xy - charCoord + charStep * .5;\n\t\t\t\tfloat halfCharStep = floor(charStep * .5 + .5);\n\n\t\t\t\t// invert y and shift by 1px (FF expecially needs that)\n\t\t\t\tuv.y = charStep - uv.y;\n\n\t\t\t\t// ignore points outside of character bounding box\n\t\t\t\tfloat halfCharWidth = ceil(charWidth * .5);\n\t\t\t\tif (floor(uv.x) > halfCharStep + halfCharWidth ||\n\t\t\t\t\tfloor(uv.x) < halfCharStep - halfCharWidth) return;\n\n\t\t\t\tuv += charId * charStep;\n\t\t\t\tuv = uv / atlasSize;\n\n\t\t\t\tvec4 color = fontColor;\n\t\t\t\tvec4 mask = texture2D(atlas, uv);\n\n\t\t\t\tfloat maskY = lightness(mask);\n\t\t\t\t// float colorY = lightness(color);\n\t\t\t\tcolor.a *= maskY;\n\t\t\t\tcolor.a *= opacity;\n\n\t\t\t\t// color.a += .1;\n\n\t\t\t\t// antialiasing, see yiq color space y-channel formula\n\t\t\t\t// color.rgb += (1. - color.rgb) * (1. - mask.rgb);\n\n\t\t\t\tgl_FragColor = color;\n\t\t\t}"});return{regl:t,draw:e,atlas:{}}},x.prototype.update=function(t){var e=this;if("string"==typeof t)t={text:t};else if(!t)return;null!=(t=r(t,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0)).opacity&&(Array.isArray(t.opacity)?this.opacity=t.opacity.map((function(t){return parseFloat(t)})):this.opacity=parseFloat(t.opacity)),null!=t.viewport&&(this.viewport=h(t.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),null==this.viewport&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),null!=t.kerning&&(this.kerning=t.kerning),null!=t.offset&&("number"==typeof t.offset&&(t.offset=[t.offset,0]),this.positionOffset=g(t.offset)),t.direction&&(this.direction=t.direction),t.range&&(this.range=t.range,this.scale=[1/(t.range[2]-t.range[0]),1/(t.range[3]-t.range[1])],this.translate=[-t.range[0],-t.range[1]]),t.scale&&(this.scale=t.scale),t.translate&&(this.translate=t.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),this.font.length||t.font||(t.font=x.baseFontSize+"px sans-serif");var n,o=!1,a=!1;if(t.font&&(Array.isArray(t.font)?t.font:[t.font]).forEach((function(t,n){if("string"==typeof t)try{t=i.parse(t)}catch(e){t=i.parse(x.baseFontSize+"px "+t)}else t=i.parse(i.stringify(t));var r=i.stringify({size:x.baseFontSize,family:t.family,stretch:w?t.stretch:void 0,variant:t.variant,weight:t.weight,style:t.style}),s=f(t.size),l=Math.round(s[0]*_(s[1]));if(l!==e.fontSize[n]&&(a=!0,e.fontSize[n]=l),!(e.font[n]&&r==e.font[n].baseString||(o=!0,e.font[n]=x.fonts[r],e.font[n]))){var u=t.family.join(", "),c=[t.style];t.style!=t.variant&&c.push(t.variant),t.variant!=t.weight&&c.push(t.weight),w&&t.weight!=t.stretch&&c.push(t.stretch),e.font[n]={baseString:r,family:u,weight:t.weight,stretch:t.stretch,style:t.style,variant:t.variant,width:{},kerning:{},metrics:v(u,{origin:"top",fontSize:x.baseFontSize,fontStyle:c.join(" ")})},x.fonts[r]=e.font[n]}})),(o||a)&&this.font.forEach((function(n,r){var o=i.stringify({size:e.fontSize[r],family:n.family,stretch:w?n.stretch:void 0,variant:n.variant,weight:n.weight,style:n.style});if(e.fontAtlas[r]=e.shader.atlas[o],!e.fontAtlas[r]){var a=n.metrics;e.shader.atlas[o]=e.fontAtlas[r]={fontString:o,step:2*Math.ceil(e.fontSize[r]*a.bottom*.5),em:e.fontSize[r],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:e.regl.texture()}}null==t.text&&(t.text=e.text)})),"string"==typeof t.text&&t.position&&t.position.length>2){for(var s=Array(.5*t.position.length),d=0;d2){for(var E=!t.position[0].length,C=c.mallocFloat(2*this.count),T=0,A=0;T1?e.align[n]:e.align[0]:e.align;if("number"==typeof i)return i;switch(i){case"right":case"end":return-t;case"center":case"centre":case"middle":return.5*-t}return 0}))),null==this.baseline&&null==t.baseline&&(t.baseline=0),null!=t.baseline&&(this.baseline=t.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map((function(t,n){var i=(e.font[n]||e.font[0]).metrics,r=0;return r+=.5*i.bottom,-1*(r+="number"==typeof t?t-i.baseline:-i[t])}))),null!=t.color)if(t.color||(t.color="transparent"),"string"!=typeof t.color&&isNaN(t.color)){var W;if("number"==typeof t.color[0]&&t.color.length>this.counts.length){var G=t.color.length;W=c.mallocUint8(G);for(var H=(t.color.subarray||t.color.slice).bind(t.color),V=0;V4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2){var Z=Math.max(.5*this.position.length||0,.25*this.color.length||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,.5*this.positionOffset.length||0);this.batch=Array(Z);for(var Y=0;Y1?this.counts[Y]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[Y]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*Y,4*Y+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[Y]:this.opacity,baseline:null!=this.baselineOffset[Y]?this.baselineOffset[Y]:this.baselineOffset[0],align:this.align?null!=this.alignOffset[Y]?this.alignOffset[Y]:this.alignOffset[0]:0,atlas:this.fontAtlas[Y]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*Y,2*Y+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]},x.prototype.destroy=function(){},x.prototype.kerning=!0,x.prototype.position={constant:new Float32Array(2)},x.prototype.translate=null,x.prototype.scale=null,x.prototype.font=null,x.prototype.text="",x.prototype.positionOffset=[0,0],x.prototype.opacity=1,x.prototype.color=new Uint8Array([0,0,0,255]),x.prototype.alignOffset=[0,0],x.maxAtlasSize=1024,x.atlasCanvas=document.createElement("canvas"),x.atlasContext=x.atlasCanvas.getContext("2d",{alpha:!1}),x.baseFontSize=64,x.fonts={},t.exports=x},55212:function(t,e,n){"use strict";var i=n(55616);function r(t){if(t.container)if(t.container==document.body)document.body.style.width||(t.canvas.width=t.width||t.pixelRatio*n.g.innerWidth),document.body.style.height||(t.canvas.height=t.height||t.pixelRatio*n.g.innerHeight);else{var e=t.container.getBoundingClientRect();t.canvas.width=t.width||e.right-e.left,t.canvas.height=t.height||e.bottom-e.top}}function o(t){return"function"==typeof t.getContext&&"width"in t&&"height"in t}function a(){var t=document.createElement("canvas");return t.style.position="absolute",t.style.top=0,t.style.left=0,t}t.exports=function(t){var e;if(t?"string"==typeof t&&(t={container:t}):t={},(t=o(t)||"string"==typeof(e=t).nodeName&&"function"==typeof e.appendChild&&"function"==typeof e.getBoundingClientRect?{container:t}:function(t){return"function"==typeof t.drawArrays||"function"==typeof t.drawElements}(t)?{gl:t}:i(t,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0)).pixelRatio||(t.pixelRatio=n.g.pixelRatio||1),t.gl)return t.gl;if(t.canvas&&(t.container=t.canvas.parentNode),t.container){if("string"==typeof t.container){var s=document.querySelector(t.container);if(!s)throw Error("Element "+t.container+" is not found");t.container=s}o(t.container)?(t.canvas=t.container,t.container=t.canvas.parentNode):t.canvas||(t.canvas=a(),t.container.appendChild(t.canvas),r(t))}else if(!t.canvas){if("undefined"==typeof document)throw Error("Not DOM environment. Use headless-gl.");t.container=document.body||document.documentElement,t.canvas=a(),t.container.appendChild(t.canvas),r(t)}return t.gl||["webgl","experimental-webgl","webgl-experimental"].some((function(e){try{t.gl=t.canvas.getContext(e,t.attrs)}catch(t){}return t.gl})),t.gl}},26444:function(t){t.exports=function(t){"string"==typeof t&&(t=[t]);for(var e=[].slice.call(arguments,1),n=[],i=0;i>1,c=-7,h=n?r-1:0,d=n?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+t[e+h],h+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=i;c>0;a=256*a+t[e+h],h+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,i),o-=u}return(f?-1:1)*a*Math.pow(2,o-i)},e.write=function(t,e,n,i,r,o){var a,s,l,u=8*o-r-1,c=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:o-1,_=i?1:-1,p=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+h>=1?d/l:d*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(e*l-1)*Math.pow(2,r),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),a=0));r>=8;t[n+f]=255&s,f+=_,s/=256,r-=8);for(a=a<0;t[n+f]=255&a,f+=_,a/=256,u-=8);t[n+f-_]|=128*p}},6768:function(t){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},91148:function(t,e,n){"use strict";var i=n(46672)(),r=n(99676)("Object.prototype.toString"),o=function(t){return!(i&&t&&"object"==typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===r(t)},a=function(t){return!!o(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==r(t)&&"[object Function]"===r(t.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,t.exports=s?o:a},24200:function(t){t.exports=!0},90720:function(t){"use strict";var e,n,i=Function.prototype.toString,r="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof r&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw n}}),n={},r((function(){throw 42}),null,e)}catch(t){t!==n&&(r=null)}else r=null;var o=/^\s*class\b/,a=function(t){try{var e=i.call(t);return o.test(e)}catch(t){return!1}},s=function(t){try{return!a(t)&&(i.call(t),!0)}catch(t){return!1}},l=Object.prototype.toString,u="function"==typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),h=function(){return!1};if("object"==typeof document){var d=document.all;l.call(d)===l.call(document.all)&&(h=function(t){if((c||!t)&&(void 0===t||"object"==typeof t))try{var e=l.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(t){}return!1})}t.exports=r?function(t){if(h(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;try{r(t,null,e)}catch(t){if(t!==n)return!1}return!a(t)&&s(t)}:function(t){if(h(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(u)return s(t);if(a(t))return!1;var e=l.call(t);return!("[object Function]"!==e&&"[object GeneratorFunction]"!==e&&!/^\[object HTML/.test(e))&&s(t)}},84420:function(t,e,n){"use strict";var i,r=Object.prototype.toString,o=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=n(46672)(),l=Object.getPrototypeOf;t.exports=function(t){if("function"!=typeof t)return!1;if(a.test(o.call(t)))return!0;if(!s)return"[object GeneratorFunction]"===r.call(t);if(!l)return!1;if(void 0===i){var e=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(t){}}();i=!!e&&l(e)}return l(t)===i}},96604:function(t){"use strict";t.exports="undefined"!=typeof navigator&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},85992:function(t){"use strict";t.exports=function(t){return t!=t}},1560:function(t,e,n){"use strict";var i=n(57916),r=n(81288),o=n(85992),a=n(57740),s=n(59736),l=i(a(),Number);r(l,{getPolyfill:a,implementation:o,shim:s}),t.exports=l},57740:function(t,e,n){"use strict";var i=n(85992);t.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:i}},59736:function(t,e,n){"use strict";var i=n(81288),r=n(57740);t.exports=function(){var t=r();return i(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}},18400:function(t){"use strict";t.exports=function(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)}},58908:function(t){"use strict";var e=Object.prototype.toString;t.exports=function(t){var n;return"[object Object]"===e.call(t)&&(null===(n=Object.getPrototypeOf(t))||n===Object.getPrototypeOf({}))}},94576:function(t){"use strict";t.exports=function(t){for(var e,n=t.length,i=0;i13)&&32!==e&&133!==e&&160!==e&&5760!==e&&6158!==e&&(e<8192||e>8205)&&8232!==e&&8233!==e&&8239!==e&&8287!==e&&8288!==e&&12288!==e&&65279!==e)return!1;return!0}},53520:function(t){"use strict";t.exports=function(t){return"string"==typeof t&&(t=t.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(t)&&/[\dz]$/i.test(t)&&t.length>4))}},7728:function(t,e,n){"use strict";var i=n(46492),r=n(63436),o=n(99676),a=o("Object.prototype.toString"),s=n(46672)(),l=n(2304),u="undefined"==typeof globalThis?n.g:globalThis,c=r(),h=o("Array.prototype.indexOf",!0)||function(t,e){for(var n=0;n-1}return!!l&&function(t){var e=!1;return i(f,(function(n,i){if(!e)try{e=n.call(t)===i}catch(t){}})),e}(t)}},76244:function(t){"use strict";t.exports=Math.log2||function(t){return Math.log(t)*Math.LOG2E}},62644:function(t,e,n){"use strict";t.exports=function(t,e){e||(e=t,t=window);var n=0,r=0,o=0,a={shift:!1,alt:!1,control:!1,meta:!1},s=!1;function l(t){var e=!1;return"altKey"in t&&(e=e||t.altKey!==a.alt,a.alt=!!t.altKey),"shiftKey"in t&&(e=e||t.shiftKey!==a.shift,a.shift=!!t.shiftKey),"ctrlKey"in t&&(e=e||t.ctrlKey!==a.control,a.control=!!t.ctrlKey),"metaKey"in t&&(e=e||t.metaKey!==a.meta,a.meta=!!t.metaKey),e}function u(t,s){var u=i.x(s),c=i.y(s);"buttons"in s&&(t=0|s.buttons),(t!==n||u!==r||c!==o||l(s))&&(n=0|t,r=u||0,o=c||0,e&&e(n,r,o,a))}function c(t){u(0,t)}function h(){(n||r||o||a.shift||a.alt||a.meta||a.control)&&(r=o=0,n=0,a.shift=a.alt=a.control=a.meta=!1,e&&e(0,0,0,a))}function d(t){l(t)&&e&&e(n,r,o,a)}function f(t){0===i.buttons(t)?u(0,t):u(n,t)}function _(t){u(n|i.buttons(t),t)}function p(t){u(n&~i.buttons(t),t)}function m(){s||(s=!0,t.addEventListener("mousemove",f),t.addEventListener("mousedown",_),t.addEventListener("mouseup",p),t.addEventListener("mouseleave",c),t.addEventListener("mouseenter",c),t.addEventListener("mouseout",c),t.addEventListener("mouseover",c),t.addEventListener("blur",h),t.addEventListener("keyup",d),t.addEventListener("keydown",d),t.addEventListener("keypress",d),t!==window&&(window.addEventListener("blur",h),window.addEventListener("keyup",d),window.addEventListener("keydown",d),window.addEventListener("keypress",d)))}m();var v={element:t};return Object.defineProperties(v,{enabled:{get:function(){return s},set:function(e){e?m():s&&(s=!1,t.removeEventListener("mousemove",f),t.removeEventListener("mousedown",_),t.removeEventListener("mouseup",p),t.removeEventListener("mouseleave",c),t.removeEventListener("mouseenter",c),t.removeEventListener("mouseout",c),t.removeEventListener("mouseover",c),t.removeEventListener("blur",h),t.removeEventListener("keyup",d),t.removeEventListener("keydown",d),t.removeEventListener("keypress",d),t!==window&&(window.removeEventListener("blur",h),window.removeEventListener("keyup",d),window.removeEventListener("keydown",d),window.removeEventListener("keypress",d)))},enumerable:!0},buttons:{get:function(){return n},enumerable:!0},x:{get:function(){return r},enumerable:!0},y:{get:function(){return o},enumerable:!0},mods:{get:function(){return a},enumerable:!0}}),v};var i=n(93784)},29128:function(t){var e={left:0,top:0};t.exports=function(t,n,i){n=n||t.currentTarget||t.srcElement,Array.isArray(i)||(i=[0,0]);var r,o=t.clientX||0,a=t.clientY||0,s=(r=n)===window||r===document||r===document.body?e:r.getBoundingClientRect();return i[0]=o-s.left,i[1]=a-s.top,i}},93784:function(t,e){"use strict";function n(t){return t.target||t.srcElement||window}e.buttons=function(t){if("object"==typeof t){if("buttons"in t)return t.buttons;if("which"in t){if(2===(e=t.which))return 4;if(3===e)return 2;if(e>0)return 1<=0)return 1<0&&o(s,n))}catch(t){c.call(new d(n),t)}}}function c(t){var e=this;e.triggered||(e.triggered=!0,e.def&&(e=e.def),e.msg=t,e.state=2,e.chain.length>0&&o(s,e))}function h(t,e,n,i){for(var r=0;r1&&(r*=v=Math.sqrt(v),s*=v);var g=r*r,y=s*s,b=(u==c?-1:1)*Math.sqrt(Math.abs((g*y-g*m*m-y*p*p)/(g*m*m+y*p*p)));b==1/0&&(b=1);var w=b*r*m/s+(t+h)/2,E=b*-s*p/r+(i+d)/2,x=Math.asin(((i-E)/s).toFixed(9)),C=Math.asin(((d-E)/s).toFixed(9));(x=tC&&(x-=2*e),!c&&C>x&&(C-=2*e)}if(Math.abs(C-x)>n){var T=C,A=h,S=d;C=x+n*(c&&C>x?1:-1);var z=o(h=w+r*Math.cos(C),d=E+s*Math.sin(C),r,s,l,0,c,A,S,[C,T,w,E])}var k=Math.tan((C-x)/4),N=4/3*r*k,I=4/3*s*k,O=[2*t-(t+N*Math.sin(x)),2*i-(i-I*Math.cos(x)),h+N*Math.sin(C),d-I*Math.cos(C),h,d];if(f)return O;z&&(O=O.concat(z));for(var L=0;L7&&(n.push(v.splice(0,7)),v.unshift("C"));break;case"S":var y=f,b=_;"C"!=e&&"S"!=e||(y+=y-a,b+=b-l),v=["C",y,b,v[1],v[2],v[3],v[4]];break;case"T":"Q"==e||"T"==e?(h=2*f-h,d=2*_-d):(h=f,d=_),v=r(f,_,h,d,v[1],v[2]);break;case"Q":h=v[1],d=v[2],v=r(f,_,v[1],v[2],v[3],v[4]);break;case"L":v=i(f,_,v[1],v[2]);break;case"H":v=i(f,_,v[1],_);break;case"V":v=i(f,_,f,v[1]);break;case"Z":v=i(f,_,u,c)}e=g,f=v[v.length-2],_=v[v.length-1],v.length>4?(a=v[v.length-4],l=v[v.length-3]):(a=f,l=_),n.push(v)}return n}},50896:function(t){"use strict";var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(t){i[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(t){return!1}}()?Object.assign:function(t,r){for(var o,a,s=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),l=1;l0&&!r.call(t,0))for(var p=0;p0)for(var m=0;m=0&&"[object Function]"===e.call(t.callee)),i}},32868:function(t){"use strict";function e(t,e){if("string"!=typeof t)return[t];var n=[t];"string"==typeof e||Array.isArray(e)?e={brackets:e}:e||(e={});var i=e.brackets?Array.isArray(e.brackets)?e.brackets:[e.brackets]:["{}","[]","()"],r=e.escape||"___",o=!!e.flat;i.forEach((function(t){var e=new RegExp(["\\",t[0],"[^\\",t[0],"\\",t[1],"]*\\",t[1]].join("")),i=[];function o(e,o,a){var s=n.push(e.slice(t[0].length,-t[1].length))-1;return i.push(s),r+s+r}n.forEach((function(t,i){for(var r,a=0;t!=r;)if(r=t,t=t.replace(e,o),a++>1e4)throw Error("References have circular dependency. Please, check them.");n[i]=t})),i=i.reverse(),n=n.map((function(e){return i.forEach((function(n){e=e.replace(new RegExp("(\\"+r+n+"\\"+r+")","g"),t[0]+"$1"+t[1])})),e}))}));var a=new RegExp("\\"+r+"([0-9]+)\\"+r);return o?n:function t(e,n,i){for(var r,o=[],s=0;r=a.exec(e);){if(s++>1e4)throw Error("Circular references in parenthesis");o.push(e.slice(0,r.index)),o.push(t(n[r[1]],n)),e=e.slice(r.index+r[0].length)}return o.push(e),o}(n[0],n)}function n(t,e){if(e&&e.flat){var n,i=e&&e.escape||"___",r=t[0];if(!r)return"";for(var o=new RegExp("\\"+i+"([0-9]+)\\"+i),a=0;r!=n;){if(a++>1e4)throw Error("Circular references in "+t);n=r,r=r.replace(o,s)}return r}return t.reduce((function t(e,n){return Array.isArray(n)&&(n=n.reduce(t,"")),e+n}),"");function s(e,n){if(null==t[n])throw Error("Reference "+n+"is undefined");return t[n]}}function i(t,i){return Array.isArray(t)?n(t,i):e(t,i)}i.parse=e,i.stringify=n,t.exports=i},51160:function(t,e,n){"use strict";var i=n(55616);t.exports=function(t){var e;return arguments.length>1&&(t=arguments),"string"==typeof t?t=t.split(/\s/).map(parseFloat):"number"==typeof t&&(t=[t]),t.length&&"number"==typeof t[0]?e=1===t.length?{width:t[0],height:t[0],x:0,y:0}:2===t.length?{width:t[0],height:t[1],x:0,y:0}:{x:t[0],y:t[1],width:t[2]-t[0]||0,height:t[3]-t[1]||0}:t&&(e={x:(t=i(t,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"})).left||0,y:t.top||0},null==t.width?t.right?e.width=t.right-e.x:e.width=0:e.width=t.width,null==t.height?t.bottom?e.height=t.bottom-e.y:e.height=0:e.height=t.height),e}},21984:function(t){t.exports=function(t){var r=[];return t.replace(n,(function(t,n,o){var a=n.toLowerCase();for(o=function(t){var e=t.match(i);return e?e.map(Number):[]}(o),"m"==a&&o.length>2&&(r.push([n].concat(o.splice(0,2))),a="l",n="m"==n?"l":"L");;){if(o.length==e[a])return o.unshift(n),r.push(o);if(o.lengtho!=f>o&&r<(d-c)*(o-h)/(f-h)+c&&(a=!a)}return a}},14756:function(t,e,n){var i,r=n(7688),o=n(28648),a=n(72200),s=n(11403),l=n(82368),u=n(17792),c=!1,h=o();function d(t,e,n){var r=i.segments(t),o=i.segments(e),a=n(i.combine(r,o));return i.polygon(a)}i={buildLog:function(t){return!0===t?c=r():!1===t&&(c=!1),!1!==c&&c.list},epsilon:function(t){return h.epsilon(t)},segments:function(t){var e=a(!0,h,c);return t.regions.forEach(e.addRegion),{segments:e.calculate(t.inverted),inverted:t.inverted}},combine:function(t,e){return{combined:a(!1,h,c).calculate(t.segments,t.inverted,e.segments,e.inverted),inverted1:t.inverted,inverted2:e.inverted}},selectUnion:function(t){return{segments:l.union(t.combined,c),inverted:t.inverted1||t.inverted2}},selectIntersect:function(t){return{segments:l.intersect(t.combined,c),inverted:t.inverted1&&t.inverted2}},selectDifference:function(t){return{segments:l.difference(t.combined,c),inverted:t.inverted1&&!t.inverted2}},selectDifferenceRev:function(t){return{segments:l.differenceRev(t.combined,c),inverted:!t.inverted1&&t.inverted2}},selectXor:function(t){return{segments:l.xor(t.combined,c),inverted:t.inverted1!==t.inverted2}},polygon:function(t){return{regions:s(t.segments,h,c),inverted:t.inverted}},polygonFromGeoJSON:function(t){return u.toPolygon(i,t)},polygonToGeoJSON:function(t){return u.fromPolygon(i,h,t)},union:function(t,e){return d(t,e,i.selectUnion)},intersect:function(t,e){return d(t,e,i.selectIntersect)},difference:function(t,e){return d(t,e,i.selectDifference)},differenceRev:function(t,e){return d(t,e,i.selectDifferenceRev)},xor:function(t,e){return d(t,e,i.selectXor)}},"object"==typeof window&&(window.PolyBool=i),t.exports=i},7688:function(t){t.exports=function(){var t,e=0,n=!1;function i(e,n){return t.list.push({type:e,data:n?JSON.parse(JSON.stringify(n)):void 0}),t}return t={list:[],segmentId:function(){return e++},checkIntersection:function(t,e){return i("check",{seg1:t,seg2:e})},segmentChop:function(t,e){return i("div_seg",{seg:t,pt:e}),i("chop",{seg:t,pt:e})},statusRemove:function(t){return i("pop_seg",{seg:t})},segmentUpdate:function(t){return i("seg_update",{seg:t})},segmentNew:function(t,e){return i("new_seg",{seg:t,primary:e})},segmentRemove:function(t){return i("rem_seg",{seg:t})},tempStatus:function(t,e,n){return i("temp_status",{seg:t,above:e,below:n})},rewind:function(t){return i("rewind",{seg:t})},status:function(t,e,n){return i("status",{seg:t,above:e,below:n})},vert:function(e){return e===n?t:(n=e,i("vert",{x:e}))},log:function(t){return"string"!=typeof t&&(t=JSON.stringify(t,!1," ")),i("log",{txt:t})},reset:function(){return i("reset")},selected:function(t){return i("selected",{segs:t})},chainStart:function(t){return i("chain_start",{seg:t})},chainRemoveHead:function(t,e){return i("chain_rem_head",{index:t,pt:e})},chainRemoveTail:function(t,e){return i("chain_rem_tail",{index:t,pt:e})},chainNew:function(t,e){return i("chain_new",{pt1:t,pt2:e})},chainMatch:function(t){return i("chain_match",{index:t})},chainClose:function(t){return i("chain_close",{index:t})},chainAddHead:function(t,e){return i("chain_add_head",{index:t,pt:e})},chainAddTail:function(t,e){return i("chain_add_tail",{index:t,pt:e})},chainConnect:function(t,e){return i("chain_con",{index1:t,index2:e})},chainReverse:function(t){return i("chain_rev",{index:t})},chainJoin:function(t,e){return i("chain_join",{index1:t,index2:e})},done:function(){return i("done")}}}},28648:function(t){t.exports=function(t){"number"!=typeof t&&(t=1e-10);var e={epsilon:function(e){return"number"==typeof e&&(t=e),t},pointAboveOrOnLine:function(e,n,i){var r=n[0],o=n[1],a=i[0],s=i[1],l=e[0];return(a-r)*(e[1]-o)-(s-o)*(l-r)>=-t},pointBetween:function(e,n,i){var r=e[1]-n[1],o=i[0]-n[0],a=e[0]-n[0],s=i[1]-n[1],l=a*o+r*s;return!(l-t)},pointsSameX:function(e,n){return Math.abs(e[0]-n[0])t!=a-r>t&&(o-u)*(r-c)/(a-c)+u-i>t&&(s=!s),o=u,a=c}return s}};return e}},17792:function(t){var e={toPolygon:function(t,e){function n(e){if(e.length<=0)return t.segments({inverted:!1,regions:[]});function n(e){var n=e.slice(0,e.length-1);return t.segments({inverted:!1,regions:[n]})}for(var i=n(e[0]),r=1;r0}))}function c(t,i){var r=t.seg,o=i.seg,a=r.start,s=r.end,u=o.start,c=o.end;n&&n.checkIntersection(r,o);var h=e.linesIntersect(a,s,u,c);if(!1===h){if(!e.pointsCollinear(a,s,u))return!1;if(e.pointsSame(a,c)||e.pointsSame(s,u))return!1;var d=e.pointsSame(a,u),f=e.pointsSame(s,c);if(d&&f)return i;var _=!d&&e.pointBetween(a,u,c),p=!f&&e.pointBetween(s,u,c);if(d)return p?l(i,s):l(t,c),i;_&&(f||(p?l(i,s):l(t,c)),l(i,a))}else 0===h.alongA&&(-1===h.alongB?l(t,u):0===h.alongB?l(t,h.pt):1===h.alongB&&l(t,c)),0===h.alongB&&(-1===h.alongA?l(i,a):0===h.alongA?l(i,h.pt):1===h.alongA&&l(i,s));return!1}for(var h=[];!o.isEmpty();){var d=o.getHead();if(n&&n.vert(d.pt[0]),d.isStart){n&&n.segmentNew(d.seg,d.primary);var f=u(d),_=f.before?f.before.ev:null,p=f.after?f.after.ev:null;function m(){if(_){var t=c(d,_);if(t)return t}return!!p&&c(d,p)}n&&n.tempStatus(d.seg,!!_&&_.seg,!!p&&p.seg);var v,g,y=m();if(y&&(t?(g=null===d.seg.myFill.below||d.seg.myFill.above!==d.seg.myFill.below)&&(y.seg.myFill.above=!y.seg.myFill.above):y.seg.otherFill=d.seg.myFill,n&&n.segmentUpdate(y.seg),d.other.remove(),d.remove()),o.getHead()!==d){n&&n.rewind(d.seg);continue}t?(g=null===d.seg.myFill.below||d.seg.myFill.above!==d.seg.myFill.below,d.seg.myFill.below=p?p.seg.myFill.above:r,d.seg.myFill.above=g?!d.seg.myFill.below:d.seg.myFill.below):null===d.seg.otherFill&&(v=p?d.primary===p.primary?p.seg.otherFill.above:p.seg.myFill.above:d.primary?a:r,d.seg.otherFill={above:v,below:v}),n&&n.status(d.seg,!!_&&_.seg,!!p&&p.seg),d.other.status=f.insert(i.node({ev:d}))}else{var b=d.status;if(null===b)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(s.exists(b.prev)&&s.exists(b.next)&&c(b.prev.ev,b.next.ev),n&&n.statusRemove(b.ev.seg),b.remove(),!d.primary){var w=d.seg.myFill;d.seg.myFill=d.seg.otherFill,d.seg.otherFill=w}h.push(d.seg)}o.getHead().remove()}return n&&n.done(),h}return t?{addRegion:function(t){for(var i,r,o,a=t[t.length-1],l=0;l0&&!this.aborted;){var n=this.ifds_to_read.shift();n.offset&&this.scan_ifd(n.id,n.offset,t)}},i.prototype.read_uint16=function(t){var n=this.input;if(t+2>n.length)throw e("unexpected EOF","EBADDATA");return this.big_endian?256*n[t]+n[t+1]:n[t]+256*n[t+1]},i.prototype.read_uint32=function(t){var n=this.input;if(t+4>n.length)throw e("unexpected EOF","EBADDATA");return this.big_endian?16777216*n[t]+65536*n[t+1]+256*n[t+2]+n[t+3]:n[t]+256*n[t+1]+65536*n[t+2]+16777216*n[t+3]},i.prototype.is_subifd_link=function(t,e){return 0===t&&34665===e||0===t&&34853===e||34665===t&&40965===e},i.prototype.exif_format_length=function(t){switch(t){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},i.prototype.exif_format_read=function(t,e){var n;switch(t){case 1:case 2:return this.input[e];case 6:return(n=this.input[e])|33554430*(128&n);case 3:return this.read_uint16(e);case 8:return(n=this.read_uint16(e))|131070*(32768&n);case 4:return this.read_uint32(e);case 9:return 0|this.read_uint32(e);default:return null}},i.prototype.scan_ifd=function(t,i,r){var o=this.read_uint16(i);i+=2;for(var a=0;athis.input.length)throw e("unexpected EOF","EBADDATA");for(var _=[],p=d,m=0;m0&&(this.ifds_to_read.push({id:s,offset:_[0]}),f=!0),!1===r({is_big_endian:this.big_endian,ifd:t,tag:s,format:l,count:u,entry_offset:i+this.start,data_length:h,data_offset:d+this.start,value:_,is_subifd_link:f}))return void(this.aborted=!0);i+=12}0===t&&this.ifds_to_read.push({id:1,offset:this.read_uint32(i)})},t.exports.ExifParser=i,t.exports.get_orientation=function(t){var e=0;try{return new i(t,0,t.length).each((function(t){if(0===t.ifd&&274===t.tag&&Array.isArray(t.value))return e=t.value[0],!1})),e}catch(t){return-1}}},44600:function(t,e,n){"use strict";var i=n(9696).eW,r=n(9696).eI;function o(t,e){if(t.length<4+e)return null;var n=r(t,e);return t.length>4&15,r=15&t[4],o=t[5]>>4&15,a=i(t,6),l=8,u=0;ue.width||t.width===e.width&&t.height>e.height?t:e})),r=n.reduce((function(t,e){return t.height>e.height||t.height===e.height&&t.width>e.width?t:e})),i.width>r.height||i.width===r.height&&i.height>r.width?i:r),s=1;e.transforms.forEach((function(t){var e={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},n={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if("imir"===t.type&&(s=0===t.value?n[s]:e[s=e[s=n[s]]]),"irot"===t.type)for(var i=0;i1&&(d.variants=h.variants),h.orientation&&(d.orientation=h.orientation),h.exif_location&&h.exif_location.offset+h.exif_location.length<=t.length){var f=o(t,h.exif_location.offset),_=t.slice(h.exif_location.offset+f+4,h.exif_location.offset+h.exif_location.length),p=s.get_orientation(_);p>0&&(d.orientation=p)}return d}}}}}}},38728:function(t,e,n){"use strict";var i=n(9696).wR,r=n(9696).gS,o=n(9696).Bz,a=i("BM");t.exports=function(t){if(!(t.length<26)&&r(t,0,a))return{width:o(t,18),height:o(t,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},5588:function(t,e,n){"use strict";var i=n(9696).wR,r=n(9696).gS,o=n(9696).Bz,a=i("GIF87a"),s=i("GIF89a");t.exports=function(t){if(!(t.length<10)&&(r(t,0,a)||r(t,0,s)))return{width:o(t,6),height:o(t,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},41924:function(t,e,n){"use strict";var i=n(9696).Bz;t.exports=function(t){var e=i(t,0),n=i(t,2),r=i(t,4);if(0===e&&1===n&&r){for(var o=[],a={width:0,height:0},s=0;sa.width||u>a.height)&&(a=c)}return{width:a.width,height:a.height,variants:o,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},87968:function(t,e,n){"use strict";var i=n(9696).eW,r=n(9696).wR,o=n(9696).gS,a=n(11688),s=r("Exif\0\0");t.exports=function(t){if(!(t.length<2)&&255===t[0]&&216===t[1]&&255===t[2])for(var e=2;;){for(;;){if(t.length-e<2)return;if(255===t[e++])break}for(var n,r,l=t[e++];255===l;)l=t[e++];if(208<=l&&l<=217||1===l)n=0;else{if(!(192<=l&&l<=254))return;if(t.length-e<2)return;n=i(t,e)-2,e+=2}if(217===l||218===l)return;if(225===l&&n>=10&&o(t,e,s)&&(r=a.get_orientation(t.slice(e+6,e+n))),n>=5&&192<=l&&l<=207&&196!==l&&200!==l&&204!==l){if(t.length-e0&&(u.orientation=r),u}e+=n}}},37276:function(t,e,n){"use strict";var i=n(9696).wR,r=n(9696).gS,o=n(9696).eI,a=i("‰PNG\r\n\n"),s=i("IHDR");t.exports=function(t){if(!(t.length<24)&&r(t,0,a)&&r(t,12,s))return{width:o(t,16),height:o(t,20),type:"png",mime:"image/png",wUnits:"px",hUnits:"px"}}},90328:function(t,e,n){"use strict";var i=n(9696).wR,r=n(9696).gS,o=n(9696).eI,a=i("8BPS\0");t.exports=function(t){if(!(t.length<22)&&r(t,0,a))return{width:o(t,18),height:o(t,14),type:"psd",mime:"image/vnd.adobe.photoshop",wUnits:"px",hUnits:"px"}}},16024:function(t){"use strict";function e(t){return"number"==typeof t&&isFinite(t)&&t>0}var n=/<[-_.:a-zA-Z0-9][^>]*>/,i=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,r=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,o=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,a=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,s=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function l(t){return s.test(t)?t.match(s)[0]:"px"}t.exports=function(t){if(function(t){var e,n=0,i=t.length;for(239===t[0]&&187===t[1]&&191===t[2]&&(n=3);n>14&16383),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function d(t,e){return{width:1+(t[e+6]<<16|t[e+5]<<8|t[e+4]),height:1+(t[e+9]<t.length)){for(;e+8=10?n=n||c(t,e+8):"VP8L"===f&&_>=9?n=n||h(t,e+8):"VP8X"===f&&_>=10?n=n||d(t,e+8):"EXIF"===f&&(i=s.get_orientation(t.slice(e+8,e+8+_)),e=1/0),e+=8+_}else e++;if(n)return i>0&&(n.orientation=i),n}}}},87480:function(t,e,n){"use strict";t.exports={avif:n(40528),bmp:n(38728),gif:n(5588),ico:n(41924),jpeg:n(87968),png:n(37276),psd:n(90328),svg:n(16024),tiff:n(98792),webp:n(20704)}},19480:function(t,e,n){"use strict";var i=n(87480);t.exports=function(t){return function(t){for(var e=Object.keys(i),n=0;n1)for(var n=1;n1&&(t.scaleRatio=[t.scale[0]*t.viewport.width,t.scale[1]*t.viewport.height],n(t),t.after&&t.after(t))}function x(t){if(t){null!=t.length?"number"==typeof t[0]&&(t=[{positions:t}]):Array.isArray(t)||(t=[t]);var e=0,n=0;if(b.groups=y=t.map((function(t,u){var c=y[u];return t?("function"==typeof t?t={after:t}:"number"==typeof t[0]&&(t={positions:t}),t=a(t,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),c||(y[u]=c={id:u,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},t=s({},g,t)),o(c,t,[{lineWidth:function(t){return.5*+t},capSize:function(t){return.5*+t},opacity:parseFloat,errors:function(t){return t=l(t),n+=t.length,t},positions:function(t,n){return t=l(t,"float64"),n.count=Math.floor(t.length/2),n.bounds=i(t,2),n.offset=e,e+=n.count,t}},{color:function(t,e){var n=e.count;if(t||(t="transparent"),!Array.isArray(t)||"number"==typeof t[0]){var i=t;t=Array(n);for(var o=0;o 0. && baClipping < length(normalWidth * endBotJoin)) {\n\t\t//handle miter clipping\n\t\tbTopCoord -= normalWidth * endTopJoin;\n\t\tbTopCoord += normalize(endTopJoin * normalWidth) * baClipping;\n\t}\n\n\tif (nextReverse) {\n\t\t//make join rectangular\n\t\tvec2 miterShift = normalWidth * endJoinDirection * miterLimit * .5;\n\t\tfloat normalAdjust = 1. - min(miterLimit / endMiterRatio, 1.);\n\t\tbBotCoord = bCoord + miterShift - normalAdjust * normalWidth * currNormal * .5;\n\t\tbTopCoord = bCoord + miterShift + normalAdjust * normalWidth * currNormal * .5;\n\t}\n\telse if (!prevReverse && abClipping > 0. && abClipping < length(normalWidth * startBotJoin)) {\n\t\t//handle miter clipping\n\t\taBotCoord -= normalWidth * startBotJoin;\n\t\taBotCoord += normalize(startBotJoin * normalWidth) * abClipping;\n\t}\n\n\tvec2 aTopPosition = (aTopCoord) * adjustedScale + translate;\n\tvec2 aBotPosition = (aBotCoord) * adjustedScale + translate;\n\n\tvec2 bTopPosition = (bTopCoord) * adjustedScale + translate;\n\tvec2 bBotPosition = (bBotCoord) * adjustedScale + translate;\n\n\t//position is normalized 0..1 coord on the screen\n\tvec2 position = (aTopPosition * lineTop + aBotPosition * lineBot) * lineStart + (bTopPosition * lineTop + bBotPosition * lineBot) * lineEnd;\n\n\tstartCoord = aCoord * scaleRatio + translate * viewport.zw + viewport.xy;\n\tendCoord = bCoord * scaleRatio + translate * viewport.zw + viewport.xy;\n\n\tgl_Position = vec4(position * 2.0 - 1.0, depth, 1);\n\n\tenableStartMiter = step(dot(currTangent, prevTangent), .5);\n\tenableEndMiter = step(dot(currTangent, nextTangent), .5);\n\n\t//bevel miter cutoffs\n\tif (miterMode == 1.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tvec2 startMiterWidth = vec2(startJoinDirection) * thickness * miterLimit * .5;\n\t\t\tstartCutoff = vec4(aCoord, aCoord);\n\t\t\tstartCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio;\n\t\t\tstartCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tstartCutoff += viewport.xyxy;\n\t\t\tstartCutoff += startMiterWidth.xyxy;\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tvec2 endMiterWidth = vec2(endJoinDirection) * thickness * miterLimit * .5;\n\t\t\tendCutoff = vec4(bCoord, bCoord);\n\t\t\tendCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio;\n\t\t\tendCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tendCutoff += viewport.xyxy;\n\t\t\tendCutoff += endMiterWidth.xyxy;\n\t\t}\n\t}\n\n\t//round miter cutoffs\n\telse if (miterMode == 2.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tvec2 startMiterWidth = vec2(startJoinDirection) * thickness * abs(dot(startJoinDirection, currNormal)) * .5;\n\t\t\tstartCutoff = vec4(aCoord, aCoord);\n\t\t\tstartCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio;\n\t\t\tstartCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tstartCutoff += viewport.xyxy;\n\t\t\tstartCutoff += startMiterWidth.xyxy;\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tvec2 endMiterWidth = vec2(endJoinDirection) * thickness * abs(dot(endJoinDirection, currNormal)) * .5;\n\t\t\tendCutoff = vec4(bCoord, bCoord);\n\t\t\tendCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio;\n\t\t\tendCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw;\n\t\t\tendCutoff += viewport.xyxy;\n\t\t\tendCutoff += endMiterWidth.xyxy;\n\t\t}\n\t}\n}\n"]),frag:a(["precision highp float;\n#define GLSLIFY 1\n\nuniform float dashLength, pixelRatio, thickness, opacity, id, miterMode;\nuniform sampler2D dashTexture;\n\nvarying vec4 fragColor;\nvarying vec2 tangent;\nvarying vec4 startCutoff, endCutoff;\nvarying vec2 startCoord, endCoord;\nvarying float enableStartMiter, enableEndMiter;\n\nfloat distToLine(vec2 p, vec2 a, vec2 b) {\n\tvec2 diff = b - a;\n\tvec2 perp = normalize(vec2(-diff.y, diff.x));\n\treturn dot(p - a, perp);\n}\n\nvoid main() {\n\tfloat alpha = 1., distToStart, distToEnd;\n\tfloat cutoff = thickness * .5;\n\n\t//bevel miter\n\tif (miterMode == 1.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tdistToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw);\n\t\t\tif (distToStart < -1.) {\n\t\t\t\tdiscard;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\talpha *= min(max(distToStart + 1., 0.), 1.);\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tdistToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw);\n\t\t\tif (distToEnd < -1.) {\n\t\t\t\tdiscard;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\talpha *= min(max(distToEnd + 1., 0.), 1.);\n\t\t}\n\t}\n\n\t// round miter\n\telse if (miterMode == 2.) {\n\t\tif (enableStartMiter == 1.) {\n\t\t\tdistToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw);\n\t\t\tif (distToStart < 0.) {\n\t\t\t\tfloat radius = length(gl_FragCoord.xy - startCoord);\n\n\t\t\t\tif(radius > cutoff + .5) {\n\t\t\t\t\tdiscard;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\talpha -= smoothstep(cutoff - .5, cutoff + .5, radius);\n\t\t\t}\n\t\t}\n\n\t\tif (enableEndMiter == 1.) {\n\t\t\tdistToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw);\n\t\t\tif (distToEnd < 0.) {\n\t\t\t\tfloat radius = length(gl_FragCoord.xy - endCoord);\n\n\t\t\t\tif(radius > cutoff + .5) {\n\t\t\t\t\tdiscard;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\talpha -= smoothstep(cutoff - .5, cutoff + .5, radius);\n\t\t\t}\n\t\t}\n\t}\n\n\tfloat t = fract(dot(tangent, gl_FragCoord.xy) / dashLength) * .5 + .25;\n\tfloat dash = texture2D(dashTexture, vec2(t, .5)).r;\n\n\tgl_FragColor = fragColor;\n\tgl_FragColor.a *= alpha * opacity * dash;\n}\n"]),attributes:{lineEnd:{buffer:n,divisor:0,stride:8,offset:0},lineTop:{buffer:n,divisor:0,stride:8,offset:4},aColor:{buffer:t.prop("colorBuffer"),stride:4,offset:0,divisor:1},bColor:{buffer:t.prop("colorBuffer"),stride:4,offset:4,divisor:1},prevCoord:{buffer:t.prop("positionBuffer"),stride:8,offset:0,divisor:1},aCoord:{buffer:t.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:t.prop("positionBuffer"),stride:8,offset:16,divisor:1},nextCoord:{buffer:t.prop("positionBuffer"),stride:8,offset:24,divisor:1}}},i))}catch(t){e=r}return{fill:t({primitive:"triangle",elements:function(t,e){return e.triangles},offset:0,vert:a(["precision highp float;\n#define GLSLIFY 1\n\nattribute vec2 position, positionFract;\n\nuniform vec4 color;\nuniform vec2 scale, scaleFract, translate, translateFract;\nuniform float pixelRatio, id;\nuniform vec4 viewport;\nuniform float opacity;\n\nvarying vec4 fragColor;\n\nconst float MAX_LINES = 256.;\n\nvoid main() {\n\tfloat depth = (MAX_LINES - 4. - id) / (MAX_LINES);\n\n\tvec2 position = position * scale + translate\n + positionFract * scale + translateFract\n + position * scaleFract\n + positionFract * scaleFract;\n\n\tgl_Position = vec4(position * 2.0 - 1.0, depth, 1);\n\n\tfragColor = color / 255.;\n\tfragColor.a *= opacity;\n}\n"]),frag:a(["precision highp float;\n#define GLSLIFY 1\n\nvarying vec4 fragColor;\n\nvoid main() {\n\tgl_FragColor = fragColor;\n}\n"]),uniforms:{scale:t.prop("scale"),color:t.prop("fill"),scaleFract:t.prop("scaleFract"),translateFract:t.prop("translateFract"),translate:t.prop("translate"),opacity:t.prop("opacity"),pixelRatio:t.context("pixelRatio"),id:t.prop("id"),viewport:function(t,e){return[e.viewport.x,e.viewport.y,t.viewportWidth,t.viewportHeight]}},attributes:{position:{buffer:t.prop("positionBuffer"),stride:8,offset:8},positionFract:{buffer:t.prop("positionFractBuffer"),stride:8,offset:8}},blend:i.blend,depth:{enable:!1},scissor:i.scissor,stencil:i.stencil,viewport:i.viewport}),rect:r,miter:e}},v.defaults={dashes:null,join:"miter",miterLimit:1,thickness:10,cap:"square",color:"black",opacity:1,overlay:!1,viewport:null,range:null,close:!1,fill:null},v.prototype.render=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];e.length&&(t=this).update.apply(t,e),this.draw()},v.prototype.draw=function(){for(var t=this,e=[],n=arguments.length;n--;)e[n]=arguments[n];return(e.length?e:this.passes).forEach((function(e,n){var i;if(e&&Array.isArray(e))return(i=t).draw.apply(i,e);"number"==typeof e&&(e=t.passes[e]),e&&e.count>1&&e.opacity&&(t.regl._refresh(),e.fill&&e.triangles&&e.triangles.length>2&&t.shaders.fill(e),e.thickness&&(e.scale[0]*e.viewport.width>v.precisionThreshold||e.scale[1]*e.viewport.height>v.precisionThreshold||"rect"===e.join||!e.join&&(e.thickness<=2||e.count>=v.maxPoints)?t.shaders.rect(e):t.shaders.miter(e)))})),this},v.prototype.update=function(t){var e=this;if(t){null!=t.length?"number"==typeof t[0]&&(t=[{positions:t}]):Array.isArray(t)||(t=[t]);var n=this.regl,a=this.gl;if(t.forEach((function(t,h){var _=e.passes[h];if(void 0!==t)if(null!==t){if("number"==typeof t[0]&&(t={positions:t}),t=s(t,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),_||(e.passes[h]=_={id:h,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:n.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:n.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:n.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:n.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},t=o({},v.defaults,t)),null!=t.thickness&&(_.thickness=parseFloat(t.thickness)),null!=t.opacity&&(_.opacity=parseFloat(t.opacity)),null!=t.miterLimit&&(_.miterLimit=parseFloat(t.miterLimit)),null!=t.overlay&&(_.overlay=!!t.overlay,h=$}));(O=O.slice(0,R)).push($)}for(var P=function(t){var e=C.slice(2*M,2*O[t]).concat($?C.slice(2*$):[]),n=(_.hole||[]).map((function(e){return e-$+(O[t]-M)})),i=u(e,n);i=i.map((function(e){return e+M+(e+Mt.length)&&(e=t.length);for(var n=0,i=new Array(e);n 1.0 + delta) {\n\t\tdiscard;\n\t}\n\n\talpha -= smoothstep(1.0 - delta, 1.0 + delta, radius);\n\n\tfloat borderRadius = fragBorderRadius;\n\tfloat ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius);\n\tvec4 color = mix(fragColor, fragBorderColor, ratio);\n\tcolor.a *= alpha * opacity;\n\tgl_FragColor = color;\n}\n"]),l.vert=h(["precision highp float;\n#define GLSLIFY 1\n\nattribute float x, y, xFract, yFract;\nattribute float size, borderSize;\nattribute vec4 colorId, borderColorId;\nattribute float isActive;\n\n// `invariant` effectively turns off optimizations for the position.\n// We need this because -fast-math on M1 Macs is re-ordering\n// floating point operations in a way that causes floating point\n// precision limits to put points in the wrong locations.\ninvariant gl_Position;\n\nuniform bool constPointSize;\nuniform float pixelRatio;\nuniform vec2 paletteSize, scale, scaleFract, translate, translateFract;\nuniform sampler2D paletteTexture;\n\nconst float maxSize = 100.;\n\nvarying vec4 fragColor, fragBorderColor;\nvarying float fragBorderRadius, fragWidth;\n\nfloat pointSizeScale = (constPointSize) ? 2. : pixelRatio;\n\nbool isDirect = (paletteSize.x < 1.);\n\nvec4 getColor(vec4 id) {\n return isDirect ? id / 255. : texture2D(paletteTexture,\n vec2(\n (id.x + .5) / paletteSize.x,\n (id.y + .5) / paletteSize.y\n )\n );\n}\n\nvoid main() {\n // ignore inactive points\n if (isActive == 0.) return;\n\n vec2 position = vec2(x, y);\n vec2 positionFract = vec2(xFract, yFract);\n\n vec4 color = getColor(colorId);\n vec4 borderColor = getColor(borderColorId);\n\n float size = size * maxSize / 255.;\n float borderSize = borderSize * maxSize / 255.;\n\n gl_PointSize = (size + borderSize) * pointSizeScale;\n\n vec2 pos = (position + translate) * scale\n + (positionFract + translateFract) * scale\n + (position + translate) * scaleFract\n + (positionFract + translateFract) * scaleFract;\n\n gl_Position = vec4(pos * 2. - 1., 0., 1.);\n\n fragBorderRadius = 1. - 2. * borderSize / (size + borderSize);\n fragColor = color;\n fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor;\n fragWidth = 1. / gl_PointSize;\n}\n"]),p&&(l.frag=l.frag.replace("smoothstep","smoothStep"),s.frag=s.frag.replace("smoothstep","smoothStep")),this.drawCircle=t(l)}y.defaults={color:"black",borderColor:"transparent",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},y.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},y.prototype.draw=function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;ii)?e.tree=u(t,{bounds:h}):i&&i.length&&(e.tree=i),e.tree){var d={primitive:"points",usage:"static",data:e.tree,type:"uint32"};e.elements?e.elements(d):e.elements=a.elements(d)}var f=m.float32(t);return r({data:f,usage:"dynamic"}),o({data:m.fract32(t,f),usage:"dynamic"}),l({data:new Uint8Array(c),type:"uint8",usage:"stream"}),t}},{marker:function(e,n,i){var r=n.activation;if(r.forEach((function(t){return t&&t.destroy&&t.destroy()})),r.length=0,e&&"number"!=typeof e[0]){for(var o=[],s=0,l=Math.min(e.length,n.count);s=0)return o;if(t instanceof Uint8Array||t instanceof Uint8ClampedArray)e=t;else{e=new Uint8Array(t.length);for(var a=0,s=t.length;a4*i&&(this.tooManyColors=!0),this.updatePalette(n),1===r.length?r[0]:r},y.prototype.updatePalette=function(t){if(!this.tooManyColors){var e=this.maxColors,n=this.paletteTexture,i=Math.ceil(.25*t.length/e);if(i>1)for(var r=.25*(t=t.slice()).length%e;r2?(s[0],s[2],i=s[1],r=s[3]):s.length?(i=s[0],r=s[1]):(s.x,i=s.y,s.x,s.width,r=s.y+s.height),l.length>2?(o=l[0],a=l[2],l[1],l[3]):l.length?(o=l[0],a=l[1]):(o=l.x,l.y,a=l.x+l.width,l.y,l.height),[o,i,a,r]}function f(t){if("number"==typeof t)return[t,t,t,t];if(2===t.length)return[t[0],t[1],t[0],t[1]];var e=l(t);return[e.x,e.y,e.x+e.width,e.y+e.height]}t.exports=c,c.prototype.render=function(){for(var t,e=this,n=[],i=arguments.length;i--;)n[i]=arguments[i];return n.length&&(t=this).update.apply(t,n),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?null==this.planned&&(this.planned=a((function(){e.draw(),e.dirty=!0,e.planned=null}))):(this.draw(),this.dirty=!0,a((function(){e.dirty=!1}))),this)},c.prototype.update=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];if(e.length){for(var i=0;iC))&&(s.lower||!(x>>=e))<<3,(e|=n=(15<(t>>>=n))<<2)|(n=(3<(t>>>=n))<<1)|t>>>n>>1}function l(){function t(t){t:{for(var e=16;268435456>=e;e*=16)if(t<=e){t=e;break t}t=0}return 0<(e=n[s(t)>>2]).length?e.pop():new ArrayBuffer(t)}function e(t){n[s(t.byteLength)>>2].push(t)}var n=a(8,(function(){return[]}));return{alloc:t,free:e,allocType:function(e,n){var i=null;switch(e){case 5120:i=new Int8Array(t(n),0,n);break;case 5121:i=new Uint8Array(t(n),0,n);break;case 5122:i=new Int16Array(t(2*n),0,n);break;case 5123:i=new Uint16Array(t(2*n),0,n);break;case 5124:i=new Int32Array(t(4*n),0,n);break;case 5125:i=new Uint32Array(t(4*n),0,n);break;case 5126:i=new Float32Array(t(4*n),0,n);break;default:return null}return i.length!==n?i.subarray(0,n):i},freeType:function(t){e(t.buffer)}}}function u(t){return!!t&&"object"==typeof t&&Array.isArray(t.shape)&&Array.isArray(t.stride)&&"number"==typeof t.offset&&t.shape.length===t.stride.length&&(Array.isArray(t.data)||K(t.data))}function c(t,e,n,i,r,o){for(var a=0;a(r=s)&&(r=i.buffer.byteLength,5123===h?r>>=1:5125===h&&(r>>=2)),i.vertCount=r,r=a,0>a&&(r=4,1===(a=i.buffer.dimension)&&(r=0),2===a&&(r=1),3===a&&(r=4)),i.primType=r}function a(t){i.elementsCount--,delete s[t.id],t.buffer.destroy(),t.buffer=null}var s={},l=0,c={uint8:5121,uint16:5123};e.oes_element_index_uint&&(c.uint32=5125),r.prototype.bind=function(){this.buffer.bind()};var h=[];return{create:function(t,e){function s(t){if(t)if("number"==typeof t)l(t),h.primType=4,h.vertCount=0|t,h.type=5121;else{var e=null,n=35044,i=-1,r=-1,a=0,d=0;Array.isArray(t)||K(t)||u(t)?e=t:("data"in t&&(e=t.data),"usage"in t&&(n=it[t.usage]),"primitive"in t&&(i=st[t.primitive]),"count"in t&&(r=0|t.count),"type"in t&&(d=c[t.type]),"length"in t?a=0|t.length:(a=r,5123===d||5122===d?a*=2:5125!==d&&5124!==d||(a*=4))),o(h,e,n,i,r,a,d)}else l(),h.primType=4,h.vertCount=0,h.type=5121;return s}var l=n.create(null,34963,!0),h=new r(l._buffer);return i.elementsCount++,s(t),s._reglType="elements",s._elements=h,s.subdata=function(t,e){return l.subdata(t,e),s},s.destroy=function(){a(h)},s},createStream:function(t){var e=h.pop();return e||(e=new r(n.create(null,34963,!0,!1)._buffer)),o(e,t,35040,-1,-1,0,0),e},destroyStream:function(t){h.push(t)},getElements:function(t){return"function"==typeof t&&t._elements instanceof r?t._elements:null},clear:function(){Q(s).forEach(a)}}}function v(t){for(var e=Z.allocType(5123,t.length),n=0;n>>31<<15,r=(o<<1>>>24)-127,o=o>>13&1023;e[n]=-24>r?i:-14>r?i+(o+1024>>-14-r):15>=r,n.height>>=r,f(n,i[r]),t.mipmask|=1<e;++e)t.images[e]=null;return t}function N(t){for(var e=t.images,n=0;ne){for(var n=0;n=--this.refCount&&P(this)}}),a.profile&&(o.getTotalTextureSize=function(){var t=0;return Object.keys(ut).forEach((function(e){t+=ut[e].stats.size})),t}),{create2D:function(e,n){function i(t,e){var n=r.texInfo;I.call(n);var o=k();return"number"==typeof t?A(o,0|t,"number"==typeof e?0|e:0|t):t?(O(n,t),S(o,t)):A(o,1,1),n.genMipmaps&&(o.mipmask=(o.width<<1)-1),r.mipmask=o.mipmask,l(r,o),r.internalformat=o.internalformat,i.width=o.width,i.height=o.height,$(r),z(o,3553),L(n,3553),R(),N(o),a.profile&&(r.stats.size=T(r.internalformat,r.type,o.width,o.height,n.genMipmaps,!1)),i.format=J[r.internalformat],i.type=Y[r.type],i.mag=nt[n.magFilter],i.min=it[n.minFilter],i.wrapS=rt[n.wrapS],i.wrapT=rt[n.wrapT],i}var r=new M(3553);return ut[r.id]=r,o.textureCount++,i(e,n),i.subimage=function(t,e,n,o){e|=0,n|=0,o|=0;var a=p();return l(a,r),a.width=0,a.height=0,f(a,t),a.width=a.width||(r.width>>o)-e,a.height=a.height||(r.height>>o)-n,$(r),_(a,3553,e,n,o),R(),m(a),i},i.resize=function(e,n){var o=0|e,s=0|n||o;if(o===r.width&&s===r.height)return i;i.width=r.width=o,i.height=r.height=s,$(r);for(var l=0;r.mipmask>>l;++l){var u=o>>l,c=s>>l;if(!u||!c)break;t.texImage2D(3553,l,r.format,u,c,0,r.format,r.type,null)}return R(),a.profile&&(r.stats.size=T(r.internalformat,r.type,o,s,!1,!1)),i},i._reglType="texture2d",i._texture=r,a.profile&&(i.stats=r.stats),i.destroy=function(){r.decRef()},i},createCube:function(e,n,i,r,s,u){function h(t,e,n,i,r,o){var s,u=d.texInfo;for(I.call(u),s=0;6>s;++s)v[s]=k();if("number"!=typeof t&&t){if("object"==typeof t)if(e)S(v[0],t),S(v[1],e),S(v[2],n),S(v[3],i),S(v[4],r),S(v[5],o);else if(O(u,t),c(d,t),"faces"in t)for(t=t.faces,s=0;6>s;++s)l(v[s],d),S(v[s],t[s]);else for(s=0;6>s;++s)S(v[s],t)}else for(t=0|t||1,s=0;6>s;++s)A(v[s],t,t);for(l(d,v[0]),d.mipmask=u.genMipmaps?(v[0].width<<1)-1:v[0].mipmask,d.internalformat=v[0].internalformat,h.width=v[0].width,h.height=v[0].height,$(d),s=0;6>s;++s)z(v[s],34069+s);for(L(u,34067),R(),a.profile&&(d.stats.size=T(d.internalformat,d.type,h.width,h.height,u.genMipmaps,!0)),h.format=J[d.internalformat],h.type=Y[d.type],h.mag=nt[u.magFilter],h.min=it[u.minFilter],h.wrapS=rt[u.wrapS],h.wrapT=rt[u.wrapT],s=0;6>s;++s)N(v[s]);return h}var d=new M(34067);ut[d.id]=d,o.cubeCount++;var v=Array(6);return h(e,n,i,r,s,u),h.subimage=function(t,e,n,i,r){n|=0,i|=0,r|=0;var o=p();return l(o,d),o.width=0,o.height=0,f(o,e),o.width=o.width||(d.width>>r)-n,o.height=o.height||(d.height>>r)-i,$(d),_(o,34069+t,n,i,r),R(),m(o),h},h.resize=function(e){if((e|=0)!==d.width){h.width=d.width=e,h.height=d.height=e,$(d);for(var n=0;6>n;++n)for(var i=0;d.mipmask>>i;++i)t.texImage2D(34069+n,i,d.format,e>>i,e>>i,0,d.format,d.type,null);return R(),a.profile&&(d.stats.size=T(d.internalformat,d.type,h.width,h.height,!1,!0)),h}},h._reglType="textureCube",h._texture=d,a.profile&&(h.stats=d.stats),h.destroy=function(){d.decRef()},h},clear:function(){for(var e=0;en;++n)if(0!=(e.mipmask&1<>n,e.height>>n,0,e.internalformat,e.type,null);else for(var i=0;6>i;++i)t.texImage2D(34069+i,n,e.internalformat,e.width>>n,e.height>>n,0,e.internalformat,e.type,null);L(e.texInfo,e.target)}))},refresh:function(){for(var e=0;er;++r){for(u=0;ut;++t)n[t].resize(i);return e.width=e.height=i,e},_reglType:"framebufferCube",destroy:function(){n.forEach((function(t){t.destroy()}))}})},clear:function(){Q(C).forEach(m)},restore:function(){y.cur=null,y.next=null,y.dirty=!0,Q(C).forEach((function(e){e.framebuffer=t.createFramebuffer(),v(e)}))}})}function z(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function k(t,e,n,i,r,o,a){function s(){this.id=++h,this.attributes=[],this.elements=null,this.ownsElements=!1,this.offset=this.count=0,this.instances=-1,this.primitive=4;var t=e.oes_vertex_array_object;this.vao=t?t.createVertexArrayOES():null,d[this.id]=this,this.buffers=[]}var l=n.maxAttributes,c=Array(l);for(n=0;n=d.byteLength?l.subdata(d):(l.destroy(),n.buffers[s]=null)),n.buffers[s]||(l=n.buffers[s]=r.create(c,34962,!1,!0)),h.buffer=r.getBuffer(l),h.size=0|h.buffer.dimension,h.normalized=!1,h.type=h.buffer.dtype,h.offset=0,h.stride=0,h.divisor=0,h.state=1,t[s]=1):r.getBuffer(c)?(h.buffer=r.getBuffer(c),h.size=0|h.buffer.dimension,h.normalized=!1,h.type=h.buffer.dtype,h.offset=0,h.stride=0,h.divisor=0,h.state=1):r.getBuffer(c.buffer)?(h.buffer=r.getBuffer(c.buffer),h.size=0|(+c.size||h.buffer.dimension),h.normalized=!!c.normalized||!1,h.type="type"in c?nt[c.type]:h.buffer.dtype,h.offset=0|(c.offset||0),h.stride=0|(c.stride||0),h.divisor=0|(c.divisor||0),h.state=1):"x"in c&&(h.x=+c.x||0,h.y=+c.y||0,h.z=+c.z||0,h.w=+c.w||0,h.state=2)}for(l=0;lt&&(t=e.stats.uniformsCount)})),t},n.getMaxAttributesCount=function(){var t=0;return d.forEach((function(e){e.stats.attributesCount>t&&(t=e.stats.attributesCount)})),t}),{clear:function(){var e=t.deleteShader.bind(t);Q(u).forEach(e),u={},Q(c).forEach(e),c={},d.forEach((function(e){t.deleteProgram(e.program)})),d.length=0,h={},n.shaderCount=0},program:function(e,i,r,o){var a=h[i];a||(a=h[i]={});var f=a[e];if(f&&(f.refCount++,!o))return f;var _=new s(i,e);return n.shaderCount++,l(_,r,o),f||(a[e]=_),d.push(_),G(_,{destroy:function(){if(_.refCount--,0>=_.refCount){t.deleteProgram(_.program);var e=d.indexOf(_);d.splice(e,1),n.shaderCount--}0>=a[_.vertId].refCount&&(t.deleteShader(c[_.vertId]),delete c[_.vertId],delete h[_.fragId][_.vertId]),Object.keys(h[_.fragId]).length||(t.deleteShader(u[_.fragId]),delete u[_.fragId],delete h[_.fragId])}})},restore:function(){u={},c={};for(var t=0;t>>e|t<<32-e}function L(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function M(t){return Array.prototype.slice.call(t)}function $(t){return M(t).join("")}function R(t){function e(){var t=[],e=[];return G((function(){t.push.apply(t,M(arguments))}),{def:function(){var n="v"+r++;return e.push(n),0>>4&15)+"0123456789abcdef".charAt(15&e);return n}(function(t){for(var e=Array(t.length>>2),n=0;n>5]|=(255&t.charCodeAt(n/8))<<24-n%32;var i,r,o,a,s,l,u,c,h,d,f,_=8*t.length;for(t=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],n=Array(64),e[_>>5]|=128<<24-_%32,e[15+(_+64>>9<<4)]=_,c=0;ch;h++){var p;16>h?n[h]=e[h+c]:(d=h,f=L(f=O(f=n[h-2],17)^O(f,19)^f>>>10,n[h-7]),p=O(p=n[h-15],7)^O(p,18)^p>>>3,n[d]=L(L(f,p),n[h-16])),d=L(L(L(L(u,d=O(d=a,6)^O(d,11)^O(d,25)),a&s^~a&l),At[h]),n[h]),f=L(u=O(u=_,2)^O(u,13)^O(u,22),_&i^_&r^i&r),u=l,l=s,s=a,a=L(o,d),o=r,r=i,i=_,_=L(d,f)}t[0]=L(_,t[0]),t[1]=L(i,t[1]),t[2]=L(r,t[2]),t[3]=L(o,t[3]),t[4]=L(a,t[4]),t[5]=L(s,t[5]),t[6]=L(l,t[6]),t[7]=L(u,t[7])}for(e="",n=0;n<32*t.length;n+=8)e+=String.fromCharCode(t[n>>5]>>>24-n%32&255);return e}(function(t){for(var e,n,i="",r=-1;++r=e&&56320<=n&&57343>=n&&(e=65536+((1023&e)<<10)+(1023&n),r++),127>=e?i+=String.fromCharCode(e):2047>=e?i+=String.fromCharCode(192|e>>>6&31,128|63&e):65535>=e?i+=String.fromCharCode(224|e>>>12&15,128|e>>>6&63,128|63&e):2097151>=e&&(i+=String.fromCharCode(240|e>>>18&7,128|e>>>12&63,128|e>>>6&63,128|63&e));return i}(n))),i[e])?i[e].apply(null,a):(n=Function.apply(null,o.concat(n)),i&&(i[e]=n),n.apply(null,a))}}}function P(t){return Array.isArray(t)||K(t)||u(t)}function U(t){return t.sort((function(t,e){return"viewport"===t?-1:"viewport"===e?1:t"+e+"?"+r+".constant["+e+"]:0;"})).join(""),"}}else{","if(",s,"(",r,".buffer)){",c,"=",o,".createStream(",34962,",",r,".buffer);","}else{",c,"=",o,".getBuffer(",r,".buffer);","}",h,'="type" in ',r,"?",a.glTypes,"[",r,".type]:",c,".dtype;",l.normalized,"=!!",r,".normalized;"),i("size"),i("offset"),i("stride"),i("divisor"),n("}}"),n.exit("if(",l.isStream,"){",o,".destroyStream(",c,");","}"),l}))})),a}function A(t,e,i,r,o){function s(t){var e=u[t];e&&(d[t]=e)}var l=function(t,e){if("string"==typeof(n=t.static).frag&&"string"==typeof n.vert){if(0>1)",s],");")}function e(){n(l,".drawArraysInstancedANGLE(",[_,p,m,s],");")}f&&"null"!==f?g?t():(n("if(",f,"){"),t(),n("}else{"),e(),n("}")):e()}function a(){function t(){n(c+".drawElements("+[_,m,v,p+"<<(("+v+"-5121)>>1)"]+");")}function e(){n(c+".drawArrays("+[_,p,m]+");")}f&&"null"!==f?g?t():(n("if(",f,"){"),t(),n("}else{"),e(),n("}")):e()}var s,l,u=t.shared,c=u.gl,h=u.draw,d=i.draw,f=function(){var r=d.elements,o=e;return r?((r.contextDep&&i.contextDynamic||r.propDep)&&(o=n),r=r.append(t,o),d.elementsActive&&o("if("+r+")"+c+".bindBuffer(34963,"+r+".buffer.buffer);")):(r=o.def(),o(r,"=",h,".","elements",";","if(",r,"){",c,".bindBuffer(",34963,",",r,".buffer.buffer);}","else if(",u.vao,".currentVAO){",r,"=",t.shared.elements+".getElements("+u.vao,".currentVAO.elements);",et?"":"if("+r+")"+c+".bindBuffer(34963,"+r+".buffer.buffer);","}")),r}(),_=r("primitive"),p=r("offset"),m=function(){var r=d.count,o=e;return r?((r.contextDep&&i.contextDynamic||r.propDep)&&(o=n),r=r.append(t,o)):r=o.def(h,".","count"),r}();if("number"==typeof m){if(0===m)return}else n("if(",m,"){"),n.exit("}");Q&&(s=r("instances"),l=t.instancing);var v=f+".type",g=d.elements&&q(d.elements)&&!d.vaoActive;Q&&("number"!=typeof s||0<=s)?"string"==typeof s?(n("if(",s,">0){"),o(),n("}else if(",s,"<0){"),a(),n("}")):o():a()}function F(t,e,n,i,r){return r=(e=w()).proc("body",r),Q&&(e.instancing=r.def(e.shared.extensions,".angle_instanced_arrays")),t(e,r,n,i),e.compile().body}function W(t,e,n,i){I(t,e),n.useVAO?n.drawVAO?e(t.shared.vao,".setVAO(",n.drawVAO.append(t,e),");"):e(t.shared.vao,".setVAO(",t.shared.vao,".targetVAO);"):(e(t.shared.vao,".setVAO(null);"),L(t,e,n,i.attributes,(function(){return!0}))),M(t,e,n,i.uniforms,(function(){return!0}),!1),$(t,e,e,n)}function H(t,e,n,i){function r(){return!0}t.batchId="a1",I(t,e),L(t,e,n,i.attributes,r),M(t,e,n,i.uniforms,r,!1),$(t,e,e,n)}function X(t,e,n,i){function r(t){return t.contextDep&&a||t.propDep}function o(t){return!r(t)}I(t,e);var a=n.contextDep,s=e.def(),l=e.def();t.shared.props=l,t.batchId=s;var u=t.scope(),c=t.scope();e(u.entry,"for(",s,"=0;",s,"<","a1",";++",s,"){",l,"=","a0","[",s,"];",c,"}",u.exit),n.needsContext&&S(t,c,n.context),n.needsFramebuffer&&z(t,c,n.framebuffer),N(t,c,n.state,r),n.profile&&r(n.profile)&&O(t,c,n,!1,!0),i?(n.useVAO?n.drawVAO?r(n.drawVAO)?c(t.shared.vao,".setVAO(",n.drawVAO.append(t,c),");"):u(t.shared.vao,".setVAO(",n.drawVAO.append(t,u),");"):u(t.shared.vao,".setVAO(",t.shared.vao,".targetVAO);"):(u(t.shared.vao,".setVAO(null);"),L(t,u,n,i.attributes,o),L(t,c,n,i.attributes,r)),M(t,u,n,i.uniforms,o,!1),M(t,c,n,i.uniforms,r,!0),$(t,u,c,n)):(e=t.global.def("{}"),i=n.shader.progVar.append(t,c),l=c.def(i,".id"),u=c.def(e,"[",l,"]"),c(t.shared.gl,".useProgram(",i,".program);","if(!",u,"){",u,"=",e,"[",l,"]=",t.link((function(e){return F(H,t,n,e,2)})),"(",i,");}",u,".call(this,a0[",s,"],",s,");"))}function J(t,n){function i(e){var i=n.shader[e];i&&(i=i.append(t,r),isNaN(i)?r.set(o.shader,"."+e,i):r.set(o.shader,"."+e,t.link(i,{stable:!0})))}var r=t.proc("scope",3);t.batchId="a2";var o=t.shared,a=o.current;if(S(t,r,n.context),n.framebuffer&&n.framebuffer.append(t,r),U(Object.keys(n.state)).forEach((function(e){var i=n.state[e],a=i.append(t,r);g(a)?a.forEach((function(n,i){isNaN(n)?r.set(t.next[e],"["+i+"]",n):r.set(t.next[e],"["+i+"]",t.link(n,{stable:!0}))})):q(i)?r.set(o.next,"."+e,t.link(a,{stable:!0})):r.set(o.next,"."+e,a)})),O(t,r,n,!0,!0),["elements","offset","count","instances","primitive"].forEach((function(e){var i=n.draw[e];i&&(i=i.append(t,r),isNaN(i)?r.set(o.draw,"."+e,i):r.set(o.draw,"."+e,t.link(i),{stable:!0}))})),Object.keys(n.uniforms).forEach((function(i){var a=n.uniforms[i].append(t,r);Array.isArray(a)&&(a="["+a.map((function(e){return isNaN(e)?e:t.link(e,{stable:!0})}))+"]"),r.set(o.uniforms,"["+t.link(e.id(i),{stable:!0})+"]",a)})),Object.keys(n.attributes).forEach((function(e){var i=n.attributes[e].append(t,r),o=t.scopeAttrib(e);Object.keys(new Y).forEach((function(t){r.set(o,"."+t,i[t])}))})),n.scopeVAO){var s=n.scopeVAO.append(t,r);isNaN(s)?r.set(o.vao,".targetVAO",s):r.set(o.vao,".targetVAO",t.link(s,{stable:!0}))}i("vert"),i("frag"),0=--this.refCount&&a(this)},r.profile&&(i.getTotalRenderbufferSize=function(){var t=0;return Object.keys(c).forEach((function(e){t+=c[e].stats.size})),t}),{create:function(e,n){function a(e,n){var i=0,o=0,c=32854;if("object"==typeof e&&e?("shape"in e?(i=0|(o=e.shape)[0],o=0|o[1]):("radius"in e&&(i=o=0|e.radius),"width"in e&&(i=0|e.width),"height"in e&&(o=0|e.height)),"format"in e&&(c=s[e.format])):"number"==typeof e?(i=0|e,o="number"==typeof n?0|n:i):e||(i=o=1),i!==u.width||o!==u.height||c!==u.format)return a.width=u.width=i,a.height=u.height=o,u.format=c,t.bindRenderbuffer(36161,u.renderbuffer),t.renderbufferStorage(36161,c,i,o),r.profile&&(u.stats.size=Et[u.format]*u.width*u.height),a.format=l[u.format],a}var u=new o(t.createRenderbuffer());return c[u.id]=u,i.renderbufferCount++,a(e,n),a.resize=function(e,n){var i=0|e,o=0|n||i;return i===u.width&&o===u.height||(a.width=u.width=i,a.height=u.height=o,t.bindRenderbuffer(36161,u.renderbuffer),t.renderbufferStorage(36161,u.format,i,o),r.profile&&(u.stats.size=Et[u.format]*u.width*u.height)),a},a._reglType="renderbuffer",a._renderbuffer=u,r.profile&&(a.stats=u.stats),a.destroy=function(){u.decRef()},a},clear:function(){Q(c).forEach(a)},restore:function(){Q(c).forEach((function(e){e.renderbuffer=t.createRenderbuffer(),t.bindRenderbuffer(36161,e.renderbuffer),t.renderbufferStorage(36161,e.format,e.width,e.height)})),t.bindRenderbuffer(36161,null)}}},Ct=[];Ct[6408]=4,Ct[6407]=3;var Tt=[];Tt[5121]=1,Tt[5126]=4,Tt[36193]=2;var At=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],St=["x","y","z","w"],zt="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),kt={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},Nt={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},It={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Ot={cw:2304,ccw:2305},Lt=new j(!1,!1,!1,(function(){}));return function(t){function e(){if(0===Z.length)x&&x.update(),et=null;else{et=X.next(e),h();for(var t=Z.length-1;0<=t;--t){var n=Z[t];n&&n(O,null,0)}_.flush(),x&&x.update()}}function n(){!et&&0=Z.length&&i()}}}}function c(){var t=B.viewport,e=B.scissor_box;t[0]=t[1]=e[0]=e[1]=0,O.viewportWidth=O.framebufferWidth=O.drawingBufferWidth=t[2]=e[2]=_.drawingBufferWidth,O.viewportHeight=O.framebufferHeight=O.drawingBufferHeight=t[3]=e[3]=_.drawingBufferHeight}function h(){O.tick+=1,O.time=f(),c(),D.procs.poll()}function d(){U.refresh(),c(),D.procs.refresh(),x&&x.update()}function f(){return(J()-C)/1e3}if(!(t=o(t)))return null;var _=t.gl,v=_.getContextAttributes();_.isContextLost();var g=function(t,e){function n(e){var n;e=e.toLowerCase();try{n=i[e]=t.getExtension(e)}catch(t){}return!!n}for(var i={},r=0;re;++e)nt(G({framebuffer:t.framebuffer.faces[e]},t),l);else nt(t,l);else l(0,t)},prop:V.define.bind(null,1),context:V.define.bind(null,2),this:V.define.bind(null,3),draw:s({}),buffer:function(t){return M.create(t,34962,!1,!1)},elements:function(t){return $.create(t,!1)},texture:U.create2D,cube:U.createCube,renderbuffer:j.create,framebuffer:q.create,framebufferCube:q.createCube,vao:R.createVAO,attributes:v,frame:u,on:function(t,e){var n;switch(t){case"frame":return u(e);case"lost":n=K;break;case"restore":n=Q;break;case"destroy":n=tt}return n.push(e),{cancel:function(){for(var t=0;t4294967295||l(e)!==e)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,u=!0;if("length"in t&&a){var c=a(t,"length");c&&!c.configurable&&(i=!1),c&&!c.writable&&(u=!1)}return(i||u||!n)&&(o?r(t,"length",e,!0,!0):r(t,"length",e)),t}},29936:function(t,e,n){t.exports=r;var i=n(61252).EventEmitter;function r(){i.call(this)}n(6768)(r,i),r.Readable=n(12348),r.Writable=n(11288),r.Duplex=n(15316),r.Transform=n(22477),r.PassThrough=n(27136),r.finished=n(15932),r.pipeline=n(38180),r.Stream=r,r.prototype.pipe=function(t,e){var n=this;function r(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",r),t.on("drain",o),t._isStdio||e&&!1===e.end||(n.on("end",s),n.on("close",l));var a=!1;function s(){a||(a=!0,t.end())}function l(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function u(t){if(c(),0===i.listenerCount(this,"error"))throw t}function c(){n.removeListener("data",r),t.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",l),n.removeListener("error",u),t.removeListener("error",u),n.removeListener("end",c),n.removeListener("close",c),t.removeListener("close",c)}return n.on("error",u),t.on("error",u),n.on("end",c),n.on("close",c),t.on("close",c),t.emit("pipe",n),t}},92784:function(t){"use strict";var e={};function n(t,n,i){i||(i=Error);var r=function(t){var e,i;function r(e,i,r){return t.call(this,function(t,e,i){return"string"==typeof n?n:n(t,e,i)}(e,i,r))||this}return i=t,(e=r).prototype=Object.create(i.prototype),e.prototype.constructor=e,e.__proto__=i,r}(i);r.prototype.name=i.name,r.prototype.code=t,e[t]=r}function i(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}n("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(t,e,n){var r,o,a,s,l;if("string"==typeof e&&(o="not ",e.substr(0,4)===o)?(r="must not be",e=e.replace(/^not /,"")):r="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-9,n)===e}(t," argument"))a="The ".concat(t," ").concat(r," ").concat(i(e,"type"));else{var u=("number"!=typeof l&&(l=0),l+1>(s=t).length||-1===s.indexOf(".",l)?"argument":"property");a='The "'.concat(t,'" ').concat(u," ").concat(r," ").concat(i(e,"type"))}return a+". Received type ".concat(typeof n)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.i=e},15316:function(t,e,n){"use strict";var i=n(4168),r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=c;var o=n(12348),a=n(11288);n(6768)(c,o);for(var s=r(a.prototype),l=0;l0)if("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===l.prototype||(e=function(t){return l.from(t)}(e)),i)s.endEmitted?E(t,new w):S(t,s,e,!0);else if(s.ended)E(t,new y);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(e=s.decoder.write(e),s.objectMode||0!==e.length?S(t,s,e,!1):O(t,s)):S(t,s,e,!1)}else i||(s.reading=!1,O(t,s));return!s.ended&&(s.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=z?t=z:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function N(t){var e=t._readableState;o("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(o("emitReadable",e.flowing),e.emittedReadable=!0,r.nextTick(I,t))}function I(t){var e=t._readableState;o("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,P(t)}function O(t,e){e.readingMore||(e.readingMore=!0,r.nextTick(L,t,e))}function L(t,e){for(;!e.reading&&!e.ended&&(e.length0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function $(t){o("readable nexttick read 0"),t.read(0)}function R(t,e){o("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),P(t),e.flowing&&!e.reading&&t.read(0)}function P(t){var e=t._readableState;for(o("flow",e.flowing);e.flowing&&null!==t.read(););}function U(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function j(t){var e=t._readableState;o("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,r.nextTick(q,e,t))}function q(t,e){if(o("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function D(t,e){for(var n=0,i=t.length;n=e.highWaterMark:e.length>0)||e.ended))return o("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?j(this):N(this),null;if(0===(t=k(t,e))&&e.ended)return 0===e.length&&j(this),null;var i,r=e.needReadable;return o("need readable",r),(0===e.length||e.length-t0?U(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&j(this)),null!==i&&this.emit("data",i),i},T.prototype._read=function(t){E(this,new b("_read()"))},T.prototype.pipe=function(t,e){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,o("pipe count=%d opts=%j",i.pipesCount,e);var s=e&&!1===e.end||t===r.stdout||t===r.stderr?p:l;function l(){o("onend"),t.end()}i.endEmitted?r.nextTick(s):n.once("end",s),t.on("unpipe",(function e(r,a){o("onunpipe"),r===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,o("cleanup"),t.removeListener("close",f),t.removeListener("finish",_),t.removeListener("drain",u),t.removeListener("error",d),t.removeListener("unpipe",e),n.removeListener("end",l),n.removeListener("end",p),n.removeListener("data",h),c=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||u())}));var u=function(t){return function(){var e=t._readableState;o("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&a(t,"data")&&(e.flowing=!0,P(t))}}(n);t.on("drain",u);var c=!1;function h(e){o("ondata");var r=t.write(e);o("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==D(i.pipes,t))&&!c&&(o("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function d(e){o("onerror",e),p(),t.removeListener("error",d),0===a(t,"error")&&E(t,e)}function f(){t.removeListener("finish",_),p()}function _(){o("onfinish"),t.removeListener("close",f),p()}function p(){o("unpipe"),n.unpipe(t)}return n.on("data",h),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",d),t.once("close",f),t.once("finish",_),t.emit("pipe",n),i.flowing||(o("pipe resume"),n.resume()),t},T.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var i=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,o("on readable",i.length,i.reading),i.length?N(this):i.reading||r.nextTick($,this))),n},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(t,e){var n=s.prototype.removeListener.call(this,t,e);return"readable"===t&&r.nextTick(M,this),n},T.prototype.removeAllListeners=function(t){var e=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||r.nextTick(M,this),e},T.prototype.resume=function(){var t=this._readableState;return t.flowing||(o("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,r.nextTick(R,t,e))}(this,t)),t.paused=!1,this},T.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(t){var e=this,n=this._readableState,i=!1;for(var r in t.on("end",(function(){if(o("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(r){o("wrapped data"),n.decoder&&(r=n.decoder.write(r)),n.objectMode&&null==r||(n.objectMode||r&&r.length)&&(e.push(r)||(i=!0,t.pause()))})),t)void 0===this[r]&&"function"==typeof t[r]&&(this[r]=function(e){return function(){return t[e].apply(t,arguments)}}(r));for(var a=0;a-1))throw new w(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(T.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(T.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),T.prototype._write=function(t,e,n){n(new p("_write()"))},T.prototype._writev=null,T.prototype.end=function(t,e,n){var i=this._writableState;return"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,e,n){e.ending=!0,I(t,e),n&&(e.finished?r.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}(this,i,n),this},Object.defineProperty(T.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),T.prototype.destroy=h.destroy,T.prototype._undestroy=h.undestroy,T.prototype._destroy=function(t,e){e(t)}},60328:function(t,e,n){"use strict";var i,r=n(4168);function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=n(15932),s=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),h=Symbol("lastPromise"),d=Symbol("handlePromise"),f=Symbol("stream");function _(t,e){return{value:t,done:e}}function p(t){var e=t[s];if(null!==e){var n=t[f].read();null!==n&&(t[h]=null,t[s]=null,t[l]=null,e(_(n,!1)))}}function m(t){r.nextTick(p,t)}var v=Object.getPrototypeOf((function(){})),g=Object.setPrototypeOf((o(i={get stream(){return this[f]},next:function(){var t=this,e=this[u];if(null!==e)return Promise.reject(e);if(this[c])return Promise.resolve(_(void 0,!0));if(this[f].destroyed)return new Promise((function(e,n){r.nextTick((function(){t[u]?n(t[u]):e(_(void 0,!0))}))}));var n,i=this[h];if(i)n=new Promise(function(t,e){return function(n,i){t.then((function(){e[c]?n(_(void 0,!0)):e[d](n,i)}),i)}}(i,this));else{var o=this[f].read();if(null!==o)return Promise.resolve(_(o,!1));n=new Promise(this[d])}return this[h]=n,n}},Symbol.asyncIterator,(function(){return this})),o(i,"return",(function(){var t=this;return new Promise((function(e,n){t[f].destroy(null,(function(t){t?n(t):e(_(void 0,!0))}))}))})),i),v);t.exports=function(t){var e,n=Object.create(g,(o(e={},f,{value:t,writable:!0}),o(e,s,{value:null,writable:!0}),o(e,l,{value:null,writable:!0}),o(e,u,{value:null,writable:!0}),o(e,c,{value:t._readableState.endEmitted,writable:!0}),o(e,d,{value:function(t,e){var i=n[f].read();i?(n[h]=null,n[s]=null,n[l]=null,t(_(i,!1))):(n[s]=t,n[l]=e)},writable:!0}),e));return n[h]=null,a(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=n[l];return null!==e&&(n[h]=null,n[s]=null,n[l]=null,e(t)),void(n[u]=t)}var i=n[s];null!==i&&(n[h]=null,n[s]=null,n[l]=null,i(_(void 0,!0))),n[c]=!0})),t.on("readable",m.bind(null,n)),n}},47264:function(t,e,n){"use strict";function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}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 o(t,e){for(var n=0;n0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return a.alloc(0);for(var e,n,i,r=a.allocUnsafe(t>>>0),o=this.head,s=0;o;)e=o.data,n=r,i=s,a.prototype.copy.call(e,n,i),s+=o.data.length,o=o.next;return r}},{key:"consume",value:function(t,e){var n;return tr.length?r.length:t;if(o===r.length?i+=r:i+=r.slice(0,t),0==(t-=o)){o===r.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=r.slice(o));break}++n}return this.length-=n,i}},{key:"_getBuffer",value:function(t){var e=a.allocUnsafe(t),n=this.head,i=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var r=n.data,o=t>r.length?r.length:t;if(r.copy(e,e.length-t,0,o),0==(t-=o)){o===r.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=r.slice(o));break}++i}return this.length-=i,e}},{key:l,value:function(t,e){return s(this,function(t){for(var e=1;e0,(function(t){c||(c=t),t&&d.forEach(l),o||(d.forEach(l),h(c))}))}));return e.reduce(u)}},24888:function(t,e,n){"use strict";var i=n(92784).i.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,n,r){var o=function(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}(e,r,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new i(r?n:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},4776:function(t,e,n){t.exports=n(61252).EventEmitter},86032:function(t,e,n){"use strict";var i=n(30456).Buffer,r=i.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(i.isEncoding===r||!r(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=l,this.end=u,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=c,this.end=h,e=3;break;default:return this.write=d,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(e)}function a(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function l(t,e){if((t.length-e)%2==0){var n=t.toString("utf16le",e);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function u(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function c(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function h(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function d(t){return t.toString(this.encoding)}function f(t){return t&&t.length?this.write(t):""}e.o=o,o.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0?(r>0&&(t.lastNeed=r-1),r):--i=0?(r>0&&(t.lastNeed=r-2),r):--i=0?(r>0&&(2===r?r=0:t.lastNeed=r-3),r):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var i=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,i),t.toString("utf8",e,i)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},55619:function(t,e,n){var i=n(45408),r=n(86844)("stream-parser");t.exports=function(t){var e=t&&"function"==typeof t._transform,n=t&&"function"==typeof t._write;if(!e&&!n)throw new Error("must pass a Writable or Transform stream in");r("extending Parser into stream"),t._bytes=c,t._skipBytes=h,e&&(t._passthrough=d),e?t._transform=_:t._write=f};var o=-1,a=0,s=1,l=2;function u(t){r("initializing parser stream"),t._parserBytesLeft=0,t._parserBuffers=[],t._parserBuffered=0,t._parserState=o,t._parserCallback=null,"function"==typeof t.push&&(t._parserOutput=t.push.bind(t)),t._parserInit=!0}function c(t,e){i(!this._parserCallback,'there is already a "callback" set!'),i(isFinite(t)&&t>0,'can only buffer a finite number of bytes > 0, got "'+t+'"'),this._parserInit||u(this),r("buffering %o bytes",t),this._parserBytesLeft=t,this._parserCallback=e,this._parserState=a}function h(t,e){i(!this._parserCallback,'there is already a "callback" set!'),i(t>0,'can only skip > 0 bytes, got "'+t+'"'),this._parserInit||u(this),r("skipping %o bytes",t),this._parserBytesLeft=t,this._parserCallback=e,this._parserState=s}function d(t,e){i(!this._parserCallback,'There is already a "callback" set!'),i(t>0,'can only pass through > 0 bytes, got "'+t+'"'),this._parserInit||u(this),r("passing through %o bytes",t),this._parserBytesLeft=t,this._parserCallback=e,this._parserState=l}function f(t,e,n){this._parserInit||u(this),r("write(%o bytes)",t.length),"function"==typeof e&&(n=e),m(this,t,null,n)}function _(t,e,n){this._parserInit||u(this),r("transform(%o bytes)",t.length),"function"!=typeof e&&(e=this._parserOutput),m(this,t,e,n)}function p(t,e,n,i){if(t._parserBytesLeft-=e.length,r("%o bytes left for stream piece",t._parserBytesLeft),t._parserState===a?(t._parserBuffers.push(e),t._parserBuffered+=e.length):t._parserState===l&&n(e),0!==t._parserBytesLeft)return i;var s=t._parserCallback;if(s&&t._parserState===a&&t._parserBuffers.length>1&&(e=Buffer.concat(t._parserBuffers,t._parserBuffered)),t._parserState!==a&&(e=null),t._parserCallback=null,t._parserBuffered=0,t._parserState=o,t._parserBuffers.splice(0),s){var u=[];e&&u.push(e),n&&u.push(n);var c=s.length>u.length;c&&u.push(v(i));var h=s.apply(t,u);if(!c||i===h)return i}}var m=v((function t(e,n,i,r){return e._parserBytesLeft<=0?r(new Error("got data but not currently parsing anything")):n.length<=e._parserBytesLeft?function(){return p(e,n,i,r)}:function(){var o=n.slice(0,e._parserBytesLeft);return p(e,o,i,(function(a){return a?r(a):n.length>o.length?function(){return t(e,n.slice(o.length),i,r)}:void 0}))}}));function v(t){return function(){for(var e=t.apply(this,arguments);"function"==typeof e;)e=e();return e}}},86844:function(t,e,n){var i=n(4168);function r(){var t;try{t=e.storage.debug}catch(t){}return!t&&void 0!==i&&"env"in i&&(t=i.env.DEBUG),t}(e=t.exports=n(89416)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var i="color: "+this.color;t.splice(1,0,i,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(r++,"%c"===t&&(o=r))})),t.splice(o,0,i)}},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(t){}},e.load=r,e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(r())},89416:function(t,e,n){var i;function r(t){function n(){if(n.enabled){var t=n,r=+new Date,o=r-(i||r);t.diff=o,t.prev=i,t.curr=r,i=r;for(var a=new Array(arguments.length),s=0;s0)return function(t){if(!((t=String(t)).length>100)){var o=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(o){var a=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"days":case"day":case"d":return a*r;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(t);if("number"===l&&!1===isNaN(t))return a.long?o(s=t,r,"day")||o(s,i,"hour")||o(s,n,"minute")||o(s,e,"second")||s+" ms":function(t){return t>=r?Math.round(t/r)+"d":t>=i?Math.round(t/i)+"h":t>=n?Math.round(t/n)+"m":t>=e?Math.round(t/e)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},39956:function(t,e,n){"use strict";var i=n(32868);t.exports=function(t,e,n){if(null==t)throw Error("First argument should be a string");if(null==e)throw Error("Separator should be a string or a RegExp");n?("string"==typeof n||Array.isArray(n))&&(n={ignore:n}):n={},null==n.escape&&(n.escape=!0),null==n.ignore?n.ignore=["[]","()","{}","<>",'""',"''","``","“”","«»"]:("string"==typeof n.ignore&&(n.ignore=[n.ignore]),n.ignore=n.ignore.map((function(t){return 1===t.length&&(t+=t),t})));var r=i.parse(t,{flat:!0,brackets:n.ignore}),o=r[0].split(e);if(n.escape){for(var a=[],s=0;s0;){e=u[u.length-1];var f=t[e];if(o[e]=0&&s[e].push(a[p])}o[e]=_}else{if(i[e]===n[e]){var m=[],v=[],g=0;for(_=l.length-1;_>=0;--_){var y=l[_];if(r[y]=!1,m.push(y),v.push(s[y]),g+=s[y].length,a[y]=h.length,y===e){l.length=_;break}}h.push(m);var b=new Array(g);for(_=0;_1&&(r=1),r<-1&&(r=-1),(t*i-e*n<0?-1:1)*Math.acos(r)};e.default=function(t){var e=t.px,n=t.py,s=t.cx,l=t.cy,u=t.rx,c=t.ry,h=t.xAxisRotation,d=void 0===h?0:h,f=t.largeArcFlag,_=void 0===f?0:f,p=t.sweepFlag,m=void 0===p?0:p,v=[];if(0===u||0===c)return[];var g=Math.sin(d*i/360),y=Math.cos(d*i/360),b=y*(e-s)/2+g*(n-l)/2,w=-g*(e-s)/2+y*(n-l)/2;if(0===b&&0===w)return[];u=Math.abs(u),c=Math.abs(c);var E=Math.pow(b,2)/Math.pow(u,2)+Math.pow(w,2)/Math.pow(c,2);E>1&&(u*=Math.sqrt(E),c*=Math.sqrt(E));var x=function(t,e,n,r,o,s,l,u,c,h,d,f){var _=Math.pow(o,2),p=Math.pow(s,2),m=Math.pow(d,2),v=Math.pow(f,2),g=_*p-_*v-p*m;g<0&&(g=0),g/=_*v+p*m;var y=(g=Math.sqrt(g)*(l===u?-1:1))*o/s*f,b=g*-s/o*d,w=h*y-c*b+(t+n)/2,E=c*y+h*b+(e+r)/2,x=(d-y)/o,C=(f-b)/s,T=(-d-y)/o,A=(-f-b)/s,S=a(1,0,x,C),z=a(x,C,T,A);return 0===u&&z>0&&(z-=i),1===u&&z<0&&(z+=i),[w,E,S,z]}(e,n,s,l,u,c,_,m,g,y,b,w),C=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(x,4),T=C[0],A=C[1],S=C[2],z=C[3],k=Math.abs(z)/(i/4);Math.abs(1-k)<1e-7&&(k=1);var N=Math.max(Math.ceil(k),1);z/=N;for(var I=0;Ie[2]&&(e[2]=u[c+0]),u[c+1]>e[3]&&(e[3]=u[c+1]);return e}},41976:function(t,e,n){"use strict";t.exports=function(t){for(var e,n=[],a=0,s=0,l=0,u=0,c=null,h=null,d=0,f=0,_=0,p=t.length;_4?(a=m[m.length-4],s=m[m.length-3]):(a=d,s=f),n.push(m)}return n};var i=n(92848);function r(t,e,n,i){return["C",t,e,n,i,n,i]}function o(t,e,n,i,r,o){return["C",t/3+2/3*n,e/3+2/3*i,r/3+2/3*n,o/3+2/3*i,r,o]}},20472:function(t,e,n){"use strict";var i,r=n(74840),o=n(21984),a=n(22235),s=n(53520),l=n(29620),u=document.createElement("canvas"),c=u.getContext("2d");t.exports=function(t,e){if(!s(t))throw Error("Argument should be valid svg path string");var n,h;e||(e={}),e.shape?(n=e.shape[0],h=e.shape[1]):(n=u.width=e.w||e.width||200,h=u.height=e.h||e.height||200);var d=Math.min(n,h),f=e.stroke||0,_=e.viewbox||e.viewBox||r(t),p=[n/(_[2]-_[0]),h/(_[3]-_[1])],m=Math.min(p[0]||0,p[1]||0)/2;if(c.fillStyle="black",c.fillRect(0,0,n,h),c.fillStyle="white",f&&("number"!=typeof f&&(f=1),c.strokeStyle=f>0?"white":"black",c.lineWidth=Math.abs(f)),c.translate(.5*n,.5*h),c.scale(m,m),function(){if(null!=i)return i;var t=document.createElement("canvas").getContext("2d");if(t.canvas.width=t.canvas.height=1,!window.Path2D)return i=!1;var e=new Path2D("M0,0h1v1h-1v-1Z");t.fillStyle="black",t.fill(e);var n=t.getImageData(0,0,1,1);return i=n&&n.data&&255===n.data[3]}()){var v=new Path2D(t);c.fill(v),f&&c.stroke(v)}else{var g=o(t);a(c,g),c.fill(),f&&c.stroke()}return c.setTransform(1,0,0,1,0,0),l(c,{cutoff:null!=e.cutoff?e.cutoff:.5,radius:null!=e.radius?e.radius:.5*d})}},49760:function(t,e,n){var i;!function(r){var o=/^\s+/,a=/\s+$/,s=0,l=r.round,u=r.min,c=r.max,h=r.random;function d(t,e){if(e=e||{},(t=t||"")instanceof d)return t;if(!(this instanceof d))return new d(t,e);var n=function(t){var e,n,i,s={r:0,g:0,b:0},l=1,h=null,d=null,f=null,_=!1,p=!1;return"string"==typeof t&&(t=function(t){t=t.replace(o,"").replace(a,"").toLowerCase();var e,n=!1;if(N[t])t=N[t],n=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};return(e=F.rgb.exec(t))?{r:e[1],g:e[2],b:e[3]}:(e=F.rgba.exec(t))?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=F.hsl.exec(t))?{h:e[1],s:e[2],l:e[3]}:(e=F.hsla.exec(t))?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=F.hsv.exec(t))?{h:e[1],s:e[2],v:e[3]}:(e=F.hsva.exec(t))?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=F.hex8.exec(t))?{r:$(e[1]),g:$(e[2]),b:$(e[3]),a:j(e[4]),format:n?"name":"hex8"}:(e=F.hex6.exec(t))?{r:$(e[1]),g:$(e[2]),b:$(e[3]),format:n?"name":"hex"}:(e=F.hex4.exec(t))?{r:$(e[1]+""+e[1]),g:$(e[2]+""+e[2]),b:$(e[3]+""+e[3]),a:j(e[4]+""+e[4]),format:n?"name":"hex8"}:!!(e=F.hex3.exec(t))&&{r:$(e[1]+""+e[1]),g:$(e[2]+""+e[2]),b:$(e[3]+""+e[3]),format:n?"name":"hex"}}(t)),"object"==typeof t&&(W(t.r)&&W(t.g)&&W(t.b)?(e=t.r,n=t.g,i=t.b,s={r:255*L(e,255),g:255*L(n,255),b:255*L(i,255)},_=!0,p="%"===String(t.r).substr(-1)?"prgb":"rgb"):W(t.h)&&W(t.s)&&W(t.v)?(h=P(t.s),d=P(t.v),s=function(t,e,n){t=6*L(t,360),e=L(e,100),n=L(n,100);var i=r.floor(t),o=t-i,a=n*(1-e),s=n*(1-o*e),l=n*(1-(1-o)*e),u=i%6;return{r:255*[n,s,a,a,l,n][u],g:255*[l,n,n,s,a,a][u],b:255*[a,a,l,n,n,s][u]}}(t.h,h,d),_=!0,p="hsv"):W(t.h)&&W(t.s)&&W(t.l)&&(h=P(t.s),f=P(t.l),s=function(t,e,n){var i,r,o;function a(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}if(t=L(t,360),e=L(e,100),n=L(n,100),0===e)i=r=o=n;else{var s=n<.5?n*(1+e):n+e-n*e,l=2*n-s;i=a(l,s,t+1/3),r=a(l,s,t),o=a(l,s,t-1/3)}return{r:255*i,g:255*r,b:255*o}}(t.h,h,f),_=!0,p="hsl"),t.hasOwnProperty("a")&&(l=t.a)),l=O(l),{ok:_,format:t.format||p,r:u(255,c(s.r,0)),g:u(255,c(s.g,0)),b:u(255,c(s.b,0)),a:l}}(t);this._originalInput=t,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=e.format||n.format,this._gradientType=e.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=s++}function f(t,e,n){t=L(t,255),e=L(e,255),n=L(n,255);var i,r,o=c(t,e,n),a=u(t,e,n),s=(o+a)/2;if(o==a)i=r=0;else{var l=o-a;switch(r=s>.5?l/(2-o-a):l/(o+a),o){case t:i=(e-n)/l+(e>1)+720)%360;--e;)i.h=(i.h+r)%360,o.push(d(i));return o}function k(t,e){e=e||6;for(var n=d(t).toHsv(),i=n.h,r=n.s,o=n.v,a=[],s=1/e;e--;)a.push(d({h:i,s:r,v:o})),o=(o+s)%1;return a}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,n,i=this.toRgb();return t=i.r/255,e=i.g/255,n=i.b/255,.2126*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(t){return this._a=O(t),this._roundA=l(100*this._a)/100,this},toHsv:function(){var t=_(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=_(this._r,this._g,this._b),e=l(360*t.h),n=l(100*t.s),i=l(100*t.v);return 1==this._a?"hsv("+e+", "+n+"%, "+i+"%)":"hsva("+e+", "+n+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var t=f(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=f(this._r,this._g,this._b),e=l(360*t.h),n=l(100*t.s),i=l(100*t.l);return 1==this._a?"hsl("+e+", "+n+"%, "+i+"%)":"hsla("+e+", "+n+"%, "+i+"%, "+this._roundA+")"},toHex:function(t){return p(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,n,i,r){var o=[R(l(t).toString(16)),R(l(e).toString(16)),R(l(n).toString(16)),R(U(i))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*L(this._r,255))+"%",g:l(100*L(this._g,255))+"%",b:l(100*L(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%)":"rgba("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(I[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+m(this._r,this._g,this._b,this._a),n=e,i=this._gradientType?"GradientType = 1, ":"";if(t){var r=d(t);n="#"+m(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+e+",endColorstr="+n+")"},toString:function(t){var e=!!t;t=t||this._format;var n=!1,i=this._a<1&&this._a>=0;return e||!i||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return d(this.toString())},_applyModification:function(t,e){var n=t.apply(null,[this].concat([].slice.call(e)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(b,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(z,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(k,arguments)},splitcomplement:function(){return this._applyCombination(S,arguments)},triad:function(){return this._applyCombination(T,arguments)},tetrad:function(){return this._applyCombination(A,arguments)}},d.fromRatio=function(t,e){if("object"==typeof t){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]="a"===i?t[i]:P(t[i]));t=n}return d(t,e)},d.equals=function(t,e){return!(!t||!e)&&d(t).toRgbString()==d(e).toRgbString()},d.random=function(){return d.fromRatio({r:h(),g:h(),b:h()})},d.mix=function(t,e,n){n=0===n?0:n||50;var i=d(t).toRgb(),r=d(e).toRgb(),o=n/100;return d({r:(r.r-i.r)*o+i.r,g:(r.g-i.g)*o+i.g,b:(r.b-i.b)*o+i.b,a:(r.a-i.a)*o+i.a})},d.readability=function(t,e){var n=d(t),i=d(e);return(r.max(n.getLuminance(),i.getLuminance())+.05)/(r.min(n.getLuminance(),i.getLuminance())+.05)},d.isReadable=function(t,e,n){var i,r,o,a,s,l=d.readability(t,e);switch(r=!1,(o=n,a=((o=o||{level:"AA",size:"small"}).level||"AA").toUpperCase(),s=(o.size||"small").toLowerCase(),"AA"!==a&&"AAA"!==a&&(a="AA"),"small"!==s&&"large"!==s&&(s="small"),i={level:a,size:s}).level+i.size){case"AAsmall":case"AAAlarge":r=l>=4.5;break;case"AAlarge":r=l>=3;break;case"AAAsmall":r=l>=7}return r},d.mostReadable=function(t,e,n){var i,r,o,a,s=null,l=0;r=(n=n||{}).includeFallbackColors,o=n.level,a=n.size;for(var u=0;ul&&(l=i,s=d(e[u]));return d.isReadable(t,s,{level:o,size:a})||!r?s:(n.includeFallbackColors=!1,d.mostReadable(t,["#fff","#000"],n))};var N=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},I=d.hexNames=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}(N);function O(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function L(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var n=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=u(e,c(0,parseFloat(t))),n&&(t=parseInt(t*e,10)/100),r.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function M(t){return u(1,c(0,t))}function $(t){return parseInt(t,16)}function R(t){return 1==t.length?"0"+t:""+t}function P(t){return t<=1&&(t=100*t+"%"),t}function U(t){return r.round(255*parseFloat(t)).toString(16)}function j(t){return $(t)/255}var q,D,B,F=(D="[\\s|\\(]+("+(q="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+q+")[,|\\s]+("+q+")\\s*\\)?",B="[\\s|\\(]+("+q+")[,|\\s]+("+q+")[,|\\s]+("+q+")[,|\\s]+("+q+")\\s*\\)?",{CSS_UNIT:new RegExp(q),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(t){return!!F.CSS_UNIT.exec(t)}t.exports?t.exports=d:void 0===(i=function(){return d}.call(e,n,e,t))||(t.exports=i)}(Math)},37816:function(t){"use strict";t.exports=n,t.exports.float32=t.exports.float=n,t.exports.fract32=t.exports.fract=function(t,e){if(t.length){if(t instanceof Float32Array)return new Float32Array(t.length);e instanceof Float32Array||(e=n(t));for(var i=0,r=e.length;i":(e.length>100&&(e=e.slice(0,99)+"…"),e=e.replace(r,(function(t){switch(t){case"\n":return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}})))}},7328:function(t,e,n){"use strict";var i=n(81680),r={object:!0,function:!0,undefined:!0};t.exports=function(t){return!!i(t)&&hasOwnProperty.call(r,typeof t)}},87396:function(t,e,n){"use strict";var i=n(57980),r=n(85488);t.exports=function(t){return r(t)?t:i(t,"%v is not a plain function",arguments[1])}},85488:function(t,e,n){"use strict";var i=n(73384),r=/^\s*class[\s{/}]/,o=Function.prototype.toString;t.exports=function(t){return!!i(t)&&!r.test(o.call(t))}},54612:function(t,e,n){"use strict";var i=n(7328);t.exports=function(t){if(!i(t))return!1;try{return!!t.constructor&&t.constructor.prototype===t}catch(t){return!1}}},33940:function(t,e,n){"use strict";var i=n(81680),r=n(7328),o=Object.prototype.toString;t.exports=function(t){if(!i(t))return null;if(r(t)){var e=t.toString;if("function"!=typeof e)return null;if(e===o)return null}try{return""+t}catch(t){return null}}},18496:function(t,e,n){"use strict";var i=n(57980),r=n(81680);t.exports=function(t){return r(t)?t:i(t,"Cannot use %v",arguments[1])}},81680:function(t){"use strict";t.exports=function(t){return null!=t}},14144:function(t,e,n){"use strict";var i=n(308),r=n(10352),o=n(33576).Buffer;n.g.__TYPEDARRAY_POOL||(n.g.__TYPEDARRAY_POOL={UINT8:r([32,0]),UINT16:r([32,0]),UINT32:r([32,0]),BIGUINT64:r([32,0]),INT8:r([32,0]),INT16:r([32,0]),INT32:r([32,0]),BIGINT64:r([32,0]),FLOAT:r([32,0]),DOUBLE:r([32,0]),DATA:r([32,0]),UINT8C:r([32,0]),BUFFER:r([32,0])});var a="undefined"!=typeof Uint8ClampedArray,s="undefined"!=typeof BigUint64Array,l="undefined"!=typeof BigInt64Array,u=n.g.__TYPEDARRAY_POOL;u.UINT8C||(u.UINT8C=r([32,0])),u.BIGUINT64||(u.BIGUINT64=r([32,0])),u.BIGINT64||(u.BIGINT64=r([32,0])),u.BUFFER||(u.BUFFER=r([32,0]));var c=u.DATA,h=u.BUFFER;function d(t){if(t){var e=t.length||t.byteLength,n=i.log2(e);c[n].push(t)}}function f(t){t=i.nextPow2(t);var e=i.log2(t),n=c[e];return n.length>0?n.pop():new ArrayBuffer(t)}function _(t){return new Uint8Array(f(t),0,t)}function p(t){return new Uint16Array(f(2*t),0,t)}function m(t){return new Uint32Array(f(4*t),0,t)}function v(t){return new Int8Array(f(t),0,t)}function g(t){return new Int16Array(f(2*t),0,t)}function y(t){return new Int32Array(f(4*t),0,t)}function b(t){return new Float32Array(f(4*t),0,t)}function w(t){return new Float64Array(f(8*t),0,t)}function E(t){return a?new Uint8ClampedArray(f(t),0,t):_(t)}function x(t){return s?new BigUint64Array(f(8*t),0,t):null}function C(t){return l?new BigInt64Array(f(8*t),0,t):null}function T(t){return new DataView(f(t),0,t)}function A(t){t=i.nextPow2(t);var e=i.log2(t),n=h[e];return n.length>0?n.pop():new o(t)}e.free=function(t){if(o.isBuffer(t))h[i.log2(t.length)].push(t);else{if("[object ArrayBuffer]"!==Object.prototype.toString.call(t)&&(t=t.buffer),!t)return;var e=t.length||t.byteLength,n=0|i.log2(e);c[n].push(t)}},e.freeUint8=e.freeUint16=e.freeUint32=e.freeBigUint64=e.freeInt8=e.freeInt16=e.freeInt32=e.freeBigInt64=e.freeFloat32=e.freeFloat=e.freeFloat64=e.freeDouble=e.freeUint8Clamped=e.freeDataView=function(t){d(t.buffer)},e.freeArrayBuffer=d,e.freeBuffer=function(t){h[i.log2(t.length)].push(t)},e.malloc=function(t,e){if(void 0===e||"arraybuffer"===e)return f(t);switch(e){case"uint8":return _(t);case"uint16":return p(t);case"uint32":return m(t);case"int8":return v(t);case"int16":return g(t);case"int32":return y(t);case"float":case"float32":return b(t);case"double":case"float64":return w(t);case"uint8_clamped":return E(t);case"bigint64":return C(t);case"biguint64":return x(t);case"buffer":return A(t);case"data":case"dataview":return T(t);default:return null}return null},e.mallocArrayBuffer=f,e.mallocUint8=_,e.mallocUint16=p,e.mallocUint32=m,e.mallocInt8=v,e.mallocInt16=g,e.mallocInt32=y,e.mallocFloat32=e.mallocFloat=b,e.mallocFloat64=e.mallocDouble=w,e.mallocUint8Clamped=E,e.mallocBigUint64=x,e.mallocBigInt64=C,e.mallocDataView=T,e.mallocBuffer=A,e.clearCache=function(){for(var t=0;t<32;++t)u.UINT8[t].length=0,u.UINT16[t].length=0,u.UINT32[t].length=0,u.INT8[t].length=0,u.INT16[t].length=0,u.INT32[t].length=0,u.FLOAT[t].length=0,u.DOUBLE[t].length=0,u.BIGUINT64[t].length=0,u.BIGINT64[t].length=0,u.UINT8C[t].length=0,c[t].length=0,h[t].length=0}},92384:function(t){var e=/[\'\"]/;t.exports=function(t){return t?(e.test(t.charAt(0))&&(t=t.substr(1)),e.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}},45223:function(t){"use strict";t.exports=function(t,e,n){Array.isArray(n)||(n=[].slice.call(arguments,2));for(var i=0,r=n.length;i=r)return t;switch(t){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(t){return"[Circular]"}default:return t}})),s=i[n];n=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),m(n)?i.showHidden=n:n&&e._extend(i,n),b(i.showHidden)&&(i.showHidden=!1),b(i.depth)&&(i.depth=2),b(i.colors)&&(i.colors=!1),b(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=c),d(i,t,i.depth)}function c(t,e){var n=u.styles[e];return n?"["+u.colors[n][0]+"m"+t+"["+u.colors[n][1]+"m":t}function h(t,e){return t}function d(t,n,i){if(t.customInspect&&n&&T(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var r=n.inspect(i,t);return y(r)||(r=d(t,r,i)),r}var o=function(t,e){if(b(e))return t.stylize("undefined","undefined");if(y(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return g(e)?t.stylize(""+e,"number"):m(e)?t.stylize(""+e,"boolean"):v(e)?t.stylize("null","null"):void 0}(t,n);if(o)return o;var a=Object.keys(n),s=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),C(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(n);if(0===a.length){if(T(n)){var l=n.name?": "+n.name:"";return t.stylize("[Function"+l+"]","special")}if(w(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(x(n))return t.stylize(Date.prototype.toString.call(n),"date");if(C(n))return f(n)}var u,c="",h=!1,E=["{","}"];return p(n)&&(h=!0,E=["[","]"]),T(n)&&(c=" [Function"+(n.name?": "+n.name:"")+"]"),w(n)&&(c=" "+RegExp.prototype.toString.call(n)),x(n)&&(c=" "+Date.prototype.toUTCString.call(n)),C(n)&&(c=" "+f(n)),0!==a.length||h&&0!=n.length?i<0?w(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),u=h?function(t,e,n,i,r){for(var o=[],a=0,s=e.length;a60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}(u,c,E)):E[0]+c+E[1]}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function _(t,e,n,i,r,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(e,r)||{value:e[r]}).get?s=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(s=t.stylize("[Setter]","special")),k(i,r)||(a="["+r+"]"),s||(t.seen.indexOf(l.value)<0?(s=v(n)?d(t,l.value,null):d(t,l.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(t){return" "+t})).join("\n").slice(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),b(a)){if(o&&r.match(/^\d+$/))return s;(a=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function p(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function v(t){return null===t}function g(t){return"number"==typeof t}function y(t){return"string"==typeof t}function b(t){return void 0===t}function w(t){return E(t)&&"[object RegExp]"===A(t)}function E(t){return"object"==typeof t&&null!==t}function x(t){return E(t)&&"[object Date]"===A(t)}function C(t){return E(t)&&("[object Error]"===A(t)||t instanceof Error)}function T(t){return"function"==typeof t}function A(t){return Object.prototype.toString.call(t)}function S(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!a[t])if(s.test(t)){var n=i.pid;a[t]=function(){var i=e.format.apply(e,arguments);console.error("%s %d: %s",t,n,i)}}else a[t]=function(){};return a[t]},e.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=n(41088),e.isArray=p,e.isBoolean=m,e.isNull=v,e.isNullOrUndefined=function(t){return null==t},e.isNumber=g,e.isString=y,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=b,e.isRegExp=w,e.types.isRegExp=w,e.isObject=E,e.isDate=x,e.types.isDate=x,e.isError=C,e.types.isNativeError=C,e.isFunction=T,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=n(75272);var z=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function k(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,n;console.log("%s - %s",(n=[S((t=new Date).getHours()),S(t.getMinutes()),S(t.getSeconds())].join(":"),[t.getDate(),z[t.getMonth()],n].join(" ")),e.format.apply(e,arguments))},e.inherits=n(6768),e._extend=function(t,e){if(!e||!E(e))return t;for(var n=Object.keys(e),i=n.length;i--;)t[n[i]]=e[n[i]];return t};var N="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(N&&t[N]){var e;if("function"!=typeof(e=t[N]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,N,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,n,i=new Promise((function(t,i){e=t,n=i})),r=[],o=0;o-1?e:"Object"===e&&function(t){var e=!1;return i(p,(function(n,i){if(!e)try{n(t),e=d(i,1)}catch(t){}})),e}(t)}return s?function(t){var e=!1;return i(p,(function(n,i){if(!e)try{"$"+n(t)===i&&(e=d(i,1))}catch(t){}})),e}(t):null}},67020:function(t,e,n){var i=n(38700),r=n(50896),o=i.instance();function a(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}a.prototype=new i.baseCalendar,r(a.prototype,{name:"Chinese",jdEpoch:1721425.5,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(t,e){if("string"==typeof t){var n=t.match(l);return n?n[0]:""}var i=this._validateYear(t),r=t.month(),o=""+this.toChineseMonth(i,r);return e&&o.length<2&&(o="0"+o),this.isIntercalaryMonth(i,r)&&(o+="i"),o},monthNames:function(t){if("string"==typeof t){var e=t.match(u);return e?e[0]:""}var n=this._validateYear(t),i=t.month(),r=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][this.toChineseMonth(n,i)-1];return this.isIntercalaryMonth(n,i)&&(r="闰"+r),r},monthNamesShort:function(t){if("string"==typeof t){var e=t.match(c);return e?e[0]:""}var n=this._validateYear(t),i=t.month(),r=["一","二","三","四","五","六","七","八","九","十","十一","十二"][this.toChineseMonth(n,i)-1];return this.isIntercalaryMonth(n,i)&&(r="闰"+r),r},parseMonth:function(t,e){t=this._validateYear(t);var n,i=parseInt(e);if(isNaN(i))"闰"===e[0]&&(n=!0,e=e.substring(1)),"月"===e[e.length-1]&&(e=e.substring(0,e.length-1)),i=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(e);else{var r=e[e.length-1];n="i"===r||"I"===r}return this.toMonthIndex(t,i,n)},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(t,e){if(t.year&&(t=t.year()),"number"!=typeof t||t<1888||t>2111)throw e.replace(/\{0\}/,this.local.name);return t},toMonthIndex:function(t,e,n){var r=this.intercalaryMonth(t);if(n&&e!==r||e<1||e>12)throw i.local.invalidMonth.replace(/\{0\}/,this.local.name);return r?!n&&e<=r?e-1:e:e-1},toChineseMonth:function(t,e){t.year&&(e=(t=t.year()).month());var n=this.intercalaryMonth(t);if(e<0||e>(n?12:11))throw i.local.invalidMonth.replace(/\{0\}/,this.local.name);return n?e>13},isIntercalaryMonth:function(t,e){t.year&&(e=(t=t.year()).month());var n=this.intercalaryMonth(t);return!!n&&n===e},leapYear:function(t){return 0!==this.intercalaryMonth(t)},weekOfYear:function(t,e,n){var r,a=this._validateYear(t,i.local.invalidyear),s=d[a-d[0]],l=s>>9&4095,u=s>>5&15,c=31&s;(r=o.newDate(l,u,c)).add(4-(r.dayOfWeek()||7),"d");var h=this.toJD(t,e,n)-r.toJD();return 1+Math.floor(h/7)},monthsInYear:function(t){return this.leapYear(t)?13:12},daysInMonth:function(t,e){t.year&&(e=t.month(),t=t.year()),t=this._validateYear(t);var n=h[t-h[0]];if(e>(n>>13?12:11))throw i.local.invalidMonth.replace(/\{0\}/,this.local.name);return n&1<<12-e?30:29},weekDay:function(t,e,n){return(this.dayOfWeek(t,e,n)||7)<6},toJD:function(t,e,n){var r=this._validate(t,s,n,i.local.invalidDate);t=this._validateYear(r.year()),e=r.month(),n=r.day();var a=this.isIntercalaryMonth(t,e),s=this.toChineseMonth(t,e),l=function(t,e,n,i,r){var o,a,s;if("object"==typeof t)a=t,o=e||{};else{var l;if(!("number"==typeof t&&t>=1888&&t<=2111))throw new Error("Lunar year outside range 1888-2111");if(!("number"==typeof e&&e>=1&&e<=12))throw new Error("Lunar month outside range 1 - 12");if(!("number"==typeof n&&n>=1&&n<=30))throw new Error("Lunar day outside range 1 - 30");"object"==typeof i?(l=!1,o=i):(l=!!i,o={}),a={year:t,month:e,day:n,isIntercalary:l}}s=a.day-1;var u,c=h[a.year-h[0]],f=c>>13;u=f&&(a.month>f||a.isIntercalary)?a.month:a.month-1;for(var _=0;_>9&4095,(p>>5&15)-1,(31&p)+s);return o.year=m.getFullYear(),o.month=1+m.getMonth(),o.day=m.getDate(),o}(t,s,n,a);return o.toJD(l.year,l.month,l.day)},fromJD:function(t){var e=o.fromJD(t),n=function(t,e,n,i){var r,o;if("object"==typeof t)r=t,o=e||{};else{if(!("number"==typeof t&&t>=1888&&t<=2111))throw new Error("Solar year outside range 1888-2111");if(!("number"==typeof e&&e>=1&&e<=12))throw new Error("Solar month outside range 1 - 12");if(!("number"==typeof n&&n>=1&&n<=31))throw new Error("Solar day outside range 1 - 31");r={year:t,month:e,day:n},o={}}var a=d[r.year-d[0]],s=r.year<<9|r.month<<5|r.day;o.year=s>=a?r.year:r.year-1,a=d[o.year-d[0]];var l,u=new Date(a>>9&4095,(a>>5&15)-1,31&a),c=new Date(r.year,r.month-1,r.day);l=Math.round((c-u)/864e5);var f,_=h[o.year-h[0]];for(f=0;f<13;f++){var p=_&1<<12-f?30:29;if(l>13;return!m||f=2&&i<=6},extraInfo:function(t,e,n){var r=this._validate(t,e,n,i.local.invalidDate);return{century:a[Math.floor((r.year()-1)/100)+1]||""}},toJD:function(t,e,n){var r=this._validate(t,e,n,i.local.invalidDate);return t=r.year()+(r.year()<0?1:0),e=r.month(),(n=r.day())+(e>1?16:0)+(e>2?32*(e-2):0)+400*(t-1)+this.jdEpoch-1},fromJD:function(t){t=Math.floor(t+.5)-Math.floor(this.jdEpoch)-1;var e=Math.floor(t/400)+1;t-=400*(e-1),t+=t>15?16:0;var n=Math.floor(t/32)+1,i=t-32*(n-1)+1;return this.newDate(e<=0?e-1:e,n,i)}});var a={20:"Fruitbat",21:"Anchovy"};i.calendars.discworld=o},65168:function(t,e,n){var i=n(38700),r=n(50896);function o(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}o.prototype=new i.baseCalendar,r(o.prototype,{name:"Ethiopian",jdEpoch:1724220.5,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,i.local.invalidYear);return(t=e.year()+(e.year()<0?1:0))%4==3||t%4==-1},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,i.local.invalidYear||i.regionalOptions[""].invalidYear),13},weekOfYear:function(t,e,n){var i=this.newDate(t,e,n);return i.add(-i.dayOfWeek(),"d"),Math.floor((i.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,i.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(13===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return(this.dayOfWeek(t,e,n)||7)<6},toJD:function(t,e,n){var r=this._validate(t,e,n,i.local.invalidDate);return(t=r.year())<0&&t++,r.day()+30*(r.month()-1)+365*(t-1)+Math.floor(t/4)+this.jdEpoch-1},fromJD:function(t){var e=Math.floor(t)+.5-this.jdEpoch,n=Math.floor((e-Math.floor((e+366)/1461))/365)+1;n<=0&&n--,e=Math.floor(t)+.5-this.newDate(n,1,1).toJD();var i=Math.floor(e/30)+1,r=e-30*(i-1)+1;return this.newDate(n,i,r)}}),i.calendars.ethiopian=o},2084:function(t,e,n){var i=n(38700),r=n(50896);function o(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}function a(t,e){return t-e*Math.floor(t/e)}o.prototype=new i.baseCalendar,r(o.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,i.local.invalidYear);return this._leapYear(e.year())},_leapYear:function(t){return a(7*(t=t<0?t+1:t)+1,19)<7},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,i.local.invalidYear),this._leapYear(t.year?t.year():t)?13:12},weekOfYear:function(t,e,n){var i=this.newDate(t,e,n);return i.add(-i.dayOfWeek(),"d"),Math.floor((i.dayOfYear()-1)/7)+1},daysInYear:function(t){return t=this._validate(t,this.minMonth,this.minDay,i.local.invalidYear).year(),this.toJD(-1===t?1:t+1,7,1)-this.toJD(t,7,1)},daysInMonth:function(t,e){return t.year&&(e=t.month(),t=t.year()),this._validate(t,e,this.minDay,i.local.invalidMonth),12===e&&this.leapYear(t)||8===e&&5===a(this.daysInYear(t),10)?30:9===e&&3===a(this.daysInYear(t),10)?29:this.daysPerMonth[e-1]},weekDay:function(t,e,n){return 6!==this.dayOfWeek(t,e,n)},extraInfo:function(t,e,n){var r=this._validate(t,e,n,i.local.invalidDate);return{yearType:(this.leapYear(r)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(r)%10-3]}},toJD:function(t,e,n){var r=this._validate(t,e,n,i.local.invalidDate);t=r.year(),e=r.month(),n=r.day();var o=t<=0?t+1:t,a=this.jdEpoch+this._delay1(o)+this._delay2(o)+n+1;if(e<7){for(var s=7;s<=this.monthsInYear(t);s++)a+=this.daysInMonth(t,s);for(s=1;s=this.toJD(-1===e?1:e+1,7,1);)e++;for(var n=tthis.toJD(e,n,this.daysInMonth(e,n));)n++;var i=t-this.toJD(e,n,1)+1;return this.newDate(e,n,i)}}),i.calendars.hebrew=o},26368:function(t,e,n){var i=n(38700),r=n(50896);function o(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}o.prototype=new i.baseCalendar,r(o.prototype,{name:"Islamic",jdEpoch:1948439.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(t){return(11*this._validate(t,this.minMonth,this.minDay,i.local.invalidYear).year()+14)%30<11},weekOfYear:function(t,e,n){var i=this.newDate(t,e,n);return i.add(-i.dayOfWeek(),"d"),Math.floor((i.dayOfYear()-1)/7)+1},daysInYear:function(t){return this.leapYear(t)?355:354},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,i.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(12===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return 5!==this.dayOfWeek(t,e,n)},toJD:function(t,e,n){var r=this._validate(t,e,n,i.local.invalidDate);return t=r.year(),e=r.month(),t=t<=0?t+1:t,(n=r.day())+Math.ceil(29.5*(e-1))+354*(t-1)+Math.floor((3+11*t)/30)+this.jdEpoch-1},fromJD:function(t){t=Math.floor(t)+.5;var e=Math.floor((30*(t-this.jdEpoch)+10646)/10631);e=e<=0?e-1:e;var n=Math.min(12,Math.ceil((t-29-this.toJD(e,1,1))/29.5)+1),i=t-this.toJD(e,n,1)+1;return this.newDate(e,n,i)}}),i.calendars.islamic=o},24747:function(t,e,n){var i=n(38700),r=n(50896);function o(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}o.prototype=new i.baseCalendar,r(o.prototype,{name:"Julian",jdEpoch:1721423.5,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,i.local.invalidYear);return(t=e.year()<0?e.year()+1:e.year())%4==0},weekOfYear:function(t,e,n){var i=this.newDate(t,e,n);return i.add(4-(i.dayOfWeek()||7),"d"),Math.floor((i.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,i.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(2===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return(this.dayOfWeek(t,e,n)||7)<6},toJD:function(t,e,n){var r=this._validate(t,e,n,i.local.invalidDate);return t=r.year(),e=r.month(),n=r.day(),t<0&&t++,e<=2&&(t--,e+=12),Math.floor(365.25*(t+4716))+Math.floor(30.6001*(e+1))+n-1524.5},fromJD:function(t){var e=Math.floor(t+.5)+1524,n=Math.floor((e-122.1)/365.25),i=Math.floor(365.25*n),r=Math.floor((e-i)/30.6001),o=r-Math.floor(r<14?1:13),a=n-Math.floor(o>2?4716:4715),s=e-i-Math.floor(30.6001*r);return a<=0&&a--,this.newDate(a,o,s)}}),i.calendars.julian=o},65616:function(t,e,n){var i=n(38700),r=n(50896);function o(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}function a(t,e){return t-e*Math.floor(t/e)}function s(t,e){return a(t-1,e)+1}o.prototype=new i.baseCalendar,r(o.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(t){return this._validate(t,this.minMonth,this.minDay,i.local.invalidYear),!1},formatYear:function(t){t=this._validate(t,this.minMonth,this.minDay,i.local.invalidYear).year();var e=Math.floor(t/400);return t%=400,t+=t<0?400:0,e+"."+Math.floor(t/20)+"."+t%20},forYear:function(t){if((t=t.split(".")).length<3)throw"Invalid Mayan year";for(var e=0,n=0;n19||n>0&&i<0)throw"Invalid Mayan year";e=20*e+i}return e},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,i.local.invalidYear),18},weekOfYear:function(t,e,n){return this._validate(t,e,n,i.local.invalidDate),0},daysInYear:function(t){return this._validate(t,this.minMonth,this.minDay,i.local.invalidYear),360},daysInMonth:function(t,e){return this._validate(t,e,this.minDay,i.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(t,e,n){return this._validate(t,e,n,i.local.invalidDate).day()},weekDay:function(t,e,n){return this._validate(t,e,n,i.local.invalidDate),!0},extraInfo:function(t,e,n){var r=this._validate(t,e,n,i.local.invalidDate).toJD(),o=this._toHaab(r),a=this._toTzolkin(r);return{haabMonthName:this.local.haabMonths[o[0]-1],haabMonth:o[0],haabDay:o[1],tzolkinDayName:this.local.tzolkinMonths[a[0]-1],tzolkinDay:a[0],tzolkinTrecena:a[1]}},_toHaab:function(t){var e=a(8+(t-=this.jdEpoch)+340,365);return[Math.floor(e/20)+1,a(e,20)]},_toTzolkin:function(t){return[s(20+(t-=this.jdEpoch),20),s(t+4,13)]},toJD:function(t,e,n){var r=this._validate(t,e,n,i.local.invalidDate);return r.day()+20*r.month()+360*r.year()+this.jdEpoch},fromJD:function(t){t=Math.floor(t)+.5-this.jdEpoch;var e=Math.floor(t/360);t%=360,t+=t<0?360:0;var n=Math.floor(t/20),i=t%20;return this.newDate(e,n,i)}}),i.calendars.mayan=o},30632:function(t,e,n){var i=n(38700),r=n(50896);function o(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}o.prototype=new i.baseCalendar;var a=i.instance("gregorian");r(o.prototype,{name:"Nanakshahi",jdEpoch:2257673.5,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,i.local.invalidYear||i.regionalOptions[""].invalidYear);return a.leapYear(e.year()+(e.year()<1?1:0)+1469)},weekOfYear:function(t,e,n){var i=this.newDate(t,e,n);return i.add(1-(i.dayOfWeek()||7),"d"),Math.floor((i.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,i.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(12===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return(this.dayOfWeek(t,e,n)||7)<6},toJD:function(t,e,n){var r=this._validate(t,e,n,i.local.invalidMonth);(t=r.year())<0&&t++;for(var o=r.day(),s=1;s=this.toJD(e+1,1,1);)e++;for(var n=t-Math.floor(this.toJD(e,1,1)+.5)+1,i=1;n>this.daysInMonth(e,i);)n-=this.daysInMonth(e,i),i++;return this.newDate(e,i,n)}}),i.calendars.nanakshahi=o},73040:function(t,e,n){var i=n(38700),r=n(50896);function o(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}o.prototype=new i.baseCalendar,r(o.prototype,{name:"Nepali",jdEpoch:1700709.5,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(t){return this.daysInYear(t)!==this.daysPerYear},weekOfYear:function(t,e,n){var i=this.newDate(t,e,n);return i.add(-i.dayOfWeek(),"d"),Math.floor((i.dayOfYear()-1)/7)+1},daysInYear:function(t){if(t=this._validate(t,this.minMonth,this.minDay,i.local.invalidYear).year(),void 0===this.NEPALI_CALENDAR_DATA[t])return this.daysPerYear;for(var e=0,n=this.minMonth;n<=12;n++)e+=this.NEPALI_CALENDAR_DATA[t][n];return e},daysInMonth:function(t,e){return t.year&&(e=t.month(),t=t.year()),this._validate(t,e,this.minDay,i.local.invalidMonth),void 0===this.NEPALI_CALENDAR_DATA[t]?this.daysPerMonth[e-1]:this.NEPALI_CALENDAR_DATA[t][e]},weekDay:function(t,e,n){return 6!==this.dayOfWeek(t,e,n)},toJD:function(t,e,n){var r=this._validate(t,e,n,i.local.invalidDate);t=r.year(),e=r.month(),n=r.day();var o=i.instance(),a=0,s=e,l=t;this._createMissingCalendarData(t);var u=t-(s>9||9===s&&n>=this.NEPALI_CALENDAR_DATA[l][0]?56:57);for(9!==e&&(a=n,s--);9!==s;)s<=0&&(s=12,l--),a+=this.NEPALI_CALENDAR_DATA[l][s],s--;return 9===e?(a+=n-this.NEPALI_CALENDAR_DATA[l][0])<0&&(a+=o.daysInYear(u)):a+=this.NEPALI_CALENDAR_DATA[l][9]-this.NEPALI_CALENDAR_DATA[l][0],o.newDate(u,1,1).add(a,"d").toJD()},fromJD:function(t){var e=i.instance().fromJD(t),n=e.year(),r=e.dayOfYear(),o=n+56;this._createMissingCalendarData(o);for(var a=9,s=this.NEPALI_CALENDAR_DATA[o][0],l=this.NEPALI_CALENDAR_DATA[o][a]-s+1;r>l;)++a>12&&(a=1,o++),l+=this.NEPALI_CALENDAR_DATA[o][a];var u=this.NEPALI_CALENDAR_DATA[o][a]-(l-r);return this.newDate(o,a,u)},_createMissingCalendarData:function(t){var e=this.daysPerMonth.slice(0);e.unshift(17);for(var n=t-1;n0?474:473))%2820+474+38)%2816<682},weekOfYear:function(t,e,n){var i=this.newDate(t,e,n);return i.add(-(i.dayOfWeek()+1)%7,"d"),Math.floor((i.dayOfYear()-1)/7)+1},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,i.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(12===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return 5!==this.dayOfWeek(t,e,n)},toJD:function(t,e,n){var r=this._validate(t,e,n,i.local.invalidDate);t=r.year(),e=r.month(),n=r.day();var o=t-(t>=0?474:473),s=474+a(o,2820);return n+(e<=7?31*(e-1):30*(e-1)+6)+Math.floor((682*s-110)/2816)+365*(s-1)+1029983*Math.floor(o/2820)+this.jdEpoch-1},fromJD:function(t){var e=(t=Math.floor(t)+.5)-this.toJD(475,1,1),n=Math.floor(e/1029983),i=a(e,1029983),r=2820;if(1029982!==i){var o=Math.floor(i/366),s=a(i,366);r=Math.floor((2134*o+2816*s+2815)/1028522)+o+1}var l=r+2820*n+474;l=l<=0?l-1:l;var u=t-this.toJD(l,1,1)+1,c=u<=186?Math.ceil(u/31):Math.ceil((u-6)/30),h=t-this.toJD(l,c,1)+1;return this.newDate(l,c,h)}}),i.calendars.persian=o,i.calendars.jalali=o},51456:function(t,e,n){var i=n(38700),r=n(50896),o=i.instance();function a(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}a.prototype=new i.baseCalendar,r(a.prototype,{name:"Taiwan",jdEpoch:2419402.5,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,i.local.invalidYear);return t=this._t2gYear(e.year()),o.leapYear(t)},weekOfYear:function(t,e,n){var r=this._validate(t,this.minMonth,this.minDay,i.local.invalidYear);return t=this._t2gYear(r.year()),o.weekOfYear(t,r.month(),r.day())},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,i.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(2===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return(this.dayOfWeek(t,e,n)||7)<6},toJD:function(t,e,n){var r=this._validate(t,e,n,i.local.invalidDate);return t=this._t2gYear(r.year()),o.toJD(t,r.month(),r.day())},fromJD:function(t){var e=o.fromJD(t),n=this._g2tYear(e.year());return this.newDate(n,e.month(),e.day())},_t2gYear:function(t){return t+this.yearsOffset+(t>=-this.yearsOffset&&t<=-1?1:0)},_g2tYear:function(t){return t-this.yearsOffset-(t>=1&&t<=this.yearsOffset?1:0)}}),i.calendars.taiwan=a},4592:function(t,e,n){var i=n(38700),r=n(50896),o=i.instance();function a(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}a.prototype=new i.baseCalendar,r(a.prototype,{name:"Thai",jdEpoch:1523098.5,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,i.local.invalidYear);return t=this._t2gYear(e.year()),o.leapYear(t)},weekOfYear:function(t,e,n){var r=this._validate(t,this.minMonth,this.minDay,i.local.invalidYear);return t=this._t2gYear(r.year()),o.weekOfYear(t,r.month(),r.day())},daysInMonth:function(t,e){var n=this._validate(t,e,this.minDay,i.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(2===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(t,e,n){return(this.dayOfWeek(t,e,n)||7)<6},toJD:function(t,e,n){var r=this._validate(t,e,n,i.local.invalidDate);return t=this._t2gYear(r.year()),o.toJD(t,r.month(),r.day())},fromJD:function(t){var e=o.fromJD(t),n=this._g2tYear(e.year());return this.newDate(n,e.month(),e.day())},_t2gYear:function(t){return t-this.yearsOffset-(t>=1&&t<=this.yearsOffset?1:0)},_g2tYear:function(t){return t+this.yearsOffset+(t>=-this.yearsOffset&&t<=-1?1:0)}}),i.calendars.thai=a},45348:function(t,e,n){var i=n(38700),r=n(50896);function o(t){this.local=this.regionalOptions[t||""]||this.regionalOptions[""]}o.prototype=new i.baseCalendar,r(o.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā’","Yawm al-Arba‘ā’","Yawm al-Khamīs","Yawm al-Jum‘a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,i.local.invalidYear);return 355===this.daysInYear(e.year())},weekOfYear:function(t,e,n){var i=this.newDate(t,e,n);return i.add(-i.dayOfWeek(),"d"),Math.floor((i.dayOfYear()-1)/7)+1},daysInYear:function(t){for(var e=0,n=1;n<=12;n++)e+=this.daysInMonth(t,n);return e},daysInMonth:function(t,e){for(var n=this._validate(t,e,this.minDay,i.local.invalidMonth).toJD()-24e5+.5,r=0,o=0;on)return a[r]-a[r-1];r++}return 30},weekDay:function(t,e,n){return 5!==this.dayOfWeek(t,e,n)},toJD:function(t,e,n){var r=this._validate(t,e,n,i.local.invalidDate),o=12*(r.year()-1)+r.month()-15292;return r.day()+a[o-1]-1+24e5-.5},fromJD:function(t){for(var e=t-24e5+.5,n=0,i=0;ie);i++)n++;var r=n+15292,o=Math.floor((r-1)/12),s=o+1,l=r-12*o,u=e-a[n-1]+1;return this.newDate(s,l,u)},isValid:function(t,e,n){var r=i.baseCalendar.prototype.isValid.apply(this,arguments);return r&&(r=(t=null!=t.year?t.year:t)>=1276&&t<=1500),r},_validate:function(t,e,n,r){var o=i.baseCalendar.prototype._validate.apply(this,arguments);if(o.year<1276||o.year>1500)throw r.replace(/\{0\}/,this.local.name);return o}}),i.calendars.ummalqura=o;var a=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},38700:function(t,e,n){var i=n(50896);function r(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function o(t,e,n,i){if(this._calendar=t,this._year=e,this._month=n,this._day=i,0===this._calendar._validateLevel&&!this._calendar.isValid(this._year,this._month,this._day))throw(u.local.invalidDate||u.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function a(t,e){return"000000".substring(0,e-(t=""+t).length)+t}function s(){this.shortYearCutoff="+10"}function l(t){this.local=this.regionalOptions[t]||this.regionalOptions[""]}i(r.prototype,{instance:function(t,e){t=(t||"gregorian").toLowerCase(),e=e||"";var n=this._localCals[t+"-"+e];if(!n&&this.calendars[t]&&(n=new this.calendars[t](e),this._localCals[t+"-"+e]=n),!n)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,t);return n},newDate:function(t,e,n,i,r){return(i=(null!=t&&t.year?t.calendar():"string"==typeof i?this.instance(i,r):i)||this.instance()).newDate(t,e,n)},substituteDigits:function(t){return function(e){return(e+"").replace(/[0-9]/g,(function(e){return t[e]}))}},substituteChineseDigits:function(t,e){return function(n){for(var i="",r=0;n>0;){var o=n%10;i=(0===o?"":t[o]+e[r])+i,r++,n=Math.floor(n/10)}return 0===i.indexOf(t[1]+e[1])&&(i=i.substr(1)),i||t[0]}}}),i(o.prototype,{newDate:function(t,e,n){return this._calendar.newDate(null==t?this:t,e,n)},year:function(t){return 0===arguments.length?this._year:this.set(t,"y")},month:function(t){return 0===arguments.length?this._month:this.set(t,"m")},day:function(t){return 0===arguments.length?this._day:this.set(t,"d")},date:function(t,e,n){if(!this._calendar.isValid(t,e,n))throw(u.local.invalidDate||u.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=t,this._month=e,this._day=n,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(t,e){return this._calendar.add(this,t,e)},set:function(t,e){return this._calendar.set(this,t,e)},compareTo:function(t){if(this._calendar.name!==t._calendar.name)throw(u.local.differentCalendars||u.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,t._calendar.local.name);var e=this._year!==t._year?this._year-t._year:this._month!==t._month?this.monthOfYear()-t.monthOfYear():this._day-t._day;return 0===e?0:e<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(t){return this._calendar.fromJD(t)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(t){return this._calendar.fromJSDate(t)},toString:function(){return(this.year()<0?"-":"")+a(Math.abs(this.year()),4)+"-"+a(this.month(),2)+"-"+a(this.day(),2)}}),i(s.prototype,{_validateLevel:0,newDate:function(t,e,n){return null==t?this.today():(t.year&&(this._validate(t,e,n,u.local.invalidDate||u.regionalOptions[""].invalidDate),n=t.day(),e=t.month(),t=t.year()),new o(this,t,e,n))},today:function(){return this.fromJSDate(new Date)},epoch:function(t){return this._validate(t,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear);return(e.year()<0?"-":"")+a(Math.abs(e.year()),4)},monthsInYear:function(t){return this._validate(t,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear),12},monthOfYear:function(t,e){var n=this._validate(t,e,this.minDay,u.local.invalidMonth||u.regionalOptions[""].invalidMonth);return(n.month()+this.monthsInYear(n)-this.firstMonth)%this.monthsInYear(n)+this.minMonth},fromMonthOfYear:function(t,e){var n=(e+this.firstMonth-2*this.minMonth)%this.monthsInYear(t)+this.minMonth;return this._validate(t,n,this.minDay,u.local.invalidMonth||u.regionalOptions[""].invalidMonth),n},daysInYear:function(t){var e=this._validate(t,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear);return this.leapYear(e)?366:365},dayOfYear:function(t,e,n){var i=this._validate(t,e,n,u.local.invalidDate||u.regionalOptions[""].invalidDate);return i.toJD()-this.newDate(i.year(),this.fromMonthOfYear(i.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(t,e,n){var i=this._validate(t,e,n,u.local.invalidDate||u.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(i))+2)%this.daysInWeek()},extraInfo:function(t,e,n){return this._validate(t,e,n,u.local.invalidDate||u.regionalOptions[""].invalidDate),{}},add:function(t,e,n){return this._validate(t,this.minMonth,this.minDay,u.local.invalidDate||u.regionalOptions[""].invalidDate),this._correctAdd(t,this._add(t,e,n),e,n)},_add:function(t,e,n){if(this._validateLevel++,"d"===n||"w"===n){var i=t.toJD()+e*("w"===n?this.daysInWeek():1),r=t.calendar().fromJD(i);return this._validateLevel--,[r.year(),r.month(),r.day()]}try{var o=t.year()+("y"===n?e:0),a=t.monthOfYear()+("m"===n?e:0);r=t.day(),"y"===n?(t.month()!==this.fromMonthOfYear(o,a)&&(a=this.newDate(o,t.month(),this.minDay).monthOfYear()),a=Math.min(a,this.monthsInYear(o)),r=Math.min(r,this.daysInMonth(o,this.fromMonthOfYear(o,a)))):"m"===n&&(function(t){for(;ae-1+t.minMonth;)o++,a-=e,e=t.monthsInYear(o)}(this),r=Math.min(r,this.daysInMonth(o,this.fromMonthOfYear(o,a))));var s=[o,this.fromMonthOfYear(o,a),r];return this._validateLevel--,s}catch(t){throw this._validateLevel--,t}},_correctAdd:function(t,e,n,i){if(!(this.hasYearZero||"y"!==i&&"m"!==i||0!==e[0]&&t.year()>0==e[0]>0)){var r={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[i],o=n<0?-1:1;e=this._add(t,n*r[0]+o*r[1],r[2])}return t.date(e[0],e[1],e[2])},set:function(t,e,n){this._validate(t,this.minMonth,this.minDay,u.local.invalidDate||u.regionalOptions[""].invalidDate);var i="y"===n?e:t.year(),r="m"===n?e:t.month(),o="d"===n?e:t.day();return"y"!==n&&"m"!==n||(o=Math.min(o,this.daysInMonth(i,r))),t.date(i,r,o)},isValid:function(t,e,n){this._validateLevel++;var i=this.hasYearZero||0!==t;if(i){var r=this.newDate(t,e,this.minDay);i=e>=this.minMonth&&e-this.minMonth=this.minDay&&n-this.minDay13.5?13:1),u=r-(l>2.5?4716:4715);return u<=0&&u--,this.newDate(u,l,s)},toJSDate:function(t,e,n){var i=this._validate(t,e,n,u.local.invalidDate||u.regionalOptions[""].invalidDate),r=new Date(i.year(),i.month()-1,i.day());return r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),r.setHours(r.getHours()>12?r.getHours()+2:0),r},fromJSDate:function(t){return this.newDate(t.getFullYear(),t.getMonth()+1,t.getDate())}});var u=t.exports=new r;u.cdate=o,u.baseCalendar=s,u.calendars.gregorian=l},15168:function(t,e,n){var i=n(50896),r=n(38700);i(r.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),r.local=r.regionalOptions[""],i(r.cdate.prototype,{formatDate:function(t,e){return"string"!=typeof t&&(e=t,t=""),this._calendar.formatDate(t||"",this,e)}}),i(r.baseCalendar.prototype,{UNIX_EPOCH:r.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:r.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(t,e,n){if("string"!=typeof t&&(n=e,e=t,t=""),!e)return"";if(e.calendar()!==this)throw r.local.invalidFormat||r.regionalOptions[""].invalidFormat;t=t||this.local.dateFormat;for(var i=(n=n||{}).dayNamesShort||this.local.dayNamesShort,o=n.dayNames||this.local.dayNames,a=n.monthNumbers||this.local.monthNumbers,s=n.monthNamesShort||this.local.monthNamesShort,l=n.monthNames||this.local.monthNames,u=(n.calculateWeek||this.local.calculateWeek,function(e,n){for(var i=1;g+i1}),c=function(t,e,n,i){var r=""+e;if(u(t,i))for(;r.length1},y=function(t,n){var i=g(t,n),o=[2,3,i?4:2,i?4:2,10,11,20]["oyYJ@!".indexOf(t)+1],a=new RegExp("^-?\\d{1,"+o+"}"),s=e.substring(T).match(a);if(!s)throw(r.local.missingNumberAt||r.regionalOptions[""].missingNumberAt).replace(/\{0\}/,T);return T+=s[0].length,parseInt(s[0],10)},b=this,w=function(){if("function"==typeof l){g("m");var t=l.call(b,e.substring(T));return T+=t.length,t}return y("m")},E=function(t,n,i,o){for(var a=g(t,o)?i:n,s=0;s-1){f=1,_=p;for(var z=this.daysInMonth(d,f);_>z;z=this.daysInMonth(d,f))f++,_-=z}return h>-1?this.fromJD(h):this.newDate(d,f,_)},determineDate:function(t,e,n,i,r){n&&"object"!=typeof n&&(r=i,i=n,n=null),"string"!=typeof i&&(r=i,i="");var o=this;return e=e?e.newDate():null,null==t?e:"string"==typeof t?function(t){try{return o.parseDate(i,t,r)}catch(t){}for(var e=((t=t.toLowerCase()).match(/^c/)&&n?n.newDate():null)||o.today(),a=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,s=a.exec(t);s;)e.add(parseInt(s[1],10),s[2]||"d"),s=a.exec(t);return e}(t):"number"==typeof t?isNaN(t)||t===1/0||t===-1/0?e:o.today().add(t,"d"):o.newDate(t)}})},21576:function(){},19768:function(){},63436:function(t,e,n){"use strict";var i=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],r="undefined"==typeof globalThis?n.g:globalThis;t.exports=function(){for(var t=[],e=0;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=d.exec(t))?new T(e[1],e[2],e[3],1):(e=f.exec(t))?new T(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=_.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=m.exec(t))?I(e[1],e[2]/100,e[3]/100,1):(e=v.exec(t))?I(e[1],e[2]/100,e[3]/100,e[4]):g.hasOwnProperty(t)?E(g[t]):"transparent"===t?new T(NaN,NaN,NaN,0):null}function E(t){return new T(t>>16&255,t>>8&255,255&t,1)}function x(t,e,n,i){return i<=0&&(t=e=n=NaN),new T(t,e,n,i)}function C(t,e,n,i){return 1===arguments.length?((r=t)instanceof o||(r=w(r)),r?new T((r=r.rgb()).r,r.g,r.b,r.opacity):new T):new T(t,e,n,null==i?1:i);var r}function T(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function A(){return"#".concat(N(this.r)).concat(N(this.g)).concat(N(this.b))}function S(){var t=z(this.opacity);return"".concat(1===t?"rgb(":"rgba(").concat(k(this.r),", ").concat(k(this.g),", ").concat(k(this.b)).concat(1===t?")":", ".concat(t,")"))}function z(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function k(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function N(t){return((t=k(t))<16?"0":"")+t.toString(16)}function I(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new L(t,e,n,i)}function O(t){if(t instanceof L)return new L(t.h,t.s,t.l,t.opacity);if(t instanceof o||(t=w(t)),!t)return new L;if(t instanceof L)return t;var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),a=Math.max(e,n,i),s=NaN,l=a-r,u=(a+r)/2;return l?(s=e===a?(n-i)/l+6*(n0&&u<1?0:s,new L(s,l,u,t.opacity)}function L(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function M(t){return(t=(t||0)%360)<0?t+360:t}function $(t){return Math.max(0,Math.min(1,t||0))}function R(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function P(t,e,n,i,r){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)*i+a*r)/6}i(o,w,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:y,formatHex:y,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return O(this).formatHsl()},formatRgb:b,toString:b}),i(T,C,r(o,{brighter:function(t){return t=null==t?s:Math.pow(s,t),new T(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new T(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},clamp:function(){return new T(k(this.r),k(this.g),k(this.b),z(this.opacity))},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:A,formatHex:A,formatHex8:function(){return"#".concat(N(this.r)).concat(N(this.g)).concat(N(this.b)).concat(N(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:S,toString:S})),i(L,(function(t,e,n,i){return 1===arguments.length?O(t):new L(t,e,n,null==i?1:i)}),r(o,{brighter:function(t){return t=null==t?s:Math.pow(s,t),new L(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new L(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,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new T(R(t>=240?t-240:t+120,r,i),R(t,r,i),R(t<120?t+240:t-120,r,i),this.opacity)},clamp:function(){return new L(M(this.h),$(this.s),$(this.l),z(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=z(this.opacity);return"".concat(1===t?"hsl(":"hsla(").concat(M(this.h),", ").concat(100*$(this.s),"%, ").concat(100*$(this.l),"%").concat(1===t?")":", ".concat(t,")"))}}));var U=function(t){return function(){return t}};function j(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):U(isNaN(t)?e:t)}var q=function t(e){var n=function(t){return 1==(t=+t)?j: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(i){return Math.pow(t+i*e,n)}}(e,n,t):U(isNaN(e)?n:e)}}(e);function i(t,e){var i=n((t=C(t)).r,(e=C(e)).r),r=n(t.g,e.g),o=n(t.b,e.b),a=j(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=r(e),t.b=o(e),t.opacity=a(e),t+""}}return i.gamma=t,i}(1);function D(t){return function(e){var n,i,r=e.length,o=new Array(r),a=new Array(r),s=new Array(r);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),r=t[i],o=t[i+1],a=i>0?t[i-1]:2*r-o,s=io&&(r=e.slice(o,r),s[a]?s[a]+=r:s[++a]=r),(n=n[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,l.push({i:a,x:W(n,i)})),o=X.lastIndex;return o1)return e.map((function(e){return t(e)}));var i=e[0];if("string"!=typeof i.blotName&&"string"!=typeof i.attrName)throw new o("Invalid definition");if("abstract"===i.blotName)throw new o("Cannot register abstract class");return c[i.blotName||i.attrName]=i,"string"==typeof i.keyName?s[i.keyName]=i:(null!=i.className&&(l[i.className]=i),null!=i.tagName&&(Array.isArray(i.tagName)?i.tagName=i.tagName.map((function(t){return t.toUpperCase()})):i.tagName=i.tagName.toUpperCase(),(Array.isArray(i.tagName)?i.tagName:[i.tagName]).forEach((function(t){null!=u[t]&&null!=i.className||(u[t]=i)})))),i}},function(t,e,n){var i=n(51),r=n(11),o=n(3),a=n(20),s=String.fromCharCode(0),l=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};l.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},l.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},l.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},l.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=o(!0,{},t),"object"==typeof n){if("number"==typeof t.delete&&"number"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"==typeof n.delete&&null!=t.insert&&(e-=1,"object"!=typeof(n=this.ops[e-1])))return this.ops.unshift(t),this;if(r(t.attributes,n.attributes)){if("string"==typeof t.insert&&"string"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"==typeof t.retain&&"number"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},l.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},l.prototype.filter=function(t){return this.ops.filter(t)},l.prototype.forEach=function(t){this.ops.forEach(t)},l.prototype.map=function(t){return this.ops.map(t)},l.prototype.partition=function(t){var e=[],n=[];return this.forEach((function(i){(t(i)?e:n).push(i)})),[e,n]},l.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},l.prototype.changeLength=function(){return this.reduce((function(t,e){return e.insert?t+a.length(e):e.delete?t-e.delete:t}),0)},l.prototype.length=function(){return this.reduce((function(t,e){return t+a.length(e)}),0)},l.prototype.slice=function(t,e){t=t||0,"number"!=typeof e&&(e=1/0);for(var n=[],i=a.iterator(this.ops),r=0;r0&&n.next(o.retain-s)}for(var u=new l(i);e.hasNext()||n.hasNext();)if("insert"===n.peekType())u.push(n.next());else if("delete"===e.peekType())u.push(e.next());else{var c=Math.min(e.peekLength(),n.peekLength()),h=e.next(c),d=n.next(c);if("number"==typeof d.retain){var f={};"number"==typeof h.retain?f.retain=c:f.insert=h.insert;var _=a.attributes.compose(h.attributes,d.attributes,"number"==typeof h.retain);if(_&&(f.attributes=_),u.push(f),!n.hasNext()&&r(u.ops[u.ops.length-1],f)){var p=new l(e.rest());return u.concat(p).chop()}}else"number"==typeof d.delete&&"number"==typeof h.retain&&u.push(d)}return u.chop()},l.prototype.concat=function(t){var e=new l(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},l.prototype.diff=function(t,e){if(this.ops===t.ops)return new l;var n=[this,t].map((function(e){return e.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:s;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")})).join("")})),o=new l,u=i(n[0],n[1],e),c=a.iterator(this.ops),h=a.iterator(t.ops);return u.forEach((function(t){for(var e=t[1].length;e>0;){var n=0;switch(t[0]){case i.INSERT:n=Math.min(h.peekLength(),e),o.push(h.next(n));break;case i.DELETE:n=Math.min(e,c.peekLength()),c.next(n),o.delete(n);break;case i.EQUAL:n=Math.min(c.peekLength(),h.peekLength(),e);var s=c.next(n),l=h.next(n);r(s.insert,l.insert)?o.retain(n,a.attributes.diff(s.attributes,l.attributes)):o.push(l).delete(n)}e-=n}})),o.chop()},l.prototype.eachLine=function(t,e){e=e||"\n";for(var n=a.iterator(this.ops),i=new l,r=0;n.hasNext();){if("insert"!==n.peekType())return;var o=n.peek(),s=a.length(o)-n.peekLength(),u="string"==typeof o.insert?o.insert.indexOf(e,s)-s:-1;if(u<0)i.push(n.next());else if(u>0)i.push(n.next(u));else{if(!1===t(i,n.next(1).attributes||{},r))return;r+=1,i=new l}}i.length()>0&&t(i,{},r)},l.prototype.transform=function(t,e){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);for(var n=a.iterator(this.ops),i=a.iterator(t.ops),r=new l;n.hasNext()||i.hasNext();)if("insert"!==n.peekType()||!e&&"insert"===i.peekType())if("insert"===i.peekType())r.push(i.next());else{var o=Math.min(n.peekLength(),i.peekLength()),s=n.next(o),u=i.next(o);if(s.delete)continue;u.delete?r.push(u):r.retain(o,a.attributes.transform(s.attributes,u.attributes,e))}else r.retain(a.length(n.next()));return r.chop()},l.prototype.transformPosition=function(t,e){e=!!e;for(var n=a.iterator(this.ops),i=0;n.hasNext()&&i<=t;){var r=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(i0&&(t1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-1)){var i=this.clone();return 0===t?(this.parent.insertBefore(i,this),this):(this.parent.insertBefore(i,this.next),i)}var o=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},o}}]),e}(s.default.Block);function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"==typeof t.formats&&(e=(0,o.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:v(t.parent,e))}m.blotName="block",m.tagName="P",m.defaultChild="break",m.allowedChildren=[u.default,s.default.Embed,c.default],e.bubbleFormats=v,e.BlockEmbed=p,e.default=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.options=b(e,i),this.container=this.options.container,null==this.container)return g.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new l.default,this.scroll=c.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new d.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(t){t===l.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(l.default.events.SCROLL_UPDATE,(function(t,e){var i=n.selection.lastRange,r=i&&0===i.length?i.index:void 0;w.call(n,(function(){return n.editor.update(null,e,r)}),t)}));var o=this.clipboard.convert("
"+r+"


");this.setContents(o),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return o(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),_.default.level(t)}},{key:"find",value:function(t){return t.__quill||c.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&g.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof t){var r=t.attrName||t.blotName;"string"==typeof r?this.register("formats/"+r,t,e):Object.keys(t).forEach((function(i){n.register(i,t[i],e)}))}else null==this.imports[t]||i||g.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?c.default.register(e):t.startsWith("modules")&&"function"==typeof e.register&&e.register()}}]),o(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t){var n=t;(t=document.createElement("div")).classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var i=this,o=E(t,e,n),a=r(o,4);return t=a[0],e=a[1],n=a[3],w.call(this,(function(){return i.editor.deleteText(t,e)}),n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;return w.call(this,(function(){var i=n.getSelection(!0),r=new a.default;if(null==i)return r;if(c.default.query(t,c.default.Scope.BLOCK))r=n.editor.formatLine(i.index,i.length,v({},t,e));else{if(0===i.length)return n.selection.format(t,e),r;r=n.editor.formatText(i.index,i.length,v({},t,e))}return n.setSelection(i,l.default.sources.SILENT),r}),i)}},{key:"formatLine",value:function(t,e,n,i,o){var a,s=this,l=E(t,e,n,i,o),u=r(l,4);return t=u[0],e=u[1],a=u[2],o=u[3],w.call(this,(function(){return s.editor.formatLine(t,e,a)}),o,t,0)}},{key:"formatText",value:function(t,e,n,i,o){var a,s=this,l=E(t,e,n,i,o),u=r(l,4);return t=u[0],e=u[1],a=u[2],o=u[3],w.call(this,(function(){return s.editor.formatText(t,e,a)}),o,t,0)}},{key:"getBounds",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e="number"==typeof t?this.selection.getBounds(t,n):this.selection.getBounds(t.index,t.length);var i=this.container.getBoundingClientRect();return{bottom:e.bottom-i.top,height:e.height,left:e.left-i.left,right:e.right-i.left,top:e.top-i.top,width:e.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=E(t,e),i=r(n,2);return t=i[0],e=i[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=E(t,e),i=r(n,2);return t=i[0],e=i[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,i){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return w.call(this,(function(){return r.editor.insertEmbed(e,n,i)}),o,e)}},{key:"insertText",value:function(t,e,n,i,o){var a,s=this,l=E(t,0,n,i,o),u=r(l,4);return t=u[0],a=u[2],o=u[3],w.call(this,(function(){return s.editor.insertText(t,e,a)}),o,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var i=this,o=E(t,e,n),a=r(o,4);return t=a[0],e=a[1],n=a[3],w.call(this,(function(){return i.editor.removeFormat(t,e)}),n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return w.call(this,(function(){t=new a.default(t);var n=e.getLength(),i=e.editor.deleteText(0,n),r=e.editor.applyDelta(t),o=r.ops[r.ops.length-1];return null!=o&&"string"==typeof o.insert&&"\n"===o.insert[o.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),r.delete(1)),i.compose(r)}),n)}},{key:"setSelection",value:function(e,n,i){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var o=E(e,n,i),a=r(o,4);e=a[0],n=a[1],i=a[3],this.selection.setRange(new h.Range(e,n),i),i!==l.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API,n=(new a.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return w.call(this,(function(){return t=new a.default(t),e.editor.applyDelta(t,n)}),n,!0)}}]),t}();function b(t,e){if((e=(0,f.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e)).theme&&e.theme!==y.DEFAULTS.theme){if(e.theme=y.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=p.default;var n=(0,f.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach((function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach((function(e){!0===t.modules[e]&&(t.modules[e]={})}))}));var i=Object.keys(n.modules).concat(Object.keys(e.modules)).reduce((function(t,e){var n=y.import("modules/"+e);return null==n?g.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=n.DEFAULTS||{},t}),{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,f.default)(!0,{},y.DEFAULTS,{modules:i},n,e),["bounds","container","scrollingContainer"].forEach((function(t){"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))})),e.modules=Object.keys(e.modules).reduce((function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t}),{}),e}function w(t,e,n,i){if(this.options.strict&&!this.isEnabled()&&e===l.default.sources.USER)return new a.default;var r=null==n?null:this.getSelection(),o=this.editor.delta,s=t();if(null!=r&&(!0===n&&(n=r.index),null==i?r=x(r,s,e):0!==i&&(r=x(r,n,i,e)),this.setSelection(r,l.default.sources.SILENT)),s.length()>0){var u,c,h=[l.default.events.TEXT_CHANGE,s,o,e];(u=this.emitter).emit.apply(u,[l.default.events.EDITOR_CHANGE].concat(h)),e!==l.default.sources.SILENT&&(c=this.emitter).emit.apply(c,h)}return s}function E(t,e,n,r,o){var a={};return"number"==typeof t.index&&"number"==typeof t.length?"number"!=typeof e?(o=r,r=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!=typeof e&&(o=r,r=n,n=e,e=0),"object"===(void 0===n?"undefined":i(n))?(a=n,o=r):"string"==typeof n&&(null!=r?a[n]=r:o=n),[t,e,a,o=o||l.default.sources.API]}function x(t,e,n,i){if(null==t)return null;var o=void 0,s=void 0;if(e instanceof a.default){var u=[t.index,t.index+t.length].map((function(t){return e.transformPosition(t,i!==l.default.sources.USER)})),c=r(u,2);o=c[0],s=c[1]}else{var d=[t.index,t.index+t.length].map((function(t){return t=0?t+n:Math.max(e,t+n)})),f=r(d,2);o=f[0],s=f[1]}return new h.Range(o,s-o)}y.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},y.events=l.default.events,y.sources=l.default.sources,y.version="1.3.7",y.imports={delta:a.default,parchment:c.default,"core/module":u.default,"core/theme":p.default},e.expandConfig=b,e.overload=E,e.default=y},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var i=e.order.indexOf(t),r=e.order.indexOf(n);return i>=0||r>=0?i-r:t===n?0:t1?e-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.quill=e,this.options=n};i.DEFAULTS={},e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=["error","warn","log","info"],r="warn";function o(t){if(i.indexOf(t)<=i.indexOf(r)){for(var e,n=arguments.length,o=Array(n>1?n-1:0),a=1;a=0;u--)if(h[u]!=d[u])return!1;for(u=h.length-1;u>=0;u--)if(c=h[u],!a(t[c],e[c],n))return!1;return typeof t==typeof e}(t,e,n))};function s(t){return null==t}function l(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length||"function"!=typeof t.copy||"function"!=typeof t.slice||t.length>0&&"number"!=typeof t[0])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),r=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e;var r=i.Scope.TYPE&i.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&i.Scope.LEVEL|r:this.scope=i.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,(function(t){return t.name}))},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){return null!=i.query(t,i.Scope.BLOT&(this.scope|i.Scope.TYPE))&&(null==this.whitelist||("string"==typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n=t+n)){var a=this.newlineIndex(t,!0)+1,l=o-a+1,u=this.isolate(a,l),c=u.next;u.format(i,r),c instanceof e&&c.formatAt(0,t-a+n-l,i,r)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var r=this.descendant(c.default,t),o=i(r,2),a=o[0],s=o[1];a.insertAt(s,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var e=this.domNode.textContent.slice(t).indexOf("\n");return e>-1?t+e:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(t){var e=s.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof s.default.Embed?e.remove():e.unwrap()}))}}],[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(l.default);m.blotName="code-block",m.tagName="PRE",m.TAB=" ",e.Code=p,e.default=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n=o&&!f.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,f);var _=e.scroll.line(t),p=r(_,2),v=p[0],g=p[1],y=(0,m.default)({},(0,h.bubbleFormats)(v));if(v instanceof d.default){var b=v.descendant(l.default.Leaf,g),w=r(b,1)[0];y=(0,m.default)(y,(0,h.bubbleFormats)(w))}c=s.default.attributes.diff(y,c)||{}}else if("object"===i(a.insert)){var E=Object.keys(a.insert)[0];if(null==E)return t;e.scroll.insertAt(t,E,a.insert[E])}o+=u}return Object.keys(c).forEach((function(n){e.scroll.formatAt(t,u,n,c[n])})),t+u}),0),t.reduce((function(t,n){return"number"==typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new a.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(i).forEach((function(r){if(null==n.scroll.whitelist||n.scroll.whitelist[r]){var o=n.scroll.lines(t,Math.max(e,1)),a=e;o.forEach((function(e){var o=e.length();if(e instanceof u.default){var s=t-e.offset(n.scroll),l=e.newlineIndex(s+a)-s+1;e.formatAt(s,l,r,i[r])}else e.format(r,i[r]);a-=o}))}})),this.scroll.optimize(),this.update((new a.default).retain(t).retain(e,(0,_.default)(i)))}},{key:"formatText",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(i).forEach((function(r){n.scroll.formatAt(t,e,r,i[r])})),this.update((new a.default).retain(t).retain(e,(0,_.default)(i)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(t,e){return t.concat(e.delta())}),new a.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],i=[];0===e?this.scroll.path(t).forEach((function(t){var e=r(t,1)[0];e instanceof d.default?n.push(e):e instanceof l.default.Leaf&&i.push(e)})):(n=this.scroll.lines(t,e),i=this.scroll.descendants(l.default.Leaf,t,e));var o=[n,i].map((function(t){if(0===t.length)return{};for(var e=(0,h.bubbleFormats)(t.shift());Object.keys(e).length>0;){var n=t.shift();if(null==n)return e;e=b((0,h.bubbleFormats)(n),e)}return e}));return m.default.apply(m.default,o)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter((function(t){return"string"==typeof t.insert})).map((function(t){return t.insert})).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new a.default).retain(t).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},e,n)))}},{key:"insertText",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(i).forEach((function(r){n.scroll.formatAt(t,e.length,r,i[r])})),this.update((new a.default).retain(t).insert(e,(0,_.default)(i)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===d.default.blotName&&!(t.children.length>1)&&t.children.head instanceof f.default}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),i=this.scroll.line(t+e),o=r(i,2),s=o[0],l=o[1],c=0,h=new a.default;null!=s&&(c=s instanceof u.default?s.newlineIndex(l)-l+1:s.length()-l,h=s.delta().slice(l,l+c-1).insert("\n"));var d=this.getContents(t,e+c).diff((new a.default).insert(n).concat(h)),f=(new a.default).retain(t).concat(d);return this.applyDelta(f)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(g)&&l.default.find(e[0].target)){var r=l.default.find(e[0].target),o=(0,h.bubbleFormats)(r),s=r.offset(this.scroll),u=e[0].oldValue.replace(c.default.CONTENTS,""),d=(new a.default).insert(u),f=(new a.default).insert(r.value());t=(new a.default).retain(s).concat(d.diff(f,n)).reduce((function(t,e){return e.insert?t.insert(e.insert,o):t.push(e)}),new a.default),this.delta=i.compose(t)}else this.delta=this.getDelta(),t&&(0,p.default)(i.compose(t),this.delta)||(t=i.diff(this.delta,n));return t}}]),t}();function b(t,e){return Object.keys(e).reduce((function(n,i){return null==t[i]||(e[i]===t[i]?n[i]=e[i]:Array.isArray(e[i])?e[i].indexOf(t[i])<0&&(n[i]=e[i].concat([t[i]])):n[i]=[e[i],t[i]]),n}),{})}e.default=y},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0;h(this,t),this.index=e,this.length=n},_=function(){function t(e,n){var i=this;h(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=o.default.create("cursor",this),this.lastRange=this.savedRange=new f(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){i.mouseDown||setTimeout(i.update.bind(i,l.default.sources.USER),1)})),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(t,e){t===l.default.events.TEXT_CHANGE&&e.length()>0&&i.update(l.default.sources.SILENT)})),this.emitter.on(l.default.events.SCROLL_BEFORE_UPDATE,(function(){if(i.hasFocus()){var t=i.getNativeRange();null!=t&&t.start.node!==i.cursor.textNode&&i.emitter.once(l.default.events.SCROLL_UPDATE,(function(){try{i.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}}))}})),this.emitter.on(l.default.events.SCROLL_OPTIMIZE,(function(t,e){if(e.range){var n=e.range,r=n.startNode,o=n.startOffset,a=n.endNode,s=n.endOffset;i.setNativeRange(r,o,a,s)}})),this.update(l.default.sources.SILENT)}return r(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",(function(){t.composing=!0})),this.root.addEventListener("compositionend",(function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout((function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,(function(){t.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){t.mouseDown=!1,t.update(l.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!o.default.query(t,o.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var i=o.default.find(n.start.node,!1);if(null==i)return;if(i instanceof o.default.Leaf){var r=i.split(n.start.offset);i.parent.insertBefore(this.cursor,r)}else i.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var r=void 0,o=this.scroll.leaf(t),a=i(o,2),s=a[0],l=a[1];if(null==s)return null;var u=s.position(l,!0),c=i(u,2);r=c[0],l=c[1];var h=document.createRange();if(e>0){h.setStart(r,l);var d=this.scroll.leaf(t+e),f=i(d,2);if(s=f[0],l=f[1],null==s)return null;var _=s.position(l,!0),p=i(_,2);return r=p[0],l=p[1],h.setEnd(r,l),h.getBoundingClientRect()}var m="left",v=void 0;return r instanceof Text?(l0&&(m="right")),{bottom:v.top+v.height,height:v.height,left:v[m],right:v[m],top:v.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return d.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var r=n.map((function(t){var n=i(t,2),r=n[0],a=n[1],s=o.default.find(r,!0),l=s.offset(e.scroll);return 0===a?l:s instanceof o.default.Container?l+s.length():l+s.index(r,a)})),a=Math.min(Math.max.apply(Math,c(r)),this.scroll.length()-1),s=Math.min.apply(Math,[a].concat(c(r)));return new f(s,a-s)}},{key:"normalizeNative",value:function(t){if(!p(this.root,t.startContainer)||!t.collapsed&&!p(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach((function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;n=(e=e.lastChild)instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n})),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],r=[],o=this.scroll.length();return n.forEach((function(t,n){t=Math.min(o-1,t);var a,s=e.scroll.leaf(t),l=i(s,2),u=l[0],c=l[1],h=u.position(c,0!==n),d=i(h,2);a=d[0],c=d[1],r.push(a,c)})),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var r=this.scroll.length()-1,o=this.scroll.line(Math.min(e.index,r)),a=i(o,1)[0],s=a;if(e.length>0){var l=this.scroll.line(Math.min(e.index+e.length,r));s=i(l,1)[0]}if(null!=a&&null!=s){var u=t.getBoundingClientRect();n.topu.bottom&&(t.scrollTop+=n.bottom-u.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(d.info("setNativeRange",t,e,n,i),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var o=document.getSelection();if(null!=o)if(null!=t){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||r||t!==a.startContainer||e!==a.startOffset||n!==a.endContainer||i!==a.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(i=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(t,e),s.setEnd(n,i),o.removeAllRanges(),o.addRange(s)}}else o.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;if("string"==typeof e&&(n=e,e=!1),d.info("setRange",t),null!=t){var i=this.rangeToNative(t);this.setNativeRange.apply(this,c(i).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,e=this.lastRange,n=this.getRange(),r=i(n,2),o=r[0],u=r[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,s.default)(e,this.lastRange)){var c;!this.composing&&null!=u&&u.native.collapsed&&u.start.node!==this.cursor.textNode&&this.cursor.restore();var h,d=[l.default.events.SELECTION_CHANGE,(0,a.default)(this.lastRange),(0,a.default)(e),t];(c=this.emitter).emit.apply(c,[l.default.events.EDITOR_CHANGE].concat(d)),t!==l.default.sources.SILENT&&(h=this.emitter).emit.apply(h,d)}}}]),t}();function p(t,e){try{e.parentNode}catch(t){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=f,e.default=_},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=function(){function t(t,e){for(var n=0;n0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){var t;return(t={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=a.Scope.INLINE_BLOT,e}(o.default);e.default=s},function(t,e,n){var i=n(11),r=n(3),o={attributes:{compose:function(t,e,n){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var i=r(!0,{},e);for(var o in n||(i=Object.keys(i).reduce((function(t,e){return null!=i[e]&&(t[e]=i[e]),t}),{})),t)void 0!==t[o]&&void 0===e[o]&&(i[o]=t[o]);return Object.keys(i).length>0?i:void 0},diff:function(t,e){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce((function(n,r){return i(t[r],e[r])||(n[r]=void 0===e[r]?null:e[r]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!=typeof t)return e;if("object"==typeof e){if(!n)return e;var i=Object.keys(e).reduce((function(n,i){return void 0===t[i]&&(n[i]=e[i]),n}),{});return Object.keys(i).length>0?i:void 0}}},iterator:function(t){return new a(t)},length:function(t){return"number"==typeof t.delete?t.delete:"number"==typeof t.retain?t.retain:"string"==typeof t.insert?t.insert.length:1}};function a(t){this.ops=t,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,i=o.length(e);if(t>=i-n?(t=i-n,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};var r={};return e.attributes&&(r.attributes=e.attributes),"number"==typeof e.retain?r.retain=t:"string"==typeof e.insert?r.insert=e.insert.substr(n,t):r.insert=e.insert,r}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),i=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(i)}return[]},t.exports=o},function(t,e){var n=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}var e,n,i;try{e=Map}catch(t){e=function(){}}try{n=Set}catch(t){n=function(){}}try{i=Promise}catch(t){i=function(){}}function r(o,s,l,u,c){"object"==typeof s&&(l=s.depth,u=s.prototype,c=s.includeNonEnumerable,s=s.circular);var h=[],d=[],f="undefined"!=typeof Buffer;return void 0===s&&(s=!0),void 0===l&&(l=1/0),function o(l,_){if(null===l)return null;if(0===_)return l;var p,m;if("object"!=typeof l)return l;if(t(l,e))p=new e;else if(t(l,n))p=new n;else if(t(l,i))p=new i((function(t,e){l.then((function(e){t(o(e,_-1))}),(function(t){e(o(t,_-1))}))}));else if(r.__isArray(l))p=[];else if(r.__isRegExp(l))p=new RegExp(l.source,a(l)),l.lastIndex&&(p.lastIndex=l.lastIndex);else if(r.__isDate(l))p=new Date(l.getTime());else{if(f&&Buffer.isBuffer(l))return p=Buffer.allocUnsafe?Buffer.allocUnsafe(l.length):new Buffer(l.length),l.copy(p),p;t(l,Error)?p=Object.create(l):void 0===u?(m=Object.getPrototypeOf(l),p=Object.create(m)):(p=Object.create(u),m=u)}if(s){var v=h.indexOf(l);if(-1!=v)return d[v];h.push(l),d.push(p)}for(var g in t(l,e)&&l.forEach((function(t,e){var n=o(e,_-1),i=o(t,_-1);p.set(n,i)})),t(l,n)&&l.forEach((function(t){var e=o(t,_-1);p.add(e)})),l){var y;m&&(y=Object.getOwnPropertyDescriptor(m,g)),y&&null==y.set||(p[g]=o(l[g],_-1))}if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(l);for(g=0;g0){if(s instanceof l.BlockEmbed||f instanceof l.BlockEmbed)return void this.optimize();if(s instanceof h.default){var _=s.newlineIndex(s.length(),!0);if(_>-1&&(s=s.split(_+1))===f)return void this.optimize()}else if(f instanceof h.default){var p=f.newlineIndex(0);p>-1&&f.split(p+1)}var m=f.children.head instanceof c.default?null:f.children.head;s.moveChildren(f,m),s.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,i,r){(null==this.whitelist||this.whitelist[i])&&(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,i,r),this.optimize())}},{key:"insertAt",value:function(t,n,i){if(null==i||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==i||null==a.default.query(n,a.default.Scope.BLOCK)){var r=a.default.create(this.statics.defaultChild);this.appendChild(r),null==i&&n.endsWith("\n")&&(n=n.slice(0,-1)),r.insertAt(0,n,i)}else{var s=a.default.create(n,i);this.appendChild(s)}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,i);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===a.default.Scope.INLINE_BLOT){var i=a.default.create(this.statics.defaultChild);i.appendChild(t),t=i}o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(_,t)}},{key:"lines",value:function(){return function t(e,n,i){var r=[],o=i;return e.children.forEachAt(n,i,(function(e,n,i){_(e)?r.push(e):e instanceof a.default.Container&&(r=r.concat(t(e,n,o))),o-=i})),r}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=s.default.sources.USER;"string"==typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,n,t),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(s.default.events.SCROLL_UPDATE,n,t)}}}]),e}(a.default.Scroll);p.blotName="scroll",p.className="ql-editor",p.tagName="DIV",p.defaultChild="block",p.allowedChildren=[u.default,l.BlockEmbed,d.default],e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=S(t);if(null==i||null==i.key)return v.warn("Attempted to add invalid keyboard binding",i);"function"==typeof e&&(e={handler:e}),"function"==typeof n&&(n={handler:n}),i=(0,l.default)(i,e,n),this.bindings[i.key]=this.bindings[i.key]||[],this.bindings[i.key].push(i)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var o=n.which||n.keyCode,a=(t.bindings[o]||[]).filter((function(t){return e.match(n,t)}));if(0!==a.length){var l=t.quill.getSelection();if(null!=l&&t.quill.hasFocus()){var u=t.quill.getLine(l.index),c=r(u,2),d=c[0],f=c[1],_=t.quill.getLeaf(l.index),p=r(_,2),m=p[0],v=p[1],g=0===l.length?[m,v]:t.quill.getLeaf(l.index+l.length),y=r(g,2),b=y[0],w=y[1],E=m instanceof h.default.Text?m.value().slice(0,v):"",x=b instanceof h.default.Text?b.value().slice(w):"",C={collapsed:0===l.length,empty:0===l.length&&d.length()<=1,format:t.quill.getFormat(l),offset:f,prefix:E,suffix:x};a.some((function(e){if(null!=e.collapsed&&e.collapsed!==C.collapsed)return!1;if(null!=e.empty&&e.empty!==C.empty)return!1;if(null!=e.offset&&e.offset!==C.offset)return!1;if(Array.isArray(e.format)){if(e.format.every((function(t){return null==C.format[t]})))return!1}else if("object"===i(e.format)&&!Object.keys(e.format).every((function(t){return!0===e.format[t]?null!=C.format[t]:!1===e.format[t]?null==C.format[t]:(0,s.default)(e.format[t],C.format[t])})))return!1;return!(null!=e.prefix&&!e.prefix.test(C.prefix)||null!=e.suffix&&!e.suffix.test(C.suffix)||!0===e.handler.call(t,l,C))}))&&n.preventDefault()}}}}))}}]),e}(_.default);function b(t,e){var n,i=t===y.keys.LEFT?"prefix":"suffix";return m(n={key:t,shiftKey:e,altKey:null},i,/^$/),m(n,"handler",(function(n){var i=n.index;t===y.keys.RIGHT&&(i+=n.length+1);var o=this.quill.getLeaf(i);return!(r(o,1)[0]instanceof h.default.Embed&&(t===y.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,d.default.sources.USER):this.quill.setSelection(n.index-1,d.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,d.default.sources.USER):this.quill.setSelection(n.index+n.length+1,d.default.sources.USER),1))})),n}function w(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),i=r(n,1)[0],o={};if(0===e.offset){var a=this.quill.getLine(t.index-1),s=r(a,1)[0];if(null!=s&&s.length()>1){var l=i.formats(),u=this.quill.getFormat(t.index-1,1);o=c.default.attributes.diff(l,u)||{}}}var h=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-h,h,d.default.sources.USER),Object.keys(o).length>0&&this.quill.formatLine(t.index-h,h,o,d.default.sources.USER),this.quill.focus()}}function E(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var i={},o=0,a=this.quill.getLine(t.index),s=r(a,1)[0];if(e.offset>=s.length()-1){var l=this.quill.getLine(t.index+1),u=r(l,1)[0];if(u){var h=s.formats(),f=this.quill.getFormat(t.index,1);i=c.default.attributes.diff(h,f)||{},o=u.length()}}this.quill.deleteText(t.index,n,d.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(t.index+o-1,n,i,d.default.sources.USER)}}function x(t){var e=this.quill.getLines(t),n={};if(e.length>1){var i=e[0].formats(),r=e[e.length-1].formats();n=c.default.attributes.diff(r,i)||{}}this.quill.deleteText(t,d.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,d.default.sources.USER),this.quill.setSelection(t.index,d.default.sources.SILENT),this.quill.focus()}function C(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var i=Object.keys(e.format).reduce((function(t,n){return h.default.query(n,h.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t}),{});this.quill.insertText(t.index,"\n",i,d.default.sources.USER),this.quill.setSelection(t.index+1,d.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach((function(t){null==i[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],d.default.sources.USER))}))}function T(t){return{key:y.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=h.default.query("code-block"),i=e.index,o=e.length,a=this.quill.scroll.descendant(n,i),s=r(a,2),l=s[0],u=s[1];if(null!=l){var c=this.quill.getIndex(l),f=l.newlineIndex(u,!0)+1,_=l.newlineIndex(c+u+o),p=l.domNode.textContent.slice(f,_).split("\n");u=0,p.forEach((function(e,r){t?(l.insertAt(f+u,n.TAB),u+=n.TAB.length,0===r?i+=n.TAB.length:o+=n.TAB.length):e.startsWith(n.TAB)&&(l.deleteAt(f+u,n.TAB.length),u-=n.TAB.length,0===r?i-=n.TAB.length:o-=n.TAB.length),u+=e.length+1})),this.quill.update(d.default.sources.USER),this.quill.setSelection(i,o,d.default.sources.SILENT)}}}}function A(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],d.default.sources.USER)}}}function S(t){if("string"==typeof t||"number"==typeof t)return S({key:t});if("object"===(void 0===t?"undefined":i(t))&&(t=(0,a.default)(t,!1)),"string"==typeof t.key)if(null!=y.keys[t.key.toUpperCase()])t.key=y.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[g]=t.shortKey,delete t.shortKey),t}y.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},y.DEFAULTS={bindings:{bold:A("bold"),italic:A("italic"),underline:A("underline"),indent:{key:y.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",d.default.sources.USER)}},outdent:{key:y.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",d.default.sources.USER)}},"outdent backspace":{key:y.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",d.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,d.default.sources.USER)}},"indent code-block":T(!0),"outdent code-block":T(!1),"remove tab":{key:y.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,d.default.sources.USER)}},tab:{key:y.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new u.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,d.default.sources.SILENT)}},"list empty enter":{key:y.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,d.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,d.default.sources.USER)}},"checklist enter":{key:y.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=r(e,2),i=n[0],o=n[1],a=(0,l.default)({},i.formats(),{list:"checked"}),s=(new u.default).retain(t.index).insert("\n",a).retain(i.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,d.default.sources.USER),this.quill.setSelection(t.index+1,d.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:y.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),i=r(n,2),o=i[0],a=i[1],s=(new u.default).retain(t.index).insert("\n",e.format).retain(o.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,d.default.sources.USER),this.quill.setSelection(t.index+1,d.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,i=this.quill.getLine(t.index),o=r(i,2),a=o[0],s=o[1];if(s>n)return!0;var l=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(t.index," ",d.default.sources.USER),this.quill.history.cutoff();var c=(new u.default).retain(t.index-s).delete(n+1).retain(a.length()-2-s).retain(1,{list:l});this.quill.updateContents(c,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,d.default.sources.SILENT)}},"code exit":{key:y.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=r(e,2),i=n[0],o=n[1],a=(new u.default).retain(t.index+i.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,d.default.sources.USER)}},"embed left":b(y.keys.LEFT,!1),"embed left shift":b(y.keys.LEFT,!0),"embed right":b(y.keys.RIGHT,!1),"embed right shift":b(y.keys.RIGHT,!0)}},e.default=y,e.SHORTKEY=g},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},r=function(){function t(t,e){for(var n=0;n-1}a.blotName="link",a.tagName="A",a.SANITIZED_URL="about:blank",a.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=a,e.sanitize=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":i(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=v(n(0)),r=v(n(5)),o=n(4),a=v(o),s=v(n(16)),l=v(n(25)),u=v(n(24)),c=v(n(35)),h=v(n(6)),d=v(n(22)),f=v(n(7)),_=v(n(55)),p=v(n(42)),m=v(n(23));function v(t){return t&&t.__esModule?t:{default:t}}r.default.register({"blots/block":a.default,"blots/block/embed":o.BlockEmbed,"blots/break":s.default,"blots/container":l.default,"blots/cursor":u.default,"blots/embed":c.default,"blots/inline":h.default,"blots/scroll":d.default,"blots/text":f.default,"modules/clipboard":_.default,"modules/history":p.default,"modules/keyboard":m.default}),i.default.register(a.default,s.default,u.default,h.default,d.default,f.default),e.default=r.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),r=function(){function t(t){this.domNode=t,this.domNode[i.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new i.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"==typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"==typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return i.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[i.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,n,r){var o=this.isolate(t,e);if(null!=i.query(n,i.Scope.BLOT)&&r)o.wrap(n,r);else if(null!=i.query(n,i.Scope.ATTRIBUTE)){var a=i.create(this.statics.scope);o.wrap(a),a.format(n,r)}},t.prototype.insertAt=function(t,e,n){var r=null==n?i.create("text",e):i.create(e,n),o=this.split(t);this.parent.insertBefore(r,o)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[i.DATA_KEY]&&delete this.domNode[i.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"==typeof t?i.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"==typeof t?i.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(12),r=n(32),o=n(33),a=n(1),s=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=i.default.keys(this.domNode),n=r.default.keys(this.domNode),s=o.default.keys(this.domNode);e.concat(n).concat(s).forEach((function(e){var n=a.query(e,a.Scope.ATTRIBUTE);n instanceof i.default&&(t.attributes[n.attrName]=n)}))},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach((function(n){var i=e.attributes[n].value(e.domNode);t.format(n,i)}))},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach((function(t){e.attributes[t].remove(e.domNode)})),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce((function(e,n){return e[n]=t.attributes[n].value(t.domNode),e}),{})},t}();e.default=s},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=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])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function o(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter((function(t){return 0===t.indexOf(e+"-")}))}Object.defineProperty(e,"__esModule",{value:!0});var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map((function(t){return t.split("-").slice(0,-1).join("-")}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){o(t,this.keyName).forEach((function(e){t.classList.remove(e)})),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=(o(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=a},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=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])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function o(t){var e=t.split("-"),n=e.slice(1).map((function(t){return t[0].toUpperCase()+t.slice(1)})).join("");return e[0]+n}Object.defineProperty(e,"__esModule",{value:!0});var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map((function(t){return t.split(":")[0].trim()}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[o(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[o(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[o(this.keyName)];return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;ni&&this.stack.undo.length>0){var r=this.stack.undo.pop();n=n.compose(r.undo),t=r.redo.compose(t)}else this.lastRecorded=i;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})),this.stack.redo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(a(n(9)).default);function l(t){var e=t.reduce((function(t,e){return t+(e.delete||0)}),0),n=t.length()-e;return function(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"==typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some((function(t){return null!=r.default.query(t,r.default.Scope.BLOCK)})))}(t)&&(n-=1),n}s.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=s,e.getLastChangeIndex=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var i=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t,e,n=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var i=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",n,s.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",n,s.default.sources.USER)),this.quill.root.scrollTop=i;break;case"video":n=(e=(t=n).match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/))?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t;case"formula":if(!n)break;var r=this.quill.getSelection(!0);if(null!=r){var o=r.index+r.length;this.quill.insertEmbed(o,this.root.getAttribute("data-mode"),n,s.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(o+1," ",s.default.sources.USER),this.quill.setSelection(o+2,s.default.sources.USER)}}this.textbox.value="",this.hide()}}]),e}(f.default);function T(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach((function(e){var i=document.createElement("option");e===n?i.setAttribute("selected","selected"):i.setAttribute("value",e),t.appendChild(i)}))}e.BaseTooltip=C,e.default=x},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,i=this.iterator();n=i();){var r=n.length();if(ta?n(i,t-a,Math.min(e,a+l-t)):n(i,0,Math.min(l,t+e-a)),a+=l}},t.prototype.map=function(t){return this.reduce((function(e,n){return e.push(t(n)),e}),[])},t.prototype.reduce=function(t,e){for(var n,i=this.iterator();n=i();)e=t(e,n);return e},t}();e.default=i},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=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])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(17),a=n(1),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},l=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver((function(t){n.update(t)})),n.observer.observe(n.domNode,s),n.attach(),n}return r(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach((function(t){t.remove()})):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,i,r){this.update(),t.prototype.formatAt.call(this,e,n,i,r)},e.prototype.insertAt=function(e,n,i){this.update(),t.prototype.insertAt.call(this,e,n,i)},e.prototype.optimize=function(e,n){var i=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);for(var r=[].slice.call(this.observer.takeRecords());r.length>0;)e.push(r.pop());for(var s=function(t,e){void 0===e&&(e=!0),null!=t&&t!==i&&null!=t.domNode.parentNode&&(null==t.domNode[a.DATA_KEY].mutations&&(t.domNode[a.DATA_KEY].mutations=[]),e&&s(t.parent))},l=function(t){null!=t.domNode[a.DATA_KEY]&&null!=t.domNode[a.DATA_KEY].mutations&&(t instanceof o.default&&t.children.forEach(l),t.optimize(n))},u=e,c=0;u.length>0;c+=1){if(c>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(u.forEach((function(t){var e=a.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(s(a.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,(function(t){var e=a.find(t,!1);s(e,!1),e instanceof o.default&&e.children.forEach((function(t){s(t,!1)}))}))):"attributes"===t.type&&s(e.prev)),s(e))})),this.children.forEach(l),r=(u=[].slice.call(this.observer.takeRecords())).slice();r.length>0;)e.push(r.pop())}},e.prototype.update=function(e,n){var i=this;void 0===n&&(n={}),(e=e||this.observer.takeRecords()).map((function(t){var e=a.find(t.target,!0);return null==e?null:null==e.domNode[a.DATA_KEY].mutations?(e.domNode[a.DATA_KEY].mutations=[t],e):(e.domNode[a.DATA_KEY].mutations.push(t),null)})).forEach((function(t){null!=t&&t!==i&&null!=t.domNode[a.DATA_KEY]&&t.update(t.domNode[a.DATA_KEY].mutations||[],n)})),null!=this.domNode[a.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[a.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=a.Scope.BLOCK_BLOT,e.tagName="DIV",e}(o.default);e.default=l},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=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])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),a=n(1),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,i){var r=this;n!==this.statics.blotName||i?t.prototype.format.call(this,n,i):(this.children.forEach((function(t){t instanceof o.default||(t=t.wrap(e.blotName,!0)),r.attributes.copy(t)})),this.unwrap())},e.prototype.formatAt=function(e,n,i,r){null!=this.formats()[i]||a.query(i,a.Scope.ATTRIBUTE)?this.isolate(e,n).format(i,r):t.prototype.formatAt.call(this,e,n,i,r)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var i=this.formats();if(0===Object.keys(i).length)return this.unwrap();var r=this.next;r instanceof e&&r.prev===this&&function(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}(i,r.formats())&&(r.moveChildren(this),r.remove())},e.blotName="inline",e.scope=a.Scope.INLINE_BLOT,e.tagName="SPAN",e}(o.default);e.default=s},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=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])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),a=n(1),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){var i=a.query(e.blotName).tagName;if(n.tagName!==i)return t.formats.call(this,n)},e.prototype.format=function(n,i){null!=a.query(n,a.Scope.BLOCK)&&(n!==this.statics.blotName||i?t.prototype.format.call(this,n,i):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,i,r){null!=a.query(i,a.Scope.BLOCK)?this.format(i,r):t.prototype.formatAt.call(this,e,n,i,r)},e.prototype.insertAt=function(e,n,i){if(null==i||null!=a.query(n,a.Scope.INLINE))t.prototype.insertAt.call(this,e,n,i);else{var r=this.split(e),o=a.create(n,i);r.parent.insertBefore(o,r)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=a.Scope.BLOCK_BLOT,e.tagName="P",e}(o.default);e.default=s},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=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])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,i,r){0===e&&n===this.length()?this.format(i,r):t.prototype.formatAt.call(this,e,n,i,r)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(n(19).default);e.default=o},function(t,e,n){"use strict";var i,r=this&&this.__extends||(i=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])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),a=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return r(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,i){null==i?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,i)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=a.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some((function(t){return"characterData"===t.type&&t.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=a.Scope.INLINE_BLOT,e}(o.default);e.default=s},function(t,e,n){"use strict";var i=document.createElement("div");if(i.classList.toggle("test-class",!1),i.classList.contains("test-class")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)==!e?e:r.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var i=n.indexOf(t,e);return-1!==i&&i===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),i=n.length>>>0,r=arguments[1],o=0;oe.length?t:e,h=t.length>e.length?e:t,d=c.indexOf(h);if(-1!=d)return u=[[i,c.substring(0,d)],[r,h],[i,c.substring(d+h.length)]],t.length>e.length&&(u[0][0]=u[2][0]=n),u;if(1==h.length)return[[n,t],[i,e]];var f=function(t,e){var n=t.length>e.length?t:e,i=t.length>e.length?e:t;if(n.length<4||2*i.length=t.length?[i,r,o,a,h]:null}var o,a,u,c,h,d=r(n,i,Math.ceil(n.length/4)),f=r(n,i,Math.ceil(n.length/2));return d||f?(o=f?d&&d[4].length>f[4].length?d:f:d,t.length>e.length?(a=o[0],u=o[1],c=o[2],h=o[3]):(c=o[0],h=o[1],a=o[2],u=o[3]),[a,u,c,h,o[4]]):null}(t,e);if(f){var _=f[0],p=f[1],m=f[2],v=f[3],g=f[4],y=o(_,m),b=o(p,v);return y.concat([[r,g]],b)}return function(t,e){for(var r=t.length,o=e.length,s=Math.ceil((r+o)/2),l=s,u=2*s,c=new Array(u),h=new Array(u),d=0;dr)m+=2;else if(E>o)p+=2;else if(_&&(T=l+f-b)>=0&&T=(C=r-h[T]))return a(t,e,S,E)}for(var x=-y+v;x<=y-g;x+=2){for(var C,T=l+x,A=(C=x==-y||x!=y&&h[T-1]r)g+=2;else if(A>o)v+=2;else if(!_){var S;if((w=l+f-x)>=0&&w=(C=r-C)))return a(t,e,S,E)}}}return[[n,t],[i,e]]}(t,e)}(t=t.substring(0,t.length-d),e=e.substring(0,e.length-d));return f&&p.unshift([r,f]),_&&p.push([r,_]),u(p),null!=c&&(p=function(t,e){var i=function(t,e){if(0===e)return[r,t];for(var i=0,o=0;o0&&o.splice(a+2,0,[l[0],u]),h(o,a,3)}return t}(p,c)),function(t){for(var e=!1,o=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},a=2;a=55296&&s.charCodeAt(s.length-1)<=56319)&&t[a-1][0]===n&&o(t[a-1][1])&&t[a][0]===i&&o(t[a][1])&&(e=!0,t[a-1][1]=t[a-2][1].slice(-1)+t[a-1][1],t[a][1]=t[a-2][1].slice(-1)+t[a][1],t[a-2][1]=t[a-2][1].slice(0,-1));var s;if(!e)return t;var l=[];for(a=0;a0&&l.push(t[a]);return l}(p)}function a(t,e,n,i){var r=t.substring(0,n),a=e.substring(0,i),s=t.substring(n),l=e.substring(i),u=o(r,a),c=o(s,l);return u.concat(c)}function s(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,i=Math.min(t.length,e.length),r=i,o=0;n1?(0!==a&&0!==c&&(0!==(e=s(d,h))&&(o-a-c>0&&t[o-a-c-1][0]==r?t[o-a-c-1][1]+=d.substring(0,e):(t.splice(0,0,[r,d.substring(0,e)]),o++),d=d.substring(e),h=h.substring(e)),0!==(e=l(d,h))&&(t[o][1]=d.substring(d.length-e)+t[o][1],d=d.substring(0,d.length-e),h=h.substring(0,h.length-e))),0===a?t.splice(o-c,a+c,[i,d]):0===c?t.splice(o-a,a+c,[n,h]):t.splice(o-a-c,a+c,[n,h],[i,d]),o=o-a-c+(a?1:0)+(c?1:0)+1):0!==o&&t[o-1][0]==r?(t[o-1][1]+=t[o][1],t.splice(o,1)):o++,c=0,a=0,h="",d=""}""===t[t.length-1][1]&&t.pop();var f=!1;for(o=1;o=0&&i>=e-1;i--)if(i+1=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=S(e,n)),parseFloat(i.textIndent||0)>0&&(e=(new s.default).insert("\t").concat(e)),e}],["li",function(t,e){var n=l.default.query(t);if(null==n||"list-item"!==n.blotName||!k(e,"\n"))return e;for(var i=-1,r=t.parentNode;!r.classList.contains("ql-clipboard");)"list"===(l.default.query(r)||{}).blotName&&(i+=1),r=r.parentNode;return i<=0?e:e.compose((new s.default).retain(e.length()-1).retain(1,{indent:i}))}],["b",O.bind(O,"bold")],["i",O.bind(O,"italic")],["style",function(){return new s.default}]],C=[d.AlignAttribute,m.DirectionAttribute].reduce((function(t,e){return t[e.keyName]=e,t}),{}),T=[d.AlignStyle,f.BackgroundStyle,p.ColorStyle,m.DirectionStyle,v.FontStyle,g.SizeStyle].reduce((function(t,e){return t[e.keyName]=e,t}),{}),A=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return i.quill.root.addEventListener("paste",i.onPaste.bind(i)),i.container=i.quill.addContainer("ql-clipboard"),i.container.setAttribute("contenteditable",!0),i.container.setAttribute("tabindex",-1),i.matchers=[],x.concat(i.options.matchers).forEach((function(t){var e=r(t,2),o=e[0],a=e[1];(n.matchVisual||a!==R)&&i.addMatcher(o,a)})),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"==typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\<"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[_.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(n,b({},_.default.blotName,e[_.default.blotName]))}var i=this.prepareMatching(),o=r(i,2),a=o[0],l=o[1],u=I(this.container,a,l);return k(u,"\n")&&null==u.ops[u.ops.length-1].attributes&&(u=u.compose((new s.default).retain(u.length()-1).delete(1))),w.log("convert",this.container.innerHTML,u),this.container.innerHTML="",u}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.default.sources.API;if("string"==typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,u.default.sources.SILENT);else{var i=this.convert(e);this.quill.updateContents((new s.default).retain(t).concat(i),n),this.quill.setSelection(t+i.length(),u.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),i=(new s.default).retain(n.index),r=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(u.default.sources.SILENT),setTimeout((function(){i=i.concat(e.convert()).delete(n.length),e.quill.updateContents(i,u.default.sources.USER),e.quill.setSelection(i.length()-n.length,u.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=r,e.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach((function(i){var o=r(i,2),a=o[0],s=o[1];switch(a){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:e.push(s);break;default:[].forEach.call(t.container.querySelectorAll(a),(function(t){t[E]=t[E]||[],t[E].push(s)}))}})),[e,n]}}]),e}(h.default);function S(t,e,n){return"object"===(void 0===e?"undefined":i(e))?Object.keys(e).reduce((function(t,n){return S(t,n,e[n])}),t):t.reduce((function(t,i){return i.attributes&&i.attributes[e]?t.push(i):t.insert(i.insert,(0,a.default)({},b({},e,n),i.attributes))}),new s.default)}function z(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function k(t,e){for(var n="",i=t.ops.length-1;i>=0&&n.length-1}function I(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce((function(e,n){return n(t,e)}),new s.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],(function(i,r){var o=I(r,e,n);return r.nodeType===t.ELEMENT_NODE&&(o=e.reduce((function(t,e){return e(r,t)}),o),o=(r[E]||[]).reduce((function(t,e){return e(r,t)}),o)),i.concat(o)}),new s.default):new s.default}function O(t,e,n){return S(n,t,!0)}function L(t,e){var n=l.default.Attributor.Attribute.keys(t),i=l.default.Attributor.Class.keys(t),r=l.default.Attributor.Style.keys(t),o={};return n.concat(i).concat(r).forEach((function(e){var n=l.default.query(e,l.default.Scope.ATTRIBUTE);null!=n&&(o[n.attrName]=n.value(t),o[n.attrName])||(null==(n=C[e])||n.attrName!==e&&n.keyName!==e||(o[n.attrName]=n.value(t)||void 0),null==(n=T[e])||n.attrName!==e&&n.keyName!==e||(n=T[e],o[n.attrName]=n.value(t)||void 0))})),Object.keys(o).length>0&&(e=S(e,o)),e}function M(t,e){var n=l.default.query(t);if(null==n)return e;if(n.prototype instanceof l.default.Embed){var i={},r=n.value(t);null!=r&&(i[n.blotName]=r,e=(new s.default).insert(i,n.formats(t)))}else"function"==typeof n.formats&&(e=S(e,n.blotName,n.formats(t)));return e}function $(t,e){return k(e,"\n")||(N(t)||e.length()>0&&t.nextSibling&&N(t.nextSibling))&&e.insert("\n"),e}function R(t,e){if(N(t)&&null!=t.nextElementSibling&&!k(e,"\n\n")){var n=t.offsetHeight+parseFloat(z(t).marginTop)+parseFloat(z(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function P(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!z(t.parentNode).whiteSpace.startsWith("pre")){var i=function(t,e){return(e=e.replace(/[^\u00a0]/g,"")).length<1&&t?" ":e};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,i.bind(i,!0)),(null==t.previousSibling&&N(t.parentNode)||null!=t.previousSibling&&N(t.previousSibling))&&(n=n.replace(/^\s+/,i.bind(i,!1))),(null==t.nextSibling&&N(t.parentNode)||null!=t.nextSibling&&N(t.nextSibling))&&(n=n.replace(/\s+$/,i.bind(i,!1)))}return e.insert(n)}A.DEFAULTS={matchers:[],matchVisual:!0},e.default=A,e.matchAttributor=L,e.matchBlot=M,e.matchNewline=$,e.matchSpacing=R,e.matchText=P},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=function(){function t(t,e){for(var n=0;n '},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=function(){function t(t,e){for(var n=0;ni.right&&(o=i.right-r.right,this.root.style.left=e+o+"px"),r.lefti.bottom){var a=r.bottom-r.top,s=t.bottom-t.top+a;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return o}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},r=function(){function t(t,e){for(var n=0;n
','','',''].join(""),e.default=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=$(n(29)),r=n(36),o=n(38),a=n(64),s=$(n(65)),l=$(n(66)),u=n(67),c=$(u),h=n(37),d=n(26),f=n(39),_=n(40),p=$(n(56)),m=$(n(68)),v=$(n(27)),g=$(n(69)),y=$(n(70)),b=$(n(71)),w=$(n(72)),E=$(n(73)),x=n(13),C=$(x),T=$(n(74)),A=$(n(75)),S=$(n(57)),z=$(n(41)),k=$(n(28)),N=$(n(59)),I=$(n(60)),O=$(n(61)),L=$(n(108)),M=$(n(62));function $(t){return t&&t.__esModule?t:{default:t}}i.default.register({"attributors/attribute/direction":o.DirectionAttribute,"attributors/class/align":r.AlignClass,"attributors/class/background":h.BackgroundClass,"attributors/class/color":d.ColorClass,"attributors/class/direction":o.DirectionClass,"attributors/class/font":f.FontClass,"attributors/class/size":_.SizeClass,"attributors/style/align":r.AlignStyle,"attributors/style/background":h.BackgroundStyle,"attributors/style/color":d.ColorStyle,"attributors/style/direction":o.DirectionStyle,"attributors/style/font":f.FontStyle,"attributors/style/size":_.SizeStyle},!0),i.default.register({"formats/align":r.AlignClass,"formats/direction":o.DirectionClass,"formats/indent":a.IndentClass,"formats/background":h.BackgroundStyle,"formats/color":d.ColorStyle,"formats/font":f.FontClass,"formats/size":_.SizeClass,"formats/blockquote":s.default,"formats/code-block":C.default,"formats/header":l.default,"formats/list":c.default,"formats/bold":p.default,"formats/code":x.Code,"formats/italic":m.default,"formats/link":v.default,"formats/script":g.default,"formats/strike":y.default,"formats/underline":b.default,"formats/image":w.default,"formats/video":E.default,"formats/list/item":u.ListItem,"modules/formula":T.default,"modules/syntax":A.default,"modules/toolbar":S.default,"themes/bubble":L.default,"themes/snow":M.default,"ui/icons":z.default,"ui/picker":k.default,"ui/icon-picker":I.default,"ui/color-picker":N.default,"ui/tooltip":O.default},!0),e.default=i.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var i,r=function(){function t(t,e){for(var n=0;n0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return t={},e=this.statics.blotName,n=this.statics.formats(this.domNode),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;var t,e,n}},{key:"insertBefore",value:function(t,n){if(t instanceof d)r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var i=null==n?this.length():n.offset(this),o=this.split(i);o.parent.insertBefore(t,o)}}},{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=o.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(s.default);f.blotName="list",f.scope=o.default.Scope.BLOCK_BLOT,f.tagName=["OL","UL"],f.defaultChild="list-item",f.allowedChildren=[d],e.ListItem=d,e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((i=n(56))&&i.__esModule?i:{default:i}).default);r.blotName="italic",r.tagName=["EM","I"],e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=function(){function t(t,e){for(var n=0;n-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return l.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,s.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(a.default.Embed);u.blotName="image",u.tagName="IMG",e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=function(){function t(t,e){for(var n=0;n-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return l.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"sanitize",value:function(t){return s.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(a.BlockEmbed);u.blotName="video",u.className="ql-video",u.tagName="IFRAME",e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var i=function(){function t(t,e){for(var n=0;n0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(l(n(13)).default);d.className="ql-syntax";var f=new o.default.Attributor.Class("token","hljs",{scope:o.default.Scope.INLINE}),_=function(t){function e(t,n){u(this,e);var i=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!=typeof i.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var r=null;return i.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(r),r=setTimeout((function(){i.highlight(),r=null}),i.options.interval)})),i.highlight(),i}return h(e,t),i(e,null,[{key:"register",value:function(){a.default.register(f,!0),a.default.register(d,!0)}}]),i(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(a.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(d).forEach((function(e){e.highlight(t.options.highlight)})),this.quill.update(a.default.sources.SILENT),null!=e&&this.quill.setSelection(e,a.default.sources.SILENT)}}}]),e}(s.default);_.DEFAULTS={highlight:null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value},interval:1e3},e.CodeBlock=d,e.CodeToken=f,e.default=_},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var i=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},r=function(){function t(t,e){for(var n=0;n0&&r===a.default.sources.USER){i.show(),i.root.style.left="0px",i.root.style.width="",i.root.style.width=i.root.offsetWidth+"px";var o=i.quill.getLines(e.index,e.length);if(1===o.length)i.position(i.quill.getBounds(e));else{var s=o[o.length-1],l=i.quill.getIndex(s),c=Math.min(s.length()-1,e.index+e.length-l),h=i.quill.getBounds(new u.Range(l,c));i.position(h)}}else document.activeElement!==i.textbox&&i.quill.hasFocus()&&i.hide()})),i}return _(e,t),r(e,[{key:"listen",value:function(){var t=this;i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){t.root.classList.remove("ql-editing")})),this.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),e}(s.BaseTooltip);v.TEMPLATE=['','
','','',"
"].join(""),e.BubbleTooltip=v,e.default=m},function(t,e,n){t.exports=n(63)}]).default},t.exports=e()},33936:(t,e,n)=>{"use strict";var i=n(66204),r=n(46489);function o(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n