diff --git a/dist/assets/index-5fe1a091.css b/dist/assets/index-3ef9874e.css similarity index 99% rename from dist/assets/index-5fe1a091.css rename to dist/assets/index-3ef9874e.css index 952c6796..a3533d91 100644 --- a/dist/assets/index-5fe1a091.css +++ b/dist/assets/index-3ef9874e.css @@ -1,4 +1,4 @@ -.tabulator{position:relative;border:1px solid #dee2e6;background-color:#fff;font-size:16px;text-align:left;overflow:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #dee2e6;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{display:inline-flex;position:relative;box-sizing:border-box;flex-direction:column;justify-content:flex-start;border-right:1px solid #aaa;background:#fff;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #dee2e6;background:#e6e6e6;pointer-events:none}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#e6e6e6}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{position:sticky;left:0;z-index:10}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;background:white!important;border-top:1px solid #dee2e6;border-bottom:1px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:white!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%;min-width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{display:inline-block;text-align:center;padding:10px;color:#ccc;font-weight:700;font-size:20px;white-space:normal}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#ececec!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #dee2e6}.tabulator .tabulator-footer{border-top:1px solid #dee2e6;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-footer-contents{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px 10px}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:100%;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #dee2e6;border-top:1px solid #dee2e6;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{flex:1;text-align:right;color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px;background:rgba(255,255,255,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}}.tabulator .tabulator-col-resize-handle{position:relative;display:inline-block;width:6px;margin-left:-3px;margin-right:-3px;z-index:10;vertical-align:middle}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-alert{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-alert .tabulator-alert-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{border:4px solid #333;color:#000}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid #D00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:24px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#f9f9f9}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}}.tabulator-row.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6;pointer-events:none;z-index:15}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:16px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #dee2e6;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabulator-row .tabulator-cell.tabulator-frozen{display:inline-block;position:sticky;left:0;background-color:inherit;z-index:10}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1D68CD;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #dd0000}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:inline-block;width:7px}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-popup-container{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #dee2e6;box-shadow:0 0 5px #0003;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-popup{padding:5px;border-radius:3px}.tabulator-tooltip{max-width:min(500px,100%);padding:3px 5px;border-radius:2px;box-shadow:none;font-size:12px;pointer-events:none}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#f9f9f9}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-width:1px 1px 0 0;border-style:solid;border-color:#dee2e6;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #dee2e6}.tabulator-edit-list{max-height:200px;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}.tabulator-edit-list .tabulator-edit-list-item{padding:4px;color:#333;outline:none}.tabulator-edit-list .tabulator-edit-list-item.active{color:#fff;background:#1D68CD}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #1D68CD}@media (hover: hover) and (pointer: fine){.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#fff;background:#1D68CD}}.tabulator-edit-list .tabulator-edit-list-placeholder{padding:4px;color:#333;text-align:center}.tabulator-edit-list .tabulator-edit-list-group{border-bottom:1px solid #dee2e6;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:5px;border-bottom-left-radius:initial;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:initial;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>*:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator{background-color:#fff;border:none}.tabulator .tabulator-header{border-top:1px solid #dee2e6;border-bottom:2px solid #dee2e6;color:inherit}.tabulator .tabulator-header .tabulator-col{border-right:none;background-color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{padding:12px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid #dee2e6}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input{padding:.375rem .75rem;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:1rem;line-height:1.5;color:#495057}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus{color:#495057;background-color:#fff;border:1px solid #1D68CD;outline:0}.tabulator .tabulator-header .tabulator-calcs-holder{width:100%;border-bottom:1px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-placeholder span{color:#000}.tabulator .tabulator-tableholder .tabulator-table,.tabulator .tabulator-footer,.tabulator .tabulator-footer .tabulator-paginator{color:inherit}.tabulator .tabulator-footer .tabulator-pages{margin:0}.tabulator .tabulator-footer .tabulator-page{margin:5px 0 0;padding:8px 12px}.tabulator .tabulator-footer .tabulator-page[data-page=first]{border-top-left-radius:4px;border-bottom-left-radius:4px}.tabulator .tabulator-footer .tabulator-page[data-page=last]{border:1px solid #dee2e6;border-top-right-radius:4px;border-bottom-right-radius:4px}.tabulator .tabulator-footer .tabulator-page.active{border-color:#007bff;background-color:#007bff;color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{border-color:#dee2e6;background:#fff;color:#6c757d}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{border-color:#dee2e6;background:#e9ecef;color:#0056b3}}.tabulator.thead-dark .tabulator-header,.tabulator.thead-dark .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark{background-color:#212529}.tabulator.table-dark:not(.thead-light) .tabulator-header{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark:not(.thead-light) .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark .tabulator-tableholder{color:#fff}.tabulator.table-dark .tabulator-row{border-color:#32383e;background-color:#212529;color:#fff}@media (hover: hover) and (pointer: fine){.tabulator.table-dark .tabulator-row:hover{background-color:#32383e}.tabulator.table-dark .tabulator-row:hover .tabulator-cell{background-color:#ffffff13}}.tabulator.table-dark .tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator.table-dark .tabulator-footer{border-color:#32383e!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder{border-color:#32383e!important;background:#212529!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder .tabulator-row{border-color:#32383e!important;background-color:#212529!important;color:#fff!important}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even{background-color:#f9f9f9}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator.table-striped.table-dark .tabulator-row:nth-child(even) .tabulator-cell{background-color:#ffffff0d}.tabulator.table-bordered{border:1px solid #dee2e6}.tabulator.table-bordered .tabulator-header .tabulator-col,.tabulator.table-bordered .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{border-right:1px solid #dee2e6}.tabulator.table-borderless .tabulator-header,.tabulator.table-borderless .tabulator-row{border:none}.tabulator.table-sm .tabulator-header .tabulator-col .tabulator-col-content{padding:5px!important}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row{min-height:26px}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{padding:5px!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-active{background:#f5f5f5!important}.tabulator-row{min-height:40px;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-cell{padding:12px;border-right:none}.tabulator-row .tabulator-cell:last-of-type{border-right:none}.tabulator-row .tabulator-cell .tabulator-data-tree-control{border:1px solid #ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-row.tabulator-group{background:#fafafa}.tabulator-row.tabulator-group span{color:#666}.tabulator-edit-select-list{background:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}@media (hover: hover) and (pointer: fine){.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{color:#fff}}.tabulator-edit-select-list .tabulator-edit-select-list-notice,.tabulator-edit-select-list .tabulator-edit-select-list-group{color:inherit}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:initial}.tabulator-print-table .tabulator-print-table-group{background:#fafafa}.tabulator-print-table .tabulator-print-table-group span{color:#666}.tabulator-print-table .tabulator-data-tree-control{color:inherit}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-col-title,.tabulator-cell{font-size:14px}.plot-container[data-v-b6b2daaf]{position:relative;width:100%}.simple-button[data-v-b6b2daaf]{position:absolute;top:17%;left:6.5%;z-index:1000;background-color:#f0f0f0;border:none;border-radius:50%;width:30px;height:30px;text-align:center;line-height:230%;cursor:pointer}.simple-button[data-v-b6b2daaf]:hover{background-color:#e0e0e0}.sequence-amino-acid[data-v-36874f28]{background-color:var(--amino-acid-cell-bg-color);color:var(--amino-acid-cell-color)}.sequence-amino-acid[data-v-36874f28]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.sequence-amino-acid-highlighted[data-v-36874f28]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-36874f28]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-amino-acid-modified[data-v-36874f28]{background-color:#9c1e1e}.sequence-amino-acid-modified[data-v-36874f28]:hover{background-color:#ff1e1e}.frag-marker-container[data-v-36874f28],.frag-marker-container-a[data-v-36874f28],.frag-marker-container-b[data-v-36874f28],.frag-marker-container-c[data-v-36874f28],.frag-marker-container-x[data-v-36874f28],.frag-marker-container-y[data-v-36874f28],.frag-marker-container-z[data-v-36874f28],.frag-marker-extra-type[data-v-36874f28]{width:100%;height:100%;position:absolute;z-index:1000}.frag-marker-container-a[data-v-36874f28]{top:-28%;left:15%}.frag-marker-container-b[data-v-36874f28]{top:-8%;left:13%}.frag-marker-container-c[data-v-36874f28]{top:-28%;left:15%}.frag-marker-container-x[data-v-36874f28]{bottom:-32%;left:-10%}.frag-marker-container-y[data-v-36874f28]{bottom:-8%;left:-10%}.frag-marker-container-z[data-v-36874f28]{bottom:-32%;left:-10%}.frag-marker-extra-type[data-v-36874f28]{top:-30%}.aa-text[data-v-36874f28]{position:absolute}.protein-terminal[data-v-01ab13cd]:hover{background-color:var(--protein-terminal-cell-hover-bg-color);color:var(--protein-terminal-cell-hover-color)}.protein-terminal-modified[data-v-01ab13cd]{background-color:#9c1e1e;color:var(--amino-acid-cell-color)}.protein-terminal-modified[data-v-01ab13cd]:hover{background-color:#ff1e1e}.sequence-grid[data-v-4ba716b9]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-4ba716b9]{aspect-ratio:1}.sequence-amino-acid-modified[data-v-4ba716b9]{background-color:#9c1e1e!important}.sequence-amino-acid-modified[data-v-4ba716b9]:hover{background-color:#ff1e1e}.sequence-amino-acid-highlighted[data-v-4ba716b9]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-4ba716b9]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-grid[data-v-d938d643]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-d938d643]{aspect-ratio:1}.protein-terminal[data-v-d938d643]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.grid-width-20[data-v-d938d643]{grid-template-columns:repeat(22,1fr)}.grid-width-25[data-v-d938d643]{grid-template-columns:repeat(27,1fr)}.grid-width-30[data-v-d938d643]{grid-template-columns:repeat(32,1fr)}.grid-width-35[data-v-d938d643]{grid-template-columns:repeat(37,1fr)}.grid-width-40[data-v-d938d643]{grid-template-columns:repeat(42,1fr)}.sequence-amino-acid-highlighted[data-v-953b463c],.sequence-amino-acid.highlighted[data-v-953b463c]{background-color:#f3a712;color:#000;outline:3px solid #29335C;font-weight:700}.sequence-amino-acid[data-v-953b463c]{background-color:var(--amino-acid-cell-bg-color);color:var(--amino-acid-cell-color)}.sequence-amino-acid[data-v-953b463c]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.sequence-amino-acid-highlighted[data-v-953b463c]{background-color:var(--amino-acid-cell-bg-color);color:#f3a712}.sequence-amino-acid-highlighted[data-v-953b463c]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-amino-acid-modified[data-v-953b463c]{background-color:#9c1e1e}.sequence-amino-acid-modified[data-v-953b463c]:hover{background-color:#ff1e1e}.frag-marker-container[data-v-953b463c],.frag-marker-container-a[data-v-953b463c],.frag-marker-container-b[data-v-953b463c],.frag-marker-container-c[data-v-953b463c],.frag-marker-container-x[data-v-953b463c],.frag-marker-container-y[data-v-953b463c],.frag-marker-container-z[data-v-953b463c],.frag-marker-extra-type[data-v-953b463c]{width:100%;height:100%;position:absolute;z-index:1000}.frag-marker-container-a[data-v-953b463c]{top:-28%;left:15%}.frag-marker-container-b[data-v-953b463c]{top:-8%;left:13%}.frag-marker-container-c[data-v-953b463c]{top:-28%;left:15%}.frag-marker-container-x[data-v-953b463c]{bottom:-32%;left:-10%}.frag-marker-container-y[data-v-953b463c]{bottom:-8%;left:-10%}.frag-marker-container-z[data-v-953b463c]{bottom:-32%;left:-10%}.frag-marker-extra-type[data-v-953b463c]{top:-30%}.aa-text[data-v-953b463c]{position:absolute}.sequence-grid[data-v-d77bc8b6]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-d77bc8b6]{aspect-ratio:1}.sequence-amino-acid-modified[data-v-d77bc8b6]{background-color:#9c1e1e!important}.sequence-amino-acid-modified[data-v-d77bc8b6]:hover{background-color:#ff1e1e}.sequence-amino-acid-highlighted[data-v-d77bc8b6]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-d77bc8b6]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-grid[data-v-3ef6c7b6]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-3ef6c7b6]{aspect-ratio:1}.protein-terminal[data-v-3ef6c7b6]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.grid-width-20[data-v-3ef6c7b6]{grid-template-columns:repeat(22,1fr)}.grid-width-25[data-v-3ef6c7b6]{grid-template-columns:repeat(27,1fr)}.grid-width-30[data-v-3ef6c7b6]{grid-template-columns:repeat(32,1fr)}.grid-width-35[data-v-3ef6c7b6]{grid-template-columns:repeat(37,1fr)}.grid-width-40[data-v-3ef6c7b6]{grid-template-columns:repeat(42,1fr)}.sequence-and-scale[data-v-3ef6c7b6]{display:flex;align-items:center}.scale-container[data-v-3ef6c7b6]{display:flex;flex-direction:column;align-items:center}#sequence-part[data-v-3ef6c7b6]{flex-grow:1}.scale[data-v-3ef6c7b6]{width:60px;height:100px;background:linear-gradient(to top,rgba(228,87,46,.1),rgba(228,87,46,.2) 10%,rgba(228,87,46,.4) 20%,rgba(228,87,46,.6) 40%,rgba(228,87,46,.8) 70%,#e4572e 100%)}.scale-text[data-v-3ef6c7b6]{text-align:center;font-size:14pt;font-weight:700}.sequence-text[data-v-95e6ed77]{font-size:8px}.fragment-segment[data-v-95e6ed77],.by-fragment[data-v-95e6ed77],.cy-fragment[data-v-95e6ed77],.bz-fragment[data-v-95e6ed77],.not-in-fragment[data-v-95e6ed77],.by-fragment-overlayed[data-v-95e6ed77],.by-fragment-legend[data-v-95e6ed77],.cy-fragment-overlayed[data-v-95e6ed77],.cy-fragment-legend[data-v-95e6ed77],.bz-fragment-overlayed[data-v-95e6ed77],.bz-fragment-legend[data-v-95e6ed77]{aspect-ratio:1}.by-fragment[data-v-95e6ed77],.by-fragment-overlayed[data-v-95e6ed77],.by-fragment-legend[data-v-95e6ed77]{background:#f0a441}.by-fragment-overlayed[data-v-95e6ed77]{opacity:var(--frag-block-opacity-value)}.by-fragment-legend[data-v-95e6ed77]{height:10px}.cy-fragment[data-v-95e6ed77],.cy-fragment-overlayed[data-v-95e6ed77],.cy-fragment-legend[data-v-95e6ed77]{background:#12871d}.cy-fragment-overlayed[data-v-95e6ed77]{opacity:var(--frag-block-opacity-value)}.cy-fragment-legend[data-v-95e6ed77]{height:10px}.bz-fragment[data-v-95e6ed77],.bz-fragment-overlayed[data-v-95e6ed77],.bz-fragment-legend[data-v-95e6ed77]{background:#7831cc}.bz-fragment-overlayed[data-v-95e6ed77]{opacity:var(--frag-block-opacity-value)}.bz-fragment-legend[data-v-95e6ed77]{height:10px}.not-in-fragment[data-v-95e6ed77]{background:transparent;aspect-ratio:1}.v-input.textFieldFontSize[data-v-95e6ed77]{width:100px}.component-row[data-v-1e2d685f]{display:flex;flex-direction:row;align-items:center}.height-1[data-v-1e2d685f]{min-height:200px;height:fit-content;max-height:400px}.height-2[data-v-1e2d685f]{min-height:200px;height:fit-content;max-height:800px}.height-any[data-v-1e2d685f]{min-height:200px;height:fit-content}.component-width-1[data-v-1e2d685f]{flex-basis:100%;flex-grow:0}.component-width-2[data-v-1e2d685f]{max-width:50%;flex-basis:50%;flex-grow:0}.component-width-3[data-v-1e2d685f]{max-width:33%;flex-basis:33%;flex-grow:0}.component-layout[data-v-1d160719]{display:flex;flex-direction:column}body{margin:0;font-family:Source Sans Pro,sans-serif}.tabulator-tooltip{background:#fff;color:#000}@font-face{font-family:Material Design Icons;src:url(./materialdesignicons-webfont-67d24abe.eot?v=7.2.96);src:url(./materialdesignicons-webfont-67d24abe.eot?#iefix&v=7.2.96) format("embedded-opentype"),url(./materialdesignicons-webfont-c1c004a9.woff2?v=7.2.96) format("woff2"),url(./materialdesignicons-webfont-80bb28b3.woff?v=7.2.96) format("woff"),url(./materialdesignicons-webfont-a58ecb54.ttf?v=7.2.96) format("truetype");font-weight:400;font-style:normal}.mdi:before,.mdi-set{display:inline-block;font: 24px/1 Material Design Icons;font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing:before{content:"󰇉"}.mdi-abacus:before{content:"󱛠"}.mdi-abjad-arabic:before{content:"󱌨"}.mdi-abjad-hebrew:before{content:"󱌩"}.mdi-abugida-devanagari:before{content:"󱌪"}.mdi-abugida-thai:before{content:"󱌫"}.mdi-access-point:before{content:"󰀃"}.mdi-access-point-check:before{content:"󱔸"}.mdi-access-point-minus:before{content:"󱔹"}.mdi-access-point-network:before{content:"󰀂"}.mdi-access-point-network-off:before{content:"󰯡"}.mdi-access-point-off:before{content:"󱔑"}.mdi-access-point-plus:before{content:"󱔺"}.mdi-access-point-remove:before{content:"󱔻"}.mdi-account:before{content:"󰀄"}.mdi-account-alert:before{content:"󰀅"}.mdi-account-alert-outline:before{content:"󰭐"}.mdi-account-arrow-down:before{content:"󱡨"}.mdi-account-arrow-down-outline:before{content:"󱡩"}.mdi-account-arrow-left:before{content:"󰭑"}.mdi-account-arrow-left-outline:before{content:"󰭒"}.mdi-account-arrow-right:before{content:"󰭓"}.mdi-account-arrow-right-outline:before{content:"󰭔"}.mdi-account-arrow-up:before{content:"󱡧"}.mdi-account-arrow-up-outline:before{content:"󱡪"}.mdi-account-badge:before{content:"󱬊"}.mdi-account-badge-outline:before{content:"󱬋"}.mdi-account-box:before{content:"󰀆"}.mdi-account-box-multiple:before{content:"󰤴"}.mdi-account-box-multiple-outline:before{content:"󱀊"}.mdi-account-box-outline:before{content:"󰀇"}.mdi-account-cancel:before{content:"󱋟"}.mdi-account-cancel-outline:before{content:"󱋠"}.mdi-account-card:before{content:"󱮤"}.mdi-account-card-outline:before{content:"󱮥"}.mdi-account-cash:before{content:"󱂗"}.mdi-account-cash-outline:before{content:"󱂘"}.mdi-account-check:before{content:"󰀈"}.mdi-account-check-outline:before{content:"󰯢"}.mdi-account-child:before{content:"󰪉"}.mdi-account-child-circle:before{content:"󰪊"}.mdi-account-child-outline:before{content:"󱃈"}.mdi-account-circle:before{content:"󰀉"}.mdi-account-circle-outline:before{content:"󰭕"}.mdi-account-clock:before{content:"󰭖"}.mdi-account-clock-outline:before{content:"󰭗"}.mdi-account-cog:before{content:"󱍰"}.mdi-account-cog-outline:before{content:"󱍱"}.mdi-account-convert:before{content:"󰀊"}.mdi-account-convert-outline:before{content:"󱌁"}.mdi-account-cowboy-hat:before{content:"󰺛"}.mdi-account-cowboy-hat-outline:before{content:"󱟳"}.mdi-account-credit-card:before{content:"󱮦"}.mdi-account-credit-card-outline:before{content:"󱮧"}.mdi-account-details:before{content:"󰘱"}.mdi-account-details-outline:before{content:"󱍲"}.mdi-account-edit:before{content:"󰚼"}.mdi-account-edit-outline:before{content:"󰿻"}.mdi-account-eye:before{content:"󰐠"}.mdi-account-eye-outline:before{content:"󱉻"}.mdi-account-filter:before{content:"󰤶"}.mdi-account-filter-outline:before{content:"󰾝"}.mdi-account-group:before{content:"󰡉"}.mdi-account-group-outline:before{content:"󰭘"}.mdi-account-hard-hat:before{content:"󰖵"}.mdi-account-hard-hat-outline:before{content:"󱨟"}.mdi-account-heart:before{content:"󰢙"}.mdi-account-heart-outline:before{content:"󰯣"}.mdi-account-injury:before{content:"󱠕"}.mdi-account-injury-outline:before{content:"󱠖"}.mdi-account-key:before{content:"󰀋"}.mdi-account-key-outline:before{content:"󰯤"}.mdi-account-lock:before{content:"󱅞"}.mdi-account-lock-open:before{content:"󱥠"}.mdi-account-lock-open-outline:before{content:"󱥡"}.mdi-account-lock-outline:before{content:"󱅟"}.mdi-account-minus:before{content:"󰀍"}.mdi-account-minus-outline:before{content:"󰫬"}.mdi-account-multiple:before{content:"󰀎"}.mdi-account-multiple-check:before{content:"󰣅"}.mdi-account-multiple-check-outline:before{content:"󱇾"}.mdi-account-multiple-minus:before{content:"󰗓"}.mdi-account-multiple-minus-outline:before{content:"󰯥"}.mdi-account-multiple-outline:before{content:"󰀏"}.mdi-account-multiple-plus:before{content:"󰀐"}.mdi-account-multiple-plus-outline:before{content:"󰠀"}.mdi-account-multiple-remove:before{content:"󱈊"}.mdi-account-multiple-remove-outline:before{content:"󱈋"}.mdi-account-music:before{content:"󰠃"}.mdi-account-music-outline:before{content:"󰳩"}.mdi-account-network:before{content:"󰀑"}.mdi-account-network-off:before{content:"󱫱"}.mdi-account-network-off-outline:before{content:"󱫲"}.mdi-account-network-outline:before{content:"󰯦"}.mdi-account-off:before{content:"󰀒"}.mdi-account-off-outline:before{content:"󰯧"}.mdi-account-outline:before{content:"󰀓"}.mdi-account-plus:before{content:"󰀔"}.mdi-account-plus-outline:before{content:"󰠁"}.mdi-account-question:before{content:"󰭙"}.mdi-account-question-outline:before{content:"󰭚"}.mdi-account-reactivate:before{content:"󱔫"}.mdi-account-reactivate-outline:before{content:"󱔬"}.mdi-account-remove:before{content:"󰀕"}.mdi-account-remove-outline:before{content:"󰫭"}.mdi-account-school:before{content:"󱨠"}.mdi-account-school-outline:before{content:"󱨡"}.mdi-account-search:before{content:"󰀖"}.mdi-account-search-outline:before{content:"󰤵"}.mdi-account-settings:before{content:"󰘰"}.mdi-account-settings-outline:before{content:"󱃉"}.mdi-account-star:before{content:"󰀗"}.mdi-account-star-outline:before{content:"󰯨"}.mdi-account-supervisor:before{content:"󰪋"}.mdi-account-supervisor-circle:before{content:"󰪌"}.mdi-account-supervisor-circle-outline:before{content:"󱓬"}.mdi-account-supervisor-outline:before{content:"󱄭"}.mdi-account-switch:before{content:"󰀙"}.mdi-account-switch-outline:before{content:"󰓋"}.mdi-account-sync:before{content:"󱤛"}.mdi-account-sync-outline:before{content:"󱤜"}.mdi-account-tag:before{content:"󱰛"}.mdi-account-tag-outline:before{content:"󱰜"}.mdi-account-tie:before{content:"󰳣"}.mdi-account-tie-hat:before{content:"󱢘"}.mdi-account-tie-hat-outline:before{content:"󱢙"}.mdi-account-tie-outline:before{content:"󱃊"}.mdi-account-tie-voice:before{content:"󱌈"}.mdi-account-tie-voice-off:before{content:"󱌊"}.mdi-account-tie-voice-off-outline:before{content:"󱌋"}.mdi-account-tie-voice-outline:before{content:"󱌉"}.mdi-account-tie-woman:before{content:"󱪌"}.mdi-account-voice:before{content:"󰗋"}.mdi-account-voice-off:before{content:"󰻔"}.mdi-account-wrench:before{content:"󱢚"}.mdi-account-wrench-outline:before{content:"󱢛"}.mdi-adjust:before{content:"󰀚"}.mdi-advertisements:before{content:"󱤪"}.mdi-advertisements-off:before{content:"󱤫"}.mdi-air-conditioner:before{content:"󰀛"}.mdi-air-filter:before{content:"󰵃"}.mdi-air-horn:before{content:"󰶬"}.mdi-air-humidifier:before{content:"󱂙"}.mdi-air-humidifier-off:before{content:"󱑦"}.mdi-air-purifier:before{content:"󰵄"}.mdi-air-purifier-off:before{content:"󱭗"}.mdi-airbag:before{content:"󰯩"}.mdi-airballoon:before{content:"󰀜"}.mdi-airballoon-outline:before{content:"󱀋"}.mdi-airplane:before{content:"󰀝"}.mdi-airplane-alert:before{content:"󱡺"}.mdi-airplane-check:before{content:"󱡻"}.mdi-airplane-clock:before{content:"󱡼"}.mdi-airplane-cog:before{content:"󱡽"}.mdi-airplane-edit:before{content:"󱡾"}.mdi-airplane-landing:before{content:"󰗔"}.mdi-airplane-marker:before{content:"󱡿"}.mdi-airplane-minus:before{content:"󱢀"}.mdi-airplane-off:before{content:"󰀞"}.mdi-airplane-plus:before{content:"󱢁"}.mdi-airplane-remove:before{content:"󱢂"}.mdi-airplane-search:before{content:"󱢃"}.mdi-airplane-settings:before{content:"󱢄"}.mdi-airplane-takeoff:before{content:"󰗕"}.mdi-airport:before{content:"󰡋"}.mdi-alarm:before{content:"󰀠"}.mdi-alarm-bell:before{content:"󰞎"}.mdi-alarm-check:before{content:"󰀡"}.mdi-alarm-light:before{content:"󰞏"}.mdi-alarm-light-off:before{content:"󱜞"}.mdi-alarm-light-off-outline:before{content:"󱜟"}.mdi-alarm-light-outline:before{content:"󰯪"}.mdi-alarm-multiple:before{content:"󰀢"}.mdi-alarm-note:before{content:"󰹱"}.mdi-alarm-note-off:before{content:"󰹲"}.mdi-alarm-off:before{content:"󰀣"}.mdi-alarm-panel:before{content:"󱗄"}.mdi-alarm-panel-outline:before{content:"󱗅"}.mdi-alarm-plus:before{content:"󰀤"}.mdi-alarm-snooze:before{content:"󰚎"}.mdi-album:before{content:"󰀥"}.mdi-alert:before{content:"󰀦"}.mdi-alert-box:before{content:"󰀧"}.mdi-alert-box-outline:before{content:"󰳤"}.mdi-alert-circle:before{content:"󰀨"}.mdi-alert-circle-check:before{content:"󱇭"}.mdi-alert-circle-check-outline:before{content:"󱇮"}.mdi-alert-circle-outline:before{content:"󰗖"}.mdi-alert-decagram:before{content:"󰚽"}.mdi-alert-decagram-outline:before{content:"󰳥"}.mdi-alert-minus:before{content:"󱒻"}.mdi-alert-minus-outline:before{content:"󱒾"}.mdi-alert-octagon:before{content:"󰀩"}.mdi-alert-octagon-outline:before{content:"󰳦"}.mdi-alert-octagram:before{content:"󰝧"}.mdi-alert-octagram-outline:before{content:"󰳧"}.mdi-alert-outline:before{content:"󰀪"}.mdi-alert-plus:before{content:"󱒺"}.mdi-alert-plus-outline:before{content:"󱒽"}.mdi-alert-remove:before{content:"󱒼"}.mdi-alert-remove-outline:before{content:"󱒿"}.mdi-alert-rhombus:before{content:"󱇎"}.mdi-alert-rhombus-outline:before{content:"󱇏"}.mdi-alien:before{content:"󰢚"}.mdi-alien-outline:before{content:"󱃋"}.mdi-align-horizontal-center:before{content:"󱇃"}.mdi-align-horizontal-distribute:before{content:"󱥢"}.mdi-align-horizontal-left:before{content:"󱇂"}.mdi-align-horizontal-right:before{content:"󱇄"}.mdi-align-vertical-bottom:before{content:"󱇅"}.mdi-align-vertical-center:before{content:"󱇆"}.mdi-align-vertical-distribute:before{content:"󱥣"}.mdi-align-vertical-top:before{content:"󱇇"}.mdi-all-inclusive:before{content:"󰚾"}.mdi-all-inclusive-box:before{content:"󱢍"}.mdi-all-inclusive-box-outline:before{content:"󱢎"}.mdi-allergy:before{content:"󱉘"}.mdi-alpha:before{content:"󰀫"}.mdi-alpha-a:before{content:"󰫮"}.mdi-alpha-a-box:before{content:"󰬈"}.mdi-alpha-a-box-outline:before{content:"󰯫"}.mdi-alpha-a-circle:before{content:"󰯬"}.mdi-alpha-a-circle-outline:before{content:"󰯭"}.mdi-alpha-b:before{content:"󰫯"}.mdi-alpha-b-box:before{content:"󰬉"}.mdi-alpha-b-box-outline:before{content:"󰯮"}.mdi-alpha-b-circle:before{content:"󰯯"}.mdi-alpha-b-circle-outline:before{content:"󰯰"}.mdi-alpha-c:before{content:"󰫰"}.mdi-alpha-c-box:before{content:"󰬊"}.mdi-alpha-c-box-outline:before{content:"󰯱"}.mdi-alpha-c-circle:before{content:"󰯲"}.mdi-alpha-c-circle-outline:before{content:"󰯳"}.mdi-alpha-d:before{content:"󰫱"}.mdi-alpha-d-box:before{content:"󰬋"}.mdi-alpha-d-box-outline:before{content:"󰯴"}.mdi-alpha-d-circle:before{content:"󰯵"}.mdi-alpha-d-circle-outline:before{content:"󰯶"}.mdi-alpha-e:before{content:"󰫲"}.mdi-alpha-e-box:before{content:"󰬌"}.mdi-alpha-e-box-outline:before{content:"󰯷"}.mdi-alpha-e-circle:before{content:"󰯸"}.mdi-alpha-e-circle-outline:before{content:"󰯹"}.mdi-alpha-f:before{content:"󰫳"}.mdi-alpha-f-box:before{content:"󰬍"}.mdi-alpha-f-box-outline:before{content:"󰯺"}.mdi-alpha-f-circle:before{content:"󰯻"}.mdi-alpha-f-circle-outline:before{content:"󰯼"}.mdi-alpha-g:before{content:"󰫴"}.mdi-alpha-g-box:before{content:"󰬎"}.mdi-alpha-g-box-outline:before{content:"󰯽"}.mdi-alpha-g-circle:before{content:"󰯾"}.mdi-alpha-g-circle-outline:before{content:"󰯿"}.mdi-alpha-h:before{content:"󰫵"}.mdi-alpha-h-box:before{content:"󰬏"}.mdi-alpha-h-box-outline:before{content:"󰰀"}.mdi-alpha-h-circle:before{content:"󰰁"}.mdi-alpha-h-circle-outline:before{content:"󰰂"}.mdi-alpha-i:before{content:"󰫶"}.mdi-alpha-i-box:before{content:"󰬐"}.mdi-alpha-i-box-outline:before{content:"󰰃"}.mdi-alpha-i-circle:before{content:"󰰄"}.mdi-alpha-i-circle-outline:before{content:"󰰅"}.mdi-alpha-j:before{content:"󰫷"}.mdi-alpha-j-box:before{content:"󰬑"}.mdi-alpha-j-box-outline:before{content:"󰰆"}.mdi-alpha-j-circle:before{content:"󰰇"}.mdi-alpha-j-circle-outline:before{content:"󰰈"}.mdi-alpha-k:before{content:"󰫸"}.mdi-alpha-k-box:before{content:"󰬒"}.mdi-alpha-k-box-outline:before{content:"󰰉"}.mdi-alpha-k-circle:before{content:"󰰊"}.mdi-alpha-k-circle-outline:before{content:"󰰋"}.mdi-alpha-l:before{content:"󰫹"}.mdi-alpha-l-box:before{content:"󰬓"}.mdi-alpha-l-box-outline:before{content:"󰰌"}.mdi-alpha-l-circle:before{content:"󰰍"}.mdi-alpha-l-circle-outline:before{content:"󰰎"}.mdi-alpha-m:before{content:"󰫺"}.mdi-alpha-m-box:before{content:"󰬔"}.mdi-alpha-m-box-outline:before{content:"󰰏"}.mdi-alpha-m-circle:before{content:"󰰐"}.mdi-alpha-m-circle-outline:before{content:"󰰑"}.mdi-alpha-n:before{content:"󰫻"}.mdi-alpha-n-box:before{content:"󰬕"}.mdi-alpha-n-box-outline:before{content:"󰰒"}.mdi-alpha-n-circle:before{content:"󰰓"}.mdi-alpha-n-circle-outline:before{content:"󰰔"}.mdi-alpha-o:before{content:"󰫼"}.mdi-alpha-o-box:before{content:"󰬖"}.mdi-alpha-o-box-outline:before{content:"󰰕"}.mdi-alpha-o-circle:before{content:"󰰖"}.mdi-alpha-o-circle-outline:before{content:"󰰗"}.mdi-alpha-p:before{content:"󰫽"}.mdi-alpha-p-box:before{content:"󰬗"}.mdi-alpha-p-box-outline:before{content:"󰰘"}.mdi-alpha-p-circle:before{content:"󰰙"}.mdi-alpha-p-circle-outline:before{content:"󰰚"}.mdi-alpha-q:before{content:"󰫾"}.mdi-alpha-q-box:before{content:"󰬘"}.mdi-alpha-q-box-outline:before{content:"󰰛"}.mdi-alpha-q-circle:before{content:"󰰜"}.mdi-alpha-q-circle-outline:before{content:"󰰝"}.mdi-alpha-r:before{content:"󰫿"}.mdi-alpha-r-box:before{content:"󰬙"}.mdi-alpha-r-box-outline:before{content:"󰰞"}.mdi-alpha-r-circle:before{content:"󰰟"}.mdi-alpha-r-circle-outline:before{content:"󰰠"}.mdi-alpha-s:before{content:"󰬀"}.mdi-alpha-s-box:before{content:"󰬚"}.mdi-alpha-s-box-outline:before{content:"󰰡"}.mdi-alpha-s-circle:before{content:"󰰢"}.mdi-alpha-s-circle-outline:before{content:"󰰣"}.mdi-alpha-t:before{content:"󰬁"}.mdi-alpha-t-box:before{content:"󰬛"}.mdi-alpha-t-box-outline:before{content:"󰰤"}.mdi-alpha-t-circle:before{content:"󰰥"}.mdi-alpha-t-circle-outline:before{content:"󰰦"}.mdi-alpha-u:before{content:"󰬂"}.mdi-alpha-u-box:before{content:"󰬜"}.mdi-alpha-u-box-outline:before{content:"󰰧"}.mdi-alpha-u-circle:before{content:"󰰨"}.mdi-alpha-u-circle-outline:before{content:"󰰩"}.mdi-alpha-v:before{content:"󰬃"}.mdi-alpha-v-box:before{content:"󰬝"}.mdi-alpha-v-box-outline:before{content:"󰰪"}.mdi-alpha-v-circle:before{content:"󰰫"}.mdi-alpha-v-circle-outline:before{content:"󰰬"}.mdi-alpha-w:before{content:"󰬄"}.mdi-alpha-w-box:before{content:"󰬞"}.mdi-alpha-w-box-outline:before{content:"󰰭"}.mdi-alpha-w-circle:before{content:"󰰮"}.mdi-alpha-w-circle-outline:before{content:"󰰯"}.mdi-alpha-x:before{content:"󰬅"}.mdi-alpha-x-box:before{content:"󰬟"}.mdi-alpha-x-box-outline:before{content:"󰰰"}.mdi-alpha-x-circle:before{content:"󰰱"}.mdi-alpha-x-circle-outline:before{content:"󰰲"}.mdi-alpha-y:before{content:"󰬆"}.mdi-alpha-y-box:before{content:"󰬠"}.mdi-alpha-y-box-outline:before{content:"󰰳"}.mdi-alpha-y-circle:before{content:"󰰴"}.mdi-alpha-y-circle-outline:before{content:"󰰵"}.mdi-alpha-z:before{content:"󰬇"}.mdi-alpha-z-box:before{content:"󰬡"}.mdi-alpha-z-box-outline:before{content:"󰰶"}.mdi-alpha-z-circle:before{content:"󰰷"}.mdi-alpha-z-circle-outline:before{content:"󰰸"}.mdi-alphabet-aurebesh:before{content:"󱌬"}.mdi-alphabet-cyrillic:before{content:"󱌭"}.mdi-alphabet-greek:before{content:"󱌮"}.mdi-alphabet-latin:before{content:"󱌯"}.mdi-alphabet-piqad:before{content:"󱌰"}.mdi-alphabet-tengwar:before{content:"󱌷"}.mdi-alphabetical:before{content:"󰀬"}.mdi-alphabetical-off:before{content:"󱀌"}.mdi-alphabetical-variant:before{content:"󱀍"}.mdi-alphabetical-variant-off:before{content:"󱀎"}.mdi-altimeter:before{content:"󰗗"}.mdi-ambulance:before{content:"󰀯"}.mdi-ammunition:before{content:"󰳨"}.mdi-ampersand:before{content:"󰪍"}.mdi-amplifier:before{content:"󰀰"}.mdi-amplifier-off:before{content:"󱆵"}.mdi-anchor:before{content:"󰀱"}.mdi-android:before{content:"󰀲"}.mdi-android-studio:before{content:"󰀴"}.mdi-angle-acute:before{content:"󰤷"}.mdi-angle-obtuse:before{content:"󰤸"}.mdi-angle-right:before{content:"󰤹"}.mdi-angular:before{content:"󰚲"}.mdi-angularjs:before{content:"󰚿"}.mdi-animation:before{content:"󰗘"}.mdi-animation-outline:before{content:"󰪏"}.mdi-animation-play:before{content:"󰤺"}.mdi-animation-play-outline:before{content:"󰪐"}.mdi-ansible:before{content:"󱂚"}.mdi-antenna:before{content:"󱄙"}.mdi-anvil:before{content:"󰢛"}.mdi-apache-kafka:before{content:"󱀏"}.mdi-api:before{content:"󱂛"}.mdi-api-off:before{content:"󱉗"}.mdi-apple:before{content:"󰀵"}.mdi-apple-finder:before{content:"󰀶"}.mdi-apple-icloud:before{content:"󰀸"}.mdi-apple-ios:before{content:"󰀷"}.mdi-apple-keyboard-caps:before{content:"󰘲"}.mdi-apple-keyboard-command:before{content:"󰘳"}.mdi-apple-keyboard-control:before{content:"󰘴"}.mdi-apple-keyboard-option:before{content:"󰘵"}.mdi-apple-keyboard-shift:before{content:"󰘶"}.mdi-apple-safari:before{content:"󰀹"}.mdi-application:before{content:"󰣆"}.mdi-application-array:before{content:"󱃵"}.mdi-application-array-outline:before{content:"󱃶"}.mdi-application-braces:before{content:"󱃷"}.mdi-application-braces-outline:before{content:"󱃸"}.mdi-application-brackets:before{content:"󰲋"}.mdi-application-brackets-outline:before{content:"󰲌"}.mdi-application-cog:before{content:"󰙵"}.mdi-application-cog-outline:before{content:"󱕷"}.mdi-application-edit:before{content:"󰂮"}.mdi-application-edit-outline:before{content:"󰘙"}.mdi-application-export:before{content:"󰶭"}.mdi-application-import:before{content:"󰶮"}.mdi-application-outline:before{content:"󰘔"}.mdi-application-parentheses:before{content:"󱃹"}.mdi-application-parentheses-outline:before{content:"󱃺"}.mdi-application-settings:before{content:"󰭠"}.mdi-application-settings-outline:before{content:"󱕕"}.mdi-application-variable:before{content:"󱃻"}.mdi-application-variable-outline:before{content:"󱃼"}.mdi-approximately-equal:before{content:"󰾞"}.mdi-approximately-equal-box:before{content:"󰾟"}.mdi-apps:before{content:"󰀻"}.mdi-apps-box:before{content:"󰵆"}.mdi-arch:before{content:"󰣇"}.mdi-archive:before{content:"󰀼"}.mdi-archive-alert:before{content:"󱓽"}.mdi-archive-alert-outline:before{content:"󱓾"}.mdi-archive-arrow-down:before{content:"󱉙"}.mdi-archive-arrow-down-outline:before{content:"󱉚"}.mdi-archive-arrow-up:before{content:"󱉛"}.mdi-archive-arrow-up-outline:before{content:"󱉜"}.mdi-archive-cancel:before{content:"󱝋"}.mdi-archive-cancel-outline:before{content:"󱝌"}.mdi-archive-check:before{content:"󱝍"}.mdi-archive-check-outline:before{content:"󱝎"}.mdi-archive-clock:before{content:"󱝏"}.mdi-archive-clock-outline:before{content:"󱝐"}.mdi-archive-cog:before{content:"󱝑"}.mdi-archive-cog-outline:before{content:"󱝒"}.mdi-archive-edit:before{content:"󱝓"}.mdi-archive-edit-outline:before{content:"󱝔"}.mdi-archive-eye:before{content:"󱝕"}.mdi-archive-eye-outline:before{content:"󱝖"}.mdi-archive-lock:before{content:"󱝗"}.mdi-archive-lock-open:before{content:"󱝘"}.mdi-archive-lock-open-outline:before{content:"󱝙"}.mdi-archive-lock-outline:before{content:"󱝚"}.mdi-archive-marker:before{content:"󱝛"}.mdi-archive-marker-outline:before{content:"󱝜"}.mdi-archive-minus:before{content:"󱝝"}.mdi-archive-minus-outline:before{content:"󱝞"}.mdi-archive-music:before{content:"󱝟"}.mdi-archive-music-outline:before{content:"󱝠"}.mdi-archive-off:before{content:"󱝡"}.mdi-archive-off-outline:before{content:"󱝢"}.mdi-archive-outline:before{content:"󱈎"}.mdi-archive-plus:before{content:"󱝣"}.mdi-archive-plus-outline:before{content:"󱝤"}.mdi-archive-refresh:before{content:"󱝥"}.mdi-archive-refresh-outline:before{content:"󱝦"}.mdi-archive-remove:before{content:"󱝧"}.mdi-archive-remove-outline:before{content:"󱝨"}.mdi-archive-search:before{content:"󱝩"}.mdi-archive-search-outline:before{content:"󱝪"}.mdi-archive-settings:before{content:"󱝫"}.mdi-archive-settings-outline:before{content:"󱝬"}.mdi-archive-star:before{content:"󱝭"}.mdi-archive-star-outline:before{content:"󱝮"}.mdi-archive-sync:before{content:"󱝯"}.mdi-archive-sync-outline:before{content:"󱝰"}.mdi-arm-flex:before{content:"󰿗"}.mdi-arm-flex-outline:before{content:"󰿖"}.mdi-arrange-bring-forward:before{content:"󰀽"}.mdi-arrange-bring-to-front:before{content:"󰀾"}.mdi-arrange-send-backward:before{content:"󰀿"}.mdi-arrange-send-to-back:before{content:"󰁀"}.mdi-arrow-all:before{content:"󰁁"}.mdi-arrow-bottom-left:before{content:"󰁂"}.mdi-arrow-bottom-left-bold-box:before{content:"󱥤"}.mdi-arrow-bottom-left-bold-box-outline:before{content:"󱥥"}.mdi-arrow-bottom-left-bold-outline:before{content:"󰦷"}.mdi-arrow-bottom-left-thick:before{content:"󰦸"}.mdi-arrow-bottom-left-thin:before{content:"󱦶"}.mdi-arrow-bottom-left-thin-circle-outline:before{content:"󱖖"}.mdi-arrow-bottom-right:before{content:"󰁃"}.mdi-arrow-bottom-right-bold-box:before{content:"󱥦"}.mdi-arrow-bottom-right-bold-box-outline:before{content:"󱥧"}.mdi-arrow-bottom-right-bold-outline:before{content:"󰦹"}.mdi-arrow-bottom-right-thick:before{content:"󰦺"}.mdi-arrow-bottom-right-thin:before{content:"󱦷"}.mdi-arrow-bottom-right-thin-circle-outline:before{content:"󱖕"}.mdi-arrow-collapse:before{content:"󰘕"}.mdi-arrow-collapse-all:before{content:"󰁄"}.mdi-arrow-collapse-down:before{content:"󰞒"}.mdi-arrow-collapse-horizontal:before{content:"󰡌"}.mdi-arrow-collapse-left:before{content:"󰞓"}.mdi-arrow-collapse-right:before{content:"󰞔"}.mdi-arrow-collapse-up:before{content:"󰞕"}.mdi-arrow-collapse-vertical:before{content:"󰡍"}.mdi-arrow-decision:before{content:"󰦻"}.mdi-arrow-decision-auto:before{content:"󰦼"}.mdi-arrow-decision-auto-outline:before{content:"󰦽"}.mdi-arrow-decision-outline:before{content:"󰦾"}.mdi-arrow-down:before{content:"󰁅"}.mdi-arrow-down-bold:before{content:"󰜮"}.mdi-arrow-down-bold-box:before{content:"󰜯"}.mdi-arrow-down-bold-box-outline:before{content:"󰜰"}.mdi-arrow-down-bold-circle:before{content:"󰁇"}.mdi-arrow-down-bold-circle-outline:before{content:"󰁈"}.mdi-arrow-down-bold-hexagon-outline:before{content:"󰁉"}.mdi-arrow-down-bold-outline:before{content:"󰦿"}.mdi-arrow-down-box:before{content:"󰛀"}.mdi-arrow-down-circle:before{content:"󰳛"}.mdi-arrow-down-circle-outline:before{content:"󰳜"}.mdi-arrow-down-drop-circle:before{content:"󰁊"}.mdi-arrow-down-drop-circle-outline:before{content:"󰁋"}.mdi-arrow-down-left:before{content:"󱞡"}.mdi-arrow-down-left-bold:before{content:"󱞢"}.mdi-arrow-down-right:before{content:"󱞣"}.mdi-arrow-down-right-bold:before{content:"󱞤"}.mdi-arrow-down-thick:before{content:"󰁆"}.mdi-arrow-down-thin:before{content:"󱦳"}.mdi-arrow-down-thin-circle-outline:before{content:"󱖙"}.mdi-arrow-expand:before{content:"󰘖"}.mdi-arrow-expand-all:before{content:"󰁌"}.mdi-arrow-expand-down:before{content:"󰞖"}.mdi-arrow-expand-horizontal:before{content:"󰡎"}.mdi-arrow-expand-left:before{content:"󰞗"}.mdi-arrow-expand-right:before{content:"󰞘"}.mdi-arrow-expand-up:before{content:"󰞙"}.mdi-arrow-expand-vertical:before{content:"󰡏"}.mdi-arrow-horizontal-lock:before{content:"󱅛"}.mdi-arrow-left:before{content:"󰁍"}.mdi-arrow-left-bold:before{content:"󰜱"}.mdi-arrow-left-bold-box:before{content:"󰜲"}.mdi-arrow-left-bold-box-outline:before{content:"󰜳"}.mdi-arrow-left-bold-circle:before{content:"󰁏"}.mdi-arrow-left-bold-circle-outline:before{content:"󰁐"}.mdi-arrow-left-bold-hexagon-outline:before{content:"󰁑"}.mdi-arrow-left-bold-outline:before{content:"󰧀"}.mdi-arrow-left-bottom:before{content:"󱞥"}.mdi-arrow-left-bottom-bold:before{content:"󱞦"}.mdi-arrow-left-box:before{content:"󰛁"}.mdi-arrow-left-circle:before{content:"󰳝"}.mdi-arrow-left-circle-outline:before{content:"󰳞"}.mdi-arrow-left-drop-circle:before{content:"󰁒"}.mdi-arrow-left-drop-circle-outline:before{content:"󰁓"}.mdi-arrow-left-right:before{content:"󰹳"}.mdi-arrow-left-right-bold:before{content:"󰹴"}.mdi-arrow-left-right-bold-outline:before{content:"󰧁"}.mdi-arrow-left-thick:before{content:"󰁎"}.mdi-arrow-left-thin:before{content:"󱦱"}.mdi-arrow-left-thin-circle-outline:before{content:"󱖚"}.mdi-arrow-left-top:before{content:"󱞧"}.mdi-arrow-left-top-bold:before{content:"󱞨"}.mdi-arrow-projectile:before{content:"󱡀"}.mdi-arrow-projectile-multiple:before{content:"󱠿"}.mdi-arrow-right:before{content:"󰁔"}.mdi-arrow-right-bold:before{content:"󰜴"}.mdi-arrow-right-bold-box:before{content:"󰜵"}.mdi-arrow-right-bold-box-outline:before{content:"󰜶"}.mdi-arrow-right-bold-circle:before{content:"󰁖"}.mdi-arrow-right-bold-circle-outline:before{content:"󰁗"}.mdi-arrow-right-bold-hexagon-outline:before{content:"󰁘"}.mdi-arrow-right-bold-outline:before{content:"󰧂"}.mdi-arrow-right-bottom:before{content:"󱞩"}.mdi-arrow-right-bottom-bold:before{content:"󱞪"}.mdi-arrow-right-box:before{content:"󰛂"}.mdi-arrow-right-circle:before{content:"󰳟"}.mdi-arrow-right-circle-outline:before{content:"󰳠"}.mdi-arrow-right-drop-circle:before{content:"󰁙"}.mdi-arrow-right-drop-circle-outline:before{content:"󰁚"}.mdi-arrow-right-thick:before{content:"󰁕"}.mdi-arrow-right-thin:before{content:"󱦰"}.mdi-arrow-right-thin-circle-outline:before{content:"󱖘"}.mdi-arrow-right-top:before{content:"󱞫"}.mdi-arrow-right-top-bold:before{content:"󱞬"}.mdi-arrow-split-horizontal:before{content:"󰤻"}.mdi-arrow-split-vertical:before{content:"󰤼"}.mdi-arrow-top-left:before{content:"󰁛"}.mdi-arrow-top-left-bold-box:before{content:"󱥨"}.mdi-arrow-top-left-bold-box-outline:before{content:"󱥩"}.mdi-arrow-top-left-bold-outline:before{content:"󰧃"}.mdi-arrow-top-left-bottom-right:before{content:"󰹵"}.mdi-arrow-top-left-bottom-right-bold:before{content:"󰹶"}.mdi-arrow-top-left-thick:before{content:"󰧄"}.mdi-arrow-top-left-thin:before{content:"󱦵"}.mdi-arrow-top-left-thin-circle-outline:before{content:"󱖓"}.mdi-arrow-top-right:before{content:"󰁜"}.mdi-arrow-top-right-bold-box:before{content:"󱥪"}.mdi-arrow-top-right-bold-box-outline:before{content:"󱥫"}.mdi-arrow-top-right-bold-outline:before{content:"󰧅"}.mdi-arrow-top-right-bottom-left:before{content:"󰹷"}.mdi-arrow-top-right-bottom-left-bold:before{content:"󰹸"}.mdi-arrow-top-right-thick:before{content:"󰧆"}.mdi-arrow-top-right-thin:before{content:"󱦴"}.mdi-arrow-top-right-thin-circle-outline:before{content:"󱖔"}.mdi-arrow-u-down-left:before{content:"󱞭"}.mdi-arrow-u-down-left-bold:before{content:"󱞮"}.mdi-arrow-u-down-right:before{content:"󱞯"}.mdi-arrow-u-down-right-bold:before{content:"󱞰"}.mdi-arrow-u-left-bottom:before{content:"󱞱"}.mdi-arrow-u-left-bottom-bold:before{content:"󱞲"}.mdi-arrow-u-left-top:before{content:"󱞳"}.mdi-arrow-u-left-top-bold:before{content:"󱞴"}.mdi-arrow-u-right-bottom:before{content:"󱞵"}.mdi-arrow-u-right-bottom-bold:before{content:"󱞶"}.mdi-arrow-u-right-top:before{content:"󱞷"}.mdi-arrow-u-right-top-bold:before{content:"󱞸"}.mdi-arrow-u-up-left:before{content:"󱞹"}.mdi-arrow-u-up-left-bold:before{content:"󱞺"}.mdi-arrow-u-up-right:before{content:"󱞻"}.mdi-arrow-u-up-right-bold:before{content:"󱞼"}.mdi-arrow-up:before{content:"󰁝"}.mdi-arrow-up-bold:before{content:"󰜷"}.mdi-arrow-up-bold-box:before{content:"󰜸"}.mdi-arrow-up-bold-box-outline:before{content:"󰜹"}.mdi-arrow-up-bold-circle:before{content:"󰁟"}.mdi-arrow-up-bold-circle-outline:before{content:"󰁠"}.mdi-arrow-up-bold-hexagon-outline:before{content:"󰁡"}.mdi-arrow-up-bold-outline:before{content:"󰧇"}.mdi-arrow-up-box:before{content:"󰛃"}.mdi-arrow-up-circle:before{content:"󰳡"}.mdi-arrow-up-circle-outline:before{content:"󰳢"}.mdi-arrow-up-down:before{content:"󰹹"}.mdi-arrow-up-down-bold:before{content:"󰹺"}.mdi-arrow-up-down-bold-outline:before{content:"󰧈"}.mdi-arrow-up-drop-circle:before{content:"󰁢"}.mdi-arrow-up-drop-circle-outline:before{content:"󰁣"}.mdi-arrow-up-left:before{content:"󱞽"}.mdi-arrow-up-left-bold:before{content:"󱞾"}.mdi-arrow-up-right:before{content:"󱞿"}.mdi-arrow-up-right-bold:before{content:"󱟀"}.mdi-arrow-up-thick:before{content:"󰁞"}.mdi-arrow-up-thin:before{content:"󱦲"}.mdi-arrow-up-thin-circle-outline:before{content:"󱖗"}.mdi-arrow-vertical-lock:before{content:"󱅜"}.mdi-artboard:before{content:"󱮚"}.mdi-artstation:before{content:"󰭛"}.mdi-aspect-ratio:before{content:"󰨤"}.mdi-assistant:before{content:"󰁤"}.mdi-asterisk:before{content:"󰛄"}.mdi-asterisk-circle-outline:before{content:"󱨧"}.mdi-at:before{content:"󰁥"}.mdi-atlassian:before{content:"󰠄"}.mdi-atm:before{content:"󰵇"}.mdi-atom:before{content:"󰝨"}.mdi-atom-variant:before{content:"󰹻"}.mdi-attachment:before{content:"󰁦"}.mdi-attachment-check:before{content:"󱫁"}.mdi-attachment-lock:before{content:"󱧄"}.mdi-attachment-minus:before{content:"󱫂"}.mdi-attachment-off:before{content:"󱫃"}.mdi-attachment-plus:before{content:"󱫄"}.mdi-attachment-remove:before{content:"󱫅"}.mdi-atv:before{content:"󱭰"}.mdi-audio-input-rca:before{content:"󱡫"}.mdi-audio-input-stereo-minijack:before{content:"󱡬"}.mdi-audio-input-xlr:before{content:"󱡭"}.mdi-audio-video:before{content:"󰤽"}.mdi-audio-video-off:before{content:"󱆶"}.mdi-augmented-reality:before{content:"󰡐"}.mdi-aurora:before{content:"󱮹"}.mdi-auto-download:before{content:"󱍾"}.mdi-auto-fix:before{content:"󰁨"}.mdi-auto-mode:before{content:"󱰠"}.mdi-auto-upload:before{content:"󰁩"}.mdi-autorenew:before{content:"󰁪"}.mdi-autorenew-off:before{content:"󱧧"}.mdi-av-timer:before{content:"󰁫"}.mdi-awning:before{content:"󱮇"}.mdi-awning-outline:before{content:"󱮈"}.mdi-aws:before{content:"󰸏"}.mdi-axe:before{content:"󰣈"}.mdi-axe-battle:before{content:"󱡂"}.mdi-axis:before{content:"󰵈"}.mdi-axis-arrow:before{content:"󰵉"}.mdi-axis-arrow-info:before{content:"󱐎"}.mdi-axis-arrow-lock:before{content:"󰵊"}.mdi-axis-lock:before{content:"󰵋"}.mdi-axis-x-arrow:before{content:"󰵌"}.mdi-axis-x-arrow-lock:before{content:"󰵍"}.mdi-axis-x-rotate-clockwise:before{content:"󰵎"}.mdi-axis-x-rotate-counterclockwise:before{content:"󰵏"}.mdi-axis-x-y-arrow-lock:before{content:"󰵐"}.mdi-axis-y-arrow:before{content:"󰵑"}.mdi-axis-y-arrow-lock:before{content:"󰵒"}.mdi-axis-y-rotate-clockwise:before{content:"󰵓"}.mdi-axis-y-rotate-counterclockwise:before{content:"󰵔"}.mdi-axis-z-arrow:before{content:"󰵕"}.mdi-axis-z-arrow-lock:before{content:"󰵖"}.mdi-axis-z-rotate-clockwise:before{content:"󰵗"}.mdi-axis-z-rotate-counterclockwise:before{content:"󰵘"}.mdi-babel:before{content:"󰨥"}.mdi-baby:before{content:"󰁬"}.mdi-baby-bottle:before{content:"󰼹"}.mdi-baby-bottle-outline:before{content:"󰼺"}.mdi-baby-buggy:before{content:"󱏠"}.mdi-baby-buggy-off:before{content:"󱫳"}.mdi-baby-carriage:before{content:"󰚏"}.mdi-baby-carriage-off:before{content:"󰾠"}.mdi-baby-face:before{content:"󰹼"}.mdi-baby-face-outline:before{content:"󰹽"}.mdi-backburger:before{content:"󰁭"}.mdi-backspace:before{content:"󰁮"}.mdi-backspace-outline:before{content:"󰭜"}.mdi-backspace-reverse:before{content:"󰹾"}.mdi-backspace-reverse-outline:before{content:"󰹿"}.mdi-backup-restore:before{content:"󰁯"}.mdi-bacteria:before{content:"󰻕"}.mdi-bacteria-outline:before{content:"󰻖"}.mdi-badge-account:before{content:"󰶧"}.mdi-badge-account-alert:before{content:"󰶨"}.mdi-badge-account-alert-outline:before{content:"󰶩"}.mdi-badge-account-horizontal:before{content:"󰸍"}.mdi-badge-account-horizontal-outline:before{content:"󰸎"}.mdi-badge-account-outline:before{content:"󰶪"}.mdi-badminton:before{content:"󰡑"}.mdi-bag-carry-on:before{content:"󰼻"}.mdi-bag-carry-on-check:before{content:"󰵥"}.mdi-bag-carry-on-off:before{content:"󰼼"}.mdi-bag-checked:before{content:"󰼽"}.mdi-bag-personal:before{content:"󰸐"}.mdi-bag-personal-off:before{content:"󰸑"}.mdi-bag-personal-off-outline:before{content:"󰸒"}.mdi-bag-personal-outline:before{content:"󰸓"}.mdi-bag-personal-tag:before{content:"󱬌"}.mdi-bag-personal-tag-outline:before{content:"󱬍"}.mdi-bag-suitcase:before{content:"󱖋"}.mdi-bag-suitcase-off:before{content:"󱖍"}.mdi-bag-suitcase-off-outline:before{content:"󱖎"}.mdi-bag-suitcase-outline:before{content:"󱖌"}.mdi-baguette:before{content:"󰼾"}.mdi-balcony:before{content:"󱠗"}.mdi-balloon:before{content:"󰨦"}.mdi-ballot:before{content:"󰧉"}.mdi-ballot-outline:before{content:"󰧊"}.mdi-ballot-recount:before{content:"󰰹"}.mdi-ballot-recount-outline:before{content:"󰰺"}.mdi-bandage:before{content:"󰶯"}.mdi-bank:before{content:"󰁰"}.mdi-bank-check:before{content:"󱙕"}.mdi-bank-circle:before{content:"󱰃"}.mdi-bank-circle-outline:before{content:"󱰄"}.mdi-bank-minus:before{content:"󰶰"}.mdi-bank-off:before{content:"󱙖"}.mdi-bank-off-outline:before{content:"󱙗"}.mdi-bank-outline:before{content:"󰺀"}.mdi-bank-plus:before{content:"󰶱"}.mdi-bank-remove:before{content:"󰶲"}.mdi-bank-transfer:before{content:"󰨧"}.mdi-bank-transfer-in:before{content:"󰨨"}.mdi-bank-transfer-out:before{content:"󰨩"}.mdi-barcode:before{content:"󰁱"}.mdi-barcode-off:before{content:"󱈶"}.mdi-barcode-scan:before{content:"󰁲"}.mdi-barley:before{content:"󰁳"}.mdi-barley-off:before{content:"󰭝"}.mdi-barn:before{content:"󰭞"}.mdi-barrel:before{content:"󰁴"}.mdi-barrel-outline:before{content:"󱨨"}.mdi-baseball:before{content:"󰡒"}.mdi-baseball-bat:before{content:"󰡓"}.mdi-baseball-diamond:before{content:"󱗬"}.mdi-baseball-diamond-outline:before{content:"󱗭"}.mdi-baseball-outline:before{content:"󱱚"}.mdi-bash:before{content:"󱆃"}.mdi-basket:before{content:"󰁶"}.mdi-basket-check:before{content:"󱣥"}.mdi-basket-check-outline:before{content:"󱣦"}.mdi-basket-fill:before{content:"󰁷"}.mdi-basket-minus:before{content:"󱔣"}.mdi-basket-minus-outline:before{content:"󱔤"}.mdi-basket-off:before{content:"󱔥"}.mdi-basket-off-outline:before{content:"󱔦"}.mdi-basket-outline:before{content:"󱆁"}.mdi-basket-plus:before{content:"󱔧"}.mdi-basket-plus-outline:before{content:"󱔨"}.mdi-basket-remove:before{content:"󱔩"}.mdi-basket-remove-outline:before{content:"󱔪"}.mdi-basket-unfill:before{content:"󰁸"}.mdi-basketball:before{content:"󰠆"}.mdi-basketball-hoop:before{content:"󰰻"}.mdi-basketball-hoop-outline:before{content:"󰰼"}.mdi-bat:before{content:"󰭟"}.mdi-bathtub:before{content:"󱠘"}.mdi-bathtub-outline:before{content:"󱠙"}.mdi-battery:before{content:"󰁹"}.mdi-battery-10:before{content:"󰁺"}.mdi-battery-10-bluetooth:before{content:"󰤾"}.mdi-battery-20:before{content:"󰁻"}.mdi-battery-20-bluetooth:before{content:"󰤿"}.mdi-battery-30:before{content:"󰁼"}.mdi-battery-30-bluetooth:before{content:"󰥀"}.mdi-battery-40:before{content:"󰁽"}.mdi-battery-40-bluetooth:before{content:"󰥁"}.mdi-battery-50:before{content:"󰁾"}.mdi-battery-50-bluetooth:before{content:"󰥂"}.mdi-battery-60:before{content:"󰁿"}.mdi-battery-60-bluetooth:before{content:"󰥃"}.mdi-battery-70:before{content:"󰂀"}.mdi-battery-70-bluetooth:before{content:"󰥄"}.mdi-battery-80:before{content:"󰂁"}.mdi-battery-80-bluetooth:before{content:"󰥅"}.mdi-battery-90:before{content:"󰂂"}.mdi-battery-90-bluetooth:before{content:"󰥆"}.mdi-battery-alert:before{content:"󰂃"}.mdi-battery-alert-bluetooth:before{content:"󰥇"}.mdi-battery-alert-variant:before{content:"󱃌"}.mdi-battery-alert-variant-outline:before{content:"󱃍"}.mdi-battery-arrow-down:before{content:"󱟞"}.mdi-battery-arrow-down-outline:before{content:"󱟟"}.mdi-battery-arrow-up:before{content:"󱟠"}.mdi-battery-arrow-up-outline:before{content:"󱟡"}.mdi-battery-bluetooth:before{content:"󰥈"}.mdi-battery-bluetooth-variant:before{content:"󰥉"}.mdi-battery-charging:before{content:"󰂄"}.mdi-battery-charging-10:before{content:"󰢜"}.mdi-battery-charging-100:before{content:"󰂅"}.mdi-battery-charging-20:before{content:"󰂆"}.mdi-battery-charging-30:before{content:"󰂇"}.mdi-battery-charging-40:before{content:"󰂈"}.mdi-battery-charging-50:before{content:"󰢝"}.mdi-battery-charging-60:before{content:"󰂉"}.mdi-battery-charging-70:before{content:"󰢞"}.mdi-battery-charging-80:before{content:"󰂊"}.mdi-battery-charging-90:before{content:"󰂋"}.mdi-battery-charging-high:before{content:"󱊦"}.mdi-battery-charging-low:before{content:"󱊤"}.mdi-battery-charging-medium:before{content:"󱊥"}.mdi-battery-charging-outline:before{content:"󰢟"}.mdi-battery-charging-wireless:before{content:"󰠇"}.mdi-battery-charging-wireless-10:before{content:"󰠈"}.mdi-battery-charging-wireless-20:before{content:"󰠉"}.mdi-battery-charging-wireless-30:before{content:"󰠊"}.mdi-battery-charging-wireless-40:before{content:"󰠋"}.mdi-battery-charging-wireless-50:before{content:"󰠌"}.mdi-battery-charging-wireless-60:before{content:"󰠍"}.mdi-battery-charging-wireless-70:before{content:"󰠎"}.mdi-battery-charging-wireless-80:before{content:"󰠏"}.mdi-battery-charging-wireless-90:before{content:"󰠐"}.mdi-battery-charging-wireless-alert:before{content:"󰠑"}.mdi-battery-charging-wireless-outline:before{content:"󰠒"}.mdi-battery-check:before{content:"󱟢"}.mdi-battery-check-outline:before{content:"󱟣"}.mdi-battery-clock:before{content:"󱧥"}.mdi-battery-clock-outline:before{content:"󱧦"}.mdi-battery-heart:before{content:"󱈏"}.mdi-battery-heart-outline:before{content:"󱈐"}.mdi-battery-heart-variant:before{content:"󱈑"}.mdi-battery-high:before{content:"󱊣"}.mdi-battery-lock:before{content:"󱞜"}.mdi-battery-lock-open:before{content:"󱞝"}.mdi-battery-low:before{content:"󱊡"}.mdi-battery-medium:before{content:"󱊢"}.mdi-battery-minus:before{content:"󱟤"}.mdi-battery-minus-outline:before{content:"󱟥"}.mdi-battery-minus-variant:before{content:"󰂌"}.mdi-battery-negative:before{content:"󰂍"}.mdi-battery-off:before{content:"󱉝"}.mdi-battery-off-outline:before{content:"󱉞"}.mdi-battery-outline:before{content:"󰂎"}.mdi-battery-plus:before{content:"󱟦"}.mdi-battery-plus-outline:before{content:"󱟧"}.mdi-battery-plus-variant:before{content:"󰂏"}.mdi-battery-positive:before{content:"󰂐"}.mdi-battery-remove:before{content:"󱟨"}.mdi-battery-remove-outline:before{content:"󱟩"}.mdi-battery-sync:before{content:"󱠴"}.mdi-battery-sync-outline:before{content:"󱠵"}.mdi-battery-unknown:before{content:"󰂑"}.mdi-battery-unknown-bluetooth:before{content:"󰥊"}.mdi-beach:before{content:"󰂒"}.mdi-beaker:before{content:"󰳪"}.mdi-beaker-alert:before{content:"󱈩"}.mdi-beaker-alert-outline:before{content:"󱈪"}.mdi-beaker-check:before{content:"󱈫"}.mdi-beaker-check-outline:before{content:"󱈬"}.mdi-beaker-minus:before{content:"󱈭"}.mdi-beaker-minus-outline:before{content:"󱈮"}.mdi-beaker-outline:before{content:"󰚐"}.mdi-beaker-plus:before{content:"󱈯"}.mdi-beaker-plus-outline:before{content:"󱈰"}.mdi-beaker-question:before{content:"󱈱"}.mdi-beaker-question-outline:before{content:"󱈲"}.mdi-beaker-remove:before{content:"󱈳"}.mdi-beaker-remove-outline:before{content:"󱈴"}.mdi-bed:before{content:"󰋣"}.mdi-bed-clock:before{content:"󱮔"}.mdi-bed-double:before{content:"󰿔"}.mdi-bed-double-outline:before{content:"󰿓"}.mdi-bed-empty:before{content:"󰢠"}.mdi-bed-king:before{content:"󰿒"}.mdi-bed-king-outline:before{content:"󰿑"}.mdi-bed-outline:before{content:"󰂙"}.mdi-bed-queen:before{content:"󰿐"}.mdi-bed-queen-outline:before{content:"󰿛"}.mdi-bed-single:before{content:"󱁭"}.mdi-bed-single-outline:before{content:"󱁮"}.mdi-bee:before{content:"󰾡"}.mdi-bee-flower:before{content:"󰾢"}.mdi-beehive-off-outline:before{content:"󱏭"}.mdi-beehive-outline:before{content:"󱃎"}.mdi-beekeeper:before{content:"󱓢"}.mdi-beer:before{content:"󰂘"}.mdi-beer-outline:before{content:"󱌌"}.mdi-bell:before{content:"󰂚"}.mdi-bell-alert:before{content:"󰵙"}.mdi-bell-alert-outline:before{content:"󰺁"}.mdi-bell-badge:before{content:"󱅫"}.mdi-bell-badge-outline:before{content:"󰅸"}.mdi-bell-cancel:before{content:"󱏧"}.mdi-bell-cancel-outline:before{content:"󱏨"}.mdi-bell-check:before{content:"󱇥"}.mdi-bell-check-outline:before{content:"󱇦"}.mdi-bell-circle:before{content:"󰵚"}.mdi-bell-circle-outline:before{content:"󰵛"}.mdi-bell-cog:before{content:"󱨩"}.mdi-bell-cog-outline:before{content:"󱨪"}.mdi-bell-minus:before{content:"󱏩"}.mdi-bell-minus-outline:before{content:"󱏪"}.mdi-bell-off:before{content:"󰂛"}.mdi-bell-off-outline:before{content:"󰪑"}.mdi-bell-outline:before{content:"󰂜"}.mdi-bell-plus:before{content:"󰂝"}.mdi-bell-plus-outline:before{content:"󰪒"}.mdi-bell-remove:before{content:"󱏫"}.mdi-bell-remove-outline:before{content:"󱏬"}.mdi-bell-ring:before{content:"󰂞"}.mdi-bell-ring-outline:before{content:"󰂟"}.mdi-bell-sleep:before{content:"󰂠"}.mdi-bell-sleep-outline:before{content:"󰪓"}.mdi-bench:before{content:"󱰡"}.mdi-bench-back:before{content:"󱰢"}.mdi-beta:before{content:"󰂡"}.mdi-betamax:before{content:"󰧋"}.mdi-biathlon:before{content:"󰸔"}.mdi-bicycle:before{content:"󱂜"}.mdi-bicycle-basket:before{content:"󱈵"}.mdi-bicycle-cargo:before{content:"󱢜"}.mdi-bicycle-electric:before{content:"󱖴"}.mdi-bicycle-penny-farthing:before{content:"󱗩"}.mdi-bike:before{content:"󰂣"}.mdi-bike-fast:before{content:"󱄟"}.mdi-bike-pedal:before{content:"󱰣"}.mdi-bike-pedal-clipless:before{content:"󱰤"}.mdi-bike-pedal-mountain:before{content:"󱰥"}.mdi-billboard:before{content:"󱀐"}.mdi-billiards:before{content:"󰭡"}.mdi-billiards-rack:before{content:"󰭢"}.mdi-binoculars:before{content:"󰂥"}.mdi-bio:before{content:"󰂦"}.mdi-biohazard:before{content:"󰂧"}.mdi-bird:before{content:"󱗆"}.mdi-bitbucket:before{content:"󰂨"}.mdi-bitcoin:before{content:"󰠓"}.mdi-black-mesa:before{content:"󰂩"}.mdi-blender:before{content:"󰳫"}.mdi-blender-outline:before{content:"󱠚"}.mdi-blender-software:before{content:"󰂫"}.mdi-blinds:before{content:"󰂬"}.mdi-blinds-horizontal:before{content:"󱨫"}.mdi-blinds-horizontal-closed:before{content:"󱨬"}.mdi-blinds-open:before{content:"󱀑"}.mdi-blinds-vertical:before{content:"󱨭"}.mdi-blinds-vertical-closed:before{content:"󱨮"}.mdi-block-helper:before{content:"󰂭"}.mdi-blood-bag:before{content:"󰳬"}.mdi-bluetooth:before{content:"󰂯"}.mdi-bluetooth-audio:before{content:"󰂰"}.mdi-bluetooth-connect:before{content:"󰂱"}.mdi-bluetooth-off:before{content:"󰂲"}.mdi-bluetooth-settings:before{content:"󰂳"}.mdi-bluetooth-transfer:before{content:"󰂴"}.mdi-blur:before{content:"󰂵"}.mdi-blur-linear:before{content:"󰂶"}.mdi-blur-off:before{content:"󰂷"}.mdi-blur-radial:before{content:"󰂸"}.mdi-bolt:before{content:"󰶳"}.mdi-bomb:before{content:"󰚑"}.mdi-bomb-off:before{content:"󰛅"}.mdi-bone:before{content:"󰂹"}.mdi-bone-off:before{content:"󱧠"}.mdi-book:before{content:"󰂺"}.mdi-book-account:before{content:"󱎭"}.mdi-book-account-outline:before{content:"󱎮"}.mdi-book-alert:before{content:"󱙼"}.mdi-book-alert-outline:before{content:"󱙽"}.mdi-book-alphabet:before{content:"󰘝"}.mdi-book-arrow-down:before{content:"󱙾"}.mdi-book-arrow-down-outline:before{content:"󱙿"}.mdi-book-arrow-left:before{content:"󱚀"}.mdi-book-arrow-left-outline:before{content:"󱚁"}.mdi-book-arrow-right:before{content:"󱚂"}.mdi-book-arrow-right-outline:before{content:"󱚃"}.mdi-book-arrow-up:before{content:"󱚄"}.mdi-book-arrow-up-outline:before{content:"󱚅"}.mdi-book-cancel:before{content:"󱚆"}.mdi-book-cancel-outline:before{content:"󱚇"}.mdi-book-check:before{content:"󱓳"}.mdi-book-check-outline:before{content:"󱓴"}.mdi-book-clock:before{content:"󱚈"}.mdi-book-clock-outline:before{content:"󱚉"}.mdi-book-cog:before{content:"󱚊"}.mdi-book-cog-outline:before{content:"󱚋"}.mdi-book-cross:before{content:"󰂢"}.mdi-book-edit:before{content:"󱚌"}.mdi-book-edit-outline:before{content:"󱚍"}.mdi-book-education:before{content:"󱛉"}.mdi-book-education-outline:before{content:"󱛊"}.mdi-book-heart:before{content:"󱨝"}.mdi-book-heart-outline:before{content:"󱨞"}.mdi-book-information-variant:before{content:"󱁯"}.mdi-book-lock:before{content:"󰞚"}.mdi-book-lock-open:before{content:"󰞛"}.mdi-book-lock-open-outline:before{content:"󱚎"}.mdi-book-lock-outline:before{content:"󱚏"}.mdi-book-marker:before{content:"󱚐"}.mdi-book-marker-outline:before{content:"󱚑"}.mdi-book-minus:before{content:"󰗙"}.mdi-book-minus-multiple:before{content:"󰪔"}.mdi-book-minus-multiple-outline:before{content:"󰤋"}.mdi-book-minus-outline:before{content:"󱚒"}.mdi-book-multiple:before{content:"󰂻"}.mdi-book-multiple-outline:before{content:"󰐶"}.mdi-book-music:before{content:"󰁧"}.mdi-book-music-outline:before{content:"󱚓"}.mdi-book-off:before{content:"󱚔"}.mdi-book-off-outline:before{content:"󱚕"}.mdi-book-open:before{content:"󰂽"}.mdi-book-open-blank-variant:before{content:"󰂾"}.mdi-book-open-outline:before{content:"󰭣"}.mdi-book-open-page-variant:before{content:"󰗚"}.mdi-book-open-page-variant-outline:before{content:"󱗖"}.mdi-book-open-variant:before{content:"󱓷"}.mdi-book-outline:before{content:"󰭤"}.mdi-book-play:before{content:"󰺂"}.mdi-book-play-outline:before{content:"󰺃"}.mdi-book-plus:before{content:"󰗛"}.mdi-book-plus-multiple:before{content:"󰪕"}.mdi-book-plus-multiple-outline:before{content:"󰫞"}.mdi-book-plus-outline:before{content:"󱚖"}.mdi-book-refresh:before{content:"󱚗"}.mdi-book-refresh-outline:before{content:"󱚘"}.mdi-book-remove:before{content:"󰪗"}.mdi-book-remove-multiple:before{content:"󰪖"}.mdi-book-remove-multiple-outline:before{content:"󰓊"}.mdi-book-remove-outline:before{content:"󱚙"}.mdi-book-search:before{content:"󰺄"}.mdi-book-search-outline:before{content:"󰺅"}.mdi-book-settings:before{content:"󱚚"}.mdi-book-settings-outline:before{content:"󱚛"}.mdi-book-sync:before{content:"󱚜"}.mdi-book-sync-outline:before{content:"󱛈"}.mdi-book-variant:before{content:"󰂿"}.mdi-bookmark:before{content:"󰃀"}.mdi-bookmark-box:before{content:"󱭵"}.mdi-bookmark-box-multiple:before{content:"󱥬"}.mdi-bookmark-box-multiple-outline:before{content:"󱥭"}.mdi-bookmark-box-outline:before{content:"󱭶"}.mdi-bookmark-check:before{content:"󰃁"}.mdi-bookmark-check-outline:before{content:"󱍻"}.mdi-bookmark-minus:before{content:"󰧌"}.mdi-bookmark-minus-outline:before{content:"󰧍"}.mdi-bookmark-multiple:before{content:"󰸕"}.mdi-bookmark-multiple-outline:before{content:"󰸖"}.mdi-bookmark-music:before{content:"󰃂"}.mdi-bookmark-music-outline:before{content:"󱍹"}.mdi-bookmark-off:before{content:"󰧎"}.mdi-bookmark-off-outline:before{content:"󰧏"}.mdi-bookmark-outline:before{content:"󰃃"}.mdi-bookmark-plus:before{content:"󰃅"}.mdi-bookmark-plus-outline:before{content:"󰃄"}.mdi-bookmark-remove:before{content:"󰃆"}.mdi-bookmark-remove-outline:before{content:"󱍺"}.mdi-bookshelf:before{content:"󱉟"}.mdi-boom-gate:before{content:"󰺆"}.mdi-boom-gate-alert:before{content:"󰺇"}.mdi-boom-gate-alert-outline:before{content:"󰺈"}.mdi-boom-gate-arrow-down:before{content:"󰺉"}.mdi-boom-gate-arrow-down-outline:before{content:"󰺊"}.mdi-boom-gate-arrow-up:before{content:"󰺌"}.mdi-boom-gate-arrow-up-outline:before{content:"󰺍"}.mdi-boom-gate-outline:before{content:"󰺋"}.mdi-boom-gate-up:before{content:"󱟹"}.mdi-boom-gate-up-outline:before{content:"󱟺"}.mdi-boombox:before{content:"󰗜"}.mdi-boomerang:before{content:"󱃏"}.mdi-bootstrap:before{content:"󰛆"}.mdi-border-all:before{content:"󰃇"}.mdi-border-all-variant:before{content:"󰢡"}.mdi-border-bottom:before{content:"󰃈"}.mdi-border-bottom-variant:before{content:"󰢢"}.mdi-border-color:before{content:"󰃉"}.mdi-border-horizontal:before{content:"󰃊"}.mdi-border-inside:before{content:"󰃋"}.mdi-border-left:before{content:"󰃌"}.mdi-border-left-variant:before{content:"󰢣"}.mdi-border-none:before{content:"󰃍"}.mdi-border-none-variant:before{content:"󰢤"}.mdi-border-outside:before{content:"󰃎"}.mdi-border-radius:before{content:"󱫴"}.mdi-border-right:before{content:"󰃏"}.mdi-border-right-variant:before{content:"󰢥"}.mdi-border-style:before{content:"󰃐"}.mdi-border-top:before{content:"󰃑"}.mdi-border-top-variant:before{content:"󰢦"}.mdi-border-vertical:before{content:"󰃒"}.mdi-bottle-soda:before{content:"󱁰"}.mdi-bottle-soda-classic:before{content:"󱁱"}.mdi-bottle-soda-classic-outline:before{content:"󱍣"}.mdi-bottle-soda-outline:before{content:"󱁲"}.mdi-bottle-tonic:before{content:"󱄮"}.mdi-bottle-tonic-outline:before{content:"󱄯"}.mdi-bottle-tonic-plus:before{content:"󱄰"}.mdi-bottle-tonic-plus-outline:before{content:"󱄱"}.mdi-bottle-tonic-skull:before{content:"󱄲"}.mdi-bottle-tonic-skull-outline:before{content:"󱄳"}.mdi-bottle-wine:before{content:"󰡔"}.mdi-bottle-wine-outline:before{content:"󱌐"}.mdi-bow-arrow:before{content:"󱡁"}.mdi-bow-tie:before{content:"󰙸"}.mdi-bowl:before{content:"󰊎"}.mdi-bowl-mix:before{content:"󰘗"}.mdi-bowl-mix-outline:before{content:"󰋤"}.mdi-bowl-outline:before{content:"󰊩"}.mdi-bowling:before{content:"󰃓"}.mdi-box:before{content:"󰃔"}.mdi-box-cutter:before{content:"󰃕"}.mdi-box-cutter-off:before{content:"󰭊"}.mdi-box-shadow:before{content:"󰘷"}.mdi-boxing-glove:before{content:"󰭥"}.mdi-braille:before{content:"󰧐"}.mdi-brain:before{content:"󰧑"}.mdi-bread-slice:before{content:"󰳮"}.mdi-bread-slice-outline:before{content:"󰳯"}.mdi-bridge:before{content:"󰘘"}.mdi-briefcase:before{content:"󰃖"}.mdi-briefcase-account:before{content:"󰳰"}.mdi-briefcase-account-outline:before{content:"󰳱"}.mdi-briefcase-arrow-left-right:before{content:"󱪍"}.mdi-briefcase-arrow-left-right-outline:before{content:"󱪎"}.mdi-briefcase-arrow-up-down:before{content:"󱪏"}.mdi-briefcase-arrow-up-down-outline:before{content:"󱪐"}.mdi-briefcase-check:before{content:"󰃗"}.mdi-briefcase-check-outline:before{content:"󱌞"}.mdi-briefcase-clock:before{content:"󱃐"}.mdi-briefcase-clock-outline:before{content:"󱃑"}.mdi-briefcase-download:before{content:"󰃘"}.mdi-briefcase-download-outline:before{content:"󰰽"}.mdi-briefcase-edit:before{content:"󰪘"}.mdi-briefcase-edit-outline:before{content:"󰰾"}.mdi-briefcase-eye:before{content:"󱟙"}.mdi-briefcase-eye-outline:before{content:"󱟚"}.mdi-briefcase-minus:before{content:"󰨪"}.mdi-briefcase-minus-outline:before{content:"󰰿"}.mdi-briefcase-off:before{content:"󱙘"}.mdi-briefcase-off-outline:before{content:"󱙙"}.mdi-briefcase-outline:before{content:"󰠔"}.mdi-briefcase-plus:before{content:"󰨫"}.mdi-briefcase-plus-outline:before{content:"󰱀"}.mdi-briefcase-remove:before{content:"󰨬"}.mdi-briefcase-remove-outline:before{content:"󰱁"}.mdi-briefcase-search:before{content:"󰨭"}.mdi-briefcase-search-outline:before{content:"󰱂"}.mdi-briefcase-upload:before{content:"󰃙"}.mdi-briefcase-upload-outline:before{content:"󰱃"}.mdi-briefcase-variant:before{content:"󱒔"}.mdi-briefcase-variant-off:before{content:"󱙚"}.mdi-briefcase-variant-off-outline:before{content:"󱙛"}.mdi-briefcase-variant-outline:before{content:"󱒕"}.mdi-brightness-1:before{content:"󰃚"}.mdi-brightness-2:before{content:"󰃛"}.mdi-brightness-3:before{content:"󰃜"}.mdi-brightness-4:before{content:"󰃝"}.mdi-brightness-5:before{content:"󰃞"}.mdi-brightness-6:before{content:"󰃟"}.mdi-brightness-7:before{content:"󰃠"}.mdi-brightness-auto:before{content:"󰃡"}.mdi-brightness-percent:before{content:"󰳲"}.mdi-broadcast:before{content:"󱜠"}.mdi-broadcast-off:before{content:"󱜡"}.mdi-broom:before{content:"󰃢"}.mdi-brush:before{content:"󰃣"}.mdi-brush-off:before{content:"󱝱"}.mdi-brush-outline:before{content:"󱨍"}.mdi-brush-variant:before{content:"󱠓"}.mdi-bucket:before{content:"󱐕"}.mdi-bucket-outline:before{content:"󱐖"}.mdi-buffet:before{content:"󰕸"}.mdi-bug:before{content:"󰃤"}.mdi-bug-check:before{content:"󰨮"}.mdi-bug-check-outline:before{content:"󰨯"}.mdi-bug-outline:before{content:"󰨰"}.mdi-bug-pause:before{content:"󱫵"}.mdi-bug-pause-outline:before{content:"󱫶"}.mdi-bug-play:before{content:"󱫷"}.mdi-bug-play-outline:before{content:"󱫸"}.mdi-bug-stop:before{content:"󱫹"}.mdi-bug-stop-outline:before{content:"󱫺"}.mdi-bugle:before{content:"󰶴"}.mdi-bulkhead-light:before{content:"󱨯"}.mdi-bulldozer:before{content:"󰬢"}.mdi-bullet:before{content:"󰳳"}.mdi-bulletin-board:before{content:"󰃥"}.mdi-bullhorn:before{content:"󰃦"}.mdi-bullhorn-outline:before{content:"󰬣"}.mdi-bullhorn-variant:before{content:"󱥮"}.mdi-bullhorn-variant-outline:before{content:"󱥯"}.mdi-bullseye:before{content:"󰗝"}.mdi-bullseye-arrow:before{content:"󰣉"}.mdi-bulma:before{content:"󱋧"}.mdi-bunk-bed:before{content:"󱌂"}.mdi-bunk-bed-outline:before{content:"󰂗"}.mdi-bus:before{content:"󰃧"}.mdi-bus-alert:before{content:"󰪙"}.mdi-bus-articulated-end:before{content:"󰞜"}.mdi-bus-articulated-front:before{content:"󰞝"}.mdi-bus-clock:before{content:"󰣊"}.mdi-bus-double-decker:before{content:"󰞞"}.mdi-bus-electric:before{content:"󱤝"}.mdi-bus-marker:before{content:"󱈒"}.mdi-bus-multiple:before{content:"󰼿"}.mdi-bus-school:before{content:"󰞟"}.mdi-bus-side:before{content:"󰞠"}.mdi-bus-stop:before{content:"󱀒"}.mdi-bus-stop-covered:before{content:"󱀓"}.mdi-bus-stop-uncovered:before{content:"󱀔"}.mdi-butterfly:before{content:"󱖉"}.mdi-butterfly-outline:before{content:"󱖊"}.mdi-button-cursor:before{content:"󱭏"}.mdi-button-pointer:before{content:"󱭐"}.mdi-cabin-a-frame:before{content:"󱢌"}.mdi-cable-data:before{content:"󱎔"}.mdi-cached:before{content:"󰃨"}.mdi-cactus:before{content:"󰶵"}.mdi-cake:before{content:"󰃩"}.mdi-cake-layered:before{content:"󰃪"}.mdi-cake-variant:before{content:"󰃫"}.mdi-cake-variant-outline:before{content:"󱟰"}.mdi-calculator:before{content:"󰃬"}.mdi-calculator-variant:before{content:"󰪚"}.mdi-calculator-variant-outline:before{content:"󱖦"}.mdi-calendar:before{content:"󰃭"}.mdi-calendar-account:before{content:"󰻗"}.mdi-calendar-account-outline:before{content:"󰻘"}.mdi-calendar-alert:before{content:"󰨱"}.mdi-calendar-alert-outline:before{content:"󱭢"}.mdi-calendar-arrow-left:before{content:"󱄴"}.mdi-calendar-arrow-right:before{content:"󱄵"}.mdi-calendar-badge:before{content:"󱮝"}.mdi-calendar-badge-outline:before{content:"󱮞"}.mdi-calendar-blank:before{content:"󰃮"}.mdi-calendar-blank-multiple:before{content:"󱁳"}.mdi-calendar-blank-outline:before{content:"󰭦"}.mdi-calendar-check:before{content:"󰃯"}.mdi-calendar-check-outline:before{content:"󰱄"}.mdi-calendar-clock:before{content:"󰃰"}.mdi-calendar-clock-outline:before{content:"󱛡"}.mdi-calendar-collapse-horizontal:before{content:"󱢝"}.mdi-calendar-collapse-horizontal-outline:before{content:"󱭣"}.mdi-calendar-cursor:before{content:"󱕻"}.mdi-calendar-cursor-outline:before{content:"󱭤"}.mdi-calendar-edit:before{content:"󰢧"}.mdi-calendar-edit-outline:before{content:"󱭥"}.mdi-calendar-end:before{content:"󱙬"}.mdi-calendar-end-outline:before{content:"󱭦"}.mdi-calendar-expand-horizontal:before{content:"󱢞"}.mdi-calendar-expand-horizontal-outline:before{content:"󱭧"}.mdi-calendar-export:before{content:"󰬤"}.mdi-calendar-export-outline:before{content:"󱭨"}.mdi-calendar-filter:before{content:"󱨲"}.mdi-calendar-filter-outline:before{content:"󱨳"}.mdi-calendar-heart:before{content:"󰧒"}.mdi-calendar-heart-outline:before{content:"󱭩"}.mdi-calendar-import:before{content:"󰬥"}.mdi-calendar-import-outline:before{content:"󱭪"}.mdi-calendar-lock:before{content:"󱙁"}.mdi-calendar-lock-open:before{content:"󱭛"}.mdi-calendar-lock-open-outline:before{content:"󱭜"}.mdi-calendar-lock-outline:before{content:"󱙂"}.mdi-calendar-minus:before{content:"󰵜"}.mdi-calendar-minus-outline:before{content:"󱭫"}.mdi-calendar-month:before{content:"󰸗"}.mdi-calendar-month-outline:before{content:"󰸘"}.mdi-calendar-multiple:before{content:"󰃱"}.mdi-calendar-multiple-check:before{content:"󰃲"}.mdi-calendar-multiselect:before{content:"󰨲"}.mdi-calendar-multiselect-outline:before{content:"󱭕"}.mdi-calendar-outline:before{content:"󰭧"}.mdi-calendar-plus:before{content:"󰃳"}.mdi-calendar-plus-outline:before{content:"󱭬"}.mdi-calendar-question:before{content:"󰚒"}.mdi-calendar-question-outline:before{content:"󱭭"}.mdi-calendar-range:before{content:"󰙹"}.mdi-calendar-range-outline:before{content:"󰭨"}.mdi-calendar-refresh:before{content:"󰇡"}.mdi-calendar-refresh-outline:before{content:"󰈃"}.mdi-calendar-remove:before{content:"󰃴"}.mdi-calendar-remove-outline:before{content:"󰱅"}.mdi-calendar-search:before{content:"󰥌"}.mdi-calendar-search-outline:before{content:"󱭮"}.mdi-calendar-star:before{content:"󰧓"}.mdi-calendar-star-four-points:before{content:"󱰟"}.mdi-calendar-star-outline:before{content:"󱭓"}.mdi-calendar-start:before{content:"󱙭"}.mdi-calendar-start-outline:before{content:"󱭯"}.mdi-calendar-sync:before{content:"󰺎"}.mdi-calendar-sync-outline:before{content:"󰺏"}.mdi-calendar-text:before{content:"󰃵"}.mdi-calendar-text-outline:before{content:"󰱆"}.mdi-calendar-today:before{content:"󰃶"}.mdi-calendar-today-outline:before{content:"󱨰"}.mdi-calendar-week:before{content:"󰨳"}.mdi-calendar-week-begin:before{content:"󰨴"}.mdi-calendar-week-begin-outline:before{content:"󱨱"}.mdi-calendar-week-outline:before{content:"󱨴"}.mdi-calendar-weekend:before{content:"󰻙"}.mdi-calendar-weekend-outline:before{content:"󰻚"}.mdi-call-made:before{content:"󰃷"}.mdi-call-merge:before{content:"󰃸"}.mdi-call-missed:before{content:"󰃹"}.mdi-call-received:before{content:"󰃺"}.mdi-call-split:before{content:"󰃻"}.mdi-camcorder:before{content:"󰃼"}.mdi-camcorder-off:before{content:"󰃿"}.mdi-camera:before{content:"󰄀"}.mdi-camera-account:before{content:"󰣋"}.mdi-camera-burst:before{content:"󰚓"}.mdi-camera-control:before{content:"󰭩"}.mdi-camera-document:before{content:"󱡱"}.mdi-camera-document-off:before{content:"󱡲"}.mdi-camera-enhance:before{content:"󰄁"}.mdi-camera-enhance-outline:before{content:"󰭪"}.mdi-camera-flip:before{content:"󱗙"}.mdi-camera-flip-outline:before{content:"󱗚"}.mdi-camera-front:before{content:"󰄂"}.mdi-camera-front-variant:before{content:"󰄃"}.mdi-camera-gopro:before{content:"󰞡"}.mdi-camera-image:before{content:"󰣌"}.mdi-camera-iris:before{content:"󰄄"}.mdi-camera-lock:before{content:"󱨔"}.mdi-camera-lock-open:before{content:"󱰍"}.mdi-camera-lock-open-outline:before{content:"󱰎"}.mdi-camera-lock-outline:before{content:"󱨕"}.mdi-camera-marker:before{content:"󱦧"}.mdi-camera-marker-outline:before{content:"󱦨"}.mdi-camera-metering-center:before{content:"󰞢"}.mdi-camera-metering-matrix:before{content:"󰞣"}.mdi-camera-metering-partial:before{content:"󰞤"}.mdi-camera-metering-spot:before{content:"󰞥"}.mdi-camera-off:before{content:"󰗟"}.mdi-camera-off-outline:before{content:"󱦿"}.mdi-camera-outline:before{content:"󰵝"}.mdi-camera-party-mode:before{content:"󰄅"}.mdi-camera-plus:before{content:"󰻛"}.mdi-camera-plus-outline:before{content:"󰻜"}.mdi-camera-rear:before{content:"󰄆"}.mdi-camera-rear-variant:before{content:"󰄇"}.mdi-camera-retake:before{content:"󰸙"}.mdi-camera-retake-outline:before{content:"󰸚"}.mdi-camera-switch:before{content:"󰄈"}.mdi-camera-switch-outline:before{content:"󰡊"}.mdi-camera-timer:before{content:"󰄉"}.mdi-camera-wireless:before{content:"󰶶"}.mdi-camera-wireless-outline:before{content:"󰶷"}.mdi-campfire:before{content:"󰻝"}.mdi-cancel:before{content:"󰜺"}.mdi-candelabra:before{content:"󱟒"}.mdi-candelabra-fire:before{content:"󱟓"}.mdi-candle:before{content:"󰗢"}.mdi-candy:before{content:"󱥰"}.mdi-candy-off:before{content:"󱥱"}.mdi-candy-off-outline:before{content:"󱥲"}.mdi-candy-outline:before{content:"󱥳"}.mdi-candycane:before{content:"󰄊"}.mdi-cannabis:before{content:"󰞦"}.mdi-cannabis-off:before{content:"󱙮"}.mdi-caps-lock:before{content:"󰪛"}.mdi-car:before{content:"󰄋"}.mdi-car-2-plus:before{content:"󱀕"}.mdi-car-3-plus:before{content:"󱀖"}.mdi-car-arrow-left:before{content:"󱎲"}.mdi-car-arrow-right:before{content:"󱎳"}.mdi-car-back:before{content:"󰸛"}.mdi-car-battery:before{content:"󰄌"}.mdi-car-brake-abs:before{content:"󰱇"}.mdi-car-brake-alert:before{content:"󰱈"}.mdi-car-brake-fluid-level:before{content:"󱤉"}.mdi-car-brake-hold:before{content:"󰵞"}.mdi-car-brake-low-pressure:before{content:"󱤊"}.mdi-car-brake-parking:before{content:"󰵟"}.mdi-car-brake-retarder:before{content:"󱀗"}.mdi-car-brake-temperature:before{content:"󱤋"}.mdi-car-brake-worn-linings:before{content:"󱤌"}.mdi-car-child-seat:before{content:"󰾣"}.mdi-car-clock:before{content:"󱥴"}.mdi-car-clutch:before{content:"󱀘"}.mdi-car-cog:before{content:"󱏌"}.mdi-car-connected:before{content:"󰄍"}.mdi-car-convertible:before{content:"󰞧"}.mdi-car-coolant-level:before{content:"󱀙"}.mdi-car-cruise-control:before{content:"󰵠"}.mdi-car-defrost-front:before{content:"󰵡"}.mdi-car-defrost-rear:before{content:"󰵢"}.mdi-car-door:before{content:"󰭫"}.mdi-car-door-lock:before{content:"󱂝"}.mdi-car-electric:before{content:"󰭬"}.mdi-car-electric-outline:before{content:"󱖵"}.mdi-car-emergency:before{content:"󱘏"}.mdi-car-esp:before{content:"󰱉"}.mdi-car-estate:before{content:"󰞨"}.mdi-car-hatchback:before{content:"󰞩"}.mdi-car-info:before{content:"󱆾"}.mdi-car-key:before{content:"󰭭"}.mdi-car-lifted-pickup:before{content:"󱔭"}.mdi-car-light-alert:before{content:"󱤍"}.mdi-car-light-dimmed:before{content:"󰱊"}.mdi-car-light-fog:before{content:"󰱋"}.mdi-car-light-high:before{content:"󰱌"}.mdi-car-limousine:before{content:"󰣍"}.mdi-car-multiple:before{content:"󰭮"}.mdi-car-off:before{content:"󰸜"}.mdi-car-outline:before{content:"󱓭"}.mdi-car-parking-lights:before{content:"󰵣"}.mdi-car-pickup:before{content:"󰞪"}.mdi-car-search:before{content:"󱮍"}.mdi-car-search-outline:before{content:"󱮎"}.mdi-car-seat:before{content:"󰾤"}.mdi-car-seat-cooler:before{content:"󰾥"}.mdi-car-seat-heater:before{content:"󰾦"}.mdi-car-select:before{content:"󱡹"}.mdi-car-settings:before{content:"󱏍"}.mdi-car-shift-pattern:before{content:"󰽀"}.mdi-car-side:before{content:"󰞫"}.mdi-car-speed-limiter:before{content:"󱤎"}.mdi-car-sports:before{content:"󰞬"}.mdi-car-tire-alert:before{content:"󰱍"}.mdi-car-traction-control:before{content:"󰵤"}.mdi-car-turbocharger:before{content:"󱀚"}.mdi-car-wash:before{content:"󰄎"}.mdi-car-windshield:before{content:"󱀛"}.mdi-car-windshield-outline:before{content:"󱀜"}.mdi-car-wireless:before{content:"󱡸"}.mdi-car-wrench:before{content:"󱠔"}.mdi-carabiner:before{content:"󱓀"}.mdi-caravan:before{content:"󰞭"}.mdi-card:before{content:"󰭯"}.mdi-card-account-details:before{content:"󰗒"}.mdi-card-account-details-outline:before{content:"󰶫"}.mdi-card-account-details-star:before{content:"󰊣"}.mdi-card-account-details-star-outline:before{content:"󰛛"}.mdi-card-account-mail:before{content:"󰆎"}.mdi-card-account-mail-outline:before{content:"󰺘"}.mdi-card-account-phone:before{content:"󰺙"}.mdi-card-account-phone-outline:before{content:"󰺚"}.mdi-card-bulleted:before{content:"󰭰"}.mdi-card-bulleted-off:before{content:"󰭱"}.mdi-card-bulleted-off-outline:before{content:"󰭲"}.mdi-card-bulleted-outline:before{content:"󰭳"}.mdi-card-bulleted-settings:before{content:"󰭴"}.mdi-card-bulleted-settings-outline:before{content:"󰭵"}.mdi-card-minus:before{content:"󱘀"}.mdi-card-minus-outline:before{content:"󱘁"}.mdi-card-multiple:before{content:"󱟱"}.mdi-card-multiple-outline:before{content:"󱟲"}.mdi-card-off:before{content:"󱘂"}.mdi-card-off-outline:before{content:"󱘃"}.mdi-card-outline:before{content:"󰭶"}.mdi-card-plus:before{content:"󱇿"}.mdi-card-plus-outline:before{content:"󱈀"}.mdi-card-remove:before{content:"󱘄"}.mdi-card-remove-outline:before{content:"󱘅"}.mdi-card-search:before{content:"󱁴"}.mdi-card-search-outline:before{content:"󱁵"}.mdi-card-text:before{content:"󰭷"}.mdi-card-text-outline:before{content:"󰭸"}.mdi-cards:before{content:"󰘸"}.mdi-cards-club:before{content:"󰣎"}.mdi-cards-club-outline:before{content:"󱢟"}.mdi-cards-diamond:before{content:"󰣏"}.mdi-cards-diamond-outline:before{content:"󱀝"}.mdi-cards-heart:before{content:"󰣐"}.mdi-cards-heart-outline:before{content:"󱢠"}.mdi-cards-outline:before{content:"󰘹"}.mdi-cards-playing:before{content:"󱢡"}.mdi-cards-playing-club:before{content:"󱢢"}.mdi-cards-playing-club-multiple:before{content:"󱢣"}.mdi-cards-playing-club-multiple-outline:before{content:"󱢤"}.mdi-cards-playing-club-outline:before{content:"󱢥"}.mdi-cards-playing-diamond:before{content:"󱢦"}.mdi-cards-playing-diamond-multiple:before{content:"󱢧"}.mdi-cards-playing-diamond-multiple-outline:before{content:"󱢨"}.mdi-cards-playing-diamond-outline:before{content:"󱢩"}.mdi-cards-playing-heart:before{content:"󱢪"}.mdi-cards-playing-heart-multiple:before{content:"󱢫"}.mdi-cards-playing-heart-multiple-outline:before{content:"󱢬"}.mdi-cards-playing-heart-outline:before{content:"󱢭"}.mdi-cards-playing-outline:before{content:"󰘺"}.mdi-cards-playing-spade:before{content:"󱢮"}.mdi-cards-playing-spade-multiple:before{content:"󱢯"}.mdi-cards-playing-spade-multiple-outline:before{content:"󱢰"}.mdi-cards-playing-spade-outline:before{content:"󱢱"}.mdi-cards-spade:before{content:"󰣑"}.mdi-cards-spade-outline:before{content:"󱢲"}.mdi-cards-variant:before{content:"󰛇"}.mdi-carrot:before{content:"󰄏"}.mdi-cart:before{content:"󰄐"}.mdi-cart-arrow-down:before{content:"󰵦"}.mdi-cart-arrow-right:before{content:"󰱎"}.mdi-cart-arrow-up:before{content:"󰵧"}.mdi-cart-check:before{content:"󱗪"}.mdi-cart-heart:before{content:"󱣠"}.mdi-cart-minus:before{content:"󰵨"}.mdi-cart-off:before{content:"󰙫"}.mdi-cart-outline:before{content:"󰄑"}.mdi-cart-percent:before{content:"󱮮"}.mdi-cart-plus:before{content:"󰄒"}.mdi-cart-remove:before{content:"󰵩"}.mdi-cart-variant:before{content:"󱗫"}.mdi-case-sensitive-alt:before{content:"󰄓"}.mdi-cash:before{content:"󰄔"}.mdi-cash-100:before{content:"󰄕"}.mdi-cash-check:before{content:"󱓮"}.mdi-cash-clock:before{content:"󱪑"}.mdi-cash-fast:before{content:"󱡜"}.mdi-cash-lock:before{content:"󱓪"}.mdi-cash-lock-open:before{content:"󱓫"}.mdi-cash-marker:before{content:"󰶸"}.mdi-cash-minus:before{content:"󱉠"}.mdi-cash-multiple:before{content:"󰄖"}.mdi-cash-off:before{content:"󱱹"}.mdi-cash-plus:before{content:"󱉡"}.mdi-cash-refund:before{content:"󰪜"}.mdi-cash-register:before{content:"󰳴"}.mdi-cash-remove:before{content:"󱉢"}.mdi-cash-sync:before{content:"󱪒"}.mdi-cassette:before{content:"󰧔"}.mdi-cast:before{content:"󰄘"}.mdi-cast-audio:before{content:"󱀞"}.mdi-cast-audio-variant:before{content:"󱝉"}.mdi-cast-connected:before{content:"󰄙"}.mdi-cast-education:before{content:"󰸝"}.mdi-cast-off:before{content:"󰞊"}.mdi-cast-variant:before{content:"󰀟"}.mdi-castle:before{content:"󰄚"}.mdi-cat:before{content:"󰄛"}.mdi-cctv:before{content:"󰞮"}.mdi-cctv-off:before{content:"󱡟"}.mdi-ceiling-fan:before{content:"󱞗"}.mdi-ceiling-fan-light:before{content:"󱞘"}.mdi-ceiling-light:before{content:"󰝩"}.mdi-ceiling-light-multiple:before{content:"󱣝"}.mdi-ceiling-light-multiple-outline:before{content:"󱣞"}.mdi-ceiling-light-outline:before{content:"󱟇"}.mdi-cellphone:before{content:"󰄜"}.mdi-cellphone-arrow-down:before{content:"󰧕"}.mdi-cellphone-arrow-down-variant:before{content:"󱧅"}.mdi-cellphone-basic:before{content:"󰄞"}.mdi-cellphone-charging:before{content:"󱎗"}.mdi-cellphone-check:before{content:"󱟽"}.mdi-cellphone-cog:before{content:"󰥑"}.mdi-cellphone-dock:before{content:"󰄟"}.mdi-cellphone-information:before{content:"󰽁"}.mdi-cellphone-key:before{content:"󰥎"}.mdi-cellphone-link:before{content:"󰄡"}.mdi-cellphone-link-off:before{content:"󰄢"}.mdi-cellphone-lock:before{content:"󰥏"}.mdi-cellphone-marker:before{content:"󱠺"}.mdi-cellphone-message:before{content:"󰣓"}.mdi-cellphone-message-off:before{content:"󱃒"}.mdi-cellphone-nfc:before{content:"󰺐"}.mdi-cellphone-nfc-off:before{content:"󱋘"}.mdi-cellphone-off:before{content:"󰥐"}.mdi-cellphone-play:before{content:"󱀟"}.mdi-cellphone-remove:before{content:"󰥍"}.mdi-cellphone-screenshot:before{content:"󰨵"}.mdi-cellphone-settings:before{content:"󰄣"}.mdi-cellphone-sound:before{content:"󰥒"}.mdi-cellphone-text:before{content:"󰣒"}.mdi-cellphone-wireless:before{content:"󰠕"}.mdi-centos:before{content:"󱄚"}.mdi-certificate:before{content:"󰄤"}.mdi-certificate-outline:before{content:"󱆈"}.mdi-chair-rolling:before{content:"󰽈"}.mdi-chair-school:before{content:"󰄥"}.mdi-chandelier:before{content:"󱞓"}.mdi-charity:before{content:"󰱏"}.mdi-chart-arc:before{content:"󰄦"}.mdi-chart-areaspline:before{content:"󰄧"}.mdi-chart-areaspline-variant:before{content:"󰺑"}.mdi-chart-bar:before{content:"󰄨"}.mdi-chart-bar-stacked:before{content:"󰝪"}.mdi-chart-bell-curve:before{content:"󰱐"}.mdi-chart-bell-curve-cumulative:before{content:"󰾧"}.mdi-chart-box:before{content:"󱕍"}.mdi-chart-box-outline:before{content:"󱕎"}.mdi-chart-box-plus-outline:before{content:"󱕏"}.mdi-chart-bubble:before{content:"󰗣"}.mdi-chart-donut:before{content:"󰞯"}.mdi-chart-donut-variant:before{content:"󰞰"}.mdi-chart-gantt:before{content:"󰙬"}.mdi-chart-histogram:before{content:"󰄩"}.mdi-chart-line:before{content:"󰄪"}.mdi-chart-line-stacked:before{content:"󰝫"}.mdi-chart-line-variant:before{content:"󰞱"}.mdi-chart-multiline:before{content:"󰣔"}.mdi-chart-multiple:before{content:"󱈓"}.mdi-chart-pie:before{content:"󰄫"}.mdi-chart-pie-outline:before{content:"󱯟"}.mdi-chart-ppf:before{content:"󱎀"}.mdi-chart-sankey:before{content:"󱇟"}.mdi-chart-sankey-variant:before{content:"󱇠"}.mdi-chart-scatter-plot:before{content:"󰺒"}.mdi-chart-scatter-plot-hexbin:before{content:"󰙭"}.mdi-chart-timeline:before{content:"󰙮"}.mdi-chart-timeline-variant:before{content:"󰺓"}.mdi-chart-timeline-variant-shimmer:before{content:"󱖶"}.mdi-chart-tree:before{content:"󰺔"}.mdi-chart-waterfall:before{content:"󱤘"}.mdi-chat:before{content:"󰭹"}.mdi-chat-alert:before{content:"󰭺"}.mdi-chat-alert-outline:before{content:"󱋉"}.mdi-chat-minus:before{content:"󱐐"}.mdi-chat-minus-outline:before{content:"󱐓"}.mdi-chat-outline:before{content:"󰻞"}.mdi-chat-plus:before{content:"󱐏"}.mdi-chat-plus-outline:before{content:"󱐒"}.mdi-chat-processing:before{content:"󰭻"}.mdi-chat-processing-outline:before{content:"󱋊"}.mdi-chat-question:before{content:"󱜸"}.mdi-chat-question-outline:before{content:"󱜹"}.mdi-chat-remove:before{content:"󱐑"}.mdi-chat-remove-outline:before{content:"󱐔"}.mdi-chat-sleep:before{content:"󱋑"}.mdi-chat-sleep-outline:before{content:"󱋒"}.mdi-check:before{content:"󰄬"}.mdi-check-all:before{content:"󰄭"}.mdi-check-bold:before{content:"󰸞"}.mdi-check-circle:before{content:"󰗠"}.mdi-check-circle-outline:before{content:"󰗡"}.mdi-check-decagram:before{content:"󰞑"}.mdi-check-decagram-outline:before{content:"󱝀"}.mdi-check-network:before{content:"󰱓"}.mdi-check-network-outline:before{content:"󰱔"}.mdi-check-outline:before{content:"󰡕"}.mdi-check-underline:before{content:"󰸟"}.mdi-check-underline-circle:before{content:"󰸠"}.mdi-check-underline-circle-outline:before{content:"󰸡"}.mdi-checkbook:before{content:"󰪝"}.mdi-checkbook-arrow-left:before{content:"󱰝"}.mdi-checkbook-arrow-right:before{content:"󱰞"}.mdi-checkbox-blank:before{content:"󰄮"}.mdi-checkbox-blank-badge:before{content:"󱅶"}.mdi-checkbox-blank-badge-outline:before{content:"󰄗"}.mdi-checkbox-blank-circle:before{content:"󰄯"}.mdi-checkbox-blank-circle-outline:before{content:"󰄰"}.mdi-checkbox-blank-off:before{content:"󱋬"}.mdi-checkbox-blank-off-outline:before{content:"󱋭"}.mdi-checkbox-blank-outline:before{content:"󰄱"}.mdi-checkbox-intermediate:before{content:"󰡖"}.mdi-checkbox-intermediate-variant:before{content:"󱭔"}.mdi-checkbox-marked:before{content:"󰄲"}.mdi-checkbox-marked-circle:before{content:"󰄳"}.mdi-checkbox-marked-circle-auto-outline:before{content:"󱰦"}.mdi-checkbox-marked-circle-minus-outline:before{content:"󱰧"}.mdi-checkbox-marked-circle-outline:before{content:"󰄴"}.mdi-checkbox-marked-circle-plus-outline:before{content:"󱤧"}.mdi-checkbox-marked-outline:before{content:"󰄵"}.mdi-checkbox-multiple-blank:before{content:"󰄶"}.mdi-checkbox-multiple-blank-circle:before{content:"󰘻"}.mdi-checkbox-multiple-blank-circle-outline:before{content:"󰘼"}.mdi-checkbox-multiple-blank-outline:before{content:"󰄷"}.mdi-checkbox-multiple-marked:before{content:"󰄸"}.mdi-checkbox-multiple-marked-circle:before{content:"󰘽"}.mdi-checkbox-multiple-marked-circle-outline:before{content:"󰘾"}.mdi-checkbox-multiple-marked-outline:before{content:"󰄹"}.mdi-checkbox-multiple-outline:before{content:"󰱑"}.mdi-checkbox-outline:before{content:"󰱒"}.mdi-checkerboard:before{content:"󰄺"}.mdi-checkerboard-minus:before{content:"󱈂"}.mdi-checkerboard-plus:before{content:"󱈁"}.mdi-checkerboard-remove:before{content:"󱈃"}.mdi-cheese:before{content:"󱊹"}.mdi-cheese-off:before{content:"󱏮"}.mdi-chef-hat:before{content:"󰭼"}.mdi-chemical-weapon:before{content:"󰄻"}.mdi-chess-bishop:before{content:"󰡜"}.mdi-chess-king:before{content:"󰡗"}.mdi-chess-knight:before{content:"󰡘"}.mdi-chess-pawn:before{content:"󰡙"}.mdi-chess-queen:before{content:"󰡚"}.mdi-chess-rook:before{content:"󰡛"}.mdi-chevron-double-down:before{content:"󰄼"}.mdi-chevron-double-left:before{content:"󰄽"}.mdi-chevron-double-right:before{content:"󰄾"}.mdi-chevron-double-up:before{content:"󰄿"}.mdi-chevron-down:before{content:"󰅀"}.mdi-chevron-down-box:before{content:"󰧖"}.mdi-chevron-down-box-outline:before{content:"󰧗"}.mdi-chevron-down-circle:before{content:"󰬦"}.mdi-chevron-down-circle-outline:before{content:"󰬧"}.mdi-chevron-left:before{content:"󰅁"}.mdi-chevron-left-box:before{content:"󰧘"}.mdi-chevron-left-box-outline:before{content:"󰧙"}.mdi-chevron-left-circle:before{content:"󰬨"}.mdi-chevron-left-circle-outline:before{content:"󰬩"}.mdi-chevron-right:before{content:"󰅂"}.mdi-chevron-right-box:before{content:"󰧚"}.mdi-chevron-right-box-outline:before{content:"󰧛"}.mdi-chevron-right-circle:before{content:"󰬪"}.mdi-chevron-right-circle-outline:before{content:"󰬫"}.mdi-chevron-triple-down:before{content:"󰶹"}.mdi-chevron-triple-left:before{content:"󰶺"}.mdi-chevron-triple-right:before{content:"󰶻"}.mdi-chevron-triple-up:before{content:"󰶼"}.mdi-chevron-up:before{content:"󰅃"}.mdi-chevron-up-box:before{content:"󰧜"}.mdi-chevron-up-box-outline:before{content:"󰧝"}.mdi-chevron-up-circle:before{content:"󰬬"}.mdi-chevron-up-circle-outline:before{content:"󰬭"}.mdi-chili-alert:before{content:"󱟪"}.mdi-chili-alert-outline:before{content:"󱟫"}.mdi-chili-hot:before{content:"󰞲"}.mdi-chili-hot-outline:before{content:"󱟬"}.mdi-chili-medium:before{content:"󰞳"}.mdi-chili-medium-outline:before{content:"󱟭"}.mdi-chili-mild:before{content:"󰞴"}.mdi-chili-mild-outline:before{content:"󱟮"}.mdi-chili-off:before{content:"󱑧"}.mdi-chili-off-outline:before{content:"󱟯"}.mdi-chip:before{content:"󰘚"}.mdi-church:before{content:"󰅄"}.mdi-church-outline:before{content:"󱬂"}.mdi-cigar:before{content:"󱆉"}.mdi-cigar-off:before{content:"󱐛"}.mdi-circle:before{content:"󰝥"}.mdi-circle-box:before{content:"󱗜"}.mdi-circle-box-outline:before{content:"󱗝"}.mdi-circle-double:before{content:"󰺕"}.mdi-circle-edit-outline:before{content:"󰣕"}.mdi-circle-expand:before{content:"󰺖"}.mdi-circle-half:before{content:"󱎕"}.mdi-circle-half-full:before{content:"󱎖"}.mdi-circle-medium:before{content:"󰧞"}.mdi-circle-multiple:before{content:"󰬸"}.mdi-circle-multiple-outline:before{content:"󰚕"}.mdi-circle-off-outline:before{content:"󱃓"}.mdi-circle-opacity:before{content:"󱡓"}.mdi-circle-outline:before{content:"󰝦"}.mdi-circle-slice-1:before{content:"󰪞"}.mdi-circle-slice-2:before{content:"󰪟"}.mdi-circle-slice-3:before{content:"󰪠"}.mdi-circle-slice-4:before{content:"󰪡"}.mdi-circle-slice-5:before{content:"󰪢"}.mdi-circle-slice-6:before{content:"󰪣"}.mdi-circle-slice-7:before{content:"󰪤"}.mdi-circle-slice-8:before{content:"󰪥"}.mdi-circle-small:before{content:"󰧟"}.mdi-circular-saw:before{content:"󰸢"}.mdi-city:before{content:"󰅆"}.mdi-city-switch:before{content:"󱰨"}.mdi-city-variant:before{content:"󰨶"}.mdi-city-variant-outline:before{content:"󰨷"}.mdi-clipboard:before{content:"󰅇"}.mdi-clipboard-account:before{content:"󰅈"}.mdi-clipboard-account-outline:before{content:"󰱕"}.mdi-clipboard-alert:before{content:"󰅉"}.mdi-clipboard-alert-outline:before{content:"󰳷"}.mdi-clipboard-arrow-down:before{content:"󰅊"}.mdi-clipboard-arrow-down-outline:before{content:"󰱖"}.mdi-clipboard-arrow-left:before{content:"󰅋"}.mdi-clipboard-arrow-left-outline:before{content:"󰳸"}.mdi-clipboard-arrow-right:before{content:"󰳹"}.mdi-clipboard-arrow-right-outline:before{content:"󰳺"}.mdi-clipboard-arrow-up:before{content:"󰱗"}.mdi-clipboard-arrow-up-outline:before{content:"󰱘"}.mdi-clipboard-check:before{content:"󰅎"}.mdi-clipboard-check-multiple:before{content:"󱉣"}.mdi-clipboard-check-multiple-outline:before{content:"󱉤"}.mdi-clipboard-check-outline:before{content:"󰢨"}.mdi-clipboard-clock:before{content:"󱛢"}.mdi-clipboard-clock-outline:before{content:"󱛣"}.mdi-clipboard-edit:before{content:"󱓥"}.mdi-clipboard-edit-outline:before{content:"󱓦"}.mdi-clipboard-file:before{content:"󱉥"}.mdi-clipboard-file-outline:before{content:"󱉦"}.mdi-clipboard-flow:before{content:"󰛈"}.mdi-clipboard-flow-outline:before{content:"󱄗"}.mdi-clipboard-list:before{content:"󱃔"}.mdi-clipboard-list-outline:before{content:"󱃕"}.mdi-clipboard-minus:before{content:"󱘘"}.mdi-clipboard-minus-outline:before{content:"󱘙"}.mdi-clipboard-multiple:before{content:"󱉧"}.mdi-clipboard-multiple-outline:before{content:"󱉨"}.mdi-clipboard-off:before{content:"󱘚"}.mdi-clipboard-off-outline:before{content:"󱘛"}.mdi-clipboard-outline:before{content:"󰅌"}.mdi-clipboard-play:before{content:"󰱙"}.mdi-clipboard-play-multiple:before{content:"󱉩"}.mdi-clipboard-play-multiple-outline:before{content:"󱉪"}.mdi-clipboard-play-outline:before{content:"󰱚"}.mdi-clipboard-plus:before{content:"󰝑"}.mdi-clipboard-plus-outline:before{content:"󱌟"}.mdi-clipboard-pulse:before{content:"󰡝"}.mdi-clipboard-pulse-outline:before{content:"󰡞"}.mdi-clipboard-remove:before{content:"󱘜"}.mdi-clipboard-remove-outline:before{content:"󱘝"}.mdi-clipboard-search:before{content:"󱘞"}.mdi-clipboard-search-outline:before{content:"󱘟"}.mdi-clipboard-text:before{content:"󰅍"}.mdi-clipboard-text-clock:before{content:"󱣹"}.mdi-clipboard-text-clock-outline:before{content:"󱣺"}.mdi-clipboard-text-multiple:before{content:"󱉫"}.mdi-clipboard-text-multiple-outline:before{content:"󱉬"}.mdi-clipboard-text-off:before{content:"󱘠"}.mdi-clipboard-text-off-outline:before{content:"󱘡"}.mdi-clipboard-text-outline:before{content:"󰨸"}.mdi-clipboard-text-play:before{content:"󰱛"}.mdi-clipboard-text-play-outline:before{content:"󰱜"}.mdi-clipboard-text-search:before{content:"󱘢"}.mdi-clipboard-text-search-outline:before{content:"󱘣"}.mdi-clippy:before{content:"󰅏"}.mdi-clock:before{content:"󰥔"}.mdi-clock-alert:before{content:"󰥕"}.mdi-clock-alert-outline:before{content:"󰗎"}.mdi-clock-check:before{content:"󰾨"}.mdi-clock-check-outline:before{content:"󰾩"}.mdi-clock-digital:before{content:"󰺗"}.mdi-clock-edit:before{content:"󱦺"}.mdi-clock-edit-outline:before{content:"󱦻"}.mdi-clock-end:before{content:"󰅑"}.mdi-clock-fast:before{content:"󰅒"}.mdi-clock-in:before{content:"󰅓"}.mdi-clock-minus:before{content:"󱡣"}.mdi-clock-minus-outline:before{content:"󱡤"}.mdi-clock-out:before{content:"󰅔"}.mdi-clock-outline:before{content:"󰅐"}.mdi-clock-plus:before{content:"󱡡"}.mdi-clock-plus-outline:before{content:"󱡢"}.mdi-clock-remove:before{content:"󱡥"}.mdi-clock-remove-outline:before{content:"󱡦"}.mdi-clock-star-four-points:before{content:"󱰩"}.mdi-clock-star-four-points-outline:before{content:"󱰪"}.mdi-clock-start:before{content:"󰅕"}.mdi-clock-time-eight:before{content:"󱑆"}.mdi-clock-time-eight-outline:before{content:"󱑒"}.mdi-clock-time-eleven:before{content:"󱑉"}.mdi-clock-time-eleven-outline:before{content:"󱑕"}.mdi-clock-time-five:before{content:"󱑃"}.mdi-clock-time-five-outline:before{content:"󱑏"}.mdi-clock-time-four:before{content:"󱑂"}.mdi-clock-time-four-outline:before{content:"󱑎"}.mdi-clock-time-nine:before{content:"󱑇"}.mdi-clock-time-nine-outline:before{content:"󱑓"}.mdi-clock-time-one:before{content:"󱐿"}.mdi-clock-time-one-outline:before{content:"󱑋"}.mdi-clock-time-seven:before{content:"󱑅"}.mdi-clock-time-seven-outline:before{content:"󱑑"}.mdi-clock-time-six:before{content:"󱑄"}.mdi-clock-time-six-outline:before{content:"󱑐"}.mdi-clock-time-ten:before{content:"󱑈"}.mdi-clock-time-ten-outline:before{content:"󱑔"}.mdi-clock-time-three:before{content:"󱑁"}.mdi-clock-time-three-outline:before{content:"󱑍"}.mdi-clock-time-twelve:before{content:"󱑊"}.mdi-clock-time-twelve-outline:before{content:"󱑖"}.mdi-clock-time-two:before{content:"󱑀"}.mdi-clock-time-two-outline:before{content:"󱑌"}.mdi-close:before{content:"󰅖"}.mdi-close-box:before{content:"󰅗"}.mdi-close-box-multiple:before{content:"󰱝"}.mdi-close-box-multiple-outline:before{content:"󰱞"}.mdi-close-box-outline:before{content:"󰅘"}.mdi-close-circle:before{content:"󰅙"}.mdi-close-circle-multiple:before{content:"󰘪"}.mdi-close-circle-multiple-outline:before{content:"󰢃"}.mdi-close-circle-outline:before{content:"󰅚"}.mdi-close-network:before{content:"󰅛"}.mdi-close-network-outline:before{content:"󰱟"}.mdi-close-octagon:before{content:"󰅜"}.mdi-close-octagon-outline:before{content:"󰅝"}.mdi-close-outline:before{content:"󰛉"}.mdi-close-thick:before{content:"󱎘"}.mdi-closed-caption:before{content:"󰅞"}.mdi-closed-caption-outline:before{content:"󰶽"}.mdi-cloud:before{content:"󰅟"}.mdi-cloud-alert:before{content:"󰧠"}.mdi-cloud-alert-outline:before{content:"󱯠"}.mdi-cloud-arrow-down:before{content:"󱯡"}.mdi-cloud-arrow-down-outline:before{content:"󱯢"}.mdi-cloud-arrow-left:before{content:"󱯣"}.mdi-cloud-arrow-left-outline:before{content:"󱯤"}.mdi-cloud-arrow-right:before{content:"󱯥"}.mdi-cloud-arrow-right-outline:before{content:"󱯦"}.mdi-cloud-arrow-up:before{content:"󱯧"}.mdi-cloud-arrow-up-outline:before{content:"󱯨"}.mdi-cloud-braces:before{content:"󰞵"}.mdi-cloud-cancel:before{content:"󱯩"}.mdi-cloud-cancel-outline:before{content:"󱯪"}.mdi-cloud-check:before{content:"󱯫"}.mdi-cloud-check-outline:before{content:"󱯬"}.mdi-cloud-check-variant:before{content:"󰅠"}.mdi-cloud-check-variant-outline:before{content:"󱋌"}.mdi-cloud-circle:before{content:"󰅡"}.mdi-cloud-circle-outline:before{content:"󱯭"}.mdi-cloud-clock:before{content:"󱯮"}.mdi-cloud-clock-outline:before{content:"󱯯"}.mdi-cloud-cog:before{content:"󱯰"}.mdi-cloud-cog-outline:before{content:"󱯱"}.mdi-cloud-download:before{content:"󰅢"}.mdi-cloud-download-outline:before{content:"󰭽"}.mdi-cloud-lock:before{content:"󱇱"}.mdi-cloud-lock-open:before{content:"󱯲"}.mdi-cloud-lock-open-outline:before{content:"󱯳"}.mdi-cloud-lock-outline:before{content:"󱇲"}.mdi-cloud-minus:before{content:"󱯴"}.mdi-cloud-minus-outline:before{content:"󱯵"}.mdi-cloud-off:before{content:"󱯶"}.mdi-cloud-off-outline:before{content:"󰅤"}.mdi-cloud-outline:before{content:"󰅣"}.mdi-cloud-percent:before{content:"󱨵"}.mdi-cloud-percent-outline:before{content:"󱨶"}.mdi-cloud-plus:before{content:"󱯷"}.mdi-cloud-plus-outline:before{content:"󱯸"}.mdi-cloud-print:before{content:"󰅥"}.mdi-cloud-print-outline:before{content:"󰅦"}.mdi-cloud-question:before{content:"󰨹"}.mdi-cloud-question-outline:before{content:"󱯹"}.mdi-cloud-refresh:before{content:"󱯺"}.mdi-cloud-refresh-outline:before{content:"󱯻"}.mdi-cloud-refresh-variant:before{content:"󰔪"}.mdi-cloud-refresh-variant-outline:before{content:"󱯼"}.mdi-cloud-remove:before{content:"󱯽"}.mdi-cloud-remove-outline:before{content:"󱯾"}.mdi-cloud-search:before{content:"󰥖"}.mdi-cloud-search-outline:before{content:"󰥗"}.mdi-cloud-sync:before{content:"󰘿"}.mdi-cloud-sync-outline:before{content:"󱋖"}.mdi-cloud-tags:before{content:"󰞶"}.mdi-cloud-upload:before{content:"󰅧"}.mdi-cloud-upload-outline:before{content:"󰭾"}.mdi-clouds:before{content:"󱮕"}.mdi-clover:before{content:"󰠖"}.mdi-clover-outline:before{content:"󱱢"}.mdi-coach-lamp:before{content:"󱀠"}.mdi-coach-lamp-variant:before{content:"󱨷"}.mdi-coat-rack:before{content:"󱂞"}.mdi-code-array:before{content:"󰅨"}.mdi-code-braces:before{content:"󰅩"}.mdi-code-braces-box:before{content:"󱃖"}.mdi-code-brackets:before{content:"󰅪"}.mdi-code-equal:before{content:"󰅫"}.mdi-code-greater-than:before{content:"󰅬"}.mdi-code-greater-than-or-equal:before{content:"󰅭"}.mdi-code-json:before{content:"󰘦"}.mdi-code-less-than:before{content:"󰅮"}.mdi-code-less-than-or-equal:before{content:"󰅯"}.mdi-code-not-equal:before{content:"󰅰"}.mdi-code-not-equal-variant:before{content:"󰅱"}.mdi-code-parentheses:before{content:"󰅲"}.mdi-code-parentheses-box:before{content:"󱃗"}.mdi-code-string:before{content:"󰅳"}.mdi-code-tags:before{content:"󰅴"}.mdi-code-tags-check:before{content:"󰚔"}.mdi-codepen:before{content:"󰅵"}.mdi-coffee:before{content:"󰅶"}.mdi-coffee-maker:before{content:"󱂟"}.mdi-coffee-maker-check:before{content:"󱤱"}.mdi-coffee-maker-check-outline:before{content:"󱤲"}.mdi-coffee-maker-outline:before{content:"󱠛"}.mdi-coffee-off:before{content:"󰾪"}.mdi-coffee-off-outline:before{content:"󰾫"}.mdi-coffee-outline:before{content:"󰛊"}.mdi-coffee-to-go:before{content:"󰅷"}.mdi-coffee-to-go-outline:before{content:"󱌎"}.mdi-coffin:before{content:"󰭿"}.mdi-cog:before{content:"󰒓"}.mdi-cog-box:before{content:"󰒔"}.mdi-cog-clockwise:before{content:"󱇝"}.mdi-cog-counterclockwise:before{content:"󱇞"}.mdi-cog-off:before{content:"󱏎"}.mdi-cog-off-outline:before{content:"󱏏"}.mdi-cog-outline:before{content:"󰢻"}.mdi-cog-pause:before{content:"󱤳"}.mdi-cog-pause-outline:before{content:"󱤴"}.mdi-cog-play:before{content:"󱤵"}.mdi-cog-play-outline:before{content:"󱤶"}.mdi-cog-refresh:before{content:"󱑞"}.mdi-cog-refresh-outline:before{content:"󱑟"}.mdi-cog-stop:before{content:"󱤷"}.mdi-cog-stop-outline:before{content:"󱤸"}.mdi-cog-sync:before{content:"󱑠"}.mdi-cog-sync-outline:before{content:"󱑡"}.mdi-cog-transfer:before{content:"󱁛"}.mdi-cog-transfer-outline:before{content:"󱁜"}.mdi-cogs:before{content:"󰣖"}.mdi-collage:before{content:"󰙀"}.mdi-collapse-all:before{content:"󰪦"}.mdi-collapse-all-outline:before{content:"󰪧"}.mdi-color-helper:before{content:"󰅹"}.mdi-comma:before{content:"󰸣"}.mdi-comma-box:before{content:"󰸫"}.mdi-comma-box-outline:before{content:"󰸤"}.mdi-comma-circle:before{content:"󰸥"}.mdi-comma-circle-outline:before{content:"󰸦"}.mdi-comment:before{content:"󰅺"}.mdi-comment-account:before{content:"󰅻"}.mdi-comment-account-outline:before{content:"󰅼"}.mdi-comment-alert:before{content:"󰅽"}.mdi-comment-alert-outline:before{content:"󰅾"}.mdi-comment-arrow-left:before{content:"󰧡"}.mdi-comment-arrow-left-outline:before{content:"󰧢"}.mdi-comment-arrow-right:before{content:"󰧣"}.mdi-comment-arrow-right-outline:before{content:"󰧤"}.mdi-comment-bookmark:before{content:"󱖮"}.mdi-comment-bookmark-outline:before{content:"󱖯"}.mdi-comment-check:before{content:"󰅿"}.mdi-comment-check-outline:before{content:"󰆀"}.mdi-comment-edit:before{content:"󱆿"}.mdi-comment-edit-outline:before{content:"󱋄"}.mdi-comment-eye:before{content:"󰨺"}.mdi-comment-eye-outline:before{content:"󰨻"}.mdi-comment-flash:before{content:"󱖰"}.mdi-comment-flash-outline:before{content:"󱖱"}.mdi-comment-minus:before{content:"󱗟"}.mdi-comment-minus-outline:before{content:"󱗠"}.mdi-comment-multiple:before{content:"󰡟"}.mdi-comment-multiple-outline:before{content:"󰆁"}.mdi-comment-off:before{content:"󱗡"}.mdi-comment-off-outline:before{content:"󱗢"}.mdi-comment-outline:before{content:"󰆂"}.mdi-comment-plus:before{content:"󰧥"}.mdi-comment-plus-outline:before{content:"󰆃"}.mdi-comment-processing:before{content:"󰆄"}.mdi-comment-processing-outline:before{content:"󰆅"}.mdi-comment-question:before{content:"󰠗"}.mdi-comment-question-outline:before{content:"󰆆"}.mdi-comment-quote:before{content:"󱀡"}.mdi-comment-quote-outline:before{content:"󱀢"}.mdi-comment-remove:before{content:"󰗞"}.mdi-comment-remove-outline:before{content:"󰆇"}.mdi-comment-search:before{content:"󰨼"}.mdi-comment-search-outline:before{content:"󰨽"}.mdi-comment-text:before{content:"󰆈"}.mdi-comment-text-multiple:before{content:"󰡠"}.mdi-comment-text-multiple-outline:before{content:"󰡡"}.mdi-comment-text-outline:before{content:"󰆉"}.mdi-compare:before{content:"󰆊"}.mdi-compare-horizontal:before{content:"󱒒"}.mdi-compare-remove:before{content:"󱢳"}.mdi-compare-vertical:before{content:"󱒓"}.mdi-compass:before{content:"󰆋"}.mdi-compass-off:before{content:"󰮀"}.mdi-compass-off-outline:before{content:"󰮁"}.mdi-compass-outline:before{content:"󰆌"}.mdi-compass-rose:before{content:"󱎂"}.mdi-compost:before{content:"󱨸"}.mdi-cone:before{content:"󱥌"}.mdi-cone-off:before{content:"󱥍"}.mdi-connection:before{content:"󱘖"}.mdi-console:before{content:"󰆍"}.mdi-console-line:before{content:"󰞷"}.mdi-console-network:before{content:"󰢩"}.mdi-console-network-outline:before{content:"󰱠"}.mdi-consolidate:before{content:"󱃘"}.mdi-contactless-payment:before{content:"󰵪"}.mdi-contactless-payment-circle:before{content:"󰌡"}.mdi-contactless-payment-circle-outline:before{content:"󰐈"}.mdi-contacts:before{content:"󰛋"}.mdi-contacts-outline:before{content:"󰖸"}.mdi-contain:before{content:"󰨾"}.mdi-contain-end:before{content:"󰨿"}.mdi-contain-start:before{content:"󰩀"}.mdi-content-copy:before{content:"󰆏"}.mdi-content-cut:before{content:"󰆐"}.mdi-content-duplicate:before{content:"󰆑"}.mdi-content-paste:before{content:"󰆒"}.mdi-content-save:before{content:"󰆓"}.mdi-content-save-alert:before{content:"󰽂"}.mdi-content-save-alert-outline:before{content:"󰽃"}.mdi-content-save-all:before{content:"󰆔"}.mdi-content-save-all-outline:before{content:"󰽄"}.mdi-content-save-check:before{content:"󱣪"}.mdi-content-save-check-outline:before{content:"󱣫"}.mdi-content-save-cog:before{content:"󱑛"}.mdi-content-save-cog-outline:before{content:"󱑜"}.mdi-content-save-edit:before{content:"󰳻"}.mdi-content-save-edit-outline:before{content:"󰳼"}.mdi-content-save-minus:before{content:"󱭃"}.mdi-content-save-minus-outline:before{content:"󱭄"}.mdi-content-save-move:before{content:"󰸧"}.mdi-content-save-move-outline:before{content:"󰸨"}.mdi-content-save-off:before{content:"󱙃"}.mdi-content-save-off-outline:before{content:"󱙄"}.mdi-content-save-outline:before{content:"󰠘"}.mdi-content-save-plus:before{content:"󱭁"}.mdi-content-save-plus-outline:before{content:"󱭂"}.mdi-content-save-settings:before{content:"󰘛"}.mdi-content-save-settings-outline:before{content:"󰬮"}.mdi-contrast:before{content:"󰆕"}.mdi-contrast-box:before{content:"󰆖"}.mdi-contrast-circle:before{content:"󰆗"}.mdi-controller:before{content:"󰊴"}.mdi-controller-classic:before{content:"󰮂"}.mdi-controller-classic-outline:before{content:"󰮃"}.mdi-controller-off:before{content:"󰊵"}.mdi-cookie:before{content:"󰆘"}.mdi-cookie-alert:before{content:"󱛐"}.mdi-cookie-alert-outline:before{content:"󱛑"}.mdi-cookie-check:before{content:"󱛒"}.mdi-cookie-check-outline:before{content:"󱛓"}.mdi-cookie-clock:before{content:"󱛤"}.mdi-cookie-clock-outline:before{content:"󱛥"}.mdi-cookie-cog:before{content:"󱛔"}.mdi-cookie-cog-outline:before{content:"󱛕"}.mdi-cookie-edit:before{content:"󱛦"}.mdi-cookie-edit-outline:before{content:"󱛧"}.mdi-cookie-lock:before{content:"󱛨"}.mdi-cookie-lock-outline:before{content:"󱛩"}.mdi-cookie-minus:before{content:"󱛚"}.mdi-cookie-minus-outline:before{content:"󱛛"}.mdi-cookie-off:before{content:"󱛪"}.mdi-cookie-off-outline:before{content:"󱛫"}.mdi-cookie-outline:before{content:"󱛞"}.mdi-cookie-plus:before{content:"󱛖"}.mdi-cookie-plus-outline:before{content:"󱛗"}.mdi-cookie-refresh:before{content:"󱛬"}.mdi-cookie-refresh-outline:before{content:"󱛭"}.mdi-cookie-remove:before{content:"󱛘"}.mdi-cookie-remove-outline:before{content:"󱛙"}.mdi-cookie-settings:before{content:"󱛜"}.mdi-cookie-settings-outline:before{content:"󱛝"}.mdi-coolant-temperature:before{content:"󰏈"}.mdi-copyleft:before{content:"󱤹"}.mdi-copyright:before{content:"󰗦"}.mdi-cordova:before{content:"󰥘"}.mdi-corn:before{content:"󰞸"}.mdi-corn-off:before{content:"󱏯"}.mdi-cosine-wave:before{content:"󱑹"}.mdi-counter:before{content:"󰆙"}.mdi-countertop:before{content:"󱠜"}.mdi-countertop-outline:before{content:"󱠝"}.mdi-cow:before{content:"󰆚"}.mdi-cow-off:before{content:"󱣼"}.mdi-cpu-32-bit:before{content:"󰻟"}.mdi-cpu-64-bit:before{content:"󰻠"}.mdi-cradle:before{content:"󱦋"}.mdi-cradle-outline:before{content:"󱦑"}.mdi-crane:before{content:"󰡢"}.mdi-creation:before{content:"󰙴"}.mdi-creation-outline:before{content:"󱰫"}.mdi-creative-commons:before{content:"󰵫"}.mdi-credit-card:before{content:"󰿯"}.mdi-credit-card-check:before{content:"󱏐"}.mdi-credit-card-check-outline:before{content:"󱏑"}.mdi-credit-card-chip:before{content:"󱤏"}.mdi-credit-card-chip-outline:before{content:"󱤐"}.mdi-credit-card-clock:before{content:"󰻡"}.mdi-credit-card-clock-outline:before{content:"󰻢"}.mdi-credit-card-edit:before{content:"󱟗"}.mdi-credit-card-edit-outline:before{content:"󱟘"}.mdi-credit-card-fast:before{content:"󱤑"}.mdi-credit-card-fast-outline:before{content:"󱤒"}.mdi-credit-card-lock:before{content:"󱣧"}.mdi-credit-card-lock-outline:before{content:"󱣨"}.mdi-credit-card-marker:before{content:"󰚨"}.mdi-credit-card-marker-outline:before{content:"󰶾"}.mdi-credit-card-minus:before{content:"󰾬"}.mdi-credit-card-minus-outline:before{content:"󰾭"}.mdi-credit-card-multiple:before{content:"󰿰"}.mdi-credit-card-multiple-outline:before{content:"󰆜"}.mdi-credit-card-off:before{content:"󰿱"}.mdi-credit-card-off-outline:before{content:"󰗤"}.mdi-credit-card-outline:before{content:"󰆛"}.mdi-credit-card-plus:before{content:"󰿲"}.mdi-credit-card-plus-outline:before{content:"󰙶"}.mdi-credit-card-refresh:before{content:"󱙅"}.mdi-credit-card-refresh-outline:before{content:"󱙆"}.mdi-credit-card-refund:before{content:"󰿳"}.mdi-credit-card-refund-outline:before{content:"󰪨"}.mdi-credit-card-remove:before{content:"󰾮"}.mdi-credit-card-remove-outline:before{content:"󰾯"}.mdi-credit-card-scan:before{content:"󰿴"}.mdi-credit-card-scan-outline:before{content:"󰆝"}.mdi-credit-card-search:before{content:"󱙇"}.mdi-credit-card-search-outline:before{content:"󱙈"}.mdi-credit-card-settings:before{content:"󰿵"}.mdi-credit-card-settings-outline:before{content:"󰣗"}.mdi-credit-card-sync:before{content:"󱙉"}.mdi-credit-card-sync-outline:before{content:"󱙊"}.mdi-credit-card-wireless:before{content:"󰠂"}.mdi-credit-card-wireless-off:before{content:"󰕺"}.mdi-credit-card-wireless-off-outline:before{content:"󰕻"}.mdi-credit-card-wireless-outline:before{content:"󰵬"}.mdi-cricket:before{content:"󰵭"}.mdi-crop:before{content:"󰆞"}.mdi-crop-free:before{content:"󰆟"}.mdi-crop-landscape:before{content:"󰆠"}.mdi-crop-portrait:before{content:"󰆡"}.mdi-crop-rotate:before{content:"󰚖"}.mdi-crop-square:before{content:"󰆢"}.mdi-cross:before{content:"󰥓"}.mdi-cross-bolnisi:before{content:"󰳭"}.mdi-cross-celtic:before{content:"󰳵"}.mdi-cross-outline:before{content:"󰳶"}.mdi-crosshairs:before{content:"󰆣"}.mdi-crosshairs-gps:before{content:"󰆤"}.mdi-crosshairs-off:before{content:"󰽅"}.mdi-crosshairs-question:before{content:"󱄶"}.mdi-crowd:before{content:"󱥵"}.mdi-crown:before{content:"󰆥"}.mdi-crown-circle:before{content:"󱟜"}.mdi-crown-circle-outline:before{content:"󱟝"}.mdi-crown-outline:before{content:"󱇐"}.mdi-cryengine:before{content:"󰥙"}.mdi-crystal-ball:before{content:"󰬯"}.mdi-cube:before{content:"󰆦"}.mdi-cube-off:before{content:"󱐜"}.mdi-cube-off-outline:before{content:"󱐝"}.mdi-cube-outline:before{content:"󰆧"}.mdi-cube-scan:before{content:"󰮄"}.mdi-cube-send:before{content:"󰆨"}.mdi-cube-unfolded:before{content:"󰆩"}.mdi-cup:before{content:"󰆪"}.mdi-cup-off:before{content:"󰗥"}.mdi-cup-off-outline:before{content:"󱍽"}.mdi-cup-outline:before{content:"󱌏"}.mdi-cup-water:before{content:"󰆫"}.mdi-cupboard:before{content:"󰽆"}.mdi-cupboard-outline:before{content:"󰽇"}.mdi-cupcake:before{content:"󰥚"}.mdi-curling:before{content:"󰡣"}.mdi-currency-bdt:before{content:"󰡤"}.mdi-currency-brl:before{content:"󰮅"}.mdi-currency-btc:before{content:"󰆬"}.mdi-currency-cny:before{content:"󰞺"}.mdi-currency-eth:before{content:"󰞻"}.mdi-currency-eur:before{content:"󰆭"}.mdi-currency-eur-off:before{content:"󱌕"}.mdi-currency-fra:before{content:"󱨹"}.mdi-currency-gbp:before{content:"󰆮"}.mdi-currency-ils:before{content:"󰱡"}.mdi-currency-inr:before{content:"󰆯"}.mdi-currency-jpy:before{content:"󰞼"}.mdi-currency-krw:before{content:"󰞽"}.mdi-currency-kzt:before{content:"󰡥"}.mdi-currency-mnt:before{content:"󱔒"}.mdi-currency-ngn:before{content:"󰆰"}.mdi-currency-php:before{content:"󰧦"}.mdi-currency-rial:before{content:"󰺜"}.mdi-currency-rub:before{content:"󰆱"}.mdi-currency-rupee:before{content:"󱥶"}.mdi-currency-sign:before{content:"󰞾"}.mdi-currency-thb:before{content:"󱰅"}.mdi-currency-try:before{content:"󰆲"}.mdi-currency-twd:before{content:"󰞿"}.mdi-currency-uah:before{content:"󱮛"}.mdi-currency-usd:before{content:"󰇁"}.mdi-currency-usd-off:before{content:"󰙺"}.mdi-current-ac:before{content:"󱒀"}.mdi-current-dc:before{content:"󰥜"}.mdi-cursor-default:before{content:"󰇀"}.mdi-cursor-default-click:before{content:"󰳽"}.mdi-cursor-default-click-outline:before{content:"󰳾"}.mdi-cursor-default-gesture:before{content:"󱄧"}.mdi-cursor-default-gesture-outline:before{content:"󱄨"}.mdi-cursor-default-outline:before{content:"󰆿"}.mdi-cursor-move:before{content:"󰆾"}.mdi-cursor-pointer:before{content:"󰆽"}.mdi-cursor-text:before{content:"󰗧"}.mdi-curtains:before{content:"󱡆"}.mdi-curtains-closed:before{content:"󱡇"}.mdi-cylinder:before{content:"󱥎"}.mdi-cylinder-off:before{content:"󱥏"}.mdi-dance-ballroom:before{content:"󱗻"}.mdi-dance-pole:before{content:"󱕸"}.mdi-data-matrix:before{content:"󱔼"}.mdi-data-matrix-edit:before{content:"󱔽"}.mdi-data-matrix-minus:before{content:"󱔾"}.mdi-data-matrix-plus:before{content:"󱔿"}.mdi-data-matrix-remove:before{content:"󱕀"}.mdi-data-matrix-scan:before{content:"󱕁"}.mdi-database:before{content:"󰆼"}.mdi-database-alert:before{content:"󱘺"}.mdi-database-alert-outline:before{content:"󱘤"}.mdi-database-arrow-down:before{content:"󱘻"}.mdi-database-arrow-down-outline:before{content:"󱘥"}.mdi-database-arrow-left:before{content:"󱘼"}.mdi-database-arrow-left-outline:before{content:"󱘦"}.mdi-database-arrow-right:before{content:"󱘽"}.mdi-database-arrow-right-outline:before{content:"󱘧"}.mdi-database-arrow-up:before{content:"󱘾"}.mdi-database-arrow-up-outline:before{content:"󱘨"}.mdi-database-check:before{content:"󰪩"}.mdi-database-check-outline:before{content:"󱘩"}.mdi-database-clock:before{content:"󱘿"}.mdi-database-clock-outline:before{content:"󱘪"}.mdi-database-cog:before{content:"󱙋"}.mdi-database-cog-outline:before{content:"󱙌"}.mdi-database-edit:before{content:"󰮆"}.mdi-database-edit-outline:before{content:"󱘫"}.mdi-database-export:before{content:"󰥞"}.mdi-database-export-outline:before{content:"󱘬"}.mdi-database-eye:before{content:"󱤟"}.mdi-database-eye-off:before{content:"󱤠"}.mdi-database-eye-off-outline:before{content:"󱤡"}.mdi-database-eye-outline:before{content:"󱤢"}.mdi-database-import:before{content:"󰥝"}.mdi-database-import-outline:before{content:"󱘭"}.mdi-database-lock:before{content:"󰪪"}.mdi-database-lock-outline:before{content:"󱘮"}.mdi-database-marker:before{content:"󱋶"}.mdi-database-marker-outline:before{content:"󱘯"}.mdi-database-minus:before{content:"󰆻"}.mdi-database-minus-outline:before{content:"󱘰"}.mdi-database-off:before{content:"󱙀"}.mdi-database-off-outline:before{content:"󱘱"}.mdi-database-outline:before{content:"󱘲"}.mdi-database-plus:before{content:"󰆺"}.mdi-database-plus-outline:before{content:"󱘳"}.mdi-database-refresh:before{content:"󰗂"}.mdi-database-refresh-outline:before{content:"󱘴"}.mdi-database-remove:before{content:"󰴀"}.mdi-database-remove-outline:before{content:"󱘵"}.mdi-database-search:before{content:"󰡦"}.mdi-database-search-outline:before{content:"󱘶"}.mdi-database-settings:before{content:"󰴁"}.mdi-database-settings-outline:before{content:"󱘷"}.mdi-database-sync:before{content:"󰳿"}.mdi-database-sync-outline:before{content:"󱘸"}.mdi-death-star:before{content:"󰣘"}.mdi-death-star-variant:before{content:"󰣙"}.mdi-deathly-hallows:before{content:"󰮇"}.mdi-debian:before{content:"󰣚"}.mdi-debug-step-into:before{content:"󰆹"}.mdi-debug-step-out:before{content:"󰆸"}.mdi-debug-step-over:before{content:"󰆷"}.mdi-decagram:before{content:"󰝬"}.mdi-decagram-outline:before{content:"󰝭"}.mdi-decimal:before{content:"󱂡"}.mdi-decimal-comma:before{content:"󱂢"}.mdi-decimal-comma-decrease:before{content:"󱂣"}.mdi-decimal-comma-increase:before{content:"󱂤"}.mdi-decimal-decrease:before{content:"󰆶"}.mdi-decimal-increase:before{content:"󰆵"}.mdi-delete:before{content:"󰆴"}.mdi-delete-alert:before{content:"󱂥"}.mdi-delete-alert-outline:before{content:"󱂦"}.mdi-delete-circle:before{content:"󰚃"}.mdi-delete-circle-outline:before{content:"󰮈"}.mdi-delete-clock:before{content:"󱕖"}.mdi-delete-clock-outline:before{content:"󱕗"}.mdi-delete-empty:before{content:"󰛌"}.mdi-delete-empty-outline:before{content:"󰺝"}.mdi-delete-forever:before{content:"󰗨"}.mdi-delete-forever-outline:before{content:"󰮉"}.mdi-delete-off:before{content:"󱂧"}.mdi-delete-off-outline:before{content:"󱂨"}.mdi-delete-outline:before{content:"󰧧"}.mdi-delete-restore:before{content:"󰠙"}.mdi-delete-sweep:before{content:"󰗩"}.mdi-delete-sweep-outline:before{content:"󰱢"}.mdi-delete-variant:before{content:"󰆳"}.mdi-delta:before{content:"󰇂"}.mdi-desk:before{content:"󱈹"}.mdi-desk-lamp:before{content:"󰥟"}.mdi-desk-lamp-off:before{content:"󱬟"}.mdi-desk-lamp-on:before{content:"󱬠"}.mdi-deskphone:before{content:"󰇃"}.mdi-desktop-classic:before{content:"󰟀"}.mdi-desktop-tower:before{content:"󰇅"}.mdi-desktop-tower-monitor:before{content:"󰪫"}.mdi-details:before{content:"󰇆"}.mdi-dev-to:before{content:"󰵮"}.mdi-developer-board:before{content:"󰚗"}.mdi-deviantart:before{content:"󰇇"}.mdi-devices:before{content:"󰾰"}.mdi-dharmachakra:before{content:"󰥋"}.mdi-diabetes:before{content:"󱄦"}.mdi-dialpad:before{content:"󰘜"}.mdi-diameter:before{content:"󰱣"}.mdi-diameter-outline:before{content:"󰱤"}.mdi-diameter-variant:before{content:"󰱥"}.mdi-diamond:before{content:"󰮊"}.mdi-diamond-outline:before{content:"󰮋"}.mdi-diamond-stone:before{content:"󰇈"}.mdi-dice-1:before{content:"󰇊"}.mdi-dice-1-outline:before{content:"󱅊"}.mdi-dice-2:before{content:"󰇋"}.mdi-dice-2-outline:before{content:"󱅋"}.mdi-dice-3:before{content:"󰇌"}.mdi-dice-3-outline:before{content:"󱅌"}.mdi-dice-4:before{content:"󰇍"}.mdi-dice-4-outline:before{content:"󱅍"}.mdi-dice-5:before{content:"󰇎"}.mdi-dice-5-outline:before{content:"󱅎"}.mdi-dice-6:before{content:"󰇏"}.mdi-dice-6-outline:before{content:"󱅏"}.mdi-dice-d10:before{content:"󱅓"}.mdi-dice-d10-outline:before{content:"󰝯"}.mdi-dice-d12:before{content:"󱅔"}.mdi-dice-d12-outline:before{content:"󰡧"}.mdi-dice-d20:before{content:"󱅕"}.mdi-dice-d20-outline:before{content:"󰗪"}.mdi-dice-d4:before{content:"󱅐"}.mdi-dice-d4-outline:before{content:"󰗫"}.mdi-dice-d6:before{content:"󱅑"}.mdi-dice-d6-outline:before{content:"󰗭"}.mdi-dice-d8:before{content:"󱅒"}.mdi-dice-d8-outline:before{content:"󰗬"}.mdi-dice-multiple:before{content:"󰝮"}.mdi-dice-multiple-outline:before{content:"󱅖"}.mdi-digital-ocean:before{content:"󱈷"}.mdi-dip-switch:before{content:"󰟁"}.mdi-directions:before{content:"󰇐"}.mdi-directions-fork:before{content:"󰙁"}.mdi-disc:before{content:"󰗮"}.mdi-disc-alert:before{content:"󰇑"}.mdi-disc-player:before{content:"󰥠"}.mdi-dishwasher:before{content:"󰪬"}.mdi-dishwasher-alert:before{content:"󱆸"}.mdi-dishwasher-off:before{content:"󱆹"}.mdi-disqus:before{content:"󰇒"}.mdi-distribute-horizontal-center:before{content:"󱇉"}.mdi-distribute-horizontal-left:before{content:"󱇈"}.mdi-distribute-horizontal-right:before{content:"󱇊"}.mdi-distribute-vertical-bottom:before{content:"󱇋"}.mdi-distribute-vertical-center:before{content:"󱇌"}.mdi-distribute-vertical-top:before{content:"󱇍"}.mdi-diversify:before{content:"󱡷"}.mdi-diving:before{content:"󱥷"}.mdi-diving-flippers:before{content:"󰶿"}.mdi-diving-helmet:before{content:"󰷀"}.mdi-diving-scuba:before{content:"󱭷"}.mdi-diving-scuba-flag:before{content:"󰷂"}.mdi-diving-scuba-mask:before{content:"󰷁"}.mdi-diving-scuba-tank:before{content:"󰷃"}.mdi-diving-scuba-tank-multiple:before{content:"󰷄"}.mdi-diving-snorkel:before{content:"󰷅"}.mdi-division:before{content:"󰇔"}.mdi-division-box:before{content:"󰇕"}.mdi-dlna:before{content:"󰩁"}.mdi-dna:before{content:"󰚄"}.mdi-dns:before{content:"󰇖"}.mdi-dns-outline:before{content:"󰮌"}.mdi-dock-bottom:before{content:"󱂩"}.mdi-dock-left:before{content:"󱂪"}.mdi-dock-right:before{content:"󱂫"}.mdi-dock-top:before{content:"󱔓"}.mdi-dock-window:before{content:"󱂬"}.mdi-docker:before{content:"󰡨"}.mdi-doctor:before{content:"󰩂"}.mdi-dog:before{content:"󰩃"}.mdi-dog-service:before{content:"󰪭"}.mdi-dog-side:before{content:"󰩄"}.mdi-dog-side-off:before{content:"󱛮"}.mdi-dolby:before{content:"󰚳"}.mdi-dolly:before{content:"󰺞"}.mdi-dolphin:before{content:"󱢴"}.mdi-domain:before{content:"󰇗"}.mdi-domain-off:before{content:"󰵯"}.mdi-domain-plus:before{content:"󱂭"}.mdi-domain-remove:before{content:"󱂮"}.mdi-domain-switch:before{content:"󱰬"}.mdi-dome-light:before{content:"󱐞"}.mdi-domino-mask:before{content:"󱀣"}.mdi-donkey:before{content:"󰟂"}.mdi-door:before{content:"󰠚"}.mdi-door-closed:before{content:"󰠛"}.mdi-door-closed-lock:before{content:"󱂯"}.mdi-door-open:before{content:"󰠜"}.mdi-door-sliding:before{content:"󱠞"}.mdi-door-sliding-lock:before{content:"󱠟"}.mdi-door-sliding-open:before{content:"󱠠"}.mdi-doorbell:before{content:"󱋦"}.mdi-doorbell-video:before{content:"󰡩"}.mdi-dot-net:before{content:"󰪮"}.mdi-dots-circle:before{content:"󱥸"}.mdi-dots-grid:before{content:"󱗼"}.mdi-dots-hexagon:before{content:"󱗿"}.mdi-dots-horizontal:before{content:"󰇘"}.mdi-dots-horizontal-circle:before{content:"󰟃"}.mdi-dots-horizontal-circle-outline:before{content:"󰮍"}.mdi-dots-square:before{content:"󱗽"}.mdi-dots-triangle:before{content:"󱗾"}.mdi-dots-vertical:before{content:"󰇙"}.mdi-dots-vertical-circle:before{content:"󰟄"}.mdi-dots-vertical-circle-outline:before{content:"󰮎"}.mdi-download:before{content:"󰇚"}.mdi-download-box:before{content:"󱑢"}.mdi-download-box-outline:before{content:"󱑣"}.mdi-download-circle:before{content:"󱑤"}.mdi-download-circle-outline:before{content:"󱑥"}.mdi-download-lock:before{content:"󱌠"}.mdi-download-lock-outline:before{content:"󱌡"}.mdi-download-multiple:before{content:"󰧩"}.mdi-download-network:before{content:"󰛴"}.mdi-download-network-outline:before{content:"󰱦"}.mdi-download-off:before{content:"󱂰"}.mdi-download-off-outline:before{content:"󱂱"}.mdi-download-outline:before{content:"󰮏"}.mdi-drag:before{content:"󰇛"}.mdi-drag-horizontal:before{content:"󰇜"}.mdi-drag-horizontal-variant:before{content:"󱋰"}.mdi-drag-variant:before{content:"󰮐"}.mdi-drag-vertical:before{content:"󰇝"}.mdi-drag-vertical-variant:before{content:"󱋱"}.mdi-drama-masks:before{content:"󰴂"}.mdi-draw:before{content:"󰽉"}.mdi-draw-pen:before{content:"󱦹"}.mdi-drawing:before{content:"󰇞"}.mdi-drawing-box:before{content:"󰇟"}.mdi-dresser:before{content:"󰽊"}.mdi-dresser-outline:before{content:"󰽋"}.mdi-drone:before{content:"󰇢"}.mdi-dropbox:before{content:"󰇣"}.mdi-drupal:before{content:"󰇤"}.mdi-duck:before{content:"󰇥"}.mdi-dumbbell:before{content:"󰇦"}.mdi-dump-truck:before{content:"󰱧"}.mdi-ear-hearing:before{content:"󰟅"}.mdi-ear-hearing-loop:before{content:"󱫮"}.mdi-ear-hearing-off:before{content:"󰩅"}.mdi-earbuds:before{content:"󱡏"}.mdi-earbuds-off:before{content:"󱡐"}.mdi-earbuds-off-outline:before{content:"󱡑"}.mdi-earbuds-outline:before{content:"󱡒"}.mdi-earth:before{content:"󰇧"}.mdi-earth-arrow-right:before{content:"󱌑"}.mdi-earth-box:before{content:"󰛍"}.mdi-earth-box-minus:before{content:"󱐇"}.mdi-earth-box-off:before{content:"󰛎"}.mdi-earth-box-plus:before{content:"󱐆"}.mdi-earth-box-remove:before{content:"󱐈"}.mdi-earth-minus:before{content:"󱐄"}.mdi-earth-off:before{content:"󰇨"}.mdi-earth-plus:before{content:"󱐃"}.mdi-earth-remove:before{content:"󱐅"}.mdi-egg:before{content:"󰪯"}.mdi-egg-easter:before{content:"󰪰"}.mdi-egg-fried:before{content:"󱡊"}.mdi-egg-off:before{content:"󱏰"}.mdi-egg-off-outline:before{content:"󱏱"}.mdi-egg-outline:before{content:"󱏲"}.mdi-eiffel-tower:before{content:"󱕫"}.mdi-eight-track:before{content:"󰧪"}.mdi-eject:before{content:"󰇪"}.mdi-eject-circle:before{content:"󱬣"}.mdi-eject-circle-outline:before{content:"󱬤"}.mdi-eject-outline:before{content:"󰮑"}.mdi-electric-switch:before{content:"󰺟"}.mdi-electric-switch-closed:before{content:"󱃙"}.mdi-electron-framework:before{content:"󱀤"}.mdi-elephant:before{content:"󰟆"}.mdi-elevation-decline:before{content:"󰇫"}.mdi-elevation-rise:before{content:"󰇬"}.mdi-elevator:before{content:"󰇭"}.mdi-elevator-down:before{content:"󱋂"}.mdi-elevator-passenger:before{content:"󱎁"}.mdi-elevator-passenger-off:before{content:"󱥹"}.mdi-elevator-passenger-off-outline:before{content:"󱥺"}.mdi-elevator-passenger-outline:before{content:"󱥻"}.mdi-elevator-up:before{content:"󱋁"}.mdi-ellipse:before{content:"󰺠"}.mdi-ellipse-outline:before{content:"󰺡"}.mdi-email:before{content:"󰇮"}.mdi-email-alert:before{content:"󰛏"}.mdi-email-alert-outline:before{content:"󰵂"}.mdi-email-arrow-left:before{content:"󱃚"}.mdi-email-arrow-left-outline:before{content:"󱃛"}.mdi-email-arrow-right:before{content:"󱃜"}.mdi-email-arrow-right-outline:before{content:"󱃝"}.mdi-email-box:before{content:"󰴃"}.mdi-email-check:before{content:"󰪱"}.mdi-email-check-outline:before{content:"󰪲"}.mdi-email-edit:before{content:"󰻣"}.mdi-email-edit-outline:before{content:"󰻤"}.mdi-email-fast:before{content:"󱡯"}.mdi-email-fast-outline:before{content:"󱡰"}.mdi-email-heart-outline:before{content:"󱱛"}.mdi-email-lock:before{content:"󰇱"}.mdi-email-lock-outline:before{content:"󱭡"}.mdi-email-mark-as-unread:before{content:"󰮒"}.mdi-email-minus:before{content:"󰻥"}.mdi-email-minus-outline:before{content:"󰻦"}.mdi-email-multiple:before{content:"󰻧"}.mdi-email-multiple-outline:before{content:"󰻨"}.mdi-email-newsletter:before{content:"󰾱"}.mdi-email-off:before{content:"󱏣"}.mdi-email-off-outline:before{content:"󱏤"}.mdi-email-open:before{content:"󰇯"}.mdi-email-open-heart-outline:before{content:"󱱜"}.mdi-email-open-multiple:before{content:"󰻩"}.mdi-email-open-multiple-outline:before{content:"󰻪"}.mdi-email-open-outline:before{content:"󰗯"}.mdi-email-outline:before{content:"󰇰"}.mdi-email-plus:before{content:"󰧫"}.mdi-email-plus-outline:before{content:"󰧬"}.mdi-email-remove:before{content:"󱙡"}.mdi-email-remove-outline:before{content:"󱙢"}.mdi-email-seal:before{content:"󱥛"}.mdi-email-seal-outline:before{content:"󱥜"}.mdi-email-search:before{content:"󰥡"}.mdi-email-search-outline:before{content:"󰥢"}.mdi-email-sync:before{content:"󱋇"}.mdi-email-sync-outline:before{content:"󱋈"}.mdi-email-variant:before{content:"󰗰"}.mdi-ember:before{content:"󰬰"}.mdi-emby:before{content:"󰚴"}.mdi-emoticon:before{content:"󰱨"}.mdi-emoticon-angry:before{content:"󰱩"}.mdi-emoticon-angry-outline:before{content:"󰱪"}.mdi-emoticon-confused:before{content:"󱃞"}.mdi-emoticon-confused-outline:before{content:"󱃟"}.mdi-emoticon-cool:before{content:"󰱫"}.mdi-emoticon-cool-outline:before{content:"󰇳"}.mdi-emoticon-cry:before{content:"󰱬"}.mdi-emoticon-cry-outline:before{content:"󰱭"}.mdi-emoticon-dead:before{content:"󰱮"}.mdi-emoticon-dead-outline:before{content:"󰚛"}.mdi-emoticon-devil:before{content:"󰱯"}.mdi-emoticon-devil-outline:before{content:"󰇴"}.mdi-emoticon-excited:before{content:"󰱰"}.mdi-emoticon-excited-outline:before{content:"󰚜"}.mdi-emoticon-frown:before{content:"󰽌"}.mdi-emoticon-frown-outline:before{content:"󰽍"}.mdi-emoticon-happy:before{content:"󰱱"}.mdi-emoticon-happy-outline:before{content:"󰇵"}.mdi-emoticon-kiss:before{content:"󰱲"}.mdi-emoticon-kiss-outline:before{content:"󰱳"}.mdi-emoticon-lol:before{content:"󱈔"}.mdi-emoticon-lol-outline:before{content:"󱈕"}.mdi-emoticon-neutral:before{content:"󰱴"}.mdi-emoticon-neutral-outline:before{content:"󰇶"}.mdi-emoticon-outline:before{content:"󰇲"}.mdi-emoticon-poop:before{content:"󰇷"}.mdi-emoticon-poop-outline:before{content:"󰱵"}.mdi-emoticon-sad:before{content:"󰱶"}.mdi-emoticon-sad-outline:before{content:"󰇸"}.mdi-emoticon-sick:before{content:"󱕼"}.mdi-emoticon-sick-outline:before{content:"󱕽"}.mdi-emoticon-tongue:before{content:"󰇹"}.mdi-emoticon-tongue-outline:before{content:"󰱷"}.mdi-emoticon-wink:before{content:"󰱸"}.mdi-emoticon-wink-outline:before{content:"󰱹"}.mdi-engine:before{content:"󰇺"}.mdi-engine-off:before{content:"󰩆"}.mdi-engine-off-outline:before{content:"󰩇"}.mdi-engine-outline:before{content:"󰇻"}.mdi-epsilon:before{content:"󱃠"}.mdi-equal:before{content:"󰇼"}.mdi-equal-box:before{content:"󰇽"}.mdi-equalizer:before{content:"󰺢"}.mdi-equalizer-outline:before{content:"󰺣"}.mdi-eraser:before{content:"󰇾"}.mdi-eraser-variant:before{content:"󰙂"}.mdi-escalator:before{content:"󰇿"}.mdi-escalator-box:before{content:"󱎙"}.mdi-escalator-down:before{content:"󱋀"}.mdi-escalator-up:before{content:"󱊿"}.mdi-eslint:before{content:"󰱺"}.mdi-et:before{content:"󰪳"}.mdi-ethereum:before{content:"󰡪"}.mdi-ethernet:before{content:"󰈀"}.mdi-ethernet-cable:before{content:"󰈁"}.mdi-ethernet-cable-off:before{content:"󰈂"}.mdi-ev-plug-ccs1:before{content:"󱔙"}.mdi-ev-plug-ccs2:before{content:"󱔚"}.mdi-ev-plug-chademo:before{content:"󱔛"}.mdi-ev-plug-tesla:before{content:"󱔜"}.mdi-ev-plug-type1:before{content:"󱔝"}.mdi-ev-plug-type2:before{content:"󱔞"}.mdi-ev-station:before{content:"󰗱"}.mdi-evernote:before{content:"󰈄"}.mdi-excavator:before{content:"󱀥"}.mdi-exclamation:before{content:"󰈅"}.mdi-exclamation-thick:before{content:"󱈸"}.mdi-exit-run:before{content:"󰩈"}.mdi-exit-to-app:before{content:"󰈆"}.mdi-expand-all:before{content:"󰪴"}.mdi-expand-all-outline:before{content:"󰪵"}.mdi-expansion-card:before{content:"󰢮"}.mdi-expansion-card-variant:before{content:"󰾲"}.mdi-exponent:before{content:"󰥣"}.mdi-exponent-box:before{content:"󰥤"}.mdi-export:before{content:"󰈇"}.mdi-export-variant:before{content:"󰮓"}.mdi-eye:before{content:"󰈈"}.mdi-eye-arrow-left:before{content:"󱣽"}.mdi-eye-arrow-left-outline:before{content:"󱣾"}.mdi-eye-arrow-right:before{content:"󱣿"}.mdi-eye-arrow-right-outline:before{content:"󱤀"}.mdi-eye-check:before{content:"󰴄"}.mdi-eye-check-outline:before{content:"󰴅"}.mdi-eye-circle:before{content:"󰮔"}.mdi-eye-circle-outline:before{content:"󰮕"}.mdi-eye-lock:before{content:"󱰆"}.mdi-eye-lock-open:before{content:"󱰇"}.mdi-eye-lock-open-outline:before{content:"󱰈"}.mdi-eye-lock-outline:before{content:"󱰉"}.mdi-eye-minus:before{content:"󱀦"}.mdi-eye-minus-outline:before{content:"󱀧"}.mdi-eye-off:before{content:"󰈉"}.mdi-eye-off-outline:before{content:"󰛑"}.mdi-eye-outline:before{content:"󰛐"}.mdi-eye-plus:before{content:"󰡫"}.mdi-eye-plus-outline:before{content:"󰡬"}.mdi-eye-refresh:before{content:"󱥼"}.mdi-eye-refresh-outline:before{content:"󱥽"}.mdi-eye-remove:before{content:"󱗣"}.mdi-eye-remove-outline:before{content:"󱗤"}.mdi-eye-settings:before{content:"󰡭"}.mdi-eye-settings-outline:before{content:"󰡮"}.mdi-eyedropper:before{content:"󰈊"}.mdi-eyedropper-minus:before{content:"󱏝"}.mdi-eyedropper-off:before{content:"󱏟"}.mdi-eyedropper-plus:before{content:"󱏜"}.mdi-eyedropper-remove:before{content:"󱏞"}.mdi-eyedropper-variant:before{content:"󰈋"}.mdi-face-agent:before{content:"󰵰"}.mdi-face-man:before{content:"󰙃"}.mdi-face-man-outline:before{content:"󰮖"}.mdi-face-man-profile:before{content:"󰙄"}.mdi-face-man-shimmer:before{content:"󱗌"}.mdi-face-man-shimmer-outline:before{content:"󱗍"}.mdi-face-mask:before{content:"󱖆"}.mdi-face-mask-outline:before{content:"󱖇"}.mdi-face-recognition:before{content:"󰱻"}.mdi-face-woman:before{content:"󱁷"}.mdi-face-woman-outline:before{content:"󱁸"}.mdi-face-woman-profile:before{content:"󱁶"}.mdi-face-woman-shimmer:before{content:"󱗎"}.mdi-face-woman-shimmer-outline:before{content:"󱗏"}.mdi-facebook:before{content:"󰈌"}.mdi-facebook-gaming:before{content:"󰟝"}.mdi-facebook-messenger:before{content:"󰈎"}.mdi-facebook-workplace:before{content:"󰬱"}.mdi-factory:before{content:"󰈏"}.mdi-family-tree:before{content:"󱘎"}.mdi-fan:before{content:"󰈐"}.mdi-fan-alert:before{content:"󱑬"}.mdi-fan-auto:before{content:"󱜝"}.mdi-fan-chevron-down:before{content:"󱑭"}.mdi-fan-chevron-up:before{content:"󱑮"}.mdi-fan-clock:before{content:"󱨺"}.mdi-fan-minus:before{content:"󱑰"}.mdi-fan-off:before{content:"󰠝"}.mdi-fan-plus:before{content:"󱑯"}.mdi-fan-remove:before{content:"󱑱"}.mdi-fan-speed-1:before{content:"󱑲"}.mdi-fan-speed-2:before{content:"󱑳"}.mdi-fan-speed-3:before{content:"󱑴"}.mdi-fast-forward:before{content:"󰈑"}.mdi-fast-forward-10:before{content:"󰵱"}.mdi-fast-forward-15:before{content:"󱤺"}.mdi-fast-forward-30:before{content:"󰴆"}.mdi-fast-forward-45:before{content:"󱬒"}.mdi-fast-forward-5:before{content:"󱇸"}.mdi-fast-forward-60:before{content:"󱘋"}.mdi-fast-forward-outline:before{content:"󰛒"}.mdi-faucet:before{content:"󱬩"}.mdi-faucet-variant:before{content:"󱬪"}.mdi-fax:before{content:"󰈒"}.mdi-feather:before{content:"󰛓"}.mdi-feature-search:before{content:"󰩉"}.mdi-feature-search-outline:before{content:"󰩊"}.mdi-fedora:before{content:"󰣛"}.mdi-fence:before{content:"󱞚"}.mdi-fence-electric:before{content:"󱟶"}.mdi-fencing:before{content:"󱓁"}.mdi-ferris-wheel:before{content:"󰺤"}.mdi-ferry:before{content:"󰈓"}.mdi-file:before{content:"󰈔"}.mdi-file-account:before{content:"󰜻"}.mdi-file-account-outline:before{content:"󱀨"}.mdi-file-alert:before{content:"󰩋"}.mdi-file-alert-outline:before{content:"󰩌"}.mdi-file-arrow-left-right:before{content:"󱪓"}.mdi-file-arrow-left-right-outline:before{content:"󱪔"}.mdi-file-arrow-up-down:before{content:"󱪕"}.mdi-file-arrow-up-down-outline:before{content:"󱪖"}.mdi-file-cabinet:before{content:"󰪶"}.mdi-file-cad:before{content:"󰻫"}.mdi-file-cad-box:before{content:"󰻬"}.mdi-file-cancel:before{content:"󰷆"}.mdi-file-cancel-outline:before{content:"󰷇"}.mdi-file-certificate:before{content:"󱆆"}.mdi-file-certificate-outline:before{content:"󱆇"}.mdi-file-chart:before{content:"󰈕"}.mdi-file-chart-check:before{content:"󱧆"}.mdi-file-chart-check-outline:before{content:"󱧇"}.mdi-file-chart-outline:before{content:"󱀩"}.mdi-file-check:before{content:"󰈖"}.mdi-file-check-outline:before{content:"󰸩"}.mdi-file-clock:before{content:"󱋡"}.mdi-file-clock-outline:before{content:"󱋢"}.mdi-file-cloud:before{content:"󰈗"}.mdi-file-cloud-outline:before{content:"󱀪"}.mdi-file-code:before{content:"󰈮"}.mdi-file-code-outline:before{content:"󱀫"}.mdi-file-cog:before{content:"󱁻"}.mdi-file-cog-outline:before{content:"󱁼"}.mdi-file-compare:before{content:"󰢪"}.mdi-file-delimited:before{content:"󰈘"}.mdi-file-delimited-outline:before{content:"󰺥"}.mdi-file-document:before{content:"󰈙"}.mdi-file-document-alert:before{content:"󱪗"}.mdi-file-document-alert-outline:before{content:"󱪘"}.mdi-file-document-arrow-right:before{content:"󱰏"}.mdi-file-document-arrow-right-outline:before{content:"󱰐"}.mdi-file-document-check:before{content:"󱪙"}.mdi-file-document-check-outline:before{content:"󱪚"}.mdi-file-document-edit:before{content:"󰷈"}.mdi-file-document-edit-outline:before{content:"󰷉"}.mdi-file-document-minus:before{content:"󱪛"}.mdi-file-document-minus-outline:before{content:"󱪜"}.mdi-file-document-multiple:before{content:"󱔗"}.mdi-file-document-multiple-outline:before{content:"󱔘"}.mdi-file-document-outline:before{content:"󰧮"}.mdi-file-document-plus:before{content:"󱪝"}.mdi-file-document-plus-outline:before{content:"󱪞"}.mdi-file-document-refresh:before{content:"󱱺"}.mdi-file-document-refresh-outline:before{content:"󱱻"}.mdi-file-document-remove:before{content:"󱪟"}.mdi-file-document-remove-outline:before{content:"󱪠"}.mdi-file-download:before{content:"󰥥"}.mdi-file-download-outline:before{content:"󰥦"}.mdi-file-edit:before{content:"󱇧"}.mdi-file-edit-outline:before{content:"󱇨"}.mdi-file-excel:before{content:"󰈛"}.mdi-file-excel-box:before{content:"󰈜"}.mdi-file-excel-box-outline:before{content:"󱀬"}.mdi-file-excel-outline:before{content:"󱀭"}.mdi-file-export:before{content:"󰈝"}.mdi-file-export-outline:before{content:"󱀮"}.mdi-file-eye:before{content:"󰷊"}.mdi-file-eye-outline:before{content:"󰷋"}.mdi-file-find:before{content:"󰈞"}.mdi-file-find-outline:before{content:"󰮗"}.mdi-file-gif-box:before{content:"󰵸"}.mdi-file-hidden:before{content:"󰘓"}.mdi-file-image:before{content:"󰈟"}.mdi-file-image-marker:before{content:"󱝲"}.mdi-file-image-marker-outline:before{content:"󱝳"}.mdi-file-image-minus:before{content:"󱤻"}.mdi-file-image-minus-outline:before{content:"󱤼"}.mdi-file-image-outline:before{content:"󰺰"}.mdi-file-image-plus:before{content:"󱤽"}.mdi-file-image-plus-outline:before{content:"󱤾"}.mdi-file-image-remove:before{content:"󱤿"}.mdi-file-image-remove-outline:before{content:"󱥀"}.mdi-file-import:before{content:"󰈠"}.mdi-file-import-outline:before{content:"󱀯"}.mdi-file-jpg-box:before{content:"󰈥"}.mdi-file-key:before{content:"󱆄"}.mdi-file-key-outline:before{content:"󱆅"}.mdi-file-link:before{content:"󱅷"}.mdi-file-link-outline:before{content:"󱅸"}.mdi-file-lock:before{content:"󰈡"}.mdi-file-lock-open:before{content:"󱧈"}.mdi-file-lock-open-outline:before{content:"󱧉"}.mdi-file-lock-outline:before{content:"󱀰"}.mdi-file-marker:before{content:"󱝴"}.mdi-file-marker-outline:before{content:"󱝵"}.mdi-file-minus:before{content:"󱪡"}.mdi-file-minus-outline:before{content:"󱪢"}.mdi-file-move:before{content:"󰪹"}.mdi-file-move-outline:before{content:"󱀱"}.mdi-file-multiple:before{content:"󰈢"}.mdi-file-multiple-outline:before{content:"󱀲"}.mdi-file-music:before{content:"󰈣"}.mdi-file-music-outline:before{content:"󰸪"}.mdi-file-outline:before{content:"󰈤"}.mdi-file-pdf-box:before{content:"󰈦"}.mdi-file-percent:before{content:"󰠞"}.mdi-file-percent-outline:before{content:"󱀳"}.mdi-file-phone:before{content:"󱅹"}.mdi-file-phone-outline:before{content:"󱅺"}.mdi-file-plus:before{content:"󰝒"}.mdi-file-plus-outline:before{content:"󰻭"}.mdi-file-png-box:before{content:"󰸭"}.mdi-file-powerpoint:before{content:"󰈧"}.mdi-file-powerpoint-box:before{content:"󰈨"}.mdi-file-powerpoint-box-outline:before{content:"󱀴"}.mdi-file-powerpoint-outline:before{content:"󱀵"}.mdi-file-presentation-box:before{content:"󰈩"}.mdi-file-question:before{content:"󰡯"}.mdi-file-question-outline:before{content:"󱀶"}.mdi-file-refresh:before{content:"󰤘"}.mdi-file-refresh-outline:before{content:"󰕁"}.mdi-file-remove:before{content:"󰮘"}.mdi-file-remove-outline:before{content:"󱀷"}.mdi-file-replace:before{content:"󰬲"}.mdi-file-replace-outline:before{content:"󰬳"}.mdi-file-restore:before{content:"󰙰"}.mdi-file-restore-outline:before{content:"󱀸"}.mdi-file-rotate-left:before{content:"󱨻"}.mdi-file-rotate-left-outline:before{content:"󱨼"}.mdi-file-rotate-right:before{content:"󱨽"}.mdi-file-rotate-right-outline:before{content:"󱨾"}.mdi-file-search:before{content:"󰱼"}.mdi-file-search-outline:before{content:"󰱽"}.mdi-file-send:before{content:"󰈪"}.mdi-file-send-outline:before{content:"󱀹"}.mdi-file-settings:before{content:"󱁹"}.mdi-file-settings-outline:before{content:"󱁺"}.mdi-file-sign:before{content:"󱧃"}.mdi-file-star:before{content:"󱀺"}.mdi-file-star-four-points:before{content:"󱰭"}.mdi-file-star-four-points-outline:before{content:"󱰮"}.mdi-file-star-outline:before{content:"󱀻"}.mdi-file-swap:before{content:"󰾴"}.mdi-file-swap-outline:before{content:"󰾵"}.mdi-file-sync:before{content:"󱈖"}.mdi-file-sync-outline:before{content:"󱈗"}.mdi-file-table:before{content:"󰱾"}.mdi-file-table-box:before{content:"󱃡"}.mdi-file-table-box-multiple:before{content:"󱃢"}.mdi-file-table-box-multiple-outline:before{content:"󱃣"}.mdi-file-table-box-outline:before{content:"󱃤"}.mdi-file-table-outline:before{content:"󰱿"}.mdi-file-tree:before{content:"󰙅"}.mdi-file-tree-outline:before{content:"󱏒"}.mdi-file-undo:before{content:"󰣜"}.mdi-file-undo-outline:before{content:"󱀼"}.mdi-file-upload:before{content:"󰩍"}.mdi-file-upload-outline:before{content:"󰩎"}.mdi-file-video:before{content:"󰈫"}.mdi-file-video-outline:before{content:"󰸬"}.mdi-file-word:before{content:"󰈬"}.mdi-file-word-box:before{content:"󰈭"}.mdi-file-word-box-outline:before{content:"󱀽"}.mdi-file-word-outline:before{content:"󱀾"}.mdi-file-xml-box:before{content:"󱭋"}.mdi-film:before{content:"󰈯"}.mdi-filmstrip:before{content:"󰈰"}.mdi-filmstrip-box:before{content:"󰌲"}.mdi-filmstrip-box-multiple:before{content:"󰴘"}.mdi-filmstrip-off:before{content:"󰈱"}.mdi-filter:before{content:"󰈲"}.mdi-filter-check:before{content:"󱣬"}.mdi-filter-check-outline:before{content:"󱣭"}.mdi-filter-cog:before{content:"󱪣"}.mdi-filter-cog-outline:before{content:"󱪤"}.mdi-filter-menu:before{content:"󱃥"}.mdi-filter-menu-outline:before{content:"󱃦"}.mdi-filter-minus:before{content:"󰻮"}.mdi-filter-minus-outline:before{content:"󰻯"}.mdi-filter-multiple:before{content:"󱨿"}.mdi-filter-multiple-outline:before{content:"󱩀"}.mdi-filter-off:before{content:"󱓯"}.mdi-filter-off-outline:before{content:"󱓰"}.mdi-filter-outline:before{content:"󰈳"}.mdi-filter-plus:before{content:"󰻰"}.mdi-filter-plus-outline:before{content:"󰻱"}.mdi-filter-remove:before{content:"󰈴"}.mdi-filter-remove-outline:before{content:"󰈵"}.mdi-filter-settings:before{content:"󱪥"}.mdi-filter-settings-outline:before{content:"󱪦"}.mdi-filter-variant:before{content:"󰈶"}.mdi-filter-variant-minus:before{content:"󱄒"}.mdi-filter-variant-plus:before{content:"󱄓"}.mdi-filter-variant-remove:before{content:"󱀿"}.mdi-finance:before{content:"󰠟"}.mdi-find-replace:before{content:"󰛔"}.mdi-fingerprint:before{content:"󰈷"}.mdi-fingerprint-off:before{content:"󰺱"}.mdi-fire:before{content:"󰈸"}.mdi-fire-alert:before{content:"󱗗"}.mdi-fire-circle:before{content:"󱠇"}.mdi-fire-extinguisher:before{content:"󰻲"}.mdi-fire-hydrant:before{content:"󱄷"}.mdi-fire-hydrant-alert:before{content:"󱄸"}.mdi-fire-hydrant-off:before{content:"󱄹"}.mdi-fire-off:before{content:"󱜢"}.mdi-fire-truck:before{content:"󰢫"}.mdi-firebase:before{content:"󰥧"}.mdi-firefox:before{content:"󰈹"}.mdi-fireplace:before{content:"󰸮"}.mdi-fireplace-off:before{content:"󰸯"}.mdi-firewire:before{content:"󰖾"}.mdi-firework:before{content:"󰸰"}.mdi-firework-off:before{content:"󱜣"}.mdi-fish:before{content:"󰈺"}.mdi-fish-off:before{content:"󱏳"}.mdi-fishbowl:before{content:"󰻳"}.mdi-fishbowl-outline:before{content:"󰻴"}.mdi-fit-to-page:before{content:"󰻵"}.mdi-fit-to-page-outline:before{content:"󰻶"}.mdi-fit-to-screen:before{content:"󱣴"}.mdi-fit-to-screen-outline:before{content:"󱣵"}.mdi-flag:before{content:"󰈻"}.mdi-flag-checkered:before{content:"󰈼"}.mdi-flag-minus:before{content:"󰮙"}.mdi-flag-minus-outline:before{content:"󱂲"}.mdi-flag-off:before{content:"󱣮"}.mdi-flag-off-outline:before{content:"󱣯"}.mdi-flag-outline:before{content:"󰈽"}.mdi-flag-plus:before{content:"󰮚"}.mdi-flag-plus-outline:before{content:"󱂳"}.mdi-flag-remove:before{content:"󰮛"}.mdi-flag-remove-outline:before{content:"󱂴"}.mdi-flag-triangle:before{content:"󰈿"}.mdi-flag-variant:before{content:"󰉀"}.mdi-flag-variant-minus:before{content:"󱮴"}.mdi-flag-variant-minus-outline:before{content:"󱮵"}.mdi-flag-variant-off:before{content:"󱮰"}.mdi-flag-variant-off-outline:before{content:"󱮱"}.mdi-flag-variant-outline:before{content:"󰈾"}.mdi-flag-variant-plus:before{content:"󱮲"}.mdi-flag-variant-plus-outline:before{content:"󱮳"}.mdi-flag-variant-remove:before{content:"󱮶"}.mdi-flag-variant-remove-outline:before{content:"󱮷"}.mdi-flare:before{content:"󰵲"}.mdi-flash:before{content:"󰉁"}.mdi-flash-alert:before{content:"󰻷"}.mdi-flash-alert-outline:before{content:"󰻸"}.mdi-flash-auto:before{content:"󰉂"}.mdi-flash-off:before{content:"󰉃"}.mdi-flash-off-outline:before{content:"󱭅"}.mdi-flash-outline:before{content:"󰛕"}.mdi-flash-red-eye:before{content:"󰙻"}.mdi-flash-triangle:before{content:"󱬝"}.mdi-flash-triangle-outline:before{content:"󱬞"}.mdi-flashlight:before{content:"󰉄"}.mdi-flashlight-off:before{content:"󰉅"}.mdi-flask:before{content:"󰂓"}.mdi-flask-empty:before{content:"󰂔"}.mdi-flask-empty-minus:before{content:"󱈺"}.mdi-flask-empty-minus-outline:before{content:"󱈻"}.mdi-flask-empty-off:before{content:"󱏴"}.mdi-flask-empty-off-outline:before{content:"󱏵"}.mdi-flask-empty-outline:before{content:"󰂕"}.mdi-flask-empty-plus:before{content:"󱈼"}.mdi-flask-empty-plus-outline:before{content:"󱈽"}.mdi-flask-empty-remove:before{content:"󱈾"}.mdi-flask-empty-remove-outline:before{content:"󱈿"}.mdi-flask-minus:before{content:"󱉀"}.mdi-flask-minus-outline:before{content:"󱉁"}.mdi-flask-off:before{content:"󱏶"}.mdi-flask-off-outline:before{content:"󱏷"}.mdi-flask-outline:before{content:"󰂖"}.mdi-flask-plus:before{content:"󱉂"}.mdi-flask-plus-outline:before{content:"󱉃"}.mdi-flask-remove:before{content:"󱉄"}.mdi-flask-remove-outline:before{content:"󱉅"}.mdi-flask-round-bottom:before{content:"󱉋"}.mdi-flask-round-bottom-empty:before{content:"󱉌"}.mdi-flask-round-bottom-empty-outline:before{content:"󱉍"}.mdi-flask-round-bottom-outline:before{content:"󱉎"}.mdi-fleur-de-lis:before{content:"󱌃"}.mdi-flip-horizontal:before{content:"󱃧"}.mdi-flip-to-back:before{content:"󰉇"}.mdi-flip-to-front:before{content:"󰉈"}.mdi-flip-vertical:before{content:"󱃨"}.mdi-floor-lamp:before{content:"󰣝"}.mdi-floor-lamp-dual:before{content:"󱁀"}.mdi-floor-lamp-dual-outline:before{content:"󱟎"}.mdi-floor-lamp-outline:before{content:"󱟈"}.mdi-floor-lamp-torchiere:before{content:"󱝇"}.mdi-floor-lamp-torchiere-outline:before{content:"󱟖"}.mdi-floor-lamp-torchiere-variant:before{content:"󱁁"}.mdi-floor-lamp-torchiere-variant-outline:before{content:"󱟏"}.mdi-floor-plan:before{content:"󰠡"}.mdi-floppy:before{content:"󰉉"}.mdi-floppy-variant:before{content:"󰧯"}.mdi-flower:before{content:"󰉊"}.mdi-flower-outline:before{content:"󰧰"}.mdi-flower-pollen:before{content:"󱢅"}.mdi-flower-pollen-outline:before{content:"󱢆"}.mdi-flower-poppy:before{content:"󰴈"}.mdi-flower-tulip:before{content:"󰧱"}.mdi-flower-tulip-outline:before{content:"󰧲"}.mdi-focus-auto:before{content:"󰽎"}.mdi-focus-field:before{content:"󰽏"}.mdi-focus-field-horizontal:before{content:"󰽐"}.mdi-focus-field-vertical:before{content:"󰽑"}.mdi-folder:before{content:"󰉋"}.mdi-folder-account:before{content:"󰉌"}.mdi-folder-account-outline:before{content:"󰮜"}.mdi-folder-alert:before{content:"󰷌"}.mdi-folder-alert-outline:before{content:"󰷍"}.mdi-folder-arrow-down:before{content:"󱧨"}.mdi-folder-arrow-down-outline:before{content:"󱧩"}.mdi-folder-arrow-left:before{content:"󱧪"}.mdi-folder-arrow-left-outline:before{content:"󱧫"}.mdi-folder-arrow-left-right:before{content:"󱧬"}.mdi-folder-arrow-left-right-outline:before{content:"󱧭"}.mdi-folder-arrow-right:before{content:"󱧮"}.mdi-folder-arrow-right-outline:before{content:"󱧯"}.mdi-folder-arrow-up:before{content:"󱧰"}.mdi-folder-arrow-up-down:before{content:"󱧱"}.mdi-folder-arrow-up-down-outline:before{content:"󱧲"}.mdi-folder-arrow-up-outline:before{content:"󱧳"}.mdi-folder-cancel:before{content:"󱧴"}.mdi-folder-cancel-outline:before{content:"󱧵"}.mdi-folder-check:before{content:"󱥾"}.mdi-folder-check-outline:before{content:"󱥿"}.mdi-folder-clock:before{content:"󰪺"}.mdi-folder-clock-outline:before{content:"󰪻"}.mdi-folder-cog:before{content:"󱁿"}.mdi-folder-cog-outline:before{content:"󱂀"}.mdi-folder-download:before{content:"󰉍"}.mdi-folder-download-outline:before{content:"󱃩"}.mdi-folder-edit:before{content:"󰣞"}.mdi-folder-edit-outline:before{content:"󰷎"}.mdi-folder-eye:before{content:"󱞊"}.mdi-folder-eye-outline:before{content:"󱞋"}.mdi-folder-file:before{content:"󱧶"}.mdi-folder-file-outline:before{content:"󱧷"}.mdi-folder-google-drive:before{content:"󰉎"}.mdi-folder-heart:before{content:"󱃪"}.mdi-folder-heart-outline:before{content:"󱃫"}.mdi-folder-hidden:before{content:"󱞞"}.mdi-folder-home:before{content:"󱂵"}.mdi-folder-home-outline:before{content:"󱂶"}.mdi-folder-image:before{content:"󰉏"}.mdi-folder-information:before{content:"󱂷"}.mdi-folder-information-outline:before{content:"󱂸"}.mdi-folder-key:before{content:"󰢬"}.mdi-folder-key-network:before{content:"󰢭"}.mdi-folder-key-network-outline:before{content:"󰲀"}.mdi-folder-key-outline:before{content:"󱃬"}.mdi-folder-lock:before{content:"󰉐"}.mdi-folder-lock-open:before{content:"󰉑"}.mdi-folder-lock-open-outline:before{content:"󱪧"}.mdi-folder-lock-outline:before{content:"󱪨"}.mdi-folder-marker:before{content:"󱉭"}.mdi-folder-marker-outline:before{content:"󱉮"}.mdi-folder-minus:before{content:"󱭉"}.mdi-folder-minus-outline:before{content:"󱭊"}.mdi-folder-move:before{content:"󰉒"}.mdi-folder-move-outline:before{content:"󱉆"}.mdi-folder-multiple:before{content:"󰉓"}.mdi-folder-multiple-image:before{content:"󰉔"}.mdi-folder-multiple-outline:before{content:"󰉕"}.mdi-folder-multiple-plus:before{content:"󱑾"}.mdi-folder-multiple-plus-outline:before{content:"󱑿"}.mdi-folder-music:before{content:"󱍙"}.mdi-folder-music-outline:before{content:"󱍚"}.mdi-folder-network:before{content:"󰡰"}.mdi-folder-network-outline:before{content:"󰲁"}.mdi-folder-off:before{content:"󱧸"}.mdi-folder-off-outline:before{content:"󱧹"}.mdi-folder-open:before{content:"󰝰"}.mdi-folder-open-outline:before{content:"󰷏"}.mdi-folder-outline:before{content:"󰉖"}.mdi-folder-play:before{content:"󱧺"}.mdi-folder-play-outline:before{content:"󱧻"}.mdi-folder-plus:before{content:"󰉗"}.mdi-folder-plus-outline:before{content:"󰮝"}.mdi-folder-pound:before{content:"󰴉"}.mdi-folder-pound-outline:before{content:"󰴊"}.mdi-folder-question:before{content:"󱧊"}.mdi-folder-question-outline:before{content:"󱧋"}.mdi-folder-refresh:before{content:"󰝉"}.mdi-folder-refresh-outline:before{content:"󰕂"}.mdi-folder-remove:before{content:"󰉘"}.mdi-folder-remove-outline:before{content:"󰮞"}.mdi-folder-search:before{content:"󰥨"}.mdi-folder-search-outline:before{content:"󰥩"}.mdi-folder-settings:before{content:"󱁽"}.mdi-folder-settings-outline:before{content:"󱁾"}.mdi-folder-star:before{content:"󰚝"}.mdi-folder-star-multiple:before{content:"󱏓"}.mdi-folder-star-multiple-outline:before{content:"󱏔"}.mdi-folder-star-outline:before{content:"󰮟"}.mdi-folder-swap:before{content:"󰾶"}.mdi-folder-swap-outline:before{content:"󰾷"}.mdi-folder-sync:before{content:"󰴋"}.mdi-folder-sync-outline:before{content:"󰴌"}.mdi-folder-table:before{content:"󱋣"}.mdi-folder-table-outline:before{content:"󱋤"}.mdi-folder-text:before{content:"󰲂"}.mdi-folder-text-outline:before{content:"󰲃"}.mdi-folder-upload:before{content:"󰉙"}.mdi-folder-upload-outline:before{content:"󱃭"}.mdi-folder-wrench:before{content:"󱧼"}.mdi-folder-wrench-outline:before{content:"󱧽"}.mdi-folder-zip:before{content:"󰛫"}.mdi-folder-zip-outline:before{content:"󰞹"}.mdi-font-awesome:before{content:"󰀺"}.mdi-food:before{content:"󰉚"}.mdi-food-apple:before{content:"󰉛"}.mdi-food-apple-outline:before{content:"󰲄"}.mdi-food-croissant:before{content:"󰟈"}.mdi-food-drumstick:before{content:"󱐟"}.mdi-food-drumstick-off:before{content:"󱑨"}.mdi-food-drumstick-off-outline:before{content:"󱑩"}.mdi-food-drumstick-outline:before{content:"󱐠"}.mdi-food-fork-drink:before{content:"󰗲"}.mdi-food-halal:before{content:"󱕲"}.mdi-food-hot-dog:before{content:"󱡋"}.mdi-food-kosher:before{content:"󱕳"}.mdi-food-off:before{content:"󰗳"}.mdi-food-off-outline:before{content:"󱤕"}.mdi-food-outline:before{content:"󱤖"}.mdi-food-steak:before{content:"󱑪"}.mdi-food-steak-off:before{content:"󱑫"}.mdi-food-takeout-box:before{content:"󱠶"}.mdi-food-takeout-box-outline:before{content:"󱠷"}.mdi-food-turkey:before{content:"󱜜"}.mdi-food-variant:before{content:"󰉜"}.mdi-food-variant-off:before{content:"󱏥"}.mdi-foot-print:before{content:"󰽒"}.mdi-football:before{content:"󰉝"}.mdi-football-australian:before{content:"󰉞"}.mdi-football-helmet:before{content:"󰉟"}.mdi-forest:before{content:"󱢗"}.mdi-forest-outline:before{content:"󱱣"}.mdi-forklift:before{content:"󰟉"}.mdi-form-dropdown:before{content:"󱐀"}.mdi-form-select:before{content:"󱐁"}.mdi-form-textarea:before{content:"󱂕"}.mdi-form-textbox:before{content:"󰘎"}.mdi-form-textbox-lock:before{content:"󱍝"}.mdi-form-textbox-password:before{content:"󰟵"}.mdi-format-align-bottom:before{content:"󰝓"}.mdi-format-align-center:before{content:"󰉠"}.mdi-format-align-justify:before{content:"󰉡"}.mdi-format-align-left:before{content:"󰉢"}.mdi-format-align-middle:before{content:"󰝔"}.mdi-format-align-right:before{content:"󰉣"}.mdi-format-align-top:before{content:"󰝕"}.mdi-format-annotation-minus:before{content:"󰪼"}.mdi-format-annotation-plus:before{content:"󰙆"}.mdi-format-bold:before{content:"󰉤"}.mdi-format-clear:before{content:"󰉥"}.mdi-format-color-fill:before{content:"󰉦"}.mdi-format-color-highlight:before{content:"󰸱"}.mdi-format-color-marker-cancel:before{content:"󱌓"}.mdi-format-color-text:before{content:"󰚞"}.mdi-format-columns:before{content:"󰣟"}.mdi-format-float-center:before{content:"󰉧"}.mdi-format-float-left:before{content:"󰉨"}.mdi-format-float-none:before{content:"󰉩"}.mdi-format-float-right:before{content:"󰉪"}.mdi-format-font:before{content:"󰛖"}.mdi-format-font-size-decrease:before{content:"󰧳"}.mdi-format-font-size-increase:before{content:"󰧴"}.mdi-format-header-1:before{content:"󰉫"}.mdi-format-header-2:before{content:"󰉬"}.mdi-format-header-3:before{content:"󰉭"}.mdi-format-header-4:before{content:"󰉮"}.mdi-format-header-5:before{content:"󰉯"}.mdi-format-header-6:before{content:"󰉰"}.mdi-format-header-decrease:before{content:"󰉱"}.mdi-format-header-equal:before{content:"󰉲"}.mdi-format-header-increase:before{content:"󰉳"}.mdi-format-header-pound:before{content:"󰉴"}.mdi-format-horizontal-align-center:before{content:"󰘞"}.mdi-format-horizontal-align-left:before{content:"󰘟"}.mdi-format-horizontal-align-right:before{content:"󰘠"}.mdi-format-indent-decrease:before{content:"󰉵"}.mdi-format-indent-increase:before{content:"󰉶"}.mdi-format-italic:before{content:"󰉷"}.mdi-format-letter-case:before{content:"󰬴"}.mdi-format-letter-case-lower:before{content:"󰬵"}.mdi-format-letter-case-upper:before{content:"󰬶"}.mdi-format-letter-ends-with:before{content:"󰾸"}.mdi-format-letter-matches:before{content:"󰾹"}.mdi-format-letter-spacing:before{content:"󱥖"}.mdi-format-letter-spacing-variant:before{content:"󱫻"}.mdi-format-letter-starts-with:before{content:"󰾺"}.mdi-format-line-height:before{content:"󱫼"}.mdi-format-line-spacing:before{content:"󰉸"}.mdi-format-line-style:before{content:"󰗈"}.mdi-format-line-weight:before{content:"󰗉"}.mdi-format-list-bulleted:before{content:"󰉹"}.mdi-format-list-bulleted-square:before{content:"󰷐"}.mdi-format-list-bulleted-triangle:before{content:"󰺲"}.mdi-format-list-bulleted-type:before{content:"󰉺"}.mdi-format-list-checkbox:before{content:"󰥪"}.mdi-format-list-checks:before{content:"󰝖"}.mdi-format-list-group:before{content:"󱡠"}.mdi-format-list-group-plus:before{content:"󱭖"}.mdi-format-list-numbered:before{content:"󰉻"}.mdi-format-list-numbered-rtl:before{content:"󰴍"}.mdi-format-list-text:before{content:"󱉯"}.mdi-format-overline:before{content:"󰺳"}.mdi-format-page-break:before{content:"󰛗"}.mdi-format-page-split:before{content:"󱤗"}.mdi-format-paint:before{content:"󰉼"}.mdi-format-paragraph:before{content:"󰉽"}.mdi-format-paragraph-spacing:before{content:"󱫽"}.mdi-format-pilcrow:before{content:"󰛘"}.mdi-format-pilcrow-arrow-left:before{content:"󰊆"}.mdi-format-pilcrow-arrow-right:before{content:"󰊅"}.mdi-format-quote-close:before{content:"󰉾"}.mdi-format-quote-close-outline:before{content:"󱆨"}.mdi-format-quote-open:before{content:"󰝗"}.mdi-format-quote-open-outline:before{content:"󱆧"}.mdi-format-rotate-90:before{content:"󰚪"}.mdi-format-section:before{content:"󰚟"}.mdi-format-size:before{content:"󰉿"}.mdi-format-strikethrough:before{content:"󰊀"}.mdi-format-strikethrough-variant:before{content:"󰊁"}.mdi-format-subscript:before{content:"󰊂"}.mdi-format-superscript:before{content:"󰊃"}.mdi-format-text:before{content:"󰊄"}.mdi-format-text-rotation-angle-down:before{content:"󰾻"}.mdi-format-text-rotation-angle-up:before{content:"󰾼"}.mdi-format-text-rotation-down:before{content:"󰵳"}.mdi-format-text-rotation-down-vertical:before{content:"󰾽"}.mdi-format-text-rotation-none:before{content:"󰵴"}.mdi-format-text-rotation-up:before{content:"󰾾"}.mdi-format-text-rotation-vertical:before{content:"󰾿"}.mdi-format-text-variant:before{content:"󰸲"}.mdi-format-text-variant-outline:before{content:"󱔏"}.mdi-format-text-wrapping-clip:before{content:"󰴎"}.mdi-format-text-wrapping-overflow:before{content:"󰴏"}.mdi-format-text-wrapping-wrap:before{content:"󰴐"}.mdi-format-textbox:before{content:"󰴑"}.mdi-format-title:before{content:"󰗴"}.mdi-format-underline:before{content:"󰊇"}.mdi-format-underline-wavy:before{content:"󱣩"}.mdi-format-vertical-align-bottom:before{content:"󰘡"}.mdi-format-vertical-align-center:before{content:"󰘢"}.mdi-format-vertical-align-top:before{content:"󰘣"}.mdi-format-wrap-inline:before{content:"󰊈"}.mdi-format-wrap-square:before{content:"󰊉"}.mdi-format-wrap-tight:before{content:"󰊊"}.mdi-format-wrap-top-bottom:before{content:"󰊋"}.mdi-forum:before{content:"󰊌"}.mdi-forum-minus:before{content:"󱪩"}.mdi-forum-minus-outline:before{content:"󱪪"}.mdi-forum-outline:before{content:"󰠢"}.mdi-forum-plus:before{content:"󱪫"}.mdi-forum-plus-outline:before{content:"󱪬"}.mdi-forum-remove:before{content:"󱪭"}.mdi-forum-remove-outline:before{content:"󱪮"}.mdi-forward:before{content:"󰊍"}.mdi-forwardburger:before{content:"󰵵"}.mdi-fountain:before{content:"󰥫"}.mdi-fountain-pen:before{content:"󰴒"}.mdi-fountain-pen-tip:before{content:"󰴓"}.mdi-fraction-one-half:before{content:"󱦒"}.mdi-freebsd:before{content:"󰣠"}.mdi-french-fries:before{content:"󱥗"}.mdi-frequently-asked-questions:before{content:"󰺴"}.mdi-fridge:before{content:"󰊐"}.mdi-fridge-alert:before{content:"󱆱"}.mdi-fridge-alert-outline:before{content:"󱆲"}.mdi-fridge-bottom:before{content:"󰊒"}.mdi-fridge-industrial:before{content:"󱗮"}.mdi-fridge-industrial-alert:before{content:"󱗯"}.mdi-fridge-industrial-alert-outline:before{content:"󱗰"}.mdi-fridge-industrial-off:before{content:"󱗱"}.mdi-fridge-industrial-off-outline:before{content:"󱗲"}.mdi-fridge-industrial-outline:before{content:"󱗳"}.mdi-fridge-off:before{content:"󱆯"}.mdi-fridge-off-outline:before{content:"󱆰"}.mdi-fridge-outline:before{content:"󰊏"}.mdi-fridge-top:before{content:"󰊑"}.mdi-fridge-variant:before{content:"󱗴"}.mdi-fridge-variant-alert:before{content:"󱗵"}.mdi-fridge-variant-alert-outline:before{content:"󱗶"}.mdi-fridge-variant-off:before{content:"󱗷"}.mdi-fridge-variant-off-outline:before{content:"󱗸"}.mdi-fridge-variant-outline:before{content:"󱗹"}.mdi-fruit-cherries:before{content:"󱁂"}.mdi-fruit-cherries-off:before{content:"󱏸"}.mdi-fruit-citrus:before{content:"󱁃"}.mdi-fruit-citrus-off:before{content:"󱏹"}.mdi-fruit-grapes:before{content:"󱁄"}.mdi-fruit-grapes-outline:before{content:"󱁅"}.mdi-fruit-pear:before{content:"󱨎"}.mdi-fruit-pineapple:before{content:"󱁆"}.mdi-fruit-watermelon:before{content:"󱁇"}.mdi-fuel:before{content:"󰟊"}.mdi-fuel-cell:before{content:"󱢵"}.mdi-fullscreen:before{content:"󰊓"}.mdi-fullscreen-exit:before{content:"󰊔"}.mdi-function:before{content:"󰊕"}.mdi-function-variant:before{content:"󰡱"}.mdi-furigana-horizontal:before{content:"󱂁"}.mdi-furigana-vertical:before{content:"󱂂"}.mdi-fuse:before{content:"󰲅"}.mdi-fuse-alert:before{content:"󱐭"}.mdi-fuse-blade:before{content:"󰲆"}.mdi-fuse-off:before{content:"󱐬"}.mdi-gamepad:before{content:"󰊖"}.mdi-gamepad-circle:before{content:"󰸳"}.mdi-gamepad-circle-down:before{content:"󰸴"}.mdi-gamepad-circle-left:before{content:"󰸵"}.mdi-gamepad-circle-outline:before{content:"󰸶"}.mdi-gamepad-circle-right:before{content:"󰸷"}.mdi-gamepad-circle-up:before{content:"󰸸"}.mdi-gamepad-down:before{content:"󰸹"}.mdi-gamepad-left:before{content:"󰸺"}.mdi-gamepad-outline:before{content:"󱤙"}.mdi-gamepad-right:before{content:"󰸻"}.mdi-gamepad-round:before{content:"󰸼"}.mdi-gamepad-round-down:before{content:"󰸽"}.mdi-gamepad-round-left:before{content:"󰸾"}.mdi-gamepad-round-outline:before{content:"󰸿"}.mdi-gamepad-round-right:before{content:"󰹀"}.mdi-gamepad-round-up:before{content:"󰹁"}.mdi-gamepad-square:before{content:"󰺵"}.mdi-gamepad-square-outline:before{content:"󰺶"}.mdi-gamepad-up:before{content:"󰹂"}.mdi-gamepad-variant:before{content:"󰊗"}.mdi-gamepad-variant-outline:before{content:"󰺷"}.mdi-gamma:before{content:"󱃮"}.mdi-gantry-crane:before{content:"󰷑"}.mdi-garage:before{content:"󰛙"}.mdi-garage-alert:before{content:"󰡲"}.mdi-garage-alert-variant:before{content:"󱋕"}.mdi-garage-lock:before{content:"󱟻"}.mdi-garage-open:before{content:"󰛚"}.mdi-garage-open-variant:before{content:"󱋔"}.mdi-garage-variant:before{content:"󱋓"}.mdi-garage-variant-lock:before{content:"󱟼"}.mdi-gas-burner:before{content:"󱨛"}.mdi-gas-cylinder:before{content:"󰙇"}.mdi-gas-station:before{content:"󰊘"}.mdi-gas-station-off:before{content:"󱐉"}.mdi-gas-station-off-outline:before{content:"󱐊"}.mdi-gas-station-outline:before{content:"󰺸"}.mdi-gate:before{content:"󰊙"}.mdi-gate-alert:before{content:"󱟸"}.mdi-gate-and:before{content:"󰣡"}.mdi-gate-arrow-left:before{content:"󱟷"}.mdi-gate-arrow-right:before{content:"󱅩"}.mdi-gate-buffer:before{content:"󱫾"}.mdi-gate-nand:before{content:"󰣢"}.mdi-gate-nor:before{content:"󰣣"}.mdi-gate-not:before{content:"󰣤"}.mdi-gate-open:before{content:"󱅪"}.mdi-gate-or:before{content:"󰣥"}.mdi-gate-xnor:before{content:"󰣦"}.mdi-gate-xor:before{content:"󰣧"}.mdi-gatsby:before{content:"󰹃"}.mdi-gauge:before{content:"󰊚"}.mdi-gauge-empty:before{content:"󰡳"}.mdi-gauge-full:before{content:"󰡴"}.mdi-gauge-low:before{content:"󰡵"}.mdi-gavel:before{content:"󰊛"}.mdi-gender-female:before{content:"󰊜"}.mdi-gender-male:before{content:"󰊝"}.mdi-gender-male-female:before{content:"󰊞"}.mdi-gender-male-female-variant:before{content:"󱄿"}.mdi-gender-non-binary:before{content:"󱅀"}.mdi-gender-transgender:before{content:"󰊟"}.mdi-gentoo:before{content:"󰣨"}.mdi-gesture:before{content:"󰟋"}.mdi-gesture-double-tap:before{content:"󰜼"}.mdi-gesture-pinch:before{content:"󰪽"}.mdi-gesture-spread:before{content:"󰪾"}.mdi-gesture-swipe:before{content:"󰵶"}.mdi-gesture-swipe-down:before{content:"󰜽"}.mdi-gesture-swipe-horizontal:before{content:"󰪿"}.mdi-gesture-swipe-left:before{content:"󰜾"}.mdi-gesture-swipe-right:before{content:"󰜿"}.mdi-gesture-swipe-up:before{content:"󰝀"}.mdi-gesture-swipe-vertical:before{content:"󰫀"}.mdi-gesture-tap:before{content:"󰝁"}.mdi-gesture-tap-box:before{content:"󱊩"}.mdi-gesture-tap-button:before{content:"󱊨"}.mdi-gesture-tap-hold:before{content:"󰵷"}.mdi-gesture-two-double-tap:before{content:"󰝂"}.mdi-gesture-two-tap:before{content:"󰝃"}.mdi-ghost:before{content:"󰊠"}.mdi-ghost-off:before{content:"󰧵"}.mdi-ghost-off-outline:before{content:"󱙜"}.mdi-ghost-outline:before{content:"󱙝"}.mdi-gift:before{content:"󰹄"}.mdi-gift-off:before{content:"󱛯"}.mdi-gift-off-outline:before{content:"󱛰"}.mdi-gift-open:before{content:"󱛱"}.mdi-gift-open-outline:before{content:"󱛲"}.mdi-gift-outline:before{content:"󰊡"}.mdi-git:before{content:"󰊢"}.mdi-github:before{content:"󰊤"}.mdi-gitlab:before{content:"󰮠"}.mdi-glass-cocktail:before{content:"󰍖"}.mdi-glass-cocktail-off:before{content:"󱗦"}.mdi-glass-flute:before{content:"󰊥"}.mdi-glass-fragile:before{content:"󱡳"}.mdi-glass-mug:before{content:"󰊦"}.mdi-glass-mug-off:before{content:"󱗧"}.mdi-glass-mug-variant:before{content:"󱄖"}.mdi-glass-mug-variant-off:before{content:"󱗨"}.mdi-glass-pint-outline:before{content:"󱌍"}.mdi-glass-stange:before{content:"󰊧"}.mdi-glass-tulip:before{content:"󰊨"}.mdi-glass-wine:before{content:"󰡶"}.mdi-glasses:before{content:"󰊪"}.mdi-globe-light:before{content:"󰙯"}.mdi-globe-light-outline:before{content:"󱋗"}.mdi-globe-model:before{content:"󰣩"}.mdi-gmail:before{content:"󰊫"}.mdi-gnome:before{content:"󰊬"}.mdi-go-kart:before{content:"󰵹"}.mdi-go-kart-track:before{content:"󰵺"}.mdi-gog:before{content:"󰮡"}.mdi-gold:before{content:"󱉏"}.mdi-golf:before{content:"󰠣"}.mdi-golf-cart:before{content:"󱆤"}.mdi-golf-tee:before{content:"󱂃"}.mdi-gondola:before{content:"󰚆"}.mdi-goodreads:before{content:"󰵻"}.mdi-google:before{content:"󰊭"}.mdi-google-ads:before{content:"󰲇"}.mdi-google-analytics:before{content:"󰟌"}.mdi-google-assistant:before{content:"󰟍"}.mdi-google-cardboard:before{content:"󰊮"}.mdi-google-chrome:before{content:"󰊯"}.mdi-google-circles:before{content:"󰊰"}.mdi-google-circles-communities:before{content:"󰊱"}.mdi-google-circles-extended:before{content:"󰊲"}.mdi-google-circles-group:before{content:"󰊳"}.mdi-google-classroom:before{content:"󰋀"}.mdi-google-cloud:before{content:"󱇶"}.mdi-google-downasaur:before{content:"󱍢"}.mdi-google-drive:before{content:"󰊶"}.mdi-google-earth:before{content:"󰊷"}.mdi-google-fit:before{content:"󰥬"}.mdi-google-glass:before{content:"󰊸"}.mdi-google-hangouts:before{content:"󰋉"}.mdi-google-keep:before{content:"󰛜"}.mdi-google-lens:before{content:"󰧶"}.mdi-google-maps:before{content:"󰗵"}.mdi-google-my-business:before{content:"󱁈"}.mdi-google-nearby:before{content:"󰊹"}.mdi-google-play:before{content:"󰊼"}.mdi-google-plus:before{content:"󰊽"}.mdi-google-podcast:before{content:"󰺹"}.mdi-google-spreadsheet:before{content:"󰧷"}.mdi-google-street-view:before{content:"󰲈"}.mdi-google-translate:before{content:"󰊿"}.mdi-gradient-horizontal:before{content:"󱝊"}.mdi-gradient-vertical:before{content:"󰚠"}.mdi-grain:before{content:"󰵼"}.mdi-graph:before{content:"󱁉"}.mdi-graph-outline:before{content:"󱁊"}.mdi-graphql:before{content:"󰡷"}.mdi-grass:before{content:"󱔐"}.mdi-grave-stone:before{content:"󰮢"}.mdi-grease-pencil:before{content:"󰙈"}.mdi-greater-than:before{content:"󰥭"}.mdi-greater-than-or-equal:before{content:"󰥮"}.mdi-greenhouse:before{content:"󰀭"}.mdi-grid:before{content:"󰋁"}.mdi-grid-large:before{content:"󰝘"}.mdi-grid-off:before{content:"󰋂"}.mdi-grill:before{content:"󰹅"}.mdi-grill-outline:before{content:"󱆊"}.mdi-group:before{content:"󰋃"}.mdi-guitar-acoustic:before{content:"󰝱"}.mdi-guitar-electric:before{content:"󰋄"}.mdi-guitar-pick:before{content:"󰋅"}.mdi-guitar-pick-outline:before{content:"󰋆"}.mdi-guy-fawkes-mask:before{content:"󰠥"}.mdi-gymnastics:before{content:"󱩁"}.mdi-hail:before{content:"󰫁"}.mdi-hair-dryer:before{content:"󱃯"}.mdi-hair-dryer-outline:before{content:"󱃰"}.mdi-halloween:before{content:"󰮣"}.mdi-hamburger:before{content:"󰚅"}.mdi-hamburger-check:before{content:"󱝶"}.mdi-hamburger-minus:before{content:"󱝷"}.mdi-hamburger-off:before{content:"󱝸"}.mdi-hamburger-plus:before{content:"󱝹"}.mdi-hamburger-remove:before{content:"󱝺"}.mdi-hammer:before{content:"󰣪"}.mdi-hammer-screwdriver:before{content:"󱌢"}.mdi-hammer-sickle:before{content:"󱢇"}.mdi-hammer-wrench:before{content:"󱌣"}.mdi-hand-back-left:before{content:"󰹆"}.mdi-hand-back-left-off:before{content:"󱠰"}.mdi-hand-back-left-off-outline:before{content:"󱠲"}.mdi-hand-back-left-outline:before{content:"󱠬"}.mdi-hand-back-right:before{content:"󰹇"}.mdi-hand-back-right-off:before{content:"󱠱"}.mdi-hand-back-right-off-outline:before{content:"󱠳"}.mdi-hand-back-right-outline:before{content:"󱠭"}.mdi-hand-clap:before{content:"󱥋"}.mdi-hand-clap-off:before{content:"󱩂"}.mdi-hand-coin:before{content:"󱢏"}.mdi-hand-coin-outline:before{content:"󱢐"}.mdi-hand-cycle:before{content:"󱮜"}.mdi-hand-extended:before{content:"󱢶"}.mdi-hand-extended-outline:before{content:"󱢷"}.mdi-hand-front-left:before{content:"󱠫"}.mdi-hand-front-left-outline:before{content:"󱠮"}.mdi-hand-front-right:before{content:"󰩏"}.mdi-hand-front-right-outline:before{content:"󱠯"}.mdi-hand-heart:before{content:"󱃱"}.mdi-hand-heart-outline:before{content:"󱕾"}.mdi-hand-okay:before{content:"󰩐"}.mdi-hand-peace:before{content:"󰩑"}.mdi-hand-peace-variant:before{content:"󰩒"}.mdi-hand-pointing-down:before{content:"󰩓"}.mdi-hand-pointing-left:before{content:"󰩔"}.mdi-hand-pointing-right:before{content:"󰋇"}.mdi-hand-pointing-up:before{content:"󰩕"}.mdi-hand-saw:before{content:"󰹈"}.mdi-hand-wash:before{content:"󱕿"}.mdi-hand-wash-outline:before{content:"󱖀"}.mdi-hand-water:before{content:"󱎟"}.mdi-hand-wave:before{content:"󱠡"}.mdi-hand-wave-outline:before{content:"󱠢"}.mdi-handball:before{content:"󰽓"}.mdi-handcuffs:before{content:"󱄾"}.mdi-hands-pray:before{content:"󰕹"}.mdi-handshake:before{content:"󱈘"}.mdi-handshake-outline:before{content:"󱖡"}.mdi-hanger:before{content:"󰋈"}.mdi-hard-hat:before{content:"󰥯"}.mdi-harddisk:before{content:"󰋊"}.mdi-harddisk-plus:before{content:"󱁋"}.mdi-harddisk-remove:before{content:"󱁌"}.mdi-hat-fedora:before{content:"󰮤"}.mdi-hazard-lights:before{content:"󰲉"}.mdi-hdmi-port:before{content:"󱮸"}.mdi-hdr:before{content:"󰵽"}.mdi-hdr-off:before{content:"󰵾"}.mdi-head:before{content:"󱍞"}.mdi-head-alert:before{content:"󱌸"}.mdi-head-alert-outline:before{content:"󱌹"}.mdi-head-check:before{content:"󱌺"}.mdi-head-check-outline:before{content:"󱌻"}.mdi-head-cog:before{content:"󱌼"}.mdi-head-cog-outline:before{content:"󱌽"}.mdi-head-dots-horizontal:before{content:"󱌾"}.mdi-head-dots-horizontal-outline:before{content:"󱌿"}.mdi-head-flash:before{content:"󱍀"}.mdi-head-flash-outline:before{content:"󱍁"}.mdi-head-heart:before{content:"󱍂"}.mdi-head-heart-outline:before{content:"󱍃"}.mdi-head-lightbulb:before{content:"󱍄"}.mdi-head-lightbulb-outline:before{content:"󱍅"}.mdi-head-minus:before{content:"󱍆"}.mdi-head-minus-outline:before{content:"󱍇"}.mdi-head-outline:before{content:"󱍟"}.mdi-head-plus:before{content:"󱍈"}.mdi-head-plus-outline:before{content:"󱍉"}.mdi-head-question:before{content:"󱍊"}.mdi-head-question-outline:before{content:"󱍋"}.mdi-head-remove:before{content:"󱍌"}.mdi-head-remove-outline:before{content:"󱍍"}.mdi-head-snowflake:before{content:"󱍎"}.mdi-head-snowflake-outline:before{content:"󱍏"}.mdi-head-sync:before{content:"󱍐"}.mdi-head-sync-outline:before{content:"󱍑"}.mdi-headphones:before{content:"󰋋"}.mdi-headphones-bluetooth:before{content:"󰥰"}.mdi-headphones-box:before{content:"󰋌"}.mdi-headphones-off:before{content:"󰟎"}.mdi-headphones-settings:before{content:"󰋍"}.mdi-headset:before{content:"󰋎"}.mdi-headset-dock:before{content:"󰋏"}.mdi-headset-off:before{content:"󰋐"}.mdi-heart:before{content:"󰋑"}.mdi-heart-box:before{content:"󰋒"}.mdi-heart-box-outline:before{content:"󰋓"}.mdi-heart-broken:before{content:"󰋔"}.mdi-heart-broken-outline:before{content:"󰴔"}.mdi-heart-circle:before{content:"󰥱"}.mdi-heart-circle-outline:before{content:"󰥲"}.mdi-heart-cog:before{content:"󱙣"}.mdi-heart-cog-outline:before{content:"󱙤"}.mdi-heart-flash:before{content:"󰻹"}.mdi-heart-half:before{content:"󰛟"}.mdi-heart-half-full:before{content:"󰛞"}.mdi-heart-half-outline:before{content:"󰛠"}.mdi-heart-minus:before{content:"󱐯"}.mdi-heart-minus-outline:before{content:"󱐲"}.mdi-heart-multiple:before{content:"󰩖"}.mdi-heart-multiple-outline:before{content:"󰩗"}.mdi-heart-off:before{content:"󰝙"}.mdi-heart-off-outline:before{content:"󱐴"}.mdi-heart-outline:before{content:"󰋕"}.mdi-heart-plus:before{content:"󱐮"}.mdi-heart-plus-outline:before{content:"󱐱"}.mdi-heart-pulse:before{content:"󰗶"}.mdi-heart-remove:before{content:"󱐰"}.mdi-heart-remove-outline:before{content:"󱐳"}.mdi-heart-settings:before{content:"󱙥"}.mdi-heart-settings-outline:before{content:"󱙦"}.mdi-heat-pump:before{content:"󱩃"}.mdi-heat-pump-outline:before{content:"󱩄"}.mdi-heat-wave:before{content:"󱩅"}.mdi-heating-coil:before{content:"󱪯"}.mdi-helicopter:before{content:"󰫂"}.mdi-help:before{content:"󰋖"}.mdi-help-box:before{content:"󰞋"}.mdi-help-box-multiple:before{content:"󱰊"}.mdi-help-box-multiple-outline:before{content:"󱰋"}.mdi-help-box-outline:before{content:"󱰌"}.mdi-help-circle:before{content:"󰋗"}.mdi-help-circle-outline:before{content:"󰘥"}.mdi-help-network:before{content:"󰛵"}.mdi-help-network-outline:before{content:"󰲊"}.mdi-help-rhombus:before{content:"󰮥"}.mdi-help-rhombus-outline:before{content:"󰮦"}.mdi-hexadecimal:before{content:"󱊧"}.mdi-hexagon:before{content:"󰋘"}.mdi-hexagon-multiple:before{content:"󰛡"}.mdi-hexagon-multiple-outline:before{content:"󱃲"}.mdi-hexagon-outline:before{content:"󰋙"}.mdi-hexagon-slice-1:before{content:"󰫃"}.mdi-hexagon-slice-2:before{content:"󰫄"}.mdi-hexagon-slice-3:before{content:"󰫅"}.mdi-hexagon-slice-4:before{content:"󰫆"}.mdi-hexagon-slice-5:before{content:"󰫇"}.mdi-hexagon-slice-6:before{content:"󰫈"}.mdi-hexagram:before{content:"󰫉"}.mdi-hexagram-outline:before{content:"󰫊"}.mdi-high-definition:before{content:"󰟏"}.mdi-high-definition-box:before{content:"󰡸"}.mdi-highway:before{content:"󰗷"}.mdi-hiking:before{content:"󰵿"}.mdi-history:before{content:"󰋚"}.mdi-hockey-puck:before{content:"󰡹"}.mdi-hockey-sticks:before{content:"󰡺"}.mdi-hololens:before{content:"󰋛"}.mdi-home:before{content:"󰋜"}.mdi-home-account:before{content:"󰠦"}.mdi-home-alert:before{content:"󰡻"}.mdi-home-alert-outline:before{content:"󱗐"}.mdi-home-analytics:before{content:"󰺺"}.mdi-home-assistant:before{content:"󰟐"}.mdi-home-automation:before{content:"󰟑"}.mdi-home-battery:before{content:"󱤁"}.mdi-home-battery-outline:before{content:"󱤂"}.mdi-home-circle:before{content:"󰟒"}.mdi-home-circle-outline:before{content:"󱁍"}.mdi-home-city:before{content:"󰴕"}.mdi-home-city-outline:before{content:"󰴖"}.mdi-home-clock:before{content:"󱨒"}.mdi-home-clock-outline:before{content:"󱨓"}.mdi-home-edit:before{content:"󱅙"}.mdi-home-edit-outline:before{content:"󱅚"}.mdi-home-export-outline:before{content:"󰾛"}.mdi-home-flood:before{content:"󰻺"}.mdi-home-floor-0:before{content:"󰷒"}.mdi-home-floor-1:before{content:"󰶀"}.mdi-home-floor-2:before{content:"󰶁"}.mdi-home-floor-3:before{content:"󰶂"}.mdi-home-floor-a:before{content:"󰶃"}.mdi-home-floor-b:before{content:"󰶄"}.mdi-home-floor-g:before{content:"󰶅"}.mdi-home-floor-l:before{content:"󰶆"}.mdi-home-floor-negative-1:before{content:"󰷓"}.mdi-home-group:before{content:"󰷔"}.mdi-home-group-minus:before{content:"󱧁"}.mdi-home-group-plus:before{content:"󱧀"}.mdi-home-group-remove:before{content:"󱧂"}.mdi-home-heart:before{content:"󰠧"}.mdi-home-import-outline:before{content:"󰾜"}.mdi-home-lightbulb:before{content:"󱉑"}.mdi-home-lightbulb-outline:before{content:"󱉒"}.mdi-home-lightning-bolt:before{content:"󱤃"}.mdi-home-lightning-bolt-outline:before{content:"󱤄"}.mdi-home-lock:before{content:"󰣫"}.mdi-home-lock-open:before{content:"󰣬"}.mdi-home-map-marker:before{content:"󰗸"}.mdi-home-minus:before{content:"󰥴"}.mdi-home-minus-outline:before{content:"󱏕"}.mdi-home-modern:before{content:"󰋝"}.mdi-home-off:before{content:"󱩆"}.mdi-home-off-outline:before{content:"󱩇"}.mdi-home-outline:before{content:"󰚡"}.mdi-home-percent:before{content:"󱱼"}.mdi-home-percent-outline:before{content:"󱱽"}.mdi-home-plus:before{content:"󰥵"}.mdi-home-plus-outline:before{content:"󱏖"}.mdi-home-remove:before{content:"󱉇"}.mdi-home-remove-outline:before{content:"󱏗"}.mdi-home-roof:before{content:"󱄫"}.mdi-home-search:before{content:"󱎰"}.mdi-home-search-outline:before{content:"󱎱"}.mdi-home-silo:before{content:"󱮠"}.mdi-home-silo-outline:before{content:"󱮡"}.mdi-home-sound-in:before{content:"󱰯"}.mdi-home-sound-in-outline:before{content:"󱰰"}.mdi-home-sound-out:before{content:"󱰱"}.mdi-home-sound-out-outline:before{content:"󱰲"}.mdi-home-switch:before{content:"󱞔"}.mdi-home-switch-outline:before{content:"󱞕"}.mdi-home-thermometer:before{content:"󰽔"}.mdi-home-thermometer-outline:before{content:"󰽕"}.mdi-home-variant:before{content:"󰋞"}.mdi-home-variant-outline:before{content:"󰮧"}.mdi-hook:before{content:"󰛢"}.mdi-hook-off:before{content:"󰛣"}.mdi-hoop-house:before{content:"󰹖"}.mdi-hops:before{content:"󰋟"}.mdi-horizontal-rotate-clockwise:before{content:"󱃳"}.mdi-horizontal-rotate-counterclockwise:before{content:"󱃴"}.mdi-horse:before{content:"󱖿"}.mdi-horse-human:before{content:"󱗀"}.mdi-horse-variant:before{content:"󱗁"}.mdi-horse-variant-fast:before{content:"󱡮"}.mdi-horseshoe:before{content:"󰩘"}.mdi-hospital:before{content:"󰿶"}.mdi-hospital-box:before{content:"󰋠"}.mdi-hospital-box-outline:before{content:"󰿷"}.mdi-hospital-building:before{content:"󰋡"}.mdi-hospital-marker:before{content:"󰋢"}.mdi-hot-tub:before{content:"󰠨"}.mdi-hours-24:before{content:"󱑸"}.mdi-hubspot:before{content:"󰴗"}.mdi-hulu:before{content:"󰠩"}.mdi-human:before{content:"󰋦"}.mdi-human-baby-changing-table:before{content:"󱎋"}.mdi-human-cane:before{content:"󱖁"}.mdi-human-capacity-decrease:before{content:"󱖛"}.mdi-human-capacity-increase:before{content:"󱖜"}.mdi-human-child:before{content:"󰋧"}.mdi-human-dolly:before{content:"󱦀"}.mdi-human-edit:before{content:"󱓨"}.mdi-human-female:before{content:"󰙉"}.mdi-human-female-boy:before{content:"󰩙"}.mdi-human-female-dance:before{content:"󱗉"}.mdi-human-female-female:before{content:"󰩚"}.mdi-human-female-girl:before{content:"󰩛"}.mdi-human-greeting:before{content:"󱟄"}.mdi-human-greeting-proximity:before{content:"󱖝"}.mdi-human-greeting-variant:before{content:"󰙊"}.mdi-human-handsdown:before{content:"󰙋"}.mdi-human-handsup:before{content:"󰙌"}.mdi-human-male:before{content:"󰙍"}.mdi-human-male-board:before{content:"󰢐"}.mdi-human-male-board-poll:before{content:"󰡆"}.mdi-human-male-boy:before{content:"󰩜"}.mdi-human-male-child:before{content:"󱎌"}.mdi-human-male-female:before{content:"󰋨"}.mdi-human-male-female-child:before{content:"󱠣"}.mdi-human-male-girl:before{content:"󰩝"}.mdi-human-male-height:before{content:"󰻻"}.mdi-human-male-height-variant:before{content:"󰻼"}.mdi-human-male-male:before{content:"󰩞"}.mdi-human-non-binary:before{content:"󱡈"}.mdi-human-pregnant:before{content:"󰗏"}.mdi-human-queue:before{content:"󱕱"}.mdi-human-scooter:before{content:"󱇩"}.mdi-human-walker:before{content:"󱭱"}.mdi-human-wheelchair:before{content:"󱎍"}.mdi-human-white-cane:before{content:"󱦁"}.mdi-humble-bundle:before{content:"󰝄"}.mdi-hvac:before{content:"󱍒"}.mdi-hvac-off:before{content:"󱖞"}.mdi-hydraulic-oil-level:before{content:"󱌤"}.mdi-hydraulic-oil-temperature:before{content:"󱌥"}.mdi-hydro-power:before{content:"󱋥"}.mdi-hydrogen-station:before{content:"󱢔"}.mdi-ice-cream:before{content:"󰠪"}.mdi-ice-cream-off:before{content:"󰹒"}.mdi-ice-pop:before{content:"󰻽"}.mdi-id-card:before{content:"󰿀"}.mdi-identifier:before{content:"󰻾"}.mdi-ideogram-cjk:before{content:"󱌱"}.mdi-ideogram-cjk-variant:before{content:"󱌲"}.mdi-image:before{content:"󰋩"}.mdi-image-album:before{content:"󰋪"}.mdi-image-area:before{content:"󰋫"}.mdi-image-area-close:before{content:"󰋬"}.mdi-image-auto-adjust:before{content:"󰿁"}.mdi-image-broken:before{content:"󰋭"}.mdi-image-broken-variant:before{content:"󰋮"}.mdi-image-check:before{content:"󱬥"}.mdi-image-check-outline:before{content:"󱬦"}.mdi-image-edit:before{content:"󱇣"}.mdi-image-edit-outline:before{content:"󱇤"}.mdi-image-filter-black-white:before{content:"󰋰"}.mdi-image-filter-center-focus:before{content:"󰋱"}.mdi-image-filter-center-focus-strong:before{content:"󰻿"}.mdi-image-filter-center-focus-strong-outline:before{content:"󰼀"}.mdi-image-filter-center-focus-weak:before{content:"󰋲"}.mdi-image-filter-drama:before{content:"󰋳"}.mdi-image-filter-drama-outline:before{content:"󱯿"}.mdi-image-filter-frames:before{content:"󰋴"}.mdi-image-filter-hdr:before{content:"󰋵"}.mdi-image-filter-hdr-outline:before{content:"󱱤"}.mdi-image-filter-none:before{content:"󰋶"}.mdi-image-filter-tilt-shift:before{content:"󰋷"}.mdi-image-filter-vintage:before{content:"󰋸"}.mdi-image-frame:before{content:"󰹉"}.mdi-image-lock:before{content:"󱪰"}.mdi-image-lock-outline:before{content:"󱪱"}.mdi-image-marker:before{content:"󱝻"}.mdi-image-marker-outline:before{content:"󱝼"}.mdi-image-minus:before{content:"󱐙"}.mdi-image-minus-outline:before{content:"󱭇"}.mdi-image-move:before{content:"󰧸"}.mdi-image-multiple:before{content:"󰋹"}.mdi-image-multiple-outline:before{content:"󰋯"}.mdi-image-off:before{content:"󰠫"}.mdi-image-off-outline:before{content:"󱇑"}.mdi-image-outline:before{content:"󰥶"}.mdi-image-plus:before{content:"󰡼"}.mdi-image-plus-outline:before{content:"󱭆"}.mdi-image-refresh:before{content:"󱧾"}.mdi-image-refresh-outline:before{content:"󱧿"}.mdi-image-remove:before{content:"󱐘"}.mdi-image-remove-outline:before{content:"󱭈"}.mdi-image-search:before{content:"󰥷"}.mdi-image-search-outline:before{content:"󰥸"}.mdi-image-size-select-actual:before{content:"󰲍"}.mdi-image-size-select-large:before{content:"󰲎"}.mdi-image-size-select-small:before{content:"󰲏"}.mdi-image-sync:before{content:"󱨀"}.mdi-image-sync-outline:before{content:"󱨁"}.mdi-image-text:before{content:"󱘍"}.mdi-import:before{content:"󰋺"}.mdi-inbox:before{content:"󰚇"}.mdi-inbox-arrow-down:before{content:"󰋻"}.mdi-inbox-arrow-down-outline:before{content:"󱉰"}.mdi-inbox-arrow-up:before{content:"󰏑"}.mdi-inbox-arrow-up-outline:before{content:"󱉱"}.mdi-inbox-full:before{content:"󱉲"}.mdi-inbox-full-outline:before{content:"󱉳"}.mdi-inbox-multiple:before{content:"󰢰"}.mdi-inbox-multiple-outline:before{content:"󰮨"}.mdi-inbox-outline:before{content:"󱉴"}.mdi-inbox-remove:before{content:"󱖟"}.mdi-inbox-remove-outline:before{content:"󱖠"}.mdi-incognito:before{content:"󰗹"}.mdi-incognito-circle:before{content:"󱐡"}.mdi-incognito-circle-off:before{content:"󱐢"}.mdi-incognito-off:before{content:"󰁵"}.mdi-induction:before{content:"󱡌"}.mdi-infinity:before{content:"󰛤"}.mdi-information:before{content:"󰋼"}.mdi-information-box:before{content:"󱱥"}.mdi-information-box-outline:before{content:"󱱦"}.mdi-information-off:before{content:"󱞌"}.mdi-information-off-outline:before{content:"󱞍"}.mdi-information-outline:before{content:"󰋽"}.mdi-information-slab-box:before{content:"󱱧"}.mdi-information-slab-box-outline:before{content:"󱱨"}.mdi-information-slab-circle:before{content:"󱱩"}.mdi-information-slab-circle-outline:before{content:"󱱪"}.mdi-information-slab-symbol:before{content:"󱱫"}.mdi-information-symbol:before{content:"󱱬"}.mdi-information-variant:before{content:"󰙎"}.mdi-information-variant-box:before{content:"󱱭"}.mdi-information-variant-box-outline:before{content:"󱱮"}.mdi-information-variant-circle:before{content:"󱱯"}.mdi-information-variant-circle-outline:before{content:"󱱰"}.mdi-instagram:before{content:"󰋾"}.mdi-instrument-triangle:before{content:"󱁎"}.mdi-integrated-circuit-chip:before{content:"󱤓"}.mdi-invert-colors:before{content:"󰌁"}.mdi-invert-colors-off:before{content:"󰹊"}.mdi-iobroker:before{content:"󱋨"}.mdi-ip:before{content:"󰩟"}.mdi-ip-network:before{content:"󰩠"}.mdi-ip-network-outline:before{content:"󰲐"}.mdi-ip-outline:before{content:"󱦂"}.mdi-ipod:before{content:"󰲑"}.mdi-iron:before{content:"󱠤"}.mdi-iron-board:before{content:"󱠸"}.mdi-iron-outline:before{content:"󱠥"}.mdi-island:before{content:"󱁏"}.mdi-iv-bag:before{content:"󱂹"}.mdi-jabber:before{content:"󰷕"}.mdi-jeepney:before{content:"󰌂"}.mdi-jellyfish:before{content:"󰼁"}.mdi-jellyfish-outline:before{content:"󰼂"}.mdi-jira:before{content:"󰌃"}.mdi-jquery:before{content:"󰡽"}.mdi-jsfiddle:before{content:"󰌄"}.mdi-jump-rope:before{content:"󱋿"}.mdi-kabaddi:before{content:"󰶇"}.mdi-kangaroo:before{content:"󱕘"}.mdi-karate:before{content:"󰠬"}.mdi-kayaking:before{content:"󰢯"}.mdi-keg:before{content:"󰌅"}.mdi-kettle:before{content:"󰗺"}.mdi-kettle-alert:before{content:"󱌗"}.mdi-kettle-alert-outline:before{content:"󱌘"}.mdi-kettle-off:before{content:"󱌛"}.mdi-kettle-off-outline:before{content:"󱌜"}.mdi-kettle-outline:before{content:"󰽖"}.mdi-kettle-pour-over:before{content:"󱜼"}.mdi-kettle-steam:before{content:"󱌙"}.mdi-kettle-steam-outline:before{content:"󱌚"}.mdi-kettlebell:before{content:"󱌀"}.mdi-key:before{content:"󰌆"}.mdi-key-alert:before{content:"󱦃"}.mdi-key-alert-outline:before{content:"󱦄"}.mdi-key-arrow-right:before{content:"󱌒"}.mdi-key-chain:before{content:"󱕴"}.mdi-key-chain-variant:before{content:"󱕵"}.mdi-key-change:before{content:"󰌇"}.mdi-key-link:before{content:"󱆟"}.mdi-key-minus:before{content:"󰌈"}.mdi-key-outline:before{content:"󰷖"}.mdi-key-plus:before{content:"󰌉"}.mdi-key-remove:before{content:"󰌊"}.mdi-key-star:before{content:"󱆞"}.mdi-key-variant:before{content:"󰌋"}.mdi-key-wireless:before{content:"󰿂"}.mdi-keyboard:before{content:"󰌌"}.mdi-keyboard-backspace:before{content:"󰌍"}.mdi-keyboard-caps:before{content:"󰌎"}.mdi-keyboard-close:before{content:"󰌏"}.mdi-keyboard-close-outline:before{content:"󱰀"}.mdi-keyboard-esc:before{content:"󱊷"}.mdi-keyboard-f1:before{content:"󱊫"}.mdi-keyboard-f10:before{content:"󱊴"}.mdi-keyboard-f11:before{content:"󱊵"}.mdi-keyboard-f12:before{content:"󱊶"}.mdi-keyboard-f2:before{content:"󱊬"}.mdi-keyboard-f3:before{content:"󱊭"}.mdi-keyboard-f4:before{content:"󱊮"}.mdi-keyboard-f5:before{content:"󱊯"}.mdi-keyboard-f6:before{content:"󱊰"}.mdi-keyboard-f7:before{content:"󱊱"}.mdi-keyboard-f8:before{content:"󱊲"}.mdi-keyboard-f9:before{content:"󱊳"}.mdi-keyboard-off:before{content:"󰌐"}.mdi-keyboard-off-outline:before{content:"󰹋"}.mdi-keyboard-outline:before{content:"󰥻"}.mdi-keyboard-return:before{content:"󰌑"}.mdi-keyboard-settings:before{content:"󰧹"}.mdi-keyboard-settings-outline:before{content:"󰧺"}.mdi-keyboard-space:before{content:"󱁐"}.mdi-keyboard-tab:before{content:"󰌒"}.mdi-keyboard-tab-reverse:before{content:"󰌥"}.mdi-keyboard-variant:before{content:"󰌓"}.mdi-khanda:before{content:"󱃽"}.mdi-kickstarter:before{content:"󰝅"}.mdi-kite:before{content:"󱦅"}.mdi-kite-outline:before{content:"󱦆"}.mdi-kitesurfing:before{content:"󱝄"}.mdi-klingon:before{content:"󱍛"}.mdi-knife:before{content:"󰧻"}.mdi-knife-military:before{content:"󰧼"}.mdi-knob:before{content:"󱮖"}.mdi-koala:before{content:"󱜿"}.mdi-kodi:before{content:"󰌔"}.mdi-kubernetes:before{content:"󱃾"}.mdi-label:before{content:"󰌕"}.mdi-label-multiple:before{content:"󱍵"}.mdi-label-multiple-outline:before{content:"󱍶"}.mdi-label-off:before{content:"󰫋"}.mdi-label-off-outline:before{content:"󰫌"}.mdi-label-outline:before{content:"󰌖"}.mdi-label-percent:before{content:"󱋪"}.mdi-label-percent-outline:before{content:"󱋫"}.mdi-label-variant:before{content:"󰫍"}.mdi-label-variant-outline:before{content:"󰫎"}.mdi-ladder:before{content:"󱖢"}.mdi-ladybug:before{content:"󰠭"}.mdi-lambda:before{content:"󰘧"}.mdi-lamp:before{content:"󰚵"}.mdi-lamp-outline:before{content:"󱟐"}.mdi-lamps:before{content:"󱕶"}.mdi-lamps-outline:before{content:"󱟑"}.mdi-lan:before{content:"󰌗"}.mdi-lan-check:before{content:"󱊪"}.mdi-lan-connect:before{content:"󰌘"}.mdi-lan-disconnect:before{content:"󰌙"}.mdi-lan-pending:before{content:"󰌚"}.mdi-land-fields:before{content:"󱪲"}.mdi-land-plots:before{content:"󱪳"}.mdi-land-plots-circle:before{content:"󱪴"}.mdi-land-plots-circle-variant:before{content:"󱪵"}.mdi-land-plots-marker:before{content:"󱱝"}.mdi-land-rows-horizontal:before{content:"󱪶"}.mdi-land-rows-vertical:before{content:"󱪷"}.mdi-landslide:before{content:"󱩈"}.mdi-landslide-outline:before{content:"󱩉"}.mdi-language-c:before{content:"󰙱"}.mdi-language-cpp:before{content:"󰙲"}.mdi-language-csharp:before{content:"󰌛"}.mdi-language-css3:before{content:"󰌜"}.mdi-language-fortran:before{content:"󱈚"}.mdi-language-go:before{content:"󰟓"}.mdi-language-haskell:before{content:"󰲒"}.mdi-language-html5:before{content:"󰌝"}.mdi-language-java:before{content:"󰬷"}.mdi-language-javascript:before{content:"󰌞"}.mdi-language-kotlin:before{content:"󱈙"}.mdi-language-lua:before{content:"󰢱"}.mdi-language-markdown:before{content:"󰍔"}.mdi-language-markdown-outline:before{content:"󰽛"}.mdi-language-php:before{content:"󰌟"}.mdi-language-python:before{content:"󰌠"}.mdi-language-r:before{content:"󰟔"}.mdi-language-ruby:before{content:"󰴭"}.mdi-language-ruby-on-rails:before{content:"󰫏"}.mdi-language-rust:before{content:"󱘗"}.mdi-language-swift:before{content:"󰛥"}.mdi-language-typescript:before{content:"󰛦"}.mdi-language-xaml:before{content:"󰙳"}.mdi-laptop:before{content:"󰌢"}.mdi-laptop-account:before{content:"󱩊"}.mdi-laptop-off:before{content:"󰛧"}.mdi-laravel:before{content:"󰫐"}.mdi-laser-pointer:before{content:"󱒄"}.mdi-lasso:before{content:"󰼃"}.mdi-lastpass:before{content:"󰑆"}.mdi-latitude:before{content:"󰽗"}.mdi-launch:before{content:"󰌧"}.mdi-lava-lamp:before{content:"󰟕"}.mdi-layers:before{content:"󰌨"}.mdi-layers-edit:before{content:"󱢒"}.mdi-layers-minus:before{content:"󰹌"}.mdi-layers-off:before{content:"󰌩"}.mdi-layers-off-outline:before{content:"󰧽"}.mdi-layers-outline:before{content:"󰧾"}.mdi-layers-plus:before{content:"󰹍"}.mdi-layers-remove:before{content:"󰹎"}.mdi-layers-search:before{content:"󱈆"}.mdi-layers-search-outline:before{content:"󱈇"}.mdi-layers-triple:before{content:"󰽘"}.mdi-layers-triple-outline:before{content:"󰽙"}.mdi-lead-pencil:before{content:"󰙏"}.mdi-leaf:before{content:"󰌪"}.mdi-leaf-circle:before{content:"󱤅"}.mdi-leaf-circle-outline:before{content:"󱤆"}.mdi-leaf-maple:before{content:"󰲓"}.mdi-leaf-maple-off:before{content:"󱋚"}.mdi-leaf-off:before{content:"󱋙"}.mdi-leak:before{content:"󰷗"}.mdi-leak-off:before{content:"󰷘"}.mdi-lectern:before{content:"󱫰"}.mdi-led-off:before{content:"󰌫"}.mdi-led-on:before{content:"󰌬"}.mdi-led-outline:before{content:"󰌭"}.mdi-led-strip:before{content:"󰟖"}.mdi-led-strip-variant:before{content:"󱁑"}.mdi-led-strip-variant-off:before{content:"󱩋"}.mdi-led-variant-off:before{content:"󰌮"}.mdi-led-variant-on:before{content:"󰌯"}.mdi-led-variant-outline:before{content:"󰌰"}.mdi-leek:before{content:"󱅽"}.mdi-less-than:before{content:"󰥼"}.mdi-less-than-or-equal:before{content:"󰥽"}.mdi-library:before{content:"󰌱"}.mdi-library-outline:before{content:"󱨢"}.mdi-library-shelves:before{content:"󰮩"}.mdi-license:before{content:"󰿃"}.mdi-lifebuoy:before{content:"󰡾"}.mdi-light-flood-down:before{content:"󱦇"}.mdi-light-flood-up:before{content:"󱦈"}.mdi-light-recessed:before{content:"󱞛"}.mdi-light-switch:before{content:"󰥾"}.mdi-light-switch-off:before{content:"󱨤"}.mdi-lightbulb:before{content:"󰌵"}.mdi-lightbulb-alert:before{content:"󱧡"}.mdi-lightbulb-alert-outline:before{content:"󱧢"}.mdi-lightbulb-auto:before{content:"󱠀"}.mdi-lightbulb-auto-outline:before{content:"󱠁"}.mdi-lightbulb-cfl:before{content:"󱈈"}.mdi-lightbulb-cfl-off:before{content:"󱈉"}.mdi-lightbulb-cfl-spiral:before{content:"󱉵"}.mdi-lightbulb-cfl-spiral-off:before{content:"󱋃"}.mdi-lightbulb-fluorescent-tube:before{content:"󱠄"}.mdi-lightbulb-fluorescent-tube-outline:before{content:"󱠅"}.mdi-lightbulb-group:before{content:"󱉓"}.mdi-lightbulb-group-off:before{content:"󱋍"}.mdi-lightbulb-group-off-outline:before{content:"󱋎"}.mdi-lightbulb-group-outline:before{content:"󱉔"}.mdi-lightbulb-multiple:before{content:"󱉕"}.mdi-lightbulb-multiple-off:before{content:"󱋏"}.mdi-lightbulb-multiple-off-outline:before{content:"󱋐"}.mdi-lightbulb-multiple-outline:before{content:"󱉖"}.mdi-lightbulb-night:before{content:"󱩌"}.mdi-lightbulb-night-outline:before{content:"󱩍"}.mdi-lightbulb-off:before{content:"󰹏"}.mdi-lightbulb-off-outline:before{content:"󰹐"}.mdi-lightbulb-on:before{content:"󰛨"}.mdi-lightbulb-on-10:before{content:"󱩎"}.mdi-lightbulb-on-20:before{content:"󱩏"}.mdi-lightbulb-on-30:before{content:"󱩐"}.mdi-lightbulb-on-40:before{content:"󱩑"}.mdi-lightbulb-on-50:before{content:"󱩒"}.mdi-lightbulb-on-60:before{content:"󱩓"}.mdi-lightbulb-on-70:before{content:"󱩔"}.mdi-lightbulb-on-80:before{content:"󱩕"}.mdi-lightbulb-on-90:before{content:"󱩖"}.mdi-lightbulb-on-outline:before{content:"󰛩"}.mdi-lightbulb-outline:before{content:"󰌶"}.mdi-lightbulb-question:before{content:"󱧣"}.mdi-lightbulb-question-outline:before{content:"󱧤"}.mdi-lightbulb-spot:before{content:"󱟴"}.mdi-lightbulb-spot-off:before{content:"󱟵"}.mdi-lightbulb-variant:before{content:"󱠂"}.mdi-lightbulb-variant-outline:before{content:"󱠃"}.mdi-lighthouse:before{content:"󰧿"}.mdi-lighthouse-on:before{content:"󰨀"}.mdi-lightning-bolt:before{content:"󱐋"}.mdi-lightning-bolt-circle:before{content:"󰠠"}.mdi-lightning-bolt-outline:before{content:"󱐌"}.mdi-line-scan:before{content:"󰘤"}.mdi-lingerie:before{content:"󱑶"}.mdi-link:before{content:"󰌷"}.mdi-link-box:before{content:"󰴚"}.mdi-link-box-outline:before{content:"󰴛"}.mdi-link-box-variant:before{content:"󰴜"}.mdi-link-box-variant-outline:before{content:"󰴝"}.mdi-link-lock:before{content:"󱂺"}.mdi-link-off:before{content:"󰌸"}.mdi-link-plus:before{content:"󰲔"}.mdi-link-variant:before{content:"󰌹"}.mdi-link-variant-minus:before{content:"󱃿"}.mdi-link-variant-off:before{content:"󰌺"}.mdi-link-variant-plus:before{content:"󱄀"}.mdi-link-variant-remove:before{content:"󱄁"}.mdi-linkedin:before{content:"󰌻"}.mdi-linux:before{content:"󰌽"}.mdi-linux-mint:before{content:"󰣭"}.mdi-lipstick:before{content:"󱎵"}.mdi-liquid-spot:before{content:"󱠦"}.mdi-liquor:before{content:"󱤞"}.mdi-list-box:before{content:"󱭻"}.mdi-list-box-outline:before{content:"󱭼"}.mdi-list-status:before{content:"󱖫"}.mdi-litecoin:before{content:"󰩡"}.mdi-loading:before{content:"󰝲"}.mdi-location-enter:before{content:"󰿄"}.mdi-location-exit:before{content:"󰿅"}.mdi-lock:before{content:"󰌾"}.mdi-lock-alert:before{content:"󰣮"}.mdi-lock-alert-outline:before{content:"󱗑"}.mdi-lock-check:before{content:"󱎚"}.mdi-lock-check-outline:before{content:"󱚨"}.mdi-lock-clock:before{content:"󰥿"}.mdi-lock-minus:before{content:"󱚩"}.mdi-lock-minus-outline:before{content:"󱚪"}.mdi-lock-off:before{content:"󱙱"}.mdi-lock-off-outline:before{content:"󱙲"}.mdi-lock-open:before{content:"󰌿"}.mdi-lock-open-alert:before{content:"󱎛"}.mdi-lock-open-alert-outline:before{content:"󱗒"}.mdi-lock-open-check:before{content:"󱎜"}.mdi-lock-open-check-outline:before{content:"󱚫"}.mdi-lock-open-minus:before{content:"󱚬"}.mdi-lock-open-minus-outline:before{content:"󱚭"}.mdi-lock-open-outline:before{content:"󰍀"}.mdi-lock-open-plus:before{content:"󱚮"}.mdi-lock-open-plus-outline:before{content:"󱚯"}.mdi-lock-open-remove:before{content:"󱚰"}.mdi-lock-open-remove-outline:before{content:"󱚱"}.mdi-lock-open-variant:before{content:"󰿆"}.mdi-lock-open-variant-outline:before{content:"󰿇"}.mdi-lock-outline:before{content:"󰍁"}.mdi-lock-pattern:before{content:"󰛪"}.mdi-lock-percent:before{content:"󱰒"}.mdi-lock-percent-open:before{content:"󱰓"}.mdi-lock-percent-open-outline:before{content:"󱰔"}.mdi-lock-percent-open-variant:before{content:"󱰕"}.mdi-lock-percent-open-variant-outline:before{content:"󱰖"}.mdi-lock-percent-outline:before{content:"󱰗"}.mdi-lock-plus:before{content:"󰗻"}.mdi-lock-plus-outline:before{content:"󱚲"}.mdi-lock-question:before{content:"󰣯"}.mdi-lock-remove:before{content:"󱚳"}.mdi-lock-remove-outline:before{content:"󱚴"}.mdi-lock-reset:before{content:"󰝳"}.mdi-lock-smart:before{content:"󰢲"}.mdi-locker:before{content:"󰟗"}.mdi-locker-multiple:before{content:"󰟘"}.mdi-login:before{content:"󰍂"}.mdi-login-variant:before{content:"󰗼"}.mdi-logout:before{content:"󰍃"}.mdi-logout-variant:before{content:"󰗽"}.mdi-longitude:before{content:"󰽚"}.mdi-looks:before{content:"󰍄"}.mdi-lotion:before{content:"󱖂"}.mdi-lotion-outline:before{content:"󱖃"}.mdi-lotion-plus:before{content:"󱖄"}.mdi-lotion-plus-outline:before{content:"󱖅"}.mdi-loupe:before{content:"󰍅"}.mdi-lumx:before{content:"󰍆"}.mdi-lungs:before{content:"󱂄"}.mdi-mace:before{content:"󱡃"}.mdi-magazine-pistol:before{content:"󰌤"}.mdi-magazine-rifle:before{content:"󰌣"}.mdi-magic-staff:before{content:"󱡄"}.mdi-magnet:before{content:"󰍇"}.mdi-magnet-on:before{content:"󰍈"}.mdi-magnify:before{content:"󰍉"}.mdi-magnify-close:before{content:"󰦀"}.mdi-magnify-expand:before{content:"󱡴"}.mdi-magnify-minus:before{content:"󰍊"}.mdi-magnify-minus-cursor:before{content:"󰩢"}.mdi-magnify-minus-outline:before{content:"󰛬"}.mdi-magnify-plus:before{content:"󰍋"}.mdi-magnify-plus-cursor:before{content:"󰩣"}.mdi-magnify-plus-outline:before{content:"󰛭"}.mdi-magnify-remove-cursor:before{content:"󱈌"}.mdi-magnify-remove-outline:before{content:"󱈍"}.mdi-magnify-scan:before{content:"󱉶"}.mdi-mail:before{content:"󰺻"}.mdi-mailbox:before{content:"󰛮"}.mdi-mailbox-open:before{content:"󰶈"}.mdi-mailbox-open-outline:before{content:"󰶉"}.mdi-mailbox-open-up:before{content:"󰶊"}.mdi-mailbox-open-up-outline:before{content:"󰶋"}.mdi-mailbox-outline:before{content:"󰶌"}.mdi-mailbox-up:before{content:"󰶍"}.mdi-mailbox-up-outline:before{content:"󰶎"}.mdi-manjaro:before{content:"󱘊"}.mdi-map:before{content:"󰍍"}.mdi-map-check:before{content:"󰺼"}.mdi-map-check-outline:before{content:"󰺽"}.mdi-map-clock:before{content:"󰴞"}.mdi-map-clock-outline:before{content:"󰴟"}.mdi-map-legend:before{content:"󰨁"}.mdi-map-marker:before{content:"󰍎"}.mdi-map-marker-account:before{content:"󱣣"}.mdi-map-marker-account-outline:before{content:"󱣤"}.mdi-map-marker-alert:before{content:"󰼅"}.mdi-map-marker-alert-outline:before{content:"󰼆"}.mdi-map-marker-check:before{content:"󰲕"}.mdi-map-marker-check-outline:before{content:"󱋻"}.mdi-map-marker-circle:before{content:"󰍏"}.mdi-map-marker-distance:before{content:"󰣰"}.mdi-map-marker-down:before{content:"󱄂"}.mdi-map-marker-left:before{content:"󱋛"}.mdi-map-marker-left-outline:before{content:"󱋝"}.mdi-map-marker-minus:before{content:"󰙐"}.mdi-map-marker-minus-outline:before{content:"󱋹"}.mdi-map-marker-multiple:before{content:"󰍐"}.mdi-map-marker-multiple-outline:before{content:"󱉷"}.mdi-map-marker-off:before{content:"󰍑"}.mdi-map-marker-off-outline:before{content:"󱋽"}.mdi-map-marker-outline:before{content:"󰟙"}.mdi-map-marker-path:before{content:"󰴠"}.mdi-map-marker-plus:before{content:"󰙑"}.mdi-map-marker-plus-outline:before{content:"󱋸"}.mdi-map-marker-question:before{content:"󰼇"}.mdi-map-marker-question-outline:before{content:"󰼈"}.mdi-map-marker-radius:before{content:"󰍒"}.mdi-map-marker-radius-outline:before{content:"󱋼"}.mdi-map-marker-remove:before{content:"󰼉"}.mdi-map-marker-remove-outline:before{content:"󱋺"}.mdi-map-marker-remove-variant:before{content:"󰼊"}.mdi-map-marker-right:before{content:"󱋜"}.mdi-map-marker-right-outline:before{content:"󱋞"}.mdi-map-marker-star:before{content:"󱘈"}.mdi-map-marker-star-outline:before{content:"󱘉"}.mdi-map-marker-up:before{content:"󱄃"}.mdi-map-minus:before{content:"󰦁"}.mdi-map-outline:before{content:"󰦂"}.mdi-map-plus:before{content:"󰦃"}.mdi-map-search:before{content:"󰦄"}.mdi-map-search-outline:before{content:"󰦅"}.mdi-mapbox:before{content:"󰮪"}.mdi-margin:before{content:"󰍓"}.mdi-marker:before{content:"󰙒"}.mdi-marker-cancel:before{content:"󰷙"}.mdi-marker-check:before{content:"󰍕"}.mdi-mastodon:before{content:"󰫑"}.mdi-material-design:before{content:"󰦆"}.mdi-material-ui:before{content:"󰍗"}.mdi-math-compass:before{content:"󰍘"}.mdi-math-cos:before{content:"󰲖"}.mdi-math-integral:before{content:"󰿈"}.mdi-math-integral-box:before{content:"󰿉"}.mdi-math-log:before{content:"󱂅"}.mdi-math-norm:before{content:"󰿊"}.mdi-math-norm-box:before{content:"󰿋"}.mdi-math-sin:before{content:"󰲗"}.mdi-math-tan:before{content:"󰲘"}.mdi-matrix:before{content:"󰘨"}.mdi-medal:before{content:"󰦇"}.mdi-medal-outline:before{content:"󱌦"}.mdi-medical-bag:before{content:"󰛯"}.mdi-medical-cotton-swab:before{content:"󱪸"}.mdi-medication:before{content:"󱬔"}.mdi-medication-outline:before{content:"󱬕"}.mdi-meditation:before{content:"󱅻"}.mdi-memory:before{content:"󰍛"}.mdi-menorah:before{content:"󱟔"}.mdi-menorah-fire:before{content:"󱟕"}.mdi-menu:before{content:"󰍜"}.mdi-menu-down:before{content:"󰍝"}.mdi-menu-down-outline:before{content:"󰚶"}.mdi-menu-left:before{content:"󰍞"}.mdi-menu-left-outline:before{content:"󰨂"}.mdi-menu-open:before{content:"󰮫"}.mdi-menu-right:before{content:"󰍟"}.mdi-menu-right-outline:before{content:"󰨃"}.mdi-menu-swap:before{content:"󰩤"}.mdi-menu-swap-outline:before{content:"󰩥"}.mdi-menu-up:before{content:"󰍠"}.mdi-menu-up-outline:before{content:"󰚷"}.mdi-merge:before{content:"󰽜"}.mdi-message:before{content:"󰍡"}.mdi-message-alert:before{content:"󰍢"}.mdi-message-alert-outline:before{content:"󰨄"}.mdi-message-arrow-left:before{content:"󱋲"}.mdi-message-arrow-left-outline:before{content:"󱋳"}.mdi-message-arrow-right:before{content:"󱋴"}.mdi-message-arrow-right-outline:before{content:"󱋵"}.mdi-message-badge:before{content:"󱥁"}.mdi-message-badge-outline:before{content:"󱥂"}.mdi-message-bookmark:before{content:"󱖬"}.mdi-message-bookmark-outline:before{content:"󱖭"}.mdi-message-bulleted:before{content:"󰚢"}.mdi-message-bulleted-off:before{content:"󰚣"}.mdi-message-check:before{content:"󱮊"}.mdi-message-check-outline:before{content:"󱮋"}.mdi-message-cog:before{content:"󰛱"}.mdi-message-cog-outline:before{content:"󱅲"}.mdi-message-draw:before{content:"󰍣"}.mdi-message-fast:before{content:"󱧌"}.mdi-message-fast-outline:before{content:"󱧍"}.mdi-message-flash:before{content:"󱖩"}.mdi-message-flash-outline:before{content:"󱖪"}.mdi-message-image:before{content:"󰍤"}.mdi-message-image-outline:before{content:"󱅬"}.mdi-message-lock:before{content:"󰿌"}.mdi-message-lock-outline:before{content:"󱅭"}.mdi-message-minus:before{content:"󱅮"}.mdi-message-minus-outline:before{content:"󱅯"}.mdi-message-off:before{content:"󱙍"}.mdi-message-off-outline:before{content:"󱙎"}.mdi-message-outline:before{content:"󰍥"}.mdi-message-plus:before{content:"󰙓"}.mdi-message-plus-outline:before{content:"󱂻"}.mdi-message-processing:before{content:"󰍦"}.mdi-message-processing-outline:before{content:"󱅰"}.mdi-message-question:before{content:"󱜺"}.mdi-message-question-outline:before{content:"󱜻"}.mdi-message-reply:before{content:"󰍧"}.mdi-message-reply-outline:before{content:"󱜽"}.mdi-message-reply-text:before{content:"󰍨"}.mdi-message-reply-text-outline:before{content:"󱜾"}.mdi-message-settings:before{content:"󰛰"}.mdi-message-settings-outline:before{content:"󱅱"}.mdi-message-star:before{content:"󰚚"}.mdi-message-star-outline:before{content:"󱉐"}.mdi-message-text:before{content:"󰍩"}.mdi-message-text-clock:before{content:"󱅳"}.mdi-message-text-clock-outline:before{content:"󱅴"}.mdi-message-text-fast:before{content:"󱧎"}.mdi-message-text-fast-outline:before{content:"󱧏"}.mdi-message-text-lock:before{content:"󰿍"}.mdi-message-text-lock-outline:before{content:"󱅵"}.mdi-message-text-outline:before{content:"󰍪"}.mdi-message-video:before{content:"󰍫"}.mdi-meteor:before{content:"󰘩"}.mdi-meter-electric:before{content:"󱩗"}.mdi-meter-electric-outline:before{content:"󱩘"}.mdi-meter-gas:before{content:"󱩙"}.mdi-meter-gas-outline:before{content:"󱩚"}.mdi-metronome:before{content:"󰟚"}.mdi-metronome-tick:before{content:"󰟛"}.mdi-micro-sd:before{content:"󰟜"}.mdi-microphone:before{content:"󰍬"}.mdi-microphone-message:before{content:"󰔊"}.mdi-microphone-message-off:before{content:"󰔋"}.mdi-microphone-minus:before{content:"󰢳"}.mdi-microphone-off:before{content:"󰍭"}.mdi-microphone-outline:before{content:"󰍮"}.mdi-microphone-plus:before{content:"󰢴"}.mdi-microphone-question:before{content:"󱦉"}.mdi-microphone-question-outline:before{content:"󱦊"}.mdi-microphone-settings:before{content:"󰍯"}.mdi-microphone-variant:before{content:"󰍰"}.mdi-microphone-variant-off:before{content:"󰍱"}.mdi-microscope:before{content:"󰙔"}.mdi-microsoft:before{content:"󰍲"}.mdi-microsoft-access:before{content:"󱎎"}.mdi-microsoft-azure:before{content:"󰠅"}.mdi-microsoft-azure-devops:before{content:"󰿕"}.mdi-microsoft-bing:before{content:"󰂤"}.mdi-microsoft-dynamics-365:before{content:"󰦈"}.mdi-microsoft-edge:before{content:"󰇩"}.mdi-microsoft-excel:before{content:"󱎏"}.mdi-microsoft-internet-explorer:before{content:"󰌀"}.mdi-microsoft-office:before{content:"󰏆"}.mdi-microsoft-onedrive:before{content:"󰏊"}.mdi-microsoft-onenote:before{content:"󰝇"}.mdi-microsoft-outlook:before{content:"󰴢"}.mdi-microsoft-powerpoint:before{content:"󱎐"}.mdi-microsoft-sharepoint:before{content:"󱎑"}.mdi-microsoft-teams:before{content:"󰊻"}.mdi-microsoft-visual-studio:before{content:"󰘐"}.mdi-microsoft-visual-studio-code:before{content:"󰨞"}.mdi-microsoft-windows:before{content:"󰖳"}.mdi-microsoft-windows-classic:before{content:"󰨡"}.mdi-microsoft-word:before{content:"󱎒"}.mdi-microsoft-xbox:before{content:"󰖹"}.mdi-microsoft-xbox-controller:before{content:"󰖺"}.mdi-microsoft-xbox-controller-battery-alert:before{content:"󰝋"}.mdi-microsoft-xbox-controller-battery-charging:before{content:"󰨢"}.mdi-microsoft-xbox-controller-battery-empty:before{content:"󰝌"}.mdi-microsoft-xbox-controller-battery-full:before{content:"󰝍"}.mdi-microsoft-xbox-controller-battery-low:before{content:"󰝎"}.mdi-microsoft-xbox-controller-battery-medium:before{content:"󰝏"}.mdi-microsoft-xbox-controller-battery-unknown:before{content:"󰝐"}.mdi-microsoft-xbox-controller-menu:before{content:"󰹯"}.mdi-microsoft-xbox-controller-off:before{content:"󰖻"}.mdi-microsoft-xbox-controller-view:before{content:"󰹰"}.mdi-microwave:before{content:"󰲙"}.mdi-microwave-off:before{content:"󱐣"}.mdi-middleware:before{content:"󰽝"}.mdi-middleware-outline:before{content:"󰽞"}.mdi-midi:before{content:"󰣱"}.mdi-midi-port:before{content:"󰣲"}.mdi-mine:before{content:"󰷚"}.mdi-minecraft:before{content:"󰍳"}.mdi-mini-sd:before{content:"󰨅"}.mdi-minidisc:before{content:"󰨆"}.mdi-minus:before{content:"󰍴"}.mdi-minus-box:before{content:"󰍵"}.mdi-minus-box-multiple:before{content:"󱅁"}.mdi-minus-box-multiple-outline:before{content:"󱅂"}.mdi-minus-box-outline:before{content:"󰛲"}.mdi-minus-circle:before{content:"󰍶"}.mdi-minus-circle-multiple:before{content:"󰍚"}.mdi-minus-circle-multiple-outline:before{content:"󰫓"}.mdi-minus-circle-off:before{content:"󱑙"}.mdi-minus-circle-off-outline:before{content:"󱑚"}.mdi-minus-circle-outline:before{content:"󰍷"}.mdi-minus-network:before{content:"󰍸"}.mdi-minus-network-outline:before{content:"󰲚"}.mdi-minus-thick:before{content:"󱘹"}.mdi-mirror:before{content:"󱇽"}.mdi-mirror-rectangle:before{content:"󱞟"}.mdi-mirror-variant:before{content:"󱞠"}.mdi-mixed-martial-arts:before{content:"󰶏"}.mdi-mixed-reality:before{content:"󰡿"}.mdi-molecule:before{content:"󰮬"}.mdi-molecule-co:before{content:"󱋾"}.mdi-molecule-co2:before{content:"󰟤"}.mdi-monitor:before{content:"󰍹"}.mdi-monitor-account:before{content:"󱩛"}.mdi-monitor-arrow-down:before{content:"󱧐"}.mdi-monitor-arrow-down-variant:before{content:"󱧑"}.mdi-monitor-cellphone:before{content:"󰦉"}.mdi-monitor-cellphone-star:before{content:"󰦊"}.mdi-monitor-dashboard:before{content:"󰨇"}.mdi-monitor-edit:before{content:"󱋆"}.mdi-monitor-eye:before{content:"󱎴"}.mdi-monitor-lock:before{content:"󰷛"}.mdi-monitor-multiple:before{content:"󰍺"}.mdi-monitor-off:before{content:"󰶐"}.mdi-monitor-screenshot:before{content:"󰹑"}.mdi-monitor-share:before{content:"󱒃"}.mdi-monitor-shimmer:before{content:"󱄄"}.mdi-monitor-small:before{content:"󱡶"}.mdi-monitor-speaker:before{content:"󰽟"}.mdi-monitor-speaker-off:before{content:"󰽠"}.mdi-monitor-star:before{content:"󰷜"}.mdi-monitor-vertical:before{content:"󱰳"}.mdi-moon-first-quarter:before{content:"󰽡"}.mdi-moon-full:before{content:"󰽢"}.mdi-moon-last-quarter:before{content:"󰽣"}.mdi-moon-new:before{content:"󰽤"}.mdi-moon-waning-crescent:before{content:"󰽥"}.mdi-moon-waning-gibbous:before{content:"󰽦"}.mdi-moon-waxing-crescent:before{content:"󰽧"}.mdi-moon-waxing-gibbous:before{content:"󰽨"}.mdi-moped:before{content:"󱂆"}.mdi-moped-electric:before{content:"󱖷"}.mdi-moped-electric-outline:before{content:"󱖸"}.mdi-moped-outline:before{content:"󱖹"}.mdi-more:before{content:"󰍻"}.mdi-mortar-pestle:before{content:"󱝈"}.mdi-mortar-pestle-plus:before{content:"󰏱"}.mdi-mosque:before{content:"󰵅"}.mdi-mosque-outline:before{content:"󱠧"}.mdi-mother-heart:before{content:"󱌔"}.mdi-mother-nurse:before{content:"󰴡"}.mdi-motion:before{content:"󱖲"}.mdi-motion-outline:before{content:"󱖳"}.mdi-motion-pause:before{content:"󱖐"}.mdi-motion-pause-outline:before{content:"󱖒"}.mdi-motion-play:before{content:"󱖏"}.mdi-motion-play-outline:before{content:"󱖑"}.mdi-motion-sensor:before{content:"󰶑"}.mdi-motion-sensor-off:before{content:"󱐵"}.mdi-motorbike:before{content:"󰍼"}.mdi-motorbike-electric:before{content:"󱖺"}.mdi-motorbike-off:before{content:"󱬖"}.mdi-mouse:before{content:"󰍽"}.mdi-mouse-bluetooth:before{content:"󰦋"}.mdi-mouse-move-down:before{content:"󱕐"}.mdi-mouse-move-up:before{content:"󱕑"}.mdi-mouse-move-vertical:before{content:"󱕒"}.mdi-mouse-off:before{content:"󰍾"}.mdi-mouse-variant:before{content:"󰍿"}.mdi-mouse-variant-off:before{content:"󰎀"}.mdi-move-resize:before{content:"󰙕"}.mdi-move-resize-variant:before{content:"󰙖"}.mdi-movie:before{content:"󰎁"}.mdi-movie-check:before{content:"󱛳"}.mdi-movie-check-outline:before{content:"󱛴"}.mdi-movie-cog:before{content:"󱛵"}.mdi-movie-cog-outline:before{content:"󱛶"}.mdi-movie-edit:before{content:"󱄢"}.mdi-movie-edit-outline:before{content:"󱄣"}.mdi-movie-filter:before{content:"󱄤"}.mdi-movie-filter-outline:before{content:"󱄥"}.mdi-movie-minus:before{content:"󱛷"}.mdi-movie-minus-outline:before{content:"󱛸"}.mdi-movie-off:before{content:"󱛹"}.mdi-movie-off-outline:before{content:"󱛺"}.mdi-movie-open:before{content:"󰿎"}.mdi-movie-open-check:before{content:"󱛻"}.mdi-movie-open-check-outline:before{content:"󱛼"}.mdi-movie-open-cog:before{content:"󱛽"}.mdi-movie-open-cog-outline:before{content:"󱛾"}.mdi-movie-open-edit:before{content:"󱛿"}.mdi-movie-open-edit-outline:before{content:"󱜀"}.mdi-movie-open-minus:before{content:"󱜁"}.mdi-movie-open-minus-outline:before{content:"󱜂"}.mdi-movie-open-off:before{content:"󱜃"}.mdi-movie-open-off-outline:before{content:"󱜄"}.mdi-movie-open-outline:before{content:"󰿏"}.mdi-movie-open-play:before{content:"󱜅"}.mdi-movie-open-play-outline:before{content:"󱜆"}.mdi-movie-open-plus:before{content:"󱜇"}.mdi-movie-open-plus-outline:before{content:"󱜈"}.mdi-movie-open-remove:before{content:"󱜉"}.mdi-movie-open-remove-outline:before{content:"󱜊"}.mdi-movie-open-settings:before{content:"󱜋"}.mdi-movie-open-settings-outline:before{content:"󱜌"}.mdi-movie-open-star:before{content:"󱜍"}.mdi-movie-open-star-outline:before{content:"󱜎"}.mdi-movie-outline:before{content:"󰷝"}.mdi-movie-play:before{content:"󱜏"}.mdi-movie-play-outline:before{content:"󱜐"}.mdi-movie-plus:before{content:"󱜑"}.mdi-movie-plus-outline:before{content:"󱜒"}.mdi-movie-remove:before{content:"󱜓"}.mdi-movie-remove-outline:before{content:"󱜔"}.mdi-movie-roll:before{content:"󰟞"}.mdi-movie-search:before{content:"󱇒"}.mdi-movie-search-outline:before{content:"󱇓"}.mdi-movie-settings:before{content:"󱜕"}.mdi-movie-settings-outline:before{content:"󱜖"}.mdi-movie-star:before{content:"󱜗"}.mdi-movie-star-outline:before{content:"󱜘"}.mdi-mower:before{content:"󱙯"}.mdi-mower-bag:before{content:"󱙰"}.mdi-mower-bag-on:before{content:"󱭠"}.mdi-mower-on:before{content:"󱭟"}.mdi-muffin:before{content:"󰦌"}.mdi-multicast:before{content:"󱢓"}.mdi-multimedia:before{content:"󱮗"}.mdi-multiplication:before{content:"󰎂"}.mdi-multiplication-box:before{content:"󰎃"}.mdi-mushroom:before{content:"󰟟"}.mdi-mushroom-off:before{content:"󱏺"}.mdi-mushroom-off-outline:before{content:"󱏻"}.mdi-mushroom-outline:before{content:"󰟠"}.mdi-music:before{content:"󰝚"}.mdi-music-accidental-double-flat:before{content:"󰽩"}.mdi-music-accidental-double-sharp:before{content:"󰽪"}.mdi-music-accidental-flat:before{content:"󰽫"}.mdi-music-accidental-natural:before{content:"󰽬"}.mdi-music-accidental-sharp:before{content:"󰽭"}.mdi-music-box:before{content:"󰎄"}.mdi-music-box-multiple:before{content:"󰌳"}.mdi-music-box-multiple-outline:before{content:"󰼄"}.mdi-music-box-outline:before{content:"󰎅"}.mdi-music-circle:before{content:"󰎆"}.mdi-music-circle-outline:before{content:"󰫔"}.mdi-music-clef-alto:before{content:"󰽮"}.mdi-music-clef-bass:before{content:"󰽯"}.mdi-music-clef-treble:before{content:"󰽰"}.mdi-music-note:before{content:"󰎇"}.mdi-music-note-bluetooth:before{content:"󰗾"}.mdi-music-note-bluetooth-off:before{content:"󰗿"}.mdi-music-note-eighth:before{content:"󰎈"}.mdi-music-note-eighth-dotted:before{content:"󰽱"}.mdi-music-note-half:before{content:"󰎉"}.mdi-music-note-half-dotted:before{content:"󰽲"}.mdi-music-note-minus:before{content:"󱮉"}.mdi-music-note-off:before{content:"󰎊"}.mdi-music-note-off-outline:before{content:"󰽳"}.mdi-music-note-outline:before{content:"󰽴"}.mdi-music-note-plus:before{content:"󰷞"}.mdi-music-note-quarter:before{content:"󰎋"}.mdi-music-note-quarter-dotted:before{content:"󰽵"}.mdi-music-note-sixteenth:before{content:"󰎌"}.mdi-music-note-sixteenth-dotted:before{content:"󰽶"}.mdi-music-note-whole:before{content:"󰎍"}.mdi-music-note-whole-dotted:before{content:"󰽷"}.mdi-music-off:before{content:"󰝛"}.mdi-music-rest-eighth:before{content:"󰽸"}.mdi-music-rest-half:before{content:"󰽹"}.mdi-music-rest-quarter:before{content:"󰽺"}.mdi-music-rest-sixteenth:before{content:"󰽻"}.mdi-music-rest-whole:before{content:"󰽼"}.mdi-mustache:before{content:"󱗞"}.mdi-nail:before{content:"󰷟"}.mdi-nas:before{content:"󰣳"}.mdi-nativescript:before{content:"󰢀"}.mdi-nature:before{content:"󰎎"}.mdi-nature-outline:before{content:"󱱱"}.mdi-nature-people:before{content:"󰎏"}.mdi-nature-people-outline:before{content:"󱱲"}.mdi-navigation:before{content:"󰎐"}.mdi-navigation-outline:before{content:"󱘇"}.mdi-navigation-variant:before{content:"󱣰"}.mdi-navigation-variant-outline:before{content:"󱣱"}.mdi-near-me:before{content:"󰗍"}.mdi-necklace:before{content:"󰼋"}.mdi-needle:before{content:"󰎑"}.mdi-needle-off:before{content:"󱧒"}.mdi-netflix:before{content:"󰝆"}.mdi-network:before{content:"󰛳"}.mdi-network-off:before{content:"󰲛"}.mdi-network-off-outline:before{content:"󰲜"}.mdi-network-outline:before{content:"󰲝"}.mdi-network-pos:before{content:"󱫋"}.mdi-network-strength-1:before{content:"󰣴"}.mdi-network-strength-1-alert:before{content:"󰣵"}.mdi-network-strength-2:before{content:"󰣶"}.mdi-network-strength-2-alert:before{content:"󰣷"}.mdi-network-strength-3:before{content:"󰣸"}.mdi-network-strength-3-alert:before{content:"󰣹"}.mdi-network-strength-4:before{content:"󰣺"}.mdi-network-strength-4-alert:before{content:"󰣻"}.mdi-network-strength-4-cog:before{content:"󱤚"}.mdi-network-strength-off:before{content:"󰣼"}.mdi-network-strength-off-outline:before{content:"󰣽"}.mdi-network-strength-outline:before{content:"󰣾"}.mdi-new-box:before{content:"󰎔"}.mdi-newspaper:before{content:"󰎕"}.mdi-newspaper-check:before{content:"󱥃"}.mdi-newspaper-minus:before{content:"󰼌"}.mdi-newspaper-plus:before{content:"󰼍"}.mdi-newspaper-remove:before{content:"󱥄"}.mdi-newspaper-variant:before{content:"󱀁"}.mdi-newspaper-variant-multiple:before{content:"󱀂"}.mdi-newspaper-variant-multiple-outline:before{content:"󱀃"}.mdi-newspaper-variant-outline:before{content:"󱀄"}.mdi-nfc:before{content:"󰎖"}.mdi-nfc-search-variant:before{content:"󰹓"}.mdi-nfc-tap:before{content:"󰎗"}.mdi-nfc-variant:before{content:"󰎘"}.mdi-nfc-variant-off:before{content:"󰹔"}.mdi-ninja:before{content:"󰝴"}.mdi-nintendo-game-boy:before{content:"󱎓"}.mdi-nintendo-switch:before{content:"󰟡"}.mdi-nintendo-wii:before{content:"󰖫"}.mdi-nintendo-wiiu:before{content:"󰜭"}.mdi-nix:before{content:"󱄅"}.mdi-nodejs:before{content:"󰎙"}.mdi-noodles:before{content:"󱅾"}.mdi-not-equal:before{content:"󰦍"}.mdi-not-equal-variant:before{content:"󰦎"}.mdi-note:before{content:"󰎚"}.mdi-note-alert:before{content:"󱝽"}.mdi-note-alert-outline:before{content:"󱝾"}.mdi-note-check:before{content:"󱝿"}.mdi-note-check-outline:before{content:"󱞀"}.mdi-note-edit:before{content:"󱞁"}.mdi-note-edit-outline:before{content:"󱞂"}.mdi-note-minus:before{content:"󱙏"}.mdi-note-minus-outline:before{content:"󱙐"}.mdi-note-multiple:before{content:"󰚸"}.mdi-note-multiple-outline:before{content:"󰚹"}.mdi-note-off:before{content:"󱞃"}.mdi-note-off-outline:before{content:"󱞄"}.mdi-note-outline:before{content:"󰎛"}.mdi-note-plus:before{content:"󰎜"}.mdi-note-plus-outline:before{content:"󰎝"}.mdi-note-remove:before{content:"󱙑"}.mdi-note-remove-outline:before{content:"󱙒"}.mdi-note-search:before{content:"󱙓"}.mdi-note-search-outline:before{content:"󱙔"}.mdi-note-text:before{content:"󰎞"}.mdi-note-text-outline:before{content:"󱇗"}.mdi-notebook:before{content:"󰠮"}.mdi-notebook-check:before{content:"󱓵"}.mdi-notebook-check-outline:before{content:"󱓶"}.mdi-notebook-edit:before{content:"󱓧"}.mdi-notebook-edit-outline:before{content:"󱓩"}.mdi-notebook-heart:before{content:"󱨋"}.mdi-notebook-heart-outline:before{content:"󱨌"}.mdi-notebook-minus:before{content:"󱘐"}.mdi-notebook-minus-outline:before{content:"󱘑"}.mdi-notebook-multiple:before{content:"󰹕"}.mdi-notebook-outline:before{content:"󰺿"}.mdi-notebook-plus:before{content:"󱘒"}.mdi-notebook-plus-outline:before{content:"󱘓"}.mdi-notebook-remove:before{content:"󱘔"}.mdi-notebook-remove-outline:before{content:"󱘕"}.mdi-notification-clear-all:before{content:"󰎟"}.mdi-npm:before{content:"󰛷"}.mdi-nuke:before{content:"󰚤"}.mdi-null:before{content:"󰟢"}.mdi-numeric:before{content:"󰎠"}.mdi-numeric-0:before{content:"󰬹"}.mdi-numeric-0-box:before{content:"󰎡"}.mdi-numeric-0-box-multiple:before{content:"󰼎"}.mdi-numeric-0-box-multiple-outline:before{content:"󰎢"}.mdi-numeric-0-box-outline:before{content:"󰎣"}.mdi-numeric-0-circle:before{content:"󰲞"}.mdi-numeric-0-circle-outline:before{content:"󰲟"}.mdi-numeric-1:before{content:"󰬺"}.mdi-numeric-1-box:before{content:"󰎤"}.mdi-numeric-1-box-multiple:before{content:"󰼏"}.mdi-numeric-1-box-multiple-outline:before{content:"󰎥"}.mdi-numeric-1-box-outline:before{content:"󰎦"}.mdi-numeric-1-circle:before{content:"󰲠"}.mdi-numeric-1-circle-outline:before{content:"󰲡"}.mdi-numeric-10:before{content:"󰿩"}.mdi-numeric-10-box:before{content:"󰽽"}.mdi-numeric-10-box-multiple:before{content:"󰿪"}.mdi-numeric-10-box-multiple-outline:before{content:"󰿫"}.mdi-numeric-10-box-outline:before{content:"󰽾"}.mdi-numeric-10-circle:before{content:"󰿬"}.mdi-numeric-10-circle-outline:before{content:"󰿭"}.mdi-numeric-2:before{content:"󰬻"}.mdi-numeric-2-box:before{content:"󰎧"}.mdi-numeric-2-box-multiple:before{content:"󰼐"}.mdi-numeric-2-box-multiple-outline:before{content:"󰎨"}.mdi-numeric-2-box-outline:before{content:"󰎩"}.mdi-numeric-2-circle:before{content:"󰲢"}.mdi-numeric-2-circle-outline:before{content:"󰲣"}.mdi-numeric-3:before{content:"󰬼"}.mdi-numeric-3-box:before{content:"󰎪"}.mdi-numeric-3-box-multiple:before{content:"󰼑"}.mdi-numeric-3-box-multiple-outline:before{content:"󰎫"}.mdi-numeric-3-box-outline:before{content:"󰎬"}.mdi-numeric-3-circle:before{content:"󰲤"}.mdi-numeric-3-circle-outline:before{content:"󰲥"}.mdi-numeric-4:before{content:"󰬽"}.mdi-numeric-4-box:before{content:"󰎭"}.mdi-numeric-4-box-multiple:before{content:"󰼒"}.mdi-numeric-4-box-multiple-outline:before{content:"󰎲"}.mdi-numeric-4-box-outline:before{content:"󰎮"}.mdi-numeric-4-circle:before{content:"󰲦"}.mdi-numeric-4-circle-outline:before{content:"󰲧"}.mdi-numeric-5:before{content:"󰬾"}.mdi-numeric-5-box:before{content:"󰎱"}.mdi-numeric-5-box-multiple:before{content:"󰼓"}.mdi-numeric-5-box-multiple-outline:before{content:"󰎯"}.mdi-numeric-5-box-outline:before{content:"󰎰"}.mdi-numeric-5-circle:before{content:"󰲨"}.mdi-numeric-5-circle-outline:before{content:"󰲩"}.mdi-numeric-6:before{content:"󰬿"}.mdi-numeric-6-box:before{content:"󰎳"}.mdi-numeric-6-box-multiple:before{content:"󰼔"}.mdi-numeric-6-box-multiple-outline:before{content:"󰎴"}.mdi-numeric-6-box-outline:before{content:"󰎵"}.mdi-numeric-6-circle:before{content:"󰲪"}.mdi-numeric-6-circle-outline:before{content:"󰲫"}.mdi-numeric-7:before{content:"󰭀"}.mdi-numeric-7-box:before{content:"󰎶"}.mdi-numeric-7-box-multiple:before{content:"󰼕"}.mdi-numeric-7-box-multiple-outline:before{content:"󰎷"}.mdi-numeric-7-box-outline:before{content:"󰎸"}.mdi-numeric-7-circle:before{content:"󰲬"}.mdi-numeric-7-circle-outline:before{content:"󰲭"}.mdi-numeric-8:before{content:"󰭁"}.mdi-numeric-8-box:before{content:"󰎹"}.mdi-numeric-8-box-multiple:before{content:"󰼖"}.mdi-numeric-8-box-multiple-outline:before{content:"󰎺"}.mdi-numeric-8-box-outline:before{content:"󰎻"}.mdi-numeric-8-circle:before{content:"󰲮"}.mdi-numeric-8-circle-outline:before{content:"󰲯"}.mdi-numeric-9:before{content:"󰭂"}.mdi-numeric-9-box:before{content:"󰎼"}.mdi-numeric-9-box-multiple:before{content:"󰼗"}.mdi-numeric-9-box-multiple-outline:before{content:"󰎽"}.mdi-numeric-9-box-outline:before{content:"󰎾"}.mdi-numeric-9-circle:before{content:"󰲰"}.mdi-numeric-9-circle-outline:before{content:"󰲱"}.mdi-numeric-9-plus:before{content:"󰿮"}.mdi-numeric-9-plus-box:before{content:"󰎿"}.mdi-numeric-9-plus-box-multiple:before{content:"󰼘"}.mdi-numeric-9-plus-box-multiple-outline:before{content:"󰏀"}.mdi-numeric-9-plus-box-outline:before{content:"󰏁"}.mdi-numeric-9-plus-circle:before{content:"󰲲"}.mdi-numeric-9-plus-circle-outline:before{content:"󰲳"}.mdi-numeric-negative-1:before{content:"󱁒"}.mdi-numeric-off:before{content:"󱧓"}.mdi-numeric-positive-1:before{content:"󱗋"}.mdi-nut:before{content:"󰛸"}.mdi-nutrition:before{content:"󰏂"}.mdi-nuxt:before{content:"󱄆"}.mdi-oar:before{content:"󰙼"}.mdi-ocarina:before{content:"󰷠"}.mdi-oci:before{content:"󱋩"}.mdi-ocr:before{content:"󱄺"}.mdi-octagon:before{content:"󰏃"}.mdi-octagon-outline:before{content:"󰏄"}.mdi-octagram:before{content:"󰛹"}.mdi-octagram-edit:before{content:"󱰴"}.mdi-octagram-edit-outline:before{content:"󱰵"}.mdi-octagram-minus:before{content:"󱰶"}.mdi-octagram-minus-outline:before{content:"󱰷"}.mdi-octagram-outline:before{content:"󰝵"}.mdi-octagram-plus:before{content:"󱰸"}.mdi-octagram-plus-outline:before{content:"󱰹"}.mdi-octahedron:before{content:"󱥐"}.mdi-octahedron-off:before{content:"󱥑"}.mdi-odnoklassniki:before{content:"󰏅"}.mdi-offer:before{content:"󱈛"}.mdi-office-building:before{content:"󰦑"}.mdi-office-building-cog:before{content:"󱥉"}.mdi-office-building-cog-outline:before{content:"󱥊"}.mdi-office-building-marker:before{content:"󱔠"}.mdi-office-building-marker-outline:before{content:"󱔡"}.mdi-office-building-minus:before{content:"󱮪"}.mdi-office-building-minus-outline:before{content:"󱮫"}.mdi-office-building-outline:before{content:"󱔟"}.mdi-office-building-plus:before{content:"󱮨"}.mdi-office-building-plus-outline:before{content:"󱮩"}.mdi-office-building-remove:before{content:"󱮬"}.mdi-office-building-remove-outline:before{content:"󱮭"}.mdi-oil:before{content:"󰏇"}.mdi-oil-lamp:before{content:"󰼙"}.mdi-oil-level:before{content:"󱁓"}.mdi-oil-temperature:before{content:"󰿸"}.mdi-om:before{content:"󰥳"}.mdi-omega:before{content:"󰏉"}.mdi-one-up:before{content:"󰮭"}.mdi-onepassword:before{content:"󰢁"}.mdi-opacity:before{content:"󰗌"}.mdi-open-in-app:before{content:"󰏋"}.mdi-open-in-new:before{content:"󰏌"}.mdi-open-source-initiative:before{content:"󰮮"}.mdi-openid:before{content:"󰏍"}.mdi-opera:before{content:"󰏎"}.mdi-orbit:before{content:"󰀘"}.mdi-orbit-variant:before{content:"󱗛"}.mdi-order-alphabetical-ascending:before{content:"󰈍"}.mdi-order-alphabetical-descending:before{content:"󰴇"}.mdi-order-bool-ascending:before{content:"󰊾"}.mdi-order-bool-ascending-variant:before{content:"󰦏"}.mdi-order-bool-descending:before{content:"󱎄"}.mdi-order-bool-descending-variant:before{content:"󰦐"}.mdi-order-numeric-ascending:before{content:"󰕅"}.mdi-order-numeric-descending:before{content:"󰕆"}.mdi-origin:before{content:"󰭃"}.mdi-ornament:before{content:"󰏏"}.mdi-ornament-variant:before{content:"󰏐"}.mdi-outdoor-lamp:before{content:"󱁔"}.mdi-overscan:before{content:"󱀅"}.mdi-owl:before{content:"󰏒"}.mdi-pac-man:before{content:"󰮯"}.mdi-package:before{content:"󰏓"}.mdi-package-check:before{content:"󱭑"}.mdi-package-down:before{content:"󰏔"}.mdi-package-up:before{content:"󰏕"}.mdi-package-variant:before{content:"󰏖"}.mdi-package-variant-closed:before{content:"󰏗"}.mdi-package-variant-closed-check:before{content:"󱭒"}.mdi-package-variant-closed-minus:before{content:"󱧔"}.mdi-package-variant-closed-plus:before{content:"󱧕"}.mdi-package-variant-closed-remove:before{content:"󱧖"}.mdi-package-variant-minus:before{content:"󱧗"}.mdi-package-variant-plus:before{content:"󱧘"}.mdi-package-variant-remove:before{content:"󱧙"}.mdi-page-first:before{content:"󰘀"}.mdi-page-last:before{content:"󰘁"}.mdi-page-layout-body:before{content:"󰛺"}.mdi-page-layout-footer:before{content:"󰛻"}.mdi-page-layout-header:before{content:"󰛼"}.mdi-page-layout-header-footer:before{content:"󰽿"}.mdi-page-layout-sidebar-left:before{content:"󰛽"}.mdi-page-layout-sidebar-right:before{content:"󰛾"}.mdi-page-next:before{content:"󰮰"}.mdi-page-next-outline:before{content:"󰮱"}.mdi-page-previous:before{content:"󰮲"}.mdi-page-previous-outline:before{content:"󰮳"}.mdi-pail:before{content:"󱐗"}.mdi-pail-minus:before{content:"󱐷"}.mdi-pail-minus-outline:before{content:"󱐼"}.mdi-pail-off:before{content:"󱐹"}.mdi-pail-off-outline:before{content:"󱐾"}.mdi-pail-outline:before{content:"󱐺"}.mdi-pail-plus:before{content:"󱐶"}.mdi-pail-plus-outline:before{content:"󱐻"}.mdi-pail-remove:before{content:"󱐸"}.mdi-pail-remove-outline:before{content:"󱐽"}.mdi-palette:before{content:"󰏘"}.mdi-palette-advanced:before{content:"󰏙"}.mdi-palette-outline:before{content:"󰸌"}.mdi-palette-swatch:before{content:"󰢵"}.mdi-palette-swatch-outline:before{content:"󱍜"}.mdi-palette-swatch-variant:before{content:"󱥚"}.mdi-palm-tree:before{content:"󱁕"}.mdi-pan:before{content:"󰮴"}.mdi-pan-bottom-left:before{content:"󰮵"}.mdi-pan-bottom-right:before{content:"󰮶"}.mdi-pan-down:before{content:"󰮷"}.mdi-pan-horizontal:before{content:"󰮸"}.mdi-pan-left:before{content:"󰮹"}.mdi-pan-right:before{content:"󰮺"}.mdi-pan-top-left:before{content:"󰮻"}.mdi-pan-top-right:before{content:"󰮼"}.mdi-pan-up:before{content:"󰮽"}.mdi-pan-vertical:before{content:"󰮾"}.mdi-panda:before{content:"󰏚"}.mdi-pandora:before{content:"󰏛"}.mdi-panorama:before{content:"󰏜"}.mdi-panorama-fisheye:before{content:"󰏝"}.mdi-panorama-horizontal:before{content:"󱤨"}.mdi-panorama-horizontal-outline:before{content:"󰏞"}.mdi-panorama-outline:before{content:"󱦌"}.mdi-panorama-sphere:before{content:"󱦍"}.mdi-panorama-sphere-outline:before{content:"󱦎"}.mdi-panorama-variant:before{content:"󱦏"}.mdi-panorama-variant-outline:before{content:"󱦐"}.mdi-panorama-vertical:before{content:"󱤩"}.mdi-panorama-vertical-outline:before{content:"󰏟"}.mdi-panorama-wide-angle:before{content:"󱥟"}.mdi-panorama-wide-angle-outline:before{content:"󰏠"}.mdi-paper-cut-vertical:before{content:"󰏡"}.mdi-paper-roll:before{content:"󱅗"}.mdi-paper-roll-outline:before{content:"󱅘"}.mdi-paperclip:before{content:"󰏢"}.mdi-paperclip-check:before{content:"󱫆"}.mdi-paperclip-lock:before{content:"󱧚"}.mdi-paperclip-minus:before{content:"󱫇"}.mdi-paperclip-off:before{content:"󱫈"}.mdi-paperclip-plus:before{content:"󱫉"}.mdi-paperclip-remove:before{content:"󱫊"}.mdi-parachute:before{content:"󰲴"}.mdi-parachute-outline:before{content:"󰲵"}.mdi-paragliding:before{content:"󱝅"}.mdi-parking:before{content:"󰏣"}.mdi-party-popper:before{content:"󱁖"}.mdi-passport:before{content:"󰟣"}.mdi-passport-biometric:before{content:"󰷡"}.mdi-pasta:before{content:"󱅠"}.mdi-patio-heater:before{content:"󰾀"}.mdi-patreon:before{content:"󰢂"}.mdi-pause:before{content:"󰏤"}.mdi-pause-box:before{content:"󰂼"}.mdi-pause-box-outline:before{content:"󱭺"}.mdi-pause-circle:before{content:"󰏥"}.mdi-pause-circle-outline:before{content:"󰏦"}.mdi-pause-octagon:before{content:"󰏧"}.mdi-pause-octagon-outline:before{content:"󰏨"}.mdi-paw:before{content:"󰏩"}.mdi-paw-off:before{content:"󰙗"}.mdi-paw-off-outline:before{content:"󱙶"}.mdi-paw-outline:before{content:"󱙵"}.mdi-peace:before{content:"󰢄"}.mdi-peanut:before{content:"󰿼"}.mdi-peanut-off:before{content:"󰿽"}.mdi-peanut-off-outline:before{content:"󰿿"}.mdi-peanut-outline:before{content:"󰿾"}.mdi-pen:before{content:"󰏪"}.mdi-pen-lock:before{content:"󰷢"}.mdi-pen-minus:before{content:"󰷣"}.mdi-pen-off:before{content:"󰷤"}.mdi-pen-plus:before{content:"󰷥"}.mdi-pen-remove:before{content:"󰷦"}.mdi-pencil:before{content:"󰏫"}.mdi-pencil-box:before{content:"󰏬"}.mdi-pencil-box-multiple:before{content:"󱅄"}.mdi-pencil-box-multiple-outline:before{content:"󱅅"}.mdi-pencil-box-outline:before{content:"󰏭"}.mdi-pencil-circle:before{content:"󰛿"}.mdi-pencil-circle-outline:before{content:"󰝶"}.mdi-pencil-lock:before{content:"󰏮"}.mdi-pencil-lock-outline:before{content:"󰷧"}.mdi-pencil-minus:before{content:"󰷨"}.mdi-pencil-minus-outline:before{content:"󰷩"}.mdi-pencil-off:before{content:"󰏯"}.mdi-pencil-off-outline:before{content:"󰷪"}.mdi-pencil-outline:before{content:"󰲶"}.mdi-pencil-plus:before{content:"󰷫"}.mdi-pencil-plus-outline:before{content:"󰷬"}.mdi-pencil-remove:before{content:"󰷭"}.mdi-pencil-remove-outline:before{content:"󰷮"}.mdi-pencil-ruler:before{content:"󱍓"}.mdi-pencil-ruler-outline:before{content:"󱰑"}.mdi-penguin:before{content:"󰻀"}.mdi-pentagon:before{content:"󰜁"}.mdi-pentagon-outline:before{content:"󰜀"}.mdi-pentagram:before{content:"󱙧"}.mdi-percent:before{content:"󰏰"}.mdi-percent-box:before{content:"󱨂"}.mdi-percent-box-outline:before{content:"󱨃"}.mdi-percent-circle:before{content:"󱨄"}.mdi-percent-circle-outline:before{content:"󱨅"}.mdi-percent-outline:before{content:"󱉸"}.mdi-periodic-table:before{content:"󰢶"}.mdi-perspective-less:before{content:"󰴣"}.mdi-perspective-more:before{content:"󰴤"}.mdi-ph:before{content:"󱟅"}.mdi-phone:before{content:"󰏲"}.mdi-phone-alert:before{content:"󰼚"}.mdi-phone-alert-outline:before{content:"󱆎"}.mdi-phone-bluetooth:before{content:"󰏳"}.mdi-phone-bluetooth-outline:before{content:"󱆏"}.mdi-phone-cancel:before{content:"󱂼"}.mdi-phone-cancel-outline:before{content:"󱆐"}.mdi-phone-check:before{content:"󱆩"}.mdi-phone-check-outline:before{content:"󱆪"}.mdi-phone-classic:before{content:"󰘂"}.mdi-phone-classic-off:before{content:"󱉹"}.mdi-phone-clock:before{content:"󱧛"}.mdi-phone-dial:before{content:"󱕙"}.mdi-phone-dial-outline:before{content:"󱕚"}.mdi-phone-forward:before{content:"󰏴"}.mdi-phone-forward-outline:before{content:"󱆑"}.mdi-phone-hangup:before{content:"󰏵"}.mdi-phone-hangup-outline:before{content:"󱆒"}.mdi-phone-in-talk:before{content:"󰏶"}.mdi-phone-in-talk-outline:before{content:"󱆂"}.mdi-phone-incoming:before{content:"󰏷"}.mdi-phone-incoming-outgoing:before{content:"󱬿"}.mdi-phone-incoming-outgoing-outline:before{content:"󱭀"}.mdi-phone-incoming-outline:before{content:"󱆓"}.mdi-phone-lock:before{content:"󰏸"}.mdi-phone-lock-outline:before{content:"󱆔"}.mdi-phone-log:before{content:"󰏹"}.mdi-phone-log-outline:before{content:"󱆕"}.mdi-phone-message:before{content:"󱆖"}.mdi-phone-message-outline:before{content:"󱆗"}.mdi-phone-minus:before{content:"󰙘"}.mdi-phone-minus-outline:before{content:"󱆘"}.mdi-phone-missed:before{content:"󰏺"}.mdi-phone-missed-outline:before{content:"󱆥"}.mdi-phone-off:before{content:"󰷯"}.mdi-phone-off-outline:before{content:"󱆦"}.mdi-phone-outgoing:before{content:"󰏻"}.mdi-phone-outgoing-outline:before{content:"󱆙"}.mdi-phone-outline:before{content:"󰷰"}.mdi-phone-paused:before{content:"󰏼"}.mdi-phone-paused-outline:before{content:"󱆚"}.mdi-phone-plus:before{content:"󰙙"}.mdi-phone-plus-outline:before{content:"󱆛"}.mdi-phone-refresh:before{content:"󱦓"}.mdi-phone-refresh-outline:before{content:"󱦔"}.mdi-phone-remove:before{content:"󱔯"}.mdi-phone-remove-outline:before{content:"󱔰"}.mdi-phone-return:before{content:"󰠯"}.mdi-phone-return-outline:before{content:"󱆜"}.mdi-phone-ring:before{content:"󱆫"}.mdi-phone-ring-outline:before{content:"󱆬"}.mdi-phone-rotate-landscape:before{content:"󰢅"}.mdi-phone-rotate-portrait:before{content:"󰢆"}.mdi-phone-settings:before{content:"󰏽"}.mdi-phone-settings-outline:before{content:"󱆝"}.mdi-phone-sync:before{content:"󱦕"}.mdi-phone-sync-outline:before{content:"󱦖"}.mdi-phone-voip:before{content:"󰏾"}.mdi-pi:before{content:"󰏿"}.mdi-pi-box:before{content:"󰐀"}.mdi-pi-hole:before{content:"󰷱"}.mdi-piano:before{content:"󰙽"}.mdi-piano-off:before{content:"󰚘"}.mdi-pickaxe:before{content:"󰢷"}.mdi-picture-in-picture-bottom-right:before{content:"󰹗"}.mdi-picture-in-picture-bottom-right-outline:before{content:"󰹘"}.mdi-picture-in-picture-top-right:before{content:"󰹙"}.mdi-picture-in-picture-top-right-outline:before{content:"󰹚"}.mdi-pier:before{content:"󰢇"}.mdi-pier-crane:before{content:"󰢈"}.mdi-pig:before{content:"󰐁"}.mdi-pig-variant:before{content:"󱀆"}.mdi-pig-variant-outline:before{content:"󱙸"}.mdi-piggy-bank:before{content:"󱀇"}.mdi-piggy-bank-outline:before{content:"󱙹"}.mdi-pill:before{content:"󰐂"}.mdi-pill-multiple:before{content:"󱭌"}.mdi-pill-off:before{content:"󱩜"}.mdi-pillar:before{content:"󰜂"}.mdi-pin:before{content:"󰐃"}.mdi-pin-off:before{content:"󰐄"}.mdi-pin-off-outline:before{content:"󰤰"}.mdi-pin-outline:before{content:"󰤱"}.mdi-pine-tree:before{content:"󰐅"}.mdi-pine-tree-box:before{content:"󰐆"}.mdi-pine-tree-fire:before{content:"󱐚"}.mdi-pine-tree-variant:before{content:"󱱳"}.mdi-pine-tree-variant-outline:before{content:"󱱴"}.mdi-pinterest:before{content:"󰐇"}.mdi-pinwheel:before{content:"󰫕"}.mdi-pinwheel-outline:before{content:"󰫖"}.mdi-pipe:before{content:"󰟥"}.mdi-pipe-disconnected:before{content:"󰟦"}.mdi-pipe-leak:before{content:"󰢉"}.mdi-pipe-valve:before{content:"󱡍"}.mdi-pipe-wrench:before{content:"󱍔"}.mdi-pirate:before{content:"󰨈"}.mdi-pistol:before{content:"󰜃"}.mdi-piston:before{content:"󰢊"}.mdi-pitchfork:before{content:"󱕓"}.mdi-pizza:before{content:"󰐉"}.mdi-plane-car:before{content:"󱫿"}.mdi-plane-train:before{content:"󱬀"}.mdi-play:before{content:"󰐊"}.mdi-play-box:before{content:"󱉺"}.mdi-play-box-edit-outline:before{content:"󱰺"}.mdi-play-box-lock:before{content:"󱨖"}.mdi-play-box-lock-open:before{content:"󱨗"}.mdi-play-box-lock-open-outline:before{content:"󱨘"}.mdi-play-box-lock-outline:before{content:"󱨙"}.mdi-play-box-multiple:before{content:"󰴙"}.mdi-play-box-multiple-outline:before{content:"󱏦"}.mdi-play-box-outline:before{content:"󰐋"}.mdi-play-circle:before{content:"󰐌"}.mdi-play-circle-outline:before{content:"󰐍"}.mdi-play-network:before{content:"󰢋"}.mdi-play-network-outline:before{content:"󰲷"}.mdi-play-outline:before{content:"󰼛"}.mdi-play-pause:before{content:"󰐎"}.mdi-play-protected-content:before{content:"󰐏"}.mdi-play-speed:before{content:"󰣿"}.mdi-playlist-check:before{content:"󰗇"}.mdi-playlist-edit:before{content:"󰤀"}.mdi-playlist-minus:before{content:"󰐐"}.mdi-playlist-music:before{content:"󰲸"}.mdi-playlist-music-outline:before{content:"󰲹"}.mdi-playlist-play:before{content:"󰐑"}.mdi-playlist-plus:before{content:"󰐒"}.mdi-playlist-remove:before{content:"󰐓"}.mdi-playlist-star:before{content:"󰷲"}.mdi-plex:before{content:"󰚺"}.mdi-pliers:before{content:"󱦤"}.mdi-plus:before{content:"󰐕"}.mdi-plus-box:before{content:"󰐖"}.mdi-plus-box-multiple:before{content:"󰌴"}.mdi-plus-box-multiple-outline:before{content:"󱅃"}.mdi-plus-box-outline:before{content:"󰜄"}.mdi-plus-circle:before{content:"󰐗"}.mdi-plus-circle-multiple:before{content:"󰍌"}.mdi-plus-circle-multiple-outline:before{content:"󰐘"}.mdi-plus-circle-outline:before{content:"󰐙"}.mdi-plus-lock:before{content:"󱩝"}.mdi-plus-lock-open:before{content:"󱩞"}.mdi-plus-minus:before{content:"󰦒"}.mdi-plus-minus-box:before{content:"󰦓"}.mdi-plus-minus-variant:before{content:"󱓉"}.mdi-plus-network:before{content:"󰐚"}.mdi-plus-network-outline:before{content:"󰲺"}.mdi-plus-outline:before{content:"󰜅"}.mdi-plus-thick:before{content:"󱇬"}.mdi-podcast:before{content:"󰦔"}.mdi-podium:before{content:"󰴥"}.mdi-podium-bronze:before{content:"󰴦"}.mdi-podium-gold:before{content:"󰴧"}.mdi-podium-silver:before{content:"󰴨"}.mdi-point-of-sale:before{content:"󰶒"}.mdi-pokeball:before{content:"󰐝"}.mdi-pokemon-go:before{content:"󰨉"}.mdi-poker-chip:before{content:"󰠰"}.mdi-polaroid:before{content:"󰐞"}.mdi-police-badge:before{content:"󱅧"}.mdi-police-badge-outline:before{content:"󱅨"}.mdi-police-station:before{content:"󱠹"}.mdi-poll:before{content:"󰐟"}.mdi-polo:before{content:"󱓃"}.mdi-polymer:before{content:"󰐡"}.mdi-pool:before{content:"󰘆"}.mdi-pool-thermometer:before{content:"󱩟"}.mdi-popcorn:before{content:"󰐢"}.mdi-post:before{content:"󱀈"}.mdi-post-lamp:before{content:"󱩠"}.mdi-post-outline:before{content:"󱀉"}.mdi-postage-stamp:before{content:"󰲻"}.mdi-pot:before{content:"󰋥"}.mdi-pot-mix:before{content:"󰙛"}.mdi-pot-mix-outline:before{content:"󰙷"}.mdi-pot-outline:before{content:"󰋿"}.mdi-pot-steam:before{content:"󰙚"}.mdi-pot-steam-outline:before{content:"󰌦"}.mdi-pound:before{content:"󰐣"}.mdi-pound-box:before{content:"󰐤"}.mdi-pound-box-outline:before{content:"󱅿"}.mdi-power:before{content:"󰐥"}.mdi-power-cycle:before{content:"󰤁"}.mdi-power-off:before{content:"󰤂"}.mdi-power-on:before{content:"󰤃"}.mdi-power-plug:before{content:"󰚥"}.mdi-power-plug-battery:before{content:"󱰻"}.mdi-power-plug-battery-outline:before{content:"󱰼"}.mdi-power-plug-off:before{content:"󰚦"}.mdi-power-plug-off-outline:before{content:"󱐤"}.mdi-power-plug-outline:before{content:"󱐥"}.mdi-power-settings:before{content:"󰐦"}.mdi-power-sleep:before{content:"󰤄"}.mdi-power-socket:before{content:"󰐧"}.mdi-power-socket-au:before{content:"󰤅"}.mdi-power-socket-ch:before{content:"󰾳"}.mdi-power-socket-de:before{content:"󱄇"}.mdi-power-socket-eu:before{content:"󰟧"}.mdi-power-socket-fr:before{content:"󱄈"}.mdi-power-socket-it:before{content:"󱓿"}.mdi-power-socket-jp:before{content:"󱄉"}.mdi-power-socket-uk:before{content:"󰟨"}.mdi-power-socket-us:before{content:"󰟩"}.mdi-power-standby:before{content:"󰤆"}.mdi-powershell:before{content:"󰨊"}.mdi-prescription:before{content:"󰜆"}.mdi-presentation:before{content:"󰐨"}.mdi-presentation-play:before{content:"󰐩"}.mdi-pretzel:before{content:"󱕢"}.mdi-printer:before{content:"󰐪"}.mdi-printer-3d:before{content:"󰐫"}.mdi-printer-3d-nozzle:before{content:"󰹛"}.mdi-printer-3d-nozzle-alert:before{content:"󱇀"}.mdi-printer-3d-nozzle-alert-outline:before{content:"󱇁"}.mdi-printer-3d-nozzle-heat:before{content:"󱢸"}.mdi-printer-3d-nozzle-heat-outline:before{content:"󱢹"}.mdi-printer-3d-nozzle-off:before{content:"󱬙"}.mdi-printer-3d-nozzle-off-outline:before{content:"󱬚"}.mdi-printer-3d-nozzle-outline:before{content:"󰹜"}.mdi-printer-3d-off:before{content:"󱬎"}.mdi-printer-alert:before{content:"󰐬"}.mdi-printer-check:before{content:"󱅆"}.mdi-printer-eye:before{content:"󱑘"}.mdi-printer-off:before{content:"󰹝"}.mdi-printer-off-outline:before{content:"󱞅"}.mdi-printer-outline:before{content:"󱞆"}.mdi-printer-pos:before{content:"󱁗"}.mdi-printer-pos-alert:before{content:"󱮼"}.mdi-printer-pos-alert-outline:before{content:"󱮽"}.mdi-printer-pos-cancel:before{content:"󱮾"}.mdi-printer-pos-cancel-outline:before{content:"󱮿"}.mdi-printer-pos-check:before{content:"󱯀"}.mdi-printer-pos-check-outline:before{content:"󱯁"}.mdi-printer-pos-cog:before{content:"󱯂"}.mdi-printer-pos-cog-outline:before{content:"󱯃"}.mdi-printer-pos-edit:before{content:"󱯄"}.mdi-printer-pos-edit-outline:before{content:"󱯅"}.mdi-printer-pos-minus:before{content:"󱯆"}.mdi-printer-pos-minus-outline:before{content:"󱯇"}.mdi-printer-pos-network:before{content:"󱯈"}.mdi-printer-pos-network-outline:before{content:"󱯉"}.mdi-printer-pos-off:before{content:"󱯊"}.mdi-printer-pos-off-outline:before{content:"󱯋"}.mdi-printer-pos-outline:before{content:"󱯌"}.mdi-printer-pos-pause:before{content:"󱯍"}.mdi-printer-pos-pause-outline:before{content:"󱯎"}.mdi-printer-pos-play:before{content:"󱯏"}.mdi-printer-pos-play-outline:before{content:"󱯐"}.mdi-printer-pos-plus:before{content:"󱯑"}.mdi-printer-pos-plus-outline:before{content:"󱯒"}.mdi-printer-pos-refresh:before{content:"󱯓"}.mdi-printer-pos-refresh-outline:before{content:"󱯔"}.mdi-printer-pos-remove:before{content:"󱯕"}.mdi-printer-pos-remove-outline:before{content:"󱯖"}.mdi-printer-pos-star:before{content:"󱯗"}.mdi-printer-pos-star-outline:before{content:"󱯘"}.mdi-printer-pos-stop:before{content:"󱯙"}.mdi-printer-pos-stop-outline:before{content:"󱯚"}.mdi-printer-pos-sync:before{content:"󱯛"}.mdi-printer-pos-sync-outline:before{content:"󱯜"}.mdi-printer-pos-wrench:before{content:"󱯝"}.mdi-printer-pos-wrench-outline:before{content:"󱯞"}.mdi-printer-search:before{content:"󱑗"}.mdi-printer-settings:before{content:"󰜇"}.mdi-printer-wireless:before{content:"󰨋"}.mdi-priority-high:before{content:"󰘃"}.mdi-priority-low:before{content:"󰘄"}.mdi-professional-hexagon:before{content:"󰐭"}.mdi-progress-alert:before{content:"󰲼"}.mdi-progress-check:before{content:"󰦕"}.mdi-progress-clock:before{content:"󰦖"}.mdi-progress-close:before{content:"󱄊"}.mdi-progress-download:before{content:"󰦗"}.mdi-progress-helper:before{content:"󱮢"}.mdi-progress-pencil:before{content:"󱞇"}.mdi-progress-question:before{content:"󱔢"}.mdi-progress-star:before{content:"󱞈"}.mdi-progress-star-four-points:before{content:"󱰽"}.mdi-progress-upload:before{content:"󰦘"}.mdi-progress-wrench:before{content:"󰲽"}.mdi-projector:before{content:"󰐮"}.mdi-projector-off:before{content:"󱨣"}.mdi-projector-screen:before{content:"󰐯"}.mdi-projector-screen-off:before{content:"󱠍"}.mdi-projector-screen-off-outline:before{content:"󱠎"}.mdi-projector-screen-outline:before{content:"󱜤"}.mdi-projector-screen-variant:before{content:"󱠏"}.mdi-projector-screen-variant-off:before{content:"󱠐"}.mdi-projector-screen-variant-off-outline:before{content:"󱠑"}.mdi-projector-screen-variant-outline:before{content:"󱠒"}.mdi-propane-tank:before{content:"󱍗"}.mdi-propane-tank-outline:before{content:"󱍘"}.mdi-protocol:before{content:"󰿘"}.mdi-publish:before{content:"󰚧"}.mdi-publish-off:before{content:"󱥅"}.mdi-pulse:before{content:"󰐰"}.mdi-pump:before{content:"󱐂"}.mdi-pump-off:before{content:"󱬢"}.mdi-pumpkin:before{content:"󰮿"}.mdi-purse:before{content:"󰼜"}.mdi-purse-outline:before{content:"󰼝"}.mdi-puzzle:before{content:"󰐱"}.mdi-puzzle-check:before{content:"󱐦"}.mdi-puzzle-check-outline:before{content:"󱐧"}.mdi-puzzle-edit:before{content:"󱓓"}.mdi-puzzle-edit-outline:before{content:"󱓙"}.mdi-puzzle-heart:before{content:"󱓔"}.mdi-puzzle-heart-outline:before{content:"󱓚"}.mdi-puzzle-minus:before{content:"󱓑"}.mdi-puzzle-minus-outline:before{content:"󱓗"}.mdi-puzzle-outline:before{content:"󰩦"}.mdi-puzzle-plus:before{content:"󱓐"}.mdi-puzzle-plus-outline:before{content:"󱓖"}.mdi-puzzle-remove:before{content:"󱓒"}.mdi-puzzle-remove-outline:before{content:"󱓘"}.mdi-puzzle-star:before{content:"󱓕"}.mdi-puzzle-star-outline:before{content:"󱓛"}.mdi-pyramid:before{content:"󱥒"}.mdi-pyramid-off:before{content:"󱥓"}.mdi-qi:before{content:"󰦙"}.mdi-qqchat:before{content:"󰘅"}.mdi-qrcode:before{content:"󰐲"}.mdi-qrcode-edit:before{content:"󰢸"}.mdi-qrcode-minus:before{content:"󱆌"}.mdi-qrcode-plus:before{content:"󱆋"}.mdi-qrcode-remove:before{content:"󱆍"}.mdi-qrcode-scan:before{content:"󰐳"}.mdi-quadcopter:before{content:"󰐴"}.mdi-quality-high:before{content:"󰐵"}.mdi-quality-low:before{content:"󰨌"}.mdi-quality-medium:before{content:"󰨍"}.mdi-quora:before{content:"󰴩"}.mdi-rabbit:before{content:"󰤇"}.mdi-rabbit-variant:before{content:"󱩡"}.mdi-rabbit-variant-outline:before{content:"󱩢"}.mdi-racing-helmet:before{content:"󰶓"}.mdi-racquetball:before{content:"󰶔"}.mdi-radar:before{content:"󰐷"}.mdi-radiator:before{content:"󰐸"}.mdi-radiator-disabled:before{content:"󰫗"}.mdi-radiator-off:before{content:"󰫘"}.mdi-radio:before{content:"󰐹"}.mdi-radio-am:before{content:"󰲾"}.mdi-radio-fm:before{content:"󰲿"}.mdi-radio-handheld:before{content:"󰐺"}.mdi-radio-off:before{content:"󱈜"}.mdi-radio-tower:before{content:"󰐻"}.mdi-radioactive:before{content:"󰐼"}.mdi-radioactive-circle:before{content:"󱡝"}.mdi-radioactive-circle-outline:before{content:"󱡞"}.mdi-radioactive-off:before{content:"󰻁"}.mdi-radiobox-blank:before{content:"󰐽"}.mdi-radiobox-indeterminate-variant:before{content:"󱱞"}.mdi-radiobox-marked:before{content:"󰐾"}.mdi-radiology-box:before{content:"󱓅"}.mdi-radiology-box-outline:before{content:"󱓆"}.mdi-radius:before{content:"󰳀"}.mdi-radius-outline:before{content:"󰳁"}.mdi-railroad-light:before{content:"󰼞"}.mdi-rake:before{content:"󱕄"}.mdi-raspberry-pi:before{content:"󰐿"}.mdi-raw:before{content:"󱨏"}.mdi-raw-off:before{content:"󱨐"}.mdi-ray-end:before{content:"󰑀"}.mdi-ray-end-arrow:before{content:"󰑁"}.mdi-ray-start:before{content:"󰑂"}.mdi-ray-start-arrow:before{content:"󰑃"}.mdi-ray-start-end:before{content:"󰑄"}.mdi-ray-start-vertex-end:before{content:"󱗘"}.mdi-ray-vertex:before{content:"󰑅"}.mdi-razor-double-edge:before{content:"󱦗"}.mdi-razor-single-edge:before{content:"󱦘"}.mdi-react:before{content:"󰜈"}.mdi-read:before{content:"󰑇"}.mdi-receipt:before{content:"󰠤"}.mdi-receipt-clock:before{content:"󱰾"}.mdi-receipt-clock-outline:before{content:"󱰿"}.mdi-receipt-outline:before{content:"󰓷"}.mdi-receipt-send:before{content:"󱱀"}.mdi-receipt-send-outline:before{content:"󱱁"}.mdi-receipt-text:before{content:"󰑉"}.mdi-receipt-text-arrow-left:before{content:"󱱂"}.mdi-receipt-text-arrow-left-outline:before{content:"󱱃"}.mdi-receipt-text-arrow-right:before{content:"󱱄"}.mdi-receipt-text-arrow-right-outline:before{content:"󱱅"}.mdi-receipt-text-check:before{content:"󱩣"}.mdi-receipt-text-check-outline:before{content:"󱩤"}.mdi-receipt-text-clock:before{content:"󱱆"}.mdi-receipt-text-clock-outline:before{content:"󱱇"}.mdi-receipt-text-edit:before{content:"󱱈"}.mdi-receipt-text-edit-outline:before{content:"󱱉"}.mdi-receipt-text-minus:before{content:"󱩥"}.mdi-receipt-text-minus-outline:before{content:"󱩦"}.mdi-receipt-text-outline:before{content:"󱧜"}.mdi-receipt-text-plus:before{content:"󱩧"}.mdi-receipt-text-plus-outline:before{content:"󱩨"}.mdi-receipt-text-remove:before{content:"󱩩"}.mdi-receipt-text-remove-outline:before{content:"󱩪"}.mdi-receipt-text-send:before{content:"󱱊"}.mdi-receipt-text-send-outline:before{content:"󱱋"}.mdi-record:before{content:"󰑊"}.mdi-record-circle:before{content:"󰻂"}.mdi-record-circle-outline:before{content:"󰻃"}.mdi-record-player:before{content:"󰦚"}.mdi-record-rec:before{content:"󰑋"}.mdi-rectangle:before{content:"󰹞"}.mdi-rectangle-outline:before{content:"󰹟"}.mdi-recycle:before{content:"󰑌"}.mdi-recycle-variant:before{content:"󱎝"}.mdi-reddit:before{content:"󰑍"}.mdi-redhat:before{content:"󱄛"}.mdi-redo:before{content:"󰑎"}.mdi-redo-variant:before{content:"󰑏"}.mdi-reflect-horizontal:before{content:"󰨎"}.mdi-reflect-vertical:before{content:"󰨏"}.mdi-refresh:before{content:"󰑐"}.mdi-refresh-auto:before{content:"󱣲"}.mdi-refresh-circle:before{content:"󱍷"}.mdi-regex:before{content:"󰑑"}.mdi-registered-trademark:before{content:"󰩧"}.mdi-reiterate:before{content:"󱖈"}.mdi-relation-many-to-many:before{content:"󱒖"}.mdi-relation-many-to-one:before{content:"󱒗"}.mdi-relation-many-to-one-or-many:before{content:"󱒘"}.mdi-relation-many-to-only-one:before{content:"󱒙"}.mdi-relation-many-to-zero-or-many:before{content:"󱒚"}.mdi-relation-many-to-zero-or-one:before{content:"󱒛"}.mdi-relation-one-or-many-to-many:before{content:"󱒜"}.mdi-relation-one-or-many-to-one:before{content:"󱒝"}.mdi-relation-one-or-many-to-one-or-many:before{content:"󱒞"}.mdi-relation-one-or-many-to-only-one:before{content:"󱒟"}.mdi-relation-one-or-many-to-zero-or-many:before{content:"󱒠"}.mdi-relation-one-or-many-to-zero-or-one:before{content:"󱒡"}.mdi-relation-one-to-many:before{content:"󱒢"}.mdi-relation-one-to-one:before{content:"󱒣"}.mdi-relation-one-to-one-or-many:before{content:"󱒤"}.mdi-relation-one-to-only-one:before{content:"󱒥"}.mdi-relation-one-to-zero-or-many:before{content:"󱒦"}.mdi-relation-one-to-zero-or-one:before{content:"󱒧"}.mdi-relation-only-one-to-many:before{content:"󱒨"}.mdi-relation-only-one-to-one:before{content:"󱒩"}.mdi-relation-only-one-to-one-or-many:before{content:"󱒪"}.mdi-relation-only-one-to-only-one:before{content:"󱒫"}.mdi-relation-only-one-to-zero-or-many:before{content:"󱒬"}.mdi-relation-only-one-to-zero-or-one:before{content:"󱒭"}.mdi-relation-zero-or-many-to-many:before{content:"󱒮"}.mdi-relation-zero-or-many-to-one:before{content:"󱒯"}.mdi-relation-zero-or-many-to-one-or-many:before{content:"󱒰"}.mdi-relation-zero-or-many-to-only-one:before{content:"󱒱"}.mdi-relation-zero-or-many-to-zero-or-many:before{content:"󱒲"}.mdi-relation-zero-or-many-to-zero-or-one:before{content:"󱒳"}.mdi-relation-zero-or-one-to-many:before{content:"󱒴"}.mdi-relation-zero-or-one-to-one:before{content:"󱒵"}.mdi-relation-zero-or-one-to-one-or-many:before{content:"󱒶"}.mdi-relation-zero-or-one-to-only-one:before{content:"󱒷"}.mdi-relation-zero-or-one-to-zero-or-many:before{content:"󱒸"}.mdi-relation-zero-or-one-to-zero-or-one:before{content:"󱒹"}.mdi-relative-scale:before{content:"󰑒"}.mdi-reload:before{content:"󰑓"}.mdi-reload-alert:before{content:"󱄋"}.mdi-reminder:before{content:"󰢌"}.mdi-remote:before{content:"󰑔"}.mdi-remote-desktop:before{content:"󰢹"}.mdi-remote-off:before{content:"󰻄"}.mdi-remote-tv:before{content:"󰻅"}.mdi-remote-tv-off:before{content:"󰻆"}.mdi-rename:before{content:"󱰘"}.mdi-rename-box:before{content:"󰑕"}.mdi-rename-box-outline:before{content:"󱰙"}.mdi-rename-outline:before{content:"󱰚"}.mdi-reorder-horizontal:before{content:"󰚈"}.mdi-reorder-vertical:before{content:"󰚉"}.mdi-repeat:before{content:"󰑖"}.mdi-repeat-off:before{content:"󰑗"}.mdi-repeat-once:before{content:"󰑘"}.mdi-repeat-variant:before{content:"󰕇"}.mdi-replay:before{content:"󰑙"}.mdi-reply:before{content:"󰑚"}.mdi-reply-all:before{content:"󰑛"}.mdi-reply-all-outline:before{content:"󰼟"}.mdi-reply-circle:before{content:"󱆮"}.mdi-reply-outline:before{content:"󰼠"}.mdi-reproduction:before{content:"󰑜"}.mdi-resistor:before{content:"󰭄"}.mdi-resistor-nodes:before{content:"󰭅"}.mdi-resize:before{content:"󰩨"}.mdi-resize-bottom-right:before{content:"󰑝"}.mdi-responsive:before{content:"󰑞"}.mdi-restart:before{content:"󰜉"}.mdi-restart-alert:before{content:"󱄌"}.mdi-restart-off:before{content:"󰶕"}.mdi-restore:before{content:"󰦛"}.mdi-restore-alert:before{content:"󱄍"}.mdi-rewind:before{content:"󰑟"}.mdi-rewind-10:before{content:"󰴪"}.mdi-rewind-15:before{content:"󱥆"}.mdi-rewind-30:before{content:"󰶖"}.mdi-rewind-45:before{content:"󱬓"}.mdi-rewind-5:before{content:"󱇹"}.mdi-rewind-60:before{content:"󱘌"}.mdi-rewind-outline:before{content:"󰜊"}.mdi-rhombus:before{content:"󰜋"}.mdi-rhombus-medium:before{content:"󰨐"}.mdi-rhombus-medium-outline:before{content:"󱓜"}.mdi-rhombus-outline:before{content:"󰜌"}.mdi-rhombus-split:before{content:"󰨑"}.mdi-rhombus-split-outline:before{content:"󱓝"}.mdi-ribbon:before{content:"󰑠"}.mdi-rice:before{content:"󰟪"}.mdi-rickshaw:before{content:"󱖻"}.mdi-rickshaw-electric:before{content:"󱖼"}.mdi-ring:before{content:"󰟫"}.mdi-rivet:before{content:"󰹠"}.mdi-road:before{content:"󰑡"}.mdi-road-variant:before{content:"󰑢"}.mdi-robber:before{content:"󱁘"}.mdi-robot:before{content:"󰚩"}.mdi-robot-angry:before{content:"󱚝"}.mdi-robot-angry-outline:before{content:"󱚞"}.mdi-robot-confused:before{content:"󱚟"}.mdi-robot-confused-outline:before{content:"󱚠"}.mdi-robot-dead:before{content:"󱚡"}.mdi-robot-dead-outline:before{content:"󱚢"}.mdi-robot-excited:before{content:"󱚣"}.mdi-robot-excited-outline:before{content:"󱚤"}.mdi-robot-happy:before{content:"󱜙"}.mdi-robot-happy-outline:before{content:"󱜚"}.mdi-robot-industrial:before{content:"󰭆"}.mdi-robot-industrial-outline:before{content:"󱨚"}.mdi-robot-love:before{content:"󱚥"}.mdi-robot-love-outline:before{content:"󱚦"}.mdi-robot-mower:before{content:"󱇷"}.mdi-robot-mower-outline:before{content:"󱇳"}.mdi-robot-off:before{content:"󱚧"}.mdi-robot-off-outline:before{content:"󱙻"}.mdi-robot-outline:before{content:"󱙺"}.mdi-robot-vacuum:before{content:"󰜍"}.mdi-robot-vacuum-alert:before{content:"󱭝"}.mdi-robot-vacuum-off:before{content:"󱰁"}.mdi-robot-vacuum-variant:before{content:"󰤈"}.mdi-robot-vacuum-variant-alert:before{content:"󱭞"}.mdi-robot-vacuum-variant-off:before{content:"󱰂"}.mdi-rocket:before{content:"󰑣"}.mdi-rocket-launch:before{content:"󱓞"}.mdi-rocket-launch-outline:before{content:"󱓟"}.mdi-rocket-outline:before{content:"󱎯"}.mdi-rodent:before{content:"󱌧"}.mdi-roller-shade:before{content:"󱩫"}.mdi-roller-shade-closed:before{content:"󱩬"}.mdi-roller-skate:before{content:"󰴫"}.mdi-roller-skate-off:before{content:"󰅅"}.mdi-rollerblade:before{content:"󰴬"}.mdi-rollerblade-off:before{content:"󰀮"}.mdi-rollupjs:before{content:"󰯀"}.mdi-rolodex:before{content:"󱪹"}.mdi-rolodex-outline:before{content:"󱪺"}.mdi-roman-numeral-1:before{content:"󱂈"}.mdi-roman-numeral-10:before{content:"󱂑"}.mdi-roman-numeral-2:before{content:"󱂉"}.mdi-roman-numeral-3:before{content:"󱂊"}.mdi-roman-numeral-4:before{content:"󱂋"}.mdi-roman-numeral-5:before{content:"󱂌"}.mdi-roman-numeral-6:before{content:"󱂍"}.mdi-roman-numeral-7:before{content:"󱂎"}.mdi-roman-numeral-8:before{content:"󱂏"}.mdi-roman-numeral-9:before{content:"󱂐"}.mdi-room-service:before{content:"󰢍"}.mdi-room-service-outline:before{content:"󰶗"}.mdi-rotate-360:before{content:"󱦙"}.mdi-rotate-3d:before{content:"󰻇"}.mdi-rotate-3d-variant:before{content:"󰑤"}.mdi-rotate-left:before{content:"󰑥"}.mdi-rotate-left-variant:before{content:"󰑦"}.mdi-rotate-orbit:before{content:"󰶘"}.mdi-rotate-right:before{content:"󰑧"}.mdi-rotate-right-variant:before{content:"󰑨"}.mdi-rounded-corner:before{content:"󰘇"}.mdi-router:before{content:"󱇢"}.mdi-router-network:before{content:"󱂇"}.mdi-router-wireless:before{content:"󰑩"}.mdi-router-wireless-off:before{content:"󱖣"}.mdi-router-wireless-settings:before{content:"󰩩"}.mdi-routes:before{content:"󰑪"}.mdi-routes-clock:before{content:"󱁙"}.mdi-rowing:before{content:"󰘈"}.mdi-rss:before{content:"󰑫"}.mdi-rss-box:before{content:"󰑬"}.mdi-rss-off:before{content:"󰼡"}.mdi-rug:before{content:"󱑵"}.mdi-rugby:before{content:"󰶙"}.mdi-ruler:before{content:"󰑭"}.mdi-ruler-square:before{content:"󰳂"}.mdi-ruler-square-compass:before{content:"󰺾"}.mdi-run:before{content:"󰜎"}.mdi-run-fast:before{content:"󰑮"}.mdi-rv-truck:before{content:"󱇔"}.mdi-sack:before{content:"󰴮"}.mdi-sack-outline:before{content:"󱱌"}.mdi-sack-percent:before{content:"󰴯"}.mdi-safe:before{content:"󰩪"}.mdi-safe-square:before{content:"󱉼"}.mdi-safe-square-outline:before{content:"󱉽"}.mdi-safety-goggles:before{content:"󰴰"}.mdi-sail-boat:before{content:"󰻈"}.mdi-sail-boat-sink:before{content:"󱫯"}.mdi-sale:before{content:"󰑯"}.mdi-sale-outline:before{content:"󱨆"}.mdi-salesforce:before{content:"󰢎"}.mdi-sass:before{content:"󰟬"}.mdi-satellite:before{content:"󰑰"}.mdi-satellite-uplink:before{content:"󰤉"}.mdi-satellite-variant:before{content:"󰑱"}.mdi-sausage:before{content:"󰢺"}.mdi-sausage-off:before{content:"󱞉"}.mdi-saw-blade:before{content:"󰹡"}.mdi-sawtooth-wave:before{content:"󱑺"}.mdi-saxophone:before{content:"󰘉"}.mdi-scale:before{content:"󰑲"}.mdi-scale-balance:before{content:"󰗑"}.mdi-scale-bathroom:before{content:"󰑳"}.mdi-scale-off:before{content:"󱁚"}.mdi-scale-unbalanced:before{content:"󱦸"}.mdi-scan-helper:before{content:"󱏘"}.mdi-scanner:before{content:"󰚫"}.mdi-scanner-off:before{content:"󰤊"}.mdi-scatter-plot:before{content:"󰻉"}.mdi-scatter-plot-outline:before{content:"󰻊"}.mdi-scent:before{content:"󱥘"}.mdi-scent-off:before{content:"󱥙"}.mdi-school:before{content:"󰑴"}.mdi-school-outline:before{content:"󱆀"}.mdi-scissors-cutting:before{content:"󰩫"}.mdi-scooter:before{content:"󱖽"}.mdi-scooter-electric:before{content:"󱖾"}.mdi-scoreboard:before{content:"󱉾"}.mdi-scoreboard-outline:before{content:"󱉿"}.mdi-screen-rotation:before{content:"󰑵"}.mdi-screen-rotation-lock:before{content:"󰑸"}.mdi-screw-flat-top:before{content:"󰷳"}.mdi-screw-lag:before{content:"󰷴"}.mdi-screw-machine-flat-top:before{content:"󰷵"}.mdi-screw-machine-round-top:before{content:"󰷶"}.mdi-screw-round-top:before{content:"󰷷"}.mdi-screwdriver:before{content:"󰑶"}.mdi-script:before{content:"󰯁"}.mdi-script-outline:before{content:"󰑷"}.mdi-script-text:before{content:"󰯂"}.mdi-script-text-key:before{content:"󱜥"}.mdi-script-text-key-outline:before{content:"󱜦"}.mdi-script-text-outline:before{content:"󰯃"}.mdi-script-text-play:before{content:"󱜧"}.mdi-script-text-play-outline:before{content:"󱜨"}.mdi-sd:before{content:"󰑹"}.mdi-seal:before{content:"󰑺"}.mdi-seal-variant:before{content:"󰿙"}.mdi-search-web:before{content:"󰜏"}.mdi-seat:before{content:"󰳃"}.mdi-seat-flat:before{content:"󰑻"}.mdi-seat-flat-angled:before{content:"󰑼"}.mdi-seat-individual-suite:before{content:"󰑽"}.mdi-seat-legroom-extra:before{content:"󰑾"}.mdi-seat-legroom-normal:before{content:"󰑿"}.mdi-seat-legroom-reduced:before{content:"󰒀"}.mdi-seat-outline:before{content:"󰳄"}.mdi-seat-passenger:before{content:"󱉉"}.mdi-seat-recline-extra:before{content:"󰒁"}.mdi-seat-recline-normal:before{content:"󰒂"}.mdi-seatbelt:before{content:"󰳅"}.mdi-security:before{content:"󰒃"}.mdi-security-network:before{content:"󰒄"}.mdi-seed:before{content:"󰹢"}.mdi-seed-off:before{content:"󱏽"}.mdi-seed-off-outline:before{content:"󱏾"}.mdi-seed-outline:before{content:"󰹣"}.mdi-seed-plus:before{content:"󱩭"}.mdi-seed-plus-outline:before{content:"󱩮"}.mdi-seesaw:before{content:"󱖤"}.mdi-segment:before{content:"󰻋"}.mdi-select:before{content:"󰒅"}.mdi-select-all:before{content:"󰒆"}.mdi-select-arrow-down:before{content:"󱭙"}.mdi-select-arrow-up:before{content:"󱭘"}.mdi-select-color:before{content:"󰴱"}.mdi-select-compare:before{content:"󰫙"}.mdi-select-drag:before{content:"󰩬"}.mdi-select-group:before{content:"󰾂"}.mdi-select-inverse:before{content:"󰒇"}.mdi-select-marker:before{content:"󱊀"}.mdi-select-multiple:before{content:"󱊁"}.mdi-select-multiple-marker:before{content:"󱊂"}.mdi-select-off:before{content:"󰒈"}.mdi-select-place:before{content:"󰿚"}.mdi-select-remove:before{content:"󱟁"}.mdi-select-search:before{content:"󱈄"}.mdi-selection:before{content:"󰒉"}.mdi-selection-drag:before{content:"󰩭"}.mdi-selection-ellipse:before{content:"󰴲"}.mdi-selection-ellipse-arrow-inside:before{content:"󰼢"}.mdi-selection-ellipse-remove:before{content:"󱟂"}.mdi-selection-marker:before{content:"󱊃"}.mdi-selection-multiple:before{content:"󱊅"}.mdi-selection-multiple-marker:before{content:"󱊄"}.mdi-selection-off:before{content:"󰝷"}.mdi-selection-remove:before{content:"󱟃"}.mdi-selection-search:before{content:"󱈅"}.mdi-semantic-web:before{content:"󱌖"}.mdi-send:before{content:"󰒊"}.mdi-send-check:before{content:"󱅡"}.mdi-send-check-outline:before{content:"󱅢"}.mdi-send-circle:before{content:"󰷸"}.mdi-send-circle-outline:before{content:"󰷹"}.mdi-send-clock:before{content:"󱅣"}.mdi-send-clock-outline:before{content:"󱅤"}.mdi-send-lock:before{content:"󰟭"}.mdi-send-lock-outline:before{content:"󱅦"}.mdi-send-outline:before{content:"󱅥"}.mdi-send-variant:before{content:"󱱍"}.mdi-send-variant-clock:before{content:"󱱾"}.mdi-send-variant-clock-outline:before{content:"󱱿"}.mdi-send-variant-outline:before{content:"󱱎"}.mdi-serial-port:before{content:"󰙜"}.mdi-server:before{content:"󰒋"}.mdi-server-minus:before{content:"󰒌"}.mdi-server-network:before{content:"󰒍"}.mdi-server-network-off:before{content:"󰒎"}.mdi-server-off:before{content:"󰒏"}.mdi-server-plus:before{content:"󰒐"}.mdi-server-remove:before{content:"󰒑"}.mdi-server-security:before{content:"󰒒"}.mdi-set-all:before{content:"󰝸"}.mdi-set-center:before{content:"󰝹"}.mdi-set-center-right:before{content:"󰝺"}.mdi-set-left:before{content:"󰝻"}.mdi-set-left-center:before{content:"󰝼"}.mdi-set-left-right:before{content:"󰝽"}.mdi-set-merge:before{content:"󱓠"}.mdi-set-none:before{content:"󰝾"}.mdi-set-right:before{content:"󰝿"}.mdi-set-split:before{content:"󱓡"}.mdi-set-square:before{content:"󱑝"}.mdi-set-top-box:before{content:"󰦟"}.mdi-settings-helper:before{content:"󰩮"}.mdi-shaker:before{content:"󱄎"}.mdi-shaker-outline:before{content:"󱄏"}.mdi-shape:before{content:"󰠱"}.mdi-shape-circle-plus:before{content:"󰙝"}.mdi-shape-outline:before{content:"󰠲"}.mdi-shape-oval-plus:before{content:"󱇺"}.mdi-shape-plus:before{content:"󰒕"}.mdi-shape-plus-outline:before{content:"󱱏"}.mdi-shape-polygon-plus:before{content:"󰙞"}.mdi-shape-rectangle-plus:before{content:"󰙟"}.mdi-shape-square-plus:before{content:"󰙠"}.mdi-shape-square-rounded-plus:before{content:"󱓺"}.mdi-share:before{content:"󰒖"}.mdi-share-all:before{content:"󱇴"}.mdi-share-all-outline:before{content:"󱇵"}.mdi-share-circle:before{content:"󱆭"}.mdi-share-off:before{content:"󰼣"}.mdi-share-off-outline:before{content:"󰼤"}.mdi-share-outline:before{content:"󰤲"}.mdi-share-variant:before{content:"󰒗"}.mdi-share-variant-outline:before{content:"󱔔"}.mdi-shark:before{content:"󱢺"}.mdi-shark-fin:before{content:"󱙳"}.mdi-shark-fin-outline:before{content:"󱙴"}.mdi-shark-off:before{content:"󱢻"}.mdi-sheep:before{content:"󰳆"}.mdi-shield:before{content:"󰒘"}.mdi-shield-account:before{content:"󰢏"}.mdi-shield-account-outline:before{content:"󰨒"}.mdi-shield-account-variant:before{content:"󱖧"}.mdi-shield-account-variant-outline:before{content:"󱖨"}.mdi-shield-airplane:before{content:"󰚻"}.mdi-shield-airplane-outline:before{content:"󰳇"}.mdi-shield-alert:before{content:"󰻌"}.mdi-shield-alert-outline:before{content:"󰻍"}.mdi-shield-bug:before{content:"󱏚"}.mdi-shield-bug-outline:before{content:"󱏛"}.mdi-shield-car:before{content:"󰾃"}.mdi-shield-check:before{content:"󰕥"}.mdi-shield-check-outline:before{content:"󰳈"}.mdi-shield-cross:before{content:"󰳉"}.mdi-shield-cross-outline:before{content:"󰳊"}.mdi-shield-crown:before{content:"󱢼"}.mdi-shield-crown-outline:before{content:"󱢽"}.mdi-shield-edit:before{content:"󱆠"}.mdi-shield-edit-outline:before{content:"󱆡"}.mdi-shield-half:before{content:"󱍠"}.mdi-shield-half-full:before{content:"󰞀"}.mdi-shield-home:before{content:"󰚊"}.mdi-shield-home-outline:before{content:"󰳋"}.mdi-shield-key:before{content:"󰯄"}.mdi-shield-key-outline:before{content:"󰯅"}.mdi-shield-link-variant:before{content:"󰴳"}.mdi-shield-link-variant-outline:before{content:"󰴴"}.mdi-shield-lock:before{content:"󰦝"}.mdi-shield-lock-open:before{content:"󱦚"}.mdi-shield-lock-open-outline:before{content:"󱦛"}.mdi-shield-lock-outline:before{content:"󰳌"}.mdi-shield-moon:before{content:"󱠨"}.mdi-shield-moon-outline:before{content:"󱠩"}.mdi-shield-off:before{content:"󰦞"}.mdi-shield-off-outline:before{content:"󰦜"}.mdi-shield-outline:before{content:"󰒙"}.mdi-shield-plus:before{content:"󰫚"}.mdi-shield-plus-outline:before{content:"󰫛"}.mdi-shield-refresh:before{content:"󰂪"}.mdi-shield-refresh-outline:before{content:"󰇠"}.mdi-shield-remove:before{content:"󰫜"}.mdi-shield-remove-outline:before{content:"󰫝"}.mdi-shield-search:before{content:"󰶚"}.mdi-shield-star:before{content:"󱄻"}.mdi-shield-star-outline:before{content:"󱄼"}.mdi-shield-sun:before{content:"󱁝"}.mdi-shield-sun-outline:before{content:"󱁞"}.mdi-shield-sword:before{content:"󱢾"}.mdi-shield-sword-outline:before{content:"󱢿"}.mdi-shield-sync:before{content:"󱆢"}.mdi-shield-sync-outline:before{content:"󱆣"}.mdi-shimmer:before{content:"󱕅"}.mdi-ship-wheel:before{content:"󰠳"}.mdi-shipping-pallet:before{content:"󱡎"}.mdi-shoe-ballet:before{content:"󱗊"}.mdi-shoe-cleat:before{content:"󱗇"}.mdi-shoe-formal:before{content:"󰭇"}.mdi-shoe-heel:before{content:"󰭈"}.mdi-shoe-print:before{content:"󰷺"}.mdi-shoe-sneaker:before{content:"󱗈"}.mdi-shopping:before{content:"󰒚"}.mdi-shopping-music:before{content:"󰒛"}.mdi-shopping-outline:before{content:"󱇕"}.mdi-shopping-search:before{content:"󰾄"}.mdi-shopping-search-outline:before{content:"󱩯"}.mdi-shore:before{content:"󱓹"}.mdi-shovel:before{content:"󰜐"}.mdi-shovel-off:before{content:"󰜑"}.mdi-shower:before{content:"󰦠"}.mdi-shower-head:before{content:"󰦡"}.mdi-shredder:before{content:"󰒜"}.mdi-shuffle:before{content:"󰒝"}.mdi-shuffle-disabled:before{content:"󰒞"}.mdi-shuffle-variant:before{content:"󰒟"}.mdi-shuriken:before{content:"󱍿"}.mdi-sickle:before{content:"󱣀"}.mdi-sigma:before{content:"󰒠"}.mdi-sigma-lower:before{content:"󰘫"}.mdi-sign-caution:before{content:"󰒡"}.mdi-sign-direction:before{content:"󰞁"}.mdi-sign-direction-minus:before{content:"󱀀"}.mdi-sign-direction-plus:before{content:"󰿜"}.mdi-sign-direction-remove:before{content:"󰿝"}.mdi-sign-language:before{content:"󱭍"}.mdi-sign-language-outline:before{content:"󱭎"}.mdi-sign-pole:before{content:"󱓸"}.mdi-sign-real-estate:before{content:"󱄘"}.mdi-sign-text:before{content:"󰞂"}.mdi-sign-yield:before{content:"󱮯"}.mdi-signal:before{content:"󰒢"}.mdi-signal-2g:before{content:"󰜒"}.mdi-signal-3g:before{content:"󰜓"}.mdi-signal-4g:before{content:"󰜔"}.mdi-signal-5g:before{content:"󰩯"}.mdi-signal-cellular-1:before{content:"󰢼"}.mdi-signal-cellular-2:before{content:"󰢽"}.mdi-signal-cellular-3:before{content:"󰢾"}.mdi-signal-cellular-outline:before{content:"󰢿"}.mdi-signal-distance-variant:before{content:"󰹤"}.mdi-signal-hspa:before{content:"󰜕"}.mdi-signal-hspa-plus:before{content:"󰜖"}.mdi-signal-off:before{content:"󰞃"}.mdi-signal-variant:before{content:"󰘊"}.mdi-signature:before{content:"󰷻"}.mdi-signature-freehand:before{content:"󰷼"}.mdi-signature-image:before{content:"󰷽"}.mdi-signature-text:before{content:"󰷾"}.mdi-silo:before{content:"󱮟"}.mdi-silo-outline:before{content:"󰭉"}.mdi-silverware:before{content:"󰒣"}.mdi-silverware-clean:before{content:"󰿞"}.mdi-silverware-fork:before{content:"󰒤"}.mdi-silverware-fork-knife:before{content:"󰩰"}.mdi-silverware-spoon:before{content:"󰒥"}.mdi-silverware-variant:before{content:"󰒦"}.mdi-sim:before{content:"󰒧"}.mdi-sim-alert:before{content:"󰒨"}.mdi-sim-alert-outline:before{content:"󱗓"}.mdi-sim-off:before{content:"󰒩"}.mdi-sim-off-outline:before{content:"󱗔"}.mdi-sim-outline:before{content:"󱗕"}.mdi-simple-icons:before{content:"󱌝"}.mdi-sina-weibo:before{content:"󰫟"}.mdi-sine-wave:before{content:"󰥛"}.mdi-sitemap:before{content:"󰒪"}.mdi-sitemap-outline:before{content:"󱦜"}.mdi-size-l:before{content:"󱎦"}.mdi-size-m:before{content:"󱎥"}.mdi-size-s:before{content:"󱎤"}.mdi-size-xl:before{content:"󱎧"}.mdi-size-xs:before{content:"󱎣"}.mdi-size-xxl:before{content:"󱎨"}.mdi-size-xxs:before{content:"󱎢"}.mdi-size-xxxl:before{content:"󱎩"}.mdi-skate:before{content:"󰴵"}.mdi-skate-off:before{content:"󰚙"}.mdi-skateboard:before{content:"󱓂"}.mdi-skateboarding:before{content:"󰔁"}.mdi-skew-less:before{content:"󰴶"}.mdi-skew-more:before{content:"󰴷"}.mdi-ski:before{content:"󱌄"}.mdi-ski-cross-country:before{content:"󱌅"}.mdi-ski-water:before{content:"󱌆"}.mdi-skip-backward:before{content:"󰒫"}.mdi-skip-backward-outline:before{content:"󰼥"}.mdi-skip-forward:before{content:"󰒬"}.mdi-skip-forward-outline:before{content:"󰼦"}.mdi-skip-next:before{content:"󰒭"}.mdi-skip-next-circle:before{content:"󰙡"}.mdi-skip-next-circle-outline:before{content:"󰙢"}.mdi-skip-next-outline:before{content:"󰼧"}.mdi-skip-previous:before{content:"󰒮"}.mdi-skip-previous-circle:before{content:"󰙣"}.mdi-skip-previous-circle-outline:before{content:"󰙤"}.mdi-skip-previous-outline:before{content:"󰼨"}.mdi-skull:before{content:"󰚌"}.mdi-skull-crossbones:before{content:"󰯆"}.mdi-skull-crossbones-outline:before{content:"󰯇"}.mdi-skull-outline:before{content:"󰯈"}.mdi-skull-scan:before{content:"󱓇"}.mdi-skull-scan-outline:before{content:"󱓈"}.mdi-skype:before{content:"󰒯"}.mdi-skype-business:before{content:"󰒰"}.mdi-slack:before{content:"󰒱"}.mdi-slash-forward:before{content:"󰿟"}.mdi-slash-forward-box:before{content:"󰿠"}.mdi-sledding:before{content:"󰐛"}.mdi-sleep:before{content:"󰒲"}.mdi-sleep-off:before{content:"󰒳"}.mdi-slide:before{content:"󱖥"}.mdi-slope-downhill:before{content:"󰷿"}.mdi-slope-uphill:before{content:"󰸀"}.mdi-slot-machine:before{content:"󱄔"}.mdi-slot-machine-outline:before{content:"󱄕"}.mdi-smart-card:before{content:"󱂽"}.mdi-smart-card-off:before{content:"󱣷"}.mdi-smart-card-off-outline:before{content:"󱣸"}.mdi-smart-card-outline:before{content:"󱂾"}.mdi-smart-card-reader:before{content:"󱂿"}.mdi-smart-card-reader-outline:before{content:"󱃀"}.mdi-smog:before{content:"󰩱"}.mdi-smoke:before{content:"󱞙"}.mdi-smoke-detector:before{content:"󰎒"}.mdi-smoke-detector-alert:before{content:"󱤮"}.mdi-smoke-detector-alert-outline:before{content:"󱤯"}.mdi-smoke-detector-off:before{content:"󱠉"}.mdi-smoke-detector-off-outline:before{content:"󱠊"}.mdi-smoke-detector-outline:before{content:"󱠈"}.mdi-smoke-detector-variant:before{content:"󱠋"}.mdi-smoke-detector-variant-alert:before{content:"󱤰"}.mdi-smoke-detector-variant-off:before{content:"󱠌"}.mdi-smoking:before{content:"󰒴"}.mdi-smoking-off:before{content:"󰒵"}.mdi-smoking-pipe:before{content:"󱐍"}.mdi-smoking-pipe-off:before{content:"󱐨"}.mdi-snail:before{content:"󱙷"}.mdi-snake:before{content:"󱔎"}.mdi-snapchat:before{content:"󰒶"}.mdi-snowboard:before{content:"󱌇"}.mdi-snowflake:before{content:"󰜗"}.mdi-snowflake-alert:before{content:"󰼩"}.mdi-snowflake-check:before{content:"󱩰"}.mdi-snowflake-melt:before{content:"󱋋"}.mdi-snowflake-off:before{content:"󱓣"}.mdi-snowflake-thermometer:before{content:"󱩱"}.mdi-snowflake-variant:before{content:"󰼪"}.mdi-snowman:before{content:"󰒷"}.mdi-snowmobile:before{content:"󰛝"}.mdi-snowshoeing:before{content:"󱩲"}.mdi-soccer:before{content:"󰒸"}.mdi-soccer-field:before{content:"󰠴"}.mdi-social-distance-2-meters:before{content:"󱕹"}.mdi-social-distance-6-feet:before{content:"󱕺"}.mdi-sofa:before{content:"󰒹"}.mdi-sofa-outline:before{content:"󱕭"}.mdi-sofa-single:before{content:"󱕮"}.mdi-sofa-single-outline:before{content:"󱕯"}.mdi-solar-panel:before{content:"󰶛"}.mdi-solar-panel-large:before{content:"󰶜"}.mdi-solar-power:before{content:"󰩲"}.mdi-solar-power-variant:before{content:"󱩳"}.mdi-solar-power-variant-outline:before{content:"󱩴"}.mdi-soldering-iron:before{content:"󱂒"}.mdi-solid:before{content:"󰚍"}.mdi-sony-playstation:before{content:"󰐔"}.mdi-sort:before{content:"󰒺"}.mdi-sort-alphabetical-ascending:before{content:"󰖽"}.mdi-sort-alphabetical-ascending-variant:before{content:"󱅈"}.mdi-sort-alphabetical-descending:before{content:"󰖿"}.mdi-sort-alphabetical-descending-variant:before{content:"󱅉"}.mdi-sort-alphabetical-variant:before{content:"󰒻"}.mdi-sort-ascending:before{content:"󰒼"}.mdi-sort-bool-ascending:before{content:"󱎅"}.mdi-sort-bool-ascending-variant:before{content:"󱎆"}.mdi-sort-bool-descending:before{content:"󱎇"}.mdi-sort-bool-descending-variant:before{content:"󱎈"}.mdi-sort-calendar-ascending:before{content:"󱕇"}.mdi-sort-calendar-descending:before{content:"󱕈"}.mdi-sort-clock-ascending:before{content:"󱕉"}.mdi-sort-clock-ascending-outline:before{content:"󱕊"}.mdi-sort-clock-descending:before{content:"󱕋"}.mdi-sort-clock-descending-outline:before{content:"󱕌"}.mdi-sort-descending:before{content:"󰒽"}.mdi-sort-numeric-ascending:before{content:"󱎉"}.mdi-sort-numeric-ascending-variant:before{content:"󰤍"}.mdi-sort-numeric-descending:before{content:"󱎊"}.mdi-sort-numeric-descending-variant:before{content:"󰫒"}.mdi-sort-numeric-variant:before{content:"󰒾"}.mdi-sort-reverse-variant:before{content:"󰌼"}.mdi-sort-variant:before{content:"󰒿"}.mdi-sort-variant-lock:before{content:"󰳍"}.mdi-sort-variant-lock-open:before{content:"󰳎"}.mdi-sort-variant-off:before{content:"󱪻"}.mdi-sort-variant-remove:before{content:"󱅇"}.mdi-soundbar:before{content:"󱟛"}.mdi-soundcloud:before{content:"󰓀"}.mdi-source-branch:before{content:"󰘬"}.mdi-source-branch-check:before{content:"󱓏"}.mdi-source-branch-minus:before{content:"󱓋"}.mdi-source-branch-plus:before{content:"󱓊"}.mdi-source-branch-refresh:before{content:"󱓍"}.mdi-source-branch-remove:before{content:"󱓌"}.mdi-source-branch-sync:before{content:"󱓎"}.mdi-source-commit:before{content:"󰜘"}.mdi-source-commit-end:before{content:"󰜙"}.mdi-source-commit-end-local:before{content:"󰜚"}.mdi-source-commit-local:before{content:"󰜛"}.mdi-source-commit-next-local:before{content:"󰜜"}.mdi-source-commit-start:before{content:"󰜝"}.mdi-source-commit-start-next-local:before{content:"󰜞"}.mdi-source-fork:before{content:"󰓁"}.mdi-source-merge:before{content:"󰘭"}.mdi-source-pull:before{content:"󰓂"}.mdi-source-repository:before{content:"󰳏"}.mdi-source-repository-multiple:before{content:"󰳐"}.mdi-soy-sauce:before{content:"󰟮"}.mdi-soy-sauce-off:before{content:"󱏼"}.mdi-spa:before{content:"󰳑"}.mdi-spa-outline:before{content:"󰳒"}.mdi-space-invaders:before{content:"󰯉"}.mdi-space-station:before{content:"󱎃"}.mdi-spade:before{content:"󰹥"}.mdi-speaker:before{content:"󰓃"}.mdi-speaker-bluetooth:before{content:"󰦢"}.mdi-speaker-message:before{content:"󱬑"}.mdi-speaker-multiple:before{content:"󰴸"}.mdi-speaker-off:before{content:"󰓄"}.mdi-speaker-pause:before{content:"󱭳"}.mdi-speaker-play:before{content:"󱭲"}.mdi-speaker-stop:before{content:"󱭴"}.mdi-speaker-wireless:before{content:"󰜟"}.mdi-spear:before{content:"󱡅"}.mdi-speedometer:before{content:"󰓅"}.mdi-speedometer-medium:before{content:"󰾅"}.mdi-speedometer-slow:before{content:"󰾆"}.mdi-spellcheck:before{content:"󰓆"}.mdi-sphere:before{content:"󱥔"}.mdi-sphere-off:before{content:"󱥕"}.mdi-spider:before{content:"󱇪"}.mdi-spider-outline:before{content:"󱱵"}.mdi-spider-thread:before{content:"󱇫"}.mdi-spider-web:before{content:"󰯊"}.mdi-spirit-level:before{content:"󱓱"}.mdi-spoon-sugar:before{content:"󱐩"}.mdi-spotify:before{content:"󰓇"}.mdi-spotlight:before{content:"󰓈"}.mdi-spotlight-beam:before{content:"󰓉"}.mdi-spray:before{content:"󰙥"}.mdi-spray-bottle:before{content:"󰫠"}.mdi-sprinkler:before{content:"󱁟"}.mdi-sprinkler-fire:before{content:"󱦝"}.mdi-sprinkler-variant:before{content:"󱁠"}.mdi-sprout:before{content:"󰹦"}.mdi-sprout-outline:before{content:"󰹧"}.mdi-square:before{content:"󰝤"}.mdi-square-circle:before{content:"󱔀"}.mdi-square-circle-outline:before{content:"󱱐"}.mdi-square-edit-outline:before{content:"󰤌"}.mdi-square-medium:before{content:"󰨓"}.mdi-square-medium-outline:before{content:"󰨔"}.mdi-square-off:before{content:"󱋮"}.mdi-square-off-outline:before{content:"󱋯"}.mdi-square-opacity:before{content:"󱡔"}.mdi-square-outline:before{content:"󰝣"}.mdi-square-root:before{content:"󰞄"}.mdi-square-root-box:before{content:"󰦣"}.mdi-square-rounded:before{content:"󱓻"}.mdi-square-rounded-badge:before{content:"󱨇"}.mdi-square-rounded-badge-outline:before{content:"󱨈"}.mdi-square-rounded-outline:before{content:"󱓼"}.mdi-square-small:before{content:"󰨕"}.mdi-square-wave:before{content:"󱑻"}.mdi-squeegee:before{content:"󰫡"}.mdi-ssh:before{content:"󰣀"}.mdi-stack-exchange:before{content:"󰘋"}.mdi-stack-overflow:before{content:"󰓌"}.mdi-stackpath:before{content:"󰍙"}.mdi-stadium:before{content:"󰿹"}.mdi-stadium-outline:before{content:"󱬃"}.mdi-stadium-variant:before{content:"󰜠"}.mdi-stairs:before{content:"󰓍"}.mdi-stairs-box:before{content:"󱎞"}.mdi-stairs-down:before{content:"󱊾"}.mdi-stairs-up:before{content:"󱊽"}.mdi-stamper:before{content:"󰴹"}.mdi-standard-definition:before{content:"󰟯"}.mdi-star:before{content:"󰓎"}.mdi-star-box:before{content:"󰩳"}.mdi-star-box-multiple:before{content:"󱊆"}.mdi-star-box-multiple-outline:before{content:"󱊇"}.mdi-star-box-outline:before{content:"󰩴"}.mdi-star-check:before{content:"󱕦"}.mdi-star-check-outline:before{content:"󱕪"}.mdi-star-circle:before{content:"󰓏"}.mdi-star-circle-outline:before{content:"󰦤"}.mdi-star-cog:before{content:"󱙨"}.mdi-star-cog-outline:before{content:"󱙩"}.mdi-star-crescent:before{content:"󰥹"}.mdi-star-david:before{content:"󰥺"}.mdi-star-face:before{content:"󰦥"}.mdi-star-four-points:before{content:"󰫢"}.mdi-star-four-points-box:before{content:"󱱑"}.mdi-star-four-points-box-outline:before{content:"󱱒"}.mdi-star-four-points-circle:before{content:"󱱓"}.mdi-star-four-points-circle-outline:before{content:"󱱔"}.mdi-star-four-points-outline:before{content:"󰫣"}.mdi-star-four-points-small:before{content:"󱱕"}.mdi-star-half:before{content:"󰉆"}.mdi-star-half-full:before{content:"󰓐"}.mdi-star-minus:before{content:"󱕤"}.mdi-star-minus-outline:before{content:"󱕨"}.mdi-star-off:before{content:"󰓑"}.mdi-star-off-outline:before{content:"󱕛"}.mdi-star-outline:before{content:"󰓒"}.mdi-star-plus:before{content:"󱕣"}.mdi-star-plus-outline:before{content:"󱕧"}.mdi-star-remove:before{content:"󱕥"}.mdi-star-remove-outline:before{content:"󱕩"}.mdi-star-settings:before{content:"󱙪"}.mdi-star-settings-outline:before{content:"󱙫"}.mdi-star-shooting:before{content:"󱝁"}.mdi-star-shooting-outline:before{content:"󱝂"}.mdi-star-three-points:before{content:"󰫤"}.mdi-star-three-points-outline:before{content:"󰫥"}.mdi-state-machine:before{content:"󱇯"}.mdi-steam:before{content:"󰓓"}.mdi-steering:before{content:"󰓔"}.mdi-steering-off:before{content:"󰤎"}.mdi-step-backward:before{content:"󰓕"}.mdi-step-backward-2:before{content:"󰓖"}.mdi-step-forward:before{content:"󰓗"}.mdi-step-forward-2:before{content:"󰓘"}.mdi-stethoscope:before{content:"󰓙"}.mdi-sticker:before{content:"󱍤"}.mdi-sticker-alert:before{content:"󱍥"}.mdi-sticker-alert-outline:before{content:"󱍦"}.mdi-sticker-check:before{content:"󱍧"}.mdi-sticker-check-outline:before{content:"󱍨"}.mdi-sticker-circle-outline:before{content:"󰗐"}.mdi-sticker-emoji:before{content:"󰞅"}.mdi-sticker-minus:before{content:"󱍩"}.mdi-sticker-minus-outline:before{content:"󱍪"}.mdi-sticker-outline:before{content:"󱍫"}.mdi-sticker-plus:before{content:"󱍬"}.mdi-sticker-plus-outline:before{content:"󱍭"}.mdi-sticker-remove:before{content:"󱍮"}.mdi-sticker-remove-outline:before{content:"󱍯"}.mdi-sticker-text:before{content:"󱞎"}.mdi-sticker-text-outline:before{content:"󱞏"}.mdi-stocking:before{content:"󰓚"}.mdi-stomach:before{content:"󱂓"}.mdi-stool:before{content:"󱥝"}.mdi-stool-outline:before{content:"󱥞"}.mdi-stop:before{content:"󰓛"}.mdi-stop-circle:before{content:"󰙦"}.mdi-stop-circle-outline:before{content:"󰙧"}.mdi-storage-tank:before{content:"󱩵"}.mdi-storage-tank-outline:before{content:"󱩶"}.mdi-store:before{content:"󰓜"}.mdi-store-24-hour:before{content:"󰓝"}.mdi-store-alert:before{content:"󱣁"}.mdi-store-alert-outline:before{content:"󱣂"}.mdi-store-check:before{content:"󱣃"}.mdi-store-check-outline:before{content:"󱣄"}.mdi-store-clock:before{content:"󱣅"}.mdi-store-clock-outline:before{content:"󱣆"}.mdi-store-cog:before{content:"󱣇"}.mdi-store-cog-outline:before{content:"󱣈"}.mdi-store-edit:before{content:"󱣉"}.mdi-store-edit-outline:before{content:"󱣊"}.mdi-store-marker:before{content:"󱣋"}.mdi-store-marker-outline:before{content:"󱣌"}.mdi-store-minus:before{content:"󱙞"}.mdi-store-minus-outline:before{content:"󱣍"}.mdi-store-off:before{content:"󱣎"}.mdi-store-off-outline:before{content:"󱣏"}.mdi-store-outline:before{content:"󱍡"}.mdi-store-plus:before{content:"󱙟"}.mdi-store-plus-outline:before{content:"󱣐"}.mdi-store-remove:before{content:"󱙠"}.mdi-store-remove-outline:before{content:"󱣑"}.mdi-store-search:before{content:"󱣒"}.mdi-store-search-outline:before{content:"󱣓"}.mdi-store-settings:before{content:"󱣔"}.mdi-store-settings-outline:before{content:"󱣕"}.mdi-storefront:before{content:"󰟇"}.mdi-storefront-check:before{content:"󱭽"}.mdi-storefront-check-outline:before{content:"󱭾"}.mdi-storefront-edit:before{content:"󱭿"}.mdi-storefront-edit-outline:before{content:"󱮀"}.mdi-storefront-minus:before{content:"󱮃"}.mdi-storefront-minus-outline:before{content:"󱮄"}.mdi-storefront-outline:before{content:"󱃁"}.mdi-storefront-plus:before{content:"󱮁"}.mdi-storefront-plus-outline:before{content:"󱮂"}.mdi-storefront-remove:before{content:"󱮅"}.mdi-storefront-remove-outline:before{content:"󱮆"}.mdi-stove:before{content:"󰓞"}.mdi-strategy:before{content:"󱇖"}.mdi-stretch-to-page:before{content:"󰼫"}.mdi-stretch-to-page-outline:before{content:"󰼬"}.mdi-string-lights:before{content:"󱊺"}.mdi-string-lights-off:before{content:"󱊻"}.mdi-subdirectory-arrow-left:before{content:"󰘌"}.mdi-subdirectory-arrow-right:before{content:"󰘍"}.mdi-submarine:before{content:"󱕬"}.mdi-subtitles:before{content:"󰨖"}.mdi-subtitles-outline:before{content:"󰨗"}.mdi-subway:before{content:"󰚬"}.mdi-subway-alert-variant:before{content:"󰶝"}.mdi-subway-variant:before{content:"󰓟"}.mdi-summit:before{content:"󰞆"}.mdi-sun-angle:before{content:"󱬧"}.mdi-sun-angle-outline:before{content:"󱬨"}.mdi-sun-clock:before{content:"󱩷"}.mdi-sun-clock-outline:before{content:"󱩸"}.mdi-sun-compass:before{content:"󱦥"}.mdi-sun-snowflake:before{content:"󱞖"}.mdi-sun-snowflake-variant:before{content:"󱩹"}.mdi-sun-thermometer:before{content:"󱣖"}.mdi-sun-thermometer-outline:before{content:"󱣗"}.mdi-sun-wireless:before{content:"󱟾"}.mdi-sun-wireless-outline:before{content:"󱟿"}.mdi-sunglasses:before{content:"󰓠"}.mdi-surfing:before{content:"󱝆"}.mdi-surround-sound:before{content:"󰗅"}.mdi-surround-sound-2-0:before{content:"󰟰"}.mdi-surround-sound-2-1:before{content:"󱜩"}.mdi-surround-sound-3-1:before{content:"󰟱"}.mdi-surround-sound-5-1:before{content:"󰟲"}.mdi-surround-sound-5-1-2:before{content:"󱜪"}.mdi-surround-sound-7-1:before{content:"󰟳"}.mdi-svg:before{content:"󰜡"}.mdi-swap-horizontal:before{content:"󰓡"}.mdi-swap-horizontal-bold:before{content:"󰯍"}.mdi-swap-horizontal-circle:before{content:"󰿡"}.mdi-swap-horizontal-circle-outline:before{content:"󰿢"}.mdi-swap-horizontal-variant:before{content:"󰣁"}.mdi-swap-vertical:before{content:"󰓢"}.mdi-swap-vertical-bold:before{content:"󰯎"}.mdi-swap-vertical-circle:before{content:"󰿣"}.mdi-swap-vertical-circle-outline:before{content:"󰿤"}.mdi-swap-vertical-variant:before{content:"󰣂"}.mdi-swim:before{content:"󰓣"}.mdi-switch:before{content:"󰓤"}.mdi-sword:before{content:"󰓥"}.mdi-sword-cross:before{content:"󰞇"}.mdi-syllabary-hangul:before{content:"󱌳"}.mdi-syllabary-hiragana:before{content:"󱌴"}.mdi-syllabary-katakana:before{content:"󱌵"}.mdi-syllabary-katakana-halfwidth:before{content:"󱌶"}.mdi-symbol:before{content:"󱔁"}.mdi-symfony:before{content:"󰫦"}.mdi-synagogue:before{content:"󱬄"}.mdi-synagogue-outline:before{content:"󱬅"}.mdi-sync:before{content:"󰓦"}.mdi-sync-alert:before{content:"󰓧"}.mdi-sync-circle:before{content:"󱍸"}.mdi-sync-off:before{content:"󰓨"}.mdi-tab:before{content:"󰓩"}.mdi-tab-minus:before{content:"󰭋"}.mdi-tab-plus:before{content:"󰝜"}.mdi-tab-remove:before{content:"󰭌"}.mdi-tab-search:before{content:"󱦞"}.mdi-tab-unselected:before{content:"󰓪"}.mdi-table:before{content:"󰓫"}.mdi-table-account:before{content:"󱎹"}.mdi-table-alert:before{content:"󱎺"}.mdi-table-arrow-down:before{content:"󱎻"}.mdi-table-arrow-left:before{content:"󱎼"}.mdi-table-arrow-right:before{content:"󱎽"}.mdi-table-arrow-up:before{content:"󱎾"}.mdi-table-border:before{content:"󰨘"}.mdi-table-cancel:before{content:"󱎿"}.mdi-table-chair:before{content:"󱁡"}.mdi-table-check:before{content:"󱏀"}.mdi-table-clock:before{content:"󱏁"}.mdi-table-cog:before{content:"󱏂"}.mdi-table-column:before{content:"󰠵"}.mdi-table-column-plus-after:before{content:"󰓬"}.mdi-table-column-plus-before:before{content:"󰓭"}.mdi-table-column-remove:before{content:"󰓮"}.mdi-table-column-width:before{content:"󰓯"}.mdi-table-edit:before{content:"󰓰"}.mdi-table-eye:before{content:"󱂔"}.mdi-table-eye-off:before{content:"󱏃"}.mdi-table-filter:before{content:"󱮌"}.mdi-table-furniture:before{content:"󰖼"}.mdi-table-headers-eye:before{content:"󱈝"}.mdi-table-headers-eye-off:before{content:"󱈞"}.mdi-table-heart:before{content:"󱏄"}.mdi-table-key:before{content:"󱏅"}.mdi-table-large:before{content:"󰓱"}.mdi-table-large-plus:before{content:"󰾇"}.mdi-table-large-remove:before{content:"󰾈"}.mdi-table-lock:before{content:"󱏆"}.mdi-table-merge-cells:before{content:"󰦦"}.mdi-table-minus:before{content:"󱏇"}.mdi-table-multiple:before{content:"󱏈"}.mdi-table-network:before{content:"󱏉"}.mdi-table-of-contents:before{content:"󰠶"}.mdi-table-off:before{content:"󱏊"}.mdi-table-picnic:before{content:"󱝃"}.mdi-table-pivot:before{content:"󱠼"}.mdi-table-plus:before{content:"󰩵"}.mdi-table-question:before{content:"󱬡"}.mdi-table-refresh:before{content:"󱎠"}.mdi-table-remove:before{content:"󰩶"}.mdi-table-row:before{content:"󰠷"}.mdi-table-row-height:before{content:"󰓲"}.mdi-table-row-plus-after:before{content:"󰓳"}.mdi-table-row-plus-before:before{content:"󰓴"}.mdi-table-row-remove:before{content:"󰓵"}.mdi-table-search:before{content:"󰤏"}.mdi-table-settings:before{content:"󰠸"}.mdi-table-split-cell:before{content:"󱐪"}.mdi-table-star:before{content:"󱏋"}.mdi-table-sync:before{content:"󱎡"}.mdi-table-tennis:before{content:"󰹨"}.mdi-tablet:before{content:"󰓶"}.mdi-tablet-cellphone:before{content:"󰦧"}.mdi-tablet-dashboard:before{content:"󰻎"}.mdi-taco:before{content:"󰝢"}.mdi-tag:before{content:"󰓹"}.mdi-tag-arrow-down:before{content:"󱜫"}.mdi-tag-arrow-down-outline:before{content:"󱜬"}.mdi-tag-arrow-left:before{content:"󱜭"}.mdi-tag-arrow-left-outline:before{content:"󱜮"}.mdi-tag-arrow-right:before{content:"󱜯"}.mdi-tag-arrow-right-outline:before{content:"󱜰"}.mdi-tag-arrow-up:before{content:"󱜱"}.mdi-tag-arrow-up-outline:before{content:"󱜲"}.mdi-tag-check:before{content:"󱩺"}.mdi-tag-check-outline:before{content:"󱩻"}.mdi-tag-faces:before{content:"󰓺"}.mdi-tag-heart:before{content:"󰚋"}.mdi-tag-heart-outline:before{content:"󰯏"}.mdi-tag-hidden:before{content:"󱱶"}.mdi-tag-minus:before{content:"󰤐"}.mdi-tag-minus-outline:before{content:"󱈟"}.mdi-tag-multiple:before{content:"󰓻"}.mdi-tag-multiple-outline:before{content:"󱋷"}.mdi-tag-off:before{content:"󱈠"}.mdi-tag-off-outline:before{content:"󱈡"}.mdi-tag-outline:before{content:"󰓼"}.mdi-tag-plus:before{content:"󰜢"}.mdi-tag-plus-outline:before{content:"󱈢"}.mdi-tag-remove:before{content:"󰜣"}.mdi-tag-remove-outline:before{content:"󱈣"}.mdi-tag-search:before{content:"󱤇"}.mdi-tag-search-outline:before{content:"󱤈"}.mdi-tag-text:before{content:"󱈤"}.mdi-tag-text-outline:before{content:"󰓽"}.mdi-tailwind:before{content:"󱏿"}.mdi-tally-mark-1:before{content:"󱪼"}.mdi-tally-mark-2:before{content:"󱪽"}.mdi-tally-mark-3:before{content:"󱪾"}.mdi-tally-mark-4:before{content:"󱪿"}.mdi-tally-mark-5:before{content:"󱫀"}.mdi-tangram:before{content:"󰓸"}.mdi-tank:before{content:"󰴺"}.mdi-tanker-truck:before{content:"󰿥"}.mdi-tape-drive:before{content:"󱛟"}.mdi-tape-measure:before{content:"󰭍"}.mdi-target:before{content:"󰓾"}.mdi-target-account:before{content:"󰯐"}.mdi-target-variant:before{content:"󰩷"}.mdi-taxi:before{content:"󰓿"}.mdi-tea:before{content:"󰶞"}.mdi-tea-outline:before{content:"󰶟"}.mdi-teamviewer:before{content:"󰔀"}.mdi-teddy-bear:before{content:"󱣻"}.mdi-telescope:before{content:"󰭎"}.mdi-television:before{content:"󰔂"}.mdi-television-ambient-light:before{content:"󱍖"}.mdi-television-box:before{content:"󰠹"}.mdi-television-classic:before{content:"󰟴"}.mdi-television-classic-off:before{content:"󰠺"}.mdi-television-guide:before{content:"󰔃"}.mdi-television-off:before{content:"󰠻"}.mdi-television-pause:before{content:"󰾉"}.mdi-television-play:before{content:"󰻏"}.mdi-television-shimmer:before{content:"󱄐"}.mdi-television-speaker:before{content:"󱬛"}.mdi-television-speaker-off:before{content:"󱬜"}.mdi-television-stop:before{content:"󰾊"}.mdi-temperature-celsius:before{content:"󰔄"}.mdi-temperature-fahrenheit:before{content:"󰔅"}.mdi-temperature-kelvin:before{content:"󰔆"}.mdi-temple-buddhist:before{content:"󱬆"}.mdi-temple-buddhist-outline:before{content:"󱬇"}.mdi-temple-hindu:before{content:"󱬈"}.mdi-temple-hindu-outline:before{content:"󱬉"}.mdi-tennis:before{content:"󰶠"}.mdi-tennis-ball:before{content:"󰔇"}.mdi-tennis-ball-outline:before{content:"󱱟"}.mdi-tent:before{content:"󰔈"}.mdi-terraform:before{content:"󱁢"}.mdi-terrain:before{content:"󰔉"}.mdi-test-tube:before{content:"󰙨"}.mdi-test-tube-empty:before{content:"󰤑"}.mdi-test-tube-off:before{content:"󰤒"}.mdi-text:before{content:"󰦨"}.mdi-text-account:before{content:"󱕰"}.mdi-text-box:before{content:"󰈚"}.mdi-text-box-check:before{content:"󰺦"}.mdi-text-box-check-outline:before{content:"󰺧"}.mdi-text-box-edit:before{content:"󱩼"}.mdi-text-box-edit-outline:before{content:"󱩽"}.mdi-text-box-minus:before{content:"󰺨"}.mdi-text-box-minus-outline:before{content:"󰺩"}.mdi-text-box-multiple:before{content:"󰪷"}.mdi-text-box-multiple-outline:before{content:"󰪸"}.mdi-text-box-outline:before{content:"󰧭"}.mdi-text-box-plus:before{content:"󰺪"}.mdi-text-box-plus-outline:before{content:"󰺫"}.mdi-text-box-remove:before{content:"󰺬"}.mdi-text-box-remove-outline:before{content:"󰺭"}.mdi-text-box-search:before{content:"󰺮"}.mdi-text-box-search-outline:before{content:"󰺯"}.mdi-text-long:before{content:"󰦪"}.mdi-text-recognition:before{content:"󱄽"}.mdi-text-search:before{content:"󱎸"}.mdi-text-search-variant:before{content:"󱩾"}.mdi-text-shadow:before{content:"󰙩"}.mdi-text-short:before{content:"󰦩"}.mdi-texture:before{content:"󰔌"}.mdi-texture-box:before{content:"󰿦"}.mdi-theater:before{content:"󰔍"}.mdi-theme-light-dark:before{content:"󰔎"}.mdi-thermometer:before{content:"󰔏"}.mdi-thermometer-alert:before{content:"󰸁"}.mdi-thermometer-auto:before{content:"󱬏"}.mdi-thermometer-bluetooth:before{content:"󱢕"}.mdi-thermometer-check:before{content:"󱩿"}.mdi-thermometer-chevron-down:before{content:"󰸂"}.mdi-thermometer-chevron-up:before{content:"󰸃"}.mdi-thermometer-high:before{content:"󱃂"}.mdi-thermometer-lines:before{content:"󰔐"}.mdi-thermometer-low:before{content:"󱃃"}.mdi-thermometer-minus:before{content:"󰸄"}.mdi-thermometer-off:before{content:"󱔱"}.mdi-thermometer-plus:before{content:"󰸅"}.mdi-thermometer-probe:before{content:"󱬫"}.mdi-thermometer-probe-off:before{content:"󱬬"}.mdi-thermometer-water:before{content:"󱪀"}.mdi-thermostat:before{content:"󰎓"}.mdi-thermostat-auto:before{content:"󱬗"}.mdi-thermostat-box:before{content:"󰢑"}.mdi-thermostat-box-auto:before{content:"󱬘"}.mdi-thermostat-cog:before{content:"󱲀"}.mdi-thought-bubble:before{content:"󰟶"}.mdi-thought-bubble-outline:before{content:"󰟷"}.mdi-thumb-down:before{content:"󰔑"}.mdi-thumb-down-outline:before{content:"󰔒"}.mdi-thumb-up:before{content:"󰔓"}.mdi-thumb-up-outline:before{content:"󰔔"}.mdi-thumbs-up-down:before{content:"󰔕"}.mdi-thumbs-up-down-outline:before{content:"󱤔"}.mdi-ticket:before{content:"󰔖"}.mdi-ticket-account:before{content:"󰔗"}.mdi-ticket-confirmation:before{content:"󰔘"}.mdi-ticket-confirmation-outline:before{content:"󱎪"}.mdi-ticket-outline:before{content:"󰤓"}.mdi-ticket-percent:before{content:"󰜤"}.mdi-ticket-percent-outline:before{content:"󱐫"}.mdi-tie:before{content:"󰔙"}.mdi-tilde:before{content:"󰜥"}.mdi-tilde-off:before{content:"󱣳"}.mdi-timelapse:before{content:"󰔚"}.mdi-timeline:before{content:"󰯑"}.mdi-timeline-alert:before{content:"󰾕"}.mdi-timeline-alert-outline:before{content:"󰾘"}.mdi-timeline-check:before{content:"󱔲"}.mdi-timeline-check-outline:before{content:"󱔳"}.mdi-timeline-clock:before{content:"󱇻"}.mdi-timeline-clock-outline:before{content:"󱇼"}.mdi-timeline-minus:before{content:"󱔴"}.mdi-timeline-minus-outline:before{content:"󱔵"}.mdi-timeline-outline:before{content:"󰯒"}.mdi-timeline-plus:before{content:"󰾖"}.mdi-timeline-plus-outline:before{content:"󰾗"}.mdi-timeline-question:before{content:"󰾙"}.mdi-timeline-question-outline:before{content:"󰾚"}.mdi-timeline-remove:before{content:"󱔶"}.mdi-timeline-remove-outline:before{content:"󱔷"}.mdi-timeline-text:before{content:"󰯓"}.mdi-timeline-text-outline:before{content:"󰯔"}.mdi-timer:before{content:"󱎫"}.mdi-timer-10:before{content:"󰔜"}.mdi-timer-3:before{content:"󰔝"}.mdi-timer-alert:before{content:"󱫌"}.mdi-timer-alert-outline:before{content:"󱫍"}.mdi-timer-cancel:before{content:"󱫎"}.mdi-timer-cancel-outline:before{content:"󱫏"}.mdi-timer-check:before{content:"󱫐"}.mdi-timer-check-outline:before{content:"󱫑"}.mdi-timer-cog:before{content:"󱤥"}.mdi-timer-cog-outline:before{content:"󱤦"}.mdi-timer-edit:before{content:"󱫒"}.mdi-timer-edit-outline:before{content:"󱫓"}.mdi-timer-lock:before{content:"󱫔"}.mdi-timer-lock-open:before{content:"󱫕"}.mdi-timer-lock-open-outline:before{content:"󱫖"}.mdi-timer-lock-outline:before{content:"󱫗"}.mdi-timer-marker:before{content:"󱫘"}.mdi-timer-marker-outline:before{content:"󱫙"}.mdi-timer-minus:before{content:"󱫚"}.mdi-timer-minus-outline:before{content:"󱫛"}.mdi-timer-music:before{content:"󱫜"}.mdi-timer-music-outline:before{content:"󱫝"}.mdi-timer-off:before{content:"󱎬"}.mdi-timer-off-outline:before{content:"󰔞"}.mdi-timer-outline:before{content:"󰔛"}.mdi-timer-pause:before{content:"󱫞"}.mdi-timer-pause-outline:before{content:"󱫟"}.mdi-timer-play:before{content:"󱫠"}.mdi-timer-play-outline:before{content:"󱫡"}.mdi-timer-plus:before{content:"󱫢"}.mdi-timer-plus-outline:before{content:"󱫣"}.mdi-timer-refresh:before{content:"󱫤"}.mdi-timer-refresh-outline:before{content:"󱫥"}.mdi-timer-remove:before{content:"󱫦"}.mdi-timer-remove-outline:before{content:"󱫧"}.mdi-timer-sand:before{content:"󰔟"}.mdi-timer-sand-complete:before{content:"󱦟"}.mdi-timer-sand-empty:before{content:"󰚭"}.mdi-timer-sand-full:before{content:"󰞌"}.mdi-timer-sand-paused:before{content:"󱦠"}.mdi-timer-settings:before{content:"󱤣"}.mdi-timer-settings-outline:before{content:"󱤤"}.mdi-timer-star:before{content:"󱫨"}.mdi-timer-star-outline:before{content:"󱫩"}.mdi-timer-stop:before{content:"󱫪"}.mdi-timer-stop-outline:before{content:"󱫫"}.mdi-timer-sync:before{content:"󱫬"}.mdi-timer-sync-outline:before{content:"󱫭"}.mdi-timetable:before{content:"󰔠"}.mdi-tire:before{content:"󱢖"}.mdi-toaster:before{content:"󱁣"}.mdi-toaster-off:before{content:"󱆷"}.mdi-toaster-oven:before{content:"󰳓"}.mdi-toggle-switch:before{content:"󰔡"}.mdi-toggle-switch-off:before{content:"󰔢"}.mdi-toggle-switch-off-outline:before{content:"󰨙"}.mdi-toggle-switch-outline:before{content:"󰨚"}.mdi-toggle-switch-variant:before{content:"󱨥"}.mdi-toggle-switch-variant-off:before{content:"󱨦"}.mdi-toilet:before{content:"󰦫"}.mdi-toolbox:before{content:"󰦬"}.mdi-toolbox-outline:before{content:"󰦭"}.mdi-tools:before{content:"󱁤"}.mdi-tooltip:before{content:"󰔣"}.mdi-tooltip-account:before{content:"󰀌"}.mdi-tooltip-cellphone:before{content:"󱠻"}.mdi-tooltip-check:before{content:"󱕜"}.mdi-tooltip-check-outline:before{content:"󱕝"}.mdi-tooltip-edit:before{content:"󰔤"}.mdi-tooltip-edit-outline:before{content:"󱋅"}.mdi-tooltip-image:before{content:"󰔥"}.mdi-tooltip-image-outline:before{content:"󰯕"}.mdi-tooltip-minus:before{content:"󱕞"}.mdi-tooltip-minus-outline:before{content:"󱕟"}.mdi-tooltip-outline:before{content:"󰔦"}.mdi-tooltip-plus:before{content:"󰯖"}.mdi-tooltip-plus-outline:before{content:"󰔧"}.mdi-tooltip-question:before{content:"󱮺"}.mdi-tooltip-question-outline:before{content:"󱮻"}.mdi-tooltip-remove:before{content:"󱕠"}.mdi-tooltip-remove-outline:before{content:"󱕡"}.mdi-tooltip-text:before{content:"󰔨"}.mdi-tooltip-text-outline:before{content:"󰯗"}.mdi-tooth:before{content:"󰣃"}.mdi-tooth-outline:before{content:"󰔩"}.mdi-toothbrush:before{content:"󱄩"}.mdi-toothbrush-electric:before{content:"󱄬"}.mdi-toothbrush-paste:before{content:"󱄪"}.mdi-torch:before{content:"󱘆"}.mdi-tortoise:before{content:"󰴻"}.mdi-toslink:before{content:"󱊸"}.mdi-touch-text-outline:before{content:"󱱠"}.mdi-tournament:before{content:"󰦮"}.mdi-tow-truck:before{content:"󰠼"}.mdi-tower-beach:before{content:"󰚁"}.mdi-tower-fire:before{content:"󰚂"}.mdi-town-hall:before{content:"󱡵"}.mdi-toy-brick:before{content:"󱊈"}.mdi-toy-brick-marker:before{content:"󱊉"}.mdi-toy-brick-marker-outline:before{content:"󱊊"}.mdi-toy-brick-minus:before{content:"󱊋"}.mdi-toy-brick-minus-outline:before{content:"󱊌"}.mdi-toy-brick-outline:before{content:"󱊍"}.mdi-toy-brick-plus:before{content:"󱊎"}.mdi-toy-brick-plus-outline:before{content:"󱊏"}.mdi-toy-brick-remove:before{content:"󱊐"}.mdi-toy-brick-remove-outline:before{content:"󱊑"}.mdi-toy-brick-search:before{content:"󱊒"}.mdi-toy-brick-search-outline:before{content:"󱊓"}.mdi-track-light:before{content:"󰤔"}.mdi-track-light-off:before{content:"󱬁"}.mdi-trackpad:before{content:"󰟸"}.mdi-trackpad-lock:before{content:"󰤳"}.mdi-tractor:before{content:"󰢒"}.mdi-tractor-variant:before{content:"󱓄"}.mdi-trademark:before{content:"󰩸"}.mdi-traffic-cone:before{content:"󱍼"}.mdi-traffic-light:before{content:"󰔫"}.mdi-traffic-light-outline:before{content:"󱠪"}.mdi-train:before{content:"󰔬"}.mdi-train-car:before{content:"󰯘"}.mdi-train-car-autorack:before{content:"󱬭"}.mdi-train-car-box:before{content:"󱬮"}.mdi-train-car-box-full:before{content:"󱬯"}.mdi-train-car-box-open:before{content:"󱬰"}.mdi-train-car-caboose:before{content:"󱬱"}.mdi-train-car-centerbeam:before{content:"󱬲"}.mdi-train-car-centerbeam-full:before{content:"󱬳"}.mdi-train-car-container:before{content:"󱬴"}.mdi-train-car-flatbed:before{content:"󱬵"}.mdi-train-car-flatbed-car:before{content:"󱬶"}.mdi-train-car-flatbed-tank:before{content:"󱬷"}.mdi-train-car-gondola:before{content:"󱬸"}.mdi-train-car-gondola-full:before{content:"󱬹"}.mdi-train-car-hopper:before{content:"󱬺"}.mdi-train-car-hopper-covered:before{content:"󱬻"}.mdi-train-car-hopper-full:before{content:"󱬼"}.mdi-train-car-intermodal:before{content:"󱬽"}.mdi-train-car-passenger:before{content:"󱜳"}.mdi-train-car-passenger-door:before{content:"󱜴"}.mdi-train-car-passenger-door-open:before{content:"󱜵"}.mdi-train-car-passenger-variant:before{content:"󱜶"}.mdi-train-car-tank:before{content:"󱬾"}.mdi-train-variant:before{content:"󰣄"}.mdi-tram:before{content:"󰔭"}.mdi-tram-side:before{content:"󰿧"}.mdi-transcribe:before{content:"󰔮"}.mdi-transcribe-close:before{content:"󰔯"}.mdi-transfer:before{content:"󱁥"}.mdi-transfer-down:before{content:"󰶡"}.mdi-transfer-left:before{content:"󰶢"}.mdi-transfer-right:before{content:"󰔰"}.mdi-transfer-up:before{content:"󰶣"}.mdi-transit-connection:before{content:"󰴼"}.mdi-transit-connection-horizontal:before{content:"󱕆"}.mdi-transit-connection-variant:before{content:"󰴽"}.mdi-transit-detour:before{content:"󰾋"}.mdi-transit-skip:before{content:"󱔕"}.mdi-transit-transfer:before{content:"󰚮"}.mdi-transition:before{content:"󰤕"}.mdi-transition-masked:before{content:"󰤖"}.mdi-translate:before{content:"󰗊"}.mdi-translate-off:before{content:"󰸆"}.mdi-translate-variant:before{content:"󱮙"}.mdi-transmission-tower:before{content:"󰴾"}.mdi-transmission-tower-export:before{content:"󱤬"}.mdi-transmission-tower-import:before{content:"󱤭"}.mdi-transmission-tower-off:before{content:"󱧝"}.mdi-trash-can:before{content:"󰩹"}.mdi-trash-can-outline:before{content:"󰩺"}.mdi-tray:before{content:"󱊔"}.mdi-tray-alert:before{content:"󱊕"}.mdi-tray-arrow-down:before{content:"󰄠"}.mdi-tray-arrow-up:before{content:"󰄝"}.mdi-tray-full:before{content:"󱊖"}.mdi-tray-minus:before{content:"󱊗"}.mdi-tray-plus:before{content:"󱊘"}.mdi-tray-remove:before{content:"󱊙"}.mdi-treasure-chest:before{content:"󰜦"}.mdi-treasure-chest-outline:before{content:"󱱷"}.mdi-tree:before{content:"󰔱"}.mdi-tree-outline:before{content:"󰹩"}.mdi-trello:before{content:"󰔲"}.mdi-trending-down:before{content:"󰔳"}.mdi-trending-neutral:before{content:"󰔴"}.mdi-trending-up:before{content:"󰔵"}.mdi-triangle:before{content:"󰔶"}.mdi-triangle-down:before{content:"󱱖"}.mdi-triangle-down-outline:before{content:"󱱗"}.mdi-triangle-outline:before{content:"󰔷"}.mdi-triangle-small-down:before{content:"󱨉"}.mdi-triangle-small-up:before{content:"󱨊"}.mdi-triangle-wave:before{content:"󱑼"}.mdi-triforce:before{content:"󰯙"}.mdi-trophy:before{content:"󰔸"}.mdi-trophy-award:before{content:"󰔹"}.mdi-trophy-broken:before{content:"󰶤"}.mdi-trophy-outline:before{content:"󰔺"}.mdi-trophy-variant:before{content:"󰔻"}.mdi-trophy-variant-outline:before{content:"󰔼"}.mdi-truck:before{content:"󰔽"}.mdi-truck-alert:before{content:"󱧞"}.mdi-truck-alert-outline:before{content:"󱧟"}.mdi-truck-cargo-container:before{content:"󱣘"}.mdi-truck-check:before{content:"󰳔"}.mdi-truck-check-outline:before{content:"󱊚"}.mdi-truck-delivery:before{content:"󰔾"}.mdi-truck-delivery-outline:before{content:"󱊛"}.mdi-truck-fast:before{content:"󰞈"}.mdi-truck-fast-outline:before{content:"󱊜"}.mdi-truck-flatbed:before{content:"󱢑"}.mdi-truck-minus:before{content:"󱦮"}.mdi-truck-minus-outline:before{content:"󱦽"}.mdi-truck-outline:before{content:"󱊝"}.mdi-truck-plus:before{content:"󱦭"}.mdi-truck-plus-outline:before{content:"󱦼"}.mdi-truck-remove:before{content:"󱦯"}.mdi-truck-remove-outline:before{content:"󱦾"}.mdi-truck-snowflake:before{content:"󱦦"}.mdi-truck-trailer:before{content:"󰜧"}.mdi-trumpet:before{content:"󱂖"}.mdi-tshirt-crew:before{content:"󰩻"}.mdi-tshirt-crew-outline:before{content:"󰔿"}.mdi-tshirt-v:before{content:"󰩼"}.mdi-tshirt-v-outline:before{content:"󰕀"}.mdi-tsunami:before{content:"󱪁"}.mdi-tumble-dryer:before{content:"󰤗"}.mdi-tumble-dryer-alert:before{content:"󱆺"}.mdi-tumble-dryer-off:before{content:"󱆻"}.mdi-tune:before{content:"󰘮"}.mdi-tune-variant:before{content:"󱕂"}.mdi-tune-vertical:before{content:"󰙪"}.mdi-tune-vertical-variant:before{content:"󱕃"}.mdi-tunnel:before{content:"󱠽"}.mdi-tunnel-outline:before{content:"󱠾"}.mdi-turbine:before{content:"󱪂"}.mdi-turkey:before{content:"󱜛"}.mdi-turnstile:before{content:"󰳕"}.mdi-turnstile-outline:before{content:"󰳖"}.mdi-turtle:before{content:"󰳗"}.mdi-twitch:before{content:"󰕃"}.mdi-twitter:before{content:"󰕄"}.mdi-two-factor-authentication:before{content:"󰦯"}.mdi-typewriter:before{content:"󰼭"}.mdi-ubisoft:before{content:"󰯚"}.mdi-ubuntu:before{content:"󰕈"}.mdi-ufo:before{content:"󱃄"}.mdi-ufo-outline:before{content:"󱃅"}.mdi-ultra-high-definition:before{content:"󰟹"}.mdi-umbraco:before{content:"󰕉"}.mdi-umbrella:before{content:"󰕊"}.mdi-umbrella-beach:before{content:"󱢊"}.mdi-umbrella-beach-outline:before{content:"󱢋"}.mdi-umbrella-closed:before{content:"󰦰"}.mdi-umbrella-closed-outline:before{content:"󱏢"}.mdi-umbrella-closed-variant:before{content:"󱏡"}.mdi-umbrella-outline:before{content:"󰕋"}.mdi-undo:before{content:"󰕌"}.mdi-undo-variant:before{content:"󰕍"}.mdi-unfold-less-horizontal:before{content:"󰕎"}.mdi-unfold-less-vertical:before{content:"󰝠"}.mdi-unfold-more-horizontal:before{content:"󰕏"}.mdi-unfold-more-vertical:before{content:"󰝡"}.mdi-ungroup:before{content:"󰕐"}.mdi-unicode:before{content:"󰻐"}.mdi-unicorn:before{content:"󱗂"}.mdi-unicorn-variant:before{content:"󱗃"}.mdi-unicycle:before{content:"󱗥"}.mdi-unity:before{content:"󰚯"}.mdi-unreal:before{content:"󰦱"}.mdi-update:before{content:"󰚰"}.mdi-upload:before{content:"󰕒"}.mdi-upload-lock:before{content:"󱍳"}.mdi-upload-lock-outline:before{content:"󱍴"}.mdi-upload-multiple:before{content:"󰠽"}.mdi-upload-network:before{content:"󰛶"}.mdi-upload-network-outline:before{content:"󰳘"}.mdi-upload-off:before{content:"󱃆"}.mdi-upload-off-outline:before{content:"󱃇"}.mdi-upload-outline:before{content:"󰸇"}.mdi-usb:before{content:"󰕓"}.mdi-usb-flash-drive:before{content:"󱊞"}.mdi-usb-flash-drive-outline:before{content:"󱊟"}.mdi-usb-port:before{content:"󱇰"}.mdi-vacuum:before{content:"󱦡"}.mdi-vacuum-outline:before{content:"󱦢"}.mdi-valve:before{content:"󱁦"}.mdi-valve-closed:before{content:"󱁧"}.mdi-valve-open:before{content:"󱁨"}.mdi-van-passenger:before{content:"󰟺"}.mdi-van-utility:before{content:"󰟻"}.mdi-vanish:before{content:"󰟼"}.mdi-vanish-quarter:before{content:"󱕔"}.mdi-vanity-light:before{content:"󱇡"}.mdi-variable:before{content:"󰫧"}.mdi-variable-box:before{content:"󱄑"}.mdi-vector-arrange-above:before{content:"󰕔"}.mdi-vector-arrange-below:before{content:"󰕕"}.mdi-vector-bezier:before{content:"󰫨"}.mdi-vector-circle:before{content:"󰕖"}.mdi-vector-circle-variant:before{content:"󰕗"}.mdi-vector-combine:before{content:"󰕘"}.mdi-vector-curve:before{content:"󰕙"}.mdi-vector-difference:before{content:"󰕚"}.mdi-vector-difference-ab:before{content:"󰕛"}.mdi-vector-difference-ba:before{content:"󰕜"}.mdi-vector-ellipse:before{content:"󰢓"}.mdi-vector-intersection:before{content:"󰕝"}.mdi-vector-line:before{content:"󰕞"}.mdi-vector-link:before{content:"󰿨"}.mdi-vector-point:before{content:"󰇄"}.mdi-vector-point-edit:before{content:"󰧨"}.mdi-vector-point-minus:before{content:"󱭸"}.mdi-vector-point-plus:before{content:"󱭹"}.mdi-vector-point-select:before{content:"󰕟"}.mdi-vector-polygon:before{content:"󰕠"}.mdi-vector-polygon-variant:before{content:"󱡖"}.mdi-vector-polyline:before{content:"󰕡"}.mdi-vector-polyline-edit:before{content:"󱈥"}.mdi-vector-polyline-minus:before{content:"󱈦"}.mdi-vector-polyline-plus:before{content:"󱈧"}.mdi-vector-polyline-remove:before{content:"󱈨"}.mdi-vector-radius:before{content:"󰝊"}.mdi-vector-rectangle:before{content:"󰗆"}.mdi-vector-selection:before{content:"󰕢"}.mdi-vector-square:before{content:"󰀁"}.mdi-vector-square-close:before{content:"󱡗"}.mdi-vector-square-edit:before{content:"󱣙"}.mdi-vector-square-minus:before{content:"󱣚"}.mdi-vector-square-open:before{content:"󱡘"}.mdi-vector-square-plus:before{content:"󱣛"}.mdi-vector-square-remove:before{content:"󱣜"}.mdi-vector-triangle:before{content:"󰕣"}.mdi-vector-union:before{content:"󰕤"}.mdi-vhs:before{content:"󰨛"}.mdi-vibrate:before{content:"󰕦"}.mdi-vibrate-off:before{content:"󰳙"}.mdi-video:before{content:"󰕧"}.mdi-video-2d:before{content:"󱨜"}.mdi-video-3d:before{content:"󰟽"}.mdi-video-3d-off:before{content:"󱏙"}.mdi-video-3d-variant:before{content:"󰻑"}.mdi-video-4k-box:before{content:"󰠾"}.mdi-video-account:before{content:"󰤙"}.mdi-video-box:before{content:"󰃽"}.mdi-video-box-off:before{content:"󰃾"}.mdi-video-check:before{content:"󱁩"}.mdi-video-check-outline:before{content:"󱁪"}.mdi-video-high-definition:before{content:"󱔮"}.mdi-video-image:before{content:"󰤚"}.mdi-video-input-antenna:before{content:"󰠿"}.mdi-video-input-component:before{content:"󰡀"}.mdi-video-input-hdmi:before{content:"󰡁"}.mdi-video-input-scart:before{content:"󰾌"}.mdi-video-input-svideo:before{content:"󰡂"}.mdi-video-marker:before{content:"󱦩"}.mdi-video-marker-outline:before{content:"󱦪"}.mdi-video-minus:before{content:"󰦲"}.mdi-video-minus-outline:before{content:"󰊺"}.mdi-video-off:before{content:"󰕨"}.mdi-video-off-outline:before{content:"󰯛"}.mdi-video-outline:before{content:"󰯜"}.mdi-video-plus:before{content:"󰦳"}.mdi-video-plus-outline:before{content:"󰇓"}.mdi-video-stabilization:before{content:"󰤛"}.mdi-video-switch:before{content:"󰕩"}.mdi-video-switch-outline:before{content:"󰞐"}.mdi-video-vintage:before{content:"󰨜"}.mdi-video-wireless:before{content:"󰻒"}.mdi-video-wireless-outline:before{content:"󰻓"}.mdi-view-agenda:before{content:"󰕪"}.mdi-view-agenda-outline:before{content:"󱇘"}.mdi-view-array:before{content:"󰕫"}.mdi-view-array-outline:before{content:"󱒅"}.mdi-view-carousel:before{content:"󰕬"}.mdi-view-carousel-outline:before{content:"󱒆"}.mdi-view-column:before{content:"󰕭"}.mdi-view-column-outline:before{content:"󱒇"}.mdi-view-comfy:before{content:"󰹪"}.mdi-view-comfy-outline:before{content:"󱒈"}.mdi-view-compact:before{content:"󰹫"}.mdi-view-compact-outline:before{content:"󰹬"}.mdi-view-dashboard:before{content:"󰕮"}.mdi-view-dashboard-edit:before{content:"󱥇"}.mdi-view-dashboard-edit-outline:before{content:"󱥈"}.mdi-view-dashboard-outline:before{content:"󰨝"}.mdi-view-dashboard-variant:before{content:"󰡃"}.mdi-view-dashboard-variant-outline:before{content:"󱒉"}.mdi-view-day:before{content:"󰕯"}.mdi-view-day-outline:before{content:"󱒊"}.mdi-view-gallery:before{content:"󱢈"}.mdi-view-gallery-outline:before{content:"󱢉"}.mdi-view-grid:before{content:"󰕰"}.mdi-view-grid-compact:before{content:"󱱡"}.mdi-view-grid-outline:before{content:"󱇙"}.mdi-view-grid-plus:before{content:"󰾍"}.mdi-view-grid-plus-outline:before{content:"󱇚"}.mdi-view-headline:before{content:"󰕱"}.mdi-view-list:before{content:"󰕲"}.mdi-view-list-outline:before{content:"󱒋"}.mdi-view-module:before{content:"󰕳"}.mdi-view-module-outline:before{content:"󱒌"}.mdi-view-parallel:before{content:"󰜨"}.mdi-view-parallel-outline:before{content:"󱒍"}.mdi-view-quilt:before{content:"󰕴"}.mdi-view-quilt-outline:before{content:"󱒎"}.mdi-view-sequential:before{content:"󰜩"}.mdi-view-sequential-outline:before{content:"󱒏"}.mdi-view-split-horizontal:before{content:"󰯋"}.mdi-view-split-vertical:before{content:"󰯌"}.mdi-view-stream:before{content:"󰕵"}.mdi-view-stream-outline:before{content:"󱒐"}.mdi-view-week:before{content:"󰕶"}.mdi-view-week-outline:before{content:"󱒑"}.mdi-vimeo:before{content:"󰕷"}.mdi-violin:before{content:"󰘏"}.mdi-virtual-reality:before{content:"󰢔"}.mdi-virus:before{content:"󱎶"}.mdi-virus-off:before{content:"󱣡"}.mdi-virus-off-outline:before{content:"󱣢"}.mdi-virus-outline:before{content:"󱎷"}.mdi-vlc:before{content:"󰕼"}.mdi-voicemail:before{content:"󰕽"}.mdi-volcano:before{content:"󱪃"}.mdi-volcano-outline:before{content:"󱪄"}.mdi-volleyball:before{content:"󰦴"}.mdi-volume-equal:before{content:"󱬐"}.mdi-volume-high:before{content:"󰕾"}.mdi-volume-low:before{content:"󰕿"}.mdi-volume-medium:before{content:"󰖀"}.mdi-volume-minus:before{content:"󰝞"}.mdi-volume-mute:before{content:"󰝟"}.mdi-volume-off:before{content:"󰖁"}.mdi-volume-plus:before{content:"󰝝"}.mdi-volume-source:before{content:"󱄠"}.mdi-volume-variant-off:before{content:"󰸈"}.mdi-volume-vibrate:before{content:"󱄡"}.mdi-vote:before{content:"󰨟"}.mdi-vote-outline:before{content:"󰨠"}.mdi-vpn:before{content:"󰖂"}.mdi-vuejs:before{content:"󰡄"}.mdi-vuetify:before{content:"󰹭"}.mdi-walk:before{content:"󰖃"}.mdi-wall:before{content:"󰟾"}.mdi-wall-fire:before{content:"󱨑"}.mdi-wall-sconce:before{content:"󰤜"}.mdi-wall-sconce-flat:before{content:"󰤝"}.mdi-wall-sconce-flat-outline:before{content:"󱟉"}.mdi-wall-sconce-flat-variant:before{content:"󰐜"}.mdi-wall-sconce-flat-variant-outline:before{content:"󱟊"}.mdi-wall-sconce-outline:before{content:"󱟋"}.mdi-wall-sconce-round:before{content:"󰝈"}.mdi-wall-sconce-round-outline:before{content:"󱟌"}.mdi-wall-sconce-round-variant:before{content:"󰤞"}.mdi-wall-sconce-round-variant-outline:before{content:"󱟍"}.mdi-wallet:before{content:"󰖄"}.mdi-wallet-bifold:before{content:"󱱘"}.mdi-wallet-bifold-outline:before{content:"󱱙"}.mdi-wallet-giftcard:before{content:"󰖅"}.mdi-wallet-membership:before{content:"󰖆"}.mdi-wallet-outline:before{content:"󰯝"}.mdi-wallet-plus:before{content:"󰾎"}.mdi-wallet-plus-outline:before{content:"󰾏"}.mdi-wallet-travel:before{content:"󰖇"}.mdi-wallpaper:before{content:"󰸉"}.mdi-wan:before{content:"󰖈"}.mdi-wardrobe:before{content:"󰾐"}.mdi-wardrobe-outline:before{content:"󰾑"}.mdi-warehouse:before{content:"󰾁"}.mdi-washing-machine:before{content:"󰜪"}.mdi-washing-machine-alert:before{content:"󱆼"}.mdi-washing-machine-off:before{content:"󱆽"}.mdi-watch:before{content:"󰖉"}.mdi-watch-export:before{content:"󰖊"}.mdi-watch-export-variant:before{content:"󰢕"}.mdi-watch-import:before{content:"󰖋"}.mdi-watch-import-variant:before{content:"󰢖"}.mdi-watch-variant:before{content:"󰢗"}.mdi-watch-vibrate:before{content:"󰚱"}.mdi-watch-vibrate-off:before{content:"󰳚"}.mdi-water:before{content:"󰖌"}.mdi-water-alert:before{content:"󱔂"}.mdi-water-alert-outline:before{content:"󱔃"}.mdi-water-boiler:before{content:"󰾒"}.mdi-water-boiler-alert:before{content:"󱆳"}.mdi-water-boiler-auto:before{content:"󱮘"}.mdi-water-boiler-off:before{content:"󱆴"}.mdi-water-check:before{content:"󱔄"}.mdi-water-check-outline:before{content:"󱔅"}.mdi-water-circle:before{content:"󱠆"}.mdi-water-minus:before{content:"󱔆"}.mdi-water-minus-outline:before{content:"󱔇"}.mdi-water-off:before{content:"󰖍"}.mdi-water-off-outline:before{content:"󱔈"}.mdi-water-opacity:before{content:"󱡕"}.mdi-water-outline:before{content:"󰸊"}.mdi-water-percent:before{content:"󰖎"}.mdi-water-percent-alert:before{content:"󱔉"}.mdi-water-plus:before{content:"󱔊"}.mdi-water-plus-outline:before{content:"󱔋"}.mdi-water-polo:before{content:"󱊠"}.mdi-water-pump:before{content:"󰖏"}.mdi-water-pump-off:before{content:"󰾓"}.mdi-water-remove:before{content:"󱔌"}.mdi-water-remove-outline:before{content:"󱔍"}.mdi-water-sync:before{content:"󱟆"}.mdi-water-thermometer:before{content:"󱪅"}.mdi-water-thermometer-outline:before{content:"󱪆"}.mdi-water-well:before{content:"󱁫"}.mdi-water-well-outline:before{content:"󱁬"}.mdi-waterfall:before{content:"󱡉"}.mdi-watering-can:before{content:"󱒁"}.mdi-watering-can-outline:before{content:"󱒂"}.mdi-watermark:before{content:"󰘒"}.mdi-wave:before{content:"󰼮"}.mdi-waveform:before{content:"󱑽"}.mdi-waves:before{content:"󰞍"}.mdi-waves-arrow-left:before{content:"󱡙"}.mdi-waves-arrow-right:before{content:"󱡚"}.mdi-waves-arrow-up:before{content:"󱡛"}.mdi-waze:before{content:"󰯞"}.mdi-weather-cloudy:before{content:"󰖐"}.mdi-weather-cloudy-alert:before{content:"󰼯"}.mdi-weather-cloudy-arrow-right:before{content:"󰹮"}.mdi-weather-cloudy-clock:before{content:"󱣶"}.mdi-weather-dust:before{content:"󱭚"}.mdi-weather-fog:before{content:"󰖑"}.mdi-weather-hail:before{content:"󰖒"}.mdi-weather-hazy:before{content:"󰼰"}.mdi-weather-hurricane:before{content:"󰢘"}.mdi-weather-hurricane-outline:before{content:"󱱸"}.mdi-weather-lightning:before{content:"󰖓"}.mdi-weather-lightning-rainy:before{content:"󰙾"}.mdi-weather-night:before{content:"󰖔"}.mdi-weather-night-partly-cloudy:before{content:"󰼱"}.mdi-weather-partly-cloudy:before{content:"󰖕"}.mdi-weather-partly-lightning:before{content:"󰼲"}.mdi-weather-partly-rainy:before{content:"󰼳"}.mdi-weather-partly-snowy:before{content:"󰼴"}.mdi-weather-partly-snowy-rainy:before{content:"󰼵"}.mdi-weather-pouring:before{content:"󰖖"}.mdi-weather-rainy:before{content:"󰖗"}.mdi-weather-snowy:before{content:"󰖘"}.mdi-weather-snowy-heavy:before{content:"󰼶"}.mdi-weather-snowy-rainy:before{content:"󰙿"}.mdi-weather-sunny:before{content:"󰖙"}.mdi-weather-sunny-alert:before{content:"󰼷"}.mdi-weather-sunny-off:before{content:"󱓤"}.mdi-weather-sunset:before{content:"󰖚"}.mdi-weather-sunset-down:before{content:"󰖛"}.mdi-weather-sunset-up:before{content:"󰖜"}.mdi-weather-tornado:before{content:"󰼸"}.mdi-weather-windy:before{content:"󰖝"}.mdi-weather-windy-variant:before{content:"󰖞"}.mdi-web:before{content:"󰖟"}.mdi-web-box:before{content:"󰾔"}.mdi-web-cancel:before{content:"󱞐"}.mdi-web-check:before{content:"󰞉"}.mdi-web-clock:before{content:"󱉊"}.mdi-web-minus:before{content:"󱂠"}.mdi-web-off:before{content:"󰪎"}.mdi-web-plus:before{content:"󰀳"}.mdi-web-refresh:before{content:"󱞑"}.mdi-web-remove:before{content:"󰕑"}.mdi-web-sync:before{content:"󱞒"}.mdi-webcam:before{content:"󰖠"}.mdi-webcam-off:before{content:"󱜷"}.mdi-webhook:before{content:"󰘯"}.mdi-webpack:before{content:"󰜫"}.mdi-webrtc:before{content:"󱉈"}.mdi-wechat:before{content:"󰘑"}.mdi-weight:before{content:"󰖡"}.mdi-weight-gram:before{content:"󰴿"}.mdi-weight-kilogram:before{content:"󰖢"}.mdi-weight-lifter:before{content:"󱅝"}.mdi-weight-pound:before{content:"󰦵"}.mdi-whatsapp:before{content:"󰖣"}.mdi-wheel-barrow:before{content:"󱓲"}.mdi-wheelchair:before{content:"󱪇"}.mdi-wheelchair-accessibility:before{content:"󰖤"}.mdi-whistle:before{content:"󰦶"}.mdi-whistle-outline:before{content:"󱊼"}.mdi-white-balance-auto:before{content:"󰖥"}.mdi-white-balance-incandescent:before{content:"󰖦"}.mdi-white-balance-iridescent:before{content:"󰖧"}.mdi-white-balance-sunny:before{content:"󰖨"}.mdi-widgets:before{content:"󰜬"}.mdi-widgets-outline:before{content:"󱍕"}.mdi-wifi:before{content:"󰖩"}.mdi-wifi-alert:before{content:"󱚵"}.mdi-wifi-arrow-down:before{content:"󱚶"}.mdi-wifi-arrow-left:before{content:"󱚷"}.mdi-wifi-arrow-left-right:before{content:"󱚸"}.mdi-wifi-arrow-right:before{content:"󱚹"}.mdi-wifi-arrow-up:before{content:"󱚺"}.mdi-wifi-arrow-up-down:before{content:"󱚻"}.mdi-wifi-cancel:before{content:"󱚼"}.mdi-wifi-check:before{content:"󱚽"}.mdi-wifi-cog:before{content:"󱚾"}.mdi-wifi-lock:before{content:"󱚿"}.mdi-wifi-lock-open:before{content:"󱛀"}.mdi-wifi-marker:before{content:"󱛁"}.mdi-wifi-minus:before{content:"󱛂"}.mdi-wifi-off:before{content:"󰖪"}.mdi-wifi-plus:before{content:"󱛃"}.mdi-wifi-refresh:before{content:"󱛄"}.mdi-wifi-remove:before{content:"󱛅"}.mdi-wifi-settings:before{content:"󱛆"}.mdi-wifi-star:before{content:"󰸋"}.mdi-wifi-strength-1:before{content:"󰤟"}.mdi-wifi-strength-1-alert:before{content:"󰤠"}.mdi-wifi-strength-1-lock:before{content:"󰤡"}.mdi-wifi-strength-1-lock-open:before{content:"󱛋"}.mdi-wifi-strength-2:before{content:"󰤢"}.mdi-wifi-strength-2-alert:before{content:"󰤣"}.mdi-wifi-strength-2-lock:before{content:"󰤤"}.mdi-wifi-strength-2-lock-open:before{content:"󱛌"}.mdi-wifi-strength-3:before{content:"󰤥"}.mdi-wifi-strength-3-alert:before{content:"󰤦"}.mdi-wifi-strength-3-lock:before{content:"󰤧"}.mdi-wifi-strength-3-lock-open:before{content:"󱛍"}.mdi-wifi-strength-4:before{content:"󰤨"}.mdi-wifi-strength-4-alert:before{content:"󰤩"}.mdi-wifi-strength-4-lock:before{content:"󰤪"}.mdi-wifi-strength-4-lock-open:before{content:"󱛎"}.mdi-wifi-strength-alert-outline:before{content:"󰤫"}.mdi-wifi-strength-lock-open-outline:before{content:"󱛏"}.mdi-wifi-strength-lock-outline:before{content:"󰤬"}.mdi-wifi-strength-off:before{content:"󰤭"}.mdi-wifi-strength-off-outline:before{content:"󰤮"}.mdi-wifi-strength-outline:before{content:"󰤯"}.mdi-wifi-sync:before{content:"󱛇"}.mdi-wikipedia:before{content:"󰖬"}.mdi-wind-power:before{content:"󱪈"}.mdi-wind-power-outline:before{content:"󱪉"}.mdi-wind-turbine:before{content:"󰶥"}.mdi-wind-turbine-alert:before{content:"󱦫"}.mdi-wind-turbine-check:before{content:"󱦬"}.mdi-window-close:before{content:"󰖭"}.mdi-window-closed:before{content:"󰖮"}.mdi-window-closed-variant:before{content:"󱇛"}.mdi-window-maximize:before{content:"󰖯"}.mdi-window-minimize:before{content:"󰖰"}.mdi-window-open:before{content:"󰖱"}.mdi-window-open-variant:before{content:"󱇜"}.mdi-window-restore:before{content:"󰖲"}.mdi-window-shutter:before{content:"󱄜"}.mdi-window-shutter-alert:before{content:"󱄝"}.mdi-window-shutter-auto:before{content:"󱮣"}.mdi-window-shutter-cog:before{content:"󱪊"}.mdi-window-shutter-open:before{content:"󱄞"}.mdi-window-shutter-settings:before{content:"󱪋"}.mdi-windsock:before{content:"󱗺"}.mdi-wiper:before{content:"󰫩"}.mdi-wiper-wash:before{content:"󰶦"}.mdi-wiper-wash-alert:before{content:"󱣟"}.mdi-wizard-hat:before{content:"󱑷"}.mdi-wordpress:before{content:"󰖴"}.mdi-wrap:before{content:"󰖶"}.mdi-wrap-disabled:before{content:"󰯟"}.mdi-wrench:before{content:"󰖷"}.mdi-wrench-check:before{content:"󱮏"}.mdi-wrench-check-outline:before{content:"󱮐"}.mdi-wrench-clock:before{content:"󱦣"}.mdi-wrench-clock-outline:before{content:"󱮓"}.mdi-wrench-cog:before{content:"󱮑"}.mdi-wrench-cog-outline:before{content:"󱮒"}.mdi-wrench-outline:before{content:"󰯠"}.mdi-xamarin:before{content:"󰡅"}.mdi-xml:before{content:"󰗀"}.mdi-xmpp:before{content:"󰟿"}.mdi-yahoo:before{content:"󰭏"}.mdi-yeast:before{content:"󰗁"}.mdi-yin-yang:before{content:"󰚀"}.mdi-yoga:before{content:"󱅼"}.mdi-youtube:before{content:"󰗃"}.mdi-youtube-gaming:before{content:"󰡈"}.mdi-youtube-studio:before{content:"󰡇"}.mdi-youtube-subscription:before{content:"󰵀"}.mdi-youtube-tv:before{content:"󰑈"}.mdi-yurt:before{content:"󱔖"}.mdi-z-wave:before{content:"󰫪"}.mdi-zend:before{content:"󰫫"}.mdi-zigbee:before{content:"󰵁"}.mdi-zip-box:before{content:"󰗄"}.mdi-zip-box-outline:before{content:"󰿺"}.mdi-zip-disk:before{content:"󰨣"}.mdi-zodiac-aquarius:before{content:"󰩽"}.mdi-zodiac-aries:before{content:"󰩾"}.mdi-zodiac-cancer:before{content:"󰩿"}.mdi-zodiac-capricorn:before{content:"󰪀"}.mdi-zodiac-gemini:before{content:"󰪁"}.mdi-zodiac-leo:before{content:"󰪂"}.mdi-zodiac-libra:before{content:"󰪃"}.mdi-zodiac-pisces:before{content:"󰪄"}.mdi-zodiac-sagittarius:before{content:"󰪅"}.mdi-zodiac-scorpio:before{content:"󰪆"}.mdi-zodiac-taurus:before{content:"󰪇"}.mdi-zodiac-virgo:before{content:"󰪈"}.mdi-blank:before{content:"";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:#0000008a}.mdi-dark.mdi-inactive:before{color:#00000042}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:#ffffff4d}.mdi-rotate-45:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.mdi-rotate-90:before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mdi-rotate-135:before{-webkit-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.mdi-rotate-180:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mdi-rotate-225:before{-webkit-transform:rotate(225deg);-ms-transform:rotate(225deg);transform:rotate(225deg)}.mdi-rotate-270:before{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mdi-rotate-315:before{-webkit-transform:rotate(315deg);-ms-transform:rotate(315deg);transform:rotate(315deg)}.mdi-flip-h:before{-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:"FlipH"}.mdi-flip-v:before{-webkit-transform:scaleY(-1);transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.mdi-spin:before{-webkit-animation:mdi-spin 2s infinite linear;animation:mdi-spin 2s infinite linear}@-webkit-keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}.bg-black{background-color:#000!important;color:#fff!important}.bg-white{background-color:#fff!important;color:#000!important}.bg-transparent{background-color:transparent!important;color:currentColor!important}.bg-red{background-color:#f44336!important;color:#fff!important}.bg-red-lighten-5{background-color:#ffebee!important;color:#000!important}.bg-red-lighten-4{background-color:#ffcdd2!important;color:#000!important}.bg-red-lighten-3{background-color:#ef9a9a!important;color:#000!important}.bg-red-lighten-2{background-color:#e57373!important;color:#fff!important}.bg-red-lighten-1{background-color:#ef5350!important;color:#fff!important}.bg-red-darken-1{background-color:#e53935!important;color:#fff!important}.bg-red-darken-2{background-color:#d32f2f!important;color:#fff!important}.bg-red-darken-3{background-color:#c62828!important;color:#fff!important}.bg-red-darken-4{background-color:#b71c1c!important;color:#fff!important}.bg-red-accent-1{background-color:#ff8a80!important;color:#000!important}.bg-red-accent-2{background-color:#ff5252!important;color:#fff!important}.bg-red-accent-3{background-color:#ff1744!important;color:#fff!important}.bg-red-accent-4{background-color:#d50000!important;color:#fff!important}.bg-pink{background-color:#e91e63!important;color:#fff!important}.bg-pink-lighten-5{background-color:#fce4ec!important;color:#000!important}.bg-pink-lighten-4{background-color:#f8bbd0!important;color:#000!important}.bg-pink-lighten-3{background-color:#f48fb1!important;color:#000!important}.bg-pink-lighten-2{background-color:#f06292!important;color:#fff!important}.bg-pink-lighten-1{background-color:#ec407a!important;color:#fff!important}.bg-pink-darken-1{background-color:#d81b60!important;color:#fff!important}.bg-pink-darken-2{background-color:#c2185b!important;color:#fff!important}.bg-pink-darken-3{background-color:#ad1457!important;color:#fff!important}.bg-pink-darken-4{background-color:#880e4f!important;color:#fff!important}.bg-pink-accent-1{background-color:#ff80ab!important;color:#fff!important}.bg-pink-accent-2{background-color:#ff4081!important;color:#fff!important}.bg-pink-accent-3{background-color:#f50057!important;color:#fff!important}.bg-pink-accent-4{background-color:#c51162!important;color:#fff!important}.bg-purple{background-color:#9c27b0!important;color:#fff!important}.bg-purple-lighten-5{background-color:#f3e5f5!important;color:#000!important}.bg-purple-lighten-4{background-color:#e1bee7!important;color:#000!important}.bg-purple-lighten-3{background-color:#ce93d8!important;color:#fff!important}.bg-purple-lighten-2{background-color:#ba68c8!important;color:#fff!important}.bg-purple-lighten-1{background-color:#ab47bc!important;color:#fff!important}.bg-purple-darken-1{background-color:#8e24aa!important;color:#fff!important}.bg-purple-darken-2{background-color:#7b1fa2!important;color:#fff!important}.bg-purple-darken-3{background-color:#6a1b9a!important;color:#fff!important}.bg-purple-darken-4{background-color:#4a148c!important;color:#fff!important}.bg-purple-accent-1{background-color:#ea80fc!important;color:#fff!important}.bg-purple-accent-2{background-color:#e040fb!important;color:#fff!important}.bg-purple-accent-3{background-color:#d500f9!important;color:#fff!important}.bg-purple-accent-4{background-color:#a0f!important;color:#fff!important}.bg-deep-purple{background-color:#673ab7!important;color:#fff!important}.bg-deep-purple-lighten-5{background-color:#ede7f6!important;color:#000!important}.bg-deep-purple-lighten-4{background-color:#d1c4e9!important;color:#000!important}.bg-deep-purple-lighten-3{background-color:#b39ddb!important;color:#fff!important}.bg-deep-purple-lighten-2{background-color:#9575cd!important;color:#fff!important}.bg-deep-purple-lighten-1{background-color:#7e57c2!important;color:#fff!important}.bg-deep-purple-darken-1{background-color:#5e35b1!important;color:#fff!important}.bg-deep-purple-darken-2{background-color:#512da8!important;color:#fff!important}.bg-deep-purple-darken-3{background-color:#4527a0!important;color:#fff!important}.bg-deep-purple-darken-4{background-color:#311b92!important;color:#fff!important}.bg-deep-purple-accent-1{background-color:#b388ff!important;color:#fff!important}.bg-deep-purple-accent-2{background-color:#7c4dff!important;color:#fff!important}.bg-deep-purple-accent-3{background-color:#651fff!important;color:#fff!important}.bg-deep-purple-accent-4{background-color:#6200ea!important;color:#fff!important}.bg-indigo{background-color:#3f51b5!important;color:#fff!important}.bg-indigo-lighten-5{background-color:#e8eaf6!important;color:#000!important}.bg-indigo-lighten-4{background-color:#c5cae9!important;color:#000!important}.bg-indigo-lighten-3{background-color:#9fa8da!important;color:#fff!important}.bg-indigo-lighten-2{background-color:#7986cb!important;color:#fff!important}.bg-indigo-lighten-1{background-color:#5c6bc0!important;color:#fff!important}.bg-indigo-darken-1{background-color:#3949ab!important;color:#fff!important}.bg-indigo-darken-2{background-color:#303f9f!important;color:#fff!important}.bg-indigo-darken-3{background-color:#283593!important;color:#fff!important}.bg-indigo-darken-4{background-color:#1a237e!important;color:#fff!important}.bg-indigo-accent-1{background-color:#8c9eff!important;color:#fff!important}.bg-indigo-accent-2{background-color:#536dfe!important;color:#fff!important}.bg-indigo-accent-3{background-color:#3d5afe!important;color:#fff!important}.bg-indigo-accent-4{background-color:#304ffe!important;color:#fff!important}.bg-blue{background-color:#2196f3!important;color:#fff!important}.bg-blue-lighten-5{background-color:#e3f2fd!important;color:#000!important}.bg-blue-lighten-4{background-color:#bbdefb!important;color:#000!important}.bg-blue-lighten-3{background-color:#90caf9!important;color:#000!important}.bg-blue-lighten-2{background-color:#64b5f6!important;color:#000!important}.bg-blue-lighten-1{background-color:#42a5f5!important;color:#fff!important}.bg-blue-darken-1{background-color:#1e88e5!important;color:#fff!important}.bg-blue-darken-2{background-color:#1976d2!important;color:#fff!important}.bg-blue-darken-3{background-color:#1565c0!important;color:#fff!important}.bg-blue-darken-4{background-color:#0d47a1!important;color:#fff!important}.bg-blue-accent-1{background-color:#82b1ff!important;color:#000!important}.bg-blue-accent-2{background-color:#448aff!important;color:#fff!important}.bg-blue-accent-3{background-color:#2979ff!important;color:#fff!important}.bg-blue-accent-4{background-color:#2962ff!important;color:#fff!important}.bg-light-blue{background-color:#03a9f4!important;color:#fff!important}.bg-light-blue-lighten-5{background-color:#e1f5fe!important;color:#000!important}.bg-light-blue-lighten-4{background-color:#b3e5fc!important;color:#000!important}.bg-light-blue-lighten-3{background-color:#81d4fa!important;color:#000!important}.bg-light-blue-lighten-2{background-color:#4fc3f7!important;color:#000!important}.bg-light-blue-lighten-1{background-color:#29b6f6!important;color:#000!important}.bg-light-blue-darken-1{background-color:#039be5!important;color:#fff!important}.bg-light-blue-darken-2{background-color:#0288d1!important;color:#fff!important}.bg-light-blue-darken-3{background-color:#0277bd!important;color:#fff!important}.bg-light-blue-darken-4{background-color:#01579b!important;color:#fff!important}.bg-light-blue-accent-1{background-color:#80d8ff!important;color:#000!important}.bg-light-blue-accent-2{background-color:#40c4ff!important;color:#000!important}.bg-light-blue-accent-3{background-color:#00b0ff!important;color:#fff!important}.bg-light-blue-accent-4{background-color:#0091ea!important;color:#fff!important}.bg-cyan{background-color:#00bcd4!important;color:#000!important}.bg-cyan-lighten-5{background-color:#e0f7fa!important;color:#000!important}.bg-cyan-lighten-4{background-color:#b2ebf2!important;color:#000!important}.bg-cyan-lighten-3{background-color:#80deea!important;color:#000!important}.bg-cyan-lighten-2{background-color:#4dd0e1!important;color:#000!important}.bg-cyan-lighten-1{background-color:#26c6da!important;color:#000!important}.bg-cyan-darken-1{background-color:#00acc1!important;color:#fff!important}.bg-cyan-darken-2{background-color:#0097a7!important;color:#fff!important}.bg-cyan-darken-3{background-color:#00838f!important;color:#fff!important}.bg-cyan-darken-4{background-color:#006064!important;color:#fff!important}.bg-cyan-accent-1{background-color:#84ffff!important;color:#000!important}.bg-cyan-accent-2{background-color:#18ffff!important;color:#000!important}.bg-cyan-accent-3{background-color:#00e5ff!important;color:#000!important}.bg-cyan-accent-4{background-color:#00b8d4!important;color:#fff!important}.bg-teal{background-color:#009688!important;color:#fff!important}.bg-teal-lighten-5{background-color:#e0f2f1!important;color:#000!important}.bg-teal-lighten-4{background-color:#b2dfdb!important;color:#000!important}.bg-teal-lighten-3{background-color:#80cbc4!important;color:#000!important}.bg-teal-lighten-2{background-color:#4db6ac!important;color:#fff!important}.bg-teal-lighten-1{background-color:#26a69a!important;color:#fff!important}.bg-teal-darken-1{background-color:#00897b!important;color:#fff!important}.bg-teal-darken-2{background-color:#00796b!important;color:#fff!important}.bg-teal-darken-3{background-color:#00695c!important;color:#fff!important}.bg-teal-darken-4{background-color:#004d40!important;color:#fff!important}.bg-teal-accent-1{background-color:#a7ffeb!important;color:#000!important}.bg-teal-accent-2{background-color:#64ffda!important;color:#000!important}.bg-teal-accent-3{background-color:#1de9b6!important;color:#000!important}.bg-teal-accent-4{background-color:#00bfa5!important;color:#fff!important}.bg-green{background-color:#4caf50!important;color:#fff!important}.bg-green-lighten-5{background-color:#e8f5e9!important;color:#000!important}.bg-green-lighten-4{background-color:#c8e6c9!important;color:#000!important}.bg-green-lighten-3{background-color:#a5d6a7!important;color:#000!important}.bg-green-lighten-2{background-color:#81c784!important;color:#000!important}.bg-green-lighten-1{background-color:#66bb6a!important;color:#fff!important}.bg-green-darken-1{background-color:#43a047!important;color:#fff!important}.bg-green-darken-2{background-color:#388e3c!important;color:#fff!important}.bg-green-darken-3{background-color:#2e7d32!important;color:#fff!important}.bg-green-darken-4{background-color:#1b5e20!important;color:#fff!important}.bg-green-accent-1{background-color:#b9f6ca!important;color:#000!important}.bg-green-accent-2{background-color:#69f0ae!important;color:#000!important}.bg-green-accent-3{background-color:#00e676!important;color:#000!important}.bg-green-accent-4{background-color:#00c853!important;color:#000!important}.bg-light-green{background-color:#8bc34a!important;color:#000!important}.bg-light-green-lighten-5{background-color:#f1f8e9!important;color:#000!important}.bg-light-green-lighten-4{background-color:#dcedc8!important;color:#000!important}.bg-light-green-lighten-3{background-color:#c5e1a5!important;color:#000!important}.bg-light-green-lighten-2{background-color:#aed581!important;color:#000!important}.bg-light-green-lighten-1{background-color:#9ccc65!important;color:#000!important}.bg-light-green-darken-1{background-color:#7cb342!important;color:#fff!important}.bg-light-green-darken-2{background-color:#689f38!important;color:#fff!important}.bg-light-green-darken-3{background-color:#558b2f!important;color:#fff!important}.bg-light-green-darken-4{background-color:#33691e!important;color:#fff!important}.bg-light-green-accent-1{background-color:#ccff90!important;color:#000!important}.bg-light-green-accent-2{background-color:#b2ff59!important;color:#000!important}.bg-light-green-accent-3{background-color:#76ff03!important;color:#000!important}.bg-light-green-accent-4{background-color:#64dd17!important;color:#000!important}.bg-lime{background-color:#cddc39!important;color:#000!important}.bg-lime-lighten-5{background-color:#f9fbe7!important;color:#000!important}.bg-lime-lighten-4{background-color:#f0f4c3!important;color:#000!important}.bg-lime-lighten-3{background-color:#e6ee9c!important;color:#000!important}.bg-lime-lighten-2{background-color:#dce775!important;color:#000!important}.bg-lime-lighten-1{background-color:#d4e157!important;color:#000!important}.bg-lime-darken-1{background-color:#c0ca33!important;color:#000!important}.bg-lime-darken-2{background-color:#afb42b!important;color:#000!important}.bg-lime-darken-3{background-color:#9e9d24!important;color:#fff!important}.bg-lime-darken-4{background-color:#827717!important;color:#fff!important}.bg-lime-accent-1{background-color:#f4ff81!important;color:#000!important}.bg-lime-accent-2{background-color:#eeff41!important;color:#000!important}.bg-lime-accent-3{background-color:#c6ff00!important;color:#000!important}.bg-lime-accent-4{background-color:#aeea00!important;color:#000!important}.bg-yellow{background-color:#ffeb3b!important;color:#000!important}.bg-yellow-lighten-5{background-color:#fffde7!important;color:#000!important}.bg-yellow-lighten-4{background-color:#fff9c4!important;color:#000!important}.bg-yellow-lighten-3{background-color:#fff59d!important;color:#000!important}.bg-yellow-lighten-2{background-color:#fff176!important;color:#000!important}.bg-yellow-lighten-1{background-color:#ffee58!important;color:#000!important}.bg-yellow-darken-1{background-color:#fdd835!important;color:#000!important}.bg-yellow-darken-2{background-color:#fbc02d!important;color:#000!important}.bg-yellow-darken-3{background-color:#f9a825!important;color:#000!important}.bg-yellow-darken-4{background-color:#f57f17!important;color:#fff!important}.bg-yellow-accent-1{background-color:#ffff8d!important;color:#000!important}.bg-yellow-accent-2{background-color:#ff0!important;color:#000!important}.bg-yellow-accent-3{background-color:#ffea00!important;color:#000!important}.bg-yellow-accent-4{background-color:#ffd600!important;color:#000!important}.bg-amber{background-color:#ffc107!important;color:#000!important}.bg-amber-lighten-5{background-color:#fff8e1!important;color:#000!important}.bg-amber-lighten-4{background-color:#ffecb3!important;color:#000!important}.bg-amber-lighten-3{background-color:#ffe082!important;color:#000!important}.bg-amber-lighten-2{background-color:#ffd54f!important;color:#000!important}.bg-amber-lighten-1{background-color:#ffca28!important;color:#000!important}.bg-amber-darken-1{background-color:#ffb300!important;color:#000!important}.bg-amber-darken-2{background-color:#ffa000!important;color:#000!important}.bg-amber-darken-3{background-color:#ff8f00!important;color:#000!important}.bg-amber-darken-4{background-color:#ff6f00!important;color:#fff!important}.bg-amber-accent-1{background-color:#ffe57f!important;color:#000!important}.bg-amber-accent-2{background-color:#ffd740!important;color:#000!important}.bg-amber-accent-3{background-color:#ffc400!important;color:#000!important}.bg-amber-accent-4{background-color:#ffab00!important;color:#000!important}.bg-orange{background-color:#ff9800!important;color:#000!important}.bg-orange-lighten-5{background-color:#fff3e0!important;color:#000!important}.bg-orange-lighten-4{background-color:#ffe0b2!important;color:#000!important}.bg-orange-lighten-3{background-color:#ffcc80!important;color:#000!important}.bg-orange-lighten-2{background-color:#ffb74d!important;color:#000!important}.bg-orange-lighten-1{background-color:#ffa726!important;color:#000!important}.bg-orange-darken-1{background-color:#fb8c00!important;color:#fff!important}.bg-orange-darken-2{background-color:#f57c00!important;color:#fff!important}.bg-orange-darken-3{background-color:#ef6c00!important;color:#fff!important}.bg-orange-darken-4{background-color:#e65100!important;color:#fff!important}.bg-orange-accent-1{background-color:#ffd180!important;color:#000!important}.bg-orange-accent-2{background-color:#ffab40!important;color:#000!important}.bg-orange-accent-3{background-color:#ff9100!important;color:#000!important}.bg-orange-accent-4{background-color:#ff6d00!important;color:#fff!important}.bg-deep-orange{background-color:#ff5722!important;color:#fff!important}.bg-deep-orange-lighten-5{background-color:#fbe9e7!important;color:#000!important}.bg-deep-orange-lighten-4{background-color:#ffccbc!important;color:#000!important}.bg-deep-orange-lighten-3{background-color:#ffab91!important;color:#000!important}.bg-deep-orange-lighten-2{background-color:#ff8a65!important;color:#000!important}.bg-deep-orange-lighten-1{background-color:#ff7043!important;color:#fff!important}.bg-deep-orange-darken-1{background-color:#f4511e!important;color:#fff!important}.bg-deep-orange-darken-2{background-color:#e64a19!important;color:#fff!important}.bg-deep-orange-darken-3{background-color:#d84315!important;color:#fff!important}.bg-deep-orange-darken-4{background-color:#bf360c!important;color:#fff!important}.bg-deep-orange-accent-1{background-color:#ff9e80!important;color:#000!important}.bg-deep-orange-accent-2{background-color:#ff6e40!important;color:#fff!important}.bg-deep-orange-accent-3{background-color:#ff3d00!important;color:#fff!important}.bg-deep-orange-accent-4{background-color:#dd2c00!important;color:#fff!important}.bg-brown{background-color:#795548!important;color:#fff!important}.bg-brown-lighten-5{background-color:#efebe9!important;color:#000!important}.bg-brown-lighten-4{background-color:#d7ccc8!important;color:#000!important}.bg-brown-lighten-3{background-color:#bcaaa4!important;color:#000!important}.bg-brown-lighten-2{background-color:#a1887f!important;color:#fff!important}.bg-brown-lighten-1{background-color:#8d6e63!important;color:#fff!important}.bg-brown-darken-1{background-color:#6d4c41!important;color:#fff!important}.bg-brown-darken-2{background-color:#5d4037!important;color:#fff!important}.bg-brown-darken-3{background-color:#4e342e!important;color:#fff!important}.bg-brown-darken-4{background-color:#3e2723!important;color:#fff!important}.bg-blue-grey{background-color:#607d8b!important;color:#fff!important}.bg-blue-grey-lighten-5{background-color:#eceff1!important;color:#000!important}.bg-blue-grey-lighten-4{background-color:#cfd8dc!important;color:#000!important}.bg-blue-grey-lighten-3{background-color:#b0bec5!important;color:#000!important}.bg-blue-grey-lighten-2{background-color:#90a4ae!important;color:#fff!important}.bg-blue-grey-lighten-1{background-color:#78909c!important;color:#fff!important}.bg-blue-grey-darken-1{background-color:#546e7a!important;color:#fff!important}.bg-blue-grey-darken-2{background-color:#455a64!important;color:#fff!important}.bg-blue-grey-darken-3{background-color:#37474f!important;color:#fff!important}.bg-blue-grey-darken-4{background-color:#263238!important;color:#fff!important}.bg-grey{background-color:#9e9e9e!important;color:#fff!important}.bg-grey-lighten-5{background-color:#fafafa!important;color:#000!important}.bg-grey-lighten-4{background-color:#f5f5f5!important;color:#000!important}.bg-grey-lighten-3{background-color:#eee!important;color:#000!important}.bg-grey-lighten-2{background-color:#e0e0e0!important;color:#000!important}.bg-grey-lighten-1{background-color:#bdbdbd!important;color:#000!important}.bg-grey-darken-1{background-color:#757575!important;color:#fff!important}.bg-grey-darken-2{background-color:#616161!important;color:#fff!important}.bg-grey-darken-3{background-color:#424242!important;color:#fff!important}.bg-grey-darken-4{background-color:#212121!important;color:#fff!important}.bg-shades-black{background-color:#000!important;color:#fff!important}.bg-shades-white{background-color:#fff!important;color:#000!important}.bg-shades-transparent{background-color:transparent!important;color:currentColor!important}.text-black{color:#000!important}.text-white{color:#fff!important}.text-transparent{color:transparent!important}.text-red{color:#f44336!important}.text-red-lighten-5{color:#ffebee!important}.text-red-lighten-4{color:#ffcdd2!important}.text-red-lighten-3{color:#ef9a9a!important}.text-red-lighten-2{color:#e57373!important}.text-red-lighten-1{color:#ef5350!important}.text-red-darken-1{color:#e53935!important}.text-red-darken-2{color:#d32f2f!important}.text-red-darken-3{color:#c62828!important}.text-red-darken-4{color:#b71c1c!important}.text-red-accent-1{color:#ff8a80!important}.text-red-accent-2{color:#ff5252!important}.text-red-accent-3{color:#ff1744!important}.text-red-accent-4{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-lighten-5{color:#fce4ec!important}.text-pink-lighten-4{color:#f8bbd0!important}.text-pink-lighten-3{color:#f48fb1!important}.text-pink-lighten-2{color:#f06292!important}.text-pink-lighten-1{color:#ec407a!important}.text-pink-darken-1{color:#d81b60!important}.text-pink-darken-2{color:#c2185b!important}.text-pink-darken-3{color:#ad1457!important}.text-pink-darken-4{color:#880e4f!important}.text-pink-accent-1{color:#ff80ab!important}.text-pink-accent-2{color:#ff4081!important}.text-pink-accent-3{color:#f50057!important}.text-pink-accent-4{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-lighten-5{color:#f3e5f5!important}.text-purple-lighten-4{color:#e1bee7!important}.text-purple-lighten-3{color:#ce93d8!important}.text-purple-lighten-2{color:#ba68c8!important}.text-purple-lighten-1{color:#ab47bc!important}.text-purple-darken-1{color:#8e24aa!important}.text-purple-darken-2{color:#7b1fa2!important}.text-purple-darken-3{color:#6a1b9a!important}.text-purple-darken-4{color:#4a148c!important}.text-purple-accent-1{color:#ea80fc!important}.text-purple-accent-2{color:#e040fb!important}.text-purple-accent-3{color:#d500f9!important}.text-purple-accent-4{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-lighten-5{color:#ede7f6!important}.text-deep-purple-lighten-4{color:#d1c4e9!important}.text-deep-purple-lighten-3{color:#b39ddb!important}.text-deep-purple-lighten-2{color:#9575cd!important}.text-deep-purple-lighten-1{color:#7e57c2!important}.text-deep-purple-darken-1{color:#5e35b1!important}.text-deep-purple-darken-2{color:#512da8!important}.text-deep-purple-darken-3{color:#4527a0!important}.text-deep-purple-darken-4{color:#311b92!important}.text-deep-purple-accent-1{color:#b388ff!important}.text-deep-purple-accent-2{color:#7c4dff!important}.text-deep-purple-accent-3{color:#651fff!important}.text-deep-purple-accent-4{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-lighten-5{color:#e8eaf6!important}.text-indigo-lighten-4{color:#c5cae9!important}.text-indigo-lighten-3{color:#9fa8da!important}.text-indigo-lighten-2{color:#7986cb!important}.text-indigo-lighten-1{color:#5c6bc0!important}.text-indigo-darken-1{color:#3949ab!important}.text-indigo-darken-2{color:#303f9f!important}.text-indigo-darken-3{color:#283593!important}.text-indigo-darken-4{color:#1a237e!important}.text-indigo-accent-1{color:#8c9eff!important}.text-indigo-accent-2{color:#536dfe!important}.text-indigo-accent-3{color:#3d5afe!important}.text-indigo-accent-4{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-lighten-5{color:#e3f2fd!important}.text-blue-lighten-4{color:#bbdefb!important}.text-blue-lighten-3{color:#90caf9!important}.text-blue-lighten-2{color:#64b5f6!important}.text-blue-lighten-1{color:#42a5f5!important}.text-blue-darken-1{color:#1e88e5!important}.text-blue-darken-2{color:#1976d2!important}.text-blue-darken-3{color:#1565c0!important}.text-blue-darken-4{color:#0d47a1!important}.text-blue-accent-1{color:#82b1ff!important}.text-blue-accent-2{color:#448aff!important}.text-blue-accent-3{color:#2979ff!important}.text-blue-accent-4{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-lighten-5{color:#e1f5fe!important}.text-light-blue-lighten-4{color:#b3e5fc!important}.text-light-blue-lighten-3{color:#81d4fa!important}.text-light-blue-lighten-2{color:#4fc3f7!important}.text-light-blue-lighten-1{color:#29b6f6!important}.text-light-blue-darken-1{color:#039be5!important}.text-light-blue-darken-2{color:#0288d1!important}.text-light-blue-darken-3{color:#0277bd!important}.text-light-blue-darken-4{color:#01579b!important}.text-light-blue-accent-1{color:#80d8ff!important}.text-light-blue-accent-2{color:#40c4ff!important}.text-light-blue-accent-3{color:#00b0ff!important}.text-light-blue-accent-4{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-lighten-5{color:#e0f7fa!important}.text-cyan-lighten-4{color:#b2ebf2!important}.text-cyan-lighten-3{color:#80deea!important}.text-cyan-lighten-2{color:#4dd0e1!important}.text-cyan-lighten-1{color:#26c6da!important}.text-cyan-darken-1{color:#00acc1!important}.text-cyan-darken-2{color:#0097a7!important}.text-cyan-darken-3{color:#00838f!important}.text-cyan-darken-4{color:#006064!important}.text-cyan-accent-1{color:#84ffff!important}.text-cyan-accent-2{color:#18ffff!important}.text-cyan-accent-3{color:#00e5ff!important}.text-cyan-accent-4{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-lighten-5{color:#e0f2f1!important}.text-teal-lighten-4{color:#b2dfdb!important}.text-teal-lighten-3{color:#80cbc4!important}.text-teal-lighten-2{color:#4db6ac!important}.text-teal-lighten-1{color:#26a69a!important}.text-teal-darken-1{color:#00897b!important}.text-teal-darken-2{color:#00796b!important}.text-teal-darken-3{color:#00695c!important}.text-teal-darken-4{color:#004d40!important}.text-teal-accent-1{color:#a7ffeb!important}.text-teal-accent-2{color:#64ffda!important}.text-teal-accent-3{color:#1de9b6!important}.text-teal-accent-4{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-lighten-5{color:#e8f5e9!important}.text-green-lighten-4{color:#c8e6c9!important}.text-green-lighten-3{color:#a5d6a7!important}.text-green-lighten-2{color:#81c784!important}.text-green-lighten-1{color:#66bb6a!important}.text-green-darken-1{color:#43a047!important}.text-green-darken-2{color:#388e3c!important}.text-green-darken-3{color:#2e7d32!important}.text-green-darken-4{color:#1b5e20!important}.text-green-accent-1{color:#b9f6ca!important}.text-green-accent-2{color:#69f0ae!important}.text-green-accent-3{color:#00e676!important}.text-green-accent-4{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-lighten-5{color:#f1f8e9!important}.text-light-green-lighten-4{color:#dcedc8!important}.text-light-green-lighten-3{color:#c5e1a5!important}.text-light-green-lighten-2{color:#aed581!important}.text-light-green-lighten-1{color:#9ccc65!important}.text-light-green-darken-1{color:#7cb342!important}.text-light-green-darken-2{color:#689f38!important}.text-light-green-darken-3{color:#558b2f!important}.text-light-green-darken-4{color:#33691e!important}.text-light-green-accent-1{color:#ccff90!important}.text-light-green-accent-2{color:#b2ff59!important}.text-light-green-accent-3{color:#76ff03!important}.text-light-green-accent-4{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-lighten-5{color:#f9fbe7!important}.text-lime-lighten-4{color:#f0f4c3!important}.text-lime-lighten-3{color:#e6ee9c!important}.text-lime-lighten-2{color:#dce775!important}.text-lime-lighten-1{color:#d4e157!important}.text-lime-darken-1{color:#c0ca33!important}.text-lime-darken-2{color:#afb42b!important}.text-lime-darken-3{color:#9e9d24!important}.text-lime-darken-4{color:#827717!important}.text-lime-accent-1{color:#f4ff81!important}.text-lime-accent-2{color:#eeff41!important}.text-lime-accent-3{color:#c6ff00!important}.text-lime-accent-4{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-lighten-5{color:#fffde7!important}.text-yellow-lighten-4{color:#fff9c4!important}.text-yellow-lighten-3{color:#fff59d!important}.text-yellow-lighten-2{color:#fff176!important}.text-yellow-lighten-1{color:#ffee58!important}.text-yellow-darken-1{color:#fdd835!important}.text-yellow-darken-2{color:#fbc02d!important}.text-yellow-darken-3{color:#f9a825!important}.text-yellow-darken-4{color:#f57f17!important}.text-yellow-accent-1{color:#ffff8d!important}.text-yellow-accent-2{color:#ff0!important}.text-yellow-accent-3{color:#ffea00!important}.text-yellow-accent-4{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-lighten-5{color:#fff8e1!important}.text-amber-lighten-4{color:#ffecb3!important}.text-amber-lighten-3{color:#ffe082!important}.text-amber-lighten-2{color:#ffd54f!important}.text-amber-lighten-1{color:#ffca28!important}.text-amber-darken-1{color:#ffb300!important}.text-amber-darken-2{color:#ffa000!important}.text-amber-darken-3{color:#ff8f00!important}.text-amber-darken-4{color:#ff6f00!important}.text-amber-accent-1{color:#ffe57f!important}.text-amber-accent-2{color:#ffd740!important}.text-amber-accent-3{color:#ffc400!important}.text-amber-accent-4{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-lighten-5{color:#fff3e0!important}.text-orange-lighten-4{color:#ffe0b2!important}.text-orange-lighten-3{color:#ffcc80!important}.text-orange-lighten-2{color:#ffb74d!important}.text-orange-lighten-1{color:#ffa726!important}.text-orange-darken-1{color:#fb8c00!important}.text-orange-darken-2{color:#f57c00!important}.text-orange-darken-3{color:#ef6c00!important}.text-orange-darken-4{color:#e65100!important}.text-orange-accent-1{color:#ffd180!important}.text-orange-accent-2{color:#ffab40!important}.text-orange-accent-3{color:#ff9100!important}.text-orange-accent-4{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-lighten-5{color:#fbe9e7!important}.text-deep-orange-lighten-4{color:#ffccbc!important}.text-deep-orange-lighten-3{color:#ffab91!important}.text-deep-orange-lighten-2{color:#ff8a65!important}.text-deep-orange-lighten-1{color:#ff7043!important}.text-deep-orange-darken-1{color:#f4511e!important}.text-deep-orange-darken-2{color:#e64a19!important}.text-deep-orange-darken-3{color:#d84315!important}.text-deep-orange-darken-4{color:#bf360c!important}.text-deep-orange-accent-1{color:#ff9e80!important}.text-deep-orange-accent-2{color:#ff6e40!important}.text-deep-orange-accent-3{color:#ff3d00!important}.text-deep-orange-accent-4{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-lighten-5{color:#efebe9!important}.text-brown-lighten-4{color:#d7ccc8!important}.text-brown-lighten-3{color:#bcaaa4!important}.text-brown-lighten-2{color:#a1887f!important}.text-brown-lighten-1{color:#8d6e63!important}.text-brown-darken-1{color:#6d4c41!important}.text-brown-darken-2{color:#5d4037!important}.text-brown-darken-3{color:#4e342e!important}.text-brown-darken-4{color:#3e2723!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-lighten-5{color:#eceff1!important}.text-blue-grey-lighten-4{color:#cfd8dc!important}.text-blue-grey-lighten-3{color:#b0bec5!important}.text-blue-grey-lighten-2{color:#90a4ae!important}.text-blue-grey-lighten-1{color:#78909c!important}.text-blue-grey-darken-1{color:#546e7a!important}.text-blue-grey-darken-2{color:#455a64!important}.text-blue-grey-darken-3{color:#37474f!important}.text-blue-grey-darken-4{color:#263238!important}.text-grey{color:#9e9e9e!important}.text-grey-lighten-5{color:#fafafa!important}.text-grey-lighten-4{color:#f5f5f5!important}.text-grey-lighten-3{color:#eee!important}.text-grey-lighten-2{color:#e0e0e0!important}.text-grey-lighten-1{color:#bdbdbd!important}.text-grey-darken-1{color:#757575!important}.text-grey-darken-2{color:#616161!important}.text-grey-darken-3{color:#424242!important}.text-grey-darken-4{color:#212121!important}.text-shades-black{color:#000!important}.text-shades-white{color:#fff!important}.text-shades-transparent{color:transparent!important}/*! +.tabulator{position:relative;border:1px solid #dee2e6;background-color:#fff;font-size:16px;text-align:left;overflow:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #dee2e6;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{display:inline-flex;position:relative;box-sizing:border-box;flex-direction:column;justify-content:flex-start;border-right:1px solid #aaa;background:#fff;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #dee2e6;background:#e6e6e6;pointer-events:none}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#e6e6e6}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{position:sticky;left:0;z-index:10}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;background:white!important;border-top:1px solid #dee2e6;border-bottom:1px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:white!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%;min-width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{display:inline-block;text-align:center;padding:10px;color:#ccc;font-weight:700;font-size:20px;white-space:normal}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#ececec!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #dee2e6}.tabulator .tabulator-footer{border-top:1px solid #dee2e6;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-footer-contents{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px 10px}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:100%;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #dee2e6;border-top:1px solid #dee2e6;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{flex:1;text-align:right;color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px;background:rgba(255,255,255,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}}.tabulator .tabulator-col-resize-handle{position:relative;display:inline-block;width:6px;margin-left:-3px;margin-right:-3px;z-index:10;vertical-align:middle}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-alert{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-alert .tabulator-alert-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{border:4px solid #333;color:#000}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid #D00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:24px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#f9f9f9}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}}.tabulator-row.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6;pointer-events:none;z-index:15}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:16px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #dee2e6;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabulator-row .tabulator-cell.tabulator-frozen{display:inline-block;position:sticky;left:0;background-color:inherit;z-index:10}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1D68CD;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #dd0000}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:inline-block;width:7px}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-popup-container{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #dee2e6;box-shadow:0 0 5px #0003;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-popup{padding:5px;border-radius:3px}.tabulator-tooltip{max-width:min(500px,100%);padding:3px 5px;border-radius:2px;box-shadow:none;font-size:12px;pointer-events:none}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#f9f9f9}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-width:1px 1px 0 0;border-style:solid;border-color:#dee2e6;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #dee2e6}.tabulator-edit-list{max-height:200px;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}.tabulator-edit-list .tabulator-edit-list-item{padding:4px;color:#333;outline:none}.tabulator-edit-list .tabulator-edit-list-item.active{color:#fff;background:#1D68CD}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #1D68CD}@media (hover: hover) and (pointer: fine){.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#fff;background:#1D68CD}}.tabulator-edit-list .tabulator-edit-list-placeholder{padding:4px;color:#333;text-align:center}.tabulator-edit-list .tabulator-edit-list-group{border-bottom:1px solid #dee2e6;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:5px;border-bottom-left-radius:initial;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:initial;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>*:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator{background-color:#fff;border:none}.tabulator .tabulator-header{border-top:1px solid #dee2e6;border-bottom:2px solid #dee2e6;color:inherit}.tabulator .tabulator-header .tabulator-col{border-right:none;background-color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{padding:12px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid #dee2e6}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input{padding:.375rem .75rem;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:1rem;line-height:1.5;color:#495057}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus{color:#495057;background-color:#fff;border:1px solid #1D68CD;outline:0}.tabulator .tabulator-header .tabulator-calcs-holder{width:100%;border-bottom:1px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-placeholder span{color:#000}.tabulator .tabulator-tableholder .tabulator-table,.tabulator .tabulator-footer,.tabulator .tabulator-footer .tabulator-paginator{color:inherit}.tabulator .tabulator-footer .tabulator-pages{margin:0}.tabulator .tabulator-footer .tabulator-page{margin:5px 0 0;padding:8px 12px}.tabulator .tabulator-footer .tabulator-page[data-page=first]{border-top-left-radius:4px;border-bottom-left-radius:4px}.tabulator .tabulator-footer .tabulator-page[data-page=last]{border:1px solid #dee2e6;border-top-right-radius:4px;border-bottom-right-radius:4px}.tabulator .tabulator-footer .tabulator-page.active{border-color:#007bff;background-color:#007bff;color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{border-color:#dee2e6;background:#fff;color:#6c757d}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{border-color:#dee2e6;background:#e9ecef;color:#0056b3}}.tabulator.thead-dark .tabulator-header,.tabulator.thead-dark .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark{background-color:#212529}.tabulator.table-dark:not(.thead-light) .tabulator-header{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark:not(.thead-light) .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark .tabulator-tableholder{color:#fff}.tabulator.table-dark .tabulator-row{border-color:#32383e;background-color:#212529;color:#fff}@media (hover: hover) and (pointer: fine){.tabulator.table-dark .tabulator-row:hover{background-color:#32383e}.tabulator.table-dark .tabulator-row:hover .tabulator-cell{background-color:#ffffff13}}.tabulator.table-dark .tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator.table-dark .tabulator-footer{border-color:#32383e!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder{border-color:#32383e!important;background:#212529!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder .tabulator-row{border-color:#32383e!important;background-color:#212529!important;color:#fff!important}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even{background-color:#f9f9f9}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator.table-striped.table-dark .tabulator-row:nth-child(even) .tabulator-cell{background-color:#ffffff0d}.tabulator.table-bordered{border:1px solid #dee2e6}.tabulator.table-bordered .tabulator-header .tabulator-col,.tabulator.table-bordered .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{border-right:1px solid #dee2e6}.tabulator.table-borderless .tabulator-header,.tabulator.table-borderless .tabulator-row{border:none}.tabulator.table-sm .tabulator-header .tabulator-col .tabulator-col-content{padding:5px!important}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row{min-height:26px}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{padding:5px!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-active{background:#f5f5f5!important}.tabulator-row{min-height:40px;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-cell{padding:12px;border-right:none}.tabulator-row .tabulator-cell:last-of-type{border-right:none}.tabulator-row .tabulator-cell .tabulator-data-tree-control{border:1px solid #ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-row.tabulator-group{background:#fafafa}.tabulator-row.tabulator-group span{color:#666}.tabulator-edit-select-list{background:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}@media (hover: hover) and (pointer: fine){.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{color:#fff}}.tabulator-edit-select-list .tabulator-edit-select-list-notice,.tabulator-edit-select-list .tabulator-edit-select-list-group{color:inherit}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:initial}.tabulator-print-table .tabulator-print-table-group{background:#fafafa}.tabulator-print-table .tabulator-print-table-group span{color:#666}.tabulator-print-table .tabulator-data-tree-control{color:inherit}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-col-title,.tabulator-cell{font-size:14px}.plot-container[data-v-b6b2daaf]{position:relative;width:100%}.simple-button[data-v-b6b2daaf]{position:absolute;top:17%;left:6.5%;z-index:1000;background-color:#f0f0f0;border:none;border-radius:50%;width:30px;height:30px;text-align:center;line-height:230%;cursor:pointer}.simple-button[data-v-b6b2daaf]:hover{background-color:#e0e0e0}.sequence-amino-acid[data-v-313413c5]{background-color:var(--amino-acid-cell-bg-color);color:var(--amino-acid-cell-color)}.sequence-amino-acid[data-v-313413c5]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.sequence-amino-acid-highlighted[data-v-313413c5]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-313413c5]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-amino-acid-modified[data-v-313413c5]{background-color:#9c1e1e}.sequence-amino-acid-modified[data-v-313413c5]:hover{background-color:#ff1e1e}.frag-marker-container[data-v-313413c5],.frag-marker-container-a[data-v-313413c5],.frag-marker-container-b[data-v-313413c5],.frag-marker-container-c[data-v-313413c5],.frag-marker-container-x[data-v-313413c5],.frag-marker-container-y[data-v-313413c5],.frag-marker-container-z[data-v-313413c5],.frag-marker-extra-type[data-v-313413c5]{width:100%;height:100%;position:absolute;z-index:1000}.frag-marker-container-a[data-v-313413c5]{top:-28%;left:15%}.frag-marker-container-b[data-v-313413c5]{top:-8%;left:13%}.frag-marker-container-c[data-v-313413c5]{top:-28%;left:15%}.frag-marker-container-x[data-v-313413c5]{bottom:-32%;left:-10%}.frag-marker-container-y[data-v-313413c5]{bottom:-8%;left:-10%}.frag-marker-container-z[data-v-313413c5]{bottom:-32%;left:-10%}.frag-marker-extra-type[data-v-313413c5]{top:-30%}.aa-text[data-v-313413c5]{position:absolute}.protein-terminal[data-v-01ab13cd]:hover{background-color:var(--protein-terminal-cell-hover-bg-color);color:var(--protein-terminal-cell-hover-color)}.protein-terminal-modified[data-v-01ab13cd]{background-color:#9c1e1e;color:var(--amino-acid-cell-color)}.protein-terminal-modified[data-v-01ab13cd]:hover{background-color:#ff1e1e}.sequence-grid[data-v-4ba716b9]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-4ba716b9]{aspect-ratio:1}.sequence-amino-acid-modified[data-v-4ba716b9]{background-color:#9c1e1e!important}.sequence-amino-acid-modified[data-v-4ba716b9]:hover{background-color:#ff1e1e}.sequence-amino-acid-highlighted[data-v-4ba716b9]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-4ba716b9]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-grid[data-v-5ba5c0dd]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-5ba5c0dd]{aspect-ratio:1}.protein-terminal[data-v-5ba5c0dd]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.grid-width-20[data-v-5ba5c0dd]{grid-template-columns:repeat(22,1fr)}.grid-width-25[data-v-5ba5c0dd]{grid-template-columns:repeat(27,1fr)}.grid-width-30[data-v-5ba5c0dd]{grid-template-columns:repeat(32,1fr)}.grid-width-35[data-v-5ba5c0dd]{grid-template-columns:repeat(37,1fr)}.grid-width-40[data-v-5ba5c0dd]{grid-template-columns:repeat(42,1fr)}.sequence-amino-acid-highlighted[data-v-953b463c],.sequence-amino-acid.highlighted[data-v-953b463c]{background-color:#f3a712;color:#000;outline:3px solid #29335C;font-weight:700}.sequence-amino-acid[data-v-953b463c]{background-color:var(--amino-acid-cell-bg-color);color:var(--amino-acid-cell-color)}.sequence-amino-acid[data-v-953b463c]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.sequence-amino-acid-highlighted[data-v-953b463c]{background-color:var(--amino-acid-cell-bg-color);color:#f3a712}.sequence-amino-acid-highlighted[data-v-953b463c]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-amino-acid-modified[data-v-953b463c]{background-color:#9c1e1e}.sequence-amino-acid-modified[data-v-953b463c]:hover{background-color:#ff1e1e}.frag-marker-container[data-v-953b463c],.frag-marker-container-a[data-v-953b463c],.frag-marker-container-b[data-v-953b463c],.frag-marker-container-c[data-v-953b463c],.frag-marker-container-x[data-v-953b463c],.frag-marker-container-y[data-v-953b463c],.frag-marker-container-z[data-v-953b463c],.frag-marker-extra-type[data-v-953b463c]{width:100%;height:100%;position:absolute;z-index:1000}.frag-marker-container-a[data-v-953b463c]{top:-28%;left:15%}.frag-marker-container-b[data-v-953b463c]{top:-8%;left:13%}.frag-marker-container-c[data-v-953b463c]{top:-28%;left:15%}.frag-marker-container-x[data-v-953b463c]{bottom:-32%;left:-10%}.frag-marker-container-y[data-v-953b463c]{bottom:-8%;left:-10%}.frag-marker-container-z[data-v-953b463c]{bottom:-32%;left:-10%}.frag-marker-extra-type[data-v-953b463c]{top:-30%}.aa-text[data-v-953b463c]{position:absolute}.sequence-grid[data-v-d77bc8b6]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-d77bc8b6]{aspect-ratio:1}.sequence-amino-acid-modified[data-v-d77bc8b6]{background-color:#9c1e1e!important}.sequence-amino-acid-modified[data-v-d77bc8b6]:hover{background-color:#ff1e1e}.sequence-amino-acid-highlighted[data-v-d77bc8b6]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-d77bc8b6]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-grid[data-v-3ef6c7b6]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-3ef6c7b6]{aspect-ratio:1}.protein-terminal[data-v-3ef6c7b6]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.grid-width-20[data-v-3ef6c7b6]{grid-template-columns:repeat(22,1fr)}.grid-width-25[data-v-3ef6c7b6]{grid-template-columns:repeat(27,1fr)}.grid-width-30[data-v-3ef6c7b6]{grid-template-columns:repeat(32,1fr)}.grid-width-35[data-v-3ef6c7b6]{grid-template-columns:repeat(37,1fr)}.grid-width-40[data-v-3ef6c7b6]{grid-template-columns:repeat(42,1fr)}.sequence-and-scale[data-v-3ef6c7b6]{display:flex;align-items:center}.scale-container[data-v-3ef6c7b6]{display:flex;flex-direction:column;align-items:center}#sequence-part[data-v-3ef6c7b6]{flex-grow:1}.scale[data-v-3ef6c7b6]{width:60px;height:100px;background:linear-gradient(to top,rgba(228,87,46,.1),rgba(228,87,46,.2) 10%,rgba(228,87,46,.4) 20%,rgba(228,87,46,.6) 40%,rgba(228,87,46,.8) 70%,#e4572e 100%)}.scale-text[data-v-3ef6c7b6]{text-align:center;font-size:14pt;font-weight:700}.sequence-text[data-v-d41ea218]{font-size:8px}.fragment-segment[data-v-d41ea218],.by-fragment[data-v-d41ea218],.cy-fragment[data-v-d41ea218],.bz-fragment[data-v-d41ea218],.not-in-fragment[data-v-d41ea218],.by-fragment-overlayed[data-v-d41ea218],.by-fragment-legend[data-v-d41ea218],.cy-fragment-overlayed[data-v-d41ea218],.cy-fragment-legend[data-v-d41ea218],.bz-fragment-overlayed[data-v-d41ea218],.bz-fragment-legend[data-v-d41ea218]{aspect-ratio:1}.by-fragment[data-v-d41ea218],.by-fragment-overlayed[data-v-d41ea218],.by-fragment-legend[data-v-d41ea218]{background:#f0a441}.by-fragment-overlayed[data-v-d41ea218]{opacity:var(--frag-block-opacity-value)}.by-fragment-legend[data-v-d41ea218]{height:10px}.cy-fragment[data-v-d41ea218],.cy-fragment-overlayed[data-v-d41ea218],.cy-fragment-legend[data-v-d41ea218]{background:#12871d}.cy-fragment-overlayed[data-v-d41ea218]{opacity:var(--frag-block-opacity-value)}.cy-fragment-legend[data-v-d41ea218]{height:10px}.bz-fragment[data-v-d41ea218],.bz-fragment-overlayed[data-v-d41ea218],.bz-fragment-legend[data-v-d41ea218]{background:#7831cc}.bz-fragment-overlayed[data-v-d41ea218]{opacity:var(--frag-block-opacity-value)}.bz-fragment-legend[data-v-d41ea218]{height:10px}.not-in-fragment[data-v-d41ea218]{background:transparent;aspect-ratio:1}.v-input.textFieldFontSize[data-v-d41ea218]{width:100px}.component-row[data-v-1e2d685f]{display:flex;flex-direction:row;align-items:center}.height-1[data-v-1e2d685f]{min-height:200px;height:fit-content;max-height:400px}.height-2[data-v-1e2d685f]{min-height:200px;height:fit-content;max-height:800px}.height-any[data-v-1e2d685f]{min-height:200px;height:fit-content}.component-width-1[data-v-1e2d685f]{flex-basis:100%;flex-grow:0}.component-width-2[data-v-1e2d685f]{max-width:50%;flex-basis:50%;flex-grow:0}.component-width-3[data-v-1e2d685f]{max-width:33%;flex-basis:33%;flex-grow:0}.component-layout[data-v-1d160719]{display:flex;flex-direction:column}body{margin:0;font-family:Source Sans Pro,sans-serif}.tabulator-tooltip{background:#fff;color:#000}@font-face{font-family:Material Design Icons;src:url(./materialdesignicons-webfont-67d24abe.eot?v=7.2.96);src:url(./materialdesignicons-webfont-67d24abe.eot?#iefix&v=7.2.96) format("embedded-opentype"),url(./materialdesignicons-webfont-c1c004a9.woff2?v=7.2.96) format("woff2"),url(./materialdesignicons-webfont-80bb28b3.woff?v=7.2.96) format("woff"),url(./materialdesignicons-webfont-a58ecb54.ttf?v=7.2.96) format("truetype");font-weight:400;font-style:normal}.mdi:before,.mdi-set{display:inline-block;font: 24px/1 Material Design Icons;font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing:before{content:"󰇉"}.mdi-abacus:before{content:"󱛠"}.mdi-abjad-arabic:before{content:"󱌨"}.mdi-abjad-hebrew:before{content:"󱌩"}.mdi-abugida-devanagari:before{content:"󱌪"}.mdi-abugida-thai:before{content:"󱌫"}.mdi-access-point:before{content:"󰀃"}.mdi-access-point-check:before{content:"󱔸"}.mdi-access-point-minus:before{content:"󱔹"}.mdi-access-point-network:before{content:"󰀂"}.mdi-access-point-network-off:before{content:"󰯡"}.mdi-access-point-off:before{content:"󱔑"}.mdi-access-point-plus:before{content:"󱔺"}.mdi-access-point-remove:before{content:"󱔻"}.mdi-account:before{content:"󰀄"}.mdi-account-alert:before{content:"󰀅"}.mdi-account-alert-outline:before{content:"󰭐"}.mdi-account-arrow-down:before{content:"󱡨"}.mdi-account-arrow-down-outline:before{content:"󱡩"}.mdi-account-arrow-left:before{content:"󰭑"}.mdi-account-arrow-left-outline:before{content:"󰭒"}.mdi-account-arrow-right:before{content:"󰭓"}.mdi-account-arrow-right-outline:before{content:"󰭔"}.mdi-account-arrow-up:before{content:"󱡧"}.mdi-account-arrow-up-outline:before{content:"󱡪"}.mdi-account-badge:before{content:"󱬊"}.mdi-account-badge-outline:before{content:"󱬋"}.mdi-account-box:before{content:"󰀆"}.mdi-account-box-multiple:before{content:"󰤴"}.mdi-account-box-multiple-outline:before{content:"󱀊"}.mdi-account-box-outline:before{content:"󰀇"}.mdi-account-cancel:before{content:"󱋟"}.mdi-account-cancel-outline:before{content:"󱋠"}.mdi-account-card:before{content:"󱮤"}.mdi-account-card-outline:before{content:"󱮥"}.mdi-account-cash:before{content:"󱂗"}.mdi-account-cash-outline:before{content:"󱂘"}.mdi-account-check:before{content:"󰀈"}.mdi-account-check-outline:before{content:"󰯢"}.mdi-account-child:before{content:"󰪉"}.mdi-account-child-circle:before{content:"󰪊"}.mdi-account-child-outline:before{content:"󱃈"}.mdi-account-circle:before{content:"󰀉"}.mdi-account-circle-outline:before{content:"󰭕"}.mdi-account-clock:before{content:"󰭖"}.mdi-account-clock-outline:before{content:"󰭗"}.mdi-account-cog:before{content:"󱍰"}.mdi-account-cog-outline:before{content:"󱍱"}.mdi-account-convert:before{content:"󰀊"}.mdi-account-convert-outline:before{content:"󱌁"}.mdi-account-cowboy-hat:before{content:"󰺛"}.mdi-account-cowboy-hat-outline:before{content:"󱟳"}.mdi-account-credit-card:before{content:"󱮦"}.mdi-account-credit-card-outline:before{content:"󱮧"}.mdi-account-details:before{content:"󰘱"}.mdi-account-details-outline:before{content:"󱍲"}.mdi-account-edit:before{content:"󰚼"}.mdi-account-edit-outline:before{content:"󰿻"}.mdi-account-eye:before{content:"󰐠"}.mdi-account-eye-outline:before{content:"󱉻"}.mdi-account-filter:before{content:"󰤶"}.mdi-account-filter-outline:before{content:"󰾝"}.mdi-account-group:before{content:"󰡉"}.mdi-account-group-outline:before{content:"󰭘"}.mdi-account-hard-hat:before{content:"󰖵"}.mdi-account-hard-hat-outline:before{content:"󱨟"}.mdi-account-heart:before{content:"󰢙"}.mdi-account-heart-outline:before{content:"󰯣"}.mdi-account-injury:before{content:"󱠕"}.mdi-account-injury-outline:before{content:"󱠖"}.mdi-account-key:before{content:"󰀋"}.mdi-account-key-outline:before{content:"󰯤"}.mdi-account-lock:before{content:"󱅞"}.mdi-account-lock-open:before{content:"󱥠"}.mdi-account-lock-open-outline:before{content:"󱥡"}.mdi-account-lock-outline:before{content:"󱅟"}.mdi-account-minus:before{content:"󰀍"}.mdi-account-minus-outline:before{content:"󰫬"}.mdi-account-multiple:before{content:"󰀎"}.mdi-account-multiple-check:before{content:"󰣅"}.mdi-account-multiple-check-outline:before{content:"󱇾"}.mdi-account-multiple-minus:before{content:"󰗓"}.mdi-account-multiple-minus-outline:before{content:"󰯥"}.mdi-account-multiple-outline:before{content:"󰀏"}.mdi-account-multiple-plus:before{content:"󰀐"}.mdi-account-multiple-plus-outline:before{content:"󰠀"}.mdi-account-multiple-remove:before{content:"󱈊"}.mdi-account-multiple-remove-outline:before{content:"󱈋"}.mdi-account-music:before{content:"󰠃"}.mdi-account-music-outline:before{content:"󰳩"}.mdi-account-network:before{content:"󰀑"}.mdi-account-network-off:before{content:"󱫱"}.mdi-account-network-off-outline:before{content:"󱫲"}.mdi-account-network-outline:before{content:"󰯦"}.mdi-account-off:before{content:"󰀒"}.mdi-account-off-outline:before{content:"󰯧"}.mdi-account-outline:before{content:"󰀓"}.mdi-account-plus:before{content:"󰀔"}.mdi-account-plus-outline:before{content:"󰠁"}.mdi-account-question:before{content:"󰭙"}.mdi-account-question-outline:before{content:"󰭚"}.mdi-account-reactivate:before{content:"󱔫"}.mdi-account-reactivate-outline:before{content:"󱔬"}.mdi-account-remove:before{content:"󰀕"}.mdi-account-remove-outline:before{content:"󰫭"}.mdi-account-school:before{content:"󱨠"}.mdi-account-school-outline:before{content:"󱨡"}.mdi-account-search:before{content:"󰀖"}.mdi-account-search-outline:before{content:"󰤵"}.mdi-account-settings:before{content:"󰘰"}.mdi-account-settings-outline:before{content:"󱃉"}.mdi-account-star:before{content:"󰀗"}.mdi-account-star-outline:before{content:"󰯨"}.mdi-account-supervisor:before{content:"󰪋"}.mdi-account-supervisor-circle:before{content:"󰪌"}.mdi-account-supervisor-circle-outline:before{content:"󱓬"}.mdi-account-supervisor-outline:before{content:"󱄭"}.mdi-account-switch:before{content:"󰀙"}.mdi-account-switch-outline:before{content:"󰓋"}.mdi-account-sync:before{content:"󱤛"}.mdi-account-sync-outline:before{content:"󱤜"}.mdi-account-tag:before{content:"󱰛"}.mdi-account-tag-outline:before{content:"󱰜"}.mdi-account-tie:before{content:"󰳣"}.mdi-account-tie-hat:before{content:"󱢘"}.mdi-account-tie-hat-outline:before{content:"󱢙"}.mdi-account-tie-outline:before{content:"󱃊"}.mdi-account-tie-voice:before{content:"󱌈"}.mdi-account-tie-voice-off:before{content:"󱌊"}.mdi-account-tie-voice-off-outline:before{content:"󱌋"}.mdi-account-tie-voice-outline:before{content:"󱌉"}.mdi-account-tie-woman:before{content:"󱪌"}.mdi-account-voice:before{content:"󰗋"}.mdi-account-voice-off:before{content:"󰻔"}.mdi-account-wrench:before{content:"󱢚"}.mdi-account-wrench-outline:before{content:"󱢛"}.mdi-adjust:before{content:"󰀚"}.mdi-advertisements:before{content:"󱤪"}.mdi-advertisements-off:before{content:"󱤫"}.mdi-air-conditioner:before{content:"󰀛"}.mdi-air-filter:before{content:"󰵃"}.mdi-air-horn:before{content:"󰶬"}.mdi-air-humidifier:before{content:"󱂙"}.mdi-air-humidifier-off:before{content:"󱑦"}.mdi-air-purifier:before{content:"󰵄"}.mdi-air-purifier-off:before{content:"󱭗"}.mdi-airbag:before{content:"󰯩"}.mdi-airballoon:before{content:"󰀜"}.mdi-airballoon-outline:before{content:"󱀋"}.mdi-airplane:before{content:"󰀝"}.mdi-airplane-alert:before{content:"󱡺"}.mdi-airplane-check:before{content:"󱡻"}.mdi-airplane-clock:before{content:"󱡼"}.mdi-airplane-cog:before{content:"󱡽"}.mdi-airplane-edit:before{content:"󱡾"}.mdi-airplane-landing:before{content:"󰗔"}.mdi-airplane-marker:before{content:"󱡿"}.mdi-airplane-minus:before{content:"󱢀"}.mdi-airplane-off:before{content:"󰀞"}.mdi-airplane-plus:before{content:"󱢁"}.mdi-airplane-remove:before{content:"󱢂"}.mdi-airplane-search:before{content:"󱢃"}.mdi-airplane-settings:before{content:"󱢄"}.mdi-airplane-takeoff:before{content:"󰗕"}.mdi-airport:before{content:"󰡋"}.mdi-alarm:before{content:"󰀠"}.mdi-alarm-bell:before{content:"󰞎"}.mdi-alarm-check:before{content:"󰀡"}.mdi-alarm-light:before{content:"󰞏"}.mdi-alarm-light-off:before{content:"󱜞"}.mdi-alarm-light-off-outline:before{content:"󱜟"}.mdi-alarm-light-outline:before{content:"󰯪"}.mdi-alarm-multiple:before{content:"󰀢"}.mdi-alarm-note:before{content:"󰹱"}.mdi-alarm-note-off:before{content:"󰹲"}.mdi-alarm-off:before{content:"󰀣"}.mdi-alarm-panel:before{content:"󱗄"}.mdi-alarm-panel-outline:before{content:"󱗅"}.mdi-alarm-plus:before{content:"󰀤"}.mdi-alarm-snooze:before{content:"󰚎"}.mdi-album:before{content:"󰀥"}.mdi-alert:before{content:"󰀦"}.mdi-alert-box:before{content:"󰀧"}.mdi-alert-box-outline:before{content:"󰳤"}.mdi-alert-circle:before{content:"󰀨"}.mdi-alert-circle-check:before{content:"󱇭"}.mdi-alert-circle-check-outline:before{content:"󱇮"}.mdi-alert-circle-outline:before{content:"󰗖"}.mdi-alert-decagram:before{content:"󰚽"}.mdi-alert-decagram-outline:before{content:"󰳥"}.mdi-alert-minus:before{content:"󱒻"}.mdi-alert-minus-outline:before{content:"󱒾"}.mdi-alert-octagon:before{content:"󰀩"}.mdi-alert-octagon-outline:before{content:"󰳦"}.mdi-alert-octagram:before{content:"󰝧"}.mdi-alert-octagram-outline:before{content:"󰳧"}.mdi-alert-outline:before{content:"󰀪"}.mdi-alert-plus:before{content:"󱒺"}.mdi-alert-plus-outline:before{content:"󱒽"}.mdi-alert-remove:before{content:"󱒼"}.mdi-alert-remove-outline:before{content:"󱒿"}.mdi-alert-rhombus:before{content:"󱇎"}.mdi-alert-rhombus-outline:before{content:"󱇏"}.mdi-alien:before{content:"󰢚"}.mdi-alien-outline:before{content:"󱃋"}.mdi-align-horizontal-center:before{content:"󱇃"}.mdi-align-horizontal-distribute:before{content:"󱥢"}.mdi-align-horizontal-left:before{content:"󱇂"}.mdi-align-horizontal-right:before{content:"󱇄"}.mdi-align-vertical-bottom:before{content:"󱇅"}.mdi-align-vertical-center:before{content:"󱇆"}.mdi-align-vertical-distribute:before{content:"󱥣"}.mdi-align-vertical-top:before{content:"󱇇"}.mdi-all-inclusive:before{content:"󰚾"}.mdi-all-inclusive-box:before{content:"󱢍"}.mdi-all-inclusive-box-outline:before{content:"󱢎"}.mdi-allergy:before{content:"󱉘"}.mdi-alpha:before{content:"󰀫"}.mdi-alpha-a:before{content:"󰫮"}.mdi-alpha-a-box:before{content:"󰬈"}.mdi-alpha-a-box-outline:before{content:"󰯫"}.mdi-alpha-a-circle:before{content:"󰯬"}.mdi-alpha-a-circle-outline:before{content:"󰯭"}.mdi-alpha-b:before{content:"󰫯"}.mdi-alpha-b-box:before{content:"󰬉"}.mdi-alpha-b-box-outline:before{content:"󰯮"}.mdi-alpha-b-circle:before{content:"󰯯"}.mdi-alpha-b-circle-outline:before{content:"󰯰"}.mdi-alpha-c:before{content:"󰫰"}.mdi-alpha-c-box:before{content:"󰬊"}.mdi-alpha-c-box-outline:before{content:"󰯱"}.mdi-alpha-c-circle:before{content:"󰯲"}.mdi-alpha-c-circle-outline:before{content:"󰯳"}.mdi-alpha-d:before{content:"󰫱"}.mdi-alpha-d-box:before{content:"󰬋"}.mdi-alpha-d-box-outline:before{content:"󰯴"}.mdi-alpha-d-circle:before{content:"󰯵"}.mdi-alpha-d-circle-outline:before{content:"󰯶"}.mdi-alpha-e:before{content:"󰫲"}.mdi-alpha-e-box:before{content:"󰬌"}.mdi-alpha-e-box-outline:before{content:"󰯷"}.mdi-alpha-e-circle:before{content:"󰯸"}.mdi-alpha-e-circle-outline:before{content:"󰯹"}.mdi-alpha-f:before{content:"󰫳"}.mdi-alpha-f-box:before{content:"󰬍"}.mdi-alpha-f-box-outline:before{content:"󰯺"}.mdi-alpha-f-circle:before{content:"󰯻"}.mdi-alpha-f-circle-outline:before{content:"󰯼"}.mdi-alpha-g:before{content:"󰫴"}.mdi-alpha-g-box:before{content:"󰬎"}.mdi-alpha-g-box-outline:before{content:"󰯽"}.mdi-alpha-g-circle:before{content:"󰯾"}.mdi-alpha-g-circle-outline:before{content:"󰯿"}.mdi-alpha-h:before{content:"󰫵"}.mdi-alpha-h-box:before{content:"󰬏"}.mdi-alpha-h-box-outline:before{content:"󰰀"}.mdi-alpha-h-circle:before{content:"󰰁"}.mdi-alpha-h-circle-outline:before{content:"󰰂"}.mdi-alpha-i:before{content:"󰫶"}.mdi-alpha-i-box:before{content:"󰬐"}.mdi-alpha-i-box-outline:before{content:"󰰃"}.mdi-alpha-i-circle:before{content:"󰰄"}.mdi-alpha-i-circle-outline:before{content:"󰰅"}.mdi-alpha-j:before{content:"󰫷"}.mdi-alpha-j-box:before{content:"󰬑"}.mdi-alpha-j-box-outline:before{content:"󰰆"}.mdi-alpha-j-circle:before{content:"󰰇"}.mdi-alpha-j-circle-outline:before{content:"󰰈"}.mdi-alpha-k:before{content:"󰫸"}.mdi-alpha-k-box:before{content:"󰬒"}.mdi-alpha-k-box-outline:before{content:"󰰉"}.mdi-alpha-k-circle:before{content:"󰰊"}.mdi-alpha-k-circle-outline:before{content:"󰰋"}.mdi-alpha-l:before{content:"󰫹"}.mdi-alpha-l-box:before{content:"󰬓"}.mdi-alpha-l-box-outline:before{content:"󰰌"}.mdi-alpha-l-circle:before{content:"󰰍"}.mdi-alpha-l-circle-outline:before{content:"󰰎"}.mdi-alpha-m:before{content:"󰫺"}.mdi-alpha-m-box:before{content:"󰬔"}.mdi-alpha-m-box-outline:before{content:"󰰏"}.mdi-alpha-m-circle:before{content:"󰰐"}.mdi-alpha-m-circle-outline:before{content:"󰰑"}.mdi-alpha-n:before{content:"󰫻"}.mdi-alpha-n-box:before{content:"󰬕"}.mdi-alpha-n-box-outline:before{content:"󰰒"}.mdi-alpha-n-circle:before{content:"󰰓"}.mdi-alpha-n-circle-outline:before{content:"󰰔"}.mdi-alpha-o:before{content:"󰫼"}.mdi-alpha-o-box:before{content:"󰬖"}.mdi-alpha-o-box-outline:before{content:"󰰕"}.mdi-alpha-o-circle:before{content:"󰰖"}.mdi-alpha-o-circle-outline:before{content:"󰰗"}.mdi-alpha-p:before{content:"󰫽"}.mdi-alpha-p-box:before{content:"󰬗"}.mdi-alpha-p-box-outline:before{content:"󰰘"}.mdi-alpha-p-circle:before{content:"󰰙"}.mdi-alpha-p-circle-outline:before{content:"󰰚"}.mdi-alpha-q:before{content:"󰫾"}.mdi-alpha-q-box:before{content:"󰬘"}.mdi-alpha-q-box-outline:before{content:"󰰛"}.mdi-alpha-q-circle:before{content:"󰰜"}.mdi-alpha-q-circle-outline:before{content:"󰰝"}.mdi-alpha-r:before{content:"󰫿"}.mdi-alpha-r-box:before{content:"󰬙"}.mdi-alpha-r-box-outline:before{content:"󰰞"}.mdi-alpha-r-circle:before{content:"󰰟"}.mdi-alpha-r-circle-outline:before{content:"󰰠"}.mdi-alpha-s:before{content:"󰬀"}.mdi-alpha-s-box:before{content:"󰬚"}.mdi-alpha-s-box-outline:before{content:"󰰡"}.mdi-alpha-s-circle:before{content:"󰰢"}.mdi-alpha-s-circle-outline:before{content:"󰰣"}.mdi-alpha-t:before{content:"󰬁"}.mdi-alpha-t-box:before{content:"󰬛"}.mdi-alpha-t-box-outline:before{content:"󰰤"}.mdi-alpha-t-circle:before{content:"󰰥"}.mdi-alpha-t-circle-outline:before{content:"󰰦"}.mdi-alpha-u:before{content:"󰬂"}.mdi-alpha-u-box:before{content:"󰬜"}.mdi-alpha-u-box-outline:before{content:"󰰧"}.mdi-alpha-u-circle:before{content:"󰰨"}.mdi-alpha-u-circle-outline:before{content:"󰰩"}.mdi-alpha-v:before{content:"󰬃"}.mdi-alpha-v-box:before{content:"󰬝"}.mdi-alpha-v-box-outline:before{content:"󰰪"}.mdi-alpha-v-circle:before{content:"󰰫"}.mdi-alpha-v-circle-outline:before{content:"󰰬"}.mdi-alpha-w:before{content:"󰬄"}.mdi-alpha-w-box:before{content:"󰬞"}.mdi-alpha-w-box-outline:before{content:"󰰭"}.mdi-alpha-w-circle:before{content:"󰰮"}.mdi-alpha-w-circle-outline:before{content:"󰰯"}.mdi-alpha-x:before{content:"󰬅"}.mdi-alpha-x-box:before{content:"󰬟"}.mdi-alpha-x-box-outline:before{content:"󰰰"}.mdi-alpha-x-circle:before{content:"󰰱"}.mdi-alpha-x-circle-outline:before{content:"󰰲"}.mdi-alpha-y:before{content:"󰬆"}.mdi-alpha-y-box:before{content:"󰬠"}.mdi-alpha-y-box-outline:before{content:"󰰳"}.mdi-alpha-y-circle:before{content:"󰰴"}.mdi-alpha-y-circle-outline:before{content:"󰰵"}.mdi-alpha-z:before{content:"󰬇"}.mdi-alpha-z-box:before{content:"󰬡"}.mdi-alpha-z-box-outline:before{content:"󰰶"}.mdi-alpha-z-circle:before{content:"󰰷"}.mdi-alpha-z-circle-outline:before{content:"󰰸"}.mdi-alphabet-aurebesh:before{content:"󱌬"}.mdi-alphabet-cyrillic:before{content:"󱌭"}.mdi-alphabet-greek:before{content:"󱌮"}.mdi-alphabet-latin:before{content:"󱌯"}.mdi-alphabet-piqad:before{content:"󱌰"}.mdi-alphabet-tengwar:before{content:"󱌷"}.mdi-alphabetical:before{content:"󰀬"}.mdi-alphabetical-off:before{content:"󱀌"}.mdi-alphabetical-variant:before{content:"󱀍"}.mdi-alphabetical-variant-off:before{content:"󱀎"}.mdi-altimeter:before{content:"󰗗"}.mdi-ambulance:before{content:"󰀯"}.mdi-ammunition:before{content:"󰳨"}.mdi-ampersand:before{content:"󰪍"}.mdi-amplifier:before{content:"󰀰"}.mdi-amplifier-off:before{content:"󱆵"}.mdi-anchor:before{content:"󰀱"}.mdi-android:before{content:"󰀲"}.mdi-android-studio:before{content:"󰀴"}.mdi-angle-acute:before{content:"󰤷"}.mdi-angle-obtuse:before{content:"󰤸"}.mdi-angle-right:before{content:"󰤹"}.mdi-angular:before{content:"󰚲"}.mdi-angularjs:before{content:"󰚿"}.mdi-animation:before{content:"󰗘"}.mdi-animation-outline:before{content:"󰪏"}.mdi-animation-play:before{content:"󰤺"}.mdi-animation-play-outline:before{content:"󰪐"}.mdi-ansible:before{content:"󱂚"}.mdi-antenna:before{content:"󱄙"}.mdi-anvil:before{content:"󰢛"}.mdi-apache-kafka:before{content:"󱀏"}.mdi-api:before{content:"󱂛"}.mdi-api-off:before{content:"󱉗"}.mdi-apple:before{content:"󰀵"}.mdi-apple-finder:before{content:"󰀶"}.mdi-apple-icloud:before{content:"󰀸"}.mdi-apple-ios:before{content:"󰀷"}.mdi-apple-keyboard-caps:before{content:"󰘲"}.mdi-apple-keyboard-command:before{content:"󰘳"}.mdi-apple-keyboard-control:before{content:"󰘴"}.mdi-apple-keyboard-option:before{content:"󰘵"}.mdi-apple-keyboard-shift:before{content:"󰘶"}.mdi-apple-safari:before{content:"󰀹"}.mdi-application:before{content:"󰣆"}.mdi-application-array:before{content:"󱃵"}.mdi-application-array-outline:before{content:"󱃶"}.mdi-application-braces:before{content:"󱃷"}.mdi-application-braces-outline:before{content:"󱃸"}.mdi-application-brackets:before{content:"󰲋"}.mdi-application-brackets-outline:before{content:"󰲌"}.mdi-application-cog:before{content:"󰙵"}.mdi-application-cog-outline:before{content:"󱕷"}.mdi-application-edit:before{content:"󰂮"}.mdi-application-edit-outline:before{content:"󰘙"}.mdi-application-export:before{content:"󰶭"}.mdi-application-import:before{content:"󰶮"}.mdi-application-outline:before{content:"󰘔"}.mdi-application-parentheses:before{content:"󱃹"}.mdi-application-parentheses-outline:before{content:"󱃺"}.mdi-application-settings:before{content:"󰭠"}.mdi-application-settings-outline:before{content:"󱕕"}.mdi-application-variable:before{content:"󱃻"}.mdi-application-variable-outline:before{content:"󱃼"}.mdi-approximately-equal:before{content:"󰾞"}.mdi-approximately-equal-box:before{content:"󰾟"}.mdi-apps:before{content:"󰀻"}.mdi-apps-box:before{content:"󰵆"}.mdi-arch:before{content:"󰣇"}.mdi-archive:before{content:"󰀼"}.mdi-archive-alert:before{content:"󱓽"}.mdi-archive-alert-outline:before{content:"󱓾"}.mdi-archive-arrow-down:before{content:"󱉙"}.mdi-archive-arrow-down-outline:before{content:"󱉚"}.mdi-archive-arrow-up:before{content:"󱉛"}.mdi-archive-arrow-up-outline:before{content:"󱉜"}.mdi-archive-cancel:before{content:"󱝋"}.mdi-archive-cancel-outline:before{content:"󱝌"}.mdi-archive-check:before{content:"󱝍"}.mdi-archive-check-outline:before{content:"󱝎"}.mdi-archive-clock:before{content:"󱝏"}.mdi-archive-clock-outline:before{content:"󱝐"}.mdi-archive-cog:before{content:"󱝑"}.mdi-archive-cog-outline:before{content:"󱝒"}.mdi-archive-edit:before{content:"󱝓"}.mdi-archive-edit-outline:before{content:"󱝔"}.mdi-archive-eye:before{content:"󱝕"}.mdi-archive-eye-outline:before{content:"󱝖"}.mdi-archive-lock:before{content:"󱝗"}.mdi-archive-lock-open:before{content:"󱝘"}.mdi-archive-lock-open-outline:before{content:"󱝙"}.mdi-archive-lock-outline:before{content:"󱝚"}.mdi-archive-marker:before{content:"󱝛"}.mdi-archive-marker-outline:before{content:"󱝜"}.mdi-archive-minus:before{content:"󱝝"}.mdi-archive-minus-outline:before{content:"󱝞"}.mdi-archive-music:before{content:"󱝟"}.mdi-archive-music-outline:before{content:"󱝠"}.mdi-archive-off:before{content:"󱝡"}.mdi-archive-off-outline:before{content:"󱝢"}.mdi-archive-outline:before{content:"󱈎"}.mdi-archive-plus:before{content:"󱝣"}.mdi-archive-plus-outline:before{content:"󱝤"}.mdi-archive-refresh:before{content:"󱝥"}.mdi-archive-refresh-outline:before{content:"󱝦"}.mdi-archive-remove:before{content:"󱝧"}.mdi-archive-remove-outline:before{content:"󱝨"}.mdi-archive-search:before{content:"󱝩"}.mdi-archive-search-outline:before{content:"󱝪"}.mdi-archive-settings:before{content:"󱝫"}.mdi-archive-settings-outline:before{content:"󱝬"}.mdi-archive-star:before{content:"󱝭"}.mdi-archive-star-outline:before{content:"󱝮"}.mdi-archive-sync:before{content:"󱝯"}.mdi-archive-sync-outline:before{content:"󱝰"}.mdi-arm-flex:before{content:"󰿗"}.mdi-arm-flex-outline:before{content:"󰿖"}.mdi-arrange-bring-forward:before{content:"󰀽"}.mdi-arrange-bring-to-front:before{content:"󰀾"}.mdi-arrange-send-backward:before{content:"󰀿"}.mdi-arrange-send-to-back:before{content:"󰁀"}.mdi-arrow-all:before{content:"󰁁"}.mdi-arrow-bottom-left:before{content:"󰁂"}.mdi-arrow-bottom-left-bold-box:before{content:"󱥤"}.mdi-arrow-bottom-left-bold-box-outline:before{content:"󱥥"}.mdi-arrow-bottom-left-bold-outline:before{content:"󰦷"}.mdi-arrow-bottom-left-thick:before{content:"󰦸"}.mdi-arrow-bottom-left-thin:before{content:"󱦶"}.mdi-arrow-bottom-left-thin-circle-outline:before{content:"󱖖"}.mdi-arrow-bottom-right:before{content:"󰁃"}.mdi-arrow-bottom-right-bold-box:before{content:"󱥦"}.mdi-arrow-bottom-right-bold-box-outline:before{content:"󱥧"}.mdi-arrow-bottom-right-bold-outline:before{content:"󰦹"}.mdi-arrow-bottom-right-thick:before{content:"󰦺"}.mdi-arrow-bottom-right-thin:before{content:"󱦷"}.mdi-arrow-bottom-right-thin-circle-outline:before{content:"󱖕"}.mdi-arrow-collapse:before{content:"󰘕"}.mdi-arrow-collapse-all:before{content:"󰁄"}.mdi-arrow-collapse-down:before{content:"󰞒"}.mdi-arrow-collapse-horizontal:before{content:"󰡌"}.mdi-arrow-collapse-left:before{content:"󰞓"}.mdi-arrow-collapse-right:before{content:"󰞔"}.mdi-arrow-collapse-up:before{content:"󰞕"}.mdi-arrow-collapse-vertical:before{content:"󰡍"}.mdi-arrow-decision:before{content:"󰦻"}.mdi-arrow-decision-auto:before{content:"󰦼"}.mdi-arrow-decision-auto-outline:before{content:"󰦽"}.mdi-arrow-decision-outline:before{content:"󰦾"}.mdi-arrow-down:before{content:"󰁅"}.mdi-arrow-down-bold:before{content:"󰜮"}.mdi-arrow-down-bold-box:before{content:"󰜯"}.mdi-arrow-down-bold-box-outline:before{content:"󰜰"}.mdi-arrow-down-bold-circle:before{content:"󰁇"}.mdi-arrow-down-bold-circle-outline:before{content:"󰁈"}.mdi-arrow-down-bold-hexagon-outline:before{content:"󰁉"}.mdi-arrow-down-bold-outline:before{content:"󰦿"}.mdi-arrow-down-box:before{content:"󰛀"}.mdi-arrow-down-circle:before{content:"󰳛"}.mdi-arrow-down-circle-outline:before{content:"󰳜"}.mdi-arrow-down-drop-circle:before{content:"󰁊"}.mdi-arrow-down-drop-circle-outline:before{content:"󰁋"}.mdi-arrow-down-left:before{content:"󱞡"}.mdi-arrow-down-left-bold:before{content:"󱞢"}.mdi-arrow-down-right:before{content:"󱞣"}.mdi-arrow-down-right-bold:before{content:"󱞤"}.mdi-arrow-down-thick:before{content:"󰁆"}.mdi-arrow-down-thin:before{content:"󱦳"}.mdi-arrow-down-thin-circle-outline:before{content:"󱖙"}.mdi-arrow-expand:before{content:"󰘖"}.mdi-arrow-expand-all:before{content:"󰁌"}.mdi-arrow-expand-down:before{content:"󰞖"}.mdi-arrow-expand-horizontal:before{content:"󰡎"}.mdi-arrow-expand-left:before{content:"󰞗"}.mdi-arrow-expand-right:before{content:"󰞘"}.mdi-arrow-expand-up:before{content:"󰞙"}.mdi-arrow-expand-vertical:before{content:"󰡏"}.mdi-arrow-horizontal-lock:before{content:"󱅛"}.mdi-arrow-left:before{content:"󰁍"}.mdi-arrow-left-bold:before{content:"󰜱"}.mdi-arrow-left-bold-box:before{content:"󰜲"}.mdi-arrow-left-bold-box-outline:before{content:"󰜳"}.mdi-arrow-left-bold-circle:before{content:"󰁏"}.mdi-arrow-left-bold-circle-outline:before{content:"󰁐"}.mdi-arrow-left-bold-hexagon-outline:before{content:"󰁑"}.mdi-arrow-left-bold-outline:before{content:"󰧀"}.mdi-arrow-left-bottom:before{content:"󱞥"}.mdi-arrow-left-bottom-bold:before{content:"󱞦"}.mdi-arrow-left-box:before{content:"󰛁"}.mdi-arrow-left-circle:before{content:"󰳝"}.mdi-arrow-left-circle-outline:before{content:"󰳞"}.mdi-arrow-left-drop-circle:before{content:"󰁒"}.mdi-arrow-left-drop-circle-outline:before{content:"󰁓"}.mdi-arrow-left-right:before{content:"󰹳"}.mdi-arrow-left-right-bold:before{content:"󰹴"}.mdi-arrow-left-right-bold-outline:before{content:"󰧁"}.mdi-arrow-left-thick:before{content:"󰁎"}.mdi-arrow-left-thin:before{content:"󱦱"}.mdi-arrow-left-thin-circle-outline:before{content:"󱖚"}.mdi-arrow-left-top:before{content:"󱞧"}.mdi-arrow-left-top-bold:before{content:"󱞨"}.mdi-arrow-projectile:before{content:"󱡀"}.mdi-arrow-projectile-multiple:before{content:"󱠿"}.mdi-arrow-right:before{content:"󰁔"}.mdi-arrow-right-bold:before{content:"󰜴"}.mdi-arrow-right-bold-box:before{content:"󰜵"}.mdi-arrow-right-bold-box-outline:before{content:"󰜶"}.mdi-arrow-right-bold-circle:before{content:"󰁖"}.mdi-arrow-right-bold-circle-outline:before{content:"󰁗"}.mdi-arrow-right-bold-hexagon-outline:before{content:"󰁘"}.mdi-arrow-right-bold-outline:before{content:"󰧂"}.mdi-arrow-right-bottom:before{content:"󱞩"}.mdi-arrow-right-bottom-bold:before{content:"󱞪"}.mdi-arrow-right-box:before{content:"󰛂"}.mdi-arrow-right-circle:before{content:"󰳟"}.mdi-arrow-right-circle-outline:before{content:"󰳠"}.mdi-arrow-right-drop-circle:before{content:"󰁙"}.mdi-arrow-right-drop-circle-outline:before{content:"󰁚"}.mdi-arrow-right-thick:before{content:"󰁕"}.mdi-arrow-right-thin:before{content:"󱦰"}.mdi-arrow-right-thin-circle-outline:before{content:"󱖘"}.mdi-arrow-right-top:before{content:"󱞫"}.mdi-arrow-right-top-bold:before{content:"󱞬"}.mdi-arrow-split-horizontal:before{content:"󰤻"}.mdi-arrow-split-vertical:before{content:"󰤼"}.mdi-arrow-top-left:before{content:"󰁛"}.mdi-arrow-top-left-bold-box:before{content:"󱥨"}.mdi-arrow-top-left-bold-box-outline:before{content:"󱥩"}.mdi-arrow-top-left-bold-outline:before{content:"󰧃"}.mdi-arrow-top-left-bottom-right:before{content:"󰹵"}.mdi-arrow-top-left-bottom-right-bold:before{content:"󰹶"}.mdi-arrow-top-left-thick:before{content:"󰧄"}.mdi-arrow-top-left-thin:before{content:"󱦵"}.mdi-arrow-top-left-thin-circle-outline:before{content:"󱖓"}.mdi-arrow-top-right:before{content:"󰁜"}.mdi-arrow-top-right-bold-box:before{content:"󱥪"}.mdi-arrow-top-right-bold-box-outline:before{content:"󱥫"}.mdi-arrow-top-right-bold-outline:before{content:"󰧅"}.mdi-arrow-top-right-bottom-left:before{content:"󰹷"}.mdi-arrow-top-right-bottom-left-bold:before{content:"󰹸"}.mdi-arrow-top-right-thick:before{content:"󰧆"}.mdi-arrow-top-right-thin:before{content:"󱦴"}.mdi-arrow-top-right-thin-circle-outline:before{content:"󱖔"}.mdi-arrow-u-down-left:before{content:"󱞭"}.mdi-arrow-u-down-left-bold:before{content:"󱞮"}.mdi-arrow-u-down-right:before{content:"󱞯"}.mdi-arrow-u-down-right-bold:before{content:"󱞰"}.mdi-arrow-u-left-bottom:before{content:"󱞱"}.mdi-arrow-u-left-bottom-bold:before{content:"󱞲"}.mdi-arrow-u-left-top:before{content:"󱞳"}.mdi-arrow-u-left-top-bold:before{content:"󱞴"}.mdi-arrow-u-right-bottom:before{content:"󱞵"}.mdi-arrow-u-right-bottom-bold:before{content:"󱞶"}.mdi-arrow-u-right-top:before{content:"󱞷"}.mdi-arrow-u-right-top-bold:before{content:"󱞸"}.mdi-arrow-u-up-left:before{content:"󱞹"}.mdi-arrow-u-up-left-bold:before{content:"󱞺"}.mdi-arrow-u-up-right:before{content:"󱞻"}.mdi-arrow-u-up-right-bold:before{content:"󱞼"}.mdi-arrow-up:before{content:"󰁝"}.mdi-arrow-up-bold:before{content:"󰜷"}.mdi-arrow-up-bold-box:before{content:"󰜸"}.mdi-arrow-up-bold-box-outline:before{content:"󰜹"}.mdi-arrow-up-bold-circle:before{content:"󰁟"}.mdi-arrow-up-bold-circle-outline:before{content:"󰁠"}.mdi-arrow-up-bold-hexagon-outline:before{content:"󰁡"}.mdi-arrow-up-bold-outline:before{content:"󰧇"}.mdi-arrow-up-box:before{content:"󰛃"}.mdi-arrow-up-circle:before{content:"󰳡"}.mdi-arrow-up-circle-outline:before{content:"󰳢"}.mdi-arrow-up-down:before{content:"󰹹"}.mdi-arrow-up-down-bold:before{content:"󰹺"}.mdi-arrow-up-down-bold-outline:before{content:"󰧈"}.mdi-arrow-up-drop-circle:before{content:"󰁢"}.mdi-arrow-up-drop-circle-outline:before{content:"󰁣"}.mdi-arrow-up-left:before{content:"󱞽"}.mdi-arrow-up-left-bold:before{content:"󱞾"}.mdi-arrow-up-right:before{content:"󱞿"}.mdi-arrow-up-right-bold:before{content:"󱟀"}.mdi-arrow-up-thick:before{content:"󰁞"}.mdi-arrow-up-thin:before{content:"󱦲"}.mdi-arrow-up-thin-circle-outline:before{content:"󱖗"}.mdi-arrow-vertical-lock:before{content:"󱅜"}.mdi-artboard:before{content:"󱮚"}.mdi-artstation:before{content:"󰭛"}.mdi-aspect-ratio:before{content:"󰨤"}.mdi-assistant:before{content:"󰁤"}.mdi-asterisk:before{content:"󰛄"}.mdi-asterisk-circle-outline:before{content:"󱨧"}.mdi-at:before{content:"󰁥"}.mdi-atlassian:before{content:"󰠄"}.mdi-atm:before{content:"󰵇"}.mdi-atom:before{content:"󰝨"}.mdi-atom-variant:before{content:"󰹻"}.mdi-attachment:before{content:"󰁦"}.mdi-attachment-check:before{content:"󱫁"}.mdi-attachment-lock:before{content:"󱧄"}.mdi-attachment-minus:before{content:"󱫂"}.mdi-attachment-off:before{content:"󱫃"}.mdi-attachment-plus:before{content:"󱫄"}.mdi-attachment-remove:before{content:"󱫅"}.mdi-atv:before{content:"󱭰"}.mdi-audio-input-rca:before{content:"󱡫"}.mdi-audio-input-stereo-minijack:before{content:"󱡬"}.mdi-audio-input-xlr:before{content:"󱡭"}.mdi-audio-video:before{content:"󰤽"}.mdi-audio-video-off:before{content:"󱆶"}.mdi-augmented-reality:before{content:"󰡐"}.mdi-aurora:before{content:"󱮹"}.mdi-auto-download:before{content:"󱍾"}.mdi-auto-fix:before{content:"󰁨"}.mdi-auto-mode:before{content:"󱰠"}.mdi-auto-upload:before{content:"󰁩"}.mdi-autorenew:before{content:"󰁪"}.mdi-autorenew-off:before{content:"󱧧"}.mdi-av-timer:before{content:"󰁫"}.mdi-awning:before{content:"󱮇"}.mdi-awning-outline:before{content:"󱮈"}.mdi-aws:before{content:"󰸏"}.mdi-axe:before{content:"󰣈"}.mdi-axe-battle:before{content:"󱡂"}.mdi-axis:before{content:"󰵈"}.mdi-axis-arrow:before{content:"󰵉"}.mdi-axis-arrow-info:before{content:"󱐎"}.mdi-axis-arrow-lock:before{content:"󰵊"}.mdi-axis-lock:before{content:"󰵋"}.mdi-axis-x-arrow:before{content:"󰵌"}.mdi-axis-x-arrow-lock:before{content:"󰵍"}.mdi-axis-x-rotate-clockwise:before{content:"󰵎"}.mdi-axis-x-rotate-counterclockwise:before{content:"󰵏"}.mdi-axis-x-y-arrow-lock:before{content:"󰵐"}.mdi-axis-y-arrow:before{content:"󰵑"}.mdi-axis-y-arrow-lock:before{content:"󰵒"}.mdi-axis-y-rotate-clockwise:before{content:"󰵓"}.mdi-axis-y-rotate-counterclockwise:before{content:"󰵔"}.mdi-axis-z-arrow:before{content:"󰵕"}.mdi-axis-z-arrow-lock:before{content:"󰵖"}.mdi-axis-z-rotate-clockwise:before{content:"󰵗"}.mdi-axis-z-rotate-counterclockwise:before{content:"󰵘"}.mdi-babel:before{content:"󰨥"}.mdi-baby:before{content:"󰁬"}.mdi-baby-bottle:before{content:"󰼹"}.mdi-baby-bottle-outline:before{content:"󰼺"}.mdi-baby-buggy:before{content:"󱏠"}.mdi-baby-buggy-off:before{content:"󱫳"}.mdi-baby-carriage:before{content:"󰚏"}.mdi-baby-carriage-off:before{content:"󰾠"}.mdi-baby-face:before{content:"󰹼"}.mdi-baby-face-outline:before{content:"󰹽"}.mdi-backburger:before{content:"󰁭"}.mdi-backspace:before{content:"󰁮"}.mdi-backspace-outline:before{content:"󰭜"}.mdi-backspace-reverse:before{content:"󰹾"}.mdi-backspace-reverse-outline:before{content:"󰹿"}.mdi-backup-restore:before{content:"󰁯"}.mdi-bacteria:before{content:"󰻕"}.mdi-bacteria-outline:before{content:"󰻖"}.mdi-badge-account:before{content:"󰶧"}.mdi-badge-account-alert:before{content:"󰶨"}.mdi-badge-account-alert-outline:before{content:"󰶩"}.mdi-badge-account-horizontal:before{content:"󰸍"}.mdi-badge-account-horizontal-outline:before{content:"󰸎"}.mdi-badge-account-outline:before{content:"󰶪"}.mdi-badminton:before{content:"󰡑"}.mdi-bag-carry-on:before{content:"󰼻"}.mdi-bag-carry-on-check:before{content:"󰵥"}.mdi-bag-carry-on-off:before{content:"󰼼"}.mdi-bag-checked:before{content:"󰼽"}.mdi-bag-personal:before{content:"󰸐"}.mdi-bag-personal-off:before{content:"󰸑"}.mdi-bag-personal-off-outline:before{content:"󰸒"}.mdi-bag-personal-outline:before{content:"󰸓"}.mdi-bag-personal-tag:before{content:"󱬌"}.mdi-bag-personal-tag-outline:before{content:"󱬍"}.mdi-bag-suitcase:before{content:"󱖋"}.mdi-bag-suitcase-off:before{content:"󱖍"}.mdi-bag-suitcase-off-outline:before{content:"󱖎"}.mdi-bag-suitcase-outline:before{content:"󱖌"}.mdi-baguette:before{content:"󰼾"}.mdi-balcony:before{content:"󱠗"}.mdi-balloon:before{content:"󰨦"}.mdi-ballot:before{content:"󰧉"}.mdi-ballot-outline:before{content:"󰧊"}.mdi-ballot-recount:before{content:"󰰹"}.mdi-ballot-recount-outline:before{content:"󰰺"}.mdi-bandage:before{content:"󰶯"}.mdi-bank:before{content:"󰁰"}.mdi-bank-check:before{content:"󱙕"}.mdi-bank-circle:before{content:"󱰃"}.mdi-bank-circle-outline:before{content:"󱰄"}.mdi-bank-minus:before{content:"󰶰"}.mdi-bank-off:before{content:"󱙖"}.mdi-bank-off-outline:before{content:"󱙗"}.mdi-bank-outline:before{content:"󰺀"}.mdi-bank-plus:before{content:"󰶱"}.mdi-bank-remove:before{content:"󰶲"}.mdi-bank-transfer:before{content:"󰨧"}.mdi-bank-transfer-in:before{content:"󰨨"}.mdi-bank-transfer-out:before{content:"󰨩"}.mdi-barcode:before{content:"󰁱"}.mdi-barcode-off:before{content:"󱈶"}.mdi-barcode-scan:before{content:"󰁲"}.mdi-barley:before{content:"󰁳"}.mdi-barley-off:before{content:"󰭝"}.mdi-barn:before{content:"󰭞"}.mdi-barrel:before{content:"󰁴"}.mdi-barrel-outline:before{content:"󱨨"}.mdi-baseball:before{content:"󰡒"}.mdi-baseball-bat:before{content:"󰡓"}.mdi-baseball-diamond:before{content:"󱗬"}.mdi-baseball-diamond-outline:before{content:"󱗭"}.mdi-baseball-outline:before{content:"󱱚"}.mdi-bash:before{content:"󱆃"}.mdi-basket:before{content:"󰁶"}.mdi-basket-check:before{content:"󱣥"}.mdi-basket-check-outline:before{content:"󱣦"}.mdi-basket-fill:before{content:"󰁷"}.mdi-basket-minus:before{content:"󱔣"}.mdi-basket-minus-outline:before{content:"󱔤"}.mdi-basket-off:before{content:"󱔥"}.mdi-basket-off-outline:before{content:"󱔦"}.mdi-basket-outline:before{content:"󱆁"}.mdi-basket-plus:before{content:"󱔧"}.mdi-basket-plus-outline:before{content:"󱔨"}.mdi-basket-remove:before{content:"󱔩"}.mdi-basket-remove-outline:before{content:"󱔪"}.mdi-basket-unfill:before{content:"󰁸"}.mdi-basketball:before{content:"󰠆"}.mdi-basketball-hoop:before{content:"󰰻"}.mdi-basketball-hoop-outline:before{content:"󰰼"}.mdi-bat:before{content:"󰭟"}.mdi-bathtub:before{content:"󱠘"}.mdi-bathtub-outline:before{content:"󱠙"}.mdi-battery:before{content:"󰁹"}.mdi-battery-10:before{content:"󰁺"}.mdi-battery-10-bluetooth:before{content:"󰤾"}.mdi-battery-20:before{content:"󰁻"}.mdi-battery-20-bluetooth:before{content:"󰤿"}.mdi-battery-30:before{content:"󰁼"}.mdi-battery-30-bluetooth:before{content:"󰥀"}.mdi-battery-40:before{content:"󰁽"}.mdi-battery-40-bluetooth:before{content:"󰥁"}.mdi-battery-50:before{content:"󰁾"}.mdi-battery-50-bluetooth:before{content:"󰥂"}.mdi-battery-60:before{content:"󰁿"}.mdi-battery-60-bluetooth:before{content:"󰥃"}.mdi-battery-70:before{content:"󰂀"}.mdi-battery-70-bluetooth:before{content:"󰥄"}.mdi-battery-80:before{content:"󰂁"}.mdi-battery-80-bluetooth:before{content:"󰥅"}.mdi-battery-90:before{content:"󰂂"}.mdi-battery-90-bluetooth:before{content:"󰥆"}.mdi-battery-alert:before{content:"󰂃"}.mdi-battery-alert-bluetooth:before{content:"󰥇"}.mdi-battery-alert-variant:before{content:"󱃌"}.mdi-battery-alert-variant-outline:before{content:"󱃍"}.mdi-battery-arrow-down:before{content:"󱟞"}.mdi-battery-arrow-down-outline:before{content:"󱟟"}.mdi-battery-arrow-up:before{content:"󱟠"}.mdi-battery-arrow-up-outline:before{content:"󱟡"}.mdi-battery-bluetooth:before{content:"󰥈"}.mdi-battery-bluetooth-variant:before{content:"󰥉"}.mdi-battery-charging:before{content:"󰂄"}.mdi-battery-charging-10:before{content:"󰢜"}.mdi-battery-charging-100:before{content:"󰂅"}.mdi-battery-charging-20:before{content:"󰂆"}.mdi-battery-charging-30:before{content:"󰂇"}.mdi-battery-charging-40:before{content:"󰂈"}.mdi-battery-charging-50:before{content:"󰢝"}.mdi-battery-charging-60:before{content:"󰂉"}.mdi-battery-charging-70:before{content:"󰢞"}.mdi-battery-charging-80:before{content:"󰂊"}.mdi-battery-charging-90:before{content:"󰂋"}.mdi-battery-charging-high:before{content:"󱊦"}.mdi-battery-charging-low:before{content:"󱊤"}.mdi-battery-charging-medium:before{content:"󱊥"}.mdi-battery-charging-outline:before{content:"󰢟"}.mdi-battery-charging-wireless:before{content:"󰠇"}.mdi-battery-charging-wireless-10:before{content:"󰠈"}.mdi-battery-charging-wireless-20:before{content:"󰠉"}.mdi-battery-charging-wireless-30:before{content:"󰠊"}.mdi-battery-charging-wireless-40:before{content:"󰠋"}.mdi-battery-charging-wireless-50:before{content:"󰠌"}.mdi-battery-charging-wireless-60:before{content:"󰠍"}.mdi-battery-charging-wireless-70:before{content:"󰠎"}.mdi-battery-charging-wireless-80:before{content:"󰠏"}.mdi-battery-charging-wireless-90:before{content:"󰠐"}.mdi-battery-charging-wireless-alert:before{content:"󰠑"}.mdi-battery-charging-wireless-outline:before{content:"󰠒"}.mdi-battery-check:before{content:"󱟢"}.mdi-battery-check-outline:before{content:"󱟣"}.mdi-battery-clock:before{content:"󱧥"}.mdi-battery-clock-outline:before{content:"󱧦"}.mdi-battery-heart:before{content:"󱈏"}.mdi-battery-heart-outline:before{content:"󱈐"}.mdi-battery-heart-variant:before{content:"󱈑"}.mdi-battery-high:before{content:"󱊣"}.mdi-battery-lock:before{content:"󱞜"}.mdi-battery-lock-open:before{content:"󱞝"}.mdi-battery-low:before{content:"󱊡"}.mdi-battery-medium:before{content:"󱊢"}.mdi-battery-minus:before{content:"󱟤"}.mdi-battery-minus-outline:before{content:"󱟥"}.mdi-battery-minus-variant:before{content:"󰂌"}.mdi-battery-negative:before{content:"󰂍"}.mdi-battery-off:before{content:"󱉝"}.mdi-battery-off-outline:before{content:"󱉞"}.mdi-battery-outline:before{content:"󰂎"}.mdi-battery-plus:before{content:"󱟦"}.mdi-battery-plus-outline:before{content:"󱟧"}.mdi-battery-plus-variant:before{content:"󰂏"}.mdi-battery-positive:before{content:"󰂐"}.mdi-battery-remove:before{content:"󱟨"}.mdi-battery-remove-outline:before{content:"󱟩"}.mdi-battery-sync:before{content:"󱠴"}.mdi-battery-sync-outline:before{content:"󱠵"}.mdi-battery-unknown:before{content:"󰂑"}.mdi-battery-unknown-bluetooth:before{content:"󰥊"}.mdi-beach:before{content:"󰂒"}.mdi-beaker:before{content:"󰳪"}.mdi-beaker-alert:before{content:"󱈩"}.mdi-beaker-alert-outline:before{content:"󱈪"}.mdi-beaker-check:before{content:"󱈫"}.mdi-beaker-check-outline:before{content:"󱈬"}.mdi-beaker-minus:before{content:"󱈭"}.mdi-beaker-minus-outline:before{content:"󱈮"}.mdi-beaker-outline:before{content:"󰚐"}.mdi-beaker-plus:before{content:"󱈯"}.mdi-beaker-plus-outline:before{content:"󱈰"}.mdi-beaker-question:before{content:"󱈱"}.mdi-beaker-question-outline:before{content:"󱈲"}.mdi-beaker-remove:before{content:"󱈳"}.mdi-beaker-remove-outline:before{content:"󱈴"}.mdi-bed:before{content:"󰋣"}.mdi-bed-clock:before{content:"󱮔"}.mdi-bed-double:before{content:"󰿔"}.mdi-bed-double-outline:before{content:"󰿓"}.mdi-bed-empty:before{content:"󰢠"}.mdi-bed-king:before{content:"󰿒"}.mdi-bed-king-outline:before{content:"󰿑"}.mdi-bed-outline:before{content:"󰂙"}.mdi-bed-queen:before{content:"󰿐"}.mdi-bed-queen-outline:before{content:"󰿛"}.mdi-bed-single:before{content:"󱁭"}.mdi-bed-single-outline:before{content:"󱁮"}.mdi-bee:before{content:"󰾡"}.mdi-bee-flower:before{content:"󰾢"}.mdi-beehive-off-outline:before{content:"󱏭"}.mdi-beehive-outline:before{content:"󱃎"}.mdi-beekeeper:before{content:"󱓢"}.mdi-beer:before{content:"󰂘"}.mdi-beer-outline:before{content:"󱌌"}.mdi-bell:before{content:"󰂚"}.mdi-bell-alert:before{content:"󰵙"}.mdi-bell-alert-outline:before{content:"󰺁"}.mdi-bell-badge:before{content:"󱅫"}.mdi-bell-badge-outline:before{content:"󰅸"}.mdi-bell-cancel:before{content:"󱏧"}.mdi-bell-cancel-outline:before{content:"󱏨"}.mdi-bell-check:before{content:"󱇥"}.mdi-bell-check-outline:before{content:"󱇦"}.mdi-bell-circle:before{content:"󰵚"}.mdi-bell-circle-outline:before{content:"󰵛"}.mdi-bell-cog:before{content:"󱨩"}.mdi-bell-cog-outline:before{content:"󱨪"}.mdi-bell-minus:before{content:"󱏩"}.mdi-bell-minus-outline:before{content:"󱏪"}.mdi-bell-off:before{content:"󰂛"}.mdi-bell-off-outline:before{content:"󰪑"}.mdi-bell-outline:before{content:"󰂜"}.mdi-bell-plus:before{content:"󰂝"}.mdi-bell-plus-outline:before{content:"󰪒"}.mdi-bell-remove:before{content:"󱏫"}.mdi-bell-remove-outline:before{content:"󱏬"}.mdi-bell-ring:before{content:"󰂞"}.mdi-bell-ring-outline:before{content:"󰂟"}.mdi-bell-sleep:before{content:"󰂠"}.mdi-bell-sleep-outline:before{content:"󰪓"}.mdi-bench:before{content:"󱰡"}.mdi-bench-back:before{content:"󱰢"}.mdi-beta:before{content:"󰂡"}.mdi-betamax:before{content:"󰧋"}.mdi-biathlon:before{content:"󰸔"}.mdi-bicycle:before{content:"󱂜"}.mdi-bicycle-basket:before{content:"󱈵"}.mdi-bicycle-cargo:before{content:"󱢜"}.mdi-bicycle-electric:before{content:"󱖴"}.mdi-bicycle-penny-farthing:before{content:"󱗩"}.mdi-bike:before{content:"󰂣"}.mdi-bike-fast:before{content:"󱄟"}.mdi-bike-pedal:before{content:"󱰣"}.mdi-bike-pedal-clipless:before{content:"󱰤"}.mdi-bike-pedal-mountain:before{content:"󱰥"}.mdi-billboard:before{content:"󱀐"}.mdi-billiards:before{content:"󰭡"}.mdi-billiards-rack:before{content:"󰭢"}.mdi-binoculars:before{content:"󰂥"}.mdi-bio:before{content:"󰂦"}.mdi-biohazard:before{content:"󰂧"}.mdi-bird:before{content:"󱗆"}.mdi-bitbucket:before{content:"󰂨"}.mdi-bitcoin:before{content:"󰠓"}.mdi-black-mesa:before{content:"󰂩"}.mdi-blender:before{content:"󰳫"}.mdi-blender-outline:before{content:"󱠚"}.mdi-blender-software:before{content:"󰂫"}.mdi-blinds:before{content:"󰂬"}.mdi-blinds-horizontal:before{content:"󱨫"}.mdi-blinds-horizontal-closed:before{content:"󱨬"}.mdi-blinds-open:before{content:"󱀑"}.mdi-blinds-vertical:before{content:"󱨭"}.mdi-blinds-vertical-closed:before{content:"󱨮"}.mdi-block-helper:before{content:"󰂭"}.mdi-blood-bag:before{content:"󰳬"}.mdi-bluetooth:before{content:"󰂯"}.mdi-bluetooth-audio:before{content:"󰂰"}.mdi-bluetooth-connect:before{content:"󰂱"}.mdi-bluetooth-off:before{content:"󰂲"}.mdi-bluetooth-settings:before{content:"󰂳"}.mdi-bluetooth-transfer:before{content:"󰂴"}.mdi-blur:before{content:"󰂵"}.mdi-blur-linear:before{content:"󰂶"}.mdi-blur-off:before{content:"󰂷"}.mdi-blur-radial:before{content:"󰂸"}.mdi-bolt:before{content:"󰶳"}.mdi-bomb:before{content:"󰚑"}.mdi-bomb-off:before{content:"󰛅"}.mdi-bone:before{content:"󰂹"}.mdi-bone-off:before{content:"󱧠"}.mdi-book:before{content:"󰂺"}.mdi-book-account:before{content:"󱎭"}.mdi-book-account-outline:before{content:"󱎮"}.mdi-book-alert:before{content:"󱙼"}.mdi-book-alert-outline:before{content:"󱙽"}.mdi-book-alphabet:before{content:"󰘝"}.mdi-book-arrow-down:before{content:"󱙾"}.mdi-book-arrow-down-outline:before{content:"󱙿"}.mdi-book-arrow-left:before{content:"󱚀"}.mdi-book-arrow-left-outline:before{content:"󱚁"}.mdi-book-arrow-right:before{content:"󱚂"}.mdi-book-arrow-right-outline:before{content:"󱚃"}.mdi-book-arrow-up:before{content:"󱚄"}.mdi-book-arrow-up-outline:before{content:"󱚅"}.mdi-book-cancel:before{content:"󱚆"}.mdi-book-cancel-outline:before{content:"󱚇"}.mdi-book-check:before{content:"󱓳"}.mdi-book-check-outline:before{content:"󱓴"}.mdi-book-clock:before{content:"󱚈"}.mdi-book-clock-outline:before{content:"󱚉"}.mdi-book-cog:before{content:"󱚊"}.mdi-book-cog-outline:before{content:"󱚋"}.mdi-book-cross:before{content:"󰂢"}.mdi-book-edit:before{content:"󱚌"}.mdi-book-edit-outline:before{content:"󱚍"}.mdi-book-education:before{content:"󱛉"}.mdi-book-education-outline:before{content:"󱛊"}.mdi-book-heart:before{content:"󱨝"}.mdi-book-heart-outline:before{content:"󱨞"}.mdi-book-information-variant:before{content:"󱁯"}.mdi-book-lock:before{content:"󰞚"}.mdi-book-lock-open:before{content:"󰞛"}.mdi-book-lock-open-outline:before{content:"󱚎"}.mdi-book-lock-outline:before{content:"󱚏"}.mdi-book-marker:before{content:"󱚐"}.mdi-book-marker-outline:before{content:"󱚑"}.mdi-book-minus:before{content:"󰗙"}.mdi-book-minus-multiple:before{content:"󰪔"}.mdi-book-minus-multiple-outline:before{content:"󰤋"}.mdi-book-minus-outline:before{content:"󱚒"}.mdi-book-multiple:before{content:"󰂻"}.mdi-book-multiple-outline:before{content:"󰐶"}.mdi-book-music:before{content:"󰁧"}.mdi-book-music-outline:before{content:"󱚓"}.mdi-book-off:before{content:"󱚔"}.mdi-book-off-outline:before{content:"󱚕"}.mdi-book-open:before{content:"󰂽"}.mdi-book-open-blank-variant:before{content:"󰂾"}.mdi-book-open-outline:before{content:"󰭣"}.mdi-book-open-page-variant:before{content:"󰗚"}.mdi-book-open-page-variant-outline:before{content:"󱗖"}.mdi-book-open-variant:before{content:"󱓷"}.mdi-book-outline:before{content:"󰭤"}.mdi-book-play:before{content:"󰺂"}.mdi-book-play-outline:before{content:"󰺃"}.mdi-book-plus:before{content:"󰗛"}.mdi-book-plus-multiple:before{content:"󰪕"}.mdi-book-plus-multiple-outline:before{content:"󰫞"}.mdi-book-plus-outline:before{content:"󱚖"}.mdi-book-refresh:before{content:"󱚗"}.mdi-book-refresh-outline:before{content:"󱚘"}.mdi-book-remove:before{content:"󰪗"}.mdi-book-remove-multiple:before{content:"󰪖"}.mdi-book-remove-multiple-outline:before{content:"󰓊"}.mdi-book-remove-outline:before{content:"󱚙"}.mdi-book-search:before{content:"󰺄"}.mdi-book-search-outline:before{content:"󰺅"}.mdi-book-settings:before{content:"󱚚"}.mdi-book-settings-outline:before{content:"󱚛"}.mdi-book-sync:before{content:"󱚜"}.mdi-book-sync-outline:before{content:"󱛈"}.mdi-book-variant:before{content:"󰂿"}.mdi-bookmark:before{content:"󰃀"}.mdi-bookmark-box:before{content:"󱭵"}.mdi-bookmark-box-multiple:before{content:"󱥬"}.mdi-bookmark-box-multiple-outline:before{content:"󱥭"}.mdi-bookmark-box-outline:before{content:"󱭶"}.mdi-bookmark-check:before{content:"󰃁"}.mdi-bookmark-check-outline:before{content:"󱍻"}.mdi-bookmark-minus:before{content:"󰧌"}.mdi-bookmark-minus-outline:before{content:"󰧍"}.mdi-bookmark-multiple:before{content:"󰸕"}.mdi-bookmark-multiple-outline:before{content:"󰸖"}.mdi-bookmark-music:before{content:"󰃂"}.mdi-bookmark-music-outline:before{content:"󱍹"}.mdi-bookmark-off:before{content:"󰧎"}.mdi-bookmark-off-outline:before{content:"󰧏"}.mdi-bookmark-outline:before{content:"󰃃"}.mdi-bookmark-plus:before{content:"󰃅"}.mdi-bookmark-plus-outline:before{content:"󰃄"}.mdi-bookmark-remove:before{content:"󰃆"}.mdi-bookmark-remove-outline:before{content:"󱍺"}.mdi-bookshelf:before{content:"󱉟"}.mdi-boom-gate:before{content:"󰺆"}.mdi-boom-gate-alert:before{content:"󰺇"}.mdi-boom-gate-alert-outline:before{content:"󰺈"}.mdi-boom-gate-arrow-down:before{content:"󰺉"}.mdi-boom-gate-arrow-down-outline:before{content:"󰺊"}.mdi-boom-gate-arrow-up:before{content:"󰺌"}.mdi-boom-gate-arrow-up-outline:before{content:"󰺍"}.mdi-boom-gate-outline:before{content:"󰺋"}.mdi-boom-gate-up:before{content:"󱟹"}.mdi-boom-gate-up-outline:before{content:"󱟺"}.mdi-boombox:before{content:"󰗜"}.mdi-boomerang:before{content:"󱃏"}.mdi-bootstrap:before{content:"󰛆"}.mdi-border-all:before{content:"󰃇"}.mdi-border-all-variant:before{content:"󰢡"}.mdi-border-bottom:before{content:"󰃈"}.mdi-border-bottom-variant:before{content:"󰢢"}.mdi-border-color:before{content:"󰃉"}.mdi-border-horizontal:before{content:"󰃊"}.mdi-border-inside:before{content:"󰃋"}.mdi-border-left:before{content:"󰃌"}.mdi-border-left-variant:before{content:"󰢣"}.mdi-border-none:before{content:"󰃍"}.mdi-border-none-variant:before{content:"󰢤"}.mdi-border-outside:before{content:"󰃎"}.mdi-border-radius:before{content:"󱫴"}.mdi-border-right:before{content:"󰃏"}.mdi-border-right-variant:before{content:"󰢥"}.mdi-border-style:before{content:"󰃐"}.mdi-border-top:before{content:"󰃑"}.mdi-border-top-variant:before{content:"󰢦"}.mdi-border-vertical:before{content:"󰃒"}.mdi-bottle-soda:before{content:"󱁰"}.mdi-bottle-soda-classic:before{content:"󱁱"}.mdi-bottle-soda-classic-outline:before{content:"󱍣"}.mdi-bottle-soda-outline:before{content:"󱁲"}.mdi-bottle-tonic:before{content:"󱄮"}.mdi-bottle-tonic-outline:before{content:"󱄯"}.mdi-bottle-tonic-plus:before{content:"󱄰"}.mdi-bottle-tonic-plus-outline:before{content:"󱄱"}.mdi-bottle-tonic-skull:before{content:"󱄲"}.mdi-bottle-tonic-skull-outline:before{content:"󱄳"}.mdi-bottle-wine:before{content:"󰡔"}.mdi-bottle-wine-outline:before{content:"󱌐"}.mdi-bow-arrow:before{content:"󱡁"}.mdi-bow-tie:before{content:"󰙸"}.mdi-bowl:before{content:"󰊎"}.mdi-bowl-mix:before{content:"󰘗"}.mdi-bowl-mix-outline:before{content:"󰋤"}.mdi-bowl-outline:before{content:"󰊩"}.mdi-bowling:before{content:"󰃓"}.mdi-box:before{content:"󰃔"}.mdi-box-cutter:before{content:"󰃕"}.mdi-box-cutter-off:before{content:"󰭊"}.mdi-box-shadow:before{content:"󰘷"}.mdi-boxing-glove:before{content:"󰭥"}.mdi-braille:before{content:"󰧐"}.mdi-brain:before{content:"󰧑"}.mdi-bread-slice:before{content:"󰳮"}.mdi-bread-slice-outline:before{content:"󰳯"}.mdi-bridge:before{content:"󰘘"}.mdi-briefcase:before{content:"󰃖"}.mdi-briefcase-account:before{content:"󰳰"}.mdi-briefcase-account-outline:before{content:"󰳱"}.mdi-briefcase-arrow-left-right:before{content:"󱪍"}.mdi-briefcase-arrow-left-right-outline:before{content:"󱪎"}.mdi-briefcase-arrow-up-down:before{content:"󱪏"}.mdi-briefcase-arrow-up-down-outline:before{content:"󱪐"}.mdi-briefcase-check:before{content:"󰃗"}.mdi-briefcase-check-outline:before{content:"󱌞"}.mdi-briefcase-clock:before{content:"󱃐"}.mdi-briefcase-clock-outline:before{content:"󱃑"}.mdi-briefcase-download:before{content:"󰃘"}.mdi-briefcase-download-outline:before{content:"󰰽"}.mdi-briefcase-edit:before{content:"󰪘"}.mdi-briefcase-edit-outline:before{content:"󰰾"}.mdi-briefcase-eye:before{content:"󱟙"}.mdi-briefcase-eye-outline:before{content:"󱟚"}.mdi-briefcase-minus:before{content:"󰨪"}.mdi-briefcase-minus-outline:before{content:"󰰿"}.mdi-briefcase-off:before{content:"󱙘"}.mdi-briefcase-off-outline:before{content:"󱙙"}.mdi-briefcase-outline:before{content:"󰠔"}.mdi-briefcase-plus:before{content:"󰨫"}.mdi-briefcase-plus-outline:before{content:"󰱀"}.mdi-briefcase-remove:before{content:"󰨬"}.mdi-briefcase-remove-outline:before{content:"󰱁"}.mdi-briefcase-search:before{content:"󰨭"}.mdi-briefcase-search-outline:before{content:"󰱂"}.mdi-briefcase-upload:before{content:"󰃙"}.mdi-briefcase-upload-outline:before{content:"󰱃"}.mdi-briefcase-variant:before{content:"󱒔"}.mdi-briefcase-variant-off:before{content:"󱙚"}.mdi-briefcase-variant-off-outline:before{content:"󱙛"}.mdi-briefcase-variant-outline:before{content:"󱒕"}.mdi-brightness-1:before{content:"󰃚"}.mdi-brightness-2:before{content:"󰃛"}.mdi-brightness-3:before{content:"󰃜"}.mdi-brightness-4:before{content:"󰃝"}.mdi-brightness-5:before{content:"󰃞"}.mdi-brightness-6:before{content:"󰃟"}.mdi-brightness-7:before{content:"󰃠"}.mdi-brightness-auto:before{content:"󰃡"}.mdi-brightness-percent:before{content:"󰳲"}.mdi-broadcast:before{content:"󱜠"}.mdi-broadcast-off:before{content:"󱜡"}.mdi-broom:before{content:"󰃢"}.mdi-brush:before{content:"󰃣"}.mdi-brush-off:before{content:"󱝱"}.mdi-brush-outline:before{content:"󱨍"}.mdi-brush-variant:before{content:"󱠓"}.mdi-bucket:before{content:"󱐕"}.mdi-bucket-outline:before{content:"󱐖"}.mdi-buffet:before{content:"󰕸"}.mdi-bug:before{content:"󰃤"}.mdi-bug-check:before{content:"󰨮"}.mdi-bug-check-outline:before{content:"󰨯"}.mdi-bug-outline:before{content:"󰨰"}.mdi-bug-pause:before{content:"󱫵"}.mdi-bug-pause-outline:before{content:"󱫶"}.mdi-bug-play:before{content:"󱫷"}.mdi-bug-play-outline:before{content:"󱫸"}.mdi-bug-stop:before{content:"󱫹"}.mdi-bug-stop-outline:before{content:"󱫺"}.mdi-bugle:before{content:"󰶴"}.mdi-bulkhead-light:before{content:"󱨯"}.mdi-bulldozer:before{content:"󰬢"}.mdi-bullet:before{content:"󰳳"}.mdi-bulletin-board:before{content:"󰃥"}.mdi-bullhorn:before{content:"󰃦"}.mdi-bullhorn-outline:before{content:"󰬣"}.mdi-bullhorn-variant:before{content:"󱥮"}.mdi-bullhorn-variant-outline:before{content:"󱥯"}.mdi-bullseye:before{content:"󰗝"}.mdi-bullseye-arrow:before{content:"󰣉"}.mdi-bulma:before{content:"󱋧"}.mdi-bunk-bed:before{content:"󱌂"}.mdi-bunk-bed-outline:before{content:"󰂗"}.mdi-bus:before{content:"󰃧"}.mdi-bus-alert:before{content:"󰪙"}.mdi-bus-articulated-end:before{content:"󰞜"}.mdi-bus-articulated-front:before{content:"󰞝"}.mdi-bus-clock:before{content:"󰣊"}.mdi-bus-double-decker:before{content:"󰞞"}.mdi-bus-electric:before{content:"󱤝"}.mdi-bus-marker:before{content:"󱈒"}.mdi-bus-multiple:before{content:"󰼿"}.mdi-bus-school:before{content:"󰞟"}.mdi-bus-side:before{content:"󰞠"}.mdi-bus-stop:before{content:"󱀒"}.mdi-bus-stop-covered:before{content:"󱀓"}.mdi-bus-stop-uncovered:before{content:"󱀔"}.mdi-butterfly:before{content:"󱖉"}.mdi-butterfly-outline:before{content:"󱖊"}.mdi-button-cursor:before{content:"󱭏"}.mdi-button-pointer:before{content:"󱭐"}.mdi-cabin-a-frame:before{content:"󱢌"}.mdi-cable-data:before{content:"󱎔"}.mdi-cached:before{content:"󰃨"}.mdi-cactus:before{content:"󰶵"}.mdi-cake:before{content:"󰃩"}.mdi-cake-layered:before{content:"󰃪"}.mdi-cake-variant:before{content:"󰃫"}.mdi-cake-variant-outline:before{content:"󱟰"}.mdi-calculator:before{content:"󰃬"}.mdi-calculator-variant:before{content:"󰪚"}.mdi-calculator-variant-outline:before{content:"󱖦"}.mdi-calendar:before{content:"󰃭"}.mdi-calendar-account:before{content:"󰻗"}.mdi-calendar-account-outline:before{content:"󰻘"}.mdi-calendar-alert:before{content:"󰨱"}.mdi-calendar-alert-outline:before{content:"󱭢"}.mdi-calendar-arrow-left:before{content:"󱄴"}.mdi-calendar-arrow-right:before{content:"󱄵"}.mdi-calendar-badge:before{content:"󱮝"}.mdi-calendar-badge-outline:before{content:"󱮞"}.mdi-calendar-blank:before{content:"󰃮"}.mdi-calendar-blank-multiple:before{content:"󱁳"}.mdi-calendar-blank-outline:before{content:"󰭦"}.mdi-calendar-check:before{content:"󰃯"}.mdi-calendar-check-outline:before{content:"󰱄"}.mdi-calendar-clock:before{content:"󰃰"}.mdi-calendar-clock-outline:before{content:"󱛡"}.mdi-calendar-collapse-horizontal:before{content:"󱢝"}.mdi-calendar-collapse-horizontal-outline:before{content:"󱭣"}.mdi-calendar-cursor:before{content:"󱕻"}.mdi-calendar-cursor-outline:before{content:"󱭤"}.mdi-calendar-edit:before{content:"󰢧"}.mdi-calendar-edit-outline:before{content:"󱭥"}.mdi-calendar-end:before{content:"󱙬"}.mdi-calendar-end-outline:before{content:"󱭦"}.mdi-calendar-expand-horizontal:before{content:"󱢞"}.mdi-calendar-expand-horizontal-outline:before{content:"󱭧"}.mdi-calendar-export:before{content:"󰬤"}.mdi-calendar-export-outline:before{content:"󱭨"}.mdi-calendar-filter:before{content:"󱨲"}.mdi-calendar-filter-outline:before{content:"󱨳"}.mdi-calendar-heart:before{content:"󰧒"}.mdi-calendar-heart-outline:before{content:"󱭩"}.mdi-calendar-import:before{content:"󰬥"}.mdi-calendar-import-outline:before{content:"󱭪"}.mdi-calendar-lock:before{content:"󱙁"}.mdi-calendar-lock-open:before{content:"󱭛"}.mdi-calendar-lock-open-outline:before{content:"󱭜"}.mdi-calendar-lock-outline:before{content:"󱙂"}.mdi-calendar-minus:before{content:"󰵜"}.mdi-calendar-minus-outline:before{content:"󱭫"}.mdi-calendar-month:before{content:"󰸗"}.mdi-calendar-month-outline:before{content:"󰸘"}.mdi-calendar-multiple:before{content:"󰃱"}.mdi-calendar-multiple-check:before{content:"󰃲"}.mdi-calendar-multiselect:before{content:"󰨲"}.mdi-calendar-multiselect-outline:before{content:"󱭕"}.mdi-calendar-outline:before{content:"󰭧"}.mdi-calendar-plus:before{content:"󰃳"}.mdi-calendar-plus-outline:before{content:"󱭬"}.mdi-calendar-question:before{content:"󰚒"}.mdi-calendar-question-outline:before{content:"󱭭"}.mdi-calendar-range:before{content:"󰙹"}.mdi-calendar-range-outline:before{content:"󰭨"}.mdi-calendar-refresh:before{content:"󰇡"}.mdi-calendar-refresh-outline:before{content:"󰈃"}.mdi-calendar-remove:before{content:"󰃴"}.mdi-calendar-remove-outline:before{content:"󰱅"}.mdi-calendar-search:before{content:"󰥌"}.mdi-calendar-search-outline:before{content:"󱭮"}.mdi-calendar-star:before{content:"󰧓"}.mdi-calendar-star-four-points:before{content:"󱰟"}.mdi-calendar-star-outline:before{content:"󱭓"}.mdi-calendar-start:before{content:"󱙭"}.mdi-calendar-start-outline:before{content:"󱭯"}.mdi-calendar-sync:before{content:"󰺎"}.mdi-calendar-sync-outline:before{content:"󰺏"}.mdi-calendar-text:before{content:"󰃵"}.mdi-calendar-text-outline:before{content:"󰱆"}.mdi-calendar-today:before{content:"󰃶"}.mdi-calendar-today-outline:before{content:"󱨰"}.mdi-calendar-week:before{content:"󰨳"}.mdi-calendar-week-begin:before{content:"󰨴"}.mdi-calendar-week-begin-outline:before{content:"󱨱"}.mdi-calendar-week-outline:before{content:"󱨴"}.mdi-calendar-weekend:before{content:"󰻙"}.mdi-calendar-weekend-outline:before{content:"󰻚"}.mdi-call-made:before{content:"󰃷"}.mdi-call-merge:before{content:"󰃸"}.mdi-call-missed:before{content:"󰃹"}.mdi-call-received:before{content:"󰃺"}.mdi-call-split:before{content:"󰃻"}.mdi-camcorder:before{content:"󰃼"}.mdi-camcorder-off:before{content:"󰃿"}.mdi-camera:before{content:"󰄀"}.mdi-camera-account:before{content:"󰣋"}.mdi-camera-burst:before{content:"󰚓"}.mdi-camera-control:before{content:"󰭩"}.mdi-camera-document:before{content:"󱡱"}.mdi-camera-document-off:before{content:"󱡲"}.mdi-camera-enhance:before{content:"󰄁"}.mdi-camera-enhance-outline:before{content:"󰭪"}.mdi-camera-flip:before{content:"󱗙"}.mdi-camera-flip-outline:before{content:"󱗚"}.mdi-camera-front:before{content:"󰄂"}.mdi-camera-front-variant:before{content:"󰄃"}.mdi-camera-gopro:before{content:"󰞡"}.mdi-camera-image:before{content:"󰣌"}.mdi-camera-iris:before{content:"󰄄"}.mdi-camera-lock:before{content:"󱨔"}.mdi-camera-lock-open:before{content:"󱰍"}.mdi-camera-lock-open-outline:before{content:"󱰎"}.mdi-camera-lock-outline:before{content:"󱨕"}.mdi-camera-marker:before{content:"󱦧"}.mdi-camera-marker-outline:before{content:"󱦨"}.mdi-camera-metering-center:before{content:"󰞢"}.mdi-camera-metering-matrix:before{content:"󰞣"}.mdi-camera-metering-partial:before{content:"󰞤"}.mdi-camera-metering-spot:before{content:"󰞥"}.mdi-camera-off:before{content:"󰗟"}.mdi-camera-off-outline:before{content:"󱦿"}.mdi-camera-outline:before{content:"󰵝"}.mdi-camera-party-mode:before{content:"󰄅"}.mdi-camera-plus:before{content:"󰻛"}.mdi-camera-plus-outline:before{content:"󰻜"}.mdi-camera-rear:before{content:"󰄆"}.mdi-camera-rear-variant:before{content:"󰄇"}.mdi-camera-retake:before{content:"󰸙"}.mdi-camera-retake-outline:before{content:"󰸚"}.mdi-camera-switch:before{content:"󰄈"}.mdi-camera-switch-outline:before{content:"󰡊"}.mdi-camera-timer:before{content:"󰄉"}.mdi-camera-wireless:before{content:"󰶶"}.mdi-camera-wireless-outline:before{content:"󰶷"}.mdi-campfire:before{content:"󰻝"}.mdi-cancel:before{content:"󰜺"}.mdi-candelabra:before{content:"󱟒"}.mdi-candelabra-fire:before{content:"󱟓"}.mdi-candle:before{content:"󰗢"}.mdi-candy:before{content:"󱥰"}.mdi-candy-off:before{content:"󱥱"}.mdi-candy-off-outline:before{content:"󱥲"}.mdi-candy-outline:before{content:"󱥳"}.mdi-candycane:before{content:"󰄊"}.mdi-cannabis:before{content:"󰞦"}.mdi-cannabis-off:before{content:"󱙮"}.mdi-caps-lock:before{content:"󰪛"}.mdi-car:before{content:"󰄋"}.mdi-car-2-plus:before{content:"󱀕"}.mdi-car-3-plus:before{content:"󱀖"}.mdi-car-arrow-left:before{content:"󱎲"}.mdi-car-arrow-right:before{content:"󱎳"}.mdi-car-back:before{content:"󰸛"}.mdi-car-battery:before{content:"󰄌"}.mdi-car-brake-abs:before{content:"󰱇"}.mdi-car-brake-alert:before{content:"󰱈"}.mdi-car-brake-fluid-level:before{content:"󱤉"}.mdi-car-brake-hold:before{content:"󰵞"}.mdi-car-brake-low-pressure:before{content:"󱤊"}.mdi-car-brake-parking:before{content:"󰵟"}.mdi-car-brake-retarder:before{content:"󱀗"}.mdi-car-brake-temperature:before{content:"󱤋"}.mdi-car-brake-worn-linings:before{content:"󱤌"}.mdi-car-child-seat:before{content:"󰾣"}.mdi-car-clock:before{content:"󱥴"}.mdi-car-clutch:before{content:"󱀘"}.mdi-car-cog:before{content:"󱏌"}.mdi-car-connected:before{content:"󰄍"}.mdi-car-convertible:before{content:"󰞧"}.mdi-car-coolant-level:before{content:"󱀙"}.mdi-car-cruise-control:before{content:"󰵠"}.mdi-car-defrost-front:before{content:"󰵡"}.mdi-car-defrost-rear:before{content:"󰵢"}.mdi-car-door:before{content:"󰭫"}.mdi-car-door-lock:before{content:"󱂝"}.mdi-car-electric:before{content:"󰭬"}.mdi-car-electric-outline:before{content:"󱖵"}.mdi-car-emergency:before{content:"󱘏"}.mdi-car-esp:before{content:"󰱉"}.mdi-car-estate:before{content:"󰞨"}.mdi-car-hatchback:before{content:"󰞩"}.mdi-car-info:before{content:"󱆾"}.mdi-car-key:before{content:"󰭭"}.mdi-car-lifted-pickup:before{content:"󱔭"}.mdi-car-light-alert:before{content:"󱤍"}.mdi-car-light-dimmed:before{content:"󰱊"}.mdi-car-light-fog:before{content:"󰱋"}.mdi-car-light-high:before{content:"󰱌"}.mdi-car-limousine:before{content:"󰣍"}.mdi-car-multiple:before{content:"󰭮"}.mdi-car-off:before{content:"󰸜"}.mdi-car-outline:before{content:"󱓭"}.mdi-car-parking-lights:before{content:"󰵣"}.mdi-car-pickup:before{content:"󰞪"}.mdi-car-search:before{content:"󱮍"}.mdi-car-search-outline:before{content:"󱮎"}.mdi-car-seat:before{content:"󰾤"}.mdi-car-seat-cooler:before{content:"󰾥"}.mdi-car-seat-heater:before{content:"󰾦"}.mdi-car-select:before{content:"󱡹"}.mdi-car-settings:before{content:"󱏍"}.mdi-car-shift-pattern:before{content:"󰽀"}.mdi-car-side:before{content:"󰞫"}.mdi-car-speed-limiter:before{content:"󱤎"}.mdi-car-sports:before{content:"󰞬"}.mdi-car-tire-alert:before{content:"󰱍"}.mdi-car-traction-control:before{content:"󰵤"}.mdi-car-turbocharger:before{content:"󱀚"}.mdi-car-wash:before{content:"󰄎"}.mdi-car-windshield:before{content:"󱀛"}.mdi-car-windshield-outline:before{content:"󱀜"}.mdi-car-wireless:before{content:"󱡸"}.mdi-car-wrench:before{content:"󱠔"}.mdi-carabiner:before{content:"󱓀"}.mdi-caravan:before{content:"󰞭"}.mdi-card:before{content:"󰭯"}.mdi-card-account-details:before{content:"󰗒"}.mdi-card-account-details-outline:before{content:"󰶫"}.mdi-card-account-details-star:before{content:"󰊣"}.mdi-card-account-details-star-outline:before{content:"󰛛"}.mdi-card-account-mail:before{content:"󰆎"}.mdi-card-account-mail-outline:before{content:"󰺘"}.mdi-card-account-phone:before{content:"󰺙"}.mdi-card-account-phone-outline:before{content:"󰺚"}.mdi-card-bulleted:before{content:"󰭰"}.mdi-card-bulleted-off:before{content:"󰭱"}.mdi-card-bulleted-off-outline:before{content:"󰭲"}.mdi-card-bulleted-outline:before{content:"󰭳"}.mdi-card-bulleted-settings:before{content:"󰭴"}.mdi-card-bulleted-settings-outline:before{content:"󰭵"}.mdi-card-minus:before{content:"󱘀"}.mdi-card-minus-outline:before{content:"󱘁"}.mdi-card-multiple:before{content:"󱟱"}.mdi-card-multiple-outline:before{content:"󱟲"}.mdi-card-off:before{content:"󱘂"}.mdi-card-off-outline:before{content:"󱘃"}.mdi-card-outline:before{content:"󰭶"}.mdi-card-plus:before{content:"󱇿"}.mdi-card-plus-outline:before{content:"󱈀"}.mdi-card-remove:before{content:"󱘄"}.mdi-card-remove-outline:before{content:"󱘅"}.mdi-card-search:before{content:"󱁴"}.mdi-card-search-outline:before{content:"󱁵"}.mdi-card-text:before{content:"󰭷"}.mdi-card-text-outline:before{content:"󰭸"}.mdi-cards:before{content:"󰘸"}.mdi-cards-club:before{content:"󰣎"}.mdi-cards-club-outline:before{content:"󱢟"}.mdi-cards-diamond:before{content:"󰣏"}.mdi-cards-diamond-outline:before{content:"󱀝"}.mdi-cards-heart:before{content:"󰣐"}.mdi-cards-heart-outline:before{content:"󱢠"}.mdi-cards-outline:before{content:"󰘹"}.mdi-cards-playing:before{content:"󱢡"}.mdi-cards-playing-club:before{content:"󱢢"}.mdi-cards-playing-club-multiple:before{content:"󱢣"}.mdi-cards-playing-club-multiple-outline:before{content:"󱢤"}.mdi-cards-playing-club-outline:before{content:"󱢥"}.mdi-cards-playing-diamond:before{content:"󱢦"}.mdi-cards-playing-diamond-multiple:before{content:"󱢧"}.mdi-cards-playing-diamond-multiple-outline:before{content:"󱢨"}.mdi-cards-playing-diamond-outline:before{content:"󱢩"}.mdi-cards-playing-heart:before{content:"󱢪"}.mdi-cards-playing-heart-multiple:before{content:"󱢫"}.mdi-cards-playing-heart-multiple-outline:before{content:"󱢬"}.mdi-cards-playing-heart-outline:before{content:"󱢭"}.mdi-cards-playing-outline:before{content:"󰘺"}.mdi-cards-playing-spade:before{content:"󱢮"}.mdi-cards-playing-spade-multiple:before{content:"󱢯"}.mdi-cards-playing-spade-multiple-outline:before{content:"󱢰"}.mdi-cards-playing-spade-outline:before{content:"󱢱"}.mdi-cards-spade:before{content:"󰣑"}.mdi-cards-spade-outline:before{content:"󱢲"}.mdi-cards-variant:before{content:"󰛇"}.mdi-carrot:before{content:"󰄏"}.mdi-cart:before{content:"󰄐"}.mdi-cart-arrow-down:before{content:"󰵦"}.mdi-cart-arrow-right:before{content:"󰱎"}.mdi-cart-arrow-up:before{content:"󰵧"}.mdi-cart-check:before{content:"󱗪"}.mdi-cart-heart:before{content:"󱣠"}.mdi-cart-minus:before{content:"󰵨"}.mdi-cart-off:before{content:"󰙫"}.mdi-cart-outline:before{content:"󰄑"}.mdi-cart-percent:before{content:"󱮮"}.mdi-cart-plus:before{content:"󰄒"}.mdi-cart-remove:before{content:"󰵩"}.mdi-cart-variant:before{content:"󱗫"}.mdi-case-sensitive-alt:before{content:"󰄓"}.mdi-cash:before{content:"󰄔"}.mdi-cash-100:before{content:"󰄕"}.mdi-cash-check:before{content:"󱓮"}.mdi-cash-clock:before{content:"󱪑"}.mdi-cash-fast:before{content:"󱡜"}.mdi-cash-lock:before{content:"󱓪"}.mdi-cash-lock-open:before{content:"󱓫"}.mdi-cash-marker:before{content:"󰶸"}.mdi-cash-minus:before{content:"󱉠"}.mdi-cash-multiple:before{content:"󰄖"}.mdi-cash-off:before{content:"󱱹"}.mdi-cash-plus:before{content:"󱉡"}.mdi-cash-refund:before{content:"󰪜"}.mdi-cash-register:before{content:"󰳴"}.mdi-cash-remove:before{content:"󱉢"}.mdi-cash-sync:before{content:"󱪒"}.mdi-cassette:before{content:"󰧔"}.mdi-cast:before{content:"󰄘"}.mdi-cast-audio:before{content:"󱀞"}.mdi-cast-audio-variant:before{content:"󱝉"}.mdi-cast-connected:before{content:"󰄙"}.mdi-cast-education:before{content:"󰸝"}.mdi-cast-off:before{content:"󰞊"}.mdi-cast-variant:before{content:"󰀟"}.mdi-castle:before{content:"󰄚"}.mdi-cat:before{content:"󰄛"}.mdi-cctv:before{content:"󰞮"}.mdi-cctv-off:before{content:"󱡟"}.mdi-ceiling-fan:before{content:"󱞗"}.mdi-ceiling-fan-light:before{content:"󱞘"}.mdi-ceiling-light:before{content:"󰝩"}.mdi-ceiling-light-multiple:before{content:"󱣝"}.mdi-ceiling-light-multiple-outline:before{content:"󱣞"}.mdi-ceiling-light-outline:before{content:"󱟇"}.mdi-cellphone:before{content:"󰄜"}.mdi-cellphone-arrow-down:before{content:"󰧕"}.mdi-cellphone-arrow-down-variant:before{content:"󱧅"}.mdi-cellphone-basic:before{content:"󰄞"}.mdi-cellphone-charging:before{content:"󱎗"}.mdi-cellphone-check:before{content:"󱟽"}.mdi-cellphone-cog:before{content:"󰥑"}.mdi-cellphone-dock:before{content:"󰄟"}.mdi-cellphone-information:before{content:"󰽁"}.mdi-cellphone-key:before{content:"󰥎"}.mdi-cellphone-link:before{content:"󰄡"}.mdi-cellphone-link-off:before{content:"󰄢"}.mdi-cellphone-lock:before{content:"󰥏"}.mdi-cellphone-marker:before{content:"󱠺"}.mdi-cellphone-message:before{content:"󰣓"}.mdi-cellphone-message-off:before{content:"󱃒"}.mdi-cellphone-nfc:before{content:"󰺐"}.mdi-cellphone-nfc-off:before{content:"󱋘"}.mdi-cellphone-off:before{content:"󰥐"}.mdi-cellphone-play:before{content:"󱀟"}.mdi-cellphone-remove:before{content:"󰥍"}.mdi-cellphone-screenshot:before{content:"󰨵"}.mdi-cellphone-settings:before{content:"󰄣"}.mdi-cellphone-sound:before{content:"󰥒"}.mdi-cellphone-text:before{content:"󰣒"}.mdi-cellphone-wireless:before{content:"󰠕"}.mdi-centos:before{content:"󱄚"}.mdi-certificate:before{content:"󰄤"}.mdi-certificate-outline:before{content:"󱆈"}.mdi-chair-rolling:before{content:"󰽈"}.mdi-chair-school:before{content:"󰄥"}.mdi-chandelier:before{content:"󱞓"}.mdi-charity:before{content:"󰱏"}.mdi-chart-arc:before{content:"󰄦"}.mdi-chart-areaspline:before{content:"󰄧"}.mdi-chart-areaspline-variant:before{content:"󰺑"}.mdi-chart-bar:before{content:"󰄨"}.mdi-chart-bar-stacked:before{content:"󰝪"}.mdi-chart-bell-curve:before{content:"󰱐"}.mdi-chart-bell-curve-cumulative:before{content:"󰾧"}.mdi-chart-box:before{content:"󱕍"}.mdi-chart-box-outline:before{content:"󱕎"}.mdi-chart-box-plus-outline:before{content:"󱕏"}.mdi-chart-bubble:before{content:"󰗣"}.mdi-chart-donut:before{content:"󰞯"}.mdi-chart-donut-variant:before{content:"󰞰"}.mdi-chart-gantt:before{content:"󰙬"}.mdi-chart-histogram:before{content:"󰄩"}.mdi-chart-line:before{content:"󰄪"}.mdi-chart-line-stacked:before{content:"󰝫"}.mdi-chart-line-variant:before{content:"󰞱"}.mdi-chart-multiline:before{content:"󰣔"}.mdi-chart-multiple:before{content:"󱈓"}.mdi-chart-pie:before{content:"󰄫"}.mdi-chart-pie-outline:before{content:"󱯟"}.mdi-chart-ppf:before{content:"󱎀"}.mdi-chart-sankey:before{content:"󱇟"}.mdi-chart-sankey-variant:before{content:"󱇠"}.mdi-chart-scatter-plot:before{content:"󰺒"}.mdi-chart-scatter-plot-hexbin:before{content:"󰙭"}.mdi-chart-timeline:before{content:"󰙮"}.mdi-chart-timeline-variant:before{content:"󰺓"}.mdi-chart-timeline-variant-shimmer:before{content:"󱖶"}.mdi-chart-tree:before{content:"󰺔"}.mdi-chart-waterfall:before{content:"󱤘"}.mdi-chat:before{content:"󰭹"}.mdi-chat-alert:before{content:"󰭺"}.mdi-chat-alert-outline:before{content:"󱋉"}.mdi-chat-minus:before{content:"󱐐"}.mdi-chat-minus-outline:before{content:"󱐓"}.mdi-chat-outline:before{content:"󰻞"}.mdi-chat-plus:before{content:"󱐏"}.mdi-chat-plus-outline:before{content:"󱐒"}.mdi-chat-processing:before{content:"󰭻"}.mdi-chat-processing-outline:before{content:"󱋊"}.mdi-chat-question:before{content:"󱜸"}.mdi-chat-question-outline:before{content:"󱜹"}.mdi-chat-remove:before{content:"󱐑"}.mdi-chat-remove-outline:before{content:"󱐔"}.mdi-chat-sleep:before{content:"󱋑"}.mdi-chat-sleep-outline:before{content:"󱋒"}.mdi-check:before{content:"󰄬"}.mdi-check-all:before{content:"󰄭"}.mdi-check-bold:before{content:"󰸞"}.mdi-check-circle:before{content:"󰗠"}.mdi-check-circle-outline:before{content:"󰗡"}.mdi-check-decagram:before{content:"󰞑"}.mdi-check-decagram-outline:before{content:"󱝀"}.mdi-check-network:before{content:"󰱓"}.mdi-check-network-outline:before{content:"󰱔"}.mdi-check-outline:before{content:"󰡕"}.mdi-check-underline:before{content:"󰸟"}.mdi-check-underline-circle:before{content:"󰸠"}.mdi-check-underline-circle-outline:before{content:"󰸡"}.mdi-checkbook:before{content:"󰪝"}.mdi-checkbook-arrow-left:before{content:"󱰝"}.mdi-checkbook-arrow-right:before{content:"󱰞"}.mdi-checkbox-blank:before{content:"󰄮"}.mdi-checkbox-blank-badge:before{content:"󱅶"}.mdi-checkbox-blank-badge-outline:before{content:"󰄗"}.mdi-checkbox-blank-circle:before{content:"󰄯"}.mdi-checkbox-blank-circle-outline:before{content:"󰄰"}.mdi-checkbox-blank-off:before{content:"󱋬"}.mdi-checkbox-blank-off-outline:before{content:"󱋭"}.mdi-checkbox-blank-outline:before{content:"󰄱"}.mdi-checkbox-intermediate:before{content:"󰡖"}.mdi-checkbox-intermediate-variant:before{content:"󱭔"}.mdi-checkbox-marked:before{content:"󰄲"}.mdi-checkbox-marked-circle:before{content:"󰄳"}.mdi-checkbox-marked-circle-auto-outline:before{content:"󱰦"}.mdi-checkbox-marked-circle-minus-outline:before{content:"󱰧"}.mdi-checkbox-marked-circle-outline:before{content:"󰄴"}.mdi-checkbox-marked-circle-plus-outline:before{content:"󱤧"}.mdi-checkbox-marked-outline:before{content:"󰄵"}.mdi-checkbox-multiple-blank:before{content:"󰄶"}.mdi-checkbox-multiple-blank-circle:before{content:"󰘻"}.mdi-checkbox-multiple-blank-circle-outline:before{content:"󰘼"}.mdi-checkbox-multiple-blank-outline:before{content:"󰄷"}.mdi-checkbox-multiple-marked:before{content:"󰄸"}.mdi-checkbox-multiple-marked-circle:before{content:"󰘽"}.mdi-checkbox-multiple-marked-circle-outline:before{content:"󰘾"}.mdi-checkbox-multiple-marked-outline:before{content:"󰄹"}.mdi-checkbox-multiple-outline:before{content:"󰱑"}.mdi-checkbox-outline:before{content:"󰱒"}.mdi-checkerboard:before{content:"󰄺"}.mdi-checkerboard-minus:before{content:"󱈂"}.mdi-checkerboard-plus:before{content:"󱈁"}.mdi-checkerboard-remove:before{content:"󱈃"}.mdi-cheese:before{content:"󱊹"}.mdi-cheese-off:before{content:"󱏮"}.mdi-chef-hat:before{content:"󰭼"}.mdi-chemical-weapon:before{content:"󰄻"}.mdi-chess-bishop:before{content:"󰡜"}.mdi-chess-king:before{content:"󰡗"}.mdi-chess-knight:before{content:"󰡘"}.mdi-chess-pawn:before{content:"󰡙"}.mdi-chess-queen:before{content:"󰡚"}.mdi-chess-rook:before{content:"󰡛"}.mdi-chevron-double-down:before{content:"󰄼"}.mdi-chevron-double-left:before{content:"󰄽"}.mdi-chevron-double-right:before{content:"󰄾"}.mdi-chevron-double-up:before{content:"󰄿"}.mdi-chevron-down:before{content:"󰅀"}.mdi-chevron-down-box:before{content:"󰧖"}.mdi-chevron-down-box-outline:before{content:"󰧗"}.mdi-chevron-down-circle:before{content:"󰬦"}.mdi-chevron-down-circle-outline:before{content:"󰬧"}.mdi-chevron-left:before{content:"󰅁"}.mdi-chevron-left-box:before{content:"󰧘"}.mdi-chevron-left-box-outline:before{content:"󰧙"}.mdi-chevron-left-circle:before{content:"󰬨"}.mdi-chevron-left-circle-outline:before{content:"󰬩"}.mdi-chevron-right:before{content:"󰅂"}.mdi-chevron-right-box:before{content:"󰧚"}.mdi-chevron-right-box-outline:before{content:"󰧛"}.mdi-chevron-right-circle:before{content:"󰬪"}.mdi-chevron-right-circle-outline:before{content:"󰬫"}.mdi-chevron-triple-down:before{content:"󰶹"}.mdi-chevron-triple-left:before{content:"󰶺"}.mdi-chevron-triple-right:before{content:"󰶻"}.mdi-chevron-triple-up:before{content:"󰶼"}.mdi-chevron-up:before{content:"󰅃"}.mdi-chevron-up-box:before{content:"󰧜"}.mdi-chevron-up-box-outline:before{content:"󰧝"}.mdi-chevron-up-circle:before{content:"󰬬"}.mdi-chevron-up-circle-outline:before{content:"󰬭"}.mdi-chili-alert:before{content:"󱟪"}.mdi-chili-alert-outline:before{content:"󱟫"}.mdi-chili-hot:before{content:"󰞲"}.mdi-chili-hot-outline:before{content:"󱟬"}.mdi-chili-medium:before{content:"󰞳"}.mdi-chili-medium-outline:before{content:"󱟭"}.mdi-chili-mild:before{content:"󰞴"}.mdi-chili-mild-outline:before{content:"󱟮"}.mdi-chili-off:before{content:"󱑧"}.mdi-chili-off-outline:before{content:"󱟯"}.mdi-chip:before{content:"󰘚"}.mdi-church:before{content:"󰅄"}.mdi-church-outline:before{content:"󱬂"}.mdi-cigar:before{content:"󱆉"}.mdi-cigar-off:before{content:"󱐛"}.mdi-circle:before{content:"󰝥"}.mdi-circle-box:before{content:"󱗜"}.mdi-circle-box-outline:before{content:"󱗝"}.mdi-circle-double:before{content:"󰺕"}.mdi-circle-edit-outline:before{content:"󰣕"}.mdi-circle-expand:before{content:"󰺖"}.mdi-circle-half:before{content:"󱎕"}.mdi-circle-half-full:before{content:"󱎖"}.mdi-circle-medium:before{content:"󰧞"}.mdi-circle-multiple:before{content:"󰬸"}.mdi-circle-multiple-outline:before{content:"󰚕"}.mdi-circle-off-outline:before{content:"󱃓"}.mdi-circle-opacity:before{content:"󱡓"}.mdi-circle-outline:before{content:"󰝦"}.mdi-circle-slice-1:before{content:"󰪞"}.mdi-circle-slice-2:before{content:"󰪟"}.mdi-circle-slice-3:before{content:"󰪠"}.mdi-circle-slice-4:before{content:"󰪡"}.mdi-circle-slice-5:before{content:"󰪢"}.mdi-circle-slice-6:before{content:"󰪣"}.mdi-circle-slice-7:before{content:"󰪤"}.mdi-circle-slice-8:before{content:"󰪥"}.mdi-circle-small:before{content:"󰧟"}.mdi-circular-saw:before{content:"󰸢"}.mdi-city:before{content:"󰅆"}.mdi-city-switch:before{content:"󱰨"}.mdi-city-variant:before{content:"󰨶"}.mdi-city-variant-outline:before{content:"󰨷"}.mdi-clipboard:before{content:"󰅇"}.mdi-clipboard-account:before{content:"󰅈"}.mdi-clipboard-account-outline:before{content:"󰱕"}.mdi-clipboard-alert:before{content:"󰅉"}.mdi-clipboard-alert-outline:before{content:"󰳷"}.mdi-clipboard-arrow-down:before{content:"󰅊"}.mdi-clipboard-arrow-down-outline:before{content:"󰱖"}.mdi-clipboard-arrow-left:before{content:"󰅋"}.mdi-clipboard-arrow-left-outline:before{content:"󰳸"}.mdi-clipboard-arrow-right:before{content:"󰳹"}.mdi-clipboard-arrow-right-outline:before{content:"󰳺"}.mdi-clipboard-arrow-up:before{content:"󰱗"}.mdi-clipboard-arrow-up-outline:before{content:"󰱘"}.mdi-clipboard-check:before{content:"󰅎"}.mdi-clipboard-check-multiple:before{content:"󱉣"}.mdi-clipboard-check-multiple-outline:before{content:"󱉤"}.mdi-clipboard-check-outline:before{content:"󰢨"}.mdi-clipboard-clock:before{content:"󱛢"}.mdi-clipboard-clock-outline:before{content:"󱛣"}.mdi-clipboard-edit:before{content:"󱓥"}.mdi-clipboard-edit-outline:before{content:"󱓦"}.mdi-clipboard-file:before{content:"󱉥"}.mdi-clipboard-file-outline:before{content:"󱉦"}.mdi-clipboard-flow:before{content:"󰛈"}.mdi-clipboard-flow-outline:before{content:"󱄗"}.mdi-clipboard-list:before{content:"󱃔"}.mdi-clipboard-list-outline:before{content:"󱃕"}.mdi-clipboard-minus:before{content:"󱘘"}.mdi-clipboard-minus-outline:before{content:"󱘙"}.mdi-clipboard-multiple:before{content:"󱉧"}.mdi-clipboard-multiple-outline:before{content:"󱉨"}.mdi-clipboard-off:before{content:"󱘚"}.mdi-clipboard-off-outline:before{content:"󱘛"}.mdi-clipboard-outline:before{content:"󰅌"}.mdi-clipboard-play:before{content:"󰱙"}.mdi-clipboard-play-multiple:before{content:"󱉩"}.mdi-clipboard-play-multiple-outline:before{content:"󱉪"}.mdi-clipboard-play-outline:before{content:"󰱚"}.mdi-clipboard-plus:before{content:"󰝑"}.mdi-clipboard-plus-outline:before{content:"󱌟"}.mdi-clipboard-pulse:before{content:"󰡝"}.mdi-clipboard-pulse-outline:before{content:"󰡞"}.mdi-clipboard-remove:before{content:"󱘜"}.mdi-clipboard-remove-outline:before{content:"󱘝"}.mdi-clipboard-search:before{content:"󱘞"}.mdi-clipboard-search-outline:before{content:"󱘟"}.mdi-clipboard-text:before{content:"󰅍"}.mdi-clipboard-text-clock:before{content:"󱣹"}.mdi-clipboard-text-clock-outline:before{content:"󱣺"}.mdi-clipboard-text-multiple:before{content:"󱉫"}.mdi-clipboard-text-multiple-outline:before{content:"󱉬"}.mdi-clipboard-text-off:before{content:"󱘠"}.mdi-clipboard-text-off-outline:before{content:"󱘡"}.mdi-clipboard-text-outline:before{content:"󰨸"}.mdi-clipboard-text-play:before{content:"󰱛"}.mdi-clipboard-text-play-outline:before{content:"󰱜"}.mdi-clipboard-text-search:before{content:"󱘢"}.mdi-clipboard-text-search-outline:before{content:"󱘣"}.mdi-clippy:before{content:"󰅏"}.mdi-clock:before{content:"󰥔"}.mdi-clock-alert:before{content:"󰥕"}.mdi-clock-alert-outline:before{content:"󰗎"}.mdi-clock-check:before{content:"󰾨"}.mdi-clock-check-outline:before{content:"󰾩"}.mdi-clock-digital:before{content:"󰺗"}.mdi-clock-edit:before{content:"󱦺"}.mdi-clock-edit-outline:before{content:"󱦻"}.mdi-clock-end:before{content:"󰅑"}.mdi-clock-fast:before{content:"󰅒"}.mdi-clock-in:before{content:"󰅓"}.mdi-clock-minus:before{content:"󱡣"}.mdi-clock-minus-outline:before{content:"󱡤"}.mdi-clock-out:before{content:"󰅔"}.mdi-clock-outline:before{content:"󰅐"}.mdi-clock-plus:before{content:"󱡡"}.mdi-clock-plus-outline:before{content:"󱡢"}.mdi-clock-remove:before{content:"󱡥"}.mdi-clock-remove-outline:before{content:"󱡦"}.mdi-clock-star-four-points:before{content:"󱰩"}.mdi-clock-star-four-points-outline:before{content:"󱰪"}.mdi-clock-start:before{content:"󰅕"}.mdi-clock-time-eight:before{content:"󱑆"}.mdi-clock-time-eight-outline:before{content:"󱑒"}.mdi-clock-time-eleven:before{content:"󱑉"}.mdi-clock-time-eleven-outline:before{content:"󱑕"}.mdi-clock-time-five:before{content:"󱑃"}.mdi-clock-time-five-outline:before{content:"󱑏"}.mdi-clock-time-four:before{content:"󱑂"}.mdi-clock-time-four-outline:before{content:"󱑎"}.mdi-clock-time-nine:before{content:"󱑇"}.mdi-clock-time-nine-outline:before{content:"󱑓"}.mdi-clock-time-one:before{content:"󱐿"}.mdi-clock-time-one-outline:before{content:"󱑋"}.mdi-clock-time-seven:before{content:"󱑅"}.mdi-clock-time-seven-outline:before{content:"󱑑"}.mdi-clock-time-six:before{content:"󱑄"}.mdi-clock-time-six-outline:before{content:"󱑐"}.mdi-clock-time-ten:before{content:"󱑈"}.mdi-clock-time-ten-outline:before{content:"󱑔"}.mdi-clock-time-three:before{content:"󱑁"}.mdi-clock-time-three-outline:before{content:"󱑍"}.mdi-clock-time-twelve:before{content:"󱑊"}.mdi-clock-time-twelve-outline:before{content:"󱑖"}.mdi-clock-time-two:before{content:"󱑀"}.mdi-clock-time-two-outline:before{content:"󱑌"}.mdi-close:before{content:"󰅖"}.mdi-close-box:before{content:"󰅗"}.mdi-close-box-multiple:before{content:"󰱝"}.mdi-close-box-multiple-outline:before{content:"󰱞"}.mdi-close-box-outline:before{content:"󰅘"}.mdi-close-circle:before{content:"󰅙"}.mdi-close-circle-multiple:before{content:"󰘪"}.mdi-close-circle-multiple-outline:before{content:"󰢃"}.mdi-close-circle-outline:before{content:"󰅚"}.mdi-close-network:before{content:"󰅛"}.mdi-close-network-outline:before{content:"󰱟"}.mdi-close-octagon:before{content:"󰅜"}.mdi-close-octagon-outline:before{content:"󰅝"}.mdi-close-outline:before{content:"󰛉"}.mdi-close-thick:before{content:"󱎘"}.mdi-closed-caption:before{content:"󰅞"}.mdi-closed-caption-outline:before{content:"󰶽"}.mdi-cloud:before{content:"󰅟"}.mdi-cloud-alert:before{content:"󰧠"}.mdi-cloud-alert-outline:before{content:"󱯠"}.mdi-cloud-arrow-down:before{content:"󱯡"}.mdi-cloud-arrow-down-outline:before{content:"󱯢"}.mdi-cloud-arrow-left:before{content:"󱯣"}.mdi-cloud-arrow-left-outline:before{content:"󱯤"}.mdi-cloud-arrow-right:before{content:"󱯥"}.mdi-cloud-arrow-right-outline:before{content:"󱯦"}.mdi-cloud-arrow-up:before{content:"󱯧"}.mdi-cloud-arrow-up-outline:before{content:"󱯨"}.mdi-cloud-braces:before{content:"󰞵"}.mdi-cloud-cancel:before{content:"󱯩"}.mdi-cloud-cancel-outline:before{content:"󱯪"}.mdi-cloud-check:before{content:"󱯫"}.mdi-cloud-check-outline:before{content:"󱯬"}.mdi-cloud-check-variant:before{content:"󰅠"}.mdi-cloud-check-variant-outline:before{content:"󱋌"}.mdi-cloud-circle:before{content:"󰅡"}.mdi-cloud-circle-outline:before{content:"󱯭"}.mdi-cloud-clock:before{content:"󱯮"}.mdi-cloud-clock-outline:before{content:"󱯯"}.mdi-cloud-cog:before{content:"󱯰"}.mdi-cloud-cog-outline:before{content:"󱯱"}.mdi-cloud-download:before{content:"󰅢"}.mdi-cloud-download-outline:before{content:"󰭽"}.mdi-cloud-lock:before{content:"󱇱"}.mdi-cloud-lock-open:before{content:"󱯲"}.mdi-cloud-lock-open-outline:before{content:"󱯳"}.mdi-cloud-lock-outline:before{content:"󱇲"}.mdi-cloud-minus:before{content:"󱯴"}.mdi-cloud-minus-outline:before{content:"󱯵"}.mdi-cloud-off:before{content:"󱯶"}.mdi-cloud-off-outline:before{content:"󰅤"}.mdi-cloud-outline:before{content:"󰅣"}.mdi-cloud-percent:before{content:"󱨵"}.mdi-cloud-percent-outline:before{content:"󱨶"}.mdi-cloud-plus:before{content:"󱯷"}.mdi-cloud-plus-outline:before{content:"󱯸"}.mdi-cloud-print:before{content:"󰅥"}.mdi-cloud-print-outline:before{content:"󰅦"}.mdi-cloud-question:before{content:"󰨹"}.mdi-cloud-question-outline:before{content:"󱯹"}.mdi-cloud-refresh:before{content:"󱯺"}.mdi-cloud-refresh-outline:before{content:"󱯻"}.mdi-cloud-refresh-variant:before{content:"󰔪"}.mdi-cloud-refresh-variant-outline:before{content:"󱯼"}.mdi-cloud-remove:before{content:"󱯽"}.mdi-cloud-remove-outline:before{content:"󱯾"}.mdi-cloud-search:before{content:"󰥖"}.mdi-cloud-search-outline:before{content:"󰥗"}.mdi-cloud-sync:before{content:"󰘿"}.mdi-cloud-sync-outline:before{content:"󱋖"}.mdi-cloud-tags:before{content:"󰞶"}.mdi-cloud-upload:before{content:"󰅧"}.mdi-cloud-upload-outline:before{content:"󰭾"}.mdi-clouds:before{content:"󱮕"}.mdi-clover:before{content:"󰠖"}.mdi-clover-outline:before{content:"󱱢"}.mdi-coach-lamp:before{content:"󱀠"}.mdi-coach-lamp-variant:before{content:"󱨷"}.mdi-coat-rack:before{content:"󱂞"}.mdi-code-array:before{content:"󰅨"}.mdi-code-braces:before{content:"󰅩"}.mdi-code-braces-box:before{content:"󱃖"}.mdi-code-brackets:before{content:"󰅪"}.mdi-code-equal:before{content:"󰅫"}.mdi-code-greater-than:before{content:"󰅬"}.mdi-code-greater-than-or-equal:before{content:"󰅭"}.mdi-code-json:before{content:"󰘦"}.mdi-code-less-than:before{content:"󰅮"}.mdi-code-less-than-or-equal:before{content:"󰅯"}.mdi-code-not-equal:before{content:"󰅰"}.mdi-code-not-equal-variant:before{content:"󰅱"}.mdi-code-parentheses:before{content:"󰅲"}.mdi-code-parentheses-box:before{content:"󱃗"}.mdi-code-string:before{content:"󰅳"}.mdi-code-tags:before{content:"󰅴"}.mdi-code-tags-check:before{content:"󰚔"}.mdi-codepen:before{content:"󰅵"}.mdi-coffee:before{content:"󰅶"}.mdi-coffee-maker:before{content:"󱂟"}.mdi-coffee-maker-check:before{content:"󱤱"}.mdi-coffee-maker-check-outline:before{content:"󱤲"}.mdi-coffee-maker-outline:before{content:"󱠛"}.mdi-coffee-off:before{content:"󰾪"}.mdi-coffee-off-outline:before{content:"󰾫"}.mdi-coffee-outline:before{content:"󰛊"}.mdi-coffee-to-go:before{content:"󰅷"}.mdi-coffee-to-go-outline:before{content:"󱌎"}.mdi-coffin:before{content:"󰭿"}.mdi-cog:before{content:"󰒓"}.mdi-cog-box:before{content:"󰒔"}.mdi-cog-clockwise:before{content:"󱇝"}.mdi-cog-counterclockwise:before{content:"󱇞"}.mdi-cog-off:before{content:"󱏎"}.mdi-cog-off-outline:before{content:"󱏏"}.mdi-cog-outline:before{content:"󰢻"}.mdi-cog-pause:before{content:"󱤳"}.mdi-cog-pause-outline:before{content:"󱤴"}.mdi-cog-play:before{content:"󱤵"}.mdi-cog-play-outline:before{content:"󱤶"}.mdi-cog-refresh:before{content:"󱑞"}.mdi-cog-refresh-outline:before{content:"󱑟"}.mdi-cog-stop:before{content:"󱤷"}.mdi-cog-stop-outline:before{content:"󱤸"}.mdi-cog-sync:before{content:"󱑠"}.mdi-cog-sync-outline:before{content:"󱑡"}.mdi-cog-transfer:before{content:"󱁛"}.mdi-cog-transfer-outline:before{content:"󱁜"}.mdi-cogs:before{content:"󰣖"}.mdi-collage:before{content:"󰙀"}.mdi-collapse-all:before{content:"󰪦"}.mdi-collapse-all-outline:before{content:"󰪧"}.mdi-color-helper:before{content:"󰅹"}.mdi-comma:before{content:"󰸣"}.mdi-comma-box:before{content:"󰸫"}.mdi-comma-box-outline:before{content:"󰸤"}.mdi-comma-circle:before{content:"󰸥"}.mdi-comma-circle-outline:before{content:"󰸦"}.mdi-comment:before{content:"󰅺"}.mdi-comment-account:before{content:"󰅻"}.mdi-comment-account-outline:before{content:"󰅼"}.mdi-comment-alert:before{content:"󰅽"}.mdi-comment-alert-outline:before{content:"󰅾"}.mdi-comment-arrow-left:before{content:"󰧡"}.mdi-comment-arrow-left-outline:before{content:"󰧢"}.mdi-comment-arrow-right:before{content:"󰧣"}.mdi-comment-arrow-right-outline:before{content:"󰧤"}.mdi-comment-bookmark:before{content:"󱖮"}.mdi-comment-bookmark-outline:before{content:"󱖯"}.mdi-comment-check:before{content:"󰅿"}.mdi-comment-check-outline:before{content:"󰆀"}.mdi-comment-edit:before{content:"󱆿"}.mdi-comment-edit-outline:before{content:"󱋄"}.mdi-comment-eye:before{content:"󰨺"}.mdi-comment-eye-outline:before{content:"󰨻"}.mdi-comment-flash:before{content:"󱖰"}.mdi-comment-flash-outline:before{content:"󱖱"}.mdi-comment-minus:before{content:"󱗟"}.mdi-comment-minus-outline:before{content:"󱗠"}.mdi-comment-multiple:before{content:"󰡟"}.mdi-comment-multiple-outline:before{content:"󰆁"}.mdi-comment-off:before{content:"󱗡"}.mdi-comment-off-outline:before{content:"󱗢"}.mdi-comment-outline:before{content:"󰆂"}.mdi-comment-plus:before{content:"󰧥"}.mdi-comment-plus-outline:before{content:"󰆃"}.mdi-comment-processing:before{content:"󰆄"}.mdi-comment-processing-outline:before{content:"󰆅"}.mdi-comment-question:before{content:"󰠗"}.mdi-comment-question-outline:before{content:"󰆆"}.mdi-comment-quote:before{content:"󱀡"}.mdi-comment-quote-outline:before{content:"󱀢"}.mdi-comment-remove:before{content:"󰗞"}.mdi-comment-remove-outline:before{content:"󰆇"}.mdi-comment-search:before{content:"󰨼"}.mdi-comment-search-outline:before{content:"󰨽"}.mdi-comment-text:before{content:"󰆈"}.mdi-comment-text-multiple:before{content:"󰡠"}.mdi-comment-text-multiple-outline:before{content:"󰡡"}.mdi-comment-text-outline:before{content:"󰆉"}.mdi-compare:before{content:"󰆊"}.mdi-compare-horizontal:before{content:"󱒒"}.mdi-compare-remove:before{content:"󱢳"}.mdi-compare-vertical:before{content:"󱒓"}.mdi-compass:before{content:"󰆋"}.mdi-compass-off:before{content:"󰮀"}.mdi-compass-off-outline:before{content:"󰮁"}.mdi-compass-outline:before{content:"󰆌"}.mdi-compass-rose:before{content:"󱎂"}.mdi-compost:before{content:"󱨸"}.mdi-cone:before{content:"󱥌"}.mdi-cone-off:before{content:"󱥍"}.mdi-connection:before{content:"󱘖"}.mdi-console:before{content:"󰆍"}.mdi-console-line:before{content:"󰞷"}.mdi-console-network:before{content:"󰢩"}.mdi-console-network-outline:before{content:"󰱠"}.mdi-consolidate:before{content:"󱃘"}.mdi-contactless-payment:before{content:"󰵪"}.mdi-contactless-payment-circle:before{content:"󰌡"}.mdi-contactless-payment-circle-outline:before{content:"󰐈"}.mdi-contacts:before{content:"󰛋"}.mdi-contacts-outline:before{content:"󰖸"}.mdi-contain:before{content:"󰨾"}.mdi-contain-end:before{content:"󰨿"}.mdi-contain-start:before{content:"󰩀"}.mdi-content-copy:before{content:"󰆏"}.mdi-content-cut:before{content:"󰆐"}.mdi-content-duplicate:before{content:"󰆑"}.mdi-content-paste:before{content:"󰆒"}.mdi-content-save:before{content:"󰆓"}.mdi-content-save-alert:before{content:"󰽂"}.mdi-content-save-alert-outline:before{content:"󰽃"}.mdi-content-save-all:before{content:"󰆔"}.mdi-content-save-all-outline:before{content:"󰽄"}.mdi-content-save-check:before{content:"󱣪"}.mdi-content-save-check-outline:before{content:"󱣫"}.mdi-content-save-cog:before{content:"󱑛"}.mdi-content-save-cog-outline:before{content:"󱑜"}.mdi-content-save-edit:before{content:"󰳻"}.mdi-content-save-edit-outline:before{content:"󰳼"}.mdi-content-save-minus:before{content:"󱭃"}.mdi-content-save-minus-outline:before{content:"󱭄"}.mdi-content-save-move:before{content:"󰸧"}.mdi-content-save-move-outline:before{content:"󰸨"}.mdi-content-save-off:before{content:"󱙃"}.mdi-content-save-off-outline:before{content:"󱙄"}.mdi-content-save-outline:before{content:"󰠘"}.mdi-content-save-plus:before{content:"󱭁"}.mdi-content-save-plus-outline:before{content:"󱭂"}.mdi-content-save-settings:before{content:"󰘛"}.mdi-content-save-settings-outline:before{content:"󰬮"}.mdi-contrast:before{content:"󰆕"}.mdi-contrast-box:before{content:"󰆖"}.mdi-contrast-circle:before{content:"󰆗"}.mdi-controller:before{content:"󰊴"}.mdi-controller-classic:before{content:"󰮂"}.mdi-controller-classic-outline:before{content:"󰮃"}.mdi-controller-off:before{content:"󰊵"}.mdi-cookie:before{content:"󰆘"}.mdi-cookie-alert:before{content:"󱛐"}.mdi-cookie-alert-outline:before{content:"󱛑"}.mdi-cookie-check:before{content:"󱛒"}.mdi-cookie-check-outline:before{content:"󱛓"}.mdi-cookie-clock:before{content:"󱛤"}.mdi-cookie-clock-outline:before{content:"󱛥"}.mdi-cookie-cog:before{content:"󱛔"}.mdi-cookie-cog-outline:before{content:"󱛕"}.mdi-cookie-edit:before{content:"󱛦"}.mdi-cookie-edit-outline:before{content:"󱛧"}.mdi-cookie-lock:before{content:"󱛨"}.mdi-cookie-lock-outline:before{content:"󱛩"}.mdi-cookie-minus:before{content:"󱛚"}.mdi-cookie-minus-outline:before{content:"󱛛"}.mdi-cookie-off:before{content:"󱛪"}.mdi-cookie-off-outline:before{content:"󱛫"}.mdi-cookie-outline:before{content:"󱛞"}.mdi-cookie-plus:before{content:"󱛖"}.mdi-cookie-plus-outline:before{content:"󱛗"}.mdi-cookie-refresh:before{content:"󱛬"}.mdi-cookie-refresh-outline:before{content:"󱛭"}.mdi-cookie-remove:before{content:"󱛘"}.mdi-cookie-remove-outline:before{content:"󱛙"}.mdi-cookie-settings:before{content:"󱛜"}.mdi-cookie-settings-outline:before{content:"󱛝"}.mdi-coolant-temperature:before{content:"󰏈"}.mdi-copyleft:before{content:"󱤹"}.mdi-copyright:before{content:"󰗦"}.mdi-cordova:before{content:"󰥘"}.mdi-corn:before{content:"󰞸"}.mdi-corn-off:before{content:"󱏯"}.mdi-cosine-wave:before{content:"󱑹"}.mdi-counter:before{content:"󰆙"}.mdi-countertop:before{content:"󱠜"}.mdi-countertop-outline:before{content:"󱠝"}.mdi-cow:before{content:"󰆚"}.mdi-cow-off:before{content:"󱣼"}.mdi-cpu-32-bit:before{content:"󰻟"}.mdi-cpu-64-bit:before{content:"󰻠"}.mdi-cradle:before{content:"󱦋"}.mdi-cradle-outline:before{content:"󱦑"}.mdi-crane:before{content:"󰡢"}.mdi-creation:before{content:"󰙴"}.mdi-creation-outline:before{content:"󱰫"}.mdi-creative-commons:before{content:"󰵫"}.mdi-credit-card:before{content:"󰿯"}.mdi-credit-card-check:before{content:"󱏐"}.mdi-credit-card-check-outline:before{content:"󱏑"}.mdi-credit-card-chip:before{content:"󱤏"}.mdi-credit-card-chip-outline:before{content:"󱤐"}.mdi-credit-card-clock:before{content:"󰻡"}.mdi-credit-card-clock-outline:before{content:"󰻢"}.mdi-credit-card-edit:before{content:"󱟗"}.mdi-credit-card-edit-outline:before{content:"󱟘"}.mdi-credit-card-fast:before{content:"󱤑"}.mdi-credit-card-fast-outline:before{content:"󱤒"}.mdi-credit-card-lock:before{content:"󱣧"}.mdi-credit-card-lock-outline:before{content:"󱣨"}.mdi-credit-card-marker:before{content:"󰚨"}.mdi-credit-card-marker-outline:before{content:"󰶾"}.mdi-credit-card-minus:before{content:"󰾬"}.mdi-credit-card-minus-outline:before{content:"󰾭"}.mdi-credit-card-multiple:before{content:"󰿰"}.mdi-credit-card-multiple-outline:before{content:"󰆜"}.mdi-credit-card-off:before{content:"󰿱"}.mdi-credit-card-off-outline:before{content:"󰗤"}.mdi-credit-card-outline:before{content:"󰆛"}.mdi-credit-card-plus:before{content:"󰿲"}.mdi-credit-card-plus-outline:before{content:"󰙶"}.mdi-credit-card-refresh:before{content:"󱙅"}.mdi-credit-card-refresh-outline:before{content:"󱙆"}.mdi-credit-card-refund:before{content:"󰿳"}.mdi-credit-card-refund-outline:before{content:"󰪨"}.mdi-credit-card-remove:before{content:"󰾮"}.mdi-credit-card-remove-outline:before{content:"󰾯"}.mdi-credit-card-scan:before{content:"󰿴"}.mdi-credit-card-scan-outline:before{content:"󰆝"}.mdi-credit-card-search:before{content:"󱙇"}.mdi-credit-card-search-outline:before{content:"󱙈"}.mdi-credit-card-settings:before{content:"󰿵"}.mdi-credit-card-settings-outline:before{content:"󰣗"}.mdi-credit-card-sync:before{content:"󱙉"}.mdi-credit-card-sync-outline:before{content:"󱙊"}.mdi-credit-card-wireless:before{content:"󰠂"}.mdi-credit-card-wireless-off:before{content:"󰕺"}.mdi-credit-card-wireless-off-outline:before{content:"󰕻"}.mdi-credit-card-wireless-outline:before{content:"󰵬"}.mdi-cricket:before{content:"󰵭"}.mdi-crop:before{content:"󰆞"}.mdi-crop-free:before{content:"󰆟"}.mdi-crop-landscape:before{content:"󰆠"}.mdi-crop-portrait:before{content:"󰆡"}.mdi-crop-rotate:before{content:"󰚖"}.mdi-crop-square:before{content:"󰆢"}.mdi-cross:before{content:"󰥓"}.mdi-cross-bolnisi:before{content:"󰳭"}.mdi-cross-celtic:before{content:"󰳵"}.mdi-cross-outline:before{content:"󰳶"}.mdi-crosshairs:before{content:"󰆣"}.mdi-crosshairs-gps:before{content:"󰆤"}.mdi-crosshairs-off:before{content:"󰽅"}.mdi-crosshairs-question:before{content:"󱄶"}.mdi-crowd:before{content:"󱥵"}.mdi-crown:before{content:"󰆥"}.mdi-crown-circle:before{content:"󱟜"}.mdi-crown-circle-outline:before{content:"󱟝"}.mdi-crown-outline:before{content:"󱇐"}.mdi-cryengine:before{content:"󰥙"}.mdi-crystal-ball:before{content:"󰬯"}.mdi-cube:before{content:"󰆦"}.mdi-cube-off:before{content:"󱐜"}.mdi-cube-off-outline:before{content:"󱐝"}.mdi-cube-outline:before{content:"󰆧"}.mdi-cube-scan:before{content:"󰮄"}.mdi-cube-send:before{content:"󰆨"}.mdi-cube-unfolded:before{content:"󰆩"}.mdi-cup:before{content:"󰆪"}.mdi-cup-off:before{content:"󰗥"}.mdi-cup-off-outline:before{content:"󱍽"}.mdi-cup-outline:before{content:"󱌏"}.mdi-cup-water:before{content:"󰆫"}.mdi-cupboard:before{content:"󰽆"}.mdi-cupboard-outline:before{content:"󰽇"}.mdi-cupcake:before{content:"󰥚"}.mdi-curling:before{content:"󰡣"}.mdi-currency-bdt:before{content:"󰡤"}.mdi-currency-brl:before{content:"󰮅"}.mdi-currency-btc:before{content:"󰆬"}.mdi-currency-cny:before{content:"󰞺"}.mdi-currency-eth:before{content:"󰞻"}.mdi-currency-eur:before{content:"󰆭"}.mdi-currency-eur-off:before{content:"󱌕"}.mdi-currency-fra:before{content:"󱨹"}.mdi-currency-gbp:before{content:"󰆮"}.mdi-currency-ils:before{content:"󰱡"}.mdi-currency-inr:before{content:"󰆯"}.mdi-currency-jpy:before{content:"󰞼"}.mdi-currency-krw:before{content:"󰞽"}.mdi-currency-kzt:before{content:"󰡥"}.mdi-currency-mnt:before{content:"󱔒"}.mdi-currency-ngn:before{content:"󰆰"}.mdi-currency-php:before{content:"󰧦"}.mdi-currency-rial:before{content:"󰺜"}.mdi-currency-rub:before{content:"󰆱"}.mdi-currency-rupee:before{content:"󱥶"}.mdi-currency-sign:before{content:"󰞾"}.mdi-currency-thb:before{content:"󱰅"}.mdi-currency-try:before{content:"󰆲"}.mdi-currency-twd:before{content:"󰞿"}.mdi-currency-uah:before{content:"󱮛"}.mdi-currency-usd:before{content:"󰇁"}.mdi-currency-usd-off:before{content:"󰙺"}.mdi-current-ac:before{content:"󱒀"}.mdi-current-dc:before{content:"󰥜"}.mdi-cursor-default:before{content:"󰇀"}.mdi-cursor-default-click:before{content:"󰳽"}.mdi-cursor-default-click-outline:before{content:"󰳾"}.mdi-cursor-default-gesture:before{content:"󱄧"}.mdi-cursor-default-gesture-outline:before{content:"󱄨"}.mdi-cursor-default-outline:before{content:"󰆿"}.mdi-cursor-move:before{content:"󰆾"}.mdi-cursor-pointer:before{content:"󰆽"}.mdi-cursor-text:before{content:"󰗧"}.mdi-curtains:before{content:"󱡆"}.mdi-curtains-closed:before{content:"󱡇"}.mdi-cylinder:before{content:"󱥎"}.mdi-cylinder-off:before{content:"󱥏"}.mdi-dance-ballroom:before{content:"󱗻"}.mdi-dance-pole:before{content:"󱕸"}.mdi-data-matrix:before{content:"󱔼"}.mdi-data-matrix-edit:before{content:"󱔽"}.mdi-data-matrix-minus:before{content:"󱔾"}.mdi-data-matrix-plus:before{content:"󱔿"}.mdi-data-matrix-remove:before{content:"󱕀"}.mdi-data-matrix-scan:before{content:"󱕁"}.mdi-database:before{content:"󰆼"}.mdi-database-alert:before{content:"󱘺"}.mdi-database-alert-outline:before{content:"󱘤"}.mdi-database-arrow-down:before{content:"󱘻"}.mdi-database-arrow-down-outline:before{content:"󱘥"}.mdi-database-arrow-left:before{content:"󱘼"}.mdi-database-arrow-left-outline:before{content:"󱘦"}.mdi-database-arrow-right:before{content:"󱘽"}.mdi-database-arrow-right-outline:before{content:"󱘧"}.mdi-database-arrow-up:before{content:"󱘾"}.mdi-database-arrow-up-outline:before{content:"󱘨"}.mdi-database-check:before{content:"󰪩"}.mdi-database-check-outline:before{content:"󱘩"}.mdi-database-clock:before{content:"󱘿"}.mdi-database-clock-outline:before{content:"󱘪"}.mdi-database-cog:before{content:"󱙋"}.mdi-database-cog-outline:before{content:"󱙌"}.mdi-database-edit:before{content:"󰮆"}.mdi-database-edit-outline:before{content:"󱘫"}.mdi-database-export:before{content:"󰥞"}.mdi-database-export-outline:before{content:"󱘬"}.mdi-database-eye:before{content:"󱤟"}.mdi-database-eye-off:before{content:"󱤠"}.mdi-database-eye-off-outline:before{content:"󱤡"}.mdi-database-eye-outline:before{content:"󱤢"}.mdi-database-import:before{content:"󰥝"}.mdi-database-import-outline:before{content:"󱘭"}.mdi-database-lock:before{content:"󰪪"}.mdi-database-lock-outline:before{content:"󱘮"}.mdi-database-marker:before{content:"󱋶"}.mdi-database-marker-outline:before{content:"󱘯"}.mdi-database-minus:before{content:"󰆻"}.mdi-database-minus-outline:before{content:"󱘰"}.mdi-database-off:before{content:"󱙀"}.mdi-database-off-outline:before{content:"󱘱"}.mdi-database-outline:before{content:"󱘲"}.mdi-database-plus:before{content:"󰆺"}.mdi-database-plus-outline:before{content:"󱘳"}.mdi-database-refresh:before{content:"󰗂"}.mdi-database-refresh-outline:before{content:"󱘴"}.mdi-database-remove:before{content:"󰴀"}.mdi-database-remove-outline:before{content:"󱘵"}.mdi-database-search:before{content:"󰡦"}.mdi-database-search-outline:before{content:"󱘶"}.mdi-database-settings:before{content:"󰴁"}.mdi-database-settings-outline:before{content:"󱘷"}.mdi-database-sync:before{content:"󰳿"}.mdi-database-sync-outline:before{content:"󱘸"}.mdi-death-star:before{content:"󰣘"}.mdi-death-star-variant:before{content:"󰣙"}.mdi-deathly-hallows:before{content:"󰮇"}.mdi-debian:before{content:"󰣚"}.mdi-debug-step-into:before{content:"󰆹"}.mdi-debug-step-out:before{content:"󰆸"}.mdi-debug-step-over:before{content:"󰆷"}.mdi-decagram:before{content:"󰝬"}.mdi-decagram-outline:before{content:"󰝭"}.mdi-decimal:before{content:"󱂡"}.mdi-decimal-comma:before{content:"󱂢"}.mdi-decimal-comma-decrease:before{content:"󱂣"}.mdi-decimal-comma-increase:before{content:"󱂤"}.mdi-decimal-decrease:before{content:"󰆶"}.mdi-decimal-increase:before{content:"󰆵"}.mdi-delete:before{content:"󰆴"}.mdi-delete-alert:before{content:"󱂥"}.mdi-delete-alert-outline:before{content:"󱂦"}.mdi-delete-circle:before{content:"󰚃"}.mdi-delete-circle-outline:before{content:"󰮈"}.mdi-delete-clock:before{content:"󱕖"}.mdi-delete-clock-outline:before{content:"󱕗"}.mdi-delete-empty:before{content:"󰛌"}.mdi-delete-empty-outline:before{content:"󰺝"}.mdi-delete-forever:before{content:"󰗨"}.mdi-delete-forever-outline:before{content:"󰮉"}.mdi-delete-off:before{content:"󱂧"}.mdi-delete-off-outline:before{content:"󱂨"}.mdi-delete-outline:before{content:"󰧧"}.mdi-delete-restore:before{content:"󰠙"}.mdi-delete-sweep:before{content:"󰗩"}.mdi-delete-sweep-outline:before{content:"󰱢"}.mdi-delete-variant:before{content:"󰆳"}.mdi-delta:before{content:"󰇂"}.mdi-desk:before{content:"󱈹"}.mdi-desk-lamp:before{content:"󰥟"}.mdi-desk-lamp-off:before{content:"󱬟"}.mdi-desk-lamp-on:before{content:"󱬠"}.mdi-deskphone:before{content:"󰇃"}.mdi-desktop-classic:before{content:"󰟀"}.mdi-desktop-tower:before{content:"󰇅"}.mdi-desktop-tower-monitor:before{content:"󰪫"}.mdi-details:before{content:"󰇆"}.mdi-dev-to:before{content:"󰵮"}.mdi-developer-board:before{content:"󰚗"}.mdi-deviantart:before{content:"󰇇"}.mdi-devices:before{content:"󰾰"}.mdi-dharmachakra:before{content:"󰥋"}.mdi-diabetes:before{content:"󱄦"}.mdi-dialpad:before{content:"󰘜"}.mdi-diameter:before{content:"󰱣"}.mdi-diameter-outline:before{content:"󰱤"}.mdi-diameter-variant:before{content:"󰱥"}.mdi-diamond:before{content:"󰮊"}.mdi-diamond-outline:before{content:"󰮋"}.mdi-diamond-stone:before{content:"󰇈"}.mdi-dice-1:before{content:"󰇊"}.mdi-dice-1-outline:before{content:"󱅊"}.mdi-dice-2:before{content:"󰇋"}.mdi-dice-2-outline:before{content:"󱅋"}.mdi-dice-3:before{content:"󰇌"}.mdi-dice-3-outline:before{content:"󱅌"}.mdi-dice-4:before{content:"󰇍"}.mdi-dice-4-outline:before{content:"󱅍"}.mdi-dice-5:before{content:"󰇎"}.mdi-dice-5-outline:before{content:"󱅎"}.mdi-dice-6:before{content:"󰇏"}.mdi-dice-6-outline:before{content:"󱅏"}.mdi-dice-d10:before{content:"󱅓"}.mdi-dice-d10-outline:before{content:"󰝯"}.mdi-dice-d12:before{content:"󱅔"}.mdi-dice-d12-outline:before{content:"󰡧"}.mdi-dice-d20:before{content:"󱅕"}.mdi-dice-d20-outline:before{content:"󰗪"}.mdi-dice-d4:before{content:"󱅐"}.mdi-dice-d4-outline:before{content:"󰗫"}.mdi-dice-d6:before{content:"󱅑"}.mdi-dice-d6-outline:before{content:"󰗭"}.mdi-dice-d8:before{content:"󱅒"}.mdi-dice-d8-outline:before{content:"󰗬"}.mdi-dice-multiple:before{content:"󰝮"}.mdi-dice-multiple-outline:before{content:"󱅖"}.mdi-digital-ocean:before{content:"󱈷"}.mdi-dip-switch:before{content:"󰟁"}.mdi-directions:before{content:"󰇐"}.mdi-directions-fork:before{content:"󰙁"}.mdi-disc:before{content:"󰗮"}.mdi-disc-alert:before{content:"󰇑"}.mdi-disc-player:before{content:"󰥠"}.mdi-dishwasher:before{content:"󰪬"}.mdi-dishwasher-alert:before{content:"󱆸"}.mdi-dishwasher-off:before{content:"󱆹"}.mdi-disqus:before{content:"󰇒"}.mdi-distribute-horizontal-center:before{content:"󱇉"}.mdi-distribute-horizontal-left:before{content:"󱇈"}.mdi-distribute-horizontal-right:before{content:"󱇊"}.mdi-distribute-vertical-bottom:before{content:"󱇋"}.mdi-distribute-vertical-center:before{content:"󱇌"}.mdi-distribute-vertical-top:before{content:"󱇍"}.mdi-diversify:before{content:"󱡷"}.mdi-diving:before{content:"󱥷"}.mdi-diving-flippers:before{content:"󰶿"}.mdi-diving-helmet:before{content:"󰷀"}.mdi-diving-scuba:before{content:"󱭷"}.mdi-diving-scuba-flag:before{content:"󰷂"}.mdi-diving-scuba-mask:before{content:"󰷁"}.mdi-diving-scuba-tank:before{content:"󰷃"}.mdi-diving-scuba-tank-multiple:before{content:"󰷄"}.mdi-diving-snorkel:before{content:"󰷅"}.mdi-division:before{content:"󰇔"}.mdi-division-box:before{content:"󰇕"}.mdi-dlna:before{content:"󰩁"}.mdi-dna:before{content:"󰚄"}.mdi-dns:before{content:"󰇖"}.mdi-dns-outline:before{content:"󰮌"}.mdi-dock-bottom:before{content:"󱂩"}.mdi-dock-left:before{content:"󱂪"}.mdi-dock-right:before{content:"󱂫"}.mdi-dock-top:before{content:"󱔓"}.mdi-dock-window:before{content:"󱂬"}.mdi-docker:before{content:"󰡨"}.mdi-doctor:before{content:"󰩂"}.mdi-dog:before{content:"󰩃"}.mdi-dog-service:before{content:"󰪭"}.mdi-dog-side:before{content:"󰩄"}.mdi-dog-side-off:before{content:"󱛮"}.mdi-dolby:before{content:"󰚳"}.mdi-dolly:before{content:"󰺞"}.mdi-dolphin:before{content:"󱢴"}.mdi-domain:before{content:"󰇗"}.mdi-domain-off:before{content:"󰵯"}.mdi-domain-plus:before{content:"󱂭"}.mdi-domain-remove:before{content:"󱂮"}.mdi-domain-switch:before{content:"󱰬"}.mdi-dome-light:before{content:"󱐞"}.mdi-domino-mask:before{content:"󱀣"}.mdi-donkey:before{content:"󰟂"}.mdi-door:before{content:"󰠚"}.mdi-door-closed:before{content:"󰠛"}.mdi-door-closed-lock:before{content:"󱂯"}.mdi-door-open:before{content:"󰠜"}.mdi-door-sliding:before{content:"󱠞"}.mdi-door-sliding-lock:before{content:"󱠟"}.mdi-door-sliding-open:before{content:"󱠠"}.mdi-doorbell:before{content:"󱋦"}.mdi-doorbell-video:before{content:"󰡩"}.mdi-dot-net:before{content:"󰪮"}.mdi-dots-circle:before{content:"󱥸"}.mdi-dots-grid:before{content:"󱗼"}.mdi-dots-hexagon:before{content:"󱗿"}.mdi-dots-horizontal:before{content:"󰇘"}.mdi-dots-horizontal-circle:before{content:"󰟃"}.mdi-dots-horizontal-circle-outline:before{content:"󰮍"}.mdi-dots-square:before{content:"󱗽"}.mdi-dots-triangle:before{content:"󱗾"}.mdi-dots-vertical:before{content:"󰇙"}.mdi-dots-vertical-circle:before{content:"󰟄"}.mdi-dots-vertical-circle-outline:before{content:"󰮎"}.mdi-download:before{content:"󰇚"}.mdi-download-box:before{content:"󱑢"}.mdi-download-box-outline:before{content:"󱑣"}.mdi-download-circle:before{content:"󱑤"}.mdi-download-circle-outline:before{content:"󱑥"}.mdi-download-lock:before{content:"󱌠"}.mdi-download-lock-outline:before{content:"󱌡"}.mdi-download-multiple:before{content:"󰧩"}.mdi-download-network:before{content:"󰛴"}.mdi-download-network-outline:before{content:"󰱦"}.mdi-download-off:before{content:"󱂰"}.mdi-download-off-outline:before{content:"󱂱"}.mdi-download-outline:before{content:"󰮏"}.mdi-drag:before{content:"󰇛"}.mdi-drag-horizontal:before{content:"󰇜"}.mdi-drag-horizontal-variant:before{content:"󱋰"}.mdi-drag-variant:before{content:"󰮐"}.mdi-drag-vertical:before{content:"󰇝"}.mdi-drag-vertical-variant:before{content:"󱋱"}.mdi-drama-masks:before{content:"󰴂"}.mdi-draw:before{content:"󰽉"}.mdi-draw-pen:before{content:"󱦹"}.mdi-drawing:before{content:"󰇞"}.mdi-drawing-box:before{content:"󰇟"}.mdi-dresser:before{content:"󰽊"}.mdi-dresser-outline:before{content:"󰽋"}.mdi-drone:before{content:"󰇢"}.mdi-dropbox:before{content:"󰇣"}.mdi-drupal:before{content:"󰇤"}.mdi-duck:before{content:"󰇥"}.mdi-dumbbell:before{content:"󰇦"}.mdi-dump-truck:before{content:"󰱧"}.mdi-ear-hearing:before{content:"󰟅"}.mdi-ear-hearing-loop:before{content:"󱫮"}.mdi-ear-hearing-off:before{content:"󰩅"}.mdi-earbuds:before{content:"󱡏"}.mdi-earbuds-off:before{content:"󱡐"}.mdi-earbuds-off-outline:before{content:"󱡑"}.mdi-earbuds-outline:before{content:"󱡒"}.mdi-earth:before{content:"󰇧"}.mdi-earth-arrow-right:before{content:"󱌑"}.mdi-earth-box:before{content:"󰛍"}.mdi-earth-box-minus:before{content:"󱐇"}.mdi-earth-box-off:before{content:"󰛎"}.mdi-earth-box-plus:before{content:"󱐆"}.mdi-earth-box-remove:before{content:"󱐈"}.mdi-earth-minus:before{content:"󱐄"}.mdi-earth-off:before{content:"󰇨"}.mdi-earth-plus:before{content:"󱐃"}.mdi-earth-remove:before{content:"󱐅"}.mdi-egg:before{content:"󰪯"}.mdi-egg-easter:before{content:"󰪰"}.mdi-egg-fried:before{content:"󱡊"}.mdi-egg-off:before{content:"󱏰"}.mdi-egg-off-outline:before{content:"󱏱"}.mdi-egg-outline:before{content:"󱏲"}.mdi-eiffel-tower:before{content:"󱕫"}.mdi-eight-track:before{content:"󰧪"}.mdi-eject:before{content:"󰇪"}.mdi-eject-circle:before{content:"󱬣"}.mdi-eject-circle-outline:before{content:"󱬤"}.mdi-eject-outline:before{content:"󰮑"}.mdi-electric-switch:before{content:"󰺟"}.mdi-electric-switch-closed:before{content:"󱃙"}.mdi-electron-framework:before{content:"󱀤"}.mdi-elephant:before{content:"󰟆"}.mdi-elevation-decline:before{content:"󰇫"}.mdi-elevation-rise:before{content:"󰇬"}.mdi-elevator:before{content:"󰇭"}.mdi-elevator-down:before{content:"󱋂"}.mdi-elevator-passenger:before{content:"󱎁"}.mdi-elevator-passenger-off:before{content:"󱥹"}.mdi-elevator-passenger-off-outline:before{content:"󱥺"}.mdi-elevator-passenger-outline:before{content:"󱥻"}.mdi-elevator-up:before{content:"󱋁"}.mdi-ellipse:before{content:"󰺠"}.mdi-ellipse-outline:before{content:"󰺡"}.mdi-email:before{content:"󰇮"}.mdi-email-alert:before{content:"󰛏"}.mdi-email-alert-outline:before{content:"󰵂"}.mdi-email-arrow-left:before{content:"󱃚"}.mdi-email-arrow-left-outline:before{content:"󱃛"}.mdi-email-arrow-right:before{content:"󱃜"}.mdi-email-arrow-right-outline:before{content:"󱃝"}.mdi-email-box:before{content:"󰴃"}.mdi-email-check:before{content:"󰪱"}.mdi-email-check-outline:before{content:"󰪲"}.mdi-email-edit:before{content:"󰻣"}.mdi-email-edit-outline:before{content:"󰻤"}.mdi-email-fast:before{content:"󱡯"}.mdi-email-fast-outline:before{content:"󱡰"}.mdi-email-heart-outline:before{content:"󱱛"}.mdi-email-lock:before{content:"󰇱"}.mdi-email-lock-outline:before{content:"󱭡"}.mdi-email-mark-as-unread:before{content:"󰮒"}.mdi-email-minus:before{content:"󰻥"}.mdi-email-minus-outline:before{content:"󰻦"}.mdi-email-multiple:before{content:"󰻧"}.mdi-email-multiple-outline:before{content:"󰻨"}.mdi-email-newsletter:before{content:"󰾱"}.mdi-email-off:before{content:"󱏣"}.mdi-email-off-outline:before{content:"󱏤"}.mdi-email-open:before{content:"󰇯"}.mdi-email-open-heart-outline:before{content:"󱱜"}.mdi-email-open-multiple:before{content:"󰻩"}.mdi-email-open-multiple-outline:before{content:"󰻪"}.mdi-email-open-outline:before{content:"󰗯"}.mdi-email-outline:before{content:"󰇰"}.mdi-email-plus:before{content:"󰧫"}.mdi-email-plus-outline:before{content:"󰧬"}.mdi-email-remove:before{content:"󱙡"}.mdi-email-remove-outline:before{content:"󱙢"}.mdi-email-seal:before{content:"󱥛"}.mdi-email-seal-outline:before{content:"󱥜"}.mdi-email-search:before{content:"󰥡"}.mdi-email-search-outline:before{content:"󰥢"}.mdi-email-sync:before{content:"󱋇"}.mdi-email-sync-outline:before{content:"󱋈"}.mdi-email-variant:before{content:"󰗰"}.mdi-ember:before{content:"󰬰"}.mdi-emby:before{content:"󰚴"}.mdi-emoticon:before{content:"󰱨"}.mdi-emoticon-angry:before{content:"󰱩"}.mdi-emoticon-angry-outline:before{content:"󰱪"}.mdi-emoticon-confused:before{content:"󱃞"}.mdi-emoticon-confused-outline:before{content:"󱃟"}.mdi-emoticon-cool:before{content:"󰱫"}.mdi-emoticon-cool-outline:before{content:"󰇳"}.mdi-emoticon-cry:before{content:"󰱬"}.mdi-emoticon-cry-outline:before{content:"󰱭"}.mdi-emoticon-dead:before{content:"󰱮"}.mdi-emoticon-dead-outline:before{content:"󰚛"}.mdi-emoticon-devil:before{content:"󰱯"}.mdi-emoticon-devil-outline:before{content:"󰇴"}.mdi-emoticon-excited:before{content:"󰱰"}.mdi-emoticon-excited-outline:before{content:"󰚜"}.mdi-emoticon-frown:before{content:"󰽌"}.mdi-emoticon-frown-outline:before{content:"󰽍"}.mdi-emoticon-happy:before{content:"󰱱"}.mdi-emoticon-happy-outline:before{content:"󰇵"}.mdi-emoticon-kiss:before{content:"󰱲"}.mdi-emoticon-kiss-outline:before{content:"󰱳"}.mdi-emoticon-lol:before{content:"󱈔"}.mdi-emoticon-lol-outline:before{content:"󱈕"}.mdi-emoticon-neutral:before{content:"󰱴"}.mdi-emoticon-neutral-outline:before{content:"󰇶"}.mdi-emoticon-outline:before{content:"󰇲"}.mdi-emoticon-poop:before{content:"󰇷"}.mdi-emoticon-poop-outline:before{content:"󰱵"}.mdi-emoticon-sad:before{content:"󰱶"}.mdi-emoticon-sad-outline:before{content:"󰇸"}.mdi-emoticon-sick:before{content:"󱕼"}.mdi-emoticon-sick-outline:before{content:"󱕽"}.mdi-emoticon-tongue:before{content:"󰇹"}.mdi-emoticon-tongue-outline:before{content:"󰱷"}.mdi-emoticon-wink:before{content:"󰱸"}.mdi-emoticon-wink-outline:before{content:"󰱹"}.mdi-engine:before{content:"󰇺"}.mdi-engine-off:before{content:"󰩆"}.mdi-engine-off-outline:before{content:"󰩇"}.mdi-engine-outline:before{content:"󰇻"}.mdi-epsilon:before{content:"󱃠"}.mdi-equal:before{content:"󰇼"}.mdi-equal-box:before{content:"󰇽"}.mdi-equalizer:before{content:"󰺢"}.mdi-equalizer-outline:before{content:"󰺣"}.mdi-eraser:before{content:"󰇾"}.mdi-eraser-variant:before{content:"󰙂"}.mdi-escalator:before{content:"󰇿"}.mdi-escalator-box:before{content:"󱎙"}.mdi-escalator-down:before{content:"󱋀"}.mdi-escalator-up:before{content:"󱊿"}.mdi-eslint:before{content:"󰱺"}.mdi-et:before{content:"󰪳"}.mdi-ethereum:before{content:"󰡪"}.mdi-ethernet:before{content:"󰈀"}.mdi-ethernet-cable:before{content:"󰈁"}.mdi-ethernet-cable-off:before{content:"󰈂"}.mdi-ev-plug-ccs1:before{content:"󱔙"}.mdi-ev-plug-ccs2:before{content:"󱔚"}.mdi-ev-plug-chademo:before{content:"󱔛"}.mdi-ev-plug-tesla:before{content:"󱔜"}.mdi-ev-plug-type1:before{content:"󱔝"}.mdi-ev-plug-type2:before{content:"󱔞"}.mdi-ev-station:before{content:"󰗱"}.mdi-evernote:before{content:"󰈄"}.mdi-excavator:before{content:"󱀥"}.mdi-exclamation:before{content:"󰈅"}.mdi-exclamation-thick:before{content:"󱈸"}.mdi-exit-run:before{content:"󰩈"}.mdi-exit-to-app:before{content:"󰈆"}.mdi-expand-all:before{content:"󰪴"}.mdi-expand-all-outline:before{content:"󰪵"}.mdi-expansion-card:before{content:"󰢮"}.mdi-expansion-card-variant:before{content:"󰾲"}.mdi-exponent:before{content:"󰥣"}.mdi-exponent-box:before{content:"󰥤"}.mdi-export:before{content:"󰈇"}.mdi-export-variant:before{content:"󰮓"}.mdi-eye:before{content:"󰈈"}.mdi-eye-arrow-left:before{content:"󱣽"}.mdi-eye-arrow-left-outline:before{content:"󱣾"}.mdi-eye-arrow-right:before{content:"󱣿"}.mdi-eye-arrow-right-outline:before{content:"󱤀"}.mdi-eye-check:before{content:"󰴄"}.mdi-eye-check-outline:before{content:"󰴅"}.mdi-eye-circle:before{content:"󰮔"}.mdi-eye-circle-outline:before{content:"󰮕"}.mdi-eye-lock:before{content:"󱰆"}.mdi-eye-lock-open:before{content:"󱰇"}.mdi-eye-lock-open-outline:before{content:"󱰈"}.mdi-eye-lock-outline:before{content:"󱰉"}.mdi-eye-minus:before{content:"󱀦"}.mdi-eye-minus-outline:before{content:"󱀧"}.mdi-eye-off:before{content:"󰈉"}.mdi-eye-off-outline:before{content:"󰛑"}.mdi-eye-outline:before{content:"󰛐"}.mdi-eye-plus:before{content:"󰡫"}.mdi-eye-plus-outline:before{content:"󰡬"}.mdi-eye-refresh:before{content:"󱥼"}.mdi-eye-refresh-outline:before{content:"󱥽"}.mdi-eye-remove:before{content:"󱗣"}.mdi-eye-remove-outline:before{content:"󱗤"}.mdi-eye-settings:before{content:"󰡭"}.mdi-eye-settings-outline:before{content:"󰡮"}.mdi-eyedropper:before{content:"󰈊"}.mdi-eyedropper-minus:before{content:"󱏝"}.mdi-eyedropper-off:before{content:"󱏟"}.mdi-eyedropper-plus:before{content:"󱏜"}.mdi-eyedropper-remove:before{content:"󱏞"}.mdi-eyedropper-variant:before{content:"󰈋"}.mdi-face-agent:before{content:"󰵰"}.mdi-face-man:before{content:"󰙃"}.mdi-face-man-outline:before{content:"󰮖"}.mdi-face-man-profile:before{content:"󰙄"}.mdi-face-man-shimmer:before{content:"󱗌"}.mdi-face-man-shimmer-outline:before{content:"󱗍"}.mdi-face-mask:before{content:"󱖆"}.mdi-face-mask-outline:before{content:"󱖇"}.mdi-face-recognition:before{content:"󰱻"}.mdi-face-woman:before{content:"󱁷"}.mdi-face-woman-outline:before{content:"󱁸"}.mdi-face-woman-profile:before{content:"󱁶"}.mdi-face-woman-shimmer:before{content:"󱗎"}.mdi-face-woman-shimmer-outline:before{content:"󱗏"}.mdi-facebook:before{content:"󰈌"}.mdi-facebook-gaming:before{content:"󰟝"}.mdi-facebook-messenger:before{content:"󰈎"}.mdi-facebook-workplace:before{content:"󰬱"}.mdi-factory:before{content:"󰈏"}.mdi-family-tree:before{content:"󱘎"}.mdi-fan:before{content:"󰈐"}.mdi-fan-alert:before{content:"󱑬"}.mdi-fan-auto:before{content:"󱜝"}.mdi-fan-chevron-down:before{content:"󱑭"}.mdi-fan-chevron-up:before{content:"󱑮"}.mdi-fan-clock:before{content:"󱨺"}.mdi-fan-minus:before{content:"󱑰"}.mdi-fan-off:before{content:"󰠝"}.mdi-fan-plus:before{content:"󱑯"}.mdi-fan-remove:before{content:"󱑱"}.mdi-fan-speed-1:before{content:"󱑲"}.mdi-fan-speed-2:before{content:"󱑳"}.mdi-fan-speed-3:before{content:"󱑴"}.mdi-fast-forward:before{content:"󰈑"}.mdi-fast-forward-10:before{content:"󰵱"}.mdi-fast-forward-15:before{content:"󱤺"}.mdi-fast-forward-30:before{content:"󰴆"}.mdi-fast-forward-45:before{content:"󱬒"}.mdi-fast-forward-5:before{content:"󱇸"}.mdi-fast-forward-60:before{content:"󱘋"}.mdi-fast-forward-outline:before{content:"󰛒"}.mdi-faucet:before{content:"󱬩"}.mdi-faucet-variant:before{content:"󱬪"}.mdi-fax:before{content:"󰈒"}.mdi-feather:before{content:"󰛓"}.mdi-feature-search:before{content:"󰩉"}.mdi-feature-search-outline:before{content:"󰩊"}.mdi-fedora:before{content:"󰣛"}.mdi-fence:before{content:"󱞚"}.mdi-fence-electric:before{content:"󱟶"}.mdi-fencing:before{content:"󱓁"}.mdi-ferris-wheel:before{content:"󰺤"}.mdi-ferry:before{content:"󰈓"}.mdi-file:before{content:"󰈔"}.mdi-file-account:before{content:"󰜻"}.mdi-file-account-outline:before{content:"󱀨"}.mdi-file-alert:before{content:"󰩋"}.mdi-file-alert-outline:before{content:"󰩌"}.mdi-file-arrow-left-right:before{content:"󱪓"}.mdi-file-arrow-left-right-outline:before{content:"󱪔"}.mdi-file-arrow-up-down:before{content:"󱪕"}.mdi-file-arrow-up-down-outline:before{content:"󱪖"}.mdi-file-cabinet:before{content:"󰪶"}.mdi-file-cad:before{content:"󰻫"}.mdi-file-cad-box:before{content:"󰻬"}.mdi-file-cancel:before{content:"󰷆"}.mdi-file-cancel-outline:before{content:"󰷇"}.mdi-file-certificate:before{content:"󱆆"}.mdi-file-certificate-outline:before{content:"󱆇"}.mdi-file-chart:before{content:"󰈕"}.mdi-file-chart-check:before{content:"󱧆"}.mdi-file-chart-check-outline:before{content:"󱧇"}.mdi-file-chart-outline:before{content:"󱀩"}.mdi-file-check:before{content:"󰈖"}.mdi-file-check-outline:before{content:"󰸩"}.mdi-file-clock:before{content:"󱋡"}.mdi-file-clock-outline:before{content:"󱋢"}.mdi-file-cloud:before{content:"󰈗"}.mdi-file-cloud-outline:before{content:"󱀪"}.mdi-file-code:before{content:"󰈮"}.mdi-file-code-outline:before{content:"󱀫"}.mdi-file-cog:before{content:"󱁻"}.mdi-file-cog-outline:before{content:"󱁼"}.mdi-file-compare:before{content:"󰢪"}.mdi-file-delimited:before{content:"󰈘"}.mdi-file-delimited-outline:before{content:"󰺥"}.mdi-file-document:before{content:"󰈙"}.mdi-file-document-alert:before{content:"󱪗"}.mdi-file-document-alert-outline:before{content:"󱪘"}.mdi-file-document-arrow-right:before{content:"󱰏"}.mdi-file-document-arrow-right-outline:before{content:"󱰐"}.mdi-file-document-check:before{content:"󱪙"}.mdi-file-document-check-outline:before{content:"󱪚"}.mdi-file-document-edit:before{content:"󰷈"}.mdi-file-document-edit-outline:before{content:"󰷉"}.mdi-file-document-minus:before{content:"󱪛"}.mdi-file-document-minus-outline:before{content:"󱪜"}.mdi-file-document-multiple:before{content:"󱔗"}.mdi-file-document-multiple-outline:before{content:"󱔘"}.mdi-file-document-outline:before{content:"󰧮"}.mdi-file-document-plus:before{content:"󱪝"}.mdi-file-document-plus-outline:before{content:"󱪞"}.mdi-file-document-refresh:before{content:"󱱺"}.mdi-file-document-refresh-outline:before{content:"󱱻"}.mdi-file-document-remove:before{content:"󱪟"}.mdi-file-document-remove-outline:before{content:"󱪠"}.mdi-file-download:before{content:"󰥥"}.mdi-file-download-outline:before{content:"󰥦"}.mdi-file-edit:before{content:"󱇧"}.mdi-file-edit-outline:before{content:"󱇨"}.mdi-file-excel:before{content:"󰈛"}.mdi-file-excel-box:before{content:"󰈜"}.mdi-file-excel-box-outline:before{content:"󱀬"}.mdi-file-excel-outline:before{content:"󱀭"}.mdi-file-export:before{content:"󰈝"}.mdi-file-export-outline:before{content:"󱀮"}.mdi-file-eye:before{content:"󰷊"}.mdi-file-eye-outline:before{content:"󰷋"}.mdi-file-find:before{content:"󰈞"}.mdi-file-find-outline:before{content:"󰮗"}.mdi-file-gif-box:before{content:"󰵸"}.mdi-file-hidden:before{content:"󰘓"}.mdi-file-image:before{content:"󰈟"}.mdi-file-image-marker:before{content:"󱝲"}.mdi-file-image-marker-outline:before{content:"󱝳"}.mdi-file-image-minus:before{content:"󱤻"}.mdi-file-image-minus-outline:before{content:"󱤼"}.mdi-file-image-outline:before{content:"󰺰"}.mdi-file-image-plus:before{content:"󱤽"}.mdi-file-image-plus-outline:before{content:"󱤾"}.mdi-file-image-remove:before{content:"󱤿"}.mdi-file-image-remove-outline:before{content:"󱥀"}.mdi-file-import:before{content:"󰈠"}.mdi-file-import-outline:before{content:"󱀯"}.mdi-file-jpg-box:before{content:"󰈥"}.mdi-file-key:before{content:"󱆄"}.mdi-file-key-outline:before{content:"󱆅"}.mdi-file-link:before{content:"󱅷"}.mdi-file-link-outline:before{content:"󱅸"}.mdi-file-lock:before{content:"󰈡"}.mdi-file-lock-open:before{content:"󱧈"}.mdi-file-lock-open-outline:before{content:"󱧉"}.mdi-file-lock-outline:before{content:"󱀰"}.mdi-file-marker:before{content:"󱝴"}.mdi-file-marker-outline:before{content:"󱝵"}.mdi-file-minus:before{content:"󱪡"}.mdi-file-minus-outline:before{content:"󱪢"}.mdi-file-move:before{content:"󰪹"}.mdi-file-move-outline:before{content:"󱀱"}.mdi-file-multiple:before{content:"󰈢"}.mdi-file-multiple-outline:before{content:"󱀲"}.mdi-file-music:before{content:"󰈣"}.mdi-file-music-outline:before{content:"󰸪"}.mdi-file-outline:before{content:"󰈤"}.mdi-file-pdf-box:before{content:"󰈦"}.mdi-file-percent:before{content:"󰠞"}.mdi-file-percent-outline:before{content:"󱀳"}.mdi-file-phone:before{content:"󱅹"}.mdi-file-phone-outline:before{content:"󱅺"}.mdi-file-plus:before{content:"󰝒"}.mdi-file-plus-outline:before{content:"󰻭"}.mdi-file-png-box:before{content:"󰸭"}.mdi-file-powerpoint:before{content:"󰈧"}.mdi-file-powerpoint-box:before{content:"󰈨"}.mdi-file-powerpoint-box-outline:before{content:"󱀴"}.mdi-file-powerpoint-outline:before{content:"󱀵"}.mdi-file-presentation-box:before{content:"󰈩"}.mdi-file-question:before{content:"󰡯"}.mdi-file-question-outline:before{content:"󱀶"}.mdi-file-refresh:before{content:"󰤘"}.mdi-file-refresh-outline:before{content:"󰕁"}.mdi-file-remove:before{content:"󰮘"}.mdi-file-remove-outline:before{content:"󱀷"}.mdi-file-replace:before{content:"󰬲"}.mdi-file-replace-outline:before{content:"󰬳"}.mdi-file-restore:before{content:"󰙰"}.mdi-file-restore-outline:before{content:"󱀸"}.mdi-file-rotate-left:before{content:"󱨻"}.mdi-file-rotate-left-outline:before{content:"󱨼"}.mdi-file-rotate-right:before{content:"󱨽"}.mdi-file-rotate-right-outline:before{content:"󱨾"}.mdi-file-search:before{content:"󰱼"}.mdi-file-search-outline:before{content:"󰱽"}.mdi-file-send:before{content:"󰈪"}.mdi-file-send-outline:before{content:"󱀹"}.mdi-file-settings:before{content:"󱁹"}.mdi-file-settings-outline:before{content:"󱁺"}.mdi-file-sign:before{content:"󱧃"}.mdi-file-star:before{content:"󱀺"}.mdi-file-star-four-points:before{content:"󱰭"}.mdi-file-star-four-points-outline:before{content:"󱰮"}.mdi-file-star-outline:before{content:"󱀻"}.mdi-file-swap:before{content:"󰾴"}.mdi-file-swap-outline:before{content:"󰾵"}.mdi-file-sync:before{content:"󱈖"}.mdi-file-sync-outline:before{content:"󱈗"}.mdi-file-table:before{content:"󰱾"}.mdi-file-table-box:before{content:"󱃡"}.mdi-file-table-box-multiple:before{content:"󱃢"}.mdi-file-table-box-multiple-outline:before{content:"󱃣"}.mdi-file-table-box-outline:before{content:"󱃤"}.mdi-file-table-outline:before{content:"󰱿"}.mdi-file-tree:before{content:"󰙅"}.mdi-file-tree-outline:before{content:"󱏒"}.mdi-file-undo:before{content:"󰣜"}.mdi-file-undo-outline:before{content:"󱀼"}.mdi-file-upload:before{content:"󰩍"}.mdi-file-upload-outline:before{content:"󰩎"}.mdi-file-video:before{content:"󰈫"}.mdi-file-video-outline:before{content:"󰸬"}.mdi-file-word:before{content:"󰈬"}.mdi-file-word-box:before{content:"󰈭"}.mdi-file-word-box-outline:before{content:"󱀽"}.mdi-file-word-outline:before{content:"󱀾"}.mdi-file-xml-box:before{content:"󱭋"}.mdi-film:before{content:"󰈯"}.mdi-filmstrip:before{content:"󰈰"}.mdi-filmstrip-box:before{content:"󰌲"}.mdi-filmstrip-box-multiple:before{content:"󰴘"}.mdi-filmstrip-off:before{content:"󰈱"}.mdi-filter:before{content:"󰈲"}.mdi-filter-check:before{content:"󱣬"}.mdi-filter-check-outline:before{content:"󱣭"}.mdi-filter-cog:before{content:"󱪣"}.mdi-filter-cog-outline:before{content:"󱪤"}.mdi-filter-menu:before{content:"󱃥"}.mdi-filter-menu-outline:before{content:"󱃦"}.mdi-filter-minus:before{content:"󰻮"}.mdi-filter-minus-outline:before{content:"󰻯"}.mdi-filter-multiple:before{content:"󱨿"}.mdi-filter-multiple-outline:before{content:"󱩀"}.mdi-filter-off:before{content:"󱓯"}.mdi-filter-off-outline:before{content:"󱓰"}.mdi-filter-outline:before{content:"󰈳"}.mdi-filter-plus:before{content:"󰻰"}.mdi-filter-plus-outline:before{content:"󰻱"}.mdi-filter-remove:before{content:"󰈴"}.mdi-filter-remove-outline:before{content:"󰈵"}.mdi-filter-settings:before{content:"󱪥"}.mdi-filter-settings-outline:before{content:"󱪦"}.mdi-filter-variant:before{content:"󰈶"}.mdi-filter-variant-minus:before{content:"󱄒"}.mdi-filter-variant-plus:before{content:"󱄓"}.mdi-filter-variant-remove:before{content:"󱀿"}.mdi-finance:before{content:"󰠟"}.mdi-find-replace:before{content:"󰛔"}.mdi-fingerprint:before{content:"󰈷"}.mdi-fingerprint-off:before{content:"󰺱"}.mdi-fire:before{content:"󰈸"}.mdi-fire-alert:before{content:"󱗗"}.mdi-fire-circle:before{content:"󱠇"}.mdi-fire-extinguisher:before{content:"󰻲"}.mdi-fire-hydrant:before{content:"󱄷"}.mdi-fire-hydrant-alert:before{content:"󱄸"}.mdi-fire-hydrant-off:before{content:"󱄹"}.mdi-fire-off:before{content:"󱜢"}.mdi-fire-truck:before{content:"󰢫"}.mdi-firebase:before{content:"󰥧"}.mdi-firefox:before{content:"󰈹"}.mdi-fireplace:before{content:"󰸮"}.mdi-fireplace-off:before{content:"󰸯"}.mdi-firewire:before{content:"󰖾"}.mdi-firework:before{content:"󰸰"}.mdi-firework-off:before{content:"󱜣"}.mdi-fish:before{content:"󰈺"}.mdi-fish-off:before{content:"󱏳"}.mdi-fishbowl:before{content:"󰻳"}.mdi-fishbowl-outline:before{content:"󰻴"}.mdi-fit-to-page:before{content:"󰻵"}.mdi-fit-to-page-outline:before{content:"󰻶"}.mdi-fit-to-screen:before{content:"󱣴"}.mdi-fit-to-screen-outline:before{content:"󱣵"}.mdi-flag:before{content:"󰈻"}.mdi-flag-checkered:before{content:"󰈼"}.mdi-flag-minus:before{content:"󰮙"}.mdi-flag-minus-outline:before{content:"󱂲"}.mdi-flag-off:before{content:"󱣮"}.mdi-flag-off-outline:before{content:"󱣯"}.mdi-flag-outline:before{content:"󰈽"}.mdi-flag-plus:before{content:"󰮚"}.mdi-flag-plus-outline:before{content:"󱂳"}.mdi-flag-remove:before{content:"󰮛"}.mdi-flag-remove-outline:before{content:"󱂴"}.mdi-flag-triangle:before{content:"󰈿"}.mdi-flag-variant:before{content:"󰉀"}.mdi-flag-variant-minus:before{content:"󱮴"}.mdi-flag-variant-minus-outline:before{content:"󱮵"}.mdi-flag-variant-off:before{content:"󱮰"}.mdi-flag-variant-off-outline:before{content:"󱮱"}.mdi-flag-variant-outline:before{content:"󰈾"}.mdi-flag-variant-plus:before{content:"󱮲"}.mdi-flag-variant-plus-outline:before{content:"󱮳"}.mdi-flag-variant-remove:before{content:"󱮶"}.mdi-flag-variant-remove-outline:before{content:"󱮷"}.mdi-flare:before{content:"󰵲"}.mdi-flash:before{content:"󰉁"}.mdi-flash-alert:before{content:"󰻷"}.mdi-flash-alert-outline:before{content:"󰻸"}.mdi-flash-auto:before{content:"󰉂"}.mdi-flash-off:before{content:"󰉃"}.mdi-flash-off-outline:before{content:"󱭅"}.mdi-flash-outline:before{content:"󰛕"}.mdi-flash-red-eye:before{content:"󰙻"}.mdi-flash-triangle:before{content:"󱬝"}.mdi-flash-triangle-outline:before{content:"󱬞"}.mdi-flashlight:before{content:"󰉄"}.mdi-flashlight-off:before{content:"󰉅"}.mdi-flask:before{content:"󰂓"}.mdi-flask-empty:before{content:"󰂔"}.mdi-flask-empty-minus:before{content:"󱈺"}.mdi-flask-empty-minus-outline:before{content:"󱈻"}.mdi-flask-empty-off:before{content:"󱏴"}.mdi-flask-empty-off-outline:before{content:"󱏵"}.mdi-flask-empty-outline:before{content:"󰂕"}.mdi-flask-empty-plus:before{content:"󱈼"}.mdi-flask-empty-plus-outline:before{content:"󱈽"}.mdi-flask-empty-remove:before{content:"󱈾"}.mdi-flask-empty-remove-outline:before{content:"󱈿"}.mdi-flask-minus:before{content:"󱉀"}.mdi-flask-minus-outline:before{content:"󱉁"}.mdi-flask-off:before{content:"󱏶"}.mdi-flask-off-outline:before{content:"󱏷"}.mdi-flask-outline:before{content:"󰂖"}.mdi-flask-plus:before{content:"󱉂"}.mdi-flask-plus-outline:before{content:"󱉃"}.mdi-flask-remove:before{content:"󱉄"}.mdi-flask-remove-outline:before{content:"󱉅"}.mdi-flask-round-bottom:before{content:"󱉋"}.mdi-flask-round-bottom-empty:before{content:"󱉌"}.mdi-flask-round-bottom-empty-outline:before{content:"󱉍"}.mdi-flask-round-bottom-outline:before{content:"󱉎"}.mdi-fleur-de-lis:before{content:"󱌃"}.mdi-flip-horizontal:before{content:"󱃧"}.mdi-flip-to-back:before{content:"󰉇"}.mdi-flip-to-front:before{content:"󰉈"}.mdi-flip-vertical:before{content:"󱃨"}.mdi-floor-lamp:before{content:"󰣝"}.mdi-floor-lamp-dual:before{content:"󱁀"}.mdi-floor-lamp-dual-outline:before{content:"󱟎"}.mdi-floor-lamp-outline:before{content:"󱟈"}.mdi-floor-lamp-torchiere:before{content:"󱝇"}.mdi-floor-lamp-torchiere-outline:before{content:"󱟖"}.mdi-floor-lamp-torchiere-variant:before{content:"󱁁"}.mdi-floor-lamp-torchiere-variant-outline:before{content:"󱟏"}.mdi-floor-plan:before{content:"󰠡"}.mdi-floppy:before{content:"󰉉"}.mdi-floppy-variant:before{content:"󰧯"}.mdi-flower:before{content:"󰉊"}.mdi-flower-outline:before{content:"󰧰"}.mdi-flower-pollen:before{content:"󱢅"}.mdi-flower-pollen-outline:before{content:"󱢆"}.mdi-flower-poppy:before{content:"󰴈"}.mdi-flower-tulip:before{content:"󰧱"}.mdi-flower-tulip-outline:before{content:"󰧲"}.mdi-focus-auto:before{content:"󰽎"}.mdi-focus-field:before{content:"󰽏"}.mdi-focus-field-horizontal:before{content:"󰽐"}.mdi-focus-field-vertical:before{content:"󰽑"}.mdi-folder:before{content:"󰉋"}.mdi-folder-account:before{content:"󰉌"}.mdi-folder-account-outline:before{content:"󰮜"}.mdi-folder-alert:before{content:"󰷌"}.mdi-folder-alert-outline:before{content:"󰷍"}.mdi-folder-arrow-down:before{content:"󱧨"}.mdi-folder-arrow-down-outline:before{content:"󱧩"}.mdi-folder-arrow-left:before{content:"󱧪"}.mdi-folder-arrow-left-outline:before{content:"󱧫"}.mdi-folder-arrow-left-right:before{content:"󱧬"}.mdi-folder-arrow-left-right-outline:before{content:"󱧭"}.mdi-folder-arrow-right:before{content:"󱧮"}.mdi-folder-arrow-right-outline:before{content:"󱧯"}.mdi-folder-arrow-up:before{content:"󱧰"}.mdi-folder-arrow-up-down:before{content:"󱧱"}.mdi-folder-arrow-up-down-outline:before{content:"󱧲"}.mdi-folder-arrow-up-outline:before{content:"󱧳"}.mdi-folder-cancel:before{content:"󱧴"}.mdi-folder-cancel-outline:before{content:"󱧵"}.mdi-folder-check:before{content:"󱥾"}.mdi-folder-check-outline:before{content:"󱥿"}.mdi-folder-clock:before{content:"󰪺"}.mdi-folder-clock-outline:before{content:"󰪻"}.mdi-folder-cog:before{content:"󱁿"}.mdi-folder-cog-outline:before{content:"󱂀"}.mdi-folder-download:before{content:"󰉍"}.mdi-folder-download-outline:before{content:"󱃩"}.mdi-folder-edit:before{content:"󰣞"}.mdi-folder-edit-outline:before{content:"󰷎"}.mdi-folder-eye:before{content:"󱞊"}.mdi-folder-eye-outline:before{content:"󱞋"}.mdi-folder-file:before{content:"󱧶"}.mdi-folder-file-outline:before{content:"󱧷"}.mdi-folder-google-drive:before{content:"󰉎"}.mdi-folder-heart:before{content:"󱃪"}.mdi-folder-heart-outline:before{content:"󱃫"}.mdi-folder-hidden:before{content:"󱞞"}.mdi-folder-home:before{content:"󱂵"}.mdi-folder-home-outline:before{content:"󱂶"}.mdi-folder-image:before{content:"󰉏"}.mdi-folder-information:before{content:"󱂷"}.mdi-folder-information-outline:before{content:"󱂸"}.mdi-folder-key:before{content:"󰢬"}.mdi-folder-key-network:before{content:"󰢭"}.mdi-folder-key-network-outline:before{content:"󰲀"}.mdi-folder-key-outline:before{content:"󱃬"}.mdi-folder-lock:before{content:"󰉐"}.mdi-folder-lock-open:before{content:"󰉑"}.mdi-folder-lock-open-outline:before{content:"󱪧"}.mdi-folder-lock-outline:before{content:"󱪨"}.mdi-folder-marker:before{content:"󱉭"}.mdi-folder-marker-outline:before{content:"󱉮"}.mdi-folder-minus:before{content:"󱭉"}.mdi-folder-minus-outline:before{content:"󱭊"}.mdi-folder-move:before{content:"󰉒"}.mdi-folder-move-outline:before{content:"󱉆"}.mdi-folder-multiple:before{content:"󰉓"}.mdi-folder-multiple-image:before{content:"󰉔"}.mdi-folder-multiple-outline:before{content:"󰉕"}.mdi-folder-multiple-plus:before{content:"󱑾"}.mdi-folder-multiple-plus-outline:before{content:"󱑿"}.mdi-folder-music:before{content:"󱍙"}.mdi-folder-music-outline:before{content:"󱍚"}.mdi-folder-network:before{content:"󰡰"}.mdi-folder-network-outline:before{content:"󰲁"}.mdi-folder-off:before{content:"󱧸"}.mdi-folder-off-outline:before{content:"󱧹"}.mdi-folder-open:before{content:"󰝰"}.mdi-folder-open-outline:before{content:"󰷏"}.mdi-folder-outline:before{content:"󰉖"}.mdi-folder-play:before{content:"󱧺"}.mdi-folder-play-outline:before{content:"󱧻"}.mdi-folder-plus:before{content:"󰉗"}.mdi-folder-plus-outline:before{content:"󰮝"}.mdi-folder-pound:before{content:"󰴉"}.mdi-folder-pound-outline:before{content:"󰴊"}.mdi-folder-question:before{content:"󱧊"}.mdi-folder-question-outline:before{content:"󱧋"}.mdi-folder-refresh:before{content:"󰝉"}.mdi-folder-refresh-outline:before{content:"󰕂"}.mdi-folder-remove:before{content:"󰉘"}.mdi-folder-remove-outline:before{content:"󰮞"}.mdi-folder-search:before{content:"󰥨"}.mdi-folder-search-outline:before{content:"󰥩"}.mdi-folder-settings:before{content:"󱁽"}.mdi-folder-settings-outline:before{content:"󱁾"}.mdi-folder-star:before{content:"󰚝"}.mdi-folder-star-multiple:before{content:"󱏓"}.mdi-folder-star-multiple-outline:before{content:"󱏔"}.mdi-folder-star-outline:before{content:"󰮟"}.mdi-folder-swap:before{content:"󰾶"}.mdi-folder-swap-outline:before{content:"󰾷"}.mdi-folder-sync:before{content:"󰴋"}.mdi-folder-sync-outline:before{content:"󰴌"}.mdi-folder-table:before{content:"󱋣"}.mdi-folder-table-outline:before{content:"󱋤"}.mdi-folder-text:before{content:"󰲂"}.mdi-folder-text-outline:before{content:"󰲃"}.mdi-folder-upload:before{content:"󰉙"}.mdi-folder-upload-outline:before{content:"󱃭"}.mdi-folder-wrench:before{content:"󱧼"}.mdi-folder-wrench-outline:before{content:"󱧽"}.mdi-folder-zip:before{content:"󰛫"}.mdi-folder-zip-outline:before{content:"󰞹"}.mdi-font-awesome:before{content:"󰀺"}.mdi-food:before{content:"󰉚"}.mdi-food-apple:before{content:"󰉛"}.mdi-food-apple-outline:before{content:"󰲄"}.mdi-food-croissant:before{content:"󰟈"}.mdi-food-drumstick:before{content:"󱐟"}.mdi-food-drumstick-off:before{content:"󱑨"}.mdi-food-drumstick-off-outline:before{content:"󱑩"}.mdi-food-drumstick-outline:before{content:"󱐠"}.mdi-food-fork-drink:before{content:"󰗲"}.mdi-food-halal:before{content:"󱕲"}.mdi-food-hot-dog:before{content:"󱡋"}.mdi-food-kosher:before{content:"󱕳"}.mdi-food-off:before{content:"󰗳"}.mdi-food-off-outline:before{content:"󱤕"}.mdi-food-outline:before{content:"󱤖"}.mdi-food-steak:before{content:"󱑪"}.mdi-food-steak-off:before{content:"󱑫"}.mdi-food-takeout-box:before{content:"󱠶"}.mdi-food-takeout-box-outline:before{content:"󱠷"}.mdi-food-turkey:before{content:"󱜜"}.mdi-food-variant:before{content:"󰉜"}.mdi-food-variant-off:before{content:"󱏥"}.mdi-foot-print:before{content:"󰽒"}.mdi-football:before{content:"󰉝"}.mdi-football-australian:before{content:"󰉞"}.mdi-football-helmet:before{content:"󰉟"}.mdi-forest:before{content:"󱢗"}.mdi-forest-outline:before{content:"󱱣"}.mdi-forklift:before{content:"󰟉"}.mdi-form-dropdown:before{content:"󱐀"}.mdi-form-select:before{content:"󱐁"}.mdi-form-textarea:before{content:"󱂕"}.mdi-form-textbox:before{content:"󰘎"}.mdi-form-textbox-lock:before{content:"󱍝"}.mdi-form-textbox-password:before{content:"󰟵"}.mdi-format-align-bottom:before{content:"󰝓"}.mdi-format-align-center:before{content:"󰉠"}.mdi-format-align-justify:before{content:"󰉡"}.mdi-format-align-left:before{content:"󰉢"}.mdi-format-align-middle:before{content:"󰝔"}.mdi-format-align-right:before{content:"󰉣"}.mdi-format-align-top:before{content:"󰝕"}.mdi-format-annotation-minus:before{content:"󰪼"}.mdi-format-annotation-plus:before{content:"󰙆"}.mdi-format-bold:before{content:"󰉤"}.mdi-format-clear:before{content:"󰉥"}.mdi-format-color-fill:before{content:"󰉦"}.mdi-format-color-highlight:before{content:"󰸱"}.mdi-format-color-marker-cancel:before{content:"󱌓"}.mdi-format-color-text:before{content:"󰚞"}.mdi-format-columns:before{content:"󰣟"}.mdi-format-float-center:before{content:"󰉧"}.mdi-format-float-left:before{content:"󰉨"}.mdi-format-float-none:before{content:"󰉩"}.mdi-format-float-right:before{content:"󰉪"}.mdi-format-font:before{content:"󰛖"}.mdi-format-font-size-decrease:before{content:"󰧳"}.mdi-format-font-size-increase:before{content:"󰧴"}.mdi-format-header-1:before{content:"󰉫"}.mdi-format-header-2:before{content:"󰉬"}.mdi-format-header-3:before{content:"󰉭"}.mdi-format-header-4:before{content:"󰉮"}.mdi-format-header-5:before{content:"󰉯"}.mdi-format-header-6:before{content:"󰉰"}.mdi-format-header-decrease:before{content:"󰉱"}.mdi-format-header-equal:before{content:"󰉲"}.mdi-format-header-increase:before{content:"󰉳"}.mdi-format-header-pound:before{content:"󰉴"}.mdi-format-horizontal-align-center:before{content:"󰘞"}.mdi-format-horizontal-align-left:before{content:"󰘟"}.mdi-format-horizontal-align-right:before{content:"󰘠"}.mdi-format-indent-decrease:before{content:"󰉵"}.mdi-format-indent-increase:before{content:"󰉶"}.mdi-format-italic:before{content:"󰉷"}.mdi-format-letter-case:before{content:"󰬴"}.mdi-format-letter-case-lower:before{content:"󰬵"}.mdi-format-letter-case-upper:before{content:"󰬶"}.mdi-format-letter-ends-with:before{content:"󰾸"}.mdi-format-letter-matches:before{content:"󰾹"}.mdi-format-letter-spacing:before{content:"󱥖"}.mdi-format-letter-spacing-variant:before{content:"󱫻"}.mdi-format-letter-starts-with:before{content:"󰾺"}.mdi-format-line-height:before{content:"󱫼"}.mdi-format-line-spacing:before{content:"󰉸"}.mdi-format-line-style:before{content:"󰗈"}.mdi-format-line-weight:before{content:"󰗉"}.mdi-format-list-bulleted:before{content:"󰉹"}.mdi-format-list-bulleted-square:before{content:"󰷐"}.mdi-format-list-bulleted-triangle:before{content:"󰺲"}.mdi-format-list-bulleted-type:before{content:"󰉺"}.mdi-format-list-checkbox:before{content:"󰥪"}.mdi-format-list-checks:before{content:"󰝖"}.mdi-format-list-group:before{content:"󱡠"}.mdi-format-list-group-plus:before{content:"󱭖"}.mdi-format-list-numbered:before{content:"󰉻"}.mdi-format-list-numbered-rtl:before{content:"󰴍"}.mdi-format-list-text:before{content:"󱉯"}.mdi-format-overline:before{content:"󰺳"}.mdi-format-page-break:before{content:"󰛗"}.mdi-format-page-split:before{content:"󱤗"}.mdi-format-paint:before{content:"󰉼"}.mdi-format-paragraph:before{content:"󰉽"}.mdi-format-paragraph-spacing:before{content:"󱫽"}.mdi-format-pilcrow:before{content:"󰛘"}.mdi-format-pilcrow-arrow-left:before{content:"󰊆"}.mdi-format-pilcrow-arrow-right:before{content:"󰊅"}.mdi-format-quote-close:before{content:"󰉾"}.mdi-format-quote-close-outline:before{content:"󱆨"}.mdi-format-quote-open:before{content:"󰝗"}.mdi-format-quote-open-outline:before{content:"󱆧"}.mdi-format-rotate-90:before{content:"󰚪"}.mdi-format-section:before{content:"󰚟"}.mdi-format-size:before{content:"󰉿"}.mdi-format-strikethrough:before{content:"󰊀"}.mdi-format-strikethrough-variant:before{content:"󰊁"}.mdi-format-subscript:before{content:"󰊂"}.mdi-format-superscript:before{content:"󰊃"}.mdi-format-text:before{content:"󰊄"}.mdi-format-text-rotation-angle-down:before{content:"󰾻"}.mdi-format-text-rotation-angle-up:before{content:"󰾼"}.mdi-format-text-rotation-down:before{content:"󰵳"}.mdi-format-text-rotation-down-vertical:before{content:"󰾽"}.mdi-format-text-rotation-none:before{content:"󰵴"}.mdi-format-text-rotation-up:before{content:"󰾾"}.mdi-format-text-rotation-vertical:before{content:"󰾿"}.mdi-format-text-variant:before{content:"󰸲"}.mdi-format-text-variant-outline:before{content:"󱔏"}.mdi-format-text-wrapping-clip:before{content:"󰴎"}.mdi-format-text-wrapping-overflow:before{content:"󰴏"}.mdi-format-text-wrapping-wrap:before{content:"󰴐"}.mdi-format-textbox:before{content:"󰴑"}.mdi-format-title:before{content:"󰗴"}.mdi-format-underline:before{content:"󰊇"}.mdi-format-underline-wavy:before{content:"󱣩"}.mdi-format-vertical-align-bottom:before{content:"󰘡"}.mdi-format-vertical-align-center:before{content:"󰘢"}.mdi-format-vertical-align-top:before{content:"󰘣"}.mdi-format-wrap-inline:before{content:"󰊈"}.mdi-format-wrap-square:before{content:"󰊉"}.mdi-format-wrap-tight:before{content:"󰊊"}.mdi-format-wrap-top-bottom:before{content:"󰊋"}.mdi-forum:before{content:"󰊌"}.mdi-forum-minus:before{content:"󱪩"}.mdi-forum-minus-outline:before{content:"󱪪"}.mdi-forum-outline:before{content:"󰠢"}.mdi-forum-plus:before{content:"󱪫"}.mdi-forum-plus-outline:before{content:"󱪬"}.mdi-forum-remove:before{content:"󱪭"}.mdi-forum-remove-outline:before{content:"󱪮"}.mdi-forward:before{content:"󰊍"}.mdi-forwardburger:before{content:"󰵵"}.mdi-fountain:before{content:"󰥫"}.mdi-fountain-pen:before{content:"󰴒"}.mdi-fountain-pen-tip:before{content:"󰴓"}.mdi-fraction-one-half:before{content:"󱦒"}.mdi-freebsd:before{content:"󰣠"}.mdi-french-fries:before{content:"󱥗"}.mdi-frequently-asked-questions:before{content:"󰺴"}.mdi-fridge:before{content:"󰊐"}.mdi-fridge-alert:before{content:"󱆱"}.mdi-fridge-alert-outline:before{content:"󱆲"}.mdi-fridge-bottom:before{content:"󰊒"}.mdi-fridge-industrial:before{content:"󱗮"}.mdi-fridge-industrial-alert:before{content:"󱗯"}.mdi-fridge-industrial-alert-outline:before{content:"󱗰"}.mdi-fridge-industrial-off:before{content:"󱗱"}.mdi-fridge-industrial-off-outline:before{content:"󱗲"}.mdi-fridge-industrial-outline:before{content:"󱗳"}.mdi-fridge-off:before{content:"󱆯"}.mdi-fridge-off-outline:before{content:"󱆰"}.mdi-fridge-outline:before{content:"󰊏"}.mdi-fridge-top:before{content:"󰊑"}.mdi-fridge-variant:before{content:"󱗴"}.mdi-fridge-variant-alert:before{content:"󱗵"}.mdi-fridge-variant-alert-outline:before{content:"󱗶"}.mdi-fridge-variant-off:before{content:"󱗷"}.mdi-fridge-variant-off-outline:before{content:"󱗸"}.mdi-fridge-variant-outline:before{content:"󱗹"}.mdi-fruit-cherries:before{content:"󱁂"}.mdi-fruit-cherries-off:before{content:"󱏸"}.mdi-fruit-citrus:before{content:"󱁃"}.mdi-fruit-citrus-off:before{content:"󱏹"}.mdi-fruit-grapes:before{content:"󱁄"}.mdi-fruit-grapes-outline:before{content:"󱁅"}.mdi-fruit-pear:before{content:"󱨎"}.mdi-fruit-pineapple:before{content:"󱁆"}.mdi-fruit-watermelon:before{content:"󱁇"}.mdi-fuel:before{content:"󰟊"}.mdi-fuel-cell:before{content:"󱢵"}.mdi-fullscreen:before{content:"󰊓"}.mdi-fullscreen-exit:before{content:"󰊔"}.mdi-function:before{content:"󰊕"}.mdi-function-variant:before{content:"󰡱"}.mdi-furigana-horizontal:before{content:"󱂁"}.mdi-furigana-vertical:before{content:"󱂂"}.mdi-fuse:before{content:"󰲅"}.mdi-fuse-alert:before{content:"󱐭"}.mdi-fuse-blade:before{content:"󰲆"}.mdi-fuse-off:before{content:"󱐬"}.mdi-gamepad:before{content:"󰊖"}.mdi-gamepad-circle:before{content:"󰸳"}.mdi-gamepad-circle-down:before{content:"󰸴"}.mdi-gamepad-circle-left:before{content:"󰸵"}.mdi-gamepad-circle-outline:before{content:"󰸶"}.mdi-gamepad-circle-right:before{content:"󰸷"}.mdi-gamepad-circle-up:before{content:"󰸸"}.mdi-gamepad-down:before{content:"󰸹"}.mdi-gamepad-left:before{content:"󰸺"}.mdi-gamepad-outline:before{content:"󱤙"}.mdi-gamepad-right:before{content:"󰸻"}.mdi-gamepad-round:before{content:"󰸼"}.mdi-gamepad-round-down:before{content:"󰸽"}.mdi-gamepad-round-left:before{content:"󰸾"}.mdi-gamepad-round-outline:before{content:"󰸿"}.mdi-gamepad-round-right:before{content:"󰹀"}.mdi-gamepad-round-up:before{content:"󰹁"}.mdi-gamepad-square:before{content:"󰺵"}.mdi-gamepad-square-outline:before{content:"󰺶"}.mdi-gamepad-up:before{content:"󰹂"}.mdi-gamepad-variant:before{content:"󰊗"}.mdi-gamepad-variant-outline:before{content:"󰺷"}.mdi-gamma:before{content:"󱃮"}.mdi-gantry-crane:before{content:"󰷑"}.mdi-garage:before{content:"󰛙"}.mdi-garage-alert:before{content:"󰡲"}.mdi-garage-alert-variant:before{content:"󱋕"}.mdi-garage-lock:before{content:"󱟻"}.mdi-garage-open:before{content:"󰛚"}.mdi-garage-open-variant:before{content:"󱋔"}.mdi-garage-variant:before{content:"󱋓"}.mdi-garage-variant-lock:before{content:"󱟼"}.mdi-gas-burner:before{content:"󱨛"}.mdi-gas-cylinder:before{content:"󰙇"}.mdi-gas-station:before{content:"󰊘"}.mdi-gas-station-off:before{content:"󱐉"}.mdi-gas-station-off-outline:before{content:"󱐊"}.mdi-gas-station-outline:before{content:"󰺸"}.mdi-gate:before{content:"󰊙"}.mdi-gate-alert:before{content:"󱟸"}.mdi-gate-and:before{content:"󰣡"}.mdi-gate-arrow-left:before{content:"󱟷"}.mdi-gate-arrow-right:before{content:"󱅩"}.mdi-gate-buffer:before{content:"󱫾"}.mdi-gate-nand:before{content:"󰣢"}.mdi-gate-nor:before{content:"󰣣"}.mdi-gate-not:before{content:"󰣤"}.mdi-gate-open:before{content:"󱅪"}.mdi-gate-or:before{content:"󰣥"}.mdi-gate-xnor:before{content:"󰣦"}.mdi-gate-xor:before{content:"󰣧"}.mdi-gatsby:before{content:"󰹃"}.mdi-gauge:before{content:"󰊚"}.mdi-gauge-empty:before{content:"󰡳"}.mdi-gauge-full:before{content:"󰡴"}.mdi-gauge-low:before{content:"󰡵"}.mdi-gavel:before{content:"󰊛"}.mdi-gender-female:before{content:"󰊜"}.mdi-gender-male:before{content:"󰊝"}.mdi-gender-male-female:before{content:"󰊞"}.mdi-gender-male-female-variant:before{content:"󱄿"}.mdi-gender-non-binary:before{content:"󱅀"}.mdi-gender-transgender:before{content:"󰊟"}.mdi-gentoo:before{content:"󰣨"}.mdi-gesture:before{content:"󰟋"}.mdi-gesture-double-tap:before{content:"󰜼"}.mdi-gesture-pinch:before{content:"󰪽"}.mdi-gesture-spread:before{content:"󰪾"}.mdi-gesture-swipe:before{content:"󰵶"}.mdi-gesture-swipe-down:before{content:"󰜽"}.mdi-gesture-swipe-horizontal:before{content:"󰪿"}.mdi-gesture-swipe-left:before{content:"󰜾"}.mdi-gesture-swipe-right:before{content:"󰜿"}.mdi-gesture-swipe-up:before{content:"󰝀"}.mdi-gesture-swipe-vertical:before{content:"󰫀"}.mdi-gesture-tap:before{content:"󰝁"}.mdi-gesture-tap-box:before{content:"󱊩"}.mdi-gesture-tap-button:before{content:"󱊨"}.mdi-gesture-tap-hold:before{content:"󰵷"}.mdi-gesture-two-double-tap:before{content:"󰝂"}.mdi-gesture-two-tap:before{content:"󰝃"}.mdi-ghost:before{content:"󰊠"}.mdi-ghost-off:before{content:"󰧵"}.mdi-ghost-off-outline:before{content:"󱙜"}.mdi-ghost-outline:before{content:"󱙝"}.mdi-gift:before{content:"󰹄"}.mdi-gift-off:before{content:"󱛯"}.mdi-gift-off-outline:before{content:"󱛰"}.mdi-gift-open:before{content:"󱛱"}.mdi-gift-open-outline:before{content:"󱛲"}.mdi-gift-outline:before{content:"󰊡"}.mdi-git:before{content:"󰊢"}.mdi-github:before{content:"󰊤"}.mdi-gitlab:before{content:"󰮠"}.mdi-glass-cocktail:before{content:"󰍖"}.mdi-glass-cocktail-off:before{content:"󱗦"}.mdi-glass-flute:before{content:"󰊥"}.mdi-glass-fragile:before{content:"󱡳"}.mdi-glass-mug:before{content:"󰊦"}.mdi-glass-mug-off:before{content:"󱗧"}.mdi-glass-mug-variant:before{content:"󱄖"}.mdi-glass-mug-variant-off:before{content:"󱗨"}.mdi-glass-pint-outline:before{content:"󱌍"}.mdi-glass-stange:before{content:"󰊧"}.mdi-glass-tulip:before{content:"󰊨"}.mdi-glass-wine:before{content:"󰡶"}.mdi-glasses:before{content:"󰊪"}.mdi-globe-light:before{content:"󰙯"}.mdi-globe-light-outline:before{content:"󱋗"}.mdi-globe-model:before{content:"󰣩"}.mdi-gmail:before{content:"󰊫"}.mdi-gnome:before{content:"󰊬"}.mdi-go-kart:before{content:"󰵹"}.mdi-go-kart-track:before{content:"󰵺"}.mdi-gog:before{content:"󰮡"}.mdi-gold:before{content:"󱉏"}.mdi-golf:before{content:"󰠣"}.mdi-golf-cart:before{content:"󱆤"}.mdi-golf-tee:before{content:"󱂃"}.mdi-gondola:before{content:"󰚆"}.mdi-goodreads:before{content:"󰵻"}.mdi-google:before{content:"󰊭"}.mdi-google-ads:before{content:"󰲇"}.mdi-google-analytics:before{content:"󰟌"}.mdi-google-assistant:before{content:"󰟍"}.mdi-google-cardboard:before{content:"󰊮"}.mdi-google-chrome:before{content:"󰊯"}.mdi-google-circles:before{content:"󰊰"}.mdi-google-circles-communities:before{content:"󰊱"}.mdi-google-circles-extended:before{content:"󰊲"}.mdi-google-circles-group:before{content:"󰊳"}.mdi-google-classroom:before{content:"󰋀"}.mdi-google-cloud:before{content:"󱇶"}.mdi-google-downasaur:before{content:"󱍢"}.mdi-google-drive:before{content:"󰊶"}.mdi-google-earth:before{content:"󰊷"}.mdi-google-fit:before{content:"󰥬"}.mdi-google-glass:before{content:"󰊸"}.mdi-google-hangouts:before{content:"󰋉"}.mdi-google-keep:before{content:"󰛜"}.mdi-google-lens:before{content:"󰧶"}.mdi-google-maps:before{content:"󰗵"}.mdi-google-my-business:before{content:"󱁈"}.mdi-google-nearby:before{content:"󰊹"}.mdi-google-play:before{content:"󰊼"}.mdi-google-plus:before{content:"󰊽"}.mdi-google-podcast:before{content:"󰺹"}.mdi-google-spreadsheet:before{content:"󰧷"}.mdi-google-street-view:before{content:"󰲈"}.mdi-google-translate:before{content:"󰊿"}.mdi-gradient-horizontal:before{content:"󱝊"}.mdi-gradient-vertical:before{content:"󰚠"}.mdi-grain:before{content:"󰵼"}.mdi-graph:before{content:"󱁉"}.mdi-graph-outline:before{content:"󱁊"}.mdi-graphql:before{content:"󰡷"}.mdi-grass:before{content:"󱔐"}.mdi-grave-stone:before{content:"󰮢"}.mdi-grease-pencil:before{content:"󰙈"}.mdi-greater-than:before{content:"󰥭"}.mdi-greater-than-or-equal:before{content:"󰥮"}.mdi-greenhouse:before{content:"󰀭"}.mdi-grid:before{content:"󰋁"}.mdi-grid-large:before{content:"󰝘"}.mdi-grid-off:before{content:"󰋂"}.mdi-grill:before{content:"󰹅"}.mdi-grill-outline:before{content:"󱆊"}.mdi-group:before{content:"󰋃"}.mdi-guitar-acoustic:before{content:"󰝱"}.mdi-guitar-electric:before{content:"󰋄"}.mdi-guitar-pick:before{content:"󰋅"}.mdi-guitar-pick-outline:before{content:"󰋆"}.mdi-guy-fawkes-mask:before{content:"󰠥"}.mdi-gymnastics:before{content:"󱩁"}.mdi-hail:before{content:"󰫁"}.mdi-hair-dryer:before{content:"󱃯"}.mdi-hair-dryer-outline:before{content:"󱃰"}.mdi-halloween:before{content:"󰮣"}.mdi-hamburger:before{content:"󰚅"}.mdi-hamburger-check:before{content:"󱝶"}.mdi-hamburger-minus:before{content:"󱝷"}.mdi-hamburger-off:before{content:"󱝸"}.mdi-hamburger-plus:before{content:"󱝹"}.mdi-hamburger-remove:before{content:"󱝺"}.mdi-hammer:before{content:"󰣪"}.mdi-hammer-screwdriver:before{content:"󱌢"}.mdi-hammer-sickle:before{content:"󱢇"}.mdi-hammer-wrench:before{content:"󱌣"}.mdi-hand-back-left:before{content:"󰹆"}.mdi-hand-back-left-off:before{content:"󱠰"}.mdi-hand-back-left-off-outline:before{content:"󱠲"}.mdi-hand-back-left-outline:before{content:"󱠬"}.mdi-hand-back-right:before{content:"󰹇"}.mdi-hand-back-right-off:before{content:"󱠱"}.mdi-hand-back-right-off-outline:before{content:"󱠳"}.mdi-hand-back-right-outline:before{content:"󱠭"}.mdi-hand-clap:before{content:"󱥋"}.mdi-hand-clap-off:before{content:"󱩂"}.mdi-hand-coin:before{content:"󱢏"}.mdi-hand-coin-outline:before{content:"󱢐"}.mdi-hand-cycle:before{content:"󱮜"}.mdi-hand-extended:before{content:"󱢶"}.mdi-hand-extended-outline:before{content:"󱢷"}.mdi-hand-front-left:before{content:"󱠫"}.mdi-hand-front-left-outline:before{content:"󱠮"}.mdi-hand-front-right:before{content:"󰩏"}.mdi-hand-front-right-outline:before{content:"󱠯"}.mdi-hand-heart:before{content:"󱃱"}.mdi-hand-heart-outline:before{content:"󱕾"}.mdi-hand-okay:before{content:"󰩐"}.mdi-hand-peace:before{content:"󰩑"}.mdi-hand-peace-variant:before{content:"󰩒"}.mdi-hand-pointing-down:before{content:"󰩓"}.mdi-hand-pointing-left:before{content:"󰩔"}.mdi-hand-pointing-right:before{content:"󰋇"}.mdi-hand-pointing-up:before{content:"󰩕"}.mdi-hand-saw:before{content:"󰹈"}.mdi-hand-wash:before{content:"󱕿"}.mdi-hand-wash-outline:before{content:"󱖀"}.mdi-hand-water:before{content:"󱎟"}.mdi-hand-wave:before{content:"󱠡"}.mdi-hand-wave-outline:before{content:"󱠢"}.mdi-handball:before{content:"󰽓"}.mdi-handcuffs:before{content:"󱄾"}.mdi-hands-pray:before{content:"󰕹"}.mdi-handshake:before{content:"󱈘"}.mdi-handshake-outline:before{content:"󱖡"}.mdi-hanger:before{content:"󰋈"}.mdi-hard-hat:before{content:"󰥯"}.mdi-harddisk:before{content:"󰋊"}.mdi-harddisk-plus:before{content:"󱁋"}.mdi-harddisk-remove:before{content:"󱁌"}.mdi-hat-fedora:before{content:"󰮤"}.mdi-hazard-lights:before{content:"󰲉"}.mdi-hdmi-port:before{content:"󱮸"}.mdi-hdr:before{content:"󰵽"}.mdi-hdr-off:before{content:"󰵾"}.mdi-head:before{content:"󱍞"}.mdi-head-alert:before{content:"󱌸"}.mdi-head-alert-outline:before{content:"󱌹"}.mdi-head-check:before{content:"󱌺"}.mdi-head-check-outline:before{content:"󱌻"}.mdi-head-cog:before{content:"󱌼"}.mdi-head-cog-outline:before{content:"󱌽"}.mdi-head-dots-horizontal:before{content:"󱌾"}.mdi-head-dots-horizontal-outline:before{content:"󱌿"}.mdi-head-flash:before{content:"󱍀"}.mdi-head-flash-outline:before{content:"󱍁"}.mdi-head-heart:before{content:"󱍂"}.mdi-head-heart-outline:before{content:"󱍃"}.mdi-head-lightbulb:before{content:"󱍄"}.mdi-head-lightbulb-outline:before{content:"󱍅"}.mdi-head-minus:before{content:"󱍆"}.mdi-head-minus-outline:before{content:"󱍇"}.mdi-head-outline:before{content:"󱍟"}.mdi-head-plus:before{content:"󱍈"}.mdi-head-plus-outline:before{content:"󱍉"}.mdi-head-question:before{content:"󱍊"}.mdi-head-question-outline:before{content:"󱍋"}.mdi-head-remove:before{content:"󱍌"}.mdi-head-remove-outline:before{content:"󱍍"}.mdi-head-snowflake:before{content:"󱍎"}.mdi-head-snowflake-outline:before{content:"󱍏"}.mdi-head-sync:before{content:"󱍐"}.mdi-head-sync-outline:before{content:"󱍑"}.mdi-headphones:before{content:"󰋋"}.mdi-headphones-bluetooth:before{content:"󰥰"}.mdi-headphones-box:before{content:"󰋌"}.mdi-headphones-off:before{content:"󰟎"}.mdi-headphones-settings:before{content:"󰋍"}.mdi-headset:before{content:"󰋎"}.mdi-headset-dock:before{content:"󰋏"}.mdi-headset-off:before{content:"󰋐"}.mdi-heart:before{content:"󰋑"}.mdi-heart-box:before{content:"󰋒"}.mdi-heart-box-outline:before{content:"󰋓"}.mdi-heart-broken:before{content:"󰋔"}.mdi-heart-broken-outline:before{content:"󰴔"}.mdi-heart-circle:before{content:"󰥱"}.mdi-heart-circle-outline:before{content:"󰥲"}.mdi-heart-cog:before{content:"󱙣"}.mdi-heart-cog-outline:before{content:"󱙤"}.mdi-heart-flash:before{content:"󰻹"}.mdi-heart-half:before{content:"󰛟"}.mdi-heart-half-full:before{content:"󰛞"}.mdi-heart-half-outline:before{content:"󰛠"}.mdi-heart-minus:before{content:"󱐯"}.mdi-heart-minus-outline:before{content:"󱐲"}.mdi-heart-multiple:before{content:"󰩖"}.mdi-heart-multiple-outline:before{content:"󰩗"}.mdi-heart-off:before{content:"󰝙"}.mdi-heart-off-outline:before{content:"󱐴"}.mdi-heart-outline:before{content:"󰋕"}.mdi-heart-plus:before{content:"󱐮"}.mdi-heart-plus-outline:before{content:"󱐱"}.mdi-heart-pulse:before{content:"󰗶"}.mdi-heart-remove:before{content:"󱐰"}.mdi-heart-remove-outline:before{content:"󱐳"}.mdi-heart-settings:before{content:"󱙥"}.mdi-heart-settings-outline:before{content:"󱙦"}.mdi-heat-pump:before{content:"󱩃"}.mdi-heat-pump-outline:before{content:"󱩄"}.mdi-heat-wave:before{content:"󱩅"}.mdi-heating-coil:before{content:"󱪯"}.mdi-helicopter:before{content:"󰫂"}.mdi-help:before{content:"󰋖"}.mdi-help-box:before{content:"󰞋"}.mdi-help-box-multiple:before{content:"󱰊"}.mdi-help-box-multiple-outline:before{content:"󱰋"}.mdi-help-box-outline:before{content:"󱰌"}.mdi-help-circle:before{content:"󰋗"}.mdi-help-circle-outline:before{content:"󰘥"}.mdi-help-network:before{content:"󰛵"}.mdi-help-network-outline:before{content:"󰲊"}.mdi-help-rhombus:before{content:"󰮥"}.mdi-help-rhombus-outline:before{content:"󰮦"}.mdi-hexadecimal:before{content:"󱊧"}.mdi-hexagon:before{content:"󰋘"}.mdi-hexagon-multiple:before{content:"󰛡"}.mdi-hexagon-multiple-outline:before{content:"󱃲"}.mdi-hexagon-outline:before{content:"󰋙"}.mdi-hexagon-slice-1:before{content:"󰫃"}.mdi-hexagon-slice-2:before{content:"󰫄"}.mdi-hexagon-slice-3:before{content:"󰫅"}.mdi-hexagon-slice-4:before{content:"󰫆"}.mdi-hexagon-slice-5:before{content:"󰫇"}.mdi-hexagon-slice-6:before{content:"󰫈"}.mdi-hexagram:before{content:"󰫉"}.mdi-hexagram-outline:before{content:"󰫊"}.mdi-high-definition:before{content:"󰟏"}.mdi-high-definition-box:before{content:"󰡸"}.mdi-highway:before{content:"󰗷"}.mdi-hiking:before{content:"󰵿"}.mdi-history:before{content:"󰋚"}.mdi-hockey-puck:before{content:"󰡹"}.mdi-hockey-sticks:before{content:"󰡺"}.mdi-hololens:before{content:"󰋛"}.mdi-home:before{content:"󰋜"}.mdi-home-account:before{content:"󰠦"}.mdi-home-alert:before{content:"󰡻"}.mdi-home-alert-outline:before{content:"󱗐"}.mdi-home-analytics:before{content:"󰺺"}.mdi-home-assistant:before{content:"󰟐"}.mdi-home-automation:before{content:"󰟑"}.mdi-home-battery:before{content:"󱤁"}.mdi-home-battery-outline:before{content:"󱤂"}.mdi-home-circle:before{content:"󰟒"}.mdi-home-circle-outline:before{content:"󱁍"}.mdi-home-city:before{content:"󰴕"}.mdi-home-city-outline:before{content:"󰴖"}.mdi-home-clock:before{content:"󱨒"}.mdi-home-clock-outline:before{content:"󱨓"}.mdi-home-edit:before{content:"󱅙"}.mdi-home-edit-outline:before{content:"󱅚"}.mdi-home-export-outline:before{content:"󰾛"}.mdi-home-flood:before{content:"󰻺"}.mdi-home-floor-0:before{content:"󰷒"}.mdi-home-floor-1:before{content:"󰶀"}.mdi-home-floor-2:before{content:"󰶁"}.mdi-home-floor-3:before{content:"󰶂"}.mdi-home-floor-a:before{content:"󰶃"}.mdi-home-floor-b:before{content:"󰶄"}.mdi-home-floor-g:before{content:"󰶅"}.mdi-home-floor-l:before{content:"󰶆"}.mdi-home-floor-negative-1:before{content:"󰷓"}.mdi-home-group:before{content:"󰷔"}.mdi-home-group-minus:before{content:"󱧁"}.mdi-home-group-plus:before{content:"󱧀"}.mdi-home-group-remove:before{content:"󱧂"}.mdi-home-heart:before{content:"󰠧"}.mdi-home-import-outline:before{content:"󰾜"}.mdi-home-lightbulb:before{content:"󱉑"}.mdi-home-lightbulb-outline:before{content:"󱉒"}.mdi-home-lightning-bolt:before{content:"󱤃"}.mdi-home-lightning-bolt-outline:before{content:"󱤄"}.mdi-home-lock:before{content:"󰣫"}.mdi-home-lock-open:before{content:"󰣬"}.mdi-home-map-marker:before{content:"󰗸"}.mdi-home-minus:before{content:"󰥴"}.mdi-home-minus-outline:before{content:"󱏕"}.mdi-home-modern:before{content:"󰋝"}.mdi-home-off:before{content:"󱩆"}.mdi-home-off-outline:before{content:"󱩇"}.mdi-home-outline:before{content:"󰚡"}.mdi-home-percent:before{content:"󱱼"}.mdi-home-percent-outline:before{content:"󱱽"}.mdi-home-plus:before{content:"󰥵"}.mdi-home-plus-outline:before{content:"󱏖"}.mdi-home-remove:before{content:"󱉇"}.mdi-home-remove-outline:before{content:"󱏗"}.mdi-home-roof:before{content:"󱄫"}.mdi-home-search:before{content:"󱎰"}.mdi-home-search-outline:before{content:"󱎱"}.mdi-home-silo:before{content:"󱮠"}.mdi-home-silo-outline:before{content:"󱮡"}.mdi-home-sound-in:before{content:"󱰯"}.mdi-home-sound-in-outline:before{content:"󱰰"}.mdi-home-sound-out:before{content:"󱰱"}.mdi-home-sound-out-outline:before{content:"󱰲"}.mdi-home-switch:before{content:"󱞔"}.mdi-home-switch-outline:before{content:"󱞕"}.mdi-home-thermometer:before{content:"󰽔"}.mdi-home-thermometer-outline:before{content:"󰽕"}.mdi-home-variant:before{content:"󰋞"}.mdi-home-variant-outline:before{content:"󰮧"}.mdi-hook:before{content:"󰛢"}.mdi-hook-off:before{content:"󰛣"}.mdi-hoop-house:before{content:"󰹖"}.mdi-hops:before{content:"󰋟"}.mdi-horizontal-rotate-clockwise:before{content:"󱃳"}.mdi-horizontal-rotate-counterclockwise:before{content:"󱃴"}.mdi-horse:before{content:"󱖿"}.mdi-horse-human:before{content:"󱗀"}.mdi-horse-variant:before{content:"󱗁"}.mdi-horse-variant-fast:before{content:"󱡮"}.mdi-horseshoe:before{content:"󰩘"}.mdi-hospital:before{content:"󰿶"}.mdi-hospital-box:before{content:"󰋠"}.mdi-hospital-box-outline:before{content:"󰿷"}.mdi-hospital-building:before{content:"󰋡"}.mdi-hospital-marker:before{content:"󰋢"}.mdi-hot-tub:before{content:"󰠨"}.mdi-hours-24:before{content:"󱑸"}.mdi-hubspot:before{content:"󰴗"}.mdi-hulu:before{content:"󰠩"}.mdi-human:before{content:"󰋦"}.mdi-human-baby-changing-table:before{content:"󱎋"}.mdi-human-cane:before{content:"󱖁"}.mdi-human-capacity-decrease:before{content:"󱖛"}.mdi-human-capacity-increase:before{content:"󱖜"}.mdi-human-child:before{content:"󰋧"}.mdi-human-dolly:before{content:"󱦀"}.mdi-human-edit:before{content:"󱓨"}.mdi-human-female:before{content:"󰙉"}.mdi-human-female-boy:before{content:"󰩙"}.mdi-human-female-dance:before{content:"󱗉"}.mdi-human-female-female:before{content:"󰩚"}.mdi-human-female-girl:before{content:"󰩛"}.mdi-human-greeting:before{content:"󱟄"}.mdi-human-greeting-proximity:before{content:"󱖝"}.mdi-human-greeting-variant:before{content:"󰙊"}.mdi-human-handsdown:before{content:"󰙋"}.mdi-human-handsup:before{content:"󰙌"}.mdi-human-male:before{content:"󰙍"}.mdi-human-male-board:before{content:"󰢐"}.mdi-human-male-board-poll:before{content:"󰡆"}.mdi-human-male-boy:before{content:"󰩜"}.mdi-human-male-child:before{content:"󱎌"}.mdi-human-male-female:before{content:"󰋨"}.mdi-human-male-female-child:before{content:"󱠣"}.mdi-human-male-girl:before{content:"󰩝"}.mdi-human-male-height:before{content:"󰻻"}.mdi-human-male-height-variant:before{content:"󰻼"}.mdi-human-male-male:before{content:"󰩞"}.mdi-human-non-binary:before{content:"󱡈"}.mdi-human-pregnant:before{content:"󰗏"}.mdi-human-queue:before{content:"󱕱"}.mdi-human-scooter:before{content:"󱇩"}.mdi-human-walker:before{content:"󱭱"}.mdi-human-wheelchair:before{content:"󱎍"}.mdi-human-white-cane:before{content:"󱦁"}.mdi-humble-bundle:before{content:"󰝄"}.mdi-hvac:before{content:"󱍒"}.mdi-hvac-off:before{content:"󱖞"}.mdi-hydraulic-oil-level:before{content:"󱌤"}.mdi-hydraulic-oil-temperature:before{content:"󱌥"}.mdi-hydro-power:before{content:"󱋥"}.mdi-hydrogen-station:before{content:"󱢔"}.mdi-ice-cream:before{content:"󰠪"}.mdi-ice-cream-off:before{content:"󰹒"}.mdi-ice-pop:before{content:"󰻽"}.mdi-id-card:before{content:"󰿀"}.mdi-identifier:before{content:"󰻾"}.mdi-ideogram-cjk:before{content:"󱌱"}.mdi-ideogram-cjk-variant:before{content:"󱌲"}.mdi-image:before{content:"󰋩"}.mdi-image-album:before{content:"󰋪"}.mdi-image-area:before{content:"󰋫"}.mdi-image-area-close:before{content:"󰋬"}.mdi-image-auto-adjust:before{content:"󰿁"}.mdi-image-broken:before{content:"󰋭"}.mdi-image-broken-variant:before{content:"󰋮"}.mdi-image-check:before{content:"󱬥"}.mdi-image-check-outline:before{content:"󱬦"}.mdi-image-edit:before{content:"󱇣"}.mdi-image-edit-outline:before{content:"󱇤"}.mdi-image-filter-black-white:before{content:"󰋰"}.mdi-image-filter-center-focus:before{content:"󰋱"}.mdi-image-filter-center-focus-strong:before{content:"󰻿"}.mdi-image-filter-center-focus-strong-outline:before{content:"󰼀"}.mdi-image-filter-center-focus-weak:before{content:"󰋲"}.mdi-image-filter-drama:before{content:"󰋳"}.mdi-image-filter-drama-outline:before{content:"󱯿"}.mdi-image-filter-frames:before{content:"󰋴"}.mdi-image-filter-hdr:before{content:"󰋵"}.mdi-image-filter-hdr-outline:before{content:"󱱤"}.mdi-image-filter-none:before{content:"󰋶"}.mdi-image-filter-tilt-shift:before{content:"󰋷"}.mdi-image-filter-vintage:before{content:"󰋸"}.mdi-image-frame:before{content:"󰹉"}.mdi-image-lock:before{content:"󱪰"}.mdi-image-lock-outline:before{content:"󱪱"}.mdi-image-marker:before{content:"󱝻"}.mdi-image-marker-outline:before{content:"󱝼"}.mdi-image-minus:before{content:"󱐙"}.mdi-image-minus-outline:before{content:"󱭇"}.mdi-image-move:before{content:"󰧸"}.mdi-image-multiple:before{content:"󰋹"}.mdi-image-multiple-outline:before{content:"󰋯"}.mdi-image-off:before{content:"󰠫"}.mdi-image-off-outline:before{content:"󱇑"}.mdi-image-outline:before{content:"󰥶"}.mdi-image-plus:before{content:"󰡼"}.mdi-image-plus-outline:before{content:"󱭆"}.mdi-image-refresh:before{content:"󱧾"}.mdi-image-refresh-outline:before{content:"󱧿"}.mdi-image-remove:before{content:"󱐘"}.mdi-image-remove-outline:before{content:"󱭈"}.mdi-image-search:before{content:"󰥷"}.mdi-image-search-outline:before{content:"󰥸"}.mdi-image-size-select-actual:before{content:"󰲍"}.mdi-image-size-select-large:before{content:"󰲎"}.mdi-image-size-select-small:before{content:"󰲏"}.mdi-image-sync:before{content:"󱨀"}.mdi-image-sync-outline:before{content:"󱨁"}.mdi-image-text:before{content:"󱘍"}.mdi-import:before{content:"󰋺"}.mdi-inbox:before{content:"󰚇"}.mdi-inbox-arrow-down:before{content:"󰋻"}.mdi-inbox-arrow-down-outline:before{content:"󱉰"}.mdi-inbox-arrow-up:before{content:"󰏑"}.mdi-inbox-arrow-up-outline:before{content:"󱉱"}.mdi-inbox-full:before{content:"󱉲"}.mdi-inbox-full-outline:before{content:"󱉳"}.mdi-inbox-multiple:before{content:"󰢰"}.mdi-inbox-multiple-outline:before{content:"󰮨"}.mdi-inbox-outline:before{content:"󱉴"}.mdi-inbox-remove:before{content:"󱖟"}.mdi-inbox-remove-outline:before{content:"󱖠"}.mdi-incognito:before{content:"󰗹"}.mdi-incognito-circle:before{content:"󱐡"}.mdi-incognito-circle-off:before{content:"󱐢"}.mdi-incognito-off:before{content:"󰁵"}.mdi-induction:before{content:"󱡌"}.mdi-infinity:before{content:"󰛤"}.mdi-information:before{content:"󰋼"}.mdi-information-box:before{content:"󱱥"}.mdi-information-box-outline:before{content:"󱱦"}.mdi-information-off:before{content:"󱞌"}.mdi-information-off-outline:before{content:"󱞍"}.mdi-information-outline:before{content:"󰋽"}.mdi-information-slab-box:before{content:"󱱧"}.mdi-information-slab-box-outline:before{content:"󱱨"}.mdi-information-slab-circle:before{content:"󱱩"}.mdi-information-slab-circle-outline:before{content:"󱱪"}.mdi-information-slab-symbol:before{content:"󱱫"}.mdi-information-symbol:before{content:"󱱬"}.mdi-information-variant:before{content:"󰙎"}.mdi-information-variant-box:before{content:"󱱭"}.mdi-information-variant-box-outline:before{content:"󱱮"}.mdi-information-variant-circle:before{content:"󱱯"}.mdi-information-variant-circle-outline:before{content:"󱱰"}.mdi-instagram:before{content:"󰋾"}.mdi-instrument-triangle:before{content:"󱁎"}.mdi-integrated-circuit-chip:before{content:"󱤓"}.mdi-invert-colors:before{content:"󰌁"}.mdi-invert-colors-off:before{content:"󰹊"}.mdi-iobroker:before{content:"󱋨"}.mdi-ip:before{content:"󰩟"}.mdi-ip-network:before{content:"󰩠"}.mdi-ip-network-outline:before{content:"󰲐"}.mdi-ip-outline:before{content:"󱦂"}.mdi-ipod:before{content:"󰲑"}.mdi-iron:before{content:"󱠤"}.mdi-iron-board:before{content:"󱠸"}.mdi-iron-outline:before{content:"󱠥"}.mdi-island:before{content:"󱁏"}.mdi-iv-bag:before{content:"󱂹"}.mdi-jabber:before{content:"󰷕"}.mdi-jeepney:before{content:"󰌂"}.mdi-jellyfish:before{content:"󰼁"}.mdi-jellyfish-outline:before{content:"󰼂"}.mdi-jira:before{content:"󰌃"}.mdi-jquery:before{content:"󰡽"}.mdi-jsfiddle:before{content:"󰌄"}.mdi-jump-rope:before{content:"󱋿"}.mdi-kabaddi:before{content:"󰶇"}.mdi-kangaroo:before{content:"󱕘"}.mdi-karate:before{content:"󰠬"}.mdi-kayaking:before{content:"󰢯"}.mdi-keg:before{content:"󰌅"}.mdi-kettle:before{content:"󰗺"}.mdi-kettle-alert:before{content:"󱌗"}.mdi-kettle-alert-outline:before{content:"󱌘"}.mdi-kettle-off:before{content:"󱌛"}.mdi-kettle-off-outline:before{content:"󱌜"}.mdi-kettle-outline:before{content:"󰽖"}.mdi-kettle-pour-over:before{content:"󱜼"}.mdi-kettle-steam:before{content:"󱌙"}.mdi-kettle-steam-outline:before{content:"󱌚"}.mdi-kettlebell:before{content:"󱌀"}.mdi-key:before{content:"󰌆"}.mdi-key-alert:before{content:"󱦃"}.mdi-key-alert-outline:before{content:"󱦄"}.mdi-key-arrow-right:before{content:"󱌒"}.mdi-key-chain:before{content:"󱕴"}.mdi-key-chain-variant:before{content:"󱕵"}.mdi-key-change:before{content:"󰌇"}.mdi-key-link:before{content:"󱆟"}.mdi-key-minus:before{content:"󰌈"}.mdi-key-outline:before{content:"󰷖"}.mdi-key-plus:before{content:"󰌉"}.mdi-key-remove:before{content:"󰌊"}.mdi-key-star:before{content:"󱆞"}.mdi-key-variant:before{content:"󰌋"}.mdi-key-wireless:before{content:"󰿂"}.mdi-keyboard:before{content:"󰌌"}.mdi-keyboard-backspace:before{content:"󰌍"}.mdi-keyboard-caps:before{content:"󰌎"}.mdi-keyboard-close:before{content:"󰌏"}.mdi-keyboard-close-outline:before{content:"󱰀"}.mdi-keyboard-esc:before{content:"󱊷"}.mdi-keyboard-f1:before{content:"󱊫"}.mdi-keyboard-f10:before{content:"󱊴"}.mdi-keyboard-f11:before{content:"󱊵"}.mdi-keyboard-f12:before{content:"󱊶"}.mdi-keyboard-f2:before{content:"󱊬"}.mdi-keyboard-f3:before{content:"󱊭"}.mdi-keyboard-f4:before{content:"󱊮"}.mdi-keyboard-f5:before{content:"󱊯"}.mdi-keyboard-f6:before{content:"󱊰"}.mdi-keyboard-f7:before{content:"󱊱"}.mdi-keyboard-f8:before{content:"󱊲"}.mdi-keyboard-f9:before{content:"󱊳"}.mdi-keyboard-off:before{content:"󰌐"}.mdi-keyboard-off-outline:before{content:"󰹋"}.mdi-keyboard-outline:before{content:"󰥻"}.mdi-keyboard-return:before{content:"󰌑"}.mdi-keyboard-settings:before{content:"󰧹"}.mdi-keyboard-settings-outline:before{content:"󰧺"}.mdi-keyboard-space:before{content:"󱁐"}.mdi-keyboard-tab:before{content:"󰌒"}.mdi-keyboard-tab-reverse:before{content:"󰌥"}.mdi-keyboard-variant:before{content:"󰌓"}.mdi-khanda:before{content:"󱃽"}.mdi-kickstarter:before{content:"󰝅"}.mdi-kite:before{content:"󱦅"}.mdi-kite-outline:before{content:"󱦆"}.mdi-kitesurfing:before{content:"󱝄"}.mdi-klingon:before{content:"󱍛"}.mdi-knife:before{content:"󰧻"}.mdi-knife-military:before{content:"󰧼"}.mdi-knob:before{content:"󱮖"}.mdi-koala:before{content:"󱜿"}.mdi-kodi:before{content:"󰌔"}.mdi-kubernetes:before{content:"󱃾"}.mdi-label:before{content:"󰌕"}.mdi-label-multiple:before{content:"󱍵"}.mdi-label-multiple-outline:before{content:"󱍶"}.mdi-label-off:before{content:"󰫋"}.mdi-label-off-outline:before{content:"󰫌"}.mdi-label-outline:before{content:"󰌖"}.mdi-label-percent:before{content:"󱋪"}.mdi-label-percent-outline:before{content:"󱋫"}.mdi-label-variant:before{content:"󰫍"}.mdi-label-variant-outline:before{content:"󰫎"}.mdi-ladder:before{content:"󱖢"}.mdi-ladybug:before{content:"󰠭"}.mdi-lambda:before{content:"󰘧"}.mdi-lamp:before{content:"󰚵"}.mdi-lamp-outline:before{content:"󱟐"}.mdi-lamps:before{content:"󱕶"}.mdi-lamps-outline:before{content:"󱟑"}.mdi-lan:before{content:"󰌗"}.mdi-lan-check:before{content:"󱊪"}.mdi-lan-connect:before{content:"󰌘"}.mdi-lan-disconnect:before{content:"󰌙"}.mdi-lan-pending:before{content:"󰌚"}.mdi-land-fields:before{content:"󱪲"}.mdi-land-plots:before{content:"󱪳"}.mdi-land-plots-circle:before{content:"󱪴"}.mdi-land-plots-circle-variant:before{content:"󱪵"}.mdi-land-plots-marker:before{content:"󱱝"}.mdi-land-rows-horizontal:before{content:"󱪶"}.mdi-land-rows-vertical:before{content:"󱪷"}.mdi-landslide:before{content:"󱩈"}.mdi-landslide-outline:before{content:"󱩉"}.mdi-language-c:before{content:"󰙱"}.mdi-language-cpp:before{content:"󰙲"}.mdi-language-csharp:before{content:"󰌛"}.mdi-language-css3:before{content:"󰌜"}.mdi-language-fortran:before{content:"󱈚"}.mdi-language-go:before{content:"󰟓"}.mdi-language-haskell:before{content:"󰲒"}.mdi-language-html5:before{content:"󰌝"}.mdi-language-java:before{content:"󰬷"}.mdi-language-javascript:before{content:"󰌞"}.mdi-language-kotlin:before{content:"󱈙"}.mdi-language-lua:before{content:"󰢱"}.mdi-language-markdown:before{content:"󰍔"}.mdi-language-markdown-outline:before{content:"󰽛"}.mdi-language-php:before{content:"󰌟"}.mdi-language-python:before{content:"󰌠"}.mdi-language-r:before{content:"󰟔"}.mdi-language-ruby:before{content:"󰴭"}.mdi-language-ruby-on-rails:before{content:"󰫏"}.mdi-language-rust:before{content:"󱘗"}.mdi-language-swift:before{content:"󰛥"}.mdi-language-typescript:before{content:"󰛦"}.mdi-language-xaml:before{content:"󰙳"}.mdi-laptop:before{content:"󰌢"}.mdi-laptop-account:before{content:"󱩊"}.mdi-laptop-off:before{content:"󰛧"}.mdi-laravel:before{content:"󰫐"}.mdi-laser-pointer:before{content:"󱒄"}.mdi-lasso:before{content:"󰼃"}.mdi-lastpass:before{content:"󰑆"}.mdi-latitude:before{content:"󰽗"}.mdi-launch:before{content:"󰌧"}.mdi-lava-lamp:before{content:"󰟕"}.mdi-layers:before{content:"󰌨"}.mdi-layers-edit:before{content:"󱢒"}.mdi-layers-minus:before{content:"󰹌"}.mdi-layers-off:before{content:"󰌩"}.mdi-layers-off-outline:before{content:"󰧽"}.mdi-layers-outline:before{content:"󰧾"}.mdi-layers-plus:before{content:"󰹍"}.mdi-layers-remove:before{content:"󰹎"}.mdi-layers-search:before{content:"󱈆"}.mdi-layers-search-outline:before{content:"󱈇"}.mdi-layers-triple:before{content:"󰽘"}.mdi-layers-triple-outline:before{content:"󰽙"}.mdi-lead-pencil:before{content:"󰙏"}.mdi-leaf:before{content:"󰌪"}.mdi-leaf-circle:before{content:"󱤅"}.mdi-leaf-circle-outline:before{content:"󱤆"}.mdi-leaf-maple:before{content:"󰲓"}.mdi-leaf-maple-off:before{content:"󱋚"}.mdi-leaf-off:before{content:"󱋙"}.mdi-leak:before{content:"󰷗"}.mdi-leak-off:before{content:"󰷘"}.mdi-lectern:before{content:"󱫰"}.mdi-led-off:before{content:"󰌫"}.mdi-led-on:before{content:"󰌬"}.mdi-led-outline:before{content:"󰌭"}.mdi-led-strip:before{content:"󰟖"}.mdi-led-strip-variant:before{content:"󱁑"}.mdi-led-strip-variant-off:before{content:"󱩋"}.mdi-led-variant-off:before{content:"󰌮"}.mdi-led-variant-on:before{content:"󰌯"}.mdi-led-variant-outline:before{content:"󰌰"}.mdi-leek:before{content:"󱅽"}.mdi-less-than:before{content:"󰥼"}.mdi-less-than-or-equal:before{content:"󰥽"}.mdi-library:before{content:"󰌱"}.mdi-library-outline:before{content:"󱨢"}.mdi-library-shelves:before{content:"󰮩"}.mdi-license:before{content:"󰿃"}.mdi-lifebuoy:before{content:"󰡾"}.mdi-light-flood-down:before{content:"󱦇"}.mdi-light-flood-up:before{content:"󱦈"}.mdi-light-recessed:before{content:"󱞛"}.mdi-light-switch:before{content:"󰥾"}.mdi-light-switch-off:before{content:"󱨤"}.mdi-lightbulb:before{content:"󰌵"}.mdi-lightbulb-alert:before{content:"󱧡"}.mdi-lightbulb-alert-outline:before{content:"󱧢"}.mdi-lightbulb-auto:before{content:"󱠀"}.mdi-lightbulb-auto-outline:before{content:"󱠁"}.mdi-lightbulb-cfl:before{content:"󱈈"}.mdi-lightbulb-cfl-off:before{content:"󱈉"}.mdi-lightbulb-cfl-spiral:before{content:"󱉵"}.mdi-lightbulb-cfl-spiral-off:before{content:"󱋃"}.mdi-lightbulb-fluorescent-tube:before{content:"󱠄"}.mdi-lightbulb-fluorescent-tube-outline:before{content:"󱠅"}.mdi-lightbulb-group:before{content:"󱉓"}.mdi-lightbulb-group-off:before{content:"󱋍"}.mdi-lightbulb-group-off-outline:before{content:"󱋎"}.mdi-lightbulb-group-outline:before{content:"󱉔"}.mdi-lightbulb-multiple:before{content:"󱉕"}.mdi-lightbulb-multiple-off:before{content:"󱋏"}.mdi-lightbulb-multiple-off-outline:before{content:"󱋐"}.mdi-lightbulb-multiple-outline:before{content:"󱉖"}.mdi-lightbulb-night:before{content:"󱩌"}.mdi-lightbulb-night-outline:before{content:"󱩍"}.mdi-lightbulb-off:before{content:"󰹏"}.mdi-lightbulb-off-outline:before{content:"󰹐"}.mdi-lightbulb-on:before{content:"󰛨"}.mdi-lightbulb-on-10:before{content:"󱩎"}.mdi-lightbulb-on-20:before{content:"󱩏"}.mdi-lightbulb-on-30:before{content:"󱩐"}.mdi-lightbulb-on-40:before{content:"󱩑"}.mdi-lightbulb-on-50:before{content:"󱩒"}.mdi-lightbulb-on-60:before{content:"󱩓"}.mdi-lightbulb-on-70:before{content:"󱩔"}.mdi-lightbulb-on-80:before{content:"󱩕"}.mdi-lightbulb-on-90:before{content:"󱩖"}.mdi-lightbulb-on-outline:before{content:"󰛩"}.mdi-lightbulb-outline:before{content:"󰌶"}.mdi-lightbulb-question:before{content:"󱧣"}.mdi-lightbulb-question-outline:before{content:"󱧤"}.mdi-lightbulb-spot:before{content:"󱟴"}.mdi-lightbulb-spot-off:before{content:"󱟵"}.mdi-lightbulb-variant:before{content:"󱠂"}.mdi-lightbulb-variant-outline:before{content:"󱠃"}.mdi-lighthouse:before{content:"󰧿"}.mdi-lighthouse-on:before{content:"󰨀"}.mdi-lightning-bolt:before{content:"󱐋"}.mdi-lightning-bolt-circle:before{content:"󰠠"}.mdi-lightning-bolt-outline:before{content:"󱐌"}.mdi-line-scan:before{content:"󰘤"}.mdi-lingerie:before{content:"󱑶"}.mdi-link:before{content:"󰌷"}.mdi-link-box:before{content:"󰴚"}.mdi-link-box-outline:before{content:"󰴛"}.mdi-link-box-variant:before{content:"󰴜"}.mdi-link-box-variant-outline:before{content:"󰴝"}.mdi-link-lock:before{content:"󱂺"}.mdi-link-off:before{content:"󰌸"}.mdi-link-plus:before{content:"󰲔"}.mdi-link-variant:before{content:"󰌹"}.mdi-link-variant-minus:before{content:"󱃿"}.mdi-link-variant-off:before{content:"󰌺"}.mdi-link-variant-plus:before{content:"󱄀"}.mdi-link-variant-remove:before{content:"󱄁"}.mdi-linkedin:before{content:"󰌻"}.mdi-linux:before{content:"󰌽"}.mdi-linux-mint:before{content:"󰣭"}.mdi-lipstick:before{content:"󱎵"}.mdi-liquid-spot:before{content:"󱠦"}.mdi-liquor:before{content:"󱤞"}.mdi-list-box:before{content:"󱭻"}.mdi-list-box-outline:before{content:"󱭼"}.mdi-list-status:before{content:"󱖫"}.mdi-litecoin:before{content:"󰩡"}.mdi-loading:before{content:"󰝲"}.mdi-location-enter:before{content:"󰿄"}.mdi-location-exit:before{content:"󰿅"}.mdi-lock:before{content:"󰌾"}.mdi-lock-alert:before{content:"󰣮"}.mdi-lock-alert-outline:before{content:"󱗑"}.mdi-lock-check:before{content:"󱎚"}.mdi-lock-check-outline:before{content:"󱚨"}.mdi-lock-clock:before{content:"󰥿"}.mdi-lock-minus:before{content:"󱚩"}.mdi-lock-minus-outline:before{content:"󱚪"}.mdi-lock-off:before{content:"󱙱"}.mdi-lock-off-outline:before{content:"󱙲"}.mdi-lock-open:before{content:"󰌿"}.mdi-lock-open-alert:before{content:"󱎛"}.mdi-lock-open-alert-outline:before{content:"󱗒"}.mdi-lock-open-check:before{content:"󱎜"}.mdi-lock-open-check-outline:before{content:"󱚫"}.mdi-lock-open-minus:before{content:"󱚬"}.mdi-lock-open-minus-outline:before{content:"󱚭"}.mdi-lock-open-outline:before{content:"󰍀"}.mdi-lock-open-plus:before{content:"󱚮"}.mdi-lock-open-plus-outline:before{content:"󱚯"}.mdi-lock-open-remove:before{content:"󱚰"}.mdi-lock-open-remove-outline:before{content:"󱚱"}.mdi-lock-open-variant:before{content:"󰿆"}.mdi-lock-open-variant-outline:before{content:"󰿇"}.mdi-lock-outline:before{content:"󰍁"}.mdi-lock-pattern:before{content:"󰛪"}.mdi-lock-percent:before{content:"󱰒"}.mdi-lock-percent-open:before{content:"󱰓"}.mdi-lock-percent-open-outline:before{content:"󱰔"}.mdi-lock-percent-open-variant:before{content:"󱰕"}.mdi-lock-percent-open-variant-outline:before{content:"󱰖"}.mdi-lock-percent-outline:before{content:"󱰗"}.mdi-lock-plus:before{content:"󰗻"}.mdi-lock-plus-outline:before{content:"󱚲"}.mdi-lock-question:before{content:"󰣯"}.mdi-lock-remove:before{content:"󱚳"}.mdi-lock-remove-outline:before{content:"󱚴"}.mdi-lock-reset:before{content:"󰝳"}.mdi-lock-smart:before{content:"󰢲"}.mdi-locker:before{content:"󰟗"}.mdi-locker-multiple:before{content:"󰟘"}.mdi-login:before{content:"󰍂"}.mdi-login-variant:before{content:"󰗼"}.mdi-logout:before{content:"󰍃"}.mdi-logout-variant:before{content:"󰗽"}.mdi-longitude:before{content:"󰽚"}.mdi-looks:before{content:"󰍄"}.mdi-lotion:before{content:"󱖂"}.mdi-lotion-outline:before{content:"󱖃"}.mdi-lotion-plus:before{content:"󱖄"}.mdi-lotion-plus-outline:before{content:"󱖅"}.mdi-loupe:before{content:"󰍅"}.mdi-lumx:before{content:"󰍆"}.mdi-lungs:before{content:"󱂄"}.mdi-mace:before{content:"󱡃"}.mdi-magazine-pistol:before{content:"󰌤"}.mdi-magazine-rifle:before{content:"󰌣"}.mdi-magic-staff:before{content:"󱡄"}.mdi-magnet:before{content:"󰍇"}.mdi-magnet-on:before{content:"󰍈"}.mdi-magnify:before{content:"󰍉"}.mdi-magnify-close:before{content:"󰦀"}.mdi-magnify-expand:before{content:"󱡴"}.mdi-magnify-minus:before{content:"󰍊"}.mdi-magnify-minus-cursor:before{content:"󰩢"}.mdi-magnify-minus-outline:before{content:"󰛬"}.mdi-magnify-plus:before{content:"󰍋"}.mdi-magnify-plus-cursor:before{content:"󰩣"}.mdi-magnify-plus-outline:before{content:"󰛭"}.mdi-magnify-remove-cursor:before{content:"󱈌"}.mdi-magnify-remove-outline:before{content:"󱈍"}.mdi-magnify-scan:before{content:"󱉶"}.mdi-mail:before{content:"󰺻"}.mdi-mailbox:before{content:"󰛮"}.mdi-mailbox-open:before{content:"󰶈"}.mdi-mailbox-open-outline:before{content:"󰶉"}.mdi-mailbox-open-up:before{content:"󰶊"}.mdi-mailbox-open-up-outline:before{content:"󰶋"}.mdi-mailbox-outline:before{content:"󰶌"}.mdi-mailbox-up:before{content:"󰶍"}.mdi-mailbox-up-outline:before{content:"󰶎"}.mdi-manjaro:before{content:"󱘊"}.mdi-map:before{content:"󰍍"}.mdi-map-check:before{content:"󰺼"}.mdi-map-check-outline:before{content:"󰺽"}.mdi-map-clock:before{content:"󰴞"}.mdi-map-clock-outline:before{content:"󰴟"}.mdi-map-legend:before{content:"󰨁"}.mdi-map-marker:before{content:"󰍎"}.mdi-map-marker-account:before{content:"󱣣"}.mdi-map-marker-account-outline:before{content:"󱣤"}.mdi-map-marker-alert:before{content:"󰼅"}.mdi-map-marker-alert-outline:before{content:"󰼆"}.mdi-map-marker-check:before{content:"󰲕"}.mdi-map-marker-check-outline:before{content:"󱋻"}.mdi-map-marker-circle:before{content:"󰍏"}.mdi-map-marker-distance:before{content:"󰣰"}.mdi-map-marker-down:before{content:"󱄂"}.mdi-map-marker-left:before{content:"󱋛"}.mdi-map-marker-left-outline:before{content:"󱋝"}.mdi-map-marker-minus:before{content:"󰙐"}.mdi-map-marker-minus-outline:before{content:"󱋹"}.mdi-map-marker-multiple:before{content:"󰍐"}.mdi-map-marker-multiple-outline:before{content:"󱉷"}.mdi-map-marker-off:before{content:"󰍑"}.mdi-map-marker-off-outline:before{content:"󱋽"}.mdi-map-marker-outline:before{content:"󰟙"}.mdi-map-marker-path:before{content:"󰴠"}.mdi-map-marker-plus:before{content:"󰙑"}.mdi-map-marker-plus-outline:before{content:"󱋸"}.mdi-map-marker-question:before{content:"󰼇"}.mdi-map-marker-question-outline:before{content:"󰼈"}.mdi-map-marker-radius:before{content:"󰍒"}.mdi-map-marker-radius-outline:before{content:"󱋼"}.mdi-map-marker-remove:before{content:"󰼉"}.mdi-map-marker-remove-outline:before{content:"󱋺"}.mdi-map-marker-remove-variant:before{content:"󰼊"}.mdi-map-marker-right:before{content:"󱋜"}.mdi-map-marker-right-outline:before{content:"󱋞"}.mdi-map-marker-star:before{content:"󱘈"}.mdi-map-marker-star-outline:before{content:"󱘉"}.mdi-map-marker-up:before{content:"󱄃"}.mdi-map-minus:before{content:"󰦁"}.mdi-map-outline:before{content:"󰦂"}.mdi-map-plus:before{content:"󰦃"}.mdi-map-search:before{content:"󰦄"}.mdi-map-search-outline:before{content:"󰦅"}.mdi-mapbox:before{content:"󰮪"}.mdi-margin:before{content:"󰍓"}.mdi-marker:before{content:"󰙒"}.mdi-marker-cancel:before{content:"󰷙"}.mdi-marker-check:before{content:"󰍕"}.mdi-mastodon:before{content:"󰫑"}.mdi-material-design:before{content:"󰦆"}.mdi-material-ui:before{content:"󰍗"}.mdi-math-compass:before{content:"󰍘"}.mdi-math-cos:before{content:"󰲖"}.mdi-math-integral:before{content:"󰿈"}.mdi-math-integral-box:before{content:"󰿉"}.mdi-math-log:before{content:"󱂅"}.mdi-math-norm:before{content:"󰿊"}.mdi-math-norm-box:before{content:"󰿋"}.mdi-math-sin:before{content:"󰲗"}.mdi-math-tan:before{content:"󰲘"}.mdi-matrix:before{content:"󰘨"}.mdi-medal:before{content:"󰦇"}.mdi-medal-outline:before{content:"󱌦"}.mdi-medical-bag:before{content:"󰛯"}.mdi-medical-cotton-swab:before{content:"󱪸"}.mdi-medication:before{content:"󱬔"}.mdi-medication-outline:before{content:"󱬕"}.mdi-meditation:before{content:"󱅻"}.mdi-memory:before{content:"󰍛"}.mdi-menorah:before{content:"󱟔"}.mdi-menorah-fire:before{content:"󱟕"}.mdi-menu:before{content:"󰍜"}.mdi-menu-down:before{content:"󰍝"}.mdi-menu-down-outline:before{content:"󰚶"}.mdi-menu-left:before{content:"󰍞"}.mdi-menu-left-outline:before{content:"󰨂"}.mdi-menu-open:before{content:"󰮫"}.mdi-menu-right:before{content:"󰍟"}.mdi-menu-right-outline:before{content:"󰨃"}.mdi-menu-swap:before{content:"󰩤"}.mdi-menu-swap-outline:before{content:"󰩥"}.mdi-menu-up:before{content:"󰍠"}.mdi-menu-up-outline:before{content:"󰚷"}.mdi-merge:before{content:"󰽜"}.mdi-message:before{content:"󰍡"}.mdi-message-alert:before{content:"󰍢"}.mdi-message-alert-outline:before{content:"󰨄"}.mdi-message-arrow-left:before{content:"󱋲"}.mdi-message-arrow-left-outline:before{content:"󱋳"}.mdi-message-arrow-right:before{content:"󱋴"}.mdi-message-arrow-right-outline:before{content:"󱋵"}.mdi-message-badge:before{content:"󱥁"}.mdi-message-badge-outline:before{content:"󱥂"}.mdi-message-bookmark:before{content:"󱖬"}.mdi-message-bookmark-outline:before{content:"󱖭"}.mdi-message-bulleted:before{content:"󰚢"}.mdi-message-bulleted-off:before{content:"󰚣"}.mdi-message-check:before{content:"󱮊"}.mdi-message-check-outline:before{content:"󱮋"}.mdi-message-cog:before{content:"󰛱"}.mdi-message-cog-outline:before{content:"󱅲"}.mdi-message-draw:before{content:"󰍣"}.mdi-message-fast:before{content:"󱧌"}.mdi-message-fast-outline:before{content:"󱧍"}.mdi-message-flash:before{content:"󱖩"}.mdi-message-flash-outline:before{content:"󱖪"}.mdi-message-image:before{content:"󰍤"}.mdi-message-image-outline:before{content:"󱅬"}.mdi-message-lock:before{content:"󰿌"}.mdi-message-lock-outline:before{content:"󱅭"}.mdi-message-minus:before{content:"󱅮"}.mdi-message-minus-outline:before{content:"󱅯"}.mdi-message-off:before{content:"󱙍"}.mdi-message-off-outline:before{content:"󱙎"}.mdi-message-outline:before{content:"󰍥"}.mdi-message-plus:before{content:"󰙓"}.mdi-message-plus-outline:before{content:"󱂻"}.mdi-message-processing:before{content:"󰍦"}.mdi-message-processing-outline:before{content:"󱅰"}.mdi-message-question:before{content:"󱜺"}.mdi-message-question-outline:before{content:"󱜻"}.mdi-message-reply:before{content:"󰍧"}.mdi-message-reply-outline:before{content:"󱜽"}.mdi-message-reply-text:before{content:"󰍨"}.mdi-message-reply-text-outline:before{content:"󱜾"}.mdi-message-settings:before{content:"󰛰"}.mdi-message-settings-outline:before{content:"󱅱"}.mdi-message-star:before{content:"󰚚"}.mdi-message-star-outline:before{content:"󱉐"}.mdi-message-text:before{content:"󰍩"}.mdi-message-text-clock:before{content:"󱅳"}.mdi-message-text-clock-outline:before{content:"󱅴"}.mdi-message-text-fast:before{content:"󱧎"}.mdi-message-text-fast-outline:before{content:"󱧏"}.mdi-message-text-lock:before{content:"󰿍"}.mdi-message-text-lock-outline:before{content:"󱅵"}.mdi-message-text-outline:before{content:"󰍪"}.mdi-message-video:before{content:"󰍫"}.mdi-meteor:before{content:"󰘩"}.mdi-meter-electric:before{content:"󱩗"}.mdi-meter-electric-outline:before{content:"󱩘"}.mdi-meter-gas:before{content:"󱩙"}.mdi-meter-gas-outline:before{content:"󱩚"}.mdi-metronome:before{content:"󰟚"}.mdi-metronome-tick:before{content:"󰟛"}.mdi-micro-sd:before{content:"󰟜"}.mdi-microphone:before{content:"󰍬"}.mdi-microphone-message:before{content:"󰔊"}.mdi-microphone-message-off:before{content:"󰔋"}.mdi-microphone-minus:before{content:"󰢳"}.mdi-microphone-off:before{content:"󰍭"}.mdi-microphone-outline:before{content:"󰍮"}.mdi-microphone-plus:before{content:"󰢴"}.mdi-microphone-question:before{content:"󱦉"}.mdi-microphone-question-outline:before{content:"󱦊"}.mdi-microphone-settings:before{content:"󰍯"}.mdi-microphone-variant:before{content:"󰍰"}.mdi-microphone-variant-off:before{content:"󰍱"}.mdi-microscope:before{content:"󰙔"}.mdi-microsoft:before{content:"󰍲"}.mdi-microsoft-access:before{content:"󱎎"}.mdi-microsoft-azure:before{content:"󰠅"}.mdi-microsoft-azure-devops:before{content:"󰿕"}.mdi-microsoft-bing:before{content:"󰂤"}.mdi-microsoft-dynamics-365:before{content:"󰦈"}.mdi-microsoft-edge:before{content:"󰇩"}.mdi-microsoft-excel:before{content:"󱎏"}.mdi-microsoft-internet-explorer:before{content:"󰌀"}.mdi-microsoft-office:before{content:"󰏆"}.mdi-microsoft-onedrive:before{content:"󰏊"}.mdi-microsoft-onenote:before{content:"󰝇"}.mdi-microsoft-outlook:before{content:"󰴢"}.mdi-microsoft-powerpoint:before{content:"󱎐"}.mdi-microsoft-sharepoint:before{content:"󱎑"}.mdi-microsoft-teams:before{content:"󰊻"}.mdi-microsoft-visual-studio:before{content:"󰘐"}.mdi-microsoft-visual-studio-code:before{content:"󰨞"}.mdi-microsoft-windows:before{content:"󰖳"}.mdi-microsoft-windows-classic:before{content:"󰨡"}.mdi-microsoft-word:before{content:"󱎒"}.mdi-microsoft-xbox:before{content:"󰖹"}.mdi-microsoft-xbox-controller:before{content:"󰖺"}.mdi-microsoft-xbox-controller-battery-alert:before{content:"󰝋"}.mdi-microsoft-xbox-controller-battery-charging:before{content:"󰨢"}.mdi-microsoft-xbox-controller-battery-empty:before{content:"󰝌"}.mdi-microsoft-xbox-controller-battery-full:before{content:"󰝍"}.mdi-microsoft-xbox-controller-battery-low:before{content:"󰝎"}.mdi-microsoft-xbox-controller-battery-medium:before{content:"󰝏"}.mdi-microsoft-xbox-controller-battery-unknown:before{content:"󰝐"}.mdi-microsoft-xbox-controller-menu:before{content:"󰹯"}.mdi-microsoft-xbox-controller-off:before{content:"󰖻"}.mdi-microsoft-xbox-controller-view:before{content:"󰹰"}.mdi-microwave:before{content:"󰲙"}.mdi-microwave-off:before{content:"󱐣"}.mdi-middleware:before{content:"󰽝"}.mdi-middleware-outline:before{content:"󰽞"}.mdi-midi:before{content:"󰣱"}.mdi-midi-port:before{content:"󰣲"}.mdi-mine:before{content:"󰷚"}.mdi-minecraft:before{content:"󰍳"}.mdi-mini-sd:before{content:"󰨅"}.mdi-minidisc:before{content:"󰨆"}.mdi-minus:before{content:"󰍴"}.mdi-minus-box:before{content:"󰍵"}.mdi-minus-box-multiple:before{content:"󱅁"}.mdi-minus-box-multiple-outline:before{content:"󱅂"}.mdi-minus-box-outline:before{content:"󰛲"}.mdi-minus-circle:before{content:"󰍶"}.mdi-minus-circle-multiple:before{content:"󰍚"}.mdi-minus-circle-multiple-outline:before{content:"󰫓"}.mdi-minus-circle-off:before{content:"󱑙"}.mdi-minus-circle-off-outline:before{content:"󱑚"}.mdi-minus-circle-outline:before{content:"󰍷"}.mdi-minus-network:before{content:"󰍸"}.mdi-minus-network-outline:before{content:"󰲚"}.mdi-minus-thick:before{content:"󱘹"}.mdi-mirror:before{content:"󱇽"}.mdi-mirror-rectangle:before{content:"󱞟"}.mdi-mirror-variant:before{content:"󱞠"}.mdi-mixed-martial-arts:before{content:"󰶏"}.mdi-mixed-reality:before{content:"󰡿"}.mdi-molecule:before{content:"󰮬"}.mdi-molecule-co:before{content:"󱋾"}.mdi-molecule-co2:before{content:"󰟤"}.mdi-monitor:before{content:"󰍹"}.mdi-monitor-account:before{content:"󱩛"}.mdi-monitor-arrow-down:before{content:"󱧐"}.mdi-monitor-arrow-down-variant:before{content:"󱧑"}.mdi-monitor-cellphone:before{content:"󰦉"}.mdi-monitor-cellphone-star:before{content:"󰦊"}.mdi-monitor-dashboard:before{content:"󰨇"}.mdi-monitor-edit:before{content:"󱋆"}.mdi-monitor-eye:before{content:"󱎴"}.mdi-monitor-lock:before{content:"󰷛"}.mdi-monitor-multiple:before{content:"󰍺"}.mdi-monitor-off:before{content:"󰶐"}.mdi-monitor-screenshot:before{content:"󰹑"}.mdi-monitor-share:before{content:"󱒃"}.mdi-monitor-shimmer:before{content:"󱄄"}.mdi-monitor-small:before{content:"󱡶"}.mdi-monitor-speaker:before{content:"󰽟"}.mdi-monitor-speaker-off:before{content:"󰽠"}.mdi-monitor-star:before{content:"󰷜"}.mdi-monitor-vertical:before{content:"󱰳"}.mdi-moon-first-quarter:before{content:"󰽡"}.mdi-moon-full:before{content:"󰽢"}.mdi-moon-last-quarter:before{content:"󰽣"}.mdi-moon-new:before{content:"󰽤"}.mdi-moon-waning-crescent:before{content:"󰽥"}.mdi-moon-waning-gibbous:before{content:"󰽦"}.mdi-moon-waxing-crescent:before{content:"󰽧"}.mdi-moon-waxing-gibbous:before{content:"󰽨"}.mdi-moped:before{content:"󱂆"}.mdi-moped-electric:before{content:"󱖷"}.mdi-moped-electric-outline:before{content:"󱖸"}.mdi-moped-outline:before{content:"󱖹"}.mdi-more:before{content:"󰍻"}.mdi-mortar-pestle:before{content:"󱝈"}.mdi-mortar-pestle-plus:before{content:"󰏱"}.mdi-mosque:before{content:"󰵅"}.mdi-mosque-outline:before{content:"󱠧"}.mdi-mother-heart:before{content:"󱌔"}.mdi-mother-nurse:before{content:"󰴡"}.mdi-motion:before{content:"󱖲"}.mdi-motion-outline:before{content:"󱖳"}.mdi-motion-pause:before{content:"󱖐"}.mdi-motion-pause-outline:before{content:"󱖒"}.mdi-motion-play:before{content:"󱖏"}.mdi-motion-play-outline:before{content:"󱖑"}.mdi-motion-sensor:before{content:"󰶑"}.mdi-motion-sensor-off:before{content:"󱐵"}.mdi-motorbike:before{content:"󰍼"}.mdi-motorbike-electric:before{content:"󱖺"}.mdi-motorbike-off:before{content:"󱬖"}.mdi-mouse:before{content:"󰍽"}.mdi-mouse-bluetooth:before{content:"󰦋"}.mdi-mouse-move-down:before{content:"󱕐"}.mdi-mouse-move-up:before{content:"󱕑"}.mdi-mouse-move-vertical:before{content:"󱕒"}.mdi-mouse-off:before{content:"󰍾"}.mdi-mouse-variant:before{content:"󰍿"}.mdi-mouse-variant-off:before{content:"󰎀"}.mdi-move-resize:before{content:"󰙕"}.mdi-move-resize-variant:before{content:"󰙖"}.mdi-movie:before{content:"󰎁"}.mdi-movie-check:before{content:"󱛳"}.mdi-movie-check-outline:before{content:"󱛴"}.mdi-movie-cog:before{content:"󱛵"}.mdi-movie-cog-outline:before{content:"󱛶"}.mdi-movie-edit:before{content:"󱄢"}.mdi-movie-edit-outline:before{content:"󱄣"}.mdi-movie-filter:before{content:"󱄤"}.mdi-movie-filter-outline:before{content:"󱄥"}.mdi-movie-minus:before{content:"󱛷"}.mdi-movie-minus-outline:before{content:"󱛸"}.mdi-movie-off:before{content:"󱛹"}.mdi-movie-off-outline:before{content:"󱛺"}.mdi-movie-open:before{content:"󰿎"}.mdi-movie-open-check:before{content:"󱛻"}.mdi-movie-open-check-outline:before{content:"󱛼"}.mdi-movie-open-cog:before{content:"󱛽"}.mdi-movie-open-cog-outline:before{content:"󱛾"}.mdi-movie-open-edit:before{content:"󱛿"}.mdi-movie-open-edit-outline:before{content:"󱜀"}.mdi-movie-open-minus:before{content:"󱜁"}.mdi-movie-open-minus-outline:before{content:"󱜂"}.mdi-movie-open-off:before{content:"󱜃"}.mdi-movie-open-off-outline:before{content:"󱜄"}.mdi-movie-open-outline:before{content:"󰿏"}.mdi-movie-open-play:before{content:"󱜅"}.mdi-movie-open-play-outline:before{content:"󱜆"}.mdi-movie-open-plus:before{content:"󱜇"}.mdi-movie-open-plus-outline:before{content:"󱜈"}.mdi-movie-open-remove:before{content:"󱜉"}.mdi-movie-open-remove-outline:before{content:"󱜊"}.mdi-movie-open-settings:before{content:"󱜋"}.mdi-movie-open-settings-outline:before{content:"󱜌"}.mdi-movie-open-star:before{content:"󱜍"}.mdi-movie-open-star-outline:before{content:"󱜎"}.mdi-movie-outline:before{content:"󰷝"}.mdi-movie-play:before{content:"󱜏"}.mdi-movie-play-outline:before{content:"󱜐"}.mdi-movie-plus:before{content:"󱜑"}.mdi-movie-plus-outline:before{content:"󱜒"}.mdi-movie-remove:before{content:"󱜓"}.mdi-movie-remove-outline:before{content:"󱜔"}.mdi-movie-roll:before{content:"󰟞"}.mdi-movie-search:before{content:"󱇒"}.mdi-movie-search-outline:before{content:"󱇓"}.mdi-movie-settings:before{content:"󱜕"}.mdi-movie-settings-outline:before{content:"󱜖"}.mdi-movie-star:before{content:"󱜗"}.mdi-movie-star-outline:before{content:"󱜘"}.mdi-mower:before{content:"󱙯"}.mdi-mower-bag:before{content:"󱙰"}.mdi-mower-bag-on:before{content:"󱭠"}.mdi-mower-on:before{content:"󱭟"}.mdi-muffin:before{content:"󰦌"}.mdi-multicast:before{content:"󱢓"}.mdi-multimedia:before{content:"󱮗"}.mdi-multiplication:before{content:"󰎂"}.mdi-multiplication-box:before{content:"󰎃"}.mdi-mushroom:before{content:"󰟟"}.mdi-mushroom-off:before{content:"󱏺"}.mdi-mushroom-off-outline:before{content:"󱏻"}.mdi-mushroom-outline:before{content:"󰟠"}.mdi-music:before{content:"󰝚"}.mdi-music-accidental-double-flat:before{content:"󰽩"}.mdi-music-accidental-double-sharp:before{content:"󰽪"}.mdi-music-accidental-flat:before{content:"󰽫"}.mdi-music-accidental-natural:before{content:"󰽬"}.mdi-music-accidental-sharp:before{content:"󰽭"}.mdi-music-box:before{content:"󰎄"}.mdi-music-box-multiple:before{content:"󰌳"}.mdi-music-box-multiple-outline:before{content:"󰼄"}.mdi-music-box-outline:before{content:"󰎅"}.mdi-music-circle:before{content:"󰎆"}.mdi-music-circle-outline:before{content:"󰫔"}.mdi-music-clef-alto:before{content:"󰽮"}.mdi-music-clef-bass:before{content:"󰽯"}.mdi-music-clef-treble:before{content:"󰽰"}.mdi-music-note:before{content:"󰎇"}.mdi-music-note-bluetooth:before{content:"󰗾"}.mdi-music-note-bluetooth-off:before{content:"󰗿"}.mdi-music-note-eighth:before{content:"󰎈"}.mdi-music-note-eighth-dotted:before{content:"󰽱"}.mdi-music-note-half:before{content:"󰎉"}.mdi-music-note-half-dotted:before{content:"󰽲"}.mdi-music-note-minus:before{content:"󱮉"}.mdi-music-note-off:before{content:"󰎊"}.mdi-music-note-off-outline:before{content:"󰽳"}.mdi-music-note-outline:before{content:"󰽴"}.mdi-music-note-plus:before{content:"󰷞"}.mdi-music-note-quarter:before{content:"󰎋"}.mdi-music-note-quarter-dotted:before{content:"󰽵"}.mdi-music-note-sixteenth:before{content:"󰎌"}.mdi-music-note-sixteenth-dotted:before{content:"󰽶"}.mdi-music-note-whole:before{content:"󰎍"}.mdi-music-note-whole-dotted:before{content:"󰽷"}.mdi-music-off:before{content:"󰝛"}.mdi-music-rest-eighth:before{content:"󰽸"}.mdi-music-rest-half:before{content:"󰽹"}.mdi-music-rest-quarter:before{content:"󰽺"}.mdi-music-rest-sixteenth:before{content:"󰽻"}.mdi-music-rest-whole:before{content:"󰽼"}.mdi-mustache:before{content:"󱗞"}.mdi-nail:before{content:"󰷟"}.mdi-nas:before{content:"󰣳"}.mdi-nativescript:before{content:"󰢀"}.mdi-nature:before{content:"󰎎"}.mdi-nature-outline:before{content:"󱱱"}.mdi-nature-people:before{content:"󰎏"}.mdi-nature-people-outline:before{content:"󱱲"}.mdi-navigation:before{content:"󰎐"}.mdi-navigation-outline:before{content:"󱘇"}.mdi-navigation-variant:before{content:"󱣰"}.mdi-navigation-variant-outline:before{content:"󱣱"}.mdi-near-me:before{content:"󰗍"}.mdi-necklace:before{content:"󰼋"}.mdi-needle:before{content:"󰎑"}.mdi-needle-off:before{content:"󱧒"}.mdi-netflix:before{content:"󰝆"}.mdi-network:before{content:"󰛳"}.mdi-network-off:before{content:"󰲛"}.mdi-network-off-outline:before{content:"󰲜"}.mdi-network-outline:before{content:"󰲝"}.mdi-network-pos:before{content:"󱫋"}.mdi-network-strength-1:before{content:"󰣴"}.mdi-network-strength-1-alert:before{content:"󰣵"}.mdi-network-strength-2:before{content:"󰣶"}.mdi-network-strength-2-alert:before{content:"󰣷"}.mdi-network-strength-3:before{content:"󰣸"}.mdi-network-strength-3-alert:before{content:"󰣹"}.mdi-network-strength-4:before{content:"󰣺"}.mdi-network-strength-4-alert:before{content:"󰣻"}.mdi-network-strength-4-cog:before{content:"󱤚"}.mdi-network-strength-off:before{content:"󰣼"}.mdi-network-strength-off-outline:before{content:"󰣽"}.mdi-network-strength-outline:before{content:"󰣾"}.mdi-new-box:before{content:"󰎔"}.mdi-newspaper:before{content:"󰎕"}.mdi-newspaper-check:before{content:"󱥃"}.mdi-newspaper-minus:before{content:"󰼌"}.mdi-newspaper-plus:before{content:"󰼍"}.mdi-newspaper-remove:before{content:"󱥄"}.mdi-newspaper-variant:before{content:"󱀁"}.mdi-newspaper-variant-multiple:before{content:"󱀂"}.mdi-newspaper-variant-multiple-outline:before{content:"󱀃"}.mdi-newspaper-variant-outline:before{content:"󱀄"}.mdi-nfc:before{content:"󰎖"}.mdi-nfc-search-variant:before{content:"󰹓"}.mdi-nfc-tap:before{content:"󰎗"}.mdi-nfc-variant:before{content:"󰎘"}.mdi-nfc-variant-off:before{content:"󰹔"}.mdi-ninja:before{content:"󰝴"}.mdi-nintendo-game-boy:before{content:"󱎓"}.mdi-nintendo-switch:before{content:"󰟡"}.mdi-nintendo-wii:before{content:"󰖫"}.mdi-nintendo-wiiu:before{content:"󰜭"}.mdi-nix:before{content:"󱄅"}.mdi-nodejs:before{content:"󰎙"}.mdi-noodles:before{content:"󱅾"}.mdi-not-equal:before{content:"󰦍"}.mdi-not-equal-variant:before{content:"󰦎"}.mdi-note:before{content:"󰎚"}.mdi-note-alert:before{content:"󱝽"}.mdi-note-alert-outline:before{content:"󱝾"}.mdi-note-check:before{content:"󱝿"}.mdi-note-check-outline:before{content:"󱞀"}.mdi-note-edit:before{content:"󱞁"}.mdi-note-edit-outline:before{content:"󱞂"}.mdi-note-minus:before{content:"󱙏"}.mdi-note-minus-outline:before{content:"󱙐"}.mdi-note-multiple:before{content:"󰚸"}.mdi-note-multiple-outline:before{content:"󰚹"}.mdi-note-off:before{content:"󱞃"}.mdi-note-off-outline:before{content:"󱞄"}.mdi-note-outline:before{content:"󰎛"}.mdi-note-plus:before{content:"󰎜"}.mdi-note-plus-outline:before{content:"󰎝"}.mdi-note-remove:before{content:"󱙑"}.mdi-note-remove-outline:before{content:"󱙒"}.mdi-note-search:before{content:"󱙓"}.mdi-note-search-outline:before{content:"󱙔"}.mdi-note-text:before{content:"󰎞"}.mdi-note-text-outline:before{content:"󱇗"}.mdi-notebook:before{content:"󰠮"}.mdi-notebook-check:before{content:"󱓵"}.mdi-notebook-check-outline:before{content:"󱓶"}.mdi-notebook-edit:before{content:"󱓧"}.mdi-notebook-edit-outline:before{content:"󱓩"}.mdi-notebook-heart:before{content:"󱨋"}.mdi-notebook-heart-outline:before{content:"󱨌"}.mdi-notebook-minus:before{content:"󱘐"}.mdi-notebook-minus-outline:before{content:"󱘑"}.mdi-notebook-multiple:before{content:"󰹕"}.mdi-notebook-outline:before{content:"󰺿"}.mdi-notebook-plus:before{content:"󱘒"}.mdi-notebook-plus-outline:before{content:"󱘓"}.mdi-notebook-remove:before{content:"󱘔"}.mdi-notebook-remove-outline:before{content:"󱘕"}.mdi-notification-clear-all:before{content:"󰎟"}.mdi-npm:before{content:"󰛷"}.mdi-nuke:before{content:"󰚤"}.mdi-null:before{content:"󰟢"}.mdi-numeric:before{content:"󰎠"}.mdi-numeric-0:before{content:"󰬹"}.mdi-numeric-0-box:before{content:"󰎡"}.mdi-numeric-0-box-multiple:before{content:"󰼎"}.mdi-numeric-0-box-multiple-outline:before{content:"󰎢"}.mdi-numeric-0-box-outline:before{content:"󰎣"}.mdi-numeric-0-circle:before{content:"󰲞"}.mdi-numeric-0-circle-outline:before{content:"󰲟"}.mdi-numeric-1:before{content:"󰬺"}.mdi-numeric-1-box:before{content:"󰎤"}.mdi-numeric-1-box-multiple:before{content:"󰼏"}.mdi-numeric-1-box-multiple-outline:before{content:"󰎥"}.mdi-numeric-1-box-outline:before{content:"󰎦"}.mdi-numeric-1-circle:before{content:"󰲠"}.mdi-numeric-1-circle-outline:before{content:"󰲡"}.mdi-numeric-10:before{content:"󰿩"}.mdi-numeric-10-box:before{content:"󰽽"}.mdi-numeric-10-box-multiple:before{content:"󰿪"}.mdi-numeric-10-box-multiple-outline:before{content:"󰿫"}.mdi-numeric-10-box-outline:before{content:"󰽾"}.mdi-numeric-10-circle:before{content:"󰿬"}.mdi-numeric-10-circle-outline:before{content:"󰿭"}.mdi-numeric-2:before{content:"󰬻"}.mdi-numeric-2-box:before{content:"󰎧"}.mdi-numeric-2-box-multiple:before{content:"󰼐"}.mdi-numeric-2-box-multiple-outline:before{content:"󰎨"}.mdi-numeric-2-box-outline:before{content:"󰎩"}.mdi-numeric-2-circle:before{content:"󰲢"}.mdi-numeric-2-circle-outline:before{content:"󰲣"}.mdi-numeric-3:before{content:"󰬼"}.mdi-numeric-3-box:before{content:"󰎪"}.mdi-numeric-3-box-multiple:before{content:"󰼑"}.mdi-numeric-3-box-multiple-outline:before{content:"󰎫"}.mdi-numeric-3-box-outline:before{content:"󰎬"}.mdi-numeric-3-circle:before{content:"󰲤"}.mdi-numeric-3-circle-outline:before{content:"󰲥"}.mdi-numeric-4:before{content:"󰬽"}.mdi-numeric-4-box:before{content:"󰎭"}.mdi-numeric-4-box-multiple:before{content:"󰼒"}.mdi-numeric-4-box-multiple-outline:before{content:"󰎲"}.mdi-numeric-4-box-outline:before{content:"󰎮"}.mdi-numeric-4-circle:before{content:"󰲦"}.mdi-numeric-4-circle-outline:before{content:"󰲧"}.mdi-numeric-5:before{content:"󰬾"}.mdi-numeric-5-box:before{content:"󰎱"}.mdi-numeric-5-box-multiple:before{content:"󰼓"}.mdi-numeric-5-box-multiple-outline:before{content:"󰎯"}.mdi-numeric-5-box-outline:before{content:"󰎰"}.mdi-numeric-5-circle:before{content:"󰲨"}.mdi-numeric-5-circle-outline:before{content:"󰲩"}.mdi-numeric-6:before{content:"󰬿"}.mdi-numeric-6-box:before{content:"󰎳"}.mdi-numeric-6-box-multiple:before{content:"󰼔"}.mdi-numeric-6-box-multiple-outline:before{content:"󰎴"}.mdi-numeric-6-box-outline:before{content:"󰎵"}.mdi-numeric-6-circle:before{content:"󰲪"}.mdi-numeric-6-circle-outline:before{content:"󰲫"}.mdi-numeric-7:before{content:"󰭀"}.mdi-numeric-7-box:before{content:"󰎶"}.mdi-numeric-7-box-multiple:before{content:"󰼕"}.mdi-numeric-7-box-multiple-outline:before{content:"󰎷"}.mdi-numeric-7-box-outline:before{content:"󰎸"}.mdi-numeric-7-circle:before{content:"󰲬"}.mdi-numeric-7-circle-outline:before{content:"󰲭"}.mdi-numeric-8:before{content:"󰭁"}.mdi-numeric-8-box:before{content:"󰎹"}.mdi-numeric-8-box-multiple:before{content:"󰼖"}.mdi-numeric-8-box-multiple-outline:before{content:"󰎺"}.mdi-numeric-8-box-outline:before{content:"󰎻"}.mdi-numeric-8-circle:before{content:"󰲮"}.mdi-numeric-8-circle-outline:before{content:"󰲯"}.mdi-numeric-9:before{content:"󰭂"}.mdi-numeric-9-box:before{content:"󰎼"}.mdi-numeric-9-box-multiple:before{content:"󰼗"}.mdi-numeric-9-box-multiple-outline:before{content:"󰎽"}.mdi-numeric-9-box-outline:before{content:"󰎾"}.mdi-numeric-9-circle:before{content:"󰲰"}.mdi-numeric-9-circle-outline:before{content:"󰲱"}.mdi-numeric-9-plus:before{content:"󰿮"}.mdi-numeric-9-plus-box:before{content:"󰎿"}.mdi-numeric-9-plus-box-multiple:before{content:"󰼘"}.mdi-numeric-9-plus-box-multiple-outline:before{content:"󰏀"}.mdi-numeric-9-plus-box-outline:before{content:"󰏁"}.mdi-numeric-9-plus-circle:before{content:"󰲲"}.mdi-numeric-9-plus-circle-outline:before{content:"󰲳"}.mdi-numeric-negative-1:before{content:"󱁒"}.mdi-numeric-off:before{content:"󱧓"}.mdi-numeric-positive-1:before{content:"󱗋"}.mdi-nut:before{content:"󰛸"}.mdi-nutrition:before{content:"󰏂"}.mdi-nuxt:before{content:"󱄆"}.mdi-oar:before{content:"󰙼"}.mdi-ocarina:before{content:"󰷠"}.mdi-oci:before{content:"󱋩"}.mdi-ocr:before{content:"󱄺"}.mdi-octagon:before{content:"󰏃"}.mdi-octagon-outline:before{content:"󰏄"}.mdi-octagram:before{content:"󰛹"}.mdi-octagram-edit:before{content:"󱰴"}.mdi-octagram-edit-outline:before{content:"󱰵"}.mdi-octagram-minus:before{content:"󱰶"}.mdi-octagram-minus-outline:before{content:"󱰷"}.mdi-octagram-outline:before{content:"󰝵"}.mdi-octagram-plus:before{content:"󱰸"}.mdi-octagram-plus-outline:before{content:"󱰹"}.mdi-octahedron:before{content:"󱥐"}.mdi-octahedron-off:before{content:"󱥑"}.mdi-odnoklassniki:before{content:"󰏅"}.mdi-offer:before{content:"󱈛"}.mdi-office-building:before{content:"󰦑"}.mdi-office-building-cog:before{content:"󱥉"}.mdi-office-building-cog-outline:before{content:"󱥊"}.mdi-office-building-marker:before{content:"󱔠"}.mdi-office-building-marker-outline:before{content:"󱔡"}.mdi-office-building-minus:before{content:"󱮪"}.mdi-office-building-minus-outline:before{content:"󱮫"}.mdi-office-building-outline:before{content:"󱔟"}.mdi-office-building-plus:before{content:"󱮨"}.mdi-office-building-plus-outline:before{content:"󱮩"}.mdi-office-building-remove:before{content:"󱮬"}.mdi-office-building-remove-outline:before{content:"󱮭"}.mdi-oil:before{content:"󰏇"}.mdi-oil-lamp:before{content:"󰼙"}.mdi-oil-level:before{content:"󱁓"}.mdi-oil-temperature:before{content:"󰿸"}.mdi-om:before{content:"󰥳"}.mdi-omega:before{content:"󰏉"}.mdi-one-up:before{content:"󰮭"}.mdi-onepassword:before{content:"󰢁"}.mdi-opacity:before{content:"󰗌"}.mdi-open-in-app:before{content:"󰏋"}.mdi-open-in-new:before{content:"󰏌"}.mdi-open-source-initiative:before{content:"󰮮"}.mdi-openid:before{content:"󰏍"}.mdi-opera:before{content:"󰏎"}.mdi-orbit:before{content:"󰀘"}.mdi-orbit-variant:before{content:"󱗛"}.mdi-order-alphabetical-ascending:before{content:"󰈍"}.mdi-order-alphabetical-descending:before{content:"󰴇"}.mdi-order-bool-ascending:before{content:"󰊾"}.mdi-order-bool-ascending-variant:before{content:"󰦏"}.mdi-order-bool-descending:before{content:"󱎄"}.mdi-order-bool-descending-variant:before{content:"󰦐"}.mdi-order-numeric-ascending:before{content:"󰕅"}.mdi-order-numeric-descending:before{content:"󰕆"}.mdi-origin:before{content:"󰭃"}.mdi-ornament:before{content:"󰏏"}.mdi-ornament-variant:before{content:"󰏐"}.mdi-outdoor-lamp:before{content:"󱁔"}.mdi-overscan:before{content:"󱀅"}.mdi-owl:before{content:"󰏒"}.mdi-pac-man:before{content:"󰮯"}.mdi-package:before{content:"󰏓"}.mdi-package-check:before{content:"󱭑"}.mdi-package-down:before{content:"󰏔"}.mdi-package-up:before{content:"󰏕"}.mdi-package-variant:before{content:"󰏖"}.mdi-package-variant-closed:before{content:"󰏗"}.mdi-package-variant-closed-check:before{content:"󱭒"}.mdi-package-variant-closed-minus:before{content:"󱧔"}.mdi-package-variant-closed-plus:before{content:"󱧕"}.mdi-package-variant-closed-remove:before{content:"󱧖"}.mdi-package-variant-minus:before{content:"󱧗"}.mdi-package-variant-plus:before{content:"󱧘"}.mdi-package-variant-remove:before{content:"󱧙"}.mdi-page-first:before{content:"󰘀"}.mdi-page-last:before{content:"󰘁"}.mdi-page-layout-body:before{content:"󰛺"}.mdi-page-layout-footer:before{content:"󰛻"}.mdi-page-layout-header:before{content:"󰛼"}.mdi-page-layout-header-footer:before{content:"󰽿"}.mdi-page-layout-sidebar-left:before{content:"󰛽"}.mdi-page-layout-sidebar-right:before{content:"󰛾"}.mdi-page-next:before{content:"󰮰"}.mdi-page-next-outline:before{content:"󰮱"}.mdi-page-previous:before{content:"󰮲"}.mdi-page-previous-outline:before{content:"󰮳"}.mdi-pail:before{content:"󱐗"}.mdi-pail-minus:before{content:"󱐷"}.mdi-pail-minus-outline:before{content:"󱐼"}.mdi-pail-off:before{content:"󱐹"}.mdi-pail-off-outline:before{content:"󱐾"}.mdi-pail-outline:before{content:"󱐺"}.mdi-pail-plus:before{content:"󱐶"}.mdi-pail-plus-outline:before{content:"󱐻"}.mdi-pail-remove:before{content:"󱐸"}.mdi-pail-remove-outline:before{content:"󱐽"}.mdi-palette:before{content:"󰏘"}.mdi-palette-advanced:before{content:"󰏙"}.mdi-palette-outline:before{content:"󰸌"}.mdi-palette-swatch:before{content:"󰢵"}.mdi-palette-swatch-outline:before{content:"󱍜"}.mdi-palette-swatch-variant:before{content:"󱥚"}.mdi-palm-tree:before{content:"󱁕"}.mdi-pan:before{content:"󰮴"}.mdi-pan-bottom-left:before{content:"󰮵"}.mdi-pan-bottom-right:before{content:"󰮶"}.mdi-pan-down:before{content:"󰮷"}.mdi-pan-horizontal:before{content:"󰮸"}.mdi-pan-left:before{content:"󰮹"}.mdi-pan-right:before{content:"󰮺"}.mdi-pan-top-left:before{content:"󰮻"}.mdi-pan-top-right:before{content:"󰮼"}.mdi-pan-up:before{content:"󰮽"}.mdi-pan-vertical:before{content:"󰮾"}.mdi-panda:before{content:"󰏚"}.mdi-pandora:before{content:"󰏛"}.mdi-panorama:before{content:"󰏜"}.mdi-panorama-fisheye:before{content:"󰏝"}.mdi-panorama-horizontal:before{content:"󱤨"}.mdi-panorama-horizontal-outline:before{content:"󰏞"}.mdi-panorama-outline:before{content:"󱦌"}.mdi-panorama-sphere:before{content:"󱦍"}.mdi-panorama-sphere-outline:before{content:"󱦎"}.mdi-panorama-variant:before{content:"󱦏"}.mdi-panorama-variant-outline:before{content:"󱦐"}.mdi-panorama-vertical:before{content:"󱤩"}.mdi-panorama-vertical-outline:before{content:"󰏟"}.mdi-panorama-wide-angle:before{content:"󱥟"}.mdi-panorama-wide-angle-outline:before{content:"󰏠"}.mdi-paper-cut-vertical:before{content:"󰏡"}.mdi-paper-roll:before{content:"󱅗"}.mdi-paper-roll-outline:before{content:"󱅘"}.mdi-paperclip:before{content:"󰏢"}.mdi-paperclip-check:before{content:"󱫆"}.mdi-paperclip-lock:before{content:"󱧚"}.mdi-paperclip-minus:before{content:"󱫇"}.mdi-paperclip-off:before{content:"󱫈"}.mdi-paperclip-plus:before{content:"󱫉"}.mdi-paperclip-remove:before{content:"󱫊"}.mdi-parachute:before{content:"󰲴"}.mdi-parachute-outline:before{content:"󰲵"}.mdi-paragliding:before{content:"󱝅"}.mdi-parking:before{content:"󰏣"}.mdi-party-popper:before{content:"󱁖"}.mdi-passport:before{content:"󰟣"}.mdi-passport-biometric:before{content:"󰷡"}.mdi-pasta:before{content:"󱅠"}.mdi-patio-heater:before{content:"󰾀"}.mdi-patreon:before{content:"󰢂"}.mdi-pause:before{content:"󰏤"}.mdi-pause-box:before{content:"󰂼"}.mdi-pause-box-outline:before{content:"󱭺"}.mdi-pause-circle:before{content:"󰏥"}.mdi-pause-circle-outline:before{content:"󰏦"}.mdi-pause-octagon:before{content:"󰏧"}.mdi-pause-octagon-outline:before{content:"󰏨"}.mdi-paw:before{content:"󰏩"}.mdi-paw-off:before{content:"󰙗"}.mdi-paw-off-outline:before{content:"󱙶"}.mdi-paw-outline:before{content:"󱙵"}.mdi-peace:before{content:"󰢄"}.mdi-peanut:before{content:"󰿼"}.mdi-peanut-off:before{content:"󰿽"}.mdi-peanut-off-outline:before{content:"󰿿"}.mdi-peanut-outline:before{content:"󰿾"}.mdi-pen:before{content:"󰏪"}.mdi-pen-lock:before{content:"󰷢"}.mdi-pen-minus:before{content:"󰷣"}.mdi-pen-off:before{content:"󰷤"}.mdi-pen-plus:before{content:"󰷥"}.mdi-pen-remove:before{content:"󰷦"}.mdi-pencil:before{content:"󰏫"}.mdi-pencil-box:before{content:"󰏬"}.mdi-pencil-box-multiple:before{content:"󱅄"}.mdi-pencil-box-multiple-outline:before{content:"󱅅"}.mdi-pencil-box-outline:before{content:"󰏭"}.mdi-pencil-circle:before{content:"󰛿"}.mdi-pencil-circle-outline:before{content:"󰝶"}.mdi-pencil-lock:before{content:"󰏮"}.mdi-pencil-lock-outline:before{content:"󰷧"}.mdi-pencil-minus:before{content:"󰷨"}.mdi-pencil-minus-outline:before{content:"󰷩"}.mdi-pencil-off:before{content:"󰏯"}.mdi-pencil-off-outline:before{content:"󰷪"}.mdi-pencil-outline:before{content:"󰲶"}.mdi-pencil-plus:before{content:"󰷫"}.mdi-pencil-plus-outline:before{content:"󰷬"}.mdi-pencil-remove:before{content:"󰷭"}.mdi-pencil-remove-outline:before{content:"󰷮"}.mdi-pencil-ruler:before{content:"󱍓"}.mdi-pencil-ruler-outline:before{content:"󱰑"}.mdi-penguin:before{content:"󰻀"}.mdi-pentagon:before{content:"󰜁"}.mdi-pentagon-outline:before{content:"󰜀"}.mdi-pentagram:before{content:"󱙧"}.mdi-percent:before{content:"󰏰"}.mdi-percent-box:before{content:"󱨂"}.mdi-percent-box-outline:before{content:"󱨃"}.mdi-percent-circle:before{content:"󱨄"}.mdi-percent-circle-outline:before{content:"󱨅"}.mdi-percent-outline:before{content:"󱉸"}.mdi-periodic-table:before{content:"󰢶"}.mdi-perspective-less:before{content:"󰴣"}.mdi-perspective-more:before{content:"󰴤"}.mdi-ph:before{content:"󱟅"}.mdi-phone:before{content:"󰏲"}.mdi-phone-alert:before{content:"󰼚"}.mdi-phone-alert-outline:before{content:"󱆎"}.mdi-phone-bluetooth:before{content:"󰏳"}.mdi-phone-bluetooth-outline:before{content:"󱆏"}.mdi-phone-cancel:before{content:"󱂼"}.mdi-phone-cancel-outline:before{content:"󱆐"}.mdi-phone-check:before{content:"󱆩"}.mdi-phone-check-outline:before{content:"󱆪"}.mdi-phone-classic:before{content:"󰘂"}.mdi-phone-classic-off:before{content:"󱉹"}.mdi-phone-clock:before{content:"󱧛"}.mdi-phone-dial:before{content:"󱕙"}.mdi-phone-dial-outline:before{content:"󱕚"}.mdi-phone-forward:before{content:"󰏴"}.mdi-phone-forward-outline:before{content:"󱆑"}.mdi-phone-hangup:before{content:"󰏵"}.mdi-phone-hangup-outline:before{content:"󱆒"}.mdi-phone-in-talk:before{content:"󰏶"}.mdi-phone-in-talk-outline:before{content:"󱆂"}.mdi-phone-incoming:before{content:"󰏷"}.mdi-phone-incoming-outgoing:before{content:"󱬿"}.mdi-phone-incoming-outgoing-outline:before{content:"󱭀"}.mdi-phone-incoming-outline:before{content:"󱆓"}.mdi-phone-lock:before{content:"󰏸"}.mdi-phone-lock-outline:before{content:"󱆔"}.mdi-phone-log:before{content:"󰏹"}.mdi-phone-log-outline:before{content:"󱆕"}.mdi-phone-message:before{content:"󱆖"}.mdi-phone-message-outline:before{content:"󱆗"}.mdi-phone-minus:before{content:"󰙘"}.mdi-phone-minus-outline:before{content:"󱆘"}.mdi-phone-missed:before{content:"󰏺"}.mdi-phone-missed-outline:before{content:"󱆥"}.mdi-phone-off:before{content:"󰷯"}.mdi-phone-off-outline:before{content:"󱆦"}.mdi-phone-outgoing:before{content:"󰏻"}.mdi-phone-outgoing-outline:before{content:"󱆙"}.mdi-phone-outline:before{content:"󰷰"}.mdi-phone-paused:before{content:"󰏼"}.mdi-phone-paused-outline:before{content:"󱆚"}.mdi-phone-plus:before{content:"󰙙"}.mdi-phone-plus-outline:before{content:"󱆛"}.mdi-phone-refresh:before{content:"󱦓"}.mdi-phone-refresh-outline:before{content:"󱦔"}.mdi-phone-remove:before{content:"󱔯"}.mdi-phone-remove-outline:before{content:"󱔰"}.mdi-phone-return:before{content:"󰠯"}.mdi-phone-return-outline:before{content:"󱆜"}.mdi-phone-ring:before{content:"󱆫"}.mdi-phone-ring-outline:before{content:"󱆬"}.mdi-phone-rotate-landscape:before{content:"󰢅"}.mdi-phone-rotate-portrait:before{content:"󰢆"}.mdi-phone-settings:before{content:"󰏽"}.mdi-phone-settings-outline:before{content:"󱆝"}.mdi-phone-sync:before{content:"󱦕"}.mdi-phone-sync-outline:before{content:"󱦖"}.mdi-phone-voip:before{content:"󰏾"}.mdi-pi:before{content:"󰏿"}.mdi-pi-box:before{content:"󰐀"}.mdi-pi-hole:before{content:"󰷱"}.mdi-piano:before{content:"󰙽"}.mdi-piano-off:before{content:"󰚘"}.mdi-pickaxe:before{content:"󰢷"}.mdi-picture-in-picture-bottom-right:before{content:"󰹗"}.mdi-picture-in-picture-bottom-right-outline:before{content:"󰹘"}.mdi-picture-in-picture-top-right:before{content:"󰹙"}.mdi-picture-in-picture-top-right-outline:before{content:"󰹚"}.mdi-pier:before{content:"󰢇"}.mdi-pier-crane:before{content:"󰢈"}.mdi-pig:before{content:"󰐁"}.mdi-pig-variant:before{content:"󱀆"}.mdi-pig-variant-outline:before{content:"󱙸"}.mdi-piggy-bank:before{content:"󱀇"}.mdi-piggy-bank-outline:before{content:"󱙹"}.mdi-pill:before{content:"󰐂"}.mdi-pill-multiple:before{content:"󱭌"}.mdi-pill-off:before{content:"󱩜"}.mdi-pillar:before{content:"󰜂"}.mdi-pin:before{content:"󰐃"}.mdi-pin-off:before{content:"󰐄"}.mdi-pin-off-outline:before{content:"󰤰"}.mdi-pin-outline:before{content:"󰤱"}.mdi-pine-tree:before{content:"󰐅"}.mdi-pine-tree-box:before{content:"󰐆"}.mdi-pine-tree-fire:before{content:"󱐚"}.mdi-pine-tree-variant:before{content:"󱱳"}.mdi-pine-tree-variant-outline:before{content:"󱱴"}.mdi-pinterest:before{content:"󰐇"}.mdi-pinwheel:before{content:"󰫕"}.mdi-pinwheel-outline:before{content:"󰫖"}.mdi-pipe:before{content:"󰟥"}.mdi-pipe-disconnected:before{content:"󰟦"}.mdi-pipe-leak:before{content:"󰢉"}.mdi-pipe-valve:before{content:"󱡍"}.mdi-pipe-wrench:before{content:"󱍔"}.mdi-pirate:before{content:"󰨈"}.mdi-pistol:before{content:"󰜃"}.mdi-piston:before{content:"󰢊"}.mdi-pitchfork:before{content:"󱕓"}.mdi-pizza:before{content:"󰐉"}.mdi-plane-car:before{content:"󱫿"}.mdi-plane-train:before{content:"󱬀"}.mdi-play:before{content:"󰐊"}.mdi-play-box:before{content:"󱉺"}.mdi-play-box-edit-outline:before{content:"󱰺"}.mdi-play-box-lock:before{content:"󱨖"}.mdi-play-box-lock-open:before{content:"󱨗"}.mdi-play-box-lock-open-outline:before{content:"󱨘"}.mdi-play-box-lock-outline:before{content:"󱨙"}.mdi-play-box-multiple:before{content:"󰴙"}.mdi-play-box-multiple-outline:before{content:"󱏦"}.mdi-play-box-outline:before{content:"󰐋"}.mdi-play-circle:before{content:"󰐌"}.mdi-play-circle-outline:before{content:"󰐍"}.mdi-play-network:before{content:"󰢋"}.mdi-play-network-outline:before{content:"󰲷"}.mdi-play-outline:before{content:"󰼛"}.mdi-play-pause:before{content:"󰐎"}.mdi-play-protected-content:before{content:"󰐏"}.mdi-play-speed:before{content:"󰣿"}.mdi-playlist-check:before{content:"󰗇"}.mdi-playlist-edit:before{content:"󰤀"}.mdi-playlist-minus:before{content:"󰐐"}.mdi-playlist-music:before{content:"󰲸"}.mdi-playlist-music-outline:before{content:"󰲹"}.mdi-playlist-play:before{content:"󰐑"}.mdi-playlist-plus:before{content:"󰐒"}.mdi-playlist-remove:before{content:"󰐓"}.mdi-playlist-star:before{content:"󰷲"}.mdi-plex:before{content:"󰚺"}.mdi-pliers:before{content:"󱦤"}.mdi-plus:before{content:"󰐕"}.mdi-plus-box:before{content:"󰐖"}.mdi-plus-box-multiple:before{content:"󰌴"}.mdi-plus-box-multiple-outline:before{content:"󱅃"}.mdi-plus-box-outline:before{content:"󰜄"}.mdi-plus-circle:before{content:"󰐗"}.mdi-plus-circle-multiple:before{content:"󰍌"}.mdi-plus-circle-multiple-outline:before{content:"󰐘"}.mdi-plus-circle-outline:before{content:"󰐙"}.mdi-plus-lock:before{content:"󱩝"}.mdi-plus-lock-open:before{content:"󱩞"}.mdi-plus-minus:before{content:"󰦒"}.mdi-plus-minus-box:before{content:"󰦓"}.mdi-plus-minus-variant:before{content:"󱓉"}.mdi-plus-network:before{content:"󰐚"}.mdi-plus-network-outline:before{content:"󰲺"}.mdi-plus-outline:before{content:"󰜅"}.mdi-plus-thick:before{content:"󱇬"}.mdi-podcast:before{content:"󰦔"}.mdi-podium:before{content:"󰴥"}.mdi-podium-bronze:before{content:"󰴦"}.mdi-podium-gold:before{content:"󰴧"}.mdi-podium-silver:before{content:"󰴨"}.mdi-point-of-sale:before{content:"󰶒"}.mdi-pokeball:before{content:"󰐝"}.mdi-pokemon-go:before{content:"󰨉"}.mdi-poker-chip:before{content:"󰠰"}.mdi-polaroid:before{content:"󰐞"}.mdi-police-badge:before{content:"󱅧"}.mdi-police-badge-outline:before{content:"󱅨"}.mdi-police-station:before{content:"󱠹"}.mdi-poll:before{content:"󰐟"}.mdi-polo:before{content:"󱓃"}.mdi-polymer:before{content:"󰐡"}.mdi-pool:before{content:"󰘆"}.mdi-pool-thermometer:before{content:"󱩟"}.mdi-popcorn:before{content:"󰐢"}.mdi-post:before{content:"󱀈"}.mdi-post-lamp:before{content:"󱩠"}.mdi-post-outline:before{content:"󱀉"}.mdi-postage-stamp:before{content:"󰲻"}.mdi-pot:before{content:"󰋥"}.mdi-pot-mix:before{content:"󰙛"}.mdi-pot-mix-outline:before{content:"󰙷"}.mdi-pot-outline:before{content:"󰋿"}.mdi-pot-steam:before{content:"󰙚"}.mdi-pot-steam-outline:before{content:"󰌦"}.mdi-pound:before{content:"󰐣"}.mdi-pound-box:before{content:"󰐤"}.mdi-pound-box-outline:before{content:"󱅿"}.mdi-power:before{content:"󰐥"}.mdi-power-cycle:before{content:"󰤁"}.mdi-power-off:before{content:"󰤂"}.mdi-power-on:before{content:"󰤃"}.mdi-power-plug:before{content:"󰚥"}.mdi-power-plug-battery:before{content:"󱰻"}.mdi-power-plug-battery-outline:before{content:"󱰼"}.mdi-power-plug-off:before{content:"󰚦"}.mdi-power-plug-off-outline:before{content:"󱐤"}.mdi-power-plug-outline:before{content:"󱐥"}.mdi-power-settings:before{content:"󰐦"}.mdi-power-sleep:before{content:"󰤄"}.mdi-power-socket:before{content:"󰐧"}.mdi-power-socket-au:before{content:"󰤅"}.mdi-power-socket-ch:before{content:"󰾳"}.mdi-power-socket-de:before{content:"󱄇"}.mdi-power-socket-eu:before{content:"󰟧"}.mdi-power-socket-fr:before{content:"󱄈"}.mdi-power-socket-it:before{content:"󱓿"}.mdi-power-socket-jp:before{content:"󱄉"}.mdi-power-socket-uk:before{content:"󰟨"}.mdi-power-socket-us:before{content:"󰟩"}.mdi-power-standby:before{content:"󰤆"}.mdi-powershell:before{content:"󰨊"}.mdi-prescription:before{content:"󰜆"}.mdi-presentation:before{content:"󰐨"}.mdi-presentation-play:before{content:"󰐩"}.mdi-pretzel:before{content:"󱕢"}.mdi-printer:before{content:"󰐪"}.mdi-printer-3d:before{content:"󰐫"}.mdi-printer-3d-nozzle:before{content:"󰹛"}.mdi-printer-3d-nozzle-alert:before{content:"󱇀"}.mdi-printer-3d-nozzle-alert-outline:before{content:"󱇁"}.mdi-printer-3d-nozzle-heat:before{content:"󱢸"}.mdi-printer-3d-nozzle-heat-outline:before{content:"󱢹"}.mdi-printer-3d-nozzle-off:before{content:"󱬙"}.mdi-printer-3d-nozzle-off-outline:before{content:"󱬚"}.mdi-printer-3d-nozzle-outline:before{content:"󰹜"}.mdi-printer-3d-off:before{content:"󱬎"}.mdi-printer-alert:before{content:"󰐬"}.mdi-printer-check:before{content:"󱅆"}.mdi-printer-eye:before{content:"󱑘"}.mdi-printer-off:before{content:"󰹝"}.mdi-printer-off-outline:before{content:"󱞅"}.mdi-printer-outline:before{content:"󱞆"}.mdi-printer-pos:before{content:"󱁗"}.mdi-printer-pos-alert:before{content:"󱮼"}.mdi-printer-pos-alert-outline:before{content:"󱮽"}.mdi-printer-pos-cancel:before{content:"󱮾"}.mdi-printer-pos-cancel-outline:before{content:"󱮿"}.mdi-printer-pos-check:before{content:"󱯀"}.mdi-printer-pos-check-outline:before{content:"󱯁"}.mdi-printer-pos-cog:before{content:"󱯂"}.mdi-printer-pos-cog-outline:before{content:"󱯃"}.mdi-printer-pos-edit:before{content:"󱯄"}.mdi-printer-pos-edit-outline:before{content:"󱯅"}.mdi-printer-pos-minus:before{content:"󱯆"}.mdi-printer-pos-minus-outline:before{content:"󱯇"}.mdi-printer-pos-network:before{content:"󱯈"}.mdi-printer-pos-network-outline:before{content:"󱯉"}.mdi-printer-pos-off:before{content:"󱯊"}.mdi-printer-pos-off-outline:before{content:"󱯋"}.mdi-printer-pos-outline:before{content:"󱯌"}.mdi-printer-pos-pause:before{content:"󱯍"}.mdi-printer-pos-pause-outline:before{content:"󱯎"}.mdi-printer-pos-play:before{content:"󱯏"}.mdi-printer-pos-play-outline:before{content:"󱯐"}.mdi-printer-pos-plus:before{content:"󱯑"}.mdi-printer-pos-plus-outline:before{content:"󱯒"}.mdi-printer-pos-refresh:before{content:"󱯓"}.mdi-printer-pos-refresh-outline:before{content:"󱯔"}.mdi-printer-pos-remove:before{content:"󱯕"}.mdi-printer-pos-remove-outline:before{content:"󱯖"}.mdi-printer-pos-star:before{content:"󱯗"}.mdi-printer-pos-star-outline:before{content:"󱯘"}.mdi-printer-pos-stop:before{content:"󱯙"}.mdi-printer-pos-stop-outline:before{content:"󱯚"}.mdi-printer-pos-sync:before{content:"󱯛"}.mdi-printer-pos-sync-outline:before{content:"󱯜"}.mdi-printer-pos-wrench:before{content:"󱯝"}.mdi-printer-pos-wrench-outline:before{content:"󱯞"}.mdi-printer-search:before{content:"󱑗"}.mdi-printer-settings:before{content:"󰜇"}.mdi-printer-wireless:before{content:"󰨋"}.mdi-priority-high:before{content:"󰘃"}.mdi-priority-low:before{content:"󰘄"}.mdi-professional-hexagon:before{content:"󰐭"}.mdi-progress-alert:before{content:"󰲼"}.mdi-progress-check:before{content:"󰦕"}.mdi-progress-clock:before{content:"󰦖"}.mdi-progress-close:before{content:"󱄊"}.mdi-progress-download:before{content:"󰦗"}.mdi-progress-helper:before{content:"󱮢"}.mdi-progress-pencil:before{content:"󱞇"}.mdi-progress-question:before{content:"󱔢"}.mdi-progress-star:before{content:"󱞈"}.mdi-progress-star-four-points:before{content:"󱰽"}.mdi-progress-upload:before{content:"󰦘"}.mdi-progress-wrench:before{content:"󰲽"}.mdi-projector:before{content:"󰐮"}.mdi-projector-off:before{content:"󱨣"}.mdi-projector-screen:before{content:"󰐯"}.mdi-projector-screen-off:before{content:"󱠍"}.mdi-projector-screen-off-outline:before{content:"󱠎"}.mdi-projector-screen-outline:before{content:"󱜤"}.mdi-projector-screen-variant:before{content:"󱠏"}.mdi-projector-screen-variant-off:before{content:"󱠐"}.mdi-projector-screen-variant-off-outline:before{content:"󱠑"}.mdi-projector-screen-variant-outline:before{content:"󱠒"}.mdi-propane-tank:before{content:"󱍗"}.mdi-propane-tank-outline:before{content:"󱍘"}.mdi-protocol:before{content:"󰿘"}.mdi-publish:before{content:"󰚧"}.mdi-publish-off:before{content:"󱥅"}.mdi-pulse:before{content:"󰐰"}.mdi-pump:before{content:"󱐂"}.mdi-pump-off:before{content:"󱬢"}.mdi-pumpkin:before{content:"󰮿"}.mdi-purse:before{content:"󰼜"}.mdi-purse-outline:before{content:"󰼝"}.mdi-puzzle:before{content:"󰐱"}.mdi-puzzle-check:before{content:"󱐦"}.mdi-puzzle-check-outline:before{content:"󱐧"}.mdi-puzzle-edit:before{content:"󱓓"}.mdi-puzzle-edit-outline:before{content:"󱓙"}.mdi-puzzle-heart:before{content:"󱓔"}.mdi-puzzle-heart-outline:before{content:"󱓚"}.mdi-puzzle-minus:before{content:"󱓑"}.mdi-puzzle-minus-outline:before{content:"󱓗"}.mdi-puzzle-outline:before{content:"󰩦"}.mdi-puzzle-plus:before{content:"󱓐"}.mdi-puzzle-plus-outline:before{content:"󱓖"}.mdi-puzzle-remove:before{content:"󱓒"}.mdi-puzzle-remove-outline:before{content:"󱓘"}.mdi-puzzle-star:before{content:"󱓕"}.mdi-puzzle-star-outline:before{content:"󱓛"}.mdi-pyramid:before{content:"󱥒"}.mdi-pyramid-off:before{content:"󱥓"}.mdi-qi:before{content:"󰦙"}.mdi-qqchat:before{content:"󰘅"}.mdi-qrcode:before{content:"󰐲"}.mdi-qrcode-edit:before{content:"󰢸"}.mdi-qrcode-minus:before{content:"󱆌"}.mdi-qrcode-plus:before{content:"󱆋"}.mdi-qrcode-remove:before{content:"󱆍"}.mdi-qrcode-scan:before{content:"󰐳"}.mdi-quadcopter:before{content:"󰐴"}.mdi-quality-high:before{content:"󰐵"}.mdi-quality-low:before{content:"󰨌"}.mdi-quality-medium:before{content:"󰨍"}.mdi-quora:before{content:"󰴩"}.mdi-rabbit:before{content:"󰤇"}.mdi-rabbit-variant:before{content:"󱩡"}.mdi-rabbit-variant-outline:before{content:"󱩢"}.mdi-racing-helmet:before{content:"󰶓"}.mdi-racquetball:before{content:"󰶔"}.mdi-radar:before{content:"󰐷"}.mdi-radiator:before{content:"󰐸"}.mdi-radiator-disabled:before{content:"󰫗"}.mdi-radiator-off:before{content:"󰫘"}.mdi-radio:before{content:"󰐹"}.mdi-radio-am:before{content:"󰲾"}.mdi-radio-fm:before{content:"󰲿"}.mdi-radio-handheld:before{content:"󰐺"}.mdi-radio-off:before{content:"󱈜"}.mdi-radio-tower:before{content:"󰐻"}.mdi-radioactive:before{content:"󰐼"}.mdi-radioactive-circle:before{content:"󱡝"}.mdi-radioactive-circle-outline:before{content:"󱡞"}.mdi-radioactive-off:before{content:"󰻁"}.mdi-radiobox-blank:before{content:"󰐽"}.mdi-radiobox-indeterminate-variant:before{content:"󱱞"}.mdi-radiobox-marked:before{content:"󰐾"}.mdi-radiology-box:before{content:"󱓅"}.mdi-radiology-box-outline:before{content:"󱓆"}.mdi-radius:before{content:"󰳀"}.mdi-radius-outline:before{content:"󰳁"}.mdi-railroad-light:before{content:"󰼞"}.mdi-rake:before{content:"󱕄"}.mdi-raspberry-pi:before{content:"󰐿"}.mdi-raw:before{content:"󱨏"}.mdi-raw-off:before{content:"󱨐"}.mdi-ray-end:before{content:"󰑀"}.mdi-ray-end-arrow:before{content:"󰑁"}.mdi-ray-start:before{content:"󰑂"}.mdi-ray-start-arrow:before{content:"󰑃"}.mdi-ray-start-end:before{content:"󰑄"}.mdi-ray-start-vertex-end:before{content:"󱗘"}.mdi-ray-vertex:before{content:"󰑅"}.mdi-razor-double-edge:before{content:"󱦗"}.mdi-razor-single-edge:before{content:"󱦘"}.mdi-react:before{content:"󰜈"}.mdi-read:before{content:"󰑇"}.mdi-receipt:before{content:"󰠤"}.mdi-receipt-clock:before{content:"󱰾"}.mdi-receipt-clock-outline:before{content:"󱰿"}.mdi-receipt-outline:before{content:"󰓷"}.mdi-receipt-send:before{content:"󱱀"}.mdi-receipt-send-outline:before{content:"󱱁"}.mdi-receipt-text:before{content:"󰑉"}.mdi-receipt-text-arrow-left:before{content:"󱱂"}.mdi-receipt-text-arrow-left-outline:before{content:"󱱃"}.mdi-receipt-text-arrow-right:before{content:"󱱄"}.mdi-receipt-text-arrow-right-outline:before{content:"󱱅"}.mdi-receipt-text-check:before{content:"󱩣"}.mdi-receipt-text-check-outline:before{content:"󱩤"}.mdi-receipt-text-clock:before{content:"󱱆"}.mdi-receipt-text-clock-outline:before{content:"󱱇"}.mdi-receipt-text-edit:before{content:"󱱈"}.mdi-receipt-text-edit-outline:before{content:"󱱉"}.mdi-receipt-text-minus:before{content:"󱩥"}.mdi-receipt-text-minus-outline:before{content:"󱩦"}.mdi-receipt-text-outline:before{content:"󱧜"}.mdi-receipt-text-plus:before{content:"󱩧"}.mdi-receipt-text-plus-outline:before{content:"󱩨"}.mdi-receipt-text-remove:before{content:"󱩩"}.mdi-receipt-text-remove-outline:before{content:"󱩪"}.mdi-receipt-text-send:before{content:"󱱊"}.mdi-receipt-text-send-outline:before{content:"󱱋"}.mdi-record:before{content:"󰑊"}.mdi-record-circle:before{content:"󰻂"}.mdi-record-circle-outline:before{content:"󰻃"}.mdi-record-player:before{content:"󰦚"}.mdi-record-rec:before{content:"󰑋"}.mdi-rectangle:before{content:"󰹞"}.mdi-rectangle-outline:before{content:"󰹟"}.mdi-recycle:before{content:"󰑌"}.mdi-recycle-variant:before{content:"󱎝"}.mdi-reddit:before{content:"󰑍"}.mdi-redhat:before{content:"󱄛"}.mdi-redo:before{content:"󰑎"}.mdi-redo-variant:before{content:"󰑏"}.mdi-reflect-horizontal:before{content:"󰨎"}.mdi-reflect-vertical:before{content:"󰨏"}.mdi-refresh:before{content:"󰑐"}.mdi-refresh-auto:before{content:"󱣲"}.mdi-refresh-circle:before{content:"󱍷"}.mdi-regex:before{content:"󰑑"}.mdi-registered-trademark:before{content:"󰩧"}.mdi-reiterate:before{content:"󱖈"}.mdi-relation-many-to-many:before{content:"󱒖"}.mdi-relation-many-to-one:before{content:"󱒗"}.mdi-relation-many-to-one-or-many:before{content:"󱒘"}.mdi-relation-many-to-only-one:before{content:"󱒙"}.mdi-relation-many-to-zero-or-many:before{content:"󱒚"}.mdi-relation-many-to-zero-or-one:before{content:"󱒛"}.mdi-relation-one-or-many-to-many:before{content:"󱒜"}.mdi-relation-one-or-many-to-one:before{content:"󱒝"}.mdi-relation-one-or-many-to-one-or-many:before{content:"󱒞"}.mdi-relation-one-or-many-to-only-one:before{content:"󱒟"}.mdi-relation-one-or-many-to-zero-or-many:before{content:"󱒠"}.mdi-relation-one-or-many-to-zero-or-one:before{content:"󱒡"}.mdi-relation-one-to-many:before{content:"󱒢"}.mdi-relation-one-to-one:before{content:"󱒣"}.mdi-relation-one-to-one-or-many:before{content:"󱒤"}.mdi-relation-one-to-only-one:before{content:"󱒥"}.mdi-relation-one-to-zero-or-many:before{content:"󱒦"}.mdi-relation-one-to-zero-or-one:before{content:"󱒧"}.mdi-relation-only-one-to-many:before{content:"󱒨"}.mdi-relation-only-one-to-one:before{content:"󱒩"}.mdi-relation-only-one-to-one-or-many:before{content:"󱒪"}.mdi-relation-only-one-to-only-one:before{content:"󱒫"}.mdi-relation-only-one-to-zero-or-many:before{content:"󱒬"}.mdi-relation-only-one-to-zero-or-one:before{content:"󱒭"}.mdi-relation-zero-or-many-to-many:before{content:"󱒮"}.mdi-relation-zero-or-many-to-one:before{content:"󱒯"}.mdi-relation-zero-or-many-to-one-or-many:before{content:"󱒰"}.mdi-relation-zero-or-many-to-only-one:before{content:"󱒱"}.mdi-relation-zero-or-many-to-zero-or-many:before{content:"󱒲"}.mdi-relation-zero-or-many-to-zero-or-one:before{content:"󱒳"}.mdi-relation-zero-or-one-to-many:before{content:"󱒴"}.mdi-relation-zero-or-one-to-one:before{content:"󱒵"}.mdi-relation-zero-or-one-to-one-or-many:before{content:"󱒶"}.mdi-relation-zero-or-one-to-only-one:before{content:"󱒷"}.mdi-relation-zero-or-one-to-zero-or-many:before{content:"󱒸"}.mdi-relation-zero-or-one-to-zero-or-one:before{content:"󱒹"}.mdi-relative-scale:before{content:"󰑒"}.mdi-reload:before{content:"󰑓"}.mdi-reload-alert:before{content:"󱄋"}.mdi-reminder:before{content:"󰢌"}.mdi-remote:before{content:"󰑔"}.mdi-remote-desktop:before{content:"󰢹"}.mdi-remote-off:before{content:"󰻄"}.mdi-remote-tv:before{content:"󰻅"}.mdi-remote-tv-off:before{content:"󰻆"}.mdi-rename:before{content:"󱰘"}.mdi-rename-box:before{content:"󰑕"}.mdi-rename-box-outline:before{content:"󱰙"}.mdi-rename-outline:before{content:"󱰚"}.mdi-reorder-horizontal:before{content:"󰚈"}.mdi-reorder-vertical:before{content:"󰚉"}.mdi-repeat:before{content:"󰑖"}.mdi-repeat-off:before{content:"󰑗"}.mdi-repeat-once:before{content:"󰑘"}.mdi-repeat-variant:before{content:"󰕇"}.mdi-replay:before{content:"󰑙"}.mdi-reply:before{content:"󰑚"}.mdi-reply-all:before{content:"󰑛"}.mdi-reply-all-outline:before{content:"󰼟"}.mdi-reply-circle:before{content:"󱆮"}.mdi-reply-outline:before{content:"󰼠"}.mdi-reproduction:before{content:"󰑜"}.mdi-resistor:before{content:"󰭄"}.mdi-resistor-nodes:before{content:"󰭅"}.mdi-resize:before{content:"󰩨"}.mdi-resize-bottom-right:before{content:"󰑝"}.mdi-responsive:before{content:"󰑞"}.mdi-restart:before{content:"󰜉"}.mdi-restart-alert:before{content:"󱄌"}.mdi-restart-off:before{content:"󰶕"}.mdi-restore:before{content:"󰦛"}.mdi-restore-alert:before{content:"󱄍"}.mdi-rewind:before{content:"󰑟"}.mdi-rewind-10:before{content:"󰴪"}.mdi-rewind-15:before{content:"󱥆"}.mdi-rewind-30:before{content:"󰶖"}.mdi-rewind-45:before{content:"󱬓"}.mdi-rewind-5:before{content:"󱇹"}.mdi-rewind-60:before{content:"󱘌"}.mdi-rewind-outline:before{content:"󰜊"}.mdi-rhombus:before{content:"󰜋"}.mdi-rhombus-medium:before{content:"󰨐"}.mdi-rhombus-medium-outline:before{content:"󱓜"}.mdi-rhombus-outline:before{content:"󰜌"}.mdi-rhombus-split:before{content:"󰨑"}.mdi-rhombus-split-outline:before{content:"󱓝"}.mdi-ribbon:before{content:"󰑠"}.mdi-rice:before{content:"󰟪"}.mdi-rickshaw:before{content:"󱖻"}.mdi-rickshaw-electric:before{content:"󱖼"}.mdi-ring:before{content:"󰟫"}.mdi-rivet:before{content:"󰹠"}.mdi-road:before{content:"󰑡"}.mdi-road-variant:before{content:"󰑢"}.mdi-robber:before{content:"󱁘"}.mdi-robot:before{content:"󰚩"}.mdi-robot-angry:before{content:"󱚝"}.mdi-robot-angry-outline:before{content:"󱚞"}.mdi-robot-confused:before{content:"󱚟"}.mdi-robot-confused-outline:before{content:"󱚠"}.mdi-robot-dead:before{content:"󱚡"}.mdi-robot-dead-outline:before{content:"󱚢"}.mdi-robot-excited:before{content:"󱚣"}.mdi-robot-excited-outline:before{content:"󱚤"}.mdi-robot-happy:before{content:"󱜙"}.mdi-robot-happy-outline:before{content:"󱜚"}.mdi-robot-industrial:before{content:"󰭆"}.mdi-robot-industrial-outline:before{content:"󱨚"}.mdi-robot-love:before{content:"󱚥"}.mdi-robot-love-outline:before{content:"󱚦"}.mdi-robot-mower:before{content:"󱇷"}.mdi-robot-mower-outline:before{content:"󱇳"}.mdi-robot-off:before{content:"󱚧"}.mdi-robot-off-outline:before{content:"󱙻"}.mdi-robot-outline:before{content:"󱙺"}.mdi-robot-vacuum:before{content:"󰜍"}.mdi-robot-vacuum-alert:before{content:"󱭝"}.mdi-robot-vacuum-off:before{content:"󱰁"}.mdi-robot-vacuum-variant:before{content:"󰤈"}.mdi-robot-vacuum-variant-alert:before{content:"󱭞"}.mdi-robot-vacuum-variant-off:before{content:"󱰂"}.mdi-rocket:before{content:"󰑣"}.mdi-rocket-launch:before{content:"󱓞"}.mdi-rocket-launch-outline:before{content:"󱓟"}.mdi-rocket-outline:before{content:"󱎯"}.mdi-rodent:before{content:"󱌧"}.mdi-roller-shade:before{content:"󱩫"}.mdi-roller-shade-closed:before{content:"󱩬"}.mdi-roller-skate:before{content:"󰴫"}.mdi-roller-skate-off:before{content:"󰅅"}.mdi-rollerblade:before{content:"󰴬"}.mdi-rollerblade-off:before{content:"󰀮"}.mdi-rollupjs:before{content:"󰯀"}.mdi-rolodex:before{content:"󱪹"}.mdi-rolodex-outline:before{content:"󱪺"}.mdi-roman-numeral-1:before{content:"󱂈"}.mdi-roman-numeral-10:before{content:"󱂑"}.mdi-roman-numeral-2:before{content:"󱂉"}.mdi-roman-numeral-3:before{content:"󱂊"}.mdi-roman-numeral-4:before{content:"󱂋"}.mdi-roman-numeral-5:before{content:"󱂌"}.mdi-roman-numeral-6:before{content:"󱂍"}.mdi-roman-numeral-7:before{content:"󱂎"}.mdi-roman-numeral-8:before{content:"󱂏"}.mdi-roman-numeral-9:before{content:"󱂐"}.mdi-room-service:before{content:"󰢍"}.mdi-room-service-outline:before{content:"󰶗"}.mdi-rotate-360:before{content:"󱦙"}.mdi-rotate-3d:before{content:"󰻇"}.mdi-rotate-3d-variant:before{content:"󰑤"}.mdi-rotate-left:before{content:"󰑥"}.mdi-rotate-left-variant:before{content:"󰑦"}.mdi-rotate-orbit:before{content:"󰶘"}.mdi-rotate-right:before{content:"󰑧"}.mdi-rotate-right-variant:before{content:"󰑨"}.mdi-rounded-corner:before{content:"󰘇"}.mdi-router:before{content:"󱇢"}.mdi-router-network:before{content:"󱂇"}.mdi-router-wireless:before{content:"󰑩"}.mdi-router-wireless-off:before{content:"󱖣"}.mdi-router-wireless-settings:before{content:"󰩩"}.mdi-routes:before{content:"󰑪"}.mdi-routes-clock:before{content:"󱁙"}.mdi-rowing:before{content:"󰘈"}.mdi-rss:before{content:"󰑫"}.mdi-rss-box:before{content:"󰑬"}.mdi-rss-off:before{content:"󰼡"}.mdi-rug:before{content:"󱑵"}.mdi-rugby:before{content:"󰶙"}.mdi-ruler:before{content:"󰑭"}.mdi-ruler-square:before{content:"󰳂"}.mdi-ruler-square-compass:before{content:"󰺾"}.mdi-run:before{content:"󰜎"}.mdi-run-fast:before{content:"󰑮"}.mdi-rv-truck:before{content:"󱇔"}.mdi-sack:before{content:"󰴮"}.mdi-sack-outline:before{content:"󱱌"}.mdi-sack-percent:before{content:"󰴯"}.mdi-safe:before{content:"󰩪"}.mdi-safe-square:before{content:"󱉼"}.mdi-safe-square-outline:before{content:"󱉽"}.mdi-safety-goggles:before{content:"󰴰"}.mdi-sail-boat:before{content:"󰻈"}.mdi-sail-boat-sink:before{content:"󱫯"}.mdi-sale:before{content:"󰑯"}.mdi-sale-outline:before{content:"󱨆"}.mdi-salesforce:before{content:"󰢎"}.mdi-sass:before{content:"󰟬"}.mdi-satellite:before{content:"󰑰"}.mdi-satellite-uplink:before{content:"󰤉"}.mdi-satellite-variant:before{content:"󰑱"}.mdi-sausage:before{content:"󰢺"}.mdi-sausage-off:before{content:"󱞉"}.mdi-saw-blade:before{content:"󰹡"}.mdi-sawtooth-wave:before{content:"󱑺"}.mdi-saxophone:before{content:"󰘉"}.mdi-scale:before{content:"󰑲"}.mdi-scale-balance:before{content:"󰗑"}.mdi-scale-bathroom:before{content:"󰑳"}.mdi-scale-off:before{content:"󱁚"}.mdi-scale-unbalanced:before{content:"󱦸"}.mdi-scan-helper:before{content:"󱏘"}.mdi-scanner:before{content:"󰚫"}.mdi-scanner-off:before{content:"󰤊"}.mdi-scatter-plot:before{content:"󰻉"}.mdi-scatter-plot-outline:before{content:"󰻊"}.mdi-scent:before{content:"󱥘"}.mdi-scent-off:before{content:"󱥙"}.mdi-school:before{content:"󰑴"}.mdi-school-outline:before{content:"󱆀"}.mdi-scissors-cutting:before{content:"󰩫"}.mdi-scooter:before{content:"󱖽"}.mdi-scooter-electric:before{content:"󱖾"}.mdi-scoreboard:before{content:"󱉾"}.mdi-scoreboard-outline:before{content:"󱉿"}.mdi-screen-rotation:before{content:"󰑵"}.mdi-screen-rotation-lock:before{content:"󰑸"}.mdi-screw-flat-top:before{content:"󰷳"}.mdi-screw-lag:before{content:"󰷴"}.mdi-screw-machine-flat-top:before{content:"󰷵"}.mdi-screw-machine-round-top:before{content:"󰷶"}.mdi-screw-round-top:before{content:"󰷷"}.mdi-screwdriver:before{content:"󰑶"}.mdi-script:before{content:"󰯁"}.mdi-script-outline:before{content:"󰑷"}.mdi-script-text:before{content:"󰯂"}.mdi-script-text-key:before{content:"󱜥"}.mdi-script-text-key-outline:before{content:"󱜦"}.mdi-script-text-outline:before{content:"󰯃"}.mdi-script-text-play:before{content:"󱜧"}.mdi-script-text-play-outline:before{content:"󱜨"}.mdi-sd:before{content:"󰑹"}.mdi-seal:before{content:"󰑺"}.mdi-seal-variant:before{content:"󰿙"}.mdi-search-web:before{content:"󰜏"}.mdi-seat:before{content:"󰳃"}.mdi-seat-flat:before{content:"󰑻"}.mdi-seat-flat-angled:before{content:"󰑼"}.mdi-seat-individual-suite:before{content:"󰑽"}.mdi-seat-legroom-extra:before{content:"󰑾"}.mdi-seat-legroom-normal:before{content:"󰑿"}.mdi-seat-legroom-reduced:before{content:"󰒀"}.mdi-seat-outline:before{content:"󰳄"}.mdi-seat-passenger:before{content:"󱉉"}.mdi-seat-recline-extra:before{content:"󰒁"}.mdi-seat-recline-normal:before{content:"󰒂"}.mdi-seatbelt:before{content:"󰳅"}.mdi-security:before{content:"󰒃"}.mdi-security-network:before{content:"󰒄"}.mdi-seed:before{content:"󰹢"}.mdi-seed-off:before{content:"󱏽"}.mdi-seed-off-outline:before{content:"󱏾"}.mdi-seed-outline:before{content:"󰹣"}.mdi-seed-plus:before{content:"󱩭"}.mdi-seed-plus-outline:before{content:"󱩮"}.mdi-seesaw:before{content:"󱖤"}.mdi-segment:before{content:"󰻋"}.mdi-select:before{content:"󰒅"}.mdi-select-all:before{content:"󰒆"}.mdi-select-arrow-down:before{content:"󱭙"}.mdi-select-arrow-up:before{content:"󱭘"}.mdi-select-color:before{content:"󰴱"}.mdi-select-compare:before{content:"󰫙"}.mdi-select-drag:before{content:"󰩬"}.mdi-select-group:before{content:"󰾂"}.mdi-select-inverse:before{content:"󰒇"}.mdi-select-marker:before{content:"󱊀"}.mdi-select-multiple:before{content:"󱊁"}.mdi-select-multiple-marker:before{content:"󱊂"}.mdi-select-off:before{content:"󰒈"}.mdi-select-place:before{content:"󰿚"}.mdi-select-remove:before{content:"󱟁"}.mdi-select-search:before{content:"󱈄"}.mdi-selection:before{content:"󰒉"}.mdi-selection-drag:before{content:"󰩭"}.mdi-selection-ellipse:before{content:"󰴲"}.mdi-selection-ellipse-arrow-inside:before{content:"󰼢"}.mdi-selection-ellipse-remove:before{content:"󱟂"}.mdi-selection-marker:before{content:"󱊃"}.mdi-selection-multiple:before{content:"󱊅"}.mdi-selection-multiple-marker:before{content:"󱊄"}.mdi-selection-off:before{content:"󰝷"}.mdi-selection-remove:before{content:"󱟃"}.mdi-selection-search:before{content:"󱈅"}.mdi-semantic-web:before{content:"󱌖"}.mdi-send:before{content:"󰒊"}.mdi-send-check:before{content:"󱅡"}.mdi-send-check-outline:before{content:"󱅢"}.mdi-send-circle:before{content:"󰷸"}.mdi-send-circle-outline:before{content:"󰷹"}.mdi-send-clock:before{content:"󱅣"}.mdi-send-clock-outline:before{content:"󱅤"}.mdi-send-lock:before{content:"󰟭"}.mdi-send-lock-outline:before{content:"󱅦"}.mdi-send-outline:before{content:"󱅥"}.mdi-send-variant:before{content:"󱱍"}.mdi-send-variant-clock:before{content:"󱱾"}.mdi-send-variant-clock-outline:before{content:"󱱿"}.mdi-send-variant-outline:before{content:"󱱎"}.mdi-serial-port:before{content:"󰙜"}.mdi-server:before{content:"󰒋"}.mdi-server-minus:before{content:"󰒌"}.mdi-server-network:before{content:"󰒍"}.mdi-server-network-off:before{content:"󰒎"}.mdi-server-off:before{content:"󰒏"}.mdi-server-plus:before{content:"󰒐"}.mdi-server-remove:before{content:"󰒑"}.mdi-server-security:before{content:"󰒒"}.mdi-set-all:before{content:"󰝸"}.mdi-set-center:before{content:"󰝹"}.mdi-set-center-right:before{content:"󰝺"}.mdi-set-left:before{content:"󰝻"}.mdi-set-left-center:before{content:"󰝼"}.mdi-set-left-right:before{content:"󰝽"}.mdi-set-merge:before{content:"󱓠"}.mdi-set-none:before{content:"󰝾"}.mdi-set-right:before{content:"󰝿"}.mdi-set-split:before{content:"󱓡"}.mdi-set-square:before{content:"󱑝"}.mdi-set-top-box:before{content:"󰦟"}.mdi-settings-helper:before{content:"󰩮"}.mdi-shaker:before{content:"󱄎"}.mdi-shaker-outline:before{content:"󱄏"}.mdi-shape:before{content:"󰠱"}.mdi-shape-circle-plus:before{content:"󰙝"}.mdi-shape-outline:before{content:"󰠲"}.mdi-shape-oval-plus:before{content:"󱇺"}.mdi-shape-plus:before{content:"󰒕"}.mdi-shape-plus-outline:before{content:"󱱏"}.mdi-shape-polygon-plus:before{content:"󰙞"}.mdi-shape-rectangle-plus:before{content:"󰙟"}.mdi-shape-square-plus:before{content:"󰙠"}.mdi-shape-square-rounded-plus:before{content:"󱓺"}.mdi-share:before{content:"󰒖"}.mdi-share-all:before{content:"󱇴"}.mdi-share-all-outline:before{content:"󱇵"}.mdi-share-circle:before{content:"󱆭"}.mdi-share-off:before{content:"󰼣"}.mdi-share-off-outline:before{content:"󰼤"}.mdi-share-outline:before{content:"󰤲"}.mdi-share-variant:before{content:"󰒗"}.mdi-share-variant-outline:before{content:"󱔔"}.mdi-shark:before{content:"󱢺"}.mdi-shark-fin:before{content:"󱙳"}.mdi-shark-fin-outline:before{content:"󱙴"}.mdi-shark-off:before{content:"󱢻"}.mdi-sheep:before{content:"󰳆"}.mdi-shield:before{content:"󰒘"}.mdi-shield-account:before{content:"󰢏"}.mdi-shield-account-outline:before{content:"󰨒"}.mdi-shield-account-variant:before{content:"󱖧"}.mdi-shield-account-variant-outline:before{content:"󱖨"}.mdi-shield-airplane:before{content:"󰚻"}.mdi-shield-airplane-outline:before{content:"󰳇"}.mdi-shield-alert:before{content:"󰻌"}.mdi-shield-alert-outline:before{content:"󰻍"}.mdi-shield-bug:before{content:"󱏚"}.mdi-shield-bug-outline:before{content:"󱏛"}.mdi-shield-car:before{content:"󰾃"}.mdi-shield-check:before{content:"󰕥"}.mdi-shield-check-outline:before{content:"󰳈"}.mdi-shield-cross:before{content:"󰳉"}.mdi-shield-cross-outline:before{content:"󰳊"}.mdi-shield-crown:before{content:"󱢼"}.mdi-shield-crown-outline:before{content:"󱢽"}.mdi-shield-edit:before{content:"󱆠"}.mdi-shield-edit-outline:before{content:"󱆡"}.mdi-shield-half:before{content:"󱍠"}.mdi-shield-half-full:before{content:"󰞀"}.mdi-shield-home:before{content:"󰚊"}.mdi-shield-home-outline:before{content:"󰳋"}.mdi-shield-key:before{content:"󰯄"}.mdi-shield-key-outline:before{content:"󰯅"}.mdi-shield-link-variant:before{content:"󰴳"}.mdi-shield-link-variant-outline:before{content:"󰴴"}.mdi-shield-lock:before{content:"󰦝"}.mdi-shield-lock-open:before{content:"󱦚"}.mdi-shield-lock-open-outline:before{content:"󱦛"}.mdi-shield-lock-outline:before{content:"󰳌"}.mdi-shield-moon:before{content:"󱠨"}.mdi-shield-moon-outline:before{content:"󱠩"}.mdi-shield-off:before{content:"󰦞"}.mdi-shield-off-outline:before{content:"󰦜"}.mdi-shield-outline:before{content:"󰒙"}.mdi-shield-plus:before{content:"󰫚"}.mdi-shield-plus-outline:before{content:"󰫛"}.mdi-shield-refresh:before{content:"󰂪"}.mdi-shield-refresh-outline:before{content:"󰇠"}.mdi-shield-remove:before{content:"󰫜"}.mdi-shield-remove-outline:before{content:"󰫝"}.mdi-shield-search:before{content:"󰶚"}.mdi-shield-star:before{content:"󱄻"}.mdi-shield-star-outline:before{content:"󱄼"}.mdi-shield-sun:before{content:"󱁝"}.mdi-shield-sun-outline:before{content:"󱁞"}.mdi-shield-sword:before{content:"󱢾"}.mdi-shield-sword-outline:before{content:"󱢿"}.mdi-shield-sync:before{content:"󱆢"}.mdi-shield-sync-outline:before{content:"󱆣"}.mdi-shimmer:before{content:"󱕅"}.mdi-ship-wheel:before{content:"󰠳"}.mdi-shipping-pallet:before{content:"󱡎"}.mdi-shoe-ballet:before{content:"󱗊"}.mdi-shoe-cleat:before{content:"󱗇"}.mdi-shoe-formal:before{content:"󰭇"}.mdi-shoe-heel:before{content:"󰭈"}.mdi-shoe-print:before{content:"󰷺"}.mdi-shoe-sneaker:before{content:"󱗈"}.mdi-shopping:before{content:"󰒚"}.mdi-shopping-music:before{content:"󰒛"}.mdi-shopping-outline:before{content:"󱇕"}.mdi-shopping-search:before{content:"󰾄"}.mdi-shopping-search-outline:before{content:"󱩯"}.mdi-shore:before{content:"󱓹"}.mdi-shovel:before{content:"󰜐"}.mdi-shovel-off:before{content:"󰜑"}.mdi-shower:before{content:"󰦠"}.mdi-shower-head:before{content:"󰦡"}.mdi-shredder:before{content:"󰒜"}.mdi-shuffle:before{content:"󰒝"}.mdi-shuffle-disabled:before{content:"󰒞"}.mdi-shuffle-variant:before{content:"󰒟"}.mdi-shuriken:before{content:"󱍿"}.mdi-sickle:before{content:"󱣀"}.mdi-sigma:before{content:"󰒠"}.mdi-sigma-lower:before{content:"󰘫"}.mdi-sign-caution:before{content:"󰒡"}.mdi-sign-direction:before{content:"󰞁"}.mdi-sign-direction-minus:before{content:"󱀀"}.mdi-sign-direction-plus:before{content:"󰿜"}.mdi-sign-direction-remove:before{content:"󰿝"}.mdi-sign-language:before{content:"󱭍"}.mdi-sign-language-outline:before{content:"󱭎"}.mdi-sign-pole:before{content:"󱓸"}.mdi-sign-real-estate:before{content:"󱄘"}.mdi-sign-text:before{content:"󰞂"}.mdi-sign-yield:before{content:"󱮯"}.mdi-signal:before{content:"󰒢"}.mdi-signal-2g:before{content:"󰜒"}.mdi-signal-3g:before{content:"󰜓"}.mdi-signal-4g:before{content:"󰜔"}.mdi-signal-5g:before{content:"󰩯"}.mdi-signal-cellular-1:before{content:"󰢼"}.mdi-signal-cellular-2:before{content:"󰢽"}.mdi-signal-cellular-3:before{content:"󰢾"}.mdi-signal-cellular-outline:before{content:"󰢿"}.mdi-signal-distance-variant:before{content:"󰹤"}.mdi-signal-hspa:before{content:"󰜕"}.mdi-signal-hspa-plus:before{content:"󰜖"}.mdi-signal-off:before{content:"󰞃"}.mdi-signal-variant:before{content:"󰘊"}.mdi-signature:before{content:"󰷻"}.mdi-signature-freehand:before{content:"󰷼"}.mdi-signature-image:before{content:"󰷽"}.mdi-signature-text:before{content:"󰷾"}.mdi-silo:before{content:"󱮟"}.mdi-silo-outline:before{content:"󰭉"}.mdi-silverware:before{content:"󰒣"}.mdi-silverware-clean:before{content:"󰿞"}.mdi-silverware-fork:before{content:"󰒤"}.mdi-silverware-fork-knife:before{content:"󰩰"}.mdi-silverware-spoon:before{content:"󰒥"}.mdi-silverware-variant:before{content:"󰒦"}.mdi-sim:before{content:"󰒧"}.mdi-sim-alert:before{content:"󰒨"}.mdi-sim-alert-outline:before{content:"󱗓"}.mdi-sim-off:before{content:"󰒩"}.mdi-sim-off-outline:before{content:"󱗔"}.mdi-sim-outline:before{content:"󱗕"}.mdi-simple-icons:before{content:"󱌝"}.mdi-sina-weibo:before{content:"󰫟"}.mdi-sine-wave:before{content:"󰥛"}.mdi-sitemap:before{content:"󰒪"}.mdi-sitemap-outline:before{content:"󱦜"}.mdi-size-l:before{content:"󱎦"}.mdi-size-m:before{content:"󱎥"}.mdi-size-s:before{content:"󱎤"}.mdi-size-xl:before{content:"󱎧"}.mdi-size-xs:before{content:"󱎣"}.mdi-size-xxl:before{content:"󱎨"}.mdi-size-xxs:before{content:"󱎢"}.mdi-size-xxxl:before{content:"󱎩"}.mdi-skate:before{content:"󰴵"}.mdi-skate-off:before{content:"󰚙"}.mdi-skateboard:before{content:"󱓂"}.mdi-skateboarding:before{content:"󰔁"}.mdi-skew-less:before{content:"󰴶"}.mdi-skew-more:before{content:"󰴷"}.mdi-ski:before{content:"󱌄"}.mdi-ski-cross-country:before{content:"󱌅"}.mdi-ski-water:before{content:"󱌆"}.mdi-skip-backward:before{content:"󰒫"}.mdi-skip-backward-outline:before{content:"󰼥"}.mdi-skip-forward:before{content:"󰒬"}.mdi-skip-forward-outline:before{content:"󰼦"}.mdi-skip-next:before{content:"󰒭"}.mdi-skip-next-circle:before{content:"󰙡"}.mdi-skip-next-circle-outline:before{content:"󰙢"}.mdi-skip-next-outline:before{content:"󰼧"}.mdi-skip-previous:before{content:"󰒮"}.mdi-skip-previous-circle:before{content:"󰙣"}.mdi-skip-previous-circle-outline:before{content:"󰙤"}.mdi-skip-previous-outline:before{content:"󰼨"}.mdi-skull:before{content:"󰚌"}.mdi-skull-crossbones:before{content:"󰯆"}.mdi-skull-crossbones-outline:before{content:"󰯇"}.mdi-skull-outline:before{content:"󰯈"}.mdi-skull-scan:before{content:"󱓇"}.mdi-skull-scan-outline:before{content:"󱓈"}.mdi-skype:before{content:"󰒯"}.mdi-skype-business:before{content:"󰒰"}.mdi-slack:before{content:"󰒱"}.mdi-slash-forward:before{content:"󰿟"}.mdi-slash-forward-box:before{content:"󰿠"}.mdi-sledding:before{content:"󰐛"}.mdi-sleep:before{content:"󰒲"}.mdi-sleep-off:before{content:"󰒳"}.mdi-slide:before{content:"󱖥"}.mdi-slope-downhill:before{content:"󰷿"}.mdi-slope-uphill:before{content:"󰸀"}.mdi-slot-machine:before{content:"󱄔"}.mdi-slot-machine-outline:before{content:"󱄕"}.mdi-smart-card:before{content:"󱂽"}.mdi-smart-card-off:before{content:"󱣷"}.mdi-smart-card-off-outline:before{content:"󱣸"}.mdi-smart-card-outline:before{content:"󱂾"}.mdi-smart-card-reader:before{content:"󱂿"}.mdi-smart-card-reader-outline:before{content:"󱃀"}.mdi-smog:before{content:"󰩱"}.mdi-smoke:before{content:"󱞙"}.mdi-smoke-detector:before{content:"󰎒"}.mdi-smoke-detector-alert:before{content:"󱤮"}.mdi-smoke-detector-alert-outline:before{content:"󱤯"}.mdi-smoke-detector-off:before{content:"󱠉"}.mdi-smoke-detector-off-outline:before{content:"󱠊"}.mdi-smoke-detector-outline:before{content:"󱠈"}.mdi-smoke-detector-variant:before{content:"󱠋"}.mdi-smoke-detector-variant-alert:before{content:"󱤰"}.mdi-smoke-detector-variant-off:before{content:"󱠌"}.mdi-smoking:before{content:"󰒴"}.mdi-smoking-off:before{content:"󰒵"}.mdi-smoking-pipe:before{content:"󱐍"}.mdi-smoking-pipe-off:before{content:"󱐨"}.mdi-snail:before{content:"󱙷"}.mdi-snake:before{content:"󱔎"}.mdi-snapchat:before{content:"󰒶"}.mdi-snowboard:before{content:"󱌇"}.mdi-snowflake:before{content:"󰜗"}.mdi-snowflake-alert:before{content:"󰼩"}.mdi-snowflake-check:before{content:"󱩰"}.mdi-snowflake-melt:before{content:"󱋋"}.mdi-snowflake-off:before{content:"󱓣"}.mdi-snowflake-thermometer:before{content:"󱩱"}.mdi-snowflake-variant:before{content:"󰼪"}.mdi-snowman:before{content:"󰒷"}.mdi-snowmobile:before{content:"󰛝"}.mdi-snowshoeing:before{content:"󱩲"}.mdi-soccer:before{content:"󰒸"}.mdi-soccer-field:before{content:"󰠴"}.mdi-social-distance-2-meters:before{content:"󱕹"}.mdi-social-distance-6-feet:before{content:"󱕺"}.mdi-sofa:before{content:"󰒹"}.mdi-sofa-outline:before{content:"󱕭"}.mdi-sofa-single:before{content:"󱕮"}.mdi-sofa-single-outline:before{content:"󱕯"}.mdi-solar-panel:before{content:"󰶛"}.mdi-solar-panel-large:before{content:"󰶜"}.mdi-solar-power:before{content:"󰩲"}.mdi-solar-power-variant:before{content:"󱩳"}.mdi-solar-power-variant-outline:before{content:"󱩴"}.mdi-soldering-iron:before{content:"󱂒"}.mdi-solid:before{content:"󰚍"}.mdi-sony-playstation:before{content:"󰐔"}.mdi-sort:before{content:"󰒺"}.mdi-sort-alphabetical-ascending:before{content:"󰖽"}.mdi-sort-alphabetical-ascending-variant:before{content:"󱅈"}.mdi-sort-alphabetical-descending:before{content:"󰖿"}.mdi-sort-alphabetical-descending-variant:before{content:"󱅉"}.mdi-sort-alphabetical-variant:before{content:"󰒻"}.mdi-sort-ascending:before{content:"󰒼"}.mdi-sort-bool-ascending:before{content:"󱎅"}.mdi-sort-bool-ascending-variant:before{content:"󱎆"}.mdi-sort-bool-descending:before{content:"󱎇"}.mdi-sort-bool-descending-variant:before{content:"󱎈"}.mdi-sort-calendar-ascending:before{content:"󱕇"}.mdi-sort-calendar-descending:before{content:"󱕈"}.mdi-sort-clock-ascending:before{content:"󱕉"}.mdi-sort-clock-ascending-outline:before{content:"󱕊"}.mdi-sort-clock-descending:before{content:"󱕋"}.mdi-sort-clock-descending-outline:before{content:"󱕌"}.mdi-sort-descending:before{content:"󰒽"}.mdi-sort-numeric-ascending:before{content:"󱎉"}.mdi-sort-numeric-ascending-variant:before{content:"󰤍"}.mdi-sort-numeric-descending:before{content:"󱎊"}.mdi-sort-numeric-descending-variant:before{content:"󰫒"}.mdi-sort-numeric-variant:before{content:"󰒾"}.mdi-sort-reverse-variant:before{content:"󰌼"}.mdi-sort-variant:before{content:"󰒿"}.mdi-sort-variant-lock:before{content:"󰳍"}.mdi-sort-variant-lock-open:before{content:"󰳎"}.mdi-sort-variant-off:before{content:"󱪻"}.mdi-sort-variant-remove:before{content:"󱅇"}.mdi-soundbar:before{content:"󱟛"}.mdi-soundcloud:before{content:"󰓀"}.mdi-source-branch:before{content:"󰘬"}.mdi-source-branch-check:before{content:"󱓏"}.mdi-source-branch-minus:before{content:"󱓋"}.mdi-source-branch-plus:before{content:"󱓊"}.mdi-source-branch-refresh:before{content:"󱓍"}.mdi-source-branch-remove:before{content:"󱓌"}.mdi-source-branch-sync:before{content:"󱓎"}.mdi-source-commit:before{content:"󰜘"}.mdi-source-commit-end:before{content:"󰜙"}.mdi-source-commit-end-local:before{content:"󰜚"}.mdi-source-commit-local:before{content:"󰜛"}.mdi-source-commit-next-local:before{content:"󰜜"}.mdi-source-commit-start:before{content:"󰜝"}.mdi-source-commit-start-next-local:before{content:"󰜞"}.mdi-source-fork:before{content:"󰓁"}.mdi-source-merge:before{content:"󰘭"}.mdi-source-pull:before{content:"󰓂"}.mdi-source-repository:before{content:"󰳏"}.mdi-source-repository-multiple:before{content:"󰳐"}.mdi-soy-sauce:before{content:"󰟮"}.mdi-soy-sauce-off:before{content:"󱏼"}.mdi-spa:before{content:"󰳑"}.mdi-spa-outline:before{content:"󰳒"}.mdi-space-invaders:before{content:"󰯉"}.mdi-space-station:before{content:"󱎃"}.mdi-spade:before{content:"󰹥"}.mdi-speaker:before{content:"󰓃"}.mdi-speaker-bluetooth:before{content:"󰦢"}.mdi-speaker-message:before{content:"󱬑"}.mdi-speaker-multiple:before{content:"󰴸"}.mdi-speaker-off:before{content:"󰓄"}.mdi-speaker-pause:before{content:"󱭳"}.mdi-speaker-play:before{content:"󱭲"}.mdi-speaker-stop:before{content:"󱭴"}.mdi-speaker-wireless:before{content:"󰜟"}.mdi-spear:before{content:"󱡅"}.mdi-speedometer:before{content:"󰓅"}.mdi-speedometer-medium:before{content:"󰾅"}.mdi-speedometer-slow:before{content:"󰾆"}.mdi-spellcheck:before{content:"󰓆"}.mdi-sphere:before{content:"󱥔"}.mdi-sphere-off:before{content:"󱥕"}.mdi-spider:before{content:"󱇪"}.mdi-spider-outline:before{content:"󱱵"}.mdi-spider-thread:before{content:"󱇫"}.mdi-spider-web:before{content:"󰯊"}.mdi-spirit-level:before{content:"󱓱"}.mdi-spoon-sugar:before{content:"󱐩"}.mdi-spotify:before{content:"󰓇"}.mdi-spotlight:before{content:"󰓈"}.mdi-spotlight-beam:before{content:"󰓉"}.mdi-spray:before{content:"󰙥"}.mdi-spray-bottle:before{content:"󰫠"}.mdi-sprinkler:before{content:"󱁟"}.mdi-sprinkler-fire:before{content:"󱦝"}.mdi-sprinkler-variant:before{content:"󱁠"}.mdi-sprout:before{content:"󰹦"}.mdi-sprout-outline:before{content:"󰹧"}.mdi-square:before{content:"󰝤"}.mdi-square-circle:before{content:"󱔀"}.mdi-square-circle-outline:before{content:"󱱐"}.mdi-square-edit-outline:before{content:"󰤌"}.mdi-square-medium:before{content:"󰨓"}.mdi-square-medium-outline:before{content:"󰨔"}.mdi-square-off:before{content:"󱋮"}.mdi-square-off-outline:before{content:"󱋯"}.mdi-square-opacity:before{content:"󱡔"}.mdi-square-outline:before{content:"󰝣"}.mdi-square-root:before{content:"󰞄"}.mdi-square-root-box:before{content:"󰦣"}.mdi-square-rounded:before{content:"󱓻"}.mdi-square-rounded-badge:before{content:"󱨇"}.mdi-square-rounded-badge-outline:before{content:"󱨈"}.mdi-square-rounded-outline:before{content:"󱓼"}.mdi-square-small:before{content:"󰨕"}.mdi-square-wave:before{content:"󱑻"}.mdi-squeegee:before{content:"󰫡"}.mdi-ssh:before{content:"󰣀"}.mdi-stack-exchange:before{content:"󰘋"}.mdi-stack-overflow:before{content:"󰓌"}.mdi-stackpath:before{content:"󰍙"}.mdi-stadium:before{content:"󰿹"}.mdi-stadium-outline:before{content:"󱬃"}.mdi-stadium-variant:before{content:"󰜠"}.mdi-stairs:before{content:"󰓍"}.mdi-stairs-box:before{content:"󱎞"}.mdi-stairs-down:before{content:"󱊾"}.mdi-stairs-up:before{content:"󱊽"}.mdi-stamper:before{content:"󰴹"}.mdi-standard-definition:before{content:"󰟯"}.mdi-star:before{content:"󰓎"}.mdi-star-box:before{content:"󰩳"}.mdi-star-box-multiple:before{content:"󱊆"}.mdi-star-box-multiple-outline:before{content:"󱊇"}.mdi-star-box-outline:before{content:"󰩴"}.mdi-star-check:before{content:"󱕦"}.mdi-star-check-outline:before{content:"󱕪"}.mdi-star-circle:before{content:"󰓏"}.mdi-star-circle-outline:before{content:"󰦤"}.mdi-star-cog:before{content:"󱙨"}.mdi-star-cog-outline:before{content:"󱙩"}.mdi-star-crescent:before{content:"󰥹"}.mdi-star-david:before{content:"󰥺"}.mdi-star-face:before{content:"󰦥"}.mdi-star-four-points:before{content:"󰫢"}.mdi-star-four-points-box:before{content:"󱱑"}.mdi-star-four-points-box-outline:before{content:"󱱒"}.mdi-star-four-points-circle:before{content:"󱱓"}.mdi-star-four-points-circle-outline:before{content:"󱱔"}.mdi-star-four-points-outline:before{content:"󰫣"}.mdi-star-four-points-small:before{content:"󱱕"}.mdi-star-half:before{content:"󰉆"}.mdi-star-half-full:before{content:"󰓐"}.mdi-star-minus:before{content:"󱕤"}.mdi-star-minus-outline:before{content:"󱕨"}.mdi-star-off:before{content:"󰓑"}.mdi-star-off-outline:before{content:"󱕛"}.mdi-star-outline:before{content:"󰓒"}.mdi-star-plus:before{content:"󱕣"}.mdi-star-plus-outline:before{content:"󱕧"}.mdi-star-remove:before{content:"󱕥"}.mdi-star-remove-outline:before{content:"󱕩"}.mdi-star-settings:before{content:"󱙪"}.mdi-star-settings-outline:before{content:"󱙫"}.mdi-star-shooting:before{content:"󱝁"}.mdi-star-shooting-outline:before{content:"󱝂"}.mdi-star-three-points:before{content:"󰫤"}.mdi-star-three-points-outline:before{content:"󰫥"}.mdi-state-machine:before{content:"󱇯"}.mdi-steam:before{content:"󰓓"}.mdi-steering:before{content:"󰓔"}.mdi-steering-off:before{content:"󰤎"}.mdi-step-backward:before{content:"󰓕"}.mdi-step-backward-2:before{content:"󰓖"}.mdi-step-forward:before{content:"󰓗"}.mdi-step-forward-2:before{content:"󰓘"}.mdi-stethoscope:before{content:"󰓙"}.mdi-sticker:before{content:"󱍤"}.mdi-sticker-alert:before{content:"󱍥"}.mdi-sticker-alert-outline:before{content:"󱍦"}.mdi-sticker-check:before{content:"󱍧"}.mdi-sticker-check-outline:before{content:"󱍨"}.mdi-sticker-circle-outline:before{content:"󰗐"}.mdi-sticker-emoji:before{content:"󰞅"}.mdi-sticker-minus:before{content:"󱍩"}.mdi-sticker-minus-outline:before{content:"󱍪"}.mdi-sticker-outline:before{content:"󱍫"}.mdi-sticker-plus:before{content:"󱍬"}.mdi-sticker-plus-outline:before{content:"󱍭"}.mdi-sticker-remove:before{content:"󱍮"}.mdi-sticker-remove-outline:before{content:"󱍯"}.mdi-sticker-text:before{content:"󱞎"}.mdi-sticker-text-outline:before{content:"󱞏"}.mdi-stocking:before{content:"󰓚"}.mdi-stomach:before{content:"󱂓"}.mdi-stool:before{content:"󱥝"}.mdi-stool-outline:before{content:"󱥞"}.mdi-stop:before{content:"󰓛"}.mdi-stop-circle:before{content:"󰙦"}.mdi-stop-circle-outline:before{content:"󰙧"}.mdi-storage-tank:before{content:"󱩵"}.mdi-storage-tank-outline:before{content:"󱩶"}.mdi-store:before{content:"󰓜"}.mdi-store-24-hour:before{content:"󰓝"}.mdi-store-alert:before{content:"󱣁"}.mdi-store-alert-outline:before{content:"󱣂"}.mdi-store-check:before{content:"󱣃"}.mdi-store-check-outline:before{content:"󱣄"}.mdi-store-clock:before{content:"󱣅"}.mdi-store-clock-outline:before{content:"󱣆"}.mdi-store-cog:before{content:"󱣇"}.mdi-store-cog-outline:before{content:"󱣈"}.mdi-store-edit:before{content:"󱣉"}.mdi-store-edit-outline:before{content:"󱣊"}.mdi-store-marker:before{content:"󱣋"}.mdi-store-marker-outline:before{content:"󱣌"}.mdi-store-minus:before{content:"󱙞"}.mdi-store-minus-outline:before{content:"󱣍"}.mdi-store-off:before{content:"󱣎"}.mdi-store-off-outline:before{content:"󱣏"}.mdi-store-outline:before{content:"󱍡"}.mdi-store-plus:before{content:"󱙟"}.mdi-store-plus-outline:before{content:"󱣐"}.mdi-store-remove:before{content:"󱙠"}.mdi-store-remove-outline:before{content:"󱣑"}.mdi-store-search:before{content:"󱣒"}.mdi-store-search-outline:before{content:"󱣓"}.mdi-store-settings:before{content:"󱣔"}.mdi-store-settings-outline:before{content:"󱣕"}.mdi-storefront:before{content:"󰟇"}.mdi-storefront-check:before{content:"󱭽"}.mdi-storefront-check-outline:before{content:"󱭾"}.mdi-storefront-edit:before{content:"󱭿"}.mdi-storefront-edit-outline:before{content:"󱮀"}.mdi-storefront-minus:before{content:"󱮃"}.mdi-storefront-minus-outline:before{content:"󱮄"}.mdi-storefront-outline:before{content:"󱃁"}.mdi-storefront-plus:before{content:"󱮁"}.mdi-storefront-plus-outline:before{content:"󱮂"}.mdi-storefront-remove:before{content:"󱮅"}.mdi-storefront-remove-outline:before{content:"󱮆"}.mdi-stove:before{content:"󰓞"}.mdi-strategy:before{content:"󱇖"}.mdi-stretch-to-page:before{content:"󰼫"}.mdi-stretch-to-page-outline:before{content:"󰼬"}.mdi-string-lights:before{content:"󱊺"}.mdi-string-lights-off:before{content:"󱊻"}.mdi-subdirectory-arrow-left:before{content:"󰘌"}.mdi-subdirectory-arrow-right:before{content:"󰘍"}.mdi-submarine:before{content:"󱕬"}.mdi-subtitles:before{content:"󰨖"}.mdi-subtitles-outline:before{content:"󰨗"}.mdi-subway:before{content:"󰚬"}.mdi-subway-alert-variant:before{content:"󰶝"}.mdi-subway-variant:before{content:"󰓟"}.mdi-summit:before{content:"󰞆"}.mdi-sun-angle:before{content:"󱬧"}.mdi-sun-angle-outline:before{content:"󱬨"}.mdi-sun-clock:before{content:"󱩷"}.mdi-sun-clock-outline:before{content:"󱩸"}.mdi-sun-compass:before{content:"󱦥"}.mdi-sun-snowflake:before{content:"󱞖"}.mdi-sun-snowflake-variant:before{content:"󱩹"}.mdi-sun-thermometer:before{content:"󱣖"}.mdi-sun-thermometer-outline:before{content:"󱣗"}.mdi-sun-wireless:before{content:"󱟾"}.mdi-sun-wireless-outline:before{content:"󱟿"}.mdi-sunglasses:before{content:"󰓠"}.mdi-surfing:before{content:"󱝆"}.mdi-surround-sound:before{content:"󰗅"}.mdi-surround-sound-2-0:before{content:"󰟰"}.mdi-surround-sound-2-1:before{content:"󱜩"}.mdi-surround-sound-3-1:before{content:"󰟱"}.mdi-surround-sound-5-1:before{content:"󰟲"}.mdi-surround-sound-5-1-2:before{content:"󱜪"}.mdi-surround-sound-7-1:before{content:"󰟳"}.mdi-svg:before{content:"󰜡"}.mdi-swap-horizontal:before{content:"󰓡"}.mdi-swap-horizontal-bold:before{content:"󰯍"}.mdi-swap-horizontal-circle:before{content:"󰿡"}.mdi-swap-horizontal-circle-outline:before{content:"󰿢"}.mdi-swap-horizontal-variant:before{content:"󰣁"}.mdi-swap-vertical:before{content:"󰓢"}.mdi-swap-vertical-bold:before{content:"󰯎"}.mdi-swap-vertical-circle:before{content:"󰿣"}.mdi-swap-vertical-circle-outline:before{content:"󰿤"}.mdi-swap-vertical-variant:before{content:"󰣂"}.mdi-swim:before{content:"󰓣"}.mdi-switch:before{content:"󰓤"}.mdi-sword:before{content:"󰓥"}.mdi-sword-cross:before{content:"󰞇"}.mdi-syllabary-hangul:before{content:"󱌳"}.mdi-syllabary-hiragana:before{content:"󱌴"}.mdi-syllabary-katakana:before{content:"󱌵"}.mdi-syllabary-katakana-halfwidth:before{content:"󱌶"}.mdi-symbol:before{content:"󱔁"}.mdi-symfony:before{content:"󰫦"}.mdi-synagogue:before{content:"󱬄"}.mdi-synagogue-outline:before{content:"󱬅"}.mdi-sync:before{content:"󰓦"}.mdi-sync-alert:before{content:"󰓧"}.mdi-sync-circle:before{content:"󱍸"}.mdi-sync-off:before{content:"󰓨"}.mdi-tab:before{content:"󰓩"}.mdi-tab-minus:before{content:"󰭋"}.mdi-tab-plus:before{content:"󰝜"}.mdi-tab-remove:before{content:"󰭌"}.mdi-tab-search:before{content:"󱦞"}.mdi-tab-unselected:before{content:"󰓪"}.mdi-table:before{content:"󰓫"}.mdi-table-account:before{content:"󱎹"}.mdi-table-alert:before{content:"󱎺"}.mdi-table-arrow-down:before{content:"󱎻"}.mdi-table-arrow-left:before{content:"󱎼"}.mdi-table-arrow-right:before{content:"󱎽"}.mdi-table-arrow-up:before{content:"󱎾"}.mdi-table-border:before{content:"󰨘"}.mdi-table-cancel:before{content:"󱎿"}.mdi-table-chair:before{content:"󱁡"}.mdi-table-check:before{content:"󱏀"}.mdi-table-clock:before{content:"󱏁"}.mdi-table-cog:before{content:"󱏂"}.mdi-table-column:before{content:"󰠵"}.mdi-table-column-plus-after:before{content:"󰓬"}.mdi-table-column-plus-before:before{content:"󰓭"}.mdi-table-column-remove:before{content:"󰓮"}.mdi-table-column-width:before{content:"󰓯"}.mdi-table-edit:before{content:"󰓰"}.mdi-table-eye:before{content:"󱂔"}.mdi-table-eye-off:before{content:"󱏃"}.mdi-table-filter:before{content:"󱮌"}.mdi-table-furniture:before{content:"󰖼"}.mdi-table-headers-eye:before{content:"󱈝"}.mdi-table-headers-eye-off:before{content:"󱈞"}.mdi-table-heart:before{content:"󱏄"}.mdi-table-key:before{content:"󱏅"}.mdi-table-large:before{content:"󰓱"}.mdi-table-large-plus:before{content:"󰾇"}.mdi-table-large-remove:before{content:"󰾈"}.mdi-table-lock:before{content:"󱏆"}.mdi-table-merge-cells:before{content:"󰦦"}.mdi-table-minus:before{content:"󱏇"}.mdi-table-multiple:before{content:"󱏈"}.mdi-table-network:before{content:"󱏉"}.mdi-table-of-contents:before{content:"󰠶"}.mdi-table-off:before{content:"󱏊"}.mdi-table-picnic:before{content:"󱝃"}.mdi-table-pivot:before{content:"󱠼"}.mdi-table-plus:before{content:"󰩵"}.mdi-table-question:before{content:"󱬡"}.mdi-table-refresh:before{content:"󱎠"}.mdi-table-remove:before{content:"󰩶"}.mdi-table-row:before{content:"󰠷"}.mdi-table-row-height:before{content:"󰓲"}.mdi-table-row-plus-after:before{content:"󰓳"}.mdi-table-row-plus-before:before{content:"󰓴"}.mdi-table-row-remove:before{content:"󰓵"}.mdi-table-search:before{content:"󰤏"}.mdi-table-settings:before{content:"󰠸"}.mdi-table-split-cell:before{content:"󱐪"}.mdi-table-star:before{content:"󱏋"}.mdi-table-sync:before{content:"󱎡"}.mdi-table-tennis:before{content:"󰹨"}.mdi-tablet:before{content:"󰓶"}.mdi-tablet-cellphone:before{content:"󰦧"}.mdi-tablet-dashboard:before{content:"󰻎"}.mdi-taco:before{content:"󰝢"}.mdi-tag:before{content:"󰓹"}.mdi-tag-arrow-down:before{content:"󱜫"}.mdi-tag-arrow-down-outline:before{content:"󱜬"}.mdi-tag-arrow-left:before{content:"󱜭"}.mdi-tag-arrow-left-outline:before{content:"󱜮"}.mdi-tag-arrow-right:before{content:"󱜯"}.mdi-tag-arrow-right-outline:before{content:"󱜰"}.mdi-tag-arrow-up:before{content:"󱜱"}.mdi-tag-arrow-up-outline:before{content:"󱜲"}.mdi-tag-check:before{content:"󱩺"}.mdi-tag-check-outline:before{content:"󱩻"}.mdi-tag-faces:before{content:"󰓺"}.mdi-tag-heart:before{content:"󰚋"}.mdi-tag-heart-outline:before{content:"󰯏"}.mdi-tag-hidden:before{content:"󱱶"}.mdi-tag-minus:before{content:"󰤐"}.mdi-tag-minus-outline:before{content:"󱈟"}.mdi-tag-multiple:before{content:"󰓻"}.mdi-tag-multiple-outline:before{content:"󱋷"}.mdi-tag-off:before{content:"󱈠"}.mdi-tag-off-outline:before{content:"󱈡"}.mdi-tag-outline:before{content:"󰓼"}.mdi-tag-plus:before{content:"󰜢"}.mdi-tag-plus-outline:before{content:"󱈢"}.mdi-tag-remove:before{content:"󰜣"}.mdi-tag-remove-outline:before{content:"󱈣"}.mdi-tag-search:before{content:"󱤇"}.mdi-tag-search-outline:before{content:"󱤈"}.mdi-tag-text:before{content:"󱈤"}.mdi-tag-text-outline:before{content:"󰓽"}.mdi-tailwind:before{content:"󱏿"}.mdi-tally-mark-1:before{content:"󱪼"}.mdi-tally-mark-2:before{content:"󱪽"}.mdi-tally-mark-3:before{content:"󱪾"}.mdi-tally-mark-4:before{content:"󱪿"}.mdi-tally-mark-5:before{content:"󱫀"}.mdi-tangram:before{content:"󰓸"}.mdi-tank:before{content:"󰴺"}.mdi-tanker-truck:before{content:"󰿥"}.mdi-tape-drive:before{content:"󱛟"}.mdi-tape-measure:before{content:"󰭍"}.mdi-target:before{content:"󰓾"}.mdi-target-account:before{content:"󰯐"}.mdi-target-variant:before{content:"󰩷"}.mdi-taxi:before{content:"󰓿"}.mdi-tea:before{content:"󰶞"}.mdi-tea-outline:before{content:"󰶟"}.mdi-teamviewer:before{content:"󰔀"}.mdi-teddy-bear:before{content:"󱣻"}.mdi-telescope:before{content:"󰭎"}.mdi-television:before{content:"󰔂"}.mdi-television-ambient-light:before{content:"󱍖"}.mdi-television-box:before{content:"󰠹"}.mdi-television-classic:before{content:"󰟴"}.mdi-television-classic-off:before{content:"󰠺"}.mdi-television-guide:before{content:"󰔃"}.mdi-television-off:before{content:"󰠻"}.mdi-television-pause:before{content:"󰾉"}.mdi-television-play:before{content:"󰻏"}.mdi-television-shimmer:before{content:"󱄐"}.mdi-television-speaker:before{content:"󱬛"}.mdi-television-speaker-off:before{content:"󱬜"}.mdi-television-stop:before{content:"󰾊"}.mdi-temperature-celsius:before{content:"󰔄"}.mdi-temperature-fahrenheit:before{content:"󰔅"}.mdi-temperature-kelvin:before{content:"󰔆"}.mdi-temple-buddhist:before{content:"󱬆"}.mdi-temple-buddhist-outline:before{content:"󱬇"}.mdi-temple-hindu:before{content:"󱬈"}.mdi-temple-hindu-outline:before{content:"󱬉"}.mdi-tennis:before{content:"󰶠"}.mdi-tennis-ball:before{content:"󰔇"}.mdi-tennis-ball-outline:before{content:"󱱟"}.mdi-tent:before{content:"󰔈"}.mdi-terraform:before{content:"󱁢"}.mdi-terrain:before{content:"󰔉"}.mdi-test-tube:before{content:"󰙨"}.mdi-test-tube-empty:before{content:"󰤑"}.mdi-test-tube-off:before{content:"󰤒"}.mdi-text:before{content:"󰦨"}.mdi-text-account:before{content:"󱕰"}.mdi-text-box:before{content:"󰈚"}.mdi-text-box-check:before{content:"󰺦"}.mdi-text-box-check-outline:before{content:"󰺧"}.mdi-text-box-edit:before{content:"󱩼"}.mdi-text-box-edit-outline:before{content:"󱩽"}.mdi-text-box-minus:before{content:"󰺨"}.mdi-text-box-minus-outline:before{content:"󰺩"}.mdi-text-box-multiple:before{content:"󰪷"}.mdi-text-box-multiple-outline:before{content:"󰪸"}.mdi-text-box-outline:before{content:"󰧭"}.mdi-text-box-plus:before{content:"󰺪"}.mdi-text-box-plus-outline:before{content:"󰺫"}.mdi-text-box-remove:before{content:"󰺬"}.mdi-text-box-remove-outline:before{content:"󰺭"}.mdi-text-box-search:before{content:"󰺮"}.mdi-text-box-search-outline:before{content:"󰺯"}.mdi-text-long:before{content:"󰦪"}.mdi-text-recognition:before{content:"󱄽"}.mdi-text-search:before{content:"󱎸"}.mdi-text-search-variant:before{content:"󱩾"}.mdi-text-shadow:before{content:"󰙩"}.mdi-text-short:before{content:"󰦩"}.mdi-texture:before{content:"󰔌"}.mdi-texture-box:before{content:"󰿦"}.mdi-theater:before{content:"󰔍"}.mdi-theme-light-dark:before{content:"󰔎"}.mdi-thermometer:before{content:"󰔏"}.mdi-thermometer-alert:before{content:"󰸁"}.mdi-thermometer-auto:before{content:"󱬏"}.mdi-thermometer-bluetooth:before{content:"󱢕"}.mdi-thermometer-check:before{content:"󱩿"}.mdi-thermometer-chevron-down:before{content:"󰸂"}.mdi-thermometer-chevron-up:before{content:"󰸃"}.mdi-thermometer-high:before{content:"󱃂"}.mdi-thermometer-lines:before{content:"󰔐"}.mdi-thermometer-low:before{content:"󱃃"}.mdi-thermometer-minus:before{content:"󰸄"}.mdi-thermometer-off:before{content:"󱔱"}.mdi-thermometer-plus:before{content:"󰸅"}.mdi-thermometer-probe:before{content:"󱬫"}.mdi-thermometer-probe-off:before{content:"󱬬"}.mdi-thermometer-water:before{content:"󱪀"}.mdi-thermostat:before{content:"󰎓"}.mdi-thermostat-auto:before{content:"󱬗"}.mdi-thermostat-box:before{content:"󰢑"}.mdi-thermostat-box-auto:before{content:"󱬘"}.mdi-thermostat-cog:before{content:"󱲀"}.mdi-thought-bubble:before{content:"󰟶"}.mdi-thought-bubble-outline:before{content:"󰟷"}.mdi-thumb-down:before{content:"󰔑"}.mdi-thumb-down-outline:before{content:"󰔒"}.mdi-thumb-up:before{content:"󰔓"}.mdi-thumb-up-outline:before{content:"󰔔"}.mdi-thumbs-up-down:before{content:"󰔕"}.mdi-thumbs-up-down-outline:before{content:"󱤔"}.mdi-ticket:before{content:"󰔖"}.mdi-ticket-account:before{content:"󰔗"}.mdi-ticket-confirmation:before{content:"󰔘"}.mdi-ticket-confirmation-outline:before{content:"󱎪"}.mdi-ticket-outline:before{content:"󰤓"}.mdi-ticket-percent:before{content:"󰜤"}.mdi-ticket-percent-outline:before{content:"󱐫"}.mdi-tie:before{content:"󰔙"}.mdi-tilde:before{content:"󰜥"}.mdi-tilde-off:before{content:"󱣳"}.mdi-timelapse:before{content:"󰔚"}.mdi-timeline:before{content:"󰯑"}.mdi-timeline-alert:before{content:"󰾕"}.mdi-timeline-alert-outline:before{content:"󰾘"}.mdi-timeline-check:before{content:"󱔲"}.mdi-timeline-check-outline:before{content:"󱔳"}.mdi-timeline-clock:before{content:"󱇻"}.mdi-timeline-clock-outline:before{content:"󱇼"}.mdi-timeline-minus:before{content:"󱔴"}.mdi-timeline-minus-outline:before{content:"󱔵"}.mdi-timeline-outline:before{content:"󰯒"}.mdi-timeline-plus:before{content:"󰾖"}.mdi-timeline-plus-outline:before{content:"󰾗"}.mdi-timeline-question:before{content:"󰾙"}.mdi-timeline-question-outline:before{content:"󰾚"}.mdi-timeline-remove:before{content:"󱔶"}.mdi-timeline-remove-outline:before{content:"󱔷"}.mdi-timeline-text:before{content:"󰯓"}.mdi-timeline-text-outline:before{content:"󰯔"}.mdi-timer:before{content:"󱎫"}.mdi-timer-10:before{content:"󰔜"}.mdi-timer-3:before{content:"󰔝"}.mdi-timer-alert:before{content:"󱫌"}.mdi-timer-alert-outline:before{content:"󱫍"}.mdi-timer-cancel:before{content:"󱫎"}.mdi-timer-cancel-outline:before{content:"󱫏"}.mdi-timer-check:before{content:"󱫐"}.mdi-timer-check-outline:before{content:"󱫑"}.mdi-timer-cog:before{content:"󱤥"}.mdi-timer-cog-outline:before{content:"󱤦"}.mdi-timer-edit:before{content:"󱫒"}.mdi-timer-edit-outline:before{content:"󱫓"}.mdi-timer-lock:before{content:"󱫔"}.mdi-timer-lock-open:before{content:"󱫕"}.mdi-timer-lock-open-outline:before{content:"󱫖"}.mdi-timer-lock-outline:before{content:"󱫗"}.mdi-timer-marker:before{content:"󱫘"}.mdi-timer-marker-outline:before{content:"󱫙"}.mdi-timer-minus:before{content:"󱫚"}.mdi-timer-minus-outline:before{content:"󱫛"}.mdi-timer-music:before{content:"󱫜"}.mdi-timer-music-outline:before{content:"󱫝"}.mdi-timer-off:before{content:"󱎬"}.mdi-timer-off-outline:before{content:"󰔞"}.mdi-timer-outline:before{content:"󰔛"}.mdi-timer-pause:before{content:"󱫞"}.mdi-timer-pause-outline:before{content:"󱫟"}.mdi-timer-play:before{content:"󱫠"}.mdi-timer-play-outline:before{content:"󱫡"}.mdi-timer-plus:before{content:"󱫢"}.mdi-timer-plus-outline:before{content:"󱫣"}.mdi-timer-refresh:before{content:"󱫤"}.mdi-timer-refresh-outline:before{content:"󱫥"}.mdi-timer-remove:before{content:"󱫦"}.mdi-timer-remove-outline:before{content:"󱫧"}.mdi-timer-sand:before{content:"󰔟"}.mdi-timer-sand-complete:before{content:"󱦟"}.mdi-timer-sand-empty:before{content:"󰚭"}.mdi-timer-sand-full:before{content:"󰞌"}.mdi-timer-sand-paused:before{content:"󱦠"}.mdi-timer-settings:before{content:"󱤣"}.mdi-timer-settings-outline:before{content:"󱤤"}.mdi-timer-star:before{content:"󱫨"}.mdi-timer-star-outline:before{content:"󱫩"}.mdi-timer-stop:before{content:"󱫪"}.mdi-timer-stop-outline:before{content:"󱫫"}.mdi-timer-sync:before{content:"󱫬"}.mdi-timer-sync-outline:before{content:"󱫭"}.mdi-timetable:before{content:"󰔠"}.mdi-tire:before{content:"󱢖"}.mdi-toaster:before{content:"󱁣"}.mdi-toaster-off:before{content:"󱆷"}.mdi-toaster-oven:before{content:"󰳓"}.mdi-toggle-switch:before{content:"󰔡"}.mdi-toggle-switch-off:before{content:"󰔢"}.mdi-toggle-switch-off-outline:before{content:"󰨙"}.mdi-toggle-switch-outline:before{content:"󰨚"}.mdi-toggle-switch-variant:before{content:"󱨥"}.mdi-toggle-switch-variant-off:before{content:"󱨦"}.mdi-toilet:before{content:"󰦫"}.mdi-toolbox:before{content:"󰦬"}.mdi-toolbox-outline:before{content:"󰦭"}.mdi-tools:before{content:"󱁤"}.mdi-tooltip:before{content:"󰔣"}.mdi-tooltip-account:before{content:"󰀌"}.mdi-tooltip-cellphone:before{content:"󱠻"}.mdi-tooltip-check:before{content:"󱕜"}.mdi-tooltip-check-outline:before{content:"󱕝"}.mdi-tooltip-edit:before{content:"󰔤"}.mdi-tooltip-edit-outline:before{content:"󱋅"}.mdi-tooltip-image:before{content:"󰔥"}.mdi-tooltip-image-outline:before{content:"󰯕"}.mdi-tooltip-minus:before{content:"󱕞"}.mdi-tooltip-minus-outline:before{content:"󱕟"}.mdi-tooltip-outline:before{content:"󰔦"}.mdi-tooltip-plus:before{content:"󰯖"}.mdi-tooltip-plus-outline:before{content:"󰔧"}.mdi-tooltip-question:before{content:"󱮺"}.mdi-tooltip-question-outline:before{content:"󱮻"}.mdi-tooltip-remove:before{content:"󱕠"}.mdi-tooltip-remove-outline:before{content:"󱕡"}.mdi-tooltip-text:before{content:"󰔨"}.mdi-tooltip-text-outline:before{content:"󰯗"}.mdi-tooth:before{content:"󰣃"}.mdi-tooth-outline:before{content:"󰔩"}.mdi-toothbrush:before{content:"󱄩"}.mdi-toothbrush-electric:before{content:"󱄬"}.mdi-toothbrush-paste:before{content:"󱄪"}.mdi-torch:before{content:"󱘆"}.mdi-tortoise:before{content:"󰴻"}.mdi-toslink:before{content:"󱊸"}.mdi-touch-text-outline:before{content:"󱱠"}.mdi-tournament:before{content:"󰦮"}.mdi-tow-truck:before{content:"󰠼"}.mdi-tower-beach:before{content:"󰚁"}.mdi-tower-fire:before{content:"󰚂"}.mdi-town-hall:before{content:"󱡵"}.mdi-toy-brick:before{content:"󱊈"}.mdi-toy-brick-marker:before{content:"󱊉"}.mdi-toy-brick-marker-outline:before{content:"󱊊"}.mdi-toy-brick-minus:before{content:"󱊋"}.mdi-toy-brick-minus-outline:before{content:"󱊌"}.mdi-toy-brick-outline:before{content:"󱊍"}.mdi-toy-brick-plus:before{content:"󱊎"}.mdi-toy-brick-plus-outline:before{content:"󱊏"}.mdi-toy-brick-remove:before{content:"󱊐"}.mdi-toy-brick-remove-outline:before{content:"󱊑"}.mdi-toy-brick-search:before{content:"󱊒"}.mdi-toy-brick-search-outline:before{content:"󱊓"}.mdi-track-light:before{content:"󰤔"}.mdi-track-light-off:before{content:"󱬁"}.mdi-trackpad:before{content:"󰟸"}.mdi-trackpad-lock:before{content:"󰤳"}.mdi-tractor:before{content:"󰢒"}.mdi-tractor-variant:before{content:"󱓄"}.mdi-trademark:before{content:"󰩸"}.mdi-traffic-cone:before{content:"󱍼"}.mdi-traffic-light:before{content:"󰔫"}.mdi-traffic-light-outline:before{content:"󱠪"}.mdi-train:before{content:"󰔬"}.mdi-train-car:before{content:"󰯘"}.mdi-train-car-autorack:before{content:"󱬭"}.mdi-train-car-box:before{content:"󱬮"}.mdi-train-car-box-full:before{content:"󱬯"}.mdi-train-car-box-open:before{content:"󱬰"}.mdi-train-car-caboose:before{content:"󱬱"}.mdi-train-car-centerbeam:before{content:"󱬲"}.mdi-train-car-centerbeam-full:before{content:"󱬳"}.mdi-train-car-container:before{content:"󱬴"}.mdi-train-car-flatbed:before{content:"󱬵"}.mdi-train-car-flatbed-car:before{content:"󱬶"}.mdi-train-car-flatbed-tank:before{content:"󱬷"}.mdi-train-car-gondola:before{content:"󱬸"}.mdi-train-car-gondola-full:before{content:"󱬹"}.mdi-train-car-hopper:before{content:"󱬺"}.mdi-train-car-hopper-covered:before{content:"󱬻"}.mdi-train-car-hopper-full:before{content:"󱬼"}.mdi-train-car-intermodal:before{content:"󱬽"}.mdi-train-car-passenger:before{content:"󱜳"}.mdi-train-car-passenger-door:before{content:"󱜴"}.mdi-train-car-passenger-door-open:before{content:"󱜵"}.mdi-train-car-passenger-variant:before{content:"󱜶"}.mdi-train-car-tank:before{content:"󱬾"}.mdi-train-variant:before{content:"󰣄"}.mdi-tram:before{content:"󰔭"}.mdi-tram-side:before{content:"󰿧"}.mdi-transcribe:before{content:"󰔮"}.mdi-transcribe-close:before{content:"󰔯"}.mdi-transfer:before{content:"󱁥"}.mdi-transfer-down:before{content:"󰶡"}.mdi-transfer-left:before{content:"󰶢"}.mdi-transfer-right:before{content:"󰔰"}.mdi-transfer-up:before{content:"󰶣"}.mdi-transit-connection:before{content:"󰴼"}.mdi-transit-connection-horizontal:before{content:"󱕆"}.mdi-transit-connection-variant:before{content:"󰴽"}.mdi-transit-detour:before{content:"󰾋"}.mdi-transit-skip:before{content:"󱔕"}.mdi-transit-transfer:before{content:"󰚮"}.mdi-transition:before{content:"󰤕"}.mdi-transition-masked:before{content:"󰤖"}.mdi-translate:before{content:"󰗊"}.mdi-translate-off:before{content:"󰸆"}.mdi-translate-variant:before{content:"󱮙"}.mdi-transmission-tower:before{content:"󰴾"}.mdi-transmission-tower-export:before{content:"󱤬"}.mdi-transmission-tower-import:before{content:"󱤭"}.mdi-transmission-tower-off:before{content:"󱧝"}.mdi-trash-can:before{content:"󰩹"}.mdi-trash-can-outline:before{content:"󰩺"}.mdi-tray:before{content:"󱊔"}.mdi-tray-alert:before{content:"󱊕"}.mdi-tray-arrow-down:before{content:"󰄠"}.mdi-tray-arrow-up:before{content:"󰄝"}.mdi-tray-full:before{content:"󱊖"}.mdi-tray-minus:before{content:"󱊗"}.mdi-tray-plus:before{content:"󱊘"}.mdi-tray-remove:before{content:"󱊙"}.mdi-treasure-chest:before{content:"󰜦"}.mdi-treasure-chest-outline:before{content:"󱱷"}.mdi-tree:before{content:"󰔱"}.mdi-tree-outline:before{content:"󰹩"}.mdi-trello:before{content:"󰔲"}.mdi-trending-down:before{content:"󰔳"}.mdi-trending-neutral:before{content:"󰔴"}.mdi-trending-up:before{content:"󰔵"}.mdi-triangle:before{content:"󰔶"}.mdi-triangle-down:before{content:"󱱖"}.mdi-triangle-down-outline:before{content:"󱱗"}.mdi-triangle-outline:before{content:"󰔷"}.mdi-triangle-small-down:before{content:"󱨉"}.mdi-triangle-small-up:before{content:"󱨊"}.mdi-triangle-wave:before{content:"󱑼"}.mdi-triforce:before{content:"󰯙"}.mdi-trophy:before{content:"󰔸"}.mdi-trophy-award:before{content:"󰔹"}.mdi-trophy-broken:before{content:"󰶤"}.mdi-trophy-outline:before{content:"󰔺"}.mdi-trophy-variant:before{content:"󰔻"}.mdi-trophy-variant-outline:before{content:"󰔼"}.mdi-truck:before{content:"󰔽"}.mdi-truck-alert:before{content:"󱧞"}.mdi-truck-alert-outline:before{content:"󱧟"}.mdi-truck-cargo-container:before{content:"󱣘"}.mdi-truck-check:before{content:"󰳔"}.mdi-truck-check-outline:before{content:"󱊚"}.mdi-truck-delivery:before{content:"󰔾"}.mdi-truck-delivery-outline:before{content:"󱊛"}.mdi-truck-fast:before{content:"󰞈"}.mdi-truck-fast-outline:before{content:"󱊜"}.mdi-truck-flatbed:before{content:"󱢑"}.mdi-truck-minus:before{content:"󱦮"}.mdi-truck-minus-outline:before{content:"󱦽"}.mdi-truck-outline:before{content:"󱊝"}.mdi-truck-plus:before{content:"󱦭"}.mdi-truck-plus-outline:before{content:"󱦼"}.mdi-truck-remove:before{content:"󱦯"}.mdi-truck-remove-outline:before{content:"󱦾"}.mdi-truck-snowflake:before{content:"󱦦"}.mdi-truck-trailer:before{content:"󰜧"}.mdi-trumpet:before{content:"󱂖"}.mdi-tshirt-crew:before{content:"󰩻"}.mdi-tshirt-crew-outline:before{content:"󰔿"}.mdi-tshirt-v:before{content:"󰩼"}.mdi-tshirt-v-outline:before{content:"󰕀"}.mdi-tsunami:before{content:"󱪁"}.mdi-tumble-dryer:before{content:"󰤗"}.mdi-tumble-dryer-alert:before{content:"󱆺"}.mdi-tumble-dryer-off:before{content:"󱆻"}.mdi-tune:before{content:"󰘮"}.mdi-tune-variant:before{content:"󱕂"}.mdi-tune-vertical:before{content:"󰙪"}.mdi-tune-vertical-variant:before{content:"󱕃"}.mdi-tunnel:before{content:"󱠽"}.mdi-tunnel-outline:before{content:"󱠾"}.mdi-turbine:before{content:"󱪂"}.mdi-turkey:before{content:"󱜛"}.mdi-turnstile:before{content:"󰳕"}.mdi-turnstile-outline:before{content:"󰳖"}.mdi-turtle:before{content:"󰳗"}.mdi-twitch:before{content:"󰕃"}.mdi-twitter:before{content:"󰕄"}.mdi-two-factor-authentication:before{content:"󰦯"}.mdi-typewriter:before{content:"󰼭"}.mdi-ubisoft:before{content:"󰯚"}.mdi-ubuntu:before{content:"󰕈"}.mdi-ufo:before{content:"󱃄"}.mdi-ufo-outline:before{content:"󱃅"}.mdi-ultra-high-definition:before{content:"󰟹"}.mdi-umbraco:before{content:"󰕉"}.mdi-umbrella:before{content:"󰕊"}.mdi-umbrella-beach:before{content:"󱢊"}.mdi-umbrella-beach-outline:before{content:"󱢋"}.mdi-umbrella-closed:before{content:"󰦰"}.mdi-umbrella-closed-outline:before{content:"󱏢"}.mdi-umbrella-closed-variant:before{content:"󱏡"}.mdi-umbrella-outline:before{content:"󰕋"}.mdi-undo:before{content:"󰕌"}.mdi-undo-variant:before{content:"󰕍"}.mdi-unfold-less-horizontal:before{content:"󰕎"}.mdi-unfold-less-vertical:before{content:"󰝠"}.mdi-unfold-more-horizontal:before{content:"󰕏"}.mdi-unfold-more-vertical:before{content:"󰝡"}.mdi-ungroup:before{content:"󰕐"}.mdi-unicode:before{content:"󰻐"}.mdi-unicorn:before{content:"󱗂"}.mdi-unicorn-variant:before{content:"󱗃"}.mdi-unicycle:before{content:"󱗥"}.mdi-unity:before{content:"󰚯"}.mdi-unreal:before{content:"󰦱"}.mdi-update:before{content:"󰚰"}.mdi-upload:before{content:"󰕒"}.mdi-upload-lock:before{content:"󱍳"}.mdi-upload-lock-outline:before{content:"󱍴"}.mdi-upload-multiple:before{content:"󰠽"}.mdi-upload-network:before{content:"󰛶"}.mdi-upload-network-outline:before{content:"󰳘"}.mdi-upload-off:before{content:"󱃆"}.mdi-upload-off-outline:before{content:"󱃇"}.mdi-upload-outline:before{content:"󰸇"}.mdi-usb:before{content:"󰕓"}.mdi-usb-flash-drive:before{content:"󱊞"}.mdi-usb-flash-drive-outline:before{content:"󱊟"}.mdi-usb-port:before{content:"󱇰"}.mdi-vacuum:before{content:"󱦡"}.mdi-vacuum-outline:before{content:"󱦢"}.mdi-valve:before{content:"󱁦"}.mdi-valve-closed:before{content:"󱁧"}.mdi-valve-open:before{content:"󱁨"}.mdi-van-passenger:before{content:"󰟺"}.mdi-van-utility:before{content:"󰟻"}.mdi-vanish:before{content:"󰟼"}.mdi-vanish-quarter:before{content:"󱕔"}.mdi-vanity-light:before{content:"󱇡"}.mdi-variable:before{content:"󰫧"}.mdi-variable-box:before{content:"󱄑"}.mdi-vector-arrange-above:before{content:"󰕔"}.mdi-vector-arrange-below:before{content:"󰕕"}.mdi-vector-bezier:before{content:"󰫨"}.mdi-vector-circle:before{content:"󰕖"}.mdi-vector-circle-variant:before{content:"󰕗"}.mdi-vector-combine:before{content:"󰕘"}.mdi-vector-curve:before{content:"󰕙"}.mdi-vector-difference:before{content:"󰕚"}.mdi-vector-difference-ab:before{content:"󰕛"}.mdi-vector-difference-ba:before{content:"󰕜"}.mdi-vector-ellipse:before{content:"󰢓"}.mdi-vector-intersection:before{content:"󰕝"}.mdi-vector-line:before{content:"󰕞"}.mdi-vector-link:before{content:"󰿨"}.mdi-vector-point:before{content:"󰇄"}.mdi-vector-point-edit:before{content:"󰧨"}.mdi-vector-point-minus:before{content:"󱭸"}.mdi-vector-point-plus:before{content:"󱭹"}.mdi-vector-point-select:before{content:"󰕟"}.mdi-vector-polygon:before{content:"󰕠"}.mdi-vector-polygon-variant:before{content:"󱡖"}.mdi-vector-polyline:before{content:"󰕡"}.mdi-vector-polyline-edit:before{content:"󱈥"}.mdi-vector-polyline-minus:before{content:"󱈦"}.mdi-vector-polyline-plus:before{content:"󱈧"}.mdi-vector-polyline-remove:before{content:"󱈨"}.mdi-vector-radius:before{content:"󰝊"}.mdi-vector-rectangle:before{content:"󰗆"}.mdi-vector-selection:before{content:"󰕢"}.mdi-vector-square:before{content:"󰀁"}.mdi-vector-square-close:before{content:"󱡗"}.mdi-vector-square-edit:before{content:"󱣙"}.mdi-vector-square-minus:before{content:"󱣚"}.mdi-vector-square-open:before{content:"󱡘"}.mdi-vector-square-plus:before{content:"󱣛"}.mdi-vector-square-remove:before{content:"󱣜"}.mdi-vector-triangle:before{content:"󰕣"}.mdi-vector-union:before{content:"󰕤"}.mdi-vhs:before{content:"󰨛"}.mdi-vibrate:before{content:"󰕦"}.mdi-vibrate-off:before{content:"󰳙"}.mdi-video:before{content:"󰕧"}.mdi-video-2d:before{content:"󱨜"}.mdi-video-3d:before{content:"󰟽"}.mdi-video-3d-off:before{content:"󱏙"}.mdi-video-3d-variant:before{content:"󰻑"}.mdi-video-4k-box:before{content:"󰠾"}.mdi-video-account:before{content:"󰤙"}.mdi-video-box:before{content:"󰃽"}.mdi-video-box-off:before{content:"󰃾"}.mdi-video-check:before{content:"󱁩"}.mdi-video-check-outline:before{content:"󱁪"}.mdi-video-high-definition:before{content:"󱔮"}.mdi-video-image:before{content:"󰤚"}.mdi-video-input-antenna:before{content:"󰠿"}.mdi-video-input-component:before{content:"󰡀"}.mdi-video-input-hdmi:before{content:"󰡁"}.mdi-video-input-scart:before{content:"󰾌"}.mdi-video-input-svideo:before{content:"󰡂"}.mdi-video-marker:before{content:"󱦩"}.mdi-video-marker-outline:before{content:"󱦪"}.mdi-video-minus:before{content:"󰦲"}.mdi-video-minus-outline:before{content:"󰊺"}.mdi-video-off:before{content:"󰕨"}.mdi-video-off-outline:before{content:"󰯛"}.mdi-video-outline:before{content:"󰯜"}.mdi-video-plus:before{content:"󰦳"}.mdi-video-plus-outline:before{content:"󰇓"}.mdi-video-stabilization:before{content:"󰤛"}.mdi-video-switch:before{content:"󰕩"}.mdi-video-switch-outline:before{content:"󰞐"}.mdi-video-vintage:before{content:"󰨜"}.mdi-video-wireless:before{content:"󰻒"}.mdi-video-wireless-outline:before{content:"󰻓"}.mdi-view-agenda:before{content:"󰕪"}.mdi-view-agenda-outline:before{content:"󱇘"}.mdi-view-array:before{content:"󰕫"}.mdi-view-array-outline:before{content:"󱒅"}.mdi-view-carousel:before{content:"󰕬"}.mdi-view-carousel-outline:before{content:"󱒆"}.mdi-view-column:before{content:"󰕭"}.mdi-view-column-outline:before{content:"󱒇"}.mdi-view-comfy:before{content:"󰹪"}.mdi-view-comfy-outline:before{content:"󱒈"}.mdi-view-compact:before{content:"󰹫"}.mdi-view-compact-outline:before{content:"󰹬"}.mdi-view-dashboard:before{content:"󰕮"}.mdi-view-dashboard-edit:before{content:"󱥇"}.mdi-view-dashboard-edit-outline:before{content:"󱥈"}.mdi-view-dashboard-outline:before{content:"󰨝"}.mdi-view-dashboard-variant:before{content:"󰡃"}.mdi-view-dashboard-variant-outline:before{content:"󱒉"}.mdi-view-day:before{content:"󰕯"}.mdi-view-day-outline:before{content:"󱒊"}.mdi-view-gallery:before{content:"󱢈"}.mdi-view-gallery-outline:before{content:"󱢉"}.mdi-view-grid:before{content:"󰕰"}.mdi-view-grid-compact:before{content:"󱱡"}.mdi-view-grid-outline:before{content:"󱇙"}.mdi-view-grid-plus:before{content:"󰾍"}.mdi-view-grid-plus-outline:before{content:"󱇚"}.mdi-view-headline:before{content:"󰕱"}.mdi-view-list:before{content:"󰕲"}.mdi-view-list-outline:before{content:"󱒋"}.mdi-view-module:before{content:"󰕳"}.mdi-view-module-outline:before{content:"󱒌"}.mdi-view-parallel:before{content:"󰜨"}.mdi-view-parallel-outline:before{content:"󱒍"}.mdi-view-quilt:before{content:"󰕴"}.mdi-view-quilt-outline:before{content:"󱒎"}.mdi-view-sequential:before{content:"󰜩"}.mdi-view-sequential-outline:before{content:"󱒏"}.mdi-view-split-horizontal:before{content:"󰯋"}.mdi-view-split-vertical:before{content:"󰯌"}.mdi-view-stream:before{content:"󰕵"}.mdi-view-stream-outline:before{content:"󱒐"}.mdi-view-week:before{content:"󰕶"}.mdi-view-week-outline:before{content:"󱒑"}.mdi-vimeo:before{content:"󰕷"}.mdi-violin:before{content:"󰘏"}.mdi-virtual-reality:before{content:"󰢔"}.mdi-virus:before{content:"󱎶"}.mdi-virus-off:before{content:"󱣡"}.mdi-virus-off-outline:before{content:"󱣢"}.mdi-virus-outline:before{content:"󱎷"}.mdi-vlc:before{content:"󰕼"}.mdi-voicemail:before{content:"󰕽"}.mdi-volcano:before{content:"󱪃"}.mdi-volcano-outline:before{content:"󱪄"}.mdi-volleyball:before{content:"󰦴"}.mdi-volume-equal:before{content:"󱬐"}.mdi-volume-high:before{content:"󰕾"}.mdi-volume-low:before{content:"󰕿"}.mdi-volume-medium:before{content:"󰖀"}.mdi-volume-minus:before{content:"󰝞"}.mdi-volume-mute:before{content:"󰝟"}.mdi-volume-off:before{content:"󰖁"}.mdi-volume-plus:before{content:"󰝝"}.mdi-volume-source:before{content:"󱄠"}.mdi-volume-variant-off:before{content:"󰸈"}.mdi-volume-vibrate:before{content:"󱄡"}.mdi-vote:before{content:"󰨟"}.mdi-vote-outline:before{content:"󰨠"}.mdi-vpn:before{content:"󰖂"}.mdi-vuejs:before{content:"󰡄"}.mdi-vuetify:before{content:"󰹭"}.mdi-walk:before{content:"󰖃"}.mdi-wall:before{content:"󰟾"}.mdi-wall-fire:before{content:"󱨑"}.mdi-wall-sconce:before{content:"󰤜"}.mdi-wall-sconce-flat:before{content:"󰤝"}.mdi-wall-sconce-flat-outline:before{content:"󱟉"}.mdi-wall-sconce-flat-variant:before{content:"󰐜"}.mdi-wall-sconce-flat-variant-outline:before{content:"󱟊"}.mdi-wall-sconce-outline:before{content:"󱟋"}.mdi-wall-sconce-round:before{content:"󰝈"}.mdi-wall-sconce-round-outline:before{content:"󱟌"}.mdi-wall-sconce-round-variant:before{content:"󰤞"}.mdi-wall-sconce-round-variant-outline:before{content:"󱟍"}.mdi-wallet:before{content:"󰖄"}.mdi-wallet-bifold:before{content:"󱱘"}.mdi-wallet-bifold-outline:before{content:"󱱙"}.mdi-wallet-giftcard:before{content:"󰖅"}.mdi-wallet-membership:before{content:"󰖆"}.mdi-wallet-outline:before{content:"󰯝"}.mdi-wallet-plus:before{content:"󰾎"}.mdi-wallet-plus-outline:before{content:"󰾏"}.mdi-wallet-travel:before{content:"󰖇"}.mdi-wallpaper:before{content:"󰸉"}.mdi-wan:before{content:"󰖈"}.mdi-wardrobe:before{content:"󰾐"}.mdi-wardrobe-outline:before{content:"󰾑"}.mdi-warehouse:before{content:"󰾁"}.mdi-washing-machine:before{content:"󰜪"}.mdi-washing-machine-alert:before{content:"󱆼"}.mdi-washing-machine-off:before{content:"󱆽"}.mdi-watch:before{content:"󰖉"}.mdi-watch-export:before{content:"󰖊"}.mdi-watch-export-variant:before{content:"󰢕"}.mdi-watch-import:before{content:"󰖋"}.mdi-watch-import-variant:before{content:"󰢖"}.mdi-watch-variant:before{content:"󰢗"}.mdi-watch-vibrate:before{content:"󰚱"}.mdi-watch-vibrate-off:before{content:"󰳚"}.mdi-water:before{content:"󰖌"}.mdi-water-alert:before{content:"󱔂"}.mdi-water-alert-outline:before{content:"󱔃"}.mdi-water-boiler:before{content:"󰾒"}.mdi-water-boiler-alert:before{content:"󱆳"}.mdi-water-boiler-auto:before{content:"󱮘"}.mdi-water-boiler-off:before{content:"󱆴"}.mdi-water-check:before{content:"󱔄"}.mdi-water-check-outline:before{content:"󱔅"}.mdi-water-circle:before{content:"󱠆"}.mdi-water-minus:before{content:"󱔆"}.mdi-water-minus-outline:before{content:"󱔇"}.mdi-water-off:before{content:"󰖍"}.mdi-water-off-outline:before{content:"󱔈"}.mdi-water-opacity:before{content:"󱡕"}.mdi-water-outline:before{content:"󰸊"}.mdi-water-percent:before{content:"󰖎"}.mdi-water-percent-alert:before{content:"󱔉"}.mdi-water-plus:before{content:"󱔊"}.mdi-water-plus-outline:before{content:"󱔋"}.mdi-water-polo:before{content:"󱊠"}.mdi-water-pump:before{content:"󰖏"}.mdi-water-pump-off:before{content:"󰾓"}.mdi-water-remove:before{content:"󱔌"}.mdi-water-remove-outline:before{content:"󱔍"}.mdi-water-sync:before{content:"󱟆"}.mdi-water-thermometer:before{content:"󱪅"}.mdi-water-thermometer-outline:before{content:"󱪆"}.mdi-water-well:before{content:"󱁫"}.mdi-water-well-outline:before{content:"󱁬"}.mdi-waterfall:before{content:"󱡉"}.mdi-watering-can:before{content:"󱒁"}.mdi-watering-can-outline:before{content:"󱒂"}.mdi-watermark:before{content:"󰘒"}.mdi-wave:before{content:"󰼮"}.mdi-waveform:before{content:"󱑽"}.mdi-waves:before{content:"󰞍"}.mdi-waves-arrow-left:before{content:"󱡙"}.mdi-waves-arrow-right:before{content:"󱡚"}.mdi-waves-arrow-up:before{content:"󱡛"}.mdi-waze:before{content:"󰯞"}.mdi-weather-cloudy:before{content:"󰖐"}.mdi-weather-cloudy-alert:before{content:"󰼯"}.mdi-weather-cloudy-arrow-right:before{content:"󰹮"}.mdi-weather-cloudy-clock:before{content:"󱣶"}.mdi-weather-dust:before{content:"󱭚"}.mdi-weather-fog:before{content:"󰖑"}.mdi-weather-hail:before{content:"󰖒"}.mdi-weather-hazy:before{content:"󰼰"}.mdi-weather-hurricane:before{content:"󰢘"}.mdi-weather-hurricane-outline:before{content:"󱱸"}.mdi-weather-lightning:before{content:"󰖓"}.mdi-weather-lightning-rainy:before{content:"󰙾"}.mdi-weather-night:before{content:"󰖔"}.mdi-weather-night-partly-cloudy:before{content:"󰼱"}.mdi-weather-partly-cloudy:before{content:"󰖕"}.mdi-weather-partly-lightning:before{content:"󰼲"}.mdi-weather-partly-rainy:before{content:"󰼳"}.mdi-weather-partly-snowy:before{content:"󰼴"}.mdi-weather-partly-snowy-rainy:before{content:"󰼵"}.mdi-weather-pouring:before{content:"󰖖"}.mdi-weather-rainy:before{content:"󰖗"}.mdi-weather-snowy:before{content:"󰖘"}.mdi-weather-snowy-heavy:before{content:"󰼶"}.mdi-weather-snowy-rainy:before{content:"󰙿"}.mdi-weather-sunny:before{content:"󰖙"}.mdi-weather-sunny-alert:before{content:"󰼷"}.mdi-weather-sunny-off:before{content:"󱓤"}.mdi-weather-sunset:before{content:"󰖚"}.mdi-weather-sunset-down:before{content:"󰖛"}.mdi-weather-sunset-up:before{content:"󰖜"}.mdi-weather-tornado:before{content:"󰼸"}.mdi-weather-windy:before{content:"󰖝"}.mdi-weather-windy-variant:before{content:"󰖞"}.mdi-web:before{content:"󰖟"}.mdi-web-box:before{content:"󰾔"}.mdi-web-cancel:before{content:"󱞐"}.mdi-web-check:before{content:"󰞉"}.mdi-web-clock:before{content:"󱉊"}.mdi-web-minus:before{content:"󱂠"}.mdi-web-off:before{content:"󰪎"}.mdi-web-plus:before{content:"󰀳"}.mdi-web-refresh:before{content:"󱞑"}.mdi-web-remove:before{content:"󰕑"}.mdi-web-sync:before{content:"󱞒"}.mdi-webcam:before{content:"󰖠"}.mdi-webcam-off:before{content:"󱜷"}.mdi-webhook:before{content:"󰘯"}.mdi-webpack:before{content:"󰜫"}.mdi-webrtc:before{content:"󱉈"}.mdi-wechat:before{content:"󰘑"}.mdi-weight:before{content:"󰖡"}.mdi-weight-gram:before{content:"󰴿"}.mdi-weight-kilogram:before{content:"󰖢"}.mdi-weight-lifter:before{content:"󱅝"}.mdi-weight-pound:before{content:"󰦵"}.mdi-whatsapp:before{content:"󰖣"}.mdi-wheel-barrow:before{content:"󱓲"}.mdi-wheelchair:before{content:"󱪇"}.mdi-wheelchair-accessibility:before{content:"󰖤"}.mdi-whistle:before{content:"󰦶"}.mdi-whistle-outline:before{content:"󱊼"}.mdi-white-balance-auto:before{content:"󰖥"}.mdi-white-balance-incandescent:before{content:"󰖦"}.mdi-white-balance-iridescent:before{content:"󰖧"}.mdi-white-balance-sunny:before{content:"󰖨"}.mdi-widgets:before{content:"󰜬"}.mdi-widgets-outline:before{content:"󱍕"}.mdi-wifi:before{content:"󰖩"}.mdi-wifi-alert:before{content:"󱚵"}.mdi-wifi-arrow-down:before{content:"󱚶"}.mdi-wifi-arrow-left:before{content:"󱚷"}.mdi-wifi-arrow-left-right:before{content:"󱚸"}.mdi-wifi-arrow-right:before{content:"󱚹"}.mdi-wifi-arrow-up:before{content:"󱚺"}.mdi-wifi-arrow-up-down:before{content:"󱚻"}.mdi-wifi-cancel:before{content:"󱚼"}.mdi-wifi-check:before{content:"󱚽"}.mdi-wifi-cog:before{content:"󱚾"}.mdi-wifi-lock:before{content:"󱚿"}.mdi-wifi-lock-open:before{content:"󱛀"}.mdi-wifi-marker:before{content:"󱛁"}.mdi-wifi-minus:before{content:"󱛂"}.mdi-wifi-off:before{content:"󰖪"}.mdi-wifi-plus:before{content:"󱛃"}.mdi-wifi-refresh:before{content:"󱛄"}.mdi-wifi-remove:before{content:"󱛅"}.mdi-wifi-settings:before{content:"󱛆"}.mdi-wifi-star:before{content:"󰸋"}.mdi-wifi-strength-1:before{content:"󰤟"}.mdi-wifi-strength-1-alert:before{content:"󰤠"}.mdi-wifi-strength-1-lock:before{content:"󰤡"}.mdi-wifi-strength-1-lock-open:before{content:"󱛋"}.mdi-wifi-strength-2:before{content:"󰤢"}.mdi-wifi-strength-2-alert:before{content:"󰤣"}.mdi-wifi-strength-2-lock:before{content:"󰤤"}.mdi-wifi-strength-2-lock-open:before{content:"󱛌"}.mdi-wifi-strength-3:before{content:"󰤥"}.mdi-wifi-strength-3-alert:before{content:"󰤦"}.mdi-wifi-strength-3-lock:before{content:"󰤧"}.mdi-wifi-strength-3-lock-open:before{content:"󱛍"}.mdi-wifi-strength-4:before{content:"󰤨"}.mdi-wifi-strength-4-alert:before{content:"󰤩"}.mdi-wifi-strength-4-lock:before{content:"󰤪"}.mdi-wifi-strength-4-lock-open:before{content:"󱛎"}.mdi-wifi-strength-alert-outline:before{content:"󰤫"}.mdi-wifi-strength-lock-open-outline:before{content:"󱛏"}.mdi-wifi-strength-lock-outline:before{content:"󰤬"}.mdi-wifi-strength-off:before{content:"󰤭"}.mdi-wifi-strength-off-outline:before{content:"󰤮"}.mdi-wifi-strength-outline:before{content:"󰤯"}.mdi-wifi-sync:before{content:"󱛇"}.mdi-wikipedia:before{content:"󰖬"}.mdi-wind-power:before{content:"󱪈"}.mdi-wind-power-outline:before{content:"󱪉"}.mdi-wind-turbine:before{content:"󰶥"}.mdi-wind-turbine-alert:before{content:"󱦫"}.mdi-wind-turbine-check:before{content:"󱦬"}.mdi-window-close:before{content:"󰖭"}.mdi-window-closed:before{content:"󰖮"}.mdi-window-closed-variant:before{content:"󱇛"}.mdi-window-maximize:before{content:"󰖯"}.mdi-window-minimize:before{content:"󰖰"}.mdi-window-open:before{content:"󰖱"}.mdi-window-open-variant:before{content:"󱇜"}.mdi-window-restore:before{content:"󰖲"}.mdi-window-shutter:before{content:"󱄜"}.mdi-window-shutter-alert:before{content:"󱄝"}.mdi-window-shutter-auto:before{content:"󱮣"}.mdi-window-shutter-cog:before{content:"󱪊"}.mdi-window-shutter-open:before{content:"󱄞"}.mdi-window-shutter-settings:before{content:"󱪋"}.mdi-windsock:before{content:"󱗺"}.mdi-wiper:before{content:"󰫩"}.mdi-wiper-wash:before{content:"󰶦"}.mdi-wiper-wash-alert:before{content:"󱣟"}.mdi-wizard-hat:before{content:"󱑷"}.mdi-wordpress:before{content:"󰖴"}.mdi-wrap:before{content:"󰖶"}.mdi-wrap-disabled:before{content:"󰯟"}.mdi-wrench:before{content:"󰖷"}.mdi-wrench-check:before{content:"󱮏"}.mdi-wrench-check-outline:before{content:"󱮐"}.mdi-wrench-clock:before{content:"󱦣"}.mdi-wrench-clock-outline:before{content:"󱮓"}.mdi-wrench-cog:before{content:"󱮑"}.mdi-wrench-cog-outline:before{content:"󱮒"}.mdi-wrench-outline:before{content:"󰯠"}.mdi-xamarin:before{content:"󰡅"}.mdi-xml:before{content:"󰗀"}.mdi-xmpp:before{content:"󰟿"}.mdi-yahoo:before{content:"󰭏"}.mdi-yeast:before{content:"󰗁"}.mdi-yin-yang:before{content:"󰚀"}.mdi-yoga:before{content:"󱅼"}.mdi-youtube:before{content:"󰗃"}.mdi-youtube-gaming:before{content:"󰡈"}.mdi-youtube-studio:before{content:"󰡇"}.mdi-youtube-subscription:before{content:"󰵀"}.mdi-youtube-tv:before{content:"󰑈"}.mdi-yurt:before{content:"󱔖"}.mdi-z-wave:before{content:"󰫪"}.mdi-zend:before{content:"󰫫"}.mdi-zigbee:before{content:"󰵁"}.mdi-zip-box:before{content:"󰗄"}.mdi-zip-box-outline:before{content:"󰿺"}.mdi-zip-disk:before{content:"󰨣"}.mdi-zodiac-aquarius:before{content:"󰩽"}.mdi-zodiac-aries:before{content:"󰩾"}.mdi-zodiac-cancer:before{content:"󰩿"}.mdi-zodiac-capricorn:before{content:"󰪀"}.mdi-zodiac-gemini:before{content:"󰪁"}.mdi-zodiac-leo:before{content:"󰪂"}.mdi-zodiac-libra:before{content:"󰪃"}.mdi-zodiac-pisces:before{content:"󰪄"}.mdi-zodiac-sagittarius:before{content:"󰪅"}.mdi-zodiac-scorpio:before{content:"󰪆"}.mdi-zodiac-taurus:before{content:"󰪇"}.mdi-zodiac-virgo:before{content:"󰪈"}.mdi-blank:before{content:"";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:#0000008a}.mdi-dark.mdi-inactive:before{color:#00000042}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:#ffffff4d}.mdi-rotate-45:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.mdi-rotate-90:before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mdi-rotate-135:before{-webkit-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.mdi-rotate-180:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mdi-rotate-225:before{-webkit-transform:rotate(225deg);-ms-transform:rotate(225deg);transform:rotate(225deg)}.mdi-rotate-270:before{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mdi-rotate-315:before{-webkit-transform:rotate(315deg);-ms-transform:rotate(315deg);transform:rotate(315deg)}.mdi-flip-h:before{-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:"FlipH"}.mdi-flip-v:before{-webkit-transform:scaleY(-1);transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.mdi-spin:before{-webkit-animation:mdi-spin 2s infinite linear;animation:mdi-spin 2s infinite linear}@-webkit-keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}.bg-black{background-color:#000!important;color:#fff!important}.bg-white{background-color:#fff!important;color:#000!important}.bg-transparent{background-color:transparent!important;color:currentColor!important}.bg-red{background-color:#f44336!important;color:#fff!important}.bg-red-lighten-5{background-color:#ffebee!important;color:#000!important}.bg-red-lighten-4{background-color:#ffcdd2!important;color:#000!important}.bg-red-lighten-3{background-color:#ef9a9a!important;color:#000!important}.bg-red-lighten-2{background-color:#e57373!important;color:#fff!important}.bg-red-lighten-1{background-color:#ef5350!important;color:#fff!important}.bg-red-darken-1{background-color:#e53935!important;color:#fff!important}.bg-red-darken-2{background-color:#d32f2f!important;color:#fff!important}.bg-red-darken-3{background-color:#c62828!important;color:#fff!important}.bg-red-darken-4{background-color:#b71c1c!important;color:#fff!important}.bg-red-accent-1{background-color:#ff8a80!important;color:#000!important}.bg-red-accent-2{background-color:#ff5252!important;color:#fff!important}.bg-red-accent-3{background-color:#ff1744!important;color:#fff!important}.bg-red-accent-4{background-color:#d50000!important;color:#fff!important}.bg-pink{background-color:#e91e63!important;color:#fff!important}.bg-pink-lighten-5{background-color:#fce4ec!important;color:#000!important}.bg-pink-lighten-4{background-color:#f8bbd0!important;color:#000!important}.bg-pink-lighten-3{background-color:#f48fb1!important;color:#000!important}.bg-pink-lighten-2{background-color:#f06292!important;color:#fff!important}.bg-pink-lighten-1{background-color:#ec407a!important;color:#fff!important}.bg-pink-darken-1{background-color:#d81b60!important;color:#fff!important}.bg-pink-darken-2{background-color:#c2185b!important;color:#fff!important}.bg-pink-darken-3{background-color:#ad1457!important;color:#fff!important}.bg-pink-darken-4{background-color:#880e4f!important;color:#fff!important}.bg-pink-accent-1{background-color:#ff80ab!important;color:#fff!important}.bg-pink-accent-2{background-color:#ff4081!important;color:#fff!important}.bg-pink-accent-3{background-color:#f50057!important;color:#fff!important}.bg-pink-accent-4{background-color:#c51162!important;color:#fff!important}.bg-purple{background-color:#9c27b0!important;color:#fff!important}.bg-purple-lighten-5{background-color:#f3e5f5!important;color:#000!important}.bg-purple-lighten-4{background-color:#e1bee7!important;color:#000!important}.bg-purple-lighten-3{background-color:#ce93d8!important;color:#fff!important}.bg-purple-lighten-2{background-color:#ba68c8!important;color:#fff!important}.bg-purple-lighten-1{background-color:#ab47bc!important;color:#fff!important}.bg-purple-darken-1{background-color:#8e24aa!important;color:#fff!important}.bg-purple-darken-2{background-color:#7b1fa2!important;color:#fff!important}.bg-purple-darken-3{background-color:#6a1b9a!important;color:#fff!important}.bg-purple-darken-4{background-color:#4a148c!important;color:#fff!important}.bg-purple-accent-1{background-color:#ea80fc!important;color:#fff!important}.bg-purple-accent-2{background-color:#e040fb!important;color:#fff!important}.bg-purple-accent-3{background-color:#d500f9!important;color:#fff!important}.bg-purple-accent-4{background-color:#a0f!important;color:#fff!important}.bg-deep-purple{background-color:#673ab7!important;color:#fff!important}.bg-deep-purple-lighten-5{background-color:#ede7f6!important;color:#000!important}.bg-deep-purple-lighten-4{background-color:#d1c4e9!important;color:#000!important}.bg-deep-purple-lighten-3{background-color:#b39ddb!important;color:#fff!important}.bg-deep-purple-lighten-2{background-color:#9575cd!important;color:#fff!important}.bg-deep-purple-lighten-1{background-color:#7e57c2!important;color:#fff!important}.bg-deep-purple-darken-1{background-color:#5e35b1!important;color:#fff!important}.bg-deep-purple-darken-2{background-color:#512da8!important;color:#fff!important}.bg-deep-purple-darken-3{background-color:#4527a0!important;color:#fff!important}.bg-deep-purple-darken-4{background-color:#311b92!important;color:#fff!important}.bg-deep-purple-accent-1{background-color:#b388ff!important;color:#fff!important}.bg-deep-purple-accent-2{background-color:#7c4dff!important;color:#fff!important}.bg-deep-purple-accent-3{background-color:#651fff!important;color:#fff!important}.bg-deep-purple-accent-4{background-color:#6200ea!important;color:#fff!important}.bg-indigo{background-color:#3f51b5!important;color:#fff!important}.bg-indigo-lighten-5{background-color:#e8eaf6!important;color:#000!important}.bg-indigo-lighten-4{background-color:#c5cae9!important;color:#000!important}.bg-indigo-lighten-3{background-color:#9fa8da!important;color:#fff!important}.bg-indigo-lighten-2{background-color:#7986cb!important;color:#fff!important}.bg-indigo-lighten-1{background-color:#5c6bc0!important;color:#fff!important}.bg-indigo-darken-1{background-color:#3949ab!important;color:#fff!important}.bg-indigo-darken-2{background-color:#303f9f!important;color:#fff!important}.bg-indigo-darken-3{background-color:#283593!important;color:#fff!important}.bg-indigo-darken-4{background-color:#1a237e!important;color:#fff!important}.bg-indigo-accent-1{background-color:#8c9eff!important;color:#fff!important}.bg-indigo-accent-2{background-color:#536dfe!important;color:#fff!important}.bg-indigo-accent-3{background-color:#3d5afe!important;color:#fff!important}.bg-indigo-accent-4{background-color:#304ffe!important;color:#fff!important}.bg-blue{background-color:#2196f3!important;color:#fff!important}.bg-blue-lighten-5{background-color:#e3f2fd!important;color:#000!important}.bg-blue-lighten-4{background-color:#bbdefb!important;color:#000!important}.bg-blue-lighten-3{background-color:#90caf9!important;color:#000!important}.bg-blue-lighten-2{background-color:#64b5f6!important;color:#000!important}.bg-blue-lighten-1{background-color:#42a5f5!important;color:#fff!important}.bg-blue-darken-1{background-color:#1e88e5!important;color:#fff!important}.bg-blue-darken-2{background-color:#1976d2!important;color:#fff!important}.bg-blue-darken-3{background-color:#1565c0!important;color:#fff!important}.bg-blue-darken-4{background-color:#0d47a1!important;color:#fff!important}.bg-blue-accent-1{background-color:#82b1ff!important;color:#000!important}.bg-blue-accent-2{background-color:#448aff!important;color:#fff!important}.bg-blue-accent-3{background-color:#2979ff!important;color:#fff!important}.bg-blue-accent-4{background-color:#2962ff!important;color:#fff!important}.bg-light-blue{background-color:#03a9f4!important;color:#fff!important}.bg-light-blue-lighten-5{background-color:#e1f5fe!important;color:#000!important}.bg-light-blue-lighten-4{background-color:#b3e5fc!important;color:#000!important}.bg-light-blue-lighten-3{background-color:#81d4fa!important;color:#000!important}.bg-light-blue-lighten-2{background-color:#4fc3f7!important;color:#000!important}.bg-light-blue-lighten-1{background-color:#29b6f6!important;color:#000!important}.bg-light-blue-darken-1{background-color:#039be5!important;color:#fff!important}.bg-light-blue-darken-2{background-color:#0288d1!important;color:#fff!important}.bg-light-blue-darken-3{background-color:#0277bd!important;color:#fff!important}.bg-light-blue-darken-4{background-color:#01579b!important;color:#fff!important}.bg-light-blue-accent-1{background-color:#80d8ff!important;color:#000!important}.bg-light-blue-accent-2{background-color:#40c4ff!important;color:#000!important}.bg-light-blue-accent-3{background-color:#00b0ff!important;color:#fff!important}.bg-light-blue-accent-4{background-color:#0091ea!important;color:#fff!important}.bg-cyan{background-color:#00bcd4!important;color:#000!important}.bg-cyan-lighten-5{background-color:#e0f7fa!important;color:#000!important}.bg-cyan-lighten-4{background-color:#b2ebf2!important;color:#000!important}.bg-cyan-lighten-3{background-color:#80deea!important;color:#000!important}.bg-cyan-lighten-2{background-color:#4dd0e1!important;color:#000!important}.bg-cyan-lighten-1{background-color:#26c6da!important;color:#000!important}.bg-cyan-darken-1{background-color:#00acc1!important;color:#fff!important}.bg-cyan-darken-2{background-color:#0097a7!important;color:#fff!important}.bg-cyan-darken-3{background-color:#00838f!important;color:#fff!important}.bg-cyan-darken-4{background-color:#006064!important;color:#fff!important}.bg-cyan-accent-1{background-color:#84ffff!important;color:#000!important}.bg-cyan-accent-2{background-color:#18ffff!important;color:#000!important}.bg-cyan-accent-3{background-color:#00e5ff!important;color:#000!important}.bg-cyan-accent-4{background-color:#00b8d4!important;color:#fff!important}.bg-teal{background-color:#009688!important;color:#fff!important}.bg-teal-lighten-5{background-color:#e0f2f1!important;color:#000!important}.bg-teal-lighten-4{background-color:#b2dfdb!important;color:#000!important}.bg-teal-lighten-3{background-color:#80cbc4!important;color:#000!important}.bg-teal-lighten-2{background-color:#4db6ac!important;color:#fff!important}.bg-teal-lighten-1{background-color:#26a69a!important;color:#fff!important}.bg-teal-darken-1{background-color:#00897b!important;color:#fff!important}.bg-teal-darken-2{background-color:#00796b!important;color:#fff!important}.bg-teal-darken-3{background-color:#00695c!important;color:#fff!important}.bg-teal-darken-4{background-color:#004d40!important;color:#fff!important}.bg-teal-accent-1{background-color:#a7ffeb!important;color:#000!important}.bg-teal-accent-2{background-color:#64ffda!important;color:#000!important}.bg-teal-accent-3{background-color:#1de9b6!important;color:#000!important}.bg-teal-accent-4{background-color:#00bfa5!important;color:#fff!important}.bg-green{background-color:#4caf50!important;color:#fff!important}.bg-green-lighten-5{background-color:#e8f5e9!important;color:#000!important}.bg-green-lighten-4{background-color:#c8e6c9!important;color:#000!important}.bg-green-lighten-3{background-color:#a5d6a7!important;color:#000!important}.bg-green-lighten-2{background-color:#81c784!important;color:#000!important}.bg-green-lighten-1{background-color:#66bb6a!important;color:#fff!important}.bg-green-darken-1{background-color:#43a047!important;color:#fff!important}.bg-green-darken-2{background-color:#388e3c!important;color:#fff!important}.bg-green-darken-3{background-color:#2e7d32!important;color:#fff!important}.bg-green-darken-4{background-color:#1b5e20!important;color:#fff!important}.bg-green-accent-1{background-color:#b9f6ca!important;color:#000!important}.bg-green-accent-2{background-color:#69f0ae!important;color:#000!important}.bg-green-accent-3{background-color:#00e676!important;color:#000!important}.bg-green-accent-4{background-color:#00c853!important;color:#000!important}.bg-light-green{background-color:#8bc34a!important;color:#000!important}.bg-light-green-lighten-5{background-color:#f1f8e9!important;color:#000!important}.bg-light-green-lighten-4{background-color:#dcedc8!important;color:#000!important}.bg-light-green-lighten-3{background-color:#c5e1a5!important;color:#000!important}.bg-light-green-lighten-2{background-color:#aed581!important;color:#000!important}.bg-light-green-lighten-1{background-color:#9ccc65!important;color:#000!important}.bg-light-green-darken-1{background-color:#7cb342!important;color:#fff!important}.bg-light-green-darken-2{background-color:#689f38!important;color:#fff!important}.bg-light-green-darken-3{background-color:#558b2f!important;color:#fff!important}.bg-light-green-darken-4{background-color:#33691e!important;color:#fff!important}.bg-light-green-accent-1{background-color:#ccff90!important;color:#000!important}.bg-light-green-accent-2{background-color:#b2ff59!important;color:#000!important}.bg-light-green-accent-3{background-color:#76ff03!important;color:#000!important}.bg-light-green-accent-4{background-color:#64dd17!important;color:#000!important}.bg-lime{background-color:#cddc39!important;color:#000!important}.bg-lime-lighten-5{background-color:#f9fbe7!important;color:#000!important}.bg-lime-lighten-4{background-color:#f0f4c3!important;color:#000!important}.bg-lime-lighten-3{background-color:#e6ee9c!important;color:#000!important}.bg-lime-lighten-2{background-color:#dce775!important;color:#000!important}.bg-lime-lighten-1{background-color:#d4e157!important;color:#000!important}.bg-lime-darken-1{background-color:#c0ca33!important;color:#000!important}.bg-lime-darken-2{background-color:#afb42b!important;color:#000!important}.bg-lime-darken-3{background-color:#9e9d24!important;color:#fff!important}.bg-lime-darken-4{background-color:#827717!important;color:#fff!important}.bg-lime-accent-1{background-color:#f4ff81!important;color:#000!important}.bg-lime-accent-2{background-color:#eeff41!important;color:#000!important}.bg-lime-accent-3{background-color:#c6ff00!important;color:#000!important}.bg-lime-accent-4{background-color:#aeea00!important;color:#000!important}.bg-yellow{background-color:#ffeb3b!important;color:#000!important}.bg-yellow-lighten-5{background-color:#fffde7!important;color:#000!important}.bg-yellow-lighten-4{background-color:#fff9c4!important;color:#000!important}.bg-yellow-lighten-3{background-color:#fff59d!important;color:#000!important}.bg-yellow-lighten-2{background-color:#fff176!important;color:#000!important}.bg-yellow-lighten-1{background-color:#ffee58!important;color:#000!important}.bg-yellow-darken-1{background-color:#fdd835!important;color:#000!important}.bg-yellow-darken-2{background-color:#fbc02d!important;color:#000!important}.bg-yellow-darken-3{background-color:#f9a825!important;color:#000!important}.bg-yellow-darken-4{background-color:#f57f17!important;color:#fff!important}.bg-yellow-accent-1{background-color:#ffff8d!important;color:#000!important}.bg-yellow-accent-2{background-color:#ff0!important;color:#000!important}.bg-yellow-accent-3{background-color:#ffea00!important;color:#000!important}.bg-yellow-accent-4{background-color:#ffd600!important;color:#000!important}.bg-amber{background-color:#ffc107!important;color:#000!important}.bg-amber-lighten-5{background-color:#fff8e1!important;color:#000!important}.bg-amber-lighten-4{background-color:#ffecb3!important;color:#000!important}.bg-amber-lighten-3{background-color:#ffe082!important;color:#000!important}.bg-amber-lighten-2{background-color:#ffd54f!important;color:#000!important}.bg-amber-lighten-1{background-color:#ffca28!important;color:#000!important}.bg-amber-darken-1{background-color:#ffb300!important;color:#000!important}.bg-amber-darken-2{background-color:#ffa000!important;color:#000!important}.bg-amber-darken-3{background-color:#ff8f00!important;color:#000!important}.bg-amber-darken-4{background-color:#ff6f00!important;color:#fff!important}.bg-amber-accent-1{background-color:#ffe57f!important;color:#000!important}.bg-amber-accent-2{background-color:#ffd740!important;color:#000!important}.bg-amber-accent-3{background-color:#ffc400!important;color:#000!important}.bg-amber-accent-4{background-color:#ffab00!important;color:#000!important}.bg-orange{background-color:#ff9800!important;color:#000!important}.bg-orange-lighten-5{background-color:#fff3e0!important;color:#000!important}.bg-orange-lighten-4{background-color:#ffe0b2!important;color:#000!important}.bg-orange-lighten-3{background-color:#ffcc80!important;color:#000!important}.bg-orange-lighten-2{background-color:#ffb74d!important;color:#000!important}.bg-orange-lighten-1{background-color:#ffa726!important;color:#000!important}.bg-orange-darken-1{background-color:#fb8c00!important;color:#fff!important}.bg-orange-darken-2{background-color:#f57c00!important;color:#fff!important}.bg-orange-darken-3{background-color:#ef6c00!important;color:#fff!important}.bg-orange-darken-4{background-color:#e65100!important;color:#fff!important}.bg-orange-accent-1{background-color:#ffd180!important;color:#000!important}.bg-orange-accent-2{background-color:#ffab40!important;color:#000!important}.bg-orange-accent-3{background-color:#ff9100!important;color:#000!important}.bg-orange-accent-4{background-color:#ff6d00!important;color:#fff!important}.bg-deep-orange{background-color:#ff5722!important;color:#fff!important}.bg-deep-orange-lighten-5{background-color:#fbe9e7!important;color:#000!important}.bg-deep-orange-lighten-4{background-color:#ffccbc!important;color:#000!important}.bg-deep-orange-lighten-3{background-color:#ffab91!important;color:#000!important}.bg-deep-orange-lighten-2{background-color:#ff8a65!important;color:#000!important}.bg-deep-orange-lighten-1{background-color:#ff7043!important;color:#fff!important}.bg-deep-orange-darken-1{background-color:#f4511e!important;color:#fff!important}.bg-deep-orange-darken-2{background-color:#e64a19!important;color:#fff!important}.bg-deep-orange-darken-3{background-color:#d84315!important;color:#fff!important}.bg-deep-orange-darken-4{background-color:#bf360c!important;color:#fff!important}.bg-deep-orange-accent-1{background-color:#ff9e80!important;color:#000!important}.bg-deep-orange-accent-2{background-color:#ff6e40!important;color:#fff!important}.bg-deep-orange-accent-3{background-color:#ff3d00!important;color:#fff!important}.bg-deep-orange-accent-4{background-color:#dd2c00!important;color:#fff!important}.bg-brown{background-color:#795548!important;color:#fff!important}.bg-brown-lighten-5{background-color:#efebe9!important;color:#000!important}.bg-brown-lighten-4{background-color:#d7ccc8!important;color:#000!important}.bg-brown-lighten-3{background-color:#bcaaa4!important;color:#000!important}.bg-brown-lighten-2{background-color:#a1887f!important;color:#fff!important}.bg-brown-lighten-1{background-color:#8d6e63!important;color:#fff!important}.bg-brown-darken-1{background-color:#6d4c41!important;color:#fff!important}.bg-brown-darken-2{background-color:#5d4037!important;color:#fff!important}.bg-brown-darken-3{background-color:#4e342e!important;color:#fff!important}.bg-brown-darken-4{background-color:#3e2723!important;color:#fff!important}.bg-blue-grey{background-color:#607d8b!important;color:#fff!important}.bg-blue-grey-lighten-5{background-color:#eceff1!important;color:#000!important}.bg-blue-grey-lighten-4{background-color:#cfd8dc!important;color:#000!important}.bg-blue-grey-lighten-3{background-color:#b0bec5!important;color:#000!important}.bg-blue-grey-lighten-2{background-color:#90a4ae!important;color:#fff!important}.bg-blue-grey-lighten-1{background-color:#78909c!important;color:#fff!important}.bg-blue-grey-darken-1{background-color:#546e7a!important;color:#fff!important}.bg-blue-grey-darken-2{background-color:#455a64!important;color:#fff!important}.bg-blue-grey-darken-3{background-color:#37474f!important;color:#fff!important}.bg-blue-grey-darken-4{background-color:#263238!important;color:#fff!important}.bg-grey{background-color:#9e9e9e!important;color:#fff!important}.bg-grey-lighten-5{background-color:#fafafa!important;color:#000!important}.bg-grey-lighten-4{background-color:#f5f5f5!important;color:#000!important}.bg-grey-lighten-3{background-color:#eee!important;color:#000!important}.bg-grey-lighten-2{background-color:#e0e0e0!important;color:#000!important}.bg-grey-lighten-1{background-color:#bdbdbd!important;color:#000!important}.bg-grey-darken-1{background-color:#757575!important;color:#fff!important}.bg-grey-darken-2{background-color:#616161!important;color:#fff!important}.bg-grey-darken-3{background-color:#424242!important;color:#fff!important}.bg-grey-darken-4{background-color:#212121!important;color:#fff!important}.bg-shades-black{background-color:#000!important;color:#fff!important}.bg-shades-white{background-color:#fff!important;color:#000!important}.bg-shades-transparent{background-color:transparent!important;color:currentColor!important}.text-black{color:#000!important}.text-white{color:#fff!important}.text-transparent{color:transparent!important}.text-red{color:#f44336!important}.text-red-lighten-5{color:#ffebee!important}.text-red-lighten-4{color:#ffcdd2!important}.text-red-lighten-3{color:#ef9a9a!important}.text-red-lighten-2{color:#e57373!important}.text-red-lighten-1{color:#ef5350!important}.text-red-darken-1{color:#e53935!important}.text-red-darken-2{color:#d32f2f!important}.text-red-darken-3{color:#c62828!important}.text-red-darken-4{color:#b71c1c!important}.text-red-accent-1{color:#ff8a80!important}.text-red-accent-2{color:#ff5252!important}.text-red-accent-3{color:#ff1744!important}.text-red-accent-4{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-lighten-5{color:#fce4ec!important}.text-pink-lighten-4{color:#f8bbd0!important}.text-pink-lighten-3{color:#f48fb1!important}.text-pink-lighten-2{color:#f06292!important}.text-pink-lighten-1{color:#ec407a!important}.text-pink-darken-1{color:#d81b60!important}.text-pink-darken-2{color:#c2185b!important}.text-pink-darken-3{color:#ad1457!important}.text-pink-darken-4{color:#880e4f!important}.text-pink-accent-1{color:#ff80ab!important}.text-pink-accent-2{color:#ff4081!important}.text-pink-accent-3{color:#f50057!important}.text-pink-accent-4{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-lighten-5{color:#f3e5f5!important}.text-purple-lighten-4{color:#e1bee7!important}.text-purple-lighten-3{color:#ce93d8!important}.text-purple-lighten-2{color:#ba68c8!important}.text-purple-lighten-1{color:#ab47bc!important}.text-purple-darken-1{color:#8e24aa!important}.text-purple-darken-2{color:#7b1fa2!important}.text-purple-darken-3{color:#6a1b9a!important}.text-purple-darken-4{color:#4a148c!important}.text-purple-accent-1{color:#ea80fc!important}.text-purple-accent-2{color:#e040fb!important}.text-purple-accent-3{color:#d500f9!important}.text-purple-accent-4{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-lighten-5{color:#ede7f6!important}.text-deep-purple-lighten-4{color:#d1c4e9!important}.text-deep-purple-lighten-3{color:#b39ddb!important}.text-deep-purple-lighten-2{color:#9575cd!important}.text-deep-purple-lighten-1{color:#7e57c2!important}.text-deep-purple-darken-1{color:#5e35b1!important}.text-deep-purple-darken-2{color:#512da8!important}.text-deep-purple-darken-3{color:#4527a0!important}.text-deep-purple-darken-4{color:#311b92!important}.text-deep-purple-accent-1{color:#b388ff!important}.text-deep-purple-accent-2{color:#7c4dff!important}.text-deep-purple-accent-3{color:#651fff!important}.text-deep-purple-accent-4{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-lighten-5{color:#e8eaf6!important}.text-indigo-lighten-4{color:#c5cae9!important}.text-indigo-lighten-3{color:#9fa8da!important}.text-indigo-lighten-2{color:#7986cb!important}.text-indigo-lighten-1{color:#5c6bc0!important}.text-indigo-darken-1{color:#3949ab!important}.text-indigo-darken-2{color:#303f9f!important}.text-indigo-darken-3{color:#283593!important}.text-indigo-darken-4{color:#1a237e!important}.text-indigo-accent-1{color:#8c9eff!important}.text-indigo-accent-2{color:#536dfe!important}.text-indigo-accent-3{color:#3d5afe!important}.text-indigo-accent-4{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-lighten-5{color:#e3f2fd!important}.text-blue-lighten-4{color:#bbdefb!important}.text-blue-lighten-3{color:#90caf9!important}.text-blue-lighten-2{color:#64b5f6!important}.text-blue-lighten-1{color:#42a5f5!important}.text-blue-darken-1{color:#1e88e5!important}.text-blue-darken-2{color:#1976d2!important}.text-blue-darken-3{color:#1565c0!important}.text-blue-darken-4{color:#0d47a1!important}.text-blue-accent-1{color:#82b1ff!important}.text-blue-accent-2{color:#448aff!important}.text-blue-accent-3{color:#2979ff!important}.text-blue-accent-4{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-lighten-5{color:#e1f5fe!important}.text-light-blue-lighten-4{color:#b3e5fc!important}.text-light-blue-lighten-3{color:#81d4fa!important}.text-light-blue-lighten-2{color:#4fc3f7!important}.text-light-blue-lighten-1{color:#29b6f6!important}.text-light-blue-darken-1{color:#039be5!important}.text-light-blue-darken-2{color:#0288d1!important}.text-light-blue-darken-3{color:#0277bd!important}.text-light-blue-darken-4{color:#01579b!important}.text-light-blue-accent-1{color:#80d8ff!important}.text-light-blue-accent-2{color:#40c4ff!important}.text-light-blue-accent-3{color:#00b0ff!important}.text-light-blue-accent-4{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-lighten-5{color:#e0f7fa!important}.text-cyan-lighten-4{color:#b2ebf2!important}.text-cyan-lighten-3{color:#80deea!important}.text-cyan-lighten-2{color:#4dd0e1!important}.text-cyan-lighten-1{color:#26c6da!important}.text-cyan-darken-1{color:#00acc1!important}.text-cyan-darken-2{color:#0097a7!important}.text-cyan-darken-3{color:#00838f!important}.text-cyan-darken-4{color:#006064!important}.text-cyan-accent-1{color:#84ffff!important}.text-cyan-accent-2{color:#18ffff!important}.text-cyan-accent-3{color:#00e5ff!important}.text-cyan-accent-4{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-lighten-5{color:#e0f2f1!important}.text-teal-lighten-4{color:#b2dfdb!important}.text-teal-lighten-3{color:#80cbc4!important}.text-teal-lighten-2{color:#4db6ac!important}.text-teal-lighten-1{color:#26a69a!important}.text-teal-darken-1{color:#00897b!important}.text-teal-darken-2{color:#00796b!important}.text-teal-darken-3{color:#00695c!important}.text-teal-darken-4{color:#004d40!important}.text-teal-accent-1{color:#a7ffeb!important}.text-teal-accent-2{color:#64ffda!important}.text-teal-accent-3{color:#1de9b6!important}.text-teal-accent-4{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-lighten-5{color:#e8f5e9!important}.text-green-lighten-4{color:#c8e6c9!important}.text-green-lighten-3{color:#a5d6a7!important}.text-green-lighten-2{color:#81c784!important}.text-green-lighten-1{color:#66bb6a!important}.text-green-darken-1{color:#43a047!important}.text-green-darken-2{color:#388e3c!important}.text-green-darken-3{color:#2e7d32!important}.text-green-darken-4{color:#1b5e20!important}.text-green-accent-1{color:#b9f6ca!important}.text-green-accent-2{color:#69f0ae!important}.text-green-accent-3{color:#00e676!important}.text-green-accent-4{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-lighten-5{color:#f1f8e9!important}.text-light-green-lighten-4{color:#dcedc8!important}.text-light-green-lighten-3{color:#c5e1a5!important}.text-light-green-lighten-2{color:#aed581!important}.text-light-green-lighten-1{color:#9ccc65!important}.text-light-green-darken-1{color:#7cb342!important}.text-light-green-darken-2{color:#689f38!important}.text-light-green-darken-3{color:#558b2f!important}.text-light-green-darken-4{color:#33691e!important}.text-light-green-accent-1{color:#ccff90!important}.text-light-green-accent-2{color:#b2ff59!important}.text-light-green-accent-3{color:#76ff03!important}.text-light-green-accent-4{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-lighten-5{color:#f9fbe7!important}.text-lime-lighten-4{color:#f0f4c3!important}.text-lime-lighten-3{color:#e6ee9c!important}.text-lime-lighten-2{color:#dce775!important}.text-lime-lighten-1{color:#d4e157!important}.text-lime-darken-1{color:#c0ca33!important}.text-lime-darken-2{color:#afb42b!important}.text-lime-darken-3{color:#9e9d24!important}.text-lime-darken-4{color:#827717!important}.text-lime-accent-1{color:#f4ff81!important}.text-lime-accent-2{color:#eeff41!important}.text-lime-accent-3{color:#c6ff00!important}.text-lime-accent-4{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-lighten-5{color:#fffde7!important}.text-yellow-lighten-4{color:#fff9c4!important}.text-yellow-lighten-3{color:#fff59d!important}.text-yellow-lighten-2{color:#fff176!important}.text-yellow-lighten-1{color:#ffee58!important}.text-yellow-darken-1{color:#fdd835!important}.text-yellow-darken-2{color:#fbc02d!important}.text-yellow-darken-3{color:#f9a825!important}.text-yellow-darken-4{color:#f57f17!important}.text-yellow-accent-1{color:#ffff8d!important}.text-yellow-accent-2{color:#ff0!important}.text-yellow-accent-3{color:#ffea00!important}.text-yellow-accent-4{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-lighten-5{color:#fff8e1!important}.text-amber-lighten-4{color:#ffecb3!important}.text-amber-lighten-3{color:#ffe082!important}.text-amber-lighten-2{color:#ffd54f!important}.text-amber-lighten-1{color:#ffca28!important}.text-amber-darken-1{color:#ffb300!important}.text-amber-darken-2{color:#ffa000!important}.text-amber-darken-3{color:#ff8f00!important}.text-amber-darken-4{color:#ff6f00!important}.text-amber-accent-1{color:#ffe57f!important}.text-amber-accent-2{color:#ffd740!important}.text-amber-accent-3{color:#ffc400!important}.text-amber-accent-4{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-lighten-5{color:#fff3e0!important}.text-orange-lighten-4{color:#ffe0b2!important}.text-orange-lighten-3{color:#ffcc80!important}.text-orange-lighten-2{color:#ffb74d!important}.text-orange-lighten-1{color:#ffa726!important}.text-orange-darken-1{color:#fb8c00!important}.text-orange-darken-2{color:#f57c00!important}.text-orange-darken-3{color:#ef6c00!important}.text-orange-darken-4{color:#e65100!important}.text-orange-accent-1{color:#ffd180!important}.text-orange-accent-2{color:#ffab40!important}.text-orange-accent-3{color:#ff9100!important}.text-orange-accent-4{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-lighten-5{color:#fbe9e7!important}.text-deep-orange-lighten-4{color:#ffccbc!important}.text-deep-orange-lighten-3{color:#ffab91!important}.text-deep-orange-lighten-2{color:#ff8a65!important}.text-deep-orange-lighten-1{color:#ff7043!important}.text-deep-orange-darken-1{color:#f4511e!important}.text-deep-orange-darken-2{color:#e64a19!important}.text-deep-orange-darken-3{color:#d84315!important}.text-deep-orange-darken-4{color:#bf360c!important}.text-deep-orange-accent-1{color:#ff9e80!important}.text-deep-orange-accent-2{color:#ff6e40!important}.text-deep-orange-accent-3{color:#ff3d00!important}.text-deep-orange-accent-4{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-lighten-5{color:#efebe9!important}.text-brown-lighten-4{color:#d7ccc8!important}.text-brown-lighten-3{color:#bcaaa4!important}.text-brown-lighten-2{color:#a1887f!important}.text-brown-lighten-1{color:#8d6e63!important}.text-brown-darken-1{color:#6d4c41!important}.text-brown-darken-2{color:#5d4037!important}.text-brown-darken-3{color:#4e342e!important}.text-brown-darken-4{color:#3e2723!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-lighten-5{color:#eceff1!important}.text-blue-grey-lighten-4{color:#cfd8dc!important}.text-blue-grey-lighten-3{color:#b0bec5!important}.text-blue-grey-lighten-2{color:#90a4ae!important}.text-blue-grey-lighten-1{color:#78909c!important}.text-blue-grey-darken-1{color:#546e7a!important}.text-blue-grey-darken-2{color:#455a64!important}.text-blue-grey-darken-3{color:#37474f!important}.text-blue-grey-darken-4{color:#263238!important}.text-grey{color:#9e9e9e!important}.text-grey-lighten-5{color:#fafafa!important}.text-grey-lighten-4{color:#f5f5f5!important}.text-grey-lighten-3{color:#eee!important}.text-grey-lighten-2{color:#e0e0e0!important}.text-grey-lighten-1{color:#bdbdbd!important}.text-grey-darken-1{color:#757575!important}.text-grey-darken-2{color:#616161!important}.text-grey-darken-3{color:#424242!important}.text-grey-darken-4{color:#212121!important}.text-shades-black{color:#000!important}.text-shades-white{color:#fff!important}.text-shades-transparent{color:transparent!important}/*! * ress.css • v2.0.4 * MIT License * github.com/filipelinhares/ress diff --git a/dist/assets/index-518c378b.js b/dist/assets/index-ee9e8da0.js similarity index 89% rename from dist/assets/index-518c378b.js rename to dist/assets/index-ee9e8da0.js index bcc7fbf4..d5f43477 100644 --- a/dist/assets/index-518c378b.js +++ b/dist/assets/index-ee9e8da0.js @@ -1,8 +1,8 @@ -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const D of document.querySelectorAll('link[rel="modulepreload"]'))S(D);new MutationObserver(D=>{for(const x of D)if(x.type==="childList")for(const o of x.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&S(o)}).observe(document,{childList:!0,subtree:!0});function r(D){const x={};return D.integrity&&(x.integrity=D.integrity),D.referrerPolicy&&(x.referrerPolicy=D.referrerPolicy),D.crossOrigin==="use-credentials"?x.credentials="include":D.crossOrigin==="anonymous"?x.credentials="omit":x.credentials="same-origin",x}function S(D){if(D.ep)return;D.ep=!0;const x=r(D);fetch(D.href,x)}})();function Gx(n,e){const r=Object.create(null),S=n.split(",");for(let D=0;D!!r[D.toLowerCase()]:D=>!!r[D]}function Bs(n){if(xi(n)){const e={};for(let r=0;r{if(r){const S=r.split($C);S.length>1&&(e[S[0].trim()]=S[1].trim())}}),e}function vu(n){let e="";if(zo(n))e=n;else if(xi(n))for(let r=0;rzo(n)?n:n==null?"":xi(n)||lo(n)&&(n.toString===n4||!Vi(n.toString))?JSON.stringify(n,QT,2):String(n),QT=(n,e)=>e&&e.__v_isRef?QT(n,e.value):Lp(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[S,D])=>(r[`${S} =>`]=D,r),{})}:e4(e)?{[`Set(${e.size})`]:[...e.values()]}:lo(e)&&!xi(e)&&!r4(e)?String(e):e,so={},Ep=[],Lc=()=>{},JC=()=>!1,QC=/^on[^a-z]/,cy=n=>QC.test(n),Wx=n=>n.startsWith("onUpdate:"),Ss=Object.assign,qx=(n,e)=>{const r=n.indexOf(e);r>-1&&n.splice(r,1)},eE=Object.prototype.hasOwnProperty,xa=(n,e)=>eE.call(n,e),xi=Array.isArray,Lp=n=>fy(n)==="[object Map]",e4=n=>fy(n)==="[object Set]",Vi=n=>typeof n=="function",zo=n=>typeof n=="string",$x=n=>typeof n=="symbol",lo=n=>n!==null&&typeof n=="object",t4=n=>lo(n)&&Vi(n.then)&&Vi(n.catch),n4=Object.prototype.toString,fy=n=>n4.call(n),tE=n=>fy(n).slice(8,-1),r4=n=>fy(n)==="[object Object]",Yx=n=>zo(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,vv=Gx(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),hy=n=>{const e=Object.create(null);return r=>e[r]||(e[r]=n(r))},nE=/-(\w)/g,Zu=hy(n=>n.replace(nE,(e,r)=>r?r.toUpperCase():"")),rE=/\B([A-Z])/g,o0=hy(n=>n.replace(rE,"-$1").toLowerCase()),Jf=hy(n=>n.charAt(0).toUpperCase()+n.slice(1)),ib=hy(n=>n?`on${Jf(n)}`:""),gm=(n,e)=>!Object.is(n,e),yv=(n,e)=>{for(let r=0;r{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:r})},Fb=n=>{const e=parseFloat(n);return isNaN(e)?n:e},iE=n=>{const e=zo(n)?Number(n):NaN;return isNaN(e)?n:e};let z3;const aE=()=>z3||(z3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let fu;class i4{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=fu,!e&&fu&&(this.index=(fu.scopes||(fu.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=fu;try{return fu=this,e()}finally{fu=r}}}on(){fu=this}off(){fu=this.parent}stop(e){if(this._active){let r,S;for(r=0,S=this.effects.length;r{const e=new Set(n);return e.w=0,e.n=0,e},o4=n=>(n.w&Dh)>0,s4=n=>(n.n&Dh)>0,sE=({deps:n})=>{if(n.length)for(let e=0;e{const{deps:e}=n;if(e.length){let r=0;for(let S=0;S{(i==="length"||i>=d)&&t.push(g)})}else switch(r!==void 0&&t.push(o.get(r)),e){case"add":xi(n)?Yx(r)&&t.push(o.get("length")):(t.push(o.get(Td)),Lp(n)&&t.push(o.get(Nb)));break;case"delete":xi(n)||(t.push(o.get(Td)),Lp(n)&&t.push(o.get(Nb)));break;case"set":Lp(n)&&t.push(o.get(Td));break}if(t.length===1)t[0]&&Vb(t[0]);else{const d=[];for(const g of t)g&&d.push(...g);Vb(Zx(d))}}function Vb(n,e){const r=xi(n)?n:[...n];for(const S of r)S.computed&&B3(S);for(const S of r)S.computed||B3(S)}function B3(n,e){(n!==kc||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}function uE(n,e){var r;return(r=Iv.get(n))===null||r===void 0?void 0:r.get(e)}const cE=Gx("__proto__,__v_isRef,__isVue"),c4=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter($x)),fE=Kx(),hE=Kx(!1,!0),dE=Kx(!0),N3=pE();function pE(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...r){const S=Ii(this);for(let x=0,o=this.length;x{n[e]=function(...r){s0();const S=Ii(this)[e].apply(this,r);return l0(),S}}),n}function mE(n){const e=Ii(this);return ql(e,"has",n),e.hasOwnProperty(n)}function Kx(n=!1,e=!1){return function(S,D,x){if(D==="__v_isReactive")return!n;if(D==="__v_isReadonly")return n;if(D==="__v_isShallow")return e;if(D==="__v_raw"&&x===(n?e?IE:m4:e?p4:d4).get(S))return S;const o=xi(S);if(!n){if(o&&xa(N3,D))return Reflect.get(N3,D,x);if(D==="hasOwnProperty")return mE}const t=Reflect.get(S,D,x);return($x(D)?c4.has(D):cE(D))||(n||ql(S,"get",D),e)?t:to(t)?o&&Yx(D)?t:t.value:lo(t)?n?Vm(t):Tl(t):t}}const gE=f4(),vE=f4(!0);function f4(n=!1){return function(r,S,D,x){let o=r[S];if(Bp(o)&&to(o)&&!to(D))return!1;if(!n&&(!Ov(D)&&!Bp(D)&&(o=Ii(o),D=Ii(D)),!xi(r)&&to(o)&&!to(D)))return o.value=D,!0;const t=xi(r)&&Yx(S)?Number(S)n,dy=n=>Reflect.getPrototypeOf(n);function ev(n,e,r=!1,S=!1){n=n.__v_raw;const D=Ii(n),x=Ii(e);r||(e!==x&&ql(D,"get",e),ql(D,"get",x));const{has:o}=dy(D),t=S?Jx:r?t2:vm;if(o.call(D,e))return t(n.get(e));if(o.call(D,x))return t(n.get(x));n!==D&&n.get(e)}function tv(n,e=!1){const r=this.__v_raw,S=Ii(r),D=Ii(n);return e||(n!==D&&ql(S,"has",n),ql(S,"has",D)),n===D?r.has(n):r.has(n)||r.has(D)}function nv(n,e=!1){return n=n.__v_raw,!e&&ql(Ii(n),"iterate",Td),Reflect.get(n,"size",n)}function V3(n){n=Ii(n);const e=Ii(this);return dy(e).has.call(e,n)||(e.add(n),qf(e,"add",n,n)),this}function j3(n,e){e=Ii(e);const r=Ii(this),{has:S,get:D}=dy(r);let x=S.call(r,n);x||(n=Ii(n),x=S.call(r,n));const o=D.call(r,n);return r.set(n,e),x?gm(e,o)&&qf(r,"set",n,e):qf(r,"add",n,e),this}function U3(n){const e=Ii(this),{has:r,get:S}=dy(e);let D=r.call(e,n);D||(n=Ii(n),D=r.call(e,n)),S&&S.call(e,n);const x=e.delete(n);return D&&qf(e,"delete",n,void 0),x}function H3(){const n=Ii(this),e=n.size!==0,r=n.clear();return e&&qf(n,"clear",void 0,void 0),r}function rv(n,e){return function(S,D){const x=this,o=x.__v_raw,t=Ii(o),d=e?Jx:n?t2:vm;return!n&&ql(t,"iterate",Td),o.forEach((g,i)=>S.call(D,d(g),d(i),x))}}function iv(n,e,r){return function(...S){const D=this.__v_raw,x=Ii(D),o=Lp(x),t=n==="entries"||n===Symbol.iterator&&o,d=n==="keys"&&o,g=D[n](...S),i=r?Jx:e?t2:vm;return!e&&ql(x,"iterate",d?Nb:Td),{next(){const{value:M,done:v}=g.next();return v?{value:M,done:v}:{value:t?[i(M[0]),i(M[1])]:i(M),done:v}},[Symbol.iterator](){return this}}}}function _h(n){return function(...e){return n==="delete"?!1:this}}function TE(){const n={get(x){return ev(this,x)},get size(){return nv(this)},has:tv,add:V3,set:j3,delete:U3,clear:H3,forEach:rv(!1,!1)},e={get(x){return ev(this,x,!1,!0)},get size(){return nv(this)},has:tv,add:V3,set:j3,delete:U3,clear:H3,forEach:rv(!1,!0)},r={get(x){return ev(this,x,!0)},get size(){return nv(this,!0)},has(x){return tv.call(this,x,!0)},add:_h("add"),set:_h("set"),delete:_h("delete"),clear:_h("clear"),forEach:rv(!0,!1)},S={get(x){return ev(this,x,!0,!0)},get size(){return nv(this,!0)},has(x){return tv.call(this,x,!0)},add:_h("add"),set:_h("set"),delete:_h("delete"),clear:_h("clear"),forEach:rv(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(x=>{n[x]=iv(x,!1,!1),r[x]=iv(x,!0,!1),e[x]=iv(x,!1,!0),S[x]=iv(x,!0,!0)}),[n,r,e,S]}const[kE,ME,AE,SE]=TE();function Qx(n,e){const r=e?n?SE:AE:n?ME:kE;return(S,D,x)=>D==="__v_isReactive"?!n:D==="__v_isReadonly"?n:D==="__v_raw"?S:Reflect.get(xa(r,D)&&D in S?r:S,D,x)}const CE={get:Qx(!1,!1)},EE={get:Qx(!1,!0)},LE={get:Qx(!0,!1)},d4=new WeakMap,p4=new WeakMap,m4=new WeakMap,IE=new WeakMap;function OE(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function PE(n){return n.__v_skip||!Object.isExtensible(n)?0:OE(tE(n))}function Tl(n){return Bp(n)?n:e2(n,!1,h4,CE,d4)}function DE(n){return e2(n,!1,wE,EE,p4)}function Vm(n){return e2(n,!0,_E,LE,m4)}function e2(n,e,r,S,D){if(!lo(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const x=D.get(n);if(x)return x;const o=PE(n);if(o===0)return n;const t=new Proxy(n,o===2?S:r);return D.set(n,t),t}function Ih(n){return Bp(n)?Ih(n.__v_raw):!!(n&&n.__v_isReactive)}function Bp(n){return!!(n&&n.__v_isReadonly)}function Ov(n){return!!(n&&n.__v_isShallow)}function g4(n){return Ih(n)||Bp(n)}function Ii(n){const e=n&&n.__v_raw;return e?Ii(e):n}function Np(n){return Lv(n,"__v_skip",!0),n}const vm=n=>lo(n)?Tl(n):n,t2=n=>lo(n)?Vm(n):n;function v4(n){Lh&&kc&&(n=Ii(n),u4(n.dep||(n.dep=Zx())))}function y4(n,e){n=Ii(n);const r=n.dep;r&&Vb(r)}function to(n){return!!(n&&n.__v_isRef===!0)}function Gr(n){return b4(n,!1)}function Kr(n){return b4(n,!0)}function b4(n,e){return to(n)?n:new RE(n,e)}class RE{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:Ii(e),this._value=r?e:vm(e)}get value(){return v4(this),this._value}set value(e){const r=this.__v_isShallow||Ov(e)||Bp(e);e=r?e:Ii(e),gm(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:vm(e),y4(this))}}function gu(n){return to(n)?n.value:n}const zE={get:(n,e,r)=>gu(Reflect.get(n,e,r)),set:(n,e,r,S)=>{const D=n[e];return to(D)&&!to(r)?(D.value=r,!0):Reflect.set(n,e,r,S)}};function x4(n){return Ih(n)?n:new Proxy(n,zE)}function py(n){const e=xi(n)?new Array(n.length):{};for(const r in n)e[r]=Ir(n,r);return e}class FE{constructor(e,r,S){this._object=e,this._key=r,this._defaultValue=S,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return uE(Ii(this._object),this._key)}}function Ir(n,e,r){const S=n[e];return to(S)?S:new FE(n,e,r)}var _4;class BE{constructor(e,r,S,D){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[_4]=!1,this._dirty=!0,this.effect=new Xx(e,()=>{this._dirty||(this._dirty=!0,y4(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!D,this.__v_isReadonly=S}get value(){const e=Ii(this);return v4(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}_4="__v_isReadonly";function NE(n,e,r=!1){let S,D;const x=Vi(n);return x?(S=n,D=Lc):(S=n.get,D=n.set),new BE(S,D,x||!D,r)}function Oh(n,e,r,S){let D;try{D=S?n(...S):n()}catch(x){my(x,e,r)}return D}function qu(n,e,r,S){if(Vi(n)){const x=Oh(n,e,r,S);return x&&t4(x)&&x.catch(o=>{my(o,e,r)}),x}const D=[];for(let x=0;x>>1;bm(Qs[S])sf&&Qs.splice(e,1)}function HE(n){xi(n)?Ip.push(...n):(!Nf||!Nf.includes(n,n.allowRecurse?pd+1:pd))&&Ip.push(n),T4()}function G3(n,e=ym?sf+1:0){for(;ebm(r)-bm(S)),pd=0;pdn.id==null?1/0:n.id,GE=(n,e)=>{const r=bm(n)-bm(e);if(r===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return r};function M4(n){jb=!1,ym=!0,Qs.sort(GE);const e=Lc;try{for(sf=0;sfzo(p)?p.trim():p)),M&&(D=r.map(Fb))}let t,d=S[t=ib(e)]||S[t=ib(Zu(e))];!d&&x&&(d=S[t=ib(o0(e))]),d&&qu(d,n,6,D);const g=S[t+"Once"];if(g){if(!n.emitted)n.emitted={};else if(n.emitted[t])return;n.emitted[t]=!0,qu(g,n,6,D)}}function A4(n,e,r=!1){const S=e.emitsCache,D=S.get(n);if(D!==void 0)return D;const x=n.emits;let o={},t=!1;if(!Vi(n)){const d=g=>{const i=A4(g,e,!0);i&&(t=!0,Ss(o,i))};!r&&e.mixins.length&&e.mixins.forEach(d),n.extends&&d(n.extends),n.mixins&&n.mixins.forEach(d)}return!x&&!t?(lo(n)&&S.set(n,null),null):(xi(x)?x.forEach(d=>o[d]=null):Ss(o,x),lo(n)&&S.set(n,o),o)}function gy(n,e){return!n||!cy(e)?!1:(e=e.slice(2).replace(/Once$/,""),xa(n,e[0].toLowerCase()+e.slice(1))||xa(n,o0(e))||xa(n,e))}let Us=null,vy=null;function Pv(n){const e=Us;return Us=n,vy=n&&n.type.__scopeId||null,e}function jd(n){vy=n}function Ud(){vy=null}function Yr(n,e=Us,r){if(!e||n._n)return n;const S=(...D)=>{S._d&&t5(-1);const x=Pv(e);let o;try{o=n(...D)}finally{Pv(x),S._d&&t5(1)}return o};return S._n=!0,S._c=!0,S._d=!0,S}function ab(n){const{type:e,vnode:r,proxy:S,withProxy:D,props:x,propsOptions:[o],slots:t,attrs:d,emit:g,render:i,renderCache:M,data:v,setupState:p,ctx:u,inheritAttrs:a}=n;let c,s;const l=Pv(n);try{if(r.shapeFlag&4){const f=D||S;c=of(i.call(f,f,M,x,p,v,u)),s=d}else{const f=e;c=of(f.length>1?f(x,{attrs:d,slots:t,emit:g}):f(x,null)),s=e.props?d:qE(d)}}catch(f){sm.length=0,my(f,n,1),c=dt($u)}let h=c;if(s&&a!==!1){const f=Object.keys(s),{shapeFlag:m}=h;f.length&&m&7&&(o&&f.some(Wx)&&(s=$E(s,o)),h=$f(h,s))}return r.dirs&&(h=$f(h),h.dirs=h.dirs?h.dirs.concat(r.dirs):r.dirs),r.transition&&(h.transition=r.transition),c=h,Pv(l),c}const qE=n=>{let e;for(const r in n)(r==="class"||r==="style"||cy(r))&&((e||(e={}))[r]=n[r]);return e},$E=(n,e)=>{const r={};for(const S in n)(!Wx(S)||!(S.slice(9)in e))&&(r[S]=n[S]);return r};function YE(n,e,r){const{props:S,children:D,component:x}=n,{props:o,children:t,patchFlag:d}=e,g=x.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return S?W3(S,o,g):!!o;if(d&8){const i=e.dynamicProps;for(let M=0;Mn.__isSuspense;function KE(n,e){e&&e.pendingBranch?xi(n)?e.effects.push(...n):e.effects.push(n):HE(n)}function as(n,e){if(Xo){let r=Xo.provides;const S=Xo.parent&&Xo.parent.provides;S===r&&(r=Xo.provides=Object.create(S)),r[n]=e}}function Sa(n,e,r=!1){const S=Xo||Us;if(S){const D=S.parent==null?S.vnode.appContext&&S.vnode.appContext.provides:S.parent.provides;if(D&&n in D)return D[n];if(arguments.length>1)return r&&Vi(e)?e.call(S.proxy):e}}function wu(n,e){return i2(n,null,e)}const av={};function ei(n,e,r){return i2(n,e,r)}function i2(n,e,{immediate:r,deep:S,flush:D,onTrack:x,onTrigger:o}=so){const t=a4()===(Xo==null?void 0:Xo.scope)?Xo:null;let d,g=!1,i=!1;if(to(n)?(d=()=>n.value,g=Ov(n)):Ih(n)?(d=()=>n,S=!0):xi(n)?(i=!0,g=n.some(h=>Ih(h)||Ov(h)),d=()=>n.map(h=>{if(to(h))return h.value;if(Ih(h))return vd(h);if(Vi(h))return Oh(h,t,2)})):Vi(n)?e?d=()=>Oh(n,t,2):d=()=>{if(!(t&&t.isUnmounted))return M&&M(),qu(n,t,3,[v])}:d=Lc,e&&S){const h=d;d=()=>vd(h())}let M,v=h=>{M=s.onStop=()=>{Oh(h,t,4)}},p;if(Tm)if(v=Lc,e?r&&qu(e,t,3,[d(),i?[]:void 0,v]):d(),D==="sync"){const h=j7();p=h.__watcherHandles||(h.__watcherHandles=[])}else return Lc;let u=i?new Array(n.length).fill(av):av;const a=()=>{if(s.active)if(e){const h=s.run();(S||g||(i?h.some((f,m)=>gm(f,u[m])):gm(h,u)))&&(M&&M(),qu(e,t,3,[h,u===av?void 0:i&&u[0]===av?[]:u,v]),u=h)}else s.run()};a.allowRecurse=!!e;let c;D==="sync"?c=a:D==="post"?c=()=>Ul(a,t&&t.suspense):(a.pre=!0,t&&(a.id=t.uid),c=()=>r2(a));const s=new Xx(d,c);e?r?a():u=s.run():D==="post"?Ul(s.run.bind(s),t&&t.suspense):s.run();const l=()=>{s.stop(),t&&t.scope&&qx(t.scope.effects,s)};return p&&p.push(l),l}function JE(n,e,r){const S=this.proxy,D=zo(n)?n.includes(".")?S4(S,n):()=>S[n]:n.bind(S,S);let x;Vi(e)?x=e:(x=e.handler,r=e);const o=Xo;Vp(this);const t=i2(D,x.bind(S),r);return o?Vp(o):kd(),t}function S4(n,e){const r=e.split(".");return()=>{let S=n;for(let D=0;D{vd(r,e)});else if(r4(n))for(const r in n)vd(n[r],e);return n}function C4(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return nl(()=>{n.isMounted=!0}),Sl(()=>{n.isUnmounting=!0}),n}const Hu=[Function,Array],QE={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Hu,onEnter:Hu,onAfterEnter:Hu,onEnterCancelled:Hu,onBeforeLeave:Hu,onLeave:Hu,onAfterLeave:Hu,onLeaveCancelled:Hu,onBeforeAppear:Hu,onAppear:Hu,onAfterAppear:Hu,onAppearCancelled:Hu},setup(n,{slots:e}){const r=wy(),S=C4();let D;return()=>{const x=e.default&&a2(e.default(),!0);if(!x||!x.length)return;let o=x[0];if(x.length>1){for(const a of x)if(a.type!==$u){o=a;break}}const t=Ii(n),{mode:d}=t;if(S.isLeaving)return ob(o);const g=q3(o);if(!g)return ob(o);const i=xm(g,t,S,r);_m(g,i);const M=r.subTree,v=M&&q3(M);let p=!1;const{getTransitionKey:u}=g.type;if(u){const a=u();D===void 0?D=a:a!==D&&(D=a,p=!0)}if(v&&v.type!==$u&&(!md(g,v)||p)){const a=xm(v,t,S,r);if(_m(v,a),d==="out-in")return S.isLeaving=!0,a.afterLeave=()=>{S.isLeaving=!1,r.update.active!==!1&&r.update()},ob(o);d==="in-out"&&g.type!==$u&&(a.delayLeave=(c,s,l)=>{const h=L4(S,v);h[String(v.key)]=v,c._leaveCb=()=>{s(),c._leaveCb=void 0,delete i.delayedLeave},i.delayedLeave=l})}return o}}},E4=QE;function L4(n,e){const{leavingVNodes:r}=n;let S=r.get(e.type);return S||(S=Object.create(null),r.set(e.type,S)),S}function xm(n,e,r,S){const{appear:D,mode:x,persisted:o=!1,onBeforeEnter:t,onEnter:d,onAfterEnter:g,onEnterCancelled:i,onBeforeLeave:M,onLeave:v,onAfterLeave:p,onLeaveCancelled:u,onBeforeAppear:a,onAppear:c,onAfterAppear:s,onAppearCancelled:l}=e,h=String(n.key),f=L4(r,n),m=(C,w)=>{C&&qu(C,S,9,w)},_=(C,w)=>{const k=w[1];m(C,w),xi(C)?C.every(E=>E.length<=1)&&k():C.length<=1&&k()},y={mode:x,persisted:o,beforeEnter(C){let w=t;if(!r.isMounted)if(D)w=a||t;else return;C._leaveCb&&C._leaveCb(!0);const k=f[h];k&&md(n,k)&&k.el._leaveCb&&k.el._leaveCb(),m(w,[C])},enter(C){let w=d,k=g,E=i;if(!r.isMounted)if(D)w=c||d,k=s||g,E=l||i;else return;let T=!1;const A=C._enterCb=L=>{T||(T=!0,L?m(E,[C]):m(k,[C]),y.delayedLeave&&y.delayedLeave(),C._enterCb=void 0)};w?_(w,[C,A]):A()},leave(C,w){const k=String(n.key);if(C._enterCb&&C._enterCb(!0),r.isUnmounting)return w();m(M,[C]);let E=!1;const T=C._leaveCb=A=>{E||(E=!0,w(),A?m(u,[C]):m(p,[C]),C._leaveCb=void 0,f[k]===n&&delete f[k])};f[k]=n,v?_(v,[C,T]):T()},clone(C){return xm(C,e,r,S)}};return y}function ob(n){if(yy(n))return n=$f(n),n.children=null,n}function q3(n){return yy(n)?n.children?n.children[0]:void 0:n}function _m(n,e){n.shapeFlag&6&&n.component?_m(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function a2(n,e=!1,r){let S=[],D=0;for(let x=0;x1)for(let x=0;x!!n.type.__asyncLoader,yy=n=>n.type.__isKeepAlive;function I4(n,e){P4(n,"a",e)}function O4(n,e){P4(n,"da",e)}function P4(n,e,r=Xo){const S=n.__wdc||(n.__wdc=()=>{let D=r;for(;D;){if(D.isDeactivated)return;D=D.parent}return n()});if(by(e,S,r),r){let D=r.parent;for(;D&&D.parent;)yy(D.parent.vnode)&&e7(S,e,r,D),D=D.parent}}function e7(n,e,r,S){const D=by(e,n,S,!0);z4(()=>{qx(S[e],D)},r)}function by(n,e,r=Xo,S=!1){if(r){const D=r[n]||(r[n]=[]),x=e.__weh||(e.__weh=(...o)=>{if(r.isUnmounted)return;s0(),Vp(r);const t=qu(e,r,n,o);return kd(),l0(),t});return S?D.unshift(x):D.push(x),x}}const Qf=n=>(e,r=Xo)=>(!Tm||n==="sp")&&by(n,(...S)=>e(...S),r),xy=Qf("bm"),nl=Qf("m"),D4=Qf("bu"),R4=Qf("u"),Sl=Qf("bum"),z4=Qf("um"),t7=Qf("sp"),n7=Qf("rtg"),r7=Qf("rtc");function i7(n,e=Xo){by("ec",n,e)}function Lo(n,e){const r=Us;if(r===null)return n;const S=Ty(r)||r.proxy,D=n.dirs||(n.dirs=[]);for(let x=0;xe(o,t,void 0,x&&x[t]));else{const o=Object.keys(n);D=new Array(o.length);for(let t=0,d=o.length;tRv(e)?!(e.type===$u||e.type===Xr&&!B4(e.children)):!0)?n:null}const Ub=n=>n?Z4(n)?Ty(n)||n.proxy:Ub(n.parent):null,am=Ss(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>Ub(n.parent),$root:n=>Ub(n.root),$emit:n=>n.emit,$options:n=>l2(n),$forceUpdate:n=>n.f||(n.f=()=>r2(n.update)),$nextTick:n=>n.n||(n.n=qa.bind(n.proxy)),$watch:n=>JE.bind(n)}),lb=(n,e)=>n!==so&&!n.__isScriptSetup&&xa(n,e),s7={get({_:n},e){const{ctx:r,setupState:S,data:D,props:x,accessCache:o,type:t,appContext:d}=n;let g;if(e[0]!=="$"){const p=o[e];if(p!==void 0)switch(p){case 1:return S[e];case 2:return D[e];case 4:return r[e];case 3:return x[e]}else{if(lb(S,e))return o[e]=1,S[e];if(D!==so&&xa(D,e))return o[e]=2,D[e];if((g=n.propsOptions[0])&&xa(g,e))return o[e]=3,x[e];if(r!==so&&xa(r,e))return o[e]=4,r[e];Hb&&(o[e]=0)}}const i=am[e];let M,v;if(i)return e==="$attrs"&&ql(n,"get",e),i(n);if((M=t.__cssModules)&&(M=M[e]))return M;if(r!==so&&xa(r,e))return o[e]=4,r[e];if(v=d.config.globalProperties,xa(v,e))return v[e]},set({_:n},e,r){const{data:S,setupState:D,ctx:x}=n;return lb(D,e)?(D[e]=r,!0):S!==so&&xa(S,e)?(S[e]=r,!0):xa(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(x[e]=r,!0)},has({_:{data:n,setupState:e,accessCache:r,ctx:S,appContext:D,propsOptions:x}},o){let t;return!!r[o]||n!==so&&xa(n,o)||lb(e,o)||(t=x[0])&&xa(t,o)||xa(S,o)||xa(am,o)||xa(D.config.globalProperties,o)},defineProperty(n,e,r){return r.get!=null?n._.accessCache[e]=0:xa(r,"value")&&this.set(n,e,r.value,null),Reflect.defineProperty(n,e,r)}};let Hb=!0;function l7(n){const e=l2(n),r=n.proxy,S=n.ctx;Hb=!1,e.beforeCreate&&Y3(e.beforeCreate,n,"bc");const{data:D,computed:x,methods:o,watch:t,provide:d,inject:g,created:i,beforeMount:M,mounted:v,beforeUpdate:p,updated:u,activated:a,deactivated:c,beforeDestroy:s,beforeUnmount:l,destroyed:h,unmounted:f,render:m,renderTracked:_,renderTriggered:y,errorCaptured:C,serverPrefetch:w,expose:k,inheritAttrs:E,components:T,directives:A,filters:L}=e;if(g&&u7(g,S,null,n.appContext.config.unwrapInjectedRef),o)for(const I in o){const R=o[I];Vi(R)&&(S[I]=R.bind(r))}if(D){const I=D.call(r,r);lo(I)&&(n.data=Tl(I))}if(Hb=!0,x)for(const I in x){const R=x[I],z=Vi(R)?R.bind(r,r):Vi(R.get)?R.get.bind(r,r):Lc,F=!Vi(R)&&Vi(R.set)?R.set.bind(r):Lc,B=cn({get:z,set:F});Object.defineProperty(S,I,{enumerable:!0,configurable:!0,get:()=>B.value,set:N=>B.value=N})}if(t)for(const I in t)N4(t[I],S,r,I);if(d){const I=Vi(d)?d.call(r):d;Reflect.ownKeys(I).forEach(R=>{as(R,I[R])})}i&&Y3(i,n,"c");function O(I,R){xi(R)?R.forEach(z=>I(z.bind(r))):R&&I(R.bind(r))}if(O(xy,M),O(nl,v),O(D4,p),O(R4,u),O(I4,a),O(O4,c),O(i7,C),O(r7,_),O(n7,y),O(Sl,l),O(z4,f),O(t7,w),xi(k))if(k.length){const I=n.exposed||(n.exposed={});k.forEach(R=>{Object.defineProperty(I,R,{get:()=>r[R],set:z=>r[R]=z})})}else n.exposed||(n.exposed={});m&&n.render===Lc&&(n.render=m),E!=null&&(n.inheritAttrs=E),T&&(n.components=T),A&&(n.directives=A)}function u7(n,e,r=Lc,S=!1){xi(n)&&(n=Gb(n));for(const D in n){const x=n[D];let o;lo(x)?"default"in x?o=Sa(x.from||D,x.default,!0):o=Sa(x.from||D):o=Sa(x),to(o)&&S?Object.defineProperty(e,D,{enumerable:!0,configurable:!0,get:()=>o.value,set:t=>o.value=t}):e[D]=o}}function Y3(n,e,r){qu(xi(n)?n.map(S=>S.bind(e.proxy)):n.bind(e.proxy),e,r)}function N4(n,e,r,S){const D=S.includes(".")?S4(r,S):()=>r[S];if(zo(n)){const x=e[n];Vi(x)&&ei(D,x)}else if(Vi(n))ei(D,n.bind(r));else if(lo(n))if(xi(n))n.forEach(x=>N4(x,e,r,S));else{const x=Vi(n.handler)?n.handler.bind(r):e[n.handler];Vi(x)&&ei(D,x,n)}}function l2(n){const e=n.type,{mixins:r,extends:S}=e,{mixins:D,optionsCache:x,config:{optionMergeStrategies:o}}=n.appContext,t=x.get(e);let d;return t?d=t:!D.length&&!r&&!S?d=e:(d={},D.length&&D.forEach(g=>Dv(d,g,o,!0)),Dv(d,e,o)),lo(e)&&x.set(e,d),d}function Dv(n,e,r,S=!1){const{mixins:D,extends:x}=e;x&&Dv(n,x,r,!0),D&&D.forEach(o=>Dv(n,o,r,!0));for(const o in e)if(!(S&&o==="expose")){const t=c7[o]||r&&r[o];n[o]=t?t(n[o],e[o]):e[o]}return n}const c7={data:Z3,props:dd,emits:dd,methods:dd,computed:dd,beforeCreate:xl,created:xl,beforeMount:xl,mounted:xl,beforeUpdate:xl,updated:xl,beforeDestroy:xl,beforeUnmount:xl,destroyed:xl,unmounted:xl,activated:xl,deactivated:xl,errorCaptured:xl,serverPrefetch:xl,components:dd,directives:dd,watch:h7,provide:Z3,inject:f7};function Z3(n,e){return e?n?function(){return Ss(Vi(n)?n.call(this,this):n,Vi(e)?e.call(this,this):e)}:e:n}function f7(n,e){return dd(Gb(n),Gb(e))}function Gb(n){if(xi(n)){const e={};for(let r=0;r0)&&!(o&16)){if(o&8){const i=n.vnode.dynamicProps;for(let M=0;M{d=!0;const[v,p]=j4(M,e,!0);Ss(o,v),p&&t.push(...p)};!r&&e.mixins.length&&e.mixins.forEach(i),n.extends&&i(n.extends),n.mixins&&n.mixins.forEach(i)}if(!x&&!d)return lo(n)&&S.set(n,Ep),Ep;if(xi(x))for(let i=0;i-1,p[1]=a<0||u-1||xa(p,"default"))&&t.push(M)}}}const g=[o,t];return lo(n)&&S.set(n,g),g}function X3(n){return n[0]!=="$"}function K3(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function J3(n,e){return K3(n)===K3(e)}function Q3(n,e){return xi(e)?e.findIndex(r=>J3(r,n)):Vi(e)&&J3(e,n)?0:-1}const U4=n=>n[0]==="_"||n==="$stable",u2=n=>xi(n)?n.map(of):[of(n)],m7=(n,e,r)=>{if(e._n)return e;const S=Yr((...D)=>u2(e(...D)),r);return S._c=!1,S},H4=(n,e,r)=>{const S=n._ctx;for(const D in n){if(U4(D))continue;const x=n[D];if(Vi(x))e[D]=m7(D,x,S);else if(x!=null){const o=u2(x);e[D]=()=>o}}},G4=(n,e)=>{const r=u2(e);n.slots.default=()=>r},g7=(n,e)=>{if(n.vnode.shapeFlag&32){const r=e._;r?(n.slots=Ii(e),Lv(e,"_",r)):H4(e,n.slots={})}else n.slots={},e&&G4(n,e);Lv(n.slots,_y,1)},v7=(n,e,r)=>{const{vnode:S,slots:D}=n;let x=!0,o=so;if(S.shapeFlag&32){const t=e._;t?r&&t===1?x=!1:(Ss(D,e),!r&&t===1&&delete D._):(x=!e.$stable,H4(e,D)),o=e}else e&&(G4(n,e),o={default:1});if(x)for(const t in D)!U4(t)&&!(t in o)&&delete D[t]};function W4(){return{app:null,config:{isNativeTag:JC,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let y7=0;function b7(n,e){return function(S,D=null){Vi(S)||(S=Object.assign({},S)),D!=null&&!lo(D)&&(D=null);const x=W4(),o=new Set;let t=!1;const d=x.app={_uid:y7++,_component:S,_props:D,_container:null,_context:x,_instance:null,version:U7,get config(){return x.config},set config(g){},use(g,...i){return o.has(g)||(g&&Vi(g.install)?(o.add(g),g.install(d,...i)):Vi(g)&&(o.add(g),g(d,...i))),d},mixin(g){return x.mixins.includes(g)||x.mixins.push(g),d},component(g,i){return i?(x.components[g]=i,d):x.components[g]},directive(g,i){return i?(x.directives[g]=i,d):x.directives[g]},mount(g,i,M){if(!t){const v=dt(S,D);return v.appContext=x,i&&e?e(v,g):n(v,g,M),t=!0,d._container=g,g.__vue_app__=d,Ty(v.component)||v.component.proxy}},unmount(){t&&(n(null,d._container),delete d._container.__vue_app__)},provide(g,i){return x.provides[g]=i,d}};return d}}function qb(n,e,r,S,D=!1){if(xi(n)){n.forEach((v,p)=>qb(v,e&&(xi(e)?e[p]:e),r,S,D));return}if(im(S)&&!D)return;const x=S.shapeFlag&4?Ty(S.component)||S.component.proxy:S.el,o=D?null:x,{i:t,r:d}=n,g=e&&e.r,i=t.refs===so?t.refs={}:t.refs,M=t.setupState;if(g!=null&&g!==d&&(zo(g)?(i[g]=null,xa(M,g)&&(M[g]=null)):to(g)&&(g.value=null)),Vi(d))Oh(d,t,12,[o,i]);else{const v=zo(d),p=to(d);if(v||p){const u=()=>{if(n.f){const a=v?xa(M,d)?M[d]:i[d]:d.value;D?xi(a)&&qx(a,x):xi(a)?a.includes(x)||a.push(x):v?(i[d]=[x],xa(M,d)&&(M[d]=i[d])):(d.value=[x],n.k&&(i[n.k]=d.value))}else v?(i[d]=o,xa(M,d)&&(M[d]=o)):p&&(d.value=o,n.k&&(i[n.k]=o))};o?(u.id=-1,Ul(u,r)):u()}}}const Ul=KE;function x7(n){return _7(n)}function _7(n,e){const r=aE();r.__VUE__=!0;const{insert:S,remove:D,patchProp:x,createElement:o,createText:t,createComment:d,setText:g,setElementText:i,parentNode:M,nextSibling:v,setScopeId:p=Lc,insertStaticContent:u}=n,a=(Z,X,Q,re=null,ie=null,oe=null,ue=!1,ce=null,ye=!!X.dynamicChildren)=>{if(Z===X)return;Z&&!md(Z,X)&&(re=G(Z),N(Z,ie,oe,!0),Z=null),X.patchFlag===-2&&(ye=!1,X.dynamicChildren=null);const{type:de,ref:me,shapeFlag:pe}=X;switch(de){case jm:c(Z,X,Q,re);break;case $u:s(Z,X,Q,re);break;case bv:Z==null&&l(X,Q,re,ue);break;case Xr:T(Z,X,Q,re,ie,oe,ue,ce,ye);break;default:pe&1?m(Z,X,Q,re,ie,oe,ue,ce,ye):pe&6?A(Z,X,Q,re,ie,oe,ue,ce,ye):(pe&64||pe&128)&&de.process(Z,X,Q,re,ie,oe,ue,ce,ye,H)}me!=null&&ie&&qb(me,Z&&Z.ref,oe,X||Z,!X)},c=(Z,X,Q,re)=>{if(Z==null)S(X.el=t(X.children),Q,re);else{const ie=X.el=Z.el;X.children!==Z.children&&g(ie,X.children)}},s=(Z,X,Q,re)=>{Z==null?S(X.el=d(X.children||""),Q,re):X.el=Z.el},l=(Z,X,Q,re)=>{[Z.el,Z.anchor]=u(Z.children,X,Q,re,Z.el,Z.anchor)},h=({el:Z,anchor:X},Q,re)=>{let ie;for(;Z&&Z!==X;)ie=v(Z),S(Z,Q,re),Z=ie;S(X,Q,re)},f=({el:Z,anchor:X})=>{let Q;for(;Z&&Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},m=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{ue=ue||X.type==="svg",Z==null?_(X,Q,re,ie,oe,ue,ce,ye):w(Z,X,ie,oe,ue,ce,ye)},_=(Z,X,Q,re,ie,oe,ue,ce)=>{let ye,de;const{type:me,props:pe,shapeFlag:xe,transition:Pe,dirs:_e}=Z;if(ye=Z.el=o(Z.type,oe,pe&&pe.is,pe),xe&8?i(ye,Z.children):xe&16&&C(Z.children,ye,null,re,ie,oe&&me!=="foreignObject",ue,ce),_e&&sd(Z,null,re,"created"),y(ye,Z,Z.scopeId,ue,re),pe){for(const Se in pe)Se!=="value"&&!vv(Se)&&x(ye,Se,null,pe[Se],oe,Z.children,re,ie,U);"value"in pe&&x(ye,"value",null,pe.value),(de=pe.onVnodeBeforeMount)&&nf(de,re,Z)}_e&&sd(Z,null,re,"beforeMount");const Me=(!ie||ie&&!ie.pendingBranch)&&Pe&&!Pe.persisted;Me&&Pe.beforeEnter(ye),S(ye,X,Q),((de=pe&&pe.onVnodeMounted)||Me||_e)&&Ul(()=>{de&&nf(de,re,Z),Me&&Pe.enter(ye),_e&&sd(Z,null,re,"mounted")},ie)},y=(Z,X,Q,re,ie)=>{if(Q&&p(Z,Q),re)for(let oe=0;oe{for(let de=ye;de{const ce=X.el=Z.el;let{patchFlag:ye,dynamicChildren:de,dirs:me}=X;ye|=Z.patchFlag&16;const pe=Z.props||so,xe=X.props||so;let Pe;Q&&ld(Q,!1),(Pe=xe.onVnodeBeforeUpdate)&&nf(Pe,Q,X,Z),me&&sd(X,Z,Q,"beforeUpdate"),Q&&ld(Q,!0);const _e=ie&&X.type!=="foreignObject";if(de?k(Z.dynamicChildren,de,ce,Q,re,_e,oe):ue||R(Z,X,ce,null,Q,re,_e,oe,!1),ye>0){if(ye&16)E(ce,X,pe,xe,Q,re,ie);else if(ye&2&&pe.class!==xe.class&&x(ce,"class",null,xe.class,ie),ye&4&&x(ce,"style",pe.style,xe.style,ie),ye&8){const Me=X.dynamicProps;for(let Se=0;Se{Pe&&nf(Pe,Q,X,Z),me&&sd(X,Z,Q,"updated")},re)},k=(Z,X,Q,re,ie,oe,ue)=>{for(let ce=0;ce{if(Q!==re){if(Q!==so)for(const ce in Q)!vv(ce)&&!(ce in re)&&x(Z,ce,Q[ce],null,ue,X.children,ie,oe,U);for(const ce in re){if(vv(ce))continue;const ye=re[ce],de=Q[ce];ye!==de&&ce!=="value"&&x(Z,ce,de,ye,ue,X.children,ie,oe,U)}"value"in re&&x(Z,"value",Q.value,re.value)}},T=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{const de=X.el=Z?Z.el:t(""),me=X.anchor=Z?Z.anchor:t("");let{patchFlag:pe,dynamicChildren:xe,slotScopeIds:Pe}=X;Pe&&(ce=ce?ce.concat(Pe):Pe),Z==null?(S(de,Q,re),S(me,Q,re),C(X.children,Q,me,ie,oe,ue,ce,ye)):pe>0&&pe&64&&xe&&Z.dynamicChildren?(k(Z.dynamicChildren,xe,Q,ie,oe,ue,ce),(X.key!=null||ie&&X===ie.subTree)&&c2(Z,X,!0)):R(Z,X,Q,me,ie,oe,ue,ce,ye)},A=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{X.slotScopeIds=ce,Z==null?X.shapeFlag&512?ie.ctx.activate(X,Q,re,ue,ye):L(X,Q,re,ie,oe,ue,ye):b(Z,X,ye)},L=(Z,X,Q,re,ie,oe,ue)=>{const ce=Z.component=P7(Z,re,ie);if(yy(Z)&&(ce.ctx.renderer=H),D7(ce),ce.asyncDep){if(ie&&ie.registerDep(ce,O),!Z.el){const ye=ce.subTree=dt($u);s(null,ye,X,Q)}return}O(ce,Z,X,Q,ie,oe,ue)},b=(Z,X,Q)=>{const re=X.component=Z.component;if(YE(Z,X,Q))if(re.asyncDep&&!re.asyncResolved){I(re,X,Q);return}else re.next=X,UE(re.update),re.update();else X.el=Z.el,re.vnode=X},O=(Z,X,Q,re,ie,oe,ue)=>{const ce=()=>{if(Z.isMounted){let{next:me,bu:pe,u:xe,parent:Pe,vnode:_e}=Z,Me=me,Se;ld(Z,!1),me?(me.el=_e.el,I(Z,me,ue)):me=_e,pe&&yv(pe),(Se=me.props&&me.props.onVnodeBeforeUpdate)&&nf(Se,Pe,me,_e),ld(Z,!0);const Ce=ab(Z),ae=Z.subTree;Z.subTree=Ce,a(ae,Ce,M(ae.el),G(ae),Z,ie,oe),me.el=Ce.el,Me===null&&ZE(Z,Ce.el),xe&&Ul(xe,ie),(Se=me.props&&me.props.onVnodeUpdated)&&Ul(()=>nf(Se,Pe,me,_e),ie)}else{let me;const{el:pe,props:xe}=X,{bm:Pe,m:_e,parent:Me}=Z,Se=im(X);if(ld(Z,!1),Pe&&yv(Pe),!Se&&(me=xe&&xe.onVnodeBeforeMount)&&nf(me,Me,X),ld(Z,!0),pe&&te){const Ce=()=>{Z.subTree=ab(Z),te(pe,Z.subTree,Z,ie,null)};Se?X.type.__asyncLoader().then(()=>!Z.isUnmounted&&Ce()):Ce()}else{const Ce=Z.subTree=ab(Z);a(null,Ce,Q,re,Z,ie,oe),X.el=Ce.el}if(_e&&Ul(_e,ie),!Se&&(me=xe&&xe.onVnodeMounted)){const Ce=X;Ul(()=>nf(me,Me,Ce),ie)}(X.shapeFlag&256||Me&&im(Me.vnode)&&Me.vnode.shapeFlag&256)&&Z.a&&Ul(Z.a,ie),Z.isMounted=!0,X=Q=re=null}},ye=Z.effect=new Xx(ce,()=>r2(de),Z.scope),de=Z.update=()=>ye.run();de.id=Z.uid,ld(Z,!0),de()},I=(Z,X,Q)=>{X.component=Z;const re=Z.vnode.props;Z.vnode=X,Z.next=null,p7(Z,X.props,re,Q),v7(Z,X.children,Q),s0(),G3(),l0()},R=(Z,X,Q,re,ie,oe,ue,ce,ye=!1)=>{const de=Z&&Z.children,me=Z?Z.shapeFlag:0,pe=X.children,{patchFlag:xe,shapeFlag:Pe}=X;if(xe>0){if(xe&128){F(de,pe,Q,re,ie,oe,ue,ce,ye);return}else if(xe&256){z(de,pe,Q,re,ie,oe,ue,ce,ye);return}}Pe&8?(me&16&&U(de,ie,oe),pe!==de&&i(Q,pe)):me&16?Pe&16?F(de,pe,Q,re,ie,oe,ue,ce,ye):U(de,ie,oe,!0):(me&8&&i(Q,""),Pe&16&&C(pe,Q,re,ie,oe,ue,ce,ye))},z=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{Z=Z||Ep,X=X||Ep;const de=Z.length,me=X.length,pe=Math.min(de,me);let xe;for(xe=0;xeme?U(Z,ie,oe,!0,!1,pe):C(X,Q,re,ie,oe,ue,ce,ye,pe)},F=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{let de=0;const me=X.length;let pe=Z.length-1,xe=me-1;for(;de<=pe&&de<=xe;){const Pe=Z[de],_e=X[de]=ye?Sh(X[de]):of(X[de]);if(md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;de++}for(;de<=pe&&de<=xe;){const Pe=Z[pe],_e=X[xe]=ye?Sh(X[xe]):of(X[xe]);if(md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;pe--,xe--}if(de>pe){if(de<=xe){const Pe=xe+1,_e=Pexe)for(;de<=pe;)N(Z[de],ie,oe,!0),de++;else{const Pe=de,_e=de,Me=new Map;for(de=_e;de<=xe;de++){const Be=X[de]=ye?Sh(X[de]):of(X[de]);Be.key!=null&&Me.set(Be.key,de)}let Se,Ce=0;const ae=xe-_e+1;let he=!1,be=0;const ke=new Array(ae);for(de=0;de=ae){N(Be,ie,oe,!0);continue}let ze;if(Be.key!=null)ze=Me.get(Be.key);else for(Se=_e;Se<=xe;Se++)if(ke[Se-_e]===0&&md(Be,X[Se])){ze=Se;break}ze===void 0?N(Be,ie,oe,!0):(ke[ze-_e]=de+1,ze>=be?be=ze:he=!0,a(Be,X[ze],Q,null,ie,oe,ue,ce,ye),Ce++)}const Le=he?w7(ke):Ep;for(Se=Le.length-1,de=ae-1;de>=0;de--){const Be=_e+de,ze=X[Be],je=Be+1{const{el:oe,type:ue,transition:ce,children:ye,shapeFlag:de}=Z;if(de&6){B(Z.component.subTree,X,Q,re);return}if(de&128){Z.suspense.move(X,Q,re);return}if(de&64){ue.move(Z,X,Q,H);return}if(ue===Xr){S(oe,X,Q);for(let pe=0;pece.enter(oe),ie);else{const{leave:pe,delayLeave:xe,afterLeave:Pe}=ce,_e=()=>S(oe,X,Q),Me=()=>{pe(oe,()=>{_e(),Pe&&Pe()})};xe?xe(oe,_e,Me):Me()}else S(oe,X,Q)},N=(Z,X,Q,re=!1,ie=!1)=>{const{type:oe,props:ue,ref:ce,children:ye,dynamicChildren:de,shapeFlag:me,patchFlag:pe,dirs:xe}=Z;if(ce!=null&&qb(ce,null,Q,Z,!0),me&256){X.ctx.deactivate(Z);return}const Pe=me&1&&xe,_e=!im(Z);let Me;if(_e&&(Me=ue&&ue.onVnodeBeforeUnmount)&&nf(Me,X,Z),me&6)Y(Z.component,Q,re);else{if(me&128){Z.suspense.unmount(Q,re);return}Pe&&sd(Z,null,X,"beforeUnmount"),me&64?Z.type.remove(Z,X,Q,ie,H,re):de&&(oe!==Xr||pe>0&&pe&64)?U(de,X,Q,!1,!0):(oe===Xr&&pe&384||!ie&&me&16)&&U(ye,X,Q),re&&q(Z)}(_e&&(Me=ue&&ue.onVnodeUnmounted)||Pe)&&Ul(()=>{Me&&nf(Me,X,Z),Pe&&sd(Z,null,X,"unmounted")},Q)},q=Z=>{const{type:X,el:Q,anchor:re,transition:ie}=Z;if(X===Xr){j(Q,re);return}if(X===bv){f(Z);return}const oe=()=>{D(Q),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(Z.shapeFlag&1&&ie&&!ie.persisted){const{leave:ue,delayLeave:ce}=ie,ye=()=>ue(Q,oe);ce?ce(Z.el,oe,ye):ye()}else oe()},j=(Z,X)=>{let Q;for(;Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},Y=(Z,X,Q)=>{const{bum:re,scope:ie,update:oe,subTree:ue,um:ce}=Z;re&&yv(re),ie.stop(),oe&&(oe.active=!1,N(ue,Z,X,Q)),ce&&Ul(ce,X),Ul(()=>{Z.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&Z.asyncDep&&!Z.asyncResolved&&Z.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},U=(Z,X,Q,re=!1,ie=!1,oe=0)=>{for(let ue=oe;ueZ.shapeFlag&6?G(Z.component.subTree):Z.shapeFlag&128?Z.suspense.next():v(Z.anchor||Z.el),W=(Z,X,Q)=>{Z==null?X._vnode&&N(X._vnode,null,null,!0):a(X._vnode||null,Z,X,null,null,null,Q),G3(),k4(),X._vnode=Z},H={p:a,um:N,m:B,r:q,mt:L,mc:C,pc:R,pbc:k,n:G,o:n};let ne,te;return e&&([ne,te]=e(H)),{render:W,hydrate:ne,createApp:b7(W,ne)}}function ld({effect:n,update:e},r){n.allowRecurse=e.allowRecurse=r}function c2(n,e,r=!1){const S=n.children,D=e.children;if(xi(S)&&xi(D))for(let x=0;x>1,n[r[t]]0&&(e[S]=r[x-1]),r[x]=S)}}for(x=r.length,o=r[x-1];x-- >0;)r[x]=o,o=e[o];return r}const T7=n=>n.__isTeleport,om=n=>n&&(n.disabled||n.disabled===""),e5=n=>typeof SVGElement<"u"&&n instanceof SVGElement,$b=(n,e)=>{const r=n&&n.to;return zo(r)?e?e(r):null:r},k7={__isTeleport:!0,process(n,e,r,S,D,x,o,t,d,g){const{mc:i,pc:M,pbc:v,o:{insert:p,querySelector:u,createText:a,createComment:c}}=g,s=om(e.props);let{shapeFlag:l,children:h,dynamicChildren:f}=e;if(n==null){const m=e.el=a(""),_=e.anchor=a("");p(m,r,S),p(_,r,S);const y=e.target=$b(e.props,u),C=e.targetAnchor=a("");y&&(p(C,y),o=o||e5(y));const w=(k,E)=>{l&16&&i(h,k,E,D,x,o,t,d)};s?w(r,_):y&&w(y,C)}else{e.el=n.el;const m=e.anchor=n.anchor,_=e.target=n.target,y=e.targetAnchor=n.targetAnchor,C=om(n.props),w=C?r:_,k=C?m:y;if(o=o||e5(_),f?(v(n.dynamicChildren,f,w,D,x,o,t),c2(n,e,!0)):d||M(n,e,w,k,D,x,o,t,!1),s)C||ov(e,r,m,g,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const E=e.target=$b(e.props,u);E&&ov(e,E,null,g,0)}else C&&ov(e,_,y,g,1)}q4(e)},remove(n,e,r,S,{um:D,o:{remove:x}},o){const{shapeFlag:t,children:d,anchor:g,targetAnchor:i,target:M,props:v}=n;if(M&&x(i),(o||!om(v))&&(x(g),t&16))for(let p=0;p0?Ac||Ep:null,S7(),wm>0&&Ac&&Ac.push(n),n}function ai(n,e,r,S,D,x){return $4(Nr(n,e,r,S,D,x,!0))}function Aa(n,e,r,S,D){return $4(dt(n,e,r,S,D,!0))}function Rv(n){return n?n.__v_isVNode===!0:!1}function md(n,e){return n.type===e.type&&n.key===e.key}const _y="__vInternal",Y4=({key:n})=>n??null,xv=({ref:n,ref_key:e,ref_for:r})=>n!=null?zo(n)||to(n)||Vi(n)?{i:Us,r:n,k:e,f:!!r}:n:null;function Nr(n,e=null,r=null,S=0,D=null,x=n===Xr?0:1,o=!1,t=!1){const d={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&Y4(e),ref:e&&xv(e),scopeId:vy,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:x,patchFlag:S,dynamicProps:D,dynamicChildren:null,appContext:null,ctx:Us};return t?(f2(d,r),x&128&&n.normalize(d)):r&&(d.shapeFlag|=zo(r)?8:16),wm>0&&!o&&Ac&&(d.patchFlag>0||x&6)&&d.patchFlag!==32&&Ac.push(d),d}const dt=C7;function C7(n,e=null,r=null,S=0,D=null,x=!1){if((!n||n===F4)&&(n=$u),Rv(n)){const t=$f(n,e,!0);return r&&f2(t,r),wm>0&&!x&&Ac&&(t.shapeFlag&6?Ac[Ac.indexOf(n)]=t:Ac.push(t)),t.patchFlag|=-2,t}if(N7(n)&&(n=n.__vccOpts),e){e=E7(e);let{class:t,style:d}=e;t&&!zo(t)&&(e.class=vu(t)),lo(d)&&(g4(d)&&!xi(d)&&(d=Ss({},d)),e.style=Bs(d))}const o=zo(n)?1:XE(n)?128:T7(n)?64:lo(n)?4:Vi(n)?2:0;return Nr(n,e,r,S,D,o,x,!0)}function E7(n){return n?g4(n)||_y in n?Ss({},n):n:null}function $f(n,e,r=!1){const{props:S,ref:D,patchFlag:x,children:o}=n,t=e?Zr(S||{},e):S;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:t,key:t&&Y4(t),ref:e&&e.ref?r&&D?xi(D)?D.concat(xv(e)):[D,xv(e)]:xv(e):D,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:o,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Xr?x===-1?16:x|16:x,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&$f(n.ssContent),ssFallback:n.ssFallback&&$f(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function ki(n=" ",e=0){return dt(jm,null,n,e)}function L7(n,e){const r=dt(bv,null,n);return r.staticCount=e,r}function pa(n="",e=!1){return e?(Dr(),Aa($u,null,n)):dt($u,null,n)}function of(n){return n==null||typeof n=="boolean"?dt($u):xi(n)?dt(Xr,null,n.slice()):typeof n=="object"?Sh(n):dt(jm,null,String(n))}function Sh(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:$f(n)}function f2(n,e){let r=0;const{shapeFlag:S}=n;if(e==null)e=null;else if(xi(e))r=16;else if(typeof e=="object")if(S&65){const D=e.default;D&&(D._c&&(D._d=!1),f2(n,D()),D._c&&(D._d=!0));return}else{r=32;const D=e._;!D&&!(_y in e)?e._ctx=Us:D===3&&Us&&(Us.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else Vi(e)?(e={default:e,_ctx:Us},r=32):(e=String(e),S&64?(r=16,e=[ki(e)]):r=8);n.children=e,n.shapeFlag|=r}function Zr(...n){const e={};for(let r=0;rXo||Us,Vp=n=>{Xo=n,n.scope.on()},kd=()=>{Xo&&Xo.scope.off(),Xo=null};function Z4(n){return n.vnode.shapeFlag&4}let Tm=!1;function D7(n,e=!1){Tm=e;const{props:r,children:S}=n.vnode,D=Z4(n);d7(n,r,D,e),g7(n,S);const x=D?R7(n,e):void 0;return Tm=!1,x}function R7(n,e){const r=n.type;n.accessCache=Object.create(null),n.proxy=Np(new Proxy(n.ctx,s7));const{setup:S}=r;if(S){const D=n.setupContext=S.length>1?F7(n):null;Vp(n),s0();const x=Oh(S,n,0,[n.props,D]);if(l0(),kd(),t4(x)){if(x.then(kd,kd),e)return x.then(o=>{n5(n,o,e)}).catch(o=>{my(o,n,0)});n.asyncDep=x}else n5(n,x,e)}else X4(n,e)}function n5(n,e,r){Vi(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:lo(e)&&(n.setupState=x4(e)),X4(n,r)}let r5;function X4(n,e,r){const S=n.type;if(!n.render){if(!e&&r5&&!S.render){const D=S.template||l2(n).template;if(D){const{isCustomElement:x,compilerOptions:o}=n.appContext.config,{delimiters:t,compilerOptions:d}=S,g=Ss(Ss({isCustomElement:x,delimiters:t},o),d);S.render=r5(D,g)}}n.render=S.render||Lc}Vp(n),s0(),l7(n),l0(),kd()}function z7(n){return new Proxy(n.attrs,{get(e,r){return ql(n,"get","$attrs"),e[r]}})}function F7(n){const e=S=>{n.exposed=S||{}};let r;return{get attrs(){return r||(r=z7(n))},slots:n.slots,emit:n.emit,expose:e}}function Ty(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(x4(Np(n.exposed)),{get(e,r){if(r in e)return e[r];if(r in am)return am[r](n)},has(e,r){return r in e||r in am}}))}function B7(n,e=!0){return Vi(n)?n.displayName||n.name:n.name||e&&n.__name}function N7(n){return Vi(n)&&"__vccOpts"in n}const cn=(n,e)=>NE(n,e,Tm);function jh(n,e,r){const S=arguments.length;return S===2?lo(e)&&!xi(e)?Rv(e)?dt(n,null,[e]):dt(n,e):dt(n,null,e):(S>3?r=Array.prototype.slice.call(arguments,2):S===3&&Rv(r)&&(r=[r]),dt(n,e,r))}const V7=Symbol(""),j7=()=>Sa(V7),U7="3.2.47",H7="http://www.w3.org/2000/svg",gd=typeof document<"u"?document:null,i5=gd&&gd.createElement("template"),G7={insert:(n,e,r)=>{e.insertBefore(n,r||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,r,S)=>{const D=e?gd.createElementNS(H7,n):gd.createElement(n,r?{is:r}:void 0);return n==="select"&&S&&S.multiple!=null&&D.setAttribute("multiple",S.multiple),D},createText:n=>gd.createTextNode(n),createComment:n=>gd.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>gd.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,r,S,D,x){const o=r?r.previousSibling:e.lastChild;if(D&&(D===x||D.nextSibling))for(;e.insertBefore(D.cloneNode(!0),r),!(D===x||!(D=D.nextSibling)););else{i5.innerHTML=S?`${n}`:n;const t=i5.content;if(S){const d=t.firstChild;for(;d.firstChild;)t.appendChild(d.firstChild);t.removeChild(d)}e.insertBefore(t,r)}return[o?o.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function W7(n,e,r){const S=n._vtc;S&&(e=(e?[e,...S]:[...S]).join(" ")),e==null?n.removeAttribute("class"):r?n.setAttribute("class",e):n.className=e}function q7(n,e,r){const S=n.style,D=zo(r);if(r&&!D){if(e&&!zo(e))for(const x in e)r[x]==null&&Yb(S,x,"");for(const x in r)Yb(S,x,r[x])}else{const x=S.display;D?e!==r&&(S.cssText=r):e&&n.removeAttribute("style"),"_vod"in n&&(S.display=x)}}const a5=/\s*!important$/;function Yb(n,e,r){if(xi(r))r.forEach(S=>Yb(n,e,S));else if(r==null&&(r=""),e.startsWith("--"))n.setProperty(e,r);else{const S=$7(n,e);a5.test(r)?n.setProperty(o0(S),r.replace(a5,""),"important"):n[S]=r}}const o5=["Webkit","Moz","ms"],ub={};function $7(n,e){const r=ub[e];if(r)return r;let S=Zu(e);if(S!=="filter"&&S in n)return ub[e]=S;S=Jf(S);for(let D=0;Dcb||(Q7.then(()=>cb=0),cb=Date.now());function t9(n,e){const r=S=>{if(!S._vts)S._vts=Date.now();else if(S._vts<=r.attached)return;qu(n9(S,r.value),e,5,[S])};return r.value=n,r.attached=e9(),r}function n9(n,e){if(xi(e)){const r=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0},e.map(S=>D=>!D._stopped&&S&&S(D))}else return e}const u5=/^on[a-z]/,r9=(n,e,r,S,D=!1,x,o,t,d)=>{e==="class"?W7(n,S,D):e==="style"?q7(n,r,S):cy(e)?Wx(e)||K7(n,e,r,S,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):i9(n,e,S,D))?Z7(n,e,S,x,o,t,d):(e==="true-value"?n._trueValue=S:e==="false-value"&&(n._falseValue=S),Y7(n,e,S,D))};function i9(n,e,r,S){return S?!!(e==="innerHTML"||e==="textContent"||e in n&&u5.test(e)&&Vi(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||u5.test(e)&&zo(r)?!1:e in n}const wh="transition",Z0="animation",hf=(n,{slots:e})=>jh(E4,J4(n),e);hf.displayName="Transition";const K4={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},a9=hf.props=Ss({},E4.props,K4),ud=(n,e=[])=>{xi(n)?n.forEach(r=>r(...e)):n&&n(...e)},c5=n=>n?xi(n)?n.some(e=>e.length>1):n.length>1:!1;function J4(n){const e={};for(const T in n)T in K4||(e[T]=n[T]);if(n.css===!1)return e;const{name:r="v",type:S,duration:D,enterFromClass:x=`${r}-enter-from`,enterActiveClass:o=`${r}-enter-active`,enterToClass:t=`${r}-enter-to`,appearFromClass:d=x,appearActiveClass:g=o,appearToClass:i=t,leaveFromClass:M=`${r}-leave-from`,leaveActiveClass:v=`${r}-leave-active`,leaveToClass:p=`${r}-leave-to`}=n,u=o9(D),a=u&&u[0],c=u&&u[1],{onBeforeEnter:s,onEnter:l,onEnterCancelled:h,onLeave:f,onLeaveCancelled:m,onBeforeAppear:_=s,onAppear:y=l,onAppearCancelled:C=h}=e,w=(T,A,L)=>{kh(T,A?i:t),kh(T,A?g:o),L&&L()},k=(T,A)=>{T._isLeaving=!1,kh(T,M),kh(T,p),kh(T,v),A&&A()},E=T=>(A,L)=>{const b=T?y:l,O=()=>w(A,T,L);ud(b,[A,O]),f5(()=>{kh(A,T?d:x),Ff(A,T?i:t),c5(b)||h5(A,S,a,O)})};return Ss(e,{onBeforeEnter(T){ud(s,[T]),Ff(T,x),Ff(T,o)},onBeforeAppear(T){ud(_,[T]),Ff(T,d),Ff(T,g)},onEnter:E(!1),onAppear:E(!0),onLeave(T,A){T._isLeaving=!0;const L=()=>k(T,A);Ff(T,M),ek(),Ff(T,v),f5(()=>{T._isLeaving&&(kh(T,M),Ff(T,p),c5(f)||h5(T,S,c,L))}),ud(f,[T,L])},onEnterCancelled(T){w(T,!1),ud(h,[T])},onAppearCancelled(T){w(T,!0),ud(C,[T])},onLeaveCancelled(T){k(T),ud(m,[T])}})}function o9(n){if(n==null)return null;if(lo(n))return[fb(n.enter),fb(n.leave)];{const e=fb(n);return[e,e]}}function fb(n){return iE(n)}function Ff(n,e){e.split(/\s+/).forEach(r=>r&&n.classList.add(r)),(n._vtc||(n._vtc=new Set)).add(e)}function kh(n,e){e.split(/\s+/).forEach(S=>S&&n.classList.remove(S));const{_vtc:r}=n;r&&(r.delete(e),r.size||(n._vtc=void 0))}function f5(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let s9=0;function h5(n,e,r,S){const D=n._endId=++s9,x=()=>{D===n._endId&&S()};if(r)return setTimeout(x,r);const{type:o,timeout:t,propCount:d}=Q4(n,e);if(!o)return S();const g=o+"end";let i=0;const M=()=>{n.removeEventListener(g,v),x()},v=p=>{p.target===n&&++i>=d&&M()};setTimeout(()=>{i(r[u]||"").split(", "),D=S(`${wh}Delay`),x=S(`${wh}Duration`),o=d5(D,x),t=S(`${Z0}Delay`),d=S(`${Z0}Duration`),g=d5(t,d);let i=null,M=0,v=0;e===wh?o>0&&(i=wh,M=o,v=x.length):e===Z0?g>0&&(i=Z0,M=g,v=d.length):(M=Math.max(o,g),i=M>0?o>g?wh:Z0:null,v=i?i===wh?x.length:d.length:0);const p=i===wh&&/\b(transform|all)(,|$)/.test(S(`${wh}Property`).toString());return{type:i,timeout:M,propCount:v,hasTransform:p}}function d5(n,e){for(;n.lengthp5(r)+p5(n[S])))}function p5(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function ek(){return document.body.offsetHeight}const tk=new WeakMap,nk=new WeakMap,rk={name:"TransitionGroup",props:Ss({},a9,{tag:String,moveClass:String}),setup(n,{slots:e}){const r=wy(),S=C4();let D,x;return R4(()=>{if(!D.length)return;const o=n.moveClass||`${n.name||"v"}-move`;if(!d9(D[0].el,r.vnode.el,o))return;D.forEach(c9),D.forEach(f9);const t=D.filter(h9);ek(),t.forEach(d=>{const g=d.el,i=g.style;Ff(g,o),i.transform=i.webkitTransform=i.transitionDuration="";const M=g._moveCb=v=>{v&&v.target!==g||(!v||/transform$/.test(v.propertyName))&&(g.removeEventListener("transitionend",M),g._moveCb=null,kh(g,o))};g.addEventListener("transitionend",M)})}),()=>{const o=Ii(n),t=J4(o);let d=o.tag||Xr;D=x,x=e.default?a2(e.default()):[];for(let g=0;gdelete n.mode;rk.props;const u9=rk;function c9(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function f9(n){nk.set(n,n.el.getBoundingClientRect())}function h9(n){const e=tk.get(n),r=nk.get(n),S=e.left-r.left,D=e.top-r.top;if(S||D){const x=n.el.style;return x.transform=x.webkitTransform=`translate(${S}px,${D}px)`,x.transitionDuration="0s",n}}function d9(n,e,r){const S=n.cloneNode();n._vtc&&n._vtc.forEach(o=>{o.split(/\s+/).forEach(t=>t&&S.classList.remove(t))}),r.split(/\s+/).forEach(o=>o&&S.classList.add(o)),S.style.display="none";const D=e.nodeType===1?e:e.parentNode;D.appendChild(S);const{hasTransform:x}=Q4(S);return D.removeChild(S),x}const m5=n=>{const e=n.props["onUpdate:modelValue"]||!1;return xi(e)?r=>yv(e,r):e};function p9(n){n.target.composing=!0}function g5(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const m9={created(n,{modifiers:{lazy:e,trim:r,number:S}},D){n._assign=m5(D);const x=S||D.props&&D.props.type==="number";Mp(n,e?"change":"input",o=>{if(o.target.composing)return;let t=n.value;r&&(t=t.trim()),x&&(t=Fb(t)),n._assign(t)}),r&&Mp(n,"change",()=>{n.value=n.value.trim()}),e||(Mp(n,"compositionstart",p9),Mp(n,"compositionend",g5),Mp(n,"change",g5))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:r,trim:S,number:D}},x){if(n._assign=m5(x),n.composing||document.activeElement===n&&n.type!=="range"&&(r||S&&n.value.trim()===e||(D||n.type==="number")&&Fb(n.value)===e))return;const o=e??"";n.value!==o&&(n.value=o)}},g9=["ctrl","shift","alt","meta"],v9={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>g9.some(r=>n[`${r}Key`]&&!e.includes(r))},Wf=(n,e)=>(r,...S)=>{for(let D=0;D{X0(n,!1)}):X0(n,e))},beforeUnmount(n,{value:e}){X0(n,e)}};function X0(n,e){n.style.display=e?n._vod:"none"}const y9=Ss({patchProp:r9},G7);let v5;function b9(){return v5||(v5=x7(y9))}const x9=(...n)=>{const e=b9().createApp(...n),{mount:r}=e;return e.mount=S=>{const D=_9(S);if(!D)return;const x=e._component;!Vi(x)&&!x.render&&!x.template&&(x.template=D.innerHTML),D.innerHTML="";const o=r(D,!1,D instanceof SVGElement);return D instanceof Element&&(D.removeAttribute("v-cloak"),D.setAttribute("data-v-app","")),o},e};function _9(n){return zo(n)?document.querySelector(n):n}var w9=!1;/*! +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const D of document.querySelectorAll('link[rel="modulepreload"]'))S(D);new MutationObserver(D=>{for(const x of D)if(x.type==="childList")for(const o of x.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&S(o)}).observe(document,{childList:!0,subtree:!0});function r(D){const x={};return D.integrity&&(x.integrity=D.integrity),D.referrerPolicy&&(x.referrerPolicy=D.referrerPolicy),D.crossOrigin==="use-credentials"?x.credentials="include":D.crossOrigin==="anonymous"?x.credentials="omit":x.credentials="same-origin",x}function S(D){if(D.ep)return;D.ep=!0;const x=r(D);fetch(D.href,x)}})();function Gx(n,e){const r=Object.create(null),S=n.split(",");for(let D=0;D!!r[D.toLowerCase()]:D=>!!r[D]}function Bs(n){if(xi(n)){const e={};for(let r=0;r{if(r){const S=r.split($C);S.length>1&&(e[S[0].trim()]=S[1].trim())}}),e}function vu(n){let e="";if(zo(n))e=n;else if(xi(n))for(let r=0;rzo(n)?n:n==null?"":xi(n)||lo(n)&&(n.toString===n4||!Vi(n.toString))?JSON.stringify(n,QT,2):String(n),QT=(n,e)=>e&&e.__v_isRef?QT(n,e.value):Lp(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[S,D])=>(r[`${S} =>`]=D,r),{})}:e4(e)?{[`Set(${e.size})`]:[...e.values()]}:lo(e)&&!xi(e)&&!r4(e)?String(e):e,so={},Ep=[],Lc=()=>{},JC=()=>!1,QC=/^on[^a-z]/,cy=n=>QC.test(n),Wx=n=>n.startsWith("onUpdate:"),Ss=Object.assign,qx=(n,e)=>{const r=n.indexOf(e);r>-1&&n.splice(r,1)},eE=Object.prototype.hasOwnProperty,xa=(n,e)=>eE.call(n,e),xi=Array.isArray,Lp=n=>fy(n)==="[object Map]",e4=n=>fy(n)==="[object Set]",Vi=n=>typeof n=="function",zo=n=>typeof n=="string",$x=n=>typeof n=="symbol",lo=n=>n!==null&&typeof n=="object",t4=n=>lo(n)&&Vi(n.then)&&Vi(n.catch),n4=Object.prototype.toString,fy=n=>n4.call(n),tE=n=>fy(n).slice(8,-1),r4=n=>fy(n)==="[object Object]",Yx=n=>zo(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,vv=Gx(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),hy=n=>{const e=Object.create(null);return r=>e[r]||(e[r]=n(r))},nE=/-(\w)/g,Zu=hy(n=>n.replace(nE,(e,r)=>r?r.toUpperCase():"")),rE=/\B([A-Z])/g,o0=hy(n=>n.replace(rE,"-$1").toLowerCase()),Jf=hy(n=>n.charAt(0).toUpperCase()+n.slice(1)),ib=hy(n=>n?`on${Jf(n)}`:""),gm=(n,e)=>!Object.is(n,e),yv=(n,e)=>{for(let r=0;r{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:r})},Fb=n=>{const e=parseFloat(n);return isNaN(e)?n:e},iE=n=>{const e=zo(n)?Number(n):NaN;return isNaN(e)?n:e};let z3;const aE=()=>z3||(z3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let fu;class i4{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=fu,!e&&fu&&(this.index=(fu.scopes||(fu.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=fu;try{return fu=this,e()}finally{fu=r}}}on(){fu=this}off(){fu=this.parent}stop(e){if(this._active){let r,S;for(r=0,S=this.effects.length;r{const e=new Set(n);return e.w=0,e.n=0,e},o4=n=>(n.w&Dh)>0,s4=n=>(n.n&Dh)>0,sE=({deps:n})=>{if(n.length)for(let e=0;e{const{deps:e}=n;if(e.length){let r=0;for(let S=0;S{(i==="length"||i>=d)&&t.push(v)})}else switch(r!==void 0&&t.push(o.get(r)),e){case"add":xi(n)?Yx(r)&&t.push(o.get("length")):(t.push(o.get(Td)),Lp(n)&&t.push(o.get(Nb)));break;case"delete":xi(n)||(t.push(o.get(Td)),Lp(n)&&t.push(o.get(Nb)));break;case"set":Lp(n)&&t.push(o.get(Td));break}if(t.length===1)t[0]&&Vb(t[0]);else{const d=[];for(const v of t)v&&d.push(...v);Vb(Zx(d))}}function Vb(n,e){const r=xi(n)?n:[...n];for(const S of r)S.computed&&B3(S);for(const S of r)S.computed||B3(S)}function B3(n,e){(n!==kc||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}function uE(n,e){var r;return(r=Iv.get(n))===null||r===void 0?void 0:r.get(e)}const cE=Gx("__proto__,__v_isRef,__isVue"),c4=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter($x)),fE=Kx(),hE=Kx(!1,!0),dE=Kx(!0),N3=pE();function pE(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...r){const S=Ii(this);for(let x=0,o=this.length;x{n[e]=function(...r){s0();const S=Ii(this)[e].apply(this,r);return l0(),S}}),n}function mE(n){const e=Ii(this);return ql(e,"has",n),e.hasOwnProperty(n)}function Kx(n=!1,e=!1){return function(S,D,x){if(D==="__v_isReactive")return!n;if(D==="__v_isReadonly")return n;if(D==="__v_isShallow")return e;if(D==="__v_raw"&&x===(n?e?IE:m4:e?p4:d4).get(S))return S;const o=xi(S);if(!n){if(o&&xa(N3,D))return Reflect.get(N3,D,x);if(D==="hasOwnProperty")return mE}const t=Reflect.get(S,D,x);return($x(D)?c4.has(D):cE(D))||(n||ql(S,"get",D),e)?t:to(t)?o&&Yx(D)?t:t.value:lo(t)?n?Vm(t):Tl(t):t}}const gE=f4(),vE=f4(!0);function f4(n=!1){return function(r,S,D,x){let o=r[S];if(Bp(o)&&to(o)&&!to(D))return!1;if(!n&&(!Ov(D)&&!Bp(D)&&(o=Ii(o),D=Ii(D)),!xi(r)&&to(o)&&!to(D)))return o.value=D,!0;const t=xi(r)&&Yx(S)?Number(S)n,dy=n=>Reflect.getPrototypeOf(n);function ev(n,e,r=!1,S=!1){n=n.__v_raw;const D=Ii(n),x=Ii(e);r||(e!==x&&ql(D,"get",e),ql(D,"get",x));const{has:o}=dy(D),t=S?Jx:r?t2:vm;if(o.call(D,e))return t(n.get(e));if(o.call(D,x))return t(n.get(x));n!==D&&n.get(e)}function tv(n,e=!1){const r=this.__v_raw,S=Ii(r),D=Ii(n);return e||(n!==D&&ql(S,"has",n),ql(S,"has",D)),n===D?r.has(n):r.has(n)||r.has(D)}function nv(n,e=!1){return n=n.__v_raw,!e&&ql(Ii(n),"iterate",Td),Reflect.get(n,"size",n)}function V3(n){n=Ii(n);const e=Ii(this);return dy(e).has.call(e,n)||(e.add(n),qf(e,"add",n,n)),this}function j3(n,e){e=Ii(e);const r=Ii(this),{has:S,get:D}=dy(r);let x=S.call(r,n);x||(n=Ii(n),x=S.call(r,n));const o=D.call(r,n);return r.set(n,e),x?gm(e,o)&&qf(r,"set",n,e):qf(r,"add",n,e),this}function U3(n){const e=Ii(this),{has:r,get:S}=dy(e);let D=r.call(e,n);D||(n=Ii(n),D=r.call(e,n)),S&&S.call(e,n);const x=e.delete(n);return D&&qf(e,"delete",n,void 0),x}function H3(){const n=Ii(this),e=n.size!==0,r=n.clear();return e&&qf(n,"clear",void 0,void 0),r}function rv(n,e){return function(S,D){const x=this,o=x.__v_raw,t=Ii(o),d=e?Jx:n?t2:vm;return!n&&ql(t,"iterate",Td),o.forEach((v,i)=>S.call(D,d(v),d(i),x))}}function iv(n,e,r){return function(...S){const D=this.__v_raw,x=Ii(D),o=Lp(x),t=n==="entries"||n===Symbol.iterator&&o,d=n==="keys"&&o,v=D[n](...S),i=r?Jx:e?t2:vm;return!e&&ql(x,"iterate",d?Nb:Td),{next(){const{value:M,done:g}=v.next();return g?{value:M,done:g}:{value:t?[i(M[0]),i(M[1])]:i(M),done:g}},[Symbol.iterator](){return this}}}}function _h(n){return function(...e){return n==="delete"?!1:this}}function TE(){const n={get(x){return ev(this,x)},get size(){return nv(this)},has:tv,add:V3,set:j3,delete:U3,clear:H3,forEach:rv(!1,!1)},e={get(x){return ev(this,x,!1,!0)},get size(){return nv(this)},has:tv,add:V3,set:j3,delete:U3,clear:H3,forEach:rv(!1,!0)},r={get(x){return ev(this,x,!0)},get size(){return nv(this,!0)},has(x){return tv.call(this,x,!0)},add:_h("add"),set:_h("set"),delete:_h("delete"),clear:_h("clear"),forEach:rv(!0,!1)},S={get(x){return ev(this,x,!0,!0)},get size(){return nv(this,!0)},has(x){return tv.call(this,x,!0)},add:_h("add"),set:_h("set"),delete:_h("delete"),clear:_h("clear"),forEach:rv(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(x=>{n[x]=iv(x,!1,!1),r[x]=iv(x,!0,!1),e[x]=iv(x,!1,!0),S[x]=iv(x,!0,!0)}),[n,r,e,S]}const[kE,ME,AE,SE]=TE();function Qx(n,e){const r=e?n?SE:AE:n?ME:kE;return(S,D,x)=>D==="__v_isReactive"?!n:D==="__v_isReadonly"?n:D==="__v_raw"?S:Reflect.get(xa(r,D)&&D in S?r:S,D,x)}const CE={get:Qx(!1,!1)},EE={get:Qx(!1,!0)},LE={get:Qx(!0,!1)},d4=new WeakMap,p4=new WeakMap,m4=new WeakMap,IE=new WeakMap;function OE(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function PE(n){return n.__v_skip||!Object.isExtensible(n)?0:OE(tE(n))}function Tl(n){return Bp(n)?n:e2(n,!1,h4,CE,d4)}function DE(n){return e2(n,!1,wE,EE,p4)}function Vm(n){return e2(n,!0,_E,LE,m4)}function e2(n,e,r,S,D){if(!lo(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const x=D.get(n);if(x)return x;const o=PE(n);if(o===0)return n;const t=new Proxy(n,o===2?S:r);return D.set(n,t),t}function Ih(n){return Bp(n)?Ih(n.__v_raw):!!(n&&n.__v_isReactive)}function Bp(n){return!!(n&&n.__v_isReadonly)}function Ov(n){return!!(n&&n.__v_isShallow)}function g4(n){return Ih(n)||Bp(n)}function Ii(n){const e=n&&n.__v_raw;return e?Ii(e):n}function Np(n){return Lv(n,"__v_skip",!0),n}const vm=n=>lo(n)?Tl(n):n,t2=n=>lo(n)?Vm(n):n;function v4(n){Lh&&kc&&(n=Ii(n),u4(n.dep||(n.dep=Zx())))}function y4(n,e){n=Ii(n);const r=n.dep;r&&Vb(r)}function to(n){return!!(n&&n.__v_isRef===!0)}function Gr(n){return b4(n,!1)}function Kr(n){return b4(n,!0)}function b4(n,e){return to(n)?n:new RE(n,e)}class RE{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:Ii(e),this._value=r?e:vm(e)}get value(){return v4(this),this._value}set value(e){const r=this.__v_isShallow||Ov(e)||Bp(e);e=r?e:Ii(e),gm(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:vm(e),y4(this))}}function gu(n){return to(n)?n.value:n}const zE={get:(n,e,r)=>gu(Reflect.get(n,e,r)),set:(n,e,r,S)=>{const D=n[e];return to(D)&&!to(r)?(D.value=r,!0):Reflect.set(n,e,r,S)}};function x4(n){return Ih(n)?n:new Proxy(n,zE)}function py(n){const e=xi(n)?new Array(n.length):{};for(const r in n)e[r]=Ir(n,r);return e}class FE{constructor(e,r,S){this._object=e,this._key=r,this._defaultValue=S,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return uE(Ii(this._object),this._key)}}function Ir(n,e,r){const S=n[e];return to(S)?S:new FE(n,e,r)}var _4;class BE{constructor(e,r,S,D){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[_4]=!1,this._dirty=!0,this.effect=new Xx(e,()=>{this._dirty||(this._dirty=!0,y4(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!D,this.__v_isReadonly=S}get value(){const e=Ii(this);return v4(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}_4="__v_isReadonly";function NE(n,e,r=!1){let S,D;const x=Vi(n);return x?(S=n,D=Lc):(S=n.get,D=n.set),new BE(S,D,x||!D,r)}function Oh(n,e,r,S){let D;try{D=S?n(...S):n()}catch(x){my(x,e,r)}return D}function qu(n,e,r,S){if(Vi(n)){const x=Oh(n,e,r,S);return x&&t4(x)&&x.catch(o=>{my(o,e,r)}),x}const D=[];for(let x=0;x>>1;bm(Qs[S])sf&&Qs.splice(e,1)}function HE(n){xi(n)?Ip.push(...n):(!Nf||!Nf.includes(n,n.allowRecurse?pd+1:pd))&&Ip.push(n),T4()}function G3(n,e=ym?sf+1:0){for(;ebm(r)-bm(S)),pd=0;pdn.id==null?1/0:n.id,GE=(n,e)=>{const r=bm(n)-bm(e);if(r===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return r};function M4(n){jb=!1,ym=!0,Qs.sort(GE);const e=Lc;try{for(sf=0;sfzo(p)?p.trim():p)),M&&(D=r.map(Fb))}let t,d=S[t=ib(e)]||S[t=ib(Zu(e))];!d&&x&&(d=S[t=ib(o0(e))]),d&&qu(d,n,6,D);const v=S[t+"Once"];if(v){if(!n.emitted)n.emitted={};else if(n.emitted[t])return;n.emitted[t]=!0,qu(v,n,6,D)}}function A4(n,e,r=!1){const S=e.emitsCache,D=S.get(n);if(D!==void 0)return D;const x=n.emits;let o={},t=!1;if(!Vi(n)){const d=v=>{const i=A4(v,e,!0);i&&(t=!0,Ss(o,i))};!r&&e.mixins.length&&e.mixins.forEach(d),n.extends&&d(n.extends),n.mixins&&n.mixins.forEach(d)}return!x&&!t?(lo(n)&&S.set(n,null),null):(xi(x)?x.forEach(d=>o[d]=null):Ss(o,x),lo(n)&&S.set(n,o),o)}function gy(n,e){return!n||!cy(e)?!1:(e=e.slice(2).replace(/Once$/,""),xa(n,e[0].toLowerCase()+e.slice(1))||xa(n,o0(e))||xa(n,e))}let Us=null,vy=null;function Pv(n){const e=Us;return Us=n,vy=n&&n.type.__scopeId||null,e}function jd(n){vy=n}function Ud(){vy=null}function Yr(n,e=Us,r){if(!e||n._n)return n;const S=(...D)=>{S._d&&t5(-1);const x=Pv(e);let o;try{o=n(...D)}finally{Pv(x),S._d&&t5(1)}return o};return S._n=!0,S._c=!0,S._d=!0,S}function ab(n){const{type:e,vnode:r,proxy:S,withProxy:D,props:x,propsOptions:[o],slots:t,attrs:d,emit:v,render:i,renderCache:M,data:g,setupState:p,ctx:u,inheritAttrs:a}=n;let c,s;const l=Pv(n);try{if(r.shapeFlag&4){const f=D||S;c=of(i.call(f,f,M,x,p,g,u)),s=d}else{const f=e;c=of(f.length>1?f(x,{attrs:d,slots:t,emit:v}):f(x,null)),s=e.props?d:qE(d)}}catch(f){sm.length=0,my(f,n,1),c=dt($u)}let h=c;if(s&&a!==!1){const f=Object.keys(s),{shapeFlag:m}=h;f.length&&m&7&&(o&&f.some(Wx)&&(s=$E(s,o)),h=$f(h,s))}return r.dirs&&(h=$f(h),h.dirs=h.dirs?h.dirs.concat(r.dirs):r.dirs),r.transition&&(h.transition=r.transition),c=h,Pv(l),c}const qE=n=>{let e;for(const r in n)(r==="class"||r==="style"||cy(r))&&((e||(e={}))[r]=n[r]);return e},$E=(n,e)=>{const r={};for(const S in n)(!Wx(S)||!(S.slice(9)in e))&&(r[S]=n[S]);return r};function YE(n,e,r){const{props:S,children:D,component:x}=n,{props:o,children:t,patchFlag:d}=e,v=x.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return S?W3(S,o,v):!!o;if(d&8){const i=e.dynamicProps;for(let M=0;Mn.__isSuspense;function KE(n,e){e&&e.pendingBranch?xi(n)?e.effects.push(...n):e.effects.push(n):HE(n)}function as(n,e){if(Xo){let r=Xo.provides;const S=Xo.parent&&Xo.parent.provides;S===r&&(r=Xo.provides=Object.create(S)),r[n]=e}}function Sa(n,e,r=!1){const S=Xo||Us;if(S){const D=S.parent==null?S.vnode.appContext&&S.vnode.appContext.provides:S.parent.provides;if(D&&n in D)return D[n];if(arguments.length>1)return r&&Vi(e)?e.call(S.proxy):e}}function wu(n,e){return i2(n,null,e)}const av={};function ei(n,e,r){return i2(n,e,r)}function i2(n,e,{immediate:r,deep:S,flush:D,onTrack:x,onTrigger:o}=so){const t=a4()===(Xo==null?void 0:Xo.scope)?Xo:null;let d,v=!1,i=!1;if(to(n)?(d=()=>n.value,v=Ov(n)):Ih(n)?(d=()=>n,S=!0):xi(n)?(i=!0,v=n.some(h=>Ih(h)||Ov(h)),d=()=>n.map(h=>{if(to(h))return h.value;if(Ih(h))return vd(h);if(Vi(h))return Oh(h,t,2)})):Vi(n)?e?d=()=>Oh(n,t,2):d=()=>{if(!(t&&t.isUnmounted))return M&&M(),qu(n,t,3,[g])}:d=Lc,e&&S){const h=d;d=()=>vd(h())}let M,g=h=>{M=s.onStop=()=>{Oh(h,t,4)}},p;if(Tm)if(g=Lc,e?r&&qu(e,t,3,[d(),i?[]:void 0,g]):d(),D==="sync"){const h=j7();p=h.__watcherHandles||(h.__watcherHandles=[])}else return Lc;let u=i?new Array(n.length).fill(av):av;const a=()=>{if(s.active)if(e){const h=s.run();(S||v||(i?h.some((f,m)=>gm(f,u[m])):gm(h,u)))&&(M&&M(),qu(e,t,3,[h,u===av?void 0:i&&u[0]===av?[]:u,g]),u=h)}else s.run()};a.allowRecurse=!!e;let c;D==="sync"?c=a:D==="post"?c=()=>Ul(a,t&&t.suspense):(a.pre=!0,t&&(a.id=t.uid),c=()=>r2(a));const s=new Xx(d,c);e?r?a():u=s.run():D==="post"?Ul(s.run.bind(s),t&&t.suspense):s.run();const l=()=>{s.stop(),t&&t.scope&&qx(t.scope.effects,s)};return p&&p.push(l),l}function JE(n,e,r){const S=this.proxy,D=zo(n)?n.includes(".")?S4(S,n):()=>S[n]:n.bind(S,S);let x;Vi(e)?x=e:(x=e.handler,r=e);const o=Xo;Vp(this);const t=i2(D,x.bind(S),r);return o?Vp(o):kd(),t}function S4(n,e){const r=e.split(".");return()=>{let S=n;for(let D=0;D{vd(r,e)});else if(r4(n))for(const r in n)vd(n[r],e);return n}function C4(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return nl(()=>{n.isMounted=!0}),Sl(()=>{n.isUnmounting=!0}),n}const Hu=[Function,Array],QE={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Hu,onEnter:Hu,onAfterEnter:Hu,onEnterCancelled:Hu,onBeforeLeave:Hu,onLeave:Hu,onAfterLeave:Hu,onLeaveCancelled:Hu,onBeforeAppear:Hu,onAppear:Hu,onAfterAppear:Hu,onAppearCancelled:Hu},setup(n,{slots:e}){const r=wy(),S=C4();let D;return()=>{const x=e.default&&a2(e.default(),!0);if(!x||!x.length)return;let o=x[0];if(x.length>1){for(const a of x)if(a.type!==$u){o=a;break}}const t=Ii(n),{mode:d}=t;if(S.isLeaving)return ob(o);const v=q3(o);if(!v)return ob(o);const i=xm(v,t,S,r);_m(v,i);const M=r.subTree,g=M&&q3(M);let p=!1;const{getTransitionKey:u}=v.type;if(u){const a=u();D===void 0?D=a:a!==D&&(D=a,p=!0)}if(g&&g.type!==$u&&(!md(v,g)||p)){const a=xm(g,t,S,r);if(_m(g,a),d==="out-in")return S.isLeaving=!0,a.afterLeave=()=>{S.isLeaving=!1,r.update.active!==!1&&r.update()},ob(o);d==="in-out"&&v.type!==$u&&(a.delayLeave=(c,s,l)=>{const h=L4(S,g);h[String(g.key)]=g,c._leaveCb=()=>{s(),c._leaveCb=void 0,delete i.delayedLeave},i.delayedLeave=l})}return o}}},E4=QE;function L4(n,e){const{leavingVNodes:r}=n;let S=r.get(e.type);return S||(S=Object.create(null),r.set(e.type,S)),S}function xm(n,e,r,S){const{appear:D,mode:x,persisted:o=!1,onBeforeEnter:t,onEnter:d,onAfterEnter:v,onEnterCancelled:i,onBeforeLeave:M,onLeave:g,onAfterLeave:p,onLeaveCancelled:u,onBeforeAppear:a,onAppear:c,onAfterAppear:s,onAppearCancelled:l}=e,h=String(n.key),f=L4(r,n),m=(C,w)=>{C&&qu(C,S,9,w)},_=(C,w)=>{const k=w[1];m(C,w),xi(C)?C.every(E=>E.length<=1)&&k():C.length<=1&&k()},y={mode:x,persisted:o,beforeEnter(C){let w=t;if(!r.isMounted)if(D)w=a||t;else return;C._leaveCb&&C._leaveCb(!0);const k=f[h];k&&md(n,k)&&k.el._leaveCb&&k.el._leaveCb(),m(w,[C])},enter(C){let w=d,k=v,E=i;if(!r.isMounted)if(D)w=c||d,k=s||v,E=l||i;else return;let T=!1;const A=C._enterCb=L=>{T||(T=!0,L?m(E,[C]):m(k,[C]),y.delayedLeave&&y.delayedLeave(),C._enterCb=void 0)};w?_(w,[C,A]):A()},leave(C,w){const k=String(n.key);if(C._enterCb&&C._enterCb(!0),r.isUnmounting)return w();m(M,[C]);let E=!1;const T=C._leaveCb=A=>{E||(E=!0,w(),A?m(u,[C]):m(p,[C]),C._leaveCb=void 0,f[k]===n&&delete f[k])};f[k]=n,g?_(g,[C,T]):T()},clone(C){return xm(C,e,r,S)}};return y}function ob(n){if(yy(n))return n=$f(n),n.children=null,n}function q3(n){return yy(n)?n.children?n.children[0]:void 0:n}function _m(n,e){n.shapeFlag&6&&n.component?_m(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function a2(n,e=!1,r){let S=[],D=0;for(let x=0;x1)for(let x=0;x!!n.type.__asyncLoader,yy=n=>n.type.__isKeepAlive;function I4(n,e){P4(n,"a",e)}function O4(n,e){P4(n,"da",e)}function P4(n,e,r=Xo){const S=n.__wdc||(n.__wdc=()=>{let D=r;for(;D;){if(D.isDeactivated)return;D=D.parent}return n()});if(by(e,S,r),r){let D=r.parent;for(;D&&D.parent;)yy(D.parent.vnode)&&e7(S,e,r,D),D=D.parent}}function e7(n,e,r,S){const D=by(e,n,S,!0);z4(()=>{qx(S[e],D)},r)}function by(n,e,r=Xo,S=!1){if(r){const D=r[n]||(r[n]=[]),x=e.__weh||(e.__weh=(...o)=>{if(r.isUnmounted)return;s0(),Vp(r);const t=qu(e,r,n,o);return kd(),l0(),t});return S?D.unshift(x):D.push(x),x}}const Qf=n=>(e,r=Xo)=>(!Tm||n==="sp")&&by(n,(...S)=>e(...S),r),xy=Qf("bm"),nl=Qf("m"),D4=Qf("bu"),R4=Qf("u"),Sl=Qf("bum"),z4=Qf("um"),t7=Qf("sp"),n7=Qf("rtg"),r7=Qf("rtc");function i7(n,e=Xo){by("ec",n,e)}function Lo(n,e){const r=Us;if(r===null)return n;const S=Ty(r)||r.proxy,D=n.dirs||(n.dirs=[]);for(let x=0;xe(o,t,void 0,x&&x[t]));else{const o=Object.keys(n);D=new Array(o.length);for(let t=0,d=o.length;tRv(e)?!(e.type===$u||e.type===Xr&&!B4(e.children)):!0)?n:null}const Ub=n=>n?Z4(n)?Ty(n)||n.proxy:Ub(n.parent):null,am=Ss(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>Ub(n.parent),$root:n=>Ub(n.root),$emit:n=>n.emit,$options:n=>l2(n),$forceUpdate:n=>n.f||(n.f=()=>r2(n.update)),$nextTick:n=>n.n||(n.n=qa.bind(n.proxy)),$watch:n=>JE.bind(n)}),lb=(n,e)=>n!==so&&!n.__isScriptSetup&&xa(n,e),s7={get({_:n},e){const{ctx:r,setupState:S,data:D,props:x,accessCache:o,type:t,appContext:d}=n;let v;if(e[0]!=="$"){const p=o[e];if(p!==void 0)switch(p){case 1:return S[e];case 2:return D[e];case 4:return r[e];case 3:return x[e]}else{if(lb(S,e))return o[e]=1,S[e];if(D!==so&&xa(D,e))return o[e]=2,D[e];if((v=n.propsOptions[0])&&xa(v,e))return o[e]=3,x[e];if(r!==so&&xa(r,e))return o[e]=4,r[e];Hb&&(o[e]=0)}}const i=am[e];let M,g;if(i)return e==="$attrs"&&ql(n,"get",e),i(n);if((M=t.__cssModules)&&(M=M[e]))return M;if(r!==so&&xa(r,e))return o[e]=4,r[e];if(g=d.config.globalProperties,xa(g,e))return g[e]},set({_:n},e,r){const{data:S,setupState:D,ctx:x}=n;return lb(D,e)?(D[e]=r,!0):S!==so&&xa(S,e)?(S[e]=r,!0):xa(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(x[e]=r,!0)},has({_:{data:n,setupState:e,accessCache:r,ctx:S,appContext:D,propsOptions:x}},o){let t;return!!r[o]||n!==so&&xa(n,o)||lb(e,o)||(t=x[0])&&xa(t,o)||xa(S,o)||xa(am,o)||xa(D.config.globalProperties,o)},defineProperty(n,e,r){return r.get!=null?n._.accessCache[e]=0:xa(r,"value")&&this.set(n,e,r.value,null),Reflect.defineProperty(n,e,r)}};let Hb=!0;function l7(n){const e=l2(n),r=n.proxy,S=n.ctx;Hb=!1,e.beforeCreate&&Y3(e.beforeCreate,n,"bc");const{data:D,computed:x,methods:o,watch:t,provide:d,inject:v,created:i,beforeMount:M,mounted:g,beforeUpdate:p,updated:u,activated:a,deactivated:c,beforeDestroy:s,beforeUnmount:l,destroyed:h,unmounted:f,render:m,renderTracked:_,renderTriggered:y,errorCaptured:C,serverPrefetch:w,expose:k,inheritAttrs:E,components:T,directives:A,filters:L}=e;if(v&&u7(v,S,null,n.appContext.config.unwrapInjectedRef),o)for(const I in o){const R=o[I];Vi(R)&&(S[I]=R.bind(r))}if(D){const I=D.call(r,r);lo(I)&&(n.data=Tl(I))}if(Hb=!0,x)for(const I in x){const R=x[I],z=Vi(R)?R.bind(r,r):Vi(R.get)?R.get.bind(r,r):Lc,F=!Vi(R)&&Vi(R.set)?R.set.bind(r):Lc,B=cn({get:z,set:F});Object.defineProperty(S,I,{enumerable:!0,configurable:!0,get:()=>B.value,set:N=>B.value=N})}if(t)for(const I in t)N4(t[I],S,r,I);if(d){const I=Vi(d)?d.call(r):d;Reflect.ownKeys(I).forEach(R=>{as(R,I[R])})}i&&Y3(i,n,"c");function O(I,R){xi(R)?R.forEach(z=>I(z.bind(r))):R&&I(R.bind(r))}if(O(xy,M),O(nl,g),O(D4,p),O(R4,u),O(I4,a),O(O4,c),O(i7,C),O(r7,_),O(n7,y),O(Sl,l),O(z4,f),O(t7,w),xi(k))if(k.length){const I=n.exposed||(n.exposed={});k.forEach(R=>{Object.defineProperty(I,R,{get:()=>r[R],set:z=>r[R]=z})})}else n.exposed||(n.exposed={});m&&n.render===Lc&&(n.render=m),E!=null&&(n.inheritAttrs=E),T&&(n.components=T),A&&(n.directives=A)}function u7(n,e,r=Lc,S=!1){xi(n)&&(n=Gb(n));for(const D in n){const x=n[D];let o;lo(x)?"default"in x?o=Sa(x.from||D,x.default,!0):o=Sa(x.from||D):o=Sa(x),to(o)&&S?Object.defineProperty(e,D,{enumerable:!0,configurable:!0,get:()=>o.value,set:t=>o.value=t}):e[D]=o}}function Y3(n,e,r){qu(xi(n)?n.map(S=>S.bind(e.proxy)):n.bind(e.proxy),e,r)}function N4(n,e,r,S){const D=S.includes(".")?S4(r,S):()=>r[S];if(zo(n)){const x=e[n];Vi(x)&&ei(D,x)}else if(Vi(n))ei(D,n.bind(r));else if(lo(n))if(xi(n))n.forEach(x=>N4(x,e,r,S));else{const x=Vi(n.handler)?n.handler.bind(r):e[n.handler];Vi(x)&&ei(D,x,n)}}function l2(n){const e=n.type,{mixins:r,extends:S}=e,{mixins:D,optionsCache:x,config:{optionMergeStrategies:o}}=n.appContext,t=x.get(e);let d;return t?d=t:!D.length&&!r&&!S?d=e:(d={},D.length&&D.forEach(v=>Dv(d,v,o,!0)),Dv(d,e,o)),lo(e)&&x.set(e,d),d}function Dv(n,e,r,S=!1){const{mixins:D,extends:x}=e;x&&Dv(n,x,r,!0),D&&D.forEach(o=>Dv(n,o,r,!0));for(const o in e)if(!(S&&o==="expose")){const t=c7[o]||r&&r[o];n[o]=t?t(n[o],e[o]):e[o]}return n}const c7={data:Z3,props:dd,emits:dd,methods:dd,computed:dd,beforeCreate:xl,created:xl,beforeMount:xl,mounted:xl,beforeUpdate:xl,updated:xl,beforeDestroy:xl,beforeUnmount:xl,destroyed:xl,unmounted:xl,activated:xl,deactivated:xl,errorCaptured:xl,serverPrefetch:xl,components:dd,directives:dd,watch:h7,provide:Z3,inject:f7};function Z3(n,e){return e?n?function(){return Ss(Vi(n)?n.call(this,this):n,Vi(e)?e.call(this,this):e)}:e:n}function f7(n,e){return dd(Gb(n),Gb(e))}function Gb(n){if(xi(n)){const e={};for(let r=0;r0)&&!(o&16)){if(o&8){const i=n.vnode.dynamicProps;for(let M=0;M{d=!0;const[g,p]=j4(M,e,!0);Ss(o,g),p&&t.push(...p)};!r&&e.mixins.length&&e.mixins.forEach(i),n.extends&&i(n.extends),n.mixins&&n.mixins.forEach(i)}if(!x&&!d)return lo(n)&&S.set(n,Ep),Ep;if(xi(x))for(let i=0;i-1,p[1]=a<0||u-1||xa(p,"default"))&&t.push(M)}}}const v=[o,t];return lo(n)&&S.set(n,v),v}function X3(n){return n[0]!=="$"}function K3(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function J3(n,e){return K3(n)===K3(e)}function Q3(n,e){return xi(e)?e.findIndex(r=>J3(r,n)):Vi(e)&&J3(e,n)?0:-1}const U4=n=>n[0]==="_"||n==="$stable",u2=n=>xi(n)?n.map(of):[of(n)],m7=(n,e,r)=>{if(e._n)return e;const S=Yr((...D)=>u2(e(...D)),r);return S._c=!1,S},H4=(n,e,r)=>{const S=n._ctx;for(const D in n){if(U4(D))continue;const x=n[D];if(Vi(x))e[D]=m7(D,x,S);else if(x!=null){const o=u2(x);e[D]=()=>o}}},G4=(n,e)=>{const r=u2(e);n.slots.default=()=>r},g7=(n,e)=>{if(n.vnode.shapeFlag&32){const r=e._;r?(n.slots=Ii(e),Lv(e,"_",r)):H4(e,n.slots={})}else n.slots={},e&&G4(n,e);Lv(n.slots,_y,1)},v7=(n,e,r)=>{const{vnode:S,slots:D}=n;let x=!0,o=so;if(S.shapeFlag&32){const t=e._;t?r&&t===1?x=!1:(Ss(D,e),!r&&t===1&&delete D._):(x=!e.$stable,H4(e,D)),o=e}else e&&(G4(n,e),o={default:1});if(x)for(const t in D)!U4(t)&&!(t in o)&&delete D[t]};function W4(){return{app:null,config:{isNativeTag:JC,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let y7=0;function b7(n,e){return function(S,D=null){Vi(S)||(S=Object.assign({},S)),D!=null&&!lo(D)&&(D=null);const x=W4(),o=new Set;let t=!1;const d=x.app={_uid:y7++,_component:S,_props:D,_container:null,_context:x,_instance:null,version:U7,get config(){return x.config},set config(v){},use(v,...i){return o.has(v)||(v&&Vi(v.install)?(o.add(v),v.install(d,...i)):Vi(v)&&(o.add(v),v(d,...i))),d},mixin(v){return x.mixins.includes(v)||x.mixins.push(v),d},component(v,i){return i?(x.components[v]=i,d):x.components[v]},directive(v,i){return i?(x.directives[v]=i,d):x.directives[v]},mount(v,i,M){if(!t){const g=dt(S,D);return g.appContext=x,i&&e?e(g,v):n(g,v,M),t=!0,d._container=v,v.__vue_app__=d,Ty(g.component)||g.component.proxy}},unmount(){t&&(n(null,d._container),delete d._container.__vue_app__)},provide(v,i){return x.provides[v]=i,d}};return d}}function qb(n,e,r,S,D=!1){if(xi(n)){n.forEach((g,p)=>qb(g,e&&(xi(e)?e[p]:e),r,S,D));return}if(im(S)&&!D)return;const x=S.shapeFlag&4?Ty(S.component)||S.component.proxy:S.el,o=D?null:x,{i:t,r:d}=n,v=e&&e.r,i=t.refs===so?t.refs={}:t.refs,M=t.setupState;if(v!=null&&v!==d&&(zo(v)?(i[v]=null,xa(M,v)&&(M[v]=null)):to(v)&&(v.value=null)),Vi(d))Oh(d,t,12,[o,i]);else{const g=zo(d),p=to(d);if(g||p){const u=()=>{if(n.f){const a=g?xa(M,d)?M[d]:i[d]:d.value;D?xi(a)&&qx(a,x):xi(a)?a.includes(x)||a.push(x):g?(i[d]=[x],xa(M,d)&&(M[d]=i[d])):(d.value=[x],n.k&&(i[n.k]=d.value))}else g?(i[d]=o,xa(M,d)&&(M[d]=o)):p&&(d.value=o,n.k&&(i[n.k]=o))};o?(u.id=-1,Ul(u,r)):u()}}}const Ul=KE;function x7(n){return _7(n)}function _7(n,e){const r=aE();r.__VUE__=!0;const{insert:S,remove:D,patchProp:x,createElement:o,createText:t,createComment:d,setText:v,setElementText:i,parentNode:M,nextSibling:g,setScopeId:p=Lc,insertStaticContent:u}=n,a=(Z,X,Q,re=null,ie=null,oe=null,ue=!1,ce=null,ye=!!X.dynamicChildren)=>{if(Z===X)return;Z&&!md(Z,X)&&(re=G(Z),N(Z,ie,oe,!0),Z=null),X.patchFlag===-2&&(ye=!1,X.dynamicChildren=null);const{type:de,ref:me,shapeFlag:pe}=X;switch(de){case jm:c(Z,X,Q,re);break;case $u:s(Z,X,Q,re);break;case bv:Z==null&&l(X,Q,re,ue);break;case Xr:T(Z,X,Q,re,ie,oe,ue,ce,ye);break;default:pe&1?m(Z,X,Q,re,ie,oe,ue,ce,ye):pe&6?A(Z,X,Q,re,ie,oe,ue,ce,ye):(pe&64||pe&128)&&de.process(Z,X,Q,re,ie,oe,ue,ce,ye,H)}me!=null&&ie&&qb(me,Z&&Z.ref,oe,X||Z,!X)},c=(Z,X,Q,re)=>{if(Z==null)S(X.el=t(X.children),Q,re);else{const ie=X.el=Z.el;X.children!==Z.children&&v(ie,X.children)}},s=(Z,X,Q,re)=>{Z==null?S(X.el=d(X.children||""),Q,re):X.el=Z.el},l=(Z,X,Q,re)=>{[Z.el,Z.anchor]=u(Z.children,X,Q,re,Z.el,Z.anchor)},h=({el:Z,anchor:X},Q,re)=>{let ie;for(;Z&&Z!==X;)ie=g(Z),S(Z,Q,re),Z=ie;S(X,Q,re)},f=({el:Z,anchor:X})=>{let Q;for(;Z&&Z!==X;)Q=g(Z),D(Z),Z=Q;D(X)},m=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{ue=ue||X.type==="svg",Z==null?_(X,Q,re,ie,oe,ue,ce,ye):w(Z,X,ie,oe,ue,ce,ye)},_=(Z,X,Q,re,ie,oe,ue,ce)=>{let ye,de;const{type:me,props:pe,shapeFlag:xe,transition:Pe,dirs:_e}=Z;if(ye=Z.el=o(Z.type,oe,pe&&pe.is,pe),xe&8?i(ye,Z.children):xe&16&&C(Z.children,ye,null,re,ie,oe&&me!=="foreignObject",ue,ce),_e&&sd(Z,null,re,"created"),y(ye,Z,Z.scopeId,ue,re),pe){for(const Se in pe)Se!=="value"&&!vv(Se)&&x(ye,Se,null,pe[Se],oe,Z.children,re,ie,U);"value"in pe&&x(ye,"value",null,pe.value),(de=pe.onVnodeBeforeMount)&&nf(de,re,Z)}_e&&sd(Z,null,re,"beforeMount");const Me=(!ie||ie&&!ie.pendingBranch)&&Pe&&!Pe.persisted;Me&&Pe.beforeEnter(ye),S(ye,X,Q),((de=pe&&pe.onVnodeMounted)||Me||_e)&&Ul(()=>{de&&nf(de,re,Z),Me&&Pe.enter(ye),_e&&sd(Z,null,re,"mounted")},ie)},y=(Z,X,Q,re,ie)=>{if(Q&&p(Z,Q),re)for(let oe=0;oe{for(let de=ye;de{const ce=X.el=Z.el;let{patchFlag:ye,dynamicChildren:de,dirs:me}=X;ye|=Z.patchFlag&16;const pe=Z.props||so,xe=X.props||so;let Pe;Q&&ld(Q,!1),(Pe=xe.onVnodeBeforeUpdate)&&nf(Pe,Q,X,Z),me&&sd(X,Z,Q,"beforeUpdate"),Q&&ld(Q,!0);const _e=ie&&X.type!=="foreignObject";if(de?k(Z.dynamicChildren,de,ce,Q,re,_e,oe):ue||R(Z,X,ce,null,Q,re,_e,oe,!1),ye>0){if(ye&16)E(ce,X,pe,xe,Q,re,ie);else if(ye&2&&pe.class!==xe.class&&x(ce,"class",null,xe.class,ie),ye&4&&x(ce,"style",pe.style,xe.style,ie),ye&8){const Me=X.dynamicProps;for(let Se=0;Se{Pe&&nf(Pe,Q,X,Z),me&&sd(X,Z,Q,"updated")},re)},k=(Z,X,Q,re,ie,oe,ue)=>{for(let ce=0;ce{if(Q!==re){if(Q!==so)for(const ce in Q)!vv(ce)&&!(ce in re)&&x(Z,ce,Q[ce],null,ue,X.children,ie,oe,U);for(const ce in re){if(vv(ce))continue;const ye=re[ce],de=Q[ce];ye!==de&&ce!=="value"&&x(Z,ce,de,ye,ue,X.children,ie,oe,U)}"value"in re&&x(Z,"value",Q.value,re.value)}},T=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{const de=X.el=Z?Z.el:t(""),me=X.anchor=Z?Z.anchor:t("");let{patchFlag:pe,dynamicChildren:xe,slotScopeIds:Pe}=X;Pe&&(ce=ce?ce.concat(Pe):Pe),Z==null?(S(de,Q,re),S(me,Q,re),C(X.children,Q,me,ie,oe,ue,ce,ye)):pe>0&&pe&64&&xe&&Z.dynamicChildren?(k(Z.dynamicChildren,xe,Q,ie,oe,ue,ce),(X.key!=null||ie&&X===ie.subTree)&&c2(Z,X,!0)):R(Z,X,Q,me,ie,oe,ue,ce,ye)},A=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{X.slotScopeIds=ce,Z==null?X.shapeFlag&512?ie.ctx.activate(X,Q,re,ue,ye):L(X,Q,re,ie,oe,ue,ye):b(Z,X,ye)},L=(Z,X,Q,re,ie,oe,ue)=>{const ce=Z.component=P7(Z,re,ie);if(yy(Z)&&(ce.ctx.renderer=H),D7(ce),ce.asyncDep){if(ie&&ie.registerDep(ce,O),!Z.el){const ye=ce.subTree=dt($u);s(null,ye,X,Q)}return}O(ce,Z,X,Q,ie,oe,ue)},b=(Z,X,Q)=>{const re=X.component=Z.component;if(YE(Z,X,Q))if(re.asyncDep&&!re.asyncResolved){I(re,X,Q);return}else re.next=X,UE(re.update),re.update();else X.el=Z.el,re.vnode=X},O=(Z,X,Q,re,ie,oe,ue)=>{const ce=()=>{if(Z.isMounted){let{next:me,bu:pe,u:xe,parent:Pe,vnode:_e}=Z,Me=me,Se;ld(Z,!1),me?(me.el=_e.el,I(Z,me,ue)):me=_e,pe&&yv(pe),(Se=me.props&&me.props.onVnodeBeforeUpdate)&&nf(Se,Pe,me,_e),ld(Z,!0);const Ce=ab(Z),ae=Z.subTree;Z.subTree=Ce,a(ae,Ce,M(ae.el),G(ae),Z,ie,oe),me.el=Ce.el,Me===null&&ZE(Z,Ce.el),xe&&Ul(xe,ie),(Se=me.props&&me.props.onVnodeUpdated)&&Ul(()=>nf(Se,Pe,me,_e),ie)}else{let me;const{el:pe,props:xe}=X,{bm:Pe,m:_e,parent:Me}=Z,Se=im(X);if(ld(Z,!1),Pe&&yv(Pe),!Se&&(me=xe&&xe.onVnodeBeforeMount)&&nf(me,Me,X),ld(Z,!0),pe&&te){const Ce=()=>{Z.subTree=ab(Z),te(pe,Z.subTree,Z,ie,null)};Se?X.type.__asyncLoader().then(()=>!Z.isUnmounted&&Ce()):Ce()}else{const Ce=Z.subTree=ab(Z);a(null,Ce,Q,re,Z,ie,oe),X.el=Ce.el}if(_e&&Ul(_e,ie),!Se&&(me=xe&&xe.onVnodeMounted)){const Ce=X;Ul(()=>nf(me,Me,Ce),ie)}(X.shapeFlag&256||Me&&im(Me.vnode)&&Me.vnode.shapeFlag&256)&&Z.a&&Ul(Z.a,ie),Z.isMounted=!0,X=Q=re=null}},ye=Z.effect=new Xx(ce,()=>r2(de),Z.scope),de=Z.update=()=>ye.run();de.id=Z.uid,ld(Z,!0),de()},I=(Z,X,Q)=>{X.component=Z;const re=Z.vnode.props;Z.vnode=X,Z.next=null,p7(Z,X.props,re,Q),v7(Z,X.children,Q),s0(),G3(),l0()},R=(Z,X,Q,re,ie,oe,ue,ce,ye=!1)=>{const de=Z&&Z.children,me=Z?Z.shapeFlag:0,pe=X.children,{patchFlag:xe,shapeFlag:Pe}=X;if(xe>0){if(xe&128){F(de,pe,Q,re,ie,oe,ue,ce,ye);return}else if(xe&256){z(de,pe,Q,re,ie,oe,ue,ce,ye);return}}Pe&8?(me&16&&U(de,ie,oe),pe!==de&&i(Q,pe)):me&16?Pe&16?F(de,pe,Q,re,ie,oe,ue,ce,ye):U(de,ie,oe,!0):(me&8&&i(Q,""),Pe&16&&C(pe,Q,re,ie,oe,ue,ce,ye))},z=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{Z=Z||Ep,X=X||Ep;const de=Z.length,me=X.length,pe=Math.min(de,me);let xe;for(xe=0;xeme?U(Z,ie,oe,!0,!1,pe):C(X,Q,re,ie,oe,ue,ce,ye,pe)},F=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{let de=0;const me=X.length;let pe=Z.length-1,xe=me-1;for(;de<=pe&&de<=xe;){const Pe=Z[de],_e=X[de]=ye?Sh(X[de]):of(X[de]);if(md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;de++}for(;de<=pe&&de<=xe;){const Pe=Z[pe],_e=X[xe]=ye?Sh(X[xe]):of(X[xe]);if(md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;pe--,xe--}if(de>pe){if(de<=xe){const Pe=xe+1,_e=Pexe)for(;de<=pe;)N(Z[de],ie,oe,!0),de++;else{const Pe=de,_e=de,Me=new Map;for(de=_e;de<=xe;de++){const Be=X[de]=ye?Sh(X[de]):of(X[de]);Be.key!=null&&Me.set(Be.key,de)}let Se,Ce=0;const ae=xe-_e+1;let he=!1,be=0;const ke=new Array(ae);for(de=0;de=ae){N(Be,ie,oe,!0);continue}let ze;if(Be.key!=null)ze=Me.get(Be.key);else for(Se=_e;Se<=xe;Se++)if(ke[Se-_e]===0&&md(Be,X[Se])){ze=Se;break}ze===void 0?N(Be,ie,oe,!0):(ke[ze-_e]=de+1,ze>=be?be=ze:he=!0,a(Be,X[ze],Q,null,ie,oe,ue,ce,ye),Ce++)}const Le=he?w7(ke):Ep;for(Se=Le.length-1,de=ae-1;de>=0;de--){const Be=_e+de,ze=X[Be],je=Be+1{const{el:oe,type:ue,transition:ce,children:ye,shapeFlag:de}=Z;if(de&6){B(Z.component.subTree,X,Q,re);return}if(de&128){Z.suspense.move(X,Q,re);return}if(de&64){ue.move(Z,X,Q,H);return}if(ue===Xr){S(oe,X,Q);for(let pe=0;pece.enter(oe),ie);else{const{leave:pe,delayLeave:xe,afterLeave:Pe}=ce,_e=()=>S(oe,X,Q),Me=()=>{pe(oe,()=>{_e(),Pe&&Pe()})};xe?xe(oe,_e,Me):Me()}else S(oe,X,Q)},N=(Z,X,Q,re=!1,ie=!1)=>{const{type:oe,props:ue,ref:ce,children:ye,dynamicChildren:de,shapeFlag:me,patchFlag:pe,dirs:xe}=Z;if(ce!=null&&qb(ce,null,Q,Z,!0),me&256){X.ctx.deactivate(Z);return}const Pe=me&1&&xe,_e=!im(Z);let Me;if(_e&&(Me=ue&&ue.onVnodeBeforeUnmount)&&nf(Me,X,Z),me&6)Y(Z.component,Q,re);else{if(me&128){Z.suspense.unmount(Q,re);return}Pe&&sd(Z,null,X,"beforeUnmount"),me&64?Z.type.remove(Z,X,Q,ie,H,re):de&&(oe!==Xr||pe>0&&pe&64)?U(de,X,Q,!1,!0):(oe===Xr&&pe&384||!ie&&me&16)&&U(ye,X,Q),re&&q(Z)}(_e&&(Me=ue&&ue.onVnodeUnmounted)||Pe)&&Ul(()=>{Me&&nf(Me,X,Z),Pe&&sd(Z,null,X,"unmounted")},Q)},q=Z=>{const{type:X,el:Q,anchor:re,transition:ie}=Z;if(X===Xr){j(Q,re);return}if(X===bv){f(Z);return}const oe=()=>{D(Q),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(Z.shapeFlag&1&&ie&&!ie.persisted){const{leave:ue,delayLeave:ce}=ie,ye=()=>ue(Q,oe);ce?ce(Z.el,oe,ye):ye()}else oe()},j=(Z,X)=>{let Q;for(;Z!==X;)Q=g(Z),D(Z),Z=Q;D(X)},Y=(Z,X,Q)=>{const{bum:re,scope:ie,update:oe,subTree:ue,um:ce}=Z;re&&yv(re),ie.stop(),oe&&(oe.active=!1,N(ue,Z,X,Q)),ce&&Ul(ce,X),Ul(()=>{Z.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&Z.asyncDep&&!Z.asyncResolved&&Z.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},U=(Z,X,Q,re=!1,ie=!1,oe=0)=>{for(let ue=oe;ueZ.shapeFlag&6?G(Z.component.subTree):Z.shapeFlag&128?Z.suspense.next():g(Z.anchor||Z.el),W=(Z,X,Q)=>{Z==null?X._vnode&&N(X._vnode,null,null,!0):a(X._vnode||null,Z,X,null,null,null,Q),G3(),k4(),X._vnode=Z},H={p:a,um:N,m:B,r:q,mt:L,mc:C,pc:R,pbc:k,n:G,o:n};let ne,te;return e&&([ne,te]=e(H)),{render:W,hydrate:ne,createApp:b7(W,ne)}}function ld({effect:n,update:e},r){n.allowRecurse=e.allowRecurse=r}function c2(n,e,r=!1){const S=n.children,D=e.children;if(xi(S)&&xi(D))for(let x=0;x>1,n[r[t]]0&&(e[S]=r[x-1]),r[x]=S)}}for(x=r.length,o=r[x-1];x-- >0;)r[x]=o,o=e[o];return r}const T7=n=>n.__isTeleport,om=n=>n&&(n.disabled||n.disabled===""),e5=n=>typeof SVGElement<"u"&&n instanceof SVGElement,$b=(n,e)=>{const r=n&&n.to;return zo(r)?e?e(r):null:r},k7={__isTeleport:!0,process(n,e,r,S,D,x,o,t,d,v){const{mc:i,pc:M,pbc:g,o:{insert:p,querySelector:u,createText:a,createComment:c}}=v,s=om(e.props);let{shapeFlag:l,children:h,dynamicChildren:f}=e;if(n==null){const m=e.el=a(""),_=e.anchor=a("");p(m,r,S),p(_,r,S);const y=e.target=$b(e.props,u),C=e.targetAnchor=a("");y&&(p(C,y),o=o||e5(y));const w=(k,E)=>{l&16&&i(h,k,E,D,x,o,t,d)};s?w(r,_):y&&w(y,C)}else{e.el=n.el;const m=e.anchor=n.anchor,_=e.target=n.target,y=e.targetAnchor=n.targetAnchor,C=om(n.props),w=C?r:_,k=C?m:y;if(o=o||e5(_),f?(g(n.dynamicChildren,f,w,D,x,o,t),c2(n,e,!0)):d||M(n,e,w,k,D,x,o,t,!1),s)C||ov(e,r,m,v,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const E=e.target=$b(e.props,u);E&&ov(e,E,null,v,0)}else C&&ov(e,_,y,v,1)}q4(e)},remove(n,e,r,S,{um:D,o:{remove:x}},o){const{shapeFlag:t,children:d,anchor:v,targetAnchor:i,target:M,props:g}=n;if(M&&x(i),(o||!om(g))&&(x(v),t&16))for(let p=0;p0?Ac||Ep:null,S7(),wm>0&&Ac&&Ac.push(n),n}function ai(n,e,r,S,D,x){return $4(Nr(n,e,r,S,D,x,!0))}function Aa(n,e,r,S,D){return $4(dt(n,e,r,S,D,!0))}function Rv(n){return n?n.__v_isVNode===!0:!1}function md(n,e){return n.type===e.type&&n.key===e.key}const _y="__vInternal",Y4=({key:n})=>n??null,xv=({ref:n,ref_key:e,ref_for:r})=>n!=null?zo(n)||to(n)||Vi(n)?{i:Us,r:n,k:e,f:!!r}:n:null;function Nr(n,e=null,r=null,S=0,D=null,x=n===Xr?0:1,o=!1,t=!1){const d={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&Y4(e),ref:e&&xv(e),scopeId:vy,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:x,patchFlag:S,dynamicProps:D,dynamicChildren:null,appContext:null,ctx:Us};return t?(f2(d,r),x&128&&n.normalize(d)):r&&(d.shapeFlag|=zo(r)?8:16),wm>0&&!o&&Ac&&(d.patchFlag>0||x&6)&&d.patchFlag!==32&&Ac.push(d),d}const dt=C7;function C7(n,e=null,r=null,S=0,D=null,x=!1){if((!n||n===F4)&&(n=$u),Rv(n)){const t=$f(n,e,!0);return r&&f2(t,r),wm>0&&!x&&Ac&&(t.shapeFlag&6?Ac[Ac.indexOf(n)]=t:Ac.push(t)),t.patchFlag|=-2,t}if(N7(n)&&(n=n.__vccOpts),e){e=E7(e);let{class:t,style:d}=e;t&&!zo(t)&&(e.class=vu(t)),lo(d)&&(g4(d)&&!xi(d)&&(d=Ss({},d)),e.style=Bs(d))}const o=zo(n)?1:XE(n)?128:T7(n)?64:lo(n)?4:Vi(n)?2:0;return Nr(n,e,r,S,D,o,x,!0)}function E7(n){return n?g4(n)||_y in n?Ss({},n):n:null}function $f(n,e,r=!1){const{props:S,ref:D,patchFlag:x,children:o}=n,t=e?Zr(S||{},e):S;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:t,key:t&&Y4(t),ref:e&&e.ref?r&&D?xi(D)?D.concat(xv(e)):[D,xv(e)]:xv(e):D,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:o,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Xr?x===-1?16:x|16:x,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&$f(n.ssContent),ssFallback:n.ssFallback&&$f(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function ki(n=" ",e=0){return dt(jm,null,n,e)}function L7(n,e){const r=dt(bv,null,n);return r.staticCount=e,r}function pa(n="",e=!1){return e?(Dr(),Aa($u,null,n)):dt($u,null,n)}function of(n){return n==null||typeof n=="boolean"?dt($u):xi(n)?dt(Xr,null,n.slice()):typeof n=="object"?Sh(n):dt(jm,null,String(n))}function Sh(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:$f(n)}function f2(n,e){let r=0;const{shapeFlag:S}=n;if(e==null)e=null;else if(xi(e))r=16;else if(typeof e=="object")if(S&65){const D=e.default;D&&(D._c&&(D._d=!1),f2(n,D()),D._c&&(D._d=!0));return}else{r=32;const D=e._;!D&&!(_y in e)?e._ctx=Us:D===3&&Us&&(Us.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else Vi(e)?(e={default:e,_ctx:Us},r=32):(e=String(e),S&64?(r=16,e=[ki(e)]):r=8);n.children=e,n.shapeFlag|=r}function Zr(...n){const e={};for(let r=0;rXo||Us,Vp=n=>{Xo=n,n.scope.on()},kd=()=>{Xo&&Xo.scope.off(),Xo=null};function Z4(n){return n.vnode.shapeFlag&4}let Tm=!1;function D7(n,e=!1){Tm=e;const{props:r,children:S}=n.vnode,D=Z4(n);d7(n,r,D,e),g7(n,S);const x=D?R7(n,e):void 0;return Tm=!1,x}function R7(n,e){const r=n.type;n.accessCache=Object.create(null),n.proxy=Np(new Proxy(n.ctx,s7));const{setup:S}=r;if(S){const D=n.setupContext=S.length>1?F7(n):null;Vp(n),s0();const x=Oh(S,n,0,[n.props,D]);if(l0(),kd(),t4(x)){if(x.then(kd,kd),e)return x.then(o=>{n5(n,o,e)}).catch(o=>{my(o,n,0)});n.asyncDep=x}else n5(n,x,e)}else X4(n,e)}function n5(n,e,r){Vi(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:lo(e)&&(n.setupState=x4(e)),X4(n,r)}let r5;function X4(n,e,r){const S=n.type;if(!n.render){if(!e&&r5&&!S.render){const D=S.template||l2(n).template;if(D){const{isCustomElement:x,compilerOptions:o}=n.appContext.config,{delimiters:t,compilerOptions:d}=S,v=Ss(Ss({isCustomElement:x,delimiters:t},o),d);S.render=r5(D,v)}}n.render=S.render||Lc}Vp(n),s0(),l7(n),l0(),kd()}function z7(n){return new Proxy(n.attrs,{get(e,r){return ql(n,"get","$attrs"),e[r]}})}function F7(n){const e=S=>{n.exposed=S||{}};let r;return{get attrs(){return r||(r=z7(n))},slots:n.slots,emit:n.emit,expose:e}}function Ty(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(x4(Np(n.exposed)),{get(e,r){if(r in e)return e[r];if(r in am)return am[r](n)},has(e,r){return r in e||r in am}}))}function B7(n,e=!0){return Vi(n)?n.displayName||n.name:n.name||e&&n.__name}function N7(n){return Vi(n)&&"__vccOpts"in n}const cn=(n,e)=>NE(n,e,Tm);function jh(n,e,r){const S=arguments.length;return S===2?lo(e)&&!xi(e)?Rv(e)?dt(n,null,[e]):dt(n,e):dt(n,null,e):(S>3?r=Array.prototype.slice.call(arguments,2):S===3&&Rv(r)&&(r=[r]),dt(n,e,r))}const V7=Symbol(""),j7=()=>Sa(V7),U7="3.2.47",H7="http://www.w3.org/2000/svg",gd=typeof document<"u"?document:null,i5=gd&&gd.createElement("template"),G7={insert:(n,e,r)=>{e.insertBefore(n,r||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,r,S)=>{const D=e?gd.createElementNS(H7,n):gd.createElement(n,r?{is:r}:void 0);return n==="select"&&S&&S.multiple!=null&&D.setAttribute("multiple",S.multiple),D},createText:n=>gd.createTextNode(n),createComment:n=>gd.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>gd.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,r,S,D,x){const o=r?r.previousSibling:e.lastChild;if(D&&(D===x||D.nextSibling))for(;e.insertBefore(D.cloneNode(!0),r),!(D===x||!(D=D.nextSibling)););else{i5.innerHTML=S?`${n}`:n;const t=i5.content;if(S){const d=t.firstChild;for(;d.firstChild;)t.appendChild(d.firstChild);t.removeChild(d)}e.insertBefore(t,r)}return[o?o.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function W7(n,e,r){const S=n._vtc;S&&(e=(e?[e,...S]:[...S]).join(" ")),e==null?n.removeAttribute("class"):r?n.setAttribute("class",e):n.className=e}function q7(n,e,r){const S=n.style,D=zo(r);if(r&&!D){if(e&&!zo(e))for(const x in e)r[x]==null&&Yb(S,x,"");for(const x in r)Yb(S,x,r[x])}else{const x=S.display;D?e!==r&&(S.cssText=r):e&&n.removeAttribute("style"),"_vod"in n&&(S.display=x)}}const a5=/\s*!important$/;function Yb(n,e,r){if(xi(r))r.forEach(S=>Yb(n,e,S));else if(r==null&&(r=""),e.startsWith("--"))n.setProperty(e,r);else{const S=$7(n,e);a5.test(r)?n.setProperty(o0(S),r.replace(a5,""),"important"):n[S]=r}}const o5=["Webkit","Moz","ms"],ub={};function $7(n,e){const r=ub[e];if(r)return r;let S=Zu(e);if(S!=="filter"&&S in n)return ub[e]=S;S=Jf(S);for(let D=0;Dcb||(Q7.then(()=>cb=0),cb=Date.now());function t9(n,e){const r=S=>{if(!S._vts)S._vts=Date.now();else if(S._vts<=r.attached)return;qu(n9(S,r.value),e,5,[S])};return r.value=n,r.attached=e9(),r}function n9(n,e){if(xi(e)){const r=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0},e.map(S=>D=>!D._stopped&&S&&S(D))}else return e}const u5=/^on[a-z]/,r9=(n,e,r,S,D=!1,x,o,t,d)=>{e==="class"?W7(n,S,D):e==="style"?q7(n,r,S):cy(e)?Wx(e)||K7(n,e,r,S,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):i9(n,e,S,D))?Z7(n,e,S,x,o,t,d):(e==="true-value"?n._trueValue=S:e==="false-value"&&(n._falseValue=S),Y7(n,e,S,D))};function i9(n,e,r,S){return S?!!(e==="innerHTML"||e==="textContent"||e in n&&u5.test(e)&&Vi(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||u5.test(e)&&zo(r)?!1:e in n}const wh="transition",Z0="animation",hf=(n,{slots:e})=>jh(E4,J4(n),e);hf.displayName="Transition";const K4={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},a9=hf.props=Ss({},E4.props,K4),ud=(n,e=[])=>{xi(n)?n.forEach(r=>r(...e)):n&&n(...e)},c5=n=>n?xi(n)?n.some(e=>e.length>1):n.length>1:!1;function J4(n){const e={};for(const T in n)T in K4||(e[T]=n[T]);if(n.css===!1)return e;const{name:r="v",type:S,duration:D,enterFromClass:x=`${r}-enter-from`,enterActiveClass:o=`${r}-enter-active`,enterToClass:t=`${r}-enter-to`,appearFromClass:d=x,appearActiveClass:v=o,appearToClass:i=t,leaveFromClass:M=`${r}-leave-from`,leaveActiveClass:g=`${r}-leave-active`,leaveToClass:p=`${r}-leave-to`}=n,u=o9(D),a=u&&u[0],c=u&&u[1],{onBeforeEnter:s,onEnter:l,onEnterCancelled:h,onLeave:f,onLeaveCancelled:m,onBeforeAppear:_=s,onAppear:y=l,onAppearCancelled:C=h}=e,w=(T,A,L)=>{kh(T,A?i:t),kh(T,A?v:o),L&&L()},k=(T,A)=>{T._isLeaving=!1,kh(T,M),kh(T,p),kh(T,g),A&&A()},E=T=>(A,L)=>{const b=T?y:l,O=()=>w(A,T,L);ud(b,[A,O]),f5(()=>{kh(A,T?d:x),Ff(A,T?i:t),c5(b)||h5(A,S,a,O)})};return Ss(e,{onBeforeEnter(T){ud(s,[T]),Ff(T,x),Ff(T,o)},onBeforeAppear(T){ud(_,[T]),Ff(T,d),Ff(T,v)},onEnter:E(!1),onAppear:E(!0),onLeave(T,A){T._isLeaving=!0;const L=()=>k(T,A);Ff(T,M),ek(),Ff(T,g),f5(()=>{T._isLeaving&&(kh(T,M),Ff(T,p),c5(f)||h5(T,S,c,L))}),ud(f,[T,L])},onEnterCancelled(T){w(T,!1),ud(h,[T])},onAppearCancelled(T){w(T,!0),ud(C,[T])},onLeaveCancelled(T){k(T),ud(m,[T])}})}function o9(n){if(n==null)return null;if(lo(n))return[fb(n.enter),fb(n.leave)];{const e=fb(n);return[e,e]}}function fb(n){return iE(n)}function Ff(n,e){e.split(/\s+/).forEach(r=>r&&n.classList.add(r)),(n._vtc||(n._vtc=new Set)).add(e)}function kh(n,e){e.split(/\s+/).forEach(S=>S&&n.classList.remove(S));const{_vtc:r}=n;r&&(r.delete(e),r.size||(n._vtc=void 0))}function f5(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let s9=0;function h5(n,e,r,S){const D=n._endId=++s9,x=()=>{D===n._endId&&S()};if(r)return setTimeout(x,r);const{type:o,timeout:t,propCount:d}=Q4(n,e);if(!o)return S();const v=o+"end";let i=0;const M=()=>{n.removeEventListener(v,g),x()},g=p=>{p.target===n&&++i>=d&&M()};setTimeout(()=>{i(r[u]||"").split(", "),D=S(`${wh}Delay`),x=S(`${wh}Duration`),o=d5(D,x),t=S(`${Z0}Delay`),d=S(`${Z0}Duration`),v=d5(t,d);let i=null,M=0,g=0;e===wh?o>0&&(i=wh,M=o,g=x.length):e===Z0?v>0&&(i=Z0,M=v,g=d.length):(M=Math.max(o,v),i=M>0?o>v?wh:Z0:null,g=i?i===wh?x.length:d.length:0);const p=i===wh&&/\b(transform|all)(,|$)/.test(S(`${wh}Property`).toString());return{type:i,timeout:M,propCount:g,hasTransform:p}}function d5(n,e){for(;n.lengthp5(r)+p5(n[S])))}function p5(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function ek(){return document.body.offsetHeight}const tk=new WeakMap,nk=new WeakMap,rk={name:"TransitionGroup",props:Ss({},a9,{tag:String,moveClass:String}),setup(n,{slots:e}){const r=wy(),S=C4();let D,x;return R4(()=>{if(!D.length)return;const o=n.moveClass||`${n.name||"v"}-move`;if(!d9(D[0].el,r.vnode.el,o))return;D.forEach(c9),D.forEach(f9);const t=D.filter(h9);ek(),t.forEach(d=>{const v=d.el,i=v.style;Ff(v,o),i.transform=i.webkitTransform=i.transitionDuration="";const M=v._moveCb=g=>{g&&g.target!==v||(!g||/transform$/.test(g.propertyName))&&(v.removeEventListener("transitionend",M),v._moveCb=null,kh(v,o))};v.addEventListener("transitionend",M)})}),()=>{const o=Ii(n),t=J4(o);let d=o.tag||Xr;D=x,x=e.default?a2(e.default()):[];for(let v=0;vdelete n.mode;rk.props;const u9=rk;function c9(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function f9(n){nk.set(n,n.el.getBoundingClientRect())}function h9(n){const e=tk.get(n),r=nk.get(n),S=e.left-r.left,D=e.top-r.top;if(S||D){const x=n.el.style;return x.transform=x.webkitTransform=`translate(${S}px,${D}px)`,x.transitionDuration="0s",n}}function d9(n,e,r){const S=n.cloneNode();n._vtc&&n._vtc.forEach(o=>{o.split(/\s+/).forEach(t=>t&&S.classList.remove(t))}),r.split(/\s+/).forEach(o=>o&&S.classList.add(o)),S.style.display="none";const D=e.nodeType===1?e:e.parentNode;D.appendChild(S);const{hasTransform:x}=Q4(S);return D.removeChild(S),x}const m5=n=>{const e=n.props["onUpdate:modelValue"]||!1;return xi(e)?r=>yv(e,r):e};function p9(n){n.target.composing=!0}function g5(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const m9={created(n,{modifiers:{lazy:e,trim:r,number:S}},D){n._assign=m5(D);const x=S||D.props&&D.props.type==="number";Mp(n,e?"change":"input",o=>{if(o.target.composing)return;let t=n.value;r&&(t=t.trim()),x&&(t=Fb(t)),n._assign(t)}),r&&Mp(n,"change",()=>{n.value=n.value.trim()}),e||(Mp(n,"compositionstart",p9),Mp(n,"compositionend",g5),Mp(n,"change",g5))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:r,trim:S,number:D}},x){if(n._assign=m5(x),n.composing||document.activeElement===n&&n.type!=="range"&&(r||S&&n.value.trim()===e||(D||n.type==="number")&&Fb(n.value)===e))return;const o=e??"";n.value!==o&&(n.value=o)}},g9=["ctrl","shift","alt","meta"],v9={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>g9.some(r=>n[`${r}Key`]&&!e.includes(r))},Wf=(n,e)=>(r,...S)=>{for(let D=0;D{X0(n,!1)}):X0(n,e))},beforeUnmount(n,{value:e}){X0(n,e)}};function X0(n,e){n.style.display=e?n._vod:"none"}const y9=Ss({patchProp:r9},G7);let v5;function b9(){return v5||(v5=x7(y9))}const x9=(...n)=>{const e=b9().createApp(...n),{mount:r}=e;return e.mount=S=>{const D=_9(S);if(!D)return;const x=e._component;!Vi(x)&&!x.render&&!x.template&&(x.template=D.innerHTML),D.innerHTML="";const o=r(D,!1,D instanceof SVGElement);return D instanceof Element&&(D.removeAttribute("v-cloak"),D.setAttribute("data-v-app","")),o},e};function _9(n){return zo(n)?document.querySelector(n):n}var w9=!1;/*! * pinia v2.0.35 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let ik;const ky=n=>ik=n,ak=Symbol();function Zb(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var lm;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(lm||(lm={}));function T9(){const n=Nm(!0),e=n.run(()=>Gr({}));let r=[],S=[];const D=Np({install(x){ky(D),D._a=x,x.provide(ak,D),x.config.globalProperties.$pinia=D,S.forEach(o=>r.push(o)),S=[]},use(x){return!this._a&&!w9?S.push(x):r.push(x),this},_p:r,_a:null,_e:n,_s:new Map,state:e});return D}const ok=()=>{};function y5(n,e,r,S=ok){n.push(e);const D=()=>{const x=n.indexOf(e);x>-1&&(n.splice(x,1),S())};return!r&&a4()&&Al(D),D}function yp(n,...e){n.slice().forEach(r=>{r(...e)})}function Xb(n,e){n instanceof Map&&e instanceof Map&&e.forEach((r,S)=>n.set(S,r)),n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const r in e){if(!e.hasOwnProperty(r))continue;const S=e[r],D=n[r];Zb(D)&&Zb(S)&&n.hasOwnProperty(r)&&!to(S)&&!Ih(S)?n[r]=Xb(D,S):n[r]=S}return n}const k9=Symbol();function M9(n){return!Zb(n)||!n.hasOwnProperty(k9)}const{assign:Mh}=Object;function A9(n){return!!(to(n)&&n.effect)}function S9(n,e,r,S){const{state:D,actions:x,getters:o}=e,t=r.state.value[n];let d;function g(){t||(r.state.value[n]=D?D():{});const i=py(r.state.value[n]);return Mh(i,x,Object.keys(o||{}).reduce((M,v)=>(M[v]=Np(cn(()=>{ky(r);const p=r._s.get(n);return o[v].call(p,p)})),M),{}))}return d=sk(n,g,e,r,S,!0),d}function sk(n,e,r={},S,D,x){let o;const t=Mh({actions:{}},r),d={deep:!0};let g,i,M=Np([]),v=Np([]),p;const u=S.state.value[n];!x&&!u&&(S.state.value[n]={}),Gr({});let a;function c(y){let C;g=i=!1,typeof y=="function"?(y(S.state.value[n]),C={type:lm.patchFunction,storeId:n,events:p}):(Xb(S.state.value[n],y),C={type:lm.patchObject,payload:y,storeId:n,events:p});const w=a=Symbol();qa().then(()=>{a===w&&(g=!0)}),i=!0,yp(M,C,S.state.value[n])}const s=x?function(){const{state:C}=r,w=C?C():{};this.$patch(k=>{Mh(k,w)})}:ok;function l(){o.stop(),M=[],v=[],S._s.delete(n)}function h(y,C){return function(){ky(S);const w=Array.from(arguments),k=[],E=[];function T(b){k.push(b)}function A(b){E.push(b)}yp(v,{args:w,name:y,store:m,after:T,onError:A});let L;try{L=C.apply(this&&this.$id===n?this:m,w)}catch(b){throw yp(E,b),b}return L instanceof Promise?L.then(b=>(yp(k,b),b)).catch(b=>(yp(E,b),Promise.reject(b))):(yp(k,L),L)}}const f={_p:S,$id:n,$onAction:y5.bind(null,v),$patch:c,$reset:s,$subscribe(y,C={}){const w=y5(M,y,C.detached,()=>k()),k=o.run(()=>ei(()=>S.state.value[n],E=>{(C.flush==="sync"?i:g)&&y({storeId:n,type:lm.direct,events:p},E)},Mh({},d,C)));return w},$dispose:l},m=Tl(f);S._s.set(n,m);const _=S._e.run(()=>(o=Nm(),o.run(()=>e())));for(const y in _){const C=_[y];if(to(C)&&!A9(C)||Ih(C))x||(u&&M9(C)&&(to(C)?C.value=u[y]:Xb(C,u[y])),S.state.value[n][y]=C);else if(typeof C=="function"){const w=h(y,C);_[y]=w,t.actions[y]=C}}return Mh(m,_),Mh(Ii(m),_),Object.defineProperty(m,"$state",{get:()=>S.state.value[n],set:y=>{c(C=>{Mh(C,y)})}}),S._p.forEach(y=>{Mh(m,o.run(()=>y({store:m,app:S._a,pinia:S,options:t})))}),u&&x&&r.hydrate&&r.hydrate(m.$state,u),g=!0,i=!0,m}function h2(n,e,r){let S,D;const x=typeof e=="function";typeof n=="string"?(S=n,D=x?r:e):(D=n,S=n.id);function o(t,d){const g=wy();return t=t||g&&Sa(ak,null),t&&ky(t),t=ik,t._s.has(S)||(x?sk(S,e,D,t):S9(S,D,t)),t._s.get(S)}return o.$id=S,o}const os=h2("streamlit-data",{state:()=>({renderData:null,dataForDrawing:{}}),getters:{args:n=>{var e;return(e=n.renderData)==null?void 0:e.args},components(){return this.args.components},allDataForDrawing:n=>n.dataForDrawing,sequenceData:n=>n.dataForDrawing.sequence_data,internalFragmentData:n=>n.dataForDrawing.internal_fragment_data,theme:n=>{var e;return(e=n.renderData)==null?void 0:e.theme}},actions:{updateRenderData(n){this.renderData=n;const e=n.args.data_for_drawing;Object.entries(e).forEach(r=>{this.dataForDrawing[r[0]]=JSON.parse(r[1])})}}});var C9=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function d2(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var lk={exports:{}},ja={};/** @license React v16.13.1 + */let ik;const ky=n=>ik=n,ak=Symbol();function Zb(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var lm;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(lm||(lm={}));function T9(){const n=Nm(!0),e=n.run(()=>Gr({}));let r=[],S=[];const D=Np({install(x){ky(D),D._a=x,x.provide(ak,D),x.config.globalProperties.$pinia=D,S.forEach(o=>r.push(o)),S=[]},use(x){return!this._a&&!w9?S.push(x):r.push(x),this},_p:r,_a:null,_e:n,_s:new Map,state:e});return D}const ok=()=>{};function y5(n,e,r,S=ok){n.push(e);const D=()=>{const x=n.indexOf(e);x>-1&&(n.splice(x,1),S())};return!r&&a4()&&Al(D),D}function yp(n,...e){n.slice().forEach(r=>{r(...e)})}function Xb(n,e){n instanceof Map&&e instanceof Map&&e.forEach((r,S)=>n.set(S,r)),n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const r in e){if(!e.hasOwnProperty(r))continue;const S=e[r],D=n[r];Zb(D)&&Zb(S)&&n.hasOwnProperty(r)&&!to(S)&&!Ih(S)?n[r]=Xb(D,S):n[r]=S}return n}const k9=Symbol();function M9(n){return!Zb(n)||!n.hasOwnProperty(k9)}const{assign:Mh}=Object;function A9(n){return!!(to(n)&&n.effect)}function S9(n,e,r,S){const{state:D,actions:x,getters:o}=e,t=r.state.value[n];let d;function v(){t||(r.state.value[n]=D?D():{});const i=py(r.state.value[n]);return Mh(i,x,Object.keys(o||{}).reduce((M,g)=>(M[g]=Np(cn(()=>{ky(r);const p=r._s.get(n);return o[g].call(p,p)})),M),{}))}return d=sk(n,v,e,r,S,!0),d}function sk(n,e,r={},S,D,x){let o;const t=Mh({actions:{}},r),d={deep:!0};let v,i,M=Np([]),g=Np([]),p;const u=S.state.value[n];!x&&!u&&(S.state.value[n]={}),Gr({});let a;function c(y){let C;v=i=!1,typeof y=="function"?(y(S.state.value[n]),C={type:lm.patchFunction,storeId:n,events:p}):(Xb(S.state.value[n],y),C={type:lm.patchObject,payload:y,storeId:n,events:p});const w=a=Symbol();qa().then(()=>{a===w&&(v=!0)}),i=!0,yp(M,C,S.state.value[n])}const s=x?function(){const{state:C}=r,w=C?C():{};this.$patch(k=>{Mh(k,w)})}:ok;function l(){o.stop(),M=[],g=[],S._s.delete(n)}function h(y,C){return function(){ky(S);const w=Array.from(arguments),k=[],E=[];function T(b){k.push(b)}function A(b){E.push(b)}yp(g,{args:w,name:y,store:m,after:T,onError:A});let L;try{L=C.apply(this&&this.$id===n?this:m,w)}catch(b){throw yp(E,b),b}return L instanceof Promise?L.then(b=>(yp(k,b),b)).catch(b=>(yp(E,b),Promise.reject(b))):(yp(k,L),L)}}const f={_p:S,$id:n,$onAction:y5.bind(null,g),$patch:c,$reset:s,$subscribe(y,C={}){const w=y5(M,y,C.detached,()=>k()),k=o.run(()=>ei(()=>S.state.value[n],E=>{(C.flush==="sync"?i:v)&&y({storeId:n,type:lm.direct,events:p},E)},Mh({},d,C)));return w},$dispose:l},m=Tl(f);S._s.set(n,m);const _=S._e.run(()=>(o=Nm(),o.run(()=>e())));for(const y in _){const C=_[y];if(to(C)&&!A9(C)||Ih(C))x||(u&&M9(C)&&(to(C)?C.value=u[y]:Xb(C,u[y])),S.state.value[n][y]=C);else if(typeof C=="function"){const w=h(y,C);_[y]=w,t.actions[y]=C}}return Mh(m,_),Mh(Ii(m),_),Object.defineProperty(m,"$state",{get:()=>S.state.value[n],set:y=>{c(C=>{Mh(C,y)})}}),S._p.forEach(y=>{Mh(m,o.run(()=>y({store:m,app:S._a,pinia:S,options:t})))}),u&&x&&r.hydrate&&r.hydrate(m.$state,u),v=!0,i=!0,m}function h2(n,e,r){let S,D;const x=typeof e=="function";typeof n=="string"?(S=n,D=x?r:e):(D=n,S=n.id);function o(t,d){const v=wy();return t=t||v&&Sa(ak,null),t&&ky(t),t=ik,t._s.has(S)||(x?sk(S,e,D,t):S9(S,D,t)),t._s.get(S)}return o.$id=S,o}const os=h2("streamlit-data",{state:()=>({renderData:null,dataForDrawing:{}}),getters:{args:n=>{var e;return(e=n.renderData)==null?void 0:e.args},components(){return this.args.components},allDataForDrawing:n=>n.dataForDrawing,sequenceData:n=>n.dataForDrawing.sequence_data,internalFragmentData:n=>n.dataForDrawing.internal_fragment_data,theme:n=>{var e;return(e=n.renderData)==null?void 0:e.theme}},actions:{updateRenderData(n){this.renderData=n;const e=n.args.data_for_drawing;Object.entries(e).forEach(r=>{this.dataForDrawing[r[0]]=JSON.parse(r[1])})}}});var C9=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function d2(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var lk={exports:{}},ja={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. @@ -20,13 +20,13 @@ object-assign * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var v2=j9,Rc=typeof Symbol=="function"&&Symbol.for,Um=Rc?Symbol.for("react.element"):60103,U9=Rc?Symbol.for("react.portal"):60106,H9=Rc?Symbol.for("react.fragment"):60107,G9=Rc?Symbol.for("react.strict_mode"):60108,W9=Rc?Symbol.for("react.profiler"):60114,q9=Rc?Symbol.for("react.provider"):60109,$9=Rc?Symbol.for("react.context"):60110,Y9=Rc?Symbol.for("react.forward_ref"):60112,Z9=Rc?Symbol.for("react.suspense"):60113,X9=Rc?Symbol.for("react.memo"):60115,K9=Rc?Symbol.for("react.lazy"):60116,x5=typeof Symbol=="function"&&Symbol.iterator;function Hm(n){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+n,r=1;rzv.length&&zv.push(n)}function Kb(n,e,r,S){var D=typeof n;(D==="undefined"||D==="boolean")&&(n=null);var x=!1;if(n===null)x=!0;else switch(D){case"string":case"number":x=!0;break;case"object":switch(n.$$typeof){case Um:case U9:x=!0}}if(x)return r(S,n,e===""?"."+hb(n,0):e),1;if(x=0,e=e===""?".":e+":",Array.isArray(n))for(var o=0;o0){const n=new Array(arguments.length);for(let e=0;e>>0)+this.high*4294967296};lr.Long.prototype.equals=function(n){return this.low==n.low&&this.high==n.high};lr.Long.ZERO=new lr.Long(0,0);lr.Builder=function(n){if(n)var e=n;else var e=1024;this.bb=lr.ByteBuffer.allocate(e),this.space=e,this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1};lr.Builder.prototype.clear=function(){this.bb.clear(),this.space=this.bb.capacity(),this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1};lr.Builder.prototype.forceDefaults=function(n){this.force_defaults=n};lr.Builder.prototype.dataBuffer=function(){return this.bb};lr.Builder.prototype.asUint8Array=function(){return this.bb.bytes().subarray(this.bb.position(),this.bb.position()+this.offset())};lr.Builder.prototype.prep=function(n,e){n>this.minalign&&(this.minalign=n);for(var r=~(this.bb.capacity()-this.space+e)+1&n-1;this.space=0&&this.vtable[e]==0;e--);for(var r=e+1;e>=0;e--)this.addInt16(this.vtable[e]!=0?n-this.vtable[e]:0);var S=2;this.addInt16(n-this.object_start);var D=(r+S)*lr.SIZEOF_SHORT;this.addInt16(D);var x=0,o=this.space;e:for(e=0;e=0;S--)this.writeInt8(r.charCodeAt(S))}this.prep(this.minalign,lr.SIZEOF_INT),this.addOffset(n),this.bb.setPosition(this.space)};lr.Builder.prototype.requiredField=function(n,e){var r=this.bb.capacity()-n,S=r-this.bb.readInt32(r),D=this.bb.readInt16(S+e)!=0;if(!D)throw new Error("FlatBuffers: field "+e+" must be set")};lr.Builder.prototype.startVector=function(n,e,r){this.notNested(),this.vector_num_elems=e,this.prep(lr.SIZEOF_INT,n*e),this.prep(r,n*e)};lr.Builder.prototype.endVector=function(){return this.writeInt32(this.vector_num_elems),this.offset()};lr.Builder.prototype.createString=function(n){if(n instanceof Uint8Array)var e=n;else for(var e=[],r=0;r=56320)S=D;else{var x=n.charCodeAt(r++);S=(D<<10)+x+(65536-(55296<<10)-56320)}S<128?e.push(S):(S<2048?e.push(S>>6&31|192):(S<65536?e.push(S>>12&15|224):e.push(S>>18&7|240,S>>12&63|128),e.push(S>>6&63|128)),e.push(S&63|128))}this.addInt8(0),this.startVector(1,e.length,1),this.bb.setPosition(this.space-=e.length);for(var r=0,o=this.space,t=this.bb.bytes();r>24};lr.ByteBuffer.prototype.readUint8=function(n){return this.bytes_[n]};lr.ByteBuffer.prototype.readInt16=function(n){return this.readUint16(n)<<16>>16};lr.ByteBuffer.prototype.readUint16=function(n){return this.bytes_[n]|this.bytes_[n+1]<<8};lr.ByteBuffer.prototype.readInt32=function(n){return this.bytes_[n]|this.bytes_[n+1]<<8|this.bytes_[n+2]<<16|this.bytes_[n+3]<<24};lr.ByteBuffer.prototype.readUint32=function(n){return this.readInt32(n)>>>0};lr.ByteBuffer.prototype.readInt64=function(n){return new lr.Long(this.readInt32(n),this.readInt32(n+4))};lr.ByteBuffer.prototype.readUint64=function(n){return new lr.Long(this.readUint32(n),this.readUint32(n+4))};lr.ByteBuffer.prototype.readFloat32=function(n){return lr.int32[0]=this.readInt32(n),lr.float32[0]};lr.ByteBuffer.prototype.readFloat64=function(n){return lr.int32[lr.isLittleEndian?0:1]=this.readInt32(n),lr.int32[lr.isLittleEndian?1:0]=this.readInt32(n+4),lr.float64[0]};lr.ByteBuffer.prototype.writeInt8=function(n,e){this.bytes_[n]=e};lr.ByteBuffer.prototype.writeUint8=function(n,e){this.bytes_[n]=e};lr.ByteBuffer.prototype.writeInt16=function(n,e){this.bytes_[n]=e,this.bytes_[n+1]=e>>8};lr.ByteBuffer.prototype.writeUint16=function(n,e){this.bytes_[n]=e,this.bytes_[n+1]=e>>8};lr.ByteBuffer.prototype.writeInt32=function(n,e){this.bytes_[n]=e,this.bytes_[n+1]=e>>8,this.bytes_[n+2]=e>>16,this.bytes_[n+3]=e>>24};lr.ByteBuffer.prototype.writeUint32=function(n,e){this.bytes_[n]=e,this.bytes_[n+1]=e>>8,this.bytes_[n+2]=e>>16,this.bytes_[n+3]=e>>24};lr.ByteBuffer.prototype.writeInt64=function(n,e){this.writeInt32(n,e.low),this.writeInt32(n+4,e.high)};lr.ByteBuffer.prototype.writeUint64=function(n,e){this.writeUint32(n,e.low),this.writeUint32(n+4,e.high)};lr.ByteBuffer.prototype.writeFloat32=function(n,e){lr.float32[0]=e,this.writeInt32(n,lr.int32[0])};lr.ByteBuffer.prototype.writeFloat64=function(n,e){lr.float64[0]=e,this.writeInt32(n,lr.int32[lr.isLittleEndian?0:1]),this.writeInt32(n+4,lr.int32[lr.isLittleEndian?1:0])};lr.ByteBuffer.prototype.getBufferIdentifier=function(){if(this.bytes_.length>10)+55296,(x&(1<<10)-1)+56320))}return S};lr.ByteBuffer.prototype.__indirect=function(n){return n+this.readInt32(n)};lr.ByteBuffer.prototype.__vector=function(n){return n+this.readInt32(n)+lr.SIZEOF_INT};lr.ByteBuffer.prototype.__vector_len=function(n){return this.readInt32(n+this.readInt32(n))};lr.ByteBuffer.prototype.__has_identifier=function(n){if(n.length!=lr.FILE_IDENTIFIER_LENGTH)throw new Error("FlatBuffers: file identifier must be length "+lr.FILE_IDENTIFIER_LENGTH);for(var e=0;e57343)D.push(x);else if(56320<=x&&x<=57343)D.push(65533);else if(55296<=x&&x<=56319)if(S===r-1)D.push(65533);else{var o=n.charCodeAt(S+1);if(56320<=o&&o<=57343){var t=x&1023,d=o&1023;D.push(65536+(t<<10)+d),S+=1}else D.push(65533)}S+=1}return D}function pL(n){for(var e="",r=0;r>10)+55296,(S&1023)+56320))}return e}var Fv=-1;function w2(n){this.tokens=[].slice.call(n)}w2.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():Fv},prepend:function(n){if(Array.isArray(n))for(var e=n;e.length;)this.tokens.unshift(e.pop());else this.tokens.unshift(n)},push:function(n){if(Array.isArray(n))for(var e=n;e.length;)this.tokens.push(e.shift());else this.tokens.push(n)}};var Up=-1;function db(n,e){if(n)throw TypeError("Decoder error");return e||65533}var Bv="utf-8";function Nv(n,e){if(!(this instanceof Nv))return new Nv(n,e);if(n=n!==void 0?String(n).toLowerCase():Bv,n!==Bv)throw new Error("Encoding not supported. Only utf-8 is supported");e=Ry(e),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=!!e.fatal,this._ignoreBOM=!!e.ignoreBOM,Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}Nv.prototype={decode:function(e,r){var S;typeof e=="object"&&e instanceof ArrayBuffer?S=new Uint8Array(e):typeof e=="object"&&"buffer"in e&&e.buffer instanceof ArrayBuffer?S=new Uint8Array(e.buffer,e.byteOffset,e.byteLength):S=new Uint8Array(0),r=Ry(r),this._streaming||(this._decoder=new mL({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!r.stream;for(var D=new w2(S),x=[],o;!D.endOfStream()&&(o=this._decoder.handler(D,D.read()),o!==Up);)o!==null&&(Array.isArray(o)?x.push.apply(x,o):x.push(o));if(!this._streaming){do{if(o=this._decoder.handler(D,D.read()),o===Up)break;o!==null&&(Array.isArray(o)?x.push.apply(x,o):x.push(o))}while(!D.endOfStream());this._decoder=null}return x.length&&["utf-8"].indexOf(this.encoding)!==-1&&!this._ignoreBOM&&!this._BOMseen&&(x[0]===65279?(this._BOMseen=!0,x.shift()):this._BOMseen=!0),pL(x)}};function Vv(n,e){if(!(this instanceof Vv))return new Vv(n,e);if(n=n!==void 0?String(n).toLowerCase():Bv,n!==Bv)throw new Error("Encoding not supported. Only utf-8 is supported");e=Ry(e),this._streaming=!1,this._encoder=null,this._options={fatal:!!e.fatal},Object.defineProperty(this,"encoding",{value:"utf-8"})}Vv.prototype={encode:function(e,r){e=e?String(e):"",r=Ry(r),this._streaming||(this._encoder=new gL(this._options)),this._streaming=!!r.stream;for(var S=[],D=new w2(dL(e)),x;!D.endOfStream()&&(x=this._encoder.handler(D,D.read()),x!==Up);)Array.isArray(x)?S.push.apply(S,x):S.push(x);if(!this._streaming){for(;x=this._encoder.handler(D,D.read()),x!==Up;)Array.isArray(x)?S.push.apply(S,x):S.push(x);this._encoder=null}return new Uint8Array(S)}};function mL(n){var e=n.fatal,r=0,S=0,D=0,x=128,o=191;this.handler=function(t,d){if(d===Fv&&D!==0)return D=0,db(e);if(d===Fv)return Up;if(D===0){if(Vf(d,0,127))return d;if(Vf(d,194,223))D=1,r=d-192;else if(Vf(d,224,239))d===224&&(x=160),d===237&&(o=159),D=2,r=d-224;else if(Vf(d,240,244))d===240&&(x=144),d===244&&(o=143),D=3,r=d-240;else return db(e);return r=r<<6*D,null}if(!Vf(d,x,o))return r=D=S=0,x=128,o=191,t.prepend(d),db(e);if(x=128,o=191,S+=1,r+=d-128<<6*(D-S),S!==D)return null;var g=r;return r=D=S=0,g}}function gL(n){n.fatal,this.handler=function(e,r){if(r===Fv)return Up;if(Vf(r,0,127))return r;var S,D;Vf(r,128,2047)?(S=1,D=192):Vf(r,2048,65535)?(S=2,D=224):Vf(r,65536,1114111)&&(S=3,D=240);for(var x=[(r>>6*S)+D];S>0;){var o=r>>6*(S-1);x.push(128|o&63),S-=1}return x}}const jv=typeof Buffer=="function"?Buffer:null,Sk=typeof TextDecoder=="function"&&typeof TextEncoder=="function",tx=(n=>{if(Sk||!jv){const e=new n("utf-8");return r=>e.decode(r)}return e=>{const{buffer:r,byteOffset:S,length:D}=ra(e);return jv.from(r,S,D).toString()}})(typeof TextDecoder<"u"?TextDecoder:Nv),zy=(n=>{if(Sk||!jv){const e=new n;return r=>e.encode(r)}return(e="")=>ra(jv.from(e,"utf8"))})(typeof TextEncoder<"u"?TextEncoder:Vv),Co=Object.freeze({done:!0,value:void 0});class A5{constructor(e){this._json=e}get schema(){return this._json.schema}get batches(){return this._json.batches||[]}get dictionaries(){return this._json.dictionaries||[]}}class Hd{tee(){return this._getDOMStream().tee()}pipe(e,r){return this._getNodeStream().pipe(e,r)}pipeTo(e,r){return this._getDOMStream().pipeTo(e,r)}pipeThrough(e,r){return this._getDOMStream().pipeThrough(e,r)}_getDOMStream(){return this._DOMStream||(this._DOMStream=this.toDOMStream())}_getNodeStream(){return this._nodeStream||(this._nodeStream=this.toNodeStream())}}class vL extends Hd{constructor(){super(),this._values=[],this.resolvers=[],this._closedPromise=new Promise(e=>this._closedPromiseResolve=e)}get closed(){return this._closedPromise}async cancel(e){await this.return(e)}write(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}abort(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}close(){if(this._closedPromiseResolve){const{resolvers:e}=this;for(;e.length>0;)e.shift().resolve(Co);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(e){return du.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}toNodeStream(e){return du.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}async throw(e){return await this.abort(e),Co}async return(e){return await this.close(),Co}async read(e){return(await this.next(e,"read")).value}async peek(e){return(await this.next(e,"peek")).value}next(...e){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((r,S)=>{this.resolvers.push({resolve:r,reject:S})}):Promise.resolve(Co)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error(`${this} is closed`)}}const[yL,Fy]=(()=>{const n=()=>{throw new Error("BigInt is not available in this environment")};function e(){throw n()}return e.asIntN=()=>{throw n()},e.asUintN=()=>{throw n()},typeof BigInt<"u"?[BigInt,!0]:[e,!1]})(),[c0,n$]=(()=>{const n=()=>{throw new Error("BigInt64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigInt64Array<"u"?[BigInt64Array,!0]:[e,!1]})(),[Gm,r$]=(()=>{const n=()=>{throw new Error("BigUint64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigUint64Array<"u"?[BigUint64Array,!0]:[e,!1]})(),bL=n=>typeof n=="number",Ck=n=>typeof n=="boolean",Xu=n=>typeof n=="function",xu=n=>n!=null&&Object(n)===n,zh=n=>xu(n)&&Xu(n.then),Pc=n=>xu(n)&&Xu(n[Symbol.iterator]),th=n=>xu(n)&&Xu(n[Symbol.asyncIterator]),nx=n=>xu(n)&&xu(n.schema),Ek=n=>xu(n)&&"done"in n&&"value"in n,Lk=n=>xu(n)&&Xu(n.stat)&&bL(n.fd),Ik=n=>xu(n)&&T2(n.body),xL=n=>xu(n)&&Xu(n.abort)&&Xu(n.getWriter)&&!(n instanceof Hd),T2=n=>xu(n)&&Xu(n.cancel)&&Xu(n.getReader)&&!(n instanceof Hd),_L=n=>xu(n)&&Xu(n.end)&&Xu(n.write)&&Ck(n.writable)&&!(n instanceof Hd),Ok=n=>xu(n)&&Xu(n.read)&&Xu(n.pipe)&&Ck(n.readable)&&!(n instanceof Hd);var wL=lr.ByteBuffer;const k2=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function TL(n){let e=n[0]?[n[0]]:[],r,S,D,x;for(let o,t,d=0,g=0,i=n.length;++di+M.byteLength,0),D,x,o,t=0,d=-1,g=Math.min(e||1/0,S);for(let i=r.length;++dIa(Int32Array,n),kL=n=>Ia(c0,n),ra=n=>Ia(Uint8Array,n),ML=n=>Ia(Gm,n),rx=n=>(n.next(),n);function*AL(n,e){const r=function*(D){yield D},S=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof k2?r(e):Pc(e)?e:r(e);yield*rx(function*(D){let x=null;do x=D.next(yield Ia(n,x));while(!x.done)}(S[Symbol.iterator]()))}const SL=n=>AL(Uint8Array,n);async function*Pk(n,e){if(zh(e))return yield*Pk(n,await e);const r=async function*(x){yield await x},S=async function*(x){yield*rx(function*(o){let t=null;do t=o.next(yield t&&t.value);while(!t.done)}(x[Symbol.iterator]()))},D=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof k2?r(e):Pc(e)?S(e):th(e)?e:r(e);yield*rx(async function*(x){let o=null;do o=await x.next(yield Ia(n,o));while(!o.done)}(D[Symbol.asyncIterator]()))}const CL=n=>Pk(Uint8Array,n);function M2(n,e,r){if(n!==0){r=r.slice(0,e+1);for(let S=-1;++S<=e;)r[S]+=n}return r}function EL(n,e){let r=0,S=n.length;if(S!==e.length)return!1;if(S>0)do if(n[r]!==e[r])return!1;while(++r(n.next(),n);function*LL(n){let e,r=!1,S=[],D,x,o,t=0;function d(){return x==="peek"?df(S,o)[0]:([D,S,t]=df(S,o),D)}({cmd:x,size:o}=yield null);let g=SL(n)[Symbol.iterator]();try{do if({done:e,value:D}=isNaN(o-t)?g.next(void 0):g.next(o-t),!e&&D.byteLength>0&&(S.push(D),t+=D.byteLength),e||o<=t)do({cmd:x,size:o}=yield d());while(o0&&(S.push(D),t+=D.byteLength),e||o<=t)do({cmd:x,size:o}=yield d());while(o0&&(S.push(ra(D)),t+=D.byteLength),e||o<=t)do({cmd:x,size:o}=yield d());while(o{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=this.byobReader=this.defaultReader=null}async cancel(e){const{reader:r,source:S}=this;r&&await r.cancel(e).catch(()=>{}),S&&S.locked&&this.releaseLock()}async read(e){if(e===0)return{done:this.reader==null,value:new Uint8Array(0)};const r=!this.supportsBYOB||typeof e!="number"?await this.getDefaultReader().read():await this.readFromBYOBReader(e);return!r.done&&(r.value=ra(r)),r}getDefaultReader(){return this.byobReader&&this.releaseLock(),this.defaultReader||(this.defaultReader=this.source.getReader(),this.defaultReader.closed.catch(()=>{})),this.reader=this.defaultReader}getBYOBReader(){return this.defaultReader&&this.releaseLock(),this.byobReader||(this.byobReader=this.source.getReader({mode:"byob"}),this.byobReader.closed.catch(()=>{})),this.reader=this.byobReader}async readFromBYOBReader(e){return await Dk(this.getBYOBReader(),new ArrayBuffer(e),0,e)}}async function Dk(n,e,r,S){if(r>=S)return{done:!1,value:new Uint8Array(e,0,S)};const{done:D,value:x}=await n.read(new Uint8Array(e,r,S-r));return(r+=x.byteLength){let r=D=>S([e,D]),S;return[e,r,new Promise(D=>(S=D)&&n.once(e,r))]};async function*DL(n){let e=[],r="error",S=!1,D=null,x,o,t=0,d=[],g;function i(){return x==="peek"?df(d,o)[0]:([g,d,t]=df(d,o),g)}if({cmd:x,size:o}=yield null,n.isTTY)return yield new Uint8Array(0);try{e[0]=pb(n,"end"),e[1]=pb(n,"error");do{if(e[2]=pb(n,"readable"),[r,D]=await Promise.race(e.map(v=>v[2])),r==="error")break;if((S=r==="end")||(isFinite(o-t)?(g=ra(n.read(o-t)),g.byteLength0&&(d.push(g),t+=g.byteLength)),S||o<=t)do({cmd:x,size:o}=yield i());while(o{for(const[c,s]of v)n.off(c,s);try{const c=n.destroy;c&&c.call(n,p),p=void 0}catch(c){p=c||p}finally{p!=null?a(p):u()}})}}class ma{}var kr;(function(n){(function(e){(function(r){(function(S){(function(D){D[D.V1=0]="V1",D[D.V2=1]="V2",D[D.V3=2]="V3",D[D.V4=3]="V4"})(S.MetadataVersion||(S.MetadataVersion={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.Sparse=0]="Sparse",D[D.Dense=1]="Dense"})(S.UnionMode||(S.UnionMode={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.HALF=0]="HALF",D[D.SINGLE=1]="SINGLE",D[D.DOUBLE=2]="DOUBLE"})(S.Precision||(S.Precision={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.DAY=0]="DAY",D[D.MILLISECOND=1]="MILLISECOND"})(S.DateUnit||(S.DateUnit={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.SECOND=0]="SECOND",D[D.MILLISECOND=1]="MILLISECOND",D[D.MICROSECOND=2]="MICROSECOND",D[D.NANOSECOND=3]="NANOSECOND"})(S.TimeUnit||(S.TimeUnit={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.YEAR_MONTH=0]="YEAR_MONTH",D[D.DAY_TIME=1]="DAY_TIME"})(S.IntervalUnit||(S.IntervalUnit={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.NONE=0]="NONE",D[D.Null=1]="Null",D[D.Int=2]="Int",D[D.FloatingPoint=3]="FloatingPoint",D[D.Binary=4]="Binary",D[D.Utf8=5]="Utf8",D[D.Bool=6]="Bool",D[D.Decimal=7]="Decimal",D[D.Date=8]="Date",D[D.Time=9]="Time",D[D.Timestamp=10]="Timestamp",D[D.Interval=11]="Interval",D[D.List=12]="List",D[D.Struct_=13]="Struct_",D[D.Union=14]="Union",D[D.FixedSizeBinary=15]="FixedSizeBinary",D[D.FixedSizeList=16]="FixedSizeList",D[D.Map=17]="Map",D[D.Duration=18]="Duration",D[D.LargeBinary=19]="LargeBinary",D[D.LargeUtf8=20]="LargeUtf8",D[D.LargeList=21]="LargeList"})(S.Type||(S.Type={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.Little=0]="Little",D[D.Big=1]="Big"})(S.Endianness||(S.Endianness={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsNull(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startNull(o){o.startObject(0)}static endNull(o){return o.endObject()}static createNull(o){return D.startNull(o),D.endNull(o)}}S.Null=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsStruct_(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startStruct_(o){o.startObject(0)}static endStruct_(o){return o.endObject()}static createStruct_(o){return D.startStruct_(o),D.endStruct_(o)}}S.Struct_=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsList(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startList(o){o.startObject(0)}static endList(o){return o.endObject()}static createList(o){return D.startList(o),D.endList(o)}}S.List=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsLargeList(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startLargeList(o){o.startObject(0)}static endLargeList(o){return o.endObject()}static createLargeList(o){return D.startLargeList(o),D.endLargeList(o)}}S.LargeList=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsFixedSizeList(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}listSize(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt32(this.bb_pos+o):0}static startFixedSizeList(o){o.startObject(1)}static addListSize(o,t){o.addFieldInt32(0,t,0)}static endFixedSizeList(o){return o.endObject()}static createFixedSizeList(o,t){return D.startFixedSizeList(o),D.addListSize(o,t),D.endFixedSizeList(o)}}S.FixedSizeList=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsMap(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}keysSorted(){let o=this.bb.__offset(this.bb_pos,4);return o?!!this.bb.readInt8(this.bb_pos+o):!1}static startMap(o){o.startObject(1)}static addKeysSorted(o,t){o.addFieldInt8(0,+t,0)}static endMap(o){return o.endObject()}static createMap(o,t){return D.startMap(o),D.addKeysSorted(o,t),D.endMap(o)}}S.Map=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsUnion(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}mode(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.UnionMode.Sparse}typeIds(o){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readInt32(this.bb.__vector(this.bb_pos+t)+o*4):0}typeIdsLength(){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.__vector_len(this.bb_pos+o):0}typeIdsArray(){let o=this.bb.__offset(this.bb_pos,6);return o?new Int32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+o),this.bb.__vector_len(this.bb_pos+o)):null}static startUnion(o){o.startObject(2)}static addMode(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.UnionMode.Sparse)}static addTypeIds(o,t){o.addFieldOffset(1,t,0)}static createTypeIdsVector(o,t){o.startVector(4,t.length,4);for(let d=t.length-1;d>=0;d--)o.addInt32(t[d]);return o.endVector()}static startTypeIdsVector(o,t){o.startVector(4,t,4)}static endUnion(o){return o.endObject()}static createUnion(o,t,d){return D.startUnion(o),D.addMode(o,t),D.addTypeIds(o,d),D.endUnion(o)}}S.Union=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsInt(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}bitWidth(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt32(this.bb_pos+o):0}isSigned(){let o=this.bb.__offset(this.bb_pos,6);return o?!!this.bb.readInt8(this.bb_pos+o):!1}static startInt(o){o.startObject(2)}static addBitWidth(o,t){o.addFieldInt32(0,t,0)}static addIsSigned(o,t){o.addFieldInt8(1,+t,0)}static endInt(o){return o.endObject()}static createInt(o,t,d){return D.startInt(o),D.addBitWidth(o,t),D.addIsSigned(o,d),D.endInt(o)}}S.Int=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsFloatingPoint(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}precision(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.Precision.HALF}static startFloatingPoint(o){o.startObject(1)}static addPrecision(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.Precision.HALF)}static endFloatingPoint(o){return o.endObject()}static createFloatingPoint(o,t){return D.startFloatingPoint(o),D.addPrecision(o,t),D.endFloatingPoint(o)}}S.FloatingPoint=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsUtf8(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startUtf8(o){o.startObject(0)}static endUtf8(o){return o.endObject()}static createUtf8(o){return D.startUtf8(o),D.endUtf8(o)}}S.Utf8=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsBinary(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startBinary(o){o.startObject(0)}static endBinary(o){return o.endObject()}static createBinary(o){return D.startBinary(o),D.endBinary(o)}}S.Binary=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsLargeUtf8(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startLargeUtf8(o){o.startObject(0)}static endLargeUtf8(o){return o.endObject()}static createLargeUtf8(o){return D.startLargeUtf8(o),D.endLargeUtf8(o)}}S.LargeUtf8=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsLargeBinary(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startLargeBinary(o){o.startObject(0)}static endLargeBinary(o){return o.endObject()}static createLargeBinary(o){return D.startLargeBinary(o),D.endLargeBinary(o)}}S.LargeBinary=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsFixedSizeBinary(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}byteWidth(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt32(this.bb_pos+o):0}static startFixedSizeBinary(o){o.startObject(1)}static addByteWidth(o,t){o.addFieldInt32(0,t,0)}static endFixedSizeBinary(o){return o.endObject()}static createFixedSizeBinary(o,t){return D.startFixedSizeBinary(o),D.addByteWidth(o,t),D.endFixedSizeBinary(o)}}S.FixedSizeBinary=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsBool(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startBool(o){o.startObject(0)}static endBool(o){return o.endObject()}static createBool(o){return D.startBool(o),D.endBool(o)}}S.Bool=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsDecimal(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}precision(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt32(this.bb_pos+o):0}scale(){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.readInt32(this.bb_pos+o):0}static startDecimal(o){o.startObject(2)}static addPrecision(o,t){o.addFieldInt32(0,t,0)}static addScale(o,t){o.addFieldInt32(1,t,0)}static endDecimal(o){return o.endObject()}static createDecimal(o,t,d){return D.startDecimal(o),D.addPrecision(o,t),D.addScale(o,d),D.endDecimal(o)}}S.Decimal=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsDate(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}unit(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.DateUnit.MILLISECOND}static startDate(o){o.startObject(1)}static addUnit(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.DateUnit.MILLISECOND)}static endDate(o){return o.endObject()}static createDate(o,t){return D.startDate(o),D.addUnit(o,t),D.endDate(o)}}S.Date=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsTime(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}unit(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.TimeUnit.MILLISECOND}bitWidth(){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.readInt32(this.bb_pos+o):32}static startTime(o){o.startObject(2)}static addUnit(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.TimeUnit.MILLISECOND)}static addBitWidth(o,t){o.addFieldInt32(1,t,32)}static endTime(o){return o.endObject()}static createTime(o,t,d){return D.startTime(o),D.addUnit(o,t),D.addBitWidth(o,d),D.endTime(o)}}S.Time=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsTimestamp(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}unit(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.TimeUnit.SECOND}timezone(o){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__string(this.bb_pos+t,o):null}static startTimestamp(o){o.startObject(2)}static addUnit(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.TimeUnit.SECOND)}static addTimezone(o,t){o.addFieldOffset(1,t,0)}static endTimestamp(o){return o.endObject()}static createTimestamp(o,t,d){return D.startTimestamp(o),D.addUnit(o,t),D.addTimezone(o,d),D.endTimestamp(o)}}S.Timestamp=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsInterval(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}unit(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.IntervalUnit.YEAR_MONTH}static startInterval(o){o.startObject(1)}static addUnit(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.IntervalUnit.YEAR_MONTH)}static endInterval(o){return o.endObject()}static createInterval(o,t){return D.startInterval(o),D.addUnit(o,t),D.endInterval(o)}}S.Interval=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsDuration(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}unit(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.TimeUnit.MILLISECOND}static startDuration(o){o.startObject(1)}static addUnit(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.TimeUnit.MILLISECOND)}static endDuration(o){return o.endObject()}static createDuration(o,t){return D.startDuration(o),D.addUnit(o,t),D.endDuration(o)}}S.Duration=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsKeyValue(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}key(o){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__string(this.bb_pos+t,o):null}value(o){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__string(this.bb_pos+t,o):null}static startKeyValue(o){o.startObject(2)}static addKey(o,t){o.addFieldOffset(0,t,0)}static addValue(o,t){o.addFieldOffset(1,t,0)}static endKeyValue(o){return o.endObject()}static createKeyValue(o,t,d){return D.startKeyValue(o),D.addKey(o,t),D.addValue(o,d),D.endKeyValue(o)}}S.KeyValue=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsDictionaryEncoding(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}id(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt64(this.bb_pos+o):this.bb.createLong(0,0)}indexType(o){let t=this.bb.__offset(this.bb_pos,6);return t?(o||new n.apache.arrow.flatbuf.Int).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}isOrdered(){let o=this.bb.__offset(this.bb_pos,8);return o?!!this.bb.readInt8(this.bb_pos+o):!1}static startDictionaryEncoding(o){o.startObject(3)}static addId(o,t){o.addFieldInt64(0,t,o.createLong(0,0))}static addIndexType(o,t){o.addFieldOffset(1,t,0)}static addIsOrdered(o,t){o.addFieldInt8(2,+t,0)}static endDictionaryEncoding(o){return o.endObject()}static createDictionaryEncoding(o,t,d,g){return D.startDictionaryEncoding(o),D.addId(o,t),D.addIndexType(o,d),D.addIsOrdered(o,g),D.endDictionaryEncoding(o)}}S.DictionaryEncoding=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsField(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}name(o){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__string(this.bb_pos+t,o):null}nullable(){let o=this.bb.__offset(this.bb_pos,6);return o?!!this.bb.readInt8(this.bb_pos+o):!1}typeType(){let o=this.bb.__offset(this.bb_pos,8);return o?this.bb.readUint8(this.bb_pos+o):n.apache.arrow.flatbuf.Type.NONE}type(o){let t=this.bb.__offset(this.bb_pos,10);return t?this.bb.__union(o,this.bb_pos+t):null}dictionary(o){let t=this.bb.__offset(this.bb_pos,12);return t?(o||new n.apache.arrow.flatbuf.DictionaryEncoding).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}children(o,t){let d=this.bb.__offset(this.bb_pos,14);return d?(t||new n.apache.arrow.flatbuf.Field).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+d)+o*4),this.bb):null}childrenLength(){let o=this.bb.__offset(this.bb_pos,14);return o?this.bb.__vector_len(this.bb_pos+o):0}customMetadata(o,t){let d=this.bb.__offset(this.bb_pos,16);return d?(t||new n.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+d)+o*4),this.bb):null}customMetadataLength(){let o=this.bb.__offset(this.bb_pos,16);return o?this.bb.__vector_len(this.bb_pos+o):0}static startField(o){o.startObject(7)}static addName(o,t){o.addFieldOffset(0,t,0)}static addNullable(o,t){o.addFieldInt8(1,+t,0)}static addTypeType(o,t){o.addFieldInt8(2,t,n.apache.arrow.flatbuf.Type.NONE)}static addType(o,t){o.addFieldOffset(3,t,0)}static addDictionary(o,t){o.addFieldOffset(4,t,0)}static addChildren(o,t){o.addFieldOffset(5,t,0)}static createChildrenVector(o,t){o.startVector(4,t.length,4);for(let d=t.length-1;d>=0;d--)o.addOffset(t[d]);return o.endVector()}static startChildrenVector(o,t){o.startVector(4,t,4)}static addCustomMetadata(o,t){o.addFieldOffset(6,t,0)}static createCustomMetadataVector(o,t){o.startVector(4,t.length,4);for(let d=t.length-1;d>=0;d--)o.addOffset(t[d]);return o.endVector()}static startCustomMetadataVector(o,t){o.startVector(4,t,4)}static endField(o){return o.endObject()}static createField(o,t,d,g,i,M,v,p){return D.startField(o),D.addName(o,t),D.addNullable(o,d),D.addTypeType(o,g),D.addType(o,i),D.addDictionary(o,M),D.addChildren(o,v),D.addCustomMetadata(o,p),D.endField(o)}}S.Field=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static createBuffer(o,t,d){return o.prep(8,16),o.writeInt64(d),o.writeInt64(t),o.offset()}}S.Buffer=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsSchema(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}endianness(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.Endianness.Little}fields(o,t){let d=this.bb.__offset(this.bb_pos,6);return d?(t||new n.apache.arrow.flatbuf.Field).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+d)+o*4),this.bb):null}fieldsLength(){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.__vector_len(this.bb_pos+o):0}customMetadata(o,t){let d=this.bb.__offset(this.bb_pos,8);return d?(t||new n.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+d)+o*4),this.bb):null}customMetadataLength(){let o=this.bb.__offset(this.bb_pos,8);return o?this.bb.__vector_len(this.bb_pos+o):0}static startSchema(o){o.startObject(3)}static addEndianness(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.Endianness.Little)}static addFields(o,t){o.addFieldOffset(1,t,0)}static createFieldsVector(o,t){o.startVector(4,t.length,4);for(let d=t.length-1;d>=0;d--)o.addOffset(t[d]);return o.endVector()}static startFieldsVector(o,t){o.startVector(4,t,4)}static addCustomMetadata(o,t){o.addFieldOffset(2,t,0)}static createCustomMetadataVector(o,t){o.startVector(4,t.length,4);for(let d=t.length-1;d>=0;d--)o.addOffset(t[d]);return o.endVector()}static startCustomMetadataVector(o,t){o.startVector(4,t,4)}static endSchema(o){return o.endObject()}static finishSchemaBuffer(o,t){o.finish(t)}static createSchema(o,t,d,g){return D.startSchema(o),D.addEndianness(o,t),D.addFields(o,d),D.addCustomMetadata(o,g),D.endSchema(o)}}S.Schema=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));var Hs;(function(n){(function(e){(function(r){(function(S){S.Schema=kr.apache.arrow.flatbuf.Schema})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Hs||(Hs={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.NONE=0]="NONE",D[D.Schema=1]="Schema",D[D.DictionaryBatch=2]="DictionaryBatch",D[D.RecordBatch=3]="RecordBatch",D[D.Tensor=4]="Tensor",D[D.SparseTensor=5]="SparseTensor"})(S.MessageHeader||(S.MessageHeader={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Hs||(Hs={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static createFieldNode(o,t,d){return o.prep(8,16),o.writeInt64(d),o.writeInt64(t),o.offset()}}S.FieldNode=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Hs||(Hs={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsRecordBatch(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}length(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt64(this.bb_pos+o):this.bb.createLong(0,0)}nodes(o,t){let d=this.bb.__offset(this.bb_pos,6);return d?(t||new n.apache.arrow.flatbuf.FieldNode).__init(this.bb.__vector(this.bb_pos+d)+o*16,this.bb):null}nodesLength(){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.__vector_len(this.bb_pos+o):0}buffers(o,t){let d=this.bb.__offset(this.bb_pos,8);return d?(t||new kr.apache.arrow.flatbuf.Buffer).__init(this.bb.__vector(this.bb_pos+d)+o*16,this.bb):null}buffersLength(){let o=this.bb.__offset(this.bb_pos,8);return o?this.bb.__vector_len(this.bb_pos+o):0}static startRecordBatch(o){o.startObject(3)}static addLength(o,t){o.addFieldInt64(0,t,o.createLong(0,0))}static addNodes(o,t){o.addFieldOffset(1,t,0)}static startNodesVector(o,t){o.startVector(16,t,8)}static addBuffers(o,t){o.addFieldOffset(2,t,0)}static startBuffersVector(o,t){o.startVector(16,t,8)}static endRecordBatch(o){return o.endObject()}static createRecordBatch(o,t,d,g){return D.startRecordBatch(o),D.addLength(o,t),D.addNodes(o,d),D.addBuffers(o,g),D.endRecordBatch(o)}}S.RecordBatch=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Hs||(Hs={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsDictionaryBatch(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}id(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt64(this.bb_pos+o):this.bb.createLong(0,0)}data(o){let t=this.bb.__offset(this.bb_pos,6);return t?(o||new n.apache.arrow.flatbuf.RecordBatch).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}isDelta(){let o=this.bb.__offset(this.bb_pos,8);return o?!!this.bb.readInt8(this.bb_pos+o):!1}static startDictionaryBatch(o){o.startObject(3)}static addId(o,t){o.addFieldInt64(0,t,o.createLong(0,0))}static addData(o,t){o.addFieldOffset(1,t,0)}static addIsDelta(o,t){o.addFieldInt8(2,+t,0)}static endDictionaryBatch(o){return o.endObject()}static createDictionaryBatch(o,t,d,g){return D.startDictionaryBatch(o),D.addId(o,t),D.addData(o,d),D.addIsDelta(o,g),D.endDictionaryBatch(o)}}S.DictionaryBatch=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Hs||(Hs={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsMessage(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}version(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):kr.apache.arrow.flatbuf.MetadataVersion.V1}headerType(){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.readUint8(this.bb_pos+o):n.apache.arrow.flatbuf.MessageHeader.NONE}header(o){let t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__union(o,this.bb_pos+t):null}bodyLength(){let o=this.bb.__offset(this.bb_pos,10);return o?this.bb.readInt64(this.bb_pos+o):this.bb.createLong(0,0)}customMetadata(o,t){let d=this.bb.__offset(this.bb_pos,12);return d?(t||new kr.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+d)+o*4),this.bb):null}customMetadataLength(){let o=this.bb.__offset(this.bb_pos,12);return o?this.bb.__vector_len(this.bb_pos+o):0}static startMessage(o){o.startObject(5)}static addVersion(o,t){o.addFieldInt16(0,t,kr.apache.arrow.flatbuf.MetadataVersion.V1)}static addHeaderType(o,t){o.addFieldInt8(1,t,n.apache.arrow.flatbuf.MessageHeader.NONE)}static addHeader(o,t){o.addFieldOffset(2,t,0)}static addBodyLength(o,t){o.addFieldInt64(3,t,o.createLong(0,0))}static addCustomMetadata(o,t){o.addFieldOffset(4,t,0)}static createCustomMetadataVector(o,t){o.startVector(4,t.length,4);for(let d=t.length-1;d>=0;d--)o.addOffset(t[d]);return o.endVector()}static startCustomMetadataVector(o,t){o.startVector(4,t,4)}static endMessage(o){return o.endObject()}static finishMessageBuffer(o,t){o.finish(t)}static createMessage(o,t,d,g,i,M){return D.startMessage(o),D.addVersion(o,t),D.addHeaderType(o,d),D.addHeader(o,g),D.addBodyLength(o,i),D.addCustomMetadata(o,M),D.endMessage(o)}}S.Message=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Hs||(Hs={}));kr.apache.arrow.flatbuf.Type;var pf=kr.apache.arrow.flatbuf.DateUnit,Ba=kr.apache.arrow.flatbuf.TimeUnit,Yu=kr.apache.arrow.flatbuf.Precision,Yf=kr.apache.arrow.flatbuf.UnionMode,Hp=kr.apache.arrow.flatbuf.IntervalUnit,Ga=Hs.apache.arrow.flatbuf.MessageHeader,Mc=kr.apache.arrow.flatbuf.MetadataVersion,qn;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.Float=3]="Float",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct=13]="Struct",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Dictionary=-1]="Dictionary",n[n.Int8=-2]="Int8",n[n.Int16=-3]="Int16",n[n.Int32=-4]="Int32",n[n.Int64=-5]="Int64",n[n.Uint8=-6]="Uint8",n[n.Uint16=-7]="Uint16",n[n.Uint32=-8]="Uint32",n[n.Uint64=-9]="Uint64",n[n.Float16=-10]="Float16",n[n.Float32=-11]="Float32",n[n.Float64=-12]="Float64",n[n.DateDay=-13]="DateDay",n[n.DateMillisecond=-14]="DateMillisecond",n[n.TimestampSecond=-15]="TimestampSecond",n[n.TimestampMillisecond=-16]="TimestampMillisecond",n[n.TimestampMicrosecond=-17]="TimestampMicrosecond",n[n.TimestampNanosecond=-18]="TimestampNanosecond",n[n.TimeSecond=-19]="TimeSecond",n[n.TimeMillisecond=-20]="TimeMillisecond",n[n.TimeMicrosecond=-21]="TimeMicrosecond",n[n.TimeNanosecond=-22]="TimeNanosecond",n[n.DenseUnion=-23]="DenseUnion",n[n.SparseUnion=-24]="SparseUnion",n[n.IntervalDayTime=-25]="IntervalDayTime",n[n.IntervalYearMonth=-26]="IntervalYearMonth"})(qn||(qn={}));var vi;(function(n){n[n.OFFSET=0]="OFFSET",n[n.DATA=1]="DATA",n[n.VALIDITY=2]="VALIDITY",n[n.TYPE=3]="TYPE"})(vi||(vi={}));function Rk(n,e,r,S){return(r&1<>S}function zL(n,e,r){return r?!!(n[e>>3]|=1<>3]&=~(1<0||r.byteLength>3):Hv(By(r,n,e,null,Rk)).subarray(0,S)),D}return r}function Hv(n){let e=[],r=0,S=0,D=0;for(const o of n)o&&(D|=1<0)&&(e[r++]=D);let x=new Uint8Array(e.length+7&-8);return x.set(e),x}function*By(n,e,r,S,D){let x=e%8,o=e>>3,t=0,d=r;for(;d>0;x=0){let g=n[o++];do yield D(S,t++,g,x);while(--d>0&&++x<8)}}function ix(n,e,r){if(r-e<=0)return 0;if(r-e<8){let x=0;for(const o of By(n,e,r-e,n,RL))x+=o;return x}const S=r>>3<<3,D=e+(e%8===0?0:8-e%8);return ix(n,e,D)+ix(n,S,r)+FL(n,D>>3,S-D>>3)}function FL(n,e,r){let S=0,D=e|0;const x=new DataView(n.buffer,n.byteOffset,n.byteLength),o=r===void 0?n.byteLength:D+r;for(;o-D>=4;)S+=mb(x.getUint32(D)),D+=4;for(;o-D>=2;)S+=mb(x.getUint16(D)),D+=2;for(;o-D>=1;)S+=mb(x.getUint8(D)),D+=1;return S}function mb(n){let e=n|0;return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24}class Zi{visitMany(e,...r){return e.map((S,D)=>this.visit(S,...r.map(x=>x[D])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,r=!0){return BL(this,e,r)}visitNull(e,...r){return null}visitBool(e,...r){return null}visitInt(e,...r){return null}visitFloat(e,...r){return null}visitUtf8(e,...r){return null}visitBinary(e,...r){return null}visitFixedSizeBinary(e,...r){return null}visitDate(e,...r){return null}visitTimestamp(e,...r){return null}visitTime(e,...r){return null}visitDecimal(e,...r){return null}visitList(e,...r){return null}visitStruct(e,...r){return null}visitUnion(e,...r){return null}visitDictionary(e,...r){return null}visitInterval(e,...r){return null}visitFixedSizeList(e,...r){return null}visitMap(e,...r){return null}}function BL(n,e,r=!0){let S=null,D=qn.NONE;switch(e instanceof ni||e instanceof ma?D=gb(e.type):e instanceof Ni?D=gb(e):typeof(D=e)!="number"&&(D=qn[e]),D){case qn.Null:S=n.visitNull;break;case qn.Bool:S=n.visitBool;break;case qn.Int:S=n.visitInt;break;case qn.Int8:S=n.visitInt8||n.visitInt;break;case qn.Int16:S=n.visitInt16||n.visitInt;break;case qn.Int32:S=n.visitInt32||n.visitInt;break;case qn.Int64:S=n.visitInt64||n.visitInt;break;case qn.Uint8:S=n.visitUint8||n.visitInt;break;case qn.Uint16:S=n.visitUint16||n.visitInt;break;case qn.Uint32:S=n.visitUint32||n.visitInt;break;case qn.Uint64:S=n.visitUint64||n.visitInt;break;case qn.Float:S=n.visitFloat;break;case qn.Float16:S=n.visitFloat16||n.visitFloat;break;case qn.Float32:S=n.visitFloat32||n.visitFloat;break;case qn.Float64:S=n.visitFloat64||n.visitFloat;break;case qn.Utf8:S=n.visitUtf8;break;case qn.Binary:S=n.visitBinary;break;case qn.FixedSizeBinary:S=n.visitFixedSizeBinary;break;case qn.Date:S=n.visitDate;break;case qn.DateDay:S=n.visitDateDay||n.visitDate;break;case qn.DateMillisecond:S=n.visitDateMillisecond||n.visitDate;break;case qn.Timestamp:S=n.visitTimestamp;break;case qn.TimestampSecond:S=n.visitTimestampSecond||n.visitTimestamp;break;case qn.TimestampMillisecond:S=n.visitTimestampMillisecond||n.visitTimestamp;break;case qn.TimestampMicrosecond:S=n.visitTimestampMicrosecond||n.visitTimestamp;break;case qn.TimestampNanosecond:S=n.visitTimestampNanosecond||n.visitTimestamp;break;case qn.Time:S=n.visitTime;break;case qn.TimeSecond:S=n.visitTimeSecond||n.visitTime;break;case qn.TimeMillisecond:S=n.visitTimeMillisecond||n.visitTime;break;case qn.TimeMicrosecond:S=n.visitTimeMicrosecond||n.visitTime;break;case qn.TimeNanosecond:S=n.visitTimeNanosecond||n.visitTime;break;case qn.Decimal:S=n.visitDecimal;break;case qn.List:S=n.visitList;break;case qn.Struct:S=n.visitStruct;break;case qn.Union:S=n.visitUnion;break;case qn.DenseUnion:S=n.visitDenseUnion||n.visitUnion;break;case qn.SparseUnion:S=n.visitSparseUnion||n.visitUnion;break;case qn.Dictionary:S=n.visitDictionary;break;case qn.Interval:S=n.visitInterval;break;case qn.IntervalDayTime:S=n.visitIntervalDayTime||n.visitInterval;break;case qn.IntervalYearMonth:S=n.visitIntervalYearMonth||n.visitInterval;break;case qn.FixedSizeList:S=n.visitFixedSizeList;break;case qn.Map:S=n.visitMap;break}if(typeof S=="function")return S;if(!r)return()=>null;throw new Error(`Unrecognized type '${qn[D]}'`)}function gb(n){switch(n.typeId){case qn.Null:return qn.Null;case qn.Int:const{bitWidth:e,isSigned:r}=n;switch(e){case 8:return r?qn.Int8:qn.Uint8;case 16:return r?qn.Int16:qn.Uint16;case 32:return r?qn.Int32:qn.Uint32;case 64:return r?qn.Int64:qn.Uint64}return qn.Int;case qn.Float:switch(n.precision){case Yu.HALF:return qn.Float16;case Yu.SINGLE:return qn.Float32;case Yu.DOUBLE:return qn.Float64}return qn.Float;case qn.Binary:return qn.Binary;case qn.Utf8:return qn.Utf8;case qn.Bool:return qn.Bool;case qn.Decimal:return qn.Decimal;case qn.Time:switch(n.unit){case Ba.SECOND:return qn.TimeSecond;case Ba.MILLISECOND:return qn.TimeMillisecond;case Ba.MICROSECOND:return qn.TimeMicrosecond;case Ba.NANOSECOND:return qn.TimeNanosecond}return qn.Time;case qn.Timestamp:switch(n.unit){case Ba.SECOND:return qn.TimestampSecond;case Ba.MILLISECOND:return qn.TimestampMillisecond;case Ba.MICROSECOND:return qn.TimestampMicrosecond;case Ba.NANOSECOND:return qn.TimestampNanosecond}return qn.Timestamp;case qn.Date:switch(n.unit){case pf.DAY:return qn.DateDay;case pf.MILLISECOND:return qn.DateMillisecond}return qn.Date;case qn.Interval:switch(n.unit){case Hp.DAY_TIME:return qn.IntervalDayTime;case Hp.YEAR_MONTH:return qn.IntervalYearMonth}return qn.Interval;case qn.Map:return qn.Map;case qn.List:return qn.List;case qn.Struct:return qn.Struct;case qn.Union:switch(n.mode){case Yf.Dense:return qn.DenseUnion;case Yf.Sparse:return qn.SparseUnion}return qn.Union;case qn.FixedSizeBinary:return qn.FixedSizeBinary;case qn.FixedSizeList:return qn.FixedSizeList;case qn.Dictionary:return qn.Dictionary}throw new Error(`Unrecognized type '${qn[n.typeId]}'`)}Zi.prototype.visitInt8=null;Zi.prototype.visitInt16=null;Zi.prototype.visitInt32=null;Zi.prototype.visitInt64=null;Zi.prototype.visitUint8=null;Zi.prototype.visitUint16=null;Zi.prototype.visitUint32=null;Zi.prototype.visitUint64=null;Zi.prototype.visitFloat16=null;Zi.prototype.visitFloat32=null;Zi.prototype.visitFloat64=null;Zi.prototype.visitDateDay=null;Zi.prototype.visitDateMillisecond=null;Zi.prototype.visitTimestampSecond=null;Zi.prototype.visitTimestampMillisecond=null;Zi.prototype.visitTimestampMicrosecond=null;Zi.prototype.visitTimestampNanosecond=null;Zi.prototype.visitTimeSecond=null;Zi.prototype.visitTimeMillisecond=null;Zi.prototype.visitTimeMicrosecond=null;Zi.prototype.visitTimeNanosecond=null;Zi.prototype.visitDenseUnion=null;Zi.prototype.visitSparseUnion=null;Zi.prototype.visitIntervalDayTime=null;Zi.prototype.visitIntervalYearMonth=null;class Mi extends Zi{compareSchemas(e,r){return e===r||r instanceof e.constructor&&yu.compareFields(e.fields,r.fields)}compareFields(e,r){return e===r||Array.isArray(e)&&Array.isArray(r)&&e.length===r.length&&e.every((S,D)=>yu.compareField(S,r[D]))}compareField(e,r){return e===r||r instanceof e.constructor&&e.name===r.name&&e.nullable===r.nullable&&yu.visit(e.type,r.type)}}function Yl(n,e){return e instanceof n.constructor}function Wm(n,e){return n===e||Yl(n,e)}function nh(n,e){return n===e||Yl(n,e)&&n.bitWidth===e.bitWidth&&n.isSigned===e.isSigned}function Ny(n,e){return n===e||Yl(n,e)&&n.precision===e.precision}function NL(n,e){return n===e||Yl(n,e)&&n.byteWidth===e.byteWidth}function S2(n,e){return n===e||Yl(n,e)&&n.unit===e.unit}function qm(n,e){return n===e||Yl(n,e)&&n.unit===e.unit&&n.timezone===e.timezone}function $m(n,e){return n===e||Yl(n,e)&&n.unit===e.unit&&n.bitWidth===e.bitWidth}function VL(n,e){return n===e||Yl(n,e)&&n.children.length===e.children.length&&yu.compareFields(n.children,e.children)}function jL(n,e){return n===e||Yl(n,e)&&n.children.length===e.children.length&&yu.compareFields(n.children,e.children)}function C2(n,e){return n===e||Yl(n,e)&&n.mode===e.mode&&n.typeIds.every((r,S)=>r===e.typeIds[S])&&yu.compareFields(n.children,e.children)}function UL(n,e){return n===e||Yl(n,e)&&n.id===e.id&&n.isOrdered===e.isOrdered&&yu.visit(n.indices,e.indices)&&yu.visit(n.dictionary,e.dictionary)}function E2(n,e){return n===e||Yl(n,e)&&n.unit===e.unit}function HL(n,e){return n===e||Yl(n,e)&&n.listSize===e.listSize&&n.children.length===e.children.length&&yu.compareFields(n.children,e.children)}function GL(n,e){return n===e||Yl(n,e)&&n.keysSorted===e.keysSorted&&n.children.length===e.children.length&&yu.compareFields(n.children,e.children)}Mi.prototype.visitNull=Wm;Mi.prototype.visitBool=Wm;Mi.prototype.visitInt=nh;Mi.prototype.visitInt8=nh;Mi.prototype.visitInt16=nh;Mi.prototype.visitInt32=nh;Mi.prototype.visitInt64=nh;Mi.prototype.visitUint8=nh;Mi.prototype.visitUint16=nh;Mi.prototype.visitUint32=nh;Mi.prototype.visitUint64=nh;Mi.prototype.visitFloat=Ny;Mi.prototype.visitFloat16=Ny;Mi.prototype.visitFloat32=Ny;Mi.prototype.visitFloat64=Ny;Mi.prototype.visitUtf8=Wm;Mi.prototype.visitBinary=Wm;Mi.prototype.visitFixedSizeBinary=NL;Mi.prototype.visitDate=S2;Mi.prototype.visitDateDay=S2;Mi.prototype.visitDateMillisecond=S2;Mi.prototype.visitTimestamp=qm;Mi.prototype.visitTimestampSecond=qm;Mi.prototype.visitTimestampMillisecond=qm;Mi.prototype.visitTimestampMicrosecond=qm;Mi.prototype.visitTimestampNanosecond=qm;Mi.prototype.visitTime=$m;Mi.prototype.visitTimeSecond=$m;Mi.prototype.visitTimeMillisecond=$m;Mi.prototype.visitTimeMicrosecond=$m;Mi.prototype.visitTimeNanosecond=$m;Mi.prototype.visitDecimal=Wm;Mi.prototype.visitList=VL;Mi.prototype.visitStruct=jL;Mi.prototype.visitUnion=C2;Mi.prototype.visitDenseUnion=C2;Mi.prototype.visitSparseUnion=C2;Mi.prototype.visitDictionary=UL;Mi.prototype.visitInterval=E2;Mi.prototype.visitIntervalDayTime=E2;Mi.prototype.visitIntervalYearMonth=E2;Mi.prototype.visitFixedSizeList=HL;Mi.prototype.visitMap=GL;const yu=new Mi;class Ni{static isNull(e){return e&&e.typeId===qn.Null}static isInt(e){return e&&e.typeId===qn.Int}static isFloat(e){return e&&e.typeId===qn.Float}static isBinary(e){return e&&e.typeId===qn.Binary}static isUtf8(e){return e&&e.typeId===qn.Utf8}static isBool(e){return e&&e.typeId===qn.Bool}static isDecimal(e){return e&&e.typeId===qn.Decimal}static isDate(e){return e&&e.typeId===qn.Date}static isTime(e){return e&&e.typeId===qn.Time}static isTimestamp(e){return e&&e.typeId===qn.Timestamp}static isInterval(e){return e&&e.typeId===qn.Interval}static isList(e){return e&&e.typeId===qn.List}static isStruct(e){return e&&e.typeId===qn.Struct}static isUnion(e){return e&&e.typeId===qn.Union}static isFixedSizeBinary(e){return e&&e.typeId===qn.FixedSizeBinary}static isFixedSizeList(e){return e&&e.typeId===qn.FixedSizeList}static isMap(e){return e&&e.typeId===qn.Map}static isDictionary(e){return e&&e.typeId===qn.Dictionary}get typeId(){return qn.NONE}compareTo(e){return yu.visit(this,e)}}Ni[Symbol.toStringTag]=(n=>(n.children=null,n.ArrayType=Array,n[Symbol.toStringTag]="DataType"))(Ni.prototype);let Gp=class extends Ni{toString(){return"Null"}get typeId(){return qn.Null}};Gp[Symbol.toStringTag]=(n=>n[Symbol.toStringTag]="Null")(Gp.prototype);class $l extends Ni{constructor(e,r){super(),this.isSigned=e,this.bitWidth=r}get typeId(){return qn.Int}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?Int32Array:Uint32Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}$l[Symbol.toStringTag]=(n=>(n.isSigned=null,n.bitWidth=null,n[Symbol.toStringTag]="Int"))($l.prototype);class L2 extends $l{constructor(){super(!0,8)}}class I2 extends $l{constructor(){super(!0,16)}}class Ed extends $l{constructor(){super(!0,32)}}let Wp=class extends $l{constructor(){super(!0,64)}};class O2 extends $l{constructor(){super(!1,8)}}class P2 extends $l{constructor(){super(!1,16)}}class D2 extends $l{constructor(){super(!1,32)}}let qp=class extends $l{constructor(){super(!1,64)}};Object.defineProperty(L2.prototype,"ArrayType",{value:Int8Array});Object.defineProperty(I2.prototype,"ArrayType",{value:Int16Array});Object.defineProperty(Ed.prototype,"ArrayType",{value:Int32Array});Object.defineProperty(Wp.prototype,"ArrayType",{value:Int32Array});Object.defineProperty(O2.prototype,"ArrayType",{value:Uint8Array});Object.defineProperty(P2.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(D2.prototype,"ArrayType",{value:Uint32Array});Object.defineProperty(qp.prototype,"ArrayType",{value:Uint32Array});class Ld extends Ni{constructor(e){super(),this.precision=e}get typeId(){return qn.Float}get ArrayType(){switch(this.precision){case Yu.HALF:return Uint16Array;case Yu.SINGLE:return Float32Array;case Yu.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}Ld[Symbol.toStringTag]=(n=>(n.precision=null,n[Symbol.toStringTag]="Float"))(Ld.prototype);class Vy extends Ld{constructor(){super(Yu.HALF)}}class R2 extends Ld{constructor(){super(Yu.SINGLE)}}class z2 extends Ld{constructor(){super(Yu.DOUBLE)}}Object.defineProperty(Vy.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(R2.prototype,"ArrayType",{value:Float32Array});Object.defineProperty(z2.prototype,"ArrayType",{value:Float64Array});let km=class extends Ni{constructor(){super()}get typeId(){return qn.Binary}toString(){return"Binary"}};km[Symbol.toStringTag]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Binary"))(km.prototype);let $p=class extends Ni{constructor(){super()}get typeId(){return qn.Utf8}toString(){return"Utf8"}};$p[Symbol.toStringTag]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Utf8"))($p.prototype);let Mm=class extends Ni{constructor(){super()}get typeId(){return qn.Bool}toString(){return"Bool"}};Mm[Symbol.toStringTag]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Bool"))(Mm.prototype);let Gv=class extends Ni{constructor(e,r){super(),this.scale=e,this.precision=r}get typeId(){return qn.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};Gv[Symbol.toStringTag]=(n=>(n.scale=null,n.precision=null,n.ArrayType=Uint32Array,n[Symbol.toStringTag]="Decimal"))(Gv.prototype);class Yp extends Ni{constructor(e){super(),this.unit=e}get typeId(){return qn.Date}toString(){return`Date${(this.unit+1)*32}<${pf[this.unit]}>`}}Yp[Symbol.toStringTag]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Date"))(Yp.prototype);class WL extends Yp{constructor(){super(pf.DAY)}}class S5 extends Yp{constructor(){super(pf.MILLISECOND)}}class Wv extends Ni{constructor(e,r){super(),this.unit=e,this.bitWidth=r}get typeId(){return qn.Time}toString(){return`Time${this.bitWidth}<${Ba[this.unit]}>`}}Wv[Symbol.toStringTag]=(n=>(n.unit=null,n.bitWidth=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Time"))(Wv.prototype);class qv extends Ni{constructor(e,r){super(),this.unit=e,this.timezone=r}get typeId(){return qn.Timestamp}toString(){return`Timestamp<${Ba[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}qv[Symbol.toStringTag]=(n=>(n.unit=null,n.timezone=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Timestamp"))(qv.prototype);class $v extends Ni{constructor(e){super(),this.unit=e}get typeId(){return qn.Interval}toString(){return`Interval<${Hp[this.unit]}>`}}$v[Symbol.toStringTag]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Interval"))($v.prototype);let Zp=class extends Ni{constructor(e){super(),this.children=[e]}get typeId(){return qn.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};Zp[Symbol.toStringTag]=(n=>(n.children=null,n[Symbol.toStringTag]="List"))(Zp.prototype);let Dc=class extends Ni{constructor(e){super(),this.children=e}get typeId(){return qn.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}};Dc[Symbol.toStringTag]=(n=>(n.children=null,n[Symbol.toStringTag]="Struct"))(Dc.prototype);class Am extends Ni{constructor(e,r,S){super(),this.mode=e,this.children=S,this.typeIds=r=Int32Array.from(r),this.typeIdToChildIndex=r.reduce((D,x,o)=>(D[x]=o)&&D||D,Object.create(null))}get typeId(){return qn.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}Am[Symbol.toStringTag]=(n=>(n.mode=null,n.typeIds=null,n.children=null,n.typeIdToChildIndex=null,n.ArrayType=Int8Array,n[Symbol.toStringTag]="Union"))(Am.prototype);let Yv=class extends Ni{constructor(e){super(),this.byteWidth=e}get typeId(){return qn.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};Yv[Symbol.toStringTag]=(n=>(n.byteWidth=null,n.ArrayType=Uint8Array,n[Symbol.toStringTag]="FixedSizeBinary"))(Yv.prototype);let Sm=class extends Ni{constructor(e,r){super(),this.listSize=e,this.children=[r]}get typeId(){return qn.FixedSizeList}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};Sm[Symbol.toStringTag]=(n=>(n.children=null,n.listSize=null,n[Symbol.toStringTag]="FixedSizeList"))(Sm.prototype);let Cm=class extends Ni{constructor(e,r=!1){super(),this.children=[e],this.keysSorted=r}get typeId(){return qn.Map}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}toString(){return`Map<{${this.children[0].type.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}};Cm[Symbol.toStringTag]=(n=>(n.children=null,n.keysSorted=null,n[Symbol.toStringTag]="Map_"))(Cm.prototype);const qL=(n=>()=>++n)(-1);class Fh extends Ni{constructor(e,r,S,D){super(),this.indices=r,this.dictionary=e,this.isOrdered=D||!1,this.id=S==null?qL():typeof S=="number"?S:S.low}get typeId(){return qn.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}Fh[Symbol.toStringTag]=(n=>(n.id=null,n.indices=null,n.isOrdered=null,n.dictionary=null,n[Symbol.toStringTag]="Dictionary"))(Fh.prototype);function zk(n){let e=n;switch(n.typeId){case qn.Decimal:return 4;case qn.Timestamp:return 2;case qn.Date:return 1+e.unit;case qn.Interval:return 1+e.unit;case qn.Int:return 1+ +(e.bitWidth>32);case qn.Time:return 1+ +(e.bitWidth>32);case qn.FixedSizeList:return e.listSize;case qn.FixedSizeBinary:return e.byteWidth;default:return 1}}const $L=-1;class ni{constructor(e,r,S,D,x,o,t){this.type=e,this.dictionary=t,this.offset=Math.floor(Math.max(r||0,0)),this.length=Math.floor(Math.max(S||0,0)),this._nullCount=Math.floor(Math.max(D||0,-1)),this.childData=(o||[]).map(g=>g instanceof ni?g:g.data);let d;x instanceof ni?(this.stride=x.stride,this.values=x.values,this.typeIds=x.typeIds,this.nullBitmap=x.nullBitmap,this.valueOffsets=x.valueOffsets):(this.stride=zk(e),x&&((d=x[0])&&(this.valueOffsets=d),(d=x[1])&&(this.values=d),(d=x[2])&&(this.nullBitmap=d),(d=x[3])&&(this.typeIds=d)))}get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get byteLength(){let e=0,{valueOffsets:r,values:S,nullBitmap:D,typeIds:x}=this;return r&&(e+=r.byteLength),S&&(e+=S.byteLength),D&&(e+=D.byteLength),x&&(e+=x.byteLength),this.childData.reduce((o,t)=>o+t.byteLength,e)}get nullCount(){let e=this._nullCount,r;return e<=$L&&(r=this.nullBitmap)&&(this._nullCount=e=this.length-ix(r,this.offset,this.offset+this.length)),e}clone(e,r=this.offset,S=this.length,D=this._nullCount,x=this,o=this.childData){return new ni(e,r,S,D,x,o,this.dictionary)}slice(e,r){const{stride:S,typeId:D,childData:x}=this,o=+(this._nullCount===0)-1,t=D===16?S:1,d=this._sliceBuffers(e,r,S,D);return this.clone(this.type,this.offset+e,r,o,d,!x.length||this.valueOffsets?x:this._sliceChildren(x,t*e,t*r))}_changeLengthAndBackfillNullBitmap(e){if(this.typeId===qn.Null)return this.clone(this.type,0,e,0);const{length:r,nullCount:S}=this,D=new Uint8Array((e+63&-64)>>3).fill(255,0,r>>3);D[r>>3]=(1<0&&D.set(A2(this.offset,r,this.nullBitmap),0);const x=this.buffers;return x[vi.VALIDITY]=D,this.clone(this.type,0,e,S+(e-r),x)}_sliceBuffers(e,r,S,D){let x,{buffers:o}=this;return(x=o[vi.TYPE])&&(o[vi.TYPE]=x.subarray(e,e+r)),(x=o[vi.OFFSET])&&(o[vi.OFFSET]=x.subarray(e,e+r+1))||(x=o[vi.DATA])&&(o[vi.DATA]=D===6?x:x.subarray(S*e,S*(e+r))),o}_sliceChildren(e,r,S){return e.map(D=>D.slice(r,S))}static new(e,r,S,D,x,o,t){switch(x instanceof ni?x=x.buffers:x||(x=[]),e.typeId){case qn.Null:return ni.Null(e,r,S);case qn.Int:return ni.Int(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Dictionary:return ni.Dictionary(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[],t);case qn.Float:return ni.Float(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Bool:return ni.Bool(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Decimal:return ni.Decimal(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Date:return ni.Date(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Time:return ni.Time(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Timestamp:return ni.Timestamp(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Interval:return ni.Interval(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.FixedSizeBinary:return ni.FixedSizeBinary(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Binary:return ni.Binary(e,r,S,D||0,x[vi.VALIDITY],x[vi.OFFSET]||[],x[vi.DATA]||[]);case qn.Utf8:return ni.Utf8(e,r,S,D||0,x[vi.VALIDITY],x[vi.OFFSET]||[],x[vi.DATA]||[]);case qn.List:return ni.List(e,r,S,D||0,x[vi.VALIDITY],x[vi.OFFSET]||[],(o||[])[0]);case qn.FixedSizeList:return ni.FixedSizeList(e,r,S,D||0,x[vi.VALIDITY],(o||[])[0]);case qn.Struct:return ni.Struct(e,r,S,D||0,x[vi.VALIDITY],o||[]);case qn.Map:return ni.Map(e,r,S,D||0,x[vi.VALIDITY],x[vi.OFFSET]||[],(o||[])[0]);case qn.Union:return ni.Union(e,r,S,D||0,x[vi.VALIDITY],x[vi.TYPE]||[],x[vi.OFFSET]||o,o)}throw new Error(`Unrecognized typeId ${e.typeId}`)}static Null(e,r,S){return new ni(e,r,S,0)}static Int(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Dictionary(e,r,S,D,x,o,t){return new ni(e,r,S,D,[void 0,Ia(e.indices.ArrayType,o),ra(x)],[],t)}static Float(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Bool(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Decimal(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Date(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Time(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Timestamp(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Interval(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static FixedSizeBinary(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Binary(e,r,S,D,x,o,t){return new ni(e,r,S,D,[K0(o),ra(t),ra(x)])}static Utf8(e,r,S,D,x,o,t){return new ni(e,r,S,D,[K0(o),ra(t),ra(x)])}static List(e,r,S,D,x,o,t){return new ni(e,r,S,D,[K0(o),void 0,ra(x)],[t])}static FixedSizeList(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,void 0,ra(x)],[o])}static Struct(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,void 0,ra(x)],o)}static Map(e,r,S,D,x,o,t){return new ni(e,r,S,D,[K0(o),void 0,ra(x)],[t])}static Union(e,r,S,D,x,o,t,d){const g=[void 0,void 0,ra(x),Ia(e.ArrayType,o)];return e.mode===Yf.Sparse?new ni(e,r,S,D,g,t):(g[vi.OFFSET]=K0(t),new ni(e,r,S,D,g,d))}}ni.prototype.childData=Object.freeze([]);const YL=void 0;function cm(n){if(n===null)return"null";if(n===YL)return"undefined";switch(typeof n){case"number":return`${n}`;case"bigint":return`${n}`;case"string":return`"${n}"`}return typeof n[Symbol.toPrimitive]=="function"?n[Symbol.toPrimitive]("string"):ArrayBuffer.isView(n)?`[${n}]`:JSON.stringify(n)}function ZL(n){if(!n||n.length<=0)return function(D){return!0};let e="",r=n.filter(S=>S===S);return r.length>0&&(e=` + */var v2=j9,Rc=typeof Symbol=="function"&&Symbol.for,Um=Rc?Symbol.for("react.element"):60103,U9=Rc?Symbol.for("react.portal"):60106,H9=Rc?Symbol.for("react.fragment"):60107,G9=Rc?Symbol.for("react.strict_mode"):60108,W9=Rc?Symbol.for("react.profiler"):60114,q9=Rc?Symbol.for("react.provider"):60109,$9=Rc?Symbol.for("react.context"):60110,Y9=Rc?Symbol.for("react.forward_ref"):60112,Z9=Rc?Symbol.for("react.suspense"):60113,X9=Rc?Symbol.for("react.memo"):60115,K9=Rc?Symbol.for("react.lazy"):60116,x5=typeof Symbol=="function"&&Symbol.iterator;function Hm(n){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+n,r=1;rzv.length&&zv.push(n)}function Kb(n,e,r,S){var D=typeof n;(D==="undefined"||D==="boolean")&&(n=null);var x=!1;if(n===null)x=!0;else switch(D){case"string":case"number":x=!0;break;case"object":switch(n.$$typeof){case Um:case U9:x=!0}}if(x)return r(S,n,e===""?"."+hb(n,0):e),1;if(x=0,e=e===""?".":e+":",Array.isArray(n))for(var o=0;o0){const n=new Array(arguments.length);for(let e=0;e>>0)+this.high*4294967296};lr.Long.prototype.equals=function(n){return this.low==n.low&&this.high==n.high};lr.Long.ZERO=new lr.Long(0,0);lr.Builder=function(n){if(n)var e=n;else var e=1024;this.bb=lr.ByteBuffer.allocate(e),this.space=e,this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1};lr.Builder.prototype.clear=function(){this.bb.clear(),this.space=this.bb.capacity(),this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1};lr.Builder.prototype.forceDefaults=function(n){this.force_defaults=n};lr.Builder.prototype.dataBuffer=function(){return this.bb};lr.Builder.prototype.asUint8Array=function(){return this.bb.bytes().subarray(this.bb.position(),this.bb.position()+this.offset())};lr.Builder.prototype.prep=function(n,e){n>this.minalign&&(this.minalign=n);for(var r=~(this.bb.capacity()-this.space+e)+1&n-1;this.space=0&&this.vtable[e]==0;e--);for(var r=e+1;e>=0;e--)this.addInt16(this.vtable[e]!=0?n-this.vtable[e]:0);var S=2;this.addInt16(n-this.object_start);var D=(r+S)*lr.SIZEOF_SHORT;this.addInt16(D);var x=0,o=this.space;e:for(e=0;e=0;S--)this.writeInt8(r.charCodeAt(S))}this.prep(this.minalign,lr.SIZEOF_INT),this.addOffset(n),this.bb.setPosition(this.space)};lr.Builder.prototype.requiredField=function(n,e){var r=this.bb.capacity()-n,S=r-this.bb.readInt32(r),D=this.bb.readInt16(S+e)!=0;if(!D)throw new Error("FlatBuffers: field "+e+" must be set")};lr.Builder.prototype.startVector=function(n,e,r){this.notNested(),this.vector_num_elems=e,this.prep(lr.SIZEOF_INT,n*e),this.prep(r,n*e)};lr.Builder.prototype.endVector=function(){return this.writeInt32(this.vector_num_elems),this.offset()};lr.Builder.prototype.createString=function(n){if(n instanceof Uint8Array)var e=n;else for(var e=[],r=0;r=56320)S=D;else{var x=n.charCodeAt(r++);S=(D<<10)+x+(65536-(55296<<10)-56320)}S<128?e.push(S):(S<2048?e.push(S>>6&31|192):(S<65536?e.push(S>>12&15|224):e.push(S>>18&7|240,S>>12&63|128),e.push(S>>6&63|128)),e.push(S&63|128))}this.addInt8(0),this.startVector(1,e.length,1),this.bb.setPosition(this.space-=e.length);for(var r=0,o=this.space,t=this.bb.bytes();r>24};lr.ByteBuffer.prototype.readUint8=function(n){return this.bytes_[n]};lr.ByteBuffer.prototype.readInt16=function(n){return this.readUint16(n)<<16>>16};lr.ByteBuffer.prototype.readUint16=function(n){return this.bytes_[n]|this.bytes_[n+1]<<8};lr.ByteBuffer.prototype.readInt32=function(n){return this.bytes_[n]|this.bytes_[n+1]<<8|this.bytes_[n+2]<<16|this.bytes_[n+3]<<24};lr.ByteBuffer.prototype.readUint32=function(n){return this.readInt32(n)>>>0};lr.ByteBuffer.prototype.readInt64=function(n){return new lr.Long(this.readInt32(n),this.readInt32(n+4))};lr.ByteBuffer.prototype.readUint64=function(n){return new lr.Long(this.readUint32(n),this.readUint32(n+4))};lr.ByteBuffer.prototype.readFloat32=function(n){return lr.int32[0]=this.readInt32(n),lr.float32[0]};lr.ByteBuffer.prototype.readFloat64=function(n){return lr.int32[lr.isLittleEndian?0:1]=this.readInt32(n),lr.int32[lr.isLittleEndian?1:0]=this.readInt32(n+4),lr.float64[0]};lr.ByteBuffer.prototype.writeInt8=function(n,e){this.bytes_[n]=e};lr.ByteBuffer.prototype.writeUint8=function(n,e){this.bytes_[n]=e};lr.ByteBuffer.prototype.writeInt16=function(n,e){this.bytes_[n]=e,this.bytes_[n+1]=e>>8};lr.ByteBuffer.prototype.writeUint16=function(n,e){this.bytes_[n]=e,this.bytes_[n+1]=e>>8};lr.ByteBuffer.prototype.writeInt32=function(n,e){this.bytes_[n]=e,this.bytes_[n+1]=e>>8,this.bytes_[n+2]=e>>16,this.bytes_[n+3]=e>>24};lr.ByteBuffer.prototype.writeUint32=function(n,e){this.bytes_[n]=e,this.bytes_[n+1]=e>>8,this.bytes_[n+2]=e>>16,this.bytes_[n+3]=e>>24};lr.ByteBuffer.prototype.writeInt64=function(n,e){this.writeInt32(n,e.low),this.writeInt32(n+4,e.high)};lr.ByteBuffer.prototype.writeUint64=function(n,e){this.writeUint32(n,e.low),this.writeUint32(n+4,e.high)};lr.ByteBuffer.prototype.writeFloat32=function(n,e){lr.float32[0]=e,this.writeInt32(n,lr.int32[0])};lr.ByteBuffer.prototype.writeFloat64=function(n,e){lr.float64[0]=e,this.writeInt32(n,lr.int32[lr.isLittleEndian?0:1]),this.writeInt32(n+4,lr.int32[lr.isLittleEndian?1:0])};lr.ByteBuffer.prototype.getBufferIdentifier=function(){if(this.bytes_.length>10)+55296,(x&(1<<10)-1)+56320))}return S};lr.ByteBuffer.prototype.__indirect=function(n){return n+this.readInt32(n)};lr.ByteBuffer.prototype.__vector=function(n){return n+this.readInt32(n)+lr.SIZEOF_INT};lr.ByteBuffer.prototype.__vector_len=function(n){return this.readInt32(n+this.readInt32(n))};lr.ByteBuffer.prototype.__has_identifier=function(n){if(n.length!=lr.FILE_IDENTIFIER_LENGTH)throw new Error("FlatBuffers: file identifier must be length "+lr.FILE_IDENTIFIER_LENGTH);for(var e=0;e57343)D.push(x);else if(56320<=x&&x<=57343)D.push(65533);else if(55296<=x&&x<=56319)if(S===r-1)D.push(65533);else{var o=n.charCodeAt(S+1);if(56320<=o&&o<=57343){var t=x&1023,d=o&1023;D.push(65536+(t<<10)+d),S+=1}else D.push(65533)}S+=1}return D}function pL(n){for(var e="",r=0;r>10)+55296,(S&1023)+56320))}return e}var Fv=-1;function w2(n){this.tokens=[].slice.call(n)}w2.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():Fv},prepend:function(n){if(Array.isArray(n))for(var e=n;e.length;)this.tokens.unshift(e.pop());else this.tokens.unshift(n)},push:function(n){if(Array.isArray(n))for(var e=n;e.length;)this.tokens.push(e.shift());else this.tokens.push(n)}};var Up=-1;function db(n,e){if(n)throw TypeError("Decoder error");return e||65533}var Bv="utf-8";function Nv(n,e){if(!(this instanceof Nv))return new Nv(n,e);if(n=n!==void 0?String(n).toLowerCase():Bv,n!==Bv)throw new Error("Encoding not supported. Only utf-8 is supported");e=Ry(e),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=!!e.fatal,this._ignoreBOM=!!e.ignoreBOM,Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}Nv.prototype={decode:function(e,r){var S;typeof e=="object"&&e instanceof ArrayBuffer?S=new Uint8Array(e):typeof e=="object"&&"buffer"in e&&e.buffer instanceof ArrayBuffer?S=new Uint8Array(e.buffer,e.byteOffset,e.byteLength):S=new Uint8Array(0),r=Ry(r),this._streaming||(this._decoder=new mL({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!r.stream;for(var D=new w2(S),x=[],o;!D.endOfStream()&&(o=this._decoder.handler(D,D.read()),o!==Up);)o!==null&&(Array.isArray(o)?x.push.apply(x,o):x.push(o));if(!this._streaming){do{if(o=this._decoder.handler(D,D.read()),o===Up)break;o!==null&&(Array.isArray(o)?x.push.apply(x,o):x.push(o))}while(!D.endOfStream());this._decoder=null}return x.length&&["utf-8"].indexOf(this.encoding)!==-1&&!this._ignoreBOM&&!this._BOMseen&&(x[0]===65279?(this._BOMseen=!0,x.shift()):this._BOMseen=!0),pL(x)}};function Vv(n,e){if(!(this instanceof Vv))return new Vv(n,e);if(n=n!==void 0?String(n).toLowerCase():Bv,n!==Bv)throw new Error("Encoding not supported. Only utf-8 is supported");e=Ry(e),this._streaming=!1,this._encoder=null,this._options={fatal:!!e.fatal},Object.defineProperty(this,"encoding",{value:"utf-8"})}Vv.prototype={encode:function(e,r){e=e?String(e):"",r=Ry(r),this._streaming||(this._encoder=new gL(this._options)),this._streaming=!!r.stream;for(var S=[],D=new w2(dL(e)),x;!D.endOfStream()&&(x=this._encoder.handler(D,D.read()),x!==Up);)Array.isArray(x)?S.push.apply(S,x):S.push(x);if(!this._streaming){for(;x=this._encoder.handler(D,D.read()),x!==Up;)Array.isArray(x)?S.push.apply(S,x):S.push(x);this._encoder=null}return new Uint8Array(S)}};function mL(n){var e=n.fatal,r=0,S=0,D=0,x=128,o=191;this.handler=function(t,d){if(d===Fv&&D!==0)return D=0,db(e);if(d===Fv)return Up;if(D===0){if(Vf(d,0,127))return d;if(Vf(d,194,223))D=1,r=d-192;else if(Vf(d,224,239))d===224&&(x=160),d===237&&(o=159),D=2,r=d-224;else if(Vf(d,240,244))d===240&&(x=144),d===244&&(o=143),D=3,r=d-240;else return db(e);return r=r<<6*D,null}if(!Vf(d,x,o))return r=D=S=0,x=128,o=191,t.prepend(d),db(e);if(x=128,o=191,S+=1,r+=d-128<<6*(D-S),S!==D)return null;var v=r;return r=D=S=0,v}}function gL(n){n.fatal,this.handler=function(e,r){if(r===Fv)return Up;if(Vf(r,0,127))return r;var S,D;Vf(r,128,2047)?(S=1,D=192):Vf(r,2048,65535)?(S=2,D=224):Vf(r,65536,1114111)&&(S=3,D=240);for(var x=[(r>>6*S)+D];S>0;){var o=r>>6*(S-1);x.push(128|o&63),S-=1}return x}}const jv=typeof Buffer=="function"?Buffer:null,Sk=typeof TextDecoder=="function"&&typeof TextEncoder=="function",tx=(n=>{if(Sk||!jv){const e=new n("utf-8");return r=>e.decode(r)}return e=>{const{buffer:r,byteOffset:S,length:D}=ra(e);return jv.from(r,S,D).toString()}})(typeof TextDecoder<"u"?TextDecoder:Nv),zy=(n=>{if(Sk||!jv){const e=new n;return r=>e.encode(r)}return(e="")=>ra(jv.from(e,"utf8"))})(typeof TextEncoder<"u"?TextEncoder:Vv),Co=Object.freeze({done:!0,value:void 0});class A5{constructor(e){this._json=e}get schema(){return this._json.schema}get batches(){return this._json.batches||[]}get dictionaries(){return this._json.dictionaries||[]}}class Hd{tee(){return this._getDOMStream().tee()}pipe(e,r){return this._getNodeStream().pipe(e,r)}pipeTo(e,r){return this._getDOMStream().pipeTo(e,r)}pipeThrough(e,r){return this._getDOMStream().pipeThrough(e,r)}_getDOMStream(){return this._DOMStream||(this._DOMStream=this.toDOMStream())}_getNodeStream(){return this._nodeStream||(this._nodeStream=this.toNodeStream())}}class vL extends Hd{constructor(){super(),this._values=[],this.resolvers=[],this._closedPromise=new Promise(e=>this._closedPromiseResolve=e)}get closed(){return this._closedPromise}async cancel(e){await this.return(e)}write(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}abort(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}close(){if(this._closedPromiseResolve){const{resolvers:e}=this;for(;e.length>0;)e.shift().resolve(Co);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(e){return du.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}toNodeStream(e){return du.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}async throw(e){return await this.abort(e),Co}async return(e){return await this.close(),Co}async read(e){return(await this.next(e,"read")).value}async peek(e){return(await this.next(e,"peek")).value}next(...e){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((r,S)=>{this.resolvers.push({resolve:r,reject:S})}):Promise.resolve(Co)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error(`${this} is closed`)}}const[yL,Fy]=(()=>{const n=()=>{throw new Error("BigInt is not available in this environment")};function e(){throw n()}return e.asIntN=()=>{throw n()},e.asUintN=()=>{throw n()},typeof BigInt<"u"?[BigInt,!0]:[e,!1]})(),[c0,n$]=(()=>{const n=()=>{throw new Error("BigInt64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigInt64Array<"u"?[BigInt64Array,!0]:[e,!1]})(),[Gm,r$]=(()=>{const n=()=>{throw new Error("BigUint64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigUint64Array<"u"?[BigUint64Array,!0]:[e,!1]})(),bL=n=>typeof n=="number",Ck=n=>typeof n=="boolean",Xu=n=>typeof n=="function",xu=n=>n!=null&&Object(n)===n,zh=n=>xu(n)&&Xu(n.then),Pc=n=>xu(n)&&Xu(n[Symbol.iterator]),th=n=>xu(n)&&Xu(n[Symbol.asyncIterator]),nx=n=>xu(n)&&xu(n.schema),Ek=n=>xu(n)&&"done"in n&&"value"in n,Lk=n=>xu(n)&&Xu(n.stat)&&bL(n.fd),Ik=n=>xu(n)&&T2(n.body),xL=n=>xu(n)&&Xu(n.abort)&&Xu(n.getWriter)&&!(n instanceof Hd),T2=n=>xu(n)&&Xu(n.cancel)&&Xu(n.getReader)&&!(n instanceof Hd),_L=n=>xu(n)&&Xu(n.end)&&Xu(n.write)&&Ck(n.writable)&&!(n instanceof Hd),Ok=n=>xu(n)&&Xu(n.read)&&Xu(n.pipe)&&Ck(n.readable)&&!(n instanceof Hd);var wL=lr.ByteBuffer;const k2=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function TL(n){let e=n[0]?[n[0]]:[],r,S,D,x;for(let o,t,d=0,v=0,i=n.length;++di+M.byteLength,0),D,x,o,t=0,d=-1,v=Math.min(e||1/0,S);for(let i=r.length;++dIa(Int32Array,n),kL=n=>Ia(c0,n),ra=n=>Ia(Uint8Array,n),ML=n=>Ia(Gm,n),rx=n=>(n.next(),n);function*AL(n,e){const r=function*(D){yield D},S=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof k2?r(e):Pc(e)?e:r(e);yield*rx(function*(D){let x=null;do x=D.next(yield Ia(n,x));while(!x.done)}(S[Symbol.iterator]()))}const SL=n=>AL(Uint8Array,n);async function*Pk(n,e){if(zh(e))return yield*Pk(n,await e);const r=async function*(x){yield await x},S=async function*(x){yield*rx(function*(o){let t=null;do t=o.next(yield t&&t.value);while(!t.done)}(x[Symbol.iterator]()))},D=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof k2?r(e):Pc(e)?S(e):th(e)?e:r(e);yield*rx(async function*(x){let o=null;do o=await x.next(yield Ia(n,o));while(!o.done)}(D[Symbol.asyncIterator]()))}const CL=n=>Pk(Uint8Array,n);function M2(n,e,r){if(n!==0){r=r.slice(0,e+1);for(let S=-1;++S<=e;)r[S]+=n}return r}function EL(n,e){let r=0,S=n.length;if(S!==e.length)return!1;if(S>0)do if(n[r]!==e[r])return!1;while(++r(n.next(),n);function*LL(n){let e,r=!1,S=[],D,x,o,t=0;function d(){return x==="peek"?df(S,o)[0]:([D,S,t]=df(S,o),D)}({cmd:x,size:o}=yield null);let v=SL(n)[Symbol.iterator]();try{do if({done:e,value:D}=isNaN(o-t)?v.next(void 0):v.next(o-t),!e&&D.byteLength>0&&(S.push(D),t+=D.byteLength),e||o<=t)do({cmd:x,size:o}=yield d());while(o0&&(S.push(D),t+=D.byteLength),e||o<=t)do({cmd:x,size:o}=yield d());while(o0&&(S.push(ra(D)),t+=D.byteLength),e||o<=t)do({cmd:x,size:o}=yield d());while(o{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=this.byobReader=this.defaultReader=null}async cancel(e){const{reader:r,source:S}=this;r&&await r.cancel(e).catch(()=>{}),S&&S.locked&&this.releaseLock()}async read(e){if(e===0)return{done:this.reader==null,value:new Uint8Array(0)};const r=!this.supportsBYOB||typeof e!="number"?await this.getDefaultReader().read():await this.readFromBYOBReader(e);return!r.done&&(r.value=ra(r)),r}getDefaultReader(){return this.byobReader&&this.releaseLock(),this.defaultReader||(this.defaultReader=this.source.getReader(),this.defaultReader.closed.catch(()=>{})),this.reader=this.defaultReader}getBYOBReader(){return this.defaultReader&&this.releaseLock(),this.byobReader||(this.byobReader=this.source.getReader({mode:"byob"}),this.byobReader.closed.catch(()=>{})),this.reader=this.byobReader}async readFromBYOBReader(e){return await Dk(this.getBYOBReader(),new ArrayBuffer(e),0,e)}}async function Dk(n,e,r,S){if(r>=S)return{done:!1,value:new Uint8Array(e,0,S)};const{done:D,value:x}=await n.read(new Uint8Array(e,r,S-r));return(r+=x.byteLength){let r=D=>S([e,D]),S;return[e,r,new Promise(D=>(S=D)&&n.once(e,r))]};async function*DL(n){let e=[],r="error",S=!1,D=null,x,o,t=0,d=[],v;function i(){return x==="peek"?df(d,o)[0]:([v,d,t]=df(d,o),v)}if({cmd:x,size:o}=yield null,n.isTTY)return yield new Uint8Array(0);try{e[0]=pb(n,"end"),e[1]=pb(n,"error");do{if(e[2]=pb(n,"readable"),[r,D]=await Promise.race(e.map(g=>g[2])),r==="error")break;if((S=r==="end")||(isFinite(o-t)?(v=ra(n.read(o-t)),v.byteLength0&&(d.push(v),t+=v.byteLength)),S||o<=t)do({cmd:x,size:o}=yield i());while(o{for(const[c,s]of g)n.off(c,s);try{const c=n.destroy;c&&c.call(n,p),p=void 0}catch(c){p=c||p}finally{p!=null?a(p):u()}})}}class ma{}var kr;(function(n){(function(e){(function(r){(function(S){(function(D){D[D.V1=0]="V1",D[D.V2=1]="V2",D[D.V3=2]="V3",D[D.V4=3]="V4"})(S.MetadataVersion||(S.MetadataVersion={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.Sparse=0]="Sparse",D[D.Dense=1]="Dense"})(S.UnionMode||(S.UnionMode={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.HALF=0]="HALF",D[D.SINGLE=1]="SINGLE",D[D.DOUBLE=2]="DOUBLE"})(S.Precision||(S.Precision={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.DAY=0]="DAY",D[D.MILLISECOND=1]="MILLISECOND"})(S.DateUnit||(S.DateUnit={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.SECOND=0]="SECOND",D[D.MILLISECOND=1]="MILLISECOND",D[D.MICROSECOND=2]="MICROSECOND",D[D.NANOSECOND=3]="NANOSECOND"})(S.TimeUnit||(S.TimeUnit={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.YEAR_MONTH=0]="YEAR_MONTH",D[D.DAY_TIME=1]="DAY_TIME"})(S.IntervalUnit||(S.IntervalUnit={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.NONE=0]="NONE",D[D.Null=1]="Null",D[D.Int=2]="Int",D[D.FloatingPoint=3]="FloatingPoint",D[D.Binary=4]="Binary",D[D.Utf8=5]="Utf8",D[D.Bool=6]="Bool",D[D.Decimal=7]="Decimal",D[D.Date=8]="Date",D[D.Time=9]="Time",D[D.Timestamp=10]="Timestamp",D[D.Interval=11]="Interval",D[D.List=12]="List",D[D.Struct_=13]="Struct_",D[D.Union=14]="Union",D[D.FixedSizeBinary=15]="FixedSizeBinary",D[D.FixedSizeList=16]="FixedSizeList",D[D.Map=17]="Map",D[D.Duration=18]="Duration",D[D.LargeBinary=19]="LargeBinary",D[D.LargeUtf8=20]="LargeUtf8",D[D.LargeList=21]="LargeList"})(S.Type||(S.Type={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.Little=0]="Little",D[D.Big=1]="Big"})(S.Endianness||(S.Endianness={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsNull(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startNull(o){o.startObject(0)}static endNull(o){return o.endObject()}static createNull(o){return D.startNull(o),D.endNull(o)}}S.Null=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsStruct_(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startStruct_(o){o.startObject(0)}static endStruct_(o){return o.endObject()}static createStruct_(o){return D.startStruct_(o),D.endStruct_(o)}}S.Struct_=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsList(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startList(o){o.startObject(0)}static endList(o){return o.endObject()}static createList(o){return D.startList(o),D.endList(o)}}S.List=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsLargeList(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startLargeList(o){o.startObject(0)}static endLargeList(o){return o.endObject()}static createLargeList(o){return D.startLargeList(o),D.endLargeList(o)}}S.LargeList=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsFixedSizeList(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}listSize(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt32(this.bb_pos+o):0}static startFixedSizeList(o){o.startObject(1)}static addListSize(o,t){o.addFieldInt32(0,t,0)}static endFixedSizeList(o){return o.endObject()}static createFixedSizeList(o,t){return D.startFixedSizeList(o),D.addListSize(o,t),D.endFixedSizeList(o)}}S.FixedSizeList=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsMap(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}keysSorted(){let o=this.bb.__offset(this.bb_pos,4);return o?!!this.bb.readInt8(this.bb_pos+o):!1}static startMap(o){o.startObject(1)}static addKeysSorted(o,t){o.addFieldInt8(0,+t,0)}static endMap(o){return o.endObject()}static createMap(o,t){return D.startMap(o),D.addKeysSorted(o,t),D.endMap(o)}}S.Map=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsUnion(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}mode(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.UnionMode.Sparse}typeIds(o){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readInt32(this.bb.__vector(this.bb_pos+t)+o*4):0}typeIdsLength(){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.__vector_len(this.bb_pos+o):0}typeIdsArray(){let o=this.bb.__offset(this.bb_pos,6);return o?new Int32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+o),this.bb.__vector_len(this.bb_pos+o)):null}static startUnion(o){o.startObject(2)}static addMode(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.UnionMode.Sparse)}static addTypeIds(o,t){o.addFieldOffset(1,t,0)}static createTypeIdsVector(o,t){o.startVector(4,t.length,4);for(let d=t.length-1;d>=0;d--)o.addInt32(t[d]);return o.endVector()}static startTypeIdsVector(o,t){o.startVector(4,t,4)}static endUnion(o){return o.endObject()}static createUnion(o,t,d){return D.startUnion(o),D.addMode(o,t),D.addTypeIds(o,d),D.endUnion(o)}}S.Union=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsInt(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}bitWidth(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt32(this.bb_pos+o):0}isSigned(){let o=this.bb.__offset(this.bb_pos,6);return o?!!this.bb.readInt8(this.bb_pos+o):!1}static startInt(o){o.startObject(2)}static addBitWidth(o,t){o.addFieldInt32(0,t,0)}static addIsSigned(o,t){o.addFieldInt8(1,+t,0)}static endInt(o){return o.endObject()}static createInt(o,t,d){return D.startInt(o),D.addBitWidth(o,t),D.addIsSigned(o,d),D.endInt(o)}}S.Int=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsFloatingPoint(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}precision(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.Precision.HALF}static startFloatingPoint(o){o.startObject(1)}static addPrecision(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.Precision.HALF)}static endFloatingPoint(o){return o.endObject()}static createFloatingPoint(o,t){return D.startFloatingPoint(o),D.addPrecision(o,t),D.endFloatingPoint(o)}}S.FloatingPoint=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsUtf8(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startUtf8(o){o.startObject(0)}static endUtf8(o){return o.endObject()}static createUtf8(o){return D.startUtf8(o),D.endUtf8(o)}}S.Utf8=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsBinary(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startBinary(o){o.startObject(0)}static endBinary(o){return o.endObject()}static createBinary(o){return D.startBinary(o),D.endBinary(o)}}S.Binary=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsLargeUtf8(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startLargeUtf8(o){o.startObject(0)}static endLargeUtf8(o){return o.endObject()}static createLargeUtf8(o){return D.startLargeUtf8(o),D.endLargeUtf8(o)}}S.LargeUtf8=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsLargeBinary(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startLargeBinary(o){o.startObject(0)}static endLargeBinary(o){return o.endObject()}static createLargeBinary(o){return D.startLargeBinary(o),D.endLargeBinary(o)}}S.LargeBinary=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsFixedSizeBinary(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}byteWidth(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt32(this.bb_pos+o):0}static startFixedSizeBinary(o){o.startObject(1)}static addByteWidth(o,t){o.addFieldInt32(0,t,0)}static endFixedSizeBinary(o){return o.endObject()}static createFixedSizeBinary(o,t){return D.startFixedSizeBinary(o),D.addByteWidth(o,t),D.endFixedSizeBinary(o)}}S.FixedSizeBinary=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsBool(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}static startBool(o){o.startObject(0)}static endBool(o){return o.endObject()}static createBool(o){return D.startBool(o),D.endBool(o)}}S.Bool=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsDecimal(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}precision(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt32(this.bb_pos+o):0}scale(){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.readInt32(this.bb_pos+o):0}static startDecimal(o){o.startObject(2)}static addPrecision(o,t){o.addFieldInt32(0,t,0)}static addScale(o,t){o.addFieldInt32(1,t,0)}static endDecimal(o){return o.endObject()}static createDecimal(o,t,d){return D.startDecimal(o),D.addPrecision(o,t),D.addScale(o,d),D.endDecimal(o)}}S.Decimal=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsDate(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}unit(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.DateUnit.MILLISECOND}static startDate(o){o.startObject(1)}static addUnit(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.DateUnit.MILLISECOND)}static endDate(o){return o.endObject()}static createDate(o,t){return D.startDate(o),D.addUnit(o,t),D.endDate(o)}}S.Date=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsTime(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}unit(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.TimeUnit.MILLISECOND}bitWidth(){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.readInt32(this.bb_pos+o):32}static startTime(o){o.startObject(2)}static addUnit(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.TimeUnit.MILLISECOND)}static addBitWidth(o,t){o.addFieldInt32(1,t,32)}static endTime(o){return o.endObject()}static createTime(o,t,d){return D.startTime(o),D.addUnit(o,t),D.addBitWidth(o,d),D.endTime(o)}}S.Time=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsTimestamp(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}unit(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.TimeUnit.SECOND}timezone(o){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__string(this.bb_pos+t,o):null}static startTimestamp(o){o.startObject(2)}static addUnit(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.TimeUnit.SECOND)}static addTimezone(o,t){o.addFieldOffset(1,t,0)}static endTimestamp(o){return o.endObject()}static createTimestamp(o,t,d){return D.startTimestamp(o),D.addUnit(o,t),D.addTimezone(o,d),D.endTimestamp(o)}}S.Timestamp=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsInterval(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}unit(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.IntervalUnit.YEAR_MONTH}static startInterval(o){o.startObject(1)}static addUnit(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.IntervalUnit.YEAR_MONTH)}static endInterval(o){return o.endObject()}static createInterval(o,t){return D.startInterval(o),D.addUnit(o,t),D.endInterval(o)}}S.Interval=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsDuration(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}unit(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.TimeUnit.MILLISECOND}static startDuration(o){o.startObject(1)}static addUnit(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.TimeUnit.MILLISECOND)}static endDuration(o){return o.endObject()}static createDuration(o,t){return D.startDuration(o),D.addUnit(o,t),D.endDuration(o)}}S.Duration=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsKeyValue(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}key(o){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__string(this.bb_pos+t,o):null}value(o){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__string(this.bb_pos+t,o):null}static startKeyValue(o){o.startObject(2)}static addKey(o,t){o.addFieldOffset(0,t,0)}static addValue(o,t){o.addFieldOffset(1,t,0)}static endKeyValue(o){return o.endObject()}static createKeyValue(o,t,d){return D.startKeyValue(o),D.addKey(o,t),D.addValue(o,d),D.endKeyValue(o)}}S.KeyValue=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsDictionaryEncoding(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}id(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt64(this.bb_pos+o):this.bb.createLong(0,0)}indexType(o){let t=this.bb.__offset(this.bb_pos,6);return t?(o||new n.apache.arrow.flatbuf.Int).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}isOrdered(){let o=this.bb.__offset(this.bb_pos,8);return o?!!this.bb.readInt8(this.bb_pos+o):!1}static startDictionaryEncoding(o){o.startObject(3)}static addId(o,t){o.addFieldInt64(0,t,o.createLong(0,0))}static addIndexType(o,t){o.addFieldOffset(1,t,0)}static addIsOrdered(o,t){o.addFieldInt8(2,+t,0)}static endDictionaryEncoding(o){return o.endObject()}static createDictionaryEncoding(o,t,d,v){return D.startDictionaryEncoding(o),D.addId(o,t),D.addIndexType(o,d),D.addIsOrdered(o,v),D.endDictionaryEncoding(o)}}S.DictionaryEncoding=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsField(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}name(o){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__string(this.bb_pos+t,o):null}nullable(){let o=this.bb.__offset(this.bb_pos,6);return o?!!this.bb.readInt8(this.bb_pos+o):!1}typeType(){let o=this.bb.__offset(this.bb_pos,8);return o?this.bb.readUint8(this.bb_pos+o):n.apache.arrow.flatbuf.Type.NONE}type(o){let t=this.bb.__offset(this.bb_pos,10);return t?this.bb.__union(o,this.bb_pos+t):null}dictionary(o){let t=this.bb.__offset(this.bb_pos,12);return t?(o||new n.apache.arrow.flatbuf.DictionaryEncoding).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}children(o,t){let d=this.bb.__offset(this.bb_pos,14);return d?(t||new n.apache.arrow.flatbuf.Field).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+d)+o*4),this.bb):null}childrenLength(){let o=this.bb.__offset(this.bb_pos,14);return o?this.bb.__vector_len(this.bb_pos+o):0}customMetadata(o,t){let d=this.bb.__offset(this.bb_pos,16);return d?(t||new n.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+d)+o*4),this.bb):null}customMetadataLength(){let o=this.bb.__offset(this.bb_pos,16);return o?this.bb.__vector_len(this.bb_pos+o):0}static startField(o){o.startObject(7)}static addName(o,t){o.addFieldOffset(0,t,0)}static addNullable(o,t){o.addFieldInt8(1,+t,0)}static addTypeType(o,t){o.addFieldInt8(2,t,n.apache.arrow.flatbuf.Type.NONE)}static addType(o,t){o.addFieldOffset(3,t,0)}static addDictionary(o,t){o.addFieldOffset(4,t,0)}static addChildren(o,t){o.addFieldOffset(5,t,0)}static createChildrenVector(o,t){o.startVector(4,t.length,4);for(let d=t.length-1;d>=0;d--)o.addOffset(t[d]);return o.endVector()}static startChildrenVector(o,t){o.startVector(4,t,4)}static addCustomMetadata(o,t){o.addFieldOffset(6,t,0)}static createCustomMetadataVector(o,t){o.startVector(4,t.length,4);for(let d=t.length-1;d>=0;d--)o.addOffset(t[d]);return o.endVector()}static startCustomMetadataVector(o,t){o.startVector(4,t,4)}static endField(o){return o.endObject()}static createField(o,t,d,v,i,M,g,p){return D.startField(o),D.addName(o,t),D.addNullable(o,d),D.addTypeType(o,v),D.addType(o,i),D.addDictionary(o,M),D.addChildren(o,g),D.addCustomMetadata(o,p),D.endField(o)}}S.Field=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static createBuffer(o,t,d){return o.prep(8,16),o.writeInt64(d),o.writeInt64(t),o.offset()}}S.Buffer=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsSchema(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}endianness(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):n.apache.arrow.flatbuf.Endianness.Little}fields(o,t){let d=this.bb.__offset(this.bb_pos,6);return d?(t||new n.apache.arrow.flatbuf.Field).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+d)+o*4),this.bb):null}fieldsLength(){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.__vector_len(this.bb_pos+o):0}customMetadata(o,t){let d=this.bb.__offset(this.bb_pos,8);return d?(t||new n.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+d)+o*4),this.bb):null}customMetadataLength(){let o=this.bb.__offset(this.bb_pos,8);return o?this.bb.__vector_len(this.bb_pos+o):0}static startSchema(o){o.startObject(3)}static addEndianness(o,t){o.addFieldInt16(0,t,n.apache.arrow.flatbuf.Endianness.Little)}static addFields(o,t){o.addFieldOffset(1,t,0)}static createFieldsVector(o,t){o.startVector(4,t.length,4);for(let d=t.length-1;d>=0;d--)o.addOffset(t[d]);return o.endVector()}static startFieldsVector(o,t){o.startVector(4,t,4)}static addCustomMetadata(o,t){o.addFieldOffset(2,t,0)}static createCustomMetadataVector(o,t){o.startVector(4,t.length,4);for(let d=t.length-1;d>=0;d--)o.addOffset(t[d]);return o.endVector()}static startCustomMetadataVector(o,t){o.startVector(4,t,4)}static endSchema(o){return o.endObject()}static finishSchemaBuffer(o,t){o.finish(t)}static createSchema(o,t,d,v){return D.startSchema(o),D.addEndianness(o,t),D.addFields(o,d),D.addCustomMetadata(o,v),D.endSchema(o)}}S.Schema=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(kr||(kr={}));var Hs;(function(n){(function(e){(function(r){(function(S){S.Schema=kr.apache.arrow.flatbuf.Schema})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Hs||(Hs={}));(function(n){(function(e){(function(r){(function(S){(function(D){D[D.NONE=0]="NONE",D[D.Schema=1]="Schema",D[D.DictionaryBatch=2]="DictionaryBatch",D[D.RecordBatch=3]="RecordBatch",D[D.Tensor=4]="Tensor",D[D.SparseTensor=5]="SparseTensor"})(S.MessageHeader||(S.MessageHeader={}))})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Hs||(Hs={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static createFieldNode(o,t,d){return o.prep(8,16),o.writeInt64(d),o.writeInt64(t),o.offset()}}S.FieldNode=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Hs||(Hs={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsRecordBatch(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}length(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt64(this.bb_pos+o):this.bb.createLong(0,0)}nodes(o,t){let d=this.bb.__offset(this.bb_pos,6);return d?(t||new n.apache.arrow.flatbuf.FieldNode).__init(this.bb.__vector(this.bb_pos+d)+o*16,this.bb):null}nodesLength(){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.__vector_len(this.bb_pos+o):0}buffers(o,t){let d=this.bb.__offset(this.bb_pos,8);return d?(t||new kr.apache.arrow.flatbuf.Buffer).__init(this.bb.__vector(this.bb_pos+d)+o*16,this.bb):null}buffersLength(){let o=this.bb.__offset(this.bb_pos,8);return o?this.bb.__vector_len(this.bb_pos+o):0}static startRecordBatch(o){o.startObject(3)}static addLength(o,t){o.addFieldInt64(0,t,o.createLong(0,0))}static addNodes(o,t){o.addFieldOffset(1,t,0)}static startNodesVector(o,t){o.startVector(16,t,8)}static addBuffers(o,t){o.addFieldOffset(2,t,0)}static startBuffersVector(o,t){o.startVector(16,t,8)}static endRecordBatch(o){return o.endObject()}static createRecordBatch(o,t,d,v){return D.startRecordBatch(o),D.addLength(o,t),D.addNodes(o,d),D.addBuffers(o,v),D.endRecordBatch(o)}}S.RecordBatch=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Hs||(Hs={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsDictionaryBatch(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}id(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt64(this.bb_pos+o):this.bb.createLong(0,0)}data(o){let t=this.bb.__offset(this.bb_pos,6);return t?(o||new n.apache.arrow.flatbuf.RecordBatch).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}isDelta(){let o=this.bb.__offset(this.bb_pos,8);return o?!!this.bb.readInt8(this.bb_pos+o):!1}static startDictionaryBatch(o){o.startObject(3)}static addId(o,t){o.addFieldInt64(0,t,o.createLong(0,0))}static addData(o,t){o.addFieldOffset(1,t,0)}static addIsDelta(o,t){o.addFieldInt8(2,+t,0)}static endDictionaryBatch(o){return o.endObject()}static createDictionaryBatch(o,t,d,v){return D.startDictionaryBatch(o),D.addId(o,t),D.addData(o,d),D.addIsDelta(o,v),D.endDictionaryBatch(o)}}S.DictionaryBatch=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Hs||(Hs={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsMessage(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}version(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):kr.apache.arrow.flatbuf.MetadataVersion.V1}headerType(){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.readUint8(this.bb_pos+o):n.apache.arrow.flatbuf.MessageHeader.NONE}header(o){let t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__union(o,this.bb_pos+t):null}bodyLength(){let o=this.bb.__offset(this.bb_pos,10);return o?this.bb.readInt64(this.bb_pos+o):this.bb.createLong(0,0)}customMetadata(o,t){let d=this.bb.__offset(this.bb_pos,12);return d?(t||new kr.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+d)+o*4),this.bb):null}customMetadataLength(){let o=this.bb.__offset(this.bb_pos,12);return o?this.bb.__vector_len(this.bb_pos+o):0}static startMessage(o){o.startObject(5)}static addVersion(o,t){o.addFieldInt16(0,t,kr.apache.arrow.flatbuf.MetadataVersion.V1)}static addHeaderType(o,t){o.addFieldInt8(1,t,n.apache.arrow.flatbuf.MessageHeader.NONE)}static addHeader(o,t){o.addFieldOffset(2,t,0)}static addBodyLength(o,t){o.addFieldInt64(3,t,o.createLong(0,0))}static addCustomMetadata(o,t){o.addFieldOffset(4,t,0)}static createCustomMetadataVector(o,t){o.startVector(4,t.length,4);for(let d=t.length-1;d>=0;d--)o.addOffset(t[d]);return o.endVector()}static startCustomMetadataVector(o,t){o.startVector(4,t,4)}static endMessage(o){return o.endObject()}static finishMessageBuffer(o,t){o.finish(t)}static createMessage(o,t,d,v,i,M){return D.startMessage(o),D.addVersion(o,t),D.addHeaderType(o,d),D.addHeader(o,v),D.addBodyLength(o,i),D.addCustomMetadata(o,M),D.endMessage(o)}}S.Message=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Hs||(Hs={}));kr.apache.arrow.flatbuf.Type;var pf=kr.apache.arrow.flatbuf.DateUnit,Ba=kr.apache.arrow.flatbuf.TimeUnit,Yu=kr.apache.arrow.flatbuf.Precision,Yf=kr.apache.arrow.flatbuf.UnionMode,Hp=kr.apache.arrow.flatbuf.IntervalUnit,Ga=Hs.apache.arrow.flatbuf.MessageHeader,Mc=kr.apache.arrow.flatbuf.MetadataVersion,qn;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.Float=3]="Float",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct=13]="Struct",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Dictionary=-1]="Dictionary",n[n.Int8=-2]="Int8",n[n.Int16=-3]="Int16",n[n.Int32=-4]="Int32",n[n.Int64=-5]="Int64",n[n.Uint8=-6]="Uint8",n[n.Uint16=-7]="Uint16",n[n.Uint32=-8]="Uint32",n[n.Uint64=-9]="Uint64",n[n.Float16=-10]="Float16",n[n.Float32=-11]="Float32",n[n.Float64=-12]="Float64",n[n.DateDay=-13]="DateDay",n[n.DateMillisecond=-14]="DateMillisecond",n[n.TimestampSecond=-15]="TimestampSecond",n[n.TimestampMillisecond=-16]="TimestampMillisecond",n[n.TimestampMicrosecond=-17]="TimestampMicrosecond",n[n.TimestampNanosecond=-18]="TimestampNanosecond",n[n.TimeSecond=-19]="TimeSecond",n[n.TimeMillisecond=-20]="TimeMillisecond",n[n.TimeMicrosecond=-21]="TimeMicrosecond",n[n.TimeNanosecond=-22]="TimeNanosecond",n[n.DenseUnion=-23]="DenseUnion",n[n.SparseUnion=-24]="SparseUnion",n[n.IntervalDayTime=-25]="IntervalDayTime",n[n.IntervalYearMonth=-26]="IntervalYearMonth"})(qn||(qn={}));var vi;(function(n){n[n.OFFSET=0]="OFFSET",n[n.DATA=1]="DATA",n[n.VALIDITY=2]="VALIDITY",n[n.TYPE=3]="TYPE"})(vi||(vi={}));function Rk(n,e,r,S){return(r&1<>S}function zL(n,e,r){return r?!!(n[e>>3]|=1<>3]&=~(1<0||r.byteLength>3):Hv(By(r,n,e,null,Rk)).subarray(0,S)),D}return r}function Hv(n){let e=[],r=0,S=0,D=0;for(const o of n)o&&(D|=1<0)&&(e[r++]=D);let x=new Uint8Array(e.length+7&-8);return x.set(e),x}function*By(n,e,r,S,D){let x=e%8,o=e>>3,t=0,d=r;for(;d>0;x=0){let v=n[o++];do yield D(S,t++,v,x);while(--d>0&&++x<8)}}function ix(n,e,r){if(r-e<=0)return 0;if(r-e<8){let x=0;for(const o of By(n,e,r-e,n,RL))x+=o;return x}const S=r>>3<<3,D=e+(e%8===0?0:8-e%8);return ix(n,e,D)+ix(n,S,r)+FL(n,D>>3,S-D>>3)}function FL(n,e,r){let S=0,D=e|0;const x=new DataView(n.buffer,n.byteOffset,n.byteLength),o=r===void 0?n.byteLength:D+r;for(;o-D>=4;)S+=mb(x.getUint32(D)),D+=4;for(;o-D>=2;)S+=mb(x.getUint16(D)),D+=2;for(;o-D>=1;)S+=mb(x.getUint8(D)),D+=1;return S}function mb(n){let e=n|0;return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24}class Zi{visitMany(e,...r){return e.map((S,D)=>this.visit(S,...r.map(x=>x[D])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,r=!0){return BL(this,e,r)}visitNull(e,...r){return null}visitBool(e,...r){return null}visitInt(e,...r){return null}visitFloat(e,...r){return null}visitUtf8(e,...r){return null}visitBinary(e,...r){return null}visitFixedSizeBinary(e,...r){return null}visitDate(e,...r){return null}visitTimestamp(e,...r){return null}visitTime(e,...r){return null}visitDecimal(e,...r){return null}visitList(e,...r){return null}visitStruct(e,...r){return null}visitUnion(e,...r){return null}visitDictionary(e,...r){return null}visitInterval(e,...r){return null}visitFixedSizeList(e,...r){return null}visitMap(e,...r){return null}}function BL(n,e,r=!0){let S=null,D=qn.NONE;switch(e instanceof ni||e instanceof ma?D=gb(e.type):e instanceof Ni?D=gb(e):typeof(D=e)!="number"&&(D=qn[e]),D){case qn.Null:S=n.visitNull;break;case qn.Bool:S=n.visitBool;break;case qn.Int:S=n.visitInt;break;case qn.Int8:S=n.visitInt8||n.visitInt;break;case qn.Int16:S=n.visitInt16||n.visitInt;break;case qn.Int32:S=n.visitInt32||n.visitInt;break;case qn.Int64:S=n.visitInt64||n.visitInt;break;case qn.Uint8:S=n.visitUint8||n.visitInt;break;case qn.Uint16:S=n.visitUint16||n.visitInt;break;case qn.Uint32:S=n.visitUint32||n.visitInt;break;case qn.Uint64:S=n.visitUint64||n.visitInt;break;case qn.Float:S=n.visitFloat;break;case qn.Float16:S=n.visitFloat16||n.visitFloat;break;case qn.Float32:S=n.visitFloat32||n.visitFloat;break;case qn.Float64:S=n.visitFloat64||n.visitFloat;break;case qn.Utf8:S=n.visitUtf8;break;case qn.Binary:S=n.visitBinary;break;case qn.FixedSizeBinary:S=n.visitFixedSizeBinary;break;case qn.Date:S=n.visitDate;break;case qn.DateDay:S=n.visitDateDay||n.visitDate;break;case qn.DateMillisecond:S=n.visitDateMillisecond||n.visitDate;break;case qn.Timestamp:S=n.visitTimestamp;break;case qn.TimestampSecond:S=n.visitTimestampSecond||n.visitTimestamp;break;case qn.TimestampMillisecond:S=n.visitTimestampMillisecond||n.visitTimestamp;break;case qn.TimestampMicrosecond:S=n.visitTimestampMicrosecond||n.visitTimestamp;break;case qn.TimestampNanosecond:S=n.visitTimestampNanosecond||n.visitTimestamp;break;case qn.Time:S=n.visitTime;break;case qn.TimeSecond:S=n.visitTimeSecond||n.visitTime;break;case qn.TimeMillisecond:S=n.visitTimeMillisecond||n.visitTime;break;case qn.TimeMicrosecond:S=n.visitTimeMicrosecond||n.visitTime;break;case qn.TimeNanosecond:S=n.visitTimeNanosecond||n.visitTime;break;case qn.Decimal:S=n.visitDecimal;break;case qn.List:S=n.visitList;break;case qn.Struct:S=n.visitStruct;break;case qn.Union:S=n.visitUnion;break;case qn.DenseUnion:S=n.visitDenseUnion||n.visitUnion;break;case qn.SparseUnion:S=n.visitSparseUnion||n.visitUnion;break;case qn.Dictionary:S=n.visitDictionary;break;case qn.Interval:S=n.visitInterval;break;case qn.IntervalDayTime:S=n.visitIntervalDayTime||n.visitInterval;break;case qn.IntervalYearMonth:S=n.visitIntervalYearMonth||n.visitInterval;break;case qn.FixedSizeList:S=n.visitFixedSizeList;break;case qn.Map:S=n.visitMap;break}if(typeof S=="function")return S;if(!r)return()=>null;throw new Error(`Unrecognized type '${qn[D]}'`)}function gb(n){switch(n.typeId){case qn.Null:return qn.Null;case qn.Int:const{bitWidth:e,isSigned:r}=n;switch(e){case 8:return r?qn.Int8:qn.Uint8;case 16:return r?qn.Int16:qn.Uint16;case 32:return r?qn.Int32:qn.Uint32;case 64:return r?qn.Int64:qn.Uint64}return qn.Int;case qn.Float:switch(n.precision){case Yu.HALF:return qn.Float16;case Yu.SINGLE:return qn.Float32;case Yu.DOUBLE:return qn.Float64}return qn.Float;case qn.Binary:return qn.Binary;case qn.Utf8:return qn.Utf8;case qn.Bool:return qn.Bool;case qn.Decimal:return qn.Decimal;case qn.Time:switch(n.unit){case Ba.SECOND:return qn.TimeSecond;case Ba.MILLISECOND:return qn.TimeMillisecond;case Ba.MICROSECOND:return qn.TimeMicrosecond;case Ba.NANOSECOND:return qn.TimeNanosecond}return qn.Time;case qn.Timestamp:switch(n.unit){case Ba.SECOND:return qn.TimestampSecond;case Ba.MILLISECOND:return qn.TimestampMillisecond;case Ba.MICROSECOND:return qn.TimestampMicrosecond;case Ba.NANOSECOND:return qn.TimestampNanosecond}return qn.Timestamp;case qn.Date:switch(n.unit){case pf.DAY:return qn.DateDay;case pf.MILLISECOND:return qn.DateMillisecond}return qn.Date;case qn.Interval:switch(n.unit){case Hp.DAY_TIME:return qn.IntervalDayTime;case Hp.YEAR_MONTH:return qn.IntervalYearMonth}return qn.Interval;case qn.Map:return qn.Map;case qn.List:return qn.List;case qn.Struct:return qn.Struct;case qn.Union:switch(n.mode){case Yf.Dense:return qn.DenseUnion;case Yf.Sparse:return qn.SparseUnion}return qn.Union;case qn.FixedSizeBinary:return qn.FixedSizeBinary;case qn.FixedSizeList:return qn.FixedSizeList;case qn.Dictionary:return qn.Dictionary}throw new Error(`Unrecognized type '${qn[n.typeId]}'`)}Zi.prototype.visitInt8=null;Zi.prototype.visitInt16=null;Zi.prototype.visitInt32=null;Zi.prototype.visitInt64=null;Zi.prototype.visitUint8=null;Zi.prototype.visitUint16=null;Zi.prototype.visitUint32=null;Zi.prototype.visitUint64=null;Zi.prototype.visitFloat16=null;Zi.prototype.visitFloat32=null;Zi.prototype.visitFloat64=null;Zi.prototype.visitDateDay=null;Zi.prototype.visitDateMillisecond=null;Zi.prototype.visitTimestampSecond=null;Zi.prototype.visitTimestampMillisecond=null;Zi.prototype.visitTimestampMicrosecond=null;Zi.prototype.visitTimestampNanosecond=null;Zi.prototype.visitTimeSecond=null;Zi.prototype.visitTimeMillisecond=null;Zi.prototype.visitTimeMicrosecond=null;Zi.prototype.visitTimeNanosecond=null;Zi.prototype.visitDenseUnion=null;Zi.prototype.visitSparseUnion=null;Zi.prototype.visitIntervalDayTime=null;Zi.prototype.visitIntervalYearMonth=null;class Mi extends Zi{compareSchemas(e,r){return e===r||r instanceof e.constructor&&yu.compareFields(e.fields,r.fields)}compareFields(e,r){return e===r||Array.isArray(e)&&Array.isArray(r)&&e.length===r.length&&e.every((S,D)=>yu.compareField(S,r[D]))}compareField(e,r){return e===r||r instanceof e.constructor&&e.name===r.name&&e.nullable===r.nullable&&yu.visit(e.type,r.type)}}function Yl(n,e){return e instanceof n.constructor}function Wm(n,e){return n===e||Yl(n,e)}function nh(n,e){return n===e||Yl(n,e)&&n.bitWidth===e.bitWidth&&n.isSigned===e.isSigned}function Ny(n,e){return n===e||Yl(n,e)&&n.precision===e.precision}function NL(n,e){return n===e||Yl(n,e)&&n.byteWidth===e.byteWidth}function S2(n,e){return n===e||Yl(n,e)&&n.unit===e.unit}function qm(n,e){return n===e||Yl(n,e)&&n.unit===e.unit&&n.timezone===e.timezone}function $m(n,e){return n===e||Yl(n,e)&&n.unit===e.unit&&n.bitWidth===e.bitWidth}function VL(n,e){return n===e||Yl(n,e)&&n.children.length===e.children.length&&yu.compareFields(n.children,e.children)}function jL(n,e){return n===e||Yl(n,e)&&n.children.length===e.children.length&&yu.compareFields(n.children,e.children)}function C2(n,e){return n===e||Yl(n,e)&&n.mode===e.mode&&n.typeIds.every((r,S)=>r===e.typeIds[S])&&yu.compareFields(n.children,e.children)}function UL(n,e){return n===e||Yl(n,e)&&n.id===e.id&&n.isOrdered===e.isOrdered&&yu.visit(n.indices,e.indices)&&yu.visit(n.dictionary,e.dictionary)}function E2(n,e){return n===e||Yl(n,e)&&n.unit===e.unit}function HL(n,e){return n===e||Yl(n,e)&&n.listSize===e.listSize&&n.children.length===e.children.length&&yu.compareFields(n.children,e.children)}function GL(n,e){return n===e||Yl(n,e)&&n.keysSorted===e.keysSorted&&n.children.length===e.children.length&&yu.compareFields(n.children,e.children)}Mi.prototype.visitNull=Wm;Mi.prototype.visitBool=Wm;Mi.prototype.visitInt=nh;Mi.prototype.visitInt8=nh;Mi.prototype.visitInt16=nh;Mi.prototype.visitInt32=nh;Mi.prototype.visitInt64=nh;Mi.prototype.visitUint8=nh;Mi.prototype.visitUint16=nh;Mi.prototype.visitUint32=nh;Mi.prototype.visitUint64=nh;Mi.prototype.visitFloat=Ny;Mi.prototype.visitFloat16=Ny;Mi.prototype.visitFloat32=Ny;Mi.prototype.visitFloat64=Ny;Mi.prototype.visitUtf8=Wm;Mi.prototype.visitBinary=Wm;Mi.prototype.visitFixedSizeBinary=NL;Mi.prototype.visitDate=S2;Mi.prototype.visitDateDay=S2;Mi.prototype.visitDateMillisecond=S2;Mi.prototype.visitTimestamp=qm;Mi.prototype.visitTimestampSecond=qm;Mi.prototype.visitTimestampMillisecond=qm;Mi.prototype.visitTimestampMicrosecond=qm;Mi.prototype.visitTimestampNanosecond=qm;Mi.prototype.visitTime=$m;Mi.prototype.visitTimeSecond=$m;Mi.prototype.visitTimeMillisecond=$m;Mi.prototype.visitTimeMicrosecond=$m;Mi.prototype.visitTimeNanosecond=$m;Mi.prototype.visitDecimal=Wm;Mi.prototype.visitList=VL;Mi.prototype.visitStruct=jL;Mi.prototype.visitUnion=C2;Mi.prototype.visitDenseUnion=C2;Mi.prototype.visitSparseUnion=C2;Mi.prototype.visitDictionary=UL;Mi.prototype.visitInterval=E2;Mi.prototype.visitIntervalDayTime=E2;Mi.prototype.visitIntervalYearMonth=E2;Mi.prototype.visitFixedSizeList=HL;Mi.prototype.visitMap=GL;const yu=new Mi;class Ni{static isNull(e){return e&&e.typeId===qn.Null}static isInt(e){return e&&e.typeId===qn.Int}static isFloat(e){return e&&e.typeId===qn.Float}static isBinary(e){return e&&e.typeId===qn.Binary}static isUtf8(e){return e&&e.typeId===qn.Utf8}static isBool(e){return e&&e.typeId===qn.Bool}static isDecimal(e){return e&&e.typeId===qn.Decimal}static isDate(e){return e&&e.typeId===qn.Date}static isTime(e){return e&&e.typeId===qn.Time}static isTimestamp(e){return e&&e.typeId===qn.Timestamp}static isInterval(e){return e&&e.typeId===qn.Interval}static isList(e){return e&&e.typeId===qn.List}static isStruct(e){return e&&e.typeId===qn.Struct}static isUnion(e){return e&&e.typeId===qn.Union}static isFixedSizeBinary(e){return e&&e.typeId===qn.FixedSizeBinary}static isFixedSizeList(e){return e&&e.typeId===qn.FixedSizeList}static isMap(e){return e&&e.typeId===qn.Map}static isDictionary(e){return e&&e.typeId===qn.Dictionary}get typeId(){return qn.NONE}compareTo(e){return yu.visit(this,e)}}Ni[Symbol.toStringTag]=(n=>(n.children=null,n.ArrayType=Array,n[Symbol.toStringTag]="DataType"))(Ni.prototype);let Gp=class extends Ni{toString(){return"Null"}get typeId(){return qn.Null}};Gp[Symbol.toStringTag]=(n=>n[Symbol.toStringTag]="Null")(Gp.prototype);class $l extends Ni{constructor(e,r){super(),this.isSigned=e,this.bitWidth=r}get typeId(){return qn.Int}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?Int32Array:Uint32Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}$l[Symbol.toStringTag]=(n=>(n.isSigned=null,n.bitWidth=null,n[Symbol.toStringTag]="Int"))($l.prototype);class L2 extends $l{constructor(){super(!0,8)}}class I2 extends $l{constructor(){super(!0,16)}}class Ed extends $l{constructor(){super(!0,32)}}let Wp=class extends $l{constructor(){super(!0,64)}};class O2 extends $l{constructor(){super(!1,8)}}class P2 extends $l{constructor(){super(!1,16)}}class D2 extends $l{constructor(){super(!1,32)}}let qp=class extends $l{constructor(){super(!1,64)}};Object.defineProperty(L2.prototype,"ArrayType",{value:Int8Array});Object.defineProperty(I2.prototype,"ArrayType",{value:Int16Array});Object.defineProperty(Ed.prototype,"ArrayType",{value:Int32Array});Object.defineProperty(Wp.prototype,"ArrayType",{value:Int32Array});Object.defineProperty(O2.prototype,"ArrayType",{value:Uint8Array});Object.defineProperty(P2.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(D2.prototype,"ArrayType",{value:Uint32Array});Object.defineProperty(qp.prototype,"ArrayType",{value:Uint32Array});class Ld extends Ni{constructor(e){super(),this.precision=e}get typeId(){return qn.Float}get ArrayType(){switch(this.precision){case Yu.HALF:return Uint16Array;case Yu.SINGLE:return Float32Array;case Yu.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}Ld[Symbol.toStringTag]=(n=>(n.precision=null,n[Symbol.toStringTag]="Float"))(Ld.prototype);class Vy extends Ld{constructor(){super(Yu.HALF)}}class R2 extends Ld{constructor(){super(Yu.SINGLE)}}class z2 extends Ld{constructor(){super(Yu.DOUBLE)}}Object.defineProperty(Vy.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(R2.prototype,"ArrayType",{value:Float32Array});Object.defineProperty(z2.prototype,"ArrayType",{value:Float64Array});let km=class extends Ni{constructor(){super()}get typeId(){return qn.Binary}toString(){return"Binary"}};km[Symbol.toStringTag]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Binary"))(km.prototype);let $p=class extends Ni{constructor(){super()}get typeId(){return qn.Utf8}toString(){return"Utf8"}};$p[Symbol.toStringTag]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Utf8"))($p.prototype);let Mm=class extends Ni{constructor(){super()}get typeId(){return qn.Bool}toString(){return"Bool"}};Mm[Symbol.toStringTag]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Bool"))(Mm.prototype);let Gv=class extends Ni{constructor(e,r){super(),this.scale=e,this.precision=r}get typeId(){return qn.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};Gv[Symbol.toStringTag]=(n=>(n.scale=null,n.precision=null,n.ArrayType=Uint32Array,n[Symbol.toStringTag]="Decimal"))(Gv.prototype);class Yp extends Ni{constructor(e){super(),this.unit=e}get typeId(){return qn.Date}toString(){return`Date${(this.unit+1)*32}<${pf[this.unit]}>`}}Yp[Symbol.toStringTag]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Date"))(Yp.prototype);class WL extends Yp{constructor(){super(pf.DAY)}}class S5 extends Yp{constructor(){super(pf.MILLISECOND)}}class Wv extends Ni{constructor(e,r){super(),this.unit=e,this.bitWidth=r}get typeId(){return qn.Time}toString(){return`Time${this.bitWidth}<${Ba[this.unit]}>`}}Wv[Symbol.toStringTag]=(n=>(n.unit=null,n.bitWidth=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Time"))(Wv.prototype);class qv extends Ni{constructor(e,r){super(),this.unit=e,this.timezone=r}get typeId(){return qn.Timestamp}toString(){return`Timestamp<${Ba[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}qv[Symbol.toStringTag]=(n=>(n.unit=null,n.timezone=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Timestamp"))(qv.prototype);class $v extends Ni{constructor(e){super(),this.unit=e}get typeId(){return qn.Interval}toString(){return`Interval<${Hp[this.unit]}>`}}$v[Symbol.toStringTag]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Interval"))($v.prototype);let Zp=class extends Ni{constructor(e){super(),this.children=[e]}get typeId(){return qn.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};Zp[Symbol.toStringTag]=(n=>(n.children=null,n[Symbol.toStringTag]="List"))(Zp.prototype);let Dc=class extends Ni{constructor(e){super(),this.children=e}get typeId(){return qn.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}};Dc[Symbol.toStringTag]=(n=>(n.children=null,n[Symbol.toStringTag]="Struct"))(Dc.prototype);class Am extends Ni{constructor(e,r,S){super(),this.mode=e,this.children=S,this.typeIds=r=Int32Array.from(r),this.typeIdToChildIndex=r.reduce((D,x,o)=>(D[x]=o)&&D||D,Object.create(null))}get typeId(){return qn.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}Am[Symbol.toStringTag]=(n=>(n.mode=null,n.typeIds=null,n.children=null,n.typeIdToChildIndex=null,n.ArrayType=Int8Array,n[Symbol.toStringTag]="Union"))(Am.prototype);let Yv=class extends Ni{constructor(e){super(),this.byteWidth=e}get typeId(){return qn.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};Yv[Symbol.toStringTag]=(n=>(n.byteWidth=null,n.ArrayType=Uint8Array,n[Symbol.toStringTag]="FixedSizeBinary"))(Yv.prototype);let Sm=class extends Ni{constructor(e,r){super(),this.listSize=e,this.children=[r]}get typeId(){return qn.FixedSizeList}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};Sm[Symbol.toStringTag]=(n=>(n.children=null,n.listSize=null,n[Symbol.toStringTag]="FixedSizeList"))(Sm.prototype);let Cm=class extends Ni{constructor(e,r=!1){super(),this.children=[e],this.keysSorted=r}get typeId(){return qn.Map}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}toString(){return`Map<{${this.children[0].type.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}};Cm[Symbol.toStringTag]=(n=>(n.children=null,n.keysSorted=null,n[Symbol.toStringTag]="Map_"))(Cm.prototype);const qL=(n=>()=>++n)(-1);class Fh extends Ni{constructor(e,r,S,D){super(),this.indices=r,this.dictionary=e,this.isOrdered=D||!1,this.id=S==null?qL():typeof S=="number"?S:S.low}get typeId(){return qn.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}Fh[Symbol.toStringTag]=(n=>(n.id=null,n.indices=null,n.isOrdered=null,n.dictionary=null,n[Symbol.toStringTag]="Dictionary"))(Fh.prototype);function zk(n){let e=n;switch(n.typeId){case qn.Decimal:return 4;case qn.Timestamp:return 2;case qn.Date:return 1+e.unit;case qn.Interval:return 1+e.unit;case qn.Int:return 1+ +(e.bitWidth>32);case qn.Time:return 1+ +(e.bitWidth>32);case qn.FixedSizeList:return e.listSize;case qn.FixedSizeBinary:return e.byteWidth;default:return 1}}const $L=-1;class ni{constructor(e,r,S,D,x,o,t){this.type=e,this.dictionary=t,this.offset=Math.floor(Math.max(r||0,0)),this.length=Math.floor(Math.max(S||0,0)),this._nullCount=Math.floor(Math.max(D||0,-1)),this.childData=(o||[]).map(v=>v instanceof ni?v:v.data);let d;x instanceof ni?(this.stride=x.stride,this.values=x.values,this.typeIds=x.typeIds,this.nullBitmap=x.nullBitmap,this.valueOffsets=x.valueOffsets):(this.stride=zk(e),x&&((d=x[0])&&(this.valueOffsets=d),(d=x[1])&&(this.values=d),(d=x[2])&&(this.nullBitmap=d),(d=x[3])&&(this.typeIds=d)))}get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get byteLength(){let e=0,{valueOffsets:r,values:S,nullBitmap:D,typeIds:x}=this;return r&&(e+=r.byteLength),S&&(e+=S.byteLength),D&&(e+=D.byteLength),x&&(e+=x.byteLength),this.childData.reduce((o,t)=>o+t.byteLength,e)}get nullCount(){let e=this._nullCount,r;return e<=$L&&(r=this.nullBitmap)&&(this._nullCount=e=this.length-ix(r,this.offset,this.offset+this.length)),e}clone(e,r=this.offset,S=this.length,D=this._nullCount,x=this,o=this.childData){return new ni(e,r,S,D,x,o,this.dictionary)}slice(e,r){const{stride:S,typeId:D,childData:x}=this,o=+(this._nullCount===0)-1,t=D===16?S:1,d=this._sliceBuffers(e,r,S,D);return this.clone(this.type,this.offset+e,r,o,d,!x.length||this.valueOffsets?x:this._sliceChildren(x,t*e,t*r))}_changeLengthAndBackfillNullBitmap(e){if(this.typeId===qn.Null)return this.clone(this.type,0,e,0);const{length:r,nullCount:S}=this,D=new Uint8Array((e+63&-64)>>3).fill(255,0,r>>3);D[r>>3]=(1<0&&D.set(A2(this.offset,r,this.nullBitmap),0);const x=this.buffers;return x[vi.VALIDITY]=D,this.clone(this.type,0,e,S+(e-r),x)}_sliceBuffers(e,r,S,D){let x,{buffers:o}=this;return(x=o[vi.TYPE])&&(o[vi.TYPE]=x.subarray(e,e+r)),(x=o[vi.OFFSET])&&(o[vi.OFFSET]=x.subarray(e,e+r+1))||(x=o[vi.DATA])&&(o[vi.DATA]=D===6?x:x.subarray(S*e,S*(e+r))),o}_sliceChildren(e,r,S){return e.map(D=>D.slice(r,S))}static new(e,r,S,D,x,o,t){switch(x instanceof ni?x=x.buffers:x||(x=[]),e.typeId){case qn.Null:return ni.Null(e,r,S);case qn.Int:return ni.Int(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Dictionary:return ni.Dictionary(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[],t);case qn.Float:return ni.Float(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Bool:return ni.Bool(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Decimal:return ni.Decimal(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Date:return ni.Date(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Time:return ni.Time(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Timestamp:return ni.Timestamp(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Interval:return ni.Interval(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.FixedSizeBinary:return ni.FixedSizeBinary(e,r,S,D||0,x[vi.VALIDITY],x[vi.DATA]||[]);case qn.Binary:return ni.Binary(e,r,S,D||0,x[vi.VALIDITY],x[vi.OFFSET]||[],x[vi.DATA]||[]);case qn.Utf8:return ni.Utf8(e,r,S,D||0,x[vi.VALIDITY],x[vi.OFFSET]||[],x[vi.DATA]||[]);case qn.List:return ni.List(e,r,S,D||0,x[vi.VALIDITY],x[vi.OFFSET]||[],(o||[])[0]);case qn.FixedSizeList:return ni.FixedSizeList(e,r,S,D||0,x[vi.VALIDITY],(o||[])[0]);case qn.Struct:return ni.Struct(e,r,S,D||0,x[vi.VALIDITY],o||[]);case qn.Map:return ni.Map(e,r,S,D||0,x[vi.VALIDITY],x[vi.OFFSET]||[],(o||[])[0]);case qn.Union:return ni.Union(e,r,S,D||0,x[vi.VALIDITY],x[vi.TYPE]||[],x[vi.OFFSET]||o,o)}throw new Error(`Unrecognized typeId ${e.typeId}`)}static Null(e,r,S){return new ni(e,r,S,0)}static Int(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Dictionary(e,r,S,D,x,o,t){return new ni(e,r,S,D,[void 0,Ia(e.indices.ArrayType,o),ra(x)],[],t)}static Float(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Bool(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Decimal(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Date(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Time(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Timestamp(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Interval(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static FixedSizeBinary(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,Ia(e.ArrayType,o),ra(x)])}static Binary(e,r,S,D,x,o,t){return new ni(e,r,S,D,[K0(o),ra(t),ra(x)])}static Utf8(e,r,S,D,x,o,t){return new ni(e,r,S,D,[K0(o),ra(t),ra(x)])}static List(e,r,S,D,x,o,t){return new ni(e,r,S,D,[K0(o),void 0,ra(x)],[t])}static FixedSizeList(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,void 0,ra(x)],[o])}static Struct(e,r,S,D,x,o){return new ni(e,r,S,D,[void 0,void 0,ra(x)],o)}static Map(e,r,S,D,x,o,t){return new ni(e,r,S,D,[K0(o),void 0,ra(x)],[t])}static Union(e,r,S,D,x,o,t,d){const v=[void 0,void 0,ra(x),Ia(e.ArrayType,o)];return e.mode===Yf.Sparse?new ni(e,r,S,D,v,t):(v[vi.OFFSET]=K0(t),new ni(e,r,S,D,v,d))}}ni.prototype.childData=Object.freeze([]);const YL=void 0;function cm(n){if(n===null)return"null";if(n===YL)return"undefined";switch(typeof n){case"number":return`${n}`;case"bigint":return`${n}`;case"string":return`"${n}"`}return typeof n[Symbol.toPrimitive]=="function"?n[Symbol.toPrimitive]("string"):ArrayBuffer.isView(n)?`[${n}]`:JSON.stringify(n)}function ZL(n){if(!n||n.length<=0)return function(D){return!0};let e="",r=n.filter(S=>S===S);return r.length>0&&(e=` switch (x) {${r.map(S=>` case ${XL(S)}:`).join("")} return false; }`),n.length!==r.length&&(e=`if (x !== x) return false; ${e}`),new Function("x",`${e} -return true;`)}function XL(n){return typeof n!="bigint"?cm(n):Fy?`${cm(n)}n`:`"${cm(n)}"`}const vb=(n,e)=>(n*e+63&-64||64)/e,KL=(n,e=0)=>n.length>=e?n.subarray(0,e):Uv(new n.constructor(e),n,0);class Ym{constructor(e,r=1){this.buffer=e,this.stride=r,this.BYTES_PER_ELEMENT=e.BYTES_PER_ELEMENT,this.ArrayType=e.constructor,this._resize(this.length=e.length/r|0)}get byteLength(){return this.length*this.stride*this.BYTES_PER_ELEMENT|0}get reservedLength(){return this.buffer.length/this.stride}get reservedByteLength(){return this.buffer.byteLength}set(e,r){return this}append(e){return this.set(this.length,e)}reserve(e){if(e>0){this.length+=e;const r=this.stride,S=this.length*r,D=this.buffer.length;S>=D&&this._resize(D===0?vb(S*1,this.BYTES_PER_ELEMENT):vb(S*2,this.BYTES_PER_ELEMENT))}return this}flush(e=this.length){e=vb(e*this.stride,this.BYTES_PER_ELEMENT);const r=KL(this.buffer,e);return this.clear(),r}clear(){return this.length=0,this._resize(0),this}_resize(e){return this.buffer=Uv(new this.ArrayType(e),this.buffer)}}Ym.prototype.offset=0;class Zm extends Ym{last(){return this.get(this.length-1)}get(e){return this.buffer[e]}set(e,r){return this.reserve(e-this.length+1),this.buffer[e*this.stride]=r,this}}class Fk extends Zm{constructor(e=new Uint8Array(0)){super(e,1/8),this.numValid=0}get numInvalid(){return this.length-this.numValid}get(e){return this.buffer[e>>3]>>e%8&1}set(e,r){const{buffer:S}=this.reserve(e-this.length+1),D=e>>3,x=e%8,o=S[D]>>x&1;return r?o===0&&(S[D]|=1<this.length&&this.set(e-1,0),super.flush(e+1)}}class Nk extends Ym{get ArrayType64(){return this._ArrayType64||(this._ArrayType64=this.buffer instanceof Int32Array?c0:Gm)}set(e,r){switch(this.reserve(e-this.length+1),typeof r){case"bigint":this.buffer64[e]=r;break;case"number":this.buffer[e*this.stride]=r;break;default:this.buffer.set(r,e*this.stride)}return this}_resize(e){const r=super._resize(e),S=r.byteLength/(this.BYTES_PER_ELEMENT*this.stride);return Fy&&(this.buffer64=new this.ArrayType64(r.buffer,r.byteOffset,S)),r}}let Eo=class{constructor({type:e,nullValues:r}){this.length=0,this.finished=!1,this.type=e,this.children=[],this.nullValues=r,this.stride=zk(e),this._nulls=new Fk,r&&r.length>0&&(this._isValid=ZL(r))}static new(e){}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e){throw new Error('"throughDOM" not available in this environment')}static throughIterable(e){return JL(e)}static throughAsyncIterable(e){return QL(e)}toVector(){return ma.new(this.flush())}get ArrayType(){return this.type.ArrayType}get nullCount(){return this._nulls.numInvalid}get numChildren(){return this.children.length}get byteLength(){let e=0;return this._offsets&&(e+=this._offsets.byteLength),this._values&&(e+=this._values.byteLength),this._nulls&&(e+=this._nulls.byteLength),this._typeIds&&(e+=this._typeIds.byteLength),this.children.reduce((r,S)=>r+S.byteLength,e)}get reservedLength(){return this._nulls.reservedLength}get reservedByteLength(){let e=0;return this._offsets&&(e+=this._offsets.reservedByteLength),this._values&&(e+=this._values.reservedByteLength),this._nulls&&(e+=this._nulls.reservedByteLength),this._typeIds&&(e+=this._typeIds.reservedByteLength),this.children.reduce((r,S)=>r+S.reservedByteLength,e)}get valueOffsets(){return this._offsets?this._offsets.buffer:null}get values(){return this._values?this._values.buffer:null}get nullBitmap(){return this._nulls?this._nulls.buffer:null}get typeIds(){return this._typeIds?this._typeIds.buffer:null}append(e){return this.set(this.length,e)}isValid(e){return this._isValid(e)}set(e,r){return this.setValid(e,this.isValid(r))&&this.setValue(e,r),this}setValue(e,r){this._setValue(this,e,r)}setValid(e,r){return this.length=this._nulls.set(e,+r).length,r}addChild(e,r=`${this.numChildren}`){throw new Error(`Cannot append children to non-nested type "${this.type}"`)}getChildAt(e){return this.children[e]||null}flush(){const e=[],r=this._values,S=this._offsets,D=this._typeIds,{length:x,nullCount:o}=this;D?(e[vi.TYPE]=D.flush(x),S&&(e[vi.OFFSET]=S.flush(x))):S?(r&&(e[vi.DATA]=r.flush(S.last())),e[vi.OFFSET]=S.flush(x)):r&&(e[vi.DATA]=r.flush(x)),o>0&&(e[vi.VALIDITY]=this._nulls.flush(x));const t=ni.new(this.type,0,x,o,e,this.children.map(d=>d.flush()));return this.clear(),t}finish(){return this.finished=!0,this.children.forEach(e=>e.finish()),this}clear(){return this.length=0,this._offsets&&this._offsets.clear(),this._values&&this._values.clear(),this._nulls&&this._nulls.clear(),this._typeIds&&this._typeIds.clear(),this.children.forEach(e=>e.clear()),this}};Eo.prototype.length=1;Eo.prototype.stride=1;Eo.prototype.children=null;Eo.prototype.finished=!1;Eo.prototype.nullValues=null;Eo.prototype._isValid=()=>!0;class Uh extends Eo{constructor(e){super(e),this._values=new Zm(new this.ArrayType(0),this.stride)}setValue(e,r){const S=this._values;return S.reserve(e-S.length+1),super.setValue(e,r)}}class jy extends Eo{constructor(e){super(e),this._pendingLength=0,this._offsets=new Bk}setValue(e,r){const S=this._pending||(this._pending=new Map),D=S.get(e);D&&(this._pendingLength-=D.length),this._pendingLength+=r.length,S.set(e,r)}setValid(e,r){return super.setValid(e,r)?!0:((this._pending||(this._pending=new Map)).set(e,void 0),!1)}clear(){return this._pendingLength=0,this._pending=void 0,super.clear()}flush(){return this._flush(),super.flush()}finish(){return this._flush(),super.finish()}_flush(){const e=this._pending,r=this._pendingLength;return this._pendingLength=0,this._pending=void 0,e&&e.size>0&&this._flushPending(e,r),this}}function JL(n){const{["queueingStrategy"]:e="count"}=n,{["highWaterMark"]:r=e!=="bytes"?1e3:2**14}=n,S=e!=="bytes"?"length":"byteLength";return function*(D){let x=0,o=Eo.new(n);for(const t of D)o.append(t)[S]>=r&&++x&&(yield o.toVector());(o.finish().length>0||x===0)&&(yield o.toVector())}}function QL(n){const{["queueingStrategy"]:e="count"}=n,{["highWaterMark"]:r=e!=="bytes"?1e3:2**14}=n,S=e!=="bytes"?"length":"byteLength";return async function*(D){let x=0,o=Eo.new(n);for await(const t of D)o.append(t)[S]>=r&&++x&&(yield o.toVector());(o.finish().length>0||x===0)&&(yield o.toVector())}}class eI extends Eo{constructor(e){super(e),this._values=new Fk}setValue(e,r){this._values.set(e,+r)}}class tI extends Eo{setValue(e,r){}setValid(e,r){return this.length=Math.max(e+1,this.length),r}}class F2 extends Uh{}class nI extends F2{}class rI extends F2{}class iI extends Uh{}class aI extends Eo{constructor({type:e,nullValues:r,dictionaryHashFunction:S}){super({type:new Fh(e.dictionary,e.indices,e.id,e.isOrdered)}),this._nulls=null,this._dictionaryOffset=0,this._keysToIndices=Object.create(null),this.indices=Eo.new({type:this.type.indices,nullValues:r}),this.dictionary=Eo.new({type:this.type.dictionary,nullValues:null}),typeof S=="function"&&(this.valueToKey=S)}get values(){return this.indices.values}get nullCount(){return this.indices.nullCount}get nullBitmap(){return this.indices.nullBitmap}get byteLength(){return this.indices.byteLength+this.dictionary.byteLength}get reservedLength(){return this.indices.reservedLength+this.dictionary.reservedLength}get reservedByteLength(){return this.indices.reservedByteLength+this.dictionary.reservedByteLength}isValid(e){return this.indices.isValid(e)}setValid(e,r){const S=this.indices;return r=S.setValid(e,r),this.length=S.length,r}setValue(e,r){let S=this._keysToIndices,D=this.valueToKey(r),x=S[D];return x===void 0&&(S[D]=x=this._dictionaryOffset+this.dictionary.append(r).length-1),this.indices.setValue(e,x)}flush(){const e=this.type,r=this._dictionary,S=this.dictionary.toVector(),D=this.indices.flush().clone(e);return D.dictionary=r?r.concat(S):S,this.finished||(this._dictionaryOffset+=S.length),this._dictionary=D.dictionary,this.clear(),D}finish(){return this.indices.finish(),this.dictionary.finish(),this._dictionaryOffset=0,this._keysToIndices=Object.create(null),super.finish()}clear(){return this.indices.clear(),this.dictionary.clear(),super.clear()}valueToKey(e){return typeof e=="string"?e:`${e}`}}class oI extends Uh{}const Vk=new Float64Array(1),bp=new Uint32Array(Vk.buffer);function sI(n){let e=(n&31744)>>10,r=(n&1023)/1024,S=(-1)**((n&32768)>>15);switch(e){case 31:return S*(r?NaN:1/0);case 0:return S*(r?6103515625e-14*r:0)}return S*2**(e-15)*(1+r)}function jk(n){if(n!==n)return 32256;Vk[0]=n;let e=(bp[1]&2147483648)>>16&65535,r=bp[1]&2146435072,S=0;return r>=1089470464?bp[0]>0?r=31744:(r=(r&2080374784)>>16,S=(bp[1]&1048575)>>10):r<=1056964608?(S=1048576+(bp[1]&1048575),S=1048576+(S<<(r>>20)-998)>>21,r=0):(r=r-1056964608>>10,S=(bp[1]&1048575)+512>>10),e|r|S&65535}class Uy extends Uh{}class lI extends Uy{setValue(e,r){this._values.set(e,jk(r))}}class uI extends Uy{setValue(e,r){this._values.set(e,r)}}class cI extends Uy{setValue(e,r){this._values.set(e,r)}}const fI=Symbol.for("isArrowBigNum");function zc(n,...e){return e.length===0?Object.setPrototypeOf(Ia(this.TypedArray,n),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(n,...e),this.constructor.prototype)}zc.prototype[fI]=!0;zc.prototype.toJSON=function(){return`"${Md(this)}"`};zc.prototype.valueOf=function(){return Uk(this)};zc.prototype.toString=function(){return Md(this)};zc.prototype[Symbol.toPrimitive]=function(n="default"){switch(n){case"number":return Uk(this);case"string":return Md(this);case"default":return Zv(this)}return Md(this)};function Op(...n){return zc.apply(this,n)}function Pp(...n){return zc.apply(this,n)}function Em(...n){return zc.apply(this,n)}Object.setPrototypeOf(Op.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(Pp.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Em.prototype,Object.create(Uint32Array.prototype));Object.assign(Op.prototype,zc.prototype,{constructor:Op,signed:!0,TypedArray:Int32Array,BigIntArray:c0});Object.assign(Pp.prototype,zc.prototype,{constructor:Pp,signed:!1,TypedArray:Uint32Array,BigIntArray:Gm});Object.assign(Em.prototype,zc.prototype,{constructor:Em,signed:!0,TypedArray:Uint32Array,BigIntArray:Gm});function Uk(n){let{buffer:e,byteOffset:r,length:S,signed:D}=n,x=new Int32Array(e,r,S),o=0,t=0,d=x.length,g,i;for(;t>>0),o+=(i>>>0)+g*t**32;return o}let Md,Zv;Fy?(Zv=n=>n.byteLength===8?new n.BigIntArray(n.buffer,n.byteOffset,1)[0]:yb(n),Md=n=>n.byteLength===8?`${new n.BigIntArray(n.buffer,n.byteOffset,1)[0]}`:yb(n)):(Md=yb,Zv=Md);function yb(n){let e="",r=new Uint32Array(2),S=new Uint16Array(n.buffer,n.byteOffset,n.byteLength/2),D=new Uint32Array((S=new Uint16Array(S).reverse()).buffer),x=-1,o=S.length-1;do{for(r[0]=S[x=0];xe=>(ArrayBuffer.isView(e)&&(n.buffer=e.buffer,n.byteOffset=e.byteOffset,n.byteLength=e.byteLength,e=Zv(n),n.buffer=null),e))({BigIntArray:c0});class Xm extends Uh{}class xI extends Xm{}class _I extends Xm{}class wI extends Xm{}class TI extends Xm{}class Km extends Uh{}class kI extends Km{}class MI extends Km{}class AI extends Km{}class SI extends Km{}class B2 extends Uh{}class CI extends B2{}class EI extends B2{}class Hk extends jy{constructor(e){super(e),this._values=new Ym(new Uint8Array(0))}get byteLength(){let e=this._pendingLength+this.length*4;return this._offsets&&(e+=this._offsets.byteLength),this._values&&(e+=this._values.byteLength),this._nulls&&(e+=this._nulls.byteLength),e}setValue(e,r){return super.setValue(e,ra(r))}_flushPending(e,r){const S=this._offsets,D=this._values.reserve(r).buffer;let x=0,o=0,t=0,d;for([x,d]of e)d===void 0?S.set(x,0):(o=d.length,D.set(d,t),S.set(x,o),t+=o)}}class N2 extends jy{constructor(e){super(e),this._values=new Ym(new Uint8Array(0))}get byteLength(){let e=this._pendingLength+this.length*4;return this._offsets&&(e+=this._offsets.byteLength),this._values&&(e+=this._values.byteLength),this._nulls&&(e+=this._nulls.byteLength),e}setValue(e,r){return super.setValue(e,zy(r))}_flushPending(e,r){}}N2.prototype._flushPending=Hk.prototype._flushPending;class Gk{get length(){return this._values.length}get(e){return this._values[e]}clear(){return this._values=null,this}bind(e){return e instanceof ma?e:(this._values=e,this)}}const Vs=Symbol.for("parent"),Dp=Symbol.for("rowIndex"),hu=Symbol.for("keyToIdx"),cu=Symbol.for("idxToVal"),ax=Symbol.for("nodejs.util.inspect.custom");let Hf=class{constructor(e,r){this[Vs]=e,this.size=r}entries(){return this[Symbol.iterator]()}has(e){return this.get(e)!==void 0}get(e){let r;if(e!=null){const S=this[hu]||(this[hu]=new Map);let D=S.get(e);if(D!==void 0){const x=this[cu]||(this[cu]=new Array(this.size));(r=x[D])!==void 0||(x[D]=r=this.getValue(D))}else if((D=this.getIndex(e))>-1){S.set(e,D);const x=this[cu]||(this[cu]=new Array(this.size));(r=x[D])!==void 0||(x[D]=r=this.getValue(D))}}return r}set(e,r){if(e!=null){const S=this[hu]||(this[hu]=new Map);let D=S.get(e);if(D===void 0&&S.set(e,D=this.getIndex(e)),D>-1){const x=this[cu]||(this[cu]=new Array(this.size));x[D]=this.setValue(D,r)}}return this}clear(){throw new Error(`Clearing ${this[Symbol.toStringTag]} not supported.`)}delete(e){throw new Error(`Deleting ${this[Symbol.toStringTag]} values not supported.`)}*[Symbol.iterator](){const e=this.keys(),r=this.values(),S=this[hu]||(this[hu]=new Map),D=this[cu]||(this[cu]=new Array(this.size));for(let x,o,t=0,d,g;!((d=e.next()).done||(g=r.next()).done);++t)x=d.value,o=g.value,D[t]=o,S.has(x)||S.set(x,t),yield[x,o]}forEach(e,r){const S=this.keys(),D=this.values(),x=r===void 0?e:(d,g,i)=>e.call(r,d,g,i),o=this[hu]||(this[hu]=new Map),t=this[cu]||(this[cu]=new Array(this.size));for(let d,g,i=0,M,v;!((M=S.next()).done||(v=D.next()).done);++i)d=M.value,g=v.value,t[i]=g,o.has(d)||o.set(d,i),x(g,d,this)}toArray(){return[...this.values()]}toJSON(){const e={};return this.forEach((r,S)=>e[S]=r),e}inspect(){return this.toString()}[ax](){return this.toString()}toString(){const e=[];return this.forEach((r,S)=>{S=cm(S),r=cm(r),e.push(`${S}: ${r}`)}),`{ ${e.join(", ")} }`}};Hf[Symbol.toStringTag]=(n=>(Object.defineProperties(n,{size:{writable:!0,enumerable:!1,configurable:!1,value:0},[Vs]:{writable:!0,enumerable:!1,configurable:!1,value:null},[Dp]:{writable:!0,enumerable:!1,configurable:!1,value:-1}}),n[Symbol.toStringTag]="Row"))(Hf.prototype);class Wk extends Hf{constructor(e){return super(e,e.length),LI(this)}keys(){return this[Vs].getChildAt(0)[Symbol.iterator]()}values(){return this[Vs].getChildAt(1)[Symbol.iterator]()}getKey(e){return this[Vs].getChildAt(0).get(e)}getIndex(e){return this[Vs].getChildAt(0).indexOf(e)}getValue(e){return this[Vs].getChildAt(1).get(e)}setValue(e,r){this[Vs].getChildAt(1).set(e,r)}}class qk extends Hf{constructor(e){return super(e,e.type.children.length),$k(this)}*keys(){for(const e of this[Vs].type.children)yield e.name}*values(){for(const e of this[Vs].type.children)yield this[e.name]}getKey(e){return this[Vs].type.children[e].name}getIndex(e){return this[Vs].type.children.findIndex(r=>r.name===e)}getValue(e){return this[Vs].getChildAt(e).get(this[Dp])}setValue(e,r){return this[Vs].getChildAt(e).set(this[Dp],r)}}Object.setPrototypeOf(Hf.prototype,Map.prototype);const $k=(()=>{const n={enumerable:!0,configurable:!1,get:null,set:null};return e=>{let r=-1,S=e[hu]||(e[hu]=new Map);const D=o=>function(){return this.get(o)},x=o=>function(t){return this.set(o,t)};for(const o of e.keys())S.set(o,++r),n.get=D(o),n.set=x(o),e.hasOwnProperty(o)||(n.enumerable=!0,Object.defineProperty(e,o,n)),e.hasOwnProperty(r)||(n.enumerable=!1,Object.defineProperty(e,r,n));return n.get=n.set=null,e}})(),LI=(()=>{if(typeof Proxy>"u")return $k;const n=Hf.prototype.has,e=Hf.prototype.get,r=Hf.prototype.set,S=Hf.prototype.getKey,D={isExtensible(){return!1},deleteProperty(){return!1},preventExtensions(){return!0},ownKeys(x){return[...x.keys()].map(o=>`${o}`)},has(x,o){switch(o){case"getKey":case"getIndex":case"getValue":case"setValue":case"toArray":case"toJSON":case"inspect":case"constructor":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"toLocaleString":case"valueOf":case"size":case"has":case"get":case"set":case"clear":case"delete":case"keys":case"values":case"entries":case"forEach":case"__proto__":case"__defineGetter__":case"__defineSetter__":case"hasOwnProperty":case"__lookupGetter__":case"__lookupSetter__":case Symbol.iterator:case Symbol.toStringTag:case Vs:case Dp:case cu:case hu:case ax:return!0}return typeof o=="number"&&!x.has(o)&&(o=x.getKey(o)),x.has(o)},get(x,o,t){switch(o){case"getKey":case"getIndex":case"getValue":case"setValue":case"toArray":case"toJSON":case"inspect":case"constructor":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"toLocaleString":case"valueOf":case"size":case"has":case"get":case"set":case"clear":case"delete":case"keys":case"values":case"entries":case"forEach":case"__proto__":case"__defineGetter__":case"__defineSetter__":case"hasOwnProperty":case"__lookupGetter__":case"__lookupSetter__":case Symbol.iterator:case Symbol.toStringTag:case Vs:case Dp:case cu:case hu:case ax:return Reflect.get(x,o,t)}return typeof o=="number"&&!n.call(t,o)&&(o=S.call(t,o)),e.call(t,o)},set(x,o,t,d){switch(o){case Vs:case Dp:case cu:case hu:return Reflect.set(x,o,t,d);case"getKey":case"getIndex":case"getValue":case"setValue":case"toArray":case"toJSON":case"inspect":case"constructor":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"toLocaleString":case"valueOf":case"size":case"has":case"get":case"set":case"clear":case"delete":case"keys":case"values":case"entries":case"forEach":case"__proto__":case"__defineGetter__":case"__defineSetter__":case"hasOwnProperty":case"__lookupGetter__":case"__lookupSetter__":case Symbol.iterator:case Symbol.toStringTag:return!1}return typeof o=="number"&&!n.call(d,o)&&(o=S.call(d,o)),n.call(d,o)?!!r.call(d,o,t):!1}};return x=>new Proxy(x,D)})();let C5;function Yk(n,e,r,S){let{length:D=0}=n,x=typeof e!="number"?0:e,o=typeof r!="number"?D:r;return x<0&&(x=(x%D+D)%D),o<0&&(o=(o%D+D)%D),oD&&(o=D),S?S(n,x,o):[x,o]}const II=Fy?yL(0):0,E5=n=>n!==n;function h0(n){let e=typeof n;if(e!=="object"||n===null)return E5(n)?E5:e!=="bigint"?r=>r===n:r=>II+r===n;if(n instanceof Date){const r=n.valueOf();return S=>S instanceof Date?S.valueOf()===r:!1}return ArrayBuffer.isView(n)?r=>r?EL(n,r):!1:n instanceof Map?PI(n):Array.isArray(n)?OI(n):n instanceof ma?DI(n):RI(n)}function OI(n){const e=[];for(let r=-1,S=n.length;++rr[++e]=h0(S)),Hy(r)}function DI(n){const e=[];for(let r=-1,S=n.length;++r!1;const r=[];for(let S=-1,D=e.length;++S{if(!r||typeof r!="object")return!1;switch(r.constructor){case Array:return zI(n,r);case Map:case Wk:case qk:return L5(n,r,r.keys());case Object:case void 0:return L5(n,r,e||Object.keys(r))}return r instanceof ma?FI(n,r):!1}}function zI(n,e){const r=n.length;if(e.length!==r)return!1;for(let S=-1;++S`}get data(){return this._chunks[0]?this._chunks[0].data:null}get ArrayType(){return this._type.ArrayType}get numChildren(){return this._numChildren}get stride(){return this._chunks[0]?this._chunks[0].stride:1}get byteLength(){return this._chunks.reduce((e,r)=>e+r.byteLength,0)}get nullCount(){let e=this._nullCount;return e<0&&(this._nullCount=e=this._chunks.reduce((r,{nullCount:S})=>r+S,0)),e}get indices(){if(Ni.isDictionary(this._type)){if(!this._indices){const e=this._chunks;this._indices=e.length===1?e[0].indices:js.concat(...e.map(r=>r.indices))}return this._indices}return null}get dictionary(){return Ni.isDictionary(this._type)?this._chunks[this._chunks.length-1].data.dictionary:null}*[Symbol.iterator](){for(const e of this._chunks)yield*e}clone(e=this._chunks){return new js(this._type,e)}concat(...e){return this.clone(js.flatten(this,...e))}slice(e,r){return Yk(this,e,r,this._sliceInternal)}getChildAt(e){if(e<0||e>=this._numChildren)return null;let r=this._children||(this._children=[]),S,D,x;return(S=r[e])?S:(D=(this._type.children||[])[e])&&(x=this._chunks.map(o=>o.getChildAt(e)).filter(o=>o!=null),x.length>0)?r[e]=new js(D.type,x):null}search(e,r){let S=e,D=this._chunkOffsets,x=D.length-1;if(S<0||S>=D[x])return null;if(x<=1)return r?r(this,0,S):[0,S];let o=0,t=0,d=0;do{if(o+1===x)return r?r(this,o,S-t):[o,S-t];d=o+(x-o)/2|0,S>=D[d]?o=d:x=d}while(S=(t=D[o]));return null}isValid(e){return!!this.search(e,this.isValidInternal)}get(e){return this.search(e,this.getInternal)}set(e,r){this.search(e,({chunks:S},D,x)=>S[D].set(x,r))}indexOf(e,r){return r&&typeof r=="number"?this.search(r,(S,D,x)=>this.indexOfInternal(S,D,x,e)):this.indexOfInternal(this,0,Math.max(0,r||0),e)}toArray(){const{chunks:e}=this,r=e.length;let S=this._type.ArrayType;if(r<=0)return new S(0);if(r<=1)return e[0].toArray();let D=0,x=new Array(r);for(let d=-1;++d=S)break;if(r>=M+i)continue;if(M>=r&&M+i<=S){D.push(g);continue}const v=Math.max(0,r-M),p=Math.min(S-M,i);D.push(g.slice(v,p))}return e.clone(D)}}function BI(n){let e=new Uint32Array((n||[]).length+1),r=e[0]=0,S=e.length;for(let D=0;++D(e.set(n,r),r+n.length),VI=(n,e,r)=>{let S=r;for(let D=-1,x=n.length;++Dx>0)&&(e=e.clone({nullable:!0}));return new Tv(e,D)}get field(){return this._field}get name(){return this._field.name}get nullable(){return this._field.nullable}get metadata(){return this._field.metadata}clone(e=this._chunks){return new Tv(this._field,e)}getChildAt(e){if(e<0||e>=this.numChildren)return null;let r=this._children||(this._children=[]),S,D,x;return(S=r[e])?S:(D=(this.type.children||[])[e])&&(x=this._chunks.map(o=>o.getChildAt(e)).filter(o=>o!=null),x.length>0)?r[e]=new Tv(D,x):null}};class I5 extends yd{constructor(e,r,S){super(e,[r],S),this._chunk=r}search(e,r){return r?r(this,0,e):[0,e]}isValid(e){return this._chunk.isValid(e)}get(e){return this._chunk.get(e)}set(e,r){this._chunk.set(e,r)}indexOf(e,r){return this._chunk.indexOf(e,r)}}const bd=Array.isArray,Zk=(n,e)=>V2(n,e,[],0),jI=n=>{const[e,r]=j2(n,[[],[]]);return r.map((S,D)=>S instanceof yd?yd.new(S.field.clone(e[D]),S):S instanceof ma?yd.new(e[D],S):yd.new(e[D],[]))},Xk=n=>j2(n,[[],[]]),UI=(n,e)=>ox(n,e,[],0),HI=(n,e)=>Kk(n,e,[],0);function V2(n,e,r,S){let D,x=S,o=-1,t=e.length;for(;++oD.getChildAt(g)),r,x).length:D instanceof ma&&(r[x++]=D);return r}const GI=(n,[e,r],S)=>(n[0][S]=e,n[1][S]=r,n);function j2(n,e){let r,S;switch(S=n.length){case 0:return e;case 1:if(r=e[0],!n[0])return e;if(bd(n[0]))return j2(n[0],e);n[0]instanceof ni||n[0]instanceof ma||n[0]instanceof Ni||([r,n]=Object.entries(n[0]).reduce(GI,e));break;default:bd(r=n[S-1])?n=bd(n[0])?n[0]:n.slice(0,S-1):(n=bd(n[0])?n[0]:n,r=[])}let D=-1,x=-1,o=-1,t=n.length,d,g,[i,M]=e;for(;++o`${r}: ${e}`).join(", ")} }>`}compareTo(e){return yu.compareSchemas(this,e)}select(...e){const r=e.reduce((S,D)=>(S[D]=!0)&&S,Object.create(null));return new Na(this.fields.filter(S=>r[S.name]),this.metadata)}selectAt(...e){return new Na(e.map(r=>this.fields[r]).filter(Boolean),this.metadata)}assign(...e){const r=e[0]instanceof Na?e[0]:new Na(Zk(ga,e)),S=[...this.fields],D=lv(lv(new Map,this.metadata),r.metadata),x=r.fields.filter(t=>{const d=S.findIndex(g=>g.name===t.name);return~d?(S[d]=t.clone({metadata:lv(lv(new Map,S[d].metadata),t.metadata)}))&&!1:!0}),o=sx(x,new Map);return new Na([...S,...x],D,new Map([...this.dictionaries,...o]))}}class ga{constructor(e,r,S=!1,D){this.name=e,this.type=r,this.nullable=S,this.metadata=D||new Map}static new(...e){let[r,S,D,x]=e;return e[0]&&typeof e[0]=="object"&&({name:r}=e[0],S===void 0&&(S=e[0].type),D===void 0&&(D=e[0].nullable),x===void 0&&(x=e[0].metadata)),new ga(`${r}`,S,D,x)}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}compareTo(e){return yu.compareField(this,e)}clone(...e){let[r,S,D,x]=e;return!e[0]||typeof e[0]!="object"?[r=this.name,S=this.type,D=this.nullable,x=this.metadata]=e:{name:r=this.name,type:S=this.type,nullable:D=this.nullable,metadata:x=this.metadata}=e[0],ga.new(r,S,D,x)}}function lv(n,e){return new Map([...n||new Map,...e||new Map])}function sx(n,e=new Map){for(let r=-1,S=n.length;++r0&&sx(x.children,e)}return e}Na.prototype.fields=null;Na.prototype.metadata=null;Na.prototype.dictionaries=null;ga.prototype.type=null;ga.prototype.name=null;ga.prototype.nullable=null;ga.prototype.metadata=null;class WI extends jy{constructor(e){super(e),this._run=new Gk,this._offsets=new Bk}addChild(e,r="0"){if(this.numChildren>0)throw new Error("ListBuilder can only have one child.");return this.children[this.numChildren]=e,this.type=new Zp(new ga(r,e.type,!0)),this.numChildren-1}clear(){return this._run.clear(),super.clear()}_flushPending(e){const r=this._run,S=this._offsets,D=this._setValue;let x=0,o;for([x,o]of e)o===void 0?S.set(x,0):(S.set(x,o.length),D(this,x,r.bind(o)))}}class qI extends Eo{constructor(){super(...arguments),this._run=new Gk}setValue(e,r){super.setValue(e,this._run.bind(r))}addChild(e,r="0"){if(this.numChildren>0)throw new Error("FixedSizeListBuilder can only have one child.");const S=this.children.push(e);return this.type=new Sm(this.type.listSize,new ga(r,e.type,!0)),S}clear(){return this._run.clear(),super.clear()}}class $I extends jy{set(e,r){return super.set(e,r)}setValue(e,r){r=r instanceof Map?r:new Map(Object.entries(r));const S=this._pending||(this._pending=new Map),D=S.get(e);D&&(this._pendingLength-=D.size),this._pendingLength+=r.size,S.set(e,r)}addChild(e,r=`${this.numChildren}`){if(this.numChildren>0)throw new Error("ListBuilder can only have one child.");return this.children[this.numChildren]=e,this.type=new Cm(new ga(r,e.type,!0),this.type.keysSorted),this.numChildren-1}_flushPending(e){const r=this._offsets,S=this._setValue;e.forEach((D,x)=>{D===void 0?r.set(x,0):(r.set(x,D.size),S(this,x,D))})}}class YI extends Eo{addChild(e,r=`${this.numChildren}`){const S=this.children.push(e);return this.type=new Dc([...this.type.children,new ga(r,e.type,!0)]),S}}class U2 extends Eo{constructor(e){super(e),this._typeIds=new Zm(new Int8Array(0),1),typeof e.valueToChildTypeId=="function"&&(this._valueToChildTypeId=e.valueToChildTypeId)}get typeIdToChildIndex(){return this.type.typeIdToChildIndex}append(e,r){return this.set(this.length,e,r)}set(e,r,S){return S===void 0&&(S=this._valueToChildTypeId(this,r,e)),this.setValid(e,this.isValid(r))&&this.setValue(e,r,S),this}setValue(e,r,S){this._typeIds.set(e,S),super.setValue(e,r)}addChild(e,r=`${this.children.length}`){const S=this.children.push(e),{type:{children:D,mode:x,typeIds:o}}=this,t=[...D,new ga(r,e.type)];return this.type=new Am(x,[...o,S],t),S}_valueToChildTypeId(e,r,S){throw new Error("Cannot map UnionBuilder value to child typeId. Pass the `childTypeId` as the second argument to unionBuilder.append(), or supply a `valueToChildTypeId` function as part of the UnionBuilder constructor options.")}}class ZI extends U2{}class XI extends U2{constructor(e){super(e),this._offsets=new Zm(new Int32Array(0))}setValue(e,r,S){const D=this.type.typeIdToChildIndex[S];return this._offsets.set(e,this.getChildAt(D).length),super.setValue(e,r,S)}}class Oi extends Zi{}const KI=(n,e,r)=>{n[e]=r/864e5|0},H2=(n,e,r)=>{n[e]=r%4294967296|0,n[e+1]=r/4294967296|0},JI=(n,e,r)=>{n[e]=r*1e3%4294967296|0,n[e+1]=r*1e3/4294967296|0},QI=(n,e,r)=>{n[e]=r*1e6%4294967296|0,n[e+1]=r*1e6/4294967296|0},Jk=(n,e,r,S)=>{const{[r]:D,[r+1]:x}=e;D!=null&&x!=null&&n.set(S.subarray(0,x-D),D)},eO=({offset:n,values:e},r,S)=>{const D=n+r;S?e[D>>3]|=1<>3]&=~(1<{KI(n,e,r.valueOf())},e6=({values:n},e,r)=>{H2(n,e*2,r.valueOf())},yf=({stride:n,values:e},r,S)=>{e[n*r]=S},t6=({stride:n,values:e},r,S)=>{e[n*r]=jk(S)},G2=(n,e,r)=>{switch(typeof r){case"bigint":n.values64[e]=r;break;case"number":n.values[e*n.stride]=r;break;default:const S=r,{stride:D,ArrayType:x}=n,o=Ia(x,S);n.values.set(o.subarray(0,D),D*e)}},tO=({stride:n,values:e},r,S)=>{e.set(S.subarray(0,n),n*r)},nO=({values:n,valueOffsets:e},r,S)=>Jk(n,e,r,S),rO=({values:n,valueOffsets:e},r,S)=>{Jk(n,e,r,zy(S))},iO=(n,e,r)=>{n.type.bitWidth<64?yf(n,e,r):G2(n,e,r)},aO=(n,e,r)=>{n.type.precision!==Yu.HALF?yf(n,e,r):t6(n,e,r)},oO=(n,e,r)=>{n.type.unit===pf.DAY?Qk(n,e,r):e6(n,e,r)},n6=({values:n},e,r)=>H2(n,e*2,r/1e3),r6=({values:n},e,r)=>H2(n,e*2,r),i6=({values:n},e,r)=>JI(n,e*2,r),a6=({values:n},e,r)=>QI(n,e*2,r),sO=(n,e,r)=>{switch(n.type.unit){case Ba.SECOND:return n6(n,e,r);case Ba.MILLISECOND:return r6(n,e,r);case Ba.MICROSECOND:return i6(n,e,r);case Ba.NANOSECOND:return a6(n,e,r)}},o6=({values:n,stride:e},r,S)=>{n[e*r]=S},s6=({values:n,stride:e},r,S)=>{n[e*r]=S},l6=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},u6=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},lO=(n,e,r)=>{switch(n.type.unit){case Ba.SECOND:return o6(n,e,r);case Ba.MILLISECOND:return s6(n,e,r);case Ba.MICROSECOND:return l6(n,e,r);case Ba.NANOSECOND:return u6(n,e,r)}},uO=({values:n},e,r)=>{n.set(r.subarray(0,4),4*e)},cO=(n,e,r)=>{const S=n.getChildAt(0),D=n.valueOffsets;for(let x=-1,o=D[e],t=D[e+1];o{const S=n.getChildAt(0),D=n.valueOffsets,x=r instanceof Map?[...r]:Object.entries(r);for(let o=-1,t=D[e],d=D[e+1];t(r,S,D)=>r&&r.set(n,e[D]),dO=(n,e)=>(r,S,D)=>r&&r.set(n,e.get(D)),pO=(n,e)=>(r,S,D)=>r&&r.set(n,e.get(S.name)),mO=(n,e)=>(r,S,D)=>r&&r.set(n,e[S.name]),gO=(n,e,r)=>{const S=r instanceof Map?pO(e,r):r instanceof ma?dO(e,r):Array.isArray(r)?hO(e,r):mO(e,r);n.type.children.forEach((D,x)=>S(n.getChildAt(x),D,x))},vO=(n,e,r)=>{n.type.mode===Yf.Dense?c6(n,e,r):f6(n,e,r)},c6=(n,e,r)=>{const S=n.typeIdToChildIndex[n.typeIds[e]],D=n.getChildAt(S);D&&D.set(n.valueOffsets[e],r)},f6=(n,e,r)=>{const S=n.typeIdToChildIndex[n.typeIds[e]],D=n.getChildAt(S);D&&D.set(e,r)},yO=(n,e,r)=>{const S=n.getKey(e);S!==null&&n.setValue(S,r)},bO=(n,e,r)=>{n.type.unit===Hp.DAY_TIME?h6(n,e,r):d6(n,e,r)},h6=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},d6=({values:n},e,r)=>{n[e]=r[0]*12+r[1]%12},xO=(n,e,r)=>{const S=n.getChildAt(0),{stride:D}=n;for(let x=-1,o=e*D;++x0){const S=n.children||[],D={nullValues:n.nullValues},x=Array.isArray(S)?(o,t)=>S[t]||D:({name:o})=>S[o]||D;e.children.forEach((o,t)=>{const{type:d}=o,g=x(o,t);r.children.push(m6({...g,type:d}))})}return r}Object.keys(qn).map(n=>qn[n]).filter(n=>typeof n=="number"&&n!==qn.NONE).forEach(n=>{const e=p6.visit(n);e.prototype._setValue=Gy.getVisitFn(n)});N2.prototype._setValue=Gy.visitBinary;var Xp;(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsFooter(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}version(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):kr.apache.arrow.flatbuf.MetadataVersion.V1}schema(o){let t=this.bb.__offset(this.bb_pos,6);return t?(o||new kr.apache.arrow.flatbuf.Schema).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}dictionaries(o,t){let d=this.bb.__offset(this.bb_pos,8);return d?(t||new n.apache.arrow.flatbuf.Block).__init(this.bb.__vector(this.bb_pos+d)+o*24,this.bb):null}dictionariesLength(){let o=this.bb.__offset(this.bb_pos,8);return o?this.bb.__vector_len(this.bb_pos+o):0}recordBatches(o,t){let d=this.bb.__offset(this.bb_pos,10);return d?(t||new n.apache.arrow.flatbuf.Block).__init(this.bb.__vector(this.bb_pos+d)+o*24,this.bb):null}recordBatchesLength(){let o=this.bb.__offset(this.bb_pos,10);return o?this.bb.__vector_len(this.bb_pos+o):0}static startFooter(o){o.startObject(4)}static addVersion(o,t){o.addFieldInt16(0,t,kr.apache.arrow.flatbuf.MetadataVersion.V1)}static addSchema(o,t){o.addFieldOffset(1,t,0)}static addDictionaries(o,t){o.addFieldOffset(2,t,0)}static startDictionariesVector(o,t){o.startVector(24,t,8)}static addRecordBatches(o,t){o.addFieldOffset(3,t,0)}static startRecordBatchesVector(o,t){o.startVector(24,t,8)}static endFooter(o){return o.endObject()}static finishFooterBuffer(o,t){o.finish(t)}static createFooter(o,t,d,g,i){return D.startFooter(o),D.addVersion(o,t),D.addSchema(o,d),D.addDictionaries(o,g),D.addRecordBatches(o,i),D.endFooter(o)}}S.Footer=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Xp||(Xp={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}offset(){return this.bb.readInt64(this.bb_pos)}metaDataLength(){return this.bb.readInt32(this.bb_pos+8)}bodyLength(){return this.bb.readInt64(this.bb_pos+16)}static createBlock(o,t,d,g){return o.prep(8,24),o.writeInt64(g),o.pad(4),o.writeInt32(d),o.writeInt64(t),o.offset()}}S.Block=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Xp||(Xp={}));var O5=lr.Long,wO=lr.Builder,TO=lr.ByteBuffer,kO=Xp.apache.arrow.flatbuf.Block,rf=Xp.apache.arrow.flatbuf.Footer;class Lm{constructor(e,r=Mc.V4,S,D){this.schema=e,this.version=r,S&&(this._recordBatches=S),D&&(this._dictionaryBatches=D)}static decode(e){e=new TO(ra(e));const r=rf.getRootAsFooter(e),S=Na.decode(r.schema());return new MO(S,r)}static encode(e){const r=new wO,S=Na.encode(r,e.schema);rf.startRecordBatchesVector(r,e.numRecordBatches),[...e.recordBatches()].slice().reverse().forEach(o=>Bh.encode(r,o));const D=r.endVector();rf.startDictionariesVector(r,e.numDictionaries),[...e.dictionaryBatches()].slice().reverse().forEach(o=>Bh.encode(r,o));const x=r.endVector();return rf.startFooter(r),rf.addSchema(r,S),rf.addVersion(r,Mc.V4),rf.addRecordBatches(r,D),rf.addDictionaries(r,x),rf.finishFooterBuffer(r,rf.endFooter(r)),r.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}*recordBatches(){for(let e,r=-1,S=this.numRecordBatches;++r=0&&e=0&&e=0&&e=0&&e0)return super.write(e)}toString(e=!1){return e?tx(this.toUint8Array(!0)):this.toUint8Array(!1).then(tx)}toUint8Array(e=!1){return e?df(this._values)[0]:(async()=>{let r=[],S=0;for await(const D of this)r.push(D),S+=D.byteLength;return df(r,S)[0]})()}}class Kv{constructor(e){e&&(this.source=new AO(du.fromIterable(e)))}[Symbol.iterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class Id{constructor(e){e instanceof Id?this.source=e.source:e instanceof fm?this.source=new cd(du.fromAsyncIterable(e)):Ok(e)?this.source=new cd(du.fromNodeStream(e)):T2(e)?this.source=new cd(du.fromDOMStream(e)):Ik(e)?this.source=new cd(du.fromDOMStream(e.body)):Pc(e)?this.source=new cd(du.fromIterable(e)):zh(e)?this.source=new cd(du.fromAsyncIterable(e)):th(e)&&(this.source=new cd(du.fromAsyncIterable(e)))}[Symbol.asyncIterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}get closed(){return this.source.closed}cancel(e){return this.source.cancel(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class AO{constructor(e){this.source=e}cancel(e){this.return(e)}peek(e){return this.next(e,"peek").value}read(e){return this.next(e,"read").value}next(e,r="read"){return this.source.next({cmd:r,size:e})}throw(e){return Object.create(this.source.throw&&this.source.throw(e)||Co)}return(e){return Object.create(this.source.return&&this.source.return(e)||Co)}}class cd{constructor(e){this.source=e,this._closedPromise=new Promise(r=>this._closedPromiseResolve=r)}async cancel(e){await this.return(e)}get closed(){return this._closedPromise}async read(e){return(await this.next(e,"read")).value}async peek(e){return(await this.next(e,"peek")).value}async next(e,r="read"){return await this.source.next({cmd:r,size:e})}async throw(e){const r=this.source.throw&&await this.source.throw(e)||Co;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)}async return(e){const r=this.source.return&&await this.source.return(e)||Co;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)}}class P5 extends Kv{constructor(e,r){super(),this.position=0,this.buffer=ra(e),this.size=typeof r>"u"?this.buffer.byteLength:r}readInt32(e){const{buffer:r,byteOffset:S}=this.readAt(e,4);return new DataView(r,S).getInt32(0,!0)}seek(e){return this.position=Math.min(e,this.size),e{this.size=(await e.stat()).size,delete this._pending})()}async readInt32(e){const{buffer:r,byteOffset:S}=await this.readAt(e,4);return new DataView(r,S).getInt32(0,!0)}async seek(e){return this._pending&&await this._pending,this.position=Math.min(e,this.size),e>>16,this.buffer[1]&65535,this.buffer[0]>>>16,this.buffer[0]&65535]),S=new Uint32Array([e.buffer[1]>>>16,e.buffer[1]&65535,e.buffer[0]>>>16,e.buffer[0]&65535]);let D=r[3]*S[3];this.buffer[0]=D&65535;let x=D>>>16;return D=r[2]*S[3],x+=D,D=r[3]*S[2]>>>0,x+=D,this.buffer[0]+=x<<16,this.buffer[1]=x>>>0>>16,this.buffer[1]+=r[1]*S[3]+r[2]*S[2]+r[3]*S[1],this.buffer[1]+=r[0]*S[3]+r[1]*S[2]+r[2]*S[1]+r[3]*S[0]<<16,this}_plus(e){const r=this.buffer[0]+e.buffer[0]>>>0;this.buffer[1]+=e.buffer[1],r>>0&&++this.buffer[1],this.buffer[0]=r}lessThan(e){return this.buffer[1]>>0,r[2]=this.buffer[2]+e.buffer[2]>>>0,r[1]=this.buffer[1]+e.buffer[1]>>>0,r[0]=this.buffer[0]+e.buffer[0]>>>0,r[0]>>0&&++r[1],r[1]>>0&&++r[2],r[2]>>0&&++r[3],this.buffer[3]=r[3],this.buffer[2]=r[2],this.buffer[1]=r[1],this.buffer[0]=r[0],this}hex(){return`${Sp(this.buffer[3])} ${Sp(this.buffer[2])} ${Sp(this.buffer[1])} ${Sp(this.buffer[0])}`}static multiply(e,r){return new af(new Uint32Array(e.buffer)).times(r)}static add(e,r){return new af(new Uint32Array(e.buffer)).plus(r)}static from(e,r=new Uint32Array(4)){return af.fromString(typeof e=="string"?e:e.toString(),r)}static fromNumber(e,r=new Uint32Array(4)){return af.fromString(e.toString(),r)}static fromString(e,r=new Uint32Array(4)){const S=e.startsWith("-"),D=e.length;let x=new af(r);for(let o=S?1:0;o0&&this.readData(e,S)||new Uint8Array(0)}readOffsets(e,r){return this.readData(e,r)}readTypeIds(e,r){return this.readData(e,r)}readData(e,{length:r,offset:S}=this.nextBufferRange()){return this.bytes.subarray(S,S+r)}readDictionary(e){return this.dictionaries.get(e.id)}}class CO extends v6{constructor(e,r,S,D){super(new Uint8Array(0),r,S,D),this.sources=e}readNullBitmap(e,r,{offset:S}=this.nextBufferRange()){return r<=0?new Uint8Array(0):Hv(this.sources[S])}readOffsets(e,{offset:r}=this.nextBufferRange()){return Ia(Uint8Array,Ia(Int32Array,this.sources[r]))}readTypeIds(e,{offset:r}=this.nextBufferRange()){return Ia(Uint8Array,Ia(e.ArrayType,this.sources[r]))}readData(e,{offset:r}=this.nextBufferRange()){const{sources:S}=this;return Ni.isTimestamp(e)||(Ni.isInt(e)||Ni.isTime(e))&&e.bitWidth===64||Ni.isDate(e)&&e.unit===pf.MILLISECOND?Ia(Uint8Array,Hl.convertArray(S[r])):Ni.isDecimal(e)?Ia(Uint8Array,af.convertArray(S[r])):Ni.isBinary(e)||Ni.isFixedSizeBinary(e)?EO(S[r]):Ni.isBool(e)?Hv(S[r]):Ni.isUtf8(e)?zy(S[r].join("")):Ia(Uint8Array,Ia(e.ArrayType,S[r].map(D=>+D)))}}function EO(n){const e=n.join(""),r=new Uint8Array(e.length/2);for(let S=0;S>1]=parseInt(e.substr(S,2),16);return r}var LO=lr.Long,D5=kr.apache.arrow.flatbuf.Null,uv=kr.apache.arrow.flatbuf.Int,bb=kr.apache.arrow.flatbuf.FloatingPoint,R5=kr.apache.arrow.flatbuf.Binary,z5=kr.apache.arrow.flatbuf.Bool,F5=kr.apache.arrow.flatbuf.Utf8,cv=kr.apache.arrow.flatbuf.Decimal,xb=kr.apache.arrow.flatbuf.Date,fv=kr.apache.arrow.flatbuf.Time,hv=kr.apache.arrow.flatbuf.Timestamp,_b=kr.apache.arrow.flatbuf.Interval,B5=kr.apache.arrow.flatbuf.List,N5=kr.apache.arrow.flatbuf.Struct_,xp=kr.apache.arrow.flatbuf.Union,J0=kr.apache.arrow.flatbuf.DictionaryEncoding,wb=kr.apache.arrow.flatbuf.FixedSizeBinary,Tb=kr.apache.arrow.flatbuf.FixedSizeList,kb=kr.apache.arrow.flatbuf.Map;class IO extends Zi{visit(e,r){return e==null||r==null?void 0:super.visit(e,r)}visitNull(e,r){return D5.startNull(r),D5.endNull(r)}visitInt(e,r){return uv.startInt(r),uv.addBitWidth(r,e.bitWidth),uv.addIsSigned(r,e.isSigned),uv.endInt(r)}visitFloat(e,r){return bb.startFloatingPoint(r),bb.addPrecision(r,e.precision),bb.endFloatingPoint(r)}visitBinary(e,r){return R5.startBinary(r),R5.endBinary(r)}visitBool(e,r){return z5.startBool(r),z5.endBool(r)}visitUtf8(e,r){return F5.startUtf8(r),F5.endUtf8(r)}visitDecimal(e,r){return cv.startDecimal(r),cv.addScale(r,e.scale),cv.addPrecision(r,e.precision),cv.endDecimal(r)}visitDate(e,r){return xb.startDate(r),xb.addUnit(r,e.unit),xb.endDate(r)}visitTime(e,r){return fv.startTime(r),fv.addUnit(r,e.unit),fv.addBitWidth(r,e.bitWidth),fv.endTime(r)}visitTimestamp(e,r){const S=e.timezone&&r.createString(e.timezone)||void 0;return hv.startTimestamp(r),hv.addUnit(r,e.unit),S!==void 0&&hv.addTimezone(r,S),hv.endTimestamp(r)}visitInterval(e,r){return _b.startInterval(r),_b.addUnit(r,e.unit),_b.endInterval(r)}visitList(e,r){return B5.startList(r),B5.endList(r)}visitStruct(e,r){return N5.startStruct_(r),N5.endStruct_(r)}visitUnion(e,r){xp.startTypeIdsVector(r,e.typeIds.length);const S=xp.createTypeIdsVector(r,e.typeIds);return xp.startUnion(r),xp.addMode(r,e.mode),xp.addTypeIds(r,S),xp.endUnion(r)}visitDictionary(e,r){const S=this.visit(e.indices,r);return J0.startDictionaryEncoding(r),J0.addId(r,new LO(e.id,0)),J0.addIsOrdered(r,e.isOrdered),S!==void 0&&J0.addIndexType(r,S),J0.endDictionaryEncoding(r)}visitFixedSizeBinary(e,r){return wb.startFixedSizeBinary(r),wb.addByteWidth(r,e.byteWidth),wb.endFixedSizeBinary(r)}visitFixedSizeList(e,r){return Tb.startFixedSizeList(r),Tb.addListSize(r,e.listSize),Tb.endFixedSizeList(r)}visitMap(e,r){return kb.startMap(r),kb.addKeysSorted(r,e.keysSorted),kb.endMap(r)}}const Mb=new IO;function OO(n,e=new Map){return new Na(DO(n,e),kv(n.customMetadata),e)}function y6(n){return new _u(n.count,b6(n.columns),x6(n.columns))}function PO(n){return new mf(y6(n.data),n.id,n.isDelta)}function DO(n,e){return(n.fields||[]).filter(Boolean).map(r=>ga.fromJSON(r,e))}function V5(n,e){return(n.children||[]).filter(Boolean).map(r=>ga.fromJSON(r,e))}function b6(n){return(n||[]).reduce((e,r)=>[...e,new Gd(r.count,RO(r.VALIDITY)),...b6(r.children)],[])}function x6(n,e=[]){for(let r=-1,S=(n||[]).length;++re+ +(r===0),0)}function zO(n,e){let r,S,D,x,o,t;return!e||!(x=n.dictionary)?(o=U5(n,V5(n,e)),D=new ga(n.name,o,n.nullable,kv(n.customMetadata))):e.has(r=x.id)?(S=(S=x.indexType)?j5(S):new Ed,t=new Fh(e.get(r),S,r,x.isOrdered),D=new ga(n.name,t,n.nullable,kv(n.customMetadata))):(S=(S=x.indexType)?j5(S):new Ed,e.set(r,o=U5(n,V5(n,e))),t=new Fh(o,S,r,x.isOrdered),D=new ga(n.name,t,n.nullable,kv(n.customMetadata))),D||null}function kv(n){return new Map(Object.entries(n||{}))}function j5(n){return new $l(n.isSigned,n.bitWidth)}function U5(n,e){const r=n.type.name;switch(r){case"NONE":return new Gp;case"null":return new Gp;case"binary":return new km;case"utf8":return new $p;case"bool":return new Mm;case"list":return new Zp((e||[])[0]);case"struct":return new Dc(e||[]);case"struct_":return new Dc(e||[])}switch(r){case"int":{const S=n.type;return new $l(S.isSigned,S.bitWidth)}case"floatingpoint":{const S=n.type;return new Ld(Yu[S.precision])}case"decimal":{const S=n.type;return new Gv(S.scale,S.precision)}case"date":{const S=n.type;return new Yp(pf[S.unit])}case"time":{const S=n.type;return new Wv(Ba[S.unit],S.bitWidth)}case"timestamp":{const S=n.type;return new qv(Ba[S.unit],S.timezone)}case"interval":{const S=n.type;return new $v(Hp[S.unit])}case"union":{const S=n.type;return new Am(Yf[S.mode],S.typeIds||[],e||[])}case"fixedsizebinary":{const S=n.type;return new Yv(S.byteWidth)}case"fixedsizelist":{const S=n.type;return new Sm(S.listSize,(e||[])[0])}case"map":{const S=n.type;return new Cm((e||[])[0],S.keysSorted)}}throw new Error(`Unrecognized type: "${r}"`)}var Od=lr.Long,FO=lr.Builder,BO=lr.ByteBuffer,ds=kr.apache.arrow.flatbuf.Type,wc=kr.apache.arrow.flatbuf.Field,Bf=kr.apache.arrow.flatbuf.Schema,NO=kr.apache.arrow.flatbuf.Buffer,Th=Hs.apache.arrow.flatbuf.Message,Ch=kr.apache.arrow.flatbuf.KeyValue,VO=Hs.apache.arrow.flatbuf.FieldNode,H5=kr.apache.arrow.flatbuf.Endianness,Ah=Hs.apache.arrow.flatbuf.RecordBatch,Ap=Hs.apache.arrow.flatbuf.DictionaryBatch;class kl{constructor(e,r,S,D){this._version=r,this._headerType=S,this.body=new Uint8Array(0),D&&(this._createHeader=()=>D),this._bodyLength=typeof e=="number"?e:e.low}static fromJSON(e,r){const S=new kl(0,Mc.V4,r);return S._createHeader=jO(e,r),S}static decode(e){e=new BO(ra(e));const r=Th.getRootAsMessage(e),S=r.bodyLength(),D=r.version(),x=r.headerType(),o=new kl(S,D,x);return o._createHeader=UO(r,x),o}static encode(e){let r=new FO,S=-1;return e.isSchema()?S=Na.encode(r,e.header()):e.isRecordBatch()?S=_u.encode(r,e.header()):e.isDictionaryBatch()&&(S=mf.encode(r,e.header())),Th.startMessage(r),Th.addVersion(r,Mc.V4),Th.addHeader(r,S),Th.addHeaderType(r,e.headerType),Th.addBodyLength(r,new Od(e.bodyLength,0)),Th.finishMessageBuffer(r,Th.endMessage(r)),r.asUint8Array()}static from(e,r=0){if(e instanceof Na)return new kl(0,Mc.V4,Ga.Schema,e);if(e instanceof _u)return new kl(r,Mc.V4,Ga.RecordBatch,e);if(e instanceof mf)return new kl(r,Mc.V4,Ga.DictionaryBatch,e);throw new Error(`Unrecognized Message header: ${e}`)}get type(){return this.headerType}get version(){return this._version}get headerType(){return this._headerType}get bodyLength(){return this._bodyLength}header(){return this._createHeader()}isSchema(){return this.headerType===Ga.Schema}isRecordBatch(){return this.headerType===Ga.RecordBatch}isDictionaryBatch(){return this.headerType===Ga.DictionaryBatch}}let _u=class{get nodes(){return this._nodes}get length(){return this._length}get buffers(){return this._buffers}constructor(e,r,S){this._nodes=r,this._buffers=S,this._length=typeof e=="number"?e:e.low}};class mf{get id(){return this._id}get data(){return this._data}get isDelta(){return this._isDelta}get length(){return this.data.length}get nodes(){return this.data.nodes}get buffers(){return this.data.buffers}constructor(e,r,S=!1){this._data=e,this._isDelta=S,this._id=typeof r=="number"?r:r.low}}class uf{constructor(e,r){this.offset=typeof e=="number"?e:e.low,this.length=typeof r=="number"?r:r.low}}class Gd{constructor(e,r){this.length=typeof e=="number"?e:e.low,this.nullCount=typeof r=="number"?r:r.low}}function jO(n,e){return()=>{switch(e){case Ga.Schema:return Na.fromJSON(n);case Ga.RecordBatch:return _u.fromJSON(n);case Ga.DictionaryBatch:return mf.fromJSON(n)}throw new Error(`Unrecognized Message type: { name: ${Ga[e]}, type: ${e} }`)}}function UO(n,e){return()=>{switch(e){case Ga.Schema:return Na.decode(n.header(new Bf));case Ga.RecordBatch:return _u.decode(n.header(new Ah),n.version());case Ga.DictionaryBatch:return mf.decode(n.header(new Ap),n.version())}throw new Error(`Unrecognized Message type: { name: ${Ga[e]}, type: ${e} }`)}}ga.encode=QO;ga.decode=KO;ga.fromJSON=zO;Na.encode=JO;Na.decode=HO;Na.fromJSON=OO;_u.encode=eP;_u.decode=GO;_u.fromJSON=y6;mf.encode=tP;mf.decode=WO;mf.fromJSON=PO;Gd.encode=nP;Gd.decode=$O;uf.encode=rP;uf.decode=qO;function HO(n,e=new Map){const r=XO(n,e);return new Na(r,Mv(n),e)}function GO(n,e=Mc.V4){return new _u(n.length(),YO(n),ZO(n,e))}function WO(n,e=Mc.V4){return new mf(_u.decode(n.data(),e),n.id(),n.isDelta())}function qO(n){return new uf(n.offset(),n.length())}function $O(n){return new Gd(n.length(),n.nullCount())}function YO(n){const e=[];for(let r,S=-1,D=-1,x=n.nodesLength();++Sga.encode(n,x));Bf.startFieldsVector(n,r.length);const S=Bf.createFieldsVector(n,r),D=e.metadata&&e.metadata.size>0?Bf.createCustomMetadataVector(n,[...e.metadata].map(([x,o])=>{const t=n.createString(`${x}`),d=n.createString(`${o}`);return Ch.startKeyValue(n),Ch.addKey(n,t),Ch.addValue(n,d),Ch.endKeyValue(n)})):-1;return Bf.startSchema(n),Bf.addFields(n,S),Bf.addEndianness(n,iP?H5.Little:H5.Big),D!==-1&&Bf.addCustomMetadata(n,D),Bf.endSchema(n)}function QO(n,e){let r=-1,S=-1,D=-1,x=e.type,o=e.typeId;Ni.isDictionary(x)?(o=x.dictionary.typeId,D=Mb.visit(x,n),S=Mb.visit(x.dictionary,n)):S=Mb.visit(x,n);const t=(x.children||[]).map(i=>ga.encode(n,i)),d=wc.createChildrenVector(n,t),g=e.metadata&&e.metadata.size>0?wc.createCustomMetadataVector(n,[...e.metadata].map(([i,M])=>{const v=n.createString(`${i}`),p=n.createString(`${M}`);return Ch.startKeyValue(n),Ch.addKey(n,v),Ch.addValue(n,p),Ch.endKeyValue(n)})):-1;return e.name&&(r=n.createString(e.name)),wc.startField(n),wc.addType(n,S),wc.addTypeType(n,o),wc.addChildren(n,d),wc.addNullable(n,!!e.nullable),r!==-1&&wc.addName(n,r),D!==-1&&wc.addDictionary(n,D),g!==-1&&wc.addCustomMetadata(n,g),wc.endField(n)}function eP(n,e){const r=e.nodes||[],S=e.buffers||[];Ah.startNodesVector(n,r.length),r.slice().reverse().forEach(o=>Gd.encode(n,o));const D=n.endVector();Ah.startBuffersVector(n,S.length),S.slice().reverse().forEach(o=>uf.encode(n,o));const x=n.endVector();return Ah.startRecordBatch(n),Ah.addLength(n,new Od(e.length,0)),Ah.addNodes(n,D),Ah.addBuffers(n,x),Ah.endRecordBatch(n)}function tP(n,e){const r=_u.encode(n,e.data);return Ap.startDictionaryBatch(n),Ap.addId(n,new Od(e.id,0)),Ap.addIsDelta(n,e.isDelta),Ap.addData(n,r),Ap.endDictionaryBatch(n)}function nP(n,e){return VO.createFieldNode(n,new Od(e.length,0),new Od(e.nullCount,0))}function rP(n,e){return NO.createBuffer(n,new Od(e.offset,0),new Od(e.length,0))}const iP=function(){const n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256}();var _6=lr.ByteBuffer;const q2=n=>`Expected ${Ga[n]} Message in stream, but was null or length 0.`,$2=n=>`Header pointer of flatbuffer-encoded ${Ga[n]} Message is null or length 0.`,w6=(n,e)=>`Expected to read ${n} metadata bytes, but only read ${e}.`,T6=(n,e)=>`Expected to read ${n} bytes for message body, but only read ${e}.`;class k6{constructor(e){this.source=e instanceof Kv?e:new Kv(e)}[Symbol.iterator](){return this}next(){let e;return(e=this.readMetadataLength()).done||e.value===-1&&(e=this.readMetadataLength()).done||(e=this.readMetadata(e.value)).done?Co:e}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(q2(e));return r.value}readMessageBody(e){if(e<=0)return new Uint8Array(0);const r=ra(this.source.read(e));if(r.byteLength[...D,...x.VALIDITY&&[x.VALIDITY]||[],...x.TYPE&&[x.TYPE]||[],...x.OFFSET&&[x.OFFSET]||[],...x.DATA&&[x.DATA]||[],...r(x.children)],[])}}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(q2(e));return r.value}readSchema(){const e=Ga.Schema,r=this.readMessage(e),S=r&&r.header();if(!r||!S)throw new Error($2(e));return S}}const Wy=4,lx="ARROW1",Im=new Uint8Array(lx.length);for(let n=0;n2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");Ni.isNull(e.type)||Ic.call(this,D<=0?new Uint8Array(0):A2(r.offset,S,r.nullBitmap)),this.nodes.push(new Gd(S,D))}return super.visit(e)}visitNull(e){return this}visitDictionary(e){return this.visit(e.indices)}get nodes(){return this._nodes}get buffers(){return this._buffers}get byteLength(){return this._byteLength}get bufferRegions(){return this._bufferRegions}}function Ic(n){const e=n.byteLength+7&-8;return this.buffers.push(n),this.bufferRegions.push(new uf(this._byteLength,e)),this._byteLength+=e,this}function lP(n){const{type:e,length:r,typeIds:S,valueOffsets:D}=n;if(Ic.call(this,S),e.mode===Yf.Sparse)return ux.call(this,n);if(e.mode===Yf.Dense){if(n.offset<=0)return Ic.call(this,D),ux.call(this,n);{const x=S.reduce((i,M)=>Math.max(i,M),S[0]),o=new Int32Array(x+1),t=new Int32Array(x+1).fill(-1),d=new Int32Array(r),g=M2(-D[0],r,D);for(let i,M,v=-1;++v=n.length?Ic.call(this,new Uint8Array(0)):(e=n.values)instanceof Uint8Array?Ic.call(this,A2(n.offset,n.length,e)):Ic.call(this,Hv(n))}function Hh(n){return Ic.call(this,n.values.subarray(0,n.length*n.stride))}function A6(n){const{length:e,values:r,valueOffsets:S}=n,D=S[0],x=S[e],o=Math.min(x-D,r.byteLength-D);return Ic.call(this,M2(-S[0],e,S)),Ic.call(this,r.subarray(D,D+o)),this}function Z2(n){const{length:e,valueOffsets:r}=n;return r&&Ic.call(this,M2(r[0],e,r)),this.visit(n.getChildAt(0))}function ux(n){return this.visitMany(n.type.children.map((e,r)=>n.getChildAt(r)).filter(Boolean))[0]}rs.prototype.visitBool=uP;rs.prototype.visitInt=Hh;rs.prototype.visitFloat=Hh;rs.prototype.visitUtf8=A6;rs.prototype.visitBinary=A6;rs.prototype.visitFixedSizeBinary=Hh;rs.prototype.visitDate=Hh;rs.prototype.visitTimestamp=Hh;rs.prototype.visitTime=Hh;rs.prototype.visitDecimal=Hh;rs.prototype.visitList=Z2;rs.prototype.visitStruct=ux;rs.prototype.visitUnion=lP;rs.prototype.visitInterval=Hh;rs.prototype.visitFixedSizeList=Z2;rs.prototype.visitMap=Z2;class X2 extends Hd{constructor(e){super(),this._position=0,this._started=!1,this._sink=new fm,this._schema=null,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,xu(e)||(e={autoDestroy:!0,writeLegacyIpcFormat:!1}),this._autoDestroy=typeof e.autoDestroy=="boolean"?e.autoDestroy:!0,this._writeLegacyIpcFormat=typeof e.writeLegacyIpcFormat=="boolean"?e.writeLegacyIpcFormat:!1}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}toString(e=!1){return this._sink.toString(e)}toUint8Array(e=!1){return this._sink.toUint8Array(e)}writeAll(e){return zh(e)?e.then(r=>this.writeAll(r)):th(e)?e_(this,e):Q2(this,e)}get closed(){return this._sink.closed}[Symbol.asyncIterator](){return this._sink[Symbol.asyncIterator]()}toDOMStream(e){return this._sink.toDOMStream(e)}toNodeStream(e){return this._sink.toNodeStream(e)}close(){return this.reset()._sink.close()}abort(e){return this.reset()._sink.abort(e)}finish(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}reset(e=this._sink,r=null){return e===this._sink||e instanceof fm?this._sink=e:(this._sink=new fm,e&&xL(e)?this.toDOMStream({type:"bytes"}).pipeTo(e):e&&_L(e)&&this.toNodeStream({objectMode:!1}).pipe(e)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,(!r||!r.compareTo(this._schema))&&(r===null?(this._position=0,this._schema=null):(this._started=!0,this._schema=r,this._writeSchema(r))),this}write(e){let r=null;if(this._sink){if(e==null)return this.finish()&&void 0;if(e instanceof Ta&&!(r=e.schema))return this.finish()&&void 0;if(e instanceof Wl&&!(r=e.schema))return this.finish()&&void 0}else throw new Error("RecordBatchWriter is closed");if(r&&!r.compareTo(this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,r)}e instanceof Wl?e instanceof Zy||this._writeRecordBatch(e):e instanceof Ta?this.writeAll(e.chunks):Pc(e)&&this.writeAll(e)}_writeMessage(e,r=8){const S=r-1,D=kl.encode(e),x=D.byteLength,o=this._writeLegacyIpcFormat?4:8,t=x+o+S&~S,d=t-x-o;return e.headerType===Ga.RecordBatch?this._recordBatchBlocks.push(new Bh(t,e.bodyLength,this._position)):e.headerType===Ga.DictionaryBatch&&this._dictionaryBlocks.push(new Bh(t,e.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(t-o)),x>0&&this._write(D),this._writePadding(d)}_write(e){if(this._started){const r=ra(e);r&&r.byteLength>0&&(this._sink.write(r),this._position+=r.byteLength)}return this}_writeSchema(e){return this._writeMessage(kl.from(e))}_writeFooter(e){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}_writeMagic(){return this._write(Im)}_writePadding(e){return e>0?this._write(new Uint8Array(e)):this}_writeRecordBatch(e){const{byteLength:r,nodes:S,bufferRegions:D,buffers:x}=rs.assemble(e),o=new _u(e.length,S,D),t=kl.from(o,r);return this._writeDictionaries(e)._writeMessage(t)._writeBodyBuffers(x)}_writeDictionaryBatch(e,r,S=!1){this._dictionaryDeltaOffsets.set(r,e.length+(this._dictionaryDeltaOffsets.get(r)||0));const{byteLength:D,nodes:x,bufferRegions:o,buffers:t}=rs.assemble(e),d=new _u(e.length,x,o),g=new mf(d,r,S),i=kl.from(g,D);return this._writeMessage(i)._writeBodyBuffers(t)}_writeBodyBuffers(e){let r,S,D;for(let x=-1,o=e.length;++x0&&(this._write(r),(D=(S+7&-8)-S)>0&&this._writePadding(D));return this}_writeDictionaries(e){for(let[r,S]of e.dictionaries){let D=this._dictionaryDeltaOffsets.get(r)||0;if(D===0||(S=S.slice(D)).length>0){const x="chunks"in S?S.chunks:[S];for(const o of x)this._writeDictionaryBatch(o,r,D>0),D+=o.length}}return this}}class K2 extends X2{static writeAll(e,r){const S=new K2(r);return zh(e)?e.then(D=>S.writeAll(D)):th(e)?e_(S,e):Q2(S,e)}}class J2 extends X2{constructor(){super(),this._autoDestroy=!0}static writeAll(e){const r=new J2;return zh(e)?e.then(S=>r.writeAll(S)):th(e)?e_(r,e):Q2(r,e)}_writeSchema(e){return this._writeMagic()._writePadding(2)}_writeFooter(e){const r=Lm.encode(new Lm(e,Mc.V4,this._recordBatchBlocks,this._dictionaryBlocks));return super._writeFooter(e)._write(r)._write(Int32Array.of(r.byteLength))._writeMagic()}}function Q2(n,e){let r=e;e instanceof Ta&&(r=e.chunks,n.reset(void 0,e.schema));for(const S of r)n.write(S);return n.finish()}async function e_(n,e){for await(const r of e)n.write(r);return n.finish()}const Ab=new Uint8Array(0),S6=n=>[Ab,Ab,new Uint8Array(n),Ab];function cP(n,e,r=e.reduce((S,D)=>Math.max(S,D.length),0)){let S,D,x=-1,o=e.length;const t=[...n.fields],d=[],g=(r+63&-64)>>3;for(;++xe)),n)}function C6(n,e){return hP(n,e.map(r=>r instanceof js?r.chunks.map(S=>S.data):[r.data]))}function hP(n,e){const r=[...n.fields],S=[],D={numBatches:e.reduce((M,v)=>Math.max(M,v.length),0)};let x=0,o=0,t=-1,d=e.length,g,i=[];for(;D.numBatches-- >0;){for(o=Number.POSITIVE_INFINITY,t=-1;++t0&&(S[x++]=[o,i.slice()]))}return[n=new Na(r,n.metadata),S.map(M=>new Wl(n,...M))]}function dP(n,e,r,S,D){let x,o,t=0,d=-1,g=S.length;const i=(e+63&-64)>>3;for(;++d=e?t===e?r[d]=x:(r[d]=x.slice(0,e),x=x.slice(e,t-e),D.numBatches=Math.max(D.numBatches,S[d].unshift(x))):((o=n[d]).nullable||(n[d]=o.clone({nullable:!0})),r[d]=x?x._changeLengthAndBackfillNullBitmap(e):ni.new(o.type,0,e,e,S6(i)));return r}class ro extends ma{constructor(e,r){super(),this._children=r,this.numChildren=e.childData.length,this._bindDataAccessors(this.data=e)}get type(){return this.data.type}get typeId(){return this.data.typeId}get length(){return this.data.length}get offset(){return this.data.offset}get stride(){return this.data.stride}get nullCount(){return this.data.nullCount}get byteLength(){return this.data.byteLength}get VectorName(){return`${qn[this.typeId]}Vector`}get ArrayType(){return this.type.ArrayType}get values(){return this.data.values}get typeIds(){return this.data.typeIds}get nullBitmap(){return this.data.nullBitmap}get valueOffsets(){return this.data.valueOffsets}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}clone(e,r=this._children){return ma.new(e,r)}concat(...e){return js.concat(this,...e)}slice(e,r){return Yk(this,e,r,this._sliceInternal)}isValid(e){if(this.nullCount>0){const r=this.offset+e;return(this.nullBitmap[r>>3]&1<=this.numChildren?null:(this._children||(this._children=[]))[e]||(this._children[e]=ma.new(this.data.childData[e]))}toJSON(){return[...this]}_sliceInternal(e,r,S){return e.clone(e.data.slice(r,S-r),null)}_bindDataAccessors(e){}}ro.prototype[Symbol.isConcatSpreadable]=!0;class pP extends ro{asUtf8(){return ma.new(this.data.clone(new $p))}}class mP extends ro{static from(e){return Pd(()=>new Mm,e)}}class t_ extends ro{static from(...e){return e.length===2?Pd(()=>e[1]===pf.DAY?new WL:new S5,e[0]):Pd(()=>new S5,e[0])}}class gP extends t_{}class vP extends t_{}class yP extends ro{}class n_ extends ro{constructor(e){super(e),this.indices=ma.new(e.clone(this.type.indices))}static from(...e){if(e.length===3){const[r,S,D]=e,x=new Fh(r.type,S,null,null);return ma.new(ni.Dictionary(x,0,D.length,0,null,D,r))}return Pd(()=>e[0].type,e[0])}get dictionary(){return this.data.dictionary}reverseLookup(e){return this.dictionary.indexOf(e)}getKey(e){return this.indices.get(e)}getValue(e){return this.dictionary.get(e)}setKey(e,r){return this.indices.set(e,r)}setValue(e,r){return this.dictionary.set(e,r)}}n_.prototype.indices=null;class bP extends ro{}class xP extends ro{}class qy extends ro{static from(e){let r=TP(this);if(e instanceof ArrayBuffer||ArrayBuffer.isView(e)){let S=wP(e.constructor)||r;if(r===null&&(r=S),r&&r===S){let D=new r,x=e.byteLength/D.ArrayType.BYTES_PER_ELEMENT;if(!_P(r,e.constructor))return ma.new(ni.Float(D,0,x,0,null,e))}}if(r)return Pd(()=>new r,e);throw e instanceof DataView||e instanceof ArrayBuffer?new TypeError(`Cannot infer float type from instance of ${e.constructor.name}`):new TypeError("Unrecognized FloatVector input")}}class E6 extends qy{toFloat32Array(){return new Float32Array(this)}toFloat64Array(){return new Float64Array(this)}}class L6 extends qy{}class I6 extends qy{}const _P=(n,e)=>n===Vy&&e!==Uint16Array,wP=n=>{switch(n){case Uint16Array:return Vy;case Float32Array:return R2;case Float64Array:return z2;default:return null}},TP=n=>{switch(n){case E6:return Vy;case L6:return R2;case I6:return z2;default:return null}};class r_ extends ro{}class kP extends r_{}class MP extends r_{}class Fc extends ro{static from(...e){let[r,S=!1]=e,D=CP(this,S);if(r instanceof ArrayBuffer||ArrayBuffer.isView(r)){let x=SP(r.constructor,S)||D;if(D===null&&(D=x),D&&D===x){let o=new D,t=r.byteLength/o.ArrayType.BYTES_PER_ELEMENT;return AP(D,r.constructor)&&(t*=.5),ma.new(ni.Int(o,0,t,0,null,r))}}if(D)return Pd(()=>new D,r);throw r instanceof DataView||r instanceof ArrayBuffer?new TypeError(`Cannot infer integer type from instance of ${r.constructor.name}`):new TypeError("Unrecognized IntVector input")}}class O6 extends Fc{}class P6 extends Fc{}class D6 extends Fc{}class R6 extends Fc{toBigInt64Array(){return kL(this.values)}get values64(){return this._values64||(this._values64=this.toBigInt64Array())}}class z6 extends Fc{}class F6 extends Fc{}class B6 extends Fc{}class N6 extends Fc{toBigUint64Array(){return ML(this.values)}get values64(){return this._values64||(this._values64=this.toBigUint64Array())}}const AP=(n,e)=>(n===Wp||n===qp)&&(e===Int32Array||e===Uint32Array),SP=(n,e)=>{switch(n){case Int8Array:return L2;case Int16Array:return I2;case Int32Array:return e?Wp:Ed;case c0:return Wp;case Uint8Array:return O2;case Uint16Array:return P2;case Uint32Array:return e?qp:D2;case Gm:return qp;default:return null}},CP=(n,e)=>{switch(n){case O6:return L2;case P6:return I2;case D6:return e?Wp:Ed;case R6:return Wp;case z6:return O2;case F6:return P2;case B6:return e?qp:D2;case N6:return qp;default:return null}};class EP extends ro{}class LP extends ro{asList(){const e=this.type.children[0];return ma.new(this.data.clone(new Zp(e)))}bind(e){const r=this.getChildAt(0),{[e]:S,[e+1]:D}=this.valueOffsets;return new Wk(r.slice(S,D))}}class IP extends ro{}const OP=Symbol.for("rowIndex");class $y extends ro{bind(e){const r=this._row||(this._row=new qk(this)),S=Object.create(r);return S[OP]=e,S}}class Qm extends ro{}class PP extends Qm{}class DP extends Qm{}class RP extends Qm{}class zP extends Qm{}class eg extends ro{}class FP extends eg{}class BP extends eg{}class NP extends eg{}class VP extends eg{}class i_ extends ro{get typeIdToChildIndex(){return this.data.type.typeIdToChildIndex}}class jP extends i_{get valueOffsets(){return this.data.valueOffsets}}class UP extends i_{}class HP extends ro{static from(e){return Pd(()=>new $p,e)}asBinary(){return ma.new(this.data.clone(new km))}}function $5(n){return function(){return n(this)}}function GP(n){return function(e){return n(this,e)}}function Y5(n){return function(e,r){return n(this,e,r)}}class Ai extends Zi{}const WP=(n,e)=>864e5*n[e],a_=(n,e)=>4294967296*n[e+1]+(n[e]>>>0),qP=(n,e)=>4294967296*(n[e+1]/1e3)+(n[e]>>>0)/1e3,$P=(n,e)=>4294967296*(n[e+1]/1e6)+(n[e]>>>0)/1e6,V6=n=>new Date(n),YP=(n,e)=>V6(WP(n,e)),ZP=(n,e)=>V6(a_(n,e)),XP=(n,e)=>null,j6=(n,e,r)=>{const{[r]:S,[r+1]:D}=e;return S!=null&&D!=null?n.subarray(S,D):null},KP=({offset:n,values:e},r)=>{const S=n+r;return(e[S>>3]&1<YP(n,e),H6=({values:n},e)=>ZP(n,e*2),bf=({stride:n,values:e},r)=>e[n*r],G6=({stride:n,values:e},r)=>sI(e[n*r]),o_=({stride:n,values:e,type:r},S)=>f0.new(e.subarray(n*S,n*(S+1)),r.isSigned),JP=({stride:n,values:e},r)=>e.subarray(n*r,n*(r+1)),QP=({values:n,valueOffsets:e},r)=>j6(n,e,r),eD=({values:n,valueOffsets:e},r)=>{const S=j6(n,e,r);return S!==null?tx(S):null},tD=(n,e)=>n.type.bitWidth<64?bf(n,e):o_(n,e),nD=(n,e)=>n.type.precision!==Yu.HALF?bf(n,e):G6(n,e),rD=(n,e)=>n.type.unit===pf.DAY?U6(n,e):H6(n,e),W6=({values:n},e)=>1e3*a_(n,e*2),q6=({values:n},e)=>a_(n,e*2),$6=({values:n},e)=>qP(n,e*2),Y6=({values:n},e)=>$P(n,e*2),iD=(n,e)=>{switch(n.type.unit){case Ba.SECOND:return W6(n,e);case Ba.MILLISECOND:return q6(n,e);case Ba.MICROSECOND:return $6(n,e);case Ba.NANOSECOND:return Y6(n,e)}},Z6=({values:n,stride:e},r)=>n[e*r],X6=({values:n,stride:e},r)=>n[e*r],K6=({values:n},e)=>f0.signed(n.subarray(2*e,2*(e+1))),J6=({values:n},e)=>f0.signed(n.subarray(2*e,2*(e+1))),aD=(n,e)=>{switch(n.type.unit){case Ba.SECOND:return Z6(n,e);case Ba.MILLISECOND:return X6(n,e);case Ba.MICROSECOND:return K6(n,e);case Ba.NANOSECOND:return J6(n,e)}},oD=({values:n},e)=>f0.decimal(n.subarray(4*e,4*(e+1))),sD=(n,e)=>{const r=n.getChildAt(0),{valueOffsets:S,stride:D}=n;return r.slice(S[e*D],S[e*D+1])},lD=(n,e)=>n.bind(e),uD=(n,e)=>n.bind(e),cD=(n,e)=>n.type.mode===Yf.Dense?Q6(n,e):eM(n,e),Q6=(n,e)=>{const r=n.typeIdToChildIndex[n.typeIds[e]],S=n.getChildAt(r);return S?S.get(n.valueOffsets[e]):null},eM=(n,e)=>{const r=n.typeIdToChildIndex[n.typeIds[e]],S=n.getChildAt(r);return S?S.get(e):null},fD=(n,e)=>n.getValue(n.getKey(e)),hD=(n,e)=>n.type.unit===Hp.DAY_TIME?tM(n,e):nM(n,e),tM=({values:n},e)=>n.subarray(2*e,2*(e+1)),nM=({values:n},e)=>{const r=n[e],S=new Int32Array(2);return S[0]=r/12|0,S[1]=r%12|0,S},dD=(n,e)=>{const r=n.getChildAt(0),{stride:S}=n;return r.slice(e*S,(e+1)*S)};Ai.prototype.visitNull=XP;Ai.prototype.visitBool=KP;Ai.prototype.visitInt=tD;Ai.prototype.visitInt8=bf;Ai.prototype.visitInt16=bf;Ai.prototype.visitInt32=bf;Ai.prototype.visitInt64=o_;Ai.prototype.visitUint8=bf;Ai.prototype.visitUint16=bf;Ai.prototype.visitUint32=bf;Ai.prototype.visitUint64=o_;Ai.prototype.visitFloat=nD;Ai.prototype.visitFloat16=G6;Ai.prototype.visitFloat32=bf;Ai.prototype.visitFloat64=bf;Ai.prototype.visitUtf8=eD;Ai.prototype.visitBinary=QP;Ai.prototype.visitFixedSizeBinary=JP;Ai.prototype.visitDate=rD;Ai.prototype.visitDateDay=U6;Ai.prototype.visitDateMillisecond=H6;Ai.prototype.visitTimestamp=iD;Ai.prototype.visitTimestampSecond=W6;Ai.prototype.visitTimestampMillisecond=q6;Ai.prototype.visitTimestampMicrosecond=$6;Ai.prototype.visitTimestampNanosecond=Y6;Ai.prototype.visitTime=aD;Ai.prototype.visitTimeSecond=Z6;Ai.prototype.visitTimeMillisecond=X6;Ai.prototype.visitTimeMicrosecond=K6;Ai.prototype.visitTimeNanosecond=J6;Ai.prototype.visitDecimal=oD;Ai.prototype.visitList=sD;Ai.prototype.visitStruct=uD;Ai.prototype.visitUnion=cD;Ai.prototype.visitDenseUnion=Q6;Ai.prototype.visitSparseUnion=eM;Ai.prototype.visitDictionary=fD;Ai.prototype.visitInterval=hD;Ai.prototype.visitIntervalDayTime=tM;Ai.prototype.visitIntervalYearMonth=nM;Ai.prototype.visitFixedSizeList=dD;Ai.prototype.visitMap=lD;const Yy=new Ai;class Si extends Zi{}function pD(n,e){return e===null&&n.length>0?0:-1}function mD(n,e){const{nullBitmap:r}=n;if(!r||n.nullCount<=0)return-1;let S=0;for(const D of By(r,n.data.offset+(e||0),n.length,r,Rk)){if(!D)return S;++S}return-1}function Hi(n,e,r){if(e===void 0)return-1;if(e===null)return mD(n,r);const S=h0(e);for(let D=(r||0)-1,x=n.length;++DD&1<0)return gD(n);const{type:e,typeId:r,length:S}=n;return n.stride===1&&(r===qn.Timestamp||r===qn.Int&&e.bitWidth!==64||r===qn.Time&&e.bitWidth!==64||r===qn.Float&&e.precision>0)?n.values.subarray(0,S)[Symbol.iterator]():function*(D){for(let x=-1;++xn+e,Sb=n=>`Cannot compute the byte width of variable-width column ${n}`;class vD extends Zi{visitNull(e){return 0}visitInt(e){return e.bitWidth/8}visitFloat(e){return e.ArrayType.BYTES_PER_ELEMENT}visitBinary(e){throw new Error(Sb(e))}visitUtf8(e){throw new Error(Sb(e))}visitBool(e){return 1/8}visitDecimal(e){return 16}visitDate(e){return(e.unit+1)*4}visitTime(e){return e.bitWidth/8}visitTimestamp(e){return e.unit===Ba.SECOND?4:8}visitInterval(e){return(e.unit+1)*4}visitList(e){throw new Error(Sb(e))}visitStruct(e){return this.visitFields(e.children).reduce(Q0,0)}visitUnion(e){return this.visitFields(e.children).reduce(Q0,0)}visitFixedSizeBinary(e){return e.byteWidth}visitFixedSizeList(e){return e.listSize*this.visitFields(e.children).reduce(Q0,0)}visitMap(e){return this.visitFields(e.children).reduce(Q0,0)}visitDictionary(e){return this.visit(e.indices)}visitFields(e){return(e||[]).map(r=>this.visit(r.type))}visitSchema(e){return this.visitFields(e.fields).reduce(Q0,0)}}const oM=new vD;class yD extends Zi{visitNull(){return IP}visitBool(){return mP}visitInt(){return Fc}visitInt8(){return O6}visitInt16(){return P6}visitInt32(){return D6}visitInt64(){return R6}visitUint8(){return z6}visitUint16(){return F6}visitUint32(){return B6}visitUint64(){return N6}visitFloat(){return qy}visitFloat16(){return E6}visitFloat32(){return L6}visitFloat64(){return I6}visitUtf8(){return HP}visitBinary(){return pP}visitFixedSizeBinary(){return bP}visitDate(){return t_}visitDateDay(){return gP}visitDateMillisecond(){return vP}visitTimestamp(){return Qm}visitTimestampSecond(){return PP}visitTimestampMillisecond(){return DP}visitTimestampMicrosecond(){return RP}visitTimestampNanosecond(){return zP}visitTime(){return eg}visitTimeSecond(){return FP}visitTimeMillisecond(){return BP}visitTimeMicrosecond(){return NP}visitTimeNanosecond(){return VP}visitDecimal(){return yP}visitList(){return EP}visitStruct(){return $y}visitUnion(){return i_}visitDenseUnion(){return jP}visitSparseUnion(){return UP}visitDictionary(){return n_}visitInterval(){return r_}visitIntervalDayTime(){return kP}visitIntervalYearMonth(){return MP}visitFixedSizeList(){return xP}visitMap(){return LP}}const sM=new yD;ma.new=bD;ma.from=xD;function bD(n,...e){return new(sM.getVisitFn(n)())(n,...e)}function Pd(n,e){if(Pc(e))return ma.from({nullValues:[null,void 0],type:n(),values:e});if(th(e))return ma.from({nullValues:[null,void 0],type:n(),values:e});const{values:r=[],type:S=n(),nullValues:D=[null,void 0]}={...e};return Pc(r)?ma.from({nullValues:D,...e,type:S}):ma.from({nullValues:D,...e,type:S})}function xD(n){const{values:e=[],...r}={nullValues:[null,void 0],...n};if(Pc(e)){const S=[...Eo.throughIterable(r)(e)];return S.length===1?S[0]:js.concat(S)}return(async S=>{const D=Eo.throughAsyncIterable(r);for await(const x of D(e))S.push(x);return S.length===1?S[0]:js.concat(S)})([])}ro.prototype.get=function(e){return Yy.visit(this,e)};ro.prototype.set=function(e,r){return Gy.visit(this,e,r)};ro.prototype.indexOf=function(e,r){return iM.visit(this,e,r)};ro.prototype.toArray=function(){return aM.visit(this)};ro.prototype.getByteWidth=function(){return oM.visit(this.type)};ro.prototype[Symbol.iterator]=function(){return s_.visit(this)};ro.prototype._bindDataAccessors=kD;Object.keys(qn).map(n=>qn[n]).filter(n=>typeof n=="number").filter(n=>n!==qn.NONE).forEach(n=>{const e=sM.visit(n);e.prototype.get=GP(Yy.getVisitFn(n)),e.prototype.set=Y5(Gy.getVisitFn(n)),e.prototype.indexOf=Y5(iM.getVisitFn(n)),e.prototype.toArray=$5(aM.getVisitFn(n)),e.prototype.getByteWidth=_D(oM.getVisitFn(n)),e.prototype[Symbol.iterator]=$5(s_.getVisitFn(n))});function _D(n){return function(){return n(this.type)}}function wD(n){return function(e){return this.isValid(e)?n.call(this,e):null}}function TD(n){return function(e,r){zL(this.nullBitmap,this.offset+e,r!=null)&&n.call(this,e,r)}}function kD(){const n=this.nullBitmap;n&&n.byteLength>0&&(this.get=wD(this.get),this.set=TD(this.set))}class Ta extends js{constructor(...e){let r=null;e[0]instanceof Na&&(r=e.shift());let S=Zk(Wl,e);if(!r&&!(r=S[0]&&S[0].schema))throw new TypeError("Table must be initialized with a Schema or at least one RecordBatch");S[0]||(S[0]=new Zy(r)),super(new Dc(r.fields),S),this._schema=r,this._chunks=S}static empty(e=new Na([])){return new Ta(e,[])}static from(e){if(!e)return Ta.empty();if(typeof e=="object"){let S=Pc(e.values)?MD(e):th(e.values)?AD(e):null;if(S!==null)return S}let r=Oc.from(e);return zh(r)?(async()=>await Ta.from(await r))():r.isSync()&&(r=r.open())?r.schema?new Ta(r.schema,[...r]):Ta.empty():(async S=>{const D=await S,x=D.schema,o=[];if(x){for await(let t of D)o.push(t);return new Ta(x,o)}return Ta.empty()})(r.open())}static async fromAsync(e){return await Ta.from(e)}static fromStruct(e){return Ta.new(e.data.childData,e.type.children)}static new(...e){return new Ta(...fP(jI(e)))}get schema(){return this._schema}get length(){return this._length}get chunks(){return this._chunks}get numCols(){return this._numChildren}clone(e=this._chunks){return new Ta(this._schema,e)}getColumn(e){return this.getColumnAt(this.getColumnIndex(e))}getColumnAt(e){return this.getChildAt(e)}getColumnIndex(e){return this._schema.fields.findIndex(r=>r.name===e)}getChildAt(e){if(e<0||e>=this.numChildren)return null;let r,S;const D=this._schema.fields,x=this._children||(this._children=[]);if(S=x[e])return S;if(r=D[e]){const o=this._chunks.map(t=>t.getChildAt(e)).filter(t=>t!=null);if(o.length>0)return x[e]=new yd(r,o)}return null}serialize(e="binary",r=!0){return(r?K2:J2).writeAll(this).toUint8Array(!0)}count(){return this._length}select(...e){const r=this._schema.fields.reduce((S,D,x)=>S.set(D.name,x),new Map);return this.selectAt(...e.map(S=>r.get(S)).filter(S=>S>-1))}selectAt(...e){const r=this._schema.selectAt(...e);return new Ta(r,this._chunks.map(({length:S,data:{childData:D}})=>new Wl(r,S,e.map(x=>D[x]).filter(Boolean))))}assign(e){const r=this._schema.fields,[S,D]=e.schema.fields.reduce((t,d,g)=>{const[i,M]=t,v=r.findIndex(p=>p.name===d.name);return~v?M[v]=g:i.push(g),t},[[],[]]),x=this._schema.assign(e.schema),o=[...r.map((t,d,g,i=D[d])=>i===void 0?this.getColumnAt(d):e.getColumnAt(i)),...S.map(t=>e.getColumnAt(t))].filter(Boolean);return new Ta(...C6(x,o))}}function MD(n){const{type:e}=n;return e instanceof Dc?Ta.fromStruct($y.from(n)):null}function AD(n){const{type:e}=n;return e instanceof Dc?$y.from(n).then(r=>Ta.fromStruct(r)):null}class Wl extends $y{constructor(...e){let r,S=e[0],D;if(e[1]instanceof ni)[,r,D]=e;else{const x=S.fields,[,o,t]=e;r=ni.Struct(new Dc(x),0,o,0,null,t)}super(r,D),this._schema=S}static from(e){return Pc(e.values),Ta.from(e)}static new(...e){const[r,S]=Xk(e),D=S.filter(x=>x instanceof ma);return new Wl(...cP(new Na(r),D.map(x=>x.data)))}clone(e,r=this._children){return new Wl(this._schema,e,r)}concat(...e){const r=this._schema,S=js.flatten(this,...e);return new Ta(r,S.map(({data:D})=>new Wl(r,D)))}get schema(){return this._schema}get numCols(){return this._schema.fields.length}get dictionaries(){return this._dictionaries||(this._dictionaries=l_.collect(this))}select(...e){const r=this._schema.fields.reduce((S,D,x)=>S.set(D.name,x),new Map);return this.selectAt(...e.map(S=>r.get(S)).filter(S=>S>-1))}selectAt(...e){const r=this._schema.selectAt(...e),S=e.map(D=>this.data.childData[D]).filter(Boolean);return new Wl(r,this.length,S)}}class Zy extends Wl{constructor(e){super(e,0,e.fields.map(r=>ni.new(r.type,0,0,0)))}}class l_ extends Zi{constructor(){super(...arguments),this.dictionaries=new Map}static collect(e){return new l_().visit(e.data,new Dc(e.schema.fields)).dictionaries}visit(e,r){return Ni.isDictionary(r)?this.visitDictionary(e,r):(e.childData.forEach((S,D)=>this.visit(S,r.children[D].type)),this)}visitDictionary(e,r){const S=e.dictionary;return S&&S.length>0&&this.dictionaries.set(r.id,S),this}}class Oc extends Hd{constructor(e){super(),this._impl=e}get closed(){return this._impl.closed}get schema(){return this._impl.schema}get autoDestroy(){return this._impl.autoDestroy}get dictionaries(){return this._impl.dictionaries}get numDictionaries(){return this._impl.numDictionaries}get numRecordBatches(){return this._impl.numRecordBatches}get footer(){return this._impl.isFile()?this._impl.footer:null}isSync(){return this._impl.isSync()}isAsync(){return this._impl.isAsync()}isFile(){return this._impl.isFile()}isStream(){return this._impl.isStream()}next(){return this._impl.next()}throw(e){return this._impl.throw(e)}return(e){return this._impl.return(e)}cancel(){return this._impl.cancel()}reset(e){return this._impl.reset(e),this._DOMStream=void 0,this._nodeStream=void 0,this}open(e){const r=this._impl.open(e);return zh(r)?r.then(()=>this):this}readRecordBatch(e){return this._impl.isFile()?this._impl.readRecordBatch(e):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return du.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return du.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}static from(e){return e instanceof Oc?e:nx(e)?LD(e):Lk(e)?PD(e):zh(e)?(async()=>await Oc.from(await e))():Ik(e)||T2(e)||Ok(e)||th(e)?OD(new Id(e)):ID(new Kv(e))}static readAll(e){return e instanceof Oc?e.isSync()?Z5(e):X5(e):nx(e)||ArrayBuffer.isView(e)||Pc(e)||Ek(e)?Z5(e):X5(e)}}class Qv extends Oc{constructor(e){super(e),this._impl=e}[Symbol.iterator](){return this._impl[Symbol.iterator]()}async*[Symbol.asyncIterator](){yield*this[Symbol.iterator]()}}class ey extends Oc{constructor(e){super(e),this._impl=e}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class lM extends Qv{constructor(e){super(e),this._impl=e}}class SD extends ey{constructor(e){super(e),this._impl=e}}class uM{constructor(e=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=e}get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(e){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=e,this.dictionaries=new Map,this}_loadRecordBatch(e,r){return new Wl(this.schema,e.length,this._loadVectors(e,r,this.schema.fields))}_loadDictionaryBatch(e,r){const{id:S,isDelta:D,data:x}=e,{dictionaries:o,schema:t}=this,d=o.get(S);if(D||!d){const g=t.dictionaries.get(S);return d&&D?d.concat(ma.new(this._loadVectors(x,r,[g])[0])):ma.new(this._loadVectors(x,r,[g])[0])}return d}_loadVectors(e,r,S){return new v6(r,e.nodes,e.buffers,this.dictionaries).visitMany(S)}}class ty extends uM{constructor(e,r){super(r),this._reader=nx(e)?new oP(this._handle=e):new k6(this._handle=e)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(e){return this.closed||(this.autoDestroy=fM(this,e),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(e):Co}return(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(e):Co}next(){if(this.closed)return Co;let e,{_reader:r}=this;for(;e=this._readNextMessageAndValidate();)if(e.isSchema())this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const S=e.header(),D=r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(S,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const S=e.header(),D=r.readMessageBody(e.bodyLength),x=this._loadDictionaryBatch(S,D);this.dictionaries.set(S.id,x)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new Zy(this.schema)}):this.return()}_readNextMessageAndValidate(e){return this._reader.readMessage(e)}}class ny extends uM{constructor(e,r){super(r),this._reader=new aP(this._handle=e)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}async cancel(){!this.closed&&(this.closed=!0)&&(await this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}async open(e){return this.closed||(this.autoDestroy=fM(this,e),this.schema||(this.schema=await this._reader.readSchema())||await this.cancel()),this}async throw(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?await this.reset()._reader.throw(e):Co}async return(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?await this.reset()._reader.return(e):Co}async next(){if(this.closed)return Co;let e,{_reader:r}=this;for(;e=await this._readNextMessageAndValidate();)if(e.isSchema())await this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const S=e.header(),D=await r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(S,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const S=e.header(),D=await r.readMessageBody(e.bodyLength),x=this._loadDictionaryBatch(S,D);this.dictionaries.set(S.id,x)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new Zy(this.schema)}):await this.return()}async _readNextMessageAndValidate(e){return await this._reader.readMessage(e)}}class cM extends ty{constructor(e,r){super(e instanceof P5?e:new P5(e),r)}get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}isSync(){return!0}isFile(){return!0}open(e){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;for(const r of this._footer.dictionaryBatches())r&&this._readDictionaryBatch(this._dictionaryIndex++)}return super.open(e)}readRecordBatch(e){if(this.closed)return null;this._footer||this.open();const r=this._footer&&this._footer.getRecordBatch(e);if(r&&this._handle.seek(r.offset)){const S=this._reader.readMessage(Ga.RecordBatch);if(S&&S.isRecordBatch()){const D=S.header(),x=this._reader.readMessageBody(S.bodyLength);return this._loadRecordBatch(D,x)}}return null}_readDictionaryBatch(e){const r=this._footer&&this._footer.getDictionaryBatch(e);if(r&&this._handle.seek(r.offset)){const S=this._reader.readMessage(Ga.DictionaryBatch);if(S&&S.isDictionaryBatch()){const D=S.header(),x=this._reader.readMessageBody(S.bodyLength),o=this._loadDictionaryBatch(D,x);this.dictionaries.set(D.id,o)}}}_readFooter(){const{_handle:e}=this,r=e.size-M6,S=e.readInt32(r),D=e.readAt(r-S,S);return Lm.decode(D)}_readNextMessageAndValidate(e){if(this._footer||this.open(),this._footer&&this._recordBatchIndex=4?Y2(e)?new lM(new cM(n.read())):new Qv(new ty(n)):new Qv(new ty(function*(){}()))}async function OD(n){const e=await n.peek(Jm+7&-8);return e&&e.byteLength>=4?Y2(e)?new lM(new cM(await n.read())):new ey(new ny(n)):new ey(new ny(async function*(){}()))}async function PD(n){const{size:e}=await n.stat(),r=new Jv(n,e);return e>=sP&&Y2(await r.readAt(0,Jm+7&-8))?new SD(new CD(r)):new ey(new ny(r))}function DD(n,e){if(th(n))return zD(n,e);if(Pc(n))return RD(n,e);throw new Error("toDOMStream() must be called with an Iterable or AsyncIterable")}function RD(n,e){let r=null;const S=e&&e.type==="bytes"||!1,D=e&&e.highWaterMark||2**24;return new ReadableStream({...e,start(o){x(o,r||(r=n[Symbol.iterator]()))},pull(o){r?x(o,r):o.close()},cancel(){(r&&r.return&&r.return()||!0)&&(r=null)}},{highWaterMark:S?D:void 0,...e});function x(o,t){let d,g=null,i=o.desiredSize||null;for(;!(g=t.next(S?i:null)).done;)if(ArrayBuffer.isView(g.value)&&(d=ra(g.value))&&(i!=null&&S&&(i=i-d.byteLength+1),g.value=d),o.enqueue(g.value),i!=null&&--i<=0)return;o.close()}}function zD(n,e){let r=null;const S=e&&e.type==="bytes"||!1,D=e&&e.highWaterMark||2**24;return new ReadableStream({...e,async start(o){await x(o,r||(r=n[Symbol.asyncIterator]()))},async pull(o){r?await x(o,r):o.close()},async cancel(){(r&&r.return&&await r.return()||!0)&&(r=null)}},{highWaterMark:S?D:void 0,...e});async function x(o,t){let d,g=null,i=o.desiredSize||null;for(;!(g=await t.next(S?i:null)).done;)if(ArrayBuffer.isView(g.value)&&(d=ra(g.value))&&(i!=null&&S&&(i=i-d.byteLength+1),g.value=d),o.enqueue(g.value),i!=null&&--i<=0)return;o.close()}}function FD(n){return new BD(n)}class BD{constructor(e){this._numChunks=0,this._finished=!1,this._bufferedSize=0;const{["readableStrategy"]:r,["writableStrategy"]:S,["queueingStrategy"]:D="count",...x}=e;this._controller=null,this._builder=Eo.new(x),this._getSize=D!=="bytes"?K5:J5;const{["highWaterMark"]:o=D==="bytes"?2**14:1e3}={...r},{["highWaterMark"]:t=D==="bytes"?2**14:1e3}={...S};this.readable=new ReadableStream({cancel:()=>{this._builder.clear()},pull:d=>{this._maybeFlush(this._builder,this._controller=d)},start:d=>{this._maybeFlush(this._builder,this._controller=d)}},{highWaterMark:o,size:D!=="bytes"?K5:J5}),this.writable=new WritableStream({abort:()=>{this._builder.clear()},write:()=>{this._maybeFlush(this._builder,this._controller)},close:()=>{this._maybeFlush(this._builder.finish(),this._controller)}},{highWaterMark:t,size:d=>this._writeValueAndReturnChunkSize(d)})}_writeValueAndReturnChunkSize(e){const r=this._bufferedSize;return this._bufferedSize=this._getSize(this._builder.append(e)),this._bufferedSize-r}_maybeFlush(e,r){r!==null&&(this._bufferedSize>=r.desiredSize&&++this._numChunks&&this._enqueue(r,e.toVector()),e.finished&&((e.length>0||this._numChunks===0)&&++this._numChunks&&this._enqueue(r,e.toVector()),!this._finished&&(this._finished=!0)&&this._enqueue(r,null)))}_enqueue(e,r){this._bufferedSize=0,this._controller=null,r===null?e.close():e.enqueue(r)}}const K5=n=>n.length,J5=n=>n.byteLength;function ND(n,e){const r=new fm;let S=null;const D=new ReadableStream({async cancel(){await r.close()},async start(t){await o(t,S||(S=await x()))},async pull(t){S?await o(t,S):t.close()}});return{writable:new WritableStream(r,{highWaterMark:2**14,...n}),readable:D};async function x(){return await(await Oc.from(r)).open(e)}async function o(t,d){let g=t.desiredSize,i=null;for(;!(i=await d.next()).done;)if(t.enqueue(i.value),g!=null&&--g<=0)return;t.close()}}function VD(n,e){const r=new this(n),S=new Id(r),D=new ReadableStream({type:"bytes",async cancel(){await S.cancel()},async pull(o){await x(o)},async start(o){await x(o)}},{highWaterMark:2**14,...e});return{writable:new WritableStream(r,n),readable:D};async function x(o){let t=null,d=o.desiredSize;for(;t=await S.read(d||null);)if(o.enqueue(t),d!=null&&(d-=t.byteLength)<=0)return;o.close()}}class Rp{eq(e){return e instanceof Rp||(e=new zp(e)),new jD(this,e)}le(e){return e instanceof Rp||(e=new zp(e)),new UD(this,e)}ge(e){return e instanceof Rp||(e=new zp(e)),new HD(this,e)}lt(e){return new Av(this.ge(e))}gt(e){return new Av(this.le(e))}ne(e){return new Av(this.eq(e))}}class zp extends Rp{constructor(e){super(),this.v=e}}class hM extends Rp{constructor(e){super(),this.name=e}bind(e){if(!this.colidx){this.colidx=-1;const S=e.schema.fields;for(let D=-1;++Dr.get(S)}}class u_{and(...e){return new h_(this,...e)}or(...e){return new d_(this,...e)}not(){return new Av(this)}}class c_ extends u_{constructor(e,r){super(),this.left=e,this.right=r}bind(e){return this.left instanceof zp?this.right instanceof zp?this._bindLitLit(e,this.left,this.right):this._bindLitCol(e,this.left,this.right):this.right instanceof zp?this._bindColLit(e,this.left,this.right):this._bindColCol(e,this.left,this.right)}}class f_ extends u_{constructor(...e){super(),this.children=e}}f_.prototype.children=Object.freeze([]);class h_ extends f_{constructor(...e){e=e.reduce((r,S)=>r.concat(S instanceof h_?S.children:S),[]),super(...e)}bind(e){const r=this.children.map(S=>S.bind(e));return(S,D)=>r.every(x=>x(S,D))}}class d_ extends f_{constructor(...e){e=e.reduce((r,S)=>r.concat(S instanceof d_?S.children:S),[]),super(...e)}bind(e){const r=this.children.map(S=>S.bind(e));return(S,D)=>r.some(x=>x(S,D))}}class jD extends c_{_bindLitLit(e,r,S){const D=r.v==S.v;return()=>D}_bindColCol(e,r,S){const D=r.bind(e),x=S.bind(e);return(o,t)=>D(o,t)==x(o,t)}_bindColLit(e,r,S){const D=r.bind(e);if(r.vector instanceof n_){let x;const o=r.vector;return o.dictionary!==this.lastDictionary?(x=o.reverseLookup(S.v),this.lastDictionary=o.dictionary,this.lastKey=x):x=this.lastKey,x===-1?()=>!1:t=>o.getKey(t)===x}else return(x,o)=>D(x,o)==S.v}_bindLitCol(e,r,S){return this._bindColLit(e,S,r)}}class UD extends c_{_bindLitLit(e,r,S){const D=r.v<=S.v;return()=>D}_bindColCol(e,r,S){const D=r.bind(e),x=S.bind(e);return(o,t)=>D(o,t)<=x(o,t)}_bindColLit(e,r,S){const D=r.bind(e);return(x,o)=>D(x,o)<=S.v}_bindLitCol(e,r,S){const D=S.bind(e);return(x,o)=>r.v<=D(x,o)}}class HD extends c_{_bindLitLit(e,r,S){const D=r.v>=S.v;return()=>D}_bindColCol(e,r,S){const D=r.bind(e),x=S.bind(e);return(o,t)=>D(o,t)>=x(o,t)}_bindColLit(e,r,S){const D=r.bind(e);return(x,o)=>D(x,o)>=S.v}_bindLitCol(e,r,S){const D=S.bind(e);return(x,o)=>r.v>=D(x,o)}}class Av extends u_{constructor(e){super(),this.child=e}bind(e){const r=this.child.bind(e);return(S,D)=>!r(S,D)}}Ta.prototype.countBy=function(n){return new tg(this.chunks).countBy(n)};Ta.prototype.scan=function(n,e){return new tg(this.chunks).scan(n,e)};Ta.prototype.scanReverse=function(n,e){return new tg(this.chunks).scanReverse(n,e)};Ta.prototype.filter=function(n){return new tg(this.chunks).filter(n)};class tg extends Ta{filter(e){return new p_(this.chunks,e)}scan(e,r){const S=this.chunks,D=S.length;for(let x=-1;++x=0;){const o=S[x];r&&r(o);for(let t=o.length;--t>=0;)e(t,o)}}countBy(e){const r=this.chunks,S=r.length,D=typeof e=="string"?new hM(e):e;D.bind(r[S-1]);const x=D.vector;if(!Ni.isDictionary(x.type))throw new Error("countBy currently only supports dictionary-encoded columns");const o=Math.ceil(Math.log(x.length)/Math.log(256)),t=o==4?Uint32Array:o>=2?Uint16Array:Uint8Array,d=new t(x.dictionary.length);for(let g=-1;++g=0;){const o=S[x],t=this._predicate.bind(o);let d=!1;for(let g=o.length;--g>=0;)t(g,o)&&(r&&!d&&(r(o),d=!0),e(g,o))}}count(){let e=0;const r=this._chunks,S=r.length;for(let D=-1;++D=2?Uint16Array:Uint8Array,d=new t(x.dictionary.length);for(let g=-1;++g(n*e+63&-64||64)/e,KL=(n,e=0)=>n.length>=e?n.subarray(0,e):Uv(new n.constructor(e),n,0);class Ym{constructor(e,r=1){this.buffer=e,this.stride=r,this.BYTES_PER_ELEMENT=e.BYTES_PER_ELEMENT,this.ArrayType=e.constructor,this._resize(this.length=e.length/r|0)}get byteLength(){return this.length*this.stride*this.BYTES_PER_ELEMENT|0}get reservedLength(){return this.buffer.length/this.stride}get reservedByteLength(){return this.buffer.byteLength}set(e,r){return this}append(e){return this.set(this.length,e)}reserve(e){if(e>0){this.length+=e;const r=this.stride,S=this.length*r,D=this.buffer.length;S>=D&&this._resize(D===0?vb(S*1,this.BYTES_PER_ELEMENT):vb(S*2,this.BYTES_PER_ELEMENT))}return this}flush(e=this.length){e=vb(e*this.stride,this.BYTES_PER_ELEMENT);const r=KL(this.buffer,e);return this.clear(),r}clear(){return this.length=0,this._resize(0),this}_resize(e){return this.buffer=Uv(new this.ArrayType(e),this.buffer)}}Ym.prototype.offset=0;class Zm extends Ym{last(){return this.get(this.length-1)}get(e){return this.buffer[e]}set(e,r){return this.reserve(e-this.length+1),this.buffer[e*this.stride]=r,this}}class Fk extends Zm{constructor(e=new Uint8Array(0)){super(e,1/8),this.numValid=0}get numInvalid(){return this.length-this.numValid}get(e){return this.buffer[e>>3]>>e%8&1}set(e,r){const{buffer:S}=this.reserve(e-this.length+1),D=e>>3,x=e%8,o=S[D]>>x&1;return r?o===0&&(S[D]|=1<this.length&&this.set(e-1,0),super.flush(e+1)}}class Nk extends Ym{get ArrayType64(){return this._ArrayType64||(this._ArrayType64=this.buffer instanceof Int32Array?c0:Gm)}set(e,r){switch(this.reserve(e-this.length+1),typeof r){case"bigint":this.buffer64[e]=r;break;case"number":this.buffer[e*this.stride]=r;break;default:this.buffer.set(r,e*this.stride)}return this}_resize(e){const r=super._resize(e),S=r.byteLength/(this.BYTES_PER_ELEMENT*this.stride);return Fy&&(this.buffer64=new this.ArrayType64(r.buffer,r.byteOffset,S)),r}}let Eo=class{constructor({type:e,nullValues:r}){this.length=0,this.finished=!1,this.type=e,this.children=[],this.nullValues=r,this.stride=zk(e),this._nulls=new Fk,r&&r.length>0&&(this._isValid=ZL(r))}static new(e){}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e){throw new Error('"throughDOM" not available in this environment')}static throughIterable(e){return JL(e)}static throughAsyncIterable(e){return QL(e)}toVector(){return ma.new(this.flush())}get ArrayType(){return this.type.ArrayType}get nullCount(){return this._nulls.numInvalid}get numChildren(){return this.children.length}get byteLength(){let e=0;return this._offsets&&(e+=this._offsets.byteLength),this._values&&(e+=this._values.byteLength),this._nulls&&(e+=this._nulls.byteLength),this._typeIds&&(e+=this._typeIds.byteLength),this.children.reduce((r,S)=>r+S.byteLength,e)}get reservedLength(){return this._nulls.reservedLength}get reservedByteLength(){let e=0;return this._offsets&&(e+=this._offsets.reservedByteLength),this._values&&(e+=this._values.reservedByteLength),this._nulls&&(e+=this._nulls.reservedByteLength),this._typeIds&&(e+=this._typeIds.reservedByteLength),this.children.reduce((r,S)=>r+S.reservedByteLength,e)}get valueOffsets(){return this._offsets?this._offsets.buffer:null}get values(){return this._values?this._values.buffer:null}get nullBitmap(){return this._nulls?this._nulls.buffer:null}get typeIds(){return this._typeIds?this._typeIds.buffer:null}append(e){return this.set(this.length,e)}isValid(e){return this._isValid(e)}set(e,r){return this.setValid(e,this.isValid(r))&&this.setValue(e,r),this}setValue(e,r){this._setValue(this,e,r)}setValid(e,r){return this.length=this._nulls.set(e,+r).length,r}addChild(e,r=`${this.numChildren}`){throw new Error(`Cannot append children to non-nested type "${this.type}"`)}getChildAt(e){return this.children[e]||null}flush(){const e=[],r=this._values,S=this._offsets,D=this._typeIds,{length:x,nullCount:o}=this;D?(e[vi.TYPE]=D.flush(x),S&&(e[vi.OFFSET]=S.flush(x))):S?(r&&(e[vi.DATA]=r.flush(S.last())),e[vi.OFFSET]=S.flush(x)):r&&(e[vi.DATA]=r.flush(x)),o>0&&(e[vi.VALIDITY]=this._nulls.flush(x));const t=ni.new(this.type,0,x,o,e,this.children.map(d=>d.flush()));return this.clear(),t}finish(){return this.finished=!0,this.children.forEach(e=>e.finish()),this}clear(){return this.length=0,this._offsets&&this._offsets.clear(),this._values&&this._values.clear(),this._nulls&&this._nulls.clear(),this._typeIds&&this._typeIds.clear(),this.children.forEach(e=>e.clear()),this}};Eo.prototype.length=1;Eo.prototype.stride=1;Eo.prototype.children=null;Eo.prototype.finished=!1;Eo.prototype.nullValues=null;Eo.prototype._isValid=()=>!0;class Uh extends Eo{constructor(e){super(e),this._values=new Zm(new this.ArrayType(0),this.stride)}setValue(e,r){const S=this._values;return S.reserve(e-S.length+1),super.setValue(e,r)}}class jy extends Eo{constructor(e){super(e),this._pendingLength=0,this._offsets=new Bk}setValue(e,r){const S=this._pending||(this._pending=new Map),D=S.get(e);D&&(this._pendingLength-=D.length),this._pendingLength+=r.length,S.set(e,r)}setValid(e,r){return super.setValid(e,r)?!0:((this._pending||(this._pending=new Map)).set(e,void 0),!1)}clear(){return this._pendingLength=0,this._pending=void 0,super.clear()}flush(){return this._flush(),super.flush()}finish(){return this._flush(),super.finish()}_flush(){const e=this._pending,r=this._pendingLength;return this._pendingLength=0,this._pending=void 0,e&&e.size>0&&this._flushPending(e,r),this}}function JL(n){const{["queueingStrategy"]:e="count"}=n,{["highWaterMark"]:r=e!=="bytes"?1e3:2**14}=n,S=e!=="bytes"?"length":"byteLength";return function*(D){let x=0,o=Eo.new(n);for(const t of D)o.append(t)[S]>=r&&++x&&(yield o.toVector());(o.finish().length>0||x===0)&&(yield o.toVector())}}function QL(n){const{["queueingStrategy"]:e="count"}=n,{["highWaterMark"]:r=e!=="bytes"?1e3:2**14}=n,S=e!=="bytes"?"length":"byteLength";return async function*(D){let x=0,o=Eo.new(n);for await(const t of D)o.append(t)[S]>=r&&++x&&(yield o.toVector());(o.finish().length>0||x===0)&&(yield o.toVector())}}class eI extends Eo{constructor(e){super(e),this._values=new Fk}setValue(e,r){this._values.set(e,+r)}}class tI extends Eo{setValue(e,r){}setValid(e,r){return this.length=Math.max(e+1,this.length),r}}class F2 extends Uh{}class nI extends F2{}class rI extends F2{}class iI extends Uh{}class aI extends Eo{constructor({type:e,nullValues:r,dictionaryHashFunction:S}){super({type:new Fh(e.dictionary,e.indices,e.id,e.isOrdered)}),this._nulls=null,this._dictionaryOffset=0,this._keysToIndices=Object.create(null),this.indices=Eo.new({type:this.type.indices,nullValues:r}),this.dictionary=Eo.new({type:this.type.dictionary,nullValues:null}),typeof S=="function"&&(this.valueToKey=S)}get values(){return this.indices.values}get nullCount(){return this.indices.nullCount}get nullBitmap(){return this.indices.nullBitmap}get byteLength(){return this.indices.byteLength+this.dictionary.byteLength}get reservedLength(){return this.indices.reservedLength+this.dictionary.reservedLength}get reservedByteLength(){return this.indices.reservedByteLength+this.dictionary.reservedByteLength}isValid(e){return this.indices.isValid(e)}setValid(e,r){const S=this.indices;return r=S.setValid(e,r),this.length=S.length,r}setValue(e,r){let S=this._keysToIndices,D=this.valueToKey(r),x=S[D];return x===void 0&&(S[D]=x=this._dictionaryOffset+this.dictionary.append(r).length-1),this.indices.setValue(e,x)}flush(){const e=this.type,r=this._dictionary,S=this.dictionary.toVector(),D=this.indices.flush().clone(e);return D.dictionary=r?r.concat(S):S,this.finished||(this._dictionaryOffset+=S.length),this._dictionary=D.dictionary,this.clear(),D}finish(){return this.indices.finish(),this.dictionary.finish(),this._dictionaryOffset=0,this._keysToIndices=Object.create(null),super.finish()}clear(){return this.indices.clear(),this.dictionary.clear(),super.clear()}valueToKey(e){return typeof e=="string"?e:`${e}`}}class oI extends Uh{}const Vk=new Float64Array(1),bp=new Uint32Array(Vk.buffer);function sI(n){let e=(n&31744)>>10,r=(n&1023)/1024,S=(-1)**((n&32768)>>15);switch(e){case 31:return S*(r?NaN:1/0);case 0:return S*(r?6103515625e-14*r:0)}return S*2**(e-15)*(1+r)}function jk(n){if(n!==n)return 32256;Vk[0]=n;let e=(bp[1]&2147483648)>>16&65535,r=bp[1]&2146435072,S=0;return r>=1089470464?bp[0]>0?r=31744:(r=(r&2080374784)>>16,S=(bp[1]&1048575)>>10):r<=1056964608?(S=1048576+(bp[1]&1048575),S=1048576+(S<<(r>>20)-998)>>21,r=0):(r=r-1056964608>>10,S=(bp[1]&1048575)+512>>10),e|r|S&65535}class Uy extends Uh{}class lI extends Uy{setValue(e,r){this._values.set(e,jk(r))}}class uI extends Uy{setValue(e,r){this._values.set(e,r)}}class cI extends Uy{setValue(e,r){this._values.set(e,r)}}const fI=Symbol.for("isArrowBigNum");function zc(n,...e){return e.length===0?Object.setPrototypeOf(Ia(this.TypedArray,n),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(n,...e),this.constructor.prototype)}zc.prototype[fI]=!0;zc.prototype.toJSON=function(){return`"${Md(this)}"`};zc.prototype.valueOf=function(){return Uk(this)};zc.prototype.toString=function(){return Md(this)};zc.prototype[Symbol.toPrimitive]=function(n="default"){switch(n){case"number":return Uk(this);case"string":return Md(this);case"default":return Zv(this)}return Md(this)};function Op(...n){return zc.apply(this,n)}function Pp(...n){return zc.apply(this,n)}function Em(...n){return zc.apply(this,n)}Object.setPrototypeOf(Op.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(Pp.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Em.prototype,Object.create(Uint32Array.prototype));Object.assign(Op.prototype,zc.prototype,{constructor:Op,signed:!0,TypedArray:Int32Array,BigIntArray:c0});Object.assign(Pp.prototype,zc.prototype,{constructor:Pp,signed:!1,TypedArray:Uint32Array,BigIntArray:Gm});Object.assign(Em.prototype,zc.prototype,{constructor:Em,signed:!0,TypedArray:Uint32Array,BigIntArray:Gm});function Uk(n){let{buffer:e,byteOffset:r,length:S,signed:D}=n,x=new Int32Array(e,r,S),o=0,t=0,d=x.length,v,i;for(;t>>0),o+=(i>>>0)+v*t**32;return o}let Md,Zv;Fy?(Zv=n=>n.byteLength===8?new n.BigIntArray(n.buffer,n.byteOffset,1)[0]:yb(n),Md=n=>n.byteLength===8?`${new n.BigIntArray(n.buffer,n.byteOffset,1)[0]}`:yb(n)):(Md=yb,Zv=Md);function yb(n){let e="",r=new Uint32Array(2),S=new Uint16Array(n.buffer,n.byteOffset,n.byteLength/2),D=new Uint32Array((S=new Uint16Array(S).reverse()).buffer),x=-1,o=S.length-1;do{for(r[0]=S[x=0];xe=>(ArrayBuffer.isView(e)&&(n.buffer=e.buffer,n.byteOffset=e.byteOffset,n.byteLength=e.byteLength,e=Zv(n),n.buffer=null),e))({BigIntArray:c0});class Xm extends Uh{}class xI extends Xm{}class _I extends Xm{}class wI extends Xm{}class TI extends Xm{}class Km extends Uh{}class kI extends Km{}class MI extends Km{}class AI extends Km{}class SI extends Km{}class B2 extends Uh{}class CI extends B2{}class EI extends B2{}class Hk extends jy{constructor(e){super(e),this._values=new Ym(new Uint8Array(0))}get byteLength(){let e=this._pendingLength+this.length*4;return this._offsets&&(e+=this._offsets.byteLength),this._values&&(e+=this._values.byteLength),this._nulls&&(e+=this._nulls.byteLength),e}setValue(e,r){return super.setValue(e,ra(r))}_flushPending(e,r){const S=this._offsets,D=this._values.reserve(r).buffer;let x=0,o=0,t=0,d;for([x,d]of e)d===void 0?S.set(x,0):(o=d.length,D.set(d,t),S.set(x,o),t+=o)}}class N2 extends jy{constructor(e){super(e),this._values=new Ym(new Uint8Array(0))}get byteLength(){let e=this._pendingLength+this.length*4;return this._offsets&&(e+=this._offsets.byteLength),this._values&&(e+=this._values.byteLength),this._nulls&&(e+=this._nulls.byteLength),e}setValue(e,r){return super.setValue(e,zy(r))}_flushPending(e,r){}}N2.prototype._flushPending=Hk.prototype._flushPending;class Gk{get length(){return this._values.length}get(e){return this._values[e]}clear(){return this._values=null,this}bind(e){return e instanceof ma?e:(this._values=e,this)}}const Vs=Symbol.for("parent"),Dp=Symbol.for("rowIndex"),hu=Symbol.for("keyToIdx"),cu=Symbol.for("idxToVal"),ax=Symbol.for("nodejs.util.inspect.custom");let Hf=class{constructor(e,r){this[Vs]=e,this.size=r}entries(){return this[Symbol.iterator]()}has(e){return this.get(e)!==void 0}get(e){let r;if(e!=null){const S=this[hu]||(this[hu]=new Map);let D=S.get(e);if(D!==void 0){const x=this[cu]||(this[cu]=new Array(this.size));(r=x[D])!==void 0||(x[D]=r=this.getValue(D))}else if((D=this.getIndex(e))>-1){S.set(e,D);const x=this[cu]||(this[cu]=new Array(this.size));(r=x[D])!==void 0||(x[D]=r=this.getValue(D))}}return r}set(e,r){if(e!=null){const S=this[hu]||(this[hu]=new Map);let D=S.get(e);if(D===void 0&&S.set(e,D=this.getIndex(e)),D>-1){const x=this[cu]||(this[cu]=new Array(this.size));x[D]=this.setValue(D,r)}}return this}clear(){throw new Error(`Clearing ${this[Symbol.toStringTag]} not supported.`)}delete(e){throw new Error(`Deleting ${this[Symbol.toStringTag]} values not supported.`)}*[Symbol.iterator](){const e=this.keys(),r=this.values(),S=this[hu]||(this[hu]=new Map),D=this[cu]||(this[cu]=new Array(this.size));for(let x,o,t=0,d,v;!((d=e.next()).done||(v=r.next()).done);++t)x=d.value,o=v.value,D[t]=o,S.has(x)||S.set(x,t),yield[x,o]}forEach(e,r){const S=this.keys(),D=this.values(),x=r===void 0?e:(d,v,i)=>e.call(r,d,v,i),o=this[hu]||(this[hu]=new Map),t=this[cu]||(this[cu]=new Array(this.size));for(let d,v,i=0,M,g;!((M=S.next()).done||(g=D.next()).done);++i)d=M.value,v=g.value,t[i]=v,o.has(d)||o.set(d,i),x(v,d,this)}toArray(){return[...this.values()]}toJSON(){const e={};return this.forEach((r,S)=>e[S]=r),e}inspect(){return this.toString()}[ax](){return this.toString()}toString(){const e=[];return this.forEach((r,S)=>{S=cm(S),r=cm(r),e.push(`${S}: ${r}`)}),`{ ${e.join(", ")} }`}};Hf[Symbol.toStringTag]=(n=>(Object.defineProperties(n,{size:{writable:!0,enumerable:!1,configurable:!1,value:0},[Vs]:{writable:!0,enumerable:!1,configurable:!1,value:null},[Dp]:{writable:!0,enumerable:!1,configurable:!1,value:-1}}),n[Symbol.toStringTag]="Row"))(Hf.prototype);class Wk extends Hf{constructor(e){return super(e,e.length),LI(this)}keys(){return this[Vs].getChildAt(0)[Symbol.iterator]()}values(){return this[Vs].getChildAt(1)[Symbol.iterator]()}getKey(e){return this[Vs].getChildAt(0).get(e)}getIndex(e){return this[Vs].getChildAt(0).indexOf(e)}getValue(e){return this[Vs].getChildAt(1).get(e)}setValue(e,r){this[Vs].getChildAt(1).set(e,r)}}class qk extends Hf{constructor(e){return super(e,e.type.children.length),$k(this)}*keys(){for(const e of this[Vs].type.children)yield e.name}*values(){for(const e of this[Vs].type.children)yield this[e.name]}getKey(e){return this[Vs].type.children[e].name}getIndex(e){return this[Vs].type.children.findIndex(r=>r.name===e)}getValue(e){return this[Vs].getChildAt(e).get(this[Dp])}setValue(e,r){return this[Vs].getChildAt(e).set(this[Dp],r)}}Object.setPrototypeOf(Hf.prototype,Map.prototype);const $k=(()=>{const n={enumerable:!0,configurable:!1,get:null,set:null};return e=>{let r=-1,S=e[hu]||(e[hu]=new Map);const D=o=>function(){return this.get(o)},x=o=>function(t){return this.set(o,t)};for(const o of e.keys())S.set(o,++r),n.get=D(o),n.set=x(o),e.hasOwnProperty(o)||(n.enumerable=!0,Object.defineProperty(e,o,n)),e.hasOwnProperty(r)||(n.enumerable=!1,Object.defineProperty(e,r,n));return n.get=n.set=null,e}})(),LI=(()=>{if(typeof Proxy>"u")return $k;const n=Hf.prototype.has,e=Hf.prototype.get,r=Hf.prototype.set,S=Hf.prototype.getKey,D={isExtensible(){return!1},deleteProperty(){return!1},preventExtensions(){return!0},ownKeys(x){return[...x.keys()].map(o=>`${o}`)},has(x,o){switch(o){case"getKey":case"getIndex":case"getValue":case"setValue":case"toArray":case"toJSON":case"inspect":case"constructor":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"toLocaleString":case"valueOf":case"size":case"has":case"get":case"set":case"clear":case"delete":case"keys":case"values":case"entries":case"forEach":case"__proto__":case"__defineGetter__":case"__defineSetter__":case"hasOwnProperty":case"__lookupGetter__":case"__lookupSetter__":case Symbol.iterator:case Symbol.toStringTag:case Vs:case Dp:case cu:case hu:case ax:return!0}return typeof o=="number"&&!x.has(o)&&(o=x.getKey(o)),x.has(o)},get(x,o,t){switch(o){case"getKey":case"getIndex":case"getValue":case"setValue":case"toArray":case"toJSON":case"inspect":case"constructor":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"toLocaleString":case"valueOf":case"size":case"has":case"get":case"set":case"clear":case"delete":case"keys":case"values":case"entries":case"forEach":case"__proto__":case"__defineGetter__":case"__defineSetter__":case"hasOwnProperty":case"__lookupGetter__":case"__lookupSetter__":case Symbol.iterator:case Symbol.toStringTag:case Vs:case Dp:case cu:case hu:case ax:return Reflect.get(x,o,t)}return typeof o=="number"&&!n.call(t,o)&&(o=S.call(t,o)),e.call(t,o)},set(x,o,t,d){switch(o){case Vs:case Dp:case cu:case hu:return Reflect.set(x,o,t,d);case"getKey":case"getIndex":case"getValue":case"setValue":case"toArray":case"toJSON":case"inspect":case"constructor":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"toLocaleString":case"valueOf":case"size":case"has":case"get":case"set":case"clear":case"delete":case"keys":case"values":case"entries":case"forEach":case"__proto__":case"__defineGetter__":case"__defineSetter__":case"hasOwnProperty":case"__lookupGetter__":case"__lookupSetter__":case Symbol.iterator:case Symbol.toStringTag:return!1}return typeof o=="number"&&!n.call(d,o)&&(o=S.call(d,o)),n.call(d,o)?!!r.call(d,o,t):!1}};return x=>new Proxy(x,D)})();let C5;function Yk(n,e,r,S){let{length:D=0}=n,x=typeof e!="number"?0:e,o=typeof r!="number"?D:r;return x<0&&(x=(x%D+D)%D),o<0&&(o=(o%D+D)%D),oD&&(o=D),S?S(n,x,o):[x,o]}const II=Fy?yL(0):0,E5=n=>n!==n;function h0(n){let e=typeof n;if(e!=="object"||n===null)return E5(n)?E5:e!=="bigint"?r=>r===n:r=>II+r===n;if(n instanceof Date){const r=n.valueOf();return S=>S instanceof Date?S.valueOf()===r:!1}return ArrayBuffer.isView(n)?r=>r?EL(n,r):!1:n instanceof Map?PI(n):Array.isArray(n)?OI(n):n instanceof ma?DI(n):RI(n)}function OI(n){const e=[];for(let r=-1,S=n.length;++rr[++e]=h0(S)),Hy(r)}function DI(n){const e=[];for(let r=-1,S=n.length;++r!1;const r=[];for(let S=-1,D=e.length;++S{if(!r||typeof r!="object")return!1;switch(r.constructor){case Array:return zI(n,r);case Map:case Wk:case qk:return L5(n,r,r.keys());case Object:case void 0:return L5(n,r,e||Object.keys(r))}return r instanceof ma?FI(n,r):!1}}function zI(n,e){const r=n.length;if(e.length!==r)return!1;for(let S=-1;++S`}get data(){return this._chunks[0]?this._chunks[0].data:null}get ArrayType(){return this._type.ArrayType}get numChildren(){return this._numChildren}get stride(){return this._chunks[0]?this._chunks[0].stride:1}get byteLength(){return this._chunks.reduce((e,r)=>e+r.byteLength,0)}get nullCount(){let e=this._nullCount;return e<0&&(this._nullCount=e=this._chunks.reduce((r,{nullCount:S})=>r+S,0)),e}get indices(){if(Ni.isDictionary(this._type)){if(!this._indices){const e=this._chunks;this._indices=e.length===1?e[0].indices:js.concat(...e.map(r=>r.indices))}return this._indices}return null}get dictionary(){return Ni.isDictionary(this._type)?this._chunks[this._chunks.length-1].data.dictionary:null}*[Symbol.iterator](){for(const e of this._chunks)yield*e}clone(e=this._chunks){return new js(this._type,e)}concat(...e){return this.clone(js.flatten(this,...e))}slice(e,r){return Yk(this,e,r,this._sliceInternal)}getChildAt(e){if(e<0||e>=this._numChildren)return null;let r=this._children||(this._children=[]),S,D,x;return(S=r[e])?S:(D=(this._type.children||[])[e])&&(x=this._chunks.map(o=>o.getChildAt(e)).filter(o=>o!=null),x.length>0)?r[e]=new js(D.type,x):null}search(e,r){let S=e,D=this._chunkOffsets,x=D.length-1;if(S<0||S>=D[x])return null;if(x<=1)return r?r(this,0,S):[0,S];let o=0,t=0,d=0;do{if(o+1===x)return r?r(this,o,S-t):[o,S-t];d=o+(x-o)/2|0,S>=D[d]?o=d:x=d}while(S=(t=D[o]));return null}isValid(e){return!!this.search(e,this.isValidInternal)}get(e){return this.search(e,this.getInternal)}set(e,r){this.search(e,({chunks:S},D,x)=>S[D].set(x,r))}indexOf(e,r){return r&&typeof r=="number"?this.search(r,(S,D,x)=>this.indexOfInternal(S,D,x,e)):this.indexOfInternal(this,0,Math.max(0,r||0),e)}toArray(){const{chunks:e}=this,r=e.length;let S=this._type.ArrayType;if(r<=0)return new S(0);if(r<=1)return e[0].toArray();let D=0,x=new Array(r);for(let d=-1;++d=S)break;if(r>=M+i)continue;if(M>=r&&M+i<=S){D.push(v);continue}const g=Math.max(0,r-M),p=Math.min(S-M,i);D.push(v.slice(g,p))}return e.clone(D)}}function BI(n){let e=new Uint32Array((n||[]).length+1),r=e[0]=0,S=e.length;for(let D=0;++D(e.set(n,r),r+n.length),VI=(n,e,r)=>{let S=r;for(let D=-1,x=n.length;++Dx>0)&&(e=e.clone({nullable:!0}));return new Tv(e,D)}get field(){return this._field}get name(){return this._field.name}get nullable(){return this._field.nullable}get metadata(){return this._field.metadata}clone(e=this._chunks){return new Tv(this._field,e)}getChildAt(e){if(e<0||e>=this.numChildren)return null;let r=this._children||(this._children=[]),S,D,x;return(S=r[e])?S:(D=(this.type.children||[])[e])&&(x=this._chunks.map(o=>o.getChildAt(e)).filter(o=>o!=null),x.length>0)?r[e]=new Tv(D,x):null}};class I5 extends yd{constructor(e,r,S){super(e,[r],S),this._chunk=r}search(e,r){return r?r(this,0,e):[0,e]}isValid(e){return this._chunk.isValid(e)}get(e){return this._chunk.get(e)}set(e,r){this._chunk.set(e,r)}indexOf(e,r){return this._chunk.indexOf(e,r)}}const bd=Array.isArray,Zk=(n,e)=>V2(n,e,[],0),jI=n=>{const[e,r]=j2(n,[[],[]]);return r.map((S,D)=>S instanceof yd?yd.new(S.field.clone(e[D]),S):S instanceof ma?yd.new(e[D],S):yd.new(e[D],[]))},Xk=n=>j2(n,[[],[]]),UI=(n,e)=>ox(n,e,[],0),HI=(n,e)=>Kk(n,e,[],0);function V2(n,e,r,S){let D,x=S,o=-1,t=e.length;for(;++oD.getChildAt(v)),r,x).length:D instanceof ma&&(r[x++]=D);return r}const GI=(n,[e,r],S)=>(n[0][S]=e,n[1][S]=r,n);function j2(n,e){let r,S;switch(S=n.length){case 0:return e;case 1:if(r=e[0],!n[0])return e;if(bd(n[0]))return j2(n[0],e);n[0]instanceof ni||n[0]instanceof ma||n[0]instanceof Ni||([r,n]=Object.entries(n[0]).reduce(GI,e));break;default:bd(r=n[S-1])?n=bd(n[0])?n[0]:n.slice(0,S-1):(n=bd(n[0])?n[0]:n,r=[])}let D=-1,x=-1,o=-1,t=n.length,d,v,[i,M]=e;for(;++o`${r}: ${e}`).join(", ")} }>`}compareTo(e){return yu.compareSchemas(this,e)}select(...e){const r=e.reduce((S,D)=>(S[D]=!0)&&S,Object.create(null));return new Na(this.fields.filter(S=>r[S.name]),this.metadata)}selectAt(...e){return new Na(e.map(r=>this.fields[r]).filter(Boolean),this.metadata)}assign(...e){const r=e[0]instanceof Na?e[0]:new Na(Zk(ga,e)),S=[...this.fields],D=lv(lv(new Map,this.metadata),r.metadata),x=r.fields.filter(t=>{const d=S.findIndex(v=>v.name===t.name);return~d?(S[d]=t.clone({metadata:lv(lv(new Map,S[d].metadata),t.metadata)}))&&!1:!0}),o=sx(x,new Map);return new Na([...S,...x],D,new Map([...this.dictionaries,...o]))}}class ga{constructor(e,r,S=!1,D){this.name=e,this.type=r,this.nullable=S,this.metadata=D||new Map}static new(...e){let[r,S,D,x]=e;return e[0]&&typeof e[0]=="object"&&({name:r}=e[0],S===void 0&&(S=e[0].type),D===void 0&&(D=e[0].nullable),x===void 0&&(x=e[0].metadata)),new ga(`${r}`,S,D,x)}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}compareTo(e){return yu.compareField(this,e)}clone(...e){let[r,S,D,x]=e;return!e[0]||typeof e[0]!="object"?[r=this.name,S=this.type,D=this.nullable,x=this.metadata]=e:{name:r=this.name,type:S=this.type,nullable:D=this.nullable,metadata:x=this.metadata}=e[0],ga.new(r,S,D,x)}}function lv(n,e){return new Map([...n||new Map,...e||new Map])}function sx(n,e=new Map){for(let r=-1,S=n.length;++r0&&sx(x.children,e)}return e}Na.prototype.fields=null;Na.prototype.metadata=null;Na.prototype.dictionaries=null;ga.prototype.type=null;ga.prototype.name=null;ga.prototype.nullable=null;ga.prototype.metadata=null;class WI extends jy{constructor(e){super(e),this._run=new Gk,this._offsets=new Bk}addChild(e,r="0"){if(this.numChildren>0)throw new Error("ListBuilder can only have one child.");return this.children[this.numChildren]=e,this.type=new Zp(new ga(r,e.type,!0)),this.numChildren-1}clear(){return this._run.clear(),super.clear()}_flushPending(e){const r=this._run,S=this._offsets,D=this._setValue;let x=0,o;for([x,o]of e)o===void 0?S.set(x,0):(S.set(x,o.length),D(this,x,r.bind(o)))}}class qI extends Eo{constructor(){super(...arguments),this._run=new Gk}setValue(e,r){super.setValue(e,this._run.bind(r))}addChild(e,r="0"){if(this.numChildren>0)throw new Error("FixedSizeListBuilder can only have one child.");const S=this.children.push(e);return this.type=new Sm(this.type.listSize,new ga(r,e.type,!0)),S}clear(){return this._run.clear(),super.clear()}}class $I extends jy{set(e,r){return super.set(e,r)}setValue(e,r){r=r instanceof Map?r:new Map(Object.entries(r));const S=this._pending||(this._pending=new Map),D=S.get(e);D&&(this._pendingLength-=D.size),this._pendingLength+=r.size,S.set(e,r)}addChild(e,r=`${this.numChildren}`){if(this.numChildren>0)throw new Error("ListBuilder can only have one child.");return this.children[this.numChildren]=e,this.type=new Cm(new ga(r,e.type,!0),this.type.keysSorted),this.numChildren-1}_flushPending(e){const r=this._offsets,S=this._setValue;e.forEach((D,x)=>{D===void 0?r.set(x,0):(r.set(x,D.size),S(this,x,D))})}}class YI extends Eo{addChild(e,r=`${this.numChildren}`){const S=this.children.push(e);return this.type=new Dc([...this.type.children,new ga(r,e.type,!0)]),S}}class U2 extends Eo{constructor(e){super(e),this._typeIds=new Zm(new Int8Array(0),1),typeof e.valueToChildTypeId=="function"&&(this._valueToChildTypeId=e.valueToChildTypeId)}get typeIdToChildIndex(){return this.type.typeIdToChildIndex}append(e,r){return this.set(this.length,e,r)}set(e,r,S){return S===void 0&&(S=this._valueToChildTypeId(this,r,e)),this.setValid(e,this.isValid(r))&&this.setValue(e,r,S),this}setValue(e,r,S){this._typeIds.set(e,S),super.setValue(e,r)}addChild(e,r=`${this.children.length}`){const S=this.children.push(e),{type:{children:D,mode:x,typeIds:o}}=this,t=[...D,new ga(r,e.type)];return this.type=new Am(x,[...o,S],t),S}_valueToChildTypeId(e,r,S){throw new Error("Cannot map UnionBuilder value to child typeId. Pass the `childTypeId` as the second argument to unionBuilder.append(), or supply a `valueToChildTypeId` function as part of the UnionBuilder constructor options.")}}class ZI extends U2{}class XI extends U2{constructor(e){super(e),this._offsets=new Zm(new Int32Array(0))}setValue(e,r,S){const D=this.type.typeIdToChildIndex[S];return this._offsets.set(e,this.getChildAt(D).length),super.setValue(e,r,S)}}class Oi extends Zi{}const KI=(n,e,r)=>{n[e]=r/864e5|0},H2=(n,e,r)=>{n[e]=r%4294967296|0,n[e+1]=r/4294967296|0},JI=(n,e,r)=>{n[e]=r*1e3%4294967296|0,n[e+1]=r*1e3/4294967296|0},QI=(n,e,r)=>{n[e]=r*1e6%4294967296|0,n[e+1]=r*1e6/4294967296|0},Jk=(n,e,r,S)=>{const{[r]:D,[r+1]:x}=e;D!=null&&x!=null&&n.set(S.subarray(0,x-D),D)},eO=({offset:n,values:e},r,S)=>{const D=n+r;S?e[D>>3]|=1<>3]&=~(1<{KI(n,e,r.valueOf())},e6=({values:n},e,r)=>{H2(n,e*2,r.valueOf())},yf=({stride:n,values:e},r,S)=>{e[n*r]=S},t6=({stride:n,values:e},r,S)=>{e[n*r]=jk(S)},G2=(n,e,r)=>{switch(typeof r){case"bigint":n.values64[e]=r;break;case"number":n.values[e*n.stride]=r;break;default:const S=r,{stride:D,ArrayType:x}=n,o=Ia(x,S);n.values.set(o.subarray(0,D),D*e)}},tO=({stride:n,values:e},r,S)=>{e.set(S.subarray(0,n),n*r)},nO=({values:n,valueOffsets:e},r,S)=>Jk(n,e,r,S),rO=({values:n,valueOffsets:e},r,S)=>{Jk(n,e,r,zy(S))},iO=(n,e,r)=>{n.type.bitWidth<64?yf(n,e,r):G2(n,e,r)},aO=(n,e,r)=>{n.type.precision!==Yu.HALF?yf(n,e,r):t6(n,e,r)},oO=(n,e,r)=>{n.type.unit===pf.DAY?Qk(n,e,r):e6(n,e,r)},n6=({values:n},e,r)=>H2(n,e*2,r/1e3),r6=({values:n},e,r)=>H2(n,e*2,r),i6=({values:n},e,r)=>JI(n,e*2,r),a6=({values:n},e,r)=>QI(n,e*2,r),sO=(n,e,r)=>{switch(n.type.unit){case Ba.SECOND:return n6(n,e,r);case Ba.MILLISECOND:return r6(n,e,r);case Ba.MICROSECOND:return i6(n,e,r);case Ba.NANOSECOND:return a6(n,e,r)}},o6=({values:n,stride:e},r,S)=>{n[e*r]=S},s6=({values:n,stride:e},r,S)=>{n[e*r]=S},l6=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},u6=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},lO=(n,e,r)=>{switch(n.type.unit){case Ba.SECOND:return o6(n,e,r);case Ba.MILLISECOND:return s6(n,e,r);case Ba.MICROSECOND:return l6(n,e,r);case Ba.NANOSECOND:return u6(n,e,r)}},uO=({values:n},e,r)=>{n.set(r.subarray(0,4),4*e)},cO=(n,e,r)=>{const S=n.getChildAt(0),D=n.valueOffsets;for(let x=-1,o=D[e],t=D[e+1];o{const S=n.getChildAt(0),D=n.valueOffsets,x=r instanceof Map?[...r]:Object.entries(r);for(let o=-1,t=D[e],d=D[e+1];t(r,S,D)=>r&&r.set(n,e[D]),dO=(n,e)=>(r,S,D)=>r&&r.set(n,e.get(D)),pO=(n,e)=>(r,S,D)=>r&&r.set(n,e.get(S.name)),mO=(n,e)=>(r,S,D)=>r&&r.set(n,e[S.name]),gO=(n,e,r)=>{const S=r instanceof Map?pO(e,r):r instanceof ma?dO(e,r):Array.isArray(r)?hO(e,r):mO(e,r);n.type.children.forEach((D,x)=>S(n.getChildAt(x),D,x))},vO=(n,e,r)=>{n.type.mode===Yf.Dense?c6(n,e,r):f6(n,e,r)},c6=(n,e,r)=>{const S=n.typeIdToChildIndex[n.typeIds[e]],D=n.getChildAt(S);D&&D.set(n.valueOffsets[e],r)},f6=(n,e,r)=>{const S=n.typeIdToChildIndex[n.typeIds[e]],D=n.getChildAt(S);D&&D.set(e,r)},yO=(n,e,r)=>{const S=n.getKey(e);S!==null&&n.setValue(S,r)},bO=(n,e,r)=>{n.type.unit===Hp.DAY_TIME?h6(n,e,r):d6(n,e,r)},h6=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},d6=({values:n},e,r)=>{n[e]=r[0]*12+r[1]%12},xO=(n,e,r)=>{const S=n.getChildAt(0),{stride:D}=n;for(let x=-1,o=e*D;++x0){const S=n.children||[],D={nullValues:n.nullValues},x=Array.isArray(S)?(o,t)=>S[t]||D:({name:o})=>S[o]||D;e.children.forEach((o,t)=>{const{type:d}=o,v=x(o,t);r.children.push(m6({...v,type:d}))})}return r}Object.keys(qn).map(n=>qn[n]).filter(n=>typeof n=="number"&&n!==qn.NONE).forEach(n=>{const e=p6.visit(n);e.prototype._setValue=Gy.getVisitFn(n)});N2.prototype._setValue=Gy.visitBinary;var Xp;(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}static getRootAsFooter(o,t){return(t||new D).__init(o.readInt32(o.position())+o.position(),o)}version(){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.readInt16(this.bb_pos+o):kr.apache.arrow.flatbuf.MetadataVersion.V1}schema(o){let t=this.bb.__offset(this.bb_pos,6);return t?(o||new kr.apache.arrow.flatbuf.Schema).__init(this.bb.__indirect(this.bb_pos+t),this.bb):null}dictionaries(o,t){let d=this.bb.__offset(this.bb_pos,8);return d?(t||new n.apache.arrow.flatbuf.Block).__init(this.bb.__vector(this.bb_pos+d)+o*24,this.bb):null}dictionariesLength(){let o=this.bb.__offset(this.bb_pos,8);return o?this.bb.__vector_len(this.bb_pos+o):0}recordBatches(o,t){let d=this.bb.__offset(this.bb_pos,10);return d?(t||new n.apache.arrow.flatbuf.Block).__init(this.bb.__vector(this.bb_pos+d)+o*24,this.bb):null}recordBatchesLength(){let o=this.bb.__offset(this.bb_pos,10);return o?this.bb.__vector_len(this.bb_pos+o):0}static startFooter(o){o.startObject(4)}static addVersion(o,t){o.addFieldInt16(0,t,kr.apache.arrow.flatbuf.MetadataVersion.V1)}static addSchema(o,t){o.addFieldOffset(1,t,0)}static addDictionaries(o,t){o.addFieldOffset(2,t,0)}static startDictionariesVector(o,t){o.startVector(24,t,8)}static addRecordBatches(o,t){o.addFieldOffset(3,t,0)}static startRecordBatchesVector(o,t){o.startVector(24,t,8)}static endFooter(o){return o.endObject()}static finishFooterBuffer(o,t){o.finish(t)}static createFooter(o,t,d,v,i){return D.startFooter(o),D.addVersion(o,t),D.addSchema(o,d),D.addDictionaries(o,v),D.addRecordBatches(o,i),D.endFooter(o)}}S.Footer=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Xp||(Xp={}));(function(n){(function(e){(function(r){(function(S){class D{constructor(){this.bb=null,this.bb_pos=0}__init(o,t){return this.bb_pos=o,this.bb=t,this}offset(){return this.bb.readInt64(this.bb_pos)}metaDataLength(){return this.bb.readInt32(this.bb_pos+8)}bodyLength(){return this.bb.readInt64(this.bb_pos+16)}static createBlock(o,t,d,v){return o.prep(8,24),o.writeInt64(v),o.pad(4),o.writeInt32(d),o.writeInt64(t),o.offset()}}S.Block=D})(r.flatbuf||(r.flatbuf={}))})(e.arrow||(e.arrow={}))})(n.apache||(n.apache={}))})(Xp||(Xp={}));var O5=lr.Long,wO=lr.Builder,TO=lr.ByteBuffer,kO=Xp.apache.arrow.flatbuf.Block,rf=Xp.apache.arrow.flatbuf.Footer;class Lm{constructor(e,r=Mc.V4,S,D){this.schema=e,this.version=r,S&&(this._recordBatches=S),D&&(this._dictionaryBatches=D)}static decode(e){e=new TO(ra(e));const r=rf.getRootAsFooter(e),S=Na.decode(r.schema());return new MO(S,r)}static encode(e){const r=new wO,S=Na.encode(r,e.schema);rf.startRecordBatchesVector(r,e.numRecordBatches),[...e.recordBatches()].slice().reverse().forEach(o=>Bh.encode(r,o));const D=r.endVector();rf.startDictionariesVector(r,e.numDictionaries),[...e.dictionaryBatches()].slice().reverse().forEach(o=>Bh.encode(r,o));const x=r.endVector();return rf.startFooter(r),rf.addSchema(r,S),rf.addVersion(r,Mc.V4),rf.addRecordBatches(r,D),rf.addDictionaries(r,x),rf.finishFooterBuffer(r,rf.endFooter(r)),r.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}*recordBatches(){for(let e,r=-1,S=this.numRecordBatches;++r=0&&e=0&&e=0&&e=0&&e0)return super.write(e)}toString(e=!1){return e?tx(this.toUint8Array(!0)):this.toUint8Array(!1).then(tx)}toUint8Array(e=!1){return e?df(this._values)[0]:(async()=>{let r=[],S=0;for await(const D of this)r.push(D),S+=D.byteLength;return df(r,S)[0]})()}}class Kv{constructor(e){e&&(this.source=new AO(du.fromIterable(e)))}[Symbol.iterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class Id{constructor(e){e instanceof Id?this.source=e.source:e instanceof fm?this.source=new cd(du.fromAsyncIterable(e)):Ok(e)?this.source=new cd(du.fromNodeStream(e)):T2(e)?this.source=new cd(du.fromDOMStream(e)):Ik(e)?this.source=new cd(du.fromDOMStream(e.body)):Pc(e)?this.source=new cd(du.fromIterable(e)):zh(e)?this.source=new cd(du.fromAsyncIterable(e)):th(e)&&(this.source=new cd(du.fromAsyncIterable(e)))}[Symbol.asyncIterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}get closed(){return this.source.closed}cancel(e){return this.source.cancel(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class AO{constructor(e){this.source=e}cancel(e){this.return(e)}peek(e){return this.next(e,"peek").value}read(e){return this.next(e,"read").value}next(e,r="read"){return this.source.next({cmd:r,size:e})}throw(e){return Object.create(this.source.throw&&this.source.throw(e)||Co)}return(e){return Object.create(this.source.return&&this.source.return(e)||Co)}}class cd{constructor(e){this.source=e,this._closedPromise=new Promise(r=>this._closedPromiseResolve=r)}async cancel(e){await this.return(e)}get closed(){return this._closedPromise}async read(e){return(await this.next(e,"read")).value}async peek(e){return(await this.next(e,"peek")).value}async next(e,r="read"){return await this.source.next({cmd:r,size:e})}async throw(e){const r=this.source.throw&&await this.source.throw(e)||Co;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)}async return(e){const r=this.source.return&&await this.source.return(e)||Co;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)}}class P5 extends Kv{constructor(e,r){super(),this.position=0,this.buffer=ra(e),this.size=typeof r>"u"?this.buffer.byteLength:r}readInt32(e){const{buffer:r,byteOffset:S}=this.readAt(e,4);return new DataView(r,S).getInt32(0,!0)}seek(e){return this.position=Math.min(e,this.size),e{this.size=(await e.stat()).size,delete this._pending})()}async readInt32(e){const{buffer:r,byteOffset:S}=await this.readAt(e,4);return new DataView(r,S).getInt32(0,!0)}async seek(e){return this._pending&&await this._pending,this.position=Math.min(e,this.size),e>>16,this.buffer[1]&65535,this.buffer[0]>>>16,this.buffer[0]&65535]),S=new Uint32Array([e.buffer[1]>>>16,e.buffer[1]&65535,e.buffer[0]>>>16,e.buffer[0]&65535]);let D=r[3]*S[3];this.buffer[0]=D&65535;let x=D>>>16;return D=r[2]*S[3],x+=D,D=r[3]*S[2]>>>0,x+=D,this.buffer[0]+=x<<16,this.buffer[1]=x>>>0>>16,this.buffer[1]+=r[1]*S[3]+r[2]*S[2]+r[3]*S[1],this.buffer[1]+=r[0]*S[3]+r[1]*S[2]+r[2]*S[1]+r[3]*S[0]<<16,this}_plus(e){const r=this.buffer[0]+e.buffer[0]>>>0;this.buffer[1]+=e.buffer[1],r>>0&&++this.buffer[1],this.buffer[0]=r}lessThan(e){return this.buffer[1]>>0,r[2]=this.buffer[2]+e.buffer[2]>>>0,r[1]=this.buffer[1]+e.buffer[1]>>>0,r[0]=this.buffer[0]+e.buffer[0]>>>0,r[0]>>0&&++r[1],r[1]>>0&&++r[2],r[2]>>0&&++r[3],this.buffer[3]=r[3],this.buffer[2]=r[2],this.buffer[1]=r[1],this.buffer[0]=r[0],this}hex(){return`${Sp(this.buffer[3])} ${Sp(this.buffer[2])} ${Sp(this.buffer[1])} ${Sp(this.buffer[0])}`}static multiply(e,r){return new af(new Uint32Array(e.buffer)).times(r)}static add(e,r){return new af(new Uint32Array(e.buffer)).plus(r)}static from(e,r=new Uint32Array(4)){return af.fromString(typeof e=="string"?e:e.toString(),r)}static fromNumber(e,r=new Uint32Array(4)){return af.fromString(e.toString(),r)}static fromString(e,r=new Uint32Array(4)){const S=e.startsWith("-"),D=e.length;let x=new af(r);for(let o=S?1:0;o0&&this.readData(e,S)||new Uint8Array(0)}readOffsets(e,r){return this.readData(e,r)}readTypeIds(e,r){return this.readData(e,r)}readData(e,{length:r,offset:S}=this.nextBufferRange()){return this.bytes.subarray(S,S+r)}readDictionary(e){return this.dictionaries.get(e.id)}}class CO extends v6{constructor(e,r,S,D){super(new Uint8Array(0),r,S,D),this.sources=e}readNullBitmap(e,r,{offset:S}=this.nextBufferRange()){return r<=0?new Uint8Array(0):Hv(this.sources[S])}readOffsets(e,{offset:r}=this.nextBufferRange()){return Ia(Uint8Array,Ia(Int32Array,this.sources[r]))}readTypeIds(e,{offset:r}=this.nextBufferRange()){return Ia(Uint8Array,Ia(e.ArrayType,this.sources[r]))}readData(e,{offset:r}=this.nextBufferRange()){const{sources:S}=this;return Ni.isTimestamp(e)||(Ni.isInt(e)||Ni.isTime(e))&&e.bitWidth===64||Ni.isDate(e)&&e.unit===pf.MILLISECOND?Ia(Uint8Array,Hl.convertArray(S[r])):Ni.isDecimal(e)?Ia(Uint8Array,af.convertArray(S[r])):Ni.isBinary(e)||Ni.isFixedSizeBinary(e)?EO(S[r]):Ni.isBool(e)?Hv(S[r]):Ni.isUtf8(e)?zy(S[r].join("")):Ia(Uint8Array,Ia(e.ArrayType,S[r].map(D=>+D)))}}function EO(n){const e=n.join(""),r=new Uint8Array(e.length/2);for(let S=0;S>1]=parseInt(e.substr(S,2),16);return r}var LO=lr.Long,D5=kr.apache.arrow.flatbuf.Null,uv=kr.apache.arrow.flatbuf.Int,bb=kr.apache.arrow.flatbuf.FloatingPoint,R5=kr.apache.arrow.flatbuf.Binary,z5=kr.apache.arrow.flatbuf.Bool,F5=kr.apache.arrow.flatbuf.Utf8,cv=kr.apache.arrow.flatbuf.Decimal,xb=kr.apache.arrow.flatbuf.Date,fv=kr.apache.arrow.flatbuf.Time,hv=kr.apache.arrow.flatbuf.Timestamp,_b=kr.apache.arrow.flatbuf.Interval,B5=kr.apache.arrow.flatbuf.List,N5=kr.apache.arrow.flatbuf.Struct_,xp=kr.apache.arrow.flatbuf.Union,J0=kr.apache.arrow.flatbuf.DictionaryEncoding,wb=kr.apache.arrow.flatbuf.FixedSizeBinary,Tb=kr.apache.arrow.flatbuf.FixedSizeList,kb=kr.apache.arrow.flatbuf.Map;class IO extends Zi{visit(e,r){return e==null||r==null?void 0:super.visit(e,r)}visitNull(e,r){return D5.startNull(r),D5.endNull(r)}visitInt(e,r){return uv.startInt(r),uv.addBitWidth(r,e.bitWidth),uv.addIsSigned(r,e.isSigned),uv.endInt(r)}visitFloat(e,r){return bb.startFloatingPoint(r),bb.addPrecision(r,e.precision),bb.endFloatingPoint(r)}visitBinary(e,r){return R5.startBinary(r),R5.endBinary(r)}visitBool(e,r){return z5.startBool(r),z5.endBool(r)}visitUtf8(e,r){return F5.startUtf8(r),F5.endUtf8(r)}visitDecimal(e,r){return cv.startDecimal(r),cv.addScale(r,e.scale),cv.addPrecision(r,e.precision),cv.endDecimal(r)}visitDate(e,r){return xb.startDate(r),xb.addUnit(r,e.unit),xb.endDate(r)}visitTime(e,r){return fv.startTime(r),fv.addUnit(r,e.unit),fv.addBitWidth(r,e.bitWidth),fv.endTime(r)}visitTimestamp(e,r){const S=e.timezone&&r.createString(e.timezone)||void 0;return hv.startTimestamp(r),hv.addUnit(r,e.unit),S!==void 0&&hv.addTimezone(r,S),hv.endTimestamp(r)}visitInterval(e,r){return _b.startInterval(r),_b.addUnit(r,e.unit),_b.endInterval(r)}visitList(e,r){return B5.startList(r),B5.endList(r)}visitStruct(e,r){return N5.startStruct_(r),N5.endStruct_(r)}visitUnion(e,r){xp.startTypeIdsVector(r,e.typeIds.length);const S=xp.createTypeIdsVector(r,e.typeIds);return xp.startUnion(r),xp.addMode(r,e.mode),xp.addTypeIds(r,S),xp.endUnion(r)}visitDictionary(e,r){const S=this.visit(e.indices,r);return J0.startDictionaryEncoding(r),J0.addId(r,new LO(e.id,0)),J0.addIsOrdered(r,e.isOrdered),S!==void 0&&J0.addIndexType(r,S),J0.endDictionaryEncoding(r)}visitFixedSizeBinary(e,r){return wb.startFixedSizeBinary(r),wb.addByteWidth(r,e.byteWidth),wb.endFixedSizeBinary(r)}visitFixedSizeList(e,r){return Tb.startFixedSizeList(r),Tb.addListSize(r,e.listSize),Tb.endFixedSizeList(r)}visitMap(e,r){return kb.startMap(r),kb.addKeysSorted(r,e.keysSorted),kb.endMap(r)}}const Mb=new IO;function OO(n,e=new Map){return new Na(DO(n,e),kv(n.customMetadata),e)}function y6(n){return new _u(n.count,b6(n.columns),x6(n.columns))}function PO(n){return new mf(y6(n.data),n.id,n.isDelta)}function DO(n,e){return(n.fields||[]).filter(Boolean).map(r=>ga.fromJSON(r,e))}function V5(n,e){return(n.children||[]).filter(Boolean).map(r=>ga.fromJSON(r,e))}function b6(n){return(n||[]).reduce((e,r)=>[...e,new Gd(r.count,RO(r.VALIDITY)),...b6(r.children)],[])}function x6(n,e=[]){for(let r=-1,S=(n||[]).length;++re+ +(r===0),0)}function zO(n,e){let r,S,D,x,o,t;return!e||!(x=n.dictionary)?(o=U5(n,V5(n,e)),D=new ga(n.name,o,n.nullable,kv(n.customMetadata))):e.has(r=x.id)?(S=(S=x.indexType)?j5(S):new Ed,t=new Fh(e.get(r),S,r,x.isOrdered),D=new ga(n.name,t,n.nullable,kv(n.customMetadata))):(S=(S=x.indexType)?j5(S):new Ed,e.set(r,o=U5(n,V5(n,e))),t=new Fh(o,S,r,x.isOrdered),D=new ga(n.name,t,n.nullable,kv(n.customMetadata))),D||null}function kv(n){return new Map(Object.entries(n||{}))}function j5(n){return new $l(n.isSigned,n.bitWidth)}function U5(n,e){const r=n.type.name;switch(r){case"NONE":return new Gp;case"null":return new Gp;case"binary":return new km;case"utf8":return new $p;case"bool":return new Mm;case"list":return new Zp((e||[])[0]);case"struct":return new Dc(e||[]);case"struct_":return new Dc(e||[])}switch(r){case"int":{const S=n.type;return new $l(S.isSigned,S.bitWidth)}case"floatingpoint":{const S=n.type;return new Ld(Yu[S.precision])}case"decimal":{const S=n.type;return new Gv(S.scale,S.precision)}case"date":{const S=n.type;return new Yp(pf[S.unit])}case"time":{const S=n.type;return new Wv(Ba[S.unit],S.bitWidth)}case"timestamp":{const S=n.type;return new qv(Ba[S.unit],S.timezone)}case"interval":{const S=n.type;return new $v(Hp[S.unit])}case"union":{const S=n.type;return new Am(Yf[S.mode],S.typeIds||[],e||[])}case"fixedsizebinary":{const S=n.type;return new Yv(S.byteWidth)}case"fixedsizelist":{const S=n.type;return new Sm(S.listSize,(e||[])[0])}case"map":{const S=n.type;return new Cm((e||[])[0],S.keysSorted)}}throw new Error(`Unrecognized type: "${r}"`)}var Od=lr.Long,FO=lr.Builder,BO=lr.ByteBuffer,ds=kr.apache.arrow.flatbuf.Type,wc=kr.apache.arrow.flatbuf.Field,Bf=kr.apache.arrow.flatbuf.Schema,NO=kr.apache.arrow.flatbuf.Buffer,Th=Hs.apache.arrow.flatbuf.Message,Ch=kr.apache.arrow.flatbuf.KeyValue,VO=Hs.apache.arrow.flatbuf.FieldNode,H5=kr.apache.arrow.flatbuf.Endianness,Ah=Hs.apache.arrow.flatbuf.RecordBatch,Ap=Hs.apache.arrow.flatbuf.DictionaryBatch;class kl{constructor(e,r,S,D){this._version=r,this._headerType=S,this.body=new Uint8Array(0),D&&(this._createHeader=()=>D),this._bodyLength=typeof e=="number"?e:e.low}static fromJSON(e,r){const S=new kl(0,Mc.V4,r);return S._createHeader=jO(e,r),S}static decode(e){e=new BO(ra(e));const r=Th.getRootAsMessage(e),S=r.bodyLength(),D=r.version(),x=r.headerType(),o=new kl(S,D,x);return o._createHeader=UO(r,x),o}static encode(e){let r=new FO,S=-1;return e.isSchema()?S=Na.encode(r,e.header()):e.isRecordBatch()?S=_u.encode(r,e.header()):e.isDictionaryBatch()&&(S=mf.encode(r,e.header())),Th.startMessage(r),Th.addVersion(r,Mc.V4),Th.addHeader(r,S),Th.addHeaderType(r,e.headerType),Th.addBodyLength(r,new Od(e.bodyLength,0)),Th.finishMessageBuffer(r,Th.endMessage(r)),r.asUint8Array()}static from(e,r=0){if(e instanceof Na)return new kl(0,Mc.V4,Ga.Schema,e);if(e instanceof _u)return new kl(r,Mc.V4,Ga.RecordBatch,e);if(e instanceof mf)return new kl(r,Mc.V4,Ga.DictionaryBatch,e);throw new Error(`Unrecognized Message header: ${e}`)}get type(){return this.headerType}get version(){return this._version}get headerType(){return this._headerType}get bodyLength(){return this._bodyLength}header(){return this._createHeader()}isSchema(){return this.headerType===Ga.Schema}isRecordBatch(){return this.headerType===Ga.RecordBatch}isDictionaryBatch(){return this.headerType===Ga.DictionaryBatch}}let _u=class{get nodes(){return this._nodes}get length(){return this._length}get buffers(){return this._buffers}constructor(e,r,S){this._nodes=r,this._buffers=S,this._length=typeof e=="number"?e:e.low}};class mf{get id(){return this._id}get data(){return this._data}get isDelta(){return this._isDelta}get length(){return this.data.length}get nodes(){return this.data.nodes}get buffers(){return this.data.buffers}constructor(e,r,S=!1){this._data=e,this._isDelta=S,this._id=typeof r=="number"?r:r.low}}class uf{constructor(e,r){this.offset=typeof e=="number"?e:e.low,this.length=typeof r=="number"?r:r.low}}class Gd{constructor(e,r){this.length=typeof e=="number"?e:e.low,this.nullCount=typeof r=="number"?r:r.low}}function jO(n,e){return()=>{switch(e){case Ga.Schema:return Na.fromJSON(n);case Ga.RecordBatch:return _u.fromJSON(n);case Ga.DictionaryBatch:return mf.fromJSON(n)}throw new Error(`Unrecognized Message type: { name: ${Ga[e]}, type: ${e} }`)}}function UO(n,e){return()=>{switch(e){case Ga.Schema:return Na.decode(n.header(new Bf));case Ga.RecordBatch:return _u.decode(n.header(new Ah),n.version());case Ga.DictionaryBatch:return mf.decode(n.header(new Ap),n.version())}throw new Error(`Unrecognized Message type: { name: ${Ga[e]}, type: ${e} }`)}}ga.encode=QO;ga.decode=KO;ga.fromJSON=zO;Na.encode=JO;Na.decode=HO;Na.fromJSON=OO;_u.encode=eP;_u.decode=GO;_u.fromJSON=y6;mf.encode=tP;mf.decode=WO;mf.fromJSON=PO;Gd.encode=nP;Gd.decode=$O;uf.encode=rP;uf.decode=qO;function HO(n,e=new Map){const r=XO(n,e);return new Na(r,Mv(n),e)}function GO(n,e=Mc.V4){return new _u(n.length(),YO(n),ZO(n,e))}function WO(n,e=Mc.V4){return new mf(_u.decode(n.data(),e),n.id(),n.isDelta())}function qO(n){return new uf(n.offset(),n.length())}function $O(n){return new Gd(n.length(),n.nullCount())}function YO(n){const e=[];for(let r,S=-1,D=-1,x=n.nodesLength();++Sga.encode(n,x));Bf.startFieldsVector(n,r.length);const S=Bf.createFieldsVector(n,r),D=e.metadata&&e.metadata.size>0?Bf.createCustomMetadataVector(n,[...e.metadata].map(([x,o])=>{const t=n.createString(`${x}`),d=n.createString(`${o}`);return Ch.startKeyValue(n),Ch.addKey(n,t),Ch.addValue(n,d),Ch.endKeyValue(n)})):-1;return Bf.startSchema(n),Bf.addFields(n,S),Bf.addEndianness(n,iP?H5.Little:H5.Big),D!==-1&&Bf.addCustomMetadata(n,D),Bf.endSchema(n)}function QO(n,e){let r=-1,S=-1,D=-1,x=e.type,o=e.typeId;Ni.isDictionary(x)?(o=x.dictionary.typeId,D=Mb.visit(x,n),S=Mb.visit(x.dictionary,n)):S=Mb.visit(x,n);const t=(x.children||[]).map(i=>ga.encode(n,i)),d=wc.createChildrenVector(n,t),v=e.metadata&&e.metadata.size>0?wc.createCustomMetadataVector(n,[...e.metadata].map(([i,M])=>{const g=n.createString(`${i}`),p=n.createString(`${M}`);return Ch.startKeyValue(n),Ch.addKey(n,g),Ch.addValue(n,p),Ch.endKeyValue(n)})):-1;return e.name&&(r=n.createString(e.name)),wc.startField(n),wc.addType(n,S),wc.addTypeType(n,o),wc.addChildren(n,d),wc.addNullable(n,!!e.nullable),r!==-1&&wc.addName(n,r),D!==-1&&wc.addDictionary(n,D),v!==-1&&wc.addCustomMetadata(n,v),wc.endField(n)}function eP(n,e){const r=e.nodes||[],S=e.buffers||[];Ah.startNodesVector(n,r.length),r.slice().reverse().forEach(o=>Gd.encode(n,o));const D=n.endVector();Ah.startBuffersVector(n,S.length),S.slice().reverse().forEach(o=>uf.encode(n,o));const x=n.endVector();return Ah.startRecordBatch(n),Ah.addLength(n,new Od(e.length,0)),Ah.addNodes(n,D),Ah.addBuffers(n,x),Ah.endRecordBatch(n)}function tP(n,e){const r=_u.encode(n,e.data);return Ap.startDictionaryBatch(n),Ap.addId(n,new Od(e.id,0)),Ap.addIsDelta(n,e.isDelta),Ap.addData(n,r),Ap.endDictionaryBatch(n)}function nP(n,e){return VO.createFieldNode(n,new Od(e.length,0),new Od(e.nullCount,0))}function rP(n,e){return NO.createBuffer(n,new Od(e.offset,0),new Od(e.length,0))}const iP=function(){const n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256}();var _6=lr.ByteBuffer;const q2=n=>`Expected ${Ga[n]} Message in stream, but was null or length 0.`,$2=n=>`Header pointer of flatbuffer-encoded ${Ga[n]} Message is null or length 0.`,w6=(n,e)=>`Expected to read ${n} metadata bytes, but only read ${e}.`,T6=(n,e)=>`Expected to read ${n} bytes for message body, but only read ${e}.`;class k6{constructor(e){this.source=e instanceof Kv?e:new Kv(e)}[Symbol.iterator](){return this}next(){let e;return(e=this.readMetadataLength()).done||e.value===-1&&(e=this.readMetadataLength()).done||(e=this.readMetadata(e.value)).done?Co:e}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(q2(e));return r.value}readMessageBody(e){if(e<=0)return new Uint8Array(0);const r=ra(this.source.read(e));if(r.byteLength[...D,...x.VALIDITY&&[x.VALIDITY]||[],...x.TYPE&&[x.TYPE]||[],...x.OFFSET&&[x.OFFSET]||[],...x.DATA&&[x.DATA]||[],...r(x.children)],[])}}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(q2(e));return r.value}readSchema(){const e=Ga.Schema,r=this.readMessage(e),S=r&&r.header();if(!r||!S)throw new Error($2(e));return S}}const Wy=4,lx="ARROW1",Im=new Uint8Array(lx.length);for(let n=0;n2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");Ni.isNull(e.type)||Ic.call(this,D<=0?new Uint8Array(0):A2(r.offset,S,r.nullBitmap)),this.nodes.push(new Gd(S,D))}return super.visit(e)}visitNull(e){return this}visitDictionary(e){return this.visit(e.indices)}get nodes(){return this._nodes}get buffers(){return this._buffers}get byteLength(){return this._byteLength}get bufferRegions(){return this._bufferRegions}}function Ic(n){const e=n.byteLength+7&-8;return this.buffers.push(n),this.bufferRegions.push(new uf(this._byteLength,e)),this._byteLength+=e,this}function lP(n){const{type:e,length:r,typeIds:S,valueOffsets:D}=n;if(Ic.call(this,S),e.mode===Yf.Sparse)return ux.call(this,n);if(e.mode===Yf.Dense){if(n.offset<=0)return Ic.call(this,D),ux.call(this,n);{const x=S.reduce((i,M)=>Math.max(i,M),S[0]),o=new Int32Array(x+1),t=new Int32Array(x+1).fill(-1),d=new Int32Array(r),v=M2(-D[0],r,D);for(let i,M,g=-1;++g=n.length?Ic.call(this,new Uint8Array(0)):(e=n.values)instanceof Uint8Array?Ic.call(this,A2(n.offset,n.length,e)):Ic.call(this,Hv(n))}function Hh(n){return Ic.call(this,n.values.subarray(0,n.length*n.stride))}function A6(n){const{length:e,values:r,valueOffsets:S}=n,D=S[0],x=S[e],o=Math.min(x-D,r.byteLength-D);return Ic.call(this,M2(-S[0],e,S)),Ic.call(this,r.subarray(D,D+o)),this}function Z2(n){const{length:e,valueOffsets:r}=n;return r&&Ic.call(this,M2(r[0],e,r)),this.visit(n.getChildAt(0))}function ux(n){return this.visitMany(n.type.children.map((e,r)=>n.getChildAt(r)).filter(Boolean))[0]}rs.prototype.visitBool=uP;rs.prototype.visitInt=Hh;rs.prototype.visitFloat=Hh;rs.prototype.visitUtf8=A6;rs.prototype.visitBinary=A6;rs.prototype.visitFixedSizeBinary=Hh;rs.prototype.visitDate=Hh;rs.prototype.visitTimestamp=Hh;rs.prototype.visitTime=Hh;rs.prototype.visitDecimal=Hh;rs.prototype.visitList=Z2;rs.prototype.visitStruct=ux;rs.prototype.visitUnion=lP;rs.prototype.visitInterval=Hh;rs.prototype.visitFixedSizeList=Z2;rs.prototype.visitMap=Z2;class X2 extends Hd{constructor(e){super(),this._position=0,this._started=!1,this._sink=new fm,this._schema=null,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,xu(e)||(e={autoDestroy:!0,writeLegacyIpcFormat:!1}),this._autoDestroy=typeof e.autoDestroy=="boolean"?e.autoDestroy:!0,this._writeLegacyIpcFormat=typeof e.writeLegacyIpcFormat=="boolean"?e.writeLegacyIpcFormat:!1}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}toString(e=!1){return this._sink.toString(e)}toUint8Array(e=!1){return this._sink.toUint8Array(e)}writeAll(e){return zh(e)?e.then(r=>this.writeAll(r)):th(e)?e_(this,e):Q2(this,e)}get closed(){return this._sink.closed}[Symbol.asyncIterator](){return this._sink[Symbol.asyncIterator]()}toDOMStream(e){return this._sink.toDOMStream(e)}toNodeStream(e){return this._sink.toNodeStream(e)}close(){return this.reset()._sink.close()}abort(e){return this.reset()._sink.abort(e)}finish(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}reset(e=this._sink,r=null){return e===this._sink||e instanceof fm?this._sink=e:(this._sink=new fm,e&&xL(e)?this.toDOMStream({type:"bytes"}).pipeTo(e):e&&_L(e)&&this.toNodeStream({objectMode:!1}).pipe(e)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,(!r||!r.compareTo(this._schema))&&(r===null?(this._position=0,this._schema=null):(this._started=!0,this._schema=r,this._writeSchema(r))),this}write(e){let r=null;if(this._sink){if(e==null)return this.finish()&&void 0;if(e instanceof Ta&&!(r=e.schema))return this.finish()&&void 0;if(e instanceof Wl&&!(r=e.schema))return this.finish()&&void 0}else throw new Error("RecordBatchWriter is closed");if(r&&!r.compareTo(this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,r)}e instanceof Wl?e instanceof Zy||this._writeRecordBatch(e):e instanceof Ta?this.writeAll(e.chunks):Pc(e)&&this.writeAll(e)}_writeMessage(e,r=8){const S=r-1,D=kl.encode(e),x=D.byteLength,o=this._writeLegacyIpcFormat?4:8,t=x+o+S&~S,d=t-x-o;return e.headerType===Ga.RecordBatch?this._recordBatchBlocks.push(new Bh(t,e.bodyLength,this._position)):e.headerType===Ga.DictionaryBatch&&this._dictionaryBlocks.push(new Bh(t,e.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(t-o)),x>0&&this._write(D),this._writePadding(d)}_write(e){if(this._started){const r=ra(e);r&&r.byteLength>0&&(this._sink.write(r),this._position+=r.byteLength)}return this}_writeSchema(e){return this._writeMessage(kl.from(e))}_writeFooter(e){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}_writeMagic(){return this._write(Im)}_writePadding(e){return e>0?this._write(new Uint8Array(e)):this}_writeRecordBatch(e){const{byteLength:r,nodes:S,bufferRegions:D,buffers:x}=rs.assemble(e),o=new _u(e.length,S,D),t=kl.from(o,r);return this._writeDictionaries(e)._writeMessage(t)._writeBodyBuffers(x)}_writeDictionaryBatch(e,r,S=!1){this._dictionaryDeltaOffsets.set(r,e.length+(this._dictionaryDeltaOffsets.get(r)||0));const{byteLength:D,nodes:x,bufferRegions:o,buffers:t}=rs.assemble(e),d=new _u(e.length,x,o),v=new mf(d,r,S),i=kl.from(v,D);return this._writeMessage(i)._writeBodyBuffers(t)}_writeBodyBuffers(e){let r,S,D;for(let x=-1,o=e.length;++x0&&(this._write(r),(D=(S+7&-8)-S)>0&&this._writePadding(D));return this}_writeDictionaries(e){for(let[r,S]of e.dictionaries){let D=this._dictionaryDeltaOffsets.get(r)||0;if(D===0||(S=S.slice(D)).length>0){const x="chunks"in S?S.chunks:[S];for(const o of x)this._writeDictionaryBatch(o,r,D>0),D+=o.length}}return this}}class K2 extends X2{static writeAll(e,r){const S=new K2(r);return zh(e)?e.then(D=>S.writeAll(D)):th(e)?e_(S,e):Q2(S,e)}}class J2 extends X2{constructor(){super(),this._autoDestroy=!0}static writeAll(e){const r=new J2;return zh(e)?e.then(S=>r.writeAll(S)):th(e)?e_(r,e):Q2(r,e)}_writeSchema(e){return this._writeMagic()._writePadding(2)}_writeFooter(e){const r=Lm.encode(new Lm(e,Mc.V4,this._recordBatchBlocks,this._dictionaryBlocks));return super._writeFooter(e)._write(r)._write(Int32Array.of(r.byteLength))._writeMagic()}}function Q2(n,e){let r=e;e instanceof Ta&&(r=e.chunks,n.reset(void 0,e.schema));for(const S of r)n.write(S);return n.finish()}async function e_(n,e){for await(const r of e)n.write(r);return n.finish()}const Ab=new Uint8Array(0),S6=n=>[Ab,Ab,new Uint8Array(n),Ab];function cP(n,e,r=e.reduce((S,D)=>Math.max(S,D.length),0)){let S,D,x=-1,o=e.length;const t=[...n.fields],d=[],v=(r+63&-64)>>3;for(;++xe)),n)}function C6(n,e){return hP(n,e.map(r=>r instanceof js?r.chunks.map(S=>S.data):[r.data]))}function hP(n,e){const r=[...n.fields],S=[],D={numBatches:e.reduce((M,g)=>Math.max(M,g.length),0)};let x=0,o=0,t=-1,d=e.length,v,i=[];for(;D.numBatches-- >0;){for(o=Number.POSITIVE_INFINITY,t=-1;++t0&&(S[x++]=[o,i.slice()]))}return[n=new Na(r,n.metadata),S.map(M=>new Wl(n,...M))]}function dP(n,e,r,S,D){let x,o,t=0,d=-1,v=S.length;const i=(e+63&-64)>>3;for(;++d=e?t===e?r[d]=x:(r[d]=x.slice(0,e),x=x.slice(e,t-e),D.numBatches=Math.max(D.numBatches,S[d].unshift(x))):((o=n[d]).nullable||(n[d]=o.clone({nullable:!0})),r[d]=x?x._changeLengthAndBackfillNullBitmap(e):ni.new(o.type,0,e,e,S6(i)));return r}class ro extends ma{constructor(e,r){super(),this._children=r,this.numChildren=e.childData.length,this._bindDataAccessors(this.data=e)}get type(){return this.data.type}get typeId(){return this.data.typeId}get length(){return this.data.length}get offset(){return this.data.offset}get stride(){return this.data.stride}get nullCount(){return this.data.nullCount}get byteLength(){return this.data.byteLength}get VectorName(){return`${qn[this.typeId]}Vector`}get ArrayType(){return this.type.ArrayType}get values(){return this.data.values}get typeIds(){return this.data.typeIds}get nullBitmap(){return this.data.nullBitmap}get valueOffsets(){return this.data.valueOffsets}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}clone(e,r=this._children){return ma.new(e,r)}concat(...e){return js.concat(this,...e)}slice(e,r){return Yk(this,e,r,this._sliceInternal)}isValid(e){if(this.nullCount>0){const r=this.offset+e;return(this.nullBitmap[r>>3]&1<=this.numChildren?null:(this._children||(this._children=[]))[e]||(this._children[e]=ma.new(this.data.childData[e]))}toJSON(){return[...this]}_sliceInternal(e,r,S){return e.clone(e.data.slice(r,S-r),null)}_bindDataAccessors(e){}}ro.prototype[Symbol.isConcatSpreadable]=!0;class pP extends ro{asUtf8(){return ma.new(this.data.clone(new $p))}}class mP extends ro{static from(e){return Pd(()=>new Mm,e)}}class t_ extends ro{static from(...e){return e.length===2?Pd(()=>e[1]===pf.DAY?new WL:new S5,e[0]):Pd(()=>new S5,e[0])}}class gP extends t_{}class vP extends t_{}class yP extends ro{}class n_ extends ro{constructor(e){super(e),this.indices=ma.new(e.clone(this.type.indices))}static from(...e){if(e.length===3){const[r,S,D]=e,x=new Fh(r.type,S,null,null);return ma.new(ni.Dictionary(x,0,D.length,0,null,D,r))}return Pd(()=>e[0].type,e[0])}get dictionary(){return this.data.dictionary}reverseLookup(e){return this.dictionary.indexOf(e)}getKey(e){return this.indices.get(e)}getValue(e){return this.dictionary.get(e)}setKey(e,r){return this.indices.set(e,r)}setValue(e,r){return this.dictionary.set(e,r)}}n_.prototype.indices=null;class bP extends ro{}class xP extends ro{}class qy extends ro{static from(e){let r=TP(this);if(e instanceof ArrayBuffer||ArrayBuffer.isView(e)){let S=wP(e.constructor)||r;if(r===null&&(r=S),r&&r===S){let D=new r,x=e.byteLength/D.ArrayType.BYTES_PER_ELEMENT;if(!_P(r,e.constructor))return ma.new(ni.Float(D,0,x,0,null,e))}}if(r)return Pd(()=>new r,e);throw e instanceof DataView||e instanceof ArrayBuffer?new TypeError(`Cannot infer float type from instance of ${e.constructor.name}`):new TypeError("Unrecognized FloatVector input")}}class E6 extends qy{toFloat32Array(){return new Float32Array(this)}toFloat64Array(){return new Float64Array(this)}}class L6 extends qy{}class I6 extends qy{}const _P=(n,e)=>n===Vy&&e!==Uint16Array,wP=n=>{switch(n){case Uint16Array:return Vy;case Float32Array:return R2;case Float64Array:return z2;default:return null}},TP=n=>{switch(n){case E6:return Vy;case L6:return R2;case I6:return z2;default:return null}};class r_ extends ro{}class kP extends r_{}class MP extends r_{}class Fc extends ro{static from(...e){let[r,S=!1]=e,D=CP(this,S);if(r instanceof ArrayBuffer||ArrayBuffer.isView(r)){let x=SP(r.constructor,S)||D;if(D===null&&(D=x),D&&D===x){let o=new D,t=r.byteLength/o.ArrayType.BYTES_PER_ELEMENT;return AP(D,r.constructor)&&(t*=.5),ma.new(ni.Int(o,0,t,0,null,r))}}if(D)return Pd(()=>new D,r);throw r instanceof DataView||r instanceof ArrayBuffer?new TypeError(`Cannot infer integer type from instance of ${r.constructor.name}`):new TypeError("Unrecognized IntVector input")}}class O6 extends Fc{}class P6 extends Fc{}class D6 extends Fc{}class R6 extends Fc{toBigInt64Array(){return kL(this.values)}get values64(){return this._values64||(this._values64=this.toBigInt64Array())}}class z6 extends Fc{}class F6 extends Fc{}class B6 extends Fc{}class N6 extends Fc{toBigUint64Array(){return ML(this.values)}get values64(){return this._values64||(this._values64=this.toBigUint64Array())}}const AP=(n,e)=>(n===Wp||n===qp)&&(e===Int32Array||e===Uint32Array),SP=(n,e)=>{switch(n){case Int8Array:return L2;case Int16Array:return I2;case Int32Array:return e?Wp:Ed;case c0:return Wp;case Uint8Array:return O2;case Uint16Array:return P2;case Uint32Array:return e?qp:D2;case Gm:return qp;default:return null}},CP=(n,e)=>{switch(n){case O6:return L2;case P6:return I2;case D6:return e?Wp:Ed;case R6:return Wp;case z6:return O2;case F6:return P2;case B6:return e?qp:D2;case N6:return qp;default:return null}};class EP extends ro{}class LP extends ro{asList(){const e=this.type.children[0];return ma.new(this.data.clone(new Zp(e)))}bind(e){const r=this.getChildAt(0),{[e]:S,[e+1]:D}=this.valueOffsets;return new Wk(r.slice(S,D))}}class IP extends ro{}const OP=Symbol.for("rowIndex");class $y extends ro{bind(e){const r=this._row||(this._row=new qk(this)),S=Object.create(r);return S[OP]=e,S}}class Qm extends ro{}class PP extends Qm{}class DP extends Qm{}class RP extends Qm{}class zP extends Qm{}class eg extends ro{}class FP extends eg{}class BP extends eg{}class NP extends eg{}class VP extends eg{}class i_ extends ro{get typeIdToChildIndex(){return this.data.type.typeIdToChildIndex}}class jP extends i_{get valueOffsets(){return this.data.valueOffsets}}class UP extends i_{}class HP extends ro{static from(e){return Pd(()=>new $p,e)}asBinary(){return ma.new(this.data.clone(new km))}}function $5(n){return function(){return n(this)}}function GP(n){return function(e){return n(this,e)}}function Y5(n){return function(e,r){return n(this,e,r)}}class Ai extends Zi{}const WP=(n,e)=>864e5*n[e],a_=(n,e)=>4294967296*n[e+1]+(n[e]>>>0),qP=(n,e)=>4294967296*(n[e+1]/1e3)+(n[e]>>>0)/1e3,$P=(n,e)=>4294967296*(n[e+1]/1e6)+(n[e]>>>0)/1e6,V6=n=>new Date(n),YP=(n,e)=>V6(WP(n,e)),ZP=(n,e)=>V6(a_(n,e)),XP=(n,e)=>null,j6=(n,e,r)=>{const{[r]:S,[r+1]:D}=e;return S!=null&&D!=null?n.subarray(S,D):null},KP=({offset:n,values:e},r)=>{const S=n+r;return(e[S>>3]&1<YP(n,e),H6=({values:n},e)=>ZP(n,e*2),bf=({stride:n,values:e},r)=>e[n*r],G6=({stride:n,values:e},r)=>sI(e[n*r]),o_=({stride:n,values:e,type:r},S)=>f0.new(e.subarray(n*S,n*(S+1)),r.isSigned),JP=({stride:n,values:e},r)=>e.subarray(n*r,n*(r+1)),QP=({values:n,valueOffsets:e},r)=>j6(n,e,r),eD=({values:n,valueOffsets:e},r)=>{const S=j6(n,e,r);return S!==null?tx(S):null},tD=(n,e)=>n.type.bitWidth<64?bf(n,e):o_(n,e),nD=(n,e)=>n.type.precision!==Yu.HALF?bf(n,e):G6(n,e),rD=(n,e)=>n.type.unit===pf.DAY?U6(n,e):H6(n,e),W6=({values:n},e)=>1e3*a_(n,e*2),q6=({values:n},e)=>a_(n,e*2),$6=({values:n},e)=>qP(n,e*2),Y6=({values:n},e)=>$P(n,e*2),iD=(n,e)=>{switch(n.type.unit){case Ba.SECOND:return W6(n,e);case Ba.MILLISECOND:return q6(n,e);case Ba.MICROSECOND:return $6(n,e);case Ba.NANOSECOND:return Y6(n,e)}},Z6=({values:n,stride:e},r)=>n[e*r],X6=({values:n,stride:e},r)=>n[e*r],K6=({values:n},e)=>f0.signed(n.subarray(2*e,2*(e+1))),J6=({values:n},e)=>f0.signed(n.subarray(2*e,2*(e+1))),aD=(n,e)=>{switch(n.type.unit){case Ba.SECOND:return Z6(n,e);case Ba.MILLISECOND:return X6(n,e);case Ba.MICROSECOND:return K6(n,e);case Ba.NANOSECOND:return J6(n,e)}},oD=({values:n},e)=>f0.decimal(n.subarray(4*e,4*(e+1))),sD=(n,e)=>{const r=n.getChildAt(0),{valueOffsets:S,stride:D}=n;return r.slice(S[e*D],S[e*D+1])},lD=(n,e)=>n.bind(e),uD=(n,e)=>n.bind(e),cD=(n,e)=>n.type.mode===Yf.Dense?Q6(n,e):eM(n,e),Q6=(n,e)=>{const r=n.typeIdToChildIndex[n.typeIds[e]],S=n.getChildAt(r);return S?S.get(n.valueOffsets[e]):null},eM=(n,e)=>{const r=n.typeIdToChildIndex[n.typeIds[e]],S=n.getChildAt(r);return S?S.get(e):null},fD=(n,e)=>n.getValue(n.getKey(e)),hD=(n,e)=>n.type.unit===Hp.DAY_TIME?tM(n,e):nM(n,e),tM=({values:n},e)=>n.subarray(2*e,2*(e+1)),nM=({values:n},e)=>{const r=n[e],S=new Int32Array(2);return S[0]=r/12|0,S[1]=r%12|0,S},dD=(n,e)=>{const r=n.getChildAt(0),{stride:S}=n;return r.slice(e*S,(e+1)*S)};Ai.prototype.visitNull=XP;Ai.prototype.visitBool=KP;Ai.prototype.visitInt=tD;Ai.prototype.visitInt8=bf;Ai.prototype.visitInt16=bf;Ai.prototype.visitInt32=bf;Ai.prototype.visitInt64=o_;Ai.prototype.visitUint8=bf;Ai.prototype.visitUint16=bf;Ai.prototype.visitUint32=bf;Ai.prototype.visitUint64=o_;Ai.prototype.visitFloat=nD;Ai.prototype.visitFloat16=G6;Ai.prototype.visitFloat32=bf;Ai.prototype.visitFloat64=bf;Ai.prototype.visitUtf8=eD;Ai.prototype.visitBinary=QP;Ai.prototype.visitFixedSizeBinary=JP;Ai.prototype.visitDate=rD;Ai.prototype.visitDateDay=U6;Ai.prototype.visitDateMillisecond=H6;Ai.prototype.visitTimestamp=iD;Ai.prototype.visitTimestampSecond=W6;Ai.prototype.visitTimestampMillisecond=q6;Ai.prototype.visitTimestampMicrosecond=$6;Ai.prototype.visitTimestampNanosecond=Y6;Ai.prototype.visitTime=aD;Ai.prototype.visitTimeSecond=Z6;Ai.prototype.visitTimeMillisecond=X6;Ai.prototype.visitTimeMicrosecond=K6;Ai.prototype.visitTimeNanosecond=J6;Ai.prototype.visitDecimal=oD;Ai.prototype.visitList=sD;Ai.prototype.visitStruct=uD;Ai.prototype.visitUnion=cD;Ai.prototype.visitDenseUnion=Q6;Ai.prototype.visitSparseUnion=eM;Ai.prototype.visitDictionary=fD;Ai.prototype.visitInterval=hD;Ai.prototype.visitIntervalDayTime=tM;Ai.prototype.visitIntervalYearMonth=nM;Ai.prototype.visitFixedSizeList=dD;Ai.prototype.visitMap=lD;const Yy=new Ai;class Si extends Zi{}function pD(n,e){return e===null&&n.length>0?0:-1}function mD(n,e){const{nullBitmap:r}=n;if(!r||n.nullCount<=0)return-1;let S=0;for(const D of By(r,n.data.offset+(e||0),n.length,r,Rk)){if(!D)return S;++S}return-1}function Hi(n,e,r){if(e===void 0)return-1;if(e===null)return mD(n,r);const S=h0(e);for(let D=(r||0)-1,x=n.length;++DD&1<0)return gD(n);const{type:e,typeId:r,length:S}=n;return n.stride===1&&(r===qn.Timestamp||r===qn.Int&&e.bitWidth!==64||r===qn.Time&&e.bitWidth!==64||r===qn.Float&&e.precision>0)?n.values.subarray(0,S)[Symbol.iterator]():function*(D){for(let x=-1;++xn+e,Sb=n=>`Cannot compute the byte width of variable-width column ${n}`;class vD extends Zi{visitNull(e){return 0}visitInt(e){return e.bitWidth/8}visitFloat(e){return e.ArrayType.BYTES_PER_ELEMENT}visitBinary(e){throw new Error(Sb(e))}visitUtf8(e){throw new Error(Sb(e))}visitBool(e){return 1/8}visitDecimal(e){return 16}visitDate(e){return(e.unit+1)*4}visitTime(e){return e.bitWidth/8}visitTimestamp(e){return e.unit===Ba.SECOND?4:8}visitInterval(e){return(e.unit+1)*4}visitList(e){throw new Error(Sb(e))}visitStruct(e){return this.visitFields(e.children).reduce(Q0,0)}visitUnion(e){return this.visitFields(e.children).reduce(Q0,0)}visitFixedSizeBinary(e){return e.byteWidth}visitFixedSizeList(e){return e.listSize*this.visitFields(e.children).reduce(Q0,0)}visitMap(e){return this.visitFields(e.children).reduce(Q0,0)}visitDictionary(e){return this.visit(e.indices)}visitFields(e){return(e||[]).map(r=>this.visit(r.type))}visitSchema(e){return this.visitFields(e.fields).reduce(Q0,0)}}const oM=new vD;class yD extends Zi{visitNull(){return IP}visitBool(){return mP}visitInt(){return Fc}visitInt8(){return O6}visitInt16(){return P6}visitInt32(){return D6}visitInt64(){return R6}visitUint8(){return z6}visitUint16(){return F6}visitUint32(){return B6}visitUint64(){return N6}visitFloat(){return qy}visitFloat16(){return E6}visitFloat32(){return L6}visitFloat64(){return I6}visitUtf8(){return HP}visitBinary(){return pP}visitFixedSizeBinary(){return bP}visitDate(){return t_}visitDateDay(){return gP}visitDateMillisecond(){return vP}visitTimestamp(){return Qm}visitTimestampSecond(){return PP}visitTimestampMillisecond(){return DP}visitTimestampMicrosecond(){return RP}visitTimestampNanosecond(){return zP}visitTime(){return eg}visitTimeSecond(){return FP}visitTimeMillisecond(){return BP}visitTimeMicrosecond(){return NP}visitTimeNanosecond(){return VP}visitDecimal(){return yP}visitList(){return EP}visitStruct(){return $y}visitUnion(){return i_}visitDenseUnion(){return jP}visitSparseUnion(){return UP}visitDictionary(){return n_}visitInterval(){return r_}visitIntervalDayTime(){return kP}visitIntervalYearMonth(){return MP}visitFixedSizeList(){return xP}visitMap(){return LP}}const sM=new yD;ma.new=bD;ma.from=xD;function bD(n,...e){return new(sM.getVisitFn(n)())(n,...e)}function Pd(n,e){if(Pc(e))return ma.from({nullValues:[null,void 0],type:n(),values:e});if(th(e))return ma.from({nullValues:[null,void 0],type:n(),values:e});const{values:r=[],type:S=n(),nullValues:D=[null,void 0]}={...e};return Pc(r)?ma.from({nullValues:D,...e,type:S}):ma.from({nullValues:D,...e,type:S})}function xD(n){const{values:e=[],...r}={nullValues:[null,void 0],...n};if(Pc(e)){const S=[...Eo.throughIterable(r)(e)];return S.length===1?S[0]:js.concat(S)}return(async S=>{const D=Eo.throughAsyncIterable(r);for await(const x of D(e))S.push(x);return S.length===1?S[0]:js.concat(S)})([])}ro.prototype.get=function(e){return Yy.visit(this,e)};ro.prototype.set=function(e,r){return Gy.visit(this,e,r)};ro.prototype.indexOf=function(e,r){return iM.visit(this,e,r)};ro.prototype.toArray=function(){return aM.visit(this)};ro.prototype.getByteWidth=function(){return oM.visit(this.type)};ro.prototype[Symbol.iterator]=function(){return s_.visit(this)};ro.prototype._bindDataAccessors=kD;Object.keys(qn).map(n=>qn[n]).filter(n=>typeof n=="number").filter(n=>n!==qn.NONE).forEach(n=>{const e=sM.visit(n);e.prototype.get=GP(Yy.getVisitFn(n)),e.prototype.set=Y5(Gy.getVisitFn(n)),e.prototype.indexOf=Y5(iM.getVisitFn(n)),e.prototype.toArray=$5(aM.getVisitFn(n)),e.prototype.getByteWidth=_D(oM.getVisitFn(n)),e.prototype[Symbol.iterator]=$5(s_.getVisitFn(n))});function _D(n){return function(){return n(this.type)}}function wD(n){return function(e){return this.isValid(e)?n.call(this,e):null}}function TD(n){return function(e,r){zL(this.nullBitmap,this.offset+e,r!=null)&&n.call(this,e,r)}}function kD(){const n=this.nullBitmap;n&&n.byteLength>0&&(this.get=wD(this.get),this.set=TD(this.set))}class Ta extends js{constructor(...e){let r=null;e[0]instanceof Na&&(r=e.shift());let S=Zk(Wl,e);if(!r&&!(r=S[0]&&S[0].schema))throw new TypeError("Table must be initialized with a Schema or at least one RecordBatch");S[0]||(S[0]=new Zy(r)),super(new Dc(r.fields),S),this._schema=r,this._chunks=S}static empty(e=new Na([])){return new Ta(e,[])}static from(e){if(!e)return Ta.empty();if(typeof e=="object"){let S=Pc(e.values)?MD(e):th(e.values)?AD(e):null;if(S!==null)return S}let r=Oc.from(e);return zh(r)?(async()=>await Ta.from(await r))():r.isSync()&&(r=r.open())?r.schema?new Ta(r.schema,[...r]):Ta.empty():(async S=>{const D=await S,x=D.schema,o=[];if(x){for await(let t of D)o.push(t);return new Ta(x,o)}return Ta.empty()})(r.open())}static async fromAsync(e){return await Ta.from(e)}static fromStruct(e){return Ta.new(e.data.childData,e.type.children)}static new(...e){return new Ta(...fP(jI(e)))}get schema(){return this._schema}get length(){return this._length}get chunks(){return this._chunks}get numCols(){return this._numChildren}clone(e=this._chunks){return new Ta(this._schema,e)}getColumn(e){return this.getColumnAt(this.getColumnIndex(e))}getColumnAt(e){return this.getChildAt(e)}getColumnIndex(e){return this._schema.fields.findIndex(r=>r.name===e)}getChildAt(e){if(e<0||e>=this.numChildren)return null;let r,S;const D=this._schema.fields,x=this._children||(this._children=[]);if(S=x[e])return S;if(r=D[e]){const o=this._chunks.map(t=>t.getChildAt(e)).filter(t=>t!=null);if(o.length>0)return x[e]=new yd(r,o)}return null}serialize(e="binary",r=!0){return(r?K2:J2).writeAll(this).toUint8Array(!0)}count(){return this._length}select(...e){const r=this._schema.fields.reduce((S,D,x)=>S.set(D.name,x),new Map);return this.selectAt(...e.map(S=>r.get(S)).filter(S=>S>-1))}selectAt(...e){const r=this._schema.selectAt(...e);return new Ta(r,this._chunks.map(({length:S,data:{childData:D}})=>new Wl(r,S,e.map(x=>D[x]).filter(Boolean))))}assign(e){const r=this._schema.fields,[S,D]=e.schema.fields.reduce((t,d,v)=>{const[i,M]=t,g=r.findIndex(p=>p.name===d.name);return~g?M[g]=v:i.push(v),t},[[],[]]),x=this._schema.assign(e.schema),o=[...r.map((t,d,v,i=D[d])=>i===void 0?this.getColumnAt(d):e.getColumnAt(i)),...S.map(t=>e.getColumnAt(t))].filter(Boolean);return new Ta(...C6(x,o))}}function MD(n){const{type:e}=n;return e instanceof Dc?Ta.fromStruct($y.from(n)):null}function AD(n){const{type:e}=n;return e instanceof Dc?$y.from(n).then(r=>Ta.fromStruct(r)):null}class Wl extends $y{constructor(...e){let r,S=e[0],D;if(e[1]instanceof ni)[,r,D]=e;else{const x=S.fields,[,o,t]=e;r=ni.Struct(new Dc(x),0,o,0,null,t)}super(r,D),this._schema=S}static from(e){return Pc(e.values),Ta.from(e)}static new(...e){const[r,S]=Xk(e),D=S.filter(x=>x instanceof ma);return new Wl(...cP(new Na(r),D.map(x=>x.data)))}clone(e,r=this._children){return new Wl(this._schema,e,r)}concat(...e){const r=this._schema,S=js.flatten(this,...e);return new Ta(r,S.map(({data:D})=>new Wl(r,D)))}get schema(){return this._schema}get numCols(){return this._schema.fields.length}get dictionaries(){return this._dictionaries||(this._dictionaries=l_.collect(this))}select(...e){const r=this._schema.fields.reduce((S,D,x)=>S.set(D.name,x),new Map);return this.selectAt(...e.map(S=>r.get(S)).filter(S=>S>-1))}selectAt(...e){const r=this._schema.selectAt(...e),S=e.map(D=>this.data.childData[D]).filter(Boolean);return new Wl(r,this.length,S)}}class Zy extends Wl{constructor(e){super(e,0,e.fields.map(r=>ni.new(r.type,0,0,0)))}}class l_ extends Zi{constructor(){super(...arguments),this.dictionaries=new Map}static collect(e){return new l_().visit(e.data,new Dc(e.schema.fields)).dictionaries}visit(e,r){return Ni.isDictionary(r)?this.visitDictionary(e,r):(e.childData.forEach((S,D)=>this.visit(S,r.children[D].type)),this)}visitDictionary(e,r){const S=e.dictionary;return S&&S.length>0&&this.dictionaries.set(r.id,S),this}}class Oc extends Hd{constructor(e){super(),this._impl=e}get closed(){return this._impl.closed}get schema(){return this._impl.schema}get autoDestroy(){return this._impl.autoDestroy}get dictionaries(){return this._impl.dictionaries}get numDictionaries(){return this._impl.numDictionaries}get numRecordBatches(){return this._impl.numRecordBatches}get footer(){return this._impl.isFile()?this._impl.footer:null}isSync(){return this._impl.isSync()}isAsync(){return this._impl.isAsync()}isFile(){return this._impl.isFile()}isStream(){return this._impl.isStream()}next(){return this._impl.next()}throw(e){return this._impl.throw(e)}return(e){return this._impl.return(e)}cancel(){return this._impl.cancel()}reset(e){return this._impl.reset(e),this._DOMStream=void 0,this._nodeStream=void 0,this}open(e){const r=this._impl.open(e);return zh(r)?r.then(()=>this):this}readRecordBatch(e){return this._impl.isFile()?this._impl.readRecordBatch(e):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return du.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return du.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}static from(e){return e instanceof Oc?e:nx(e)?LD(e):Lk(e)?PD(e):zh(e)?(async()=>await Oc.from(await e))():Ik(e)||T2(e)||Ok(e)||th(e)?OD(new Id(e)):ID(new Kv(e))}static readAll(e){return e instanceof Oc?e.isSync()?Z5(e):X5(e):nx(e)||ArrayBuffer.isView(e)||Pc(e)||Ek(e)?Z5(e):X5(e)}}class Qv extends Oc{constructor(e){super(e),this._impl=e}[Symbol.iterator](){return this._impl[Symbol.iterator]()}async*[Symbol.asyncIterator](){yield*this[Symbol.iterator]()}}class ey extends Oc{constructor(e){super(e),this._impl=e}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class lM extends Qv{constructor(e){super(e),this._impl=e}}class SD extends ey{constructor(e){super(e),this._impl=e}}class uM{constructor(e=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=e}get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(e){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=e,this.dictionaries=new Map,this}_loadRecordBatch(e,r){return new Wl(this.schema,e.length,this._loadVectors(e,r,this.schema.fields))}_loadDictionaryBatch(e,r){const{id:S,isDelta:D,data:x}=e,{dictionaries:o,schema:t}=this,d=o.get(S);if(D||!d){const v=t.dictionaries.get(S);return d&&D?d.concat(ma.new(this._loadVectors(x,r,[v])[0])):ma.new(this._loadVectors(x,r,[v])[0])}return d}_loadVectors(e,r,S){return new v6(r,e.nodes,e.buffers,this.dictionaries).visitMany(S)}}class ty extends uM{constructor(e,r){super(r),this._reader=nx(e)?new oP(this._handle=e):new k6(this._handle=e)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(e){return this.closed||(this.autoDestroy=fM(this,e),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(e):Co}return(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(e):Co}next(){if(this.closed)return Co;let e,{_reader:r}=this;for(;e=this._readNextMessageAndValidate();)if(e.isSchema())this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const S=e.header(),D=r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(S,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const S=e.header(),D=r.readMessageBody(e.bodyLength),x=this._loadDictionaryBatch(S,D);this.dictionaries.set(S.id,x)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new Zy(this.schema)}):this.return()}_readNextMessageAndValidate(e){return this._reader.readMessage(e)}}class ny extends uM{constructor(e,r){super(r),this._reader=new aP(this._handle=e)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}async cancel(){!this.closed&&(this.closed=!0)&&(await this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}async open(e){return this.closed||(this.autoDestroy=fM(this,e),this.schema||(this.schema=await this._reader.readSchema())||await this.cancel()),this}async throw(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?await this.reset()._reader.throw(e):Co}async return(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?await this.reset()._reader.return(e):Co}async next(){if(this.closed)return Co;let e,{_reader:r}=this;for(;e=await this._readNextMessageAndValidate();)if(e.isSchema())await this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const S=e.header(),D=await r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(S,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const S=e.header(),D=await r.readMessageBody(e.bodyLength),x=this._loadDictionaryBatch(S,D);this.dictionaries.set(S.id,x)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new Zy(this.schema)}):await this.return()}async _readNextMessageAndValidate(e){return await this._reader.readMessage(e)}}class cM extends ty{constructor(e,r){super(e instanceof P5?e:new P5(e),r)}get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}isSync(){return!0}isFile(){return!0}open(e){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;for(const r of this._footer.dictionaryBatches())r&&this._readDictionaryBatch(this._dictionaryIndex++)}return super.open(e)}readRecordBatch(e){if(this.closed)return null;this._footer||this.open();const r=this._footer&&this._footer.getRecordBatch(e);if(r&&this._handle.seek(r.offset)){const S=this._reader.readMessage(Ga.RecordBatch);if(S&&S.isRecordBatch()){const D=S.header(),x=this._reader.readMessageBody(S.bodyLength);return this._loadRecordBatch(D,x)}}return null}_readDictionaryBatch(e){const r=this._footer&&this._footer.getDictionaryBatch(e);if(r&&this._handle.seek(r.offset)){const S=this._reader.readMessage(Ga.DictionaryBatch);if(S&&S.isDictionaryBatch()){const D=S.header(),x=this._reader.readMessageBody(S.bodyLength),o=this._loadDictionaryBatch(D,x);this.dictionaries.set(D.id,o)}}}_readFooter(){const{_handle:e}=this,r=e.size-M6,S=e.readInt32(r),D=e.readAt(r-S,S);return Lm.decode(D)}_readNextMessageAndValidate(e){if(this._footer||this.open(),this._footer&&this._recordBatchIndex=4?Y2(e)?new lM(new cM(n.read())):new Qv(new ty(n)):new Qv(new ty(function*(){}()))}async function OD(n){const e=await n.peek(Jm+7&-8);return e&&e.byteLength>=4?Y2(e)?new lM(new cM(await n.read())):new ey(new ny(n)):new ey(new ny(async function*(){}()))}async function PD(n){const{size:e}=await n.stat(),r=new Jv(n,e);return e>=sP&&Y2(await r.readAt(0,Jm+7&-8))?new SD(new CD(r)):new ey(new ny(r))}function DD(n,e){if(th(n))return zD(n,e);if(Pc(n))return RD(n,e);throw new Error("toDOMStream() must be called with an Iterable or AsyncIterable")}function RD(n,e){let r=null;const S=e&&e.type==="bytes"||!1,D=e&&e.highWaterMark||2**24;return new ReadableStream({...e,start(o){x(o,r||(r=n[Symbol.iterator]()))},pull(o){r?x(o,r):o.close()},cancel(){(r&&r.return&&r.return()||!0)&&(r=null)}},{highWaterMark:S?D:void 0,...e});function x(o,t){let d,v=null,i=o.desiredSize||null;for(;!(v=t.next(S?i:null)).done;)if(ArrayBuffer.isView(v.value)&&(d=ra(v.value))&&(i!=null&&S&&(i=i-d.byteLength+1),v.value=d),o.enqueue(v.value),i!=null&&--i<=0)return;o.close()}}function zD(n,e){let r=null;const S=e&&e.type==="bytes"||!1,D=e&&e.highWaterMark||2**24;return new ReadableStream({...e,async start(o){await x(o,r||(r=n[Symbol.asyncIterator]()))},async pull(o){r?await x(o,r):o.close()},async cancel(){(r&&r.return&&await r.return()||!0)&&(r=null)}},{highWaterMark:S?D:void 0,...e});async function x(o,t){let d,v=null,i=o.desiredSize||null;for(;!(v=await t.next(S?i:null)).done;)if(ArrayBuffer.isView(v.value)&&(d=ra(v.value))&&(i!=null&&S&&(i=i-d.byteLength+1),v.value=d),o.enqueue(v.value),i!=null&&--i<=0)return;o.close()}}function FD(n){return new BD(n)}class BD{constructor(e){this._numChunks=0,this._finished=!1,this._bufferedSize=0;const{["readableStrategy"]:r,["writableStrategy"]:S,["queueingStrategy"]:D="count",...x}=e;this._controller=null,this._builder=Eo.new(x),this._getSize=D!=="bytes"?K5:J5;const{["highWaterMark"]:o=D==="bytes"?2**14:1e3}={...r},{["highWaterMark"]:t=D==="bytes"?2**14:1e3}={...S};this.readable=new ReadableStream({cancel:()=>{this._builder.clear()},pull:d=>{this._maybeFlush(this._builder,this._controller=d)},start:d=>{this._maybeFlush(this._builder,this._controller=d)}},{highWaterMark:o,size:D!=="bytes"?K5:J5}),this.writable=new WritableStream({abort:()=>{this._builder.clear()},write:()=>{this._maybeFlush(this._builder,this._controller)},close:()=>{this._maybeFlush(this._builder.finish(),this._controller)}},{highWaterMark:t,size:d=>this._writeValueAndReturnChunkSize(d)})}_writeValueAndReturnChunkSize(e){const r=this._bufferedSize;return this._bufferedSize=this._getSize(this._builder.append(e)),this._bufferedSize-r}_maybeFlush(e,r){r!==null&&(this._bufferedSize>=r.desiredSize&&++this._numChunks&&this._enqueue(r,e.toVector()),e.finished&&((e.length>0||this._numChunks===0)&&++this._numChunks&&this._enqueue(r,e.toVector()),!this._finished&&(this._finished=!0)&&this._enqueue(r,null)))}_enqueue(e,r){this._bufferedSize=0,this._controller=null,r===null?e.close():e.enqueue(r)}}const K5=n=>n.length,J5=n=>n.byteLength;function ND(n,e){const r=new fm;let S=null;const D=new ReadableStream({async cancel(){await r.close()},async start(t){await o(t,S||(S=await x()))},async pull(t){S?await o(t,S):t.close()}});return{writable:new WritableStream(r,{highWaterMark:2**14,...n}),readable:D};async function x(){return await(await Oc.from(r)).open(e)}async function o(t,d){let v=t.desiredSize,i=null;for(;!(i=await d.next()).done;)if(t.enqueue(i.value),v!=null&&--v<=0)return;t.close()}}function VD(n,e){const r=new this(n),S=new Id(r),D=new ReadableStream({type:"bytes",async cancel(){await S.cancel()},async pull(o){await x(o)},async start(o){await x(o)}},{highWaterMark:2**14,...e});return{writable:new WritableStream(r,n),readable:D};async function x(o){let t=null,d=o.desiredSize;for(;t=await S.read(d||null);)if(o.enqueue(t),d!=null&&(d-=t.byteLength)<=0)return;o.close()}}class Rp{eq(e){return e instanceof Rp||(e=new zp(e)),new jD(this,e)}le(e){return e instanceof Rp||(e=new zp(e)),new UD(this,e)}ge(e){return e instanceof Rp||(e=new zp(e)),new HD(this,e)}lt(e){return new Av(this.ge(e))}gt(e){return new Av(this.le(e))}ne(e){return new Av(this.eq(e))}}class zp extends Rp{constructor(e){super(),this.v=e}}class hM extends Rp{constructor(e){super(),this.name=e}bind(e){if(!this.colidx){this.colidx=-1;const S=e.schema.fields;for(let D=-1;++Dr.get(S)}}class u_{and(...e){return new h_(this,...e)}or(...e){return new d_(this,...e)}not(){return new Av(this)}}class c_ extends u_{constructor(e,r){super(),this.left=e,this.right=r}bind(e){return this.left instanceof zp?this.right instanceof zp?this._bindLitLit(e,this.left,this.right):this._bindLitCol(e,this.left,this.right):this.right instanceof zp?this._bindColLit(e,this.left,this.right):this._bindColCol(e,this.left,this.right)}}class f_ extends u_{constructor(...e){super(),this.children=e}}f_.prototype.children=Object.freeze([]);class h_ extends f_{constructor(...e){e=e.reduce((r,S)=>r.concat(S instanceof h_?S.children:S),[]),super(...e)}bind(e){const r=this.children.map(S=>S.bind(e));return(S,D)=>r.every(x=>x(S,D))}}class d_ extends f_{constructor(...e){e=e.reduce((r,S)=>r.concat(S instanceof d_?S.children:S),[]),super(...e)}bind(e){const r=this.children.map(S=>S.bind(e));return(S,D)=>r.some(x=>x(S,D))}}class jD extends c_{_bindLitLit(e,r,S){const D=r.v==S.v;return()=>D}_bindColCol(e,r,S){const D=r.bind(e),x=S.bind(e);return(o,t)=>D(o,t)==x(o,t)}_bindColLit(e,r,S){const D=r.bind(e);if(r.vector instanceof n_){let x;const o=r.vector;return o.dictionary!==this.lastDictionary?(x=o.reverseLookup(S.v),this.lastDictionary=o.dictionary,this.lastKey=x):x=this.lastKey,x===-1?()=>!1:t=>o.getKey(t)===x}else return(x,o)=>D(x,o)==S.v}_bindLitCol(e,r,S){return this._bindColLit(e,S,r)}}class UD extends c_{_bindLitLit(e,r,S){const D=r.v<=S.v;return()=>D}_bindColCol(e,r,S){const D=r.bind(e),x=S.bind(e);return(o,t)=>D(o,t)<=x(o,t)}_bindColLit(e,r,S){const D=r.bind(e);return(x,o)=>D(x,o)<=S.v}_bindLitCol(e,r,S){const D=S.bind(e);return(x,o)=>r.v<=D(x,o)}}class HD extends c_{_bindLitLit(e,r,S){const D=r.v>=S.v;return()=>D}_bindColCol(e,r,S){const D=r.bind(e),x=S.bind(e);return(o,t)=>D(o,t)>=x(o,t)}_bindColLit(e,r,S){const D=r.bind(e);return(x,o)=>D(x,o)>=S.v}_bindLitCol(e,r,S){const D=S.bind(e);return(x,o)=>r.v>=D(x,o)}}class Av extends u_{constructor(e){super(),this.child=e}bind(e){const r=this.child.bind(e);return(S,D)=>!r(S,D)}}Ta.prototype.countBy=function(n){return new tg(this.chunks).countBy(n)};Ta.prototype.scan=function(n,e){return new tg(this.chunks).scan(n,e)};Ta.prototype.scanReverse=function(n,e){return new tg(this.chunks).scanReverse(n,e)};Ta.prototype.filter=function(n){return new tg(this.chunks).filter(n)};class tg extends Ta{filter(e){return new p_(this.chunks,e)}scan(e,r){const S=this.chunks,D=S.length;for(let x=-1;++x=0;){const o=S[x];r&&r(o);for(let t=o.length;--t>=0;)e(t,o)}}countBy(e){const r=this.chunks,S=r.length,D=typeof e=="string"?new hM(e):e;D.bind(r[S-1]);const x=D.vector;if(!Ni.isDictionary(x.type))throw new Error("countBy currently only supports dictionary-encoded columns");const o=Math.ceil(Math.log(x.length)/Math.log(256)),t=o==4?Uint32Array:o>=2?Uint16Array:Uint8Array,d=new t(x.dictionary.length);for(let v=-1;++v=0;){const o=S[x],t=this._predicate.bind(o);let d=!1;for(let v=o.length;--v>=0;)t(v,o)&&(r&&!d&&(r(o),d=!0),e(v,o))}}count(){let e=0;const r=this._chunks,S=r.length;for(let D=-1;++D=2?Uint16Array:Uint8Array,d=new t(x.dictionary.length);for(let v=-1;++v=x.headerRows&&t=x.headerColumns;if(d){var M=["blank"];return t>0&&M.push("level"+o),{type:"blank",classNames:M.join(" "),content:""}}else if(i){var v=t-x.headerColumns,M=["col_heading","level"+o,"col"+v];return{type:"columns",classNames:M.join(" "),content:x.getContent(x.columnsTable,v,o)}}else if(g){var p=o-x.headerRows,M=["row_heading","level"+t,"row"+p];return{type:"index",id:"T_"+x.uuid+"level"+t+"_row"+p,classNames:M.join(" "),content:x.getContent(x.indexTable,p,t)}}else{var p=o-x.headerRows,v=t-x.headerColumns,M=["data","row"+p,"col"+v],u=x.styler?x.getContent(x.styler.displayValuesTable,p,v):x.getContent(x.dataTable,p,v);return{type:"data",id:"T_"+x.uuid+"row"+p+"_col"+v,classNames:M.join(" "),content:u}}},this.getContent=function(o,t,d){var g=o.getColumnAt(d);if(g===null)return"";var i=x.getColumnTypeId(o,d);switch(i){case qn.Timestamp:return x.nanosToDate(g.get(t));default:return g.get(t)}},this.dataTable=Ta.from(e),this.indexTable=Ta.from(r),this.columnsTable=Ta.from(S),this.styler=D?{caption:D.caption,displayValuesTable:Ta.from(D.displayValues),styles:D.styles,uuid:D.uuid}:void 0}return Object.defineProperty(n.prototype,"rows",{get:function(){return this.indexTable.length+this.columnsTable.numCols},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"columns",{get:function(){return this.indexTable.numCols+this.columnsTable.length},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"headerRows",{get:function(){return this.rows-this.dataRows},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"headerColumns",{get:function(){return this.columns-this.dataColumns},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dataRows",{get:function(){return this.dataTable.length},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dataColumns",{get:function(){return this.dataTable.numCols},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"uuid",{get:function(){return this.styler&&this.styler.uuid},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"caption",{get:function(){return this.styler&&this.styler.caption},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"styles",{get:function(){return this.styler&&this.styler.styles},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"table",{get:function(){return this.dataTable},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"index",{get:function(){return this.indexTable},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"columnTable",{get:function(){return this.columnsTable},enumerable:!0,configurable:!0}),n.prototype.serialize=function(){return{data:this.dataTable.serialize(),index:this.indexTable.serialize(),columns:this.columnsTable.serialize()}},n.prototype.getColumnTypeId=function(e,r){return e.schema.fields[r].type.typeId},n.prototype.nanosToDate=function(e){return new Date(e/1e6)},n}();/** + */var Q5=function(){function n(e,r,S,D){var x=this;this.getCell=function(o,t){var d=o=x.headerRows&&t=x.headerColumns;if(d){var M=["blank"];return t>0&&M.push("level"+o),{type:"blank",classNames:M.join(" "),content:""}}else if(i){var g=t-x.headerColumns,M=["col_heading","level"+o,"col"+g];return{type:"columns",classNames:M.join(" "),content:x.getContent(x.columnsTable,g,o)}}else if(v){var p=o-x.headerRows,M=["row_heading","level"+t,"row"+p];return{type:"index",id:"T_"+x.uuid+"level"+t+"_row"+p,classNames:M.join(" "),content:x.getContent(x.indexTable,p,t)}}else{var p=o-x.headerRows,g=t-x.headerColumns,M=["data","row"+p,"col"+g],u=x.styler?x.getContent(x.styler.displayValuesTable,p,g):x.getContent(x.dataTable,p,g);return{type:"data",id:"T_"+x.uuid+"row"+p+"_col"+g,classNames:M.join(" "),content:u}}},this.getContent=function(o,t,d){var v=o.getColumnAt(d);if(v===null)return"";var i=x.getColumnTypeId(o,d);switch(i){case qn.Timestamp:return x.nanosToDate(v.get(t));default:return v.get(t)}},this.dataTable=Ta.from(e),this.indexTable=Ta.from(r),this.columnsTable=Ta.from(S),this.styler=D?{caption:D.caption,displayValuesTable:Ta.from(D.displayValues),styles:D.styles,uuid:D.uuid}:void 0}return Object.defineProperty(n.prototype,"rows",{get:function(){return this.indexTable.length+this.columnsTable.numCols},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"columns",{get:function(){return this.indexTable.numCols+this.columnsTable.length},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"headerRows",{get:function(){return this.rows-this.dataRows},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"headerColumns",{get:function(){return this.columns-this.dataColumns},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dataRows",{get:function(){return this.dataTable.length},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dataColumns",{get:function(){return this.dataTable.numCols},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"uuid",{get:function(){return this.styler&&this.styler.uuid},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"caption",{get:function(){return this.styler&&this.styler.caption},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"styles",{get:function(){return this.styler&&this.styler.styles},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"table",{get:function(){return this.dataTable},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"index",{get:function(){return this.indexTable},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"columnTable",{get:function(){return this.columnsTable},enumerable:!0,configurable:!0}),n.prototype.serialize=function(){return{data:this.dataTable.serialize(),index:this.indexTable.serialize(),columns:this.columnsTable.serialize()}},n.prototype.getColumnTypeId=function(e,r){return e.schema.fields[r].type.typeId},n.prototype.nanosToDate=function(e){return new Date(e/1e6)},n}();/** * @license * Copyright 2018-2021 Streamlit Inc. * @@ -84,15 +84,15 @@ return true;`)}function XL(n){return typeof n!="bigint"?cm(n):Fy?`${cm(n)}n`:`"$ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */var qD=globalThis&&globalThis.__extends||function(){var n=function(e,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,D){S.__proto__=D}||function(S,D){for(var x in D)D.hasOwnProperty(x)&&(S[x]=D[x])},n(e,r)};return function(e,r){n(e,r);function S(){this.constructor=e}e.prototype=r===null?Object.create(r):(S.prototype=r.prototype,new S)}}();(function(n){qD(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){Tc.setFrameHeight()},e.prototype.componentDidUpdate=function(){Tc.setFrameHeight()},e})(iL.PureComponent);var pM={exports:{}};(function(n,e){/*! For license information please see plotly.min.js.LICENSE.txt */(function(r,S){n.exports=S()})(self,function(){return function(){var r={98847:function(x,o,t){var d=t(71828),g={"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 i in g){var M=i.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");d.addStyleRule(M,g[i])}},98222:function(x,o,t){x.exports=t(82887)},27206:function(x,o,t){x.exports=t(60822)},59893:function(x,o,t){x.exports=t(23381)},5224:function(x,o,t){x.exports=t(83832)},59509:function(x,o,t){x.exports=t(72201)},75557:function(x,o,t){x.exports=t(91815)},40338:function(x,o,t){x.exports=t(21462)},35080:function(x,o,t){x.exports=t(51319)},61396:function(x,o,t){x.exports=t(57516)},40549:function(x,o,t){x.exports=t(98128)},49866:function(x,o,t){x.exports=t(99442)},36089:function(x,o,t){x.exports=t(93740)},19548:function(x,o,t){x.exports=t(8729)},35831:function(x,o,t){x.exports=t(93814)},61039:function(x,o,t){x.exports=t(14382)},97040:function(x,o,t){x.exports=t(51759)},77986:function(x,o,t){x.exports=t(10421)},24296:function(x,o,t){x.exports=t(43102)},58872:function(x,o,t){x.exports=t(92165)},29626:function(x,o,t){x.exports=t(3325)},65591:function(x,o,t){x.exports=t(36071)},69738:function(x,o,t){x.exports=t(43905)},92650:function(x,o,t){x.exports=t(35902)},35630:function(x,o,t){x.exports=t(69816)},73434:function(x,o,t){x.exports=t(94507)},27909:function(x,o,t){var d=t(19548);d.register([t(27206),t(5224),t(58872),t(65591),t(69738),t(92650),t(49866),t(25743),t(6197),t(97040),t(85461),t(73434),t(54201),t(81299),t(47645),t(35630),t(77986),t(83043),t(93005),t(96881),t(4534),t(50581),t(40549),t(77900),t(47582),t(35080),t(21641),t(17280),t(5861),t(29626),t(10021),t(65317),t(96268),t(61396),t(35831),t(16122),t(46163),t(40344),t(40338),t(48131),t(36089),t(55334),t(75557),t(19440),t(99488),t(59893),t(97393),t(98222),t(61039),t(24296),t(66398),t(59509)]),x.exports=d},46163:function(x,o,t){x.exports=t(15154)},96881:function(x,o,t){x.exports=t(64943)},50581:function(x,o,t){x.exports=t(21164)},55334:function(x,o,t){x.exports=t(54186)},65317:function(x,o,t){x.exports=t(94873)},10021:function(x,o,t){x.exports=t(67618)},54201:function(x,o,t){x.exports=t(58810)},5861:function(x,o,t){x.exports=t(20593)},16122:function(x,o,t){x.exports=t(29396)},83043:function(x,o,t){x.exports=t(13551)},48131:function(x,o,t){x.exports=t(46858)},47582:function(x,o,t){x.exports=t(17988)},21641:function(x,o,t){x.exports=t(68868)},96268:function(x,o,t){x.exports=t(20467)},19440:function(x,o,t){x.exports=t(91271)},99488:function(x,o,t){x.exports=t(21461)},97393:function(x,o,t){x.exports=t(85956)},25743:function(x,o,t){x.exports=t(52979)},66398:function(x,o,t){x.exports=t(32275)},17280:function(x,o,t){x.exports=t(6419)},77900:function(x,o,t){x.exports=t(61510)},81299:function(x,o,t){x.exports=t(87619)},93005:function(x,o,t){x.exports=t(93601)},40344:function(x,o,t){x.exports=t(96595)},47645:function(x,o,t){x.exports=t(70954)},6197:function(x,o,t){x.exports=t(47462)},4534:function(x,o,t){x.exports=t(17659)},85461:function(x,o,t){x.exports=t(19990)},82884:function(x){x.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}]},50215:function(x,o,t){var d=t(82884),g=t(41940),i=t(85555),M=t(44467).templatedArray;t(24695),x.exports=M("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:g({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:d.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:d.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",i.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",i.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",i.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:g({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(x,o,t){var d=t(71828),g=t(89298),i=t(92605).draw;function M(p){var u=p._fullLayout;d.filterVisible(u.annotations).forEach(function(a){var c=g.getFromId(p,a.xref),s=g.getFromId(p,a.yref),l=g.getRefType(a.xref),h=g.getRefType(a.yref);a._extremes={},l==="range"&&v(a,c),h==="range"&&v(a,s)})}function v(p,u){var a,c=u._id,s=c.charAt(0),l=p[s],h=p["a"+s],f=p[s+"ref"],m=p["a"+s+"ref"],_=p["_"+s+"padplus"],y=p["_"+s+"padminus"],C={x:1,y:-1}[s]*p[s+"shift"],w=3*p.arrowsize*p.arrowwidth||0,k=w+C,E=w-C,T=3*p.startarrowsize*p.arrowwidth||0,A=T+C,L=T-C;if(m===f){var b=g.findExtremes(u,[u.r2c(l)],{ppadplus:k,ppadminus:E}),O=g.findExtremes(u,[u.r2c(h)],{ppadplus:Math.max(_,A),ppadminus:Math.max(y,L)});a={min:[b.min[0],O.min[0]],max:[b.max[0],O.max[0]]}}else A=h?A+h:A,L=h?L-h:L,a=g.findExtremes(u,[u.r2c(l)],{ppadplus:Math.max(_,k,A),ppadminus:Math.max(y,E,L)});p._extremes[c]=a}x.exports=function(p){var u=p._fullLayout;if(d.filterVisible(u.annotations).length&&p._fullData.length)return d.syncOrAsync([i,M],p)}},44317:function(x,o,t){var d=t(71828),g=t(73972),i=t(44467).arrayEditor;function M(p,u){var a,c,s,l,h,f,m,_=p._fullLayout.annotations,y=[],C=[],w=[],k=(u||[]).length;for(a=0;a<_.length;a++)if(l=(s=_[a]).clicktoshow){for(c=0;c0||a.explicitOff.length>0},onClick:function(p,u){var a,c,s=M(p,u),l=s.on,h=s.off.concat(s.explicitOff),f={},m=p._fullLayout.annotations;if(l.length||h.length){for(a=0;a.6666666666666666?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[yt]}for(var Be=!1,ze=["x","y"],je=0;je1)&&(ot===st?((Vt=ft.r2fraction(k["a"+$e]))<0||Vt>1)&&(Be=!0):Be=!0),ge=ft._offset+ft.r2p(k[$e]),Ve=.5}else{var Ke=Wt==="domain";$e==="x"?(Ee=k[$e],ge=Ke?ft._offset+ft._length*Ee:ge=R.l+R.w*Ee):(Ee=1-k[$e],ge=Ke?ft._offset+ft._length*Ee:ge=R.t+R.h*Ee),Ve=k.showarrow?.5:Ee}if(k.showarrow){Bt.head=ge;var Je=k["a"+$e];if(Ye=Et*Le(.5,k.xanchor)-kt*Le(.5,k.yanchor),ot===st){var We=p.getRefType(ot);We==="domain"?($e==="y"&&(Je=1-Je),Bt.tail=ft._offset+ft._length*Je):We==="paper"?$e==="y"?(Je=1-Je,Bt.tail=R.t+R.h*Je):Bt.tail=R.l+R.w*Je:Bt.tail=ft._offset+ft.r2p(Je),we=Ye}else Bt.tail=ge+Je,we=Ye+Je;Bt.text=Bt.tail+Ye;var nt=I[$e==="x"?"width":"height"];if(st==="paper"&&(Bt.head=M.constrain(Bt.head,1,nt-1)),ot==="pixel"){var ht=-Math.max(Bt.tail-3,Bt.text),Oe=Math.min(Bt.tail+3,Bt.text)-nt;ht>0?(Bt.tail+=ht,Bt.text+=ht):Oe>0&&(Bt.tail-=Oe,Bt.text-=Oe)}Bt.tail+=Dt,Bt.head+=Dt}else we=Ye=xt*Le(Ve,Ft),Bt.text=ge+Ye;Bt.text+=Dt,Ye+=Dt,we+=Dt,k["_"+$e+"padplus"]=xt/2+we,k["_"+$e+"padminus"]=xt/2-we,k["_"+$e+"size"]=xt,k["_"+$e+"shift"]=Ye}if(Be)te.remove();else{var Ne=0,Qe=0;if(k.align!=="left"&&(Ne=(ae-Se)*(k.align==="center"?.5:1)),k.valign!=="top"&&(Qe=(he-Ce)*(k.valign==="middle"?.5:1)),_e)Pe.select("svg").attr({x:Q+Ne-1,y:Q+Qe}).call(a.setClipUrl,ie?j:null,w);else{var ut=Q+Qe-Me.top,pt=Q+Ne-Me.left;ye.call(s.positionText,pt,ut).call(a.setClipUrl,ie?j:null,w)}oe.select("rect").call(a.setRect,Q,Q,ae,he),re.call(a.setRect,Z/2,Z/2,be-Z,ke-Z),te.call(a.setTranslate,Math.round(Y.x.text-be/2),Math.round(Y.y.text-ke/2)),W.attr({transform:"rotate("+U+","+Y.x.text+","+Y.y.text+")"});var _t,It=function(Lt,yt){G.selectAll(".annotation-arrow-g").remove();var Pt=Y.x.head,wt=Y.y.head,Ot=Y.x.tail+Lt,Nt=Y.y.tail+yt,$t=Y.x.text+Lt,qt=Y.y.text+yt,Xt=M.rotationXYMatrix(U,$t,qt),Qt=M.apply2DTransform(Xt),rn=M.apply2DTransform2(Xt),xn=+re.attr("width"),un=+re.attr("height"),An=$t-.5*xn,Yn=An+xn,kn=qt-.5*un,sn=kn+un,Tn=[[An,kn,An,sn],[An,sn,Yn,sn],[Yn,sn,Yn,kn],[Yn,kn,An,kn]].map(rn);if(!Tn.reduce(function(or,yr){return or^!!M.segmentsIntersect(Pt,wt,Pt+1e6,wt+1e6,yr[0],yr[1],yr[2],yr[3])},!1)){Tn.forEach(function(or){var yr=M.segmentsIntersect(Ot,Nt,Pt,wt,or[0],or[1],or[2],or[3]);yr&&(Ot=yr.x,Nt=yr.y)});var dn=k.arrowwidth,pn=k.arrowcolor,Rn=k.arrowside,In=G.append("g").style({opacity:u.opacity(pn)}).classed("annotation-arrow-g",!0),jn=In.append("path").attr("d","M"+Ot+","+Nt+"L"+Pt+","+wt).style("stroke-width",dn+"px").call(u.stroke,u.rgb(pn));if(m(jn,Rn,k),z.annotationPosition&&jn.node().parentNode&&!T){var Gn=Pt,Wn=wt;if(k.standoff){var ur=Math.sqrt(Math.pow(Pt-Ot,2)+Math.pow(wt-Nt,2));Gn+=k.standoff*(Ot-Pt)/ur,Wn+=k.standoff*(Nt-wt)/ur}var rr,Lr,br=In.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Ot-Gn)+","+(Nt-Wn),transform:v(Gn,Wn)}).style("stroke-width",dn+6+"px").call(u.stroke,"rgba(0,0,0,0)").call(u.fill,"rgba(0,0,0,0)");h.init({element:br.node(),gd:w,prepFn:function(){var or=a.getTranslate(te);rr=or.x,Lr=or.y,A&&A.autorange&&B(A._name+".autorange",!0),L&&L.autorange&&B(L._name+".autorange",!0)},moveFn:function(or,yr){var wr=Qt(rr,Lr),Kt=wr[0]+or,bn=wr[1]+yr;te.call(a.setTranslate,Kt,bn),N("x",y(A,or,"x",R,k)),N("y",y(L,yr,"y",R,k)),k.axref===k.xref&&N("ax",y(A,or,"ax",R,k)),k.ayref===k.yref&&N("ay",y(L,yr,"ay",R,k)),In.attr("transform",v(or,yr)),W.attr({transform:"rotate("+U+","+Kt+","+bn+")"})},doneFn:function(){g.call("_guiRelayout",w,q());var or=document.querySelector(".js-notes-box-panel");or&&or.redraw(or.selectedObj)}})}}};k.showarrow&&It(0,0),H&&h.init({element:te.node(),gd:w,prepFn:function(){_t=W.attr("transform")},moveFn:function(Lt,yt){var Pt="pointer";if(k.showarrow)k.axref===k.xref?N("ax",y(A,Lt,"ax",R,k)):N("ax",k.ax+Lt),k.ayref===k.yref?N("ay",y(L,yt,"ay",R.w,k)):N("ay",k.ay+yt),It(Lt,yt);else{if(T)return;var wt,Ot;if(A)wt=y(A,Lt,"x",R,k);else{var Nt=k._xsize/R.w,$t=k.x+(k._xshift-k.xshift)/R.w-Nt/2;wt=h.align($t+Lt/R.w,Nt,0,1,k.xanchor)}if(L)Ot=y(L,yt,"y",R,k);else{var qt=k._ysize/R.h,Xt=k.y-(k._yshift+k.yshift)/R.h-qt/2;Ot=h.align(Xt-yt/R.h,qt,0,1,k.yanchor)}N("x",wt),N("y",Ot),A&&L||(Pt=h.getCursor(A?.5:wt,L?.5:Ot,k.xanchor,k.yanchor))}W.attr({transform:v(Lt,yt)+_t}),l(te,Pt)},clickFn:function(Lt,yt){k.captureevents&&w.emit("plotly_clickannotation",de(yt))},doneFn:function(){l(te),g.call("_guiRelayout",w,q());var Lt=document.querySelector(".js-notes-box-panel");Lt&&Lt.redraw(Lt.selectedObj)}})}}}x.exports={draw:function(w){var k=w._fullLayout;k._infolayer.selectAll(".annotation").remove();for(var E=0;E=0,T=c.indexOf("end")>=0,A=y.backoff*w+s.standoff,L=C.backoff*k+s.startstandoff;if(_.nodeName==="line"){l={x:+a.attr("x1"),y:+a.attr("y1")},h={x:+a.attr("x2"),y:+a.attr("y2")};var b=l.x-h.x,O=l.y-h.y;if(m=(f=Math.atan2(O,b))+Math.PI,A&&L&&A+L>Math.sqrt(b*b+O*O))return void G();if(A){if(A*A>b*b+O*O)return void G();var I=A*Math.cos(f),R=A*Math.sin(f);h.x+=I,h.y+=R,a.attr({x2:h.x,y2:h.y})}if(L){if(L*L>b*b+O*O)return void G();var z=L*Math.cos(f),F=L*Math.sin(f);l.x-=z,l.y-=F,a.attr({x1:l.x,y1:l.y})}}else if(_.nodeName==="path"){var B=_.getTotalLength(),N="";if(B1){s=!0;break}}s?M.fullLayout._infolayer.select(".annotation-"+M.id+'[data-index="'+a+'"]').remove():(c._pdata=g(M.glplot.cameraParams,[v.xaxis.r2l(c.x)*p[0],v.yaxis.r2l(c.y)*p[1],v.zaxis.r2l(c.z)*p[2]]),d(M.graphDiv,c,a,M.id,c._xa,c._ya))}}},2468:function(x,o,t){var d=t(73972),g=t(71828);x.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:t(26997)}}},layoutAttributes:t(26997),handleDefaults:t(20226),includeBasePlot:function(i,M){var v=d.subplotsRegistry.gl3d;if(v)for(var p=v.attrRegex,u=Object.keys(i),a=0;a=0)))return c;if(m===3)h[m]>1&&(h[m]=1);else if(h[m]>=1)return c}var _=Math.round(255*h[0])+", "+Math.round(255*h[1])+", "+Math.round(255*h[2]);return f?"rgba("+_+", "+h[3]+")":"rgb("+_+")"}M.tinyRGB=function(c){var s=c.toRgb();return"rgb("+Math.round(s.r)+", "+Math.round(s.g)+", "+Math.round(s.b)+")"},M.rgb=function(c){return M.tinyRGB(d(c))},M.opacity=function(c){return c?d(c).getAlpha():0},M.addOpacity=function(c,s){var l=d(c).toRgb();return"rgba("+Math.round(l.r)+", "+Math.round(l.g)+", "+Math.round(l.b)+", "+s+")"},M.combine=function(c,s){var l=d(c).toRgb();if(l.a===1)return d(c).toRgbString();var h=d(s||u).toRgb(),f=h.a===1?h:{r:255*(1-h.a)+h.r*h.a,g:255*(1-h.a)+h.g*h.a,b:255*(1-h.a)+h.b*h.a},m={r:f.r*(1-l.a)+l.r*l.a,g:f.g*(1-l.a)+l.g*l.a,b:f.b*(1-l.a)+l.b*l.a};return d(m).toRgbString()},M.contrast=function(c,s,l){var h=d(c);return h.getAlpha()!==1&&(h=d(M.combine(c,u))),(h.isDark()?s?h.lighten(s):u:l?h.darken(l):p).toString()},M.stroke=function(c,s){var l=d(s);c.style({stroke:M.tinyRGB(l),"stroke-opacity":l.getAlpha()})},M.fill=function(c,s){var l=d(s);c.style({fill:M.tinyRGB(l),"fill-opacity":l.getAlpha()})},M.clean=function(c){if(c&&typeof c=="object"){var s,l,h,f,m=Object.keys(c);for(s=0;s0?Je>=Ne:Je<=Ne));We++)Je>ut&&Je0?Je>=Ne:Je<=Ne));We++)Je>Ke[0]&&Je1){var ot=Math.pow(10,Math.floor(Math.log(st)/Math.LN10));Ye*=ot*u.roundUp(st/ot,[2,5,10]),(Math.abs(_e.start)/_e.size+1e-6)%1<2e-6&&(Ee.tick0=0)}Ee.dtick=Ye}Ee.domain=q?[ge+Q/ue.h,ge+ke-Q/ue.h]:[ge+X/ue.w,ge+ke-X/ue.w],Ee.setScale(),F.attr("transform",a(Math.round(ue.l),Math.round(ue.t)));var ft,bt=F.select("."+L.cbtitleunshift).attr("transform",a(-Math.round(ue.l),-Math.round(ue.t))),Et=Ee.ticklabelposition,kt=Ee.title.font.size,xt=F.select("."+L.cbaxis),Ft=0,Dt=0;function Bt(Wt,Vt){var Ke={propContainer:Ee,propName:B._propPrefix+"title",traceIndex:B._traceIndex,_meta:B._meta,placeholder:oe._dfltTitle.colorbar,containerGroup:F.select("."+L.cbtitle)},Je=Wt.charAt(0)==="h"?Wt.substr(1):"h"+Wt;F.selectAll("."+Je+",."+Je+"-math-group").remove(),f.draw(N,Wt,c(Ke,Vt||{}))}return u.syncOrAsync([i.previousPromises,function(){var Wt,Vt;(q&&Ve||!q&&!Ve)&&(me==="top"&&(Wt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge-ke)+3+.75*kt),me==="bottom"&&(Wt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge)-3-.25*kt),me==="right"&&(Vt=Q+ue.t+ue.h*ie+3+.75*kt,Wt=X+ue.l+ue.w*ge),Bt(Ee._id+"title",{attributes:{x:Wt,y:Vt,"text-anchor":q?"start":"middle"}}))},function(){if(!q&&!Ve||q&&Ve){var Wt,Vt=F.select("."+L.cbtitle),Ke=Vt.select("text"),Je=[-W/2,W/2],We=Vt.select(".h"+Ee._id+"title-math-group").node(),nt=15.6;if(Ke.node()&&(nt=parseInt(Ke.node().style.fontSize,10)*E),We?(Wt=l.bBox(We),Dt=Wt.width,(Ft=Wt.height)>nt&&(Je[1]-=(Ft-nt)/2)):Ke.node()&&!Ke.classed(L.jsPlaceholder)&&(Wt=l.bBox(Ke.node()),Dt=Wt.width,Ft=Wt.height),q){if(Ft){if(Ft+=5,me==="top")Ee.domain[1]-=Ft/ue.h,Je[1]*=-1;else{Ee.domain[0]+=Ft/ue.h;var ht=m.lineCount(Ke);Je[1]+=(1-ht)*nt}Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale()}}else Dt&&(me==="right"&&(Ee.domain[0]+=(Dt+kt/2)/ue.w),Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale())}F.selectAll("."+L.cbfills+",."+L.cblines).attr("transform",q?a(0,Math.round(ue.h*(1-Ee.domain[1]))):a(Math.round(ue.w*Ee.domain[0]),0)),xt.attr("transform",q?a(0,Math.round(-ue.t)):a(Math.round(-ue.l),0));var Oe=F.select("."+L.cbfills).selectAll("rect."+L.cbfill).attr("style","").data(Se);Oe.enter().append("rect").classed(L.cbfill,!0).style("stroke","none"),Oe.exit().remove();var Ne=pe.map(Ee.c2p).map(Math.round).sort(function(It,Lt){return It-Lt});Oe.each(function(It,Lt){var yt=[Lt===0?pe[0]:(Se[Lt]+Se[Lt-1])/2,Lt===Se.length-1?pe[1]:(Se[Lt]+Se[Lt+1])/2].map(Ee.c2p).map(Math.round);q&&(yt[1]=u.constrain(yt[1]+(yt[1]>yt[0])?1:-1,Ne[0],Ne[1]));var Pt=d.select(this).attr(q?"x":"y",Le).attr(q?"y":"x",d.min(yt)).attr(q?"width":"height",Math.max(ae,2)).attr(q?"height":"width",Math.max(d.max(yt)-d.min(yt),2));if(B._fillgradient)l.gradient(Pt,N,B._id,q?"vertical":"horizontalreversed",B._fillgradient,"fill");else{var wt=Pe(It).replace("e-","");Pt.attr("fill",g(wt).toHexString())}});var Qe=F.select("."+L.cblines).selectAll("path."+L.cbline).data(ye.color&&ye.width?Ce:[]);Qe.enter().append("path").classed(L.cbline,!0),Qe.exit().remove(),Qe.each(function(It){var Lt=Le,yt=Math.round(Ee.c2p(It))+ye.width/2%1;d.select(this).attr("d","M"+(q?Lt+","+yt:yt+","+Lt)+(q?"h":"v")+ae).call(l.lineGroupStyle,ye.width,xe(It),ye.dash)}),xt.selectAll("g."+Ee._id+"tick,path").remove();var ut=Le+ae+(W||0)/2-(B.ticks==="outside"?1:0),pt=v.calcTicks(Ee),_t=v.getTickSigns(Ee)[2];return v.drawTicks(N,Ee,{vals:Ee.ticks==="inside"?v.clipEnds(Ee,pt):pt,layer:xt,path:v.makeTickPath(Ee,ut,_t),transFn:v.makeTransTickFn(Ee)}),v.drawLabels(N,Ee,{vals:pt,layer:xt,transFn:v.makeTransTickLabelFn(Ee),labelFns:v.makeLabelFns(Ee,ut)})},function(){if(q&&!Ve||!q&&Ve){var Wt,Vt,Ke=Ee.position||0,Je=Ee._offset+Ee._length/2;if(me==="right")Vt=Je,Wt=ue.l+ue.w*Ke+10+kt*(Ee.showticklabels?1:.5);else if(Wt=Je,me==="bottom"&&(Vt=ue.t+ue.h*Ke+10+(Et.indexOf("inside")===-1?Ee.tickfont.size:0)+(Ee.ticks!=="intside"&&B.ticklen||0)),me==="top"){var We=de.text.split("
").length;Vt=ue.t+ue.h*Ke+10-ae-E*kt*We}Bt((q?"h":"v")+Ee._id+"title",{avoid:{selection:d.select(N).selectAll("g."+Ee._id+"tick"),side:me,offsetTop:q?0:ue.t,offsetLeft:q?ue.l:0,maxShift:q?oe.width:oe.height},attributes:{x:Wt,y:Vt,"text-anchor":"middle"},transform:{rotate:q?-90:0,offset:0}})}},i.previousPromises,function(){var Wt,Vt=ae+W/2;Et.indexOf("inside")===-1&&(Wt=l.bBox(xt.node()),Vt+=q?Wt.width:Wt.height),ft=bt.select("text");var Ke=0,Je=q&&me==="top",We=!q&&me==="right",nt=0;if(ft.node()&&!ft.classed(L.jsPlaceholder)){var ht,Oe=bt.select(".h"+Ee._id+"title-math-group").node();Oe&&(q&&Ve||!q&&!Ve)?(Ke=(Wt=l.bBox(Oe)).width,ht=Wt.height):(Ke=(Wt=l.bBox(bt.node())).right-ue.l-(q?Le:we),ht=Wt.bottom-ue.t-(q?we:Le),q||me!=="top"||(Vt+=Wt.height,nt=Wt.height)),We&&(ft.attr("transform",a(Ke/2+kt/2,0)),Ke*=2),Vt=Math.max(Vt,q?Ke:ht)}var Ne=2*(q?X:Q)+Vt+H+W/2,Qe=0;!q&&de.text&&Z==="bottom"&&ie<=0&&(Ne+=Qe=Ne/2,nt+=Qe),oe._hColorbarMoveTitle=Qe,oe._hColorbarMoveCBTitle=nt;var ut=H+W;F.select("."+L.cbbg).attr("x",(q?Le:we)-ut/2-(q?X:0)).attr("y",(q?we:Le)-(q?be:Q+nt-Qe)).attr(q?"width":"height",Math.max(Ne-Qe,2)).attr(q?"height":"width",Math.max(be+ut,2)).call(h.fill,ne).call(h.stroke,B.bordercolor).style("stroke-width",H);var pt=We?Math.max(Ke-10,0):0;if(F.selectAll("."+L.cboutline).attr("x",(q?Le:we+X)+pt).attr("y",(q?we+Q-be:Le)+(Je?Ft:0)).attr(q?"width":"height",Math.max(ae,2)).attr(q?"height":"width",Math.max(be-(q?2*Q+Ft:2*X+pt),2)).call(h.stroke,B.outlinecolor).style({fill:"none","stroke-width":W}),F.attr("transform",a(ue.l-(q?Be*Ne:0),ue.t-(q?0:(1-ze)*Ne-nt))),!q&&(H||g(ne).getAlpha()&&!g.equals(oe.paper_bgcolor,ne))){var _t=xt.selectAll("text"),It=_t[0].length,Lt=F.select("."+L.cbbg).node(),yt=l.bBox(Lt),Pt=l.getTranslate(F);_t.each(function(Qt,rn){var xn=It-1;if(rn===0||rn===xn){var un,An=l.bBox(this),Yn=l.getTranslate(this);if(rn===xn){var kn=An.right+Yn.x;(un=yt.right+Pt.x+we-H-2+re-kn)>0&&(un=0)}else if(rn===0){var sn=An.left+Yn.x;(un=yt.left+Pt.x+we+H+2-sn)<0&&(un=0)}un&&(It<3?this.setAttribute("transform","translate("+un+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var wt={},Ot=T[te],Nt=A[te],$t=T[Z],qt=A[Z],Xt=Ne-ae;q?(Y==="pixels"?(wt.y=ie,wt.t=be*$t,wt.b=be*qt):(wt.t=wt.b=0,wt.yt=ie+j*$t,wt.yb=ie-j*qt),G==="pixels"?(wt.x=re,wt.l=Ne*Ot,wt.r=Ne*Nt):(wt.l=Xt*Ot,wt.r=Xt*Nt,wt.xl=re-U*Ot,wt.xr=re+U*Nt)):(Y==="pixels"?(wt.x=re,wt.l=be*Ot,wt.r=be*Nt):(wt.l=wt.r=0,wt.xl=re+j*Ot,wt.xr=re-j*Nt),G==="pixels"?(wt.y=1-ie,wt.t=Ne*$t,wt.b=Ne*qt):(wt.t=Xt*$t,wt.b=Xt*qt,wt.yt=ie-U*$t,wt.yb=ie+U*qt)),i.autoMargin(N,B._id,wt)}],N)}(R,I,b);z&&z.then&&(b._promises||[]).push(z),b._context.edits.colorbarPosition&&function(F,B,N){var q,j,Y,U=B.orientation==="v",G=N._fullLayout._size;p.init({element:F.node(),gd:N,prepFn:function(){q=F.attr("transform"),s(F)},moveFn:function(W,H){F.attr("transform",q+a(W,H)),j=p.align((U?B._uFrac:B._vFrac)+W/G.w,U?B._thickFrac:B._lenFrac,0,1,B.xanchor),Y=p.align((U?B._vFrac:1-B._uFrac)-H/G.h,U?B._lenFrac:B._thickFrac,0,1,B.yanchor);var ne=p.getCursor(j,Y,B.xanchor,B.yanchor);s(F,ne)},doneFn:function(){if(s(F),j!==void 0&&Y!==void 0){var W={};W[B._propPrefix+"x"]=j,W[B._propPrefix+"y"]=Y,B._traceIndex!==void 0?M.call("_guiRestyle",N,W,B._traceIndex):M.call("_guiRelayout",N,W)}}})}(R,I,b)}),O.exit().each(function(I){i.autoMargin(b,I._id)}).remove(),O.order()}}},76228:function(x,o,t){var d=t(71828);x.exports=function(g){return d.isPlainObject(g.colorbar)}},12311:function(x,o,t){x.exports={moduleType:"component",name:"colorbar",attributes:t(63583),supplyDefaults:t(62499),draw:t(98981).draw,hasColorbar:t(76228)}},50693:function(x,o,t){var d=t(63583),g=t(30587).counter,i=t(78607),M=t(63282).scales;function v(p){return"`"+p+"`"}i(M),x.exports=function(p,u){p=p||"";var a,c=(u=u||{}).cLetter||"c",s=("onlyIfNumerical"in u&&u.onlyIfNumerical,"noScale"in u?u.noScale:p==="marker.line"),l="showScaleDflt"in u?u.showScaleDflt:c==="z",h=typeof u.colorscaleDflt=="string"?M[u.colorscaleDflt]:null,f=u.editTypeOverride||"",m=p?p+".":"";"colorAttr"in u?(a=u.colorAttr,u.colorAttr):v(m+(a={z:"z",c:"color"}[c]));var _=c+"auto",y=c+"min",C=c+"max",w=c+"mid",k={};k[y]=k[C]=void 0;var E={};E[_]=!1;var T={};return a==="color"&&(T.color={valType:"color",arrayOk:!0,editType:f||"style"},u.anim&&(T.color.anim=!0)),T[_]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:k},T[y]={valType:"number",dflt:null,editType:f||"plot",impliedEdits:E},T[C]={valType:"number",dflt:null,editType:f||"plot",impliedEdits:E},T[w]={valType:"number",dflt:null,editType:"calc",impliedEdits:k},T.colorscale={valType:"colorscale",editType:"calc",dflt:h,impliedEdits:{autocolorscale:!1}},T.autocolorscale={valType:"boolean",dflt:u.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},T.reversescale={valType:"boolean",dflt:!1,editType:"plot"},s||(T.showscale={valType:"boolean",dflt:l,editType:"calc"},T.colorbar=d),u.noColorAxis||(T.coloraxis={valType:"subplotid",regex:g("coloraxis"),dflt:null,editType:"calc"}),T}},78803:function(x,o,t){var d=t(92770),g=t(71828),i=t(52075).extractOpts;x.exports=function(M,v,p){var u,a=M._fullLayout,c=p.vals,s=p.containerStr,l=s?g.nestedProperty(v,s).get():v,h=i(l),f=h.auto!==!1,m=h.min,_=h.max,y=h.mid,C=function(){return g.aggNums(Math.min,null,c)},w=function(){return g.aggNums(Math.max,null,c)};m===void 0?m=C():f&&(m=l._colorAx&&d(m)?Math.min(m,C()):C()),_===void 0?_=w():f&&(_=l._colorAx&&d(_)?Math.max(_,w()):w()),f&&y!==void 0&&(_-y>y-m?m=y-(_-y):_-y=0?a.colorscale.sequential:a.colorscale.sequentialminus,h._sync("colorscale",u))}},33046:function(x,o,t){var d=t(71828),g=t(52075).hasColorscale,i=t(52075).extractOpts;x.exports=function(M,v){function p(f,m){var _=f["_"+m];_!==void 0&&(f[m]=_)}function u(f,m){var _=m.container?d.nestedProperty(f,m.container).get():f;if(_)if(_.coloraxis)_._colorAx=v[_.coloraxis];else{var y=i(_),C=y.auto;(C||y.min===void 0)&&p(_,m.min),(C||y.max===void 0)&&p(_,m.max),y.autocolorscale&&p(_,"colorscale")}}for(var a=0;a=0;C--,w++){var k=m[C];y[w]=[1-k[0],k[1]]}return y}function h(m,_){_=_||{};for(var y=m.domain,C=m.range,w=C.length,k=new Array(w),E=0;E1.3333333333333333-p?v:p}},70461:function(x,o,t){var d=t(71828),g=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];x.exports=function(i,M,v,p){return i=v==="left"?0:v==="center"?1:v==="right"?2:d.constrain(Math.floor(3*i),0,2),M=p==="bottom"?0:p==="middle"?1:p==="top"?2:d.constrain(Math.floor(3*M),0,2),g[M][i]}},64505:function(x,o){o.selectMode=function(t){return t==="lasso"||t==="select"},o.drawMode=function(t){return t==="drawclosedpath"||t==="drawopenpath"||t==="drawline"||t==="drawrect"||t==="drawcircle"},o.openMode=function(t){return t==="drawline"||t==="drawopenpath"},o.rectMode=function(t){return t==="select"||t==="drawline"||t==="drawrect"||t==="drawcircle"},o.freeMode=function(t){return t==="lasso"||t==="drawclosedpath"||t==="drawopenpath"},o.selectingOrDrawing=function(t){return o.freeMode(t)||o.rectMode(t)}},28569:function(x,o,t){var d=t(48956),g=t(57035),i=t(38520),M=t(71828).removeElement,v=t(85555),p=x.exports={};p.align=t(92807),p.getCursor=t(70461);var u=t(26041);function a(){var s=document.createElement("div");s.className="dragcover";var l=s.style;return l.position="fixed",l.left=0,l.right=0,l.top=0,l.bottom=0,l.zIndex=999999999,l.background="none",document.body.appendChild(s),s}function c(s){return d(s.changedTouches?s.changedTouches[0]:s,document.body)}p.unhover=u.wrapped,p.unhoverRaw=u.raw,p.init=function(s){var l,h,f,m,_,y,C,w,k=s.gd,E=1,T=k._context.doubleClickDelay,A=s.element;k._mouseDownTime||(k._mouseDownTime=0),A.style.pointerEvents="all",A.onmousedown=b,i?(A._ontouchstart&&A.removeEventListener("touchstart",A._ontouchstart),A._ontouchstart=b,A.addEventListener("touchstart",b,{passive:!1})):A.ontouchstart=b;var L=s.clampFn||function(R,z,F){return Math.abs(R)T&&(E=Math.max(E-1,1)),k._dragged)s.doneFn&&s.doneFn();else if(s.clickFn&&s.clickFn(E,y),!w){var z;try{z=new MouseEvent("click",R)}catch{var F=c(R);(z=document.createEvent("MouseEvents")).initMouseEvent("click",R.bubbles,R.cancelable,R.view,R.detail,R.screenX,R.screenY,F[0],F[1],R.ctrlKey,R.altKey,R.shiftKey,R.metaKey,R.button,R.relatedTarget)}C.dispatchEvent(z)}k._dragging=!1,k._dragged=!1}else k._dragged=!1}},p.coverSlip=a},26041:function(x,o,t){var d=t(11086),g=t(79990),i=t(24401).getGraphDiv,M=t(26675),v=x.exports={};v.wrapped=function(p,u,a){(p=i(p))._fullLayout&&g.clear(p._fullLayout._uid+M.HOVERID),v.raw(p,u,a)},v.raw=function(p,u){var a=p._fullLayout,c=p._hoverdata;u||(u={}),u.target&&!p._dragged&&d.triggerHandler(p,"plotly_beforehover",u)===!1||(a._hoverlayer.selectAll("g").remove(),a._hoverlayer.selectAll("line").remove(),a._hoverlayer.selectAll("circle").remove(),p._hoverdata=void 0,u.target&&c&&p.emit("plotly_unhover",{event:u,points:c}))}},79952:function(x,o){o.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},o.u={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"}},91424:function(x,o,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(92770),v=t(84267),p=t(73972),u=t(7901),a=t(21081),c=g.strTranslate,s=t(63893),l=t(77922),h=t(18783).LINE_SPACING,f=t(37822).DESELECTDIM,m=t(34098),_=t(39984),y=t(23469).appendArrayPointValue,C=x.exports={};function w(_e,Me,Se){var Ce=Me.fillpattern,ae=Ce&&C.getPatternAttr(Ce.shape,0,"");if(ae){var he=C.getPatternAttr(Ce.bgcolor,0,null),be=C.getPatternAttr(Ce.fgcolor,0,null),ke=Ce.fgopacity,Le=C.getPatternAttr(Ce.size,0,8),Be=C.getPatternAttr(Ce.solidity,0,.3),ze=Me.uid;C.pattern(_e,"point",Se,ze,ae,Le,Be,void 0,Ce.fillmode,he,be,ke)}else Me.fillcolor&&_e.call(u.fill,Me.fillcolor)}C.font=function(_e,Me,Se,Ce){g.isPlainObject(Me)&&(Ce=Me.color,Se=Me.size,Me=Me.family),Me&&_e.style("font-family",Me),Se+1&&_e.style("font-size",Se+"px"),Ce&&_e.call(u.fill,Ce)},C.setPosition=function(_e,Me,Se){_e.attr("x",Me).attr("y",Se)},C.setSize=function(_e,Me,Se){_e.attr("width",Me).attr("height",Se)},C.setRect=function(_e,Me,Se,Ce,ae){_e.call(C.setPosition,Me,Se).call(C.setSize,Ce,ae)},C.translatePoint=function(_e,Me,Se,Ce){var ae=Se.c2p(_e.x),he=Ce.c2p(_e.y);return!!(M(ae)&&M(he)&&Me.node())&&(Me.node().nodeName==="text"?Me.attr("x",ae).attr("y",he):Me.attr("transform",c(ae,he)),!0)},C.translatePoints=function(_e,Me,Se){_e.each(function(Ce){var ae=d.select(this);C.translatePoint(Ce,ae,Me,Se)})},C.hideOutsideRangePoint=function(_e,Me,Se,Ce,ae,he){Me.attr("display",Se.isPtWithinRange(_e,ae)&&Ce.isPtWithinRange(_e,he)?null:"none")},C.hideOutsideRangePoints=function(_e,Me){if(Me._hasClipOnAxisFalse){var Se=Me.xaxis,Ce=Me.yaxis;_e.each(function(ae){var he=ae[0].trace,be=he.xcalendar,ke=he.ycalendar,Le=p.traceIs(he,"bar-like")?".bartext":".point,.textpoint";_e.selectAll(Le).each(function(Be){C.hideOutsideRangePoint(Be,d.select(this),Se,Ce,be,ke)})})}},C.crispRound=function(_e,Me,Se){return Me&&M(Me)?_e._context.staticPlot?Me:Me<1?1:Math.round(Me):Se||0},C.singleLineStyle=function(_e,Me,Se,Ce,ae){Me.style("fill","none");var he=(((_e||[])[0]||{}).trace||{}).line||{},be=Se||he.width||0,ke=ae||he.dash||"";u.stroke(Me,Ce||he.color),C.dashLine(Me,ke,be)},C.lineGroupStyle=function(_e,Me,Se,Ce){_e.style("fill","none").each(function(ae){var he=(((ae||[])[0]||{}).trace||{}).line||{},be=Me||he.width||0,ke=Ce||he.dash||"";d.select(this).call(u.stroke,Se||he.color).call(C.dashLine,ke,be)})},C.dashLine=function(_e,Me,Se){Se=+Se||0,Me=C.dashStyle(Me,Se),_e.style({"stroke-dasharray":Me,"stroke-width":Se+"px"})},C.dashStyle=function(_e,Me){Me=+Me||1;var Se=Math.max(Me,3);return _e==="solid"?_e="":_e==="dot"?_e=Se+"px,"+Se+"px":_e==="dash"?_e=3*Se+"px,"+3*Se+"px":_e==="longdash"?_e=5*Se+"px,"+5*Se+"px":_e==="dashdot"?_e=3*Se+"px,"+Se+"px,"+Se+"px,"+Se+"px":_e==="longdashdot"&&(_e=5*Se+"px,"+2*Se+"px,"+Se+"px,"+2*Se+"px"),_e},C.singleFillStyle=function(_e,Me){var Se=d.select(_e.node());w(_e,((Se.data()[0]||[])[0]||{}).trace||{},Me)},C.fillGroupStyle=function(_e,Me){_e.style("stroke-width",0).each(function(Se){var Ce=d.select(this);Se[0].trace&&w(Ce,Se[0].trace,Me)})};var k=t(90998);C.symbolNames=[],C.symbolFuncs=[],C.symbolBackOffs=[],C.symbolNeedLines={},C.symbolNoDot={},C.symbolNoFill={},C.symbolList=[],Object.keys(k).forEach(function(_e){var Me=k[_e],Se=Me.n;C.symbolList.push(Se,String(Se),_e,Se+100,String(Se+100),_e+"-open"),C.symbolNames[Se]=_e,C.symbolFuncs[Se]=Me.f,C.symbolBackOffs[Se]=Me.backoff||0,Me.needLine&&(C.symbolNeedLines[Se]=!0),Me.noDot?C.symbolNoDot[Se]=!0:C.symbolList.push(Se+200,String(Se+200),_e+"-dot",Se+300,String(Se+300),_e+"-open-dot"),Me.noFill&&(C.symbolNoFill[Se]=!0)});var E=C.symbolNames.length;function T(_e,Me,Se,Ce){var ae=_e%100;return C.symbolFuncs[ae](Me,Se,Ce)+(_e>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}C.symbolNumber=function(_e){if(M(_e))_e=+_e;else if(typeof _e=="string"){var Me=0;_e.indexOf("-open")>0&&(Me=100,_e=_e.replace("-open","")),_e.indexOf("-dot")>0&&(Me+=200,_e=_e.replace("-dot","")),(_e=C.symbolNames.indexOf(_e))>=0&&(_e+=Me)}return _e%100>=E||_e>=400?0:Math.floor(Math.max(_e,0))};var A={x1:1,x2:0,y1:0,y2:0},L={x1:0,x2:0,y1:1,y2:0},b=i("~f"),O={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:A},horizontalreversed:{node:"linearGradient",attrs:A,reversed:!0},vertical:{node:"linearGradient",attrs:L},verticalreversed:{node:"linearGradient",attrs:L,reversed:!0}};C.gradient=function(_e,Me,Se,Ce,ae,he){for(var be=ae.length,ke=O[Ce],Le=new Array(be),Be=0;Be=100;var Be=Pe(_e,Se),ze=Q(_e,Se);Me.attr("d",T(Le,ke,Be,ze))}var je,ge,we,Ee=!1;if(_e.so)we=be.outlierwidth,ge=be.outliercolor,je=he.outliercolor;else{var Ve=(be||{}).width;we=(_e.mlw+1||Ve+1||(_e.trace?(_e.trace.marker.line||{}).width:0)+1)-1||0,ge="mlc"in _e?_e.mlcc=Ce.lineScale(_e.mlc):g.isArrayOrTypedArray(be.color)?u.defaultLine:be.color,g.isArrayOrTypedArray(he.color)&&(je=u.defaultLine,Ee=!0),je="mc"in _e?_e.mcc=Ce.markerScale(_e.mc):he.color||"rgba(0,0,0,0)",Ce.selectedColorFn&&(je=Ce.selectedColorFn(_e))}if(_e.om)Me.call(u.stroke,je).style({"stroke-width":(we||1)+"px",fill:"none"});else{Me.style("stroke-width",(_e.isBlank?0:we)+"px");var Ye=he.gradient,$e=_e.mgt;$e?Ee=!0:$e=Ye&&Ye.type,g.isArrayOrTypedArray($e)&&($e=$e[0],O[$e]||($e=0));var st=he.pattern,ot=st&&C.getPatternAttr(st.shape,_e.i,"");if($e&&$e!=="none"){var ft=_e.mgc;ft?Ee=!0:ft=Ye.color;var bt=Se.uid;Ee&&(bt+="-"+_e.i),C.gradient(Me,ae,bt,$e,[[0,ft],[1,je]],"fill")}else if(ot){var Et=C.getPatternAttr(st.bgcolor,_e.i,null),kt=C.getPatternAttr(st.fgcolor,_e.i,null),xt=st.fgopacity,Ft=C.getPatternAttr(st.size,_e.i,8),Dt=C.getPatternAttr(st.solidity,_e.i,.3),Bt=_e.mcc||g.isArrayOrTypedArray(st.shape)||g.isArrayOrTypedArray(st.bgcolor)||g.isArrayOrTypedArray(st.size)||g.isArrayOrTypedArray(st.solidity),Wt=Se.uid;Bt&&(Wt+="-"+_e.i),C.pattern(Me,"point",ae,Wt,ot,Ft,Dt,_e.mcc,st.fillmode,Et,kt,xt)}else u.fill(Me,je);we&&u.stroke(Me,ge)}},C.makePointStyleFns=function(_e){var Me={},Se=_e.marker;return Me.markerScale=C.tryColorscale(Se,""),Me.lineScale=C.tryColorscale(Se,"line"),p.traceIs(_e,"symbols")&&(Me.ms2mrc=m.isBubble(_e)?_(_e):function(){return(Se.size||6)/2}),_e.selectedpoints&&g.extendFlat(Me,C.makeSelectedPointStyleFns(_e)),Me},C.makeSelectedPointStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.marker||{},he=Se.marker||{},be=Ce.marker||{},ke=ae.opacity,Le=he.opacity,Be=be.opacity,ze=Le!==void 0,je=Be!==void 0;(g.isArrayOrTypedArray(ke)||ze||je)&&(Me.selectedOpacityFn=function(ft){var bt=ft.mo===void 0?ae.opacity:ft.mo;return ft.selected?ze?Le:bt:je?Be:f*bt});var ge=ae.color,we=he.color,Ee=be.color;(we||Ee)&&(Me.selectedColorFn=function(ft){var bt=ft.mcc||ge;return ft.selected?we||bt:Ee||bt});var Ve=ae.size,Ye=he.size,$e=be.size,st=Ye!==void 0,ot=$e!==void 0;return p.traceIs(_e,"symbols")&&(st||ot)&&(Me.selectedSizeFn=function(ft){var bt=ft.mrc||Ve/2;return ft.selected?st?Ye/2:bt:ot?$e/2:bt}),Me},C.makeSelectedTextStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.textfont||{},he=Se.textfont||{},be=Ce.textfont||{},ke=ae.color,Le=he.color,Be=be.color;return Me.selectedTextColorFn=function(ze){var je=ze.tc||ke;return ze.selected?Le||je:Be||(Le?je:u.addOpacity(je,f))},Me},C.selectedPointStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=C.makeSelectedPointStyleFns(Me),Ce=Me.marker||{},ae=[];Se.selectedOpacityFn&&ae.push(function(he,be){he.style("opacity",Se.selectedOpacityFn(be))}),Se.selectedColorFn&&ae.push(function(he,be){u.fill(he,Se.selectedColorFn(be))}),Se.selectedSizeFn&&ae.push(function(he,be){var ke=be.mx||Ce.symbol||0,Le=Se.selectedSizeFn(be);he.attr("d",T(C.symbolNumber(ke),Le,Pe(be,Me),Q(be,Me))),be.mrc2=Le}),ae.length&&_e.each(function(he){for(var be=d.select(this),ke=0;ke0?Se:0}function N(_e,Me,Se){return Se&&(_e=W(_e)),Me?j(_e[1]):q(_e[0])}function q(_e){var Me=d.round(_e,2);return I=Me,Me}function j(_e){var Me=d.round(_e,2);return R=Me,Me}function Y(_e,Me,Se,Ce){var ae=_e[0]-Me[0],he=_e[1]-Me[1],be=Se[0]-Me[0],ke=Se[1]-Me[1],Le=Math.pow(ae*ae+he*he,.25),Be=Math.pow(be*be+ke*ke,.25),ze=(Be*Be*ae-Le*Le*be)*Ce,je=(Be*Be*he-Le*Le*ke)*Ce,ge=3*Be*(Le+Be),we=3*Le*(Le+Be);return[[q(Me[0]+(ge&&ze/ge)),j(Me[1]+(ge&&je/ge))],[q(Me[0]-(we&&ze/we)),j(Me[1]-(we&&je/we))]]}C.textPointStyle=function(_e,Me,Se){if(_e.size()){var Ce;if(Me.selectedpoints){var ae=C.makeSelectedTextStyleFns(Me);Ce=ae.selectedTextColorFn}var he=Me.texttemplate,be=Se._fullLayout;_e.each(function(ke){var Le=d.select(this),Be=he?g.extractOption(ke,Me,"txt","texttemplate"):g.extractOption(ke,Me,"tx","text");if(Be||Be===0){if(he){var ze=Me._module.formatLabels,je=ze?ze(ke,Me,be):{},ge={};y(ge,Me,ke.i);var we=Me._meta||{};Be=g.texttemplateString(Be,je,be._d3locale,ge,ke,we)}var Ee=ke.tp||Me.textposition,Ve=B(ke,Me),Ye=Ce?Ce(ke):ke.tc||Me.textfont.color;Le.call(C.font,ke.tf||Me.textfont.family,Ve,Ye).text(Be).call(s.convertToTspans,Se).call(F,Ee,Ve,ke.mrc)}else Le.remove()})}},C.selectedTextStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=C.makeSelectedTextStyleFns(Me);_e.each(function(Ce){var ae=d.select(this),he=Se.selectedTextColorFn(Ce),be=Ce.tp||Me.textposition,ke=B(Ce,Me);u.fill(ae,he);var Le=p.traceIs(Me,"bar-like");F(ae,be,ke,Ce.mrc2||Ce.mrc,Le)})}},C.smoothopen=function(_e,Me){if(_e.length<3)return"M"+_e.join("L");var Se,Ce="M"+_e[0],ae=[];for(Se=1;Se<_e.length-1;Se++)ae.push(Y(_e[Se-1],_e[Se],_e[Se+1],Me));for(Ce+="Q"+ae[0][0]+" "+_e[1],Se=2;Se<_e.length-1;Se++)Ce+="C"+ae[Se-2][1]+" "+ae[Se-1][0]+" "+_e[Se];return Ce+"Q"+ae[_e.length-3][1]+" "+_e[_e.length-1]},C.smoothclosed=function(_e,Me){if(_e.length<3)return"M"+_e.join("L")+"Z";var Se,Ce="M"+_e[0],ae=_e.length-1,he=[Y(_e[ae],_e[0],_e[1],Me)];for(Se=1;Se=Le||ft>=ze&&ft<=Le)&&(bt<=je&&bt>=Be||bt>=je&&bt<=Be)&&(_e=[ft,bt])}return _e}C.steps=function(_e){var Me=U[_e]||G;return function(Se){for(var Ce="M"+q(Se[0][0])+","+j(Se[0][1]),ae=Se.length,he=1;he=1e4&&(C.savedBBoxes={},H=0),Se&&(C.savedBBoxes[Se]=we),H++,g.extendFlat({},we)},C.setClipUrl=function(_e,Me,Se){_e.attr("clip-path",te(Me,Se))},C.getTranslate=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||0,y:+Me[1]||0}},C.setTranslate=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",he=_e[Ce]("transform")||"";return Me=Me||0,Se=Se||0,he=he.replace(/(\btranslate\(.*?\);?)/,"").trim(),he=(he+=c(Me,Se)).trim(),_e[ae]("transform",he),he},C.getScale=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||1,y:+Me[1]||1}},C.setScale=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",he=_e[Ce]("transform")||"";return Me=Me||1,Se=Se||1,he=he.replace(/(\bscale\(.*?\);?)/,"").trim(),he=(he+="scale("+Me+","+Se+")").trim(),_e[ae]("transform",he),he};var Z=/\s*sc.*/;C.setPointGroupScale=function(_e,Me,Se){if(Me=Me||1,Se=Se||1,_e){var Ce=Me===1&&Se===1?"":"scale("+Me+","+Se+")";_e.each(function(){var ae=(this.getAttribute("transform")||"").replace(Z,"");ae=(ae+=Ce).trim(),this.setAttribute("transform",ae)})}};var X=/translate\([^)]*\)\s*$/;function Q(_e,Me){var Se;return _e&&(Se=_e.mf),Se===void 0&&(Se=Me.marker&&Me.marker.standoff||0),Me._geo||Me._xA?Se:-Se}C.setTextPointsScale=function(_e,Me,Se){_e&&_e.each(function(){var Ce,ae=d.select(this),he=ae.select("text");if(he.node()){var be=parseFloat(he.attr("x")||0),ke=parseFloat(he.attr("y")||0),Le=(ae.attr("transform")||"").match(X);Ce=Me===1&&Se===1?[]:[c(be,ke),"scale("+Me+","+Se+")",c(-be,-ke)],Le&&Ce.push(Le),ae.attr("transform",Ce.join(""))}})},C.getMarkerStandoff=Q;var re,ie,oe,ue,ce,ye,de=Math.atan2,me=Math.cos,pe=Math.sin;function xe(_e,Me){var Se=Me[0],Ce=Me[1];return[Se*me(_e)-Ce*pe(_e),Se*pe(_e)+Ce*me(_e)]}function Pe(_e,Me){var Se,Ce,ae=_e.ma;ae===void 0&&(ae=Me.marker.angle||0);var he=Me.marker.angleref;if(he==="previous"||he==="north"){if(Me._geo){var be=Me._geo.project(_e.lonlat);Se=be[0],Ce=be[1]}else{var ke=Me._xA,Le=Me._yA;if(!ke||!Le)return 90;Se=ke.c2p(_e.x),Ce=Le.c2p(_e.y)}if(Me._geo){var Be,ze=_e.lonlat[0],je=_e.lonlat[1],ge=Me._geo.project([ze,je+1e-5]),we=Me._geo.project([ze+1e-5,je]),Ee=de(we[1]-Ce,we[0]-Se),Ve=de(ge[1]-Ce,ge[0]-Se);if(he==="north")Be=ae/180*Math.PI;else if(he==="previous"){var Ye=ze/180*Math.PI,$e=je/180*Math.PI,st=re/180*Math.PI,ot=ie/180*Math.PI,ft=st-Ye,bt=me(ot)*pe(ft),Et=pe(ot)*me($e)-me(ot)*pe($e)*me(ft);Be=-de(bt,Et)-Math.PI,re=ze,ie=je}var kt=xe(Ee,[me(Be),0]),xt=xe(Ve,[pe(Be),0]);ae=de(kt[1]+xt[1],kt[0]+xt[0])/Math.PI*180,he!=="previous"||ye===Me.uid&&_e.i===ce+1||(ae=null)}if(he==="previous"&&!Me._geo)if(ye===Me.uid&&_e.i===ce+1&&M(Se)&&M(Ce)){var Ft=Se-oe,Dt=Ce-ue,Bt=Me.line&&Me.line.shape||"",Wt=Bt.slice(Bt.length-1);Wt==="h"&&(Dt=0),Wt==="v"&&(Ft=0),ae+=de(Dt,Ft)/Math.PI*180+90}else ae=null}return oe=Se,ue=Ce,ce=_e.i,ye=Me.uid,ae}C.getMarkerAngle=Pe},90998:function(x,o,t){var d,g,i,M,v=t(95616),p=t(39898).round,u="M0,0Z",a=Math.sqrt(2),c=Math.sqrt(3),s=Math.PI,l=Math.cos,h=Math.sin;function f(_){return _===null}function m(_,y,C){if(!(_&&_%360!=0||y))return C;if(i===_&&M===y&&d===C)return g;function w(N,q){var j=l(N),Y=h(N),U=q[0],G=q[1]+(y||0);return[U*j-G*Y,U*Y+G*j]}i=_,M=y,d=C;for(var k=_/180*s,E=0,T=0,A=v(C),L="",b=0;b0,h=v._context.staticPlot;p.each(function(f){var m,_=f[0].trace,y=_.error_x||{},C=_.error_y||{};_.ids&&(m=function(T){return T.id});var w=M.hasMarkers(_)&&_.marker.maxdisplayed>0;C.visible||y.visible||(f=[]);var k=d.select(this).selectAll("g.errorbar").data(f,m);if(k.exit().remove(),f.length){y.visible||k.selectAll("path.xerror").remove(),C.visible||k.selectAll("path.yerror").remove(),k.style("opacity",1);var E=k.enter().append("g").classed("errorbar",!0);l&&E.style("opacity",0).transition().duration(a.duration).style("opacity",1),i.setClipUrl(k,u.layerClipId,v),k.each(function(T){var A=d.select(this),L=function(F,B,N){var q={x:B.c2p(F.x),y:N.c2p(F.y)};return F.yh!==void 0&&(q.yh=N.c2p(F.yh),q.ys=N.c2p(F.ys),g(q.ys)||(q.noYS=!0,q.ys=N.c2p(F.ys,!0))),F.xh!==void 0&&(q.xh=B.c2p(F.xh),q.xs=B.c2p(F.xs),g(q.xs)||(q.noXS=!0,q.xs=B.c2p(F.xs,!0))),q}(T,c,s);if(!w||T.vis){var b,O=A.select("path.yerror");if(C.visible&&g(L.x)&&g(L.yh)&&g(L.ys)){var I=C.width;b="M"+(L.x-I)+","+L.yh+"h"+2*I+"m-"+I+",0V"+L.ys,L.noYS||(b+="m-"+I+",0h"+2*I),O.size()?l&&(O=O.transition().duration(a.duration).ease(a.easing)):O=A.append("path").style("vector-effect",h?"none":"non-scaling-stroke").classed("yerror",!0),O.attr("d",b)}else O.remove();var R=A.select("path.xerror");if(y.visible&&g(L.y)&&g(L.xh)&&g(L.xs)){var z=(y.copy_ystyle?C:y).width;b="M"+L.xh+","+(L.y-z)+"v"+2*z+"m0,-"+z+"H"+L.xs,L.noXS||(b+="m0,-"+z+"v"+2*z),R.size()?l&&(R=R.transition().duration(a.duration).ease(a.easing)):R=A.append("path").style("vector-effect",h?"none":"non-scaling-stroke").classed("xerror",!0),R.attr("d",b)}else R.remove()}})}})}},62662:function(x,o,t){var d=t(39898),g=t(7901);x.exports=function(i){i.each(function(M){var v=M[0].trace,p=v.error_y||{},u=v.error_x||{},a=d.select(this);a.selectAll("path.yerror").style("stroke-width",p.thickness+"px").call(g.stroke,p.color),u.copy_ystyle&&(u=p),a.selectAll("path.xerror").style("stroke-width",u.thickness+"px").call(g.stroke,u.color)})}},77914:function(x,o,t){var d=t(41940),g=t(528).hoverlabel,i=t(1426).extendFlat;x.exports={hoverlabel:{bgcolor:i({},g.bgcolor,{arrayOk:!0}),bordercolor:i({},g.bordercolor,{arrayOk:!0}),font:d({arrayOk:!0,editType:"none"}),align:i({},g.align,{arrayOk:!0}),namelength:i({},g.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(x,o,t){var d=t(71828),g=t(73972);function i(M,v,p,u){u=u||d.identity,Array.isArray(M)&&(v[0][p]=u(M))}x.exports=function(M){var v=M.calcdata,p=M._fullLayout;function u(h){return function(f){return d.coerceHoverinfo({hoverinfo:f},{_module:h._module},p)}}for(var a=0;a=0&&c.indexae[0]._length||Je<0||Je>he[0]._length)return h.unhoverRaw(ue,ce)}else Ke="xpx"in ce?ce.xpx:ae[0]._length/2,Je="ypx"in ce?ce.ypx:he[0]._length/2;if(ce.pointerX=Ke+ae[0]._offset,ce.pointerY=Je+he[0]._offset,we="xval"in ce?_.flat(pe,ce.xval):_.p2c(ae,Ke),Ee="yval"in ce?_.flat(pe,ce.yval):_.p2c(he,Je),!g(we[0])||!g(Ee[0]))return M.warn("Fx.hover failed",ce,ue),h.unhoverRaw(ue,ce)}var ht=1/0;function Oe(Kt,bn){for(Ye=0;YeFt&&(Dt.splice(0,Ft),ht=Dt[0].distance),Me&&ge!==0&&Dt.length===0){xt.distance=ge,xt.index=!1;var Zn=st._module.hoverPoints(xt,Et,kt,"closest",{hoverLayer:xe._hoverlayer});if(Zn&&(Zn=Zn.filter(function(Jt){return Jt.spikeDistance<=ge})),Zn&&Zn.length){var tr,gr=Zn.filter(function(Jt){return Jt.xa.showspikes&&Jt.xa.spikesnap!=="hovered data"});if(gr.length){var nn=gr[0];g(nn.x0)&&g(nn.y0)&&(tr=Qe(nn),(!Wt.vLinePoint||Wt.vLinePoint.spikeDistance>tr.spikeDistance)&&(Wt.vLinePoint=tr))}var Pn=Zn.filter(function(Jt){return Jt.ya.showspikes&&Jt.ya.spikesnap!=="hovered data"});if(Pn.length){var jt=Pn[0];g(jt.x0)&&g(jt.y0)&&(tr=Qe(jt),(!Wt.hLinePoint||Wt.hLinePoint.spikeDistance>tr.spikeDistance)&&(Wt.hLinePoint=tr))}}}}}function Ne(Kt,bn,On){for(var Ln,Un=null,Jn=1/0,Zn=0;Zn0&&Math.abs(Kt.distance)$t-1;qt--)xn(Dt[qt]);Dt=Xt,It()}var un=ue._hoverdata,An=[],Yn=ne(ue),kn=te(ue);for(Ve=0;Ve1||Dt.length>1)||ze==="closest"&&Vt&&Dt.length>1,br=l.combine(xe.plot_bgcolor||l.background,xe.paper_bgcolor),or=B(Dt,{gd:ue,hovermode:ze,rotateLabels:Lr,bgColor:br,container:xe._hoverlayer,outerContainer:xe._paper.node(),commonLabelOpts:xe.hoverlabel,hoverdistance:xe.hoverdistance}),yr=or.hoverLabels;if(_.isUnifiedHover(ze)||(function(Kt,bn,On,Ln){var Un,Jn,Zn,tr,gr,nn,Pn,jt=bn?"xa":"ya",Jt=bn?"ya":"xa",fn=0,zn=1,Dn=Kt.size(),En=new Array(Dn),mn=0,wn=Ln.minX,gn=Ln.maxX,yn=Ln.minY,Sn=Ln.maxY,Vn=function(Pr){return Pr*On._invScaleX},Kn=function(Pr){return Pr*On._invScaleY};function nr(Pr){var Vr=Pr[0],vr=Pr[Pr.length-1];if(Jn=Vr.pmin-Vr.pos-Vr.dp+Vr.size,Zn=vr.pos+vr.dp+vr.size-Vr.pmax,Jn>.01){for(gr=Pr.length-1;gr>=0;gr--)Pr[gr].dp+=Jn;Un=!1}if(!(Zn<.01)){if(Jn<-.01){for(gr=Pr.length-1;gr>=0;gr--)Pr[gr].dp-=Zn;Un=!1}if(Un){var jr=0;for(tr=0;trVr.pmax&&jr++;for(tr=Pr.length-1;tr>=0&&!(jr<=0);tr--)(nn=Pr[tr]).pos>Vr.pmax-1&&(nn.del=!0,jr--);for(tr=0;tr=0;gr--)Pr[gr].dp-=Zn;for(tr=Pr.length-1;tr>=0&&!(jr<=0);tr--)(nn=Pr[tr]).pos+nn.dp+nn.size>Vr.pmax&&(nn.del=!0,jr--)}}}for(Kt.each(function(Pr){var Vr=Pr[jt],vr=Pr[Jt],jr=Vr._id.charAt(0)==="x",li=Vr.range;mn===0&&li&&li[0]>li[1]!==jr&&(zn=-1);var Gi=0,ia=jr?On.width:On.height;if(On.hovermode==="x"||On.hovermode==="y"){var la,co,Oa=q(Pr,bn),Qi=Pr.anchor,No=Qi==="end"?-1:1;if(Qi==="middle")co=(la=Pr.crossPos+(jr?Kn(Oa.y-Pr.by/2):Vn(Pr.bx/2+Pr.tx2width/2)))+(jr?Kn(Pr.by):Vn(Pr.bx));else if(jr)co=(la=Pr.crossPos+Kn(b+Oa.y)-Kn(Pr.by/2-b))+Kn(Pr.by);else{var ss=Vn(No*b+Oa.x),al=ss+Vn(No*Pr.bx);la=Pr.crossPos+Math.min(ss,al),co=Pr.crossPos+Math.max(ss,al)}jr?yn!==void 0&&Sn!==void 0&&Math.min(co,Sn)-Math.max(la,yn)>1&&(vr.side==="left"?(Gi=vr._mainLinePosition,ia=On.width):ia=vr._mainLinePosition):wn!==void 0&&gn!==void 0&&Math.min(co,gn)-Math.max(la,wn)>1&&(vr.side==="top"?(Gi=vr._mainLinePosition,ia=On.height):ia=vr._mainLinePosition)}En[mn++]=[{datum:Pr,traceIndex:Pr.trace.index,dp:0,pos:Pr.pos,posref:Pr.posref,size:Pr.by*(jr?T:1)/2,pmin:Gi,pmax:ia}]}),En.sort(function(Pr,Vr){return Pr[0].posref-Vr[0].posref||zn*(Vr[0].traceIndex-Pr[0].traceIndex)});!Un&&fn<=Dn;){for(fn++,Un=!0,tr=0;tr.01&&fr.pmin===mr.pmin&&fr.pmax===mr.pmax){for(gr=hr.length-1;gr>=0;gr--)hr[gr].dp+=Jn;for(Qn.push.apply(Qn,hr),En.splice(tr+1,1),Pn=0,gr=Qn.length-1;gr>=0;gr--)Pn+=Qn[gr].dp;for(Zn=Pn/Qn.length,gr=Qn.length-1;gr>=0;gr--)Qn[gr].dp-=Zn;Un=!1}else tr++}En.forEach(nr)}for(tr=En.length-1;tr>=0;tr--){var pr=En[tr];for(gr=pr.length-1;gr>=0;gr--){var xr=pr[gr],Rr=xr.datum;Rr.offset=xr.dp,Rr.del=xr.del}}}(yr,Lr,xe,or.commonLabelBoundingBox),j(yr,Lr,xe._invScaleX,xe._invScaleY)),me&&me.tagName){var wr=m.getComponentMethod("annotations","hasClickToShow")(ue,An);c(d.select(me),wr?"pointer":"")}me&&!de&&function(Kt,bn,On){if(!On||On.length!==Kt._hoverdata.length)return!0;for(var Ln=On.length-1;Ln>=0;Ln--){var Un=On[Ln],Jn=Kt._hoverdata[Ln];if(Un.curveNumber!==Jn.curveNumber||String(Un.pointNumber)!==String(Jn.pointNumber)||String(Un.pointNumbers)!==String(Jn.pointNumbers))return!0}return!1}(ue,0,un)&&(un&&ue.emit("plotly_unhover",{event:ce,points:un}),ue.emit("plotly_hover",{event:ce,points:ue._hoverdata,xaxes:ae,yaxes:he,xvals:we,yvals:Ee}))})(X,Q,re,ie,oe)})},o.loneHover=function(X,Q){var re=!0;Array.isArray(X)||(re=!1,X=[X]);var ie=Q.gd,oe=ne(ie),ue=te(ie),ce=B(X.map(function(me){var pe=me._x0||me.x0||me.x||0,xe=me._x1||me.x1||me.x||0,Pe=me._y0||me.y0||me.y||0,_e=me._y1||me.y1||me.y||0,Me=me.eventData;if(Me){var Se=Math.min(pe,xe),Ce=Math.max(pe,xe),ae=Math.min(Pe,_e),he=Math.max(Pe,_e),be=me.trace;if(m.traceIs(be,"gl3d")){var ke=ie._fullLayout[be.scene]._scene.container,Le=ke.offsetLeft,Be=ke.offsetTop;Se+=Le,Ce+=Le,ae+=Be,he+=Be}Me.bbox={x0:Se+ue,x1:Ce+ue,y0:ae+oe,y1:he+oe},Q.inOut_bbox&&Q.inOut_bbox.push(Me.bbox)}else Me=!1;return{color:me.color||l.defaultLine,x0:me.x0||me.x||0,x1:me.x1||me.x||0,y0:me.y0||me.y||0,y1:me.y1||me.y||0,xLabel:me.xLabel,yLabel:me.yLabel,zLabel:me.zLabel,text:me.text,name:me.name,idealAlign:me.idealAlign,borderColor:me.borderColor,fontFamily:me.fontFamily,fontSize:me.fontSize,fontColor:me.fontColor,nameLength:me.nameLength,textAlign:me.textAlign,trace:me.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:me.hovertemplate||!1,hovertemplateLabels:me.hovertemplateLabels||!1,eventData:Me}}),{gd:ie,hovermode:"closest",rotateLabels:!1,bgColor:Q.bgColor||l.background,container:d.select(Q.container),outerContainer:Q.outerContainer||Q.container}).hoverLabels,ye=0,de=0;return ce.sort(function(me,pe){return me.y0-pe.y0}).each(function(me,pe){var xe=me.y0-me.by/2;me.offset=xe-5([\s\S]*)<\/extra>/;function B(X,Q){var re=Q.gd,ie=re._fullLayout,oe=Q.hovermode,ue=Q.rotateLabels,ce=Q.bgColor,ye=Q.container,de=Q.outerContainer,me=Q.commonLabelOpts||{};if(X.length===0)return[[]];var pe=Q.fontFamily||y.HOVERFONT,xe=Q.fontSize||y.HOVERFONTSIZE,Pe=X[0],_e=Pe.xa,Me=Pe.ya,Se=oe.charAt(0),Ce=Se+"Label",ae=Pe[Ce];if(ae===void 0&&_e.type==="multicategory")for(var he=0;heie.width-kn?(xn=ie.width-kn,Nt.attr("d","M"+(kn-b)+",0L"+kn+","+Yn+b+"v"+Yn+(2*O+An.height)+"H-"+kn+"V"+Yn+b+"H"+(kn-2*b)+"Z")):Nt.attr("d","M0,0L"+b+","+Yn+b+"H"+kn+"v"+Yn+(2*O+An.height)+"H-"+kn+"V"+Yn+b+"H-"+b+"Z"),Ye.minX=xn-kn,Ye.maxX=xn+kn,_e.side==="top"?(Ye.minY=un-(2*O+An.height),Ye.maxY=un-O):(Ye.minY=un+O,Ye.maxY=un+(2*O+An.height))}else{var sn,Tn,dn;Me.side==="right"?(sn="start",Tn=1,dn="",xn=_e._offset+_e._length):(sn="end",Tn=-1,dn="-",xn=_e._offset),un=Me._offset+(Pe.y0+Pe.y1)/2,$t.attr("text-anchor",sn),Nt.attr("d","M0,0L"+dn+b+","+b+"V"+(O+An.height/2)+"h"+dn+(2*O+An.width)+"V-"+(O+An.height/2)+"H"+dn+b+"V-"+b+"Z"),Ye.minY=un-(O+An.height/2),Ye.maxY=un+(O+An.height/2),Me.side==="right"?(Ye.minX=xn+b,Ye.maxX=xn+b+(2*O+An.width)):(Ye.minX=xn-b-(2*O+An.width),Ye.maxX=xn-b);var pn,Rn=An.height/2,In=ke-An.top-Rn,jn="clip"+ie._uid+"commonlabel"+Me._id;if(xn=0?Je:We+Oe=0?We:yt+Oe=0?Vt:Ke+Ne=0?Ke:Pt+Ne=0,Ot.idealAlign!=="top"&&rr||!Lr?rr?(Rn+=jn/2,Ot.anchor="start"):Ot.anchor="middle":(Rn-=jn/2,Ot.anchor="end"),Ot.crossPos=Rn;else{if(Ot.pos=Rn,rr=pn+In/2+br<=Le,Lr=pn-In/2-br>=0,Ot.idealAlign!=="left"&&rr||!Lr)if(rr)pn+=In/2,Ot.anchor="start";else{Ot.anchor="middle";var or=br/2,yr=pn+or-Le,wr=pn-or;yr>0&&(pn-=yr),wr<0&&(pn+=-wr)}else pn-=In/2,Ot.anchor="end";Ot.crossPos=pn}Yn.attr("text-anchor",Ot.anchor),sn&&kn.attr("text-anchor",Ot.anchor),Nt.attr("transform",v(pn,Rn)+(ue?p(k):""))}),{hoverLabels:wt,commonLabelBoundingBox:Ye}}function N(X,Q,re,ie,oe,ue){var ce="",ye="";X.nameOverride!==void 0&&(X.name=X.nameOverride),X.name&&(X.trace._meta&&(X.name=M.templateString(X.name,X.trace._meta)),ce=W(X.name,X.nameLength));var de=re.charAt(0),me=de==="x"?"y":"x";X.zLabel!==void 0?(X.xLabel!==void 0&&(ye+="x: "+X.xLabel+"
"),X.yLabel!==void 0&&(ye+="y: "+X.yLabel+"
"),X.trace.type!=="choropleth"&&X.trace.type!=="choroplethmapbox"&&(ye+=(ye?"z: ":"")+X.zLabel)):Q&&X[de+"Label"]===oe?ye=X[me+"Label"]||"":X.xLabel===void 0?X.yLabel!==void 0&&X.trace.type!=="scattercarpet"&&(ye=X.yLabel):ye=X.yLabel===void 0?X.xLabel:"("+X.xLabel+", "+X.yLabel+")",!X.text&&X.text!==0||Array.isArray(X.text)||(ye+=(ye?"
":"")+X.text),X.extraText!==void 0&&(ye+=(ye?"
":"")+X.extraText),ue&&ye===""&&!X.hovertemplate&&(ce===""&&ue.remove(),ye=ce);var pe=X.hovertemplate||!1;if(pe){var xe=X.hovertemplateLabels||X;X[de+"Label"]!==oe&&(xe[de+"other"]=xe[de+"Val"],xe[de+"otherLabel"]=xe[de+"Label"]),ye=(ye=M.hovertemplateString(pe,xe,ie._d3locale,X.eventData[0]||{},X.trace._meta)).replace(F,function(Pe,_e){return ce=W(_e,X.nameLength),""})}return[ye,ce]}function q(X,Q){var re=0,ie=X.offset;return Q&&(ie*=-L,re=X.offset*A),{x:re,y:ie}}function j(X,Q,re,ie){var oe=function(ce){return ce*re},ue=function(ce){return ce*ie};X.each(function(ce){var ye=d.select(this);if(ce.del)return ye.remove();var de,me,pe,xe,Pe=ye.select("text.nums"),_e=ce.anchor,Me=_e==="end"?-1:1,Se=(xe=(pe=(me={start:1,end:-1,middle:0}[(de=ce).anchor])*(b+O))+me*(de.txwidth+O),de.anchor==="middle"&&(pe-=de.tx2width/2,xe+=de.txwidth/2+O),{alignShift:me,textShiftX:pe,text2ShiftX:xe}),Ce=q(ce,Q),ae=Ce.x,he=Ce.y,be=_e==="middle";ye.select("path").attr("d",be?"M-"+oe(ce.bx/2+ce.tx2width/2)+","+ue(he-ce.by/2)+"h"+oe(ce.bx)+"v"+ue(ce.by)+"h-"+oe(ce.bx)+"Z":"M0,0L"+oe(Me*b+ae)+","+ue(b+he)+"v"+ue(ce.by/2-b)+"h"+oe(Me*ce.bx)+"v-"+ue(ce.by)+"H"+oe(Me*b+ae)+"V"+ue(he-b)+"Z");var ke=ae+Se.textShiftX,Le=he+ce.ty0-ce.by/2+O,Be=ce.textAlign||"auto";Be!=="auto"&&(Be==="left"&&_e!=="start"?(Pe.attr("text-anchor","start"),ke=be?-ce.bx/2-ce.tx2width/2+O:-ce.bx-O):Be==="right"&&_e!=="end"&&(Pe.attr("text-anchor","end"),ke=be?ce.bx/2-ce.tx2width/2-O:ce.bx+O)),Pe.call(a.positionText,oe(ke),ue(Le)),ce.tx2width&&(ye.select("text.name").call(a.positionText,oe(Se.text2ShiftX+Se.alignShift*O+ae),ue(he+ce.ty0-ce.by/2+O)),ye.select("rect").call(s.setRect,oe(Se.text2ShiftX+(Se.alignShift-1)*ce.tx2width/2+ae),ue(he-ce.by/2-1),oe(ce.tx2width),ue(ce.by+2)))})}function Y(X,Q){var re=X.index,ie=X.trace||{},oe=X.cd[0],ue=X.cd[re]||{};function ce(Pe){return Pe||g(Pe)&&Pe===0}var ye=Array.isArray(re)?function(Pe,_e){var Me=M.castOption(oe,re,Pe);return ce(Me)?Me:M.extractOption({},ie,"",_e)}:function(Pe,_e){return M.extractOption(ue,ie,Pe,_e)};function de(Pe,_e,Me){var Se=ye(_e,Me);ce(Se)&&(X[Pe]=Se)}if(de("hoverinfo","hi","hoverinfo"),de("bgcolor","hbg","hoverlabel.bgcolor"),de("borderColor","hbc","hoverlabel.bordercolor"),de("fontFamily","htf","hoverlabel.font.family"),de("fontSize","hts","hoverlabel.font.size"),de("fontColor","htc","hoverlabel.font.color"),de("nameLength","hnl","hoverlabel.namelength"),de("textAlign","hta","hoverlabel.align"),X.posref=Q==="y"||Q==="closest"&&ie.orientation==="h"?X.xa._offset+(X.x0+X.x1)/2:X.ya._offset+(X.y0+X.y1)/2,X.x0=M.constrain(X.x0,0,X.xa._length),X.x1=M.constrain(X.x1,0,X.xa._length),X.y0=M.constrain(X.y0,0,X.ya._length),X.y1=M.constrain(X.y1,0,X.ya._length),X.xLabelVal!==void 0&&(X.xLabel="xLabel"in X?X.xLabel:f.hoverLabelText(X.xa,X.xLabelVal,ie.xhoverformat),X.xVal=X.xa.c2d(X.xLabelVal)),X.yLabelVal!==void 0&&(X.yLabel="yLabel"in X?X.yLabel:f.hoverLabelText(X.ya,X.yLabelVal,ie.yhoverformat),X.yVal=X.ya.c2d(X.yLabelVal)),X.zLabelVal!==void 0&&X.zLabel===void 0&&(X.zLabel=String(X.zLabelVal)),!(isNaN(X.xerr)||X.xa.type==="log"&&X.xerr<=0)){var me=f.tickText(X.xa,X.xa.c2l(X.xerr),"hover").text;X.xerrneg!==void 0?X.xLabel+=" +"+me+" / -"+f.tickText(X.xa,X.xa.c2l(X.xerrneg),"hover").text:X.xLabel+=" ± "+me,Q==="x"&&(X.distance+=1)}if(!(isNaN(X.yerr)||X.ya.type==="log"&&X.yerr<=0)){var pe=f.tickText(X.ya,X.ya.c2l(X.yerr),"hover").text;X.yerrneg!==void 0?X.yLabel+=" +"+pe+" / -"+f.tickText(X.ya,X.ya.c2l(X.yerrneg),"hover").text:X.yLabel+=" ± "+pe,Q==="y"&&(X.distance+=1)}var xe=X.hoverinfo||X.trace.hoverinfo;return xe&&xe!=="all"&&((xe=Array.isArray(xe)?xe:xe.split("+")).indexOf("x")===-1&&(X.xLabel=void 0),xe.indexOf("y")===-1&&(X.yLabel=void 0),xe.indexOf("z")===-1&&(X.zLabel=void 0),xe.indexOf("text")===-1&&(X.text=void 0),xe.indexOf("name")===-1&&(X.name=void 0)),X}function U(X,Q,re){var ie,oe,ue=re.container,ce=re.fullLayout,ye=ce._size,de=re.event,me=!!Q.hLinePoint,pe=!!Q.vLinePoint;if(ue.selectAll(".spikeline").remove(),pe||me){var xe=l.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(me){var Pe,_e,Me=Q.hLinePoint;ie=Me&&Me.xa,(oe=Me&&Me.ya).spikesnap==="cursor"?(Pe=de.pointerX,_e=de.pointerY):(Pe=ie._offset+Me.x,_e=oe._offset+Me.y);var Se,Ce,ae=i.readability(Me.color,xe)<1.5?l.contrast(xe):Me.color,he=oe.spikemode,be=oe.spikethickness,ke=oe.spikecolor||ae,Le=f.getPxPosition(X,oe);if(he.indexOf("toaxis")!==-1||he.indexOf("across")!==-1){if(he.indexOf("toaxis")!==-1&&(Se=Le,Ce=Pe),he.indexOf("across")!==-1){var Be=oe._counterDomainMin,ze=oe._counterDomainMax;oe.anchor==="free"&&(Be=Math.min(Be,oe.position),ze=Math.max(ze,oe.position)),Se=ye.l+Be*ye.w,Ce=ye.l+ze*ye.w}ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be,stroke:ke,"stroke-dasharray":s.dashStyle(oe.spikedash,be)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}he.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:Le+(oe.side!=="right"?be:-be),cy:_e,r:be,fill:ke}).classed("spikeline",!0)}if(pe){var je,ge,we=Q.vLinePoint;ie=we&&we.xa,oe=we&&we.ya,ie.spikesnap==="cursor"?(je=de.pointerX,ge=de.pointerY):(je=ie._offset+we.x,ge=oe._offset+we.y);var Ee,Ve,Ye=i.readability(we.color,xe)<1.5?l.contrast(xe):we.color,$e=ie.spikemode,st=ie.spikethickness,ot=ie.spikecolor||Ye,ft=f.getPxPosition(X,ie);if($e.indexOf("toaxis")!==-1||$e.indexOf("across")!==-1){if($e.indexOf("toaxis")!==-1&&(Ee=ft,Ve=ge),$e.indexOf("across")!==-1){var bt=ie._counterDomainMin,Et=ie._counterDomainMax;ie.anchor==="free"&&(bt=Math.min(bt,ie.position),Et=Math.max(Et,ie.position)),Ee=ye.t+(1-Et)*ye.h,Ve=ye.t+(1-bt)*ye.h}ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st,stroke:ot,"stroke-dasharray":s.dashStyle(ie.spikedash,st)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}$e.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:je,cy:ft-(ie.side!=="top"?st:-st),r:st,fill:ot}).classed("spikeline",!0)}}}function G(X,Q){return!Q||Q.vLinePoint!==X._spikepoints.vLinePoint||Q.hLinePoint!==X._spikepoints.hLinePoint}function W(X,Q){return a.plainText(X||"",{len:Q,allowedTags:["br","sub","sup","b","i","em"]})}function H(X,Q,re){var ie=Q[X+"a"],oe=Q[X+"Val"],ue=Q.cd[0];if(ie.type==="category"||ie.type==="multicategory")oe=ie._categoriesMap[oe];else if(ie.type==="date"){var ce=Q.trace[X+"periodalignment"];if(ce){var ye=Q.cd[Q.index],de=ye[X+"Start"];de===void 0&&(de=ye[X]);var me=ye[X+"End"];me===void 0&&(me=ye[X]);var pe=me-de;ce==="end"?oe+=pe:ce==="middle"&&(oe+=pe/2)}oe=ie.d2c(oe)}return ue&&ue.t&&ue.t.posLetter===ie._id&&(re.boxmode!=="group"&&re.violinmode!=="group"||(oe+=ue.t.dPos)),oe}function ne(X){return X.offsetTop+X.clientTop}function te(X){return X.offsetLeft+X.clientLeft}function Z(X,Q){var re=X._fullLayout,ie=Q.getBoundingClientRect(),oe=ie.left,ue=ie.top,ce=oe+ie.width,ye=ue+ie.height,de=M.apply3DTransform(re._invTransform)(oe,ue),me=M.apply3DTransform(re._invTransform)(ce,ye),pe=de[0],xe=de[1],Pe=me[0],_e=me[1];return{x:pe,y:xe,width:Pe-pe,height:_e-xe,top:Math.min(xe,_e),left:Math.min(pe,Pe),right:Math.max(pe,Pe),bottom:Math.max(xe,_e)}}},38048:function(x,o,t){var d=t(71828),g=t(7901),i=t(23469).isUnifiedHover;x.exports=function(M,v,p,u){u=u||{};var a=v.legend;function c(s){u.font[s]||(u.font[s]=a?v.legend.font[s]:v.font[s])}v&&i(v.hovermode)&&(u.font||(u.font={}),c("size"),c("family"),c("color"),a?(u.bgcolor||(u.bgcolor=g.combine(v.legend.bgcolor,v.paper_bgcolor)),u.bordercolor||(u.bordercolor=v.legend.bordercolor)):u.bgcolor||(u.bgcolor=v.paper_bgcolor)),p("hoverlabel.bgcolor",u.bgcolor),p("hoverlabel.bordercolor",u.bordercolor),p("hoverlabel.namelength",u.namelength),d.coerceFont(p,"hoverlabel.font",u.font),p("hoverlabel.align",u.align)}},98212:function(x,o,t){var d=t(71828),g=t(528);x.exports=function(i,M){function v(p,u){return M[p]!==void 0?M[p]:d.coerce(i,M,g,p,u)}return v("clickmode"),v("hovermode")}},30211:function(x,o,t){var d=t(39898),g=t(71828),i=t(28569),M=t(23469),v=t(528),p=t(88335);x.exports={moduleType:"component",name:"fx",constants:t(26675),schema:{layout:v},attributes:t(77914),layoutAttributes:v,supplyLayoutGlobalDefaults:t(22774),supplyDefaults:t(54268),supplyLayoutDefaults:t(34938),calc:t(30732),getDistanceFunction:M.getDistanceFunction,getClosest:M.getClosest,inbox:M.inbox,quadrature:M.quadrature,appendArrayPointValue:M.appendArrayPointValue,castHoverOption:function(u,a,c){return g.castOption(u,a,"hoverlabel."+c)},castHoverinfo:function(u,a,c){return g.castOption(u,c,"hoverinfo",function(s){return g.coerceHoverinfo({hoverinfo:s},{_module:u._module},a)})},hover:p.hover,unhover:i.unhover,loneHover:p.loneHover,loneUnhover:function(u){var a=g.isD3Selection(u)?u:d.select(u);a.selectAll("g.hovertext").remove(),a.selectAll(".spikeline").remove()},click:t(75914)}},528:function(x,o,t){var d=t(26675),g=t(41940),i=g({editType:"none"});i.family.dflt=d.HOVERFONT,i.size.dflt=d.HOVERFONTSIZE,x.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:i,grouptitlefont:g({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"}}},34938:function(x,o,t){var d=t(71828),g=t(528),i=t(98212),M=t(38048);x.exports=function(v,p){function u(l,h){return d.coerce(v,p,g,l,h)}i(v,p)&&(u("hoverdistance"),u("spikedistance")),u("dragmode")==="select"&&u("selectdirection");var a=p._has("mapbox"),c=p._has("geo"),s=p._basePlotModules.length;p.dragmode==="zoom"&&((a||c)&&s===1||a&&c&&s===2)&&(p.dragmode="pan"),M(v,p,u),d.coerceFont(u,"hoverlabel.grouptitlefont",p.hoverlabel.font)}},22774:function(x,o,t){var d=t(71828),g=t(38048),i=t(528);x.exports=function(M,v){g(M,v,function(p,u){return d.coerce(M,v,i,p,u)})}},83312:function(x,o,t){var d=t(71828),g=t(30587).counter,i=t(27670).Y,M=t(85555).idRegex,v=t(44467),p={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:[g("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.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:i({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(s,l,h){var f=l[h+"axes"],m=Object.keys((s._splomAxes||{})[h]||{});return Array.isArray(f)?f:m.length?m:void 0}function a(s,l,h,f,m,_){var y=l(s+"gap",h),C=l("domain."+s);l(s+"side",f);for(var w=new Array(m),k=C[0],E=(C[1]-k)/(m-y),T=E*(1-y),A=0;A1){C||w||k||F("pattern")==="independent"&&(C=!0),T._hasSubplotGrid=C;var b,O,I=F("roworder")==="top to bottom",R=C?.2:.1,z=C?.3:.1;E&&l._splomGridDflt&&(b=l._splomGridDflt.xside,O=l._splomGridDflt.yside),T._domains={x:a("x",F,R,b,L),y:a("y",F,z,O,A,I)}}else delete l.grid}function F(B,N){return d.coerce(h,T,p,B,N)}},contentDefaults:function(s,l){var h=l.grid;if(h&&h._domains){var f,m,_,y,C,w,k,E=s.grid||{},T=l._subplots,A=h._hasSubplotGrid,L=h.rows,b=h.columns,O=h.pattern==="independent",I=h._axisMap={};if(A){var R=E.subplots||[];w=h.subplots=new Array(L);var z=1;for(f=0;f1);if(O===!1&&(l.legend=void 0),(O!==!1||f.uirevision)&&(_("uirevision",l.uirevision),O!==!1)){_("borderwidth");var I,R,z,F=_("orientation")==="h";if(F?(I=0,d.getComponentMethod("rangeslider","isVisible")(s.xaxis)?(R=1.1,z="bottom"):(R=-.1,z="top")):(I=1.02,R=1,z="auto"),_("traceorder",L),u.isGrouped(l.legend)&&_("tracegroupgap"),_("entrywidth"),_("entrywidthmode"),_("itemsizing"),_("itemwidth"),_("itemclick"),_("itemdoubleclick"),_("groupclick"),_("x",I),_("xanchor"),_("y",R),_("yanchor",z),_("valign"),g.noneOrAll(f,m,["x","y"]),_("title.text")){_("title.side",F?"left":"top");var B=g.extendFlat({},y,{size:g.bigFont(y.size)});g.coerceFont(_,"title.font",B)}}}}x.exports=function(c,s,l){var h,f=["legend"];for(h=0;h1)}var ne=U.hiddenlabels||[];if(!(W||U.showlegend&&H.length))return j.selectAll("."+G).remove(),U._topdefs.select("#"+q).remove(),i.autoMargin(B,G);var te=g.ensureSingle(j,"g",G,function(ye){W||ye.attr("pointer-events","all")}),Z=g.ensureSingleById(U._topdefs,"clipPath",q,function(ye){ye.append("rect")}),X=g.ensureSingle(te,"rect","bg",function(ye){ye.attr("shape-rendering","crispEdges")});X.call(a.stroke,Y.bordercolor).call(a.fill,Y.bgcolor).style("stroke-width",Y.borderwidth+"px");var Q=g.ensureSingle(te,"g","scrollbox"),re=Y.title;if(Y._titleWidth=0,Y._titleHeight=0,re.text){var ie=g.ensureSingle(Q,"text",G+"titletext");ie.attr("text-anchor","start").call(u.font,re.font).text(re.text),I(ie,Q,B,Y,1)}else Q.selectAll("."+G+"titletext").remove();var oe=g.ensureSingle(te,"rect","scrollbar",function(ye){ye.attr(l.scrollBarEnterAttrs).call(a.fill,l.scrollBarColor)}),ue=Q.selectAll("g.groups").data(H);ue.enter().append("g").attr("class","groups"),ue.exit().remove();var ce=ue.selectAll("g.traces").data(g.identity);ce.enter().append("g").attr("class","traces"),ce.exit().remove(),ce.style("opacity",function(ye){var de=ye[0].trace;return M.traceIs(de,"pie-like")?ne.indexOf(ye[0].label)!==-1?.5:1:de.visible==="legendonly"?.5:1}).each(function(){d.select(this).call(L,B,Y)}).call(C,B,Y).each(function(){W||d.select(this).call(O,B,G)}),g.syncOrAsync([i.previousPromises,function(){return function(ye,de,me,pe){var xe=ye._fullLayout,Pe=F(pe);pe||(pe=xe[Pe]);var _e=xe._size,Me=w.isVertical(pe),Se=w.isGrouped(pe),Ce=pe.entrywidthmode==="fraction",ae=pe.borderwidth,he=2*ae,be=l.itemGap,ke=pe.itemwidth+2*be,Le=2*(ae+be),Be=z(pe),ze=pe.y<0||pe.y===0&&Be==="top",je=pe.y>1||pe.y===1&&Be==="bottom",ge=pe.tracegroupgap,we={};pe._maxHeight=Math.max(ze||je?xe.height/2:_e.h,30);var Ee=0;pe._width=0,pe._height=0;var Ve=function(Oe){var Ne=0,Qe=0,ut=Oe.title.side;return ut&&(ut.indexOf("left")!==-1&&(Ne=Oe._titleWidth),ut.indexOf("top")!==-1&&(Qe=Oe._titleHeight)),[Ne,Qe]}(pe);if(Me)me.each(function(Oe){var Ne=Oe[0].height;u.setTranslate(this,ae+Ve[0],ae+Ve[1]+pe._height+Ne/2+be),pe._height+=Ne,pe._width=Math.max(pe._width,Oe[0].width)}),Ee=ke+pe._width,pe._width+=be+ke+he,pe._height+=Le,Se&&(de.each(function(Oe,Ne){u.setTranslate(this,0,Ne*pe.tracegroupgap)}),pe._height+=(pe._lgroupsLength-1)*pe.tracegroupgap);else{var Ye=R(pe),$e=pe.x<0||pe.x===0&&Ye==="right",st=pe.x>1||pe.x===1&&Ye==="left",ot=je||ze,ft=xe.width/2;pe._maxWidth=Math.max($e?ot&&Ye==="left"?_e.l+_e.w:ft:st?ot&&Ye==="right"?_e.r+_e.w:ft:_e.w,2*ke);var bt=0,Et=0;me.each(function(Oe){var Ne=T(Oe,pe,ke);bt=Math.max(bt,Ne),Et+=Ne}),Ee=null;var kt=0;if(Se){var xt=0,Ft=0,Dt=0;de.each(function(){var Oe=0,Ne=0;d.select(this).selectAll("g.traces").each(function(ut){var pt=T(ut,pe,ke),_t=ut[0].height;u.setTranslate(this,Ve[0],Ve[1]+ae+be+_t/2+Ne),Ne+=_t,Oe=Math.max(Oe,pt),we[ut[0].trace.legendgroup]=Oe});var Qe=Oe+be;Ft>0&&Qe+ae+Ft>pe._maxWidth?(kt=Math.max(kt,Ft),Ft=0,Dt+=xt+ge,xt=Ne):xt=Math.max(xt,Ne),u.setTranslate(this,Ft,Dt),Ft+=Qe}),pe._width=Math.max(kt,Ft)+ae,pe._height=Dt+xt+Le}else{var Bt=me.size(),Wt=Et+he+(Bt-1)*be=pe._maxWidth&&(kt=Math.max(kt,We),Ke=0,Je+=Vt,pe._height+=Vt,Vt=0),u.setTranslate(this,Ve[0]+ae+Ke,Ve[1]+ae+Je+Ne/2+be),We=Ke+Qe+be,Ke+=ut,Vt=Math.max(Vt,Ne)}),Wt?(pe._width=Ke+he,pe._height=Vt+Le):(pe._width=Math.max(kt,We)+he,pe._height+=Vt+Le)}}pe._width=Math.ceil(Math.max(pe._width+Ve[0],pe._titleWidth+2*(ae+l.titlePad))),pe._height=Math.ceil(Math.max(pe._height+Ve[1],pe._titleHeight+2*(ae+l.itemGap))),pe._effHeight=Math.min(pe._height,pe._maxHeight);var nt=ye._context.edits,ht=nt.legendText||nt.legendPosition;me.each(function(Oe){var Ne=d.select(this).select("."+Pe+"toggle"),Qe=Oe[0].height,ut=Oe[0].trace.legendgroup,pt=T(Oe,pe,ke);Se&&ut!==""&&(pt=we[ut]);var _t=ht?ke:Ee||pt;Me||Ce||(_t+=be/2),u.setRect(Ne,0,-Qe/2,_t,Qe)})}(B,ue,ce,Y)},function(){var ye,de,me,pe,xe=U._size,Pe=Y.borderwidth;if(!W){var _e=function($e,st){var ot=$e._fullLayout[st],ft=R(ot),bt=z(ot);return i.autoMargin($e,st,{x:ot.x,y:ot.y,l:ot._width*m[ft],r:ot._width*_[ft],b:ot._effHeight*_[bt],t:ot._effHeight*m[bt]})}(B,G);if(_e)return;var Me=xe.l+xe.w*Y.x-m[R(Y)]*Y._width,Se=xe.t+xe.h*(1-Y.y)-m[z(Y)]*Y._effHeight;if(U.margin.autoexpand){var Ce=Me,ae=Se;Me=g.constrain(Me,0,U.width-Y._width),Se=g.constrain(Se,0,U.height-Y._effHeight),Me!==Ce&&g.log("Constrain "+G+".x to make legend fit inside graph"),Se!==ae&&g.log("Constrain "+G+".y to make legend fit inside graph")}u.setTranslate(te,Me,Se)}if(oe.on(".drag",null),te.on("wheel",null),W||Y._height<=Y._maxHeight||B._context.staticPlot){var he=Y._effHeight;W&&(he=Y._height),X.attr({width:Y._width-Pe,height:he-Pe,x:Pe/2,y:Pe/2}),u.setTranslate(Q,0,0),Z.select("rect").attr({width:Y._width-2*Pe,height:he-2*Pe,x:Pe,y:Pe}),u.setClipUrl(Q,q,B),u.setRect(oe,0,0,0,0),delete Y._scrollY}else{var be,ke,Le,Be=Math.max(l.scrollBarMinHeight,Y._effHeight*Y._effHeight/Y._height),ze=Y._effHeight-Be-2*l.scrollBarMargin,je=Y._height-Y._effHeight,ge=ze/je,we=Math.min(Y._scrollY||0,je);X.attr({width:Y._width-2*Pe+l.scrollBarWidth+l.scrollBarMargin,height:Y._effHeight-Pe,x:Pe/2,y:Pe/2}),Z.select("rect").attr({width:Y._width-2*Pe+l.scrollBarWidth+l.scrollBarMargin,height:Y._effHeight-2*Pe,x:Pe,y:Pe+we}),u.setClipUrl(Q,q,B),Ye(we,Be,ge),te.on("wheel",function(){Ye(we=g.constrain(Y._scrollY+d.event.deltaY/ze*je,0,je),Be,ge),we!==0&&we!==je&&d.event.preventDefault()});var Ee=d.behavior.drag().on("dragstart",function(){var $e=d.event.sourceEvent;be=$e.type==="touchstart"?$e.changedTouches[0].clientY:$e.clientY,Le=we}).on("drag",function(){var $e=d.event.sourceEvent;$e.buttons===2||$e.ctrlKey||(ke=$e.type==="touchmove"?$e.changedTouches[0].clientY:$e.clientY,we=function(st,ot,ft){var bt=(ft-ot)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),Ye(we,Be,ge))});oe.call(Ee);var Ve=d.behavior.drag().on("dragstart",function(){var $e=d.event.sourceEvent;$e.type==="touchstart"&&(be=$e.changedTouches[0].clientY,Le=we)}).on("drag",function(){var $e=d.event.sourceEvent;$e.type==="touchmove"&&(ke=$e.changedTouches[0].clientY,we=function(st,ot,ft){var bt=(ot-ft)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),Ye(we,Be,ge))});Q.call(Ve)}function Ye($e,st,ot){Y._scrollY=B._fullLayout[G]._scrollY=$e,u.setTranslate(Q,0,-$e),u.setRect(oe,Y._width,l.scrollBarMargin+$e*ot,l.scrollBarWidth,st),Z.select("rect").attr("y",Pe+$e)}B._context.edits.legendPosition&&(te.classed("cursor-move",!0),p.init({element:te.node(),gd:B,prepFn:function(){var $e=u.getTranslate(te);me=$e.x,pe=$e.y},moveFn:function($e,st){var ot=me+$e,ft=pe+st;u.setTranslate(te,ot,ft),ye=p.align(ot,Y._width,xe.l,xe.l+xe.w,Y.xanchor),de=p.align(ft+Y._height,-Y._height,xe.t+xe.h,xe.t,Y.yanchor)},doneFn:function(){if(ye!==void 0&&de!==void 0){var $e={};$e[G+".x"]=ye,$e[G+".y"]=de,M.call("_guiRelayout",B,$e)}},clickFn:function($e,st){var ot=ue.selectAll("g.traces").filter(function(){var ft=this.getBoundingClientRect();return st.clientX>=ft.left&&st.clientX<=ft.right&&st.clientY>=ft.top&&st.clientY<=ft.bottom});ot.size()>0&&A(B,te,ot,$e,st)}}))}],B)}}function T(B,N,q){var j=B[0],Y=j.width,U=N.entrywidthmode,G=j.trace.legendwidth||N.entrywidth;return U==="fraction"?N._maxWidth*G:q+(G||Y)}function A(B,N,q,j,Y){var U=q.data()[0][0].trace,G={event:Y,node:q.node(),curveNumber:U.index,expandedIndex:U._expandedIndex,data:B.data,layout:B.layout,frames:B._transitionData._frames,config:B._context,fullData:B._fullData,fullLayout:B._fullLayout};U._group&&(G.group=U._group),M.traceIs(U,"pie-like")&&(G.label=q.datum()[0].label),v.triggerHandler(B,"plotly_legendclick",G)!==!1&&(j===1?N._clickTimeout=setTimeout(function(){B._fullLayout&&s(q,B,j)},B._context.doubleClickDelay):j===2&&(N._clickTimeout&&clearTimeout(N._clickTimeout),B._legendMouseDownTime=0,v.triggerHandler(B,"plotly_legenddoubleclick",G)!==!1&&s(q,B,j)))}function L(B,N,q){var j,Y,U=F(q),G=B.data()[0][0],W=G.trace,H=M.traceIs(W,"pie-like"),ne=!q._inHover&&N._context.edits.legendText&&!H,te=q._maxNameLength;G.groupTitle?(j=G.groupTitle.text,Y=G.groupTitle.font):(Y=q.font,q.entries?j=G.text:(j=H?G.label:W.name,W._meta&&(j=g.templateString(j,W._meta))));var Z=g.ensureSingle(B,"text",U+"text");Z.attr("text-anchor","start").call(u.font,Y).text(ne?b(j,te):j);var X=q.itemwidth+2*l.itemGap;c.positionText(Z,X,0),ne?Z.call(c.makeEditable,{gd:N,text:j}).call(I,B,N,q).on("edit",function(Q){this.text(b(Q,te)).call(I,B,N,q);var re=G.trace._fullInput||{},ie={};if(M.hasTransform(re,"groupby")){var oe=M.getTransformIndices(re,"groupby"),ue=oe[oe.length-1],ce=g.keyedContainer(re,"transforms["+ue+"].styles","target","value.name");ce.set(G.trace._group,Q),ie=ce.constructUpdate()}else ie.name=Q;return M.call("_guiRestyle",N,ie,W.index)}):I(Z,B,N,q)}function b(B,N){var q=Math.max(4,N);if(B&&B.trim().length>=q/2)return B;for(var j=q-(B=B||"").length;j>0;j--)B+=" ";return B}function O(B,N,q){var j,Y=N._context.doubleClickDelay,U=1,G=g.ensureSingle(B,"rect",q+"toggle",function(W){N._context.staticPlot||W.style("cursor","pointer").attr("pointer-events","all"),W.call(a.fill,"rgba(0,0,0,0)")});N._context.staticPlot||(G.on("mousedown",function(){(j=new Date().getTime())-N._legendMouseDownTimeY&&(U=Math.max(U-1,1)),A(N,W,B,U,d.event)}}))}function I(B,N,q,j,Y){j._inHover&&B.attr("data-notex",!0),c.convertToTspans(B,q,function(){(function(U,G,W,H){var ne=U.data()[0][0];if(W._inHover||!ne||ne.trace.showlegend){var te=U.select("g[class*=math-group]"),Z=te.node(),X=F(W);W||(W=G._fullLayout[X]);var Q,re,ie=W.borderwidth,oe=(H===1?W.title.font:ne.groupTitle?ne.groupTitle.font:W.font).size*f;if(Z){var ue=u.bBox(Z);Q=ue.height,re=ue.width,H===1?u.setTranslate(te,ie,ie+.75*Q):u.setTranslate(te,0,.25*Q)}else{var ce="."+X+(H===1?"title":"")+"text",ye=U.select(ce),de=c.lineCount(ye),me=ye.node();if(Q=oe*de,re=me?u.bBox(me).width:0,H===1)W.title.side==="left"&&(re+=2*l.itemGap),c.positionText(ye,ie+l.titlePad,ie+oe);else{var pe=2*l.itemGap+W.itemwidth;ne.groupTitle&&(pe=l.itemGap,re-=W.itemwidth),c.positionText(ye,pe,-oe*((de-1)/2-.3))}}H===1?(W._titleWidth=re,W._titleHeight=Q):(ne.lineHeight=oe,ne.height=Math.max(Q,16)+3,ne.width=re)}else U.remove()})(N,q,j,Y)})}function R(B){return g.isRightAnchor(B)?"right":g.isCenterAnchor(B)?"center":"left"}function z(B){return g.isBottomAnchor(B)?"bottom":g.isMiddleAnchor(B)?"middle":"top"}function F(B){return B._id||"legend"}x.exports=function(B,N){if(N)E(B,N);else{var q=B._fullLayout,j=q._legends;q._infolayer.selectAll('[class^="legend"]').each(function(){var G=d.select(this),W=G.attr("class").split(" ")[0];W.match(k)&&j.indexOf(W)===-1&&G.remove()});for(var Y=0;Yz&&(R=z)}O[p][0]._groupMinRank=R,O[p][0]._preGroupSort=p}var F=function(Y,U){return Y.trace.legendrank-U.trace.legendrank||Y._preSort-U._preSort};for(O.forEach(function(Y,U){Y[0]._preGroupSort=U}),O.sort(function(Y,U){return Y[0]._groupMinRank-U[0]._groupMinRank||Y[0]._preGroupSort-U[0]._preGroupSort}),p=0;pC?C:_}x.exports=function(_,y,C){var w=y._fullLayout;C||(C=w.legend);var k=C.itemsizing==="constant",E=C.itemwidth,T=(E+2*l.itemGap)/2,A=M(T,0),L=function(I,R,z,F){var B;if(I+1)B=I;else{if(!(R&&R.width>0))return 0;B=R.width}return k?F:Math.min(B,z)};function b(I,R,z){var F=I[0].trace,B=F.marker||{},N=B.line||{},q=z?F.visible&&F.type===z:g.traceIs(F,"bar"),j=d.select(R).select("g.legendpoints").selectAll("path.legend"+z).data(q?[I]:[]);j.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),j.exit().remove(),j.each(function(Y){var U=d.select(this),G=Y[0],W=L(G.mlw,B.line,5,2);U.style("stroke-width",W+"px");var H=G.mcc;if(!C._inHover&&"mc"in G){var ne=u(B),te=ne.mid;te===void 0&&(te=(ne.max+ne.min)/2),H=v.tryColorscale(B,"")(te)}var Z=H||G.mc||B.color,X=B.pattern,Q=X&&v.getPatternAttr(X.shape,0,"");if(Q){var re=v.getPatternAttr(X.bgcolor,0,null),ie=v.getPatternAttr(X.fgcolor,0,null),oe=X.fgopacity,ue=m(X.size,8,10),ce=m(X.solidity,.5,1),ye="legend-"+F.uid;U.call(v.pattern,"legend",y,ye,Q,ue,ce,H,X.fillmode,re,ie,oe)}else U.call(p.fill,Z);W&&p.stroke(U,G.mlc||N.color)})}function O(I,R,z){var F=I[0],B=F.trace,N=z?B.visible&&B.type===z:g.traceIs(B,z),q=d.select(R).select("g.legendpoints").selectAll("path.legend"+z).data(N?[I]:[]);if(q.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),q.exit().remove(),q.size()){var j=(B.marker||{}).line,Y=L(s(j.width,F.pts),j,5,2),U=i.minExtend(B,{marker:{line:{width:Y}}});U.marker.line.color=j.color;var G=i.minExtend(F,{trace:U});c(q,G,U)}}_.each(function(I){var R=d.select(this),z=i.ensureSingle(R,"g","layers");z.style("opacity",I[0].trace.opacity);var F=C.valign,B=I[0].lineHeight,N=I[0].height;if(F!=="middle"&&B&&N){var q={top:1,bottom:-1}[F]*(.5*(B-N+3));z.attr("transform",M(0,q))}else z.attr("transform",null);z.selectAll("g.legendfill").data([I]).enter().append("g").classed("legendfill",!0),z.selectAll("g.legendlines").data([I]).enter().append("g").classed("legendlines",!0);var j=z.selectAll("g.legendsymbols").data([I]);j.enter().append("g").classed("legendsymbols",!0),j.selectAll("g.legendpoints").data([I]).enter().append("g").classed("legendpoints",!0)}).each(function(I){var R,z=I[0].trace,F=[];if(z.visible)switch(z.type){case"histogram2d":case"heatmap":F=[["M-15,-2V4H15V-2Z"]],R=!0;break;case"choropleth":case"choroplethmapbox":F=[["M-6,-6V6H6V-6Z"]],R=!0;break;case"densitymapbox":F=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],R="radial";break;case"cone":F=[["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"]],R=!1;break;case"streamtube":F=[["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"]],R=!1;break;case"surface":F=[["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"]],R=!0;break;case"mesh3d":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],R=!1;break;case"volume":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],R=!0;break;case"isosurface":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],R=!1}var B=d.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(F);B.enter().append("path").classed("legend3dandfriends",!0).attr("transform",A).style("stroke-miterlimit",1),B.exit().remove(),B.each(function(N,q){var j,Y=d.select(this),U=u(z),G=U.colorscale,W=U.reversescale;if(G){if(!R){var H=G.length;j=q===0?G[W?H-1:0][1]:q===1?G[W?0:H-1][1]:G[Math.floor((H-1)/2)][1]}}else{var ne=z.vertexcolor||z.facecolor||z.color;j=i.isArrayOrTypedArray(ne)?ne[q]||ne[0]:ne}Y.attr("d",N[0]),j?Y.call(p.fill,j):Y.call(function(te){if(te.size()){var Z="legendfill-"+z.uid;v.gradient(te,y,Z,h(W,R==="radial"),G,"fill")}})})}).each(function(I){var R=I[0].trace,z=R.type==="waterfall";if(I[0]._distinct&&z){var F=I[0].trace[I[0].dir].marker;return I[0].mc=F.color,I[0].mlw=F.line.width,I[0].mlc=F.line.color,b(I,this,"waterfall")}var B=[];R.visible&&z&&(B=I[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 N=d.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(B);N.enter().append("path").classed("legendwaterfall",!0).attr("transform",A).style("stroke-miterlimit",1),N.exit().remove(),N.each(function(q){var j=d.select(this),Y=R[q[0]].marker,U=L(void 0,Y.line,5,2);j.attr("d",q[1]).style("stroke-width",U+"px").call(p.fill,Y.color),U&&j.call(p.stroke,Y.line.color)})}).each(function(I){b(I,this,"funnel")}).each(function(I){b(I,this)}).each(function(I){var R=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendbox").data(R.visible&&g.traceIs(R,"box-violin")?[I]:[]);z.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),z.exit().remove(),z.each(function(){var F=d.select(this);if(R.boxpoints!=="all"&&R.points!=="all"||p.opacity(R.fillcolor)!==0||p.opacity((R.line||{}).color)!==0){var B=L(void 0,R.line,5,2);F.style("stroke-width",B+"px").call(p.fill,R.fillcolor),B&&p.stroke(F,R.line.color)}else{var N=i.minExtend(R,{marker:{size:k?12:i.constrain(R.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});z.call(v.pointStyle,N,y)}})}).each(function(I){O(I,this,"funnelarea")}).each(function(I){O(I,this,"pie")}).each(function(I){var R,z,F=f(I),B=F.showFill,N=F.showLine,q=F.showGradientLine,j=F.showGradientFill,Y=F.anyFill,U=F.anyLine,G=I[0],W=G.trace,H=u(W),ne=H.colorscale,te=H.reversescale,Z=a.hasMarkers(W)||!Y?"M5,0":U?"M5,-2":"M5,-3",X=d.select(this),Q=X.select(".legendfill").selectAll("path").data(B||j?[I]:[]);if(Q.enter().append("path").classed("js-fill",!0),Q.exit().remove(),Q.attr("d",Z+"h"+E+"v6h-"+E+"z").call(function(oe){if(oe.size())if(B)v.fillGroupStyle(oe,y);else{var ue="legendfill-"+W.uid;v.gradient(oe,y,ue,h(te),ne,"fill")}}),N||q){var re=L(void 0,W.line,10,5);z=i.minExtend(W,{line:{width:re}}),R=[i.minExtend(G,{trace:z})]}var ie=X.select(".legendlines").selectAll("path").data(N||q?[R]:[]);ie.enter().append("path").classed("js-line",!0),ie.exit().remove(),ie.attr("d",Z+(q?"l"+E+",0.0001":"h"+E)).call(N?v.lineGroupStyle:function(oe){if(oe.size()){var ue="legendline-"+W.uid;v.lineGroupStyle(oe),v.gradient(oe,y,ue,h(te),ne,"stroke")}})}).each(function(I){var R,z,F=f(I),B=F.anyFill,N=F.anyLine,q=F.showLine,j=F.showMarker,Y=I[0],U=Y.trace,G=!j&&!N&&!B&&a.hasText(U);function W(ie,oe,ue,ce){var ye=i.nestedProperty(U,ie).get(),de=i.isArrayOrTypedArray(ye)&&oe?oe(ye):ye;if(k&&de&&ce!==void 0&&(de=ce),ue){if(deue[1])return ue[1]}return de}function H(ie){return Y._distinct&&Y.index&&ie[Y.index]?ie[Y.index]:ie[0]}if(j||G||q){var ne={},te={};if(j){ne.mc=W("marker.color",H),ne.mx=W("marker.symbol",H),ne.mo=W("marker.opacity",i.mean,[.2,1]),ne.mlc=W("marker.line.color",H),ne.mlw=W("marker.line.width",i.mean,[0,5],2),te.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Z=W("marker.size",i.mean,[2,16],12);ne.ms=Z,te.marker.size=Z}q&&(te.line={width:W("line.width",H,[0,10],5)}),G&&(ne.tx="Aa",ne.tp=W("textposition",H),ne.ts=10,ne.tc=W("textfont.color",H),ne.tf=W("textfont.family",H)),R=[i.minExtend(Y,ne)],(z=i.minExtend(U,te)).selectedpoints=null,z.texttemplate=null}var X=d.select(this).select("g.legendpoints"),Q=X.selectAll("path.scatterpts").data(j?R:[]);Q.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",A),Q.exit().remove(),Q.call(v.pointStyle,z,y),j&&(R[0].mrc=3);var re=X.selectAll("g.pointtext").data(G?R:[]);re.enter().append("g").classed("pointtext",!0).append("text").attr("transform",A),re.exit().remove(),re.selectAll("text").call(v.textPointStyle,z,y)}).each(function(I){var R=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(R.visible&&R.type==="candlestick"?[I,I]:[]);z.enter().append("path").classed("legendcandle",!0).attr("d",function(F,B){return B?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),q=R[B?"increasing":"decreasing"],j=L(void 0,q.line,5,2);N.style("stroke-width",j+"px").call(p.fill,q.fillcolor),j&&p.stroke(N,q.line.color)})}).each(function(I){var R=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(R.visible&&R.type==="ohlc"?[I,I]:[]);z.enter().append("path").classed("legendohlc",!0).attr("d",function(F,B){return B?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),q=R[B?"increasing":"decreasing"],j=L(void 0,q.line,5,2);N.style("fill","none").call(v.dashLine,q.line.dash,j),j&&p.stroke(N,q.line.color)})})}},42068:function(x,o,t){t(93348),x.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"}}},26023:function(x,o,t){var d=t(73972),g=t(74875),i=t(41675),M=t(24255),v=t(34031).eraseActiveShape,p=t(71828),u=p._,a=x.exports={};function c(w,k){var E,T,A=k.currentTarget,L=A.getAttribute("data-attr"),b=A.getAttribute("data-val")||!0,O=w._fullLayout,I={},R=i.list(w,null,!0),z=O._cartesianSpikesEnabled;if(L==="zoom"){var F,B=b==="in"?.5:2,N=(1+B)/2,q=(1-B)/2;for(T=0;T1?(Z=["toggleHover"],X=["resetViews"]):I?(te=["zoomInGeo","zoomOutGeo"],Z=["hoverClosestGeo"],X=["resetGeo"]):O?(Z=["hoverClosest3d"],X=["resetCameraDefault3d","resetCameraLastSave3d"]):N?(te=["zoomInMapbox","zoomOutMapbox"],Z=["toggleHover"],X=["resetViewMapbox"]):F?Z=["hoverClosestGl2d"]:R?Z=["hoverClosestPie"]:Y?(Z=["hoverClosestCartesian","hoverCompareCartesian"],X=["resetViewSankey"]):Z=["toggleHover"],b&&(Z=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(ye){for(var de=0;de0)){var y=function(w,k,E){for(var T=E.filter(function(O){return k[O].anchor===w._id}),A=0,L=0;L=pe.max)de=oe[me+1];else if(ye=pe.pmax)de=oe[me+1];else if(yeme._length||ke+Ve<0)return;ge=be+Ve,we=ke+Ve;break;case Pe:if(Ee="col-resize",be+Ve>me._length)return;ge=be+Ve,we=ke;break;case _e:if(Ee="col-resize",ke+Ve<0)return;ge=be,we=ke+Ve;break;default:Ee="ew-resize",ge=he,we=he+Ve}if(we=0;F--){var B=k.append("path").attr(T).style("opacity",F?.1:A).call(M.stroke,b).call(M.fill,L).call(v.dashLine,F?"solid":I,F?4+O:O);if(h(B,m,C),R){var N=p(m.layout,"selections",C);B.style({cursor:"move"});var q={element:B.node(),plotinfo:w,gd:m,editHelpers:N,isActiveSelection:!0},j=d(E,m);g(j,B,q)}else B.style("pointer-events",F?"all":"none");z[F]=B}var Y=z[0];z[1].node().addEventListener("click",function(){return function(U,G){if(s(U)){var W=+G.node().getAttribute("data-index");if(W>=0){if(W===U._fullLayout._activeSelectionIndex)return void f(U);U._fullLayout._activeSelectionIndex=W,U._fullLayout._deactivateSelection=f,c(U)}}}(m,Y)})}(m._fullLayout._selectionLayer)}function h(m,_,y){var C=y.xref+y.yref;v.setClipUrl(m,"clip"+_._fullLayout._uid+C,_)}function f(m){s(m)&&m._fullLayout._activeSelectionIndex>=0&&(i(m),delete m._fullLayout._activeSelectionIndex,c(m))}x.exports={draw:c,drawOne:l,activateLastSelection:function(m){if(s(m)){var _=m._fullLayout.selections.length-1;m._fullLayout._activeSelectionIndex=_,m._fullLayout._deactivateSelection=f,c(m)}}}},53777:function(x,o,t){var d=t(79952).P,g=t(1426).extendFlat;x.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:g({},d,{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"}}},90849:function(x){x.exports=function(o,t,d){d("newselection.mode"),d("newselection.line.width")&&(d("newselection.line.color"),d("newselection.line.dash")),d("activeselection.fillcolor"),d("activeselection.opacity")}},35855:function(x,o,t){var d=t(64505).selectMode,g=t(51873).clearOutline,i=t(60165),M=i.readPaths,v=i.writePaths,p=i.fixDatesForPaths;x.exports=function(u,a){if(u.length){var c=u[0][0];if(c){var s=c.getAttribute("d"),l=a.gd,h=l._fullLayout.newselection,f=a.plotinfo,m=f.xaxis,_=f.yaxis,y=a.isActiveSelection,C=a.dragmode,w=(l.layout||{}).selections||[];if(!d(C)&&y!==void 0){var k=l._fullLayout._activeSelectionIndex;if(k-1,Wt=[];if(function(nt){return nt&&Array.isArray(nt)&&nt[0].hoverOnBox!==!0}(Dt)){re(ze,je,Ve);var Vt=function(nt,ht){var Oe,Ne,Qe=nt[0],ut=-1,pt=[];for(Ne=0;Ne0?function(nt,ht){var Oe,Ne,Qe,ut=[];for(Qe=0;Qe0&&ut.push(Oe);if(ut.length===1&&ut[0]===ht.searchInfo&&(Ne=ht.searchInfo.cd[0].trace).selectedpoints.length===ht.pointNumbers.length){for(Qe=0;Qe1||(Ne+=ht.selectedpoints.length)>1))return!1;return Ne===1}($e)&&(Et=ye(Vt))){for(Ye&&Ye.remove(),Ft=0;Ft<$e.length;Ft++)(st=$e[Ft])._module.selectPoints(st,!1);de(je,$e),ie(Ve),Bt&&Be(je)}else{for(kt=ze.shiftKey&&(Et!==void 0?Et:ye(Vt)),ot=function(nt,ht,Oe){return{pointNumber:nt,searchInfo:ht,subtract:!!Oe}}(Vt.pointNumber,Vt.searchInfo,kt),ft=Q(Ve.selectionDefs.concat([ot])),Ft=0;Ft<$e.length;Ft++)if(bt=pe($e[Ft]._module.selectPoints($e[Ft],ft),$e[Ft]),Wt.length)for(var Ke=0;Ke=0})(Ee)&&Ee._fullLayout._deactivateShape(Ee),function(bt){return bt._fullLayout._activeSelectionIndex>=0}(Ee)&&Ee._fullLayout._deactivateSelection(Ee);var Ve=Ee._fullLayout._zoomlayer,Ye=l(ge),$e=f(ge);if(Ye||$e){var st,ot,ft=Ve.selectAll(".select-outline-"+we.id);ft&&Ee._fullLayout._outlining&&(Ye&&(st=T(ft,ze)),st&&i.call("_guiRelayout",Ee,{shapes:st}),$e&&!ne(ze)&&(ot=A(ft,ze)),ot&&(Ee._fullLayout._noEmitSelectedAtStart=!0,i.call("_guiRelayout",Ee,{selections:ot}).then(function(){je&&L(Ee)})),Ee._fullLayout._outlining=!1)}we.selection={},we.selection.selectionDefs=ze.selectionDefs=[],we.selection.mergedPolygons=ze.mergedPolygons=[]}function oe(ze){return ze._id}function ue(ze,je,ge,we){if(!ze.calcdata)return[];var Ee,Ve,Ye,$e=[],st=je.map(oe),ot=ge.map(oe);for(Ye=0;Ye0?we[0]:ge;return!!je.selectedpoints&&je.selectedpoints.indexOf(Ee)>-1}function de(ze,je,ge){var we,Ee;for(we=0;we-1&&je;if(!Ve&&je){var Tn=Ce(ze,!0);if(Tn.length){var dn=Tn[0].xref,pn=Tn[0].yref;if(dn&&pn){var Rn=be(Tn);ke([z(ze,dn,"x"),z(ze,pn,"y")])(kn,Rn)}}ze._fullLayout._noEmitSelectedAtStart?ze._fullLayout._noEmitSelectedAtStart=!1:sn&&Le(ze,kn),Et._reselect=!1}if(!Ve&&Et._deselect){var In=Et._deselect;(function(jn,Gn,Wn){for(var ur=0;ur=0)kt._fullLayout._deactivateShape(kt);else if(!ot){var pn=xt.clickmode;R.done(An).then(function(){if(R.clear(An),Tn===2){for(Xt.remove(),Qe=0;Qe-1&&te(dn,kt,we.xaxes,we.yaxes,we.subplot,we,Xt),pn==="event"&&Le(kt,void 0);p.click(kt,dn)}).catch(b.error)}},we.doneFn=function(){un.remove(),R.done(An).then(function(){R.clear(An),!Ft&&Ne&&we.selectionDefs&&(Ne.subtract=qt,we.selectionDefs.push(Ne),we.mergedPolygons.length=0,[].push.apply(we.mergedPolygons,Oe)),(Ft||ot)&&ie(we,Ft),we.doneFnCompleted&&we.doneFnCompleted(Yn),ft&&Le(kt,pt)}).catch(b.error)}},clearOutline:C,clearSelectionsCache:ie,selectOnClick:te}},89827:function(x,o,t){var d=t(50215),g=t(41940),i=t(82196).line,M=t(79952).P,v=t(1426).extendFlat,p=t(44467).templatedArray,u=(t(24695),t(5386).R),a=t(37281);x.exports=p("shape",{visible:{valType:"boolean",dflt:!0,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:v({},d.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:v({},d.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:v({},i.color,{editType:"arraydraw"}),width:v({},i.width,{editType:"calc+arraydraw"}),dash:v({},M,{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:u({},{keys:Object.keys(a)}),font:g({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"})},5627:function(x,o,t){var d=t(71828),g=t(89298),i=t(21459),M=t(30477);function v(c){return u(c.line.width,c.xsizemode,c.x0,c.x1,c.path,!1)}function p(c){return u(c.line.width,c.ysizemode,c.y0,c.y1,c.path,!0)}function u(c,s,l,h,f,m){var _=c/2,y=m;if(s==="pixel"){var C=f?M.extractPathCoords(f,m?i.paramIsY:i.paramIsX):[l,h],w=d.aggNums(Math.max,null,C),k=d.aggNums(Math.min,null,C),E=k<0?Math.abs(k)+_:_,T=w>0?w+_:_;return{ppad:_,ppadplus:y?E:T,ppadminus:y?T:E}}return{ppad:_}}function a(c,s,l,h,f){var m=c.type==="category"||c.type==="multicategory"?c.r2c:c.d2c;if(s!==void 0)return[m(s),m(l)];if(h){var _,y,C,w,k=1/0,E=-1/0,T=h.match(i.segmentRE);for(c.type==="date"&&(m=M.decodeDate(m)),_=0;_E&&(E=w)));return E>=k?[k,E]:void 0}}x.exports=function(c){var s=c._fullLayout,l=d.filterVisible(s.shapes);if(l.length&&c._fullData.length)for(var h=0;h1&&(ye.length!==2||ye[1][0]!=="Z")&&(q===0&&(ye[0][0]="M"),A[N]=ye,R(),z())}}()}}function X(oe,ue){(function(ce,ye){if(A.length)for(var de=0;deSe?(he=_e,Be="y0",be=Se,ze="y1"):(he=Se,Be="y1",be=_e,ze="y0"),Je(Ne),ht(pe,de),function(Qe,ut,pt){var _t=ut.xref,It=ut.yref,Lt=M.getFromId(pt,_t),yt=M.getFromId(pt,It),Pt="";_t==="paper"||Lt.autorange||(Pt+=_t),It==="paper"||yt.autorange||(Pt+=It),c.setClipUrl(Qe,Pt?"clip"+pt._fullLayout._uid+Pt:null,pt)}(ye,de,ce),Ke.moveFn=Ee==="move"?We:nt,Ke.altKey=Ne.altKey)},doneFn:function(){E(ce)||(h(ye),Oe(pe),L(ye,ce,de),g.call("_guiRelayout",ce,xe.getUpdateObj()))},clickFn:function(){E(ce)||Oe(pe)}};function Je(Ne){if(E(ce))Ee=null;else if($e)Ee=Ne.target.tagName==="path"?"move":Ne.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Qe=Ke.element.getBoundingClientRect(),ut=Qe.right-Qe.left,pt=Qe.bottom-Qe.top,_t=Ne.clientX-Qe.left,It=Ne.clientY-Qe.top,Lt=!st&&ut>10&&pt>10&&!Ne.shiftKey?l.getCursor(_t/ut,1-It/pt):"move";h(ye,Lt),Ee=Lt.split("-")[0]}}function We(Ne,Qe){if(de.type==="path"){var ut=function(It){return It},pt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(pt=function(It){return Bt(Ft(It)+Ne)},bt&&bt.type==="date"&&(pt=_.encodeDate(pt))),Ye?ot("yanchor",de.yanchor=Wt(ae+Qe)):(_t=function(It){return Wt(Dt(It)+Qe)},kt&&kt.type==="date"&&(_t=_.encodeDate(_t))),ot("path",de.path=O(we,pt,_t))}else Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(ot("x0",de.x0=Bt(Pe+Ne)),ot("x1",de.x1=Bt(Me+Ne))),Ye?ot("yanchor",de.yanchor=Wt(ae+Qe)):(ot("y0",de.y0=Wt(_e+Qe)),ot("y1",de.y1=Wt(Se+Qe)));ye.attr("d",y(ce,de)),ht(pe,de),b(ce,me,de,ft)}function nt(Ne,Qe){if(st){var ut=function(un){return un},pt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(pt=function(un){return Bt(Ft(un)+Ne)},bt&&bt.type==="date"&&(pt=_.encodeDate(pt))),Ye?ot("yanchor",de.yanchor=Wt(ae+Qe)):(_t=function(un){return Wt(Dt(un)+Qe)},kt&&kt.type==="date"&&(_t=_.encodeDate(_t))),ot("path",de.path=O(we,pt,_t))}else if($e){if(Ee==="resize-over-start-point"){var It=Pe+Ne,Lt=Ye?_e-Qe:_e+Qe;ot("x0",de.x0=Ve?It:Bt(It)),ot("y0",de.y0=Ye?Lt:Wt(Lt))}else if(Ee==="resize-over-end-point"){var yt=Me+Ne,Pt=Ye?Se-Qe:Se+Qe;ot("x1",de.x1=Ve?yt:Bt(yt)),ot("y1",de.y1=Ye?Pt:Wt(Pt))}}else{var wt=function(un){return Ee.indexOf(un)!==-1},Ot=wt("n"),Nt=wt("s"),$t=wt("w"),qt=wt("e"),Xt=Ot?he+Qe:he,Qt=Nt?be+Qe:be,rn=$t?ke+Ne:ke,xn=qt?Le+Ne:Le;Ye&&(Ot&&(Xt=he-Qe),Nt&&(Qt=be-Qe)),(!Ye&&Qt-Xt>10||Ye&&Xt-Qt>10)&&(ot(Be,de[Be]=Ye?Xt:Wt(Xt)),ot(ze,de[ze]=Ye?Qt:Wt(Qt))),xn-rn>10&&(ot(je,de[je]=Ve?rn:Bt(rn)),ot(ge,de[ge]=Ve?xn:Bt(xn)))}ye.attr("d",y(ce,de)),ht(pe,de),b(ce,me,de,ft)}function ht(Ne,Qe){(Ve||Ye)&&function(){var ut=Qe.type!=="path",pt=Ne.selectAll(".visual-cue").data([0]);pt.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var _t=Ft(Ve?Qe.xanchor:i.midRange(ut?[Qe.x0,Qe.x1]:_.extractPathCoords(Qe.path,m.paramIsX))),It=Dt(Ye?Qe.yanchor:i.midRange(ut?[Qe.y0,Qe.y1]:_.extractPathCoords(Qe.path,m.paramIsY)));if(_t=_.roundPositionForSharpStrokeRendering(_t,1),It=_.roundPositionForSharpStrokeRendering(It,1),Ve&&Ye){var Lt="M"+(_t-1-1)+","+(It-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";pt.attr("d",Lt)}else if(Ve){var yt="M"+(_t-1-1)+","+(It-9-1)+"v18 h2 v-18 Z";pt.attr("d",yt)}else{var Pt="M"+(_t-9-1)+","+(It-1-1)+"h18 v2 h-18 Z";pt.attr("d",Pt)}}()}function Oe(Ne){Ne.selectAll(".visual-cue").remove()}l.init(Ke),Vt.node().onmousemove=Je}(R,ie,B,z,j,Q):B.editable===!0&&ie.style("pointer-events",Z||a.opacity(W)*G<=.5?"stroke":"all");ie.node().addEventListener("click",function(){return function(ce,ye){if(T(ce)){var de=+ye.node().getAttribute("data-index");if(de>=0){if(de===ce._fullLayout._activeShapeIndex)return void I(ce);ce._fullLayout._activeShapeIndex=de,ce._fullLayout._deactivateShape=I,k(ce)}}}(R,ie)})}B._input&&B.visible!==!1&&(B.layer!=="below"?q(R._fullLayout._shapeUpperLayer):B.xref==="paper"||B.yref==="paper"?q(R._fullLayout._shapeLowerLayer):N._hadPlotinfo?q((N.mainplotinfo||N).shapelayer):q(R._fullLayout._shapeLowerLayer))}function L(R,z,F){var B=(F.xref+F.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");c.setClipUrl(R,B?"clip"+z._fullLayout._uid+B:null,z)}function b(R,z,F,B){if(B.selectAll(".shape-label").remove(),F.label.text||F.label.texttemplate){var N;if(F.label.texttemplate){var q={};if(F.type!=="path"){var j=M.getFromId(R,F.xref),Y=M.getFromId(R,F.yref);for(var U in C){var G=C[U](F,j,Y);G!==void 0&&(q[U]=G)}}N=i.texttemplateStringForShapes(F.label.texttemplate,{},R._fullLayout._d3locale,q)}else N=F.label.text;var W,H,ne,te,Z={"data-index":z},X=F.label.font,Q=B.append("g").attr(Z).classed("shape-label",!0).append("text").attr({"data-notex":1}).classed("shape-label-text",!0).text(N);if(F.path){var re=y(R,F),ie=v(re,R);W=1/0,ne=1/0,H=-1/0,te=-1/0;for(var oe=0;oe=Le?Be-je:je-Be,-180/Math.PI*Math.atan2(ge,we)}(W,ne,H,te):0),Q.call(function(Le){return Le.call(c.font,X).attr({}),f.convertToTspans(Le,R),Le});var ae=function(Le,Be,ze,je,ge,we,Ee){var Ve,Ye,$e,st,ot=ge.label.textposition,ft=ge.label.textangle,bt=ge.label.padding,Et=ge.type,kt=Math.PI/180*we,xt=Math.sin(kt),Ft=Math.cos(kt),Dt=ge.label.xanchor,Bt=ge.label.yanchor;if(Et==="line"){ot==="start"?(Ve=Le,Ye=Be):ot==="end"?(Ve=ze,Ye=je):(Ve=(Le+ze)/2,Ye=(Be+je)/2),Dt==="auto"&&(Dt=ot==="start"?ft==="auto"?ze>Le?"left":zeLe?"right":zeLe?"right":zeLe?"left":ze=U||(j[N]?G=z(G):Y[N]&&(G=F(G)),N++),G})})}function I(R){T(R)&&R._fullLayout._activeShapeIndex>=0&&(u(R),delete R._fullLayout._activeShapeIndex,k(R))}x.exports={draw:k,drawOne:A,eraseActiveShape:function(R){if(T(R)){u(R);var z=R._fullLayout._activeShapeIndex,F=(R.layout||{}).shapes||[];if(z0&&EZ&&(Q="X"),Q});return W>Z&&(X=X.replace(/[\s,]*X.*/,""),g.log("Ignoring extra params in segment "+G)),H+X})}(v,u,c);if(v.xsizemode==="pixel"){var E=u(v.xanchor);s=E+v.x0,l=E+v.x1}else s=u(v.x0),l=u(v.x1);if(v.ysizemode==="pixel"){var T=c(v.yanchor);h=T-v.y0,f=T-v.y1}else h=c(v.y0),f=c(v.y1);if(m==="line")return"M"+s+","+h+"L"+l+","+f;if(m==="rect")return"M"+s+","+h+"H"+l+"V"+f+"H"+s+"Z";var A=(s+l)/2,L=(h+f)/2,b=Math.abs(A-s),O=Math.abs(L-h),I="A"+b+","+O,R=A+b+","+L;return"M"+R+I+" 0 1,1 "+A+","+(L-O)+I+" 0 0,1 "+R+"Z"}},89853:function(x,o,t){var d=t(34031);x.exports={moduleType:"component",name:"shapes",layoutAttributes:t(89827),supplyLayoutDefaults:t(84726),supplyDrawNewShapeDefaults:t(45547),includeBasePlot:t(76325)("shapes"),calcAutorange:t(5627),draw:d.draw,drawOne:d.drawOne}},37281:function(x){function o(i,M){return M?M.d2l(i):i}function t(i,M){return M?M.l2d(i):i}function d(i,M){return o(i.x1,M)-o(i.x0,M)}function g(i,M,v){return o(i.y1,v)-o(i.y0,v)}x.exports={x0:function(i){return i.x0},x1:function(i){return i.x1},y0:function(i){return i.y0},y1:function(i){return i.y1},slope:function(i,M,v){return i.type!=="line"?void 0:g(i,0,v)/d(i,M)},dx:d,dy:g,width:function(i,M){return Math.abs(d(i,M))},height:function(i,M,v){return Math.abs(g(i,0,v))},length:function(i,M,v){return i.type!=="line"?void 0:Math.sqrt(Math.pow(d(i,M),2)+Math.pow(g(i,0,v),2))},xcenter:function(i,M){return t((o(i.x1,M)+o(i.x0,M))/2,M)},ycenter:function(i,M,v){return t((o(i.y1,v)+o(i.y0,v))/2,v)}}},75067:function(x,o,t){var d=t(41940),g=t(35025),i=t(1426).extendDeepAll,M=t(30962).overrideAll,v=t(85594),p=t(44467).templatedArray,u=t(98292),a=p("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}});x.exports=M(p("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:a,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:i(g({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:v.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:d({})},font:d({}),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")},98292:function(x){x.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}},12343:function(x,o,t){var d=t(71828),g=t(85501),i=t(75067),M=t(98292).name,v=i.steps;function p(a,c,s){function l(y,C){return d.coerce(a,c,i,y,C)}for(var h=g(a,c,{name:"steps",handleItemDefaults:u}),f=0,m=0;m0&&(W=W.transition().duration(N.transition.duration).ease(N.transition.easing)),W.attr("transform",p(G-.5*c.gripWidth,N._dims.currentValueTotalHeight))}}function I(B,N){var q=B._dims;return q.inputAreaStart+c.stepInset+(q.inputAreaLength-2*c.stepInset)*Math.min(1,Math.max(0,N))}function R(B,N){var q=B._dims;return Math.min(1,Math.max(0,(N-c.stepInset-q.inputAreaStart)/(q.inputAreaLength-2*c.stepInset-2*q.inputAreaStart)))}function z(B,N,q){var j=q._dims,Y=v.ensureSingle(B,"rect",c.railTouchRectClass,function(U){U.call(L,N,B,q).style("pointer-events","all")});Y.attr({width:j.inputAreaLength,height:Math.max(j.inputAreaWidth,c.tickOffset+q.ticklen+j.labelHeight)}).call(i.fill,q.bgcolor).attr("opacity",0),M.setTranslate(Y,0,j.currentValueTotalHeight)}function F(B,N){var q=N._dims,j=q.inputAreaLength-2*c.railInset,Y=v.ensureSingle(B,"rect",c.railRectClass);Y.attr({width:j,height:c.railWidth,rx:c.railRadius,ry:c.railRadius,"shape-rendering":"crispEdges"}).call(i.stroke,N.bordercolor).call(i.fill,N.bgcolor).style("stroke-width",N.borderwidth+"px"),M.setTranslate(Y,c.railInset,.5*(q.inputAreaWidth-c.railWidth)+q.currentValueTotalHeight)}x.exports=function(B){var N=B._context.staticPlot,q=B._fullLayout,j=function(ne,te){for(var Z=ne[c.name],X=[],Q=0;Q0?[0]:[]);function U(ne){ne._commandObserver&&(ne._commandObserver.remove(),delete ne._commandObserver),g.autoMargin(B,m(ne))}if(Y.enter().append("g").classed(c.containerClassName,!0).style("cursor",N?null:"ew-resize"),Y.exit().each(function(){d.select(this).selectAll("g."+c.groupClassName).each(U)}).remove(),j.length!==0){var G=Y.selectAll("g."+c.groupClassName).data(j,_);G.enter().append("g").classed(c.groupClassName,!0),G.exit().each(U).remove();for(var W=0;W0||xe<0){var Se={left:[-Pe,0],right:[Pe,0],top:[0,-Pe],bottom:[0,Pe]}[T.side];X.attr("transform",p(Se[0],Se[1]))}}}return W.call(H),Y&&(F?W.on(".opacity",null):(I=0,R=!0,W.text(k).on("mouseover.opacity",function(){d.select(this).transition().duration(s.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){d.select(this).transition().duration(s.HIDE_PLACEHOLDER).style("opacity",0)})),W.call(c.makeEditable,{gd:f}).on("edit",function(Z){E!==void 0?M.call("_guiRestyle",f,w,Z,E):M.call("_guiRelayout",f,w,Z)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(H)}).on("input",function(Z){this.text(Z||" ").call(c.positionText,A.x,A.y)})),W.classed("js-placeholder",R),b}}},7163:function(x,o,t){var d=t(41940),g=t(22399),i=t(1426).extendFlat,M=t(30962).overrideAll,v=t(35025),p=t(44467).templatedArray,u=p("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}});x.exports=M(p("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:i(v({editType:"arraydraw"}),{}),font:d({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:g.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(x){x.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:"▼"}}},64897:function(x,o,t){var d=t(71828),g=t(85501),i=t(7163),M=t(75909).name,v=i.buttons;function p(a,c,s){function l(h,f){return d.coerce(a,c,i,h,f)}l("visible",g(a,c,{name:"buttons",handleItemDefaults:u}).length>0)&&(l("active"),l("direction"),l("type"),l("showactive"),l("x"),l("y"),d.noneOrAll(a,c,["x","y"]),l("xanchor"),l("yanchor"),l("pad.t"),l("pad.r"),l("pad.b"),l("pad.l"),d.coerceFont(l,"font",s.font),l("bgcolor",s.paper_bgcolor),l("bordercolor"),l("borderwidth"))}function u(a,c){function s(l,h){return d.coerce(a,c,v,l,h)}s("visible",a.method==="skip"||Array.isArray(a.args))&&(s("method"),s("args"),s("args2"),s("label"),s("execute"))}x.exports=function(a,c){g(a,c,{name:M,handleItemDefaults:p})}},13689:function(x,o,t){var d=t(39898),g=t(74875),i=t(7901),M=t(91424),v=t(71828),p=t(63893),u=t(44467).arrayEditor,a=t(18783).LINE_SPACING,c=t(75909),s=t(25849);function l(I){return I._index}function h(I,R){return+I.attr(c.menuIndexAttrName)===R._index}function f(I,R,z,F,B,N,q,j){R.active=q,u(I.layout,c.name,R).applyUpdate("active",q),R.type==="buttons"?_(I,F,null,null,R):R.type==="dropdown"&&(B.attr(c.menuIndexAttrName,"-1"),m(I,F,B,N,R),j||_(I,F,B,N,R))}function m(I,R,z,F,B){var N=v.ensureSingle(R,"g",c.headerClassName,function(W){W.style("pointer-events","all")}),q=B._dims,j=B.active,Y=B.buttons[j]||c.blankHeaderOpts,U={y:B.pad.t,yPad:0,x:B.pad.l,xPad:0,index:0},G={width:q.headerWidth,height:q.headerHeight};N.call(y,B,Y,I).call(b,B,U,G),v.ensureSingle(R,"text",c.headerArrowClassName,function(W){W.attr("text-anchor","end").call(M.font,B.font).text(c.arrowSymbol[B.direction])}).attr({x:q.headerWidth-c.arrowOffsetX+B.pad.l,y:q.headerHeight/2+c.textOffsetY+B.pad.t}),N.on("click",function(){z.call(O,String(h(z,B)?-1:B._index)),_(I,R,z,F,B)}),N.on("mouseover",function(){N.call(E)}),N.on("mouseout",function(){N.call(T,B)}),M.setTranslate(R,q.lx,q.ly)}function _(I,R,z,F,B){z||(z=R).attr("pointer-events","all");var N=function(X){return+X.attr(c.menuIndexAttrName)==-1}(z)&&B.type!=="buttons"?[]:B.buttons,q=B.type==="dropdown"?c.dropdownButtonClassName:c.buttonClassName,j=z.selectAll("g."+q).data(v.filterVisible(N)),Y=j.enter().append("g").classed(q,!0),U=j.exit();B.type==="dropdown"?(Y.attr("opacity","0").transition().attr("opacity","1"),U.transition().attr("opacity","0").remove()):U.remove();var G=0,W=0,H=B._dims,ne=["up","down"].indexOf(B.direction)!==-1;B.type==="dropdown"&&(ne?W=H.headerHeight+c.gapButtonHeader:G=H.headerWidth+c.gapButtonHeader),B.type==="dropdown"&&B.direction==="up"&&(W=-c.gapButtonHeader+c.gapButton-H.openHeight),B.type==="dropdown"&&B.direction==="left"&&(G=-c.gapButtonHeader+c.gapButton-H.openWidth);var te={x:H.lx+G+B.pad.l,y:H.ly+W+B.pad.t,yPad:c.gapButton,xPad:c.gapButton,index:0},Z={l:te.x+B.borderwidth,t:te.y+B.borderwidth};j.each(function(X,Q){var re=d.select(this);re.call(y,B,X,I).call(b,B,te),re.on("click",function(){d.event.defaultPrevented||(X.execute&&(X.args2&&B.active===Q?(f(I,B,0,R,z,F,-1),g.executeAPICommand(I,X.method,X.args2)):(f(I,B,0,R,z,F,Q),g.executeAPICommand(I,X.method,X.args))),I.emit("plotly_buttonclicked",{menu:B,button:X,active:B.active}))}),re.on("mouseover",function(){re.call(E)}),re.on("mouseout",function(){re.call(T,B),j.call(k,B)})}),j.call(k,B),ne?(Z.w=Math.max(H.openWidth,H.headerWidth),Z.h=te.y-Z.t):(Z.w=te.x-Z.l,Z.h=Math.max(H.openHeight,H.headerHeight)),Z.direction=B.direction,F&&(j.size()?function(X,Q,re,ie,oe,ue){var ce,ye,de,me=oe.direction,pe=me==="up"||me==="down",xe=oe._dims,Pe=oe.active;if(pe)for(ye=0,de=0;de0?[0]:[]);if(B.enter().append("g").classed(c.containerClassName,!0).style("cursor","pointer"),B.exit().each(function(){d.select(this).selectAll("g."+c.headerGroupClassName).each(F)}).remove(),z.length!==0){var N=B.selectAll("g."+c.headerGroupClassName).data(z,l);N.enter().append("g").classed(c.headerGroupClassName,!0);for(var q=v.ensureSingle(B,"g",c.dropdownButtonGroupClassName,function(W){W.style("pointer-events","all")}),j=0;jb,R=v.barLength+2*v.barPad,z=v.barWidth+2*v.barPad,F=y,B=w+k;B+z>l&&(B=l-z);var N=this.container.selectAll("rect.scrollbar-horizontal").data(I?[0]:[]);N.exit().on(".drag",null).remove(),N.enter().append("rect").classed("scrollbar-horizontal",!0).call(g.fill,v.barColor),I?(this.hbar=N.attr({rx:v.barRadius,ry:v.barRadius,x:F,y:B,width:R,height:z}),this._hbarXMin=F+R/2,this._hbarTranslateMax=b-R):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var q=k>O,j=v.barWidth+2*v.barPad,Y=v.barLength+2*v.barPad,U=y+C,G=w;U+j>s&&(U=s-j);var W=this.container.selectAll("rect.scrollbar-vertical").data(q?[0]:[]);W.exit().on(".drag",null).remove(),W.enter().append("rect").classed("scrollbar-vertical",!0).call(g.fill,v.barColor),q?(this.vbar=W.attr({rx:v.barRadius,ry:v.barRadius,x:U,y:G,width:j,height:Y}),this._vbarYMin=G+Y/2,this._vbarTranslateMax=O-Y):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var H=this.id,ne=h-.5,te=q?f+j+.5:f+.5,Z=m-.5,X=I?_+z+.5:_+.5,Q=c._topdefs.selectAll("#"+H).data(I||q?[0]:[]);if(Q.exit().remove(),Q.enter().append("clipPath").attr("id",H).append("rect"),I||q?(this._clipRect=Q.select("rect").attr({x:Math.floor(ne),y:Math.floor(Z),width:Math.ceil(te)-Math.floor(ne),height:Math.ceil(X)-Math.floor(Z)}),this.container.call(i.setClipUrl,H,this.gd),this.bg.attr({x:y,y:w,width:C,height:k})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),I||q){var re=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var ie=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault(),d.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));I&&this.hbar.on(".drag",null).call(ie),q&&this.vbar.on(".drag",null).call(ie)}this.setTranslate(u,a)},v.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.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)},v.prototype._onBoxDrag=function(){var p=this.translateX,u=this.translateY;this.hbar&&(p-=d.event.dx),this.vbar&&(u-=d.event.dy),this.setTranslate(p,u)},v.prototype._onBoxWheel=function(){var p=this.translateX,u=this.translateY;this.hbar&&(p+=d.event.deltaY),this.vbar&&(u+=d.event.deltaY),this.setTranslate(p,u)},v.prototype._onBarDrag=function(){var p=this.translateX,u=this.translateY;if(this.hbar){var a=p+this._hbarXMin,c=a+this._hbarTranslateMax;p=(M.constrain(d.event.x,a,c)-a)/(c-a)*(this.position.w-this._box.w)}if(this.vbar){var s=u+this._vbarYMin,l=s+this._vbarTranslateMax;u=(M.constrain(d.event.y,s,l)-s)/(l-s)*(this.position.h-this._box.h)}this.setTranslate(p,u)},v.prototype.setTranslate=function(p,u){var a=this.position.w-this._box.w,c=this.position.h-this._box.h;if(p=M.constrain(p||0,0,a),u=M.constrain(u||0,0,c),this.translateX=p,this.translateY=u,this.container.call(i.setTranslate,this._box.l-this.position.l-p,this._box.t-this.position.t-u),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+p-.5),y:Math.floor(this.position.t+u-.5)}),this.hbar){var s=p/a;this.hbar.call(i.setTranslate,p+s*this._hbarTranslateMax,u)}if(this.vbar){var l=u/c;this.vbar.call(i.setTranslate,p,u+l*this._vbarTranslateMax)}}},18783:function(x){x.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"}}},24695:function(x){x.exports={axisRefDescription:function(o,t,d){return["If set to a",o,"axis id (e.g. *"+o+"* or","*"+o+"2*), the `"+o+"` position refers to a",o,"coordinate. If set to *paper*, the `"+o+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+d+"). If set to a",o,"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",t,"of the domain of that axis: e.g.,","*"+o+"2 domain* refers to the domain of the second",o," axis and a",o,"position of 0.5 refers to the","point between the",t,"and the",d,"of the domain of the","second",o,"axis."].join(" ")}}},22372:function(x){x.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},31562:function(x){x.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"}},74808:function(x){x.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(x){x.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]}},87381:function(x){x.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},37822:function(x){x.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(x){x.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:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},77922:function(x,o){o.xmlns="http://www.w3.org/2000/xmlns/",o.svg="http://www.w3.org/2000/svg",o.xlink="http://www.w3.org/1999/xlink",o.svgAttrs={xmlns:o.svg,"xmlns:xlink":o.xlink}},8729:function(x,o,t){o.version=t(11506).version,t(7417),t(98847);for(var d=t(73972),g=o.register=d.register,i=t(10641),M=Object.keys(i),v=0;v",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(x,o){o.isLeftAnchor=function(t){return t.xanchor==="left"||t.xanchor==="auto"&&t.x<=.3333333333333333},o.isCenterAnchor=function(t){return t.xanchor==="center"||t.xanchor==="auto"&&t.x>.3333333333333333&&t.x<.6666666666666666},o.isRightAnchor=function(t){return t.xanchor==="right"||t.xanchor==="auto"&&t.x>=.6666666666666666},o.isTopAnchor=function(t){return t.yanchor==="top"||t.yanchor==="auto"&&t.y>=.6666666666666666},o.isMiddleAnchor=function(t){return t.yanchor==="middle"||t.yanchor==="auto"&&t.y>.3333333333333333&&t.y<.6666666666666666},o.isBottomAnchor=function(t){return t.yanchor==="bottom"||t.yanchor==="auto"&&t.y<=.3333333333333333}},26348:function(x,o,t){var d=t(64872),g=d.mod,i=d.modHalf,M=Math.PI,v=2*M;function p(s){return Math.abs(s[1]-s[0])>v-1e-14}function u(s,l){return i(l-s,v)}function a(s,l){if(p(l))return!0;var h,f;l[0](f=g(f,v))&&(f+=v);var m=g(s,v),_=m+v;return m>=h&&m<=f||_>=h&&_<=f}function c(s,l,h,f,m,_,y){m=m||0,_=_||0;var C,w,k,E,T,A=p([h,f]);function L(R,z){return[R*Math.cos(z)+m,_-R*Math.sin(z)]}A?(C=0,w=M,k=v):h=m&&s<=_);var m,_},pathArc:function(s,l,h,f,m){return c(null,s,l,h,f,m,0)},pathSector:function(s,l,h,f,m){return c(null,s,l,h,f,m,1)},pathAnnulus:function(s,l,h,f,m,_){return c(s,l,h,f,m,_,1)}}},73627:function(x,o){var t=Array.isArray,d=ArrayBuffer,g=DataView;function i(p){return d.isView(p)&&!(p instanceof g)}function M(p){return t(p)||i(p)}function v(p,u,a){if(M(p)){if(M(p[0])){for(var c=a,s=0;s_.max?f.set(m):f.set(+h)}},integer:{coerceFunction:function(h,f,m,_){h%1||!d(h)||_.min!==void 0&&h<_.min||_.max!==void 0&&h>_.max?f.set(m):f.set(+h)}},string:{coerceFunction:function(h,f,m,_){if(typeof h!="string"){var y=typeof h=="number";_.strict!==!0&&y?f.set(String(h)):f.set(m)}else _.noBlank&&!h?f.set(m):f.set(h)}},color:{coerceFunction:function(h,f,m){g(h).isValid()?f.set(h):f.set(m)}},colorlist:{coerceFunction:function(h,f,m){Array.isArray(h)&&h.length&&h.every(function(_){return g(_).isValid()})?f.set(h):f.set(m)}},colorscale:{coerceFunction:function(h,f,m){f.set(M.get(h,m))}},angle:{coerceFunction:function(h,f,m){h==="auto"?f.set("auto"):d(h)?f.set(c(+h,360)):f.set(m)}},subplotid:{coerceFunction:function(h,f,m,_){var y=_.regex||a(m);typeof h=="string"&&y.test(h)?f.set(h):f.set(m)},validateFunction:function(h,f){var m=f.dflt;return h===m||typeof h=="string"&&!!a(m).test(h)}},flaglist:{coerceFunction:function(h,f,m,_){if((_.extras||[]).indexOf(h)===-1)if(typeof h=="string"){for(var y=h.split("+"),C=0;C=d&&N<=g?N:a}if(typeof N!="string"&&typeof N!="number")return a;N=String(N);var G=k(q),W=N.charAt(0);!G||W!=="G"&&W!=="g"||(N=N.substr(1),q="");var H=G&&q.substr(0,7)==="chinese",ne=N.match(H?C:y);if(!ne)return a;var te=ne[1],Z=ne[3]||"1",X=Number(ne[5]||1),Q=Number(ne[7]||0),re=Number(ne[9]||0),ie=Number(ne[11]||0);if(G){if(te.length===2)return a;var oe;te=Number(te);try{var ue=m.getComponentMethod("calendars","getCal")(q);if(H){var ce=Z.charAt(Z.length-1)==="i";Z=parseInt(Z,10),oe=ue.newDate(te,ue.toMonthIndex(te,Z,ce),X)}else oe=ue.newDate(te,Number(Z),X)}catch{return a}return oe?(oe.toJD()-f)*c+Q*s+re*l+ie*h:a}te=te.length===2?(Number(te)+2e3-w)%100+w:Number(te),Z-=1;var ye=new Date(Date.UTC(2e3,Z,X,Q,re));return ye.setUTCFullYear(te),ye.getUTCMonth()!==Z||ye.getUTCDate()!==X?a:ye.getTime()+ie*h},d=o.MIN_MS=o.dateTime2ms("-9999"),g=o.MAX_MS=o.dateTime2ms("9999-12-31 23:59:59.9999"),o.isDateTime=function(N,q){return o.dateTime2ms(N,q)!==a};var T=90*c,A=3*s,L=5*l;function b(N,q,j,Y,U){if((q||j||Y||U)&&(N+=" "+E(q,2)+":"+E(j,2),(Y||U)&&(N+=":"+E(Y,2),U))){for(var G=4;U%10==0;)G-=1,U/=10;N+="."+E(U,G)}return N}o.ms2DateTime=function(N,q,j){if(typeof N!="number"||!(N>=d&&N<=g))return a;q||(q=0);var Y,U,G,W,H,ne,te=Math.floor(10*p(N+.05,1)),Z=Math.round(N-te/10);if(k(j)){var X=Math.floor(Z/c)+f,Q=Math.floor(p(N,c));try{Y=m.getComponentMethod("calendars","getCal")(j).fromJD(X).formatDate("yyyy-mm-dd")}catch{Y=_("G%Y-%m-%d")(new Date(Z))}if(Y.charAt(0)==="-")for(;Y.length<11;)Y="-0"+Y.substr(1);else for(;Y.length<10;)Y="0"+Y;U=q=d+c&&N<=g-c))return a;var q=Math.floor(10*p(N+.05,1)),j=new Date(Math.round(N-q/10));return b(i("%Y-%m-%d")(j),j.getHours(),j.getMinutes(),j.getSeconds(),10*j.getUTCMilliseconds()+q)},o.cleanDate=function(N,q,j){if(N===a)return q;if(o.isJSDate(N)||typeof N=="number"&&isFinite(N)){if(k(j))return v.error("JS Dates and milliseconds are incompatible with world calendars",N),q;if(!(N=o.ms2DateTimeLocal(+N))&&q!==void 0)return q}else if(!o.isDateTime(N,j))return v.error("unrecognized date",N),q;return N};var O=/%\d?f/g,I=/%h/g,R={1:"1",2:"1",3:"2",4:"2"};function z(N,q,j,Y){N=N.replace(O,function(G){var W=Math.min(+G.charAt(1)||6,6);return(q/1e3%1+2).toFixed(W).substr(2).replace(/0+$/,"")||"0"});var U=new Date(Math.floor(q+.05));if(N=N.replace(I,function(){return R[j("%q")(U)]}),k(Y))try{N=m.getComponentMethod("calendars","worldCalFmt")(N,q,Y)}catch{return"Invalid"}return j(N)(U)}var F=[59,59.9,59.99,59.999,59.9999];o.formatDate=function(N,q,j,Y,U,G){if(U=k(U)&&U,!q)if(j==="y")q=G.year;else if(j==="m")q=G.month;else{if(j!=="d")return function(W,H){var ne=p(W+.05,c),te=E(Math.floor(ne/s),2)+":"+E(p(Math.floor(ne/l),60),2);if(H!=="M"){M(H)||(H=0);var Z=(100+Math.min(p(W/h,60),F[H])).toFixed(H).substr(1);H>0&&(Z=Z.replace(/0+$/,"").replace(/[\.]$/,"")),te+=":"+Z}return te}(N,j)+` + */var qD=globalThis&&globalThis.__extends||function(){var n=function(e,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,D){S.__proto__=D}||function(S,D){for(var x in D)D.hasOwnProperty(x)&&(S[x]=D[x])},n(e,r)};return function(e,r){n(e,r);function S(){this.constructor=e}e.prototype=r===null?Object.create(r):(S.prototype=r.prototype,new S)}}();(function(n){qD(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){Tc.setFrameHeight()},e.prototype.componentDidUpdate=function(){Tc.setFrameHeight()},e})(iL.PureComponent);var pM={exports:{}};(function(n,e){/*! For license information please see plotly.min.js.LICENSE.txt */(function(r,S){n.exports=S()})(self,function(){return function(){var r={98847:function(x,o,t){var d=t(71828),v={"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 i in v){var M=i.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");d.addStyleRule(M,v[i])}},98222:function(x,o,t){x.exports=t(82887)},27206:function(x,o,t){x.exports=t(60822)},59893:function(x,o,t){x.exports=t(23381)},5224:function(x,o,t){x.exports=t(83832)},59509:function(x,o,t){x.exports=t(72201)},75557:function(x,o,t){x.exports=t(91815)},40338:function(x,o,t){x.exports=t(21462)},35080:function(x,o,t){x.exports=t(51319)},61396:function(x,o,t){x.exports=t(57516)},40549:function(x,o,t){x.exports=t(98128)},49866:function(x,o,t){x.exports=t(99442)},36089:function(x,o,t){x.exports=t(93740)},19548:function(x,o,t){x.exports=t(8729)},35831:function(x,o,t){x.exports=t(93814)},61039:function(x,o,t){x.exports=t(14382)},97040:function(x,o,t){x.exports=t(51759)},77986:function(x,o,t){x.exports=t(10421)},24296:function(x,o,t){x.exports=t(43102)},58872:function(x,o,t){x.exports=t(92165)},29626:function(x,o,t){x.exports=t(3325)},65591:function(x,o,t){x.exports=t(36071)},69738:function(x,o,t){x.exports=t(43905)},92650:function(x,o,t){x.exports=t(35902)},35630:function(x,o,t){x.exports=t(69816)},73434:function(x,o,t){x.exports=t(94507)},27909:function(x,o,t){var d=t(19548);d.register([t(27206),t(5224),t(58872),t(65591),t(69738),t(92650),t(49866),t(25743),t(6197),t(97040),t(85461),t(73434),t(54201),t(81299),t(47645),t(35630),t(77986),t(83043),t(93005),t(96881),t(4534),t(50581),t(40549),t(77900),t(47582),t(35080),t(21641),t(17280),t(5861),t(29626),t(10021),t(65317),t(96268),t(61396),t(35831),t(16122),t(46163),t(40344),t(40338),t(48131),t(36089),t(55334),t(75557),t(19440),t(99488),t(59893),t(97393),t(98222),t(61039),t(24296),t(66398),t(59509)]),x.exports=d},46163:function(x,o,t){x.exports=t(15154)},96881:function(x,o,t){x.exports=t(64943)},50581:function(x,o,t){x.exports=t(21164)},55334:function(x,o,t){x.exports=t(54186)},65317:function(x,o,t){x.exports=t(94873)},10021:function(x,o,t){x.exports=t(67618)},54201:function(x,o,t){x.exports=t(58810)},5861:function(x,o,t){x.exports=t(20593)},16122:function(x,o,t){x.exports=t(29396)},83043:function(x,o,t){x.exports=t(13551)},48131:function(x,o,t){x.exports=t(46858)},47582:function(x,o,t){x.exports=t(17988)},21641:function(x,o,t){x.exports=t(68868)},96268:function(x,o,t){x.exports=t(20467)},19440:function(x,o,t){x.exports=t(91271)},99488:function(x,o,t){x.exports=t(21461)},97393:function(x,o,t){x.exports=t(85956)},25743:function(x,o,t){x.exports=t(52979)},66398:function(x,o,t){x.exports=t(32275)},17280:function(x,o,t){x.exports=t(6419)},77900:function(x,o,t){x.exports=t(61510)},81299:function(x,o,t){x.exports=t(87619)},93005:function(x,o,t){x.exports=t(93601)},40344:function(x,o,t){x.exports=t(96595)},47645:function(x,o,t){x.exports=t(70954)},6197:function(x,o,t){x.exports=t(47462)},4534:function(x,o,t){x.exports=t(17659)},85461:function(x,o,t){x.exports=t(19990)},82884:function(x){x.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}]},50215:function(x,o,t){var d=t(82884),v=t(41940),i=t(85555),M=t(44467).templatedArray;t(24695),x.exports=M("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:v({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:d.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:d.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",i.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",i.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",i.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:v({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(x,o,t){var d=t(71828),v=t(89298),i=t(92605).draw;function M(p){var u=p._fullLayout;d.filterVisible(u.annotations).forEach(function(a){var c=v.getFromId(p,a.xref),s=v.getFromId(p,a.yref),l=v.getRefType(a.xref),h=v.getRefType(a.yref);a._extremes={},l==="range"&&g(a,c),h==="range"&&g(a,s)})}function g(p,u){var a,c=u._id,s=c.charAt(0),l=p[s],h=p["a"+s],f=p[s+"ref"],m=p["a"+s+"ref"],_=p["_"+s+"padplus"],y=p["_"+s+"padminus"],C={x:1,y:-1}[s]*p[s+"shift"],w=3*p.arrowsize*p.arrowwidth||0,k=w+C,E=w-C,T=3*p.startarrowsize*p.arrowwidth||0,A=T+C,L=T-C;if(m===f){var b=v.findExtremes(u,[u.r2c(l)],{ppadplus:k,ppadminus:E}),O=v.findExtremes(u,[u.r2c(h)],{ppadplus:Math.max(_,A),ppadminus:Math.max(y,L)});a={min:[b.min[0],O.min[0]],max:[b.max[0],O.max[0]]}}else A=h?A+h:A,L=h?L-h:L,a=v.findExtremes(u,[u.r2c(l)],{ppadplus:Math.max(_,k,A),ppadminus:Math.max(y,E,L)});p._extremes[c]=a}x.exports=function(p){var u=p._fullLayout;if(d.filterVisible(u.annotations).length&&p._fullData.length)return d.syncOrAsync([i,M],p)}},44317:function(x,o,t){var d=t(71828),v=t(73972),i=t(44467).arrayEditor;function M(p,u){var a,c,s,l,h,f,m,_=p._fullLayout.annotations,y=[],C=[],w=[],k=(u||[]).length;for(a=0;a<_.length;a++)if(l=(s=_[a]).clicktoshow){for(c=0;c0||a.explicitOff.length>0},onClick:function(p,u){var a,c,s=M(p,u),l=s.on,h=s.off.concat(s.explicitOff),f={},m=p._fullLayout.annotations;if(l.length||h.length){for(a=0;a.6666666666666666?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[yt]}for(var Be=!1,ze=["x","y"],je=0;je1)&&(ot===st?((Vt=ft.r2fraction(k["a"+$e]))<0||Vt>1)&&(Be=!0):Be=!0),ge=ft._offset+ft.r2p(k[$e]),Ve=.5}else{var Ke=Wt==="domain";$e==="x"?(Ee=k[$e],ge=Ke?ft._offset+ft._length*Ee:ge=R.l+R.w*Ee):(Ee=1-k[$e],ge=Ke?ft._offset+ft._length*Ee:ge=R.t+R.h*Ee),Ve=k.showarrow?.5:Ee}if(k.showarrow){Bt.head=ge;var Je=k["a"+$e];if(Ye=Et*Le(.5,k.xanchor)-kt*Le(.5,k.yanchor),ot===st){var We=p.getRefType(ot);We==="domain"?($e==="y"&&(Je=1-Je),Bt.tail=ft._offset+ft._length*Je):We==="paper"?$e==="y"?(Je=1-Je,Bt.tail=R.t+R.h*Je):Bt.tail=R.l+R.w*Je:Bt.tail=ft._offset+ft.r2p(Je),we=Ye}else Bt.tail=ge+Je,we=Ye+Je;Bt.text=Bt.tail+Ye;var nt=I[$e==="x"?"width":"height"];if(st==="paper"&&(Bt.head=M.constrain(Bt.head,1,nt-1)),ot==="pixel"){var ht=-Math.max(Bt.tail-3,Bt.text),Oe=Math.min(Bt.tail+3,Bt.text)-nt;ht>0?(Bt.tail+=ht,Bt.text+=ht):Oe>0&&(Bt.tail-=Oe,Bt.text-=Oe)}Bt.tail+=Dt,Bt.head+=Dt}else we=Ye=xt*Le(Ve,Ft),Bt.text=ge+Ye;Bt.text+=Dt,Ye+=Dt,we+=Dt,k["_"+$e+"padplus"]=xt/2+we,k["_"+$e+"padminus"]=xt/2-we,k["_"+$e+"size"]=xt,k["_"+$e+"shift"]=Ye}if(Be)te.remove();else{var Ne=0,Qe=0;if(k.align!=="left"&&(Ne=(ae-Se)*(k.align==="center"?.5:1)),k.valign!=="top"&&(Qe=(he-Ce)*(k.valign==="middle"?.5:1)),_e)Pe.select("svg").attr({x:Q+Ne-1,y:Q+Qe}).call(a.setClipUrl,ie?j:null,w);else{var ut=Q+Qe-Me.top,pt=Q+Ne-Me.left;ye.call(s.positionText,pt,ut).call(a.setClipUrl,ie?j:null,w)}oe.select("rect").call(a.setRect,Q,Q,ae,he),re.call(a.setRect,Z/2,Z/2,be-Z,ke-Z),te.call(a.setTranslate,Math.round(Y.x.text-be/2),Math.round(Y.y.text-ke/2)),W.attr({transform:"rotate("+U+","+Y.x.text+","+Y.y.text+")"});var _t,It=function(Lt,yt){G.selectAll(".annotation-arrow-g").remove();var Pt=Y.x.head,wt=Y.y.head,Ot=Y.x.tail+Lt,Nt=Y.y.tail+yt,$t=Y.x.text+Lt,qt=Y.y.text+yt,Xt=M.rotationXYMatrix(U,$t,qt),Qt=M.apply2DTransform(Xt),rn=M.apply2DTransform2(Xt),xn=+re.attr("width"),un=+re.attr("height"),An=$t-.5*xn,Yn=An+xn,kn=qt-.5*un,sn=kn+un,Tn=[[An,kn,An,sn],[An,sn,Yn,sn],[Yn,sn,Yn,kn],[Yn,kn,An,kn]].map(rn);if(!Tn.reduce(function(or,yr){return or^!!M.segmentsIntersect(Pt,wt,Pt+1e6,wt+1e6,yr[0],yr[1],yr[2],yr[3])},!1)){Tn.forEach(function(or){var yr=M.segmentsIntersect(Ot,Nt,Pt,wt,or[0],or[1],or[2],or[3]);yr&&(Ot=yr.x,Nt=yr.y)});var dn=k.arrowwidth,pn=k.arrowcolor,Rn=k.arrowside,In=G.append("g").style({opacity:u.opacity(pn)}).classed("annotation-arrow-g",!0),jn=In.append("path").attr("d","M"+Ot+","+Nt+"L"+Pt+","+wt).style("stroke-width",dn+"px").call(u.stroke,u.rgb(pn));if(m(jn,Rn,k),z.annotationPosition&&jn.node().parentNode&&!T){var Gn=Pt,Wn=wt;if(k.standoff){var ur=Math.sqrt(Math.pow(Pt-Ot,2)+Math.pow(wt-Nt,2));Gn+=k.standoff*(Ot-Pt)/ur,Wn+=k.standoff*(Nt-wt)/ur}var rr,Lr,br=In.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Ot-Gn)+","+(Nt-Wn),transform:g(Gn,Wn)}).style("stroke-width",dn+6+"px").call(u.stroke,"rgba(0,0,0,0)").call(u.fill,"rgba(0,0,0,0)");h.init({element:br.node(),gd:w,prepFn:function(){var or=a.getTranslate(te);rr=or.x,Lr=or.y,A&&A.autorange&&B(A._name+".autorange",!0),L&&L.autorange&&B(L._name+".autorange",!0)},moveFn:function(or,yr){var wr=Qt(rr,Lr),Kt=wr[0]+or,bn=wr[1]+yr;te.call(a.setTranslate,Kt,bn),N("x",y(A,or,"x",R,k)),N("y",y(L,yr,"y",R,k)),k.axref===k.xref&&N("ax",y(A,or,"ax",R,k)),k.ayref===k.yref&&N("ay",y(L,yr,"ay",R,k)),In.attr("transform",g(or,yr)),W.attr({transform:"rotate("+U+","+Kt+","+bn+")"})},doneFn:function(){v.call("_guiRelayout",w,q());var or=document.querySelector(".js-notes-box-panel");or&&or.redraw(or.selectedObj)}})}}};k.showarrow&&It(0,0),H&&h.init({element:te.node(),gd:w,prepFn:function(){_t=W.attr("transform")},moveFn:function(Lt,yt){var Pt="pointer";if(k.showarrow)k.axref===k.xref?N("ax",y(A,Lt,"ax",R,k)):N("ax",k.ax+Lt),k.ayref===k.yref?N("ay",y(L,yt,"ay",R.w,k)):N("ay",k.ay+yt),It(Lt,yt);else{if(T)return;var wt,Ot;if(A)wt=y(A,Lt,"x",R,k);else{var Nt=k._xsize/R.w,$t=k.x+(k._xshift-k.xshift)/R.w-Nt/2;wt=h.align($t+Lt/R.w,Nt,0,1,k.xanchor)}if(L)Ot=y(L,yt,"y",R,k);else{var qt=k._ysize/R.h,Xt=k.y-(k._yshift+k.yshift)/R.h-qt/2;Ot=h.align(Xt-yt/R.h,qt,0,1,k.yanchor)}N("x",wt),N("y",Ot),A&&L||(Pt=h.getCursor(A?.5:wt,L?.5:Ot,k.xanchor,k.yanchor))}W.attr({transform:g(Lt,yt)+_t}),l(te,Pt)},clickFn:function(Lt,yt){k.captureevents&&w.emit("plotly_clickannotation",de(yt))},doneFn:function(){l(te),v.call("_guiRelayout",w,q());var Lt=document.querySelector(".js-notes-box-panel");Lt&&Lt.redraw(Lt.selectedObj)}})}}}x.exports={draw:function(w){var k=w._fullLayout;k._infolayer.selectAll(".annotation").remove();for(var E=0;E=0,T=c.indexOf("end")>=0,A=y.backoff*w+s.standoff,L=C.backoff*k+s.startstandoff;if(_.nodeName==="line"){l={x:+a.attr("x1"),y:+a.attr("y1")},h={x:+a.attr("x2"),y:+a.attr("y2")};var b=l.x-h.x,O=l.y-h.y;if(m=(f=Math.atan2(O,b))+Math.PI,A&&L&&A+L>Math.sqrt(b*b+O*O))return void G();if(A){if(A*A>b*b+O*O)return void G();var I=A*Math.cos(f),R=A*Math.sin(f);h.x+=I,h.y+=R,a.attr({x2:h.x,y2:h.y})}if(L){if(L*L>b*b+O*O)return void G();var z=L*Math.cos(f),F=L*Math.sin(f);l.x-=z,l.y-=F,a.attr({x1:l.x,y1:l.y})}}else if(_.nodeName==="path"){var B=_.getTotalLength(),N="";if(B1){s=!0;break}}s?M.fullLayout._infolayer.select(".annotation-"+M.id+'[data-index="'+a+'"]').remove():(c._pdata=v(M.glplot.cameraParams,[g.xaxis.r2l(c.x)*p[0],g.yaxis.r2l(c.y)*p[1],g.zaxis.r2l(c.z)*p[2]]),d(M.graphDiv,c,a,M.id,c._xa,c._ya))}}},2468:function(x,o,t){var d=t(73972),v=t(71828);x.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:t(26997)}}},layoutAttributes:t(26997),handleDefaults:t(20226),includeBasePlot:function(i,M){var g=d.subplotsRegistry.gl3d;if(g)for(var p=g.attrRegex,u=Object.keys(i),a=0;a=0)))return c;if(m===3)h[m]>1&&(h[m]=1);else if(h[m]>=1)return c}var _=Math.round(255*h[0])+", "+Math.round(255*h[1])+", "+Math.round(255*h[2]);return f?"rgba("+_+", "+h[3]+")":"rgb("+_+")"}M.tinyRGB=function(c){var s=c.toRgb();return"rgb("+Math.round(s.r)+", "+Math.round(s.g)+", "+Math.round(s.b)+")"},M.rgb=function(c){return M.tinyRGB(d(c))},M.opacity=function(c){return c?d(c).getAlpha():0},M.addOpacity=function(c,s){var l=d(c).toRgb();return"rgba("+Math.round(l.r)+", "+Math.round(l.g)+", "+Math.round(l.b)+", "+s+")"},M.combine=function(c,s){var l=d(c).toRgb();if(l.a===1)return d(c).toRgbString();var h=d(s||u).toRgb(),f=h.a===1?h:{r:255*(1-h.a)+h.r*h.a,g:255*(1-h.a)+h.g*h.a,b:255*(1-h.a)+h.b*h.a},m={r:f.r*(1-l.a)+l.r*l.a,g:f.g*(1-l.a)+l.g*l.a,b:f.b*(1-l.a)+l.b*l.a};return d(m).toRgbString()},M.contrast=function(c,s,l){var h=d(c);return h.getAlpha()!==1&&(h=d(M.combine(c,u))),(h.isDark()?s?h.lighten(s):u:l?h.darken(l):p).toString()},M.stroke=function(c,s){var l=d(s);c.style({stroke:M.tinyRGB(l),"stroke-opacity":l.getAlpha()})},M.fill=function(c,s){var l=d(s);c.style({fill:M.tinyRGB(l),"fill-opacity":l.getAlpha()})},M.clean=function(c){if(c&&typeof c=="object"){var s,l,h,f,m=Object.keys(c);for(s=0;s0?Je>=Ne:Je<=Ne));We++)Je>ut&&Je0?Je>=Ne:Je<=Ne));We++)Je>Ke[0]&&Je1){var ot=Math.pow(10,Math.floor(Math.log(st)/Math.LN10));Ye*=ot*u.roundUp(st/ot,[2,5,10]),(Math.abs(_e.start)/_e.size+1e-6)%1<2e-6&&(Ee.tick0=0)}Ee.dtick=Ye}Ee.domain=q?[ge+Q/ue.h,ge+ke-Q/ue.h]:[ge+X/ue.w,ge+ke-X/ue.w],Ee.setScale(),F.attr("transform",a(Math.round(ue.l),Math.round(ue.t)));var ft,bt=F.select("."+L.cbtitleunshift).attr("transform",a(-Math.round(ue.l),-Math.round(ue.t))),Et=Ee.ticklabelposition,kt=Ee.title.font.size,xt=F.select("."+L.cbaxis),Ft=0,Dt=0;function Bt(Wt,Vt){var Ke={propContainer:Ee,propName:B._propPrefix+"title",traceIndex:B._traceIndex,_meta:B._meta,placeholder:oe._dfltTitle.colorbar,containerGroup:F.select("."+L.cbtitle)},Je=Wt.charAt(0)==="h"?Wt.substr(1):"h"+Wt;F.selectAll("."+Je+",."+Je+"-math-group").remove(),f.draw(N,Wt,c(Ke,Vt||{}))}return u.syncOrAsync([i.previousPromises,function(){var Wt,Vt;(q&&Ve||!q&&!Ve)&&(me==="top"&&(Wt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge-ke)+3+.75*kt),me==="bottom"&&(Wt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge)-3-.25*kt),me==="right"&&(Vt=Q+ue.t+ue.h*ie+3+.75*kt,Wt=X+ue.l+ue.w*ge),Bt(Ee._id+"title",{attributes:{x:Wt,y:Vt,"text-anchor":q?"start":"middle"}}))},function(){if(!q&&!Ve||q&&Ve){var Wt,Vt=F.select("."+L.cbtitle),Ke=Vt.select("text"),Je=[-W/2,W/2],We=Vt.select(".h"+Ee._id+"title-math-group").node(),nt=15.6;if(Ke.node()&&(nt=parseInt(Ke.node().style.fontSize,10)*E),We?(Wt=l.bBox(We),Dt=Wt.width,(Ft=Wt.height)>nt&&(Je[1]-=(Ft-nt)/2)):Ke.node()&&!Ke.classed(L.jsPlaceholder)&&(Wt=l.bBox(Ke.node()),Dt=Wt.width,Ft=Wt.height),q){if(Ft){if(Ft+=5,me==="top")Ee.domain[1]-=Ft/ue.h,Je[1]*=-1;else{Ee.domain[0]+=Ft/ue.h;var ht=m.lineCount(Ke);Je[1]+=(1-ht)*nt}Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale()}}else Dt&&(me==="right"&&(Ee.domain[0]+=(Dt+kt/2)/ue.w),Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale())}F.selectAll("."+L.cbfills+",."+L.cblines).attr("transform",q?a(0,Math.round(ue.h*(1-Ee.domain[1]))):a(Math.round(ue.w*Ee.domain[0]),0)),xt.attr("transform",q?a(0,Math.round(-ue.t)):a(Math.round(-ue.l),0));var Oe=F.select("."+L.cbfills).selectAll("rect."+L.cbfill).attr("style","").data(Se);Oe.enter().append("rect").classed(L.cbfill,!0).style("stroke","none"),Oe.exit().remove();var Ne=pe.map(Ee.c2p).map(Math.round).sort(function(It,Lt){return It-Lt});Oe.each(function(It,Lt){var yt=[Lt===0?pe[0]:(Se[Lt]+Se[Lt-1])/2,Lt===Se.length-1?pe[1]:(Se[Lt]+Se[Lt+1])/2].map(Ee.c2p).map(Math.round);q&&(yt[1]=u.constrain(yt[1]+(yt[1]>yt[0])?1:-1,Ne[0],Ne[1]));var Pt=d.select(this).attr(q?"x":"y",Le).attr(q?"y":"x",d.min(yt)).attr(q?"width":"height",Math.max(ae,2)).attr(q?"height":"width",Math.max(d.max(yt)-d.min(yt),2));if(B._fillgradient)l.gradient(Pt,N,B._id,q?"vertical":"horizontalreversed",B._fillgradient,"fill");else{var wt=Pe(It).replace("e-","");Pt.attr("fill",v(wt).toHexString())}});var Qe=F.select("."+L.cblines).selectAll("path."+L.cbline).data(ye.color&&ye.width?Ce:[]);Qe.enter().append("path").classed(L.cbline,!0),Qe.exit().remove(),Qe.each(function(It){var Lt=Le,yt=Math.round(Ee.c2p(It))+ye.width/2%1;d.select(this).attr("d","M"+(q?Lt+","+yt:yt+","+Lt)+(q?"h":"v")+ae).call(l.lineGroupStyle,ye.width,xe(It),ye.dash)}),xt.selectAll("g."+Ee._id+"tick,path").remove();var ut=Le+ae+(W||0)/2-(B.ticks==="outside"?1:0),pt=g.calcTicks(Ee),_t=g.getTickSigns(Ee)[2];return g.drawTicks(N,Ee,{vals:Ee.ticks==="inside"?g.clipEnds(Ee,pt):pt,layer:xt,path:g.makeTickPath(Ee,ut,_t),transFn:g.makeTransTickFn(Ee)}),g.drawLabels(N,Ee,{vals:pt,layer:xt,transFn:g.makeTransTickLabelFn(Ee),labelFns:g.makeLabelFns(Ee,ut)})},function(){if(q&&!Ve||!q&&Ve){var Wt,Vt,Ke=Ee.position||0,Je=Ee._offset+Ee._length/2;if(me==="right")Vt=Je,Wt=ue.l+ue.w*Ke+10+kt*(Ee.showticklabels?1:.5);else if(Wt=Je,me==="bottom"&&(Vt=ue.t+ue.h*Ke+10+(Et.indexOf("inside")===-1?Ee.tickfont.size:0)+(Ee.ticks!=="intside"&&B.ticklen||0)),me==="top"){var We=de.text.split("
").length;Vt=ue.t+ue.h*Ke+10-ae-E*kt*We}Bt((q?"h":"v")+Ee._id+"title",{avoid:{selection:d.select(N).selectAll("g."+Ee._id+"tick"),side:me,offsetTop:q?0:ue.t,offsetLeft:q?ue.l:0,maxShift:q?oe.width:oe.height},attributes:{x:Wt,y:Vt,"text-anchor":"middle"},transform:{rotate:q?-90:0,offset:0}})}},i.previousPromises,function(){var Wt,Vt=ae+W/2;Et.indexOf("inside")===-1&&(Wt=l.bBox(xt.node()),Vt+=q?Wt.width:Wt.height),ft=bt.select("text");var Ke=0,Je=q&&me==="top",We=!q&&me==="right",nt=0;if(ft.node()&&!ft.classed(L.jsPlaceholder)){var ht,Oe=bt.select(".h"+Ee._id+"title-math-group").node();Oe&&(q&&Ve||!q&&!Ve)?(Ke=(Wt=l.bBox(Oe)).width,ht=Wt.height):(Ke=(Wt=l.bBox(bt.node())).right-ue.l-(q?Le:we),ht=Wt.bottom-ue.t-(q?we:Le),q||me!=="top"||(Vt+=Wt.height,nt=Wt.height)),We&&(ft.attr("transform",a(Ke/2+kt/2,0)),Ke*=2),Vt=Math.max(Vt,q?Ke:ht)}var Ne=2*(q?X:Q)+Vt+H+W/2,Qe=0;!q&&de.text&&Z==="bottom"&&ie<=0&&(Ne+=Qe=Ne/2,nt+=Qe),oe._hColorbarMoveTitle=Qe,oe._hColorbarMoveCBTitle=nt;var ut=H+W;F.select("."+L.cbbg).attr("x",(q?Le:we)-ut/2-(q?X:0)).attr("y",(q?we:Le)-(q?be:Q+nt-Qe)).attr(q?"width":"height",Math.max(Ne-Qe,2)).attr(q?"height":"width",Math.max(be+ut,2)).call(h.fill,ne).call(h.stroke,B.bordercolor).style("stroke-width",H);var pt=We?Math.max(Ke-10,0):0;if(F.selectAll("."+L.cboutline).attr("x",(q?Le:we+X)+pt).attr("y",(q?we+Q-be:Le)+(Je?Ft:0)).attr(q?"width":"height",Math.max(ae,2)).attr(q?"height":"width",Math.max(be-(q?2*Q+Ft:2*X+pt),2)).call(h.stroke,B.outlinecolor).style({fill:"none","stroke-width":W}),F.attr("transform",a(ue.l-(q?Be*Ne:0),ue.t-(q?0:(1-ze)*Ne-nt))),!q&&(H||v(ne).getAlpha()&&!v.equals(oe.paper_bgcolor,ne))){var _t=xt.selectAll("text"),It=_t[0].length,Lt=F.select("."+L.cbbg).node(),yt=l.bBox(Lt),Pt=l.getTranslate(F);_t.each(function(Qt,rn){var xn=It-1;if(rn===0||rn===xn){var un,An=l.bBox(this),Yn=l.getTranslate(this);if(rn===xn){var kn=An.right+Yn.x;(un=yt.right+Pt.x+we-H-2+re-kn)>0&&(un=0)}else if(rn===0){var sn=An.left+Yn.x;(un=yt.left+Pt.x+we+H+2-sn)<0&&(un=0)}un&&(It<3?this.setAttribute("transform","translate("+un+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var wt={},Ot=T[te],Nt=A[te],$t=T[Z],qt=A[Z],Xt=Ne-ae;q?(Y==="pixels"?(wt.y=ie,wt.t=be*$t,wt.b=be*qt):(wt.t=wt.b=0,wt.yt=ie+j*$t,wt.yb=ie-j*qt),G==="pixels"?(wt.x=re,wt.l=Ne*Ot,wt.r=Ne*Nt):(wt.l=Xt*Ot,wt.r=Xt*Nt,wt.xl=re-U*Ot,wt.xr=re+U*Nt)):(Y==="pixels"?(wt.x=re,wt.l=be*Ot,wt.r=be*Nt):(wt.l=wt.r=0,wt.xl=re+j*Ot,wt.xr=re-j*Nt),G==="pixels"?(wt.y=1-ie,wt.t=Ne*$t,wt.b=Ne*qt):(wt.t=Xt*$t,wt.b=Xt*qt,wt.yt=ie-U*$t,wt.yb=ie+U*qt)),i.autoMargin(N,B._id,wt)}],N)}(R,I,b);z&&z.then&&(b._promises||[]).push(z),b._context.edits.colorbarPosition&&function(F,B,N){var q,j,Y,U=B.orientation==="v",G=N._fullLayout._size;p.init({element:F.node(),gd:N,prepFn:function(){q=F.attr("transform"),s(F)},moveFn:function(W,H){F.attr("transform",q+a(W,H)),j=p.align((U?B._uFrac:B._vFrac)+W/G.w,U?B._thickFrac:B._lenFrac,0,1,B.xanchor),Y=p.align((U?B._vFrac:1-B._uFrac)-H/G.h,U?B._lenFrac:B._thickFrac,0,1,B.yanchor);var ne=p.getCursor(j,Y,B.xanchor,B.yanchor);s(F,ne)},doneFn:function(){if(s(F),j!==void 0&&Y!==void 0){var W={};W[B._propPrefix+"x"]=j,W[B._propPrefix+"y"]=Y,B._traceIndex!==void 0?M.call("_guiRestyle",N,W,B._traceIndex):M.call("_guiRelayout",N,W)}}})}(R,I,b)}),O.exit().each(function(I){i.autoMargin(b,I._id)}).remove(),O.order()}}},76228:function(x,o,t){var d=t(71828);x.exports=function(v){return d.isPlainObject(v.colorbar)}},12311:function(x,o,t){x.exports={moduleType:"component",name:"colorbar",attributes:t(63583),supplyDefaults:t(62499),draw:t(98981).draw,hasColorbar:t(76228)}},50693:function(x,o,t){var d=t(63583),v=t(30587).counter,i=t(78607),M=t(63282).scales;function g(p){return"`"+p+"`"}i(M),x.exports=function(p,u){p=p||"";var a,c=(u=u||{}).cLetter||"c",s=("onlyIfNumerical"in u&&u.onlyIfNumerical,"noScale"in u?u.noScale:p==="marker.line"),l="showScaleDflt"in u?u.showScaleDflt:c==="z",h=typeof u.colorscaleDflt=="string"?M[u.colorscaleDflt]:null,f=u.editTypeOverride||"",m=p?p+".":"";"colorAttr"in u?(a=u.colorAttr,u.colorAttr):g(m+(a={z:"z",c:"color"}[c]));var _=c+"auto",y=c+"min",C=c+"max",w=c+"mid",k={};k[y]=k[C]=void 0;var E={};E[_]=!1;var T={};return a==="color"&&(T.color={valType:"color",arrayOk:!0,editType:f||"style"},u.anim&&(T.color.anim=!0)),T[_]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:k},T[y]={valType:"number",dflt:null,editType:f||"plot",impliedEdits:E},T[C]={valType:"number",dflt:null,editType:f||"plot",impliedEdits:E},T[w]={valType:"number",dflt:null,editType:"calc",impliedEdits:k},T.colorscale={valType:"colorscale",editType:"calc",dflt:h,impliedEdits:{autocolorscale:!1}},T.autocolorscale={valType:"boolean",dflt:u.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},T.reversescale={valType:"boolean",dflt:!1,editType:"plot"},s||(T.showscale={valType:"boolean",dflt:l,editType:"calc"},T.colorbar=d),u.noColorAxis||(T.coloraxis={valType:"subplotid",regex:v("coloraxis"),dflt:null,editType:"calc"}),T}},78803:function(x,o,t){var d=t(92770),v=t(71828),i=t(52075).extractOpts;x.exports=function(M,g,p){var u,a=M._fullLayout,c=p.vals,s=p.containerStr,l=s?v.nestedProperty(g,s).get():g,h=i(l),f=h.auto!==!1,m=h.min,_=h.max,y=h.mid,C=function(){return v.aggNums(Math.min,null,c)},w=function(){return v.aggNums(Math.max,null,c)};m===void 0?m=C():f&&(m=l._colorAx&&d(m)?Math.min(m,C()):C()),_===void 0?_=w():f&&(_=l._colorAx&&d(_)?Math.max(_,w()):w()),f&&y!==void 0&&(_-y>y-m?m=y-(_-y):_-y=0?a.colorscale.sequential:a.colorscale.sequentialminus,h._sync("colorscale",u))}},33046:function(x,o,t){var d=t(71828),v=t(52075).hasColorscale,i=t(52075).extractOpts;x.exports=function(M,g){function p(f,m){var _=f["_"+m];_!==void 0&&(f[m]=_)}function u(f,m){var _=m.container?d.nestedProperty(f,m.container).get():f;if(_)if(_.coloraxis)_._colorAx=g[_.coloraxis];else{var y=i(_),C=y.auto;(C||y.min===void 0)&&p(_,m.min),(C||y.max===void 0)&&p(_,m.max),y.autocolorscale&&p(_,"colorscale")}}for(var a=0;a=0;C--,w++){var k=m[C];y[w]=[1-k[0],k[1]]}return y}function h(m,_){_=_||{};for(var y=m.domain,C=m.range,w=C.length,k=new Array(w),E=0;E1.3333333333333333-p?g:p}},70461:function(x,o,t){var d=t(71828),v=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];x.exports=function(i,M,g,p){return i=g==="left"?0:g==="center"?1:g==="right"?2:d.constrain(Math.floor(3*i),0,2),M=p==="bottom"?0:p==="middle"?1:p==="top"?2:d.constrain(Math.floor(3*M),0,2),v[M][i]}},64505:function(x,o){o.selectMode=function(t){return t==="lasso"||t==="select"},o.drawMode=function(t){return t==="drawclosedpath"||t==="drawopenpath"||t==="drawline"||t==="drawrect"||t==="drawcircle"},o.openMode=function(t){return t==="drawline"||t==="drawopenpath"},o.rectMode=function(t){return t==="select"||t==="drawline"||t==="drawrect"||t==="drawcircle"},o.freeMode=function(t){return t==="lasso"||t==="drawclosedpath"||t==="drawopenpath"},o.selectingOrDrawing=function(t){return o.freeMode(t)||o.rectMode(t)}},28569:function(x,o,t){var d=t(48956),v=t(57035),i=t(38520),M=t(71828).removeElement,g=t(85555),p=x.exports={};p.align=t(92807),p.getCursor=t(70461);var u=t(26041);function a(){var s=document.createElement("div");s.className="dragcover";var l=s.style;return l.position="fixed",l.left=0,l.right=0,l.top=0,l.bottom=0,l.zIndex=999999999,l.background="none",document.body.appendChild(s),s}function c(s){return d(s.changedTouches?s.changedTouches[0]:s,document.body)}p.unhover=u.wrapped,p.unhoverRaw=u.raw,p.init=function(s){var l,h,f,m,_,y,C,w,k=s.gd,E=1,T=k._context.doubleClickDelay,A=s.element;k._mouseDownTime||(k._mouseDownTime=0),A.style.pointerEvents="all",A.onmousedown=b,i?(A._ontouchstart&&A.removeEventListener("touchstart",A._ontouchstart),A._ontouchstart=b,A.addEventListener("touchstart",b,{passive:!1})):A.ontouchstart=b;var L=s.clampFn||function(R,z,F){return Math.abs(R)T&&(E=Math.max(E-1,1)),k._dragged)s.doneFn&&s.doneFn();else if(s.clickFn&&s.clickFn(E,y),!w){var z;try{z=new MouseEvent("click",R)}catch{var F=c(R);(z=document.createEvent("MouseEvents")).initMouseEvent("click",R.bubbles,R.cancelable,R.view,R.detail,R.screenX,R.screenY,F[0],F[1],R.ctrlKey,R.altKey,R.shiftKey,R.metaKey,R.button,R.relatedTarget)}C.dispatchEvent(z)}k._dragging=!1,k._dragged=!1}else k._dragged=!1}},p.coverSlip=a},26041:function(x,o,t){var d=t(11086),v=t(79990),i=t(24401).getGraphDiv,M=t(26675),g=x.exports={};g.wrapped=function(p,u,a){(p=i(p))._fullLayout&&v.clear(p._fullLayout._uid+M.HOVERID),g.raw(p,u,a)},g.raw=function(p,u){var a=p._fullLayout,c=p._hoverdata;u||(u={}),u.target&&!p._dragged&&d.triggerHandler(p,"plotly_beforehover",u)===!1||(a._hoverlayer.selectAll("g").remove(),a._hoverlayer.selectAll("line").remove(),a._hoverlayer.selectAll("circle").remove(),p._hoverdata=void 0,u.target&&c&&p.emit("plotly_unhover",{event:u,points:c}))}},79952:function(x,o){o.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},o.u={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"}},91424:function(x,o,t){var d=t(39898),v=t(71828),i=v.numberFormat,M=t(92770),g=t(84267),p=t(73972),u=t(7901),a=t(21081),c=v.strTranslate,s=t(63893),l=t(77922),h=t(18783).LINE_SPACING,f=t(37822).DESELECTDIM,m=t(34098),_=t(39984),y=t(23469).appendArrayPointValue,C=x.exports={};function w(_e,Me,Se){var Ce=Me.fillpattern,ae=Ce&&C.getPatternAttr(Ce.shape,0,"");if(ae){var he=C.getPatternAttr(Ce.bgcolor,0,null),be=C.getPatternAttr(Ce.fgcolor,0,null),ke=Ce.fgopacity,Le=C.getPatternAttr(Ce.size,0,8),Be=C.getPatternAttr(Ce.solidity,0,.3),ze=Me.uid;C.pattern(_e,"point",Se,ze,ae,Le,Be,void 0,Ce.fillmode,he,be,ke)}else Me.fillcolor&&_e.call(u.fill,Me.fillcolor)}C.font=function(_e,Me,Se,Ce){v.isPlainObject(Me)&&(Ce=Me.color,Se=Me.size,Me=Me.family),Me&&_e.style("font-family",Me),Se+1&&_e.style("font-size",Se+"px"),Ce&&_e.call(u.fill,Ce)},C.setPosition=function(_e,Me,Se){_e.attr("x",Me).attr("y",Se)},C.setSize=function(_e,Me,Se){_e.attr("width",Me).attr("height",Se)},C.setRect=function(_e,Me,Se,Ce,ae){_e.call(C.setPosition,Me,Se).call(C.setSize,Ce,ae)},C.translatePoint=function(_e,Me,Se,Ce){var ae=Se.c2p(_e.x),he=Ce.c2p(_e.y);return!!(M(ae)&&M(he)&&Me.node())&&(Me.node().nodeName==="text"?Me.attr("x",ae).attr("y",he):Me.attr("transform",c(ae,he)),!0)},C.translatePoints=function(_e,Me,Se){_e.each(function(Ce){var ae=d.select(this);C.translatePoint(Ce,ae,Me,Se)})},C.hideOutsideRangePoint=function(_e,Me,Se,Ce,ae,he){Me.attr("display",Se.isPtWithinRange(_e,ae)&&Ce.isPtWithinRange(_e,he)?null:"none")},C.hideOutsideRangePoints=function(_e,Me){if(Me._hasClipOnAxisFalse){var Se=Me.xaxis,Ce=Me.yaxis;_e.each(function(ae){var he=ae[0].trace,be=he.xcalendar,ke=he.ycalendar,Le=p.traceIs(he,"bar-like")?".bartext":".point,.textpoint";_e.selectAll(Le).each(function(Be){C.hideOutsideRangePoint(Be,d.select(this),Se,Ce,be,ke)})})}},C.crispRound=function(_e,Me,Se){return Me&&M(Me)?_e._context.staticPlot?Me:Me<1?1:Math.round(Me):Se||0},C.singleLineStyle=function(_e,Me,Se,Ce,ae){Me.style("fill","none");var he=(((_e||[])[0]||{}).trace||{}).line||{},be=Se||he.width||0,ke=ae||he.dash||"";u.stroke(Me,Ce||he.color),C.dashLine(Me,ke,be)},C.lineGroupStyle=function(_e,Me,Se,Ce){_e.style("fill","none").each(function(ae){var he=(((ae||[])[0]||{}).trace||{}).line||{},be=Me||he.width||0,ke=Ce||he.dash||"";d.select(this).call(u.stroke,Se||he.color).call(C.dashLine,ke,be)})},C.dashLine=function(_e,Me,Se){Se=+Se||0,Me=C.dashStyle(Me,Se),_e.style({"stroke-dasharray":Me,"stroke-width":Se+"px"})},C.dashStyle=function(_e,Me){Me=+Me||1;var Se=Math.max(Me,3);return _e==="solid"?_e="":_e==="dot"?_e=Se+"px,"+Se+"px":_e==="dash"?_e=3*Se+"px,"+3*Se+"px":_e==="longdash"?_e=5*Se+"px,"+5*Se+"px":_e==="dashdot"?_e=3*Se+"px,"+Se+"px,"+Se+"px,"+Se+"px":_e==="longdashdot"&&(_e=5*Se+"px,"+2*Se+"px,"+Se+"px,"+2*Se+"px"),_e},C.singleFillStyle=function(_e,Me){var Se=d.select(_e.node());w(_e,((Se.data()[0]||[])[0]||{}).trace||{},Me)},C.fillGroupStyle=function(_e,Me){_e.style("stroke-width",0).each(function(Se){var Ce=d.select(this);Se[0].trace&&w(Ce,Se[0].trace,Me)})};var k=t(90998);C.symbolNames=[],C.symbolFuncs=[],C.symbolBackOffs=[],C.symbolNeedLines={},C.symbolNoDot={},C.symbolNoFill={},C.symbolList=[],Object.keys(k).forEach(function(_e){var Me=k[_e],Se=Me.n;C.symbolList.push(Se,String(Se),_e,Se+100,String(Se+100),_e+"-open"),C.symbolNames[Se]=_e,C.symbolFuncs[Se]=Me.f,C.symbolBackOffs[Se]=Me.backoff||0,Me.needLine&&(C.symbolNeedLines[Se]=!0),Me.noDot?C.symbolNoDot[Se]=!0:C.symbolList.push(Se+200,String(Se+200),_e+"-dot",Se+300,String(Se+300),_e+"-open-dot"),Me.noFill&&(C.symbolNoFill[Se]=!0)});var E=C.symbolNames.length;function T(_e,Me,Se,Ce){var ae=_e%100;return C.symbolFuncs[ae](Me,Se,Ce)+(_e>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}C.symbolNumber=function(_e){if(M(_e))_e=+_e;else if(typeof _e=="string"){var Me=0;_e.indexOf("-open")>0&&(Me=100,_e=_e.replace("-open","")),_e.indexOf("-dot")>0&&(Me+=200,_e=_e.replace("-dot","")),(_e=C.symbolNames.indexOf(_e))>=0&&(_e+=Me)}return _e%100>=E||_e>=400?0:Math.floor(Math.max(_e,0))};var A={x1:1,x2:0,y1:0,y2:0},L={x1:0,x2:0,y1:1,y2:0},b=i("~f"),O={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:A},horizontalreversed:{node:"linearGradient",attrs:A,reversed:!0},vertical:{node:"linearGradient",attrs:L},verticalreversed:{node:"linearGradient",attrs:L,reversed:!0}};C.gradient=function(_e,Me,Se,Ce,ae,he){for(var be=ae.length,ke=O[Ce],Le=new Array(be),Be=0;Be=100;var Be=Pe(_e,Se),ze=Q(_e,Se);Me.attr("d",T(Le,ke,Be,ze))}var je,ge,we,Ee=!1;if(_e.so)we=be.outlierwidth,ge=be.outliercolor,je=he.outliercolor;else{var Ve=(be||{}).width;we=(_e.mlw+1||Ve+1||(_e.trace?(_e.trace.marker.line||{}).width:0)+1)-1||0,ge="mlc"in _e?_e.mlcc=Ce.lineScale(_e.mlc):v.isArrayOrTypedArray(be.color)?u.defaultLine:be.color,v.isArrayOrTypedArray(he.color)&&(je=u.defaultLine,Ee=!0),je="mc"in _e?_e.mcc=Ce.markerScale(_e.mc):he.color||"rgba(0,0,0,0)",Ce.selectedColorFn&&(je=Ce.selectedColorFn(_e))}if(_e.om)Me.call(u.stroke,je).style({"stroke-width":(we||1)+"px",fill:"none"});else{Me.style("stroke-width",(_e.isBlank?0:we)+"px");var Ye=he.gradient,$e=_e.mgt;$e?Ee=!0:$e=Ye&&Ye.type,v.isArrayOrTypedArray($e)&&($e=$e[0],O[$e]||($e=0));var st=he.pattern,ot=st&&C.getPatternAttr(st.shape,_e.i,"");if($e&&$e!=="none"){var ft=_e.mgc;ft?Ee=!0:ft=Ye.color;var bt=Se.uid;Ee&&(bt+="-"+_e.i),C.gradient(Me,ae,bt,$e,[[0,ft],[1,je]],"fill")}else if(ot){var Et=C.getPatternAttr(st.bgcolor,_e.i,null),kt=C.getPatternAttr(st.fgcolor,_e.i,null),xt=st.fgopacity,Ft=C.getPatternAttr(st.size,_e.i,8),Dt=C.getPatternAttr(st.solidity,_e.i,.3),Bt=_e.mcc||v.isArrayOrTypedArray(st.shape)||v.isArrayOrTypedArray(st.bgcolor)||v.isArrayOrTypedArray(st.size)||v.isArrayOrTypedArray(st.solidity),Wt=Se.uid;Bt&&(Wt+="-"+_e.i),C.pattern(Me,"point",ae,Wt,ot,Ft,Dt,_e.mcc,st.fillmode,Et,kt,xt)}else u.fill(Me,je);we&&u.stroke(Me,ge)}},C.makePointStyleFns=function(_e){var Me={},Se=_e.marker;return Me.markerScale=C.tryColorscale(Se,""),Me.lineScale=C.tryColorscale(Se,"line"),p.traceIs(_e,"symbols")&&(Me.ms2mrc=m.isBubble(_e)?_(_e):function(){return(Se.size||6)/2}),_e.selectedpoints&&v.extendFlat(Me,C.makeSelectedPointStyleFns(_e)),Me},C.makeSelectedPointStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.marker||{},he=Se.marker||{},be=Ce.marker||{},ke=ae.opacity,Le=he.opacity,Be=be.opacity,ze=Le!==void 0,je=Be!==void 0;(v.isArrayOrTypedArray(ke)||ze||je)&&(Me.selectedOpacityFn=function(ft){var bt=ft.mo===void 0?ae.opacity:ft.mo;return ft.selected?ze?Le:bt:je?Be:f*bt});var ge=ae.color,we=he.color,Ee=be.color;(we||Ee)&&(Me.selectedColorFn=function(ft){var bt=ft.mcc||ge;return ft.selected?we||bt:Ee||bt});var Ve=ae.size,Ye=he.size,$e=be.size,st=Ye!==void 0,ot=$e!==void 0;return p.traceIs(_e,"symbols")&&(st||ot)&&(Me.selectedSizeFn=function(ft){var bt=ft.mrc||Ve/2;return ft.selected?st?Ye/2:bt:ot?$e/2:bt}),Me},C.makeSelectedTextStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.textfont||{},he=Se.textfont||{},be=Ce.textfont||{},ke=ae.color,Le=he.color,Be=be.color;return Me.selectedTextColorFn=function(ze){var je=ze.tc||ke;return ze.selected?Le||je:Be||(Le?je:u.addOpacity(je,f))},Me},C.selectedPointStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=C.makeSelectedPointStyleFns(Me),Ce=Me.marker||{},ae=[];Se.selectedOpacityFn&&ae.push(function(he,be){he.style("opacity",Se.selectedOpacityFn(be))}),Se.selectedColorFn&&ae.push(function(he,be){u.fill(he,Se.selectedColorFn(be))}),Se.selectedSizeFn&&ae.push(function(he,be){var ke=be.mx||Ce.symbol||0,Le=Se.selectedSizeFn(be);he.attr("d",T(C.symbolNumber(ke),Le,Pe(be,Me),Q(be,Me))),be.mrc2=Le}),ae.length&&_e.each(function(he){for(var be=d.select(this),ke=0;ke0?Se:0}function N(_e,Me,Se){return Se&&(_e=W(_e)),Me?j(_e[1]):q(_e[0])}function q(_e){var Me=d.round(_e,2);return I=Me,Me}function j(_e){var Me=d.round(_e,2);return R=Me,Me}function Y(_e,Me,Se,Ce){var ae=_e[0]-Me[0],he=_e[1]-Me[1],be=Se[0]-Me[0],ke=Se[1]-Me[1],Le=Math.pow(ae*ae+he*he,.25),Be=Math.pow(be*be+ke*ke,.25),ze=(Be*Be*ae-Le*Le*be)*Ce,je=(Be*Be*he-Le*Le*ke)*Ce,ge=3*Be*(Le+Be),we=3*Le*(Le+Be);return[[q(Me[0]+(ge&&ze/ge)),j(Me[1]+(ge&&je/ge))],[q(Me[0]-(we&&ze/we)),j(Me[1]-(we&&je/we))]]}C.textPointStyle=function(_e,Me,Se){if(_e.size()){var Ce;if(Me.selectedpoints){var ae=C.makeSelectedTextStyleFns(Me);Ce=ae.selectedTextColorFn}var he=Me.texttemplate,be=Se._fullLayout;_e.each(function(ke){var Le=d.select(this),Be=he?v.extractOption(ke,Me,"txt","texttemplate"):v.extractOption(ke,Me,"tx","text");if(Be||Be===0){if(he){var ze=Me._module.formatLabels,je=ze?ze(ke,Me,be):{},ge={};y(ge,Me,ke.i);var we=Me._meta||{};Be=v.texttemplateString(Be,je,be._d3locale,ge,ke,we)}var Ee=ke.tp||Me.textposition,Ve=B(ke,Me),Ye=Ce?Ce(ke):ke.tc||Me.textfont.color;Le.call(C.font,ke.tf||Me.textfont.family,Ve,Ye).text(Be).call(s.convertToTspans,Se).call(F,Ee,Ve,ke.mrc)}else Le.remove()})}},C.selectedTextStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=C.makeSelectedTextStyleFns(Me);_e.each(function(Ce){var ae=d.select(this),he=Se.selectedTextColorFn(Ce),be=Ce.tp||Me.textposition,ke=B(Ce,Me);u.fill(ae,he);var Le=p.traceIs(Me,"bar-like");F(ae,be,ke,Ce.mrc2||Ce.mrc,Le)})}},C.smoothopen=function(_e,Me){if(_e.length<3)return"M"+_e.join("L");var Se,Ce="M"+_e[0],ae=[];for(Se=1;Se<_e.length-1;Se++)ae.push(Y(_e[Se-1],_e[Se],_e[Se+1],Me));for(Ce+="Q"+ae[0][0]+" "+_e[1],Se=2;Se<_e.length-1;Se++)Ce+="C"+ae[Se-2][1]+" "+ae[Se-1][0]+" "+_e[Se];return Ce+"Q"+ae[_e.length-3][1]+" "+_e[_e.length-1]},C.smoothclosed=function(_e,Me){if(_e.length<3)return"M"+_e.join("L")+"Z";var Se,Ce="M"+_e[0],ae=_e.length-1,he=[Y(_e[ae],_e[0],_e[1],Me)];for(Se=1;Se=Le||ft>=ze&&ft<=Le)&&(bt<=je&&bt>=Be||bt>=je&&bt<=Be)&&(_e=[ft,bt])}return _e}C.steps=function(_e){var Me=U[_e]||G;return function(Se){for(var Ce="M"+q(Se[0][0])+","+j(Se[0][1]),ae=Se.length,he=1;he=1e4&&(C.savedBBoxes={},H=0),Se&&(C.savedBBoxes[Se]=we),H++,v.extendFlat({},we)},C.setClipUrl=function(_e,Me,Se){_e.attr("clip-path",te(Me,Se))},C.getTranslate=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||0,y:+Me[1]||0}},C.setTranslate=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",he=_e[Ce]("transform")||"";return Me=Me||0,Se=Se||0,he=he.replace(/(\btranslate\(.*?\);?)/,"").trim(),he=(he+=c(Me,Se)).trim(),_e[ae]("transform",he),he},C.getScale=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||1,y:+Me[1]||1}},C.setScale=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",he=_e[Ce]("transform")||"";return Me=Me||1,Se=Se||1,he=he.replace(/(\bscale\(.*?\);?)/,"").trim(),he=(he+="scale("+Me+","+Se+")").trim(),_e[ae]("transform",he),he};var Z=/\s*sc.*/;C.setPointGroupScale=function(_e,Me,Se){if(Me=Me||1,Se=Se||1,_e){var Ce=Me===1&&Se===1?"":"scale("+Me+","+Se+")";_e.each(function(){var ae=(this.getAttribute("transform")||"").replace(Z,"");ae=(ae+=Ce).trim(),this.setAttribute("transform",ae)})}};var X=/translate\([^)]*\)\s*$/;function Q(_e,Me){var Se;return _e&&(Se=_e.mf),Se===void 0&&(Se=Me.marker&&Me.marker.standoff||0),Me._geo||Me._xA?Se:-Se}C.setTextPointsScale=function(_e,Me,Se){_e&&_e.each(function(){var Ce,ae=d.select(this),he=ae.select("text");if(he.node()){var be=parseFloat(he.attr("x")||0),ke=parseFloat(he.attr("y")||0),Le=(ae.attr("transform")||"").match(X);Ce=Me===1&&Se===1?[]:[c(be,ke),"scale("+Me+","+Se+")",c(-be,-ke)],Le&&Ce.push(Le),ae.attr("transform",Ce.join(""))}})},C.getMarkerStandoff=Q;var re,ie,oe,ue,ce,ye,de=Math.atan2,me=Math.cos,pe=Math.sin;function xe(_e,Me){var Se=Me[0],Ce=Me[1];return[Se*me(_e)-Ce*pe(_e),Se*pe(_e)+Ce*me(_e)]}function Pe(_e,Me){var Se,Ce,ae=_e.ma;ae===void 0&&(ae=Me.marker.angle||0);var he=Me.marker.angleref;if(he==="previous"||he==="north"){if(Me._geo){var be=Me._geo.project(_e.lonlat);Se=be[0],Ce=be[1]}else{var ke=Me._xA,Le=Me._yA;if(!ke||!Le)return 90;Se=ke.c2p(_e.x),Ce=Le.c2p(_e.y)}if(Me._geo){var Be,ze=_e.lonlat[0],je=_e.lonlat[1],ge=Me._geo.project([ze,je+1e-5]),we=Me._geo.project([ze+1e-5,je]),Ee=de(we[1]-Ce,we[0]-Se),Ve=de(ge[1]-Ce,ge[0]-Se);if(he==="north")Be=ae/180*Math.PI;else if(he==="previous"){var Ye=ze/180*Math.PI,$e=je/180*Math.PI,st=re/180*Math.PI,ot=ie/180*Math.PI,ft=st-Ye,bt=me(ot)*pe(ft),Et=pe(ot)*me($e)-me(ot)*pe($e)*me(ft);Be=-de(bt,Et)-Math.PI,re=ze,ie=je}var kt=xe(Ee,[me(Be),0]),xt=xe(Ve,[pe(Be),0]);ae=de(kt[1]+xt[1],kt[0]+xt[0])/Math.PI*180,he!=="previous"||ye===Me.uid&&_e.i===ce+1||(ae=null)}if(he==="previous"&&!Me._geo)if(ye===Me.uid&&_e.i===ce+1&&M(Se)&&M(Ce)){var Ft=Se-oe,Dt=Ce-ue,Bt=Me.line&&Me.line.shape||"",Wt=Bt.slice(Bt.length-1);Wt==="h"&&(Dt=0),Wt==="v"&&(Ft=0),ae+=de(Dt,Ft)/Math.PI*180+90}else ae=null}return oe=Se,ue=Ce,ce=_e.i,ye=Me.uid,ae}C.getMarkerAngle=Pe},90998:function(x,o,t){var d,v,i,M,g=t(95616),p=t(39898).round,u="M0,0Z",a=Math.sqrt(2),c=Math.sqrt(3),s=Math.PI,l=Math.cos,h=Math.sin;function f(_){return _===null}function m(_,y,C){if(!(_&&_%360!=0||y))return C;if(i===_&&M===y&&d===C)return v;function w(N,q){var j=l(N),Y=h(N),U=q[0],G=q[1]+(y||0);return[U*j-G*Y,U*Y+G*j]}i=_,M=y,d=C;for(var k=_/180*s,E=0,T=0,A=g(C),L="",b=0;b0,h=g._context.staticPlot;p.each(function(f){var m,_=f[0].trace,y=_.error_x||{},C=_.error_y||{};_.ids&&(m=function(T){return T.id});var w=M.hasMarkers(_)&&_.marker.maxdisplayed>0;C.visible||y.visible||(f=[]);var k=d.select(this).selectAll("g.errorbar").data(f,m);if(k.exit().remove(),f.length){y.visible||k.selectAll("path.xerror").remove(),C.visible||k.selectAll("path.yerror").remove(),k.style("opacity",1);var E=k.enter().append("g").classed("errorbar",!0);l&&E.style("opacity",0).transition().duration(a.duration).style("opacity",1),i.setClipUrl(k,u.layerClipId,g),k.each(function(T){var A=d.select(this),L=function(F,B,N){var q={x:B.c2p(F.x),y:N.c2p(F.y)};return F.yh!==void 0&&(q.yh=N.c2p(F.yh),q.ys=N.c2p(F.ys),v(q.ys)||(q.noYS=!0,q.ys=N.c2p(F.ys,!0))),F.xh!==void 0&&(q.xh=B.c2p(F.xh),q.xs=B.c2p(F.xs),v(q.xs)||(q.noXS=!0,q.xs=B.c2p(F.xs,!0))),q}(T,c,s);if(!w||T.vis){var b,O=A.select("path.yerror");if(C.visible&&v(L.x)&&v(L.yh)&&v(L.ys)){var I=C.width;b="M"+(L.x-I)+","+L.yh+"h"+2*I+"m-"+I+",0V"+L.ys,L.noYS||(b+="m-"+I+",0h"+2*I),O.size()?l&&(O=O.transition().duration(a.duration).ease(a.easing)):O=A.append("path").style("vector-effect",h?"none":"non-scaling-stroke").classed("yerror",!0),O.attr("d",b)}else O.remove();var R=A.select("path.xerror");if(y.visible&&v(L.y)&&v(L.xh)&&v(L.xs)){var z=(y.copy_ystyle?C:y).width;b="M"+L.xh+","+(L.y-z)+"v"+2*z+"m0,-"+z+"H"+L.xs,L.noXS||(b+="m0,-"+z+"v"+2*z),R.size()?l&&(R=R.transition().duration(a.duration).ease(a.easing)):R=A.append("path").style("vector-effect",h?"none":"non-scaling-stroke").classed("xerror",!0),R.attr("d",b)}else R.remove()}})}})}},62662:function(x,o,t){var d=t(39898),v=t(7901);x.exports=function(i){i.each(function(M){var g=M[0].trace,p=g.error_y||{},u=g.error_x||{},a=d.select(this);a.selectAll("path.yerror").style("stroke-width",p.thickness+"px").call(v.stroke,p.color),u.copy_ystyle&&(u=p),a.selectAll("path.xerror").style("stroke-width",u.thickness+"px").call(v.stroke,u.color)})}},77914:function(x,o,t){var d=t(41940),v=t(528).hoverlabel,i=t(1426).extendFlat;x.exports={hoverlabel:{bgcolor:i({},v.bgcolor,{arrayOk:!0}),bordercolor:i({},v.bordercolor,{arrayOk:!0}),font:d({arrayOk:!0,editType:"none"}),align:i({},v.align,{arrayOk:!0}),namelength:i({},v.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(x,o,t){var d=t(71828),v=t(73972);function i(M,g,p,u){u=u||d.identity,Array.isArray(M)&&(g[0][p]=u(M))}x.exports=function(M){var g=M.calcdata,p=M._fullLayout;function u(h){return function(f){return d.coerceHoverinfo({hoverinfo:f},{_module:h._module},p)}}for(var a=0;a=0&&c.indexae[0]._length||Je<0||Je>he[0]._length)return h.unhoverRaw(ue,ce)}else Ke="xpx"in ce?ce.xpx:ae[0]._length/2,Je="ypx"in ce?ce.ypx:he[0]._length/2;if(ce.pointerX=Ke+ae[0]._offset,ce.pointerY=Je+he[0]._offset,we="xval"in ce?_.flat(pe,ce.xval):_.p2c(ae,Ke),Ee="yval"in ce?_.flat(pe,ce.yval):_.p2c(he,Je),!v(we[0])||!v(Ee[0]))return M.warn("Fx.hover failed",ce,ue),h.unhoverRaw(ue,ce)}var ht=1/0;function Oe(Kt,bn){for(Ye=0;YeFt&&(Dt.splice(0,Ft),ht=Dt[0].distance),Me&&ge!==0&&Dt.length===0){xt.distance=ge,xt.index=!1;var Zn=st._module.hoverPoints(xt,Et,kt,"closest",{hoverLayer:xe._hoverlayer});if(Zn&&(Zn=Zn.filter(function(Jt){return Jt.spikeDistance<=ge})),Zn&&Zn.length){var tr,gr=Zn.filter(function(Jt){return Jt.xa.showspikes&&Jt.xa.spikesnap!=="hovered data"});if(gr.length){var nn=gr[0];v(nn.x0)&&v(nn.y0)&&(tr=Qe(nn),(!Wt.vLinePoint||Wt.vLinePoint.spikeDistance>tr.spikeDistance)&&(Wt.vLinePoint=tr))}var Pn=Zn.filter(function(Jt){return Jt.ya.showspikes&&Jt.ya.spikesnap!=="hovered data"});if(Pn.length){var jt=Pn[0];v(jt.x0)&&v(jt.y0)&&(tr=Qe(jt),(!Wt.hLinePoint||Wt.hLinePoint.spikeDistance>tr.spikeDistance)&&(Wt.hLinePoint=tr))}}}}}function Ne(Kt,bn,On){for(var Ln,Un=null,Jn=1/0,Zn=0;Zn0&&Math.abs(Kt.distance)$t-1;qt--)xn(Dt[qt]);Dt=Xt,It()}var un=ue._hoverdata,An=[],Yn=ne(ue),kn=te(ue);for(Ve=0;Ve1||Dt.length>1)||ze==="closest"&&Vt&&Dt.length>1,br=l.combine(xe.plot_bgcolor||l.background,xe.paper_bgcolor),or=B(Dt,{gd:ue,hovermode:ze,rotateLabels:Lr,bgColor:br,container:xe._hoverlayer,outerContainer:xe._paper.node(),commonLabelOpts:xe.hoverlabel,hoverdistance:xe.hoverdistance}),yr=or.hoverLabels;if(_.isUnifiedHover(ze)||(function(Kt,bn,On,Ln){var Un,Jn,Zn,tr,gr,nn,Pn,jt=bn?"xa":"ya",Jt=bn?"ya":"xa",fn=0,zn=1,Dn=Kt.size(),En=new Array(Dn),mn=0,wn=Ln.minX,gn=Ln.maxX,yn=Ln.minY,Sn=Ln.maxY,Vn=function(Pr){return Pr*On._invScaleX},Kn=function(Pr){return Pr*On._invScaleY};function nr(Pr){var Vr=Pr[0],vr=Pr[Pr.length-1];if(Jn=Vr.pmin-Vr.pos-Vr.dp+Vr.size,Zn=vr.pos+vr.dp+vr.size-Vr.pmax,Jn>.01){for(gr=Pr.length-1;gr>=0;gr--)Pr[gr].dp+=Jn;Un=!1}if(!(Zn<.01)){if(Jn<-.01){for(gr=Pr.length-1;gr>=0;gr--)Pr[gr].dp-=Zn;Un=!1}if(Un){var jr=0;for(tr=0;trVr.pmax&&jr++;for(tr=Pr.length-1;tr>=0&&!(jr<=0);tr--)(nn=Pr[tr]).pos>Vr.pmax-1&&(nn.del=!0,jr--);for(tr=0;tr=0;gr--)Pr[gr].dp-=Zn;for(tr=Pr.length-1;tr>=0&&!(jr<=0);tr--)(nn=Pr[tr]).pos+nn.dp+nn.size>Vr.pmax&&(nn.del=!0,jr--)}}}for(Kt.each(function(Pr){var Vr=Pr[jt],vr=Pr[Jt],jr=Vr._id.charAt(0)==="x",li=Vr.range;mn===0&&li&&li[0]>li[1]!==jr&&(zn=-1);var Gi=0,ia=jr?On.width:On.height;if(On.hovermode==="x"||On.hovermode==="y"){var la,co,Oa=q(Pr,bn),Qi=Pr.anchor,No=Qi==="end"?-1:1;if(Qi==="middle")co=(la=Pr.crossPos+(jr?Kn(Oa.y-Pr.by/2):Vn(Pr.bx/2+Pr.tx2width/2)))+(jr?Kn(Pr.by):Vn(Pr.bx));else if(jr)co=(la=Pr.crossPos+Kn(b+Oa.y)-Kn(Pr.by/2-b))+Kn(Pr.by);else{var ss=Vn(No*b+Oa.x),al=ss+Vn(No*Pr.bx);la=Pr.crossPos+Math.min(ss,al),co=Pr.crossPos+Math.max(ss,al)}jr?yn!==void 0&&Sn!==void 0&&Math.min(co,Sn)-Math.max(la,yn)>1&&(vr.side==="left"?(Gi=vr._mainLinePosition,ia=On.width):ia=vr._mainLinePosition):wn!==void 0&&gn!==void 0&&Math.min(co,gn)-Math.max(la,wn)>1&&(vr.side==="top"?(Gi=vr._mainLinePosition,ia=On.height):ia=vr._mainLinePosition)}En[mn++]=[{datum:Pr,traceIndex:Pr.trace.index,dp:0,pos:Pr.pos,posref:Pr.posref,size:Pr.by*(jr?T:1)/2,pmin:Gi,pmax:ia}]}),En.sort(function(Pr,Vr){return Pr[0].posref-Vr[0].posref||zn*(Vr[0].traceIndex-Pr[0].traceIndex)});!Un&&fn<=Dn;){for(fn++,Un=!0,tr=0;tr.01&&fr.pmin===mr.pmin&&fr.pmax===mr.pmax){for(gr=hr.length-1;gr>=0;gr--)hr[gr].dp+=Jn;for(Qn.push.apply(Qn,hr),En.splice(tr+1,1),Pn=0,gr=Qn.length-1;gr>=0;gr--)Pn+=Qn[gr].dp;for(Zn=Pn/Qn.length,gr=Qn.length-1;gr>=0;gr--)Qn[gr].dp-=Zn;Un=!1}else tr++}En.forEach(nr)}for(tr=En.length-1;tr>=0;tr--){var pr=En[tr];for(gr=pr.length-1;gr>=0;gr--){var xr=pr[gr],Rr=xr.datum;Rr.offset=xr.dp,Rr.del=xr.del}}}(yr,Lr,xe,or.commonLabelBoundingBox),j(yr,Lr,xe._invScaleX,xe._invScaleY)),me&&me.tagName){var wr=m.getComponentMethod("annotations","hasClickToShow")(ue,An);c(d.select(me),wr?"pointer":"")}me&&!de&&function(Kt,bn,On){if(!On||On.length!==Kt._hoverdata.length)return!0;for(var Ln=On.length-1;Ln>=0;Ln--){var Un=On[Ln],Jn=Kt._hoverdata[Ln];if(Un.curveNumber!==Jn.curveNumber||String(Un.pointNumber)!==String(Jn.pointNumber)||String(Un.pointNumbers)!==String(Jn.pointNumbers))return!0}return!1}(ue,0,un)&&(un&&ue.emit("plotly_unhover",{event:ce,points:un}),ue.emit("plotly_hover",{event:ce,points:ue._hoverdata,xaxes:ae,yaxes:he,xvals:we,yvals:Ee}))})(X,Q,re,ie,oe)})},o.loneHover=function(X,Q){var re=!0;Array.isArray(X)||(re=!1,X=[X]);var ie=Q.gd,oe=ne(ie),ue=te(ie),ce=B(X.map(function(me){var pe=me._x0||me.x0||me.x||0,xe=me._x1||me.x1||me.x||0,Pe=me._y0||me.y0||me.y||0,_e=me._y1||me.y1||me.y||0,Me=me.eventData;if(Me){var Se=Math.min(pe,xe),Ce=Math.max(pe,xe),ae=Math.min(Pe,_e),he=Math.max(Pe,_e),be=me.trace;if(m.traceIs(be,"gl3d")){var ke=ie._fullLayout[be.scene]._scene.container,Le=ke.offsetLeft,Be=ke.offsetTop;Se+=Le,Ce+=Le,ae+=Be,he+=Be}Me.bbox={x0:Se+ue,x1:Ce+ue,y0:ae+oe,y1:he+oe},Q.inOut_bbox&&Q.inOut_bbox.push(Me.bbox)}else Me=!1;return{color:me.color||l.defaultLine,x0:me.x0||me.x||0,x1:me.x1||me.x||0,y0:me.y0||me.y||0,y1:me.y1||me.y||0,xLabel:me.xLabel,yLabel:me.yLabel,zLabel:me.zLabel,text:me.text,name:me.name,idealAlign:me.idealAlign,borderColor:me.borderColor,fontFamily:me.fontFamily,fontSize:me.fontSize,fontColor:me.fontColor,nameLength:me.nameLength,textAlign:me.textAlign,trace:me.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:me.hovertemplate||!1,hovertemplateLabels:me.hovertemplateLabels||!1,eventData:Me}}),{gd:ie,hovermode:"closest",rotateLabels:!1,bgColor:Q.bgColor||l.background,container:d.select(Q.container),outerContainer:Q.outerContainer||Q.container}).hoverLabels,ye=0,de=0;return ce.sort(function(me,pe){return me.y0-pe.y0}).each(function(me,pe){var xe=me.y0-me.by/2;me.offset=xe-5([\s\S]*)<\/extra>/;function B(X,Q){var re=Q.gd,ie=re._fullLayout,oe=Q.hovermode,ue=Q.rotateLabels,ce=Q.bgColor,ye=Q.container,de=Q.outerContainer,me=Q.commonLabelOpts||{};if(X.length===0)return[[]];var pe=Q.fontFamily||y.HOVERFONT,xe=Q.fontSize||y.HOVERFONTSIZE,Pe=X[0],_e=Pe.xa,Me=Pe.ya,Se=oe.charAt(0),Ce=Se+"Label",ae=Pe[Ce];if(ae===void 0&&_e.type==="multicategory")for(var he=0;heie.width-kn?(xn=ie.width-kn,Nt.attr("d","M"+(kn-b)+",0L"+kn+","+Yn+b+"v"+Yn+(2*O+An.height)+"H-"+kn+"V"+Yn+b+"H"+(kn-2*b)+"Z")):Nt.attr("d","M0,0L"+b+","+Yn+b+"H"+kn+"v"+Yn+(2*O+An.height)+"H-"+kn+"V"+Yn+b+"H-"+b+"Z"),Ye.minX=xn-kn,Ye.maxX=xn+kn,_e.side==="top"?(Ye.minY=un-(2*O+An.height),Ye.maxY=un-O):(Ye.minY=un+O,Ye.maxY=un+(2*O+An.height))}else{var sn,Tn,dn;Me.side==="right"?(sn="start",Tn=1,dn="",xn=_e._offset+_e._length):(sn="end",Tn=-1,dn="-",xn=_e._offset),un=Me._offset+(Pe.y0+Pe.y1)/2,$t.attr("text-anchor",sn),Nt.attr("d","M0,0L"+dn+b+","+b+"V"+(O+An.height/2)+"h"+dn+(2*O+An.width)+"V-"+(O+An.height/2)+"H"+dn+b+"V-"+b+"Z"),Ye.minY=un-(O+An.height/2),Ye.maxY=un+(O+An.height/2),Me.side==="right"?(Ye.minX=xn+b,Ye.maxX=xn+b+(2*O+An.width)):(Ye.minX=xn-b-(2*O+An.width),Ye.maxX=xn-b);var pn,Rn=An.height/2,In=ke-An.top-Rn,jn="clip"+ie._uid+"commonlabel"+Me._id;if(xn=0?Je:We+Oe=0?We:yt+Oe=0?Vt:Ke+Ne=0?Ke:Pt+Ne=0,Ot.idealAlign!=="top"&&rr||!Lr?rr?(Rn+=jn/2,Ot.anchor="start"):Ot.anchor="middle":(Rn-=jn/2,Ot.anchor="end"),Ot.crossPos=Rn;else{if(Ot.pos=Rn,rr=pn+In/2+br<=Le,Lr=pn-In/2-br>=0,Ot.idealAlign!=="left"&&rr||!Lr)if(rr)pn+=In/2,Ot.anchor="start";else{Ot.anchor="middle";var or=br/2,yr=pn+or-Le,wr=pn-or;yr>0&&(pn-=yr),wr<0&&(pn+=-wr)}else pn-=In/2,Ot.anchor="end";Ot.crossPos=pn}Yn.attr("text-anchor",Ot.anchor),sn&&kn.attr("text-anchor",Ot.anchor),Nt.attr("transform",g(pn,Rn)+(ue?p(k):""))}),{hoverLabels:wt,commonLabelBoundingBox:Ye}}function N(X,Q,re,ie,oe,ue){var ce="",ye="";X.nameOverride!==void 0&&(X.name=X.nameOverride),X.name&&(X.trace._meta&&(X.name=M.templateString(X.name,X.trace._meta)),ce=W(X.name,X.nameLength));var de=re.charAt(0),me=de==="x"?"y":"x";X.zLabel!==void 0?(X.xLabel!==void 0&&(ye+="x: "+X.xLabel+"
"),X.yLabel!==void 0&&(ye+="y: "+X.yLabel+"
"),X.trace.type!=="choropleth"&&X.trace.type!=="choroplethmapbox"&&(ye+=(ye?"z: ":"")+X.zLabel)):Q&&X[de+"Label"]===oe?ye=X[me+"Label"]||"":X.xLabel===void 0?X.yLabel!==void 0&&X.trace.type!=="scattercarpet"&&(ye=X.yLabel):ye=X.yLabel===void 0?X.xLabel:"("+X.xLabel+", "+X.yLabel+")",!X.text&&X.text!==0||Array.isArray(X.text)||(ye+=(ye?"
":"")+X.text),X.extraText!==void 0&&(ye+=(ye?"
":"")+X.extraText),ue&&ye===""&&!X.hovertemplate&&(ce===""&&ue.remove(),ye=ce);var pe=X.hovertemplate||!1;if(pe){var xe=X.hovertemplateLabels||X;X[de+"Label"]!==oe&&(xe[de+"other"]=xe[de+"Val"],xe[de+"otherLabel"]=xe[de+"Label"]),ye=(ye=M.hovertemplateString(pe,xe,ie._d3locale,X.eventData[0]||{},X.trace._meta)).replace(F,function(Pe,_e){return ce=W(_e,X.nameLength),""})}return[ye,ce]}function q(X,Q){var re=0,ie=X.offset;return Q&&(ie*=-L,re=X.offset*A),{x:re,y:ie}}function j(X,Q,re,ie){var oe=function(ce){return ce*re},ue=function(ce){return ce*ie};X.each(function(ce){var ye=d.select(this);if(ce.del)return ye.remove();var de,me,pe,xe,Pe=ye.select("text.nums"),_e=ce.anchor,Me=_e==="end"?-1:1,Se=(xe=(pe=(me={start:1,end:-1,middle:0}[(de=ce).anchor])*(b+O))+me*(de.txwidth+O),de.anchor==="middle"&&(pe-=de.tx2width/2,xe+=de.txwidth/2+O),{alignShift:me,textShiftX:pe,text2ShiftX:xe}),Ce=q(ce,Q),ae=Ce.x,he=Ce.y,be=_e==="middle";ye.select("path").attr("d",be?"M-"+oe(ce.bx/2+ce.tx2width/2)+","+ue(he-ce.by/2)+"h"+oe(ce.bx)+"v"+ue(ce.by)+"h-"+oe(ce.bx)+"Z":"M0,0L"+oe(Me*b+ae)+","+ue(b+he)+"v"+ue(ce.by/2-b)+"h"+oe(Me*ce.bx)+"v-"+ue(ce.by)+"H"+oe(Me*b+ae)+"V"+ue(he-b)+"Z");var ke=ae+Se.textShiftX,Le=he+ce.ty0-ce.by/2+O,Be=ce.textAlign||"auto";Be!=="auto"&&(Be==="left"&&_e!=="start"?(Pe.attr("text-anchor","start"),ke=be?-ce.bx/2-ce.tx2width/2+O:-ce.bx-O):Be==="right"&&_e!=="end"&&(Pe.attr("text-anchor","end"),ke=be?ce.bx/2-ce.tx2width/2-O:ce.bx+O)),Pe.call(a.positionText,oe(ke),ue(Le)),ce.tx2width&&(ye.select("text.name").call(a.positionText,oe(Se.text2ShiftX+Se.alignShift*O+ae),ue(he+ce.ty0-ce.by/2+O)),ye.select("rect").call(s.setRect,oe(Se.text2ShiftX+(Se.alignShift-1)*ce.tx2width/2+ae),ue(he-ce.by/2-1),oe(ce.tx2width),ue(ce.by+2)))})}function Y(X,Q){var re=X.index,ie=X.trace||{},oe=X.cd[0],ue=X.cd[re]||{};function ce(Pe){return Pe||v(Pe)&&Pe===0}var ye=Array.isArray(re)?function(Pe,_e){var Me=M.castOption(oe,re,Pe);return ce(Me)?Me:M.extractOption({},ie,"",_e)}:function(Pe,_e){return M.extractOption(ue,ie,Pe,_e)};function de(Pe,_e,Me){var Se=ye(_e,Me);ce(Se)&&(X[Pe]=Se)}if(de("hoverinfo","hi","hoverinfo"),de("bgcolor","hbg","hoverlabel.bgcolor"),de("borderColor","hbc","hoverlabel.bordercolor"),de("fontFamily","htf","hoverlabel.font.family"),de("fontSize","hts","hoverlabel.font.size"),de("fontColor","htc","hoverlabel.font.color"),de("nameLength","hnl","hoverlabel.namelength"),de("textAlign","hta","hoverlabel.align"),X.posref=Q==="y"||Q==="closest"&&ie.orientation==="h"?X.xa._offset+(X.x0+X.x1)/2:X.ya._offset+(X.y0+X.y1)/2,X.x0=M.constrain(X.x0,0,X.xa._length),X.x1=M.constrain(X.x1,0,X.xa._length),X.y0=M.constrain(X.y0,0,X.ya._length),X.y1=M.constrain(X.y1,0,X.ya._length),X.xLabelVal!==void 0&&(X.xLabel="xLabel"in X?X.xLabel:f.hoverLabelText(X.xa,X.xLabelVal,ie.xhoverformat),X.xVal=X.xa.c2d(X.xLabelVal)),X.yLabelVal!==void 0&&(X.yLabel="yLabel"in X?X.yLabel:f.hoverLabelText(X.ya,X.yLabelVal,ie.yhoverformat),X.yVal=X.ya.c2d(X.yLabelVal)),X.zLabelVal!==void 0&&X.zLabel===void 0&&(X.zLabel=String(X.zLabelVal)),!(isNaN(X.xerr)||X.xa.type==="log"&&X.xerr<=0)){var me=f.tickText(X.xa,X.xa.c2l(X.xerr),"hover").text;X.xerrneg!==void 0?X.xLabel+=" +"+me+" / -"+f.tickText(X.xa,X.xa.c2l(X.xerrneg),"hover").text:X.xLabel+=" ± "+me,Q==="x"&&(X.distance+=1)}if(!(isNaN(X.yerr)||X.ya.type==="log"&&X.yerr<=0)){var pe=f.tickText(X.ya,X.ya.c2l(X.yerr),"hover").text;X.yerrneg!==void 0?X.yLabel+=" +"+pe+" / -"+f.tickText(X.ya,X.ya.c2l(X.yerrneg),"hover").text:X.yLabel+=" ± "+pe,Q==="y"&&(X.distance+=1)}var xe=X.hoverinfo||X.trace.hoverinfo;return xe&&xe!=="all"&&((xe=Array.isArray(xe)?xe:xe.split("+")).indexOf("x")===-1&&(X.xLabel=void 0),xe.indexOf("y")===-1&&(X.yLabel=void 0),xe.indexOf("z")===-1&&(X.zLabel=void 0),xe.indexOf("text")===-1&&(X.text=void 0),xe.indexOf("name")===-1&&(X.name=void 0)),X}function U(X,Q,re){var ie,oe,ue=re.container,ce=re.fullLayout,ye=ce._size,de=re.event,me=!!Q.hLinePoint,pe=!!Q.vLinePoint;if(ue.selectAll(".spikeline").remove(),pe||me){var xe=l.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(me){var Pe,_e,Me=Q.hLinePoint;ie=Me&&Me.xa,(oe=Me&&Me.ya).spikesnap==="cursor"?(Pe=de.pointerX,_e=de.pointerY):(Pe=ie._offset+Me.x,_e=oe._offset+Me.y);var Se,Ce,ae=i.readability(Me.color,xe)<1.5?l.contrast(xe):Me.color,he=oe.spikemode,be=oe.spikethickness,ke=oe.spikecolor||ae,Le=f.getPxPosition(X,oe);if(he.indexOf("toaxis")!==-1||he.indexOf("across")!==-1){if(he.indexOf("toaxis")!==-1&&(Se=Le,Ce=Pe),he.indexOf("across")!==-1){var Be=oe._counterDomainMin,ze=oe._counterDomainMax;oe.anchor==="free"&&(Be=Math.min(Be,oe.position),ze=Math.max(ze,oe.position)),Se=ye.l+Be*ye.w,Ce=ye.l+ze*ye.w}ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be,stroke:ke,"stroke-dasharray":s.dashStyle(oe.spikedash,be)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}he.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:Le+(oe.side!=="right"?be:-be),cy:_e,r:be,fill:ke}).classed("spikeline",!0)}if(pe){var je,ge,we=Q.vLinePoint;ie=we&&we.xa,oe=we&&we.ya,ie.spikesnap==="cursor"?(je=de.pointerX,ge=de.pointerY):(je=ie._offset+we.x,ge=oe._offset+we.y);var Ee,Ve,Ye=i.readability(we.color,xe)<1.5?l.contrast(xe):we.color,$e=ie.spikemode,st=ie.spikethickness,ot=ie.spikecolor||Ye,ft=f.getPxPosition(X,ie);if($e.indexOf("toaxis")!==-1||$e.indexOf("across")!==-1){if($e.indexOf("toaxis")!==-1&&(Ee=ft,Ve=ge),$e.indexOf("across")!==-1){var bt=ie._counterDomainMin,Et=ie._counterDomainMax;ie.anchor==="free"&&(bt=Math.min(bt,ie.position),Et=Math.max(Et,ie.position)),Ee=ye.t+(1-Et)*ye.h,Ve=ye.t+(1-bt)*ye.h}ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st,stroke:ot,"stroke-dasharray":s.dashStyle(ie.spikedash,st)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}$e.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:je,cy:ft-(ie.side!=="top"?st:-st),r:st,fill:ot}).classed("spikeline",!0)}}}function G(X,Q){return!Q||Q.vLinePoint!==X._spikepoints.vLinePoint||Q.hLinePoint!==X._spikepoints.hLinePoint}function W(X,Q){return a.plainText(X||"",{len:Q,allowedTags:["br","sub","sup","b","i","em"]})}function H(X,Q,re){var ie=Q[X+"a"],oe=Q[X+"Val"],ue=Q.cd[0];if(ie.type==="category"||ie.type==="multicategory")oe=ie._categoriesMap[oe];else if(ie.type==="date"){var ce=Q.trace[X+"periodalignment"];if(ce){var ye=Q.cd[Q.index],de=ye[X+"Start"];de===void 0&&(de=ye[X]);var me=ye[X+"End"];me===void 0&&(me=ye[X]);var pe=me-de;ce==="end"?oe+=pe:ce==="middle"&&(oe+=pe/2)}oe=ie.d2c(oe)}return ue&&ue.t&&ue.t.posLetter===ie._id&&(re.boxmode!=="group"&&re.violinmode!=="group"||(oe+=ue.t.dPos)),oe}function ne(X){return X.offsetTop+X.clientTop}function te(X){return X.offsetLeft+X.clientLeft}function Z(X,Q){var re=X._fullLayout,ie=Q.getBoundingClientRect(),oe=ie.left,ue=ie.top,ce=oe+ie.width,ye=ue+ie.height,de=M.apply3DTransform(re._invTransform)(oe,ue),me=M.apply3DTransform(re._invTransform)(ce,ye),pe=de[0],xe=de[1],Pe=me[0],_e=me[1];return{x:pe,y:xe,width:Pe-pe,height:_e-xe,top:Math.min(xe,_e),left:Math.min(pe,Pe),right:Math.max(pe,Pe),bottom:Math.max(xe,_e)}}},38048:function(x,o,t){var d=t(71828),v=t(7901),i=t(23469).isUnifiedHover;x.exports=function(M,g,p,u){u=u||{};var a=g.legend;function c(s){u.font[s]||(u.font[s]=a?g.legend.font[s]:g.font[s])}g&&i(g.hovermode)&&(u.font||(u.font={}),c("size"),c("family"),c("color"),a?(u.bgcolor||(u.bgcolor=v.combine(g.legend.bgcolor,g.paper_bgcolor)),u.bordercolor||(u.bordercolor=g.legend.bordercolor)):u.bgcolor||(u.bgcolor=g.paper_bgcolor)),p("hoverlabel.bgcolor",u.bgcolor),p("hoverlabel.bordercolor",u.bordercolor),p("hoverlabel.namelength",u.namelength),d.coerceFont(p,"hoverlabel.font",u.font),p("hoverlabel.align",u.align)}},98212:function(x,o,t){var d=t(71828),v=t(528);x.exports=function(i,M){function g(p,u){return M[p]!==void 0?M[p]:d.coerce(i,M,v,p,u)}return g("clickmode"),g("hovermode")}},30211:function(x,o,t){var d=t(39898),v=t(71828),i=t(28569),M=t(23469),g=t(528),p=t(88335);x.exports={moduleType:"component",name:"fx",constants:t(26675),schema:{layout:g},attributes:t(77914),layoutAttributes:g,supplyLayoutGlobalDefaults:t(22774),supplyDefaults:t(54268),supplyLayoutDefaults:t(34938),calc:t(30732),getDistanceFunction:M.getDistanceFunction,getClosest:M.getClosest,inbox:M.inbox,quadrature:M.quadrature,appendArrayPointValue:M.appendArrayPointValue,castHoverOption:function(u,a,c){return v.castOption(u,a,"hoverlabel."+c)},castHoverinfo:function(u,a,c){return v.castOption(u,c,"hoverinfo",function(s){return v.coerceHoverinfo({hoverinfo:s},{_module:u._module},a)})},hover:p.hover,unhover:i.unhover,loneHover:p.loneHover,loneUnhover:function(u){var a=v.isD3Selection(u)?u:d.select(u);a.selectAll("g.hovertext").remove(),a.selectAll(".spikeline").remove()},click:t(75914)}},528:function(x,o,t){var d=t(26675),v=t(41940),i=v({editType:"none"});i.family.dflt=d.HOVERFONT,i.size.dflt=d.HOVERFONTSIZE,x.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:i,grouptitlefont:v({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"}}},34938:function(x,o,t){var d=t(71828),v=t(528),i=t(98212),M=t(38048);x.exports=function(g,p){function u(l,h){return d.coerce(g,p,v,l,h)}i(g,p)&&(u("hoverdistance"),u("spikedistance")),u("dragmode")==="select"&&u("selectdirection");var a=p._has("mapbox"),c=p._has("geo"),s=p._basePlotModules.length;p.dragmode==="zoom"&&((a||c)&&s===1||a&&c&&s===2)&&(p.dragmode="pan"),M(g,p,u),d.coerceFont(u,"hoverlabel.grouptitlefont",p.hoverlabel.font)}},22774:function(x,o,t){var d=t(71828),v=t(38048),i=t(528);x.exports=function(M,g){v(M,g,function(p,u){return d.coerce(M,g,i,p,u)})}},83312:function(x,o,t){var d=t(71828),v=t(30587).counter,i=t(27670).Y,M=t(85555).idRegex,g=t(44467),p={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:[v("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.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:i({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(s,l,h){var f=l[h+"axes"],m=Object.keys((s._splomAxes||{})[h]||{});return Array.isArray(f)?f:m.length?m:void 0}function a(s,l,h,f,m,_){var y=l(s+"gap",h),C=l("domain."+s);l(s+"side",f);for(var w=new Array(m),k=C[0],E=(C[1]-k)/(m-y),T=E*(1-y),A=0;A1){C||w||k||F("pattern")==="independent"&&(C=!0),T._hasSubplotGrid=C;var b,O,I=F("roworder")==="top to bottom",R=C?.2:.1,z=C?.3:.1;E&&l._splomGridDflt&&(b=l._splomGridDflt.xside,O=l._splomGridDflt.yside),T._domains={x:a("x",F,R,b,L),y:a("y",F,z,O,A,I)}}else delete l.grid}function F(B,N){return d.coerce(h,T,p,B,N)}},contentDefaults:function(s,l){var h=l.grid;if(h&&h._domains){var f,m,_,y,C,w,k,E=s.grid||{},T=l._subplots,A=h._hasSubplotGrid,L=h.rows,b=h.columns,O=h.pattern==="independent",I=h._axisMap={};if(A){var R=E.subplots||[];w=h.subplots=new Array(L);var z=1;for(f=0;f1);if(O===!1&&(l.legend=void 0),(O!==!1||f.uirevision)&&(_("uirevision",l.uirevision),O!==!1)){_("borderwidth");var I,R,z,F=_("orientation")==="h";if(F?(I=0,d.getComponentMethod("rangeslider","isVisible")(s.xaxis)?(R=1.1,z="bottom"):(R=-.1,z="top")):(I=1.02,R=1,z="auto"),_("traceorder",L),u.isGrouped(l.legend)&&_("tracegroupgap"),_("entrywidth"),_("entrywidthmode"),_("itemsizing"),_("itemwidth"),_("itemclick"),_("itemdoubleclick"),_("groupclick"),_("x",I),_("xanchor"),_("y",R),_("yanchor",z),_("valign"),v.noneOrAll(f,m,["x","y"]),_("title.text")){_("title.side",F?"left":"top");var B=v.extendFlat({},y,{size:v.bigFont(y.size)});v.coerceFont(_,"title.font",B)}}}}x.exports=function(c,s,l){var h,f=["legend"];for(h=0;h1)}var ne=U.hiddenlabels||[];if(!(W||U.showlegend&&H.length))return j.selectAll("."+G).remove(),U._topdefs.select("#"+q).remove(),i.autoMargin(B,G);var te=v.ensureSingle(j,"g",G,function(ye){W||ye.attr("pointer-events","all")}),Z=v.ensureSingleById(U._topdefs,"clipPath",q,function(ye){ye.append("rect")}),X=v.ensureSingle(te,"rect","bg",function(ye){ye.attr("shape-rendering","crispEdges")});X.call(a.stroke,Y.bordercolor).call(a.fill,Y.bgcolor).style("stroke-width",Y.borderwidth+"px");var Q=v.ensureSingle(te,"g","scrollbox"),re=Y.title;if(Y._titleWidth=0,Y._titleHeight=0,re.text){var ie=v.ensureSingle(Q,"text",G+"titletext");ie.attr("text-anchor","start").call(u.font,re.font).text(re.text),I(ie,Q,B,Y,1)}else Q.selectAll("."+G+"titletext").remove();var oe=v.ensureSingle(te,"rect","scrollbar",function(ye){ye.attr(l.scrollBarEnterAttrs).call(a.fill,l.scrollBarColor)}),ue=Q.selectAll("g.groups").data(H);ue.enter().append("g").attr("class","groups"),ue.exit().remove();var ce=ue.selectAll("g.traces").data(v.identity);ce.enter().append("g").attr("class","traces"),ce.exit().remove(),ce.style("opacity",function(ye){var de=ye[0].trace;return M.traceIs(de,"pie-like")?ne.indexOf(ye[0].label)!==-1?.5:1:de.visible==="legendonly"?.5:1}).each(function(){d.select(this).call(L,B,Y)}).call(C,B,Y).each(function(){W||d.select(this).call(O,B,G)}),v.syncOrAsync([i.previousPromises,function(){return function(ye,de,me,pe){var xe=ye._fullLayout,Pe=F(pe);pe||(pe=xe[Pe]);var _e=xe._size,Me=w.isVertical(pe),Se=w.isGrouped(pe),Ce=pe.entrywidthmode==="fraction",ae=pe.borderwidth,he=2*ae,be=l.itemGap,ke=pe.itemwidth+2*be,Le=2*(ae+be),Be=z(pe),ze=pe.y<0||pe.y===0&&Be==="top",je=pe.y>1||pe.y===1&&Be==="bottom",ge=pe.tracegroupgap,we={};pe._maxHeight=Math.max(ze||je?xe.height/2:_e.h,30);var Ee=0;pe._width=0,pe._height=0;var Ve=function(Oe){var Ne=0,Qe=0,ut=Oe.title.side;return ut&&(ut.indexOf("left")!==-1&&(Ne=Oe._titleWidth),ut.indexOf("top")!==-1&&(Qe=Oe._titleHeight)),[Ne,Qe]}(pe);if(Me)me.each(function(Oe){var Ne=Oe[0].height;u.setTranslate(this,ae+Ve[0],ae+Ve[1]+pe._height+Ne/2+be),pe._height+=Ne,pe._width=Math.max(pe._width,Oe[0].width)}),Ee=ke+pe._width,pe._width+=be+ke+he,pe._height+=Le,Se&&(de.each(function(Oe,Ne){u.setTranslate(this,0,Ne*pe.tracegroupgap)}),pe._height+=(pe._lgroupsLength-1)*pe.tracegroupgap);else{var Ye=R(pe),$e=pe.x<0||pe.x===0&&Ye==="right",st=pe.x>1||pe.x===1&&Ye==="left",ot=je||ze,ft=xe.width/2;pe._maxWidth=Math.max($e?ot&&Ye==="left"?_e.l+_e.w:ft:st?ot&&Ye==="right"?_e.r+_e.w:ft:_e.w,2*ke);var bt=0,Et=0;me.each(function(Oe){var Ne=T(Oe,pe,ke);bt=Math.max(bt,Ne),Et+=Ne}),Ee=null;var kt=0;if(Se){var xt=0,Ft=0,Dt=0;de.each(function(){var Oe=0,Ne=0;d.select(this).selectAll("g.traces").each(function(ut){var pt=T(ut,pe,ke),_t=ut[0].height;u.setTranslate(this,Ve[0],Ve[1]+ae+be+_t/2+Ne),Ne+=_t,Oe=Math.max(Oe,pt),we[ut[0].trace.legendgroup]=Oe});var Qe=Oe+be;Ft>0&&Qe+ae+Ft>pe._maxWidth?(kt=Math.max(kt,Ft),Ft=0,Dt+=xt+ge,xt=Ne):xt=Math.max(xt,Ne),u.setTranslate(this,Ft,Dt),Ft+=Qe}),pe._width=Math.max(kt,Ft)+ae,pe._height=Dt+xt+Le}else{var Bt=me.size(),Wt=Et+he+(Bt-1)*be=pe._maxWidth&&(kt=Math.max(kt,We),Ke=0,Je+=Vt,pe._height+=Vt,Vt=0),u.setTranslate(this,Ve[0]+ae+Ke,Ve[1]+ae+Je+Ne/2+be),We=Ke+Qe+be,Ke+=ut,Vt=Math.max(Vt,Ne)}),Wt?(pe._width=Ke+he,pe._height=Vt+Le):(pe._width=Math.max(kt,We)+he,pe._height+=Vt+Le)}}pe._width=Math.ceil(Math.max(pe._width+Ve[0],pe._titleWidth+2*(ae+l.titlePad))),pe._height=Math.ceil(Math.max(pe._height+Ve[1],pe._titleHeight+2*(ae+l.itemGap))),pe._effHeight=Math.min(pe._height,pe._maxHeight);var nt=ye._context.edits,ht=nt.legendText||nt.legendPosition;me.each(function(Oe){var Ne=d.select(this).select("."+Pe+"toggle"),Qe=Oe[0].height,ut=Oe[0].trace.legendgroup,pt=T(Oe,pe,ke);Se&&ut!==""&&(pt=we[ut]);var _t=ht?ke:Ee||pt;Me||Ce||(_t+=be/2),u.setRect(Ne,0,-Qe/2,_t,Qe)})}(B,ue,ce,Y)},function(){var ye,de,me,pe,xe=U._size,Pe=Y.borderwidth;if(!W){var _e=function($e,st){var ot=$e._fullLayout[st],ft=R(ot),bt=z(ot);return i.autoMargin($e,st,{x:ot.x,y:ot.y,l:ot._width*m[ft],r:ot._width*_[ft],b:ot._effHeight*_[bt],t:ot._effHeight*m[bt]})}(B,G);if(_e)return;var Me=xe.l+xe.w*Y.x-m[R(Y)]*Y._width,Se=xe.t+xe.h*(1-Y.y)-m[z(Y)]*Y._effHeight;if(U.margin.autoexpand){var Ce=Me,ae=Se;Me=v.constrain(Me,0,U.width-Y._width),Se=v.constrain(Se,0,U.height-Y._effHeight),Me!==Ce&&v.log("Constrain "+G+".x to make legend fit inside graph"),Se!==ae&&v.log("Constrain "+G+".y to make legend fit inside graph")}u.setTranslate(te,Me,Se)}if(oe.on(".drag",null),te.on("wheel",null),W||Y._height<=Y._maxHeight||B._context.staticPlot){var he=Y._effHeight;W&&(he=Y._height),X.attr({width:Y._width-Pe,height:he-Pe,x:Pe/2,y:Pe/2}),u.setTranslate(Q,0,0),Z.select("rect").attr({width:Y._width-2*Pe,height:he-2*Pe,x:Pe,y:Pe}),u.setClipUrl(Q,q,B),u.setRect(oe,0,0,0,0),delete Y._scrollY}else{var be,ke,Le,Be=Math.max(l.scrollBarMinHeight,Y._effHeight*Y._effHeight/Y._height),ze=Y._effHeight-Be-2*l.scrollBarMargin,je=Y._height-Y._effHeight,ge=ze/je,we=Math.min(Y._scrollY||0,je);X.attr({width:Y._width-2*Pe+l.scrollBarWidth+l.scrollBarMargin,height:Y._effHeight-Pe,x:Pe/2,y:Pe/2}),Z.select("rect").attr({width:Y._width-2*Pe+l.scrollBarWidth+l.scrollBarMargin,height:Y._effHeight-2*Pe,x:Pe,y:Pe+we}),u.setClipUrl(Q,q,B),Ye(we,Be,ge),te.on("wheel",function(){Ye(we=v.constrain(Y._scrollY+d.event.deltaY/ze*je,0,je),Be,ge),we!==0&&we!==je&&d.event.preventDefault()});var Ee=d.behavior.drag().on("dragstart",function(){var $e=d.event.sourceEvent;be=$e.type==="touchstart"?$e.changedTouches[0].clientY:$e.clientY,Le=we}).on("drag",function(){var $e=d.event.sourceEvent;$e.buttons===2||$e.ctrlKey||(ke=$e.type==="touchmove"?$e.changedTouches[0].clientY:$e.clientY,we=function(st,ot,ft){var bt=(ft-ot)/ge+st;return v.constrain(bt,0,je)}(Le,be,ke),Ye(we,Be,ge))});oe.call(Ee);var Ve=d.behavior.drag().on("dragstart",function(){var $e=d.event.sourceEvent;$e.type==="touchstart"&&(be=$e.changedTouches[0].clientY,Le=we)}).on("drag",function(){var $e=d.event.sourceEvent;$e.type==="touchmove"&&(ke=$e.changedTouches[0].clientY,we=function(st,ot,ft){var bt=(ot-ft)/ge+st;return v.constrain(bt,0,je)}(Le,be,ke),Ye(we,Be,ge))});Q.call(Ve)}function Ye($e,st,ot){Y._scrollY=B._fullLayout[G]._scrollY=$e,u.setTranslate(Q,0,-$e),u.setRect(oe,Y._width,l.scrollBarMargin+$e*ot,l.scrollBarWidth,st),Z.select("rect").attr("y",Pe+$e)}B._context.edits.legendPosition&&(te.classed("cursor-move",!0),p.init({element:te.node(),gd:B,prepFn:function(){var $e=u.getTranslate(te);me=$e.x,pe=$e.y},moveFn:function($e,st){var ot=me+$e,ft=pe+st;u.setTranslate(te,ot,ft),ye=p.align(ot,Y._width,xe.l,xe.l+xe.w,Y.xanchor),de=p.align(ft+Y._height,-Y._height,xe.t+xe.h,xe.t,Y.yanchor)},doneFn:function(){if(ye!==void 0&&de!==void 0){var $e={};$e[G+".x"]=ye,$e[G+".y"]=de,M.call("_guiRelayout",B,$e)}},clickFn:function($e,st){var ot=ue.selectAll("g.traces").filter(function(){var ft=this.getBoundingClientRect();return st.clientX>=ft.left&&st.clientX<=ft.right&&st.clientY>=ft.top&&st.clientY<=ft.bottom});ot.size()>0&&A(B,te,ot,$e,st)}}))}],B)}}function T(B,N,q){var j=B[0],Y=j.width,U=N.entrywidthmode,G=j.trace.legendwidth||N.entrywidth;return U==="fraction"?N._maxWidth*G:q+(G||Y)}function A(B,N,q,j,Y){var U=q.data()[0][0].trace,G={event:Y,node:q.node(),curveNumber:U.index,expandedIndex:U._expandedIndex,data:B.data,layout:B.layout,frames:B._transitionData._frames,config:B._context,fullData:B._fullData,fullLayout:B._fullLayout};U._group&&(G.group=U._group),M.traceIs(U,"pie-like")&&(G.label=q.datum()[0].label),g.triggerHandler(B,"plotly_legendclick",G)!==!1&&(j===1?N._clickTimeout=setTimeout(function(){B._fullLayout&&s(q,B,j)},B._context.doubleClickDelay):j===2&&(N._clickTimeout&&clearTimeout(N._clickTimeout),B._legendMouseDownTime=0,g.triggerHandler(B,"plotly_legenddoubleclick",G)!==!1&&s(q,B,j)))}function L(B,N,q){var j,Y,U=F(q),G=B.data()[0][0],W=G.trace,H=M.traceIs(W,"pie-like"),ne=!q._inHover&&N._context.edits.legendText&&!H,te=q._maxNameLength;G.groupTitle?(j=G.groupTitle.text,Y=G.groupTitle.font):(Y=q.font,q.entries?j=G.text:(j=H?G.label:W.name,W._meta&&(j=v.templateString(j,W._meta))));var Z=v.ensureSingle(B,"text",U+"text");Z.attr("text-anchor","start").call(u.font,Y).text(ne?b(j,te):j);var X=q.itemwidth+2*l.itemGap;c.positionText(Z,X,0),ne?Z.call(c.makeEditable,{gd:N,text:j}).call(I,B,N,q).on("edit",function(Q){this.text(b(Q,te)).call(I,B,N,q);var re=G.trace._fullInput||{},ie={};if(M.hasTransform(re,"groupby")){var oe=M.getTransformIndices(re,"groupby"),ue=oe[oe.length-1],ce=v.keyedContainer(re,"transforms["+ue+"].styles","target","value.name");ce.set(G.trace._group,Q),ie=ce.constructUpdate()}else ie.name=Q;return M.call("_guiRestyle",N,ie,W.index)}):I(Z,B,N,q)}function b(B,N){var q=Math.max(4,N);if(B&&B.trim().length>=q/2)return B;for(var j=q-(B=B||"").length;j>0;j--)B+=" ";return B}function O(B,N,q){var j,Y=N._context.doubleClickDelay,U=1,G=v.ensureSingle(B,"rect",q+"toggle",function(W){N._context.staticPlot||W.style("cursor","pointer").attr("pointer-events","all"),W.call(a.fill,"rgba(0,0,0,0)")});N._context.staticPlot||(G.on("mousedown",function(){(j=new Date().getTime())-N._legendMouseDownTimeY&&(U=Math.max(U-1,1)),A(N,W,B,U,d.event)}}))}function I(B,N,q,j,Y){j._inHover&&B.attr("data-notex",!0),c.convertToTspans(B,q,function(){(function(U,G,W,H){var ne=U.data()[0][0];if(W._inHover||!ne||ne.trace.showlegend){var te=U.select("g[class*=math-group]"),Z=te.node(),X=F(W);W||(W=G._fullLayout[X]);var Q,re,ie=W.borderwidth,oe=(H===1?W.title.font:ne.groupTitle?ne.groupTitle.font:W.font).size*f;if(Z){var ue=u.bBox(Z);Q=ue.height,re=ue.width,H===1?u.setTranslate(te,ie,ie+.75*Q):u.setTranslate(te,0,.25*Q)}else{var ce="."+X+(H===1?"title":"")+"text",ye=U.select(ce),de=c.lineCount(ye),me=ye.node();if(Q=oe*de,re=me?u.bBox(me).width:0,H===1)W.title.side==="left"&&(re+=2*l.itemGap),c.positionText(ye,ie+l.titlePad,ie+oe);else{var pe=2*l.itemGap+W.itemwidth;ne.groupTitle&&(pe=l.itemGap,re-=W.itemwidth),c.positionText(ye,pe,-oe*((de-1)/2-.3))}}H===1?(W._titleWidth=re,W._titleHeight=Q):(ne.lineHeight=oe,ne.height=Math.max(Q,16)+3,ne.width=re)}else U.remove()})(N,q,j,Y)})}function R(B){return v.isRightAnchor(B)?"right":v.isCenterAnchor(B)?"center":"left"}function z(B){return v.isBottomAnchor(B)?"bottom":v.isMiddleAnchor(B)?"middle":"top"}function F(B){return B._id||"legend"}x.exports=function(B,N){if(N)E(B,N);else{var q=B._fullLayout,j=q._legends;q._infolayer.selectAll('[class^="legend"]').each(function(){var G=d.select(this),W=G.attr("class").split(" ")[0];W.match(k)&&j.indexOf(W)===-1&&G.remove()});for(var Y=0;Yz&&(R=z)}O[p][0]._groupMinRank=R,O[p][0]._preGroupSort=p}var F=function(Y,U){return Y.trace.legendrank-U.trace.legendrank||Y._preSort-U._preSort};for(O.forEach(function(Y,U){Y[0]._preGroupSort=U}),O.sort(function(Y,U){return Y[0]._groupMinRank-U[0]._groupMinRank||Y[0]._preGroupSort-U[0]._preGroupSort}),p=0;pC?C:_}x.exports=function(_,y,C){var w=y._fullLayout;C||(C=w.legend);var k=C.itemsizing==="constant",E=C.itemwidth,T=(E+2*l.itemGap)/2,A=M(T,0),L=function(I,R,z,F){var B;if(I+1)B=I;else{if(!(R&&R.width>0))return 0;B=R.width}return k?F:Math.min(B,z)};function b(I,R,z){var F=I[0].trace,B=F.marker||{},N=B.line||{},q=z?F.visible&&F.type===z:v.traceIs(F,"bar"),j=d.select(R).select("g.legendpoints").selectAll("path.legend"+z).data(q?[I]:[]);j.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),j.exit().remove(),j.each(function(Y){var U=d.select(this),G=Y[0],W=L(G.mlw,B.line,5,2);U.style("stroke-width",W+"px");var H=G.mcc;if(!C._inHover&&"mc"in G){var ne=u(B),te=ne.mid;te===void 0&&(te=(ne.max+ne.min)/2),H=g.tryColorscale(B,"")(te)}var Z=H||G.mc||B.color,X=B.pattern,Q=X&&g.getPatternAttr(X.shape,0,"");if(Q){var re=g.getPatternAttr(X.bgcolor,0,null),ie=g.getPatternAttr(X.fgcolor,0,null),oe=X.fgopacity,ue=m(X.size,8,10),ce=m(X.solidity,.5,1),ye="legend-"+F.uid;U.call(g.pattern,"legend",y,ye,Q,ue,ce,H,X.fillmode,re,ie,oe)}else U.call(p.fill,Z);W&&p.stroke(U,G.mlc||N.color)})}function O(I,R,z){var F=I[0],B=F.trace,N=z?B.visible&&B.type===z:v.traceIs(B,z),q=d.select(R).select("g.legendpoints").selectAll("path.legend"+z).data(N?[I]:[]);if(q.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),q.exit().remove(),q.size()){var j=(B.marker||{}).line,Y=L(s(j.width,F.pts),j,5,2),U=i.minExtend(B,{marker:{line:{width:Y}}});U.marker.line.color=j.color;var G=i.minExtend(F,{trace:U});c(q,G,U)}}_.each(function(I){var R=d.select(this),z=i.ensureSingle(R,"g","layers");z.style("opacity",I[0].trace.opacity);var F=C.valign,B=I[0].lineHeight,N=I[0].height;if(F!=="middle"&&B&&N){var q={top:1,bottom:-1}[F]*(.5*(B-N+3));z.attr("transform",M(0,q))}else z.attr("transform",null);z.selectAll("g.legendfill").data([I]).enter().append("g").classed("legendfill",!0),z.selectAll("g.legendlines").data([I]).enter().append("g").classed("legendlines",!0);var j=z.selectAll("g.legendsymbols").data([I]);j.enter().append("g").classed("legendsymbols",!0),j.selectAll("g.legendpoints").data([I]).enter().append("g").classed("legendpoints",!0)}).each(function(I){var R,z=I[0].trace,F=[];if(z.visible)switch(z.type){case"histogram2d":case"heatmap":F=[["M-15,-2V4H15V-2Z"]],R=!0;break;case"choropleth":case"choroplethmapbox":F=[["M-6,-6V6H6V-6Z"]],R=!0;break;case"densitymapbox":F=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],R="radial";break;case"cone":F=[["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"]],R=!1;break;case"streamtube":F=[["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"]],R=!1;break;case"surface":F=[["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"]],R=!0;break;case"mesh3d":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],R=!1;break;case"volume":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],R=!0;break;case"isosurface":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],R=!1}var B=d.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(F);B.enter().append("path").classed("legend3dandfriends",!0).attr("transform",A).style("stroke-miterlimit",1),B.exit().remove(),B.each(function(N,q){var j,Y=d.select(this),U=u(z),G=U.colorscale,W=U.reversescale;if(G){if(!R){var H=G.length;j=q===0?G[W?H-1:0][1]:q===1?G[W?0:H-1][1]:G[Math.floor((H-1)/2)][1]}}else{var ne=z.vertexcolor||z.facecolor||z.color;j=i.isArrayOrTypedArray(ne)?ne[q]||ne[0]:ne}Y.attr("d",N[0]),j?Y.call(p.fill,j):Y.call(function(te){if(te.size()){var Z="legendfill-"+z.uid;g.gradient(te,y,Z,h(W,R==="radial"),G,"fill")}})})}).each(function(I){var R=I[0].trace,z=R.type==="waterfall";if(I[0]._distinct&&z){var F=I[0].trace[I[0].dir].marker;return I[0].mc=F.color,I[0].mlw=F.line.width,I[0].mlc=F.line.color,b(I,this,"waterfall")}var B=[];R.visible&&z&&(B=I[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 N=d.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(B);N.enter().append("path").classed("legendwaterfall",!0).attr("transform",A).style("stroke-miterlimit",1),N.exit().remove(),N.each(function(q){var j=d.select(this),Y=R[q[0]].marker,U=L(void 0,Y.line,5,2);j.attr("d",q[1]).style("stroke-width",U+"px").call(p.fill,Y.color),U&&j.call(p.stroke,Y.line.color)})}).each(function(I){b(I,this,"funnel")}).each(function(I){b(I,this)}).each(function(I){var R=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendbox").data(R.visible&&v.traceIs(R,"box-violin")?[I]:[]);z.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),z.exit().remove(),z.each(function(){var F=d.select(this);if(R.boxpoints!=="all"&&R.points!=="all"||p.opacity(R.fillcolor)!==0||p.opacity((R.line||{}).color)!==0){var B=L(void 0,R.line,5,2);F.style("stroke-width",B+"px").call(p.fill,R.fillcolor),B&&p.stroke(F,R.line.color)}else{var N=i.minExtend(R,{marker:{size:k?12:i.constrain(R.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});z.call(g.pointStyle,N,y)}})}).each(function(I){O(I,this,"funnelarea")}).each(function(I){O(I,this,"pie")}).each(function(I){var R,z,F=f(I),B=F.showFill,N=F.showLine,q=F.showGradientLine,j=F.showGradientFill,Y=F.anyFill,U=F.anyLine,G=I[0],W=G.trace,H=u(W),ne=H.colorscale,te=H.reversescale,Z=a.hasMarkers(W)||!Y?"M5,0":U?"M5,-2":"M5,-3",X=d.select(this),Q=X.select(".legendfill").selectAll("path").data(B||j?[I]:[]);if(Q.enter().append("path").classed("js-fill",!0),Q.exit().remove(),Q.attr("d",Z+"h"+E+"v6h-"+E+"z").call(function(oe){if(oe.size())if(B)g.fillGroupStyle(oe,y);else{var ue="legendfill-"+W.uid;g.gradient(oe,y,ue,h(te),ne,"fill")}}),N||q){var re=L(void 0,W.line,10,5);z=i.minExtend(W,{line:{width:re}}),R=[i.minExtend(G,{trace:z})]}var ie=X.select(".legendlines").selectAll("path").data(N||q?[R]:[]);ie.enter().append("path").classed("js-line",!0),ie.exit().remove(),ie.attr("d",Z+(q?"l"+E+",0.0001":"h"+E)).call(N?g.lineGroupStyle:function(oe){if(oe.size()){var ue="legendline-"+W.uid;g.lineGroupStyle(oe),g.gradient(oe,y,ue,h(te),ne,"stroke")}})}).each(function(I){var R,z,F=f(I),B=F.anyFill,N=F.anyLine,q=F.showLine,j=F.showMarker,Y=I[0],U=Y.trace,G=!j&&!N&&!B&&a.hasText(U);function W(ie,oe,ue,ce){var ye=i.nestedProperty(U,ie).get(),de=i.isArrayOrTypedArray(ye)&&oe?oe(ye):ye;if(k&&de&&ce!==void 0&&(de=ce),ue){if(deue[1])return ue[1]}return de}function H(ie){return Y._distinct&&Y.index&&ie[Y.index]?ie[Y.index]:ie[0]}if(j||G||q){var ne={},te={};if(j){ne.mc=W("marker.color",H),ne.mx=W("marker.symbol",H),ne.mo=W("marker.opacity",i.mean,[.2,1]),ne.mlc=W("marker.line.color",H),ne.mlw=W("marker.line.width",i.mean,[0,5],2),te.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Z=W("marker.size",i.mean,[2,16],12);ne.ms=Z,te.marker.size=Z}q&&(te.line={width:W("line.width",H,[0,10],5)}),G&&(ne.tx="Aa",ne.tp=W("textposition",H),ne.ts=10,ne.tc=W("textfont.color",H),ne.tf=W("textfont.family",H)),R=[i.minExtend(Y,ne)],(z=i.minExtend(U,te)).selectedpoints=null,z.texttemplate=null}var X=d.select(this).select("g.legendpoints"),Q=X.selectAll("path.scatterpts").data(j?R:[]);Q.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",A),Q.exit().remove(),Q.call(g.pointStyle,z,y),j&&(R[0].mrc=3);var re=X.selectAll("g.pointtext").data(G?R:[]);re.enter().append("g").classed("pointtext",!0).append("text").attr("transform",A),re.exit().remove(),re.selectAll("text").call(g.textPointStyle,z,y)}).each(function(I){var R=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(R.visible&&R.type==="candlestick"?[I,I]:[]);z.enter().append("path").classed("legendcandle",!0).attr("d",function(F,B){return B?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),q=R[B?"increasing":"decreasing"],j=L(void 0,q.line,5,2);N.style("stroke-width",j+"px").call(p.fill,q.fillcolor),j&&p.stroke(N,q.line.color)})}).each(function(I){var R=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(R.visible&&R.type==="ohlc"?[I,I]:[]);z.enter().append("path").classed("legendohlc",!0).attr("d",function(F,B){return B?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),q=R[B?"increasing":"decreasing"],j=L(void 0,q.line,5,2);N.style("fill","none").call(g.dashLine,q.line.dash,j),j&&p.stroke(N,q.line.color)})})}},42068:function(x,o,t){t(93348),x.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"}}},26023:function(x,o,t){var d=t(73972),v=t(74875),i=t(41675),M=t(24255),g=t(34031).eraseActiveShape,p=t(71828),u=p._,a=x.exports={};function c(w,k){var E,T,A=k.currentTarget,L=A.getAttribute("data-attr"),b=A.getAttribute("data-val")||!0,O=w._fullLayout,I={},R=i.list(w,null,!0),z=O._cartesianSpikesEnabled;if(L==="zoom"){var F,B=b==="in"?.5:2,N=(1+B)/2,q=(1-B)/2;for(T=0;T1?(Z=["toggleHover"],X=["resetViews"]):I?(te=["zoomInGeo","zoomOutGeo"],Z=["hoverClosestGeo"],X=["resetGeo"]):O?(Z=["hoverClosest3d"],X=["resetCameraDefault3d","resetCameraLastSave3d"]):N?(te=["zoomInMapbox","zoomOutMapbox"],Z=["toggleHover"],X=["resetViewMapbox"]):F?Z=["hoverClosestGl2d"]:R?Z=["hoverClosestPie"]:Y?(Z=["hoverClosestCartesian","hoverCompareCartesian"],X=["resetViewSankey"]):Z=["toggleHover"],b&&(Z=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(ye){for(var de=0;de0)){var y=function(w,k,E){for(var T=E.filter(function(O){return k[O].anchor===w._id}),A=0,L=0;L=pe.max)de=oe[me+1];else if(ye=pe.pmax)de=oe[me+1];else if(yeme._length||ke+Ve<0)return;ge=be+Ve,we=ke+Ve;break;case Pe:if(Ee="col-resize",be+Ve>me._length)return;ge=be+Ve,we=ke;break;case _e:if(Ee="col-resize",ke+Ve<0)return;ge=be,we=ke+Ve;break;default:Ee="ew-resize",ge=he,we=he+Ve}if(we=0;F--){var B=k.append("path").attr(T).style("opacity",F?.1:A).call(M.stroke,b).call(M.fill,L).call(g.dashLine,F?"solid":I,F?4+O:O);if(h(B,m,C),R){var N=p(m.layout,"selections",C);B.style({cursor:"move"});var q={element:B.node(),plotinfo:w,gd:m,editHelpers:N,isActiveSelection:!0},j=d(E,m);v(j,B,q)}else B.style("pointer-events",F?"all":"none");z[F]=B}var Y=z[0];z[1].node().addEventListener("click",function(){return function(U,G){if(s(U)){var W=+G.node().getAttribute("data-index");if(W>=0){if(W===U._fullLayout._activeSelectionIndex)return void f(U);U._fullLayout._activeSelectionIndex=W,U._fullLayout._deactivateSelection=f,c(U)}}}(m,Y)})}(m._fullLayout._selectionLayer)}function h(m,_,y){var C=y.xref+y.yref;g.setClipUrl(m,"clip"+_._fullLayout._uid+C,_)}function f(m){s(m)&&m._fullLayout._activeSelectionIndex>=0&&(i(m),delete m._fullLayout._activeSelectionIndex,c(m))}x.exports={draw:c,drawOne:l,activateLastSelection:function(m){if(s(m)){var _=m._fullLayout.selections.length-1;m._fullLayout._activeSelectionIndex=_,m._fullLayout._deactivateSelection=f,c(m)}}}},53777:function(x,o,t){var d=t(79952).P,v=t(1426).extendFlat;x.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:v({},d,{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"}}},90849:function(x){x.exports=function(o,t,d){d("newselection.mode"),d("newselection.line.width")&&(d("newselection.line.color"),d("newselection.line.dash")),d("activeselection.fillcolor"),d("activeselection.opacity")}},35855:function(x,o,t){var d=t(64505).selectMode,v=t(51873).clearOutline,i=t(60165),M=i.readPaths,g=i.writePaths,p=i.fixDatesForPaths;x.exports=function(u,a){if(u.length){var c=u[0][0];if(c){var s=c.getAttribute("d"),l=a.gd,h=l._fullLayout.newselection,f=a.plotinfo,m=f.xaxis,_=f.yaxis,y=a.isActiveSelection,C=a.dragmode,w=(l.layout||{}).selections||[];if(!d(C)&&y!==void 0){var k=l._fullLayout._activeSelectionIndex;if(k-1,Wt=[];if(function(nt){return nt&&Array.isArray(nt)&&nt[0].hoverOnBox!==!0}(Dt)){re(ze,je,Ve);var Vt=function(nt,ht){var Oe,Ne,Qe=nt[0],ut=-1,pt=[];for(Ne=0;Ne0?function(nt,ht){var Oe,Ne,Qe,ut=[];for(Qe=0;Qe0&&ut.push(Oe);if(ut.length===1&&ut[0]===ht.searchInfo&&(Ne=ht.searchInfo.cd[0].trace).selectedpoints.length===ht.pointNumbers.length){for(Qe=0;Qe1||(Ne+=ht.selectedpoints.length)>1))return!1;return Ne===1}($e)&&(Et=ye(Vt))){for(Ye&&Ye.remove(),Ft=0;Ft<$e.length;Ft++)(st=$e[Ft])._module.selectPoints(st,!1);de(je,$e),ie(Ve),Bt&&Be(je)}else{for(kt=ze.shiftKey&&(Et!==void 0?Et:ye(Vt)),ot=function(nt,ht,Oe){return{pointNumber:nt,searchInfo:ht,subtract:!!Oe}}(Vt.pointNumber,Vt.searchInfo,kt),ft=Q(Ve.selectionDefs.concat([ot])),Ft=0;Ft<$e.length;Ft++)if(bt=pe($e[Ft]._module.selectPoints($e[Ft],ft),$e[Ft]),Wt.length)for(var Ke=0;Ke=0})(Ee)&&Ee._fullLayout._deactivateShape(Ee),function(bt){return bt._fullLayout._activeSelectionIndex>=0}(Ee)&&Ee._fullLayout._deactivateSelection(Ee);var Ve=Ee._fullLayout._zoomlayer,Ye=l(ge),$e=f(ge);if(Ye||$e){var st,ot,ft=Ve.selectAll(".select-outline-"+we.id);ft&&Ee._fullLayout._outlining&&(Ye&&(st=T(ft,ze)),st&&i.call("_guiRelayout",Ee,{shapes:st}),$e&&!ne(ze)&&(ot=A(ft,ze)),ot&&(Ee._fullLayout._noEmitSelectedAtStart=!0,i.call("_guiRelayout",Ee,{selections:ot}).then(function(){je&&L(Ee)})),Ee._fullLayout._outlining=!1)}we.selection={},we.selection.selectionDefs=ze.selectionDefs=[],we.selection.mergedPolygons=ze.mergedPolygons=[]}function oe(ze){return ze._id}function ue(ze,je,ge,we){if(!ze.calcdata)return[];var Ee,Ve,Ye,$e=[],st=je.map(oe),ot=ge.map(oe);for(Ye=0;Ye0?we[0]:ge;return!!je.selectedpoints&&je.selectedpoints.indexOf(Ee)>-1}function de(ze,je,ge){var we,Ee;for(we=0;we-1&&je;if(!Ve&&je){var Tn=Ce(ze,!0);if(Tn.length){var dn=Tn[0].xref,pn=Tn[0].yref;if(dn&&pn){var Rn=be(Tn);ke([z(ze,dn,"x"),z(ze,pn,"y")])(kn,Rn)}}ze._fullLayout._noEmitSelectedAtStart?ze._fullLayout._noEmitSelectedAtStart=!1:sn&&Le(ze,kn),Et._reselect=!1}if(!Ve&&Et._deselect){var In=Et._deselect;(function(jn,Gn,Wn){for(var ur=0;ur=0)kt._fullLayout._deactivateShape(kt);else if(!ot){var pn=xt.clickmode;R.done(An).then(function(){if(R.clear(An),Tn===2){for(Xt.remove(),Qe=0;Qe-1&&te(dn,kt,we.xaxes,we.yaxes,we.subplot,we,Xt),pn==="event"&&Le(kt,void 0);p.click(kt,dn)}).catch(b.error)}},we.doneFn=function(){un.remove(),R.done(An).then(function(){R.clear(An),!Ft&&Ne&&we.selectionDefs&&(Ne.subtract=qt,we.selectionDefs.push(Ne),we.mergedPolygons.length=0,[].push.apply(we.mergedPolygons,Oe)),(Ft||ot)&&ie(we,Ft),we.doneFnCompleted&&we.doneFnCompleted(Yn),ft&&Le(kt,pt)}).catch(b.error)}},clearOutline:C,clearSelectionsCache:ie,selectOnClick:te}},89827:function(x,o,t){var d=t(50215),v=t(41940),i=t(82196).line,M=t(79952).P,g=t(1426).extendFlat,p=t(44467).templatedArray,u=(t(24695),t(5386).R),a=t(37281);x.exports=p("shape",{visible:{valType:"boolean",dflt:!0,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:g({},d.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:g({},d.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:g({},i.color,{editType:"arraydraw"}),width:g({},i.width,{editType:"calc+arraydraw"}),dash:g({},M,{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:u({},{keys:Object.keys(a)}),font:v({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"})},5627:function(x,o,t){var d=t(71828),v=t(89298),i=t(21459),M=t(30477);function g(c){return u(c.line.width,c.xsizemode,c.x0,c.x1,c.path,!1)}function p(c){return u(c.line.width,c.ysizemode,c.y0,c.y1,c.path,!0)}function u(c,s,l,h,f,m){var _=c/2,y=m;if(s==="pixel"){var C=f?M.extractPathCoords(f,m?i.paramIsY:i.paramIsX):[l,h],w=d.aggNums(Math.max,null,C),k=d.aggNums(Math.min,null,C),E=k<0?Math.abs(k)+_:_,T=w>0?w+_:_;return{ppad:_,ppadplus:y?E:T,ppadminus:y?T:E}}return{ppad:_}}function a(c,s,l,h,f){var m=c.type==="category"||c.type==="multicategory"?c.r2c:c.d2c;if(s!==void 0)return[m(s),m(l)];if(h){var _,y,C,w,k=1/0,E=-1/0,T=h.match(i.segmentRE);for(c.type==="date"&&(m=M.decodeDate(m)),_=0;_E&&(E=w)));return E>=k?[k,E]:void 0}}x.exports=function(c){var s=c._fullLayout,l=d.filterVisible(s.shapes);if(l.length&&c._fullData.length)for(var h=0;h1&&(ye.length!==2||ye[1][0]!=="Z")&&(q===0&&(ye[0][0]="M"),A[N]=ye,R(),z())}}()}}function X(oe,ue){(function(ce,ye){if(A.length)for(var de=0;deSe?(he=_e,Be="y0",be=Se,ze="y1"):(he=Se,Be="y1",be=_e,ze="y0"),Je(Ne),ht(pe,de),function(Qe,ut,pt){var _t=ut.xref,It=ut.yref,Lt=M.getFromId(pt,_t),yt=M.getFromId(pt,It),Pt="";_t==="paper"||Lt.autorange||(Pt+=_t),It==="paper"||yt.autorange||(Pt+=It),c.setClipUrl(Qe,Pt?"clip"+pt._fullLayout._uid+Pt:null,pt)}(ye,de,ce),Ke.moveFn=Ee==="move"?We:nt,Ke.altKey=Ne.altKey)},doneFn:function(){E(ce)||(h(ye),Oe(pe),L(ye,ce,de),v.call("_guiRelayout",ce,xe.getUpdateObj()))},clickFn:function(){E(ce)||Oe(pe)}};function Je(Ne){if(E(ce))Ee=null;else if($e)Ee=Ne.target.tagName==="path"?"move":Ne.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Qe=Ke.element.getBoundingClientRect(),ut=Qe.right-Qe.left,pt=Qe.bottom-Qe.top,_t=Ne.clientX-Qe.left,It=Ne.clientY-Qe.top,Lt=!st&&ut>10&&pt>10&&!Ne.shiftKey?l.getCursor(_t/ut,1-It/pt):"move";h(ye,Lt),Ee=Lt.split("-")[0]}}function We(Ne,Qe){if(de.type==="path"){var ut=function(It){return It},pt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(pt=function(It){return Bt(Ft(It)+Ne)},bt&&bt.type==="date"&&(pt=_.encodeDate(pt))),Ye?ot("yanchor",de.yanchor=Wt(ae+Qe)):(_t=function(It){return Wt(Dt(It)+Qe)},kt&&kt.type==="date"&&(_t=_.encodeDate(_t))),ot("path",de.path=O(we,pt,_t))}else Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(ot("x0",de.x0=Bt(Pe+Ne)),ot("x1",de.x1=Bt(Me+Ne))),Ye?ot("yanchor",de.yanchor=Wt(ae+Qe)):(ot("y0",de.y0=Wt(_e+Qe)),ot("y1",de.y1=Wt(Se+Qe)));ye.attr("d",y(ce,de)),ht(pe,de),b(ce,me,de,ft)}function nt(Ne,Qe){if(st){var ut=function(un){return un},pt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(pt=function(un){return Bt(Ft(un)+Ne)},bt&&bt.type==="date"&&(pt=_.encodeDate(pt))),Ye?ot("yanchor",de.yanchor=Wt(ae+Qe)):(_t=function(un){return Wt(Dt(un)+Qe)},kt&&kt.type==="date"&&(_t=_.encodeDate(_t))),ot("path",de.path=O(we,pt,_t))}else if($e){if(Ee==="resize-over-start-point"){var It=Pe+Ne,Lt=Ye?_e-Qe:_e+Qe;ot("x0",de.x0=Ve?It:Bt(It)),ot("y0",de.y0=Ye?Lt:Wt(Lt))}else if(Ee==="resize-over-end-point"){var yt=Me+Ne,Pt=Ye?Se-Qe:Se+Qe;ot("x1",de.x1=Ve?yt:Bt(yt)),ot("y1",de.y1=Ye?Pt:Wt(Pt))}}else{var wt=function(un){return Ee.indexOf(un)!==-1},Ot=wt("n"),Nt=wt("s"),$t=wt("w"),qt=wt("e"),Xt=Ot?he+Qe:he,Qt=Nt?be+Qe:be,rn=$t?ke+Ne:ke,xn=qt?Le+Ne:Le;Ye&&(Ot&&(Xt=he-Qe),Nt&&(Qt=be-Qe)),(!Ye&&Qt-Xt>10||Ye&&Xt-Qt>10)&&(ot(Be,de[Be]=Ye?Xt:Wt(Xt)),ot(ze,de[ze]=Ye?Qt:Wt(Qt))),xn-rn>10&&(ot(je,de[je]=Ve?rn:Bt(rn)),ot(ge,de[ge]=Ve?xn:Bt(xn)))}ye.attr("d",y(ce,de)),ht(pe,de),b(ce,me,de,ft)}function ht(Ne,Qe){(Ve||Ye)&&function(){var ut=Qe.type!=="path",pt=Ne.selectAll(".visual-cue").data([0]);pt.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var _t=Ft(Ve?Qe.xanchor:i.midRange(ut?[Qe.x0,Qe.x1]:_.extractPathCoords(Qe.path,m.paramIsX))),It=Dt(Ye?Qe.yanchor:i.midRange(ut?[Qe.y0,Qe.y1]:_.extractPathCoords(Qe.path,m.paramIsY)));if(_t=_.roundPositionForSharpStrokeRendering(_t,1),It=_.roundPositionForSharpStrokeRendering(It,1),Ve&&Ye){var Lt="M"+(_t-1-1)+","+(It-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";pt.attr("d",Lt)}else if(Ve){var yt="M"+(_t-1-1)+","+(It-9-1)+"v18 h2 v-18 Z";pt.attr("d",yt)}else{var Pt="M"+(_t-9-1)+","+(It-1-1)+"h18 v2 h-18 Z";pt.attr("d",Pt)}}()}function Oe(Ne){Ne.selectAll(".visual-cue").remove()}l.init(Ke),Vt.node().onmousemove=Je}(R,ie,B,z,j,Q):B.editable===!0&&ie.style("pointer-events",Z||a.opacity(W)*G<=.5?"stroke":"all");ie.node().addEventListener("click",function(){return function(ce,ye){if(T(ce)){var de=+ye.node().getAttribute("data-index");if(de>=0){if(de===ce._fullLayout._activeShapeIndex)return void I(ce);ce._fullLayout._activeShapeIndex=de,ce._fullLayout._deactivateShape=I,k(ce)}}}(R,ie)})}B._input&&B.visible!==!1&&(B.layer!=="below"?q(R._fullLayout._shapeUpperLayer):B.xref==="paper"||B.yref==="paper"?q(R._fullLayout._shapeLowerLayer):N._hadPlotinfo?q((N.mainplotinfo||N).shapelayer):q(R._fullLayout._shapeLowerLayer))}function L(R,z,F){var B=(F.xref+F.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");c.setClipUrl(R,B?"clip"+z._fullLayout._uid+B:null,z)}function b(R,z,F,B){if(B.selectAll(".shape-label").remove(),F.label.text||F.label.texttemplate){var N;if(F.label.texttemplate){var q={};if(F.type!=="path"){var j=M.getFromId(R,F.xref),Y=M.getFromId(R,F.yref);for(var U in C){var G=C[U](F,j,Y);G!==void 0&&(q[U]=G)}}N=i.texttemplateStringForShapes(F.label.texttemplate,{},R._fullLayout._d3locale,q)}else N=F.label.text;var W,H,ne,te,Z={"data-index":z},X=F.label.font,Q=B.append("g").attr(Z).classed("shape-label",!0).append("text").attr({"data-notex":1}).classed("shape-label-text",!0).text(N);if(F.path){var re=y(R,F),ie=g(re,R);W=1/0,ne=1/0,H=-1/0,te=-1/0;for(var oe=0;oe=Le?Be-je:je-Be,-180/Math.PI*Math.atan2(ge,we)}(W,ne,H,te):0),Q.call(function(Le){return Le.call(c.font,X).attr({}),f.convertToTspans(Le,R),Le});var ae=function(Le,Be,ze,je,ge,we,Ee){var Ve,Ye,$e,st,ot=ge.label.textposition,ft=ge.label.textangle,bt=ge.label.padding,Et=ge.type,kt=Math.PI/180*we,xt=Math.sin(kt),Ft=Math.cos(kt),Dt=ge.label.xanchor,Bt=ge.label.yanchor;if(Et==="line"){ot==="start"?(Ve=Le,Ye=Be):ot==="end"?(Ve=ze,Ye=je):(Ve=(Le+ze)/2,Ye=(Be+je)/2),Dt==="auto"&&(Dt=ot==="start"?ft==="auto"?ze>Le?"left":zeLe?"right":zeLe?"right":zeLe?"left":ze=U||(j[N]?G=z(G):Y[N]&&(G=F(G)),N++),G})})}function I(R){T(R)&&R._fullLayout._activeShapeIndex>=0&&(u(R),delete R._fullLayout._activeShapeIndex,k(R))}x.exports={draw:k,drawOne:A,eraseActiveShape:function(R){if(T(R)){u(R);var z=R._fullLayout._activeShapeIndex,F=(R.layout||{}).shapes||[];if(z0&&EZ&&(Q="X"),Q});return W>Z&&(X=X.replace(/[\s,]*X.*/,""),v.log("Ignoring extra params in segment "+G)),H+X})}(g,u,c);if(g.xsizemode==="pixel"){var E=u(g.xanchor);s=E+g.x0,l=E+g.x1}else s=u(g.x0),l=u(g.x1);if(g.ysizemode==="pixel"){var T=c(g.yanchor);h=T-g.y0,f=T-g.y1}else h=c(g.y0),f=c(g.y1);if(m==="line")return"M"+s+","+h+"L"+l+","+f;if(m==="rect")return"M"+s+","+h+"H"+l+"V"+f+"H"+s+"Z";var A=(s+l)/2,L=(h+f)/2,b=Math.abs(A-s),O=Math.abs(L-h),I="A"+b+","+O,R=A+b+","+L;return"M"+R+I+" 0 1,1 "+A+","+(L-O)+I+" 0 0,1 "+R+"Z"}},89853:function(x,o,t){var d=t(34031);x.exports={moduleType:"component",name:"shapes",layoutAttributes:t(89827),supplyLayoutDefaults:t(84726),supplyDrawNewShapeDefaults:t(45547),includeBasePlot:t(76325)("shapes"),calcAutorange:t(5627),draw:d.draw,drawOne:d.drawOne}},37281:function(x){function o(i,M){return M?M.d2l(i):i}function t(i,M){return M?M.l2d(i):i}function d(i,M){return o(i.x1,M)-o(i.x0,M)}function v(i,M,g){return o(i.y1,g)-o(i.y0,g)}x.exports={x0:function(i){return i.x0},x1:function(i){return i.x1},y0:function(i){return i.y0},y1:function(i){return i.y1},slope:function(i,M,g){return i.type!=="line"?void 0:v(i,0,g)/d(i,M)},dx:d,dy:v,width:function(i,M){return Math.abs(d(i,M))},height:function(i,M,g){return Math.abs(v(i,0,g))},length:function(i,M,g){return i.type!=="line"?void 0:Math.sqrt(Math.pow(d(i,M),2)+Math.pow(v(i,0,g),2))},xcenter:function(i,M){return t((o(i.x1,M)+o(i.x0,M))/2,M)},ycenter:function(i,M,g){return t((o(i.y1,g)+o(i.y0,g))/2,g)}}},75067:function(x,o,t){var d=t(41940),v=t(35025),i=t(1426).extendDeepAll,M=t(30962).overrideAll,g=t(85594),p=t(44467).templatedArray,u=t(98292),a=p("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}});x.exports=M(p("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:a,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:i(v({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:g.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:d({})},font:d({}),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")},98292:function(x){x.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}},12343:function(x,o,t){var d=t(71828),v=t(85501),i=t(75067),M=t(98292).name,g=i.steps;function p(a,c,s){function l(y,C){return d.coerce(a,c,i,y,C)}for(var h=v(a,c,{name:"steps",handleItemDefaults:u}),f=0,m=0;m0&&(W=W.transition().duration(N.transition.duration).ease(N.transition.easing)),W.attr("transform",p(G-.5*c.gripWidth,N._dims.currentValueTotalHeight))}}function I(B,N){var q=B._dims;return q.inputAreaStart+c.stepInset+(q.inputAreaLength-2*c.stepInset)*Math.min(1,Math.max(0,N))}function R(B,N){var q=B._dims;return Math.min(1,Math.max(0,(N-c.stepInset-q.inputAreaStart)/(q.inputAreaLength-2*c.stepInset-2*q.inputAreaStart)))}function z(B,N,q){var j=q._dims,Y=g.ensureSingle(B,"rect",c.railTouchRectClass,function(U){U.call(L,N,B,q).style("pointer-events","all")});Y.attr({width:j.inputAreaLength,height:Math.max(j.inputAreaWidth,c.tickOffset+q.ticklen+j.labelHeight)}).call(i.fill,q.bgcolor).attr("opacity",0),M.setTranslate(Y,0,j.currentValueTotalHeight)}function F(B,N){var q=N._dims,j=q.inputAreaLength-2*c.railInset,Y=g.ensureSingle(B,"rect",c.railRectClass);Y.attr({width:j,height:c.railWidth,rx:c.railRadius,ry:c.railRadius,"shape-rendering":"crispEdges"}).call(i.stroke,N.bordercolor).call(i.fill,N.bgcolor).style("stroke-width",N.borderwidth+"px"),M.setTranslate(Y,c.railInset,.5*(q.inputAreaWidth-c.railWidth)+q.currentValueTotalHeight)}x.exports=function(B){var N=B._context.staticPlot,q=B._fullLayout,j=function(ne,te){for(var Z=ne[c.name],X=[],Q=0;Q0?[0]:[]);function U(ne){ne._commandObserver&&(ne._commandObserver.remove(),delete ne._commandObserver),v.autoMargin(B,m(ne))}if(Y.enter().append("g").classed(c.containerClassName,!0).style("cursor",N?null:"ew-resize"),Y.exit().each(function(){d.select(this).selectAll("g."+c.groupClassName).each(U)}).remove(),j.length!==0){var G=Y.selectAll("g."+c.groupClassName).data(j,_);G.enter().append("g").classed(c.groupClassName,!0),G.exit().each(U).remove();for(var W=0;W0||xe<0){var Se={left:[-Pe,0],right:[Pe,0],top:[0,-Pe],bottom:[0,Pe]}[T.side];X.attr("transform",p(Se[0],Se[1]))}}}return W.call(H),Y&&(F?W.on(".opacity",null):(I=0,R=!0,W.text(k).on("mouseover.opacity",function(){d.select(this).transition().duration(s.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){d.select(this).transition().duration(s.HIDE_PLACEHOLDER).style("opacity",0)})),W.call(c.makeEditable,{gd:f}).on("edit",function(Z){E!==void 0?M.call("_guiRestyle",f,w,Z,E):M.call("_guiRelayout",f,w,Z)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(H)}).on("input",function(Z){this.text(Z||" ").call(c.positionText,A.x,A.y)})),W.classed("js-placeholder",R),b}}},7163:function(x,o,t){var d=t(41940),v=t(22399),i=t(1426).extendFlat,M=t(30962).overrideAll,g=t(35025),p=t(44467).templatedArray,u=p("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}});x.exports=M(p("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:i(g({editType:"arraydraw"}),{}),font:d({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:v.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(x){x.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:"▼"}}},64897:function(x,o,t){var d=t(71828),v=t(85501),i=t(7163),M=t(75909).name,g=i.buttons;function p(a,c,s){function l(h,f){return d.coerce(a,c,i,h,f)}l("visible",v(a,c,{name:"buttons",handleItemDefaults:u}).length>0)&&(l("active"),l("direction"),l("type"),l("showactive"),l("x"),l("y"),d.noneOrAll(a,c,["x","y"]),l("xanchor"),l("yanchor"),l("pad.t"),l("pad.r"),l("pad.b"),l("pad.l"),d.coerceFont(l,"font",s.font),l("bgcolor",s.paper_bgcolor),l("bordercolor"),l("borderwidth"))}function u(a,c){function s(l,h){return d.coerce(a,c,g,l,h)}s("visible",a.method==="skip"||Array.isArray(a.args))&&(s("method"),s("args"),s("args2"),s("label"),s("execute"))}x.exports=function(a,c){v(a,c,{name:M,handleItemDefaults:p})}},13689:function(x,o,t){var d=t(39898),v=t(74875),i=t(7901),M=t(91424),g=t(71828),p=t(63893),u=t(44467).arrayEditor,a=t(18783).LINE_SPACING,c=t(75909),s=t(25849);function l(I){return I._index}function h(I,R){return+I.attr(c.menuIndexAttrName)===R._index}function f(I,R,z,F,B,N,q,j){R.active=q,u(I.layout,c.name,R).applyUpdate("active",q),R.type==="buttons"?_(I,F,null,null,R):R.type==="dropdown"&&(B.attr(c.menuIndexAttrName,"-1"),m(I,F,B,N,R),j||_(I,F,B,N,R))}function m(I,R,z,F,B){var N=g.ensureSingle(R,"g",c.headerClassName,function(W){W.style("pointer-events","all")}),q=B._dims,j=B.active,Y=B.buttons[j]||c.blankHeaderOpts,U={y:B.pad.t,yPad:0,x:B.pad.l,xPad:0,index:0},G={width:q.headerWidth,height:q.headerHeight};N.call(y,B,Y,I).call(b,B,U,G),g.ensureSingle(R,"text",c.headerArrowClassName,function(W){W.attr("text-anchor","end").call(M.font,B.font).text(c.arrowSymbol[B.direction])}).attr({x:q.headerWidth-c.arrowOffsetX+B.pad.l,y:q.headerHeight/2+c.textOffsetY+B.pad.t}),N.on("click",function(){z.call(O,String(h(z,B)?-1:B._index)),_(I,R,z,F,B)}),N.on("mouseover",function(){N.call(E)}),N.on("mouseout",function(){N.call(T,B)}),M.setTranslate(R,q.lx,q.ly)}function _(I,R,z,F,B){z||(z=R).attr("pointer-events","all");var N=function(X){return+X.attr(c.menuIndexAttrName)==-1}(z)&&B.type!=="buttons"?[]:B.buttons,q=B.type==="dropdown"?c.dropdownButtonClassName:c.buttonClassName,j=z.selectAll("g."+q).data(g.filterVisible(N)),Y=j.enter().append("g").classed(q,!0),U=j.exit();B.type==="dropdown"?(Y.attr("opacity","0").transition().attr("opacity","1"),U.transition().attr("opacity","0").remove()):U.remove();var G=0,W=0,H=B._dims,ne=["up","down"].indexOf(B.direction)!==-1;B.type==="dropdown"&&(ne?W=H.headerHeight+c.gapButtonHeader:G=H.headerWidth+c.gapButtonHeader),B.type==="dropdown"&&B.direction==="up"&&(W=-c.gapButtonHeader+c.gapButton-H.openHeight),B.type==="dropdown"&&B.direction==="left"&&(G=-c.gapButtonHeader+c.gapButton-H.openWidth);var te={x:H.lx+G+B.pad.l,y:H.ly+W+B.pad.t,yPad:c.gapButton,xPad:c.gapButton,index:0},Z={l:te.x+B.borderwidth,t:te.y+B.borderwidth};j.each(function(X,Q){var re=d.select(this);re.call(y,B,X,I).call(b,B,te),re.on("click",function(){d.event.defaultPrevented||(X.execute&&(X.args2&&B.active===Q?(f(I,B,0,R,z,F,-1),v.executeAPICommand(I,X.method,X.args2)):(f(I,B,0,R,z,F,Q),v.executeAPICommand(I,X.method,X.args))),I.emit("plotly_buttonclicked",{menu:B,button:X,active:B.active}))}),re.on("mouseover",function(){re.call(E)}),re.on("mouseout",function(){re.call(T,B),j.call(k,B)})}),j.call(k,B),ne?(Z.w=Math.max(H.openWidth,H.headerWidth),Z.h=te.y-Z.t):(Z.w=te.x-Z.l,Z.h=Math.max(H.openHeight,H.headerHeight)),Z.direction=B.direction,F&&(j.size()?function(X,Q,re,ie,oe,ue){var ce,ye,de,me=oe.direction,pe=me==="up"||me==="down",xe=oe._dims,Pe=oe.active;if(pe)for(ye=0,de=0;de0?[0]:[]);if(B.enter().append("g").classed(c.containerClassName,!0).style("cursor","pointer"),B.exit().each(function(){d.select(this).selectAll("g."+c.headerGroupClassName).each(F)}).remove(),z.length!==0){var N=B.selectAll("g."+c.headerGroupClassName).data(z,l);N.enter().append("g").classed(c.headerGroupClassName,!0);for(var q=g.ensureSingle(B,"g",c.dropdownButtonGroupClassName,function(W){W.style("pointer-events","all")}),j=0;jb,R=g.barLength+2*g.barPad,z=g.barWidth+2*g.barPad,F=y,B=w+k;B+z>l&&(B=l-z);var N=this.container.selectAll("rect.scrollbar-horizontal").data(I?[0]:[]);N.exit().on(".drag",null).remove(),N.enter().append("rect").classed("scrollbar-horizontal",!0).call(v.fill,g.barColor),I?(this.hbar=N.attr({rx:g.barRadius,ry:g.barRadius,x:F,y:B,width:R,height:z}),this._hbarXMin=F+R/2,this._hbarTranslateMax=b-R):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var q=k>O,j=g.barWidth+2*g.barPad,Y=g.barLength+2*g.barPad,U=y+C,G=w;U+j>s&&(U=s-j);var W=this.container.selectAll("rect.scrollbar-vertical").data(q?[0]:[]);W.exit().on(".drag",null).remove(),W.enter().append("rect").classed("scrollbar-vertical",!0).call(v.fill,g.barColor),q?(this.vbar=W.attr({rx:g.barRadius,ry:g.barRadius,x:U,y:G,width:j,height:Y}),this._vbarYMin=G+Y/2,this._vbarTranslateMax=O-Y):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var H=this.id,ne=h-.5,te=q?f+j+.5:f+.5,Z=m-.5,X=I?_+z+.5:_+.5,Q=c._topdefs.selectAll("#"+H).data(I||q?[0]:[]);if(Q.exit().remove(),Q.enter().append("clipPath").attr("id",H).append("rect"),I||q?(this._clipRect=Q.select("rect").attr({x:Math.floor(ne),y:Math.floor(Z),width:Math.ceil(te)-Math.floor(ne),height:Math.ceil(X)-Math.floor(Z)}),this.container.call(i.setClipUrl,H,this.gd),this.bg.attr({x:y,y:w,width:C,height:k})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),I||q){var re=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var ie=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault(),d.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));I&&this.hbar.on(".drag",null).call(ie),q&&this.vbar.on(".drag",null).call(ie)}this.setTranslate(u,a)},g.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.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)},g.prototype._onBoxDrag=function(){var p=this.translateX,u=this.translateY;this.hbar&&(p-=d.event.dx),this.vbar&&(u-=d.event.dy),this.setTranslate(p,u)},g.prototype._onBoxWheel=function(){var p=this.translateX,u=this.translateY;this.hbar&&(p+=d.event.deltaY),this.vbar&&(u+=d.event.deltaY),this.setTranslate(p,u)},g.prototype._onBarDrag=function(){var p=this.translateX,u=this.translateY;if(this.hbar){var a=p+this._hbarXMin,c=a+this._hbarTranslateMax;p=(M.constrain(d.event.x,a,c)-a)/(c-a)*(this.position.w-this._box.w)}if(this.vbar){var s=u+this._vbarYMin,l=s+this._vbarTranslateMax;u=(M.constrain(d.event.y,s,l)-s)/(l-s)*(this.position.h-this._box.h)}this.setTranslate(p,u)},g.prototype.setTranslate=function(p,u){var a=this.position.w-this._box.w,c=this.position.h-this._box.h;if(p=M.constrain(p||0,0,a),u=M.constrain(u||0,0,c),this.translateX=p,this.translateY=u,this.container.call(i.setTranslate,this._box.l-this.position.l-p,this._box.t-this.position.t-u),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+p-.5),y:Math.floor(this.position.t+u-.5)}),this.hbar){var s=p/a;this.hbar.call(i.setTranslate,p+s*this._hbarTranslateMax,u)}if(this.vbar){var l=u/c;this.vbar.call(i.setTranslate,p,u+l*this._vbarTranslateMax)}}},18783:function(x){x.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"}}},24695:function(x){x.exports={axisRefDescription:function(o,t,d){return["If set to a",o,"axis id (e.g. *"+o+"* or","*"+o+"2*), the `"+o+"` position refers to a",o,"coordinate. If set to *paper*, the `"+o+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+d+"). If set to a",o,"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",t,"of the domain of that axis: e.g.,","*"+o+"2 domain* refers to the domain of the second",o," axis and a",o,"position of 0.5 refers to the","point between the",t,"and the",d,"of the domain of the","second",o,"axis."].join(" ")}}},22372:function(x){x.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},31562:function(x){x.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"}},74808:function(x){x.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(x){x.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]}},87381:function(x){x.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},37822:function(x){x.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(x){x.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:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},77922:function(x,o){o.xmlns="http://www.w3.org/2000/xmlns/",o.svg="http://www.w3.org/2000/svg",o.xlink="http://www.w3.org/1999/xlink",o.svgAttrs={xmlns:o.svg,"xmlns:xlink":o.xlink}},8729:function(x,o,t){o.version=t(11506).version,t(7417),t(98847);for(var d=t(73972),v=o.register=d.register,i=t(10641),M=Object.keys(i),g=0;g",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(x,o){o.isLeftAnchor=function(t){return t.xanchor==="left"||t.xanchor==="auto"&&t.x<=.3333333333333333},o.isCenterAnchor=function(t){return t.xanchor==="center"||t.xanchor==="auto"&&t.x>.3333333333333333&&t.x<.6666666666666666},o.isRightAnchor=function(t){return t.xanchor==="right"||t.xanchor==="auto"&&t.x>=.6666666666666666},o.isTopAnchor=function(t){return t.yanchor==="top"||t.yanchor==="auto"&&t.y>=.6666666666666666},o.isMiddleAnchor=function(t){return t.yanchor==="middle"||t.yanchor==="auto"&&t.y>.3333333333333333&&t.y<.6666666666666666},o.isBottomAnchor=function(t){return t.yanchor==="bottom"||t.yanchor==="auto"&&t.y<=.3333333333333333}},26348:function(x,o,t){var d=t(64872),v=d.mod,i=d.modHalf,M=Math.PI,g=2*M;function p(s){return Math.abs(s[1]-s[0])>g-1e-14}function u(s,l){return i(l-s,g)}function a(s,l){if(p(l))return!0;var h,f;l[0](f=v(f,g))&&(f+=g);var m=v(s,g),_=m+g;return m>=h&&m<=f||_>=h&&_<=f}function c(s,l,h,f,m,_,y){m=m||0,_=_||0;var C,w,k,E,T,A=p([h,f]);function L(R,z){return[R*Math.cos(z)+m,_-R*Math.sin(z)]}A?(C=0,w=M,k=g):h=m&&s<=_);var m,_},pathArc:function(s,l,h,f,m){return c(null,s,l,h,f,m,0)},pathSector:function(s,l,h,f,m){return c(null,s,l,h,f,m,1)},pathAnnulus:function(s,l,h,f,m,_){return c(s,l,h,f,m,_,1)}}},73627:function(x,o){var t=Array.isArray,d=ArrayBuffer,v=DataView;function i(p){return d.isView(p)&&!(p instanceof v)}function M(p){return t(p)||i(p)}function g(p,u,a){if(M(p)){if(M(p[0])){for(var c=a,s=0;s_.max?f.set(m):f.set(+h)}},integer:{coerceFunction:function(h,f,m,_){h%1||!d(h)||_.min!==void 0&&h<_.min||_.max!==void 0&&h>_.max?f.set(m):f.set(+h)}},string:{coerceFunction:function(h,f,m,_){if(typeof h!="string"){var y=typeof h=="number";_.strict!==!0&&y?f.set(String(h)):f.set(m)}else _.noBlank&&!h?f.set(m):f.set(h)}},color:{coerceFunction:function(h,f,m){v(h).isValid()?f.set(h):f.set(m)}},colorlist:{coerceFunction:function(h,f,m){Array.isArray(h)&&h.length&&h.every(function(_){return v(_).isValid()})?f.set(h):f.set(m)}},colorscale:{coerceFunction:function(h,f,m){f.set(M.get(h,m))}},angle:{coerceFunction:function(h,f,m){h==="auto"?f.set("auto"):d(h)?f.set(c(+h,360)):f.set(m)}},subplotid:{coerceFunction:function(h,f,m,_){var y=_.regex||a(m);typeof h=="string"&&y.test(h)?f.set(h):f.set(m)},validateFunction:function(h,f){var m=f.dflt;return h===m||typeof h=="string"&&!!a(m).test(h)}},flaglist:{coerceFunction:function(h,f,m,_){if((_.extras||[]).indexOf(h)===-1)if(typeof h=="string"){for(var y=h.split("+"),C=0;C=d&&N<=v?N:a}if(typeof N!="string"&&typeof N!="number")return a;N=String(N);var G=k(q),W=N.charAt(0);!G||W!=="G"&&W!=="g"||(N=N.substr(1),q="");var H=G&&q.substr(0,7)==="chinese",ne=N.match(H?C:y);if(!ne)return a;var te=ne[1],Z=ne[3]||"1",X=Number(ne[5]||1),Q=Number(ne[7]||0),re=Number(ne[9]||0),ie=Number(ne[11]||0);if(G){if(te.length===2)return a;var oe;te=Number(te);try{var ue=m.getComponentMethod("calendars","getCal")(q);if(H){var ce=Z.charAt(Z.length-1)==="i";Z=parseInt(Z,10),oe=ue.newDate(te,ue.toMonthIndex(te,Z,ce),X)}else oe=ue.newDate(te,Number(Z),X)}catch{return a}return oe?(oe.toJD()-f)*c+Q*s+re*l+ie*h:a}te=te.length===2?(Number(te)+2e3-w)%100+w:Number(te),Z-=1;var ye=new Date(Date.UTC(2e3,Z,X,Q,re));return ye.setUTCFullYear(te),ye.getUTCMonth()!==Z||ye.getUTCDate()!==X?a:ye.getTime()+ie*h},d=o.MIN_MS=o.dateTime2ms("-9999"),v=o.MAX_MS=o.dateTime2ms("9999-12-31 23:59:59.9999"),o.isDateTime=function(N,q){return o.dateTime2ms(N,q)!==a};var T=90*c,A=3*s,L=5*l;function b(N,q,j,Y,U){if((q||j||Y||U)&&(N+=" "+E(q,2)+":"+E(j,2),(Y||U)&&(N+=":"+E(Y,2),U))){for(var G=4;U%10==0;)G-=1,U/=10;N+="."+E(U,G)}return N}o.ms2DateTime=function(N,q,j){if(typeof N!="number"||!(N>=d&&N<=v))return a;q||(q=0);var Y,U,G,W,H,ne,te=Math.floor(10*p(N+.05,1)),Z=Math.round(N-te/10);if(k(j)){var X=Math.floor(Z/c)+f,Q=Math.floor(p(N,c));try{Y=m.getComponentMethod("calendars","getCal")(j).fromJD(X).formatDate("yyyy-mm-dd")}catch{Y=_("G%Y-%m-%d")(new Date(Z))}if(Y.charAt(0)==="-")for(;Y.length<11;)Y="-0"+Y.substr(1);else for(;Y.length<10;)Y="0"+Y;U=q=d+c&&N<=v-c))return a;var q=Math.floor(10*p(N+.05,1)),j=new Date(Math.round(N-q/10));return b(i("%Y-%m-%d")(j),j.getHours(),j.getMinutes(),j.getSeconds(),10*j.getUTCMilliseconds()+q)},o.cleanDate=function(N,q,j){if(N===a)return q;if(o.isJSDate(N)||typeof N=="number"&&isFinite(N)){if(k(j))return g.error("JS Dates and milliseconds are incompatible with world calendars",N),q;if(!(N=o.ms2DateTimeLocal(+N))&&q!==void 0)return q}else if(!o.isDateTime(N,j))return g.error("unrecognized date",N),q;return N};var O=/%\d?f/g,I=/%h/g,R={1:"1",2:"1",3:"2",4:"2"};function z(N,q,j,Y){N=N.replace(O,function(G){var W=Math.min(+G.charAt(1)||6,6);return(q/1e3%1+2).toFixed(W).substr(2).replace(/0+$/,"")||"0"});var U=new Date(Math.floor(q+.05));if(N=N.replace(I,function(){return R[j("%q")(U)]}),k(Y))try{N=m.getComponentMethod("calendars","worldCalFmt")(N,q,Y)}catch{return"Invalid"}return j(N)(U)}var F=[59,59.9,59.99,59.999,59.9999];o.formatDate=function(N,q,j,Y,U,G){if(U=k(U)&&U,!q)if(j==="y")q=G.year;else if(j==="m")q=G.month;else{if(j!=="d")return function(W,H){var ne=p(W+.05,c),te=E(Math.floor(ne/s),2)+":"+E(p(Math.floor(ne/l),60),2);if(H!=="M"){M(H)||(H=0);var Z=(100+Math.min(p(W/h,60),F[H])).toFixed(H).substr(1);H>0&&(Z=Z.replace(/0+$/,"").replace(/[\.]$/,"")),te+=":"+Z}return te}(N,j)+` `+z(G.dayMonthYear,N,Y,U);q=G.dayMonth+` -`+G.year}return z(q,N,Y,U)};var B=3*c;o.incrementMonth=function(N,q,j){j=k(j)&&j;var Y=p(N,c);if(N=Math.round(N-Y),j)try{var U=Math.round(N/c)+f,G=m.getComponentMethod("calendars","getCal")(j),W=G.fromJD(U);return q%12?G.add(W,q,"m"):G.add(W,q/12,"y"),(W.toJD()-f)*c+Y}catch{v.error("invalid ms "+N+" in calendar "+j)}var H=new Date(N+B);return H.setUTCMonth(H.getUTCMonth()+q)+Y-B},o.findExactDates=function(N,q){for(var j,Y,U=0,G=0,W=0,H=0,ne=k(q)&&m.getComponentMethod("calendars","getCal")(q),te=0;te0&&b[O+1][0]<0)return O;return null}switch(_=T==="RUS"||T==="FJI"?function(b){var O;if(L(b)===null)O=b;else for(O=new Array(b.length),w=0;wO?I[R++]=[b[w][0]+360,b[w][1]]:w===O?(I[R++]=b[w],I[R++]=[b[w][0],-90]):I[R++]=b[w];var z=s.tester(I);z.pts.pop(),A.push(z)}:function(b){A.push(s.tester(b))},k.type){case"MultiPolygon":for(y=0;yj&&(j=G,B=U)}else B=N;return M.default(B).geometry.coordinates}(z),I.fIn=b,I.fOut=z,k.push(z)}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 w[O]}switch(y.type){case"FeatureCollection":var A=y.features;for(C=0;C100?(clearInterval(O),L("Unexpected error while fetching from "+T)):void b++},50)})}for(var k=0;k0&&(M.push(v),v=[])}return v.length>0&&M.push(v),M},o.makeLine=function(g){return g.length===1?{type:"LineString",coordinates:g[0]}:{type:"MultiLineString",coordinates:g}},o.makePolygon=function(g){if(g.length===1)return{type:"Polygon",coordinates:g};for(var i=new Array(g.length),M=0;M1||A<0||A>1?null:{x:u+_*A,y:a+w*A}}function p(u,a,c,s,l){var h=s*u+l*a;if(h<0)return s*s+l*l;if(h>c){var f=s-u,m=l-a;return f*f+m*m}var _=s*a-l*u;return _*_/c}o.segmentsIntersect=v,o.segmentDistance=function(u,a,c,s,l,h,f,m){if(v(u,a,c,s,l,h,f,m))return 0;var _=c-u,y=s-a,C=f-l,w=m-h,k=_*_+y*y,E=C*C+w*w,T=Math.min(p(_,y,k,l-u,h-a),p(_,y,k,f-u,m-a),p(C,w,E,u-l,a-h),p(C,w,E,c-l,s-h));return Math.sqrt(T)},o.getTextLocation=function(u,a,c,s){if(u===g&&s===i||(d={},g=u,i=s),d[c])return d[c];var l=u.getPointAtLength(M(c-s/2,a)),h=u.getPointAtLength(M(c+s/2,a)),f=Math.atan((h.y-l.y)/(h.x-l.x)),m=u.getPointAtLength(M(c,a)),_={x:(4*m.x+l.x+h.x)/6,y:(4*m.y+l.y+h.y)/6,theta:f};return d[c]=_,_},o.clearLocationCache=function(){g=null},o.getVisibleSegment=function(u,a,c){var s,l,h=a.left,f=a.right,m=a.top,_=a.bottom,y=0,C=u.getTotalLength(),w=C;function k(T){var A=u.getPointAtLength(T);T===0?s=A:T===C&&(l=A);var L=A.xf?A.x-f:0,b=A.y_?A.y-_:0;return Math.sqrt(L*L+b*b)}for(var E=k(y);E;){if((y+=E+c)>w)return;E=k(y)}for(E=k(w);E;){if(y>(w-=E+c))return;E=k(w)}return{min:y,max:w,len:w-y,total:C,isClosed:y===0&&w===C&&Math.abs(s.x-l.x)<.1&&Math.abs(s.y-l.y)<.1}},o.findPointOnPath=function(u,a,c,s){for(var l,h,f,m=(s=s||{}).pathLength||u.getTotalLength(),_=s.tolerance||.001,y=s.iterationLimit||30,C=u.getPointAtLength(0)[c]>u.getPointAtLength(m)[c]?-1:1,w=0,k=0,E=m;w0?E=l:k=l,w++}return h}},81697:function(x,o,t){var d=t(92770),g=t(84267),i=t(25075),M=t(21081),v=t(22399).defaultLine,p=t(73627).isArrayOrTypedArray,u=i(v);function a(l,h){var f=l;return f[3]*=h,f}function c(l){if(d(l))return u;var h=i(l);return h.length?h:u}function s(l){return d(l)?l:1}x.exports={formatColor:function(l,h,f){var m,_,y,C,w,k=l.color,E=p(k),T=p(h),A=M.extractOpts(l),L=[];if(m=A.colorscale!==void 0?M.makeColorScaleFuncFromTrace(l):c,_=E?function(O,I){return O[I]===void 0?u:i(m(O[I]))}:c,y=T?function(O,I){return O[I]===void 0?1:s(O[I])}:s,E||T)for(var b=0;b1?(d*o+d*t)/d:o+t,i=String(g).length;if(i>16){var M=String(t).length;if(i>=String(o).length+M){var v=parseFloat(g).toPrecision(12);v.indexOf("e+")===-1&&(g=+v)}}return g}},71828:function(x,o,t){var d=t(39898),g=t(84096).g0,i=t(60721).WU,M=t(92770),v=t(50606),p=v.FP_SAFE,u=-p,a=v.BADNUM,c=x.exports={};c.adjustFormat=function(Q){return!Q||/^\d[.]\df/.test(Q)||/[.]\d%/.test(Q)?Q:Q==="0.f"?"~f":/^\d%/.test(Q)?"~%":/^\ds/.test(Q)?"~s":!/^[~,.0$]/.test(Q)&&/[&fps]/.test(Q)?"~"+Q:Q};var s={};c.warnBadFormat=function(Q){var re=String(Q);s[re]||(s[re]=1,c.warn('encountered bad format: "'+re+'"'))},c.noFormat=function(Q){return String(Q)},c.numberFormat=function(Q){var re;try{re=i(c.adjustFormat(Q))}catch{return c.warnBadFormat(Q),c.noFormat}return re},c.nestedProperty=t(65487),c.keyedContainer=t(66636),c.relativeAttr=t(6962),c.isPlainObject=t(41965),c.toLogRange=t(58163),c.relinkPrivateKeys=t(51332);var l=t(73627);c.isTypedArray=l.isTypedArray,c.isArrayOrTypedArray=l.isArrayOrTypedArray,c.isArray1D=l.isArray1D,c.ensureArray=l.ensureArray,c.concat=l.concat,c.maxRowLength=l.maxRowLength,c.minRowLength=l.minRowLength;var h=t(64872);c.mod=h.mod,c.modHalf=h.modHalf;var f=t(96554);c.valObjectMeta=f.valObjectMeta,c.coerce=f.coerce,c.coerce2=f.coerce2,c.coerceFont=f.coerceFont,c.coercePattern=f.coercePattern,c.coerceHoverinfo=f.coerceHoverinfo,c.coerceSelectionMarkerOpacity=f.coerceSelectionMarkerOpacity,c.validate=f.validate;var m=t(41631);c.dateTime2ms=m.dateTime2ms,c.isDateTime=m.isDateTime,c.ms2DateTime=m.ms2DateTime,c.ms2DateTimeLocal=m.ms2DateTimeLocal,c.cleanDate=m.cleanDate,c.isJSDate=m.isJSDate,c.formatDate=m.formatDate,c.incrementMonth=m.incrementMonth,c.dateTick0=m.dateTick0,c.dfltRange=m.dfltRange,c.findExactDates=m.findExactDates,c.MIN_MS=m.MIN_MS,c.MAX_MS=m.MAX_MS;var _=t(65888);c.findBin=_.findBin,c.sorterAsc=_.sorterAsc,c.sorterDes=_.sorterDes,c.distinctVals=_.distinctVals,c.roundUp=_.roundUp,c.sort=_.sort,c.findIndexOfMin=_.findIndexOfMin,c.sortObjectKeys=t(78607);var y=t(80038);c.aggNums=y.aggNums,c.len=y.len,c.mean=y.mean,c.median=y.median,c.midRange=y.midRange,c.variance=y.variance,c.stdev=y.stdev,c.interp=y.interp;var C=t(35657);c.init2dArray=C.init2dArray,c.transposeRagged=C.transposeRagged,c.dot=C.dot,c.translationMatrix=C.translationMatrix,c.rotationMatrix=C.rotationMatrix,c.rotationXYMatrix=C.rotationXYMatrix,c.apply3DTransform=C.apply3DTransform,c.apply2DTransform=C.apply2DTransform,c.apply2DTransform2=C.apply2DTransform2,c.convertCssMatrix=C.convertCssMatrix,c.inverseTransformMatrix=C.inverseTransformMatrix;var w=t(26348);c.deg2rad=w.deg2rad,c.rad2deg=w.rad2deg,c.angleDelta=w.angleDelta,c.angleDist=w.angleDist,c.isFullCircle=w.isFullCircle,c.isAngleInsideSector=w.isAngleInsideSector,c.isPtInsideSector=w.isPtInsideSector,c.pathArc=w.pathArc,c.pathSector=w.pathSector,c.pathAnnulus=w.pathAnnulus;var k=t(99863);c.isLeftAnchor=k.isLeftAnchor,c.isCenterAnchor=k.isCenterAnchor,c.isRightAnchor=k.isRightAnchor,c.isTopAnchor=k.isTopAnchor,c.isMiddleAnchor=k.isMiddleAnchor,c.isBottomAnchor=k.isBottomAnchor;var E=t(87642);c.segmentsIntersect=E.segmentsIntersect,c.segmentDistance=E.segmentDistance,c.getTextLocation=E.getTextLocation,c.clearLocationCache=E.clearLocationCache,c.getVisibleSegment=E.getVisibleSegment,c.findPointOnPath=E.findPointOnPath;var T=t(1426);c.extendFlat=T.extendFlat,c.extendDeep=T.extendDeep,c.extendDeepAll=T.extendDeepAll,c.extendDeepNoArrays=T.extendDeepNoArrays;var A=t(47769);c.log=A.log,c.warn=A.warn,c.error=A.error;var L=t(30587);c.counterRegex=L.counter;var b=t(79990);c.throttle=b.throttle,c.throttleDone=b.done,c.clearThrottle=b.clear;var O=t(24401);function I(Q){var re={};for(var ie in Q)for(var oe=Q[ie],ue=0;uep||Q=re)&&M(Q)&&Q>=0&&Q%1==0},c.noop=t(64213),c.identity=t(23389),c.repeat=function(Q,re){for(var ie=new Array(re),oe=0;oeie?Math.max(ie,Math.min(re,Q)):Math.max(re,Math.min(ie,Q))},c.bBoxIntersect=function(Q,re,ie){return ie=ie||0,Q.left<=re.right+ie&&re.left<=Q.right+ie&&Q.top<=re.bottom+ie&&re.top<=Q.bottom+ie},c.simpleMap=function(Q,re,ie,oe,ue){for(var ce=Q.length,ye=new Array(ce),de=0;de=Math.pow(2,ie)?ue>10?(c.warn("randstr failed uniqueness"),me):Q(re,ie,oe,(ue||0)+1):me},c.OptionControl=function(Q,re){Q||(Q={}),re||(re="opt");var ie={optionList:[],_newoption:function(oe){oe[re]=Q,ie[oe.name]=oe,ie.optionList.push(oe)}};return ie["_"+re]=Q,ie},c.smooth=function(Q,re){if((re=Math.round(re)||0)<2)return Q;var ie,oe,ue,ce,ye=Q.length,de=2*ye,me=2*re-1,pe=new Array(me),xe=new Array(ye);for(ie=0;ie=de&&(ue-=de*Math.floor(ue/de)),ue<0?ue=-1-ue:ue>=ye&&(ue=de-1-ue),ce+=Q[ue]*pe[oe];xe[ie]=ce}return xe},c.syncOrAsync=function(Q,re,ie){var oe;function ue(){return c.syncOrAsync(Q,re,ie)}for(;Q.length;)if((oe=(0,Q.splice(0,1)[0])(re))&&oe.then)return oe.then(ue);return ie&&ie(re)},c.stripTrailingSlash=function(Q){return Q.substr(-1)==="/"?Q.substr(0,Q.length-1):Q},c.noneOrAll=function(Q,re,ie){if(Q){var oe,ue=!1,ce=!0;for(oe=0;oe0?ue:0})},c.fillArray=function(Q,re,ie,oe){if(oe=oe||c.identity,c.isArrayOrTypedArray(Q))for(var ue=0;ue1?ue+ye[1]:"";if(ce&&(ye.length>1||de.length>4||ie))for(;oe.test(de);)de=de.replace(oe,"$1"+ce+"$2");return de+me},c.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var q=/^\w*$/;c.templateString=function(Q,re){var ie={};return Q.replace(c.TEMPLATE_STRING_REGEX,function(oe,ue){var ce;return q.test(ue)?ce=re[ue]:(ie[ue]=ie[ue]||c.nestedProperty(re,ue).get,ce=ie[ue]()),c.isValidTextValue(ce)?ce:""})};var j={max:10,count:0,name:"hovertemplate"};c.hovertemplateString=function(){return ne.apply(j,arguments)};var Y={max:10,count:0,name:"texttemplate"};c.texttemplateString=function(){return ne.apply(Y,arguments)};var U=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function G(Q){var re=Q.match(U);return re?{key:re[1],op:re[2],number:Number(re[3])}:{key:Q,op:null,number:null}}var W={max:10,count:0,name:"texttemplate",parseMultDiv:!0};c.texttemplateStringForShapes=function(){return ne.apply(W,arguments)};var H=/^[:|\|]/;function ne(Q,re,ie){var oe=this,ue=arguments;re||(re={});var ce={};return Q.replace(c.TEMPLATE_STRING_REGEX,function(ye,de,me){var pe=de==="_xother"||de==="_yother",xe=de==="_xother_"||de==="_yother_",Pe=de==="xother_"||de==="yother_",_e=de==="xother"||de==="yother"||pe||Pe||xe,Me=de;(pe||xe)&&(Me=Me.substring(1)),(Pe||xe)&&(Me=Me.substring(0,Me.length-1));var Se,Ce,ae,he=null,be=null;if(oe.parseMultDiv){var ke=G(Me);Me=ke.key,he=ke.op,be=ke.number}if(_e){if((Se=re[Me])===void 0)return""}else for(ae=3;ae=48&&ye<=57,pe=de>=48&&de<=57;if(me&&(oe=10*oe+ye-48),pe&&(ue=10*ue+de-48),!me||!pe){if(oe!==ue)return oe-ue;if(ye!==de)return ye-de}}return ue-oe};var te=2e9;c.seedPseudoRandom=function(){te=2e9},c.pseudoRandom=function(){var Q=te;return te=(69069*te+1)%4294967296,Math.abs(te-Q)<429496729?c.pseudoRandom():te/4294967296},c.fillText=function(Q,re,ie){var oe=Array.isArray(ie)?function(ye){ie.push(ye)}:function(ye){ie.text=ye},ue=c.extractOption(Q,re,"htx","hovertext");if(c.isValidTextValue(ue))return oe(ue);var ce=c.extractOption(Q,re,"tx","text");return c.isValidTextValue(ce)?oe(ce):void 0},c.isValidTextValue=function(Q){return Q||Q===0},c.formatPercent=function(Q,re){re=re||0;for(var ie=(Math.round(100*Q*Math.pow(10,re))*Math.pow(.1,re)).toFixed(re)+"%",oe=0;oe1&&(pe=1):pe=0,c.strTranslate(ue-pe*(ie+ye),ce-pe*(oe+de))+c.strScale(pe)+(me?"rotate("+me+(re?"":" "+ie+" "+oe)+")":"")},c.setTransormAndDisplay=function(Q,re){Q.attr("transform",c.getTextTransform(re)),Q.style("display",re.scale?null:"none")},c.ensureUniformFontSize=function(Q,re){var ie=c.extendFlat({},re);return ie.size=Math.max(re.size,Q._fullLayout.uniformtext.minsize||0),ie},c.join2=function(Q,re,ie){var oe=Q.length;return oe>1?Q.slice(0,-1).join(re)+ie+Q[oe-1]:Q.join(re)},c.bigFont=function(Q){return Math.round(1.2*Q)};var Z=c.getFirefoxVersion(),X=Z!==null&&Z<86;c.getPositionFromD3Event=function(){return X?[d.event.layerX,d.event.layerY]:[d.event.offsetX,d.event.offsetY]}},41965:function(x){x.exports=function(o){return window&&window.process&&window.process.versions?Object.prototype.toString.call(o)==="[object Object]":Object.prototype.toString.call(o)==="[object Object]"&&Object.getPrototypeOf(o).hasOwnProperty("hasOwnProperty")}},66636:function(x,o,t){var d=t(65487),g=/^\w*$/;x.exports=function(i,M,v,p){var u,a,c;v=v||"name",p=p||"value";var s={};M&&M.length?(c=d(i,M),a=c.get()):a=i,M=M||"";var l={};if(a)for(u=0;u2)return s[_]=2|s[_],f.set(m,null);if(h){for(u=_;u1){var v=["LOG:"];for(M=0;M1){var p=[];for(M=0;M"),"long")}},i.warn=function(){var M;if(d.logging>0){var v=["WARN:"];for(M=0;M0){var p=[];for(M=0;M"),"stick")}},i.error=function(){var M;if(d.logging>0){var v=["ERROR:"];for(M=0;M0){var p=[];for(M=0;M"),"stick")}}},77310:function(x,o,t){var d=t(39898);x.exports=function(g,i,M){var v=g.selectAll("g."+M.replace(/\s/g,".")).data(i,function(u){return u[0].trace.uid});v.exit().remove(),v.enter().append("g").attr("class",M),v.order();var p=g.classed("rangeplot")?"nodeRangePlot3":"node3";return v.each(function(u){u[0][p]=d.select(this)}),v}},35657:function(x,o,t){var d=t(79576);o.init2dArray=function(g,i){for(var M=new Array(g),v=0;vt/2?o-Math.round(o/t)*t:o}}},65487:function(x,o,t){var d=t(92770),g=t(73627).isArrayOrTypedArray;function i(s,l){return function(){var h,f,m,_,y,C=s;for(_=0;_/g),f=0;fa||w===g||ws||y&&l(_))}:function(_,y){var C=_[0],w=_[1];if(C===g||Ca||w===g||ws)return!1;var k,E,T,A,L,b=p.length,O=p[0][0],I=p[0][1],R=0;for(k=1;kMath.max(E,O)||w>Math.max(T,I)))if(wf||Math.abs(d(c,_))>u)return!0;return!1},i.filter=function(M,v){var p=[M[0]],u=0,a=0;function c(s){M.push(s);var l=p.length,h=u;p.splice(a+1);for(var f=h+1;f1&&c(M.pop()),{addPt:c,raw:M,filtered:p}}},79749:function(x,o,t){var d=t(58617),g=t(98580);x.exports=function(i,M,v){var p=i._fullLayout,u=!0;return p._glcanvas.each(function(a){if(a.regl)a.regl.preloadCachedCode(v);else if(!a.pick||p._has("parcoords")){try{a.regl=g({canvas:this,attributes:{antialias:!a.pick,preserveDrawingBuffer:!0},pixelRatio:i._context.plotGlPixelRatio||t.g.devicePixelRatio,extensions:M||[],cachedCode:v||{}})}catch{u=!1}a.regl||(u=!1),u&&this.addEventListener("webglcontextlost",function(c){i&&i.emit&&i.emit("plotly_webglcontextlost",{event:c,layer:a.key})},!1)}}),u||d({container:p._glcontainer.node()}),u}},45142:function(x,o,t){var d=t(92770),g=t(35791);x.exports=function(i){var M;if(typeof(M=i&&i.hasOwnProperty("userAgent")?i.userAgent:function(){var l;return typeof navigator<"u"&&(l=navigator.userAgent),l&&l.headers&&typeof l.headers["user-agent"]=="string"&&(l=l.headers["user-agent"]),l}())!="string")return!0;var v=g({ua:{headers:{"user-agent":M}},tablet:!0,featureDetect:!1});if(!v){for(var p=M.split(" "),u=1;u-1;a--){var c=p[a];if(c.substr(0,8)==="Version/"){var s=c.substr(8).split(".")[0];if(d(s)&&(s=+s),s>=13)return!0}}}return v}},75138:function(x){x.exports=function(o,t){if(t instanceof RegExp){for(var d=t.toString(),g=0;gg.queueLength&&(M.undoQueue.queue.shift(),M.undoQueue.index--))},startSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!0,M.undoQueue.beginSequence=!0},stopSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!1,M.undoQueue.beginSequence=!1},undo:function(M){var v,p;if(!(M.undoQueue===void 0||isNaN(M.undoQueue.index)||M.undoQueue.index<=0)){for(M.undoQueue.index--,v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,p=0;p=M.undoQueue.queue.length)){for(v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,p=0;pl}function c(s,l){return s>=l}o.findBin=function(s,l,h){if(d(l.start))return h?Math.ceil((s-l.start)/l.size-v)-1:Math.floor((s-l.start)/l.size+v);var f,m,_=0,y=l.length,C=0,w=y>1?(l[y-1]-l[0])/(y-1):1;for(m=w>=0?h?p:u:h?c:a,s+=w*v*(h?-1:1)*(w>=0?1:-1);_90&&g.log("Long binary search..."),_-1},o.sorterAsc=function(s,l){return s-l},o.sorterDes=function(s,l){return l-s},o.distinctVals=function(s){var l,h=s.slice();for(h.sort(o.sorterAsc),l=h.length-1;l>-1&&h[l]===M;l--);for(var f,m=h[l]-h[0]||1,_=m/(l||1)/1e4,y=[],C=0;C<=l;C++){var w=h[C],k=w-f;f===void 0?(y.push(w),f=w):k>_&&(m=Math.min(m,k),y.push(w),f=w)}return{vals:y,minDiff:m}},o.roundUp=function(s,l,h){for(var f,m=0,_=l.length-1,y=0,C=h?0:1,w=h?1:0,k=h?Math.ceil:Math.floor;m<_&&y++<100;)l[f=k((m+_)/2)]<=s?m=f+C:_=f-w;return l[m]},o.sort=function(s,l){for(var h=0,f=0,m=1;m0&&(f=1),h&&f)return s.sort(l)}return f?s:s.reverse()},o.findIndexOfMin=function(s,l){l=l||i;for(var h,f=1/0,m=0;mv.length)&&(p=v.length),d(M)||(M=!1),g(v[0])){for(a=new Array(p),u=0;ui.length-1)return i[i.length-1];var v=M%1;return v*i[Math.ceil(M)]+(1-v)*i[Math.floor(M)]}},78614:function(x,o,t){var d=t(25075);x.exports=function(g){return g?d(g):[0,0,0,1]}},63893:function(x,o,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(18783).LINE_SPACING,p=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;o.convertToTspans=function(N,q,j){var Y=N.text(),U=!N.attr("data-notex")&&q&&q._context.typesetMath&&typeof MathJax<"u"&&Y.match(p),G=d.select(N.node().parentNode);if(!G.empty()){var W=N.attr("class")?N.attr("class").split(" ")[0]:"text";return W+="-math",G.selectAll("svg."+W).remove(),G.selectAll("g."+W+"-group").remove(),N.style("display",null).attr({"data-unformatted":Y,"data-math":"N"}),U?(q&&q._promises||[]).push(new Promise(function(ne){N.style("display","none");var te=parseInt(N.node().style.fontSize,10),Z={fontSize:te};(function(X,Q,re){var ie,oe,ue,ce,ye=parseInt((MathJax.version||"").split(".")[0]);if(ye===2||ye===3){var de=function(){var pe="math-output-"+g.randstr({},64),xe=(ce=d.select("body").append("div").attr({id:pe}).style({visibility:"hidden",position:"absolute","font-size":Q.fontSize+"px"}).text(X.replace(u,"\\lt ").replace(a,"\\gt "))).node();return ye===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},me=function(){var pe=ce.select(ye===2?".MathJax_SVG":".MathJax"),xe=!pe.empty()&&ce.select("svg").node();if(xe){var Pe,_e=xe.getBoundingClientRect();Pe=ye===2?d.select("body").select("#MathJax_SVG_glyphs"):pe.select("defs"),re(pe,Pe,_e)}else g.log("There was an error in the tex syntax.",X),re();ce.remove()};ye===2?MathJax.Hub.Queue(function(){return oe=g.extendDeepAll({},MathJax.Hub.config),ue=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:c},displayAlign:"left"})},function(){if((ie=MathJax.Hub.config.menuSettings.renderer)!=="SVG")return MathJax.Hub.setRenderer("SVG")},de,me,function(){if(ie!=="SVG")return MathJax.Hub.setRenderer(ie)},function(){return ue!==void 0&&(MathJax.Hub.processSectionDelay=ue),MathJax.Hub.Config(oe)}):ye===3&&(oe=g.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=c,(ie=MathJax.config.startup.output)!=="svg"&&(MathJax.config.startup.output="svg"),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){de(),me(),ie!=="svg"&&(MathJax.config.startup.output=ie),MathJax.config=oe}))}else g.warn("No MathJax version:",MathJax.version)})(U[2],Z,function(X,Q,re){G.selectAll("svg."+W).remove(),G.selectAll("g."+W+"-group").remove();var ie=X&&X.select("svg");if(!ie||!ie.node())return H(),void ne();var oe=G.append("g").classed(W+"-group",!0).attr({"pointer-events":"none","data-unformatted":Y,"data-math":"Y"});oe.node().appendChild(ie.node()),Q&&Q.node()&&ie.node().insertBefore(Q.node().cloneNode(!0),ie.node().firstChild);var ue=re.width,ce=re.height;ie.attr({class:W,height:ce,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var ye=N.node().style.fill||"black",de=ie.select("g");de.attr({fill:ye,stroke:ye});var me=de.node().getBoundingClientRect(),pe=me.width,xe=me.height;(pe>ue||xe>ce)&&(ie.style("overflow","hidden"),pe=(me=ie.node().getBoundingClientRect()).width,xe=me.height);var Pe=+N.attr("x"),_e=+N.attr("y"),Me=-(te||N.node().getBoundingClientRect().height)/4;if(W[0]==="y")oe.attr({transform:"rotate("+[-90,Pe,_e]+")"+i(-pe/2,Me-xe/2)});else if(W[0]==="l")_e=Me-xe/2;else if(W[0]==="a"&&W.indexOf("atitle")!==0)Pe=0,_e=Me;else{var Se=N.attr("text-anchor");Pe-=pe*(Se==="middle"?.5:Se==="end"?1:0),_e=_e+Me-xe/2}ie.attr({x:Pe,y:_e}),j&&j.call(N,oe),ne(oe)})})):H(),N}function H(){G.empty()||(W=N.attr("class")+"-math",G.select("svg."+W).remove()),N.text("").style("white-space","pre");var ne=function(te,Z){Z=Z.replace(_," ");var X,Q=!1,re=[],ie=-1;function oe(){ie++;var be=document.createElementNS(M.svg,"tspan");d.select(be).attr({class:"line",dy:ie*v+"em"}),te.appendChild(be),X=be;var ke=re;if(re=[{node:be}],ke.length>1)for(var Le=1;Le doesnt match end tag <"+be+">. Pretending it did match.",Z),X=re[re.length-1].node}else g.log("Ignoring unexpected end tag .",Z)}w.test(Z)?oe():(X=te,re=[{node:te}]);for(var de=Z.split(y),me=0;me|>|>)/g,c=[["$","$"],["\\(","\\)"]],s={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"},l={sub:"0.3em",sup:"-0.6em"},h={sub:"-0.21em",sup:"0.42em"},f="​",m=["http:","https:","mailto:","",void 0,":"],_=o.NEWLINES=/(\r\n?|\n)/g,y=/(<[^<>]*>)/,C=/<(\/?)([^ >]*)(\s+(.*))?>/i,w=//i;o.BR_TAG_ALL=//gi;var k=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,E=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,T=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,A=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function L(N,q){if(!N)return null;var j=N.match(q),Y=j&&(j[3]||j[4]);return Y&&R(Y)}var b=/(^|;)\s*color:/;o.plainText=function(N,q){for(var j=(q=q||{}).len!==void 0&&q.len!==-1?q.len:1/0,Y=q.allowedTags!==void 0?q.allowedTags:["br"],U=3,G=N.split(y),W=[],H="",ne=0,te=0;teU?W.push(Z.substr(0,ie-U)+"..."):W.push(Z.substr(0,ie));break}H=""}}return W.join("")};var O={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},I=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function R(N){return N.replace(I,function(q,j){return(j.charAt(0)==="#"?function(Y){if(!(Y>1114111)){var U=String.fromCodePoint;if(U)return U(Y);var G=String.fromCharCode;return Y<=65535?G(Y):G(55232+(Y>>10),Y%1024+56320)}}(j.charAt(1)==="x"?parseInt(j.substr(2),16):parseInt(j.substr(1),10)):O[j])||q})}function z(N){var q=encodeURI(decodeURI(N)),j=document.createElement("a"),Y=document.createElement("a");j.href=N,Y.href=q;var U=j.protocol,G=Y.protocol;return m.indexOf(U)!==-1&&m.indexOf(G)!==-1?q:""}function F(N,q,j){var Y,U,G,W=j.horizontalAlign,H=j.verticalAlign||"top",ne=N.node().getBoundingClientRect(),te=q.node().getBoundingClientRect();return U=H==="bottom"?function(){return ne.bottom-Y.height}:H==="middle"?function(){return ne.top+(ne.height-Y.height)/2}:function(){return ne.top},G=W==="right"?function(){return ne.right-Y.width}:W==="center"?function(){return ne.left+(ne.width-Y.width)/2}:function(){return ne.left},function(){Y=this.node().getBoundingClientRect();var Z=G()-te.left,X=U()-te.top,Q=j.gd||{};if(j.gd){Q._fullLayout._calcInverseTransform(Q);var re=g.apply3DTransform(Q._fullLayout._invTransform)(Z,X);Z=re[0],X=re[1]}return this.style({top:X+"px",left:Z+"px","z-index":1e3}),this}}o.convertEntities=R,o.sanitizeHTML=function(N){N=N.replace(_," ");for(var q=document.createElement("p"),j=q,Y=[],U=N.split(y),G=0;Gv.ts+i?a():v.timer=setTimeout(function(){a(),v.timer=null},i)},o.done=function(g){var i=t[g];return i&&i.timer?new Promise(function(M){var v=i.onDone;i.onDone=function(){v&&v(),M(),i.onDone=null}}):Promise.resolve()},o.clear=function(g){if(g)d(t[g]),delete t[g];else for(var i in t)o.clear(i)}},58163:function(x,o,t){var d=t(92770);x.exports=function(g,i){if(g>0)return Math.log(g)/Math.LN10;var M=Math.log(Math.min(i[0],i[1]))/Math.LN10;return d(M)||(M=Math.log(Math.max(i[0],i[1]))/Math.LN10-6),M}},90973:function(x,o,t){var d=x.exports={},g=t(78776).locationmodeToLayer,i=t(96892).zL;d.getTopojsonName=function(M){return[M.scope.replace(/ /g,"-"),"_",M.resolution.toString(),"m"].join("")},d.getTopojsonPath=function(M,v){return M+v+".json"},d.getTopojsonFeatures=function(M,v){var p=g[M.locationmode],u=v.objects[p];return i(v,u).features}},37815:function(x){x.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},92177:function(x){x.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"}}},14458:function(x,o,t){var d=t(73972);x.exports=function(g){for(var i,M,v=d.layoutArrayContainers,p=d.layoutArrayRegexes,u=g.split("[")[0],a=0;a0&&M.log("Clearing previous rejected promises from queue."),E._promises=[]},o.cleanLayout=function(E){var T,A;E||(E={}),E.xaxis1&&(E.xaxis||(E.xaxis=E.xaxis1),delete E.xaxis1),E.yaxis1&&(E.yaxis||(E.yaxis=E.yaxis1),delete E.yaxis1),E.scene1&&(E.scene||(E.scene=E.scene1),delete E.scene1);var L=(v.subplotsRegistry.cartesian||{}).attrRegex,b=(v.subplotsRegistry.polar||{}).attrRegex,O=(v.subplotsRegistry.ternary||{}).attrRegex,I=(v.subplotsRegistry.gl3d||{}).attrRegex,R=Object.keys(E);for(T=0;T3?(re.x=1.02,re.xanchor="left"):re.x<-2&&(re.x=-.02,re.xanchor="right"),re.y>3?(re.y=1.02,re.yanchor="bottom"):re.y<-2&&(re.y=-.02,re.yanchor="top")),h(E),E.dragmode==="rotate"&&(E.dragmode="orbit"),u.clean(E),E.template&&E.template.layout&&o.cleanLayout(E.template.layout),E},o.cleanData=function(E){for(var T=0;T0)return E.substr(0,T)}o.hasParent=function(E,T){for(var A=w(T);A;){if(A in E)return!0;A=w(A)}return!1};var k=["x","y","z"];o.clearAxisTypes=function(E,T,A){for(var L=0;L1&&i.warn("Full array edits are incompatible with other edits",f);var E=s[""][""];if(u(E))c.set(null);else{if(!Array.isArray(E))return i.warn("Unrecognized full array edit value",f,E),!0;c.set(E)}return!C&&(m(w,k),_(a),!0)}var T,A,L,b,O,I,R,z,F=Object.keys(s).map(Number).sort(M),B=c.get(),N=B||[],q=h(k,f).get(),j=[],Y=-1,U=N.length;for(T=0;TN.length-(R?0:1))i.warn("index out of range",f,L);else if(I!==void 0)O.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",f,L),u(I)?j.push(L):R?(I==="add"&&(I={}),N.splice(L,0,I),q&&q.splice(L,0,{})):i.warn("Unrecognized full object edit value",f,L,I),Y===-1&&(Y=L);else for(A=0;A=0;T--)N.splice(j[T],1),q&&q.splice(j[T],1);if(N.length?B||c.set(N):c.set(null),C)return!1;if(m(w,k),y!==g){var G;if(Y===-1)G=F;else{for(U=Math.max(N.length,U),G=[],T=0;T=Y);T++)G.push(L);for(T=Y;T=ae.data.length||Le<-ae.data.length)throw new Error(be+" must be valid indices for gd.data.");if(he.indexOf(Le,ke+1)>-1||Le>=0&&he.indexOf(-ae.data.length+Le)>-1||Le<0&&he.indexOf(ae.data.length+Le)>-1)throw new Error("each index in "+be+" must be unique.")}}function B(ae,he,be){if(!Array.isArray(ae.data))throw new Error("gd.data must be an array.");if(he===void 0)throw new Error("currentIndices is a required argument.");if(Array.isArray(he)||(he=[he]),F(ae,he,"currentIndices"),be===void 0||Array.isArray(be)||(be=[be]),be!==void 0&&F(ae,be,"newIndices"),be!==void 0&&he.length!==be.length)throw new Error("current and new indices must be of equal length.")}function N(ae,he,be,ke,Le){(function(Ye,$e,st,ot){var ft=M.isPlainObject(ot);if(!Array.isArray(Ye.data))throw new Error("gd.data must be an array");if(!M.isPlainObject($e))throw new Error("update must be a key:value object");if(st===void 0)throw new Error("indices must be an integer or array of integers");for(var bt in F(Ye,st,"indices"),$e){if(!Array.isArray($e[bt])||$e[bt].length!==st.length)throw new Error("attribute "+bt+" must be an array of length equal to indices array length");if(ft&&(!(bt in ot)||!Array.isArray(ot[bt])||ot[bt].length!==$e[bt].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")}})(ae,he,be,ke);for(var Be=function(Ye,$e,st,ot){var ft,bt,Et,kt,xt,Ft=M.isPlainObject(ot),Dt=[];for(var Bt in Array.isArray(st)||(st=[st]),st=z(st,Ye.data.length-1),$e)for(var Wt=0;Wt-1&&be.indexOf("grouptitlefont")===-1?je(be,be.replace("titlefont","title.font")):be.indexOf("titleposition")>-1?je(be,be.replace("titleposition","title.position")):be.indexOf("titleside")>-1?je(be,be.replace("titleside","title.side")):be.indexOf("titleoffset")>-1&&je(be,be.replace("titleoffset","title.offset")):je(be,be.replace("title","title.text"));function je(ge,we){ae[we]=ae[ge],delete ae[ge]}}function ne(ae,he,be){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae);var ke={};if(typeof he=="string")ke[he]=be;else{if(!M.isPlainObject(he))return M.warn("Relayout fail.",he,be),Promise.reject();ke=M.extendFlat({},he)}Object.keys(ke).length&&(ae.changed=!0);var Le=ie(ae,ke),Be=Le.flags;Be.calc&&(ae.calcdata=void 0);var ze=[s.previousPromises];Be.layoutReplot?ze.push(E.layoutReplot):Object.keys(ke).length&&(te(ae,Be,Le)||s.supplyDefaults(ae),Be.legend&&ze.push(E.doLegend),Be.layoutstyle&&ze.push(E.layoutStyles),Be.axrange&&Z(ze,Le.rangesAltered),Be.ticks&&ze.push(E.doTicksRelayout),Be.modebar&&ze.push(E.doModeBar),Be.camera&&ze.push(E.doCamera),Be.colorbars&&ze.push(E.doColorBars),ze.push(b)),ze.push(s.rehover,s.redrag,s.reselect),u.add(ae,ne,[ae,Le.undoit],ne,[ae,Le.redoit]);var je=M.syncOrAsync(ze,ae);return je&&je.then||(je=Promise.resolve(ae)),je.then(function(){return ae.emit("plotly_relayout",Le.eventData),ae})}function te(ae,he,be){var ke=ae._fullLayout;if(!he.axrange)return!1;for(var Le in he)if(Le!=="axrange"&&he[Le])return!1;for(var Be in be.rangesAltered){var ze=l.id2name(Be),je=ae.layout[ze],ge=ke[ze];if(ge.autorange=je.autorange,je.range&&(ge.range=je.range.slice()),ge.cleanRange(),ge._matchGroup){for(var we in ge._matchGroup)if(we!==Be){var Ee=ke[l.id2name(we)];Ee.autorange=ge.autorange,Ee.range=ge.range.slice(),Ee._input.range=ge.range.slice()}}}return!0}function Z(ae,he){var be=he?function(ke){var Le=[];for(var Be in he){var ze=l.getFromId(ke,Be);if(Le.push(Be),(ze.ticklabelposition||"").indexOf("inside")!==-1&&ze._anchorAxis&&Le.push(ze._anchorAxis._id),ze._matchGroup)for(var je in ze._matchGroup)he[je]||Le.push(je)}return l.draw(ke,Le,{skipTitle:!0})}:function(ke){return l.draw(ke,"redraw")};ae.push(y,E.doAutoRangeAndConstraints,be,E.drawData,E.finalDraw)}var X=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,Q=/^[xyz]axis[0-9]*\.autorange$/,re=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function ie(ae,he){var be,ke,Le,Be=ae.layout,ze=ae._fullLayout,je=ze._guiEditing,ge=U(ze._preGUI,je),we=Object.keys(he),Ee=l.list(ae),Ve=M.extendDeepAll({},he),Ye={};for(H(he),we=Object.keys(he),ke=0;ke0&&typeof Wt.parts[Ke]!="string";)Ke--;var Je=Wt.parts[Ke],We=Wt.parts[Ke-1]+"."+Je,nt=Wt.parts.slice(0,Ke).join("."),ht=v(ae.layout,nt).get(),Oe=v(ze,nt).get(),Ne=Wt.get();if(Vt!==void 0){bt[Bt]=Vt,Et[Bt]=Je==="reverse"?Vt:Y(Ne);var Qe=c.getLayoutValObject(ze,Wt.parts);if(Qe&&Qe.impliedEdits&&Vt!==null)for(var ut in Qe.impliedEdits)kt(M.relativeAttr(Bt,ut),Qe.impliedEdits[ut]);if(["width","height"].indexOf(Bt)!==-1)if(Vt){kt("autosize",null);var pt=Bt==="height"?"width":"height";kt(pt,ze[pt])}else ze[Bt]=ae._initialAutoSize[Bt];else if(Bt==="autosize")kt("width",Vt?null:ze.width),kt("height",Vt?null:ze.height);else if(We.match(X))Dt(We),v(ze,nt+"._inputRange").set(null);else if(We.match(Q)){Dt(We),v(ze,nt+"._inputRange").set(null);var _t=v(ze,nt).get();_t._inputDomain&&(_t._input.domain=_t._inputDomain.slice())}else We.match(re)&&v(ze,nt+"._inputDomain").set(null);if(Je==="type"){xt=ht;var It=Oe.type==="linear"&&Vt==="log",Lt=Oe.type==="log"&&Vt==="linear";if(It||Lt){if(xt&&xt.range)if(Oe.autorange)It&&(xt.range=xt.range[1]>xt.range[0]?[1,2]:[2,1]);else{var yt=xt.range[0],Pt=xt.range[1];It?(yt<=0&&Pt<=0&&kt(nt+".autorange",!0),yt<=0?yt=Pt/1e6:Pt<=0&&(Pt=yt/1e6),kt(nt+".range[0]",Math.log(yt)/Math.LN10),kt(nt+".range[1]",Math.log(Pt)/Math.LN10)):(kt(nt+".range[0]",Math.pow(10,yt)),kt(nt+".range[1]",Math.pow(10,Pt)))}else kt(nt+".autorange",!0);Array.isArray(ze._subplots.polar)&&ze._subplots.polar.length&&ze[Wt.parts[0]]&&Wt.parts[1]==="radialaxis"&&delete ze[Wt.parts[0]]._subplot.viewInitial["radialaxis.range"],a.getComponentMethod("annotations","convertCoords")(ae,Oe,Vt,kt),a.getComponentMethod("images","convertCoords")(ae,Oe,Vt,kt)}else kt(nt+".autorange",!0),kt(nt+".range",null);v(ze,nt+"._inputRange").set(null)}else if(Je.match(A)){var wt=v(ze,Bt).get(),Ot=(Vt||{}).type;Ot&&Ot!=="-"||(Ot="linear"),a.getComponentMethod("annotations","convertCoords")(ae,wt,Ot,kt),a.getComponentMethod("images","convertCoords")(ae,wt,Ot,kt)}var Nt=w.containerArrayMatch(Bt);if(Nt){be=Nt.array,ke=Nt.index;var $t=Nt.property,qt=Qe||{editType:"calc"};ke!==""&&$t===""&&(w.isAddVal(Vt)?Et[Bt]=null:w.isRemoveVal(Vt)?Et[Bt]=(v(Be,be).get()||[])[ke]:M.warn("unrecognized full object value",he)),T.update(ft,qt),Ye[be]||(Ye[be]={});var Xt=Ye[be][ke];Xt||(Xt=Ye[be][ke]={}),Xt[$t]=Vt,delete he[Bt]}else Je==="reverse"?(ht.range?ht.range.reverse():(kt(nt+".autorange",!0),ht.range=[1,0]),Oe.autorange?ft.calc=!0:ft.plot=!0):(Bt==="dragmode"&&(Vt===!1&&Ne!==!1||Vt!==!1&&Ne===!1)||ze._has("scatter-like")&&ze._has("regl")&&Bt==="dragmode"&&(Vt==="lasso"||Vt==="select")&&Ne!=="lasso"&&Ne!=="select"||ze._has("gl2d")?ft.plot=!0:Qe?T.update(ft,Qe):ft.calc=!0,Wt.set(Vt))}}for(be in Ye)w.applyContainerArrayChanges(ae,ge(Be,be),Ye[be],ft,ge)||(ft.plot=!0);for(var Qt in Ft){var rn=(xt=l.getFromId(ae,Qt))&&xt._constraintGroup;if(rn)for(var xn in ft.calc=!0,rn)Ft[xn]||(l.getFromId(ae,xn)._constraintShrinkable=!0)}return(oe(ae)||he.height||he.width)&&(ft.plot=!0),(ft.plot||ft.calc)&&(ft.layoutReplot=!0),{flags:ft,rangesAltered:Ft,undoit:Et,redoit:bt,eventData:Ve}}function oe(ae){var he=ae._fullLayout,be=he.width,ke=he.height;return ae.layout.autosize&&s.plotAutoSize(ae,ae.layout,he),he.width!==be||he.height!==ke}function ue(ae,he,be,ke){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae),M.isPlainObject(he)||(he={}),M.isPlainObject(be)||(be={}),Object.keys(he).length&&(ae.changed=!0),Object.keys(be).length&&(ae.changed=!0);var Le=k.coerceTraceIndices(ae,ke),Be=W(ae,M.extendFlat({},he),Le),ze=Be.flags,je=ie(ae,M.extendFlat({},be)),ge=je.flags;(ze.calc||ge.calc)&&(ae.calcdata=void 0),ze.clearAxisTypes&&k.clearAxisTypes(ae,Le,be);var we=[];ge.layoutReplot?we.push(E.layoutReplot):ze.fullReplot?we.push(o._doPlot):(we.push(s.previousPromises),te(ae,ge,je)||s.supplyDefaults(ae),ze.style&&we.push(E.doTraceStyle),(ze.colorbars||ge.colorbars)&&we.push(E.doColorBars),ge.legend&&we.push(E.doLegend),ge.layoutstyle&&we.push(E.layoutStyles),ge.axrange&&Z(we,je.rangesAltered),ge.ticks&&we.push(E.doTicksRelayout),ge.modebar&&we.push(E.doModeBar),ge.camera&&we.push(E.doCamera),we.push(b)),we.push(s.rehover,s.redrag,s.reselect),u.add(ae,ue,[ae,Be.undoit,je.undoit,Be.traces],ue,[ae,Be.redoit,je.redoit,Be.traces]);var Ee=M.syncOrAsync(we,ae);return Ee&&Ee.then||(Ee=Promise.resolve(ae)),Ee.then(function(){return ae.emit("plotly_update",{data:Be.eventData,layout:je.eventData}),ae})}function ce(ae){return function(he){he._fullLayout._guiEditing=!0;var be=ae.apply(null,arguments);return he._fullLayout._guiEditing=!1,be}}var ye=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],de=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function me(ae,he){for(var be=0;be1;)if(ke.pop(),(be=v(he,ke.join(".")+".uirevision").get())!==void 0)return be;return he.uirevision}function xe(ae,he){for(var be=0;be=Le.length?Le[0]:Le[we]:Le}function je(we){return Array.isArray(Be)?we>=Be.length?Be[0]:Be[we]:Be}function ge(we,Ee){var Ve=0;return function(){if(we&&++Ve===Ee)return we()}}return ke._frameWaitingCnt===void 0&&(ke._frameWaitingCnt=0),new Promise(function(we,Ee){function Ve(){ae.emit("plotly_animating"),ke._lastFrameAt=-1/0,ke._timeToNext=0,ke._runningTransitions=0,ke._currentFrame=null;var Bt=function(){ke._animationRaf=window.requestAnimationFrame(Bt),Date.now()-ke._lastFrameAt>ke._timeToNext&&function(){ke._currentFrame&&ke._currentFrame.onComplete&&ke._currentFrame.onComplete();var Wt=ke._currentFrame=ke._frameQueue.shift();if(Wt){var Vt=Wt.name?Wt.name.toString():null;ae._fullLayout._currentFrame=Vt,ke._lastFrameAt=Date.now(),ke._timeToNext=Wt.frameOpts.duration,s.transition(ae,Wt.frame.data,Wt.frame.layout,k.coerceTraceIndices(ae,Wt.frame.traces),Wt.frameOpts,Wt.transitionOpts).then(function(){Wt.onComplete&&Wt.onComplete()}),ae.emit("plotly_animatingframe",{name:Vt,frame:Wt.frame,animation:{frame:Wt.frameOpts,transition:Wt.transitionOpts}})}else ae.emit("plotly_animated"),window.cancelAnimationFrame(ke._animationRaf),ke._animationRaf=null}()};Bt()}var Ye,$e,st=0;function ot(Bt){return Array.isArray(Le)?st>=Le.length?Bt.transitionOpts=Le[st]:Bt.transitionOpts=Le[0]:Bt.transitionOpts=Le,st++,Bt}var ft=[],bt=he==null,Et=Array.isArray(he);if(bt||Et||!M.isPlainObject(he)){if(bt||["string","number"].indexOf(typeof he)!==-1)for(Ye=0;Ye0&&FtFt)&&Dt.push($e);ft=Dt}}ft.length>0?function(Bt){if(Bt.length!==0){for(var Wt=0;Wt=0;ke--)if(M.isPlainObject(he[ke])){var Ye=he[ke].name,$e=(ge[Ye]||Ve[Ye]||{}).name,st=he[ke].name,ot=ge[$e]||Ve[$e];$e&&st&&typeof st=="number"&&ot&&L<5&&(L++,M.warn('addFrames: overwriting frame "'+(ge[$e]||Ve[$e]).name+'" with a frame whose name of type "number" also equates to "'+$e+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),L===5&&M.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.")),Ve[Ye]={name:Ye},Ee.push({frame:s.supplyFrameDefaults(he[ke]),index:be&&be[ke]!==void 0&&be[ke]!==null?be[ke]:we+ke})}Ee.sort(function(Bt,Wt){return Bt.index>Wt.index?-1:Bt.index=0;ke--){if(typeof(Le=Ee[ke].frame).name=="number"&&M.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Le.name)for(;ge[Le.name="frame "+ae._transitionData._counter++];);if(ge[Le.name]){for(Be=0;Be=0;be--)ke=he[be],Be.push({type:"delete",index:ke}),ze.unshift({type:"insert",index:ke,value:Le[ke]});var je=s.modifyFrames,ge=s.modifyFrames,we=[ae,ze],Ee=[ae,Be];return u&&u.add(ae,je,we,ge,Ee),s.modifyFrames(ae,Be)},o.addTraces=function ae(he,be,ke){he=M.getGraphDiv(he);var Le,Be,ze=[],je=o.deleteTraces,ge=ae,we=[he,ze],Ee=[he,be];for(function(Ve,Ye,$e){var st,ot;if(!Array.isArray(Ve.data))throw new Error("gd.data must be an array.");if(Ye===void 0)throw new Error("traces must be defined.");for(Array.isArray(Ye)||(Ye=[Ye]),st=0;st=0&&Ve=0&&Ve=F.length)return!1;if(b.dimensions===2){if(I++,O.length===I)return b;var B=O[I];if(!k(B))return!1;b=F[z][B]}else b=F[z]}else b=F}}return b}function k(b){return b===Math.round(b)&&b>=0}function E(){var b,O,I={};for(b in c(I,M),d.subplotsRegistry)if((O=d.subplotsRegistry[b]).layoutAttributes)if(Array.isArray(O.attr))for(var R=0;R=B.length)return!1;R=(I=(d.transformsRegistry[B[N].type]||{}).attributes)&&I[O[2]],F=3}else{var q=b._module;if(q||(q=(d.modules[b.type||i.type.dflt]||{})._module),!q)return!1;if(!(R=(I=q.attributes)&&I[z])){var j=q.basePlotModule;j&&j.attributes&&(R=j.attributes[z])}R||(R=i[z])}return w(R,O,F)},o.getLayoutValObject=function(b,O){var I=function(R,z){var F,B,N,q,j=R._basePlotModules;if(j){var Y;for(F=0;F=c&&(a._input||{})._templateitemname;l&&(s=c);var h,f=u+"["+s+"]";function m(){h={},l&&(h[f]={},h[f].templateitemname=l)}function _(C,w){l?d.nestedProperty(h[f],C).set(w):h[f+"."+C]=w}function y(){var C=h;return m(),C}return m(),{modifyBase:function(C,w){h[C]=w},modifyItem:_,getUpdateObj:y,applyUpdate:function(C,w){C&&_(C,w);var k=y();for(var E in k)d.nestedProperty(p,E).set(k[E])}}}},61549:function(x,o,t){var d=t(39898),g=t(73972),i=t(74875),M=t(71828),v=t(63893),p=t(33306),u=t(7901),a=t(91424),c=t(92998),s=t(64168),l=t(89298),h=t(18783),f=t(99082),m=f.enforce,_=f.clean,y=t(71739).doAutoRange,C="start";function w(L,b,O){for(var I=0;I=L[1]||R[1]<=L[0])&&z[0]b[0])return!0}return!1}function k(L){var b,O,I,R,z,F,B=L._fullLayout,N=B._size,q=N.p,j=l.list(L,"",!0);if(B._paperdiv.style({width:L._context.responsive&&B.autosize&&!L._context._hasZeroWidth&&!L.layout.width?"100%":B.width+"px",height:L._context.responsive&&B.autosize&&!L._context._hasZeroHeight&&!L.layout.height?"100%":B.height+"px"}).selectAll(".main-svg").call(a.setSize,B.width,B.height),L._context.setBackground(L,B.paper_bgcolor),o.drawMainTitle(L),s.manage(L),!B._has("cartesian"))return i.previousPromises(L);function Y(Ve,Ye,$e){var st=Ve._lw/2;return Ve._id.charAt(0)==="x"?Ye?$e==="top"?Ye._offset-q-st:Ye._offset+Ye._length+q+st:N.t+N.h*(1-(Ve.position||0))+st%1:Ye?$e==="right"?Ye._offset+Ye._length+q+st:Ye._offset-q-st:N.l+N.w*(Ve.position||0)+st%1}for(b=0;b.5?"t":"b",te=Y._fullLayout.margin[ne],Z=0;return U.yref==="paper"?Z=G+U.pad.t+U.pad.b:U.yref==="container"&&(Z=function(X,Q,re,ie,oe){var ue=0;return re==="middle"&&(ue+=oe/2),X==="t"?(re==="top"&&(ue+=oe),ue+=ie-Q*ie):(re==="bottom"&&(ue+=oe),ue+=Q*ie),ue}(ne,W,H,Y._fullLayout.height,G)+U.pad.t+U.pad.b),Z>te?Z:0}(L,O,q);j>0&&(function(Y,U,G,W){var H="title.automargin",ne=Y._fullLayout.title,te=ne.y>.5?"t":"b",Z={x:ne.x,y:ne.y,t:0,b:0},X={};ne.yref==="paper"&&function(Q,re,ie,oe,ue){var ce=re.yref==="paper"?Q._fullLayout._size.h:Q._fullLayout.height,ye=M.isTopAnchor(re)?oe:oe-ue,de=ie==="b"?ce-ye:ye;return!(M.isTopAnchor(re)&&ie==="t"||M.isBottomAnchor(re)&&ie==="b")&&deN?A.push({code:"unused",traceType:I,templateCount:B,dataCount:N}):N>B&&A.push({code:"reused",traceType:I,templateCount:B,dataCount:N})}}else A.push({code:"data"});if(function q(j,Y){for(var U in j)if(U.charAt(0)!=="_"){var G=j[U],W=f(j,U,Y);g(G)?(Array.isArray(j)&&G._template===!1&&G.templateitemname&&A.push({code:"missing",path:W,templateitemname:G.templateitemname}),q(G,W)):Array.isArray(G)&&m(G)&&q(G,W)}}({data:b,layout:L},""),A.length)return A.map(_)}},403:function(x,o,t){var d=t(92770),g=t(72391),i=t(74875),M=t(71828),v=t(25095),p=t(5900),u=t(70942),a=t(11506).version,c={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}};x.exports=function(s,l){var h,f,m,_;function y(N){return!(N in l)||M.validate(l[N],c[N])}if(l=l||{},M.isPlainObject(s)?(h=s.data||[],f=s.layout||{},m=s.config||{},_={}):(s=M.getGraphDiv(s),h=M.extendDeep([],s.data),f=M.extendDeep({},s.layout),m=s._context,_=s._fullLayout||{}),!y("width")&&l.width!==null||!y("height")&&l.height!==null)throw new Error("Height and width should be pixel values.");if(!y("format"))throw new Error("Export format is not "+M.join2(c.format.values,", "," or ")+".");var C={};function w(N,q){return M.coerce(l,C,c,N,q)}var k=w("format"),E=w("width"),T=w("height"),A=w("scale"),L=w("setBackground"),b=w("imageDataOnly"),O=document.createElement("div");O.style.position="absolute",O.style.left="-5000px",document.body.appendChild(O);var I=M.extendFlat({},f);E?I.width=E:l.width===null&&d(_.width)&&(I.width=_.width),T?I.height=T:l.height===null&&d(_.height)&&(I.height=_.height);var R=M.extendFlat({},m,{_exportedPlot:!0,staticPlot:!0,setBackground:L}),z=v.getRedrawFunc(O);function F(){return new Promise(function(N){setTimeout(N,v.getDelay(O._fullLayout))})}function B(){return new Promise(function(N,q){var j=p(O,k,A),Y=O._fullLayout.width,U=O._fullLayout.height;function G(){g.purge(O),document.body.removeChild(O)}if(k==="full-json"){var W=i.graphJson(O,!1,"keepdata","object",!0,!0);return W.version=a,W=JSON.stringify(W),G(),N(b?W:v.encodeJSON(W))}if(G(),k==="svg")return N(b?j:v.encodeSVG(j));var H=document.createElement("canvas");H.id=M.randstr(),u({format:k,width:Y,height:U,scale:A,canvas:H,svg:j,promise:!0}).then(N).catch(q)})}return new Promise(function(N,q){g.newPlot(O,h,I,R).then(z).then(F).then(B).then(function(j){N(function(Y){return b?Y.replace(v.IMAGE_URL_PREFIX,""):Y}(j))}).catch(function(j){q(j)})})}},84936:function(x,o,t){var d=t(71828),g=t(74875),i=t(86281),M=t(72075).dfltConfig,v=d.isPlainObject,p=Array.isArray,u=d.isArrayOrTypedArray;function a(C,w,k,E,T,A){A=A||[];for(var L=Object.keys(C),b=0;bz.length&&E.push(h("unused",T,I.concat(z.length)));var Y,U,G,W,H,ne=z.length,te=Array.isArray(j);if(te&&(ne=Math.min(ne,j.length)),F.dimensions===2)for(U=0;Uz[U].length&&E.push(h("unused",T,I.concat(U,z[U].length)));var Z=z[U].length;for(Y=0;Y<(te?Math.min(Z,j[U].length):Z);Y++)G=te?j[U][Y]:j,W=R[U][Y],H=z[U][Y],d.validate(W,G)?H!==W&&H!==+W&&E.push(h("dynamic",T,I.concat(U,Y),W,H)):E.push(h("value",T,I.concat(U,Y),W))}else E.push(h("array",T,I.concat(U),R[U]));else for(U=0;U1&&A.push(h("object","layout"))),g.supplyDefaults(L);for(var b=L._fullData,O=k.length,I=0;I0&&Math.round(f)===f))return{vals:c};l=f}for(var m=u.calendar,_=s==="start",y=s==="end",C=p[a+"period0"],w=i(C,m)||0,k=[],E=[],T=[],A=c.length,L=0;LR;)I=M(I,-l,m);for(;I<=R;)I=M(I,l,m);O=M(I,-l,m)}else{for(I=w+(b=Math.round((R-w)/h))*h;I>R;)I-=h;for(;I<=R;)I+=h;O=I-h}k[L]=_?O:y?I:(O+I)/2,E[L]=O,T[L]=I}return{vals:k,starts:E,ends:T}}},89502:function(x){x.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},71739:function(x,o,t){var d=t(39898),g=t(92770),i=t(71828),M=t(50606).FP_SAFE,v=t(73972),p=t(91424),u=t(41675),a=u.getFromId,c=u.isLinked;function s(E,T){var A,L,b=[],O=E._fullLayout,I=h(O,T,0),R=h(O,T,1),z=f(E,T),F=z.min,B=z.max;if(F.length===0||B.length===0)return i.simpleMap(T.range,T.r2l);var N=F[0].val,q=B[0].val;for(A=1;A0&&((ne=re-I(U)-R(G))>ie?te/ne>oe&&(W=U,H=G,oe=te/ne):te/re>oe&&(W={val:U.val,nopad:1},H={val:G.val,nopad:1},oe=te/re));if(N===q){var ue=N-1,ce=N+1;if(X)if(N===0)b=[0,1];else{var ye=(N>0?B:F).reduce(function(me,pe){return Math.max(me,R(pe))},0),de=N/(1-Math.min(.5,ye/re));b=N>0?[0,de]:[de,0]}else b=Q?[Math.max(0,ue),Math.max(1,ce)]:[ue,ce]}else X?(W.val>=0&&(W={val:0,nopad:1}),H.val<=0&&(H={val:0,nopad:1})):Q&&(W.val-oe*I(W)<0&&(W={val:0,nopad:1}),H.val<=0&&(H={val:1,nopad:1})),oe=(H.val-W.val-l(T,U.val,G.val))/(re-I(W)-R(H)),b=[W.val-oe*I(W),H.val+oe*R(H)];return j&&b.reverse(),i.simpleMap(b,T.l2r||Number)}function l(E,T,A){var L=0;if(E.rangebreaks)for(var b=E.locateBreaks(T,A),O=0;O=A&&(F.extrapad||!I)){R=!1;break}b(T,F.val)&&F.pad<=A&&(I||!F.extrapad)&&(E.splice(z,1),z--)}if(R){var B=O&&T===0;E.push({val:T,pad:B?0:A,extrapad:!B&&I})}}function C(E){return g(E)&&Math.abs(E)=T}x.exports={getAutoRange:s,makePadFn:h,doAutoRange:function(E,T,A){if(T.setScale(),T.autorange){T.range=A?A.slice():s(E,T),T._r=T.range.slice(),T._rl=i.simpleMap(T._r,T.r2l);var L=T._input,b={};b[T._attr+".range"]=T.range,b[T._attr+".autorange"]=T.autorange,v.call("_storeDirectGUIEdit",E.layout,E._fullLayout._preGUI,b),L.range=T.range.slice(),L.autorange=T.autorange}var O=T._anchorAxis;if(O&&O.rangeslider){var I=O.rangeslider[T._name];I&&I.rangemode==="auto"&&(I.range=s(E,T)),O._input.rangeslider[T._name]=i.extendFlat({},I)}},findExtremes:function(E,T,A){A||(A={}),E._m||E.setScale();var L,b,O,I,R,z,F,B,N,q=[],j=[],Y=T.length,U=A.padded||!1,G=A.tozero&&(E.type==="linear"||E.type==="-"),W=E.type==="log",H=!1,ne=A.vpadLinearized||!1;function te(ce){if(Array.isArray(ce))return H=!0,function(de){return Math.max(Number(ce[de]||0),0)};var ye=Math.max(Number(ce||0),0);return function(){return ye}}var Z=te((E._m>0?A.ppadplus:A.ppadminus)||A.ppad||0),X=te((E._m>0?A.ppadminus:A.ppadplus)||A.ppad||0),Q=te(A.vpadplus||A.vpad),re=te(A.vpadminus||A.vpad);if(!H){if(B=1/0,N=-1/0,W)for(L=0;L0&&(B=b),b>N&&b-M&&(B=b),b>N&&b=ue;L--)oe(L);return{min:q,max:j,opts:A}},concatExtremes:f}},89298:function(x,o,t){var d=t(39898),g=t(92770),i=t(74875),M=t(73972),v=t(71828),p=v.strTranslate,u=t(63893),a=t(92998),c=t(7901),s=t(91424),l=t(13838),h=t(66287),f=t(50606),m=f.ONEMAXYEAR,_=f.ONEAVGYEAR,y=f.ONEMINYEAR,C=f.ONEMAXQUARTER,w=f.ONEAVGQUARTER,k=f.ONEMINQUARTER,E=f.ONEMAXMONTH,T=f.ONEAVGMONTH,A=f.ONEMINMONTH,L=f.ONEWEEK,b=f.ONEDAY,O=b/2,I=f.ONEHOUR,R=f.ONEMIN,z=f.ONESEC,F=f.MINUS_SIGN,B=f.BADNUM,N={K:"zeroline"},q={K:"gridline",L:"path"},j={K:"minor-gridline",L:"path"},Y={K:"tick",L:"path"},U={K:"tick",L:"text"},G={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},W=t(18783),H=W.MID_SHIFT,ne=W.CAP_SHIFT,te=W.LINE_SPACING,Z=W.OPPOSITE_SIDE,X=x.exports={};X.setConvert=t(21994);var Q=t(4322),re=t(41675),ie=re.idSort,oe=re.isLinked;X.id2name=re.id2name,X.name2id=re.name2id,X.cleanId=re.cleanId,X.list=re.list,X.listIds=re.listIds,X.getFromId=re.getFromId,X.getFromTrace=re.getFromTrace;var ue=t(71739);function ce(Oe){var Ne=1e-4*(Oe[1]-Oe[0]);return[Oe[0]-Ne,Oe[1]+Ne]}X.getAutoRange=ue.getAutoRange,X.findExtremes=ue.findExtremes,X.coerceRef=function(Oe,Ne,Qe,ut,pt,_t){var It=ut.charAt(ut.length-1),Lt=Qe._fullLayout._subplots[It+"axis"],yt=ut+"ref",Pt={};return pt||(pt=Lt[0]||(typeof _t=="string"?_t:_t[0])),_t||(_t=pt),Lt=Lt.concat(Lt.map(function(wt){return wt+" domain"})),Pt[yt]={valType:"enumerated",values:Lt.concat(_t?typeof _t=="string"?[_t]:_t:[]),dflt:pt},v.coerce(Oe,Ne,Pt,yt)},X.getRefType=function(Oe){return Oe===void 0?Oe:Oe==="paper"?"paper":Oe==="pixel"?"pixel":/( domain)$/.test(Oe)?"domain":"range"},X.coercePosition=function(Oe,Ne,Qe,ut,pt,_t){var It,Lt;if(X.getRefType(ut)!=="range")It=v.ensureNumber,Lt=Qe(pt,_t);else{var yt=X.getFromId(Ne,ut);Lt=Qe(pt,_t=yt.fraction2r(_t)),It=yt.cleanPos}Oe[pt]=It(Lt)},X.cleanPosition=function(Oe,Ne,Qe){return(Qe==="paper"||Qe==="pixel"?v.ensureNumber:X.getFromId(Ne,Qe).cleanPos)(Oe)},X.redrawComponents=function(Oe,Ne){Ne=Ne||X.listIds(Oe);var Qe=Oe._fullLayout;function ut(pt,_t,It,Lt){for(var yt=M.getComponentMethod(pt,_t),Pt={},wt=0;wtQe&&wt2e-6||((Qe-Oe._forceTick0)/Oe._minDtick%1+1.000001)%1>2e-6)&&(Oe._minDtick=0)):Oe._minDtick=0},X.saveRangeInitial=function(Oe,Ne){for(var Qe=X.list(Oe,"",!0),ut=!1,pt=0;pt.3*Rn||dn(un)||dn(An))){var In=xn.dtick/2;Qt+=Qt+In.8){var kn=Number(xn.substr(1));Yn.exactYears>.8&&kn%12==0?Qt=X.tickIncrement(Qt,"M6","reverse")+1.5*b:Yn.exactMonths>.8?Qt=X.tickIncrement(Qt,"M1","reverse")+15.5*b:Qt-=O;var sn=X.tickIncrement(Qt,xn);if(sn<=un)return sn}return Qt}(Xt,Oe,qt,Lt,pt)),$t=Xt;$t<=yt;)$t=X.tickIncrement($t,qt,!1,pt);return{start:Ne.c2r(Xt,0,pt),end:Ne.c2r($t,0,pt),size:qt,_dataSpan:yt-Lt}},X.prepMinorTicks=function(Oe,Ne,Qe){if(!Ne.minor.dtick){delete Oe.dtick;var ut,pt=Ne.dtick&&g(Ne._tmin);if(pt){var _t=X.tickIncrement(Ne._tmin,Ne.dtick,!0);ut=[Ne._tmin,.99*_t+.01*Ne._tmin]}else{var It=v.simpleMap(Ne.range,Ne.r2l);ut=[It[0],.8*It[0]+.2*It[1]]}if(Oe.range=v.simpleMap(ut,Ne.l2r),Oe._isMinor=!0,X.prepTicks(Oe,Qe),pt){var Lt=g(Ne.dtick),yt=g(Oe.dtick),Pt=Lt?Ne.dtick:+Ne.dtick.substring(1),wt=yt?Oe.dtick:+Oe.dtick.substring(1);Lt&&yt?pe(Pt,wt)?Pt===2*L&&wt===2*b&&(Oe.dtick=L):Pt===2*L&&wt===3*b?Oe.dtick=L:Pt!==L||(Ne._input.minor||{}).nticks?xe(Pt/wt,2.5)?Oe.dtick=Pt/2:Oe.dtick=Pt:Oe.dtick=b:String(Ne.dtick).charAt(0)==="M"?yt?Oe.dtick="M1":pe(Pt,wt)?Pt>=12&&wt===2&&(Oe.dtick="M3"):Oe.dtick=Ne.dtick:String(Oe.dtick).charAt(0)==="L"?String(Ne.dtick).charAt(0)==="L"?pe(Pt,wt)||(Oe.dtick=xe(Pt/wt,2.5)?Ne.dtick/2:Ne.dtick):Oe.dtick="D1":Oe.dtick==="D2"&&+Ne.dtick>1&&(Oe.dtick=1)}Oe.range=Ne.range}Ne.minor._tick0Init===void 0&&(Oe.tick0=Ne.tick0)},X.prepTicks=function(Oe,Ne){var Qe=v.simpleMap(Oe.range,Oe.r2l,void 0,void 0,Ne);if(Oe.tickmode==="auto"||!Oe.dtick){var ut,pt=Oe.nticks;pt||(Oe.type==="category"||Oe.type==="multicategory"?(ut=Oe.tickfont?v.bigFont(Oe.tickfont.size||12):15,pt=Oe._length/ut):(ut=Oe._id.charAt(0)==="y"?40:80,pt=v.constrain(Oe._length/ut,4,9)+1),Oe._name==="radialaxis"&&(pt*=2)),Oe.minor&&Oe.minor.tickmode!=="array"||Oe.tickmode==="array"&&(pt*=100),Oe._roughDTick=Math.abs(Qe[1]-Qe[0])/pt,X.autoTicks(Oe,Oe._roughDTick),Oe._minDtick>0&&Oe.dtick<2*Oe._minDtick&&(Oe.dtick=Oe._minDtick,Oe.tick0=Oe.l2r(Oe._forceTick0))}Oe.ticklabelmode==="period"&&function(_t){var It;function Lt(){return!(g(_t.dtick)||_t.dtick.charAt(0)!=="M")}var yt=Lt(),Pt=X.getTickFormat(_t);if(Pt){var wt=_t._dtickInit!==_t.dtick;/%[fLQsSMX]/.test(Pt)||(/%[HI]/.test(Pt)?(It=I,wt&&!yt&&_t.dtick=(rn?0:1);xn--){var un=!xn;xn?(Oe._dtickInit=Oe.dtick,Oe._tick0Init=Oe.tick0):(Oe.minor._dtickInit=Oe.minor.dtick,Oe.minor._tick0Init=Oe.minor.tick0);var An=xn?Oe:v.extendFlat({},Oe,Oe.minor);if(un?X.prepMinorTicks(An,Oe,Ne):X.prepTicks(An,Ne),An.tickmode!=="array")if(An.tickmode!=="sync"){var Yn=ce(yt),kn=Yn[0],sn=Yn[1],Tn=g(An.dtick),dn=pt==="log"&&!(Tn||An.dtick.charAt(0)==="L"),pn=X.tickFirst(An,Ne);if(xn){if(Oe._tmin=pn,pn=sn:Gn<=sn;Gn=X.tickIncrement(Gn,Wn,Pt,_t)){if(xn&&Rn++,An.rangebreaks&&!Pt){if(Gn=Ot)break}if(Xt.length>Nt||Gn===jn)break;jn=Gn;var ur={value:Gn};xn?(dn&&Gn!==(0|Gn)&&(ur.simpleLabel=!0),It>1&&Rn%It&&(ur.skipLabel=!0),Xt.push(ur)):(ur.minor=!0,Qt.push(ur))}}else Xt=[],$t=Me(Oe);else xn?(Xt=[],$t=Se(Oe)):(Qt=[],qt=Se(Oe))}if(rn&&!(Oe.minor.ticks==="inside"&&Oe.ticks==="outside"||Oe.minor.ticks==="outside"&&Oe.ticks==="inside")){for(var rr=Xt.map(function(Pn){return Pn.value}),Lr=[],br=0;br0?(Dn=fn-1,En=fn):(Dn=fn,En=fn);var mn,wn=Pn[Dn].value,gn=Pn[En].value,yn=Math.abs(gn-wn),Sn=Jt||yn,Vn=0;Sn>=y?Vn=yn>=y&&yn<=m?yn:_:Jt===w&&Sn>=k?Vn=yn>=k&&yn<=C?yn:w:Sn>=A?Vn=yn>=A&&yn<=E?yn:T:Jt===L&&Sn>=L?Vn=L:Sn>=b?Vn=b:Jt===O&&Sn>=O?Vn=O:Jt===I&&Sn>=I&&(Vn=I),Vn>=yn&&(Vn=yn,mn=!0);var Kn=zn+Vn;if(jt.rangebreaks&&Vn>0){for(var nr=0,Qn=0;Qn<84;Qn++){var hr=(Qn+.5)/84;jt.maskBreaks(zn*(1-hr)+hr*Kn)!==B&&nr++}(Vn*=nr/84)||(Pn[fn].drop=!0),mn&&yn>L&&(Vn=yn)}(Vn>0||fn===0)&&(Pn[fn].periodX=zn+Vn/2)}}(Xt,Oe,Oe._definedDelta),Oe.rangebreaks){var bn=Oe._id.charAt(0)==="y",On=1;Oe.tickmode==="auto"&&(On=Oe.tickfont?Oe.tickfont.size:12);var Ln=NaN;for(Qe=Xt.length-1;Qe>-1;Qe--)if(Xt[Qe].drop)Xt.splice(Qe,1);else{Xt[Qe].value=Je(Xt[Qe].value,Oe);var Un=Oe.c2p(Xt[Qe].value);(bn?Ln>Un-On:LnOt||ZnOt&&(Jn.periodX=Ot),Zn10||ut.substr(5)!=="01-01"?Oe._tickround="d":Oe._tickround=+Ne.substr(1)%12==0?"y":"m";else if(Ne>=b&&pt<=10||Ne>=15*b)Oe._tickround="d";else if(Ne>=R&&pt<=16||Ne>=I)Oe._tickround="M";else if(Ne>=z&&pt<=19||Ne>=R)Oe._tickround="S";else{var _t=Oe.l2r(Qe+Ne).replace(/^-/,"").length;Oe._tickround=Math.max(pt,_t)-20,Oe._tickround<0&&(Oe._tickround=4)}}else if(g(Ne)||Ne.charAt(0)==="L"){var It=Oe.range.map(Oe.r2d||Number);g(Ne)||(Ne=Number(Ne.substr(1))),Oe._tickround=2-Math.floor(Math.log(Ne)/Math.LN10+.01);var Lt=Math.max(Math.abs(It[0]),Math.abs(It[1])),yt=Math.floor(Math.log(Lt)/Math.LN10+.01),Pt=Oe.minexponent===void 0?3:Oe.minexponent;Math.abs(yt)>Pt&&(Ee(Oe.exponentformat)&&!Ve(yt)?Oe._tickexponent=3*Math.round((yt-1)/3):Oe._tickexponent=yt)}else Oe._tickround=null}function ge(Oe,Ne,Qe){var ut=Oe.tickfont||{};return{x:Ne,dx:0,dy:0,text:Qe||"",fontSize:ut.size,font:ut.family,fontColor:ut.color}}X.autoTicks=function(Oe,Ne,Qe){var ut;function pt(Ot){return Math.pow(Ot,Math.floor(Math.log(Ne)/Math.LN10))}if(Oe.type==="date"){Oe.tick0=v.dateTick0(Oe.calendar,0);var _t=2*Ne;if(_t>_)Ne/=_,ut=pt(10),Oe.dtick="M"+12*ze(Ne,ut,Ce);else if(_t>T)Ne/=T,Oe.dtick="M"+ze(Ne,1,ae);else if(_t>b){if(Oe.dtick=ze(Ne,b,Oe._hasDayOfWeekBreaks?[1,2,7,14]:be),!Qe){var It=X.getTickFormat(Oe),Lt=Oe.ticklabelmode==="period";Lt&&(Oe._rawTick0=Oe.tick0),/%[uVW]/.test(It)?Oe.tick0=v.dateTick0(Oe.calendar,2):Oe.tick0=v.dateTick0(Oe.calendar,1),Lt&&(Oe._dowTick0=Oe.tick0)}}else _t>I?Oe.dtick=ze(Ne,I,ae):_t>R?Oe.dtick=ze(Ne,R,he):_t>z?Oe.dtick=ze(Ne,z,he):(ut=pt(10),Oe.dtick=ze(Ne,ut,Ce))}else if(Oe.type==="log"){Oe.tick0=0;var yt=v.simpleMap(Oe.range,Oe.r2l);if(Oe._isMinor&&(Ne*=1.5),Ne>.7)Oe.dtick=Math.ceil(Ne);else if(Math.abs(yt[1]-yt[0])<1){var Pt=1.5*Math.abs((yt[1]-yt[0])/Ne);Ne=Math.abs(Math.pow(10,yt[1])-Math.pow(10,yt[0]))/Pt,ut=pt(10),Oe.dtick="L"+ze(Ne,ut,Ce)}else Oe.dtick=Ne>.3?"D2":"D1"}else Oe.type==="category"||Oe.type==="multicategory"?(Oe.tick0=0,Oe.dtick=Math.ceil(Math.max(Ne,1))):Ke(Oe)?(Oe.tick0=0,ut=1,Oe.dtick=ze(Ne,ut,Be)):(Oe.tick0=0,ut=pt(10),Oe.dtick=ze(Ne,ut,Ce));if(Oe.dtick===0&&(Oe.dtick=1),!g(Oe.dtick)&&typeof Oe.dtick!="string"){var wt=Oe.dtick;throw Oe.dtick=1,"ax.dtick error: "+String(wt)}},X.tickIncrement=function(Oe,Ne,Qe,ut){var pt=Qe?-1:1;if(g(Ne))return v.increment(Oe,pt*Ne);var _t=Ne.charAt(0),It=pt*Number(Ne.substr(1));if(_t==="M")return v.incrementMonth(Oe,It,ut);if(_t==="L")return Math.log(Math.pow(10,Oe)+It)/Math.LN10;if(_t==="D"){var Lt=Ne==="D2"?Le:ke,yt=Oe+.01*pt,Pt=v.roundUp(v.mod(yt,1),Lt,Qe);return Math.floor(yt)+Math.log(d.round(Math.pow(10,Pt),1))/Math.LN10}throw"unrecognized dtick "+String(Ne)},X.tickFirst=function(Oe,Ne){var Qe=Oe.r2l||Number,ut=v.simpleMap(Oe.range,Qe,void 0,void 0,Ne),pt=ut[1] ")}else Qt._prevDateHead=kn,sn+="
"+kn;rn.text=sn}(Oe,_t,Qe,Lt):yt==="log"?function(Qt,rn,xn,un,An){var Yn=Qt.dtick,kn=rn.x,sn=Qt.tickformat,Tn=typeof Yn=="string"&&Yn.charAt(0);if(An==="never"&&(An=""),un&&Tn!=="L"&&(Yn="L3",Tn="L"),sn||Tn==="L")rn.text=Ye(Math.pow(10,kn),Qt,An,un);else if(g(Yn)||Tn==="D"&&v.mod(kn+.01,1)<.1){var dn=Math.round(kn),pn=Math.abs(dn),Rn=Qt.exponentformat;Rn==="power"||Ee(Rn)&&Ve(dn)?(rn.text=dn===0?1:dn===1?"10":"10"+(dn>1?"":F)+pn+"",rn.fontSize*=1.25):(Rn==="e"||Rn==="E")&&pn>2?rn.text="1"+Rn+(dn>0?"+":F)+pn:(rn.text=Ye(Math.pow(10,kn),Qt,"","fakehover"),Yn==="D1"&&Qt._id.charAt(0)==="y"&&(rn.dy-=rn.fontSize/6))}else{if(Tn!=="D")throw"unrecognized dtick "+String(Yn);rn.text=String(Math.round(Math.pow(10,v.mod(kn,1)))),rn.fontSize*=.75}if(Qt.dtick==="D1"){var In=String(rn.text).charAt(0);In!=="0"&&In!=="1"||(Qt._id.charAt(0)==="y"?rn.dx-=rn.fontSize/4:(rn.dy+=rn.fontSize/2,rn.dx+=(Qt.range[1]>Qt.range[0]?1:-1)*rn.fontSize*(kn<0?.5:.25)))}}(Oe,_t,0,Lt,$t):yt==="category"?function(Qt,rn){var xn=Qt._categories[Math.round(rn.x)];xn===void 0&&(xn=""),rn.text=String(xn)}(Oe,_t):yt==="multicategory"?function(Qt,rn,xn){var un=Math.round(rn.x),An=Qt._categories[un]||[],Yn=An[1]===void 0?"":String(An[1]),kn=An[0]===void 0?"":String(An[0]);xn?rn.text=kn+" - "+Yn:(rn.text=Yn,rn.text2=kn)}(Oe,_t,Qe):Ke(Oe)?function(Qt,rn,xn,un,An){if(Qt.thetaunit!=="radians"||xn)rn.text=Ye(rn.x,Qt,An,un);else{var Yn=rn.x/180;if(Yn===0)rn.text="0";else{var kn=function(Tn){function dn(jn,Gn){return Math.abs(jn-Gn)<=1e-6}var pn=function(jn){for(var Gn=1;!dn(Math.round(jn*Gn)/Gn,jn);)Gn*=10;return Gn}(Tn),Rn=Tn*pn,In=Math.abs(function jn(Gn,Wn){return dn(Wn,0)?Gn:jn(Wn,Gn%Wn)}(Rn,pn));return[Math.round(Rn/In),Math.round(pn/In)]}(Yn);if(kn[1]>=100)rn.text=Ye(v.deg2rad(rn.x),Qt,An,un);else{var sn=rn.x<0;kn[1]===1?kn[0]===1?rn.text="π":rn.text=kn[0]+"π":rn.text=["",kn[0],"","⁄","",kn[1],"","π"].join(""),sn&&(rn.text=F+rn.text)}}}}(Oe,_t,Qe,Lt,$t):function(Qt,rn,xn,un,An){An==="never"?An="":Qt.showexponent==="all"&&Math.abs(rn.x/Qt.dtick)<1e-6&&(An="hide"),rn.text=Ye(rn.x,Qt,An,un)}(Oe,_t,0,Lt,$t),ut||(Oe.tickprefix&&!Nt(Oe.showtickprefix)&&(_t.text=Oe.tickprefix+_t.text),Oe.ticksuffix&&!Nt(Oe.showticksuffix)&&(_t.text+=Oe.ticksuffix)),Oe.labelalias&&Oe.labelalias.hasOwnProperty(_t.text)){var qt=Oe.labelalias[_t.text];typeof qt=="string"&&(_t.text=qt)}if(Oe.tickson==="boundaries"||Oe.showdividers){var Xt=function(Qt){var rn=Oe.l2p(Qt);return rn>=0&&rn<=Oe._length?Qt:null};_t.xbnd=[Xt(_t.x-.5),Xt(_t.x+Oe.dtick-.5)]}return _t},X.hoverLabelText=function(Oe,Ne,Qe){Qe&&(Oe=v.extendFlat({},Oe,{hoverformat:Qe}));var ut=Array.isArray(Ne)?Ne[0]:Ne,pt=Array.isArray(Ne)?Ne[1]:void 0;if(pt!==void 0&&pt!==ut)return X.hoverLabelText(Oe,ut,Qe)+" - "+X.hoverLabelText(Oe,pt,Qe);var _t=Oe.type==="log"&&ut<=0,It=X.tickText(Oe,Oe.c2l(_t?-ut:ut),"hover").text;return _t?ut===0?"0":F+It:It};var we=["f","p","n","μ","m","","k","M","G","T"];function Ee(Oe){return Oe==="SI"||Oe==="B"}function Ve(Oe){return Oe>14||Oe<-15}function Ye(Oe,Ne,Qe,ut){var pt=Oe<0,_t=Ne._tickround,It=Qe||Ne.exponentformat||"B",Lt=Ne._tickexponent,yt=X.getTickFormat(Ne),Pt=Ne.separatethousands;if(ut){var wt={exponentformat:It,minexponent:Ne.minexponent,dtick:Ne.showexponent==="none"?Ne.dtick:g(Oe)&&Math.abs(Oe)||1,range:Ne.showexponent==="none"?Ne.range.map(Ne.r2d):[0,Oe||1]};je(wt),_t=(Number(wt._tickround)||0)+4,Lt=wt._tickexponent,Ne.hoverformat&&(yt=Ne.hoverformat)}if(yt)return Ne._numFormat(yt)(Oe).replace(/-/g,F);var Ot,Nt=Math.pow(10,-_t)/2;if(It==="none"&&(Lt=0),(Oe=Math.abs(Oe))"+Ot+"":It==="B"&&Lt===9?Oe+="B":Ee(It)&&(Oe+=we[Lt/3+5])),pt?F+Oe:Oe}function $e(Oe,Ne){if(Oe){var Qe=Object.keys(G).reduce(function(ut,pt){return Ne.indexOf(pt)!==-1&&G[pt].forEach(function(_t){ut[_t]=1}),ut},{});Object.keys(Oe).forEach(function(ut){Qe[ut]||(ut.length===1?Oe[ut]=0:delete Oe[ut])})}}function st(Oe,Ne){for(var Qe=[],ut={},pt=0;pt1&&Qe=pt.min&&Oe=0,rn=wt(Nt,$t[1])<=0;return(qt||Qt)&&(Xt||rn)}if(Oe.tickformatstops&&Oe.tickformatstops.length>0)switch(Oe.type){case"date":case"linear":for(Ne=0;Ne=It(pt)))){Qe=ut;break}break;case"log":for(Ne=0;Ne=0&&pt.unshift(pt.splice(Pt,1).shift())}});var It={false:{left:0,right:0}};return v.syncOrAsync(pt.map(function(Lt){return function(){if(Lt){var yt=X.getFromId(Oe,Lt);Qe||(Qe={}),Qe.axShifts=It,Qe.overlayingShiftedAx=_t;var Pt=X.drawOne(Oe,yt,Qe);return yt._shiftPusher&&ht(yt,yt._fullDepth||0,It,!0),yt._r=yt.range.slice(),yt._rl=v.simpleMap(yt._r,yt.r2l),Pt}}}))},X.drawOne=function(Oe,Ne,Qe){var ut,pt,_t,It=(Qe=Qe||{}).axShifts||{},Lt=Qe.overlayingShiftedAx||[];Ne.setScale();var yt=Oe._fullLayout,Pt=Ne._id,wt=Pt.charAt(0),Ot=X.counterLetter(Pt),Nt=yt._plots[Ne._mainSubplot];if(Nt){if(Ne._shiftPusher=Ne.autoshift||Lt.indexOf(Ne._id)!==-1||Lt.indexOf(Ne.overlaying)!==-1,Ne._shiftPusher&Ne.anchor==="free"){var $t=Ne.linewidth/2||0;Ne.ticks==="inside"&&($t+=Ne.ticklen),ht(Ne,$t,It,!0),ht(Ne,Ne.shift||0,It,!1)}Qe.skipTitle===!0&&Ne._shift!==void 0||(Ne._shift=function(En,mn){return En.autoshift?mn[En.overlaying][En.side]:En.shift||0}(Ne,It));var qt=Nt[wt+"axislayer"],Xt=Ne._mainLinePosition,Qt=Xt+=Ne._shift,rn=Ne._mainMirrorPosition,xn=Ne._vals=X.calcTicks(Ne),un=[Ne.mirror,Qt,rn].join("_");for(ut=0;ut0?En.bottom-Vn:0,Kn))));var nr=0,Qn=0;if(Ne._shiftPusher&&(nr=Math.max(Kn,En.height>0?yn==="l"?Vn-En.left:En.right-Vn:0),Ne.title.text!==yt._dfltTitle[wt]&&(Qn=(Ne._titleStandoff||0)+(Ne._titleScoot||0),yn==="l"&&(Qn+=bt(Ne))),Ne._fullDepth=Math.max(nr,Qn)),Ne.automargin){mn={x:0,y:0,r:0,l:0,t:0,b:0};var hr=[0,1],fr=typeof Ne._shift=="number"?Ne._shift:0;if(wt==="x"){if(yn==="b"?mn[yn]=Ne._depth:(mn[yn]=Ne._depth=Math.max(En.width>0?Vn-En.top:0,Kn),hr.reverse()),En.width>0){var mr=En.right-(Ne._offset+Ne._length);mr>0&&(mn.xr=1,mn.r=mr);var pr=Ne._offset-En.left;pr>0&&(mn.xl=0,mn.l=pr)}}else if(yn==="l"?(Ne._depth=Math.max(En.height>0?Vn-En.left:0,Kn),mn[yn]=Ne._depth-fr):(Ne._depth=Math.max(En.height>0?En.right-Vn:0,Kn),mn[yn]=Ne._depth+fr,hr.reverse()),En.height>0){var xr=En.bottom-(Ne._offset+Ne._length);xr>0&&(mn.yb=0,mn.b=xr);var Rr=Ne._offset-En.top;Rr>0&&(mn.yt=1,mn.t=Rr)}mn[Ot]=Ne.anchor==="free"?Ne.position:Ne._anchorAxis.domain[hr[0]],Ne.title.text!==yt._dfltTitle[wt]&&(mn[yn]+=bt(Ne)+(Ne.title.standoff||0)),Ne.mirror&&Ne.anchor!=="free"&&((wn={x:0,y:0,r:0,l:0,t:0,b:0})[Sn]=Ne.linewidth,Ne.mirror&&Ne.mirror!==!0&&(wn[Sn]+=Kn),Ne.mirror===!0||Ne.mirror==="ticks"?wn[Ot]=Ne._anchorAxis.domain[hr[1]]:Ne.mirror!=="all"&&Ne.mirror!=="allticks"||(wn[Ot]=[Ne._counterDomainMin,Ne._counterDomainMax][hr[1]]))}zn&&(gn=M.getComponentMethod("rangeslider","autoMarginOpts")(Oe,Ne)),typeof Ne.automargin=="string"&&($e(mn,Ne.automargin),$e(wn,Ne.automargin)),i.autoMargin(Oe,xt(Ne),mn),i.autoMargin(Oe,Ft(Ne),wn),i.autoMargin(Oe,Dt(Ne),gn)}),v.syncOrAsync(Jt)}}function Dn(En){var mn=Pt+(En||"tick");return An[mn]||(An[mn]=function(wn,gn){var yn,Sn,Vn,Kn;return wn._selections[gn].size()?(yn=1/0,Sn=-1/0,Vn=1/0,Kn=-1/0,wn._selections[gn].each(function(){var nr=kt(this),Qn=s.bBox(nr.node().parentNode);yn=Math.min(yn,Qn.top),Sn=Math.max(Sn,Qn.bottom),Vn=Math.min(Vn,Qn.left),Kn=Math.max(Kn,Qn.right)})):(yn=0,Sn=0,Vn=0,Kn=0),{top:yn,bottom:Sn,left:Vn,right:Kn,height:Sn-yn,width:Kn-Vn}}(Ne,mn)),An[mn]}},X.getTickSigns=function(Oe,Ne){var Qe=Oe._id.charAt(0),ut={x:"top",y:"right"}[Qe],pt=Oe.side===ut?1:-1,_t=[-1,1,pt,-pt];return(Ne?(Oe.minor||{}).ticks:Oe.ticks)!=="inside"==(Qe==="x")&&(_t=_t.map(function(It){return-It})),Oe.side&&_t.push({l:-1,t:-1,r:1,b:1}[Oe.side.charAt(0)]),_t},X.makeTransTickFn=function(Oe){return Oe._id.charAt(0)==="x"?function(Ne){return p(Oe._offset+Oe.l2p(Ne.x),0)}:function(Ne){return p(0,Oe._offset+Oe.l2p(Ne.x))}},X.makeTransTickLabelFn=function(Oe){var Ne=function(pt){var _t=pt.ticklabelposition||"",It=function(rn){return _t.indexOf(rn)!==-1},Lt=It("top"),yt=It("left"),Pt=It("right"),wt=It("bottom"),Ot=It("inside"),Nt=wt||yt||Lt||Pt;if(!Nt&&!Ot)return[0,0];var $t=pt.side,qt=Nt?(pt.tickwidth||0)/2:0,Xt=3,Qt=pt.tickfont?pt.tickfont.size:12;return(wt||Lt)&&(qt+=Qt*ne,Xt+=(pt.linewidth||0)/2),(yt||Pt)&&(qt+=(pt.linewidth||0)/2,Xt+=3),Ot&&$t==="top"&&(Xt-=Qt*(1-ne)),(yt||Lt)&&(qt=-qt),$t!=="bottom"&&$t!=="right"||(Xt=-Xt),[Nt?qt:0,Ot?Xt:0]}(Oe),Qe=Ne[0],ut=Ne[1];return Oe._id.charAt(0)==="x"?function(pt){return p(Qe+Oe._offset+Oe.l2p(ot(pt)),ut)}:function(pt){return p(ut,Qe+Oe._offset+Oe.l2p(ot(pt)))}},X.makeTickPath=function(Oe,Ne,Qe,ut){ut||(ut={});var pt=ut.minor;if(pt&&!Oe.minor)return"";var _t=ut.len!==void 0?ut.len:pt?Oe.minor.ticklen:Oe.ticklen,It=Oe._id.charAt(0),Lt=(Oe.linewidth||1)/2;return It==="x"?"M0,"+(Ne+Lt*Qe)+"v"+_t*Qe:"M"+(Ne+Lt*Qe)+",0h"+_t*Qe},X.makeLabelFns=function(Oe,Ne,Qe){var ut=Oe.ticklabelposition||"",pt=function(Rn){return ut.indexOf(Rn)!==-1},_t=pt("top"),It=pt("left"),Lt=pt("right"),yt=pt("bottom")||It||_t||Lt,Pt=pt("inside"),wt=ut==="inside"&&Oe.ticks==="inside"||!Pt&&Oe.ticks==="outside"&&Oe.tickson!=="boundaries",Ot=0,Nt=0,$t=wt?Oe.ticklen:0;if(Pt?$t*=-1:yt&&($t=0),wt&&(Ot+=$t,Qe)){var qt=v.deg2rad(Qe);Ot=$t*Math.cos(qt)+1,Nt=$t*Math.sin(qt)}Oe.showticklabels&&(wt||Oe.showline)&&(Ot+=.2*Oe.tickfont.size);var Xt,Qt,rn,xn,un,An={labelStandoff:Ot+=(Oe.linewidth||1)/2*(Pt?-1:1),labelShift:Nt},Yn=0,kn=Oe.side,sn=Oe._id.charAt(0),Tn=Oe.tickangle;if(sn==="x")xn=(un=!Pt&&kn==="bottom"||Pt&&kn==="top")?1:-1,Pt&&(xn*=-1),Xt=Nt*xn,Qt=Ne+Ot*xn,rn=un?1:-.2,Math.abs(Tn)===90&&(Pt?rn+=H:rn=Tn===-90&&kn==="bottom"?ne:Tn===90&&kn==="top"?H:.5,Yn=H/2*(Tn/90)),An.xFn=function(Rn){return Rn.dx+Xt+Yn*Rn.fontSize},An.yFn=function(Rn){return Rn.dy+Qt+Rn.fontSize*rn},An.anchorFn=function(Rn,In){if(yt){if(It)return"end";if(Lt)return"start"}return g(In)&&In!==0&&In!==180?In*xn<0!==Pt?"end":"start":"middle"},An.heightFn=function(Rn,In,jn){return In<-60||In>60?-.5*jn:Oe.side==="top"!==Pt?-jn:0};else if(sn==="y"){if(xn=(un=!Pt&&kn==="left"||Pt&&kn==="right")?1:-1,Pt&&(xn*=-1),Xt=Ot,Qt=Nt*xn,rn=0,Pt||Math.abs(Tn)!==90||(rn=Tn===-90&&kn==="left"||Tn===90&&kn==="right"?ne:.5),Pt){var dn=g(Tn)?+Tn:0;if(dn!==0){var pn=v.deg2rad(dn);Yn=Math.abs(Math.sin(pn))*ne*xn,rn=0}}An.xFn=function(Rn){return Rn.dx+Ne-(Xt+Rn.fontSize*rn)*xn+Yn*Rn.fontSize},An.yFn=function(Rn){return Rn.dy+Qt+Rn.fontSize*H},An.anchorFn=function(Rn,In){return g(In)&&Math.abs(In)===90?"middle":un?"end":"start"},An.heightFn=function(Rn,In,jn){return Oe.side==="right"&&(In*=-1),In<-30?-jn:In<30?-.5*jn:0}}return An},X.drawTicks=function(Oe,Ne,Qe){Qe=Qe||{};var ut=Ne._id+"tick",pt=[].concat(Ne.minor&&Ne.minor.ticks?Qe.vals.filter(function(It){return It.minor&&!It.noTick}):[]).concat(Ne.ticks?Qe.vals.filter(function(It){return!It.minor&&!It.noTick}):[]),_t=Qe.layer.selectAll("path."+ut).data(pt,ft);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("ticks",1).classed("crisp",Qe.crisp!==!1).each(function(It){return c.stroke(d.select(this),It.minor?Ne.minor.tickcolor:Ne.tickcolor)}).style("stroke-width",function(It){return s.crispRound(Oe,It.minor?Ne.minor.tickwidth:Ne.tickwidth,1)+"px"}).attr("d",Qe.path).style("display",null),nt(Ne,[Y]),_t.attr("transform",Qe.transFn)},X.drawGrid=function(Oe,Ne,Qe){if(Qe=Qe||{},Ne.tickmode!=="sync"){var ut=Ne._id+"grid",pt=Ne.minor&&Ne.minor.showgrid,_t=pt?Qe.vals.filter(function(rn){return rn.minor}):[],It=Ne.showgrid?Qe.vals.filter(function(rn){return!rn.minor}):[],Lt=Qe.counterAxis;if(Lt&&X.shouldShowZeroLine(Oe,Ne,Lt))for(var yt=Ne.tickmode==="array",Pt=0;Pt=0;qt--){var Xt=qt?Nt:$t;if(Xt){var Qt=Xt.selectAll("path."+ut).data(qt?It:_t,ft);Qt.exit().remove(),Qt.enter().append("path").classed(ut,1).classed("crisp",Qe.crisp!==!1),Qt.attr("transform",Qe.transFn).attr("d",Qe.path).each(function(rn){return c.stroke(d.select(this),rn.minor?Ne.minor.gridcolor:Ne.gridcolor||"#ddd")}).style("stroke-dasharray",function(rn){return s.dashStyle(rn.minor?Ne.minor.griddash:Ne.griddash,rn.minor?Ne.minor.gridwidth:Ne.gridwidth)}).style("stroke-width",function(rn){return(rn.minor?Ot:Ne._gw)+"px"}).style("display",null),typeof Qe.path=="function"&&Qt.attr("d",Qe.path)}}nt(Ne,[q,j])}},X.drawZeroLine=function(Oe,Ne,Qe){Qe=Qe||Qe;var ut=Ne._id+"zl",pt=X.shouldShowZeroLine(Oe,Ne,Qe.counterAxis),_t=Qe.layer.selectAll("path."+ut).data(pt?[{x:0,id:Ne._id}]:[]);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("zl",1).classed("crisp",Qe.crisp!==!1).each(function(){Qe.layer.selectAll("path").sort(function(It,Lt){return ie(It.id,Lt.id)})}),_t.attr("transform",Qe.transFn).attr("d",Qe.path).call(c.stroke,Ne.zerolinecolor||c.defaultLine).style("stroke-width",s.crispRound(Oe,Ne.zerolinewidth,Ne._gw||1)+"px").style("display",null),nt(Ne,[N])},X.drawLabels=function(Oe,Ne,Qe){Qe=Qe||{};var ut=Oe._fullLayout,pt=Ne._id,_t=pt.charAt(0),It=Qe.cls||pt+"tick",Lt=Qe.vals.filter(function(xn){return xn.text}),yt=Qe.labelFns,Pt=Qe.secondary?0:Ne.tickangle,wt=(Ne._prevTickAngles||{})[It],Ot=Qe.layer.selectAll("g."+It).data(Ne.showticklabels?Lt:[],ft),Nt=[];function $t(xn,un){xn.each(function(An){var Yn=d.select(this),kn=Yn.select(".text-math-group"),sn=yt.anchorFn(An,un),Tn=Qe.transFn.call(Yn.node(),An)+(g(un)&&+un!=0?" rotate("+un+","+yt.xFn(An)+","+(yt.yFn(An)-An.fontSize/2)+")":""),dn=u.lineCount(Yn),pn=te*An.fontSize,Rn=yt.heightFn(An,g(un)?+un:0,(dn-1)*pn);if(Rn&&(Tn+=p(0,Rn)),kn.empty()){var In=Yn.select("text");In.attr({transform:Tn,"text-anchor":sn}),In.style("opacity",1),Ne._adjustTickLabelsOverflow&&Ne._adjustTickLabelsOverflow()}else{var jn=s.bBox(kn.node()).width*{end:-.5,start:.5}[sn];kn.attr("transform",Tn+p(jn,0))}})}Ot.enter().append("g").classed(It,1).append("text").attr("text-anchor","middle").each(function(xn){var un=d.select(this),An=Oe._promises.length;un.call(u.positionText,yt.xFn(xn),yt.yFn(xn)).call(s.font,xn.font,xn.fontSize,xn.fontColor).text(xn.text).call(u.convertToTspans,Oe),Oe._promises[An]?Nt.push(Oe._promises.pop().then(function(){$t(un,Pt)})):$t(un,Pt)}),nt(Ne,[U]),Ot.exit().remove(),Qe.repositionOnUpdate&&Ot.each(function(xn){d.select(this).select("text").call(u.positionText,yt.xFn(xn),yt.yFn(xn))}),Ne._adjustTickLabelsOverflow=function(){var xn=Ne.ticklabeloverflow;if(xn&&xn!=="allow"){var un=xn.indexOf("hide")!==-1,An=Ne._id.charAt(0)==="x",Yn=0,kn=An?Oe._fullLayout.width:Oe._fullLayout.height;if(xn.indexOf("domain")!==-1){var sn=v.simpleMap(Ne.range,Ne.r2l);Yn=Ne.l2p(sn[0])+Ne._offset,kn=Ne.l2p(sn[1])+Ne._offset}var Tn=Math.min(Yn,kn),dn=Math.max(Yn,kn),pn=Ne.side,Rn=1/0,In=-1/0;for(var jn in Ot.each(function(ur){var rr=d.select(this);if(rr.select(".text-math-group").empty()){var Lr=s.bBox(rr.node()),br=0;An?(Lr.right>dn||Lr.leftdn||Lr.top+(Ne.tickangle?0:ur.fontSize/4)Ne["_visibleLabelMin_"+sn._id]?Wn.style("display","none"):dn.K!=="tick"||Tn||Wn.style("display",null)})})})})},$t(Ot,wt+1?wt:Pt);var qt=null;Ne._selections&&(Ne._selections[It]=Ot);var Xt=[function(){return Nt.length&&Promise.all(Nt)}];Ne.automargin&&ut._redrawFromAutoMarginCount&&wt===90?(qt=90,Xt.push(function(){$t(Ot,wt)})):Xt.push(function(){if($t(Ot,Pt),Lt.length&&_t==="x"&&!g(Pt)&&(Ne.type!=="log"||String(Ne.dtick).charAt(0)!=="D")){qt=0;var xn,un=0,An=[];if(Ot.each(function(rr){un=Math.max(un,rr.fontSize);var Lr=Ne.l2p(rr.x),br=kt(this),or=s.bBox(br.node());An.push({top:0,bottom:10,height:10,left:Lr-or.width/2,right:Lr+or.width/2+2,width:or.width+2})}),Ne.tickson!=="boundaries"&&!Ne.showdividers||Qe.secondary){var Yn=Lt.length,kn=Math.abs((Lt[Yn-1].x-Lt[0].x)*Ne._m)/(Yn-1),sn=Ne.ticklabelposition||"",Tn=function(rr){return sn.indexOf(rr)!==-1},dn=Tn("top"),pn=Tn("left"),Rn=Tn("right"),In=Tn("bottom")||pn||dn||Rn?(Ne.tickwidth||0)+6:0,jn=kn<2.5*un||Ne.type==="multicategory"||Ne._name==="realaxis";for(xn=0;xn1)for(Lt=1;Lt2*b}(f,l))return"date";var w=h.autotypenumbers!=="strict";return function(k,E){for(var T=k.length,A=c(T),L=0,b=0,O={},I=0;I2*L}(f,w)?"category":function(k,E){for(var T=k.length,A=0;A=2){var b,O,I="";if(L.length===2){for(b=0;b<2;b++)if(O=w(L[b])){I=m;break}}var R=A("pattern",I);if(R===m)for(b=0;b<2;b++)(O=w(L[b]))&&(E.bounds[b]=L[b]=O-1);if(R)for(b=0;b<2;b++)switch(O=L[b],R){case m:if(!d(O)||(O=+O)!==Math.floor(O)||O<0||O>=7)return void(E.enabled=!1);E.bounds[b]=L[b]=O;break;case _:if(!d(O)||(O=+O)<0||O>24)return void(E.enabled=!1);E.bounds[b]=L[b]=O}if(T.autorange===!1){var z=T.range;if(z[0]z[1])return void(E.enabled=!1)}else if(L[0]>z[0]&&L[1]u?1:-1:+(M.substr(1)||1)-+(v.substr(1)||1)},o.ref2id=function(M){return!!/^[xyz]/.test(M)&&M.split(" ")[0]},o.isLinked=function(M,v){return i(v,M._axisMatchGroups)||i(v,M._axisConstraintGroups)}},15258:function(x){x.exports=function(o,t,d,g){if(t.type==="category"){var i,M=o.categoryarray,v=Array.isArray(M)&&M.length>0;v&&(i="array");var p,u=d("categoryorder",i);u==="array"&&(p=d("categoryarray")),v||u!=="array"||(u=t.categoryorder="trace"),u==="trace"?t._initialCategories=[]:u==="array"?t._initialCategories=p.slice():(p=function(a,c){var s,l,h,f=c.dataAttr||a._id.charAt(0),m={};if(c.axData)s=c.axData;else for(s=[],l=0;lk?E.substr(k):T.substr(w))+A:E+T+y*C:A}function m(y,C){for(var w=C._size,k=w.h/w.w,E={},T=Object.keys(y),A=0;Au*F)||j){for(w=0;wQ&&ueZ&&(Z=ue);b/=(Z-te)/(2*X),te=T.l2r(te),Z=T.l2r(Z),T.range=T._input.range=W=0?Math.min(ue,.9):1/(1/Math.max(ue,-.3)+3.222))}function W(ue,ce,ye,de,me){return ue.append("path").attr("class","zoombox").style({fill:ce>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",u(ye,de)).attr("d",me+"Z")}function H(ue,ce,ye){return ue.append("path").attr("class","zoombox-corners").style({fill:c.background,stroke:c.defaultLine,"stroke-width":1,opacity:0}).attr("transform",u(ce,ye)).attr("d","M0,0Z")}function ne(ue,ce,ye,de,me,pe){ue.attr("d",de+"M"+ye.l+","+ye.t+"v"+ye.h+"h"+ye.w+"v-"+ye.h+"h-"+ye.w+"Z"),te(ue,ce,me,pe)}function te(ue,ce,ye,de){ye||(ue.transition().style("fill",de>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ce.transition().style("opacity",1).duration(200))}function Z(ue){d.select(ue).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function X(ue){B&&ue.data&&ue._context.showTips&&(g.notifier(g._(ue,"Double-click to zoom back out"),"long"),B=!1)}function Q(ue){var ce=Math.floor(Math.min(ue.b-ue.t,ue.r-ue.l,F)/2);return"M"+(ue.l-3.5)+","+(ue.t-.5+ce)+"h3v"+-ce+"h"+ce+"v-3h-"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.t-.5+ce)+"h-3v"+-ce+"h"+-ce+"v-3h"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.b+.5-ce)+"h-3v"+ce+"h"+-ce+"v3h"+(ce+3)+"ZM"+(ue.l-3.5)+","+(ue.b+.5-ce)+"h3v"+ce+"h"+ce+"v3h-"+(ce+3)+"Z"}function re(ue,ce,ye,de,me){for(var pe,xe,Pe,_e,Me=!1,Se={},Ce={},ae=(me||{}).xaHash,he=(me||{}).yaHash,be=0;be=0)dn._fullLayout._deactivateShape(dn);else{var pn=dn._fullLayout.clickmode;if(Z(dn),sn!==2||Ft||rn(),xt)pn.indexOf("select")>-1&&O(Tn,dn,ae,he,ce.id,pt),pn.indexOf("event")>-1&&l.click(dn,Tn,ce.id);else if(sn===1&&Ft){var Rn=xe?Me:_e,In=xe==="s"||Pe==="w"?0:1,jn=Rn._name+".range["+In+"]",Gn=function(rr,Lr){var br,or=rr.range[Lr],yr=Math.abs(or-rr.range[1-Lr]);return rr.type==="date"?or:rr.type==="log"?(br=Math.ceil(Math.max(0,-Math.log(yr)/Math.LN10))+3,i("."+br+"g")(Math.pow(10,or))):(br=Math.floor(Math.log(Math.abs(or))/Math.LN10)-Math.floor(Math.log(yr)/Math.LN10)+4,i("."+String(br)+"g")(or))}(Rn,In),Wn="left",ur="middle";if(Rn.fixedrange)return;xe?(ur=xe==="n"?"top":"bottom",Rn.side==="right"&&(Wn="right")):Pe==="e"&&(Wn="right"),dn._context.showAxisRangeEntryBoxes&&d.select(Wt).call(a.makeEditable,{gd:dn,immediate:!0,background:dn._fullLayout.paper_bgcolor,text:String(Gn),fill:Rn.tickfont?Rn.tickfont.color:"#444",horizontalAlign:Wn,verticalAlign:ur}).on("edit",function(rr){var Lr=Rn.d2r(rr);Lr!==void 0&&p.call("_guiRelayout",dn,jn,Lr)})}}}function Lt(sn,Tn){if(ue._transitioningWithDuration)return!1;var dn=Math.max(0,Math.min(Le,bt*sn+Vt)),pn=Math.max(0,Math.min(Be,Et*Tn+Ke)),Rn=Math.abs(dn-Vt),In=Math.abs(pn-Ke);function jn(){Oe="",Je.r=Je.l,Je.t=Je.b,Qe.attr("d","M0,0Z")}if(Je.l=Math.min(Vt,dn),Je.r=Math.max(Vt,dn),Je.t=Math.min(Ke,pn),Je.b=Math.max(Ke,pn),ze.isSubplotConstrained)Rn>F||In>F?(Oe="xy",Rn/Le>In/Be?(In=Rn*Be/Le,Ke>pn?Je.t=Ke-In:Je.b=Ke+In):(Rn=In*Le/Be,Vt>dn?Je.l=Vt-Rn:Je.r=Vt+Rn),Qe.attr("d",Q(Je))):jn();else if(je.isSubplotConstrained)if(Rn>F||In>F){Oe="xy";var Gn=Math.min(Je.l/Le,(Be-Je.b)/Be),Wn=Math.max(Je.r/Le,(Be-Je.t)/Be);Je.l=Gn*Le,Je.r=Wn*Le,Je.b=(1-Gn)*Be,Je.t=(1-Wn)*Be,Qe.attr("d",Q(Je))}else jn();else!we||In0){var ur;if(je.isSubplotConstrained||!ge&&we.length===1){for(ur=0;urT[1]-.000244140625&&(M.domain=a),g.noneOrAll(i.domain,M.domain,a),M.tickmode==="sync"&&(M.tickmode="auto")}return v("layer"),M}},89426:function(x,o,t){var d=t(59652);x.exports=function(g,i,M,v,p){p||(p={});var u=p.tickSuffixDflt,a=d(g);M("tickprefix")&&M("showtickprefix",a),M("ticksuffix",u)&&M("showticksuffix",a)}},42449:function(x,o,t){var d=t(18783).FROM_BL;x.exports=function(g,i,M){M===void 0&&(M=d[g.constraintoward||"center"]);var v=[g.r2l(g.range[0]),g.r2l(g.range[1])],p=v[0]+(v[1]-v[0])*M;g.range=g._input.range=[g.l2r(p+(v[0]-p)*i),g.l2r(p+(v[1]-p)*i)],g.setScale()}},21994:function(x,o,t){var d=t(39898),g=t(84096).g0,i=t(71828),M=i.numberFormat,v=t(92770),p=i.cleanNumber,u=i.ms2DateTime,a=i.dateTime2ms,c=i.ensureNumber,s=i.isArrayOrTypedArray,l=t(50606),h=l.FP_SAFE,f=l.BADNUM,m=l.LOG_CLIP,_=l.ONEWEEK,y=l.ONEDAY,C=l.ONEHOUR,w=l.ONEMIN,k=l.ONESEC,E=t(41675),T=t(85555),A=T.HOUR_PATTERN,L=T.WEEKDAY_PATTERN;function b(I){return Math.pow(10,I)}function O(I){return I!=null}x.exports=function(I,R){R=R||{};var z=I._id||"x",F=z.charAt(0);function B(re,ie){if(re>0)return Math.log(re)/Math.LN10;if(re<=0&&ie&&I.range&&I.range.length===2){var oe=I.range[0],ue=I.range[1];return .5*(oe+ue-2*m*Math.abs(oe-ue))}return f}function N(re,ie,oe,ue){if((ue||{}).msUTC&&v(re))return+re;var ce=a(re,oe||I.calendar);if(ce===f){if(!v(re))return f;re=+re;var ye=Math.floor(10*i.mod(re+.05,1)),de=Math.round(re-ye/10);ce=a(new Date(de))+ye/10}return ce}function q(re,ie,oe){return u(re,ie,oe||I.calendar)}function j(re){return I._categories[Math.round(re)]}function Y(re){if(O(re)){if(I._categoriesMap===void 0&&(I._categoriesMap={}),I._categoriesMap[re]!==void 0)return I._categoriesMap[re];I._categories.push(typeof re=="number"?String(re):re);var ie=I._categories.length-1;return I._categoriesMap[re]=ie,ie}return f}function U(re){if(I._categoriesMap)return I._categoriesMap[re]}function G(re){var ie=U(re);return ie!==void 0?ie:v(re)?+re:void 0}function W(re){return v(re)?+re:U(re)}function H(re,ie,oe){return d.round(oe+ie*re,2)}function ne(re,ie,oe){return(re-oe)/ie}var te=function(re){return v(re)?H(re,I._m,I._b):f},Z=function(re){return ne(re,I._m,I._b)};if(I.rangebreaks){var X=F==="y";te=function(re){if(!v(re))return f;var ie=I._rangebreaks.length;if(!ie)return H(re,I._m,I._b);var oe=X;I.range[0]>I.range[1]&&(oe=!oe);for(var ue=oe?-1:1,ce=ue*re,ye=0,de=0;depe)){ye=ce<(me+pe)/2?de:de+1;break}ye=de+1}var xe=I._B[ye]||0;return isFinite(xe)?H(re,I._m2,xe):0},Z=function(re){var ie=I._rangebreaks.length;if(!ie)return ne(re,I._m,I._b);for(var oe=0,ue=0;ueI._rangebreaks[ue].pmax&&(oe=ue+1);return ne(re,I._m2,I._B[oe])}}I.c2l=I.type==="log"?B:c,I.l2c=I.type==="log"?b:c,I.l2p=te,I.p2l=Z,I.c2p=I.type==="log"?function(re,ie){return te(B(re,ie))}:te,I.p2c=I.type==="log"?function(re){return b(Z(re))}:Z,["linear","-"].indexOf(I.type)!==-1?(I.d2r=I.r2d=I.d2c=I.r2c=I.d2l=I.r2l=p,I.c2d=I.c2r=I.l2d=I.l2r=c,I.d2p=I.r2p=function(re){return I.l2p(p(re))},I.p2d=I.p2r=Z,I.cleanPos=c):I.type==="log"?(I.d2r=I.d2l=function(re,ie){return B(p(re),ie)},I.r2d=I.r2c=function(re){return b(p(re))},I.d2c=I.r2l=p,I.c2d=I.l2r=c,I.c2r=B,I.l2d=b,I.d2p=function(re,ie){return I.l2p(I.d2r(re,ie))},I.p2d=function(re){return b(Z(re))},I.r2p=function(re){return I.l2p(p(re))},I.p2r=Z,I.cleanPos=c):I.type==="date"?(I.d2r=I.r2d=i.identity,I.d2c=I.r2c=I.d2l=I.r2l=N,I.c2d=I.c2r=I.l2d=I.l2r=q,I.d2p=I.r2p=function(re,ie,oe){return I.l2p(N(re,0,oe))},I.p2d=I.p2r=function(re,ie,oe){return q(Z(re),ie,oe)},I.cleanPos=function(re){return i.cleanDate(re,f,I.calendar)}):I.type==="category"?(I.d2c=I.d2l=Y,I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=W(re);return ie!==void 0?ie:I.fraction2r(.5)},I.l2r=I.c2r=c,I.r2l=W,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return typeof re=="string"&&re!==""?re:c(re)}):I.type==="multicategory"&&(I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=G(re);return ie!==void 0?ie:I.fraction2r(.5)},I.r2c_just_indices=U,I.l2r=I.c2r=c,I.r2l=G,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return Array.isArray(re)||typeof re=="string"&&re!==""?re:c(re)},I.setupMultiCategory=function(re){var ie,oe,ue=I._traceIndices,ce=I._matchGroup;if(ce&&I._categories.length===0){for(var ye in ce)if(ye!==z){var de=R[E.id2name(ye)];ue=ue.concat(de._traceIndices)}}var me=[[0,{}],[0,{}]],pe=[];for(ie=0;ieh&&(ce[oe]=h),ce[0]===ce[1]){var de=Math.max(1,Math.abs(1e-6*ce[0]));ce[0]-=de,ce[1]+=de}}else i.nestedProperty(I,re).set(ue)},I.setScale=function(re){var ie=R._size;if(I.overlaying){var oe=E.getFromId({_fullLayout:R},I.overlaying);I.domain=oe.domain}var ue=re&&I._r?"_r":"range",ce=I.calendar;I.cleanRange(ue);var ye,de,me=I.r2l(I[ue][0],ce),pe=I.r2l(I[ue][1],ce),xe=F==="y";if(xe?(I._offset=ie.t+(1-I.domain[1])*ie.h,I._length=ie.h*(I.domain[1]-I.domain[0]),I._m=I._length/(me-pe),I._b=-I._m*pe):(I._offset=ie.l+I.domain[0]*ie.w,I._length=ie.w*(I.domain[1]-I.domain[0]),I._m=I._length/(pe-me),I._b=-I._m*me),I._rangebreaks=[],I._lBreaks=0,I._m2=0,I._B=[],I.rangebreaks&&(I._rangebreaks=I.locateBreaks(Math.min(me,pe),Math.max(me,pe)),I._rangebreaks.length)){for(ye=0;yepe&&(Pe=!Pe),Pe&&I._rangebreaks.reverse();var _e=Pe?-1:1;for(I._m2=_e*I._length/(Math.abs(pe-me)-I._lBreaks),I._B.push(-I._m2*(xe?pe:me)),ye=0;yeue&&(ue+=7,ceue&&(ue+=24,ce=oe&&ce=oe&&re=je.min&&(keje.max&&(je.max=Le),Be=!1)}Be&&de.push({min:ke,max:Le})}};for(oe=0;oea.duration?(function(){for(var A={},L=0;L rect").call(M.setTranslate,0,0).call(M.setScale,1,1),w.plot.call(M.setTranslate,k._offset,E._offset).call(M.setScale,1,1);var T=w.plot.selectAll(".scatterlayer .trace");T.selectAll(".point").call(M.setPointGroupScale,1,1),T.selectAll(".textpoint").call(M.setTextPointsScale,1,1),T.call(M.hideOutsideRangePoints,w)}function C(w,k){var E=w.plotinfo,T=E.xaxis,A=E.yaxis,L=T._length,b=A._length,O=!!w.xr1,I=!!w.yr1,R=[];if(O){var z=i.simpleMap(w.xr0,T.r2l),F=i.simpleMap(w.xr1,T.r2l),B=z[1]-z[0],N=F[1]-F[0];R[0]=(z[0]*(1-k)+k*F[0]-z[0])/(z[1]-z[0])*L,R[2]=L*(1-k+k*N/B),T.range[0]=T.l2r(z[0]*(1-k)+k*F[0]),T.range[1]=T.l2r(z[1]*(1-k)+k*F[1])}else R[0]=0,R[2]=L;if(I){var q=i.simpleMap(w.yr0,A.r2l),j=i.simpleMap(w.yr1,A.r2l),Y=q[1]-q[0],U=j[1]-j[0];R[1]=(q[1]*(1-k)+k*j[1]-q[1])/(q[0]-q[1])*b,R[3]=b*(1-k+k*U/Y),A.range[0]=T.l2r(q[0]*(1-k)+k*j[0]),A.range[1]=A.l2r(q[1]*(1-k)+k*j[1])}else R[1]=0,R[3]=b;v.drawOne(p,T,{skipTitle:!0}),v.drawOne(p,A,{skipTitle:!0}),v.redrawComponents(p,[T._id,A._id]);var G=O?L/R[2]:1,W=I?b/R[3]:1,H=O?R[0]:0,ne=I?R[1]:0,te=O?R[0]/R[2]*L:0,Z=I?R[1]/R[3]*b:0,X=T._offset-te,Q=A._offset-Z;E.clipRect.call(M.setTranslate,H,ne).call(M.setScale,1/G,1/W),E.plot.call(M.setTranslate,X,Q).call(M.setScale,G,W),M.setPointGroupScale(E.zoomScalePts,1/G,1/W),M.setTextPointsScale(E.zoomScaleTxt,1/G,1/W)}v.redrawComponents(p)}},951:function(x,o,t){var d=t(73972).traceIs,g=t(4322);function i(v){return{v:"x",h:"y"}[v.orientation||"v"]}function M(v,p){var u=i(v),a=d(v,"box-violin"),c=d(v._fullInput||{},"candlestick");return a&&!c&&p===u&&v[u]===void 0&&v[u+"0"]===void 0}x.exports=function(v,p,u,a){u("autotypenumbers",a.autotypenumbersDflt),u("type",(a.splomStash||{}).type)==="-"&&(function(c,s){if(c.type==="-"){var l,h=c._id,f=h.charAt(0);h.indexOf("scene")!==-1&&(h=f);var m=function(A,L,b){for(var O=0;O0&&(I["_"+b+"axes"]||{})[L]||(I[b+"axis"]||b)===L&&(M(I,b)||(I[b]||[]).length||I[b+"0"]))return I}}(s,h,f);if(m)if(m.type!=="histogram"||f!=={v:"y",h:"x"}[m.orientation||"v"]){var _=f+"calendar",y=m[_],C={noMultiCategory:!d(m,"cartesian")||d(m,"noMultiCategory")};if(m.type==="box"&&m._hasPreCompStats&&f==={h:"x",v:"y"}[m.orientation||"v"]&&(C.noMultiCategory=!0),C.autotypenumbers=c.autotypenumbers,M(m,f)){var w=i(m),k=[];for(l=0;l0?".":"")+l;g.isPlainObject(h)?p(h,a,f,s+1):a(f,l,h)}})}o.manageCommandObserver=function(u,a,c,s){var l={},h=!0;a&&a._commandObserver&&(l=a._commandObserver),l.cache||(l.cache={}),l.lookupTable={};var f=o.hasSimpleAPICommandBindings(u,c,l.lookupTable);if(a&&a._commandObserver){if(f)return l;if(a._commandObserver.remove)return a._commandObserver.remove(),a._commandObserver=null,l}if(f){i(u,f,l.cache),l.check=function(){if(h){var y=i(u,f,l.cache);return y.changed&&s&&l.lookupTable[y.value]!==void 0&&(l.disable(),Promise.resolve(s({value:y.value,type:f.type,prop:f.prop,traces:f.traces,index:l.lookupTable[y.value]})).then(l.enable,l.enable)),y.changed}};for(var m=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],_=0;_0&&N<0&&(N+=360);var Y=(N-B)/4;return{type:"Polygon",coordinates:[[[B,q],[B,j],[B+Y,j],[B+2*Y,j],[B+3*Y,j],[N,j],[N,q],[N-Y,q],[N-2*Y,q],[N-3*Y,q],[B,q]]]}}x.exports=function(R){return new b(R)},O.plot=function(R,z,F,B){var N=this;if(B)return N.update(R,z,!0);N._geoCalcData=R,N._fullLayout=z;var q=z[this.id],j=[],Y=!1;for(var U in E.layerNameToAdjective)if(U!=="frame"&&q["show"+U]){Y=!0;break}for(var G=!1,W=0;W0&&j._module.calcGeoJSON(q,z)}if(!F){if(this.updateProjection(R,z))return;this.viewInitial&&this.scope===B.scope||this.saveViewInitial(B)}this.scope=B.scope,this.updateBaseLayers(z,B),this.updateDims(z,B),this.updateFx(z,B),h.generalUpdatePerTraceModule(this.graphDiv,this,R,B);var Y=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=Y.selectAll(".point"),this.dataPoints.text=Y.selectAll("text"),this.dataPaths.line=Y.selectAll(".js-line");var U=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=U.selectAll("path"),this._render()},O.updateProjection=function(R,z){var F=this.graphDiv,B=z[this.id],N=z._size,q=B.domain,j=B.projection,Y=B.lonaxis,U=B.lataxis,G=Y._ax,W=U._ax,H=this.projection=function(Ce){var ae=Ce.projection,he=ae.type,be=E.projNames[he];be="geo"+u.titleCase(be);for(var ke=(g[be]||v[be])(),Le=Ce._isSatellite?180*Math.acos(1/ae.distance)/Math.PI:Ce._isClipped?E.lonaxisSpan[he]/2:null,Be=["center","rotate","parallels","clipExtent"],ze=function(we){return we?ke:[]},je=0;jeLe*Math.PI/180}return!1},ke.getPath=function(){return i().projection(ke)},ke.getBounds=function(we){return ke.getPath().bounds(we)},ke.precision(E.precision),Ce._isSatellite&&ke.tilt(ae.tilt).distance(ae.distance),Le&&ke.clipAngle(Le-E.clipPad),ke}(B),ne=[[N.l+N.w*q.x[0],N.t+N.h*(1-q.y[1])],[N.l+N.w*q.x[1],N.t+N.h*(1-q.y[0])]],te=B.center||{},Z=j.rotation||{},X=Y.range||[],Q=U.range||[];if(B.fitbounds){G._length=ne[1][0]-ne[0][0],W._length=ne[1][1]-ne[0][1],G.range=m(F,G),W.range=m(F,W);var re=(G.range[0]+G.range[1])/2,ie=(W.range[0]+W.range[1])/2;if(B._isScoped)te={lon:re,lat:ie};else if(B._isClipped){te={lon:re,lat:ie},Z={lon:re,lat:ie,roll:Z.roll};var oe=j.type,ue=E.lonaxisSpan[oe]/2||180,ce=E.lataxisSpan[oe]/2||90;X=[re-ue,re+ue],Q=[ie-ce,ie+ce]}else te={lon:re,lat:ie},Z={lon:re,lat:Z.lat,roll:Z.roll}}H.center([te.lon-Z.lon,te.lat-Z.lat]).rotate([-Z.lon,-Z.lat,Z.roll]).parallels(j.parallels);var ye=I(X,Q);H.fitExtent(ne,ye);var de=this.bounds=H.getBounds(ye),me=this.fitScale=H.scale(),pe=H.translate();if(B.fitbounds){var xe=H.getBounds(I(G.range,W.range)),Pe=Math.min((de[1][0]-de[0][0])/(xe[1][0]-xe[0][0]),(de[1][1]-de[0][1])/(xe[1][1]-xe[0][1]));isFinite(Pe)?H.scale(Pe*me):u.warn("Something went wrong during"+this.id+"fitbounds computations.")}else H.scale(j.scale*me);var _e=this.midPt=[(de[0][0]+de[1][0])/2,(de[0][1]+de[1][1])/2];if(H.translate([pe[0]+(_e[0]-pe[0]),pe[1]+(_e[1]-pe[1])]).clipExtent(de),B._isAlbersUsa){var Me=H([te.lon,te.lat]),Se=H.translate();H.translate([Se[0]-(Me[0]-Se[0]),Se[1]-(Me[1]-Se[1])])}},O.updateBaseLayers=function(R,z){var F=this,B=F.topojson,N=F.layers,q=F.basePaths;function j(H){return H==="lonaxis"||H==="lataxis"}function Y(H){return!!E.lineLayers[H]}function U(H){return!!E.fillLayers[H]}var G=(this.hasChoropleth?E.layersForChoropleth:E.layers).filter(function(H){return Y(H)||U(H)?z["show"+H]:!j(H)||z[H].showgrid}),W=F.framework.selectAll(".layer").data(G,String);W.exit().each(function(H){delete N[H],delete q[H],d.select(this).remove()}),W.enter().append("g").attr("class",function(H){return"layer "+H}).each(function(H){var ne=N[H]=d.select(this);H==="bg"?F.bgRect=ne.append("rect").style("pointer-events","all"):j(H)?q[H]=ne.append("path").style("fill","none"):H==="backplot"?ne.append("g").classed("choroplethlayer",!0):H==="frontplot"?ne.append("g").classed("scatterlayer",!0):Y(H)?q[H]=ne.append("path").style("fill","none").style("stroke-miterlimit",2):U(H)&&(q[H]=ne.append("path").style("stroke","none"))}),W.order(),W.each(function(H){var ne=q[H],te=E.layerNameToAdjective[H];H==="frame"?ne.datum(E.sphereSVG):Y(H)||U(H)?ne.datum(L(B,B.objects[H])):j(H)&&ne.datum(function(Z,X,Q){var re,ie,oe,ue=X[Z],ce=E.scopeDefaults[X.scope];Z==="lonaxis"?(re=ce.lonaxisRange,ie=ce.lataxisRange,oe=function(Se,Ce){return[Se,Ce]}):Z==="lataxis"&&(re=ce.lataxisRange,ie=ce.lonaxisRange,oe=function(Se,Ce){return[Ce,Se]});var ye={type:"linear",range:[re[0],re[1]-1e-6],tick0:ue.tick0,dtick:ue.dtick};f.setConvert(ye,Q);var de=f.calcTicks(ye);X.isScoped||Z!=="lonaxis"||de.pop();for(var me=de.length,pe=new Array(me),xe=0;xe-1&&w(d.event,B,[F.xaxis],[F.yaxis],F.id,Y),j.indexOf("event")>-1&&l.click(B,d.event))})}function U(G){return F.projection.invert([G[0]+F.xaxis._offset,G[1]+F.yaxis._offset])}},O.makeFramework=function(){var R=this,z=R.graphDiv,F=z._fullLayout,B="clip"+F._uid+R.id;R.clipDef=F._clips.append("clipPath").attr("id",B),R.clipRect=R.clipDef.append("rect"),R.framework=d.select(R.container).append("g").attr("class","geo "+R.id).call(s.setClipUrl,B,z),R.project=function(N){var q=R.projection(N);return q?[q[0]-R.xaxis._offset,q[1]-R.yaxis._offset]:[null,null]},R.xaxis={_id:"x",c2p:function(N){return R.project(N)[0]}},R.yaxis={_id:"y",c2p:function(N){return R.project(N)[1]}},R.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},f.setConvert(R.mockAxis,F)},O.saveViewInitial=function(R){var z,F=R.center||{},B=R.projection,N=B.rotation||{};this.viewInitial={fitbounds:R.fitbounds,"projection.scale":B.scale},z=R._isScoped?{"center.lon":F.lon,"center.lat":F.lat}:R._isClipped?{"projection.rotation.lon":N.lon,"projection.rotation.lat":N.lat}:{"center.lon":F.lon,"center.lat":F.lat,"projection.rotation.lon":N.lon},u.extendFlat(this.viewInitial,z)},O.render=function(R){this._hasMarkerAngles&&R?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},O._render=function(){var R,z=this.projection,F=z.getPath();function B(q){var j=z(q.lonlat);return j?a(j[0],j[1]):null}function N(q){return z.isLonLatOverEdges(q.lonlat)?"none":null}for(R in this.basePaths)this.basePaths[R].attr("d",F);for(R in this.dataPaths)this.dataPaths[R].attr("d",function(q){return F(q.geojson)});for(R in this.dataPoints)this.dataPoints[R].attr("display",N).attr("transform",B)}},44622:function(x,o,t){var d=t(27659).AU,g=t(71828).counterRegex,i=t(69082),M="geo",v=g(M),p={};p.geo={valType:"subplotid",dflt:M,editType:"calc"},x.exports={attr:M,name:M,idRoot:M,idRegex:v,attrRegex:v,attributes:p,layoutAttributes:t(77519),supplyLayoutDefaults:t(82161),plot:function(u){for(var a=u._fullLayout,c=u.calcdata,s=a._subplots.geo,l=0;l0&&U<0&&(U+=360);var G,W,H,ne=(Y+U)/2;if(!C){var te=w?_.projRotate:[ne,0,0];G=s("projection.rotation.lon",te[0]),s("projection.rotation.lat",te[1]),s("projection.rotation.roll",te[2]),s("showcoastlines",!w&&L)&&(s("coastlinecolor"),s("coastlinewidth")),s("showocean",!!L&&void 0)&&s("oceancolor")}C?(W=-96.6,H=38.7):(W=w?ne:G,H=(j[0]+j[1])/2),s("center.lon",W),s("center.lat",H),k&&(s("projection.tilt"),s("projection.distance")),E&&s("projection.parallels",_.projParallels||[0,60]),s("projection.scale"),s("showland",!!L&&void 0)&&s("landcolor"),s("showlakes",!!L&&void 0)&&s("lakecolor"),s("showrivers",!!L&&void 0)&&(s("rivercolor"),s("riverwidth")),s("showcountries",w&&m!=="usa"&&L)&&(s("countrycolor"),s("countrywidth")),(m==="usa"||m==="north america"&&f===50)&&(s("showsubunits",L),s("subunitcolor"),s("subunitwidth")),w||s("showframe",L)&&(s("framecolor"),s("framewidth")),s("bgcolor"),s("fitbounds")&&(delete c.projection.scale,w?(delete c.center.lon,delete c.center.lat):T?(delete c.center.lon,delete c.center.lat,delete c.projection.rotation.lon,delete c.projection.rotation.lat,delete c.lonaxis.range,delete c.lataxis.range):(delete c.center.lon,delete c.center.lat,delete c.projection.rotation.lon))}x.exports=function(a,c,s){g(a,c,s,{type:"geo",attributes:v,handleDefaults:u,fullData:s,partition:"y"})}},74455:function(x,o,t){var d=t(39898),g=t(71828),i=t(73972),M=Math.PI/180,v=180/Math.PI,p={cursor:"pointer"},u={cursor:"auto"};function a(L,b){return d.behavior.zoom().translate(b.translate()).scale(b.scale())}function c(L,b,O){var I=L.id,R=L.graphDiv,z=R.layout,F=z[I],B=R._fullLayout,N=B[I],q={},j={};function Y(U,G){q[I+"."+U]=g.nestedProperty(F,U).get(),i.call("_storeDirectGUIEdit",z,B._preGUI,q);var W=g.nestedProperty(N,U);W.get()!==G&&(W.set(G),g.nestedProperty(F,U).set(G),j[I+"."+U]=G)}O(Y),Y("projection.scale",b.scale()/L.fitScale),Y("fitbounds",!1),R.emit("plotly_relayout",j)}function s(L,b){var O=a(0,b);function I(R){var z=b.invert(L.midPt);R("center.lon",z[0]),R("center.lat",z[1])}return O.on("zoomstart",function(){d.select(this).style(p)}).on("zoom",function(){b.scale(d.event.scale).translate(d.event.translate),L.render(!0);var R=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":R[0],"geo.center.lat":R[1]})}).on("zoomend",function(){d.select(this).style(u),c(L,b,I)}),O}function l(L,b){var O,I,R,z,F,B,N,q,j,Y=a(0,b);function U(W){return b.invert(W)}function G(W){var H=b.rotate(),ne=b.invert(L.midPt);W("projection.rotation.lon",-H[0]),W("center.lon",ne[0]),W("center.lat",ne[1])}return Y.on("zoomstart",function(){d.select(this).style(p),O=d.mouse(this),I=b.rotate(),R=b.translate(),z=I,F=U(O)}).on("zoom",function(){if(B=d.mouse(this),function(ne){var te=U(ne);if(!te)return!0;var Z=b(te);return Math.abs(Z[0]-ne[0])>2||Math.abs(Z[1]-ne[1])>2}(O))return Y.scale(b.scale()),void Y.translate(b.translate());b.scale(d.event.scale),b.translate([R[0],d.event.translate[1]]),F?U(B)&&(q=U(B),N=[z[0]+(q[0]-F[0]),I[1],I[2]],b.rotate(N),z=N):F=U(O=B),j=!0,L.render(!0);var W=b.rotate(),H=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":H[0],"geo.center.lat":H[1],"geo.projection.rotation.lon":-W[0]})}).on("zoomend",function(){d.select(this).style(u),j&&c(L,b,G)}),Y}function h(L,b){var O;b.rotate(),b.scale();var I=a(0,b),R=function(Y){for(var U=0,G=arguments.length,W=[];++UG?(z=(j>0?90:-90)-U,R=0):(z=Math.asin(j/G)*v-U,R=Math.sqrt(G*G-j*j));var W=180-z-2*U,H=(Math.atan2(Y,q)-Math.atan2(N,R))*v,ne=(Math.atan2(Y,q)-Math.atan2(N,-R))*v;return w(O[0],O[1],z,H)<=w(O[0],O[1],W,ne)?[z,H,O[2]]:[W,ne,O[2]]}function w(L,b,O,I){var R=k(O-L),z=k(I-b);return Math.sqrt(R*R+z*z)}function k(L){return(L%360+540)%360-180}function E(L,b,O){var I=O*M,R=L.slice(),z=b===0?1:0,F=b===2?1:2,B=Math.cos(I),N=Math.sin(I);return R[z]=L[z]*B-L[F]*N,R[F]=L[F]*B+L[z]*N,R}function T(L){return[Math.atan2(2*(L[0]*L[1]+L[2]*L[3]),1-2*(L[1]*L[1]+L[2]*L[2]))*v,Math.asin(Math.max(-1,Math.min(1,2*(L[0]*L[2]-L[3]*L[1]))))*v,Math.atan2(2*(L[0]*L[3]+L[1]*L[2]),1-2*(L[2]*L[2]+L[3]*L[3]))*v]}function A(L,b){for(var O=0,I=0,R=L.length;IMath.abs(C)?(s.boxEnd[1]=s.boxStart[1]+Math.abs(y)*F*(C>=0?1:-1),s.boxEnd[1]w[3]&&(s.boxEnd[1]=w[3],s.boxEnd[0]=s.boxStart[0]+(w[3]-s.boxStart[1])/Math.abs(F))):(s.boxEnd[0]=s.boxStart[0]+Math.abs(C)/F*(y>=0?1:-1),s.boxEnd[0]w[2]&&(s.boxEnd[0]=w[2],s.boxEnd[1]=s.boxStart[1]+(w[2]-s.boxStart[0])*Math.abs(F)))}}else s.boxEnabled?(y=s.boxStart[0]!==s.boxEnd[0],C=s.boxStart[1]!==s.boxEnd[1],y||C?(y&&(b(0,s.boxStart[0],s.boxEnd[0]),u.xaxis.autorange=!1),C&&(b(1,s.boxStart[1],s.boxEnd[1]),u.yaxis.autorange=!1),u.relayoutCallback()):u.glplot.setDirty(),s.boxEnabled=!1,s.boxInited=!1):s.boxInited&&(s.boxInited=!1);break;case"pan":s.boxEnabled=!1,s.boxInited=!1,f?(s.panning||(s.dragStart[0]=m,s.dragStart[1]=_),Math.abs(s.dragStart[0]-m).999&&(T="turntable"):T="turntable")}else T="turntable";h("dragmode",T),h("hovermode",f.getDfltFromLayout("hovermode"))}x.exports=function(s,l,h){var f=l._basePlotModules.length>1;M(s,l,h,{type:a,attributes:p,handleDefaults:c,fullLayout:l,font:l.font,fullData:h,getDfltFromLayout:function(m){if(!f)return d.validate(s[m],p[m])?s[m]:void 0},autotypenumbersDflt:l.autotypenumbers,paper_bgcolor:l.paper_bgcolor,calendar:l.calendar})}},65500:function(x,o,t){var d=t(77894),g=t(27670).Y,i=t(1426).extendFlat,M=t(71828).counterRegex;function v(p,u,a){return{x:{valType:"number",dflt:p,editType:"camera"},y:{valType:"number",dflt:u,editType:"camera"},z:{valType:"number",dflt:a,editType:"camera"},editType:"camera"}}x.exports={_arrayAttrRegexps:[M("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:i(v(0,0,1),{}),center:i(v(0,0,0),{}),eye:i(v(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:g({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:d,yaxis:d,zaxis:d,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"}}}},13133:function(x,o,t){var d=t(78614),g=["xaxis","yaxis","zaxis"];function i(){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]}i.prototype.merge=function(M){for(var v=0;v<3;++v){var p=M[g[v]];p.visible?(this.enabled[v]=p.showspikes,this.colors[v]=d(p.spikecolor),this.drawSides[v]=p.spikesides,this.lineWidth[v]=p.spikethickness):(this.enabled[v]=!1,this.drawSides[v]=!1)}},x.exports=function(M){var v=new i;return v.merge(M),v}},96085:function(x,o,t){x.exports=function(v){for(var p=v.axesOptions,u=v.glplot.axesPixels,a=v.fullSceneLayout,c=[[],[],[]],s=0;s<3;++s){var l=a[i[s]];if(l._length=(u[s].hi-u[s].lo)*u[s].pixelsPerDataUnit/v.dataScale[s],Math.abs(l._length)===1/0||isNaN(l._length))c[s]=[];else{l._input_range=l.range.slice(),l.range[0]=u[s].lo/v.dataScale[s],l.range[1]=u[s].hi/v.dataScale[s],l._m=1/(v.dataScale[s]*u[s].pixelsPerDataUnit),l.range[0]===l.range[1]&&(l.range[0]-=1,l.range[1]+=1);var h=l.tickmode;if(l.tickmode==="auto"){l.tickmode="linear";var f=l.nticks||g.constrain(l._length/40,4,9);d.autoTicks(l,Math.abs(l.range[1]-l.range[0])/f)}for(var m=d.calcTicks(l,{msUTC:!0}),_=0;_/g," "));c[s]=m,l.tickmode=h}}for(p.ticks=c,s=0;s<3;++s)for(M[s]=.5*(v.glplot.bounds[0][s]+v.glplot.bounds[1][s]),_=0;_<2;++_)p.bounds[_][s]=v.glplot.bounds[_][s];v.contourLevels=function(y){for(var C=new Array(3),w=0;w<3;++w){for(var k=y[w],E=new Array(k.length),T=0;TB.deltaY?1.1:.9090909090909091,q=O.glplot.getAspectratio();O.glplot.setAspectratio({x:N*q.x,y:N*q.y,z:N*q.z})}F(O)}},!!u&&{passive:!1}),O.glplot.canvas.addEventListener("mousemove",function(){if(O.fullSceneLayout.dragmode!==!1&&O.camera.mouseListener.buttons!==0){var B=z();O.graphDiv.emit("plotly_relayouting",B)}}),O.staticMode||O.glplot.canvas.addEventListener("webglcontextlost",function(B){I&&I.emit&&I.emit("plotly_webglcontextlost",{event:B,layer:O.id})},!1)),O.glplot.oncontextloss=function(){O.recoverContext()},O.glplot.onrender=function(){O.render()},!0},T.render=function(){var O,I=this,R=I.graphDiv,z=I.svgContainer,F=I.container.getBoundingClientRect();R._fullLayout._calcInverseTransform(R);var B=R._fullLayout._invScaleX,N=R._fullLayout._invScaleY,q=F.width*B,j=F.height*N;z.setAttributeNS(null,"viewBox","0 0 "+q+" "+j),z.setAttributeNS(null,"width",q),z.setAttributeNS(null,"height",j),w(I),I.glplot.axes.update(I.axesOptions);for(var Y=Object.keys(I.traces),U=null,G=I.glplot.selection,W=0;W")):O.type==="isosurface"||O.type==="volume"?(Q.valueLabel=l.hoverLabelText(I._mockAxis,I._mockAxis.d2l(G.traceCoordinate[3]),O.valuehoverformat),ue.push("value: "+Q.valueLabel),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):te=G.textLabel;var ce={x:G.traceCoordinate[0],y:G.traceCoordinate[1],z:G.traceCoordinate[2],data:Z._input,fullData:Z,curveNumber:Z.index,pointNumber:X};h.appendArrayPointValue(ce,Z,X),O._module.eventData&&(ce=Z._module.eventData(ce,G,Z,{},X));var ye={points:[ce]};if(I.fullSceneLayout.hovermode){var de=[];h.loneHover({trace:Z,x:(.5+.5*ne[0]/ne[3])*q,y:(.5-.5*ne[1]/ne[3])*j,xLabel:Q.xLabel,yLabel:Q.yLabel,zLabel:Q.zLabel,text:te,name:U.name,color:h.castHoverOption(Z,X,"bgcolor")||U.color,borderColor:h.castHoverOption(Z,X,"bordercolor"),fontFamily:h.castHoverOption(Z,X,"font.family"),fontSize:h.castHoverOption(Z,X,"font.size"),fontColor:h.castHoverOption(Z,X,"font.color"),nameLength:h.castHoverOption(Z,X,"namelength"),textAlign:h.castHoverOption(Z,X,"align"),hovertemplate:c.castOption(Z,X,"hovertemplate"),hovertemplateLabels:c.extendFlat({},ce,Q),eventData:[ce]},{container:z,gd:R,inOut_bbox:de}),ce.bbox=de[0]}G.distance<5&&(G.buttons||k)?R.emit("plotly_click",ye):R.emit("plotly_hover",ye),this.oldEventData=ye}else h.loneUnhover(z),this.oldEventData&&R.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;I.drawAnnotations(I)},T.recoverContext=function(){var O=this;O.glplot.dispose();var I=function(){O.glplot.gl.isContextLost()?requestAnimationFrame(I):O.initializeGLPlot()?O.plot.apply(O,O.plotArgs):c.error("Catastrophic and unrecoverable WebGL error. Context lost.")};requestAnimationFrame(I)};var L=["xaxis","yaxis","zaxis"];function b(O,I,R){for(var z=O.fullSceneLayout,F=0;F<3;F++){var B=L[F],N=B.charAt(0),q=z[B],j=I[N],Y=I[N+"calendar"],U=I["_"+N+"length"];if(c.isArrayOrTypedArray(j))for(var G,W=0;W<(U||j.length);W++)if(c.isArrayOrTypedArray(j[W]))for(var H=0;HZ[1][N])Z[0][N]=-1,Z[1][N]=1;else{var pe=Z[1][N]-Z[0][N];Z[0][N]-=pe/32,Z[1][N]+=pe/32}if(j.autorange==="reversed"){var xe=Z[0][N];Z[0][N]=Z[1][N],Z[1][N]=xe}}else{var Pe=j.range;Z[0][N]=j.r2l(Pe[0]),Z[1][N]=j.r2l(Pe[1])}Z[0][N]===Z[1][N]&&(Z[0][N]-=1,Z[1][N]+=1),X[N]=Z[1][N]-Z[0][N],z.glplot.setBounds(N,{min:Z[0][N]*H[N],max:Z[1][N]*H[N]})}var _e=U.aspectmode;if(_e==="cube")te=[1,1,1];else if(_e==="manual"){var Me=U.aspectratio;te=[Me.x,Me.y,Me.z]}else{if(_e!=="auto"&&_e!=="data")throw new Error("scene.js aspectRatio was not one of the enumerated types");var Se=[1,1,1];for(N=0;N<3;++N){var Ce=Q[Y=(j=U[L[N]]).type];Se[N]=Math.pow(Ce.acc,1/Ce.count)/H[N]}te=_e==="data"||Math.max.apply(null,Se)/Math.min.apply(null,Se)<=4?Se:[1,1,1]}U.aspectratio.x=G.aspectratio.x=te[0],U.aspectratio.y=G.aspectratio.y=te[1],U.aspectratio.z=G.aspectratio.z=te[2],z.glplot.setAspectratio(U.aspectratio),z.viewInitial.aspectratio||(z.viewInitial.aspectratio={x:U.aspectratio.x,y:U.aspectratio.y,z:U.aspectratio.z}),z.viewInitial.aspectmode||(z.viewInitial.aspectmode=U.aspectmode);var ae=U.domain||null,he=I._size||null;if(ae&&he){var be=z.container.style;be.position="absolute",be.left=he.l+ae.x[0]*he.w+"px",be.top=he.t+(1-ae.y[1])*he.h+"px",be.width=he.w*(ae.x[1]-ae.x[0])+"px",be.height=he.h*(ae.y[1]-ae.y[0])+"px"}z.glplot.redraw()}},T.destroy=function(){var O=this;O.glplot&&(O.camera.mouseListener.enabled=!1,O.container.removeEventListener("wheel",O.camera.wheelListener),O.camera=null,O.glplot.dispose(),O.container.parentNode.removeChild(O.container),O.glplot=null)},T.getCamera=function(){var O,I=this;return I.camera.view.recalcMatrix(I.camera.view.lastT()),{up:{x:(O=I.camera).up[0],y:O.up[1],z:O.up[2]},center:{x:O.center[0],y:O.center[1],z:O.center[2]},eye:{x:O.eye[0],y:O.eye[1],z:O.eye[2]},projection:{type:O._ortho===!0?"orthographic":"perspective"}}},T.setViewport=function(O){var I,R=this,z=O.camera;R.camera.lookAt.apply(this,[[(I=z).eye.x,I.eye.y,I.eye.z],[I.center.x,I.center.y,I.center.z],[I.up.x,I.up.y,I.up.z]]),R.glplot.setAspectratio(O.aspectratio),z.projection.type==="orthographic"!==R.camera._ortho&&(R.glplot.redraw(),R.glplot.clearRGBA(),R.glplot.dispose(),R.initializeGLPlot())},T.isCameraChanged=function(O){var I=this.getCamera(),R=c.nestedProperty(O,this.id+".camera").get();function z(q,j,Y,U){var G=["up","center","eye"],W=["x","y","z"];return j[G[Y]]&&q[G[Y]][W[U]]===j[G[Y]][W[U]]}var F=!1;if(R===void 0)F=!0;else{for(var B=0;B<3;B++)for(var N=0;N<3;N++)if(!z(I,R,B,N)){F=!0;break}(!R.projection||I.projection&&I.projection.type!==R.projection.type)&&(F=!0)}return F},T.isAspectChanged=function(O){var I=this.glplot.getAspectratio(),R=c.nestedProperty(O,this.id+".aspectratio").get();return R===void 0||R.x!==I.x||R.y!==I.y||R.z!==I.z},T.saveLayout=function(O){var I,R,z,F,B,N,q=this,j=q.fullLayout,Y=q.isCameraChanged(O),U=q.isAspectChanged(O),G=Y||U;if(G){var W={};Y&&(I=q.getCamera(),z=(R=c.nestedProperty(O,q.id+".camera")).get(),W[q.id+".camera"]=z),U&&(F=q.glplot.getAspectratio(),N=(B=c.nestedProperty(O,q.id+".aspectratio")).get(),W[q.id+".aspectratio"]=N),a.call("_storeDirectGUIEdit",O,j._preGUI,W),Y&&(R.set(I),c.nestedProperty(j,q.id+".camera").set(I)),U&&(B.set(F),c.nestedProperty(j,q.id+".aspectratio").set(F),q.glplot.redraw())}return G},T.updateFx=function(O,I){var R=this,z=R.camera;if(z)if(O==="orbit")z.mode="orbit",z.keyBindingMode="rotate";else if(O==="turntable"){z.up=[0,0,1],z.mode="turntable",z.keyBindingMode="rotate";var F=R.graphDiv,B=F._fullLayout,N=R.fullSceneLayout.camera,q=N.up.x,j=N.up.y,Y=N.up.z;if(Y/Math.sqrt(q*q+j*j+Y*Y)<.999){var U=R.id+".camera.up",G={x:0,y:0,z:1},W={};W[U]=G;var H=F.layout;a.call("_storeDirectGUIEdit",H,B._preGUI,W),N.up=G,c.nestedProperty(H,U).set(G)}}else z.keyBindingMode=O;R.fullSceneLayout.hovermode=I},T.toImage=function(O){var I=this;O||(O="png"),I.staticMode&&I.container.appendChild(d),I.glplot.redraw();var R=I.glplot.gl,z=R.drawingBufferWidth,F=R.drawingBufferHeight;R.bindFramebuffer(R.FRAMEBUFFER,null);var B=new Uint8Array(z*F*4);R.readPixels(0,0,z,F,R.RGBA,R.UNSIGNED_BYTE,B),function(U,G,W){for(var H=0,ne=W-1;H0)for(var X=255/Z,Q=0;Q<3;++Q)U[te+Q]=Math.min(X*U[te+Q],255)}}(B,z,F);var N=document.createElement("canvas");N.width=z,N.height=F;var q,j=N.getContext("2d",{willReadFrequently:!0}),Y=j.createImageData(z,F);switch(Y.data.set(B),j.putImageData(Y,0,0),O){case"jpeg":q=N.toDataURL("image/jpeg");break;case"webp":q=N.toDataURL("image/webp");break;default:q=N.toDataURL("image/png")}return I.staticMode&&I.container.removeChild(d),q},T.setConvert=function(){for(var O=0;O<3;O++){var I=this.fullSceneLayout[L[O]];l.setConvert(I,this.fullLayout),I.setScale=c.noop}},T.make4thDimension=function(){var O=this,I=O.graphDiv._fullLayout;O._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},l.setConvert(O._mockAxis,I)},x.exports=E},90060:function(x){x.exports=function(o,t,d,g){g=g||o.length;for(var i=new Array(g),M=0;MOpenStreetMap contributors',i=['© Carto',g].join(" "),M=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),v={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:g,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}]},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}]},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:i,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}]},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:i,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}]},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}]},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}]},"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://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}]}},p=d(v);x.exports={requiredVersion:"1.10.1",styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:v,styleValuesNonMapbox:p,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@1.10.1."].join(` +`+G.year}return z(q,N,Y,U)};var B=3*c;o.incrementMonth=function(N,q,j){j=k(j)&&j;var Y=p(N,c);if(N=Math.round(N-Y),j)try{var U=Math.round(N/c)+f,G=m.getComponentMethod("calendars","getCal")(j),W=G.fromJD(U);return q%12?G.add(W,q,"m"):G.add(W,q/12,"y"),(W.toJD()-f)*c+Y}catch{g.error("invalid ms "+N+" in calendar "+j)}var H=new Date(N+B);return H.setUTCMonth(H.getUTCMonth()+q)+Y-B},o.findExactDates=function(N,q){for(var j,Y,U=0,G=0,W=0,H=0,ne=k(q)&&m.getComponentMethod("calendars","getCal")(q),te=0;te0&&b[O+1][0]<0)return O;return null}switch(_=T==="RUS"||T==="FJI"?function(b){var O;if(L(b)===null)O=b;else for(O=new Array(b.length),w=0;wO?I[R++]=[b[w][0]+360,b[w][1]]:w===O?(I[R++]=b[w],I[R++]=[b[w][0],-90]):I[R++]=b[w];var z=s.tester(I);z.pts.pop(),A.push(z)}:function(b){A.push(s.tester(b))},k.type){case"MultiPolygon":for(y=0;yj&&(j=G,B=U)}else B=N;return M.default(B).geometry.coordinates}(z),I.fIn=b,I.fOut=z,k.push(z)}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 w[O]}switch(y.type){case"FeatureCollection":var A=y.features;for(C=0;C100?(clearInterval(O),L("Unexpected error while fetching from "+T)):void b++},50)})}for(var k=0;k0&&(M.push(g),g=[])}return g.length>0&&M.push(g),M},o.makeLine=function(v){return v.length===1?{type:"LineString",coordinates:v[0]}:{type:"MultiLineString",coordinates:v}},o.makePolygon=function(v){if(v.length===1)return{type:"Polygon",coordinates:v};for(var i=new Array(v.length),M=0;M1||A<0||A>1?null:{x:u+_*A,y:a+w*A}}function p(u,a,c,s,l){var h=s*u+l*a;if(h<0)return s*s+l*l;if(h>c){var f=s-u,m=l-a;return f*f+m*m}var _=s*a-l*u;return _*_/c}o.segmentsIntersect=g,o.segmentDistance=function(u,a,c,s,l,h,f,m){if(g(u,a,c,s,l,h,f,m))return 0;var _=c-u,y=s-a,C=f-l,w=m-h,k=_*_+y*y,E=C*C+w*w,T=Math.min(p(_,y,k,l-u,h-a),p(_,y,k,f-u,m-a),p(C,w,E,u-l,a-h),p(C,w,E,c-l,s-h));return Math.sqrt(T)},o.getTextLocation=function(u,a,c,s){if(u===v&&s===i||(d={},v=u,i=s),d[c])return d[c];var l=u.getPointAtLength(M(c-s/2,a)),h=u.getPointAtLength(M(c+s/2,a)),f=Math.atan((h.y-l.y)/(h.x-l.x)),m=u.getPointAtLength(M(c,a)),_={x:(4*m.x+l.x+h.x)/6,y:(4*m.y+l.y+h.y)/6,theta:f};return d[c]=_,_},o.clearLocationCache=function(){v=null},o.getVisibleSegment=function(u,a,c){var s,l,h=a.left,f=a.right,m=a.top,_=a.bottom,y=0,C=u.getTotalLength(),w=C;function k(T){var A=u.getPointAtLength(T);T===0?s=A:T===C&&(l=A);var L=A.xf?A.x-f:0,b=A.y_?A.y-_:0;return Math.sqrt(L*L+b*b)}for(var E=k(y);E;){if((y+=E+c)>w)return;E=k(y)}for(E=k(w);E;){if(y>(w-=E+c))return;E=k(w)}return{min:y,max:w,len:w-y,total:C,isClosed:y===0&&w===C&&Math.abs(s.x-l.x)<.1&&Math.abs(s.y-l.y)<.1}},o.findPointOnPath=function(u,a,c,s){for(var l,h,f,m=(s=s||{}).pathLength||u.getTotalLength(),_=s.tolerance||.001,y=s.iterationLimit||30,C=u.getPointAtLength(0)[c]>u.getPointAtLength(m)[c]?-1:1,w=0,k=0,E=m;w0?E=l:k=l,w++}return h}},81697:function(x,o,t){var d=t(92770),v=t(84267),i=t(25075),M=t(21081),g=t(22399).defaultLine,p=t(73627).isArrayOrTypedArray,u=i(g);function a(l,h){var f=l;return f[3]*=h,f}function c(l){if(d(l))return u;var h=i(l);return h.length?h:u}function s(l){return d(l)?l:1}x.exports={formatColor:function(l,h,f){var m,_,y,C,w,k=l.color,E=p(k),T=p(h),A=M.extractOpts(l),L=[];if(m=A.colorscale!==void 0?M.makeColorScaleFuncFromTrace(l):c,_=E?function(O,I){return O[I]===void 0?u:i(m(O[I]))}:c,y=T?function(O,I){return O[I]===void 0?1:s(O[I])}:s,E||T)for(var b=0;b1?(d*o+d*t)/d:o+t,i=String(v).length;if(i>16){var M=String(t).length;if(i>=String(o).length+M){var g=parseFloat(v).toPrecision(12);g.indexOf("e+")===-1&&(v=+g)}}return v}},71828:function(x,o,t){var d=t(39898),v=t(84096).g0,i=t(60721).WU,M=t(92770),g=t(50606),p=g.FP_SAFE,u=-p,a=g.BADNUM,c=x.exports={};c.adjustFormat=function(Q){return!Q||/^\d[.]\df/.test(Q)||/[.]\d%/.test(Q)?Q:Q==="0.f"?"~f":/^\d%/.test(Q)?"~%":/^\ds/.test(Q)?"~s":!/^[~,.0$]/.test(Q)&&/[&fps]/.test(Q)?"~"+Q:Q};var s={};c.warnBadFormat=function(Q){var re=String(Q);s[re]||(s[re]=1,c.warn('encountered bad format: "'+re+'"'))},c.noFormat=function(Q){return String(Q)},c.numberFormat=function(Q){var re;try{re=i(c.adjustFormat(Q))}catch{return c.warnBadFormat(Q),c.noFormat}return re},c.nestedProperty=t(65487),c.keyedContainer=t(66636),c.relativeAttr=t(6962),c.isPlainObject=t(41965),c.toLogRange=t(58163),c.relinkPrivateKeys=t(51332);var l=t(73627);c.isTypedArray=l.isTypedArray,c.isArrayOrTypedArray=l.isArrayOrTypedArray,c.isArray1D=l.isArray1D,c.ensureArray=l.ensureArray,c.concat=l.concat,c.maxRowLength=l.maxRowLength,c.minRowLength=l.minRowLength;var h=t(64872);c.mod=h.mod,c.modHalf=h.modHalf;var f=t(96554);c.valObjectMeta=f.valObjectMeta,c.coerce=f.coerce,c.coerce2=f.coerce2,c.coerceFont=f.coerceFont,c.coercePattern=f.coercePattern,c.coerceHoverinfo=f.coerceHoverinfo,c.coerceSelectionMarkerOpacity=f.coerceSelectionMarkerOpacity,c.validate=f.validate;var m=t(41631);c.dateTime2ms=m.dateTime2ms,c.isDateTime=m.isDateTime,c.ms2DateTime=m.ms2DateTime,c.ms2DateTimeLocal=m.ms2DateTimeLocal,c.cleanDate=m.cleanDate,c.isJSDate=m.isJSDate,c.formatDate=m.formatDate,c.incrementMonth=m.incrementMonth,c.dateTick0=m.dateTick0,c.dfltRange=m.dfltRange,c.findExactDates=m.findExactDates,c.MIN_MS=m.MIN_MS,c.MAX_MS=m.MAX_MS;var _=t(65888);c.findBin=_.findBin,c.sorterAsc=_.sorterAsc,c.sorterDes=_.sorterDes,c.distinctVals=_.distinctVals,c.roundUp=_.roundUp,c.sort=_.sort,c.findIndexOfMin=_.findIndexOfMin,c.sortObjectKeys=t(78607);var y=t(80038);c.aggNums=y.aggNums,c.len=y.len,c.mean=y.mean,c.median=y.median,c.midRange=y.midRange,c.variance=y.variance,c.stdev=y.stdev,c.interp=y.interp;var C=t(35657);c.init2dArray=C.init2dArray,c.transposeRagged=C.transposeRagged,c.dot=C.dot,c.translationMatrix=C.translationMatrix,c.rotationMatrix=C.rotationMatrix,c.rotationXYMatrix=C.rotationXYMatrix,c.apply3DTransform=C.apply3DTransform,c.apply2DTransform=C.apply2DTransform,c.apply2DTransform2=C.apply2DTransform2,c.convertCssMatrix=C.convertCssMatrix,c.inverseTransformMatrix=C.inverseTransformMatrix;var w=t(26348);c.deg2rad=w.deg2rad,c.rad2deg=w.rad2deg,c.angleDelta=w.angleDelta,c.angleDist=w.angleDist,c.isFullCircle=w.isFullCircle,c.isAngleInsideSector=w.isAngleInsideSector,c.isPtInsideSector=w.isPtInsideSector,c.pathArc=w.pathArc,c.pathSector=w.pathSector,c.pathAnnulus=w.pathAnnulus;var k=t(99863);c.isLeftAnchor=k.isLeftAnchor,c.isCenterAnchor=k.isCenterAnchor,c.isRightAnchor=k.isRightAnchor,c.isTopAnchor=k.isTopAnchor,c.isMiddleAnchor=k.isMiddleAnchor,c.isBottomAnchor=k.isBottomAnchor;var E=t(87642);c.segmentsIntersect=E.segmentsIntersect,c.segmentDistance=E.segmentDistance,c.getTextLocation=E.getTextLocation,c.clearLocationCache=E.clearLocationCache,c.getVisibleSegment=E.getVisibleSegment,c.findPointOnPath=E.findPointOnPath;var T=t(1426);c.extendFlat=T.extendFlat,c.extendDeep=T.extendDeep,c.extendDeepAll=T.extendDeepAll,c.extendDeepNoArrays=T.extendDeepNoArrays;var A=t(47769);c.log=A.log,c.warn=A.warn,c.error=A.error;var L=t(30587);c.counterRegex=L.counter;var b=t(79990);c.throttle=b.throttle,c.throttleDone=b.done,c.clearThrottle=b.clear;var O=t(24401);function I(Q){var re={};for(var ie in Q)for(var oe=Q[ie],ue=0;uep||Q=re)&&M(Q)&&Q>=0&&Q%1==0},c.noop=t(64213),c.identity=t(23389),c.repeat=function(Q,re){for(var ie=new Array(re),oe=0;oeie?Math.max(ie,Math.min(re,Q)):Math.max(re,Math.min(ie,Q))},c.bBoxIntersect=function(Q,re,ie){return ie=ie||0,Q.left<=re.right+ie&&re.left<=Q.right+ie&&Q.top<=re.bottom+ie&&re.top<=Q.bottom+ie},c.simpleMap=function(Q,re,ie,oe,ue){for(var ce=Q.length,ye=new Array(ce),de=0;de=Math.pow(2,ie)?ue>10?(c.warn("randstr failed uniqueness"),me):Q(re,ie,oe,(ue||0)+1):me},c.OptionControl=function(Q,re){Q||(Q={}),re||(re="opt");var ie={optionList:[],_newoption:function(oe){oe[re]=Q,ie[oe.name]=oe,ie.optionList.push(oe)}};return ie["_"+re]=Q,ie},c.smooth=function(Q,re){if((re=Math.round(re)||0)<2)return Q;var ie,oe,ue,ce,ye=Q.length,de=2*ye,me=2*re-1,pe=new Array(me),xe=new Array(ye);for(ie=0;ie=de&&(ue-=de*Math.floor(ue/de)),ue<0?ue=-1-ue:ue>=ye&&(ue=de-1-ue),ce+=Q[ue]*pe[oe];xe[ie]=ce}return xe},c.syncOrAsync=function(Q,re,ie){var oe;function ue(){return c.syncOrAsync(Q,re,ie)}for(;Q.length;)if((oe=(0,Q.splice(0,1)[0])(re))&&oe.then)return oe.then(ue);return ie&&ie(re)},c.stripTrailingSlash=function(Q){return Q.substr(-1)==="/"?Q.substr(0,Q.length-1):Q},c.noneOrAll=function(Q,re,ie){if(Q){var oe,ue=!1,ce=!0;for(oe=0;oe0?ue:0})},c.fillArray=function(Q,re,ie,oe){if(oe=oe||c.identity,c.isArrayOrTypedArray(Q))for(var ue=0;ue1?ue+ye[1]:"";if(ce&&(ye.length>1||de.length>4||ie))for(;oe.test(de);)de=de.replace(oe,"$1"+ce+"$2");return de+me},c.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var q=/^\w*$/;c.templateString=function(Q,re){var ie={};return Q.replace(c.TEMPLATE_STRING_REGEX,function(oe,ue){var ce;return q.test(ue)?ce=re[ue]:(ie[ue]=ie[ue]||c.nestedProperty(re,ue).get,ce=ie[ue]()),c.isValidTextValue(ce)?ce:""})};var j={max:10,count:0,name:"hovertemplate"};c.hovertemplateString=function(){return ne.apply(j,arguments)};var Y={max:10,count:0,name:"texttemplate"};c.texttemplateString=function(){return ne.apply(Y,arguments)};var U=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function G(Q){var re=Q.match(U);return re?{key:re[1],op:re[2],number:Number(re[3])}:{key:Q,op:null,number:null}}var W={max:10,count:0,name:"texttemplate",parseMultDiv:!0};c.texttemplateStringForShapes=function(){return ne.apply(W,arguments)};var H=/^[:|\|]/;function ne(Q,re,ie){var oe=this,ue=arguments;re||(re={});var ce={};return Q.replace(c.TEMPLATE_STRING_REGEX,function(ye,de,me){var pe=de==="_xother"||de==="_yother",xe=de==="_xother_"||de==="_yother_",Pe=de==="xother_"||de==="yother_",_e=de==="xother"||de==="yother"||pe||Pe||xe,Me=de;(pe||xe)&&(Me=Me.substring(1)),(Pe||xe)&&(Me=Me.substring(0,Me.length-1));var Se,Ce,ae,he=null,be=null;if(oe.parseMultDiv){var ke=G(Me);Me=ke.key,he=ke.op,be=ke.number}if(_e){if((Se=re[Me])===void 0)return""}else for(ae=3;ae=48&&ye<=57,pe=de>=48&&de<=57;if(me&&(oe=10*oe+ye-48),pe&&(ue=10*ue+de-48),!me||!pe){if(oe!==ue)return oe-ue;if(ye!==de)return ye-de}}return ue-oe};var te=2e9;c.seedPseudoRandom=function(){te=2e9},c.pseudoRandom=function(){var Q=te;return te=(69069*te+1)%4294967296,Math.abs(te-Q)<429496729?c.pseudoRandom():te/4294967296},c.fillText=function(Q,re,ie){var oe=Array.isArray(ie)?function(ye){ie.push(ye)}:function(ye){ie.text=ye},ue=c.extractOption(Q,re,"htx","hovertext");if(c.isValidTextValue(ue))return oe(ue);var ce=c.extractOption(Q,re,"tx","text");return c.isValidTextValue(ce)?oe(ce):void 0},c.isValidTextValue=function(Q){return Q||Q===0},c.formatPercent=function(Q,re){re=re||0;for(var ie=(Math.round(100*Q*Math.pow(10,re))*Math.pow(.1,re)).toFixed(re)+"%",oe=0;oe1&&(pe=1):pe=0,c.strTranslate(ue-pe*(ie+ye),ce-pe*(oe+de))+c.strScale(pe)+(me?"rotate("+me+(re?"":" "+ie+" "+oe)+")":"")},c.setTransormAndDisplay=function(Q,re){Q.attr("transform",c.getTextTransform(re)),Q.style("display",re.scale?null:"none")},c.ensureUniformFontSize=function(Q,re){var ie=c.extendFlat({},re);return ie.size=Math.max(re.size,Q._fullLayout.uniformtext.minsize||0),ie},c.join2=function(Q,re,ie){var oe=Q.length;return oe>1?Q.slice(0,-1).join(re)+ie+Q[oe-1]:Q.join(re)},c.bigFont=function(Q){return Math.round(1.2*Q)};var Z=c.getFirefoxVersion(),X=Z!==null&&Z<86;c.getPositionFromD3Event=function(){return X?[d.event.layerX,d.event.layerY]:[d.event.offsetX,d.event.offsetY]}},41965:function(x){x.exports=function(o){return window&&window.process&&window.process.versions?Object.prototype.toString.call(o)==="[object Object]":Object.prototype.toString.call(o)==="[object Object]"&&Object.getPrototypeOf(o).hasOwnProperty("hasOwnProperty")}},66636:function(x,o,t){var d=t(65487),v=/^\w*$/;x.exports=function(i,M,g,p){var u,a,c;g=g||"name",p=p||"value";var s={};M&&M.length?(c=d(i,M),a=c.get()):a=i,M=M||"";var l={};if(a)for(u=0;u2)return s[_]=2|s[_],f.set(m,null);if(h){for(u=_;u1){var g=["LOG:"];for(M=0;M1){var p=[];for(M=0;M"),"long")}},i.warn=function(){var M;if(d.logging>0){var g=["WARN:"];for(M=0;M0){var p=[];for(M=0;M"),"stick")}},i.error=function(){var M;if(d.logging>0){var g=["ERROR:"];for(M=0;M0){var p=[];for(M=0;M"),"stick")}}},77310:function(x,o,t){var d=t(39898);x.exports=function(v,i,M){var g=v.selectAll("g."+M.replace(/\s/g,".")).data(i,function(u){return u[0].trace.uid});g.exit().remove(),g.enter().append("g").attr("class",M),g.order();var p=v.classed("rangeplot")?"nodeRangePlot3":"node3";return g.each(function(u){u[0][p]=d.select(this)}),g}},35657:function(x,o,t){var d=t(79576);o.init2dArray=function(v,i){for(var M=new Array(v),g=0;gt/2?o-Math.round(o/t)*t:o}}},65487:function(x,o,t){var d=t(92770),v=t(73627).isArrayOrTypedArray;function i(s,l){return function(){var h,f,m,_,y,C=s;for(_=0;_/g),f=0;fa||w===v||ws||y&&l(_))}:function(_,y){var C=_[0],w=_[1];if(C===v||Ca||w===v||ws)return!1;var k,E,T,A,L,b=p.length,O=p[0][0],I=p[0][1],R=0;for(k=1;kMath.max(E,O)||w>Math.max(T,I)))if(wf||Math.abs(d(c,_))>u)return!0;return!1},i.filter=function(M,g){var p=[M[0]],u=0,a=0;function c(s){M.push(s);var l=p.length,h=u;p.splice(a+1);for(var f=h+1;f1&&c(M.pop()),{addPt:c,raw:M,filtered:p}}},79749:function(x,o,t){var d=t(58617),v=t(98580);x.exports=function(i,M,g){var p=i._fullLayout,u=!0;return p._glcanvas.each(function(a){if(a.regl)a.regl.preloadCachedCode(g);else if(!a.pick||p._has("parcoords")){try{a.regl=v({canvas:this,attributes:{antialias:!a.pick,preserveDrawingBuffer:!0},pixelRatio:i._context.plotGlPixelRatio||t.g.devicePixelRatio,extensions:M||[],cachedCode:g||{}})}catch{u=!1}a.regl||(u=!1),u&&this.addEventListener("webglcontextlost",function(c){i&&i.emit&&i.emit("plotly_webglcontextlost",{event:c,layer:a.key})},!1)}}),u||d({container:p._glcontainer.node()}),u}},45142:function(x,o,t){var d=t(92770),v=t(35791);x.exports=function(i){var M;if(typeof(M=i&&i.hasOwnProperty("userAgent")?i.userAgent:function(){var l;return typeof navigator<"u"&&(l=navigator.userAgent),l&&l.headers&&typeof l.headers["user-agent"]=="string"&&(l=l.headers["user-agent"]),l}())!="string")return!0;var g=v({ua:{headers:{"user-agent":M}},tablet:!0,featureDetect:!1});if(!g){for(var p=M.split(" "),u=1;u-1;a--){var c=p[a];if(c.substr(0,8)==="Version/"){var s=c.substr(8).split(".")[0];if(d(s)&&(s=+s),s>=13)return!0}}}return g}},75138:function(x){x.exports=function(o,t){if(t instanceof RegExp){for(var d=t.toString(),v=0;vv.queueLength&&(M.undoQueue.queue.shift(),M.undoQueue.index--))},startSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!0,M.undoQueue.beginSequence=!0},stopSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!1,M.undoQueue.beginSequence=!1},undo:function(M){var g,p;if(!(M.undoQueue===void 0||isNaN(M.undoQueue.index)||M.undoQueue.index<=0)){for(M.undoQueue.index--,g=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,p=0;p=M.undoQueue.queue.length)){for(g=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,p=0;pl}function c(s,l){return s>=l}o.findBin=function(s,l,h){if(d(l.start))return h?Math.ceil((s-l.start)/l.size-g)-1:Math.floor((s-l.start)/l.size+g);var f,m,_=0,y=l.length,C=0,w=y>1?(l[y-1]-l[0])/(y-1):1;for(m=w>=0?h?p:u:h?c:a,s+=w*g*(h?-1:1)*(w>=0?1:-1);_90&&v.log("Long binary search..."),_-1},o.sorterAsc=function(s,l){return s-l},o.sorterDes=function(s,l){return l-s},o.distinctVals=function(s){var l,h=s.slice();for(h.sort(o.sorterAsc),l=h.length-1;l>-1&&h[l]===M;l--);for(var f,m=h[l]-h[0]||1,_=m/(l||1)/1e4,y=[],C=0;C<=l;C++){var w=h[C],k=w-f;f===void 0?(y.push(w),f=w):k>_&&(m=Math.min(m,k),y.push(w),f=w)}return{vals:y,minDiff:m}},o.roundUp=function(s,l,h){for(var f,m=0,_=l.length-1,y=0,C=h?0:1,w=h?1:0,k=h?Math.ceil:Math.floor;m<_&&y++<100;)l[f=k((m+_)/2)]<=s?m=f+C:_=f-w;return l[m]},o.sort=function(s,l){for(var h=0,f=0,m=1;m0&&(f=1),h&&f)return s.sort(l)}return f?s:s.reverse()},o.findIndexOfMin=function(s,l){l=l||i;for(var h,f=1/0,m=0;mg.length)&&(p=g.length),d(M)||(M=!1),v(g[0])){for(a=new Array(p),u=0;ui.length-1)return i[i.length-1];var g=M%1;return g*i[Math.ceil(M)]+(1-g)*i[Math.floor(M)]}},78614:function(x,o,t){var d=t(25075);x.exports=function(v){return v?d(v):[0,0,0,1]}},63893:function(x,o,t){var d=t(39898),v=t(71828),i=v.strTranslate,M=t(77922),g=t(18783).LINE_SPACING,p=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;o.convertToTspans=function(N,q,j){var Y=N.text(),U=!N.attr("data-notex")&&q&&q._context.typesetMath&&typeof MathJax<"u"&&Y.match(p),G=d.select(N.node().parentNode);if(!G.empty()){var W=N.attr("class")?N.attr("class").split(" ")[0]:"text";return W+="-math",G.selectAll("svg."+W).remove(),G.selectAll("g."+W+"-group").remove(),N.style("display",null).attr({"data-unformatted":Y,"data-math":"N"}),U?(q&&q._promises||[]).push(new Promise(function(ne){N.style("display","none");var te=parseInt(N.node().style.fontSize,10),Z={fontSize:te};(function(X,Q,re){var ie,oe,ue,ce,ye=parseInt((MathJax.version||"").split(".")[0]);if(ye===2||ye===3){var de=function(){var pe="math-output-"+v.randstr({},64),xe=(ce=d.select("body").append("div").attr({id:pe}).style({visibility:"hidden",position:"absolute","font-size":Q.fontSize+"px"}).text(X.replace(u,"\\lt ").replace(a,"\\gt "))).node();return ye===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},me=function(){var pe=ce.select(ye===2?".MathJax_SVG":".MathJax"),xe=!pe.empty()&&ce.select("svg").node();if(xe){var Pe,_e=xe.getBoundingClientRect();Pe=ye===2?d.select("body").select("#MathJax_SVG_glyphs"):pe.select("defs"),re(pe,Pe,_e)}else v.log("There was an error in the tex syntax.",X),re();ce.remove()};ye===2?MathJax.Hub.Queue(function(){return oe=v.extendDeepAll({},MathJax.Hub.config),ue=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:c},displayAlign:"left"})},function(){if((ie=MathJax.Hub.config.menuSettings.renderer)!=="SVG")return MathJax.Hub.setRenderer("SVG")},de,me,function(){if(ie!=="SVG")return MathJax.Hub.setRenderer(ie)},function(){return ue!==void 0&&(MathJax.Hub.processSectionDelay=ue),MathJax.Hub.Config(oe)}):ye===3&&(oe=v.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=c,(ie=MathJax.config.startup.output)!=="svg"&&(MathJax.config.startup.output="svg"),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){de(),me(),ie!=="svg"&&(MathJax.config.startup.output=ie),MathJax.config=oe}))}else v.warn("No MathJax version:",MathJax.version)})(U[2],Z,function(X,Q,re){G.selectAll("svg."+W).remove(),G.selectAll("g."+W+"-group").remove();var ie=X&&X.select("svg");if(!ie||!ie.node())return H(),void ne();var oe=G.append("g").classed(W+"-group",!0).attr({"pointer-events":"none","data-unformatted":Y,"data-math":"Y"});oe.node().appendChild(ie.node()),Q&&Q.node()&&ie.node().insertBefore(Q.node().cloneNode(!0),ie.node().firstChild);var ue=re.width,ce=re.height;ie.attr({class:W,height:ce,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var ye=N.node().style.fill||"black",de=ie.select("g");de.attr({fill:ye,stroke:ye});var me=de.node().getBoundingClientRect(),pe=me.width,xe=me.height;(pe>ue||xe>ce)&&(ie.style("overflow","hidden"),pe=(me=ie.node().getBoundingClientRect()).width,xe=me.height);var Pe=+N.attr("x"),_e=+N.attr("y"),Me=-(te||N.node().getBoundingClientRect().height)/4;if(W[0]==="y")oe.attr({transform:"rotate("+[-90,Pe,_e]+")"+i(-pe/2,Me-xe/2)});else if(W[0]==="l")_e=Me-xe/2;else if(W[0]==="a"&&W.indexOf("atitle")!==0)Pe=0,_e=Me;else{var Se=N.attr("text-anchor");Pe-=pe*(Se==="middle"?.5:Se==="end"?1:0),_e=_e+Me-xe/2}ie.attr({x:Pe,y:_e}),j&&j.call(N,oe),ne(oe)})})):H(),N}function H(){G.empty()||(W=N.attr("class")+"-math",G.select("svg."+W).remove()),N.text("").style("white-space","pre");var ne=function(te,Z){Z=Z.replace(_," ");var X,Q=!1,re=[],ie=-1;function oe(){ie++;var be=document.createElementNS(M.svg,"tspan");d.select(be).attr({class:"line",dy:ie*g+"em"}),te.appendChild(be),X=be;var ke=re;if(re=[{node:be}],ke.length>1)for(var Le=1;Le doesnt match end tag <"+be+">. Pretending it did match.",Z),X=re[re.length-1].node}else v.log("Ignoring unexpected end tag .",Z)}w.test(Z)?oe():(X=te,re=[{node:te}]);for(var de=Z.split(y),me=0;me|>|>)/g,c=[["$","$"],["\\(","\\)"]],s={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"},l={sub:"0.3em",sup:"-0.6em"},h={sub:"-0.21em",sup:"0.42em"},f="​",m=["http:","https:","mailto:","",void 0,":"],_=o.NEWLINES=/(\r\n?|\n)/g,y=/(<[^<>]*>)/,C=/<(\/?)([^ >]*)(\s+(.*))?>/i,w=//i;o.BR_TAG_ALL=//gi;var k=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,E=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,T=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,A=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function L(N,q){if(!N)return null;var j=N.match(q),Y=j&&(j[3]||j[4]);return Y&&R(Y)}var b=/(^|;)\s*color:/;o.plainText=function(N,q){for(var j=(q=q||{}).len!==void 0&&q.len!==-1?q.len:1/0,Y=q.allowedTags!==void 0?q.allowedTags:["br"],U=3,G=N.split(y),W=[],H="",ne=0,te=0;teU?W.push(Z.substr(0,ie-U)+"..."):W.push(Z.substr(0,ie));break}H=""}}return W.join("")};var O={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},I=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function R(N){return N.replace(I,function(q,j){return(j.charAt(0)==="#"?function(Y){if(!(Y>1114111)){var U=String.fromCodePoint;if(U)return U(Y);var G=String.fromCharCode;return Y<=65535?G(Y):G(55232+(Y>>10),Y%1024+56320)}}(j.charAt(1)==="x"?parseInt(j.substr(2),16):parseInt(j.substr(1),10)):O[j])||q})}function z(N){var q=encodeURI(decodeURI(N)),j=document.createElement("a"),Y=document.createElement("a");j.href=N,Y.href=q;var U=j.protocol,G=Y.protocol;return m.indexOf(U)!==-1&&m.indexOf(G)!==-1?q:""}function F(N,q,j){var Y,U,G,W=j.horizontalAlign,H=j.verticalAlign||"top",ne=N.node().getBoundingClientRect(),te=q.node().getBoundingClientRect();return U=H==="bottom"?function(){return ne.bottom-Y.height}:H==="middle"?function(){return ne.top+(ne.height-Y.height)/2}:function(){return ne.top},G=W==="right"?function(){return ne.right-Y.width}:W==="center"?function(){return ne.left+(ne.width-Y.width)/2}:function(){return ne.left},function(){Y=this.node().getBoundingClientRect();var Z=G()-te.left,X=U()-te.top,Q=j.gd||{};if(j.gd){Q._fullLayout._calcInverseTransform(Q);var re=v.apply3DTransform(Q._fullLayout._invTransform)(Z,X);Z=re[0],X=re[1]}return this.style({top:X+"px",left:Z+"px","z-index":1e3}),this}}o.convertEntities=R,o.sanitizeHTML=function(N){N=N.replace(_," ");for(var q=document.createElement("p"),j=q,Y=[],U=N.split(y),G=0;Gg.ts+i?a():g.timer=setTimeout(function(){a(),g.timer=null},i)},o.done=function(v){var i=t[v];return i&&i.timer?new Promise(function(M){var g=i.onDone;i.onDone=function(){g&&g(),M(),i.onDone=null}}):Promise.resolve()},o.clear=function(v){if(v)d(t[v]),delete t[v];else for(var i in t)o.clear(i)}},58163:function(x,o,t){var d=t(92770);x.exports=function(v,i){if(v>0)return Math.log(v)/Math.LN10;var M=Math.log(Math.min(i[0],i[1]))/Math.LN10;return d(M)||(M=Math.log(Math.max(i[0],i[1]))/Math.LN10-6),M}},90973:function(x,o,t){var d=x.exports={},v=t(78776).locationmodeToLayer,i=t(96892).zL;d.getTopojsonName=function(M){return[M.scope.replace(/ /g,"-"),"_",M.resolution.toString(),"m"].join("")},d.getTopojsonPath=function(M,g){return M+g+".json"},d.getTopojsonFeatures=function(M,g){var p=v[M.locationmode],u=g.objects[p];return i(g,u).features}},37815:function(x){x.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},92177:function(x){x.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"}}},14458:function(x,o,t){var d=t(73972);x.exports=function(v){for(var i,M,g=d.layoutArrayContainers,p=d.layoutArrayRegexes,u=v.split("[")[0],a=0;a0&&M.log("Clearing previous rejected promises from queue."),E._promises=[]},o.cleanLayout=function(E){var T,A;E||(E={}),E.xaxis1&&(E.xaxis||(E.xaxis=E.xaxis1),delete E.xaxis1),E.yaxis1&&(E.yaxis||(E.yaxis=E.yaxis1),delete E.yaxis1),E.scene1&&(E.scene||(E.scene=E.scene1),delete E.scene1);var L=(g.subplotsRegistry.cartesian||{}).attrRegex,b=(g.subplotsRegistry.polar||{}).attrRegex,O=(g.subplotsRegistry.ternary||{}).attrRegex,I=(g.subplotsRegistry.gl3d||{}).attrRegex,R=Object.keys(E);for(T=0;T3?(re.x=1.02,re.xanchor="left"):re.x<-2&&(re.x=-.02,re.xanchor="right"),re.y>3?(re.y=1.02,re.yanchor="bottom"):re.y<-2&&(re.y=-.02,re.yanchor="top")),h(E),E.dragmode==="rotate"&&(E.dragmode="orbit"),u.clean(E),E.template&&E.template.layout&&o.cleanLayout(E.template.layout),E},o.cleanData=function(E){for(var T=0;T0)return E.substr(0,T)}o.hasParent=function(E,T){for(var A=w(T);A;){if(A in E)return!0;A=w(A)}return!1};var k=["x","y","z"];o.clearAxisTypes=function(E,T,A){for(var L=0;L1&&i.warn("Full array edits are incompatible with other edits",f);var E=s[""][""];if(u(E))c.set(null);else{if(!Array.isArray(E))return i.warn("Unrecognized full array edit value",f,E),!0;c.set(E)}return!C&&(m(w,k),_(a),!0)}var T,A,L,b,O,I,R,z,F=Object.keys(s).map(Number).sort(M),B=c.get(),N=B||[],q=h(k,f).get(),j=[],Y=-1,U=N.length;for(T=0;TN.length-(R?0:1))i.warn("index out of range",f,L);else if(I!==void 0)O.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",f,L),u(I)?j.push(L):R?(I==="add"&&(I={}),N.splice(L,0,I),q&&q.splice(L,0,{})):i.warn("Unrecognized full object edit value",f,L,I),Y===-1&&(Y=L);else for(A=0;A=0;T--)N.splice(j[T],1),q&&q.splice(j[T],1);if(N.length?B||c.set(N):c.set(null),C)return!1;if(m(w,k),y!==v){var G;if(Y===-1)G=F;else{for(U=Math.max(N.length,U),G=[],T=0;T=Y);T++)G.push(L);for(T=Y;T=ae.data.length||Le<-ae.data.length)throw new Error(be+" must be valid indices for gd.data.");if(he.indexOf(Le,ke+1)>-1||Le>=0&&he.indexOf(-ae.data.length+Le)>-1||Le<0&&he.indexOf(ae.data.length+Le)>-1)throw new Error("each index in "+be+" must be unique.")}}function B(ae,he,be){if(!Array.isArray(ae.data))throw new Error("gd.data must be an array.");if(he===void 0)throw new Error("currentIndices is a required argument.");if(Array.isArray(he)||(he=[he]),F(ae,he,"currentIndices"),be===void 0||Array.isArray(be)||(be=[be]),be!==void 0&&F(ae,be,"newIndices"),be!==void 0&&he.length!==be.length)throw new Error("current and new indices must be of equal length.")}function N(ae,he,be,ke,Le){(function(Ye,$e,st,ot){var ft=M.isPlainObject(ot);if(!Array.isArray(Ye.data))throw new Error("gd.data must be an array");if(!M.isPlainObject($e))throw new Error("update must be a key:value object");if(st===void 0)throw new Error("indices must be an integer or array of integers");for(var bt in F(Ye,st,"indices"),$e){if(!Array.isArray($e[bt])||$e[bt].length!==st.length)throw new Error("attribute "+bt+" must be an array of length equal to indices array length");if(ft&&(!(bt in ot)||!Array.isArray(ot[bt])||ot[bt].length!==$e[bt].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")}})(ae,he,be,ke);for(var Be=function(Ye,$e,st,ot){var ft,bt,Et,kt,xt,Ft=M.isPlainObject(ot),Dt=[];for(var Bt in Array.isArray(st)||(st=[st]),st=z(st,Ye.data.length-1),$e)for(var Wt=0;Wt-1&&be.indexOf("grouptitlefont")===-1?je(be,be.replace("titlefont","title.font")):be.indexOf("titleposition")>-1?je(be,be.replace("titleposition","title.position")):be.indexOf("titleside")>-1?je(be,be.replace("titleside","title.side")):be.indexOf("titleoffset")>-1&&je(be,be.replace("titleoffset","title.offset")):je(be,be.replace("title","title.text"));function je(ge,we){ae[we]=ae[ge],delete ae[ge]}}function ne(ae,he,be){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae);var ke={};if(typeof he=="string")ke[he]=be;else{if(!M.isPlainObject(he))return M.warn("Relayout fail.",he,be),Promise.reject();ke=M.extendFlat({},he)}Object.keys(ke).length&&(ae.changed=!0);var Le=ie(ae,ke),Be=Le.flags;Be.calc&&(ae.calcdata=void 0);var ze=[s.previousPromises];Be.layoutReplot?ze.push(E.layoutReplot):Object.keys(ke).length&&(te(ae,Be,Le)||s.supplyDefaults(ae),Be.legend&&ze.push(E.doLegend),Be.layoutstyle&&ze.push(E.layoutStyles),Be.axrange&&Z(ze,Le.rangesAltered),Be.ticks&&ze.push(E.doTicksRelayout),Be.modebar&&ze.push(E.doModeBar),Be.camera&&ze.push(E.doCamera),Be.colorbars&&ze.push(E.doColorBars),ze.push(b)),ze.push(s.rehover,s.redrag,s.reselect),u.add(ae,ne,[ae,Le.undoit],ne,[ae,Le.redoit]);var je=M.syncOrAsync(ze,ae);return je&&je.then||(je=Promise.resolve(ae)),je.then(function(){return ae.emit("plotly_relayout",Le.eventData),ae})}function te(ae,he,be){var ke=ae._fullLayout;if(!he.axrange)return!1;for(var Le in he)if(Le!=="axrange"&&he[Le])return!1;for(var Be in be.rangesAltered){var ze=l.id2name(Be),je=ae.layout[ze],ge=ke[ze];if(ge.autorange=je.autorange,je.range&&(ge.range=je.range.slice()),ge.cleanRange(),ge._matchGroup){for(var we in ge._matchGroup)if(we!==Be){var Ee=ke[l.id2name(we)];Ee.autorange=ge.autorange,Ee.range=ge.range.slice(),Ee._input.range=ge.range.slice()}}}return!0}function Z(ae,he){var be=he?function(ke){var Le=[];for(var Be in he){var ze=l.getFromId(ke,Be);if(Le.push(Be),(ze.ticklabelposition||"").indexOf("inside")!==-1&&ze._anchorAxis&&Le.push(ze._anchorAxis._id),ze._matchGroup)for(var je in ze._matchGroup)he[je]||Le.push(je)}return l.draw(ke,Le,{skipTitle:!0})}:function(ke){return l.draw(ke,"redraw")};ae.push(y,E.doAutoRangeAndConstraints,be,E.drawData,E.finalDraw)}var X=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,Q=/^[xyz]axis[0-9]*\.autorange$/,re=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function ie(ae,he){var be,ke,Le,Be=ae.layout,ze=ae._fullLayout,je=ze._guiEditing,ge=U(ze._preGUI,je),we=Object.keys(he),Ee=l.list(ae),Ve=M.extendDeepAll({},he),Ye={};for(H(he),we=Object.keys(he),ke=0;ke0&&typeof Wt.parts[Ke]!="string";)Ke--;var Je=Wt.parts[Ke],We=Wt.parts[Ke-1]+"."+Je,nt=Wt.parts.slice(0,Ke).join("."),ht=g(ae.layout,nt).get(),Oe=g(ze,nt).get(),Ne=Wt.get();if(Vt!==void 0){bt[Bt]=Vt,Et[Bt]=Je==="reverse"?Vt:Y(Ne);var Qe=c.getLayoutValObject(ze,Wt.parts);if(Qe&&Qe.impliedEdits&&Vt!==null)for(var ut in Qe.impliedEdits)kt(M.relativeAttr(Bt,ut),Qe.impliedEdits[ut]);if(["width","height"].indexOf(Bt)!==-1)if(Vt){kt("autosize",null);var pt=Bt==="height"?"width":"height";kt(pt,ze[pt])}else ze[Bt]=ae._initialAutoSize[Bt];else if(Bt==="autosize")kt("width",Vt?null:ze.width),kt("height",Vt?null:ze.height);else if(We.match(X))Dt(We),g(ze,nt+"._inputRange").set(null);else if(We.match(Q)){Dt(We),g(ze,nt+"._inputRange").set(null);var _t=g(ze,nt).get();_t._inputDomain&&(_t._input.domain=_t._inputDomain.slice())}else We.match(re)&&g(ze,nt+"._inputDomain").set(null);if(Je==="type"){xt=ht;var It=Oe.type==="linear"&&Vt==="log",Lt=Oe.type==="log"&&Vt==="linear";if(It||Lt){if(xt&&xt.range)if(Oe.autorange)It&&(xt.range=xt.range[1]>xt.range[0]?[1,2]:[2,1]);else{var yt=xt.range[0],Pt=xt.range[1];It?(yt<=0&&Pt<=0&&kt(nt+".autorange",!0),yt<=0?yt=Pt/1e6:Pt<=0&&(Pt=yt/1e6),kt(nt+".range[0]",Math.log(yt)/Math.LN10),kt(nt+".range[1]",Math.log(Pt)/Math.LN10)):(kt(nt+".range[0]",Math.pow(10,yt)),kt(nt+".range[1]",Math.pow(10,Pt)))}else kt(nt+".autorange",!0);Array.isArray(ze._subplots.polar)&&ze._subplots.polar.length&&ze[Wt.parts[0]]&&Wt.parts[1]==="radialaxis"&&delete ze[Wt.parts[0]]._subplot.viewInitial["radialaxis.range"],a.getComponentMethod("annotations","convertCoords")(ae,Oe,Vt,kt),a.getComponentMethod("images","convertCoords")(ae,Oe,Vt,kt)}else kt(nt+".autorange",!0),kt(nt+".range",null);g(ze,nt+"._inputRange").set(null)}else if(Je.match(A)){var wt=g(ze,Bt).get(),Ot=(Vt||{}).type;Ot&&Ot!=="-"||(Ot="linear"),a.getComponentMethod("annotations","convertCoords")(ae,wt,Ot,kt),a.getComponentMethod("images","convertCoords")(ae,wt,Ot,kt)}var Nt=w.containerArrayMatch(Bt);if(Nt){be=Nt.array,ke=Nt.index;var $t=Nt.property,qt=Qe||{editType:"calc"};ke!==""&&$t===""&&(w.isAddVal(Vt)?Et[Bt]=null:w.isRemoveVal(Vt)?Et[Bt]=(g(Be,be).get()||[])[ke]:M.warn("unrecognized full object value",he)),T.update(ft,qt),Ye[be]||(Ye[be]={});var Xt=Ye[be][ke];Xt||(Xt=Ye[be][ke]={}),Xt[$t]=Vt,delete he[Bt]}else Je==="reverse"?(ht.range?ht.range.reverse():(kt(nt+".autorange",!0),ht.range=[1,0]),Oe.autorange?ft.calc=!0:ft.plot=!0):(Bt==="dragmode"&&(Vt===!1&&Ne!==!1||Vt!==!1&&Ne===!1)||ze._has("scatter-like")&&ze._has("regl")&&Bt==="dragmode"&&(Vt==="lasso"||Vt==="select")&&Ne!=="lasso"&&Ne!=="select"||ze._has("gl2d")?ft.plot=!0:Qe?T.update(ft,Qe):ft.calc=!0,Wt.set(Vt))}}for(be in Ye)w.applyContainerArrayChanges(ae,ge(Be,be),Ye[be],ft,ge)||(ft.plot=!0);for(var Qt in Ft){var rn=(xt=l.getFromId(ae,Qt))&&xt._constraintGroup;if(rn)for(var xn in ft.calc=!0,rn)Ft[xn]||(l.getFromId(ae,xn)._constraintShrinkable=!0)}return(oe(ae)||he.height||he.width)&&(ft.plot=!0),(ft.plot||ft.calc)&&(ft.layoutReplot=!0),{flags:ft,rangesAltered:Ft,undoit:Et,redoit:bt,eventData:Ve}}function oe(ae){var he=ae._fullLayout,be=he.width,ke=he.height;return ae.layout.autosize&&s.plotAutoSize(ae,ae.layout,he),he.width!==be||he.height!==ke}function ue(ae,he,be,ke){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae),M.isPlainObject(he)||(he={}),M.isPlainObject(be)||(be={}),Object.keys(he).length&&(ae.changed=!0),Object.keys(be).length&&(ae.changed=!0);var Le=k.coerceTraceIndices(ae,ke),Be=W(ae,M.extendFlat({},he),Le),ze=Be.flags,je=ie(ae,M.extendFlat({},be)),ge=je.flags;(ze.calc||ge.calc)&&(ae.calcdata=void 0),ze.clearAxisTypes&&k.clearAxisTypes(ae,Le,be);var we=[];ge.layoutReplot?we.push(E.layoutReplot):ze.fullReplot?we.push(o._doPlot):(we.push(s.previousPromises),te(ae,ge,je)||s.supplyDefaults(ae),ze.style&&we.push(E.doTraceStyle),(ze.colorbars||ge.colorbars)&&we.push(E.doColorBars),ge.legend&&we.push(E.doLegend),ge.layoutstyle&&we.push(E.layoutStyles),ge.axrange&&Z(we,je.rangesAltered),ge.ticks&&we.push(E.doTicksRelayout),ge.modebar&&we.push(E.doModeBar),ge.camera&&we.push(E.doCamera),we.push(b)),we.push(s.rehover,s.redrag,s.reselect),u.add(ae,ue,[ae,Be.undoit,je.undoit,Be.traces],ue,[ae,Be.redoit,je.redoit,Be.traces]);var Ee=M.syncOrAsync(we,ae);return Ee&&Ee.then||(Ee=Promise.resolve(ae)),Ee.then(function(){return ae.emit("plotly_update",{data:Be.eventData,layout:je.eventData}),ae})}function ce(ae){return function(he){he._fullLayout._guiEditing=!0;var be=ae.apply(null,arguments);return he._fullLayout._guiEditing=!1,be}}var ye=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],de=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function me(ae,he){for(var be=0;be1;)if(ke.pop(),(be=g(he,ke.join(".")+".uirevision").get())!==void 0)return be;return he.uirevision}function xe(ae,he){for(var be=0;be=Le.length?Le[0]:Le[we]:Le}function je(we){return Array.isArray(Be)?we>=Be.length?Be[0]:Be[we]:Be}function ge(we,Ee){var Ve=0;return function(){if(we&&++Ve===Ee)return we()}}return ke._frameWaitingCnt===void 0&&(ke._frameWaitingCnt=0),new Promise(function(we,Ee){function Ve(){ae.emit("plotly_animating"),ke._lastFrameAt=-1/0,ke._timeToNext=0,ke._runningTransitions=0,ke._currentFrame=null;var Bt=function(){ke._animationRaf=window.requestAnimationFrame(Bt),Date.now()-ke._lastFrameAt>ke._timeToNext&&function(){ke._currentFrame&&ke._currentFrame.onComplete&&ke._currentFrame.onComplete();var Wt=ke._currentFrame=ke._frameQueue.shift();if(Wt){var Vt=Wt.name?Wt.name.toString():null;ae._fullLayout._currentFrame=Vt,ke._lastFrameAt=Date.now(),ke._timeToNext=Wt.frameOpts.duration,s.transition(ae,Wt.frame.data,Wt.frame.layout,k.coerceTraceIndices(ae,Wt.frame.traces),Wt.frameOpts,Wt.transitionOpts).then(function(){Wt.onComplete&&Wt.onComplete()}),ae.emit("plotly_animatingframe",{name:Vt,frame:Wt.frame,animation:{frame:Wt.frameOpts,transition:Wt.transitionOpts}})}else ae.emit("plotly_animated"),window.cancelAnimationFrame(ke._animationRaf),ke._animationRaf=null}()};Bt()}var Ye,$e,st=0;function ot(Bt){return Array.isArray(Le)?st>=Le.length?Bt.transitionOpts=Le[st]:Bt.transitionOpts=Le[0]:Bt.transitionOpts=Le,st++,Bt}var ft=[],bt=he==null,Et=Array.isArray(he);if(bt||Et||!M.isPlainObject(he)){if(bt||["string","number"].indexOf(typeof he)!==-1)for(Ye=0;Ye0&&FtFt)&&Dt.push($e);ft=Dt}}ft.length>0?function(Bt){if(Bt.length!==0){for(var Wt=0;Wt=0;ke--)if(M.isPlainObject(he[ke])){var Ye=he[ke].name,$e=(ge[Ye]||Ve[Ye]||{}).name,st=he[ke].name,ot=ge[$e]||Ve[$e];$e&&st&&typeof st=="number"&&ot&&L<5&&(L++,M.warn('addFrames: overwriting frame "'+(ge[$e]||Ve[$e]).name+'" with a frame whose name of type "number" also equates to "'+$e+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),L===5&&M.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.")),Ve[Ye]={name:Ye},Ee.push({frame:s.supplyFrameDefaults(he[ke]),index:be&&be[ke]!==void 0&&be[ke]!==null?be[ke]:we+ke})}Ee.sort(function(Bt,Wt){return Bt.index>Wt.index?-1:Bt.index=0;ke--){if(typeof(Le=Ee[ke].frame).name=="number"&&M.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Le.name)for(;ge[Le.name="frame "+ae._transitionData._counter++];);if(ge[Le.name]){for(Be=0;Be=0;be--)ke=he[be],Be.push({type:"delete",index:ke}),ze.unshift({type:"insert",index:ke,value:Le[ke]});var je=s.modifyFrames,ge=s.modifyFrames,we=[ae,ze],Ee=[ae,Be];return u&&u.add(ae,je,we,ge,Ee),s.modifyFrames(ae,Be)},o.addTraces=function ae(he,be,ke){he=M.getGraphDiv(he);var Le,Be,ze=[],je=o.deleteTraces,ge=ae,we=[he,ze],Ee=[he,be];for(function(Ve,Ye,$e){var st,ot;if(!Array.isArray(Ve.data))throw new Error("gd.data must be an array.");if(Ye===void 0)throw new Error("traces must be defined.");for(Array.isArray(Ye)||(Ye=[Ye]),st=0;st=0&&Ve=0&&Ve=F.length)return!1;if(b.dimensions===2){if(I++,O.length===I)return b;var B=O[I];if(!k(B))return!1;b=F[z][B]}else b=F[z]}else b=F}}return b}function k(b){return b===Math.round(b)&&b>=0}function E(){var b,O,I={};for(b in c(I,M),d.subplotsRegistry)if((O=d.subplotsRegistry[b]).layoutAttributes)if(Array.isArray(O.attr))for(var R=0;R=B.length)return!1;R=(I=(d.transformsRegistry[B[N].type]||{}).attributes)&&I[O[2]],F=3}else{var q=b._module;if(q||(q=(d.modules[b.type||i.type.dflt]||{})._module),!q)return!1;if(!(R=(I=q.attributes)&&I[z])){var j=q.basePlotModule;j&&j.attributes&&(R=j.attributes[z])}R||(R=i[z])}return w(R,O,F)},o.getLayoutValObject=function(b,O){var I=function(R,z){var F,B,N,q,j=R._basePlotModules;if(j){var Y;for(F=0;F=c&&(a._input||{})._templateitemname;l&&(s=c);var h,f=u+"["+s+"]";function m(){h={},l&&(h[f]={},h[f].templateitemname=l)}function _(C,w){l?d.nestedProperty(h[f],C).set(w):h[f+"."+C]=w}function y(){var C=h;return m(),C}return m(),{modifyBase:function(C,w){h[C]=w},modifyItem:_,getUpdateObj:y,applyUpdate:function(C,w){C&&_(C,w);var k=y();for(var E in k)d.nestedProperty(p,E).set(k[E])}}}},61549:function(x,o,t){var d=t(39898),v=t(73972),i=t(74875),M=t(71828),g=t(63893),p=t(33306),u=t(7901),a=t(91424),c=t(92998),s=t(64168),l=t(89298),h=t(18783),f=t(99082),m=f.enforce,_=f.clean,y=t(71739).doAutoRange,C="start";function w(L,b,O){for(var I=0;I=L[1]||R[1]<=L[0])&&z[0]b[0])return!0}return!1}function k(L){var b,O,I,R,z,F,B=L._fullLayout,N=B._size,q=N.p,j=l.list(L,"",!0);if(B._paperdiv.style({width:L._context.responsive&&B.autosize&&!L._context._hasZeroWidth&&!L.layout.width?"100%":B.width+"px",height:L._context.responsive&&B.autosize&&!L._context._hasZeroHeight&&!L.layout.height?"100%":B.height+"px"}).selectAll(".main-svg").call(a.setSize,B.width,B.height),L._context.setBackground(L,B.paper_bgcolor),o.drawMainTitle(L),s.manage(L),!B._has("cartesian"))return i.previousPromises(L);function Y(Ve,Ye,$e){var st=Ve._lw/2;return Ve._id.charAt(0)==="x"?Ye?$e==="top"?Ye._offset-q-st:Ye._offset+Ye._length+q+st:N.t+N.h*(1-(Ve.position||0))+st%1:Ye?$e==="right"?Ye._offset+Ye._length+q+st:Ye._offset-q-st:N.l+N.w*(Ve.position||0)+st%1}for(b=0;b.5?"t":"b",te=Y._fullLayout.margin[ne],Z=0;return U.yref==="paper"?Z=G+U.pad.t+U.pad.b:U.yref==="container"&&(Z=function(X,Q,re,ie,oe){var ue=0;return re==="middle"&&(ue+=oe/2),X==="t"?(re==="top"&&(ue+=oe),ue+=ie-Q*ie):(re==="bottom"&&(ue+=oe),ue+=Q*ie),ue}(ne,W,H,Y._fullLayout.height,G)+U.pad.t+U.pad.b),Z>te?Z:0}(L,O,q);j>0&&(function(Y,U,G,W){var H="title.automargin",ne=Y._fullLayout.title,te=ne.y>.5?"t":"b",Z={x:ne.x,y:ne.y,t:0,b:0},X={};ne.yref==="paper"&&function(Q,re,ie,oe,ue){var ce=re.yref==="paper"?Q._fullLayout._size.h:Q._fullLayout.height,ye=M.isTopAnchor(re)?oe:oe-ue,de=ie==="b"?ce-ye:ye;return!(M.isTopAnchor(re)&&ie==="t"||M.isBottomAnchor(re)&&ie==="b")&&deN?A.push({code:"unused",traceType:I,templateCount:B,dataCount:N}):N>B&&A.push({code:"reused",traceType:I,templateCount:B,dataCount:N})}}else A.push({code:"data"});if(function q(j,Y){for(var U in j)if(U.charAt(0)!=="_"){var G=j[U],W=f(j,U,Y);v(G)?(Array.isArray(j)&&G._template===!1&&G.templateitemname&&A.push({code:"missing",path:W,templateitemname:G.templateitemname}),q(G,W)):Array.isArray(G)&&m(G)&&q(G,W)}}({data:b,layout:L},""),A.length)return A.map(_)}},403:function(x,o,t){var d=t(92770),v=t(72391),i=t(74875),M=t(71828),g=t(25095),p=t(5900),u=t(70942),a=t(11506).version,c={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}};x.exports=function(s,l){var h,f,m,_;function y(N){return!(N in l)||M.validate(l[N],c[N])}if(l=l||{},M.isPlainObject(s)?(h=s.data||[],f=s.layout||{},m=s.config||{},_={}):(s=M.getGraphDiv(s),h=M.extendDeep([],s.data),f=M.extendDeep({},s.layout),m=s._context,_=s._fullLayout||{}),!y("width")&&l.width!==null||!y("height")&&l.height!==null)throw new Error("Height and width should be pixel values.");if(!y("format"))throw new Error("Export format is not "+M.join2(c.format.values,", "," or ")+".");var C={};function w(N,q){return M.coerce(l,C,c,N,q)}var k=w("format"),E=w("width"),T=w("height"),A=w("scale"),L=w("setBackground"),b=w("imageDataOnly"),O=document.createElement("div");O.style.position="absolute",O.style.left="-5000px",document.body.appendChild(O);var I=M.extendFlat({},f);E?I.width=E:l.width===null&&d(_.width)&&(I.width=_.width),T?I.height=T:l.height===null&&d(_.height)&&(I.height=_.height);var R=M.extendFlat({},m,{_exportedPlot:!0,staticPlot:!0,setBackground:L}),z=g.getRedrawFunc(O);function F(){return new Promise(function(N){setTimeout(N,g.getDelay(O._fullLayout))})}function B(){return new Promise(function(N,q){var j=p(O,k,A),Y=O._fullLayout.width,U=O._fullLayout.height;function G(){v.purge(O),document.body.removeChild(O)}if(k==="full-json"){var W=i.graphJson(O,!1,"keepdata","object",!0,!0);return W.version=a,W=JSON.stringify(W),G(),N(b?W:g.encodeJSON(W))}if(G(),k==="svg")return N(b?j:g.encodeSVG(j));var H=document.createElement("canvas");H.id=M.randstr(),u({format:k,width:Y,height:U,scale:A,canvas:H,svg:j,promise:!0}).then(N).catch(q)})}return new Promise(function(N,q){v.newPlot(O,h,I,R).then(z).then(F).then(B).then(function(j){N(function(Y){return b?Y.replace(g.IMAGE_URL_PREFIX,""):Y}(j))}).catch(function(j){q(j)})})}},84936:function(x,o,t){var d=t(71828),v=t(74875),i=t(86281),M=t(72075).dfltConfig,g=d.isPlainObject,p=Array.isArray,u=d.isArrayOrTypedArray;function a(C,w,k,E,T,A){A=A||[];for(var L=Object.keys(C),b=0;bz.length&&E.push(h("unused",T,I.concat(z.length)));var Y,U,G,W,H,ne=z.length,te=Array.isArray(j);if(te&&(ne=Math.min(ne,j.length)),F.dimensions===2)for(U=0;Uz[U].length&&E.push(h("unused",T,I.concat(U,z[U].length)));var Z=z[U].length;for(Y=0;Y<(te?Math.min(Z,j[U].length):Z);Y++)G=te?j[U][Y]:j,W=R[U][Y],H=z[U][Y],d.validate(W,G)?H!==W&&H!==+W&&E.push(h("dynamic",T,I.concat(U,Y),W,H)):E.push(h("value",T,I.concat(U,Y),W))}else E.push(h("array",T,I.concat(U),R[U]));else for(U=0;U1&&A.push(h("object","layout"))),v.supplyDefaults(L);for(var b=L._fullData,O=k.length,I=0;I0&&Math.round(f)===f))return{vals:c};l=f}for(var m=u.calendar,_=s==="start",y=s==="end",C=p[a+"period0"],w=i(C,m)||0,k=[],E=[],T=[],A=c.length,L=0;LR;)I=M(I,-l,m);for(;I<=R;)I=M(I,l,m);O=M(I,-l,m)}else{for(I=w+(b=Math.round((R-w)/h))*h;I>R;)I-=h;for(;I<=R;)I+=h;O=I-h}k[L]=_?O:y?I:(O+I)/2,E[L]=O,T[L]=I}return{vals:k,starts:E,ends:T}}},89502:function(x){x.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},71739:function(x,o,t){var d=t(39898),v=t(92770),i=t(71828),M=t(50606).FP_SAFE,g=t(73972),p=t(91424),u=t(41675),a=u.getFromId,c=u.isLinked;function s(E,T){var A,L,b=[],O=E._fullLayout,I=h(O,T,0),R=h(O,T,1),z=f(E,T),F=z.min,B=z.max;if(F.length===0||B.length===0)return i.simpleMap(T.range,T.r2l);var N=F[0].val,q=B[0].val;for(A=1;A0&&((ne=re-I(U)-R(G))>ie?te/ne>oe&&(W=U,H=G,oe=te/ne):te/re>oe&&(W={val:U.val,nopad:1},H={val:G.val,nopad:1},oe=te/re));if(N===q){var ue=N-1,ce=N+1;if(X)if(N===0)b=[0,1];else{var ye=(N>0?B:F).reduce(function(me,pe){return Math.max(me,R(pe))},0),de=N/(1-Math.min(.5,ye/re));b=N>0?[0,de]:[de,0]}else b=Q?[Math.max(0,ue),Math.max(1,ce)]:[ue,ce]}else X?(W.val>=0&&(W={val:0,nopad:1}),H.val<=0&&(H={val:0,nopad:1})):Q&&(W.val-oe*I(W)<0&&(W={val:0,nopad:1}),H.val<=0&&(H={val:1,nopad:1})),oe=(H.val-W.val-l(T,U.val,G.val))/(re-I(W)-R(H)),b=[W.val-oe*I(W),H.val+oe*R(H)];return j&&b.reverse(),i.simpleMap(b,T.l2r||Number)}function l(E,T,A){var L=0;if(E.rangebreaks)for(var b=E.locateBreaks(T,A),O=0;O=A&&(F.extrapad||!I)){R=!1;break}b(T,F.val)&&F.pad<=A&&(I||!F.extrapad)&&(E.splice(z,1),z--)}if(R){var B=O&&T===0;E.push({val:T,pad:B?0:A,extrapad:!B&&I})}}function C(E){return v(E)&&Math.abs(E)=T}x.exports={getAutoRange:s,makePadFn:h,doAutoRange:function(E,T,A){if(T.setScale(),T.autorange){T.range=A?A.slice():s(E,T),T._r=T.range.slice(),T._rl=i.simpleMap(T._r,T.r2l);var L=T._input,b={};b[T._attr+".range"]=T.range,b[T._attr+".autorange"]=T.autorange,g.call("_storeDirectGUIEdit",E.layout,E._fullLayout._preGUI,b),L.range=T.range.slice(),L.autorange=T.autorange}var O=T._anchorAxis;if(O&&O.rangeslider){var I=O.rangeslider[T._name];I&&I.rangemode==="auto"&&(I.range=s(E,T)),O._input.rangeslider[T._name]=i.extendFlat({},I)}},findExtremes:function(E,T,A){A||(A={}),E._m||E.setScale();var L,b,O,I,R,z,F,B,N,q=[],j=[],Y=T.length,U=A.padded||!1,G=A.tozero&&(E.type==="linear"||E.type==="-"),W=E.type==="log",H=!1,ne=A.vpadLinearized||!1;function te(ce){if(Array.isArray(ce))return H=!0,function(de){return Math.max(Number(ce[de]||0),0)};var ye=Math.max(Number(ce||0),0);return function(){return ye}}var Z=te((E._m>0?A.ppadplus:A.ppadminus)||A.ppad||0),X=te((E._m>0?A.ppadminus:A.ppadplus)||A.ppad||0),Q=te(A.vpadplus||A.vpad),re=te(A.vpadminus||A.vpad);if(!H){if(B=1/0,N=-1/0,W)for(L=0;L0&&(B=b),b>N&&b-M&&(B=b),b>N&&b=ue;L--)oe(L);return{min:q,max:j,opts:A}},concatExtremes:f}},89298:function(x,o,t){var d=t(39898),v=t(92770),i=t(74875),M=t(73972),g=t(71828),p=g.strTranslate,u=t(63893),a=t(92998),c=t(7901),s=t(91424),l=t(13838),h=t(66287),f=t(50606),m=f.ONEMAXYEAR,_=f.ONEAVGYEAR,y=f.ONEMINYEAR,C=f.ONEMAXQUARTER,w=f.ONEAVGQUARTER,k=f.ONEMINQUARTER,E=f.ONEMAXMONTH,T=f.ONEAVGMONTH,A=f.ONEMINMONTH,L=f.ONEWEEK,b=f.ONEDAY,O=b/2,I=f.ONEHOUR,R=f.ONEMIN,z=f.ONESEC,F=f.MINUS_SIGN,B=f.BADNUM,N={K:"zeroline"},q={K:"gridline",L:"path"},j={K:"minor-gridline",L:"path"},Y={K:"tick",L:"path"},U={K:"tick",L:"text"},G={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},W=t(18783),H=W.MID_SHIFT,ne=W.CAP_SHIFT,te=W.LINE_SPACING,Z=W.OPPOSITE_SIDE,X=x.exports={};X.setConvert=t(21994);var Q=t(4322),re=t(41675),ie=re.idSort,oe=re.isLinked;X.id2name=re.id2name,X.name2id=re.name2id,X.cleanId=re.cleanId,X.list=re.list,X.listIds=re.listIds,X.getFromId=re.getFromId,X.getFromTrace=re.getFromTrace;var ue=t(71739);function ce(Oe){var Ne=1e-4*(Oe[1]-Oe[0]);return[Oe[0]-Ne,Oe[1]+Ne]}X.getAutoRange=ue.getAutoRange,X.findExtremes=ue.findExtremes,X.coerceRef=function(Oe,Ne,Qe,ut,pt,_t){var It=ut.charAt(ut.length-1),Lt=Qe._fullLayout._subplots[It+"axis"],yt=ut+"ref",Pt={};return pt||(pt=Lt[0]||(typeof _t=="string"?_t:_t[0])),_t||(_t=pt),Lt=Lt.concat(Lt.map(function(wt){return wt+" domain"})),Pt[yt]={valType:"enumerated",values:Lt.concat(_t?typeof _t=="string"?[_t]:_t:[]),dflt:pt},g.coerce(Oe,Ne,Pt,yt)},X.getRefType=function(Oe){return Oe===void 0?Oe:Oe==="paper"?"paper":Oe==="pixel"?"pixel":/( domain)$/.test(Oe)?"domain":"range"},X.coercePosition=function(Oe,Ne,Qe,ut,pt,_t){var It,Lt;if(X.getRefType(ut)!=="range")It=g.ensureNumber,Lt=Qe(pt,_t);else{var yt=X.getFromId(Ne,ut);Lt=Qe(pt,_t=yt.fraction2r(_t)),It=yt.cleanPos}Oe[pt]=It(Lt)},X.cleanPosition=function(Oe,Ne,Qe){return(Qe==="paper"||Qe==="pixel"?g.ensureNumber:X.getFromId(Ne,Qe).cleanPos)(Oe)},X.redrawComponents=function(Oe,Ne){Ne=Ne||X.listIds(Oe);var Qe=Oe._fullLayout;function ut(pt,_t,It,Lt){for(var yt=M.getComponentMethod(pt,_t),Pt={},wt=0;wtQe&&wt2e-6||((Qe-Oe._forceTick0)/Oe._minDtick%1+1.000001)%1>2e-6)&&(Oe._minDtick=0)):Oe._minDtick=0},X.saveRangeInitial=function(Oe,Ne){for(var Qe=X.list(Oe,"",!0),ut=!1,pt=0;pt.3*Rn||dn(un)||dn(An))){var In=xn.dtick/2;Qt+=Qt+In.8){var kn=Number(xn.substr(1));Yn.exactYears>.8&&kn%12==0?Qt=X.tickIncrement(Qt,"M6","reverse")+1.5*b:Yn.exactMonths>.8?Qt=X.tickIncrement(Qt,"M1","reverse")+15.5*b:Qt-=O;var sn=X.tickIncrement(Qt,xn);if(sn<=un)return sn}return Qt}(Xt,Oe,qt,Lt,pt)),$t=Xt;$t<=yt;)$t=X.tickIncrement($t,qt,!1,pt);return{start:Ne.c2r(Xt,0,pt),end:Ne.c2r($t,0,pt),size:qt,_dataSpan:yt-Lt}},X.prepMinorTicks=function(Oe,Ne,Qe){if(!Ne.minor.dtick){delete Oe.dtick;var ut,pt=Ne.dtick&&v(Ne._tmin);if(pt){var _t=X.tickIncrement(Ne._tmin,Ne.dtick,!0);ut=[Ne._tmin,.99*_t+.01*Ne._tmin]}else{var It=g.simpleMap(Ne.range,Ne.r2l);ut=[It[0],.8*It[0]+.2*It[1]]}if(Oe.range=g.simpleMap(ut,Ne.l2r),Oe._isMinor=!0,X.prepTicks(Oe,Qe),pt){var Lt=v(Ne.dtick),yt=v(Oe.dtick),Pt=Lt?Ne.dtick:+Ne.dtick.substring(1),wt=yt?Oe.dtick:+Oe.dtick.substring(1);Lt&&yt?pe(Pt,wt)?Pt===2*L&&wt===2*b&&(Oe.dtick=L):Pt===2*L&&wt===3*b?Oe.dtick=L:Pt!==L||(Ne._input.minor||{}).nticks?xe(Pt/wt,2.5)?Oe.dtick=Pt/2:Oe.dtick=Pt:Oe.dtick=b:String(Ne.dtick).charAt(0)==="M"?yt?Oe.dtick="M1":pe(Pt,wt)?Pt>=12&&wt===2&&(Oe.dtick="M3"):Oe.dtick=Ne.dtick:String(Oe.dtick).charAt(0)==="L"?String(Ne.dtick).charAt(0)==="L"?pe(Pt,wt)||(Oe.dtick=xe(Pt/wt,2.5)?Ne.dtick/2:Ne.dtick):Oe.dtick="D1":Oe.dtick==="D2"&&+Ne.dtick>1&&(Oe.dtick=1)}Oe.range=Ne.range}Ne.minor._tick0Init===void 0&&(Oe.tick0=Ne.tick0)},X.prepTicks=function(Oe,Ne){var Qe=g.simpleMap(Oe.range,Oe.r2l,void 0,void 0,Ne);if(Oe.tickmode==="auto"||!Oe.dtick){var ut,pt=Oe.nticks;pt||(Oe.type==="category"||Oe.type==="multicategory"?(ut=Oe.tickfont?g.bigFont(Oe.tickfont.size||12):15,pt=Oe._length/ut):(ut=Oe._id.charAt(0)==="y"?40:80,pt=g.constrain(Oe._length/ut,4,9)+1),Oe._name==="radialaxis"&&(pt*=2)),Oe.minor&&Oe.minor.tickmode!=="array"||Oe.tickmode==="array"&&(pt*=100),Oe._roughDTick=Math.abs(Qe[1]-Qe[0])/pt,X.autoTicks(Oe,Oe._roughDTick),Oe._minDtick>0&&Oe.dtick<2*Oe._minDtick&&(Oe.dtick=Oe._minDtick,Oe.tick0=Oe.l2r(Oe._forceTick0))}Oe.ticklabelmode==="period"&&function(_t){var It;function Lt(){return!(v(_t.dtick)||_t.dtick.charAt(0)!=="M")}var yt=Lt(),Pt=X.getTickFormat(_t);if(Pt){var wt=_t._dtickInit!==_t.dtick;/%[fLQsSMX]/.test(Pt)||(/%[HI]/.test(Pt)?(It=I,wt&&!yt&&_t.dtick=(rn?0:1);xn--){var un=!xn;xn?(Oe._dtickInit=Oe.dtick,Oe._tick0Init=Oe.tick0):(Oe.minor._dtickInit=Oe.minor.dtick,Oe.minor._tick0Init=Oe.minor.tick0);var An=xn?Oe:g.extendFlat({},Oe,Oe.minor);if(un?X.prepMinorTicks(An,Oe,Ne):X.prepTicks(An,Ne),An.tickmode!=="array")if(An.tickmode!=="sync"){var Yn=ce(yt),kn=Yn[0],sn=Yn[1],Tn=v(An.dtick),dn=pt==="log"&&!(Tn||An.dtick.charAt(0)==="L"),pn=X.tickFirst(An,Ne);if(xn){if(Oe._tmin=pn,pn=sn:Gn<=sn;Gn=X.tickIncrement(Gn,Wn,Pt,_t)){if(xn&&Rn++,An.rangebreaks&&!Pt){if(Gn=Ot)break}if(Xt.length>Nt||Gn===jn)break;jn=Gn;var ur={value:Gn};xn?(dn&&Gn!==(0|Gn)&&(ur.simpleLabel=!0),It>1&&Rn%It&&(ur.skipLabel=!0),Xt.push(ur)):(ur.minor=!0,Qt.push(ur))}}else Xt=[],$t=Me(Oe);else xn?(Xt=[],$t=Se(Oe)):(Qt=[],qt=Se(Oe))}if(rn&&!(Oe.minor.ticks==="inside"&&Oe.ticks==="outside"||Oe.minor.ticks==="outside"&&Oe.ticks==="inside")){for(var rr=Xt.map(function(Pn){return Pn.value}),Lr=[],br=0;br0?(Dn=fn-1,En=fn):(Dn=fn,En=fn);var mn,wn=Pn[Dn].value,gn=Pn[En].value,yn=Math.abs(gn-wn),Sn=Jt||yn,Vn=0;Sn>=y?Vn=yn>=y&&yn<=m?yn:_:Jt===w&&Sn>=k?Vn=yn>=k&&yn<=C?yn:w:Sn>=A?Vn=yn>=A&&yn<=E?yn:T:Jt===L&&Sn>=L?Vn=L:Sn>=b?Vn=b:Jt===O&&Sn>=O?Vn=O:Jt===I&&Sn>=I&&(Vn=I),Vn>=yn&&(Vn=yn,mn=!0);var Kn=zn+Vn;if(jt.rangebreaks&&Vn>0){for(var nr=0,Qn=0;Qn<84;Qn++){var hr=(Qn+.5)/84;jt.maskBreaks(zn*(1-hr)+hr*Kn)!==B&&nr++}(Vn*=nr/84)||(Pn[fn].drop=!0),mn&&yn>L&&(Vn=yn)}(Vn>0||fn===0)&&(Pn[fn].periodX=zn+Vn/2)}}(Xt,Oe,Oe._definedDelta),Oe.rangebreaks){var bn=Oe._id.charAt(0)==="y",On=1;Oe.tickmode==="auto"&&(On=Oe.tickfont?Oe.tickfont.size:12);var Ln=NaN;for(Qe=Xt.length-1;Qe>-1;Qe--)if(Xt[Qe].drop)Xt.splice(Qe,1);else{Xt[Qe].value=Je(Xt[Qe].value,Oe);var Un=Oe.c2p(Xt[Qe].value);(bn?Ln>Un-On:LnOt||ZnOt&&(Jn.periodX=Ot),Zn10||ut.substr(5)!=="01-01"?Oe._tickround="d":Oe._tickround=+Ne.substr(1)%12==0?"y":"m";else if(Ne>=b&&pt<=10||Ne>=15*b)Oe._tickround="d";else if(Ne>=R&&pt<=16||Ne>=I)Oe._tickround="M";else if(Ne>=z&&pt<=19||Ne>=R)Oe._tickround="S";else{var _t=Oe.l2r(Qe+Ne).replace(/^-/,"").length;Oe._tickround=Math.max(pt,_t)-20,Oe._tickround<0&&(Oe._tickround=4)}}else if(v(Ne)||Ne.charAt(0)==="L"){var It=Oe.range.map(Oe.r2d||Number);v(Ne)||(Ne=Number(Ne.substr(1))),Oe._tickround=2-Math.floor(Math.log(Ne)/Math.LN10+.01);var Lt=Math.max(Math.abs(It[0]),Math.abs(It[1])),yt=Math.floor(Math.log(Lt)/Math.LN10+.01),Pt=Oe.minexponent===void 0?3:Oe.minexponent;Math.abs(yt)>Pt&&(Ee(Oe.exponentformat)&&!Ve(yt)?Oe._tickexponent=3*Math.round((yt-1)/3):Oe._tickexponent=yt)}else Oe._tickround=null}function ge(Oe,Ne,Qe){var ut=Oe.tickfont||{};return{x:Ne,dx:0,dy:0,text:Qe||"",fontSize:ut.size,font:ut.family,fontColor:ut.color}}X.autoTicks=function(Oe,Ne,Qe){var ut;function pt(Ot){return Math.pow(Ot,Math.floor(Math.log(Ne)/Math.LN10))}if(Oe.type==="date"){Oe.tick0=g.dateTick0(Oe.calendar,0);var _t=2*Ne;if(_t>_)Ne/=_,ut=pt(10),Oe.dtick="M"+12*ze(Ne,ut,Ce);else if(_t>T)Ne/=T,Oe.dtick="M"+ze(Ne,1,ae);else if(_t>b){if(Oe.dtick=ze(Ne,b,Oe._hasDayOfWeekBreaks?[1,2,7,14]:be),!Qe){var It=X.getTickFormat(Oe),Lt=Oe.ticklabelmode==="period";Lt&&(Oe._rawTick0=Oe.tick0),/%[uVW]/.test(It)?Oe.tick0=g.dateTick0(Oe.calendar,2):Oe.tick0=g.dateTick0(Oe.calendar,1),Lt&&(Oe._dowTick0=Oe.tick0)}}else _t>I?Oe.dtick=ze(Ne,I,ae):_t>R?Oe.dtick=ze(Ne,R,he):_t>z?Oe.dtick=ze(Ne,z,he):(ut=pt(10),Oe.dtick=ze(Ne,ut,Ce))}else if(Oe.type==="log"){Oe.tick0=0;var yt=g.simpleMap(Oe.range,Oe.r2l);if(Oe._isMinor&&(Ne*=1.5),Ne>.7)Oe.dtick=Math.ceil(Ne);else if(Math.abs(yt[1]-yt[0])<1){var Pt=1.5*Math.abs((yt[1]-yt[0])/Ne);Ne=Math.abs(Math.pow(10,yt[1])-Math.pow(10,yt[0]))/Pt,ut=pt(10),Oe.dtick="L"+ze(Ne,ut,Ce)}else Oe.dtick=Ne>.3?"D2":"D1"}else Oe.type==="category"||Oe.type==="multicategory"?(Oe.tick0=0,Oe.dtick=Math.ceil(Math.max(Ne,1))):Ke(Oe)?(Oe.tick0=0,ut=1,Oe.dtick=ze(Ne,ut,Be)):(Oe.tick0=0,ut=pt(10),Oe.dtick=ze(Ne,ut,Ce));if(Oe.dtick===0&&(Oe.dtick=1),!v(Oe.dtick)&&typeof Oe.dtick!="string"){var wt=Oe.dtick;throw Oe.dtick=1,"ax.dtick error: "+String(wt)}},X.tickIncrement=function(Oe,Ne,Qe,ut){var pt=Qe?-1:1;if(v(Ne))return g.increment(Oe,pt*Ne);var _t=Ne.charAt(0),It=pt*Number(Ne.substr(1));if(_t==="M")return g.incrementMonth(Oe,It,ut);if(_t==="L")return Math.log(Math.pow(10,Oe)+It)/Math.LN10;if(_t==="D"){var Lt=Ne==="D2"?Le:ke,yt=Oe+.01*pt,Pt=g.roundUp(g.mod(yt,1),Lt,Qe);return Math.floor(yt)+Math.log(d.round(Math.pow(10,Pt),1))/Math.LN10}throw"unrecognized dtick "+String(Ne)},X.tickFirst=function(Oe,Ne){var Qe=Oe.r2l||Number,ut=g.simpleMap(Oe.range,Qe,void 0,void 0,Ne),pt=ut[1] ")}else Qt._prevDateHead=kn,sn+="
"+kn;rn.text=sn}(Oe,_t,Qe,Lt):yt==="log"?function(Qt,rn,xn,un,An){var Yn=Qt.dtick,kn=rn.x,sn=Qt.tickformat,Tn=typeof Yn=="string"&&Yn.charAt(0);if(An==="never"&&(An=""),un&&Tn!=="L"&&(Yn="L3",Tn="L"),sn||Tn==="L")rn.text=Ye(Math.pow(10,kn),Qt,An,un);else if(v(Yn)||Tn==="D"&&g.mod(kn+.01,1)<.1){var dn=Math.round(kn),pn=Math.abs(dn),Rn=Qt.exponentformat;Rn==="power"||Ee(Rn)&&Ve(dn)?(rn.text=dn===0?1:dn===1?"10":"10"+(dn>1?"":F)+pn+"",rn.fontSize*=1.25):(Rn==="e"||Rn==="E")&&pn>2?rn.text="1"+Rn+(dn>0?"+":F)+pn:(rn.text=Ye(Math.pow(10,kn),Qt,"","fakehover"),Yn==="D1"&&Qt._id.charAt(0)==="y"&&(rn.dy-=rn.fontSize/6))}else{if(Tn!=="D")throw"unrecognized dtick "+String(Yn);rn.text=String(Math.round(Math.pow(10,g.mod(kn,1)))),rn.fontSize*=.75}if(Qt.dtick==="D1"){var In=String(rn.text).charAt(0);In!=="0"&&In!=="1"||(Qt._id.charAt(0)==="y"?rn.dx-=rn.fontSize/4:(rn.dy+=rn.fontSize/2,rn.dx+=(Qt.range[1]>Qt.range[0]?1:-1)*rn.fontSize*(kn<0?.5:.25)))}}(Oe,_t,0,Lt,$t):yt==="category"?function(Qt,rn){var xn=Qt._categories[Math.round(rn.x)];xn===void 0&&(xn=""),rn.text=String(xn)}(Oe,_t):yt==="multicategory"?function(Qt,rn,xn){var un=Math.round(rn.x),An=Qt._categories[un]||[],Yn=An[1]===void 0?"":String(An[1]),kn=An[0]===void 0?"":String(An[0]);xn?rn.text=kn+" - "+Yn:(rn.text=Yn,rn.text2=kn)}(Oe,_t,Qe):Ke(Oe)?function(Qt,rn,xn,un,An){if(Qt.thetaunit!=="radians"||xn)rn.text=Ye(rn.x,Qt,An,un);else{var Yn=rn.x/180;if(Yn===0)rn.text="0";else{var kn=function(Tn){function dn(jn,Gn){return Math.abs(jn-Gn)<=1e-6}var pn=function(jn){for(var Gn=1;!dn(Math.round(jn*Gn)/Gn,jn);)Gn*=10;return Gn}(Tn),Rn=Tn*pn,In=Math.abs(function jn(Gn,Wn){return dn(Wn,0)?Gn:jn(Wn,Gn%Wn)}(Rn,pn));return[Math.round(Rn/In),Math.round(pn/In)]}(Yn);if(kn[1]>=100)rn.text=Ye(g.deg2rad(rn.x),Qt,An,un);else{var sn=rn.x<0;kn[1]===1?kn[0]===1?rn.text="π":rn.text=kn[0]+"π":rn.text=["",kn[0],"","⁄","",kn[1],"","π"].join(""),sn&&(rn.text=F+rn.text)}}}}(Oe,_t,Qe,Lt,$t):function(Qt,rn,xn,un,An){An==="never"?An="":Qt.showexponent==="all"&&Math.abs(rn.x/Qt.dtick)<1e-6&&(An="hide"),rn.text=Ye(rn.x,Qt,An,un)}(Oe,_t,0,Lt,$t),ut||(Oe.tickprefix&&!Nt(Oe.showtickprefix)&&(_t.text=Oe.tickprefix+_t.text),Oe.ticksuffix&&!Nt(Oe.showticksuffix)&&(_t.text+=Oe.ticksuffix)),Oe.labelalias&&Oe.labelalias.hasOwnProperty(_t.text)){var qt=Oe.labelalias[_t.text];typeof qt=="string"&&(_t.text=qt)}if(Oe.tickson==="boundaries"||Oe.showdividers){var Xt=function(Qt){var rn=Oe.l2p(Qt);return rn>=0&&rn<=Oe._length?Qt:null};_t.xbnd=[Xt(_t.x-.5),Xt(_t.x+Oe.dtick-.5)]}return _t},X.hoverLabelText=function(Oe,Ne,Qe){Qe&&(Oe=g.extendFlat({},Oe,{hoverformat:Qe}));var ut=Array.isArray(Ne)?Ne[0]:Ne,pt=Array.isArray(Ne)?Ne[1]:void 0;if(pt!==void 0&&pt!==ut)return X.hoverLabelText(Oe,ut,Qe)+" - "+X.hoverLabelText(Oe,pt,Qe);var _t=Oe.type==="log"&&ut<=0,It=X.tickText(Oe,Oe.c2l(_t?-ut:ut),"hover").text;return _t?ut===0?"0":F+It:It};var we=["f","p","n","μ","m","","k","M","G","T"];function Ee(Oe){return Oe==="SI"||Oe==="B"}function Ve(Oe){return Oe>14||Oe<-15}function Ye(Oe,Ne,Qe,ut){var pt=Oe<0,_t=Ne._tickround,It=Qe||Ne.exponentformat||"B",Lt=Ne._tickexponent,yt=X.getTickFormat(Ne),Pt=Ne.separatethousands;if(ut){var wt={exponentformat:It,minexponent:Ne.minexponent,dtick:Ne.showexponent==="none"?Ne.dtick:v(Oe)&&Math.abs(Oe)||1,range:Ne.showexponent==="none"?Ne.range.map(Ne.r2d):[0,Oe||1]};je(wt),_t=(Number(wt._tickround)||0)+4,Lt=wt._tickexponent,Ne.hoverformat&&(yt=Ne.hoverformat)}if(yt)return Ne._numFormat(yt)(Oe).replace(/-/g,F);var Ot,Nt=Math.pow(10,-_t)/2;if(It==="none"&&(Lt=0),(Oe=Math.abs(Oe))"+Ot+"":It==="B"&&Lt===9?Oe+="B":Ee(It)&&(Oe+=we[Lt/3+5])),pt?F+Oe:Oe}function $e(Oe,Ne){if(Oe){var Qe=Object.keys(G).reduce(function(ut,pt){return Ne.indexOf(pt)!==-1&&G[pt].forEach(function(_t){ut[_t]=1}),ut},{});Object.keys(Oe).forEach(function(ut){Qe[ut]||(ut.length===1?Oe[ut]=0:delete Oe[ut])})}}function st(Oe,Ne){for(var Qe=[],ut={},pt=0;pt1&&Qe=pt.min&&Oe=0,rn=wt(Nt,$t[1])<=0;return(qt||Qt)&&(Xt||rn)}if(Oe.tickformatstops&&Oe.tickformatstops.length>0)switch(Oe.type){case"date":case"linear":for(Ne=0;Ne=It(pt)))){Qe=ut;break}break;case"log":for(Ne=0;Ne=0&&pt.unshift(pt.splice(Pt,1).shift())}});var It={false:{left:0,right:0}};return g.syncOrAsync(pt.map(function(Lt){return function(){if(Lt){var yt=X.getFromId(Oe,Lt);Qe||(Qe={}),Qe.axShifts=It,Qe.overlayingShiftedAx=_t;var Pt=X.drawOne(Oe,yt,Qe);return yt._shiftPusher&&ht(yt,yt._fullDepth||0,It,!0),yt._r=yt.range.slice(),yt._rl=g.simpleMap(yt._r,yt.r2l),Pt}}}))},X.drawOne=function(Oe,Ne,Qe){var ut,pt,_t,It=(Qe=Qe||{}).axShifts||{},Lt=Qe.overlayingShiftedAx||[];Ne.setScale();var yt=Oe._fullLayout,Pt=Ne._id,wt=Pt.charAt(0),Ot=X.counterLetter(Pt),Nt=yt._plots[Ne._mainSubplot];if(Nt){if(Ne._shiftPusher=Ne.autoshift||Lt.indexOf(Ne._id)!==-1||Lt.indexOf(Ne.overlaying)!==-1,Ne._shiftPusher&Ne.anchor==="free"){var $t=Ne.linewidth/2||0;Ne.ticks==="inside"&&($t+=Ne.ticklen),ht(Ne,$t,It,!0),ht(Ne,Ne.shift||0,It,!1)}Qe.skipTitle===!0&&Ne._shift!==void 0||(Ne._shift=function(En,mn){return En.autoshift?mn[En.overlaying][En.side]:En.shift||0}(Ne,It));var qt=Nt[wt+"axislayer"],Xt=Ne._mainLinePosition,Qt=Xt+=Ne._shift,rn=Ne._mainMirrorPosition,xn=Ne._vals=X.calcTicks(Ne),un=[Ne.mirror,Qt,rn].join("_");for(ut=0;ut0?En.bottom-Vn:0,Kn))));var nr=0,Qn=0;if(Ne._shiftPusher&&(nr=Math.max(Kn,En.height>0?yn==="l"?Vn-En.left:En.right-Vn:0),Ne.title.text!==yt._dfltTitle[wt]&&(Qn=(Ne._titleStandoff||0)+(Ne._titleScoot||0),yn==="l"&&(Qn+=bt(Ne))),Ne._fullDepth=Math.max(nr,Qn)),Ne.automargin){mn={x:0,y:0,r:0,l:0,t:0,b:0};var hr=[0,1],fr=typeof Ne._shift=="number"?Ne._shift:0;if(wt==="x"){if(yn==="b"?mn[yn]=Ne._depth:(mn[yn]=Ne._depth=Math.max(En.width>0?Vn-En.top:0,Kn),hr.reverse()),En.width>0){var mr=En.right-(Ne._offset+Ne._length);mr>0&&(mn.xr=1,mn.r=mr);var pr=Ne._offset-En.left;pr>0&&(mn.xl=0,mn.l=pr)}}else if(yn==="l"?(Ne._depth=Math.max(En.height>0?Vn-En.left:0,Kn),mn[yn]=Ne._depth-fr):(Ne._depth=Math.max(En.height>0?En.right-Vn:0,Kn),mn[yn]=Ne._depth+fr,hr.reverse()),En.height>0){var xr=En.bottom-(Ne._offset+Ne._length);xr>0&&(mn.yb=0,mn.b=xr);var Rr=Ne._offset-En.top;Rr>0&&(mn.yt=1,mn.t=Rr)}mn[Ot]=Ne.anchor==="free"?Ne.position:Ne._anchorAxis.domain[hr[0]],Ne.title.text!==yt._dfltTitle[wt]&&(mn[yn]+=bt(Ne)+(Ne.title.standoff||0)),Ne.mirror&&Ne.anchor!=="free"&&((wn={x:0,y:0,r:0,l:0,t:0,b:0})[Sn]=Ne.linewidth,Ne.mirror&&Ne.mirror!==!0&&(wn[Sn]+=Kn),Ne.mirror===!0||Ne.mirror==="ticks"?wn[Ot]=Ne._anchorAxis.domain[hr[1]]:Ne.mirror!=="all"&&Ne.mirror!=="allticks"||(wn[Ot]=[Ne._counterDomainMin,Ne._counterDomainMax][hr[1]]))}zn&&(gn=M.getComponentMethod("rangeslider","autoMarginOpts")(Oe,Ne)),typeof Ne.automargin=="string"&&($e(mn,Ne.automargin),$e(wn,Ne.automargin)),i.autoMargin(Oe,xt(Ne),mn),i.autoMargin(Oe,Ft(Ne),wn),i.autoMargin(Oe,Dt(Ne),gn)}),g.syncOrAsync(Jt)}}function Dn(En){var mn=Pt+(En||"tick");return An[mn]||(An[mn]=function(wn,gn){var yn,Sn,Vn,Kn;return wn._selections[gn].size()?(yn=1/0,Sn=-1/0,Vn=1/0,Kn=-1/0,wn._selections[gn].each(function(){var nr=kt(this),Qn=s.bBox(nr.node().parentNode);yn=Math.min(yn,Qn.top),Sn=Math.max(Sn,Qn.bottom),Vn=Math.min(Vn,Qn.left),Kn=Math.max(Kn,Qn.right)})):(yn=0,Sn=0,Vn=0,Kn=0),{top:yn,bottom:Sn,left:Vn,right:Kn,height:Sn-yn,width:Kn-Vn}}(Ne,mn)),An[mn]}},X.getTickSigns=function(Oe,Ne){var Qe=Oe._id.charAt(0),ut={x:"top",y:"right"}[Qe],pt=Oe.side===ut?1:-1,_t=[-1,1,pt,-pt];return(Ne?(Oe.minor||{}).ticks:Oe.ticks)!=="inside"==(Qe==="x")&&(_t=_t.map(function(It){return-It})),Oe.side&&_t.push({l:-1,t:-1,r:1,b:1}[Oe.side.charAt(0)]),_t},X.makeTransTickFn=function(Oe){return Oe._id.charAt(0)==="x"?function(Ne){return p(Oe._offset+Oe.l2p(Ne.x),0)}:function(Ne){return p(0,Oe._offset+Oe.l2p(Ne.x))}},X.makeTransTickLabelFn=function(Oe){var Ne=function(pt){var _t=pt.ticklabelposition||"",It=function(rn){return _t.indexOf(rn)!==-1},Lt=It("top"),yt=It("left"),Pt=It("right"),wt=It("bottom"),Ot=It("inside"),Nt=wt||yt||Lt||Pt;if(!Nt&&!Ot)return[0,0];var $t=pt.side,qt=Nt?(pt.tickwidth||0)/2:0,Xt=3,Qt=pt.tickfont?pt.tickfont.size:12;return(wt||Lt)&&(qt+=Qt*ne,Xt+=(pt.linewidth||0)/2),(yt||Pt)&&(qt+=(pt.linewidth||0)/2,Xt+=3),Ot&&$t==="top"&&(Xt-=Qt*(1-ne)),(yt||Lt)&&(qt=-qt),$t!=="bottom"&&$t!=="right"||(Xt=-Xt),[Nt?qt:0,Ot?Xt:0]}(Oe),Qe=Ne[0],ut=Ne[1];return Oe._id.charAt(0)==="x"?function(pt){return p(Qe+Oe._offset+Oe.l2p(ot(pt)),ut)}:function(pt){return p(ut,Qe+Oe._offset+Oe.l2p(ot(pt)))}},X.makeTickPath=function(Oe,Ne,Qe,ut){ut||(ut={});var pt=ut.minor;if(pt&&!Oe.minor)return"";var _t=ut.len!==void 0?ut.len:pt?Oe.minor.ticklen:Oe.ticklen,It=Oe._id.charAt(0),Lt=(Oe.linewidth||1)/2;return It==="x"?"M0,"+(Ne+Lt*Qe)+"v"+_t*Qe:"M"+(Ne+Lt*Qe)+",0h"+_t*Qe},X.makeLabelFns=function(Oe,Ne,Qe){var ut=Oe.ticklabelposition||"",pt=function(Rn){return ut.indexOf(Rn)!==-1},_t=pt("top"),It=pt("left"),Lt=pt("right"),yt=pt("bottom")||It||_t||Lt,Pt=pt("inside"),wt=ut==="inside"&&Oe.ticks==="inside"||!Pt&&Oe.ticks==="outside"&&Oe.tickson!=="boundaries",Ot=0,Nt=0,$t=wt?Oe.ticklen:0;if(Pt?$t*=-1:yt&&($t=0),wt&&(Ot+=$t,Qe)){var qt=g.deg2rad(Qe);Ot=$t*Math.cos(qt)+1,Nt=$t*Math.sin(qt)}Oe.showticklabels&&(wt||Oe.showline)&&(Ot+=.2*Oe.tickfont.size);var Xt,Qt,rn,xn,un,An={labelStandoff:Ot+=(Oe.linewidth||1)/2*(Pt?-1:1),labelShift:Nt},Yn=0,kn=Oe.side,sn=Oe._id.charAt(0),Tn=Oe.tickangle;if(sn==="x")xn=(un=!Pt&&kn==="bottom"||Pt&&kn==="top")?1:-1,Pt&&(xn*=-1),Xt=Nt*xn,Qt=Ne+Ot*xn,rn=un?1:-.2,Math.abs(Tn)===90&&(Pt?rn+=H:rn=Tn===-90&&kn==="bottom"?ne:Tn===90&&kn==="top"?H:.5,Yn=H/2*(Tn/90)),An.xFn=function(Rn){return Rn.dx+Xt+Yn*Rn.fontSize},An.yFn=function(Rn){return Rn.dy+Qt+Rn.fontSize*rn},An.anchorFn=function(Rn,In){if(yt){if(It)return"end";if(Lt)return"start"}return v(In)&&In!==0&&In!==180?In*xn<0!==Pt?"end":"start":"middle"},An.heightFn=function(Rn,In,jn){return In<-60||In>60?-.5*jn:Oe.side==="top"!==Pt?-jn:0};else if(sn==="y"){if(xn=(un=!Pt&&kn==="left"||Pt&&kn==="right")?1:-1,Pt&&(xn*=-1),Xt=Ot,Qt=Nt*xn,rn=0,Pt||Math.abs(Tn)!==90||(rn=Tn===-90&&kn==="left"||Tn===90&&kn==="right"?ne:.5),Pt){var dn=v(Tn)?+Tn:0;if(dn!==0){var pn=g.deg2rad(dn);Yn=Math.abs(Math.sin(pn))*ne*xn,rn=0}}An.xFn=function(Rn){return Rn.dx+Ne-(Xt+Rn.fontSize*rn)*xn+Yn*Rn.fontSize},An.yFn=function(Rn){return Rn.dy+Qt+Rn.fontSize*H},An.anchorFn=function(Rn,In){return v(In)&&Math.abs(In)===90?"middle":un?"end":"start"},An.heightFn=function(Rn,In,jn){return Oe.side==="right"&&(In*=-1),In<-30?-jn:In<30?-.5*jn:0}}return An},X.drawTicks=function(Oe,Ne,Qe){Qe=Qe||{};var ut=Ne._id+"tick",pt=[].concat(Ne.minor&&Ne.minor.ticks?Qe.vals.filter(function(It){return It.minor&&!It.noTick}):[]).concat(Ne.ticks?Qe.vals.filter(function(It){return!It.minor&&!It.noTick}):[]),_t=Qe.layer.selectAll("path."+ut).data(pt,ft);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("ticks",1).classed("crisp",Qe.crisp!==!1).each(function(It){return c.stroke(d.select(this),It.minor?Ne.minor.tickcolor:Ne.tickcolor)}).style("stroke-width",function(It){return s.crispRound(Oe,It.minor?Ne.minor.tickwidth:Ne.tickwidth,1)+"px"}).attr("d",Qe.path).style("display",null),nt(Ne,[Y]),_t.attr("transform",Qe.transFn)},X.drawGrid=function(Oe,Ne,Qe){if(Qe=Qe||{},Ne.tickmode!=="sync"){var ut=Ne._id+"grid",pt=Ne.minor&&Ne.minor.showgrid,_t=pt?Qe.vals.filter(function(rn){return rn.minor}):[],It=Ne.showgrid?Qe.vals.filter(function(rn){return!rn.minor}):[],Lt=Qe.counterAxis;if(Lt&&X.shouldShowZeroLine(Oe,Ne,Lt))for(var yt=Ne.tickmode==="array",Pt=0;Pt=0;qt--){var Xt=qt?Nt:$t;if(Xt){var Qt=Xt.selectAll("path."+ut).data(qt?It:_t,ft);Qt.exit().remove(),Qt.enter().append("path").classed(ut,1).classed("crisp",Qe.crisp!==!1),Qt.attr("transform",Qe.transFn).attr("d",Qe.path).each(function(rn){return c.stroke(d.select(this),rn.minor?Ne.minor.gridcolor:Ne.gridcolor||"#ddd")}).style("stroke-dasharray",function(rn){return s.dashStyle(rn.minor?Ne.minor.griddash:Ne.griddash,rn.minor?Ne.minor.gridwidth:Ne.gridwidth)}).style("stroke-width",function(rn){return(rn.minor?Ot:Ne._gw)+"px"}).style("display",null),typeof Qe.path=="function"&&Qt.attr("d",Qe.path)}}nt(Ne,[q,j])}},X.drawZeroLine=function(Oe,Ne,Qe){Qe=Qe||Qe;var ut=Ne._id+"zl",pt=X.shouldShowZeroLine(Oe,Ne,Qe.counterAxis),_t=Qe.layer.selectAll("path."+ut).data(pt?[{x:0,id:Ne._id}]:[]);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("zl",1).classed("crisp",Qe.crisp!==!1).each(function(){Qe.layer.selectAll("path").sort(function(It,Lt){return ie(It.id,Lt.id)})}),_t.attr("transform",Qe.transFn).attr("d",Qe.path).call(c.stroke,Ne.zerolinecolor||c.defaultLine).style("stroke-width",s.crispRound(Oe,Ne.zerolinewidth,Ne._gw||1)+"px").style("display",null),nt(Ne,[N])},X.drawLabels=function(Oe,Ne,Qe){Qe=Qe||{};var ut=Oe._fullLayout,pt=Ne._id,_t=pt.charAt(0),It=Qe.cls||pt+"tick",Lt=Qe.vals.filter(function(xn){return xn.text}),yt=Qe.labelFns,Pt=Qe.secondary?0:Ne.tickangle,wt=(Ne._prevTickAngles||{})[It],Ot=Qe.layer.selectAll("g."+It).data(Ne.showticklabels?Lt:[],ft),Nt=[];function $t(xn,un){xn.each(function(An){var Yn=d.select(this),kn=Yn.select(".text-math-group"),sn=yt.anchorFn(An,un),Tn=Qe.transFn.call(Yn.node(),An)+(v(un)&&+un!=0?" rotate("+un+","+yt.xFn(An)+","+(yt.yFn(An)-An.fontSize/2)+")":""),dn=u.lineCount(Yn),pn=te*An.fontSize,Rn=yt.heightFn(An,v(un)?+un:0,(dn-1)*pn);if(Rn&&(Tn+=p(0,Rn)),kn.empty()){var In=Yn.select("text");In.attr({transform:Tn,"text-anchor":sn}),In.style("opacity",1),Ne._adjustTickLabelsOverflow&&Ne._adjustTickLabelsOverflow()}else{var jn=s.bBox(kn.node()).width*{end:-.5,start:.5}[sn];kn.attr("transform",Tn+p(jn,0))}})}Ot.enter().append("g").classed(It,1).append("text").attr("text-anchor","middle").each(function(xn){var un=d.select(this),An=Oe._promises.length;un.call(u.positionText,yt.xFn(xn),yt.yFn(xn)).call(s.font,xn.font,xn.fontSize,xn.fontColor).text(xn.text).call(u.convertToTspans,Oe),Oe._promises[An]?Nt.push(Oe._promises.pop().then(function(){$t(un,Pt)})):$t(un,Pt)}),nt(Ne,[U]),Ot.exit().remove(),Qe.repositionOnUpdate&&Ot.each(function(xn){d.select(this).select("text").call(u.positionText,yt.xFn(xn),yt.yFn(xn))}),Ne._adjustTickLabelsOverflow=function(){var xn=Ne.ticklabeloverflow;if(xn&&xn!=="allow"){var un=xn.indexOf("hide")!==-1,An=Ne._id.charAt(0)==="x",Yn=0,kn=An?Oe._fullLayout.width:Oe._fullLayout.height;if(xn.indexOf("domain")!==-1){var sn=g.simpleMap(Ne.range,Ne.r2l);Yn=Ne.l2p(sn[0])+Ne._offset,kn=Ne.l2p(sn[1])+Ne._offset}var Tn=Math.min(Yn,kn),dn=Math.max(Yn,kn),pn=Ne.side,Rn=1/0,In=-1/0;for(var jn in Ot.each(function(ur){var rr=d.select(this);if(rr.select(".text-math-group").empty()){var Lr=s.bBox(rr.node()),br=0;An?(Lr.right>dn||Lr.leftdn||Lr.top+(Ne.tickangle?0:ur.fontSize/4)Ne["_visibleLabelMin_"+sn._id]?Wn.style("display","none"):dn.K!=="tick"||Tn||Wn.style("display",null)})})})})},$t(Ot,wt+1?wt:Pt);var qt=null;Ne._selections&&(Ne._selections[It]=Ot);var Xt=[function(){return Nt.length&&Promise.all(Nt)}];Ne.automargin&&ut._redrawFromAutoMarginCount&&wt===90?(qt=90,Xt.push(function(){$t(Ot,wt)})):Xt.push(function(){if($t(Ot,Pt),Lt.length&&_t==="x"&&!v(Pt)&&(Ne.type!=="log"||String(Ne.dtick).charAt(0)!=="D")){qt=0;var xn,un=0,An=[];if(Ot.each(function(rr){un=Math.max(un,rr.fontSize);var Lr=Ne.l2p(rr.x),br=kt(this),or=s.bBox(br.node());An.push({top:0,bottom:10,height:10,left:Lr-or.width/2,right:Lr+or.width/2+2,width:or.width+2})}),Ne.tickson!=="boundaries"&&!Ne.showdividers||Qe.secondary){var Yn=Lt.length,kn=Math.abs((Lt[Yn-1].x-Lt[0].x)*Ne._m)/(Yn-1),sn=Ne.ticklabelposition||"",Tn=function(rr){return sn.indexOf(rr)!==-1},dn=Tn("top"),pn=Tn("left"),Rn=Tn("right"),In=Tn("bottom")||pn||dn||Rn?(Ne.tickwidth||0)+6:0,jn=kn<2.5*un||Ne.type==="multicategory"||Ne._name==="realaxis";for(xn=0;xn1)for(Lt=1;Lt2*b}(f,l))return"date";var w=h.autotypenumbers!=="strict";return function(k,E){for(var T=k.length,A=c(T),L=0,b=0,O={},I=0;I2*L}(f,w)?"category":function(k,E){for(var T=k.length,A=0;A=2){var b,O,I="";if(L.length===2){for(b=0;b<2;b++)if(O=w(L[b])){I=m;break}}var R=A("pattern",I);if(R===m)for(b=0;b<2;b++)(O=w(L[b]))&&(E.bounds[b]=L[b]=O-1);if(R)for(b=0;b<2;b++)switch(O=L[b],R){case m:if(!d(O)||(O=+O)!==Math.floor(O)||O<0||O>=7)return void(E.enabled=!1);E.bounds[b]=L[b]=O;break;case _:if(!d(O)||(O=+O)<0||O>24)return void(E.enabled=!1);E.bounds[b]=L[b]=O}if(T.autorange===!1){var z=T.range;if(z[0]z[1])return void(E.enabled=!1)}else if(L[0]>z[0]&&L[1]u?1:-1:+(M.substr(1)||1)-+(g.substr(1)||1)},o.ref2id=function(M){return!!/^[xyz]/.test(M)&&M.split(" ")[0]},o.isLinked=function(M,g){return i(g,M._axisMatchGroups)||i(g,M._axisConstraintGroups)}},15258:function(x){x.exports=function(o,t,d,v){if(t.type==="category"){var i,M=o.categoryarray,g=Array.isArray(M)&&M.length>0;g&&(i="array");var p,u=d("categoryorder",i);u==="array"&&(p=d("categoryarray")),g||u!=="array"||(u=t.categoryorder="trace"),u==="trace"?t._initialCategories=[]:u==="array"?t._initialCategories=p.slice():(p=function(a,c){var s,l,h,f=c.dataAttr||a._id.charAt(0),m={};if(c.axData)s=c.axData;else for(s=[],l=0;lk?E.substr(k):T.substr(w))+A:E+T+y*C:A}function m(y,C){for(var w=C._size,k=w.h/w.w,E={},T=Object.keys(y),A=0;Au*F)||j){for(w=0;wQ&&ueZ&&(Z=ue);b/=(Z-te)/(2*X),te=T.l2r(te),Z=T.l2r(Z),T.range=T._input.range=W=0?Math.min(ue,.9):1/(1/Math.max(ue,-.3)+3.222))}function W(ue,ce,ye,de,me){return ue.append("path").attr("class","zoombox").style({fill:ce>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",u(ye,de)).attr("d",me+"Z")}function H(ue,ce,ye){return ue.append("path").attr("class","zoombox-corners").style({fill:c.background,stroke:c.defaultLine,"stroke-width":1,opacity:0}).attr("transform",u(ce,ye)).attr("d","M0,0Z")}function ne(ue,ce,ye,de,me,pe){ue.attr("d",de+"M"+ye.l+","+ye.t+"v"+ye.h+"h"+ye.w+"v-"+ye.h+"h-"+ye.w+"Z"),te(ue,ce,me,pe)}function te(ue,ce,ye,de){ye||(ue.transition().style("fill",de>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ce.transition().style("opacity",1).duration(200))}function Z(ue){d.select(ue).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function X(ue){B&&ue.data&&ue._context.showTips&&(v.notifier(v._(ue,"Double-click to zoom back out"),"long"),B=!1)}function Q(ue){var ce=Math.floor(Math.min(ue.b-ue.t,ue.r-ue.l,F)/2);return"M"+(ue.l-3.5)+","+(ue.t-.5+ce)+"h3v"+-ce+"h"+ce+"v-3h-"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.t-.5+ce)+"h-3v"+-ce+"h"+-ce+"v-3h"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.b+.5-ce)+"h-3v"+ce+"h"+-ce+"v3h"+(ce+3)+"ZM"+(ue.l-3.5)+","+(ue.b+.5-ce)+"h3v"+ce+"h"+ce+"v3h-"+(ce+3)+"Z"}function re(ue,ce,ye,de,me){for(var pe,xe,Pe,_e,Me=!1,Se={},Ce={},ae=(me||{}).xaHash,he=(me||{}).yaHash,be=0;be=0)dn._fullLayout._deactivateShape(dn);else{var pn=dn._fullLayout.clickmode;if(Z(dn),sn!==2||Ft||rn(),xt)pn.indexOf("select")>-1&&O(Tn,dn,ae,he,ce.id,pt),pn.indexOf("event")>-1&&l.click(dn,Tn,ce.id);else if(sn===1&&Ft){var Rn=xe?Me:_e,In=xe==="s"||Pe==="w"?0:1,jn=Rn._name+".range["+In+"]",Gn=function(rr,Lr){var br,or=rr.range[Lr],yr=Math.abs(or-rr.range[1-Lr]);return rr.type==="date"?or:rr.type==="log"?(br=Math.ceil(Math.max(0,-Math.log(yr)/Math.LN10))+3,i("."+br+"g")(Math.pow(10,or))):(br=Math.floor(Math.log(Math.abs(or))/Math.LN10)-Math.floor(Math.log(yr)/Math.LN10)+4,i("."+String(br)+"g")(or))}(Rn,In),Wn="left",ur="middle";if(Rn.fixedrange)return;xe?(ur=xe==="n"?"top":"bottom",Rn.side==="right"&&(Wn="right")):Pe==="e"&&(Wn="right"),dn._context.showAxisRangeEntryBoxes&&d.select(Wt).call(a.makeEditable,{gd:dn,immediate:!0,background:dn._fullLayout.paper_bgcolor,text:String(Gn),fill:Rn.tickfont?Rn.tickfont.color:"#444",horizontalAlign:Wn,verticalAlign:ur}).on("edit",function(rr){var Lr=Rn.d2r(rr);Lr!==void 0&&p.call("_guiRelayout",dn,jn,Lr)})}}}function Lt(sn,Tn){if(ue._transitioningWithDuration)return!1;var dn=Math.max(0,Math.min(Le,bt*sn+Vt)),pn=Math.max(0,Math.min(Be,Et*Tn+Ke)),Rn=Math.abs(dn-Vt),In=Math.abs(pn-Ke);function jn(){Oe="",Je.r=Je.l,Je.t=Je.b,Qe.attr("d","M0,0Z")}if(Je.l=Math.min(Vt,dn),Je.r=Math.max(Vt,dn),Je.t=Math.min(Ke,pn),Je.b=Math.max(Ke,pn),ze.isSubplotConstrained)Rn>F||In>F?(Oe="xy",Rn/Le>In/Be?(In=Rn*Be/Le,Ke>pn?Je.t=Ke-In:Je.b=Ke+In):(Rn=In*Le/Be,Vt>dn?Je.l=Vt-Rn:Je.r=Vt+Rn),Qe.attr("d",Q(Je))):jn();else if(je.isSubplotConstrained)if(Rn>F||In>F){Oe="xy";var Gn=Math.min(Je.l/Le,(Be-Je.b)/Be),Wn=Math.max(Je.r/Le,(Be-Je.t)/Be);Je.l=Gn*Le,Je.r=Wn*Le,Je.b=(1-Gn)*Be,Je.t=(1-Wn)*Be,Qe.attr("d",Q(Je))}else jn();else!we||In0){var ur;if(je.isSubplotConstrained||!ge&&we.length===1){for(ur=0;urT[1]-.000244140625&&(M.domain=a),v.noneOrAll(i.domain,M.domain,a),M.tickmode==="sync"&&(M.tickmode="auto")}return g("layer"),M}},89426:function(x,o,t){var d=t(59652);x.exports=function(v,i,M,g,p){p||(p={});var u=p.tickSuffixDflt,a=d(v);M("tickprefix")&&M("showtickprefix",a),M("ticksuffix",u)&&M("showticksuffix",a)}},42449:function(x,o,t){var d=t(18783).FROM_BL;x.exports=function(v,i,M){M===void 0&&(M=d[v.constraintoward||"center"]);var g=[v.r2l(v.range[0]),v.r2l(v.range[1])],p=g[0]+(g[1]-g[0])*M;v.range=v._input.range=[v.l2r(p+(g[0]-p)*i),v.l2r(p+(g[1]-p)*i)],v.setScale()}},21994:function(x,o,t){var d=t(39898),v=t(84096).g0,i=t(71828),M=i.numberFormat,g=t(92770),p=i.cleanNumber,u=i.ms2DateTime,a=i.dateTime2ms,c=i.ensureNumber,s=i.isArrayOrTypedArray,l=t(50606),h=l.FP_SAFE,f=l.BADNUM,m=l.LOG_CLIP,_=l.ONEWEEK,y=l.ONEDAY,C=l.ONEHOUR,w=l.ONEMIN,k=l.ONESEC,E=t(41675),T=t(85555),A=T.HOUR_PATTERN,L=T.WEEKDAY_PATTERN;function b(I){return Math.pow(10,I)}function O(I){return I!=null}x.exports=function(I,R){R=R||{};var z=I._id||"x",F=z.charAt(0);function B(re,ie){if(re>0)return Math.log(re)/Math.LN10;if(re<=0&&ie&&I.range&&I.range.length===2){var oe=I.range[0],ue=I.range[1];return .5*(oe+ue-2*m*Math.abs(oe-ue))}return f}function N(re,ie,oe,ue){if((ue||{}).msUTC&&g(re))return+re;var ce=a(re,oe||I.calendar);if(ce===f){if(!g(re))return f;re=+re;var ye=Math.floor(10*i.mod(re+.05,1)),de=Math.round(re-ye/10);ce=a(new Date(de))+ye/10}return ce}function q(re,ie,oe){return u(re,ie,oe||I.calendar)}function j(re){return I._categories[Math.round(re)]}function Y(re){if(O(re)){if(I._categoriesMap===void 0&&(I._categoriesMap={}),I._categoriesMap[re]!==void 0)return I._categoriesMap[re];I._categories.push(typeof re=="number"?String(re):re);var ie=I._categories.length-1;return I._categoriesMap[re]=ie,ie}return f}function U(re){if(I._categoriesMap)return I._categoriesMap[re]}function G(re){var ie=U(re);return ie!==void 0?ie:g(re)?+re:void 0}function W(re){return g(re)?+re:U(re)}function H(re,ie,oe){return d.round(oe+ie*re,2)}function ne(re,ie,oe){return(re-oe)/ie}var te=function(re){return g(re)?H(re,I._m,I._b):f},Z=function(re){return ne(re,I._m,I._b)};if(I.rangebreaks){var X=F==="y";te=function(re){if(!g(re))return f;var ie=I._rangebreaks.length;if(!ie)return H(re,I._m,I._b);var oe=X;I.range[0]>I.range[1]&&(oe=!oe);for(var ue=oe?-1:1,ce=ue*re,ye=0,de=0;depe)){ye=ce<(me+pe)/2?de:de+1;break}ye=de+1}var xe=I._B[ye]||0;return isFinite(xe)?H(re,I._m2,xe):0},Z=function(re){var ie=I._rangebreaks.length;if(!ie)return ne(re,I._m,I._b);for(var oe=0,ue=0;ueI._rangebreaks[ue].pmax&&(oe=ue+1);return ne(re,I._m2,I._B[oe])}}I.c2l=I.type==="log"?B:c,I.l2c=I.type==="log"?b:c,I.l2p=te,I.p2l=Z,I.c2p=I.type==="log"?function(re,ie){return te(B(re,ie))}:te,I.p2c=I.type==="log"?function(re){return b(Z(re))}:Z,["linear","-"].indexOf(I.type)!==-1?(I.d2r=I.r2d=I.d2c=I.r2c=I.d2l=I.r2l=p,I.c2d=I.c2r=I.l2d=I.l2r=c,I.d2p=I.r2p=function(re){return I.l2p(p(re))},I.p2d=I.p2r=Z,I.cleanPos=c):I.type==="log"?(I.d2r=I.d2l=function(re,ie){return B(p(re),ie)},I.r2d=I.r2c=function(re){return b(p(re))},I.d2c=I.r2l=p,I.c2d=I.l2r=c,I.c2r=B,I.l2d=b,I.d2p=function(re,ie){return I.l2p(I.d2r(re,ie))},I.p2d=function(re){return b(Z(re))},I.r2p=function(re){return I.l2p(p(re))},I.p2r=Z,I.cleanPos=c):I.type==="date"?(I.d2r=I.r2d=i.identity,I.d2c=I.r2c=I.d2l=I.r2l=N,I.c2d=I.c2r=I.l2d=I.l2r=q,I.d2p=I.r2p=function(re,ie,oe){return I.l2p(N(re,0,oe))},I.p2d=I.p2r=function(re,ie,oe){return q(Z(re),ie,oe)},I.cleanPos=function(re){return i.cleanDate(re,f,I.calendar)}):I.type==="category"?(I.d2c=I.d2l=Y,I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=W(re);return ie!==void 0?ie:I.fraction2r(.5)},I.l2r=I.c2r=c,I.r2l=W,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return typeof re=="string"&&re!==""?re:c(re)}):I.type==="multicategory"&&(I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=G(re);return ie!==void 0?ie:I.fraction2r(.5)},I.r2c_just_indices=U,I.l2r=I.c2r=c,I.r2l=G,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return Array.isArray(re)||typeof re=="string"&&re!==""?re:c(re)},I.setupMultiCategory=function(re){var ie,oe,ue=I._traceIndices,ce=I._matchGroup;if(ce&&I._categories.length===0){for(var ye in ce)if(ye!==z){var de=R[E.id2name(ye)];ue=ue.concat(de._traceIndices)}}var me=[[0,{}],[0,{}]],pe=[];for(ie=0;ieh&&(ce[oe]=h),ce[0]===ce[1]){var de=Math.max(1,Math.abs(1e-6*ce[0]));ce[0]-=de,ce[1]+=de}}else i.nestedProperty(I,re).set(ue)},I.setScale=function(re){var ie=R._size;if(I.overlaying){var oe=E.getFromId({_fullLayout:R},I.overlaying);I.domain=oe.domain}var ue=re&&I._r?"_r":"range",ce=I.calendar;I.cleanRange(ue);var ye,de,me=I.r2l(I[ue][0],ce),pe=I.r2l(I[ue][1],ce),xe=F==="y";if(xe?(I._offset=ie.t+(1-I.domain[1])*ie.h,I._length=ie.h*(I.domain[1]-I.domain[0]),I._m=I._length/(me-pe),I._b=-I._m*pe):(I._offset=ie.l+I.domain[0]*ie.w,I._length=ie.w*(I.domain[1]-I.domain[0]),I._m=I._length/(pe-me),I._b=-I._m*me),I._rangebreaks=[],I._lBreaks=0,I._m2=0,I._B=[],I.rangebreaks&&(I._rangebreaks=I.locateBreaks(Math.min(me,pe),Math.max(me,pe)),I._rangebreaks.length)){for(ye=0;yepe&&(Pe=!Pe),Pe&&I._rangebreaks.reverse();var _e=Pe?-1:1;for(I._m2=_e*I._length/(Math.abs(pe-me)-I._lBreaks),I._B.push(-I._m2*(xe?pe:me)),ye=0;yeue&&(ue+=7,ceue&&(ue+=24,ce=oe&&ce=oe&&re=je.min&&(keje.max&&(je.max=Le),Be=!1)}Be&&de.push({min:ke,max:Le})}};for(oe=0;oea.duration?(function(){for(var A={},L=0;L rect").call(M.setTranslate,0,0).call(M.setScale,1,1),w.plot.call(M.setTranslate,k._offset,E._offset).call(M.setScale,1,1);var T=w.plot.selectAll(".scatterlayer .trace");T.selectAll(".point").call(M.setPointGroupScale,1,1),T.selectAll(".textpoint").call(M.setTextPointsScale,1,1),T.call(M.hideOutsideRangePoints,w)}function C(w,k){var E=w.plotinfo,T=E.xaxis,A=E.yaxis,L=T._length,b=A._length,O=!!w.xr1,I=!!w.yr1,R=[];if(O){var z=i.simpleMap(w.xr0,T.r2l),F=i.simpleMap(w.xr1,T.r2l),B=z[1]-z[0],N=F[1]-F[0];R[0]=(z[0]*(1-k)+k*F[0]-z[0])/(z[1]-z[0])*L,R[2]=L*(1-k+k*N/B),T.range[0]=T.l2r(z[0]*(1-k)+k*F[0]),T.range[1]=T.l2r(z[1]*(1-k)+k*F[1])}else R[0]=0,R[2]=L;if(I){var q=i.simpleMap(w.yr0,A.r2l),j=i.simpleMap(w.yr1,A.r2l),Y=q[1]-q[0],U=j[1]-j[0];R[1]=(q[1]*(1-k)+k*j[1]-q[1])/(q[0]-q[1])*b,R[3]=b*(1-k+k*U/Y),A.range[0]=T.l2r(q[0]*(1-k)+k*j[0]),A.range[1]=A.l2r(q[1]*(1-k)+k*j[1])}else R[1]=0,R[3]=b;g.drawOne(p,T,{skipTitle:!0}),g.drawOne(p,A,{skipTitle:!0}),g.redrawComponents(p,[T._id,A._id]);var G=O?L/R[2]:1,W=I?b/R[3]:1,H=O?R[0]:0,ne=I?R[1]:0,te=O?R[0]/R[2]*L:0,Z=I?R[1]/R[3]*b:0,X=T._offset-te,Q=A._offset-Z;E.clipRect.call(M.setTranslate,H,ne).call(M.setScale,1/G,1/W),E.plot.call(M.setTranslate,X,Q).call(M.setScale,G,W),M.setPointGroupScale(E.zoomScalePts,1/G,1/W),M.setTextPointsScale(E.zoomScaleTxt,1/G,1/W)}g.redrawComponents(p)}},951:function(x,o,t){var d=t(73972).traceIs,v=t(4322);function i(g){return{v:"x",h:"y"}[g.orientation||"v"]}function M(g,p){var u=i(g),a=d(g,"box-violin"),c=d(g._fullInput||{},"candlestick");return a&&!c&&p===u&&g[u]===void 0&&g[u+"0"]===void 0}x.exports=function(g,p,u,a){u("autotypenumbers",a.autotypenumbersDflt),u("type",(a.splomStash||{}).type)==="-"&&(function(c,s){if(c.type==="-"){var l,h=c._id,f=h.charAt(0);h.indexOf("scene")!==-1&&(h=f);var m=function(A,L,b){for(var O=0;O0&&(I["_"+b+"axes"]||{})[L]||(I[b+"axis"]||b)===L&&(M(I,b)||(I[b]||[]).length||I[b+"0"]))return I}}(s,h,f);if(m)if(m.type!=="histogram"||f!=={v:"y",h:"x"}[m.orientation||"v"]){var _=f+"calendar",y=m[_],C={noMultiCategory:!d(m,"cartesian")||d(m,"noMultiCategory")};if(m.type==="box"&&m._hasPreCompStats&&f==={h:"x",v:"y"}[m.orientation||"v"]&&(C.noMultiCategory=!0),C.autotypenumbers=c.autotypenumbers,M(m,f)){var w=i(m),k=[];for(l=0;l0?".":"")+l;v.isPlainObject(h)?p(h,a,f,s+1):a(f,l,h)}})}o.manageCommandObserver=function(u,a,c,s){var l={},h=!0;a&&a._commandObserver&&(l=a._commandObserver),l.cache||(l.cache={}),l.lookupTable={};var f=o.hasSimpleAPICommandBindings(u,c,l.lookupTable);if(a&&a._commandObserver){if(f)return l;if(a._commandObserver.remove)return a._commandObserver.remove(),a._commandObserver=null,l}if(f){i(u,f,l.cache),l.check=function(){if(h){var y=i(u,f,l.cache);return y.changed&&s&&l.lookupTable[y.value]!==void 0&&(l.disable(),Promise.resolve(s({value:y.value,type:f.type,prop:f.prop,traces:f.traces,index:l.lookupTable[y.value]})).then(l.enable,l.enable)),y.changed}};for(var m=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],_=0;_0&&N<0&&(N+=360);var Y=(N-B)/4;return{type:"Polygon",coordinates:[[[B,q],[B,j],[B+Y,j],[B+2*Y,j],[B+3*Y,j],[N,j],[N,q],[N-Y,q],[N-2*Y,q],[N-3*Y,q],[B,q]]]}}x.exports=function(R){return new b(R)},O.plot=function(R,z,F,B){var N=this;if(B)return N.update(R,z,!0);N._geoCalcData=R,N._fullLayout=z;var q=z[this.id],j=[],Y=!1;for(var U in E.layerNameToAdjective)if(U!=="frame"&&q["show"+U]){Y=!0;break}for(var G=!1,W=0;W0&&j._module.calcGeoJSON(q,z)}if(!F){if(this.updateProjection(R,z))return;this.viewInitial&&this.scope===B.scope||this.saveViewInitial(B)}this.scope=B.scope,this.updateBaseLayers(z,B),this.updateDims(z,B),this.updateFx(z,B),h.generalUpdatePerTraceModule(this.graphDiv,this,R,B);var Y=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=Y.selectAll(".point"),this.dataPoints.text=Y.selectAll("text"),this.dataPaths.line=Y.selectAll(".js-line");var U=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=U.selectAll("path"),this._render()},O.updateProjection=function(R,z){var F=this.graphDiv,B=z[this.id],N=z._size,q=B.domain,j=B.projection,Y=B.lonaxis,U=B.lataxis,G=Y._ax,W=U._ax,H=this.projection=function(Ce){var ae=Ce.projection,he=ae.type,be=E.projNames[he];be="geo"+u.titleCase(be);for(var ke=(v[be]||g[be])(),Le=Ce._isSatellite?180*Math.acos(1/ae.distance)/Math.PI:Ce._isClipped?E.lonaxisSpan[he]/2:null,Be=["center","rotate","parallels","clipExtent"],ze=function(we){return we?ke:[]},je=0;jeLe*Math.PI/180}return!1},ke.getPath=function(){return i().projection(ke)},ke.getBounds=function(we){return ke.getPath().bounds(we)},ke.precision(E.precision),Ce._isSatellite&&ke.tilt(ae.tilt).distance(ae.distance),Le&&ke.clipAngle(Le-E.clipPad),ke}(B),ne=[[N.l+N.w*q.x[0],N.t+N.h*(1-q.y[1])],[N.l+N.w*q.x[1],N.t+N.h*(1-q.y[0])]],te=B.center||{},Z=j.rotation||{},X=Y.range||[],Q=U.range||[];if(B.fitbounds){G._length=ne[1][0]-ne[0][0],W._length=ne[1][1]-ne[0][1],G.range=m(F,G),W.range=m(F,W);var re=(G.range[0]+G.range[1])/2,ie=(W.range[0]+W.range[1])/2;if(B._isScoped)te={lon:re,lat:ie};else if(B._isClipped){te={lon:re,lat:ie},Z={lon:re,lat:ie,roll:Z.roll};var oe=j.type,ue=E.lonaxisSpan[oe]/2||180,ce=E.lataxisSpan[oe]/2||90;X=[re-ue,re+ue],Q=[ie-ce,ie+ce]}else te={lon:re,lat:ie},Z={lon:re,lat:Z.lat,roll:Z.roll}}H.center([te.lon-Z.lon,te.lat-Z.lat]).rotate([-Z.lon,-Z.lat,Z.roll]).parallels(j.parallels);var ye=I(X,Q);H.fitExtent(ne,ye);var de=this.bounds=H.getBounds(ye),me=this.fitScale=H.scale(),pe=H.translate();if(B.fitbounds){var xe=H.getBounds(I(G.range,W.range)),Pe=Math.min((de[1][0]-de[0][0])/(xe[1][0]-xe[0][0]),(de[1][1]-de[0][1])/(xe[1][1]-xe[0][1]));isFinite(Pe)?H.scale(Pe*me):u.warn("Something went wrong during"+this.id+"fitbounds computations.")}else H.scale(j.scale*me);var _e=this.midPt=[(de[0][0]+de[1][0])/2,(de[0][1]+de[1][1])/2];if(H.translate([pe[0]+(_e[0]-pe[0]),pe[1]+(_e[1]-pe[1])]).clipExtent(de),B._isAlbersUsa){var Me=H([te.lon,te.lat]),Se=H.translate();H.translate([Se[0]-(Me[0]-Se[0]),Se[1]-(Me[1]-Se[1])])}},O.updateBaseLayers=function(R,z){var F=this,B=F.topojson,N=F.layers,q=F.basePaths;function j(H){return H==="lonaxis"||H==="lataxis"}function Y(H){return!!E.lineLayers[H]}function U(H){return!!E.fillLayers[H]}var G=(this.hasChoropleth?E.layersForChoropleth:E.layers).filter(function(H){return Y(H)||U(H)?z["show"+H]:!j(H)||z[H].showgrid}),W=F.framework.selectAll(".layer").data(G,String);W.exit().each(function(H){delete N[H],delete q[H],d.select(this).remove()}),W.enter().append("g").attr("class",function(H){return"layer "+H}).each(function(H){var ne=N[H]=d.select(this);H==="bg"?F.bgRect=ne.append("rect").style("pointer-events","all"):j(H)?q[H]=ne.append("path").style("fill","none"):H==="backplot"?ne.append("g").classed("choroplethlayer",!0):H==="frontplot"?ne.append("g").classed("scatterlayer",!0):Y(H)?q[H]=ne.append("path").style("fill","none").style("stroke-miterlimit",2):U(H)&&(q[H]=ne.append("path").style("stroke","none"))}),W.order(),W.each(function(H){var ne=q[H],te=E.layerNameToAdjective[H];H==="frame"?ne.datum(E.sphereSVG):Y(H)||U(H)?ne.datum(L(B,B.objects[H])):j(H)&&ne.datum(function(Z,X,Q){var re,ie,oe,ue=X[Z],ce=E.scopeDefaults[X.scope];Z==="lonaxis"?(re=ce.lonaxisRange,ie=ce.lataxisRange,oe=function(Se,Ce){return[Se,Ce]}):Z==="lataxis"&&(re=ce.lataxisRange,ie=ce.lonaxisRange,oe=function(Se,Ce){return[Ce,Se]});var ye={type:"linear",range:[re[0],re[1]-1e-6],tick0:ue.tick0,dtick:ue.dtick};f.setConvert(ye,Q);var de=f.calcTicks(ye);X.isScoped||Z!=="lonaxis"||de.pop();for(var me=de.length,pe=new Array(me),xe=0;xe-1&&w(d.event,B,[F.xaxis],[F.yaxis],F.id,Y),j.indexOf("event")>-1&&l.click(B,d.event))})}function U(G){return F.projection.invert([G[0]+F.xaxis._offset,G[1]+F.yaxis._offset])}},O.makeFramework=function(){var R=this,z=R.graphDiv,F=z._fullLayout,B="clip"+F._uid+R.id;R.clipDef=F._clips.append("clipPath").attr("id",B),R.clipRect=R.clipDef.append("rect"),R.framework=d.select(R.container).append("g").attr("class","geo "+R.id).call(s.setClipUrl,B,z),R.project=function(N){var q=R.projection(N);return q?[q[0]-R.xaxis._offset,q[1]-R.yaxis._offset]:[null,null]},R.xaxis={_id:"x",c2p:function(N){return R.project(N)[0]}},R.yaxis={_id:"y",c2p:function(N){return R.project(N)[1]}},R.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},f.setConvert(R.mockAxis,F)},O.saveViewInitial=function(R){var z,F=R.center||{},B=R.projection,N=B.rotation||{};this.viewInitial={fitbounds:R.fitbounds,"projection.scale":B.scale},z=R._isScoped?{"center.lon":F.lon,"center.lat":F.lat}:R._isClipped?{"projection.rotation.lon":N.lon,"projection.rotation.lat":N.lat}:{"center.lon":F.lon,"center.lat":F.lat,"projection.rotation.lon":N.lon},u.extendFlat(this.viewInitial,z)},O.render=function(R){this._hasMarkerAngles&&R?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},O._render=function(){var R,z=this.projection,F=z.getPath();function B(q){var j=z(q.lonlat);return j?a(j[0],j[1]):null}function N(q){return z.isLonLatOverEdges(q.lonlat)?"none":null}for(R in this.basePaths)this.basePaths[R].attr("d",F);for(R in this.dataPaths)this.dataPaths[R].attr("d",function(q){return F(q.geojson)});for(R in this.dataPoints)this.dataPoints[R].attr("display",N).attr("transform",B)}},44622:function(x,o,t){var d=t(27659).AU,v=t(71828).counterRegex,i=t(69082),M="geo",g=v(M),p={};p.geo={valType:"subplotid",dflt:M,editType:"calc"},x.exports={attr:M,name:M,idRoot:M,idRegex:g,attrRegex:g,attributes:p,layoutAttributes:t(77519),supplyLayoutDefaults:t(82161),plot:function(u){for(var a=u._fullLayout,c=u.calcdata,s=a._subplots.geo,l=0;l0&&U<0&&(U+=360);var G,W,H,ne=(Y+U)/2;if(!C){var te=w?_.projRotate:[ne,0,0];G=s("projection.rotation.lon",te[0]),s("projection.rotation.lat",te[1]),s("projection.rotation.roll",te[2]),s("showcoastlines",!w&&L)&&(s("coastlinecolor"),s("coastlinewidth")),s("showocean",!!L&&void 0)&&s("oceancolor")}C?(W=-96.6,H=38.7):(W=w?ne:G,H=(j[0]+j[1])/2),s("center.lon",W),s("center.lat",H),k&&(s("projection.tilt"),s("projection.distance")),E&&s("projection.parallels",_.projParallels||[0,60]),s("projection.scale"),s("showland",!!L&&void 0)&&s("landcolor"),s("showlakes",!!L&&void 0)&&s("lakecolor"),s("showrivers",!!L&&void 0)&&(s("rivercolor"),s("riverwidth")),s("showcountries",w&&m!=="usa"&&L)&&(s("countrycolor"),s("countrywidth")),(m==="usa"||m==="north america"&&f===50)&&(s("showsubunits",L),s("subunitcolor"),s("subunitwidth")),w||s("showframe",L)&&(s("framecolor"),s("framewidth")),s("bgcolor"),s("fitbounds")&&(delete c.projection.scale,w?(delete c.center.lon,delete c.center.lat):T?(delete c.center.lon,delete c.center.lat,delete c.projection.rotation.lon,delete c.projection.rotation.lat,delete c.lonaxis.range,delete c.lataxis.range):(delete c.center.lon,delete c.center.lat,delete c.projection.rotation.lon))}x.exports=function(a,c,s){v(a,c,s,{type:"geo",attributes:g,handleDefaults:u,fullData:s,partition:"y"})}},74455:function(x,o,t){var d=t(39898),v=t(71828),i=t(73972),M=Math.PI/180,g=180/Math.PI,p={cursor:"pointer"},u={cursor:"auto"};function a(L,b){return d.behavior.zoom().translate(b.translate()).scale(b.scale())}function c(L,b,O){var I=L.id,R=L.graphDiv,z=R.layout,F=z[I],B=R._fullLayout,N=B[I],q={},j={};function Y(U,G){q[I+"."+U]=v.nestedProperty(F,U).get(),i.call("_storeDirectGUIEdit",z,B._preGUI,q);var W=v.nestedProperty(N,U);W.get()!==G&&(W.set(G),v.nestedProperty(F,U).set(G),j[I+"."+U]=G)}O(Y),Y("projection.scale",b.scale()/L.fitScale),Y("fitbounds",!1),R.emit("plotly_relayout",j)}function s(L,b){var O=a(0,b);function I(R){var z=b.invert(L.midPt);R("center.lon",z[0]),R("center.lat",z[1])}return O.on("zoomstart",function(){d.select(this).style(p)}).on("zoom",function(){b.scale(d.event.scale).translate(d.event.translate),L.render(!0);var R=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":R[0],"geo.center.lat":R[1]})}).on("zoomend",function(){d.select(this).style(u),c(L,b,I)}),O}function l(L,b){var O,I,R,z,F,B,N,q,j,Y=a(0,b);function U(W){return b.invert(W)}function G(W){var H=b.rotate(),ne=b.invert(L.midPt);W("projection.rotation.lon",-H[0]),W("center.lon",ne[0]),W("center.lat",ne[1])}return Y.on("zoomstart",function(){d.select(this).style(p),O=d.mouse(this),I=b.rotate(),R=b.translate(),z=I,F=U(O)}).on("zoom",function(){if(B=d.mouse(this),function(ne){var te=U(ne);if(!te)return!0;var Z=b(te);return Math.abs(Z[0]-ne[0])>2||Math.abs(Z[1]-ne[1])>2}(O))return Y.scale(b.scale()),void Y.translate(b.translate());b.scale(d.event.scale),b.translate([R[0],d.event.translate[1]]),F?U(B)&&(q=U(B),N=[z[0]+(q[0]-F[0]),I[1],I[2]],b.rotate(N),z=N):F=U(O=B),j=!0,L.render(!0);var W=b.rotate(),H=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":H[0],"geo.center.lat":H[1],"geo.projection.rotation.lon":-W[0]})}).on("zoomend",function(){d.select(this).style(u),j&&c(L,b,G)}),Y}function h(L,b){var O;b.rotate(),b.scale();var I=a(0,b),R=function(Y){for(var U=0,G=arguments.length,W=[];++UG?(z=(j>0?90:-90)-U,R=0):(z=Math.asin(j/G)*g-U,R=Math.sqrt(G*G-j*j));var W=180-z-2*U,H=(Math.atan2(Y,q)-Math.atan2(N,R))*g,ne=(Math.atan2(Y,q)-Math.atan2(N,-R))*g;return w(O[0],O[1],z,H)<=w(O[0],O[1],W,ne)?[z,H,O[2]]:[W,ne,O[2]]}function w(L,b,O,I){var R=k(O-L),z=k(I-b);return Math.sqrt(R*R+z*z)}function k(L){return(L%360+540)%360-180}function E(L,b,O){var I=O*M,R=L.slice(),z=b===0?1:0,F=b===2?1:2,B=Math.cos(I),N=Math.sin(I);return R[z]=L[z]*B-L[F]*N,R[F]=L[F]*B+L[z]*N,R}function T(L){return[Math.atan2(2*(L[0]*L[1]+L[2]*L[3]),1-2*(L[1]*L[1]+L[2]*L[2]))*g,Math.asin(Math.max(-1,Math.min(1,2*(L[0]*L[2]-L[3]*L[1]))))*g,Math.atan2(2*(L[0]*L[3]+L[1]*L[2]),1-2*(L[2]*L[2]+L[3]*L[3]))*g]}function A(L,b){for(var O=0,I=0,R=L.length;IMath.abs(C)?(s.boxEnd[1]=s.boxStart[1]+Math.abs(y)*F*(C>=0?1:-1),s.boxEnd[1]w[3]&&(s.boxEnd[1]=w[3],s.boxEnd[0]=s.boxStart[0]+(w[3]-s.boxStart[1])/Math.abs(F))):(s.boxEnd[0]=s.boxStart[0]+Math.abs(C)/F*(y>=0?1:-1),s.boxEnd[0]w[2]&&(s.boxEnd[0]=w[2],s.boxEnd[1]=s.boxStart[1]+(w[2]-s.boxStart[0])*Math.abs(F)))}}else s.boxEnabled?(y=s.boxStart[0]!==s.boxEnd[0],C=s.boxStart[1]!==s.boxEnd[1],y||C?(y&&(b(0,s.boxStart[0],s.boxEnd[0]),u.xaxis.autorange=!1),C&&(b(1,s.boxStart[1],s.boxEnd[1]),u.yaxis.autorange=!1),u.relayoutCallback()):u.glplot.setDirty(),s.boxEnabled=!1,s.boxInited=!1):s.boxInited&&(s.boxInited=!1);break;case"pan":s.boxEnabled=!1,s.boxInited=!1,f?(s.panning||(s.dragStart[0]=m,s.dragStart[1]=_),Math.abs(s.dragStart[0]-m).999&&(T="turntable"):T="turntable")}else T="turntable";h("dragmode",T),h("hovermode",f.getDfltFromLayout("hovermode"))}x.exports=function(s,l,h){var f=l._basePlotModules.length>1;M(s,l,h,{type:a,attributes:p,handleDefaults:c,fullLayout:l,font:l.font,fullData:h,getDfltFromLayout:function(m){if(!f)return d.validate(s[m],p[m])?s[m]:void 0},autotypenumbersDflt:l.autotypenumbers,paper_bgcolor:l.paper_bgcolor,calendar:l.calendar})}},65500:function(x,o,t){var d=t(77894),v=t(27670).Y,i=t(1426).extendFlat,M=t(71828).counterRegex;function g(p,u,a){return{x:{valType:"number",dflt:p,editType:"camera"},y:{valType:"number",dflt:u,editType:"camera"},z:{valType:"number",dflt:a,editType:"camera"},editType:"camera"}}x.exports={_arrayAttrRegexps:[M("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:i(g(0,0,1),{}),center:i(g(0,0,0),{}),eye:i(g(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:v({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:d,yaxis:d,zaxis:d,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"}}}},13133:function(x,o,t){var d=t(78614),v=["xaxis","yaxis","zaxis"];function i(){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]}i.prototype.merge=function(M){for(var g=0;g<3;++g){var p=M[v[g]];p.visible?(this.enabled[g]=p.showspikes,this.colors[g]=d(p.spikecolor),this.drawSides[g]=p.spikesides,this.lineWidth[g]=p.spikethickness):(this.enabled[g]=!1,this.drawSides[g]=!1)}},x.exports=function(M){var g=new i;return g.merge(M),g}},96085:function(x,o,t){x.exports=function(g){for(var p=g.axesOptions,u=g.glplot.axesPixels,a=g.fullSceneLayout,c=[[],[],[]],s=0;s<3;++s){var l=a[i[s]];if(l._length=(u[s].hi-u[s].lo)*u[s].pixelsPerDataUnit/g.dataScale[s],Math.abs(l._length)===1/0||isNaN(l._length))c[s]=[];else{l._input_range=l.range.slice(),l.range[0]=u[s].lo/g.dataScale[s],l.range[1]=u[s].hi/g.dataScale[s],l._m=1/(g.dataScale[s]*u[s].pixelsPerDataUnit),l.range[0]===l.range[1]&&(l.range[0]-=1,l.range[1]+=1);var h=l.tickmode;if(l.tickmode==="auto"){l.tickmode="linear";var f=l.nticks||v.constrain(l._length/40,4,9);d.autoTicks(l,Math.abs(l.range[1]-l.range[0])/f)}for(var m=d.calcTicks(l,{msUTC:!0}),_=0;_/g," "));c[s]=m,l.tickmode=h}}for(p.ticks=c,s=0;s<3;++s)for(M[s]=.5*(g.glplot.bounds[0][s]+g.glplot.bounds[1][s]),_=0;_<2;++_)p.bounds[_][s]=g.glplot.bounds[_][s];g.contourLevels=function(y){for(var C=new Array(3),w=0;w<3;++w){for(var k=y[w],E=new Array(k.length),T=0;TB.deltaY?1.1:.9090909090909091,q=O.glplot.getAspectratio();O.glplot.setAspectratio({x:N*q.x,y:N*q.y,z:N*q.z})}F(O)}},!!u&&{passive:!1}),O.glplot.canvas.addEventListener("mousemove",function(){if(O.fullSceneLayout.dragmode!==!1&&O.camera.mouseListener.buttons!==0){var B=z();O.graphDiv.emit("plotly_relayouting",B)}}),O.staticMode||O.glplot.canvas.addEventListener("webglcontextlost",function(B){I&&I.emit&&I.emit("plotly_webglcontextlost",{event:B,layer:O.id})},!1)),O.glplot.oncontextloss=function(){O.recoverContext()},O.glplot.onrender=function(){O.render()},!0},T.render=function(){var O,I=this,R=I.graphDiv,z=I.svgContainer,F=I.container.getBoundingClientRect();R._fullLayout._calcInverseTransform(R);var B=R._fullLayout._invScaleX,N=R._fullLayout._invScaleY,q=F.width*B,j=F.height*N;z.setAttributeNS(null,"viewBox","0 0 "+q+" "+j),z.setAttributeNS(null,"width",q),z.setAttributeNS(null,"height",j),w(I),I.glplot.axes.update(I.axesOptions);for(var Y=Object.keys(I.traces),U=null,G=I.glplot.selection,W=0;W")):O.type==="isosurface"||O.type==="volume"?(Q.valueLabel=l.hoverLabelText(I._mockAxis,I._mockAxis.d2l(G.traceCoordinate[3]),O.valuehoverformat),ue.push("value: "+Q.valueLabel),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):te=G.textLabel;var ce={x:G.traceCoordinate[0],y:G.traceCoordinate[1],z:G.traceCoordinate[2],data:Z._input,fullData:Z,curveNumber:Z.index,pointNumber:X};h.appendArrayPointValue(ce,Z,X),O._module.eventData&&(ce=Z._module.eventData(ce,G,Z,{},X));var ye={points:[ce]};if(I.fullSceneLayout.hovermode){var de=[];h.loneHover({trace:Z,x:(.5+.5*ne[0]/ne[3])*q,y:(.5-.5*ne[1]/ne[3])*j,xLabel:Q.xLabel,yLabel:Q.yLabel,zLabel:Q.zLabel,text:te,name:U.name,color:h.castHoverOption(Z,X,"bgcolor")||U.color,borderColor:h.castHoverOption(Z,X,"bordercolor"),fontFamily:h.castHoverOption(Z,X,"font.family"),fontSize:h.castHoverOption(Z,X,"font.size"),fontColor:h.castHoverOption(Z,X,"font.color"),nameLength:h.castHoverOption(Z,X,"namelength"),textAlign:h.castHoverOption(Z,X,"align"),hovertemplate:c.castOption(Z,X,"hovertemplate"),hovertemplateLabels:c.extendFlat({},ce,Q),eventData:[ce]},{container:z,gd:R,inOut_bbox:de}),ce.bbox=de[0]}G.distance<5&&(G.buttons||k)?R.emit("plotly_click",ye):R.emit("plotly_hover",ye),this.oldEventData=ye}else h.loneUnhover(z),this.oldEventData&&R.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;I.drawAnnotations(I)},T.recoverContext=function(){var O=this;O.glplot.dispose();var I=function(){O.glplot.gl.isContextLost()?requestAnimationFrame(I):O.initializeGLPlot()?O.plot.apply(O,O.plotArgs):c.error("Catastrophic and unrecoverable WebGL error. Context lost.")};requestAnimationFrame(I)};var L=["xaxis","yaxis","zaxis"];function b(O,I,R){for(var z=O.fullSceneLayout,F=0;F<3;F++){var B=L[F],N=B.charAt(0),q=z[B],j=I[N],Y=I[N+"calendar"],U=I["_"+N+"length"];if(c.isArrayOrTypedArray(j))for(var G,W=0;W<(U||j.length);W++)if(c.isArrayOrTypedArray(j[W]))for(var H=0;HZ[1][N])Z[0][N]=-1,Z[1][N]=1;else{var pe=Z[1][N]-Z[0][N];Z[0][N]-=pe/32,Z[1][N]+=pe/32}if(j.autorange==="reversed"){var xe=Z[0][N];Z[0][N]=Z[1][N],Z[1][N]=xe}}else{var Pe=j.range;Z[0][N]=j.r2l(Pe[0]),Z[1][N]=j.r2l(Pe[1])}Z[0][N]===Z[1][N]&&(Z[0][N]-=1,Z[1][N]+=1),X[N]=Z[1][N]-Z[0][N],z.glplot.setBounds(N,{min:Z[0][N]*H[N],max:Z[1][N]*H[N]})}var _e=U.aspectmode;if(_e==="cube")te=[1,1,1];else if(_e==="manual"){var Me=U.aspectratio;te=[Me.x,Me.y,Me.z]}else{if(_e!=="auto"&&_e!=="data")throw new Error("scene.js aspectRatio was not one of the enumerated types");var Se=[1,1,1];for(N=0;N<3;++N){var Ce=Q[Y=(j=U[L[N]]).type];Se[N]=Math.pow(Ce.acc,1/Ce.count)/H[N]}te=_e==="data"||Math.max.apply(null,Se)/Math.min.apply(null,Se)<=4?Se:[1,1,1]}U.aspectratio.x=G.aspectratio.x=te[0],U.aspectratio.y=G.aspectratio.y=te[1],U.aspectratio.z=G.aspectratio.z=te[2],z.glplot.setAspectratio(U.aspectratio),z.viewInitial.aspectratio||(z.viewInitial.aspectratio={x:U.aspectratio.x,y:U.aspectratio.y,z:U.aspectratio.z}),z.viewInitial.aspectmode||(z.viewInitial.aspectmode=U.aspectmode);var ae=U.domain||null,he=I._size||null;if(ae&&he){var be=z.container.style;be.position="absolute",be.left=he.l+ae.x[0]*he.w+"px",be.top=he.t+(1-ae.y[1])*he.h+"px",be.width=he.w*(ae.x[1]-ae.x[0])+"px",be.height=he.h*(ae.y[1]-ae.y[0])+"px"}z.glplot.redraw()}},T.destroy=function(){var O=this;O.glplot&&(O.camera.mouseListener.enabled=!1,O.container.removeEventListener("wheel",O.camera.wheelListener),O.camera=null,O.glplot.dispose(),O.container.parentNode.removeChild(O.container),O.glplot=null)},T.getCamera=function(){var O,I=this;return I.camera.view.recalcMatrix(I.camera.view.lastT()),{up:{x:(O=I.camera).up[0],y:O.up[1],z:O.up[2]},center:{x:O.center[0],y:O.center[1],z:O.center[2]},eye:{x:O.eye[0],y:O.eye[1],z:O.eye[2]},projection:{type:O._ortho===!0?"orthographic":"perspective"}}},T.setViewport=function(O){var I,R=this,z=O.camera;R.camera.lookAt.apply(this,[[(I=z).eye.x,I.eye.y,I.eye.z],[I.center.x,I.center.y,I.center.z],[I.up.x,I.up.y,I.up.z]]),R.glplot.setAspectratio(O.aspectratio),z.projection.type==="orthographic"!==R.camera._ortho&&(R.glplot.redraw(),R.glplot.clearRGBA(),R.glplot.dispose(),R.initializeGLPlot())},T.isCameraChanged=function(O){var I=this.getCamera(),R=c.nestedProperty(O,this.id+".camera").get();function z(q,j,Y,U){var G=["up","center","eye"],W=["x","y","z"];return j[G[Y]]&&q[G[Y]][W[U]]===j[G[Y]][W[U]]}var F=!1;if(R===void 0)F=!0;else{for(var B=0;B<3;B++)for(var N=0;N<3;N++)if(!z(I,R,B,N)){F=!0;break}(!R.projection||I.projection&&I.projection.type!==R.projection.type)&&(F=!0)}return F},T.isAspectChanged=function(O){var I=this.glplot.getAspectratio(),R=c.nestedProperty(O,this.id+".aspectratio").get();return R===void 0||R.x!==I.x||R.y!==I.y||R.z!==I.z},T.saveLayout=function(O){var I,R,z,F,B,N,q=this,j=q.fullLayout,Y=q.isCameraChanged(O),U=q.isAspectChanged(O),G=Y||U;if(G){var W={};Y&&(I=q.getCamera(),z=(R=c.nestedProperty(O,q.id+".camera")).get(),W[q.id+".camera"]=z),U&&(F=q.glplot.getAspectratio(),N=(B=c.nestedProperty(O,q.id+".aspectratio")).get(),W[q.id+".aspectratio"]=N),a.call("_storeDirectGUIEdit",O,j._preGUI,W),Y&&(R.set(I),c.nestedProperty(j,q.id+".camera").set(I)),U&&(B.set(F),c.nestedProperty(j,q.id+".aspectratio").set(F),q.glplot.redraw())}return G},T.updateFx=function(O,I){var R=this,z=R.camera;if(z)if(O==="orbit")z.mode="orbit",z.keyBindingMode="rotate";else if(O==="turntable"){z.up=[0,0,1],z.mode="turntable",z.keyBindingMode="rotate";var F=R.graphDiv,B=F._fullLayout,N=R.fullSceneLayout.camera,q=N.up.x,j=N.up.y,Y=N.up.z;if(Y/Math.sqrt(q*q+j*j+Y*Y)<.999){var U=R.id+".camera.up",G={x:0,y:0,z:1},W={};W[U]=G;var H=F.layout;a.call("_storeDirectGUIEdit",H,B._preGUI,W),N.up=G,c.nestedProperty(H,U).set(G)}}else z.keyBindingMode=O;R.fullSceneLayout.hovermode=I},T.toImage=function(O){var I=this;O||(O="png"),I.staticMode&&I.container.appendChild(d),I.glplot.redraw();var R=I.glplot.gl,z=R.drawingBufferWidth,F=R.drawingBufferHeight;R.bindFramebuffer(R.FRAMEBUFFER,null);var B=new Uint8Array(z*F*4);R.readPixels(0,0,z,F,R.RGBA,R.UNSIGNED_BYTE,B),function(U,G,W){for(var H=0,ne=W-1;H0)for(var X=255/Z,Q=0;Q<3;++Q)U[te+Q]=Math.min(X*U[te+Q],255)}}(B,z,F);var N=document.createElement("canvas");N.width=z,N.height=F;var q,j=N.getContext("2d",{willReadFrequently:!0}),Y=j.createImageData(z,F);switch(Y.data.set(B),j.putImageData(Y,0,0),O){case"jpeg":q=N.toDataURL("image/jpeg");break;case"webp":q=N.toDataURL("image/webp");break;default:q=N.toDataURL("image/png")}return I.staticMode&&I.container.removeChild(d),q},T.setConvert=function(){for(var O=0;O<3;O++){var I=this.fullSceneLayout[L[O]];l.setConvert(I,this.fullLayout),I.setScale=c.noop}},T.make4thDimension=function(){var O=this,I=O.graphDiv._fullLayout;O._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},l.setConvert(O._mockAxis,I)},x.exports=E},90060:function(x){x.exports=function(o,t,d,v){v=v||o.length;for(var i=new Array(v),M=0;MOpenStreetMap contributors',i=['© Carto',v].join(" "),M=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),g={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:v,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}]},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}]},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:i,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}]},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:i,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}]},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}]},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}]},"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://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}]}},p=d(g);x.exports={requiredVersion:"1.10.1",styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:g,styleValuesNonMapbox:p,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@1.10.1."].join(` `),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(` `),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",p.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join(` `),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(` -`),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')`}}},13056:function(x,o,t){var d=t(71828);x.exports=function(g,i){var M=g.split(" "),v=M[0],p=M[1],u=d.isArrayOrTypedArray(i)?d.mean(i):i,a=.5+u/100,c=1.5+u/100,s=["",""],l=[0,0];switch(v){case"top":s[0]="top",l[1]=-c;break;case"bottom":s[0]="bottom",l[1]=c}switch(p){case"left":s[1]="right",l[0]=-a;break;case"right":s[1]="left",l[0]=a}return{anchor:s[0]&&s[1]?s.join("-"):s[0]?s[0]:s[1]?s[1]:"center",offset:l}}},50101:function(x,o,t){var d=t(44517),g=t(71828),i=g.strTranslate,M=g.strScale,v=t(27659).AU,p=t(77922),u=t(39898),a=t(91424),c=t(63893),s=t(10481),l="mapbox",h=o.constants=t(77734);function f(m){return typeof m=="string"&&(h.styleValuesMapbox.indexOf(m)!==-1||m.indexOf("mapbox://")===0)}o.name=l,o.attr="subplot",o.idRoot=l,o.idRegex=o.attrRegex=g.counterRegex(l),o.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},o.layoutAttributes=t(23585),o.supplyLayoutDefaults=t(77882),o.plot=function(m){var _=m._fullLayout,y=m.calcdata,C=_._subplots.mapbox;if(d.version!==h.requiredVersion)throw new Error(h.wrongVersionErrorMsg);var w=function(b,O){var I=b._fullLayout;if(b._context.mapboxAccessToken==="")return"";for(var R=[],z=[],F=!1,B=!1,N=0;N1&&g.warn(h.multipleTokensErrorMsg),R[0]):(z.length&&g.log(["Listed mapbox access token(s)",z.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}(m,C);d.accessToken=w;for(var k=0;kz/2){var F=b.split("|").join("
");I.text(F).attr("data-unformatted",F).call(c.convertToTspans,m),R=a.bBox(I.node())}I.attr("transform",i(-3,8-R.height)),O.insert("rect",".static-attribution").attr({x:-R.width-6,y:-R.height-3,width:R.width+6,height:R.height+3,fill:"rgba(255, 255, 255, 0.75)"});var B=1;R.width+6>z&&(B=z/(R.width+6));var N=[C.l+C.w*E.x[1],C.t+C.h*(1-E.y[0])];O.attr("transform",i(N[0],N[1])+M(B))}},o.updateFx=function(m){for(var _=m._fullLayout,y=_._subplots.mapbox,C=0;C0){for(var l=0;l0}function a(c){var s={},l={};switch(c.type){case"circle":d.extendFlat(l,{"circle-radius":c.circle.radius,"circle-color":c.color,"circle-opacity":c.opacity});break;case"line":d.extendFlat(l,{"line-width":c.line.width,"line-color":c.color,"line-opacity":c.opacity,"line-dasharray":c.line.dash});break;case"fill":d.extendFlat(l,{"fill-color":c.color,"fill-outline-color":c.fill.outlinecolor,"fill-opacity":c.opacity});break;case"symbol":var h=c.symbol,f=i(h.textposition,h.iconsize);d.extendFlat(s,{"icon-image":h.icon+"-15","icon-size":h.iconsize/10,"text-field":h.text,"text-size":h.textfont.size,"text-anchor":f.anchor,"text-offset":f.offset,"symbol-placement":h.placement}),d.extendFlat(l,{"icon-color":c.color,"text-color":h.textfont.color,"text-opacity":c.opacity});break;case"raster":d.extendFlat(l,{"raster-fade-duration":0,"raster-opacity":c.opacity})}return{layout:s,paint:l}}p.update=function(c){this.visible?this.needsNewImage(c)?this.updateImage(c):this.needsNewSource(c)?(this.removeLayer(),this.updateSource(c),this.updateLayer(c)):this.needsNewLayer(c)?this.updateLayer(c):this.updateStyle(c):(this.updateSource(c),this.updateLayer(c)),this.visible=u(c)},p.needsNewImage=function(c){return this.subplot.map.getSource(this.idSource)&&this.sourceType==="image"&&c.sourcetype==="image"&&(this.source!==c.source||JSON.stringify(this.coordinates)!==JSON.stringify(c.coordinates))},p.needsNewSource=function(c){return this.sourceType!==c.sourcetype||JSON.stringify(this.source)!==JSON.stringify(c.source)||this.layerType!==c.type},p.needsNewLayer=function(c){return this.layerType!==c.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},p.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},p.updateImage=function(c){this.subplot.map.getSource(this.idSource).updateImage({url:c.source,coordinates:c.coordinates});var s=this.findFollowingMapboxLayerId(this.lookupBelow());s!==null&&this.subplot.map.moveLayer(this.idLayer,s)},p.updateSource=function(c){var s=this.subplot.map;if(s.getSource(this.idSource)&&s.removeSource(this.idSource),this.sourceType=c.sourcetype,this.source=c.source,u(c)){var l=function(h){var f,m=h.sourcetype,_=h.source,y={type:m};return m==="geojson"?f="data":m==="vector"?f=typeof _=="string"?"url":"tiles":m==="raster"?(f="tiles",y.tileSize=256):m==="image"&&(f="url",y.coordinates=h.coordinates),y[f]=_,h.sourceattribution&&(y.attribution=g(h.sourceattribution)),y}(c);s.addSource(this.idSource,l)}},p.findFollowingMapboxLayerId=function(c){if(c==="traces")for(var s=this.subplot.getMapLayers(),l=0;l1)for(O=0;O-1&&m(N.originalEvent,I,[O.xaxis],[O.yaxis],O.id,B),q.indexOf("event")>-1&&u.click(I,N.originalEvent)}}},w.updateFx=function(L){var b=this,O=b.map,I=b.gd;if(!b.isStatic){var R,z=L.dragmode;R=function(N,q){q.isRect?(N.range={})[b.id]=[B([q.xmin,q.ymin]),B([q.xmax,q.ymax])]:(N.lassoPoints={})[b.id]=q.map(B)};var F=b.dragOptions;b.dragOptions=g.extendDeep(F||{},{dragmode:L.dragmode,element:b.div,gd:I,plotinfo:{id:b.id,domain:L[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:R},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),O.off("click",b.onClickInPanHandler),s(z)||c(z)?(O.dragPan.disable(),O.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(N,q,j){l(N,q,j,b.dragOptions,z)},p.init(b.dragOptions)):(O.dragPan.enable(),O.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),O.on("click",b.onClickInPanHandler))}function B(N){var q=b.map.unproject(N);return[q.lng,q.lat]}},w.updateFramework=function(L){var b=L[this.id].domain,O=L._size,I=this.div.style;I.width=O.w*(b.x[1]-b.x[0])+"px",I.height=O.h*(b.y[1]-b.y[0])+"px",I.left=O.l+b.x[0]*O.w+"px",I.top=O.t+(1-b.y[1])*O.h+"px",this.xaxis._offset=O.l+b.x[0]*O.w,this.xaxis._length=O.w*(b.x[1]-b.x[0]),this.yaxis._offset=O.t+(1-b.y[1])*O.h,this.yaxis._length=O.h*(b.y[1]-b.y[0])},w.updateLayers=function(L){var b,O=L[this.id].layers,I=this.layerList;if(O.length!==I.length){for(b=0;b=G.width-20?(ne["text-anchor"]="start",ne.x=5):(ne["text-anchor"]="end",ne.x=G._paper.attr("width")-7),W.attr(ne);var te=W.select(".js-link-to-tool"),Z=W.select(".js-link-spacer"),X=W.select(".js-sourcelinks");U._context.showSources&&U._context.showSources(U),U._context.showLink&&function(Q,re){re.text("");var ie=re.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(Q._context.linkText+" "+String.fromCharCode(187));if(Q._context.sendData)ie.on("click",function(){k.sendDataToCloud(Q)});else{var oe=window.location.pathname.split("/"),ue=window.location.search;ie.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+oe[2].split(".")[0]+"/"+oe[1]+ue})}}(U,te),Z.text(te.text()&&X.text()?" - ":"")}},k.sendDataToCloud=function(U){var G=(window.PLOTLYENV||{}).BASE_URL||U._context.plotlyServerURL;if(G){U.emit("plotly_beforeexport");var W=d.select(U).append("div").attr("id","hiddenform").style("display","none"),H=W.append("form").attr({action:G+"/external",method:"post",target:"_blank"});return H.append("input").attr({type:"text",name:"data"}).node().value=k.graphJson(U,!1,"keepdata"),H.node().submit(),W.remove(),U.emit("plotly_afterexport"),!1}};var A=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],L=["year","month","dayMonth","dayMonthYear"];function b(U,G){var W=U._context.locale;W||(W="en-US");var H=!1,ne={};function te(oe){for(var ue=!0,ce=0;ce1&&Se.length>1){for(v.getComponentMethod("grid","sizeDefaults")(Z,te),ne=0;ne15&&Se.length>15&&te.shapes.length===0&&te.images.length===0,k.linkSubplots(Q,te,X,H),k.cleanPlot(Q,te,X,H);var ke=!(!H._has||!H._has("gl2d")),Le=!(!te._has||!te._has("gl2d")),Be=!(!H._has||!H._has("cartesian"))||ke,ze=!(!te._has||!te._has("cartesian"))||Le;Be&&!ze?H._bgLayer.remove():ze&&!Be&&(te._shouldCreateBgLayer=!0),H._zoomlayer&&!U._dragging&&h({_fullLayout:H}),function(Ee,Ve){var Ye,$e=[];Ve.meta&&(Ye=Ve._meta={meta:Ve.meta,layout:{meta:Ve.meta}});for(var st=0;st0){var re=1-2*Z;H=Math.round(re*H),ne=Math.round(re*ne)}}var ie=k.layoutAttributes.width.min,oe=k.layoutAttributes.height.min;H1,ce=!G.height&&Math.abs(W.height-ne)>1;(ce||ue)&&(ue&&(W.width=H),ce&&(W.height=ne)),U._initialAutoSize||(U._initialAutoSize={width:H,height:ne}),k.sanitizeMargins(W)},k.supplyLayoutModuleDefaults=function(U,G,W,H){var ne,te,Z,X=v.componentsRegistry,Q=G._basePlotModules,re=v.subplotsRegistry.cartesian;for(ne in X)(Z=X[ne]).includeBasePlot&&Z.includeBasePlot(U,G);for(var ie in Q.length||Q.push(re),G._has("cartesian")&&(v.getComponentMethod("grid","contentDefaults")(U,G),re.finalizeSubplots(U,G)),G._subplots)G._subplots[ie].sort(a.subplotSort);for(te=0;te1&&(W.l/=me,W.r/=me)}if(ue){var pe=(W.t+W.b)/ue;pe>1&&(W.t/=pe,W.b/=pe)}var xe=W.xl!==void 0?W.xl:W.x,Pe=W.xr!==void 0?W.xr:W.x,_e=W.yt!==void 0?W.yt:W.y,Me=W.yb!==void 0?W.yb:W.y;ce[G]={l:{val:xe,size:W.l+de},r:{val:Pe,size:W.r+de},b:{val:Me,size:W.b+de},t:{val:_e,size:W.t+de}},ye[G]=1}else delete ce[G],delete ye[G];if(!H._replotting)return k.doAutoMargin(U)}},k.doAutoMargin=function(U){var G=U._fullLayout,W=G.width,H=G.height;G._size||(G._size={}),F(G);var ne=G._size,te=G.margin,Z={t:0,b:0,l:0,r:0},X=a.extendFlat({},ne),Q=U._fullLayout._reservedMargin;for(var re in Q)for(var ie in Q[re]){var oe=Q[re][ie];Z[ie]=Math.max(Z[ie],oe)}var ue=te.l,ce=te.r,ye=te.t,de=te.b,me=G._pushmargin,pe=G._pushmarginIds,xe=G.minreducedwidth,Pe=G.minreducedheight;if(G.margin.autoexpand!==!1){for(var _e in me)pe[_e]||delete me[_e];for(var Me in me.base={l:{val:0,size:ue},r:{val:1,size:ce},t:{val:1,size:ye},b:{val:0,size:de}},me){var Se=me[Me].l||{},Ce=me[Me].b||{},ae=Se.val,he=Se.size,be=Ce.val,ke=Ce.size,Le=W-Z.r-Z.l,Be=H-Z.t-Z.b;for(var ze in me){if(M(he)&&me[ze].r){var je=me[ze].r.val,ge=me[ze].r.size;if(je>ae){var we=(he*je+(ge-Le)*ae)/(je-ae),Ee=(ge*(1-ae)+(he-Le)*(1-je))/(je-ae);we+Ee>ue+ce&&(ue=we,ce=Ee)}}if(M(ke)&&me[ze].t){var Ve=me[ze].t.val,Ye=me[ze].t.size;if(Ve>be){var $e=(ke*Ve+(Ye-Be)*be)/(Ve-be),st=(Ye*(1-be)+(ke-Be)*(1-Ve))/(Ve-be);$e+st>de+ye&&(de=$e,ye=st)}}}}}var ot=a.constrain(W-te.l-te.r,2,xe),ft=a.constrain(H-te.t-te.b,2,Pe),bt=Math.max(0,W-ot),Et=Math.max(0,H-ft);if(bt){var kt=(ue+ce)/bt;kt>1&&(ue/=kt,ce/=kt)}if(Et){var xt=(de+ye)/Et;xt>1&&(de/=xt,ye/=xt)}if(ne.l=Math.round(ue)+Z.l,ne.r=Math.round(ce)+Z.r,ne.t=Math.round(ye)+Z.t,ne.b=Math.round(de)+Z.b,ne.p=Math.round(te.pad),ne.w=Math.round(W)-ne.l-ne.r,ne.h=Math.round(H)-ne.t-ne.b,!G._replotting&&(k.didMarginChange(X,ne)||function(Dt){if("_redrawFromAutoMarginCount"in Dt._fullLayout)return!1;var Bt=l.list(Dt,"",!0);for(var Wt in Bt)if(Bt[Wt].autoshift||Bt[Wt].shift)return!0;return!1}(U))){"_redrawFromAutoMarginCount"in G?G._redrawFromAutoMarginCount++:G._redrawFromAutoMarginCount=1;var Ft=3*(1+Object.keys(pe).length);if(G._redrawFromAutoMarginCount0&&(U._transitioningWithDuration=!0),U._transitionData._interruptCallbacks.push(function(){H=!0}),W.redraw&&U._transitionData._interruptCallbacks.push(function(){return v.call("redraw",U)}),U._transitionData._interruptCallbacks.push(function(){U.emit("plotly_transitioninterrupted",[])});var X=0,Q=0;function re(){return X++,function(){var ie;Q++,H||Q!==X||(ie=Z,U._transitionData&&(function(oe){if(oe)for(;oe.length;)oe.shift()}(U._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(W.redraw)return v.call("redraw",U)}).then(function(){U._transitioning=!1,U._transitioningWithDuration=!1,U.emit("plotly_transitioned",[])}).then(ie)))}}W.runFn(re),setTimeout(re())})}],te=a.syncOrAsync(ne,U);return te&&te.then||(te=Promise.resolve()),te.then(function(){return U})}k.didMarginChange=function(U,G){for(var W=0;W1)return!0}return!1},k.graphJson=function(U,G,W,H,ne,te){(ne&&G&&!U._fullData||ne&&!G&&!U._fullLayout)&&k.supplyDefaults(U);var Z=ne?U._fullData:U.data,X=ne?U._fullLayout:U.layout,Q=(U._transitionData||{})._frames;function re(ue,ce){if(typeof ue=="function")return ce?"_function_":null;if(a.isPlainObject(ue)){var ye,de={};return Object.keys(ue).sort().forEach(function(me){if(["_","["].indexOf(me.charAt(0))===-1)if(typeof ue[me]!="function"){if(W==="keepdata"){if(me.substr(me.length-3)==="src")return}else if(W==="keepstream"){if(typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0&&!a.isPlainObject(ue.stream))return}else if(W!=="keepall"&&typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0)return;de[me]=re(ue[me],ce)}else ce&&(de[me]="_function")}),de}return Array.isArray(ue)?ue.map(function(me){return re(me,ce)}):a.isTypedArray(ue)?a.simpleMap(ue,a.identity):a.isJSDate(ue)?a.ms2DateTimeLocal(+ue):ue}var ie={data:(Z||[]).map(function(ue){var ce=re(ue);return G&&delete ce.fit,ce})};if(!G&&(ie.layout=re(X),ne)){var oe=X._size;ie.layout.computed={margin:{b:oe.b,l:oe.l,r:oe.r,t:oe.t}}}return Q&&(ie.frames=re(Q)),te&&(ie.config=re(U._context,!0)),H==="object"?ie:JSON.stringify(ie)},k.modifyFrames=function(U,G){var W,H,ne,te=U._transitionData._frames,Z=U._transitionData._frameHash;for(W=0;W=0;te--)if(Me[te].enabled){W._indexToPoints=Me[te]._indexToPoints;break}H&&H.calc&&(_e=H.calc(U,W))}Array.isArray(_e)&&_e[0]||(_e=[{x:s,y:s}]),_e[0].t||(_e[0].t={}),_e[0].trace=W,re[xe]=_e}}for(j(Z,X,Q),ne=0;ne1e-10?l:0}function s(l,h,f){h=h||0,f=f||0;for(var m=l.length,_=new Array(m),y=0;y0?y:1/0}),m=d.mod(f+1,h.length);return[h[f],h[m]]},findIntersectionXY:u,findXYatLength:function(l,h,f,m){var _=-h*f,y=h*h+1,C=2*(h*_-f),w=_*_+f*f-l*l,k=Math.sqrt(C*C-4*y*w),E=(-C+k)/(2*y),T=(-C-k)/(2*y);return[[E,h*E+_+m],[T,h*T+_+m]]},clampTiny:c,pathPolygon:function(l,h,f,m,_,y){return"M"+s(a(l,h,f,m),_,y).join("L")},pathPolygonAnnulus:function(l,h,f,m,_,y,C){var w,k;l=90||kt>90&&xt>=450?1:Dt<=0&&Wt<=0?0:Math.max(Dt,Wt),[kt<=180&&xt>=180||kt>180&&xt>=540?-1:Ft>=0&&Bt>=0?0:Math.min(Ft,Bt),kt<=270&&xt>=270||kt>270&&xt>=630?-1:Dt>=0&&Wt>=0?0:Math.min(Dt,Wt),xt>=360?1:Ft<=0&&Bt<=0?0:Math.max(Ft,Bt),ft]}(pe),ae=Ce[2]-Ce[0],he=Ce[3]-Ce[1],be=me/de,ke=Math.abs(he/ae);be>ke?(xe=de,Se=(me-(Pe=de*ke))/ie.h/2,_e=[ce[0],ce[1]],Me=[ye[0]+Se,ye[1]-Se]):(Pe=me,Se=(de-(xe=me/ke))/ie.w/2,_e=[ce[0]+Se,ce[1]-Se],Me=[ye[0],ye[1]]),Q.xLength2=xe,Q.yLength2=Pe,Q.xDomain2=_e,Q.yDomain2=Me;var Le,Be=Q.xOffset2=ie.l+ie.w*_e[0],ze=Q.yOffset2=ie.t+ie.h*(1-Me[1]),je=Q.radius=xe/ae,ge=Q.innerRadius=Q.getHole(X)*je,we=Q.cx=Be-je*Ce[0],Ee=Q.cy=ze+je*Ce[3],Ve=Q.cxx=we-Be,Ye=Q.cyy=Ee-ze,$e=oe.side;$e==="counterclockwise"?(Le=$e,$e="top"):$e==="clockwise"&&(Le=$e,$e="bottom"),Q.radialAxis=Q.mockAxis(Z,X,oe,{_id:"x",side:$e,_trueSide:Le,domain:[ge/ie.w,je/ie.w]}),Q.angularAxis=Q.mockAxis(Z,X,ue,{side:"right",domain:[0,Math.PI],autorange:!1}),Q.doAutoRange(Z,X),Q.updateAngularAxis(Z,X),Q.updateRadialAxis(Z,X),Q.updateRadialAxisTitle(Z,X),Q.xaxis=Q.mockCartesianAxis(Z,X,{_id:"x",domain:_e}),Q.yaxis=Q.mockCartesianAxis(Z,X,{_id:"y",domain:Me});var st=Q.pathSubplot();Q.clipPaths.forTraces.select("path").attr("d",st).attr("transform",p(Ve,Ye)),re.frontplot.attr("transform",p(Be,ze)).call(a.setClipUrl,Q._hasClipOnAxisFalse?null:Q.clipIds.forTraces,Q.gd),re.bg.attr("d",st).attr("transform",p(we,Ee)).call(u.fill,X.bgcolor)},W.mockAxis=function(Z,X,Q,re){var ie=M.extendFlat({},Q,re);return h(ie,X,Z),ie},W.mockCartesianAxis=function(Z,X,Q){var re=this,ie=re.isSmith,oe=Q._id,ue=M.extendFlat({type:"linear"},Q);l(ue,Z);var ce={x:[0,2],y:[1,3]};return ue.setRange=function(){var ye=re.sectorBBox,de=ce[oe],me=re.radialAxis._rl,pe=(me[1]-me[0])/(1-re.getHole(X));ue.range=[ye[de[0]]*pe,ye[de[1]]*pe]},ue.isPtWithinRange=oe!=="x"||ie?function(){return!0}:function(ye){return re.isPtInside(ye)},ue.setRange(),ue.setScale(),ue},W.doAutoRange=function(Z,X){var Q=this,re=Q.gd,ie=Q.radialAxis,oe=Q.getRadial(X);f(re,ie);var ue=ie.range;oe.range=ue.slice(),oe._input.range=ue.slice(),ie._rl=[ie.r2l(ue[0],null,"gregorian"),ie.r2l(ue[1],null,"gregorian")]},W.updateRadialAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getRadial(X),me=j(Q.getSector(X)[0],360),pe=Q.radialAxis,xe=ue90&&me<=270&&(pe.tickangle=180);var _e=Pe?function(ze){var je=N(Q,z([ze.x,0]));return p(je[0]-ce,je[1]-ye)}:function(ze){return p(pe.l2p(ze.x)+ue,0)},Me=Pe?function(ze){return B(Q,ze.x,-1/0,1/0)}:function(ze){return Q.pathArc(pe.r2p(ze.x)+ue)},Se=H(de);if(Q.radialTickLayout!==Se&&(ie["radial-axis"].selectAll(".xtick").remove(),Q.radialTickLayout=Se),xe){pe.setScale();var Ce=0,ae=Pe?(pe.tickvals||[]).filter(function(ze){return ze>=0}).map(function(ze){return s.tickText(pe,ze,!0,!1)}):s.calcTicks(pe),he=Pe?ae:s.clipEnds(pe,ae),be=s.getTickSigns(pe)[2];Pe&&((pe.ticks==="top"&&pe.side==="bottom"||pe.ticks==="bottom"&&pe.side==="top")&&(be=-be),pe.ticks==="top"&&pe.side==="top"&&(Ce=-pe.ticklen),pe.ticks==="bottom"&&pe.side==="bottom"&&(Ce=pe.ticklen)),s.drawTicks(re,pe,{vals:ae,layer:ie["radial-axis"],path:s.makeTickPath(pe,0,be),transFn:_e,crisp:!1}),s.drawGrid(re,pe,{vals:he,layer:ie["radial-grid"],path:Me,transFn:M.noop,crisp:!1}),s.drawLabels(re,pe,{vals:ae,layer:ie["radial-axis"],transFn:_e,labelFns:s.makeLabelFns(pe,Ce)})}var ke=Q.radialAxisAngle=Q.vangles?U(ne(Y(de.angle),Q.vangles)):de.angle,Le=p(ce,ye),Be=Le+v(-ke);te(ie["radial-axis"],xe&&(de.showticklabels||de.ticks),{transform:Be}),te(ie["radial-grid"],xe&&de.showgrid,{transform:Pe?"":Le}),te(ie["radial-line"].select("line"),xe&&de.showline,{x1:Pe?-oe:ue,y1:0,x2:oe,y2:0,transform:Be}).attr("stroke-width",de.linewidth).call(u.stroke,de.linecolor)},W.updateRadialAxisTitle=function(Z,X,Q){if(!this.isSmith){var re=this,ie=re.gd,oe=re.radius,ue=re.cx,ce=re.cy,ye=re.getRadial(X),de=re.id+"title",me=0;if(ye.title){var pe=a.bBox(re.layers["radial-axis"].node()).height,xe=ye.title.font.size,Pe=ye.side;me=Pe==="top"?xe:Pe==="counterclockwise"?-(pe+.4*xe):pe+.8*xe}var _e=Q!==void 0?Q:re.radialAxisAngle,Me=Y(_e),Se=Math.cos(Me),Ce=Math.sin(Me),ae=ue+oe/2*Se+me*Ce,he=ce-oe/2*Ce+me*Se;re.layers["radial-axis-title"]=C.draw(ie,de,{propContainer:ye,propName:re.id+".radialaxis.title",placeholder:q(ie,"Click to enter radial axis title"),attributes:{x:ae,y:he,"text-anchor":"middle"},transform:{rotate:-_e}})}},W.updateAngularAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getAngular(X),me=Q.angularAxis,pe=Q.isSmith;pe||(Q.fillViewInitialKey("angularaxis.rotation",de.rotation),me.setGeometry(),me.setScale());var xe=pe?function(ze){var je=N(Q,z([0,ze.x]));return Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2}:function(ze){return me.t2g(ze.x)};me.type==="linear"&&me.thetaunit==="radians"&&(me.tick0=U(me.tick0),me.dtick=U(me.dtick));var Pe=function(ze){return p(ce+oe*Math.cos(ze),ye-oe*Math.sin(ze))},_e=pe?function(ze){var je=N(Q,z([0,ze.x]));return p(je[0],je[1])}:function(ze){return Pe(xe(ze))},Me=pe?function(ze){var je=N(Q,z([0,ze.x])),ge=Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2;return p(je[0],je[1])+v(-U(ge))}:function(ze){var je=xe(ze);return Pe(je)+v(-U(je))},Se=pe?function(ze){return F(Q,ze.x,0,1/0)}:function(ze){var je=xe(ze),ge=Math.cos(je),we=Math.sin(je);return"M"+[ce+ue*ge,ye-ue*we]+"L"+[ce+oe*ge,ye-oe*we]},Ce=s.makeLabelFns(me,0).labelStandoff,ae={xFn:function(ze){var je=xe(ze);return Math.cos(je)*Ce},yFn:function(ze){var je=xe(ze),ge=Math.sin(je)>0?.2:1;return-Math.sin(je)*(Ce+ze.fontSize*ge)+Math.abs(Math.cos(je))*(ze.fontSize*b)},anchorFn:function(ze){var je=xe(ze),ge=Math.cos(je);return Math.abs(ge)<.1?"middle":ge>0?"start":"end"},heightFn:function(ze,je,ge){var we=xe(ze);return-.5*(1+Math.sin(we))*ge}},he=H(de);Q.angularTickLayout!==he&&(ie["angular-axis"].selectAll("."+me._id+"tick").remove(),Q.angularTickLayout=he);var be,ke=pe?[1/0].concat(me.tickvals||[]).map(function(ze){return s.tickText(me,ze,!0,!1)}):s.calcTicks(me);if(pe&&(ke[0].text="∞",ke[0].fontSize*=1.75),X.gridshape==="linear"?(be=ke.map(xe),M.angleDelta(be[0],be[1])<0&&(be=be.slice().reverse())):be=null,Q.vangles=be,me.type==="category"&&(ke=ke.filter(function(ze){return M.isAngleInsideSector(xe(ze),Q.sectorInRad)})),me.visible){var Le=me.ticks==="inside"?-1:1,Be=(me.linewidth||1)/2;s.drawTicks(re,me,{vals:ke,layer:ie["angular-axis"],path:"M"+Le*Be+",0h"+Le*me.ticklen,transFn:Me,crisp:!1}),s.drawGrid(re,me,{vals:ke,layer:ie["angular-grid"],path:Se,transFn:M.noop,crisp:!1}),s.drawLabels(re,me,{vals:ke,layer:ie["angular-axis"],repositionOnUpdate:!0,transFn:_e,labelFns:ae})}te(ie["angular-line"].select("path"),de.showline,{d:Q.pathSubplot(),transform:p(ce,ye)}).attr("stroke-width",de.linewidth).call(u.stroke,de.linecolor)},W.updateFx=function(Z,X){this.gd._context.staticPlot||(!this.isSmith&&(this.updateAngularDrag(Z),this.updateRadialDrag(Z,X,0),this.updateRadialDrag(Z,X,1)),this.updateHoverAndMainDrag(Z))},W.updateHoverAndMainDrag=function(Z){var X,Q,re=this,ie=re.isSmith,oe=re.gd,ue=re.layers,ce=Z._zoomlayer,ye=O.MINZOOM,de=O.OFFEDGE,me=re.radius,pe=re.innerRadius,xe=re.cx,Pe=re.cy,_e=re.cxx,Me=re.cyy,Se=re.sectorInRad,Ce=re.vangles,ae=re.radialAxis,he=I.clampTiny,be=I.findXYatLength,ke=I.findEnclosingVertexAngles,Le=O.cornerHalfWidth,Be=O.cornerLen/2,ze=m.makeDragger(ue,"path","maindrag",Z.dragmode===!1?"none":"crosshair");d.select(ze).attr("d",re.pathSubplot()).attr("transform",p(xe,Pe)),ze.onmousemove=function(Oe){y.hover(oe,Oe,re.id),oe._fullLayout._lasthover=ze,oe._fullLayout._hoversubplot=re.id},ze.onmouseout=function(Oe){oe._dragging||_.unhover(oe,Oe)};var je,ge,we,Ee,Ve,Ye,$e,st,ot,ft={element:ze,gd:oe,subplot:re.id,plotinfo:{id:re.id,xaxis:re.xaxis,yaxis:re.yaxis},xaxes:[re.xaxis],yaxes:[re.yaxis]};function bt(Oe,Ne){return Math.sqrt(Oe*Oe+Ne*Ne)}function Et(Oe,Ne){return bt(Oe-_e,Ne-Me)}function kt(Oe,Ne){return Math.atan2(Me-Ne,Oe-_e)}function xt(Oe,Ne){return[Oe*Math.cos(Ne),Oe*Math.sin(-Ne)]}function Ft(Oe,Ne){if(Oe===0)return re.pathSector(2*Le);var Qe=Be/Oe,ut=Ne-Qe,pt=Ne+Qe,_t=Math.max(0,Math.min(Oe,me)),It=_t-Le,Lt=_t+Le;return"M"+xt(It,ut)+"A"+[It,It]+" 0,0,0 "+xt(It,pt)+"L"+xt(Lt,pt)+"A"+[Lt,Lt]+" 0,0,1 "+xt(Lt,ut)+"Z"}function Dt(Oe,Ne,Qe){if(Oe===0)return re.pathSector(2*Le);var ut,pt,_t=xt(Oe,Ne),It=xt(Oe,Qe),Lt=he((_t[0]+It[0])/2),yt=he((_t[1]+It[1])/2);if(Lt&&yt){var Pt=yt/Lt,wt=-1/Pt,Ot=be(Le,Pt,Lt,yt);ut=be(Be,wt,Ot[0][0],Ot[0][1]),pt=be(Be,wt,Ot[1][0],Ot[1][1])}else{var Nt,$t;yt?(Nt=Be,$t=Le):(Nt=Le,$t=Be),ut=[[Lt-Nt,yt-$t],[Lt+Nt,yt-$t]],pt=[[Lt-Nt,yt+$t],[Lt+Nt,yt+$t]]}return"M"+ut.join("L")+"L"+pt.reverse().join("L")+"Z"}function Bt(Oe,Ne){return Ne=Math.max(Math.min(Ne,me),pe),Oeye?(Oe-1&&Oe===1&&k(Ne,oe,[re.xaxis],[re.yaxis],re.id,ft),Qe.indexOf("event")>-1&&y.click(oe,Ne,re.id)}ft.prepFn=function(Oe,Ne,Qe){var ut=oe._fullLayout.dragmode,pt=ze.getBoundingClientRect();oe._fullLayout._calcInverseTransform(oe);var _t=oe._fullLayout._invTransform;X=oe._fullLayout._invScaleX,Q=oe._fullLayout._invScaleY;var It=M.apply3DTransform(_t)(Ne-pt.left,Qe-pt.top);if(je=It[0],ge=It[1],Ce){var Lt=I.findPolygonOffset(me,Se[0],Se[1],Ce);je+=_e+Lt[0],ge+=Me+Lt[1]}switch(ut){case"zoom":ft.clickFn=ht,ie||(ft.moveFn=Ce?Je:Vt,ft.doneFn=We,function(){we=null,Ee=null,Ve=re.pathSubplot(),Ye=!1;var yt=oe._fullLayout[re.id];$e=g(yt.bgcolor).getLuminance(),(st=m.makeZoombox(ce,$e,xe,Pe,Ve)).attr("fill-rule","evenodd"),ot=m.makeCorners(ce,xe,Pe),E(oe)}());break;case"select":case"lasso":w(Oe,Ne,Qe,ft,ut)}},_.init(ft)},W.updateRadialDrag=function(Z,X,Q){var re=this,ie=re.gd,oe=re.layers,ue=re.radius,ce=re.innerRadius,ye=re.cx,de=re.cy,me=re.radialAxis,pe=O.radialDragBoxSize,xe=pe/2;if(me.visible){var Pe,_e,Me,Se=Y(re.radialAxisAngle),Ce=me._rl,ae=Ce[0],he=Ce[1],be=Ce[Q],ke=.75*(Ce[1]-Ce[0])/(1-re.getHole(X))/ue;Q?(Pe=ye+(ue+xe)*Math.cos(Se),_e=de-(ue+xe)*Math.sin(Se),Me="radialdrag"):(Pe=ye+(ce-xe)*Math.cos(Se),_e=de-(ce-xe)*Math.sin(Se),Me="radialdrag-inner");var Le,Be,ze,je=m.makeRectDragger(oe,Me,"crosshair",-xe,-xe,pe,pe),ge={element:je,gd:ie};Z.dragmode===!1&&(ge.dragmode=!1),te(d.select(je),me.visible&&ce0==(Q?ze>ae:zeh?function(C){return C<=0}:function(C){return C>=0};a.c2g=function(C){var w=a.c2l(C)-l;return(y(w)?w:0)+_},a.g2c=function(C){return a.l2c(C+l-_)},a.g2p=function(C){return C*m},a.c2p=function(C){return a.g2p(a.c2g(C))}}})(v,p);break;case"angularaxis":(function(a,c){var s=a.type;if(s==="linear"){var l=a.d2c,h=a.c2d;a.d2c=function(f,m){return function(_,y){return y==="degrees"?i(_):_}(l(f),m)},a.c2d=function(f,m){return h(function(_,y){return y==="degrees"?M(_):_}(f,m))}}a.makeCalcdata=function(f,m){var _,y,C=f[m],w=f._length,k=function(b){return a.d2c(b,f.thetaunit)};if(C){if(d.isTypedArray(C)&&s==="linear"){if(w===C.length)return C;if(C.subarray)return C.subarray(0,w)}for(_=new Array(w),y=0;y0?1:0}function t(i){var M=i[0],v=i[1];if(!isFinite(M)||!isFinite(v))return[1,0];var p=(M+1)*(M+1)+v*v;return[(M*M+v*v-1)/p,2*v/p]}function d(i,M){var v=M[0],p=M[1];return[v*i.radius+i.cx,-p*i.radius+i.cy]}function g(i,M){return M*i.radius}x.exports={smith:t,reactanceArc:function(i,M,v,p){var u=d(i,t([v,M])),a=u[0],c=u[1],s=d(i,t([p,M])),l=s[0],h=s[1];if(M===0)return["M"+a+","+c,"L"+l+","+h].join(" ");var f=g(i,1/Math.abs(M));return["M"+a+","+c,"A"+f+","+f+" 0 0,"+(M<0?1:0)+" "+l+","+h].join(" ")},resistanceArc:function(i,M,v,p){var u=g(i,1/(M+1)),a=d(i,t([M,v])),c=a[0],s=a[1],l=d(i,t([M,p])),h=l[0],f=l[1];if(o(v)!==o(p)){var m=d(i,t([M,0]));return["M"+c+","+s,"A"+u+","+u+" 0 0,"+(00){for(var p=[],u=0;u=A&&(b.min=0,O.min=0,I.min=0,m.aaxis&&delete m.aaxis.min,m.baxis&&delete m.baxis.min,m.caxis&&delete m.caxis.min)}function f(m,_,y,C){var w=s[_._name];function k(O,I){return i.coerce(m,_,w,O,I)}k("uirevision",C.uirevision),_.type="linear";var E=k("color"),T=E!==w.color.dflt?E:y.font.color,A=_._name.charAt(0).toUpperCase(),L="Component "+A,b=k("title.text",L);_._hovertitle=b===L?b:A,i.coerceFont(k,"title.font",{family:y.font.family,size:i.bigFont(y.font.size),color:T}),k("min"),a(m,_,k,"linear"),p(m,_,k,"linear"),v(m,_,k,"linear"),u(m,_,k,{outerTicks:!0}),k("showticklabels")&&(i.coerceFont(k,"tickfont",{family:y.font.family,size:y.font.size,color:T}),k("tickangle"),k("tickformat")),c(m,_,k,{dfltColor:E,bgColor:y.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:w}),k("hoverformat"),k("layer")}x.exports=function(m,_,y){M(m,_,y,{type:"ternary",attributes:s,handleDefaults:h,font:_.font,paper_bgcolor:_.paper_bgcolor})}},64380:function(x,o,t){var d=t(39898),g=t(84267),i=t(73972),M=t(71828),v=M.strTranslate,p=M._,u=t(7901),a=t(91424),c=t(21994),s=t(1426).extendFlat,l=t(74875),h=t(89298),f=t(28569),m=t(30211),_=t(64505),y=_.freeMode,C=_.rectMode,w=t(92998),k=t(47322).prepSelect,E=t(47322).selectOnClick,T=t(47322).clearOutline,A=t(47322).clearSelectionsCache,L=t(85555);function b(j,Y){this.id=j.id,this.graphDiv=j.graphDiv,this.init(Y),this.makeFramework(Y),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}x.exports=b;var O=b.prototype;O.init=function(j){this.container=j._ternarylayer,this.defs=j._defs,this.layoutId=j._uid,this.traceHash={},this.layers={}},O.plot=function(j,Y){var U=this,G=Y[U.id],W=Y._size;U._hasClipOnAxisFalse=!1;for(var H=0;HI*ce?W=(H=ce)*I:H=(W=ue)/I,ne=ie*W/ue,te=oe*H/ce,U=Y.l+Y.w*Q-W/2,G=Y.t+Y.h*(1-re)-H/2,Z.x0=U,Z.y0=G,Z.w=W,Z.h=H,Z.sum=ye,Z.xaxis={type:"linear",range:[de+2*pe-ye,ye-de-2*me],domain:[Q-ne/2,Q+ne/2],_id:"x"},c(Z.xaxis,Z.graphDiv._fullLayout),Z.xaxis.setScale(),Z.xaxis.isPtWithinRange=function(Le){return Le.a>=Z.aaxis.range[0]&&Le.a<=Z.aaxis.range[1]&&Le.b>=Z.baxis.range[1]&&Le.b<=Z.baxis.range[0]&&Le.c>=Z.caxis.range[1]&&Le.c<=Z.caxis.range[0]},Z.yaxis={type:"linear",range:[de,ye-me-pe],domain:[re-te/2,re+te/2],_id:"y"},c(Z.yaxis,Z.graphDiv._fullLayout),Z.yaxis.setScale(),Z.yaxis.isPtWithinRange=function(){return!0};var xe=Z.yaxis.domain[0],Pe=Z.aaxis=s({},j.aaxis,{range:[de,ye-me-pe],side:"left",tickangle:(+j.aaxis.tickangle||0)-30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:W});c(Pe,Z.graphDiv._fullLayout),Pe.setScale();var _e=Z.baxis=s({},j.baxis,{range:[ye-de-pe,me],side:"bottom",domain:Z.xaxis.domain,anchor:"free",position:0,_id:"x",_length:W});c(_e,Z.graphDiv._fullLayout),_e.setScale();var Me=Z.caxis=s({},j.caxis,{range:[ye-de-me,pe],side:"right",tickangle:(+j.caxis.tickangle||0)+30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:W});c(Me,Z.graphDiv._fullLayout),Me.setScale();var Se="M"+U+","+(G+H)+"h"+W+"l-"+W/2+",-"+H+"Z";Z.clipDef.select("path").attr("d",Se),Z.layers.plotbg.select("path").attr("d",Se);var Ce="M0,"+H+"h"+W+"l-"+W/2+",-"+H+"Z";Z.clipDefRelative.select("path").attr("d",Ce);var ae=v(U,G);Z.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",ae),Z.clipDefRelative.select("path").attr("transform",null);var he=v(U-_e._offset,G+H);Z.layers.baxis.attr("transform",he),Z.layers.bgrid.attr("transform",he);var be=v(U+W/2,G)+"rotate(30)"+v(0,-Pe._offset);Z.layers.aaxis.attr("transform",be),Z.layers.agrid.attr("transform",be);var ke=v(U+W/2,G)+"rotate(-30)"+v(0,-Me._offset);Z.layers.caxis.attr("transform",ke),Z.layers.cgrid.attr("transform",ke),Z.drawAxes(!0),Z.layers.aline.select("path").attr("d",Pe.showline?"M"+U+","+(G+H)+"l"+W/2+",-"+H:"M0,0").call(u.stroke,Pe.linecolor||"#000").style("stroke-width",(Pe.linewidth||0)+"px"),Z.layers.bline.select("path").attr("d",_e.showline?"M"+U+","+(G+H)+"h"+W:"M0,0").call(u.stroke,_e.linecolor||"#000").style("stroke-width",(_e.linewidth||0)+"px"),Z.layers.cline.select("path").attr("d",Me.showline?"M"+(U+W/2)+","+G+"l"+W/2+","+H:"M0,0").call(u.stroke,Me.linecolor||"#000").style("stroke-width",(Me.linewidth||0)+"px"),Z.graphDiv._context.staticPlot||Z.initInteractions(),a.setClipUrl(Z.layers.frontplot,Z._hasClipOnAxisFalse?null:Z.clipId,Z.graphDiv)},O.drawAxes=function(j){var Y=this,U=Y.graphDiv,G=Y.id.substr(7)+"title",W=Y.layers,H=Y.aaxis,ne=Y.baxis,te=Y.caxis;if(Y.drawAx(H),Y.drawAx(ne),Y.drawAx(te),j){var Z=Math.max(H.showticklabels?H.tickfont.size/2:0,(te.showticklabels?.75*te.tickfont.size:0)+(te.ticks==="outside"?.87*te.ticklen:0)),X=(ne.showticklabels?ne.tickfont.size:0)+(ne.ticks==="outside"?ne.ticklen:0)+3;W["a-title"]=w.draw(U,"a"+G,{propContainer:H,propName:Y.id+".aaxis.title",placeholder:p(U,"Click to enter Component A title"),attributes:{x:Y.x0+Y.w/2,y:Y.y0-H.title.font.size/3-Z,"text-anchor":"middle"}}),W["b-title"]=w.draw(U,"b"+G,{propContainer:ne,propName:Y.id+".baxis.title",placeholder:p(U,"Click to enter Component B title"),attributes:{x:Y.x0-X,y:Y.y0+Y.h+.83*ne.title.font.size+X,"text-anchor":"middle"}}),W["c-title"]=w.draw(U,"c"+G,{propContainer:te,propName:Y.id+".caxis.title",placeholder:p(U,"Click to enter Component C title"),attributes:{x:Y.x0+Y.w+X,y:Y.y0+Y.h+.83*te.title.font.size+X,"text-anchor":"middle"}})}},O.drawAx=function(j){var Y,U=this,G=U.graphDiv,W=j._name,H=W.charAt(0),ne=j._id,te=U.layers[W],Z=H+"tickLayout",X=(Y=j).ticks+String(Y.ticklen)+String(Y.showticklabels);U[Z]!==X&&(te.selectAll("."+ne+"tick").remove(),U[Z]=X),j.setScale();var Q=h.calcTicks(j),re=h.clipEnds(j,Q),ie=h.makeTransTickFn(j),oe=h.getTickSigns(j)[2],ue=M.deg2rad(30),ce=oe*(j.linewidth||1)/2,ye=oe*j.ticklen,de=U.w,me=U.h,pe=H==="b"?"M0,"+ce+"l"+Math.sin(ue)*ye+","+Math.cos(ue)*ye:"M"+ce+",0l"+Math.cos(ue)*ye+","+-Math.sin(ue)*ye,xe={a:"M0,0l"+me+",-"+de/2,b:"M0,0l-"+de/2+",-"+me,c:"M0,0l-"+me+","+de/2}[H];h.drawTicks(G,j,{vals:j.ticks==="inside"?re:Q,layer:te,path:pe,transFn:ie,crisp:!1}),h.drawGrid(G,j,{vals:re,layer:U.layers[H+"grid"],path:xe,transFn:ie,crisp:!1}),h.drawLabels(G,j,{vals:Q,layer:te,transFn:ie,labelFns:h.makeLabelFns(j,0,30)})};var R=L.MINZOOM/2+.87,z="m-0.87,.5h"+R+"v3h-"+(R+5.2)+"l"+(R/2+2.6)+",-"+(.87*R+4.5)+"l2.6,1.5l-"+R/2+","+.87*R+"Z",F="m0.87,.5h-"+R+"v3h"+(R+5.2)+"l-"+(R/2+2.6)+",-"+(.87*R+4.5)+"l-2.6,1.5l"+R/2+","+.87*R+"Z",B="m0,1l"+R/2+","+.87*R+"l2.6,-1.5l-"+(R/2+2.6)+",-"+(.87*R+4.5)+"l-"+(R/2+2.6)+","+(.87*R+4.5)+"l2.6,1.5l"+R/2+",-"+.87*R+"Z",N=!0;function q(j){d.select(j).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}O.clearOutline=function(){A(this.dragOptions),T(this.dragOptions.gd)},O.initInteractions=function(){var j,Y,U,G,W,H,ne,te,Z,X,Q,re,ie=this,oe=ie.layers.plotbg.select("path").node(),ue=ie.graphDiv,ce=ue._fullLayout._zoomlayer;function ye(Ce){var ae={};return ae[ie.id+".aaxis.min"]=Ce.a,ae[ie.id+".baxis.min"]=Ce.b,ae[ie.id+".caxis.min"]=Ce.c,ae}function de(Ce,ae){var he=ue._fullLayout.clickmode;q(ue),Ce===2&&(ue.emit("plotly_doubleclick",null),i.call("_guiRelayout",ue,ye({a:0,b:0,c:0}))),he.indexOf("select")>-1&&Ce===1&&E(ae,ue,[ie.xaxis],[ie.yaxis],ie.id,ie.dragOptions),he.indexOf("event")>-1&&m.click(ue,ae,ie.id)}function me(Ce,ae){return 1-ae/ie.h}function pe(Ce,ae){return 1-(Ce+(ie.h-ae)/Math.sqrt(3))/ie.w}function xe(Ce,ae){return(Ce-(ie.h-ae)/Math.sqrt(3))/ie.w}function Pe(Ce,ae){var he=U+Ce*j,be=G+ae*Y,ke=Math.max(0,Math.min(1,me(0,G),me(0,be))),Le=Math.max(0,Math.min(1,pe(U,G),pe(he,be))),Be=Math.max(0,Math.min(1,xe(U,G),xe(he,be))),ze=(ke/2+Be)*ie.w,je=(1-ke/2-Le)*ie.w,ge=(ze+je)/2,we=je-ze,Ee=(1-ke)*ie.h,Ve=Ee-we/I;we.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),re.transition().style("opacity",1).duration(200),X=!0),ue.emit("plotly_relayouting",ye(ne))}function _e(){q(ue),ne!==W&&(i.call("_guiRelayout",ue,ye(ne)),N&&ue.data&&ue._context.showTips&&(M.notifier(p(ue,"Double-click to zoom back out"),"long"),N=!1))}function Me(Ce,ae){var he=Ce/ie.xaxis._m,be=ae/ie.yaxis._m,ke=[(ne={a:W.a-be,b:W.b+(he+be)/2,c:W.c-(he-be)/2}).a,ne.b,ne.c].sort(M.sorterAsc),Le=ke.indexOf(ne.a),Be=ke.indexOf(ne.b),ze=ke.indexOf(ne.c);ke[0]<0&&(ke[1]+ke[0]/2<0?(ke[2]+=ke[0]+ke[1],ke[0]=ke[1]=0):(ke[2]+=ke[0]/2,ke[1]+=ke[0]/2,ke[0]=0),ne={a:ke[Le],b:ke[Be],c:ke[ze]},ae=(W.a-ne.a)*ie.yaxis._m,Ce=(W.c-ne.c-W.b+ne.b)*ie.xaxis._m);var je=v(ie.x0+Ce,ie.y0+ae);ie.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",je);var ge=v(-Ce,-ae);ie.clipDefRelative.select("path").attr("transform",ge),ie.aaxis.range=[ne.a,ie.sum-ne.b-ne.c],ie.baxis.range=[ie.sum-ne.a-ne.c,ne.b],ie.caxis.range=[ie.sum-ne.a-ne.b,ne.c],ie.drawAxes(!1),ie._hasClipOnAxisFalse&&ie.plotContainer.select(".scatterlayer").selectAll(".trace").call(a.hideOutsideRangePoints,ie),ue.emit("plotly_relayouting",ye(ne))}function Se(){i.call("_guiRelayout",ue,ye(ne))}this.dragOptions={element:oe,gd:ue,plotinfo:{id:ie.id,domain:ue._fullLayout[ie.id].domain,xaxis:ie.xaxis,yaxis:ie.yaxis},subplot:ie.id,prepFn:function(Ce,ae,he){ie.dragOptions.xaxes=[ie.xaxis],ie.dragOptions.yaxes=[ie.yaxis],j=ue._fullLayout._invScaleX,Y=ue._fullLayout._invScaleY;var be=ie.dragOptions.dragmode=ue._fullLayout.dragmode;y(be)?ie.dragOptions.minDrag=1:ie.dragOptions.minDrag=void 0,be==="zoom"?(ie.dragOptions.moveFn=Pe,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=_e,function(ke,Le,Be){var ze=oe.getBoundingClientRect();U=Le-ze.left,G=Be-ze.top,ue._fullLayout._calcInverseTransform(ue);var je=ue._fullLayout._invTransform,ge=M.apply3DTransform(je)(U,G);U=ge[0],G=ge[1],W={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=W,H=ie.aaxis.range[1]-W.a,te=g(ie.graphDiv._fullLayout[ie.id].bgcolor).getLuminance(),Z="M0,"+ie.h+"L"+ie.w/2+", 0L"+ie.w+","+ie.h+"Z",X=!1,Q=ce.append("path").attr("class","zoombox").attr("transform",v(ie.x0,ie.y0)).style({fill:te>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",Z),re=ce.append("path").attr("class","zoombox-corners").attr("transform",v(ie.x0,ie.y0)).style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),ie.clearOutline(ue)}(0,ae,he)):be==="pan"?(ie.dragOptions.moveFn=Me,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=Se,W={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=W,ie.clearOutline(ue)):(C(be)||y(be))&&k(Ce,ae,he,ie.dragOptions,be)}},oe.onmousemove=function(Ce){m.hover(ue,Ce,ie.id),ue._fullLayout._lasthover=oe,ue._fullLayout._hoversubplot=ie.id},oe.onmouseout=function(Ce){ue._dragging||f.unhover(ue,Ce)},f.init(this.dragOptions)}},73972:function(x,o,t){var d=t(47769),g=t(64213),i=t(75138),M=t(41965),v=t(24401).addStyleRule,p=t(1426),u=t(9012),a=t(10820),c=p.extendFlat,s=p.extendDeepAll;function l(E){var T=E.name,A=E.categories,L=E.meta;if(o.modules[T])d.log("Type "+T+" already registered");else{o.subplotsRegistry[E.basePlotModule.name]||function(N){var q=N.name;if(o.subplotsRegistry[q])d.log("Plot type "+q+" already registered.");else for(var j in _(N),o.subplotsRegistry[q]=N,o.componentsRegistry)w(j,N.name)}(E.basePlotModule);for(var b={},O=0;O-1&&(f[_[a]].title={text:""});for(a=0;a")!==-1?"":O.html(R).text()});return O.remove(),I}(L)).replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(a,"'"),g.isIE()&&(L=(L=(L=L.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),L}},75341:function(x,o,t){var d=t(71828);x.exports=function(g,i){for(var M=0;MI+b||!d(O))}for(var z=0;za))return v}return p!==void 0?p:M.dflt},o.coerceColor=function(M,v,p){return g(v).isValid()?v:p!==void 0?p:M.dflt},o.coerceEnumerated=function(M,v,p){return M.coerceNumber&&(v=+v),M.values.indexOf(v)!==-1?v:p!==void 0?p:M.dflt},o.getValue=function(M,v){var p;return Array.isArray(M)?v0?ye+=de:y<0&&(ye-=de)}return ye}function te(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,R+(me-ye)/(me-de)-1)}var Z=s[C+"a"],X=s[w+"a"];T=Math.abs(Z.r2c(Z.range[1])-Z.r2c(Z.range[0]));var Q=d.getDistanceFunction(f,k,E,function(ce){return(k(ce)+E(ce))/2});if(d.getClosest(A,Q,s),s.index!==!1&&A[s.index].p!==u){B||(U=function(ce){return Math.min(N(ce),ce.p-b.bargroupwidth/2)},G=function(ce){return Math.max(q(ce),ce.p+b.bargroupwidth/2)});var re=A[s.index],ie=L.base?re.b+re.s:re.s;s[w+"0"]=s[w+"1"]=X.c2p(re[w],!0),s[w+"LabelVal"]=ie;var oe=b.extents[b.extents.round(re.p)];s[C+"0"]=Z.c2p(O?U(re):oe[0],!0),s[C+"1"]=Z.c2p(O?G(re):oe[1],!0);var ue=re.orig_p!==void 0;return s[C+"LabelVal"]=ue?re.orig_p:re.p,s.labelLabel=p(Z,s[C+"LabelVal"],L[C+"hoverformat"]),s.valueLabel=p(X,s[w+"LabelVal"],L[w+"hoverformat"]),s.baseLabel=p(X,re.b,L[w+"hoverformat"]),s.spikeDistance=(function(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,z+(me-ye)/(me-de)-1)}(re)+function(ce){return W(N(ce),q(ce),z)}(re))/2,s[C+"Spike"]=Z.c2p(re.p,!0),M(re,L,s),s.hovertemplate=L.hovertemplate,s}}function c(s,l){var h=l.mcc||s.marker.color,f=l.mlcc||s.marker.line.color,m=v(s,l);return i.opacity(h)?h:i.opacity(f)&&m?f:void 0}x.exports={hoverPoints:function(s,l,h,f,m){var _=a(s,l,h,f,m);if(_){var y=_.cd,C=y[0].trace,w=y[_.index];return _.color=c(C,w),g.getComponentMethod("errorbars","hoverInfo")(w,C,_),[_]}},hoverOnBars:a,getTraceColor:c}},60822:function(x,o,t){x.exports={attributes:t(1486),layoutAttributes:t(43641),supplyDefaults:t(90769).supplyDefaults,crossTraceDefaults:t(90769).crossTraceDefaults,supplyLayoutDefaults:t(13957),calc:t(92290),crossTraceCalc:t(11661).crossTraceCalc,colorbar:t(4898),arraysToCalcdata:t(75341),plot:t(17295).plot,style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(95423).hoverPoints,eventData:t(58065),selectPoints:t(81974),moduleType:"trace",name:"bar",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},43641:function(x){x.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"}}},13957:function(x,o,t){var d=t(73972),g=t(89298),i=t(71828),M=t(43641);x.exports=function(v,p,u){function a(C,w){return i.coerce(v,p,M,C,w)}for(var c=!1,s=!1,l=!1,h={},f=a("barmode"),m=0;m0}function O(z){return z==="auto"?0:z}function I(z,F){var B=Math.PI/180*F,N=Math.abs(Math.sin(B)),q=Math.abs(Math.cos(B));return{x:z.width*q+z.height*N,y:z.width*N+z.height*q}}function R(z,F,B,N,q,j){var Y=!!j.isHorizontal,U=!!j.constrained,G=j.angle||0,W=j.anchor||"end",H=W==="end",ne=W==="start",te=((j.leftToRight||0)+1)/2,Z=1-te,X=q.width,Q=q.height,re=Math.abs(F-z),ie=Math.abs(N-B),oe=re>2*k&&ie>2*k?k:0;re-=2*oe,ie-=2*oe;var ue=O(G);G!=="auto"||X<=re&&Q<=ie||!(X>re||Q>ie)||(X>ie||Q>re)&&X.01?Be:function(we,Ee,Ve){return Ve&&we===Ee?we:Math.abs(we-Ee)>=2?Be(we):we>Ee?Math.ceil(we):Math.floor(we)};Ce=ze(Ce,ae,oe),ae=ze(ae,Ce,oe),he=ze(he,be,!oe),be=ze(be,he,!oe)}var je=L(i.ensureSingle(Me,"path"),G,q,j);if(je.style("vector-effect",W?"none":"non-scaling-stroke").attr("d",isNaN((ae-Ce)*(be-he))||ke&&z._context.staticPlot?"M0,0Z":"M"+Ce+","+he+"V"+be+"H"+ae+"V"+he+"Z").call(p.setClipUrl,F.layerClipId,z),!G.uniformtext.mode&&ue){var ge=p.makePointStyleFns(Z);p.singlePointStyle(pe,je,Z,ge,z)}(function(we,Ee,Ve,Ye,$e,st,ot,ft,bt,Et,kt){var xt,Ft=Ee.xaxis,Dt=Ee.yaxis,Bt=we._fullLayout;function Wt(Qt,rn,xn){return i.ensureSingle(Qt,"text").text(rn).attr({class:"bartext bartext-"+xt,"text-anchor":"middle","data-notex":1}).call(p.font,xn).call(M.convertToTspans,we)}var Vt=Ye[0].trace,Ke=Vt.orientation==="h",Je=function(Qt,rn,xn,un,An){var Yn,kn=rn[0].trace;return Yn=kn.texttemplate?function(sn,Tn,dn,pn,Rn){var In=Tn[0].trace,jn=i.castOption(In,dn,"texttemplate");if(!jn)return"";var Gn,Wn,ur,rr,Lr=In.type==="histogram",br=In.type==="waterfall",or=In.type==="funnel",yr=In.orientation==="h";function wr(Zn){return a(rr,rr.c2l(Zn),!0).text}yr?(Gn="y",Wn=Rn,ur="x",rr=pn):(Gn="x",Wn=pn,ur="y",rr=Rn);var Kt,bn=Tn[dn],On={};On.label=bn.p,On.labelLabel=On[Gn+"Label"]=(Kt=bn.p,a(Wn,Wn.c2l(Kt),!0).text);var Ln=i.castOption(In,bn.i,"text");(Ln===0||Ln)&&(On.text=Ln),On.value=bn.s,On.valueLabel=On[ur+"Label"]=wr(bn.s);var Un={};w(Un,In,bn.i),(Lr||Un.x===void 0)&&(Un.x=yr?On.value:On.label),(Lr||Un.y===void 0)&&(Un.y=yr?On.label:On.value),(Lr||Un.xLabel===void 0)&&(Un.xLabel=yr?On.valueLabel:On.labelLabel),(Lr||Un.yLabel===void 0)&&(Un.yLabel=yr?On.labelLabel:On.valueLabel),br&&(On.delta=+bn.rawS||bn.s,On.deltaLabel=wr(On.delta),On.final=bn.v,On.finalLabel=wr(On.final),On.initial=On.final-On.delta,On.initialLabel=wr(On.initial)),or&&(On.value=bn.s,On.valueLabel=wr(On.value),On.percentInitial=bn.begR,On.percentInitialLabel=i.formatPercent(bn.begR),On.percentPrevious=bn.difR,On.percentPreviousLabel=i.formatPercent(bn.difR),On.percentTotal=bn.sumR,On.percenTotalLabel=i.formatPercent(bn.sumR));var Jn=i.castOption(In,bn.i,"customdata");return Jn&&(On.customdata=Jn),i.texttemplateString(jn,On,sn._d3locale,Un,On,In._meta||{})}(Qt,rn,xn,un,An):kn.textinfo?function(sn,Tn,dn,pn){var Rn=sn[0].trace,In=Rn.orientation==="h",jn=Rn.type==="waterfall",Gn=Rn.type==="funnel";function Wn(Jn){return a(In?dn:pn,+Jn,!0).text}var ur,rr,Lr=Rn.textinfo,br=sn[Tn],or=Lr.split("+"),yr=[],wr=function(Jn){return or.indexOf(Jn)!==-1};if(wr("label")&&yr.push((rr=sn[Tn].p,a(In?pn:dn,rr,!0).text)),wr("text")&&((ur=i.castOption(Rn,br.i,"text"))===0||ur)&&yr.push(ur),jn){var Kt=+br.rawS||br.s,bn=br.v,On=bn-Kt;wr("initial")&&yr.push(Wn(On)),wr("delta")&&yr.push(Wn(Kt)),wr("final")&&yr.push(Wn(bn))}if(Gn){wr("value")&&yr.push(Wn(br.s));var Ln=0;wr("percent initial")&&Ln++,wr("percent previous")&&Ln++,wr("percent total")&&Ln++;var Un=Ln>1;wr("percent initial")&&(ur=i.formatPercent(br.begR),Un&&(ur+=" of initial"),yr.push(ur)),wr("percent previous")&&(ur=i.formatPercent(br.difR),Un&&(ur+=" of previous"),yr.push(ur)),wr("percent total")&&(ur=i.formatPercent(br.sumR),Un&&(ur+=" of total"),yr.push(ur))}return yr.join("
")}(rn,xn,un,An):f.getValue(kn.text,xn),f.coerceString(y,Yn)}(Bt,Ye,$e,Ft,Dt);xt=function(Qt,rn){var xn=f.getValue(Qt.textposition,rn);return f.coerceEnumerated(C,xn)}(Vt,$e);var We=Et.mode==="stack"||Et.mode==="relative",nt=Ye[$e],ht=!We||nt._outmost;if(Je&&xt!=="none"&&(!nt.isBlank&&st!==ot&&ft!==bt||xt!=="auto"&&xt!=="inside")){var Oe=Bt.font,Ne=h.getBarColor(Ye[$e],Vt),Qe=h.getInsideTextFont(Vt,$e,Oe,Ne),ut=h.getOutsideTextFont(Vt,$e,Oe),pt=Ve.datum();Ke?Ft.type==="log"&&pt.s0<=0&&(st=Ft.range[0]0&&yt>0&&(Lt<=wt&&yt<=Ot||Lt<=Ot&&yt<=wt||(Ke?wt>=Lt*(Ot/yt):Ot>=yt*(wt/Lt)))?xt="inside":(xt="outside",_t.remove(),_t=null)):xt="inside"),!_t){var Nt=(_t=Wt(Ve,Je,Pt=i.ensureUniformFontSize(we,xt==="outside"?ut:Qe))).attr("transform");if(_t.attr("transform",""),Lt=(It=p.bBox(_t.node())).width,yt=It.height,_t.attr("transform",Nt),Lt<=0||yt<=0)return void _t.remove()}var $t,qt=Vt.textangle;$t=xt==="outside"?function(Qt,rn,xn,un,An,Yn){var kn,sn=!!Yn.isHorizontal,Tn=!!Yn.constrained,dn=Yn.angle||0,pn=An.width,Rn=An.height,In=Math.abs(rn-Qt),jn=Math.abs(un-xn);kn=sn?jn>2*k?k:0:In>2*k?k:0;var Gn=1;Tn&&(Gn=sn?Math.min(1,jn/Rn):Math.min(1,In/pn));var Wn=O(dn),ur=I(An,Wn),rr=(sn?ur.x:ur.y)/2,Lr=(An.left+An.right)/2,br=(An.top+An.bottom)/2,or=(Qt+rn)/2,yr=(xn+un)/2,wr=0,Kt=0,bn=sn?A(rn,Qt):A(xn,un);return sn?(or=rn-bn*kn,wr=bn*rr):(yr=un+bn*kn,Kt=-bn*rr),{textX:Lr,textY:br,targetX:or,targetY:yr,anchorX:wr,anchorY:Kt,scale:Gn,rotate:Wn}}(st,ot,ft,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="outside",angle:qt}):R(st,ot,ft,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="inside",angle:qt,anchor:Vt.insidetextanchor}),$t.fontSize=Pt.size,s(Vt.type==="histogram"?"bar":Vt.type,$t,Bt),nt.transform=$t;var Xt=L(_t,Bt,Et,kt);i.setTransormAndDisplay(Xt,$t)}else Ve.select("text").remove()})(z,F,Me,ne,xe,Ce,ae,he,be,q,j),F.layerClipId&&p.hideOutsideRangePoint(pe,Me.select("text"),Y,U,Z.xcalendar,Z.ycalendar)});var me=Z.cliponaxis===!1;p.setClipUrl(te,me?null:F.layerClipId,z)});u.getComponentMethod("errorbars","plot")(z,H,F,q)},toMoveInsideBar:R}},81974:function(x){function o(t,d,g,i,M){var v=d.c2p(i?t.s0:t.p0,!0),p=d.c2p(i?t.s1:t.p1,!0),u=g.c2p(i?t.p0:t.s0,!0),a=g.c2p(i?t.p1:t.s1,!0);return M?[(v+p)/2,(u+a)/2]:i?[p,(u+a)/2]:[(v+p)/2,a]}x.exports=function(t,d){var g,i=t.cd,M=t.xaxis,v=t.yaxis,p=i[0].trace,u=p.type==="funnel",a=p.orientation==="h",c=[];if(d===!1)for(g=0;g1||L.bargap===0&&L.bargroupgap===0&&!b[0].trace.marker.line.width)&&d.select(this).attr("shape-rendering","crispEdges")}),T.selectAll("g.points").each(function(b){h(d.select(this),b[0].trace,E)}),v.getComponentMethod("errorbars","style")(T)},styleTextPoints:f,styleOnSelect:function(E,T,A){var L=T[0].trace;L.selectedpoints?function(b,O,I){i.selectedPointStyle(b.selectAll("path"),O),function(R,z,F){R.each(function(B){var N,q=d.select(this);if(B.selected){N=M.ensureUniformFontSize(F,m(q,B,z,F));var j=z.selected.textfont&&z.selected.textfont.color;j&&(N.color=j),i.font(q,N)}else i.selectedTextStyle(q,z)})}(b.selectAll("text"),O,I)}(A,L,E):(h(A,L,E),v.getComponentMethod("errorbars","style")(A))},getInsideTextFont:y,getOutsideTextFont:C,getBarColor:k,resizeText:p}},98340:function(x,o,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(71828).coercePattern;x.exports=function(v,p,u,a,c){var s=u("marker.color",a),l=g(v,"marker");l&&i(v,p,c,u,{prefix:"marker.",cLetter:"c"}),u("marker.line.color",d.defaultLine),g(v,"marker.line")&&i(v,p,c,u,{prefix:"marker.line.",cLetter:"c"}),u("marker.line.width"),u("marker.opacity"),M(u,"marker.pattern",s,l),u("selected.marker.color"),u("unselected.marker.color")}},72597:function(x,o,t){var d=t(39898),g=t(71828);function i(M){return"_"+M+"Text_minsize"}x.exports={recordMinTextSize:function(M,v,p){if(p.uniformtext.mode){var u=i(M),a=p.uniformtext.minsize,c=v.scale*v.fontSize;v.hide=cf.range[1]&&(E+=Math.PI),d.getClosest(s,function(L){return y(k,E,[L.rp0,L.rp1],[L.thetag0,L.thetag1],_)?C+Math.min(1,Math.abs(L.thetag1-L.thetag0)/w)-1+(L.rp1-k)/(L.rp1-L.rp0)-1:1/0},u),u.index!==!1){var T=s[u.index];u.x0=u.x1=T.ct[0],u.y0=u.y1=T.ct[1];var A=g.extendFlat({},T,{r:T.s,theta:T.p});return M(T,l,u),v(A,l,h,u),u.hovertemplate=l.hovertemplate,u.color=i(l,T),u.xLabelVal=u.yLabelVal=void 0,T.s<0&&(u.idealAlign="left"),[u]}}},23381:function(x,o,t){x.exports={moduleType:"trace",name:"barpolar",basePlotModule:t(23580),categories:["polar","bar","showLegend"],attributes:t(55023),layoutAttributes:t(40151),supplyDefaults:t(6135),supplyLayoutDefaults:t(19860),calc:t(74692).calc,crossTraceCalc:t(74692).crossTraceCalc,plot:t(60173),colorbar:t(4898),formatLabels:t(98608),style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(27379),selectPoints:t(81974),meta:{}}},40151:function(x){x.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},19860:function(x,o,t){var d=t(71828),g=t(40151);x.exports=function(i,M,v){var p,u={};function a(l,h){return d.coerce(i[p]||{},M[p],g,l,h)}for(var c=0;c0?(L=T,b=A):(L=A,b=T);var O=[v.findEnclosingVertexAngles(L,y.vangles)[0],(L+b)/2,v.findEnclosingVertexAngles(b,y.vangles)[1]];return v.pathPolygonAnnulus(k,E,L,b,O,C,w)}:function(k,E,T,A){return i.pathAnnulus(k,E,T,A,C,w)}}(u),_=u.layers.frontplot.select("g.barlayer");i.makeTraceGroups(_,a,"trace bars").each(function(){var y=d.select(this),C=i.ensureSingle(y,"g","points").selectAll("g.point").data(i.identity);C.enter().append("g").style("vector-effect",c?"none":"non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),C.exit().remove(),C.each(function(w){var k,E=d.select(this),T=w.rp0=h.c2p(w.s0),A=w.rp1=h.c2p(w.s1),L=w.thetag0=f.c2g(w.p0),b=w.thetag1=f.c2g(w.p1);if(g(T)&&g(A)&&g(L)&&g(b)&&T!==A&&L!==b){var O=h.c2g(w.s1),I=(L+b)/2;w.ct=[s.c2p(O*Math.cos(I)),l.c2p(O*Math.sin(I))],k=m(T,A,L,b)}else k="M0,0Z";i.ensureSingle(E,"path").attr("d",k)}),M.setClipUrl(y,u._hasClipOnAxisFalse?u.clipIds.forTraces:null,p)})}},53522:function(x,o,t){var d=t(82196),g=t(1486),i=t(22399),M=t(12663).axisHoverFormat,v=t(5386).fF,p=t(1426).extendFlat,u=d.marker,a=u.line;x.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:d.xperiod,yperiod:d.yperiod,xperiod0:d.xperiod0,yperiod0:d.yperiod0,xperiodalignment:d.xperiodalignment,yperiodalignment:d.yperiodalignment,xhoverformat:M("x"),yhoverformat:M("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"},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:p({},u.symbol,{arrayOk:!1,editType:"plot"}),opacity:p({},u.opacity,{arrayOk:!1,dflt:1,editType:"style"}),angle:p({},u.angle,{arrayOk:!1,editType:"calc"}),size:p({},u.size,{arrayOk:!1,editType:"calc"}),color:p({},u.color,{arrayOk:!1,editType:"style"}),line:{color:p({},a.color,{arrayOk:!1,dflt:i.defaultLine,editType:"style"}),width:p({},a.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:d.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},offsetgroup:g.offsetgroup,alignmentgroup:g.alignmentgroup,selected:{marker:d.selected.marker,editType:"style"},unselected:{marker:d.unselected.marker,editType:"style"},text:p({},d.text,{}),hovertext:p({},d.hovertext,{}),hovertemplate:v({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},48518:function(x,o,t){var d=t(92770),g=t(89298),i=t(42973),M=t(71828),v=t(50606).BADNUM,p=M._;x.exports=function(y,C){var w,k,E,T,A,L,b,O=y._fullLayout,I=g.getFromId(y,C.xaxis||"x"),R=g.getFromId(y,C.yaxis||"y"),z=[],F=C.type==="violin"?"_numViolins":"_numBoxes";C.orientation==="h"?(E=I,T="x",A=R,L="y",b=!!C.yperiodalignment):(E=R,T="y",A=I,L="x",b=!!C.xperiodalignment);var B,N,q,j,Y,U,G=function(Ee,Ve,Ye,$e){var st,ot=Ve+"0"in Ee;if(Ve in Ee||ot&&"d"+Ve in Ee){var ft=Ye.makeCalcdata(Ee,Ve);return[i(Ee,Ye,Ve,ft).vals,ft]}st=ot?Ee[Ve+"0"]:"name"in Ee&&(Ye.type==="category"||d(Ee.name)&&["linear","log"].indexOf(Ye.type)!==-1||M.isDateTime(Ee.name)&&Ye.type==="date")?Ee.name:$e;for(var bt=Ye.type==="multicategory"?Ye.r2c_just_indices(st):Ye.d2c(st,0,Ee[Ve+"calendar"]),Et=Ee._length,kt=new Array(Et),xt=0;xtB.uf};if(C._hasPreCompStats){var Q=C[T],re=function(Ee){return E.d2c((C[Ee]||[])[w])},ie=1/0,oe=-1/0;for(w=0;w=B.q1&&B.q3>=B.med){var ce=re("lowerfence");B.lf=ce!==v&&ce<=B.q1?ce:l(B,q,j);var ye=re("upperfence");B.uf=ye!==v&&ye>=B.q3?ye:h(B,q,j);var de=re("mean");B.mean=de!==v?de:j?M.mean(q,j):(B.q1+B.q3)/2;var me=re("sd");B.sd=de!==v&&me>=0?me:j?M.stdev(q,j,B.mean):B.q3-B.q1,B.lo=f(B),B.uo=m(B);var pe=re("notchspan");pe=pe!==v&&pe>0?pe:_(B,j),B.ln=B.med-pe,B.un=B.med+pe;var xe=B.lf,Pe=B.uf;C.boxpoints&&q.length&&(xe=Math.min(xe,q[0]),Pe=Math.max(Pe,q[j-1])),C.notched&&(xe=Math.min(xe,B.ln),Pe=Math.max(Pe,B.un)),B.min=xe,B.max=Pe}else{var _e;M.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+B.q1,"median = "+B.med,"q3 = "+B.q3].join(` -`)),_e=B.med!==v?B.med:B.q1!==v?B.q3!==v?(B.q1+B.q3)/2:B.q1:B.q3!==v?B.q3:0,B.med=_e,B.q1=B.q3=_e,B.lf=B.uf=_e,B.mean=B.sd=_e,B.ln=B.un=_e,B.min=B.max=_e}ie=Math.min(ie,B.min),oe=Math.max(oe,B.max),B.pts2=N.filter(X),z.push(B)}}C._extremes[E._id]=g.findExtremes(E,[ie,oe],{padded:!0})}else{var Me=E.makeCalcdata(C,T),Se=function(Ee,Ve){for(var Ye=Ee.length,$e=new Array(Ye+1),st=0;st=0&&he0){var je,ge;(B={}).pos=B[L]=te[w],N=B.pts=ae[w].sort(c),j=(q=B[T]=N.map(s)).length,B.min=q[0],B.max=q[j-1],B.mean=M.mean(q,j),B.sd=M.stdev(q,j,B.mean),B.med=M.interp(q,.5),j%2&&(Be||ze)?(Be?(je=q.slice(0,j/2),ge=q.slice(j/2+1)):ze&&(je=q.slice(0,j/2+1),ge=q.slice(j/2)),B.q1=M.interp(je,.5),B.q3=M.interp(ge,.5)):(B.q1=M.interp(q,.25),B.q3=M.interp(q,.75)),B.lf=l(B,q,j),B.uf=h(B,q,j),B.lo=f(B),B.uo=m(B);var we=_(B,j);B.ln=B.med-we,B.un=B.med+we,be=Math.min(be,B.ln),ke=Math.max(ke,B.un),B.pts2=N.filter(X),z.push(B)}C._extremes[E._id]=g.findExtremes(E,C.notched?Me.concat([be,ke]):Me,{padded:!0})}return function(Ee,Ve){if(M.isArrayOrTypedArray(Ve.selectedpoints))for(var Ye=0;Ye0?(z[0].t={num:O[F],dPos:Z,posLetter:L,valLetter:T,labels:{med:p(y,"median:"),min:p(y,"min:"),q1:p(y,"q1:"),q3:p(y,"q3:"),max:p(y,"max:"),mean:C.boxmean==="sd"?p(y,"mean ± σ:"):p(y,"mean:"),lf:p(y,"lower fence:"),uf:p(y,"upper fence:")}},O[F]++,z):[{t:{empty:!0}}]};var u={text:"tx",hovertext:"htx"};function a(y,C,w){for(var k in u)M.isArrayOrTypedArray(C[k])&&(Array.isArray(w)?M.isArrayOrTypedArray(C[k][w[0]])&&(y[u[k]]=C[k][w[0]][w[1]]):y[u[k]]=C[k][w])}function c(y,C){return y.v-C.v}function s(y){return y.v}function l(y,C,w){return w===0?y.q1:Math.min(y.q1,C[Math.min(M.findBin(2.5*y.q1-1.5*y.q3,C,!0)+1,w-1)])}function h(y,C,w){return w===0?y.q3:Math.max(y.q3,C[Math.max(M.findBin(2.5*y.q3-1.5*y.q1,C),0)])}function f(y){return 4*y.q1-3*y.q3}function m(y){return 4*y.q3-3*y.q1}function _(y,C){return C===0?0:1.57*(y.q3-y.q1)/Math.sqrt(C)}},37188:function(x,o,t){var d=t(89298),g=t(71828),i=t(99082).getAxisGroup,M=["v","h"];function v(p,u,a,c){var s,l,h,f=u.calcdata,m=u._fullLayout,_=c._id,y=_.charAt(0),C=[],w=0;for(s=0;s1,L=1-m[p+"gap"],b=1-m[p+"groupgap"];for(s=0;s0){var ue=N.pointpos,ce=N.jitter,ye=N.marker.size/2,de=0;ue+ce>=0&&((de=ie*(ue+ce))>F?(oe=!0,Q=ye,Z=de):de>ne&&(Q=ye,Z=F)),de<=F&&(Z=F);var me=0;ue-ce<=0&&((me=-ie*(ue-ce))>B?(oe=!0,re=ye,X=me):me>te&&(re=ye,X=B)),me<=B&&(X=B)}else Z=F,X=B;var pe=new Array(h.length);for(l=0;l0?(A="v",L=O>0?Math.min(R,I):Math.min(I)):O>0?(A="h",L=Math.min(R)):L=0;if(L){l._length=L;var j=h("orientation",A);l._hasPreCompStats?j==="v"&&O===0?(h("x0",0),h("dx",1)):j==="h"&&b===0&&(h("y0",0),h("dy",1)):j==="v"&&O===0?h("x0"):j==="h"&&b===0&&h("y0"),g.getComponentMethod("calendars","handleTraceDefaults")(s,l,["x","y"],f)}else l.visible=!1}function c(s,l,h,f){var m=f.prefix,_=d.coerce2(s,l,u,"marker.outliercolor"),y=h("marker.line.outliercolor"),C="outliers";l._hasPreCompStats?C="all":(_||y)&&(C="suspectedoutliers");var w=h(m+"points",C);w?(h("jitter",w==="all"?.3:0),h("pointpos",w==="all"?-1.5:0),h("marker.symbol"),h("marker.opacity"),h("marker.size"),h("marker.angle"),h("marker.color",l.line.color),h("marker.line.color"),h("marker.line.width"),w==="suspectedoutliers"&&(h("marker.line.outliercolor",l.marker.color),h("marker.line.outlierwidth")),h("selected.marker.color"),h("unselected.marker.color"),h("selected.marker.size"),h("unselected.marker.size"),h("text"),h("hovertext")):delete l.marker;var k=h("hoveron");k!=="all"&&k.indexOf("points")===-1||h("hovertemplate"),d.coerceSelectionMarkerOpacity(l,h)}x.exports={supplyDefaults:function(s,l,h,f){function m(T,A){return d.coerce(s,l,u,T,A)}if(a(s,l,m,f),l.visible!==!1){M(s,l,f,m),m("xhoverformat"),m("yhoverformat");var _=l._hasPreCompStats;_&&(m("lowerfence"),m("upperfence")),m("line.color",(s.marker||{}).color||h),m("line.width"),m("fillcolor",i.addOpacity(l.line.color,.5));var y=!1;if(_){var C=m("mean"),w=m("sd");C&&C.length&&(y=!0,w&&w.length&&(y="sd"))}m("boxmean",y),m("whiskerwidth"),m("width"),m("quartilemethod");var k=!1;if(_){var E=m("notchspan");E&&E.length&&(k=!0)}else d.validate(s.notchwidth,u.notchwidth)&&(k=!0);m("notched",k)&&m("notchwidth"),c(s,l,m,{prefix:"box"})}},crossTraceDefaults:function(s,l){var h,f;function m(C){return d.coerce(f._input,f,u,C)}for(var _=0;_w.lo&&(q.so=!0)}return T});C.enter().append("path").classed("point",!0),C.exit().remove(),C.call(i.translatePoints,l,h)}function p(u,a,c,s){var l,h,f=a.val,m=a.pos,_=!!m.rangebreaks,y=s.bPos,C=s.bPosPxOffset||0,w=c.boxmean||(c.meanline||{}).visible;Array.isArray(s.bdPos)?(l=s.bdPos[0],h=s.bdPos[1]):(l=s.bdPos,h=s.bdPos);var k=u.selectAll("path.mean").data(c.type==="box"&&c.boxmean||c.type==="violin"&&c.box.visible&&c.meanline.visible?g.identity:[]);k.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),k.exit().remove(),k.each(function(E){var T=m.c2l(E.pos+y,!0),A=m.l2p(T-l)+C,L=m.l2p(T+h)+C,b=_?(A+L)/2:m.l2p(T)+C,O=f.c2p(E.mean,!0),I=f.c2p(E.mean-E.sd,!0),R=f.c2p(E.mean+E.sd,!0);c.orientation==="h"?d.select(this).attr("d","M"+O+","+A+"V"+L+(w==="sd"?"m0,0L"+I+","+b+"L"+O+","+A+"L"+R+","+b+"Z":"")):d.select(this).attr("d","M"+A+","+O+"H"+L+(w==="sd"?"m0,0L"+b+","+I+"L"+A+","+O+"L"+b+","+R+"Z":""))})}x.exports={plot:function(u,a,c,s){var l=u._context.staticPlot,h=a.xaxis,f=a.yaxis;g.makeTraceGroups(s,c,"trace boxes").each(function(m){var _,y,C=d.select(this),w=m[0],k=w.t,E=w.trace;k.wdPos=k.bdPos*E.whiskerwidth,E.visible!==!0||k.empty?C.remove():(E.orientation==="h"?(_=f,y=h):(_=h,y=f),M(C,{pos:_,val:y},E,k,l),v(C,{x:h,y:f},E,k),p(C,{pos:_,val:y},E,k))})},plotBoxAndWhiskers:M,plotPoints:v,plotBoxMean:p}},24626:function(x){x.exports=function(o,t){var d,g,i=o.cd,M=o.xaxis,v=o.yaxis,p=[];if(t===!1)for(d=0;d=10)return null;for(var v=1/0,p=-1/0,u=i.length,a=0;a0?Math.floor:Math.ceil,j=B>0?Math.ceil:Math.floor,Y=B>0?Math.min:Math.max,U=B>0?Math.max:Math.min,G=q(z+N),W=j(F-N),H=[[h=R(z)]];for(p=G;p*B=0;i--)M[c-i]=o[s][i],v[c-i]=t[s][i];for(p.push({x:M,y:v,bicubic:u}),i=s,M=[],v=[];i>=0;i--)M[s-i]=o[i][0],v[s-i]=t[i][0];return p.push({x:M,y:v,bicubic:a}),p}},20347:function(x,o,t){var d=t(89298),g=t(1426).extendFlat;x.exports=function(i,M,v){var p,u,a,c,s,l,h,f,m,_,y,C,w,k,E=i["_"+M],T=i[M+"axis"],A=T._gridlines=[],L=T._minorgridlines=[],b=T._boundarylines=[],O=i["_"+v],I=i[v+"axis"];T.tickmode==="array"&&(T.tickvals=E.slice());var R=i._xctrl,z=i._yctrl,F=R[0].length,B=R.length,N=i._a.length,q=i._b.length;d.prepTicks(T),T.tickmode==="array"&&delete T.tickvals;var j=T.smoothing?3:1;function Y(G){var W,H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye=[],de=[],me={};if(M==="b")for(H=i.b2j(G),ne=Math.floor(Math.max(0,Math.min(q-2,H))),te=H-ne,me.length=q,me.crossLength=N,me.xy=function(pe){return i.evalxy([],pe,H)},me.dxy=function(pe,xe){return i.dxydi([],pe,ne,xe,te)},W=0;W0&&(ie=i.dxydi([],W-1,ne,0,te),ye.push(Z[0]+ie[0]/3),de.push(Z[1]+ie[1]/3),oe=i.dxydi([],W-1,ne,1,te),ye.push(re[0]-oe[0]/3),de.push(re[1]-oe[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;else for(W=i.a2i(G),X=Math.floor(Math.max(0,Math.min(N-2,W))),Q=W-X,me.length=N,me.crossLength=q,me.xy=function(pe){return i.evalxy([],W,pe)},me.dxy=function(pe,xe){return i.dxydj([],X,pe,Q,xe)},H=0;H0&&(ue=i.dxydj([],X,H-1,Q,0),ye.push(Z[0]+ue[0]/3),de.push(Z[1]+ue[1]/3),ce=i.dxydj([],X,H-1,Q,1),ye.push(re[0]-ce[0]/3),de.push(re[1]-ce[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;return me.axisLetter=M,me.axis=T,me.crossAxis=I,me.value=G,me.constvar=v,me.index=f,me.x=ye,me.y=de,me.smoothing=I.smoothing,me}function U(G){var W,H,ne,te,Z,X=[],Q=[],re={};if(re.length=E.length,re.crossLength=O.length,M==="b")for(ne=Math.max(0,Math.min(q-2,G)),Z=Math.min(1,Math.max(0,G-ne)),re.xy=function(ie){return i.evalxy([],ie,G)},re.dxy=function(ie,oe){return i.dxydi([],ie,ne,oe,Z)},W=0;WE.length-1||A.push(g(U(u),{color:T.gridcolor,width:T.gridwidth,dash:T.griddash}));for(f=l;fE.length-1||y<0||y>E.length-1))for(C=E[a],w=E[y],p=0;pE[E.length-1]||L.push(g(Y(_),{color:T.minorgridcolor,width:T.minorgridwidth,dash:T.minorgriddash}));T.startline&&b.push(g(U(0),{color:T.startlinecolor,width:T.startlinewidth})),T.endline&&b.push(g(U(E.length-1),{color:T.endlinecolor,width:T.endlinewidth}))}else{for(c=5e-15,l=(s=[Math.floor((E[E.length-1]-T.tick0)/T.dtick*(1+c)),Math.ceil((E[0]-T.tick0)/T.dtick/(1+c))].sort(function(G,W){return G-W}))[0],h=s[1],f=l;f<=h;f++)m=T.tick0+T.dtick*f,A.push(g(Y(m),{color:T.gridcolor,width:T.gridwidth,dash:T.griddash}));for(f=l-1;fE[E.length-1]||L.push(g(Y(_),{color:T.minorgridcolor,width:T.minorgridwidth,dash:T.minorgriddash}));T.startline&&b.push(g(Y(E[0]),{color:T.startlinecolor,width:T.startlinewidth})),T.endline&&b.push(g(Y(E[E.length-1]),{color:T.endlinecolor,width:T.endlinewidth}))}}},83311:function(x,o,t){var d=t(89298),g=t(1426).extendFlat;x.exports=function(i,M){var v,p,u,a=M._labels=[],c=M._gridlines;for(v=0;vi.length&&(g=g.slice(0,i.length)):g=[],v=0;v90&&(h-=180,u=-u),{angle:h,flip:u,p:o.c2p(g,t,d),offsetMultplier:a}}},89740:function(x,o,t){var d=t(39898),g=t(91424),i=t(27669),M=t(67961),v=t(11651),p=t(63893),u=t(71828),a=u.strRotate,c=u.strTranslate,s=t(18783);function l(y,C,w,k,E,T,A){var L="const-"+E+"-lines",b=w.selectAll("."+L).data(T);b.enter().append("path").classed(L,!0).style("vector-effect",A?"none":"non-scaling-stroke"),b.each(function(O){var I=O,R=I.x,z=I.y,F=i([],R,y.c2p),B=i([],z,C.c2p),N="M"+M(F,B,I.smoothing);d.select(this).attr("d",N).style("stroke-width",I.width).style("stroke",I.color).style("stroke-dasharray",g.dashStyle(I.dash,I.width)).style("fill","none")}),b.exit().remove()}function h(y,C,w,k,E,T,A,L){var b=T.selectAll("text."+L).data(A);b.enter().append("text").classed(L,!0);var O=0,I={};return b.each(function(R,z){var F;if(R.axis.tickangle==="auto")F=v(k,C,w,R.xy,R.dxy);else{var B=(R.axis.tickangle+180)*Math.PI/180;F=v(k,C,w,R.xy,[Math.cos(B),Math.sin(B)])}z||(I={angle:F.angle,flip:F.flip});var N=(R.endAnchor?-1:1)*F.flip,q=d.select(this).attr({"text-anchor":N>0?"start":"end","data-notex":1}).call(g.font,R.font).text(R.text).call(p.convertToTspans,y),j=g.bBox(this);q.attr("transform",c(F.p[0],F.p[1])+a(F.angle)+c(R.axis.labelpadding*N,.3*j.height)),O=Math.max(O,j.width+R.axis.labelpadding)}),b.exit().remove(),I.maxExtent=O,I}x.exports=function(y,C,w,k){var E=y._context.staticPlot,T=C.xaxis,A=C.yaxis,L=y._fullLayout._clips;u.makeTraceGroups(k,w,"trace").each(function(b){var O=d.select(this),I=b[0],R=I.trace,z=R.aaxis,F=R.baxis,B=u.ensureSingle(O,"g","minorlayer"),N=u.ensureSingle(O,"g","majorlayer"),q=u.ensureSingle(O,"g","boundarylayer"),j=u.ensureSingle(O,"g","labellayer");O.style("opacity",R.opacity),l(T,A,N,0,"a",z._gridlines,!0),l(T,A,N,0,"b",F._gridlines,!0),l(T,A,B,0,"a",z._minorgridlines,!0),l(T,A,B,0,"b",F._minorgridlines,!0),l(T,A,q,0,"a-boundary",z._boundarylines,E),l(T,A,q,0,"b-boundary",F._boundarylines,E);var Y=h(y,T,A,R,0,j,z._labels,"a-label"),U=h(y,T,A,R,0,j,F._labels,"b-label");(function(G,W,H,ne,te,Z,X,Q){var re,ie,oe,ue,ce=u.aggNums(Math.min,null,H.a),ye=u.aggNums(Math.max,null,H.a),de=u.aggNums(Math.min,null,H.b),me=u.aggNums(Math.max,null,H.b);re=.5*(ce+ye),ie=de,oe=H.ab2xy(re,ie,!0),ue=H.dxyda_rough(re,ie),X.angle===void 0&&u.extendFlat(X,v(H,te,Z,oe,H.dxydb_rough(re,ie))),_(G,W,H,0,oe,ue,H.aaxis,te,Z,X,"a-title"),re=ce,ie=.5*(de+me),oe=H.ab2xy(re,ie,!0),ue=H.dxydb_rough(re,ie),Q.angle===void 0&&u.extendFlat(Q,v(H,te,Z,oe,H.dxyda_rough(re,ie))),_(G,W,H,0,oe,ue,H.baxis,te,Z,Q,"b-title")})(y,j,R,0,T,A,Y,U),function(G,W,H,ne,te){var Z,X,Q,re,ie=H.select("#"+G._clipPathId);ie.size()||(ie=H.append("clipPath").classed("carpetclip",!0));var oe=u.ensureSingle(ie,"path","carpetboundary"),ue=W.clipsegments,ce=[];for(re=0;re90&&q<270,Y=d.select(this);Y.text(A.title.text).call(p.convertToTspans,y),j&&(F=(-p.lineCount(Y)+m)*f*N-F),Y.attr("transform",c(B.p[0],B.p[1])+a(B.angle)+c(0,F)).attr("text-anchor","middle").call(g.font,A.title.font)}),z.exit().remove()}},11435:function(x,o,t){var d=t(35509),g=t(65888).findBin,i=t(45664),M=t(20349),v=t(54495),p=t(73057);x.exports=function(u){var a=u._a,c=u._b,s=a.length,l=c.length,h=u.aaxis,f=u.baxis,m=a[0],_=a[s-1],y=c[0],C=c[l-1],w=a[a.length-1]-a[0],k=c[c.length-1]-c[0],E=w*d.RELATIVE_CULL_TOLERANCE,T=k*d.RELATIVE_CULL_TOLERANCE;m-=E,_+=E,y-=T,C+=T,u.isVisible=function(A,L){return A>m&&A<_&&L>y&&L_||LC},u.setScale=function(){var A=u._x,L=u._y,b=i(u._xctrl,u._yctrl,A,L,h.smoothing,f.smoothing);u._xctrl=b[0],u._yctrl=b[1],u.evalxy=M([u._xctrl,u._yctrl],s,l,h.smoothing,f.smoothing),u.dxydi=v([u._xctrl,u._yctrl],h.smoothing,f.smoothing),u.dxydj=p([u._xctrl,u._yctrl],h.smoothing,f.smoothing)},u.i2a=function(A){var L=Math.max(0,Math.floor(A[0]),s-2),b=A[0]-L;return(1-b)*a[L]+b*a[L+1]},u.j2b=function(A){var L=Math.max(0,Math.floor(A[1]),s-2),b=A[1]-L;return(1-b)*c[L]+b*c[L+1]},u.ij2ab=function(A){return[u.i2a(A[0]),u.j2b(A[1])]},u.a2i=function(A){var L=Math.max(0,Math.min(g(A,a),s-2)),b=a[L],O=a[L+1];return Math.max(0,Math.min(s-1,L+(A-b)/(O-b)))},u.b2j=function(A){var L=Math.max(0,Math.min(g(A,c),l-2)),b=c[L],O=c[L+1];return Math.max(0,Math.min(l-1,L+(A-b)/(O-b)))},u.ab2ij=function(A){return[u.a2i(A[0]),u.b2j(A[1])]},u.i2c=function(A,L){return u.evalxy([],A,L)},u.ab2xy=function(A,L,b){if(!b&&(Aa[s-1]|Lc[l-1]))return[!1,!1];var O=u.a2i(A),I=u.b2j(L),R=u.evalxy([],O,I);if(b){var z,F,B,N,q=0,j=0,Y=[];Aa[s-1]?(z=s-2,F=1,q=(A-a[s-1])/(a[s-1]-a[s-2])):F=O-(z=Math.max(0,Math.min(s-2,Math.floor(O)))),Lc[l-1]?(B=l-2,N=1,j=(L-c[l-1])/(c[l-1]-c[l-2])):N=I-(B=Math.max(0,Math.min(l-2,Math.floor(I)))),q&&(u.dxydi(Y,z,B,F,N),R[0]+=Y[0]*q,R[1]+=Y[1]*q),j&&(u.dxydj(Y,z,B,F,N),R[0]+=Y[0]*j,R[1]+=Y[1]*j)}return R},u.c2p=function(A,L,b){return[L.c2p(A[0]),b.c2p(A[1])]},u.p2x=function(A,L,b){return[L.p2c(A[0]),b.p2c(A[1])]},u.dadi=function(A){var L=Math.max(0,Math.min(a.length-2,A));return a[L+1]-a[L]},u.dbdj=function(A){var L=Math.max(0,Math.min(c.length-2,A));return c[L+1]-c[L]},u.dxyda=function(A,L,b,O){var I=u.dxydi(null,A,L,b,O),R=u.dadi(A,b);return[I[0]/R,I[1]/R]},u.dxydb=function(A,L,b,O){var I=u.dxydj(null,A,L,b,O),R=u.dbdj(L,O);return[I[0]/R,I[1]/R]},u.dxyda_rough=function(A,L,b){var O=w*(b||.1),I=u.ab2xy(A+O,L,!0),R=u.ab2xy(A-O,L,!0);return[.5*(I[0]-R[0])/O,.5*(I[1]-R[1])/O]},u.dxydb_rough=function(A,L,b){var O=k*(b||.1),I=u.ab2xy(A,L+O,!0),R=u.ab2xy(A,L-O,!0);return[.5*(I[0]-R[0])/O,.5*(I[1]-R[1])/O]},u.dpdx=function(A){return A._m},u.dpdy=function(A){return A._m}}},72505:function(x,o,t){var d=t(71828);x.exports=function(g,i,M){var v,p,u,a=[],c=[],s=g[0].length,l=g.length;function h(G,W){var H,ne=0,te=0;return G>0&&(H=g[W][G-1])!==void 0&&(te++,ne+=H),G0&&(H=g[W-1][G])!==void 0&&(te++,ne+=H),W0&&p0&&v1e-5);return d.log("Smoother converged to",O,"after",I,"iterations"),g}},19237:function(x,o,t){var d=t(71828).isArray1D;x.exports=function(g,i,M){var v=M("x"),p=v&&v.length,u=M("y"),a=u&&u.length;if(!p&&!a)return!1;if(i._cheater=!v,p&&!d(v)||a&&!d(u))i._length=null;else{var c=p?v.length:1/0;a&&(c=Math.min(c,u.length)),i.a&&i.a.length&&(c=Math.min(c,i.a.length)),i.b&&i.b.length&&(c=Math.min(c,i.b.length)),i._length=c}return!0}},69568:function(x,o,t){var d=t(5386).fF,g=t(19316),i=t(50693),M=t(9012),v=t(22399).defaultLine,p=t(1426).extendFlat,u=g.marker.line;x.exports=p({locations:{valType:"data_array",editType:"calc"},locationmode:g.locationmode,z:{valType:"data_array",editType:"calc"},geojson:p({},g.geojson,{}),featureidkey:g.featureidkey,text:p({},g.text,{}),hovertext:p({},g.hovertext,{}),marker:{line:{color:p({},u.color,{dflt:v}),width:p({},u.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:g.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:g.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:p({},M.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:d(),showlegend:p({},M.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},38675:function(x,o,t){var d=t(92770),g=t(50606).BADNUM,i=t(78803),M=t(75225),v=t(66279);function p(u){return u&&typeof u=="string"}x.exports=function(u,a){var c,s=a._length,l=new Array(s);c=a.geojson?function(y){return p(y)||d(y)}:p;for(var h=0;h")}}(M,h,u),[M]}},51319:function(x,o,t){x.exports={attributes:t(69568),supplyDefaults:t(61869),colorbar:t(61243),calc:t(38675),calcGeoJSON:t(99841).calcGeoJSON,plot:t(99841).plot,style:t(99636).style,styleOnSelect:t(99636).styleOnSelect,hoverPoints:t(42300),eventData:t(92069),selectPoints:t(81253),moduleType:"trace",name:"choropleth",basePlotModule:t(44622),categories:["geo","noOpacity","showLegend"],meta:{}}},99841:function(x,o,t){var d=t(39898),g=t(71828),i=t(41327),M=t(90973).getTopojsonFeatures,v=t(71739).findExtremes,p=t(99636).style;x.exports={calcGeoJSON:function(u,a){for(var c=u[0].trace,s=a[c.geo],l=s._subplot,h=c.locationmode,f=c._length,m=h==="geojson-id"?i.extractTraceFeature(u):M(c,l.topojson),_=[],y=[],C=0;C=0;M--){var v=i[M].id;if(typeof v=="string"&&v.indexOf("water")===0){for(var p=M+1;p=0;a--)p.removeLayer(u[a][1])},v.dispose=function(){var p=this.subplot.map;this._removeLayers(),p.removeSource(this.sourceId)},x.exports=function(p,u){var a=u[0].trace,c=new M(p,a.uid),s=c.sourceId,l=d(u),h=c.below=p.belowLookup["trace-"+a.uid];return p.map.addSource(s,{type:"geojson",data:l.geojson}),c._addLayers(l,h),u[0].trace._glTrace=c,c}},12674:function(x,o,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),p=t(1426).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:i({editType:"calc"},{keys:["norm"]}),uhoverformat:g("u",1),vhoverformat:g("v",1),whoverformat:g("w",1),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),showlegend:p({},v.showlegend,{dflt:!1})};p(u,d("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"})),["opacity","lightposition","lighting"].forEach(function(a){u[a]=M[a]}),u.hoverinfo=p({},v.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),u.transforms=void 0,x.exports=u},31371:function(x,o,t){var d=t(78803);x.exports=function(g,i){for(var M=i.u,v=i.v,p=i.w,u=Math.min(i.x.length,i.y.length,i.z.length,M.length,v.length,p.length),a=-1/0,c=1/0,s=0;sv.level||v.starts.length&&M===v.level)}break;case"constraint":if(g.prefixBoundary=!1,g.edgepaths.length)return;var p=g.x.length,u=g.y.length,a=-1/0,c=1/0;for(d=0;d":h>a&&(g.prefixBoundary=!0);break;case"<":(ha||g.starts.length&&l===c)&&(g.prefixBoundary=!0);break;case"][":s=Math.min(h[0],h[1]),l=Math.max(h[0],h[1]),sa&&(g.prefixBoundary=!0)}}}},90654:function(x,o,t){var d=t(21081),g=t(86068),i=t(53572);x.exports={min:"zmin",max:"zmax",calc:function(M,v,p){var u=v.contours,a=v.line,c=u.size||1,s=u.coloring,l=g(v,{isColorbar:!0});if(s==="heatmap"){var h=d.extractOpts(v);p._fillgradient=h.reversescale?d.flipScale(h.colorscale):h.colorscale,p._zrange=[h.min,h.max]}else s==="fill"&&(p._fillcolor=l);p._line={color:s==="lines"?l:a.color,width:u.showlines!==!1?a.width:0,dash:a.dash},p._levels={start:u.start,end:i(u),size:c}}}},36914:function(x){x.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}}},83179:function(x,o,t){var d=t(92770),g=t(14523),i=t(7901),M=i.addOpacity,v=i.opacity,p=t(74808),u=p.CONSTRAINT_REDUCTION,a=p.COMPARISON_OPS2;x.exports=function(c,s,l,h,f,m){var _,y,C,w=s.contours,k=l("contours.operation");w._operation=u[k],function(E,T){var A;a.indexOf(T.operation)===-1?(E("contours.value",[0,1]),Array.isArray(T.value)?T.value.length>2?T.value=T.value.slice(2):T.length===0?T.value=[0,1]:T.length<2?(A=parseFloat(T.value[0]),T.value=[A,A+1]):T.value=[parseFloat(T.value[0]),parseFloat(T.value[1])]:d(T.value)&&(A=parseFloat(T.value),T.value=[A,A+1])):(E("contours.value",0),d(T.value)||(Array.isArray(T.value)?T.value=parseFloat(T.value[0]):T.value=0))}(l,w),k==="="?_=w.showlines=!0:(_=l("contours.showlines"),C=l("fillcolor",M((c.line||{}).color||f,.5))),_&&(y=l("line.color",C&&v(C)?M(s.fillcolor,1):f),l("line.width",2),l("line.dash")),l("line.smoothing"),g(l,h,y,m)}},64237:function(x,o,t){var d=t(74808),g=t(92770);function i(p,u){var a,c=Array.isArray(u);function s(l){return g(l)?+l:null}return d.COMPARISON_OPS2.indexOf(p)!==-1?a=s(c?u[0]:u):d.INTERVAL_OPS.indexOf(p)!==-1?a=c?[s(u[0]),s(u[1])]:[s(u),s(u)]:d.SET_OPS.indexOf(p)!==-1&&(a=c?u.map(s):[s(u)]),a}function M(p){return function(u){u=i(p,u);var a=Math.min(u[0],u[1]),c=Math.max(u[0],u[1]);return{start:a,end:c,size:c-a}}}function v(p){return function(u){return{start:u=i(p,u),end:1/0,size:1/0}}}x.exports={"[]":M("[]"),"][":M("]["),">":v(">"),"<":v("<"),"=":v("=")}},67217:function(x){x.exports=function(o,t,d,g){var i=g("contours.start"),M=g("contours.end"),v=i===!1||M===!1,p=d("contours.size");!(v?t.autocontour=!0:d("autocontour",!1))&&p||d("ncontours")}},84857:function(x,o,t){var d=t(71828);function g(i){return d.extendFlat({},i,{edgepaths:d.extendDeep([],i.edgepaths),paths:d.extendDeep([],i.paths),starts:d.extendDeep([],i.starts)})}x.exports=function(i,M){var v,p,u,a=function(l){return l.reverse()},c=function(l){return l};switch(M){case"=":case"<":return i;case">":for(i.length!==1&&d.warn("Contour data invalid for the specified inequality operation."),p=i[0],v=0;v1e3){d.warn("Too many contours, clipping at 1000",M);break}return c}},53572:function(x){x.exports=function(o){return o.end+o.size/1e6}},81696:function(x,o,t){var d=t(71828),g=t(36914);function i(p,u,a,c){return Math.abs(p[0]-u[0])20&&oe?ie===208||ie===1114?ce=ue[0]===0?1:-1:ye=ue[1]===0?1:-1:g.BOTTOMSTART.indexOf(ie)!==-1?ye=1:g.LEFTSTART.indexOf(ie)!==-1?ce=1:g.TOPSTART.indexOf(ie)!==-1?ye=-1:ce=-1,[ce,ye]}(f,a,u),_=[v(p,u,[-m[0],-m[1]])],y=p.z.length,C=p.z[0].length,w=u.slice(),k=m.slice();for(l=0;l<1e4;l++){if(f>20?(f=g.CHOOSESADDLE[f][(m[0]||m[1])<0?0:1],p.crossings[h]=g.SADDLEREMAINDER[f]):delete p.crossings[h],!(m=g.NEWDELTA[f])){d.log("Found bad marching index:",f,u,p.level);break}_.push(v(p,u,m)),u[0]+=m[0],u[1]+=m[1],h=u.join(","),i(_[_.length-1],_[_.length-2],c,s)&&_.pop();var E=m[0]&&(u[0]<0||u[0]>C-2)||m[1]&&(u[1]<0||u[1]>y-2);if(u[0]===w[0]&&u[1]===w[1]&&m[0]===k[0]&&m[1]===k[1]||a&&E)break;f=p.crossings[h]}l===1e4&&d.log("Infinite loop in contour?");var T,A,L,b,O,I,R,z,F,B,N,q,j,Y,U,G=i(_[0],_[_.length-1],c,s),W=0,H=.2*p.smoothing,ne=[],te=0;for(l=1;l<_.length;l++)q=_[l],j=_[l-1],Y=q[2]-j[2],U=q[3]-j[3],W+=R=Math.sqrt(Y*Y+U*U),ne.push(R);var Z=W/ne.length*H;function X(ie){return _[ie%_.length]}for(l=_.length-2;l>=te;l--)if((T=ne[l])=te&&T+ne[A]z&&F--,p.edgepaths[F]=N.concat(_,B));break}re||(p.edgepaths[z]=_.concat(B))}for(z=0;zi?0:1)+(M[0][1]>i?0:2)+(M[1][1]>i?0:4)+(M[1][0]>i?0:8);return v===5||v===10?i>(M[0][0]+M[0][1]+M[1][0]+M[1][1])/4?v===5?713:1114:v===5?104:208:v===15?0:v}x.exports=function(i){var M,v,p,u,a,c,s,l,h,f=i[0].z,m=f.length,_=f[0].length,y=m===2||_===2;for(v=0;v=0&&(A=U,b=O):Math.abs(T[1]-A[1])<.01?Math.abs(T[1]-U[1])<.01&&(U[0]-T[0])*(A[0]-U[0])>=0&&(A=U,b=O):g.log("endpt to newendpt is not vert. or horz.",T,A,U)}if(T=A,b>=0)break;z+="L"+A}if(b===k.edgepaths.length){g.log("unclosed perimeter path");break}F=b,(N=B.indexOf(F)===-1)&&(F=B[0],z+="Z")}for(F=0;FA.center?A.right-O:O-A.left)/(z+Math.abs(Math.sin(R)*b)),N=(I>A.middle?A.bottom-I:I-A.top)/(Math.abs(F)+Math.cos(R)*b);if(B<1||N<1)return 1/0;var q=_.EDGECOST*(1/(B-1)+1/(N-1));q+=_.ANGLECOST*R*R;for(var j=O-z,Y=I-F,U=O+z,G=I+F,W=0;W2*_.MAXCOST)break;N&&(O/=2),I=(b=R-O/2)+1.5*O}if(B<=_.MAXCOST)return z},o.addLabelData=function(k,E,T,A){var L=E.fontSize,b=E.width+L/3,O=Math.max(0,E.height-L/3),I=k.x,R=k.y,z=k.theta,F=Math.sin(z),B=Math.cos(z),N=function(j,Y){return[I+j*B-Y*F,R+j*F+Y*B]},q=[N(-b/2,-O/2),N(-b/2,O/2),N(b/2,O/2),N(b/2,-O/2)];T.push({text:E.text,x:I,y:R,dy:E.dy,theta:z,level:E.level,width:b,height:O}),A.push(q)},o.drawLabels=function(k,E,T,A,L){var b=k.selectAll("text").data(E,function(R){return R.text+","+R.x+","+R.y+","+R.theta});if(b.exit().remove(),b.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each(function(R){var z=R.x+Math.sin(R.theta)*R.dy,F=R.y-Math.cos(R.theta)*R.dy;d.select(this).text(R.text).attr({x:z,y:F,transform:"rotate("+180*R.theta/Math.PI+" "+z+" "+F+")"}).call(v.convertToTspans,T)}),L){for(var O="",I=0;Ip.end&&(p.start=p.end=(p.start+p.end)/2),M._input.contours||(M._input.contours={}),g.extendFlat(M._input.contours,{start:p.start,end:p.end,size:p.size}),M._input.autocontour=!0}else if(p.type!=="constraint"){var s,l=p.start,h=p.end,f=M._input.contours;l>h&&(p.start=f.start=h,h=p.end=f.end=l,l=p.start),p.size>0||(s=l===h?1:i(l,h,M.ncontours).dtick,f.size=p.size=s)}}},84426:function(x,o,t){var d=t(39898),g=t(91424),i=t(70035),M=t(86068);x.exports=function(v){var p=d.select(v).selectAll("g.contour");p.style("opacity",function(u){return u[0].trace.opacity}),p.each(function(u){var a=d.select(this),c=u[0].trace,s=c.contours,l=c.line,h=s.size||1,f=s.start,m=s.type==="constraint",_=!m&&s.coloring==="lines",y=!m&&s.coloring==="fill",C=_||y?M(c):null;a.selectAll("g.contourlevel").each(function(E){d.select(this).selectAll("path").call(g.lineGroupStyle,l.width,_?C(E.level):l.color,l.dash)});var w=s.labelfont;if(a.selectAll("g.contourlabels text").each(function(E){g.font(d.select(this),{family:w.family,size:w.size,color:w.color||(_?C(E.level):l.color)})}),m)a.selectAll("g.contourfill path").style("fill",c.fillcolor);else if(y){var k;a.selectAll("g.contourfill path").style("fill",function(E){return k===void 0&&(k=E.level),C(E.level+.5*h)}),k===void 0&&(k=f),a.selectAll("g.contourbg path").style("fill",C(k-.5*h))}}),i(v)}},8724:function(x,o,t){var d=t(1586),g=t(14523);x.exports=function(i,M,v,p,u){var a,c=v("contours.coloring"),s="";c==="fill"&&(a=v("contours.showlines")),a!==!1&&(c!=="lines"&&(s=v("line.color","#000")),v("line.width",.5),v("line.dash")),c!=="none"&&(i.showlegend!==!0&&(M.showlegend=!1),M._dfltShowLegend=!1,d(i,M,p,v,{prefix:"",cLetter:"z"})),v("line.smoothing"),g(v,p,s,u)}},88085:function(x,o,t){var d=t(21606),g=t(70600),i=t(50693),M=t(1426).extendFlat,v=g.contours;x.exports=M({carpet:{valType:"string",editType:"calc"},z:d.z,a:d.x,a0:d.x0,da:d.dx,b:d.y,b0:d.y0,db:d.dy,text:d.text,hovertext:d.hovertext,transpose:d.transpose,atype:d.xtype,btype:d.ytype,fillcolor:g.fillcolor,autocontour:g.autocontour,ncontours:g.ncontours,contours:{type:v.type,start:v.start,end:v.end,size:v.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:v.showlines,showlabels:v.showlabels,labelfont:v.labelfont,labelformat:v.labelformat,operation:v.operation,value:v.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:g.line.color,width:g.line.width,dash:g.line.dash,smoothing:g.line.smoothing,editType:"plot"},transforms:void 0},i("",{cLetter:"z",autoColorDflt:!1}))},59885:function(x,o,t){var d=t(78803),g=t(71828),i=t(68296),M=t(4742),v=t(824),p=t(43907),u=t(70769),a=t(75005),c=t(22882),s=t(18670);x.exports=function(l,h){var f=h._carpetTrace=c(l,h);if(f&&f.visible&&f.visible!=="legendonly"){if(!h.a||!h.b){var m=l.data[f.index],_=l.data[h.index];_.a||(_.a=m.a),_.b||(_.b=m.b),a(_,h,h._defaultColor,l._fullLayout)}var y=function(C,w){var k,E,T,A,L,b,O,I=w._carpetTrace,R=I.aaxis,z=I.baxis;R._minDtick=0,z._minDtick=0,g.isArray1D(w.z)&&i(w,R,z,"a","b",["z"]),k=w._a=w._a||w.a,A=w._b=w._b||w.b,k=k?R.makeCalcdata(w,"_a"):[],A=A?z.makeCalcdata(w,"_b"):[],E=w.a0||0,T=w.da||1,L=w.b0||0,b=w.db||1,O=w._z=M(w._z||w.z,w.transpose),w._emptypoints=p(O),v(O,w._emptypoints);var F=g.maxRowLength(O),B=w.xtype==="scaled"?"":k,N=u(w,B,E,T,F,R),q=w.ytype==="scaled"?"":A,j={a:N,b:u(w,q,L,b,O.length,z),z:O};return w.contours.type==="levels"&&w.contours.coloring!=="none"&&d(C,w,{vals:O,containerStr:"",cLetter:"z"}),[j]}(l,h);return s(h,h._z),y}}},75005:function(x,o,t){var d=t(71828),g=t(67684),i=t(88085),M=t(83179),v=t(67217),p=t(8724);x.exports=function(u,a,c,s){function l(h,f){return d.coerce(u,a,i,h,f)}if(l("carpet"),u.a&&u.b){if(!g(u,a,l,s,"a","b"))return void(a.visible=!1);l("text"),l("contours.type")==="constraint"?M(u,a,l,s,c,{hasHover:!1}):(v(u,a,l,function(h){return d.coerce2(u,a,i,h)}),p(u,a,l,s,{hasHover:!1}))}else a._defaultColor=c,a._length=null}},93740:function(x,o,t){x.exports={attributes:t(88085),supplyDefaults:t(75005),colorbar:t(90654),calc:t(59885),plot:t(51048),style:t(84426),moduleType:"trace",name:"contourcarpet",basePlotModule:t(93612),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},51048:function(x,o,t){var d=t(39898),g=t(27669),i=t(67961),M=t(91424),v=t(71828),p=t(87678),u=t(81696),a=t(29854),c=t(36914),s=t(84857),l=t(87558),h=t(20083),f=t(22882),m=t(4536);function _(w,k,E){var T=w.getPointAtLength(k),A=w.getPointAtLength(E),L=A.x-T.x,b=A.y-T.y,O=Math.sqrt(L*L+b*b);return[L/O,b/O]}function y(w){var k=Math.sqrt(w[0]*w[0]+w[1]*w[1]);return[w[0]/k,w[1]/k]}function C(w,k){var E=Math.abs(w[0]*k[0]+w[1]*k[1]);return Math.sqrt(1-E*E)/E}x.exports=function(w,k,E,T){var A=k.xaxis,L=k.yaxis;v.makeTraceGroups(T,E,"contour").each(function(b){var O=d.select(this),I=b[0],R=I.trace,z=R._carpetTrace=f(w,R),F=w.calcdata[z.index][0];if(z.visible&&z.visible!=="legendonly"){var B=I.a,N=I.b,q=R.contours,j=l(q,k,I),Y=q.type==="constraint",U=q._operation,G=Y?U==="="?"lines":"fill":q.coloring,W=[[B[0],N[N.length-1]],[B[B.length-1],N[N.length-1]],[B[B.length-1],N[0]],[B[0],N[0]]];p(j);var H=1e-8*(B[B.length-1]-B[0]),ne=1e-8*(N[N.length-1]-N[0]);u(j,H,ne);var te,Z,X,Q,re=j;q.type==="constraint"&&(re=s(j,U)),function(ce,ye){var de,me,pe,xe,Pe,_e,Me,Se,Ce;for(de=0;de=0;Q--)te=F.clipsegments[Q],Z=g([],te.x,A.c2p),X=g([],te.y,L.c2p),Z.reverse(),X.reverse(),ie.push(i(Z,X,te.bicubic));var oe="M"+ie.join("L")+"Z";(function(ce,ye,de,me,pe,xe){var Pe,_e,Me,Se,Ce=v.ensureSingle(ce,"g","contourbg").selectAll("path").data(xe!=="fill"||pe?[]:[0]);Ce.enter().append("path"),Ce.exit().remove();var ae=[];for(Se=0;Se=0&&(st=ht,ft=bt):Math.abs($e[1]-st[1])=0&&(st=ht,ft=bt):v.log("endpt to newendpt is not vert. or horz.",$e,st,ht)}if(ft>=0)break;kt+=We($e,st),$e=st}if(ft===Be.edgepaths.length){v.log("unclosed perimeter path");break}Ye=ft,(Ft=xt.indexOf(Ye)===-1)&&(Ye=xt[0],kt+=We($e,st)+"Z",$e=null)}for(Ye=0;YeLt&&(Ke.max=Lt),Ke.len=Ke.max-Ke.min}function yt(Pt,wt){var Ot,Nt=0,$t=.1;return(Math.abs(Pt[0]-Oe)<$t||Math.abs(Pt[0]-Ne)<$t)&&(Ot=y(Je.dxydb_rough(Pt[0],Pt[1],$t)),Nt=Math.max(Nt,We*C(wt,Ot)/2)),(Math.abs(Pt[1]-Qe)<$t||Math.abs(Pt[1]-ut)<$t)&&(Ot=y(Je.dxyda_rough(Pt[0],Pt[1],$t)),Nt=Math.max(Nt,We*C(wt,Ot)/2)),Nt}}(Et,bt,ot,kt,Pe,ft.height),!(kt.len<(ft.width+ft.height)*c.LABELMIN)))for(var xt=Math.min(Math.ceil(kt.len/st),c.LABELMAX),Ft=0;Ft0?+m[l]:0),h.push({type:"Feature",geometry:{type:"Point",coordinates:w},properties:k})}}var T=M.extractOpts(a),A=T.reversescale?M.flipScale(T.colorscale):T.colorscale,L=A[0][1],b=["interpolate",["linear"],["heatmap-density"],0,i.opacity(L)<1?L:i.addOpacity(L,0)];for(l=1;l=0;u--)v.removeLayer(p[u][1])},M.dispose=function(){var v=this.subplot.map;this._removeLayers(),v.removeSource(this.sourceId)},x.exports=function(v,p){var u=p[0].trace,a=new i(v,u.uid),c=a.sourceId,s=d(p),l=a.below=v.belowLookup["trace-"+u.uid];return v.map.addSource(c,{type:"geojson",data:s.geojson}),a._addLayers(s,l),a}},49789:function(x,o,t){var d=t(71828);x.exports=function(g,i){for(var M=0;M"),c.color=function(k,E){var T=k.marker,A=E.mc||T.color,L=E.mlc||T.line.color,b=E.mlw||T.line.width;return d(A)?A:d(L)&&b?L:void 0}(l,f),[c]}}},51759:function(x,o,t){x.exports={attributes:t(1285),layoutAttributes:t(10440),supplyDefaults:t(26199).supplyDefaults,crossTraceDefaults:t(26199).crossTraceDefaults,supplyLayoutDefaults:t(93138),calc:t(9532),crossTraceCalc:t(8984),plot:t(80461),style:t(68266).style,hoverPoints:t(63341),eventData:t(34598),selectPoints:t(81974),moduleType:"trace",name:"funnel",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},10440:function(x){x.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"}}},93138:function(x,o,t){var d=t(71828),g=t(10440);x.exports=function(i,M,v){var p=!1;function u(s,l){return d.coerce(i,M,g,s,l)}for(var a=0;a path").each(function(_){if(!_.isBlank){var y=m.marker;d.select(this).call(i.fill,_.mc||y.color).call(i.stroke,_.mlc||y.line.color).call(g.dashLine,y.line.dash,_.mlw||y.line.width).style("opacity",m.selectedpoints&&!_.selected?M:1)}}),u(f,m,a),f.selectAll(".regions").each(function(){d.select(this).selectAll("path").style("stroke-width",0).call(i.fill,m.connector.fillcolor)}),f.selectAll(".lines").each(function(){var _=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),_.width,_.color,_.dash)})})}}},86807:function(x,o,t){var d=t(34e3),g=t(9012),i=t(27670).Y,M=t(5386).fF,v=t(5386).si,p=t(1426).extendFlat;x.exports={labels:d.labels,label0:d.label0,dlabel:d.dlabel,values:d.values,marker:{colors:d.marker.colors,line:{color:p({},d.marker.line.color,{dflt:null}),width:p({},d.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},text:d.text,hovertext:d.hovertext,scalegroup:p({},d.scalegroup,{}),textinfo:p({},d.textinfo,{flags:["label","text","value","percent"]}),texttemplate:v({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:p({},g.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:M({},{keys:["label","color","value","text","percent"]}),textposition:p({},d.textposition,{values:["inside","none"],dflt:"inside"}),textfont:d.textfont,insidetextfont:d.insidetextfont,title:{text:d.title.text,font:d.title.font,position:p({},d.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:i({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"}}},6452:function(x,o,t){var d=t(74875);o.name="funnelarea",o.plot=function(g,i,M,v){d.plotBasePlot(o.name,g,i,M,v)},o.clean=function(g,i,M,v){d.cleanBasePlot(o.name,g,i,M,v)}},89574:function(x,o,t){var d=t(32354);x.exports={calc:function(g,i){return d.calc(g,i)},crossTraceCalc:function(g){d.crossTraceCalc(g,{type:"funnelarea"})}}},86282:function(x,o,t){var d=t(71828),g=t(86807),i=t(27670).c,M=t(90769).handleText,v=t(37434).handleLabelsAndValues;x.exports=function(p,u,a,c){function s(k,E){return d.coerce(p,u,g,k,E)}var l=s("labels"),h=s("values"),f=v(l,h),m=f.len;if(u._hasLabels=f.hasLabels,u._hasValues=f.hasValues,!u._hasLabels&&u._hasValues&&(s("label0"),s("dlabel")),m){u._length=m,s("marker.line.width")&&s("marker.line.color",c.paper_bgcolor),s("marker.colors"),s("scalegroup");var _,y=s("text"),C=s("texttemplate");if(C||(_=s("textinfo",Array.isArray(y)?"text+percent":"percent")),s("hovertext"),s("hovertemplate"),C||_&&_!=="none"){var w=s("textposition");M(p,u,c,s,w,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}i(u,c,s),s("title.text")&&(s("title.position"),d.coerceFont(s,"title.font",c.font)),s("aspectratio"),s("baseratio")}else u.visible=!1}},10421:function(x,o,t){x.exports={moduleType:"trace",name:"funnelarea",basePlotModule:t(6452),categories:["pie-like","funnelarea","showLegend"],attributes:t(86807),layoutAttributes:t(80097),supplyDefaults:t(86282),supplyLayoutDefaults:t(57402),calc:t(89574).calc,crossTraceCalc:t(89574).crossTraceCalc,plot:t(79187),style:t(71858),styleOne:t(63463),meta:{}}},80097:function(x,o,t){var d=t(92774).hiddenlabels;x.exports={hiddenlabels:d,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57402:function(x,o,t){var d=t(71828),g=t(80097);x.exports=function(i,M){function v(p,u){return d.coerce(i,M,g,p,u)}v("hiddenlabels"),v("funnelareacolorway",M.colorway),v("extendfunnelareacolors")}},79187:function(x,o,t){var d=t(39898),g=t(91424),i=t(71828),M=i.strScale,v=i.strTranslate,p=t(63893),u=t(17295).toMoveInsideBar,a=t(72597),c=a.recordMinTextSize,s=a.clearMinTextSize,l=t(53581),h=t(14575),f=h.attachFxHandlers,m=h.determineInsideTextFont,_=h.layoutAreas,y=h.prerenderTitles,C=h.positionTitleOutside,w=h.formatSliceLabel;function k(E,T){return"l"+(T[0]-E[0])+","+(T[1]-E[1])}x.exports=function(E,T){var A=E._context.staticPlot,L=E._fullLayout;s("funnelarea",L),y(T,E),_(T,L._size),i.makeTraceGroups(L._funnelarealayer,T,"trace").each(function(b){var O=d.select(this),I=b[0],R=I.trace;(function(z){if(z.length){var F=z[0],B=F.trace,N=B.aspectratio,q=B.baseratio;q>.999&&(q=.999);var j,Y,U,G=Math.pow(q,2),W=F.vTotal,H=W,ne=W*G/(1-G)/W,te=[];for(te.push(Me()),Y=z.length-1;Y>-1;Y--)if(!(U=z[Y]).hidden){var Z=U.v/H;ne+=Z,te.push(Me())}var X=1/0,Q=-1/0;for(Y=0;Y-1;Y--)if(!(U=z[Y]).hidden){var Pe=te[xe+=1][0],_e=te[xe][1];U.TL=[-Pe,_e],U.TR=[Pe,_e],U.BL=me,U.BR=pe,U.pxmid=(ye=U.TR,de=U.BR,[.5*(ye[0]+de[0]),.5*(ye[1]+de[1])]),me=U.TL,pe=U.TR}}function Me(){var Se,Ce={x:Se=Math.sqrt(ne),y:-Se};return[Ce.x,Ce.y]}})(b),O.each(function(){var z=d.select(this).selectAll("g.slice").data(b);z.enter().append("g").classed("slice",!0),z.exit().remove(),z.each(function(B,N){if(B.hidden)d.select(this).selectAll("path,g").remove();else{B.pointNumber=B.i,B.curveNumber=R.index;var q=I.cx,j=I.cy,Y=d.select(this),U=Y.selectAll("path.surface").data([B]);U.enter().append("path").classed("surface",!0).style({"pointer-events":A?"none":"all"}),Y.call(f,E,b);var G="M"+(q+B.TR[0])+","+(j+B.TR[1])+k(B.TR,B.BR)+k(B.BR,B.BL)+k(B.BL,B.TL)+"Z";U.attr("d",G),w(E,B,I);var W=l.castOption(R.textposition,B.pts),H=Y.selectAll("g.slicetext").data(B.text&&W!=="none"?[0]:[]);H.enter().append("g").classed("slicetext",!0),H.exit().remove(),H.each(function(){var ne=i.ensureSingle(d.select(this),"text","",function(ue){ue.attr("data-notex",1)}),te=i.ensureUniformFontSize(E,m(R,B,L.font));ne.text(B.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(g.font,te).call(p.convertToTspans,E);var Z,X,Q,re=g.bBox(ne.node()),ie=Math.min(B.BL[1],B.BR[1])+j,oe=Math.max(B.TL[1],B.TR[1])+j;X=Math.max(B.TL[0],B.BL[0])+q,Q=Math.min(B.TR[0],B.BR[0])+q,(Z=u(X,Q,ie,oe,re,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"})).fontSize=te.size,c(R.type,Z,L),b[N].transform=Z,i.setTransormAndDisplay(ne,Z)})}});var F=d.select(this).selectAll("g.titletext").data(R.title.text?[0]:[]);F.enter().append("g").classed("titletext",!0),F.exit().remove(),F.each(function(){var B=i.ensureSingle(d.select(this),"text","",function(j){j.attr("data-notex",1)}),N=R.title.text;R._meta&&(N=i.templateString(N,R._meta)),B.text(N).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(g.font,R.title.font).call(p.convertToTspans,E);var q=C(I,L._size);B.attr("transform",v(q.x,q.y)+M(Math.min(1,q.scale))+v(q.tx,q.ty))})})})}},71858:function(x,o,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;x.exports=function(M){var v=M._fullLayout._funnelarealayer.selectAll(".trace");i(M,v,"funnelarea"),v.each(function(p){var u=p[0].trace,a=d.select(this);a.style({opacity:u.opacity}),a.selectAll("path.surface").each(function(c){d.select(this).call(g,c,u)})})}},21606:function(x,o,t){var d=t(82196),g=t(9012),i=t(41940),M=t(12663).axisHoverFormat,v=t(5386).fF,p=t(5386).si,u=t(50693),a=t(1426).extendFlat;x.exports=a({z:{valType:"data_array",editType:"calc"},x:a({},d.x,{impliedEdits:{xtype:"array"}}),x0:a({},d.x0,{impliedEdits:{xtype:"scaled"}}),dx:a({},d.dx,{impliedEdits:{xtype:"scaled"}}),y:a({},d.y,{impliedEdits:{ytype:"array"}}),y0:a({},d.y0,{impliedEdits:{ytype:"scaled"}}),dy:a({},d.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:a({},d.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:a({},d.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:a({},d.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:a({},d.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:a({},d.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:a({},d.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:M("x"),yhoverformat:M("y"),zhoverformat:M("z",1),hovertemplate:v(),texttemplate:p({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:i({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:a({},g.showlegend,{dflt:!1})},{transforms:void 0},u("",{cLetter:"z",autoColorDflt:!1}))},90757:function(x,o,t){var d=t(73972),g=t(71828),i=t(89298),M=t(42973),v=t(17562),p=t(78803),u=t(68296),a=t(4742),c=t(824),s=t(43907),l=t(70769),h=t(50606).BADNUM;function f(m){for(var _=[],y=m.length,C=0;CG){Y("x scale is not linear");break}}if(E.length&&q==="fast"){var W=(E[E.length-1]-E[0])/(E.length-1),H=Math.abs(W/100);for(O=0;OH){Y("y scale is not linear");break}}}}var ne=g.maxRowLength(b),te=_.xtype==="scaled"?"":y,Z=l(_,te,C,w,ne,R),X=_.ytype==="scaled"?"":E,Q=l(_,X,T,A,b.length,z);N||(_._extremes[R._id]=i.findExtremes(R,Z),_._extremes[z._id]=i.findExtremes(z,Q));var re={x:Z,y:Q,z:b,text:_._text||_.text,hovertext:_._hovertext||_.hovertext};if(_.xperiodalignment&&k&&(re.orig_x=k),_.yperiodalignment&&L&&(re.orig_y=L),te&&te.length===Z.length-1&&(re.xCenter=te),X&&X.length===Q.length-1&&(re.yCenter=X),B&&(re.xRanges=I.xRanges,re.yRanges=I.yRanges,re.pts=I.pts),F||p(m,_,{vals:b,cLetter:"z"}),F&&_.contours&&_.contours.coloring==="heatmap"){var ie={type:_.type==="contour"?"heatmap":"histogram2d",xcalendar:_.xcalendar,ycalendar:_.ycalendar};re.xfill=l(ie,te,C,w,ne,R),re.yfill=l(ie,X,T,A,b.length,z)}return[re]}},4742:function(x,o,t){var d=t(92770),g=t(71828),i=t(50606).BADNUM;x.exports=function(M,v,p,u){var a,c,s,l,h,f;function m(E){if(d(E))return+E}if(v&&v.transpose){for(a=0,h=0;h=0;u--)(a=((h[[(M=(p=f[u])[0])-1,v=p[1]]]||y)[2]+(h[[M+1,v]]||y)[2]+(h[[M,v-1]]||y)[2]+(h[[M,v+1]]||y)[2])/20)&&(c[p]=[M,v,a],f.splice(u,1),s=!0);if(!s)throw"findEmpties iterated with no new neighbors";for(p in c)h[p]=c[p],l.push(c[p])}return l.sort(function(w,k){return k[2]-w[2]})}},46248:function(x,o,t){var d=t(30211),g=t(71828),i=t(89298),M=t(21081).extractOpts;x.exports=function(v,p,u,a,c){c||(c={});var s,l,h,f,m=c.isContour,_=v.cd[0],y=_.trace,C=v.xa,w=v.ya,k=_.x,E=_.y,T=_.z,A=_.xCenter,L=_.yCenter,b=_.zmask,O=y.zhoverformat,I=k,R=E;if(v.index!==!1){try{h=Math.round(v.index[1]),f=Math.round(v.index[0])}catch{return void g.error("Error hovering on heatmap, pointNumber must be [row,col], found:",v.index)}if(h<0||h>=T[0].length||f<0||f>T.length)return}else{if(d.inbox(p-k[0],p-k[k.length-1],0)>0||d.inbox(u-E[0],u-E[E.length-1],0)>0)return;if(m){var z;for(I=[2*k[0]-k[1]],z=1;zk&&(T=Math.max(T,Math.abs(v[c][s]-w)/(E-k))))}return T}x.exports=function(v,p){var u,a=1;for(M(v,p),u=0;u.01;u++)a=M(v,p,i(a));return a>.01&&d.log("interp2d didn't converge quickly",a),v}},58623:function(x,o,t){var d=t(71828);x.exports=function(g,i){g("texttemplate");var M=d.extendFlat({},i.font,{color:"auto",size:"auto"});d.coerceFont(g,"textfont",M)}},70769:function(x,o,t){var d=t(73972),g=t(71828).isArrayOrTypedArray;x.exports=function(i,M,v,p,u,a){var c,s,l,h=[],f=d.traceIs(i,"contour"),m=d.traceIs(i,"histogram"),_=d.traceIs(i,"gl2d");if(g(M)&&M.length>1&&!m&&a.type!=="category"){var y=M.length;if(!(y<=u))return f?M.slice(0,u):M.slice(0,u+1);if(f||_)h=M.slice(0,u);else if(u===1)h=[M[0]-.5,M[0]+.5];else{for(h=[1.5*M[0]-.5*M[1]],l=1;l0;)z=b.c2p(Z[q]),q--;for(z0;)N=O.c2p(X[q]),q--;if(Nqt||qt>O._length))for(j=wt;jQt||Qt>b._length)){var rn=a({x:Xt,y:$t},W,E._fullLayout);rn.x=Xt,rn.y=$t;var xn=G.z[q][j];xn===void 0?(rn.z="",rn.zLabel=""):(rn.z=xn,rn.zLabel=v.tickText(It,xn,"hover").text);var un=G.text&&G.text[q]&&G.text[q][j];un!==void 0&&un!==!1||(un=""),rn.text=un;var An=p.texttemplateString(pt,rn,E._fullLayout._d3locale,rn,W._meta||{});if(An){var Yn=An.split("
"),kn=Yn.length,sn=0;for(Y=0;Y0&&(k=!0);for(var A=0;Ap){var u=p-M[g];return M[g]=p,u}}return 0},max:function(g,i,M,v){var p=v[i];if(d(p)){if(p=Number(p),!d(M[g]))return M[g]=p,p;if(M[g]u?f>M?f>1.1*g?g:f>1.1*i?i:M:f>v?v:f>p?p:u:Math.pow(10,Math.floor(Math.log(f)/Math.LN10))}function l(f,m,_,y,C,w){if(y&&f>M){var k=h(m,C,w),E=h(_,C,w),T=f===g?0:1;return k[T]!==E[T]}return Math.floor(_/f)-Math.floor(m/f)>.1}function h(f,m,_){var y=m.c2d(f,g,_).split("-");return y[0]===""&&(y.unshift(),y[0]="-"+y[0]),y}x.exports=function(f,m,_,y,C){var w,k,E=-1.1*m,T=-.1*m,A=f-T,L=_[0],b=_[1],O=Math.min(c(L+T,L+A,y,C),c(b+T,b+A,y,C)),I=Math.min(c(L+E,L+T,y,C),c(b+E,b+T,y,C));if(O>I&&IM){var R=w===g?1:6,z=w===g?"M12":"M1";return function(F,B){var N=y.c2d(F,g,C),q=N.indexOf("-",R);q>0&&(N=N.substr(0,q));var j=y.d2c(N,0,C);if(jf.r2l(re)&&(oe=M.tickIncrement(oe,I.size,!0,k)),te.start=f.l2r(oe),Q||g.nestedProperty(h,L+".start").set(te.start)}var ue=I.end,ce=f.r2l(ne.end),ye=ce!==void 0;if((I.endFound||ye)&&ce!==f.r2l(ue)){var de=ye?ce:g.aggNums(Math.max,null,E);te.end=f.l2r(de),ye||g.nestedProperty(h,L+".start").set(te.end)}var me="autobin"+m;return h._input[me]===!1&&(h._input[L]=g.extendFlat({},h[L]||{}),delete h._input[me],delete h[me]),[te,E]}x.exports={calc:function(l,h){var f,m,_,y,C=[],w=[],k=h.orientation==="h",E=M.getFromId(l,k?h.yaxis:h.xaxis),T=k?"y":"x",A={x:"y",y:"x"}[T],L=h[T+"calendar"],b=h.cumulative,O=s(l,h,E,T),I=O[0],R=O[1],z=typeof I.size=="string",F=[],B=z?F:I,N=[],q=[],j=[],Y=0,U=h.histnorm,G=h.histfunc,W=U.indexOf("density")!==-1;b.enabled&&W&&(U=U.replace(/ ?density$/,""),W=!1);var H,ne=G==="max"||G==="min"?null:0,te=p.count,Z=u[U],X=!1,Q=function(Ce){return E.r2c(Ce,0,L)};for(g.isArrayOrTypedArray(h[A])&&G!=="count"&&(H=h[A],X=G==="avg",te=p[G]),f=Q(I.start),_=Q(I.end)+(f-M.tickIncrement(f,I.size,!1,L))/1e6;f<_&&C.length<1e6&&(m=M.tickIncrement(f,I.size,!1,L),C.push((f+m)/2),w.push(ne),j.push([]),F.push(f),W&&N.push(1/(m-f)),X&&q.push(0),!(m<=f));)f=m;F.push(f),z||E.type!=="date"||(B={start:Q(B.start),end:Q(B.end),size:B.size}),l._fullLayout._roundFnOpts||(l._fullLayout._roundFnOpts={});var re=h["_"+T+"bingroup"],ie={leftGap:1/0,rightGap:1/0};re&&(l._fullLayout._roundFnOpts[re]||(l._fullLayout._roundFnOpts[re]=ie),ie=l._fullLayout._roundFnOpts[re]);var oe,ue=w.length,ce=!0,ye=ie.leftGap,de=ie.rightGap,me={};for(f=0;f=0&&y=0;be--)ze(be);else if(ae==="increasing"){for(be=1;be=0;be--)Ce[be]+=Ce[be+1];he==="exclude"&&(Ce.push(0),Ce.shift())}}(w,b.direction,b.currentbin);var xe=Math.min(C.length,w.length),Pe=[],_e=0,Me=xe-1;for(f=0;f=_e;f--)if(w[f]){Me=f;break}for(f=_e;f<=Me;f++)if(d(C[f])&&d(w[f])){var Se={p:C[f],s:w[f],b:0};b.enabled||(Se.pts=j[f],ce?Se.ph0=Se.ph1=j[f].length?R[j[f][0]]:C[f]:(h._computePh=!0,Se.ph0=oe(F[f]),Se.ph1=oe(F[f+1],!0))),Pe.push(Se)}return Pe.length===1&&(Pe[0].width1=M.tickIncrement(Pe[0].p,I.size,!1,L)-Pe[0].p),v(Pe,h),g.isArrayOrTypedArray(h.selectedpoints)&&g.tagSelected(Pe,h,me),Pe},calcAllAutoBins:s}},72406:function(x){x.exports={eventDataKeys:["binNumber"]}},82222:function(x,o,t){var d=t(71828),g=t(41675),i=t(73972).traceIs,M=t(26125),v=d.nestedProperty,p=t(99082).getAxisGroup,u=[{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"}],a=["x","y"];x.exports=function(c,s){var l,h,f,m,_,y,C,w=s._histogramBinOpts={},k=[],E={},T=[];function A(W,H){return d.coerce(l._input,l,l._module.attributes,W,H)}function L(W){return W.orientation==="v"?"x":"y"}function b(W,H,ne){var te=W.uid+"__"+ne;H||(H=te);var Z=function(ie,oe){return g.getFromTrace({_fullLayout:s},ie,oe).type}(W,ne),X=W[ne+"calendar"]||"",Q=w[H],re=!0;Q&&(Z===Q.axType&&X===Q.calendar?(re=!1,Q.traces.push(W),Q.dirs.push(ne)):(H=te,Z!==Q.axType&&d.warn(["Attempted to group the bins of trace",W.index,"set on a","type:"+Z,"axis","with bins on","type:"+Q.axType,"axis."].join(" ")),X!==Q.calendar&&d.warn(["Attempted to group the bins of trace",W.index,"set with a",X,"calendar","with bins",Q.calendar?"on a "+Q.calendar+" calendar":"w/o a set calendar"].join(" ")))),re&&(w[H]={traces:[W],dirs:[ne],axType:Z,calendar:W[ne+"calendar"]||""}),W["_"+ne+"bingroup"]=H}for(_=0;_F&&O.splice(F,O.length-F),z.length>F&&z.splice(F,z.length-F);var B=[],N=[],q=[],j=typeof b.size=="string",Y=typeof R.size=="string",U=[],G=[],W=j?U:b,H=Y?G:R,ne=0,te=[],Z=[],X=h.histnorm,Q=h.histfunc,re=X.indexOf("density")!==-1,ie=Q==="max"||Q==="min"?null:0,oe=i.count,ue=M[X],ce=!1,ye=[],de=[],me="z"in h?h.z:"marker"in h&&Array.isArray(h.marker.color)?h.marker.color:"";me&&Q!=="count"&&(ce=Q==="avg",oe=i[Q]);var pe=b.size,xe=T(b.start),Pe=T(b.end)+(xe-g.tickIncrement(xe,pe,!1,k))/1e6;for(f=xe;f=0&&_=0&&y-1,flipY:N.tiling.flip.indexOf("y")>-1,orientation:N.tiling.orientation,pad:{inner:N.tiling.pad},maxDepth:N._maxDepth}).descendants(),G=1/0,W=-1/0;U.forEach(function(X){var Q=X.depth;Q>=N._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(G=Math.min(G,Q),W=Math.max(W,Q))}),_=_.data(U,a.getPtId),N._maxVisibleLayers=isFinite(W)?W-G+1:0,_.enter().append("g").classed("slice",!0),O(_,l,{},[C,w],T),_.order();var H=null;if(b&&z){var ne=a.getPtId(z);_.each(function(X){H===null&&a.getPtId(X)===ne&&(H={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var te=function(){return H||{x0:0,x1:C,y0:0,y1:w}},Z=_;return b&&(Z=Z.transition().each("end",function(){var X=d.select(this);a.setSliceCursor(X,h,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),Z.each(function(X){X._x0=k(X.x0),X._x1=k(X.x1),X._y0=E(X.y0),X._y1=E(X.y1),X._hoverX=k(X.x1-N.tiling.pad),X._hoverY=E(Y?X.y1-N.tiling.pad/2:X.y0+N.tiling.pad/2);var Q=d.select(this),re=g.ensureSingle(Q,"path","surface",function(ce){ce.style("pointer-events",F?"none":"all")});b?re.transition().attrTween("d",function(ce){var ye=I(ce,l,te(),[C,w],{orientation:N.tiling.orientation,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1});return function(de){return T(ye(de))}}):re.attr("d",T),Q.call(c,m,h,f,{styleOne:p,eventDataKeys:u.eventDataKeys,transitionTime:u.CLICK_TRANSITION_TIME,transitionEasing:u.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,h,{isTransitioning:h._transitioning}),re.call(p,X,N,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text="":X._text=s(X,m,N,f,B)||"";var ie=g.ensureSingle(Q,"g","slicetext"),oe=g.ensureSingle(ie,"text","",function(ce){ce.attr("data-notex",1)}),ue=g.ensureUniformFontSize(h,a.determineTextFont(N,X,B.font));oe.text(X._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":q?"start":"middle").call(i.font,ue).call(M.convertToTspans,h),X.textBB=i.bBox(oe.node()),X.transform=A(X,{fontSize:ue.size}),X.transform.fontSize=ue.size,b?oe.transition().attrTween("transform",function(ce){var ye=R(ce,l,te(),[C,w]);return function(de){return L(ye(de))}}):oe.attr("transform",L(X))}),H}},69816:function(x,o,t){x.exports={moduleType:"trace",name:"icicle",basePlotModule:t(96346),categories:[],animatable:!0,attributes:t(46291),layoutAttributes:t(92894),supplyDefaults:t(56524),supplyLayoutDefaults:t(21070),calc:t(46584).y,crossTraceCalc:t(46584).T,plot:t(85596),style:t(82454).style,colorbar:t(4898),meta:{}}},92894:function(x){x.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},21070:function(x,o,t){var d=t(71828),g=t(92894);x.exports=function(i,M){function v(p,u){return d.coerce(i,M,g,p,u)}v("iciclecolorway",M.colorway),v("extendiciclecolors")}},21538:function(x,o,t){var d=t(674),g=t(14102);x.exports=function(i,M,v){var p=v.flipX,u=v.flipY,a=v.orientation==="h",c=v.maxDepth,s=M[0],l=M[1];c&&(s=(i.height+1)*M[0]/Math.min(i.height+1,c),l=(i.height+1)*M[1]/Math.min(i.height+1,c));var h=d.partition().padding(v.pad.inner).size(a?[M[1],s]:[M[0],l])(i);return(a||p||u)&&g(h,M,{swapXY:a,flipX:p,flipY:u}),h}},85596:function(x,o,t){var d=t(80694),g=t(90666);x.exports=function(i,M,v,p){return d(i,M,v,p,{type:"icicle",drawDescendants:g})}},82454:function(x,o,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(p,u,a){var c=u.data.data,s=!u.children,l=c.i,h=i.castOption(a,l,"marker.line.color")||g.defaultLine,f=i.castOption(a,l,"marker.line.width")||0;p.style("stroke-width",f).call(g.fill,c.color).call(g.stroke,h).style("opacity",s?a.leaf.opacity:null)}x.exports={style:function(p){var u=p._fullLayout._iciclelayer.selectAll(".trace");M(p,u,"icicle"),u.each(function(a){var c=d.select(this),s=a[0].trace;c.style("opacity",s.opacity),c.selectAll("path.surface").each(function(l){d.select(this).call(v,l,s)})})},styleOne:v}},17230:function(x,o,t){for(var d=t(9012),g=t(5386).fF,i=t(1426).extendFlat,M=t(51877).colormodel,v=["rgb","rgba","rgba256","hsl","hsla"],p=[],u=[],a=0;a0||d.inbox(p-u.y0,p-(u.y0+u.h*a.dy),0)>0)){var l,h=Math.floor((v-u.x0)/a.dx),f=Math.floor(Math.abs(p-u.y0)/a.dy);if(a._hasZ?l=u.z[f][h]:a._hasSource&&(l=a._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(h,f,1,1).data),l){var m,_=u.hi||a.hoverinfo;if(_){var y=_.split("+");y.indexOf("all")!==-1&&(y=["color"]),y.indexOf("color")!==-1&&(m=!0)}var C,w=i.colormodel[a.colormodel],k=w.colormodel||a.colormodel,E=k.length,T=a._scaler(l),A=w.suffix,L=[];(a.hovertemplate||m)&&(L.push("["+[T[0]+A[0],T[1]+A[1],T[2]+A[2]].join(", ")),E===4&&L.push(", "+T[3]+A[3]),L.push("]"),L=L.join(""),M.extraText=k.toUpperCase()+": "+L),Array.isArray(a.hovertext)&&Array.isArray(a.hovertext[f])?C=a.hovertext[f][h]:Array.isArray(a.text)&&Array.isArray(a.text[f])&&(C=a.text[f][h]);var b=s.c2p(u.y0+(f+.5)*a.dy),O=u.x0+(h+.5)*a.dx,I=u.y0+(f+.5)*a.dy,R="["+l.slice(0,a.colormodel.length).join(", ")+"]";return[g.extendFlat(M,{index:[f,h],x0:c.c2p(u.x0+h*a.dx),x1:c.c2p(u.x0+(h+1)*a.dx),y0:b,y1:b,color:T,xVal:O,xLabelVal:O,yVal:I,yLabelVal:I,zLabelVal:R,text:C,hovertemplateLabels:{zLabel:R,colorLabel:L,"color[0]Label":T[0]+A[0],"color[1]Label":T[1]+A[1],"color[2]Label":T[2]+A[2],"color[3]Label":T[3]+A[3]}})]}}}},94507:function(x,o,t){x.exports={attributes:t(17230),supplyDefaults:t(13245),calc:t(71113),plot:t(60775),style:t(12826),hoverPoints:t(28749),eventData:t(30835),moduleType:"trace",name:"image",basePlotModule:t(93612),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},60775:function(x,o,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(51877),p=g.isIOS()||g.isSafari()||g.isIE();x.exports=function(u,a,c,s){var l=a.xaxis,h=a.yaxis,f=!(p||u._context._exportedPlot);g.makeTraceGroups(s,c,"im").each(function(m){var _=d.select(this),y=m[0],C=y.trace,w=(C.zsmooth==="fast"||C.zsmooth===!1&&f)&&!C._hasZ&&C._hasSource&&l.type==="linear"&&h.type==="linear";C._realImage=w;var k,E,T,A,L,b,O=y.z,I=y.x0,R=y.y0,z=y.w,F=y.h,B=C.dx,N=C.dy;for(b=0;k===void 0&&b0;)E=l.c2p(I+b*B),b--;for(b=0;A===void 0&&b0;)L=h.c2p(R+b*N),b--;EW[0];if(H||ne){var te=k+q/2,Z=A+j/2;U+="transform:"+i(te+"px",Z+"px")+"scale("+(H?-1:1)+","+(ne?-1:1)+")"+i(-te+"px",-Z+"px")+";"}}Y.attr("style",U);var X=new Promise(function(re){if(C._hasZ)re();else if(C._hasSource)if(C._canvas&&C._canvas.el.width===z&&C._canvas.el.height===F&&C._canvas.source===C.source)re();else{var ie=document.createElement("canvas");ie.width=z,ie.height=F;var oe=ie.getContext("2d",{willReadFrequently:!0});C._image=C._image||new Image;var ue=C._image;ue.onload=function(){oe.drawImage(ue,0,0),C._canvas={el:ie,source:C.source},re()},ue.setAttribute("src",C.source)}}).then(function(){var re,ie;if(C._hasZ)ie=Q(function(ue,ce){return O[ce][ue]}),re=ie.toDataURL("image/png");else if(C._hasSource)if(w)re=C.source;else{var oe=C._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,z,F).data;ie=Q(function(ue,ce){var ye=4*(ce*z+ue);return[oe[ye],oe[ye+1],oe[ye+2],oe[ye+3]]}),re=ie.toDataURL("image/png")}Y.attr({"xlink:href":re,height:j,width:q,x:k,y:A})});u._promises.push(X)}function Q(re){var ie=document.createElement("canvas");ie.width=q,ie.height=j;var oe,ue=ie.getContext("2d",{willReadFrequently:!0}),ce=function(Ce){return g.constrain(Math.round(l.c2p(I+Ce*B)-k),0,q)},ye=function(Ce){return g.constrain(Math.round(h.c2p(R+Ce*N)-A),0,j)},de=v.colormodel[C.colormodel],me=de.colormodel||C.colormodel,pe=de.fmt;for(b=0;b0}function T(I){I.each(function(R){y.stroke(d.select(this),R.line.color)}).each(function(R){y.fill(d.select(this),R.color)}).style("stroke-width",function(R){return R.line.width})}function A(I,R,z){var F=I._fullLayout,B=M.extendFlat({type:"linear",ticks:"outside",range:z,showline:!0},R),N={type:"linear",_id:"x"+R._id},q={letter:"x",font:F.font,noHover:!0,noTickson:!0};function j(Y,U){return M.coerce(B,N,_,Y,U)}return f(B,N,j,q,F),m(B,N,j,q),N}function L(I,R,z){return[Math.min(R/I.width,z/I.height),I,R+"x"+z]}function b(I,R,z,F){var B=document.createElementNS("http://www.w3.org/2000/svg","text"),N=d.select(B);return N.text(I).attr("x",0).attr("y",0).attr("text-anchor",z).attr("data-unformatted",I).call(l.convertToTspans,F).call(c.font,R),c.bBox(N.node())}function O(I,R,z,F,B,N){var q="_cache"+R;I[q]&&I[q].key===B||(I[q]={key:B,value:z});var j=M.aggNums(N,null,[I[q].value,F],2);return I[q].value=j,j}x.exports=function(I,R,z,F){var B,N=I._fullLayout;E(z)&&F&&(B=F()),M.makeTraceGroups(N._indicatorlayer,R,"trace").each(function(q){var j,Y,U,G,W,H=q[0].trace,ne=d.select(this),te=H._hasGauge,Z=H._isAngular,X=H._isBullet,Q=H.domain,re={w:N._size.w*(Q.x[1]-Q.x[0]),h:N._size.h*(Q.y[1]-Q.y[0]),l:N._size.l+N._size.w*Q.x[0],r:N._size.r+N._size.w*(1-Q.x[1]),t:N._size.t+N._size.h*(1-Q.y[1]),b:N._size.b+N._size.h*Q.y[0]},ie=re.l+re.w/2,oe=re.t+re.h/2,ue=Math.min(re.w/2,re.h),ce=s.innerRadius*ue,ye=H.align||"center";if(Y=oe,te){if(Z&&(j=ie,Y=oe+ue/2,U=function(Se){return function(Ce,ae){return[ae/Math.sqrt(Ce.width/2*(Ce.width/2)+Ce.height*Ce.height),Ce,ae]}(Se,.9*ce)}),X){var de=s.bulletPadding,me=1-s.bulletNumberDomainSize+de;j=re.l+(me+(1-me)*w[ye])*re.w,U=function(Se){return L(Se,(s.bulletNumberDomainSize-de)*re.w,re.h)}}}else j=re.l+w[ye]*re.w,U=function(Se){return L(Se,re.w,re.h)};(function(Se,Ce,ae,he){var be,ke,Le,Be=ae[0].trace,ze=he.numbersX,je=he.numbersY,ge=Be.align||"center",we=C[ge],Ee=he.transitionOpts,Ve=he.onComplete,Ye=M.ensureSingle(Ce,"g","numbers"),$e=[];Be._hasNumber&&$e.push("number"),Be._hasDelta&&($e.push("delta"),Be.delta.position==="left"&&$e.reverse());var st=Ye.selectAll("text").data($e);function ot(Bt,Wt,Vt,Ke){if(!Bt.match("s")||Vt>=0==Ke>=0||Wt(Vt).slice(-1).match(k)||Wt(Ke).slice(-1).match(k))return Wt;var Je=Bt.slice().replace("s","f").replace(/\d+/,function(nt){return parseInt(nt)-1}),We=A(Se,{tickformat:Je});return function(nt){return Math.abs(nt)<1?h.tickText(We,nt).text:Wt(nt)}}st.enter().append("text"),st.attr("text-anchor",function(){return we}).attr("class",function(Bt){return Bt}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),st.exit().remove();var ft,bt=Be.mode+Be.align;if(Be._hasDelta&&(ft=function(){var Bt=A(Se,{tickformat:Be.delta.valueformat},Be._range);Bt.setScale(),h.prepTicks(Bt);var Wt=function(Ne){return h.tickText(Bt,Ne).text},Vt=Be.delta.suffix,Ke=Be.delta.prefix,Je=function(Ne){return Be.delta.relative?Ne.relativeDelta:Ne.delta},We=function(Ne,Qe){return Ne===0||typeof Ne!="number"||isNaN(Ne)?"-":(Ne>0?Be.delta.increasing.symbol:Be.delta.decreasing.symbol)+Ke+Qe(Ne)+Vt},nt=function(Ne){return Ne.delta>=0?Be.delta.increasing.color:Be.delta.decreasing.color};Be._deltaLastValue===void 0&&(Be._deltaLastValue=Je(ae[0]));var ht=Ye.select("text.delta");function Oe(){ht.text(We(Je(ae[0]),Wt)).call(y.fill,nt(ae[0])).call(l.convertToTspans,Se)}return ht.call(c.font,Be.delta.font).call(y.fill,nt({delta:Be._deltaLastValue})),E(Ee)?ht.transition().duration(Ee.duration).ease(Ee.easing).tween("text",function(){var Ne=d.select(this),Qe=Je(ae[0]),ut=Be._deltaLastValue,pt=ot(Be.delta.valueformat,Wt,ut,Qe),_t=i(ut,Qe);return Be._deltaLastValue=Qe,function(It){Ne.text(We(_t(It),pt)),Ne.call(y.fill,nt({delta:_t(It)}))}}).each("end",function(){Oe(),Ve&&Ve()}).each("interrupt",function(){Oe(),Ve&&Ve()}):Oe(),ke=b(We(Je(ae[0]),Wt),Be.delta.font,we,Se),ht}(),bt+=Be.delta.position+Be.delta.font.size+Be.delta.font.family+Be.delta.valueformat,bt+=Be.delta.increasing.symbol+Be.delta.decreasing.symbol,Le=ke),Be._hasNumber&&(function(){var Bt=A(Se,{tickformat:Be.number.valueformat},Be._range);Bt.setScale(),h.prepTicks(Bt);var Wt=function(nt){return h.tickText(Bt,nt).text},Vt=Be.number.suffix,Ke=Be.number.prefix,Je=Ye.select("text.number");function We(){var nt=typeof ae[0].y=="number"?Ke+Wt(ae[0].y)+Vt:"-";Je.text(nt).call(c.font,Be.number.font).call(l.convertToTspans,Se)}E(Ee)?Je.transition().duration(Ee.duration).ease(Ee.easing).each("end",function(){We(),Ve&&Ve()}).each("interrupt",function(){We(),Ve&&Ve()}).attrTween("text",function(){var nt=d.select(this),ht=i(ae[0].lastY,ae[0].y);Be._lastValue=ae[0].y;var Oe=ot(Be.number.valueformat,Wt,ae[0].lastY,ae[0].y);return function(Ne){nt.text(Ke+Oe(ht(Ne))+Vt)}}):We(),be=b(Ke+Wt(ae[0].y)+Vt,Be.number.font,we,Se)}(),bt+=Be.number.font.size+Be.number.font.family+Be.number.valueformat+Be.number.suffix+Be.number.prefix,Le=be),Be._hasDelta&&Be._hasNumber){var Et,kt,xt=[(be.left+be.right)/2,(be.top+be.bottom)/2],Ft=[(ke.left+ke.right)/2,(ke.top+ke.bottom)/2],Dt=.75*Be.delta.font.size;Be.delta.position==="left"&&(Et=O(Be,"deltaPos",0,-1*(be.width*w[Be.align]+ke.width*(1-w[Be.align])+Dt),bt,Math.min),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Dt,height:Math.max(be.height,ke.height),left:ke.left+Et,right:be.right,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="right"&&(Et=O(Be,"deltaPos",0,be.width*(1-w[Be.align])+ke.width*w[Be.align]+Dt,bt,Math.max),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Dt,height:Math.max(be.height,ke.height),left:be.left,right:ke.right+Et,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="bottom"&&(Et=null,kt=ke.height,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height,bottom:be.bottom+ke.height}),Be.delta.position==="top"&&(Et=null,kt=be.top,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height-ke.height,bottom:be.bottom}),ft.attr({dx:Et,dy:kt})}(Be._hasNumber||Be._hasDelta)&&Ye.attr("transform",function(){var Bt=he.numbersScaler(Le);bt+=Bt[2];var Wt,Vt=O(Be,"numbersScale",1,Bt[0],bt,Math.min);Be._scaleNumbers||(Vt=1),Wt=Be._isAngular?je-Vt*Le.bottom:je-Vt*(Le.top+Le.bottom)/2,Be._numbersTop=Vt*Le.top+Wt;var Ke=Le[ge];ge==="center"&&(Ke=(Le.left+Le.right)/2);var Je=ze-Vt*Ke;return Je=O(Be,"numbersTranslate",0,Je,bt,Math.max),p(Je,Wt)+v(Vt)})})(I,ne,q,{numbersX:j,numbersY:Y,numbersScaler:U,transitionOpts:z,onComplete:B}),te&&(G={range:H.gauge.axis.range,color:H.gauge.bgcolor,line:{color:H.gauge.bordercolor,width:0},thickness:1},W={range:H.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:H.gauge.bordercolor,width:H.gauge.borderwidth},thickness:1});var pe=ne.selectAll("g.angular").data(Z?q:[]);pe.exit().remove();var xe=ne.selectAll("g.angularaxis").data(Z?q:[]);xe.exit().remove(),Z&&function(Se,Ce,ae,he){var be,ke,Le,Be,ze=ae[0].trace,je=he.size,ge=he.radius,we=he.innerRadius,Ee=he.gaugeBg,Ve=he.gaugeOutline,Ye=[je.l+je.w/2,je.t+je.h/2+ge/2],$e=he.gauge,st=he.layer,ot=he.transitionOpts,ft=he.onComplete,bt=Math.PI/2;function Et(It){var Lt=ze.gauge.axis.range[0],yt=(It-Lt)/(ze.gauge.axis.range[1]-Lt)*Math.PI-bt;return yt<-bt?-bt:yt>bt?bt:yt}function kt(It){return d.svg.arc().innerRadius((we+ge)/2-It/2*(ge-we)).outerRadius((we+ge)/2+It/2*(ge-we)).startAngle(-bt)}function xt(It){It.attr("d",function(Lt){return kt(Lt.thickness).startAngle(Et(Lt.range[0])).endAngle(Et(Lt.range[1]))()})}$e.enter().append("g").classed("angular",!0),$e.attr("transform",p(Ye[0],Ye[1])),st.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),st.selectAll("g.xangularaxistick,path,text").remove(),(be=A(Se,ze.gauge.axis)).type="linear",be.range=ze.gauge.axis.range,be._id="xangularaxis",be.ticklabeloverflow="allow",be.setScale();var Ft=function(It){return(be.range[0]-It.x)/(be.range[1]-be.range[0])*Math.PI+Math.PI},Dt={},Bt=h.makeLabelFns(be,0).labelStandoff;Dt.xFn=function(It){var Lt=Ft(It);return Math.cos(Lt)*Bt},Dt.yFn=function(It){var Lt=Ft(It),yt=Math.sin(Lt)>0?.2:1;return-Math.sin(Lt)*(Bt+It.fontSize*yt)+Math.abs(Math.cos(Lt))*(It.fontSize*a)},Dt.anchorFn=function(It){var Lt=Ft(It),yt=Math.cos(Lt);return Math.abs(yt)<.1?"middle":yt>0?"start":"end"},Dt.heightFn=function(It,Lt,yt){var Pt=Ft(It);return-.5*(1+Math.sin(Pt))*yt};var Wt=function(It){return p(Ye[0]+ge*Math.cos(It),Ye[1]-ge*Math.sin(It))};if(Le=function(It){return Wt(Ft(It))},ke=h.calcTicks(be),Be=h.getTickSigns(be)[2],be.visible){Be=be.ticks==="inside"?-1:1;var Vt=(be.linewidth||1)/2;h.drawTicks(Se,be,{vals:ke,layer:st,path:"M"+Be*Vt+",0h"+Be*be.ticklen,transFn:function(It){var Lt=Ft(It);return Wt(Lt)+"rotate("+-u(Lt)+")"}}),h.drawLabels(Se,be,{vals:ke,layer:st,transFn:Le,labelFns:Dt})}var Ke=[Ee].concat(ze.gauge.steps),Je=$e.selectAll("g.bg-arc").data(Ke);Je.enter().append("g").classed("bg-arc",!0).append("path"),Je.select("path").call(xt).call(T),Je.exit().remove();var We=kt(ze.gauge.bar.thickness),nt=$e.selectAll("g.value-arc").data([ze.gauge.bar]);nt.enter().append("g").classed("value-arc",!0).append("path");var ht,Oe,Ne,Qe=nt.select("path");E(ot)?(Qe.transition().duration(ot.duration).ease(ot.easing).each("end",function(){ft&&ft()}).each("interrupt",function(){ft&&ft()}).attrTween("d",(ht=We,Oe=Et(ae[0].lastY),Ne=Et(ae[0].y),function(){var It=g(Oe,Ne);return function(Lt){return ht.endAngle(It(Lt))()}})),ze._lastValue=ae[0].y):Qe.attr("d",typeof ae[0].y=="number"?We.endAngle(Et(ae[0].y)):"M0,0Z"),Qe.call(T),nt.exit().remove(),Ke=[];var ut=ze.gauge.threshold.value;(ut||ut===0)&&Ke.push({range:[ut,ut],color:ze.gauge.threshold.color,line:{color:ze.gauge.threshold.line.color,width:ze.gauge.threshold.line.width},thickness:ze.gauge.threshold.thickness});var pt=$e.selectAll("g.threshold-arc").data(Ke);pt.enter().append("g").classed("threshold-arc",!0).append("path"),pt.select("path").call(xt).call(T),pt.exit().remove();var _t=$e.selectAll("g.gauge-outline").data([Ve]);_t.enter().append("g").classed("gauge-outline",!0).append("path"),_t.select("path").call(xt).call(T),_t.exit().remove()}(I,0,q,{radius:ue,innerRadius:ce,gauge:pe,layer:xe,size:re,gaugeBg:G,gaugeOutline:W,transitionOpts:z,onComplete:B});var Pe=ne.selectAll("g.bullet").data(X?q:[]);Pe.exit().remove();var _e=ne.selectAll("g.bulletaxis").data(X?q:[]);_e.exit().remove(),X&&function(Se,Ce,ae,he){var be,ke,Le,Be,ze,je=ae[0].trace,ge=he.gauge,we=he.layer,Ee=he.gaugeBg,Ve=he.gaugeOutline,Ye=he.size,$e=je.domain,st=he.transitionOpts,ot=he.onComplete;ge.enter().append("g").classed("bullet",!0),ge.attr("transform",p(Ye.l,Ye.t)),we.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),we.selectAll("g.xbulletaxistick,path,text").remove();var ft=Ye.h,bt=je.gauge.bar.thickness*ft,Et=$e.x[0],kt=$e.x[0]+($e.x[1]-$e.x[0])*(je._hasNumber||je._hasDelta?1-s.bulletNumberDomainSize:1);function xt(Je){Je.attr("width",function(We){return Math.max(0,be.c2p(We.range[1])-be.c2p(We.range[0]))}).attr("x",function(We){return be.c2p(We.range[0])}).attr("y",function(We){return .5*(1-We.thickness)*ft}).attr("height",function(We){return We.thickness*ft})}(be=A(Se,je.gauge.axis))._id="xbulletaxis",be.domain=[Et,kt],be.setScale(),ke=h.calcTicks(be),Le=h.makeTransTickFn(be),Be=h.getTickSigns(be)[2],ze=Ye.t+Ye.h,be.visible&&(h.drawTicks(Se,be,{vals:be.ticks==="inside"?h.clipEnds(be,ke):ke,layer:we,path:h.makeTickPath(be,ze,Be),transFn:Le}),h.drawLabels(Se,be,{vals:ke,layer:we,transFn:Le,labelFns:h.makeLabelFns(be,ze)}));var Ft=[Ee].concat(je.gauge.steps),Dt=ge.selectAll("g.bg-bullet").data(Ft);Dt.enter().append("g").classed("bg-bullet",!0).append("rect"),Dt.select("rect").call(xt).call(T),Dt.exit().remove();var Bt=ge.selectAll("g.value-bullet").data([je.gauge.bar]);Bt.enter().append("g").classed("value-bullet",!0).append("rect"),Bt.select("rect").attr("height",bt).attr("y",(ft-bt)/2).call(T),E(st)?Bt.select("rect").transition().duration(st.duration).ease(st.easing).each("end",function(){ot&&ot()}).each("interrupt",function(){ot&&ot()}).attr("width",Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y)))):Bt.select("rect").attr("width",typeof ae[0].y=="number"?Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y))):0),Bt.exit().remove();var Wt=ae.filter(function(){return je.gauge.threshold.value||je.gauge.threshold.value===0}),Vt=ge.selectAll("g.threshold-bullet").data(Wt);Vt.enter().append("g").classed("threshold-bullet",!0).append("line"),Vt.select("line").attr("x1",be.c2p(je.gauge.threshold.value)).attr("x2",be.c2p(je.gauge.threshold.value)).attr("y1",(1-je.gauge.threshold.thickness)/2*ft).attr("y2",(1-(1-je.gauge.threshold.thickness)/2)*ft).call(y.stroke,je.gauge.threshold.line.color).style("stroke-width",je.gauge.threshold.line.width),Vt.exit().remove();var Ke=ge.selectAll("g.gauge-outline").data([Ve]);Ke.enter().append("g").classed("gauge-outline",!0).append("rect"),Ke.select("rect").call(xt).call(T),Ke.exit().remove()}(I,0,q,{gauge:Pe,layer:_e,size:re,gaugeBg:G,gaugeOutline:W,transitionOpts:z,onComplete:B});var Me=ne.selectAll("text.title").data(q);Me.exit().remove(),Me.enter().append("text").classed("title",!0),Me.attr("text-anchor",function(){return X?C.right:C[H.title.align]}).text(H.title.text).call(c.font,H.title.font).call(l.convertToTspans,I),Me.attr("transform",function(){var Se,Ce=re.l+re.w*w[H.title.align],ae=s.titlePadding,he=c.bBox(Me.node());return te?(Z&&(Se=H.gauge.axis.visible?c.bBox(xe.node()).top-ae-he.bottom:re.t+re.h/2-ue/2-he.bottom-ae),X&&(Se=Y-(he.top+he.bottom)/2,Ce=re.l-s.bulletPadding*re.w)):Se=H._numbersTop-ae-he.bottom,p(Ce,Se)})})}},16249:function(x,o,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),p=t(1426).extendFlat,u=t(30962).overrideAll,a=x.exports=u(p({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:i(),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),valuehoverformat:g("value",1),showlegend:p({},v.showlegend,{dflt:!1})},d("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,lightposition:M.lightposition,lighting:M.lighting,flatshading:M.flatshading,contour:M.contour,hoverinfo:p({},v.hoverinfo)}),"calc","nested");a.flatshading.dflt=!0,a.lighting.facenormalsepsilon.dflt=0,a.x.editType=a.y.editType=a.z.editType=a.value.editType="calc+clearAxisTypes",a.transforms=void 0},56959:function(x,o,t){var d=t(78803),g=t(88489).processGrid,i=t(88489).filter;x.exports=function(M,v){v._len=Math.min(v.x.length,v.y.length,v.z.length,v.value.length),v._x=i(v.x,v._len),v._y=i(v.y,v._len),v._z=i(v.z,v._len),v._value=i(v.value,v._len);var p=g(v);v._gridFill=p.fill,v._Xs=p.Xs,v._Ys=p.Ys,v._Zs=p.Zs,v._len=p.len;for(var u=1/0,a=-1/0,c=0;c0;f--){var m=Math.min(h[f],h[f-1]),_=Math.max(h[f],h[f-1]);if(_>m&&m-1}function ie(je,ge){return je===null?ge:je}function oe(je,ge,we){ne();var Ee,Ve,Ye,$e=[ge],st=[we];if(w>=1)$e=[ge],st=[we];else if(w>0){var ot=function(Wt,Vt){var Ke=Wt[0],Je=Wt[1],We=Wt[2],nt=function(It,Lt,yt){for(var Pt=[],wt=0;wt-1?we[Et]:H(kt,xt,Ft);bt[Et]=Bt>-1?Bt:Z(kt,xt,Ft,ie(je,Dt))}Ee=bt[0],Ve=bt[1],Ye=bt[2],l._meshI.push(Ee),l._meshJ.push(Ve),l._meshK.push(Ye),++O}}function ue(je,ge,we,Ee){var Ve=je[3];VeEe&&(Ve=Ee);for(var Ye=(je[3]-Ve)/(je[3]-ge[3]+1e-9),$e=[],st=0;st<4;st++)$e[st]=(1-Ye)*je[st]+Ye*ge[st];return $e}function ce(je,ge,we){return je>=ge&&je<=we}function ye(je){var ge=.001*(W-G);return je>=G-ge&&je<=W+ge}function de(je){for(var ge=[],we=0;we<4;we++){var Ee=je[we];ge.push([l._x[Ee],l._y[Ee],l._z[Ee],l._value[Ee]])}return ge}function me(je,ge,we,Ee,Ve,Ye){Ye||(Ye=1),we=[-1,-1,-1];var $e=!1,st=[ce(ge[0][3],Ee,Ve),ce(ge[1][3],Ee,Ve),ce(ge[2][3],Ee,Ve)];if(!st[0]&&!st[1]&&!st[2])return!1;var ot=function(bt,Et,kt){return ye(Et[0][3])&&ye(Et[1][3])&&ye(Et[2][3])?(oe(bt,Et,kt),!0):Ye<3&&me(bt,Et,kt,G,W,++Ye)};if(st[0]&&st[1]&&st[2])return ot(je,ge,we)||$e;var ft=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach(function(bt){if(st[bt[0]]&&st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(xt,Et,Ee,Ve),Dt=ue(xt,kt,Ee,Ve);$e=ot(je,[Dt,Ft,Et],[-1,-1,we[bt[0]]])||$e,$e=ot(je,[Et,kt,Dt],[we[bt[0]],we[bt[1]],-1])||$e,ft=!0}}),ft||[[0,1,2],[1,2,0],[2,0,1]].forEach(function(bt){if(st[bt[0]]&&!st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(kt,Et,Ee,Ve),Dt=ue(xt,Et,Ee,Ve);$e=ot(je,[Dt,Ft,Et],[-1,-1,we[bt[0]]])||$e,ft=!0}}),$e}function pe(je,ge,we,Ee){var Ve=!1,Ye=de(ge),$e=[ce(Ye[0][3],we,Ee),ce(Ye[1][3],we,Ee),ce(Ye[2][3],we,Ee),ce(Ye[3][3],we,Ee)];if(!($e[0]||$e[1]||$e[2]||$e[3]))return Ve;if($e[0]&&$e[1]&&$e[2]&&$e[3])return b&&(Ve=function(ot,ft,bt){var Et=function(kt,xt,Ft){oe(ot,[ft[kt],ft[xt],ft[Ft]],[bt[kt],bt[xt],bt[Ft]])};Et(0,1,2),Et(3,0,1),Et(2,3,0),Et(1,2,3)}(je,Ye,ge)||Ve),Ve;var st=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach(function(ot){if($e[ot[0]]&&$e[ot[1]]&&$e[ot[2]]&&!$e[ot[3]]){var ft=Ye[ot[0]],bt=Ye[ot[1]],Et=Ye[ot[2]],kt=Ye[ot[3]];if(b)Ve=oe(je,[ft,bt,Et],[ge[ot[0]],ge[ot[1]],ge[ot[2]]])||Ve;else{var xt=ue(kt,ft,we,Ee),Ft=ue(kt,bt,we,Ee),Dt=ue(kt,Et,we,Ee);Ve=oe(null,[xt,Ft,Dt],[-1,-1,-1])||Ve}st=!0}}),st||([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach(function(ot){if($e[ot[0]]&&$e[ot[1]]&&!$e[ot[2]]&&!$e[ot[3]]){var ft=Ye[ot[0]],bt=Ye[ot[1]],Et=Ye[ot[2]],kt=Ye[ot[3]],xt=ue(Et,ft,we,Ee),Ft=ue(Et,bt,we,Ee),Dt=ue(kt,bt,we,Ee),Bt=ue(kt,ft,we,Ee);b?(Ve=oe(je,[ft,Bt,xt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[bt,Ft,Dt],[ge[ot[1]],-1,-1])||Ve):Ve=function(Wt,Vt,Ke){var Je=function(We,nt,ht){oe(null,[Vt[We],Vt[nt],Vt[ht]],[Ke[We],Ke[nt],Ke[ht]])};Je(0,1,2),Je(2,3,0)}(0,[xt,Ft,Dt,Bt],[-1,-1,-1,-1])||Ve,st=!0}}),st||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach(function(ot){if($e[ot[0]]&&!$e[ot[1]]&&!$e[ot[2]]&&!$e[ot[3]]){var ft=Ye[ot[0]],bt=Ye[ot[1]],Et=Ye[ot[2]],kt=Ye[ot[3]],xt=ue(bt,ft,we,Ee),Ft=ue(Et,ft,we,Ee),Dt=ue(kt,ft,we,Ee);b?(Ve=oe(je,[ft,xt,Ft],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ft,Ft,Dt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ft,Dt,xt],[ge[ot[0]],-1,-1])||Ve):Ve=oe(null,[xt,Ft,Dt],[-1,-1,-1])||Ve,st=!0}})),Ve}function xe(je,ge,we,Ee,Ve,Ye,$e,st,ot,ft,bt){var Et=!1;return L&&(re(je,"A")&&(Et=pe(null,[ge,we,Ee,Ye],ft,bt)||Et),re(je,"B")&&(Et=pe(null,[we,Ee,Ve,ot],ft,bt)||Et),re(je,"C")&&(Et=pe(null,[we,Ye,$e,ot],ft,bt)||Et),re(je,"D")&&(Et=pe(null,[Ee,Ye,st,ot],ft,bt)||Et),re(je,"E")&&(Et=pe(null,[we,Ee,Ye,ot],ft,bt)||Et)),b&&(Et=pe(je,[we,Ee,Ye,ot],ft,bt)||Et),Et}function Pe(je,ge,we,Ee,Ve,Ye,$e,st){return[st[0]===!0||me(je,de([ge,we,Ee]),[ge,we,Ee],Ye,$e),st[1]===!0||me(je,de([Ee,Ve,ge]),[Ee,Ve,ge],Ye,$e)]}function _e(je,ge,we,Ee,Ve,Ye,$e,st,ot){return st?Pe(je,ge,we,Ve,Ee,Ye,$e,ot):Pe(je,we,Ve,Ee,ge,Ye,$e,ot)}function Me(je,ge,we,Ee,Ve,Ye,$e){var st,ot,ft,bt,Et=!1,kt=function(){Et=me(je,[st,ot,ft],[-1,-1,-1],Ve,Ye)||Et,Et=me(je,[ft,bt,st],[-1,-1,-1],Ve,Ye)||Et},xt=$e[0],Ft=$e[1],Dt=$e[2];return xt&&(st=X(de([j(ge,we-0,Ee-0)])[0],de([j(ge-1,we-0,Ee-0)])[0],xt),ot=X(de([j(ge,we-0,Ee-1)])[0],de([j(ge-1,we-0,Ee-1)])[0],xt),ft=X(de([j(ge,we-1,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],xt),bt=X(de([j(ge,we-1,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],xt),kt()),Ft&&(st=X(de([j(ge-0,we,Ee-0)])[0],de([j(ge-0,we-1,Ee-0)])[0],Ft),ot=X(de([j(ge-0,we,Ee-1)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ft),ft=X(de([j(ge-1,we,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ft),bt=X(de([j(ge-1,we,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],Ft),kt()),Dt&&(st=X(de([j(ge-0,we-0,Ee)])[0],de([j(ge-0,we-0,Ee-1)])[0],Dt),ot=X(de([j(ge-0,we-1,Ee)])[0],de([j(ge-0,we-1,Ee-1)])[0],Dt),ft=X(de([j(ge-1,we-1,Ee)])[0],de([j(ge-1,we-1,Ee-1)])[0],Dt),bt=X(de([j(ge-1,we-0,Ee)])[0],de([j(ge-1,we-0,Ee-1)])[0],Dt),kt()),Et}function Se(je,ge,we,Ee,Ve,Ye,$e,st,ot,ft,bt,Et){var kt=je;return Et?(L&&je==="even"&&(kt=null),xe(kt,ge,we,Ee,Ve,Ye,$e,st,ot,ft,bt)):(L&&je==="odd"&&(kt=null),xe(kt,ot,st,$e,Ye,Ve,Ee,we,ge,ft,bt))}function Ce(je,ge,we,Ee,Ve){for(var Ye=[],$e=0,st=0;stMath.abs(Ye-U)?[Y,Ye]:[Ye,U];L=!0,be(ge,$e[0],$e[1]),L=!1}}var st=[[Math.min(G,U),Math.max(G,U)],[Math.min(Y,W),Math.max(Y,W)]];["x","y","z"].forEach(function(ot){for(var ft=[],bt=0;bt0&&(Bt.push(Ke.id),ot==="x"?Wt.push([Ke.distRatio,0,0]):ot==="y"?Wt.push([0,Ke.distRatio,0]):Wt.push([0,0,Ke.distRatio]))}else Dt=ze(1,ot==="x"?F-1:ot==="y"?B-1:N-1);Bt.length>0&&(ft[Et]=ot==="x"?ke(je,Bt,kt,xt,Wt,ft[Et]):ot==="y"?Le(je,Bt,kt,xt,Wt,ft[Et]):Be(je,Bt,kt,xt,Wt,ft[Et]),Et++),Dt.length>0&&(ft[Et]=ot==="x"?Ce(je,Dt,kt,xt,ft[Et]):ot==="y"?ae(je,Dt,kt,xt,ft[Et]):he(je,Dt,kt,xt,ft[Et]),Et++)}var Je=l.caps[ot];Je.show&&Je.fill&&(Q(Je.fill),ft[Et]=ot==="x"?Ce(je,[0,F-1],kt,xt,ft[Et]):ot==="y"?ae(je,[0,B-1],kt,xt,ft[Et]):he(je,[0,N-1],kt,xt,ft[Et]),Et++)}}),O===0&&te(),l._meshX=m,l._meshY=_,l._meshZ=y,l._meshIntensity=C,l._Xs=I,l._Ys=R,l._Zs=z}(),l}x.exports={findNearestOnAxis:p,generateIsoMeshes:s,createIsosurfaceTrace:function(l,h){var f=l.glplot.gl,m=d({gl:f}),_=new u(l,m,h.uid);return m._trace=_,_.update(h),l.glplot.add(m),_}}},82738:function(x,o,t){var d=t(71828),g=t(73972),i=t(16249),M=t(1586);function v(p,u,a,c,s){var l=s("isomin"),h=s("isomax");h!=null&&l!=null&&l>h&&(u.isomin=null,u.isomax=null);var f=s("x"),m=s("y"),_=s("z"),y=s("value");f&&f.length&&m&&m.length&&_&&_.length&&y&&y.length?(g.getComponentMethod("calendars","handleTraceDefaults")(p,u,["x","y","z"],c),s("valuehoverformat"),["x","y","z"].forEach(function(C){s(C+"hoverformat");var w="caps."+C;s(w+".show")&&s(w+".fill");var k="slices."+C;s(k+".show")&&(s(k+".fill"),s(k+".locations"))}),s("spaceframe.show")&&s("spaceframe.fill"),s("surface.show")&&(s("surface.count"),s("surface.fill"),s("surface.pattern")),s("contour.show")&&(s("contour.color"),s("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(C){s(C)}),M(p,u,c,s,{prefix:"",cLetter:"c"}),u._length=null):u.visible=!1}x.exports={supplyDefaults:function(p,u,a,c){v(p,u,0,c,function(s,l){return d.coerce(p,u,i,s,l)})},supplyIsoDefaults:v}},64943:function(x,o,t){x.exports={attributes:t(16249),supplyDefaults:t(82738).supplyDefaults,calc:t(56959),colorbar:{min:"cmin",max:"cmax"},plot:t(22674).createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:t(58547),categories:["gl3d","showLegend"],meta:{}}},2418:function(x,o,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(54532),v=t(9012),p=t(1426).extendFlat;x.exports=p({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:i({editType:"calc"}),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("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},d("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:p({},M.contours.x.show,{}),color:M.contours.x.color,width:M.contours.x.width,editType:"calc"},lightposition:{x:p({},M.lightposition.x,{dflt:1e5}),y:p({},M.lightposition.y,{dflt:1e5}),z:p({},M.lightposition.z,{dflt:0}),editType:"calc"},lighting:p({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"},M.lighting),hoverinfo:p({},v.hoverinfo,{editType:"calc"}),showlegend:p({},v.showlegend,{dflt:!1})})},82932:function(x,o,t){var d=t(78803);x.exports=function(g,i){i.intensity&&d(g,i,{vals:i.intensity,containerStr:"",cLetter:"c"})}},91134:function(x,o,t){var d=t(9330).gl_mesh3d,g=t(9330).delaunay_triangulate,i=t(9330).alpha_shape,M=t(9330).convex_hull,v=t(81697).parseColorScale,p=t(78614),u=t(21081).extractOpts,a=t(90060);function c(_,y,C){this.scene=_,this.uid=C,this.mesh=y,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var s=c.prototype;function l(_){for(var y=[],C=_.length,w=0;w=y-.5)return!1;return!0}s.handlePick=function(_){if(_.object===this.mesh){var y=_.index=_.data.index;_.data._cellCenter?_.traceCoordinate=_.data.dataCoordinate:_.traceCoordinate=[this.data.x[y],this.data.y[y],this.data.z[y]];var C=this.data.hovertext||this.data.text;return Array.isArray(C)&&C[y]!==void 0?_.textLabel=C[y]:C&&(_.textLabel=C),!0}},s.update=function(_){var y=this.scene,C=y.fullSceneLayout;this.data=_;var w,k=_.x.length,E=a(h(C.xaxis,_.x,y.dataScale[0],_.xcalendar),h(C.yaxis,_.y,y.dataScale[1],_.ycalendar),h(C.zaxis,_.z,y.dataScale[2],_.zcalendar));if(_.i&&_.j&&_.k){if(_.i.length!==_.j.length||_.j.length!==_.k.length||!m(_.i,k)||!m(_.j,k)||!m(_.k,k))return;w=a(f(_.i),f(_.j),f(_.k))}else w=_.alphahull===0?M(E):_.alphahull>0?i(_.alphahull,E):function(b,O){for(var I=["x","y","z"].indexOf(b),R=[],z=O.length,F=0;FT):E=F>I,T=F;var B=f(I,R,z,F);B.pos=O,B.yc=(I+F)/2,B.i=b,B.dir=E?"increasing":"decreasing",B.x=B.pos,B.y=[z,R],A&&(B.orig_p=s[b]),w&&(B.tx=c.text[b]),k&&(B.htx=c.hovertext[b]),L.push(B)}else L.push({pos:O,empty:!0})}return c._extremes[h._id]=i.findExtremes(h,d.concat(y,_),{padded:!0}),L.length&&(L[0].t={labels:{open:g(a,"open:")+" ",high:g(a,"high:")+" ",low:g(a,"low:")+" ",close:g(a,"close:")+" "}}),L}x.exports={calc:function(a,c){var s=i.getFromId(a,c.xaxis),l=i.getFromId(a,c.yaxis),h=function(C,w,k){var E=k._minDiff;if(!E){var T,A=C._fullData,L=[];for(E=1/0,T=0;T"+w.labels[R]+d.hoverLabelText(y,z,C.yhoverformat):((I=g.extendFlat({},E)).y0=I.y1=F,I.yLabelVal=z,I.yLabel=w.labels[R]+d.hoverLabelText(y,z,C.yhoverformat),I.name="",k.push(I),b[z]=I)}return k}function s(l,h,f,m){var _=l.cd,y=l.ya,C=_[0].trace,w=_[0].t,k=a(l,h,f,m);if(!k)return[];var E=_[k.index],T=k.index=E.i,A=E.dir;function L(B){return w.labels[B]+d.hoverLabelText(y,C[B][T],C.yhoverformat)}var b=E.hi||C.hoverinfo,O=b.split("+"),I=b==="all",R=I||O.indexOf("y")!==-1,z=I||O.indexOf("text")!==-1,F=R?[L("open"),L("high"),L("low"),L("close")+" "+u[A]]:[];return z&&v(E,C,F),k.extraText=F.join("
"),k.y0=k.y1=y.c2p(E.yc,!0),[k]}x.exports={hoverPoints:function(l,h,f,m){return l.cd[0].trace.hoverlabel.split?c(l,h,f,m):s(l,h,f,m)},hoverSplit:c,hoverOnPoints:s}},54186:function(x,o,t){x.exports={moduleType:"trace",name:"ohlc",basePlotModule:t(93612),categories:["cartesian","svg","showLegend"],meta:{},attributes:t(2522),supplyDefaults:t(16169),calc:t(3485).calc,plot:t(72314),style:t(53101),hoverPoints:t(66449).hoverPoints,selectPoints:t(67324)}},14555:function(x,o,t){var d=t(73972),g=t(71828);x.exports=function(i,M,v,p){var u=v("x"),a=v("open"),c=v("high"),s=v("low"),l=v("close");if(v("hoverlabel.split"),d.getComponentMethod("calendars","handleTraceDefaults")(i,M,["x"],p),a&&c&&s&&l){var h=Math.min(a.length,c.length,s.length,l.length);return u&&(h=Math.min(h,g.minRowLength(u))),M._length=h,h}}},72314:function(x,o,t){var d=t(39898),g=t(71828);x.exports=function(i,M,v,p){var u=M.yaxis,a=M.xaxis,c=!!a.rangebreaks;g.makeTraceGroups(p,v,"trace ohlc").each(function(s){var l=d.select(this),h=s[0],f=h.t;if(h.trace.visible!==!0||f.empty)l.remove();else{var m=f.tickLen,_=l.selectAll("path").data(g.identity);_.enter().append("path"),_.exit().remove(),_.attr("d",function(y){if(y.empty)return"M0,0Z";var C=a.c2p(y.pos-m,!0),w=a.c2p(y.pos+m,!0),k=c?(C+w)/2:a.c2p(y.pos,!0);return"M"+C+","+u.c2p(y.o,!0)+"H"+k+"M"+k+","+u.c2p(y.h,!0)+"V"+u.c2p(y.l,!0)+"M"+w+","+u.c2p(y.c,!0)+"H"+k})}})}},67324:function(x){x.exports=function(o,t){var d,g=o.cd,i=o.xaxis,M=o.yaxis,v=[],p=g[0].t.bPos||0;if(t===!1)for(d=0;d=Z.length||X[Z[Q]]!==void 0)return!1;X[Z[Q]]=!0}return!0}(te))for(ne=0;ne0;y&&(m="array");var C=l("categoryorder",m);C==="array"?(l("categoryarray"),l("ticktext")):(delete c.categoryarray,delete c.ticktext),y||C!=="array"||(s.categoryorder="trace")}}x.exports=function(c,s,l,h){function f(w,k){return d.coerce(c,s,p,w,k)}var m=v(c,s,{name:"dimensions",handleItemDefaults:a}),_=function(w,k,E,T,A){A("line.shape"),A("line.hovertemplate");var L=A("line.color",T.colorway[0]);if(g(w,"line")&&d.isArrayOrTypedArray(L)){if(L.length)return A("line.colorscale"),i(w,k,T,A,{prefix:"line.",cLetter:"c"}),L.length;k.line.color=E}return 1/0}(c,s,l,h,f);M(s,h,f),Array.isArray(m)&&m.length||(s.visible=!1),u(s,m,"values",_),f("hoveron"),f("hovertemplate"),f("arrangement"),f("bundlecolors"),f("sortpaths"),f("counts");var y={family:h.font.family,size:Math.round(h.font.size),color:h.font.color};d.coerceFont(f,"labelfont",y);var C={family:h.font.family,size:Math.round(h.font.size/1.2),color:h.font.color};d.coerceFont(f,"tickfont",C)}},94873:function(x,o,t){x.exports={attributes:t(99506),supplyDefaults:t(14647),calc:t(28699),plot:t(45784),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:t(27677),categories:["noOpacity"],meta:{}}},45460:function(x,o,t){var d=t(39898),g=t(81684).k4,i=t(72391),M=t(30211),v=t(71828),p=v.strTranslate,u=t(91424),a=t(84267),c=t(63893);function s(te,Z,X,Q){var re=Z._context.staticPlot,ie=te.map(U.bind(0,Z,X)),oe=Q.selectAll("g.parcatslayer").data([null]);oe.enter().append("g").attr("class","parcatslayer").style("pointer-events",re?"none":"all");var ue=oe.selectAll("g.trace.parcats").data(ie,l),ce=ue.enter().append("g").attr("class","trace parcats");ue.attr("transform",function(Se){return p(Se.x,Se.y)}),ce.append("g").attr("class","paths");var ye=ue.select("g.paths").selectAll("path.path").data(function(Se){return Se.paths},l);ye.attr("fill",function(Se){return Se.model.color});var de=ye.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function(Se){return Se.model.color}).attr("fill-opacity",0);k(de),ye.attr("d",function(Se){return Se.svgD}),de.empty()||ye.sort(f),ye.exit().remove(),ye.on("mouseover",m).on("mouseout",_).on("click",w),ce.append("g").attr("class","dimensions");var me=ue.select("g.dimensions").selectAll("g.dimension").data(function(Se){return Se.dimensions},l);me.enter().append("g").attr("class","dimension"),me.attr("transform",function(Se){return p(Se.x,0)}),me.exit().remove();var pe=me.selectAll("g.category").data(function(Se){return Se.categories},l),xe=pe.enter().append("g").attr("class","category");pe.attr("transform",function(Se){return p(0,Se.y)}),xe.append("rect").attr("class","catrect").attr("pointer-events","none"),pe.select("rect.catrect").attr("fill","none").attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}),T(xe);var Pe=pe.selectAll("rect.bandrect").data(function(Se){return Se.bands},l);Pe.each(function(){v.raiseToTop(this)}),Pe.attr("fill",function(Se){return Se.color});var _e=Pe.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function(Se){return Se.color}).attr("fill-opacity",0);Pe.attr("fill",function(Se){return Se.color}).attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}).attr("y",function(Se){return Se.y}).attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":Se.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),A(_e),Pe.exit().remove(),xe.append("text").attr("class","catlabel").attr("pointer-events","none");var Me=Z._fullLayout.paper_bgcolor;pe.select("text.catlabel").attr("text-anchor",function(Se){return h(Se)?"start":"end"}).attr("alignment-baseline","middle").style("text-shadow",c.makeTextShadow(Me)).style("fill","rgb(0, 0, 0)").attr("x",function(Se){return h(Se)?Se.width+5:-5}).attr("y",function(Se){return Se.height/2}).text(function(Se){return Se.model.categoryLabel}).each(function(Se){u.font(d.select(this),Se.parcatsViewModel.categorylabelfont),c.convertToTspans(d.select(this),Z)}),xe.append("text").attr("class","dimlabel"),pe.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function(Se){return Se.width/2}).attr("y",-5).text(function(Se,Ce){return Ce===0?Se.parcatsViewModel.model.dimensions[Se.model.dimensionInd].dimensionLabel:null}).each(function(Se){u.font(d.select(this),Se.parcatsViewModel.labelfont)}),pe.selectAll("rect.bandrect").on("mouseover",R).on("mouseout",z),pe.exit().remove(),me.call(d.behavior.drag().origin(function(Se){return{x:Se.x,y:0}}).on("dragstart",F).on("drag",B).on("dragend",N)),ue.each(function(Se){Se.traceSelection=d.select(this),Se.pathSelection=d.select(this).selectAll("g.paths").selectAll("path.path"),Se.dimensionSelection=d.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),ue.exit().remove()}function l(te){return te.key}function h(te){var Z=te.parcatsViewModel.dimensions.length,X=te.parcatsViewModel.dimensions[Z-1].model.dimensionInd;return te.model.dimensionInd===X}function f(te,Z){return te.model.rawColor>Z.model.rawColor?1:te.model.rawColor"),ke=d.mouse(ue)[0];M.loneHover({trace:ce,x:Pe-de.left+me.left,y:_e-de.top+me.top,text:be,color:te.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Me,idealAlign:ke1&&me.displayInd===de.dimensions.length-1?(Q=ce.left,re="left"):(Q=ce.left+ce.width,re="right");var Pe=ye.model.count,_e=ye.model.categoryLabel,Me=Pe/ye.parcatsViewModel.model.count,Se={countLabel:Pe,categoryLabel:_e,probabilityLabel:Me.toFixed(3)},Ce=[];ye.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ce.push(["Count:",Se.countLabel].join(" ")),ye.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&Ce.push(["P("+Se.categoryLabel+"):",Se.probabilityLabel].join(" "));var ae=Ce.join("
");return{trace:pe,x:ie*(Q-Z.left),y:oe*(xe-Z.top),text:ae,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:re,hovertemplate:pe.hovertemplate,hovertemplateLabels:Se,eventData:[{data:pe._input,fullData:pe,count:Pe,category:_e,probability:Me}]}}function R(te){if(!te.parcatsViewModel.dragDimension&&te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){if(d.mouse(this)[1]<-1)return;var Z,X=te.parcatsViewModel.graphDiv,Q=X._fullLayout,re=Q._paperdiv.node().getBoundingClientRect(),ie=te.parcatsViewModel.hoveron,oe=this;ie==="color"?(function(ue){var ce=d.select(ue).datum(),ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)}),d.select(ue.parentNode).selectAll("rect.bandrect").filter(function(de){return de.color===ce.color}).each(function(){v.raiseToTop(this),d.select(this).attr("stroke","black").attr("stroke-width",1.5)})}(oe),O(oe,"plotly_hover",d.event)):(function(ue){d.select(ue.parentNode).selectAll("rect.bandrect").each(function(ce){var ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)})}),d.select(ue.parentNode).select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}(oe),b(oe,"plotly_hover",d.event)),te.parcatsViewModel.hoverinfoItems.indexOf("none")===-1&&(ie==="category"?Z=I(X,re,oe):ie==="color"?Z=function(ue,ce,ye){ue._fullLayout._calcInverseTransform(ue);var de,me,pe=ue._fullLayout._invScaleX,xe=ue._fullLayout._invScaleY,Pe=ye.getBoundingClientRect(),_e=d.select(ye).datum(),Me=_e.categoryViewModel,Se=Me.parcatsViewModel,Ce=Se.model.dimensions[Me.model.dimensionInd],ae=Se.trace,he=Pe.y+Pe.height/2;Se.dimensions.length>1&&Ce.displayInd===Se.dimensions.length-1?(de=Pe.left,me="left"):(de=Pe.left+Pe.width,me="right");var be=Me.model.categoryLabel,ke=_e.parcatsViewModel.model.count,Le=0;_e.categoryViewModel.bands.forEach(function(st){st.color===_e.color&&(Le+=st.count)});var Be=Me.model.count,ze=0;Se.pathSelection.each(function(st){st.model.color===_e.color&&(ze+=st.model.count)});var je=Le/ke,ge=Le/ze,we=Le/Be,Ee={countLabel:ke,categoryLabel:be,probabilityLabel:je.toFixed(3)},Ve=[];Me.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ve.push(["Count:",Ee.countLabel].join(" ")),Me.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(Ve.push("P(color ∩ "+be+"): "+Ee.probabilityLabel),Ve.push("P("+be+" | color): "+ge.toFixed(3)),Ve.push("P(color | "+be+"): "+we.toFixed(3)));var Ye=Ve.join("
"),$e=a.mostReadable(_e.color,["black","white"]);return{trace:ae,x:pe*(de-ce.left),y:xe*(he-ce.top),text:Ye,color:_e.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:$e,fontSize:10,idealAlign:me,hovertemplate:ae.hovertemplate,hovertemplateLabels:Ee,eventData:[{data:ae._input,fullData:ae,category:be,count:ke,probability:je,categorycount:Be,colorcount:ze,bandcolorcount:Le}]}}(X,re,oe):ie==="dimension"&&(Z=function(ue,ce,ye){var de=[];return d.select(ye.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){de.push(I(ue,ce,this))}),de}(X,re,oe)),Z&&M.loneHover(Z,{container:Q._hoverlayer.node(),outerContainer:Q._paper.node(),gd:X}))}}function z(te){var Z=te.parcatsViewModel;Z.dragDimension||(k(Z.pathSelection),T(Z.dimensionSelection.selectAll("g.category")),A(Z.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),M.loneUnhover(Z.graphDiv._fullLayout._hoverlayer.node()),Z.pathSelection.sort(f),Z.hoverinfoItems.indexOf("skip")!==-1)||(te.parcatsViewModel.hoveron==="color"?O(this,"plotly_unhover",d.event):b(this,"plotly_unhover",d.event))}function F(te){te.parcatsViewModel.arrangement!=="fixed"&&(te.dragDimensionDisplayInd=te.model.displayInd,te.initialDragDimensionDisplayInds=te.parcatsViewModel.model.dimensions.map(function(Z){return Z.displayInd}),te.dragHasMoved=!1,te.dragCategoryDisplayInd=null,d.select(this).selectAll("g.category").select("rect.catrect").each(function(Z){var X=d.mouse(this)[0],Q=d.mouse(this)[1];-2<=X&&X<=Z.width+2&&-2<=Q&&Q<=Z.height+2&&(te.dragCategoryDisplayInd=Z.model.displayInd,te.initialDragCategoryDisplayInds=te.model.categories.map(function(re){return re.displayInd}),Z.model.dragY=Z.y,v.raiseToTop(this.parentNode),d.select(this.parentNode).selectAll("rect.bandrect").each(function(re){re.yde.y+de.height/2&&(ie.model.displayInd=de.model.displayInd,de.model.displayInd=ue),te.dragCategoryDisplayInd=ie.model.displayInd}if(te.dragCategoryDisplayInd===null||te.parcatsViewModel.arrangement==="freeform"){re.model.dragX=d.event.x;var me=te.parcatsViewModel.dimensions[X],pe=te.parcatsViewModel.dimensions[Q];me!==void 0&&re.model.dragXpe.x&&(re.model.displayInd=pe.model.displayInd,pe.model.displayInd=te.dragDimensionDisplayInd),te.dragDimensionDisplayInd=re.model.displayInd}H(te.parcatsViewModel),W(te.parcatsViewModel),Y(te.parcatsViewModel),j(te.parcatsViewModel)}}function N(te){if(te.parcatsViewModel.arrangement!=="fixed"&&te.dragDimensionDisplayInd!==null){d.select(this).selectAll("text").attr("font-weight","normal");var Z={},X=q(te.parcatsViewModel),Q=te.parcatsViewModel.model.dimensions.map(function(de){return de.displayInd}),re=te.initialDragDimensionDisplayInds.some(function(de,me){return de!==Q[me]});re&&Q.forEach(function(de,me){var pe=te.parcatsViewModel.model.dimensions[me].containerInd;Z["dimensions["+pe+"].displayindex"]=de});var ie=!1;if(te.dragCategoryDisplayInd!==null){var oe=te.model.categories.map(function(de){return de.displayInd});if(ie=te.initialDragCategoryDisplayInds.some(function(de,me){return de!==oe[me]})){var ue=te.model.categories.slice().sort(function(de,me){return de.displayInd-me.displayInd}),ce=ue.map(function(de){return de.categoryValue}),ye=ue.map(function(de){return de.categoryLabel});Z["dimensions["+te.model.containerInd+"].categoryarray"]=[ce],Z["dimensions["+te.model.containerInd+"].ticktext"]=[ye],Z["dimensions["+te.model.containerInd+"].categoryorder"]="array"}}te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!te.dragHasMoved&&te.potentialClickBand&&(te.parcatsViewModel.hoveron==="color"?O(te.potentialClickBand,"plotly_click",d.event.sourceEvent):b(te.potentialClickBand,"plotly_click",d.event.sourceEvent)),te.model.dragX=null,te.dragCategoryDisplayInd!==null&&(te.parcatsViewModel.dimensions[te.dragDimensionDisplayInd].categories[te.dragCategoryDisplayInd].model.dragY=null,te.dragCategoryDisplayInd=null),te.dragDimensionDisplayInd=null,te.parcatsViewModel.dragDimension=null,te.dragHasMoved=null,te.potentialClickBand=null,H(te.parcatsViewModel),W(te.parcatsViewModel),d.transition().duration(300).ease("cubic-in-out").each(function(){Y(te.parcatsViewModel,!0),j(te.parcatsViewModel,!0)}).each("end",function(){(re||ie)&&i.restyle(te.parcatsViewModel.graphDiv,Z,[X])})}}function q(te){for(var Z,X=te.graphDiv._fullData,Q=0;Q=0;oe--)ye+="C"+ce[oe]+","+(Z[oe+1]+Q)+" "+ue[oe]+","+(Z[oe]+Q)+" "+(te[oe]+X[oe])+","+(Z[oe]+Q),ye+="l-"+X[oe]+",0 ";return ye+"Z"}function W(te){var Z=te.dimensions,X=te.model,Q=Z.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.y})}),re=te.model.dimensions.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.displayInd})}),ie=te.model.dimensions.map(function(Ee){return Ee.displayInd}),oe=te.dimensions.map(function(Ee){return Ee.model.dimensionInd}),ue=Z.map(function(Ee){return Ee.x}),ce=Z.map(function(Ee){return Ee.width}),ye=[];for(var de in X.paths)X.paths.hasOwnProperty(de)&&ye.push(X.paths[de]);function me(Ee){var Ve=Ee.categoryInds.map(function(Ye,$e){return re[$e][Ye]});return oe.map(function(Ye){return Ve[Ye]})}ye.sort(function(Ee,Ve){var Ye=me(Ee),$e=me(Ve);return te.sortpaths==="backward"&&(Ye.reverse(),$e.reverse()),Ye.push(Ee.valueInds[0]),$e.push(Ve.valueInds[0]),te.bundlecolors&&(Ye.unshift(Ee.rawColor),$e.unshift(Ve.rawColor)),Ye<$e?-1:Ye>$e?1:0});for(var pe=new Array(ye.length),xe=Z[0].model.count,Pe=Z[0].categories.map(function(Ee){return Ee.height}).reduce(function(Ee,Ve){return Ee+Ve}),_e=0;_e0?Pe*(Se.count/xe):0;for(var Ce,ae=new Array(Q.length),he=0;he1?(te.width-80-16)/(Q-1):0)*re;var ie,oe,ue,ce,ye,de=[],me=te.model.maxCats,pe=Z.categories.length,xe=Z.count,Pe=te.height-8*(me-1),_e=8*(me-pe)/2,Me=Z.categories.map(function(Se){return{displayInd:Se.displayInd,categoryInd:Se.categoryInd}});for(Me.sort(function(Se,Ce){return Se.displayInd-Ce.displayInd}),ye=0;ye0?oe.count/xe*Pe:0,ue={key:oe.valueInds[0],model:oe,width:16,height:ie,y:oe.dragY!==null?oe.dragY:_e,bands:[],parcatsViewModel:te},_e=_e+ie+8,de.push(ue);return{key:Z.dimensionInd,x:Z.dragX!==null?Z.dragX:X,y:0,width:16,model:Z,categories:de,parcatsViewModel:te,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}x.exports=function(te,Z,X,Q){s(X,te,Q,Z)}},45784:function(x,o,t){var d=t(45460);x.exports=function(g,i,M,v){var p=g._fullLayout,u=p._paper,a=p._size;d(g,u,i,{width:a.w,height:a.h,margin:{t:a.t,r:a.r,b:a.b,l:a.l}},M,v)}},73362:function(x,o,t){var d=t(50693),g=t(13838),i=t(41940),M=t(27670).Y,v=t(1426).extendFlat,p=t(44467).templatedArray;x.exports={domain:M({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:i({editType:"plot"}),tickfont:i({editType:"plot"}),rangefont:i({editType:"plot"}),dimensions:p("dimension",{label:{valType:"string",editType:"plot"},tickvals:v({},g.tickvals,{editType:"plot"}),ticktext:v({},g.ticktext,{editType:"plot"}),tickformat:v({},g.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:v({editType:"calc"},d("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"}}},57920:function(x,o,t){var d=t(25706),g=t(39898),i=t(28984).keyFun,M=t(28984).repeat,v=t(71828).sorterAsc,p=t(71828).strTranslate,u=d.bar.snapRatio;function a(I,R){return I*(1-u)+R*u}var c=d.bar.snapClose;function s(I,R){return I*(1-c)+R*c}function l(I,R,z,F){if(function(ne,te){for(var Z=0;Z=te[Z][0]&&ne<=te[Z][1])return!0;return!1}(z,F))return z;var B=I?-1:1,N=0,q=R.length-1;if(B<0){var j=N;N=q,q=j}for(var Y=R[N],U=Y,G=N;B*GR){W=z;break}}if(B=U,isNaN(B)&&(B=isNaN(G)||isNaN(W)?isNaN(G)?W:G:R-Y[G][1]re[1]+oe||ie=.9*re[1]+.1*re[0]?"n":ie<=.9*re[0]+.1*re[1]?"s":"ns"}(ne,R);te&&(N.interval=j[B],N.intervalPix=ne,N.region=te)}}if(I.ordinal&&!N.region){var Z=I.unitTickvals,X=I.unitToPaddedPx.invert(R);for(z=0;z=Q[0]&&X<=Q[1]){N.clickableOrdinalRange=Q;break}}}return N}function E(I,R){g.event.sourceEvent.stopPropagation();var z=R.height-g.mouse(I)[1]-2*d.verticalPadding,F=R.brush.svgBrush;F.wasDragged=!0,F._dragging=!0,F.grabbingBar?F.newExtent=[z-F.grabPoint,z+F.barLength-F.grabPoint].map(R.unitToPaddedPx.invert):F.newExtent=[F.startExtent,R.unitToPaddedPx.invert(z)].sort(v),R.brush.filterSpecified=!0,F.extent=F.stayingIntervals.concat([F.newExtent]),F.brushCallback(R),w(I.parentNode)}function T(I,R){var z=k(R,R.height-g.mouse(I)[1]-2*d.verticalPadding),F="crosshair";z.clickableOrdinalRange?F="pointer":z.region&&(F=z.region+"-resize"),g.select(document.body).style("cursor",F)}function A(I){I.on("mousemove",function(R){g.event.preventDefault(),R.parent.inBrushDrag||T(this,R)}).on("mouseleave",function(R){R.parent.inBrushDrag||y()}).call(g.behavior.drag().on("dragstart",function(R){(function(z,F){g.event.sourceEvent.stopPropagation();var B=F.height-g.mouse(z)[1]-2*d.verticalPadding,N=F.unitToPaddedPx.invert(B),q=F.brush,j=k(F,B),Y=j.interval,U=q.svgBrush;if(U.wasDragged=!1,U.grabbingBar=j.region==="ns",U.grabbingBar){var G=Y.map(F.unitToPaddedPx);U.grabPoint=B-G[0]-d.verticalPadding,U.barLength=G[1]-G[0]}U.clickableOrdinalRange=j.clickableOrdinalRange,U.stayingIntervals=F.multiselect&&q.filterSpecified?q.filter.getConsolidated():[],Y&&(U.stayingIntervals=U.stayingIntervals.filter(function(W){return W[0]!==Y[0]&&W[1]!==Y[1]})),U.startExtent=j.region?Y[j.region==="s"?1:0]:N,F.parent.inBrushDrag=!0,U.brushStartCallback()})(this,R)}).on("drag",function(R){E(this,R)}).on("dragend",function(R){(function(z,F){var B=F.brush,N=B.filter,q=B.svgBrush;q._dragging||(T(z,F),E(z,F),F.brush.svgBrush.wasDragged=!1),q._dragging=!1,g.event.sourceEvent.stopPropagation();var j=q.grabbingBar;if(q.grabbingBar=!1,q.grabLocation=void 0,F.parent.inBrushDrag=!1,y(),!q.wasDragged)return q.wasDragged=void 0,q.clickableOrdinalRange?B.filterSpecified&&F.multiselect?q.extent.push(q.clickableOrdinalRange):(q.extent=[q.clickableOrdinalRange],B.filterSpecified=!0):j?(q.extent=q.stayingIntervals,q.extent.length===0&&b(B)):b(B),q.brushCallback(F),w(z.parentNode),void q.brushEndCallback(B.filterSpecified?N.getConsolidated():[]);var Y=function(){N.set(N.getConsolidated())};if(F.ordinal){var U=F.unitTickvals;U[U.length-1]q.newExtent[0];q.extent=q.stayingIntervals.concat(G?[q.newExtent]:[]),q.extent.length||b(B),q.brushCallback(F),G?w(z.parentNode,Y):(Y(),w(z.parentNode))}else Y();q.brushEndCallback(B.filterSpecified?N.getConsolidated():[])})(this,R)}))}function L(I,R){return I[0]-R[0]}function b(I){I.filterSpecified=!1,I.svgBrush.extent=[[-1/0,1/0]]}function O(I){for(var R,z=I.slice(),F=[],B=z.shift();B;){for(R=B.slice();(B=z.shift())&&B[0]<=R[1];)R[1]=Math.max(R[1],B[1]);F.push(R)}return F.length===1&&F[0][0]>F[0][1]&&(F=[]),F}x.exports={makeBrush:function(I,R,z,F,B,N){var q,j=function(){var Y,U,G=[];return{set:function(W){(G=W.map(function(H){return H.slice().sort(v)}).sort(L)).length===1&&G[0][0]===-1/0&&G[0][1]===1/0&&(G=[[0,-1]]),Y=O(G),U=G.reduce(function(H,ne){return[Math.min(H[0],ne[0]),Math.max(H[1],ne[1])]},[1/0,-1/0])},get:function(){return G.slice()},getConsolidated:function(){return Y},getBounds:function(){return U}}}();return j.set(z),{filter:j,filterSpecified:R,svgBrush:{extent:[],brushStartCallback:F,brushCallback:(q=B,function(Y){var U=Y.brush,G=function(H){return H.svgBrush.extent.map(function(ne){return ne.slice()})}(U),W=G.slice();U.filter.set(W),q()}),brushEndCallback:N}}},ensureAxisBrush:function(I,R,z){var F=I.selectAll("."+d.cn.axisBrush).data(M,i);F.enter().append("g").classed(d.cn.axisBrush,!0),function(B,N,q){var j=q._context.staticPlot,Y=B.selectAll(".background").data(M);Y.enter().append("rect").classed("background",!0).call(h).call(f).style("pointer-events",j?"none":"auto").attr("transform",p(0,d.verticalPadding)),Y.call(A).attr("height",function(W){return W.height-d.verticalPadding});var U=B.selectAll(".highlight-shadow").data(M);U.enter().append("line").classed("highlight-shadow",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width+d.bar.strokeWidth).attr("stroke",N).attr("opacity",d.bar.strokeOpacity).attr("stroke-linecap","butt"),U.attr("y1",function(W){return W.height}).call(C);var G=B.selectAll(".highlight").data(M);G.enter().append("line").classed("highlight",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width-d.bar.strokeWidth).attr("stroke",d.bar.fillColor).attr("opacity",d.bar.fillOpacity).attr("stroke-linecap","butt"),G.attr("y1",function(W){return W.height}).call(C)}(F,R,z)},cleanRanges:function(I,R){if(Array.isArray(I[0])?(I=I.map(function(F){return F.sort(v)}),I=R.multiselect?O(I.sort(L)):[I[0]]):I=[I.sort(v)],R.tickvals){var z=R.tickvals.slice().sort(v);if(!(I=I.map(function(F){var B=[l(0,z,F[0],[]),l(1,z,F[1],[])];if(B[1]>B[0])return B}).filter(function(F){return F})).length)return}return I.length>1?I:I[0]}}},71791:function(x,o,t){x.exports={attributes:t(73362),supplyDefaults:t(3633),calc:t(24639),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:t(49351),categories:["gl","regl","noOpacity","noHover"],meta:{}}},49351:function(x,o,t){var d=t(39898),g=t(27659).a0,i=t(21341),M=t(77922);o.name="parcoords",o.plot=function(v){var p=g(v.calcdata,"parcoords")[0];p.length&&i(v,p)},o.clean=function(v,p,u,a){var c=a._has&&a._has("parcoords"),s=p._has&&p._has("parcoords");c&&!s&&(a._paperdiv.selectAll(".parcoords").remove(),a._glimages.selectAll("*").remove())},o.toSVG=function(v){var p=v._fullLayout._glimages,u=d.select(v).selectAll(".svg-container");u.filter(function(a,c){return c===u.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus").each(function(){var a=this,c=a.toDataURL("image/png");p.append("svg:image").attr({xmlns:M.svg,"xlink:href":c,preserveAspectRatio:"none",x:0,y:0,width:a.style.width,height:a.style.height})}),window.setTimeout(function(){d.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}},24639:function(x,o,t){var d=t(71828).isArrayOrTypedArray,g=t(21081),i=t(28984).wrap;x.exports=function(M,v){var p,u;return g.hasColorscale(v,"line")&&d(v.line.color)?(p=v.line.color,u=g.extractOpts(v.line).colorscale,g.calc(M,v,{vals:p,containerStr:"line",cLetter:"c"})):(p=function(a){for(var c=new Array(a),s=0;sc&&(d.log("parcoords traces support up to "+c+" dimensions at the moment"),C.splice(c));var w=v(h,f,{name:"dimensions",layout:_,handleItemDefaults:l}),k=function(T,A,L,b,O){var I=O("line.color",L);if(g(T,"line")&&d.isArrayOrTypedArray(I)){if(I.length)return O("line.colorscale"),i(T,A,b,O,{prefix:"line.",cLetter:"c"}),I.length;A.line.color=L}return 1/0}(h,f,m,_,y);M(f,_,y),Array.isArray(w)&&w.length||(f.visible=!1),s(f,w,"values",k);var E={family:_.font.family,size:Math.round(_.font.size/1.2),color:_.font.color};d.coerceFont(y,"labelfont",E),d.coerceFont(y,"tickfont",E),d.coerceFont(y,"rangefont",E),y("labelangle"),y("labelside"),y("unselected.line.color"),y("unselected.line.opacity")}},1602:function(x,o,t){var d=t(71828).isTypedArray;o.convertTypedArray=function(g){return d(g)?Array.prototype.slice.call(g):g},o.isOrdinal=function(g){return!!g.tickvals},o.isVisible=function(g){return g.visible||!("visible"in g)}},67618:function(x,o,t){var d=t(71791);d.plot=t(21341),x.exports=d},83398:function(x,o,t){var d=t(56068),g=d([`precision highp float; +`),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')`}}},13056:function(x,o,t){var d=t(71828);x.exports=function(v,i){var M=v.split(" "),g=M[0],p=M[1],u=d.isArrayOrTypedArray(i)?d.mean(i):i,a=.5+u/100,c=1.5+u/100,s=["",""],l=[0,0];switch(g){case"top":s[0]="top",l[1]=-c;break;case"bottom":s[0]="bottom",l[1]=c}switch(p){case"left":s[1]="right",l[0]=-a;break;case"right":s[1]="left",l[0]=a}return{anchor:s[0]&&s[1]?s.join("-"):s[0]?s[0]:s[1]?s[1]:"center",offset:l}}},50101:function(x,o,t){var d=t(44517),v=t(71828),i=v.strTranslate,M=v.strScale,g=t(27659).AU,p=t(77922),u=t(39898),a=t(91424),c=t(63893),s=t(10481),l="mapbox",h=o.constants=t(77734);function f(m){return typeof m=="string"&&(h.styleValuesMapbox.indexOf(m)!==-1||m.indexOf("mapbox://")===0)}o.name=l,o.attr="subplot",o.idRoot=l,o.idRegex=o.attrRegex=v.counterRegex(l),o.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},o.layoutAttributes=t(23585),o.supplyLayoutDefaults=t(77882),o.plot=function(m){var _=m._fullLayout,y=m.calcdata,C=_._subplots.mapbox;if(d.version!==h.requiredVersion)throw new Error(h.wrongVersionErrorMsg);var w=function(b,O){var I=b._fullLayout;if(b._context.mapboxAccessToken==="")return"";for(var R=[],z=[],F=!1,B=!1,N=0;N1&&v.warn(h.multipleTokensErrorMsg),R[0]):(z.length&&v.log(["Listed mapbox access token(s)",z.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}(m,C);d.accessToken=w;for(var k=0;kz/2){var F=b.split("|").join("
");I.text(F).attr("data-unformatted",F).call(c.convertToTspans,m),R=a.bBox(I.node())}I.attr("transform",i(-3,8-R.height)),O.insert("rect",".static-attribution").attr({x:-R.width-6,y:-R.height-3,width:R.width+6,height:R.height+3,fill:"rgba(255, 255, 255, 0.75)"});var B=1;R.width+6>z&&(B=z/(R.width+6));var N=[C.l+C.w*E.x[1],C.t+C.h*(1-E.y[0])];O.attr("transform",i(N[0],N[1])+M(B))}},o.updateFx=function(m){for(var _=m._fullLayout,y=_._subplots.mapbox,C=0;C0){for(var l=0;l0}function a(c){var s={},l={};switch(c.type){case"circle":d.extendFlat(l,{"circle-radius":c.circle.radius,"circle-color":c.color,"circle-opacity":c.opacity});break;case"line":d.extendFlat(l,{"line-width":c.line.width,"line-color":c.color,"line-opacity":c.opacity,"line-dasharray":c.line.dash});break;case"fill":d.extendFlat(l,{"fill-color":c.color,"fill-outline-color":c.fill.outlinecolor,"fill-opacity":c.opacity});break;case"symbol":var h=c.symbol,f=i(h.textposition,h.iconsize);d.extendFlat(s,{"icon-image":h.icon+"-15","icon-size":h.iconsize/10,"text-field":h.text,"text-size":h.textfont.size,"text-anchor":f.anchor,"text-offset":f.offset,"symbol-placement":h.placement}),d.extendFlat(l,{"icon-color":c.color,"text-color":h.textfont.color,"text-opacity":c.opacity});break;case"raster":d.extendFlat(l,{"raster-fade-duration":0,"raster-opacity":c.opacity})}return{layout:s,paint:l}}p.update=function(c){this.visible?this.needsNewImage(c)?this.updateImage(c):this.needsNewSource(c)?(this.removeLayer(),this.updateSource(c),this.updateLayer(c)):this.needsNewLayer(c)?this.updateLayer(c):this.updateStyle(c):(this.updateSource(c),this.updateLayer(c)),this.visible=u(c)},p.needsNewImage=function(c){return this.subplot.map.getSource(this.idSource)&&this.sourceType==="image"&&c.sourcetype==="image"&&(this.source!==c.source||JSON.stringify(this.coordinates)!==JSON.stringify(c.coordinates))},p.needsNewSource=function(c){return this.sourceType!==c.sourcetype||JSON.stringify(this.source)!==JSON.stringify(c.source)||this.layerType!==c.type},p.needsNewLayer=function(c){return this.layerType!==c.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},p.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},p.updateImage=function(c){this.subplot.map.getSource(this.idSource).updateImage({url:c.source,coordinates:c.coordinates});var s=this.findFollowingMapboxLayerId(this.lookupBelow());s!==null&&this.subplot.map.moveLayer(this.idLayer,s)},p.updateSource=function(c){var s=this.subplot.map;if(s.getSource(this.idSource)&&s.removeSource(this.idSource),this.sourceType=c.sourcetype,this.source=c.source,u(c)){var l=function(h){var f,m=h.sourcetype,_=h.source,y={type:m};return m==="geojson"?f="data":m==="vector"?f=typeof _=="string"?"url":"tiles":m==="raster"?(f="tiles",y.tileSize=256):m==="image"&&(f="url",y.coordinates=h.coordinates),y[f]=_,h.sourceattribution&&(y.attribution=v(h.sourceattribution)),y}(c);s.addSource(this.idSource,l)}},p.findFollowingMapboxLayerId=function(c){if(c==="traces")for(var s=this.subplot.getMapLayers(),l=0;l1)for(O=0;O-1&&m(N.originalEvent,I,[O.xaxis],[O.yaxis],O.id,B),q.indexOf("event")>-1&&u.click(I,N.originalEvent)}}},w.updateFx=function(L){var b=this,O=b.map,I=b.gd;if(!b.isStatic){var R,z=L.dragmode;R=function(N,q){q.isRect?(N.range={})[b.id]=[B([q.xmin,q.ymin]),B([q.xmax,q.ymax])]:(N.lassoPoints={})[b.id]=q.map(B)};var F=b.dragOptions;b.dragOptions=v.extendDeep(F||{},{dragmode:L.dragmode,element:b.div,gd:I,plotinfo:{id:b.id,domain:L[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:R},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),O.off("click",b.onClickInPanHandler),s(z)||c(z)?(O.dragPan.disable(),O.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(N,q,j){l(N,q,j,b.dragOptions,z)},p.init(b.dragOptions)):(O.dragPan.enable(),O.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),O.on("click",b.onClickInPanHandler))}function B(N){var q=b.map.unproject(N);return[q.lng,q.lat]}},w.updateFramework=function(L){var b=L[this.id].domain,O=L._size,I=this.div.style;I.width=O.w*(b.x[1]-b.x[0])+"px",I.height=O.h*(b.y[1]-b.y[0])+"px",I.left=O.l+b.x[0]*O.w+"px",I.top=O.t+(1-b.y[1])*O.h+"px",this.xaxis._offset=O.l+b.x[0]*O.w,this.xaxis._length=O.w*(b.x[1]-b.x[0]),this.yaxis._offset=O.t+(1-b.y[1])*O.h,this.yaxis._length=O.h*(b.y[1]-b.y[0])},w.updateLayers=function(L){var b,O=L[this.id].layers,I=this.layerList;if(O.length!==I.length){for(b=0;b=G.width-20?(ne["text-anchor"]="start",ne.x=5):(ne["text-anchor"]="end",ne.x=G._paper.attr("width")-7),W.attr(ne);var te=W.select(".js-link-to-tool"),Z=W.select(".js-link-spacer"),X=W.select(".js-sourcelinks");U._context.showSources&&U._context.showSources(U),U._context.showLink&&function(Q,re){re.text("");var ie=re.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(Q._context.linkText+" "+String.fromCharCode(187));if(Q._context.sendData)ie.on("click",function(){k.sendDataToCloud(Q)});else{var oe=window.location.pathname.split("/"),ue=window.location.search;ie.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+oe[2].split(".")[0]+"/"+oe[1]+ue})}}(U,te),Z.text(te.text()&&X.text()?" - ":"")}},k.sendDataToCloud=function(U){var G=(window.PLOTLYENV||{}).BASE_URL||U._context.plotlyServerURL;if(G){U.emit("plotly_beforeexport");var W=d.select(U).append("div").attr("id","hiddenform").style("display","none"),H=W.append("form").attr({action:G+"/external",method:"post",target:"_blank"});return H.append("input").attr({type:"text",name:"data"}).node().value=k.graphJson(U,!1,"keepdata"),H.node().submit(),W.remove(),U.emit("plotly_afterexport"),!1}};var A=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],L=["year","month","dayMonth","dayMonthYear"];function b(U,G){var W=U._context.locale;W||(W="en-US");var H=!1,ne={};function te(oe){for(var ue=!0,ce=0;ce1&&Se.length>1){for(g.getComponentMethod("grid","sizeDefaults")(Z,te),ne=0;ne15&&Se.length>15&&te.shapes.length===0&&te.images.length===0,k.linkSubplots(Q,te,X,H),k.cleanPlot(Q,te,X,H);var ke=!(!H._has||!H._has("gl2d")),Le=!(!te._has||!te._has("gl2d")),Be=!(!H._has||!H._has("cartesian"))||ke,ze=!(!te._has||!te._has("cartesian"))||Le;Be&&!ze?H._bgLayer.remove():ze&&!Be&&(te._shouldCreateBgLayer=!0),H._zoomlayer&&!U._dragging&&h({_fullLayout:H}),function(Ee,Ve){var Ye,$e=[];Ve.meta&&(Ye=Ve._meta={meta:Ve.meta,layout:{meta:Ve.meta}});for(var st=0;st0){var re=1-2*Z;H=Math.round(re*H),ne=Math.round(re*ne)}}var ie=k.layoutAttributes.width.min,oe=k.layoutAttributes.height.min;H1,ce=!G.height&&Math.abs(W.height-ne)>1;(ce||ue)&&(ue&&(W.width=H),ce&&(W.height=ne)),U._initialAutoSize||(U._initialAutoSize={width:H,height:ne}),k.sanitizeMargins(W)},k.supplyLayoutModuleDefaults=function(U,G,W,H){var ne,te,Z,X=g.componentsRegistry,Q=G._basePlotModules,re=g.subplotsRegistry.cartesian;for(ne in X)(Z=X[ne]).includeBasePlot&&Z.includeBasePlot(U,G);for(var ie in Q.length||Q.push(re),G._has("cartesian")&&(g.getComponentMethod("grid","contentDefaults")(U,G),re.finalizeSubplots(U,G)),G._subplots)G._subplots[ie].sort(a.subplotSort);for(te=0;te1&&(W.l/=me,W.r/=me)}if(ue){var pe=(W.t+W.b)/ue;pe>1&&(W.t/=pe,W.b/=pe)}var xe=W.xl!==void 0?W.xl:W.x,Pe=W.xr!==void 0?W.xr:W.x,_e=W.yt!==void 0?W.yt:W.y,Me=W.yb!==void 0?W.yb:W.y;ce[G]={l:{val:xe,size:W.l+de},r:{val:Pe,size:W.r+de},b:{val:Me,size:W.b+de},t:{val:_e,size:W.t+de}},ye[G]=1}else delete ce[G],delete ye[G];if(!H._replotting)return k.doAutoMargin(U)}},k.doAutoMargin=function(U){var G=U._fullLayout,W=G.width,H=G.height;G._size||(G._size={}),F(G);var ne=G._size,te=G.margin,Z={t:0,b:0,l:0,r:0},X=a.extendFlat({},ne),Q=U._fullLayout._reservedMargin;for(var re in Q)for(var ie in Q[re]){var oe=Q[re][ie];Z[ie]=Math.max(Z[ie],oe)}var ue=te.l,ce=te.r,ye=te.t,de=te.b,me=G._pushmargin,pe=G._pushmarginIds,xe=G.minreducedwidth,Pe=G.minreducedheight;if(G.margin.autoexpand!==!1){for(var _e in me)pe[_e]||delete me[_e];for(var Me in me.base={l:{val:0,size:ue},r:{val:1,size:ce},t:{val:1,size:ye},b:{val:0,size:de}},me){var Se=me[Me].l||{},Ce=me[Me].b||{},ae=Se.val,he=Se.size,be=Ce.val,ke=Ce.size,Le=W-Z.r-Z.l,Be=H-Z.t-Z.b;for(var ze in me){if(M(he)&&me[ze].r){var je=me[ze].r.val,ge=me[ze].r.size;if(je>ae){var we=(he*je+(ge-Le)*ae)/(je-ae),Ee=(ge*(1-ae)+(he-Le)*(1-je))/(je-ae);we+Ee>ue+ce&&(ue=we,ce=Ee)}}if(M(ke)&&me[ze].t){var Ve=me[ze].t.val,Ye=me[ze].t.size;if(Ve>be){var $e=(ke*Ve+(Ye-Be)*be)/(Ve-be),st=(Ye*(1-be)+(ke-Be)*(1-Ve))/(Ve-be);$e+st>de+ye&&(de=$e,ye=st)}}}}}var ot=a.constrain(W-te.l-te.r,2,xe),ft=a.constrain(H-te.t-te.b,2,Pe),bt=Math.max(0,W-ot),Et=Math.max(0,H-ft);if(bt){var kt=(ue+ce)/bt;kt>1&&(ue/=kt,ce/=kt)}if(Et){var xt=(de+ye)/Et;xt>1&&(de/=xt,ye/=xt)}if(ne.l=Math.round(ue)+Z.l,ne.r=Math.round(ce)+Z.r,ne.t=Math.round(ye)+Z.t,ne.b=Math.round(de)+Z.b,ne.p=Math.round(te.pad),ne.w=Math.round(W)-ne.l-ne.r,ne.h=Math.round(H)-ne.t-ne.b,!G._replotting&&(k.didMarginChange(X,ne)||function(Dt){if("_redrawFromAutoMarginCount"in Dt._fullLayout)return!1;var Bt=l.list(Dt,"",!0);for(var Wt in Bt)if(Bt[Wt].autoshift||Bt[Wt].shift)return!0;return!1}(U))){"_redrawFromAutoMarginCount"in G?G._redrawFromAutoMarginCount++:G._redrawFromAutoMarginCount=1;var Ft=3*(1+Object.keys(pe).length);if(G._redrawFromAutoMarginCount0&&(U._transitioningWithDuration=!0),U._transitionData._interruptCallbacks.push(function(){H=!0}),W.redraw&&U._transitionData._interruptCallbacks.push(function(){return g.call("redraw",U)}),U._transitionData._interruptCallbacks.push(function(){U.emit("plotly_transitioninterrupted",[])});var X=0,Q=0;function re(){return X++,function(){var ie;Q++,H||Q!==X||(ie=Z,U._transitionData&&(function(oe){if(oe)for(;oe.length;)oe.shift()}(U._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(W.redraw)return g.call("redraw",U)}).then(function(){U._transitioning=!1,U._transitioningWithDuration=!1,U.emit("plotly_transitioned",[])}).then(ie)))}}W.runFn(re),setTimeout(re())})}],te=a.syncOrAsync(ne,U);return te&&te.then||(te=Promise.resolve()),te.then(function(){return U})}k.didMarginChange=function(U,G){for(var W=0;W1)return!0}return!1},k.graphJson=function(U,G,W,H,ne,te){(ne&&G&&!U._fullData||ne&&!G&&!U._fullLayout)&&k.supplyDefaults(U);var Z=ne?U._fullData:U.data,X=ne?U._fullLayout:U.layout,Q=(U._transitionData||{})._frames;function re(ue,ce){if(typeof ue=="function")return ce?"_function_":null;if(a.isPlainObject(ue)){var ye,de={};return Object.keys(ue).sort().forEach(function(me){if(["_","["].indexOf(me.charAt(0))===-1)if(typeof ue[me]!="function"){if(W==="keepdata"){if(me.substr(me.length-3)==="src")return}else if(W==="keepstream"){if(typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0&&!a.isPlainObject(ue.stream))return}else if(W!=="keepall"&&typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0)return;de[me]=re(ue[me],ce)}else ce&&(de[me]="_function")}),de}return Array.isArray(ue)?ue.map(function(me){return re(me,ce)}):a.isTypedArray(ue)?a.simpleMap(ue,a.identity):a.isJSDate(ue)?a.ms2DateTimeLocal(+ue):ue}var ie={data:(Z||[]).map(function(ue){var ce=re(ue);return G&&delete ce.fit,ce})};if(!G&&(ie.layout=re(X),ne)){var oe=X._size;ie.layout.computed={margin:{b:oe.b,l:oe.l,r:oe.r,t:oe.t}}}return Q&&(ie.frames=re(Q)),te&&(ie.config=re(U._context,!0)),H==="object"?ie:JSON.stringify(ie)},k.modifyFrames=function(U,G){var W,H,ne,te=U._transitionData._frames,Z=U._transitionData._frameHash;for(W=0;W=0;te--)if(Me[te].enabled){W._indexToPoints=Me[te]._indexToPoints;break}H&&H.calc&&(_e=H.calc(U,W))}Array.isArray(_e)&&_e[0]||(_e=[{x:s,y:s}]),_e[0].t||(_e[0].t={}),_e[0].trace=W,re[xe]=_e}}for(j(Z,X,Q),ne=0;ne1e-10?l:0}function s(l,h,f){h=h||0,f=f||0;for(var m=l.length,_=new Array(m),y=0;y0?y:1/0}),m=d.mod(f+1,h.length);return[h[f],h[m]]},findIntersectionXY:u,findXYatLength:function(l,h,f,m){var _=-h*f,y=h*h+1,C=2*(h*_-f),w=_*_+f*f-l*l,k=Math.sqrt(C*C-4*y*w),E=(-C+k)/(2*y),T=(-C-k)/(2*y);return[[E,h*E+_+m],[T,h*T+_+m]]},clampTiny:c,pathPolygon:function(l,h,f,m,_,y){return"M"+s(a(l,h,f,m),_,y).join("L")},pathPolygonAnnulus:function(l,h,f,m,_,y,C){var w,k;l=90||kt>90&&xt>=450?1:Dt<=0&&Wt<=0?0:Math.max(Dt,Wt),[kt<=180&&xt>=180||kt>180&&xt>=540?-1:Ft>=0&&Bt>=0?0:Math.min(Ft,Bt),kt<=270&&xt>=270||kt>270&&xt>=630?-1:Dt>=0&&Wt>=0?0:Math.min(Dt,Wt),xt>=360?1:Ft<=0&&Bt<=0?0:Math.max(Ft,Bt),ft]}(pe),ae=Ce[2]-Ce[0],he=Ce[3]-Ce[1],be=me/de,ke=Math.abs(he/ae);be>ke?(xe=de,Se=(me-(Pe=de*ke))/ie.h/2,_e=[ce[0],ce[1]],Me=[ye[0]+Se,ye[1]-Se]):(Pe=me,Se=(de-(xe=me/ke))/ie.w/2,_e=[ce[0]+Se,ce[1]-Se],Me=[ye[0],ye[1]]),Q.xLength2=xe,Q.yLength2=Pe,Q.xDomain2=_e,Q.yDomain2=Me;var Le,Be=Q.xOffset2=ie.l+ie.w*_e[0],ze=Q.yOffset2=ie.t+ie.h*(1-Me[1]),je=Q.radius=xe/ae,ge=Q.innerRadius=Q.getHole(X)*je,we=Q.cx=Be-je*Ce[0],Ee=Q.cy=ze+je*Ce[3],Ve=Q.cxx=we-Be,Ye=Q.cyy=Ee-ze,$e=oe.side;$e==="counterclockwise"?(Le=$e,$e="top"):$e==="clockwise"&&(Le=$e,$e="bottom"),Q.radialAxis=Q.mockAxis(Z,X,oe,{_id:"x",side:$e,_trueSide:Le,domain:[ge/ie.w,je/ie.w]}),Q.angularAxis=Q.mockAxis(Z,X,ue,{side:"right",domain:[0,Math.PI],autorange:!1}),Q.doAutoRange(Z,X),Q.updateAngularAxis(Z,X),Q.updateRadialAxis(Z,X),Q.updateRadialAxisTitle(Z,X),Q.xaxis=Q.mockCartesianAxis(Z,X,{_id:"x",domain:_e}),Q.yaxis=Q.mockCartesianAxis(Z,X,{_id:"y",domain:Me});var st=Q.pathSubplot();Q.clipPaths.forTraces.select("path").attr("d",st).attr("transform",p(Ve,Ye)),re.frontplot.attr("transform",p(Be,ze)).call(a.setClipUrl,Q._hasClipOnAxisFalse?null:Q.clipIds.forTraces,Q.gd),re.bg.attr("d",st).attr("transform",p(we,Ee)).call(u.fill,X.bgcolor)},W.mockAxis=function(Z,X,Q,re){var ie=M.extendFlat({},Q,re);return h(ie,X,Z),ie},W.mockCartesianAxis=function(Z,X,Q){var re=this,ie=re.isSmith,oe=Q._id,ue=M.extendFlat({type:"linear"},Q);l(ue,Z);var ce={x:[0,2],y:[1,3]};return ue.setRange=function(){var ye=re.sectorBBox,de=ce[oe],me=re.radialAxis._rl,pe=(me[1]-me[0])/(1-re.getHole(X));ue.range=[ye[de[0]]*pe,ye[de[1]]*pe]},ue.isPtWithinRange=oe!=="x"||ie?function(){return!0}:function(ye){return re.isPtInside(ye)},ue.setRange(),ue.setScale(),ue},W.doAutoRange=function(Z,X){var Q=this,re=Q.gd,ie=Q.radialAxis,oe=Q.getRadial(X);f(re,ie);var ue=ie.range;oe.range=ue.slice(),oe._input.range=ue.slice(),ie._rl=[ie.r2l(ue[0],null,"gregorian"),ie.r2l(ue[1],null,"gregorian")]},W.updateRadialAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getRadial(X),me=j(Q.getSector(X)[0],360),pe=Q.radialAxis,xe=ue90&&me<=270&&(pe.tickangle=180);var _e=Pe?function(ze){var je=N(Q,z([ze.x,0]));return p(je[0]-ce,je[1]-ye)}:function(ze){return p(pe.l2p(ze.x)+ue,0)},Me=Pe?function(ze){return B(Q,ze.x,-1/0,1/0)}:function(ze){return Q.pathArc(pe.r2p(ze.x)+ue)},Se=H(de);if(Q.radialTickLayout!==Se&&(ie["radial-axis"].selectAll(".xtick").remove(),Q.radialTickLayout=Se),xe){pe.setScale();var Ce=0,ae=Pe?(pe.tickvals||[]).filter(function(ze){return ze>=0}).map(function(ze){return s.tickText(pe,ze,!0,!1)}):s.calcTicks(pe),he=Pe?ae:s.clipEnds(pe,ae),be=s.getTickSigns(pe)[2];Pe&&((pe.ticks==="top"&&pe.side==="bottom"||pe.ticks==="bottom"&&pe.side==="top")&&(be=-be),pe.ticks==="top"&&pe.side==="top"&&(Ce=-pe.ticklen),pe.ticks==="bottom"&&pe.side==="bottom"&&(Ce=pe.ticklen)),s.drawTicks(re,pe,{vals:ae,layer:ie["radial-axis"],path:s.makeTickPath(pe,0,be),transFn:_e,crisp:!1}),s.drawGrid(re,pe,{vals:he,layer:ie["radial-grid"],path:Me,transFn:M.noop,crisp:!1}),s.drawLabels(re,pe,{vals:ae,layer:ie["radial-axis"],transFn:_e,labelFns:s.makeLabelFns(pe,Ce)})}var ke=Q.radialAxisAngle=Q.vangles?U(ne(Y(de.angle),Q.vangles)):de.angle,Le=p(ce,ye),Be=Le+g(-ke);te(ie["radial-axis"],xe&&(de.showticklabels||de.ticks),{transform:Be}),te(ie["radial-grid"],xe&&de.showgrid,{transform:Pe?"":Le}),te(ie["radial-line"].select("line"),xe&&de.showline,{x1:Pe?-oe:ue,y1:0,x2:oe,y2:0,transform:Be}).attr("stroke-width",de.linewidth).call(u.stroke,de.linecolor)},W.updateRadialAxisTitle=function(Z,X,Q){if(!this.isSmith){var re=this,ie=re.gd,oe=re.radius,ue=re.cx,ce=re.cy,ye=re.getRadial(X),de=re.id+"title",me=0;if(ye.title){var pe=a.bBox(re.layers["radial-axis"].node()).height,xe=ye.title.font.size,Pe=ye.side;me=Pe==="top"?xe:Pe==="counterclockwise"?-(pe+.4*xe):pe+.8*xe}var _e=Q!==void 0?Q:re.radialAxisAngle,Me=Y(_e),Se=Math.cos(Me),Ce=Math.sin(Me),ae=ue+oe/2*Se+me*Ce,he=ce-oe/2*Ce+me*Se;re.layers["radial-axis-title"]=C.draw(ie,de,{propContainer:ye,propName:re.id+".radialaxis.title",placeholder:q(ie,"Click to enter radial axis title"),attributes:{x:ae,y:he,"text-anchor":"middle"},transform:{rotate:-_e}})}},W.updateAngularAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getAngular(X),me=Q.angularAxis,pe=Q.isSmith;pe||(Q.fillViewInitialKey("angularaxis.rotation",de.rotation),me.setGeometry(),me.setScale());var xe=pe?function(ze){var je=N(Q,z([0,ze.x]));return Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2}:function(ze){return me.t2g(ze.x)};me.type==="linear"&&me.thetaunit==="radians"&&(me.tick0=U(me.tick0),me.dtick=U(me.dtick));var Pe=function(ze){return p(ce+oe*Math.cos(ze),ye-oe*Math.sin(ze))},_e=pe?function(ze){var je=N(Q,z([0,ze.x]));return p(je[0],je[1])}:function(ze){return Pe(xe(ze))},Me=pe?function(ze){var je=N(Q,z([0,ze.x])),ge=Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2;return p(je[0],je[1])+g(-U(ge))}:function(ze){var je=xe(ze);return Pe(je)+g(-U(je))},Se=pe?function(ze){return F(Q,ze.x,0,1/0)}:function(ze){var je=xe(ze),ge=Math.cos(je),we=Math.sin(je);return"M"+[ce+ue*ge,ye-ue*we]+"L"+[ce+oe*ge,ye-oe*we]},Ce=s.makeLabelFns(me,0).labelStandoff,ae={xFn:function(ze){var je=xe(ze);return Math.cos(je)*Ce},yFn:function(ze){var je=xe(ze),ge=Math.sin(je)>0?.2:1;return-Math.sin(je)*(Ce+ze.fontSize*ge)+Math.abs(Math.cos(je))*(ze.fontSize*b)},anchorFn:function(ze){var je=xe(ze),ge=Math.cos(je);return Math.abs(ge)<.1?"middle":ge>0?"start":"end"},heightFn:function(ze,je,ge){var we=xe(ze);return-.5*(1+Math.sin(we))*ge}},he=H(de);Q.angularTickLayout!==he&&(ie["angular-axis"].selectAll("."+me._id+"tick").remove(),Q.angularTickLayout=he);var be,ke=pe?[1/0].concat(me.tickvals||[]).map(function(ze){return s.tickText(me,ze,!0,!1)}):s.calcTicks(me);if(pe&&(ke[0].text="∞",ke[0].fontSize*=1.75),X.gridshape==="linear"?(be=ke.map(xe),M.angleDelta(be[0],be[1])<0&&(be=be.slice().reverse())):be=null,Q.vangles=be,me.type==="category"&&(ke=ke.filter(function(ze){return M.isAngleInsideSector(xe(ze),Q.sectorInRad)})),me.visible){var Le=me.ticks==="inside"?-1:1,Be=(me.linewidth||1)/2;s.drawTicks(re,me,{vals:ke,layer:ie["angular-axis"],path:"M"+Le*Be+",0h"+Le*me.ticklen,transFn:Me,crisp:!1}),s.drawGrid(re,me,{vals:ke,layer:ie["angular-grid"],path:Se,transFn:M.noop,crisp:!1}),s.drawLabels(re,me,{vals:ke,layer:ie["angular-axis"],repositionOnUpdate:!0,transFn:_e,labelFns:ae})}te(ie["angular-line"].select("path"),de.showline,{d:Q.pathSubplot(),transform:p(ce,ye)}).attr("stroke-width",de.linewidth).call(u.stroke,de.linecolor)},W.updateFx=function(Z,X){this.gd._context.staticPlot||(!this.isSmith&&(this.updateAngularDrag(Z),this.updateRadialDrag(Z,X,0),this.updateRadialDrag(Z,X,1)),this.updateHoverAndMainDrag(Z))},W.updateHoverAndMainDrag=function(Z){var X,Q,re=this,ie=re.isSmith,oe=re.gd,ue=re.layers,ce=Z._zoomlayer,ye=O.MINZOOM,de=O.OFFEDGE,me=re.radius,pe=re.innerRadius,xe=re.cx,Pe=re.cy,_e=re.cxx,Me=re.cyy,Se=re.sectorInRad,Ce=re.vangles,ae=re.radialAxis,he=I.clampTiny,be=I.findXYatLength,ke=I.findEnclosingVertexAngles,Le=O.cornerHalfWidth,Be=O.cornerLen/2,ze=m.makeDragger(ue,"path","maindrag",Z.dragmode===!1?"none":"crosshair");d.select(ze).attr("d",re.pathSubplot()).attr("transform",p(xe,Pe)),ze.onmousemove=function(Oe){y.hover(oe,Oe,re.id),oe._fullLayout._lasthover=ze,oe._fullLayout._hoversubplot=re.id},ze.onmouseout=function(Oe){oe._dragging||_.unhover(oe,Oe)};var je,ge,we,Ee,Ve,Ye,$e,st,ot,ft={element:ze,gd:oe,subplot:re.id,plotinfo:{id:re.id,xaxis:re.xaxis,yaxis:re.yaxis},xaxes:[re.xaxis],yaxes:[re.yaxis]};function bt(Oe,Ne){return Math.sqrt(Oe*Oe+Ne*Ne)}function Et(Oe,Ne){return bt(Oe-_e,Ne-Me)}function kt(Oe,Ne){return Math.atan2(Me-Ne,Oe-_e)}function xt(Oe,Ne){return[Oe*Math.cos(Ne),Oe*Math.sin(-Ne)]}function Ft(Oe,Ne){if(Oe===0)return re.pathSector(2*Le);var Qe=Be/Oe,ut=Ne-Qe,pt=Ne+Qe,_t=Math.max(0,Math.min(Oe,me)),It=_t-Le,Lt=_t+Le;return"M"+xt(It,ut)+"A"+[It,It]+" 0,0,0 "+xt(It,pt)+"L"+xt(Lt,pt)+"A"+[Lt,Lt]+" 0,0,1 "+xt(Lt,ut)+"Z"}function Dt(Oe,Ne,Qe){if(Oe===0)return re.pathSector(2*Le);var ut,pt,_t=xt(Oe,Ne),It=xt(Oe,Qe),Lt=he((_t[0]+It[0])/2),yt=he((_t[1]+It[1])/2);if(Lt&&yt){var Pt=yt/Lt,wt=-1/Pt,Ot=be(Le,Pt,Lt,yt);ut=be(Be,wt,Ot[0][0],Ot[0][1]),pt=be(Be,wt,Ot[1][0],Ot[1][1])}else{var Nt,$t;yt?(Nt=Be,$t=Le):(Nt=Le,$t=Be),ut=[[Lt-Nt,yt-$t],[Lt+Nt,yt-$t]],pt=[[Lt-Nt,yt+$t],[Lt+Nt,yt+$t]]}return"M"+ut.join("L")+"L"+pt.reverse().join("L")+"Z"}function Bt(Oe,Ne){return Ne=Math.max(Math.min(Ne,me),pe),Oeye?(Oe-1&&Oe===1&&k(Ne,oe,[re.xaxis],[re.yaxis],re.id,ft),Qe.indexOf("event")>-1&&y.click(oe,Ne,re.id)}ft.prepFn=function(Oe,Ne,Qe){var ut=oe._fullLayout.dragmode,pt=ze.getBoundingClientRect();oe._fullLayout._calcInverseTransform(oe);var _t=oe._fullLayout._invTransform;X=oe._fullLayout._invScaleX,Q=oe._fullLayout._invScaleY;var It=M.apply3DTransform(_t)(Ne-pt.left,Qe-pt.top);if(je=It[0],ge=It[1],Ce){var Lt=I.findPolygonOffset(me,Se[0],Se[1],Ce);je+=_e+Lt[0],ge+=Me+Lt[1]}switch(ut){case"zoom":ft.clickFn=ht,ie||(ft.moveFn=Ce?Je:Vt,ft.doneFn=We,function(){we=null,Ee=null,Ve=re.pathSubplot(),Ye=!1;var yt=oe._fullLayout[re.id];$e=v(yt.bgcolor).getLuminance(),(st=m.makeZoombox(ce,$e,xe,Pe,Ve)).attr("fill-rule","evenodd"),ot=m.makeCorners(ce,xe,Pe),E(oe)}());break;case"select":case"lasso":w(Oe,Ne,Qe,ft,ut)}},_.init(ft)},W.updateRadialDrag=function(Z,X,Q){var re=this,ie=re.gd,oe=re.layers,ue=re.radius,ce=re.innerRadius,ye=re.cx,de=re.cy,me=re.radialAxis,pe=O.radialDragBoxSize,xe=pe/2;if(me.visible){var Pe,_e,Me,Se=Y(re.radialAxisAngle),Ce=me._rl,ae=Ce[0],he=Ce[1],be=Ce[Q],ke=.75*(Ce[1]-Ce[0])/(1-re.getHole(X))/ue;Q?(Pe=ye+(ue+xe)*Math.cos(Se),_e=de-(ue+xe)*Math.sin(Se),Me="radialdrag"):(Pe=ye+(ce-xe)*Math.cos(Se),_e=de-(ce-xe)*Math.sin(Se),Me="radialdrag-inner");var Le,Be,ze,je=m.makeRectDragger(oe,Me,"crosshair",-xe,-xe,pe,pe),ge={element:je,gd:ie};Z.dragmode===!1&&(ge.dragmode=!1),te(d.select(je),me.visible&&ce0==(Q?ze>ae:zeh?function(C){return C<=0}:function(C){return C>=0};a.c2g=function(C){var w=a.c2l(C)-l;return(y(w)?w:0)+_},a.g2c=function(C){return a.l2c(C+l-_)},a.g2p=function(C){return C*m},a.c2p=function(C){return a.g2p(a.c2g(C))}}})(g,p);break;case"angularaxis":(function(a,c){var s=a.type;if(s==="linear"){var l=a.d2c,h=a.c2d;a.d2c=function(f,m){return function(_,y){return y==="degrees"?i(_):_}(l(f),m)},a.c2d=function(f,m){return h(function(_,y){return y==="degrees"?M(_):_}(f,m))}}a.makeCalcdata=function(f,m){var _,y,C=f[m],w=f._length,k=function(b){return a.d2c(b,f.thetaunit)};if(C){if(d.isTypedArray(C)&&s==="linear"){if(w===C.length)return C;if(C.subarray)return C.subarray(0,w)}for(_=new Array(w),y=0;y0?1:0}function t(i){var M=i[0],g=i[1];if(!isFinite(M)||!isFinite(g))return[1,0];var p=(M+1)*(M+1)+g*g;return[(M*M+g*g-1)/p,2*g/p]}function d(i,M){var g=M[0],p=M[1];return[g*i.radius+i.cx,-p*i.radius+i.cy]}function v(i,M){return M*i.radius}x.exports={smith:t,reactanceArc:function(i,M,g,p){var u=d(i,t([g,M])),a=u[0],c=u[1],s=d(i,t([p,M])),l=s[0],h=s[1];if(M===0)return["M"+a+","+c,"L"+l+","+h].join(" ");var f=v(i,1/Math.abs(M));return["M"+a+","+c,"A"+f+","+f+" 0 0,"+(M<0?1:0)+" "+l+","+h].join(" ")},resistanceArc:function(i,M,g,p){var u=v(i,1/(M+1)),a=d(i,t([M,g])),c=a[0],s=a[1],l=d(i,t([M,p])),h=l[0],f=l[1];if(o(g)!==o(p)){var m=d(i,t([M,0]));return["M"+c+","+s,"A"+u+","+u+" 0 0,"+(00){for(var p=[],u=0;u=A&&(b.min=0,O.min=0,I.min=0,m.aaxis&&delete m.aaxis.min,m.baxis&&delete m.baxis.min,m.caxis&&delete m.caxis.min)}function f(m,_,y,C){var w=s[_._name];function k(O,I){return i.coerce(m,_,w,O,I)}k("uirevision",C.uirevision),_.type="linear";var E=k("color"),T=E!==w.color.dflt?E:y.font.color,A=_._name.charAt(0).toUpperCase(),L="Component "+A,b=k("title.text",L);_._hovertitle=b===L?b:A,i.coerceFont(k,"title.font",{family:y.font.family,size:i.bigFont(y.font.size),color:T}),k("min"),a(m,_,k,"linear"),p(m,_,k,"linear"),g(m,_,k,"linear"),u(m,_,k,{outerTicks:!0}),k("showticklabels")&&(i.coerceFont(k,"tickfont",{family:y.font.family,size:y.font.size,color:T}),k("tickangle"),k("tickformat")),c(m,_,k,{dfltColor:E,bgColor:y.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:w}),k("hoverformat"),k("layer")}x.exports=function(m,_,y){M(m,_,y,{type:"ternary",attributes:s,handleDefaults:h,font:_.font,paper_bgcolor:_.paper_bgcolor})}},64380:function(x,o,t){var d=t(39898),v=t(84267),i=t(73972),M=t(71828),g=M.strTranslate,p=M._,u=t(7901),a=t(91424),c=t(21994),s=t(1426).extendFlat,l=t(74875),h=t(89298),f=t(28569),m=t(30211),_=t(64505),y=_.freeMode,C=_.rectMode,w=t(92998),k=t(47322).prepSelect,E=t(47322).selectOnClick,T=t(47322).clearOutline,A=t(47322).clearSelectionsCache,L=t(85555);function b(j,Y){this.id=j.id,this.graphDiv=j.graphDiv,this.init(Y),this.makeFramework(Y),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}x.exports=b;var O=b.prototype;O.init=function(j){this.container=j._ternarylayer,this.defs=j._defs,this.layoutId=j._uid,this.traceHash={},this.layers={}},O.plot=function(j,Y){var U=this,G=Y[U.id],W=Y._size;U._hasClipOnAxisFalse=!1;for(var H=0;HI*ce?W=(H=ce)*I:H=(W=ue)/I,ne=ie*W/ue,te=oe*H/ce,U=Y.l+Y.w*Q-W/2,G=Y.t+Y.h*(1-re)-H/2,Z.x0=U,Z.y0=G,Z.w=W,Z.h=H,Z.sum=ye,Z.xaxis={type:"linear",range:[de+2*pe-ye,ye-de-2*me],domain:[Q-ne/2,Q+ne/2],_id:"x"},c(Z.xaxis,Z.graphDiv._fullLayout),Z.xaxis.setScale(),Z.xaxis.isPtWithinRange=function(Le){return Le.a>=Z.aaxis.range[0]&&Le.a<=Z.aaxis.range[1]&&Le.b>=Z.baxis.range[1]&&Le.b<=Z.baxis.range[0]&&Le.c>=Z.caxis.range[1]&&Le.c<=Z.caxis.range[0]},Z.yaxis={type:"linear",range:[de,ye-me-pe],domain:[re-te/2,re+te/2],_id:"y"},c(Z.yaxis,Z.graphDiv._fullLayout),Z.yaxis.setScale(),Z.yaxis.isPtWithinRange=function(){return!0};var xe=Z.yaxis.domain[0],Pe=Z.aaxis=s({},j.aaxis,{range:[de,ye-me-pe],side:"left",tickangle:(+j.aaxis.tickangle||0)-30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:W});c(Pe,Z.graphDiv._fullLayout),Pe.setScale();var _e=Z.baxis=s({},j.baxis,{range:[ye-de-pe,me],side:"bottom",domain:Z.xaxis.domain,anchor:"free",position:0,_id:"x",_length:W});c(_e,Z.graphDiv._fullLayout),_e.setScale();var Me=Z.caxis=s({},j.caxis,{range:[ye-de-me,pe],side:"right",tickangle:(+j.caxis.tickangle||0)+30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:W});c(Me,Z.graphDiv._fullLayout),Me.setScale();var Se="M"+U+","+(G+H)+"h"+W+"l-"+W/2+",-"+H+"Z";Z.clipDef.select("path").attr("d",Se),Z.layers.plotbg.select("path").attr("d",Se);var Ce="M0,"+H+"h"+W+"l-"+W/2+",-"+H+"Z";Z.clipDefRelative.select("path").attr("d",Ce);var ae=g(U,G);Z.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",ae),Z.clipDefRelative.select("path").attr("transform",null);var he=g(U-_e._offset,G+H);Z.layers.baxis.attr("transform",he),Z.layers.bgrid.attr("transform",he);var be=g(U+W/2,G)+"rotate(30)"+g(0,-Pe._offset);Z.layers.aaxis.attr("transform",be),Z.layers.agrid.attr("transform",be);var ke=g(U+W/2,G)+"rotate(-30)"+g(0,-Me._offset);Z.layers.caxis.attr("transform",ke),Z.layers.cgrid.attr("transform",ke),Z.drawAxes(!0),Z.layers.aline.select("path").attr("d",Pe.showline?"M"+U+","+(G+H)+"l"+W/2+",-"+H:"M0,0").call(u.stroke,Pe.linecolor||"#000").style("stroke-width",(Pe.linewidth||0)+"px"),Z.layers.bline.select("path").attr("d",_e.showline?"M"+U+","+(G+H)+"h"+W:"M0,0").call(u.stroke,_e.linecolor||"#000").style("stroke-width",(_e.linewidth||0)+"px"),Z.layers.cline.select("path").attr("d",Me.showline?"M"+(U+W/2)+","+G+"l"+W/2+","+H:"M0,0").call(u.stroke,Me.linecolor||"#000").style("stroke-width",(Me.linewidth||0)+"px"),Z.graphDiv._context.staticPlot||Z.initInteractions(),a.setClipUrl(Z.layers.frontplot,Z._hasClipOnAxisFalse?null:Z.clipId,Z.graphDiv)},O.drawAxes=function(j){var Y=this,U=Y.graphDiv,G=Y.id.substr(7)+"title",W=Y.layers,H=Y.aaxis,ne=Y.baxis,te=Y.caxis;if(Y.drawAx(H),Y.drawAx(ne),Y.drawAx(te),j){var Z=Math.max(H.showticklabels?H.tickfont.size/2:0,(te.showticklabels?.75*te.tickfont.size:0)+(te.ticks==="outside"?.87*te.ticklen:0)),X=(ne.showticklabels?ne.tickfont.size:0)+(ne.ticks==="outside"?ne.ticklen:0)+3;W["a-title"]=w.draw(U,"a"+G,{propContainer:H,propName:Y.id+".aaxis.title",placeholder:p(U,"Click to enter Component A title"),attributes:{x:Y.x0+Y.w/2,y:Y.y0-H.title.font.size/3-Z,"text-anchor":"middle"}}),W["b-title"]=w.draw(U,"b"+G,{propContainer:ne,propName:Y.id+".baxis.title",placeholder:p(U,"Click to enter Component B title"),attributes:{x:Y.x0-X,y:Y.y0+Y.h+.83*ne.title.font.size+X,"text-anchor":"middle"}}),W["c-title"]=w.draw(U,"c"+G,{propContainer:te,propName:Y.id+".caxis.title",placeholder:p(U,"Click to enter Component C title"),attributes:{x:Y.x0+Y.w+X,y:Y.y0+Y.h+.83*te.title.font.size+X,"text-anchor":"middle"}})}},O.drawAx=function(j){var Y,U=this,G=U.graphDiv,W=j._name,H=W.charAt(0),ne=j._id,te=U.layers[W],Z=H+"tickLayout",X=(Y=j).ticks+String(Y.ticklen)+String(Y.showticklabels);U[Z]!==X&&(te.selectAll("."+ne+"tick").remove(),U[Z]=X),j.setScale();var Q=h.calcTicks(j),re=h.clipEnds(j,Q),ie=h.makeTransTickFn(j),oe=h.getTickSigns(j)[2],ue=M.deg2rad(30),ce=oe*(j.linewidth||1)/2,ye=oe*j.ticklen,de=U.w,me=U.h,pe=H==="b"?"M0,"+ce+"l"+Math.sin(ue)*ye+","+Math.cos(ue)*ye:"M"+ce+",0l"+Math.cos(ue)*ye+","+-Math.sin(ue)*ye,xe={a:"M0,0l"+me+",-"+de/2,b:"M0,0l-"+de/2+",-"+me,c:"M0,0l-"+me+","+de/2}[H];h.drawTicks(G,j,{vals:j.ticks==="inside"?re:Q,layer:te,path:pe,transFn:ie,crisp:!1}),h.drawGrid(G,j,{vals:re,layer:U.layers[H+"grid"],path:xe,transFn:ie,crisp:!1}),h.drawLabels(G,j,{vals:Q,layer:te,transFn:ie,labelFns:h.makeLabelFns(j,0,30)})};var R=L.MINZOOM/2+.87,z="m-0.87,.5h"+R+"v3h-"+(R+5.2)+"l"+(R/2+2.6)+",-"+(.87*R+4.5)+"l2.6,1.5l-"+R/2+","+.87*R+"Z",F="m0.87,.5h-"+R+"v3h"+(R+5.2)+"l-"+(R/2+2.6)+",-"+(.87*R+4.5)+"l-2.6,1.5l"+R/2+","+.87*R+"Z",B="m0,1l"+R/2+","+.87*R+"l2.6,-1.5l-"+(R/2+2.6)+",-"+(.87*R+4.5)+"l-"+(R/2+2.6)+","+(.87*R+4.5)+"l2.6,1.5l"+R/2+",-"+.87*R+"Z",N=!0;function q(j){d.select(j).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}O.clearOutline=function(){A(this.dragOptions),T(this.dragOptions.gd)},O.initInteractions=function(){var j,Y,U,G,W,H,ne,te,Z,X,Q,re,ie=this,oe=ie.layers.plotbg.select("path").node(),ue=ie.graphDiv,ce=ue._fullLayout._zoomlayer;function ye(Ce){var ae={};return ae[ie.id+".aaxis.min"]=Ce.a,ae[ie.id+".baxis.min"]=Ce.b,ae[ie.id+".caxis.min"]=Ce.c,ae}function de(Ce,ae){var he=ue._fullLayout.clickmode;q(ue),Ce===2&&(ue.emit("plotly_doubleclick",null),i.call("_guiRelayout",ue,ye({a:0,b:0,c:0}))),he.indexOf("select")>-1&&Ce===1&&E(ae,ue,[ie.xaxis],[ie.yaxis],ie.id,ie.dragOptions),he.indexOf("event")>-1&&m.click(ue,ae,ie.id)}function me(Ce,ae){return 1-ae/ie.h}function pe(Ce,ae){return 1-(Ce+(ie.h-ae)/Math.sqrt(3))/ie.w}function xe(Ce,ae){return(Ce-(ie.h-ae)/Math.sqrt(3))/ie.w}function Pe(Ce,ae){var he=U+Ce*j,be=G+ae*Y,ke=Math.max(0,Math.min(1,me(0,G),me(0,be))),Le=Math.max(0,Math.min(1,pe(U,G),pe(he,be))),Be=Math.max(0,Math.min(1,xe(U,G),xe(he,be))),ze=(ke/2+Be)*ie.w,je=(1-ke/2-Le)*ie.w,ge=(ze+je)/2,we=je-ze,Ee=(1-ke)*ie.h,Ve=Ee-we/I;we.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),re.transition().style("opacity",1).duration(200),X=!0),ue.emit("plotly_relayouting",ye(ne))}function _e(){q(ue),ne!==W&&(i.call("_guiRelayout",ue,ye(ne)),N&&ue.data&&ue._context.showTips&&(M.notifier(p(ue,"Double-click to zoom back out"),"long"),N=!1))}function Me(Ce,ae){var he=Ce/ie.xaxis._m,be=ae/ie.yaxis._m,ke=[(ne={a:W.a-be,b:W.b+(he+be)/2,c:W.c-(he-be)/2}).a,ne.b,ne.c].sort(M.sorterAsc),Le=ke.indexOf(ne.a),Be=ke.indexOf(ne.b),ze=ke.indexOf(ne.c);ke[0]<0&&(ke[1]+ke[0]/2<0?(ke[2]+=ke[0]+ke[1],ke[0]=ke[1]=0):(ke[2]+=ke[0]/2,ke[1]+=ke[0]/2,ke[0]=0),ne={a:ke[Le],b:ke[Be],c:ke[ze]},ae=(W.a-ne.a)*ie.yaxis._m,Ce=(W.c-ne.c-W.b+ne.b)*ie.xaxis._m);var je=g(ie.x0+Ce,ie.y0+ae);ie.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",je);var ge=g(-Ce,-ae);ie.clipDefRelative.select("path").attr("transform",ge),ie.aaxis.range=[ne.a,ie.sum-ne.b-ne.c],ie.baxis.range=[ie.sum-ne.a-ne.c,ne.b],ie.caxis.range=[ie.sum-ne.a-ne.b,ne.c],ie.drawAxes(!1),ie._hasClipOnAxisFalse&&ie.plotContainer.select(".scatterlayer").selectAll(".trace").call(a.hideOutsideRangePoints,ie),ue.emit("plotly_relayouting",ye(ne))}function Se(){i.call("_guiRelayout",ue,ye(ne))}this.dragOptions={element:oe,gd:ue,plotinfo:{id:ie.id,domain:ue._fullLayout[ie.id].domain,xaxis:ie.xaxis,yaxis:ie.yaxis},subplot:ie.id,prepFn:function(Ce,ae,he){ie.dragOptions.xaxes=[ie.xaxis],ie.dragOptions.yaxes=[ie.yaxis],j=ue._fullLayout._invScaleX,Y=ue._fullLayout._invScaleY;var be=ie.dragOptions.dragmode=ue._fullLayout.dragmode;y(be)?ie.dragOptions.minDrag=1:ie.dragOptions.minDrag=void 0,be==="zoom"?(ie.dragOptions.moveFn=Pe,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=_e,function(ke,Le,Be){var ze=oe.getBoundingClientRect();U=Le-ze.left,G=Be-ze.top,ue._fullLayout._calcInverseTransform(ue);var je=ue._fullLayout._invTransform,ge=M.apply3DTransform(je)(U,G);U=ge[0],G=ge[1],W={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=W,H=ie.aaxis.range[1]-W.a,te=v(ie.graphDiv._fullLayout[ie.id].bgcolor).getLuminance(),Z="M0,"+ie.h+"L"+ie.w/2+", 0L"+ie.w+","+ie.h+"Z",X=!1,Q=ce.append("path").attr("class","zoombox").attr("transform",g(ie.x0,ie.y0)).style({fill:te>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",Z),re=ce.append("path").attr("class","zoombox-corners").attr("transform",g(ie.x0,ie.y0)).style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),ie.clearOutline(ue)}(0,ae,he)):be==="pan"?(ie.dragOptions.moveFn=Me,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=Se,W={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=W,ie.clearOutline(ue)):(C(be)||y(be))&&k(Ce,ae,he,ie.dragOptions,be)}},oe.onmousemove=function(Ce){m.hover(ue,Ce,ie.id),ue._fullLayout._lasthover=oe,ue._fullLayout._hoversubplot=ie.id},oe.onmouseout=function(Ce){ue._dragging||f.unhover(ue,Ce)},f.init(this.dragOptions)}},73972:function(x,o,t){var d=t(47769),v=t(64213),i=t(75138),M=t(41965),g=t(24401).addStyleRule,p=t(1426),u=t(9012),a=t(10820),c=p.extendFlat,s=p.extendDeepAll;function l(E){var T=E.name,A=E.categories,L=E.meta;if(o.modules[T])d.log("Type "+T+" already registered");else{o.subplotsRegistry[E.basePlotModule.name]||function(N){var q=N.name;if(o.subplotsRegistry[q])d.log("Plot type "+q+" already registered.");else for(var j in _(N),o.subplotsRegistry[q]=N,o.componentsRegistry)w(j,N.name)}(E.basePlotModule);for(var b={},O=0;O-1&&(f[_[a]].title={text:""});for(a=0;a")!==-1?"":O.html(R).text()});return O.remove(),I}(L)).replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(a,"'"),v.isIE()&&(L=(L=(L=L.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),L}},75341:function(x,o,t){var d=t(71828);x.exports=function(v,i){for(var M=0;MI+b||!d(O))}for(var z=0;za))return g}return p!==void 0?p:M.dflt},o.coerceColor=function(M,g,p){return v(g).isValid()?g:p!==void 0?p:M.dflt},o.coerceEnumerated=function(M,g,p){return M.coerceNumber&&(g=+g),M.values.indexOf(g)!==-1?g:p!==void 0?p:M.dflt},o.getValue=function(M,g){var p;return Array.isArray(M)?g0?ye+=de:y<0&&(ye-=de)}return ye}function te(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,R+(me-ye)/(me-de)-1)}var Z=s[C+"a"],X=s[w+"a"];T=Math.abs(Z.r2c(Z.range[1])-Z.r2c(Z.range[0]));var Q=d.getDistanceFunction(f,k,E,function(ce){return(k(ce)+E(ce))/2});if(d.getClosest(A,Q,s),s.index!==!1&&A[s.index].p!==u){B||(U=function(ce){return Math.min(N(ce),ce.p-b.bargroupwidth/2)},G=function(ce){return Math.max(q(ce),ce.p+b.bargroupwidth/2)});var re=A[s.index],ie=L.base?re.b+re.s:re.s;s[w+"0"]=s[w+"1"]=X.c2p(re[w],!0),s[w+"LabelVal"]=ie;var oe=b.extents[b.extents.round(re.p)];s[C+"0"]=Z.c2p(O?U(re):oe[0],!0),s[C+"1"]=Z.c2p(O?G(re):oe[1],!0);var ue=re.orig_p!==void 0;return s[C+"LabelVal"]=ue?re.orig_p:re.p,s.labelLabel=p(Z,s[C+"LabelVal"],L[C+"hoverformat"]),s.valueLabel=p(X,s[w+"LabelVal"],L[w+"hoverformat"]),s.baseLabel=p(X,re.b,L[w+"hoverformat"]),s.spikeDistance=(function(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,z+(me-ye)/(me-de)-1)}(re)+function(ce){return W(N(ce),q(ce),z)}(re))/2,s[C+"Spike"]=Z.c2p(re.p,!0),M(re,L,s),s.hovertemplate=L.hovertemplate,s}}function c(s,l){var h=l.mcc||s.marker.color,f=l.mlcc||s.marker.line.color,m=g(s,l);return i.opacity(h)?h:i.opacity(f)&&m?f:void 0}x.exports={hoverPoints:function(s,l,h,f,m){var _=a(s,l,h,f,m);if(_){var y=_.cd,C=y[0].trace,w=y[_.index];return _.color=c(C,w),v.getComponentMethod("errorbars","hoverInfo")(w,C,_),[_]}},hoverOnBars:a,getTraceColor:c}},60822:function(x,o,t){x.exports={attributes:t(1486),layoutAttributes:t(43641),supplyDefaults:t(90769).supplyDefaults,crossTraceDefaults:t(90769).crossTraceDefaults,supplyLayoutDefaults:t(13957),calc:t(92290),crossTraceCalc:t(11661).crossTraceCalc,colorbar:t(4898),arraysToCalcdata:t(75341),plot:t(17295).plot,style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(95423).hoverPoints,eventData:t(58065),selectPoints:t(81974),moduleType:"trace",name:"bar",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},43641:function(x){x.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"}}},13957:function(x,o,t){var d=t(73972),v=t(89298),i=t(71828),M=t(43641);x.exports=function(g,p,u){function a(C,w){return i.coerce(g,p,M,C,w)}for(var c=!1,s=!1,l=!1,h={},f=a("barmode"),m=0;m0}function O(z){return z==="auto"?0:z}function I(z,F){var B=Math.PI/180*F,N=Math.abs(Math.sin(B)),q=Math.abs(Math.cos(B));return{x:z.width*q+z.height*N,y:z.width*N+z.height*q}}function R(z,F,B,N,q,j){var Y=!!j.isHorizontal,U=!!j.constrained,G=j.angle||0,W=j.anchor||"end",H=W==="end",ne=W==="start",te=((j.leftToRight||0)+1)/2,Z=1-te,X=q.width,Q=q.height,re=Math.abs(F-z),ie=Math.abs(N-B),oe=re>2*k&&ie>2*k?k:0;re-=2*oe,ie-=2*oe;var ue=O(G);G!=="auto"||X<=re&&Q<=ie||!(X>re||Q>ie)||(X>ie||Q>re)&&X.01?Be:function(we,Ee,Ve){return Ve&&we===Ee?we:Math.abs(we-Ee)>=2?Be(we):we>Ee?Math.ceil(we):Math.floor(we)};Ce=ze(Ce,ae,oe),ae=ze(ae,Ce,oe),he=ze(he,be,!oe),be=ze(be,he,!oe)}var je=L(i.ensureSingle(Me,"path"),G,q,j);if(je.style("vector-effect",W?"none":"non-scaling-stroke").attr("d",isNaN((ae-Ce)*(be-he))||ke&&z._context.staticPlot?"M0,0Z":"M"+Ce+","+he+"V"+be+"H"+ae+"V"+he+"Z").call(p.setClipUrl,F.layerClipId,z),!G.uniformtext.mode&&ue){var ge=p.makePointStyleFns(Z);p.singlePointStyle(pe,je,Z,ge,z)}(function(we,Ee,Ve,Ye,$e,st,ot,ft,bt,Et,kt){var xt,Ft=Ee.xaxis,Dt=Ee.yaxis,Bt=we._fullLayout;function Wt(Qt,rn,xn){return i.ensureSingle(Qt,"text").text(rn).attr({class:"bartext bartext-"+xt,"text-anchor":"middle","data-notex":1}).call(p.font,xn).call(M.convertToTspans,we)}var Vt=Ye[0].trace,Ke=Vt.orientation==="h",Je=function(Qt,rn,xn,un,An){var Yn,kn=rn[0].trace;return Yn=kn.texttemplate?function(sn,Tn,dn,pn,Rn){var In=Tn[0].trace,jn=i.castOption(In,dn,"texttemplate");if(!jn)return"";var Gn,Wn,ur,rr,Lr=In.type==="histogram",br=In.type==="waterfall",or=In.type==="funnel",yr=In.orientation==="h";function wr(Zn){return a(rr,rr.c2l(Zn),!0).text}yr?(Gn="y",Wn=Rn,ur="x",rr=pn):(Gn="x",Wn=pn,ur="y",rr=Rn);var Kt,bn=Tn[dn],On={};On.label=bn.p,On.labelLabel=On[Gn+"Label"]=(Kt=bn.p,a(Wn,Wn.c2l(Kt),!0).text);var Ln=i.castOption(In,bn.i,"text");(Ln===0||Ln)&&(On.text=Ln),On.value=bn.s,On.valueLabel=On[ur+"Label"]=wr(bn.s);var Un={};w(Un,In,bn.i),(Lr||Un.x===void 0)&&(Un.x=yr?On.value:On.label),(Lr||Un.y===void 0)&&(Un.y=yr?On.label:On.value),(Lr||Un.xLabel===void 0)&&(Un.xLabel=yr?On.valueLabel:On.labelLabel),(Lr||Un.yLabel===void 0)&&(Un.yLabel=yr?On.labelLabel:On.valueLabel),br&&(On.delta=+bn.rawS||bn.s,On.deltaLabel=wr(On.delta),On.final=bn.v,On.finalLabel=wr(On.final),On.initial=On.final-On.delta,On.initialLabel=wr(On.initial)),or&&(On.value=bn.s,On.valueLabel=wr(On.value),On.percentInitial=bn.begR,On.percentInitialLabel=i.formatPercent(bn.begR),On.percentPrevious=bn.difR,On.percentPreviousLabel=i.formatPercent(bn.difR),On.percentTotal=bn.sumR,On.percenTotalLabel=i.formatPercent(bn.sumR));var Jn=i.castOption(In,bn.i,"customdata");return Jn&&(On.customdata=Jn),i.texttemplateString(jn,On,sn._d3locale,Un,On,In._meta||{})}(Qt,rn,xn,un,An):kn.textinfo?function(sn,Tn,dn,pn){var Rn=sn[0].trace,In=Rn.orientation==="h",jn=Rn.type==="waterfall",Gn=Rn.type==="funnel";function Wn(Jn){return a(In?dn:pn,+Jn,!0).text}var ur,rr,Lr=Rn.textinfo,br=sn[Tn],or=Lr.split("+"),yr=[],wr=function(Jn){return or.indexOf(Jn)!==-1};if(wr("label")&&yr.push((rr=sn[Tn].p,a(In?pn:dn,rr,!0).text)),wr("text")&&((ur=i.castOption(Rn,br.i,"text"))===0||ur)&&yr.push(ur),jn){var Kt=+br.rawS||br.s,bn=br.v,On=bn-Kt;wr("initial")&&yr.push(Wn(On)),wr("delta")&&yr.push(Wn(Kt)),wr("final")&&yr.push(Wn(bn))}if(Gn){wr("value")&&yr.push(Wn(br.s));var Ln=0;wr("percent initial")&&Ln++,wr("percent previous")&&Ln++,wr("percent total")&&Ln++;var Un=Ln>1;wr("percent initial")&&(ur=i.formatPercent(br.begR),Un&&(ur+=" of initial"),yr.push(ur)),wr("percent previous")&&(ur=i.formatPercent(br.difR),Un&&(ur+=" of previous"),yr.push(ur)),wr("percent total")&&(ur=i.formatPercent(br.sumR),Un&&(ur+=" of total"),yr.push(ur))}return yr.join("
")}(rn,xn,un,An):f.getValue(kn.text,xn),f.coerceString(y,Yn)}(Bt,Ye,$e,Ft,Dt);xt=function(Qt,rn){var xn=f.getValue(Qt.textposition,rn);return f.coerceEnumerated(C,xn)}(Vt,$e);var We=Et.mode==="stack"||Et.mode==="relative",nt=Ye[$e],ht=!We||nt._outmost;if(Je&&xt!=="none"&&(!nt.isBlank&&st!==ot&&ft!==bt||xt!=="auto"&&xt!=="inside")){var Oe=Bt.font,Ne=h.getBarColor(Ye[$e],Vt),Qe=h.getInsideTextFont(Vt,$e,Oe,Ne),ut=h.getOutsideTextFont(Vt,$e,Oe),pt=Ve.datum();Ke?Ft.type==="log"&&pt.s0<=0&&(st=Ft.range[0]0&&yt>0&&(Lt<=wt&&yt<=Ot||Lt<=Ot&&yt<=wt||(Ke?wt>=Lt*(Ot/yt):Ot>=yt*(wt/Lt)))?xt="inside":(xt="outside",_t.remove(),_t=null)):xt="inside"),!_t){var Nt=(_t=Wt(Ve,Je,Pt=i.ensureUniformFontSize(we,xt==="outside"?ut:Qe))).attr("transform");if(_t.attr("transform",""),Lt=(It=p.bBox(_t.node())).width,yt=It.height,_t.attr("transform",Nt),Lt<=0||yt<=0)return void _t.remove()}var $t,qt=Vt.textangle;$t=xt==="outside"?function(Qt,rn,xn,un,An,Yn){var kn,sn=!!Yn.isHorizontal,Tn=!!Yn.constrained,dn=Yn.angle||0,pn=An.width,Rn=An.height,In=Math.abs(rn-Qt),jn=Math.abs(un-xn);kn=sn?jn>2*k?k:0:In>2*k?k:0;var Gn=1;Tn&&(Gn=sn?Math.min(1,jn/Rn):Math.min(1,In/pn));var Wn=O(dn),ur=I(An,Wn),rr=(sn?ur.x:ur.y)/2,Lr=(An.left+An.right)/2,br=(An.top+An.bottom)/2,or=(Qt+rn)/2,yr=(xn+un)/2,wr=0,Kt=0,bn=sn?A(rn,Qt):A(xn,un);return sn?(or=rn-bn*kn,wr=bn*rr):(yr=un+bn*kn,Kt=-bn*rr),{textX:Lr,textY:br,targetX:or,targetY:yr,anchorX:wr,anchorY:Kt,scale:Gn,rotate:Wn}}(st,ot,ft,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="outside",angle:qt}):R(st,ot,ft,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="inside",angle:qt,anchor:Vt.insidetextanchor}),$t.fontSize=Pt.size,s(Vt.type==="histogram"?"bar":Vt.type,$t,Bt),nt.transform=$t;var Xt=L(_t,Bt,Et,kt);i.setTransormAndDisplay(Xt,$t)}else Ve.select("text").remove()})(z,F,Me,ne,xe,Ce,ae,he,be,q,j),F.layerClipId&&p.hideOutsideRangePoint(pe,Me.select("text"),Y,U,Z.xcalendar,Z.ycalendar)});var me=Z.cliponaxis===!1;p.setClipUrl(te,me?null:F.layerClipId,z)});u.getComponentMethod("errorbars","plot")(z,H,F,q)},toMoveInsideBar:R}},81974:function(x){function o(t,d,v,i,M){var g=d.c2p(i?t.s0:t.p0,!0),p=d.c2p(i?t.s1:t.p1,!0),u=v.c2p(i?t.p0:t.s0,!0),a=v.c2p(i?t.p1:t.s1,!0);return M?[(g+p)/2,(u+a)/2]:i?[p,(u+a)/2]:[(g+p)/2,a]}x.exports=function(t,d){var v,i=t.cd,M=t.xaxis,g=t.yaxis,p=i[0].trace,u=p.type==="funnel",a=p.orientation==="h",c=[];if(d===!1)for(v=0;v1||L.bargap===0&&L.bargroupgap===0&&!b[0].trace.marker.line.width)&&d.select(this).attr("shape-rendering","crispEdges")}),T.selectAll("g.points").each(function(b){h(d.select(this),b[0].trace,E)}),g.getComponentMethod("errorbars","style")(T)},styleTextPoints:f,styleOnSelect:function(E,T,A){var L=T[0].trace;L.selectedpoints?function(b,O,I){i.selectedPointStyle(b.selectAll("path"),O),function(R,z,F){R.each(function(B){var N,q=d.select(this);if(B.selected){N=M.ensureUniformFontSize(F,m(q,B,z,F));var j=z.selected.textfont&&z.selected.textfont.color;j&&(N.color=j),i.font(q,N)}else i.selectedTextStyle(q,z)})}(b.selectAll("text"),O,I)}(A,L,E):(h(A,L,E),g.getComponentMethod("errorbars","style")(A))},getInsideTextFont:y,getOutsideTextFont:C,getBarColor:k,resizeText:p}},98340:function(x,o,t){var d=t(7901),v=t(52075).hasColorscale,i=t(1586),M=t(71828).coercePattern;x.exports=function(g,p,u,a,c){var s=u("marker.color",a),l=v(g,"marker");l&&i(g,p,c,u,{prefix:"marker.",cLetter:"c"}),u("marker.line.color",d.defaultLine),v(g,"marker.line")&&i(g,p,c,u,{prefix:"marker.line.",cLetter:"c"}),u("marker.line.width"),u("marker.opacity"),M(u,"marker.pattern",s,l),u("selected.marker.color"),u("unselected.marker.color")}},72597:function(x,o,t){var d=t(39898),v=t(71828);function i(M){return"_"+M+"Text_minsize"}x.exports={recordMinTextSize:function(M,g,p){if(p.uniformtext.mode){var u=i(M),a=p.uniformtext.minsize,c=g.scale*g.fontSize;g.hide=cf.range[1]&&(E+=Math.PI),d.getClosest(s,function(L){return y(k,E,[L.rp0,L.rp1],[L.thetag0,L.thetag1],_)?C+Math.min(1,Math.abs(L.thetag1-L.thetag0)/w)-1+(L.rp1-k)/(L.rp1-L.rp0)-1:1/0},u),u.index!==!1){var T=s[u.index];u.x0=u.x1=T.ct[0],u.y0=u.y1=T.ct[1];var A=v.extendFlat({},T,{r:T.s,theta:T.p});return M(T,l,u),g(A,l,h,u),u.hovertemplate=l.hovertemplate,u.color=i(l,T),u.xLabelVal=u.yLabelVal=void 0,T.s<0&&(u.idealAlign="left"),[u]}}},23381:function(x,o,t){x.exports={moduleType:"trace",name:"barpolar",basePlotModule:t(23580),categories:["polar","bar","showLegend"],attributes:t(55023),layoutAttributes:t(40151),supplyDefaults:t(6135),supplyLayoutDefaults:t(19860),calc:t(74692).calc,crossTraceCalc:t(74692).crossTraceCalc,plot:t(60173),colorbar:t(4898),formatLabels:t(98608),style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(27379),selectPoints:t(81974),meta:{}}},40151:function(x){x.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},19860:function(x,o,t){var d=t(71828),v=t(40151);x.exports=function(i,M,g){var p,u={};function a(l,h){return d.coerce(i[p]||{},M[p],v,l,h)}for(var c=0;c0?(L=T,b=A):(L=A,b=T);var O=[g.findEnclosingVertexAngles(L,y.vangles)[0],(L+b)/2,g.findEnclosingVertexAngles(b,y.vangles)[1]];return g.pathPolygonAnnulus(k,E,L,b,O,C,w)}:function(k,E,T,A){return i.pathAnnulus(k,E,T,A,C,w)}}(u),_=u.layers.frontplot.select("g.barlayer");i.makeTraceGroups(_,a,"trace bars").each(function(){var y=d.select(this),C=i.ensureSingle(y,"g","points").selectAll("g.point").data(i.identity);C.enter().append("g").style("vector-effect",c?"none":"non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),C.exit().remove(),C.each(function(w){var k,E=d.select(this),T=w.rp0=h.c2p(w.s0),A=w.rp1=h.c2p(w.s1),L=w.thetag0=f.c2g(w.p0),b=w.thetag1=f.c2g(w.p1);if(v(T)&&v(A)&&v(L)&&v(b)&&T!==A&&L!==b){var O=h.c2g(w.s1),I=(L+b)/2;w.ct=[s.c2p(O*Math.cos(I)),l.c2p(O*Math.sin(I))],k=m(T,A,L,b)}else k="M0,0Z";i.ensureSingle(E,"path").attr("d",k)}),M.setClipUrl(y,u._hasClipOnAxisFalse?u.clipIds.forTraces:null,p)})}},53522:function(x,o,t){var d=t(82196),v=t(1486),i=t(22399),M=t(12663).axisHoverFormat,g=t(5386).fF,p=t(1426).extendFlat,u=d.marker,a=u.line;x.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:d.xperiod,yperiod:d.yperiod,xperiod0:d.xperiod0,yperiod0:d.yperiod0,xperiodalignment:d.xperiodalignment,yperiodalignment:d.yperiodalignment,xhoverformat:M("x"),yhoverformat:M("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"},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:p({},u.symbol,{arrayOk:!1,editType:"plot"}),opacity:p({},u.opacity,{arrayOk:!1,dflt:1,editType:"style"}),angle:p({},u.angle,{arrayOk:!1,editType:"calc"}),size:p({},u.size,{arrayOk:!1,editType:"calc"}),color:p({},u.color,{arrayOk:!1,editType:"style"}),line:{color:p({},a.color,{arrayOk:!1,dflt:i.defaultLine,editType:"style"}),width:p({},a.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:d.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},offsetgroup:v.offsetgroup,alignmentgroup:v.alignmentgroup,selected:{marker:d.selected.marker,editType:"style"},unselected:{marker:d.unselected.marker,editType:"style"},text:p({},d.text,{}),hovertext:p({},d.hovertext,{}),hovertemplate:g({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},48518:function(x,o,t){var d=t(92770),v=t(89298),i=t(42973),M=t(71828),g=t(50606).BADNUM,p=M._;x.exports=function(y,C){var w,k,E,T,A,L,b,O=y._fullLayout,I=v.getFromId(y,C.xaxis||"x"),R=v.getFromId(y,C.yaxis||"y"),z=[],F=C.type==="violin"?"_numViolins":"_numBoxes";C.orientation==="h"?(E=I,T="x",A=R,L="y",b=!!C.yperiodalignment):(E=R,T="y",A=I,L="x",b=!!C.xperiodalignment);var B,N,q,j,Y,U,G=function(Ee,Ve,Ye,$e){var st,ot=Ve+"0"in Ee;if(Ve in Ee||ot&&"d"+Ve in Ee){var ft=Ye.makeCalcdata(Ee,Ve);return[i(Ee,Ye,Ve,ft).vals,ft]}st=ot?Ee[Ve+"0"]:"name"in Ee&&(Ye.type==="category"||d(Ee.name)&&["linear","log"].indexOf(Ye.type)!==-1||M.isDateTime(Ee.name)&&Ye.type==="date")?Ee.name:$e;for(var bt=Ye.type==="multicategory"?Ye.r2c_just_indices(st):Ye.d2c(st,0,Ee[Ve+"calendar"]),Et=Ee._length,kt=new Array(Et),xt=0;xtB.uf};if(C._hasPreCompStats){var Q=C[T],re=function(Ee){return E.d2c((C[Ee]||[])[w])},ie=1/0,oe=-1/0;for(w=0;w=B.q1&&B.q3>=B.med){var ce=re("lowerfence");B.lf=ce!==g&&ce<=B.q1?ce:l(B,q,j);var ye=re("upperfence");B.uf=ye!==g&&ye>=B.q3?ye:h(B,q,j);var de=re("mean");B.mean=de!==g?de:j?M.mean(q,j):(B.q1+B.q3)/2;var me=re("sd");B.sd=de!==g&&me>=0?me:j?M.stdev(q,j,B.mean):B.q3-B.q1,B.lo=f(B),B.uo=m(B);var pe=re("notchspan");pe=pe!==g&&pe>0?pe:_(B,j),B.ln=B.med-pe,B.un=B.med+pe;var xe=B.lf,Pe=B.uf;C.boxpoints&&q.length&&(xe=Math.min(xe,q[0]),Pe=Math.max(Pe,q[j-1])),C.notched&&(xe=Math.min(xe,B.ln),Pe=Math.max(Pe,B.un)),B.min=xe,B.max=Pe}else{var _e;M.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+B.q1,"median = "+B.med,"q3 = "+B.q3].join(` +`)),_e=B.med!==g?B.med:B.q1!==g?B.q3!==g?(B.q1+B.q3)/2:B.q1:B.q3!==g?B.q3:0,B.med=_e,B.q1=B.q3=_e,B.lf=B.uf=_e,B.mean=B.sd=_e,B.ln=B.un=_e,B.min=B.max=_e}ie=Math.min(ie,B.min),oe=Math.max(oe,B.max),B.pts2=N.filter(X),z.push(B)}}C._extremes[E._id]=v.findExtremes(E,[ie,oe],{padded:!0})}else{var Me=E.makeCalcdata(C,T),Se=function(Ee,Ve){for(var Ye=Ee.length,$e=new Array(Ye+1),st=0;st=0&&he0){var je,ge;(B={}).pos=B[L]=te[w],N=B.pts=ae[w].sort(c),j=(q=B[T]=N.map(s)).length,B.min=q[0],B.max=q[j-1],B.mean=M.mean(q,j),B.sd=M.stdev(q,j,B.mean),B.med=M.interp(q,.5),j%2&&(Be||ze)?(Be?(je=q.slice(0,j/2),ge=q.slice(j/2+1)):ze&&(je=q.slice(0,j/2+1),ge=q.slice(j/2)),B.q1=M.interp(je,.5),B.q3=M.interp(ge,.5)):(B.q1=M.interp(q,.25),B.q3=M.interp(q,.75)),B.lf=l(B,q,j),B.uf=h(B,q,j),B.lo=f(B),B.uo=m(B);var we=_(B,j);B.ln=B.med-we,B.un=B.med+we,be=Math.min(be,B.ln),ke=Math.max(ke,B.un),B.pts2=N.filter(X),z.push(B)}C._extremes[E._id]=v.findExtremes(E,C.notched?Me.concat([be,ke]):Me,{padded:!0})}return function(Ee,Ve){if(M.isArrayOrTypedArray(Ve.selectedpoints))for(var Ye=0;Ye0?(z[0].t={num:O[F],dPos:Z,posLetter:L,valLetter:T,labels:{med:p(y,"median:"),min:p(y,"min:"),q1:p(y,"q1:"),q3:p(y,"q3:"),max:p(y,"max:"),mean:C.boxmean==="sd"?p(y,"mean ± σ:"):p(y,"mean:"),lf:p(y,"lower fence:"),uf:p(y,"upper fence:")}},O[F]++,z):[{t:{empty:!0}}]};var u={text:"tx",hovertext:"htx"};function a(y,C,w){for(var k in u)M.isArrayOrTypedArray(C[k])&&(Array.isArray(w)?M.isArrayOrTypedArray(C[k][w[0]])&&(y[u[k]]=C[k][w[0]][w[1]]):y[u[k]]=C[k][w])}function c(y,C){return y.v-C.v}function s(y){return y.v}function l(y,C,w){return w===0?y.q1:Math.min(y.q1,C[Math.min(M.findBin(2.5*y.q1-1.5*y.q3,C,!0)+1,w-1)])}function h(y,C,w){return w===0?y.q3:Math.max(y.q3,C[Math.max(M.findBin(2.5*y.q3-1.5*y.q1,C),0)])}function f(y){return 4*y.q1-3*y.q3}function m(y){return 4*y.q3-3*y.q1}function _(y,C){return C===0?0:1.57*(y.q3-y.q1)/Math.sqrt(C)}},37188:function(x,o,t){var d=t(89298),v=t(71828),i=t(99082).getAxisGroup,M=["v","h"];function g(p,u,a,c){var s,l,h,f=u.calcdata,m=u._fullLayout,_=c._id,y=_.charAt(0),C=[],w=0;for(s=0;s1,L=1-m[p+"gap"],b=1-m[p+"groupgap"];for(s=0;s0){var ue=N.pointpos,ce=N.jitter,ye=N.marker.size/2,de=0;ue+ce>=0&&((de=ie*(ue+ce))>F?(oe=!0,Q=ye,Z=de):de>ne&&(Q=ye,Z=F)),de<=F&&(Z=F);var me=0;ue-ce<=0&&((me=-ie*(ue-ce))>B?(oe=!0,re=ye,X=me):me>te&&(re=ye,X=B)),me<=B&&(X=B)}else Z=F,X=B;var pe=new Array(h.length);for(l=0;l0?(A="v",L=O>0?Math.min(R,I):Math.min(I)):O>0?(A="h",L=Math.min(R)):L=0;if(L){l._length=L;var j=h("orientation",A);l._hasPreCompStats?j==="v"&&O===0?(h("x0",0),h("dx",1)):j==="h"&&b===0&&(h("y0",0),h("dy",1)):j==="v"&&O===0?h("x0"):j==="h"&&b===0&&h("y0"),v.getComponentMethod("calendars","handleTraceDefaults")(s,l,["x","y"],f)}else l.visible=!1}function c(s,l,h,f){var m=f.prefix,_=d.coerce2(s,l,u,"marker.outliercolor"),y=h("marker.line.outliercolor"),C="outliers";l._hasPreCompStats?C="all":(_||y)&&(C="suspectedoutliers");var w=h(m+"points",C);w?(h("jitter",w==="all"?.3:0),h("pointpos",w==="all"?-1.5:0),h("marker.symbol"),h("marker.opacity"),h("marker.size"),h("marker.angle"),h("marker.color",l.line.color),h("marker.line.color"),h("marker.line.width"),w==="suspectedoutliers"&&(h("marker.line.outliercolor",l.marker.color),h("marker.line.outlierwidth")),h("selected.marker.color"),h("unselected.marker.color"),h("selected.marker.size"),h("unselected.marker.size"),h("text"),h("hovertext")):delete l.marker;var k=h("hoveron");k!=="all"&&k.indexOf("points")===-1||h("hovertemplate"),d.coerceSelectionMarkerOpacity(l,h)}x.exports={supplyDefaults:function(s,l,h,f){function m(T,A){return d.coerce(s,l,u,T,A)}if(a(s,l,m,f),l.visible!==!1){M(s,l,f,m),m("xhoverformat"),m("yhoverformat");var _=l._hasPreCompStats;_&&(m("lowerfence"),m("upperfence")),m("line.color",(s.marker||{}).color||h),m("line.width"),m("fillcolor",i.addOpacity(l.line.color,.5));var y=!1;if(_){var C=m("mean"),w=m("sd");C&&C.length&&(y=!0,w&&w.length&&(y="sd"))}m("boxmean",y),m("whiskerwidth"),m("width"),m("quartilemethod");var k=!1;if(_){var E=m("notchspan");E&&E.length&&(k=!0)}else d.validate(s.notchwidth,u.notchwidth)&&(k=!0);m("notched",k)&&m("notchwidth"),c(s,l,m,{prefix:"box"})}},crossTraceDefaults:function(s,l){var h,f;function m(C){return d.coerce(f._input,f,u,C)}for(var _=0;_w.lo&&(q.so=!0)}return T});C.enter().append("path").classed("point",!0),C.exit().remove(),C.call(i.translatePoints,l,h)}function p(u,a,c,s){var l,h,f=a.val,m=a.pos,_=!!m.rangebreaks,y=s.bPos,C=s.bPosPxOffset||0,w=c.boxmean||(c.meanline||{}).visible;Array.isArray(s.bdPos)?(l=s.bdPos[0],h=s.bdPos[1]):(l=s.bdPos,h=s.bdPos);var k=u.selectAll("path.mean").data(c.type==="box"&&c.boxmean||c.type==="violin"&&c.box.visible&&c.meanline.visible?v.identity:[]);k.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),k.exit().remove(),k.each(function(E){var T=m.c2l(E.pos+y,!0),A=m.l2p(T-l)+C,L=m.l2p(T+h)+C,b=_?(A+L)/2:m.l2p(T)+C,O=f.c2p(E.mean,!0),I=f.c2p(E.mean-E.sd,!0),R=f.c2p(E.mean+E.sd,!0);c.orientation==="h"?d.select(this).attr("d","M"+O+","+A+"V"+L+(w==="sd"?"m0,0L"+I+","+b+"L"+O+","+A+"L"+R+","+b+"Z":"")):d.select(this).attr("d","M"+A+","+O+"H"+L+(w==="sd"?"m0,0L"+b+","+I+"L"+A+","+O+"L"+b+","+R+"Z":""))})}x.exports={plot:function(u,a,c,s){var l=u._context.staticPlot,h=a.xaxis,f=a.yaxis;v.makeTraceGroups(s,c,"trace boxes").each(function(m){var _,y,C=d.select(this),w=m[0],k=w.t,E=w.trace;k.wdPos=k.bdPos*E.whiskerwidth,E.visible!==!0||k.empty?C.remove():(E.orientation==="h"?(_=f,y=h):(_=h,y=f),M(C,{pos:_,val:y},E,k,l),g(C,{x:h,y:f},E,k),p(C,{pos:_,val:y},E,k))})},plotBoxAndWhiskers:M,plotPoints:g,plotBoxMean:p}},24626:function(x){x.exports=function(o,t){var d,v,i=o.cd,M=o.xaxis,g=o.yaxis,p=[];if(t===!1)for(d=0;d=10)return null;for(var g=1/0,p=-1/0,u=i.length,a=0;a0?Math.floor:Math.ceil,j=B>0?Math.ceil:Math.floor,Y=B>0?Math.min:Math.max,U=B>0?Math.max:Math.min,G=q(z+N),W=j(F-N),H=[[h=R(z)]];for(p=G;p*B=0;i--)M[c-i]=o[s][i],g[c-i]=t[s][i];for(p.push({x:M,y:g,bicubic:u}),i=s,M=[],g=[];i>=0;i--)M[s-i]=o[i][0],g[s-i]=t[i][0];return p.push({x:M,y:g,bicubic:a}),p}},20347:function(x,o,t){var d=t(89298),v=t(1426).extendFlat;x.exports=function(i,M,g){var p,u,a,c,s,l,h,f,m,_,y,C,w,k,E=i["_"+M],T=i[M+"axis"],A=T._gridlines=[],L=T._minorgridlines=[],b=T._boundarylines=[],O=i["_"+g],I=i[g+"axis"];T.tickmode==="array"&&(T.tickvals=E.slice());var R=i._xctrl,z=i._yctrl,F=R[0].length,B=R.length,N=i._a.length,q=i._b.length;d.prepTicks(T),T.tickmode==="array"&&delete T.tickvals;var j=T.smoothing?3:1;function Y(G){var W,H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye=[],de=[],me={};if(M==="b")for(H=i.b2j(G),ne=Math.floor(Math.max(0,Math.min(q-2,H))),te=H-ne,me.length=q,me.crossLength=N,me.xy=function(pe){return i.evalxy([],pe,H)},me.dxy=function(pe,xe){return i.dxydi([],pe,ne,xe,te)},W=0;W0&&(ie=i.dxydi([],W-1,ne,0,te),ye.push(Z[0]+ie[0]/3),de.push(Z[1]+ie[1]/3),oe=i.dxydi([],W-1,ne,1,te),ye.push(re[0]-oe[0]/3),de.push(re[1]-oe[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;else for(W=i.a2i(G),X=Math.floor(Math.max(0,Math.min(N-2,W))),Q=W-X,me.length=N,me.crossLength=q,me.xy=function(pe){return i.evalxy([],W,pe)},me.dxy=function(pe,xe){return i.dxydj([],X,pe,Q,xe)},H=0;H0&&(ue=i.dxydj([],X,H-1,Q,0),ye.push(Z[0]+ue[0]/3),de.push(Z[1]+ue[1]/3),ce=i.dxydj([],X,H-1,Q,1),ye.push(re[0]-ce[0]/3),de.push(re[1]-ce[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;return me.axisLetter=M,me.axis=T,me.crossAxis=I,me.value=G,me.constvar=g,me.index=f,me.x=ye,me.y=de,me.smoothing=I.smoothing,me}function U(G){var W,H,ne,te,Z,X=[],Q=[],re={};if(re.length=E.length,re.crossLength=O.length,M==="b")for(ne=Math.max(0,Math.min(q-2,G)),Z=Math.min(1,Math.max(0,G-ne)),re.xy=function(ie){return i.evalxy([],ie,G)},re.dxy=function(ie,oe){return i.dxydi([],ie,ne,oe,Z)},W=0;WE.length-1||A.push(v(U(u),{color:T.gridcolor,width:T.gridwidth,dash:T.griddash}));for(f=l;fE.length-1||y<0||y>E.length-1))for(C=E[a],w=E[y],p=0;pE[E.length-1]||L.push(v(Y(_),{color:T.minorgridcolor,width:T.minorgridwidth,dash:T.minorgriddash}));T.startline&&b.push(v(U(0),{color:T.startlinecolor,width:T.startlinewidth})),T.endline&&b.push(v(U(E.length-1),{color:T.endlinecolor,width:T.endlinewidth}))}else{for(c=5e-15,l=(s=[Math.floor((E[E.length-1]-T.tick0)/T.dtick*(1+c)),Math.ceil((E[0]-T.tick0)/T.dtick/(1+c))].sort(function(G,W){return G-W}))[0],h=s[1],f=l;f<=h;f++)m=T.tick0+T.dtick*f,A.push(v(Y(m),{color:T.gridcolor,width:T.gridwidth,dash:T.griddash}));for(f=l-1;fE[E.length-1]||L.push(v(Y(_),{color:T.minorgridcolor,width:T.minorgridwidth,dash:T.minorgriddash}));T.startline&&b.push(v(Y(E[0]),{color:T.startlinecolor,width:T.startlinewidth})),T.endline&&b.push(v(Y(E[E.length-1]),{color:T.endlinecolor,width:T.endlinewidth}))}}},83311:function(x,o,t){var d=t(89298),v=t(1426).extendFlat;x.exports=function(i,M){var g,p,u,a=M._labels=[],c=M._gridlines;for(g=0;gi.length&&(v=v.slice(0,i.length)):v=[],g=0;g90&&(h-=180,u=-u),{angle:h,flip:u,p:o.c2p(v,t,d),offsetMultplier:a}}},89740:function(x,o,t){var d=t(39898),v=t(91424),i=t(27669),M=t(67961),g=t(11651),p=t(63893),u=t(71828),a=u.strRotate,c=u.strTranslate,s=t(18783);function l(y,C,w,k,E,T,A){var L="const-"+E+"-lines",b=w.selectAll("."+L).data(T);b.enter().append("path").classed(L,!0).style("vector-effect",A?"none":"non-scaling-stroke"),b.each(function(O){var I=O,R=I.x,z=I.y,F=i([],R,y.c2p),B=i([],z,C.c2p),N="M"+M(F,B,I.smoothing);d.select(this).attr("d",N).style("stroke-width",I.width).style("stroke",I.color).style("stroke-dasharray",v.dashStyle(I.dash,I.width)).style("fill","none")}),b.exit().remove()}function h(y,C,w,k,E,T,A,L){var b=T.selectAll("text."+L).data(A);b.enter().append("text").classed(L,!0);var O=0,I={};return b.each(function(R,z){var F;if(R.axis.tickangle==="auto")F=g(k,C,w,R.xy,R.dxy);else{var B=(R.axis.tickangle+180)*Math.PI/180;F=g(k,C,w,R.xy,[Math.cos(B),Math.sin(B)])}z||(I={angle:F.angle,flip:F.flip});var N=(R.endAnchor?-1:1)*F.flip,q=d.select(this).attr({"text-anchor":N>0?"start":"end","data-notex":1}).call(v.font,R.font).text(R.text).call(p.convertToTspans,y),j=v.bBox(this);q.attr("transform",c(F.p[0],F.p[1])+a(F.angle)+c(R.axis.labelpadding*N,.3*j.height)),O=Math.max(O,j.width+R.axis.labelpadding)}),b.exit().remove(),I.maxExtent=O,I}x.exports=function(y,C,w,k){var E=y._context.staticPlot,T=C.xaxis,A=C.yaxis,L=y._fullLayout._clips;u.makeTraceGroups(k,w,"trace").each(function(b){var O=d.select(this),I=b[0],R=I.trace,z=R.aaxis,F=R.baxis,B=u.ensureSingle(O,"g","minorlayer"),N=u.ensureSingle(O,"g","majorlayer"),q=u.ensureSingle(O,"g","boundarylayer"),j=u.ensureSingle(O,"g","labellayer");O.style("opacity",R.opacity),l(T,A,N,0,"a",z._gridlines,!0),l(T,A,N,0,"b",F._gridlines,!0),l(T,A,B,0,"a",z._minorgridlines,!0),l(T,A,B,0,"b",F._minorgridlines,!0),l(T,A,q,0,"a-boundary",z._boundarylines,E),l(T,A,q,0,"b-boundary",F._boundarylines,E);var Y=h(y,T,A,R,0,j,z._labels,"a-label"),U=h(y,T,A,R,0,j,F._labels,"b-label");(function(G,W,H,ne,te,Z,X,Q){var re,ie,oe,ue,ce=u.aggNums(Math.min,null,H.a),ye=u.aggNums(Math.max,null,H.a),de=u.aggNums(Math.min,null,H.b),me=u.aggNums(Math.max,null,H.b);re=.5*(ce+ye),ie=de,oe=H.ab2xy(re,ie,!0),ue=H.dxyda_rough(re,ie),X.angle===void 0&&u.extendFlat(X,g(H,te,Z,oe,H.dxydb_rough(re,ie))),_(G,W,H,0,oe,ue,H.aaxis,te,Z,X,"a-title"),re=ce,ie=.5*(de+me),oe=H.ab2xy(re,ie,!0),ue=H.dxydb_rough(re,ie),Q.angle===void 0&&u.extendFlat(Q,g(H,te,Z,oe,H.dxyda_rough(re,ie))),_(G,W,H,0,oe,ue,H.baxis,te,Z,Q,"b-title")})(y,j,R,0,T,A,Y,U),function(G,W,H,ne,te){var Z,X,Q,re,ie=H.select("#"+G._clipPathId);ie.size()||(ie=H.append("clipPath").classed("carpetclip",!0));var oe=u.ensureSingle(ie,"path","carpetboundary"),ue=W.clipsegments,ce=[];for(re=0;re90&&q<270,Y=d.select(this);Y.text(A.title.text).call(p.convertToTspans,y),j&&(F=(-p.lineCount(Y)+m)*f*N-F),Y.attr("transform",c(B.p[0],B.p[1])+a(B.angle)+c(0,F)).attr("text-anchor","middle").call(v.font,A.title.font)}),z.exit().remove()}},11435:function(x,o,t){var d=t(35509),v=t(65888).findBin,i=t(45664),M=t(20349),g=t(54495),p=t(73057);x.exports=function(u){var a=u._a,c=u._b,s=a.length,l=c.length,h=u.aaxis,f=u.baxis,m=a[0],_=a[s-1],y=c[0],C=c[l-1],w=a[a.length-1]-a[0],k=c[c.length-1]-c[0],E=w*d.RELATIVE_CULL_TOLERANCE,T=k*d.RELATIVE_CULL_TOLERANCE;m-=E,_+=E,y-=T,C+=T,u.isVisible=function(A,L){return A>m&&A<_&&L>y&&L_||LC},u.setScale=function(){var A=u._x,L=u._y,b=i(u._xctrl,u._yctrl,A,L,h.smoothing,f.smoothing);u._xctrl=b[0],u._yctrl=b[1],u.evalxy=M([u._xctrl,u._yctrl],s,l,h.smoothing,f.smoothing),u.dxydi=g([u._xctrl,u._yctrl],h.smoothing,f.smoothing),u.dxydj=p([u._xctrl,u._yctrl],h.smoothing,f.smoothing)},u.i2a=function(A){var L=Math.max(0,Math.floor(A[0]),s-2),b=A[0]-L;return(1-b)*a[L]+b*a[L+1]},u.j2b=function(A){var L=Math.max(0,Math.floor(A[1]),s-2),b=A[1]-L;return(1-b)*c[L]+b*c[L+1]},u.ij2ab=function(A){return[u.i2a(A[0]),u.j2b(A[1])]},u.a2i=function(A){var L=Math.max(0,Math.min(v(A,a),s-2)),b=a[L],O=a[L+1];return Math.max(0,Math.min(s-1,L+(A-b)/(O-b)))},u.b2j=function(A){var L=Math.max(0,Math.min(v(A,c),l-2)),b=c[L],O=c[L+1];return Math.max(0,Math.min(l-1,L+(A-b)/(O-b)))},u.ab2ij=function(A){return[u.a2i(A[0]),u.b2j(A[1])]},u.i2c=function(A,L){return u.evalxy([],A,L)},u.ab2xy=function(A,L,b){if(!b&&(Aa[s-1]|Lc[l-1]))return[!1,!1];var O=u.a2i(A),I=u.b2j(L),R=u.evalxy([],O,I);if(b){var z,F,B,N,q=0,j=0,Y=[];Aa[s-1]?(z=s-2,F=1,q=(A-a[s-1])/(a[s-1]-a[s-2])):F=O-(z=Math.max(0,Math.min(s-2,Math.floor(O)))),Lc[l-1]?(B=l-2,N=1,j=(L-c[l-1])/(c[l-1]-c[l-2])):N=I-(B=Math.max(0,Math.min(l-2,Math.floor(I)))),q&&(u.dxydi(Y,z,B,F,N),R[0]+=Y[0]*q,R[1]+=Y[1]*q),j&&(u.dxydj(Y,z,B,F,N),R[0]+=Y[0]*j,R[1]+=Y[1]*j)}return R},u.c2p=function(A,L,b){return[L.c2p(A[0]),b.c2p(A[1])]},u.p2x=function(A,L,b){return[L.p2c(A[0]),b.p2c(A[1])]},u.dadi=function(A){var L=Math.max(0,Math.min(a.length-2,A));return a[L+1]-a[L]},u.dbdj=function(A){var L=Math.max(0,Math.min(c.length-2,A));return c[L+1]-c[L]},u.dxyda=function(A,L,b,O){var I=u.dxydi(null,A,L,b,O),R=u.dadi(A,b);return[I[0]/R,I[1]/R]},u.dxydb=function(A,L,b,O){var I=u.dxydj(null,A,L,b,O),R=u.dbdj(L,O);return[I[0]/R,I[1]/R]},u.dxyda_rough=function(A,L,b){var O=w*(b||.1),I=u.ab2xy(A+O,L,!0),R=u.ab2xy(A-O,L,!0);return[.5*(I[0]-R[0])/O,.5*(I[1]-R[1])/O]},u.dxydb_rough=function(A,L,b){var O=k*(b||.1),I=u.ab2xy(A,L+O,!0),R=u.ab2xy(A,L-O,!0);return[.5*(I[0]-R[0])/O,.5*(I[1]-R[1])/O]},u.dpdx=function(A){return A._m},u.dpdy=function(A){return A._m}}},72505:function(x,o,t){var d=t(71828);x.exports=function(v,i,M){var g,p,u,a=[],c=[],s=v[0].length,l=v.length;function h(G,W){var H,ne=0,te=0;return G>0&&(H=v[W][G-1])!==void 0&&(te++,ne+=H),G0&&(H=v[W-1][G])!==void 0&&(te++,ne+=H),W0&&p0&&g1e-5);return d.log("Smoother converged to",O,"after",I,"iterations"),v}},19237:function(x,o,t){var d=t(71828).isArray1D;x.exports=function(v,i,M){var g=M("x"),p=g&&g.length,u=M("y"),a=u&&u.length;if(!p&&!a)return!1;if(i._cheater=!g,p&&!d(g)||a&&!d(u))i._length=null;else{var c=p?g.length:1/0;a&&(c=Math.min(c,u.length)),i.a&&i.a.length&&(c=Math.min(c,i.a.length)),i.b&&i.b.length&&(c=Math.min(c,i.b.length)),i._length=c}return!0}},69568:function(x,o,t){var d=t(5386).fF,v=t(19316),i=t(50693),M=t(9012),g=t(22399).defaultLine,p=t(1426).extendFlat,u=v.marker.line;x.exports=p({locations:{valType:"data_array",editType:"calc"},locationmode:v.locationmode,z:{valType:"data_array",editType:"calc"},geojson:p({},v.geojson,{}),featureidkey:v.featureidkey,text:p({},v.text,{}),hovertext:p({},v.hovertext,{}),marker:{line:{color:p({},u.color,{dflt:g}),width:p({},u.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:v.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:v.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:p({},M.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:d(),showlegend:p({},M.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},38675:function(x,o,t){var d=t(92770),v=t(50606).BADNUM,i=t(78803),M=t(75225),g=t(66279);function p(u){return u&&typeof u=="string"}x.exports=function(u,a){var c,s=a._length,l=new Array(s);c=a.geojson?function(y){return p(y)||d(y)}:p;for(var h=0;h")}}(M,h,u),[M]}},51319:function(x,o,t){x.exports={attributes:t(69568),supplyDefaults:t(61869),colorbar:t(61243),calc:t(38675),calcGeoJSON:t(99841).calcGeoJSON,plot:t(99841).plot,style:t(99636).style,styleOnSelect:t(99636).styleOnSelect,hoverPoints:t(42300),eventData:t(92069),selectPoints:t(81253),moduleType:"trace",name:"choropleth",basePlotModule:t(44622),categories:["geo","noOpacity","showLegend"],meta:{}}},99841:function(x,o,t){var d=t(39898),v=t(71828),i=t(41327),M=t(90973).getTopojsonFeatures,g=t(71739).findExtremes,p=t(99636).style;x.exports={calcGeoJSON:function(u,a){for(var c=u[0].trace,s=a[c.geo],l=s._subplot,h=c.locationmode,f=c._length,m=h==="geojson-id"?i.extractTraceFeature(u):M(c,l.topojson),_=[],y=[],C=0;C=0;M--){var g=i[M].id;if(typeof g=="string"&&g.indexOf("water")===0){for(var p=M+1;p=0;a--)p.removeLayer(u[a][1])},g.dispose=function(){var p=this.subplot.map;this._removeLayers(),p.removeSource(this.sourceId)},x.exports=function(p,u){var a=u[0].trace,c=new M(p,a.uid),s=c.sourceId,l=d(u),h=c.below=p.belowLookup["trace-"+a.uid];return p.map.addSource(s,{type:"geojson",data:l.geojson}),c._addLayers(l,h),u[0].trace._glTrace=c,c}},12674:function(x,o,t){var d=t(50693),v=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),g=t(9012),p=t(1426).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:i({editType:"calc"},{keys:["norm"]}),uhoverformat:v("u",1),vhoverformat:v("v",1),whoverformat:v("w",1),xhoverformat:v("x"),yhoverformat:v("y"),zhoverformat:v("z"),showlegend:p({},g.showlegend,{dflt:!1})};p(u,d("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"})),["opacity","lightposition","lighting"].forEach(function(a){u[a]=M[a]}),u.hoverinfo=p({},g.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),u.transforms=void 0,x.exports=u},31371:function(x,o,t){var d=t(78803);x.exports=function(v,i){for(var M=i.u,g=i.v,p=i.w,u=Math.min(i.x.length,i.y.length,i.z.length,M.length,g.length,p.length),a=-1/0,c=1/0,s=0;sg.level||g.starts.length&&M===g.level)}break;case"constraint":if(v.prefixBoundary=!1,v.edgepaths.length)return;var p=v.x.length,u=v.y.length,a=-1/0,c=1/0;for(d=0;d":h>a&&(v.prefixBoundary=!0);break;case"<":(ha||v.starts.length&&l===c)&&(v.prefixBoundary=!0);break;case"][":s=Math.min(h[0],h[1]),l=Math.max(h[0],h[1]),sa&&(v.prefixBoundary=!0)}}}},90654:function(x,o,t){var d=t(21081),v=t(86068),i=t(53572);x.exports={min:"zmin",max:"zmax",calc:function(M,g,p){var u=g.contours,a=g.line,c=u.size||1,s=u.coloring,l=v(g,{isColorbar:!0});if(s==="heatmap"){var h=d.extractOpts(g);p._fillgradient=h.reversescale?d.flipScale(h.colorscale):h.colorscale,p._zrange=[h.min,h.max]}else s==="fill"&&(p._fillcolor=l);p._line={color:s==="lines"?l:a.color,width:u.showlines!==!1?a.width:0,dash:a.dash},p._levels={start:u.start,end:i(u),size:c}}}},36914:function(x){x.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}}},83179:function(x,o,t){var d=t(92770),v=t(14523),i=t(7901),M=i.addOpacity,g=i.opacity,p=t(74808),u=p.CONSTRAINT_REDUCTION,a=p.COMPARISON_OPS2;x.exports=function(c,s,l,h,f,m){var _,y,C,w=s.contours,k=l("contours.operation");w._operation=u[k],function(E,T){var A;a.indexOf(T.operation)===-1?(E("contours.value",[0,1]),Array.isArray(T.value)?T.value.length>2?T.value=T.value.slice(2):T.length===0?T.value=[0,1]:T.length<2?(A=parseFloat(T.value[0]),T.value=[A,A+1]):T.value=[parseFloat(T.value[0]),parseFloat(T.value[1])]:d(T.value)&&(A=parseFloat(T.value),T.value=[A,A+1])):(E("contours.value",0),d(T.value)||(Array.isArray(T.value)?T.value=parseFloat(T.value[0]):T.value=0))}(l,w),k==="="?_=w.showlines=!0:(_=l("contours.showlines"),C=l("fillcolor",M((c.line||{}).color||f,.5))),_&&(y=l("line.color",C&&g(C)?M(s.fillcolor,1):f),l("line.width",2),l("line.dash")),l("line.smoothing"),v(l,h,y,m)}},64237:function(x,o,t){var d=t(74808),v=t(92770);function i(p,u){var a,c=Array.isArray(u);function s(l){return v(l)?+l:null}return d.COMPARISON_OPS2.indexOf(p)!==-1?a=s(c?u[0]:u):d.INTERVAL_OPS.indexOf(p)!==-1?a=c?[s(u[0]),s(u[1])]:[s(u),s(u)]:d.SET_OPS.indexOf(p)!==-1&&(a=c?u.map(s):[s(u)]),a}function M(p){return function(u){u=i(p,u);var a=Math.min(u[0],u[1]),c=Math.max(u[0],u[1]);return{start:a,end:c,size:c-a}}}function g(p){return function(u){return{start:u=i(p,u),end:1/0,size:1/0}}}x.exports={"[]":M("[]"),"][":M("]["),">":g(">"),"<":g("<"),"=":g("=")}},67217:function(x){x.exports=function(o,t,d,v){var i=v("contours.start"),M=v("contours.end"),g=i===!1||M===!1,p=d("contours.size");!(g?t.autocontour=!0:d("autocontour",!1))&&p||d("ncontours")}},84857:function(x,o,t){var d=t(71828);function v(i){return d.extendFlat({},i,{edgepaths:d.extendDeep([],i.edgepaths),paths:d.extendDeep([],i.paths),starts:d.extendDeep([],i.starts)})}x.exports=function(i,M){var g,p,u,a=function(l){return l.reverse()},c=function(l){return l};switch(M){case"=":case"<":return i;case">":for(i.length!==1&&d.warn("Contour data invalid for the specified inequality operation."),p=i[0],g=0;g1e3){d.warn("Too many contours, clipping at 1000",M);break}return c}},53572:function(x){x.exports=function(o){return o.end+o.size/1e6}},81696:function(x,o,t){var d=t(71828),v=t(36914);function i(p,u,a,c){return Math.abs(p[0]-u[0])20&&oe?ie===208||ie===1114?ce=ue[0]===0?1:-1:ye=ue[1]===0?1:-1:v.BOTTOMSTART.indexOf(ie)!==-1?ye=1:v.LEFTSTART.indexOf(ie)!==-1?ce=1:v.TOPSTART.indexOf(ie)!==-1?ye=-1:ce=-1,[ce,ye]}(f,a,u),_=[g(p,u,[-m[0],-m[1]])],y=p.z.length,C=p.z[0].length,w=u.slice(),k=m.slice();for(l=0;l<1e4;l++){if(f>20?(f=v.CHOOSESADDLE[f][(m[0]||m[1])<0?0:1],p.crossings[h]=v.SADDLEREMAINDER[f]):delete p.crossings[h],!(m=v.NEWDELTA[f])){d.log("Found bad marching index:",f,u,p.level);break}_.push(g(p,u,m)),u[0]+=m[0],u[1]+=m[1],h=u.join(","),i(_[_.length-1],_[_.length-2],c,s)&&_.pop();var E=m[0]&&(u[0]<0||u[0]>C-2)||m[1]&&(u[1]<0||u[1]>y-2);if(u[0]===w[0]&&u[1]===w[1]&&m[0]===k[0]&&m[1]===k[1]||a&&E)break;f=p.crossings[h]}l===1e4&&d.log("Infinite loop in contour?");var T,A,L,b,O,I,R,z,F,B,N,q,j,Y,U,G=i(_[0],_[_.length-1],c,s),W=0,H=.2*p.smoothing,ne=[],te=0;for(l=1;l<_.length;l++)q=_[l],j=_[l-1],Y=q[2]-j[2],U=q[3]-j[3],W+=R=Math.sqrt(Y*Y+U*U),ne.push(R);var Z=W/ne.length*H;function X(ie){return _[ie%_.length]}for(l=_.length-2;l>=te;l--)if((T=ne[l])=te&&T+ne[A]z&&F--,p.edgepaths[F]=N.concat(_,B));break}re||(p.edgepaths[z]=_.concat(B))}for(z=0;zi?0:1)+(M[0][1]>i?0:2)+(M[1][1]>i?0:4)+(M[1][0]>i?0:8);return g===5||g===10?i>(M[0][0]+M[0][1]+M[1][0]+M[1][1])/4?g===5?713:1114:g===5?104:208:g===15?0:g}x.exports=function(i){var M,g,p,u,a,c,s,l,h,f=i[0].z,m=f.length,_=f[0].length,y=m===2||_===2;for(g=0;g=0&&(A=U,b=O):Math.abs(T[1]-A[1])<.01?Math.abs(T[1]-U[1])<.01&&(U[0]-T[0])*(A[0]-U[0])>=0&&(A=U,b=O):v.log("endpt to newendpt is not vert. or horz.",T,A,U)}if(T=A,b>=0)break;z+="L"+A}if(b===k.edgepaths.length){v.log("unclosed perimeter path");break}F=b,(N=B.indexOf(F)===-1)&&(F=B[0],z+="Z")}for(F=0;FA.center?A.right-O:O-A.left)/(z+Math.abs(Math.sin(R)*b)),N=(I>A.middle?A.bottom-I:I-A.top)/(Math.abs(F)+Math.cos(R)*b);if(B<1||N<1)return 1/0;var q=_.EDGECOST*(1/(B-1)+1/(N-1));q+=_.ANGLECOST*R*R;for(var j=O-z,Y=I-F,U=O+z,G=I+F,W=0;W2*_.MAXCOST)break;N&&(O/=2),I=(b=R-O/2)+1.5*O}if(B<=_.MAXCOST)return z},o.addLabelData=function(k,E,T,A){var L=E.fontSize,b=E.width+L/3,O=Math.max(0,E.height-L/3),I=k.x,R=k.y,z=k.theta,F=Math.sin(z),B=Math.cos(z),N=function(j,Y){return[I+j*B-Y*F,R+j*F+Y*B]},q=[N(-b/2,-O/2),N(-b/2,O/2),N(b/2,O/2),N(b/2,-O/2)];T.push({text:E.text,x:I,y:R,dy:E.dy,theta:z,level:E.level,width:b,height:O}),A.push(q)},o.drawLabels=function(k,E,T,A,L){var b=k.selectAll("text").data(E,function(R){return R.text+","+R.x+","+R.y+","+R.theta});if(b.exit().remove(),b.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each(function(R){var z=R.x+Math.sin(R.theta)*R.dy,F=R.y-Math.cos(R.theta)*R.dy;d.select(this).text(R.text).attr({x:z,y:F,transform:"rotate("+180*R.theta/Math.PI+" "+z+" "+F+")"}).call(g.convertToTspans,T)}),L){for(var O="",I=0;Ip.end&&(p.start=p.end=(p.start+p.end)/2),M._input.contours||(M._input.contours={}),v.extendFlat(M._input.contours,{start:p.start,end:p.end,size:p.size}),M._input.autocontour=!0}else if(p.type!=="constraint"){var s,l=p.start,h=p.end,f=M._input.contours;l>h&&(p.start=f.start=h,h=p.end=f.end=l,l=p.start),p.size>0||(s=l===h?1:i(l,h,M.ncontours).dtick,f.size=p.size=s)}}},84426:function(x,o,t){var d=t(39898),v=t(91424),i=t(70035),M=t(86068);x.exports=function(g){var p=d.select(g).selectAll("g.contour");p.style("opacity",function(u){return u[0].trace.opacity}),p.each(function(u){var a=d.select(this),c=u[0].trace,s=c.contours,l=c.line,h=s.size||1,f=s.start,m=s.type==="constraint",_=!m&&s.coloring==="lines",y=!m&&s.coloring==="fill",C=_||y?M(c):null;a.selectAll("g.contourlevel").each(function(E){d.select(this).selectAll("path").call(v.lineGroupStyle,l.width,_?C(E.level):l.color,l.dash)});var w=s.labelfont;if(a.selectAll("g.contourlabels text").each(function(E){v.font(d.select(this),{family:w.family,size:w.size,color:w.color||(_?C(E.level):l.color)})}),m)a.selectAll("g.contourfill path").style("fill",c.fillcolor);else if(y){var k;a.selectAll("g.contourfill path").style("fill",function(E){return k===void 0&&(k=E.level),C(E.level+.5*h)}),k===void 0&&(k=f),a.selectAll("g.contourbg path").style("fill",C(k-.5*h))}}),i(g)}},8724:function(x,o,t){var d=t(1586),v=t(14523);x.exports=function(i,M,g,p,u){var a,c=g("contours.coloring"),s="";c==="fill"&&(a=g("contours.showlines")),a!==!1&&(c!=="lines"&&(s=g("line.color","#000")),g("line.width",.5),g("line.dash")),c!=="none"&&(i.showlegend!==!0&&(M.showlegend=!1),M._dfltShowLegend=!1,d(i,M,p,g,{prefix:"",cLetter:"z"})),g("line.smoothing"),v(g,p,s,u)}},88085:function(x,o,t){var d=t(21606),v=t(70600),i=t(50693),M=t(1426).extendFlat,g=v.contours;x.exports=M({carpet:{valType:"string",editType:"calc"},z:d.z,a:d.x,a0:d.x0,da:d.dx,b:d.y,b0:d.y0,db:d.dy,text:d.text,hovertext:d.hovertext,transpose:d.transpose,atype:d.xtype,btype:d.ytype,fillcolor:v.fillcolor,autocontour:v.autocontour,ncontours:v.ncontours,contours:{type:g.type,start:g.start,end:g.end,size:g.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:g.showlines,showlabels:g.showlabels,labelfont:g.labelfont,labelformat:g.labelformat,operation:g.operation,value:g.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:v.line.color,width:v.line.width,dash:v.line.dash,smoothing:v.line.smoothing,editType:"plot"},transforms:void 0},i("",{cLetter:"z",autoColorDflt:!1}))},59885:function(x,o,t){var d=t(78803),v=t(71828),i=t(68296),M=t(4742),g=t(824),p=t(43907),u=t(70769),a=t(75005),c=t(22882),s=t(18670);x.exports=function(l,h){var f=h._carpetTrace=c(l,h);if(f&&f.visible&&f.visible!=="legendonly"){if(!h.a||!h.b){var m=l.data[f.index],_=l.data[h.index];_.a||(_.a=m.a),_.b||(_.b=m.b),a(_,h,h._defaultColor,l._fullLayout)}var y=function(C,w){var k,E,T,A,L,b,O,I=w._carpetTrace,R=I.aaxis,z=I.baxis;R._minDtick=0,z._minDtick=0,v.isArray1D(w.z)&&i(w,R,z,"a","b",["z"]),k=w._a=w._a||w.a,A=w._b=w._b||w.b,k=k?R.makeCalcdata(w,"_a"):[],A=A?z.makeCalcdata(w,"_b"):[],E=w.a0||0,T=w.da||1,L=w.b0||0,b=w.db||1,O=w._z=M(w._z||w.z,w.transpose),w._emptypoints=p(O),g(O,w._emptypoints);var F=v.maxRowLength(O),B=w.xtype==="scaled"?"":k,N=u(w,B,E,T,F,R),q=w.ytype==="scaled"?"":A,j={a:N,b:u(w,q,L,b,O.length,z),z:O};return w.contours.type==="levels"&&w.contours.coloring!=="none"&&d(C,w,{vals:O,containerStr:"",cLetter:"z"}),[j]}(l,h);return s(h,h._z),y}}},75005:function(x,o,t){var d=t(71828),v=t(67684),i=t(88085),M=t(83179),g=t(67217),p=t(8724);x.exports=function(u,a,c,s){function l(h,f){return d.coerce(u,a,i,h,f)}if(l("carpet"),u.a&&u.b){if(!v(u,a,l,s,"a","b"))return void(a.visible=!1);l("text"),l("contours.type")==="constraint"?M(u,a,l,s,c,{hasHover:!1}):(g(u,a,l,function(h){return d.coerce2(u,a,i,h)}),p(u,a,l,s,{hasHover:!1}))}else a._defaultColor=c,a._length=null}},93740:function(x,o,t){x.exports={attributes:t(88085),supplyDefaults:t(75005),colorbar:t(90654),calc:t(59885),plot:t(51048),style:t(84426),moduleType:"trace",name:"contourcarpet",basePlotModule:t(93612),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},51048:function(x,o,t){var d=t(39898),v=t(27669),i=t(67961),M=t(91424),g=t(71828),p=t(87678),u=t(81696),a=t(29854),c=t(36914),s=t(84857),l=t(87558),h=t(20083),f=t(22882),m=t(4536);function _(w,k,E){var T=w.getPointAtLength(k),A=w.getPointAtLength(E),L=A.x-T.x,b=A.y-T.y,O=Math.sqrt(L*L+b*b);return[L/O,b/O]}function y(w){var k=Math.sqrt(w[0]*w[0]+w[1]*w[1]);return[w[0]/k,w[1]/k]}function C(w,k){var E=Math.abs(w[0]*k[0]+w[1]*k[1]);return Math.sqrt(1-E*E)/E}x.exports=function(w,k,E,T){var A=k.xaxis,L=k.yaxis;g.makeTraceGroups(T,E,"contour").each(function(b){var O=d.select(this),I=b[0],R=I.trace,z=R._carpetTrace=f(w,R),F=w.calcdata[z.index][0];if(z.visible&&z.visible!=="legendonly"){var B=I.a,N=I.b,q=R.contours,j=l(q,k,I),Y=q.type==="constraint",U=q._operation,G=Y?U==="="?"lines":"fill":q.coloring,W=[[B[0],N[N.length-1]],[B[B.length-1],N[N.length-1]],[B[B.length-1],N[0]],[B[0],N[0]]];p(j);var H=1e-8*(B[B.length-1]-B[0]),ne=1e-8*(N[N.length-1]-N[0]);u(j,H,ne);var te,Z,X,Q,re=j;q.type==="constraint"&&(re=s(j,U)),function(ce,ye){var de,me,pe,xe,Pe,_e,Me,Se,Ce;for(de=0;de=0;Q--)te=F.clipsegments[Q],Z=v([],te.x,A.c2p),X=v([],te.y,L.c2p),Z.reverse(),X.reverse(),ie.push(i(Z,X,te.bicubic));var oe="M"+ie.join("L")+"Z";(function(ce,ye,de,me,pe,xe){var Pe,_e,Me,Se,Ce=g.ensureSingle(ce,"g","contourbg").selectAll("path").data(xe!=="fill"||pe?[]:[0]);Ce.enter().append("path"),Ce.exit().remove();var ae=[];for(Se=0;Se=0&&(st=ht,ft=bt):Math.abs($e[1]-st[1])=0&&(st=ht,ft=bt):g.log("endpt to newendpt is not vert. or horz.",$e,st,ht)}if(ft>=0)break;kt+=We($e,st),$e=st}if(ft===Be.edgepaths.length){g.log("unclosed perimeter path");break}Ye=ft,(Ft=xt.indexOf(Ye)===-1)&&(Ye=xt[0],kt+=We($e,st)+"Z",$e=null)}for(Ye=0;YeLt&&(Ke.max=Lt),Ke.len=Ke.max-Ke.min}function yt(Pt,wt){var Ot,Nt=0,$t=.1;return(Math.abs(Pt[0]-Oe)<$t||Math.abs(Pt[0]-Ne)<$t)&&(Ot=y(Je.dxydb_rough(Pt[0],Pt[1],$t)),Nt=Math.max(Nt,We*C(wt,Ot)/2)),(Math.abs(Pt[1]-Qe)<$t||Math.abs(Pt[1]-ut)<$t)&&(Ot=y(Je.dxyda_rough(Pt[0],Pt[1],$t)),Nt=Math.max(Nt,We*C(wt,Ot)/2)),Nt}}(Et,bt,ot,kt,Pe,ft.height),!(kt.len<(ft.width+ft.height)*c.LABELMIN)))for(var xt=Math.min(Math.ceil(kt.len/st),c.LABELMAX),Ft=0;Ft0?+m[l]:0),h.push({type:"Feature",geometry:{type:"Point",coordinates:w},properties:k})}}var T=M.extractOpts(a),A=T.reversescale?M.flipScale(T.colorscale):T.colorscale,L=A[0][1],b=["interpolate",["linear"],["heatmap-density"],0,i.opacity(L)<1?L:i.addOpacity(L,0)];for(l=1;l=0;u--)g.removeLayer(p[u][1])},M.dispose=function(){var g=this.subplot.map;this._removeLayers(),g.removeSource(this.sourceId)},x.exports=function(g,p){var u=p[0].trace,a=new i(g,u.uid),c=a.sourceId,s=d(p),l=a.below=g.belowLookup["trace-"+u.uid];return g.map.addSource(c,{type:"geojson",data:s.geojson}),a._addLayers(s,l),a}},49789:function(x,o,t){var d=t(71828);x.exports=function(v,i){for(var M=0;M"),c.color=function(k,E){var T=k.marker,A=E.mc||T.color,L=E.mlc||T.line.color,b=E.mlw||T.line.width;return d(A)?A:d(L)&&b?L:void 0}(l,f),[c]}}},51759:function(x,o,t){x.exports={attributes:t(1285),layoutAttributes:t(10440),supplyDefaults:t(26199).supplyDefaults,crossTraceDefaults:t(26199).crossTraceDefaults,supplyLayoutDefaults:t(93138),calc:t(9532),crossTraceCalc:t(8984),plot:t(80461),style:t(68266).style,hoverPoints:t(63341),eventData:t(34598),selectPoints:t(81974),moduleType:"trace",name:"funnel",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},10440:function(x){x.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"}}},93138:function(x,o,t){var d=t(71828),v=t(10440);x.exports=function(i,M,g){var p=!1;function u(s,l){return d.coerce(i,M,v,s,l)}for(var a=0;a path").each(function(_){if(!_.isBlank){var y=m.marker;d.select(this).call(i.fill,_.mc||y.color).call(i.stroke,_.mlc||y.line.color).call(v.dashLine,y.line.dash,_.mlw||y.line.width).style("opacity",m.selectedpoints&&!_.selected?M:1)}}),u(f,m,a),f.selectAll(".regions").each(function(){d.select(this).selectAll("path").style("stroke-width",0).call(i.fill,m.connector.fillcolor)}),f.selectAll(".lines").each(function(){var _=m.connector.line;v.lineGroupStyle(d.select(this).selectAll("path"),_.width,_.color,_.dash)})})}}},86807:function(x,o,t){var d=t(34e3),v=t(9012),i=t(27670).Y,M=t(5386).fF,g=t(5386).si,p=t(1426).extendFlat;x.exports={labels:d.labels,label0:d.label0,dlabel:d.dlabel,values:d.values,marker:{colors:d.marker.colors,line:{color:p({},d.marker.line.color,{dflt:null}),width:p({},d.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},text:d.text,hovertext:d.hovertext,scalegroup:p({},d.scalegroup,{}),textinfo:p({},d.textinfo,{flags:["label","text","value","percent"]}),texttemplate:g({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:p({},v.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:M({},{keys:["label","color","value","text","percent"]}),textposition:p({},d.textposition,{values:["inside","none"],dflt:"inside"}),textfont:d.textfont,insidetextfont:d.insidetextfont,title:{text:d.title.text,font:d.title.font,position:p({},d.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:i({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"}}},6452:function(x,o,t){var d=t(74875);o.name="funnelarea",o.plot=function(v,i,M,g){d.plotBasePlot(o.name,v,i,M,g)},o.clean=function(v,i,M,g){d.cleanBasePlot(o.name,v,i,M,g)}},89574:function(x,o,t){var d=t(32354);x.exports={calc:function(v,i){return d.calc(v,i)},crossTraceCalc:function(v){d.crossTraceCalc(v,{type:"funnelarea"})}}},86282:function(x,o,t){var d=t(71828),v=t(86807),i=t(27670).c,M=t(90769).handleText,g=t(37434).handleLabelsAndValues;x.exports=function(p,u,a,c){function s(k,E){return d.coerce(p,u,v,k,E)}var l=s("labels"),h=s("values"),f=g(l,h),m=f.len;if(u._hasLabels=f.hasLabels,u._hasValues=f.hasValues,!u._hasLabels&&u._hasValues&&(s("label0"),s("dlabel")),m){u._length=m,s("marker.line.width")&&s("marker.line.color",c.paper_bgcolor),s("marker.colors"),s("scalegroup");var _,y=s("text"),C=s("texttemplate");if(C||(_=s("textinfo",Array.isArray(y)?"text+percent":"percent")),s("hovertext"),s("hovertemplate"),C||_&&_!=="none"){var w=s("textposition");M(p,u,c,s,w,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}i(u,c,s),s("title.text")&&(s("title.position"),d.coerceFont(s,"title.font",c.font)),s("aspectratio"),s("baseratio")}else u.visible=!1}},10421:function(x,o,t){x.exports={moduleType:"trace",name:"funnelarea",basePlotModule:t(6452),categories:["pie-like","funnelarea","showLegend"],attributes:t(86807),layoutAttributes:t(80097),supplyDefaults:t(86282),supplyLayoutDefaults:t(57402),calc:t(89574).calc,crossTraceCalc:t(89574).crossTraceCalc,plot:t(79187),style:t(71858),styleOne:t(63463),meta:{}}},80097:function(x,o,t){var d=t(92774).hiddenlabels;x.exports={hiddenlabels:d,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57402:function(x,o,t){var d=t(71828),v=t(80097);x.exports=function(i,M){function g(p,u){return d.coerce(i,M,v,p,u)}g("hiddenlabels"),g("funnelareacolorway",M.colorway),g("extendfunnelareacolors")}},79187:function(x,o,t){var d=t(39898),v=t(91424),i=t(71828),M=i.strScale,g=i.strTranslate,p=t(63893),u=t(17295).toMoveInsideBar,a=t(72597),c=a.recordMinTextSize,s=a.clearMinTextSize,l=t(53581),h=t(14575),f=h.attachFxHandlers,m=h.determineInsideTextFont,_=h.layoutAreas,y=h.prerenderTitles,C=h.positionTitleOutside,w=h.formatSliceLabel;function k(E,T){return"l"+(T[0]-E[0])+","+(T[1]-E[1])}x.exports=function(E,T){var A=E._context.staticPlot,L=E._fullLayout;s("funnelarea",L),y(T,E),_(T,L._size),i.makeTraceGroups(L._funnelarealayer,T,"trace").each(function(b){var O=d.select(this),I=b[0],R=I.trace;(function(z){if(z.length){var F=z[0],B=F.trace,N=B.aspectratio,q=B.baseratio;q>.999&&(q=.999);var j,Y,U,G=Math.pow(q,2),W=F.vTotal,H=W,ne=W*G/(1-G)/W,te=[];for(te.push(Me()),Y=z.length-1;Y>-1;Y--)if(!(U=z[Y]).hidden){var Z=U.v/H;ne+=Z,te.push(Me())}var X=1/0,Q=-1/0;for(Y=0;Y-1;Y--)if(!(U=z[Y]).hidden){var Pe=te[xe+=1][0],_e=te[xe][1];U.TL=[-Pe,_e],U.TR=[Pe,_e],U.BL=me,U.BR=pe,U.pxmid=(ye=U.TR,de=U.BR,[.5*(ye[0]+de[0]),.5*(ye[1]+de[1])]),me=U.TL,pe=U.TR}}function Me(){var Se,Ce={x:Se=Math.sqrt(ne),y:-Se};return[Ce.x,Ce.y]}})(b),O.each(function(){var z=d.select(this).selectAll("g.slice").data(b);z.enter().append("g").classed("slice",!0),z.exit().remove(),z.each(function(B,N){if(B.hidden)d.select(this).selectAll("path,g").remove();else{B.pointNumber=B.i,B.curveNumber=R.index;var q=I.cx,j=I.cy,Y=d.select(this),U=Y.selectAll("path.surface").data([B]);U.enter().append("path").classed("surface",!0).style({"pointer-events":A?"none":"all"}),Y.call(f,E,b);var G="M"+(q+B.TR[0])+","+(j+B.TR[1])+k(B.TR,B.BR)+k(B.BR,B.BL)+k(B.BL,B.TL)+"Z";U.attr("d",G),w(E,B,I);var W=l.castOption(R.textposition,B.pts),H=Y.selectAll("g.slicetext").data(B.text&&W!=="none"?[0]:[]);H.enter().append("g").classed("slicetext",!0),H.exit().remove(),H.each(function(){var ne=i.ensureSingle(d.select(this),"text","",function(ue){ue.attr("data-notex",1)}),te=i.ensureUniformFontSize(E,m(R,B,L.font));ne.text(B.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(v.font,te).call(p.convertToTspans,E);var Z,X,Q,re=v.bBox(ne.node()),ie=Math.min(B.BL[1],B.BR[1])+j,oe=Math.max(B.TL[1],B.TR[1])+j;X=Math.max(B.TL[0],B.BL[0])+q,Q=Math.min(B.TR[0],B.BR[0])+q,(Z=u(X,Q,ie,oe,re,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"})).fontSize=te.size,c(R.type,Z,L),b[N].transform=Z,i.setTransormAndDisplay(ne,Z)})}});var F=d.select(this).selectAll("g.titletext").data(R.title.text?[0]:[]);F.enter().append("g").classed("titletext",!0),F.exit().remove(),F.each(function(){var B=i.ensureSingle(d.select(this),"text","",function(j){j.attr("data-notex",1)}),N=R.title.text;R._meta&&(N=i.templateString(N,R._meta)),B.text(N).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(v.font,R.title.font).call(p.convertToTspans,E);var q=C(I,L._size);B.attr("transform",g(q.x,q.y)+M(Math.min(1,q.scale))+g(q.tx,q.ty))})})})}},71858:function(x,o,t){var d=t(39898),v=t(63463),i=t(72597).resizeText;x.exports=function(M){var g=M._fullLayout._funnelarealayer.selectAll(".trace");i(M,g,"funnelarea"),g.each(function(p){var u=p[0].trace,a=d.select(this);a.style({opacity:u.opacity}),a.selectAll("path.surface").each(function(c){d.select(this).call(v,c,u)})})}},21606:function(x,o,t){var d=t(82196),v=t(9012),i=t(41940),M=t(12663).axisHoverFormat,g=t(5386).fF,p=t(5386).si,u=t(50693),a=t(1426).extendFlat;x.exports=a({z:{valType:"data_array",editType:"calc"},x:a({},d.x,{impliedEdits:{xtype:"array"}}),x0:a({},d.x0,{impliedEdits:{xtype:"scaled"}}),dx:a({},d.dx,{impliedEdits:{xtype:"scaled"}}),y:a({},d.y,{impliedEdits:{ytype:"array"}}),y0:a({},d.y0,{impliedEdits:{ytype:"scaled"}}),dy:a({},d.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:a({},d.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:a({},d.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:a({},d.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:a({},d.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:a({},d.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:a({},d.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:M("x"),yhoverformat:M("y"),zhoverformat:M("z",1),hovertemplate:g(),texttemplate:p({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:i({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:a({},v.showlegend,{dflt:!1})},{transforms:void 0},u("",{cLetter:"z",autoColorDflt:!1}))},90757:function(x,o,t){var d=t(73972),v=t(71828),i=t(89298),M=t(42973),g=t(17562),p=t(78803),u=t(68296),a=t(4742),c=t(824),s=t(43907),l=t(70769),h=t(50606).BADNUM;function f(m){for(var _=[],y=m.length,C=0;CG){Y("x scale is not linear");break}}if(E.length&&q==="fast"){var W=(E[E.length-1]-E[0])/(E.length-1),H=Math.abs(W/100);for(O=0;OH){Y("y scale is not linear");break}}}}var ne=v.maxRowLength(b),te=_.xtype==="scaled"?"":y,Z=l(_,te,C,w,ne,R),X=_.ytype==="scaled"?"":E,Q=l(_,X,T,A,b.length,z);N||(_._extremes[R._id]=i.findExtremes(R,Z),_._extremes[z._id]=i.findExtremes(z,Q));var re={x:Z,y:Q,z:b,text:_._text||_.text,hovertext:_._hovertext||_.hovertext};if(_.xperiodalignment&&k&&(re.orig_x=k),_.yperiodalignment&&L&&(re.orig_y=L),te&&te.length===Z.length-1&&(re.xCenter=te),X&&X.length===Q.length-1&&(re.yCenter=X),B&&(re.xRanges=I.xRanges,re.yRanges=I.yRanges,re.pts=I.pts),F||p(m,_,{vals:b,cLetter:"z"}),F&&_.contours&&_.contours.coloring==="heatmap"){var ie={type:_.type==="contour"?"heatmap":"histogram2d",xcalendar:_.xcalendar,ycalendar:_.ycalendar};re.xfill=l(ie,te,C,w,ne,R),re.yfill=l(ie,X,T,A,b.length,z)}return[re]}},4742:function(x,o,t){var d=t(92770),v=t(71828),i=t(50606).BADNUM;x.exports=function(M,g,p,u){var a,c,s,l,h,f;function m(E){if(d(E))return+E}if(g&&g.transpose){for(a=0,h=0;h=0;u--)(a=((h[[(M=(p=f[u])[0])-1,g=p[1]]]||y)[2]+(h[[M+1,g]]||y)[2]+(h[[M,g-1]]||y)[2]+(h[[M,g+1]]||y)[2])/20)&&(c[p]=[M,g,a],f.splice(u,1),s=!0);if(!s)throw"findEmpties iterated with no new neighbors";for(p in c)h[p]=c[p],l.push(c[p])}return l.sort(function(w,k){return k[2]-w[2]})}},46248:function(x,o,t){var d=t(30211),v=t(71828),i=t(89298),M=t(21081).extractOpts;x.exports=function(g,p,u,a,c){c||(c={});var s,l,h,f,m=c.isContour,_=g.cd[0],y=_.trace,C=g.xa,w=g.ya,k=_.x,E=_.y,T=_.z,A=_.xCenter,L=_.yCenter,b=_.zmask,O=y.zhoverformat,I=k,R=E;if(g.index!==!1){try{h=Math.round(g.index[1]),f=Math.round(g.index[0])}catch{return void v.error("Error hovering on heatmap, pointNumber must be [row,col], found:",g.index)}if(h<0||h>=T[0].length||f<0||f>T.length)return}else{if(d.inbox(p-k[0],p-k[k.length-1],0)>0||d.inbox(u-E[0],u-E[E.length-1],0)>0)return;if(m){var z;for(I=[2*k[0]-k[1]],z=1;zk&&(T=Math.max(T,Math.abs(g[c][s]-w)/(E-k))))}return T}x.exports=function(g,p){var u,a=1;for(M(g,p),u=0;u.01;u++)a=M(g,p,i(a));return a>.01&&d.log("interp2d didn't converge quickly",a),g}},58623:function(x,o,t){var d=t(71828);x.exports=function(v,i){v("texttemplate");var M=d.extendFlat({},i.font,{color:"auto",size:"auto"});d.coerceFont(v,"textfont",M)}},70769:function(x,o,t){var d=t(73972),v=t(71828).isArrayOrTypedArray;x.exports=function(i,M,g,p,u,a){var c,s,l,h=[],f=d.traceIs(i,"contour"),m=d.traceIs(i,"histogram"),_=d.traceIs(i,"gl2d");if(v(M)&&M.length>1&&!m&&a.type!=="category"){var y=M.length;if(!(y<=u))return f?M.slice(0,u):M.slice(0,u+1);if(f||_)h=M.slice(0,u);else if(u===1)h=[M[0]-.5,M[0]+.5];else{for(h=[1.5*M[0]-.5*M[1]],l=1;l0;)z=b.c2p(Z[q]),q--;for(z0;)N=O.c2p(X[q]),q--;if(Nqt||qt>O._length))for(j=wt;jQt||Qt>b._length)){var rn=a({x:Xt,y:$t},W,E._fullLayout);rn.x=Xt,rn.y=$t;var xn=G.z[q][j];xn===void 0?(rn.z="",rn.zLabel=""):(rn.z=xn,rn.zLabel=g.tickText(It,xn,"hover").text);var un=G.text&&G.text[q]&&G.text[q][j];un!==void 0&&un!==!1||(un=""),rn.text=un;var An=p.texttemplateString(pt,rn,E._fullLayout._d3locale,rn,W._meta||{});if(An){var Yn=An.split("
"),kn=Yn.length,sn=0;for(Y=0;Y0&&(k=!0);for(var A=0;Ap){var u=p-M[v];return M[v]=p,u}}return 0},max:function(v,i,M,g){var p=g[i];if(d(p)){if(p=Number(p),!d(M[v]))return M[v]=p,p;if(M[v]u?f>M?f>1.1*v?v:f>1.1*i?i:M:f>g?g:f>p?p:u:Math.pow(10,Math.floor(Math.log(f)/Math.LN10))}function l(f,m,_,y,C,w){if(y&&f>M){var k=h(m,C,w),E=h(_,C,w),T=f===v?0:1;return k[T]!==E[T]}return Math.floor(_/f)-Math.floor(m/f)>.1}function h(f,m,_){var y=m.c2d(f,v,_).split("-");return y[0]===""&&(y.unshift(),y[0]="-"+y[0]),y}x.exports=function(f,m,_,y,C){var w,k,E=-1.1*m,T=-.1*m,A=f-T,L=_[0],b=_[1],O=Math.min(c(L+T,L+A,y,C),c(b+T,b+A,y,C)),I=Math.min(c(L+E,L+T,y,C),c(b+E,b+T,y,C));if(O>I&&IM){var R=w===v?1:6,z=w===v?"M12":"M1";return function(F,B){var N=y.c2d(F,v,C),q=N.indexOf("-",R);q>0&&(N=N.substr(0,q));var j=y.d2c(N,0,C);if(jf.r2l(re)&&(oe=M.tickIncrement(oe,I.size,!0,k)),te.start=f.l2r(oe),Q||v.nestedProperty(h,L+".start").set(te.start)}var ue=I.end,ce=f.r2l(ne.end),ye=ce!==void 0;if((I.endFound||ye)&&ce!==f.r2l(ue)){var de=ye?ce:v.aggNums(Math.max,null,E);te.end=f.l2r(de),ye||v.nestedProperty(h,L+".start").set(te.end)}var me="autobin"+m;return h._input[me]===!1&&(h._input[L]=v.extendFlat({},h[L]||{}),delete h._input[me],delete h[me]),[te,E]}x.exports={calc:function(l,h){var f,m,_,y,C=[],w=[],k=h.orientation==="h",E=M.getFromId(l,k?h.yaxis:h.xaxis),T=k?"y":"x",A={x:"y",y:"x"}[T],L=h[T+"calendar"],b=h.cumulative,O=s(l,h,E,T),I=O[0],R=O[1],z=typeof I.size=="string",F=[],B=z?F:I,N=[],q=[],j=[],Y=0,U=h.histnorm,G=h.histfunc,W=U.indexOf("density")!==-1;b.enabled&&W&&(U=U.replace(/ ?density$/,""),W=!1);var H,ne=G==="max"||G==="min"?null:0,te=p.count,Z=u[U],X=!1,Q=function(Ce){return E.r2c(Ce,0,L)};for(v.isArrayOrTypedArray(h[A])&&G!=="count"&&(H=h[A],X=G==="avg",te=p[G]),f=Q(I.start),_=Q(I.end)+(f-M.tickIncrement(f,I.size,!1,L))/1e6;f<_&&C.length<1e6&&(m=M.tickIncrement(f,I.size,!1,L),C.push((f+m)/2),w.push(ne),j.push([]),F.push(f),W&&N.push(1/(m-f)),X&&q.push(0),!(m<=f));)f=m;F.push(f),z||E.type!=="date"||(B={start:Q(B.start),end:Q(B.end),size:B.size}),l._fullLayout._roundFnOpts||(l._fullLayout._roundFnOpts={});var re=h["_"+T+"bingroup"],ie={leftGap:1/0,rightGap:1/0};re&&(l._fullLayout._roundFnOpts[re]||(l._fullLayout._roundFnOpts[re]=ie),ie=l._fullLayout._roundFnOpts[re]);var oe,ue=w.length,ce=!0,ye=ie.leftGap,de=ie.rightGap,me={};for(f=0;f=0&&y=0;be--)ze(be);else if(ae==="increasing"){for(be=1;be=0;be--)Ce[be]+=Ce[be+1];he==="exclude"&&(Ce.push(0),Ce.shift())}}(w,b.direction,b.currentbin);var xe=Math.min(C.length,w.length),Pe=[],_e=0,Me=xe-1;for(f=0;f=_e;f--)if(w[f]){Me=f;break}for(f=_e;f<=Me;f++)if(d(C[f])&&d(w[f])){var Se={p:C[f],s:w[f],b:0};b.enabled||(Se.pts=j[f],ce?Se.ph0=Se.ph1=j[f].length?R[j[f][0]]:C[f]:(h._computePh=!0,Se.ph0=oe(F[f]),Se.ph1=oe(F[f+1],!0))),Pe.push(Se)}return Pe.length===1&&(Pe[0].width1=M.tickIncrement(Pe[0].p,I.size,!1,L)-Pe[0].p),g(Pe,h),v.isArrayOrTypedArray(h.selectedpoints)&&v.tagSelected(Pe,h,me),Pe},calcAllAutoBins:s}},72406:function(x){x.exports={eventDataKeys:["binNumber"]}},82222:function(x,o,t){var d=t(71828),v=t(41675),i=t(73972).traceIs,M=t(26125),g=d.nestedProperty,p=t(99082).getAxisGroup,u=[{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"}],a=["x","y"];x.exports=function(c,s){var l,h,f,m,_,y,C,w=s._histogramBinOpts={},k=[],E={},T=[];function A(W,H){return d.coerce(l._input,l,l._module.attributes,W,H)}function L(W){return W.orientation==="v"?"x":"y"}function b(W,H,ne){var te=W.uid+"__"+ne;H||(H=te);var Z=function(ie,oe){return v.getFromTrace({_fullLayout:s},ie,oe).type}(W,ne),X=W[ne+"calendar"]||"",Q=w[H],re=!0;Q&&(Z===Q.axType&&X===Q.calendar?(re=!1,Q.traces.push(W),Q.dirs.push(ne)):(H=te,Z!==Q.axType&&d.warn(["Attempted to group the bins of trace",W.index,"set on a","type:"+Z,"axis","with bins on","type:"+Q.axType,"axis."].join(" ")),X!==Q.calendar&&d.warn(["Attempted to group the bins of trace",W.index,"set with a",X,"calendar","with bins",Q.calendar?"on a "+Q.calendar+" calendar":"w/o a set calendar"].join(" ")))),re&&(w[H]={traces:[W],dirs:[ne],axType:Z,calendar:W[ne+"calendar"]||""}),W["_"+ne+"bingroup"]=H}for(_=0;_F&&O.splice(F,O.length-F),z.length>F&&z.splice(F,z.length-F);var B=[],N=[],q=[],j=typeof b.size=="string",Y=typeof R.size=="string",U=[],G=[],W=j?U:b,H=Y?G:R,ne=0,te=[],Z=[],X=h.histnorm,Q=h.histfunc,re=X.indexOf("density")!==-1,ie=Q==="max"||Q==="min"?null:0,oe=i.count,ue=M[X],ce=!1,ye=[],de=[],me="z"in h?h.z:"marker"in h&&Array.isArray(h.marker.color)?h.marker.color:"";me&&Q!=="count"&&(ce=Q==="avg",oe=i[Q]);var pe=b.size,xe=T(b.start),Pe=T(b.end)+(xe-v.tickIncrement(xe,pe,!1,k))/1e6;for(f=xe;f=0&&_=0&&y-1,flipY:N.tiling.flip.indexOf("y")>-1,orientation:N.tiling.orientation,pad:{inner:N.tiling.pad},maxDepth:N._maxDepth}).descendants(),G=1/0,W=-1/0;U.forEach(function(X){var Q=X.depth;Q>=N._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(G=Math.min(G,Q),W=Math.max(W,Q))}),_=_.data(U,a.getPtId),N._maxVisibleLayers=isFinite(W)?W-G+1:0,_.enter().append("g").classed("slice",!0),O(_,l,{},[C,w],T),_.order();var H=null;if(b&&z){var ne=a.getPtId(z);_.each(function(X){H===null&&a.getPtId(X)===ne&&(H={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var te=function(){return H||{x0:0,x1:C,y0:0,y1:w}},Z=_;return b&&(Z=Z.transition().each("end",function(){var X=d.select(this);a.setSliceCursor(X,h,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),Z.each(function(X){X._x0=k(X.x0),X._x1=k(X.x1),X._y0=E(X.y0),X._y1=E(X.y1),X._hoverX=k(X.x1-N.tiling.pad),X._hoverY=E(Y?X.y1-N.tiling.pad/2:X.y0+N.tiling.pad/2);var Q=d.select(this),re=v.ensureSingle(Q,"path","surface",function(ce){ce.style("pointer-events",F?"none":"all")});b?re.transition().attrTween("d",function(ce){var ye=I(ce,l,te(),[C,w],{orientation:N.tiling.orientation,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1});return function(de){return T(ye(de))}}):re.attr("d",T),Q.call(c,m,h,f,{styleOne:p,eventDataKeys:u.eventDataKeys,transitionTime:u.CLICK_TRANSITION_TIME,transitionEasing:u.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,h,{isTransitioning:h._transitioning}),re.call(p,X,N,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text="":X._text=s(X,m,N,f,B)||"";var ie=v.ensureSingle(Q,"g","slicetext"),oe=v.ensureSingle(ie,"text","",function(ce){ce.attr("data-notex",1)}),ue=v.ensureUniformFontSize(h,a.determineTextFont(N,X,B.font));oe.text(X._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":q?"start":"middle").call(i.font,ue).call(M.convertToTspans,h),X.textBB=i.bBox(oe.node()),X.transform=A(X,{fontSize:ue.size}),X.transform.fontSize=ue.size,b?oe.transition().attrTween("transform",function(ce){var ye=R(ce,l,te(),[C,w]);return function(de){return L(ye(de))}}):oe.attr("transform",L(X))}),H}},69816:function(x,o,t){x.exports={moduleType:"trace",name:"icicle",basePlotModule:t(96346),categories:[],animatable:!0,attributes:t(46291),layoutAttributes:t(92894),supplyDefaults:t(56524),supplyLayoutDefaults:t(21070),calc:t(46584).y,crossTraceCalc:t(46584).T,plot:t(85596),style:t(82454).style,colorbar:t(4898),meta:{}}},92894:function(x){x.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},21070:function(x,o,t){var d=t(71828),v=t(92894);x.exports=function(i,M){function g(p,u){return d.coerce(i,M,v,p,u)}g("iciclecolorway",M.colorway),g("extendiciclecolors")}},21538:function(x,o,t){var d=t(674),v=t(14102);x.exports=function(i,M,g){var p=g.flipX,u=g.flipY,a=g.orientation==="h",c=g.maxDepth,s=M[0],l=M[1];c&&(s=(i.height+1)*M[0]/Math.min(i.height+1,c),l=(i.height+1)*M[1]/Math.min(i.height+1,c));var h=d.partition().padding(g.pad.inner).size(a?[M[1],s]:[M[0],l])(i);return(a||p||u)&&v(h,M,{swapXY:a,flipX:p,flipY:u}),h}},85596:function(x,o,t){var d=t(80694),v=t(90666);x.exports=function(i,M,g,p){return d(i,M,g,p,{type:"icicle",drawDescendants:v})}},82454:function(x,o,t){var d=t(39898),v=t(7901),i=t(71828),M=t(72597).resizeText;function g(p,u,a){var c=u.data.data,s=!u.children,l=c.i,h=i.castOption(a,l,"marker.line.color")||v.defaultLine,f=i.castOption(a,l,"marker.line.width")||0;p.style("stroke-width",f).call(v.fill,c.color).call(v.stroke,h).style("opacity",s?a.leaf.opacity:null)}x.exports={style:function(p){var u=p._fullLayout._iciclelayer.selectAll(".trace");M(p,u,"icicle"),u.each(function(a){var c=d.select(this),s=a[0].trace;c.style("opacity",s.opacity),c.selectAll("path.surface").each(function(l){d.select(this).call(g,l,s)})})},styleOne:g}},17230:function(x,o,t){for(var d=t(9012),v=t(5386).fF,i=t(1426).extendFlat,M=t(51877).colormodel,g=["rgb","rgba","rgba256","hsl","hsla"],p=[],u=[],a=0;a0||d.inbox(p-u.y0,p-(u.y0+u.h*a.dy),0)>0)){var l,h=Math.floor((g-u.x0)/a.dx),f=Math.floor(Math.abs(p-u.y0)/a.dy);if(a._hasZ?l=u.z[f][h]:a._hasSource&&(l=a._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(h,f,1,1).data),l){var m,_=u.hi||a.hoverinfo;if(_){var y=_.split("+");y.indexOf("all")!==-1&&(y=["color"]),y.indexOf("color")!==-1&&(m=!0)}var C,w=i.colormodel[a.colormodel],k=w.colormodel||a.colormodel,E=k.length,T=a._scaler(l),A=w.suffix,L=[];(a.hovertemplate||m)&&(L.push("["+[T[0]+A[0],T[1]+A[1],T[2]+A[2]].join(", ")),E===4&&L.push(", "+T[3]+A[3]),L.push("]"),L=L.join(""),M.extraText=k.toUpperCase()+": "+L),Array.isArray(a.hovertext)&&Array.isArray(a.hovertext[f])?C=a.hovertext[f][h]:Array.isArray(a.text)&&Array.isArray(a.text[f])&&(C=a.text[f][h]);var b=s.c2p(u.y0+(f+.5)*a.dy),O=u.x0+(h+.5)*a.dx,I=u.y0+(f+.5)*a.dy,R="["+l.slice(0,a.colormodel.length).join(", ")+"]";return[v.extendFlat(M,{index:[f,h],x0:c.c2p(u.x0+h*a.dx),x1:c.c2p(u.x0+(h+1)*a.dx),y0:b,y1:b,color:T,xVal:O,xLabelVal:O,yVal:I,yLabelVal:I,zLabelVal:R,text:C,hovertemplateLabels:{zLabel:R,colorLabel:L,"color[0]Label":T[0]+A[0],"color[1]Label":T[1]+A[1],"color[2]Label":T[2]+A[2],"color[3]Label":T[3]+A[3]}})]}}}},94507:function(x,o,t){x.exports={attributes:t(17230),supplyDefaults:t(13245),calc:t(71113),plot:t(60775),style:t(12826),hoverPoints:t(28749),eventData:t(30835),moduleType:"trace",name:"image",basePlotModule:t(93612),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},60775:function(x,o,t){var d=t(39898),v=t(71828),i=v.strTranslate,M=t(77922),g=t(51877),p=v.isIOS()||v.isSafari()||v.isIE();x.exports=function(u,a,c,s){var l=a.xaxis,h=a.yaxis,f=!(p||u._context._exportedPlot);v.makeTraceGroups(s,c,"im").each(function(m){var _=d.select(this),y=m[0],C=y.trace,w=(C.zsmooth==="fast"||C.zsmooth===!1&&f)&&!C._hasZ&&C._hasSource&&l.type==="linear"&&h.type==="linear";C._realImage=w;var k,E,T,A,L,b,O=y.z,I=y.x0,R=y.y0,z=y.w,F=y.h,B=C.dx,N=C.dy;for(b=0;k===void 0&&b0;)E=l.c2p(I+b*B),b--;for(b=0;A===void 0&&b0;)L=h.c2p(R+b*N),b--;EW[0];if(H||ne){var te=k+q/2,Z=A+j/2;U+="transform:"+i(te+"px",Z+"px")+"scale("+(H?-1:1)+","+(ne?-1:1)+")"+i(-te+"px",-Z+"px")+";"}}Y.attr("style",U);var X=new Promise(function(re){if(C._hasZ)re();else if(C._hasSource)if(C._canvas&&C._canvas.el.width===z&&C._canvas.el.height===F&&C._canvas.source===C.source)re();else{var ie=document.createElement("canvas");ie.width=z,ie.height=F;var oe=ie.getContext("2d",{willReadFrequently:!0});C._image=C._image||new Image;var ue=C._image;ue.onload=function(){oe.drawImage(ue,0,0),C._canvas={el:ie,source:C.source},re()},ue.setAttribute("src",C.source)}}).then(function(){var re,ie;if(C._hasZ)ie=Q(function(ue,ce){return O[ce][ue]}),re=ie.toDataURL("image/png");else if(C._hasSource)if(w)re=C.source;else{var oe=C._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,z,F).data;ie=Q(function(ue,ce){var ye=4*(ce*z+ue);return[oe[ye],oe[ye+1],oe[ye+2],oe[ye+3]]}),re=ie.toDataURL("image/png")}Y.attr({"xlink:href":re,height:j,width:q,x:k,y:A})});u._promises.push(X)}function Q(re){var ie=document.createElement("canvas");ie.width=q,ie.height=j;var oe,ue=ie.getContext("2d",{willReadFrequently:!0}),ce=function(Ce){return v.constrain(Math.round(l.c2p(I+Ce*B)-k),0,q)},ye=function(Ce){return v.constrain(Math.round(h.c2p(R+Ce*N)-A),0,j)},de=g.colormodel[C.colormodel],me=de.colormodel||C.colormodel,pe=de.fmt;for(b=0;b0}function T(I){I.each(function(R){y.stroke(d.select(this),R.line.color)}).each(function(R){y.fill(d.select(this),R.color)}).style("stroke-width",function(R){return R.line.width})}function A(I,R,z){var F=I._fullLayout,B=M.extendFlat({type:"linear",ticks:"outside",range:z,showline:!0},R),N={type:"linear",_id:"x"+R._id},q={letter:"x",font:F.font,noHover:!0,noTickson:!0};function j(Y,U){return M.coerce(B,N,_,Y,U)}return f(B,N,j,q,F),m(B,N,j,q),N}function L(I,R,z){return[Math.min(R/I.width,z/I.height),I,R+"x"+z]}function b(I,R,z,F){var B=document.createElementNS("http://www.w3.org/2000/svg","text"),N=d.select(B);return N.text(I).attr("x",0).attr("y",0).attr("text-anchor",z).attr("data-unformatted",I).call(l.convertToTspans,F).call(c.font,R),c.bBox(N.node())}function O(I,R,z,F,B,N){var q="_cache"+R;I[q]&&I[q].key===B||(I[q]={key:B,value:z});var j=M.aggNums(N,null,[I[q].value,F],2);return I[q].value=j,j}x.exports=function(I,R,z,F){var B,N=I._fullLayout;E(z)&&F&&(B=F()),M.makeTraceGroups(N._indicatorlayer,R,"trace").each(function(q){var j,Y,U,G,W,H=q[0].trace,ne=d.select(this),te=H._hasGauge,Z=H._isAngular,X=H._isBullet,Q=H.domain,re={w:N._size.w*(Q.x[1]-Q.x[0]),h:N._size.h*(Q.y[1]-Q.y[0]),l:N._size.l+N._size.w*Q.x[0],r:N._size.r+N._size.w*(1-Q.x[1]),t:N._size.t+N._size.h*(1-Q.y[1]),b:N._size.b+N._size.h*Q.y[0]},ie=re.l+re.w/2,oe=re.t+re.h/2,ue=Math.min(re.w/2,re.h),ce=s.innerRadius*ue,ye=H.align||"center";if(Y=oe,te){if(Z&&(j=ie,Y=oe+ue/2,U=function(Se){return function(Ce,ae){return[ae/Math.sqrt(Ce.width/2*(Ce.width/2)+Ce.height*Ce.height),Ce,ae]}(Se,.9*ce)}),X){var de=s.bulletPadding,me=1-s.bulletNumberDomainSize+de;j=re.l+(me+(1-me)*w[ye])*re.w,U=function(Se){return L(Se,(s.bulletNumberDomainSize-de)*re.w,re.h)}}}else j=re.l+w[ye]*re.w,U=function(Se){return L(Se,re.w,re.h)};(function(Se,Ce,ae,he){var be,ke,Le,Be=ae[0].trace,ze=he.numbersX,je=he.numbersY,ge=Be.align||"center",we=C[ge],Ee=he.transitionOpts,Ve=he.onComplete,Ye=M.ensureSingle(Ce,"g","numbers"),$e=[];Be._hasNumber&&$e.push("number"),Be._hasDelta&&($e.push("delta"),Be.delta.position==="left"&&$e.reverse());var st=Ye.selectAll("text").data($e);function ot(Bt,Wt,Vt,Ke){if(!Bt.match("s")||Vt>=0==Ke>=0||Wt(Vt).slice(-1).match(k)||Wt(Ke).slice(-1).match(k))return Wt;var Je=Bt.slice().replace("s","f").replace(/\d+/,function(nt){return parseInt(nt)-1}),We=A(Se,{tickformat:Je});return function(nt){return Math.abs(nt)<1?h.tickText(We,nt).text:Wt(nt)}}st.enter().append("text"),st.attr("text-anchor",function(){return we}).attr("class",function(Bt){return Bt}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),st.exit().remove();var ft,bt=Be.mode+Be.align;if(Be._hasDelta&&(ft=function(){var Bt=A(Se,{tickformat:Be.delta.valueformat},Be._range);Bt.setScale(),h.prepTicks(Bt);var Wt=function(Ne){return h.tickText(Bt,Ne).text},Vt=Be.delta.suffix,Ke=Be.delta.prefix,Je=function(Ne){return Be.delta.relative?Ne.relativeDelta:Ne.delta},We=function(Ne,Qe){return Ne===0||typeof Ne!="number"||isNaN(Ne)?"-":(Ne>0?Be.delta.increasing.symbol:Be.delta.decreasing.symbol)+Ke+Qe(Ne)+Vt},nt=function(Ne){return Ne.delta>=0?Be.delta.increasing.color:Be.delta.decreasing.color};Be._deltaLastValue===void 0&&(Be._deltaLastValue=Je(ae[0]));var ht=Ye.select("text.delta");function Oe(){ht.text(We(Je(ae[0]),Wt)).call(y.fill,nt(ae[0])).call(l.convertToTspans,Se)}return ht.call(c.font,Be.delta.font).call(y.fill,nt({delta:Be._deltaLastValue})),E(Ee)?ht.transition().duration(Ee.duration).ease(Ee.easing).tween("text",function(){var Ne=d.select(this),Qe=Je(ae[0]),ut=Be._deltaLastValue,pt=ot(Be.delta.valueformat,Wt,ut,Qe),_t=i(ut,Qe);return Be._deltaLastValue=Qe,function(It){Ne.text(We(_t(It),pt)),Ne.call(y.fill,nt({delta:_t(It)}))}}).each("end",function(){Oe(),Ve&&Ve()}).each("interrupt",function(){Oe(),Ve&&Ve()}):Oe(),ke=b(We(Je(ae[0]),Wt),Be.delta.font,we,Se),ht}(),bt+=Be.delta.position+Be.delta.font.size+Be.delta.font.family+Be.delta.valueformat,bt+=Be.delta.increasing.symbol+Be.delta.decreasing.symbol,Le=ke),Be._hasNumber&&(function(){var Bt=A(Se,{tickformat:Be.number.valueformat},Be._range);Bt.setScale(),h.prepTicks(Bt);var Wt=function(nt){return h.tickText(Bt,nt).text},Vt=Be.number.suffix,Ke=Be.number.prefix,Je=Ye.select("text.number");function We(){var nt=typeof ae[0].y=="number"?Ke+Wt(ae[0].y)+Vt:"-";Je.text(nt).call(c.font,Be.number.font).call(l.convertToTspans,Se)}E(Ee)?Je.transition().duration(Ee.duration).ease(Ee.easing).each("end",function(){We(),Ve&&Ve()}).each("interrupt",function(){We(),Ve&&Ve()}).attrTween("text",function(){var nt=d.select(this),ht=i(ae[0].lastY,ae[0].y);Be._lastValue=ae[0].y;var Oe=ot(Be.number.valueformat,Wt,ae[0].lastY,ae[0].y);return function(Ne){nt.text(Ke+Oe(ht(Ne))+Vt)}}):We(),be=b(Ke+Wt(ae[0].y)+Vt,Be.number.font,we,Se)}(),bt+=Be.number.font.size+Be.number.font.family+Be.number.valueformat+Be.number.suffix+Be.number.prefix,Le=be),Be._hasDelta&&Be._hasNumber){var Et,kt,xt=[(be.left+be.right)/2,(be.top+be.bottom)/2],Ft=[(ke.left+ke.right)/2,(ke.top+ke.bottom)/2],Dt=.75*Be.delta.font.size;Be.delta.position==="left"&&(Et=O(Be,"deltaPos",0,-1*(be.width*w[Be.align]+ke.width*(1-w[Be.align])+Dt),bt,Math.min),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Dt,height:Math.max(be.height,ke.height),left:ke.left+Et,right:be.right,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="right"&&(Et=O(Be,"deltaPos",0,be.width*(1-w[Be.align])+ke.width*w[Be.align]+Dt,bt,Math.max),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Dt,height:Math.max(be.height,ke.height),left:be.left,right:ke.right+Et,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="bottom"&&(Et=null,kt=ke.height,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height,bottom:be.bottom+ke.height}),Be.delta.position==="top"&&(Et=null,kt=be.top,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height-ke.height,bottom:be.bottom}),ft.attr({dx:Et,dy:kt})}(Be._hasNumber||Be._hasDelta)&&Ye.attr("transform",function(){var Bt=he.numbersScaler(Le);bt+=Bt[2];var Wt,Vt=O(Be,"numbersScale",1,Bt[0],bt,Math.min);Be._scaleNumbers||(Vt=1),Wt=Be._isAngular?je-Vt*Le.bottom:je-Vt*(Le.top+Le.bottom)/2,Be._numbersTop=Vt*Le.top+Wt;var Ke=Le[ge];ge==="center"&&(Ke=(Le.left+Le.right)/2);var Je=ze-Vt*Ke;return Je=O(Be,"numbersTranslate",0,Je,bt,Math.max),p(Je,Wt)+g(Vt)})})(I,ne,q,{numbersX:j,numbersY:Y,numbersScaler:U,transitionOpts:z,onComplete:B}),te&&(G={range:H.gauge.axis.range,color:H.gauge.bgcolor,line:{color:H.gauge.bordercolor,width:0},thickness:1},W={range:H.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:H.gauge.bordercolor,width:H.gauge.borderwidth},thickness:1});var pe=ne.selectAll("g.angular").data(Z?q:[]);pe.exit().remove();var xe=ne.selectAll("g.angularaxis").data(Z?q:[]);xe.exit().remove(),Z&&function(Se,Ce,ae,he){var be,ke,Le,Be,ze=ae[0].trace,je=he.size,ge=he.radius,we=he.innerRadius,Ee=he.gaugeBg,Ve=he.gaugeOutline,Ye=[je.l+je.w/2,je.t+je.h/2+ge/2],$e=he.gauge,st=he.layer,ot=he.transitionOpts,ft=he.onComplete,bt=Math.PI/2;function Et(It){var Lt=ze.gauge.axis.range[0],yt=(It-Lt)/(ze.gauge.axis.range[1]-Lt)*Math.PI-bt;return yt<-bt?-bt:yt>bt?bt:yt}function kt(It){return d.svg.arc().innerRadius((we+ge)/2-It/2*(ge-we)).outerRadius((we+ge)/2+It/2*(ge-we)).startAngle(-bt)}function xt(It){It.attr("d",function(Lt){return kt(Lt.thickness).startAngle(Et(Lt.range[0])).endAngle(Et(Lt.range[1]))()})}$e.enter().append("g").classed("angular",!0),$e.attr("transform",p(Ye[0],Ye[1])),st.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),st.selectAll("g.xangularaxistick,path,text").remove(),(be=A(Se,ze.gauge.axis)).type="linear",be.range=ze.gauge.axis.range,be._id="xangularaxis",be.ticklabeloverflow="allow",be.setScale();var Ft=function(It){return(be.range[0]-It.x)/(be.range[1]-be.range[0])*Math.PI+Math.PI},Dt={},Bt=h.makeLabelFns(be,0).labelStandoff;Dt.xFn=function(It){var Lt=Ft(It);return Math.cos(Lt)*Bt},Dt.yFn=function(It){var Lt=Ft(It),yt=Math.sin(Lt)>0?.2:1;return-Math.sin(Lt)*(Bt+It.fontSize*yt)+Math.abs(Math.cos(Lt))*(It.fontSize*a)},Dt.anchorFn=function(It){var Lt=Ft(It),yt=Math.cos(Lt);return Math.abs(yt)<.1?"middle":yt>0?"start":"end"},Dt.heightFn=function(It,Lt,yt){var Pt=Ft(It);return-.5*(1+Math.sin(Pt))*yt};var Wt=function(It){return p(Ye[0]+ge*Math.cos(It),Ye[1]-ge*Math.sin(It))};if(Le=function(It){return Wt(Ft(It))},ke=h.calcTicks(be),Be=h.getTickSigns(be)[2],be.visible){Be=be.ticks==="inside"?-1:1;var Vt=(be.linewidth||1)/2;h.drawTicks(Se,be,{vals:ke,layer:st,path:"M"+Be*Vt+",0h"+Be*be.ticklen,transFn:function(It){var Lt=Ft(It);return Wt(Lt)+"rotate("+-u(Lt)+")"}}),h.drawLabels(Se,be,{vals:ke,layer:st,transFn:Le,labelFns:Dt})}var Ke=[Ee].concat(ze.gauge.steps),Je=$e.selectAll("g.bg-arc").data(Ke);Je.enter().append("g").classed("bg-arc",!0).append("path"),Je.select("path").call(xt).call(T),Je.exit().remove();var We=kt(ze.gauge.bar.thickness),nt=$e.selectAll("g.value-arc").data([ze.gauge.bar]);nt.enter().append("g").classed("value-arc",!0).append("path");var ht,Oe,Ne,Qe=nt.select("path");E(ot)?(Qe.transition().duration(ot.duration).ease(ot.easing).each("end",function(){ft&&ft()}).each("interrupt",function(){ft&&ft()}).attrTween("d",(ht=We,Oe=Et(ae[0].lastY),Ne=Et(ae[0].y),function(){var It=v(Oe,Ne);return function(Lt){return ht.endAngle(It(Lt))()}})),ze._lastValue=ae[0].y):Qe.attr("d",typeof ae[0].y=="number"?We.endAngle(Et(ae[0].y)):"M0,0Z"),Qe.call(T),nt.exit().remove(),Ke=[];var ut=ze.gauge.threshold.value;(ut||ut===0)&&Ke.push({range:[ut,ut],color:ze.gauge.threshold.color,line:{color:ze.gauge.threshold.line.color,width:ze.gauge.threshold.line.width},thickness:ze.gauge.threshold.thickness});var pt=$e.selectAll("g.threshold-arc").data(Ke);pt.enter().append("g").classed("threshold-arc",!0).append("path"),pt.select("path").call(xt).call(T),pt.exit().remove();var _t=$e.selectAll("g.gauge-outline").data([Ve]);_t.enter().append("g").classed("gauge-outline",!0).append("path"),_t.select("path").call(xt).call(T),_t.exit().remove()}(I,0,q,{radius:ue,innerRadius:ce,gauge:pe,layer:xe,size:re,gaugeBg:G,gaugeOutline:W,transitionOpts:z,onComplete:B});var Pe=ne.selectAll("g.bullet").data(X?q:[]);Pe.exit().remove();var _e=ne.selectAll("g.bulletaxis").data(X?q:[]);_e.exit().remove(),X&&function(Se,Ce,ae,he){var be,ke,Le,Be,ze,je=ae[0].trace,ge=he.gauge,we=he.layer,Ee=he.gaugeBg,Ve=he.gaugeOutline,Ye=he.size,$e=je.domain,st=he.transitionOpts,ot=he.onComplete;ge.enter().append("g").classed("bullet",!0),ge.attr("transform",p(Ye.l,Ye.t)),we.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),we.selectAll("g.xbulletaxistick,path,text").remove();var ft=Ye.h,bt=je.gauge.bar.thickness*ft,Et=$e.x[0],kt=$e.x[0]+($e.x[1]-$e.x[0])*(je._hasNumber||je._hasDelta?1-s.bulletNumberDomainSize:1);function xt(Je){Je.attr("width",function(We){return Math.max(0,be.c2p(We.range[1])-be.c2p(We.range[0]))}).attr("x",function(We){return be.c2p(We.range[0])}).attr("y",function(We){return .5*(1-We.thickness)*ft}).attr("height",function(We){return We.thickness*ft})}(be=A(Se,je.gauge.axis))._id="xbulletaxis",be.domain=[Et,kt],be.setScale(),ke=h.calcTicks(be),Le=h.makeTransTickFn(be),Be=h.getTickSigns(be)[2],ze=Ye.t+Ye.h,be.visible&&(h.drawTicks(Se,be,{vals:be.ticks==="inside"?h.clipEnds(be,ke):ke,layer:we,path:h.makeTickPath(be,ze,Be),transFn:Le}),h.drawLabels(Se,be,{vals:ke,layer:we,transFn:Le,labelFns:h.makeLabelFns(be,ze)}));var Ft=[Ee].concat(je.gauge.steps),Dt=ge.selectAll("g.bg-bullet").data(Ft);Dt.enter().append("g").classed("bg-bullet",!0).append("rect"),Dt.select("rect").call(xt).call(T),Dt.exit().remove();var Bt=ge.selectAll("g.value-bullet").data([je.gauge.bar]);Bt.enter().append("g").classed("value-bullet",!0).append("rect"),Bt.select("rect").attr("height",bt).attr("y",(ft-bt)/2).call(T),E(st)?Bt.select("rect").transition().duration(st.duration).ease(st.easing).each("end",function(){ot&&ot()}).each("interrupt",function(){ot&&ot()}).attr("width",Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y)))):Bt.select("rect").attr("width",typeof ae[0].y=="number"?Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y))):0),Bt.exit().remove();var Wt=ae.filter(function(){return je.gauge.threshold.value||je.gauge.threshold.value===0}),Vt=ge.selectAll("g.threshold-bullet").data(Wt);Vt.enter().append("g").classed("threshold-bullet",!0).append("line"),Vt.select("line").attr("x1",be.c2p(je.gauge.threshold.value)).attr("x2",be.c2p(je.gauge.threshold.value)).attr("y1",(1-je.gauge.threshold.thickness)/2*ft).attr("y2",(1-(1-je.gauge.threshold.thickness)/2)*ft).call(y.stroke,je.gauge.threshold.line.color).style("stroke-width",je.gauge.threshold.line.width),Vt.exit().remove();var Ke=ge.selectAll("g.gauge-outline").data([Ve]);Ke.enter().append("g").classed("gauge-outline",!0).append("rect"),Ke.select("rect").call(xt).call(T),Ke.exit().remove()}(I,0,q,{gauge:Pe,layer:_e,size:re,gaugeBg:G,gaugeOutline:W,transitionOpts:z,onComplete:B});var Me=ne.selectAll("text.title").data(q);Me.exit().remove(),Me.enter().append("text").classed("title",!0),Me.attr("text-anchor",function(){return X?C.right:C[H.title.align]}).text(H.title.text).call(c.font,H.title.font).call(l.convertToTspans,I),Me.attr("transform",function(){var Se,Ce=re.l+re.w*w[H.title.align],ae=s.titlePadding,he=c.bBox(Me.node());return te?(Z&&(Se=H.gauge.axis.visible?c.bBox(xe.node()).top-ae-he.bottom:re.t+re.h/2-ue/2-he.bottom-ae),X&&(Se=Y-(he.top+he.bottom)/2,Ce=re.l-s.bulletPadding*re.w)):Se=H._numbersTop-ae-he.bottom,p(Ce,Se)})})}},16249:function(x,o,t){var d=t(50693),v=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),g=t(9012),p=t(1426).extendFlat,u=t(30962).overrideAll,a=x.exports=u(p({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:i(),xhoverformat:v("x"),yhoverformat:v("y"),zhoverformat:v("z"),valuehoverformat:v("value",1),showlegend:p({},g.showlegend,{dflt:!1})},d("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,lightposition:M.lightposition,lighting:M.lighting,flatshading:M.flatshading,contour:M.contour,hoverinfo:p({},g.hoverinfo)}),"calc","nested");a.flatshading.dflt=!0,a.lighting.facenormalsepsilon.dflt=0,a.x.editType=a.y.editType=a.z.editType=a.value.editType="calc+clearAxisTypes",a.transforms=void 0},56959:function(x,o,t){var d=t(78803),v=t(88489).processGrid,i=t(88489).filter;x.exports=function(M,g){g._len=Math.min(g.x.length,g.y.length,g.z.length,g.value.length),g._x=i(g.x,g._len),g._y=i(g.y,g._len),g._z=i(g.z,g._len),g._value=i(g.value,g._len);var p=v(g);g._gridFill=p.fill,g._Xs=p.Xs,g._Ys=p.Ys,g._Zs=p.Zs,g._len=p.len;for(var u=1/0,a=-1/0,c=0;c0;f--){var m=Math.min(h[f],h[f-1]),_=Math.max(h[f],h[f-1]);if(_>m&&m-1}function ie(je,ge){return je===null?ge:je}function oe(je,ge,we){ne();var Ee,Ve,Ye,$e=[ge],st=[we];if(w>=1)$e=[ge],st=[we];else if(w>0){var ot=function(Wt,Vt){var Ke=Wt[0],Je=Wt[1],We=Wt[2],nt=function(It,Lt,yt){for(var Pt=[],wt=0;wt-1?we[Et]:H(kt,xt,Ft);bt[Et]=Bt>-1?Bt:Z(kt,xt,Ft,ie(je,Dt))}Ee=bt[0],Ve=bt[1],Ye=bt[2],l._meshI.push(Ee),l._meshJ.push(Ve),l._meshK.push(Ye),++O}}function ue(je,ge,we,Ee){var Ve=je[3];VeEe&&(Ve=Ee);for(var Ye=(je[3]-Ve)/(je[3]-ge[3]+1e-9),$e=[],st=0;st<4;st++)$e[st]=(1-Ye)*je[st]+Ye*ge[st];return $e}function ce(je,ge,we){return je>=ge&&je<=we}function ye(je){var ge=.001*(W-G);return je>=G-ge&&je<=W+ge}function de(je){for(var ge=[],we=0;we<4;we++){var Ee=je[we];ge.push([l._x[Ee],l._y[Ee],l._z[Ee],l._value[Ee]])}return ge}function me(je,ge,we,Ee,Ve,Ye){Ye||(Ye=1),we=[-1,-1,-1];var $e=!1,st=[ce(ge[0][3],Ee,Ve),ce(ge[1][3],Ee,Ve),ce(ge[2][3],Ee,Ve)];if(!st[0]&&!st[1]&&!st[2])return!1;var ot=function(bt,Et,kt){return ye(Et[0][3])&&ye(Et[1][3])&&ye(Et[2][3])?(oe(bt,Et,kt),!0):Ye<3&&me(bt,Et,kt,G,W,++Ye)};if(st[0]&&st[1]&&st[2])return ot(je,ge,we)||$e;var ft=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach(function(bt){if(st[bt[0]]&&st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(xt,Et,Ee,Ve),Dt=ue(xt,kt,Ee,Ve);$e=ot(je,[Dt,Ft,Et],[-1,-1,we[bt[0]]])||$e,$e=ot(je,[Et,kt,Dt],[we[bt[0]],we[bt[1]],-1])||$e,ft=!0}}),ft||[[0,1,2],[1,2,0],[2,0,1]].forEach(function(bt){if(st[bt[0]]&&!st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(kt,Et,Ee,Ve),Dt=ue(xt,Et,Ee,Ve);$e=ot(je,[Dt,Ft,Et],[-1,-1,we[bt[0]]])||$e,ft=!0}}),$e}function pe(je,ge,we,Ee){var Ve=!1,Ye=de(ge),$e=[ce(Ye[0][3],we,Ee),ce(Ye[1][3],we,Ee),ce(Ye[2][3],we,Ee),ce(Ye[3][3],we,Ee)];if(!($e[0]||$e[1]||$e[2]||$e[3]))return Ve;if($e[0]&&$e[1]&&$e[2]&&$e[3])return b&&(Ve=function(ot,ft,bt){var Et=function(kt,xt,Ft){oe(ot,[ft[kt],ft[xt],ft[Ft]],[bt[kt],bt[xt],bt[Ft]])};Et(0,1,2),Et(3,0,1),Et(2,3,0),Et(1,2,3)}(je,Ye,ge)||Ve),Ve;var st=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach(function(ot){if($e[ot[0]]&&$e[ot[1]]&&$e[ot[2]]&&!$e[ot[3]]){var ft=Ye[ot[0]],bt=Ye[ot[1]],Et=Ye[ot[2]],kt=Ye[ot[3]];if(b)Ve=oe(je,[ft,bt,Et],[ge[ot[0]],ge[ot[1]],ge[ot[2]]])||Ve;else{var xt=ue(kt,ft,we,Ee),Ft=ue(kt,bt,we,Ee),Dt=ue(kt,Et,we,Ee);Ve=oe(null,[xt,Ft,Dt],[-1,-1,-1])||Ve}st=!0}}),st||([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach(function(ot){if($e[ot[0]]&&$e[ot[1]]&&!$e[ot[2]]&&!$e[ot[3]]){var ft=Ye[ot[0]],bt=Ye[ot[1]],Et=Ye[ot[2]],kt=Ye[ot[3]],xt=ue(Et,ft,we,Ee),Ft=ue(Et,bt,we,Ee),Dt=ue(kt,bt,we,Ee),Bt=ue(kt,ft,we,Ee);b?(Ve=oe(je,[ft,Bt,xt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[bt,Ft,Dt],[ge[ot[1]],-1,-1])||Ve):Ve=function(Wt,Vt,Ke){var Je=function(We,nt,ht){oe(null,[Vt[We],Vt[nt],Vt[ht]],[Ke[We],Ke[nt],Ke[ht]])};Je(0,1,2),Je(2,3,0)}(0,[xt,Ft,Dt,Bt],[-1,-1,-1,-1])||Ve,st=!0}}),st||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach(function(ot){if($e[ot[0]]&&!$e[ot[1]]&&!$e[ot[2]]&&!$e[ot[3]]){var ft=Ye[ot[0]],bt=Ye[ot[1]],Et=Ye[ot[2]],kt=Ye[ot[3]],xt=ue(bt,ft,we,Ee),Ft=ue(Et,ft,we,Ee),Dt=ue(kt,ft,we,Ee);b?(Ve=oe(je,[ft,xt,Ft],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ft,Ft,Dt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ft,Dt,xt],[ge[ot[0]],-1,-1])||Ve):Ve=oe(null,[xt,Ft,Dt],[-1,-1,-1])||Ve,st=!0}})),Ve}function xe(je,ge,we,Ee,Ve,Ye,$e,st,ot,ft,bt){var Et=!1;return L&&(re(je,"A")&&(Et=pe(null,[ge,we,Ee,Ye],ft,bt)||Et),re(je,"B")&&(Et=pe(null,[we,Ee,Ve,ot],ft,bt)||Et),re(je,"C")&&(Et=pe(null,[we,Ye,$e,ot],ft,bt)||Et),re(je,"D")&&(Et=pe(null,[Ee,Ye,st,ot],ft,bt)||Et),re(je,"E")&&(Et=pe(null,[we,Ee,Ye,ot],ft,bt)||Et)),b&&(Et=pe(je,[we,Ee,Ye,ot],ft,bt)||Et),Et}function Pe(je,ge,we,Ee,Ve,Ye,$e,st){return[st[0]===!0||me(je,de([ge,we,Ee]),[ge,we,Ee],Ye,$e),st[1]===!0||me(je,de([Ee,Ve,ge]),[Ee,Ve,ge],Ye,$e)]}function _e(je,ge,we,Ee,Ve,Ye,$e,st,ot){return st?Pe(je,ge,we,Ve,Ee,Ye,$e,ot):Pe(je,we,Ve,Ee,ge,Ye,$e,ot)}function Me(je,ge,we,Ee,Ve,Ye,$e){var st,ot,ft,bt,Et=!1,kt=function(){Et=me(je,[st,ot,ft],[-1,-1,-1],Ve,Ye)||Et,Et=me(je,[ft,bt,st],[-1,-1,-1],Ve,Ye)||Et},xt=$e[0],Ft=$e[1],Dt=$e[2];return xt&&(st=X(de([j(ge,we-0,Ee-0)])[0],de([j(ge-1,we-0,Ee-0)])[0],xt),ot=X(de([j(ge,we-0,Ee-1)])[0],de([j(ge-1,we-0,Ee-1)])[0],xt),ft=X(de([j(ge,we-1,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],xt),bt=X(de([j(ge,we-1,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],xt),kt()),Ft&&(st=X(de([j(ge-0,we,Ee-0)])[0],de([j(ge-0,we-1,Ee-0)])[0],Ft),ot=X(de([j(ge-0,we,Ee-1)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ft),ft=X(de([j(ge-1,we,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ft),bt=X(de([j(ge-1,we,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],Ft),kt()),Dt&&(st=X(de([j(ge-0,we-0,Ee)])[0],de([j(ge-0,we-0,Ee-1)])[0],Dt),ot=X(de([j(ge-0,we-1,Ee)])[0],de([j(ge-0,we-1,Ee-1)])[0],Dt),ft=X(de([j(ge-1,we-1,Ee)])[0],de([j(ge-1,we-1,Ee-1)])[0],Dt),bt=X(de([j(ge-1,we-0,Ee)])[0],de([j(ge-1,we-0,Ee-1)])[0],Dt),kt()),Et}function Se(je,ge,we,Ee,Ve,Ye,$e,st,ot,ft,bt,Et){var kt=je;return Et?(L&&je==="even"&&(kt=null),xe(kt,ge,we,Ee,Ve,Ye,$e,st,ot,ft,bt)):(L&&je==="odd"&&(kt=null),xe(kt,ot,st,$e,Ye,Ve,Ee,we,ge,ft,bt))}function Ce(je,ge,we,Ee,Ve){for(var Ye=[],$e=0,st=0;stMath.abs(Ye-U)?[Y,Ye]:[Ye,U];L=!0,be(ge,$e[0],$e[1]),L=!1}}var st=[[Math.min(G,U),Math.max(G,U)],[Math.min(Y,W),Math.max(Y,W)]];["x","y","z"].forEach(function(ot){for(var ft=[],bt=0;bt0&&(Bt.push(Ke.id),ot==="x"?Wt.push([Ke.distRatio,0,0]):ot==="y"?Wt.push([0,Ke.distRatio,0]):Wt.push([0,0,Ke.distRatio]))}else Dt=ze(1,ot==="x"?F-1:ot==="y"?B-1:N-1);Bt.length>0&&(ft[Et]=ot==="x"?ke(je,Bt,kt,xt,Wt,ft[Et]):ot==="y"?Le(je,Bt,kt,xt,Wt,ft[Et]):Be(je,Bt,kt,xt,Wt,ft[Et]),Et++),Dt.length>0&&(ft[Et]=ot==="x"?Ce(je,Dt,kt,xt,ft[Et]):ot==="y"?ae(je,Dt,kt,xt,ft[Et]):he(je,Dt,kt,xt,ft[Et]),Et++)}var Je=l.caps[ot];Je.show&&Je.fill&&(Q(Je.fill),ft[Et]=ot==="x"?Ce(je,[0,F-1],kt,xt,ft[Et]):ot==="y"?ae(je,[0,B-1],kt,xt,ft[Et]):he(je,[0,N-1],kt,xt,ft[Et]),Et++)}}),O===0&&te(),l._meshX=m,l._meshY=_,l._meshZ=y,l._meshIntensity=C,l._Xs=I,l._Ys=R,l._Zs=z}(),l}x.exports={findNearestOnAxis:p,generateIsoMeshes:s,createIsosurfaceTrace:function(l,h){var f=l.glplot.gl,m=d({gl:f}),_=new u(l,m,h.uid);return m._trace=_,_.update(h),l.glplot.add(m),_}}},82738:function(x,o,t){var d=t(71828),v=t(73972),i=t(16249),M=t(1586);function g(p,u,a,c,s){var l=s("isomin"),h=s("isomax");h!=null&&l!=null&&l>h&&(u.isomin=null,u.isomax=null);var f=s("x"),m=s("y"),_=s("z"),y=s("value");f&&f.length&&m&&m.length&&_&&_.length&&y&&y.length?(v.getComponentMethod("calendars","handleTraceDefaults")(p,u,["x","y","z"],c),s("valuehoverformat"),["x","y","z"].forEach(function(C){s(C+"hoverformat");var w="caps."+C;s(w+".show")&&s(w+".fill");var k="slices."+C;s(k+".show")&&(s(k+".fill"),s(k+".locations"))}),s("spaceframe.show")&&s("spaceframe.fill"),s("surface.show")&&(s("surface.count"),s("surface.fill"),s("surface.pattern")),s("contour.show")&&(s("contour.color"),s("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(C){s(C)}),M(p,u,c,s,{prefix:"",cLetter:"c"}),u._length=null):u.visible=!1}x.exports={supplyDefaults:function(p,u,a,c){g(p,u,0,c,function(s,l){return d.coerce(p,u,i,s,l)})},supplyIsoDefaults:g}},64943:function(x,o,t){x.exports={attributes:t(16249),supplyDefaults:t(82738).supplyDefaults,calc:t(56959),colorbar:{min:"cmin",max:"cmax"},plot:t(22674).createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:t(58547),categories:["gl3d","showLegend"],meta:{}}},2418:function(x,o,t){var d=t(50693),v=t(12663).axisHoverFormat,i=t(5386).fF,M=t(54532),g=t(9012),p=t(1426).extendFlat;x.exports=p({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:i({editType:"calc"}),xhoverformat:v("x"),yhoverformat:v("y"),zhoverformat:v("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},d("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:p({},M.contours.x.show,{}),color:M.contours.x.color,width:M.contours.x.width,editType:"calc"},lightposition:{x:p({},M.lightposition.x,{dflt:1e5}),y:p({},M.lightposition.y,{dflt:1e5}),z:p({},M.lightposition.z,{dflt:0}),editType:"calc"},lighting:p({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"},M.lighting),hoverinfo:p({},g.hoverinfo,{editType:"calc"}),showlegend:p({},g.showlegend,{dflt:!1})})},82932:function(x,o,t){var d=t(78803);x.exports=function(v,i){i.intensity&&d(v,i,{vals:i.intensity,containerStr:"",cLetter:"c"})}},91134:function(x,o,t){var d=t(9330).gl_mesh3d,v=t(9330).delaunay_triangulate,i=t(9330).alpha_shape,M=t(9330).convex_hull,g=t(81697).parseColorScale,p=t(78614),u=t(21081).extractOpts,a=t(90060);function c(_,y,C){this.scene=_,this.uid=C,this.mesh=y,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var s=c.prototype;function l(_){for(var y=[],C=_.length,w=0;w=y-.5)return!1;return!0}s.handlePick=function(_){if(_.object===this.mesh){var y=_.index=_.data.index;_.data._cellCenter?_.traceCoordinate=_.data.dataCoordinate:_.traceCoordinate=[this.data.x[y],this.data.y[y],this.data.z[y]];var C=this.data.hovertext||this.data.text;return Array.isArray(C)&&C[y]!==void 0?_.textLabel=C[y]:C&&(_.textLabel=C),!0}},s.update=function(_){var y=this.scene,C=y.fullSceneLayout;this.data=_;var w,k=_.x.length,E=a(h(C.xaxis,_.x,y.dataScale[0],_.xcalendar),h(C.yaxis,_.y,y.dataScale[1],_.ycalendar),h(C.zaxis,_.z,y.dataScale[2],_.zcalendar));if(_.i&&_.j&&_.k){if(_.i.length!==_.j.length||_.j.length!==_.k.length||!m(_.i,k)||!m(_.j,k)||!m(_.k,k))return;w=a(f(_.i),f(_.j),f(_.k))}else w=_.alphahull===0?M(E):_.alphahull>0?i(_.alphahull,E):function(b,O){for(var I=["x","y","z"].indexOf(b),R=[],z=O.length,F=0;FT):E=F>I,T=F;var B=f(I,R,z,F);B.pos=O,B.yc=(I+F)/2,B.i=b,B.dir=E?"increasing":"decreasing",B.x=B.pos,B.y=[z,R],A&&(B.orig_p=s[b]),w&&(B.tx=c.text[b]),k&&(B.htx=c.hovertext[b]),L.push(B)}else L.push({pos:O,empty:!0})}return c._extremes[h._id]=i.findExtremes(h,d.concat(y,_),{padded:!0}),L.length&&(L[0].t={labels:{open:v(a,"open:")+" ",high:v(a,"high:")+" ",low:v(a,"low:")+" ",close:v(a,"close:")+" "}}),L}x.exports={calc:function(a,c){var s=i.getFromId(a,c.xaxis),l=i.getFromId(a,c.yaxis),h=function(C,w,k){var E=k._minDiff;if(!E){var T,A=C._fullData,L=[];for(E=1/0,T=0;T"+w.labels[R]+d.hoverLabelText(y,z,C.yhoverformat):((I=v.extendFlat({},E)).y0=I.y1=F,I.yLabelVal=z,I.yLabel=w.labels[R]+d.hoverLabelText(y,z,C.yhoverformat),I.name="",k.push(I),b[z]=I)}return k}function s(l,h,f,m){var _=l.cd,y=l.ya,C=_[0].trace,w=_[0].t,k=a(l,h,f,m);if(!k)return[];var E=_[k.index],T=k.index=E.i,A=E.dir;function L(B){return w.labels[B]+d.hoverLabelText(y,C[B][T],C.yhoverformat)}var b=E.hi||C.hoverinfo,O=b.split("+"),I=b==="all",R=I||O.indexOf("y")!==-1,z=I||O.indexOf("text")!==-1,F=R?[L("open"),L("high"),L("low"),L("close")+" "+u[A]]:[];return z&&g(E,C,F),k.extraText=F.join("
"),k.y0=k.y1=y.c2p(E.yc,!0),[k]}x.exports={hoverPoints:function(l,h,f,m){return l.cd[0].trace.hoverlabel.split?c(l,h,f,m):s(l,h,f,m)},hoverSplit:c,hoverOnPoints:s}},54186:function(x,o,t){x.exports={moduleType:"trace",name:"ohlc",basePlotModule:t(93612),categories:["cartesian","svg","showLegend"],meta:{},attributes:t(2522),supplyDefaults:t(16169),calc:t(3485).calc,plot:t(72314),style:t(53101),hoverPoints:t(66449).hoverPoints,selectPoints:t(67324)}},14555:function(x,o,t){var d=t(73972),v=t(71828);x.exports=function(i,M,g,p){var u=g("x"),a=g("open"),c=g("high"),s=g("low"),l=g("close");if(g("hoverlabel.split"),d.getComponentMethod("calendars","handleTraceDefaults")(i,M,["x"],p),a&&c&&s&&l){var h=Math.min(a.length,c.length,s.length,l.length);return u&&(h=Math.min(h,v.minRowLength(u))),M._length=h,h}}},72314:function(x,o,t){var d=t(39898),v=t(71828);x.exports=function(i,M,g,p){var u=M.yaxis,a=M.xaxis,c=!!a.rangebreaks;v.makeTraceGroups(p,g,"trace ohlc").each(function(s){var l=d.select(this),h=s[0],f=h.t;if(h.trace.visible!==!0||f.empty)l.remove();else{var m=f.tickLen,_=l.selectAll("path").data(v.identity);_.enter().append("path"),_.exit().remove(),_.attr("d",function(y){if(y.empty)return"M0,0Z";var C=a.c2p(y.pos-m,!0),w=a.c2p(y.pos+m,!0),k=c?(C+w)/2:a.c2p(y.pos,!0);return"M"+C+","+u.c2p(y.o,!0)+"H"+k+"M"+k+","+u.c2p(y.h,!0)+"V"+u.c2p(y.l,!0)+"M"+w+","+u.c2p(y.c,!0)+"H"+k})}})}},67324:function(x){x.exports=function(o,t){var d,v=o.cd,i=o.xaxis,M=o.yaxis,g=[],p=v[0].t.bPos||0;if(t===!1)for(d=0;d=Z.length||X[Z[Q]]!==void 0)return!1;X[Z[Q]]=!0}return!0}(te))for(ne=0;ne0;y&&(m="array");var C=l("categoryorder",m);C==="array"?(l("categoryarray"),l("ticktext")):(delete c.categoryarray,delete c.ticktext),y||C!=="array"||(s.categoryorder="trace")}}x.exports=function(c,s,l,h){function f(w,k){return d.coerce(c,s,p,w,k)}var m=g(c,s,{name:"dimensions",handleItemDefaults:a}),_=function(w,k,E,T,A){A("line.shape"),A("line.hovertemplate");var L=A("line.color",T.colorway[0]);if(v(w,"line")&&d.isArrayOrTypedArray(L)){if(L.length)return A("line.colorscale"),i(w,k,T,A,{prefix:"line.",cLetter:"c"}),L.length;k.line.color=E}return 1/0}(c,s,l,h,f);M(s,h,f),Array.isArray(m)&&m.length||(s.visible=!1),u(s,m,"values",_),f("hoveron"),f("hovertemplate"),f("arrangement"),f("bundlecolors"),f("sortpaths"),f("counts");var y={family:h.font.family,size:Math.round(h.font.size),color:h.font.color};d.coerceFont(f,"labelfont",y);var C={family:h.font.family,size:Math.round(h.font.size/1.2),color:h.font.color};d.coerceFont(f,"tickfont",C)}},94873:function(x,o,t){x.exports={attributes:t(99506),supplyDefaults:t(14647),calc:t(28699),plot:t(45784),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:t(27677),categories:["noOpacity"],meta:{}}},45460:function(x,o,t){var d=t(39898),v=t(81684).k4,i=t(72391),M=t(30211),g=t(71828),p=g.strTranslate,u=t(91424),a=t(84267),c=t(63893);function s(te,Z,X,Q){var re=Z._context.staticPlot,ie=te.map(U.bind(0,Z,X)),oe=Q.selectAll("g.parcatslayer").data([null]);oe.enter().append("g").attr("class","parcatslayer").style("pointer-events",re?"none":"all");var ue=oe.selectAll("g.trace.parcats").data(ie,l),ce=ue.enter().append("g").attr("class","trace parcats");ue.attr("transform",function(Se){return p(Se.x,Se.y)}),ce.append("g").attr("class","paths");var ye=ue.select("g.paths").selectAll("path.path").data(function(Se){return Se.paths},l);ye.attr("fill",function(Se){return Se.model.color});var de=ye.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function(Se){return Se.model.color}).attr("fill-opacity",0);k(de),ye.attr("d",function(Se){return Se.svgD}),de.empty()||ye.sort(f),ye.exit().remove(),ye.on("mouseover",m).on("mouseout",_).on("click",w),ce.append("g").attr("class","dimensions");var me=ue.select("g.dimensions").selectAll("g.dimension").data(function(Se){return Se.dimensions},l);me.enter().append("g").attr("class","dimension"),me.attr("transform",function(Se){return p(Se.x,0)}),me.exit().remove();var pe=me.selectAll("g.category").data(function(Se){return Se.categories},l),xe=pe.enter().append("g").attr("class","category");pe.attr("transform",function(Se){return p(0,Se.y)}),xe.append("rect").attr("class","catrect").attr("pointer-events","none"),pe.select("rect.catrect").attr("fill","none").attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}),T(xe);var Pe=pe.selectAll("rect.bandrect").data(function(Se){return Se.bands},l);Pe.each(function(){g.raiseToTop(this)}),Pe.attr("fill",function(Se){return Se.color});var _e=Pe.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function(Se){return Se.color}).attr("fill-opacity",0);Pe.attr("fill",function(Se){return Se.color}).attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}).attr("y",function(Se){return Se.y}).attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":Se.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),A(_e),Pe.exit().remove(),xe.append("text").attr("class","catlabel").attr("pointer-events","none");var Me=Z._fullLayout.paper_bgcolor;pe.select("text.catlabel").attr("text-anchor",function(Se){return h(Se)?"start":"end"}).attr("alignment-baseline","middle").style("text-shadow",c.makeTextShadow(Me)).style("fill","rgb(0, 0, 0)").attr("x",function(Se){return h(Se)?Se.width+5:-5}).attr("y",function(Se){return Se.height/2}).text(function(Se){return Se.model.categoryLabel}).each(function(Se){u.font(d.select(this),Se.parcatsViewModel.categorylabelfont),c.convertToTspans(d.select(this),Z)}),xe.append("text").attr("class","dimlabel"),pe.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function(Se){return Se.width/2}).attr("y",-5).text(function(Se,Ce){return Ce===0?Se.parcatsViewModel.model.dimensions[Se.model.dimensionInd].dimensionLabel:null}).each(function(Se){u.font(d.select(this),Se.parcatsViewModel.labelfont)}),pe.selectAll("rect.bandrect").on("mouseover",R).on("mouseout",z),pe.exit().remove(),me.call(d.behavior.drag().origin(function(Se){return{x:Se.x,y:0}}).on("dragstart",F).on("drag",B).on("dragend",N)),ue.each(function(Se){Se.traceSelection=d.select(this),Se.pathSelection=d.select(this).selectAll("g.paths").selectAll("path.path"),Se.dimensionSelection=d.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),ue.exit().remove()}function l(te){return te.key}function h(te){var Z=te.parcatsViewModel.dimensions.length,X=te.parcatsViewModel.dimensions[Z-1].model.dimensionInd;return te.model.dimensionInd===X}function f(te,Z){return te.model.rawColor>Z.model.rawColor?1:te.model.rawColor"),ke=d.mouse(ue)[0];M.loneHover({trace:ce,x:Pe-de.left+me.left,y:_e-de.top+me.top,text:be,color:te.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Me,idealAlign:ke1&&me.displayInd===de.dimensions.length-1?(Q=ce.left,re="left"):(Q=ce.left+ce.width,re="right");var Pe=ye.model.count,_e=ye.model.categoryLabel,Me=Pe/ye.parcatsViewModel.model.count,Se={countLabel:Pe,categoryLabel:_e,probabilityLabel:Me.toFixed(3)},Ce=[];ye.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ce.push(["Count:",Se.countLabel].join(" ")),ye.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&Ce.push(["P("+Se.categoryLabel+"):",Se.probabilityLabel].join(" "));var ae=Ce.join("
");return{trace:pe,x:ie*(Q-Z.left),y:oe*(xe-Z.top),text:ae,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:re,hovertemplate:pe.hovertemplate,hovertemplateLabels:Se,eventData:[{data:pe._input,fullData:pe,count:Pe,category:_e,probability:Me}]}}function R(te){if(!te.parcatsViewModel.dragDimension&&te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){if(d.mouse(this)[1]<-1)return;var Z,X=te.parcatsViewModel.graphDiv,Q=X._fullLayout,re=Q._paperdiv.node().getBoundingClientRect(),ie=te.parcatsViewModel.hoveron,oe=this;ie==="color"?(function(ue){var ce=d.select(ue).datum(),ye=L(ce);E(ye),ye.each(function(){g.raiseToTop(this)}),d.select(ue.parentNode).selectAll("rect.bandrect").filter(function(de){return de.color===ce.color}).each(function(){g.raiseToTop(this),d.select(this).attr("stroke","black").attr("stroke-width",1.5)})}(oe),O(oe,"plotly_hover",d.event)):(function(ue){d.select(ue.parentNode).selectAll("rect.bandrect").each(function(ce){var ye=L(ce);E(ye),ye.each(function(){g.raiseToTop(this)})}),d.select(ue.parentNode).select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}(oe),b(oe,"plotly_hover",d.event)),te.parcatsViewModel.hoverinfoItems.indexOf("none")===-1&&(ie==="category"?Z=I(X,re,oe):ie==="color"?Z=function(ue,ce,ye){ue._fullLayout._calcInverseTransform(ue);var de,me,pe=ue._fullLayout._invScaleX,xe=ue._fullLayout._invScaleY,Pe=ye.getBoundingClientRect(),_e=d.select(ye).datum(),Me=_e.categoryViewModel,Se=Me.parcatsViewModel,Ce=Se.model.dimensions[Me.model.dimensionInd],ae=Se.trace,he=Pe.y+Pe.height/2;Se.dimensions.length>1&&Ce.displayInd===Se.dimensions.length-1?(de=Pe.left,me="left"):(de=Pe.left+Pe.width,me="right");var be=Me.model.categoryLabel,ke=_e.parcatsViewModel.model.count,Le=0;_e.categoryViewModel.bands.forEach(function(st){st.color===_e.color&&(Le+=st.count)});var Be=Me.model.count,ze=0;Se.pathSelection.each(function(st){st.model.color===_e.color&&(ze+=st.model.count)});var je=Le/ke,ge=Le/ze,we=Le/Be,Ee={countLabel:ke,categoryLabel:be,probabilityLabel:je.toFixed(3)},Ve=[];Me.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ve.push(["Count:",Ee.countLabel].join(" ")),Me.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(Ve.push("P(color ∩ "+be+"): "+Ee.probabilityLabel),Ve.push("P("+be+" | color): "+ge.toFixed(3)),Ve.push("P(color | "+be+"): "+we.toFixed(3)));var Ye=Ve.join("
"),$e=a.mostReadable(_e.color,["black","white"]);return{trace:ae,x:pe*(de-ce.left),y:xe*(he-ce.top),text:Ye,color:_e.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:$e,fontSize:10,idealAlign:me,hovertemplate:ae.hovertemplate,hovertemplateLabels:Ee,eventData:[{data:ae._input,fullData:ae,category:be,count:ke,probability:je,categorycount:Be,colorcount:ze,bandcolorcount:Le}]}}(X,re,oe):ie==="dimension"&&(Z=function(ue,ce,ye){var de=[];return d.select(ye.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){de.push(I(ue,ce,this))}),de}(X,re,oe)),Z&&M.loneHover(Z,{container:Q._hoverlayer.node(),outerContainer:Q._paper.node(),gd:X}))}}function z(te){var Z=te.parcatsViewModel;Z.dragDimension||(k(Z.pathSelection),T(Z.dimensionSelection.selectAll("g.category")),A(Z.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),M.loneUnhover(Z.graphDiv._fullLayout._hoverlayer.node()),Z.pathSelection.sort(f),Z.hoverinfoItems.indexOf("skip")!==-1)||(te.parcatsViewModel.hoveron==="color"?O(this,"plotly_unhover",d.event):b(this,"plotly_unhover",d.event))}function F(te){te.parcatsViewModel.arrangement!=="fixed"&&(te.dragDimensionDisplayInd=te.model.displayInd,te.initialDragDimensionDisplayInds=te.parcatsViewModel.model.dimensions.map(function(Z){return Z.displayInd}),te.dragHasMoved=!1,te.dragCategoryDisplayInd=null,d.select(this).selectAll("g.category").select("rect.catrect").each(function(Z){var X=d.mouse(this)[0],Q=d.mouse(this)[1];-2<=X&&X<=Z.width+2&&-2<=Q&&Q<=Z.height+2&&(te.dragCategoryDisplayInd=Z.model.displayInd,te.initialDragCategoryDisplayInds=te.model.categories.map(function(re){return re.displayInd}),Z.model.dragY=Z.y,g.raiseToTop(this.parentNode),d.select(this.parentNode).selectAll("rect.bandrect").each(function(re){re.yde.y+de.height/2&&(ie.model.displayInd=de.model.displayInd,de.model.displayInd=ue),te.dragCategoryDisplayInd=ie.model.displayInd}if(te.dragCategoryDisplayInd===null||te.parcatsViewModel.arrangement==="freeform"){re.model.dragX=d.event.x;var me=te.parcatsViewModel.dimensions[X],pe=te.parcatsViewModel.dimensions[Q];me!==void 0&&re.model.dragXpe.x&&(re.model.displayInd=pe.model.displayInd,pe.model.displayInd=te.dragDimensionDisplayInd),te.dragDimensionDisplayInd=re.model.displayInd}H(te.parcatsViewModel),W(te.parcatsViewModel),Y(te.parcatsViewModel),j(te.parcatsViewModel)}}function N(te){if(te.parcatsViewModel.arrangement!=="fixed"&&te.dragDimensionDisplayInd!==null){d.select(this).selectAll("text").attr("font-weight","normal");var Z={},X=q(te.parcatsViewModel),Q=te.parcatsViewModel.model.dimensions.map(function(de){return de.displayInd}),re=te.initialDragDimensionDisplayInds.some(function(de,me){return de!==Q[me]});re&&Q.forEach(function(de,me){var pe=te.parcatsViewModel.model.dimensions[me].containerInd;Z["dimensions["+pe+"].displayindex"]=de});var ie=!1;if(te.dragCategoryDisplayInd!==null){var oe=te.model.categories.map(function(de){return de.displayInd});if(ie=te.initialDragCategoryDisplayInds.some(function(de,me){return de!==oe[me]})){var ue=te.model.categories.slice().sort(function(de,me){return de.displayInd-me.displayInd}),ce=ue.map(function(de){return de.categoryValue}),ye=ue.map(function(de){return de.categoryLabel});Z["dimensions["+te.model.containerInd+"].categoryarray"]=[ce],Z["dimensions["+te.model.containerInd+"].ticktext"]=[ye],Z["dimensions["+te.model.containerInd+"].categoryorder"]="array"}}te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!te.dragHasMoved&&te.potentialClickBand&&(te.parcatsViewModel.hoveron==="color"?O(te.potentialClickBand,"plotly_click",d.event.sourceEvent):b(te.potentialClickBand,"plotly_click",d.event.sourceEvent)),te.model.dragX=null,te.dragCategoryDisplayInd!==null&&(te.parcatsViewModel.dimensions[te.dragDimensionDisplayInd].categories[te.dragCategoryDisplayInd].model.dragY=null,te.dragCategoryDisplayInd=null),te.dragDimensionDisplayInd=null,te.parcatsViewModel.dragDimension=null,te.dragHasMoved=null,te.potentialClickBand=null,H(te.parcatsViewModel),W(te.parcatsViewModel),d.transition().duration(300).ease("cubic-in-out").each(function(){Y(te.parcatsViewModel,!0),j(te.parcatsViewModel,!0)}).each("end",function(){(re||ie)&&i.restyle(te.parcatsViewModel.graphDiv,Z,[X])})}}function q(te){for(var Z,X=te.graphDiv._fullData,Q=0;Q=0;oe--)ye+="C"+ce[oe]+","+(Z[oe+1]+Q)+" "+ue[oe]+","+(Z[oe]+Q)+" "+(te[oe]+X[oe])+","+(Z[oe]+Q),ye+="l-"+X[oe]+",0 ";return ye+"Z"}function W(te){var Z=te.dimensions,X=te.model,Q=Z.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.y})}),re=te.model.dimensions.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.displayInd})}),ie=te.model.dimensions.map(function(Ee){return Ee.displayInd}),oe=te.dimensions.map(function(Ee){return Ee.model.dimensionInd}),ue=Z.map(function(Ee){return Ee.x}),ce=Z.map(function(Ee){return Ee.width}),ye=[];for(var de in X.paths)X.paths.hasOwnProperty(de)&&ye.push(X.paths[de]);function me(Ee){var Ve=Ee.categoryInds.map(function(Ye,$e){return re[$e][Ye]});return oe.map(function(Ye){return Ve[Ye]})}ye.sort(function(Ee,Ve){var Ye=me(Ee),$e=me(Ve);return te.sortpaths==="backward"&&(Ye.reverse(),$e.reverse()),Ye.push(Ee.valueInds[0]),$e.push(Ve.valueInds[0]),te.bundlecolors&&(Ye.unshift(Ee.rawColor),$e.unshift(Ve.rawColor)),Ye<$e?-1:Ye>$e?1:0});for(var pe=new Array(ye.length),xe=Z[0].model.count,Pe=Z[0].categories.map(function(Ee){return Ee.height}).reduce(function(Ee,Ve){return Ee+Ve}),_e=0;_e0?Pe*(Se.count/xe):0;for(var Ce,ae=new Array(Q.length),he=0;he1?(te.width-80-16)/(Q-1):0)*re;var ie,oe,ue,ce,ye,de=[],me=te.model.maxCats,pe=Z.categories.length,xe=Z.count,Pe=te.height-8*(me-1),_e=8*(me-pe)/2,Me=Z.categories.map(function(Se){return{displayInd:Se.displayInd,categoryInd:Se.categoryInd}});for(Me.sort(function(Se,Ce){return Se.displayInd-Ce.displayInd}),ye=0;ye0?oe.count/xe*Pe:0,ue={key:oe.valueInds[0],model:oe,width:16,height:ie,y:oe.dragY!==null?oe.dragY:_e,bands:[],parcatsViewModel:te},_e=_e+ie+8,de.push(ue);return{key:Z.dimensionInd,x:Z.dragX!==null?Z.dragX:X,y:0,width:16,model:Z,categories:de,parcatsViewModel:te,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}x.exports=function(te,Z,X,Q){s(X,te,Q,Z)}},45784:function(x,o,t){var d=t(45460);x.exports=function(v,i,M,g){var p=v._fullLayout,u=p._paper,a=p._size;d(v,u,i,{width:a.w,height:a.h,margin:{t:a.t,r:a.r,b:a.b,l:a.l}},M,g)}},73362:function(x,o,t){var d=t(50693),v=t(13838),i=t(41940),M=t(27670).Y,g=t(1426).extendFlat,p=t(44467).templatedArray;x.exports={domain:M({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:i({editType:"plot"}),tickfont:i({editType:"plot"}),rangefont:i({editType:"plot"}),dimensions:p("dimension",{label:{valType:"string",editType:"plot"},tickvals:g({},v.tickvals,{editType:"plot"}),ticktext:g({},v.ticktext,{editType:"plot"}),tickformat:g({},v.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:g({editType:"calc"},d("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"}}},57920:function(x,o,t){var d=t(25706),v=t(39898),i=t(28984).keyFun,M=t(28984).repeat,g=t(71828).sorterAsc,p=t(71828).strTranslate,u=d.bar.snapRatio;function a(I,R){return I*(1-u)+R*u}var c=d.bar.snapClose;function s(I,R){return I*(1-c)+R*c}function l(I,R,z,F){if(function(ne,te){for(var Z=0;Z=te[Z][0]&&ne<=te[Z][1])return!0;return!1}(z,F))return z;var B=I?-1:1,N=0,q=R.length-1;if(B<0){var j=N;N=q,q=j}for(var Y=R[N],U=Y,G=N;B*GR){W=z;break}}if(B=U,isNaN(B)&&(B=isNaN(G)||isNaN(W)?isNaN(G)?W:G:R-Y[G][1]re[1]+oe||ie=.9*re[1]+.1*re[0]?"n":ie<=.9*re[0]+.1*re[1]?"s":"ns"}(ne,R);te&&(N.interval=j[B],N.intervalPix=ne,N.region=te)}}if(I.ordinal&&!N.region){var Z=I.unitTickvals,X=I.unitToPaddedPx.invert(R);for(z=0;z=Q[0]&&X<=Q[1]){N.clickableOrdinalRange=Q;break}}}return N}function E(I,R){v.event.sourceEvent.stopPropagation();var z=R.height-v.mouse(I)[1]-2*d.verticalPadding,F=R.brush.svgBrush;F.wasDragged=!0,F._dragging=!0,F.grabbingBar?F.newExtent=[z-F.grabPoint,z+F.barLength-F.grabPoint].map(R.unitToPaddedPx.invert):F.newExtent=[F.startExtent,R.unitToPaddedPx.invert(z)].sort(g),R.brush.filterSpecified=!0,F.extent=F.stayingIntervals.concat([F.newExtent]),F.brushCallback(R),w(I.parentNode)}function T(I,R){var z=k(R,R.height-v.mouse(I)[1]-2*d.verticalPadding),F="crosshair";z.clickableOrdinalRange?F="pointer":z.region&&(F=z.region+"-resize"),v.select(document.body).style("cursor",F)}function A(I){I.on("mousemove",function(R){v.event.preventDefault(),R.parent.inBrushDrag||T(this,R)}).on("mouseleave",function(R){R.parent.inBrushDrag||y()}).call(v.behavior.drag().on("dragstart",function(R){(function(z,F){v.event.sourceEvent.stopPropagation();var B=F.height-v.mouse(z)[1]-2*d.verticalPadding,N=F.unitToPaddedPx.invert(B),q=F.brush,j=k(F,B),Y=j.interval,U=q.svgBrush;if(U.wasDragged=!1,U.grabbingBar=j.region==="ns",U.grabbingBar){var G=Y.map(F.unitToPaddedPx);U.grabPoint=B-G[0]-d.verticalPadding,U.barLength=G[1]-G[0]}U.clickableOrdinalRange=j.clickableOrdinalRange,U.stayingIntervals=F.multiselect&&q.filterSpecified?q.filter.getConsolidated():[],Y&&(U.stayingIntervals=U.stayingIntervals.filter(function(W){return W[0]!==Y[0]&&W[1]!==Y[1]})),U.startExtent=j.region?Y[j.region==="s"?1:0]:N,F.parent.inBrushDrag=!0,U.brushStartCallback()})(this,R)}).on("drag",function(R){E(this,R)}).on("dragend",function(R){(function(z,F){var B=F.brush,N=B.filter,q=B.svgBrush;q._dragging||(T(z,F),E(z,F),F.brush.svgBrush.wasDragged=!1),q._dragging=!1,v.event.sourceEvent.stopPropagation();var j=q.grabbingBar;if(q.grabbingBar=!1,q.grabLocation=void 0,F.parent.inBrushDrag=!1,y(),!q.wasDragged)return q.wasDragged=void 0,q.clickableOrdinalRange?B.filterSpecified&&F.multiselect?q.extent.push(q.clickableOrdinalRange):(q.extent=[q.clickableOrdinalRange],B.filterSpecified=!0):j?(q.extent=q.stayingIntervals,q.extent.length===0&&b(B)):b(B),q.brushCallback(F),w(z.parentNode),void q.brushEndCallback(B.filterSpecified?N.getConsolidated():[]);var Y=function(){N.set(N.getConsolidated())};if(F.ordinal){var U=F.unitTickvals;U[U.length-1]q.newExtent[0];q.extent=q.stayingIntervals.concat(G?[q.newExtent]:[]),q.extent.length||b(B),q.brushCallback(F),G?w(z.parentNode,Y):(Y(),w(z.parentNode))}else Y();q.brushEndCallback(B.filterSpecified?N.getConsolidated():[])})(this,R)}))}function L(I,R){return I[0]-R[0]}function b(I){I.filterSpecified=!1,I.svgBrush.extent=[[-1/0,1/0]]}function O(I){for(var R,z=I.slice(),F=[],B=z.shift();B;){for(R=B.slice();(B=z.shift())&&B[0]<=R[1];)R[1]=Math.max(R[1],B[1]);F.push(R)}return F.length===1&&F[0][0]>F[0][1]&&(F=[]),F}x.exports={makeBrush:function(I,R,z,F,B,N){var q,j=function(){var Y,U,G=[];return{set:function(W){(G=W.map(function(H){return H.slice().sort(g)}).sort(L)).length===1&&G[0][0]===-1/0&&G[0][1]===1/0&&(G=[[0,-1]]),Y=O(G),U=G.reduce(function(H,ne){return[Math.min(H[0],ne[0]),Math.max(H[1],ne[1])]},[1/0,-1/0])},get:function(){return G.slice()},getConsolidated:function(){return Y},getBounds:function(){return U}}}();return j.set(z),{filter:j,filterSpecified:R,svgBrush:{extent:[],brushStartCallback:F,brushCallback:(q=B,function(Y){var U=Y.brush,G=function(H){return H.svgBrush.extent.map(function(ne){return ne.slice()})}(U),W=G.slice();U.filter.set(W),q()}),brushEndCallback:N}}},ensureAxisBrush:function(I,R,z){var F=I.selectAll("."+d.cn.axisBrush).data(M,i);F.enter().append("g").classed(d.cn.axisBrush,!0),function(B,N,q){var j=q._context.staticPlot,Y=B.selectAll(".background").data(M);Y.enter().append("rect").classed("background",!0).call(h).call(f).style("pointer-events",j?"none":"auto").attr("transform",p(0,d.verticalPadding)),Y.call(A).attr("height",function(W){return W.height-d.verticalPadding});var U=B.selectAll(".highlight-shadow").data(M);U.enter().append("line").classed("highlight-shadow",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width+d.bar.strokeWidth).attr("stroke",N).attr("opacity",d.bar.strokeOpacity).attr("stroke-linecap","butt"),U.attr("y1",function(W){return W.height}).call(C);var G=B.selectAll(".highlight").data(M);G.enter().append("line").classed("highlight",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width-d.bar.strokeWidth).attr("stroke",d.bar.fillColor).attr("opacity",d.bar.fillOpacity).attr("stroke-linecap","butt"),G.attr("y1",function(W){return W.height}).call(C)}(F,R,z)},cleanRanges:function(I,R){if(Array.isArray(I[0])?(I=I.map(function(F){return F.sort(g)}),I=R.multiselect?O(I.sort(L)):[I[0]]):I=[I.sort(g)],R.tickvals){var z=R.tickvals.slice().sort(g);if(!(I=I.map(function(F){var B=[l(0,z,F[0],[]),l(1,z,F[1],[])];if(B[1]>B[0])return B}).filter(function(F){return F})).length)return}return I.length>1?I:I[0]}}},71791:function(x,o,t){x.exports={attributes:t(73362),supplyDefaults:t(3633),calc:t(24639),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:t(49351),categories:["gl","regl","noOpacity","noHover"],meta:{}}},49351:function(x,o,t){var d=t(39898),v=t(27659).a0,i=t(21341),M=t(77922);o.name="parcoords",o.plot=function(g){var p=v(g.calcdata,"parcoords")[0];p.length&&i(g,p)},o.clean=function(g,p,u,a){var c=a._has&&a._has("parcoords"),s=p._has&&p._has("parcoords");c&&!s&&(a._paperdiv.selectAll(".parcoords").remove(),a._glimages.selectAll("*").remove())},o.toSVG=function(g){var p=g._fullLayout._glimages,u=d.select(g).selectAll(".svg-container");u.filter(function(a,c){return c===u.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus").each(function(){var a=this,c=a.toDataURL("image/png");p.append("svg:image").attr({xmlns:M.svg,"xlink:href":c,preserveAspectRatio:"none",x:0,y:0,width:a.style.width,height:a.style.height})}),window.setTimeout(function(){d.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}},24639:function(x,o,t){var d=t(71828).isArrayOrTypedArray,v=t(21081),i=t(28984).wrap;x.exports=function(M,g){var p,u;return v.hasColorscale(g,"line")&&d(g.line.color)?(p=g.line.color,u=v.extractOpts(g.line).colorscale,v.calc(M,g,{vals:p,containerStr:"line",cLetter:"c"})):(p=function(a){for(var c=new Array(a),s=0;sc&&(d.log("parcoords traces support up to "+c+" dimensions at the moment"),C.splice(c));var w=g(h,f,{name:"dimensions",layout:_,handleItemDefaults:l}),k=function(T,A,L,b,O){var I=O("line.color",L);if(v(T,"line")&&d.isArrayOrTypedArray(I)){if(I.length)return O("line.colorscale"),i(T,A,b,O,{prefix:"line.",cLetter:"c"}),I.length;A.line.color=L}return 1/0}(h,f,m,_,y);M(f,_,y),Array.isArray(w)&&w.length||(f.visible=!1),s(f,w,"values",k);var E={family:_.font.family,size:Math.round(_.font.size/1.2),color:_.font.color};d.coerceFont(y,"labelfont",E),d.coerceFont(y,"tickfont",E),d.coerceFont(y,"rangefont",E),y("labelangle"),y("labelside"),y("unselected.line.color"),y("unselected.line.opacity")}},1602:function(x,o,t){var d=t(71828).isTypedArray;o.convertTypedArray=function(v){return d(v)?Array.prototype.slice.call(v):v},o.isOrdinal=function(v){return!!v.tickvals},o.isVisible=function(v){return v.visible||!("visible"in v)}},67618:function(x,o,t){var d=t(71791);d.plot=t(21341),x.exports=d},83398:function(x,o,t){var d=t(56068),v=d([`precision highp float; #define GLSLIFY 1 varying vec4 fragColor; @@ -224,10 +224,10 @@ varying vec4 fragColor; void main() { gl_FragColor = fragColor; } -`]),M=t(25706).maxDimensionCount,v=t(71828),p=new Uint8Array(4),u=new Uint8Array(4),a={shape:[256,1],format:"rgba",type:"uint8",mag:"nearest",min:"nearest"};function c(w,k,E,T,A){var L=w._gl;L.enable(L.SCISSOR_TEST),L.scissor(k,E,T,A),w.clear({color:[0,0,0,0],depth:1})}function s(w,k,E,T,A,L){var b=L.key;E.drawCompleted||(function(O){O.read({x:0,y:0,width:1,height:1,data:p})}(w),E.drawCompleted=!0),function O(I){var R=Math.min(T,A-I*T);I===0&&(window.cancelAnimationFrame(E.currentRafs[b]),delete E.currentRafs[b],c(w,L.scissorX,L.scissorY,L.scissorWidth,L.viewBoxSize[1])),E.clearOnly||(L.count=2*R,L.offset=2*I*T,k(L),I*T+R>>8*k)%256/255}function f(w,k,E){for(var T=new Array(8*k),A=0,L=0;Lie&&(ie=W[te].dim1.canvasX,X=te);Q===0&&c(R,0,0,E.canvasWidth,E.canvasHeight);var oe=function(Me){var Se,Ce,ae,he=[[],[]];for(ae=0;ae<64;ae++){var be=!Me&&aeoe._length&&(Pe=Pe.slice(0,oe._length));var _e,Me=oe.tickvals;function Se(ke,Le){return{val:ke,text:_e[Le]}}function Ce(ke,Le){return ke.val-Le.val}if(Array.isArray(Me)&&Me.length){_e=oe.ticktext,Array.isArray(_e)&&_e.length?_e.length>Me.length?_e=_e.slice(0,Me.length):Me.length>_e.length&&(Me=Me.slice(0,_e.length)):_e=Me.map(i(oe.tickformat));for(var ae=1;ae=Be||we>=ze)return;var Ee=ke.lineLayer.readPixel(ge,ze-1-we),Ve=Ee[3]!==0,Ye=Ve?Ee[2]+256*(Ee[1]+256*Ee[0]):null,$e={x:ge,y:we,clientX:Le.clientX,clientY:Le.clientY,dataIndex:ke.model.key,curveNumber:Ye};Ye!==ye&&(Ve?W.hover($e):W.unhover&&W.unhover($e),ye=Ye)}}),ce.style("opacity",function(ke){return ke.pick?0:1}),te.style("background","rgba(255, 255, 255, 0)");var de=te.selectAll("."+y.cn.parcoords).data(ue,h);de.exit().remove(),de.enter().append("g").classed(y.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),de.attr("transform",function(ke){return u(ke.model.translateX,ke.model.translateY)});var me=de.selectAll("."+y.cn.parcoordsControlView).data(f,h);me.enter().append("g").classed(y.cn.parcoordsControlView,!0),me.attr("transform",function(ke){return u(ke.model.pad.l,ke.model.pad.t)});var pe=me.selectAll("."+y.cn.yAxis).data(function(ke){return ke.dimensions},h);pe.enter().append("g").classed(y.cn.yAxis,!0),me.each(function(ke){N(pe,ke,X)}),ce.each(function(ke){if(ke.viewModel){!ke.lineLayer||W?ke.lineLayer=w(this,ke):ke.lineLayer.update(ke),(ke.key||ke.key===0)&&(ke.viewModel[ke.key]=ke.lineLayer);var Le=!ke.context||W;ke.lineLayer.render(ke.viewModel.panels,Le)}}),pe.attr("transform",function(ke){return u(ke.xScale(ke.xIndex),0)}),pe.call(d.behavior.drag().origin(function(ke){return ke}).on("drag",function(ke){var Le=ke.parent;oe.linePickActive(!1),ke.x=Math.max(-y.overdrag,Math.min(ke.model.width+y.overdrag,d.event.x)),ke.canvasX=ke.x*ke.model.canvasPixelRatio,pe.sort(function(Be,ze){return Be.x-ze.x}).each(function(Be,ze){Be.xIndex=ze,Be.x=ke===Be?Be.x:Be.xScale(Be.xIndex),Be.canvasX=Be.x*Be.model.canvasPixelRatio}),N(pe,Le,X),pe.filter(function(Be){return Math.abs(ke.xIndex-Be.xIndex)!==0}).attr("transform",function(Be){return u(Be.xScale(Be.xIndex),0)}),d.select(this).attr("transform",u(ke.x,0)),pe.each(function(Be,ze,je){je===ke.parent.key&&(Le.dimensions[ze]=Be)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer.render&&Le.focusLayer.render(Le.panels)}).on("dragend",function(ke){var Le=ke.parent;ke.x=ke.xScale(ke.xIndex),ke.canvasX=ke.x*ke.model.canvasPixelRatio,N(pe,Le,X),d.select(this).attr("transform",function(Be){return u(Be.x,0)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer&&Le.focusLayer.render(Le.panels),Le.pickLayer&&Le.pickLayer.render(Le.panels,!0),oe.linePickActive(!0),W&&W.axesMoved&&W.axesMoved(Le.key,Le.dimensions.map(function(Be){return Be.crossfilterDimensionIndex}))})),pe.exit().remove();var xe=pe.selectAll("."+y.cn.axisOverlays).data(f,h);xe.enter().append("g").classed(y.cn.axisOverlays,!0),xe.selectAll("."+y.cn.axis).remove();var Pe=xe.selectAll("."+y.cn.axis).data(f,h);Pe.enter().append("g").classed(y.cn.axis,!0),Pe.each(function(ke){var Le=ke.model.height/ke.model.tickDistance,Be=ke.domainScale,ze=Be.domain();d.select(this).call(d.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(Le,ke.tickFormat).tickValues(ke.ordinal?ze:null).tickFormat(function(je){return _.isOrdinal(ke)?je:q(ke.model.dimensions[ke.visibleIndex],je)}).scale(Be)),c.font(Pe.selectAll("text"),ke.model.tickFont)}),Pe.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),Pe.selectAll("text").style("text-shadow",a.makeTextShadow(Q)).style("cursor","default");var _e=xe.selectAll("."+y.cn.axisHeading).data(f,h);_e.enter().append("g").classed(y.cn.axisHeading,!0);var Me=_e.selectAll("."+y.cn.axisTitle).data(f,h);Me.enter().append("text").classed(y.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",H?"none":"auto"),Me.text(function(ke){return ke.label}).each(function(ke){var Le=d.select(this);c.font(Le,ke.model.labelFont),a.convertToTspans(Le,Y)}).attr("transform",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide),Be=y.axisTitleOffset;return(Le.dir>0?"":u(0,2*Be+ke.model.height))+p(Le.degrees)+u(-Be*Le.dx,-Be*Le.dy)}).attr("text-anchor",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide);return 2*Math.abs(Le.dx)>Math.abs(Le.dy)?Le.dir*Le.dx<0?"start":"end":"middle"});var Se=xe.selectAll("."+y.cn.axisExtent).data(f,h);Se.enter().append("g").classed(y.cn.axisExtent,!0);var Ce=Se.selectAll("."+y.cn.axisExtentTop).data(f,h);Ce.enter().append("g").classed(y.cn.axisExtentTop,!0),Ce.attr("transform",u(0,-y.axisExtentOffset));var ae=Ce.selectAll("."+y.cn.axisExtentTopText).data(f,h);ae.enter().append("text").classed(y.cn.axisExtentTopText,!0).call(F),ae.text(function(ke){return j(ke,!0)}).each(function(ke){c.font(d.select(this),ke.model.rangeFont)});var he=Se.selectAll("."+y.cn.axisExtentBottom).data(f,h);he.enter().append("g").classed(y.cn.axisExtentBottom,!0),he.attr("transform",function(ke){return u(0,ke.model.height+y.axisExtentOffset)});var be=he.selectAll("."+y.cn.axisExtentBottomText).data(f,h);be.enter().append("text").classed(y.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(F),be.text(function(ke){return j(ke,!1)}).each(function(ke){c.font(d.select(this),ke.model.rangeFont)}),C.ensureAxisBrush(xe,Q,Y)}},21341:function(x,o,t){var d=t(17171),g=t(79749),i=t(1602).isVisible,M={};function v(p,u,a){var c=u.indexOf(a),s=p.indexOf(c);return s===-1&&(s+=u.length),s}(x.exports=function(p,u){var a=p._fullLayout;if(g(p,[],M)){var c={},s={},l={},h={},f=a._size;u.forEach(function(m,_){var y=m[0].trace;l[_]=y.index;var C=h[_]=y._fullInput.index;c[_]=p.data[C].dimensions,s[_]=p.data[C].dimensions.slice()}),d(p,u,{width:f.w,height:f.h,margin:{t:f.t,r:f.r,b:f.b,l:f.l}},{filterChanged:function(m,_,y){var C=s[m][_],w=y.map(function(b){return b.slice()}),k="dimensions["+_+"].constraintrange",E=a._tracePreGUI[p._fullData[l[m]]._fullInput.uid];if(E[k]===void 0){var T=C.constraintrange;E[k]=T||null}var A=p._fullData[l[m]].dimensions[_];w.length?(w.length===1&&(w=w[0]),C.constraintrange=w,A.constraintrange=w.slice(),w=[w]):(delete C.constraintrange,delete A.constraintrange,w=null);var L={};L[k]=w,p.emit("plotly_restyle",[L,[h[m]]])},hover:function(m){p.emit("plotly_hover",m)},unhover:function(m){p.emit("plotly_unhover",m)},axesMoved:function(m,_){var y=function(C,w){return function(k,E){return v(C,w,k)-v(C,w,E)}}(_,s[m].filter(i));c[m].sort(y),s[m].filter(function(C){return!i(C)}).sort(function(C){return s[m].indexOf(C)}).forEach(function(C){c[m].splice(c[m].indexOf(C),1),c[m].splice(s[m].indexOf(C),0,C)}),p.emit("plotly_restyle",[{dimensions:[c[m]]},[h[m]]])}})}}).reglPrecompiled=M},34e3:function(x,o,t){var d=t(9012),g=t(27670).Y,i=t(41940),M=t(22399),v=t(5386).fF,p=t(5386).si,u=t(1426).extendFlat,a=i({editType:"plot",arrayOk:!0,colorEditType:"plot"});x.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:M.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},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({},d.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:v({},{keys:["label","color","value","percent","text"]}),texttemplate:p({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:u({},a,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:u({},a,{}),outsidetextfont:u({},a,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:u({},a,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:g({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({},a,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},13584:function(x,o,t){var d=t(74875);o.name="pie",o.plot=function(g,i,M,v){d.plotBasePlot(o.name,g,i,M,v)},o.clean=function(g,i,M,v){d.cleanBasePlot(o.name,g,i,M,v)}},32354:function(x,o,t){var d=t(92770),g=t(84267),i=t(7901),M={};function v(u){return function(a,c){return!!a&&!!(a=g(a)).isValid()&&(a=i.addOpacity(a,a.getAlpha()),u[c]||(u[c]=a),a)}}function p(u,a){var c,s=JSON.stringify(u),l=a[s];if(!l){for(l=u.slice(),c=0;c=0}),(a.type==="funnelarea"?A:a.sort)&&l.sort(function(R,z){return z.v-R.v}),l[0]&&(l[0].vTotal=T),l},crossTraceCalc:function(u,a){var c=(a||{}).type;c||(c="pie");var s=u._fullLayout,l=u.calcdata,h=s[c+"colorway"],f=s["_"+c+"colormap"];s["extend"+c+"colors"]&&(h=p(h,M));for(var m=0,_=0;_0){h=!0;break}}h||(l=0)}return{hasLabels:c,hasValues:s,len:l}}x.exports={handleLabelsAndValues:p,supplyDefaults:function(u,a,c,s){function l(E,T){return g.coerce(u,a,i,E,T)}var h=p(l("labels"),l("values")),f=h.len;if(a._hasLabels=h.hasLabels,a._hasValues=h.hasValues,!a._hasLabels&&a._hasValues&&(l("label0"),l("dlabel")),f){a._length=f,l("marker.line.width")&&l("marker.line.color"),l("marker.colors"),l("scalegroup");var m,_=l("text"),y=l("texttemplate");if(y||(m=l("textinfo",Array.isArray(_)?"text+percent":"percent")),l("hovertext"),l("hovertemplate"),y||m&&m!=="none"){var C=l("textposition");v(u,a,s,l,C,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(C)||C==="auto"||C==="outside")&&l("automargin"),(C==="inside"||C==="auto"||Array.isArray(C))&&l("insidetextorientation")}M(a,s,l);var w=l("hole");if(l("title.text")){var k=l("title.position",w?"middle center":"top center");w||k!=="middle center"||(a.title.position="top center"),g.coerceFont(l,"title.font",s.font)}l("sort"),l("direction"),l("rotation"),l("pull")}else a.visible=!1}}},20007:function(x,o,t){var d=t(23469).appendArrayMultiPointValues;x.exports=function(g,i){var M={curveNumber:i.index,pointNumbers:g.pts,data:i._input,fullData:i,label:g.label,color:g.color,value:g.v,percent:g.percent,text:g.text,bbox:g.bbox,v:g.v};return g.pts.length===1&&(M.pointNumber=M.i=g.pts[0]),d(M,i,g.pts),i.type==="funnelarea"&&(delete M.v,delete M.i),M}},53581:function(x,o,t){var d=t(71828);function g(i){return i.indexOf("e")!==-1?i.replace(/[.]?0+e/,"e"):i.indexOf(".")!==-1?i.replace(/[.]?0+$/,""):i}o.formatPiePercent=function(i,M){var v=g((100*i).toPrecision(3));return d.numSeparate(v,M)+"%"},o.formatPieValue=function(i,M){var v=g(i.toPrecision(10));return d.numSeparate(v,M)},o.getFirstFilled=function(i,M){if(Array.isArray(i))for(var v=0;v"),name:ie.hovertemplate||oe.indexOf("name")!==-1?ie.name:void 0,idealAlign:Q.pxmid[0]<0?"left":"right",color:m.castOption(xe.bgcolor,Q.pts)||Q.color,borderColor:m.castOption(xe.bordercolor,Q.pts),fontFamily:m.castOption(Pe.family,Q.pts),fontSize:m.castOption(Pe.size,Q.pts),fontColor:m.castOption(Pe.color,Q.pts),nameLength:m.castOption(xe.namelength,Q.pts),textAlign:m.castOption(xe.align,Q.pts),hovertemplate:m.castOption(ie.hovertemplate,Q.pts),hovertemplateLabels:Q,eventData:[_(Q,ie)]},{container:re._hoverlayer.node(),outerContainer:re._paper.node(),gd:G,inOut_bbox:_e}),Q.bbox=_e[0],Z._hasHoverLabel=!0}Z._hasHoverEvent=!0,G.emit("plotly_hover",{points:[_(Q,ie)],event:d.event})}}),U.on("mouseout",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index],oe=d.select(this).datum();Z._hasHoverEvent&&(Q.originalEvent=d.event,G.emit("plotly_unhover",{points:[_(oe,ie)],event:d.event}),Z._hasHoverEvent=!1),Z._hasHoverLabel&&(i.loneUnhover(re._hoverlayer.node()),Z._hasHoverLabel=!1)}),U.on("click",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index];G._dragging||re.hovermode===!1||(G._hoverdata=[_(Q,ie)],i.click(G,d.event))})}function w(U,G,W){var H=m.castOption(U.insidetextfont.color,G.pts);!H&&U._input.textfont&&(H=m.castOption(U._input.textfont.color,G.pts));var ne=m.castOption(U.insidetextfont.family,G.pts)||m.castOption(U.textfont.family,G.pts)||W.family,te=m.castOption(U.insidetextfont.size,G.pts)||m.castOption(U.textfont.size,G.pts)||W.size;return{color:H||M.contrast(G.color),family:ne,size:te}}function k(U,G){for(var W,H,ne=0;neBe&&Be>je||ze=-4;me-=2)pe(Math.PI*me,"tan");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1),"tan")}if(oe||ce){for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1.5),"rad");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+.5),"rad")}}if(X||ye||oe){var xe=Math.sqrt(U.width*U.width+U.height*U.height);if((te={scale:ne*H*2/xe,rCenter:1-ne,rotate:0}).textPosAngle=(G.startangle+G.stopangle)/2,te.scale>=1)return te;de.push(te)}(ye||ce)&&((te=T(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te)),(ye||ue)&&((te=A(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te));for(var Pe=0,_e=0,Me=0;Me=1)break}return de[Pe]}function T(U,G,W,H,ne){G=Math.max(0,G-2*f);var te=U.width/U.height,Z=O(te,H,G,W);return{scale:2*Z/U.height,rCenter:L(te,Z/G),rotate:b(ne)}}function A(U,G,W,H,ne){G=Math.max(0,G-2*f);var te=U.height/U.width,Z=O(te,H,G,W);return{scale:2*Z/U.width,rCenter:L(te,Z/G),rotate:b(ne+Math.PI/2)}}function L(U,G){return Math.cos(G)-U*G}function b(U){return(180/Math.PI*U+720)%180-90}function O(U,G,W,H){var ne=U+1/(2*Math.tan(G));return W*Math.min(1/(Math.sqrt(ne*ne+.5)+ne),H/(Math.sqrt(U*U+H/2)+U))}function I(U,G){return U.v!==G.vTotal||G.trace.hole?Math.min(1/(1+1/Math.sin(U.halfangle)),U.ring/2):1}function R(U,G){var W=G.pxmid[0],H=G.pxmid[1],ne=U.width/2,te=U.height/2;return W<0&&(ne*=-1),H<0&&(te*=-1),{scale:1,rCenter:1,rotate:0,x:ne+Math.abs(te)*(ne>0?1:-1)/2,y:te/(1+W*W/(H*H)),outside:!0}}function z(U,G){var W,H,ne,te=U.trace,Z={x:U.cx,y:U.cy},X={tx:0,ty:0};X.ty+=te.title.font.size,ne=B(te),te.title.position.indexOf("top")!==-1?(Z.y-=(1+ne)*U.r,X.ty-=U.titleBox.height):te.title.position.indexOf("bottom")!==-1&&(Z.y+=(1+ne)*U.r);var Q,re=U.r/((Q=U.trace.aspectratio)===void 0?1:Q),ie=G.w*(te.domain.x[1]-te.domain.x[0])/2;return te.title.position.indexOf("left")!==-1?(ie+=re,Z.x-=(1+ne)*re,X.tx+=U.titleBox.width/2):te.title.position.indexOf("center")!==-1?ie*=2:te.title.position.indexOf("right")!==-1&&(ie+=re,Z.x+=(1+ne)*re,X.tx-=U.titleBox.width/2),W=ie/U.titleBox.width,H=F(U,G)/U.titleBox.height,{x:Z.x,y:Z.y,scale:Math.min(W,H),tx:X.tx,ty:X.ty}}function F(U,G){var W=U.trace,H=G.h*(W.domain.y[1]-W.domain.y[0]);return Math.min(U.titleBox.height,H/2)}function B(U){var G,W=U.pull;if(!W)return 0;if(Array.isArray(W))for(W=0,G=0;GW&&(W=U.pull[G]);return W}function N(U,G){for(var W=[],H=0;H1?Me=(_e=ce.r)/de.aspectratio:_e=(Me=ce.r)*de.aspectratio,Pe=(_e*=(1+de.baseratio)/2)*Me}pe=Math.min(pe,Pe/ce.vTotal)}for(ye=0;ye")}if(te){var me=p.castOption(ne,G.i,"texttemplate");if(me){var pe=function(Pe){return{label:Pe.label,value:Pe.v,valueLabel:m.formatPieValue(Pe.v,H.separators),percent:Pe.v/W.vTotal,percentLabel:m.formatPiePercent(Pe.v/W.vTotal,H.separators),color:Pe.color,text:Pe.text,customdata:p.castOption(ne,Pe.i,"customdata")}}(G),xe=m.getFirstFilled(ne.text,G.pts);(y(xe)||xe==="")&&(pe.text=xe),G.text=p.texttemplateString(me,pe,U._fullLayout._d3locale,pe,ne._meta||{})}else G.text=""}}function Y(U,G){var W=U.rotate*Math.PI/180,H=Math.cos(W),ne=Math.sin(W),te=(G.left+G.right)/2,Z=(G.top+G.bottom)/2;U.textX=te*H-Z*ne,U.textY=te*ne+Z*H,U.noCenter=!0}x.exports={plot:function(U,G){var W=U._context.staticPlot,H=U._fullLayout,ne=H._size;h("pie",H),k(G,U),N(G,ne);var te=p.makeTraceGroups(H._pielayer,G,"trace").each(function(Z){var X=d.select(this),Q=Z[0],re=Q.trace;(function(ie){var oe,ue,ce,ye=ie[0],de=ye.r,me=ye.trace,pe=m.getRotationAngle(me.rotation),xe=2*Math.PI/ye.vTotal,Pe="px0",_e="px1";if(me.direction==="counterclockwise"){for(oe=0;oeye.vTotal/2?1:0,ue.halfangle=Math.PI*Math.min(ue.v/ye.vTotal,.5),ue.ring=1-me.hole,ue.rInscribed=I(ue,ye))})(Z),X.attr("stroke-linejoin","round"),X.each(function(){var ie=d.select(this).selectAll("g.slice").data(Z);ie.enter().append("g").classed("slice",!0),ie.exit().remove();var oe=[[[],[]],[[],[]]],ue=!1;ie.each(function(_e,Me){if(_e.hidden)d.select(this).selectAll("path,g").remove();else{_e.pointNumber=_e.i,_e.curveNumber=re.index,oe[_e.pxmid[1]<0?0:1][_e.pxmid[0]<0?0:1].push(_e);var Se=Q.cx,Ce=Q.cy,ae=d.select(this),he=ae.selectAll("path.surface").data([_e]);if(he.enter().append("path").classed("surface",!0).style({"pointer-events":W?"none":"all"}),ae.call(C,U,Z),re.pull){var be=+m.castOption(re.pull,_e.pts)||0;be>0&&(Se+=be*_e.pxmid[0],Ce+=be*_e.pxmid[1])}_e.cxFinal=Se,_e.cyFinal=Ce;var ke=re.hole;if(_e.v===Q.vTotal){var Le="M"+(Se+_e.px0[0])+","+(Ce+_e.px0[1])+we(_e.px0,_e.pxmid,!0,1)+we(_e.pxmid,_e.px0,!0,1)+"Z";ke?he.attr("d","M"+(Se+ke*_e.px0[0])+","+(Ce+ke*_e.px0[1])+we(_e.px0,_e.pxmid,!1,ke)+we(_e.pxmid,_e.px0,!1,ke)+"Z"+Le):he.attr("d",Le)}else{var Be=we(_e.px0,_e.px1,!0,1);if(ke){var ze=1-ke;he.attr("d","M"+(Se+ke*_e.px1[0])+","+(Ce+ke*_e.px1[1])+we(_e.px1,_e.px0,!1,ke)+"l"+ze*_e.px0[0]+","+ze*_e.px0[1]+Be+"Z")}else he.attr("d","M"+Se+","+Ce+"l"+_e.px0[0]+","+_e.px0[1]+Be+"Z")}j(U,_e,Q);var je=m.castOption(re.textposition,_e.pts),ge=ae.selectAll("g.slicetext").data(_e.text&&je!=="none"?[0]:[]);ge.enter().append("g").classed("slicetext",!0),ge.exit().remove(),ge.each(function(){var Ee=p.ensureSingle(d.select(this),"text","",function(Et){Et.attr("data-notex",1)}),Ve=p.ensureUniformFontSize(U,je==="outside"?function(Et,kt,xt){return{color:m.castOption(Et.outsidetextfont.color,kt.pts)||m.castOption(Et.textfont.color,kt.pts)||xt.color,family:m.castOption(Et.outsidetextfont.family,kt.pts)||m.castOption(Et.textfont.family,kt.pts)||xt.family,size:m.castOption(Et.outsidetextfont.size,kt.pts)||m.castOption(Et.textfont.size,kt.pts)||xt.size}}(re,_e,H.font):w(re,_e,H.font));Ee.text(_e.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(v.font,Ve).call(c.convertToTspans,U);var Ye,$e=v.bBox(Ee.node());if(je==="outside")Ye=R($e,_e);else if(Ye=E($e,_e,Q),je==="auto"&&Ye.scale<1){var st=p.ensureUniformFontSize(U,re.outsidetextfont);Ee.call(v.font,st),Ye=R($e=v.bBox(Ee.node()),_e)}var ot=Ye.textPosAngle,ft=ot===void 0?_e.pxmid:q(Q.r,ot);if(Ye.targetX=Se+ft[0]*Ye.rCenter+(Ye.x||0),Ye.targetY=Ce+ft[1]*Ye.rCenter+(Ye.y||0),Y(Ye,$e),Ye.outside){var bt=Ye.targetY;_e.yLabelMin=bt-$e.height/2,_e.yLabelMid=bt,_e.yLabelMax=bt+$e.height/2,_e.labelExtraX=0,_e.labelExtraY=0,ue=!0}Ye.fontSize=Ve.size,l(re.type,Ye,H),Z[Me].transform=Ye,p.setTransormAndDisplay(Ee,Ye)})}function we(Ee,Ve,Ye,$e){var st=$e*(Ve[0]-Ee[0]),ot=$e*(Ve[1]-Ee[1]);return"a"+$e*Q.r+","+$e*Q.r+" 0 "+_e.largeArc+(Ye?" 1 ":" 0 ")+st+","+ot}});var ce=d.select(this).selectAll("g.titletext").data(re.title.text?[0]:[]);if(ce.enter().append("g").classed("titletext",!0),ce.exit().remove(),ce.each(function(){var _e,Me=p.ensureSingle(d.select(this),"text","",function(Ce){Ce.attr("data-notex",1)}),Se=re.title.text;re._meta&&(Se=p.templateString(Se,re._meta)),Me.text(Se).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(v.font,re.title.font).call(c.convertToTspans,U),_e=re.title.position==="middle center"?function(Ce){var ae=Math.sqrt(Ce.titleBox.width*Ce.titleBox.width+Ce.titleBox.height*Ce.titleBox.height);return{x:Ce.cx,y:Ce.cy,scale:Ce.trace.hole*Ce.r*2/ae,tx:0,ty:-Ce.titleBox.height/2+Ce.trace.title.font.size}}(Q):z(Q,ne),Me.attr("transform",a(_e.x,_e.y)+u(Math.min(1,_e.scale))+a(_e.tx,_e.ty))}),ue&&function(_e,Me){var Se,Ce,ae,he,be,ke,Le,Be,ze,je,ge,we,Ee;function Ve(ot,ft){return ot.pxmid[1]-ft.pxmid[1]}function Ye(ot,ft){return ft.pxmid[1]-ot.pxmid[1]}function $e(ot,ft){ft||(ft={});var bt,Et,kt,xt,Ft=ft.labelExtraY+(Ce?ft.yLabelMax:ft.yLabelMin),Dt=Ce?ot.yLabelMin:ot.yLabelMax,Bt=Ce?ot.yLabelMax:ot.yLabelMin,Wt=ot.cyFinal+be(ot.px0[1],ot.px1[1]),Vt=Ft-Dt;if(Vt*Le>0&&(ot.labelExtraY=Vt),Array.isArray(Me.pull))for(Et=0;Et=(m.castOption(Me.pull,kt.pts)||0)||((ot.pxmid[1]-kt.pxmid[1])*Le>0?(Vt=kt.cyFinal+be(kt.px0[1],kt.px1[1])-Dt-ot.labelExtraY)*Le>0&&(ot.labelExtraY+=Vt):(Bt+ot.labelExtraY-Wt)*Le>0&&(bt=3*ke*Math.abs(Et-je.indexOf(ot)),(xt=kt.cxFinal+he(kt.px0[0],kt.px1[0])+bt-(ot.cxFinal+ot.pxmid[0])-ot.labelExtraX)*ke>0&&(ot.labelExtraX+=xt)))}for(Ce=0;Ce<2;Ce++)for(ae=Ce?Ve:Ye,be=Ce?Math.max:Math.min,Le=Ce?1:-1,Se=0;Se<2;Se++){for(he=Se?Math.max:Math.min,ke=Se?1:-1,(Be=_e[Ce][Se]).sort(ae),ze=_e[1-Ce][Se],je=ze.concat(Be),we=[],ge=0;geMath.abs(Be)?be+="l"+Be*Se.pxmid[0]/Se.pxmid[1]+","+Be+"H"+(he+Se.labelExtraX+ke):be+="l"+Se.labelExtraX+","+Le+"v"+(Be-Le)+"h"+ke}else be+="V"+(Se.yLabelMid+Se.labelExtraY)+"h"+ke;p.ensureSingle(Ce,"path","textline").call(M.stroke,Me.outsidetextfont.color).attr({"stroke-width":Math.min(2,Me.outsidetextfont.size/8),d:be,fill:"none"})}else Ce.select("path.textline").remove()})}(ie,re),ue&&re.automargin){var ye=v.bBox(X.node()),de=re.domain,me=ne.w*(de.x[1]-de.x[0]),pe=ne.h*(de.y[1]-de.y[0]),xe=(.5*me-Q.r)/ne.w,Pe=(.5*pe-Q.r)/ne.h;g.autoMargin(U,"pie."+re.uid+".automargin",{xl:de.x[0]-xe,xr:de.x[1]+xe,yb:de.y[0]-Pe,yt:de.y[1]+Pe,l:Math.max(Q.cx-Q.r-ye.left,0),r:Math.max(ye.right-(Q.cx+Q.r),0),b:Math.max(ye.bottom-(Q.cy+Q.r),0),t:Math.max(Q.cy-Q.r-ye.top,0),pad:5})}})});setTimeout(function(){te.selectAll("tspan").each(function(){var Z=d.select(this);Z.attr("dy")&&Z.attr("dy",Z.attr("dy"))})},0)},formatSliceLabel:j,transformInsideText:E,determineInsideTextFont:w,positionTitleOutside:z,prerenderTitles:k,layoutAreas:N,attachFxHandlers:C,computeTransform:Y}},68357:function(x,o,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;x.exports=function(M){var v=M._fullLayout._pielayer.selectAll(".trace");i(M,v,"pie"),v.each(function(p){var u=p[0].trace,a=d.select(this);a.style({opacity:u.opacity}),a.selectAll("path.surface").each(function(c){d.select(this).call(g,c,u)})})}},63463:function(x,o,t){var d=t(7901),g=t(53581).castOption;x.exports=function(i,M,v){var p=v.marker.line,u=g(p.color,M.pts)||d.defaultLine,a=g(p.width,M.pts)||0;i.style("stroke-width",a).call(d.fill,M.color).call(d.stroke,u)}},10959:function(x,o,t){var d=t(82196);x.exports={x:d.x,y:d.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:d.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}},42743:function(x,o,t){var d=t(9330).gl_pointcloud2d,g=t(78614),i=t(71739).findExtremes,M=t(34603);function v(u,a){this.scene=u,this.uid=a,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=d(u.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var p=v.prototype;p.handlePick=function(u){var a=this.idToIndex[u.pointId];return{trace:this,dataCoord:u.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*a],this.pickXYData[2*a+1]]:[this.pickXData[a],this.pickYData[a]],textLabel:Array.isArray(this.textLabels)?this.textLabels[a]:this.textLabels,color:this.color,name:this.name,pointIndex:a,hoverinfo:this.hoverinfo}},p.update=function(u){this.index=u.index,this.textLabels=u.text,this.name=u.name,this.hoverinfo=u.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(u),this.color=M(u,{})},p.updateFast=function(u){var a,c,s,l,h,f,m=this.xData=this.pickXData=u.x,_=this.yData=this.pickYData=u.y,y=this.pickXYData=u.xy,C=u.xbounds&&u.ybounds,w=u.indices,k=this.bounds;if(y){if(s=y,a=y.length>>>1,C)k[0]=u.xbounds[0],k[2]=u.xbounds[1],k[1]=u.ybounds[0],k[3]=u.ybounds[1];else for(f=0;fk[2]&&(k[2]=l),hk[3]&&(k[3]=h);if(w)c=w;else for(c=new Int32Array(a),f=0;fk[2]&&(k[2]=l),hk[3]&&(k[3]=h);this.idToIndex=c,this.pointcloudOptions.idToIndex=c,this.pointcloudOptions.positions=s;var E=g(u.marker.color),T=g(u.marker.border.color),A=u.opacity*u.marker.opacity;E[3]*=A,this.pointcloudOptions.color=E;var L=u.marker.blend;L===null&&(L=m.length<100||_.length<100),this.pointcloudOptions.blend=L,T[3]*=A,this.pointcloudOptions.borderColor=T;var b=u.marker.sizemin,O=Math.max(u.marker.sizemax,u.marker.sizemin);this.pointcloudOptions.sizeMin=b,this.pointcloudOptions.sizeMax=O,this.pointcloudOptions.areaRatio=u.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var I=this.scene.xaxis,R=this.scene.yaxis,z=O/2||.5;u._extremes[I._id]=i(I,[k[0],k[2]],{ppad:z}),u._extremes[R._id]=i(R,[k[1],k[3]],{ppad:z})},p.dispose=function(){this.pointcloud.dispose()},x.exports=function(u,a){var c=new v(u,a.uid);return c.update(a),c}},33876:function(x,o,t){var d=t(71828),g=t(10959);x.exports=function(i,M,v){function p(u,a){return d.coerce(i,M,g,u,a)}p("x"),p("y"),p("xbounds"),p("ybounds"),i.xy&&i.xy instanceof Float32Array&&(M.xy=i.xy),i.indices&&i.indices instanceof Int32Array&&(M.indices=i.indices),p("text"),p("marker.color",v),p("marker.opacity"),p("marker.blend"),p("marker.sizemin"),p("marker.sizemax"),p("marker.border.color",v),p("marker.border.arearatio"),M._length=null}},20593:function(x,o,t){x.exports={attributes:t(10959),supplyDefaults:t(33876),calc:t(36563),plot:t(42743),moduleType:"trace",name:"pointcloud",basePlotModule:t(4796),categories:["gl","gl2d","showLegend"],meta:{}}},39953:function(x,o,t){var d=t(41940),g=t(9012),i=t(22399),M=t(77914),v=t(27670).Y,p=t(5386).fF,u=t(50693),a=t(44467).templatedArray,c=t(12663).descriptionOnlyNumbers,s=t(1426).extendFlat,l=t(30962).overrideAll;(x.exports=l({hoverinfo:s({},g.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:M.hoverlabel,domain:v({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h"},valueformat:{valType:"string",dflt:".3s",description:c("value")},valuesuffix:{valType:"string",dflt:""},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap"},textfont:d({}),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:i.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:M.hoverlabel,hovertemplate:p({},{keys:["value","label"]})},link:{arrowlen:{valType:"number",min:0,dflt:0},label:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.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:M.hoverlabel,hovertemplate:p({},{keys:["value","label"]}),colorscales:a("concentrationscales",{editType:"calc",label:{valType:"string",editType:"calc",dflt:""},cmax:{valType:"number",editType:"calc",dflt:1},cmin:{valType:"number",editType:"calc",dflt:0},colorscale:s(u().colorscale,{dflt:[[0,"white"],[1,"black"]]})})}},"calc","nested")).transforms=void 0},75536:function(x,o,t){var d=t(30962).overrideAll,g=t(27659).a0,i=t(60436),M=t(528),v=t(6964),p=t(28569),u=t(47322).prepSelect,a=t(71828),c=t(73972),s="sankey";function l(h,f){var m=h._fullData[f],_=h._fullLayout,y=_.dragmode,C=_.dragmode==="pan"?"move":"crosshair",w=m._bgRect;if(w&&y!=="pan"&&y!=="zoom"){v(w,C);var k={_id:"x",c2p:a.identity,_offset:m._sankey.translateX,_length:m._sankey.width},E={_id:"y",c2p:a.identity,_offset:m._sankey.translateY,_length:m._sankey.height},T={gd:h,element:w.node(),plotinfo:{id:f,xaxis:k,yaxis:E,fillRangeItems:a.noop},subplot:f,xaxes:[k],yaxes:[E],doneFnCompleted:function(A){var L,b=h._fullData[f],O=b.node.groups.slice(),I=[];function R(N){for(var q=b._sankey.graph.nodes,j=0;jL&&(L=f.source[l]),f.target[l]>L&&(L=f.target[l]);var b,O=L+1;s.node._count=O;var I=s.node.groups,R={};for(l=0;l0&&v(j,O)&&v(Y,O)&&(!R.hasOwnProperty(j)||!R.hasOwnProperty(Y)||R[j]!==R[Y])){R.hasOwnProperty(Y)&&(Y=R[Y]),R.hasOwnProperty(j)&&(j=R[j]),Y=+Y,C[j=+j]=C[Y]=!0;var U="";f.label&&f.label[l]&&(U=f.label[l]);var G=null;U&&w.hasOwnProperty(U)&&(G=w[U]),m.push({pointNumber:l,label:U,color:_?f.color[l]:f.color,customdata:y?f.customdata[l]:f.customdata,concentrationscale:G,source:j,target:Y,value:+q}),N.source.push(j),N.target.push(Y)}}var W=O+I.length,H=M(h.color),ne=M(h.customdata),te=[];for(l=0;lO-1,childrenNodes:[],pointNumber:l,label:Z,color:H?h.color[l]:h.color,customdata:ne?h.customdata[l]:h.customdata})}var X=!1;return function(Q,re,ie){for(var oe=g.init2dArray(Q,0),ue=0;ue1})}(W,N.source,N.target)&&(X=!0),{circular:X,links:m,nodes:te,groups:I,groupLookup:R}}(a);return i({circular:c.circular,_nodes:c.nodes,_links:c.links,_groups:c.groups,_groupLookup:c.groupLookup})}},85247:function(x){x.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"}}},26857:function(x,o,t){var d=t(71828),g=t(39953),i=t(7901),M=t(84267),v=t(27670).c,p=t(38048),u=t(44467),a=t(85501);function c(s,l){function h(f,m){return d.coerce(s,l,g.link.colorscales,f,m)}h("label"),h("cmin"),h("cmax"),h("colorscale")}x.exports=function(s,l,h,f){function m(O,I){return d.coerce(s,l,g,O,I)}var _=d.extendDeep(f.hoverlabel,s.hoverlabel),y=s.node,C=u.newContainer(l,"node");function w(O,I){return d.coerce(y,C,g.node,O,I)}w("label"),w("groups"),w("x"),w("y"),w("pad"),w("thickness"),w("line.color"),w("line.width"),w("hoverinfo",s.hoverinfo),p(y,C,w,_),w("hovertemplate");var k=f.colorway;w("color",C.label.map(function(O,I){return i.addOpacity(function(R){return k[R%k.length]}(I),.8)})),w("customdata");var E=s.link||{},T=u.newContainer(l,"link");function A(O,I){return d.coerce(E,T,g.link,O,I)}A("label"),A("arrowlen"),A("source"),A("target"),A("value"),A("line.color"),A("line.width"),A("hoverinfo",s.hoverinfo),p(E,T,A,_),A("hovertemplate");var L,b=M(f.paper_bgcolor).getLuminance()<.333?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)";A("color",d.repeat(b,T.value.length)),A("customdata"),a(E,T,{name:"colorscales",handleItemDefaults:c}),v(l,f,m),m("orientation"),m("valueformat"),m("valuesuffix"),C.x.length&&C.y.length&&(L="freeform"),m("arrangement",L),d.coerceFont(m,"textfont",d.extendFlat({},f.font)),l._length=null}},29396:function(x,o,t){x.exports={attributes:t(39953),supplyDefaults:t(26857),calc:t(92930),plot:t(60436),moduleType:"trace",name:"sankey",basePlotModule:t(75536),selectPoints:t(84564),categories:["noOpacity"],meta:{}}},60436:function(x,o,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(3393),v=t(30211),p=t(7901),u=t(85247).cn,a=g._;function c(E){return E!==""}function s(E,T){return E.filter(function(A){return A.key===T.traceId})}function l(E,T){d.select(E).select("path").style("fill-opacity",T),d.select(E).select("rect").style("fill-opacity",T)}function h(E){d.select(E).select("text.name").style("fill","black")}function f(E){return function(T){return E.node.sourceLinks.indexOf(T.link)!==-1||E.node.targetLinks.indexOf(T.link)!==-1}}function m(E){return function(T){return T.node.sourceLinks.indexOf(E.link)!==-1||T.node.targetLinks.indexOf(E.link)!==-1}}function _(E,T,A){T&&A&&s(A,T).selectAll("."+u.sankeyLink).filter(f(T)).call(C.bind(0,T,A,!1))}function y(E,T,A){T&&A&&s(A,T).selectAll("."+u.sankeyLink).filter(f(T)).call(w.bind(0,T,A,!1))}function C(E,T,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(O){if(!O.link.concentrationscale)return .4}),b&&s(T,E).selectAll("."+u.sankeyLink).filter(function(O){return O.link.label===b}).style("fill-opacity",function(O){if(!O.link.concentrationscale)return .4}),A&&s(T,E).selectAll("."+u.sankeyNode).filter(m(E)).call(_)}function w(E,T,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(O){return O.tinyColorAlpha}),b&&s(T,E).selectAll("."+u.sankeyLink).filter(function(O){return O.link.label===b}).style("fill-opacity",function(O){return O.tinyColorAlpha}),A&&s(T,E).selectAll(u.sankeyNode).filter(m(E)).call(y)}function k(E,T){var A=E.hoverlabel||{},L=g.nestedProperty(A,T).get();return!Array.isArray(L)&&L}x.exports=function(E,T){for(var A=E._fullLayout,L=A._paper,b=A._size,O=0;O"),color:k(Y,"bgcolor")||p.addOpacity(H.color,1),borderColor:k(Y,"bordercolor"),fontFamily:k(Y,"font.family"),fontSize:k(Y,"font.size"),fontColor:k(Y,"font.color"),nameLength:k(Y,"namelength"),textAlign:k(Y,"align"),idealAlign:d.event.x"),color:k(Y,"bgcolor")||j.tinyColorHue,borderColor:k(Y,"bordercolor"),fontFamily:k(Y,"font.family"),fontSize:k(Y,"font.size"),fontColor:k(Y,"font.color"),nameLength:k(Y,"namelength"),textAlign:k(Y,"align"),idealAlign:"left",hovertemplate:Y.hovertemplate,hovertemplateLabels:Z,eventData:[j.node]},{container:A._hoverlayer.node(),outerContainer:A._paper.node(),gd:E});l(re,.85),h(re)}}},unhover:function(q,j,Y){E._fullLayout.hovermode!==!1&&(d.select(q).call(y,j,Y),j.node.trace.node.hoverinfo!=="skip"&&(j.node.fullData=j.node.trace,E.emit("plotly_unhover",{event:d.event,points:[j.node]})),v.loneUnhover(A._hoverlayer.node()))},select:function(q,j,Y){var U=j.node;U.originalEvent=d.event,E._hoverdata=[U],d.select(q).call(y,j,Y),v.click(E,{target:!0})}}})}},3393:function(x,o,t){var d=t(49887),g=t(81684).k4,i=t(39898),M=t(30838),v=t(86781),p=t(85247),u=t(84267),a=t(7901),c=t(91424),s=t(71828),l=s.strTranslate,h=s.strRotate,f=t(28984),m=f.keyFun,_=f.repeat,y=f.unwrap,C=t(63893),w=t(73972),k=t(18783),E=k.CAP_SHIFT,T=k.LINE_SPACING;function A(W,H,ne){var te,Z=y(H),X=Z.trace,Q=X.domain,re=X.orientation==="h",ie=X.node.pad,oe=X.node.thickness,ue=W.width*(Q.x[1]-Q.x[0]),ce=W.height*(Q.y[1]-Q.y[0]),ye=Z._nodes,de=Z._links,me=Z.circular;(te=me?v.sankeyCircular().circularLinkGap(0):M.sankey()).iterations(p.sankeyIterations).size(re?[ue,ce]:[ce,ue]).nodeWidth(oe).nodePadding(ie).nodeId(function(ke){return ke.pointNumber}).nodes(ye).links(de);var pe,xe,Pe,_e=te();for(var Me in te.nodePadding()we+oe&&(ge+=1,Le=Ee.x0),we=Ee.x0,je[ge]||(je[ge]=[]),je[ge].push(Ee),Be=Le-Ee.x0,Ee.x0+=Be,Ee.x1+=Be}return je}(ye=_e.nodes).forEach(function(ke){var Le,Be,ze,je=0,ge=ke.length;for(ke.sort(function(we,Ee){return we.y0-Ee.y0}),ze=0;ze=je||(Be=je-Le.y0)>1e-6&&(Le.y0+=Be,Le.y1+=Be),je=Le.y1+ie}),te.update(_e)}return{circular:me,key:ne,trace:X,guid:s.randstr(),horizontal:re,width:ue,height:ce,nodePad:X.node.pad,nodeLineColor:X.node.line.color,nodeLineWidth:X.node.line.width,linkLineColor:X.link.line.color,linkLineWidth:X.link.line.width,linkArrowLength:X.link.arrowlen,valueFormat:X.valueformat,valueSuffix:X.valuesuffix,textFont:X.textfont,translateX:Q.x[0]*W.width+W.margin.l,translateY:W.height-Q.y[1]*W.height+W.margin.t,dragParallel:re?ce:ue,dragPerpendicular:re?ue:ce,arrangement:X.arrangement,sankey:te,graph:_e,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function L(W,H,ne){var te=u(H.color),Z=H.source.label+"|"+H.target.label+"__"+ne;return H.trace=W.trace,H.curveNumber=W.trace.index,{circular:W.circular,key:Z,traceId:W.key,pointNumber:H.pointNumber,link:H,tinyColorHue:a.tinyRGB(te),tinyColorAlpha:te.getAlpha(),linkPath:b,linkLineColor:W.linkLineColor,linkLineWidth:W.linkLineWidth,linkArrowLength:W.linkArrowLength,valueFormat:W.valueFormat,valueSuffix:W.valueSuffix,sankey:W.sankey,parent:W,interactionState:W.interactionState,flow:H.flow}}function b(){return function(W){var H=W.linkArrowLength;if(W.link.circular)return function(xe,Pe){var _e=xe.width/2,Me=xe.circularPathData;return xe.circularLinkType==="top"?"M "+(Me.targetX-Pe)+" "+(Me.targetY+_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 1 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 1 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 0 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 0 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY-_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z":"M "+(Me.targetX-Pe)+" "+(Me.targetY-_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 0 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 0 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 1 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 1 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY+_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z"}(W.link,H);var ne=Math.abs((W.link.target.x0-W.link.source.x1)/2);H>ne&&(H=ne);var te=W.link.source.x1,Z=W.link.target.x0-H,X=g(te,Z),Q=X(.5),re=X(.5),ie=W.link.y0-W.link.width/2,oe=W.link.y0+W.link.width/2,ue=W.link.y1-W.link.width/2,ce=W.link.y1+W.link.width/2,ye="M"+te+","+ie,de="C"+Q+","+ie+" "+re+","+ue+" "+Z+","+ue,me="C"+re+","+ce+" "+Q+","+oe+" "+te+","+oe,pe=H>0?"L"+(Z+H)+","+(ue+W.link.width/2):"";return ye+de+(pe+="L"+Z+","+ce)+me+"Z"}}function O(W,H){var ne=u(H.color),te=p.nodePadAcross,Z=W.nodePad/2;H.dx=H.x1-H.x0,H.dy=H.y1-H.y0;var X=H.dx,Q=Math.max(.5,H.dy),re="node_"+H.pointNumber;return H.group&&(re=s.randstr()),H.trace=W.trace,H.curveNumber=W.trace.index,{index:H.pointNumber,key:re,partOfGroup:H.partOfGroup||!1,group:H.group,traceId:W.key,trace:W.trace,node:H,nodePad:W.nodePad,nodeLineColor:W.nodeLineColor,nodeLineWidth:W.nodeLineWidth,textFont:W.textFont,size:W.horizontal?W.height:W.width,visibleWidth:Math.ceil(X),visibleHeight:Q,zoneX:-te,zoneY:-Z,zoneWidth:X+2*te,zoneHeight:Q+2*Z,labelY:W.horizontal?H.dy/2+1:H.dx/2+1,left:H.originalLayer===1,sizeAcross:W.width,forceLayouts:W.forceLayouts,horizontal:W.horizontal,darkBackground:ne.getBrightness()<=128,tinyColorHue:a.tinyRGB(ne),tinyColorAlpha:ne.getAlpha(),valueFormat:W.valueFormat,valueSuffix:W.valueSuffix,sankey:W.sankey,graph:W.graph,arrangement:W.arrangement,uniqueNodeLabelPathId:[W.guid,W.key,re].join("_"),interactionState:W.interactionState,figure:W}}function I(W){W.attr("transform",function(H){return l(H.node.x0.toFixed(3),H.node.y0.toFixed(3))})}function R(W){W.call(I)}function z(W,H){W.call(R),H.attr("d",b())}function F(W){W.attr("width",function(H){return H.node.x1-H.node.x0}).attr("height",function(H){return H.visibleHeight})}function B(W){return W.link.width>1||W.linkLineWidth>0}function N(W){return l(W.translateX,W.translateY)+(W.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function q(W,H,ne){W.on(".basic",null).on("mouseover.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.hover(this,te,H),te.interactionState.hovered=[this,te])}).on("mousemove.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.follow(this,te),te.interactionState.hovered=[this,te])}).on("mouseout.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.unhover(this,te,H),te.interactionState.hovered=!1)}).on("click.basic",function(te){te.interactionState.hovered&&(ne.unhover(this,te,H),te.interactionState.hovered=!1),te.interactionState.dragInProgress||te.partOfGroup||ne.select(this,te,H)})}function j(W,H,ne,te){var Z=i.behavior.drag().origin(function(X){return{x:X.node.x0+X.visibleWidth/2,y:X.node.y0+X.visibleHeight/2}}).on("dragstart",function(X){if(X.arrangement!=="fixed"&&(s.ensureSingle(te._fullLayout._infolayer,"g","dragcover",function(re){te._fullLayout._dragCover=re}),s.raiseToTop(this),X.interactionState.dragInProgress=X.node,U(X.node),X.interactionState.hovered&&(ne.nodeEvents.unhover.apply(0,X.interactionState.hovered),X.interactionState.hovered=!1),X.arrangement==="snap")){var Q=X.traceId+"|"+X.key;X.forceLayouts[Q]?X.forceLayouts[Q].alpha(1):function(re,ie,oe,ue){(function(ye){for(var de=0;de0&&pe.forceLayouts[de].alpha(0)}}(0,ie,ce,oe)).stop()}(0,Q,X),function(re,ie,oe,ue,ce){window.requestAnimationFrame(function ye(){var de;for(de=0;de0)window.requestAnimationFrame(ye);else{var me=oe.node.originalX;oe.node.x0=me-oe.visibleWidth/2,oe.node.x1=me+oe.visibleWidth/2,Y(oe,ce)}})}(W,H,X,Q,te)}}).on("drag",function(X){if(X.arrangement!=="fixed"){var Q=i.event.x,re=i.event.y;X.arrangement==="snap"?(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2,X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2):(X.arrangement==="freeform"&&(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2),re=Math.max(0,Math.min(X.size-X.visibleHeight/2,re)),X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2),U(X.node),X.arrangement!=="snap"&&(X.sankey.update(X.graph),z(W.filter(G(X)),H))}}).on("dragend",function(X){if(X.arrangement!=="fixed"){X.interactionState.dragInProgress=!1;for(var Q=0;Qw&&j[E].gap;)E--;for(A=j[E].s,k=j.length-1;k>E;k--)j[k].s=A;for(;wz[h]&&h=0;h--){var f=M[h];if(f.type==="scatter"&&f.xaxis===s.xaxis&&f.yaxis===s.yaxis){f.opacity=void 0;break}}}}}},17438:function(x,o,t){var d=t(71828),g=t(73972),i=t(82196),M=t(47581),v=t(34098),p=t(67513),u=t(73927),a=t(565),c=t(49508),s=t(11058),l=t(94039),h=t(82410),f=t(28908),m=t(71828).coercePattern;x.exports=function(_,y,C,w){function k(R,z){return d.coerce(_,y,i,R,z)}var E=p(_,y,w,k);if(E||(y.visible=!1),y.visible){u(_,y,w,k),k("xhoverformat"),k("yhoverformat");var T=a(_,y,w,k);w.scattermode==="group"&&y.orientation===void 0&&k("orientation","v");var A=!T&&E=Math.min(me,pe)&&_<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(f.c2p(de.x)-_);return _e=Math.min(me,pe)&&y<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(m.c2p(de.y)-y);return _ece!=(te=U[j][1])>=ce&&(W=U[j-1][0],H=U[j][0],te-ne&&(G=W+(H-W)*(ce-ne)/(te-ne),re=Math.min(re,G),ie=Math.max(ie,G)));re=Math.max(re,0),ie=Math.min(ie,f._length);var ye=v.defaultLine;return v.opacity(h.fillcolor)?ye=h.fillcolor:v.opacity((h.line||{}).color)&&(ye=h.line.color),d.extendFlat(u,{distance:u.maxHoverDistance,x0:re,x1:ie,y0:ce,y1:ce,color:ye,hovertemplate:!1}),delete u.index,h.text&&!Array.isArray(h.text)?u.text=String(h.text):u.text=h.name,[u]}}}},67368:function(x,o,t){var d=t(34098);x.exports={hasLines:d.hasLines,hasMarkers:d.hasMarkers,hasText:d.hasText,isBubble:d.isBubble,attributes:t(82196),layoutAttributes:t(21479),supplyDefaults:t(17438),crossTraceDefaults:t(34936),supplyLayoutDefaults:t(79334),calc:t(47761).calc,crossTraceCalc:t(72626),arraysToCalcdata:t(75225),plot:t(32663),colorbar:t(4898),formatLabels:t(8225),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(33720),selectPoints:t(98002),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:t(93612),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},21479:function(x){x.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}},79334:function(x,o,t){var d=t(71828),g=t(21479);x.exports=function(i,M){var v,p=M.barmode==="group";M.scattermode==="group"&&(v=p?M.bargap:.2,d.coerce(i,M,g,"scattergap",v))}},11058:function(x,o,t){var d=t(71828).isArrayOrTypedArray,g=t(52075).hasColorscale,i=t(1586);x.exports=function(M,v,p,u,a,c){c||(c={});var s=(M.marker||{}).color;a("line.color",p),g(M,"line")?i(M,v,u,a,{prefix:"line.",cLetter:"c"}):a("line.color",!d(s)&&s||p),a("line.width"),c.noDash||a("line.dash"),c.backoff&&a("line.backoff")}},34621:function(x,o,t){var d=t(91424),g=t(50606),i=g.BADNUM,M=g.LOG_CLIP,v=M+.5,p=M-.5,u=t(71828),a=u.segmentsIntersect,c=u.constrain,s=t(47581);x.exports=function(l,h){var f,m,_,y,C,w,k,E,T,A,L,b,O,I,R,z,F,B,N=h.trace||{},q=h.xaxis,j=h.yaxis,Y=q.type==="log",U=j.type==="log",G=q._length,W=j._length,H=h.backoff,ne=N.marker,te=h.connectGaps,Z=h.baseTolerance,X=h.shape,Q=X==="linear",re=N.fill&&N.fill!=="none",ie=[],oe=s.minTolerance,ue=l.length,ce=new Array(ue),ye=0;function de(Vt){var Ke=l[Vt];if(!Ke)return!1;var Je=h.linearized?q.l2p(Ke.x):q.c2p(Ke.x),We=h.linearized?j.l2p(Ke.y):j.c2p(Ke.y);if(Je===i){if(Y&&(Je=q.c2p(Ke.x,!0)),Je===i)return!1;U&&We===i&&(Je*=Math.abs(q._m*W*(q._m>0?v:p)/(j._m*G*(j._m>0?v:p)))),Je*=1e3}if(We===i){if(U&&(We=j.c2p(Ke.y,!0)),We===i)return!1;We*=1e3}return[Je,We]}function me(Vt,Ke,Je,We){var nt=Je-Vt,ht=We-Ke,Oe=.5-Vt,Ne=.5-Ke,Qe=nt*nt+ht*ht,ut=nt*Oe+ht*Ne;if(ut>0&&utLe||Vt[1]ze)return[c(Vt[0],ke,Le),c(Vt[1],Be,ze)]}function we(Vt,Ke){return Vt[0]===Ke[0]&&(Vt[0]===ke||Vt[0]===Le)||Vt[1]===Ke[1]&&(Vt[1]===Be||Vt[1]===ze)||void 0}function Ee(Vt,Ke,Je){return function(We,nt){var ht=ge(We),Oe=ge(nt),Ne=[];if(ht&&Oe&&we(ht,Oe))return Ne;ht&&Ne.push(ht),Oe&&Ne.push(Oe);var Qe=2*u.constrain((We[Vt]+nt[Vt])/2,Ke,Je)-((ht||We)[Vt]+(Oe||nt)[Vt]);return Qe&&((ht&&Oe?Qe>0==ht[Vt]>Oe[Vt]?ht:Oe:ht||Oe)[Vt]+=Qe),Ne}}function Ve(Vt){var Ke=Vt[0],Je=Vt[1],We=Ke===ce[ye-1][0],nt=Je===ce[ye-1][1];if(!We||!nt)if(ye>1){var ht=Ke===ce[ye-2][0],Oe=Je===ce[ye-2][1];We&&(Ke===ke||Ke===Le)&&ht?Oe?ye--:ce[ye-1]=Vt:nt&&(Je===Be||Je===ze)&&Oe?ht?ye--:ce[ye-1]=Vt:ce[ye++]=Vt}else ce[ye++]=Vt}function Ye(Vt){ce[ye-1][0]!==Vt[0]&&ce[ye-1][1]!==Vt[1]&&Ve([Me,Se]),Ve(Vt),Ce=null,Me=Se=0}X==="linear"||X==="spline"?he=function(Vt,Ke){for(var Je=[],We=0,nt=0;nt<4;nt++){var ht=je[nt],Oe=a(Vt[0],Vt[1],Ke[0],Ke[1],ht[0],ht[1],ht[2],ht[3]);Oe&&(!We||Math.abs(Oe.x-Je[0][0])>1||Math.abs(Oe.y-Je[0][1])>1)&&(Oe=[Oe.x,Oe.y],We&&xe(Oe,Vt)Le?Le:0,_e=Vt[1]ze?ze:0,Pe||_e){if(ye)if(Ce){var Ke=he(Ce,Vt);Ke.length>1&&(Ye(Ke[0]),ce[ye++]=Ke[1])}else ae=he(ce[ye-1],Vt)[0],ce[ye++]=ae;else ce[ye++]=[Pe||Vt[0],_e||Vt[1]];var Je=ce[ye-1];Pe&&_e&&(Je[0]!==Pe||Je[1]!==_e)?(Ce&&(Me!==Pe&&Se!==_e?Ve(Me&&Se?(We=Ce,ht=(nt=Vt)[0]-We[0],Oe=(nt[1]-We[1])/ht,(We[1]*nt[0]-nt[1]*We[0])/ht>0?[Oe>0?ke:Le,ze]:[Oe>0?Le:ke,Be]):[Me||Pe,Se||_e]):Me&&Se&&Ve([Me,Se])),Ve([Pe,_e])):Me-Pe&&Se-_e&&Ve([Pe||Me,_e||Se]),Ce=Vt,Me=Pe,Se=_e}else Ce&&Ye(he(Ce,Vt)[0]),ce[ye++]=Vt;var We,nt,ht,Oe}for(f=0;fpe(w,ot))break;_=w,(O=T[0]*E[0]+T[1]*E[1])>L?(L=O,y=w,k=!1):O=l.length||!w)break;st(w),m=w}}else st(y)}Ce&&Ve([Me||Ce[0],Se||Ce[1]]),ie.push(ce.slice(0,ye))}var ft=X.slice(X.length-1);if(H&&ft!=="h"&&ft!=="v"){for(var bt=!1,Et=-1,kt=[],xt=0;xt=0?u=h:(u=h=l,l++),u0?Math.max(c,p):0}}},4898:function(x){x.exports={container:"marker",min:"cmin",max:"cmax"}},49508:function(x,o,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(34098);x.exports=function(v,p,u,a,c,s){var l=M.isBubble(v),h=(v.line||{}).color;s=s||{},h&&(u=h),c("marker.symbol"),c("marker.opacity",l?.7:1),c("marker.size"),s.noAngle||(c("marker.angle"),s.noAngleRef||c("marker.angleref"),s.noStandOff||c("marker.standoff")),c("marker.color",u),g(v,"marker")&&i(v,p,a,c,{prefix:"marker.",cLetter:"c"}),s.noSelect||(c("selected.marker.color"),c("unselected.marker.color"),c("selected.marker.size"),c("unselected.marker.size")),s.noLine||(c("marker.line.color",h&&!Array.isArray(h)&&p.marker.color!==h?h:l?d.background:d.defaultLine),g(v,"marker.line")&&i(v,p,a,c,{prefix:"marker.line.",cLetter:"c"}),c("marker.line.width",l?1:0)),l&&(c("marker.sizeref"),c("marker.sizemin"),c("marker.sizemode")),s.gradient&&c("marker.gradient.type")!=="none"&&c("marker.gradient.color")}},73927:function(x,o,t){var d=t(71828).dateTick0,g=t(50606).ONEWEEK;function i(M,v){return d(v,M%g==0?1:0)}x.exports=function(M,v,p,u,a){if(a||(a={x:!0,y:!0}),a.x){var c=u("xperiod");c&&(u("xperiod0",i(c,v.xcalendar)),u("xperiodalignment"))}if(a.y){var s=u("yperiod");s&&(u("yperiod0",i(s,v.ycalendar)),u("yperiodalignment"))}}},32663:function(x,o,t){var d=t(39898),g=t(73972),i=t(71828),M=i.ensureSingle,v=i.identity,p=t(91424),u=t(34098),a=t(34621),c=t(68687),s=t(61082).tester;function l(h,f,m,_,y,C,w){var k,E=h._context.staticPlot;(function(he,be,ke,Le,Be){var ze=ke.xaxis,je=ke.yaxis,ge=d.extent(i.simpleMap(ze.range,ze.r2c)),we=d.extent(i.simpleMap(je.range,je.r2c)),Ee=Le[0].trace;if(u.hasMarkers(Ee)){var Ve=Ee.marker.maxdisplayed;if(Ve!==0){var Ye=Le.filter(function(ft){return ft.x>=ge[0]&&ft.x<=ge[1]&&ft.y>=we[0]&&ft.y<=we[1]}),$e=Math.ceil(Ye.length/Ve),st=0;Be.forEach(function(ft,bt){var Et=ft[0].trace;u.hasMarkers(Et)&&Et.marker.maxdisplayed>0&&bt0;function A(he){return T?he.transition():he}var L=m.xaxis,b=m.yaxis,O=_[0].trace,I=O.line,R=d.select(C),z=M(R,"g","errorbars"),F=M(R,"g","lines"),B=M(R,"g","points"),N=M(R,"g","text");if(g.getComponentMethod("errorbars","plot")(h,z,m,w),O.visible===!0){var q,j;A(R).style("opacity",O.opacity);var Y=O.fill.charAt(O.fill.length-1);Y!=="x"&&Y!=="y"&&(Y=""),_[0][m.isRangePlot?"nodeRangePlot3":"node3"]=R;var U,G,W="",H=[],ne=O._prevtrace;ne&&(W=ne._prevRevpath||"",j=ne._nextFill,H=ne._polygons);var te,Z,X,Q,re,ie,oe,ue="",ce="",ye=[],de=i.noop;if(q=O._ownFill,u.hasLines(O)||O.fill!=="none"){for(j&&j.datum(_),["hv","vh","hvh","vhv"].indexOf(I.shape)!==-1?(te=p.steps(I.shape),Z=p.steps(I.shape.split("").reverse().join(""))):te=Z=I.shape==="spline"?function(he){var be=he[he.length-1];return he.length>1&&he[0][0]===be[0]&&he[0][1]===be[1]?p.smoothclosed(he.slice(1),I.smoothing):p.smoothopen(he,I.smoothing)}:function(he){return"M"+he.join("L")},X=function(he){return Z(he.reverse())},ye=a(_,{xaxis:L,yaxis:b,trace:O,connectGaps:O.connectgaps,baseTolerance:Math.max(I.width||1,3)/4,shape:I.shape,backoff:I.backoff,simplify:I.simplify,fill:O.fill}),oe=O._polygons=new Array(ye.length),k=0;k0,A=c(h,f,m);(w=_.selectAll("g.trace").data(A,function(L){return L[0].trace.uid})).enter().append("g").attr("class",function(L){return"trace scatter trace"+L[0].trace.uid}).style("stroke-miterlimit",2),w.order(),function(L,b,O){b.each(function(I){var R=M(d.select(this),"g","fills");p.setClipUrl(R,O.layerClipId,L);var z=I[0].trace,F=[];z._ownfill&&F.push("_ownFill"),z._nexttrace&&F.push("_nextFill");var B=R.selectAll("g").data(F,v);B.enter().append("g"),B.exit().each(function(N){z[N]=null}).remove(),B.order().each(function(N){z[N]=M(d.select(this),"path","js-fill")})})}(h,w,f),T?(C&&(k=C()),d.transition().duration(y.duration).ease(y.easing).each("end",function(){k&&k()}).each("interrupt",function(){k&&k()}).each(function(){_.selectAll("g.trace").each(function(L,b){l(h,b,f,L,A,this,y)})})):w.each(function(L,b){l(h,b,f,L,A,this,y)}),E&&w.exit().remove(),_.selectAll("path:not([d])").remove()}},98002:function(x,o,t){var d=t(34098);x.exports=function(g,i){var M,v,p,u,a=g.cd,c=g.xaxis,s=g.yaxis,l=[],h=a[0].trace;if(!d.hasMarkers(h)&&!d.hasText(h))return[];if(i===!1)for(M=0;M0){var m=p.c2l(h);p._lowerLogErrorBound||(p._lowerLogErrorBound=m),p._lowerErrorBound=Math.min(p._lowerLogErrorBound,m)}}else a[c]=[-s[0]*v,s[1]*v]}return a}x.exports=function(i,M,v){var p=[g(i.x,i.error_x,M[0],v.xaxis),g(i.y,i.error_y,M[1],v.yaxis),g(i.z,i.error_z,M[2],v.zaxis)],u=function(f){for(var m=0;m-1?-1:b.indexOf("right")>-1?1:0}function w(b){return b==null?0:b.indexOf("top")>-1?-1:b.indexOf("bottom")>-1?1:0}function k(b,O){return O(4*b)}function E(b){return l[b]}function T(b,O,I,R,z){var F=null;if(p.isArrayOrTypedArray(b)){F=[];for(var B=0;B=0){var j=function(Y,U,G){var W,H=(G+1)%3,ne=(G+2)%3,te=[],Z=[];for(W=0;W=0&&h("surfacecolor",m||_);for(var y=["x","y","z"],C=0;C<3;++C){var w="projection."+y[C];h(w+".show")&&(h(w+".opacity"),h(w+".scale"))}var k=d.getComponentMethod("errorbars","supplyDefaults");k(a,c,m||_||s,{axis:"z"}),k(a,c,m||_||s,{axis:"y",inherit:"z"}),k(a,c,m||_||s,{axis:"x",inherit:"z"})}else c.visible=!1}},13551:function(x,o,t){x.exports={plot:t(58925),attributes:t(44542),markerSymbols:t(87381),supplyDefaults:t(21428),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:t(36563),moduleType:"trace",name:"scatter3d",basePlotModule:t(58547),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},97001:function(x,o,t){var d=t(82196),g=t(9012),i=t(5386).fF,M=t(5386).si,v=t(50693),p=t(1426).extendFlat,u=d.marker,a=d.line,c=u.line;x.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:p({},d.mode,{dflt:"markers"}),text:p({},d.text,{}),texttemplate:M({editType:"plot"},{keys:["a","b","text"]}),hovertext:p({},d.hovertext,{}),line:{color:a.color,width:a.width,dash:a.dash,backoff:a.backoff,shape:p({},a.shape,{values:["linear","spline"]}),smoothing:a.smoothing,editType:"calc"},connectgaps:d.connectgaps,fill:p({},d.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:d.fillcolor,marker:p({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:p({width:c.width,editType:"calc"},v("marker.line")),gradient:u.gradient,editType:"calc"},v("marker")),textfont:d.textfont,textposition:d.textposition,selected:d.selected,unselected:d.unselected,hoverinfo:p({},g.hoverinfo,{flags:["a","b","text","name"]}),hoveron:d.hoveron,hovertemplate:i()}},34618:function(x,o,t){var d=t(92770),g=t(36922),i=t(75225),M=t(66279),v=t(47761).calcMarkerSize,p=t(22882);x.exports=function(u,a){var c=a._carpetTrace=p(u,a);if(c&&c.visible&&c.visible!=="legendonly"){var s;a.xaxis=c.xaxis,a.yaxis=c.yaxis;var l,h,f=a._length,m=new Array(f),_=!1;for(s=0;s")}return u}function k(E,T){var A;A=E.labelprefix&&E.labelprefix.length>0?E.labelprefix.replace(/ = $/,""):E._hovertitle,C.push(A+": "+T.toFixed(3)+E.labelsuffix)}}},46858:function(x,o,t){x.exports={attributes:t(97001),supplyDefaults:t(98965),colorbar:t(4898),formatLabels:t(48953),calc:t(34618),plot:t(1913),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(22931),selectPoints:t(98002),eventData:t(16165),moduleType:"trace",name:"scattercarpet",basePlotModule:t(93612),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},1913:function(x,o,t){var d=t(32663),g=t(89298),i=t(91424);x.exports=function(M,v,p,u){var a,c,s,l=p[0][0].carpet,h=g.getFromId(M,l.xaxis||"x"),f=g.getFromId(M,l.yaxis||"y"),m={xaxis:h,yaxis:f,plot:v.plot};for(a=0;a")}function j(Y){return Y+"°"}}(s,y,p,c[0].t.labels),p.hovertemplate=s.hovertemplate,[p]}}},17988:function(x,o,t){x.exports={attributes:t(19316),supplyDefaults:t(10659),colorbar:t(4898),formatLabels:t(82719),calc:t(84622),calcGeoJSON:t(89171).calcGeoJSON,plot:t(89171).plot,style:t(33095),styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(14977),eventData:t(84084),selectPoints:t(20548),moduleType:"trace",name:"scattergeo",basePlotModule:t(44622),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},89171:function(x,o,t){var d=t(39898),g=t(71828),i=t(90973).getTopojsonFeatures,M=t(18214),v=t(41327),p=t(71739).findExtremes,u=t(50606).BADNUM,a=t(47761).calcMarkerSize,c=t(34098),s=t(33095);x.exports={calcGeoJSON:function(l,h){var f,m,_=l[0].trace,y=h[_.geo],C=y._subplot,w=_._length;if(Array.isArray(_.locations)){var k=_.locationmode,E=k==="geojson-id"?v.extractTraceFeature(l):i(_,C.topojson);for(f=0;f=m,O=2*L,I={},R=E.makeCalcdata(C,"x"),z=T.makeCalcdata(C,"y"),F=v(C,E,"x",R),B=v(C,T,"y",z),N=F.vals,q=B.vals;C._x=N,C._y=q,C.xperiodalignment&&(C._origX=R,C._xStarts=F.starts,C._xEnds=F.ends),C.yperiodalignment&&(C._origY=z,C._yStarts=B.starts,C._yEnds=B.ends);var j=new Array(O),Y=new Array(L);for(w=0;w1&&g.extendFlat(re.line,l.linePositions(H,te,Z)),re.errorX||re.errorY){var ie=l.errorBarPositions(H,te,Z,X,Q);re.errorX&&g.extendFlat(re.errorX,ie.x),re.errorY&&g.extendFlat(re.errorY,ie.y)}return re.text&&(g.extendFlat(re.text,{positions:Z},l.textPosition(H,te,re.text,re.marker)),g.extendFlat(re.textSel,{positions:Z},l.textPosition(H,te,re.text,re.markerSel)),g.extendFlat(re.textUnsel,{positions:Z},l.textPosition(H,te,re.text,re.markerUnsel))),re}(y,0,C,j,N,q),W=h(y,A);return c(k,C),b?G.marker&&(U=G.marker.sizeAvg||Math.max(G.marker.size,3)):U=u(C,L),a(y,C,E,T,N,q,U),G.errorX&&_(C,E,G.errorX),G.errorY&&_(C,T,G.errorY),G.fill&&!W.fill2d&&(W.fill2d=!0),G.marker&&!W.scatter2d&&(W.scatter2d=!0),G.line&&!W.line2d&&(W.line2d=!0),!G.errorX&&!G.errorY||W.error2d||(W.error2d=!0),G.text&&!W.glText&&(W.glText=!0),G.marker&&(G.marker.snap=L),W.lineOptions.push(G.line),W.errorXOptions.push(G.errorX),W.errorYOptions.push(G.errorY),W.fillOptions.push(G.fill),W.markerOptions.push(G.marker),W.markerSelectedOptions.push(G.markerSel),W.markerUnselectedOptions.push(G.markerUnsel),W.textOptions.push(G.text),W.textSelectedOptions.push(G.textSel),W.textUnselectedOptions.push(G.textUnsel),W.selectBatch.push([]),W.unselectBatch.push([]),I._scene=W,I.index=W.count,I.x=N,I.y=q,I.positions=j,W.count++,[{x:!1,y:!1,t:I,trace:C}]}},78232:function(x){x.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]}}},19635:function(x,o,t){var d=t(92770),g=t(82019),i=t(25075),M=t(73972),v=t(71828),p=t(91424),u=t(41675),a=t(81697).formatColor,c=t(34098),s=t(39984),l=t(68645),h=t(78232),f=t(37822).DESELECTDIM,m={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},_=t(23469).appendArrayPointValue;function y(R,z){var F,B=R._fullLayout,N=z._length,q=z.textfont,j=z.textposition,Y=Array.isArray(j)?j:[j],U=q.color,G=q.size,W=q.family,H={},ne=R._context.plotGlPixelRatio,te=z.texttemplate;if(te){H.text=[];var Z=B._d3locale,X=Array.isArray(te),Q=X?Math.min(te.length,N):N,re=X?function(me){return te[me]}:function(){return te};for(F=0;Fh.TOO_MANY_POINTS||c.hasMarkers(z)?"rect":"round";if(G&&z.connectgaps){var H=B[0],ne=B[1];for(N=0;N1?U[N]:U[0]:U,te=Array.isArray(G)?G.length>1?G[N]:G[0]:G,Z=m[ne],X=m[te],Q=W?W/.8+1:0,re=-X*Q-.5*X;j.offset[N]=[Z*Q/H,re/H]}}return j}}},47148:function(x,o,t){var d=t(71828),g=t(73972),i=t(68645),M=t(42341),v=t(47581),p=t(34098),u=t(67513),a=t(73927),c=t(49508),s=t(11058),l=t(28908),h=t(82410);x.exports=function(f,m,_,y){function C(O,I){return d.coerce(f,m,M,O,I)}var w=!!f.marker&&i.isOpenSymbol(f.marker.symbol),k=p.isBubble(f),E=u(f,m,y,C);if(E){a(f,m,y,C),C("xhoverformat"),C("yhoverformat");var T=E100},o.isDotSymbol=function(g){return typeof g=="string"?d.DOT_RE.test(g):g>200}},20794:function(x,o,t){var d=t(73972),g=t(71828),i=t(34603);function M(v,p,u,a){var c=v.xa,s=v.ya,l=v.distance,h=v.dxy,f=v.index,m={pointNumber:f,x:p[f],y:u[f]};m.tx=Array.isArray(a.text)?a.text[f]:a.text,m.htx=Array.isArray(a.hovertext)?a.hovertext[f]:a.hovertext,m.data=Array.isArray(a.customdata)?a.customdata[f]:a.customdata,m.tp=Array.isArray(a.textposition)?a.textposition[f]:a.textposition;var _=a.textfont;_&&(m.ts=g.isArrayOrTypedArray(_.size)?_.size[f]:_.size,m.tc=Array.isArray(_.color)?_.color[f]:_.color,m.tf=Array.isArray(_.family)?_.family[f]:_.family);var y=a.marker;y&&(m.ms=g.isArrayOrTypedArray(y.size)?y.size[f]:y.size,m.mo=g.isArrayOrTypedArray(y.opacity)?y.opacity[f]:y.opacity,m.mx=g.isArrayOrTypedArray(y.symbol)?y.symbol[f]:y.symbol,m.ma=g.isArrayOrTypedArray(y.angle)?y.angle[f]:y.angle,m.mc=g.isArrayOrTypedArray(y.color)?y.color[f]:y.color);var C=y&&y.line;C&&(m.mlc=Array.isArray(C.color)?C.color[f]:C.color,m.mlw=g.isArrayOrTypedArray(C.width)?C.width[f]:C.width);var w=y&&y.gradient;w&&w.type!=="none"&&(m.mgt=Array.isArray(w.type)?w.type[f]:w.type,m.mgc=Array.isArray(w.color)?w.color[f]:w.color);var k=c.c2p(m.x,!0),E=s.c2p(m.y,!0),T=m.mrc||1,A=a.hoverlabel;A&&(m.hbg=Array.isArray(A.bgcolor)?A.bgcolor[f]:A.bgcolor,m.hbc=Array.isArray(A.bordercolor)?A.bordercolor[f]:A.bordercolor,m.hts=g.isArrayOrTypedArray(A.font.size)?A.font.size[f]:A.font.size,m.htc=Array.isArray(A.font.color)?A.font.color[f]:A.font.color,m.htf=Array.isArray(A.font.family)?A.font.family[f]:A.font.family,m.hnl=g.isArrayOrTypedArray(A.namelength)?A.namelength[f]:A.namelength);var L=a.hoverinfo;L&&(m.hi=Array.isArray(L)?L[f]:L);var b=a.hovertemplate;b&&(m.ht=Array.isArray(b)?b[f]:b);var O={};O[v.index]=m;var I=a._origX,R=a._origY,z=g.extendFlat({},v,{color:i(a,m),x0:k-T,x1:k+T,xLabelVal:I?I[f]:m.x,y0:E-T,y1:E+T,yLabelVal:R?R[f]:m.y,cd:O,distance:l,spikeDistance:h,hovertemplate:m.ht});return m.htx?z.text=m.htx:m.tx?z.text=m.tx:a.text&&(z.text=a.text),g.fillText(m,a,z),d.getComponentMethod("errorbars","hoverInfo")(m,a,z),z}x.exports={hoverPoints:function(v,p,u,a){var c,s,l,h,f,m,_,y,C,w,k=v.cd,E=k[0].t,T=k[0].trace,A=v.xa,L=v.ya,b=E.x,O=E.y,I=A.c2p(p),R=L.c2p(u),z=v.distance;if(E.tree){var F=A.p2c(I-z),B=A.p2c(I+z),N=L.p2c(R-z),q=L.p2c(R+z);c=a==="x"?E.tree.range(Math.min(F,B),Math.min(L._rl[0],L._rl[1]),Math.max(F,B),Math.max(L._rl[0],L._rl[1])):E.tree.range(Math.min(F,B),Math.min(N,q),Math.max(F,B),Math.max(N,q))}else c=E.ids;var j=z;if(a==="x"){var Y=!!T.xperiodalignment,U=!!T.yperiodalignment;for(m=0;m=Math.min(G,W)&&I<=Math.max(G,W)?0:1/0}if(_=Math.min(H,ne)&&R<=Math.max(H,ne)?0:1/0}w=Math.sqrt(_*_+y*y),l=c[m]}}}else for(m=c.length-1;m>-1;m--)h=b[s=c[m]],f=O[s],_=A.c2p(h)-I,y=L.c2p(f)-R,(C=Math.sqrt(_*_+y*y))k.glText.length){var b=A-k.glText.length;for(y=0;yue&&(isNaN(oe[ce])||isNaN(oe[ce+1]));)ce-=2;ie.positions=oe.slice(ue,ce+2)}return ie}),k.line2d.update(k.lineOptions)),k.error2d){var I=(k.errorXOptions||[]).concat(k.errorYOptions||[]);k.error2d.update(I)}k.scatter2d&&k.scatter2d.update(k.markerOptions),k.fillOrder=v.repeat(null,A),k.fill2d&&(k.fillOptions=k.fillOptions.map(function(ie,oe){var ue=_[oe];if(ie&&ue&&ue[0]&&ue[0].trace){var ce,ye,de=ue[0],me=de.trace,pe=de.t,xe=k.lineOptions[oe],Pe=[];me._ownfill&&Pe.push(oe),me._nexttrace&&Pe.push(oe+1),Pe.length&&(k.fillOrder[oe]=Pe);var _e,Me,Se=[],Ce=xe&&xe.positions||pe.positions;if(me.fill==="tozeroy"){for(_e=0;_e_e&&isNaN(Ce[Me+1]);)Me-=2;Ce[_e+1]!==0&&(Se=[Ce[_e],0]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me+1]!==0&&(Se=Se.concat([Ce[Me],0]))}else if(me.fill==="tozerox"){for(_e=0;_e_e&&isNaN(Ce[Me]);)Me-=2;Ce[_e]!==0&&(Se=[0,Ce[_e+1]]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me]!==0&&(Se=Se.concat([0,Ce[Me+1]]))}else if(me.fill==="toself"||me.fill==="tonext"){for(Se=[],ce=0,ie.splitNull=!0,ye=0;ye-1;for(y=0;y")}function C(w){return w+"°"}}x.exports={hoverPoints:function(a,c,s){var l=a.cd,h=l[0].trace,f=a.xa,m=a.ya,_=a.subplot,y=[],C=p+h.uid+"-circle",w=h.cluster&&h.cluster.enabled;if(w){var k=_.map.queryRenderedFeatures(null,{layers:[C]});y=k.map(function(B){return B.id})}var E=360*(c>=0?Math.floor((c+180)/360):Math.ceil((c-180)/360)),T=c-E;if(d.getClosest(l,function(B){var N=B.lonlat;if(N[0]===v||w&&y.indexOf(B.i+1)===-1)return 1/0;var q=g.modHalf(N[0],360),j=N[1],Y=_.project([q,j]),U=Y.x-f.c2p([T,j]),G=Y.y-m.c2p([q,s]),W=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(U*U+G*G)-W,1-3/W)},a),a.index!==!1){var A=l[a.index],L=A.lonlat,b=[g.modHalf(L[0],360)+E,L[1]],O=f.c2p(b),I=m.c2p(b),R=A.mrc||1;a.x0=O-R,a.x1=O+R,a.y0=I-R,a.y1=I+R;var z={};z[h.subplot]={_subplot:_};var F=h._module.formatLabels(A,h,z);return a.lonLabel=F.lonLabel,a.latLabel=F.latLabel,a.color=i(h,A),a.extraText=u(h,A,l[0].t.labels),a.hovertemplate=h.hovertemplate,[a]}},getExtraText:u}},20467:function(x,o,t){x.exports={attributes:t(99181),supplyDefaults:t(76645),colorbar:t(4898),formatLabels:t(15636),calc:t(84622),plot:t(86951),hoverPoints:t(28178).hoverPoints,eventData:t(53353),selectPoints:t(86387),styleOnSelect:function(d,g){g&&g[0].trace._glTrace.update(g)},moduleType:"trace",name:"scattermapbox",basePlotModule:t(50101),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},86951:function(x,o,t){var d=t(71828),g=t(15790),i=t(77734).traceLayerPrefix,M={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function v(u,a,c,s){this.type="scattermapbox",this.subplot=u,this.uid=a,this.clusterEnabled=c,this.isHidden=s,this.sourceIds={fill:"source-"+a+"-fill",line:"source-"+a+"-line",circle:"source-"+a+"-circle",symbol:"source-"+a+"-symbol",cluster:"source-"+a+"-circle",clusterCount:"source-"+a+"-circle"},this.layerIds={fill:i+a+"-fill",line:i+a+"-line",circle:i+a+"-circle",symbol:i+a+"-symbol",cluster:i+a+"-cluster",clusterCount:i+a+"-cluster-count"},this.below=null}var p=v.prototype;p.addSource=function(u,a,c){var s={type:"geojson",data:a.geojson};c&&c.enabled&&d.extendFlat(s,{cluster:!0,clusterMaxZoom:c.maxzoom});var l=this.subplot.map.getSource(this.sourceIds[u]);l?l.setData(a.geojson):this.subplot.map.addSource(this.sourceIds[u],s)},p.setSourceData=function(u,a){this.subplot.map.getSource(this.sourceIds[u]).setData(a.geojson)},p.addLayer=function(u,a,c){var s={type:a.type,id:this.layerIds[u],source:this.sourceIds[u],layout:a.layout,paint:a.paint};a.filter&&(s.filter=a.filter);for(var l,h=this.layerIds[u],f=this.subplot.getMapLayers(),m=0;m=0;b--){var O=L[b];s.removeLayer(_.layerIds[O])}A||s.removeSource(_.sourceIds.circle)}(T):function(A){for(var L=M.nonCluster,b=L.length-1;b>=0;b--){var O=L[b];s.removeLayer(_.layerIds[O]),A||s.removeSource(_.sourceIds[O])}}(T)}function C(T){f?function(A){A||_.addSource("circle",l.circle,a.cluster);for(var L=M.cluster,b=0;b=0;c--){var s=a[c];u.removeLayer(this.layerIds[s]),u.removeSource(this.sourceIds[s])}},x.exports=function(u,a){var c,s,l,h=a[0].trace,f=h.cluster&&h.cluster.enabled,m=h.visible!==!0,_=new v(u,h.uid,f,m),y=g(u.gd,a),C=_.below=u.belowLookup["trace-"+h.uid];if(f)for(_.addSource("circle",y.circle,h.cluster),c=0;c")}}x.exports={hoverPoints:function(i,M,v,p){var u=d(i,M,v,p);if(u&&u[0].index!==!1){var a=u[0];if(a.index===void 0)return u;var c=i.subplot,s=a.cd[a.index],l=a.trace;if(c.isPtInside(s))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(s,l,c,a),a.hovertemplate=l.hovertemplate,u}},makeHoverPointText:g}},91271:function(x,o,t){x.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:t(23580),categories:["polar","symbols","showLegend","scatter-like"],attributes:t(81245),supplyDefaults:t(22184).supplyDefaults,colorbar:t(4898),formatLabels:t(98608),calc:t(26442),plot:t(45162),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(59150).hoverPoints,selectPoints:t(98002),meta:{}}},45162:function(x,o,t){var d=t(32663),g=t(50606).BADNUM;x.exports=function(i,M,v){for(var p=M.layers.frontplot.select("g.scatterlayer"),u=M.xaxis,a=M.yaxis,c={xaxis:u,yaxis:a,plot:M.framework,layerClipId:M._hasClipOnAxisFalse?M.clipIds.forTraces:null},s=M.radialAxis,l=M.angularAxis,h=0;h=u&&(A.marker.cluster=w.tree),A.marker&&(A.markerSel.positions=A.markerUnsel.positions=A.marker.positions=O),A.line&&O.length>1&&p.extendFlat(A.line,v.linePositions(a,C,O)),A.text&&(p.extendFlat(A.text,{positions:O},v.textPosition(a,C,A.text,A.marker)),p.extendFlat(A.textSel,{positions:O},v.textPosition(a,C,A.text,A.markerSel)),p.extendFlat(A.textUnsel,{positions:O},v.textPosition(a,C,A.text,A.markerUnsel))),A.fill&&!f.fill2d&&(f.fill2d=!0),A.marker&&!f.scatter2d&&(f.scatter2d=!0),A.line&&!f.line2d&&(f.line2d=!0),A.text&&!f.glText&&(f.glText=!0),f.lineOptions.push(A.line),f.fillOptions.push(A.fill),f.markerOptions.push(A.marker),f.markerSelectedOptions.push(A.markerSel),f.markerUnselectedOptions.push(A.markerUnsel),f.textOptions.push(A.text),f.textSelectedOptions.push(A.textSel),f.textUnselectedOptions.push(A.textUnsel),f.selectBatch.push([]),f.unselectBatch.push([]),w.x=I,w.y=R,w.rawx=I,w.rawy=R,w.r=E,w.theta=T,w.positions=O,w._scene=f,w.index=f.count,f.count++}}),i(a,c,s)}},x.exports.reglPrecompiled={}},48300:function(x,o,t){var d=t(5386).fF,g=t(5386).si,i=t(1426).extendFlat,M=t(82196),v=t(9012),p=M.line;x.exports={mode:M.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:M.text,texttemplate:g({editType:"plot"},{keys:["real","imag","text"]}),hovertext:M.hovertext,line:{color:p.color,width:p.width,dash:p.dash,backoff:p.backoff,shape:i({},p.shape,{values:["linear","spline"]}),smoothing:p.smoothing,editType:"calc"},connectgaps:M.connectgaps,marker:M.marker,cliponaxis:i({},M.cliponaxis,{dflt:!1}),textposition:M.textposition,textfont:M.textfont,fill:i({},M.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:M.fillcolor,hoverinfo:i({},v.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:M.hoveron,hovertemplate:d(),selected:M.selected,unselected:M.unselected}},30621:function(x,o,t){var d=t(92770),g=t(50606).BADNUM,i=t(36922),M=t(75225),v=t(66279),p=t(47761).calcMarkerSize;x.exports=function(u,a){for(var c=u._fullLayout,s=a.subplot,l=c[s].realaxis,h=c[s].imaginaryaxis,f=l.makeCalcdata(a,"real"),m=h.makeCalcdata(a,"imag"),_=a._length,y=new Array(_),C=0;C<_;C++){var w=f[C],k=m[C],E=y[C]={};d(w)&&d(k)?(E.real=w,E.imag=k):E.real=g}return p(a,_),i(u,a),M(y,a),v(y,a),y}},65269:function(x,o,t){var d=t(71828),g=t(34098),i=t(49508),M=t(11058),v=t(94039),p=t(82410),u=t(28908),a=t(47581).PTS_LINESONLY,c=t(48300);x.exports=function(s,l,h,f){function m(C,w){return d.coerce(s,l,c,C,w)}var _=function(C,w,k,E){var T,A=E("real"),L=E("imag");return A&&L&&(T=Math.min(A.length,L.length)),w._length=T,T}(0,l,0,m);if(_){m("mode",_")}}x.exports={hoverPoints:function(i,M,v,p){var u=d(i,M,v,p);if(u&&u[0].index!==!1){var a=u[0];if(a.index===void 0)return u;var c=i.subplot,s=a.cd[a.index],l=a.trace;if(c.isPtInside(s))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(s,l,c,a),a.hovertemplate=l.hovertemplate,u}},makeHoverPointText:g}},85956:function(x,o,t){x.exports={moduleType:"trace",name:"scattersmith",basePlotModule:t(7504),categories:["smith","symbols","showLegend","scatter-like"],attributes:t(48300),supplyDefaults:t(65269),colorbar:t(4898),formatLabels:t(62047),calc:t(30621),plot:t(12480),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(11350).hoverPoints,selectPoints:t(98002),meta:{}}},12480:function(x,o,t){var d=t(32663),g=t(50606).BADNUM,i=t(23893).smith;x.exports=function(M,v,p){for(var u=v.layers.frontplot.select("g.scatterlayer"),a=v.xaxis,c=v.yaxis,s={xaxis:a,yaxis:c,plot:v.framework,layerClipId:v._hasClipOnAxisFalse?v.clipIds.forTraces:null},l=0;l"),u.hovertemplate=f.hovertemplate,p}function E(T,A){w.push(T._hovertitle+": "+A)}}},52979:function(x,o,t){x.exports={attributes:t(50413),supplyDefaults:t(46008),colorbar:t(4898),formatLabels:t(93645),calc:t(54337),plot:t(7507),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(47250),selectPoints:t(98002),eventData:t(4524),moduleType:"trace",name:"scatterternary",basePlotModule:t(61639),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},7507:function(x,o,t){var d=t(32663);x.exports=function(g,i,M){var v=i.plotContainer;v.select(".scatterlayer").selectAll("*").remove();for(var p=i.xaxis,u=i.yaxis,a={xaxis:p,yaxis:u,plot:v,layerClipId:i._hasClipOnAxisFalse?i.clipIdRelative:null},c=i.layers.frontplot.select("g.scatterlayer"),s=0;ss?T.sizeAvg||Math.max(T.size,3):i(h,E),m=0;mO&&z||b-1,j=!0;if(M(T)||_.selectedpoints||q){var Y=_._length;if(_.selectedpoints){C.selectBatch=_.selectedpoints;var U=_.selectedpoints,G={};for(s=0;s1&&(m=k[A-1],y=E[A-1],w=T[A-1]),u=0;um?"-":"+")+"x")).replace("y",(_>y?"-":"+")+"y")).replace("z",(C>w?"-":"+")+"z");var j=function(){A=0,B=[],N=[],q=[]};(!A||A2?f.slice(1,m-1):m===2?[(f[0]+f[1])/2]:f}function l(f){var m=f.length;return m===1?[.5,.5]:[f[1]-f[0],f[m-1]-f[m-2]]}function h(f,m){var _=f.fullSceneLayout,y=f.dataScale,C=m._len,w={};function k(te,Z){var X=_[Z],Q=y[u[Z]];return i.simpleMap(te,function(re){return X.d2l(re)*Q})}if(w.vectors=p(k(m._u,"xaxis"),k(m._v,"yaxis"),k(m._w,"zaxis"),C),!C)return{positions:[],cells:[]};var E=k(m._Xs,"xaxis"),T=k(m._Ys,"yaxis"),A=k(m._Zs,"zaxis");if(w.meshgrid=[E,T,A],w.gridFill=m._gridFill,m._slen)w.startingPositions=p(k(m._startsX,"xaxis"),k(m._startsY,"yaxis"),k(m._startsZ,"zaxis"));else{for(var L=T[0],b=s(E),O=s(A),I=new Array(b.length*O.length),R=0,z=0;z=0};L?(_=Math.min(A.length,O.length),y=function(ue){return N(A[ue])&&q(ue)},C=function(ue){return String(A[ue])}):(_=Math.min(b.length,O.length),y=function(ue){return N(b[ue])&&q(ue)},C=function(ue){return String(b[ue])}),R&&(_=Math.min(_,I.length));for(var j=0;j<_;j++)if(y(j)){var Y=C(j),U=N(O[j])?String(O[j]):"",G={i:j,id:Y,pid:U,label:N(b[j])?String(b[j]):""};R&&(G.v=+I[j]),z.push(G),k=Y,F[w=U]?F[w].push(k):F[w]=[k],B[k]=1}if(F[""]){if(F[""].length>1){for(var W=i.randstr(),H=0;H>>8*k)%256/255}function f(w,k,E){for(var T=new Array(8*k),A=0,L=0;Lie&&(ie=W[te].dim1.canvasX,X=te);Q===0&&c(R,0,0,E.canvasWidth,E.canvasHeight);var oe=function(Me){var Se,Ce,ae,he=[[],[]];for(ae=0;ae<64;ae++){var be=!Me&&aeoe._length&&(Pe=Pe.slice(0,oe._length));var _e,Me=oe.tickvals;function Se(ke,Le){return{val:ke,text:_e[Le]}}function Ce(ke,Le){return ke.val-Le.val}if(Array.isArray(Me)&&Me.length){_e=oe.ticktext,Array.isArray(_e)&&_e.length?_e.length>Me.length?_e=_e.slice(0,Me.length):Me.length>_e.length&&(Me=Me.slice(0,_e.length)):_e=Me.map(i(oe.tickformat));for(var ae=1;ae=Be||we>=ze)return;var Ee=ke.lineLayer.readPixel(ge,ze-1-we),Ve=Ee[3]!==0,Ye=Ve?Ee[2]+256*(Ee[1]+256*Ee[0]):null,$e={x:ge,y:we,clientX:Le.clientX,clientY:Le.clientY,dataIndex:ke.model.key,curveNumber:Ye};Ye!==ye&&(Ve?W.hover($e):W.unhover&&W.unhover($e),ye=Ye)}}),ce.style("opacity",function(ke){return ke.pick?0:1}),te.style("background","rgba(255, 255, 255, 0)");var de=te.selectAll("."+y.cn.parcoords).data(ue,h);de.exit().remove(),de.enter().append("g").classed(y.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),de.attr("transform",function(ke){return u(ke.model.translateX,ke.model.translateY)});var me=de.selectAll("."+y.cn.parcoordsControlView).data(f,h);me.enter().append("g").classed(y.cn.parcoordsControlView,!0),me.attr("transform",function(ke){return u(ke.model.pad.l,ke.model.pad.t)});var pe=me.selectAll("."+y.cn.yAxis).data(function(ke){return ke.dimensions},h);pe.enter().append("g").classed(y.cn.yAxis,!0),me.each(function(ke){N(pe,ke,X)}),ce.each(function(ke){if(ke.viewModel){!ke.lineLayer||W?ke.lineLayer=w(this,ke):ke.lineLayer.update(ke),(ke.key||ke.key===0)&&(ke.viewModel[ke.key]=ke.lineLayer);var Le=!ke.context||W;ke.lineLayer.render(ke.viewModel.panels,Le)}}),pe.attr("transform",function(ke){return u(ke.xScale(ke.xIndex),0)}),pe.call(d.behavior.drag().origin(function(ke){return ke}).on("drag",function(ke){var Le=ke.parent;oe.linePickActive(!1),ke.x=Math.max(-y.overdrag,Math.min(ke.model.width+y.overdrag,d.event.x)),ke.canvasX=ke.x*ke.model.canvasPixelRatio,pe.sort(function(Be,ze){return Be.x-ze.x}).each(function(Be,ze){Be.xIndex=ze,Be.x=ke===Be?Be.x:Be.xScale(Be.xIndex),Be.canvasX=Be.x*Be.model.canvasPixelRatio}),N(pe,Le,X),pe.filter(function(Be){return Math.abs(ke.xIndex-Be.xIndex)!==0}).attr("transform",function(Be){return u(Be.xScale(Be.xIndex),0)}),d.select(this).attr("transform",u(ke.x,0)),pe.each(function(Be,ze,je){je===ke.parent.key&&(Le.dimensions[ze]=Be)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer.render&&Le.focusLayer.render(Le.panels)}).on("dragend",function(ke){var Le=ke.parent;ke.x=ke.xScale(ke.xIndex),ke.canvasX=ke.x*ke.model.canvasPixelRatio,N(pe,Le,X),d.select(this).attr("transform",function(Be){return u(Be.x,0)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer&&Le.focusLayer.render(Le.panels),Le.pickLayer&&Le.pickLayer.render(Le.panels,!0),oe.linePickActive(!0),W&&W.axesMoved&&W.axesMoved(Le.key,Le.dimensions.map(function(Be){return Be.crossfilterDimensionIndex}))})),pe.exit().remove();var xe=pe.selectAll("."+y.cn.axisOverlays).data(f,h);xe.enter().append("g").classed(y.cn.axisOverlays,!0),xe.selectAll("."+y.cn.axis).remove();var Pe=xe.selectAll("."+y.cn.axis).data(f,h);Pe.enter().append("g").classed(y.cn.axis,!0),Pe.each(function(ke){var Le=ke.model.height/ke.model.tickDistance,Be=ke.domainScale,ze=Be.domain();d.select(this).call(d.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(Le,ke.tickFormat).tickValues(ke.ordinal?ze:null).tickFormat(function(je){return _.isOrdinal(ke)?je:q(ke.model.dimensions[ke.visibleIndex],je)}).scale(Be)),c.font(Pe.selectAll("text"),ke.model.tickFont)}),Pe.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),Pe.selectAll("text").style("text-shadow",a.makeTextShadow(Q)).style("cursor","default");var _e=xe.selectAll("."+y.cn.axisHeading).data(f,h);_e.enter().append("g").classed(y.cn.axisHeading,!0);var Me=_e.selectAll("."+y.cn.axisTitle).data(f,h);Me.enter().append("text").classed(y.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",H?"none":"auto"),Me.text(function(ke){return ke.label}).each(function(ke){var Le=d.select(this);c.font(Le,ke.model.labelFont),a.convertToTspans(Le,Y)}).attr("transform",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide),Be=y.axisTitleOffset;return(Le.dir>0?"":u(0,2*Be+ke.model.height))+p(Le.degrees)+u(-Be*Le.dx,-Be*Le.dy)}).attr("text-anchor",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide);return 2*Math.abs(Le.dx)>Math.abs(Le.dy)?Le.dir*Le.dx<0?"start":"end":"middle"});var Se=xe.selectAll("."+y.cn.axisExtent).data(f,h);Se.enter().append("g").classed(y.cn.axisExtent,!0);var Ce=Se.selectAll("."+y.cn.axisExtentTop).data(f,h);Ce.enter().append("g").classed(y.cn.axisExtentTop,!0),Ce.attr("transform",u(0,-y.axisExtentOffset));var ae=Ce.selectAll("."+y.cn.axisExtentTopText).data(f,h);ae.enter().append("text").classed(y.cn.axisExtentTopText,!0).call(F),ae.text(function(ke){return j(ke,!0)}).each(function(ke){c.font(d.select(this),ke.model.rangeFont)});var he=Se.selectAll("."+y.cn.axisExtentBottom).data(f,h);he.enter().append("g").classed(y.cn.axisExtentBottom,!0),he.attr("transform",function(ke){return u(0,ke.model.height+y.axisExtentOffset)});var be=he.selectAll("."+y.cn.axisExtentBottomText).data(f,h);be.enter().append("text").classed(y.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(F),be.text(function(ke){return j(ke,!1)}).each(function(ke){c.font(d.select(this),ke.model.rangeFont)}),C.ensureAxisBrush(xe,Q,Y)}},21341:function(x,o,t){var d=t(17171),v=t(79749),i=t(1602).isVisible,M={};function g(p,u,a){var c=u.indexOf(a),s=p.indexOf(c);return s===-1&&(s+=u.length),s}(x.exports=function(p,u){var a=p._fullLayout;if(v(p,[],M)){var c={},s={},l={},h={},f=a._size;u.forEach(function(m,_){var y=m[0].trace;l[_]=y.index;var C=h[_]=y._fullInput.index;c[_]=p.data[C].dimensions,s[_]=p.data[C].dimensions.slice()}),d(p,u,{width:f.w,height:f.h,margin:{t:f.t,r:f.r,b:f.b,l:f.l}},{filterChanged:function(m,_,y){var C=s[m][_],w=y.map(function(b){return b.slice()}),k="dimensions["+_+"].constraintrange",E=a._tracePreGUI[p._fullData[l[m]]._fullInput.uid];if(E[k]===void 0){var T=C.constraintrange;E[k]=T||null}var A=p._fullData[l[m]].dimensions[_];w.length?(w.length===1&&(w=w[0]),C.constraintrange=w,A.constraintrange=w.slice(),w=[w]):(delete C.constraintrange,delete A.constraintrange,w=null);var L={};L[k]=w,p.emit("plotly_restyle",[L,[h[m]]])},hover:function(m){p.emit("plotly_hover",m)},unhover:function(m){p.emit("plotly_unhover",m)},axesMoved:function(m,_){var y=function(C,w){return function(k,E){return g(C,w,k)-g(C,w,E)}}(_,s[m].filter(i));c[m].sort(y),s[m].filter(function(C){return!i(C)}).sort(function(C){return s[m].indexOf(C)}).forEach(function(C){c[m].splice(c[m].indexOf(C),1),c[m].splice(s[m].indexOf(C),0,C)}),p.emit("plotly_restyle",[{dimensions:[c[m]]},[h[m]]])}})}}).reglPrecompiled=M},34e3:function(x,o,t){var d=t(9012),v=t(27670).Y,i=t(41940),M=t(22399),g=t(5386).fF,p=t(5386).si,u=t(1426).extendFlat,a=i({editType:"plot",arrayOk:!0,colorEditType:"plot"});x.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:M.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},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({},d.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:g({},{keys:["label","color","value","percent","text"]}),texttemplate:p({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:u({},a,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:u({},a,{}),outsidetextfont:u({},a,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:u({},a,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:v({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({},a,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},13584:function(x,o,t){var d=t(74875);o.name="pie",o.plot=function(v,i,M,g){d.plotBasePlot(o.name,v,i,M,g)},o.clean=function(v,i,M,g){d.cleanBasePlot(o.name,v,i,M,g)}},32354:function(x,o,t){var d=t(92770),v=t(84267),i=t(7901),M={};function g(u){return function(a,c){return!!a&&!!(a=v(a)).isValid()&&(a=i.addOpacity(a,a.getAlpha()),u[c]||(u[c]=a),a)}}function p(u,a){var c,s=JSON.stringify(u),l=a[s];if(!l){for(l=u.slice(),c=0;c=0}),(a.type==="funnelarea"?A:a.sort)&&l.sort(function(R,z){return z.v-R.v}),l[0]&&(l[0].vTotal=T),l},crossTraceCalc:function(u,a){var c=(a||{}).type;c||(c="pie");var s=u._fullLayout,l=u.calcdata,h=s[c+"colorway"],f=s["_"+c+"colormap"];s["extend"+c+"colors"]&&(h=p(h,M));for(var m=0,_=0;_0){h=!0;break}}h||(l=0)}return{hasLabels:c,hasValues:s,len:l}}x.exports={handleLabelsAndValues:p,supplyDefaults:function(u,a,c,s){function l(E,T){return v.coerce(u,a,i,E,T)}var h=p(l("labels"),l("values")),f=h.len;if(a._hasLabels=h.hasLabels,a._hasValues=h.hasValues,!a._hasLabels&&a._hasValues&&(l("label0"),l("dlabel")),f){a._length=f,l("marker.line.width")&&l("marker.line.color"),l("marker.colors"),l("scalegroup");var m,_=l("text"),y=l("texttemplate");if(y||(m=l("textinfo",Array.isArray(_)?"text+percent":"percent")),l("hovertext"),l("hovertemplate"),y||m&&m!=="none"){var C=l("textposition");g(u,a,s,l,C,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(C)||C==="auto"||C==="outside")&&l("automargin"),(C==="inside"||C==="auto"||Array.isArray(C))&&l("insidetextorientation")}M(a,s,l);var w=l("hole");if(l("title.text")){var k=l("title.position",w?"middle center":"top center");w||k!=="middle center"||(a.title.position="top center"),v.coerceFont(l,"title.font",s.font)}l("sort"),l("direction"),l("rotation"),l("pull")}else a.visible=!1}}},20007:function(x,o,t){var d=t(23469).appendArrayMultiPointValues;x.exports=function(v,i){var M={curveNumber:i.index,pointNumbers:v.pts,data:i._input,fullData:i,label:v.label,color:v.color,value:v.v,percent:v.percent,text:v.text,bbox:v.bbox,v:v.v};return v.pts.length===1&&(M.pointNumber=M.i=v.pts[0]),d(M,i,v.pts),i.type==="funnelarea"&&(delete M.v,delete M.i),M}},53581:function(x,o,t){var d=t(71828);function v(i){return i.indexOf("e")!==-1?i.replace(/[.]?0+e/,"e"):i.indexOf(".")!==-1?i.replace(/[.]?0+$/,""):i}o.formatPiePercent=function(i,M){var g=v((100*i).toPrecision(3));return d.numSeparate(g,M)+"%"},o.formatPieValue=function(i,M){var g=v(i.toPrecision(10));return d.numSeparate(g,M)},o.getFirstFilled=function(i,M){if(Array.isArray(i))for(var g=0;g"),name:ie.hovertemplate||oe.indexOf("name")!==-1?ie.name:void 0,idealAlign:Q.pxmid[0]<0?"left":"right",color:m.castOption(xe.bgcolor,Q.pts)||Q.color,borderColor:m.castOption(xe.bordercolor,Q.pts),fontFamily:m.castOption(Pe.family,Q.pts),fontSize:m.castOption(Pe.size,Q.pts),fontColor:m.castOption(Pe.color,Q.pts),nameLength:m.castOption(xe.namelength,Q.pts),textAlign:m.castOption(xe.align,Q.pts),hovertemplate:m.castOption(ie.hovertemplate,Q.pts),hovertemplateLabels:Q,eventData:[_(Q,ie)]},{container:re._hoverlayer.node(),outerContainer:re._paper.node(),gd:G,inOut_bbox:_e}),Q.bbox=_e[0],Z._hasHoverLabel=!0}Z._hasHoverEvent=!0,G.emit("plotly_hover",{points:[_(Q,ie)],event:d.event})}}),U.on("mouseout",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index],oe=d.select(this).datum();Z._hasHoverEvent&&(Q.originalEvent=d.event,G.emit("plotly_unhover",{points:[_(oe,ie)],event:d.event}),Z._hasHoverEvent=!1),Z._hasHoverLabel&&(i.loneUnhover(re._hoverlayer.node()),Z._hasHoverLabel=!1)}),U.on("click",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index];G._dragging||re.hovermode===!1||(G._hoverdata=[_(Q,ie)],i.click(G,d.event))})}function w(U,G,W){var H=m.castOption(U.insidetextfont.color,G.pts);!H&&U._input.textfont&&(H=m.castOption(U._input.textfont.color,G.pts));var ne=m.castOption(U.insidetextfont.family,G.pts)||m.castOption(U.textfont.family,G.pts)||W.family,te=m.castOption(U.insidetextfont.size,G.pts)||m.castOption(U.textfont.size,G.pts)||W.size;return{color:H||M.contrast(G.color),family:ne,size:te}}function k(U,G){for(var W,H,ne=0;neBe&&Be>je||ze=-4;me-=2)pe(Math.PI*me,"tan");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1),"tan")}if(oe||ce){for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1.5),"rad");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+.5),"rad")}}if(X||ye||oe){var xe=Math.sqrt(U.width*U.width+U.height*U.height);if((te={scale:ne*H*2/xe,rCenter:1-ne,rotate:0}).textPosAngle=(G.startangle+G.stopangle)/2,te.scale>=1)return te;de.push(te)}(ye||ce)&&((te=T(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te)),(ye||ue)&&((te=A(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te));for(var Pe=0,_e=0,Me=0;Me=1)break}return de[Pe]}function T(U,G,W,H,ne){G=Math.max(0,G-2*f);var te=U.width/U.height,Z=O(te,H,G,W);return{scale:2*Z/U.height,rCenter:L(te,Z/G),rotate:b(ne)}}function A(U,G,W,H,ne){G=Math.max(0,G-2*f);var te=U.height/U.width,Z=O(te,H,G,W);return{scale:2*Z/U.width,rCenter:L(te,Z/G),rotate:b(ne+Math.PI/2)}}function L(U,G){return Math.cos(G)-U*G}function b(U){return(180/Math.PI*U+720)%180-90}function O(U,G,W,H){var ne=U+1/(2*Math.tan(G));return W*Math.min(1/(Math.sqrt(ne*ne+.5)+ne),H/(Math.sqrt(U*U+H/2)+U))}function I(U,G){return U.v!==G.vTotal||G.trace.hole?Math.min(1/(1+1/Math.sin(U.halfangle)),U.ring/2):1}function R(U,G){var W=G.pxmid[0],H=G.pxmid[1],ne=U.width/2,te=U.height/2;return W<0&&(ne*=-1),H<0&&(te*=-1),{scale:1,rCenter:1,rotate:0,x:ne+Math.abs(te)*(ne>0?1:-1)/2,y:te/(1+W*W/(H*H)),outside:!0}}function z(U,G){var W,H,ne,te=U.trace,Z={x:U.cx,y:U.cy},X={tx:0,ty:0};X.ty+=te.title.font.size,ne=B(te),te.title.position.indexOf("top")!==-1?(Z.y-=(1+ne)*U.r,X.ty-=U.titleBox.height):te.title.position.indexOf("bottom")!==-1&&(Z.y+=(1+ne)*U.r);var Q,re=U.r/((Q=U.trace.aspectratio)===void 0?1:Q),ie=G.w*(te.domain.x[1]-te.domain.x[0])/2;return te.title.position.indexOf("left")!==-1?(ie+=re,Z.x-=(1+ne)*re,X.tx+=U.titleBox.width/2):te.title.position.indexOf("center")!==-1?ie*=2:te.title.position.indexOf("right")!==-1&&(ie+=re,Z.x+=(1+ne)*re,X.tx-=U.titleBox.width/2),W=ie/U.titleBox.width,H=F(U,G)/U.titleBox.height,{x:Z.x,y:Z.y,scale:Math.min(W,H),tx:X.tx,ty:X.ty}}function F(U,G){var W=U.trace,H=G.h*(W.domain.y[1]-W.domain.y[0]);return Math.min(U.titleBox.height,H/2)}function B(U){var G,W=U.pull;if(!W)return 0;if(Array.isArray(W))for(W=0,G=0;GW&&(W=U.pull[G]);return W}function N(U,G){for(var W=[],H=0;H1?Me=(_e=ce.r)/de.aspectratio:_e=(Me=ce.r)*de.aspectratio,Pe=(_e*=(1+de.baseratio)/2)*Me}pe=Math.min(pe,Pe/ce.vTotal)}for(ye=0;ye")}if(te){var me=p.castOption(ne,G.i,"texttemplate");if(me){var pe=function(Pe){return{label:Pe.label,value:Pe.v,valueLabel:m.formatPieValue(Pe.v,H.separators),percent:Pe.v/W.vTotal,percentLabel:m.formatPiePercent(Pe.v/W.vTotal,H.separators),color:Pe.color,text:Pe.text,customdata:p.castOption(ne,Pe.i,"customdata")}}(G),xe=m.getFirstFilled(ne.text,G.pts);(y(xe)||xe==="")&&(pe.text=xe),G.text=p.texttemplateString(me,pe,U._fullLayout._d3locale,pe,ne._meta||{})}else G.text=""}}function Y(U,G){var W=U.rotate*Math.PI/180,H=Math.cos(W),ne=Math.sin(W),te=(G.left+G.right)/2,Z=(G.top+G.bottom)/2;U.textX=te*H-Z*ne,U.textY=te*ne+Z*H,U.noCenter=!0}x.exports={plot:function(U,G){var W=U._context.staticPlot,H=U._fullLayout,ne=H._size;h("pie",H),k(G,U),N(G,ne);var te=p.makeTraceGroups(H._pielayer,G,"trace").each(function(Z){var X=d.select(this),Q=Z[0],re=Q.trace;(function(ie){var oe,ue,ce,ye=ie[0],de=ye.r,me=ye.trace,pe=m.getRotationAngle(me.rotation),xe=2*Math.PI/ye.vTotal,Pe="px0",_e="px1";if(me.direction==="counterclockwise"){for(oe=0;oeye.vTotal/2?1:0,ue.halfangle=Math.PI*Math.min(ue.v/ye.vTotal,.5),ue.ring=1-me.hole,ue.rInscribed=I(ue,ye))})(Z),X.attr("stroke-linejoin","round"),X.each(function(){var ie=d.select(this).selectAll("g.slice").data(Z);ie.enter().append("g").classed("slice",!0),ie.exit().remove();var oe=[[[],[]],[[],[]]],ue=!1;ie.each(function(_e,Me){if(_e.hidden)d.select(this).selectAll("path,g").remove();else{_e.pointNumber=_e.i,_e.curveNumber=re.index,oe[_e.pxmid[1]<0?0:1][_e.pxmid[0]<0?0:1].push(_e);var Se=Q.cx,Ce=Q.cy,ae=d.select(this),he=ae.selectAll("path.surface").data([_e]);if(he.enter().append("path").classed("surface",!0).style({"pointer-events":W?"none":"all"}),ae.call(C,U,Z),re.pull){var be=+m.castOption(re.pull,_e.pts)||0;be>0&&(Se+=be*_e.pxmid[0],Ce+=be*_e.pxmid[1])}_e.cxFinal=Se,_e.cyFinal=Ce;var ke=re.hole;if(_e.v===Q.vTotal){var Le="M"+(Se+_e.px0[0])+","+(Ce+_e.px0[1])+we(_e.px0,_e.pxmid,!0,1)+we(_e.pxmid,_e.px0,!0,1)+"Z";ke?he.attr("d","M"+(Se+ke*_e.px0[0])+","+(Ce+ke*_e.px0[1])+we(_e.px0,_e.pxmid,!1,ke)+we(_e.pxmid,_e.px0,!1,ke)+"Z"+Le):he.attr("d",Le)}else{var Be=we(_e.px0,_e.px1,!0,1);if(ke){var ze=1-ke;he.attr("d","M"+(Se+ke*_e.px1[0])+","+(Ce+ke*_e.px1[1])+we(_e.px1,_e.px0,!1,ke)+"l"+ze*_e.px0[0]+","+ze*_e.px0[1]+Be+"Z")}else he.attr("d","M"+Se+","+Ce+"l"+_e.px0[0]+","+_e.px0[1]+Be+"Z")}j(U,_e,Q);var je=m.castOption(re.textposition,_e.pts),ge=ae.selectAll("g.slicetext").data(_e.text&&je!=="none"?[0]:[]);ge.enter().append("g").classed("slicetext",!0),ge.exit().remove(),ge.each(function(){var Ee=p.ensureSingle(d.select(this),"text","",function(Et){Et.attr("data-notex",1)}),Ve=p.ensureUniformFontSize(U,je==="outside"?function(Et,kt,xt){return{color:m.castOption(Et.outsidetextfont.color,kt.pts)||m.castOption(Et.textfont.color,kt.pts)||xt.color,family:m.castOption(Et.outsidetextfont.family,kt.pts)||m.castOption(Et.textfont.family,kt.pts)||xt.family,size:m.castOption(Et.outsidetextfont.size,kt.pts)||m.castOption(Et.textfont.size,kt.pts)||xt.size}}(re,_e,H.font):w(re,_e,H.font));Ee.text(_e.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(g.font,Ve).call(c.convertToTspans,U);var Ye,$e=g.bBox(Ee.node());if(je==="outside")Ye=R($e,_e);else if(Ye=E($e,_e,Q),je==="auto"&&Ye.scale<1){var st=p.ensureUniformFontSize(U,re.outsidetextfont);Ee.call(g.font,st),Ye=R($e=g.bBox(Ee.node()),_e)}var ot=Ye.textPosAngle,ft=ot===void 0?_e.pxmid:q(Q.r,ot);if(Ye.targetX=Se+ft[0]*Ye.rCenter+(Ye.x||0),Ye.targetY=Ce+ft[1]*Ye.rCenter+(Ye.y||0),Y(Ye,$e),Ye.outside){var bt=Ye.targetY;_e.yLabelMin=bt-$e.height/2,_e.yLabelMid=bt,_e.yLabelMax=bt+$e.height/2,_e.labelExtraX=0,_e.labelExtraY=0,ue=!0}Ye.fontSize=Ve.size,l(re.type,Ye,H),Z[Me].transform=Ye,p.setTransormAndDisplay(Ee,Ye)})}function we(Ee,Ve,Ye,$e){var st=$e*(Ve[0]-Ee[0]),ot=$e*(Ve[1]-Ee[1]);return"a"+$e*Q.r+","+$e*Q.r+" 0 "+_e.largeArc+(Ye?" 1 ":" 0 ")+st+","+ot}});var ce=d.select(this).selectAll("g.titletext").data(re.title.text?[0]:[]);if(ce.enter().append("g").classed("titletext",!0),ce.exit().remove(),ce.each(function(){var _e,Me=p.ensureSingle(d.select(this),"text","",function(Ce){Ce.attr("data-notex",1)}),Se=re.title.text;re._meta&&(Se=p.templateString(Se,re._meta)),Me.text(Se).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(g.font,re.title.font).call(c.convertToTspans,U),_e=re.title.position==="middle center"?function(Ce){var ae=Math.sqrt(Ce.titleBox.width*Ce.titleBox.width+Ce.titleBox.height*Ce.titleBox.height);return{x:Ce.cx,y:Ce.cy,scale:Ce.trace.hole*Ce.r*2/ae,tx:0,ty:-Ce.titleBox.height/2+Ce.trace.title.font.size}}(Q):z(Q,ne),Me.attr("transform",a(_e.x,_e.y)+u(Math.min(1,_e.scale))+a(_e.tx,_e.ty))}),ue&&function(_e,Me){var Se,Ce,ae,he,be,ke,Le,Be,ze,je,ge,we,Ee;function Ve(ot,ft){return ot.pxmid[1]-ft.pxmid[1]}function Ye(ot,ft){return ft.pxmid[1]-ot.pxmid[1]}function $e(ot,ft){ft||(ft={});var bt,Et,kt,xt,Ft=ft.labelExtraY+(Ce?ft.yLabelMax:ft.yLabelMin),Dt=Ce?ot.yLabelMin:ot.yLabelMax,Bt=Ce?ot.yLabelMax:ot.yLabelMin,Wt=ot.cyFinal+be(ot.px0[1],ot.px1[1]),Vt=Ft-Dt;if(Vt*Le>0&&(ot.labelExtraY=Vt),Array.isArray(Me.pull))for(Et=0;Et=(m.castOption(Me.pull,kt.pts)||0)||((ot.pxmid[1]-kt.pxmid[1])*Le>0?(Vt=kt.cyFinal+be(kt.px0[1],kt.px1[1])-Dt-ot.labelExtraY)*Le>0&&(ot.labelExtraY+=Vt):(Bt+ot.labelExtraY-Wt)*Le>0&&(bt=3*ke*Math.abs(Et-je.indexOf(ot)),(xt=kt.cxFinal+he(kt.px0[0],kt.px1[0])+bt-(ot.cxFinal+ot.pxmid[0])-ot.labelExtraX)*ke>0&&(ot.labelExtraX+=xt)))}for(Ce=0;Ce<2;Ce++)for(ae=Ce?Ve:Ye,be=Ce?Math.max:Math.min,Le=Ce?1:-1,Se=0;Se<2;Se++){for(he=Se?Math.max:Math.min,ke=Se?1:-1,(Be=_e[Ce][Se]).sort(ae),ze=_e[1-Ce][Se],je=ze.concat(Be),we=[],ge=0;geMath.abs(Be)?be+="l"+Be*Se.pxmid[0]/Se.pxmid[1]+","+Be+"H"+(he+Se.labelExtraX+ke):be+="l"+Se.labelExtraX+","+Le+"v"+(Be-Le)+"h"+ke}else be+="V"+(Se.yLabelMid+Se.labelExtraY)+"h"+ke;p.ensureSingle(Ce,"path","textline").call(M.stroke,Me.outsidetextfont.color).attr({"stroke-width":Math.min(2,Me.outsidetextfont.size/8),d:be,fill:"none"})}else Ce.select("path.textline").remove()})}(ie,re),ue&&re.automargin){var ye=g.bBox(X.node()),de=re.domain,me=ne.w*(de.x[1]-de.x[0]),pe=ne.h*(de.y[1]-de.y[0]),xe=(.5*me-Q.r)/ne.w,Pe=(.5*pe-Q.r)/ne.h;v.autoMargin(U,"pie."+re.uid+".automargin",{xl:de.x[0]-xe,xr:de.x[1]+xe,yb:de.y[0]-Pe,yt:de.y[1]+Pe,l:Math.max(Q.cx-Q.r-ye.left,0),r:Math.max(ye.right-(Q.cx+Q.r),0),b:Math.max(ye.bottom-(Q.cy+Q.r),0),t:Math.max(Q.cy-Q.r-ye.top,0),pad:5})}})});setTimeout(function(){te.selectAll("tspan").each(function(){var Z=d.select(this);Z.attr("dy")&&Z.attr("dy",Z.attr("dy"))})},0)},formatSliceLabel:j,transformInsideText:E,determineInsideTextFont:w,positionTitleOutside:z,prerenderTitles:k,layoutAreas:N,attachFxHandlers:C,computeTransform:Y}},68357:function(x,o,t){var d=t(39898),v=t(63463),i=t(72597).resizeText;x.exports=function(M){var g=M._fullLayout._pielayer.selectAll(".trace");i(M,g,"pie"),g.each(function(p){var u=p[0].trace,a=d.select(this);a.style({opacity:u.opacity}),a.selectAll("path.surface").each(function(c){d.select(this).call(v,c,u)})})}},63463:function(x,o,t){var d=t(7901),v=t(53581).castOption;x.exports=function(i,M,g){var p=g.marker.line,u=v(p.color,M.pts)||d.defaultLine,a=v(p.width,M.pts)||0;i.style("stroke-width",a).call(d.fill,M.color).call(d.stroke,u)}},10959:function(x,o,t){var d=t(82196);x.exports={x:d.x,y:d.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:d.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}},42743:function(x,o,t){var d=t(9330).gl_pointcloud2d,v=t(78614),i=t(71739).findExtremes,M=t(34603);function g(u,a){this.scene=u,this.uid=a,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=d(u.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var p=g.prototype;p.handlePick=function(u){var a=this.idToIndex[u.pointId];return{trace:this,dataCoord:u.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*a],this.pickXYData[2*a+1]]:[this.pickXData[a],this.pickYData[a]],textLabel:Array.isArray(this.textLabels)?this.textLabels[a]:this.textLabels,color:this.color,name:this.name,pointIndex:a,hoverinfo:this.hoverinfo}},p.update=function(u){this.index=u.index,this.textLabels=u.text,this.name=u.name,this.hoverinfo=u.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(u),this.color=M(u,{})},p.updateFast=function(u){var a,c,s,l,h,f,m=this.xData=this.pickXData=u.x,_=this.yData=this.pickYData=u.y,y=this.pickXYData=u.xy,C=u.xbounds&&u.ybounds,w=u.indices,k=this.bounds;if(y){if(s=y,a=y.length>>>1,C)k[0]=u.xbounds[0],k[2]=u.xbounds[1],k[1]=u.ybounds[0],k[3]=u.ybounds[1];else for(f=0;fk[2]&&(k[2]=l),hk[3]&&(k[3]=h);if(w)c=w;else for(c=new Int32Array(a),f=0;fk[2]&&(k[2]=l),hk[3]&&(k[3]=h);this.idToIndex=c,this.pointcloudOptions.idToIndex=c,this.pointcloudOptions.positions=s;var E=v(u.marker.color),T=v(u.marker.border.color),A=u.opacity*u.marker.opacity;E[3]*=A,this.pointcloudOptions.color=E;var L=u.marker.blend;L===null&&(L=m.length<100||_.length<100),this.pointcloudOptions.blend=L,T[3]*=A,this.pointcloudOptions.borderColor=T;var b=u.marker.sizemin,O=Math.max(u.marker.sizemax,u.marker.sizemin);this.pointcloudOptions.sizeMin=b,this.pointcloudOptions.sizeMax=O,this.pointcloudOptions.areaRatio=u.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var I=this.scene.xaxis,R=this.scene.yaxis,z=O/2||.5;u._extremes[I._id]=i(I,[k[0],k[2]],{ppad:z}),u._extremes[R._id]=i(R,[k[1],k[3]],{ppad:z})},p.dispose=function(){this.pointcloud.dispose()},x.exports=function(u,a){var c=new g(u,a.uid);return c.update(a),c}},33876:function(x,o,t){var d=t(71828),v=t(10959);x.exports=function(i,M,g){function p(u,a){return d.coerce(i,M,v,u,a)}p("x"),p("y"),p("xbounds"),p("ybounds"),i.xy&&i.xy instanceof Float32Array&&(M.xy=i.xy),i.indices&&i.indices instanceof Int32Array&&(M.indices=i.indices),p("text"),p("marker.color",g),p("marker.opacity"),p("marker.blend"),p("marker.sizemin"),p("marker.sizemax"),p("marker.border.color",g),p("marker.border.arearatio"),M._length=null}},20593:function(x,o,t){x.exports={attributes:t(10959),supplyDefaults:t(33876),calc:t(36563),plot:t(42743),moduleType:"trace",name:"pointcloud",basePlotModule:t(4796),categories:["gl","gl2d","showLegend"],meta:{}}},39953:function(x,o,t){var d=t(41940),v=t(9012),i=t(22399),M=t(77914),g=t(27670).Y,p=t(5386).fF,u=t(50693),a=t(44467).templatedArray,c=t(12663).descriptionOnlyNumbers,s=t(1426).extendFlat,l=t(30962).overrideAll;(x.exports=l({hoverinfo:s({},v.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:M.hoverlabel,domain:g({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h"},valueformat:{valType:"string",dflt:".3s",description:c("value")},valuesuffix:{valType:"string",dflt:""},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap"},textfont:d({}),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:i.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:M.hoverlabel,hovertemplate:p({},{keys:["value","label"]})},link:{arrowlen:{valType:"number",min:0,dflt:0},label:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.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:M.hoverlabel,hovertemplate:p({},{keys:["value","label"]}),colorscales:a("concentrationscales",{editType:"calc",label:{valType:"string",editType:"calc",dflt:""},cmax:{valType:"number",editType:"calc",dflt:1},cmin:{valType:"number",editType:"calc",dflt:0},colorscale:s(u().colorscale,{dflt:[[0,"white"],[1,"black"]]})})}},"calc","nested")).transforms=void 0},75536:function(x,o,t){var d=t(30962).overrideAll,v=t(27659).a0,i=t(60436),M=t(528),g=t(6964),p=t(28569),u=t(47322).prepSelect,a=t(71828),c=t(73972),s="sankey";function l(h,f){var m=h._fullData[f],_=h._fullLayout,y=_.dragmode,C=_.dragmode==="pan"?"move":"crosshair",w=m._bgRect;if(w&&y!=="pan"&&y!=="zoom"){g(w,C);var k={_id:"x",c2p:a.identity,_offset:m._sankey.translateX,_length:m._sankey.width},E={_id:"y",c2p:a.identity,_offset:m._sankey.translateY,_length:m._sankey.height},T={gd:h,element:w.node(),plotinfo:{id:f,xaxis:k,yaxis:E,fillRangeItems:a.noop},subplot:f,xaxes:[k],yaxes:[E],doneFnCompleted:function(A){var L,b=h._fullData[f],O=b.node.groups.slice(),I=[];function R(N){for(var q=b._sankey.graph.nodes,j=0;jL&&(L=f.source[l]),f.target[l]>L&&(L=f.target[l]);var b,O=L+1;s.node._count=O;var I=s.node.groups,R={};for(l=0;l0&&g(j,O)&&g(Y,O)&&(!R.hasOwnProperty(j)||!R.hasOwnProperty(Y)||R[j]!==R[Y])){R.hasOwnProperty(Y)&&(Y=R[Y]),R.hasOwnProperty(j)&&(j=R[j]),Y=+Y,C[j=+j]=C[Y]=!0;var U="";f.label&&f.label[l]&&(U=f.label[l]);var G=null;U&&w.hasOwnProperty(U)&&(G=w[U]),m.push({pointNumber:l,label:U,color:_?f.color[l]:f.color,customdata:y?f.customdata[l]:f.customdata,concentrationscale:G,source:j,target:Y,value:+q}),N.source.push(j),N.target.push(Y)}}var W=O+I.length,H=M(h.color),ne=M(h.customdata),te=[];for(l=0;lO-1,childrenNodes:[],pointNumber:l,label:Z,color:H?h.color[l]:h.color,customdata:ne?h.customdata[l]:h.customdata})}var X=!1;return function(Q,re,ie){for(var oe=v.init2dArray(Q,0),ue=0;ue1})}(W,N.source,N.target)&&(X=!0),{circular:X,links:m,nodes:te,groups:I,groupLookup:R}}(a);return i({circular:c.circular,_nodes:c.nodes,_links:c.links,_groups:c.groups,_groupLookup:c.groupLookup})}},85247:function(x){x.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"}}},26857:function(x,o,t){var d=t(71828),v=t(39953),i=t(7901),M=t(84267),g=t(27670).c,p=t(38048),u=t(44467),a=t(85501);function c(s,l){function h(f,m){return d.coerce(s,l,v.link.colorscales,f,m)}h("label"),h("cmin"),h("cmax"),h("colorscale")}x.exports=function(s,l,h,f){function m(O,I){return d.coerce(s,l,v,O,I)}var _=d.extendDeep(f.hoverlabel,s.hoverlabel),y=s.node,C=u.newContainer(l,"node");function w(O,I){return d.coerce(y,C,v.node,O,I)}w("label"),w("groups"),w("x"),w("y"),w("pad"),w("thickness"),w("line.color"),w("line.width"),w("hoverinfo",s.hoverinfo),p(y,C,w,_),w("hovertemplate");var k=f.colorway;w("color",C.label.map(function(O,I){return i.addOpacity(function(R){return k[R%k.length]}(I),.8)})),w("customdata");var E=s.link||{},T=u.newContainer(l,"link");function A(O,I){return d.coerce(E,T,v.link,O,I)}A("label"),A("arrowlen"),A("source"),A("target"),A("value"),A("line.color"),A("line.width"),A("hoverinfo",s.hoverinfo),p(E,T,A,_),A("hovertemplate");var L,b=M(f.paper_bgcolor).getLuminance()<.333?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)";A("color",d.repeat(b,T.value.length)),A("customdata"),a(E,T,{name:"colorscales",handleItemDefaults:c}),g(l,f,m),m("orientation"),m("valueformat"),m("valuesuffix"),C.x.length&&C.y.length&&(L="freeform"),m("arrangement",L),d.coerceFont(m,"textfont",d.extendFlat({},f.font)),l._length=null}},29396:function(x,o,t){x.exports={attributes:t(39953),supplyDefaults:t(26857),calc:t(92930),plot:t(60436),moduleType:"trace",name:"sankey",basePlotModule:t(75536),selectPoints:t(84564),categories:["noOpacity"],meta:{}}},60436:function(x,o,t){var d=t(39898),v=t(71828),i=v.numberFormat,M=t(3393),g=t(30211),p=t(7901),u=t(85247).cn,a=v._;function c(E){return E!==""}function s(E,T){return E.filter(function(A){return A.key===T.traceId})}function l(E,T){d.select(E).select("path").style("fill-opacity",T),d.select(E).select("rect").style("fill-opacity",T)}function h(E){d.select(E).select("text.name").style("fill","black")}function f(E){return function(T){return E.node.sourceLinks.indexOf(T.link)!==-1||E.node.targetLinks.indexOf(T.link)!==-1}}function m(E){return function(T){return T.node.sourceLinks.indexOf(E.link)!==-1||T.node.targetLinks.indexOf(E.link)!==-1}}function _(E,T,A){T&&A&&s(A,T).selectAll("."+u.sankeyLink).filter(f(T)).call(C.bind(0,T,A,!1))}function y(E,T,A){T&&A&&s(A,T).selectAll("."+u.sankeyLink).filter(f(T)).call(w.bind(0,T,A,!1))}function C(E,T,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(O){if(!O.link.concentrationscale)return .4}),b&&s(T,E).selectAll("."+u.sankeyLink).filter(function(O){return O.link.label===b}).style("fill-opacity",function(O){if(!O.link.concentrationscale)return .4}),A&&s(T,E).selectAll("."+u.sankeyNode).filter(m(E)).call(_)}function w(E,T,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(O){return O.tinyColorAlpha}),b&&s(T,E).selectAll("."+u.sankeyLink).filter(function(O){return O.link.label===b}).style("fill-opacity",function(O){return O.tinyColorAlpha}),A&&s(T,E).selectAll(u.sankeyNode).filter(m(E)).call(y)}function k(E,T){var A=E.hoverlabel||{},L=v.nestedProperty(A,T).get();return!Array.isArray(L)&&L}x.exports=function(E,T){for(var A=E._fullLayout,L=A._paper,b=A._size,O=0;O"),color:k(Y,"bgcolor")||p.addOpacity(H.color,1),borderColor:k(Y,"bordercolor"),fontFamily:k(Y,"font.family"),fontSize:k(Y,"font.size"),fontColor:k(Y,"font.color"),nameLength:k(Y,"namelength"),textAlign:k(Y,"align"),idealAlign:d.event.x"),color:k(Y,"bgcolor")||j.tinyColorHue,borderColor:k(Y,"bordercolor"),fontFamily:k(Y,"font.family"),fontSize:k(Y,"font.size"),fontColor:k(Y,"font.color"),nameLength:k(Y,"namelength"),textAlign:k(Y,"align"),idealAlign:"left",hovertemplate:Y.hovertemplate,hovertemplateLabels:Z,eventData:[j.node]},{container:A._hoverlayer.node(),outerContainer:A._paper.node(),gd:E});l(re,.85),h(re)}}},unhover:function(q,j,Y){E._fullLayout.hovermode!==!1&&(d.select(q).call(y,j,Y),j.node.trace.node.hoverinfo!=="skip"&&(j.node.fullData=j.node.trace,E.emit("plotly_unhover",{event:d.event,points:[j.node]})),g.loneUnhover(A._hoverlayer.node()))},select:function(q,j,Y){var U=j.node;U.originalEvent=d.event,E._hoverdata=[U],d.select(q).call(y,j,Y),g.click(E,{target:!0})}}})}},3393:function(x,o,t){var d=t(49887),v=t(81684).k4,i=t(39898),M=t(30838),g=t(86781),p=t(85247),u=t(84267),a=t(7901),c=t(91424),s=t(71828),l=s.strTranslate,h=s.strRotate,f=t(28984),m=f.keyFun,_=f.repeat,y=f.unwrap,C=t(63893),w=t(73972),k=t(18783),E=k.CAP_SHIFT,T=k.LINE_SPACING;function A(W,H,ne){var te,Z=y(H),X=Z.trace,Q=X.domain,re=X.orientation==="h",ie=X.node.pad,oe=X.node.thickness,ue=W.width*(Q.x[1]-Q.x[0]),ce=W.height*(Q.y[1]-Q.y[0]),ye=Z._nodes,de=Z._links,me=Z.circular;(te=me?g.sankeyCircular().circularLinkGap(0):M.sankey()).iterations(p.sankeyIterations).size(re?[ue,ce]:[ce,ue]).nodeWidth(oe).nodePadding(ie).nodeId(function(ke){return ke.pointNumber}).nodes(ye).links(de);var pe,xe,Pe,_e=te();for(var Me in te.nodePadding()we+oe&&(ge+=1,Le=Ee.x0),we=Ee.x0,je[ge]||(je[ge]=[]),je[ge].push(Ee),Be=Le-Ee.x0,Ee.x0+=Be,Ee.x1+=Be}return je}(ye=_e.nodes).forEach(function(ke){var Le,Be,ze,je=0,ge=ke.length;for(ke.sort(function(we,Ee){return we.y0-Ee.y0}),ze=0;ze=je||(Be=je-Le.y0)>1e-6&&(Le.y0+=Be,Le.y1+=Be),je=Le.y1+ie}),te.update(_e)}return{circular:me,key:ne,trace:X,guid:s.randstr(),horizontal:re,width:ue,height:ce,nodePad:X.node.pad,nodeLineColor:X.node.line.color,nodeLineWidth:X.node.line.width,linkLineColor:X.link.line.color,linkLineWidth:X.link.line.width,linkArrowLength:X.link.arrowlen,valueFormat:X.valueformat,valueSuffix:X.valuesuffix,textFont:X.textfont,translateX:Q.x[0]*W.width+W.margin.l,translateY:W.height-Q.y[1]*W.height+W.margin.t,dragParallel:re?ce:ue,dragPerpendicular:re?ue:ce,arrangement:X.arrangement,sankey:te,graph:_e,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function L(W,H,ne){var te=u(H.color),Z=H.source.label+"|"+H.target.label+"__"+ne;return H.trace=W.trace,H.curveNumber=W.trace.index,{circular:W.circular,key:Z,traceId:W.key,pointNumber:H.pointNumber,link:H,tinyColorHue:a.tinyRGB(te),tinyColorAlpha:te.getAlpha(),linkPath:b,linkLineColor:W.linkLineColor,linkLineWidth:W.linkLineWidth,linkArrowLength:W.linkArrowLength,valueFormat:W.valueFormat,valueSuffix:W.valueSuffix,sankey:W.sankey,parent:W,interactionState:W.interactionState,flow:H.flow}}function b(){return function(W){var H=W.linkArrowLength;if(W.link.circular)return function(xe,Pe){var _e=xe.width/2,Me=xe.circularPathData;return xe.circularLinkType==="top"?"M "+(Me.targetX-Pe)+" "+(Me.targetY+_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 1 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 1 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 0 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 0 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY-_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z":"M "+(Me.targetX-Pe)+" "+(Me.targetY-_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 0 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 0 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 1 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 1 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY+_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z"}(W.link,H);var ne=Math.abs((W.link.target.x0-W.link.source.x1)/2);H>ne&&(H=ne);var te=W.link.source.x1,Z=W.link.target.x0-H,X=v(te,Z),Q=X(.5),re=X(.5),ie=W.link.y0-W.link.width/2,oe=W.link.y0+W.link.width/2,ue=W.link.y1-W.link.width/2,ce=W.link.y1+W.link.width/2,ye="M"+te+","+ie,de="C"+Q+","+ie+" "+re+","+ue+" "+Z+","+ue,me="C"+re+","+ce+" "+Q+","+oe+" "+te+","+oe,pe=H>0?"L"+(Z+H)+","+(ue+W.link.width/2):"";return ye+de+(pe+="L"+Z+","+ce)+me+"Z"}}function O(W,H){var ne=u(H.color),te=p.nodePadAcross,Z=W.nodePad/2;H.dx=H.x1-H.x0,H.dy=H.y1-H.y0;var X=H.dx,Q=Math.max(.5,H.dy),re="node_"+H.pointNumber;return H.group&&(re=s.randstr()),H.trace=W.trace,H.curveNumber=W.trace.index,{index:H.pointNumber,key:re,partOfGroup:H.partOfGroup||!1,group:H.group,traceId:W.key,trace:W.trace,node:H,nodePad:W.nodePad,nodeLineColor:W.nodeLineColor,nodeLineWidth:W.nodeLineWidth,textFont:W.textFont,size:W.horizontal?W.height:W.width,visibleWidth:Math.ceil(X),visibleHeight:Q,zoneX:-te,zoneY:-Z,zoneWidth:X+2*te,zoneHeight:Q+2*Z,labelY:W.horizontal?H.dy/2+1:H.dx/2+1,left:H.originalLayer===1,sizeAcross:W.width,forceLayouts:W.forceLayouts,horizontal:W.horizontal,darkBackground:ne.getBrightness()<=128,tinyColorHue:a.tinyRGB(ne),tinyColorAlpha:ne.getAlpha(),valueFormat:W.valueFormat,valueSuffix:W.valueSuffix,sankey:W.sankey,graph:W.graph,arrangement:W.arrangement,uniqueNodeLabelPathId:[W.guid,W.key,re].join("_"),interactionState:W.interactionState,figure:W}}function I(W){W.attr("transform",function(H){return l(H.node.x0.toFixed(3),H.node.y0.toFixed(3))})}function R(W){W.call(I)}function z(W,H){W.call(R),H.attr("d",b())}function F(W){W.attr("width",function(H){return H.node.x1-H.node.x0}).attr("height",function(H){return H.visibleHeight})}function B(W){return W.link.width>1||W.linkLineWidth>0}function N(W){return l(W.translateX,W.translateY)+(W.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function q(W,H,ne){W.on(".basic",null).on("mouseover.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.hover(this,te,H),te.interactionState.hovered=[this,te])}).on("mousemove.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.follow(this,te),te.interactionState.hovered=[this,te])}).on("mouseout.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.unhover(this,te,H),te.interactionState.hovered=!1)}).on("click.basic",function(te){te.interactionState.hovered&&(ne.unhover(this,te,H),te.interactionState.hovered=!1),te.interactionState.dragInProgress||te.partOfGroup||ne.select(this,te,H)})}function j(W,H,ne,te){var Z=i.behavior.drag().origin(function(X){return{x:X.node.x0+X.visibleWidth/2,y:X.node.y0+X.visibleHeight/2}}).on("dragstart",function(X){if(X.arrangement!=="fixed"&&(s.ensureSingle(te._fullLayout._infolayer,"g","dragcover",function(re){te._fullLayout._dragCover=re}),s.raiseToTop(this),X.interactionState.dragInProgress=X.node,U(X.node),X.interactionState.hovered&&(ne.nodeEvents.unhover.apply(0,X.interactionState.hovered),X.interactionState.hovered=!1),X.arrangement==="snap")){var Q=X.traceId+"|"+X.key;X.forceLayouts[Q]?X.forceLayouts[Q].alpha(1):function(re,ie,oe,ue){(function(ye){for(var de=0;de0&&pe.forceLayouts[de].alpha(0)}}(0,ie,ce,oe)).stop()}(0,Q,X),function(re,ie,oe,ue,ce){window.requestAnimationFrame(function ye(){var de;for(de=0;de0)window.requestAnimationFrame(ye);else{var me=oe.node.originalX;oe.node.x0=me-oe.visibleWidth/2,oe.node.x1=me+oe.visibleWidth/2,Y(oe,ce)}})}(W,H,X,Q,te)}}).on("drag",function(X){if(X.arrangement!=="fixed"){var Q=i.event.x,re=i.event.y;X.arrangement==="snap"?(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2,X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2):(X.arrangement==="freeform"&&(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2),re=Math.max(0,Math.min(X.size-X.visibleHeight/2,re)),X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2),U(X.node),X.arrangement!=="snap"&&(X.sankey.update(X.graph),z(W.filter(G(X)),H))}}).on("dragend",function(X){if(X.arrangement!=="fixed"){X.interactionState.dragInProgress=!1;for(var Q=0;Qw&&j[E].gap;)E--;for(A=j[E].s,k=j.length-1;k>E;k--)j[k].s=A;for(;wz[h]&&h=0;h--){var f=M[h];if(f.type==="scatter"&&f.xaxis===s.xaxis&&f.yaxis===s.yaxis){f.opacity=void 0;break}}}}}},17438:function(x,o,t){var d=t(71828),v=t(73972),i=t(82196),M=t(47581),g=t(34098),p=t(67513),u=t(73927),a=t(565),c=t(49508),s=t(11058),l=t(94039),h=t(82410),f=t(28908),m=t(71828).coercePattern;x.exports=function(_,y,C,w){function k(R,z){return d.coerce(_,y,i,R,z)}var E=p(_,y,w,k);if(E||(y.visible=!1),y.visible){u(_,y,w,k),k("xhoverformat"),k("yhoverformat");var T=a(_,y,w,k);w.scattermode==="group"&&y.orientation===void 0&&k("orientation","v");var A=!T&&E=Math.min(me,pe)&&_<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(f.c2p(de.x)-_);return _e=Math.min(me,pe)&&y<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(m.c2p(de.y)-y);return _ece!=(te=U[j][1])>=ce&&(W=U[j-1][0],H=U[j][0],te-ne&&(G=W+(H-W)*(ce-ne)/(te-ne),re=Math.min(re,G),ie=Math.max(ie,G)));re=Math.max(re,0),ie=Math.min(ie,f._length);var ye=g.defaultLine;return g.opacity(h.fillcolor)?ye=h.fillcolor:g.opacity((h.line||{}).color)&&(ye=h.line.color),d.extendFlat(u,{distance:u.maxHoverDistance,x0:re,x1:ie,y0:ce,y1:ce,color:ye,hovertemplate:!1}),delete u.index,h.text&&!Array.isArray(h.text)?u.text=String(h.text):u.text=h.name,[u]}}}},67368:function(x,o,t){var d=t(34098);x.exports={hasLines:d.hasLines,hasMarkers:d.hasMarkers,hasText:d.hasText,isBubble:d.isBubble,attributes:t(82196),layoutAttributes:t(21479),supplyDefaults:t(17438),crossTraceDefaults:t(34936),supplyLayoutDefaults:t(79334),calc:t(47761).calc,crossTraceCalc:t(72626),arraysToCalcdata:t(75225),plot:t(32663),colorbar:t(4898),formatLabels:t(8225),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(33720),selectPoints:t(98002),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:t(93612),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},21479:function(x){x.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}},79334:function(x,o,t){var d=t(71828),v=t(21479);x.exports=function(i,M){var g,p=M.barmode==="group";M.scattermode==="group"&&(g=p?M.bargap:.2,d.coerce(i,M,v,"scattergap",g))}},11058:function(x,o,t){var d=t(71828).isArrayOrTypedArray,v=t(52075).hasColorscale,i=t(1586);x.exports=function(M,g,p,u,a,c){c||(c={});var s=(M.marker||{}).color;a("line.color",p),v(M,"line")?i(M,g,u,a,{prefix:"line.",cLetter:"c"}):a("line.color",!d(s)&&s||p),a("line.width"),c.noDash||a("line.dash"),c.backoff&&a("line.backoff")}},34621:function(x,o,t){var d=t(91424),v=t(50606),i=v.BADNUM,M=v.LOG_CLIP,g=M+.5,p=M-.5,u=t(71828),a=u.segmentsIntersect,c=u.constrain,s=t(47581);x.exports=function(l,h){var f,m,_,y,C,w,k,E,T,A,L,b,O,I,R,z,F,B,N=h.trace||{},q=h.xaxis,j=h.yaxis,Y=q.type==="log",U=j.type==="log",G=q._length,W=j._length,H=h.backoff,ne=N.marker,te=h.connectGaps,Z=h.baseTolerance,X=h.shape,Q=X==="linear",re=N.fill&&N.fill!=="none",ie=[],oe=s.minTolerance,ue=l.length,ce=new Array(ue),ye=0;function de(Vt){var Ke=l[Vt];if(!Ke)return!1;var Je=h.linearized?q.l2p(Ke.x):q.c2p(Ke.x),We=h.linearized?j.l2p(Ke.y):j.c2p(Ke.y);if(Je===i){if(Y&&(Je=q.c2p(Ke.x,!0)),Je===i)return!1;U&&We===i&&(Je*=Math.abs(q._m*W*(q._m>0?g:p)/(j._m*G*(j._m>0?g:p)))),Je*=1e3}if(We===i){if(U&&(We=j.c2p(Ke.y,!0)),We===i)return!1;We*=1e3}return[Je,We]}function me(Vt,Ke,Je,We){var nt=Je-Vt,ht=We-Ke,Oe=.5-Vt,Ne=.5-Ke,Qe=nt*nt+ht*ht,ut=nt*Oe+ht*Ne;if(ut>0&&utLe||Vt[1]ze)return[c(Vt[0],ke,Le),c(Vt[1],Be,ze)]}function we(Vt,Ke){return Vt[0]===Ke[0]&&(Vt[0]===ke||Vt[0]===Le)||Vt[1]===Ke[1]&&(Vt[1]===Be||Vt[1]===ze)||void 0}function Ee(Vt,Ke,Je){return function(We,nt){var ht=ge(We),Oe=ge(nt),Ne=[];if(ht&&Oe&&we(ht,Oe))return Ne;ht&&Ne.push(ht),Oe&&Ne.push(Oe);var Qe=2*u.constrain((We[Vt]+nt[Vt])/2,Ke,Je)-((ht||We)[Vt]+(Oe||nt)[Vt]);return Qe&&((ht&&Oe?Qe>0==ht[Vt]>Oe[Vt]?ht:Oe:ht||Oe)[Vt]+=Qe),Ne}}function Ve(Vt){var Ke=Vt[0],Je=Vt[1],We=Ke===ce[ye-1][0],nt=Je===ce[ye-1][1];if(!We||!nt)if(ye>1){var ht=Ke===ce[ye-2][0],Oe=Je===ce[ye-2][1];We&&(Ke===ke||Ke===Le)&&ht?Oe?ye--:ce[ye-1]=Vt:nt&&(Je===Be||Je===ze)&&Oe?ht?ye--:ce[ye-1]=Vt:ce[ye++]=Vt}else ce[ye++]=Vt}function Ye(Vt){ce[ye-1][0]!==Vt[0]&&ce[ye-1][1]!==Vt[1]&&Ve([Me,Se]),Ve(Vt),Ce=null,Me=Se=0}X==="linear"||X==="spline"?he=function(Vt,Ke){for(var Je=[],We=0,nt=0;nt<4;nt++){var ht=je[nt],Oe=a(Vt[0],Vt[1],Ke[0],Ke[1],ht[0],ht[1],ht[2],ht[3]);Oe&&(!We||Math.abs(Oe.x-Je[0][0])>1||Math.abs(Oe.y-Je[0][1])>1)&&(Oe=[Oe.x,Oe.y],We&&xe(Oe,Vt)Le?Le:0,_e=Vt[1]ze?ze:0,Pe||_e){if(ye)if(Ce){var Ke=he(Ce,Vt);Ke.length>1&&(Ye(Ke[0]),ce[ye++]=Ke[1])}else ae=he(ce[ye-1],Vt)[0],ce[ye++]=ae;else ce[ye++]=[Pe||Vt[0],_e||Vt[1]];var Je=ce[ye-1];Pe&&_e&&(Je[0]!==Pe||Je[1]!==_e)?(Ce&&(Me!==Pe&&Se!==_e?Ve(Me&&Se?(We=Ce,ht=(nt=Vt)[0]-We[0],Oe=(nt[1]-We[1])/ht,(We[1]*nt[0]-nt[1]*We[0])/ht>0?[Oe>0?ke:Le,ze]:[Oe>0?Le:ke,Be]):[Me||Pe,Se||_e]):Me&&Se&&Ve([Me,Se])),Ve([Pe,_e])):Me-Pe&&Se-_e&&Ve([Pe||Me,_e||Se]),Ce=Vt,Me=Pe,Se=_e}else Ce&&Ye(he(Ce,Vt)[0]),ce[ye++]=Vt;var We,nt,ht,Oe}for(f=0;fpe(w,ot))break;_=w,(O=T[0]*E[0]+T[1]*E[1])>L?(L=O,y=w,k=!1):O=l.length||!w)break;st(w),m=w}}else st(y)}Ce&&Ve([Me||Ce[0],Se||Ce[1]]),ie.push(ce.slice(0,ye))}var ft=X.slice(X.length-1);if(H&&ft!=="h"&&ft!=="v"){for(var bt=!1,Et=-1,kt=[],xt=0;xt=0?u=h:(u=h=l,l++),u0?Math.max(c,p):0}}},4898:function(x){x.exports={container:"marker",min:"cmin",max:"cmax"}},49508:function(x,o,t){var d=t(7901),v=t(52075).hasColorscale,i=t(1586),M=t(34098);x.exports=function(g,p,u,a,c,s){var l=M.isBubble(g),h=(g.line||{}).color;s=s||{},h&&(u=h),c("marker.symbol"),c("marker.opacity",l?.7:1),c("marker.size"),s.noAngle||(c("marker.angle"),s.noAngleRef||c("marker.angleref"),s.noStandOff||c("marker.standoff")),c("marker.color",u),v(g,"marker")&&i(g,p,a,c,{prefix:"marker.",cLetter:"c"}),s.noSelect||(c("selected.marker.color"),c("unselected.marker.color"),c("selected.marker.size"),c("unselected.marker.size")),s.noLine||(c("marker.line.color",h&&!Array.isArray(h)&&p.marker.color!==h?h:l?d.background:d.defaultLine),v(g,"marker.line")&&i(g,p,a,c,{prefix:"marker.line.",cLetter:"c"}),c("marker.line.width",l?1:0)),l&&(c("marker.sizeref"),c("marker.sizemin"),c("marker.sizemode")),s.gradient&&c("marker.gradient.type")!=="none"&&c("marker.gradient.color")}},73927:function(x,o,t){var d=t(71828).dateTick0,v=t(50606).ONEWEEK;function i(M,g){return d(g,M%v==0?1:0)}x.exports=function(M,g,p,u,a){if(a||(a={x:!0,y:!0}),a.x){var c=u("xperiod");c&&(u("xperiod0",i(c,g.xcalendar)),u("xperiodalignment"))}if(a.y){var s=u("yperiod");s&&(u("yperiod0",i(s,g.ycalendar)),u("yperiodalignment"))}}},32663:function(x,o,t){var d=t(39898),v=t(73972),i=t(71828),M=i.ensureSingle,g=i.identity,p=t(91424),u=t(34098),a=t(34621),c=t(68687),s=t(61082).tester;function l(h,f,m,_,y,C,w){var k,E=h._context.staticPlot;(function(he,be,ke,Le,Be){var ze=ke.xaxis,je=ke.yaxis,ge=d.extent(i.simpleMap(ze.range,ze.r2c)),we=d.extent(i.simpleMap(je.range,je.r2c)),Ee=Le[0].trace;if(u.hasMarkers(Ee)){var Ve=Ee.marker.maxdisplayed;if(Ve!==0){var Ye=Le.filter(function(ft){return ft.x>=ge[0]&&ft.x<=ge[1]&&ft.y>=we[0]&&ft.y<=we[1]}),$e=Math.ceil(Ye.length/Ve),st=0;Be.forEach(function(ft,bt){var Et=ft[0].trace;u.hasMarkers(Et)&&Et.marker.maxdisplayed>0&&bt0;function A(he){return T?he.transition():he}var L=m.xaxis,b=m.yaxis,O=_[0].trace,I=O.line,R=d.select(C),z=M(R,"g","errorbars"),F=M(R,"g","lines"),B=M(R,"g","points"),N=M(R,"g","text");if(v.getComponentMethod("errorbars","plot")(h,z,m,w),O.visible===!0){var q,j;A(R).style("opacity",O.opacity);var Y=O.fill.charAt(O.fill.length-1);Y!=="x"&&Y!=="y"&&(Y=""),_[0][m.isRangePlot?"nodeRangePlot3":"node3"]=R;var U,G,W="",H=[],ne=O._prevtrace;ne&&(W=ne._prevRevpath||"",j=ne._nextFill,H=ne._polygons);var te,Z,X,Q,re,ie,oe,ue="",ce="",ye=[],de=i.noop;if(q=O._ownFill,u.hasLines(O)||O.fill!=="none"){for(j&&j.datum(_),["hv","vh","hvh","vhv"].indexOf(I.shape)!==-1?(te=p.steps(I.shape),Z=p.steps(I.shape.split("").reverse().join(""))):te=Z=I.shape==="spline"?function(he){var be=he[he.length-1];return he.length>1&&he[0][0]===be[0]&&he[0][1]===be[1]?p.smoothclosed(he.slice(1),I.smoothing):p.smoothopen(he,I.smoothing)}:function(he){return"M"+he.join("L")},X=function(he){return Z(he.reverse())},ye=a(_,{xaxis:L,yaxis:b,trace:O,connectGaps:O.connectgaps,baseTolerance:Math.max(I.width||1,3)/4,shape:I.shape,backoff:I.backoff,simplify:I.simplify,fill:O.fill}),oe=O._polygons=new Array(ye.length),k=0;k0,A=c(h,f,m);(w=_.selectAll("g.trace").data(A,function(L){return L[0].trace.uid})).enter().append("g").attr("class",function(L){return"trace scatter trace"+L[0].trace.uid}).style("stroke-miterlimit",2),w.order(),function(L,b,O){b.each(function(I){var R=M(d.select(this),"g","fills");p.setClipUrl(R,O.layerClipId,L);var z=I[0].trace,F=[];z._ownfill&&F.push("_ownFill"),z._nexttrace&&F.push("_nextFill");var B=R.selectAll("g").data(F,g);B.enter().append("g"),B.exit().each(function(N){z[N]=null}).remove(),B.order().each(function(N){z[N]=M(d.select(this),"path","js-fill")})})}(h,w,f),T?(C&&(k=C()),d.transition().duration(y.duration).ease(y.easing).each("end",function(){k&&k()}).each("interrupt",function(){k&&k()}).each(function(){_.selectAll("g.trace").each(function(L,b){l(h,b,f,L,A,this,y)})})):w.each(function(L,b){l(h,b,f,L,A,this,y)}),E&&w.exit().remove(),_.selectAll("path:not([d])").remove()}},98002:function(x,o,t){var d=t(34098);x.exports=function(v,i){var M,g,p,u,a=v.cd,c=v.xaxis,s=v.yaxis,l=[],h=a[0].trace;if(!d.hasMarkers(h)&&!d.hasText(h))return[];if(i===!1)for(M=0;M0){var m=p.c2l(h);p._lowerLogErrorBound||(p._lowerLogErrorBound=m),p._lowerErrorBound=Math.min(p._lowerLogErrorBound,m)}}else a[c]=[-s[0]*g,s[1]*g]}return a}x.exports=function(i,M,g){var p=[v(i.x,i.error_x,M[0],g.xaxis),v(i.y,i.error_y,M[1],g.yaxis),v(i.z,i.error_z,M[2],g.zaxis)],u=function(f){for(var m=0;m-1?-1:b.indexOf("right")>-1?1:0}function w(b){return b==null?0:b.indexOf("top")>-1?-1:b.indexOf("bottom")>-1?1:0}function k(b,O){return O(4*b)}function E(b){return l[b]}function T(b,O,I,R,z){var F=null;if(p.isArrayOrTypedArray(b)){F=[];for(var B=0;B=0){var j=function(Y,U,G){var W,H=(G+1)%3,ne=(G+2)%3,te=[],Z=[];for(W=0;W=0&&h("surfacecolor",m||_);for(var y=["x","y","z"],C=0;C<3;++C){var w="projection."+y[C];h(w+".show")&&(h(w+".opacity"),h(w+".scale"))}var k=d.getComponentMethod("errorbars","supplyDefaults");k(a,c,m||_||s,{axis:"z"}),k(a,c,m||_||s,{axis:"y",inherit:"z"}),k(a,c,m||_||s,{axis:"x",inherit:"z"})}else c.visible=!1}},13551:function(x,o,t){x.exports={plot:t(58925),attributes:t(44542),markerSymbols:t(87381),supplyDefaults:t(21428),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:t(36563),moduleType:"trace",name:"scatter3d",basePlotModule:t(58547),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},97001:function(x,o,t){var d=t(82196),v=t(9012),i=t(5386).fF,M=t(5386).si,g=t(50693),p=t(1426).extendFlat,u=d.marker,a=d.line,c=u.line;x.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:p({},d.mode,{dflt:"markers"}),text:p({},d.text,{}),texttemplate:M({editType:"plot"},{keys:["a","b","text"]}),hovertext:p({},d.hovertext,{}),line:{color:a.color,width:a.width,dash:a.dash,backoff:a.backoff,shape:p({},a.shape,{values:["linear","spline"]}),smoothing:a.smoothing,editType:"calc"},connectgaps:d.connectgaps,fill:p({},d.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:d.fillcolor,marker:p({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:p({width:c.width,editType:"calc"},g("marker.line")),gradient:u.gradient,editType:"calc"},g("marker")),textfont:d.textfont,textposition:d.textposition,selected:d.selected,unselected:d.unselected,hoverinfo:p({},v.hoverinfo,{flags:["a","b","text","name"]}),hoveron:d.hoveron,hovertemplate:i()}},34618:function(x,o,t){var d=t(92770),v=t(36922),i=t(75225),M=t(66279),g=t(47761).calcMarkerSize,p=t(22882);x.exports=function(u,a){var c=a._carpetTrace=p(u,a);if(c&&c.visible&&c.visible!=="legendonly"){var s;a.xaxis=c.xaxis,a.yaxis=c.yaxis;var l,h,f=a._length,m=new Array(f),_=!1;for(s=0;s")}return u}function k(E,T){var A;A=E.labelprefix&&E.labelprefix.length>0?E.labelprefix.replace(/ = $/,""):E._hovertitle,C.push(A+": "+T.toFixed(3)+E.labelsuffix)}}},46858:function(x,o,t){x.exports={attributes:t(97001),supplyDefaults:t(98965),colorbar:t(4898),formatLabels:t(48953),calc:t(34618),plot:t(1913),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(22931),selectPoints:t(98002),eventData:t(16165),moduleType:"trace",name:"scattercarpet",basePlotModule:t(93612),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},1913:function(x,o,t){var d=t(32663),v=t(89298),i=t(91424);x.exports=function(M,g,p,u){var a,c,s,l=p[0][0].carpet,h=v.getFromId(M,l.xaxis||"x"),f=v.getFromId(M,l.yaxis||"y"),m={xaxis:h,yaxis:f,plot:g.plot};for(a=0;a")}function j(Y){return Y+"°"}}(s,y,p,c[0].t.labels),p.hovertemplate=s.hovertemplate,[p]}}},17988:function(x,o,t){x.exports={attributes:t(19316),supplyDefaults:t(10659),colorbar:t(4898),formatLabels:t(82719),calc:t(84622),calcGeoJSON:t(89171).calcGeoJSON,plot:t(89171).plot,style:t(33095),styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(14977),eventData:t(84084),selectPoints:t(20548),moduleType:"trace",name:"scattergeo",basePlotModule:t(44622),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},89171:function(x,o,t){var d=t(39898),v=t(71828),i=t(90973).getTopojsonFeatures,M=t(18214),g=t(41327),p=t(71739).findExtremes,u=t(50606).BADNUM,a=t(47761).calcMarkerSize,c=t(34098),s=t(33095);x.exports={calcGeoJSON:function(l,h){var f,m,_=l[0].trace,y=h[_.geo],C=y._subplot,w=_._length;if(Array.isArray(_.locations)){var k=_.locationmode,E=k==="geojson-id"?g.extractTraceFeature(l):i(_,C.topojson);for(f=0;f=m,O=2*L,I={},R=E.makeCalcdata(C,"x"),z=T.makeCalcdata(C,"y"),F=g(C,E,"x",R),B=g(C,T,"y",z),N=F.vals,q=B.vals;C._x=N,C._y=q,C.xperiodalignment&&(C._origX=R,C._xStarts=F.starts,C._xEnds=F.ends),C.yperiodalignment&&(C._origY=z,C._yStarts=B.starts,C._yEnds=B.ends);var j=new Array(O),Y=new Array(L);for(w=0;w1&&v.extendFlat(re.line,l.linePositions(H,te,Z)),re.errorX||re.errorY){var ie=l.errorBarPositions(H,te,Z,X,Q);re.errorX&&v.extendFlat(re.errorX,ie.x),re.errorY&&v.extendFlat(re.errorY,ie.y)}return re.text&&(v.extendFlat(re.text,{positions:Z},l.textPosition(H,te,re.text,re.marker)),v.extendFlat(re.textSel,{positions:Z},l.textPosition(H,te,re.text,re.markerSel)),v.extendFlat(re.textUnsel,{positions:Z},l.textPosition(H,te,re.text,re.markerUnsel))),re}(y,0,C,j,N,q),W=h(y,A);return c(k,C),b?G.marker&&(U=G.marker.sizeAvg||Math.max(G.marker.size,3)):U=u(C,L),a(y,C,E,T,N,q,U),G.errorX&&_(C,E,G.errorX),G.errorY&&_(C,T,G.errorY),G.fill&&!W.fill2d&&(W.fill2d=!0),G.marker&&!W.scatter2d&&(W.scatter2d=!0),G.line&&!W.line2d&&(W.line2d=!0),!G.errorX&&!G.errorY||W.error2d||(W.error2d=!0),G.text&&!W.glText&&(W.glText=!0),G.marker&&(G.marker.snap=L),W.lineOptions.push(G.line),W.errorXOptions.push(G.errorX),W.errorYOptions.push(G.errorY),W.fillOptions.push(G.fill),W.markerOptions.push(G.marker),W.markerSelectedOptions.push(G.markerSel),W.markerUnselectedOptions.push(G.markerUnsel),W.textOptions.push(G.text),W.textSelectedOptions.push(G.textSel),W.textUnselectedOptions.push(G.textUnsel),W.selectBatch.push([]),W.unselectBatch.push([]),I._scene=W,I.index=W.count,I.x=N,I.y=q,I.positions=j,W.count++,[{x:!1,y:!1,t:I,trace:C}]}},78232:function(x){x.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]}}},19635:function(x,o,t){var d=t(92770),v=t(82019),i=t(25075),M=t(73972),g=t(71828),p=t(91424),u=t(41675),a=t(81697).formatColor,c=t(34098),s=t(39984),l=t(68645),h=t(78232),f=t(37822).DESELECTDIM,m={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},_=t(23469).appendArrayPointValue;function y(R,z){var F,B=R._fullLayout,N=z._length,q=z.textfont,j=z.textposition,Y=Array.isArray(j)?j:[j],U=q.color,G=q.size,W=q.family,H={},ne=R._context.plotGlPixelRatio,te=z.texttemplate;if(te){H.text=[];var Z=B._d3locale,X=Array.isArray(te),Q=X?Math.min(te.length,N):N,re=X?function(me){return te[me]}:function(){return te};for(F=0;Fh.TOO_MANY_POINTS||c.hasMarkers(z)?"rect":"round";if(G&&z.connectgaps){var H=B[0],ne=B[1];for(N=0;N1?U[N]:U[0]:U,te=Array.isArray(G)?G.length>1?G[N]:G[0]:G,Z=m[ne],X=m[te],Q=W?W/.8+1:0,re=-X*Q-.5*X;j.offset[N]=[Z*Q/H,re/H]}}return j}}},47148:function(x,o,t){var d=t(71828),v=t(73972),i=t(68645),M=t(42341),g=t(47581),p=t(34098),u=t(67513),a=t(73927),c=t(49508),s=t(11058),l=t(28908),h=t(82410);x.exports=function(f,m,_,y){function C(O,I){return d.coerce(f,m,M,O,I)}var w=!!f.marker&&i.isOpenSymbol(f.marker.symbol),k=p.isBubble(f),E=u(f,m,y,C);if(E){a(f,m,y,C),C("xhoverformat"),C("yhoverformat");var T=E100},o.isDotSymbol=function(v){return typeof v=="string"?d.DOT_RE.test(v):v>200}},20794:function(x,o,t){var d=t(73972),v=t(71828),i=t(34603);function M(g,p,u,a){var c=g.xa,s=g.ya,l=g.distance,h=g.dxy,f=g.index,m={pointNumber:f,x:p[f],y:u[f]};m.tx=Array.isArray(a.text)?a.text[f]:a.text,m.htx=Array.isArray(a.hovertext)?a.hovertext[f]:a.hovertext,m.data=Array.isArray(a.customdata)?a.customdata[f]:a.customdata,m.tp=Array.isArray(a.textposition)?a.textposition[f]:a.textposition;var _=a.textfont;_&&(m.ts=v.isArrayOrTypedArray(_.size)?_.size[f]:_.size,m.tc=Array.isArray(_.color)?_.color[f]:_.color,m.tf=Array.isArray(_.family)?_.family[f]:_.family);var y=a.marker;y&&(m.ms=v.isArrayOrTypedArray(y.size)?y.size[f]:y.size,m.mo=v.isArrayOrTypedArray(y.opacity)?y.opacity[f]:y.opacity,m.mx=v.isArrayOrTypedArray(y.symbol)?y.symbol[f]:y.symbol,m.ma=v.isArrayOrTypedArray(y.angle)?y.angle[f]:y.angle,m.mc=v.isArrayOrTypedArray(y.color)?y.color[f]:y.color);var C=y&&y.line;C&&(m.mlc=Array.isArray(C.color)?C.color[f]:C.color,m.mlw=v.isArrayOrTypedArray(C.width)?C.width[f]:C.width);var w=y&&y.gradient;w&&w.type!=="none"&&(m.mgt=Array.isArray(w.type)?w.type[f]:w.type,m.mgc=Array.isArray(w.color)?w.color[f]:w.color);var k=c.c2p(m.x,!0),E=s.c2p(m.y,!0),T=m.mrc||1,A=a.hoverlabel;A&&(m.hbg=Array.isArray(A.bgcolor)?A.bgcolor[f]:A.bgcolor,m.hbc=Array.isArray(A.bordercolor)?A.bordercolor[f]:A.bordercolor,m.hts=v.isArrayOrTypedArray(A.font.size)?A.font.size[f]:A.font.size,m.htc=Array.isArray(A.font.color)?A.font.color[f]:A.font.color,m.htf=Array.isArray(A.font.family)?A.font.family[f]:A.font.family,m.hnl=v.isArrayOrTypedArray(A.namelength)?A.namelength[f]:A.namelength);var L=a.hoverinfo;L&&(m.hi=Array.isArray(L)?L[f]:L);var b=a.hovertemplate;b&&(m.ht=Array.isArray(b)?b[f]:b);var O={};O[g.index]=m;var I=a._origX,R=a._origY,z=v.extendFlat({},g,{color:i(a,m),x0:k-T,x1:k+T,xLabelVal:I?I[f]:m.x,y0:E-T,y1:E+T,yLabelVal:R?R[f]:m.y,cd:O,distance:l,spikeDistance:h,hovertemplate:m.ht});return m.htx?z.text=m.htx:m.tx?z.text=m.tx:a.text&&(z.text=a.text),v.fillText(m,a,z),d.getComponentMethod("errorbars","hoverInfo")(m,a,z),z}x.exports={hoverPoints:function(g,p,u,a){var c,s,l,h,f,m,_,y,C,w,k=g.cd,E=k[0].t,T=k[0].trace,A=g.xa,L=g.ya,b=E.x,O=E.y,I=A.c2p(p),R=L.c2p(u),z=g.distance;if(E.tree){var F=A.p2c(I-z),B=A.p2c(I+z),N=L.p2c(R-z),q=L.p2c(R+z);c=a==="x"?E.tree.range(Math.min(F,B),Math.min(L._rl[0],L._rl[1]),Math.max(F,B),Math.max(L._rl[0],L._rl[1])):E.tree.range(Math.min(F,B),Math.min(N,q),Math.max(F,B),Math.max(N,q))}else c=E.ids;var j=z;if(a==="x"){var Y=!!T.xperiodalignment,U=!!T.yperiodalignment;for(m=0;m=Math.min(G,W)&&I<=Math.max(G,W)?0:1/0}if(_=Math.min(H,ne)&&R<=Math.max(H,ne)?0:1/0}w=Math.sqrt(_*_+y*y),l=c[m]}}}else for(m=c.length-1;m>-1;m--)h=b[s=c[m]],f=O[s],_=A.c2p(h)-I,y=L.c2p(f)-R,(C=Math.sqrt(_*_+y*y))k.glText.length){var b=A-k.glText.length;for(y=0;yue&&(isNaN(oe[ce])||isNaN(oe[ce+1]));)ce-=2;ie.positions=oe.slice(ue,ce+2)}return ie}),k.line2d.update(k.lineOptions)),k.error2d){var I=(k.errorXOptions||[]).concat(k.errorYOptions||[]);k.error2d.update(I)}k.scatter2d&&k.scatter2d.update(k.markerOptions),k.fillOrder=g.repeat(null,A),k.fill2d&&(k.fillOptions=k.fillOptions.map(function(ie,oe){var ue=_[oe];if(ie&&ue&&ue[0]&&ue[0].trace){var ce,ye,de=ue[0],me=de.trace,pe=de.t,xe=k.lineOptions[oe],Pe=[];me._ownfill&&Pe.push(oe),me._nexttrace&&Pe.push(oe+1),Pe.length&&(k.fillOrder[oe]=Pe);var _e,Me,Se=[],Ce=xe&&xe.positions||pe.positions;if(me.fill==="tozeroy"){for(_e=0;_e_e&&isNaN(Ce[Me+1]);)Me-=2;Ce[_e+1]!==0&&(Se=[Ce[_e],0]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me+1]!==0&&(Se=Se.concat([Ce[Me],0]))}else if(me.fill==="tozerox"){for(_e=0;_e_e&&isNaN(Ce[Me]);)Me-=2;Ce[_e]!==0&&(Se=[0,Ce[_e+1]]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me]!==0&&(Se=Se.concat([0,Ce[Me+1]]))}else if(me.fill==="toself"||me.fill==="tonext"){for(Se=[],ce=0,ie.splitNull=!0,ye=0;ye-1;for(y=0;y")}function C(w){return w+"°"}}x.exports={hoverPoints:function(a,c,s){var l=a.cd,h=l[0].trace,f=a.xa,m=a.ya,_=a.subplot,y=[],C=p+h.uid+"-circle",w=h.cluster&&h.cluster.enabled;if(w){var k=_.map.queryRenderedFeatures(null,{layers:[C]});y=k.map(function(B){return B.id})}var E=360*(c>=0?Math.floor((c+180)/360):Math.ceil((c-180)/360)),T=c-E;if(d.getClosest(l,function(B){var N=B.lonlat;if(N[0]===g||w&&y.indexOf(B.i+1)===-1)return 1/0;var q=v.modHalf(N[0],360),j=N[1],Y=_.project([q,j]),U=Y.x-f.c2p([T,j]),G=Y.y-m.c2p([q,s]),W=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(U*U+G*G)-W,1-3/W)},a),a.index!==!1){var A=l[a.index],L=A.lonlat,b=[v.modHalf(L[0],360)+E,L[1]],O=f.c2p(b),I=m.c2p(b),R=A.mrc||1;a.x0=O-R,a.x1=O+R,a.y0=I-R,a.y1=I+R;var z={};z[h.subplot]={_subplot:_};var F=h._module.formatLabels(A,h,z);return a.lonLabel=F.lonLabel,a.latLabel=F.latLabel,a.color=i(h,A),a.extraText=u(h,A,l[0].t.labels),a.hovertemplate=h.hovertemplate,[a]}},getExtraText:u}},20467:function(x,o,t){x.exports={attributes:t(99181),supplyDefaults:t(76645),colorbar:t(4898),formatLabels:t(15636),calc:t(84622),plot:t(86951),hoverPoints:t(28178).hoverPoints,eventData:t(53353),selectPoints:t(86387),styleOnSelect:function(d,v){v&&v[0].trace._glTrace.update(v)},moduleType:"trace",name:"scattermapbox",basePlotModule:t(50101),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},86951:function(x,o,t){var d=t(71828),v=t(15790),i=t(77734).traceLayerPrefix,M={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function g(u,a,c,s){this.type="scattermapbox",this.subplot=u,this.uid=a,this.clusterEnabled=c,this.isHidden=s,this.sourceIds={fill:"source-"+a+"-fill",line:"source-"+a+"-line",circle:"source-"+a+"-circle",symbol:"source-"+a+"-symbol",cluster:"source-"+a+"-circle",clusterCount:"source-"+a+"-circle"},this.layerIds={fill:i+a+"-fill",line:i+a+"-line",circle:i+a+"-circle",symbol:i+a+"-symbol",cluster:i+a+"-cluster",clusterCount:i+a+"-cluster-count"},this.below=null}var p=g.prototype;p.addSource=function(u,a,c){var s={type:"geojson",data:a.geojson};c&&c.enabled&&d.extendFlat(s,{cluster:!0,clusterMaxZoom:c.maxzoom});var l=this.subplot.map.getSource(this.sourceIds[u]);l?l.setData(a.geojson):this.subplot.map.addSource(this.sourceIds[u],s)},p.setSourceData=function(u,a){this.subplot.map.getSource(this.sourceIds[u]).setData(a.geojson)},p.addLayer=function(u,a,c){var s={type:a.type,id:this.layerIds[u],source:this.sourceIds[u],layout:a.layout,paint:a.paint};a.filter&&(s.filter=a.filter);for(var l,h=this.layerIds[u],f=this.subplot.getMapLayers(),m=0;m=0;b--){var O=L[b];s.removeLayer(_.layerIds[O])}A||s.removeSource(_.sourceIds.circle)}(T):function(A){for(var L=M.nonCluster,b=L.length-1;b>=0;b--){var O=L[b];s.removeLayer(_.layerIds[O]),A||s.removeSource(_.sourceIds[O])}}(T)}function C(T){f?function(A){A||_.addSource("circle",l.circle,a.cluster);for(var L=M.cluster,b=0;b=0;c--){var s=a[c];u.removeLayer(this.layerIds[s]),u.removeSource(this.sourceIds[s])}},x.exports=function(u,a){var c,s,l,h=a[0].trace,f=h.cluster&&h.cluster.enabled,m=h.visible!==!0,_=new g(u,h.uid,f,m),y=v(u.gd,a),C=_.below=u.belowLookup["trace-"+h.uid];if(f)for(_.addSource("circle",y.circle,h.cluster),c=0;c")}}x.exports={hoverPoints:function(i,M,g,p){var u=d(i,M,g,p);if(u&&u[0].index!==!1){var a=u[0];if(a.index===void 0)return u;var c=i.subplot,s=a.cd[a.index],l=a.trace;if(c.isPtInside(s))return a.xLabelVal=void 0,a.yLabelVal=void 0,v(s,l,c,a),a.hovertemplate=l.hovertemplate,u}},makeHoverPointText:v}},91271:function(x,o,t){x.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:t(23580),categories:["polar","symbols","showLegend","scatter-like"],attributes:t(81245),supplyDefaults:t(22184).supplyDefaults,colorbar:t(4898),formatLabels:t(98608),calc:t(26442),plot:t(45162),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(59150).hoverPoints,selectPoints:t(98002),meta:{}}},45162:function(x,o,t){var d=t(32663),v=t(50606).BADNUM;x.exports=function(i,M,g){for(var p=M.layers.frontplot.select("g.scatterlayer"),u=M.xaxis,a=M.yaxis,c={xaxis:u,yaxis:a,plot:M.framework,layerClipId:M._hasClipOnAxisFalse?M.clipIds.forTraces:null},s=M.radialAxis,l=M.angularAxis,h=0;h=u&&(A.marker.cluster=w.tree),A.marker&&(A.markerSel.positions=A.markerUnsel.positions=A.marker.positions=O),A.line&&O.length>1&&p.extendFlat(A.line,g.linePositions(a,C,O)),A.text&&(p.extendFlat(A.text,{positions:O},g.textPosition(a,C,A.text,A.marker)),p.extendFlat(A.textSel,{positions:O},g.textPosition(a,C,A.text,A.markerSel)),p.extendFlat(A.textUnsel,{positions:O},g.textPosition(a,C,A.text,A.markerUnsel))),A.fill&&!f.fill2d&&(f.fill2d=!0),A.marker&&!f.scatter2d&&(f.scatter2d=!0),A.line&&!f.line2d&&(f.line2d=!0),A.text&&!f.glText&&(f.glText=!0),f.lineOptions.push(A.line),f.fillOptions.push(A.fill),f.markerOptions.push(A.marker),f.markerSelectedOptions.push(A.markerSel),f.markerUnselectedOptions.push(A.markerUnsel),f.textOptions.push(A.text),f.textSelectedOptions.push(A.textSel),f.textUnselectedOptions.push(A.textUnsel),f.selectBatch.push([]),f.unselectBatch.push([]),w.x=I,w.y=R,w.rawx=I,w.rawy=R,w.r=E,w.theta=T,w.positions=O,w._scene=f,w.index=f.count,f.count++}}),i(a,c,s)}},x.exports.reglPrecompiled={}},48300:function(x,o,t){var d=t(5386).fF,v=t(5386).si,i=t(1426).extendFlat,M=t(82196),g=t(9012),p=M.line;x.exports={mode:M.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:M.text,texttemplate:v({editType:"plot"},{keys:["real","imag","text"]}),hovertext:M.hovertext,line:{color:p.color,width:p.width,dash:p.dash,backoff:p.backoff,shape:i({},p.shape,{values:["linear","spline"]}),smoothing:p.smoothing,editType:"calc"},connectgaps:M.connectgaps,marker:M.marker,cliponaxis:i({},M.cliponaxis,{dflt:!1}),textposition:M.textposition,textfont:M.textfont,fill:i({},M.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:M.fillcolor,hoverinfo:i({},g.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:M.hoveron,hovertemplate:d(),selected:M.selected,unselected:M.unselected}},30621:function(x,o,t){var d=t(92770),v=t(50606).BADNUM,i=t(36922),M=t(75225),g=t(66279),p=t(47761).calcMarkerSize;x.exports=function(u,a){for(var c=u._fullLayout,s=a.subplot,l=c[s].realaxis,h=c[s].imaginaryaxis,f=l.makeCalcdata(a,"real"),m=h.makeCalcdata(a,"imag"),_=a._length,y=new Array(_),C=0;C<_;C++){var w=f[C],k=m[C],E=y[C]={};d(w)&&d(k)?(E.real=w,E.imag=k):E.real=v}return p(a,_),i(u,a),M(y,a),g(y,a),y}},65269:function(x,o,t){var d=t(71828),v=t(34098),i=t(49508),M=t(11058),g=t(94039),p=t(82410),u=t(28908),a=t(47581).PTS_LINESONLY,c=t(48300);x.exports=function(s,l,h,f){function m(C,w){return d.coerce(s,l,c,C,w)}var _=function(C,w,k,E){var T,A=E("real"),L=E("imag");return A&&L&&(T=Math.min(A.length,L.length)),w._length=T,T}(0,l,0,m);if(_){m("mode",_")}}x.exports={hoverPoints:function(i,M,g,p){var u=d(i,M,g,p);if(u&&u[0].index!==!1){var a=u[0];if(a.index===void 0)return u;var c=i.subplot,s=a.cd[a.index],l=a.trace;if(c.isPtInside(s))return a.xLabelVal=void 0,a.yLabelVal=void 0,v(s,l,c,a),a.hovertemplate=l.hovertemplate,u}},makeHoverPointText:v}},85956:function(x,o,t){x.exports={moduleType:"trace",name:"scattersmith",basePlotModule:t(7504),categories:["smith","symbols","showLegend","scatter-like"],attributes:t(48300),supplyDefaults:t(65269),colorbar:t(4898),formatLabels:t(62047),calc:t(30621),plot:t(12480),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(11350).hoverPoints,selectPoints:t(98002),meta:{}}},12480:function(x,o,t){var d=t(32663),v=t(50606).BADNUM,i=t(23893).smith;x.exports=function(M,g,p){for(var u=g.layers.frontplot.select("g.scatterlayer"),a=g.xaxis,c=g.yaxis,s={xaxis:a,yaxis:c,plot:g.framework,layerClipId:g._hasClipOnAxisFalse?g.clipIds.forTraces:null},l=0;l"),u.hovertemplate=f.hovertemplate,p}function E(T,A){w.push(T._hovertitle+": "+A)}}},52979:function(x,o,t){x.exports={attributes:t(50413),supplyDefaults:t(46008),colorbar:t(4898),formatLabels:t(93645),calc:t(54337),plot:t(7507),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(47250),selectPoints:t(98002),eventData:t(4524),moduleType:"trace",name:"scatterternary",basePlotModule:t(61639),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},7507:function(x,o,t){var d=t(32663);x.exports=function(v,i,M){var g=i.plotContainer;g.select(".scatterlayer").selectAll("*").remove();for(var p=i.xaxis,u=i.yaxis,a={xaxis:p,yaxis:u,plot:g,layerClipId:i._hasClipOnAxisFalse?i.clipIdRelative:null},c=i.layers.frontplot.select("g.scatterlayer"),s=0;ss?T.sizeAvg||Math.max(T.size,3):i(h,E),m=0;mO&&z||b-1,j=!0;if(M(T)||_.selectedpoints||q){var Y=_._length;if(_.selectedpoints){C.selectBatch=_.selectedpoints;var U=_.selectedpoints,G={};for(s=0;s1&&(m=k[A-1],y=E[A-1],w=T[A-1]),u=0;um?"-":"+")+"x")).replace("y",(_>y?"-":"+")+"y")).replace("z",(C>w?"-":"+")+"z");var j=function(){A=0,B=[],N=[],q=[]};(!A||A2?f.slice(1,m-1):m===2?[(f[0]+f[1])/2]:f}function l(f){var m=f.length;return m===1?[.5,.5]:[f[1]-f[0],f[m-1]-f[m-2]]}function h(f,m){var _=f.fullSceneLayout,y=f.dataScale,C=m._len,w={};function k(te,Z){var X=_[Z],Q=y[u[Z]];return i.simpleMap(te,function(re){return X.d2l(re)*Q})}if(w.vectors=p(k(m._u,"xaxis"),k(m._v,"yaxis"),k(m._w,"zaxis"),C),!C)return{positions:[],cells:[]};var E=k(m._Xs,"xaxis"),T=k(m._Ys,"yaxis"),A=k(m._Zs,"zaxis");if(w.meshgrid=[E,T,A],w.gridFill=m._gridFill,m._slen)w.startingPositions=p(k(m._startsX,"xaxis"),k(m._startsY,"yaxis"),k(m._startsZ,"zaxis"));else{for(var L=T[0],b=s(E),O=s(A),I=new Array(b.length*O.length),R=0,z=0;z=0};L?(_=Math.min(A.length,O.length),y=function(ue){return N(A[ue])&&q(ue)},C=function(ue){return String(A[ue])}):(_=Math.min(b.length,O.length),y=function(ue){return N(b[ue])&&q(ue)},C=function(ue){return String(b[ue])}),R&&(_=Math.min(_,I.length));for(var j=0;j<_;j++)if(y(j)){var Y=C(j),U=N(O[j])?String(O[j]):"",G={i:j,id:Y,pid:U,label:N(b[j])?String(b[j]):""};R&&(G.v=+I[j]),z.push(G),k=Y,F[w=U]?F[w].push(k):F[w]=[k],B[k]=1}if(F[""]){if(F[""].length>1){for(var W=i.randstr(),H=0;H"),name:B||ne("name")?L.name:void 0,color:F("hoverlabel.bgcolor")||b.color,borderColor:F("hoverlabel.bordercolor"),fontFamily:F("hoverlabel.font.family"),fontSize:F("hoverlabel.font.size"),fontColor:F("hoverlabel.font.color"),nameLength:F("hoverlabel.namelength"),textAlign:F("hoverlabel.align"),hovertemplate:B,hovertemplateLabels:G,eventData:A};w&&(X.x0=j-E.rInscribed*E.rpx1,X.x1=j+E.rInscribed*E.rpx1,X.idealAlign=E.pxmid[0]<0?"left":"right"),k&&(X.x=j,X.idealAlign=j<0?"left":"right");var Q=[];M.loneHover(X,{container:T._hoverlayer.node(),outerContainer:T._paper.node(),gd:h,inOut_bbox:Q}),A[0].bbox=Q[0],y._hasHoverLabel=!0}if(k){var re=s.select("path.surface");m.styleOne(re,E,L,{hovered:!0})}y._hasHoverEvent=!0,h.emit("plotly_hover",{points:A||[c(E,L,m.eventDataKeys)],event:d.event})}}),s.on("mouseout",function(E){var T=h._fullLayout,A=h._fullData[y.index],L=d.select(this).datum();if(y._hasHoverEvent&&(E.originalEvent=d.event,h.emit("plotly_unhover",{points:[c(L,A,m.eventDataKeys)],event:d.event}),y._hasHoverEvent=!1),y._hasHoverLabel&&(M.loneUnhover(T._hoverlayer.node()),y._hasHoverLabel=!1),k){var b=s.select("path.surface");m.styleOne(b,L,A,{hovered:!1})}}),s.on("click",function(E){var T=h._fullLayout,A=h._fullData[y.index],L=w&&(u.isHierarchyRoot(E)||u.isLeaf(E)),b=u.getPtId(E),O=u.isEntry(E)?u.findEntryWithChild(C,b):u.findEntryWithLevel(C,b),I=u.getPtId(O),R={points:[c(E,A,m.eventDataKeys)],event:d.event};L||(R.nextLevel=I);var z=p.triggerHandler(h,"plotly_"+y.type+"click",R);if(z!==!1&&T.hovermode&&(h._hoverdata=[c(E,A,m.eventDataKeys)],M.click(h,d.event)),!L&&z!==!1&&!h._dragging&&!h._transitioning){g.call("_storeDirectGUIEdit",A,T._tracePreGUI[A.uid],{level:A.level});var F={data:[{level:I}],traces:[y.index]},B={frame:{redraw:!1,duration:m.transitionTime},transition:{duration:m.transitionTime,easing:m.transitionEasing},mode:"immediate",fromcurrent:!0};M.loneUnhover(T._hoverlayer.node()),g.call("animate",h,F,B)}})}},2791:function(x,o,t){var d=t(71828),g=t(7901),i=t(6964),M=t(53581);function v(p){return p.data.data.pid}o.findEntryWithLevel=function(p,u){var a;return u&&p.eachAfter(function(c){if(o.getPtId(c)===u)return a=c.copy()}),a||p},o.findEntryWithChild=function(p,u){var a;return p.eachAfter(function(c){for(var s=c.children||[],l=0;l0)},o.getMaxDepth=function(p){return p.maxdepth>=0?p.maxdepth:1/0},o.isHeader=function(p,u){return!(o.isLeaf(p)||p.depth===u._maxDepth-1)},o.getParent=function(p,u){return o.findEntryWithLevel(p,v(u))},o.listPath=function(p,u){var a=p.parent;if(!a)return[];var c=u?[a.data[u]]:[a];return o.listPath(a,u).concat(c)},o.getPath=function(p){return o.listPath(p,"label").join("/")+"/"},o.formatValue=M.formatPieValue,o.formatPercent=function(p,u){var a=d.formatPercent(p,0);return a==="0%"&&(a=M.formatPiePercent(p,u)),a}},87619:function(x,o,t){x.exports={moduleType:"trace",name:"sunburst",basePlotModule:t(66888),categories:[],animatable:!0,attributes:t(57564),layoutAttributes:t(2654),supplyDefaults:t(17094),supplyLayoutDefaults:t(57034),calc:t(52147).calc,crossTraceCalc:t(52147).crossTraceCalc,plot:t(24714).plot,style:t(29969).style,colorbar:t(4898),meta:{}}},2654:function(x){x.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57034:function(x,o,t){var d=t(71828),g=t(2654);x.exports=function(i,M){function v(p,u){return d.coerce(i,M,g,p,u)}v("sunburstcolorway",M.colorway),v("extendsunburstcolors")}},24714:function(x,o,t){var d=t(39898),g=t(674),i=t(81684).sX,M=t(91424),v=t(71828),p=t(63893),u=t(72597),a=u.recordMinTextSize,c=u.clearMinTextSize,s=t(14575),l=t(53581).getRotationAngle,h=s.computeTransform,f=s.transformInsideText,m=t(29969).styleOne,_=t(16688).resizeText,y=t(83523),C=t(7055),w=t(2791);function k(T,A,L,b){var O=T._context.staticPlot,I=T._fullLayout,R=!I.uniformtext.mode&&w.hasTransition(b),z=d.select(L).selectAll("g.slice"),F=A[0],B=F.trace,N=F.hierarchy,q=w.findEntryWithLevel(N,B.level),j=w.getMaxDepth(B),Y=I._size,U=B.domain,G=Y.w*(U.x[1]-U.x[0]),W=Y.h*(U.y[1]-U.y[0]),H=.5*Math.min(G,W),ne=F.cx=Y.l+Y.w*(U.x[1]+U.x[0])/2,te=F.cy=Y.t+Y.h*(1-U.y[0])-W/2;if(!q)return z.remove();var Z=null,X={};R&&z.each(function(Ce){X[w.getPtId(Ce)]={rpx0:Ce.rpx0,rpx1:Ce.rpx1,x0:Ce.x0,x1:Ce.x1,transform:Ce.transform},!Z&&w.isEntry(Ce)&&(Z=Ce)});var Q=function(Ce){return g.partition().size([2*Math.PI,Ce.height+1])(Ce)}(q).descendants(),re=q.height+1,ie=0,oe=j;F.hasMultipleRoots&&w.isHierarchyRoot(q)&&(Q=Q.slice(1),re-=1,ie=1,oe+=1),Q=Q.filter(function(Ce){return Ce.y1<=oe});var ue=l(B.rotation);ue&&Q.forEach(function(Ce){Ce.x0+=ue,Ce.x1+=ue});var ce=Math.min(re,j),ye=function(Ce){return(Ce-ie)/ce*H},de=function(Ce,ae){return[Ce*Math.cos(ae),-Ce*Math.sin(ae)]},me=function(Ce){return v.pathAnnulus(Ce.rpx0,Ce.rpx1,Ce.x0,Ce.x1,ne,te)},pe=function(Ce){return ne+E(Ce)[0]*(Ce.transform.rCenter||0)+(Ce.transform.x||0)},xe=function(Ce){return te+E(Ce)[1]*(Ce.transform.rCenter||0)+(Ce.transform.y||0)};(z=z.data(Q,w.getPtId)).enter().append("g").classed("slice",!0),R?z.exit().transition().each(function(){var Ce=d.select(this);Ce.select("path.surface").transition().attrTween("d",function(ae){var he=function(be){var ke,Le=w.getPtId(be),Be=X[Le],ze=X[w.getPtId(q)];if(ze){var je=(be.x1>ze.x1?2*Math.PI:0)+ue;ke=be.rpx1Pe?2*Math.PI:0)+ue;Ee={x0:$e,x1:$e}}else Ee={rpx0:H,rpx1:H},v.extendFlat(Ee,Se(we));else Ee={rpx0:0,rpx1:0};else Ee={x0:ue,x1:ue};return i(Ee,Ye)}(je);return function(we){return me(ge(we))}}):he.attr("d",me),ae.call(y,q,T,A,{eventDataKeys:C.eventDataKeys,transitionTime:C.CLICK_TRANSITION_TIME,transitionEasing:C.CLICK_TRANSITION_EASING}).call(w.setSliceCursor,T,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:T._transitioning}),he.call(m,Ce,B);var be=v.ensureSingle(ae,"g","slicetext"),ke=v.ensureSingle(be,"text","",function(je){je.attr("data-notex",1)}),Le=v.ensureUniformFontSize(T,w.determineTextFont(B,Ce,I.font));ke.text(o.formatSliceLabel(Ce,q,B,A,I)).classed("slicetext",!0).attr("text-anchor","middle").call(M.font,Le).call(p.convertToTspans,T);var Be=M.bBox(ke.node());Ce.transform=f(Be,Ce,F),Ce.transform.targetX=pe(Ce),Ce.transform.targetY=xe(Ce);var ze=function(je,ge){var we=je.transform;return h(we,ge),we.fontSize=Le.size,a(B.type,we,I),v.getTextTransform(we)};R?ke.transition().attrTween("transform",function(je){var ge=function(we){var Ee,Ve=X[w.getPtId(we)],Ye=we.transform;if(Ve)Ee=Ve;else if(Ee={rpx1:we.rpx1,transform:{textPosAngle:Ye.textPosAngle,scale:0,rotate:Ye.rotate,rCenter:Ye.rCenter,x:Ye.x,y:Ye.y}},Z)if(we.parent)if(Pe){var $e=we.x1>Pe?2*Math.PI:0;Ee.x0=Ee.x1=$e}else v.extendFlat(Ee,Se(we));else Ee.x0=Ee.x1=ue;else Ee.x0=Ee.x1=ue;var st=i(Ee.transform.textPosAngle,we.transform.textPosAngle),ot=i(Ee.rpx1,we.rpx1),ft=i(Ee.x0,we.x0),bt=i(Ee.x1,we.x1),Et=i(Ee.transform.scale,Ye.scale),kt=i(Ee.transform.rotate,Ye.rotate),xt=Ye.rCenter===0?3:Ee.transform.rCenter===0?1/3:1,Ft=i(Ee.transform.rCenter,Ye.rCenter);return function(Dt){var Bt=ot(Dt),Wt=ft(Dt),Vt=bt(Dt),Ke=function(We){return Ft(Math.pow(We,xt))}(Dt),Je={pxmid:de(Bt,(Wt+Vt)/2),rpx1:Bt,transform:{textPosAngle:st(Dt),rCenter:Ke,x:Ye.x,y:Ye.y}};return a(B.type,Ye,I),{transform:{targetX:pe(Je),targetY:xe(Je),scale:Et(Dt),rotate:kt(Dt),rCenter:Ke}}}}(je);return function(we){return ze(ge(we),Be)}}):ke.attr("transform",ze(Ce,Be))})}function E(T){return A=T.rpx1,L=T.transform.textPosAngle,[A*Math.sin(L),-A*Math.cos(L)];var A,L}o.plot=function(T,A,L,b){var O,I,R=T._fullLayout,z=R._sunburstlayer,F=!L,B=!R.uniformtext.mode&&w.hasTransition(L);c("sunburst",R),(O=z.selectAll("g.trace.sunburst").data(A,function(N){return N[0].trace.uid})).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),O.order(),B?(b&&(I=b()),d.transition().duration(L.duration).ease(L.easing).each("end",function(){I&&I()}).each("interrupt",function(){I&&I()}).each(function(){z.selectAll("g.trace").each(function(N){k(T,N,this,L)})})):(O.each(function(N){k(T,N,this,L)}),R.uniformtext.mode&&_(T,R._sunburstlayer.selectAll(".trace"),"sunburst")),F&&O.exit().remove()},o.formatSliceLabel=function(T,A,L,b,O){var I=L.texttemplate,R=L.textinfo;if(!(I||R&&R!=="none"))return"";var z=O.separators,F=b[0],B=T.data.data,N=F.hierarchy,q=w.isHierarchyRoot(T),j=w.getParent(N,T),Y=w.getValue(T);if(!I){var U,G=R.split("+"),W=function(oe){return G.indexOf(oe)!==-1},H=[];if(W("label")&&B.label&&H.push(B.label),B.hasOwnProperty("v")&&W("value")&&H.push(w.formatValue(B.v,z)),!q){W("current path")&&H.push(w.getPath(T.data));var ne=0;W("percent parent")&&ne++,W("percent entry")&&ne++,W("percent root")&&ne++;var te=ne>1;if(ne){var Z,X=function(oe){U=w.formatPercent(Z,z),te&&(U+=" of "+oe),H.push(U)};W("percent parent")&&!q&&(Z=Y/w.getValue(j),X("parent")),W("percent entry")&&(Z=Y/w.getValue(A),X("entry")),W("percent root")&&(Z=Y/w.getValue(N),X("root"))}}return W("text")&&(U=v.castOption(L,B.i,"text"),v.isValidTextValue(U)&&H.push(U)),H.join("
")}var Q=v.castOption(L,B.i,"texttemplate");if(!Q)return"";var re={};B.label&&(re.label=B.label),B.hasOwnProperty("v")&&(re.value=B.v,re.valueLabel=w.formatValue(B.v,z)),re.currentPath=w.getPath(T.data),q||(re.percentParent=Y/w.getValue(j),re.percentParentLabel=w.formatPercent(re.percentParent,z),re.parent=w.getPtLabel(j)),re.percentEntry=Y/w.getValue(A),re.percentEntryLabel=w.formatPercent(re.percentEntry,z),re.entry=w.getPtLabel(A),re.percentRoot=Y/w.getValue(N),re.percentRootLabel=w.formatPercent(re.percentRoot,z),re.root=w.getPtLabel(N),B.hasOwnProperty("color")&&(re.color=B.color);var ie=v.castOption(L,B.i,"text");return(v.isValidTextValue(ie)||ie==="")&&(re.text=ie),re.customdata=v.castOption(L,B.i,"customdata"),v.texttemplateString(Q,re,O._d3locale,re,L._meta||{})}},29969:function(x,o,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(p,u,a){var c=u.data.data,s=!u.children,l=c.i,h=i.castOption(a,l,"marker.line.color")||g.defaultLine,f=i.castOption(a,l,"marker.line.width")||0;p.style("stroke-width",f).call(g.fill,c.color).call(g.stroke,h).style("opacity",s?a.leaf.opacity:null)}x.exports={style:function(p){var u=p._fullLayout._sunburstlayer.selectAll(".trace");M(p,u,"sunburst"),u.each(function(a){var c=d.select(this),s=a[0].trace;c.style("opacity",s.opacity),c.selectAll("path.surface").each(function(l){d.select(this).call(v,l,s)})})},styleOne:v}},54532:function(x,o,t){var d=t(7901),g=t(50693),i=t(12663).axisHoverFormat,M=t(5386).fF,v=t(9012),p=t(1426).extendFlat,u=t(30962).overrideAll;function a(s){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:d.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:d.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var c=x.exports=u(p({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:M(),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},g("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:a(),y:a(),z:a()},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:p({},g.zauto,{}),zmin:p({},g.zmin,{}),zmax:p({},g.zmax,{})},hoverinfo:p({},v.hoverinfo),showlegend:p({},v.showlegend,{dflt:!1})}),"calc","nested");c.x.editType=c.y.editType=c.z.editType="calc+clearAxisTypes",c.transforms=void 0},18396:function(x,o,t){var d=t(78803);x.exports=function(g,i){i.surfacecolor?d(g,i,{vals:i.surfacecolor,containerStr:"",cLetter:"c"}):d(g,i,{vals:i.z,containerStr:"",cLetter:"c"})}},43768:function(x,o,t){var d=t(9330).gl_surface3d,g=t(9330).ndarray,i=t(9330).ndarray_linear_interpolate.d2,M=t(824),v=t(43907),p=t(71828).isArrayOrTypedArray,u=t(81697).parseColorScale,a=t(78614),c=t(21081).extractOpts;function s(L,b,O){this.scene=L,this.uid=O,this.surface=b,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 l=s.prototype;l.getXat=function(L,b,O,I){var R=p(this.data.x)?p(this.data.x[0])?this.data.x[b][L]:this.data.x[L]:L;return O===void 0?R:I.d2l(R,0,O)},l.getYat=function(L,b,O,I){var R=p(this.data.y)?p(this.data.y[0])?this.data.y[b][L]:this.data.y[b]:b;return O===void 0?R:I.d2l(R,0,O)},l.getZat=function(L,b,O,I){var R=this.data.z[b][L];return R===null&&this.data.connectgaps&&this.data._interpolatedZ&&(R=this.data._interpolatedZ[b][L]),O===void 0?R:I.d2l(R,0,O)},l.handlePick=function(L){if(L.object===this.surface){var b=(L.data.index[0]-1)/this.dataScaleX-1,O=(L.data.index[1]-1)/this.dataScaleY-1,I=Math.max(Math.min(Math.round(b),this.data.z[0].length-1),0),R=Math.max(Math.min(Math.round(O),this.data._ylength-1),0);L.index=[I,R],L.traceCoordinate=[this.getXat(I,R),this.getYat(I,R),this.getZat(I,R)],L.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 z=0;z<3;z++)L.dataCoordinate[z]!=null&&(L.dataCoordinate[z]*=this.scene.dataScale[z]);var F=this.data.hovertext||this.data.text;return Array.isArray(F)&&F[R]&&F[R][I]!==void 0?L.textLabel=F[R][I]:L.textLabel=F||"",L.data.dataCoordinate=L.dataCoordinate.slice(),this.surface.highlight(L.data),this.scene.glplot.spikes.position=L.dataCoordinate,!0}};var h=[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 f(L,b){if(L0){O=h[I];break}return O}function y(L,b){if(!(L<1||b<1)){for(var O=m(L),I=m(b),R=1,z=0;zk;)O--,O/=_(O),++O1?I:1},l.refineCoords=function(L){for(var b=this.dataScaleX,O=this.dataScaleY,I=L[0].shape[0],R=L[0].shape[1],z=0|Math.floor(L[0].shape[0]*b+1),F=0|Math.floor(L[0].shape[1]*O+1),B=1+I+1,N=1+R+1,q=g(new Float32Array(B*N),[B,N]),j=[1/b,0,0,0,1/O,0,0,0,1],Y=0;Y0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(R[L]=!0,b=this.contourStart[L];bR&&(this.minValues[b]=R),this.maxValues[b]",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"}}},51018:function(x,o,t){var d=t(49850),g=t(1426).extendFlat,i=t(92770);function M(l){if(Array.isArray(l)){for(var h=0,f=0;f=h||E===l.length-1)&&(m[_]=C,C.key=k++,C.firstRowIndex=w,C.lastRowIndex=E,C={firstRowIndex:null,lastRowIndex:null,rows:[]},_+=y,w=E+1,y=0);return m}x.exports=function(l,h){var f=p(h.cells.values),m=function(q){return q.slice(h.header.values.length,q.length)},_=p(h.header.values);_.length&&!_[0].length&&(_[0]=[""],_=p(_));var y=_.concat(m(f).map(function(){return u((_[0]||[""]).length)})),C=h.domain,w=Math.floor(l._fullLayout._size.w*(C.x[1]-C.x[0])),k=Math.floor(l._fullLayout._size.h*(C.y[1]-C.y[0])),E=h.header.values.length?y[0].map(function(){return h.header.height}):[d.emptyHeaderHeight],T=f.length?f[0].map(function(){return h.cells.height}):[],A=E.reduce(v,0),L=s(T,k-A+d.uplift),b=c(s(E,A),[]),O=c(L,b),I={},R=h._fullInput.columnorder.concat(m(f.map(function(q,j){return j}))),z=y.map(function(q,j){var Y=Array.isArray(h.columnwidth)?h.columnwidth[Math.min(j,h.columnwidth.length-1)]:h.columnwidth;return i(Y)?Number(Y):1}),F=z.reduce(v,0);z=z.map(function(q){return q/F*w});var B=Math.max(M(h.header.line.width),M(h.cells.line.width)),N={key:h.uid+l._context.staticPlot,translateX:C.x[0]*l._fullLayout._size.w,translateY:l._fullLayout._size.h*(1-C.y[1]),size:l._fullLayout._size,width:w,maxLineWidth:B,height:k,columnOrder:R,groupHeight:k,rowBlocks:O,headerRowBlocks:b,scrollY:0,cells:g({},h.cells,{values:f}),headerCells:g({},h.header,{values:y}),gdColumns:y.map(function(q){return q[0]}),gdColumnsOriginalOrder:y.map(function(q){return q[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:y.map(function(q,j){var Y=I[q];return I[q]=(Y||0)+1,{key:q+"__"+I[q],label:q,specIndex:j,xIndex:R[j],xScale:a,x:void 0,calcdata:void 0,columnWidth:z[j]}})};return N.columns.forEach(function(q){q.calcdata=N,q.x=a(q)}),N}},56269:function(x,o,t){var d=t(1426).extendFlat;o.splitToPanels=function(g){var i=[0,0],M=d({},g,{key:"header",type:"header",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!0,values:g.calcdata.headerCells.values[g.specIndex],rowBlocks:g.calcdata.headerRowBlocks,calcdata:d({},g.calcdata,{cells:g.calcdata.headerCells})});return[d({},g,{key:"cells1",type:"cells",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),d({},g,{key:"cells2",type:"cells",page:1,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),M]},o.splitToCells=function(g){var i=function(M){var v=M.rowBlocks[M.page],p=v?v.rows[0].rowIndex:0;return[p,v?p+v.rows.length:0]}(g);return(g.values||[]).slice(i[0],i[1]).map(function(M,v){return{keyWithinBlock:v+(typeof M=="string"&&M.match(/[<$&> ]/)?"_keybuster_"+Math.random():""),key:i[0]+v,column:g,calcdata:g.calcdata,page:g.page,rowBlocks:g.rowBlocks,value:M}})}},39754:function(x,o,t){var d=t(71828),g=t(44464),i=t(27670).c;x.exports=function(M,v,p,u){function a(c,s){return d.coerce(M,v,g,c,s)}i(v,u,a),a("columnwidth"),a("header.values"),a("header.format"),a("header.align"),a("header.prefix"),a("header.suffix"),a("header.height"),a("header.line.width"),a("header.line.color"),a("header.fill.color"),d.coerceFont(a,"header.font",d.extendFlat({},u.font)),function(c,s){for(var l=c.columnorder||[],h=c.header.values.length,f=l.slice(0,h),m=f.slice().sort(function(C,w){return C-w}),_=f.map(function(C){return m.indexOf(C)}),y=_.length;y/i),ue=!ie||oe;Z.mayHaveMarkup=ie&&re.match(/[<&>]/);var ce,ye=typeof(ce=re)=="string"&&ce.match(d.latexCheck);Z.latex=ye;var de,me,pe=ye?"":T(Z.calcdata.cells.prefix,X,Q)||"",xe=ye?"":T(Z.calcdata.cells.suffix,X,Q)||"",Pe=ye?null:T(Z.calcdata.cells.format,X,Q)||null,_e=pe+(Pe?i(Pe)(Z.value):Z.value)+xe;if(Z.wrappingNeeded=!Z.wrapped&&!ue&&!ye&&(de=E(_e)),Z.cellHeightMayIncrease=oe||ye||Z.mayHaveMarkup||(de===void 0?E(_e):de),Z.needsConvertToTspans=Z.mayHaveMarkup||Z.wrappingNeeded||Z.latex,Z.wrappingNeeded){var Me=(d.wrapSplitCharacter===" "?_e.replace(/me&&de.push(pe),me+=_e}return de}(Z,ie,re);oe.length===1&&(oe[0]===Z.length-1?oe.unshift(oe[0]-1):oe.push(oe[0]+1)),oe[0]%2&&oe.reverse(),H.each(function(ue,ce){ue.page=oe[ce],ue.scrollY=ie}),H.attr("transform",function(ue){var ce=j(ue.rowBlocks,ue.page)-ue.scrollY;return a(0,ce)}),W&&(z(W,ne,H,oe,te.prevPages,te,0),z(W,ne,H,oe,te.prevPages,te,1),C(ne,W))}}function R(W,H,ne,te){return function(Z){var X=Z.calcdata?Z.calcdata:Z,Q=H.filter(function(ue){return X.key===ue.key}),re=ne||X.scrollbarState.dragMultiplier,ie=X.scrollY;X.scrollY=te===void 0?X.scrollY+re*g.event.dy:te;var oe=Q.selectAll("."+d.cn.yColumn).selectAll("."+d.cn.columnBlock).filter(L);return I(W,oe,Q),X.scrollY===ie}}function z(W,H,ne,te,Z,X,Q){te[Q]!==Z[Q]&&(clearTimeout(X.currentRepaint[Q]),X.currentRepaint[Q]=setTimeout(function(){var re=ne.filter(function(ie,oe){return oe===Q&&te[oe]!==Z[oe]});w(W,H,re,ne),Z[Q]=te[Q]}))}function F(W,H,ne,te){return function(){var Z=g.select(H.parentNode);Z.each(function(X){var Q=X.fragments;Z.selectAll("tspan.line").each(function(me,pe){Q[pe].width=this.getComputedTextLength()});var re,ie,oe=Q[Q.length-1].width,ue=Q.slice(0,-1),ce=[],ye=0,de=X.column.columnWidth-2*d.cellPad;for(X.value="";ue.length;)ye+(ie=(re=ue.shift()).width+oe)>de&&(X.value+=ce.join(d.wrapSpacer)+d.lineBreaker,ce=[],ye=0),ce.push(re.text),ye+=ie;ye&&(X.value+=ce.join(d.wrapSpacer)),X.wrapped=!0}),Z.selectAll("tspan.line").remove(),k(Z.select("."+d.cn.cellText),ne,W,te),g.select(H.parentNode.parentNode).call(q)}}function B(W,H,ne,te,Z){return function(){if(!Z.settledY){var X=g.select(H.parentNode),Q=G(Z),re=Z.key-Q.firstRowIndex,ie=Q.rows[re].rowHeight,oe=Z.cellHeightMayIncrease?H.parentNode.getBoundingClientRect().height+2*d.cellPad:ie,ue=Math.max(oe,ie);ue-Q.rows[re].rowHeight&&(Q.rows[re].rowHeight=ue,W.selectAll("."+d.cn.columnCell).call(q),I(null,W.filter(L),0),C(ne,te,!0)),X.attr("transform",function(){var ce=this,ye=ce.parentNode.getBoundingClientRect(),de=g.select(ce.parentNode).select("."+d.cn.cellRect).node().getBoundingClientRect(),me=ce.transform.baseVal.consolidate(),pe=de.top-ye.top+(me?me.matrix.f:d.cellPad);return a(N(Z,g.select(ce.parentNode).select("."+d.cn.cellTextHolder).node().getBoundingClientRect().width),pe)}),Z.settledY=!0}}}function N(W,H){switch(W.align){case"left":default:return d.cellPad;case"right":return W.column.columnWidth-(H||0)-d.cellPad;case"center":return(W.column.columnWidth-(H||0))/2}}function q(W){W.attr("transform",function(H){var ne=H.rowBlocks[0].auxiliaryBlocks.reduce(function(Z,X){return Z+Y(X,1/0)},0),te=Y(G(H),H.key);return a(0,te+ne)}).selectAll("."+d.cn.cellRect).attr("height",function(H){return(ne=G(H),te=H.key,ne.rows[te-ne.firstRowIndex]).rowHeight;var ne,te})}function j(W,H){for(var ne=0,te=H-1;te>=0;te--)ne+=U(W[te]);return ne}function Y(W,H){for(var ne=0,te=0;te","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:a({},v.textfont,{}),editType:"calc"},text:v.text,textinfo:p.textinfo,texttemplate:g({editType:"plot"},{keys:u.eventDataKeys.concat(["label","value"])}),hovertext:v.hovertext,hoverinfo:p.hoverinfo,hovertemplate:d({},{keys:u.eventDataKeys}),textfont:v.textfont,insidetextfont:v.insidetextfont,outsidetextfont:a({},v.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:v.sort,root:p.root,domain:M({name:"treemap",trace:!0,editType:"calc"})}},78018:function(x,o,t){var d=t(74875);o.name="treemap",o.plot=function(g,i,M,v){d.plotBasePlot(o.name,g,i,M,v)},o.clean=function(g,i,M,v){d.cleanBasePlot(o.name,g,i,M,v)}},65039:function(x,o,t){var d=t(52147);o.y=function(g,i){return d.calc(g,i)},o.T=function(g){return d._runCrossTraceCalc("treemap",g)}},43473:function(x){x.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},91174:function(x,o,t){var d=t(71828),g=t(45802),i=t(7901),M=t(27670).c,v=t(90769).handleText,p=t(97313).TEXTPAD,u=t(21081),a=u.hasColorscale,c=u.handleDefaults;x.exports=function(s,l,h,f){function m(L,b){return d.coerce(s,l,g,L,b)}var _=m("labels"),y=m("parents");if(_&&_.length&&y&&y.length){var C=m("values");C&&C.length?m("branchvalues"):m("count"),m("level"),m("maxdepth"),m("tiling.packing")==="squarify"&&m("tiling.squarifyratio"),m("tiling.flip"),m("tiling.pad");var w=m("text");m("texttemplate"),l.texttemplate||m("textinfo",Array.isArray(w)?"text+label":"label"),m("hovertext"),m("hovertemplate");var k=m("pathbar.visible");v(s,l,f,m,"auto",{hasPathbar:k,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),m("textposition");var E=l.textposition.indexOf("bottom")!==-1;m("marker.line.width")&&m("marker.line.color",f.paper_bgcolor);var T=m("marker.colors");(l._hasColorscale=a(s,"marker","colors")||(s.marker||{}).coloraxis)?c(s,l,f,m,{prefix:"marker.",cLetter:"c"}):m("marker.depthfade",!(T||[]).length);var A=2*l.textfont.size;m("marker.pad.t",E?A/4:A),m("marker.pad.l",A/4),m("marker.pad.r",A/4),m("marker.pad.b",E?A:A/4),m("marker.cornerradius"),l._hovered={marker:{line:{width:2,color:i.contrast(f.paper_bgcolor)}}},k&&(m("pathbar.thickness",l.pathbar.textfont.size+2*p),m("pathbar.side"),m("pathbar.edgeshape")),m("sort"),m("root.color"),M(l,f,m),l._length=null}else l.visible=!1}},80694:function(x,o,t){var d=t(39898),g=t(2791),i=t(72597).clearMinTextSize,M=t(16688).resizeText,v=t(46650);x.exports=function(p,u,a,c,s){var l,h,f=s.type,m=s.drawDescendants,_=p._fullLayout,y=_["_"+f+"layer"],C=!a;i(f,_),(l=y.selectAll("g.trace."+f).data(u,function(w){return w[0].trace.uid})).enter().append("g").classed("trace",!0).classed(f,!0),l.order(),!_.uniformtext.mode&&g.hasTransition(a)?(c&&(h=c()),d.transition().duration(a.duration).ease(a.easing).each("end",function(){h&&h()}).each("interrupt",function(){h&&h()}).each(function(){y.selectAll("g.trace").each(function(w){v(p,w,this,a,m)})})):(l.each(function(w){v(p,w,this,a,m)}),_.uniformtext.mode&&M(p,y.selectAll(".trace"),f)),C&&l.exit().remove()}},66209:function(x,o,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),p=t(96362).styleOne,u=t(43473),a=t(2791),c=t(83523),s=!0;x.exports=function(l,h,f,m,_){var y=_.barDifY,C=_.width,w=_.height,k=_.viewX,E=_.viewY,T=_.pathSlice,A=_.toMoveInsideSlice,L=_.strTransform,b=_.hasTransition,O=_.handleSlicesExit,I=_.makeUpdateSliceInterpolator,R=_.makeUpdateTextInterpolator,z={},F=l._context.staticPlot,B=l._fullLayout,N=h[0],q=N.trace,j=N.hierarchy,Y=C/q._entryDepth,U=a.listPath(f.data,"id"),G=v(j.copy(),[C,w],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(G=G.filter(function(H){var ne=U.indexOf(H.data.id);return ne!==-1&&(H.x0=Y*ne,H.x1=Y*(ne+1),H.y0=y,H.y1=y+w,H.onPathbar=!0,!0)})).reverse(),(m=m.data(G,a.getPtId)).enter().append("g").classed("pathbar",!0),O(m,s,z,[C,w],T),m.order();var W=m;b&&(W=W.transition().each("end",function(){var H=d.select(this);a.setSliceCursor(H,l,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})})),W.each(function(H){H._x0=k(H.x0),H._x1=k(H.x1),H._y0=E(H.y0),H._y1=E(H.y1),H._hoverX=k(H.x1-Math.min(C,w)/2),H._hoverY=E(H.y1-w/2);var ne=d.select(this),te=g.ensureSingle(ne,"path","surface",function(re){re.style("pointer-events",F?"none":"all")});b?te.transition().attrTween("d",function(re){var ie=I(re,s,z,[C,w]);return function(oe){return T(ie(oe))}}):te.attr("d",T),ne.call(c,f,l,h,{styleOne:p,eventDataKeys:u.eventDataKeys,transitionTime:u.CLICK_TRANSITION_TIME,transitionEasing:u.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,l,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:l._transitioning}),te.call(p,H,q,{hovered:!1}),H._text=(a.getPtLabel(H)||"").split("
").join(" ")||"";var Z=g.ensureSingle(ne,"g","slicetext"),X=g.ensureSingle(Z,"text","",function(re){re.attr("data-notex",1)}),Q=g.ensureUniformFontSize(l,a.determineTextFont(q,H,B.font,{onPathbar:!0}));X.text(H._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(i.font,Q).call(M.convertToTspans,l),H.textBB=i.bBox(X.node()),H.transform=A(H,{fontSize:Q.size,onPathbar:!0}),H.transform.fontSize=Q.size,b?X.transition().attrTween("transform",function(re){var ie=R(re,s,z,[C,w]);return function(oe){return L(ie(oe))}}):X.attr("transform",L(H))})}},52583:function(x,o,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),p=t(96362).styleOne,u=t(43473),a=t(2791),c=t(83523),s=t(24714).formatSliceLabel,l=!1;x.exports=function(h,f,m,_,y){var C=y.width,w=y.height,k=y.viewX,E=y.viewY,T=y.pathSlice,A=y.toMoveInsideSlice,L=y.strTransform,b=y.hasTransition,O=y.handleSlicesExit,I=y.makeUpdateSliceInterpolator,R=y.makeUpdateTextInterpolator,z=y.prevEntry,F=h._context.staticPlot,B=h._fullLayout,N=f[0].trace,q=N.textposition.indexOf("left")!==-1,j=N.textposition.indexOf("right")!==-1,Y=N.textposition.indexOf("bottom")!==-1,U=!Y&&!N.marker.pad.t||Y&&!N.marker.pad.b,G=v(m,[C,w],{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(),W=1/0,H=-1/0;G.forEach(function(Q){var re=Q.depth;re>=N._maxDepth?(Q.x0=Q.x1=(Q.x0+Q.x1)/2,Q.y0=Q.y1=(Q.y0+Q.y1)/2):(W=Math.min(W,re),H=Math.max(H,re))}),_=_.data(G,a.getPtId),N._maxVisibleLayers=isFinite(H)?H-W+1:0,_.enter().append("g").classed("slice",!0),O(_,l,{},[C,w],T),_.order();var ne=null;if(b&&z){var te=a.getPtId(z);_.each(function(Q){ne===null&&a.getPtId(Q)===te&&(ne={x0:Q.x0,x1:Q.x1,y0:Q.y0,y1:Q.y1})})}var Z=function(){return ne||{x0:0,x1:C,y0:0,y1:w}},X=_;return b&&(X=X.transition().each("end",function(){var Q=d.select(this);a.setSliceCursor(Q,h,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(Q){var re=a.isHeader(Q,N);Q._x0=k(Q.x0),Q._x1=k(Q.x1),Q._y0=E(Q.y0),Q._y1=E(Q.y1),Q._hoverX=k(Q.x1-N.marker.pad.r),Q._hoverY=E(Y?Q.y1-N.marker.pad.b/2:Q.y0+N.marker.pad.t/2);var ie=d.select(this),oe=g.ensureSingle(ie,"path","surface",function(de){de.style("pointer-events",F?"none":"all")});b?oe.transition().attrTween("d",function(de){var me=I(de,l,Z(),[C,w]);return function(pe){return T(me(pe))}}):oe.attr("d",T),ie.call(c,m,h,f,{styleOne:p,eventDataKeys:u.eventDataKeys,transitionTime:u.CLICK_TRANSITION_TIME,transitionEasing:u.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,h,{isTransitioning:h._transitioning}),oe.call(p,Q,N,{hovered:!1}),Q.x0===Q.x1||Q.y0===Q.y1?Q._text="":Q._text=re?U?"":a.getPtLabel(Q)||"":s(Q,m,N,f,B)||"";var ue=g.ensureSingle(ie,"g","slicetext"),ce=g.ensureSingle(ue,"text","",function(de){de.attr("data-notex",1)}),ye=g.ensureUniformFontSize(h,a.determineTextFont(N,Q,B.font));ce.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":q||re?"start":"middle").call(i.font,ye).call(M.convertToTspans,h),Q.textBB=i.bBox(ce.node()),Q.transform=A(Q,{fontSize:ye.size,isHeader:re}),Q.transform.fontSize=ye.size,b?ce.transition().attrTween("transform",function(de){var me=R(de,l,Z(),[C,w]);return function(pe){return L(me(pe))}}):ce.attr("transform",L(Q))}),ne}},14102:function(x){x.exports=function o(t,d,g){var i;g.swapXY&&(i=t.x0,t.x0=t.y0,t.y0=i,i=t.x1,t.x1=t.y1,t.y1=i),g.flipX&&(i=t.x0,t.x0=d[0]-t.x1,t.x1=d[0]-i),g.flipY&&(i=t.y0,t.y0=d[1]-t.y1,t.y1=d[1]-i);var M=t.children;if(M)for(var v=0;v-1?N+Y:-(j+Y):0,G={x0:q,x1:q,y0:U,y1:U+j},W=function(ge,we,Ee){var Ve=w.tiling.pad,Ye=function(ft){return ft-Ve<=we.x0},$e=function(ft){return ft+Ve>=we.x1},st=function(ft){return ft-Ve<=we.y0},ot=function(ft){return ft+Ve>=we.y1};return ge.x0===we.x0&&ge.x1===we.x1&&ge.y0===we.y0&&ge.y1===we.y1?{x0:ge.x0,x1:ge.x1,y0:ge.y0,y1:ge.y1}:{x0:Ye(ge.x0-Ve)?0:$e(ge.x0-Ve)?Ee[0]:ge.x0,x1:Ye(ge.x1+Ve)?0:$e(ge.x1+Ve)?Ee[0]:ge.x1,y0:st(ge.y0-Ve)?0:ot(ge.y0-Ve)?Ee[1]:ge.y0,y1:st(ge.y1+Ve)?0:ot(ge.y1+Ve)?Ee[1]:ge.y1}},H=null,ne={},te={},Z=null,X=function(ge,we){return we?ne[s(ge)]:te[s(ge)]};C.hasMultipleRoots&&O&&R++,w._maxDepth=R,w._backgroundColor=y.paper_bgcolor,w._entryDepth=T.data.depth,w._atRootLevel=O;var Q=-B/2+z.l+z.w*(F.x[1]+F.x[0])/2,re=-N/2+z.t+z.h*(1-(F.y[1]+F.y[0])/2),ie=function(ge){return Q+ge},oe=function(ge){return re+ge},ue=oe(0),ce=ie(0),ye=function(ge){return ce+ge},de=function(ge){return ue+ge};function me(ge,we){return ge+","+we}var pe=ye(0),xe=function(ge){ge.x=Math.max(pe,ge.x)},Pe=w.pathbar.edgeshape,_e=w[k?"tiling":"marker"].pad,Me=function(ge){return w.textposition.indexOf(ge)!==-1},Se=Me("top"),Ce=Me("left"),ae=Me("right"),he=Me("bottom"),be=function(ge,we){var Ee=ge.x0,Ve=ge.x1,Ye=ge.y0,$e=ge.y1,st=ge.textBB,ot=Se||we.isHeader&&!he?"start":he?"end":"middle",ft=Me("right"),bt=Me("left")||we.onPathbar?-1:ft?1:0;if(we.isHeader){if((Ee+=(k?_e:_e.l)-v)>=(Ve-=(k?_e:_e.r)-v)){var Et=(Ee+Ve)/2;Ee=Et,Ve=Et}var kt;he?Ye<(kt=$e-(k?_e:_e.b))&&kt<$e&&(Ye=kt):Ye<(kt=Ye+(k?_e:_e.t))&&kt<$e&&($e=kt)}var xt=p(Ee,Ve,Ye,$e,st,{isHorizontal:!1,constrained:!0,angle:0,anchor:ot,leftToRight:bt});return xt.fontSize=we.fontSize,xt.targetX=ie(xt.targetX),xt.targetY=oe(xt.targetY),isNaN(xt.targetX)||isNaN(xt.targetY)?{}:(Ee!==Ve&&Ye!==$e&&u(w.type,xt,y),{scale:xt.scale,rotate:xt.rotate,textX:xt.textX,textY:xt.textY,anchorX:xt.anchorX,anchorY:xt.anchorY,targetX:xt.targetX,targetY:xt.targetY})},ke=function(ge,we){for(var Ee,Ve=0,Ye=ge;!Ee&&Ve"?(ft.x-=$e,bt.x-=$e,Et.x-=$e,kt.x-=$e):Pe==="/"?(Et.x-=$e,kt.x-=$e,st.x-=$e/2,ot.x-=$e/2):Pe==="\\"?(ft.x-=$e,bt.x-=$e,st.x-=$e/2,ot.x-=$e/2):Pe==="<"&&(st.x-=$e,ot.x-=$e),xe(ft),xe(kt),xe(st),xe(bt),xe(Et),xe(ot),"M"+me(ft.x,ft.y)+"L"+me(bt.x,bt.y)+"L"+me(ot.x,ot.y)+"L"+me(Et.x,Et.y)+"L"+me(kt.x,kt.y)+"L"+me(st.x,st.y)+"Z"},toMoveInsideSlice:be,makeUpdateSliceInterpolator:Le,makeUpdateTextInterpolator:Be,handleSlicesExit:ze,hasTransition:I,strTransform:je}):L.remove()}},96362:function(x,o,t){var d=t(39898),g=t(7901),i=t(71828),M=t(2791),v=t(72597).resizeText;function p(u,a,c,s){var l,h,f=(s||{}).hovered,m=a.data.data,_=m.i,y=m.color,C=M.isHierarchyRoot(a),w=1;if(f)l=c._hovered.marker.line.color,h=c._hovered.marker.line.width;else if(C&&y===c.root.color)w=100,l="rgba(0,0,0,0)",h=0;else if(l=i.castOption(c,_,"marker.line.color")||g.defaultLine,h=i.castOption(c,_,"marker.line.width")||0,!c._hasColorscale&&!a.onPathbar){var k=c.marker.depthfade;if(k){var E,T=g.combine(g.addOpacity(c._backgroundColor,.75),y);if(k===!0){var A=M.getMaxDepth(c);E=isFinite(A)?M.isLeaf(a)?0:c._maxVisibleLayers-(a.data.depth-c._entryDepth):a.data.height+1}else E=a.data.depth-c._entryDepth,c._atRootLevel||E++;if(E>0)for(var L=0;L0){var T,A,L,b,O,I=p.xa,R=p.ya;_.orientation==="h"?(O=u,T="y",L=R,A="x",b=I):(O=a,T="x",L=I,A="y",b=R);var z=m[p.index];if(O>=z.span[0]&&O<=z.span[1]){var F=g.extendFlat({},p),B=b.c2p(O,!0),N=v.getKdeValue(z,_,O),q=v.getPositionOnKdePath(z,_,B),j=L._offset,Y=L._length;F[T+"0"]=q[0],F[T+"1"]=q[1],F[A+"0"]=F[A+"1"]=B,F[A+"Label"]=A+": "+i.hoverLabelText(b,O,_[A+"hoverformat"])+", "+m[0].t.labels.kde+" "+N.toFixed(3);for(var U=0,G=0;G")),h.color=function(R,z){var F=R[z.dir].marker,B=F.color,N=F.line.color,q=F.line.width;return g(B)?B:g(N)&&q?N:void 0}(m,w),[h]}function I(R){return d(C,R,m[y+"hoverformat"])}}},19990:function(x,o,t){x.exports={attributes:t(43037),layoutAttributes:t(13494),supplyDefaults:t(83266).supplyDefaults,crossTraceDefaults:t(83266).crossTraceDefaults,supplyLayoutDefaults:t(5176),calc:t(52752),crossTraceCalc:t(70766),plot:t(30436),style:t(55750).style,hoverPoints:t(61326),eventData:t(58593),selectPoints:t(81974),moduleType:"trace",name:"waterfall",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},13494:function(x){x.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"}}},5176:function(x,o,t){var d=t(71828),g=t(13494);x.exports=function(i,M,v){var p=!1;function u(s,l){return d.coerce(i,M,g,s,l)}for(var a=0;a0&&(N+=A?"M"+F[0]+","+B[1]+"V"+B[0]:"M"+F[1]+","+B[0]+"H"+F[0]),L!=="between"&&(I.isSum||R path").each(function(_){if(!_.isBlank){var y=m[_.dir].marker;d.select(this).call(i.fill,y.color).call(i.stroke,y.line.color).call(g.dashLine,y.line.dash,y.line.width).style("opacity",m.selectedpoints&&!_.selected?M:1)}}),u(f,m,a),f.selectAll(".lines").each(function(){var _=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),_.width,_.color,_.dash)})})}}},82887:function(x,o,t){var d=t(89298),g=t(71828),i=t(86281),M=t(79344).p,v=t(50606).BADNUM;o.moduleType="transform",o.name="aggregate";var p=o.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=p.aggregations;function a(h,f,m,_){if(_.enabled){for(var y=_.target,C=g.nestedProperty(f,y),w=C.get(),k=function(A,L){var b=A.func,O=L.d2c,I=L.c2d;switch(b){case"count":return c;case"first":return s;case"last":return l;case"sum":return function(R,z){for(var F=0,B=0;BB&&(B=Y,N=j)}}return B?I(N):v};case"rms":return function(R,z){for(var F=0,B=0,N=0;N":return function(H){return W(H)>U};case">=":return function(H){return W(H)>=U};case"[]":return function(H){var ne=W(H);return ne>=U[0]&&ne<=U[1]};case"()":return function(H){var ne=W(H);return ne>U[0]&&ne=U[0]&&neU[0]&&ne<=U[1]};case"][":return function(H){var ne=W(H);return ne<=U[0]||ne>=U[1]};case")(":return function(H){var ne=W(H);return neU[1]};case"](":return function(H){var ne=W(H);return ne<=U[0]||ne>U[1]};case")[":return function(H){var ne=W(H);return ne=U[1]};case"{}":return function(H){return U.indexOf(W(H))!==-1};case"}{":return function(H){return U.indexOf(W(H))===-1}}}(l,i.getDataToCoordFunc(c,s,f,h),_),A={},L={},b=0;C?(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set(new Array(m))},E=function(z,F){var B=A[z.astr][F];z.get()[F]=B}):(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set([])},E=function(z,F){var B=A[z.astr][F];z.get().push(B)}),R(k);for(var O=M(s.transforms,l),I=0;I1?"%{group} (%{trace})":"%{group}");var h=p.styles,f=s.styles=[];if(h)for(c=0;ck)throw new RangeError('The value "'+ge+'" is invalid for option "size"');var we=new Uint8Array(ge);return Object.setPrototypeOf(we,T.prototype),we}function T(ge,we,Ee){if(typeof ge=="number"){if(typeof we=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(ge)}return A(ge,we,Ee)}function A(ge,we,Ee){if(typeof ge=="string")return function($e,st){if(typeof st=="string"&&st!==""||(st="utf8"),!T.isEncoding(st))throw new TypeError("Unknown encoding: "+st);var ot=0|z($e,st),ft=E(ot),bt=ft.write($e,st);return bt!==ot&&(ft=ft.slice(0,bt)),ft}(ge,we);if(ArrayBuffer.isView(ge))return function($e){if(ke($e,Uint8Array)){var st=new Uint8Array($e);return I(st.buffer,st.byteOffset,st.byteLength)}return O($e)}(ge);if(ge==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+_(ge));if(ke(ge,ArrayBuffer)||ge&&ke(ge.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke(ge,SharedArrayBuffer)||ge&&ke(ge.buffer,SharedArrayBuffer)))return I(ge,we,Ee);if(typeof ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ve=ge.valueOf&&ge.valueOf();if(Ve!=null&&Ve!==ge)return T.from(Ve,we,Ee);var Ye=function($e){if(T.isBuffer($e)){var st=0|R($e.length),ot=E(st);return ot.length===0||$e.copy(ot,0,0,st),ot}return $e.length!==void 0?typeof $e.length!="number"||Le($e.length)?E(0):O($e):$e.type==="Buffer"&&Array.isArray($e.data)?O($e.data):void 0}(ge);if(Ye)return Ye;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ge[Symbol.toPrimitive]=="function")return T.from(ge[Symbol.toPrimitive]("string"),we,Ee);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+_(ge))}function L(ge){if(typeof ge!="number")throw new TypeError('"size" argument must be of type number');if(ge<0)throw new RangeError('The value "'+ge+'" is invalid for option "size"')}function b(ge){return L(ge),E(ge<0?0:0|R(ge))}function O(ge){for(var we=ge.length<0?0:0|R(ge.length),Ee=E(we),Ve=0;Ve=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|ge}function z(ge,we){if(T.isBuffer(ge))return ge.length;if(ArrayBuffer.isView(ge)||ke(ge,ArrayBuffer))return ge.byteLength;if(typeof ge!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+_(ge));var Ee=ge.length,Ve=arguments.length>2&&arguments[2]===!0;if(!Ve&&Ee===0)return 0;for(var Ye=!1;;)switch(we){case"ascii":case"latin1":case"binary":return Ee;case"utf8":case"utf-8":return ae(ge).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Ee;case"hex":return Ee>>>1;case"base64":return he(ge).length;default:if(Ye)return Ve?-1:ae(ge).length;we=(""+we).toLowerCase(),Ye=!0}}function F(ge,we,Ee){var Ve=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Ee===void 0||Ee>this.length)&&(Ee=this.length),Ee<=0)||(Ee>>>=0)<=(we>>>=0))return"";for(ge||(ge="utf8");;)switch(ge){case"hex":return Q(this,we,Ee);case"utf8":case"utf-8":return ne(this,we,Ee);case"ascii":return Z(this,we,Ee);case"latin1":case"binary":return X(this,we,Ee);case"base64":return H(this,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,we,Ee);default:if(Ve)throw new TypeError("Unknown encoding: "+ge);ge=(ge+"").toLowerCase(),Ve=!0}}function B(ge,we,Ee){var Ve=ge[we];ge[we]=ge[Ee],ge[Ee]=Ve}function N(ge,we,Ee,Ve,Ye){if(ge.length===0)return-1;if(typeof Ee=="string"?(Ve=Ee,Ee=0):Ee>2147483647?Ee=2147483647:Ee<-2147483648&&(Ee=-2147483648),Le(Ee=+Ee)&&(Ee=Ye?0:ge.length-1),Ee<0&&(Ee=ge.length+Ee),Ee>=ge.length){if(Ye)return-1;Ee=ge.length-1}else if(Ee<0){if(!Ye)return-1;Ee=0}if(typeof we=="string"&&(we=T.from(we,Ve)),T.isBuffer(we))return we.length===0?-1:q(ge,we,Ee,Ve,Ye);if(typeof we=="number")return we&=255,typeof Uint8Array.prototype.indexOf=="function"?Ye?Uint8Array.prototype.indexOf.call(ge,we,Ee):Uint8Array.prototype.lastIndexOf.call(ge,we,Ee):q(ge,[we],Ee,Ve,Ye);throw new TypeError("val must be string, number or Buffer")}function q(ge,we,Ee,Ve,Ye){var $e,st=1,ot=ge.length,ft=we.length;if(Ve!==void 0&&((Ve=String(Ve).toLowerCase())==="ucs2"||Ve==="ucs-2"||Ve==="utf16le"||Ve==="utf-16le")){if(ge.length<2||we.length<2)return-1;st=2,ot/=2,ft/=2,Ee/=2}function bt(Ft,Dt){return st===1?Ft[Dt]:Ft.readUInt16BE(Dt*st)}if(Ye){var Et=-1;for($e=Ee;$eot&&(Ee=ot-ft),$e=Ee;$e>=0;$e--){for(var kt=!0,xt=0;xtYe&&(Ve=Ye):Ve=Ye;var $e,st=we.length;for(Ve>st/2&&(Ve=st/2),$e=0;$e>8,ft=st%256,bt.push(ft),bt.push(ot);return bt}(we,ge.length-Ee),ge,Ee,Ve)}function H(ge,we,Ee){return we===0&&Ee===ge.length?y.fromByteArray(ge):y.fromByteArray(ge.slice(we,Ee))}function ne(ge,we,Ee){Ee=Math.min(ge.length,Ee);for(var Ve=[],Ye=we;Ye239?4:$e>223?3:$e>191?2:1;if(Ye+ot<=Ee){var ft=void 0,bt=void 0,Et=void 0,kt=void 0;switch(ot){case 1:$e<128&&(st=$e);break;case 2:(192&(ft=ge[Ye+1]))==128&&(kt=(31&$e)<<6|63&ft)>127&&(st=kt);break;case 3:ft=ge[Ye+1],bt=ge[Ye+2],(192&ft)==128&&(192&bt)==128&&(kt=(15&$e)<<12|(63&ft)<<6|63&bt)>2047&&(kt<55296||kt>57343)&&(st=kt);break;case 4:ft=ge[Ye+1],bt=ge[Ye+2],Et=ge[Ye+3],(192&ft)==128&&(192&bt)==128&&(192&Et)==128&&(kt=(15&$e)<<18|(63&ft)<<12|(63&bt)<<6|63&Et)>65535&&kt<1114112&&(st=kt)}}st===null?(st=65533,ot=1):st>65535&&(st-=65536,Ve.push(st>>>10&1023|55296),st=56320|1023&st),Ve.push(st),Ye+=ot}return function(xt){var Ft=xt.length;if(Ft<=te)return String.fromCharCode.apply(String,xt);for(var Dt="",Bt=0;Bt"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(T.prototype,"parent",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.buffer}}),Object.defineProperty(T.prototype,"offset",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.byteOffset}}),T.poolSize=8192,T.from=function(ge,we,Ee){return A(ge,we,Ee)},Object.setPrototypeOf(T.prototype,Uint8Array.prototype),Object.setPrototypeOf(T,Uint8Array),T.alloc=function(ge,we,Ee){return function(Ve,Ye,$e){return L(Ve),Ve<=0?E(Ve):Ye!==void 0?typeof $e=="string"?E(Ve).fill(Ye,$e):E(Ve).fill(Ye):E(Ve)}(ge,we,Ee)},T.allocUnsafe=function(ge){return b(ge)},T.allocUnsafeSlow=function(ge){return b(ge)},T.isBuffer=function(ge){return ge!=null&&ge._isBuffer===!0&&ge!==T.prototype},T.compare=function(ge,we){if(ke(ge,Uint8Array)&&(ge=T.from(ge,ge.offset,ge.byteLength)),ke(we,Uint8Array)&&(we=T.from(we,we.offset,we.byteLength)),!T.isBuffer(ge)||!T.isBuffer(we))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ge===we)return 0;for(var Ee=ge.length,Ve=we.length,Ye=0,$e=Math.min(Ee,Ve);Ye<$e;++Ye)if(ge[Ye]!==we[Ye]){Ee=ge[Ye],Ve=we[Ye];break}return EeVe.length?(T.isBuffer($e)||($e=T.from($e)),$e.copy(Ve,Ye)):Uint8Array.prototype.set.call(Ve,$e,Ye);else{if(!T.isBuffer($e))throw new TypeError('"list" argument must be an Array of Buffers');$e.copy(Ve,Ye)}Ye+=$e.length}return Ve},T.byteLength=z,T.prototype._isBuffer=!0,T.prototype.swap16=function(){var ge=this.length;if(ge%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var we=0;wewe&&(ge+=" ... "),""},w&&(T.prototype[w]=T.prototype.inspect),T.prototype.compare=function(ge,we,Ee,Ve,Ye){if(ke(ge,Uint8Array)&&(ge=T.from(ge,ge.offset,ge.byteLength)),!T.isBuffer(ge))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+_(ge));if(we===void 0&&(we=0),Ee===void 0&&(Ee=ge?ge.length:0),Ve===void 0&&(Ve=0),Ye===void 0&&(Ye=this.length),we<0||Ee>ge.length||Ve<0||Ye>this.length)throw new RangeError("out of range index");if(Ve>=Ye&&we>=Ee)return 0;if(Ve>=Ye)return-1;if(we>=Ee)return 1;if(this===ge)return 0;for(var $e=(Ye>>>=0)-(Ve>>>=0),st=(Ee>>>=0)-(we>>>=0),ot=Math.min($e,st),ft=this.slice(Ve,Ye),bt=ge.slice(we,Ee),Et=0;Et>>=0,isFinite(Ee)?(Ee>>>=0,Ve===void 0&&(Ve="utf8")):(Ve=Ee,Ee=void 0)}var Ye=this.length-we;if((Ee===void 0||Ee>Ye)&&(Ee=Ye),ge.length>0&&(Ee<0||we<0)||we>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ve||(Ve="utf8");for(var $e=!1;;)switch(Ve){case"hex":return j(this,ge,we,Ee);case"utf8":case"utf-8":return Y(this,ge,we,Ee);case"ascii":case"latin1":case"binary":return U(this,ge,we,Ee);case"base64":return G(this,ge,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W(this,ge,we,Ee);default:if($e)throw new TypeError("Unknown encoding: "+Ve);Ve=(""+Ve).toLowerCase(),$e=!0}},T.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var te=4096;function Z(ge,we,Ee){var Ve="";Ee=Math.min(ge.length,Ee);for(var Ye=we;YeVe)&&(Ee=Ve);for(var Ye="",$e=we;$eEe)throw new RangeError("Trying to access beyond buffer length")}function oe(ge,we,Ee,Ve,Ye,$e){if(!T.isBuffer(ge))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>Ye||we<$e)throw new RangeError('"value" argument is out of bounds');if(Ee+Ve>ge.length)throw new RangeError("Index out of range")}function ue(ge,we,Ee,Ve,Ye){_e(we,Ve,Ye,ge,Ee,7);var $e=Number(we&BigInt(4294967295));ge[Ee++]=$e,$e>>=8,ge[Ee++]=$e,$e>>=8,ge[Ee++]=$e,$e>>=8,ge[Ee++]=$e;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,Ee}function ce(ge,we,Ee,Ve,Ye){_e(we,Ve,Ye,ge,Ee,7);var $e=Number(we&BigInt(4294967295));ge[Ee+7]=$e,$e>>=8,ge[Ee+6]=$e,$e>>=8,ge[Ee+5]=$e,$e>>=8,ge[Ee+4]=$e;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee+3]=st,st>>=8,ge[Ee+2]=st,st>>=8,ge[Ee+1]=st,st>>=8,ge[Ee]=st,Ee+8}function ye(ge,we,Ee,Ve,Ye,$e){if(Ee+Ve>ge.length)throw new RangeError("Index out of range");if(Ee<0)throw new RangeError("Index out of range")}function de(ge,we,Ee,Ve,Ye){return we=+we,Ee>>>=0,Ye||ye(ge,0,Ee,4),C.write(ge,we,Ee,Ve,23,4),Ee+4}function me(ge,we,Ee,Ve,Ye){return we=+we,Ee>>>=0,Ye||ye(ge,0,Ee,8),C.write(ge,we,Ee,Ve,52,8),Ee+8}T.prototype.slice=function(ge,we){var Ee=this.length;(ge=~~ge)<0?(ge+=Ee)<0&&(ge=0):ge>Ee&&(ge=Ee),(we=we===void 0?Ee:~~we)<0?(we+=Ee)<0&&(we=0):we>Ee&&(we=Ee),we>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],Ye=1,$e=0;++$e>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge+--we],Ye=1;we>0&&(Ye*=256);)Ve+=this[ge+--we]*Ye;return Ve},T.prototype.readUint8=T.prototype.readUInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),this[ge]},T.prototype.readUint16LE=T.prototype.readUInt16LE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]|this[ge+1]<<8},T.prototype.readUint16BE=T.prototype.readUInt16BE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]<<8|this[ge+1]},T.prototype.readUint32LE=T.prototype.readUInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),(this[ge]|this[ge+1]<<8|this[ge+2]<<16)+16777216*this[ge+3]},T.prototype.readUint32BE=T.prototype.readUInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),16777216*this[ge]+(this[ge+1]<<16|this[ge+2]<<8|this[ge+3])},T.prototype.readBigUInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,24),Ye=this[++ge]+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+Ee*Math.pow(2,24);return BigInt(Ve)+(BigInt(Ye)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge],Ye=this[++ge]*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+Ee;return(BigInt(Ve)<>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],Ye=1,$e=0;++$e=(Ye*=128)&&(Ve-=Math.pow(2,8*we)),Ve},T.prototype.readIntBE=function(ge,we,Ee){ge>>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=we,Ye=1,$e=this[ge+--Ve];Ve>0&&(Ye*=256);)$e+=this[ge+--Ve]*Ye;return $e>=(Ye*=128)&&($e-=Math.pow(2,8*we)),$e},T.prototype.readInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),128&this[ge]?-1*(255-this[ge]+1):this[ge]},T.prototype.readInt16LE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge]|this[ge+1]<<8;return 32768&Ee?4294901760|Ee:Ee},T.prototype.readInt16BE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge+1]|this[ge]<<8;return 32768&Ee?4294901760|Ee:Ee},T.prototype.readInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]|this[ge+1]<<8|this[ge+2]<<16|this[ge+3]<<24},T.prototype.readInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]<<24|this[ge+1]<<16|this[ge+2]<<8|this[ge+3]},T.prototype.readBigInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=this[ge+4]+this[ge+5]*Math.pow(2,8)+this[ge+6]*Math.pow(2,16)+(Ee<<24);return(BigInt(Ve)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=(we<<24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge];return(BigInt(Ve)<>>=0,we||ie(ge,4,this.length),C.read(this,ge,!0,23,4)},T.prototype.readFloatBE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),C.read(this,ge,!1,23,4)},T.prototype.readDoubleLE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),C.read(this,ge,!0,52,8)},T.prototype.readDoubleBE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),C.read(this,ge,!1,52,8)},T.prototype.writeUintLE=T.prototype.writeUIntLE=function(ge,we,Ee,Ve){ge=+ge,we>>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var Ye=1,$e=0;for(this[we]=255≥++$e>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var Ye=Ee-1,$e=1;for(this[we+Ye]=255≥--Ye>=0&&($e*=256);)this[we+Ye]=ge/$e&255;return we+Ee},T.prototype.writeUint8=T.prototype.writeUInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,255,0),this[we]=255&ge,we+1},T.prototype.writeUint16LE=T.prototype.writeUInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=255&ge,this[we+1]=ge>>>8,we+2},T.prototype.writeUint16BE=T.prototype.writeUInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=ge>>>8,this[we+1]=255&ge,we+2},T.prototype.writeUint32LE=T.prototype.writeUInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we+3]=ge>>>24,this[we+2]=ge>>>16,this[we+1]=ge>>>8,this[we]=255&ge,we+4},T.prototype.writeUint32BE=T.prototype.writeUInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},T.prototype.writeBigUInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeBigUInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeIntLE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var Ye=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,Ye-1,-Ye)}var $e=0,st=1,ot=0;for(this[we]=255≥++$e>0)-ot&255;return we+Ee},T.prototype.writeIntBE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var Ye=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,Ye-1,-Ye)}var $e=Ee-1,st=1,ot=0;for(this[we+$e]=255≥--$e>=0&&(st*=256);)ge<0&&ot===0&&this[we+$e+1]!==0&&(ot=1),this[we+$e]=(ge/st>>0)-ot&255;return we+Ee},T.prototype.writeInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,127,-128),ge<0&&(ge=255+ge+1),this[we]=255&ge,we+1},T.prototype.writeInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=255&ge,this[we+1]=ge>>>8,we+2},T.prototype.writeInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=ge>>>8,this[we+1]=255&ge,we+2},T.prototype.writeInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),this[we]=255&ge,this[we+1]=ge>>>8,this[we+2]=ge>>>16,this[we+3]=ge>>>24,we+4},T.prototype.writeInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),ge<0&&(ge=4294967295+ge+1),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},T.prototype.writeBigInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeBigInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeFloatLE=function(ge,we,Ee){return de(this,ge,we,!0,Ee)},T.prototype.writeFloatBE=function(ge,we,Ee){return de(this,ge,we,!1,Ee)},T.prototype.writeDoubleLE=function(ge,we,Ee){return me(this,ge,we,!0,Ee)},T.prototype.writeDoubleBE=function(ge,we,Ee){return me(this,ge,we,!1,Ee)},T.prototype.copy=function(ge,we,Ee,Ve){if(!T.isBuffer(ge))throw new TypeError("argument should be a Buffer");if(Ee||(Ee=0),Ve||Ve===0||(Ve=this.length),we>=ge.length&&(we=ge.length),we||(we=0),Ve>0&&Ve=this.length)throw new RangeError("Index out of range");if(Ve<0)throw new RangeError("sourceEnd out of bounds");Ve>this.length&&(Ve=this.length),ge.length-we>>=0,Ee=Ee===void 0?this.length:Ee>>>0,ge||(ge=0),typeof ge=="number")for($e=we;$e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Et,kt=m(st);if(ot){var xt=m(this).constructor;Et=Reflect.construct(kt,arguments,xt)}else Et=kt.apply(this,arguments);return h(this,Et)});function bt(){var Et;return c(this,bt),Et=ft.call(this),Object.defineProperty(f(Et),"message",{value:we.apply(f(Et),arguments),writable:!0,configurable:!0}),Et.name="".concat(Et.name," [").concat(ge,"]"),Et.stack,delete Et.name,Et}return Ye=bt,($e=[{key:"code",get:function(){return ge},set:function(Et){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Et,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ge,"]: ").concat(this.message)}}])&&s(Ye.prototype,$e),Object.defineProperty(Ye,"prototype",{writable:!1}),bt}(Ee)}function Pe(ge){for(var we="",Ee=ge.length,Ve=ge[0]==="-"?1:0;Ee>=Ve+4;Ee-=3)we="_".concat(ge.slice(Ee-3,Ee)).concat(we);return"".concat(ge.slice(0,Ee)).concat(we)}function _e(ge,we,Ee,Ve,Ye,$e){if(ge>Ee||ge3?we===0||we===BigInt(0)?">= 0".concat(ot," and < 2").concat(ot," ** ").concat(8*($e+1)).concat(ot):">= -(2".concat(ot," ** ").concat(8*($e+1)-1).concat(ot,") and < 2 ** ")+"".concat(8*($e+1)-1).concat(ot):">= ".concat(we).concat(ot," and <= ").concat(Ee).concat(ot),new pe.ERR_OUT_OF_RANGE("value",st,ge)}(function(ft,bt,Et){Me(bt,"offset"),ft[bt]!==void 0&&ft[bt+Et]!==void 0||Se(bt,ft.length-(Et+1))})(Ve,Ye,$e)}function Me(ge,we){if(typeof ge!="number")throw new pe.ERR_INVALID_ARG_TYPE(we,"number",ge)}function Se(ge,we,Ee){throw Math.floor(ge)!==ge?(Me(ge,Ee),new pe.ERR_OUT_OF_RANGE(Ee||"offset","an integer",ge)):we<0?new pe.ERR_BUFFER_OUT_OF_BOUNDS:new pe.ERR_OUT_OF_RANGE(Ee||"offset",">= ".concat(Ee?1:0," and <= ").concat(we),ge)}xe("ERR_BUFFER_OUT_OF_BOUNDS",function(ge){return ge?"".concat(ge," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),xe("ERR_INVALID_ARG_TYPE",function(ge,we){return'The "'.concat(ge,'" argument must be of type number. Received type ').concat(_(we))},TypeError),xe("ERR_OUT_OF_RANGE",function(ge,we,Ee){var Ve='The value of "'.concat(ge,'" is out of range.'),Ye=Ee;return Number.isInteger(Ee)&&Math.abs(Ee)>Math.pow(2,32)?Ye=Pe(String(Ee)):typeof Ee=="bigint"&&(Ye=String(Ee),(Ee>Math.pow(BigInt(2),BigInt(32))||Ee<-Math.pow(BigInt(2),BigInt(32)))&&(Ye=Pe(Ye)),Ye+="n"),Ve+" It must be ".concat(we,". Received ").concat(Ye)},RangeError);var Ce=/[^+/0-9A-Za-z-_]/g;function ae(ge,we){var Ee;we=we||1/0;for(var Ve=ge.length,Ye=null,$e=[],st=0;st55295&&Ee<57344){if(!Ye){if(Ee>56319){(we-=3)>-1&&$e.push(239,191,189);continue}if(st+1===Ve){(we-=3)>-1&&$e.push(239,191,189);continue}Ye=Ee;continue}if(Ee<56320){(we-=3)>-1&&$e.push(239,191,189),Ye=Ee;continue}Ee=65536+(Ye-55296<<10|Ee-56320)}else Ye&&(we-=3)>-1&&$e.push(239,191,189);if(Ye=null,Ee<128){if((we-=1)<0)break;$e.push(Ee)}else if(Ee<2048){if((we-=2)<0)break;$e.push(Ee>>6|192,63&Ee|128)}else if(Ee<65536){if((we-=3)<0)break;$e.push(Ee>>12|224,Ee>>6&63|128,63&Ee|128)}else{if(!(Ee<1114112))throw new Error("Invalid code point");if((we-=4)<0)break;$e.push(Ee>>18|240,Ee>>12&63|128,Ee>>6&63|128,63&Ee|128)}}return $e}function he(ge){return y.toByteArray(function(we){if((we=(we=we.split("=")[0]).trim().replace(Ce,"")).length<2)return"";for(;we.length%4!=0;)we+="=";return we}(ge))}function be(ge,we,Ee,Ve){var Ye;for(Ye=0;Ye=we.length||Ye>=ge.length);++Ye)we[Ye+Ee]=ge[Ye];return Ye}function ke(ge,we){return ge instanceof we||ge!=null&&ge.constructor!=null&&ge.constructor.name!=null&&ge.constructor.name===we.name}function Le(ge){return ge!=ge}var Be=function(){for(var ge="0123456789abcdef",we=new Array(256),Ee=0;Ee<16;++Ee)for(var Ve=16*Ee,Ye=0;Ye<16;++Ye)we[Ve+Ye]=ge[Ee]+ge[Ye];return we}();function ze(ge){return typeof BigInt>"u"?je:ge}function je(){throw new Error("BigInt not supported")}},2321:function(p){p.exports=s,p.exports.isMobile=s,p.exports.default=s;var u=/(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,a=/CrOS/,c=/android|ipad|playbook|silk/i;function s(l){l||(l={});var h=l.ua;if(h||typeof navigator>"u"||(h=navigator.userAgent),h&&h.headers&&typeof h.headers["user-agent"]=="string"&&(h=h.headers["user-agent"]),typeof h!="string")return!1;var f=u.test(h)&&!a.test(h)||!!l.tablet&&c.test(h);return!f&&l.tablet&&l.featureDetect&&navigator&&navigator.maxTouchPoints>1&&h.indexOf("Macintosh")!==-1&&h.indexOf("Safari")!==-1&&(f=!0),f}},3910:function(p,u){u.byteLength=function(y){var C=m(y),w=C[0],k=C[1];return 3*(w+k)/4-k},u.toByteArray=function(y){var C,w,k=m(y),E=k[0],T=k[1],A=new s(function(O,I,R){return 3*(I+R)/4-R}(0,E,T)),L=0,b=T>0?E-4:E;for(w=0;w>16&255,A[L++]=C>>8&255,A[L++]=255&C;return T===2&&(C=c[y.charCodeAt(w)]<<2|c[y.charCodeAt(w+1)]>>4,A[L++]=255&C),T===1&&(C=c[y.charCodeAt(w)]<<10|c[y.charCodeAt(w+1)]<<4|c[y.charCodeAt(w+2)]>>2,A[L++]=C>>8&255,A[L++]=255&C),A},u.fromByteArray=function(y){for(var C,w=y.length,k=w%3,E=[],T=16383,A=0,L=w-k;AL?L:A+T));return k===1?(C=y[w-1],E.push(a[C>>2]+a[C<<4&63]+"==")):k===2&&(C=(y[w-2]<<8)+y[w-1],E.push(a[C>>10]+a[C>>4&63]+a[C<<2&63]+"=")),E.join("")};for(var a=[],c=[],s=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,f=l.length;h0)throw new Error("Invalid string. Length must be a multiple of 4");var w=y.indexOf("=");return w===-1&&(w=C),[w,w===C?0:4-w%4]}function _(y,C,w){for(var k,E,T=[],A=C;A>18&63]+a[E>>12&63]+a[E>>6&63]+a[63&E]);return T.join("")}c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},3187:function(p,u){u.read=function(a,c,s,l,h){var f,m,_=8*h-l-1,y=(1<<_)-1,C=y>>1,w=-7,k=s?h-1:0,E=s?-1:1,T=a[c+k];for(k+=E,f=T&(1<<-w)-1,T>>=-w,w+=_;w>0;f=256*f+a[c+k],k+=E,w-=8);for(m=f&(1<<-w)-1,f>>=-w,w+=l;w>0;m=256*m+a[c+k],k+=E,w-=8);if(f===0)f=1-C;else{if(f===y)return m?NaN:1/0*(T?-1:1);m+=Math.pow(2,l),f-=C}return(T?-1:1)*m*Math.pow(2,f-l)},u.write=function(a,c,s,l,h,f){var m,_,y,C=8*f-h-1,w=(1<>1,E=h===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=l?0:f-1,A=l?1:-1,L=c<0||c===0&&1/c<0?1:0;for(c=Math.abs(c),isNaN(c)||c===1/0?(_=isNaN(c)?1:0,m=w):(m=Math.floor(Math.log(c)/Math.LN2),c*(y=Math.pow(2,-m))<1&&(m--,y*=2),(c+=m+k>=1?E/y:E*Math.pow(2,1-k))*y>=2&&(m++,y/=2),m+k>=w?(_=0,m=w):m+k>=1?(_=(c*y-1)*Math.pow(2,h),m+=k):(_=c*Math.pow(2,k-1)*Math.pow(2,h),m=0));h>=8;a[s+T]=255&_,T+=A,_/=256,h-=8);for(m=m<0;a[s+T]=255&m,T+=A,m/=256,C-=8);a[s+T-A]|=128*L}},1152:function(p,u,a){p.exports=function(m){var _=(m=m||{}).eye||[0,0,1],y=m.center||[0,0,0],C=m.up||[0,1,0],w=m.distanceLimits||[0,1/0],k=m.mode||"turntable",E=c(),T=s(),A=l();return E.setDistanceLimits(w[0],w[1]),E.lookAt(0,_,y,C),T.setDistanceLimits(w[0],w[1]),T.lookAt(0,_,y,C),A.setDistanceLimits(w[0],w[1]),A.lookAt(0,_,y,C),new h({turntable:E,orbit:T,matrix:A},k)};var c=a(3440),s=a(7774),l=a(9298);function h(m,_){this._controllerNames=Object.keys(m),this._controllerList=this._controllerNames.map(function(y){return m[y]}),this._mode=_,this._active=m[_],this._active||(this._mode="turntable",this._active=m.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 f=h.prototype;f.flush=function(m){for(var _=this._controllerList,y=0;y<_.length;++y)_[y].flush(m)},f.idle=function(m){for(var _=this._controllerList,y=0;y<_.length;++y)_[y].idle(m)},f.lookAt=function(m,_,y,C){for(var w=this._controllerList,k=0;k"u"?a(5346):WeakMap,s=a(5827),l=a(2944),h=new c;p.exports=function(f){var m=h.get(f),_=m&&(m._triangleBuffer.handle||m._triangleBuffer.buffer);if(!_||!f.isBuffer(_)){var y=s(f,new Float32Array([-1,-1,-1,4,4,-1]));(m=l(f,[{buffer:y,type:f.FLOAT,size:2}]))._triangleBuffer=y,h.set(f,m)}m.bind(),f.drawArrays(f.TRIANGLES,0,3),m.unbind()}},8008:function(p,u,a){var c=a(4930);p.exports=function(s,l,h){l=typeof l=="number"?l:1,h=h||": ";var f=s.split(/\r?\n/),m=String(f.length+l-1).length;return f.map(function(_,y){var C=y+l,w=String(C).length;return c(C,m-w)+h+_}).join(` +children sum =`,de].join(" "))}ue.value=ye})}else h(Z,m,{branches:m.count.indexOf("branches")!==-1,leaves:m.count.indexOf("leaves")!==-1});if(!X){var Q,re;m.sort&&Z.sort(function(ue,ce){return ce.value-ue.value});var ie=m.marker.colors||[],oe=!!ie.length;return m._hasColorscale?(oe||(ie=R?m.values:m._values),u(f,m,{vals:ie,containerStr:"marker",cLetter:"c"}),re=M(m.marker)):Q=g(T["_"+m.type+"colormap"]),Z.each(function(ue){var ce=ue.data.data;ce.color=m._hasColorscale?re(ie[ce.i]):Q(ie[ce.i],ce.id)}),z[0].hierarchy=Z,z}},o._runCrossTraceCalc=function(f,m){var _=m._fullLayout,y=m.calcdata,C=_[f+"colorway"],w=_["_"+f+"colormap"];_["extend"+f+"colors"]&&(C=p(C,f==="icicle"?l:f==="treemap"?s:c));var k,E=0;function T(b){var O=b.data.data,I=O.id;O.color===!1&&(w[I]?O.color=w[I]:b.parent?b.parent.parent?O.color=b.parent.data.data.color:(w[I]=O.color=C[E%C.length],E++):O.color=k)}for(var A=0;A"),name:B||ne("name")?L.name:void 0,color:F("hoverlabel.bgcolor")||b.color,borderColor:F("hoverlabel.bordercolor"),fontFamily:F("hoverlabel.font.family"),fontSize:F("hoverlabel.font.size"),fontColor:F("hoverlabel.font.color"),nameLength:F("hoverlabel.namelength"),textAlign:F("hoverlabel.align"),hovertemplate:B,hovertemplateLabels:G,eventData:A};w&&(X.x0=j-E.rInscribed*E.rpx1,X.x1=j+E.rInscribed*E.rpx1,X.idealAlign=E.pxmid[0]<0?"left":"right"),k&&(X.x=j,X.idealAlign=j<0?"left":"right");var Q=[];M.loneHover(X,{container:T._hoverlayer.node(),outerContainer:T._paper.node(),gd:h,inOut_bbox:Q}),A[0].bbox=Q[0],y._hasHoverLabel=!0}if(k){var re=s.select("path.surface");m.styleOne(re,E,L,{hovered:!0})}y._hasHoverEvent=!0,h.emit("plotly_hover",{points:A||[c(E,L,m.eventDataKeys)],event:d.event})}}),s.on("mouseout",function(E){var T=h._fullLayout,A=h._fullData[y.index],L=d.select(this).datum();if(y._hasHoverEvent&&(E.originalEvent=d.event,h.emit("plotly_unhover",{points:[c(L,A,m.eventDataKeys)],event:d.event}),y._hasHoverEvent=!1),y._hasHoverLabel&&(M.loneUnhover(T._hoverlayer.node()),y._hasHoverLabel=!1),k){var b=s.select("path.surface");m.styleOne(b,L,A,{hovered:!1})}}),s.on("click",function(E){var T=h._fullLayout,A=h._fullData[y.index],L=w&&(u.isHierarchyRoot(E)||u.isLeaf(E)),b=u.getPtId(E),O=u.isEntry(E)?u.findEntryWithChild(C,b):u.findEntryWithLevel(C,b),I=u.getPtId(O),R={points:[c(E,A,m.eventDataKeys)],event:d.event};L||(R.nextLevel=I);var z=p.triggerHandler(h,"plotly_"+y.type+"click",R);if(z!==!1&&T.hovermode&&(h._hoverdata=[c(E,A,m.eventDataKeys)],M.click(h,d.event)),!L&&z!==!1&&!h._dragging&&!h._transitioning){v.call("_storeDirectGUIEdit",A,T._tracePreGUI[A.uid],{level:A.level});var F={data:[{level:I}],traces:[y.index]},B={frame:{redraw:!1,duration:m.transitionTime},transition:{duration:m.transitionTime,easing:m.transitionEasing},mode:"immediate",fromcurrent:!0};M.loneUnhover(T._hoverlayer.node()),v.call("animate",h,F,B)}})}},2791:function(x,o,t){var d=t(71828),v=t(7901),i=t(6964),M=t(53581);function g(p){return p.data.data.pid}o.findEntryWithLevel=function(p,u){var a;return u&&p.eachAfter(function(c){if(o.getPtId(c)===u)return a=c.copy()}),a||p},o.findEntryWithChild=function(p,u){var a;return p.eachAfter(function(c){for(var s=c.children||[],l=0;l0)},o.getMaxDepth=function(p){return p.maxdepth>=0?p.maxdepth:1/0},o.isHeader=function(p,u){return!(o.isLeaf(p)||p.depth===u._maxDepth-1)},o.getParent=function(p,u){return o.findEntryWithLevel(p,g(u))},o.listPath=function(p,u){var a=p.parent;if(!a)return[];var c=u?[a.data[u]]:[a];return o.listPath(a,u).concat(c)},o.getPath=function(p){return o.listPath(p,"label").join("/")+"/"},o.formatValue=M.formatPieValue,o.formatPercent=function(p,u){var a=d.formatPercent(p,0);return a==="0%"&&(a=M.formatPiePercent(p,u)),a}},87619:function(x,o,t){x.exports={moduleType:"trace",name:"sunburst",basePlotModule:t(66888),categories:[],animatable:!0,attributes:t(57564),layoutAttributes:t(2654),supplyDefaults:t(17094),supplyLayoutDefaults:t(57034),calc:t(52147).calc,crossTraceCalc:t(52147).crossTraceCalc,plot:t(24714).plot,style:t(29969).style,colorbar:t(4898),meta:{}}},2654:function(x){x.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57034:function(x,o,t){var d=t(71828),v=t(2654);x.exports=function(i,M){function g(p,u){return d.coerce(i,M,v,p,u)}g("sunburstcolorway",M.colorway),g("extendsunburstcolors")}},24714:function(x,o,t){var d=t(39898),v=t(674),i=t(81684).sX,M=t(91424),g=t(71828),p=t(63893),u=t(72597),a=u.recordMinTextSize,c=u.clearMinTextSize,s=t(14575),l=t(53581).getRotationAngle,h=s.computeTransform,f=s.transformInsideText,m=t(29969).styleOne,_=t(16688).resizeText,y=t(83523),C=t(7055),w=t(2791);function k(T,A,L,b){var O=T._context.staticPlot,I=T._fullLayout,R=!I.uniformtext.mode&&w.hasTransition(b),z=d.select(L).selectAll("g.slice"),F=A[0],B=F.trace,N=F.hierarchy,q=w.findEntryWithLevel(N,B.level),j=w.getMaxDepth(B),Y=I._size,U=B.domain,G=Y.w*(U.x[1]-U.x[0]),W=Y.h*(U.y[1]-U.y[0]),H=.5*Math.min(G,W),ne=F.cx=Y.l+Y.w*(U.x[1]+U.x[0])/2,te=F.cy=Y.t+Y.h*(1-U.y[0])-W/2;if(!q)return z.remove();var Z=null,X={};R&&z.each(function(Ce){X[w.getPtId(Ce)]={rpx0:Ce.rpx0,rpx1:Ce.rpx1,x0:Ce.x0,x1:Ce.x1,transform:Ce.transform},!Z&&w.isEntry(Ce)&&(Z=Ce)});var Q=function(Ce){return v.partition().size([2*Math.PI,Ce.height+1])(Ce)}(q).descendants(),re=q.height+1,ie=0,oe=j;F.hasMultipleRoots&&w.isHierarchyRoot(q)&&(Q=Q.slice(1),re-=1,ie=1,oe+=1),Q=Q.filter(function(Ce){return Ce.y1<=oe});var ue=l(B.rotation);ue&&Q.forEach(function(Ce){Ce.x0+=ue,Ce.x1+=ue});var ce=Math.min(re,j),ye=function(Ce){return(Ce-ie)/ce*H},de=function(Ce,ae){return[Ce*Math.cos(ae),-Ce*Math.sin(ae)]},me=function(Ce){return g.pathAnnulus(Ce.rpx0,Ce.rpx1,Ce.x0,Ce.x1,ne,te)},pe=function(Ce){return ne+E(Ce)[0]*(Ce.transform.rCenter||0)+(Ce.transform.x||0)},xe=function(Ce){return te+E(Ce)[1]*(Ce.transform.rCenter||0)+(Ce.transform.y||0)};(z=z.data(Q,w.getPtId)).enter().append("g").classed("slice",!0),R?z.exit().transition().each(function(){var Ce=d.select(this);Ce.select("path.surface").transition().attrTween("d",function(ae){var he=function(be){var ke,Le=w.getPtId(be),Be=X[Le],ze=X[w.getPtId(q)];if(ze){var je=(be.x1>ze.x1?2*Math.PI:0)+ue;ke=be.rpx1Pe?2*Math.PI:0)+ue;Ee={x0:$e,x1:$e}}else Ee={rpx0:H,rpx1:H},g.extendFlat(Ee,Se(we));else Ee={rpx0:0,rpx1:0};else Ee={x0:ue,x1:ue};return i(Ee,Ye)}(je);return function(we){return me(ge(we))}}):he.attr("d",me),ae.call(y,q,T,A,{eventDataKeys:C.eventDataKeys,transitionTime:C.CLICK_TRANSITION_TIME,transitionEasing:C.CLICK_TRANSITION_EASING}).call(w.setSliceCursor,T,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:T._transitioning}),he.call(m,Ce,B);var be=g.ensureSingle(ae,"g","slicetext"),ke=g.ensureSingle(be,"text","",function(je){je.attr("data-notex",1)}),Le=g.ensureUniformFontSize(T,w.determineTextFont(B,Ce,I.font));ke.text(o.formatSliceLabel(Ce,q,B,A,I)).classed("slicetext",!0).attr("text-anchor","middle").call(M.font,Le).call(p.convertToTspans,T);var Be=M.bBox(ke.node());Ce.transform=f(Be,Ce,F),Ce.transform.targetX=pe(Ce),Ce.transform.targetY=xe(Ce);var ze=function(je,ge){var we=je.transform;return h(we,ge),we.fontSize=Le.size,a(B.type,we,I),g.getTextTransform(we)};R?ke.transition().attrTween("transform",function(je){var ge=function(we){var Ee,Ve=X[w.getPtId(we)],Ye=we.transform;if(Ve)Ee=Ve;else if(Ee={rpx1:we.rpx1,transform:{textPosAngle:Ye.textPosAngle,scale:0,rotate:Ye.rotate,rCenter:Ye.rCenter,x:Ye.x,y:Ye.y}},Z)if(we.parent)if(Pe){var $e=we.x1>Pe?2*Math.PI:0;Ee.x0=Ee.x1=$e}else g.extendFlat(Ee,Se(we));else Ee.x0=Ee.x1=ue;else Ee.x0=Ee.x1=ue;var st=i(Ee.transform.textPosAngle,we.transform.textPosAngle),ot=i(Ee.rpx1,we.rpx1),ft=i(Ee.x0,we.x0),bt=i(Ee.x1,we.x1),Et=i(Ee.transform.scale,Ye.scale),kt=i(Ee.transform.rotate,Ye.rotate),xt=Ye.rCenter===0?3:Ee.transform.rCenter===0?1/3:1,Ft=i(Ee.transform.rCenter,Ye.rCenter);return function(Dt){var Bt=ot(Dt),Wt=ft(Dt),Vt=bt(Dt),Ke=function(We){return Ft(Math.pow(We,xt))}(Dt),Je={pxmid:de(Bt,(Wt+Vt)/2),rpx1:Bt,transform:{textPosAngle:st(Dt),rCenter:Ke,x:Ye.x,y:Ye.y}};return a(B.type,Ye,I),{transform:{targetX:pe(Je),targetY:xe(Je),scale:Et(Dt),rotate:kt(Dt),rCenter:Ke}}}}(je);return function(we){return ze(ge(we),Be)}}):ke.attr("transform",ze(Ce,Be))})}function E(T){return A=T.rpx1,L=T.transform.textPosAngle,[A*Math.sin(L),-A*Math.cos(L)];var A,L}o.plot=function(T,A,L,b){var O,I,R=T._fullLayout,z=R._sunburstlayer,F=!L,B=!R.uniformtext.mode&&w.hasTransition(L);c("sunburst",R),(O=z.selectAll("g.trace.sunburst").data(A,function(N){return N[0].trace.uid})).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),O.order(),B?(b&&(I=b()),d.transition().duration(L.duration).ease(L.easing).each("end",function(){I&&I()}).each("interrupt",function(){I&&I()}).each(function(){z.selectAll("g.trace").each(function(N){k(T,N,this,L)})})):(O.each(function(N){k(T,N,this,L)}),R.uniformtext.mode&&_(T,R._sunburstlayer.selectAll(".trace"),"sunburst")),F&&O.exit().remove()},o.formatSliceLabel=function(T,A,L,b,O){var I=L.texttemplate,R=L.textinfo;if(!(I||R&&R!=="none"))return"";var z=O.separators,F=b[0],B=T.data.data,N=F.hierarchy,q=w.isHierarchyRoot(T),j=w.getParent(N,T),Y=w.getValue(T);if(!I){var U,G=R.split("+"),W=function(oe){return G.indexOf(oe)!==-1},H=[];if(W("label")&&B.label&&H.push(B.label),B.hasOwnProperty("v")&&W("value")&&H.push(w.formatValue(B.v,z)),!q){W("current path")&&H.push(w.getPath(T.data));var ne=0;W("percent parent")&&ne++,W("percent entry")&&ne++,W("percent root")&&ne++;var te=ne>1;if(ne){var Z,X=function(oe){U=w.formatPercent(Z,z),te&&(U+=" of "+oe),H.push(U)};W("percent parent")&&!q&&(Z=Y/w.getValue(j),X("parent")),W("percent entry")&&(Z=Y/w.getValue(A),X("entry")),W("percent root")&&(Z=Y/w.getValue(N),X("root"))}}return W("text")&&(U=g.castOption(L,B.i,"text"),g.isValidTextValue(U)&&H.push(U)),H.join("
")}var Q=g.castOption(L,B.i,"texttemplate");if(!Q)return"";var re={};B.label&&(re.label=B.label),B.hasOwnProperty("v")&&(re.value=B.v,re.valueLabel=w.formatValue(B.v,z)),re.currentPath=w.getPath(T.data),q||(re.percentParent=Y/w.getValue(j),re.percentParentLabel=w.formatPercent(re.percentParent,z),re.parent=w.getPtLabel(j)),re.percentEntry=Y/w.getValue(A),re.percentEntryLabel=w.formatPercent(re.percentEntry,z),re.entry=w.getPtLabel(A),re.percentRoot=Y/w.getValue(N),re.percentRootLabel=w.formatPercent(re.percentRoot,z),re.root=w.getPtLabel(N),B.hasOwnProperty("color")&&(re.color=B.color);var ie=g.castOption(L,B.i,"text");return(g.isValidTextValue(ie)||ie==="")&&(re.text=ie),re.customdata=g.castOption(L,B.i,"customdata"),g.texttemplateString(Q,re,O._d3locale,re,L._meta||{})}},29969:function(x,o,t){var d=t(39898),v=t(7901),i=t(71828),M=t(72597).resizeText;function g(p,u,a){var c=u.data.data,s=!u.children,l=c.i,h=i.castOption(a,l,"marker.line.color")||v.defaultLine,f=i.castOption(a,l,"marker.line.width")||0;p.style("stroke-width",f).call(v.fill,c.color).call(v.stroke,h).style("opacity",s?a.leaf.opacity:null)}x.exports={style:function(p){var u=p._fullLayout._sunburstlayer.selectAll(".trace");M(p,u,"sunburst"),u.each(function(a){var c=d.select(this),s=a[0].trace;c.style("opacity",s.opacity),c.selectAll("path.surface").each(function(l){d.select(this).call(g,l,s)})})},styleOne:g}},54532:function(x,o,t){var d=t(7901),v=t(50693),i=t(12663).axisHoverFormat,M=t(5386).fF,g=t(9012),p=t(1426).extendFlat,u=t(30962).overrideAll;function a(s){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:d.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:d.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var c=x.exports=u(p({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:M(),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},v("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:a(),y:a(),z:a()},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:p({},v.zauto,{}),zmin:p({},v.zmin,{}),zmax:p({},v.zmax,{})},hoverinfo:p({},g.hoverinfo),showlegend:p({},g.showlegend,{dflt:!1})}),"calc","nested");c.x.editType=c.y.editType=c.z.editType="calc+clearAxisTypes",c.transforms=void 0},18396:function(x,o,t){var d=t(78803);x.exports=function(v,i){i.surfacecolor?d(v,i,{vals:i.surfacecolor,containerStr:"",cLetter:"c"}):d(v,i,{vals:i.z,containerStr:"",cLetter:"c"})}},43768:function(x,o,t){var d=t(9330).gl_surface3d,v=t(9330).ndarray,i=t(9330).ndarray_linear_interpolate.d2,M=t(824),g=t(43907),p=t(71828).isArrayOrTypedArray,u=t(81697).parseColorScale,a=t(78614),c=t(21081).extractOpts;function s(L,b,O){this.scene=L,this.uid=O,this.surface=b,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 l=s.prototype;l.getXat=function(L,b,O,I){var R=p(this.data.x)?p(this.data.x[0])?this.data.x[b][L]:this.data.x[L]:L;return O===void 0?R:I.d2l(R,0,O)},l.getYat=function(L,b,O,I){var R=p(this.data.y)?p(this.data.y[0])?this.data.y[b][L]:this.data.y[b]:b;return O===void 0?R:I.d2l(R,0,O)},l.getZat=function(L,b,O,I){var R=this.data.z[b][L];return R===null&&this.data.connectgaps&&this.data._interpolatedZ&&(R=this.data._interpolatedZ[b][L]),O===void 0?R:I.d2l(R,0,O)},l.handlePick=function(L){if(L.object===this.surface){var b=(L.data.index[0]-1)/this.dataScaleX-1,O=(L.data.index[1]-1)/this.dataScaleY-1,I=Math.max(Math.min(Math.round(b),this.data.z[0].length-1),0),R=Math.max(Math.min(Math.round(O),this.data._ylength-1),0);L.index=[I,R],L.traceCoordinate=[this.getXat(I,R),this.getYat(I,R),this.getZat(I,R)],L.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 z=0;z<3;z++)L.dataCoordinate[z]!=null&&(L.dataCoordinate[z]*=this.scene.dataScale[z]);var F=this.data.hovertext||this.data.text;return Array.isArray(F)&&F[R]&&F[R][I]!==void 0?L.textLabel=F[R][I]:L.textLabel=F||"",L.data.dataCoordinate=L.dataCoordinate.slice(),this.surface.highlight(L.data),this.scene.glplot.spikes.position=L.dataCoordinate,!0}};var h=[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 f(L,b){if(L0){O=h[I];break}return O}function y(L,b){if(!(L<1||b<1)){for(var O=m(L),I=m(b),R=1,z=0;zk;)O--,O/=_(O),++O1?I:1},l.refineCoords=function(L){for(var b=this.dataScaleX,O=this.dataScaleY,I=L[0].shape[0],R=L[0].shape[1],z=0|Math.floor(L[0].shape[0]*b+1),F=0|Math.floor(L[0].shape[1]*O+1),B=1+I+1,N=1+R+1,q=v(new Float32Array(B*N),[B,N]),j=[1/b,0,0,0,1/O,0,0,0,1],Y=0;Y0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(R[L]=!0,b=this.contourStart[L];bR&&(this.minValues[b]=R),this.maxValues[b]",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"}}},51018:function(x,o,t){var d=t(49850),v=t(1426).extendFlat,i=t(92770);function M(l){if(Array.isArray(l)){for(var h=0,f=0;f=h||E===l.length-1)&&(m[_]=C,C.key=k++,C.firstRowIndex=w,C.lastRowIndex=E,C={firstRowIndex:null,lastRowIndex:null,rows:[]},_+=y,w=E+1,y=0);return m}x.exports=function(l,h){var f=p(h.cells.values),m=function(q){return q.slice(h.header.values.length,q.length)},_=p(h.header.values);_.length&&!_[0].length&&(_[0]=[""],_=p(_));var y=_.concat(m(f).map(function(){return u((_[0]||[""]).length)})),C=h.domain,w=Math.floor(l._fullLayout._size.w*(C.x[1]-C.x[0])),k=Math.floor(l._fullLayout._size.h*(C.y[1]-C.y[0])),E=h.header.values.length?y[0].map(function(){return h.header.height}):[d.emptyHeaderHeight],T=f.length?f[0].map(function(){return h.cells.height}):[],A=E.reduce(g,0),L=s(T,k-A+d.uplift),b=c(s(E,A),[]),O=c(L,b),I={},R=h._fullInput.columnorder.concat(m(f.map(function(q,j){return j}))),z=y.map(function(q,j){var Y=Array.isArray(h.columnwidth)?h.columnwidth[Math.min(j,h.columnwidth.length-1)]:h.columnwidth;return i(Y)?Number(Y):1}),F=z.reduce(g,0);z=z.map(function(q){return q/F*w});var B=Math.max(M(h.header.line.width),M(h.cells.line.width)),N={key:h.uid+l._context.staticPlot,translateX:C.x[0]*l._fullLayout._size.w,translateY:l._fullLayout._size.h*(1-C.y[1]),size:l._fullLayout._size,width:w,maxLineWidth:B,height:k,columnOrder:R,groupHeight:k,rowBlocks:O,headerRowBlocks:b,scrollY:0,cells:v({},h.cells,{values:f}),headerCells:v({},h.header,{values:y}),gdColumns:y.map(function(q){return q[0]}),gdColumnsOriginalOrder:y.map(function(q){return q[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:y.map(function(q,j){var Y=I[q];return I[q]=(Y||0)+1,{key:q+"__"+I[q],label:q,specIndex:j,xIndex:R[j],xScale:a,x:void 0,calcdata:void 0,columnWidth:z[j]}})};return N.columns.forEach(function(q){q.calcdata=N,q.x=a(q)}),N}},56269:function(x,o,t){var d=t(1426).extendFlat;o.splitToPanels=function(v){var i=[0,0],M=d({},v,{key:"header",type:"header",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!0,values:v.calcdata.headerCells.values[v.specIndex],rowBlocks:v.calcdata.headerRowBlocks,calcdata:d({},v.calcdata,{cells:v.calcdata.headerCells})});return[d({},v,{key:"cells1",type:"cells",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:v.calcdata.cells.values[v.specIndex],rowBlocks:v.calcdata.rowBlocks}),d({},v,{key:"cells2",type:"cells",page:1,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:v.calcdata.cells.values[v.specIndex],rowBlocks:v.calcdata.rowBlocks}),M]},o.splitToCells=function(v){var i=function(M){var g=M.rowBlocks[M.page],p=g?g.rows[0].rowIndex:0;return[p,g?p+g.rows.length:0]}(v);return(v.values||[]).slice(i[0],i[1]).map(function(M,g){return{keyWithinBlock:g+(typeof M=="string"&&M.match(/[<$&> ]/)?"_keybuster_"+Math.random():""),key:i[0]+g,column:v,calcdata:v.calcdata,page:v.page,rowBlocks:v.rowBlocks,value:M}})}},39754:function(x,o,t){var d=t(71828),v=t(44464),i=t(27670).c;x.exports=function(M,g,p,u){function a(c,s){return d.coerce(M,g,v,c,s)}i(g,u,a),a("columnwidth"),a("header.values"),a("header.format"),a("header.align"),a("header.prefix"),a("header.suffix"),a("header.height"),a("header.line.width"),a("header.line.color"),a("header.fill.color"),d.coerceFont(a,"header.font",d.extendFlat({},u.font)),function(c,s){for(var l=c.columnorder||[],h=c.header.values.length,f=l.slice(0,h),m=f.slice().sort(function(C,w){return C-w}),_=f.map(function(C){return m.indexOf(C)}),y=_.length;y/i),ue=!ie||oe;Z.mayHaveMarkup=ie&&re.match(/[<&>]/);var ce,ye=typeof(ce=re)=="string"&&ce.match(d.latexCheck);Z.latex=ye;var de,me,pe=ye?"":T(Z.calcdata.cells.prefix,X,Q)||"",xe=ye?"":T(Z.calcdata.cells.suffix,X,Q)||"",Pe=ye?null:T(Z.calcdata.cells.format,X,Q)||null,_e=pe+(Pe?i(Pe)(Z.value):Z.value)+xe;if(Z.wrappingNeeded=!Z.wrapped&&!ue&&!ye&&(de=E(_e)),Z.cellHeightMayIncrease=oe||ye||Z.mayHaveMarkup||(de===void 0?E(_e):de),Z.needsConvertToTspans=Z.mayHaveMarkup||Z.wrappingNeeded||Z.latex,Z.wrappingNeeded){var Me=(d.wrapSplitCharacter===" "?_e.replace(/
me&&de.push(pe),me+=_e}return de}(Z,ie,re);oe.length===1&&(oe[0]===Z.length-1?oe.unshift(oe[0]-1):oe.push(oe[0]+1)),oe[0]%2&&oe.reverse(),H.each(function(ue,ce){ue.page=oe[ce],ue.scrollY=ie}),H.attr("transform",function(ue){var ce=j(ue.rowBlocks,ue.page)-ue.scrollY;return a(0,ce)}),W&&(z(W,ne,H,oe,te.prevPages,te,0),z(W,ne,H,oe,te.prevPages,te,1),C(ne,W))}}function R(W,H,ne,te){return function(Z){var X=Z.calcdata?Z.calcdata:Z,Q=H.filter(function(ue){return X.key===ue.key}),re=ne||X.scrollbarState.dragMultiplier,ie=X.scrollY;X.scrollY=te===void 0?X.scrollY+re*v.event.dy:te;var oe=Q.selectAll("."+d.cn.yColumn).selectAll("."+d.cn.columnBlock).filter(L);return I(W,oe,Q),X.scrollY===ie}}function z(W,H,ne,te,Z,X,Q){te[Q]!==Z[Q]&&(clearTimeout(X.currentRepaint[Q]),X.currentRepaint[Q]=setTimeout(function(){var re=ne.filter(function(ie,oe){return oe===Q&&te[oe]!==Z[oe]});w(W,H,re,ne),Z[Q]=te[Q]}))}function F(W,H,ne,te){return function(){var Z=v.select(H.parentNode);Z.each(function(X){var Q=X.fragments;Z.selectAll("tspan.line").each(function(me,pe){Q[pe].width=this.getComputedTextLength()});var re,ie,oe=Q[Q.length-1].width,ue=Q.slice(0,-1),ce=[],ye=0,de=X.column.columnWidth-2*d.cellPad;for(X.value="";ue.length;)ye+(ie=(re=ue.shift()).width+oe)>de&&(X.value+=ce.join(d.wrapSpacer)+d.lineBreaker,ce=[],ye=0),ce.push(re.text),ye+=ie;ye&&(X.value+=ce.join(d.wrapSpacer)),X.wrapped=!0}),Z.selectAll("tspan.line").remove(),k(Z.select("."+d.cn.cellText),ne,W,te),v.select(H.parentNode.parentNode).call(q)}}function B(W,H,ne,te,Z){return function(){if(!Z.settledY){var X=v.select(H.parentNode),Q=G(Z),re=Z.key-Q.firstRowIndex,ie=Q.rows[re].rowHeight,oe=Z.cellHeightMayIncrease?H.parentNode.getBoundingClientRect().height+2*d.cellPad:ie,ue=Math.max(oe,ie);ue-Q.rows[re].rowHeight&&(Q.rows[re].rowHeight=ue,W.selectAll("."+d.cn.columnCell).call(q),I(null,W.filter(L),0),C(ne,te,!0)),X.attr("transform",function(){var ce=this,ye=ce.parentNode.getBoundingClientRect(),de=v.select(ce.parentNode).select("."+d.cn.cellRect).node().getBoundingClientRect(),me=ce.transform.baseVal.consolidate(),pe=de.top-ye.top+(me?me.matrix.f:d.cellPad);return a(N(Z,v.select(ce.parentNode).select("."+d.cn.cellTextHolder).node().getBoundingClientRect().width),pe)}),Z.settledY=!0}}}function N(W,H){switch(W.align){case"left":default:return d.cellPad;case"right":return W.column.columnWidth-(H||0)-d.cellPad;case"center":return(W.column.columnWidth-(H||0))/2}}function q(W){W.attr("transform",function(H){var ne=H.rowBlocks[0].auxiliaryBlocks.reduce(function(Z,X){return Z+Y(X,1/0)},0),te=Y(G(H),H.key);return a(0,te+ne)}).selectAll("."+d.cn.cellRect).attr("height",function(H){return(ne=G(H),te=H.key,ne.rows[te-ne.firstRowIndex]).rowHeight;var ne,te})}function j(W,H){for(var ne=0,te=H-1;te>=0;te--)ne+=U(W[te]);return ne}function Y(W,H){for(var ne=0,te=0;te","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:a({},g.textfont,{}),editType:"calc"},text:g.text,textinfo:p.textinfo,texttemplate:v({editType:"plot"},{keys:u.eventDataKeys.concat(["label","value"])}),hovertext:g.hovertext,hoverinfo:p.hoverinfo,hovertemplate:d({},{keys:u.eventDataKeys}),textfont:g.textfont,insidetextfont:g.insidetextfont,outsidetextfont:a({},g.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:g.sort,root:p.root,domain:M({name:"treemap",trace:!0,editType:"calc"})}},78018:function(x,o,t){var d=t(74875);o.name="treemap",o.plot=function(v,i,M,g){d.plotBasePlot(o.name,v,i,M,g)},o.clean=function(v,i,M,g){d.cleanBasePlot(o.name,v,i,M,g)}},65039:function(x,o,t){var d=t(52147);o.y=function(v,i){return d.calc(v,i)},o.T=function(v){return d._runCrossTraceCalc("treemap",v)}},43473:function(x){x.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},91174:function(x,o,t){var d=t(71828),v=t(45802),i=t(7901),M=t(27670).c,g=t(90769).handleText,p=t(97313).TEXTPAD,u=t(21081),a=u.hasColorscale,c=u.handleDefaults;x.exports=function(s,l,h,f){function m(L,b){return d.coerce(s,l,v,L,b)}var _=m("labels"),y=m("parents");if(_&&_.length&&y&&y.length){var C=m("values");C&&C.length?m("branchvalues"):m("count"),m("level"),m("maxdepth"),m("tiling.packing")==="squarify"&&m("tiling.squarifyratio"),m("tiling.flip"),m("tiling.pad");var w=m("text");m("texttemplate"),l.texttemplate||m("textinfo",Array.isArray(w)?"text+label":"label"),m("hovertext"),m("hovertemplate");var k=m("pathbar.visible");g(s,l,f,m,"auto",{hasPathbar:k,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),m("textposition");var E=l.textposition.indexOf("bottom")!==-1;m("marker.line.width")&&m("marker.line.color",f.paper_bgcolor);var T=m("marker.colors");(l._hasColorscale=a(s,"marker","colors")||(s.marker||{}).coloraxis)?c(s,l,f,m,{prefix:"marker.",cLetter:"c"}):m("marker.depthfade",!(T||[]).length);var A=2*l.textfont.size;m("marker.pad.t",E?A/4:A),m("marker.pad.l",A/4),m("marker.pad.r",A/4),m("marker.pad.b",E?A:A/4),m("marker.cornerradius"),l._hovered={marker:{line:{width:2,color:i.contrast(f.paper_bgcolor)}}},k&&(m("pathbar.thickness",l.pathbar.textfont.size+2*p),m("pathbar.side"),m("pathbar.edgeshape")),m("sort"),m("root.color"),M(l,f,m),l._length=null}else l.visible=!1}},80694:function(x,o,t){var d=t(39898),v=t(2791),i=t(72597).clearMinTextSize,M=t(16688).resizeText,g=t(46650);x.exports=function(p,u,a,c,s){var l,h,f=s.type,m=s.drawDescendants,_=p._fullLayout,y=_["_"+f+"layer"],C=!a;i(f,_),(l=y.selectAll("g.trace."+f).data(u,function(w){return w[0].trace.uid})).enter().append("g").classed("trace",!0).classed(f,!0),l.order(),!_.uniformtext.mode&&v.hasTransition(a)?(c&&(h=c()),d.transition().duration(a.duration).ease(a.easing).each("end",function(){h&&h()}).each("interrupt",function(){h&&h()}).each(function(){y.selectAll("g.trace").each(function(w){g(p,w,this,a,m)})})):(l.each(function(w){g(p,w,this,a,m)}),_.uniformtext.mode&&M(p,y.selectAll(".trace"),f)),C&&l.exit().remove()}},66209:function(x,o,t){var d=t(39898),v=t(71828),i=t(91424),M=t(63893),g=t(37210),p=t(96362).styleOne,u=t(43473),a=t(2791),c=t(83523),s=!0;x.exports=function(l,h,f,m,_){var y=_.barDifY,C=_.width,w=_.height,k=_.viewX,E=_.viewY,T=_.pathSlice,A=_.toMoveInsideSlice,L=_.strTransform,b=_.hasTransition,O=_.handleSlicesExit,I=_.makeUpdateSliceInterpolator,R=_.makeUpdateTextInterpolator,z={},F=l._context.staticPlot,B=l._fullLayout,N=h[0],q=N.trace,j=N.hierarchy,Y=C/q._entryDepth,U=a.listPath(f.data,"id"),G=g(j.copy(),[C,w],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(G=G.filter(function(H){var ne=U.indexOf(H.data.id);return ne!==-1&&(H.x0=Y*ne,H.x1=Y*(ne+1),H.y0=y,H.y1=y+w,H.onPathbar=!0,!0)})).reverse(),(m=m.data(G,a.getPtId)).enter().append("g").classed("pathbar",!0),O(m,s,z,[C,w],T),m.order();var W=m;b&&(W=W.transition().each("end",function(){var H=d.select(this);a.setSliceCursor(H,l,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})})),W.each(function(H){H._x0=k(H.x0),H._x1=k(H.x1),H._y0=E(H.y0),H._y1=E(H.y1),H._hoverX=k(H.x1-Math.min(C,w)/2),H._hoverY=E(H.y1-w/2);var ne=d.select(this),te=v.ensureSingle(ne,"path","surface",function(re){re.style("pointer-events",F?"none":"all")});b?te.transition().attrTween("d",function(re){var ie=I(re,s,z,[C,w]);return function(oe){return T(ie(oe))}}):te.attr("d",T),ne.call(c,f,l,h,{styleOne:p,eventDataKeys:u.eventDataKeys,transitionTime:u.CLICK_TRANSITION_TIME,transitionEasing:u.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,l,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:l._transitioning}),te.call(p,H,q,{hovered:!1}),H._text=(a.getPtLabel(H)||"").split("
").join(" ")||"";var Z=v.ensureSingle(ne,"g","slicetext"),X=v.ensureSingle(Z,"text","",function(re){re.attr("data-notex",1)}),Q=v.ensureUniformFontSize(l,a.determineTextFont(q,H,B.font,{onPathbar:!0}));X.text(H._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(i.font,Q).call(M.convertToTspans,l),H.textBB=i.bBox(X.node()),H.transform=A(H,{fontSize:Q.size,onPathbar:!0}),H.transform.fontSize=Q.size,b?X.transition().attrTween("transform",function(re){var ie=R(re,s,z,[C,w]);return function(oe){return L(ie(oe))}}):X.attr("transform",L(H))})}},52583:function(x,o,t){var d=t(39898),v=t(71828),i=t(91424),M=t(63893),g=t(37210),p=t(96362).styleOne,u=t(43473),a=t(2791),c=t(83523),s=t(24714).formatSliceLabel,l=!1;x.exports=function(h,f,m,_,y){var C=y.width,w=y.height,k=y.viewX,E=y.viewY,T=y.pathSlice,A=y.toMoveInsideSlice,L=y.strTransform,b=y.hasTransition,O=y.handleSlicesExit,I=y.makeUpdateSliceInterpolator,R=y.makeUpdateTextInterpolator,z=y.prevEntry,F=h._context.staticPlot,B=h._fullLayout,N=f[0].trace,q=N.textposition.indexOf("left")!==-1,j=N.textposition.indexOf("right")!==-1,Y=N.textposition.indexOf("bottom")!==-1,U=!Y&&!N.marker.pad.t||Y&&!N.marker.pad.b,G=g(m,[C,w],{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(),W=1/0,H=-1/0;G.forEach(function(Q){var re=Q.depth;re>=N._maxDepth?(Q.x0=Q.x1=(Q.x0+Q.x1)/2,Q.y0=Q.y1=(Q.y0+Q.y1)/2):(W=Math.min(W,re),H=Math.max(H,re))}),_=_.data(G,a.getPtId),N._maxVisibleLayers=isFinite(H)?H-W+1:0,_.enter().append("g").classed("slice",!0),O(_,l,{},[C,w],T),_.order();var ne=null;if(b&&z){var te=a.getPtId(z);_.each(function(Q){ne===null&&a.getPtId(Q)===te&&(ne={x0:Q.x0,x1:Q.x1,y0:Q.y0,y1:Q.y1})})}var Z=function(){return ne||{x0:0,x1:C,y0:0,y1:w}},X=_;return b&&(X=X.transition().each("end",function(){var Q=d.select(this);a.setSliceCursor(Q,h,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(Q){var re=a.isHeader(Q,N);Q._x0=k(Q.x0),Q._x1=k(Q.x1),Q._y0=E(Q.y0),Q._y1=E(Q.y1),Q._hoverX=k(Q.x1-N.marker.pad.r),Q._hoverY=E(Y?Q.y1-N.marker.pad.b/2:Q.y0+N.marker.pad.t/2);var ie=d.select(this),oe=v.ensureSingle(ie,"path","surface",function(de){de.style("pointer-events",F?"none":"all")});b?oe.transition().attrTween("d",function(de){var me=I(de,l,Z(),[C,w]);return function(pe){return T(me(pe))}}):oe.attr("d",T),ie.call(c,m,h,f,{styleOne:p,eventDataKeys:u.eventDataKeys,transitionTime:u.CLICK_TRANSITION_TIME,transitionEasing:u.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,h,{isTransitioning:h._transitioning}),oe.call(p,Q,N,{hovered:!1}),Q.x0===Q.x1||Q.y0===Q.y1?Q._text="":Q._text=re?U?"":a.getPtLabel(Q)||"":s(Q,m,N,f,B)||"";var ue=v.ensureSingle(ie,"g","slicetext"),ce=v.ensureSingle(ue,"text","",function(de){de.attr("data-notex",1)}),ye=v.ensureUniformFontSize(h,a.determineTextFont(N,Q,B.font));ce.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":q||re?"start":"middle").call(i.font,ye).call(M.convertToTspans,h),Q.textBB=i.bBox(ce.node()),Q.transform=A(Q,{fontSize:ye.size,isHeader:re}),Q.transform.fontSize=ye.size,b?ce.transition().attrTween("transform",function(de){var me=R(de,l,Z(),[C,w]);return function(pe){return L(me(pe))}}):ce.attr("transform",L(Q))}),ne}},14102:function(x){x.exports=function o(t,d,v){var i;v.swapXY&&(i=t.x0,t.x0=t.y0,t.y0=i,i=t.x1,t.x1=t.y1,t.y1=i),v.flipX&&(i=t.x0,t.x0=d[0]-t.x1,t.x1=d[0]-i),v.flipY&&(i=t.y0,t.y0=d[1]-t.y1,t.y1=d[1]-i);var M=t.children;if(M)for(var g=0;g-1?N+Y:-(j+Y):0,G={x0:q,x1:q,y0:U,y1:U+j},W=function(ge,we,Ee){var Ve=w.tiling.pad,Ye=function(ft){return ft-Ve<=we.x0},$e=function(ft){return ft+Ve>=we.x1},st=function(ft){return ft-Ve<=we.y0},ot=function(ft){return ft+Ve>=we.y1};return ge.x0===we.x0&&ge.x1===we.x1&&ge.y0===we.y0&&ge.y1===we.y1?{x0:ge.x0,x1:ge.x1,y0:ge.y0,y1:ge.y1}:{x0:Ye(ge.x0-Ve)?0:$e(ge.x0-Ve)?Ee[0]:ge.x0,x1:Ye(ge.x1+Ve)?0:$e(ge.x1+Ve)?Ee[0]:ge.x1,y0:st(ge.y0-Ve)?0:ot(ge.y0-Ve)?Ee[1]:ge.y0,y1:st(ge.y1+Ve)?0:ot(ge.y1+Ve)?Ee[1]:ge.y1}},H=null,ne={},te={},Z=null,X=function(ge,we){return we?ne[s(ge)]:te[s(ge)]};C.hasMultipleRoots&&O&&R++,w._maxDepth=R,w._backgroundColor=y.paper_bgcolor,w._entryDepth=T.data.depth,w._atRootLevel=O;var Q=-B/2+z.l+z.w*(F.x[1]+F.x[0])/2,re=-N/2+z.t+z.h*(1-(F.y[1]+F.y[0])/2),ie=function(ge){return Q+ge},oe=function(ge){return re+ge},ue=oe(0),ce=ie(0),ye=function(ge){return ce+ge},de=function(ge){return ue+ge};function me(ge,we){return ge+","+we}var pe=ye(0),xe=function(ge){ge.x=Math.max(pe,ge.x)},Pe=w.pathbar.edgeshape,_e=w[k?"tiling":"marker"].pad,Me=function(ge){return w.textposition.indexOf(ge)!==-1},Se=Me("top"),Ce=Me("left"),ae=Me("right"),he=Me("bottom"),be=function(ge,we){var Ee=ge.x0,Ve=ge.x1,Ye=ge.y0,$e=ge.y1,st=ge.textBB,ot=Se||we.isHeader&&!he?"start":he?"end":"middle",ft=Me("right"),bt=Me("left")||we.onPathbar?-1:ft?1:0;if(we.isHeader){if((Ee+=(k?_e:_e.l)-g)>=(Ve-=(k?_e:_e.r)-g)){var Et=(Ee+Ve)/2;Ee=Et,Ve=Et}var kt;he?Ye<(kt=$e-(k?_e:_e.b))&&kt<$e&&(Ye=kt):Ye<(kt=Ye+(k?_e:_e.t))&&kt<$e&&($e=kt)}var xt=p(Ee,Ve,Ye,$e,st,{isHorizontal:!1,constrained:!0,angle:0,anchor:ot,leftToRight:bt});return xt.fontSize=we.fontSize,xt.targetX=ie(xt.targetX),xt.targetY=oe(xt.targetY),isNaN(xt.targetX)||isNaN(xt.targetY)?{}:(Ee!==Ve&&Ye!==$e&&u(w.type,xt,y),{scale:xt.scale,rotate:xt.rotate,textX:xt.textX,textY:xt.textY,anchorX:xt.anchorX,anchorY:xt.anchorY,targetX:xt.targetX,targetY:xt.targetY})},ke=function(ge,we){for(var Ee,Ve=0,Ye=ge;!Ee&&Ve"?(ft.x-=$e,bt.x-=$e,Et.x-=$e,kt.x-=$e):Pe==="/"?(Et.x-=$e,kt.x-=$e,st.x-=$e/2,ot.x-=$e/2):Pe==="\\"?(ft.x-=$e,bt.x-=$e,st.x-=$e/2,ot.x-=$e/2):Pe==="<"&&(st.x-=$e,ot.x-=$e),xe(ft),xe(kt),xe(st),xe(bt),xe(Et),xe(ot),"M"+me(ft.x,ft.y)+"L"+me(bt.x,bt.y)+"L"+me(ot.x,ot.y)+"L"+me(Et.x,Et.y)+"L"+me(kt.x,kt.y)+"L"+me(st.x,st.y)+"Z"},toMoveInsideSlice:be,makeUpdateSliceInterpolator:Le,makeUpdateTextInterpolator:Be,handleSlicesExit:ze,hasTransition:I,strTransform:je}):L.remove()}},96362:function(x,o,t){var d=t(39898),v=t(7901),i=t(71828),M=t(2791),g=t(72597).resizeText;function p(u,a,c,s){var l,h,f=(s||{}).hovered,m=a.data.data,_=m.i,y=m.color,C=M.isHierarchyRoot(a),w=1;if(f)l=c._hovered.marker.line.color,h=c._hovered.marker.line.width;else if(C&&y===c.root.color)w=100,l="rgba(0,0,0,0)",h=0;else if(l=i.castOption(c,_,"marker.line.color")||v.defaultLine,h=i.castOption(c,_,"marker.line.width")||0,!c._hasColorscale&&!a.onPathbar){var k=c.marker.depthfade;if(k){var E,T=v.combine(v.addOpacity(c._backgroundColor,.75),y);if(k===!0){var A=M.getMaxDepth(c);E=isFinite(A)?M.isLeaf(a)?0:c._maxVisibleLayers-(a.data.depth-c._entryDepth):a.data.height+1}else E=a.data.depth-c._entryDepth,c._atRootLevel||E++;if(E>0)for(var L=0;L0){var T,A,L,b,O,I=p.xa,R=p.ya;_.orientation==="h"?(O=u,T="y",L=R,A="x",b=I):(O=a,T="x",L=I,A="y",b=R);var z=m[p.index];if(O>=z.span[0]&&O<=z.span[1]){var F=v.extendFlat({},p),B=b.c2p(O,!0),N=g.getKdeValue(z,_,O),q=g.getPositionOnKdePath(z,_,B),j=L._offset,Y=L._length;F[T+"0"]=q[0],F[T+"1"]=q[1],F[A+"0"]=F[A+"1"]=B,F[A+"Label"]=A+": "+i.hoverLabelText(b,O,_[A+"hoverformat"])+", "+m[0].t.labels.kde+" "+N.toFixed(3);for(var U=0,G=0;G")),h.color=function(R,z){var F=R[z.dir].marker,B=F.color,N=F.line.color,q=F.line.width;return v(B)?B:v(N)&&q?N:void 0}(m,w),[h]}function I(R){return d(C,R,m[y+"hoverformat"])}}},19990:function(x,o,t){x.exports={attributes:t(43037),layoutAttributes:t(13494),supplyDefaults:t(83266).supplyDefaults,crossTraceDefaults:t(83266).crossTraceDefaults,supplyLayoutDefaults:t(5176),calc:t(52752),crossTraceCalc:t(70766),plot:t(30436),style:t(55750).style,hoverPoints:t(61326),eventData:t(58593),selectPoints:t(81974),moduleType:"trace",name:"waterfall",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},13494:function(x){x.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"}}},5176:function(x,o,t){var d=t(71828),v=t(13494);x.exports=function(i,M,g){var p=!1;function u(s,l){return d.coerce(i,M,v,s,l)}for(var a=0;a0&&(N+=A?"M"+F[0]+","+B[1]+"V"+B[0]:"M"+F[1]+","+B[0]+"H"+F[0]),L!=="between"&&(I.isSum||R path").each(function(_){if(!_.isBlank){var y=m[_.dir].marker;d.select(this).call(i.fill,y.color).call(i.stroke,y.line.color).call(v.dashLine,y.line.dash,y.line.width).style("opacity",m.selectedpoints&&!_.selected?M:1)}}),u(f,m,a),f.selectAll(".lines").each(function(){var _=m.connector.line;v.lineGroupStyle(d.select(this).selectAll("path"),_.width,_.color,_.dash)})})}}},82887:function(x,o,t){var d=t(89298),v=t(71828),i=t(86281),M=t(79344).p,g=t(50606).BADNUM;o.moduleType="transform",o.name="aggregate";var p=o.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=p.aggregations;function a(h,f,m,_){if(_.enabled){for(var y=_.target,C=v.nestedProperty(f,y),w=C.get(),k=function(A,L){var b=A.func,O=L.d2c,I=L.c2d;switch(b){case"count":return c;case"first":return s;case"last":return l;case"sum":return function(R,z){for(var F=0,B=0;BB&&(B=Y,N=j)}}return B?I(N):g};case"rms":return function(R,z){for(var F=0,B=0,N=0;N":return function(H){return W(H)>U};case">=":return function(H){return W(H)>=U};case"[]":return function(H){var ne=W(H);return ne>=U[0]&&ne<=U[1]};case"()":return function(H){var ne=W(H);return ne>U[0]&&ne=U[0]&&neU[0]&&ne<=U[1]};case"][":return function(H){var ne=W(H);return ne<=U[0]||ne>=U[1]};case")(":return function(H){var ne=W(H);return neU[1]};case"](":return function(H){var ne=W(H);return ne<=U[0]||ne>U[1]};case")[":return function(H){var ne=W(H);return ne=U[1]};case"{}":return function(H){return U.indexOf(W(H))!==-1};case"}{":return function(H){return U.indexOf(W(H))===-1}}}(l,i.getDataToCoordFunc(c,s,f,h),_),A={},L={},b=0;C?(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set(new Array(m))},E=function(z,F){var B=A[z.astr][F];z.get()[F]=B}):(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set([])},E=function(z,F){var B=A[z.astr][F];z.get().push(B)}),R(k);for(var O=M(s.transforms,l),I=0;I1?"%{group} (%{trace})":"%{group}");var h=p.styles,f=s.styles=[];if(h)for(c=0;ck)throw new RangeError('The value "'+ge+'" is invalid for option "size"');var we=new Uint8Array(ge);return Object.setPrototypeOf(we,T.prototype),we}function T(ge,we,Ee){if(typeof ge=="number"){if(typeof we=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(ge)}return A(ge,we,Ee)}function A(ge,we,Ee){if(typeof ge=="string")return function($e,st){if(typeof st=="string"&&st!==""||(st="utf8"),!T.isEncoding(st))throw new TypeError("Unknown encoding: "+st);var ot=0|z($e,st),ft=E(ot),bt=ft.write($e,st);return bt!==ot&&(ft=ft.slice(0,bt)),ft}(ge,we);if(ArrayBuffer.isView(ge))return function($e){if(ke($e,Uint8Array)){var st=new Uint8Array($e);return I(st.buffer,st.byteOffset,st.byteLength)}return O($e)}(ge);if(ge==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+_(ge));if(ke(ge,ArrayBuffer)||ge&&ke(ge.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke(ge,SharedArrayBuffer)||ge&&ke(ge.buffer,SharedArrayBuffer)))return I(ge,we,Ee);if(typeof ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ve=ge.valueOf&&ge.valueOf();if(Ve!=null&&Ve!==ge)return T.from(Ve,we,Ee);var Ye=function($e){if(T.isBuffer($e)){var st=0|R($e.length),ot=E(st);return ot.length===0||$e.copy(ot,0,0,st),ot}return $e.length!==void 0?typeof $e.length!="number"||Le($e.length)?E(0):O($e):$e.type==="Buffer"&&Array.isArray($e.data)?O($e.data):void 0}(ge);if(Ye)return Ye;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ge[Symbol.toPrimitive]=="function")return T.from(ge[Symbol.toPrimitive]("string"),we,Ee);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+_(ge))}function L(ge){if(typeof ge!="number")throw new TypeError('"size" argument must be of type number');if(ge<0)throw new RangeError('The value "'+ge+'" is invalid for option "size"')}function b(ge){return L(ge),E(ge<0?0:0|R(ge))}function O(ge){for(var we=ge.length<0?0:0|R(ge.length),Ee=E(we),Ve=0;Ve=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|ge}function z(ge,we){if(T.isBuffer(ge))return ge.length;if(ArrayBuffer.isView(ge)||ke(ge,ArrayBuffer))return ge.byteLength;if(typeof ge!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+_(ge));var Ee=ge.length,Ve=arguments.length>2&&arguments[2]===!0;if(!Ve&&Ee===0)return 0;for(var Ye=!1;;)switch(we){case"ascii":case"latin1":case"binary":return Ee;case"utf8":case"utf-8":return ae(ge).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Ee;case"hex":return Ee>>>1;case"base64":return he(ge).length;default:if(Ye)return Ve?-1:ae(ge).length;we=(""+we).toLowerCase(),Ye=!0}}function F(ge,we,Ee){var Ve=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Ee===void 0||Ee>this.length)&&(Ee=this.length),Ee<=0)||(Ee>>>=0)<=(we>>>=0))return"";for(ge||(ge="utf8");;)switch(ge){case"hex":return Q(this,we,Ee);case"utf8":case"utf-8":return ne(this,we,Ee);case"ascii":return Z(this,we,Ee);case"latin1":case"binary":return X(this,we,Ee);case"base64":return H(this,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,we,Ee);default:if(Ve)throw new TypeError("Unknown encoding: "+ge);ge=(ge+"").toLowerCase(),Ve=!0}}function B(ge,we,Ee){var Ve=ge[we];ge[we]=ge[Ee],ge[Ee]=Ve}function N(ge,we,Ee,Ve,Ye){if(ge.length===0)return-1;if(typeof Ee=="string"?(Ve=Ee,Ee=0):Ee>2147483647?Ee=2147483647:Ee<-2147483648&&(Ee=-2147483648),Le(Ee=+Ee)&&(Ee=Ye?0:ge.length-1),Ee<0&&(Ee=ge.length+Ee),Ee>=ge.length){if(Ye)return-1;Ee=ge.length-1}else if(Ee<0){if(!Ye)return-1;Ee=0}if(typeof we=="string"&&(we=T.from(we,Ve)),T.isBuffer(we))return we.length===0?-1:q(ge,we,Ee,Ve,Ye);if(typeof we=="number")return we&=255,typeof Uint8Array.prototype.indexOf=="function"?Ye?Uint8Array.prototype.indexOf.call(ge,we,Ee):Uint8Array.prototype.lastIndexOf.call(ge,we,Ee):q(ge,[we],Ee,Ve,Ye);throw new TypeError("val must be string, number or Buffer")}function q(ge,we,Ee,Ve,Ye){var $e,st=1,ot=ge.length,ft=we.length;if(Ve!==void 0&&((Ve=String(Ve).toLowerCase())==="ucs2"||Ve==="ucs-2"||Ve==="utf16le"||Ve==="utf-16le")){if(ge.length<2||we.length<2)return-1;st=2,ot/=2,ft/=2,Ee/=2}function bt(Ft,Dt){return st===1?Ft[Dt]:Ft.readUInt16BE(Dt*st)}if(Ye){var Et=-1;for($e=Ee;$eot&&(Ee=ot-ft),$e=Ee;$e>=0;$e--){for(var kt=!0,xt=0;xtYe&&(Ve=Ye):Ve=Ye;var $e,st=we.length;for(Ve>st/2&&(Ve=st/2),$e=0;$e>8,ft=st%256,bt.push(ft),bt.push(ot);return bt}(we,ge.length-Ee),ge,Ee,Ve)}function H(ge,we,Ee){return we===0&&Ee===ge.length?y.fromByteArray(ge):y.fromByteArray(ge.slice(we,Ee))}function ne(ge,we,Ee){Ee=Math.min(ge.length,Ee);for(var Ve=[],Ye=we;Ye239?4:$e>223?3:$e>191?2:1;if(Ye+ot<=Ee){var ft=void 0,bt=void 0,Et=void 0,kt=void 0;switch(ot){case 1:$e<128&&(st=$e);break;case 2:(192&(ft=ge[Ye+1]))==128&&(kt=(31&$e)<<6|63&ft)>127&&(st=kt);break;case 3:ft=ge[Ye+1],bt=ge[Ye+2],(192&ft)==128&&(192&bt)==128&&(kt=(15&$e)<<12|(63&ft)<<6|63&bt)>2047&&(kt<55296||kt>57343)&&(st=kt);break;case 4:ft=ge[Ye+1],bt=ge[Ye+2],Et=ge[Ye+3],(192&ft)==128&&(192&bt)==128&&(192&Et)==128&&(kt=(15&$e)<<18|(63&ft)<<12|(63&bt)<<6|63&Et)>65535&&kt<1114112&&(st=kt)}}st===null?(st=65533,ot=1):st>65535&&(st-=65536,Ve.push(st>>>10&1023|55296),st=56320|1023&st),Ve.push(st),Ye+=ot}return function(xt){var Ft=xt.length;if(Ft<=te)return String.fromCharCode.apply(String,xt);for(var Dt="",Bt=0;Bt"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(T.prototype,"parent",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.buffer}}),Object.defineProperty(T.prototype,"offset",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.byteOffset}}),T.poolSize=8192,T.from=function(ge,we,Ee){return A(ge,we,Ee)},Object.setPrototypeOf(T.prototype,Uint8Array.prototype),Object.setPrototypeOf(T,Uint8Array),T.alloc=function(ge,we,Ee){return function(Ve,Ye,$e){return L(Ve),Ve<=0?E(Ve):Ye!==void 0?typeof $e=="string"?E(Ve).fill(Ye,$e):E(Ve).fill(Ye):E(Ve)}(ge,we,Ee)},T.allocUnsafe=function(ge){return b(ge)},T.allocUnsafeSlow=function(ge){return b(ge)},T.isBuffer=function(ge){return ge!=null&&ge._isBuffer===!0&&ge!==T.prototype},T.compare=function(ge,we){if(ke(ge,Uint8Array)&&(ge=T.from(ge,ge.offset,ge.byteLength)),ke(we,Uint8Array)&&(we=T.from(we,we.offset,we.byteLength)),!T.isBuffer(ge)||!T.isBuffer(we))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ge===we)return 0;for(var Ee=ge.length,Ve=we.length,Ye=0,$e=Math.min(Ee,Ve);Ye<$e;++Ye)if(ge[Ye]!==we[Ye]){Ee=ge[Ye],Ve=we[Ye];break}return EeVe.length?(T.isBuffer($e)||($e=T.from($e)),$e.copy(Ve,Ye)):Uint8Array.prototype.set.call(Ve,$e,Ye);else{if(!T.isBuffer($e))throw new TypeError('"list" argument must be an Array of Buffers');$e.copy(Ve,Ye)}Ye+=$e.length}return Ve},T.byteLength=z,T.prototype._isBuffer=!0,T.prototype.swap16=function(){var ge=this.length;if(ge%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var we=0;wewe&&(ge+=" ... "),""},w&&(T.prototype[w]=T.prototype.inspect),T.prototype.compare=function(ge,we,Ee,Ve,Ye){if(ke(ge,Uint8Array)&&(ge=T.from(ge,ge.offset,ge.byteLength)),!T.isBuffer(ge))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+_(ge));if(we===void 0&&(we=0),Ee===void 0&&(Ee=ge?ge.length:0),Ve===void 0&&(Ve=0),Ye===void 0&&(Ye=this.length),we<0||Ee>ge.length||Ve<0||Ye>this.length)throw new RangeError("out of range index");if(Ve>=Ye&&we>=Ee)return 0;if(Ve>=Ye)return-1;if(we>=Ee)return 1;if(this===ge)return 0;for(var $e=(Ye>>>=0)-(Ve>>>=0),st=(Ee>>>=0)-(we>>>=0),ot=Math.min($e,st),ft=this.slice(Ve,Ye),bt=ge.slice(we,Ee),Et=0;Et>>=0,isFinite(Ee)?(Ee>>>=0,Ve===void 0&&(Ve="utf8")):(Ve=Ee,Ee=void 0)}var Ye=this.length-we;if((Ee===void 0||Ee>Ye)&&(Ee=Ye),ge.length>0&&(Ee<0||we<0)||we>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ve||(Ve="utf8");for(var $e=!1;;)switch(Ve){case"hex":return j(this,ge,we,Ee);case"utf8":case"utf-8":return Y(this,ge,we,Ee);case"ascii":case"latin1":case"binary":return U(this,ge,we,Ee);case"base64":return G(this,ge,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W(this,ge,we,Ee);default:if($e)throw new TypeError("Unknown encoding: "+Ve);Ve=(""+Ve).toLowerCase(),$e=!0}},T.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var te=4096;function Z(ge,we,Ee){var Ve="";Ee=Math.min(ge.length,Ee);for(var Ye=we;YeVe)&&(Ee=Ve);for(var Ye="",$e=we;$eEe)throw new RangeError("Trying to access beyond buffer length")}function oe(ge,we,Ee,Ve,Ye,$e){if(!T.isBuffer(ge))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>Ye||we<$e)throw new RangeError('"value" argument is out of bounds');if(Ee+Ve>ge.length)throw new RangeError("Index out of range")}function ue(ge,we,Ee,Ve,Ye){_e(we,Ve,Ye,ge,Ee,7);var $e=Number(we&BigInt(4294967295));ge[Ee++]=$e,$e>>=8,ge[Ee++]=$e,$e>>=8,ge[Ee++]=$e,$e>>=8,ge[Ee++]=$e;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,Ee}function ce(ge,we,Ee,Ve,Ye){_e(we,Ve,Ye,ge,Ee,7);var $e=Number(we&BigInt(4294967295));ge[Ee+7]=$e,$e>>=8,ge[Ee+6]=$e,$e>>=8,ge[Ee+5]=$e,$e>>=8,ge[Ee+4]=$e;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee+3]=st,st>>=8,ge[Ee+2]=st,st>>=8,ge[Ee+1]=st,st>>=8,ge[Ee]=st,Ee+8}function ye(ge,we,Ee,Ve,Ye,$e){if(Ee+Ve>ge.length)throw new RangeError("Index out of range");if(Ee<0)throw new RangeError("Index out of range")}function de(ge,we,Ee,Ve,Ye){return we=+we,Ee>>>=0,Ye||ye(ge,0,Ee,4),C.write(ge,we,Ee,Ve,23,4),Ee+4}function me(ge,we,Ee,Ve,Ye){return we=+we,Ee>>>=0,Ye||ye(ge,0,Ee,8),C.write(ge,we,Ee,Ve,52,8),Ee+8}T.prototype.slice=function(ge,we){var Ee=this.length;(ge=~~ge)<0?(ge+=Ee)<0&&(ge=0):ge>Ee&&(ge=Ee),(we=we===void 0?Ee:~~we)<0?(we+=Ee)<0&&(we=0):we>Ee&&(we=Ee),we>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],Ye=1,$e=0;++$e>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge+--we],Ye=1;we>0&&(Ye*=256);)Ve+=this[ge+--we]*Ye;return Ve},T.prototype.readUint8=T.prototype.readUInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),this[ge]},T.prototype.readUint16LE=T.prototype.readUInt16LE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]|this[ge+1]<<8},T.prototype.readUint16BE=T.prototype.readUInt16BE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]<<8|this[ge+1]},T.prototype.readUint32LE=T.prototype.readUInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),(this[ge]|this[ge+1]<<8|this[ge+2]<<16)+16777216*this[ge+3]},T.prototype.readUint32BE=T.prototype.readUInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),16777216*this[ge]+(this[ge+1]<<16|this[ge+2]<<8|this[ge+3])},T.prototype.readBigUInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,24),Ye=this[++ge]+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+Ee*Math.pow(2,24);return BigInt(Ve)+(BigInt(Ye)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge],Ye=this[++ge]*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+Ee;return(BigInt(Ve)<>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],Ye=1,$e=0;++$e=(Ye*=128)&&(Ve-=Math.pow(2,8*we)),Ve},T.prototype.readIntBE=function(ge,we,Ee){ge>>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=we,Ye=1,$e=this[ge+--Ve];Ve>0&&(Ye*=256);)$e+=this[ge+--Ve]*Ye;return $e>=(Ye*=128)&&($e-=Math.pow(2,8*we)),$e},T.prototype.readInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),128&this[ge]?-1*(255-this[ge]+1):this[ge]},T.prototype.readInt16LE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge]|this[ge+1]<<8;return 32768&Ee?4294901760|Ee:Ee},T.prototype.readInt16BE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge+1]|this[ge]<<8;return 32768&Ee?4294901760|Ee:Ee},T.prototype.readInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]|this[ge+1]<<8|this[ge+2]<<16|this[ge+3]<<24},T.prototype.readInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]<<24|this[ge+1]<<16|this[ge+2]<<8|this[ge+3]},T.prototype.readBigInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=this[ge+4]+this[ge+5]*Math.pow(2,8)+this[ge+6]*Math.pow(2,16)+(Ee<<24);return(BigInt(Ve)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=(we<<24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge];return(BigInt(Ve)<>>=0,we||ie(ge,4,this.length),C.read(this,ge,!0,23,4)},T.prototype.readFloatBE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),C.read(this,ge,!1,23,4)},T.prototype.readDoubleLE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),C.read(this,ge,!0,52,8)},T.prototype.readDoubleBE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),C.read(this,ge,!1,52,8)},T.prototype.writeUintLE=T.prototype.writeUIntLE=function(ge,we,Ee,Ve){ge=+ge,we>>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var Ye=1,$e=0;for(this[we]=255≥++$e>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var Ye=Ee-1,$e=1;for(this[we+Ye]=255≥--Ye>=0&&($e*=256);)this[we+Ye]=ge/$e&255;return we+Ee},T.prototype.writeUint8=T.prototype.writeUInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,255,0),this[we]=255&ge,we+1},T.prototype.writeUint16LE=T.prototype.writeUInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=255&ge,this[we+1]=ge>>>8,we+2},T.prototype.writeUint16BE=T.prototype.writeUInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=ge>>>8,this[we+1]=255&ge,we+2},T.prototype.writeUint32LE=T.prototype.writeUInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we+3]=ge>>>24,this[we+2]=ge>>>16,this[we+1]=ge>>>8,this[we]=255&ge,we+4},T.prototype.writeUint32BE=T.prototype.writeUInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},T.prototype.writeBigUInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeBigUInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeIntLE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var Ye=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,Ye-1,-Ye)}var $e=0,st=1,ot=0;for(this[we]=255≥++$e>0)-ot&255;return we+Ee},T.prototype.writeIntBE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var Ye=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,Ye-1,-Ye)}var $e=Ee-1,st=1,ot=0;for(this[we+$e]=255≥--$e>=0&&(st*=256);)ge<0&&ot===0&&this[we+$e+1]!==0&&(ot=1),this[we+$e]=(ge/st>>0)-ot&255;return we+Ee},T.prototype.writeInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,127,-128),ge<0&&(ge=255+ge+1),this[we]=255&ge,we+1},T.prototype.writeInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=255&ge,this[we+1]=ge>>>8,we+2},T.prototype.writeInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=ge>>>8,this[we+1]=255&ge,we+2},T.prototype.writeInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),this[we]=255&ge,this[we+1]=ge>>>8,this[we+2]=ge>>>16,this[we+3]=ge>>>24,we+4},T.prototype.writeInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),ge<0&&(ge=4294967295+ge+1),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},T.prototype.writeBigInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeBigInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeFloatLE=function(ge,we,Ee){return de(this,ge,we,!0,Ee)},T.prototype.writeFloatBE=function(ge,we,Ee){return de(this,ge,we,!1,Ee)},T.prototype.writeDoubleLE=function(ge,we,Ee){return me(this,ge,we,!0,Ee)},T.prototype.writeDoubleBE=function(ge,we,Ee){return me(this,ge,we,!1,Ee)},T.prototype.copy=function(ge,we,Ee,Ve){if(!T.isBuffer(ge))throw new TypeError("argument should be a Buffer");if(Ee||(Ee=0),Ve||Ve===0||(Ve=this.length),we>=ge.length&&(we=ge.length),we||(we=0),Ve>0&&Ve=this.length)throw new RangeError("Index out of range");if(Ve<0)throw new RangeError("sourceEnd out of bounds");Ve>this.length&&(Ve=this.length),ge.length-we>>=0,Ee=Ee===void 0?this.length:Ee>>>0,ge||(ge=0),typeof ge=="number")for($e=we;$e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Et,kt=m(st);if(ot){var xt=m(this).constructor;Et=Reflect.construct(kt,arguments,xt)}else Et=kt.apply(this,arguments);return h(this,Et)});function bt(){var Et;return c(this,bt),Et=ft.call(this),Object.defineProperty(f(Et),"message",{value:we.apply(f(Et),arguments),writable:!0,configurable:!0}),Et.name="".concat(Et.name," [").concat(ge,"]"),Et.stack,delete Et.name,Et}return Ye=bt,($e=[{key:"code",get:function(){return ge},set:function(Et){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Et,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ge,"]: ").concat(this.message)}}])&&s(Ye.prototype,$e),Object.defineProperty(Ye,"prototype",{writable:!1}),bt}(Ee)}function Pe(ge){for(var we="",Ee=ge.length,Ve=ge[0]==="-"?1:0;Ee>=Ve+4;Ee-=3)we="_".concat(ge.slice(Ee-3,Ee)).concat(we);return"".concat(ge.slice(0,Ee)).concat(we)}function _e(ge,we,Ee,Ve,Ye,$e){if(ge>Ee||ge3?we===0||we===BigInt(0)?">= 0".concat(ot," and < 2").concat(ot," ** ").concat(8*($e+1)).concat(ot):">= -(2".concat(ot," ** ").concat(8*($e+1)-1).concat(ot,") and < 2 ** ")+"".concat(8*($e+1)-1).concat(ot):">= ".concat(we).concat(ot," and <= ").concat(Ee).concat(ot),new pe.ERR_OUT_OF_RANGE("value",st,ge)}(function(ft,bt,Et){Me(bt,"offset"),ft[bt]!==void 0&&ft[bt+Et]!==void 0||Se(bt,ft.length-(Et+1))})(Ve,Ye,$e)}function Me(ge,we){if(typeof ge!="number")throw new pe.ERR_INVALID_ARG_TYPE(we,"number",ge)}function Se(ge,we,Ee){throw Math.floor(ge)!==ge?(Me(ge,Ee),new pe.ERR_OUT_OF_RANGE(Ee||"offset","an integer",ge)):we<0?new pe.ERR_BUFFER_OUT_OF_BOUNDS:new pe.ERR_OUT_OF_RANGE(Ee||"offset",">= ".concat(Ee?1:0," and <= ").concat(we),ge)}xe("ERR_BUFFER_OUT_OF_BOUNDS",function(ge){return ge?"".concat(ge," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),xe("ERR_INVALID_ARG_TYPE",function(ge,we){return'The "'.concat(ge,'" argument must be of type number. Received type ').concat(_(we))},TypeError),xe("ERR_OUT_OF_RANGE",function(ge,we,Ee){var Ve='The value of "'.concat(ge,'" is out of range.'),Ye=Ee;return Number.isInteger(Ee)&&Math.abs(Ee)>Math.pow(2,32)?Ye=Pe(String(Ee)):typeof Ee=="bigint"&&(Ye=String(Ee),(Ee>Math.pow(BigInt(2),BigInt(32))||Ee<-Math.pow(BigInt(2),BigInt(32)))&&(Ye=Pe(Ye)),Ye+="n"),Ve+" It must be ".concat(we,". Received ").concat(Ye)},RangeError);var Ce=/[^+/0-9A-Za-z-_]/g;function ae(ge,we){var Ee;we=we||1/0;for(var Ve=ge.length,Ye=null,$e=[],st=0;st55295&&Ee<57344){if(!Ye){if(Ee>56319){(we-=3)>-1&&$e.push(239,191,189);continue}if(st+1===Ve){(we-=3)>-1&&$e.push(239,191,189);continue}Ye=Ee;continue}if(Ee<56320){(we-=3)>-1&&$e.push(239,191,189),Ye=Ee;continue}Ee=65536+(Ye-55296<<10|Ee-56320)}else Ye&&(we-=3)>-1&&$e.push(239,191,189);if(Ye=null,Ee<128){if((we-=1)<0)break;$e.push(Ee)}else if(Ee<2048){if((we-=2)<0)break;$e.push(Ee>>6|192,63&Ee|128)}else if(Ee<65536){if((we-=3)<0)break;$e.push(Ee>>12|224,Ee>>6&63|128,63&Ee|128)}else{if(!(Ee<1114112))throw new Error("Invalid code point");if((we-=4)<0)break;$e.push(Ee>>18|240,Ee>>12&63|128,Ee>>6&63|128,63&Ee|128)}}return $e}function he(ge){return y.toByteArray(function(we){if((we=(we=we.split("=")[0]).trim().replace(Ce,"")).length<2)return"";for(;we.length%4!=0;)we+="=";return we}(ge))}function be(ge,we,Ee,Ve){var Ye;for(Ye=0;Ye=we.length||Ye>=ge.length);++Ye)we[Ye+Ee]=ge[Ye];return Ye}function ke(ge,we){return ge instanceof we||ge!=null&&ge.constructor!=null&&ge.constructor.name!=null&&ge.constructor.name===we.name}function Le(ge){return ge!=ge}var Be=function(){for(var ge="0123456789abcdef",we=new Array(256),Ee=0;Ee<16;++Ee)for(var Ve=16*Ee,Ye=0;Ye<16;++Ye)we[Ve+Ye]=ge[Ee]+ge[Ye];return we}();function ze(ge){return typeof BigInt>"u"?je:ge}function je(){throw new Error("BigInt not supported")}},2321:function(p){p.exports=s,p.exports.isMobile=s,p.exports.default=s;var u=/(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,a=/CrOS/,c=/android|ipad|playbook|silk/i;function s(l){l||(l={});var h=l.ua;if(h||typeof navigator>"u"||(h=navigator.userAgent),h&&h.headers&&typeof h.headers["user-agent"]=="string"&&(h=h.headers["user-agent"]),typeof h!="string")return!1;var f=u.test(h)&&!a.test(h)||!!l.tablet&&c.test(h);return!f&&l.tablet&&l.featureDetect&&navigator&&navigator.maxTouchPoints>1&&h.indexOf("Macintosh")!==-1&&h.indexOf("Safari")!==-1&&(f=!0),f}},3910:function(p,u){u.byteLength=function(y){var C=m(y),w=C[0],k=C[1];return 3*(w+k)/4-k},u.toByteArray=function(y){var C,w,k=m(y),E=k[0],T=k[1],A=new s(function(O,I,R){return 3*(I+R)/4-R}(0,E,T)),L=0,b=T>0?E-4:E;for(w=0;w>16&255,A[L++]=C>>8&255,A[L++]=255&C;return T===2&&(C=c[y.charCodeAt(w)]<<2|c[y.charCodeAt(w+1)]>>4,A[L++]=255&C),T===1&&(C=c[y.charCodeAt(w)]<<10|c[y.charCodeAt(w+1)]<<4|c[y.charCodeAt(w+2)]>>2,A[L++]=C>>8&255,A[L++]=255&C),A},u.fromByteArray=function(y){for(var C,w=y.length,k=w%3,E=[],T=16383,A=0,L=w-k;AL?L:A+T));return k===1?(C=y[w-1],E.push(a[C>>2]+a[C<<4&63]+"==")):k===2&&(C=(y[w-2]<<8)+y[w-1],E.push(a[C>>10]+a[C>>4&63]+a[C<<2&63]+"=")),E.join("")};for(var a=[],c=[],s=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,f=l.length;h0)throw new Error("Invalid string. Length must be a multiple of 4");var w=y.indexOf("=");return w===-1&&(w=C),[w,w===C?0:4-w%4]}function _(y,C,w){for(var k,E,T=[],A=C;A>18&63]+a[E>>12&63]+a[E>>6&63]+a[63&E]);return T.join("")}c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},3187:function(p,u){u.read=function(a,c,s,l,h){var f,m,_=8*h-l-1,y=(1<<_)-1,C=y>>1,w=-7,k=s?h-1:0,E=s?-1:1,T=a[c+k];for(k+=E,f=T&(1<<-w)-1,T>>=-w,w+=_;w>0;f=256*f+a[c+k],k+=E,w-=8);for(m=f&(1<<-w)-1,f>>=-w,w+=l;w>0;m=256*m+a[c+k],k+=E,w-=8);if(f===0)f=1-C;else{if(f===y)return m?NaN:1/0*(T?-1:1);m+=Math.pow(2,l),f-=C}return(T?-1:1)*m*Math.pow(2,f-l)},u.write=function(a,c,s,l,h,f){var m,_,y,C=8*f-h-1,w=(1<>1,E=h===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=l?0:f-1,A=l?1:-1,L=c<0||c===0&&1/c<0?1:0;for(c=Math.abs(c),isNaN(c)||c===1/0?(_=isNaN(c)?1:0,m=w):(m=Math.floor(Math.log(c)/Math.LN2),c*(y=Math.pow(2,-m))<1&&(m--,y*=2),(c+=m+k>=1?E/y:E*Math.pow(2,1-k))*y>=2&&(m++,y/=2),m+k>=w?(_=0,m=w):m+k>=1?(_=(c*y-1)*Math.pow(2,h),m+=k):(_=c*Math.pow(2,k-1)*Math.pow(2,h),m=0));h>=8;a[s+T]=255&_,T+=A,_/=256,h-=8);for(m=m<0;a[s+T]=255&m,T+=A,m/=256,C-=8);a[s+T-A]|=128*L}},1152:function(p,u,a){p.exports=function(m){var _=(m=m||{}).eye||[0,0,1],y=m.center||[0,0,0],C=m.up||[0,1,0],w=m.distanceLimits||[0,1/0],k=m.mode||"turntable",E=c(),T=s(),A=l();return E.setDistanceLimits(w[0],w[1]),E.lookAt(0,_,y,C),T.setDistanceLimits(w[0],w[1]),T.lookAt(0,_,y,C),A.setDistanceLimits(w[0],w[1]),A.lookAt(0,_,y,C),new h({turntable:E,orbit:T,matrix:A},k)};var c=a(3440),s=a(7774),l=a(9298);function h(m,_){this._controllerNames=Object.keys(m),this._controllerList=this._controllerNames.map(function(y){return m[y]}),this._mode=_,this._active=m[_],this._active||(this._mode="turntable",this._active=m.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 f=h.prototype;f.flush=function(m){for(var _=this._controllerList,y=0;y<_.length;++y)_[y].flush(m)},f.idle=function(m){for(var _=this._controllerList,y=0;y<_.length;++y)_[y].idle(m)},f.lookAt=function(m,_,y,C){for(var w=this._controllerList,k=0;k"u"?a(5346):WeakMap,s=a(5827),l=a(2944),h=new c;p.exports=function(f){var m=h.get(f),_=m&&(m._triangleBuffer.handle||m._triangleBuffer.buffer);if(!_||!f.isBuffer(_)){var y=s(f,new Float32Array([-1,-1,-1,4,4,-1]));(m=l(f,[{buffer:y,type:f.FLOAT,size:2}]))._triangleBuffer=y,h.set(f,m)}m.bind(),f.drawArrays(f.TRIANGLES,0,3),m.unbind()}},8008:function(p,u,a){var c=a(4930);p.exports=function(s,l,h){l=typeof l=="number"?l:1,h=h||": ";var f=s.split(/\r?\n/),m=String(f.length+l-1).length;return f.map(function(_,y){var C=y+l,w=String(C).length;return c(C,m-w)+h+_}).join(` `)}},2153:function(p,u,a){p.exports=function(l){var h=l.length;if(h===0)return[];if(h===1)return[0];for(var f=l[0].length,m=[l[0]],_=[0],y=1;y0?w=w.ushln(E):E<0&&(k=k.ushln(-E)),f(w,k)}},234:function(p,u,a){var c=a(3218);p.exports=function(s){return Array.isArray(s)&&s.length===2&&c(s[0])&&c(s[1])}},4275:function(p,u,a){var c=a(1928);p.exports=function(s){return s.cmp(new c(0))}},9958:function(p,u,a){var c=a(4275);p.exports=function(s){var l=s.length,h=s.words,f=0;if(l===1)f=h[0];else if(l===2)f=h[0]+67108864*h[1];else for(var m=0;m20?52:f+32}},3218:function(p,u,a){a(1928),p.exports=function(c){return c&&typeof c=="object"&&!!c.words}},5514:function(p,u,a){var c=a(1928),s=a(8362);p.exports=function(l){var h=s.exponent(l);return h<52?new c(l):new c(l*Math.pow(2,52-h)).ushln(h-52)}},8524:function(p,u,a){var c=a(5514),s=a(4275);p.exports=function(l,h){var f=s(l),m=s(h);if(f===0)return[c(0),c(1)];if(m===0)return[c(0),c(0)];m<0&&(l=l.neg(),h=h.neg());var _=l.gcd(h);return _.cmpn(1)?[l.div(_),h.div(_)]:[l,h]}},2813:function(p,u,a){var c=a(1928);p.exports=function(s){return new c(s)}},3962:function(p,u,a){var c=a(8524);p.exports=function(s,l){return c(s[0].mul(l[0]),s[1].mul(l[1]))}},4951:function(p,u,a){var c=a(4275);p.exports=function(s){return c(s[0])*c(s[1])}},4354:function(p,u,a){var c=a(8524);p.exports=function(s,l){return c(s[0].mul(l[1]).sub(s[1].mul(l[0])),s[1].mul(l[1]))}},7999:function(p,u,a){var c=a(9958),s=a(1112);p.exports=function(l){var h=l[0],f=l[1];if(h.cmpn(0)===0)return 0;var m=h.abs().divmod(f.abs()),_=m.div,y=c(_),C=m.mod,w=h.negative!==f.negative?-1:1;if(C.cmpn(0)===0)return w*y;if(y){var k=s(y)+4,E=c(C.ushln(k).divRound(f));return w*(y+E*Math.pow(2,-k))}var T=f.bitLength()-C.bitLength()+53;return E=c(C.ushln(T).divRound(f)),T<1023?w*E*Math.pow(2,-T):w*(E*=Math.pow(2,-1023))*Math.pow(2,1023-T)}},5070:function(p){function u(f,m,_,y,C){for(var w=C+1;y<=C;){var k=y+C>>>1,E=f[k];(_!==void 0?_(E,m):E-m)>=0?(w=k,C=k-1):y=k+1}return w}function a(f,m,_,y,C){for(var w=C+1;y<=C;){var k=y+C>>>1,E=f[k];(_!==void 0?_(E,m):E-m)>0?(w=k,C=k-1):y=k+1}return w}function c(f,m,_,y,C){for(var w=y-1;y<=C;){var k=y+C>>>1,E=f[k];(_!==void 0?_(E,m):E-m)<0?(w=k,y=k+1):C=k-1}return w}function s(f,m,_,y,C){for(var w=y-1;y<=C;){var k=y+C>>>1,E=f[k];(_!==void 0?_(E,m):E-m)<=0?(w=k,y=k+1):C=k-1}return w}function l(f,m,_,y,C){for(;y<=C;){var w=y+C>>>1,k=f[w],E=_!==void 0?_(k,m):k-m;if(E===0)return w;E<=0?y=w+1:C=w-1}return-1}function h(f,m,_,y,C,w){return typeof _=="function"?w(f,m,_,y===void 0?0:0|y,C===void 0?f.length-1:0|C):w(f,m,void 0,_===void 0?0:0|_,y===void 0?f.length-1:0|y)}p.exports={ge:function(f,m,_,y,C){return h(f,m,_,y,C,u)},gt:function(f,m,_,y,C){return h(f,m,_,y,C,a)},lt:function(f,m,_,y,C){return h(f,m,_,y,C,c)},le:function(f,m,_,y,C){return h(f,m,_,y,C,s)},eq:function(f,m,_,y,C){return h(f,m,_,y,C,l)}}},2288:function(p,u){function a(s){var l=32;return(s&=-s)&&l--,65535&s&&(l-=16),16711935&s&&(l-=8),252645135&s&&(l-=4),858993459&s&&(l-=2),1431655765&s&&(l-=1),l}u.INT_BITS=32,u.INT_MAX=2147483647,u.INT_MIN=-2147483648,u.sign=function(s){return(s>0)-(s<0)},u.abs=function(s){var l=s>>31;return(s^l)-l},u.min=function(s,l){return l^(s^l)&-(s65535)<<4,l|=h=((s>>>=l)>255)<<3,l|=h=((s>>>=h)>15)<<2,(l|=h=((s>>>=h)>3)<<1)|(s>>>=h)>>1},u.log10=function(s){return s>=1e9?9:s>=1e8?8:s>=1e7?7:s>=1e6?6:s>=1e5?5:s>=1e4?4:s>=1e3?3:s>=100?2:s>=10?1:0},u.popCount=function(s){return 16843009*((s=(858993459&(s-=s>>>1&1431655765))+(s>>>2&858993459))+(s>>>4)&252645135)>>>24},u.countTrailingZeros=a,u.nextPow2=function(s){return s+=s===0,--s,s|=s>>>1,s|=s>>>2,s|=s>>>4,1+((s|=s>>>8)|s>>>16)},u.prevPow2=function(s){return s|=s>>>1,s|=s>>>2,s|=s>>>4,s|=s>>>8,(s|=s>>>16)-(s>>>1)},u.parity=function(s){return s^=s>>>16,s^=s>>>8,s^=s>>>4,27030>>>(s&=15)&1};var c=new Array(256);(function(s){for(var l=0;l<256;++l){var h=l,f=l,m=7;for(h>>>=1;h;h>>>=1)f<<=1,f|=1&h,--m;s[l]=f<>>8&255]<<16|c[s>>>16&255]<<8|c[s>>>24&255]},u.interleave2=function(s,l){return(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))|(l=1431655765&((l=858993459&((l=252645135&((l=16711935&((l&=65535)|l<<8))|l<<4))|l<<2))|l<<1))<<1},u.deinterleave2=function(s,l){return(s=65535&((s=16711935&((s=252645135&((s=858993459&((s=s>>>l&1431655765)|s>>>1))|s>>>2))|s>>>4))|s>>>16))<<16>>16},u.interleave3=function(s,l,h){return s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2),(s|=(l=1227133513&((l=3272356035&((l=251719695&((l=4278190335&((l&=1023)|l<<16))|l<<8))|l<<4))|l<<2))<<1)|(h=1227133513&((h=3272356035&((h=251719695&((h=4278190335&((h&=1023)|h<<16))|h<<8))|h<<4))|h<<2))<<2},u.deinterleave3=function(s,l){return(s=1023&((s=4278190335&((s=251719695&((s=3272356035&((s=s>>>l&1227133513)|s>>>2))|s>>>4))|s>>>8))|s>>>16))<<22>>22},u.nextCombination=function(s){var l=s|s-1;return l+1|(~l&-~l)-1>>>a(s)+1}},1928:function(p,u,a){(function(c,s){function l(j,Y){if(!j)throw new Error(Y||"Assertion failed")}function h(j,Y){j.super_=Y;var U=function(){};U.prototype=Y.prototype,j.prototype=new U,j.prototype.constructor=j}function f(j,Y,U){if(f.isBN(j))return j;this.negative=0,this.words=null,this.length=0,this.red=null,j!==null&&(Y!=="le"&&Y!=="be"||(U=Y,Y=10),this._init(j||0,Y||10,U||"be"))}var m;typeof c=="object"?c.exports=f:s.BN=f,f.BN=f,f.wordSize=26;try{m=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:a(6601).Buffer}catch{}function _(j,Y){var U=j.charCodeAt(Y);return U>=65&&U<=70?U-55:U>=97&&U<=102?U-87:U-48&15}function y(j,Y,U){var G=_(j,U);return U-1>=Y&&(G|=_(j,U-1)<<4),G}function C(j,Y,U,G){for(var W=0,H=Math.min(j.length,U),ne=Y;ne=49?te-49+10:te>=17?te-17+10:te}return W}f.isBN=function(j){return j instanceof f||j!==null&&typeof j=="object"&&j.constructor.wordSize===f.wordSize&&Array.isArray(j.words)},f.max=function(j,Y){return j.cmp(Y)>0?j:Y},f.min=function(j,Y){return j.cmp(Y)<0?j:Y},f.prototype._init=function(j,Y,U){if(typeof j=="number")return this._initNumber(j,Y,U);if(typeof j=="object")return this._initArray(j,Y,U);Y==="hex"&&(Y=16),l(Y===(0|Y)&&Y>=2&&Y<=36);var G=0;(j=j.toString().replace(/\s+/g,""))[0]==="-"&&(G++,this.negative=1),G=0;G-=3)H=j[G]|j[G-1]<<8|j[G-2]<<16,this.words[W]|=H<>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,W++);else if(U==="le")for(G=0,W=0;G>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,W++);return this.strip()},f.prototype._parseHex=function(j,Y,U){this.length=Math.ceil((j.length-Y)/6),this.words=new Array(this.length);for(var G=0;G=Y;G-=2)W=y(j,Y,G)<=18?(H-=18,ne+=1,this.words[ne]|=W>>>26):H+=8;else for(G=(j.length-Y)%2==0?Y+1:Y;G=18?(H-=18,ne+=1,this.words[ne]|=W>>>26):H+=8;this.strip()},f.prototype._parseBase=function(j,Y,U){this.words=[0],this.length=1;for(var G=0,W=1;W<=67108863;W*=Y)G++;G--,W=W/Y|0;for(var H=j.length-U,ne=H%G,te=Math.min(H,H-ne)+U,Z=0,X=U;X1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},f.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},f.prototype.inspect=function(){return(this.red?""};var w=["","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"],k=[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],E=[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 T(j,Y,U){U.negative=Y.negative^j.negative;var G=j.length+Y.length|0;U.length=G,G=G-1|0;var W=0|j.words[0],H=0|Y.words[0],ne=W*H,te=67108863&ne,Z=ne/67108864|0;U.words[0]=te;for(var X=1;X>>26,re=67108863&Z,ie=Math.min(X,Y.length-1),oe=Math.max(0,X-j.length+1);oe<=ie;oe++){var ue=X-oe|0;Q+=(ne=(W=0|j.words[ue])*(H=0|Y.words[oe])+re)/67108864|0,re=67108863&ne}U.words[X]=0|re,Z=0|Q}return Z!==0?U.words[X]=0|Z:U.length--,U.strip()}f.prototype.toString=function(j,Y){var U;if(Y=0|Y||1,(j=j||10)===16||j==="hex"){U="";for(var G=0,W=0,H=0;H>>24-G&16777215)!=0||H!==this.length-1?w[6-te.length]+te+U:te+U,(G+=2)>=26&&(G-=26,H--)}for(W!==0&&(U=W.toString(16)+U);U.length%Y!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}if(j===(0|j)&&j>=2&&j<=36){var Z=k[j],X=E[j];U="";var Q=this.clone();for(Q.negative=0;!Q.isZero();){var re=Q.modn(X).toString(j);U=(Q=Q.idivn(X)).isZero()?re+U:w[Z-re.length]+re+U}for(this.isZero()&&(U="0"+U);U.length%Y!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}l(!1,"Base should be between 2 and 36")},f.prototype.toNumber=function(){var j=this.words[0];return this.length===2?j+=67108864*this.words[1]:this.length===3&&this.words[2]===1?j+=4503599627370496+67108864*this.words[1]:this.length>2&&l(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-j:j},f.prototype.toJSON=function(){return this.toString(16)},f.prototype.toBuffer=function(j,Y){return l(m!==void 0),this.toArrayLike(m,j,Y)},f.prototype.toArray=function(j,Y){return this.toArrayLike(Array,j,Y)},f.prototype.toArrayLike=function(j,Y,U){var G=this.byteLength(),W=U||Math.max(1,G);l(G<=W,"byte array longer than desired length"),l(W>0,"Requested array length <= 0"),this.strip();var H,ne,te=Y==="le",Z=new j(W),X=this.clone();if(te){for(ne=0;!X.isZero();ne++)H=X.andln(255),X.iushrn(8),Z[ne]=H;for(;ne=4096&&(U+=13,Y>>>=13),Y>=64&&(U+=7,Y>>>=7),Y>=8&&(U+=4,Y>>>=4),Y>=2&&(U+=2,Y>>>=2),U+Y},f.prototype._zeroBits=function(j){if(j===0)return 26;var Y=j,U=0;return!(8191&Y)&&(U+=13,Y>>>=13),!(127&Y)&&(U+=7,Y>>>=7),!(15&Y)&&(U+=4,Y>>>=4),!(3&Y)&&(U+=2,Y>>>=2),!(1&Y)&&U++,U},f.prototype.bitLength=function(){var j=this.words[this.length-1],Y=this._countBits(j);return 26*(this.length-1)+Y},f.prototype.zeroBits=function(){if(this.isZero())return 0;for(var j=0,Y=0;Yj.length?this.clone().ior(j):j.clone().ior(this)},f.prototype.uor=function(j){return this.length>j.length?this.clone().iuor(j):j.clone().iuor(this)},f.prototype.iuand=function(j){var Y;Y=this.length>j.length?j:this;for(var U=0;Uj.length?this.clone().iand(j):j.clone().iand(this)},f.prototype.uand=function(j){return this.length>j.length?this.clone().iuand(j):j.clone().iuand(this)},f.prototype.iuxor=function(j){var Y,U;this.length>j.length?(Y=this,U=j):(Y=j,U=this);for(var G=0;Gj.length?this.clone().ixor(j):j.clone().ixor(this)},f.prototype.uxor=function(j){return this.length>j.length?this.clone().iuxor(j):j.clone().iuxor(this)},f.prototype.inotn=function(j){l(typeof j=="number"&&j>=0);var Y=0|Math.ceil(j/26),U=j%26;this._expand(Y),U>0&&Y--;for(var G=0;G0&&(this.words[G]=~this.words[G]&67108863>>26-U),this.strip()},f.prototype.notn=function(j){return this.clone().inotn(j)},f.prototype.setn=function(j,Y){l(typeof j=="number"&&j>=0);var U=j/26|0,G=j%26;return this._expand(U+1),this.words[U]=Y?this.words[U]|1<j.length?(U=this,G=j):(U=j,G=this);for(var W=0,H=0;H>>26;for(;W!==0&&H>>26;if(this.length=U.length,W!==0)this.words[this.length]=W,this.length++;else if(U!==this)for(;Hj.length?this.clone().iadd(j):j.clone().iadd(this)},f.prototype.isub=function(j){if(j.negative!==0){j.negative=0;var Y=this.iadd(j);return j.negative=1,Y._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(j),this.negative=1,this._normSign();var U,G,W=this.cmp(j);if(W===0)return this.negative=0,this.length=1,this.words[0]=0,this;W>0?(U=this,G=j):(U=j,G=this);for(var H=0,ne=0;ne>26,this.words[ne]=67108863&Y;for(;H!==0&&ne>26,this.words[ne]=67108863&Y;if(H===0&&ne>>13,oe=0|ne[1],ue=8191&oe,ce=oe>>>13,ye=0|ne[2],de=8191&ye,me=ye>>>13,pe=0|ne[3],xe=8191&pe,Pe=pe>>>13,_e=0|ne[4],Me=8191&_e,Se=_e>>>13,Ce=0|ne[5],ae=8191&Ce,he=Ce>>>13,be=0|ne[6],ke=8191&be,Le=be>>>13,Be=0|ne[7],ze=8191&Be,je=Be>>>13,ge=0|ne[8],we=8191&ge,Ee=ge>>>13,Ve=0|ne[9],Ye=8191&Ve,$e=Ve>>>13,st=0|te[0],ot=8191&st,ft=st>>>13,bt=0|te[1],Et=8191&bt,kt=bt>>>13,xt=0|te[2],Ft=8191&xt,Dt=xt>>>13,Bt=0|te[3],Wt=8191&Bt,Vt=Bt>>>13,Ke=0|te[4],Je=8191&Ke,We=Ke>>>13,nt=0|te[5],ht=8191&nt,Oe=nt>>>13,Ne=0|te[6],Qe=8191&Ne,ut=Ne>>>13,pt=0|te[7],_t=8191&pt,It=pt>>>13,Lt=0|te[8],yt=8191&Lt,Pt=Lt>>>13,wt=0|te[9],Ot=8191&wt,Nt=wt>>>13;U.negative=j.negative^Y.negative,U.length=19;var $t=(X+(G=Math.imul(re,ot))|0)+((8191&(W=(W=Math.imul(re,ft))+Math.imul(ie,ot)|0))<<13)|0;X=((H=Math.imul(ie,ft))+(W>>>13)|0)+($t>>>26)|0,$t&=67108863,G=Math.imul(ue,ot),W=(W=Math.imul(ue,ft))+Math.imul(ce,ot)|0,H=Math.imul(ce,ft);var qt=(X+(G=G+Math.imul(re,Et)|0)|0)+((8191&(W=(W=W+Math.imul(re,kt)|0)+Math.imul(ie,Et)|0))<<13)|0;X=((H=H+Math.imul(ie,kt)|0)+(W>>>13)|0)+(qt>>>26)|0,qt&=67108863,G=Math.imul(de,ot),W=(W=Math.imul(de,ft))+Math.imul(me,ot)|0,H=Math.imul(me,ft),G=G+Math.imul(ue,Et)|0,W=(W=W+Math.imul(ue,kt)|0)+Math.imul(ce,Et)|0,H=H+Math.imul(ce,kt)|0;var Xt=(X+(G=G+Math.imul(re,Ft)|0)|0)+((8191&(W=(W=W+Math.imul(re,Dt)|0)+Math.imul(ie,Ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Dt)|0)+(W>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,G=Math.imul(xe,ot),W=(W=Math.imul(xe,ft))+Math.imul(Pe,ot)|0,H=Math.imul(Pe,ft),G=G+Math.imul(de,Et)|0,W=(W=W+Math.imul(de,kt)|0)+Math.imul(me,Et)|0,H=H+Math.imul(me,kt)|0,G=G+Math.imul(ue,Ft)|0,W=(W=W+Math.imul(ue,Dt)|0)+Math.imul(ce,Ft)|0,H=H+Math.imul(ce,Dt)|0;var Qt=(X+(G=G+Math.imul(re,Wt)|0)|0)+((8191&(W=(W=W+Math.imul(re,Vt)|0)+Math.imul(ie,Wt)|0))<<13)|0;X=((H=H+Math.imul(ie,Vt)|0)+(W>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,G=Math.imul(Me,ot),W=(W=Math.imul(Me,ft))+Math.imul(Se,ot)|0,H=Math.imul(Se,ft),G=G+Math.imul(xe,Et)|0,W=(W=W+Math.imul(xe,kt)|0)+Math.imul(Pe,Et)|0,H=H+Math.imul(Pe,kt)|0,G=G+Math.imul(de,Ft)|0,W=(W=W+Math.imul(de,Dt)|0)+Math.imul(me,Ft)|0,H=H+Math.imul(me,Dt)|0,G=G+Math.imul(ue,Wt)|0,W=(W=W+Math.imul(ue,Vt)|0)+Math.imul(ce,Wt)|0,H=H+Math.imul(ce,Vt)|0;var rn=(X+(G=G+Math.imul(re,Je)|0)|0)+((8191&(W=(W=W+Math.imul(re,We)|0)+Math.imul(ie,Je)|0))<<13)|0;X=((H=H+Math.imul(ie,We)|0)+(W>>>13)|0)+(rn>>>26)|0,rn&=67108863,G=Math.imul(ae,ot),W=(W=Math.imul(ae,ft))+Math.imul(he,ot)|0,H=Math.imul(he,ft),G=G+Math.imul(Me,Et)|0,W=(W=W+Math.imul(Me,kt)|0)+Math.imul(Se,Et)|0,H=H+Math.imul(Se,kt)|0,G=G+Math.imul(xe,Ft)|0,W=(W=W+Math.imul(xe,Dt)|0)+Math.imul(Pe,Ft)|0,H=H+Math.imul(Pe,Dt)|0,G=G+Math.imul(de,Wt)|0,W=(W=W+Math.imul(de,Vt)|0)+Math.imul(me,Wt)|0,H=H+Math.imul(me,Vt)|0,G=G+Math.imul(ue,Je)|0,W=(W=W+Math.imul(ue,We)|0)+Math.imul(ce,Je)|0,H=H+Math.imul(ce,We)|0;var xn=(X+(G=G+Math.imul(re,ht)|0)|0)+((8191&(W=(W=W+Math.imul(re,Oe)|0)+Math.imul(ie,ht)|0))<<13)|0;X=((H=H+Math.imul(ie,Oe)|0)+(W>>>13)|0)+(xn>>>26)|0,xn&=67108863,G=Math.imul(ke,ot),W=(W=Math.imul(ke,ft))+Math.imul(Le,ot)|0,H=Math.imul(Le,ft),G=G+Math.imul(ae,Et)|0,W=(W=W+Math.imul(ae,kt)|0)+Math.imul(he,Et)|0,H=H+Math.imul(he,kt)|0,G=G+Math.imul(Me,Ft)|0,W=(W=W+Math.imul(Me,Dt)|0)+Math.imul(Se,Ft)|0,H=H+Math.imul(Se,Dt)|0,G=G+Math.imul(xe,Wt)|0,W=(W=W+Math.imul(xe,Vt)|0)+Math.imul(Pe,Wt)|0,H=H+Math.imul(Pe,Vt)|0,G=G+Math.imul(de,Je)|0,W=(W=W+Math.imul(de,We)|0)+Math.imul(me,Je)|0,H=H+Math.imul(me,We)|0,G=G+Math.imul(ue,ht)|0,W=(W=W+Math.imul(ue,Oe)|0)+Math.imul(ce,ht)|0,H=H+Math.imul(ce,Oe)|0;var un=(X+(G=G+Math.imul(re,Qe)|0)|0)+((8191&(W=(W=W+Math.imul(re,ut)|0)+Math.imul(ie,Qe)|0))<<13)|0;X=((H=H+Math.imul(ie,ut)|0)+(W>>>13)|0)+(un>>>26)|0,un&=67108863,G=Math.imul(ze,ot),W=(W=Math.imul(ze,ft))+Math.imul(je,ot)|0,H=Math.imul(je,ft),G=G+Math.imul(ke,Et)|0,W=(W=W+Math.imul(ke,kt)|0)+Math.imul(Le,Et)|0,H=H+Math.imul(Le,kt)|0,G=G+Math.imul(ae,Ft)|0,W=(W=W+Math.imul(ae,Dt)|0)+Math.imul(he,Ft)|0,H=H+Math.imul(he,Dt)|0,G=G+Math.imul(Me,Wt)|0,W=(W=W+Math.imul(Me,Vt)|0)+Math.imul(Se,Wt)|0,H=H+Math.imul(Se,Vt)|0,G=G+Math.imul(xe,Je)|0,W=(W=W+Math.imul(xe,We)|0)+Math.imul(Pe,Je)|0,H=H+Math.imul(Pe,We)|0,G=G+Math.imul(de,ht)|0,W=(W=W+Math.imul(de,Oe)|0)+Math.imul(me,ht)|0,H=H+Math.imul(me,Oe)|0,G=G+Math.imul(ue,Qe)|0,W=(W=W+Math.imul(ue,ut)|0)+Math.imul(ce,Qe)|0,H=H+Math.imul(ce,ut)|0;var An=(X+(G=G+Math.imul(re,_t)|0)|0)+((8191&(W=(W=W+Math.imul(re,It)|0)+Math.imul(ie,_t)|0))<<13)|0;X=((H=H+Math.imul(ie,It)|0)+(W>>>13)|0)+(An>>>26)|0,An&=67108863,G=Math.imul(we,ot),W=(W=Math.imul(we,ft))+Math.imul(Ee,ot)|0,H=Math.imul(Ee,ft),G=G+Math.imul(ze,Et)|0,W=(W=W+Math.imul(ze,kt)|0)+Math.imul(je,Et)|0,H=H+Math.imul(je,kt)|0,G=G+Math.imul(ke,Ft)|0,W=(W=W+Math.imul(ke,Dt)|0)+Math.imul(Le,Ft)|0,H=H+Math.imul(Le,Dt)|0,G=G+Math.imul(ae,Wt)|0,W=(W=W+Math.imul(ae,Vt)|0)+Math.imul(he,Wt)|0,H=H+Math.imul(he,Vt)|0,G=G+Math.imul(Me,Je)|0,W=(W=W+Math.imul(Me,We)|0)+Math.imul(Se,Je)|0,H=H+Math.imul(Se,We)|0,G=G+Math.imul(xe,ht)|0,W=(W=W+Math.imul(xe,Oe)|0)+Math.imul(Pe,ht)|0,H=H+Math.imul(Pe,Oe)|0,G=G+Math.imul(de,Qe)|0,W=(W=W+Math.imul(de,ut)|0)+Math.imul(me,Qe)|0,H=H+Math.imul(me,ut)|0,G=G+Math.imul(ue,_t)|0,W=(W=W+Math.imul(ue,It)|0)+Math.imul(ce,_t)|0,H=H+Math.imul(ce,It)|0;var Yn=(X+(G=G+Math.imul(re,yt)|0)|0)+((8191&(W=(W=W+Math.imul(re,Pt)|0)+Math.imul(ie,yt)|0))<<13)|0;X=((H=H+Math.imul(ie,Pt)|0)+(W>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,G=Math.imul(Ye,ot),W=(W=Math.imul(Ye,ft))+Math.imul($e,ot)|0,H=Math.imul($e,ft),G=G+Math.imul(we,Et)|0,W=(W=W+Math.imul(we,kt)|0)+Math.imul(Ee,Et)|0,H=H+Math.imul(Ee,kt)|0,G=G+Math.imul(ze,Ft)|0,W=(W=W+Math.imul(ze,Dt)|0)+Math.imul(je,Ft)|0,H=H+Math.imul(je,Dt)|0,G=G+Math.imul(ke,Wt)|0,W=(W=W+Math.imul(ke,Vt)|0)+Math.imul(Le,Wt)|0,H=H+Math.imul(Le,Vt)|0,G=G+Math.imul(ae,Je)|0,W=(W=W+Math.imul(ae,We)|0)+Math.imul(he,Je)|0,H=H+Math.imul(he,We)|0,G=G+Math.imul(Me,ht)|0,W=(W=W+Math.imul(Me,Oe)|0)+Math.imul(Se,ht)|0,H=H+Math.imul(Se,Oe)|0,G=G+Math.imul(xe,Qe)|0,W=(W=W+Math.imul(xe,ut)|0)+Math.imul(Pe,Qe)|0,H=H+Math.imul(Pe,ut)|0,G=G+Math.imul(de,_t)|0,W=(W=W+Math.imul(de,It)|0)+Math.imul(me,_t)|0,H=H+Math.imul(me,It)|0,G=G+Math.imul(ue,yt)|0,W=(W=W+Math.imul(ue,Pt)|0)+Math.imul(ce,yt)|0,H=H+Math.imul(ce,Pt)|0;var kn=(X+(G=G+Math.imul(re,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(re,Nt)|0)+Math.imul(ie,Ot)|0))<<13)|0;X=((H=H+Math.imul(ie,Nt)|0)+(W>>>13)|0)+(kn>>>26)|0,kn&=67108863,G=Math.imul(Ye,Et),W=(W=Math.imul(Ye,kt))+Math.imul($e,Et)|0,H=Math.imul($e,kt),G=G+Math.imul(we,Ft)|0,W=(W=W+Math.imul(we,Dt)|0)+Math.imul(Ee,Ft)|0,H=H+Math.imul(Ee,Dt)|0,G=G+Math.imul(ze,Wt)|0,W=(W=W+Math.imul(ze,Vt)|0)+Math.imul(je,Wt)|0,H=H+Math.imul(je,Vt)|0,G=G+Math.imul(ke,Je)|0,W=(W=W+Math.imul(ke,We)|0)+Math.imul(Le,Je)|0,H=H+Math.imul(Le,We)|0,G=G+Math.imul(ae,ht)|0,W=(W=W+Math.imul(ae,Oe)|0)+Math.imul(he,ht)|0,H=H+Math.imul(he,Oe)|0,G=G+Math.imul(Me,Qe)|0,W=(W=W+Math.imul(Me,ut)|0)+Math.imul(Se,Qe)|0,H=H+Math.imul(Se,ut)|0,G=G+Math.imul(xe,_t)|0,W=(W=W+Math.imul(xe,It)|0)+Math.imul(Pe,_t)|0,H=H+Math.imul(Pe,It)|0,G=G+Math.imul(de,yt)|0,W=(W=W+Math.imul(de,Pt)|0)+Math.imul(me,yt)|0,H=H+Math.imul(me,Pt)|0;var sn=(X+(G=G+Math.imul(ue,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(ue,Nt)|0)+Math.imul(ce,Ot)|0))<<13)|0;X=((H=H+Math.imul(ce,Nt)|0)+(W>>>13)|0)+(sn>>>26)|0,sn&=67108863,G=Math.imul(Ye,Ft),W=(W=Math.imul(Ye,Dt))+Math.imul($e,Ft)|0,H=Math.imul($e,Dt),G=G+Math.imul(we,Wt)|0,W=(W=W+Math.imul(we,Vt)|0)+Math.imul(Ee,Wt)|0,H=H+Math.imul(Ee,Vt)|0,G=G+Math.imul(ze,Je)|0,W=(W=W+Math.imul(ze,We)|0)+Math.imul(je,Je)|0,H=H+Math.imul(je,We)|0,G=G+Math.imul(ke,ht)|0,W=(W=W+Math.imul(ke,Oe)|0)+Math.imul(Le,ht)|0,H=H+Math.imul(Le,Oe)|0,G=G+Math.imul(ae,Qe)|0,W=(W=W+Math.imul(ae,ut)|0)+Math.imul(he,Qe)|0,H=H+Math.imul(he,ut)|0,G=G+Math.imul(Me,_t)|0,W=(W=W+Math.imul(Me,It)|0)+Math.imul(Se,_t)|0,H=H+Math.imul(Se,It)|0,G=G+Math.imul(xe,yt)|0,W=(W=W+Math.imul(xe,Pt)|0)+Math.imul(Pe,yt)|0,H=H+Math.imul(Pe,Pt)|0;var Tn=(X+(G=G+Math.imul(de,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(de,Nt)|0)+Math.imul(me,Ot)|0))<<13)|0;X=((H=H+Math.imul(me,Nt)|0)+(W>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,G=Math.imul(Ye,Wt),W=(W=Math.imul(Ye,Vt))+Math.imul($e,Wt)|0,H=Math.imul($e,Vt),G=G+Math.imul(we,Je)|0,W=(W=W+Math.imul(we,We)|0)+Math.imul(Ee,Je)|0,H=H+Math.imul(Ee,We)|0,G=G+Math.imul(ze,ht)|0,W=(W=W+Math.imul(ze,Oe)|0)+Math.imul(je,ht)|0,H=H+Math.imul(je,Oe)|0,G=G+Math.imul(ke,Qe)|0,W=(W=W+Math.imul(ke,ut)|0)+Math.imul(Le,Qe)|0,H=H+Math.imul(Le,ut)|0,G=G+Math.imul(ae,_t)|0,W=(W=W+Math.imul(ae,It)|0)+Math.imul(he,_t)|0,H=H+Math.imul(he,It)|0,G=G+Math.imul(Me,yt)|0,W=(W=W+Math.imul(Me,Pt)|0)+Math.imul(Se,yt)|0,H=H+Math.imul(Se,Pt)|0;var dn=(X+(G=G+Math.imul(xe,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(xe,Nt)|0)+Math.imul(Pe,Ot)|0))<<13)|0;X=((H=H+Math.imul(Pe,Nt)|0)+(W>>>13)|0)+(dn>>>26)|0,dn&=67108863,G=Math.imul(Ye,Je),W=(W=Math.imul(Ye,We))+Math.imul($e,Je)|0,H=Math.imul($e,We),G=G+Math.imul(we,ht)|0,W=(W=W+Math.imul(we,Oe)|0)+Math.imul(Ee,ht)|0,H=H+Math.imul(Ee,Oe)|0,G=G+Math.imul(ze,Qe)|0,W=(W=W+Math.imul(ze,ut)|0)+Math.imul(je,Qe)|0,H=H+Math.imul(je,ut)|0,G=G+Math.imul(ke,_t)|0,W=(W=W+Math.imul(ke,It)|0)+Math.imul(Le,_t)|0,H=H+Math.imul(Le,It)|0,G=G+Math.imul(ae,yt)|0,W=(W=W+Math.imul(ae,Pt)|0)+Math.imul(he,yt)|0,H=H+Math.imul(he,Pt)|0;var pn=(X+(G=G+Math.imul(Me,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(Me,Nt)|0)+Math.imul(Se,Ot)|0))<<13)|0;X=((H=H+Math.imul(Se,Nt)|0)+(W>>>13)|0)+(pn>>>26)|0,pn&=67108863,G=Math.imul(Ye,ht),W=(W=Math.imul(Ye,Oe))+Math.imul($e,ht)|0,H=Math.imul($e,Oe),G=G+Math.imul(we,Qe)|0,W=(W=W+Math.imul(we,ut)|0)+Math.imul(Ee,Qe)|0,H=H+Math.imul(Ee,ut)|0,G=G+Math.imul(ze,_t)|0,W=(W=W+Math.imul(ze,It)|0)+Math.imul(je,_t)|0,H=H+Math.imul(je,It)|0,G=G+Math.imul(ke,yt)|0,W=(W=W+Math.imul(ke,Pt)|0)+Math.imul(Le,yt)|0,H=H+Math.imul(Le,Pt)|0;var Rn=(X+(G=G+Math.imul(ae,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(ae,Nt)|0)+Math.imul(he,Ot)|0))<<13)|0;X=((H=H+Math.imul(he,Nt)|0)+(W>>>13)|0)+(Rn>>>26)|0,Rn&=67108863,G=Math.imul(Ye,Qe),W=(W=Math.imul(Ye,ut))+Math.imul($e,Qe)|0,H=Math.imul($e,ut),G=G+Math.imul(we,_t)|0,W=(W=W+Math.imul(we,It)|0)+Math.imul(Ee,_t)|0,H=H+Math.imul(Ee,It)|0,G=G+Math.imul(ze,yt)|0,W=(W=W+Math.imul(ze,Pt)|0)+Math.imul(je,yt)|0,H=H+Math.imul(je,Pt)|0;var In=(X+(G=G+Math.imul(ke,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(ke,Nt)|0)+Math.imul(Le,Ot)|0))<<13)|0;X=((H=H+Math.imul(Le,Nt)|0)+(W>>>13)|0)+(In>>>26)|0,In&=67108863,G=Math.imul(Ye,_t),W=(W=Math.imul(Ye,It))+Math.imul($e,_t)|0,H=Math.imul($e,It),G=G+Math.imul(we,yt)|0,W=(W=W+Math.imul(we,Pt)|0)+Math.imul(Ee,yt)|0,H=H+Math.imul(Ee,Pt)|0;var jn=(X+(G=G+Math.imul(ze,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(ze,Nt)|0)+Math.imul(je,Ot)|0))<<13)|0;X=((H=H+Math.imul(je,Nt)|0)+(W>>>13)|0)+(jn>>>26)|0,jn&=67108863,G=Math.imul(Ye,yt),W=(W=Math.imul(Ye,Pt))+Math.imul($e,yt)|0,H=Math.imul($e,Pt);var Gn=(X+(G=G+Math.imul(we,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(we,Nt)|0)+Math.imul(Ee,Ot)|0))<<13)|0;X=((H=H+Math.imul(Ee,Nt)|0)+(W>>>13)|0)+(Gn>>>26)|0,Gn&=67108863;var Wn=(X+(G=Math.imul(Ye,Ot))|0)+((8191&(W=(W=Math.imul(Ye,Nt))+Math.imul($e,Ot)|0))<<13)|0;return X=((H=Math.imul($e,Nt))+(W>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,Z[0]=$t,Z[1]=qt,Z[2]=Xt,Z[3]=Qt,Z[4]=rn,Z[5]=xn,Z[6]=un,Z[7]=An,Z[8]=Yn,Z[9]=kn,Z[10]=sn,Z[11]=Tn,Z[12]=dn,Z[13]=pn,Z[14]=Rn,Z[15]=In,Z[16]=jn,Z[17]=Gn,Z[18]=Wn,X!==0&&(Z[19]=X,U.length++),U};function L(j,Y,U){return new b().mulp(j,Y,U)}function b(j,Y){this.x=j,this.y=Y}Math.imul||(A=T),f.prototype.mulTo=function(j,Y){var U,G=this.length+j.length;return U=this.length===10&&j.length===10?A(this,j,Y):G<63?T(this,j,Y):G<1024?function(W,H,ne){ne.negative=H.negative^W.negative,ne.length=W.length+H.length;for(var te=0,Z=0,X=0;X>>26)|0)>>>26,Q&=67108863}ne.words[X]=re,te=Q,Q=Z}return te!==0?ne.words[X]=te:ne.length--,ne.strip()}(this,j,Y):L(this,j,Y),U},b.prototype.makeRBT=function(j){for(var Y=new Array(j),U=f.prototype._countBits(j)-1,G=0;G>=1;return G},b.prototype.permute=function(j,Y,U,G,W,H){for(var ne=0;ne>>=1)W++;return 1<>>=13,U[2*H+1]=8191&W,W>>>=13;for(H=2*Y;H>=26,Y+=G/67108864|0,Y+=W>>>26,this.words[U]=67108863&W}return Y!==0&&(this.words[U]=Y,this.length++),this},f.prototype.muln=function(j){return this.clone().imuln(j)},f.prototype.sqr=function(){return this.mul(this)},f.prototype.isqr=function(){return this.imul(this.clone())},f.prototype.pow=function(j){var Y=function(H){for(var ne=new Array(H.bitLength()),te=0;te>>X}return ne}(j);if(Y.length===0)return new f(1);for(var U=this,G=0;G=0);var Y,U=j%26,G=(j-U)/26,W=67108863>>>26-U<<26-U;if(U!==0){var H=0;for(Y=0;Y>>26-U}H&&(this.words[Y]=H,this.length++)}if(G!==0){for(Y=this.length-1;Y>=0;Y--)this.words[Y+G]=this.words[Y];for(Y=0;Y=0),G=Y?(Y-Y%26)/26:0;var W=j%26,H=Math.min((j-W)/26,this.length),ne=67108863^67108863>>>W<H)for(this.length-=H,Z=0;Z=0&&(X!==0||Z>=G);Z--){var Q=0|this.words[Z];this.words[Z]=X<<26-W|Q>>>W,X=Q&ne}return te&&X!==0&&(te.words[te.length++]=X),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},f.prototype.ishrn=function(j,Y,U){return l(this.negative===0),this.iushrn(j,Y,U)},f.prototype.shln=function(j){return this.clone().ishln(j)},f.prototype.ushln=function(j){return this.clone().iushln(j)},f.prototype.shrn=function(j){return this.clone().ishrn(j)},f.prototype.ushrn=function(j){return this.clone().iushrn(j)},f.prototype.testn=function(j){l(typeof j=="number"&&j>=0);var Y=j%26,U=(j-Y)/26,G=1<=0);var Y=j%26,U=(j-Y)/26;if(l(this.negative===0,"imaskn works only with positive numbers"),this.length<=U)return this;if(Y!==0&&U++,this.length=Math.min(U,this.length),Y!==0){var G=67108863^67108863>>>Y<=67108864;Y++)this.words[Y]-=67108864,Y===this.length-1?this.words[Y+1]=1:this.words[Y+1]++;return this.length=Math.max(this.length,Y+1),this},f.prototype.isubn=function(j){if(l(typeof j=="number"),l(j<67108864),j<0)return this.iaddn(-j);if(this.negative!==0)return this.negative=0,this.iaddn(j),this.negative=1,this;if(this.words[0]-=j,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var Y=0;Y>26)-(te/67108864|0),this.words[G+U]=67108863&W}for(;G>26,this.words[G+U]=67108863&W;if(ne===0)return this.strip();for(l(ne===-1),ne=0,G=0;G>26,this.words[G]=67108863&W;return this.negative=1,this.strip()},f.prototype._wordDiv=function(j,Y){var U=(this.length,j.length),G=this.clone(),W=j,H=0|W.words[W.length-1];(U=26-this._countBits(H))!=0&&(W=W.ushln(U),G.iushln(U),H=0|W.words[W.length-1]);var ne,te=G.length-W.length;if(Y!=="mod"){(ne=new f(null)).length=te+1,ne.words=new Array(ne.length);for(var Z=0;Z=0;Q--){var re=67108864*(0|G.words[W.length+Q])+(0|G.words[W.length+Q-1]);for(re=Math.min(re/H|0,67108863),G._ishlnsubmul(W,re,Q);G.negative!==0;)re--,G.negative=0,G._ishlnsubmul(W,1,Q),G.isZero()||(G.negative^=1);ne&&(ne.words[Q]=re)}return ne&&ne.strip(),G.strip(),Y!=="div"&&U!==0&&G.iushrn(U),{div:ne||null,mod:G}},f.prototype.divmod=function(j,Y,U){return l(!j.isZero()),this.isZero()?{div:new f(0),mod:new f(0)}:this.negative!==0&&j.negative===0?(H=this.neg().divmod(j,Y),Y!=="mod"&&(G=H.div.neg()),Y!=="div"&&(W=H.mod.neg(),U&&W.negative!==0&&W.iadd(j)),{div:G,mod:W}):this.negative===0&&j.negative!==0?(H=this.divmod(j.neg(),Y),Y!=="mod"&&(G=H.div.neg()),{div:G,mod:H.mod}):this.negative&j.negative?(H=this.neg().divmod(j.neg(),Y),Y!=="div"&&(W=H.mod.neg(),U&&W.negative!==0&&W.isub(j)),{div:H.div,mod:W}):j.length>this.length||this.cmp(j)<0?{div:new f(0),mod:this}:j.length===1?Y==="div"?{div:this.divn(j.words[0]),mod:null}:Y==="mod"?{div:null,mod:new f(this.modn(j.words[0]))}:{div:this.divn(j.words[0]),mod:new f(this.modn(j.words[0]))}:this._wordDiv(j,Y);var G,W,H},f.prototype.div=function(j){return this.divmod(j,"div",!1).div},f.prototype.mod=function(j){return this.divmod(j,"mod",!1).mod},f.prototype.umod=function(j){return this.divmod(j,"mod",!0).mod},f.prototype.divRound=function(j){var Y=this.divmod(j);if(Y.mod.isZero())return Y.div;var U=Y.div.negative!==0?Y.mod.isub(j):Y.mod,G=j.ushrn(1),W=j.andln(1),H=U.cmp(G);return H<0||W===1&&H===0?Y.div:Y.div.negative!==0?Y.div.isubn(1):Y.div.iaddn(1)},f.prototype.modn=function(j){l(j<=67108863);for(var Y=67108864%j,U=0,G=this.length-1;G>=0;G--)U=(Y*U+(0|this.words[G]))%j;return U},f.prototype.idivn=function(j){l(j<=67108863);for(var Y=0,U=this.length-1;U>=0;U--){var G=(0|this.words[U])+67108864*Y;this.words[U]=G/j|0,Y=G%j}return this.strip()},f.prototype.divn=function(j){return this.clone().idivn(j)},f.prototype.egcd=function(j){l(j.negative===0),l(!j.isZero());var Y=this,U=j.clone();Y=Y.negative!==0?Y.umod(j):Y.clone();for(var G=new f(1),W=new f(0),H=new f(0),ne=new f(1),te=0;Y.isEven()&&U.isEven();)Y.iushrn(1),U.iushrn(1),++te;for(var Z=U.clone(),X=Y.clone();!Y.isZero();){for(var Q=0,re=1;!(Y.words[0]&re)&&Q<26;++Q,re<<=1);if(Q>0)for(Y.iushrn(Q);Q-- >0;)(G.isOdd()||W.isOdd())&&(G.iadd(Z),W.isub(X)),G.iushrn(1),W.iushrn(1);for(var ie=0,oe=1;!(U.words[0]&oe)&&ie<26;++ie,oe<<=1);if(ie>0)for(U.iushrn(ie);ie-- >0;)(H.isOdd()||ne.isOdd())&&(H.iadd(Z),ne.isub(X)),H.iushrn(1),ne.iushrn(1);Y.cmp(U)>=0?(Y.isub(U),G.isub(H),W.isub(ne)):(U.isub(Y),H.isub(G),ne.isub(W))}return{a:H,b:ne,gcd:U.iushln(te)}},f.prototype._invmp=function(j){l(j.negative===0),l(!j.isZero());var Y=this,U=j.clone();Y=Y.negative!==0?Y.umod(j):Y.clone();for(var G,W=new f(1),H=new f(0),ne=U.clone();Y.cmpn(1)>0&&U.cmpn(1)>0;){for(var te=0,Z=1;!(Y.words[0]&Z)&&te<26;++te,Z<<=1);if(te>0)for(Y.iushrn(te);te-- >0;)W.isOdd()&&W.iadd(ne),W.iushrn(1);for(var X=0,Q=1;!(U.words[0]&Q)&&X<26;++X,Q<<=1);if(X>0)for(U.iushrn(X);X-- >0;)H.isOdd()&&H.iadd(ne),H.iushrn(1);Y.cmp(U)>=0?(Y.isub(U),W.isub(H)):(U.isub(Y),H.isub(W))}return(G=Y.cmpn(1)===0?W:H).cmpn(0)<0&&G.iadd(j),G},f.prototype.gcd=function(j){if(this.isZero())return j.abs();if(j.isZero())return this.abs();var Y=this.clone(),U=j.clone();Y.negative=0,U.negative=0;for(var G=0;Y.isEven()&&U.isEven();G++)Y.iushrn(1),U.iushrn(1);for(;;){for(;Y.isEven();)Y.iushrn(1);for(;U.isEven();)U.iushrn(1);var W=Y.cmp(U);if(W<0){var H=Y;Y=U,U=H}else if(W===0||U.cmpn(1)===0)break;Y.isub(U)}return U.iushln(G)},f.prototype.invm=function(j){return this.egcd(j).a.umod(j)},f.prototype.isEven=function(){return(1&this.words[0])==0},f.prototype.isOdd=function(){return(1&this.words[0])==1},f.prototype.andln=function(j){return this.words[0]&j},f.prototype.bincn=function(j){l(typeof j=="number");var Y=j%26,U=(j-Y)/26,G=1<>>26,ne&=67108863,this.words[H]=ne}return W!==0&&(this.words[H]=W,this.length++),this},f.prototype.isZero=function(){return this.length===1&&this.words[0]===0},f.prototype.cmpn=function(j){var Y,U=j<0;if(this.negative!==0&&!U)return-1;if(this.negative===0&&U)return 1;if(this.strip(),this.length>1)Y=1;else{U&&(j=-j),l(j<=67108863,"Number is too big");var G=0|this.words[0];Y=G===j?0:Gj.length)return 1;if(this.length=0;U--){var G=0|this.words[U],W=0|j.words[U];if(G!==W){GW&&(Y=1);break}}return Y},f.prototype.gtn=function(j){return this.cmpn(j)===1},f.prototype.gt=function(j){return this.cmp(j)===1},f.prototype.gten=function(j){return this.cmpn(j)>=0},f.prototype.gte=function(j){return this.cmp(j)>=0},f.prototype.ltn=function(j){return this.cmpn(j)===-1},f.prototype.lt=function(j){return this.cmp(j)===-1},f.prototype.lten=function(j){return this.cmpn(j)<=0},f.prototype.lte=function(j){return this.cmp(j)<=0},f.prototype.eqn=function(j){return this.cmpn(j)===0},f.prototype.eq=function(j){return this.cmp(j)===0},f.red=function(j){return new N(j)},f.prototype.toRed=function(j){return l(!this.red,"Already a number in reduction context"),l(this.negative===0,"red works only with positives"),j.convertTo(this)._forceRed(j)},f.prototype.fromRed=function(){return l(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},f.prototype._forceRed=function(j){return this.red=j,this},f.prototype.forceRed=function(j){return l(!this.red,"Already a number in reduction context"),this._forceRed(j)},f.prototype.redAdd=function(j){return l(this.red,"redAdd works only with red numbers"),this.red.add(this,j)},f.prototype.redIAdd=function(j){return l(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,j)},f.prototype.redSub=function(j){return l(this.red,"redSub works only with red numbers"),this.red.sub(this,j)},f.prototype.redISub=function(j){return l(this.red,"redISub works only with red numbers"),this.red.isub(this,j)},f.prototype.redShl=function(j){return l(this.red,"redShl works only with red numbers"),this.red.shl(this,j)},f.prototype.redMul=function(j){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.mul(this,j)},f.prototype.redIMul=function(j){return l(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.imul(this,j)},f.prototype.redSqr=function(){return l(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},f.prototype.redISqr=function(){return l(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},f.prototype.redSqrt=function(){return l(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},f.prototype.redInvm=function(){return l(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},f.prototype.redNeg=function(){return l(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},f.prototype.redPow=function(j){return l(this.red&&!j.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,j)};var O={k256:null,p224:null,p192:null,p25519:null};function I(j,Y){this.name=j,this.p=new f(Y,16),this.n=this.p.bitLength(),this.k=new f(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function R(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function z(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function F(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function B(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function N(j){if(typeof j=="string"){var Y=f._prime(j);this.m=Y.p,this.prime=Y}else l(j.gtn(1),"modulus must be greater than 1"),this.m=j,this.prime=null}function q(j){N.call(this,j),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new f(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)}I.prototype._tmp=function(){var j=new f(null);return j.words=new Array(Math.ceil(this.n/13)),j},I.prototype.ireduce=function(j){var Y,U=j;do this.split(U,this.tmp),Y=(U=(U=this.imulK(U)).iadd(this.tmp)).bitLength();while(Y>this.n);var G=Y0?U.isub(this.p):U.strip!==void 0?U.strip():U._strip(),U},I.prototype.split=function(j,Y){j.iushrn(this.n,0,Y)},I.prototype.imulK=function(j){return j.imul(this.k)},h(R,I),R.prototype.split=function(j,Y){for(var U=4194303,G=Math.min(j.length,9),W=0;W>>22,H=ne}H>>>=22,j.words[W-10]=H,H===0&&j.length>10?j.length-=10:j.length-=9},R.prototype.imulK=function(j){j.words[j.length]=0,j.words[j.length+1]=0,j.length+=2;for(var Y=0,U=0;U>>=26,j.words[U]=W,Y=G}return Y!==0&&(j.words[j.length++]=Y),j},f._prime=function(j){if(O[j])return O[j];var Y;if(j==="k256")Y=new R;else if(j==="p224")Y=new z;else if(j==="p192")Y=new F;else{if(j!=="p25519")throw new Error("Unknown prime "+j);Y=new B}return O[j]=Y,Y},N.prototype._verify1=function(j){l(j.negative===0,"red works only with positives"),l(j.red,"red works only with red numbers")},N.prototype._verify2=function(j,Y){l((j.negative|Y.negative)==0,"red works only with positives"),l(j.red&&j.red===Y.red,"red works only with red numbers")},N.prototype.imod=function(j){return this.prime?this.prime.ireduce(j)._forceRed(this):j.umod(this.m)._forceRed(this)},N.prototype.neg=function(j){return j.isZero()?j.clone():this.m.sub(j)._forceRed(this)},N.prototype.add=function(j,Y){this._verify2(j,Y);var U=j.add(Y);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},N.prototype.iadd=function(j,Y){this._verify2(j,Y);var U=j.iadd(Y);return U.cmp(this.m)>=0&&U.isub(this.m),U},N.prototype.sub=function(j,Y){this._verify2(j,Y);var U=j.sub(Y);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},N.prototype.isub=function(j,Y){this._verify2(j,Y);var U=j.isub(Y);return U.cmpn(0)<0&&U.iadd(this.m),U},N.prototype.shl=function(j,Y){return this._verify1(j),this.imod(j.ushln(Y))},N.prototype.imul=function(j,Y){return this._verify2(j,Y),this.imod(j.imul(Y))},N.prototype.mul=function(j,Y){return this._verify2(j,Y),this.imod(j.mul(Y))},N.prototype.isqr=function(j){return this.imul(j,j.clone())},N.prototype.sqr=function(j){return this.mul(j,j)},N.prototype.sqrt=function(j){if(j.isZero())return j.clone();var Y=this.m.andln(3);if(l(Y%2==1),Y===3){var U=this.m.add(new f(1)).iushrn(2);return this.pow(j,U)}for(var G=this.m.subn(1),W=0;!G.isZero()&&G.andln(1)===0;)W++,G.iushrn(1);l(!G.isZero());var H=new f(1).toRed(this),ne=H.redNeg(),te=this.m.subn(1).iushrn(1),Z=this.m.bitLength();for(Z=new f(2*Z*Z).toRed(this);this.pow(Z,te).cmp(ne)!==0;)Z.redIAdd(ne);for(var X=this.pow(Z,G),Q=this.pow(j,G.addn(1).iushrn(1)),re=this.pow(j,G),ie=W;re.cmp(H)!==0;){for(var oe=re,ue=0;oe.cmp(H)!==0;ue++)oe=oe.redSqr();l(ue=0;G--){for(var Z=Y.words[G],X=te-1;X>=0;X--){var Q=Z>>X&1;W!==U[0]&&(W=this.sqr(W)),Q!==0||H!==0?(H<<=1,H|=Q,(++ne==4||G===0&&X===0)&&(W=this.mul(W,U[H]),ne=0,H=0)):ne=0}te=26}return W},N.prototype.convertTo=function(j){var Y=j.umod(this.m);return Y===j?Y.clone():Y},N.prototype.convertFrom=function(j){var Y=j.clone();return Y.red=null,Y},f.mont=function(j){return new q(j)},h(q,N),q.prototype.convertTo=function(j){return this.imod(j.ushln(this.shift))},q.prototype.convertFrom=function(j){var Y=this.imod(j.mul(this.rinv));return Y.red=null,Y},q.prototype.imul=function(j,Y){if(j.isZero()||Y.isZero())return j.words[0]=0,j.length=1,j;var U=j.imul(Y),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),W=U.isub(G).iushrn(this.shift),H=W;return W.cmp(this.m)>=0?H=W.isub(this.m):W.cmpn(0)<0&&(H=W.iadd(this.m)),H._forceRed(this)},q.prototype.mul=function(j,Y){if(j.isZero()||Y.isZero())return new f(0)._forceRed(this);var U=j.mul(Y),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),W=U.isub(G).iushrn(this.shift),H=W;return W.cmp(this.m)>=0?H=W.isub(this.m):W.cmpn(0)<0&&(H=W.iadd(this.m)),H._forceRed(this)},q.prototype.invm=function(j){return this.imod(j._invmp(this.m).mul(this.r2))._forceRed(this)}})(p=a.nmd(p),this)},2692:function(p){p.exports=function(u){var a,c,s,l=u.length,h=0;for(a=0;a>>1;if(!(O<=0)){var I,R=s.mallocDouble(2*O*L),z=s.mallocInt32(L);if((L=m(k,O,R,z))>0){if(O===1&&A)l.init(L),I=l.sweepComplete(O,T,0,L,R,z,0,L,R,z);else{var F=s.mallocDouble(2*O*b),B=s.mallocInt32(b);(b=m(E,O,F,B))>0&&(l.init(L+b),I=O===1?l.sweepBipartite(O,T,0,L,R,z,0,b,F,B):h(O,T,A,L,R,z,b,F,B),s.free(F),s.free(B))}s.free(R),s.free(z)}return I}}}function y(k,E){c.push([k,E])}function C(k){return c=[],_(k,k,y,!0),c}function w(k,E){return c=[],_(k,E,y,!1),c}},7333:function(p,u){function a(c){return c?function(s,l,h,f,m,_,y,C,w,k,E){return m-f>w-C?function(T,A,L,b,O,I,R,z,F,B,N){for(var q=2*T,j=b,Y=q*b;jk-w?f?function(A,L,b,O,I,R,z,F,B,N,q){for(var j=2*A,Y=O,U=j*O;Y0;){var te=6*(H-=1),Z=L[te],X=L[te+1],Q=L[te+2],re=L[te+3],ie=L[te+4],oe=L[te+5],ue=2*H,ce=b[ue],ye=b[ue+1],de=1&oe,me=!!(16&oe),pe=q,xe=j,Pe=U,_e=G;if(de&&(pe=U,xe=G,Pe=q,_e=j),!(2&oe&&(Q=k(z,Z,X,Q,pe,xe,ye),X>=Q)||4&oe&&(X=E(z,Z,X,Q,pe,xe,ce))>=Q)){var Me=Q-X,Se=ie-re;if(me){if(z*Me*(Me+Se)<4194304){if((W=m.scanComplete(z,Z,F,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return W;continue}}else{if(z*Math.min(Me,Se)<128){if((W=h(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return W;continue}if(z*Me*Se<4194304){if((W=m.scanBipartite(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return W;continue}}var Ce=C(z,Z,X,Q,pe,xe,ce,ye);if(X=p0)&&!(p1>=hi)"),w=y("lo===p0"),k=y("lo>>1,E=2*l,T=k,A=_[E*k+h];C=R?(T=I,A=R):O>=F?(T=b,A=O):(T=z,A=F):R>=F?(T=I,A=R):F>=O?(T=b,A=O):(T=z,A=F);for(var B=E*(w-1),N=E*T,q=0;qf&&_[A+h]>E;--T,A-=C){for(var L=A,b=A+C,O=0;OE;++E,y+=_)if(h[y+k]===m)if(w===E)w+=1,C+=_;else{for(var T=0;_>T;++T){var A=h[y+T];h[y+T]=h[C],h[C++]=A}var L=f[E];f[E]=f[w],f[w++]=L}return w},"loE;++E,y+=_)if(h[y+k]T;++T){var A=h[y+T];h[y+T]=h[C],h[C++]=A}var L=f[E];f[E]=f[w],f[w++]=L}return w},"lo<=p0":function(a,c,s,l,h,f,m){for(var _=2*a,y=_*s,C=y,w=s,k=a+c,E=s;l>E;++E,y+=_)if(h[y+k]<=m)if(w===E)w+=1,C+=_;else{for(var T=0;_>T;++T){var A=h[y+T];h[y+T]=h[C],h[C++]=A}var L=f[E];f[E]=f[w],f[w++]=L}return w},"hi<=p0":function(a,c,s,l,h,f,m){for(var _=2*a,y=_*s,C=y,w=s,k=a+c,E=s;l>E;++E,y+=_)if(h[y+k]<=m)if(w===E)w+=1,C+=_;else{for(var T=0;_>T;++T){var A=h[y+T];h[y+T]=h[C],h[C++]=A}var L=f[E];f[E]=f[w],f[w++]=L}return w},"loT;++T,y+=_){var A=h[y+k],L=h[y+E];if(Ab;++b){var O=h[y+b];h[y+b]=h[C],h[C++]=O}var I=f[T];f[T]=f[w],f[w++]=I}}return w},"lo<=p0&&p0<=hi":function(a,c,s,l,h,f,m){for(var _=2*a,y=_*s,C=y,w=s,k=c,E=a+c,T=s;l>T;++T,y+=_){var A=h[y+k],L=h[y+E];if(A<=m&&m<=L)if(w===T)w+=1,C+=_;else{for(var b=0;_>b;++b){var O=h[y+b];h[y+b]=h[C],h[C++]=O}var I=f[T];f[T]=f[w],f[w++]=I}}return w},"!(lo>=p0)&&!(p1>=hi)":function(a,c,s,l,h,f,m,_){for(var y=2*a,C=y*s,w=C,k=s,E=c,T=a+c,A=s;l>A;++A,C+=y){var L=h[C+E],b=h[C+T];if(!(L>=m||_>=b))if(k===A)k+=1,w+=y;else{for(var O=0;y>O;++O){var I=h[C+O];h[C+O]=h[w],h[w++]=I}var R=f[A];f[A]=f[k],f[k++]=R}}return k}}},309:function(p){function u(_,y,C){for(var w=2*(_+1),k=_+1;k<=y;++k){for(var E=C[w++],T=C[w++],A=k,L=w-2;A-- >_;){var b=C[L-2],O=C[L-1];if(bC[y+1])}function f(_,y,C,w){var k=w[_*=2];return k>1,A=T-w,L=T+w,b=k,O=A,I=T,R=L,z=E,F=_+1,B=y-1,N=0;h(b,O,C)&&(N=b,b=O,O=N),h(R,z,C)&&(N=R,R=z,z=N),h(b,I,C)&&(N=b,b=I,I=N),h(O,I,C)&&(N=O,O=I,I=N),h(b,R,C)&&(N=b,b=R,R=N),h(I,R,C)&&(N=I,I=R,R=N),h(O,z,C)&&(N=O,O=z,z=N),h(O,I,C)&&(N=O,O=I,I=N),h(R,z,C)&&(N=R,R=z,z=N);for(var q=C[2*O],j=C[2*O+1],Y=C[2*R],U=C[2*R+1],G=2*b,W=2*I,H=2*z,ne=2*k,te=2*T,Z=2*E,X=0;X<2;++X){var Q=C[G+X],re=C[W+X],ie=C[H+X];C[ne+X]=Q,C[te+X]=re,C[Z+X]=ie}c(A,_,C),c(L,y,C);for(var oe=F;oe<=B;++oe)if(f(oe,q,j,C))oe!==F&&a(oe,F,C),++F;else if(!f(oe,Y,U,C))for(;;){if(f(B,Y,U,C)){f(B,q,j,C)?(s(oe,F,B,C),++F,--B):(a(oe,B,C),--B);break}if(--B>>1;l(E,Z);var X=0,Q=0;for(W=0;W=h)T(y,C,Q--,re=re-h|0);else if(re>=0)T(m,_,X--,re);else if(re<=-268435456){re=-re-h|0;for(var ie=0;ie>>1;l(E,Z);var X=0,Q=0,re=0;for(W=0;W>1==E[2*W+3]>>1&&(oe=2,W+=1),ie<0){for(var ue=-(ie>>1)-1,ce=0;ce>1)-1,oe===0?T(m,_,X--,ue):oe===1?T(y,C,Q--,ue):oe===2&&T(w,k,re--,ue)}},scanBipartite:function(L,b,O,I,R,z,F,B,N,q,j,Y){var U=0,G=2*L,W=b,H=b+L,ne=1,te=1;I?te=h:ne=h;for(var Z=R;Z>>1;l(E,ie);var oe=0;for(Z=0;Z=h?(ce=!I,X-=h):(ce=!!I,X-=1),ce)A(m,_,oe++,X);else{var ye=Y[X],de=G*X,me=j[de+b+1],pe=j[de+b+1+L];e:for(var xe=0;xe>>1;l(E,X);var Q=0;for(H=0;H=h)m[Q++]=ne-h;else{var ie=j[ne-=1],oe=U*ne,ue=q[oe+b+1],ce=q[oe+b+1+L];e:for(var ye=0;ye=0;--ye)if(m[ye]===ne){for(xe=ye+1;xe0;){for(var A=f.pop(),L=(k=-1,E=-1,C=_[y=f.pop()],1);L=0||(h.flip(y,A),s(l,h,f,k,y,E),s(l,h,f,y,E,k),s(l,h,f,E,A,k),s(l,h,f,A,k,E))}}},7098:function(p,u,a){var c,s=a(5070);function l(f,m,_,y,C,w,k){this.cells=f,this.neighbor=m,this.flags=y,this.constraint=_,this.active=C,this.next=w,this.boundary=k}function h(f,m){return f[0]-m[0]||f[1]-m[1]||f[2]-m[2]}p.exports=function(f,m,_){var y=function(F,B){for(var N=F.cells(),q=N.length,j=0;j0||k.length>0;){for(;w.length>0;){var b=w.pop();if(E[b]!==-C){E[b]=C,T[b];for(var O=0;O<3;++O){var I=L[3*b+O];I>=0&&E[I]===0&&(A[3*b+O]?k.push(I):(w.push(I),E[I]=C))}}}var R=k;k=w,w=R,k.length=0,C=-C}var z=function(F,B,N){for(var q=0,j=0;j1&&s(T[z[F-2]],T[z[F-1]],A)>0;)k.push([z[F-1],z[F-2],L]),F-=1;z.length=F,z.push(L);var B=R.upperIds;for(F=B.length;F>1&&s(T[B[F-2]],T[B[F-1]],A)<0;)k.push([B[F-2],B[F-1],L]),F-=1;B.length=F,B.push(L)}}function y(k,E){var T;return(T=k.a[0]R[0]&&L.push(new h(R,I,2,b),new h(I,R,1,b))}L.sort(f);for(var z=L[0].a[0]-(1+Math.abs(L[0].a[0]))*Math.pow(2,-52),F=[new l([z,1],[z,0],-1,[],[])],B=[],N=(b=0,L.length);b=0}}(),l.removeTriangle=function(f,m,_){var y=this.stars;h(y[f],m,_),h(y[m],_,f),h(y[_],f,m)},l.addTriangle=function(f,m,_){var y=this.stars;y[f].push(m,_),y[m].push(_,f),y[_].push(f,m)},l.opposite=function(f,m){for(var _=this.stars[m],y=1,C=_.length;yI[2]?1:0)}function L(O,I,R){if(O.length!==0){if(I)for(var z=0;z=0;--H){var ue=Y[ne=(_e=G[H])[0]],ce=ue[0],ye=ue[1],de=j[ce],me=j[ye];if((de[0]-me[0]||de[1]-me[1])<0){var pe=ce;ce=ye,ye=pe}ue[0]=ce;var xe,Pe=ue[1]=_e[1];for(W&&(xe=ue[2]);H>0&&G[H-1][0]===ne;){var _e,Me=(_e=G[--H])[1];W?Y.push([Pe,Me,xe]):Y.push([Pe,Me]),Pe=Me}W?Y.push([Pe,ye,xe]):Y.push([Pe,ye])}return te}(O,I,F,B,R),q=E(O,N);return L(I,q,R),!!q||F.length>0||B.length>0}},5528:function(p,u,a){p.exports=function(C,w,k,E){var T=f(w,C),A=f(E,k),L=y(T,A);if(h(L)===0)return null;var b=y(A,f(C,k)),O=s(b,L),I=_(T,O);return m(C,I)};var c=a(3962),s=a(9189),l=a(4354),h=a(4951),f=a(6695),m=a(7584),_=a(4469);function y(C,w){return l(c(C[0],w[1]),c(C[1],w[0]))}},5692:function(p){p.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(p,u,a){var c=a(5692),s=a(3578);function l(m){return[m[0]/255,m[1]/255,m[2]/255,m[3]]}function h(m){for(var _,y="#",C=0;C<3;++C)y+=("00"+(_=(_=m[C]).toString(16))).substr(_.length);return y}function f(m){return"rgba("+m.join(",")+")"}p.exports=function(m){var _,y,C,w,k,E,T,A,L,b;if(m||(m={}),A=(m.nshades||72)-1,T=m.format||"hex",(E=m.colormap)||(E="jet"),typeof E=="string"){if(E=E.toLowerCase(),!c[E])throw Error(E+" not a supported colorscale");k=c[E]}else{if(!Array.isArray(E))throw Error("unsupported colormap option",E);k=E.slice()}if(k.length>A+1)throw new Error(E+" map requires nshades to be at least size "+k.length);L=Array.isArray(m.alpha)?m.alpha.length!==2?[1,1]:m.alpha.slice():typeof m.alpha=="number"?[m.alpha,m.alpha]:[1,1],_=k.map(function(F){return Math.round(F.index*A)}),L[0]=Math.min(Math.max(L[0],0),1),L[1]=Math.min(Math.max(L[1],0),1);var O=k.map(function(F,B){var N=k[B].index,q=k[B].rgb.slice();return q.length===4&&q[3]>=0&&q[3]<=1||(q[3]=L[0]+(L[1]-L[0])*N),q}),I=[];for(b=0;b<_.length-1;++b){w=_[b+1]-_[b],y=O[b],C=O[b+1];for(var R=0;R0||m(_,y,w)?-1:1:E===0?T>0||m(_,y,C)?1:-1:s(T-E)}var L=c(_,y,C);return L>0?k>0&&c(_,y,w)>0?1:-1:L<0?k>0||c(_,y,w)>0?1:-1:c(_,y,w)>0||m(_,y,C)?1:-1};var c=a(417),s=a(7538),l=a(87),h=a(2019),f=a(9662);function m(_,y,C){var w=l(_[0],-y[0]),k=l(_[1],-y[1]),E=l(C[0],-y[0]),T=l(C[1],-y[1]),A=f(h(w,E),h(k,T));return A[A.length-1]>=0}},7538:function(p){p.exports=function(u){return u<0?-1:u>0?1:0}},9209:function(p){p.exports=function(c,s){var l=c.length,h=c.length-s.length;if(h)return h;switch(l){case 0:return 0;case 1:return c[0]-s[0];case 2:return c[0]+c[1]-s[0]-s[1]||u(c[0],c[1])-u(s[0],s[1]);case 3:var f=c[0]+c[1],m=s[0]+s[1];if(h=f+c[2]-(m+s[2]))return h;var _=u(c[0],c[1]),y=u(s[0],s[1]);return u(_,c[2])-u(y,s[2])||u(_+c[2],f)-u(y+s[2],m);case 4:var C=c[0],w=c[1],k=c[2],E=c[3],T=s[0],A=s[1],L=s[2],b=s[3];return C+w+k+E-(T+A+L+b)||u(C,w,k,E)-u(T,A,L,b,T)||u(C+w,C+k,C+E,w+k,w+E,k+E)-u(T+A,T+L,T+b,A+L,A+b,L+b)||u(C+w+k,C+w+E,C+k+E,w+k+E)-u(T+A+L,T+A+b,T+L+b,A+L+b);default:for(var O=c.slice().sort(a),I=s.slice().sort(a),R=0;Ru[c][0]&&(c=s);return ac?[[c],[a]]:[[a]]}},8722:function(p,u,a){p.exports=function(s){var l=c(s),h=l.length;if(h<=2)return[];for(var f=new Array(h),m=l[h-1],_=0;_=C[b]&&(L+=1);T[A]=L}}return y}(c(m,!0),f)}};var c=a(2183),s=a(2153)},9680:function(p){p.exports=function(u,a,c,s,l,h){var f=l-1,m=l*l,_=f*f,y=(1+2*l)*_,C=l*_,w=m*(3-2*l),k=m*f;if(u.length){h||(h=new Array(u.length));for(var E=u.length-1;E>=0;--E)h[E]=y*u[E]+C*a[E]+w*c[E]+k*s[E];return h}return y*u+C*a+w*c+k*s},p.exports.derivative=function(u,a,c,s,l,h){var f=6*l*l-6*l,m=3*l*l-4*l+1,_=-6*l*l+6*l,y=3*l*l-2*l;if(u.length){h||(h=new Array(u.length));for(var C=u.length-1;C>=0;--C)h[C]=f*u[C]+m*a[C]+_*c[C]+y*s[C];return h}return f*u+m*a+_*c[C]+y*s}},4419:function(p,u,a){var c=a(2183),s=a(1215);function l(f,m){this.point=f,this.index=m}function h(f,m){for(var _=f.point,y=m.point,C=_.length,w=0;w=2)return!1;N[j]=Y}return!0}):B.filter(function(N){for(var q=0;q<=y;++q){var j=I[N[q]];if(j<0)return!1;N[q]=j}return!0}),1&y)for(k=0;k>>31},p.exports.exponent=function(l){return(p.exports.hi(l)<<1>>>21)-1023},p.exports.fraction=function(l){var h=p.exports.lo(l),f=p.exports.hi(l),m=1048575&f;return 2146435072&f&&(m+=1048576),[h,m]},p.exports.denormalized=function(l){return!(2146435072&p.exports.hi(l))}},3094:function(p){function u(a,c,s){var l=0|a[s];if(l<=0)return[];var h,f=new Array(l);if(s===a.length-1)for(h=0;h0)return function(s,l){var h,f;for(h=new Array(s),f=0;f=C-1){b=E.length-1;var I=_-y[C-1];for(O=0;O=C-1)for(var L=E.length-1,b=(y[C-1],0);b=0;--C)if(_[--y])return!1;return!0},f.jump=function(_){var y=this.lastT(),C=this.dimension;if(!(_0;--O)w.push(l(A[O-1],L[O-1],arguments[O])),k.push(0)}},f.push=function(_){var y=this.lastT(),C=this.dimension;if(!(_1e-6?1/T:0;this._time.push(_);for(var I=C;I>0;--I){var R=l(L[I-1],b[I-1],arguments[I]);w.push(R),k.push((R-w[E++])*O)}}},f.set=function(_){var y=this.dimension;if(!(_0;--A)C.push(l(E[A-1],T[A-1],arguments[A])),w.push(0)}},f.move=function(_){var y=this.lastT(),C=this.dimension;if(!(_<=y||arguments.length!==C+1)){var w=this._state,k=this._velocity,E=w.length-this.dimension,T=this.bounds,A=T[0],L=T[1],b=_-y,O=b>1e-6?1/b:0;this._time.push(_);for(var I=C;I>0;--I){var R=arguments[I];w.push(l(A[I-1],L[I-1],w[E++]+R)),k.push(R*O)}}},f.idle=function(_){var y=this.lastT();if(!(_=0;--O)w.push(l(A[O],L[O],w[E]+b*k[E])),k.push(0),E+=1}}},7080:function(p){function u(E,T,A,L,b,O){this._color=E,this.key=T,this.value=A,this.left=L,this.right=b,this._count=O}function a(E){return new u(E._color,E.key,E.value,E.left,E.right,E._count)}function c(E,T){return new u(E,T.key,T.value,T.left,T.right,T._count)}function s(E){E._count=1+(E.left?E.left._count:0)+(E.right?E.right._count:0)}function l(E,T){this._compare=E,this.root=T}p.exports=function(E){return new l(E||k,null)};var h=l.prototype;function f(E,T){var A;return T.left&&(A=f(E,T.left))?A:(A=E(T.key,T.value))||(T.right?f(E,T.right):void 0)}function m(E,T,A,L){if(T(E,L.key)<=0){var b;if(L.left&&(b=m(E,T,A,L.left))||(b=A(L.key,L.value)))return b}if(L.right)return m(E,T,A,L.right)}function _(E,T,A,L,b){var O,I=A(E,b.key),R=A(T,b.key);if(I<=0&&(b.left&&(O=_(E,T,A,L,b.left))||R>0&&(O=L(b.key,b.value))))return O;if(R>0&&b.right)return _(E,T,A,L,b.right)}function y(E,T){this.tree=E,this._stack=T}Object.defineProperty(h,"keys",{get:function(){var E=[];return this.forEach(function(T,A){E.push(T)}),E}}),Object.defineProperty(h,"values",{get:function(){var E=[];return this.forEach(function(T,A){E.push(A)}),E}}),Object.defineProperty(h,"length",{get:function(){return this.root?this.root._count:0}}),h.insert=function(E,T){for(var A=this._compare,L=this.root,b=[],O=[];L;){var I=A(E,L.key);b.push(L),O.push(I),L=I<=0?L.left:L.right}b.push(new u(0,E,T,null,null,1));for(var R=b.length-2;R>=0;--R)L=b[R],O[R]<=0?b[R]=new u(L._color,L.key,L.value,b[R+1],L.right,L._count+1):b[R]=new u(L._color,L.key,L.value,L.left,b[R+1],L._count+1);for(R=b.length-1;R>1;--R){var z=b[R-1];if(L=b[R],z._color===1||L._color===1)break;var F=b[R-2];if(F.left===z)if(z.left===L){if(!(B=F.right)||B._color!==0){F._color=0,F.left=z.right,z._color=1,z.right=F,b[R-2]=z,b[R-1]=L,s(F),s(z),R>=3&&((N=b[R-3]).left===F?N.left=z:N.right=z);break}z._color=1,F.right=c(1,B),F._color=0,R-=1}else{if(!(B=F.right)||B._color!==0){z.right=L.left,F._color=0,F.left=L.right,L._color=1,L.left=z,L.right=F,b[R-2]=L,b[R-1]=z,s(F),s(z),s(L),R>=3&&((N=b[R-3]).left===F?N.left=L:N.right=L);break}z._color=1,F.right=c(1,B),F._color=0,R-=1}else if(z.right===L){if(!(B=F.left)||B._color!==0){F._color=0,F.right=z.left,z._color=1,z.left=F,b[R-2]=z,b[R-1]=L,s(F),s(z),R>=3&&((N=b[R-3]).right===F?N.right=z:N.left=z);break}z._color=1,F.left=c(1,B),F._color=0,R-=1}else{var B;if(!(B=F.left)||B._color!==0){var N;z.left=L.right,F._color=0,F.right=L.left,L._color=1,L.right=z,L.left=F,b[R-2]=L,b[R-1]=z,s(F),s(z),s(L),R>=3&&((N=b[R-3]).right===F?N.right=L:N.left=L);break}z._color=1,F.left=c(1,B),F._color=0,R-=1}}return b[0]._color=1,new l(A,b[0])},h.forEach=function(E,T,A){if(this.root)switch(arguments.length){case 1:return f(E,this.root);case 2:return m(T,this._compare,E,this.root);case 3:return this._compare(T,A)>=0?void 0:_(T,A,this._compare,E,this.root)}},Object.defineProperty(h,"begin",{get:function(){for(var E=[],T=this.root;T;)E.push(T),T=T.left;return new y(this,E)}}),Object.defineProperty(h,"end",{get:function(){for(var E=[],T=this.root;T;)E.push(T),T=T.right;return new y(this,E)}}),h.at=function(E){if(E<0)return new y(this,[]);for(var T=this.root,A=[];;){if(A.push(T),T.left){if(E=T.right._count)break;T=T.right}return new y(this,[])},h.ge=function(E){for(var T=this._compare,A=this.root,L=[],b=0;A;){var O=T(E,A.key);L.push(A),O<=0&&(b=L.length),A=O<=0?A.left:A.right}return L.length=b,new y(this,L)},h.gt=function(E){for(var T=this._compare,A=this.root,L=[],b=0;A;){var O=T(E,A.key);L.push(A),O<0&&(b=L.length),A=O<0?A.left:A.right}return L.length=b,new y(this,L)},h.lt=function(E){for(var T=this._compare,A=this.root,L=[],b=0;A;){var O=T(E,A.key);L.push(A),O>0&&(b=L.length),A=O<=0?A.left:A.right}return L.length=b,new y(this,L)},h.le=function(E){for(var T=this._compare,A=this.root,L=[],b=0;A;){var O=T(E,A.key);L.push(A),O>=0&&(b=L.length),A=O<0?A.left:A.right}return L.length=b,new y(this,L)},h.find=function(E){for(var T=this._compare,A=this.root,L=[];A;){var b=T(E,A.key);if(L.push(A),b===0)return new y(this,L);A=b<=0?A.left:A.right}return new y(this,[])},h.remove=function(E){var T=this.find(E);return T?T.remove():this},h.get=function(E){for(var T=this._compare,A=this.root;A;){var L=T(E,A.key);if(L===0)return A.value;A=L<=0?A.left:A.right}};var C=y.prototype;function w(E,T){E.key=T.key,E.value=T.value,E.left=T.left,E.right=T.right,E._color=T._color,E._count=T._count}function k(E,T){return ET?1:0}Object.defineProperty(C,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(C,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),C.clone=function(){return new y(this.tree,this._stack.slice())},C.remove=function(){var E=this._stack;if(E.length===0)return this.tree;var T=new Array(E.length),A=E[E.length-1];T[T.length-1]=new u(A._color,A.key,A.value,A.left,A.right,A._count);for(var L=E.length-2;L>=0;--L)(A=E[L]).left===E[L+1]?T[L]=new u(A._color,A.key,A.value,T[L+1],A.right,A._count):T[L]=new u(A._color,A.key,A.value,A.left,T[L+1],A._count);if((A=T[T.length-1]).left&&A.right){var b=T.length;for(A=A.left;A.right;)T.push(A),A=A.right;var O=T[b-1];for(T.push(new u(A._color,O.key,O.value,A.left,A.right,A._count)),T[b-1].key=A.key,T[b-1].value=A.value,L=T.length-2;L>=b;--L)A=T[L],T[L]=new u(A._color,A.key,A.value,A.left,T[L+1],A._count);T[b-1].left=T[b]}if((A=T[T.length-1])._color===0){var I=T[T.length-2];for(I.left===A?I.left=null:I.right===A&&(I.right=null),T.pop(),L=0;L=0;--j){if(F=z[j],j===0)return void(F._color=1);if((B=z[j-1]).left===F){if((N=B.right).right&&N.right._color===0)return q=(N=B.right=a(N)).right=a(N.right),B.right=N.left,N.left=B,N.right=q,N._color=B._color,F._color=1,B._color=1,q._color=1,s(B),s(N),j>1&&((Y=z[j-2]).left===B?Y.left=N:Y.right=N),void(z[j-1]=N);if(N.left&&N.left._color===0)return q=(N=B.right=a(N)).left=a(N.left),B.right=q.left,N.left=q.right,q.left=B,q.right=N,q._color=B._color,B._color=1,N._color=1,F._color=1,s(B),s(N),s(q),j>1&&((Y=z[j-2]).left===B?Y.left=q:Y.right=q),void(z[j-1]=q);if(N._color===1){if(B._color===0)return B._color=1,void(B.right=c(0,N));B.right=c(0,N);continue}N=a(N),B.right=N.left,N.left=B,N._color=B._color,B._color=0,s(B),s(N),j>1&&((Y=z[j-2]).left===B?Y.left=N:Y.right=N),z[j-1]=N,z[j]=B,j+11&&((Y=z[j-2]).right===B?Y.right=N:Y.left=N),void(z[j-1]=N);if(N.right&&N.right._color===0)return q=(N=B.left=a(N)).right=a(N.right),B.left=q.right,N.right=q.left,q.right=B,q.left=N,q._color=B._color,B._color=1,N._color=1,F._color=1,s(B),s(N),s(q),j>1&&((Y=z[j-2]).right===B?Y.right=q:Y.left=q),void(z[j-1]=q);if(N._color===1){if(B._color===0)return B._color=1,void(B.left=c(0,N));B.left=c(0,N);continue}var Y;N=a(N),B.left=N.right,N.right=B,N._color=B._color,B._color=0,s(B),s(N),j>1&&((Y=z[j-2]).right===B?Y.right=N:Y.left=N),z[j-1]=N,z[j]=B,j+10)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(C,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(C,"index",{get:function(){var E=0,T=this._stack;if(T.length===0){var A=this.tree.root;return A?A._count:0}T[T.length-1].left&&(E=T[T.length-1].left._count);for(var L=T.length-2;L>=0;--L)T[L+1]===T[L].right&&(++E,T[L].left&&(E+=T[L].left._count));return E},enumerable:!0}),C.next=function(){var E=this._stack;if(E.length!==0){var T=E[E.length-1];if(T.right)for(T=T.right;T;)E.push(T),T=T.left;else for(E.pop();E.length>0&&E[E.length-1].right===T;)T=E[E.length-1],E.pop()}},Object.defineProperty(C,"hasNext",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].right)return!0;for(var T=E.length-1;T>0;--T)if(E[T-1].left===E[T])return!0;return!1}}),C.update=function(E){var T=this._stack;if(T.length===0)throw new Error("Can't update empty node!");var A=new Array(T.length),L=T[T.length-1];A[A.length-1]=new u(L._color,L.key,E,L.left,L.right,L._count);for(var b=T.length-2;b>=0;--b)(L=T[b]).left===T[b+1]?A[b]=new u(L._color,L.key,L.value,A[b+1],L.right,L._count):A[b]=new u(L._color,L.key,L.value,L.left,A[b+1],L._count);return new l(this.tree._compare,A[0])},C.prev=function(){var E=this._stack;if(E.length!==0){var T=E[E.length-1];if(T.left)for(T=T.left;T;)E.push(T),T=T.right;else for(E.pop();E.length>0&&E[E.length-1].left===T;)T=E[E.length-1],E.pop()}},Object.defineProperty(C,"hasPrev",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].left)return!0;for(var T=E.length-1;T>0;--T)if(E[T-1].right===E[T])return!0;return!1}})},7453:function(p,u,a){p.exports=function(I,R){var z=new y(I);return z.update(R),z};var c=a(9557),s=a(1681),l=a(1011),h=a(2864),f=a(8468),m=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function _(I,R){return I[0]=R[0],I[1]=R[1],I[2]=R[2],I}function y(I){this.gl=I,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=l(I)}var C=y.prototype;function w(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}C.update=function(I){function R(ne,te,Z){if(Z in I){var X,Q=I[Z],re=this[Z];(ne?Array.isArray(Q)&&Array.isArray(Q[0]):Array.isArray(Q))?this[Z]=X=[te(Q[0]),te(Q[1]),te(Q[2])]:this[Z]=X=[te(Q),te(Q),te(Q)];for(var ie=0;ie<3;++ie)if(X[ie]!==re[ie])return!0}return!1}I=I||{};var z,F=R.bind(this,!1,Number),B=R.bind(this,!1,Boolean),N=R.bind(this,!1,String),q=R.bind(this,!0,function(ne){if(Array.isArray(ne)){if(ne.length===3)return[+ne[0],+ne[1],+ne[2],1];if(ne.length===4)return[+ne[0],+ne[1],+ne[2],+ne[3]]}return[0,0,0,1]}),j=!1,Y=!1;if("bounds"in I)for(var U=I.bounds,G=0;G<2;++G)for(var W=0;W<3;++W)U[G][W]!==this.bounds[G][W]&&(Y=!0),this.bounds[G][W]=U[G][W];if("ticks"in I)for(z=I.ticks,j=!0,this.autoTicks=!1,G=0;G<3;++G)this.tickSpacing[G]=0;else F("tickSpacing")&&(this.autoTicks=!0,Y=!0);if(this._firstInit&&("ticks"in I||"tickSpacing"in I||(this.autoTicks=!0),Y=!0,j=!0,this._firstInit=!1),Y&&this.autoTicks&&(z=f.create(this.bounds,this.tickSpacing),j=!0),j){for(G=0;G<3;++G)z[G].sort(function(ne,te){return ne.x-te.x});f.equal(z,this.ticks)?j=!1:this.ticks=z}B("tickEnable"),N("tickFont")&&(j=!0),F("tickSize"),F("tickAngle"),F("tickPad"),q("tickColor");var H=N("labels");N("labelFont")&&(H=!0),B("labelEnable"),F("labelSize"),F("labelPad"),q("labelColor"),B("lineEnable"),B("lineMirror"),F("lineWidth"),q("lineColor"),B("lineTickEnable"),B("lineTickMirror"),F("lineTickLength"),F("lineTickWidth"),q("lineTickColor"),B("gridEnable"),F("gridWidth"),q("gridColor"),B("zeroEnable"),q("zeroLineColor"),F("zeroLineWidth"),B("backgroundEnable"),q("backgroundColor"),this._text?this._text&&(H||j)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=c(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&j&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=s(this.gl,this.bounds,this.ticks))};var k=[new w,new w,new w];function E(I,R,z,F,B){for(var N=I.primalOffset,q=I.primalMinor,j=I.mirrorOffset,Y=I.mirrorMinor,U=F[R],G=0;G<3;++G)if(R!==G){var W=N,H=j,ne=q,te=Y;U&1<0?(ne[G]=-1,te[G]=0):(ne[G]=0,te[G]=1)}}var T=[0,0,0],A={model:m,view:m,projection:m,_ortho:!1};C.isOpaque=function(){return!0},C.isTransparent=function(){return!1},C.drawTransparent=function(I){};var L=[0,0,0],b=[0,0,0],O=[0,0,0];C.draw=function(I){I=I||A;for(var R=this.gl,z=I.model||m,F=I.view||m,B=I.projection||m,N=this.bounds,q=I._ortho||!1,j=h(z,F,B,N,q),Y=j.cubeEdges,U=j.axis,G=F[12],W=F[13],H=F[14],ne=F[15],te=(q?2:1)*this.pixelRatio*(B[3]*G+B[7]*W+B[11]*H+B[15]*ne)/R.drawingBufferHeight,Z=0;Z<3;++Z)this.lastCubeProps.cubeEdges[Z]=Y[Z],this.lastCubeProps.axis[Z]=U[Z];var X=k;for(Z=0;Z<3;++Z)E(k[Z],Z,this.bounds,Y,U);R=this.gl;var Q,re,ie,oe=T;for(Z=0;Z<3;++Z)this.backgroundEnable[Z]?oe[Z]=U[Z]:oe[Z]=0;for(this._background.draw(z,F,B,N,oe,this.backgroundColor),this._lines.bind(z,F,B,this),Z=0;Z<3;++Z){var ue=[0,0,0];U[Z]>0?ue[Z]=N[1][Z]:ue[Z]=N[0][Z];for(var ce=0;ce<2;++ce){var ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3;this.gridEnable[ye]&&this._lines.drawGrid(ye,de,this.bounds,ue,this.gridColor[ye],this.gridWidth[ye]*this.pixelRatio)}for(ce=0;ce<2;++ce)ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3,this.zeroEnable[de]&&Math.min(N[0][de],N[1][de])<=0&&Math.max(N[0][de],N[1][de])>=0&&this._lines.drawZero(ye,de,this.bounds,ue,this.zeroLineColor[de],this.zeroLineWidth[de]*this.pixelRatio)}for(Z=0;Z<3;++Z){this.lineEnable[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].primalOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio),this.lineMirror[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].mirrorOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio);var me=_(L,X[Z].primalMinor),pe=_(b,X[Z].mirrorMinor),xe=this.lineTickLength;for(ce=0;ce<3;++ce){var Pe=te/z[5*ce];me[ce]*=xe[ce]*Pe,pe[ce]*=xe[ce]*Pe}this.lineTickEnable[Z]&&this._lines.drawAxisTicks(Z,X[Z].primalOffset,me,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio),this.lineTickMirror[Z]&&this._lines.drawAxisTicks(Z,X[Z].mirrorOffset,pe,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio)}function _e(be){(ie=[0,0,0])[be]=1}function Me(be,ke,Le){var Be=(be+1)%3,ze=(be+2)%3,je=ke[Be],ge=ke[ze],we=Le[Be],Ee=Le[ze];je>0&&Ee>0||je>0&&Ee<0||je<0&&Ee>0||je<0&&Ee<0?_e(Be):(ge>0&&we>0||ge>0&&we<0||ge<0&&we>0||ge<0&&we<0)&&_e(ze)}for(this._lines.unbind(),this._text.bind(z,F,B,this.pixelRatio),Z=0;Z<3;++Z){var Se=X[Z].primalMinor,Ce=X[Z].mirrorMinor,ae=_(O,X[Z].primalOffset);for(ce=0;ce<3;++ce)this.lineTickEnable[Z]&&(ae[ce]+=te*Se[ce]*Math.max(this.lineTickLength[ce],0)/z[5*ce]);var he=[0,0,0];if(he[Z]=1,this.tickEnable[Z]){for(this.tickAngle[Z]===-3600?(this.tickAngle[Z]=0,this.tickAlign[Z]="auto"):this.tickAlign[Z]=-1,re=1,(Q=[this.tickAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ie=[0,0,0],Me(Z,Se,Ce),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.tickPad[ce]/z[5*ce];this._text.drawTicks(Z,this.tickSize[Z],this.tickAngle[Z],ae,this.tickColor[Z],he,ie,Q)}if(this.labelEnable[Z]){for(re=0,ie=[0,0,0],this.labels[Z].length>4&&(_e(Z),re=1),(Q=[this.labelAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.labelPad[ce]/z[5*ce];ae[Z]+=.5*(N[0][Z]+N[1][Z]),this._text.drawLabel(Z,this.labelSize[Z],this.labelAngle[Z],ae,this.labelColor[Z],[0,0,0],ie,Q)}}this._text.unbind()},C.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(p,u,a){p.exports=function(m){for(var _=[],y=[],C=0,w=0;w<3;++w)for(var k=(w+1)%3,E=(w+2)%3,T=[0,0,0],A=[0,0,0],L=-1;L<=1;L+=2){y.push(C,C+2,C+1,C+1,C+2,C+3),T[w]=L,A[w]=L;for(var b=-1;b<=1;b+=2){T[k]=b;for(var O=-1;O<=1;O+=2)T[E]=O,_.push(T[0],T[1],T[2],A[0],A[1],A[2]),C+=1}var I=k;k=E,E=I}var R=c(m,new Float32Array(_)),z=c(m,new Uint16Array(y),m.ELEMENT_ARRAY_BUFFER),F=s(m,[{buffer:R,type:m.FLOAT,size:3,offset:0,stride:24},{buffer:R,type:m.FLOAT,size:3,offset:12,stride:24}],z),B=l(m);return B.attributes.position.location=0,B.attributes.normal.location=1,new h(m,R,F,B)};var c=a(5827),s=a(2944),l=a(1943).bg;function h(m,_,y,C){this.gl=m,this.buffer=_,this.vao=y,this.shader=C}var f=h.prototype;f.draw=function(m,_,y,C,w,k){for(var E=!1,T=0;T<3;++T)E=E||w[T];if(E){var A=this.gl;A.enable(A.POLYGON_OFFSET_FILL),A.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:m,view:_,projection:y,bounds:C,enable:w,colors:k},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),A.disable(A.POLYGON_OFFSET_FILL)}},f.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},2864:function(p,u,a){p.exports=function(b,O,I,R,z){s(f,O,b),s(f,I,f);for(var F=0,B=0;B<2;++B){y[2]=R[B][2];for(var N=0;N<2;++N){y[1]=R[N][1];for(var q=0;q<2;++q)y[0]=R[q][0],w(m[F],y,f),F+=1}}var j=-1;for(B=0;B<8;++B){for(var Y=m[B][3],U=0;U<3;++U)_[B][U]=m[B][U]/Y;z&&(_[B][2]*=-1),Y<0&&(j<0||_[B][2]<_[j][2])&&(j=B)}if(j<0){j=0;for(var G=0;G<3;++G){for(var W=(G+2)%3,H=(G+1)%3,ne=-1,te=-1,Z=0;Z<2;++Z){var X=(re=Z<ne&&(j|=1<ne&&(j|=1<_[B][1])&&(ue=B);var ce=-1;for(B=0;B<3;++B)(de=ue^1<_[ye][0]&&(ye=de))}var me=T;me[0]=me[1]=me[2]=0,me[c.log2(ce^ue)]=ue&ce,me[c.log2(ue^ye)]=ue&ye;var pe=7^ye;pe===j||pe===oe?(pe=7^ce,me[c.log2(ye^pe)]=pe&ye):me[c.log2(ce^pe)]=pe&ce;var xe=A,Pe=j;for(G=0;G<3;++G)xe[G]=Pe&1<=0;--oe){var ue=Z[ie[oe]];L.push(te*ue[0],-te*ue[1],q)}}for(var O=[0,0,0],I=[0,0,0],R=[0,0,0],z=[0,0,0],F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){R[B]=L.length/3|0,b(.5*(w[0][B]+w[1][B]),k[B],E[B],12,1.25,F),z[B]=(L.length/3|0)-R[B],O[B]=L.length/3|0;for(var N=0;N=0&&(f=l.length-h-1);var m=Math.pow(10,f),_=Math.round(c*s*m),y=_+"";if(y.indexOf("e")>=0)return y;var C=_/m,w=_%m;_<0?(C=0|-Math.ceil(C),w=0|-w):(C=0|Math.floor(C),w|=0);var k=""+C;if(_<0&&(k="-"+k),f){for(var E=""+w;E.length=c[0][h];--m)f.push({x:m*s[h],text:a(s[h],m)});l.push(f)}return l},u.equal=function(c,s){for(var l=0;l<3;++l){if(c[l].length!==s[l].length)return!1;for(var h=0;hk)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return C.bufferSubData(w,A,T),k}function y(C,w){for(var k=c.malloc(C.length,w),E=C.length,T=0;T=0;--I){if(b[I]!==O)return!1;O*=L[I]}return!0}(C.shape,C.stride))C.offset===0&&C.data.length===C.shape[0]?this.length=_(this.gl,this.type,this.length,this.usage,C.data,w):this.length=_(this.gl,this.type,this.length,this.usage,C.data.subarray(C.offset,C.shape[0]),w);else{var E=c.malloc(C.size,k),T=l(E,C.shape);s.assign(T,C),this.length=_(this.gl,this.type,this.length,this.usage,w<0?E:E.subarray(0,C.size),w),c.free(E)}}else if(Array.isArray(C)){var A;A=this.type===this.gl.ELEMENT_ARRAY_BUFFER?y(C,"uint16"):y(C,"float32"),this.length=_(this.gl,this.type,this.length,this.usage,w<0?A:A.subarray(0,C.length),w),c.free(A)}else if(typeof C=="object"&&typeof C.length=="number")this.length=_(this.gl,this.type,this.length,this.usage,C,w);else{if(typeof C!="number"&&C!==void 0)throw new Error("gl-buffer: Invalid data type");if(w>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");(C|=0)<=0&&(C=1),this.gl.bufferData(this.type,0|C,this.usage),this.length=C}},p.exports=function(C,w,k,E){if(k=k||C.ARRAY_BUFFER,E=E||C.DYNAMIC_DRAW,k!==C.ARRAY_BUFFER&&k!==C.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(E!==C.DYNAMIC_DRAW&&E!==C.STATIC_DRAW&&E!==C.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 T=C.createBuffer(),A=new f(C,k,T,0,E);return A.update(w),A}},1140:function(p,u,a){var c=a(2858);p.exports=function(l,h){var f=l.positions,m=l.vectors,_={positions:[],vertexIntensity:[],vertexIntensityBounds:l.vertexIntensityBounds,vectors:[],cells:[],coneOffset:l.coneOffset,colormap:l.colormap};if(l.positions.length===0)return h&&(h[0]=[0,0,0],h[1]=[0,0,0]),_;for(var y=0,C=1/0,w=-1/0,k=1/0,E=-1/0,T=1/0,A=-1/0,L=null,b=null,O=[],I=1/0,R=!1,z=0;zy&&(y=c.length(B)),z){var N=2*c.distance(L,F)/(c.length(b)+c.length(B));N?(I=Math.min(I,N),R=!1):R=!0}R||(L=F,b=B),O.push(B)}var q=[C,k,T],j=[w,E,A];h&&(h[0]=q,h[1]=j),y===0&&(y=1);var Y=1/y;isFinite(I)||(I=1),_.vectorScale=I;var U=l.coneSize||.5;l.absoluteConeSize&&(U=l.absoluteConeSize*Y),_.coneScale=U,z=0;for(var G=0;z=1},k.isTransparent=function(){return this.opacity<1},k.pickSlots=1,k.setPickBase=function(A){this.pickId=A},k.update=function(A){A=A||{};var L=this.gl;this.dirty=!0,"lightPosition"in A&&(this.lightPosition=A.lightPosition),"opacity"in A&&(this.opacity=A.opacity),"ambient"in A&&(this.ambientLight=A.ambient),"diffuse"in A&&(this.diffuseLight=A.diffuse),"specular"in A&&(this.specularLight=A.specular),"roughness"in A&&(this.roughness=A.roughness),"fresnel"in A&&(this.fresnel=A.fresnel),A.tubeScale!==void 0&&(this.tubeScale=A.tubeScale),A.vectorScale!==void 0&&(this.vectorScale=A.vectorScale),A.coneScale!==void 0&&(this.coneScale=A.coneScale),A.coneOffset!==void 0&&(this.coneOffset=A.coneOffset),A.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=L.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=L.LINEAR,this.texture.setPixels(function(ue){for(var ce=y({colormap:ue,nshades:256,format:"rgba"}),ye=new Uint8Array(1024),de=0;de<256;++de){for(var me=ce[de],pe=0;pe<3;++pe)ye[4*de+pe]=me[pe];ye[4*de+3]=255*me[3]}return _(ye,[256,256,4],[4,0,1])}(A.colormap)),this.texture.generateMipmap());var b=A.cells,O=A.positions,I=A.vectors;if(O&&b&&I){var R=[],z=[],F=[],B=[],N=[];this.cells=b,this.positions=O,this.vectors=I;var q=A.meshColor||[1,1,1,1],j=A.vertexIntensity,Y=1/0,U=-1/0;if(j)if(A.vertexIntensityBounds)Y=+A.vertexIntensityBounds[0],U=+A.vertexIntensityBounds[1];else for(var G=0;G0){var Y=this.triShader;Y.bind(),Y.uniforms=F,this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},k.drawPick=function(A){A=A||{};for(var L=this.gl,b=A.model||C,O=A.view||C,I=A.projection||C,R=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],z=0;z<3;++z)R[0][z]=Math.max(R[0][z],this.clipBounds[0][z]),R[1][z]=Math.min(R[1][z],this.clipBounds[1][z]);this._model=[].slice.call(b),this._view=[].slice.call(O),this._projection=[].slice.call(I),this._resolution=[L.drawingBufferWidth,L.drawingBufferHeight];var F={model:b,view:O,projection:I,clipBounds:R,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},B=this.pickShader;B.bind(),B.uniforms=F,this.triangleCount>0&&(this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},k.pick=function(A){if(!A||A.id!==this.pickId)return null;var L=A.value[0]+256*A.value[1]+65536*A.value[2],b=this.cells[L],O=this.positions[b[1]].slice(0,3),I={position:O,dataCoordinate:O,index:Math.floor(b[1]/48)};return this.traceType==="cone"?I.index=Math.floor(b[1]/48):this.traceType==="streamtube"&&(I.intensity=this.intensity[b[1]],I.velocity=this.vectors[b[1]].slice(0,3),I.divergence=this.vectors[b[1]][3],I.index=L),I},k.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()},p.exports=function(A,L,b){var O=b.shaders;arguments.length===1&&(A=(L=A).gl);var I=E(A,O),R=T(A,O),z=h(A,_(new Uint8Array([255,255,255,255]),[1,1,4]));z.generateMipmap(),z.minFilter=A.LINEAR_MIPMAP_LINEAR,z.magFilter=A.LINEAR;var F=s(A),B=s(A),N=s(A),q=s(A),j=s(A),Y=l(A,[{buffer:F,type:A.FLOAT,size:4},{buffer:j,type:A.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:N,type:A.FLOAT,size:4},{buffer:q,type:A.FLOAT,size:2},{buffer:B,type:A.FLOAT,size:4}]),U=new w(A,z,I,R,F,B,j,N,q,Y,b.traceType||"cone");return U.update(L),U}},7234:function(p,u,a){var c=a(6832),s=c([`precision highp float; +}`]);u.bg=function(C){return s(C,_,y,null,[{name:"position",type:"vec3"},{name:"normal",type:"vec3"}])}},9557:function(p,u,a){p.exports=function(w,k,E,T,A,L){var b=c(w),O=s(w,[{buffer:b,size:3}]),I=h(w);I.attributes.position.location=0;var R=new _(w,I,b,O);return R.update(k,E,T,A,L),R};var c=a(5827),s=a(2944),l=a(875),h=a(1943).f,f=window||v.global||{},m=f.__TEXT_CACHE||{};function _(w,k,E,T){this.gl=w,this.shader=k,this.buffer=E,this.vao=T,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}f.__TEXT_CACHE={};var y=_.prototype,C=[0,0];y.bind=function(w,k,E,T){this.vao.bind(),this.shader.bind();var A=this.shader.uniforms;A.model=w,A.view=k,A.projection=E,A.pixelScale=T,C[0]=this.gl.drawingBufferWidth,C[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=C},y.unbind=function(){this.vao.unbind()},y.update=function(w,k,E,T,A){var L=[];function b(q,j,Y,U,G,W){var H=m[Y];H||(H=m[Y]={});var ne=H[j];ne||(ne=H[j]=function(ce,ye){try{return l(ce,ye)}catch(de){return console.warn('error vectorizing text:"'+ce+'" error:',de),{cells:[],positions:[]}}}(j,{triangles:!0,font:Y,textAlign:"center",textBaseline:"middle",lineSpacing:G,styletags:W}));for(var te=(U||12)/12,Z=ne.positions,X=ne.cells,Q=0,re=X.length;Q=0;--oe){var ue=Z[ie[oe]];L.push(te*ue[0],-te*ue[1],q)}}for(var O=[0,0,0],I=[0,0,0],R=[0,0,0],z=[0,0,0],F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){R[B]=L.length/3|0,b(.5*(w[0][B]+w[1][B]),k[B],E[B],12,1.25,F),z[B]=(L.length/3|0)-R[B],O[B]=L.length/3|0;for(var N=0;N=0&&(f=l.length-h-1);var m=Math.pow(10,f),_=Math.round(c*s*m),y=_+"";if(y.indexOf("e")>=0)return y;var C=_/m,w=_%m;_<0?(C=0|-Math.ceil(C),w=0|-w):(C=0|Math.floor(C),w|=0);var k=""+C;if(_<0&&(k="-"+k),f){for(var E=""+w;E.length=c[0][h];--m)f.push({x:m*s[h],text:a(s[h],m)});l.push(f)}return l},u.equal=function(c,s){for(var l=0;l<3;++l){if(c[l].length!==s[l].length)return!1;for(var h=0;hk)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return C.bufferSubData(w,A,T),k}function y(C,w){for(var k=c.malloc(C.length,w),E=C.length,T=0;T=0;--I){if(b[I]!==O)return!1;O*=L[I]}return!0}(C.shape,C.stride))C.offset===0&&C.data.length===C.shape[0]?this.length=_(this.gl,this.type,this.length,this.usage,C.data,w):this.length=_(this.gl,this.type,this.length,this.usage,C.data.subarray(C.offset,C.shape[0]),w);else{var E=c.malloc(C.size,k),T=l(E,C.shape);s.assign(T,C),this.length=_(this.gl,this.type,this.length,this.usage,w<0?E:E.subarray(0,C.size),w),c.free(E)}}else if(Array.isArray(C)){var A;A=this.type===this.gl.ELEMENT_ARRAY_BUFFER?y(C,"uint16"):y(C,"float32"),this.length=_(this.gl,this.type,this.length,this.usage,w<0?A:A.subarray(0,C.length),w),c.free(A)}else if(typeof C=="object"&&typeof C.length=="number")this.length=_(this.gl,this.type,this.length,this.usage,C,w);else{if(typeof C!="number"&&C!==void 0)throw new Error("gl-buffer: Invalid data type");if(w>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");(C|=0)<=0&&(C=1),this.gl.bufferData(this.type,0|C,this.usage),this.length=C}},p.exports=function(C,w,k,E){if(k=k||C.ARRAY_BUFFER,E=E||C.DYNAMIC_DRAW,k!==C.ARRAY_BUFFER&&k!==C.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(E!==C.DYNAMIC_DRAW&&E!==C.STATIC_DRAW&&E!==C.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 T=C.createBuffer(),A=new f(C,k,T,0,E);return A.update(w),A}},1140:function(p,u,a){var c=a(2858);p.exports=function(l,h){var f=l.positions,m=l.vectors,_={positions:[],vertexIntensity:[],vertexIntensityBounds:l.vertexIntensityBounds,vectors:[],cells:[],coneOffset:l.coneOffset,colormap:l.colormap};if(l.positions.length===0)return h&&(h[0]=[0,0,0],h[1]=[0,0,0]),_;for(var y=0,C=1/0,w=-1/0,k=1/0,E=-1/0,T=1/0,A=-1/0,L=null,b=null,O=[],I=1/0,R=!1,z=0;zy&&(y=c.length(B)),z){var N=2*c.distance(L,F)/(c.length(b)+c.length(B));N?(I=Math.min(I,N),R=!1):R=!0}R||(L=F,b=B),O.push(B)}var q=[C,k,T],j=[w,E,A];h&&(h[0]=q,h[1]=j),y===0&&(y=1);var Y=1/y;isFinite(I)||(I=1),_.vectorScale=I;var U=l.coneSize||.5;l.absoluteConeSize&&(U=l.absoluteConeSize*Y),_.coneScale=U,z=0;for(var G=0;z=1},k.isTransparent=function(){return this.opacity<1},k.pickSlots=1,k.setPickBase=function(A){this.pickId=A},k.update=function(A){A=A||{};var L=this.gl;this.dirty=!0,"lightPosition"in A&&(this.lightPosition=A.lightPosition),"opacity"in A&&(this.opacity=A.opacity),"ambient"in A&&(this.ambientLight=A.ambient),"diffuse"in A&&(this.diffuseLight=A.diffuse),"specular"in A&&(this.specularLight=A.specular),"roughness"in A&&(this.roughness=A.roughness),"fresnel"in A&&(this.fresnel=A.fresnel),A.tubeScale!==void 0&&(this.tubeScale=A.tubeScale),A.vectorScale!==void 0&&(this.vectorScale=A.vectorScale),A.coneScale!==void 0&&(this.coneScale=A.coneScale),A.coneOffset!==void 0&&(this.coneOffset=A.coneOffset),A.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=L.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=L.LINEAR,this.texture.setPixels(function(ue){for(var ce=y({colormap:ue,nshades:256,format:"rgba"}),ye=new Uint8Array(1024),de=0;de<256;++de){for(var me=ce[de],pe=0;pe<3;++pe)ye[4*de+pe]=me[pe];ye[4*de+3]=255*me[3]}return _(ye,[256,256,4],[4,0,1])}(A.colormap)),this.texture.generateMipmap());var b=A.cells,O=A.positions,I=A.vectors;if(O&&b&&I){var R=[],z=[],F=[],B=[],N=[];this.cells=b,this.positions=O,this.vectors=I;var q=A.meshColor||[1,1,1,1],j=A.vertexIntensity,Y=1/0,U=-1/0;if(j)if(A.vertexIntensityBounds)Y=+A.vertexIntensityBounds[0],U=+A.vertexIntensityBounds[1];else for(var G=0;G0){var Y=this.triShader;Y.bind(),Y.uniforms=F,this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},k.drawPick=function(A){A=A||{};for(var L=this.gl,b=A.model||C,O=A.view||C,I=A.projection||C,R=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],z=0;z<3;++z)R[0][z]=Math.max(R[0][z],this.clipBounds[0][z]),R[1][z]=Math.min(R[1][z],this.clipBounds[1][z]);this._model=[].slice.call(b),this._view=[].slice.call(O),this._projection=[].slice.call(I),this._resolution=[L.drawingBufferWidth,L.drawingBufferHeight];var F={model:b,view:O,projection:I,clipBounds:R,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},B=this.pickShader;B.bind(),B.uniforms=F,this.triangleCount>0&&(this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},k.pick=function(A){if(!A||A.id!==this.pickId)return null;var L=A.value[0]+256*A.value[1]+65536*A.value[2],b=this.cells[L],O=this.positions[b[1]].slice(0,3),I={position:O,dataCoordinate:O,index:Math.floor(b[1]/48)};return this.traceType==="cone"?I.index=Math.floor(b[1]/48):this.traceType==="streamtube"&&(I.intensity=this.intensity[b[1]],I.velocity=this.vectors[b[1]].slice(0,3),I.divergence=this.vectors[b[1]][3],I.index=L),I},k.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()},p.exports=function(A,L,b){var O=b.shaders;arguments.length===1&&(A=(L=A).gl);var I=E(A,O),R=T(A,O),z=h(A,_(new Uint8Array([255,255,255,255]),[1,1,4]));z.generateMipmap(),z.minFilter=A.LINEAR_MIPMAP_LINEAR,z.magFilter=A.LINEAR;var F=s(A),B=s(A),N=s(A),q=s(A),j=s(A),Y=l(A,[{buffer:F,type:A.FLOAT,size:4},{buffer:j,type:A.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:N,type:A.FLOAT,size:4},{buffer:q,type:A.FLOAT,size:2},{buffer:B,type:A.FLOAT,size:4}]),U=new w(A,z,I,R,F,B,j,N,q,Y,b.traceType||"cone");return U.update(L),U}},7234:function(p,u,a){var c=a(6832),s=c([`precision highp float; precision highp float; #define GLSLIFY 1 @@ -2391,19 +2391,19 @@ void main() { `]);u.createShader=function(_){var y=c(_,l,h,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y.attributes.normal.location=2,y},u.createPickShader=function(_){var y=c(_,l,m,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y.attributes.normal.location=2,y},u.createContourShader=function(_){var y=c(_,f,h,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y},u.createPickContourShader=function(_){var y=c(_,f,m,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y}},3754:function(p,u,a){p.exports=function(ie){var oe=ie.gl,ue=b(oe),ce=I(oe),ye=O(oe),de=R(oe),me=s(oe),pe=l(oe,[{buffer:me,size:4,stride:40,offset:0},{buffer:me,size:3,stride:40,offset:16},{buffer:me,size:3,stride:40,offset:28}]),xe=s(oe),Pe=l(oe,[{buffer:xe,size:4,stride:20,offset:0},{buffer:xe,size:1,stride:20,offset:16}]),_e=s(oe),Me=l(oe,[{buffer:_e,size:2,type:oe.FLOAT}]),Se=h(oe,1,256,oe.RGBA,oe.UNSIGNED_BYTE);Se.minFilter=oe.LINEAR,Se.magFilter=oe.LINEAR;var Ce=new q(oe,[0,0],[[0,0,0],[0,0,0]],ue,ce,me,pe,Se,ye,de,xe,Pe,_e,Me,[0,0,0]),ae={levels:[[],[],[]]};for(var he in ie)ae[he]=ie[he];return ae.colormap=ae.colormap||"jet",Ce.update(ae),Ce};var c=a(2288),s=a(5827),l=a(2944),h=a(8931),f=a(5306),m=a(9156),_=a(7498),y=a(7382),C=a(5050),w=a(4162),k=a(104),E=a(7437),T=a(5070),A=a(9144),L=a(9054),b=L.createShader,O=L.createContourShader,I=L.createPickShader,R=L.createPickContourShader,z=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],F=[[0,0],[0,1],[1,0],[1,1],[1,0],[0,1]],B=[[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 N(ie,oe,ue,ce,ye){this.position=ie,this.index=oe,this.uv=ue,this.level=ce,this.dataCoordinate=ye}function q(ie,oe,ue,ce,ye,de,me,pe,xe,Pe,_e,Me,Se,Ce,ae){this.gl=ie,this.shape=oe,this.bounds=ue,this.objectOffset=ae,this.intensityBounds=[],this._shader=ce,this._pickShader=ye,this._coordinateBuffer=de,this._vao=me,this._colorMap=pe,this._contourShader=xe,this._contourPickShader=Pe,this._contourBuffer=_e,this._contourVAO=Me,this._contourOffsets=[[],[],[]],this._contourCounts=[[],[],[]],this._vertexCount=0,this._pickResult=new N([0,0,0],[0,0],[0,0],[0,0,0],[0,0,0]),this._dynamicBuffer=Se,this._dynamicVAO=Ce,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=[C(f.mallocFloat(1024),[0,0]),C(f.mallocFloat(1024),[0,0]),C(f.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}(function(){for(var ie=0;ie<3;++ie){var oe=B[ie],ue=(ie+2)%3;oe[(ie+1)%3+0]=1,oe[ue+3]=1,oe[ie+6]=1}})();var j=q.prototype;j.genColormap=function(ie,oe){var ue=!1,ce=y([m({colormap:ie,nshades:256,format:"rgba"}).map(function(ye,de){var me=oe?function(pe,xe){if(!xe||!xe.length)return 1;for(var Pe=0;Pepe&&Pe>0){var _e=(xe[Pe][0]-pe)/(xe[Pe][0]-xe[Pe-1][0]);return xe[Pe][1]*(1-_e)+_e*xe[Pe-1][1]}}return 1}(de/255,oe):ye[3];return me<1&&(ue=!0),[ye[0],ye[1],ye[2],255*me]})]);return _.divseq(ce,255),this.hasAlphaScale=ue,ce},j.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},j.isOpaque=function(){return!this.isTransparent()},j.pickSlots=1,j.setPickBase=function(ie){this.pickId=ie};var Y=[0,0,0],U={showSurface:!1,showContour:!1,projections:[z.slice(),z.slice(),z.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function G(ie,oe){var ue,ce,ye,de=oe.axes&&oe.axes.lastCubeProps.axis||Y,me=oe.showSurface,pe=oe.showContour;for(ue=0;ue<3;++ue)for(me=me||oe.surfaceProject[ue],ce=0;ce<3;++ce)pe=pe||oe.contourProject[ue][ce];for(ue=0;ue<3;++ue){var xe=U.projections[ue];for(ce=0;ce<16;++ce)xe[ce]=0;for(ce=0;ce<4;++ce)xe[5*ce]=1;xe[5*ue]=0,xe[12+ue]=oe.axesBounds[+(de[ue]>0)][ue],k(xe,ie.model,xe);var Pe=U.clipBounds[ue];for(ye=0;ye<2;++ye)for(ce=0;ce<3;++ce)Pe[ye][ce]=ie.clipBounds[ye][ce];Pe[0][ue]=-1e8,Pe[1][ue]=1e8}return U.showSurface=me,U.showContour=pe,U}var W={model:z,view:z,projection:z,inverseModel:z.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},H=z.slice(),ne=[1,0,0,0,1,0,0,0,1];function te(ie,oe){ie=ie||{};var ue=this.gl;ue.disable(ue.CULL_FACE),this._colorMap.bind(0);var ce=W;ce.model=ie.model||z,ce.view=ie.view||z,ce.projection=ie.projection||z,ce.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],ce.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],ce.objectOffset=this.objectOffset,ce.contourColor=this.contourColor[0],ce.inverseModel=E(ce.inverseModel,ce.model);for(var ye=0;ye<2;++ye)for(var de=ce.clipBounds[ye],me=0;me<3;++me)de[me]=Math.min(Math.max(this.clipBounds[ye][me],-1e8),1e8);ce.kambient=this.ambientLight,ce.kdiffuse=this.diffuseLight,ce.kspecular=this.specularLight,ce.roughness=this.roughness,ce.fresnel=this.fresnel,ce.opacity=this.opacity,ce.height=0,ce.permutation=ne,ce.vertexColor=this.vertexColor;var pe=H;for(k(pe,ce.view,ce.model),k(pe,ce.projection,pe),E(pe,pe),ye=0;ye<3;++ye)ce.eyePosition[ye]=pe[12+ye]/pe[15];var xe=pe[15];for(ye=0;ye<3;++ye)xe+=this.lightPosition[ye]*pe[4*ye+3];for(ye=0;ye<3;++ye){var Pe=pe[12+ye];for(me=0;me<3;++me)Pe+=pe[4*me+ye]*this.lightPosition[me];ce.lightPosition[ye]=Pe/xe}var _e=G(ce,this);if(_e.showSurface){for(this._shader.bind(),this._shader.uniforms=ce,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ue.TRIANGLES,this._vertexCount),ye=0;ye<3;++ye)this.surfaceProject[ye]&&this.vertexCount&&(this._shader.uniforms.model=_e.projections[ye],this._shader.uniforms.clipBounds=_e.clipBounds[ye],this._vao.draw(ue.TRIANGLES,this._vertexCount));this._vao.unbind()}if(_e.showContour){var Me=this._contourShader;ce.kambient=1,ce.kdiffuse=0,ce.kspecular=0,ce.opacity=1,Me.bind(),Me.uniforms=ce;var Se=this._contourVAO;for(Se.bind(),ye=0;ye<3;++ye)for(Me.uniforms.permutation=B[ye],ue.lineWidth(this.contourWidth[ye]*this.pixelRatio),me=0;me>4)/16)/255,ye=Math.floor(ce),de=ce-ye,me=oe[1]*(ie.value[1]+(15&ie.value[2])/16)/255,pe=Math.floor(me),xe=me-pe;ye+=1,pe+=1;var Pe=ue.position;Pe[0]=Pe[1]=Pe[2]=0;for(var _e=0;_e<2;++_e)for(var Me=_e?de:1-de,Se=0;Se<2;++Se)for(var Ce=ye+_e,ae=pe+Se,he=Me*(Se?xe:1-xe),be=0;be<3;++be)Pe[be]+=this._field[be].get(Ce,ae)*he;for(var ke=this._pickResult.level,Le=0;Le<3;++Le)if(ke[Le]=T.le(this.contourLevels[Le],Pe[Le]),ke[Le]<0)this.contourLevels[Le].length>0&&(ke[Le]=0);else if(ke[Le]Math.abs(ze-Pe[Le])&&(ke[Le]+=1)}for(ue.index[0]=de<.5?ye:ye+1,ue.index[1]=xe<.5?pe:pe+1,ue.uv[0]=ce/oe[0],ue.uv[1]=me/oe[1],be=0;be<3;++be)ue.dataCoordinate[be]=this._field[be].get(ue.index[0],ue.index[1]);return ue},j.padField=function(ie,oe){var ue=oe.shape.slice(),ce=ie.shape.slice();_.assign(ie.lo(1,1).hi(ue[0],ue[1]),oe),_.assign(ie.lo(1).hi(ue[0],1),oe.hi(ue[0],1)),_.assign(ie.lo(1,ce[1]-1).hi(ue[0],1),oe.lo(0,ue[1]-1).hi(ue[0],1)),_.assign(ie.lo(0,1).hi(1,ue[1]),oe.hi(1)),_.assign(ie.lo(ce[0]-1,1).hi(1,ue[1]),oe.lo(ue[0]-1)),ie.set(0,0,oe.get(0,0)),ie.set(0,ce[1]-1,oe.get(0,ue[1]-1)),ie.set(ce[0]-1,0,oe.get(ue[0]-1,0)),ie.set(ce[0]-1,ce[1]-1,oe.get(ue[0]-1,ue[1]-1))},j.update=function(ie){ie=ie||{},this.objectOffset=ie.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in ie&&(this.contourWidth=X(ie.contourWidth,Number)),"showContour"in ie&&(this.showContour=X(ie.showContour,Boolean)),"showSurface"in ie&&(this.showSurface=!!ie.showSurface),"contourTint"in ie&&(this.contourTint=X(ie.contourTint,Boolean)),"contourColor"in ie&&(this.contourColor=re(ie.contourColor)),"contourProject"in ie&&(this.contourProject=X(ie.contourProject,function(kn){return X(kn,Boolean)})),"surfaceProject"in ie&&(this.surfaceProject=ie.surfaceProject),"dynamicColor"in ie&&(this.dynamicColor=re(ie.dynamicColor)),"dynamicTint"in ie&&(this.dynamicTint=X(ie.dynamicTint,Number)),"dynamicWidth"in ie&&(this.dynamicWidth=X(ie.dynamicWidth,Number)),"opacity"in ie&&(this.opacity=ie.opacity),"opacityscale"in ie&&(this.opacityscale=ie.opacityscale),"colorBounds"in ie&&(this.colorBounds=ie.colorBounds),"vertexColor"in ie&&(this.vertexColor=ie.vertexColor?1:0),"colormap"in ie&&this._colorMap.setPixels(this.genColormap(ie.colormap,this.opacityscale));var oe=ie.field||ie.coords&&ie.coords[2]||null,ue=!1;if(oe||(oe=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 ie||"coords"in ie){var ce=(oe.shape[0]+2)*(oe.shape[1]+2);ce>this._field[2].data.length&&(f.freeFloat(this._field[2].data),this._field[2].data=f.mallocFloat(c.nextPow2(ce))),this._field[2]=C(this._field[2].data,[oe.shape[0]+2,oe.shape[1]+2]),this.padField(this._field[2],oe),this.shape=oe.shape.slice();for(var ye=this.shape,de=0;de<2;++de)this._field[2].size>this._field[de].data.length&&(f.freeFloat(this._field[de].data),this._field[de].data=f.mallocFloat(this._field[2].size)),this._field[de]=C(this._field[de].data,[ye[0]+2,ye[1]+2]);if(ie.coords){var me=ie.coords;if(!Array.isArray(me)||me.length!==3)throw new Error("gl-surface: invalid coordinates for x/y");for(de=0;de<2;++de){var pe=me[de];for(Se=0;Se<2;++Se)if(pe.shape[Se]!==ye[Se])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[de],pe)}}else if(ie.ticks){var xe=ie.ticks;if(!Array.isArray(xe)||xe.length!==2)throw new Error("gl-surface: invalid ticks");for(de=0;de<2;++de){var Pe=xe[de];if((Array.isArray(Pe)||Pe.length)&&(Pe=C(Pe)),Pe.shape[0]!==ye[de])throw new Error("gl-surface: invalid tick length");var _e=C(Pe.data,ye);_e.stride[de]=Pe.stride[0],_e.stride[1^de]=0,this.padField(this._field[de],_e)}}else{for(de=0;de<2;++de){var Me=[0,0];Me[de]=1,this._field[de]=C(this._field[de].data,[ye[0]+2,ye[1]+2],Me,0)}this._field[0].set(0,0,0);for(var Se=0;Se0){for(var An=0;An<5;++An)ht.pop();kt-=1}continue e}ht.push(pt[0],pt[1],Lt[0],Lt[1],pt[2]),kt+=1}}ut.push(kt)}this._contourOffsets[Oe]=Qe,this._contourCounts[Oe]=ut}var Yn=f.mallocFloat(ht.length);for(de=0;deB||z<0||z>B)throw new Error("gl-texture2d: Invalid texture size");return I._shape=[R,z],I.bind(),F.texImage2D(F.TEXTURE_2D,0,I.format,R,z,0,I.format,I.type,null),I._mipLevels=[0],I}function k(I,R,z,F,B,N){this.gl=I,this.handle=R,this.format=B,this.type=N,this._shape=[z,F],this._mipLevels=[0],this._magFilter=I.NEAREST,this._minFilter=I.NEAREST,this._wrapS=I.CLAMP_TO_EDGE,this._wrapT=I.CLAMP_TO_EDGE,this._anisoSamples=1;var q=this,j=[this._wrapS,this._wrapT];Object.defineProperties(j,[{get:function(){return q._wrapS},set:function(U){return q.wrapS=U}},{get:function(){return q._wrapT},set:function(U){return q.wrapT=U}}]),this._wrapVector=j;var Y=[this._shape[0],this._shape[1]];Object.defineProperties(Y,[{get:function(){return q._shape[0]},set:function(U){return q.width=U}},{get:function(){return q._shape[1]},set:function(U){return q.height=U}}]),this._shapeVector=Y}var E=k.prototype;function T(I,R){return I.length===3?R[2]===1&&R[1]===I[0]*I[2]&&R[0]===I[2]:R[0]===1&&R[1]===I[0]}function A(I){var R=I.createTexture();return I.bindTexture(I.TEXTURE_2D,R),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MIN_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MAG_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_S,I.CLAMP_TO_EDGE),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_T,I.CLAMP_TO_EDGE),R}function L(I,R,z,F,B){var N=I.getParameter(I.MAX_TEXTURE_SIZE);if(R<0||R>N||z<0||z>N)throw new Error("gl-texture2d: Invalid texture shape");if(B===I.FLOAT&&!I.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var q=A(I);return I.texImage2D(I.TEXTURE_2D,0,F,R,z,0,F,B,null),new k(I,q,R,z,F,B)}function b(I,R,z,F,B,N){var q=A(I);return I.texImage2D(I.TEXTURE_2D,0,B,B,N,R),new k(I,q,z,F,B,N)}function O(I,R){var z=R.dtype,F=R.shape.slice(),B=I.getParameter(I.MAX_TEXTURE_SIZE);if(F[0]<0||F[0]>B||F[1]<0||F[1]>B)throw new Error("gl-texture2d: Invalid texture size");var N=T(F,R.stride.slice()),q=0;z==="float32"?q=I.FLOAT:z==="float64"?(q=I.FLOAT,N=!1,z="float32"):z==="uint8"?q=I.UNSIGNED_BYTE:(q=I.UNSIGNED_BYTE,N=!1,z="uint8");var j,Y,U=0;if(F.length===2)U=I.LUMINANCE,F=[F[0],F[1],1],R=c(R.data,F,[R.stride[0],R.stride[1],1],R.offset);else{if(F.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(F[2]===1)U=I.ALPHA;else if(F[2]===2)U=I.LUMINANCE_ALPHA;else if(F[2]===3)U=I.RGB;else{if(F[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");U=I.RGBA}}q!==I.FLOAT||I.getExtension("OES_texture_float")||(q=I.UNSIGNED_BYTE,N=!1);var G=R.size;if(N)j=R.offset===0&&R.data.length===G?R.data:R.data.subarray(R.offset,R.offset+G);else{var W=[F[2],F[2]*F[0],1];Y=l.malloc(G,z);var H=c(Y,F,W,0);z!=="float32"&&z!=="float64"||q!==I.UNSIGNED_BYTE?s.assign(H,R):C(H,R),j=Y.subarray(0,G)}var ne=A(I);return I.texImage2D(I.TEXTURE_2D,0,U,F[0],F[1],0,U,q,j),N||l.free(Y),new k(I,ne,F[0],F[1],U,q)}Object.defineProperties(E,{minFilter:{get:function(){return this._minFilter},set:function(I){this.bind();var R=this.gl;if(this.type===R.FLOAT&&h.indexOf(I)>=0&&(R.getExtension("OES_texture_float_linear")||(I=R.NEAREST)),f.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return R.texParameteri(R.TEXTURE_2D,R.TEXTURE_MIN_FILTER,I),this._minFilter=I}},magFilter:{get:function(){return this._magFilter},set:function(I){this.bind();var R=this.gl;if(this.type===R.FLOAT&&h.indexOf(I)>=0&&(R.getExtension("OES_texture_float_linear")||(I=R.NEAREST)),f.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return R.texParameteri(R.TEXTURE_2D,R.TEXTURE_MAG_FILTER,I),this._magFilter=I}},mipSamples:{get:function(){return this._anisoSamples},set:function(I){var R=this._anisoSamples;if(this._anisoSamples=0|Math.max(I,1),R!==this._anisoSamples){var z=this.gl.getExtension("EXT_texture_filter_anisotropic");z&&this.gl.texParameterf(this.gl.TEXTURE_2D,z.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,I),this._wrapS=I}},wrapT:{get:function(){return this._wrapT},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,I),this._wrapT=I}},wrap:{get:function(){return this._wrapVector},set:function(I){if(Array.isArray(I)||(I=[I,I]),I.length!==2)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var R=0;R<2;++R)if(m.indexOf(I[R])<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);this._wrapS=I[0],this._wrapT=I[1];var z=this.gl;return this.bind(),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_S,this._wrapS),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_T,this._wrapT),I}},shape:{get:function(){return this._shapeVector},set:function(I){if(Array.isArray(I)){if(I.length!==2)throw new Error("gl-texture2d: Invalid texture shape")}else I=[0|I,0|I];return w(this,0|I[0],0|I[1]),[0|I[0],0|I[1]]}},width:{get:function(){return this._shape[0]},set:function(I){return w(this,I|=0,this._shape[1]),I}},height:{get:function(){return this._shape[1]},set:function(I){return I|=0,w(this,this._shape[0],I),I}}}),E.bind=function(I){var R=this.gl;return I!==void 0&&R.activeTexture(R.TEXTURE0+(0|I)),R.bindTexture(R.TEXTURE_2D,this.handle),I!==void 0?0|I:R.getParameter(R.ACTIVE_TEXTURE)-R.TEXTURE0},E.dispose=function(){this.gl.deleteTexture(this.handle)},E.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var I=Math.min(this._shape[0],this._shape[1]),R=0;I>0;++R,I>>>=1)this._mipLevels.indexOf(R)<0&&this._mipLevels.push(R)},E.setPixels=function(I,R,z,F){var B=this.gl;this.bind(),Array.isArray(R)?(F=z,z=0|R[1],R=0|R[0]):(R=R||0,z=z||0),F=F||0;var N=y(I)?I:I.raw;if(N)this._mipLevels.indexOf(F)<0?(B.texImage2D(B.TEXTURE_2D,0,this.format,this.format,this.type,N),this._mipLevels.push(F)):B.texSubImage2D(B.TEXTURE_2D,F,R,z,this.format,this.type,N);else{if(!(I.shape&&I.stride&&I.data))throw new Error("gl-texture2d: Unsupported data type");if(I.shape.length<2||R+I.shape[1]>this._shape[1]>>>F||z+I.shape[0]>this._shape[0]>>>F||R<0||z<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");(function(q,j,Y,U,G,W,H,ne){var te=ne.dtype,Z=ne.shape.slice();if(Z.length<2||Z.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var X=0,Q=0,re=T(Z,ne.stride.slice());if(te==="float32"?X=q.FLOAT:te==="float64"?(X=q.FLOAT,re=!1,te="float32"):te==="uint8"?X=q.UNSIGNED_BYTE:(X=q.UNSIGNED_BYTE,re=!1,te="uint8"),Z.length===2)Q=q.LUMINANCE,Z=[Z[0],Z[1],1],ne=c(ne.data,Z,[ne.stride[0],ne.stride[1],1],ne.offset);else{if(Z.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(Z[2]===1)Q=q.ALPHA;else if(Z[2]===2)Q=q.LUMINANCE_ALPHA;else if(Z[2]===3)Q=q.RGB;else{if(Z[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");Q=q.RGBA}Z[2]}if(Q!==q.LUMINANCE&&Q!==q.ALPHA||G!==q.LUMINANCE&&G!==q.ALPHA||(Q=G),Q!==G)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var ie=ne.size,oe=H.indexOf(U)<0;if(oe&&H.push(U),X===W&&re)ne.offset===0&&ne.data.length===ie?oe?q.texImage2D(q.TEXTURE_2D,U,G,Z[0],Z[1],0,G,W,ne.data):q.texSubImage2D(q.TEXTURE_2D,U,j,Y,Z[0],Z[1],G,W,ne.data):oe?q.texImage2D(q.TEXTURE_2D,U,G,Z[0],Z[1],0,G,W,ne.data.subarray(ne.offset,ne.offset+ie)):q.texSubImage2D(q.TEXTURE_2D,U,j,Y,Z[0],Z[1],G,W,ne.data.subarray(ne.offset,ne.offset+ie));else{var ue;ue=W===q.FLOAT?l.mallocFloat32(ie):l.mallocUint8(ie);var ce=c(ue,Z,[Z[2],Z[2]*Z[0],1]);X===q.FLOAT&&W===q.UNSIGNED_BYTE?C(ce,ne):s.assign(ce,ne),oe?q.texImage2D(q.TEXTURE_2D,U,G,Z[0],Z[1],0,G,W,ue.subarray(0,ie)):q.texSubImage2D(q.TEXTURE_2D,U,j,Y,Z[0],Z[1],G,W,ue.subarray(0,ie)),W===q.FLOAT?l.freeFloat32(ue):l.freeUint8(ue)}})(B,R,z,F,this.format,this.type,this._mipLevels,I)}}},3056:function(p){p.exports=function(u,a,c){a?a.bind():u.bindBuffer(u.ELEMENT_ARRAY_BUFFER,null);var s=0|u.getParameter(u.MAX_VERTEX_ATTRIBS);if(c){if(c.length>s)throw new Error("gl-vao: Too many vertex attributes");for(var l=0;l1?0:Math.acos(y)};var c=a(5415),s=a(899),l=a(9305)},8827:function(p){p.exports=function(u,a){return u[0]=Math.ceil(a[0]),u[1]=Math.ceil(a[1]),u[2]=Math.ceil(a[2]),u}},7622:function(p){p.exports=function(u){var a=new Float32Array(3);return a[0]=u[0],a[1]=u[1],a[2]=u[2],a}},8782:function(p){p.exports=function(u,a){return u[0]=a[0],u[1]=a[1],u[2]=a[2],u}},8501:function(p){p.exports=function(){var u=new Float32Array(3);return u[0]=0,u[1]=0,u[2]=0,u}},903:function(p){p.exports=function(u,a,c){var s=a[0],l=a[1],h=a[2],f=c[0],m=c[1],_=c[2];return u[0]=l*_-h*m,u[1]=h*f-s*_,u[2]=s*m-l*f,u}},5981:function(p,u,a){p.exports=a(8288)},8288:function(p){p.exports=function(u,a){var c=a[0]-u[0],s=a[1]-u[1],l=a[2]-u[2];return Math.sqrt(c*c+s*s+l*l)}},8629:function(p,u,a){p.exports=a(7979)},7979:function(p){p.exports=function(u,a,c){return u[0]=a[0]/c[0],u[1]=a[1]/c[1],u[2]=a[2]/c[2],u}},9305:function(p){p.exports=function(u,a){return u[0]*a[0]+u[1]*a[1]+u[2]*a[2]}},154:function(p){p.exports=1e-6},4932:function(p,u,a){p.exports=function(s,l){var h=s[0],f=s[1],m=s[2],_=l[0],y=l[1],C=l[2];return Math.abs(h-_)<=c*Math.max(1,Math.abs(h),Math.abs(_))&&Math.abs(f-y)<=c*Math.max(1,Math.abs(f),Math.abs(y))&&Math.abs(m-C)<=c*Math.max(1,Math.abs(m),Math.abs(C))};var c=a(154)},5777:function(p){p.exports=function(u,a){return u[0]===a[0]&&u[1]===a[1]&&u[2]===a[2]}},3306:function(p){p.exports=function(u,a){return u[0]=Math.floor(a[0]),u[1]=Math.floor(a[1]),u[2]=Math.floor(a[2]),u}},7447:function(p,u,a){p.exports=function(s,l,h,f,m,_){var y,C;for(l||(l=3),h||(h=0),C=f?Math.min(f*l+h,s.length):s.length,y=h;y0&&(h=1/Math.sqrt(h),u[0]=a[0]*h,u[1]=a[1]*h,u[2]=a[2]*h),u}},6660:function(p){p.exports=function(u,a){a=a||1;var c=2*Math.random()*Math.PI,s=2*Math.random()-1,l=Math.sqrt(1-s*s)*a;return u[0]=Math.cos(c)*l,u[1]=Math.sin(c)*l,u[2]=s*a,u}},392:function(p){p.exports=function(u,a,c,s){var l=c[1],h=c[2],f=a[1]-l,m=a[2]-h,_=Math.sin(s),y=Math.cos(s);return u[0]=a[0],u[1]=l+f*y-m*_,u[2]=h+f*_+m*y,u}},3222:function(p){p.exports=function(u,a,c,s){var l=c[0],h=c[2],f=a[0]-l,m=a[2]-h,_=Math.sin(s),y=Math.cos(s);return u[0]=l+m*_+f*y,u[1]=a[1],u[2]=h+m*y-f*_,u}},3388:function(p){p.exports=function(u,a,c,s){var l=c[0],h=c[1],f=a[0]-l,m=a[1]-h,_=Math.sin(s),y=Math.cos(s);return u[0]=l+f*y-m*_,u[1]=h+f*_+m*y,u[2]=a[2],u}},1624:function(p){p.exports=function(u,a){return u[0]=Math.round(a[0]),u[1]=Math.round(a[1]),u[2]=Math.round(a[2]),u}},5685:function(p){p.exports=function(u,a,c){return u[0]=a[0]*c,u[1]=a[1]*c,u[2]=a[2]*c,u}},6722:function(p){p.exports=function(u,a,c,s){return u[0]=a[0]+c[0]*s,u[1]=a[1]+c[1]*s,u[2]=a[2]+c[2]*s,u}},831:function(p){p.exports=function(u,a,c,s){return u[0]=a,u[1]=c,u[2]=s,u}},5294:function(p,u,a){p.exports=a(6403)},3303:function(p,u,a){p.exports=a(4337)},6403:function(p){p.exports=function(u,a){var c=a[0]-u[0],s=a[1]-u[1],l=a[2]-u[2];return c*c+s*s+l*l}},4337:function(p){p.exports=function(u){var a=u[0],c=u[1],s=u[2];return a*a+c*c+s*s}},8921:function(p,u,a){p.exports=a(911)},911:function(p){p.exports=function(u,a,c){return u[0]=a[0]-c[0],u[1]=a[1]-c[1],u[2]=a[2]-c[2],u}},9908:function(p){p.exports=function(u,a,c){var s=a[0],l=a[1],h=a[2];return u[0]=s*c[0]+l*c[3]+h*c[6],u[1]=s*c[1]+l*c[4]+h*c[7],u[2]=s*c[2]+l*c[5]+h*c[8],u}},3255:function(p){p.exports=function(u,a,c){var s=a[0],l=a[1],h=a[2],f=c[3]*s+c[7]*l+c[11]*h+c[15];return f=f||1,u[0]=(c[0]*s+c[4]*l+c[8]*h+c[12])/f,u[1]=(c[1]*s+c[5]*l+c[9]*h+c[13])/f,u[2]=(c[2]*s+c[6]*l+c[10]*h+c[14])/f,u}},6568:function(p){p.exports=function(u,a,c){var s=a[0],l=a[1],h=a[2],f=c[0],m=c[1],_=c[2],y=c[3],C=y*s+m*h-_*l,w=y*l+_*s-f*h,k=y*h+f*l-m*s,E=-f*s-m*l-_*h;return u[0]=C*y+E*-f+w*-_-k*-m,u[1]=w*y+E*-m+k*-f-C*-_,u[2]=k*y+E*-_+C*-m-w*-f,u}},3433:function(p){p.exports=function(u,a,c){return u[0]=a[0]+c[0],u[1]=a[1]+c[1],u[2]=a[2]+c[2],u[3]=a[3]+c[3],u}},1413:function(p){p.exports=function(u){var a=new Float32Array(4);return a[0]=u[0],a[1]=u[1],a[2]=u[2],a[3]=u[3],a}},3470:function(p){p.exports=function(u,a){return u[0]=a[0],u[1]=a[1],u[2]=a[2],u[3]=a[3],u}},5313:function(p){p.exports=function(){var u=new Float32Array(4);return u[0]=0,u[1]=0,u[2]=0,u[3]=0,u}},5446:function(p){p.exports=function(u,a){var c=a[0]-u[0],s=a[1]-u[1],l=a[2]-u[2],h=a[3]-u[3];return Math.sqrt(c*c+s*s+l*l+h*h)}},205:function(p){p.exports=function(u,a,c){return u[0]=a[0]/c[0],u[1]=a[1]/c[1],u[2]=a[2]/c[2],u[3]=a[3]/c[3],u}},4242:function(p){p.exports=function(u,a){return u[0]*a[0]+u[1]*a[1]+u[2]*a[2]+u[3]*a[3]}},5680:function(p){p.exports=function(u,a,c,s){var l=new Float32Array(4);return l[0]=u,l[1]=a,l[2]=c,l[3]=s,l}},4020:function(p,u,a){p.exports={create:a(5313),clone:a(1413),fromValues:a(5680),copy:a(3470),set:a(6453),add:a(3433),subtract:a(2705),multiply:a(746),divide:a(205),min:a(2170),max:a(3030),scale:a(5510),scaleAndAdd:a(4224),distance:a(5446),squaredDistance:a(1542),length:a(8177),squaredLength:a(9037),negate:a(6459),inverse:a(8057),normalize:a(381),dot:a(4242),lerp:a(8746),random:a(3770),transformMat4:a(6342),transformQuat:a(5022)}},8057:function(p){p.exports=function(u,a){return u[0]=1/a[0],u[1]=1/a[1],u[2]=1/a[2],u[3]=1/a[3],u}},8177:function(p){p.exports=function(u){var a=u[0],c=u[1],s=u[2],l=u[3];return Math.sqrt(a*a+c*c+s*s+l*l)}},8746:function(p){p.exports=function(u,a,c,s){var l=a[0],h=a[1],f=a[2],m=a[3];return u[0]=l+s*(c[0]-l),u[1]=h+s*(c[1]-h),u[2]=f+s*(c[2]-f),u[3]=m+s*(c[3]-m),u}},3030:function(p){p.exports=function(u,a,c){return u[0]=Math.max(a[0],c[0]),u[1]=Math.max(a[1],c[1]),u[2]=Math.max(a[2],c[2]),u[3]=Math.max(a[3],c[3]),u}},2170:function(p){p.exports=function(u,a,c){return u[0]=Math.min(a[0],c[0]),u[1]=Math.min(a[1],c[1]),u[2]=Math.min(a[2],c[2]),u[3]=Math.min(a[3],c[3]),u}},746:function(p){p.exports=function(u,a,c){return u[0]=a[0]*c[0],u[1]=a[1]*c[1],u[2]=a[2]*c[2],u[3]=a[3]*c[3],u}},6459:function(p){p.exports=function(u,a){return u[0]=-a[0],u[1]=-a[1],u[2]=-a[2],u[3]=-a[3],u}},381:function(p){p.exports=function(u,a){var c=a[0],s=a[1],l=a[2],h=a[3],f=c*c+s*s+l*l+h*h;return f>0&&(f=1/Math.sqrt(f),u[0]=c*f,u[1]=s*f,u[2]=l*f,u[3]=h*f),u}},3770:function(p,u,a){var c=a(381),s=a(5510);p.exports=function(l,h){return h=h||1,l[0]=Math.random(),l[1]=Math.random(),l[2]=Math.random(),l[3]=Math.random(),c(l,l),s(l,l,h),l}},5510:function(p){p.exports=function(u,a,c){return u[0]=a[0]*c,u[1]=a[1]*c,u[2]=a[2]*c,u[3]=a[3]*c,u}},4224:function(p){p.exports=function(u,a,c,s){return u[0]=a[0]+c[0]*s,u[1]=a[1]+c[1]*s,u[2]=a[2]+c[2]*s,u[3]=a[3]+c[3]*s,u}},6453:function(p){p.exports=function(u,a,c,s,l){return u[0]=a,u[1]=c,u[2]=s,u[3]=l,u}},1542:function(p){p.exports=function(u,a){var c=a[0]-u[0],s=a[1]-u[1],l=a[2]-u[2],h=a[3]-u[3];return c*c+s*s+l*l+h*h}},9037:function(p){p.exports=function(u){var a=u[0],c=u[1],s=u[2],l=u[3];return a*a+c*c+s*s+l*l}},2705:function(p){p.exports=function(u,a,c){return u[0]=a[0]-c[0],u[1]=a[1]-c[1],u[2]=a[2]-c[2],u[3]=a[3]-c[3],u}},6342:function(p){p.exports=function(u,a,c){var s=a[0],l=a[1],h=a[2],f=a[3];return u[0]=c[0]*s+c[4]*l+c[8]*h+c[12]*f,u[1]=c[1]*s+c[5]*l+c[9]*h+c[13]*f,u[2]=c[2]*s+c[6]*l+c[10]*h+c[14]*f,u[3]=c[3]*s+c[7]*l+c[11]*h+c[15]*f,u}},5022:function(p){p.exports=function(u,a,c){var s=a[0],l=a[1],h=a[2],f=c[0],m=c[1],_=c[2],y=c[3],C=y*s+m*h-_*l,w=y*l+_*s-f*h,k=y*h+f*l-m*s,E=-f*s-m*l-_*h;return u[0]=C*y+E*-f+w*-_-k*-m,u[1]=w*y+E*-m+k*-f-C*-_,u[2]=k*y+E*-_+C*-m-w*-f,u[3]=a[3],u}},9365:function(p,u,a){var c=a(8096),s=a(7896);p.exports=function(l){for(var h=Array.isArray(l)?l:c(l),f=0;f0)continue;ye=ue.slice(0,1).join("")}return G(ye),z+=ye.length,(b=b.slice(ye.length)).length}}function Q(){return/[^a-fA-F0-9]/.test(w)?(G(b.join("")),L=m,T):(b.push(w),k=w,T+1)}function re(){return w==="."||/[eE]/.test(w)?(b.push(w),L=5,k=w,T+1):w==="x"&&b.length===1&&b[0]==="0"?(L=11,b.push(w),k=w,T+1):/[^\d]/.test(w)?(G(b.join("")),L=m,T):(b.push(w),k=w,T+1)}function ie(){return w==="f"&&(b.push(w),k=w,T+=1),/[eE]/.test(w)?(b.push(w),k=w,T+1):(w!=="-"&&w!=="+"||!/[eE]/.test(k))&&/[^\d]/.test(w)?(G(b.join("")),L=m,T):(b.push(w),k=w,T+1)}function oe(){if(/[^\d\w_]/.test(w)){var ue=b.join("");return L=U[ue]?8:Y[ue]?7:6,G(b.join("")),L=m,T}return b.push(w),k=w,T+1}};var c=a(399),s=a(9746),l=a(9525),h=a(9458),f=a(3585),m=999,_=9999,y=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"]},3585:function(p,u,a){var c=a(9525);c=c.slice().filter(function(s){return!/^(gl\_|texture)/.test(s)}),p.exports=c.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(p){p.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(p,u,a){var c=a(399);p.exports=c.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(p){p.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(p){p.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},8096:function(p,u,a){var c=a(3193);p.exports=function(s,l){var h=c(l),f=[];return(f=f.concat(h(s))).concat(h(null))}},6832:function(p){p.exports=function(u){typeof u=="string"&&(u=[u]);for(var a=[].slice.call(arguments,1),c=[],s=0;s0;)for(var b=(C=L.pop()).adjacent,O=0;O<=k;++O){var I=b[O];if(I.boundary&&!(I.lastVisited<=-E)){for(var R=I.vertices,z=0;z<=k;++z){var F=R[z];T[z]=F<0?w:A[F]}var B=this.orient();if(B>0)return I;I.lastVisited=-E,B===0&&L.push(I)}}return null},y.walk=function(C,w){var k=this.vertices.length-1,E=this.dimension,T=this.vertices,A=this.tuple,L=w?this.interior.length*Math.random()|0:this.interior.length-1,b=this.interior[L];e:for(;!b.boundary;){for(var O=b.vertices,I=b.adjacent,R=0;R<=E;++R)A[R]=T[O[R]];for(b.lastVisited=k,R=0;R<=E;++R){var z=I[R];if(!(z.lastVisited>=k)){var F=A[R];A[R]=C;var B=this.orient();if(A[R]=F,B<0){b=z;continue e}z.boundary?z.lastVisited=-k:z.lastVisited=k}}return}return b},y.addPeaks=function(C,w){var k=this.vertices.length-1,E=this.dimension,T=this.vertices,A=this.tuple,L=this.interior,b=this.simplices,O=[w];w.lastVisited=k,w.vertices[w.vertices.indexOf(-1)]=k,w.boundary=!1,L.push(w);for(var I=[];O.length>0;){var R=(w=O.pop()).vertices,z=w.adjacent,F=R.indexOf(k);if(!(F<0)){for(var B=0;B<=E;++B)if(B!==F){var N=z[B];if(N.boundary&&!(N.lastVisited>=k)){var q=N.vertices;if(N.lastVisited!==-k){for(var j=0,Y=0;Y<=E;++Y)q[Y]<0?(j=Y,A[Y]=C):A[Y]=T[q[Y]];if(this.orient()>0){q[j]=k,N.boundary=!1,L.push(N),O.push(N),N.lastVisited=k;continue}N.lastVisited=-k}var U=N.adjacent,G=R.slice(),W=z.slice(),H=new l(G,W,!0);b.push(H);var ne=U.indexOf(w);if(!(ne<0))for(U[ne]=H,W[F]=N,G[B]=-1,W[B]=w,z[B]=H,H.flip(),Y=0;Y<=E;++Y){var te=G[Y];if(!(te<0||te===k)){for(var Z=new Array(E-1),X=0,Q=0;Q<=E;++Q){var re=G[Q];re<0||Q===Y||(Z[X++]=re)}I.push(new h(Z,H,Y))}}}}}}for(I.sort(f),B=0;B+1=0?L[O++]=b[R]:I=1&R;if(I===(1&C)){var z=L[0];L[0]=L[1],L[1]=z}w.push(L)}}return w}},9014:function(p,u,a){var c=a(5070);function s(O,I,R,z,F){this.mid=O,this.left=I,this.right=R,this.leftPoints=z,this.rightPoints=F,this.count=(I?I.count:0)+(R?R.count:0)+z.length}p.exports=function(O){return O&&O.length!==0?new L(A(O)):new L(null)};var l=s.prototype;function h(O,I){O.mid=I.mid,O.left=I.left,O.right=I.right,O.leftPoints=I.leftPoints,O.rightPoints=I.rightPoints,O.count=I.count}function f(O,I){var R=A(I);O.mid=R.mid,O.left=R.left,O.right=R.right,O.leftPoints=R.leftPoints,O.rightPoints=R.rightPoints,O.count=R.count}function m(O,I){var R=O.intervals([]);R.push(I),f(O,R)}function _(O,I){var R=O.intervals([]),z=R.indexOf(I);return z<0?0:(R.splice(z,1),f(O,R),1)}function y(O,I,R){for(var z=0;z=0&&O[z][1]>=I;--z){var F=R(O[z]);if(F)return F}}function w(O,I){for(var R=0;R>1],F=[],B=[],N=[];for(R=0;R3*(I+1)?m(this,O):this.left.insert(O):this.left=A([O]);else if(O[0]>this.mid)this.right?4*(this.right.count+1)>3*(I+1)?m(this,O):this.right.insert(O):this.right=A([O]);else{var R=c.ge(this.leftPoints,O,E),z=c.ge(this.rightPoints,O,T);this.leftPoints.splice(R,0,O),this.rightPoints.splice(z,0,O)}},l.remove=function(O){var I=this.count-this.leftPoints;if(O[1]3*(I-1)?_(this,O):(B=this.left.remove(O))===2?(this.left=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(O[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(I-1)?_(this,O):(B=this.right.remove(O))===2?(this.right=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(this.count===1)return this.leftPoints[0]===O?2:0;if(this.leftPoints.length===1&&this.leftPoints[0]===O){if(this.left&&this.right){for(var R=this,z=this.left;z.right;)R=z,z=z.right;if(R===this)z.right=this.right;else{var F=this.left,B=this.right;R.count-=z.count,R.right=z.left,z.left=F,z.right=B}h(this,z),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?h(this,this.left):h(this,this.right);return 1}for(F=c.ge(this.leftPoints,O,E);Fthis.mid?this.right&&(R=this.right.queryPoint(O,I))?R:C(this.rightPoints,O,I):w(this.leftPoints,I);var R},l.queryInterval=function(O,I,R){var z;return Othis.mid&&this.right&&(z=this.right.queryInterval(O,I,R))?z:Ithis.mid?C(this.rightPoints,O,R):w(this.leftPoints,R)};var b=L.prototype;b.insert=function(O){this.root?this.root.insert(O):this.root=new s(O[0],null,null,[O],[O])},b.remove=function(O){if(this.root){var I=this.root.remove(O);return I===2&&(this.root=null),I!==0}return!1},b.queryPoint=function(O,I){if(this.root)return this.root.queryPoint(O,I)},b.queryInterval=function(O,I,R){if(O<=I&&this.root)return this.root.queryInterval(O,I,R)},Object.defineProperty(b,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(b,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}})},9560:function(p){p.exports=function(u){for(var a=new Array(u),c=0;c13)&&a!==32&&a!==133&&a!==160&&a!==5760&&a!==6158&&(a<8192||a>8205)&&a!==8232&&a!==8233&&a!==8239&&a!==8287&&a!==8288&&a!==12288&&a!==65279)return!1;return!0}},3578:function(p){p.exports=function(u,a,c){return u*(1-c)+a*c}},7191:function(p,u,a){var c=a(4690),s=a(9823),l=a(7332),h=a(7787),f=a(7437),m=a(2142),_={length:a(4693),normalize:a(899),dot:a(9305),cross:a(903)},y=s(),C=s(),w=[0,0,0,0],k=[[0,0,0],[0,0,0],[0,0,0]],E=[0,0,0];function T(A,L,b,O,I){A[0]=L[0]*O+b[0]*I,A[1]=L[1]*O+b[1]*I,A[2]=L[2]*O+b[2]*I}p.exports=function(A,L,b,O,I,R){if(L||(L=[0,0,0]),b||(b=[0,0,0]),O||(O=[0,0,0]),I||(I=[0,0,0,1]),R||(R=[0,0,0,1]),!c(y,A)||(l(C,y),C[3]=0,C[7]=0,C[11]=0,C[15]=1,Math.abs(h(C)<1e-8)))return!1;var z,F,B,N,q,j,Y,U=y[3],G=y[7],W=y[11],H=y[12],ne=y[13],te=y[14],Z=y[15];if(U!==0||G!==0||W!==0){if(w[0]=U,w[1]=G,w[2]=W,w[3]=Z,!f(C,C))return!1;m(C,C),z=I,B=C,N=(F=w)[0],q=F[1],j=F[2],Y=F[3],z[0]=B[0]*N+B[4]*q+B[8]*j+B[12]*Y,z[1]=B[1]*N+B[5]*q+B[9]*j+B[13]*Y,z[2]=B[2]*N+B[6]*q+B[10]*j+B[14]*Y,z[3]=B[3]*N+B[7]*q+B[11]*j+B[15]*Y}else I[0]=I[1]=I[2]=0,I[3]=1;if(L[0]=H,L[1]=ne,L[2]=te,function(Q,re){Q[0][0]=re[0],Q[0][1]=re[1],Q[0][2]=re[2],Q[1][0]=re[4],Q[1][1]=re[5],Q[1][2]=re[6],Q[2][0]=re[8],Q[2][1]=re[9],Q[2][2]=re[10]}(k,y),b[0]=_.length(k[0]),_.normalize(k[0],k[0]),O[0]=_.dot(k[0],k[1]),T(k[1],k[1],k[0],1,-O[0]),b[1]=_.length(k[1]),_.normalize(k[1],k[1]),O[0]/=b[1],O[1]=_.dot(k[0],k[2]),T(k[2],k[2],k[0],1,-O[1]),O[2]=_.dot(k[1],k[2]),T(k[2],k[2],k[1],1,-O[2]),b[2]=_.length(k[2]),_.normalize(k[2],k[2]),O[1]/=b[2],O[2]/=b[2],_.cross(E,k[1],k[2]),_.dot(k[0],E)<0)for(var X=0;X<3;X++)b[X]*=-1,k[X][0]*=-1,k[X][1]*=-1,k[X][2]*=-1;return R[0]=.5*Math.sqrt(Math.max(1+k[0][0]-k[1][1]-k[2][2],0)),R[1]=.5*Math.sqrt(Math.max(1-k[0][0]+k[1][1]-k[2][2],0)),R[2]=.5*Math.sqrt(Math.max(1-k[0][0]-k[1][1]+k[2][2],0)),R[3]=.5*Math.sqrt(Math.max(1+k[0][0]+k[1][1]+k[2][2],0)),k[2][1]>k[1][2]&&(R[0]=-R[0]),k[0][2]>k[2][0]&&(R[1]=-R[1]),k[1][0]>k[0][1]&&(R[2]=-R[2]),!0}},4690:function(p){p.exports=function(u,a){var c=a[15];if(c===0)return!1;for(var s=1/c,l=0;l<16;l++)u[l]=a[l]*s;return!0}},7649:function(p,u,a){var c=a(1868),s=a(1102),l=a(7191),h=a(7787),f=a(1116),m=C(),_=C(),y=C();function C(){return{translate:w(),scale:w(1),skew:w(),perspective:[0,0,0,1],quaternion:[0,0,0,1]}}function w(k){return[k||0,k||0,k||0]}p.exports=function(k,E,T,A){if(h(E)===0||h(T)===0)return!1;var L=l(E,m.translate,m.scale,m.skew,m.perspective,m.quaternion),b=l(T,_.translate,_.scale,_.skew,_.perspective,_.quaternion);return!(!L||!b||(c(y.translate,m.translate,_.translate,A),c(y.skew,m.skew,_.skew,A),c(y.scale,m.scale,_.scale,A),c(y.perspective,m.perspective,_.perspective,A),f(y.quaternion,m.quaternion,_.quaternion,A),s(k,y.translate,y.scale,y.skew,y.perspective,y.quaternion),0))}},1102:function(p,u,a){var c={identity:a(9947),translate:a(998),multiply:a(104),create:a(9823),scale:a(3668),fromRotationTranslation:a(7280)},s=(c.create(),c.create());p.exports=function(l,h,f,m,_,y){return c.identity(l),c.fromRotationTranslation(l,y,h),l[3]=_[0],l[7]=_[1],l[11]=_[2],l[15]=_[3],c.identity(s),m[2]!==0&&(s[9]=m[2],c.multiply(l,l,s)),m[1]!==0&&(s[9]=0,s[8]=m[1],c.multiply(l,l,s)),m[0]!==0&&(s[8]=0,s[4]=m[0],c.multiply(l,l,s)),c.scale(l,l,f),l}},9298:function(p,u,a){var c=a(5070),s=a(7649),l=a(7437),h=a(6109),f=a(7115),m=a(5240),_=a(3012),y=a(998),C=(a(3668),a(899)),w=[0,0,0];function k(A){this._components=A.slice(),this._time=[0],this.prevMatrix=A.slice(),this.nextMatrix=A.slice(),this.computedMatrix=A.slice(),this.computedInverse=A.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]}p.exports=function(A){return new k((A=A||{}).matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};var E=k.prototype;E.recalcMatrix=function(A){var L=this._time,b=c.le(L,A),O=this.computedMatrix;if(!(b<0)){var I=this._components;if(b===L.length-1)for(var R=16*b,z=0;z<16;++z)O[z]=I[R++];else{var F=L[b+1]-L[b],B=(R=16*b,this.prevMatrix),N=!0;for(z=0;z<16;++z)B[z]=I[R++];var q=this.nextMatrix;for(z=0;z<16;++z)q[z]=I[R++],N=N&&B[z]===q[z];if(F<1e-6||N)for(z=0;z<16;++z)O[z]=B[z];else s(O,B,q,(A-L[b])/F)}var j=this.computedUp;j[0]=O[1],j[1]=O[5],j[2]=O[9],C(j,j);var Y=this.computedInverse;l(Y,O);var U=this.computedEye,G=Y[15];U[0]=Y[12]/G,U[1]=Y[13]/G,U[2]=Y[14]/G;var W=this.computedCenter,H=Math.exp(this.computedRadius[0]);for(z=0;z<3;++z)W[z]=U[z]-O[2+4*z]*H}},E.idle=function(A){if(!(A1&&c(s[_[k-2]],s[_[k-1]],w)<=0;)k-=1,_.pop();for(_.push(C),k=y.length;k>1&&c(s[y[k-2]],s[y[k-1]],w)>=0;)k-=1,y.pop();y.push(C)}h=new Array(y.length+_.length-2);for(var E=0,T=(f=0,_.length);f0;--A)h[E++]=y[A];return h};var c=a(417)[3]},6145:function(p,u,a){p.exports=function(s,l){l||(l=s,s=window);var h=0,f=0,m=0,_={shift:!1,alt:!1,control:!1,meta:!1},y=!1;function C(R){var z=!1;return"altKey"in R&&(z=z||R.altKey!==_.alt,_.alt=!!R.altKey),"shiftKey"in R&&(z=z||R.shiftKey!==_.shift,_.shift=!!R.shiftKey),"ctrlKey"in R&&(z=z||R.ctrlKey!==_.control,_.control=!!R.ctrlKey),"metaKey"in R&&(z=z||R.metaKey!==_.meta,_.meta=!!R.metaKey),z}function w(R,z){var F=c.x(z),B=c.y(z);"buttons"in z&&(R=0|z.buttons),(R!==h||F!==f||B!==m||C(z))&&(h=0|R,f=F||0,m=B||0,l&&l(h,f,m,_))}function k(R){w(0,R)}function E(){(h||f||m||_.shift||_.alt||_.meta||_.control)&&(f=m=0,h=0,_.shift=_.alt=_.control=_.meta=!1,l&&l(0,0,0,_))}function T(R){C(R)&&l&&l(h,f,m,_)}function A(R){c.buttons(R)===0?w(0,R):w(h,R)}function L(R){w(h|c.buttons(R),R)}function b(R){w(h&~c.buttons(R),R)}function O(){y||(y=!0,s.addEventListener("mousemove",A),s.addEventListener("mousedown",L),s.addEventListener("mouseup",b),s.addEventListener("mouseleave",k),s.addEventListener("mouseenter",k),s.addEventListener("mouseout",k),s.addEventListener("mouseover",k),s.addEventListener("blur",E),s.addEventListener("keyup",T),s.addEventListener("keydown",T),s.addEventListener("keypress",T),s!==window&&(window.addEventListener("blur",E),window.addEventListener("keyup",T),window.addEventListener("keydown",T),window.addEventListener("keypress",T)))}O();var I={element:s};return Object.defineProperties(I,{enabled:{get:function(){return y},set:function(R){R?O():y&&(y=!1,s.removeEventListener("mousemove",A),s.removeEventListener("mousedown",L),s.removeEventListener("mouseup",b),s.removeEventListener("mouseleave",k),s.removeEventListener("mouseenter",k),s.removeEventListener("mouseout",k),s.removeEventListener("mouseover",k),s.removeEventListener("blur",E),s.removeEventListener("keyup",T),s.removeEventListener("keydown",T),s.removeEventListener("keypress",T),s!==window&&(window.removeEventListener("blur",E),window.removeEventListener("keyup",T),window.removeEventListener("keydown",T),window.removeEventListener("keypress",T)))},enumerable:!0},buttons:{get:function(){return h},enumerable:!0},x:{get:function(){return f},enumerable:!0},y:{get:function(){return m},enumerable:!0},mods:{get:function(){return _},enumerable:!0}}),I};var c=a(4110)},2565:function(p){var u={left:0,top:0};p.exports=function(a,c,s){c=c||a.currentTarget||a.srcElement,Array.isArray(s)||(s=[0,0]);var l,h=a.clientX||0,f=a.clientY||0,m=(l=c)===window||l===document||l===document.body?u:l.getBoundingClientRect();return s[0]=h-m.left,s[1]=f-m.top,s}},4110:function(p,u){function a(c){return c.target||c.srcElement||window}u.buttons=function(c){if(typeof c=="object"){if("buttons"in c)return c.buttons;if("which"in c){if((s=c.which)===2)return 4;if(s===3)return 2;if(s>0)return 1<=0)return 1< 0"),typeof l.vertex!="function"&&h("Must specify vertex creation function"),typeof l.cell!="function"&&h("Must specify cell creation function"),typeof l.phase!="function"&&h("Must specify phase function");for(var _=l.getters||[],y=new Array(m),C=0;C=0?y[C]=!0:y[C]=!1;return function(w,k,E,T,A,L){var b=[L,A].join(",");return(0,s[b])(w,k,E,c.mallocUint32,c.freeUint32)}(l.vertex,l.cell,l.phase,0,f,y)};var s={"false,0,1":function(l,h,f,m,_){return function(y,C,w,k){var E,T=0|y.shape[0],A=0|y.shape[1],L=y.data,b=0|y.offset,O=0|y.stride[0],I=0|y.stride[1],R=b,z=0|-O,F=0,B=0|-I,N=0,q=-O-I|0,j=0,Y=0|O,U=I-O*T|0,G=0,W=0,H=0,ne=2*T|0,te=m(ne),Z=m(ne),X=0,Q=0,re=-1,ie=-1,oe=0,ue=0|-T,ce=0|T,ye=0,de=-T-1|0,me=T-1|0,pe=0,xe=0,Pe=0;for(G=0;G0){if(W=1,te[X++]=f(L[R],C,w,k),R+=Y,T>0)for(G=1,E=L[R],Q=te[X]=f(E,C,w,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[R+z],N=L[R+B],j=L[R+q],l(G,W,E,F,N,j,Q,oe,ye,pe,C,w,k),xe=Z[X]=H++),X+=1,R+=Y,G=2;G0)for(G=1,E=L[R],Q=te[X]=f(E,C,w,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[R+z],N=L[R+B],j=L[R+q],l(G,W,E,F,N,j,Q,oe,ye,pe,C,w,k),xe=Z[X]=H++,pe!==ye&&h(Z[X+ue],xe,N,j,ye,pe,C,w,k)),X+=1,R+=Y,G=2;G0){if(G=1,te[X++]=f(L[R],C,w,k),R+=Y,A>0)for(W=1,E=L[R],Q=te[X]=f(E,C,w,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[R+z],N=L[R+B],j=L[R+q],l(G,W,E,F,N,j,Q,ye,oe,pe,C,w,k),xe=Z[X]=H++),X+=1,R+=Y,W=2;W0)for(W=1,E=L[R],Q=te[X]=f(E,C,w,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[R+z],N=L[R+B],j=L[R+q],l(G,W,E,F,N,j,Q,ye,oe,pe,C,w,k),xe=Z[X]=H++,pe!==ye&&h(Z[X+ue],xe,j,F,pe,ye,C,w,k)),X+=1,R+=Y,W=2;W2&&R[1]>2&&b(I.pick(-1,-1).lo(1,1).hi(R[0]-2,R[1]-2),O.pick(-1,-1,0).lo(1,1).hi(R[0]-2,R[1]-2),O.pick(-1,-1,1).lo(1,1).hi(R[0]-2,R[1]-2)),R[1]>2&&(L(I.pick(0,-1).lo(1).hi(R[1]-2),O.pick(0,-1,1).lo(1).hi(R[1]-2)),A(O.pick(0,-1,0).lo(1).hi(R[1]-2))),R[1]>2&&(L(I.pick(R[0]-1,-1).lo(1).hi(R[1]-2),O.pick(R[0]-1,-1,1).lo(1).hi(R[1]-2)),A(O.pick(R[0]-1,-1,0).lo(1).hi(R[1]-2))),R[0]>2&&(L(I.pick(-1,0).lo(1).hi(R[0]-2),O.pick(-1,0,0).lo(1).hi(R[0]-2)),A(O.pick(-1,0,1).lo(1).hi(R[0]-2))),R[0]>2&&(L(I.pick(-1,R[1]-1).lo(1).hi(R[0]-2),O.pick(-1,R[1]-1,0).lo(1).hi(R[0]-2)),A(O.pick(-1,R[1]-1,1).lo(1).hi(R[0]-2))),O.set(0,0,0,0),O.set(0,0,1,0),O.set(R[0]-1,0,0,0),O.set(R[0]-1,0,1,0),O.set(0,R[1]-1,0,0),O.set(0,R[1]-1,1,0),O.set(R[0]-1,R[1]-1,0,0),O.set(R[0]-1,R[1]-1,1,0),O}}p.exports=function(T,A,L){return Array.isArray(L)||(L=c(A.dimension,typeof L=="string"?L:"clamp")),A.size===0?T:A.dimension===0?(T.set(0),T):function(b){var O=b.join();if(F=y[O])return F;for(var I=b.length,R=[C,w],z=1;z<=I;++z)R.push(k(z));var F=E.apply(void 0,R);return y[O]=F,F}(L)(T,A)}},3581:function(p){function u(l,h){var f=Math.floor(h),m=h-f,_=0<=f&&f0;){q<64?(T=q,q=0):(T=64,q-=64);for(var j=0|f[1];j>0;){j<64?(A=j,j=0):(A=64,j-=64),y=B+q*b+j*O,k=N+q*R+j*z;var Y=0,U=0,G=0,W=I,H=b-L*I,ne=O-T*b,te=F,Z=R-L*F,X=z-T*R;for(G=0;G0;){z<64?(T=z,z=0):(T=64,z-=64);for(var F=0|f[0];F>0;){F<64?(E=F,F=0):(E=64,F-=64),y=I+z*L+F*A,k=R+z*O+F*b;var B=0,N=0,q=L,j=A-T*L,Y=O,U=b-T*O;for(N=0;N0;){N<64?(A=N,N=0):(A=64,N-=64);for(var q=0|f[0];q>0;){q<64?(E=q,q=0):(E=64,q-=64);for(var j=0|f[1];j>0;){j<64?(T=j,j=0):(T=64,j-=64),y=F+N*O+q*L+j*b,k=B+N*z+q*I+j*R;var Y=0,U=0,G=0,W=O,H=L-A*O,ne=b-E*L,te=z,Z=I-A*z,X=R-E*I;for(G=0;Gy;){N=0,q=F-E;t:for(B=0;BY)break t;q+=O,N+=I}for(N=F,q=F-E,B=0;B>1,Ce=Se-Pe,ae=Se+Pe,he=_e,be=Ce,ke=Se,Le=ae,Be=Me,ze=w+1,je=k-1,ge=!0,we=0,Ee=0,Ve=0,Ye=O,$e=_(Ye),st=_(Ye);ne=A*he,te=A*be,xe=T;e:for(H=0;H0){B=he,he=be,be=B;break e}if(Ve<0)break e;xe+=R}ne=A*Le,te=A*Be,xe=T;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=R}ne=A*he,te=A*ke,xe=T;e:for(H=0;H0){B=he,he=ke,ke=B;break e}if(Ve<0)break e;xe+=R}ne=A*be,te=A*ke,xe=T;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=R}ne=A*he,te=A*Le,xe=T;e:for(H=0;H0){B=he,he=Le,Le=B;break e}if(Ve<0)break e;xe+=R}ne=A*ke,te=A*Le,xe=T;e:for(H=0;H0){B=ke,ke=Le,Le=B;break e}if(Ve<0)break e;xe+=R}ne=A*be,te=A*Be,xe=T;e:for(H=0;H0){B=be,be=Be,Be=B;break e}if(Ve<0)break e;xe+=R}ne=A*be,te=A*ke,xe=T;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=R}ne=A*Le,te=A*Be,xe=T;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=R}for(ne=A*he,te=A*be,Z=A*ke,X=A*Le,Q=A*Be,re=A*_e,ie=A*Se,oe=A*Me,pe=0,xe=T,H=0;H0)){if(Ve<0){for(ne=A*Y,te=A*ze,Z=A*je,xe=T,H=0;H0)for(;;){for(U=T+je*A,pe=0,H=0;H0)){for(U=T+je*A,pe=0,H=0;HMe){e:for(;;){for(U=T+ze*A,pe=0,xe=T,H=0;H1&&L?O(A,L[0],L[1]):O(A)}(m,_,w);return C(w,k)}},8729:function(p,u,a){var c=a(8139),s={};p.exports=function(l){var h=l.order,f=l.dtype,m=[h,f].join(":"),_=s[m];return _||(s[m]=_=c(h,f)),_(l),l}},5050:function(p,u,a){var c=a(4780),s=typeof Float64Array<"u";function l(y,C){return y[0]-C[0]}function h(){var y,C=this.stride,w=new Array(C.length);for(y=0;y=0&&(A+=O*(L=0|T),b-=L),new k(this.data,b,O,A)},E.step=function(T){var A=this.shape[0],L=this.stride[0],b=this.offset,O=0,I=Math.ceil;return typeof T=="number"&&((O=0|T)<0?(b+=L*(A-1),A=I(-A/O)):A=I(A/O),L*=O),new k(this.data,A,L,b)},E.transpose=function(T){T=T===void 0?0:0|T;var A=this.shape,L=this.stride;return new k(this.data,A[T],L[T],this.offset)},E.pick=function(T){var A=[],L=[],b=this.offset;return typeof T=="number"&&T>=0?b=b+this.stride[0]*T|0:(A.push(this.shape[0]),L.push(this.stride[0])),(0,C[A.length+1])(this.data,A,L,b)},function(T,A,L,b){return new k(T,A[0],L[0],b)}},2:function(y,C,w){function k(T,A,L,b,O,I){this.data=T,this.shape=[A,L],this.stride=[b,O],this.offset=0|I}var E=k.prototype;return E.dtype=y,E.dimension=2,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(E,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),E.set=function(T,A,L){return y==="generic"?this.data.set(this.offset+this.stride[0]*T+this.stride[1]*A,L):this.data[this.offset+this.stride[0]*T+this.stride[1]*A]=L},E.get=function(T,A){return y==="generic"?this.data.get(this.offset+this.stride[0]*T+this.stride[1]*A):this.data[this.offset+this.stride[0]*T+this.stride[1]*A]},E.index=function(T,A){return this.offset+this.stride[0]*T+this.stride[1]*A},E.hi=function(T,A){return new k(this.data,typeof T!="number"||T<0?this.shape[0]:0|T,typeof A!="number"||A<0?this.shape[1]:0|A,this.stride[0],this.stride[1],this.offset)},E.lo=function(T,A){var L=this.offset,b=0,O=this.shape[0],I=this.shape[1],R=this.stride[0],z=this.stride[1];return typeof T=="number"&&T>=0&&(L+=R*(b=0|T),O-=b),typeof A=="number"&&A>=0&&(L+=z*(b=0|A),I-=b),new k(this.data,O,I,R,z,L)},E.step=function(T,A){var L=this.shape[0],b=this.shape[1],O=this.stride[0],I=this.stride[1],R=this.offset,z=0,F=Math.ceil;return typeof T=="number"&&((z=0|T)<0?(R+=O*(L-1),L=F(-L/z)):L=F(L/z),O*=z),typeof A=="number"&&((z=0|A)<0?(R+=I*(b-1),b=F(-b/z)):b=F(b/z),I*=z),new k(this.data,L,b,O,I,R)},E.transpose=function(T,A){T=T===void 0?0:0|T,A=A===void 0?1:0|A;var L=this.shape,b=this.stride;return new k(this.data,L[T],L[A],b[T],b[A],this.offset)},E.pick=function(T,A){var L=[],b=[],O=this.offset;return typeof T=="number"&&T>=0?O=O+this.stride[0]*T|0:(L.push(this.shape[0]),b.push(this.stride[0])),typeof A=="number"&&A>=0?O=O+this.stride[1]*A|0:(L.push(this.shape[1]),b.push(this.stride[1])),(0,C[L.length+1])(this.data,L,b,O)},function(T,A,L,b){return new k(T,A[0],A[1],L[0],L[1],b)}},3:function(y,C,w){function k(T,A,L,b,O,I,R,z){this.data=T,this.shape=[A,L,b],this.stride=[O,I,R],this.offset=0|z}var E=k.prototype;return E.dtype=y,E.dimension=3,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(E,"order",{get:function(){var T=Math.abs(this.stride[0]),A=Math.abs(this.stride[1]),L=Math.abs(this.stride[2]);return T>A?A>L?[2,1,0]:T>L?[1,2,0]:[1,0,2]:T>L?[2,0,1]:L>A?[0,1,2]:[0,2,1]}}),E.set=function(T,A,L,b){return y==="generic"?this.data.set(this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L,b):this.data[this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L]=b},E.get=function(T,A,L){return y==="generic"?this.data.get(this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L):this.data[this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L]},E.index=function(T,A,L){return this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L},E.hi=function(T,A,L){return new k(this.data,typeof T!="number"||T<0?this.shape[0]:0|T,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,this.stride[0],this.stride[1],this.stride[2],this.offset)},E.lo=function(T,A,L){var b=this.offset,O=0,I=this.shape[0],R=this.shape[1],z=this.shape[2],F=this.stride[0],B=this.stride[1],N=this.stride[2];return typeof T=="number"&&T>=0&&(b+=F*(O=0|T),I-=O),typeof A=="number"&&A>=0&&(b+=B*(O=0|A),R-=O),typeof L=="number"&&L>=0&&(b+=N*(O=0|L),z-=O),new k(this.data,I,R,z,F,B,N,b)},E.step=function(T,A,L){var b=this.shape[0],O=this.shape[1],I=this.shape[2],R=this.stride[0],z=this.stride[1],F=this.stride[2],B=this.offset,N=0,q=Math.ceil;return typeof T=="number"&&((N=0|T)<0?(B+=R*(b-1),b=q(-b/N)):b=q(b/N),R*=N),typeof A=="number"&&((N=0|A)<0?(B+=z*(O-1),O=q(-O/N)):O=q(O/N),z*=N),typeof L=="number"&&((N=0|L)<0?(B+=F*(I-1),I=q(-I/N)):I=q(I/N),F*=N),new k(this.data,b,O,I,R,z,F,B)},E.transpose=function(T,A,L){T=T===void 0?0:0|T,A=A===void 0?1:0|A,L=L===void 0?2:0|L;var b=this.shape,O=this.stride;return new k(this.data,b[T],b[A],b[L],O[T],O[A],O[L],this.offset)},E.pick=function(T,A,L){var b=[],O=[],I=this.offset;return typeof T=="number"&&T>=0?I=I+this.stride[0]*T|0:(b.push(this.shape[0]),O.push(this.stride[0])),typeof A=="number"&&A>=0?I=I+this.stride[1]*A|0:(b.push(this.shape[1]),O.push(this.stride[1])),typeof L=="number"&&L>=0?I=I+this.stride[2]*L|0:(b.push(this.shape[2]),O.push(this.stride[2])),(0,C[b.length+1])(this.data,b,O,I)},function(T,A,L,b){return new k(T,A[0],A[1],A[2],L[0],L[1],L[2],b)}},4:function(y,C,w){function k(T,A,L,b,O,I,R,z,F,B){this.data=T,this.shape=[A,L,b,O],this.stride=[I,R,z,F],this.offset=0|B}var E=k.prototype;return E.dtype=y,E.dimension=4,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(E,"order",{get:w}),E.set=function(T,A,L,b,O){return y==="generic"?this.data.set(this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b,O):this.data[this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]=O},E.get=function(T,A,L,b){return y==="generic"?this.data.get(this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b):this.data[this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]},E.index=function(T,A,L,b){return this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b},E.hi=function(T,A,L,b){return new k(this.data,typeof T!="number"||T<0?this.shape[0]:0|T,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},E.lo=function(T,A,L,b){var O=this.offset,I=0,R=this.shape[0],z=this.shape[1],F=this.shape[2],B=this.shape[3],N=this.stride[0],q=this.stride[1],j=this.stride[2],Y=this.stride[3];return typeof T=="number"&&T>=0&&(O+=N*(I=0|T),R-=I),typeof A=="number"&&A>=0&&(O+=q*(I=0|A),z-=I),typeof L=="number"&&L>=0&&(O+=j*(I=0|L),F-=I),typeof b=="number"&&b>=0&&(O+=Y*(I=0|b),B-=I),new k(this.data,R,z,F,B,N,q,j,Y,O)},E.step=function(T,A,L,b){var O=this.shape[0],I=this.shape[1],R=this.shape[2],z=this.shape[3],F=this.stride[0],B=this.stride[1],N=this.stride[2],q=this.stride[3],j=this.offset,Y=0,U=Math.ceil;return typeof T=="number"&&((Y=0|T)<0?(j+=F*(O-1),O=U(-O/Y)):O=U(O/Y),F*=Y),typeof A=="number"&&((Y=0|A)<0?(j+=B*(I-1),I=U(-I/Y)):I=U(I/Y),B*=Y),typeof L=="number"&&((Y=0|L)<0?(j+=N*(R-1),R=U(-R/Y)):R=U(R/Y),N*=Y),typeof b=="number"&&((Y=0|b)<0?(j+=q*(z-1),z=U(-z/Y)):z=U(z/Y),q*=Y),new k(this.data,O,I,R,z,F,B,N,q,j)},E.transpose=function(T,A,L,b){T=T===void 0?0:0|T,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b;var O=this.shape,I=this.stride;return new k(this.data,O[T],O[A],O[L],O[b],I[T],I[A],I[L],I[b],this.offset)},E.pick=function(T,A,L,b){var O=[],I=[],R=this.offset;return typeof T=="number"&&T>=0?R=R+this.stride[0]*T|0:(O.push(this.shape[0]),I.push(this.stride[0])),typeof A=="number"&&A>=0?R=R+this.stride[1]*A|0:(O.push(this.shape[1]),I.push(this.stride[1])),typeof L=="number"&&L>=0?R=R+this.stride[2]*L|0:(O.push(this.shape[2]),I.push(this.stride[2])),typeof b=="number"&&b>=0?R=R+this.stride[3]*b|0:(O.push(this.shape[3]),I.push(this.stride[3])),(0,C[O.length+1])(this.data,O,I,R)},function(T,A,L,b){return new k(T,A[0],A[1],A[2],A[3],L[0],L[1],L[2],L[3],b)}},5:function(y,C,w){function k(T,A,L,b,O,I,R,z,F,B,N,q){this.data=T,this.shape=[A,L,b,O,I],this.stride=[R,z,F,B,N],this.offset=0|q}var E=k.prototype;return E.dtype=y,E.dimension=5,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(E,"order",{get:w}),E.set=function(T,A,L,b,O,I){return y==="generic"?this.data.set(this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*O,I):this.data[this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*O]=I},E.get=function(T,A,L,b,O){return y==="generic"?this.data.get(this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*O):this.data[this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*O]},E.index=function(T,A,L,b,O){return this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*O},E.hi=function(T,A,L,b,O){return new k(this.data,typeof T!="number"||T<0?this.shape[0]:0|T,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,typeof O!="number"||O<0?this.shape[4]:0|O,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},E.lo=function(T,A,L,b,O){var I=this.offset,R=0,z=this.shape[0],F=this.shape[1],B=this.shape[2],N=this.shape[3],q=this.shape[4],j=this.stride[0],Y=this.stride[1],U=this.stride[2],G=this.stride[3],W=this.stride[4];return typeof T=="number"&&T>=0&&(I+=j*(R=0|T),z-=R),typeof A=="number"&&A>=0&&(I+=Y*(R=0|A),F-=R),typeof L=="number"&&L>=0&&(I+=U*(R=0|L),B-=R),typeof b=="number"&&b>=0&&(I+=G*(R=0|b),N-=R),typeof O=="number"&&O>=0&&(I+=W*(R=0|O),q-=R),new k(this.data,z,F,B,N,q,j,Y,U,G,W,I)},E.step=function(T,A,L,b,O){var I=this.shape[0],R=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.shape[4],N=this.stride[0],q=this.stride[1],j=this.stride[2],Y=this.stride[3],U=this.stride[4],G=this.offset,W=0,H=Math.ceil;return typeof T=="number"&&((W=0|T)<0?(G+=N*(I-1),I=H(-I/W)):I=H(I/W),N*=W),typeof A=="number"&&((W=0|A)<0?(G+=q*(R-1),R=H(-R/W)):R=H(R/W),q*=W),typeof L=="number"&&((W=0|L)<0?(G+=j*(z-1),z=H(-z/W)):z=H(z/W),j*=W),typeof b=="number"&&((W=0|b)<0?(G+=Y*(F-1),F=H(-F/W)):F=H(F/W),Y*=W),typeof O=="number"&&((W=0|O)<0?(G+=U*(B-1),B=H(-B/W)):B=H(B/W),U*=W),new k(this.data,I,R,z,F,B,N,q,j,Y,U,G)},E.transpose=function(T,A,L,b,O){T=T===void 0?0:0|T,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b,O=O===void 0?4:0|O;var I=this.shape,R=this.stride;return new k(this.data,I[T],I[A],I[L],I[b],I[O],R[T],R[A],R[L],R[b],R[O],this.offset)},E.pick=function(T,A,L,b,O){var I=[],R=[],z=this.offset;return typeof T=="number"&&T>=0?z=z+this.stride[0]*T|0:(I.push(this.shape[0]),R.push(this.stride[0])),typeof A=="number"&&A>=0?z=z+this.stride[1]*A|0:(I.push(this.shape[1]),R.push(this.stride[1])),typeof L=="number"&&L>=0?z=z+this.stride[2]*L|0:(I.push(this.shape[2]),R.push(this.stride[2])),typeof b=="number"&&b>=0?z=z+this.stride[3]*b|0:(I.push(this.shape[3]),R.push(this.stride[3])),typeof O=="number"&&O>=0?z=z+this.stride[4]*O|0:(I.push(this.shape[4]),R.push(this.stride[4])),(0,C[I.length+1])(this.data,I,R,z)},function(T,A,L,b){return new k(T,A[0],A[1],A[2],A[3],A[4],L[0],L[1],L[2],L[3],L[4],b)}}};function m(y,C){var w=C===-1?"T":String(C),k=f[w];return C===-1?k(y):C===0?k(y,_[y][0]):k(y,_[y],h)}var _={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};p.exports=function(y,C,w,k){if(y===void 0)return(0,_.array[0])([]);typeof y=="number"&&(y=[y]),C===void 0&&(C=[y.length]);var E=C.length;if(w===void 0){w=new Array(E);for(var T=E-1,A=1;T>=0;--T)w[T]=A,A*=C[T]}if(k===void 0)for(k=0,T=0;T>>0;p.exports=function(h,f){if(isNaN(h)||isNaN(f))return NaN;if(h===f)return h;if(h===0)return f<0?-s:s;var m=c.hi(h),_=c.lo(h);return f>h==h>0?_===l?(m+=1,_=0):_+=1:_===0?(_=l,m-=1):_-=1,c.pack(_,m)}},115:function(p,u){u.vertexNormals=function(a,c,s){for(var l=c.length,h=new Array(l),f=s===void 0?1e-6:s,m=0;mf){var z=h[C],F=1/Math.sqrt(b*I);for(R=0;R<3;++R){var B=(R+1)%3,N=(R+2)%3;z[R]+=F*(O[B]*L[N]-O[N]*L[B])}}}for(m=0;mf)for(F=1/Math.sqrt(q),R=0;R<3;++R)z[R]*=F;else for(R=0;R<3;++R)z[R]=0}return h},u.faceNormals=function(a,c,s){for(var l=a.length,h=new Array(l),f=s===void 0?1e-6:s,m=0;mf?1/Math.sqrt(T):0,C=0;C<3;++C)E[C]*=T;h[m]=E}return h}},567:function(p){p.exports=function(u,a,c,s,l,h,f,m,_,y){var C=a+h+y;if(w>0){var w=Math.sqrt(C+1);u[0]=.5*(f-_)/w,u[1]=.5*(m-s)/w,u[2]=.5*(c-h)/w,u[3]=.5*w}else{var k=Math.max(a,h,y);w=Math.sqrt(2*k-C+1),a>=k?(u[0]=.5*w,u[1]=.5*(l+c)/w,u[2]=.5*(m+s)/w,u[3]=.5*(f-_)/w):h>=k?(u[0]=.5*(c+l)/w,u[1]=.5*w,u[2]=.5*(_+f)/w,u[3]=.5*(m-s)/w):(u[0]=.5*(s+m)/w,u[1]=.5*(f+_)/w,u[2]=.5*w,u[3]=.5*(c-l)/w)}return u}},7774:function(p,u,a){p.exports=function(k){var E=(k=k||{}).center||[0,0,0],T=k.rotation||[0,0,0,1],A=k.radius||1;E=[].slice.call(E,0,3),y(T=[].slice.call(T,0,4),T);var L=new C(T,E,Math.log(A));return L.setDistanceLimits(k.zoomMin,k.zoomMax),("eye"in k||"up"in k)&&L.lookAt(0,k.eye,k.center,k.up),L};var c=a(8444),s=a(3012),l=a(5950),h=a(7437),f=a(567);function m(k,E,T){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(T,2))}function _(k,E,T,A){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(T,2)+Math.pow(A,2))}function y(k,E){var T=E[0],A=E[1],L=E[2],b=E[3],O=_(T,A,L,b);O>1e-6?(k[0]=T/O,k[1]=A/O,k[2]=L/O,k[3]=b/O):(k[0]=k[1]=k[2]=0,k[3]=1)}function C(k,E,T){this.radius=c([T]),this.center=c(E),this.rotation=c(k),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 w=C.prototype;w.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},w.recalcMatrix=function(k){this.radius.curve(k),this.center.curve(k),this.rotation.curve(k);var E=this.computedRotation;y(E,E);var T=this.computedMatrix;l(T,E);var A=this.computedCenter,L=this.computedEye,b=this.computedUp,O=Math.exp(this.computedRadius[0]);L[0]=A[0]+O*T[2],L[1]=A[1]+O*T[6],L[2]=A[2]+O*T[10],b[0]=T[1],b[1]=T[5],b[2]=T[9];for(var I=0;I<3;++I){for(var R=0,z=0;z<3;++z)R+=T[I+4*z]*L[z];T[12+I]=-R}},w.getMatrix=function(k,E){this.recalcMatrix(k);var T=this.computedMatrix;if(E){for(var A=0;A<16;++A)E[A]=T[A];return E}return T},w.idle=function(k){this.center.idle(k),this.radius.idle(k),this.rotation.idle(k)},w.flush=function(k){this.center.flush(k),this.radius.flush(k),this.rotation.flush(k)},w.pan=function(k,E,T,A){E=E||0,T=T||0,A=A||0,this.recalcMatrix(k);var L=this.computedMatrix,b=L[1],O=L[5],I=L[9],R=m(b,O,I);b/=R,O/=R,I/=R;var z=L[0],F=L[4],B=L[8],N=z*b+F*O+B*I,q=m(z-=b*N,F-=O*N,B-=I*N);z/=q,F/=q,B/=q,L[2],L[6],L[10];var j=z*E+b*T,Y=F*E+O*T,U=B*E+I*T;this.center.move(k,j,Y,U);var G=Math.exp(this.computedRadius[0]);G=Math.max(1e-4,G+A),this.radius.set(k,Math.log(G))},w.rotate=function(k,E,T,A){this.recalcMatrix(k),E=E||0,T=T||0;var L=this.computedMatrix,b=L[0],O=L[4],I=L[8],R=L[1],z=L[5],F=L[9],B=L[2],N=L[6],q=L[10],j=E*b+T*R,Y=E*O+T*z,U=E*I+T*F,G=-(N*U-q*Y),W=-(q*j-B*U),H=-(B*Y-N*j),ne=Math.sqrt(Math.max(0,1-Math.pow(G,2)-Math.pow(W,2)-Math.pow(H,2))),te=_(G,W,H,ne);te>1e-6?(G/=te,W/=te,H/=te,ne/=te):(G=W=H=0,ne=1);var Z=this.computedRotation,X=Z[0],Q=Z[1],re=Z[2],ie=Z[3],oe=X*ne+ie*G+Q*H-re*W,ue=Q*ne+ie*W+re*G-X*H,ce=re*ne+ie*H+X*W-Q*G,ye=ie*ne-X*G-Q*W-re*H;if(A){G=B,W=N,H=q;var de=Math.sin(A)/m(G,W,H);G*=de,W*=de,H*=de,ye=ye*(ne=Math.cos(E))-(oe=oe*ne+ye*G+ue*H-ce*W)*G-(ue=ue*ne+ye*W+ce*G-oe*H)*W-(ce=ce*ne+ye*H+oe*W-ue*G)*H}var me=_(oe,ue,ce,ye);me>1e-6?(oe/=me,ue/=me,ce/=me,ye/=me):(oe=ue=ce=0,ye=1),this.rotation.set(k,oe,ue,ce,ye)},w.lookAt=function(k,E,T,A){this.recalcMatrix(k),T=T||this.computedCenter,E=E||this.computedEye,A=A||this.computedUp;var L=this.computedMatrix;s(L,E,T,A);var b=this.computedRotation;f(b,L[0],L[1],L[2],L[4],L[5],L[6],L[8],L[9],L[10]),y(b,b),this.rotation.set(k,b[0],b[1],b[2],b[3]);for(var O=0,I=0;I<3;++I)O+=Math.pow(T[I]-E[I],2);this.radius.set(k,.5*Math.log(Math.max(O,1e-6))),this.center.set(k,T[0],T[1],T[2])},w.translate=function(k,E,T,A){this.center.move(k,E||0,T||0,A||0)},w.setMatrix=function(k,E){var T=this.computedRotation;f(T,E[0],E[1],E[2],E[4],E[5],E[6],E[8],E[9],E[10]),y(T,T),this.rotation.set(k,T[0],T[1],T[2],T[3]);var A=this.computedMatrix;h(A,E);var L=A[15];if(Math.abs(L)>1e-6){var b=A[12]/L,O=A[13]/L,I=A[14]/L;this.recalcMatrix(k);var R=Math.exp(this.computedRadius[0]);this.center.set(k,b-A[2]*R,O-A[6]*R,I-A[10]*R),this.radius.idle(k)}else this.center.idle(k),this.radius.idle(k)},w.setDistance=function(k,E){E>0&&this.radius.set(k,Math.log(E))},w.setDistanceLimits=function(k,E){k=k>0?Math.log(k):-1/0,E=E>0?Math.log(E):1/0,E=Math.max(E,k),this.radius.bounds[0][0]=k,this.radius.bounds[1][0]=E},w.getDistanceLimits=function(k){var E=this.radius.bounds;return k?(k[0]=Math.exp(E[0][0]),k[1]=Math.exp(E[1][0]),k):[Math.exp(E[0][0]),Math.exp(E[1][0])]},w.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]}},w.fromJSON=function(k){var E=this.lastT(),T=k.center;T&&this.center.set(E,T[0],T[1],T[2]);var A=k.rotation;A&&this.rotation.set(E,A[0],A[1],A[2],A[3]);var L=k.distance;L&&L>0&&this.radius.set(E,Math.log(L)),this.setDistanceLimits(k.zoomMin,k.zoomMax)}},4930:function(p,u,a){var c=a(6184);p.exports=function(s,l,h){return c(h=h!==void 0?h+"":" ",l)+s}},4405:function(p){p.exports=function(u,a){a||(a=[0,""]),u=String(u);var c=parseFloat(u,10);return a[0]=c,a[1]=u.match(/[\d.\-\+]*\s*(.*)/)[1]||"",a}},4166:function(p,u,a){p.exports=function(s,l){for(var h=0|l.length,f=s.length,m=[new Array(h),new Array(h)],_=0;_0){z=m[N][I][0],B=N;break}F=z[1^B];for(var q=0;q<2;++q)for(var j=m[q][I],Y=0;Y0&&(z=U,F=G,B=q)}return R||z&&w(z,B),F}function E(O,I){var R=m[I][O][0],z=[O];w(R,I);for(var F=R[1^I];;){for(;F!==O;)z.push(F),F=k(z[z.length-2],F,!1);if(m[0][O].length+m[1][O].length===0)break;var B=z[z.length-1],N=O,q=z[1],j=k(B,N,!0);if(c(l[B],l[N],l[q],l[j])<0)break;z.push(O),F=k(B,N)}return z}function T(O,I){return I[1]===I[I.length-1]}for(_=0;_0;){m[0][_].length;var b=E(_,A);T(0,b)?L.push.apply(L,b):(L.length>0&&C.push(L),L=b)}L.length>0&&C.push(L)}return C};var c=a(9398)},3959:function(p,u,a){p.exports=function(s,l){for(var h=c(s,l.length),f=new Array(l.length),m=new Array(l.length),_=[],y=0;y0;){var w=_.pop();f[w]=!1;var k=h[w];for(y=0;y0})).length,O=new Array(b),I=new Array(b);for(A=0;A0;){var ue=ie.pop(),ce=W[ue];m(ce,function(Pe,_e){return Pe-_e});var ye,de=ce.length,me=oe[ue];if(me===0){var pe=L[ue];ye=[pe]}for(A=0;A=0||(oe[xe]=1^me,ie.push(xe),me===0&&(re(pe=L[xe])||(pe.reverse(),ye.push(pe))))}me===0&&k.push(ye)}return k};var c=a(8348),s=a(4166),l=a(211),h=a(9660),f=a(9662),m=a(1215),_=a(3959);function y(C,w){for(var k=new Array(C),E=0;E0&&N[j]===q[0]))return 1;Y=B[j-1]}for(var U=1;Y;){var G=Y.key,W=c(q,G[0],G[1]);if(G[0][0]0))return 0;U=-1,Y=Y.right}else if(W>0)Y=Y.left;else{if(!(W<0))return 0;U=1,Y=Y.right}}return U}}(z.slabs,z.coordinates);return k.length===0?F:function(B,N){return function(q){return B(q[0],q[1])?0:N(q)}}(m(k),F)};var c=a(417)[3],s=a(4385),l=a(9014),h=a(5070);function f(){return!0}function m(y){for(var C={},w=0;w=y?(N=1,O=y+2*k+T):O=k*(N=-k/y)+T):(N=0,E>=0?(q=0,O=T):-E>=w?(q=1,O=w+2*E+T):O=E*(q=-E/w)+T);else if(q<0)q=0,k>=0?(N=0,O=T):-k>=y?(N=1,O=y+2*k+T):O=k*(N=-k/y)+T;else{var j=1/B;O=(N*=j)*(y*N+C*(q*=j)+2*k)+q*(C*N+w*q+2*E)+T}else N<0?(R=w+E)>(I=C+k)?(z=R-I)>=(F=y-2*C+w)?(N=1,q=0,O=y+2*k+T):O=(N=z/F)*(y*N+C*(q=1-N)+2*k)+q*(C*N+w*q+2*E)+T:(N=0,R<=0?(q=1,O=w+2*E+T):E>=0?(q=0,O=T):O=E*(q=-E/w)+T):q<0?(R=y+k)>(I=C+E)?(z=R-I)>=(F=y-2*C+w)?(q=1,N=0,O=w+2*E+T):O=(N=1-(q=z/F))*(y*N+C*q+2*k)+q*(C*N+w*q+2*E)+T:(q=0,R<=0?(N=1,O=y+2*k+T):k>=0?(N=0,O=T):O=k*(N=-k/y)+T):(z=w+E-C-k)<=0?(N=0,q=1,O=w+2*E+T):z>=(F=y-2*C+w)?(N=1,q=0,O=y+2*k+T):O=(N=z/F)*(y*N+C*(q=1-N)+2*k)+q*(C*N+w*q+2*E)+T;var Y=1-N-q;for(_=0;_0){var w=h[m-1];if(c(y,w)===0&&l(w)!==C){m-=1;continue}}h[m++]=y}}return h.length=m,h}},6184:function(p){var u,a="";p.exports=function(c,s){if(typeof c!="string")throw new TypeError("expected a string");if(s===1)return c;if(s===2)return c+c;var l=c.length*s;if(u!==c||u===void 0)u=c,a="";else if(a.length>=l)return a.substr(0,l);for(;l>a.length&&s>1;)1&s&&(a+=c),s>>=1,c+=c;return a=(a+=c).substr(0,l)}},8161:function(p,u,a){p.exports=a.g.performance&&a.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},402:function(p){p.exports=function(u){for(var a=u.length,c=u[u.length-1],s=a,l=a-2;l>=0;--l){var h=c,f=u[l];(_=f-((c=h+f)-h))&&(u[--s]=c,c=_)}var m=0;for(l=s;l0){if(R<=0)return z;O=I+R}else{if(!(I<0)||R>=0)return z;O=-(I+R)}var F=33306690738754716e-32*O;return z>=F||z<=-F?z:C(A,L,b)},function(A,L,b,O){var I=A[0]-O[0],R=L[0]-O[0],z=b[0]-O[0],F=A[1]-O[1],B=L[1]-O[1],N=b[1]-O[1],q=A[2]-O[2],j=L[2]-O[2],Y=b[2]-O[2],U=R*N,G=z*B,W=z*F,H=I*N,ne=I*B,te=R*F,Z=q*(U-G)+j*(W-H)+Y*(ne-te),X=7771561172376103e-31*((Math.abs(U)+Math.abs(G))*Math.abs(q)+(Math.abs(W)+Math.abs(H))*Math.abs(j)+(Math.abs(ne)+Math.abs(te))*Math.abs(Y));return Z>X||-Z>X?Z:w(A,L,b,O)}];function E(A){var L=k[A.length];return L||(L=k[A.length]=y(A.length)),L.apply(void 0,A)}function T(A,L,b,O,I,R,z){return function(F,B,N,q,j){switch(arguments.length){case 0:case 1:return 0;case 2:return O(F,B);case 3:return I(F,B,N);case 4:return R(F,B,N,q);case 5:return z(F,B,N,q,j)}for(var Y=new Array(arguments.length),U=0;U0&&_>0||m<0&&_<0)return!1;var y=c(h,s,l),C=c(f,s,l);return!(y>0&&C>0||y<0&&C<0)&&(m!==0||_!==0||y!==0||C!==0||function(w,k,E,T){for(var A=0;A<2;++A){var L=w[A],b=k[A],O=Math.min(L,b),I=Math.max(L,b),R=E[A],z=T[A],F=Math.min(R,z);if(Math.max(R,z)=s?(l=w,(_+=1)=s?(l=w,(_+=1)>1,w=s[2*C+1];if(w===m)return C;m>1,w=s[2*C+1];if(w===m)return C;m>1,w=s[2*C+1];if(w===m)return C;m0)-(s<0)},u.abs=function(s){var l=s>>31;return(s^l)-l},u.min=function(s,l){return l^(s^l)&-(s65535)<<4,l|=h=((s>>>=l)>255)<<3,l|=h=((s>>>=h)>15)<<2,(l|=h=((s>>>=h)>3)<<1)|(s>>>=h)>>1},u.log10=function(s){return s>=1e9?9:s>=1e8?8:s>=1e7?7:s>=1e6?6:s>=1e5?5:s>=1e4?4:s>=1e3?3:s>=100?2:s>=10?1:0},u.popCount=function(s){return 16843009*((s=(858993459&(s-=s>>>1&1431655765))+(s>>>2&858993459))+(s>>>4)&252645135)>>>24},u.countTrailingZeros=a,u.nextPow2=function(s){return s+=s===0,--s,s|=s>>>1,s|=s>>>2,s|=s>>>4,1+((s|=s>>>8)|s>>>16)},u.prevPow2=function(s){return s|=s>>>1,s|=s>>>2,s|=s>>>4,s|=s>>>8,(s|=s>>>16)-(s>>>1)},u.parity=function(s){return s^=s>>>16,s^=s>>>8,s^=s>>>4,27030>>>(s&=15)&1};var c=new Array(256);(function(s){for(var l=0;l<256;++l){var h=l,f=l,m=7;for(h>>>=1;h;h>>>=1)f<<=1,f|=1&h,--m;s[l]=f<>>8&255]<<16|c[s>>>16&255]<<8|c[s>>>24&255]},u.interleave2=function(s,l){return(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))|(l=1431655765&((l=858993459&((l=252645135&((l=16711935&((l&=65535)|l<<8))|l<<4))|l<<2))|l<<1))<<1},u.deinterleave2=function(s,l){return(s=65535&((s=16711935&((s=252645135&((s=858993459&((s=s>>>l&1431655765)|s>>>1))|s>>>2))|s>>>4))|s>>>16))<<16>>16},u.interleave3=function(s,l,h){return s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2),(s|=(l=1227133513&((l=3272356035&((l=251719695&((l=4278190335&((l&=1023)|l<<16))|l<<8))|l<<4))|l<<2))<<1)|(h=1227133513&((h=3272356035&((h=251719695&((h=4278190335&((h&=1023)|h<<16))|h<<8))|h<<4))|h<<2))<<2},u.deinterleave3=function(s,l){return(s=1023&((s=4278190335&((s=251719695&((s=3272356035&((s=s>>>l&1227133513)|s>>>2))|s>>>4))|s>>>8))|s>>>16))<<22>>22},u.nextCombination=function(s){var l=s|s-1;return l+1|(~l&-~l)-1>>>a(s)+1}},6656:function(p,u,a){var c=a(9392),s=a(9521);function l(w,k){var E=w.length,T=w.length-k.length,A=Math.min;if(T)return T;switch(E){case 0:return 0;case 1:return w[0]-k[0];case 2:return(O=w[0]+w[1]-k[0]-k[1])||A(w[0],w[1])-A(k[0],k[1]);case 3:var L=w[0]+w[1],b=k[0]+k[1];if(O=L+w[2]-(b+k[2]))return O;var O,I=A(w[0],w[1]),R=A(k[0],k[1]);return(O=A(I,w[2])-A(R,k[2]))||A(I+w[2],L)-A(R+k[2],b);default:var z=w.slice(0);z.sort();var F=k.slice(0);F.sort();for(var B=0;B>1,b=l(w[L],k);b<=0?(b===0&&(A=L),E=L+1):b>0&&(T=L-1)}return A}function y(w,k){for(var E=new Array(w.length),T=0,A=E.length;T=w.length||l(w[N],L)!==0););}return E}function C(w,k){if(k<0)return[];for(var E=[],T=(1<>>R&1&&I.push(A[R]);k.push(I)}return f(k)},u.skeleton=C,u.boundary=function(w){for(var k=[],E=0,T=w.length;E>1:(te>>1)-1}function z(te){for(var Z=I(te);;){var X=Z,Q=2*te+1,re=2*(te+1),ie=te;if(Q0;){var X=R(te);if(!(X>=0&&Z0){var te=j[0];return O(0,U-1),U-=1,z(0),te}return-1}function N(te,Z){var X=j[te];return w[X]===Z?te:(w[X]=-1/0,F(te),B(),w[X]=Z,F((U+=1)-1))}function q(te){if(!k[te]){k[te]=!0;var Z=y[te],X=C[te];y[X]>=0&&(y[X]=Z),C[Z]>=0&&(C[Z]=X),Y[Z]>=0&&N(Y[Z],b(Z)),Y[X]>=0&&N(Y[X],b(X))}}var j=[],Y=new Array(m);for(E=0;E>1;E>=0;--E)z(E);for(;;){var G=B();if(G<0||w[G]>f)break;q(G)}var W=[];for(E=0;E=0&&X>=0&&Z!==X){var Q=Y[Z],re=Y[X];Q!==re&&ne.push([Q,re])}}),s.unique(s.normalize(ne)),{positions:W,edges:ne}};var c=a(417),s=a(6656)},6638:function(p,u,a){p.exports=function(l,h){var f,m,_,y;if(h[0][0]h[1][0]))return s(h,l);f=h[1],m=h[0]}if(l[0][0]l[1][0]))return-s(l,h);_=l[1],y=l[0]}var C=c(f,m,y),w=c(f,m,_);if(C<0){if(w<=0)return C}else if(C>0){if(w>=0)return C}else if(w)return w;if(C=c(y,_,m),w=c(y,_,f),C<0){if(w<=0)return C}else if(C>0){if(w>=0)return C}else if(w)return w;return m[0]-y[0]};var c=a(417);function s(l,h){var f,m,_,y;if(h[0][0]h[1][0])){var C=Math.min(l[0][1],l[1][1]),w=Math.max(l[0][1],l[1][1]),k=Math.min(h[0][1],h[1][1]),E=Math.max(h[0][1],h[1][1]);return wE?C-E:w-E}f=h[1],m=h[0]}l[0][1]0)if(k[0]!==L[1][0])E=w,w=w.right;else{if(O=_(w.right,k))return O;w=w.left}else{if(k[0]!==L[1][0])return w;var O;if(O=_(w.right,k))return O;w=w.left}}return E}function y(w,k,E,T){this.y=w,this.index=k,this.start=E,this.closed=T}function C(w,k,E,T){this.x=w,this.segment=k,this.create=E,this.index=T}f.prototype.castUp=function(w){var k=c.le(this.coordinates,w[0]);if(k<0)return-1;this.slabs[k];var E=_(this.slabs[k],w),T=-1;if(E&&(T=E.value),this.coordinates[k]===w[0]){var A=null;if(E&&(A=E.key),k>0){var L=_(this.slabs[k-1],w);L&&(A?h(L.key,A)>0&&(A=L.key,T=L.value):(T=L.value,A=L.key))}var b=this.horizontal[k];if(b.length>0){var O=c.ge(b,w[1],m);if(O=b.length)return T;I=b[O]}}if(I.start)if(A){var R=l(A[0],A[1],[w[0],I.y]);A[0][0]>A[1][0]&&(R=-R),R>0&&(T=I.index)}else T=I.index;else I.y!==w[1]&&(T=I.index)}}}return T}},4670:function(p,u,a){var c=a(9130),s=a(9662);function l(f,m){var _=s(c(f,m),[m[m.length-1]]);return _[_.length-1]}function h(f,m,_,y){var C=-m/(y-m);C<0?C=0:C>1&&(C=1);for(var w=1-C,k=f.length,E=new Array(k),T=0;T0||C>0&&T<0){var A=h(w,T,k,C);_.push(A),y.push(A.slice())}T<0?y.push(k.slice()):T>0?_.push(k.slice()):(_.push(k.slice()),y.push(k.slice())),C=T}return{positive:_,negative:y}},p.exports.positive=function(f,m){for(var _=[],y=l(f[f.length-1],m),C=f[f.length-1],w=f[0],k=0;k0||y>0&&E<0)&&_.push(h(C,E,w,y)),E>=0&&_.push(w.slice()),y=E}return _},p.exports.negative=function(f,m){for(var _=[],y=l(f[f.length-1],m),C=f[f.length-1],w=f[0],k=0;k0||y>0&&E<0)&&_.push(h(C,E,w,y)),E<=0&&_.push(w.slice()),y=E}return _}},8974:function(p,u,a){var c;(function(){var s={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 l(y){return f(_(y),arguments)}function h(y,C){return l.apply(null,[y].concat(C||[]))}function f(y,C){var w,k,E,T,A,L,b,O,I,R=1,z=y.length,F="";for(k=0;k=0),T.type){case"b":w=parseInt(w,10).toString(2);break;case"c":w=String.fromCharCode(parseInt(w,10));break;case"d":case"i":w=parseInt(w,10);break;case"j":w=JSON.stringify(w,null,T.width?parseInt(T.width):0);break;case"e":w=T.precision?parseFloat(w).toExponential(T.precision):parseFloat(w).toExponential();break;case"f":w=T.precision?parseFloat(w).toFixed(T.precision):parseFloat(w);break;case"g":w=T.precision?String(Number(w.toPrecision(T.precision))):parseFloat(w);break;case"o":w=(parseInt(w,10)>>>0).toString(8);break;case"s":w=String(w),w=T.precision?w.substring(0,T.precision):w;break;case"t":w=String(!!w),w=T.precision?w.substring(0,T.precision):w;break;case"T":w=Object.prototype.toString.call(w).slice(8,-1).toLowerCase(),w=T.precision?w.substring(0,T.precision):w;break;case"u":w=parseInt(w,10)>>>0;break;case"v":w=w.valueOf(),w=T.precision?w.substring(0,T.precision):w;break;case"x":w=(parseInt(w,10)>>>0).toString(16);break;case"X":w=(parseInt(w,10)>>>0).toString(16).toUpperCase()}s.json.test(T.type)?F+=w:(!s.number.test(T.type)||O&&!T.sign?I="":(I=O?"+":"-",w=w.toString().replace(s.sign,"")),L=T.pad_char?T.pad_char==="0"?"0":T.pad_char.charAt(1):" ",b=T.width-(I+w).length,A=T.width&&b>0?L.repeat(b):"",F+=T.align?I+w+A:L==="0"?I+A+w:A+I+w)}return F}var m=Object.create(null);function _(y){if(m[y])return m[y];for(var C,w=y,k=[],E=0;w;){if((C=s.text.exec(w))!==null)k.push(C[0]);else if((C=s.modulo.exec(w))!==null)k.push("%");else{if((C=s.placeholder.exec(w))===null)throw new SyntaxError("[sprintf] unexpected placeholder");if(C[2]){E|=1;var T=[],A=C[2],L=[];if((L=s.key.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");for(T.push(L[1]);(A=A.substring(L[0].length))!=="";)if((L=s.key_access.exec(A))!==null)T.push(L[1]);else{if((L=s.index_access.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");T.push(L[1])}C[2]=T}else E|=2;if(E===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");k.push({placeholder:C[0],param_no:C[1],keys:C[2],sign:C[3],pad_char:C[4],align:C[5],width:C[6],precision:C[7],type:C[8]})}w=w.substring(C[0].length)}return m[y]=k}u.sprintf=l,u.vsprintf=h,typeof window<"u"&&(window.sprintf=l,window.vsprintf=h,(c=function(){return{sprintf:l,vsprintf:h}}.call(u,a,u,p))===void 0||(p.exports=c))})()},4162:function(p,u,a){p.exports=function(f,m){if(f.dimension<=0)return{positions:[],cells:[]};if(f.dimension===1)return function(C,w){for(var k=s(C,w),E=k.length,T=new Array(E),A=new Array(E),L=0;LE|0},vertex:function(C,w,k,E,T,A,L,b,O,I,R,z,F){var B=(L<<0)+(b<<1)+(O<<2)+(I<<3)|0;if(B!==0&&B!==15)switch(B){case 0:case 15:R.push([C-.5,w-.5]);break;case 1:R.push([C-.25-.25*(E+k-2*F)/(k-E),w-.25-.25*(T+k-2*F)/(k-T)]);break;case 2:R.push([C-.75-.25*(-E-k+2*F)/(E-k),w-.25-.25*(A+E-2*F)/(E-A)]);break;case 3:R.push([C-.5,w-.5-.5*(T+k+A+E-4*F)/(k-T+E-A)]);break;case 4:R.push([C-.25-.25*(A+T-2*F)/(T-A),w-.75-.25*(-T-k+2*F)/(T-k)]);break;case 5:R.push([C-.5-.5*(E+k+A+T-4*F)/(k-E+T-A),w-.5]);break;case 6:R.push([C-.5-.25*(-E-k+A+T)/(E-k+T-A),w-.5-.25*(-T-k+A+E)/(T-k+E-A)]);break;case 7:R.push([C-.75-.25*(A+T-2*F)/(T-A),w-.75-.25*(A+E-2*F)/(E-A)]);break;case 8:R.push([C-.75-.25*(-A-T+2*F)/(A-T),w-.75-.25*(-A-E+2*F)/(A-E)]);break;case 9:R.push([C-.5-.25*(E+k+-A-T)/(k-E+A-T),w-.5-.25*(T+k+-A-E)/(k-T+A-E)]);break;case 10:R.push([C-.5-.5*(-E-k-A-T+4*F)/(E-k+A-T),w-.5]);break;case 11:R.push([C-.25-.25*(-A-T+2*F)/(A-T),w-.75-.25*(T+k-2*F)/(k-T)]);break;case 12:R.push([C-.5,w-.5-.5*(-T-k-A-E+4*F)/(T-k+A-E)]);break;case 13:R.push([C-.75-.25*(E+k-2*F)/(k-E),w-.25-.25*(-A-E+2*F)/(A-E)]);break;case 14:R.push([C-.25-.25*(-E-k+2*F)/(E-k),w-.25-.25*(-T-k+2*F)/(T-k)])}},cell:function(C,w,k,E,T,A,L,b,O){T?b.push([C,w]):b.push([w,C])}});return function(C,w){var k=[],E=[];return y(C,k,E,w),{positions:k,cells:E}}}},h={}},6946:function(p,u,a){p.exports=function h(f,m,_){_=_||{};var y=l[f];y||(y=l[f]={" ":{data:new Float32Array(0),shape:.2}});var C=y[m];if(!C)if(m.length<=1||!/\d/.test(m))C=y[m]=function(z){for(var F=z.cells,B=z.positions,N=new Float32Array(6*F.length),q=0,j=0,Y=0;Y0&&(T+=.02);var L=new Float32Array(E),b=0,O=-.5*T;for(A=0;AMath.max(L,b)?O[2]=1:L>Math.max(A,b)?O[0]=1:O[1]=1;for(var I=0,R=0,z=0;z<3;++z)I+=T[z]*T[z],R+=O[z]*T[z];for(z=0;z<3;++z)O[z]-=R/I*T[z];return f(O,O),O}function w(T,A,L,b,O,I,R,z){this.center=c(L),this.up=c(b),this.right=c(O),this.radius=c([I]),this.angle=c([R,z]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(T,A),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 F=0;F<16;++F)this.computedMatrix[F]=.5;this.recalcMatrix(0)}var k=w.prototype;k.setDistanceLimits=function(T,A){T=T>0?Math.log(T):-1/0,A=A>0?Math.log(A):1/0,A=Math.max(A,T),this.radius.bounds[0][0]=T,this.radius.bounds[1][0]=A},k.getDistanceLimits=function(T){var A=this.radius.bounds[0];return T?(T[0]=Math.exp(A[0][0]),T[1]=Math.exp(A[1][0]),T):[Math.exp(A[0][0]),Math.exp(A[1][0])]},k.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 A=this.computedUp,L=this.computedRight,b=0,O=0,I=0;I<3;++I)O+=A[I]*L[I],b+=A[I]*A[I];var R=Math.sqrt(b),z=0;for(I=0;I<3;++I)L[I]-=A[I]*O/b,z+=L[I]*L[I],A[I]/=R;var F=Math.sqrt(z);for(I=0;I<3;++I)L[I]/=F;var B=this.computedToward;h(B,A,L),f(B,B);var N=Math.exp(this.computedRadius[0]),q=this.computedAngle[0],j=this.computedAngle[1],Y=Math.cos(q),U=Math.sin(q),G=Math.cos(j),W=Math.sin(j),H=this.computedCenter,ne=Y*G,te=U*G,Z=W,X=-Y*W,Q=-U*W,re=G,ie=this.computedEye,oe=this.computedMatrix;for(I=0;I<3;++I){var ue=ne*L[I]+te*B[I]+Z*A[I];oe[4*I+1]=X*L[I]+Q*B[I]+re*A[I],oe[4*I+2]=ue,oe[4*I+3]=0}var ce=oe[1],ye=oe[5],de=oe[9],me=oe[2],pe=oe[6],xe=oe[10],Pe=ye*xe-de*pe,_e=de*me-ce*xe,Me=ce*pe-ye*me,Se=_(Pe,_e,Me);for(Pe/=Se,_e/=Se,Me/=Se,oe[0]=Pe,oe[4]=_e,oe[8]=Me,I=0;I<3;++I)ie[I]=H[I]+oe[2+4*I]*N;for(I=0;I<3;++I){z=0;for(var Ce=0;Ce<3;++Ce)z+=oe[I+4*Ce]*ie[Ce];oe[12+I]=-z}oe[15]=1},k.getMatrix=function(T,A){this.recalcMatrix(T);var L=this.computedMatrix;if(A){for(var b=0;b<16;++b)A[b]=L[b];return A}return L};var E=[0,0,0];k.rotate=function(T,A,L,b){if(this.angle.move(T,A,L),b){this.recalcMatrix(T);var O=this.computedMatrix;E[0]=O[2],E[1]=O[6],E[2]=O[10];for(var I=this.computedUp,R=this.computedRight,z=this.computedToward,F=0;F<3;++F)O[4*F]=I[F],O[4*F+1]=R[F],O[4*F+2]=z[F];for(l(O,O,b,E),F=0;F<3;++F)I[F]=O[4*F],R[F]=O[4*F+1];this.up.set(T,I[0],I[1],I[2]),this.right.set(T,R[0],R[1],R[2])}},k.pan=function(T,A,L,b){A=A||0,L=L||0,b=b||0,this.recalcMatrix(T);var O=this.computedMatrix,I=(Math.exp(this.computedRadius[0]),O[1]),R=O[5],z=O[9],F=_(I,R,z);I/=F,R/=F,z/=F;var B=O[0],N=O[4],q=O[8],j=B*I+N*R+q*z,Y=_(B-=I*j,N-=R*j,q-=z*j),U=(B/=Y)*A+I*L,G=(N/=Y)*A+R*L,W=(q/=Y)*A+z*L;this.center.move(T,U,G,W);var H=Math.exp(this.computedRadius[0]);H=Math.max(1e-4,H+b),this.radius.set(T,Math.log(H))},k.translate=function(T,A,L,b){this.center.move(T,A||0,L||0,b||0)},k.setMatrix=function(T,A,L,b){var O=1;typeof L=="number"&&(O=0|L),(O<0||O>3)&&(O=1);var I=(O+2)%3;A||(this.recalcMatrix(T),A=this.computedMatrix);var R=A[O],z=A[O+4],F=A[O+8];if(b){var B=Math.abs(R),N=Math.abs(z),q=Math.abs(F),j=Math.max(B,N,q);B===j?(R=R<0?-1:1,z=F=0):q===j?(F=F<0?-1:1,R=z=0):(z=z<0?-1:1,R=F=0)}else{var Y=_(R,z,F);R/=Y,z/=Y,F/=Y}var U,G,W=A[I],H=A[I+4],ne=A[I+8],te=W*R+H*z+ne*F,Z=_(W-=R*te,H-=z*te,ne-=F*te),X=z*(ne/=Z)-F*(H/=Z),Q=F*(W/=Z)-R*ne,re=R*H-z*W,ie=_(X,Q,re);if(X/=ie,Q/=ie,re/=ie,this.center.jump(T,ke,Le,Be),this.radius.idle(T),this.up.jump(T,R,z,F),this.right.jump(T,W,H,ne),O===2){var oe=A[1],ue=A[5],ce=A[9],ye=oe*W+ue*H+ce*ne,de=oe*X+ue*Q+ce*re;U=Pe<0?-Math.PI/2:Math.PI/2,G=Math.atan2(de,ye)}else{var me=A[2],pe=A[6],xe=A[10],Pe=me*R+pe*z+xe*F,_e=me*W+pe*H+xe*ne,Me=me*X+pe*Q+xe*re;U=Math.asin(y(Pe)),G=Math.atan2(Me,_e)}this.angle.jump(T,G,U),this.recalcMatrix(T);var Se=A[2],Ce=A[6],ae=A[10],he=this.computedMatrix;s(he,A);var be=he[15],ke=he[12]/be,Le=he[13]/be,Be=he[14]/be,ze=Math.exp(this.computedRadius[0]);this.center.jump(T,ke-Se*ze,Le-Ce*ze,Be-ae*ze)},k.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},k.idle=function(T){this.center.idle(T),this.up.idle(T),this.right.idle(T),this.radius.idle(T),this.angle.idle(T)},k.flush=function(T){this.center.flush(T),this.up.flush(T),this.right.flush(T),this.radius.flush(T),this.angle.flush(T)},k.setDistance=function(T,A){A>0&&this.radius.set(T,Math.log(A))},k.lookAt=function(T,A,L,b){this.recalcMatrix(T),A=A||this.computedEye,L=L||this.computedCenter;var O=(b=b||this.computedUp)[0],I=b[1],R=b[2],z=_(O,I,R);if(!(z<1e-6)){O/=z,I/=z,R/=z;var F=A[0]-L[0],B=A[1]-L[1],N=A[2]-L[2],q=_(F,B,N);if(!(q<1e-6)){F/=q,B/=q,N/=q;var j=this.computedRight,Y=j[0],U=j[1],G=j[2],W=O*Y+I*U+R*G,H=_(Y-=W*O,U-=W*I,G-=W*R);if(!(H<.01&&(H=_(Y=I*N-R*B,U=R*F-O*N,G=O*B-I*F))<1e-6)){Y/=H,U/=H,G/=H,this.up.set(T,O,I,R),this.right.set(T,Y,U,G),this.center.set(T,L[0],L[1],L[2]),this.radius.set(T,Math.log(q));var ne=I*G-R*U,te=R*Y-O*G,Z=O*U-I*Y,X=_(ne,te,Z),Q=O*F+I*B+R*N,re=Y*F+U*B+G*N,ie=(ne/=X)*F+(te/=X)*B+(Z/=X)*N,oe=Math.asin(y(Q)),ue=Math.atan2(ie,re),ce=this.angle._state,ye=ce[ce.length-1],de=ce[ce.length-2];ye%=2*Math.PI;var me=Math.abs(ye+2*Math.PI-ue),pe=Math.abs(ye-ue),xe=Math.abs(ye-2*Math.PI-ue);me0?U.pop():new ArrayBuffer(j)}function E(j){return new Uint8Array(k(j),0,j)}function T(j){return new Uint16Array(k(2*j),0,j)}function A(j){return new Uint32Array(k(4*j),0,j)}function L(j){return new Int8Array(k(j),0,j)}function b(j){return new Int16Array(k(2*j),0,j)}function O(j){return new Int32Array(k(4*j),0,j)}function I(j){return new Float32Array(k(4*j),0,j)}function R(j){return new Float64Array(k(8*j),0,j)}function z(j){return h?new Uint8ClampedArray(k(j),0,j):E(j)}function F(j){return f?new BigUint64Array(k(8*j),0,j):null}function B(j){return m?new BigInt64Array(k(8*j),0,j):null}function N(j){return new DataView(k(j),0,j)}function q(j){j=c.nextPow2(j);var Y=c.log2(j),U=C[Y];return U.length>0?U.pop():new l(j)}u.free=function(j){if(l.isBuffer(j))C[c.log2(j.length)].push(j);else{if(Object.prototype.toString.call(j)!=="[object ArrayBuffer]"&&(j=j.buffer),!j)return;var Y=j.length||j.byteLength,U=0|c.log2(Y);y[U].push(j)}},u.freeUint8=u.freeUint16=u.freeUint32=u.freeBigUint64=u.freeInt8=u.freeInt16=u.freeInt32=u.freeBigInt64=u.freeFloat32=u.freeFloat=u.freeFloat64=u.freeDouble=u.freeUint8Clamped=u.freeDataView=function(j){w(j.buffer)},u.freeArrayBuffer=w,u.freeBuffer=function(j){C[c.log2(j.length)].push(j)},u.malloc=function(j,Y){if(Y===void 0||Y==="arraybuffer")return k(j);switch(Y){case"uint8":return E(j);case"uint16":return T(j);case"uint32":return A(j);case"int8":return L(j);case"int16":return b(j);case"int32":return O(j);case"float":case"float32":return I(j);case"double":case"float64":return R(j);case"uint8_clamped":return z(j);case"bigint64":return B(j);case"biguint64":return F(j);case"buffer":return q(j);case"data":case"dataview":return N(j);default:return null}return null},u.mallocArrayBuffer=k,u.mallocUint8=E,u.mallocUint16=T,u.mallocUint32=A,u.mallocInt8=L,u.mallocInt16=b,u.mallocInt32=O,u.mallocFloat32=u.mallocFloat=I,u.mallocFloat64=u.mallocDouble=R,u.mallocUint8Clamped=z,u.mallocBigUint64=F,u.mallocBigInt64=B,u.mallocDataView=N,u.mallocBuffer=q,u.clearCache=function(){for(var j=0;j<32;++j)_.UINT8[j].length=0,_.UINT16[j].length=0,_.UINT32[j].length=0,_.INT8[j].length=0,_.INT16[j].length=0,_.INT32[j].length=0,_.FLOAT[j].length=0,_.DOUBLE[j].length=0,_.BIGUINT64[j].length=0,_.BIGINT64[j].length=0,_.UINT8C[j].length=0,y[j].length=0,C[j].length=0}},1731:function(p){function u(c){this.roots=new Array(c),this.ranks=new Array(c);for(var s=0;s0&&(O=b.size),b.lineSpacing&&b.lineSpacing>0&&(I=b.lineSpacing),b.styletags&&b.styletags.breaklines&&(R.breaklines=!!b.styletags.breaklines),b.styletags&&b.styletags.bolds&&(R.bolds=!!b.styletags.bolds),b.styletags&&b.styletags.italics&&(R.italics=!!b.styletags.italics),b.styletags&&b.styletags.subscripts&&(R.subscripts=!!b.styletags.subscripts),b.styletags&&b.styletags.superscripts&&(R.superscripts=!!b.styletags.superscripts)),L.font=[b.fontStyle,b.fontVariant,b.fontWeight,O+"px",b.font].filter(function(z){return z}).join(" "),L.textAlign="start",L.textBaseline="alphabetic",L.direction="ltr",E(function(z,F,B,N,q,j){B=B.replace(/\n/g,""),B=j.breaklines===!0?B.replace(/\/g,` +`||k==="\\"?(b.push(w),k=w,T+1):(G(b.join("")),L=m,T)}function te(){return w==="/"&&k==="*"?(b.push(w),G(b.join("")),L=m,T+1):(b.push(w),k=w,T+1)}function Z(){if(k==="."&&/\d/.test(w))return L=5,T;if(k==="/"&&w==="*")return L=0,T;if(k==="/"&&w==="/")return L=1,T;if(w==="."&&b.length){for(;X(b););return L=5,T}if(w===";"||w===")"||w==="("){if(b.length)for(;X(b););return G(w),L=m,T+1}var ue=b.length===2&&w!=="=";if(/[\w_\d\s]/.test(w)||ue){for(;X(b););return L=m,T}return b.push(w),k=w,T+1}function X(ue){for(var ce,ye,de=0;;){if(ce=s.indexOf(ue.slice(0,ue.length+de).join("")),ye=s[ce],ce===-1){if(de--+ue.length>0)continue;ye=ue.slice(0,1).join("")}return G(ye),z+=ye.length,(b=b.slice(ye.length)).length}}function Q(){return/[^a-fA-F0-9]/.test(w)?(G(b.join("")),L=m,T):(b.push(w),k=w,T+1)}function re(){return w==="."||/[eE]/.test(w)?(b.push(w),L=5,k=w,T+1):w==="x"&&b.length===1&&b[0]==="0"?(L=11,b.push(w),k=w,T+1):/[^\d]/.test(w)?(G(b.join("")),L=m,T):(b.push(w),k=w,T+1)}function ie(){return w==="f"&&(b.push(w),k=w,T+=1),/[eE]/.test(w)?(b.push(w),k=w,T+1):(w!=="-"&&w!=="+"||!/[eE]/.test(k))&&/[^\d]/.test(w)?(G(b.join("")),L=m,T):(b.push(w),k=w,T+1)}function oe(){if(/[^\d\w_]/.test(w)){var ue=b.join("");return L=U[ue]?8:Y[ue]?7:6,G(b.join("")),L=m,T}return b.push(w),k=w,T+1}};var c=a(399),s=a(9746),l=a(9525),h=a(9458),f=a(3585),m=999,_=9999,y=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"]},3585:function(p,u,a){var c=a(9525);c=c.slice().filter(function(s){return!/^(gl\_|texture)/.test(s)}),p.exports=c.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(p){p.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(p,u,a){var c=a(399);p.exports=c.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(p){p.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(p){p.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},8096:function(p,u,a){var c=a(3193);p.exports=function(s,l){var h=c(l),f=[];return(f=f.concat(h(s))).concat(h(null))}},6832:function(p){p.exports=function(u){typeof u=="string"&&(u=[u]);for(var a=[].slice.call(arguments,1),c=[],s=0;s0;)for(var b=(C=L.pop()).adjacent,O=0;O<=k;++O){var I=b[O];if(I.boundary&&!(I.lastVisited<=-E)){for(var R=I.vertices,z=0;z<=k;++z){var F=R[z];T[z]=F<0?w:A[F]}var B=this.orient();if(B>0)return I;I.lastVisited=-E,B===0&&L.push(I)}}return null},y.walk=function(C,w){var k=this.vertices.length-1,E=this.dimension,T=this.vertices,A=this.tuple,L=w?this.interior.length*Math.random()|0:this.interior.length-1,b=this.interior[L];e:for(;!b.boundary;){for(var O=b.vertices,I=b.adjacent,R=0;R<=E;++R)A[R]=T[O[R]];for(b.lastVisited=k,R=0;R<=E;++R){var z=I[R];if(!(z.lastVisited>=k)){var F=A[R];A[R]=C;var B=this.orient();if(A[R]=F,B<0){b=z;continue e}z.boundary?z.lastVisited=-k:z.lastVisited=k}}return}return b},y.addPeaks=function(C,w){var k=this.vertices.length-1,E=this.dimension,T=this.vertices,A=this.tuple,L=this.interior,b=this.simplices,O=[w];w.lastVisited=k,w.vertices[w.vertices.indexOf(-1)]=k,w.boundary=!1,L.push(w);for(var I=[];O.length>0;){var R=(w=O.pop()).vertices,z=w.adjacent,F=R.indexOf(k);if(!(F<0)){for(var B=0;B<=E;++B)if(B!==F){var N=z[B];if(N.boundary&&!(N.lastVisited>=k)){var q=N.vertices;if(N.lastVisited!==-k){for(var j=0,Y=0;Y<=E;++Y)q[Y]<0?(j=Y,A[Y]=C):A[Y]=T[q[Y]];if(this.orient()>0){q[j]=k,N.boundary=!1,L.push(N),O.push(N),N.lastVisited=k;continue}N.lastVisited=-k}var U=N.adjacent,G=R.slice(),W=z.slice(),H=new l(G,W,!0);b.push(H);var ne=U.indexOf(w);if(!(ne<0))for(U[ne]=H,W[F]=N,G[B]=-1,W[B]=w,z[B]=H,H.flip(),Y=0;Y<=E;++Y){var te=G[Y];if(!(te<0||te===k)){for(var Z=new Array(E-1),X=0,Q=0;Q<=E;++Q){var re=G[Q];re<0||Q===Y||(Z[X++]=re)}I.push(new h(Z,H,Y))}}}}}}for(I.sort(f),B=0;B+1=0?L[O++]=b[R]:I=1&R;if(I===(1&C)){var z=L[0];L[0]=L[1],L[1]=z}w.push(L)}}return w}},9014:function(p,u,a){var c=a(5070);function s(O,I,R,z,F){this.mid=O,this.left=I,this.right=R,this.leftPoints=z,this.rightPoints=F,this.count=(I?I.count:0)+(R?R.count:0)+z.length}p.exports=function(O){return O&&O.length!==0?new L(A(O)):new L(null)};var l=s.prototype;function h(O,I){O.mid=I.mid,O.left=I.left,O.right=I.right,O.leftPoints=I.leftPoints,O.rightPoints=I.rightPoints,O.count=I.count}function f(O,I){var R=A(I);O.mid=R.mid,O.left=R.left,O.right=R.right,O.leftPoints=R.leftPoints,O.rightPoints=R.rightPoints,O.count=R.count}function m(O,I){var R=O.intervals([]);R.push(I),f(O,R)}function _(O,I){var R=O.intervals([]),z=R.indexOf(I);return z<0?0:(R.splice(z,1),f(O,R),1)}function y(O,I,R){for(var z=0;z=0&&O[z][1]>=I;--z){var F=R(O[z]);if(F)return F}}function w(O,I){for(var R=0;R>1],F=[],B=[],N=[];for(R=0;R3*(I+1)?m(this,O):this.left.insert(O):this.left=A([O]);else if(O[0]>this.mid)this.right?4*(this.right.count+1)>3*(I+1)?m(this,O):this.right.insert(O):this.right=A([O]);else{var R=c.ge(this.leftPoints,O,E),z=c.ge(this.rightPoints,O,T);this.leftPoints.splice(R,0,O),this.rightPoints.splice(z,0,O)}},l.remove=function(O){var I=this.count-this.leftPoints;if(O[1]3*(I-1)?_(this,O):(B=this.left.remove(O))===2?(this.left=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(O[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(I-1)?_(this,O):(B=this.right.remove(O))===2?(this.right=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(this.count===1)return this.leftPoints[0]===O?2:0;if(this.leftPoints.length===1&&this.leftPoints[0]===O){if(this.left&&this.right){for(var R=this,z=this.left;z.right;)R=z,z=z.right;if(R===this)z.right=this.right;else{var F=this.left,B=this.right;R.count-=z.count,R.right=z.left,z.left=F,z.right=B}h(this,z),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?h(this,this.left):h(this,this.right);return 1}for(F=c.ge(this.leftPoints,O,E);Fthis.mid?this.right&&(R=this.right.queryPoint(O,I))?R:C(this.rightPoints,O,I):w(this.leftPoints,I);var R},l.queryInterval=function(O,I,R){var z;return Othis.mid&&this.right&&(z=this.right.queryInterval(O,I,R))?z:Ithis.mid?C(this.rightPoints,O,R):w(this.leftPoints,R)};var b=L.prototype;b.insert=function(O){this.root?this.root.insert(O):this.root=new s(O[0],null,null,[O],[O])},b.remove=function(O){if(this.root){var I=this.root.remove(O);return I===2&&(this.root=null),I!==0}return!1},b.queryPoint=function(O,I){if(this.root)return this.root.queryPoint(O,I)},b.queryInterval=function(O,I,R){if(O<=I&&this.root)return this.root.queryInterval(O,I,R)},Object.defineProperty(b,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(b,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}})},9560:function(p){p.exports=function(u){for(var a=new Array(u),c=0;c13)&&a!==32&&a!==133&&a!==160&&a!==5760&&a!==6158&&(a<8192||a>8205)&&a!==8232&&a!==8233&&a!==8239&&a!==8287&&a!==8288&&a!==12288&&a!==65279)return!1;return!0}},3578:function(p){p.exports=function(u,a,c){return u*(1-c)+a*c}},7191:function(p,u,a){var c=a(4690),s=a(9823),l=a(7332),h=a(7787),f=a(7437),m=a(2142),_={length:a(4693),normalize:a(899),dot:a(9305),cross:a(903)},y=s(),C=s(),w=[0,0,0,0],k=[[0,0,0],[0,0,0],[0,0,0]],E=[0,0,0];function T(A,L,b,O,I){A[0]=L[0]*O+b[0]*I,A[1]=L[1]*O+b[1]*I,A[2]=L[2]*O+b[2]*I}p.exports=function(A,L,b,O,I,R){if(L||(L=[0,0,0]),b||(b=[0,0,0]),O||(O=[0,0,0]),I||(I=[0,0,0,1]),R||(R=[0,0,0,1]),!c(y,A)||(l(C,y),C[3]=0,C[7]=0,C[11]=0,C[15]=1,Math.abs(h(C)<1e-8)))return!1;var z,F,B,N,q,j,Y,U=y[3],G=y[7],W=y[11],H=y[12],ne=y[13],te=y[14],Z=y[15];if(U!==0||G!==0||W!==0){if(w[0]=U,w[1]=G,w[2]=W,w[3]=Z,!f(C,C))return!1;m(C,C),z=I,B=C,N=(F=w)[0],q=F[1],j=F[2],Y=F[3],z[0]=B[0]*N+B[4]*q+B[8]*j+B[12]*Y,z[1]=B[1]*N+B[5]*q+B[9]*j+B[13]*Y,z[2]=B[2]*N+B[6]*q+B[10]*j+B[14]*Y,z[3]=B[3]*N+B[7]*q+B[11]*j+B[15]*Y}else I[0]=I[1]=I[2]=0,I[3]=1;if(L[0]=H,L[1]=ne,L[2]=te,function(Q,re){Q[0][0]=re[0],Q[0][1]=re[1],Q[0][2]=re[2],Q[1][0]=re[4],Q[1][1]=re[5],Q[1][2]=re[6],Q[2][0]=re[8],Q[2][1]=re[9],Q[2][2]=re[10]}(k,y),b[0]=_.length(k[0]),_.normalize(k[0],k[0]),O[0]=_.dot(k[0],k[1]),T(k[1],k[1],k[0],1,-O[0]),b[1]=_.length(k[1]),_.normalize(k[1],k[1]),O[0]/=b[1],O[1]=_.dot(k[0],k[2]),T(k[2],k[2],k[0],1,-O[1]),O[2]=_.dot(k[1],k[2]),T(k[2],k[2],k[1],1,-O[2]),b[2]=_.length(k[2]),_.normalize(k[2],k[2]),O[1]/=b[2],O[2]/=b[2],_.cross(E,k[1],k[2]),_.dot(k[0],E)<0)for(var X=0;X<3;X++)b[X]*=-1,k[X][0]*=-1,k[X][1]*=-1,k[X][2]*=-1;return R[0]=.5*Math.sqrt(Math.max(1+k[0][0]-k[1][1]-k[2][2],0)),R[1]=.5*Math.sqrt(Math.max(1-k[0][0]+k[1][1]-k[2][2],0)),R[2]=.5*Math.sqrt(Math.max(1-k[0][0]-k[1][1]+k[2][2],0)),R[3]=.5*Math.sqrt(Math.max(1+k[0][0]+k[1][1]+k[2][2],0)),k[2][1]>k[1][2]&&(R[0]=-R[0]),k[0][2]>k[2][0]&&(R[1]=-R[1]),k[1][0]>k[0][1]&&(R[2]=-R[2]),!0}},4690:function(p){p.exports=function(u,a){var c=a[15];if(c===0)return!1;for(var s=1/c,l=0;l<16;l++)u[l]=a[l]*s;return!0}},7649:function(p,u,a){var c=a(1868),s=a(1102),l=a(7191),h=a(7787),f=a(1116),m=C(),_=C(),y=C();function C(){return{translate:w(),scale:w(1),skew:w(),perspective:[0,0,0,1],quaternion:[0,0,0,1]}}function w(k){return[k||0,k||0,k||0]}p.exports=function(k,E,T,A){if(h(E)===0||h(T)===0)return!1;var L=l(E,m.translate,m.scale,m.skew,m.perspective,m.quaternion),b=l(T,_.translate,_.scale,_.skew,_.perspective,_.quaternion);return!(!L||!b||(c(y.translate,m.translate,_.translate,A),c(y.skew,m.skew,_.skew,A),c(y.scale,m.scale,_.scale,A),c(y.perspective,m.perspective,_.perspective,A),f(y.quaternion,m.quaternion,_.quaternion,A),s(k,y.translate,y.scale,y.skew,y.perspective,y.quaternion),0))}},1102:function(p,u,a){var c={identity:a(9947),translate:a(998),multiply:a(104),create:a(9823),scale:a(3668),fromRotationTranslation:a(7280)},s=(c.create(),c.create());p.exports=function(l,h,f,m,_,y){return c.identity(l),c.fromRotationTranslation(l,y,h),l[3]=_[0],l[7]=_[1],l[11]=_[2],l[15]=_[3],c.identity(s),m[2]!==0&&(s[9]=m[2],c.multiply(l,l,s)),m[1]!==0&&(s[9]=0,s[8]=m[1],c.multiply(l,l,s)),m[0]!==0&&(s[8]=0,s[4]=m[0],c.multiply(l,l,s)),c.scale(l,l,f),l}},9298:function(p,u,a){var c=a(5070),s=a(7649),l=a(7437),h=a(6109),f=a(7115),m=a(5240),_=a(3012),y=a(998),C=(a(3668),a(899)),w=[0,0,0];function k(A){this._components=A.slice(),this._time=[0],this.prevMatrix=A.slice(),this.nextMatrix=A.slice(),this.computedMatrix=A.slice(),this.computedInverse=A.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]}p.exports=function(A){return new k((A=A||{}).matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};var E=k.prototype;E.recalcMatrix=function(A){var L=this._time,b=c.le(L,A),O=this.computedMatrix;if(!(b<0)){var I=this._components;if(b===L.length-1)for(var R=16*b,z=0;z<16;++z)O[z]=I[R++];else{var F=L[b+1]-L[b],B=(R=16*b,this.prevMatrix),N=!0;for(z=0;z<16;++z)B[z]=I[R++];var q=this.nextMatrix;for(z=0;z<16;++z)q[z]=I[R++],N=N&&B[z]===q[z];if(F<1e-6||N)for(z=0;z<16;++z)O[z]=B[z];else s(O,B,q,(A-L[b])/F)}var j=this.computedUp;j[0]=O[1],j[1]=O[5],j[2]=O[9],C(j,j);var Y=this.computedInverse;l(Y,O);var U=this.computedEye,G=Y[15];U[0]=Y[12]/G,U[1]=Y[13]/G,U[2]=Y[14]/G;var W=this.computedCenter,H=Math.exp(this.computedRadius[0]);for(z=0;z<3;++z)W[z]=U[z]-O[2+4*z]*H}},E.idle=function(A){if(!(A1&&c(s[_[k-2]],s[_[k-1]],w)<=0;)k-=1,_.pop();for(_.push(C),k=y.length;k>1&&c(s[y[k-2]],s[y[k-1]],w)>=0;)k-=1,y.pop();y.push(C)}h=new Array(y.length+_.length-2);for(var E=0,T=(f=0,_.length);f0;--A)h[E++]=y[A];return h};var c=a(417)[3]},6145:function(p,u,a){p.exports=function(s,l){l||(l=s,s=window);var h=0,f=0,m=0,_={shift:!1,alt:!1,control:!1,meta:!1},y=!1;function C(R){var z=!1;return"altKey"in R&&(z=z||R.altKey!==_.alt,_.alt=!!R.altKey),"shiftKey"in R&&(z=z||R.shiftKey!==_.shift,_.shift=!!R.shiftKey),"ctrlKey"in R&&(z=z||R.ctrlKey!==_.control,_.control=!!R.ctrlKey),"metaKey"in R&&(z=z||R.metaKey!==_.meta,_.meta=!!R.metaKey),z}function w(R,z){var F=c.x(z),B=c.y(z);"buttons"in z&&(R=0|z.buttons),(R!==h||F!==f||B!==m||C(z))&&(h=0|R,f=F||0,m=B||0,l&&l(h,f,m,_))}function k(R){w(0,R)}function E(){(h||f||m||_.shift||_.alt||_.meta||_.control)&&(f=m=0,h=0,_.shift=_.alt=_.control=_.meta=!1,l&&l(0,0,0,_))}function T(R){C(R)&&l&&l(h,f,m,_)}function A(R){c.buttons(R)===0?w(0,R):w(h,R)}function L(R){w(h|c.buttons(R),R)}function b(R){w(h&~c.buttons(R),R)}function O(){y||(y=!0,s.addEventListener("mousemove",A),s.addEventListener("mousedown",L),s.addEventListener("mouseup",b),s.addEventListener("mouseleave",k),s.addEventListener("mouseenter",k),s.addEventListener("mouseout",k),s.addEventListener("mouseover",k),s.addEventListener("blur",E),s.addEventListener("keyup",T),s.addEventListener("keydown",T),s.addEventListener("keypress",T),s!==window&&(window.addEventListener("blur",E),window.addEventListener("keyup",T),window.addEventListener("keydown",T),window.addEventListener("keypress",T)))}O();var I={element:s};return Object.defineProperties(I,{enabled:{get:function(){return y},set:function(R){R?O():y&&(y=!1,s.removeEventListener("mousemove",A),s.removeEventListener("mousedown",L),s.removeEventListener("mouseup",b),s.removeEventListener("mouseleave",k),s.removeEventListener("mouseenter",k),s.removeEventListener("mouseout",k),s.removeEventListener("mouseover",k),s.removeEventListener("blur",E),s.removeEventListener("keyup",T),s.removeEventListener("keydown",T),s.removeEventListener("keypress",T),s!==window&&(window.removeEventListener("blur",E),window.removeEventListener("keyup",T),window.removeEventListener("keydown",T),window.removeEventListener("keypress",T)))},enumerable:!0},buttons:{get:function(){return h},enumerable:!0},x:{get:function(){return f},enumerable:!0},y:{get:function(){return m},enumerable:!0},mods:{get:function(){return _},enumerable:!0}}),I};var c=a(4110)},2565:function(p){var u={left:0,top:0};p.exports=function(a,c,s){c=c||a.currentTarget||a.srcElement,Array.isArray(s)||(s=[0,0]);var l,h=a.clientX||0,f=a.clientY||0,m=(l=c)===window||l===document||l===document.body?u:l.getBoundingClientRect();return s[0]=h-m.left,s[1]=f-m.top,s}},4110:function(p,u){function a(c){return c.target||c.srcElement||window}u.buttons=function(c){if(typeof c=="object"){if("buttons"in c)return c.buttons;if("which"in c){if((s=c.which)===2)return 4;if(s===3)return 2;if(s>0)return 1<=0)return 1< 0"),typeof l.vertex!="function"&&h("Must specify vertex creation function"),typeof l.cell!="function"&&h("Must specify cell creation function"),typeof l.phase!="function"&&h("Must specify phase function");for(var _=l.getters||[],y=new Array(m),C=0;C=0?y[C]=!0:y[C]=!1;return function(w,k,E,T,A,L){var b=[L,A].join(",");return(0,s[b])(w,k,E,c.mallocUint32,c.freeUint32)}(l.vertex,l.cell,l.phase,0,f,y)};var s={"false,0,1":function(l,h,f,m,_){return function(y,C,w,k){var E,T=0|y.shape[0],A=0|y.shape[1],L=y.data,b=0|y.offset,O=0|y.stride[0],I=0|y.stride[1],R=b,z=0|-O,F=0,B=0|-I,N=0,q=-O-I|0,j=0,Y=0|O,U=I-O*T|0,G=0,W=0,H=0,ne=2*T|0,te=m(ne),Z=m(ne),X=0,Q=0,re=-1,ie=-1,oe=0,ue=0|-T,ce=0|T,ye=0,de=-T-1|0,me=T-1|0,pe=0,xe=0,Pe=0;for(G=0;G0){if(W=1,te[X++]=f(L[R],C,w,k),R+=Y,T>0)for(G=1,E=L[R],Q=te[X]=f(E,C,w,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[R+z],N=L[R+B],j=L[R+q],l(G,W,E,F,N,j,Q,oe,ye,pe,C,w,k),xe=Z[X]=H++),X+=1,R+=Y,G=2;G0)for(G=1,E=L[R],Q=te[X]=f(E,C,w,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[R+z],N=L[R+B],j=L[R+q],l(G,W,E,F,N,j,Q,oe,ye,pe,C,w,k),xe=Z[X]=H++,pe!==ye&&h(Z[X+ue],xe,N,j,ye,pe,C,w,k)),X+=1,R+=Y,G=2;G0){if(G=1,te[X++]=f(L[R],C,w,k),R+=Y,A>0)for(W=1,E=L[R],Q=te[X]=f(E,C,w,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[R+z],N=L[R+B],j=L[R+q],l(G,W,E,F,N,j,Q,ye,oe,pe,C,w,k),xe=Z[X]=H++),X+=1,R+=Y,W=2;W0)for(W=1,E=L[R],Q=te[X]=f(E,C,w,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[R+z],N=L[R+B],j=L[R+q],l(G,W,E,F,N,j,Q,ye,oe,pe,C,w,k),xe=Z[X]=H++,pe!==ye&&h(Z[X+ue],xe,j,F,pe,ye,C,w,k)),X+=1,R+=Y,W=2;W2&&R[1]>2&&b(I.pick(-1,-1).lo(1,1).hi(R[0]-2,R[1]-2),O.pick(-1,-1,0).lo(1,1).hi(R[0]-2,R[1]-2),O.pick(-1,-1,1).lo(1,1).hi(R[0]-2,R[1]-2)),R[1]>2&&(L(I.pick(0,-1).lo(1).hi(R[1]-2),O.pick(0,-1,1).lo(1).hi(R[1]-2)),A(O.pick(0,-1,0).lo(1).hi(R[1]-2))),R[1]>2&&(L(I.pick(R[0]-1,-1).lo(1).hi(R[1]-2),O.pick(R[0]-1,-1,1).lo(1).hi(R[1]-2)),A(O.pick(R[0]-1,-1,0).lo(1).hi(R[1]-2))),R[0]>2&&(L(I.pick(-1,0).lo(1).hi(R[0]-2),O.pick(-1,0,0).lo(1).hi(R[0]-2)),A(O.pick(-1,0,1).lo(1).hi(R[0]-2))),R[0]>2&&(L(I.pick(-1,R[1]-1).lo(1).hi(R[0]-2),O.pick(-1,R[1]-1,0).lo(1).hi(R[0]-2)),A(O.pick(-1,R[1]-1,1).lo(1).hi(R[0]-2))),O.set(0,0,0,0),O.set(0,0,1,0),O.set(R[0]-1,0,0,0),O.set(R[0]-1,0,1,0),O.set(0,R[1]-1,0,0),O.set(0,R[1]-1,1,0),O.set(R[0]-1,R[1]-1,0,0),O.set(R[0]-1,R[1]-1,1,0),O}}p.exports=function(T,A,L){return Array.isArray(L)||(L=c(A.dimension,typeof L=="string"?L:"clamp")),A.size===0?T:A.dimension===0?(T.set(0),T):function(b){var O=b.join();if(F=y[O])return F;for(var I=b.length,R=[C,w],z=1;z<=I;++z)R.push(k(z));var F=E.apply(void 0,R);return y[O]=F,F}(L)(T,A)}},3581:function(p){function u(l,h){var f=Math.floor(h),m=h-f,_=0<=f&&f0;){q<64?(T=q,q=0):(T=64,q-=64);for(var j=0|f[1];j>0;){j<64?(A=j,j=0):(A=64,j-=64),y=B+q*b+j*O,k=N+q*R+j*z;var Y=0,U=0,G=0,W=I,H=b-L*I,ne=O-T*b,te=F,Z=R-L*F,X=z-T*R;for(G=0;G0;){z<64?(T=z,z=0):(T=64,z-=64);for(var F=0|f[0];F>0;){F<64?(E=F,F=0):(E=64,F-=64),y=I+z*L+F*A,k=R+z*O+F*b;var B=0,N=0,q=L,j=A-T*L,Y=O,U=b-T*O;for(N=0;N0;){N<64?(A=N,N=0):(A=64,N-=64);for(var q=0|f[0];q>0;){q<64?(E=q,q=0):(E=64,q-=64);for(var j=0|f[1];j>0;){j<64?(T=j,j=0):(T=64,j-=64),y=F+N*O+q*L+j*b,k=B+N*z+q*I+j*R;var Y=0,U=0,G=0,W=O,H=L-A*O,ne=b-E*L,te=z,Z=I-A*z,X=R-E*I;for(G=0;Gy;){N=0,q=F-E;t:for(B=0;BY)break t;q+=O,N+=I}for(N=F,q=F-E,B=0;B>1,Ce=Se-Pe,ae=Se+Pe,he=_e,be=Ce,ke=Se,Le=ae,Be=Me,ze=w+1,je=k-1,ge=!0,we=0,Ee=0,Ve=0,Ye=O,$e=_(Ye),st=_(Ye);ne=A*he,te=A*be,xe=T;e:for(H=0;H0){B=he,he=be,be=B;break e}if(Ve<0)break e;xe+=R}ne=A*Le,te=A*Be,xe=T;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=R}ne=A*he,te=A*ke,xe=T;e:for(H=0;H0){B=he,he=ke,ke=B;break e}if(Ve<0)break e;xe+=R}ne=A*be,te=A*ke,xe=T;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=R}ne=A*he,te=A*Le,xe=T;e:for(H=0;H0){B=he,he=Le,Le=B;break e}if(Ve<0)break e;xe+=R}ne=A*ke,te=A*Le,xe=T;e:for(H=0;H0){B=ke,ke=Le,Le=B;break e}if(Ve<0)break e;xe+=R}ne=A*be,te=A*Be,xe=T;e:for(H=0;H0){B=be,be=Be,Be=B;break e}if(Ve<0)break e;xe+=R}ne=A*be,te=A*ke,xe=T;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=R}ne=A*Le,te=A*Be,xe=T;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=R}for(ne=A*he,te=A*be,Z=A*ke,X=A*Le,Q=A*Be,re=A*_e,ie=A*Se,oe=A*Me,pe=0,xe=T,H=0;H0)){if(Ve<0){for(ne=A*Y,te=A*ze,Z=A*je,xe=T,H=0;H0)for(;;){for(U=T+je*A,pe=0,H=0;H0)){for(U=T+je*A,pe=0,H=0;HMe){e:for(;;){for(U=T+ze*A,pe=0,xe=T,H=0;H1&&L?O(A,L[0],L[1]):O(A)}(m,_,w);return C(w,k)}},8729:function(p,u,a){var c=a(8139),s={};p.exports=function(l){var h=l.order,f=l.dtype,m=[h,f].join(":"),_=s[m];return _||(s[m]=_=c(h,f)),_(l),l}},5050:function(p,u,a){var c=a(4780),s=typeof Float64Array<"u";function l(y,C){return y[0]-C[0]}function h(){var y,C=this.stride,w=new Array(C.length);for(y=0;y=0&&(A+=O*(L=0|T),b-=L),new k(this.data,b,O,A)},E.step=function(T){var A=this.shape[0],L=this.stride[0],b=this.offset,O=0,I=Math.ceil;return typeof T=="number"&&((O=0|T)<0?(b+=L*(A-1),A=I(-A/O)):A=I(A/O),L*=O),new k(this.data,A,L,b)},E.transpose=function(T){T=T===void 0?0:0|T;var A=this.shape,L=this.stride;return new k(this.data,A[T],L[T],this.offset)},E.pick=function(T){var A=[],L=[],b=this.offset;return typeof T=="number"&&T>=0?b=b+this.stride[0]*T|0:(A.push(this.shape[0]),L.push(this.stride[0])),(0,C[A.length+1])(this.data,A,L,b)},function(T,A,L,b){return new k(T,A[0],L[0],b)}},2:function(y,C,w){function k(T,A,L,b,O,I){this.data=T,this.shape=[A,L],this.stride=[b,O],this.offset=0|I}var E=k.prototype;return E.dtype=y,E.dimension=2,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(E,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),E.set=function(T,A,L){return y==="generic"?this.data.set(this.offset+this.stride[0]*T+this.stride[1]*A,L):this.data[this.offset+this.stride[0]*T+this.stride[1]*A]=L},E.get=function(T,A){return y==="generic"?this.data.get(this.offset+this.stride[0]*T+this.stride[1]*A):this.data[this.offset+this.stride[0]*T+this.stride[1]*A]},E.index=function(T,A){return this.offset+this.stride[0]*T+this.stride[1]*A},E.hi=function(T,A){return new k(this.data,typeof T!="number"||T<0?this.shape[0]:0|T,typeof A!="number"||A<0?this.shape[1]:0|A,this.stride[0],this.stride[1],this.offset)},E.lo=function(T,A){var L=this.offset,b=0,O=this.shape[0],I=this.shape[1],R=this.stride[0],z=this.stride[1];return typeof T=="number"&&T>=0&&(L+=R*(b=0|T),O-=b),typeof A=="number"&&A>=0&&(L+=z*(b=0|A),I-=b),new k(this.data,O,I,R,z,L)},E.step=function(T,A){var L=this.shape[0],b=this.shape[1],O=this.stride[0],I=this.stride[1],R=this.offset,z=0,F=Math.ceil;return typeof T=="number"&&((z=0|T)<0?(R+=O*(L-1),L=F(-L/z)):L=F(L/z),O*=z),typeof A=="number"&&((z=0|A)<0?(R+=I*(b-1),b=F(-b/z)):b=F(b/z),I*=z),new k(this.data,L,b,O,I,R)},E.transpose=function(T,A){T=T===void 0?0:0|T,A=A===void 0?1:0|A;var L=this.shape,b=this.stride;return new k(this.data,L[T],L[A],b[T],b[A],this.offset)},E.pick=function(T,A){var L=[],b=[],O=this.offset;return typeof T=="number"&&T>=0?O=O+this.stride[0]*T|0:(L.push(this.shape[0]),b.push(this.stride[0])),typeof A=="number"&&A>=0?O=O+this.stride[1]*A|0:(L.push(this.shape[1]),b.push(this.stride[1])),(0,C[L.length+1])(this.data,L,b,O)},function(T,A,L,b){return new k(T,A[0],A[1],L[0],L[1],b)}},3:function(y,C,w){function k(T,A,L,b,O,I,R,z){this.data=T,this.shape=[A,L,b],this.stride=[O,I,R],this.offset=0|z}var E=k.prototype;return E.dtype=y,E.dimension=3,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(E,"order",{get:function(){var T=Math.abs(this.stride[0]),A=Math.abs(this.stride[1]),L=Math.abs(this.stride[2]);return T>A?A>L?[2,1,0]:T>L?[1,2,0]:[1,0,2]:T>L?[2,0,1]:L>A?[0,1,2]:[0,2,1]}}),E.set=function(T,A,L,b){return y==="generic"?this.data.set(this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L,b):this.data[this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L]=b},E.get=function(T,A,L){return y==="generic"?this.data.get(this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L):this.data[this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L]},E.index=function(T,A,L){return this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L},E.hi=function(T,A,L){return new k(this.data,typeof T!="number"||T<0?this.shape[0]:0|T,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,this.stride[0],this.stride[1],this.stride[2],this.offset)},E.lo=function(T,A,L){var b=this.offset,O=0,I=this.shape[0],R=this.shape[1],z=this.shape[2],F=this.stride[0],B=this.stride[1],N=this.stride[2];return typeof T=="number"&&T>=0&&(b+=F*(O=0|T),I-=O),typeof A=="number"&&A>=0&&(b+=B*(O=0|A),R-=O),typeof L=="number"&&L>=0&&(b+=N*(O=0|L),z-=O),new k(this.data,I,R,z,F,B,N,b)},E.step=function(T,A,L){var b=this.shape[0],O=this.shape[1],I=this.shape[2],R=this.stride[0],z=this.stride[1],F=this.stride[2],B=this.offset,N=0,q=Math.ceil;return typeof T=="number"&&((N=0|T)<0?(B+=R*(b-1),b=q(-b/N)):b=q(b/N),R*=N),typeof A=="number"&&((N=0|A)<0?(B+=z*(O-1),O=q(-O/N)):O=q(O/N),z*=N),typeof L=="number"&&((N=0|L)<0?(B+=F*(I-1),I=q(-I/N)):I=q(I/N),F*=N),new k(this.data,b,O,I,R,z,F,B)},E.transpose=function(T,A,L){T=T===void 0?0:0|T,A=A===void 0?1:0|A,L=L===void 0?2:0|L;var b=this.shape,O=this.stride;return new k(this.data,b[T],b[A],b[L],O[T],O[A],O[L],this.offset)},E.pick=function(T,A,L){var b=[],O=[],I=this.offset;return typeof T=="number"&&T>=0?I=I+this.stride[0]*T|0:(b.push(this.shape[0]),O.push(this.stride[0])),typeof A=="number"&&A>=0?I=I+this.stride[1]*A|0:(b.push(this.shape[1]),O.push(this.stride[1])),typeof L=="number"&&L>=0?I=I+this.stride[2]*L|0:(b.push(this.shape[2]),O.push(this.stride[2])),(0,C[b.length+1])(this.data,b,O,I)},function(T,A,L,b){return new k(T,A[0],A[1],A[2],L[0],L[1],L[2],b)}},4:function(y,C,w){function k(T,A,L,b,O,I,R,z,F,B){this.data=T,this.shape=[A,L,b,O],this.stride=[I,R,z,F],this.offset=0|B}var E=k.prototype;return E.dtype=y,E.dimension=4,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(E,"order",{get:w}),E.set=function(T,A,L,b,O){return y==="generic"?this.data.set(this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b,O):this.data[this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]=O},E.get=function(T,A,L,b){return y==="generic"?this.data.get(this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b):this.data[this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]},E.index=function(T,A,L,b){return this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b},E.hi=function(T,A,L,b){return new k(this.data,typeof T!="number"||T<0?this.shape[0]:0|T,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},E.lo=function(T,A,L,b){var O=this.offset,I=0,R=this.shape[0],z=this.shape[1],F=this.shape[2],B=this.shape[3],N=this.stride[0],q=this.stride[1],j=this.stride[2],Y=this.stride[3];return typeof T=="number"&&T>=0&&(O+=N*(I=0|T),R-=I),typeof A=="number"&&A>=0&&(O+=q*(I=0|A),z-=I),typeof L=="number"&&L>=0&&(O+=j*(I=0|L),F-=I),typeof b=="number"&&b>=0&&(O+=Y*(I=0|b),B-=I),new k(this.data,R,z,F,B,N,q,j,Y,O)},E.step=function(T,A,L,b){var O=this.shape[0],I=this.shape[1],R=this.shape[2],z=this.shape[3],F=this.stride[0],B=this.stride[1],N=this.stride[2],q=this.stride[3],j=this.offset,Y=0,U=Math.ceil;return typeof T=="number"&&((Y=0|T)<0?(j+=F*(O-1),O=U(-O/Y)):O=U(O/Y),F*=Y),typeof A=="number"&&((Y=0|A)<0?(j+=B*(I-1),I=U(-I/Y)):I=U(I/Y),B*=Y),typeof L=="number"&&((Y=0|L)<0?(j+=N*(R-1),R=U(-R/Y)):R=U(R/Y),N*=Y),typeof b=="number"&&((Y=0|b)<0?(j+=q*(z-1),z=U(-z/Y)):z=U(z/Y),q*=Y),new k(this.data,O,I,R,z,F,B,N,q,j)},E.transpose=function(T,A,L,b){T=T===void 0?0:0|T,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b;var O=this.shape,I=this.stride;return new k(this.data,O[T],O[A],O[L],O[b],I[T],I[A],I[L],I[b],this.offset)},E.pick=function(T,A,L,b){var O=[],I=[],R=this.offset;return typeof T=="number"&&T>=0?R=R+this.stride[0]*T|0:(O.push(this.shape[0]),I.push(this.stride[0])),typeof A=="number"&&A>=0?R=R+this.stride[1]*A|0:(O.push(this.shape[1]),I.push(this.stride[1])),typeof L=="number"&&L>=0?R=R+this.stride[2]*L|0:(O.push(this.shape[2]),I.push(this.stride[2])),typeof b=="number"&&b>=0?R=R+this.stride[3]*b|0:(O.push(this.shape[3]),I.push(this.stride[3])),(0,C[O.length+1])(this.data,O,I,R)},function(T,A,L,b){return new k(T,A[0],A[1],A[2],A[3],L[0],L[1],L[2],L[3],b)}},5:function(y,C,w){function k(T,A,L,b,O,I,R,z,F,B,N,q){this.data=T,this.shape=[A,L,b,O,I],this.stride=[R,z,F,B,N],this.offset=0|q}var E=k.prototype;return E.dtype=y,E.dimension=5,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(E,"order",{get:w}),E.set=function(T,A,L,b,O,I){return y==="generic"?this.data.set(this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*O,I):this.data[this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*O]=I},E.get=function(T,A,L,b,O){return y==="generic"?this.data.get(this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*O):this.data[this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*O]},E.index=function(T,A,L,b,O){return this.offset+this.stride[0]*T+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*O},E.hi=function(T,A,L,b,O){return new k(this.data,typeof T!="number"||T<0?this.shape[0]:0|T,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,typeof O!="number"||O<0?this.shape[4]:0|O,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},E.lo=function(T,A,L,b,O){var I=this.offset,R=0,z=this.shape[0],F=this.shape[1],B=this.shape[2],N=this.shape[3],q=this.shape[4],j=this.stride[0],Y=this.stride[1],U=this.stride[2],G=this.stride[3],W=this.stride[4];return typeof T=="number"&&T>=0&&(I+=j*(R=0|T),z-=R),typeof A=="number"&&A>=0&&(I+=Y*(R=0|A),F-=R),typeof L=="number"&&L>=0&&(I+=U*(R=0|L),B-=R),typeof b=="number"&&b>=0&&(I+=G*(R=0|b),N-=R),typeof O=="number"&&O>=0&&(I+=W*(R=0|O),q-=R),new k(this.data,z,F,B,N,q,j,Y,U,G,W,I)},E.step=function(T,A,L,b,O){var I=this.shape[0],R=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.shape[4],N=this.stride[0],q=this.stride[1],j=this.stride[2],Y=this.stride[3],U=this.stride[4],G=this.offset,W=0,H=Math.ceil;return typeof T=="number"&&((W=0|T)<0?(G+=N*(I-1),I=H(-I/W)):I=H(I/W),N*=W),typeof A=="number"&&((W=0|A)<0?(G+=q*(R-1),R=H(-R/W)):R=H(R/W),q*=W),typeof L=="number"&&((W=0|L)<0?(G+=j*(z-1),z=H(-z/W)):z=H(z/W),j*=W),typeof b=="number"&&((W=0|b)<0?(G+=Y*(F-1),F=H(-F/W)):F=H(F/W),Y*=W),typeof O=="number"&&((W=0|O)<0?(G+=U*(B-1),B=H(-B/W)):B=H(B/W),U*=W),new k(this.data,I,R,z,F,B,N,q,j,Y,U,G)},E.transpose=function(T,A,L,b,O){T=T===void 0?0:0|T,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b,O=O===void 0?4:0|O;var I=this.shape,R=this.stride;return new k(this.data,I[T],I[A],I[L],I[b],I[O],R[T],R[A],R[L],R[b],R[O],this.offset)},E.pick=function(T,A,L,b,O){var I=[],R=[],z=this.offset;return typeof T=="number"&&T>=0?z=z+this.stride[0]*T|0:(I.push(this.shape[0]),R.push(this.stride[0])),typeof A=="number"&&A>=0?z=z+this.stride[1]*A|0:(I.push(this.shape[1]),R.push(this.stride[1])),typeof L=="number"&&L>=0?z=z+this.stride[2]*L|0:(I.push(this.shape[2]),R.push(this.stride[2])),typeof b=="number"&&b>=0?z=z+this.stride[3]*b|0:(I.push(this.shape[3]),R.push(this.stride[3])),typeof O=="number"&&O>=0?z=z+this.stride[4]*O|0:(I.push(this.shape[4]),R.push(this.stride[4])),(0,C[I.length+1])(this.data,I,R,z)},function(T,A,L,b){return new k(T,A[0],A[1],A[2],A[3],A[4],L[0],L[1],L[2],L[3],L[4],b)}}};function m(y,C){var w=C===-1?"T":String(C),k=f[w];return C===-1?k(y):C===0?k(y,_[y][0]):k(y,_[y],h)}var _={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};p.exports=function(y,C,w,k){if(y===void 0)return(0,_.array[0])([]);typeof y=="number"&&(y=[y]),C===void 0&&(C=[y.length]);var E=C.length;if(w===void 0){w=new Array(E);for(var T=E-1,A=1;T>=0;--T)w[T]=A,A*=C[T]}if(k===void 0)for(k=0,T=0;T>>0;p.exports=function(h,f){if(isNaN(h)||isNaN(f))return NaN;if(h===f)return h;if(h===0)return f<0?-s:s;var m=c.hi(h),_=c.lo(h);return f>h==h>0?_===l?(m+=1,_=0):_+=1:_===0?(_=l,m-=1):_-=1,c.pack(_,m)}},115:function(p,u){u.vertexNormals=function(a,c,s){for(var l=c.length,h=new Array(l),f=s===void 0?1e-6:s,m=0;mf){var z=h[C],F=1/Math.sqrt(b*I);for(R=0;R<3;++R){var B=(R+1)%3,N=(R+2)%3;z[R]+=F*(O[B]*L[N]-O[N]*L[B])}}}for(m=0;mf)for(F=1/Math.sqrt(q),R=0;R<3;++R)z[R]*=F;else for(R=0;R<3;++R)z[R]=0}return h},u.faceNormals=function(a,c,s){for(var l=a.length,h=new Array(l),f=s===void 0?1e-6:s,m=0;mf?1/Math.sqrt(T):0,C=0;C<3;++C)E[C]*=T;h[m]=E}return h}},567:function(p){p.exports=function(u,a,c,s,l,h,f,m,_,y){var C=a+h+y;if(w>0){var w=Math.sqrt(C+1);u[0]=.5*(f-_)/w,u[1]=.5*(m-s)/w,u[2]=.5*(c-h)/w,u[3]=.5*w}else{var k=Math.max(a,h,y);w=Math.sqrt(2*k-C+1),a>=k?(u[0]=.5*w,u[1]=.5*(l+c)/w,u[2]=.5*(m+s)/w,u[3]=.5*(f-_)/w):h>=k?(u[0]=.5*(c+l)/w,u[1]=.5*w,u[2]=.5*(_+f)/w,u[3]=.5*(m-s)/w):(u[0]=.5*(s+m)/w,u[1]=.5*(f+_)/w,u[2]=.5*w,u[3]=.5*(c-l)/w)}return u}},7774:function(p,u,a){p.exports=function(k){var E=(k=k||{}).center||[0,0,0],T=k.rotation||[0,0,0,1],A=k.radius||1;E=[].slice.call(E,0,3),y(T=[].slice.call(T,0,4),T);var L=new C(T,E,Math.log(A));return L.setDistanceLimits(k.zoomMin,k.zoomMax),("eye"in k||"up"in k)&&L.lookAt(0,k.eye,k.center,k.up),L};var c=a(8444),s=a(3012),l=a(5950),h=a(7437),f=a(567);function m(k,E,T){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(T,2))}function _(k,E,T,A){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(T,2)+Math.pow(A,2))}function y(k,E){var T=E[0],A=E[1],L=E[2],b=E[3],O=_(T,A,L,b);O>1e-6?(k[0]=T/O,k[1]=A/O,k[2]=L/O,k[3]=b/O):(k[0]=k[1]=k[2]=0,k[3]=1)}function C(k,E,T){this.radius=c([T]),this.center=c(E),this.rotation=c(k),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 w=C.prototype;w.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},w.recalcMatrix=function(k){this.radius.curve(k),this.center.curve(k),this.rotation.curve(k);var E=this.computedRotation;y(E,E);var T=this.computedMatrix;l(T,E);var A=this.computedCenter,L=this.computedEye,b=this.computedUp,O=Math.exp(this.computedRadius[0]);L[0]=A[0]+O*T[2],L[1]=A[1]+O*T[6],L[2]=A[2]+O*T[10],b[0]=T[1],b[1]=T[5],b[2]=T[9];for(var I=0;I<3;++I){for(var R=0,z=0;z<3;++z)R+=T[I+4*z]*L[z];T[12+I]=-R}},w.getMatrix=function(k,E){this.recalcMatrix(k);var T=this.computedMatrix;if(E){for(var A=0;A<16;++A)E[A]=T[A];return E}return T},w.idle=function(k){this.center.idle(k),this.radius.idle(k),this.rotation.idle(k)},w.flush=function(k){this.center.flush(k),this.radius.flush(k),this.rotation.flush(k)},w.pan=function(k,E,T,A){E=E||0,T=T||0,A=A||0,this.recalcMatrix(k);var L=this.computedMatrix,b=L[1],O=L[5],I=L[9],R=m(b,O,I);b/=R,O/=R,I/=R;var z=L[0],F=L[4],B=L[8],N=z*b+F*O+B*I,q=m(z-=b*N,F-=O*N,B-=I*N);z/=q,F/=q,B/=q,L[2],L[6],L[10];var j=z*E+b*T,Y=F*E+O*T,U=B*E+I*T;this.center.move(k,j,Y,U);var G=Math.exp(this.computedRadius[0]);G=Math.max(1e-4,G+A),this.radius.set(k,Math.log(G))},w.rotate=function(k,E,T,A){this.recalcMatrix(k),E=E||0,T=T||0;var L=this.computedMatrix,b=L[0],O=L[4],I=L[8],R=L[1],z=L[5],F=L[9],B=L[2],N=L[6],q=L[10],j=E*b+T*R,Y=E*O+T*z,U=E*I+T*F,G=-(N*U-q*Y),W=-(q*j-B*U),H=-(B*Y-N*j),ne=Math.sqrt(Math.max(0,1-Math.pow(G,2)-Math.pow(W,2)-Math.pow(H,2))),te=_(G,W,H,ne);te>1e-6?(G/=te,W/=te,H/=te,ne/=te):(G=W=H=0,ne=1);var Z=this.computedRotation,X=Z[0],Q=Z[1],re=Z[2],ie=Z[3],oe=X*ne+ie*G+Q*H-re*W,ue=Q*ne+ie*W+re*G-X*H,ce=re*ne+ie*H+X*W-Q*G,ye=ie*ne-X*G-Q*W-re*H;if(A){G=B,W=N,H=q;var de=Math.sin(A)/m(G,W,H);G*=de,W*=de,H*=de,ye=ye*(ne=Math.cos(E))-(oe=oe*ne+ye*G+ue*H-ce*W)*G-(ue=ue*ne+ye*W+ce*G-oe*H)*W-(ce=ce*ne+ye*H+oe*W-ue*G)*H}var me=_(oe,ue,ce,ye);me>1e-6?(oe/=me,ue/=me,ce/=me,ye/=me):(oe=ue=ce=0,ye=1),this.rotation.set(k,oe,ue,ce,ye)},w.lookAt=function(k,E,T,A){this.recalcMatrix(k),T=T||this.computedCenter,E=E||this.computedEye,A=A||this.computedUp;var L=this.computedMatrix;s(L,E,T,A);var b=this.computedRotation;f(b,L[0],L[1],L[2],L[4],L[5],L[6],L[8],L[9],L[10]),y(b,b),this.rotation.set(k,b[0],b[1],b[2],b[3]);for(var O=0,I=0;I<3;++I)O+=Math.pow(T[I]-E[I],2);this.radius.set(k,.5*Math.log(Math.max(O,1e-6))),this.center.set(k,T[0],T[1],T[2])},w.translate=function(k,E,T,A){this.center.move(k,E||0,T||0,A||0)},w.setMatrix=function(k,E){var T=this.computedRotation;f(T,E[0],E[1],E[2],E[4],E[5],E[6],E[8],E[9],E[10]),y(T,T),this.rotation.set(k,T[0],T[1],T[2],T[3]);var A=this.computedMatrix;h(A,E);var L=A[15];if(Math.abs(L)>1e-6){var b=A[12]/L,O=A[13]/L,I=A[14]/L;this.recalcMatrix(k);var R=Math.exp(this.computedRadius[0]);this.center.set(k,b-A[2]*R,O-A[6]*R,I-A[10]*R),this.radius.idle(k)}else this.center.idle(k),this.radius.idle(k)},w.setDistance=function(k,E){E>0&&this.radius.set(k,Math.log(E))},w.setDistanceLimits=function(k,E){k=k>0?Math.log(k):-1/0,E=E>0?Math.log(E):1/0,E=Math.max(E,k),this.radius.bounds[0][0]=k,this.radius.bounds[1][0]=E},w.getDistanceLimits=function(k){var E=this.radius.bounds;return k?(k[0]=Math.exp(E[0][0]),k[1]=Math.exp(E[1][0]),k):[Math.exp(E[0][0]),Math.exp(E[1][0])]},w.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]}},w.fromJSON=function(k){var E=this.lastT(),T=k.center;T&&this.center.set(E,T[0],T[1],T[2]);var A=k.rotation;A&&this.rotation.set(E,A[0],A[1],A[2],A[3]);var L=k.distance;L&&L>0&&this.radius.set(E,Math.log(L)),this.setDistanceLimits(k.zoomMin,k.zoomMax)}},4930:function(p,u,a){var c=a(6184);p.exports=function(s,l,h){return c(h=h!==void 0?h+"":" ",l)+s}},4405:function(p){p.exports=function(u,a){a||(a=[0,""]),u=String(u);var c=parseFloat(u,10);return a[0]=c,a[1]=u.match(/[\d.\-\+]*\s*(.*)/)[1]||"",a}},4166:function(p,u,a){p.exports=function(s,l){for(var h=0|l.length,f=s.length,m=[new Array(h),new Array(h)],_=0;_0){z=m[N][I][0],B=N;break}F=z[1^B];for(var q=0;q<2;++q)for(var j=m[q][I],Y=0;Y0&&(z=U,F=G,B=q)}return R||z&&w(z,B),F}function E(O,I){var R=m[I][O][0],z=[O];w(R,I);for(var F=R[1^I];;){for(;F!==O;)z.push(F),F=k(z[z.length-2],F,!1);if(m[0][O].length+m[1][O].length===0)break;var B=z[z.length-1],N=O,q=z[1],j=k(B,N,!0);if(c(l[B],l[N],l[q],l[j])<0)break;z.push(O),F=k(B,N)}return z}function T(O,I){return I[1]===I[I.length-1]}for(_=0;_0;){m[0][_].length;var b=E(_,A);T(0,b)?L.push.apply(L,b):(L.length>0&&C.push(L),L=b)}L.length>0&&C.push(L)}return C};var c=a(9398)},3959:function(p,u,a){p.exports=function(s,l){for(var h=c(s,l.length),f=new Array(l.length),m=new Array(l.length),_=[],y=0;y0;){var w=_.pop();f[w]=!1;var k=h[w];for(y=0;y0})).length,O=new Array(b),I=new Array(b);for(A=0;A0;){var ue=ie.pop(),ce=W[ue];m(ce,function(Pe,_e){return Pe-_e});var ye,de=ce.length,me=oe[ue];if(me===0){var pe=L[ue];ye=[pe]}for(A=0;A=0||(oe[xe]=1^me,ie.push(xe),me===0&&(re(pe=L[xe])||(pe.reverse(),ye.push(pe))))}me===0&&k.push(ye)}return k};var c=a(8348),s=a(4166),l=a(211),h=a(9660),f=a(9662),m=a(1215),_=a(3959);function y(C,w){for(var k=new Array(C),E=0;E0&&N[j]===q[0]))return 1;Y=B[j-1]}for(var U=1;Y;){var G=Y.key,W=c(q,G[0],G[1]);if(G[0][0]0))return 0;U=-1,Y=Y.right}else if(W>0)Y=Y.left;else{if(!(W<0))return 0;U=1,Y=Y.right}}return U}}(z.slabs,z.coordinates);return k.length===0?F:function(B,N){return function(q){return B(q[0],q[1])?0:N(q)}}(m(k),F)};var c=a(417)[3],s=a(4385),l=a(9014),h=a(5070);function f(){return!0}function m(y){for(var C={},w=0;w=y?(N=1,O=y+2*k+T):O=k*(N=-k/y)+T):(N=0,E>=0?(q=0,O=T):-E>=w?(q=1,O=w+2*E+T):O=E*(q=-E/w)+T);else if(q<0)q=0,k>=0?(N=0,O=T):-k>=y?(N=1,O=y+2*k+T):O=k*(N=-k/y)+T;else{var j=1/B;O=(N*=j)*(y*N+C*(q*=j)+2*k)+q*(C*N+w*q+2*E)+T}else N<0?(R=w+E)>(I=C+k)?(z=R-I)>=(F=y-2*C+w)?(N=1,q=0,O=y+2*k+T):O=(N=z/F)*(y*N+C*(q=1-N)+2*k)+q*(C*N+w*q+2*E)+T:(N=0,R<=0?(q=1,O=w+2*E+T):E>=0?(q=0,O=T):O=E*(q=-E/w)+T):q<0?(R=y+k)>(I=C+E)?(z=R-I)>=(F=y-2*C+w)?(q=1,N=0,O=w+2*E+T):O=(N=1-(q=z/F))*(y*N+C*q+2*k)+q*(C*N+w*q+2*E)+T:(q=0,R<=0?(N=1,O=y+2*k+T):k>=0?(N=0,O=T):O=k*(N=-k/y)+T):(z=w+E-C-k)<=0?(N=0,q=1,O=w+2*E+T):z>=(F=y-2*C+w)?(N=1,q=0,O=y+2*k+T):O=(N=z/F)*(y*N+C*(q=1-N)+2*k)+q*(C*N+w*q+2*E)+T;var Y=1-N-q;for(_=0;_0){var w=h[m-1];if(c(y,w)===0&&l(w)!==C){m-=1;continue}}h[m++]=y}}return h.length=m,h}},6184:function(p){var u,a="";p.exports=function(c,s){if(typeof c!="string")throw new TypeError("expected a string");if(s===1)return c;if(s===2)return c+c;var l=c.length*s;if(u!==c||u===void 0)u=c,a="";else if(a.length>=l)return a.substr(0,l);for(;l>a.length&&s>1;)1&s&&(a+=c),s>>=1,c+=c;return a=(a+=c).substr(0,l)}},8161:function(p,u,a){p.exports=a.g.performance&&a.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},402:function(p){p.exports=function(u){for(var a=u.length,c=u[u.length-1],s=a,l=a-2;l>=0;--l){var h=c,f=u[l];(_=f-((c=h+f)-h))&&(u[--s]=c,c=_)}var m=0;for(l=s;l0){if(R<=0)return z;O=I+R}else{if(!(I<0)||R>=0)return z;O=-(I+R)}var F=33306690738754716e-32*O;return z>=F||z<=-F?z:C(A,L,b)},function(A,L,b,O){var I=A[0]-O[0],R=L[0]-O[0],z=b[0]-O[0],F=A[1]-O[1],B=L[1]-O[1],N=b[1]-O[1],q=A[2]-O[2],j=L[2]-O[2],Y=b[2]-O[2],U=R*N,G=z*B,W=z*F,H=I*N,ne=I*B,te=R*F,Z=q*(U-G)+j*(W-H)+Y*(ne-te),X=7771561172376103e-31*((Math.abs(U)+Math.abs(G))*Math.abs(q)+(Math.abs(W)+Math.abs(H))*Math.abs(j)+(Math.abs(ne)+Math.abs(te))*Math.abs(Y));return Z>X||-Z>X?Z:w(A,L,b,O)}];function E(A){var L=k[A.length];return L||(L=k[A.length]=y(A.length)),L.apply(void 0,A)}function T(A,L,b,O,I,R,z){return function(F,B,N,q,j){switch(arguments.length){case 0:case 1:return 0;case 2:return O(F,B);case 3:return I(F,B,N);case 4:return R(F,B,N,q);case 5:return z(F,B,N,q,j)}for(var Y=new Array(arguments.length),U=0;U0&&_>0||m<0&&_<0)return!1;var y=c(h,s,l),C=c(f,s,l);return!(y>0&&C>0||y<0&&C<0)&&(m!==0||_!==0||y!==0||C!==0||function(w,k,E,T){for(var A=0;A<2;++A){var L=w[A],b=k[A],O=Math.min(L,b),I=Math.max(L,b),R=E[A],z=T[A],F=Math.min(R,z);if(Math.max(R,z)=s?(l=w,(_+=1)=s?(l=w,(_+=1)>1,w=s[2*C+1];if(w===m)return C;m>1,w=s[2*C+1];if(w===m)return C;m>1,w=s[2*C+1];if(w===m)return C;m0)-(s<0)},u.abs=function(s){var l=s>>31;return(s^l)-l},u.min=function(s,l){return l^(s^l)&-(s65535)<<4,l|=h=((s>>>=l)>255)<<3,l|=h=((s>>>=h)>15)<<2,(l|=h=((s>>>=h)>3)<<1)|(s>>>=h)>>1},u.log10=function(s){return s>=1e9?9:s>=1e8?8:s>=1e7?7:s>=1e6?6:s>=1e5?5:s>=1e4?4:s>=1e3?3:s>=100?2:s>=10?1:0},u.popCount=function(s){return 16843009*((s=(858993459&(s-=s>>>1&1431655765))+(s>>>2&858993459))+(s>>>4)&252645135)>>>24},u.countTrailingZeros=a,u.nextPow2=function(s){return s+=s===0,--s,s|=s>>>1,s|=s>>>2,s|=s>>>4,1+((s|=s>>>8)|s>>>16)},u.prevPow2=function(s){return s|=s>>>1,s|=s>>>2,s|=s>>>4,s|=s>>>8,(s|=s>>>16)-(s>>>1)},u.parity=function(s){return s^=s>>>16,s^=s>>>8,s^=s>>>4,27030>>>(s&=15)&1};var c=new Array(256);(function(s){for(var l=0;l<256;++l){var h=l,f=l,m=7;for(h>>>=1;h;h>>>=1)f<<=1,f|=1&h,--m;s[l]=f<>>8&255]<<16|c[s>>>16&255]<<8|c[s>>>24&255]},u.interleave2=function(s,l){return(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))|(l=1431655765&((l=858993459&((l=252645135&((l=16711935&((l&=65535)|l<<8))|l<<4))|l<<2))|l<<1))<<1},u.deinterleave2=function(s,l){return(s=65535&((s=16711935&((s=252645135&((s=858993459&((s=s>>>l&1431655765)|s>>>1))|s>>>2))|s>>>4))|s>>>16))<<16>>16},u.interleave3=function(s,l,h){return s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2),(s|=(l=1227133513&((l=3272356035&((l=251719695&((l=4278190335&((l&=1023)|l<<16))|l<<8))|l<<4))|l<<2))<<1)|(h=1227133513&((h=3272356035&((h=251719695&((h=4278190335&((h&=1023)|h<<16))|h<<8))|h<<4))|h<<2))<<2},u.deinterleave3=function(s,l){return(s=1023&((s=4278190335&((s=251719695&((s=3272356035&((s=s>>>l&1227133513)|s>>>2))|s>>>4))|s>>>8))|s>>>16))<<22>>22},u.nextCombination=function(s){var l=s|s-1;return l+1|(~l&-~l)-1>>>a(s)+1}},6656:function(p,u,a){var c=a(9392),s=a(9521);function l(w,k){var E=w.length,T=w.length-k.length,A=Math.min;if(T)return T;switch(E){case 0:return 0;case 1:return w[0]-k[0];case 2:return(O=w[0]+w[1]-k[0]-k[1])||A(w[0],w[1])-A(k[0],k[1]);case 3:var L=w[0]+w[1],b=k[0]+k[1];if(O=L+w[2]-(b+k[2]))return O;var O,I=A(w[0],w[1]),R=A(k[0],k[1]);return(O=A(I,w[2])-A(R,k[2]))||A(I+w[2],L)-A(R+k[2],b);default:var z=w.slice(0);z.sort();var F=k.slice(0);F.sort();for(var B=0;B>1,b=l(w[L],k);b<=0?(b===0&&(A=L),E=L+1):b>0&&(T=L-1)}return A}function y(w,k){for(var E=new Array(w.length),T=0,A=E.length;T=w.length||l(w[N],L)!==0););}return E}function C(w,k){if(k<0)return[];for(var E=[],T=(1<>>R&1&&I.push(A[R]);k.push(I)}return f(k)},u.skeleton=C,u.boundary=function(w){for(var k=[],E=0,T=w.length;E>1:(te>>1)-1}function z(te){for(var Z=I(te);;){var X=Z,Q=2*te+1,re=2*(te+1),ie=te;if(Q0;){var X=R(te);if(!(X>=0&&Z0){var te=j[0];return O(0,U-1),U-=1,z(0),te}return-1}function N(te,Z){var X=j[te];return w[X]===Z?te:(w[X]=-1/0,F(te),B(),w[X]=Z,F((U+=1)-1))}function q(te){if(!k[te]){k[te]=!0;var Z=y[te],X=C[te];y[X]>=0&&(y[X]=Z),C[Z]>=0&&(C[Z]=X),Y[Z]>=0&&N(Y[Z],b(Z)),Y[X]>=0&&N(Y[X],b(X))}}var j=[],Y=new Array(m);for(E=0;E>1;E>=0;--E)z(E);for(;;){var G=B();if(G<0||w[G]>f)break;q(G)}var W=[];for(E=0;E=0&&X>=0&&Z!==X){var Q=Y[Z],re=Y[X];Q!==re&&ne.push([Q,re])}}),s.unique(s.normalize(ne)),{positions:W,edges:ne}};var c=a(417),s=a(6656)},6638:function(p,u,a){p.exports=function(l,h){var f,m,_,y;if(h[0][0]h[1][0]))return s(h,l);f=h[1],m=h[0]}if(l[0][0]l[1][0]))return-s(l,h);_=l[1],y=l[0]}var C=c(f,m,y),w=c(f,m,_);if(C<0){if(w<=0)return C}else if(C>0){if(w>=0)return C}else if(w)return w;if(C=c(y,_,m),w=c(y,_,f),C<0){if(w<=0)return C}else if(C>0){if(w>=0)return C}else if(w)return w;return m[0]-y[0]};var c=a(417);function s(l,h){var f,m,_,y;if(h[0][0]h[1][0])){var C=Math.min(l[0][1],l[1][1]),w=Math.max(l[0][1],l[1][1]),k=Math.min(h[0][1],h[1][1]),E=Math.max(h[0][1],h[1][1]);return wE?C-E:w-E}f=h[1],m=h[0]}l[0][1]0)if(k[0]!==L[1][0])E=w,w=w.right;else{if(O=_(w.right,k))return O;w=w.left}else{if(k[0]!==L[1][0])return w;var O;if(O=_(w.right,k))return O;w=w.left}}return E}function y(w,k,E,T){this.y=w,this.index=k,this.start=E,this.closed=T}function C(w,k,E,T){this.x=w,this.segment=k,this.create=E,this.index=T}f.prototype.castUp=function(w){var k=c.le(this.coordinates,w[0]);if(k<0)return-1;this.slabs[k];var E=_(this.slabs[k],w),T=-1;if(E&&(T=E.value),this.coordinates[k]===w[0]){var A=null;if(E&&(A=E.key),k>0){var L=_(this.slabs[k-1],w);L&&(A?h(L.key,A)>0&&(A=L.key,T=L.value):(T=L.value,A=L.key))}var b=this.horizontal[k];if(b.length>0){var O=c.ge(b,w[1],m);if(O=b.length)return T;I=b[O]}}if(I.start)if(A){var R=l(A[0],A[1],[w[0],I.y]);A[0][0]>A[1][0]&&(R=-R),R>0&&(T=I.index)}else T=I.index;else I.y!==w[1]&&(T=I.index)}}}return T}},4670:function(p,u,a){var c=a(9130),s=a(9662);function l(f,m){var _=s(c(f,m),[m[m.length-1]]);return _[_.length-1]}function h(f,m,_,y){var C=-m/(y-m);C<0?C=0:C>1&&(C=1);for(var w=1-C,k=f.length,E=new Array(k),T=0;T0||C>0&&T<0){var A=h(w,T,k,C);_.push(A),y.push(A.slice())}T<0?y.push(k.slice()):T>0?_.push(k.slice()):(_.push(k.slice()),y.push(k.slice())),C=T}return{positive:_,negative:y}},p.exports.positive=function(f,m){for(var _=[],y=l(f[f.length-1],m),C=f[f.length-1],w=f[0],k=0;k0||y>0&&E<0)&&_.push(h(C,E,w,y)),E>=0&&_.push(w.slice()),y=E}return _},p.exports.negative=function(f,m){for(var _=[],y=l(f[f.length-1],m),C=f[f.length-1],w=f[0],k=0;k0||y>0&&E<0)&&_.push(h(C,E,w,y)),E<=0&&_.push(w.slice()),y=E}return _}},8974:function(p,u,a){var c;(function(){var s={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 l(y){return f(_(y),arguments)}function h(y,C){return l.apply(null,[y].concat(C||[]))}function f(y,C){var w,k,E,T,A,L,b,O,I,R=1,z=y.length,F="";for(k=0;k=0),T.type){case"b":w=parseInt(w,10).toString(2);break;case"c":w=String.fromCharCode(parseInt(w,10));break;case"d":case"i":w=parseInt(w,10);break;case"j":w=JSON.stringify(w,null,T.width?parseInt(T.width):0);break;case"e":w=T.precision?parseFloat(w).toExponential(T.precision):parseFloat(w).toExponential();break;case"f":w=T.precision?parseFloat(w).toFixed(T.precision):parseFloat(w);break;case"g":w=T.precision?String(Number(w.toPrecision(T.precision))):parseFloat(w);break;case"o":w=(parseInt(w,10)>>>0).toString(8);break;case"s":w=String(w),w=T.precision?w.substring(0,T.precision):w;break;case"t":w=String(!!w),w=T.precision?w.substring(0,T.precision):w;break;case"T":w=Object.prototype.toString.call(w).slice(8,-1).toLowerCase(),w=T.precision?w.substring(0,T.precision):w;break;case"u":w=parseInt(w,10)>>>0;break;case"v":w=w.valueOf(),w=T.precision?w.substring(0,T.precision):w;break;case"x":w=(parseInt(w,10)>>>0).toString(16);break;case"X":w=(parseInt(w,10)>>>0).toString(16).toUpperCase()}s.json.test(T.type)?F+=w:(!s.number.test(T.type)||O&&!T.sign?I="":(I=O?"+":"-",w=w.toString().replace(s.sign,"")),L=T.pad_char?T.pad_char==="0"?"0":T.pad_char.charAt(1):" ",b=T.width-(I+w).length,A=T.width&&b>0?L.repeat(b):"",F+=T.align?I+w+A:L==="0"?I+A+w:A+I+w)}return F}var m=Object.create(null);function _(y){if(m[y])return m[y];for(var C,w=y,k=[],E=0;w;){if((C=s.text.exec(w))!==null)k.push(C[0]);else if((C=s.modulo.exec(w))!==null)k.push("%");else{if((C=s.placeholder.exec(w))===null)throw new SyntaxError("[sprintf] unexpected placeholder");if(C[2]){E|=1;var T=[],A=C[2],L=[];if((L=s.key.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");for(T.push(L[1]);(A=A.substring(L[0].length))!=="";)if((L=s.key_access.exec(A))!==null)T.push(L[1]);else{if((L=s.index_access.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");T.push(L[1])}C[2]=T}else E|=2;if(E===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");k.push({placeholder:C[0],param_no:C[1],keys:C[2],sign:C[3],pad_char:C[4],align:C[5],width:C[6],precision:C[7],type:C[8]})}w=w.substring(C[0].length)}return m[y]=k}u.sprintf=l,u.vsprintf=h,typeof window<"u"&&(window.sprintf=l,window.vsprintf=h,(c=function(){return{sprintf:l,vsprintf:h}}.call(u,a,u,p))===void 0||(p.exports=c))})()},4162:function(p,u,a){p.exports=function(f,m){if(f.dimension<=0)return{positions:[],cells:[]};if(f.dimension===1)return function(C,w){for(var k=s(C,w),E=k.length,T=new Array(E),A=new Array(E),L=0;LE|0},vertex:function(C,w,k,E,T,A,L,b,O,I,R,z,F){var B=(L<<0)+(b<<1)+(O<<2)+(I<<3)|0;if(B!==0&&B!==15)switch(B){case 0:case 15:R.push([C-.5,w-.5]);break;case 1:R.push([C-.25-.25*(E+k-2*F)/(k-E),w-.25-.25*(T+k-2*F)/(k-T)]);break;case 2:R.push([C-.75-.25*(-E-k+2*F)/(E-k),w-.25-.25*(A+E-2*F)/(E-A)]);break;case 3:R.push([C-.5,w-.5-.5*(T+k+A+E-4*F)/(k-T+E-A)]);break;case 4:R.push([C-.25-.25*(A+T-2*F)/(T-A),w-.75-.25*(-T-k+2*F)/(T-k)]);break;case 5:R.push([C-.5-.5*(E+k+A+T-4*F)/(k-E+T-A),w-.5]);break;case 6:R.push([C-.5-.25*(-E-k+A+T)/(E-k+T-A),w-.5-.25*(-T-k+A+E)/(T-k+E-A)]);break;case 7:R.push([C-.75-.25*(A+T-2*F)/(T-A),w-.75-.25*(A+E-2*F)/(E-A)]);break;case 8:R.push([C-.75-.25*(-A-T+2*F)/(A-T),w-.75-.25*(-A-E+2*F)/(A-E)]);break;case 9:R.push([C-.5-.25*(E+k+-A-T)/(k-E+A-T),w-.5-.25*(T+k+-A-E)/(k-T+A-E)]);break;case 10:R.push([C-.5-.5*(-E-k-A-T+4*F)/(E-k+A-T),w-.5]);break;case 11:R.push([C-.25-.25*(-A-T+2*F)/(A-T),w-.75-.25*(T+k-2*F)/(k-T)]);break;case 12:R.push([C-.5,w-.5-.5*(-T-k-A-E+4*F)/(T-k+A-E)]);break;case 13:R.push([C-.75-.25*(E+k-2*F)/(k-E),w-.25-.25*(-A-E+2*F)/(A-E)]);break;case 14:R.push([C-.25-.25*(-E-k+2*F)/(E-k),w-.25-.25*(-T-k+2*F)/(T-k)])}},cell:function(C,w,k,E,T,A,L,b,O){T?b.push([C,w]):b.push([w,C])}});return function(C,w){var k=[],E=[];return y(C,k,E,w),{positions:k,cells:E}}}},h={}},6946:function(p,u,a){p.exports=function h(f,m,_){_=_||{};var y=l[f];y||(y=l[f]={" ":{data:new Float32Array(0),shape:.2}});var C=y[m];if(!C)if(m.length<=1||!/\d/.test(m))C=y[m]=function(z){for(var F=z.cells,B=z.positions,N=new Float32Array(6*F.length),q=0,j=0,Y=0;Y0&&(T+=.02);var L=new Float32Array(E),b=0,O=-.5*T;for(A=0;AMath.max(L,b)?O[2]=1:L>Math.max(A,b)?O[0]=1:O[1]=1;for(var I=0,R=0,z=0;z<3;++z)I+=T[z]*T[z],R+=O[z]*T[z];for(z=0;z<3;++z)O[z]-=R/I*T[z];return f(O,O),O}function w(T,A,L,b,O,I,R,z){this.center=c(L),this.up=c(b),this.right=c(O),this.radius=c([I]),this.angle=c([R,z]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(T,A),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 F=0;F<16;++F)this.computedMatrix[F]=.5;this.recalcMatrix(0)}var k=w.prototype;k.setDistanceLimits=function(T,A){T=T>0?Math.log(T):-1/0,A=A>0?Math.log(A):1/0,A=Math.max(A,T),this.radius.bounds[0][0]=T,this.radius.bounds[1][0]=A},k.getDistanceLimits=function(T){var A=this.radius.bounds[0];return T?(T[0]=Math.exp(A[0][0]),T[1]=Math.exp(A[1][0]),T):[Math.exp(A[0][0]),Math.exp(A[1][0])]},k.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 A=this.computedUp,L=this.computedRight,b=0,O=0,I=0;I<3;++I)O+=A[I]*L[I],b+=A[I]*A[I];var R=Math.sqrt(b),z=0;for(I=0;I<3;++I)L[I]-=A[I]*O/b,z+=L[I]*L[I],A[I]/=R;var F=Math.sqrt(z);for(I=0;I<3;++I)L[I]/=F;var B=this.computedToward;h(B,A,L),f(B,B);var N=Math.exp(this.computedRadius[0]),q=this.computedAngle[0],j=this.computedAngle[1],Y=Math.cos(q),U=Math.sin(q),G=Math.cos(j),W=Math.sin(j),H=this.computedCenter,ne=Y*G,te=U*G,Z=W,X=-Y*W,Q=-U*W,re=G,ie=this.computedEye,oe=this.computedMatrix;for(I=0;I<3;++I){var ue=ne*L[I]+te*B[I]+Z*A[I];oe[4*I+1]=X*L[I]+Q*B[I]+re*A[I],oe[4*I+2]=ue,oe[4*I+3]=0}var ce=oe[1],ye=oe[5],de=oe[9],me=oe[2],pe=oe[6],xe=oe[10],Pe=ye*xe-de*pe,_e=de*me-ce*xe,Me=ce*pe-ye*me,Se=_(Pe,_e,Me);for(Pe/=Se,_e/=Se,Me/=Se,oe[0]=Pe,oe[4]=_e,oe[8]=Me,I=0;I<3;++I)ie[I]=H[I]+oe[2+4*I]*N;for(I=0;I<3;++I){z=0;for(var Ce=0;Ce<3;++Ce)z+=oe[I+4*Ce]*ie[Ce];oe[12+I]=-z}oe[15]=1},k.getMatrix=function(T,A){this.recalcMatrix(T);var L=this.computedMatrix;if(A){for(var b=0;b<16;++b)A[b]=L[b];return A}return L};var E=[0,0,0];k.rotate=function(T,A,L,b){if(this.angle.move(T,A,L),b){this.recalcMatrix(T);var O=this.computedMatrix;E[0]=O[2],E[1]=O[6],E[2]=O[10];for(var I=this.computedUp,R=this.computedRight,z=this.computedToward,F=0;F<3;++F)O[4*F]=I[F],O[4*F+1]=R[F],O[4*F+2]=z[F];for(l(O,O,b,E),F=0;F<3;++F)I[F]=O[4*F],R[F]=O[4*F+1];this.up.set(T,I[0],I[1],I[2]),this.right.set(T,R[0],R[1],R[2])}},k.pan=function(T,A,L,b){A=A||0,L=L||0,b=b||0,this.recalcMatrix(T);var O=this.computedMatrix,I=(Math.exp(this.computedRadius[0]),O[1]),R=O[5],z=O[9],F=_(I,R,z);I/=F,R/=F,z/=F;var B=O[0],N=O[4],q=O[8],j=B*I+N*R+q*z,Y=_(B-=I*j,N-=R*j,q-=z*j),U=(B/=Y)*A+I*L,G=(N/=Y)*A+R*L,W=(q/=Y)*A+z*L;this.center.move(T,U,G,W);var H=Math.exp(this.computedRadius[0]);H=Math.max(1e-4,H+b),this.radius.set(T,Math.log(H))},k.translate=function(T,A,L,b){this.center.move(T,A||0,L||0,b||0)},k.setMatrix=function(T,A,L,b){var O=1;typeof L=="number"&&(O=0|L),(O<0||O>3)&&(O=1);var I=(O+2)%3;A||(this.recalcMatrix(T),A=this.computedMatrix);var R=A[O],z=A[O+4],F=A[O+8];if(b){var B=Math.abs(R),N=Math.abs(z),q=Math.abs(F),j=Math.max(B,N,q);B===j?(R=R<0?-1:1,z=F=0):q===j?(F=F<0?-1:1,R=z=0):(z=z<0?-1:1,R=F=0)}else{var Y=_(R,z,F);R/=Y,z/=Y,F/=Y}var U,G,W=A[I],H=A[I+4],ne=A[I+8],te=W*R+H*z+ne*F,Z=_(W-=R*te,H-=z*te,ne-=F*te),X=z*(ne/=Z)-F*(H/=Z),Q=F*(W/=Z)-R*ne,re=R*H-z*W,ie=_(X,Q,re);if(X/=ie,Q/=ie,re/=ie,this.center.jump(T,ke,Le,Be),this.radius.idle(T),this.up.jump(T,R,z,F),this.right.jump(T,W,H,ne),O===2){var oe=A[1],ue=A[5],ce=A[9],ye=oe*W+ue*H+ce*ne,de=oe*X+ue*Q+ce*re;U=Pe<0?-Math.PI/2:Math.PI/2,G=Math.atan2(de,ye)}else{var me=A[2],pe=A[6],xe=A[10],Pe=me*R+pe*z+xe*F,_e=me*W+pe*H+xe*ne,Me=me*X+pe*Q+xe*re;U=Math.asin(y(Pe)),G=Math.atan2(Me,_e)}this.angle.jump(T,G,U),this.recalcMatrix(T);var Se=A[2],Ce=A[6],ae=A[10],he=this.computedMatrix;s(he,A);var be=he[15],ke=he[12]/be,Le=he[13]/be,Be=he[14]/be,ze=Math.exp(this.computedRadius[0]);this.center.jump(T,ke-Se*ze,Le-Ce*ze,Be-ae*ze)},k.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},k.idle=function(T){this.center.idle(T),this.up.idle(T),this.right.idle(T),this.radius.idle(T),this.angle.idle(T)},k.flush=function(T){this.center.flush(T),this.up.flush(T),this.right.flush(T),this.radius.flush(T),this.angle.flush(T)},k.setDistance=function(T,A){A>0&&this.radius.set(T,Math.log(A))},k.lookAt=function(T,A,L,b){this.recalcMatrix(T),A=A||this.computedEye,L=L||this.computedCenter;var O=(b=b||this.computedUp)[0],I=b[1],R=b[2],z=_(O,I,R);if(!(z<1e-6)){O/=z,I/=z,R/=z;var F=A[0]-L[0],B=A[1]-L[1],N=A[2]-L[2],q=_(F,B,N);if(!(q<1e-6)){F/=q,B/=q,N/=q;var j=this.computedRight,Y=j[0],U=j[1],G=j[2],W=O*Y+I*U+R*G,H=_(Y-=W*O,U-=W*I,G-=W*R);if(!(H<.01&&(H=_(Y=I*N-R*B,U=R*F-O*N,G=O*B-I*F))<1e-6)){Y/=H,U/=H,G/=H,this.up.set(T,O,I,R),this.right.set(T,Y,U,G),this.center.set(T,L[0],L[1],L[2]),this.radius.set(T,Math.log(q));var ne=I*G-R*U,te=R*Y-O*G,Z=O*U-I*Y,X=_(ne,te,Z),Q=O*F+I*B+R*N,re=Y*F+U*B+G*N,ie=(ne/=X)*F+(te/=X)*B+(Z/=X)*N,oe=Math.asin(y(Q)),ue=Math.atan2(ie,re),ce=this.angle._state,ye=ce[ce.length-1],de=ce[ce.length-2];ye%=2*Math.PI;var me=Math.abs(ye+2*Math.PI-ue),pe=Math.abs(ye-ue),xe=Math.abs(ye-2*Math.PI-ue);me0?U.pop():new ArrayBuffer(j)}function E(j){return new Uint8Array(k(j),0,j)}function T(j){return new Uint16Array(k(2*j),0,j)}function A(j){return new Uint32Array(k(4*j),0,j)}function L(j){return new Int8Array(k(j),0,j)}function b(j){return new Int16Array(k(2*j),0,j)}function O(j){return new Int32Array(k(4*j),0,j)}function I(j){return new Float32Array(k(4*j),0,j)}function R(j){return new Float64Array(k(8*j),0,j)}function z(j){return h?new Uint8ClampedArray(k(j),0,j):E(j)}function F(j){return f?new BigUint64Array(k(8*j),0,j):null}function B(j){return m?new BigInt64Array(k(8*j),0,j):null}function N(j){return new DataView(k(j),0,j)}function q(j){j=c.nextPow2(j);var Y=c.log2(j),U=C[Y];return U.length>0?U.pop():new l(j)}u.free=function(j){if(l.isBuffer(j))C[c.log2(j.length)].push(j);else{if(Object.prototype.toString.call(j)!=="[object ArrayBuffer]"&&(j=j.buffer),!j)return;var Y=j.length||j.byteLength,U=0|c.log2(Y);y[U].push(j)}},u.freeUint8=u.freeUint16=u.freeUint32=u.freeBigUint64=u.freeInt8=u.freeInt16=u.freeInt32=u.freeBigInt64=u.freeFloat32=u.freeFloat=u.freeFloat64=u.freeDouble=u.freeUint8Clamped=u.freeDataView=function(j){w(j.buffer)},u.freeArrayBuffer=w,u.freeBuffer=function(j){C[c.log2(j.length)].push(j)},u.malloc=function(j,Y){if(Y===void 0||Y==="arraybuffer")return k(j);switch(Y){case"uint8":return E(j);case"uint16":return T(j);case"uint32":return A(j);case"int8":return L(j);case"int16":return b(j);case"int32":return O(j);case"float":case"float32":return I(j);case"double":case"float64":return R(j);case"uint8_clamped":return z(j);case"bigint64":return B(j);case"biguint64":return F(j);case"buffer":return q(j);case"data":case"dataview":return N(j);default:return null}return null},u.mallocArrayBuffer=k,u.mallocUint8=E,u.mallocUint16=T,u.mallocUint32=A,u.mallocInt8=L,u.mallocInt16=b,u.mallocInt32=O,u.mallocFloat32=u.mallocFloat=I,u.mallocFloat64=u.mallocDouble=R,u.mallocUint8Clamped=z,u.mallocBigUint64=F,u.mallocBigInt64=B,u.mallocDataView=N,u.mallocBuffer=q,u.clearCache=function(){for(var j=0;j<32;++j)_.UINT8[j].length=0,_.UINT16[j].length=0,_.UINT32[j].length=0,_.INT8[j].length=0,_.INT16[j].length=0,_.INT32[j].length=0,_.FLOAT[j].length=0,_.DOUBLE[j].length=0,_.BIGUINT64[j].length=0,_.BIGINT64[j].length=0,_.UINT8C[j].length=0,y[j].length=0,C[j].length=0}},1731:function(p){function u(c){this.roots=new Array(c),this.ranks=new Array(c);for(var s=0;s0&&(O=b.size),b.lineSpacing&&b.lineSpacing>0&&(I=b.lineSpacing),b.styletags&&b.styletags.breaklines&&(R.breaklines=!!b.styletags.breaklines),b.styletags&&b.styletags.bolds&&(R.bolds=!!b.styletags.bolds),b.styletags&&b.styletags.italics&&(R.italics=!!b.styletags.italics),b.styletags&&b.styletags.subscripts&&(R.subscripts=!!b.styletags.subscripts),b.styletags&&b.styletags.superscripts&&(R.superscripts=!!b.styletags.superscripts)),L.font=[b.fontStyle,b.fontVariant,b.fontWeight,O+"px",b.font].filter(function(z){return z}).join(" "),L.textAlign="start",L.textBaseline="alphabetic",L.direction="ltr",E(function(z,F,B,N,q,j){B=B.replace(/\n/g,""),B=j.breaklines===!0?B.replace(/\/g,` `):B.replace(/\/g," ");var Y="",U=[];for(ne=0;ne-1?parseInt(he[1+Le]):0,je=Be>-1?parseInt(be[1+Be]):0;ze!==je&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,je-ze),ke=ke.replace("?px ",xe())),Z+=.25*ie*(je-ze)}if(j.superscripts===!0){var ge=he.indexOf("+"),we=be.indexOf("+"),Ee=ge>-1?parseInt(he[1+ge]):0,Ve=we>-1?parseInt(be[1+we]):0;Ee!==Ve&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,Ve-Ee),ke=ke.replace("?px ",xe())),Z-=.25*ie*(Ve-Ee)}if(j.bolds===!0){var Ye=he.indexOf(_)>-1,$e=be.indexOf(_)>-1;!Ye&&$e&&(ke=st?ke.replace("italic ","italic bold "):"bold "+ke),Ye&&!$e&&(ke=ke.replace("bold ",""))}if(j.italics===!0){var st=he.indexOf(y)>-1,ot=be.indexOf(y)>-1;!st&&ot&&(ke="italic "+ke),st&&!ot&&(ke=ke.replace("italic ",""))}F.font=ke}for(H=0;H",I="",R=O.length,z=I.length,F=A[0]==="+"||A[0]==="-",B=0,N=-z;B>-1&&(B=L.indexOf(O,B))!==-1&&(N=L.indexOf(I,B+R))!==-1&&!(N<=B);){for(var q=B;q=N)b[q]=null,L=L.substr(0,q)+" "+L.substr(q+1);else if(b[q]!==null){var j=b[q].indexOf(A[0]);j===-1?b[q]+=A:F&&(b[q]=b[q].substr(0,j+1)+(1+parseInt(b[q][j+1]))+b[q].substr(j+2))}var Y=B+R,U=L.substr(Y,N-Y).indexOf(O);B=U!==-1?U:N+z}return b}function w(T,A){var L=c(T,128);return A?l(L.cells,L.positions,.25):{edges:L.cells,positions:L.positions}}function k(T,A,L,b){var O=w(T,b),I=function(H,ne,te){for(var Z=ne.textAlign||"start",X=ne.textBaseline||"alphabetic",Q=[1<<30,1<<30],re=[0,0],ie=H.length,oe=0;oe"u"||!ses.ok||ses.ok()){typeof ses<"u"&&(ses.weakMapPermitHostObjects=A);var u=!1;if(typeof WeakMap=="function"){var a=WeakMap;if(!(typeof navigator<"u"&&/Firefox/.test(navigator.userAgent))){var c=new a,s=Object.freeze({});if(c.set(s,1),c.get(s)===1)return void(p.exports=WeakMap);u=!0}}var l=Object.getOwnPropertyNames,h=Object.defineProperty,f=Object.isExtensible,m="weakmap:",_="weakmap:ident:"+Math.random()+"___";if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"&&typeof ArrayBuffer=="function"&&typeof Uint8Array=="function"){var y=new ArrayBuffer(25),C=new Uint8Array(y);crypto.getRandomValues(C),_="weakmap:rand:"+Array.prototype.map.call(C,function(R){return(R%36).toString(36)}).join("")+"___"}if(h(Object,"getOwnPropertyNames",{value:function(R){return l(R).filter(L)}}),"getPropertyNames"in Object){var w=Object.getPropertyNames;h(Object,"getPropertyNames",{value:function(R){return w(R).filter(L)}})}(function(){var R=Object.freeze;h(Object,"freeze",{value:function(B){return b(B),R(B)}});var z=Object.seal;h(Object,"seal",{value:function(B){return b(B),z(B)}});var F=Object.preventExtensions;h(Object,"preventExtensions",{value:function(B){return b(B),F(B)}})})();var k=!1,E=0,T=function(){this instanceof T||I();var R=[],z=[],F=E++;return Object.create(T.prototype,{get___:{value:O(function(B,N){var q,j=b(B);return j?F in j?j[F]:N:(q=R.indexOf(B))>=0?z[q]:N})},has___:{value:O(function(B){var N=b(B);return N?F in N:R.indexOf(B)>=0})},set___:{value:O(function(B,N){var q,j=b(B);return j?j[F]=N:(q=R.indexOf(B))>=0?z[q]=N:(q=R.length,z[q]=N,R[q]=B),this})},delete___:{value:O(function(B){var N,q,j=b(B);return j?F in j&&delete j[F]:!((N=R.indexOf(B))<0||(q=R.length-1,R[N]=void 0,z[N]=z[q],R[N]=R[q],R.length=q,z.length=q,0))})}})};T.prototype=Object.create(Object.prototype,{get:{value:function(R,z){return this.get___(R,z)},writable:!0,configurable:!0},has:{value:function(R){return this.has___(R)},writable:!0,configurable:!0},set:{value:function(R,z){return this.set___(R,z)},writable:!0,configurable:!0},delete:{value:function(R){return this.delete___(R)},writable:!0,configurable:!0}}),typeof a=="function"?function(){function R(){this instanceof T||I();var z,F=new a,B=void 0,N=!1;return z=u?function(q,j){return F.set(q,j),F.has(q)||(B||(B=new T),B.set(q,j)),this}:function(q,j){if(N)try{F.set(q,j)}catch{B||(B=new T),B.set___(q,j)}else F.set(q,j);return this},Object.create(T.prototype,{get___:{value:O(function(q,j){return B?F.has(q)?F.get(q):B.get___(q,j):F.get(q,j)})},has___:{value:O(function(q){return F.has(q)||!!B&&B.has___(q)})},set___:{value:O(z)},delete___:{value:O(function(q){var j=!!F.delete(q);return B&&B.delete___(q)||j})},permitHostObjects___:{value:O(function(q){if(q!==A)throw new Error("bogus call to permitHostObjects___");N=!0})}})}u&&typeof Proxy<"u"&&(Proxy=void 0),R.prototype=T.prototype,p.exports=R,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<"u"&&(Proxy=void 0),p.exports=T)}function A(R){R.permitHostObjects___&&R.permitHostObjects___(A)}function L(R){return!(R.substr(0,m.length)==m&&R.substr(R.length-3)==="___")}function b(R){if(R!==Object(R))throw new TypeError("Not an object: "+R);var z=R[_];if(z&&z.key===R)return z;if(f(R)){z={key:R};try{return h(R,_,{value:z,writable:!1,enumerable:!1,configurable:!1}),z}catch{return}}}function O(R){return R.prototype=null,Object.freeze(R)}function I(){k||typeof console>"u"||(k=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}})()},9222:function(p,u,a){var c=a(7178);p.exports=function(){var s={};return function(l){if((typeof l!="object"||l===null)&&typeof l!="function")throw new Error("Weakmap-shim: Key must be object");var h=l.valueOf(s);return h&&h.identity===s?h:c(l,s)}}},7178:function(p){p.exports=function(u,a){var c={identity:a},s=u.valueOf;return Object.defineProperty(u,"valueOf",{value:function(l){return l!==a?s.apply(this,arguments):c},writable:!0}),c}},4037:function(p,u,a){var c=a(9222);p.exports=function(){var s=c();return{get:function(l,h){var f=s(l);return f.hasOwnProperty("value")?f.value:h},set:function(l,h){return s(l).value=h,this},has:function(l){return"value"in s(l)},delete:function(l){return delete s(l).value}}}},6183:function(p){p.exports=function(u){var a={};return function(c,s,l){var h=c.dtype,f=c.order,m=[h,f.join()].join(),_=a[m];return _||(a[m]=_=u([h,f])),_(c.shape.slice(0),c.data,c.stride,0|c.offset,s,l)}}(function(){return function(u,a,c,s,l,h){var f=u[0],m=c[0],_=[0],y=m;s|=0;var C=0,w=m;for(C=0;C=0!=E>=0&&l.push(_[0]+.5+.5*(k+E)/(k-E)),s+=w,++_[0]}}}.bind(void 0,{funcName:"zeroCrossings"}))},9584:function(p,u,a){p.exports=function(s,l){var h=[];return l=+l||0,c(s.hi(s.shape[0]-1),h,l),h};var c=a(6183)},6601:function(){}},M={};function v(p){var u=M[p];if(u!==void 0)return u.exports;var a=M[p]={id:p,loaded:!1,exports:{}};return i[p].call(a.exports,a,a.exports,v),a.loaded=!0,a.exports}return v.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),v.nmd=function(p){return p.paths=[],p.children||(p.children=[]),p},v(7386)}()},x.exports=d()},12856:function(x,o,t){function d(ae,he){if(!(ae instanceof he))throw new TypeError("Cannot call a class as a function")}function g(ae,he){for(var be=0;bel)throw new RangeError('The value "'+ae+'" is invalid for option "size"');var he=new Uint8Array(ae);return Object.setPrototypeOf(he,f.prototype),he}function f(ae,he,be){if(typeof ae=="number"){if(typeof he=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(ae)}return m(ae,he,be)}function m(ae,he,be){if(typeof ae=="string")return function(Be,ze){if(typeof ze=="string"&&ze!==""||(ze="utf8"),!f.isEncoding(ze))throw new TypeError("Unknown encoding: "+ze);var je=0|E(Be,ze),ge=h(je),we=ge.write(Be,ze);return we!==je&&(ge=ge.slice(0,we)),ge}(ae,he);if(ArrayBuffer.isView(ae))return function(Be){if(Pe(Be,Uint8Array)){var ze=new Uint8Array(Be);return w(ze.buffer,ze.byteOffset,ze.byteLength)}return C(Be)}(ae);if(ae==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+u(ae));if(Pe(ae,ArrayBuffer)||ae&&Pe(ae.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Pe(ae,SharedArrayBuffer)||ae&&Pe(ae.buffer,SharedArrayBuffer)))return w(ae,he,be);if(typeof ae=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ke=ae.valueOf&&ae.valueOf();if(ke!=null&&ke!==ae)return f.from(ke,he,be);var Le=function(Be){if(f.isBuffer(Be)){var ze=0|k(Be.length),je=h(ze);return je.length===0||Be.copy(je,0,0,ze),je}return Be.length!==void 0?typeof Be.length!="number"||_e(Be.length)?h(0):C(Be):Be.type==="Buffer"&&Array.isArray(Be.data)?C(Be.data):void 0}(ae);if(Le)return Le;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ae[Symbol.toPrimitive]=="function")return f.from(ae[Symbol.toPrimitive]("string"),he,be);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+u(ae))}function _(ae){if(typeof ae!="number")throw new TypeError('"size" argument must be of type number');if(ae<0)throw new RangeError('The value "'+ae+'" is invalid for option "size"')}function y(ae){return _(ae),h(ae<0?0:0|k(ae))}function C(ae){for(var he=ae.length<0?0:0|k(ae.length),be=h(he),ke=0;ke=l)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l.toString(16)+" bytes");return 0|ae}function E(ae,he){if(f.isBuffer(ae))return ae.length;if(ArrayBuffer.isView(ae)||Pe(ae,ArrayBuffer))return ae.byteLength;if(typeof ae!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+u(ae));var be=ae.length,ke=arguments.length>2&&arguments[2]===!0;if(!ke&&be===0)return 0;for(var Le=!1;;)switch(he){case"ascii":case"latin1":case"binary":return be;case"utf8":case"utf-8":return me(ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*be;case"hex":return be>>>1;case"base64":return pe(ae).length;default:if(Le)return ke?-1:me(ae).length;he=(""+he).toLowerCase(),Le=!0}}function T(ae,he,be){var ke=!1;if((he===void 0||he<0)&&(he=0),he>this.length||((be===void 0||be>this.length)&&(be=this.length),be<=0)||(be>>>=0)<=(he>>>=0))return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return U(this,he,be);case"utf8":case"utf-8":return N(this,he,be);case"ascii":return j(this,he,be);case"latin1":case"binary":return Y(this,he,be);case"base64":return B(this,he,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,he,be);default:if(ke)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),ke=!0}}function A(ae,he,be){var ke=ae[he];ae[he]=ae[be],ae[be]=ke}function L(ae,he,be,ke,Le){if(ae.length===0)return-1;if(typeof be=="string"?(ke=be,be=0):be>2147483647?be=2147483647:be<-2147483648&&(be=-2147483648),_e(be=+be)&&(be=Le?0:ae.length-1),be<0&&(be=ae.length+be),be>=ae.length){if(Le)return-1;be=ae.length-1}else if(be<0){if(!Le)return-1;be=0}if(typeof he=="string"&&(he=f.from(he,ke)),f.isBuffer(he))return he.length===0?-1:b(ae,he,be,ke,Le);if(typeof he=="number")return he&=255,typeof Uint8Array.prototype.indexOf=="function"?Le?Uint8Array.prototype.indexOf.call(ae,he,be):Uint8Array.prototype.lastIndexOf.call(ae,he,be):b(ae,[he],be,ke,Le);throw new TypeError("val must be string, number or Buffer")}function b(ae,he,be,ke,Le){var Be,ze=1,je=ae.length,ge=he.length;if(ke!==void 0&&((ke=String(ke).toLowerCase())==="ucs2"||ke==="ucs-2"||ke==="utf16le"||ke==="utf-16le")){if(ae.length<2||he.length<2)return-1;ze=2,je/=2,ge/=2,be/=2}function we($e,st){return ze===1?$e[st]:$e.readUInt16BE(st*ze)}if(Le){var Ee=-1;for(Be=be;Beje&&(be=je-ge),Be=be;Be>=0;Be--){for(var Ve=!0,Ye=0;YeLe&&(ke=Le):ke=Le;var Be,ze=he.length;for(ke>ze/2&&(ke=ze/2),Be=0;Be>8,ge=ze%256,we.push(ge),we.push(je);return we}(he,ae.length-be),ae,be,ke)}function B(ae,he,be){return he===0&&be===ae.length?a.fromByteArray(ae):a.fromByteArray(ae.slice(he,be))}function N(ae,he,be){be=Math.min(ae.length,be);for(var ke=[],Le=he;Le239?4:Be>223?3:Be>191?2:1;if(Le+je<=be){var ge=void 0,we=void 0,Ee=void 0,Ve=void 0;switch(je){case 1:Be<128&&(ze=Be);break;case 2:(192&(ge=ae[Le+1]))==128&&(Ve=(31&Be)<<6|63&ge)>127&&(ze=Ve);break;case 3:ge=ae[Le+1],we=ae[Le+2],(192&ge)==128&&(192&we)==128&&(Ve=(15&Be)<<12|(63&ge)<<6|63&we)>2047&&(Ve<55296||Ve>57343)&&(ze=Ve);break;case 4:ge=ae[Le+1],we=ae[Le+2],Ee=ae[Le+3],(192&ge)==128&&(192&we)==128&&(192&Ee)==128&&(Ve=(15&Be)<<18|(63&ge)<<12|(63&we)<<6|63&Ee)>65535&&Ve<1114112&&(ze=Ve)}}ze===null?(ze=65533,je=1):ze>65535&&(ze-=65536,ke.push(ze>>>10&1023|55296),ze=56320|1023&ze),ke.push(ze),Le+=je}return function(Ye){var $e=Ye.length;if($e<=q)return String.fromCharCode.apply(String,Ye);for(var st="",ot=0;ot<$e;)st+=String.fromCharCode.apply(String,Ye.slice(ot,ot+=q));return st}(ke)}o.kMaxLength=l,f.TYPED_ARRAY_SUPPORT=function(){try{var ae=new Uint8Array(1),he={foo:function(){return 42}};return Object.setPrototypeOf(he,Uint8Array.prototype),Object.setPrototypeOf(ae,he),ae.foo()===42}catch{return!1}}(),f.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),f.poolSize=8192,f.from=function(ae,he,be){return m(ae,he,be)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array),f.alloc=function(ae,he,be){return function(ke,Le,Be){return _(ke),ke<=0?h(ke):Le!==void 0?typeof Be=="string"?h(ke).fill(Le,Be):h(ke).fill(Le):h(ke)}(ae,he,be)},f.allocUnsafe=function(ae){return y(ae)},f.allocUnsafeSlow=function(ae){return y(ae)},f.isBuffer=function(ae){return ae!=null&&ae._isBuffer===!0&&ae!==f.prototype},f.compare=function(ae,he){if(Pe(ae,Uint8Array)&&(ae=f.from(ae,ae.offset,ae.byteLength)),Pe(he,Uint8Array)&&(he=f.from(he,he.offset,he.byteLength)),!f.isBuffer(ae)||!f.isBuffer(he))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ae===he)return 0;for(var be=ae.length,ke=he.length,Le=0,Be=Math.min(be,ke);Leke.length?(f.isBuffer(Be)||(Be=f.from(Be)),Be.copy(ke,Le)):Uint8Array.prototype.set.call(ke,Be,Le);else{if(!f.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(ke,Le)}Le+=Be.length}return ke},f.byteLength=E,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var ae=this.length;if(ae%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var he=0;hehe&&(ae+=" ... "),""},s&&(f.prototype[s]=f.prototype.inspect),f.prototype.compare=function(ae,he,be,ke,Le){if(Pe(ae,Uint8Array)&&(ae=f.from(ae,ae.offset,ae.byteLength)),!f.isBuffer(ae))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+u(ae));if(he===void 0&&(he=0),be===void 0&&(be=ae?ae.length:0),ke===void 0&&(ke=0),Le===void 0&&(Le=this.length),he<0||be>ae.length||ke<0||Le>this.length)throw new RangeError("out of range index");if(ke>=Le&&he>=be)return 0;if(ke>=Le)return-1;if(he>=be)return 1;if(this===ae)return 0;for(var Be=(Le>>>=0)-(ke>>>=0),ze=(be>>>=0)-(he>>>=0),je=Math.min(Be,ze),ge=this.slice(ke,Le),we=ae.slice(he,be),Ee=0;Ee>>=0,isFinite(be)?(be>>>=0,ke===void 0&&(ke="utf8")):(ke=be,be=void 0)}var Le=this.length-he;if((be===void 0||be>Le)&&(be=Le),ae.length>0&&(be<0||he<0)||he>this.length)throw new RangeError("Attempt to write outside buffer bounds");ke||(ke="utf8");for(var Be=!1;;)switch(ke){case"hex":return O(this,ae,he,be);case"utf8":case"utf-8":return I(this,ae,he,be);case"ascii":case"latin1":case"binary":return R(this,ae,he,be);case"base64":return z(this,ae,he,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,ae,he,be);default:if(Be)throw new TypeError("Unknown encoding: "+ke);ke=(""+ke).toLowerCase(),Be=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var q=4096;function j(ae,he,be){var ke="";be=Math.min(ae.length,be);for(var Le=he;Leke)&&(be=ke);for(var Le="",Be=he;Bebe)throw new RangeError("Trying to access beyond buffer length")}function H(ae,he,be,ke,Le,Be){if(!f.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(he>Le||heae.length)throw new RangeError("Index out of range")}function ne(ae,he,be,ke,Le){ue(he,ke,Le,ae,be,7);var Be=Number(he&BigInt(4294967295));ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be;var ze=Number(he>>BigInt(32)&BigInt(4294967295));return ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,be}function te(ae,he,be,ke,Le){ue(he,ke,Le,ae,be,7);var Be=Number(he&BigInt(4294967295));ae[be+7]=Be,Be>>=8,ae[be+6]=Be,Be>>=8,ae[be+5]=Be,Be>>=8,ae[be+4]=Be;var ze=Number(he>>BigInt(32)&BigInt(4294967295));return ae[be+3]=ze,ze>>=8,ae[be+2]=ze,ze>>=8,ae[be+1]=ze,ze>>=8,ae[be]=ze,be+8}function Z(ae,he,be,ke,Le,Be){if(be+ke>ae.length)throw new RangeError("Index out of range");if(be<0)throw new RangeError("Index out of range")}function X(ae,he,be,ke,Le){return he=+he,be>>>=0,Le||Z(ae,0,be,4),c.write(ae,he,be,ke,23,4),be+4}function Q(ae,he,be,ke,Le){return he=+he,be>>>=0,Le||Z(ae,0,be,8),c.write(ae,he,be,ke,52,8),be+8}f.prototype.slice=function(ae,he){var be=this.length;(ae=~~ae)<0?(ae+=be)<0&&(ae=0):ae>be&&(ae=be),(he=he===void 0?be:~~he)<0?(he+=be)<0&&(he=0):he>be&&(he=be),he>>=0,he>>>=0,be||W(ae,he,this.length);for(var ke=this[ae],Le=1,Be=0;++Be>>=0,he>>>=0,be||W(ae,he,this.length);for(var ke=this[ae+--he],Le=1;he>0&&(Le*=256);)ke+=this[ae+--he]*Le;return ke},f.prototype.readUint8=f.prototype.readUInt8=function(ae,he){return ae>>>=0,he||W(ae,1,this.length),this[ae]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(ae,he){return ae>>>=0,he||W(ae,2,this.length),this[ae]|this[ae+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(ae,he){return ae>>>=0,he||W(ae,2,this.length),this[ae]<<8|this[ae+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(ae,he){return ae>>>=0,he||W(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+16777216*this[ae+3]},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(ae,he){return ae>>>=0,he||W(ae,4,this.length),16777216*this[ae]+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},f.prototype.readBigUInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=he+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,24),Le=this[++ae]+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+be*Math.pow(2,24);return BigInt(ke)+(BigInt(Le)<>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=he*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae],Le=this[++ae]*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+be;return(BigInt(ke)<>>=0,he>>>=0,be||W(ae,he,this.length);for(var ke=this[ae],Le=1,Be=0;++Be=(Le*=128)&&(ke-=Math.pow(2,8*he)),ke},f.prototype.readIntBE=function(ae,he,be){ae>>>=0,he>>>=0,be||W(ae,he,this.length);for(var ke=he,Le=1,Be=this[ae+--ke];ke>0&&(Le*=256);)Be+=this[ae+--ke]*Le;return Be>=(Le*=128)&&(Be-=Math.pow(2,8*he)),Be},f.prototype.readInt8=function(ae,he){return ae>>>=0,he||W(ae,1,this.length),128&this[ae]?-1*(255-this[ae]+1):this[ae]},f.prototype.readInt16LE=function(ae,he){ae>>>=0,he||W(ae,2,this.length);var be=this[ae]|this[ae+1]<<8;return 32768&be?4294901760|be:be},f.prototype.readInt16BE=function(ae,he){ae>>>=0,he||W(ae,2,this.length);var be=this[ae+1]|this[ae]<<8;return 32768&be?4294901760|be:be},f.prototype.readInt32LE=function(ae,he){return ae>>>=0,he||W(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},f.prototype.readInt32BE=function(ae,he){return ae>>>=0,he||W(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},f.prototype.readBigInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=this[ae+4]+this[ae+5]*Math.pow(2,8)+this[ae+6]*Math.pow(2,16)+(be<<24);return(BigInt(ke)<>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=(he<<24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae];return(BigInt(ke)<>>=0,he||W(ae,4,this.length),c.read(this,ae,!0,23,4)},f.prototype.readFloatBE=function(ae,he){return ae>>>=0,he||W(ae,4,this.length),c.read(this,ae,!1,23,4)},f.prototype.readDoubleLE=function(ae,he){return ae>>>=0,he||W(ae,8,this.length),c.read(this,ae,!0,52,8)},f.prototype.readDoubleBE=function(ae,he){return ae>>>=0,he||W(ae,8,this.length),c.read(this,ae,!1,52,8)},f.prototype.writeUintLE=f.prototype.writeUIntLE=function(ae,he,be,ke){ae=+ae,he>>>=0,be>>>=0,ke||H(this,ae,he,be,Math.pow(2,8*be)-1,0);var Le=1,Be=0;for(this[he]=255&ae;++Be>>=0,be>>>=0,ke||H(this,ae,he,be,Math.pow(2,8*be)-1,0);var Le=be-1,Be=1;for(this[he+Le]=255&ae;--Le>=0&&(Be*=256);)this[he+Le]=ae/Be&255;return he+be},f.prototype.writeUint8=f.prototype.writeUInt8=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,1,255,0),this[he]=255&ae,he+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,65535,0),this[he]=255&ae,this[he+1]=ae>>>8,he+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,65535,0),this[he]=ae>>>8,this[he+1]=255&ae,he+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,4294967295,0),this[he+3]=ae>>>24,this[he+2]=ae>>>16,this[he+1]=ae>>>8,this[he]=255&ae,he+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,4294967295,0),this[he]=ae>>>24,this[he+1]=ae>>>16,this[he+2]=ae>>>8,this[he+3]=255&ae,he+4},f.prototype.writeBigUInt64LE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,he,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeBigUInt64BE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,he,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeIntLE=function(ae,he,be,ke){if(ae=+ae,he>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,he,be,Le-1,-Le)}var Be=0,ze=1,je=0;for(this[he]=255&ae;++Be>0)-je&255;return he+be},f.prototype.writeIntBE=function(ae,he,be,ke){if(ae=+ae,he>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,he,be,Le-1,-Le)}var Be=be-1,ze=1,je=0;for(this[he+Be]=255&ae;--Be>=0&&(ze*=256);)ae<0&&je===0&&this[he+Be+1]!==0&&(je=1),this[he+Be]=(ae/ze>>0)-je&255;return he+be},f.prototype.writeInt8=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,1,127,-128),ae<0&&(ae=255+ae+1),this[he]=255&ae,he+1},f.prototype.writeInt16LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,32767,-32768),this[he]=255&ae,this[he+1]=ae>>>8,he+2},f.prototype.writeInt16BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,32767,-32768),this[he]=ae>>>8,this[he+1]=255&ae,he+2},f.prototype.writeInt32LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,2147483647,-2147483648),this[he]=255&ae,this[he+1]=ae>>>8,this[he+2]=ae>>>16,this[he+3]=ae>>>24,he+4},f.prototype.writeInt32BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),this[he]=ae>>>24,this[he+1]=ae>>>16,this[he+2]=ae>>>8,this[he+3]=255&ae,he+4},f.prototype.writeBigInt64LE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,he,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeBigInt64BE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,he,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeFloatLE=function(ae,he,be){return X(this,ae,he,!0,be)},f.prototype.writeFloatBE=function(ae,he,be){return X(this,ae,he,!1,be)},f.prototype.writeDoubleLE=function(ae,he,be){return Q(this,ae,he,!0,be)},f.prototype.writeDoubleBE=function(ae,he,be){return Q(this,ae,he,!1,be)},f.prototype.copy=function(ae,he,be,ke){if(!f.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(be||(be=0),ke||ke===0||(ke=this.length),he>=ae.length&&(he=ae.length),he||(he=0),ke>0&&ke=this.length)throw new RangeError("Index out of range");if(ke<0)throw new RangeError("sourceEnd out of bounds");ke>this.length&&(ke=this.length),ae.length-he>>=0,be=be===void 0?this.length:be>>>0,ae||(ae=0),typeof ae=="number")for(Be=he;Be"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Ee,Ve=p(ze);if(je){var Ye=p(this).constructor;Ee=Reflect.construct(Ve,arguments,Ye)}else Ee=Ve.apply(this,arguments);return M(this,Ee)});function we(){var Ee;return d(this,we),Ee=ge.call(this),Object.defineProperty(v(Ee),"message",{value:he.apply(v(Ee),arguments),writable:!0,configurable:!0}),Ee.name="".concat(Ee.name," [").concat(ae,"]"),Ee.stack,delete Ee.name,Ee}return Le=we,(Be=[{key:"code",get:function(){return ae},set:function(Ee){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Ee,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ae,"]: ").concat(this.message)}}])&&g(Le.prototype,Be),Object.defineProperty(Le,"prototype",{writable:!1}),we}(be)}function oe(ae){for(var he="",be=ae.length,ke=ae[0]==="-"?1:0;be>=ke+4;be-=3)he="_".concat(ae.slice(be-3,be)).concat(he);return"".concat(ae.slice(0,be)).concat(he)}function ue(ae,he,be,ke,Le,Be){if(ae>be||ae3?he===0||he===BigInt(0)?">= 0".concat(je," and < 2").concat(je," ** ").concat(8*(Be+1)).concat(je):">= -(2".concat(je," ** ").concat(8*(Be+1)-1).concat(je,") and < 2 ** ")+"".concat(8*(Be+1)-1).concat(je):">= ".concat(he).concat(je," and <= ").concat(be).concat(je),new re.ERR_OUT_OF_RANGE("value",ze,ae)}(function(ge,we,Ee){ce(we,"offset"),ge[we]!==void 0&&ge[we+Ee]!==void 0||ye(we,ge.length-(Ee+1))})(ke,Le,Be)}function ce(ae,he){if(typeof ae!="number")throw new re.ERR_INVALID_ARG_TYPE(he,"number",ae)}function ye(ae,he,be){throw Math.floor(ae)!==ae?(ce(ae,be),new re.ERR_OUT_OF_RANGE(be||"offset","an integer",ae)):he<0?new re.ERR_BUFFER_OUT_OF_BOUNDS:new re.ERR_OUT_OF_RANGE(be||"offset",">= ".concat(be?1:0," and <= ").concat(he),ae)}ie("ERR_BUFFER_OUT_OF_BOUNDS",function(ae){return ae?"".concat(ae," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),ie("ERR_INVALID_ARG_TYPE",function(ae,he){return'The "'.concat(ae,'" argument must be of type number. Received type ').concat(u(he))},TypeError),ie("ERR_OUT_OF_RANGE",function(ae,he,be){var ke='The value of "'.concat(ae,'" is out of range.'),Le=be;return Number.isInteger(be)&&Math.abs(be)>Math.pow(2,32)?Le=oe(String(be)):typeof be=="bigint"&&(Le=String(be),(be>Math.pow(BigInt(2),BigInt(32))||be<-Math.pow(BigInt(2),BigInt(32)))&&(Le=oe(Le)),Le+="n"),ke+" It must be ".concat(he,". Received ").concat(Le)},RangeError);var de=/[^+/0-9A-Za-z-_]/g;function me(ae,he){var be;he=he||1/0;for(var ke=ae.length,Le=null,Be=[],ze=0;ze55295&&be<57344){if(!Le){if(be>56319){(he-=3)>-1&&Be.push(239,191,189);continue}if(ze+1===ke){(he-=3)>-1&&Be.push(239,191,189);continue}Le=be;continue}if(be<56320){(he-=3)>-1&&Be.push(239,191,189),Le=be;continue}be=65536+(Le-55296<<10|be-56320)}else Le&&(he-=3)>-1&&Be.push(239,191,189);if(Le=null,be<128){if((he-=1)<0)break;Be.push(be)}else if(be<2048){if((he-=2)<0)break;Be.push(be>>6|192,63&be|128)}else if(be<65536){if((he-=3)<0)break;Be.push(be>>12|224,be>>6&63|128,63&be|128)}else{if(!(be<1114112))throw new Error("Invalid code point");if((he-=4)<0)break;Be.push(be>>18|240,be>>12&63|128,be>>6&63|128,63&be|128)}}return Be}function pe(ae){return a.toByteArray(function(he){if((he=(he=he.split("=")[0]).trim().replace(de,"")).length<2)return"";for(;he.length%4!=0;)he+="=";return he}(ae))}function xe(ae,he,be,ke){var Le;for(Le=0;Le=he.length||Le>=ae.length);++Le)he[Le+be]=ae[Le];return Le}function Pe(ae,he){return ae instanceof he||ae!=null&&ae.constructor!=null&&ae.constructor.name!=null&&ae.constructor.name===he.name}function _e(ae){return ae!=ae}var Me=function(){for(var ae="0123456789abcdef",he=new Array(256),be=0;be<16;++be)for(var ke=16*be,Le=0;Le<16;++Le)he[ke+Le]=ae[be]+ae[Le];return he}();function Se(ae){return typeof BigInt>"u"?Ce:ae}function Ce(){throw new Error("BigInt not supported")}},35791:function(x){x.exports=g,x.exports.isMobile=g,x.exports.default=g;var o=/(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,t=/CrOS/,d=/android|ipad|playbook|silk/i;function g(i){i||(i={});var M=i.ua;if(M||typeof navigator>"u"||(M=navigator.userAgent),M&&M.headers&&typeof M.headers["user-agent"]=="string"&&(M=M.headers["user-agent"]),typeof M!="string")return!1;var v=o.test(M)&&!t.test(M)||!!i.tablet&&d.test(M);return!v&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&M.indexOf("Macintosh")!==-1&&M.indexOf("Safari")!==-1&&(v=!0),v}},86781:function(x,o,t){t.r(o),t.d(o,{sankeyCenter:function(){return s},sankeyCircular:function(){return R},sankeyJustify:function(){return c},sankeyLeft:function(){return u},sankeyRight:function(){return a}});var d=t(33064),g=t(15140),i=t(45879),M=t(2502),v=t.n(M);function p(pe){return pe.target.depth}function u(pe){return pe.depth}function a(pe,xe){return xe-1-pe.height}function c(pe,xe){return pe.sourceLinks.length?pe.depth:xe-1}function s(pe){return pe.targetLinks.length?pe.depth:pe.sourceLinks.length?(0,d.VV)(pe.sourceLinks,p)-1:0}function l(pe){return function(){return pe}}var h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(pe){return typeof pe}:function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe};function f(pe,xe){return _(pe.source,xe.source)||pe.index-xe.index}function m(pe,xe){return _(pe.target,xe.target)||pe.index-xe.index}function _(pe,xe){return pe.partOfCycle===xe.partOfCycle?pe.y0-xe.y0:pe.circularLinkType==="top"||xe.circularLinkType==="bottom"?-1:1}function y(pe){return pe.value}function C(pe){return(pe.y0+pe.y1)/2}function w(pe){return C(pe.source)}function k(pe){return C(pe.target)}function E(pe){return pe.index}function T(pe){return pe.nodes}function A(pe){return pe.links}function L(pe,xe){var Pe=pe.get(xe);if(!Pe)throw new Error("missing: "+xe);return Pe}function b(pe,xe){return xe(pe)}var O=25,I=10;function R(){var pe,xe,Pe=0,_e=0,Me=1,Se=1,Ce=24,ae=E,he=c,be=T,ke=A,Le=32,Be=2,ze=null;function je(){var $e={nodes:be.apply(null,arguments),links:ke.apply(null,arguments)};ge($e),z($e,0,ze),we($e),Ee($e),F($e,ae),Ve($e,Le,ae),Ye($e);for(var st=4,ot=0;ot0?Je+O+I:Je,bottom:We=We>0?We+O+I:We,left:ht=ht>0?ht+O+I:ht,right:nt=nt>0?nt+O+I:nt}}($e),Vt=function(Ke,Je){var We=(0,d.Fp)(Ke.nodes,function(Qe){return Qe.column}),nt=Me-Pe,ht=Se-_e,Oe=nt/(nt+Je.right+Je.left),Ne=ht/(ht+Je.top+Je.bottom);return Pe=Pe*Oe+Je.left,Me=Je.right==0?Me:Me*Oe,_e=_e*Ne+Je.top,Se*=Ne,Ke.nodes.forEach(function(Qe){Qe.x0=Pe+Qe.column*((Me-Pe-Ce)/We),Qe.x1=Qe.x0+Ce}),Ne}($e,Wt);Bt*=Vt,$e.links.forEach(function(Ke){Ke.width=Ke.value*Bt}),ft.forEach(function(Ke){var Je=Ke.length;Ke.forEach(function(We,nt){We.depth==ft.length-1&&Je==1||We.depth==0&&Je==1?(We.y0=Se/2-We.value*Bt,We.y1=We.y0+We.value*Bt):We.partOfCycle?N(We,Ft)==0?(We.y0=Se/2+nt,We.y1=We.y0+We.value*Bt):We.circularLinkType=="top"?(We.y0=_e+nt,We.y1=We.y0+We.value*Bt):(We.y0=Se-We.value*Bt-nt,We.y1=We.y0+We.value*Bt):Wt.top==0||Wt.bottom==0?(We.y0=(Se-_e)/Je*nt,We.y1=We.y0+We.value*Bt):(We.y0=(Se-_e)/2-Je/2+nt,We.y1=We.y0+We.value*Bt)})})})(ot),xt();for(var bt=1,Et=st;Et>0;--Et)kt(bt*=.99,ot),xt();function kt(Ft,Dt){var Bt=ft.length;ft.forEach(function(Wt){var Vt=Wt.length,Ke=Wt[0].depth;Wt.forEach(function(Je){var We;if((Je.sourceLinks.length||Je.targetLinks.length)&&!(Je.partOfCycle&&N(Je,Dt)>0))if(Ke==0&&Vt==1)We=Je.y1-Je.y0,Je.y0=Se/2-We/2,Je.y1=Se/2+We/2;else if(Ke==Bt-1&&Vt==1)We=Je.y1-Je.y0,Je.y0=Se/2-We/2,Je.y1=Se/2+We/2;else{var nt=(0,d.J6)(Je.sourceLinks,k),ht=(0,d.J6)(Je.targetLinks,w),Oe=((nt&&ht?(nt+ht)/2:nt||ht)-C(Je))*Ft;Je.y0+=Oe,Je.y1+=Oe}})})}function xt(){ft.forEach(function(Ft){var Dt,Bt,Wt,Vt=_e,Ke=Ft.length;for(Ft.sort(_),Wt=0;Wt0&&(Dt.y0+=Bt,Dt.y1+=Bt),Vt=Dt.y1+pe;if((Bt=Vt-pe-Se)>0)for(Vt=Dt.y0-=Bt,Dt.y1-=Bt,Wt=Ke-2;Wt>=0;--Wt)(Bt=(Dt=Ft[Wt]).y1+pe-Vt)>0&&(Dt.y0-=Bt,Dt.y1-=Bt),Vt=Dt.y0})}}function Ye($e){$e.nodes.forEach(function(st){st.sourceLinks.sort(m),st.targetLinks.sort(f)}),$e.nodes.forEach(function(st){var ot=st.y0,ft=ot,bt=st.y1,Et=bt;st.sourceLinks.forEach(function(kt){kt.circular?(kt.y0=bt-kt.width/2,bt-=kt.width):(kt.y0=ot+kt.width/2,ot+=kt.width)}),st.targetLinks.forEach(function(kt){kt.circular?(kt.y1=Et-kt.width/2,Et-=kt.width):(kt.y1=ft+kt.width/2,ft+=kt.width)})})}return je.nodeId=function($e){return arguments.length?(ae=typeof $e=="function"?$e:l($e),je):ae},je.nodeAlign=function($e){return arguments.length?(he=typeof $e=="function"?$e:l($e),je):he},je.nodeWidth=function($e){return arguments.length?(Ce=+$e,je):Ce},je.nodePadding=function($e){return arguments.length?(pe=+$e,je):pe},je.nodes=function($e){return arguments.length?(be=typeof $e=="function"?$e:l($e),je):be},je.links=function($e){return arguments.length?(ke=typeof $e=="function"?$e:l($e),je):ke},je.size=function($e){return arguments.length?(Pe=_e=0,Me=+$e[0],Se=+$e[1],je):[Me-Pe,Se-_e]},je.extent=function($e){return arguments.length?(Pe=+$e[0][0],Me=+$e[1][0],_e=+$e[0][1],Se=+$e[1][1],je):[[Pe,_e],[Me,Se]]},je.iterations=function($e){return arguments.length?(Le=+$e,je):Le},je.circularLinkGap=function($e){return arguments.length?(Be=+$e,je):Be},je.nodePaddingRatio=function($e){return arguments.length?(xe=+$e,je):xe},je.sortNodes=function($e){return arguments.length?(ze=$e,je):ze},je.update=function($e){return F($e,ae),Ye($e),$e.links.forEach(function(st){st.circular&&(st.circularLinkType=st.y0+st.y11||Me>1)}function j(pe,xe,Pe){return pe.sort(U),pe.forEach(function(_e,Me){var Se,Ce,ae=0;if(de(_e,Pe)&&q(_e))_e.circularPathData.verticalBuffer=ae+_e.width/2;else{for(var he=0;heCe.source.column)){var be=pe[he].circularPathData.verticalBuffer+pe[he].width/2+xe;ae=be>ae?be:ae}_e.circularPathData.verticalBuffer=ae+_e.width/2}}),pe}function Y(pe,xe,Pe,_e){var Me=(0,d.VV)(pe.links,function(Se){return Se.source.y0});pe.links.forEach(function(Se){Se.circular&&(Se.circularPathData={})}),j(pe.links.filter(function(Se){return Se.circularLinkType=="top"}),xe,_e),j(pe.links.filter(function(Se){return Se.circularLinkType=="bottom"}),xe,_e),pe.links.forEach(function(Se){if(Se.circular){if(Se.circularPathData.arcRadius=Se.width+I,Se.circularPathData.leftNodeBuffer=5,Se.circularPathData.rightNodeBuffer=5,Se.circularPathData.sourceWidth=Se.source.x1-Se.source.x0,Se.circularPathData.sourceX=Se.source.x0+Se.circularPathData.sourceWidth,Se.circularPathData.targetX=Se.target.x0,Se.circularPathData.sourceY=Se.y0,Se.circularPathData.targetY=Se.y1,de(Se,_e)&&q(Se))Se.circularPathData.leftSmallArcRadius=I+Se.width/2,Se.circularPathData.leftLargeArcRadius=I+Se.width/2,Se.circularPathData.rightSmallArcRadius=I+Se.width/2,Se.circularPathData.rightLargeArcRadius=I+Se.width/2,Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Se.source.y1+O+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Se.source.y0-O-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius);else{var Ce=Se.source.column,ae=Se.circularLinkType,he=pe.links.filter(function(Le){return Le.source.column==Ce&&Le.circularLinkType==ae});Se.circularLinkType=="bottom"?he.sort(W):he.sort(G);var be=0;he.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.leftSmallArcRadius=I+Se.width/2+be,Se.circularPathData.leftLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Ce=Se.target.column,he=pe.links.filter(function(Le){return Le.target.column==Ce&&Le.circularLinkType==ae}),Se.circularLinkType=="bottom"?he.sort(ne):he.sort(H),be=0,he.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.rightSmallArcRadius=I+Se.width/2+be,Se.circularPathData.rightLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Math.max(Pe,Se.source.y1,Se.target.y1)+O+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Me-O-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius)}Se.circularPathData.leftInnerExtent=Se.circularPathData.sourceX+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightInnerExtent=Se.circularPathData.targetX-Se.circularPathData.rightNodeBuffer,Se.circularPathData.leftFullExtent=Se.circularPathData.sourceX+Se.circularPathData.leftLargeArcRadius+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightFullExtent=Se.circularPathData.targetX-Se.circularPathData.rightLargeArcRadius-Se.circularPathData.rightNodeBuffer}if(Se.circular)Se.path=function(Le){return Le.circularLinkType=="top"?"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 0 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY-Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 0 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 0 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY-Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 0 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY:"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 1 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY+Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 1 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 1 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY+Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 1 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY}(Se);else{var ke=(0,i.h5)().source(function(Le){return[Le.source.x0+(Le.source.x1-Le.source.x0),Le.y0]}).target(function(Le){return[Le.target.x0,Le.y1]});Se.path=ke(Se)}})}function U(pe,xe){return te(pe)==te(xe)?pe.circularLinkType=="bottom"?W(pe,xe):G(pe,xe):te(xe)-te(pe)}function G(pe,xe){return pe.y0-xe.y0}function W(pe,xe){return xe.y0-pe.y0}function H(pe,xe){return pe.y1-xe.y1}function ne(pe,xe){return xe.y1-pe.y1}function te(pe){return pe.target.column-pe.source.column}function Z(pe){return pe.target.x0-pe.source.x1}function X(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1+_e:pe.y1-_e}function Q(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1-_e:pe.y1+_e}function re(pe,xe,Pe,_e){pe.links.forEach(function(Me){if(!Me.circular&&Me.target.column-Me.source.column>1){var Se=Me.source.column+1,Ce=Me.target.column-1,ae=1,he=Ce-Se+1;for(ae=1;Se<=Ce;Se++,ae++)pe.nodes.forEach(function(be){if(be.column==Se){var ke,Le=ae/(he+1),Be=Math.pow(1-Le,3),ze=3*Le*Math.pow(1-Le,2),je=3*Math.pow(Le,2)*(1-Le),ge=Math.pow(Le,3),we=Be*Me.y0+ze*Me.y0+je*Me.y1+ge*Me.y1,Ee=we-Me.width/2,Ve=we+Me.width/2;Ee>be.y0&&Eest.y0&&$e.y0st.y0&&$e.y1st.y1)&&ie(Ye,ke,xe,Pe)})):(Ve>be.y0&&Vebe.y1)&&(ke=Ve-be.y0+10,be=ie(be,ke,xe,Pe),pe.nodes.forEach(function(Ye){b(Ye,_e)!=b(be,_e)&&Ye.column==be.column&&Ye.y0be.y1&&ie(Ye,ke,xe,Pe)}))}})}})}function ie(pe,xe,Pe,_e){return pe.y0+xe>=Pe&&pe.y1+xe<=_e&&(pe.y0=pe.y0+xe,pe.y1=pe.y1+xe,pe.targetLinks.forEach(function(Me){Me.y1=Me.y1+xe}),pe.sourceLinks.forEach(function(Me){Me.y0=Me.y0+xe})),pe}function oe(pe,xe,Pe,_e){pe.nodes.forEach(function(Me){_e&&Me.y+(Me.y1-Me.y0)>xe&&(Me.y=Me.y-(Me.y+(Me.y1-Me.y0)-xe));var Se=pe.links.filter(function(he){return b(he.source,Pe)==b(Me,Pe)}),Ce=Se.length;Ce>1&&Se.sort(function(he,be){if(!he.circular&&!be.circular){if(he.target.column==be.target.column||!ce(he,be))return he.y1-be.y1;if(he.target.column>be.target.column){var ke=Q(be,he);return he.y1-ke}if(be.target.column>he.target.column)return Q(he,be)-be.y1}return he.circular&&!be.circular?he.circularLinkType=="top"?-1:1:be.circular&&!he.circular?be.circularLinkType=="top"?1:-1:he.circular&&be.circular?he.circularLinkType===be.circularLinkType&&he.circularLinkType=="top"?he.target.column===be.target.column?he.target.y1-be.target.y1:be.target.column-he.target.column:he.circularLinkType===be.circularLinkType&&he.circularLinkType=="bottom"?he.target.column===be.target.column?be.target.y1-he.target.y1:he.target.column-be.target.column:he.circularLinkType=="top"?-1:1:void 0});var ae=Me.y0;Se.forEach(function(he){he.y0=ae+he.width/2,ae+=he.width}),Se.forEach(function(he,be){if(he.circularLinkType=="bottom"){for(var ke=be+1,Le=0;ke1&&Me.sort(function(ae,he){if(!ae.circular&&!he.circular){if(ae.source.column==he.source.column||!ce(ae,he))return ae.y0-he.y0;if(he.source.column0?"up":"down"}function de(pe,xe){return b(pe.source,xe)==b(pe.target,xe)}function me(pe,xe,Pe){var _e=pe.nodes,Me=pe.links,Se=!1,Ce=!1;if(Me.forEach(function(be){be.circularLinkType=="top"?Se=!0:be.circularLinkType=="bottom"&&(Ce=!0)}),Se==0||Ce==0){var ae=(0,d.VV)(_e,function(be){return be.y0}),he=(Pe-xe)/((0,d.Fp)(_e,function(be){return be.y1})-ae);_e.forEach(function(be){var ke=(be.y1-be.y0)*he;be.y0=(be.y0-ae)*he,be.y1=be.y0+ke}),Me.forEach(function(be){be.y0=(be.y0-ae)*he,be.y1=(be.y1-ae)*he,be.width=be.width*he})}}},30838:function(x,o,t){t.r(o),t.d(o,{sankey:function(){return E},sankeyCenter:function(){return u},sankeyJustify:function(){return p},sankeyLeft:function(){return M},sankeyLinkHorizontal:function(){return b},sankeyRight:function(){return v}});var d=t(33064),g=t(15140);function i(O){return O.target.depth}function M(O){return O.depth}function v(O,I){return I-1-O.height}function p(O,I){return O.sourceLinks.length?O.depth:I-1}function u(O){return O.targetLinks.length?O.depth:O.sourceLinks.length?(0,d.VV)(O.sourceLinks,i)-1:0}function a(O){return function(){return O}}function c(O,I){return l(O.source,I.source)||O.index-I.index}function s(O,I){return l(O.target,I.target)||O.index-I.index}function l(O,I){return O.y0-I.y0}function h(O){return O.value}function f(O){return(O.y0+O.y1)/2}function m(O){return f(O.source)*O.value}function _(O){return f(O.target)*O.value}function y(O){return O.index}function C(O){return O.nodes}function w(O){return O.links}function k(O,I){var R=O.get(I);if(!R)throw new Error("missing: "+I);return R}function E(){var O=0,I=0,R=1,z=1,F=24,B=8,N=y,q=p,j=C,Y=w,U=32;function G(){var X={nodes:j.apply(null,arguments),links:Y.apply(null,arguments)};return W(X),H(X),ne(X),te(X),Z(X),X}function W(X){X.nodes.forEach(function(re,ie){re.index=ie,re.sourceLinks=[],re.targetLinks=[]});var Q=(0,g.UI)(X.nodes,N);X.links.forEach(function(re,ie){re.index=ie;var oe=re.source,ue=re.target;typeof oe!="object"&&(oe=re.source=k(Q,oe)),typeof ue!="object"&&(ue=re.target=k(Q,ue)),oe.sourceLinks.push(re),ue.targetLinks.push(re)})}function H(X){X.nodes.forEach(function(Q){Q.value=Math.max((0,d.Sm)(Q.sourceLinks,h),(0,d.Sm)(Q.targetLinks,h))})}function ne(X){var Q,re,ie;for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.depth=ie,ue.sourceLinks.forEach(function(ce){re.indexOf(ce.target)<0&&re.push(ce.target)})});for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.height=ie,ue.targetLinks.forEach(function(ce){re.indexOf(ce.source)<0&&re.push(ce.source)})});var oe=(R-O-F)/(ie-1);X.nodes.forEach(function(ue){ue.x1=(ue.x0=O+Math.max(0,Math.min(ie-1,Math.floor(q.call(null,ue,ie))))*oe)+F})}function te(X){var Q=(0,g.b1)().key(function(ye){return ye.x0}).sortKeys(d.j2).entries(X.nodes).map(function(ye){return ye.values});(function(){var ye=(0,d.Fp)(Q,function(pe){return pe.length}),de=.6666666666666666*(z-I)/(ye-1);B>de&&(B=de);var me=(0,d.VV)(Q,function(pe){return(z-I-(pe.length-1)*B)/(0,d.Sm)(pe,h)});Q.forEach(function(pe){pe.forEach(function(xe,Pe){xe.y1=(xe.y0=Pe)+xe.value*me})}),X.links.forEach(function(pe){pe.width=pe.value*me})})(),ce();for(var re=1,ie=U;ie>0;--ie)ue(re*=.99),ce(),oe(re),ce();function oe(ye){Q.forEach(function(de){de.forEach(function(me){if(me.targetLinks.length){var pe=((0,d.Sm)(me.targetLinks,m)/(0,d.Sm)(me.targetLinks,h)-f(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ue(ye){Q.slice().reverse().forEach(function(de){de.forEach(function(me){if(me.sourceLinks.length){var pe=((0,d.Sm)(me.sourceLinks,_)/(0,d.Sm)(me.sourceLinks,h)-f(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ce(){Q.forEach(function(ye){var de,me,pe,xe=I,Pe=ye.length;for(ye.sort(l),pe=0;pe0&&(de.y0+=me,de.y1+=me),xe=de.y1+B;if((me=xe-B-z)>0)for(xe=de.y0-=me,de.y1-=me,pe=Pe-2;pe>=0;--pe)(me=(de=ye[pe]).y1+B-xe)>0&&(de.y0-=me,de.y1-=me),xe=de.y0})}}function Z(X){X.nodes.forEach(function(Q){Q.sourceLinks.sort(s),Q.targetLinks.sort(c)}),X.nodes.forEach(function(Q){var re=Q.y0,ie=re;Q.sourceLinks.forEach(function(oe){oe.y0=re+oe.width/2,re+=oe.width}),Q.targetLinks.forEach(function(oe){oe.y1=ie+oe.width/2,ie+=oe.width})})}return G.update=function(X){return Z(X),X},G.nodeId=function(X){return arguments.length?(N=typeof X=="function"?X:a(X),G):N},G.nodeAlign=function(X){return arguments.length?(q=typeof X=="function"?X:a(X),G):q},G.nodeWidth=function(X){return arguments.length?(F=+X,G):F},G.nodePadding=function(X){return arguments.length?(B=+X,G):B},G.nodes=function(X){return arguments.length?(j=typeof X=="function"?X:a(X),G):j},G.links=function(X){return arguments.length?(Y=typeof X=="function"?X:a(X),G):Y},G.size=function(X){return arguments.length?(O=I=0,R=+X[0],z=+X[1],G):[R-O,z-I]},G.extent=function(X){return arguments.length?(O=+X[0][0],R=+X[1][0],I=+X[0][1],z=+X[1][1],G):[[O,I],[R,z]]},G.iterations=function(X){return arguments.length?(U=+X,G):U},G}var T=t(45879);function A(O){return[O.source.x1,O.y0]}function L(O){return[O.target.x0,O.y1]}function b(){return(0,T.h5)().source(A).target(L)}},39898:function(x,o,t){var d,g;(function(){var i={version:"3.8.0"},M=[].slice,v=function(se){return M.call(se)},p=self.document;function u(se){return se&&(se.ownerDocument||se.document||se).documentElement}function a(se){return se&&(se.ownerDocument&&se.ownerDocument.defaultView||se.document&&se||se.defaultView)}if(p)try{v(p.documentElement.childNodes)[0].nodeType}catch{v=function(ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=ve[Ie];return Fe}}if(Date.now||(Date.now=function(){return+new Date}),p)try{p.createElement("DIV").style.setProperty("opacity",0,"")}catch{var c=this.Element.prototype,s=c.setAttribute,l=c.setAttributeNS,h=this.CSSStyleDeclaration.prototype,f=h.setProperty;c.setAttribute=function(ve,Ie){s.call(this,ve,Ie+"")},c.setAttributeNS=function(ve,Ie,Fe){l.call(this,ve,Ie,Fe+"")},h.setProperty=function(ve,Ie,Fe){f.call(this,ve,Ie+"",Fe)}}function m(se,ve){return seve?1:se>=ve?0:NaN}function _(se){return se===null?NaN:+se}function y(se){return!isNaN(se)}function C(se){return{left:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[qe],Ie)<0?Fe=qe+1:Ue=qe}return Fe},right:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[qe],Ie)>0?Ue=qe:Fe=qe+1}return Fe}}}i.ascending=m,i.descending=function(se,ve){return vese?1:ve>=se?0:NaN},i.min=function(se,ve){var Ie,Fe,Ue=-1,qe=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}return Ie},i.max=function(se,ve){var Ie,Fe,Ue=-1,qe=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}return Ie},i.extent=function(se,ve){var Ie,Fe,Ue,qe=-1,Xe=se.length;if(arguments.length===1){for(;++qe=Fe){Ie=Ue=Fe;break}for(;++qeFe&&(Ie=Fe),Ue=Fe){Ie=Ue=Fe;break}for(;++qeFe&&(Ie=Fe),Ue1)return Xe/(lt-1)},i.deviation=function(){var se=i.variance.apply(this,arguments);return se&&Math.sqrt(se)};var w=C(m);function k(se){return se.length}i.bisectLeft=w.left,i.bisect=i.bisectRight=w.right,i.bisector=function(se){return C(se.length===1?function(ve,Ie){return m(se(ve),Ie)}:se)},i.shuffle=function(se,ve,Ie){(qe=arguments.length)<3&&(Ie=se.length,qe<2&&(ve=0));for(var Fe,Ue,qe=Ie-ve;qe;)Ue=Math.random()*qe--|0,Fe=se[qe+ve],se[qe+ve]=se[Ue+ve],se[Ue+ve]=Fe;return se},i.permute=function(se,ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=se[ve[Ie]];return Fe},i.pairs=function(se){for(var ve=0,Ie=se.length-1,Fe=se[0],Ue=new Array(Ie<0?0:Ie);ve=0;)for(ve=(Fe=se[Ue]).length;--ve>=0;)Ie[--Xe]=Fe[ve];return Ie};var E=Math.abs;function T(se){for(var ve=1;se*ve%1;)ve*=10;return ve}function A(se,ve){for(var Ie in ve)Object.defineProperty(se.prototype,Ie,{value:ve[Ie],enumerable:!1})}function L(){this._=Object.create(null)}function b(se){return(se+="")=="__proto__"||se[0]==="\0"?"\0"+se:se}function O(se){return(se+="")[0]==="\0"?se.slice(1):se}function I(se){return b(se)in this._}function R(se){return(se=b(se))in this._&&delete this._[se]}function z(){var se=[];for(var ve in this._)se.push(O(ve));return se}function F(){var se=0;for(var ve in this._)++se;return se}function B(){for(var se in this._)return!1;return!0}function N(){this._=Object.create(null)}function q(se){return se}function j(se,ve,Ie){return function(){var Fe=Ie.apply(ve,arguments);return Fe===ve?se:Fe}}function Y(se,ve){if(ve in se)return ve;ve=ve.charAt(0).toUpperCase()+ve.slice(1);for(var Ie=0,Fe=U.length;Ieve;)Ue.push(Fe/qe);else for(;(Fe=se+Ie*++Xe)=Fe.length)return ve?ve.call(Ie,lt):se?lt.sort(se):lt;for(var zt,Ut,Ht,en,vn=-1,tn=lt.length,ln=Fe[gt++],an=new L;++vn=Fe.length)return tt;var gt=[],zt=Ue[lt++];return tt.forEach(function(Ut,Ht){gt.push({key:Ut,values:Xe(Ht,lt)})}),zt?gt.sort(function(Ut,Ht){return zt(Ut.key,Ht.key)}):gt}return Ie.map=function(tt,lt){return qe(lt,tt,0)},Ie.entries=function(tt){return Xe(qe(i.map,tt,0),0)},Ie.key=function(tt){return Fe.push(tt),Ie},Ie.sortKeys=function(tt){return Ue[Fe.length-1]=tt,Ie},Ie.sortValues=function(tt){return se=tt,Ie},Ie.rollup=function(tt){return ve=tt,Ie},Ie},i.set=function(se){var ve=new N;if(se)for(var Ie=0,Fe=se.length;Ie=0&&(Fe=se.slice(Ie+1),se=se.slice(0,Ie)),se)return arguments.length<2?this[se].on(Fe):this[se].on(Fe,ve);if(arguments.length===2){if(ve==null)for(se in this)this.hasOwnProperty(se)&&this[se].on(Fe,null);return this}},i.event=null,i.requote=function(se){return se.replace(X,"\\$&")};var X=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Q={}.__proto__?function(se,ve){se.__proto__=ve}:function(se,ve){for(var Ie in ve)se[Ie]=ve[Ie]};function re(se){return Q(se,ce),se}var ie=function(se,ve){return ve.querySelector(se)},oe=function(se,ve){return ve.querySelectorAll(se)},ue=function(se,ve){var Ie=se.matches||se[Y(se,"matchesSelector")];return ue=function(Fe,Ue){return Ie.call(Fe,Ue)},ue(se,ve)};typeof Sizzle=="function"&&(ie=function(se,ve){return Sizzle(se,ve)[0]||null},oe=Sizzle,ue=Sizzle.matchesSelector),i.selection=function(){return i.select(p.documentElement)};var ce=i.selection.prototype=[];function ye(se){return typeof se=="function"?se:function(){return ie(se,this)}}function de(se){return typeof se=="function"?se:function(){return oe(se,this)}}ce.select=function(se){var ve,Ie,Fe,Ue,qe=[];se=ye(se);for(var Xe=-1,tt=this.length;++Xe=0&&(Ie=se.slice(0,ve))!=="xmlns"&&(se=se.slice(ve+1)),pe.hasOwnProperty(Ie)?{space:pe[Ie],local:se}:se}},ce.attr=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node();return(se=i.ns.qualify(se)).local?Ie.getAttributeNS(se.space,se.local):Ie.getAttribute(se)}for(ve in se)this.each(xe(ve,se[ve]));return this}return this.each(xe(se,ve))},ce.classed=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node(),Fe=(se=Me(se)).length,Ue=-1;if(ve=Ie.classList){for(;++Ue=0;)(Ie=Fe[Ue])&&(qe&&qe!==Ie.nextSibling&&qe.parentNode.insertBefore(Ie,qe),qe=Ie);return this},ce.sort=function(se){se=ze.apply(this,arguments);for(var ve=-1,Ie=this.length;++ve=ve&&(ve=Ue+1);!(Xe=tt[ve])&&++ve0&&(se=se.slice(0,Ue));var Xe=Ye.get(se);function tt(){var lt=this[Fe];lt&&(this.removeEventListener(se,lt,lt.$),delete this[Fe])}return Xe&&(se=Xe,qe=st),Ue?ve?function(){var lt=qe(ve,v(arguments));tt.call(this),this.addEventListener(se,this[Fe]=lt,lt.$=Ie),lt._=ve}:tt:ve?G:function(){var lt,gt=new RegExp("^__on([^.]+)"+i.requote(se)+"$");for(var zt in this)if(lt=zt.match(gt)){var Ut=this[zt];this.removeEventListener(lt[1],Ut,Ut.$),delete this[zt]}}}i.selection.enter=ge,i.selection.enter.prototype=we,we.append=ce.append,we.empty=ce.empty,we.node=ce.node,we.call=ce.call,we.size=ce.size,we.select=function(se){for(var ve,Ie,Fe,Ue,qe,Xe=[],tt=-1,lt=this.length;++tt1?Vt:se<-1?-Vt:Math.asin(se)}function nt(se){return((se=Math.exp(se))+1/se)/2}var ht=Math.SQRT2;i.interpolateZoom=function(se,ve){var Ie,Fe,Ue=se[0],qe=se[1],Xe=se[2],tt=ve[0],lt=ve[1],gt=ve[2],zt=tt-Ue,Ut=lt-qe,Ht=zt*zt+Ut*Ut;if(Ht<1e-12)Fe=Math.log(gt/Xe)/ht,Ie=function(Cn){return[Ue+Cn*zt,qe+Cn*Ut,Xe*Math.exp(ht*Cn*Fe)]};else{var en=Math.sqrt(Ht),vn=(gt*gt-Xe*Xe+4*Ht)/(2*Xe*2*en),tn=(gt*gt-Xe*Xe-4*Ht)/(2*gt*2*en),ln=Math.log(Math.sqrt(vn*vn+1)-vn),an=Math.log(Math.sqrt(tn*tn+1)-tn);Fe=(an-ln)/ht,Ie=function(Cn){var _n,on=Cn*Fe,Fn=nt(ln),Hn=Xe/(2*en)*(Fn*(_n=ht*on+ln,((_n=Math.exp(2*_n))-1)/(_n+1))-function(ir){return((ir=Math.exp(ir))-1/ir)/2}(ln));return[Ue+Hn*zt,qe+Hn*Ut,Xe*Fn/nt(ht*on+ln)]}}return Ie.duration=1e3*Fe,Ie},i.behavior.zoom=function(){var se,ve,Ie,Fe,Ue,qe,Xe,tt,lt,gt={x:0,y:0,k:1},zt=[960,500],Ut=Qe,Ht=250,en=0,vn="mousedown.zoom",tn="mousemove.zoom",ln="mouseup.zoom",an="touchstart.zoom",Cn=Z(_n,"zoomstart","zoom","zoomend");function _n(Mr){Mr.on(vn,Sr).on(Ne+".zoom",mi).on("dblclick.zoom",gi).on(an,Wr)}function on(Mr){return[(Mr[0]-gt.x)/gt.k,(Mr[1]-gt.y)/gt.k]}function Fn(Mr){gt.k=Math.max(Ut[0],Math.min(Ut[1],Mr))}function Hn(Mr,qr){qr=function(ci){return[ci[0]*gt.k+gt.x,ci[1]*gt.k+gt.y]}(qr),gt.x+=Mr[0]-qr[0],gt.y+=Mr[1]-qr[1]}function ir(Mr,qr,ci,ui){Mr.__chart__={x:gt.x,y:gt.y,k:gt.k},Fn(Math.pow(2,ui)),Hn(ve=qr,ci),Mr=i.select(Mr),Ht>0&&(Mr=Mr.transition().duration(Ht)),Mr.call(_n.event)}function ar(){Xe&&Xe.domain(qe.range().map(function(Mr){return(Mr-gt.x)/gt.k}).map(qe.invert)),lt&<.domain(tt.range().map(function(Mr){return(Mr-gt.y)/gt.k}).map(tt.invert))}function Cr(Mr){en++||Mr({type:"zoomstart"})}function Or(Mr){ar(),Mr({type:"zoom",scale:gt.k,translate:[gt.x,gt.y]})}function _r(Mr){--en||(Mr({type:"zoomend"}),ve=null)}function Sr(){var Mr=this,qr=Cn.of(Mr,arguments),ci=0,ui=i.select(a(Mr)).on(tn,Ui).on(ln,aa),Ri=on(i.mouse(Mr)),_i=bt(Mr);function Ui(){ci=1,Hn(i.mouse(Mr),Ri),Or(qr)}function aa(){ui.on(tn,null).on(ln,null),_i(ci),_r(qr)}ua.call(Mr),Cr(qr)}function Wr(){var Mr,qr=this,ci=Cn.of(qr,arguments),ui={},Ri=0,_i=".zoom-"+i.event.changedTouches[0].identifier,Ui="touchmove"+_i,aa="touchend"+_i,ya=[],ca=i.select(qr),na=bt(qr);function oa(){var Ka=i.touches(qr);return Mr=gt.k,Ka.forEach(function(hi){hi.identifier in ui&&(ui[hi.identifier]=on(hi))}),Ka}function fa(){var Ka=i.event.target;i.select(Ka).on(Ui,Pa).on(aa,Bl),ya.push(Ka);for(var hi=i.event.changedTouches,ho=0,wo=hi.length;ho1){zi=Ea[0];var Ja=Ea[1],Wo=zi[0]-Ja[0],Kc=zi[1]-Ja[1];Ri=Wo*Wo+Kc*Kc}}function Pa(){var Ka,hi,ho,wo,Ea=i.touches(qr);ua.call(qr);for(var Rs=0,zi=Ea.length;Rs360?tt-=360:tt<0&&(tt+=360),tt<60?Fe+(Ue-Fe)*tt/60:tt<180?Ue:tt<240?Fe+(Ue-Fe)*(240-tt)/60:Fe}(Xe))}return se=isNaN(se)?0:(se%=360)<0?se+360:se,ve=isNaN(ve)||ve<0?0:ve>1?1:ve,Fe=2*(Ie=Ie<0?0:Ie>1?1:Ie)-(Ue=Ie<=.5?Ie*(1+ve):Ie+ve-Ie*ve),new An(qe(se+120),qe(se),qe(se-120))}function Lt(se,ve,Ie){return this instanceof Lt?(this.h=+se,this.c=+ve,void(this.l=+Ie)):arguments.length<2?se instanceof Lt?new Lt(se.h,se.c,se.l):Qt(se instanceof wt?se.l:(se=Rn((se=i.rgb(se)).r,se.g,se.b)).l,se.a,se.b):new Lt(se,ve,Ie)}_t.brighter=function(se){return se=Math.pow(.7,arguments.length?se:1),new pt(this.h,this.s,this.l/se)},_t.darker=function(se){return se=Math.pow(.7,arguments.length?se:1),new pt(this.h,this.s,se*this.l)},_t.rgb=function(){return It(this.h,this.s,this.l)},i.hcl=Lt;var yt=Lt.prototype=new ut;function Pt(se,ve,Ie){return isNaN(se)&&(se=0),isNaN(ve)&&(ve=0),new wt(Ie,Math.cos(se*=Ke)*ve,Math.sin(se)*ve)}function wt(se,ve,Ie){return this instanceof wt?(this.l=+se,this.a=+ve,void(this.b=+Ie)):arguments.length<2?se instanceof wt?new wt(se.l,se.a,se.b):se instanceof Lt?Pt(se.h,se.c,se.l):Rn((se=An(se)).r,se.g,se.b):new wt(se,ve,Ie)}yt.brighter=function(se){return new Lt(this.h,this.c,Math.min(100,this.l+Ot*(arguments.length?se:1)))},yt.darker=function(se){return new Lt(this.h,this.c,Math.max(0,this.l-Ot*(arguments.length?se:1)))},yt.rgb=function(){return Pt(this.h,this.c,this.l).rgb()},i.lab=wt;var Ot=18,Nt=.95047,$t=1.08883,qt=wt.prototype=new ut;function Xt(se,ve,Ie){var Fe=(se+16)/116,Ue=Fe+ve/500,qe=Fe-Ie/200;return new An(un(3.2404542*(Ue=rn(Ue)*Nt)-1.5371385*(Fe=1*rn(Fe))-.4985314*(qe=rn(qe)*$t)),un(-.969266*Ue+1.8760108*Fe+.041556*qe),un(.0556434*Ue-.2040259*Fe+1.0572252*qe))}function Qt(se,ve,Ie){return se>0?new Lt(Math.atan2(Ie,ve)*Je,Math.sqrt(ve*ve+Ie*Ie),se):new Lt(NaN,NaN,se)}function rn(se){return se>.206893034?se*se*se:(se-.13793103448275862)/7.787037}function xn(se){return se>.008856?Math.pow(se,.3333333333333333):7.787037*se+.13793103448275862}function un(se){return Math.round(255*(se<=.00304?12.92*se:1.055*Math.pow(se,.4166666666666667)-.055))}function An(se,ve,Ie){return this instanceof An?(this.r=~~se,this.g=~~ve,void(this.b=~~Ie)):arguments.length<2?se instanceof An?new An(se.r,se.g,se.b):dn(""+se,An,It):new An(se,ve,Ie)}function Yn(se){return new An(se>>16,se>>8&255,255&se)}function kn(se){return Yn(se)+""}qt.brighter=function(se){return new wt(Math.min(100,this.l+Ot*(arguments.length?se:1)),this.a,this.b)},qt.darker=function(se){return new wt(Math.max(0,this.l-Ot*(arguments.length?se:1)),this.a,this.b)},qt.rgb=function(){return Xt(this.l,this.a,this.b)},i.rgb=An;var sn=An.prototype=new ut;function Tn(se){return se<16?"0"+Math.max(0,se).toString(16):Math.min(255,se).toString(16)}function dn(se,ve,Ie){var Fe,Ue,qe,Xe=0,tt=0,lt=0;if(Fe=/([a-z]+)\((.*)\)/.exec(se=se.toLowerCase()))switch(Ue=Fe[2].split(","),Fe[1]){case"hsl":return Ie(parseFloat(Ue[0]),parseFloat(Ue[1])/100,parseFloat(Ue[2])/100);case"rgb":return ve(jn(Ue[0]),jn(Ue[1]),jn(Ue[2]))}return(qe=Gn.get(se))?ve(qe.r,qe.g,qe.b):(se==null||se.charAt(0)!=="#"||isNaN(qe=parseInt(se.slice(1),16))||(se.length===4?(Xe=(3840&qe)>>4,Xe|=Xe>>4,tt=240&qe,tt|=tt>>4,lt=15&qe,lt|=lt<<4):se.length===7&&(Xe=(16711680&qe)>>16,tt=(65280&qe)>>8,lt=255&qe)),ve(Xe,tt,lt))}function pn(se,ve,Ie){var Fe,Ue,qe=Math.min(se/=255,ve/=255,Ie/=255),Xe=Math.max(se,ve,Ie),tt=Xe-qe,lt=(Xe+qe)/2;return tt?(Ue=lt<.5?tt/(Xe+qe):tt/(2-Xe-qe),Fe=se==Xe?(ve-Ie)/tt+(ve0&<<1?0:Fe),new pt(Fe,Ue,lt)}function Rn(se,ve,Ie){var Fe=xn((.4124564*(se=In(se))+.3575761*(ve=In(ve))+.1804375*(Ie=In(Ie)))/Nt),Ue=xn((.2126729*se+.7151522*ve+.072175*Ie)/1);return wt(116*Ue-16,500*(Fe-Ue),200*(Ue-xn((.0193339*se+.119192*ve+.9503041*Ie)/$t)))}function In(se){return(se/=255)<=.04045?se/12.92:Math.pow((se+.055)/1.055,2.4)}function jn(se){var ve=parseFloat(se);return se.charAt(se.length-1)==="%"?Math.round(2.55*ve):ve}sn.brighter=function(se){se=Math.pow(.7,arguments.length?se:1);var ve=this.r,Ie=this.g,Fe=this.b,Ue=30;return ve||Ie||Fe?(ve&&ve=200&&Ut<300||Ut===304){try{zt=Ie.call(Ue,tt)}catch(Ht){return void qe.error.call(Ue,Ht)}qe.load.call(Ue,zt)}else qe.error.call(Ue,tt)}return self.XDomainRequest&&!("withCredentials"in tt)&&/^(http(s)?:)?\/\//.test(se)&&(tt=new XDomainRequest),"onload"in tt?tt.onload=tt.onerror=gt:tt.onreadystatechange=function(){tt.readyState>3&>()},tt.onprogress=function(zt){var Ut=i.event;i.event=zt;try{qe.progress.call(Ue,tt)}finally{i.event=Ut}},Ue.header=function(zt,Ut){return zt=(zt+"").toLowerCase(),arguments.length<2?Xe[zt]:(Ut==null?delete Xe[zt]:Xe[zt]=Ut+"",Ue)},Ue.mimeType=function(zt){return arguments.length?(ve=zt==null?null:zt+"",Ue):ve},Ue.responseType=function(zt){return arguments.length?(lt=zt,Ue):lt},Ue.response=function(zt){return Ie=zt,Ue},["get","post"].forEach(function(zt){Ue[zt]=function(){return Ue.send.apply(Ue,[zt].concat(v(arguments)))}}),Ue.send=function(zt,Ut,Ht){if(arguments.length===2&&typeof Ut=="function"&&(Ht=Ut,Ut=null),tt.open(zt,se,!0),ve==null||"accept"in Xe||(Xe.accept=ve+",*/*"),tt.setRequestHeader)for(var en in Xe)tt.setRequestHeader(en,Xe[en]);return ve!=null&&tt.overrideMimeType&&tt.overrideMimeType(ve),lt!=null&&(tt.responseType=lt),Ht!=null&&Ue.on("error",Ht).on("load",function(vn){Ht(null,vn)}),qe.beforesend.call(Ue,tt),tt.send(Ut??null),Ue},Ue.abort=function(){return tt.abort(),Ue},i.rebind(Ue,qe,"on"),Fe==null?Ue:Ue.get(function(zt){return zt.length===1?function(Ut,Ht){zt(Ut==null?Ht:null)}:zt}(Fe))}Gn.forEach(function(se,ve){Gn.set(se,Yn(ve))}),i.functor=Wn,i.xhr=ur(q),i.dsv=function(se,ve){var Ie=new RegExp('["'+se+` +`;for(te=0,Z=H*ie,X=N,me="",ne=0;ne<_e.length;++ne){var Me=ne+de",I="",R=O.length,z=I.length,F=A[0]==="+"||A[0]==="-",B=0,N=-z;B>-1&&(B=L.indexOf(O,B))!==-1&&(N=L.indexOf(I,B+R))!==-1&&!(N<=B);){for(var q=B;q=N)b[q]=null,L=L.substr(0,q)+" "+L.substr(q+1);else if(b[q]!==null){var j=b[q].indexOf(A[0]);j===-1?b[q]+=A:F&&(b[q]=b[q].substr(0,j+1)+(1+parseInt(b[q][j+1]))+b[q].substr(j+2))}var Y=B+R,U=L.substr(Y,N-Y).indexOf(O);B=U!==-1?U:N+z}return b}function w(T,A){var L=c(T,128);return A?l(L.cells,L.positions,.25):{edges:L.cells,positions:L.positions}}function k(T,A,L,b){var O=w(T,b),I=function(H,ne,te){for(var Z=ne.textAlign||"start",X=ne.textBaseline||"alphabetic",Q=[1<<30,1<<30],re=[0,0],ie=H.length,oe=0;oe"u"||!ses.ok||ses.ok()){typeof ses<"u"&&(ses.weakMapPermitHostObjects=A);var u=!1;if(typeof WeakMap=="function"){var a=WeakMap;if(!(typeof navigator<"u"&&/Firefox/.test(navigator.userAgent))){var c=new a,s=Object.freeze({});if(c.set(s,1),c.get(s)===1)return void(p.exports=WeakMap);u=!0}}var l=Object.getOwnPropertyNames,h=Object.defineProperty,f=Object.isExtensible,m="weakmap:",_="weakmap:ident:"+Math.random()+"___";if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"&&typeof ArrayBuffer=="function"&&typeof Uint8Array=="function"){var y=new ArrayBuffer(25),C=new Uint8Array(y);crypto.getRandomValues(C),_="weakmap:rand:"+Array.prototype.map.call(C,function(R){return(R%36).toString(36)}).join("")+"___"}if(h(Object,"getOwnPropertyNames",{value:function(R){return l(R).filter(L)}}),"getPropertyNames"in Object){var w=Object.getPropertyNames;h(Object,"getPropertyNames",{value:function(R){return w(R).filter(L)}})}(function(){var R=Object.freeze;h(Object,"freeze",{value:function(B){return b(B),R(B)}});var z=Object.seal;h(Object,"seal",{value:function(B){return b(B),z(B)}});var F=Object.preventExtensions;h(Object,"preventExtensions",{value:function(B){return b(B),F(B)}})})();var k=!1,E=0,T=function(){this instanceof T||I();var R=[],z=[],F=E++;return Object.create(T.prototype,{get___:{value:O(function(B,N){var q,j=b(B);return j?F in j?j[F]:N:(q=R.indexOf(B))>=0?z[q]:N})},has___:{value:O(function(B){var N=b(B);return N?F in N:R.indexOf(B)>=0})},set___:{value:O(function(B,N){var q,j=b(B);return j?j[F]=N:(q=R.indexOf(B))>=0?z[q]=N:(q=R.length,z[q]=N,R[q]=B),this})},delete___:{value:O(function(B){var N,q,j=b(B);return j?F in j&&delete j[F]:!((N=R.indexOf(B))<0||(q=R.length-1,R[N]=void 0,z[N]=z[q],R[N]=R[q],R.length=q,z.length=q,0))})}})};T.prototype=Object.create(Object.prototype,{get:{value:function(R,z){return this.get___(R,z)},writable:!0,configurable:!0},has:{value:function(R){return this.has___(R)},writable:!0,configurable:!0},set:{value:function(R,z){return this.set___(R,z)},writable:!0,configurable:!0},delete:{value:function(R){return this.delete___(R)},writable:!0,configurable:!0}}),typeof a=="function"?function(){function R(){this instanceof T||I();var z,F=new a,B=void 0,N=!1;return z=u?function(q,j){return F.set(q,j),F.has(q)||(B||(B=new T),B.set(q,j)),this}:function(q,j){if(N)try{F.set(q,j)}catch{B||(B=new T),B.set___(q,j)}else F.set(q,j);return this},Object.create(T.prototype,{get___:{value:O(function(q,j){return B?F.has(q)?F.get(q):B.get___(q,j):F.get(q,j)})},has___:{value:O(function(q){return F.has(q)||!!B&&B.has___(q)})},set___:{value:O(z)},delete___:{value:O(function(q){var j=!!F.delete(q);return B&&B.delete___(q)||j})},permitHostObjects___:{value:O(function(q){if(q!==A)throw new Error("bogus call to permitHostObjects___");N=!0})}})}u&&typeof Proxy<"u"&&(Proxy=void 0),R.prototype=T.prototype,p.exports=R,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<"u"&&(Proxy=void 0),p.exports=T)}function A(R){R.permitHostObjects___&&R.permitHostObjects___(A)}function L(R){return!(R.substr(0,m.length)==m&&R.substr(R.length-3)==="___")}function b(R){if(R!==Object(R))throw new TypeError("Not an object: "+R);var z=R[_];if(z&&z.key===R)return z;if(f(R)){z={key:R};try{return h(R,_,{value:z,writable:!1,enumerable:!1,configurable:!1}),z}catch{return}}}function O(R){return R.prototype=null,Object.freeze(R)}function I(){k||typeof console>"u"||(k=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}})()},9222:function(p,u,a){var c=a(7178);p.exports=function(){var s={};return function(l){if((typeof l!="object"||l===null)&&typeof l!="function")throw new Error("Weakmap-shim: Key must be object");var h=l.valueOf(s);return h&&h.identity===s?h:c(l,s)}}},7178:function(p){p.exports=function(u,a){var c={identity:a},s=u.valueOf;return Object.defineProperty(u,"valueOf",{value:function(l){return l!==a?s.apply(this,arguments):c},writable:!0}),c}},4037:function(p,u,a){var c=a(9222);p.exports=function(){var s=c();return{get:function(l,h){var f=s(l);return f.hasOwnProperty("value")?f.value:h},set:function(l,h){return s(l).value=h,this},has:function(l){return"value"in s(l)},delete:function(l){return delete s(l).value}}}},6183:function(p){p.exports=function(u){var a={};return function(c,s,l){var h=c.dtype,f=c.order,m=[h,f.join()].join(),_=a[m];return _||(a[m]=_=u([h,f])),_(c.shape.slice(0),c.data,c.stride,0|c.offset,s,l)}}(function(){return function(u,a,c,s,l,h){var f=u[0],m=c[0],_=[0],y=m;s|=0;var C=0,w=m;for(C=0;C=0!=E>=0&&l.push(_[0]+.5+.5*(k+E)/(k-E)),s+=w,++_[0]}}}.bind(void 0,{funcName:"zeroCrossings"}))},9584:function(p,u,a){p.exports=function(s,l){var h=[];return l=+l||0,c(s.hi(s.shape[0]-1),h,l),h};var c=a(6183)},6601:function(){}},M={};function g(p){var u=M[p];if(u!==void 0)return u.exports;var a=M[p]={id:p,loaded:!1,exports:{}};return i[p].call(a.exports,a,a.exports,g),a.loaded=!0,a.exports}return g.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),g.nmd=function(p){return p.paths=[],p.children||(p.children=[]),p},g(7386)}()},x.exports=d()},12856:function(x,o,t){function d(ae,he){if(!(ae instanceof he))throw new TypeError("Cannot call a class as a function")}function v(ae,he){for(var be=0;bel)throw new RangeError('The value "'+ae+'" is invalid for option "size"');var he=new Uint8Array(ae);return Object.setPrototypeOf(he,f.prototype),he}function f(ae,he,be){if(typeof ae=="number"){if(typeof he=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(ae)}return m(ae,he,be)}function m(ae,he,be){if(typeof ae=="string")return function(Be,ze){if(typeof ze=="string"&&ze!==""||(ze="utf8"),!f.isEncoding(ze))throw new TypeError("Unknown encoding: "+ze);var je=0|E(Be,ze),ge=h(je),we=ge.write(Be,ze);return we!==je&&(ge=ge.slice(0,we)),ge}(ae,he);if(ArrayBuffer.isView(ae))return function(Be){if(Pe(Be,Uint8Array)){var ze=new Uint8Array(Be);return w(ze.buffer,ze.byteOffset,ze.byteLength)}return C(Be)}(ae);if(ae==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+u(ae));if(Pe(ae,ArrayBuffer)||ae&&Pe(ae.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Pe(ae,SharedArrayBuffer)||ae&&Pe(ae.buffer,SharedArrayBuffer)))return w(ae,he,be);if(typeof ae=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ke=ae.valueOf&&ae.valueOf();if(ke!=null&&ke!==ae)return f.from(ke,he,be);var Le=function(Be){if(f.isBuffer(Be)){var ze=0|k(Be.length),je=h(ze);return je.length===0||Be.copy(je,0,0,ze),je}return Be.length!==void 0?typeof Be.length!="number"||_e(Be.length)?h(0):C(Be):Be.type==="Buffer"&&Array.isArray(Be.data)?C(Be.data):void 0}(ae);if(Le)return Le;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ae[Symbol.toPrimitive]=="function")return f.from(ae[Symbol.toPrimitive]("string"),he,be);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+u(ae))}function _(ae){if(typeof ae!="number")throw new TypeError('"size" argument must be of type number');if(ae<0)throw new RangeError('The value "'+ae+'" is invalid for option "size"')}function y(ae){return _(ae),h(ae<0?0:0|k(ae))}function C(ae){for(var he=ae.length<0?0:0|k(ae.length),be=h(he),ke=0;ke=l)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l.toString(16)+" bytes");return 0|ae}function E(ae,he){if(f.isBuffer(ae))return ae.length;if(ArrayBuffer.isView(ae)||Pe(ae,ArrayBuffer))return ae.byteLength;if(typeof ae!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+u(ae));var be=ae.length,ke=arguments.length>2&&arguments[2]===!0;if(!ke&&be===0)return 0;for(var Le=!1;;)switch(he){case"ascii":case"latin1":case"binary":return be;case"utf8":case"utf-8":return me(ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*be;case"hex":return be>>>1;case"base64":return pe(ae).length;default:if(Le)return ke?-1:me(ae).length;he=(""+he).toLowerCase(),Le=!0}}function T(ae,he,be){var ke=!1;if((he===void 0||he<0)&&(he=0),he>this.length||((be===void 0||be>this.length)&&(be=this.length),be<=0)||(be>>>=0)<=(he>>>=0))return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return U(this,he,be);case"utf8":case"utf-8":return N(this,he,be);case"ascii":return j(this,he,be);case"latin1":case"binary":return Y(this,he,be);case"base64":return B(this,he,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,he,be);default:if(ke)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),ke=!0}}function A(ae,he,be){var ke=ae[he];ae[he]=ae[be],ae[be]=ke}function L(ae,he,be,ke,Le){if(ae.length===0)return-1;if(typeof be=="string"?(ke=be,be=0):be>2147483647?be=2147483647:be<-2147483648&&(be=-2147483648),_e(be=+be)&&(be=Le?0:ae.length-1),be<0&&(be=ae.length+be),be>=ae.length){if(Le)return-1;be=ae.length-1}else if(be<0){if(!Le)return-1;be=0}if(typeof he=="string"&&(he=f.from(he,ke)),f.isBuffer(he))return he.length===0?-1:b(ae,he,be,ke,Le);if(typeof he=="number")return he&=255,typeof Uint8Array.prototype.indexOf=="function"?Le?Uint8Array.prototype.indexOf.call(ae,he,be):Uint8Array.prototype.lastIndexOf.call(ae,he,be):b(ae,[he],be,ke,Le);throw new TypeError("val must be string, number or Buffer")}function b(ae,he,be,ke,Le){var Be,ze=1,je=ae.length,ge=he.length;if(ke!==void 0&&((ke=String(ke).toLowerCase())==="ucs2"||ke==="ucs-2"||ke==="utf16le"||ke==="utf-16le")){if(ae.length<2||he.length<2)return-1;ze=2,je/=2,ge/=2,be/=2}function we($e,st){return ze===1?$e[st]:$e.readUInt16BE(st*ze)}if(Le){var Ee=-1;for(Be=be;Beje&&(be=je-ge),Be=be;Be>=0;Be--){for(var Ve=!0,Ye=0;YeLe&&(ke=Le):ke=Le;var Be,ze=he.length;for(ke>ze/2&&(ke=ze/2),Be=0;Be>8,ge=ze%256,we.push(ge),we.push(je);return we}(he,ae.length-be),ae,be,ke)}function B(ae,he,be){return he===0&&be===ae.length?a.fromByteArray(ae):a.fromByteArray(ae.slice(he,be))}function N(ae,he,be){be=Math.min(ae.length,be);for(var ke=[],Le=he;Le239?4:Be>223?3:Be>191?2:1;if(Le+je<=be){var ge=void 0,we=void 0,Ee=void 0,Ve=void 0;switch(je){case 1:Be<128&&(ze=Be);break;case 2:(192&(ge=ae[Le+1]))==128&&(Ve=(31&Be)<<6|63&ge)>127&&(ze=Ve);break;case 3:ge=ae[Le+1],we=ae[Le+2],(192&ge)==128&&(192&we)==128&&(Ve=(15&Be)<<12|(63&ge)<<6|63&we)>2047&&(Ve<55296||Ve>57343)&&(ze=Ve);break;case 4:ge=ae[Le+1],we=ae[Le+2],Ee=ae[Le+3],(192&ge)==128&&(192&we)==128&&(192&Ee)==128&&(Ve=(15&Be)<<18|(63&ge)<<12|(63&we)<<6|63&Ee)>65535&&Ve<1114112&&(ze=Ve)}}ze===null?(ze=65533,je=1):ze>65535&&(ze-=65536,ke.push(ze>>>10&1023|55296),ze=56320|1023&ze),ke.push(ze),Le+=je}return function(Ye){var $e=Ye.length;if($e<=q)return String.fromCharCode.apply(String,Ye);for(var st="",ot=0;ot<$e;)st+=String.fromCharCode.apply(String,Ye.slice(ot,ot+=q));return st}(ke)}o.kMaxLength=l,f.TYPED_ARRAY_SUPPORT=function(){try{var ae=new Uint8Array(1),he={foo:function(){return 42}};return Object.setPrototypeOf(he,Uint8Array.prototype),Object.setPrototypeOf(ae,he),ae.foo()===42}catch{return!1}}(),f.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),f.poolSize=8192,f.from=function(ae,he,be){return m(ae,he,be)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array),f.alloc=function(ae,he,be){return function(ke,Le,Be){return _(ke),ke<=0?h(ke):Le!==void 0?typeof Be=="string"?h(ke).fill(Le,Be):h(ke).fill(Le):h(ke)}(ae,he,be)},f.allocUnsafe=function(ae){return y(ae)},f.allocUnsafeSlow=function(ae){return y(ae)},f.isBuffer=function(ae){return ae!=null&&ae._isBuffer===!0&&ae!==f.prototype},f.compare=function(ae,he){if(Pe(ae,Uint8Array)&&(ae=f.from(ae,ae.offset,ae.byteLength)),Pe(he,Uint8Array)&&(he=f.from(he,he.offset,he.byteLength)),!f.isBuffer(ae)||!f.isBuffer(he))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ae===he)return 0;for(var be=ae.length,ke=he.length,Le=0,Be=Math.min(be,ke);Leke.length?(f.isBuffer(Be)||(Be=f.from(Be)),Be.copy(ke,Le)):Uint8Array.prototype.set.call(ke,Be,Le);else{if(!f.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(ke,Le)}Le+=Be.length}return ke},f.byteLength=E,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var ae=this.length;if(ae%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var he=0;hehe&&(ae+=" ... "),""},s&&(f.prototype[s]=f.prototype.inspect),f.prototype.compare=function(ae,he,be,ke,Le){if(Pe(ae,Uint8Array)&&(ae=f.from(ae,ae.offset,ae.byteLength)),!f.isBuffer(ae))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+u(ae));if(he===void 0&&(he=0),be===void 0&&(be=ae?ae.length:0),ke===void 0&&(ke=0),Le===void 0&&(Le=this.length),he<0||be>ae.length||ke<0||Le>this.length)throw new RangeError("out of range index");if(ke>=Le&&he>=be)return 0;if(ke>=Le)return-1;if(he>=be)return 1;if(this===ae)return 0;for(var Be=(Le>>>=0)-(ke>>>=0),ze=(be>>>=0)-(he>>>=0),je=Math.min(Be,ze),ge=this.slice(ke,Le),we=ae.slice(he,be),Ee=0;Ee>>=0,isFinite(be)?(be>>>=0,ke===void 0&&(ke="utf8")):(ke=be,be=void 0)}var Le=this.length-he;if((be===void 0||be>Le)&&(be=Le),ae.length>0&&(be<0||he<0)||he>this.length)throw new RangeError("Attempt to write outside buffer bounds");ke||(ke="utf8");for(var Be=!1;;)switch(ke){case"hex":return O(this,ae,he,be);case"utf8":case"utf-8":return I(this,ae,he,be);case"ascii":case"latin1":case"binary":return R(this,ae,he,be);case"base64":return z(this,ae,he,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,ae,he,be);default:if(Be)throw new TypeError("Unknown encoding: "+ke);ke=(""+ke).toLowerCase(),Be=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var q=4096;function j(ae,he,be){var ke="";be=Math.min(ae.length,be);for(var Le=he;Leke)&&(be=ke);for(var Le="",Be=he;Bebe)throw new RangeError("Trying to access beyond buffer length")}function H(ae,he,be,ke,Le,Be){if(!f.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(he>Le||heae.length)throw new RangeError("Index out of range")}function ne(ae,he,be,ke,Le){ue(he,ke,Le,ae,be,7);var Be=Number(he&BigInt(4294967295));ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be;var ze=Number(he>>BigInt(32)&BigInt(4294967295));return ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,be}function te(ae,he,be,ke,Le){ue(he,ke,Le,ae,be,7);var Be=Number(he&BigInt(4294967295));ae[be+7]=Be,Be>>=8,ae[be+6]=Be,Be>>=8,ae[be+5]=Be,Be>>=8,ae[be+4]=Be;var ze=Number(he>>BigInt(32)&BigInt(4294967295));return ae[be+3]=ze,ze>>=8,ae[be+2]=ze,ze>>=8,ae[be+1]=ze,ze>>=8,ae[be]=ze,be+8}function Z(ae,he,be,ke,Le,Be){if(be+ke>ae.length)throw new RangeError("Index out of range");if(be<0)throw new RangeError("Index out of range")}function X(ae,he,be,ke,Le){return he=+he,be>>>=0,Le||Z(ae,0,be,4),c.write(ae,he,be,ke,23,4),be+4}function Q(ae,he,be,ke,Le){return he=+he,be>>>=0,Le||Z(ae,0,be,8),c.write(ae,he,be,ke,52,8),be+8}f.prototype.slice=function(ae,he){var be=this.length;(ae=~~ae)<0?(ae+=be)<0&&(ae=0):ae>be&&(ae=be),(he=he===void 0?be:~~he)<0?(he+=be)<0&&(he=0):he>be&&(he=be),he>>=0,he>>>=0,be||W(ae,he,this.length);for(var ke=this[ae],Le=1,Be=0;++Be>>=0,he>>>=0,be||W(ae,he,this.length);for(var ke=this[ae+--he],Le=1;he>0&&(Le*=256);)ke+=this[ae+--he]*Le;return ke},f.prototype.readUint8=f.prototype.readUInt8=function(ae,he){return ae>>>=0,he||W(ae,1,this.length),this[ae]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(ae,he){return ae>>>=0,he||W(ae,2,this.length),this[ae]|this[ae+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(ae,he){return ae>>>=0,he||W(ae,2,this.length),this[ae]<<8|this[ae+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(ae,he){return ae>>>=0,he||W(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+16777216*this[ae+3]},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(ae,he){return ae>>>=0,he||W(ae,4,this.length),16777216*this[ae]+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},f.prototype.readBigUInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=he+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,24),Le=this[++ae]+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+be*Math.pow(2,24);return BigInt(ke)+(BigInt(Le)<>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=he*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae],Le=this[++ae]*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+be;return(BigInt(ke)<>>=0,he>>>=0,be||W(ae,he,this.length);for(var ke=this[ae],Le=1,Be=0;++Be=(Le*=128)&&(ke-=Math.pow(2,8*he)),ke},f.prototype.readIntBE=function(ae,he,be){ae>>>=0,he>>>=0,be||W(ae,he,this.length);for(var ke=he,Le=1,Be=this[ae+--ke];ke>0&&(Le*=256);)Be+=this[ae+--ke]*Le;return Be>=(Le*=128)&&(Be-=Math.pow(2,8*he)),Be},f.prototype.readInt8=function(ae,he){return ae>>>=0,he||W(ae,1,this.length),128&this[ae]?-1*(255-this[ae]+1):this[ae]},f.prototype.readInt16LE=function(ae,he){ae>>>=0,he||W(ae,2,this.length);var be=this[ae]|this[ae+1]<<8;return 32768&be?4294901760|be:be},f.prototype.readInt16BE=function(ae,he){ae>>>=0,he||W(ae,2,this.length);var be=this[ae+1]|this[ae]<<8;return 32768&be?4294901760|be:be},f.prototype.readInt32LE=function(ae,he){return ae>>>=0,he||W(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},f.prototype.readInt32BE=function(ae,he){return ae>>>=0,he||W(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},f.prototype.readBigInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=this[ae+4]+this[ae+5]*Math.pow(2,8)+this[ae+6]*Math.pow(2,16)+(be<<24);return(BigInt(ke)<>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=(he<<24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae];return(BigInt(ke)<>>=0,he||W(ae,4,this.length),c.read(this,ae,!0,23,4)},f.prototype.readFloatBE=function(ae,he){return ae>>>=0,he||W(ae,4,this.length),c.read(this,ae,!1,23,4)},f.prototype.readDoubleLE=function(ae,he){return ae>>>=0,he||W(ae,8,this.length),c.read(this,ae,!0,52,8)},f.prototype.readDoubleBE=function(ae,he){return ae>>>=0,he||W(ae,8,this.length),c.read(this,ae,!1,52,8)},f.prototype.writeUintLE=f.prototype.writeUIntLE=function(ae,he,be,ke){ae=+ae,he>>>=0,be>>>=0,ke||H(this,ae,he,be,Math.pow(2,8*be)-1,0);var Le=1,Be=0;for(this[he]=255&ae;++Be>>=0,be>>>=0,ke||H(this,ae,he,be,Math.pow(2,8*be)-1,0);var Le=be-1,Be=1;for(this[he+Le]=255&ae;--Le>=0&&(Be*=256);)this[he+Le]=ae/Be&255;return he+be},f.prototype.writeUint8=f.prototype.writeUInt8=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,1,255,0),this[he]=255&ae,he+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,65535,0),this[he]=255&ae,this[he+1]=ae>>>8,he+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,65535,0),this[he]=ae>>>8,this[he+1]=255&ae,he+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,4294967295,0),this[he+3]=ae>>>24,this[he+2]=ae>>>16,this[he+1]=ae>>>8,this[he]=255&ae,he+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,4294967295,0),this[he]=ae>>>24,this[he+1]=ae>>>16,this[he+2]=ae>>>8,this[he+3]=255&ae,he+4},f.prototype.writeBigUInt64LE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,he,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeBigUInt64BE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,he,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeIntLE=function(ae,he,be,ke){if(ae=+ae,he>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,he,be,Le-1,-Le)}var Be=0,ze=1,je=0;for(this[he]=255&ae;++Be>0)-je&255;return he+be},f.prototype.writeIntBE=function(ae,he,be,ke){if(ae=+ae,he>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,he,be,Le-1,-Le)}var Be=be-1,ze=1,je=0;for(this[he+Be]=255&ae;--Be>=0&&(ze*=256);)ae<0&&je===0&&this[he+Be+1]!==0&&(je=1),this[he+Be]=(ae/ze>>0)-je&255;return he+be},f.prototype.writeInt8=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,1,127,-128),ae<0&&(ae=255+ae+1),this[he]=255&ae,he+1},f.prototype.writeInt16LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,32767,-32768),this[he]=255&ae,this[he+1]=ae>>>8,he+2},f.prototype.writeInt16BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,32767,-32768),this[he]=ae>>>8,this[he+1]=255&ae,he+2},f.prototype.writeInt32LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,2147483647,-2147483648),this[he]=255&ae,this[he+1]=ae>>>8,this[he+2]=ae>>>16,this[he+3]=ae>>>24,he+4},f.prototype.writeInt32BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),this[he]=ae>>>24,this[he+1]=ae>>>16,this[he+2]=ae>>>8,this[he+3]=255&ae,he+4},f.prototype.writeBigInt64LE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,he,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeBigInt64BE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,he,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeFloatLE=function(ae,he,be){return X(this,ae,he,!0,be)},f.prototype.writeFloatBE=function(ae,he,be){return X(this,ae,he,!1,be)},f.prototype.writeDoubleLE=function(ae,he,be){return Q(this,ae,he,!0,be)},f.prototype.writeDoubleBE=function(ae,he,be){return Q(this,ae,he,!1,be)},f.prototype.copy=function(ae,he,be,ke){if(!f.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(be||(be=0),ke||ke===0||(ke=this.length),he>=ae.length&&(he=ae.length),he||(he=0),ke>0&&ke=this.length)throw new RangeError("Index out of range");if(ke<0)throw new RangeError("sourceEnd out of bounds");ke>this.length&&(ke=this.length),ae.length-he>>=0,be=be===void 0?this.length:be>>>0,ae||(ae=0),typeof ae=="number")for(Be=he;Be"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Ee,Ve=p(ze);if(je){var Ye=p(this).constructor;Ee=Reflect.construct(Ve,arguments,Ye)}else Ee=Ve.apply(this,arguments);return M(this,Ee)});function we(){var Ee;return d(this,we),Ee=ge.call(this),Object.defineProperty(g(Ee),"message",{value:he.apply(g(Ee),arguments),writable:!0,configurable:!0}),Ee.name="".concat(Ee.name," [").concat(ae,"]"),Ee.stack,delete Ee.name,Ee}return Le=we,(Be=[{key:"code",get:function(){return ae},set:function(Ee){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Ee,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ae,"]: ").concat(this.message)}}])&&v(Le.prototype,Be),Object.defineProperty(Le,"prototype",{writable:!1}),we}(be)}function oe(ae){for(var he="",be=ae.length,ke=ae[0]==="-"?1:0;be>=ke+4;be-=3)he="_".concat(ae.slice(be-3,be)).concat(he);return"".concat(ae.slice(0,be)).concat(he)}function ue(ae,he,be,ke,Le,Be){if(ae>be||ae3?he===0||he===BigInt(0)?">= 0".concat(je," and < 2").concat(je," ** ").concat(8*(Be+1)).concat(je):">= -(2".concat(je," ** ").concat(8*(Be+1)-1).concat(je,") and < 2 ** ")+"".concat(8*(Be+1)-1).concat(je):">= ".concat(he).concat(je," and <= ").concat(be).concat(je),new re.ERR_OUT_OF_RANGE("value",ze,ae)}(function(ge,we,Ee){ce(we,"offset"),ge[we]!==void 0&&ge[we+Ee]!==void 0||ye(we,ge.length-(Ee+1))})(ke,Le,Be)}function ce(ae,he){if(typeof ae!="number")throw new re.ERR_INVALID_ARG_TYPE(he,"number",ae)}function ye(ae,he,be){throw Math.floor(ae)!==ae?(ce(ae,be),new re.ERR_OUT_OF_RANGE(be||"offset","an integer",ae)):he<0?new re.ERR_BUFFER_OUT_OF_BOUNDS:new re.ERR_OUT_OF_RANGE(be||"offset",">= ".concat(be?1:0," and <= ").concat(he),ae)}ie("ERR_BUFFER_OUT_OF_BOUNDS",function(ae){return ae?"".concat(ae," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),ie("ERR_INVALID_ARG_TYPE",function(ae,he){return'The "'.concat(ae,'" argument must be of type number. Received type ').concat(u(he))},TypeError),ie("ERR_OUT_OF_RANGE",function(ae,he,be){var ke='The value of "'.concat(ae,'" is out of range.'),Le=be;return Number.isInteger(be)&&Math.abs(be)>Math.pow(2,32)?Le=oe(String(be)):typeof be=="bigint"&&(Le=String(be),(be>Math.pow(BigInt(2),BigInt(32))||be<-Math.pow(BigInt(2),BigInt(32)))&&(Le=oe(Le)),Le+="n"),ke+" It must be ".concat(he,". Received ").concat(Le)},RangeError);var de=/[^+/0-9A-Za-z-_]/g;function me(ae,he){var be;he=he||1/0;for(var ke=ae.length,Le=null,Be=[],ze=0;ze55295&&be<57344){if(!Le){if(be>56319){(he-=3)>-1&&Be.push(239,191,189);continue}if(ze+1===ke){(he-=3)>-1&&Be.push(239,191,189);continue}Le=be;continue}if(be<56320){(he-=3)>-1&&Be.push(239,191,189),Le=be;continue}be=65536+(Le-55296<<10|be-56320)}else Le&&(he-=3)>-1&&Be.push(239,191,189);if(Le=null,be<128){if((he-=1)<0)break;Be.push(be)}else if(be<2048){if((he-=2)<0)break;Be.push(be>>6|192,63&be|128)}else if(be<65536){if((he-=3)<0)break;Be.push(be>>12|224,be>>6&63|128,63&be|128)}else{if(!(be<1114112))throw new Error("Invalid code point");if((he-=4)<0)break;Be.push(be>>18|240,be>>12&63|128,be>>6&63|128,63&be|128)}}return Be}function pe(ae){return a.toByteArray(function(he){if((he=(he=he.split("=")[0]).trim().replace(de,"")).length<2)return"";for(;he.length%4!=0;)he+="=";return he}(ae))}function xe(ae,he,be,ke){var Le;for(Le=0;Le=he.length||Le>=ae.length);++Le)he[Le+be]=ae[Le];return Le}function Pe(ae,he){return ae instanceof he||ae!=null&&ae.constructor!=null&&ae.constructor.name!=null&&ae.constructor.name===he.name}function _e(ae){return ae!=ae}var Me=function(){for(var ae="0123456789abcdef",he=new Array(256),be=0;be<16;++be)for(var ke=16*be,Le=0;Le<16;++Le)he[ke+Le]=ae[be]+ae[Le];return he}();function Se(ae){return typeof BigInt>"u"?Ce:ae}function Ce(){throw new Error("BigInt not supported")}},35791:function(x){x.exports=v,x.exports.isMobile=v,x.exports.default=v;var o=/(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,t=/CrOS/,d=/android|ipad|playbook|silk/i;function v(i){i||(i={});var M=i.ua;if(M||typeof navigator>"u"||(M=navigator.userAgent),M&&M.headers&&typeof M.headers["user-agent"]=="string"&&(M=M.headers["user-agent"]),typeof M!="string")return!1;var g=o.test(M)&&!t.test(M)||!!i.tablet&&d.test(M);return!g&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&M.indexOf("Macintosh")!==-1&&M.indexOf("Safari")!==-1&&(g=!0),g}},86781:function(x,o,t){t.r(o),t.d(o,{sankeyCenter:function(){return s},sankeyCircular:function(){return R},sankeyJustify:function(){return c},sankeyLeft:function(){return u},sankeyRight:function(){return a}});var d=t(33064),v=t(15140),i=t(45879),M=t(2502),g=t.n(M);function p(pe){return pe.target.depth}function u(pe){return pe.depth}function a(pe,xe){return xe-1-pe.height}function c(pe,xe){return pe.sourceLinks.length?pe.depth:xe-1}function s(pe){return pe.targetLinks.length?pe.depth:pe.sourceLinks.length?(0,d.VV)(pe.sourceLinks,p)-1:0}function l(pe){return function(){return pe}}var h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(pe){return typeof pe}:function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe};function f(pe,xe){return _(pe.source,xe.source)||pe.index-xe.index}function m(pe,xe){return _(pe.target,xe.target)||pe.index-xe.index}function _(pe,xe){return pe.partOfCycle===xe.partOfCycle?pe.y0-xe.y0:pe.circularLinkType==="top"||xe.circularLinkType==="bottom"?-1:1}function y(pe){return pe.value}function C(pe){return(pe.y0+pe.y1)/2}function w(pe){return C(pe.source)}function k(pe){return C(pe.target)}function E(pe){return pe.index}function T(pe){return pe.nodes}function A(pe){return pe.links}function L(pe,xe){var Pe=pe.get(xe);if(!Pe)throw new Error("missing: "+xe);return Pe}function b(pe,xe){return xe(pe)}var O=25,I=10;function R(){var pe,xe,Pe=0,_e=0,Me=1,Se=1,Ce=24,ae=E,he=c,be=T,ke=A,Le=32,Be=2,ze=null;function je(){var $e={nodes:be.apply(null,arguments),links:ke.apply(null,arguments)};ge($e),z($e,0,ze),we($e),Ee($e),F($e,ae),Ve($e,Le,ae),Ye($e);for(var st=4,ot=0;ot0?Je+O+I:Je,bottom:We=We>0?We+O+I:We,left:ht=ht>0?ht+O+I:ht,right:nt=nt>0?nt+O+I:nt}}($e),Vt=function(Ke,Je){var We=(0,d.Fp)(Ke.nodes,function(Qe){return Qe.column}),nt=Me-Pe,ht=Se-_e,Oe=nt/(nt+Je.right+Je.left),Ne=ht/(ht+Je.top+Je.bottom);return Pe=Pe*Oe+Je.left,Me=Je.right==0?Me:Me*Oe,_e=_e*Ne+Je.top,Se*=Ne,Ke.nodes.forEach(function(Qe){Qe.x0=Pe+Qe.column*((Me-Pe-Ce)/We),Qe.x1=Qe.x0+Ce}),Ne}($e,Wt);Bt*=Vt,$e.links.forEach(function(Ke){Ke.width=Ke.value*Bt}),ft.forEach(function(Ke){var Je=Ke.length;Ke.forEach(function(We,nt){We.depth==ft.length-1&&Je==1||We.depth==0&&Je==1?(We.y0=Se/2-We.value*Bt,We.y1=We.y0+We.value*Bt):We.partOfCycle?N(We,Ft)==0?(We.y0=Se/2+nt,We.y1=We.y0+We.value*Bt):We.circularLinkType=="top"?(We.y0=_e+nt,We.y1=We.y0+We.value*Bt):(We.y0=Se-We.value*Bt-nt,We.y1=We.y0+We.value*Bt):Wt.top==0||Wt.bottom==0?(We.y0=(Se-_e)/Je*nt,We.y1=We.y0+We.value*Bt):(We.y0=(Se-_e)/2-Je/2+nt,We.y1=We.y0+We.value*Bt)})})})(ot),xt();for(var bt=1,Et=st;Et>0;--Et)kt(bt*=.99,ot),xt();function kt(Ft,Dt){var Bt=ft.length;ft.forEach(function(Wt){var Vt=Wt.length,Ke=Wt[0].depth;Wt.forEach(function(Je){var We;if((Je.sourceLinks.length||Je.targetLinks.length)&&!(Je.partOfCycle&&N(Je,Dt)>0))if(Ke==0&&Vt==1)We=Je.y1-Je.y0,Je.y0=Se/2-We/2,Je.y1=Se/2+We/2;else if(Ke==Bt-1&&Vt==1)We=Je.y1-Je.y0,Je.y0=Se/2-We/2,Je.y1=Se/2+We/2;else{var nt=(0,d.J6)(Je.sourceLinks,k),ht=(0,d.J6)(Je.targetLinks,w),Oe=((nt&&ht?(nt+ht)/2:nt||ht)-C(Je))*Ft;Je.y0+=Oe,Je.y1+=Oe}})})}function xt(){ft.forEach(function(Ft){var Dt,Bt,Wt,Vt=_e,Ke=Ft.length;for(Ft.sort(_),Wt=0;Wt0&&(Dt.y0+=Bt,Dt.y1+=Bt),Vt=Dt.y1+pe;if((Bt=Vt-pe-Se)>0)for(Vt=Dt.y0-=Bt,Dt.y1-=Bt,Wt=Ke-2;Wt>=0;--Wt)(Bt=(Dt=Ft[Wt]).y1+pe-Vt)>0&&(Dt.y0-=Bt,Dt.y1-=Bt),Vt=Dt.y0})}}function Ye($e){$e.nodes.forEach(function(st){st.sourceLinks.sort(m),st.targetLinks.sort(f)}),$e.nodes.forEach(function(st){var ot=st.y0,ft=ot,bt=st.y1,Et=bt;st.sourceLinks.forEach(function(kt){kt.circular?(kt.y0=bt-kt.width/2,bt-=kt.width):(kt.y0=ot+kt.width/2,ot+=kt.width)}),st.targetLinks.forEach(function(kt){kt.circular?(kt.y1=Et-kt.width/2,Et-=kt.width):(kt.y1=ft+kt.width/2,ft+=kt.width)})})}return je.nodeId=function($e){return arguments.length?(ae=typeof $e=="function"?$e:l($e),je):ae},je.nodeAlign=function($e){return arguments.length?(he=typeof $e=="function"?$e:l($e),je):he},je.nodeWidth=function($e){return arguments.length?(Ce=+$e,je):Ce},je.nodePadding=function($e){return arguments.length?(pe=+$e,je):pe},je.nodes=function($e){return arguments.length?(be=typeof $e=="function"?$e:l($e),je):be},je.links=function($e){return arguments.length?(ke=typeof $e=="function"?$e:l($e),je):ke},je.size=function($e){return arguments.length?(Pe=_e=0,Me=+$e[0],Se=+$e[1],je):[Me-Pe,Se-_e]},je.extent=function($e){return arguments.length?(Pe=+$e[0][0],Me=+$e[1][0],_e=+$e[0][1],Se=+$e[1][1],je):[[Pe,_e],[Me,Se]]},je.iterations=function($e){return arguments.length?(Le=+$e,je):Le},je.circularLinkGap=function($e){return arguments.length?(Be=+$e,je):Be},je.nodePaddingRatio=function($e){return arguments.length?(xe=+$e,je):xe},je.sortNodes=function($e){return arguments.length?(ze=$e,je):ze},je.update=function($e){return F($e,ae),Ye($e),$e.links.forEach(function(st){st.circular&&(st.circularLinkType=st.y0+st.y11||Me>1)}function j(pe,xe,Pe){return pe.sort(U),pe.forEach(function(_e,Me){var Se,Ce,ae=0;if(de(_e,Pe)&&q(_e))_e.circularPathData.verticalBuffer=ae+_e.width/2;else{for(var he=0;heCe.source.column)){var be=pe[he].circularPathData.verticalBuffer+pe[he].width/2+xe;ae=be>ae?be:ae}_e.circularPathData.verticalBuffer=ae+_e.width/2}}),pe}function Y(pe,xe,Pe,_e){var Me=(0,d.VV)(pe.links,function(Se){return Se.source.y0});pe.links.forEach(function(Se){Se.circular&&(Se.circularPathData={})}),j(pe.links.filter(function(Se){return Se.circularLinkType=="top"}),xe,_e),j(pe.links.filter(function(Se){return Se.circularLinkType=="bottom"}),xe,_e),pe.links.forEach(function(Se){if(Se.circular){if(Se.circularPathData.arcRadius=Se.width+I,Se.circularPathData.leftNodeBuffer=5,Se.circularPathData.rightNodeBuffer=5,Se.circularPathData.sourceWidth=Se.source.x1-Se.source.x0,Se.circularPathData.sourceX=Se.source.x0+Se.circularPathData.sourceWidth,Se.circularPathData.targetX=Se.target.x0,Se.circularPathData.sourceY=Se.y0,Se.circularPathData.targetY=Se.y1,de(Se,_e)&&q(Se))Se.circularPathData.leftSmallArcRadius=I+Se.width/2,Se.circularPathData.leftLargeArcRadius=I+Se.width/2,Se.circularPathData.rightSmallArcRadius=I+Se.width/2,Se.circularPathData.rightLargeArcRadius=I+Se.width/2,Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Se.source.y1+O+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Se.source.y0-O-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius);else{var Ce=Se.source.column,ae=Se.circularLinkType,he=pe.links.filter(function(Le){return Le.source.column==Ce&&Le.circularLinkType==ae});Se.circularLinkType=="bottom"?he.sort(W):he.sort(G);var be=0;he.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.leftSmallArcRadius=I+Se.width/2+be,Se.circularPathData.leftLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Ce=Se.target.column,he=pe.links.filter(function(Le){return Le.target.column==Ce&&Le.circularLinkType==ae}),Se.circularLinkType=="bottom"?he.sort(ne):he.sort(H),be=0,he.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.rightSmallArcRadius=I+Se.width/2+be,Se.circularPathData.rightLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Math.max(Pe,Se.source.y1,Se.target.y1)+O+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Me-O-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius)}Se.circularPathData.leftInnerExtent=Se.circularPathData.sourceX+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightInnerExtent=Se.circularPathData.targetX-Se.circularPathData.rightNodeBuffer,Se.circularPathData.leftFullExtent=Se.circularPathData.sourceX+Se.circularPathData.leftLargeArcRadius+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightFullExtent=Se.circularPathData.targetX-Se.circularPathData.rightLargeArcRadius-Se.circularPathData.rightNodeBuffer}if(Se.circular)Se.path=function(Le){return Le.circularLinkType=="top"?"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 0 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY-Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 0 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 0 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY-Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 0 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY:"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 1 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY+Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 1 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 1 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY+Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 1 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY}(Se);else{var ke=(0,i.h5)().source(function(Le){return[Le.source.x0+(Le.source.x1-Le.source.x0),Le.y0]}).target(function(Le){return[Le.target.x0,Le.y1]});Se.path=ke(Se)}})}function U(pe,xe){return te(pe)==te(xe)?pe.circularLinkType=="bottom"?W(pe,xe):G(pe,xe):te(xe)-te(pe)}function G(pe,xe){return pe.y0-xe.y0}function W(pe,xe){return xe.y0-pe.y0}function H(pe,xe){return pe.y1-xe.y1}function ne(pe,xe){return xe.y1-pe.y1}function te(pe){return pe.target.column-pe.source.column}function Z(pe){return pe.target.x0-pe.source.x1}function X(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1+_e:pe.y1-_e}function Q(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1-_e:pe.y1+_e}function re(pe,xe,Pe,_e){pe.links.forEach(function(Me){if(!Me.circular&&Me.target.column-Me.source.column>1){var Se=Me.source.column+1,Ce=Me.target.column-1,ae=1,he=Ce-Se+1;for(ae=1;Se<=Ce;Se++,ae++)pe.nodes.forEach(function(be){if(be.column==Se){var ke,Le=ae/(he+1),Be=Math.pow(1-Le,3),ze=3*Le*Math.pow(1-Le,2),je=3*Math.pow(Le,2)*(1-Le),ge=Math.pow(Le,3),we=Be*Me.y0+ze*Me.y0+je*Me.y1+ge*Me.y1,Ee=we-Me.width/2,Ve=we+Me.width/2;Ee>be.y0&&Eest.y0&&$e.y0st.y0&&$e.y1st.y1)&&ie(Ye,ke,xe,Pe)})):(Ve>be.y0&&Vebe.y1)&&(ke=Ve-be.y0+10,be=ie(be,ke,xe,Pe),pe.nodes.forEach(function(Ye){b(Ye,_e)!=b(be,_e)&&Ye.column==be.column&&Ye.y0be.y1&&ie(Ye,ke,xe,Pe)}))}})}})}function ie(pe,xe,Pe,_e){return pe.y0+xe>=Pe&&pe.y1+xe<=_e&&(pe.y0=pe.y0+xe,pe.y1=pe.y1+xe,pe.targetLinks.forEach(function(Me){Me.y1=Me.y1+xe}),pe.sourceLinks.forEach(function(Me){Me.y0=Me.y0+xe})),pe}function oe(pe,xe,Pe,_e){pe.nodes.forEach(function(Me){_e&&Me.y+(Me.y1-Me.y0)>xe&&(Me.y=Me.y-(Me.y+(Me.y1-Me.y0)-xe));var Se=pe.links.filter(function(he){return b(he.source,Pe)==b(Me,Pe)}),Ce=Se.length;Ce>1&&Se.sort(function(he,be){if(!he.circular&&!be.circular){if(he.target.column==be.target.column||!ce(he,be))return he.y1-be.y1;if(he.target.column>be.target.column){var ke=Q(be,he);return he.y1-ke}if(be.target.column>he.target.column)return Q(he,be)-be.y1}return he.circular&&!be.circular?he.circularLinkType=="top"?-1:1:be.circular&&!he.circular?be.circularLinkType=="top"?1:-1:he.circular&&be.circular?he.circularLinkType===be.circularLinkType&&he.circularLinkType=="top"?he.target.column===be.target.column?he.target.y1-be.target.y1:be.target.column-he.target.column:he.circularLinkType===be.circularLinkType&&he.circularLinkType=="bottom"?he.target.column===be.target.column?be.target.y1-he.target.y1:he.target.column-be.target.column:he.circularLinkType=="top"?-1:1:void 0});var ae=Me.y0;Se.forEach(function(he){he.y0=ae+he.width/2,ae+=he.width}),Se.forEach(function(he,be){if(he.circularLinkType=="bottom"){for(var ke=be+1,Le=0;ke1&&Me.sort(function(ae,he){if(!ae.circular&&!he.circular){if(ae.source.column==he.source.column||!ce(ae,he))return ae.y0-he.y0;if(he.source.column0?"up":"down"}function de(pe,xe){return b(pe.source,xe)==b(pe.target,xe)}function me(pe,xe,Pe){var _e=pe.nodes,Me=pe.links,Se=!1,Ce=!1;if(Me.forEach(function(be){be.circularLinkType=="top"?Se=!0:be.circularLinkType=="bottom"&&(Ce=!0)}),Se==0||Ce==0){var ae=(0,d.VV)(_e,function(be){return be.y0}),he=(Pe-xe)/((0,d.Fp)(_e,function(be){return be.y1})-ae);_e.forEach(function(be){var ke=(be.y1-be.y0)*he;be.y0=(be.y0-ae)*he,be.y1=be.y0+ke}),Me.forEach(function(be){be.y0=(be.y0-ae)*he,be.y1=(be.y1-ae)*he,be.width=be.width*he})}}},30838:function(x,o,t){t.r(o),t.d(o,{sankey:function(){return E},sankeyCenter:function(){return u},sankeyJustify:function(){return p},sankeyLeft:function(){return M},sankeyLinkHorizontal:function(){return b},sankeyRight:function(){return g}});var d=t(33064),v=t(15140);function i(O){return O.target.depth}function M(O){return O.depth}function g(O,I){return I-1-O.height}function p(O,I){return O.sourceLinks.length?O.depth:I-1}function u(O){return O.targetLinks.length?O.depth:O.sourceLinks.length?(0,d.VV)(O.sourceLinks,i)-1:0}function a(O){return function(){return O}}function c(O,I){return l(O.source,I.source)||O.index-I.index}function s(O,I){return l(O.target,I.target)||O.index-I.index}function l(O,I){return O.y0-I.y0}function h(O){return O.value}function f(O){return(O.y0+O.y1)/2}function m(O){return f(O.source)*O.value}function _(O){return f(O.target)*O.value}function y(O){return O.index}function C(O){return O.nodes}function w(O){return O.links}function k(O,I){var R=O.get(I);if(!R)throw new Error("missing: "+I);return R}function E(){var O=0,I=0,R=1,z=1,F=24,B=8,N=y,q=p,j=C,Y=w,U=32;function G(){var X={nodes:j.apply(null,arguments),links:Y.apply(null,arguments)};return W(X),H(X),ne(X),te(X),Z(X),X}function W(X){X.nodes.forEach(function(re,ie){re.index=ie,re.sourceLinks=[],re.targetLinks=[]});var Q=(0,v.UI)(X.nodes,N);X.links.forEach(function(re,ie){re.index=ie;var oe=re.source,ue=re.target;typeof oe!="object"&&(oe=re.source=k(Q,oe)),typeof ue!="object"&&(ue=re.target=k(Q,ue)),oe.sourceLinks.push(re),ue.targetLinks.push(re)})}function H(X){X.nodes.forEach(function(Q){Q.value=Math.max((0,d.Sm)(Q.sourceLinks,h),(0,d.Sm)(Q.targetLinks,h))})}function ne(X){var Q,re,ie;for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.depth=ie,ue.sourceLinks.forEach(function(ce){re.indexOf(ce.target)<0&&re.push(ce.target)})});for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.height=ie,ue.targetLinks.forEach(function(ce){re.indexOf(ce.source)<0&&re.push(ce.source)})});var oe=(R-O-F)/(ie-1);X.nodes.forEach(function(ue){ue.x1=(ue.x0=O+Math.max(0,Math.min(ie-1,Math.floor(q.call(null,ue,ie))))*oe)+F})}function te(X){var Q=(0,v.b1)().key(function(ye){return ye.x0}).sortKeys(d.j2).entries(X.nodes).map(function(ye){return ye.values});(function(){var ye=(0,d.Fp)(Q,function(pe){return pe.length}),de=.6666666666666666*(z-I)/(ye-1);B>de&&(B=de);var me=(0,d.VV)(Q,function(pe){return(z-I-(pe.length-1)*B)/(0,d.Sm)(pe,h)});Q.forEach(function(pe){pe.forEach(function(xe,Pe){xe.y1=(xe.y0=Pe)+xe.value*me})}),X.links.forEach(function(pe){pe.width=pe.value*me})})(),ce();for(var re=1,ie=U;ie>0;--ie)ue(re*=.99),ce(),oe(re),ce();function oe(ye){Q.forEach(function(de){de.forEach(function(me){if(me.targetLinks.length){var pe=((0,d.Sm)(me.targetLinks,m)/(0,d.Sm)(me.targetLinks,h)-f(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ue(ye){Q.slice().reverse().forEach(function(de){de.forEach(function(me){if(me.sourceLinks.length){var pe=((0,d.Sm)(me.sourceLinks,_)/(0,d.Sm)(me.sourceLinks,h)-f(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ce(){Q.forEach(function(ye){var de,me,pe,xe=I,Pe=ye.length;for(ye.sort(l),pe=0;pe0&&(de.y0+=me,de.y1+=me),xe=de.y1+B;if((me=xe-B-z)>0)for(xe=de.y0-=me,de.y1-=me,pe=Pe-2;pe>=0;--pe)(me=(de=ye[pe]).y1+B-xe)>0&&(de.y0-=me,de.y1-=me),xe=de.y0})}}function Z(X){X.nodes.forEach(function(Q){Q.sourceLinks.sort(s),Q.targetLinks.sort(c)}),X.nodes.forEach(function(Q){var re=Q.y0,ie=re;Q.sourceLinks.forEach(function(oe){oe.y0=re+oe.width/2,re+=oe.width}),Q.targetLinks.forEach(function(oe){oe.y1=ie+oe.width/2,ie+=oe.width})})}return G.update=function(X){return Z(X),X},G.nodeId=function(X){return arguments.length?(N=typeof X=="function"?X:a(X),G):N},G.nodeAlign=function(X){return arguments.length?(q=typeof X=="function"?X:a(X),G):q},G.nodeWidth=function(X){return arguments.length?(F=+X,G):F},G.nodePadding=function(X){return arguments.length?(B=+X,G):B},G.nodes=function(X){return arguments.length?(j=typeof X=="function"?X:a(X),G):j},G.links=function(X){return arguments.length?(Y=typeof X=="function"?X:a(X),G):Y},G.size=function(X){return arguments.length?(O=I=0,R=+X[0],z=+X[1],G):[R-O,z-I]},G.extent=function(X){return arguments.length?(O=+X[0][0],R=+X[1][0],I=+X[0][1],z=+X[1][1],G):[[O,I],[R,z]]},G.iterations=function(X){return arguments.length?(U=+X,G):U},G}var T=t(45879);function A(O){return[O.source.x1,O.y0]}function L(O){return[O.target.x0,O.y1]}function b(){return(0,T.h5)().source(A).target(L)}},39898:function(x,o,t){var d,v;(function(){var i={version:"3.8.0"},M=[].slice,g=function(se){return M.call(se)},p=self.document;function u(se){return se&&(se.ownerDocument||se.document||se).documentElement}function a(se){return se&&(se.ownerDocument&&se.ownerDocument.defaultView||se.document&&se||se.defaultView)}if(p)try{g(p.documentElement.childNodes)[0].nodeType}catch{g=function(ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=ve[Ie];return Fe}}if(Date.now||(Date.now=function(){return+new Date}),p)try{p.createElement("DIV").style.setProperty("opacity",0,"")}catch{var c=this.Element.prototype,s=c.setAttribute,l=c.setAttributeNS,h=this.CSSStyleDeclaration.prototype,f=h.setProperty;c.setAttribute=function(ve,Ie){s.call(this,ve,Ie+"")},c.setAttributeNS=function(ve,Ie,Fe){l.call(this,ve,Ie,Fe+"")},h.setProperty=function(ve,Ie,Fe){f.call(this,ve,Ie+"",Fe)}}function m(se,ve){return seve?1:se>=ve?0:NaN}function _(se){return se===null?NaN:+se}function y(se){return!isNaN(se)}function C(se){return{left:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[qe],Ie)<0?Fe=qe+1:Ue=qe}return Fe},right:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[qe],Ie)>0?Ue=qe:Fe=qe+1}return Fe}}}i.ascending=m,i.descending=function(se,ve){return vese?1:ve>=se?0:NaN},i.min=function(se,ve){var Ie,Fe,Ue=-1,qe=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}return Ie},i.max=function(se,ve){var Ie,Fe,Ue=-1,qe=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}return Ie},i.extent=function(se,ve){var Ie,Fe,Ue,qe=-1,Xe=se.length;if(arguments.length===1){for(;++qe=Fe){Ie=Ue=Fe;break}for(;++qeFe&&(Ie=Fe),Ue=Fe){Ie=Ue=Fe;break}for(;++qeFe&&(Ie=Fe),Ue1)return Xe/(lt-1)},i.deviation=function(){var se=i.variance.apply(this,arguments);return se&&Math.sqrt(se)};var w=C(m);function k(se){return se.length}i.bisectLeft=w.left,i.bisect=i.bisectRight=w.right,i.bisector=function(se){return C(se.length===1?function(ve,Ie){return m(se(ve),Ie)}:se)},i.shuffle=function(se,ve,Ie){(qe=arguments.length)<3&&(Ie=se.length,qe<2&&(ve=0));for(var Fe,Ue,qe=Ie-ve;qe;)Ue=Math.random()*qe--|0,Fe=se[qe+ve],se[qe+ve]=se[Ue+ve],se[Ue+ve]=Fe;return se},i.permute=function(se,ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=se[ve[Ie]];return Fe},i.pairs=function(se){for(var ve=0,Ie=se.length-1,Fe=se[0],Ue=new Array(Ie<0?0:Ie);ve=0;)for(ve=(Fe=se[Ue]).length;--ve>=0;)Ie[--Xe]=Fe[ve];return Ie};var E=Math.abs;function T(se){for(var ve=1;se*ve%1;)ve*=10;return ve}function A(se,ve){for(var Ie in ve)Object.defineProperty(se.prototype,Ie,{value:ve[Ie],enumerable:!1})}function L(){this._=Object.create(null)}function b(se){return(se+="")=="__proto__"||se[0]==="\0"?"\0"+se:se}function O(se){return(se+="")[0]==="\0"?se.slice(1):se}function I(se){return b(se)in this._}function R(se){return(se=b(se))in this._&&delete this._[se]}function z(){var se=[];for(var ve in this._)se.push(O(ve));return se}function F(){var se=0;for(var ve in this._)++se;return se}function B(){for(var se in this._)return!1;return!0}function N(){this._=Object.create(null)}function q(se){return se}function j(se,ve,Ie){return function(){var Fe=Ie.apply(ve,arguments);return Fe===ve?se:Fe}}function Y(se,ve){if(ve in se)return ve;ve=ve.charAt(0).toUpperCase()+ve.slice(1);for(var Ie=0,Fe=U.length;Ieve;)Ue.push(Fe/qe);else for(;(Fe=se+Ie*++Xe)=Fe.length)return ve?ve.call(Ie,lt):se?lt.sort(se):lt;for(var zt,Ut,Ht,en,vn=-1,tn=lt.length,ln=Fe[gt++],an=new L;++vn=Fe.length)return tt;var gt=[],zt=Ue[lt++];return tt.forEach(function(Ut,Ht){gt.push({key:Ut,values:Xe(Ht,lt)})}),zt?gt.sort(function(Ut,Ht){return zt(Ut.key,Ht.key)}):gt}return Ie.map=function(tt,lt){return qe(lt,tt,0)},Ie.entries=function(tt){return Xe(qe(i.map,tt,0),0)},Ie.key=function(tt){return Fe.push(tt),Ie},Ie.sortKeys=function(tt){return Ue[Fe.length-1]=tt,Ie},Ie.sortValues=function(tt){return se=tt,Ie},Ie.rollup=function(tt){return ve=tt,Ie},Ie},i.set=function(se){var ve=new N;if(se)for(var Ie=0,Fe=se.length;Ie=0&&(Fe=se.slice(Ie+1),se=se.slice(0,Ie)),se)return arguments.length<2?this[se].on(Fe):this[se].on(Fe,ve);if(arguments.length===2){if(ve==null)for(se in this)this.hasOwnProperty(se)&&this[se].on(Fe,null);return this}},i.event=null,i.requote=function(se){return se.replace(X,"\\$&")};var X=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Q={}.__proto__?function(se,ve){se.__proto__=ve}:function(se,ve){for(var Ie in ve)se[Ie]=ve[Ie]};function re(se){return Q(se,ce),se}var ie=function(se,ve){return ve.querySelector(se)},oe=function(se,ve){return ve.querySelectorAll(se)},ue=function(se,ve){var Ie=se.matches||se[Y(se,"matchesSelector")];return ue=function(Fe,Ue){return Ie.call(Fe,Ue)},ue(se,ve)};typeof Sizzle=="function"&&(ie=function(se,ve){return Sizzle(se,ve)[0]||null},oe=Sizzle,ue=Sizzle.matchesSelector),i.selection=function(){return i.select(p.documentElement)};var ce=i.selection.prototype=[];function ye(se){return typeof se=="function"?se:function(){return ie(se,this)}}function de(se){return typeof se=="function"?se:function(){return oe(se,this)}}ce.select=function(se){var ve,Ie,Fe,Ue,qe=[];se=ye(se);for(var Xe=-1,tt=this.length;++Xe=0&&(Ie=se.slice(0,ve))!=="xmlns"&&(se=se.slice(ve+1)),pe.hasOwnProperty(Ie)?{space:pe[Ie],local:se}:se}},ce.attr=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node();return(se=i.ns.qualify(se)).local?Ie.getAttributeNS(se.space,se.local):Ie.getAttribute(se)}for(ve in se)this.each(xe(ve,se[ve]));return this}return this.each(xe(se,ve))},ce.classed=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node(),Fe=(se=Me(se)).length,Ue=-1;if(ve=Ie.classList){for(;++Ue=0;)(Ie=Fe[Ue])&&(qe&&qe!==Ie.nextSibling&&qe.parentNode.insertBefore(Ie,qe),qe=Ie);return this},ce.sort=function(se){se=ze.apply(this,arguments);for(var ve=-1,Ie=this.length;++ve=ve&&(ve=Ue+1);!(Xe=tt[ve])&&++ve0&&(se=se.slice(0,Ue));var Xe=Ye.get(se);function tt(){var lt=this[Fe];lt&&(this.removeEventListener(se,lt,lt.$),delete this[Fe])}return Xe&&(se=Xe,qe=st),Ue?ve?function(){var lt=qe(ve,g(arguments));tt.call(this),this.addEventListener(se,this[Fe]=lt,lt.$=Ie),lt._=ve}:tt:ve?G:function(){var lt,gt=new RegExp("^__on([^.]+)"+i.requote(se)+"$");for(var zt in this)if(lt=zt.match(gt)){var Ut=this[zt];this.removeEventListener(lt[1],Ut,Ut.$),delete this[zt]}}}i.selection.enter=ge,i.selection.enter.prototype=we,we.append=ce.append,we.empty=ce.empty,we.node=ce.node,we.call=ce.call,we.size=ce.size,we.select=function(se){for(var ve,Ie,Fe,Ue,qe,Xe=[],tt=-1,lt=this.length;++tt1?Vt:se<-1?-Vt:Math.asin(se)}function nt(se){return((se=Math.exp(se))+1/se)/2}var ht=Math.SQRT2;i.interpolateZoom=function(se,ve){var Ie,Fe,Ue=se[0],qe=se[1],Xe=se[2],tt=ve[0],lt=ve[1],gt=ve[2],zt=tt-Ue,Ut=lt-qe,Ht=zt*zt+Ut*Ut;if(Ht<1e-12)Fe=Math.log(gt/Xe)/ht,Ie=function(Cn){return[Ue+Cn*zt,qe+Cn*Ut,Xe*Math.exp(ht*Cn*Fe)]};else{var en=Math.sqrt(Ht),vn=(gt*gt-Xe*Xe+4*Ht)/(2*Xe*2*en),tn=(gt*gt-Xe*Xe-4*Ht)/(2*gt*2*en),ln=Math.log(Math.sqrt(vn*vn+1)-vn),an=Math.log(Math.sqrt(tn*tn+1)-tn);Fe=(an-ln)/ht,Ie=function(Cn){var _n,on=Cn*Fe,Fn=nt(ln),Hn=Xe/(2*en)*(Fn*(_n=ht*on+ln,((_n=Math.exp(2*_n))-1)/(_n+1))-function(ir){return((ir=Math.exp(ir))-1/ir)/2}(ln));return[Ue+Hn*zt,qe+Hn*Ut,Xe*Fn/nt(ht*on+ln)]}}return Ie.duration=1e3*Fe,Ie},i.behavior.zoom=function(){var se,ve,Ie,Fe,Ue,qe,Xe,tt,lt,gt={x:0,y:0,k:1},zt=[960,500],Ut=Qe,Ht=250,en=0,vn="mousedown.zoom",tn="mousemove.zoom",ln="mouseup.zoom",an="touchstart.zoom",Cn=Z(_n,"zoomstart","zoom","zoomend");function _n(Mr){Mr.on(vn,Sr).on(Ne+".zoom",mi).on("dblclick.zoom",gi).on(an,Wr)}function on(Mr){return[(Mr[0]-gt.x)/gt.k,(Mr[1]-gt.y)/gt.k]}function Fn(Mr){gt.k=Math.max(Ut[0],Math.min(Ut[1],Mr))}function Hn(Mr,qr){qr=function(ci){return[ci[0]*gt.k+gt.x,ci[1]*gt.k+gt.y]}(qr),gt.x+=Mr[0]-qr[0],gt.y+=Mr[1]-qr[1]}function ir(Mr,qr,ci,ui){Mr.__chart__={x:gt.x,y:gt.y,k:gt.k},Fn(Math.pow(2,ui)),Hn(ve=qr,ci),Mr=i.select(Mr),Ht>0&&(Mr=Mr.transition().duration(Ht)),Mr.call(_n.event)}function ar(){Xe&&Xe.domain(qe.range().map(function(Mr){return(Mr-gt.x)/gt.k}).map(qe.invert)),lt&<.domain(tt.range().map(function(Mr){return(Mr-gt.y)/gt.k}).map(tt.invert))}function Cr(Mr){en++||Mr({type:"zoomstart"})}function Or(Mr){ar(),Mr({type:"zoom",scale:gt.k,translate:[gt.x,gt.y]})}function _r(Mr){--en||(Mr({type:"zoomend"}),ve=null)}function Sr(){var Mr=this,qr=Cn.of(Mr,arguments),ci=0,ui=i.select(a(Mr)).on(tn,Ui).on(ln,aa),Ri=on(i.mouse(Mr)),_i=bt(Mr);function Ui(){ci=1,Hn(i.mouse(Mr),Ri),Or(qr)}function aa(){ui.on(tn,null).on(ln,null),_i(ci),_r(qr)}ua.call(Mr),Cr(qr)}function Wr(){var Mr,qr=this,ci=Cn.of(qr,arguments),ui={},Ri=0,_i=".zoom-"+i.event.changedTouches[0].identifier,Ui="touchmove"+_i,aa="touchend"+_i,ya=[],ca=i.select(qr),na=bt(qr);function oa(){var Ka=i.touches(qr);return Mr=gt.k,Ka.forEach(function(hi){hi.identifier in ui&&(ui[hi.identifier]=on(hi))}),Ka}function fa(){var Ka=i.event.target;i.select(Ka).on(Ui,Pa).on(aa,Bl),ya.push(Ka);for(var hi=i.event.changedTouches,ho=0,wo=hi.length;ho1){zi=Ea[0];var Ja=Ea[1],Wo=zi[0]-Ja[0],Kc=zi[1]-Ja[1];Ri=Wo*Wo+Kc*Kc}}function Pa(){var Ka,hi,ho,wo,Ea=i.touches(qr);ua.call(qr);for(var Rs=0,zi=Ea.length;Rs360?tt-=360:tt<0&&(tt+=360),tt<60?Fe+(Ue-Fe)*tt/60:tt<180?Ue:tt<240?Fe+(Ue-Fe)*(240-tt)/60:Fe}(Xe))}return se=isNaN(se)?0:(se%=360)<0?se+360:se,ve=isNaN(ve)||ve<0?0:ve>1?1:ve,Fe=2*(Ie=Ie<0?0:Ie>1?1:Ie)-(Ue=Ie<=.5?Ie*(1+ve):Ie+ve-Ie*ve),new An(qe(se+120),qe(se),qe(se-120))}function Lt(se,ve,Ie){return this instanceof Lt?(this.h=+se,this.c=+ve,void(this.l=+Ie)):arguments.length<2?se instanceof Lt?new Lt(se.h,se.c,se.l):Qt(se instanceof wt?se.l:(se=Rn((se=i.rgb(se)).r,se.g,se.b)).l,se.a,se.b):new Lt(se,ve,Ie)}_t.brighter=function(se){return se=Math.pow(.7,arguments.length?se:1),new pt(this.h,this.s,this.l/se)},_t.darker=function(se){return se=Math.pow(.7,arguments.length?se:1),new pt(this.h,this.s,se*this.l)},_t.rgb=function(){return It(this.h,this.s,this.l)},i.hcl=Lt;var yt=Lt.prototype=new ut;function Pt(se,ve,Ie){return isNaN(se)&&(se=0),isNaN(ve)&&(ve=0),new wt(Ie,Math.cos(se*=Ke)*ve,Math.sin(se)*ve)}function wt(se,ve,Ie){return this instanceof wt?(this.l=+se,this.a=+ve,void(this.b=+Ie)):arguments.length<2?se instanceof wt?new wt(se.l,se.a,se.b):se instanceof Lt?Pt(se.h,se.c,se.l):Rn((se=An(se)).r,se.g,se.b):new wt(se,ve,Ie)}yt.brighter=function(se){return new Lt(this.h,this.c,Math.min(100,this.l+Ot*(arguments.length?se:1)))},yt.darker=function(se){return new Lt(this.h,this.c,Math.max(0,this.l-Ot*(arguments.length?se:1)))},yt.rgb=function(){return Pt(this.h,this.c,this.l).rgb()},i.lab=wt;var Ot=18,Nt=.95047,$t=1.08883,qt=wt.prototype=new ut;function Xt(se,ve,Ie){var Fe=(se+16)/116,Ue=Fe+ve/500,qe=Fe-Ie/200;return new An(un(3.2404542*(Ue=rn(Ue)*Nt)-1.5371385*(Fe=1*rn(Fe))-.4985314*(qe=rn(qe)*$t)),un(-.969266*Ue+1.8760108*Fe+.041556*qe),un(.0556434*Ue-.2040259*Fe+1.0572252*qe))}function Qt(se,ve,Ie){return se>0?new Lt(Math.atan2(Ie,ve)*Je,Math.sqrt(ve*ve+Ie*Ie),se):new Lt(NaN,NaN,se)}function rn(se){return se>.206893034?se*se*se:(se-.13793103448275862)/7.787037}function xn(se){return se>.008856?Math.pow(se,.3333333333333333):7.787037*se+.13793103448275862}function un(se){return Math.round(255*(se<=.00304?12.92*se:1.055*Math.pow(se,.4166666666666667)-.055))}function An(se,ve,Ie){return this instanceof An?(this.r=~~se,this.g=~~ve,void(this.b=~~Ie)):arguments.length<2?se instanceof An?new An(se.r,se.g,se.b):dn(""+se,An,It):new An(se,ve,Ie)}function Yn(se){return new An(se>>16,se>>8&255,255&se)}function kn(se){return Yn(se)+""}qt.brighter=function(se){return new wt(Math.min(100,this.l+Ot*(arguments.length?se:1)),this.a,this.b)},qt.darker=function(se){return new wt(Math.max(0,this.l-Ot*(arguments.length?se:1)),this.a,this.b)},qt.rgb=function(){return Xt(this.l,this.a,this.b)},i.rgb=An;var sn=An.prototype=new ut;function Tn(se){return se<16?"0"+Math.max(0,se).toString(16):Math.min(255,se).toString(16)}function dn(se,ve,Ie){var Fe,Ue,qe,Xe=0,tt=0,lt=0;if(Fe=/([a-z]+)\((.*)\)/.exec(se=se.toLowerCase()))switch(Ue=Fe[2].split(","),Fe[1]){case"hsl":return Ie(parseFloat(Ue[0]),parseFloat(Ue[1])/100,parseFloat(Ue[2])/100);case"rgb":return ve(jn(Ue[0]),jn(Ue[1]),jn(Ue[2]))}return(qe=Gn.get(se))?ve(qe.r,qe.g,qe.b):(se==null||se.charAt(0)!=="#"||isNaN(qe=parseInt(se.slice(1),16))||(se.length===4?(Xe=(3840&qe)>>4,Xe|=Xe>>4,tt=240&qe,tt|=tt>>4,lt=15&qe,lt|=lt<<4):se.length===7&&(Xe=(16711680&qe)>>16,tt=(65280&qe)>>8,lt=255&qe)),ve(Xe,tt,lt))}function pn(se,ve,Ie){var Fe,Ue,qe=Math.min(se/=255,ve/=255,Ie/=255),Xe=Math.max(se,ve,Ie),tt=Xe-qe,lt=(Xe+qe)/2;return tt?(Ue=lt<.5?tt/(Xe+qe):tt/(2-Xe-qe),Fe=se==Xe?(ve-Ie)/tt+(ve0&<<1?0:Fe),new pt(Fe,Ue,lt)}function Rn(se,ve,Ie){var Fe=xn((.4124564*(se=In(se))+.3575761*(ve=In(ve))+.1804375*(Ie=In(Ie)))/Nt),Ue=xn((.2126729*se+.7151522*ve+.072175*Ie)/1);return wt(116*Ue-16,500*(Fe-Ue),200*(Ue-xn((.0193339*se+.119192*ve+.9503041*Ie)/$t)))}function In(se){return(se/=255)<=.04045?se/12.92:Math.pow((se+.055)/1.055,2.4)}function jn(se){var ve=parseFloat(se);return se.charAt(se.length-1)==="%"?Math.round(2.55*ve):ve}sn.brighter=function(se){se=Math.pow(.7,arguments.length?se:1);var ve=this.r,Ie=this.g,Fe=this.b,Ue=30;return ve||Ie||Fe?(ve&&ve=200&&Ut<300||Ut===304){try{zt=Ie.call(Ue,tt)}catch(Ht){return void qe.error.call(Ue,Ht)}qe.load.call(Ue,zt)}else qe.error.call(Ue,tt)}return self.XDomainRequest&&!("withCredentials"in tt)&&/^(http(s)?:)?\/\//.test(se)&&(tt=new XDomainRequest),"onload"in tt?tt.onload=tt.onerror=gt:tt.onreadystatechange=function(){tt.readyState>3&>()},tt.onprogress=function(zt){var Ut=i.event;i.event=zt;try{qe.progress.call(Ue,tt)}finally{i.event=Ut}},Ue.header=function(zt,Ut){return zt=(zt+"").toLowerCase(),arguments.length<2?Xe[zt]:(Ut==null?delete Xe[zt]:Xe[zt]=Ut+"",Ue)},Ue.mimeType=function(zt){return arguments.length?(ve=zt==null?null:zt+"",Ue):ve},Ue.responseType=function(zt){return arguments.length?(lt=zt,Ue):lt},Ue.response=function(zt){return Ie=zt,Ue},["get","post"].forEach(function(zt){Ue[zt]=function(){return Ue.send.apply(Ue,[zt].concat(g(arguments)))}}),Ue.send=function(zt,Ut,Ht){if(arguments.length===2&&typeof Ut=="function"&&(Ht=Ut,Ut=null),tt.open(zt,se,!0),ve==null||"accept"in Xe||(Xe.accept=ve+",*/*"),tt.setRequestHeader)for(var en in Xe)tt.setRequestHeader(en,Xe[en]);return ve!=null&&tt.overrideMimeType&&tt.overrideMimeType(ve),lt!=null&&(tt.responseType=lt),Ht!=null&&Ue.on("error",Ht).on("load",function(vn){Ht(null,vn)}),qe.beforesend.call(Ue,tt),tt.send(Ut??null),Ue},Ue.abort=function(){return tt.abort(),Ue},i.rebind(Ue,qe,"on"),Fe==null?Ue:Ue.get(function(zt){return zt.length===1?function(Ut,Ht){zt(Ut==null?Ht:null)}:zt}(Fe))}Gn.forEach(function(se,ve){Gn.set(se,Yn(ve))}),i.functor=Wn,i.xhr=ur(q),i.dsv=function(se,ve){var Ie=new RegExp('["'+se+` ]`),Fe=se.charCodeAt(0);function Ue(gt,zt,Ut){arguments.length<3&&(Ut=zt,zt=null);var Ht=rr(gt,ve,zt==null?qe:Xe(zt),Ut);return Ht.row=function(en){return arguments.length?Ht.response((zt=en)==null?qe:Xe(en)):zt},Ht}function qe(gt){return Ue.parse(gt.responseText)}function Xe(gt){return function(zt){return Ue.parse(zt.responseText,gt)}}function tt(gt){return gt.map(lt).join(se)}function lt(gt){return Ie.test(gt)?'"'+gt.replace(/\"/g,'""')+'"':gt}return Ue.parse=function(gt,zt){var Ut;return Ue.parseRows(gt,function(Ht,en){if(Ut)return Ut(Ht,en-1);var vn=function(tn){for(var ln={},an=Ht.length,Cn=0;Cn=ln)return vn;if(Ht)return Ht=!1,en;var Fn=an;if(gt.charCodeAt(Fn)===34){for(var Hn=Fn;Hn++24?(isFinite(ve)&&(clearTimeout(yr),yr=setTimeout(bn,ve)),or=0):(or=1,wr(bn))}function On(){for(var se=Date.now(),ve=Lr;ve;)se>=ve.t&&ve.c(se-ve.t)&&(ve.c=null),ve=ve.n;return se}function Ln(){for(var se,ve=Lr,Ie=1/0;ve;)ve.c?(ve.t1&&(ve=se[qe[Xe-2]],Ie=se[qe[Xe-1]],Fe=se[tt],(Ie[0]-ve[0])*(Fe[1]-ve[1])-(Ie[1]-ve[1])*(Fe[0]-ve[0])<=0);)--Xe;qe[Xe++]=tt}return qe.slice(0,Xe)}function tr(se,ve){return se[0]-ve[0]||se[1]-ve[1]}i.timer=function(){Kt.apply(this,arguments)},i.timer.flush=function(){On(),Ln()},i.round=function(se,ve){return ve?Math.round(se*(ve=Math.pow(10,ve)))/ve:Math.round(se)},i.geom={},i.geom.hull=function(se){var ve=Un,Ie=Jn;if(arguments.length)return Fe(se);function Fe(Ue){if(Ue.length<3)return[];var qe,Xe=Wn(ve),tt=Wn(Ie),lt=Ue.length,gt=[],zt=[];for(qe=0;qe=0;--qe)tn.push(Ue[gt[Ut[qe]][2]]);for(qe=+en;qeFt)tt=tt.L;else{if(!((Ue=qe-Qn(tt,Xe))>Ft)){Fe>-Ft?(ve=tt.P,Ie=tt):Ue>-Ft?(ve=tt,Ie=tt.N):ve=Ie=tt;break}if(!tt.R){ve=tt;break}tt=tt.R}var lt=yn(se);if(zn.insert(ve,lt),ve||Ie){if(ve===Ie)return xr(ve),Ie=yn(ve.site),zn.insert(lt,Ie),lt.edge=Ie.edge=Vr(ve.site,lt.site),pr(ve),void pr(Ie);if(Ie){xr(ve),xr(Ie);var gt=ve.site,zt=gt.x,Ut=gt.y,Ht=se.x-zt,en=se.y-Ut,vn=Ie.site,tn=vn.x-zt,ln=vn.y-Ut,an=2*(Ht*ln-en*tn),Cn=Ht*Ht+en*en,_n=tn*tn+ln*ln,on={x:(ln*Cn-en*_n)/an+zt,y:(Ht*_n-tn*Cn)/an+Ut};vr(Ie.edge,gt,vn,on),lt.edge=Vr(gt,se,null,on),Ie.edge=Vr(se,vn,null,on),pr(ve),pr(Ie)}else lt.edge=Vr(ve.site,lt.site)}}function nr(se,ve){var Ie=se.site,Fe=Ie.x,Ue=Ie.y,qe=Ue-ve;if(!qe)return Fe;var Xe=se.P;if(!Xe)return-1/0;var tt=(Ie=Xe.site).x,lt=Ie.y,gt=lt-ve;if(!gt)return tt;var zt=tt-Fe,Ut=1/qe-1/gt,Ht=zt/gt;return Ut?(-Ht+Math.sqrt(Ht*Ht-2*Ut*(zt*zt/(-2*gt)-lt+gt/2+Ue-qe/2)))/Ut+Fe:(Fe+tt)/2}function Qn(se,ve){var Ie=se.N;if(Ie)return nr(Ie,ve);var Fe=se.site;return Fe.y===ve?Fe.x:1/0}function hr(se){this.site=se,this.edges=[]}function fr(se,ve){return ve.angle-se.angle}function mr(){Gi(this),this.x=this.y=this.arc=this.site=this.cy=null}function pr(se){var ve=se.P,Ie=se.N;if(ve&&Ie){var Fe=ve.site,Ue=se.site,qe=Ie.site;if(Fe!==qe){var Xe=Ue.x,tt=Ue.y,lt=Fe.x-Xe,gt=Fe.y-tt,zt=qe.x-Xe,Ut=2*(lt*(ln=qe.y-tt)-gt*zt);if(!(Ut>=-1e-12)){var Ht=lt*lt+gt*gt,en=zt*zt+ln*ln,vn=(ln*Ht-gt*en)/Ut,tn=(lt*en-zt*Ht)/Ut,ln=tn+tt,an=wn.pop()||new mr;an.arc=se,an.site=Ue,an.x=vn+Xe,an.y=ln+Math.sqrt(vn*vn+tn*tn),an.cy=ln,se.circle=an;for(var Cn=null,_n=En._;_n;)if(an.y<_n.y||an.y===_n.y&&an.x<=_n.x){if(!_n.L){Cn=_n.P;break}_n=_n.L}else{if(!_n.R){Cn=_n;break}_n=_n.R}En.insert(Cn,an),Cn||(Dn=an)}}}}function xr(se){var ve=se.circle;ve&&(ve.P||(Dn=ve.N),En.remove(ve),wn.push(ve),Gi(ve),se.circle=null)}function Rr(se,ve){var Ie=se.b;if(Ie)return!0;var Fe,Ue,qe=se.a,Xe=ve[0][0],tt=ve[1][0],lt=ve[0][1],gt=ve[1][1],zt=se.l,Ut=se.r,Ht=zt.x,en=zt.y,vn=Ut.x,tn=Ut.y,ln=(Ht+vn)/2,an=(en+tn)/2;if(tn===en){if(ln=tt)return;if(Ht>vn){if(qe){if(qe.y>=gt)return}else qe={x:ln,y:lt};Ie={x:ln,y:gt}}else{if(qe){if(qe.y1)if(Ht>vn){if(qe){if(qe.y>=gt)return}else qe={x:(lt-Ue)/Fe,y:lt};Ie={x:(gt-Ue)/Fe,y:gt}}else{if(qe){if(qe.y=tt)return}else qe={x:Xe,y:Fe*Xe+Ue};Ie={x:tt,y:Fe*tt+Ue}}else{if(qe){if(qe.x0)){if(an/=ar,ar<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ut-on,ar||!(an<0)){if(an/=ar,ar<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(ar>0){if(an0)){if(an/=Cr,Cr<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ht-Fn,Cr||!(an<0)){if(an/=Cr,Cr<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(Cr>0){if(an0&&(ln.a={x:on+Hn*ar,y:Fn+Hn*Cr}),ir<1&&(ln.b={x:on+ir*ar,y:Fn+ir*Cr}),ln}}}}}),tn=en.length;tn--;)(!Rr(lt=en[tn],tt)||!vn(lt)||E(lt.a.x-lt.b.x)Ft||E(Ut-gt)>Ft)&&(vn.splice(en,0,new jr((ar=Ht.site,Cr=an,Or=E(zt-Cn)Ft?{x:Cn,y:E(lt-Cn)Ft?{x:E(gt-Fn)Ft?{x:_n,y:E(lt-_n)Ft?{x:E(gt-on)=zt&&an.x<=Ht&&an.y>=Ut&&an.y<=en?[[zt,en],[Ht,en],[Ht,Ut],[zt,Ut]]:[]).point=lt[tn]}),gt}function tt(lt){return lt.map(function(gt,zt){return{x:Math.round(Fe(gt,zt)/Ft)*Ft,y:Math.round(Ue(gt,zt)/Ft)*Ft,i:zt}})}return Xe.links=function(lt){return Oa(tt(lt)).edges.filter(function(gt){return gt.l&>.r}).map(function(gt){return{source:lt[gt.l.i],target:lt[gt.r.i]}})},Xe.triangles=function(lt){var gt=[];return Oa(tt(lt)).cells.forEach(function(zt,Ut){for(var Ht,en,vn,tn,ln=zt.site,an=zt.edges.sort(fr),Cn=-1,_n=an.length,on=an[_n-1].edge,Fn=on.l===ln?on.r:on.l;++Cn<_n;)Ht=Fn,Fn=(on=an[Cn].edge).l===ln?on.r:on.l,Utqe||Ht>Xe||en=Hn)<<1|ve>=Fn,ar=ir+4;irqe&&(Ue=ve.slice(qe,Ue),tt[Xe]?tt[Xe]+=Ue:tt[++Xe]=Ue),(Ie=Ie[0])===(Fe=Fe[0])?tt[Xe]?tt[Xe]+=Fe:tt[++Xe]=Fe:(tt[++Xe]=null,lt.push({i:Xe,x:ls(Ie,Fe)})),qe=ic.lastIndex;return qean&&(an=zt.x),zt.y>Cn&&(Cn=zt.y),Ut.push(zt.x),Ht.push(zt.y);else for(en=0;enan&&(an=Fn),Hn>Cn&&(Cn=Hn),Ut.push(Fn),Ht.push(Hn)}var ir=an-tn,ar=Cn-ln;function Cr(Sr,Wr,mi,gi,Mr,qr,ci,ui){if(!isNaN(mi)&&!isNaN(gi))if(Sr.leaf){var Ri=Sr.x,_i=Sr.y;if(Ri!=null)if(E(Ri-mi)+E(_i-gi)<.01)Or(Sr,Wr,mi,gi,Mr,qr,ci,ui);else{var Ui=Sr.point;Sr.x=Sr.y=Sr.point=null,Or(Sr,Ui,Ri,_i,Mr,qr,ci,ui),Or(Sr,Wr,mi,gi,Mr,qr,ci,ui)}else Sr.x=mi,Sr.y=gi,Sr.point=Wr}else Or(Sr,Wr,mi,gi,Mr,qr,ci,ui)}function Or(Sr,Wr,mi,gi,Mr,qr,ci,ui){var Ri=.5*(Mr+ci),_i=.5*(qr+ui),Ui=mi>=Ri,aa=gi>=_i,ya=aa<<1|Ui;Sr.leaf=!1,Ui?Mr=Ri:ci=Ri,aa?qr=_i:ui=_i,Cr(Sr=Sr.nodes[ya]||(Sr.nodes[ya]={leaf:!0,nodes:[],point:null,x:null,y:null}),Wr,mi,gi,Mr,qr,ci,ui)}ir>ar?Cn=ln+ir:an=tn+ar;var _r={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(Sr){Cr(_r,Sr,+_n(Sr,++en),+on(Sr,en),tn,ln,an,Cn)},visit:function(Sr){Su(Sr,_r,tn,ln,an,Cn)},find:function(Sr){return ch(_r,Sr[0],Sr[1],tn,ln,an,Cn)}};if(en=-1,ve==null){for(;++en=0&&!(Ie=i.interpolators[Fe](se,ve)););return Ie}function us(se,ve){var Ie,Fe=[],Ue=[],qe=se.length,Xe=ve.length,tt=Math.min(se.length,ve.length);for(Ie=0;Ie=1?1:se(ve)}}function Is(se){return function(ve){return 1-se(1-ve)}}function qs(se){return function(ve){return .5*(ve<.5?se(2*ve):2-se(2-2*ve))}}function ac(se){return se*se}function fh(se){return se*se*se}function ol(se){if(se<=0)return 0;if(se>=1)return 1;var ve=se*se,Ie=ve*se;return 4*(se<.5?Ie:3*(se-ve)+Ie-.75)}function hh(se){return 1-Math.cos(se*Vt)}function dh(se){return Math.pow(2,10*(se-1))}function Yh(se){return 1-Math.sqrt(1-se*se)}function wf(se){return se<.36363636363636365?7.5625*se*se:se<.7272727272727273?7.5625*(se-=.5454545454545454)*se+.75:se<.9090909090909091?7.5625*(se-=.8181818181818182)*se+.9375:7.5625*(se-=.9545454545454546)*se+.984375}function ph(se,ve){return ve-=se,function(Ie){return Math.round(se+ve*Ie)}}function Tf(se){var ve,Ie,Fe,Ue=[se.a,se.b],qe=[se.c,se.d],Xe=ll(Ue),tt=sl(Ue,qe),lt=ll(((ve=qe)[0]+=(Fe=-tt)*(Ie=Ue)[0],ve[1]+=Fe*Ie[1],ve))||0;Ue[0]*qe[1]=0?se.slice(0,ve):se,Fe=ve>=0?se.slice(ve+1):"in";return Ie=Wi.get(Ie)||Cl,gs((Fe=El.get(Fe)||q)(Ie.apply(null,M.call(arguments,1))))},i.interpolateHcl=function(se,ve){se=i.hcl(se),ve=i.hcl(ve);var Ie=se.h,Fe=se.c,Ue=se.l,qe=ve.h-Ie,Xe=ve.c-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.c:Fe),isNaN(qe)?(qe=0,Ie=isNaN(Ie)?ve.h:Ie):qe>180?qe-=360:qe<-180&&(qe+=360),function(lt){return Pt(Ie+qe*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateHsl=function(se,ve){se=i.hsl(se),ve=i.hsl(ve);var Ie=se.h,Fe=se.s,Ue=se.l,qe=ve.h-Ie,Xe=ve.s-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.s:Fe),isNaN(qe)?(qe=0,Ie=isNaN(Ie)?ve.h:Ie):qe>180?qe-=360:qe<-180&&(qe+=360),function(lt){return It(Ie+qe*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateLab=function(se,ve){se=i.lab(se),ve=i.lab(ve);var Ie=se.l,Fe=se.a,Ue=se.b,qe=ve.l-Ie,Xe=ve.a-Fe,tt=ve.b-Ue;return function(lt){return Xt(Ie+qe*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateRound=ph,i.transform=function(se){var ve=p.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(Ie){if(Ie!=null){ve.setAttribute("transform",Ie);var Fe=ve.transform.baseVal.consolidate()}return new Tf(Fe?Fe.matrix:Eu)})(se)},Tf.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Eu={a:1,b:0,c:0,d:1,e:0,f:0};function ul(se){return se.length?se.pop()+",":""}function kf(se,ve){var Ie=[],Fe=[];return se=i.transform(se),ve=i.transform(ve),function(Ue,qe,Xe,tt){if(Ue[0]!==qe[0]||Ue[1]!==qe[1]){var lt=Xe.push("translate(",null,",",null,")");tt.push({i:lt-4,x:ls(Ue[0],qe[0])},{i:lt-2,x:ls(Ue[1],qe[1])})}else(qe[0]||qe[1])&&Xe.push("translate("+qe+")")}(se.translate,ve.translate,Ie,Fe),function(Ue,qe,Xe,tt){Ue!==qe?(Ue-qe>180?qe+=360:qe-Ue>180&&(Ue+=360),tt.push({i:Xe.push(ul(Xe)+"rotate(",null,")")-2,x:ls(Ue,qe)})):qe&&Xe.push(ul(Xe)+"rotate("+qe+")")}(se.rotate,ve.rotate,Ie,Fe),function(Ue,qe,Xe,tt){Ue!==qe?tt.push({i:Xe.push(ul(Xe)+"skewX(",null,")")-2,x:ls(Ue,qe)}):qe&&Xe.push(ul(Xe)+"skewX("+qe+")")}(se.skew,ve.skew,Ie,Fe),function(Ue,qe,Xe,tt){if(Ue[0]!==qe[0]||Ue[1]!==qe[1]){var lt=Xe.push(ul(Xe)+"scale(",null,",",null,")");tt.push({i:lt-4,x:ls(Ue[0],qe[0])},{i:lt-2,x:ls(Ue[1],qe[1])})}else qe[0]===1&&qe[1]===1||Xe.push(ul(Xe)+"scale("+qe+")")}(se.scale,ve.scale,Ie,Fe),se=ve=null,function(Ue){for(var qe,Xe=-1,tt=Fe.length;++Xe0?Ie=on:(se.c=null,se.t=NaN,se=null,tt.end({type:"end",alpha:Ie=0})):on>0&&(tt.start({type:"start",alpha:Ie=on}),se=Kt(Xe.tick)),Xe):Ie},Xe.start=function(){var on,Fn,Hn,ir=ln.length,ar=an.length,Cr=lt[0],Or=lt[1];for(on=0;on=0;)Ie.push(Ue[Fe])}function vs(se,ve){for(var Ie=[se],Fe=[];(se=Ie.pop())!=null;)if(Fe.push(se),(qe=se.children)&&(Ue=qe.length))for(var Ue,qe,Xe=-1;++Xe=0;)Xe.push(zt=gt[lt]),zt.parent=qe,zt.depth=qe.depth+1;Ie&&(qe.value=0),qe.children=gt}else Ie&&(qe.value=+Ie.call(Fe,qe,qe.depth)||0),delete qe.children;return vs(Ue,function(Ut){var Ht,en;se&&(Ht=Ut.children)&&Ht.sort(se),Ie&&(en=Ut.parent)&&(en.value+=Ut.value)}),tt}return Fe.sort=function(Ue){return arguments.length?(se=Ue,Fe):se},Fe.children=function(Ue){return arguments.length?(ve=Ue,Fe):ve},Fe.value=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe.revalue=function(Ue){return Ie&&(Iu(Ue,function(qe){qe.children&&(qe.value=0)}),vs(Ue,function(qe){var Xe;qe.children||(qe.value=+Ie.call(Fe,qe,qe.depth)||0),(Xe=qe.parent)&&(Xe.value+=qe.value)})),Ue},Fe},i.layout.partition=function(){var se=i.layout.hierarchy(),ve=[1,1];function Ie(qe,Xe,tt,lt){var gt=qe.children;if(qe.x=Xe,qe.y=qe.depth*lt,qe.dx=tt,qe.dy=lt,gt&&(zt=gt.length)){var zt,Ut,Ht,en=-1;for(tt=qe.value?tt/qe.value:0;++entt&&(tt=Fe),Xe.push(Fe)}for(Ie=0;IeUe&&(Fe=Ie,Ue=ve);return Fe}function Ol(se){return se.reduce(Hc,0)}function Hc(se,ve){return se+ve[1]}function dc(se,ve){return Cf(se,Math.ceil(Math.log(ve.length)/Math.LN2+1))}function Cf(se,ve){for(var Ie=-1,Fe=+se[0],Ue=(se[1]-Fe)/ve,qe=[];++Ie<=ve;)qe[Ie]=Ue*Ie+Fe;return qe}function pc(se){return[i.min(se),i.max(se)]}function Du(se,ve){return se.value-ve.value}function tu(se,ve){var Ie=se._pack_next;se._pack_next=ve,ve._pack_prev=se,ve._pack_next=Ie,Ie._pack_prev=ve}function nu(se,ve){se._pack_next=ve,ve._pack_prev=se}function ea(se,ve){var Ie=ve.x-se.x,Fe=ve.y-se.y,Ue=se.r+ve.r;return .999*Ue*Ue>Ie*Ie+Fe*Fe}function Pl(se){if((ve=se.children)&&(lt=ve.length)){var ve,Ie,Fe,Ue,qe,Xe,tt,lt,gt=1/0,zt=-1/0,Ut=1/0,Ht=-1/0;if(ve.forEach(Dl),(Ie=ve[0]).x=-Ie.r,Ie.y=0,_n(Ie),lt>1&&((Fe=ve[1]).x=Fe.r,Fe.y=0,_n(Fe),lt>2))for(ji(Ie,Fe,Ue=ve[2]),_n(Ue),tu(Ie,Ue),Ie._pack_prev=Ue,tu(Ue,Fe),Fe=Ie._pack_next,qe=3;qe0)for(Xe=-1;++Xe=Ut[0]&<<=Ut[1]&&((tt=gt[i.bisect(Ht,lt,1,vn)-1]).y+=tn,tt.push(qe[Xe]));return gt}return Ue.value=function(qe){return arguments.length?(ve=qe,Ue):ve},Ue.range=function(qe){return arguments.length?(Ie=Wn(qe),Ue):Ie},Ue.bins=function(qe){return arguments.length?(Fe=typeof qe=="number"?function(Xe){return Cf(Xe,qe)}:Wn(qe),Ue):Fe},Ue.frequency=function(qe){return arguments.length?(se=!!qe,Ue):se},Ue},i.layout.pack=function(){var se,ve=i.layout.hierarchy().sort(Du),Ie=0,Fe=[1,1];function Ue(qe,Xe){var tt=ve.call(this,qe,Xe),lt=tt[0],gt=Fe[0],zt=Fe[1],Ut=se==null?Math.sqrt:typeof se=="function"?se:function(){return se};if(lt.x=lt.y=0,vs(lt,function(en){en.r=+Ut(en.value)}),vs(lt,Pl),Ie){var Ht=Ie*(se?1:Math.max(2*lt.r/gt,2*lt.r/zt))/2;vs(lt,function(en){en.r+=Ht}),vs(lt,Pl),vs(lt,function(en){en.r-=Ht})}return Fi(lt,gt/2,zt/2,se?1:1/Math.max(2*lt.r/gt,2*lt.r/zt)),tt}return Ue.size=function(qe){return arguments.length?(Fe=qe,Ue):Fe},Ue.radius=function(qe){return arguments.length?(se=qe==null||typeof qe=="function"?qe:+qe,Ue):se},Ue.padding=function(qe){return arguments.length?(Ie=+qe,Ue):Ie},Jl(Ue,ve)},i.layout.tree=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=fl,Ie=[1,1],Fe=null;function Ue(lt,gt){var zt=se.call(this,lt,gt),Ut=zt[0],Ht=function(_n){for(var on,Fn={A:null,children:[_n]},Hn=[Fn];(on=Hn.pop())!=null;)for(var ir,ar=on.children,Cr=0,Or=ar.length;Crvn.x&&(vn=_n),_n.depth>tn.depth&&(tn=_n)});var ln=ve(en,vn)/2-en.x,an=Ie[0]/(vn.x+ve(vn,en)/2+ln),Cn=Ie[1]/(tn.depth||1);Iu(Ut,function(_n){_n.x=(_n.x+ln)*an,_n.y=_n.depth*Cn})}return zt}function qe(lt){var gt=lt.children,zt=lt.parent.children,Ut=lt.i?zt[lt.i-1]:null;if(gt.length){(function(en){for(var vn,tn=0,ln=0,an=en.children,Cn=an.length;--Cn>=0;)(vn=an[Cn]).z+=tn,vn.m+=tn,tn+=vn.s+(ln+=vn.c)})(lt);var Ht=(gt[0].z+gt[gt.length-1].z)/2;Ut?(lt.z=Ut.z+ve(lt._,Ut._),lt.m=lt.z-Ht):lt.z=Ht}else Ut&&(lt.z=Ut.z+ve(lt._,Ut._));lt.parent.A=function(en,vn,tn){if(vn){for(var ln,an=en,Cn=en,_n=vn,on=an.parent.children[0],Fn=an.m,Hn=Cn.m,ir=_n.m,ar=on.m;_n=Gc(_n),an=$s(an),_n&&an;)on=$s(on),(Cn=Gc(Cn)).a=en,(ln=_n.z+ir-an.z-Fn+ve(_n._,an._))>0&&(Ef(ru(_n,en,tn),en,ln),Fn+=ln,Hn+=ln),ir+=_n.m,Fn+=an.m,ar+=on.m,Hn+=Cn.m;_n&&!Gc(Cn)&&(Cn.t=_n,Cn.m+=ir-Hn),an&&!$s(on)&&(on.t=an,on.m+=Fn-ar,tn=en)}return tn}(lt,Ut,lt.parent.A||zt[0])}function Xe(lt){lt._.x=lt.z+lt.parent.m,lt.m+=lt.parent.m}function tt(lt){lt.x*=Ie[0],lt.y=lt.depth*Ie[1]}return Ue.separation=function(lt){return arguments.length?(ve=lt,Ue):ve},Ue.size=function(lt){return arguments.length?(Fe=(Ie=lt)==null?tt:null,Ue):Fe?null:Ie},Ue.nodeSize=function(lt){return arguments.length?(Fe=(Ie=lt)==null?null:tt,Ue):Fe?Ie:null},Jl(Ue,se)},i.layout.cluster=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=fl,Ie=[1,1],Fe=!1;function Ue(qe,Xe){var tt,lt=se.call(this,qe,Xe),gt=lt[0],zt=0;vs(gt,function(tn){var ln=tn.children;ln&&ln.length?(tn.x=function(an){return an.reduce(function(Cn,_n){return Cn+_n.x},0)/an.length}(ln),tn.y=function(an){return 1+i.max(an,function(Cn){return Cn.y})}(ln)):(tn.x=tt?zt+=ve(tn,tt):0,tn.y=0,tt=tn)});var Ut=Lf(gt),Ht=iu(gt),en=Ut.x-ve(Ut,Ht)/2,vn=Ht.x+ve(Ht,Ut)/2;return vs(gt,Fe?function(tn){tn.x=(tn.x-gt.x)*Ie[0],tn.y=(gt.y-tn.y)*Ie[1]}:function(tn){tn.x=(tn.x-en)/(vn-en)*Ie[0],tn.y=(1-(gt.y?tn.y/gt.y:1))*Ie[1]}),lt}return Ue.separation=function(qe){return arguments.length?(ve=qe,Ue):ve},Ue.size=function(qe){return arguments.length?(Fe=(Ie=qe)==null,Ue):Fe?null:Ie},Ue.nodeSize=function(qe){return arguments.length?(Fe=(Ie=qe)!=null,Ue):Fe?Ie:null},Jl(Ue,se)},i.layout.treemap=function(){var se,ve=i.layout.hierarchy(),Ie=Math.round,Fe=[1,1],Ue=null,qe=hl,Xe=!1,tt="squarify",lt=.5*(1+Math.sqrt(5));function gt(tn,ln){for(var an,Cn,_n=-1,on=tn.length;++_n0;)Fn.push(an=Hn[_n-1]),Fn.area+=an.area,tt!=="squarify"||(Cn=Ht(Fn,ar))<=ir?(Hn.pop(),ir=Cn):(Fn.area-=Fn.pop().area,en(Fn,ar,on,!1),ar=Math.min(on.dx,on.dy),Fn.length=Fn.area=0,ir=1/0);Fn.length&&(en(Fn,ar,on,!0),Fn.length=Fn.area=0),ln.forEach(zt)}}function Ut(tn){var ln=tn.children;if(ln&&ln.length){var an,Cn=qe(tn),_n=ln.slice(),on=[];for(gt(_n,Cn.dx*Cn.dy/tn.value),on.area=0;an=_n.pop();)on.push(an),on.area+=an.area,an.z!=null&&(en(on,an.z?Cn.dx:Cn.dy,Cn,!_n.length),on.length=on.area=0);ln.forEach(Ut)}}function Ht(tn,ln){for(var an,Cn=tn.area,_n=0,on=1/0,Fn=-1,Hn=tn.length;++Fn_n&&(_n=an));return ln*=ln,(Cn*=Cn)?Math.max(ln*_n*lt/Cn,Cn/(ln*on*lt)):1/0}function en(tn,ln,an,Cn){var _n,on=-1,Fn=tn.length,Hn=an.x,ir=an.y,ar=ln?Ie(tn.area/ln):0;if(ln==an.dx){for((Cn||ar>an.dy)&&(ar=an.dy);++onan.dx)&&(ar=an.dx);++on1);return se+ve*Fe*Math.sqrt(-2*Math.log(qe)/qe)}},logNormal:function(){var se=i.random.normal.apply(i,arguments);return function(){return Math.exp(se())}},bates:function(se){var ve=i.random.irwinHall(se);return function(){return ve()/se}},irwinHall:function(se){return function(){for(var ve=0,Ie=0;Ie2?fo:ou,gt=Fe?Xl:Mf;return Ue=lt(se,ve,gt,Ie),qe=lt(ve,se,gt,Ko),tt}function tt(lt){return Ue(lt)}return tt.invert=function(lt){return qe(lt)},tt.domain=function(lt){return arguments.length?(se=lt.map(Number),Xe()):se},tt.range=function(lt){return arguments.length?(ve=lt,Xe()):ve},tt.rangeRound=function(lt){return tt.range(lt).interpolate(ph)},tt.clamp=function(lt){return arguments.length?(Fe=lt,Xe()):Fe},tt.interpolate=function(lt){return arguments.length?(Ie=lt,Xe()):Ie},tt.ticks=function(lt){return Jo(se,lt)},tt.tickFormat=function(lt,gt){return d3_scale_linearTickFormat(se,lt,gt)},tt.nice=function(lt){return bs(se,lt),Xe()},tt.copy=function(){return Vo(se,ve,Ie,Fe)},Xe()}function Rl(se,ve){return i.rebind(se,ve,"range","rangeRound","interpolate","clamp")}function bs(se,ve){return $a(se,go(Xa(se,ve)[2])),$a(se,go(Xa(se,ve)[2])),se}function Xa(se,ve){ve==null&&(ve=10);var Ie=va(se),Fe=Ie[1]-Ie[0],Ue=Math.pow(10,Math.floor(Math.log(Fe/ve)/Math.LN10)),qe=ve/Fe*Ue;return qe<=.15?Ue*=10:qe<=.35?Ue*=5:qe<=.75&&(Ue*=2),Ie[0]=Math.ceil(Ie[0]/Ue)*Ue,Ie[1]=Math.floor(Ie[1]/Ue)*Ue+.5*Ue,Ie[2]=Ue,Ie}function Jo(se,ve){return i.range.apply(i,Xa(se,ve))}function Wc(se,ve,Ie,Fe){function Ue(tt){return(Ie?Math.log(tt<0?0:tt):-Math.log(tt>0?0:-tt))/Math.log(ve)}function qe(tt){return Ie?Math.pow(ve,tt):-Math.pow(ve,-tt)}function Xe(tt){return se(Ue(tt))}return Xe.invert=function(tt){return qe(se.invert(tt))},Xe.domain=function(tt){return arguments.length?(Ie=tt[0]>=0,se.domain((Fe=tt.map(Number)).map(Ue)),Xe):Fe},Xe.base=function(tt){return arguments.length?(ve=+tt,se.domain(Fe.map(Ue)),Xe):ve},Xe.nice=function(){var tt=$a(Fe.map(Ue),Ie?Math:qc);return se.domain(tt),Fe=tt.map(qe),Xe},Xe.ticks=function(){var tt=va(Fe),lt=[],gt=tt[0],zt=tt[1],Ut=Math.floor(Ue(gt)),Ht=Math.ceil(Ue(zt)),en=ve%1?2:ve;if(isFinite(Ht-Ut)){if(Ie){for(;Ut0;vn--)lt.push(qe(Ut)*vn);for(Ut=0;lt[Ut]zt;Ht--);lt=lt.slice(Ut,Ht)}return lt},Xe.copy=function(){return Wc(se.copy(),ve,Ie,Fe)},Rl(Xe,se)}i.scale.linear=function(){return Vo([0,1],[0,1],Ko,!1)},i.scale.log=function(){return Wc(i.scale.linear().domain([0,1]),10,!0,[1,10])};var qc={floor:function(se){return-Math.ceil(-se)},ceil:function(se){return-Math.floor(-se)}};function Po(se,ve,Ie){var Fe=Br(ve),Ue=Br(1/ve);function qe(Xe){return se(Fe(Xe))}return qe.invert=function(Xe){return Ue(se.invert(Xe))},qe.domain=function(Xe){return arguments.length?(se.domain((Ie=Xe.map(Number)).map(Fe)),qe):Ie},qe.ticks=function(Xe){return Jo(Ie,Xe)},qe.tickFormat=function(Xe,tt){return d3_scale_linearTickFormat(Ie,Xe,tt)},qe.nice=function(Xe){return qe.domain(bs(Ie,Xe))},qe.exponent=function(Xe){return arguments.length?(Fe=Br(ve=Xe),Ue=Br(1/ve),se.domain(Ie.map(Fe)),qe):ve},qe.copy=function(){return Po(se.copy(),ve,Ie)},Rl(qe,se)}function Br(se){return function(ve){return ve<0?-Math.pow(-ve,se):Math.pow(ve,se)}}function su(se,ve){var Ie,Fe,Ue;function qe(tt){return Fe[((Ie.get(tt)||(ve.t==="range"?Ie.set(tt,se.push(tt)):NaN))-1)%Fe.length]}function Xe(tt,lt){return i.range(se.length).map(function(gt){return tt+lt*gt})}return qe.domain=function(tt){if(!arguments.length)return se;se=[],Ie=new L;for(var lt,gt=-1,zt=tt.length;++gt0?Ie[qe-1]:se[0],qeHt?0:1;if(zt=Wt)return lt(zt,vn)+(gt?lt(gt,1-vn):"")+"Z";var tn,ln,an,Cn,_n,on,Fn,Hn,ir,ar,Cr,Or,_r=0,Sr=0,Wr=[];if((Cn=(+Xe.apply(this,arguments)||0)/2)&&(an=Fe===mc?Math.sqrt(gt*gt+zt*zt):+Fe.apply(this,arguments),vn||(Sr*=-1),zt&&(Sr=We(an/zt*Math.sin(Cn))),gt&&(_r=We(an/gt*Math.sin(Cn)))),zt){_n=zt*Math.cos(Ut+Sr),on=zt*Math.sin(Ut+Sr),Fn=zt*Math.cos(Ht-Sr),Hn=zt*Math.sin(Ht-Sr);var mi=Math.abs(Ht-Ut-2*Sr)<=Dt?0:1;if(Sr&&Os(_n,on,Fn,Hn)===vn^mi){var gi=(Ut+Ht)/2;_n=zt*Math.cos(gi),on=zt*Math.sin(gi),Fn=Hn=null}}else _n=on=0;if(gt){ir=gt*Math.cos(Ht-_r),ar=gt*Math.sin(Ht-_r),Cr=gt*Math.cos(Ut+_r),Or=gt*Math.sin(Ut+_r);var Mr=Math.abs(Ut-Ht+2*_r)<=Dt?0:1;if(_r&&Os(ir,ar,Cr,Or)===1-vn^Mr){var qr=(Ut+Ht)/2;ir=gt*Math.cos(qr),ar=gt*Math.sin(qr),Cr=Or=null}}else ir=ar=0;if(en>Ft&&(tn=Math.min(Math.abs(zt-gt)/2,+Ie.apply(this,arguments)))>.001){ln=gt0?0:1}function _s(se,ve,Ie,Fe,Ue){var qe=se[0]-ve[0],Xe=se[1]-ve[1],tt=(Ue?Fe:-Fe)/Math.sqrt(qe*qe+Xe*Xe),lt=tt*Xe,gt=-tt*qe,zt=se[0]+lt,Ut=se[1]+gt,Ht=ve[0]+lt,en=ve[1]+gt,vn=(zt+Ht)/2,tn=(Ut+en)/2,ln=Ht-zt,an=en-Ut,Cn=ln*ln+an*an,_n=Ie-Fe,on=zt*en-Ht*Ut,Fn=(an<0?-1:1)*Math.sqrt(Math.max(0,_n*_n*Cn-on*on)),Hn=(on*an-ln*Fn)/Cn,ir=(-on*ln-an*Fn)/Cn,ar=(on*an+ln*Fn)/Cn,Cr=(-on*ln+an*Fn)/Cn,Or=Hn-vn,_r=ir-tn,Sr=ar-vn,Wr=Cr-tn;return Or*Or+_r*_r>Sr*Sr+Wr*Wr&&(Hn=ar,ir=Cr),[[Hn-lt,ir-gt],[Hn*Ie/_n,ir*Ie/_n]]}function uu(){return!0}function bo(se){var ve=Un,Ie=Jn,Fe=uu,Ue=Ki,qe=Ue.key,Xe=.7;function tt(lt){var gt,zt=[],Ut=[],Ht=-1,en=lt.length,vn=Wn(ve),tn=Wn(Ie);function ln(){zt.push("M",Ue(se(Ut),Xe))}for(;++Ht1&&Ue.push("H",Fe[0]),Ue.join("")},"step-before":cs,"step-after":Ts,basis:Yi,"basis-open":function(se){if(se.length<4)return Ki(se);for(var ve,Ie=[],Fe=-1,Ue=se.length,qe=[0],Xe=[0];++Fe<3;)ve=se[Fe],qe.push(ve[0]),Xe.push(ve[1]);for(Ie.push(io(Xs,qe)+","+io(Xs,Xe)),--Fe;++Fe9&&(qe=3*Ie/Math.sqrt(qe),tt[lt]=qe*Fe,tt[lt+1]=qe*Ue);for(lt=-1;++lt<=gt;)qe=(ve[Math.min(gt,lt+1)][0]-ve[Math.max(0,lt-1)][0])/(6*(1+tt[lt]*tt[lt])),Xe.push([qe||0,tt[lt]*qe||0]);return Xe}(se))}});function Ki(se){return se.length>1?se.join("L"):se+"Z"}function gc(se){return se.join("L")+"Z"}function cs(se){for(var ve=0,Ie=se.length,Fe=se[0],Ue=[Fe[0],",",Fe[1]];++ve1){tt=ve[1],qe=se[lt],lt++,Fe+="C"+(Ue[0]+Xe[0])+","+(Ue[1]+Xe[1])+","+(qe[0]-tt[0])+","+(qe[1]-tt[1])+","+qe[0]+","+qe[1];for(var gt=2;gtDt)+",1 "+zt}function lt(gt,zt,Ut,Ht){return"Q 0,0 "+Ht}return qe.radius=function(gt){return arguments.length?(Ie=Wn(gt),qe):Ie},qe.source=function(gt){return arguments.length?(se=Wn(gt),qe):se},qe.target=function(gt){return arguments.length?(ve=Wn(gt),qe):ve},qe.startAngle=function(gt){return arguments.length?(Fe=Wn(gt),qe):Fe},qe.endAngle=function(gt){return arguments.length?(Ue=Wn(gt),qe):Ue},qe},i.svg.diagonal=function(){var se=$r,ve=oi,Ie=ml;function Fe(Ue,qe){var Xe=se.call(this,Ue,qe),tt=ve.call(this,Ue,qe),lt=(Xe.y+tt.y)/2,gt=[Xe,{x:Xe.x,y:lt},{x:tt.x,y:lt},tt];return"M"+(gt=gt.map(Ie))[0]+"C"+gt[1]+" "+gt[2]+" "+gt[3]}return Fe.source=function(Ue){return arguments.length?(se=Wn(Ue),Fe):se},Fe.target=function(Ue){return arguments.length?(ve=Wn(Ue),Fe):ve},Fe.projection=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe},i.svg.diagonal.radial=function(){var se=i.svg.diagonal(),ve=ml,Ie=se.projection;return se.projection=function(Fe){return arguments.length?Ie(Ds(ve=Fe)):ve},se},i.svg.symbol=function(){var se=Zc,ve=_o;function Ie(Fe,Ue){return(Vu.get(se.call(this,Fe,Ue))||Go)(ve.call(this,Fe,Ue))}return Ie.type=function(Fe){return arguments.length?(se=Wn(Fe),Ie):se},Ie.size=function(Fe){return arguments.length?(ve=Wn(Fe),Ie):ve},Ie};var Vu=i.map({circle:Go,cross:function(se){var ve=Math.sqrt(se/5)/2;return"M"+-3*ve+","+-ve+"H"+-ve+"V"+-3*ve+"H"+ve+"V"+-ve+"H"+3*ve+"V"+ve+"H"+ve+"V"+3*ve+"H"+-ve+"V"+ve+"H"+-3*ve+"Z"},diamond:function(se){var ve=Math.sqrt(se/(2*ta)),Ie=ve*ta;return"M0,"+-ve+"L"+Ie+",0 0,"+ve+" "+-Ie+",0Z"},square:function(se){var ve=Math.sqrt(se)/2;return"M"+-ve+","+-ve+"L"+ve+","+-ve+" "+ve+","+ve+" "+-ve+","+ve+"Z"},"triangle-down":function(se){var ve=Math.sqrt(se/vl),Ie=ve*vl/2;return"M0,"+Ie+"L"+ve+","+-Ie+" "+-ve+","+-Ie+"Z"},"triangle-up":function(se){var ve=Math.sqrt(se/vl),Ie=ve*vl/2;return"M0,"+-Ie+"L"+ve+","+Ie+" "+-ve+","+Ie+"Z"}});i.svg.symbolTypes=Vu.keys();var vl=Math.sqrt(3),ta=Math.tan(30*Ke);ce.transition=function(se){for(var ve,Ie,Fe=rt||++St,Ue=ee(se),qe=[],Xe=ct||{time:Date.now(),ease:ol,delay:0,duration:250},tt=-1,lt=this.length;++tt0;)gt[--an].call(se,ln);if(tn>=1)return Ut.event&&Ut.event.end.call(se,se.__data__,ve),--zt.count?delete zt[Fe]:delete se[Ie],1}Ut||(qe=Ue.time,Xe=Kt(function(vn){var tn=Ut.delay;if(Xe.t=tn+qe,tn<=vn)return Ht(vn-tn);Xe.c=Ht},0,qe),Ut=zt[Fe]={tween:new L,time:qe,timer:Xe,delay:Ue.delay,duration:Ue.duration,ease:Ue.ease,index:ve},Ue=null,++zt.count)}vt.call=ce.call,vt.empty=ce.empty,vt.node=ce.node,vt.size=ce.size,i.transition=function(se,ve){return se&&se.transition?rt?se.transition(ve):se:i.selection().transition(se)},i.transition.prototype=vt,vt.select=function(se){var ve,Ie,Fe,Ue=this.id,qe=this.namespace,Xe=[];se=ye(se);for(var tt=-1,lt=this.length;++ttrect,.s>rect").attr("width",qe[1]-qe[0])}function en(tn){tn.select(".extent").attr("y",Xe[0]),tn.selectAll(".extent,.e>rect,.w>rect").attr("height",Xe[1]-Xe[0])}function vn(){var tn,ln,an=this,Cn=i.select(i.event.target),_n=Ie.of(an,arguments),on=i.select(an),Fn=Cn.datum(),Hn=!/^(n|s)$/.test(Fn)&&Fe,ir=!/^(e|w)$/.test(Fn)&&Ue,ar=Cn.classed("extent"),Cr=bt(an),Or=i.mouse(an),_r=i.select(a(an)).on("keydown.brush",mi).on("keyup.brush",gi);if(i.event.changedTouches?_r.on("touchmove.brush",Mr).on("touchend.brush",ci):_r.on("mousemove.brush",Mr).on("mouseup.brush",ci),on.interrupt().selectAll("*").interrupt(),ar)Or[0]=qe[0]-Or[0],Or[1]=Xe[0]-Or[1];else if(Fn){var Sr=+/w$/.test(Fn),Wr=+/^n/.test(Fn);ln=[qe[1-Sr]-Or[0],Xe[1-Wr]-Or[1]],Or[0]=qe[Sr],Or[1]=Xe[Wr]}else i.event.altKey&&(tn=Or.slice());function mi(){i.event.keyCode==32&&(ar||(tn=null,Or[0]-=qe[1],Or[1]-=Xe[1],ar=2),ne())}function gi(){i.event.keyCode==32&&ar==2&&(Or[0]+=qe[1],Or[1]+=Xe[1],ar=0,ne())}function Mr(){var ui=i.mouse(an),Ri=!1;ln&&(ui[0]+=ln[0],ui[1]+=ln[1]),ar||(i.event.altKey?(tn||(tn=[(qe[0]+qe[1])/2,(Xe[0]+Xe[1])/2]),Or[0]=qe[+(ui[0]>>1;f.dtype||(f.dtype="array"),typeof f.dtype=="string"?y=new(c(f.dtype))(w):f.dtype&&(y=f.dtype,Array.isArray(y)&&(y.length=w));for(var k=0;km||H>1073741824){for(var Q=0;Qpe+Pe||ie>xe+Pe||oe=ce||Me===Se)){var Ce=E[_e];Se===void 0&&(Se=Ce.length);for(var ae=Me;ae=ne&&be<=Z&&ke>=te&&ke<=X&&ye.push(he)}var Le=T[_e],Be=Le[4*Me+0],ze=Le[4*Me+1],je=Le[4*Me+2],ge=Le[4*Me+3],we=me(Le,Me+1),Ee=.5*Pe,Ve=_e+1;de(pe,xe,Ee,Ve,Be,ze||je||ge||we),de(pe,xe+Ee,Ee,Ve,ze,je||ge||we),de(pe+Ee,xe,Ee,Ve,je,ge||we),de(pe+Ee,xe+Ee,Ee,Ve,ge,we)}}function me(pe,xe){for(var Pe=null,_e=0;Pe===null;)if(Pe=pe[4*xe+_e],++_e>pe.length)return null;return Pe}return de(0,0,1,0,0,1),ye},y;function B(q,j,Y,U,G){for(var W=[],H=0;H0){u+=Math.abs(M(p[0]));for(var a=1;a2){for(h=0;h=0))throw new Error("precision must be a positive number");var m=Math.pow(10,f||0);return Math.round(h*m)/m},o.radiansToLength=a,o.lengthToRadians=c,o.lengthToDegrees=function(h,f){return s(c(h,f))},o.bearingToAzimuth=function(h){var f=h%360;return f<0&&(f+=360),f},o.radiansToDegrees=s,o.degreesToRadians=function(h){return h%360*Math.PI/180},o.convertLength=function(h,f,m){if(f===void 0&&(f="kilometers"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("length must be a positive number");return a(c(h,f),m)},o.convertArea=function(h,f,m){if(f===void 0&&(f="meters"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("area must be a positive number");var _=o.areaFactors[f];if(!_)throw new Error("invalid original units");var y=o.areaFactors[m];if(!y)throw new Error("invalid final units");return h/_*y},o.isNumber=l,o.isObject=function(h){return!!h&&h.constructor===Object},o.validateBBox=function(h){if(!h)throw new Error("bbox is required");if(!Array.isArray(h))throw new Error("bbox must be an Array");if(h.length!==4&&h.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");h.forEach(function(f){if(!l(f))throw new Error("bbox must only contain numbers")})},o.validateId=function(h){if(!h)throw new Error("id is required");if(["string","number"].indexOf(typeof h)===-1)throw new Error("id must be a number or a string")}},60302:function(x,o,t){Object.defineProperty(o,"__esModule",{value:!0});var d=t(23132);function g(c,s,l){if(c!==null)for(var h,f,m,_,y,C,w,k,E=0,T=0,A=c.type,L=A==="FeatureCollection",b=A==="Feature",O=L?c.features.length:1,I=0;IC||L>w||b>k)return y=E,C=h,w=L,k=b,void(m=0);var O=d.lineString([y,E],l.properties);if(s(O,h,f,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(c,s){if(!c)throw new Error("geojson is required");p(c,function(l,h,f){if(l.geometry!==null){var m=l.geometry.type,_=l.geometry.coordinates;switch(m){case"LineString":if(s(l,h,f,0,0)===!1)return!1;break;case"Polygon":for(var y=0;y<_.length;y++)if(s(d.lineString(_[y],l.properties),h,f,y)===!1)return!1}}})}o.coordEach=g,o.coordReduce=function(c,s,l,h){var f=l;return g(c,function(m,_,y,C,w){f=_===0&&l===void 0?m:s(f,m,_,y,C,w)},h),f},o.propEach=i,o.propReduce=function(c,s,l){var h=l;return i(c,function(f,m){h=m===0&&l===void 0?f:s(h,f,m)}),h},o.featureEach=M,o.featureReduce=function(c,s,l){var h=l;return M(c,function(f,m){h=m===0&&l===void 0?f:s(h,f,m)}),h},o.coordAll=function(c){var s=[];return g(c,function(l){s.push(l)}),s},o.geomEach=v,o.geomReduce=function(c,s,l){var h=l;return v(c,function(f,m,_,y,C){h=m===0&&l===void 0?f:s(h,f,m,_,y,C)}),h},o.flattenEach=p,o.flattenReduce=function(c,s,l){var h=l;return p(c,function(f,m,_){h=m===0&&_===0&&l===void 0?f:s(h,f,m,_)}),h},o.segmentEach=u,o.segmentReduce=function(c,s,l){var h=l,f=!1;return u(c,function(m,_,y,C,w){h=f===!1&&l===void 0?m:s(h,m,_,y,C,w),f=!0}),h},o.lineEach=a,o.lineReduce=function(c,s,l){var h=l;return a(c,function(f,m,_,y){h=m===0&&l===void 0?f:s(h,f,m,_,y)}),h},o.findSegment=function(c,s){if(s=s||{},!d.isObject(s))throw new Error("options is invalid");var l,h=s.featureIndex||0,f=s.multiFeatureIndex||0,m=s.geometryIndex||0,_=s.segmentIndex||0,y=s.properties;switch(c.type){case"FeatureCollection":h<0&&(h=c.features.length+h),y=y||c.features[h].properties,l=c.features[h].geometry;break;case"Feature":y=y||c.properties,l=c.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=c;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var C=l.coordinates;switch(l.type){case"Point":case"MultiPoint":return null;case"LineString":return _<0&&(_=C.length+_-1),d.lineString([C[_],C[_+1]],y,s);case"Polygon":return m<0&&(m=C.length+m),_<0&&(_=C[m].length+_-1),d.lineString([C[m][_],C[m][_+1]],y,s);case"MultiLineString":return f<0&&(f=C.length+f),_<0&&(_=C[f].length+_-1),d.lineString([C[f][_],C[f][_+1]],y,s);case"MultiPolygon":return f<0&&(f=C.length+f),m<0&&(m=C[f].length+m),_<0&&(_=C[f][m].length-_-1),d.lineString([C[f][m][_],C[f][m][_+1]],y,s)}throw new Error("geojson is invalid")},o.findPoint=function(c,s){if(s=s||{},!d.isObject(s))throw new Error("options is invalid");var l,h=s.featureIndex||0,f=s.multiFeatureIndex||0,m=s.geometryIndex||0,_=s.coordIndex||0,y=s.properties;switch(c.type){case"FeatureCollection":h<0&&(h=c.features.length+h),y=y||c.features[h].properties,l=c.features[h].geometry;break;case"Feature":y=y||c.properties,l=c.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=c;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var C=l.coordinates;switch(l.type){case"Point":return d.point(C,y,s);case"MultiPoint":return f<0&&(f=C.length+f),d.point(C[f],y,s);case"LineString":return _<0&&(_=C.length+_),d.point(C[_],y,s);case"Polygon":return m<0&&(m=C.length+m),_<0&&(_=C[m].length+_),d.point(C[m][_],y,s);case"MultiLineString":return f<0&&(f=C.length+f),_<0&&(_=C[f].length+_),d.point(C[f][_],y,s);case"MultiPolygon":return f<0&&(f=C.length+f),m<0&&(m=C[f].length+m),_<0&&(_=C[f][m].length-_),d.point(C[f][m][_],y,s)}throw new Error("geojson is invalid")}},85268:function(x,o,t){Object.defineProperty(o,"__esModule",{value:!0});var d=t(27138);function g(i){var M=[1/0,1/0,-1/0,-1/0];return d.coordEach(i,function(v){M[0]>v[0]&&(M[0]=v[0]),M[1]>v[1]&&(M[1]=v[1]),M[2]=0))throw new Error("precision must be a positive number");var m=Math.pow(10,f||0);return Math.round(h*m)/m},o.radiansToLength=a,o.lengthToRadians=c,o.lengthToDegrees=function(h,f){return s(c(h,f))},o.bearingToAzimuth=function(h){var f=h%360;return f<0&&(f+=360),f},o.radiansToDegrees=s,o.degreesToRadians=function(h){return h%360*Math.PI/180},o.convertLength=function(h,f,m){if(f===void 0&&(f="kilometers"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("length must be a positive number");return a(c(h,f),m)},o.convertArea=function(h,f,m){if(f===void 0&&(f="meters"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("area must be a positive number");var _=o.areaFactors[f];if(!_)throw new Error("invalid original units");var y=o.areaFactors[m];if(!y)throw new Error("invalid final units");return h/_*y},o.isNumber=l,o.isObject=function(h){return!!h&&h.constructor===Object},o.validateBBox=function(h){if(!h)throw new Error("bbox is required");if(!Array.isArray(h))throw new Error("bbox must be an Array");if(h.length!==4&&h.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");h.forEach(function(f){if(!l(f))throw new Error("bbox must only contain numbers")})},o.validateId=function(h){if(!h)throw new Error("id is required");if(["string","number"].indexOf(typeof h)===-1)throw new Error("id must be a number or a string")}},27138:function(x,o,t){Object.defineProperty(o,"__esModule",{value:!0});var d=t(94228);function g(c,s,l){if(c!==null)for(var h,f,m,_,y,C,w,k,E=0,T=0,A=c.type,L=A==="FeatureCollection",b=A==="Feature",O=L?c.features.length:1,I=0;IC||L>w||b>k)return y=E,C=h,w=L,k=b,void(m=0);var O=d.lineString([y,E],l.properties);if(s(O,h,f,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(c,s){if(!c)throw new Error("geojson is required");p(c,function(l,h,f){if(l.geometry!==null){var m=l.geometry.type,_=l.geometry.coordinates;switch(m){case"LineString":if(s(l,h,f,0,0)===!1)return!1;break;case"Polygon":for(var y=0;y<_.length;y++)if(s(d.lineString(_[y],l.properties),h,f,y)===!1)return!1}}})}o.coordEach=g,o.coordReduce=function(c,s,l,h){var f=l;return g(c,function(m,_,y,C,w){f=_===0&&l===void 0?m:s(f,m,_,y,C,w)},h),f},o.propEach=i,o.propReduce=function(c,s,l){var h=l;return i(c,function(f,m){h=m===0&&l===void 0?f:s(h,f,m)}),h},o.featureEach=M,o.featureReduce=function(c,s,l){var h=l;return M(c,function(f,m){h=m===0&&l===void 0?f:s(h,f,m)}),h},o.coordAll=function(c){var s=[];return g(c,function(l){s.push(l)}),s},o.geomEach=v,o.geomReduce=function(c,s,l){var h=l;return v(c,function(f,m,_,y,C){h=m===0&&l===void 0?f:s(h,f,m,_,y,C)}),h},o.flattenEach=p,o.flattenReduce=function(c,s,l){var h=l;return p(c,function(f,m,_){h=m===0&&_===0&&l===void 0?f:s(h,f,m,_)}),h},o.segmentEach=u,o.segmentReduce=function(c,s,l){var h=l,f=!1;return u(c,function(m,_,y,C,w){h=f===!1&&l===void 0?m:s(h,m,_,y,C,w),f=!0}),h},o.lineEach=a,o.lineReduce=function(c,s,l){var h=l;return a(c,function(f,m,_,y){h=m===0&&l===void 0?f:s(h,f,m,_,y)}),h},o.findSegment=function(c,s){if(s=s||{},!d.isObject(s))throw new Error("options is invalid");var l,h=s.featureIndex||0,f=s.multiFeatureIndex||0,m=s.geometryIndex||0,_=s.segmentIndex||0,y=s.properties;switch(c.type){case"FeatureCollection":h<0&&(h=c.features.length+h),y=y||c.features[h].properties,l=c.features[h].geometry;break;case"Feature":y=y||c.properties,l=c.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=c;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var C=l.coordinates;switch(l.type){case"Point":case"MultiPoint":return null;case"LineString":return _<0&&(_=C.length+_-1),d.lineString([C[_],C[_+1]],y,s);case"Polygon":return m<0&&(m=C.length+m),_<0&&(_=C[m].length+_-1),d.lineString([C[m][_],C[m][_+1]],y,s);case"MultiLineString":return f<0&&(f=C.length+f),_<0&&(_=C[f].length+_-1),d.lineString([C[f][_],C[f][_+1]],y,s);case"MultiPolygon":return f<0&&(f=C.length+f),m<0&&(m=C[f].length+m),_<0&&(_=C[f][m].length-_-1),d.lineString([C[f][m][_],C[f][m][_+1]],y,s)}throw new Error("geojson is invalid")},o.findPoint=function(c,s){if(s=s||{},!d.isObject(s))throw new Error("options is invalid");var l,h=s.featureIndex||0,f=s.multiFeatureIndex||0,m=s.geometryIndex||0,_=s.coordIndex||0,y=s.properties;switch(c.type){case"FeatureCollection":h<0&&(h=c.features.length+h),y=y||c.features[h].properties,l=c.features[h].geometry;break;case"Feature":y=y||c.properties,l=c.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=c;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var C=l.coordinates;switch(l.type){case"Point":return d.point(C,y,s);case"MultiPoint":return f<0&&(f=C.length+f),d.point(C[f],y,s);case"LineString":return _<0&&(_=C.length+_),d.point(C[_],y,s);case"Polygon":return m<0&&(m=C.length+m),_<0&&(_=C[m].length+_),d.point(C[m][_],y,s);case"MultiLineString":return f<0&&(f=C.length+f),_<0&&(_=C[f].length+_),d.point(C[f][_],y,s);case"MultiPolygon":return f<0&&(f=C.length+f),m<0&&(m=C[f].length+m),_<0&&(_=C[f][m].length-_),d.point(C[f][m][_],y,s)}throw new Error("geojson is invalid")}},29261:function(x,o,t){Object.defineProperty(o,"__esModule",{value:!0});var d=t(88553),g=t(64182);o.default=function(i,M){M===void 0&&(M={});var v=0,p=0,u=0;return d.coordEach(i,function(a){v+=a[0],p+=a[1],u++}),g.point([v/u,p/u],M.properties)}},64182:function(x,o){function t(h,f,m){m===void 0&&(m={});var _={type:"Feature"};return(m.id===0||m.id)&&(_.id=m.id),m.bbox&&(_.bbox=m.bbox),_.properties=f||{},_.geometry=h,_}function d(h,f,m){return m===void 0&&(m={}),t({type:"Point",coordinates:h},f,m)}function g(h,f,m){m===void 0&&(m={});for(var _=0,y=h;_=0))throw new Error("precision must be a positive number");var m=Math.pow(10,f||0);return Math.round(h*m)/m},o.radiansToLength=a,o.lengthToRadians=c,o.lengthToDegrees=function(h,f){return s(c(h,f))},o.bearingToAzimuth=function(h){var f=h%360;return f<0&&(f+=360),f},o.radiansToDegrees=s,o.degreesToRadians=function(h){return h%360*Math.PI/180},o.convertLength=function(h,f,m){if(f===void 0&&(f="kilometers"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("length must be a positive number");return a(c(h,f),m)},o.convertArea=function(h,f,m){if(f===void 0&&(f="meters"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("area must be a positive number");var _=o.areaFactors[f];if(!_)throw new Error("invalid original units");var y=o.areaFactors[m];if(!y)throw new Error("invalid final units");return h/_*y},o.isNumber=l,o.isObject=function(h){return!!h&&h.constructor===Object},o.validateBBox=function(h){if(!h)throw new Error("bbox is required");if(!Array.isArray(h))throw new Error("bbox must be an Array");if(h.length!==4&&h.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");h.forEach(function(f){if(!l(f))throw new Error("bbox must only contain numbers")})},o.validateId=function(h){if(!h)throw new Error("id is required");if(["string","number"].indexOf(typeof h)===-1)throw new Error("id must be a number or a string")},o.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},o.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},o.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},o.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},o.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},o.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},o.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},88553:function(x,o,t){Object.defineProperty(o,"__esModule",{value:!0});var d=t(64182);function g(c,s,l){if(c!==null)for(var h,f,m,_,y,C,w,k,E=0,T=0,A=c.type,L=A==="FeatureCollection",b=A==="Feature",O=L?c.features.length:1,I=0;IC||L>w||b>k)return y=E,C=h,w=L,k=b,void(m=0);var O=d.lineString([y,E],l.properties);if(s(O,h,f,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(c,s){if(!c)throw new Error("geojson is required");p(c,function(l,h,f){if(l.geometry!==null){var m=l.geometry.type,_=l.geometry.coordinates;switch(m){case"LineString":if(s(l,h,f,0,0)===!1)return!1;break;case"Polygon":for(var y=0;y<_.length;y++)if(s(d.lineString(_[y],l.properties),h,f,y)===!1)return!1}}})}o.coordEach=g,o.coordReduce=function(c,s,l,h){var f=l;return g(c,function(m,_,y,C,w){f=_===0&&l===void 0?m:s(f,m,_,y,C,w)},h),f},o.propEach=i,o.propReduce=function(c,s,l){var h=l;return i(c,function(f,m){h=m===0&&l===void 0?f:s(h,f,m)}),h},o.featureEach=M,o.featureReduce=function(c,s,l){var h=l;return M(c,function(f,m){h=m===0&&l===void 0?f:s(h,f,m)}),h},o.coordAll=function(c){var s=[];return g(c,function(l){s.push(l)}),s},o.geomEach=v,o.geomReduce=function(c,s,l){var h=l;return v(c,function(f,m,_,y,C){h=m===0&&l===void 0?f:s(h,f,m,_,y,C)}),h},o.flattenEach=p,o.flattenReduce=function(c,s,l){var h=l;return p(c,function(f,m,_){h=m===0&&_===0&&l===void 0?f:s(h,f,m,_)}),h},o.segmentEach=u,o.segmentReduce=function(c,s,l){var h=l,f=!1;return u(c,function(m,_,y,C,w){h=f===!1&&l===void 0?m:s(h,m,_,y,C,w),f=!0}),h},o.lineEach=a,o.lineReduce=function(c,s,l){var h=l;return a(c,function(f,m,_,y){h=m===0&&l===void 0?f:s(h,f,m,_,y)}),h},o.findSegment=function(c,s){if(s=s||{},!d.isObject(s))throw new Error("options is invalid");var l,h=s.featureIndex||0,f=s.multiFeatureIndex||0,m=s.geometryIndex||0,_=s.segmentIndex||0,y=s.properties;switch(c.type){case"FeatureCollection":h<0&&(h=c.features.length+h),y=y||c.features[h].properties,l=c.features[h].geometry;break;case"Feature":y=y||c.properties,l=c.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=c;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var C=l.coordinates;switch(l.type){case"Point":case"MultiPoint":return null;case"LineString":return _<0&&(_=C.length+_-1),d.lineString([C[_],C[_+1]],y,s);case"Polygon":return m<0&&(m=C.length+m),_<0&&(_=C[m].length+_-1),d.lineString([C[m][_],C[m][_+1]],y,s);case"MultiLineString":return f<0&&(f=C.length+f),_<0&&(_=C[f].length+_-1),d.lineString([C[f][_],C[f][_+1]],y,s);case"MultiPolygon":return f<0&&(f=C.length+f),m<0&&(m=C[f].length+m),_<0&&(_=C[f][m].length-_-1),d.lineString([C[f][m][_],C[f][m][_+1]],y,s)}throw new Error("geojson is invalid")},o.findPoint=function(c,s){if(s=s||{},!d.isObject(s))throw new Error("options is invalid");var l,h=s.featureIndex||0,f=s.multiFeatureIndex||0,m=s.geometryIndex||0,_=s.coordIndex||0,y=s.properties;switch(c.type){case"FeatureCollection":h<0&&(h=c.features.length+h),y=y||c.features[h].properties,l=c.features[h].geometry;break;case"Feature":y=y||c.properties,l=c.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=c;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var C=l.coordinates;switch(l.type){case"Point":return d.point(C,y,s);case"MultiPoint":return f<0&&(f=C.length+f),d.point(C[f],y,s);case"LineString":return _<0&&(_=C.length+_),d.point(C[_],y,s);case"Polygon":return m<0&&(m=C.length+m),_<0&&(_=C[m].length+_),d.point(C[m][_],y,s);case"MultiLineString":return f<0&&(f=C.length+f),_<0&&(_=C[f].length+_),d.point(C[f][_],y,s);case"MultiPolygon":return f<0&&(f=C.length+f),m<0&&(m=C[f].length+m),_<0&&(_=C[f][m].length-_),d.point(C[f][m][_],y,s)}throw new Error("geojson is invalid")}},65185:function(x){x.exports=function(o){var t=0,d=0,g=0,i=0;return o.map(function(M){var v=(M=M.slice())[0],p=v.toUpperCase();if(v!=p)switch(M[0]=p,v){case"a":M[6]+=g,M[7]+=i;break;case"v":M[1]+=i;break;case"h":M[1]+=g;break;default:for(var u=1;ui&&(i=o[v]),o[v]1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H24?(isFinite(ve)&&(clearTimeout(yr),yr=setTimeout(bn,ve)),or=0):(or=1,wr(bn))}function On(){for(var se=Date.now(),ve=Lr;ve;)se>=ve.t&&ve.c(se-ve.t)&&(ve.c=null),ve=ve.n;return se}function Ln(){for(var se,ve=Lr,Ie=1/0;ve;)ve.c?(ve.t1&&(ve=se[qe[Xe-2]],Ie=se[qe[Xe-1]],Fe=se[tt],(Ie[0]-ve[0])*(Fe[1]-ve[1])-(Ie[1]-ve[1])*(Fe[0]-ve[0])<=0);)--Xe;qe[Xe++]=tt}return qe.slice(0,Xe)}function tr(se,ve){return se[0]-ve[0]||se[1]-ve[1]}i.timer=function(){Kt.apply(this,arguments)},i.timer.flush=function(){On(),Ln()},i.round=function(se,ve){return ve?Math.round(se*(ve=Math.pow(10,ve)))/ve:Math.round(se)},i.geom={},i.geom.hull=function(se){var ve=Un,Ie=Jn;if(arguments.length)return Fe(se);function Fe(Ue){if(Ue.length<3)return[];var qe,Xe=Wn(ve),tt=Wn(Ie),lt=Ue.length,gt=[],zt=[];for(qe=0;qe=0;--qe)tn.push(Ue[gt[Ut[qe]][2]]);for(qe=+en;qeFt)tt=tt.L;else{if(!((Ue=qe-Qn(tt,Xe))>Ft)){Fe>-Ft?(ve=tt.P,Ie=tt):Ue>-Ft?(ve=tt,Ie=tt.N):ve=Ie=tt;break}if(!tt.R){ve=tt;break}tt=tt.R}var lt=yn(se);if(zn.insert(ve,lt),ve||Ie){if(ve===Ie)return xr(ve),Ie=yn(ve.site),zn.insert(lt,Ie),lt.edge=Ie.edge=Vr(ve.site,lt.site),pr(ve),void pr(Ie);if(Ie){xr(ve),xr(Ie);var gt=ve.site,zt=gt.x,Ut=gt.y,Ht=se.x-zt,en=se.y-Ut,vn=Ie.site,tn=vn.x-zt,ln=vn.y-Ut,an=2*(Ht*ln-en*tn),Cn=Ht*Ht+en*en,_n=tn*tn+ln*ln,on={x:(ln*Cn-en*_n)/an+zt,y:(Ht*_n-tn*Cn)/an+Ut};vr(Ie.edge,gt,vn,on),lt.edge=Vr(gt,se,null,on),Ie.edge=Vr(se,vn,null,on),pr(ve),pr(Ie)}else lt.edge=Vr(ve.site,lt.site)}}function nr(se,ve){var Ie=se.site,Fe=Ie.x,Ue=Ie.y,qe=Ue-ve;if(!qe)return Fe;var Xe=se.P;if(!Xe)return-1/0;var tt=(Ie=Xe.site).x,lt=Ie.y,gt=lt-ve;if(!gt)return tt;var zt=tt-Fe,Ut=1/qe-1/gt,Ht=zt/gt;return Ut?(-Ht+Math.sqrt(Ht*Ht-2*Ut*(zt*zt/(-2*gt)-lt+gt/2+Ue-qe/2)))/Ut+Fe:(Fe+tt)/2}function Qn(se,ve){var Ie=se.N;if(Ie)return nr(Ie,ve);var Fe=se.site;return Fe.y===ve?Fe.x:1/0}function hr(se){this.site=se,this.edges=[]}function fr(se,ve){return ve.angle-se.angle}function mr(){Gi(this),this.x=this.y=this.arc=this.site=this.cy=null}function pr(se){var ve=se.P,Ie=se.N;if(ve&&Ie){var Fe=ve.site,Ue=se.site,qe=Ie.site;if(Fe!==qe){var Xe=Ue.x,tt=Ue.y,lt=Fe.x-Xe,gt=Fe.y-tt,zt=qe.x-Xe,Ut=2*(lt*(ln=qe.y-tt)-gt*zt);if(!(Ut>=-1e-12)){var Ht=lt*lt+gt*gt,en=zt*zt+ln*ln,vn=(ln*Ht-gt*en)/Ut,tn=(lt*en-zt*Ht)/Ut,ln=tn+tt,an=wn.pop()||new mr;an.arc=se,an.site=Ue,an.x=vn+Xe,an.y=ln+Math.sqrt(vn*vn+tn*tn),an.cy=ln,se.circle=an;for(var Cn=null,_n=En._;_n;)if(an.y<_n.y||an.y===_n.y&&an.x<=_n.x){if(!_n.L){Cn=_n.P;break}_n=_n.L}else{if(!_n.R){Cn=_n;break}_n=_n.R}En.insert(Cn,an),Cn||(Dn=an)}}}}function xr(se){var ve=se.circle;ve&&(ve.P||(Dn=ve.N),En.remove(ve),wn.push(ve),Gi(ve),se.circle=null)}function Rr(se,ve){var Ie=se.b;if(Ie)return!0;var Fe,Ue,qe=se.a,Xe=ve[0][0],tt=ve[1][0],lt=ve[0][1],gt=ve[1][1],zt=se.l,Ut=se.r,Ht=zt.x,en=zt.y,vn=Ut.x,tn=Ut.y,ln=(Ht+vn)/2,an=(en+tn)/2;if(tn===en){if(ln=tt)return;if(Ht>vn){if(qe){if(qe.y>=gt)return}else qe={x:ln,y:lt};Ie={x:ln,y:gt}}else{if(qe){if(qe.y1)if(Ht>vn){if(qe){if(qe.y>=gt)return}else qe={x:(lt-Ue)/Fe,y:lt};Ie={x:(gt-Ue)/Fe,y:gt}}else{if(qe){if(qe.y=tt)return}else qe={x:Xe,y:Fe*Xe+Ue};Ie={x:tt,y:Fe*tt+Ue}}else{if(qe){if(qe.x0)){if(an/=ar,ar<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ut-on,ar||!(an<0)){if(an/=ar,ar<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(ar>0){if(an0)){if(an/=Cr,Cr<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ht-Fn,Cr||!(an<0)){if(an/=Cr,Cr<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(Cr>0){if(an0&&(ln.a={x:on+Hn*ar,y:Fn+Hn*Cr}),ir<1&&(ln.b={x:on+ir*ar,y:Fn+ir*Cr}),ln}}}}}),tn=en.length;tn--;)(!Rr(lt=en[tn],tt)||!vn(lt)||E(lt.a.x-lt.b.x)Ft||E(Ut-gt)>Ft)&&(vn.splice(en,0,new jr((ar=Ht.site,Cr=an,Or=E(zt-Cn)Ft?{x:Cn,y:E(lt-Cn)Ft?{x:E(gt-Fn)Ft?{x:_n,y:E(lt-_n)Ft?{x:E(gt-on)=zt&&an.x<=Ht&&an.y>=Ut&&an.y<=en?[[zt,en],[Ht,en],[Ht,Ut],[zt,Ut]]:[]).point=lt[tn]}),gt}function tt(lt){return lt.map(function(gt,zt){return{x:Math.round(Fe(gt,zt)/Ft)*Ft,y:Math.round(Ue(gt,zt)/Ft)*Ft,i:zt}})}return Xe.links=function(lt){return Oa(tt(lt)).edges.filter(function(gt){return gt.l&>.r}).map(function(gt){return{source:lt[gt.l.i],target:lt[gt.r.i]}})},Xe.triangles=function(lt){var gt=[];return Oa(tt(lt)).cells.forEach(function(zt,Ut){for(var Ht,en,vn,tn,ln=zt.site,an=zt.edges.sort(fr),Cn=-1,_n=an.length,on=an[_n-1].edge,Fn=on.l===ln?on.r:on.l;++Cn<_n;)Ht=Fn,Fn=(on=an[Cn].edge).l===ln?on.r:on.l,Utqe||Ht>Xe||en=Hn)<<1|ve>=Fn,ar=ir+4;irqe&&(Ue=ve.slice(qe,Ue),tt[Xe]?tt[Xe]+=Ue:tt[++Xe]=Ue),(Ie=Ie[0])===(Fe=Fe[0])?tt[Xe]?tt[Xe]+=Fe:tt[++Xe]=Fe:(tt[++Xe]=null,lt.push({i:Xe,x:ls(Ie,Fe)})),qe=ic.lastIndex;return qean&&(an=zt.x),zt.y>Cn&&(Cn=zt.y),Ut.push(zt.x),Ht.push(zt.y);else for(en=0;enan&&(an=Fn),Hn>Cn&&(Cn=Hn),Ut.push(Fn),Ht.push(Hn)}var ir=an-tn,ar=Cn-ln;function Cr(Sr,Wr,mi,gi,Mr,qr,ci,ui){if(!isNaN(mi)&&!isNaN(gi))if(Sr.leaf){var Ri=Sr.x,_i=Sr.y;if(Ri!=null)if(E(Ri-mi)+E(_i-gi)<.01)Or(Sr,Wr,mi,gi,Mr,qr,ci,ui);else{var Ui=Sr.point;Sr.x=Sr.y=Sr.point=null,Or(Sr,Ui,Ri,_i,Mr,qr,ci,ui),Or(Sr,Wr,mi,gi,Mr,qr,ci,ui)}else Sr.x=mi,Sr.y=gi,Sr.point=Wr}else Or(Sr,Wr,mi,gi,Mr,qr,ci,ui)}function Or(Sr,Wr,mi,gi,Mr,qr,ci,ui){var Ri=.5*(Mr+ci),_i=.5*(qr+ui),Ui=mi>=Ri,aa=gi>=_i,ya=aa<<1|Ui;Sr.leaf=!1,Ui?Mr=Ri:ci=Ri,aa?qr=_i:ui=_i,Cr(Sr=Sr.nodes[ya]||(Sr.nodes[ya]={leaf:!0,nodes:[],point:null,x:null,y:null}),Wr,mi,gi,Mr,qr,ci,ui)}ir>ar?Cn=ln+ir:an=tn+ar;var _r={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(Sr){Cr(_r,Sr,+_n(Sr,++en),+on(Sr,en),tn,ln,an,Cn)},visit:function(Sr){Su(Sr,_r,tn,ln,an,Cn)},find:function(Sr){return ch(_r,Sr[0],Sr[1],tn,ln,an,Cn)}};if(en=-1,ve==null){for(;++en=0&&!(Ie=i.interpolators[Fe](se,ve)););return Ie}function us(se,ve){var Ie,Fe=[],Ue=[],qe=se.length,Xe=ve.length,tt=Math.min(se.length,ve.length);for(Ie=0;Ie=1?1:se(ve)}}function Is(se){return function(ve){return 1-se(1-ve)}}function qs(se){return function(ve){return .5*(ve<.5?se(2*ve):2-se(2-2*ve))}}function ac(se){return se*se}function fh(se){return se*se*se}function ol(se){if(se<=0)return 0;if(se>=1)return 1;var ve=se*se,Ie=ve*se;return 4*(se<.5?Ie:3*(se-ve)+Ie-.75)}function hh(se){return 1-Math.cos(se*Vt)}function dh(se){return Math.pow(2,10*(se-1))}function Yh(se){return 1-Math.sqrt(1-se*se)}function wf(se){return se<.36363636363636365?7.5625*se*se:se<.7272727272727273?7.5625*(se-=.5454545454545454)*se+.75:se<.9090909090909091?7.5625*(se-=.8181818181818182)*se+.9375:7.5625*(se-=.9545454545454546)*se+.984375}function ph(se,ve){return ve-=se,function(Ie){return Math.round(se+ve*Ie)}}function Tf(se){var ve,Ie,Fe,Ue=[se.a,se.b],qe=[se.c,se.d],Xe=ll(Ue),tt=sl(Ue,qe),lt=ll(((ve=qe)[0]+=(Fe=-tt)*(Ie=Ue)[0],ve[1]+=Fe*Ie[1],ve))||0;Ue[0]*qe[1]=0?se.slice(0,ve):se,Fe=ve>=0?se.slice(ve+1):"in";return Ie=Wi.get(Ie)||Cl,gs((Fe=El.get(Fe)||q)(Ie.apply(null,M.call(arguments,1))))},i.interpolateHcl=function(se,ve){se=i.hcl(se),ve=i.hcl(ve);var Ie=se.h,Fe=se.c,Ue=se.l,qe=ve.h-Ie,Xe=ve.c-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.c:Fe),isNaN(qe)?(qe=0,Ie=isNaN(Ie)?ve.h:Ie):qe>180?qe-=360:qe<-180&&(qe+=360),function(lt){return Pt(Ie+qe*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateHsl=function(se,ve){se=i.hsl(se),ve=i.hsl(ve);var Ie=se.h,Fe=se.s,Ue=se.l,qe=ve.h-Ie,Xe=ve.s-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.s:Fe),isNaN(qe)?(qe=0,Ie=isNaN(Ie)?ve.h:Ie):qe>180?qe-=360:qe<-180&&(qe+=360),function(lt){return It(Ie+qe*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateLab=function(se,ve){se=i.lab(se),ve=i.lab(ve);var Ie=se.l,Fe=se.a,Ue=se.b,qe=ve.l-Ie,Xe=ve.a-Fe,tt=ve.b-Ue;return function(lt){return Xt(Ie+qe*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateRound=ph,i.transform=function(se){var ve=p.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(Ie){if(Ie!=null){ve.setAttribute("transform",Ie);var Fe=ve.transform.baseVal.consolidate()}return new Tf(Fe?Fe.matrix:Eu)})(se)},Tf.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Eu={a:1,b:0,c:0,d:1,e:0,f:0};function ul(se){return se.length?se.pop()+",":""}function kf(se,ve){var Ie=[],Fe=[];return se=i.transform(se),ve=i.transform(ve),function(Ue,qe,Xe,tt){if(Ue[0]!==qe[0]||Ue[1]!==qe[1]){var lt=Xe.push("translate(",null,",",null,")");tt.push({i:lt-4,x:ls(Ue[0],qe[0])},{i:lt-2,x:ls(Ue[1],qe[1])})}else(qe[0]||qe[1])&&Xe.push("translate("+qe+")")}(se.translate,ve.translate,Ie,Fe),function(Ue,qe,Xe,tt){Ue!==qe?(Ue-qe>180?qe+=360:qe-Ue>180&&(Ue+=360),tt.push({i:Xe.push(ul(Xe)+"rotate(",null,")")-2,x:ls(Ue,qe)})):qe&&Xe.push(ul(Xe)+"rotate("+qe+")")}(se.rotate,ve.rotate,Ie,Fe),function(Ue,qe,Xe,tt){Ue!==qe?tt.push({i:Xe.push(ul(Xe)+"skewX(",null,")")-2,x:ls(Ue,qe)}):qe&&Xe.push(ul(Xe)+"skewX("+qe+")")}(se.skew,ve.skew,Ie,Fe),function(Ue,qe,Xe,tt){if(Ue[0]!==qe[0]||Ue[1]!==qe[1]){var lt=Xe.push(ul(Xe)+"scale(",null,",",null,")");tt.push({i:lt-4,x:ls(Ue[0],qe[0])},{i:lt-2,x:ls(Ue[1],qe[1])})}else qe[0]===1&&qe[1]===1||Xe.push(ul(Xe)+"scale("+qe+")")}(se.scale,ve.scale,Ie,Fe),se=ve=null,function(Ue){for(var qe,Xe=-1,tt=Fe.length;++Xe0?Ie=on:(se.c=null,se.t=NaN,se=null,tt.end({type:"end",alpha:Ie=0})):on>0&&(tt.start({type:"start",alpha:Ie=on}),se=Kt(Xe.tick)),Xe):Ie},Xe.start=function(){var on,Fn,Hn,ir=ln.length,ar=an.length,Cr=lt[0],Or=lt[1];for(on=0;on=0;)Ie.push(Ue[Fe])}function vs(se,ve){for(var Ie=[se],Fe=[];(se=Ie.pop())!=null;)if(Fe.push(se),(qe=se.children)&&(Ue=qe.length))for(var Ue,qe,Xe=-1;++Xe=0;)Xe.push(zt=gt[lt]),zt.parent=qe,zt.depth=qe.depth+1;Ie&&(qe.value=0),qe.children=gt}else Ie&&(qe.value=+Ie.call(Fe,qe,qe.depth)||0),delete qe.children;return vs(Ue,function(Ut){var Ht,en;se&&(Ht=Ut.children)&&Ht.sort(se),Ie&&(en=Ut.parent)&&(en.value+=Ut.value)}),tt}return Fe.sort=function(Ue){return arguments.length?(se=Ue,Fe):se},Fe.children=function(Ue){return arguments.length?(ve=Ue,Fe):ve},Fe.value=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe.revalue=function(Ue){return Ie&&(Iu(Ue,function(qe){qe.children&&(qe.value=0)}),vs(Ue,function(qe){var Xe;qe.children||(qe.value=+Ie.call(Fe,qe,qe.depth)||0),(Xe=qe.parent)&&(Xe.value+=qe.value)})),Ue},Fe},i.layout.partition=function(){var se=i.layout.hierarchy(),ve=[1,1];function Ie(qe,Xe,tt,lt){var gt=qe.children;if(qe.x=Xe,qe.y=qe.depth*lt,qe.dx=tt,qe.dy=lt,gt&&(zt=gt.length)){var zt,Ut,Ht,en=-1;for(tt=qe.value?tt/qe.value:0;++entt&&(tt=Fe),Xe.push(Fe)}for(Ie=0;IeUe&&(Fe=Ie,Ue=ve);return Fe}function Ol(se){return se.reduce(Hc,0)}function Hc(se,ve){return se+ve[1]}function dc(se,ve){return Cf(se,Math.ceil(Math.log(ve.length)/Math.LN2+1))}function Cf(se,ve){for(var Ie=-1,Fe=+se[0],Ue=(se[1]-Fe)/ve,qe=[];++Ie<=ve;)qe[Ie]=Ue*Ie+Fe;return qe}function pc(se){return[i.min(se),i.max(se)]}function Du(se,ve){return se.value-ve.value}function tu(se,ve){var Ie=se._pack_next;se._pack_next=ve,ve._pack_prev=se,ve._pack_next=Ie,Ie._pack_prev=ve}function nu(se,ve){se._pack_next=ve,ve._pack_prev=se}function ea(se,ve){var Ie=ve.x-se.x,Fe=ve.y-se.y,Ue=se.r+ve.r;return .999*Ue*Ue>Ie*Ie+Fe*Fe}function Pl(se){if((ve=se.children)&&(lt=ve.length)){var ve,Ie,Fe,Ue,qe,Xe,tt,lt,gt=1/0,zt=-1/0,Ut=1/0,Ht=-1/0;if(ve.forEach(Dl),(Ie=ve[0]).x=-Ie.r,Ie.y=0,_n(Ie),lt>1&&((Fe=ve[1]).x=Fe.r,Fe.y=0,_n(Fe),lt>2))for(ji(Ie,Fe,Ue=ve[2]),_n(Ue),tu(Ie,Ue),Ie._pack_prev=Ue,tu(Ue,Fe),Fe=Ie._pack_next,qe=3;qe0)for(Xe=-1;++Xe=Ut[0]&<<=Ut[1]&&((tt=gt[i.bisect(Ht,lt,1,vn)-1]).y+=tn,tt.push(qe[Xe]));return gt}return Ue.value=function(qe){return arguments.length?(ve=qe,Ue):ve},Ue.range=function(qe){return arguments.length?(Ie=Wn(qe),Ue):Ie},Ue.bins=function(qe){return arguments.length?(Fe=typeof qe=="number"?function(Xe){return Cf(Xe,qe)}:Wn(qe),Ue):Fe},Ue.frequency=function(qe){return arguments.length?(se=!!qe,Ue):se},Ue},i.layout.pack=function(){var se,ve=i.layout.hierarchy().sort(Du),Ie=0,Fe=[1,1];function Ue(qe,Xe){var tt=ve.call(this,qe,Xe),lt=tt[0],gt=Fe[0],zt=Fe[1],Ut=se==null?Math.sqrt:typeof se=="function"?se:function(){return se};if(lt.x=lt.y=0,vs(lt,function(en){en.r=+Ut(en.value)}),vs(lt,Pl),Ie){var Ht=Ie*(se?1:Math.max(2*lt.r/gt,2*lt.r/zt))/2;vs(lt,function(en){en.r+=Ht}),vs(lt,Pl),vs(lt,function(en){en.r-=Ht})}return Fi(lt,gt/2,zt/2,se?1:1/Math.max(2*lt.r/gt,2*lt.r/zt)),tt}return Ue.size=function(qe){return arguments.length?(Fe=qe,Ue):Fe},Ue.radius=function(qe){return arguments.length?(se=qe==null||typeof qe=="function"?qe:+qe,Ue):se},Ue.padding=function(qe){return arguments.length?(Ie=+qe,Ue):Ie},Jl(Ue,ve)},i.layout.tree=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=fl,Ie=[1,1],Fe=null;function Ue(lt,gt){var zt=se.call(this,lt,gt),Ut=zt[0],Ht=function(_n){for(var on,Fn={A:null,children:[_n]},Hn=[Fn];(on=Hn.pop())!=null;)for(var ir,ar=on.children,Cr=0,Or=ar.length;Crvn.x&&(vn=_n),_n.depth>tn.depth&&(tn=_n)});var ln=ve(en,vn)/2-en.x,an=Ie[0]/(vn.x+ve(vn,en)/2+ln),Cn=Ie[1]/(tn.depth||1);Iu(Ut,function(_n){_n.x=(_n.x+ln)*an,_n.y=_n.depth*Cn})}return zt}function qe(lt){var gt=lt.children,zt=lt.parent.children,Ut=lt.i?zt[lt.i-1]:null;if(gt.length){(function(en){for(var vn,tn=0,ln=0,an=en.children,Cn=an.length;--Cn>=0;)(vn=an[Cn]).z+=tn,vn.m+=tn,tn+=vn.s+(ln+=vn.c)})(lt);var Ht=(gt[0].z+gt[gt.length-1].z)/2;Ut?(lt.z=Ut.z+ve(lt._,Ut._),lt.m=lt.z-Ht):lt.z=Ht}else Ut&&(lt.z=Ut.z+ve(lt._,Ut._));lt.parent.A=function(en,vn,tn){if(vn){for(var ln,an=en,Cn=en,_n=vn,on=an.parent.children[0],Fn=an.m,Hn=Cn.m,ir=_n.m,ar=on.m;_n=Gc(_n),an=$s(an),_n&&an;)on=$s(on),(Cn=Gc(Cn)).a=en,(ln=_n.z+ir-an.z-Fn+ve(_n._,an._))>0&&(Ef(ru(_n,en,tn),en,ln),Fn+=ln,Hn+=ln),ir+=_n.m,Fn+=an.m,ar+=on.m,Hn+=Cn.m;_n&&!Gc(Cn)&&(Cn.t=_n,Cn.m+=ir-Hn),an&&!$s(on)&&(on.t=an,on.m+=Fn-ar,tn=en)}return tn}(lt,Ut,lt.parent.A||zt[0])}function Xe(lt){lt._.x=lt.z+lt.parent.m,lt.m+=lt.parent.m}function tt(lt){lt.x*=Ie[0],lt.y=lt.depth*Ie[1]}return Ue.separation=function(lt){return arguments.length?(ve=lt,Ue):ve},Ue.size=function(lt){return arguments.length?(Fe=(Ie=lt)==null?tt:null,Ue):Fe?null:Ie},Ue.nodeSize=function(lt){return arguments.length?(Fe=(Ie=lt)==null?null:tt,Ue):Fe?Ie:null},Jl(Ue,se)},i.layout.cluster=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=fl,Ie=[1,1],Fe=!1;function Ue(qe,Xe){var tt,lt=se.call(this,qe,Xe),gt=lt[0],zt=0;vs(gt,function(tn){var ln=tn.children;ln&&ln.length?(tn.x=function(an){return an.reduce(function(Cn,_n){return Cn+_n.x},0)/an.length}(ln),tn.y=function(an){return 1+i.max(an,function(Cn){return Cn.y})}(ln)):(tn.x=tt?zt+=ve(tn,tt):0,tn.y=0,tt=tn)});var Ut=Lf(gt),Ht=iu(gt),en=Ut.x-ve(Ut,Ht)/2,vn=Ht.x+ve(Ht,Ut)/2;return vs(gt,Fe?function(tn){tn.x=(tn.x-gt.x)*Ie[0],tn.y=(gt.y-tn.y)*Ie[1]}:function(tn){tn.x=(tn.x-en)/(vn-en)*Ie[0],tn.y=(1-(gt.y?tn.y/gt.y:1))*Ie[1]}),lt}return Ue.separation=function(qe){return arguments.length?(ve=qe,Ue):ve},Ue.size=function(qe){return arguments.length?(Fe=(Ie=qe)==null,Ue):Fe?null:Ie},Ue.nodeSize=function(qe){return arguments.length?(Fe=(Ie=qe)!=null,Ue):Fe?Ie:null},Jl(Ue,se)},i.layout.treemap=function(){var se,ve=i.layout.hierarchy(),Ie=Math.round,Fe=[1,1],Ue=null,qe=hl,Xe=!1,tt="squarify",lt=.5*(1+Math.sqrt(5));function gt(tn,ln){for(var an,Cn,_n=-1,on=tn.length;++_n0;)Fn.push(an=Hn[_n-1]),Fn.area+=an.area,tt!=="squarify"||(Cn=Ht(Fn,ar))<=ir?(Hn.pop(),ir=Cn):(Fn.area-=Fn.pop().area,en(Fn,ar,on,!1),ar=Math.min(on.dx,on.dy),Fn.length=Fn.area=0,ir=1/0);Fn.length&&(en(Fn,ar,on,!0),Fn.length=Fn.area=0),ln.forEach(zt)}}function Ut(tn){var ln=tn.children;if(ln&&ln.length){var an,Cn=qe(tn),_n=ln.slice(),on=[];for(gt(_n,Cn.dx*Cn.dy/tn.value),on.area=0;an=_n.pop();)on.push(an),on.area+=an.area,an.z!=null&&(en(on,an.z?Cn.dx:Cn.dy,Cn,!_n.length),on.length=on.area=0);ln.forEach(Ut)}}function Ht(tn,ln){for(var an,Cn=tn.area,_n=0,on=1/0,Fn=-1,Hn=tn.length;++Fn_n&&(_n=an));return ln*=ln,(Cn*=Cn)?Math.max(ln*_n*lt/Cn,Cn/(ln*on*lt)):1/0}function en(tn,ln,an,Cn){var _n,on=-1,Fn=tn.length,Hn=an.x,ir=an.y,ar=ln?Ie(tn.area/ln):0;if(ln==an.dx){for((Cn||ar>an.dy)&&(ar=an.dy);++onan.dx)&&(ar=an.dx);++on1);return se+ve*Fe*Math.sqrt(-2*Math.log(qe)/qe)}},logNormal:function(){var se=i.random.normal.apply(i,arguments);return function(){return Math.exp(se())}},bates:function(se){var ve=i.random.irwinHall(se);return function(){return ve()/se}},irwinHall:function(se){return function(){for(var ve=0,Ie=0;Ie2?fo:ou,gt=Fe?Xl:Mf;return Ue=lt(se,ve,gt,Ie),qe=lt(ve,se,gt,Ko),tt}function tt(lt){return Ue(lt)}return tt.invert=function(lt){return qe(lt)},tt.domain=function(lt){return arguments.length?(se=lt.map(Number),Xe()):se},tt.range=function(lt){return arguments.length?(ve=lt,Xe()):ve},tt.rangeRound=function(lt){return tt.range(lt).interpolate(ph)},tt.clamp=function(lt){return arguments.length?(Fe=lt,Xe()):Fe},tt.interpolate=function(lt){return arguments.length?(Ie=lt,Xe()):Ie},tt.ticks=function(lt){return Jo(se,lt)},tt.tickFormat=function(lt,gt){return d3_scale_linearTickFormat(se,lt,gt)},tt.nice=function(lt){return bs(se,lt),Xe()},tt.copy=function(){return Vo(se,ve,Ie,Fe)},Xe()}function Rl(se,ve){return i.rebind(se,ve,"range","rangeRound","interpolate","clamp")}function bs(se,ve){return $a(se,go(Xa(se,ve)[2])),$a(se,go(Xa(se,ve)[2])),se}function Xa(se,ve){ve==null&&(ve=10);var Ie=va(se),Fe=Ie[1]-Ie[0],Ue=Math.pow(10,Math.floor(Math.log(Fe/ve)/Math.LN10)),qe=ve/Fe*Ue;return qe<=.15?Ue*=10:qe<=.35?Ue*=5:qe<=.75&&(Ue*=2),Ie[0]=Math.ceil(Ie[0]/Ue)*Ue,Ie[1]=Math.floor(Ie[1]/Ue)*Ue+.5*Ue,Ie[2]=Ue,Ie}function Jo(se,ve){return i.range.apply(i,Xa(se,ve))}function Wc(se,ve,Ie,Fe){function Ue(tt){return(Ie?Math.log(tt<0?0:tt):-Math.log(tt>0?0:-tt))/Math.log(ve)}function qe(tt){return Ie?Math.pow(ve,tt):-Math.pow(ve,-tt)}function Xe(tt){return se(Ue(tt))}return Xe.invert=function(tt){return qe(se.invert(tt))},Xe.domain=function(tt){return arguments.length?(Ie=tt[0]>=0,se.domain((Fe=tt.map(Number)).map(Ue)),Xe):Fe},Xe.base=function(tt){return arguments.length?(ve=+tt,se.domain(Fe.map(Ue)),Xe):ve},Xe.nice=function(){var tt=$a(Fe.map(Ue),Ie?Math:qc);return se.domain(tt),Fe=tt.map(qe),Xe},Xe.ticks=function(){var tt=va(Fe),lt=[],gt=tt[0],zt=tt[1],Ut=Math.floor(Ue(gt)),Ht=Math.ceil(Ue(zt)),en=ve%1?2:ve;if(isFinite(Ht-Ut)){if(Ie){for(;Ut0;vn--)lt.push(qe(Ut)*vn);for(Ut=0;lt[Ut]zt;Ht--);lt=lt.slice(Ut,Ht)}return lt},Xe.copy=function(){return Wc(se.copy(),ve,Ie,Fe)},Rl(Xe,se)}i.scale.linear=function(){return Vo([0,1],[0,1],Ko,!1)},i.scale.log=function(){return Wc(i.scale.linear().domain([0,1]),10,!0,[1,10])};var qc={floor:function(se){return-Math.ceil(-se)},ceil:function(se){return-Math.floor(-se)}};function Po(se,ve,Ie){var Fe=Br(ve),Ue=Br(1/ve);function qe(Xe){return se(Fe(Xe))}return qe.invert=function(Xe){return Ue(se.invert(Xe))},qe.domain=function(Xe){return arguments.length?(se.domain((Ie=Xe.map(Number)).map(Fe)),qe):Ie},qe.ticks=function(Xe){return Jo(Ie,Xe)},qe.tickFormat=function(Xe,tt){return d3_scale_linearTickFormat(Ie,Xe,tt)},qe.nice=function(Xe){return qe.domain(bs(Ie,Xe))},qe.exponent=function(Xe){return arguments.length?(Fe=Br(ve=Xe),Ue=Br(1/ve),se.domain(Ie.map(Fe)),qe):ve},qe.copy=function(){return Po(se.copy(),ve,Ie)},Rl(qe,se)}function Br(se){return function(ve){return ve<0?-Math.pow(-ve,se):Math.pow(ve,se)}}function su(se,ve){var Ie,Fe,Ue;function qe(tt){return Fe[((Ie.get(tt)||(ve.t==="range"?Ie.set(tt,se.push(tt)):NaN))-1)%Fe.length]}function Xe(tt,lt){return i.range(se.length).map(function(gt){return tt+lt*gt})}return qe.domain=function(tt){if(!arguments.length)return se;se=[],Ie=new L;for(var lt,gt=-1,zt=tt.length;++gt0?Ie[qe-1]:se[0],qeHt?0:1;if(zt=Wt)return lt(zt,vn)+(gt?lt(gt,1-vn):"")+"Z";var tn,ln,an,Cn,_n,on,Fn,Hn,ir,ar,Cr,Or,_r=0,Sr=0,Wr=[];if((Cn=(+Xe.apply(this,arguments)||0)/2)&&(an=Fe===mc?Math.sqrt(gt*gt+zt*zt):+Fe.apply(this,arguments),vn||(Sr*=-1),zt&&(Sr=We(an/zt*Math.sin(Cn))),gt&&(_r=We(an/gt*Math.sin(Cn)))),zt){_n=zt*Math.cos(Ut+Sr),on=zt*Math.sin(Ut+Sr),Fn=zt*Math.cos(Ht-Sr),Hn=zt*Math.sin(Ht-Sr);var mi=Math.abs(Ht-Ut-2*Sr)<=Dt?0:1;if(Sr&&Os(_n,on,Fn,Hn)===vn^mi){var gi=(Ut+Ht)/2;_n=zt*Math.cos(gi),on=zt*Math.sin(gi),Fn=Hn=null}}else _n=on=0;if(gt){ir=gt*Math.cos(Ht-_r),ar=gt*Math.sin(Ht-_r),Cr=gt*Math.cos(Ut+_r),Or=gt*Math.sin(Ut+_r);var Mr=Math.abs(Ut-Ht+2*_r)<=Dt?0:1;if(_r&&Os(ir,ar,Cr,Or)===1-vn^Mr){var qr=(Ut+Ht)/2;ir=gt*Math.cos(qr),ar=gt*Math.sin(qr),Cr=Or=null}}else ir=ar=0;if(en>Ft&&(tn=Math.min(Math.abs(zt-gt)/2,+Ie.apply(this,arguments)))>.001){ln=gt0?0:1}function _s(se,ve,Ie,Fe,Ue){var qe=se[0]-ve[0],Xe=se[1]-ve[1],tt=(Ue?Fe:-Fe)/Math.sqrt(qe*qe+Xe*Xe),lt=tt*Xe,gt=-tt*qe,zt=se[0]+lt,Ut=se[1]+gt,Ht=ve[0]+lt,en=ve[1]+gt,vn=(zt+Ht)/2,tn=(Ut+en)/2,ln=Ht-zt,an=en-Ut,Cn=ln*ln+an*an,_n=Ie-Fe,on=zt*en-Ht*Ut,Fn=(an<0?-1:1)*Math.sqrt(Math.max(0,_n*_n*Cn-on*on)),Hn=(on*an-ln*Fn)/Cn,ir=(-on*ln-an*Fn)/Cn,ar=(on*an+ln*Fn)/Cn,Cr=(-on*ln+an*Fn)/Cn,Or=Hn-vn,_r=ir-tn,Sr=ar-vn,Wr=Cr-tn;return Or*Or+_r*_r>Sr*Sr+Wr*Wr&&(Hn=ar,ir=Cr),[[Hn-lt,ir-gt],[Hn*Ie/_n,ir*Ie/_n]]}function uu(){return!0}function bo(se){var ve=Un,Ie=Jn,Fe=uu,Ue=Ki,qe=Ue.key,Xe=.7;function tt(lt){var gt,zt=[],Ut=[],Ht=-1,en=lt.length,vn=Wn(ve),tn=Wn(Ie);function ln(){zt.push("M",Ue(se(Ut),Xe))}for(;++Ht1&&Ue.push("H",Fe[0]),Ue.join("")},"step-before":cs,"step-after":Ts,basis:Yi,"basis-open":function(se){if(se.length<4)return Ki(se);for(var ve,Ie=[],Fe=-1,Ue=se.length,qe=[0],Xe=[0];++Fe<3;)ve=se[Fe],qe.push(ve[0]),Xe.push(ve[1]);for(Ie.push(io(Xs,qe)+","+io(Xs,Xe)),--Fe;++Fe9&&(qe=3*Ie/Math.sqrt(qe),tt[lt]=qe*Fe,tt[lt+1]=qe*Ue);for(lt=-1;++lt<=gt;)qe=(ve[Math.min(gt,lt+1)][0]-ve[Math.max(0,lt-1)][0])/(6*(1+tt[lt]*tt[lt])),Xe.push([qe||0,tt[lt]*qe||0]);return Xe}(se))}});function Ki(se){return se.length>1?se.join("L"):se+"Z"}function gc(se){return se.join("L")+"Z"}function cs(se){for(var ve=0,Ie=se.length,Fe=se[0],Ue=[Fe[0],",",Fe[1]];++ve1){tt=ve[1],qe=se[lt],lt++,Fe+="C"+(Ue[0]+Xe[0])+","+(Ue[1]+Xe[1])+","+(qe[0]-tt[0])+","+(qe[1]-tt[1])+","+qe[0]+","+qe[1];for(var gt=2;gtDt)+",1 "+zt}function lt(gt,zt,Ut,Ht){return"Q 0,0 "+Ht}return qe.radius=function(gt){return arguments.length?(Ie=Wn(gt),qe):Ie},qe.source=function(gt){return arguments.length?(se=Wn(gt),qe):se},qe.target=function(gt){return arguments.length?(ve=Wn(gt),qe):ve},qe.startAngle=function(gt){return arguments.length?(Fe=Wn(gt),qe):Fe},qe.endAngle=function(gt){return arguments.length?(Ue=Wn(gt),qe):Ue},qe},i.svg.diagonal=function(){var se=$r,ve=oi,Ie=ml;function Fe(Ue,qe){var Xe=se.call(this,Ue,qe),tt=ve.call(this,Ue,qe),lt=(Xe.y+tt.y)/2,gt=[Xe,{x:Xe.x,y:lt},{x:tt.x,y:lt},tt];return"M"+(gt=gt.map(Ie))[0]+"C"+gt[1]+" "+gt[2]+" "+gt[3]}return Fe.source=function(Ue){return arguments.length?(se=Wn(Ue),Fe):se},Fe.target=function(Ue){return arguments.length?(ve=Wn(Ue),Fe):ve},Fe.projection=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe},i.svg.diagonal.radial=function(){var se=i.svg.diagonal(),ve=ml,Ie=se.projection;return se.projection=function(Fe){return arguments.length?Ie(Ds(ve=Fe)):ve},se},i.svg.symbol=function(){var se=Zc,ve=_o;function Ie(Fe,Ue){return(Vu.get(se.call(this,Fe,Ue))||Go)(ve.call(this,Fe,Ue))}return Ie.type=function(Fe){return arguments.length?(se=Wn(Fe),Ie):se},Ie.size=function(Fe){return arguments.length?(ve=Wn(Fe),Ie):ve},Ie};var Vu=i.map({circle:Go,cross:function(se){var ve=Math.sqrt(se/5)/2;return"M"+-3*ve+","+-ve+"H"+-ve+"V"+-3*ve+"H"+ve+"V"+-ve+"H"+3*ve+"V"+ve+"H"+ve+"V"+3*ve+"H"+-ve+"V"+ve+"H"+-3*ve+"Z"},diamond:function(se){var ve=Math.sqrt(se/(2*ta)),Ie=ve*ta;return"M0,"+-ve+"L"+Ie+",0 0,"+ve+" "+-Ie+",0Z"},square:function(se){var ve=Math.sqrt(se)/2;return"M"+-ve+","+-ve+"L"+ve+","+-ve+" "+ve+","+ve+" "+-ve+","+ve+"Z"},"triangle-down":function(se){var ve=Math.sqrt(se/vl),Ie=ve*vl/2;return"M0,"+Ie+"L"+ve+","+-Ie+" "+-ve+","+-Ie+"Z"},"triangle-up":function(se){var ve=Math.sqrt(se/vl),Ie=ve*vl/2;return"M0,"+-Ie+"L"+ve+","+Ie+" "+-ve+","+Ie+"Z"}});i.svg.symbolTypes=Vu.keys();var vl=Math.sqrt(3),ta=Math.tan(30*Ke);ce.transition=function(se){for(var ve,Ie,Fe=rt||++St,Ue=ee(se),qe=[],Xe=ct||{time:Date.now(),ease:ol,delay:0,duration:250},tt=-1,lt=this.length;++tt0;)gt[--an].call(se,ln);if(tn>=1)return Ut.event&&Ut.event.end.call(se,se.__data__,ve),--zt.count?delete zt[Fe]:delete se[Ie],1}Ut||(qe=Ue.time,Xe=Kt(function(vn){var tn=Ut.delay;if(Xe.t=tn+qe,tn<=vn)return Ht(vn-tn);Xe.c=Ht},0,qe),Ut=zt[Fe]={tween:new L,time:qe,timer:Xe,delay:Ue.delay,duration:Ue.duration,ease:Ue.ease,index:ve},Ue=null,++zt.count)}vt.call=ce.call,vt.empty=ce.empty,vt.node=ce.node,vt.size=ce.size,i.transition=function(se,ve){return se&&se.transition?rt?se.transition(ve):se:i.selection().transition(se)},i.transition.prototype=vt,vt.select=function(se){var ve,Ie,Fe,Ue=this.id,qe=this.namespace,Xe=[];se=ye(se);for(var tt=-1,lt=this.length;++ttrect,.s>rect").attr("width",qe[1]-qe[0])}function en(tn){tn.select(".extent").attr("y",Xe[0]),tn.selectAll(".extent,.e>rect,.w>rect").attr("height",Xe[1]-Xe[0])}function vn(){var tn,ln,an=this,Cn=i.select(i.event.target),_n=Ie.of(an,arguments),on=i.select(an),Fn=Cn.datum(),Hn=!/^(n|s)$/.test(Fn)&&Fe,ir=!/^(e|w)$/.test(Fn)&&Ue,ar=Cn.classed("extent"),Cr=bt(an),Or=i.mouse(an),_r=i.select(a(an)).on("keydown.brush",mi).on("keyup.brush",gi);if(i.event.changedTouches?_r.on("touchmove.brush",Mr).on("touchend.brush",ci):_r.on("mousemove.brush",Mr).on("mouseup.brush",ci),on.interrupt().selectAll("*").interrupt(),ar)Or[0]=qe[0]-Or[0],Or[1]=Xe[0]-Or[1];else if(Fn){var Sr=+/w$/.test(Fn),Wr=+/^n/.test(Fn);ln=[qe[1-Sr]-Or[0],Xe[1-Wr]-Or[1]],Or[0]=qe[Sr],Or[1]=Xe[Wr]}else i.event.altKey&&(tn=Or.slice());function mi(){i.event.keyCode==32&&(ar||(tn=null,Or[0]-=qe[1],Or[1]-=Xe[1],ar=2),ne())}function gi(){i.event.keyCode==32&&ar==2&&(Or[0]+=qe[1],Or[1]+=Xe[1],ar=0,ne())}function Mr(){var ui=i.mouse(an),Ri=!1;ln&&(ui[0]+=ln[0],ui[1]+=ln[1]),ar||(i.event.altKey?(tn||(tn=[(qe[0]+qe[1])/2,(Xe[0]+Xe[1])/2]),Or[0]=qe[+(ui[0]>>1;f.dtype||(f.dtype="array"),typeof f.dtype=="string"?y=new(c(f.dtype))(w):f.dtype&&(y=f.dtype,Array.isArray(y)&&(y.length=w));for(var k=0;km||H>1073741824){for(var Q=0;Qpe+Pe||ie>xe+Pe||oe=ce||Me===Se)){var Ce=E[_e];Se===void 0&&(Se=Ce.length);for(var ae=Me;ae=ne&&be<=Z&&ke>=te&&ke<=X&&ye.push(he)}var Le=T[_e],Be=Le[4*Me+0],ze=Le[4*Me+1],je=Le[4*Me+2],ge=Le[4*Me+3],we=me(Le,Me+1),Ee=.5*Pe,Ve=_e+1;de(pe,xe,Ee,Ve,Be,ze||je||ge||we),de(pe,xe+Ee,Ee,Ve,ze,je||ge||we),de(pe+Ee,xe,Ee,Ve,je,ge||we),de(pe+Ee,xe+Ee,Ee,Ve,ge,we)}}function me(pe,xe){for(var Pe=null,_e=0;Pe===null;)if(Pe=pe[4*xe+_e],++_e>pe.length)return null;return Pe}return de(0,0,1,0,0,1),ye},y;function B(q,j,Y,U,G){for(var W=[],H=0;H0){u+=Math.abs(M(p[0]));for(var a=1;a2){for(h=0;h=0))throw new Error("precision must be a positive number");var m=Math.pow(10,f||0);return Math.round(h*m)/m},o.radiansToLength=a,o.lengthToRadians=c,o.lengthToDegrees=function(h,f){return s(c(h,f))},o.bearingToAzimuth=function(h){var f=h%360;return f<0&&(f+=360),f},o.radiansToDegrees=s,o.degreesToRadians=function(h){return h%360*Math.PI/180},o.convertLength=function(h,f,m){if(f===void 0&&(f="kilometers"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("length must be a positive number");return a(c(h,f),m)},o.convertArea=function(h,f,m){if(f===void 0&&(f="meters"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("area must be a positive number");var _=o.areaFactors[f];if(!_)throw new Error("invalid original units");var y=o.areaFactors[m];if(!y)throw new Error("invalid final units");return h/_*y},o.isNumber=l,o.isObject=function(h){return!!h&&h.constructor===Object},o.validateBBox=function(h){if(!h)throw new Error("bbox is required");if(!Array.isArray(h))throw new Error("bbox must be an Array");if(h.length!==4&&h.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");h.forEach(function(f){if(!l(f))throw new Error("bbox must only contain numbers")})},o.validateId=function(h){if(!h)throw new Error("id is required");if(["string","number"].indexOf(typeof h)===-1)throw new Error("id must be a number or a string")}},60302:function(x,o,t){Object.defineProperty(o,"__esModule",{value:!0});var d=t(23132);function v(c,s,l){if(c!==null)for(var h,f,m,_,y,C,w,k,E=0,T=0,A=c.type,L=A==="FeatureCollection",b=A==="Feature",O=L?c.features.length:1,I=0;IC||L>w||b>k)return y=E,C=h,w=L,k=b,void(m=0);var O=d.lineString([y,E],l.properties);if(s(O,h,f,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(c,s){if(!c)throw new Error("geojson is required");p(c,function(l,h,f){if(l.geometry!==null){var m=l.geometry.type,_=l.geometry.coordinates;switch(m){case"LineString":if(s(l,h,f,0,0)===!1)return!1;break;case"Polygon":for(var y=0;y<_.length;y++)if(s(d.lineString(_[y],l.properties),h,f,y)===!1)return!1}}})}o.coordEach=v,o.coordReduce=function(c,s,l,h){var f=l;return v(c,function(m,_,y,C,w){f=_===0&&l===void 0?m:s(f,m,_,y,C,w)},h),f},o.propEach=i,o.propReduce=function(c,s,l){var h=l;return i(c,function(f,m){h=m===0&&l===void 0?f:s(h,f,m)}),h},o.featureEach=M,o.featureReduce=function(c,s,l){var h=l;return M(c,function(f,m){h=m===0&&l===void 0?f:s(h,f,m)}),h},o.coordAll=function(c){var s=[];return v(c,function(l){s.push(l)}),s},o.geomEach=g,o.geomReduce=function(c,s,l){var h=l;return g(c,function(f,m,_,y,C){h=m===0&&l===void 0?f:s(h,f,m,_,y,C)}),h},o.flattenEach=p,o.flattenReduce=function(c,s,l){var h=l;return p(c,function(f,m,_){h=m===0&&_===0&&l===void 0?f:s(h,f,m,_)}),h},o.segmentEach=u,o.segmentReduce=function(c,s,l){var h=l,f=!1;return u(c,function(m,_,y,C,w){h=f===!1&&l===void 0?m:s(h,m,_,y,C,w),f=!0}),h},o.lineEach=a,o.lineReduce=function(c,s,l){var h=l;return a(c,function(f,m,_,y){h=m===0&&l===void 0?f:s(h,f,m,_,y)}),h},o.findSegment=function(c,s){if(s=s||{},!d.isObject(s))throw new Error("options is invalid");var l,h=s.featureIndex||0,f=s.multiFeatureIndex||0,m=s.geometryIndex||0,_=s.segmentIndex||0,y=s.properties;switch(c.type){case"FeatureCollection":h<0&&(h=c.features.length+h),y=y||c.features[h].properties,l=c.features[h].geometry;break;case"Feature":y=y||c.properties,l=c.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=c;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var C=l.coordinates;switch(l.type){case"Point":case"MultiPoint":return null;case"LineString":return _<0&&(_=C.length+_-1),d.lineString([C[_],C[_+1]],y,s);case"Polygon":return m<0&&(m=C.length+m),_<0&&(_=C[m].length+_-1),d.lineString([C[m][_],C[m][_+1]],y,s);case"MultiLineString":return f<0&&(f=C.length+f),_<0&&(_=C[f].length+_-1),d.lineString([C[f][_],C[f][_+1]],y,s);case"MultiPolygon":return f<0&&(f=C.length+f),m<0&&(m=C[f].length+m),_<0&&(_=C[f][m].length-_-1),d.lineString([C[f][m][_],C[f][m][_+1]],y,s)}throw new Error("geojson is invalid")},o.findPoint=function(c,s){if(s=s||{},!d.isObject(s))throw new Error("options is invalid");var l,h=s.featureIndex||0,f=s.multiFeatureIndex||0,m=s.geometryIndex||0,_=s.coordIndex||0,y=s.properties;switch(c.type){case"FeatureCollection":h<0&&(h=c.features.length+h),y=y||c.features[h].properties,l=c.features[h].geometry;break;case"Feature":y=y||c.properties,l=c.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=c;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var C=l.coordinates;switch(l.type){case"Point":return d.point(C,y,s);case"MultiPoint":return f<0&&(f=C.length+f),d.point(C[f],y,s);case"LineString":return _<0&&(_=C.length+_),d.point(C[_],y,s);case"Polygon":return m<0&&(m=C.length+m),_<0&&(_=C[m].length+_),d.point(C[m][_],y,s);case"MultiLineString":return f<0&&(f=C.length+f),_<0&&(_=C[f].length+_),d.point(C[f][_],y,s);case"MultiPolygon":return f<0&&(f=C.length+f),m<0&&(m=C[f].length+m),_<0&&(_=C[f][m].length-_),d.point(C[f][m][_],y,s)}throw new Error("geojson is invalid")}},85268:function(x,o,t){Object.defineProperty(o,"__esModule",{value:!0});var d=t(27138);function v(i){var M=[1/0,1/0,-1/0,-1/0];return d.coordEach(i,function(g){M[0]>g[0]&&(M[0]=g[0]),M[1]>g[1]&&(M[1]=g[1]),M[2]=0))throw new Error("precision must be a positive number");var m=Math.pow(10,f||0);return Math.round(h*m)/m},o.radiansToLength=a,o.lengthToRadians=c,o.lengthToDegrees=function(h,f){return s(c(h,f))},o.bearingToAzimuth=function(h){var f=h%360;return f<0&&(f+=360),f},o.radiansToDegrees=s,o.degreesToRadians=function(h){return h%360*Math.PI/180},o.convertLength=function(h,f,m){if(f===void 0&&(f="kilometers"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("length must be a positive number");return a(c(h,f),m)},o.convertArea=function(h,f,m){if(f===void 0&&(f="meters"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("area must be a positive number");var _=o.areaFactors[f];if(!_)throw new Error("invalid original units");var y=o.areaFactors[m];if(!y)throw new Error("invalid final units");return h/_*y},o.isNumber=l,o.isObject=function(h){return!!h&&h.constructor===Object},o.validateBBox=function(h){if(!h)throw new Error("bbox is required");if(!Array.isArray(h))throw new Error("bbox must be an Array");if(h.length!==4&&h.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");h.forEach(function(f){if(!l(f))throw new Error("bbox must only contain numbers")})},o.validateId=function(h){if(!h)throw new Error("id is required");if(["string","number"].indexOf(typeof h)===-1)throw new Error("id must be a number or a string")}},27138:function(x,o,t){Object.defineProperty(o,"__esModule",{value:!0});var d=t(94228);function v(c,s,l){if(c!==null)for(var h,f,m,_,y,C,w,k,E=0,T=0,A=c.type,L=A==="FeatureCollection",b=A==="Feature",O=L?c.features.length:1,I=0;IC||L>w||b>k)return y=E,C=h,w=L,k=b,void(m=0);var O=d.lineString([y,E],l.properties);if(s(O,h,f,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(c,s){if(!c)throw new Error("geojson is required");p(c,function(l,h,f){if(l.geometry!==null){var m=l.geometry.type,_=l.geometry.coordinates;switch(m){case"LineString":if(s(l,h,f,0,0)===!1)return!1;break;case"Polygon":for(var y=0;y<_.length;y++)if(s(d.lineString(_[y],l.properties),h,f,y)===!1)return!1}}})}o.coordEach=v,o.coordReduce=function(c,s,l,h){var f=l;return v(c,function(m,_,y,C,w){f=_===0&&l===void 0?m:s(f,m,_,y,C,w)},h),f},o.propEach=i,o.propReduce=function(c,s,l){var h=l;return i(c,function(f,m){h=m===0&&l===void 0?f:s(h,f,m)}),h},o.featureEach=M,o.featureReduce=function(c,s,l){var h=l;return M(c,function(f,m){h=m===0&&l===void 0?f:s(h,f,m)}),h},o.coordAll=function(c){var s=[];return v(c,function(l){s.push(l)}),s},o.geomEach=g,o.geomReduce=function(c,s,l){var h=l;return g(c,function(f,m,_,y,C){h=m===0&&l===void 0?f:s(h,f,m,_,y,C)}),h},o.flattenEach=p,o.flattenReduce=function(c,s,l){var h=l;return p(c,function(f,m,_){h=m===0&&_===0&&l===void 0?f:s(h,f,m,_)}),h},o.segmentEach=u,o.segmentReduce=function(c,s,l){var h=l,f=!1;return u(c,function(m,_,y,C,w){h=f===!1&&l===void 0?m:s(h,m,_,y,C,w),f=!0}),h},o.lineEach=a,o.lineReduce=function(c,s,l){var h=l;return a(c,function(f,m,_,y){h=m===0&&l===void 0?f:s(h,f,m,_,y)}),h},o.findSegment=function(c,s){if(s=s||{},!d.isObject(s))throw new Error("options is invalid");var l,h=s.featureIndex||0,f=s.multiFeatureIndex||0,m=s.geometryIndex||0,_=s.segmentIndex||0,y=s.properties;switch(c.type){case"FeatureCollection":h<0&&(h=c.features.length+h),y=y||c.features[h].properties,l=c.features[h].geometry;break;case"Feature":y=y||c.properties,l=c.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=c;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var C=l.coordinates;switch(l.type){case"Point":case"MultiPoint":return null;case"LineString":return _<0&&(_=C.length+_-1),d.lineString([C[_],C[_+1]],y,s);case"Polygon":return m<0&&(m=C.length+m),_<0&&(_=C[m].length+_-1),d.lineString([C[m][_],C[m][_+1]],y,s);case"MultiLineString":return f<0&&(f=C.length+f),_<0&&(_=C[f].length+_-1),d.lineString([C[f][_],C[f][_+1]],y,s);case"MultiPolygon":return f<0&&(f=C.length+f),m<0&&(m=C[f].length+m),_<0&&(_=C[f][m].length-_-1),d.lineString([C[f][m][_],C[f][m][_+1]],y,s)}throw new Error("geojson is invalid")},o.findPoint=function(c,s){if(s=s||{},!d.isObject(s))throw new Error("options is invalid");var l,h=s.featureIndex||0,f=s.multiFeatureIndex||0,m=s.geometryIndex||0,_=s.coordIndex||0,y=s.properties;switch(c.type){case"FeatureCollection":h<0&&(h=c.features.length+h),y=y||c.features[h].properties,l=c.features[h].geometry;break;case"Feature":y=y||c.properties,l=c.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=c;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var C=l.coordinates;switch(l.type){case"Point":return d.point(C,y,s);case"MultiPoint":return f<0&&(f=C.length+f),d.point(C[f],y,s);case"LineString":return _<0&&(_=C.length+_),d.point(C[_],y,s);case"Polygon":return m<0&&(m=C.length+m),_<0&&(_=C[m].length+_),d.point(C[m][_],y,s);case"MultiLineString":return f<0&&(f=C.length+f),_<0&&(_=C[f].length+_),d.point(C[f][_],y,s);case"MultiPolygon":return f<0&&(f=C.length+f),m<0&&(m=C[f].length+m),_<0&&(_=C[f][m].length-_),d.point(C[f][m][_],y,s)}throw new Error("geojson is invalid")}},29261:function(x,o,t){Object.defineProperty(o,"__esModule",{value:!0});var d=t(88553),v=t(64182);o.default=function(i,M){M===void 0&&(M={});var g=0,p=0,u=0;return d.coordEach(i,function(a){g+=a[0],p+=a[1],u++}),v.point([g/u,p/u],M.properties)}},64182:function(x,o){function t(h,f,m){m===void 0&&(m={});var _={type:"Feature"};return(m.id===0||m.id)&&(_.id=m.id),m.bbox&&(_.bbox=m.bbox),_.properties=f||{},_.geometry=h,_}function d(h,f,m){return m===void 0&&(m={}),t({type:"Point",coordinates:h},f,m)}function v(h,f,m){m===void 0&&(m={});for(var _=0,y=h;_=0))throw new Error("precision must be a positive number");var m=Math.pow(10,f||0);return Math.round(h*m)/m},o.radiansToLength=a,o.lengthToRadians=c,o.lengthToDegrees=function(h,f){return s(c(h,f))},o.bearingToAzimuth=function(h){var f=h%360;return f<0&&(f+=360),f},o.radiansToDegrees=s,o.degreesToRadians=function(h){return h%360*Math.PI/180},o.convertLength=function(h,f,m){if(f===void 0&&(f="kilometers"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("length must be a positive number");return a(c(h,f),m)},o.convertArea=function(h,f,m){if(f===void 0&&(f="meters"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("area must be a positive number");var _=o.areaFactors[f];if(!_)throw new Error("invalid original units");var y=o.areaFactors[m];if(!y)throw new Error("invalid final units");return h/_*y},o.isNumber=l,o.isObject=function(h){return!!h&&h.constructor===Object},o.validateBBox=function(h){if(!h)throw new Error("bbox is required");if(!Array.isArray(h))throw new Error("bbox must be an Array");if(h.length!==4&&h.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");h.forEach(function(f){if(!l(f))throw new Error("bbox must only contain numbers")})},o.validateId=function(h){if(!h)throw new Error("id is required");if(["string","number"].indexOf(typeof h)===-1)throw new Error("id must be a number or a string")},o.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},o.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},o.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},o.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},o.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},o.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},o.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},88553:function(x,o,t){Object.defineProperty(o,"__esModule",{value:!0});var d=t(64182);function v(c,s,l){if(c!==null)for(var h,f,m,_,y,C,w,k,E=0,T=0,A=c.type,L=A==="FeatureCollection",b=A==="Feature",O=L?c.features.length:1,I=0;IC||L>w||b>k)return y=E,C=h,w=L,k=b,void(m=0);var O=d.lineString([y,E],l.properties);if(s(O,h,f,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(c,s){if(!c)throw new Error("geojson is required");p(c,function(l,h,f){if(l.geometry!==null){var m=l.geometry.type,_=l.geometry.coordinates;switch(m){case"LineString":if(s(l,h,f,0,0)===!1)return!1;break;case"Polygon":for(var y=0;y<_.length;y++)if(s(d.lineString(_[y],l.properties),h,f,y)===!1)return!1}}})}o.coordEach=v,o.coordReduce=function(c,s,l,h){var f=l;return v(c,function(m,_,y,C,w){f=_===0&&l===void 0?m:s(f,m,_,y,C,w)},h),f},o.propEach=i,o.propReduce=function(c,s,l){var h=l;return i(c,function(f,m){h=m===0&&l===void 0?f:s(h,f,m)}),h},o.featureEach=M,o.featureReduce=function(c,s,l){var h=l;return M(c,function(f,m){h=m===0&&l===void 0?f:s(h,f,m)}),h},o.coordAll=function(c){var s=[];return v(c,function(l){s.push(l)}),s},o.geomEach=g,o.geomReduce=function(c,s,l){var h=l;return g(c,function(f,m,_,y,C){h=m===0&&l===void 0?f:s(h,f,m,_,y,C)}),h},o.flattenEach=p,o.flattenReduce=function(c,s,l){var h=l;return p(c,function(f,m,_){h=m===0&&_===0&&l===void 0?f:s(h,f,m,_)}),h},o.segmentEach=u,o.segmentReduce=function(c,s,l){var h=l,f=!1;return u(c,function(m,_,y,C,w){h=f===!1&&l===void 0?m:s(h,m,_,y,C,w),f=!0}),h},o.lineEach=a,o.lineReduce=function(c,s,l){var h=l;return a(c,function(f,m,_,y){h=m===0&&l===void 0?f:s(h,f,m,_,y)}),h},o.findSegment=function(c,s){if(s=s||{},!d.isObject(s))throw new Error("options is invalid");var l,h=s.featureIndex||0,f=s.multiFeatureIndex||0,m=s.geometryIndex||0,_=s.segmentIndex||0,y=s.properties;switch(c.type){case"FeatureCollection":h<0&&(h=c.features.length+h),y=y||c.features[h].properties,l=c.features[h].geometry;break;case"Feature":y=y||c.properties,l=c.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=c;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var C=l.coordinates;switch(l.type){case"Point":case"MultiPoint":return null;case"LineString":return _<0&&(_=C.length+_-1),d.lineString([C[_],C[_+1]],y,s);case"Polygon":return m<0&&(m=C.length+m),_<0&&(_=C[m].length+_-1),d.lineString([C[m][_],C[m][_+1]],y,s);case"MultiLineString":return f<0&&(f=C.length+f),_<0&&(_=C[f].length+_-1),d.lineString([C[f][_],C[f][_+1]],y,s);case"MultiPolygon":return f<0&&(f=C.length+f),m<0&&(m=C[f].length+m),_<0&&(_=C[f][m].length-_-1),d.lineString([C[f][m][_],C[f][m][_+1]],y,s)}throw new Error("geojson is invalid")},o.findPoint=function(c,s){if(s=s||{},!d.isObject(s))throw new Error("options is invalid");var l,h=s.featureIndex||0,f=s.multiFeatureIndex||0,m=s.geometryIndex||0,_=s.coordIndex||0,y=s.properties;switch(c.type){case"FeatureCollection":h<0&&(h=c.features.length+h),y=y||c.features[h].properties,l=c.features[h].geometry;break;case"Feature":y=y||c.properties,l=c.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=c;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var C=l.coordinates;switch(l.type){case"Point":return d.point(C,y,s);case"MultiPoint":return f<0&&(f=C.length+f),d.point(C[f],y,s);case"LineString":return _<0&&(_=C.length+_),d.point(C[_],y,s);case"Polygon":return m<0&&(m=C.length+m),_<0&&(_=C[m].length+_),d.point(C[m][_],y,s);case"MultiLineString":return f<0&&(f=C.length+f),_<0&&(_=C[f].length+_),d.point(C[f][_],y,s);case"MultiPolygon":return f<0&&(f=C.length+f),m<0&&(m=C[f].length+m),_<0&&(_=C[f][m].length-_),d.point(C[f][m][_],y,s)}throw new Error("geojson is invalid")}},65185:function(x){x.exports=function(o){var t=0,d=0,v=0,i=0;return o.map(function(M){var g=(M=M.slice())[0],p=g.toUpperCase();if(g!=p)switch(M[0]=p,g){case"a":M[6]+=v,M[7]+=i;break;case"v":M[1]+=i;break;case"h":M[1]+=v;break;default:for(var u=1;ui&&(i=o[g]),o[g]1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function a(L,b,O){return a=u()?Reflect.construct:function(I,R,z){var F=[null];F.push.apply(F,R);var B=new(Function.bind.apply(I,F));return z&&c(B,z.prototype),B},a.apply(null,arguments)}function c(L,b){return c=Object.setPrototypeOf||function(O,I){return O.__proto__=I,O},c(L,b)}function s(L){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},s(L)}function l(L){return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},l(L)}var h=t(43827).inspect,f=t(79616).codes.ERR_INVALID_ARG_TYPE;function m(L,b,O){return(O===void 0||O>L.length)&&(O=L.length),L.substring(O-b.length,O)===b}var _="",y="",C="",w="",k={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 E(L){var b=Object.keys(L),O=Object.create(Object.getPrototypeOf(L));return b.forEach(function(I){O[I]=L[I]}),Object.defineProperty(O,"message",{value:L.message}),O}function T(L){return h(L,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var A=function(L){function b(R){var z;if(function(te,Z){if(!(te instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,b),l(R)!=="object"||R===null)throw new f("options","Object",R);var F=R.message,B=R.operator,N=R.stackStartFn,q=R.actual,j=R.expected,Y=Error.stackTraceLimit;if(Error.stackTraceLimit=0,F!=null)z=M(this,s(b).call(this,String(F)));else if(d.stderr&&d.stderr.isTTY&&(d.stderr&&d.stderr.getColorDepth&&d.stderr.getColorDepth()!==1?(_="\x1B[34m",y="\x1B[32m",w="\x1B[39m",C="\x1B[31m"):(_="",y="",w="",C="")),l(q)==="object"&&q!==null&&l(j)==="object"&&j!==null&&"stack"in q&&q instanceof Error&&"stack"in j&&j instanceof Error&&(q=E(q),j=E(j)),B==="deepStrictEqual"||B==="strictEqual")z=M(this,s(b).call(this,function(te,Z,X){var Q="",re="",ie=0,oe="",ue=!1,ce=T(te),ye=ce.split(` +`))}throw W}},E.strict=y(j,E,{equal:E.strictEqual,deepEqual:E.deepStrictEqual,notEqual:E.notStrictEqual,notDeepEqual:E.notDeepStrictEqual}),E.strict.strict=E.strict},73894:function(x,o,t){var d=t(90386);function v(L,b,O){return b in L?Object.defineProperty(L,b,{value:O,enumerable:!0,configurable:!0,writable:!0}):L[b]=O,L}function i(L,b){for(var O=0;O"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function a(L,b,O){return a=u()?Reflect.construct:function(I,R,z){var F=[null];F.push.apply(F,R);var B=new(Function.bind.apply(I,F));return z&&c(B,z.prototype),B},a.apply(null,arguments)}function c(L,b){return c=Object.setPrototypeOf||function(O,I){return O.__proto__=I,O},c(L,b)}function s(L){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},s(L)}function l(L){return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},l(L)}var h=t(43827).inspect,f=t(79616).codes.ERR_INVALID_ARG_TYPE;function m(L,b,O){return(O===void 0||O>L.length)&&(O=L.length),L.substring(O-b.length,O)===b}var _="",y="",C="",w="",k={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 E(L){var b=Object.keys(L),O=Object.create(Object.getPrototypeOf(L));return b.forEach(function(I){O[I]=L[I]}),Object.defineProperty(O,"message",{value:L.message}),O}function T(L){return h(L,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var A=function(L){function b(R){var z;if(function(te,Z){if(!(te instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,b),l(R)!=="object"||R===null)throw new f("options","Object",R);var F=R.message,B=R.operator,N=R.stackStartFn,q=R.actual,j=R.expected,Y=Error.stackTraceLimit;if(Error.stackTraceLimit=0,F!=null)z=M(this,s(b).call(this,String(F)));else if(d.stderr&&d.stderr.isTTY&&(d.stderr&&d.stderr.getColorDepth&&d.stderr.getColorDepth()!==1?(_="\x1B[34m",y="\x1B[32m",w="\x1B[39m",C="\x1B[31m"):(_="",y="",w="",C="")),l(q)==="object"&&q!==null&&l(j)==="object"&&j!==null&&"stack"in q&&q instanceof Error&&"stack"in j&&j instanceof Error&&(q=E(q),j=E(j)),B==="deepStrictEqual"||B==="strictEqual")z=M(this,s(b).call(this,function(te,Z,X){var Q="",re="",ie=0,oe="",ue=!1,ce=T(te),ye=ce.split(` `),de=T(Z).split(` `),me=0,pe="";if(X==="strictEqual"&&l(te)==="object"&&l(Z)==="object"&&te!==null&&Z!==null&&(X="strictEqualObject"),ye.length===1&&de.length===1&&ye[0]!==de[0]){var xe=ye[0].length+de[0].length;if(xe<=10){if(!(l(te)==="object"&&te!==null||l(Z)==="object"&&Z!==null||te===0&&Z===0))return"".concat(k[X],` @@ -2449,7 +2449,7 @@ void main() { should equal -`):H=" ".concat(B," ").concat(H)),z=M(this,s(b).call(this,"".concat(W).concat(H)))}return Error.stackTraceLimit=Y,z.generatedMessage=!F,Object.defineProperty(v(z),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),z.code="ERR_ASSERTION",z.actual=q,z.expected=j,z.operator=B,Error.captureStackTrace&&Error.captureStackTrace(v(z),N),z.stack,z.name="AssertionError",M(z)}var O,I;return function(R,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(z&&z.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),z&&c(R,z)}(b,L),O=b,I=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:h.custom,value:function(R,z){return h(this,function(F){for(var B=1;B2?"one of ".concat(s," ").concat(c.slice(0,l-1).join(", "),", or ")+c[l-1]:l===2?"one of ".concat(s," ").concat(c[0]," or ").concat(c[1]):"of ".concat(s," ").concat(c[0])}return"of ".concat(s," ").concat(String(c))}u("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),u("ERR_INVALID_ARG_TYPE",function(c,s,l){var h,f,m,_,y;if(M===void 0&&(M=t(32791)),M(typeof c=="string","'name' must be a string"),typeof s=="string"&&(f="not ",s.substr(0,f.length)===f)?(h="must not be",s=s.replace(/^not /,"")):h="must be",function(w,k,E){return(E===void 0||E>w.length)&&(E=w.length),w.substring(E-k.length,E)===k}(c," argument"))m="The ".concat(c," ").concat(h," ").concat(a(s,"type"));else{var C=(typeof y!="number"&&(y=0),y+1>(_=c).length||_.indexOf(".",y)===-1?"argument":"property");m='The "'.concat(c,'" ').concat(C," ").concat(h," ").concat(a(s,"type"))}return m+". Received type ".concat(d(l))},TypeError),u("ERR_INVALID_ARG_VALUE",function(c,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";v===void 0&&(v=t(43827));var h=v.inspect(s);return h.length>128&&(h="".concat(h.slice(0,128),"...")),"The argument '".concat(c,"' ").concat(l,". Received ").concat(h)},TypeError),u("ERR_INVALID_RETURN_VALUE",function(c,s,l){var h;return h=l&&l.constructor&&l.constructor.name?"instance of ".concat(l.constructor.name):"type ".concat(d(l)),"Expected ".concat(c,' to be returned from the "').concat(s,'"')+" function but got ".concat(h,".")},TypeError),u("ERR_MISSING_ARGS",function(){for(var c=arguments.length,s=new Array(c),l=0;l0,"At least one arg needs to be specified");var h="The ",f=s.length;switch(s=s.map(function(m){return'"'.concat(m,'"')}),f){case 1:h+="".concat(s[0]," argument");break;case 2:h+="".concat(s[0]," and ").concat(s[1]," arguments");break;default:h+=s.slice(0,f-1).join(", "),h+=", and ".concat(s[f-1]," arguments")}return"".concat(h," must be specified")},TypeError),x.exports.codes=p},74061:function(x,o,t){function d(Z,X){return function(Q){if(Array.isArray(Q))return Q}(Z)||function(Q,re){var ie=[],oe=!0,ue=!1,ce=void 0;try{for(var ye,de=Q[Symbol.iterator]();!(oe=(ye=de.next()).done)&&(ie.push(ye.value),!re||ie.length!==re);oe=!0);}catch(me){ue=!0,ce=me}finally{try{oe||de.return==null||de.return()}finally{if(ue)throw ce}}return ie}(Z,X)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function g(Z){return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},g(Z)}var i=/a/g.flags!==void 0,M=function(Z){var X=[];return Z.forEach(function(Q){return X.push(Q)}),X},v=function(Z){var X=[];return Z.forEach(function(Q,re){return X.push([re,Q])}),X},p=Object.is?Object.is:t(64003),u=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},a=Number.isNaN?Number.isNaN:t(15567);function c(Z){return Z.call.bind(Z)}var s=c(Object.prototype.hasOwnProperty),l=c(Object.prototype.propertyIsEnumerable),h=c(Object.prototype.toString),f=t(43827).types,m=f.isAnyArrayBuffer,_=f.isArrayBufferView,y=f.isDate,C=f.isMap,w=f.isRegExp,k=f.isSet,E=f.isNativeError,T=f.isBoxedPrimitive,A=f.isNumberObject,L=f.isStringObject,b=f.isBooleanObject,O=f.isBigIntObject,I=f.isSymbolObject,R=f.isFloat32Array,z=f.isFloat64Array;function F(Z){if(Z.length===0||Z.length>10)return!0;for(var X=0;X57)return!0}return Z.length===10&&Z>=Math.pow(2,32)}function B(Z){return Object.keys(Z).filter(F).concat(u(Z).filter(Object.prototype.propertyIsEnumerable.bind(Z)))}function N(Z,X){if(Z===X)return 0;for(var Q=Z.length,re=X.length,ie=0,oe=Math.min(Q,re);ie0?h-4:h;for(s=0;s>16&255,m[_++]=c>>8&255,m[_++]=255&c;return f===2&&(c=d[a.charCodeAt(s)]<<2|d[a.charCodeAt(s+1)]>>4,m[_++]=255&c),f===1&&(c=d[a.charCodeAt(s)]<<10|d[a.charCodeAt(s+1)]<<4|d[a.charCodeAt(s+2)]>>2,m[_++]=c>>8&255,m[_++]=255&c),m},o.fromByteArray=function(a){for(var c,s=a.length,l=s%3,h=[],f=16383,m=0,_=s-l;m<_;m+=f)h.push(u(a,m,m+f>_?_:m+f));return l===1?(c=a[s-1],h.push(t[c>>2]+t[c<<4&63]+"==")):l===2&&(c=(a[s-2]<<8)+a[s-1],h.push(t[c>>10]+t[c>>4&63]+t[c<<2&63]+"=")),h.join("")};for(var t=[],d=[],g=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M=0,v=i.length;M0)throw new Error("Invalid string. Length must be a multiple of 4");var s=a.indexOf("=");return s===-1&&(s=c),[s,s===c?0:4-s%4]}function u(a,c,s){for(var l,h,f=[],m=c;m>18&63]+t[h>>12&63]+t[h>>6&63]+t[63&h]);return f.join("")}d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63},91358:function(x){function o(v,p,u,a,c){for(var s=c+1;a<=c;){var l=a+c>>>1,h=v[l];(u!==void 0?u(h,p):h-p)>=0?(s=l,c=l-1):a=l+1}return s}function t(v,p,u,a,c){for(var s=c+1;a<=c;){var l=a+c>>>1,h=v[l];(u!==void 0?u(h,p):h-p)>0?(s=l,c=l-1):a=l+1}return s}function d(v,p,u,a,c){for(var s=a-1;a<=c;){var l=a+c>>>1,h=v[l];(u!==void 0?u(h,p):h-p)<0?(s=l,a=l+1):c=l-1}return s}function g(v,p,u,a,c){for(var s=a-1;a<=c;){var l=a+c>>>1,h=v[l];(u!==void 0?u(h,p):h-p)<=0?(s=l,a=l+1):c=l-1}return s}function i(v,p,u,a,c){for(;a<=c;){var s=a+c>>>1,l=v[s],h=u!==void 0?u(l,p):l-p;if(h===0)return s;h<=0?a=s+1:c=s-1}return-1}function M(v,p,u,a,c,s){return typeof u=="function"?s(v,p,u,a===void 0?0:0|a,c===void 0?v.length-1:0|c):s(v,p,void 0,u===void 0?0:0|u,a===void 0?v.length-1:0|a)}x.exports={ge:function(v,p,u,a,c){return M(v,p,u,a,c,o)},gt:function(v,p,u,a,c){return M(v,p,u,a,c,t)},lt:function(v,p,u,a,c){return M(v,p,u,a,c,d)},le:function(v,p,u,a,c){return M(v,p,u,a,c,g)},eq:function(v,p,u,a,c){return M(v,p,u,a,c,i)}}},13547:function(x,o){function t(g){var i=32;return(g&=-g)&&i--,65535&g&&(i-=16),16711935&g&&(i-=8),252645135&g&&(i-=4),858993459&g&&(i-=2),1431655765&g&&(i-=1),i}o.INT_BITS=32,o.INT_MAX=2147483647,o.INT_MIN=-2147483648,o.sign=function(g){return(g>0)-(g<0)},o.abs=function(g){var i=g>>31;return(g^i)-i},o.min=function(g,i){return i^(g^i)&-(g65535)<<4,i|=M=((g>>>=i)>255)<<3,i|=M=((g>>>=M)>15)<<2,(i|=M=((g>>>=M)>3)<<1)|(g>>>=M)>>1},o.log10=function(g){return g>=1e9?9:g>=1e8?8:g>=1e7?7:g>=1e6?6:g>=1e5?5:g>=1e4?4:g>=1e3?3:g>=100?2:g>=10?1:0},o.popCount=function(g){return 16843009*((g=(858993459&(g-=g>>>1&1431655765))+(g>>>2&858993459))+(g>>>4)&252645135)>>>24},o.countTrailingZeros=t,o.nextPow2=function(g){return g+=g===0,--g,g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,1+(g|=g>>>16)},o.prevPow2=function(g){return g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,(g|=g>>>16)-(g>>>1)},o.parity=function(g){return g^=g>>>16,g^=g>>>8,g^=g>>>4,27030>>>(g&=15)&1};var d=new Array(256);(function(g){for(var i=0;i<256;++i){var M=i,v=i,p=7;for(M>>>=1;M;M>>>=1)v<<=1,v|=1&M,--p;g[i]=v<>>8&255]<<16|d[g>>>16&255]<<8|d[g>>>24&255]},o.interleave2=function(g,i){return(g=1431655765&((g=858993459&((g=252645135&((g=16711935&((g&=65535)|g<<8))|g<<4))|g<<2))|g<<1))|(i=1431655765&((i=858993459&((i=252645135&((i=16711935&((i&=65535)|i<<8))|i<<4))|i<<2))|i<<1))<<1},o.deinterleave2=function(g,i){return(g=65535&((g=16711935&((g=252645135&((g=858993459&((g=g>>>i&1431655765)|g>>>1))|g>>>2))|g>>>4))|g>>>16))<<16>>16},o.interleave3=function(g,i,M){return g=1227133513&((g=3272356035&((g=251719695&((g=4278190335&((g&=1023)|g<<16))|g<<8))|g<<4))|g<<2),(g|=(i=1227133513&((i=3272356035&((i=251719695&((i=4278190335&((i&=1023)|i<<16))|i<<8))|i<<4))|i<<2))<<1)|(M=1227133513&((M=3272356035&((M=251719695&((M=4278190335&((M&=1023)|M<<16))|M<<8))|M<<4))|M<<2))<<2},o.deinterleave3=function(g,i){return(g=1023&((g=4278190335&((g=251719695&((g=3272356035&((g=g>>>i&1227133513)|g>>>2))|g>>>4))|g>>>8))|g>>>16))<<22>>22},o.nextCombination=function(g){var i=g|g-1;return i+1|(~i&-~i)-1>>>t(g)+1}},44781:function(x,o,t){var d=t(53435);x.exports=function(v,p){p||(p={});var u,a,c,s,l,h,f,m,_,y,C,w=p.cutoff==null?.25:p.cutoff,k=p.radius==null?8:p.radius,E=p.channel||0;if(ArrayBuffer.isView(v)||Array.isArray(v)){if(!p.width||!p.height)throw Error("For raw data width and height should be provided by options");u=p.width,a=p.height,s=v,h=p.stride?p.stride:Math.floor(v.length/u/a)}else window.HTMLCanvasElement&&v instanceof window.HTMLCanvasElement?(f=(m=v).getContext("2d"),u=m.width,a=m.height,s=(_=f.getImageData(0,0,u,a)).data,h=4):window.CanvasRenderingContext2D&&v instanceof window.CanvasRenderingContext2D?(f=v,u=(m=v.canvas).width,a=m.height,s=(_=f.getImageData(0,0,u,a)).data,h=4):window.ImageData&&v instanceof window.ImageData&&(_=v,u=v.width,a=v.height,s=_.data,h=4);if(c=Math.max(u,a),window.Uint8ClampedArray&&s instanceof window.Uint8ClampedArray||window.Uint8Array&&s instanceof window.Uint8Array)for(l=s,s=Array(u*a),y=0,C=l.length;y-1?g(p):p}},68222:function(x,o,t){var d=t(77575),g=t(68318),i=g("%Function.prototype.apply%"),M=g("%Function.prototype.call%"),v=g("%Reflect.apply%",!0)||d.call(M,i),p=g("%Object.getOwnPropertyDescriptor%",!0),u=g("%Object.defineProperty%",!0),a=g("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}x.exports=function(s){var l=v(d,M,arguments);if(p&&u){var h=p(l,"length");h.configurable&&u(l,"length",{value:1+a(0,s.length-(arguments.length-1))})}return l};var c=function(){return v(d,i,arguments)};u?u(x.exports,"apply",{value:c}):x.exports.apply=c},53435:function(x){x.exports=function(o,t,d){return td?d:o:ot?t:o}},6475:function(x,o,t){var d=t(53435);function g(i,M){M==null&&(M=!0);var v=i[0],p=i[1],u=i[2],a=i[3];return a==null&&(a=M?1:255),M&&(v*=255,p*=255,u*=255,a*=255),16777216*(v=255&d(v,0,255))+((p=255&d(p,0,255))<<16)+((u=255&d(u,0,255))<<8)+(255&d(a,0,255))}x.exports=g,x.exports.to=g,x.exports.from=function(i,M){var v=(i=+i)>>>24,p=(16711680&i)>>>16,u=(65280&i)>>>8,a=255&i;return M===!1?[v,p,u,a]:[v/255,p/255,u/255,a/255]}},76857:function(x){x.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]}},25075:function(x,o,t){var d=t(36652),g=t(53435),i=t(90660);x.exports=function(M,v){v!=="float"&&v||(v="array"),v==="uint"&&(v="uint8"),v==="uint_clamped"&&(v="uint8_clamped");var p=new(i(v))(4),u=v!=="uint8"&&v!=="uint8_clamped";return M.length&&typeof M!="string"||((M=d(M))[0]/=255,M[1]/=255,M[2]/=255),function(a){return a instanceof Uint8Array||a instanceof Uint8ClampedArray||!!(Array.isArray(a)&&(a[0]>1||a[0]===0)&&(a[1]>1||a[1]===0)&&(a[2]>1||a[2]===0)&&(!a[3]||a[3]>1))}(M)?(p[0]=M[0],p[1]=M[1],p[2]=M[2],p[3]=M[3]!=null?M[3]:255,u&&(p[0]/=255,p[1]/=255,p[2]/=255,p[3]/=255),p):(u?(p[0]=M[0],p[1]=M[1],p[2]=M[2],p[3]=M[3]!=null?M[3]:1):(p[0]=g(Math.floor(255*M[0]),0,255),p[1]=g(Math.floor(255*M[1]),0,255),p[2]=g(Math.floor(255*M[2]),0,255),p[3]=M[3]==null?255:g(Math.floor(255*M[3]),0,255)),p)}},90736:function(x,o,t){var d=t(76857),g=t(10973),i=t(46775);x.exports=function(v){var p,u,a=[],c=1;if(typeof v=="string")if(d[v])a=d[v].slice(),u="rgb";else if(v==="transparent")c=0,u="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(v)){var s=(f=v.slice(1)).length;c=1,s<=4?(a=[parseInt(f[0]+f[0],16),parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16)],s===4&&(c=parseInt(f[3]+f[3],16)/255)):(a=[parseInt(f[0]+f[1],16),parseInt(f[2]+f[3],16),parseInt(f[4]+f[5],16)],s===8&&(c=parseInt(f[6]+f[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),u="rgb"}else if(p=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(v)){var l=p[1],h=l==="rgb",f=l.replace(/a$/,"");u=f,s=f==="cmyk"?4:f==="gray"?1:3,a=p[2].trim().split(/\s*,\s*/).map(function(_,y){if(/%$/.test(_))return y===s?parseFloat(_)/100:f==="rgb"?255*parseFloat(_)/100:parseFloat(_);if(f[y]==="h"){if(/deg$/.test(_))return parseFloat(_);if(M[_]!==void 0)return M[_]}return parseFloat(_)}),l===f&&a.push(1),c=h||a[s]===void 0?1:a[s],a=a.slice(0,s)}else v.length>10&&/[0-9](?:\s|\/)/.test(v)&&(a=v.match(/([0-9]+)/g).map(function(_){return parseFloat(_)}),u=v.match(/([a-z])/gi).join("").toLowerCase());else if(isNaN(v))if(g(v)){var m=i(v.r,v.red,v.R,null);m!==null?(u="rgb",a=[m,i(v.g,v.green,v.G),i(v.b,v.blue,v.B)]):(u="hsl",a=[i(v.h,v.hue,v.H),i(v.s,v.saturation,v.S),i(v.l,v.lightness,v.L,v.b,v.brightness)]),c=i(v.a,v.alpha,v.opacity,1),v.opacity!=null&&(c/=100)}else(Array.isArray(v)||t.g.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(v))&&(a=[v[0],v[1],v[2]],u="rgb",c=v.length===4?v[3]:1);else u="rgb",a=[v>>>16,(65280&v)>>>8,255&v];return{space:u,values:a,alpha:c}};var M={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}},36652:function(x,o,t){var d=t(90736),g=t(80009),i=t(53435);x.exports=function(M){var v,p=d(M);return p.space?((v=Array(3))[0]=i(p.values[0],0,255),v[1]=i(p.values[1],0,255),v[2]=i(p.values[2],0,255),p.space[0]==="h"&&(v=g.rgb(v)),v.push(i(p.alpha,0,1)),v):[]}},80009:function(x,o,t){var d=t(6866);x.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(g){var i,M,v,p,u,a=g[0]/360,c=g[1]/100,s=g[2]/100;if(c===0)return[u=255*s,u,u];i=2*s-(M=s<.5?s*(1+c):s+c-s*c),p=[0,0,0];for(var l=0;l<3;l++)(v=a+.3333333333333333*-(l-1))<0?v++:v>1&&v--,u=6*v<1?i+6*(M-i)*v:2*v<1?M:3*v<2?i+(M-i)*(.6666666666666666-v)*6:i,p[l]=255*u;return p}},d.hsl=function(g){var i,M,v=g[0]/255,p=g[1]/255,u=g[2]/255,a=Math.min(v,p,u),c=Math.max(v,p,u),s=c-a;return c===a?i=0:v===c?i=(p-u)/s:p===c?i=2+(u-v)/s:u===c&&(i=4+(v-p)/s),(i=Math.min(60*i,360))<0&&(i+=360),M=(a+c)/2,[i,100*(c===a?0:M<=.5?s/(c+a):s/(2-c-a)),100*M]}},6866:function(x){x.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},24138:function(x){x.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"}},72791:function(x,o,t){x.exports={parse:t(41004),stringify:t(53313)}},63625:function(x,o,t){var d=t(40402);x.exports={isSize:function(g){return/^[\d\.]/.test(g)||g.indexOf("/")!==-1||d.indexOf(g)!==-1}}},41004:function(x,o,t){var d=t(90448),g=t(38732),i=t(41901),M=t(15659),v=t(96209),p=t(83794),u=t(99011),a=t(63625).isSize;x.exports=s;var c=s.cache={};function s(h){if(typeof h!="string")throw new Error("Font argument must be a string.");if(c[h])return c[h];if(h==="")throw new Error("Cannot parse an empty string.");if(i.indexOf(h)!==-1)return c[h]={system:h};for(var f,m={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},_=u(h,/\s+/);f=_.shift();){if(g.indexOf(f)!==-1)return["style","variant","weight","stretch"].forEach(function(C){m[C]=f}),c[h]=m;if(v.indexOf(f)===-1)if(f!=="normal"&&f!=="small-caps")if(p.indexOf(f)===-1){if(M.indexOf(f)===-1){if(a(f)){var y=u(f,"/");if(m.size=y[0],y[1]!=null?m.lineHeight=l(y[1]):_[0]==="/"&&(_.shift(),m.lineHeight=l(_.shift())),!_.length)throw new Error("Missing required font-family.");return m.family=u(_.join(" "),/\s*,\s*/).map(d),c[h]=m}throw new Error("Unknown or unsupported font token: "+f)}m.weight=f}else m.stretch=f;else m.variant=f;else m.style=f}throw new Error("Missing required font-size.")}function l(h){var f=parseFloat(h);return f.toString()===h?f:h}},53313:function(x,o,t){var d=t(71299),g=t(63625).isSize,i=h(t(38732)),M=h(t(41901)),v=h(t(15659)),p=h(t(96209)),u=h(t(83794)),a={normal:1,"small-caps":1},c={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},s="serif";function l(f,m){if(f&&!m[f]&&!i[f])throw Error("Unknown keyword `"+f+"`");return f}function h(f){for(var m={},_=0;_h?1:l>=h?0:NaN}t.d(o,{j2:function(){return d},Fp:function(){return M},J6:function(){return p},TS:function(){return u},VV:function(){return a},w6:function(){return c},Sm:function(){return s}}),(g=d).length===1&&(i=g,g=function(l,h){return d(i(l),h)});var g,i;function M(l,h){var f,m,_=l.length,y=-1;if(h==null){for(;++y<_;)if((f=l[y])!=null&&f>=f)for(m=f;++y<_;)(f=l[y])!=null&&f>m&&(m=f)}else for(;++y<_;)if((f=h(l[y],y,l))!=null&&f>=f)for(m=f;++y<_;)(f=h(l[y],y,l))!=null&&f>m&&(m=f);return m}function v(l){return l===null?NaN:+l}function p(l,h){var f,m=l.length,_=m,y=-1,C=0;if(h==null)for(;++y=0;)for(h=(m=l[_]).length;--h>=0;)f[--C]=m[h];return f}function a(l,h){var f,m,_=l.length,y=-1;if(h==null){for(;++y<_;)if((f=l[y])!=null&&f>=f)for(m=f;++y<_;)(f=l[y])!=null&&m>f&&(m=f)}else for(;++y<_;)if((f=h(l[y],y,l))!=null&&f>=f)for(m=f;++y<_;)(f=h(l[y],y,l))!=null&&m>f&&(m=f);return m}function c(l,h,f){l=+l,h=+h,f=(_=arguments.length)<2?(h=l,l=0,1):_<3?1:+f;for(var m=-1,_=0|Math.max(0,Math.ceil((h-l)/f)),y=new Array(_);++m<_;)y[m]=l+m*f;return y}function s(l,h){var f,m=l.length,_=-1,y=0;if(h==null)for(;++_=_.length)return h!=null&&k.sort(h),f!=null?f(k):k;for(var L,b,O,I=-1,R=k.length,z=_[E++],F=M(),B=T();++I_.length)return k;var T,A=y[E-1];return f!=null&&E>=_.length?T=k.entries():(T=[],k.each(function(L,b){T.push({key:b,values:w(L,E)})})),A!=null?T.sort(function(L,b){return A(L.key,b.key)}):T}return m={object:function(k){return C(k,0,p,u)},map:function(k){return C(k,0,a,c)},entries:function(k){return w(C(k,0,a,c),0)},key:function(k){return _.push(k),m},sortKeys:function(k){return y[_.length-1]=k,m},sortValues:function(k){return h=k,m},rollup:function(k){return f=k,m}}}function p(){return{}}function u(h,f,m){h[f]=m}function a(){return M()}function c(h,f,m){h.set(f,m)}function s(){}var l=M.prototype;s.prototype={constructor:s,has:l.has,add:function(h){return this[d+(h+="")]=h,this},remove:l.remove,clear:l.clear,values:l.keys,size:l.size,empty:l.empty,each:l.each}},49887:function(x,o,t){function d(me,pe){var xe;function Pe(){var _e,Me,Se=xe.length,Ce=0,ae=0;for(_e=0;_e=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se,_e=Be,!(Be=Be[ke=be<<1|he]))return _e[ke]=ze,me;if(Ce=+me._x.call(null,Be.data),ae=+me._y.call(null,Be.data),pe===Ce&&xe===ae)return ze.next=Be,_e?_e[ke]=ze:me._root=ze,me;do _e=_e?_e[ke]=new Array(4):me._root=new Array(4),(he=pe>=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se;while((ke=be<<1|he)==(Le=(ae>=Se)<<1|Ce>=Me));return _e[Le]=Be,_e[ke]=ze,me}function v(me,pe,xe,Pe,_e){this.node=me,this.x0=pe,this.y0=xe,this.x1=Pe,this.y1=_e}function p(me){return me[0]}function u(me){return me[1]}function a(me,pe,xe){var Pe=new c(pe??p,xe??u,NaN,NaN,NaN,NaN);return me==null?Pe:Pe.addAll(me)}function c(me,pe,xe,Pe,_e,Me){this._x=me,this._y=pe,this._x0=xe,this._y0=Pe,this._x1=_e,this._y1=Me,this._root=void 0}function s(me){for(var pe={data:me.data},xe=pe;me=me.next;)xe=xe.next={data:me.data};return pe}t.r(o),t.d(o,{forceCenter:function(){return d},forceCollide:function(){return m},forceLink:function(){return w},forceManyBody:function(){return ue},forceRadial:function(){return ce},forceSimulation:function(){return oe},forceX:function(){return ye},forceY:function(){return de}});var l=a.prototype=c.prototype;function h(me){return me.x+me.vx}function f(me){return me.y+me.vy}function m(me){var pe,xe,Pe=1,_e=1;function Me(){for(var ae,he,be,ke,Le,Be,ze,je=pe.length,ge=0;ge<_e;++ge)for(he=a(pe,h,f).visitAfter(Se),ae=0;aeke+bt||$eLe+bt||stbe.index){var Et=ke-ot.x-ot.vx,kt=Le-ot.y-ot.vy,xt=Et*Et+kt*kt;xtae.r&&(ae.r=ae[he].r)}function Ce(){if(pe){var ae,he,be=pe.length;for(xe=new Array(be),ae=0;aebe&&(be=Pe),_eke&&(ke=_e));if(ae>be||he>ke)return this;for(this.cover(ae,he).cover(be,ke),xe=0;xeme||me>=_e||Pe>pe||pe>=Me;)switch(Ce=(peLe||(Me=ae.y0)>Be||(Se=ae.x1)=we)<<1|me>=ge)&&(ae=ze[ze.length-1],ze[ze.length-1]=ze[ze.length-1-he],ze[ze.length-1-he]=ae)}else{var Ee=me-+this._x.call(null,je.data),Ve=pe-+this._y.call(null,je.data),Ye=Ee*Ee+Ve*Ve;if(Ye=(Ce=(ze+ge)/2))?ze=Ce:ge=Ce,(be=Se>=(ae=(je+we)/2))?je=ae:we=ae,pe=Be,!(Be=Be[ke=be<<1|he]))return this;if(!Be.length)break;(pe[ke+1&3]||pe[ke+2&3]||pe[ke+3&3])&&(xe=pe,Le=ke)}for(;Be.data!==me;)if(Pe=Be,!(Be=Be.next))return this;return(_e=Be.next)&&delete Be.next,Pe?(_e?Pe.next=_e:delete Pe.next,this):pe?(_e?pe[ke]=_e:delete pe[ke],(Be=pe[0]||pe[1]||pe[2]||pe[3])&&Be===(pe[3]||pe[2]||pe[1]||pe[0])&&!Be.length&&(xe?xe[Le]=Be:this._root=Be),this):(this._root=_e,this)},l.removeAll=function(me){for(var pe=0,xe=me.length;pe=0&&(Pe=xe.slice(_e+1),xe=xe.slice(0,_e)),xe&&!pe.hasOwnProperty(xe))throw new Error("unknown type: "+xe);return{type:xe,name:Pe}})}function L(me,pe){for(var xe,Pe=0,_e=me.length;Pe<_e;++Pe)if((xe=me[Pe]).name===pe)return xe.value}function b(me,pe,xe){for(var Pe=0,_e=me.length;Pe<_e;++Pe)if(me[Pe].name===pe){me[Pe]=k,me=me.slice(0,Pe).concat(me.slice(Pe+1));break}return xe!=null&&me.push({name:pe,value:xe}),me}T.prototype=E.prototype={constructor:T,on:function(me,pe){var xe,Pe=this._,_e=A(me+"",Pe),Me=-1,Se=_e.length;if(!(arguments.length<2)){if(pe!=null&&typeof pe!="function")throw new Error("invalid callback: "+pe);for(;++Me0)for(var xe,Pe,_e=new Array(xe),Me=0;Me=0&&pe._call.call(null,me),pe=pe._next;--z})()}finally{z=0,function(){for(var me,pe,xe=O,Pe=1/0;xe;)xe._call?(Pe>xe._time&&(Pe=xe._time),me=xe,xe=xe._next):(pe=xe._next,xe._next=null,xe=me?me._next=pe:O=pe);I=me,X(Pe)}(),q=0}}function Z(){var me=Y.now(),pe=me-N;pe>1e3&&(j-=pe,N=me)}function X(me){z||(F&&(F=clearTimeout(F)),me-q>24?(me<1/0&&(F=setTimeout(te,me-Y.now()-j)),B&&(B=clearInterval(B))):(B||(N=Y.now(),B=setInterval(Z,1e3)),z=1,U(te)))}function Q(me){return me.x}function re(me){return me.y}H.prototype=ne.prototype={constructor:H,restart:function(me,pe,xe){if(typeof me!="function")throw new TypeError("callback is not a function");xe=(xe==null?G():+xe)+(pe==null?0:+pe),this._next||I===this||(I?I._next=this:O=this,I=this),this._call=me,this._time=xe,X()},stop:function(){this._call&&(this._call=null,this._time=1/0,X())}};var ie=Math.PI*(3-Math.sqrt(5));function oe(me){var pe,xe=1,Pe=.001,_e=1-Math.pow(Pe,1/300),Me=0,Se=.6,Ce=(0,_.UI)(),ae=ne(be),he=R("tick","end");function be(){ke(),he.call("tick",pe),xe1?(je==null?Ce.remove(ze):Ce.set(ze,Be(je)),pe):Ce.get(ze)},find:function(ze,je,ge){var we,Ee,Ve,Ye,$e,st=0,ot=me.length;for(ge==null?ge=1/0:ge*=ge,st=0;st1?(he.on(ze,je),pe):he.on(ze)}}}function ue(){var me,pe,xe,Pe,_e=g(-30),Me=1,Se=1/0,Ce=.81;function ae(Le){var Be,ze=me.length,je=a(me,Q,re).visitAfter(be);for(xe=Le,Be=0;Be=Se)){(Le.data!==pe||Le.next)&&(ge===0&&(Ve+=(ge=i())*ge),we===0&&(Ve+=(we=i())*we),Ve1?C[0]+C.slice(2):C,+m.slice(y+1)]}t.d(o,{WU:function(){return s},FF:function(){return f}});var g,i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function M(m){if(!(_=i.exec(m)))throw new Error("invalid format: "+m);var _;return new v({fill:_[1],align:_[2],sign:_[3],symbol:_[4],zero:_[5],width:_[6],comma:_[7],precision:_[8]&&_[8].slice(1),trim:_[9],type:_[10]})}function v(m){this.fill=m.fill===void 0?" ":m.fill+"",this.align=m.align===void 0?">":m.align+"",this.sign=m.sign===void 0?"-":m.sign+"",this.symbol=m.symbol===void 0?"":m.symbol+"",this.zero=!!m.zero,this.width=m.width===void 0?void 0:+m.width,this.comma=!!m.comma,this.precision=m.precision===void 0?void 0:+m.precision,this.trim=!!m.trim,this.type=m.type===void 0?"":m.type+""}function p(m,_){var y=d(m,_);if(!y)return m+"";var C=y[0],w=y[1];return w<0?"0."+new Array(-w).join("0")+C:C.length>w+1?C.slice(0,w+1)+"."+C.slice(w+1):C+new Array(w-C.length+2).join("0")}M.prototype=v.prototype,v.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var u={"%":function(m,_){return(100*m).toFixed(_)},b:function(m){return Math.round(m).toString(2)},c:function(m){return m+""},d:function(m){return Math.abs(m=Math.round(m))>=1e21?m.toLocaleString("en").replace(/,/g,""):m.toString(10)},e:function(m,_){return m.toExponential(_)},f:function(m,_){return m.toFixed(_)},g:function(m,_){return m.toPrecision(_)},o:function(m){return Math.round(m).toString(8)},p:function(m,_){return p(100*m,_)},r:p,s:function(m,_){var y=d(m,_);if(!y)return m+"";var C=y[0],w=y[1],k=w-(g=3*Math.max(-8,Math.min(8,Math.floor(w/3))))+1,E=C.length;return k===E?C:k>E?C+new Array(k-E+1).join("0"):k>0?C.slice(0,k)+"."+C.slice(k):"0."+new Array(1-k).join("0")+d(m,Math.max(0,_+k-1))[0]},X:function(m){return Math.round(m).toString(16).toUpperCase()},x:function(m){return Math.round(m).toString(16)}};function a(m){return m}var c,s,l=Array.prototype.map,h=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function f(m){var _,y,C=m.grouping===void 0||m.thousands===void 0?a:(_=l.call(m.grouping,Number),y=m.thousands+"",function(I,R){for(var z=I.length,F=[],B=0,N=_[0],q=0;z>0&&N>0&&(q+N+1>R&&(N=Math.max(1,R-q)),F.push(I.substring(z-=N,z+N)),!((q+=N+1)>R));)N=_[B=(B+1)%_.length];return F.reverse().join(y)}),w=m.currency===void 0?"":m.currency[0]+"",k=m.currency===void 0?"":m.currency[1]+"",E=m.decimal===void 0?".":m.decimal+"",T=m.numerals===void 0?a:function(I){return function(R){return R.replace(/[0-9]/g,function(z){return I[+z]})}}(l.call(m.numerals,String)),A=m.percent===void 0?"%":m.percent+"",L=m.minus===void 0?"-":m.minus+"",b=m.nan===void 0?"NaN":m.nan+"";function O(I){var R=(I=M(I)).fill,z=I.align,F=I.sign,B=I.symbol,N=I.zero,q=I.width,j=I.comma,Y=I.precision,U=I.trim,G=I.type;G==="n"?(j=!0,G="g"):u[G]||(Y===void 0&&(Y=12),U=!0,G="g"),(N||R==="0"&&z==="=")&&(N=!0,R="0",z="=");var W=B==="$"?w:B==="#"&&/[boxX]/.test(G)?"0"+G.toLowerCase():"",H=B==="$"?k:/[%p]/.test(G)?A:"",ne=u[G],te=/[defgprs%]/.test(G);function Z(X){var Q,re,ie,oe=W,ue=H;if(G==="c")ue=ne(X)+ue,X="";else{var ce=(X=+X)<0||1/X<0;if(X=isNaN(X)?b:ne(Math.abs(X),Y),U&&(X=function(me){e:for(var pe,xe=me.length,Pe=1,_e=-1;Pe0&&(_e=0)}return _e>0?me.slice(0,_e)+me.slice(pe+1):me}(X)),ce&&+X==0&&F!=="+"&&(ce=!1),oe=(ce?F==="("?F:L:F==="-"||F==="("?"":F)+oe,ue=(G==="s"?h[8+g/3]:"")+ue+(ce&&F==="("?")":""),te){for(Q=-1,re=X.length;++Q(ie=X.charCodeAt(Q))||ie>57){ue=(ie===46?E+X.slice(Q+1):X.slice(Q))+ue,X=X.slice(0,Q);break}}}j&&!N&&(X=C(X,1/0));var ye=oe.length+X.length+ue.length,de=ye>1)+oe+X+ue+de.slice(ye);break;default:X=de+oe+X+ue}return T(X)}return Y=Y===void 0?6:/[gprs]/.test(G)?Math.max(1,Math.min(21,Y)):Math.max(0,Math.min(20,Y)),Z.toString=function(){return I+""},Z}return{format:O,formatPrefix:function(I,R){var z,F=O(((I=M(I)).type="f",I)),B=3*Math.max(-8,Math.min(8,Math.floor((z=R,((z=d(Math.abs(z)))?z[1]:NaN)/3)))),N=Math.pow(10,-B),q=h[8+B/3];return function(j){return F(N*j)+q}}}}c=f({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),s=c.format,c.formatPrefix},65704:function(x,o,t){t.r(o),t.d(o,{geoAiry:function(){return j},geoAiryRaw:function(){return q},geoAitoff:function(){return U},geoAitoffRaw:function(){return Y},geoArmadillo:function(){return W},geoArmadilloRaw:function(){return G},geoAugust:function(){return ne},geoAugustRaw:function(){return H},geoBaker:function(){return Q},geoBakerRaw:function(){return X},geoBerghaus:function(){return oe},geoBerghausRaw:function(){return ie},geoBertin1953:function(){return Pe},geoBertin1953Raw:function(){return xe},geoBoggs:function(){return ke},geoBoggsRaw:function(){return be},geoBonne:function(){return ge},geoBonneRaw:function(){return je},geoBottomley:function(){return Ee},geoBottomleyRaw:function(){return we},geoBromley:function(){return Ye},geoBromleyRaw:function(){return Ve},geoChamberlin:function(){return Ft},geoChamberlinAfrica:function(){return xt},geoChamberlinRaw:function(){return Et},geoCollignon:function(){return Bt},geoCollignonRaw:function(){return Dt},geoCraig:function(){return Vt},geoCraigRaw:function(){return Wt},geoCraster:function(){return We},geoCrasterRaw:function(){return Je},geoCylindricalEqualArea:function(){return ht},geoCylindricalEqualAreaRaw:function(){return nt},geoCylindricalStereographic:function(){return Ne},geoCylindricalStereographicRaw:function(){return Oe},geoEckert1:function(){return ut},geoEckert1Raw:function(){return Qe},geoEckert2:function(){return _t},geoEckert2Raw:function(){return pt},geoEckert3:function(){return Lt},geoEckert3Raw:function(){return It},geoEckert4:function(){return Pt},geoEckert4Raw:function(){return yt},geoEckert5:function(){return Ot},geoEckert5Raw:function(){return wt},geoEckert6:function(){return $t},geoEckert6Raw:function(){return Nt},geoEisenlohr:function(){return Qt},geoEisenlohrRaw:function(){return Xt},geoFahey:function(){return un},geoFaheyRaw:function(){return xn},geoFoucaut:function(){return Yn},geoFoucautRaw:function(){return An},geoFoucautSinusoidal:function(){return sn},geoFoucautSinusoidalRaw:function(){return kn},geoGilbert:function(){return In},geoGingery:function(){return ur},geoGingeryRaw:function(){return jn},geoGinzburg4:function(){return br},geoGinzburg4Raw:function(){return Lr},geoGinzburg5:function(){return yr},geoGinzburg5Raw:function(){return or},geoGinzburg6:function(){return Kt},geoGinzburg6Raw:function(){return wr},geoGinzburg8:function(){return On},geoGinzburg8Raw:function(){return bn},geoGinzburg9:function(){return Un},geoGinzburg9Raw:function(){return Ln},geoGringorten:function(){return tr},geoGringortenQuincuncial:function(){return Wc},geoGringortenRaw:function(){return Zn},geoGuyou:function(){return jt},geoGuyouRaw:function(){return Pn},geoHammer:function(){return de},geoHammerRaw:function(){return ce},geoHammerRetroazimuthal:function(){return Dn},geoHammerRetroazimuthalRaw:function(){return fn},geoHealpix:function(){return nr},geoHealpixRaw:function(){return yn},geoHill:function(){return hr},geoHillRaw:function(){return Qn},geoHomolosine:function(){return Pr},geoHomolosineRaw:function(){return Rr},geoHufnagel:function(){return vr},geoHufnagelRaw:function(){return Vr},geoHyperelliptical:function(){return ia},geoHyperellipticalRaw:function(){return Gi},geoInterrupt:function(){return Qi},geoInterruptedBoggs:function(){return ss},geoInterruptedHomolosine:function(){return Su},geoInterruptedMollweide:function(){return xf},geoInterruptedMollweideHemispheres:function(){return ls},geoInterruptedQuarticAuthalic:function(){return eu},geoInterruptedSinuMollweide:function(){return Za},geoInterruptedSinusoidal:function(){return Ko},geoKavrayskiy7:function(){return Cl},geoKavrayskiy7Raw:function(){return us},geoLagrange:function(){return El},geoLagrangeRaw:function(){return Wi},geoLarrivee:function(){return qs},geoLarriveeRaw:function(){return Is},geoLaskowski:function(){return fh},geoLaskowskiRaw:function(){return ac},geoLittrow:function(){return hh},geoLittrowRaw:function(){return ol},geoLoximuthal:function(){return Yh},geoLoximuthalRaw:function(){return dh},geoMiller:function(){return ph},geoMillerRaw:function(){return wf},geoModifiedStereographic:function(){return Kl},geoModifiedStereographicAlaska:function(){return Mf},geoModifiedStereographicGs48:function(){return Xl},geoModifiedStereographicGs50:function(){return jc},geoModifiedStereographicLee:function(){return Lu},geoModifiedStereographicMiller:function(){return Ll},geoModifiedStereographicRaw:function(){return Tf},geoMollweide:function(){return Ce},geoMollweideRaw:function(){return Se},geoMtFlatPolarParabolic:function(){return Zh},geoMtFlatPolarParabolicRaw:function(){return Il},geoMtFlatPolarQuartic:function(){return oc},geoMtFlatPolarQuarticRaw:function(){return Uc},geoMtFlatPolarSinusoidal:function(){return Iu},geoMtFlatPolarSinusoidalRaw:function(){return Jl},geoNaturalEarth:function(){return vs.Z},geoNaturalEarth2:function(){return sc},geoNaturalEarth2Raw:function(){return Af},geoNaturalEarthRaw:function(){return vs.K},geoNellHammer:function(){return lc},geoNellHammerRaw:function(){return Ou},geoNicolosi:function(){return uc},geoNicolosiRaw:function(){return Pu},geoPatterson:function(){return Hc},geoPattersonRaw:function(){return Ol},geoPeirceQuincuncial:function(){return qc},geoPierceQuincuncial:function(){return qc},geoPolyconic:function(){return Cf},geoPolyconicRaw:function(){return dc},geoPolyhedral:function(){return Pl},geoPolyhedralButterfly:function(){return Gc},geoPolyhedralCollignon:function(){return Lf},geoPolyhedralWaterman:function(){return iu},geoProject:function(){return ou},geoQuantize:function(){return Po},geoQuincuncial:function(){return Jo},geoRectangularPolyconic:function(){return su},geoRectangularPolyconicRaw:function(){return Br},geoRobinson:function(){return Ru},geoRobinsonRaw:function(){return $c},geoSatellite:function(){return Fu},geoSatelliteRaw:function(){return zu},geoSinuMollweide:function(){return xr},geoSinuMollweideRaw:function(){return pr},geoSinusoidal:function(){return ze},geoSinusoidalRaw:function(){return Be},geoStitch:function(){return uu},geoTimes:function(){return ws},geoTimesRaw:function(){return bo},geoTwoPointAzimuthal:function(){return Ts},geoTwoPointAzimuthalRaw:function(){return gc},geoTwoPointAzimuthalUsa:function(){return cs},geoTwoPointEquidistant:function(){return Yi},geoTwoPointEquidistantRaw:function(){return Zs},geoTwoPointEquidistantUsa:function(){return Uo},geoVanDerGrinten:function(){return Ps},geoVanDerGrinten2:function(){return Xs},geoVanDerGrinten2Raw:function(){return Ho},geoVanDerGrinten3:function(){return pl},geoVanDerGrinten3Raw:function(){return Fl},geoVanDerGrinten4:function(){return ks},geoVanDerGrinten4Raw:function(){return xo},geoVanDerGrintenRaw:function(){return io},geoWagner:function(){return oi},geoWagner4:function(){return Zc},geoWagner4Raw:function(){return _o},geoWagner6:function(){return Vu},geoWagner6Raw:function(){return Go},geoWagner7:function(){return Nu},geoWagnerRaw:function(){return $r},geoWiechel:function(){return ta},geoWiechelRaw:function(){return vl},geoWinkel3:function(){return Xc},geoWinkel3Raw:function(){return ua}});var d=t(15002),g=Math.abs,i=Math.atan,M=Math.atan2,v=Math.cos,p=Math.exp,u=Math.floor,a=Math.log,c=Math.max,s=Math.min,l=Math.pow,h=Math.round,f=Math.sign||function(et){return et>0?1:et<0?-1:0},m=Math.sin,_=Math.tan,y=1e-6,C=1e-12,w=Math.PI,k=w/2,E=w/4,T=Math.SQRT1_2,A=F(2),L=F(w),b=2*w,O=180/w,I=w/180;function R(et){return et>1?k:et<-1?-k:Math.asin(et)}function z(et){return et>1?0:et<-1?w:Math.acos(et)}function F(et){return et>0?Math.sqrt(et):0}function B(et){return(p(et)-p(-et))/2}function N(et){return(p(et)+p(-et))/2}function q(et){var rt=_(et/2),ct=2*a(v(et/2))/(rt*rt);function vt(St,Mt){var $=v(St),ee=v(Mt),K=m(Mt),le=ee*$,Te=-((1-le?a((1+le)/2)/(1-le):-.5)+ct/(1+le));return[Te*ee*m(St),Te*K]}return vt.invert=function(St,Mt){var $,ee=F(St*St+Mt*Mt),K=-et/2,le=50;if(!ee)return[0,0];do{var Te=K/2,Re=v(Te),He=m(Te),Ze=He/Re,at=-a(g(Re));K-=$=(2/Ze*at-ct*Ze-ee)/(-at/(He*He)+1-ct/(2*Re*Re))*(Re<0?.7:1)}while(g($)>y&&--le>0);var Tt=m(K);return[M(St*Tt,ee*v(K)),R(Mt*Tt/ee)]},vt}function j(){var et=k,rt=(0,d.r)(q),ct=rt(et);return ct.radius=function(vt){return arguments.length?rt(et=vt*I):et*O},ct.scale(179.976).clipAngle(147)}function Y(et,rt){var ct=v(rt),vt=function(St){return St?St/Math.sin(St):1}(z(ct*v(et/=2)));return[2*ct*m(et)*vt,m(rt)*vt]}function U(){return(0,d.Z)(Y).scale(152.63)}function G(et){var rt=m(et),ct=v(et),vt=et>=0?1:-1,St=_(vt*et),Mt=(1+rt-ct)/2;function $(ee,K){var le=v(K),Te=v(ee/=2);return[(1+le)*m(ee),(vt*K>-M(Te,St)-.001?0:10*-vt)+Mt+m(K)*ct-(1+le)*rt*Te]}return $.invert=function(ee,K){var le=0,Te=0,Re=50;do{var He=v(le),Ze=m(le),at=v(Te),Tt=m(Te),At=1+at,se=At*Ze-ee,ve=Mt+Tt*ct-At*rt*He-K,Ie=At*He/2,Fe=-Ze*Tt,Ue=rt*At*Ze/2,qe=ct*at+rt*He*Tt,Xe=Fe*Ue-qe*Ie,tt=(ve*Fe-se*qe)/Xe/2,lt=(se*Ue-ve*Ie)/Xe;g(lt)>2&&(lt/=2),le-=tt,Te-=lt}while((g(tt)>y||g(lt)>y)&&--Re>0);return vt*Te>-M(v(le),St)-.001?[2*le,Te]:null},$}function W(){var et=20*I,rt=et>=0?1:-1,ct=_(rt*et),vt=(0,d.r)(G),St=vt(et),Mt=St.stream;return St.parallel=function($){return arguments.length?(ct=_((rt=(et=$*I)>=0?1:-1)*et),vt(et)):et*O},St.stream=function($){var ee=St.rotate(),K=Mt($),le=(St.rotate([0,0]),Mt($)),Te=St.precision();return St.rotate(ee),K.sphere=function(){le.polygonStart(),le.lineStart();for(var Re=-180*rt;rt*Re<180;Re+=90*rt)le.point(Re,90*rt);if(et)for(;rt*(Re-=3*rt*Te)>=-180;)le.point(Re,rt*-M(v(Re*I/2),ct)*O);le.lineEnd(),le.polygonEnd()},K},St.scale(218.695).center([0,28.0974])}function H(et,rt){var ct=_(rt/2),vt=F(1-ct*ct),St=1+vt*v(et/=2),Mt=m(et)*vt/St,$=ct/St,ee=Mt*Mt,K=$*$;return[1.3333333333333333*Mt*(3+ee-3*K),1.3333333333333333*$*(3+3*ee-K)]}function ne(){return(0,d.Z)(H).scale(66.1603)}Y.invert=function(et,rt){if(!(et*et+4*rt*rt>w*w+y)){var ct=et,vt=rt,St=25;do{var Mt,$=m(ct),ee=m(ct/2),K=v(ct/2),le=m(vt),Te=v(vt),Re=m(2*vt),He=le*le,Ze=Te*Te,at=ee*ee,Tt=1-Ze*K*K,At=Tt?z(Te*K)*F(Mt=1/Tt):Mt=0,se=2*At*Te*ee-et,ve=At*le-rt,Ie=Mt*(Ze*at+At*Te*K*He),Fe=Mt*(.5*$*Re-2*At*le*ee),Ue=.25*Mt*(Re*ee-At*le*Ze*$),qe=Mt*(He*K+At*at*Te),Xe=Fe*Ue-qe*Ie;if(!Xe)break;var tt=(ve*Fe-se*qe)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},H.invert=function(et,rt){if(rt*=.375,!(et*=.375)&&g(rt)>1)return null;var ct=1+et*et+rt*rt,vt=F((ct-F(ct*ct-4*rt*rt))/2),St=R(vt)/3,Mt=vt?function(le){return a(le+F(le*le-1))}(g(rt/vt))/3:function(le){return a(le+F(le*le+1))}(g(et))/3,$=v(St),ee=N(Mt),K=ee*ee-$*$;return[2*f(et)*M(B(Mt)*$,.25-K),2*f(rt)*M(ee*m(St),.25+K)]};var te=F(8),Z=a(1+A);function X(et,rt){var ct=g(rt);return ctC&&--Mt>0);return[et/(v(St)*(te-1/m(St))),f(rt)*St]};var re=t(17889);function ie(et){var rt=2*w/et;function ct(vt,St){var Mt=(0,re.N)(vt,St);if(g(vt)>k){var $=M(Mt[1],Mt[0]),ee=F(Mt[0]*Mt[0]+Mt[1]*Mt[1]),K=rt*h(($-k)/rt)+k,le=M(m($-=K),2-v($));$=K+R(w/ee*m(le))-le,Mt[0]=ee*v($),Mt[1]=ee*m($)}return Mt}return ct.invert=function(vt,St){var Mt=F(vt*vt+St*St);if(Mt>k){var $=M(St,vt),ee=rt*h(($-k)/rt)+k,K=$>ee?-1:1,le=Mt*v(ee-$),Te=1/_(K*z((le-w)/F(w*(w-2*le)+Mt*Mt)));$=ee+2*i((Te+K*F(Te*Te-3))/3),vt=Mt*v($),St=Mt*m($)}return re.N.invert(vt,St)},ct}function oe(){var et=5,rt=(0,d.r)(ie),ct=rt(et),vt=ct.stream,St=.01,Mt=-v(St*I),$=m(St*I);return ct.lobes=function(ee){return arguments.length?rt(et=+ee):et},ct.stream=function(ee){var K=ct.rotate(),le=vt(ee),Te=(ct.rotate([0,0]),vt(ee));return ct.rotate(K),le.sphere=function(){Te.polygonStart(),Te.lineStart();for(var Re=0,He=360/et,Ze=2*w/et,at=90-180/et,Tt=k;Re0&&g(vt)>y);return $<0?NaN:ct}function pe(et,rt,ct){return rt===void 0&&(rt=40),ct===void 0&&(ct=C),function(vt,St,Mt,$){var ee,K,le;Mt=Mt===void 0?0:+Mt,$=$===void 0?0:+$;for(var Te=0;Teee)Mt-=K/=2,$-=le/=2;else{ee=at;var Tt=(Mt>0?-1:1)*ct,At=($>0?-1:1)*ct,se=et(Mt+Tt,$),ve=et(Mt,$+At),Ie=(se[0]-Re[0])/Tt,Fe=(se[1]-Re[1])/Tt,Ue=(ve[0]-Re[0])/At,qe=(ve[1]-Re[1])/At,Xe=qe*Ie-Fe*Ue,tt=(g(Xe)<.5?.5:1)/Xe;if(Mt+=K=(Ze*Ue-He*qe)*tt,$+=le=(He*Fe-Ze*Ie)*tt,g(K)0&&(Mt[1]*=1+$/1.5*Mt[0]*Mt[0]),Mt}return rt.invert=pe(rt),rt}function Pe(){return(0,d.Z)(xe()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function _e(et,rt){var ct,vt=et*m(rt),St=30;do rt-=ct=(rt+m(rt)-vt)/(1+v(rt));while(g(ct)>y&&--St>0);return rt/2}function Me(et,rt,ct){function vt(St,Mt){return[et*St*v(Mt=_e(ct,Mt)),rt*m(Mt)]}return vt.invert=function(St,Mt){return Mt=R(Mt/rt),[St/(et*v(Mt)),R((2*Mt+m(2*Mt))/ct)]},vt}ye.invert=function(et,rt){var ct=2*R(rt/2);return[et*v(ct/2)/v(ct),ct]};var Se=Me(A/k,A,w);function Ce(){return(0,d.Z)(Se).scale(169.529)}var ae=2.00276,he=1.11072;function be(et,rt){var ct=_e(w,rt);return[ae*et/(1/v(rt)+he/v(ct)),(rt+A*m(ct))/ae]}function ke(){return(0,d.Z)(be).scale(160.857)}function Le(et){var rt=0,ct=(0,d.r)(et),vt=ct(rt);return vt.parallel=function(St){return arguments.length?ct(rt=St*I):rt*O},vt}function Be(et,rt){return[et*v(rt),rt]}function ze(){return(0,d.Z)(Be).scale(152.63)}function je(et){if(!et)return Be;var rt=1/_(et);function ct(vt,St){var Mt=rt+et-St,$=Mt&&vt*v(St)/Mt;return[Mt*m($),rt-Mt*v($)]}return ct.invert=function(vt,St){var Mt=F(vt*vt+(St=rt-St)*St),$=rt+et-Mt;return[Mt/v($)*M(vt,St),$]},ct}function ge(){return Le(je).scale(123.082).center([0,26.1441]).parallel(45)}function we(et){function rt(ct,vt){var St=k-vt,Mt=St&&ct*et*m(St)/St;return[St*m(Mt)/et,k-St*v(Mt)]}return rt.invert=function(ct,vt){var St=ct*et,Mt=k-vt,$=F(St*St+Mt*Mt),ee=M(St,Mt);return[($?$/m($):1)*ee/et,k-$]},rt}function Ee(){var et=.5,rt=(0,d.r)(we),ct=rt(et);return ct.fraction=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(158.837)}be.invert=function(et,rt){var ct,vt,St=ae*rt,Mt=rt<0?-E:E,$=25;do vt=St-A*m(Mt),Mt-=ct=(m(2*Mt)+2*Mt-w*m(vt))/(2*v(2*Mt)+2+w*v(vt)*A*v(Mt));while(g(ct)>y&&--$>0);return vt=St-A*m(Mt),[et*(1/v(vt)+he/v(Mt))/ae,vt]},Be.invert=function(et,rt){return[et/v(rt),rt]};var Ve=Me(1,4/w,w);function Ye(){return(0,d.Z)(Ve).scale(152.63)}var $e=t(66624),st=t(49386);function ot(et,rt,ct,vt,St,Mt){var $,ee=v(Mt);if(g(et)>1||g(Mt)>1)$=z(ct*St+rt*vt*ee);else{var K=m(et/2),le=m(Mt/2);$=2*R(F(K*K+rt*vt*le*le))}return g($)>y?[$,M(vt*m(Mt),rt*St-ct*vt*ee)]:[0,0]}function ft(et,rt,ct){return z((et*et+rt*rt-ct*ct)/(2*et*rt))}function bt(et){return et-2*w*u((et+w)/(2*w))}function Et(et,rt,ct){for(var vt,St=[[et[0],et[1],m(et[1]),v(et[1])],[rt[0],rt[1],m(rt[1]),v(rt[1])],[ct[0],ct[1],m(ct[1]),v(ct[1])]],Mt=St[2],$=0;$<3;++$,Mt=vt)vt=St[$],Mt.v=ot(vt[1]-Mt[1],Mt[3],Mt[2],vt[3],vt[2],vt[0]-Mt[0]),Mt.point=[0,0];var ee=ft(St[0].v[0],St[2].v[0],St[1].v[0]),K=ft(St[0].v[0],St[1].v[0],St[2].v[0]),le=w-ee;St[2].point[1]=0,St[0].point[0]=-(St[1].point[0]=St[0].v[0]/2);var Te=[St[2].point[0]=St[0].point[0]+St[2].v[0]*v(ee),2*(St[0].point[1]=St[1].point[1]=St[2].v[0]*m(ee))];return function(Re,He){var Ze,at=m(He),Tt=v(He),At=new Array(3);for(Ze=0;Ze<3;++Ze){var se=St[Ze];if(At[Ze]=ot(He-se[1],se[3],se[2],Tt,at,Re-se[0]),!At[Ze][0])return se.point;At[Ze][1]=bt(At[Ze][1]-se.v[1])}var ve=Te.slice();for(Ze=0;Ze<3;++Ze){var Ie=Ze==2?0:Ze+1,Fe=ft(St[Ze].v[0],At[Ze][0],At[Ie][0]);At[Ze][1]<0&&(Fe=-Fe),Ze?Ze==1?(Fe=K-Fe,ve[0]-=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe)):(Fe=le-Fe,ve[0]+=At[Ze][0]*v(Fe),ve[1]+=At[Ze][0]*m(Fe)):(ve[0]+=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe))}return ve[0]/=3,ve[1]/=3,ve}}function kt(et){return et[0]*=I,et[1]*=I,et}function xt(){return Ft([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Ft(et,rt,ct){var vt=(0,$e.Z)({type:"MultiPoint",coordinates:[et,rt,ct]}),St=[-vt[0],-vt[1]],Mt=(0,st.Z)(St),$=Et(kt(Mt(et)),kt(Mt(rt)),kt(Mt(ct)));$.invert=pe($);var ee=(0,d.Z)($).rotate(St),K=ee.center;return delete ee.rotate,ee.center=function(le){return arguments.length?K(Mt(le)):Mt.invert(K())},ee.clipAngle(90)}function Dt(et,rt){var ct=F(1-m(rt));return[2/L*et*ct,L*(1-ct)]}function Bt(){return(0,d.Z)(Dt).scale(95.6464).center([0,30])}function Wt(et){var rt=_(et);function ct(vt,St){return[vt,(vt?vt/m(vt):1)*(m(St)*v(vt)-rt*v(St))]}return ct.invert=rt?function(vt,St){vt&&(St*=m(vt)/vt);var Mt=v(vt);return[vt,2*M(F(Mt*Mt+rt*rt-St*St)-Mt,rt-St)]}:function(vt,St){return[vt,R(vt?St*_(vt)/vt:St)]},ct}function Vt(){return Le(Wt).scale(249.828).clipAngle(90)}Dt.invert=function(et,rt){var ct=(ct=rt/L-1)*ct;return[ct>0?et*F(w/ct)/2:0,R(1-ct)]};var Ke=F(3);function Je(et,rt){return[Ke*et*(2*v(2*rt/3)-1)/L,Ke*L*m(rt/3)]}function We(){return(0,d.Z)(Je).scale(156.19)}function nt(et){var rt=v(et);function ct(vt,St){return[vt*rt,m(St)/rt]}return ct.invert=function(vt,St){return[vt/rt,R(St*rt)]},ct}function ht(){return Le(nt).parallel(38.58).scale(195.044)}function Oe(et){var rt=v(et);function ct(vt,St){return[vt*rt,(1+rt)*_(St/2)]}return ct.invert=function(vt,St){return[vt/rt,2*i(St/(1+rt))]},ct}function Ne(){return Le(Oe).scale(124.75)}function Qe(et,rt){var ct=F(8/(3*w));return[ct*et*(1-g(rt)/w),ct*rt]}function ut(){return(0,d.Z)(Qe).scale(165.664)}function pt(et,rt){var ct=F(4-3*m(g(rt)));return[2/F(6*w)*et*ct,f(rt)*F(2*w/3)*(2-ct)]}function _t(){return(0,d.Z)(pt).scale(165.664)}function It(et,rt){var ct=F(w*(4+w));return[2/ct*et*(1+F(1-4*rt*rt/(w*w))),4/ct*rt]}function Lt(){return(0,d.Z)(It).scale(180.739)}function yt(et,rt){var ct=(2+k)*m(rt);rt/=2;for(var vt=0,St=1/0;vt<10&&g(St)>y;vt++){var Mt=v(rt);rt-=St=(rt+m(rt)*(Mt+2)-ct)/(2*Mt*(1+Mt))}return[2/F(w*(4+w))*et*(1+v(rt)),2*F(w/(4+w))*m(rt)]}function Pt(){return(0,d.Z)(yt).scale(180.739)}function wt(et,rt){return[et*(1+v(rt))/F(2+w),2*rt/F(2+w)]}function Ot(){return(0,d.Z)(wt).scale(173.044)}function Nt(et,rt){for(var ct=(1+k)*m(rt),vt=0,St=1/0;vt<10&&g(St)>y;vt++)rt-=St=(rt+m(rt)-ct)/(1+v(rt));return ct=F(2+w),[et*(1+v(rt))/ct,2*rt/ct]}function $t(){return(0,d.Z)(Nt).scale(173.044)}Je.invert=function(et,rt){var ct=3*R(rt/(Ke*L));return[L*et/(Ke*(2*v(2*ct/3)-1)),ct]},Qe.invert=function(et,rt){var ct=F(8/(3*w)),vt=rt/ct;return[et/(ct*(1-g(vt)/w)),vt]},pt.invert=function(et,rt){var ct=2-g(rt)/F(2*w/3);return[et*F(6*w)/(2*ct),f(rt)*R((4-ct*ct)/3)]},It.invert=function(et,rt){var ct=F(w*(4+w))/2;return[et*ct/(1+F(1-rt*rt*(4+w)/(4*w))),rt*ct/2]},yt.invert=function(et,rt){var ct=rt*F((4+w)/w)/2,vt=R(ct),St=v(vt);return[et/(2/F(w*(4+w))*(1+St)),R((vt+ct*(St+2))/(2+k))]},wt.invert=function(et,rt){var ct=F(2+w),vt=rt*ct/2;return[ct*et/(1+v(vt)),vt]},Nt.invert=function(et,rt){var ct=1+k,vt=F(ct/2);return[2*et*vt/(1+v(rt*=vt)),R((rt+m(rt))/ct)]};var qt=3+2*A;function Xt(et,rt){var ct=m(et/=2),vt=v(et),St=F(v(rt)),Mt=v(rt/=2),$=m(rt)/(Mt+A*vt*St),ee=F(2/(1+$*$)),K=F((A*Mt+(vt+ct)*St)/(A*Mt+(vt-ct)*St));return[qt*(ee*(K-1/K)-2*a(K)),qt*(ee*$*(K+1/K)-2*i($))]}function Qt(){return(0,d.Z)(Xt).scale(62.5271)}Xt.invert=function(et,rt){if(!(ct=H.invert(et/1.2,1.065*rt)))return null;var ct,vt=ct[0],St=ct[1],Mt=20;et/=qt,rt/=qt;do{var $=vt/2,ee=St/2,K=m($),le=v($),Te=m(ee),Re=v(ee),He=v(St),Ze=F(He),at=Te/(Re+A*le*Ze),Tt=at*at,At=F(2/(1+Tt)),se=(A*Re+(le+K)*Ze)/(A*Re+(le-K)*Ze),ve=F(se),Ie=ve-1/ve,Fe=ve+1/ve,Ue=At*Ie-2*a(ve)-et,qe=At*at*Fe-2*i(at)-rt,Xe=Te&&T*Ze*K*Tt/Te,tt=(A*le*Re+Ze)/(2*(Re+A*le*Ze)*(Re+A*le*Ze)*Ze),lt=-.5*at*At*At*At,gt=lt*Xe,zt=lt*tt,Ut=(Ut=2*Re+A*Ze*(le-K))*Ut*ve,Ht=(A*le*Re*Ze+He)/Ut,en=-A*K*Te/(Ze*Ut),vn=Ie*gt-2*Ht/ve+At*(Ht+Ht/se),tn=Ie*zt-2*en/ve+At*(en+en/se),ln=at*Fe*gt-2*Xe/(1+Tt)+At*Fe*Xe+At*at*(Ht-Ht/se),an=at*Fe*zt-2*tt/(1+Tt)+At*Fe*tt+At*at*(en-en/se),Cn=tn*ln-an*vn;if(!Cn)break;var _n=(qe*tn-Ue*an)/Cn,on=(Ue*ln-qe*vn)/Cn;vt-=_n,St=c(-k,s(k,St-on))}while((g(_n)>y||g(on)>y)&&--Mt>0);return g(g(St)-k)vt){var Re=F(Te),He=M(le,K),Ze=ct*h(He/ct),at=He-Ze,Tt=et*v(at),At=(et*m(at)-at*m(Tt))/(k-Tt),se=Gn(at,At),ve=(w-et)/Wn(se,Tt,w);K=Re;var Ie,Fe=50;do K-=Ie=(et+Wn(se,Tt,K)*ve-Re)/(se(K)*ve);while(g(Ie)>y&&--Fe>0);le=at*m(K),Kvt){var K=F(ee),le=M($,Mt),Te=ct*h(le/ct),Re=le-Te;Mt=K*v(Re),$=K*m(Re);for(var He=Mt-k,Ze=m(Mt),at=$/Ze,Tt=Mty||g(He)>y)&&--Tt>0);return[Ze,at]},K}var Lr=rr(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function br(){return(0,d.Z)(Lr).scale(149.995)}var or=rr(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function yr(){return(0,d.Z)(or).scale(153.93)}var wr=rr(5/6*w,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Kt(){return(0,d.Z)(wr).scale(130.945)}function bn(et,rt){var ct=et*et,vt=rt*rt;return[et*(1-.162388*vt)*(.87-952426e-9*ct*ct),rt*(1+vt/12)]}function On(){return(0,d.Z)(bn).scale(131.747)}bn.invert=function(et,rt){var ct,vt=et,St=rt,Mt=50;do{var $=St*St;St-=ct=(St*(1+$/12)-rt)/(1+$/4)}while(g(ct)>y&&--Mt>0);Mt=50,et/=1-.162388*$;do{var ee=(ee=vt*vt)*ee;vt-=ct=(vt*(.87-952426e-9*ee)-et)/(.87-.00476213*ee)}while(g(ct)>y&&--Mt>0);return[vt,St]};var Ln=rr(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Un(){return(0,d.Z)(Ln).scale(131.087)}function Jn(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=vt>0?-.5:.5,$=et(vt+Mt*w,St);return $[0]-=Mt*rt,$}return et.invert&&(ct.invert=function(vt,St){var Mt=vt>0?-.5:.5,$=et.invert(vt+Mt*rt,St),ee=$[0]-Mt*w;return ee<-w?ee+=2*w:ee>w&&(ee-=2*w),$[0]=ee,$}),ct}function Zn(et,rt){var ct=f(et),vt=f(rt),St=v(rt),Mt=v(et)*St,$=m(et)*St,ee=m(vt*rt);et=g(M($,ee)),rt=R(Mt),g(et-k)>y&&(et%=k);var K=function(le,Te){if(Te===k)return[0,0];var Re,He,Ze=m(Te),at=Ze*Ze,Tt=at*at,At=1+Tt,se=1+3*Tt,ve=1-Tt,Ie=R(1/F(At)),Fe=ve+at*At*Ie,Ue=(1-Ze)/Fe,qe=F(Ue),Xe=Ue*At,tt=F(Xe),lt=qe*ve;if(le===0)return[0,-(lt+at*tt)];var gt,zt=v(Te),Ut=1/zt,Ht=2*Ze*zt,en=(-Fe*zt-(-3*at+Ie*se)*Ht*(1-Ze))/(Fe*Fe),vn=-Ut*Ht,tn=-Ut*(at*At*en+Ue*se*Ht),ln=-2*Ut*(ve*(.5*en/qe)-2*at*qe*Ht),an=4*le/w;if(le>.222*w||Te.175*w){if(Re=(lt+at*F(Xe*(1+Tt)-lt*lt))/(1+Tt),le>w/4)return[Re,Re];var Cn=Re,_n=.5*Re;Re=.5*(_n+Cn),He=50;do{var on=Re*(ln+vn*F(Xe-Re*Re))+tn*R(Re/tt)-an;if(!on)break;on<0?_n=Re:Cn=Re,Re=.5*(_n+Cn)}while(g(Cn-_n)>y&&--He>0)}else{Re=y,He=25;do{var Fn=Re*Re,Hn=F(Xe-Fn),ir=ln+vn*Hn,ar=Re*ir+tn*R(Re/tt)-an;Re-=gt=Hn?ar/(ir+(tn-vn*Fn)/Hn):0}while(g(gt)>y&&--He>0)}return[Re,-lt-at*F(Xe-Re*Re)]}(et>w/4?k-et:et,rt);return et>w/4&&(ee=K[0],K[0]=-K[1],K[1]=-ee),K[0]*=ct,K[1]*=-vt,K}function tr(){return(0,d.Z)(Jn(Zn)).scale(239.75)}function gr(et,rt){var ct,vt,St,Mt,$,ee;if(rt=.999999)return ct=(1-rt)/4,St=1/(vt=N(et)),[(Mt=((ee=p(2*(ee=et)))-1)/(ee+1))+ct*(($=vt*B(et))-et)/(vt*vt),St-ct*Mt*St*($-et),St+ct*Mt*St*($+et),2*i(p(et))-k+ct*($-et)/vt];var K=[1,0,0,0,0,0,0,0,0],le=[F(rt),0,0,0,0,0,0,0,0],Te=0;for(vt=F(1-rt),$=1;g(le[Te]/K[Te])>y&&Te<8;)ct=K[Te++],le[Te]=(ct-vt)/2,K[Te]=(ct+vt)/2,vt=F(ct*vt),$*=2;St=$*K[Te]*et;do St=(R(Mt=le[Te]*m(vt=St)/K[Te])+St)/2;while(--Te);return[m(St),Mt=v(St),Mt/v(St-vt),St]}function nn(et,rt){if(!rt)return et;if(rt===1)return a(_(et/2+E));for(var ct=1,vt=F(1-rt),St=F(rt),Mt=0;g(St)>y;Mt++){if(et%w){var $=i(vt*_(et)/ct);$<0&&($+=w),et+=$+~~(et/w)*w}else et+=et;St=(ct+vt)/2,vt=F(ct*vt),St=((ct=St)-vt)/2}return et/(l(2,Mt)*ct)}function Pn(et,rt){var ct=(A-1)/(A+1),vt=F(1-ct*ct),St=nn(k,vt*vt),Mt=a(_(w/4+g(rt)/2)),$=p(-1*Mt)/F(ct),ee=function(le,Te){var Re=le*le,He=Te+1,Ze=1-Re-Te*Te;return[.5*((le>=0?k:-k)-M(Ze,2*le)),-.25*a(Ze*Ze+4*Re)+.5*a(He*He+Re)]}($*v(-1*et),$*m(-1*et)),K=function(le,Te,Re){var He=g(le),Ze=B(g(Te));if(He){var at=1/m(He),Tt=1/(_(He)*_(He)),At=-(Tt+Re*(Ze*Ze*at*at)-1+Re),se=(-At+F(At*At-(Re-1)*Tt*4))/2;return[nn(i(1/F(se)),Re)*f(le),nn(i(F((se/Tt-1)/Re)),1-Re)*f(Te)]}return[0,nn(i(Ze),1-Re)*f(Te)]}(ee[0],ee[1],vt*vt);return[-K[1],(rt>=0?1:-1)*(.5*St-K[0])]}function jt(){return(0,d.Z)(Jn(Pn)).scale(151.496)}Zn.invert=function(et,rt){g(et)>1&&(et=2*f(et)-et),g(rt)>1&&(rt=2*f(rt)-rt);var ct=f(et),vt=f(rt),St=-ct*et,Mt=-vt*rt,$=Mt/St<1,ee=function(Re,He){for(var Ze=0,at=1,Tt=.5,At=50;;){var se=Tt*Tt,ve=F(Tt),Ie=R(1/F(1+se)),Fe=1-se+Tt*(1+se)*Ie,Ue=(1-ve)/Fe,qe=F(Ue),Xe=Ue*(1+se),tt=qe*(1-se),lt=F(Xe-Re*Re),gt=He+tt+Tt*lt;if(g(at-Ze)0?Ze=Tt:at=Tt,Tt=.5*(Ze+at)}if(!At)return null;var zt=R(ve),Ut=v(zt),Ht=1/Ut,en=2*ve*Ut,vn=(-Fe*Ut-(-3*Tt+Ie*(1+3*se))*en*(1-ve))/(Fe*Fe);return[w/4*(Re*(-2*Ht*(.5*vn/qe*(1-se)-2*Tt*qe*en)+-Ht*en*lt)+-Ht*(Tt*(1+se)*vn+Ue*(1+3*se)*en)*R(Re/F(Xe))),zt]}($?Mt:St,$?St:Mt),K=ee[0],le=ee[1],Te=v(le);return $&&(K=-k-K),[ct*(M(m(K)*Te,-m(le))+w),vt*R(v(K)*Te)]},Pn.invert=function(et,rt){var ct,vt,St,Mt,$,ee,K=(A-1)/(A+1),le=F(1-K*K),Te=(vt=-et,St=le*le,(ct=.5*nn(k,le*le)-rt)?(Mt=gr(ct,St),vt?(ee=($=gr(vt,1-St))[1]*$[1]+St*Mt[0]*Mt[0]*$[0]*$[0],[[Mt[0]*$[2]/ee,Mt[1]*Mt[2]*$[0]*$[1]/ee],[Mt[1]*$[1]/ee,-Mt[0]*Mt[2]*$[0]*$[2]/ee],[Mt[2]*$[1]*$[2]/ee,-St*Mt[0]*Mt[1]*$[0]/ee]]):[[Mt[0],0],[Mt[1],0],[Mt[2],0]]):[[0,($=gr(vt,1-St))[0]/$[1]],[1/$[1],0],[$[2]/$[1],0]]),Re=function(He,Ze){var at=Ze[0]*Ze[0]+Ze[1]*Ze[1];return[(He[0]*Ze[0]+He[1]*Ze[1])/at,(He[1]*Ze[0]-He[0]*Ze[1])/at]}(Te[0],Te[1]);return[M(Re[1],Re[0])/-1,2*i(p(-.5*a(K*Re[0]*Re[0]+K*Re[1]*Re[1])))-k]};var Jt=t(7613);function fn(et){var rt=m(et),ct=v(et),vt=zn(et);function St(Mt,$){var ee=vt(Mt,$);Mt=ee[0],$=ee[1];var K=m($),le=v($),Te=v(Mt),Re=z(rt*K+ct*le*Te),He=m(Re),Ze=g(He)>y?Re/He:1;return[Ze*ct*m(Mt),(g(Mt)>k?Ze:-Ze)*(rt*le-ct*K*Te)]}return vt.invert=zn(-et),St.invert=function(Mt,$){var ee=F(Mt*Mt+$*$),K=-m(ee),le=v(ee),Te=ee*le,Re=-$*K,He=ee*rt,Ze=F(Te*Te+Re*Re-He*He),at=M(Te*He+Re*Ze,Re*He-Te*Ze),Tt=(ee>k?-1:1)*M(Mt*K,ee*v(at)*le+$*m(at)*K);return vt.invert(Tt,at)},St}function zn(et){var rt=m(et),ct=v(et);return function(vt,St){var Mt=v(St),$=v(vt)*Mt,ee=m(vt)*Mt,K=m(St);return[M(ee,$*ct-K*rt),R(K*ct+$*rt)]}}function Dn(){var et=0,rt=(0,d.r)(fn),ct=rt(et),vt=ct.rotate,St=ct.stream,Mt=(0,Jt.Z)();return ct.parallel=function($){if(!arguments.length)return et*O;var ee=ct.rotate();return rt(et=$*I).rotate(ee)},ct.rotate=function($){return arguments.length?(vt.call(ct,[$[0],$[1]-et*O]),Mt.center([-$[0],-$[1]]),ct):(($=vt.call(ct))[1]+=et*O,$)},ct.stream=function($){return($=St($)).sphere=function(){$.polygonStart();var ee,K=Mt.radius(89.99)().coordinates[0],le=K.length-1,Te=-1;for($.lineStart();++Te=0;)$.point((ee=K[Te])[0],ee[1]);$.lineEnd(),$.polygonEnd()},$},ct.scale(79.4187).parallel(45).clipAngle(179.999)}var En=t(33064),mn=t(72736),wn=R(1-1/3)*O,gn=nt(0);function yn(et){var rt=wn*I,ct=Dt(w,rt)[0]-Dt(-w,rt)[0],vt=gn(0,rt)[1],St=Dt(0,rt)[1],Mt=L-St,$=b/et,ee=4/b,K=vt+Mt*Mt*4/b;function le(Te,Re){var He,Ze=g(Re);if(Ze>rt){var at=s(et-1,c(0,u((Te+w)/$)));(He=Dt(Te+=w*(et-1)/et-at*$,Ze))[0]=He[0]*b/ct-b*(et-1)/(2*et)+at*b/et,He[1]=vt+4*(He[1]-St)*Mt/b,Re<0&&(He[1]=-He[1])}else He=gn(Te,Re);return He[0]*=ee,He[1]/=K,He}return le.invert=function(Te,Re){Te/=ee;var He=g(Re*=K);if(He>vt){var Ze=s(et-1,c(0,u((Te+w)/$)));Te=(Te+w*(et-1)/et-Ze*$)*ct/b;var at=Dt.invert(Te,.25*(He-vt)*b/Mt+St);return at[0]-=w*(et-1)/et-Ze*$,Re<0&&(at[1]=-at[1]),at}return gn.invert(Te,Re)},le}function Sn(et,rt){return[et,1&rt?89.999999:wn]}function Vn(et,rt){return[et,1&rt?-89.999999:-wn]}function Kn(et){return[.999999*et[0],et[1]]}function nr(){var et=4,rt=(0,d.r)(yn),ct=rt(et),vt=ct.stream;return ct.lobes=function(St){return arguments.length?rt(et=+St):et},ct.stream=function(St){var Mt=ct.rotate(),$=vt(St),ee=(ct.rotate([0,0]),vt(St));return ct.rotate(Mt),$.sphere=function(){var K,le;(0,mn.Z)((K=180/et,le=[].concat((0,En.w6)(-180,180+K/2,K).map(Sn),(0,En.w6)(180,-180-K/2,-K).map(Vn)),{type:"Polygon",coordinates:[K===180?le.map(Kn):le]}),ee)},$},ct.scale(239.75)}function Qn(et){var rt,ct=1+et,vt=R(m(1/ct)),St=2*F(w/(rt=w+4*vt*ct)),Mt=.5*St*(ct+F(et*(2+et))),$=et*et,ee=ct*ct;function K(le,Te){var Re,He,Ze=1-m(Te);if(Ze&&Ze<2){var at,Tt=k-Te,At=25;do{var se=m(Tt),ve=v(Tt),Ie=vt+M(se,ct-ve),Fe=1+ee-2*ct*ve;Tt-=at=(Tt-$*vt-ct*se+Fe*Ie-.5*Ze*rt)/(2*ct*se*Ie)}while(g(at)>C&&--At>0);Re=St*F(Fe),He=le*Ie/w}else Re=St*(et+Ze),He=le*vt/w;return[Re*m(He),Mt-Re*v(He)]}return K.invert=function(le,Te){var Re=le*le+(Te-=Mt)*Te,He=(1+ee-Re/(St*St))/(2*ct),Ze=z(He),at=m(Ze),Tt=vt+M(at,ct-He);return[R(le/F(Re))*w/Tt,R(1-2*(Ze-$*vt-ct*at+(1+ee-2*ct*He)*Tt)/rt)]},K}function hr(){var et=1,rt=(0,d.r)(Qn),ct=rt(et);return ct.ratio=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(167.774).center([0,18.67])}var fr=.7109889596207567,mr=.0528035274542;function pr(et,rt){return rt>-fr?((et=Se(et,rt))[1]+=mr,et):Be(et,rt)}function xr(){return(0,d.Z)(pr).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Rr(et,rt){return g(rt)>fr?((et=Se(et,rt))[1]-=rt>0?mr:-mr,et):Be(et,rt)}function Pr(){return(0,d.Z)(Rr).scale(152.63)}function Vr(et,rt,ct,vt){var St=F(4*w/(2*ct+(1+et-rt/2)*m(2*ct)+(et+rt)/2*m(4*ct)+rt/2*m(6*ct))),Mt=F(vt*m(ct)*F((1+et*v(2*ct)+rt*v(4*ct))/(1+et+rt))),$=ct*K(1);function ee(Re){return F(1+et*v(2*Re)+rt*v(4*Re))}function K(Re){var He=Re*ct;return(2*He+(1+et-rt/2)*m(2*He)+(et+rt)/2*m(4*He)+rt/2*m(6*He))/ct}function le(Re){return ee(Re)*m(Re)}var Te=function(Re,He){var Ze=ct*me(K,$*m(He)/ct,He/w);isNaN(Ze)&&(Ze=ct*f(He));var at=St*ee(Ze);return[at*Mt*Re/w*v(Ze),at/Mt*m(Ze)]};return Te.invert=function(Re,He){var Ze=me(le,He*Mt/St);return[Re*w/(v(Ze)*St*Mt*ee(Ze)),R(ct*K(Ze/ct)/$)]},ct===0&&(St=F(vt/w),(Te=function(Re,He){return[Re*St,m(He)/St]}).invert=function(Re,He){return[Re/St,R(He*St)]}),Te}function vr(){var et=1,rt=0,ct=45*I,vt=2,St=(0,d.r)(Vr),Mt=St(et,rt,ct,vt);return Mt.a=function($){return arguments.length?St(et=+$,rt,ct,vt):et},Mt.b=function($){return arguments.length?St(et,rt=+$,ct,vt):rt},Mt.psiMax=function($){return arguments.length?St(et,rt,ct=+$*I,vt):ct*O},Mt.ratio=function($){return arguments.length?St(et,rt,ct,vt=+$):vt},Mt.scale(180.739)}function jr(et,rt,ct,vt,St,Mt,$,ee,K,le,Te){if(Te.nanEncountered)return NaN;var Re,He,Ze,at,Tt,At,se,ve,Ie,Fe;if(He=et(rt+.25*(Re=ct-rt)),Ze=et(ct-.25*Re),isNaN(He))Te.nanEncountered=!0;else{if(!isNaN(Ze))return Fe=((At=(at=Re*(vt+4*He+St)/12)+(Tt=Re*(St+4*Ze+Mt)/12))-$)/15,le>K?(Te.maxDepthCount++,At+Fe):Math.abs(Fe)Ze?Tt=At:at=At,At=at+Tt>>1;while(At>at);var se=K[At+1]-K[At];return se&&(se=(Ze-K[At+1])/se),(At+1+se)/$}var Re=2*Te(1)/w*Mt/ct,He=function(Ze,at){var Tt=Te(g(m(at))),At=vt(Tt)*Ze;return Tt/=Re,[At,at>=0?Tt:-Tt]};return He.invert=function(Ze,at){var Tt;return g(at*=Re)<1&&(Tt=f(at)*R(St(g(at))*Mt)),[Ze/vt(g(at)),Tt]},He}function ia(){var et=0,rt=2.5,ct=1.183136,vt=(0,d.r)(Gi),St=vt(et,rt,ct);return St.alpha=function(Mt){return arguments.length?vt(et=+Mt,rt,ct):et},St.k=function(Mt){return arguments.length?vt(et,rt=+Mt,ct):rt},St.gamma=function(Mt){return arguments.length?vt(et,rt,ct=+Mt):ct},St.scale(152.63)}function la(et,rt){return g(et[0]-rt[0])=0;--ee)ct=(rt=et[1][ee])[0][0],vt=rt[0][1],St=rt[1][1],Mt=rt[2][0],$=rt[2][1],K.push(co([[Mt-y,$-y],[Mt-y,St+y],[ct+y,St+y],[ct+y,vt-y]],30));return{type:"Polygon",coordinates:[(0,En.TS)(K)]}}function Qi(et,rt,ct){var vt,St;function Mt(K,le){for(var Te=le<0?-1:1,Re=rt[+(le<0)],He=0,Ze=Re.length-1;HeRe[He][2][0];++He);var at=et(K-Re[He][1][0],le);return at[0]+=et(Re[He][1][0],Te*le>Te*Re[He][0][1]?Re[He][0][1]:le)[0],at}ct?Mt.invert=ct(Mt):et.invert&&(Mt.invert=function(K,le){for(var Te=St[+(le<0)],Re=rt[+(le<0)],He=0,Ze=Te.length;HeTt&&(Re=at,at=Tt,Tt=Re),[[He,at],[Ze,Tt]]})}),$):rt.map(function(le){return le.map(function(Te){return[[Te[0][0]*O,Te[0][1]*O],[Te[1][0]*O,Te[1][1]*O],[Te[2][0]*O,Te[2][1]*O]]})})},rt!=null&&$.lobes(rt),$}pr.invert=function(et,rt){return rt>-fr?Se.invert(et,rt-mr):Be.invert(et,rt)},Rr.invert=function(et,rt){return g(rt)>fr?Se.invert(et,rt+(rt>0?mr:-mr)):Be.invert(et,rt)};var No=[[[[-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 ss(){return Qi(be,No).scale(160.857)}var al=[[[[-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 Su(){return Qi(Rr,al).scale(152.63)}var ch=[[[[-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 xf(){return Qi(Se,ch).scale(169.529)}var Cu=[[[[-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 ls(){return Qi(Se,Cu).scale(169.529).rotate([20,0])}var _f=[[[[-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 Za(){return Qi(pr,_f,pe).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var ic=[[[[-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 Ko(){return Qi(Be,ic).scale(152.63).rotate([-20,0])}function us(et,rt){return[3/b*et*F(w*w/3-rt*rt),rt]}function Cl(){return(0,d.Z)(us).scale(158.837)}function Wi(et){function rt(ct,vt){if(g(g(vt)-k)2)return null;var Mt=(ct/=2)*ct,$=(vt/=2)*vt,ee=2*vt/(1+Mt+$);return ee=l((1+ee)/(1-ee),1/et),[M(2*ct,1-Mt-$)/et,R((ee-1)/(ee+1))]},rt}function El(){var et=.5,rt=(0,d.r)(Wi),ct=rt(et);return ct.spacing=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(124.75)}us.invert=function(et,rt){return[b/3*et/F(w*w/3-rt*rt),rt]};var gs=w/A;function Is(et,rt){return[et*(1+F(v(rt)))/2,rt/(v(rt/2)*v(et/6))]}function qs(){return(0,d.Z)(Is).scale(97.2672)}function ac(et,rt){var ct=et*et,vt=rt*rt;return[et*(.975534+vt*(-.0143059*ct-.119161+-.0547009*vt)),rt*(1.00384+ct*(.0802894+-.02855*vt+199025e-9*ct)+vt*(.0998909+-.0491032*vt))]}function fh(){return(0,d.Z)(ac).scale(139.98)}function ol(et,rt){return[m(et)/v(rt),_(rt)*v(et)]}function hh(){return(0,d.Z)(ol).scale(144.049).clipAngle(89.999)}function dh(et){var rt=v(et),ct=_(E+et/2);function vt(St,Mt){var $=Mt-et,ee=g($)=0;)He=(Re=et[Te])[0]+K*(Mt=He)-le*Ze,Ze=Re[1]+K*Ze+le*Mt;return[He=K*(Mt=He)-le*Ze,Ze=K*Ze+le*Mt]}return ct.invert=function(vt,St){var Mt=20,$=vt,ee=St;do{for(var K,le=rt,Te=et[le],Re=Te[0],He=Te[1],Ze=0,at=0;--le>=0;)Ze=Re+$*(K=Ze)-ee*at,at=He+$*at+ee*K,Re=(Te=et[le])[0]+$*(K=Re)-ee*He,He=Te[1]+$*He+ee*K;var Tt,At,se=(Ze=Re+$*(K=Ze)-ee*at)*Ze+(at=He+$*at+ee*K)*at;$-=Tt=((Re=$*(K=Re)-ee*He-vt)*Ze+(He=$*He+ee*K-St)*at)/se,ee-=At=(He*Ze-Re*at)/se}while(g(Tt)+g(At)>1e-12&&--Mt>0);if(Mt){var ve=F($*$+ee*ee),Ie=2*i(.5*ve),Fe=m(Ie);return[M($*Fe,ve*v(Ie)),ve?R(ee*Fe/ve):0]}},ct}Is.invert=function(et,rt){var ct=g(et),vt=g(rt),St=y,Mt=k;vty||g(At)>y)&&--St>0);return St&&[ct,vt]},ol.invert=function(et,rt){var ct=et*et,vt=rt*rt+1,St=ct+vt,Mt=et?T*F((St-F(St*St-4*ct))/ct):1/F(vt);return[R(et*Mt),f(rt)*z(Mt)]},wf.invert=function(et,rt){return[et,2.5*i(p(.8*rt))-.625*w]};var sl=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],ll=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Eu=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],ul=[[.9245,0],[0,0],[.01943,0]],kf=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Mf(){return Kl(sl,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function Xl(){return Kl(ll,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function jc(){return Kl(Eu,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Ll(){return Kl(ul,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Lu(){return Kl(kf,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Kl(et,rt){var ct=(0,d.Z)(Tf(et)).rotate(rt).clipAngle(90),vt=(0,st.Z)(rt),St=ct.center;return delete ct.rotate,ct.center=function(Mt){return arguments.length?St(vt(Mt)):vt.invert(St())},ct}var cl=F(6),qi=F(7);function Il(et,rt){var ct=R(7*m(rt)/(3*cl));return[cl*et*(2*v(2*ct/3)-1)/qi,9*m(ct/3)/qi]}function Zh(){return(0,d.Z)(Il).scale(164.859)}function Uc(et,rt){for(var ct,vt=(1+T)*m(rt),St=rt,Mt=0;Mt<25&&(St-=ct=(m(St/2)+m(St)-vt)/(.5*v(St/2)+v(St)),!(g(ct)C&&--ee>0);return[et/(.84719-.13063*(vt=$*$)+(Mt=vt*(St=vt*vt))*Mt*(.05494*vt-.04515-.02326*St+.00331*Mt)),$]},Ou.invert=function(et,rt){for(var ct=rt/2,vt=0,St=1/0;vt<10&&g(St)>y;++vt){var Mt=v(rt/2);rt-=St=(rt-_(rt/2)-ct)/(1-.5/(Mt*Mt))}return[2*et/(1+v(rt)),rt]};var Ql=[[[[-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 eu(){return Qi(ce(1/0),Ql).rotate([20,0]).scale(152.63)}function Pu(et,rt){var ct=m(rt),vt=v(rt),St=f(et);if(et===0||g(rt)===k)return[0,rt];if(rt===0)return[et,0];if(g(et)===k)return[et*vt,k*ct];var Mt=w/(2*et)-2*et/w,$=2*rt/w,ee=(1-$*$)/(ct-$),K=Mt*Mt,le=ee*ee,Te=1+K/le,Re=1+le/K,He=(Mt*ct/ee-Mt/2)/Te,Ze=(le*ct/K+ee/2)/Re,at=Ze*Ze-(le*ct*ct/K+ee*ct-1)/Re;return[k*(He+F(He*He+vt*vt/Te)*St),k*(Ze+F(at<0?0:at)*f(-rt*Mt)*St)]}function uc(){return(0,d.Z)(Pu).scale(127.267)}Pu.invert=function(et,rt){var ct=(et/=k)*et,vt=ct+(rt/=k)*rt,St=w*w;return[et?(vt-1+F((1-vt)*(1-vt)+4*ct))/(2*et)*k:0,me(function(Mt){return vt*(w*m(Mt)-2*Mt)*w+4*Mt*Mt*(rt-m(Mt))+2*w*Mt-St*rt},0)]};var cc=1.0148,ys=.23185,fc=-.14499,hc=.02406,Sf=1.790857183;function Ol(et,rt){var ct=rt*rt;return[et,rt*(cc+ct*ct*(ys+ct*(fc+hc*ct)))]}function Hc(){return(0,d.Z)(Ol).scale(139.319)}function dc(et,rt){if(g(rt)Sf?rt=Sf:rt<-1.790857183&&(rt=-1.790857183);var ct,vt=rt;do{var St=vt*vt;vt-=ct=(vt*(cc+St*St*(ys+St*(fc+hc*St)))-rt)/(1.0148+St*St*(1.1592500000000001+St*(.21654*St-1.01493)))}while(g(ct)>y);return[et,vt]},dc.invert=function(et,rt){if(g(rt)y&&--Mt>0);return $=_(St),[(g(rt)=0;)if(tt=qe[Ut],Xe[0]===tt[0]&&Xe[1]===tt[1]){if(gt)return[gt,Xe];gt=Xe}}}(K.face,le.face),Re=(Tt=Te.map(le.project),At=Te.map(K.project),se=nu(Tt[1],Tt[0]),ve=nu(At[1],At[0]),Ie=function(Ue,qe){return M(Ue[0]*qe[1]-Ue[1]*qe[0],Ue[0]*qe[0]+Ue[1]*qe[1])}(se,ve),Fe=ea(se)/ea(ve),tu([1,0,Tt[0][0],0,1,Tt[0][1]],tu([Fe,0,0,0,Fe,0],tu([v(Ie),m(Ie),0,-m(Ie),v(Ie),0],[1,0,-At[0][0],0,1,-At[0][1]]))));K.transform=le.transform?tu(le.transform,Re):Re;for(var He=le.edges,Ze=0,at=He.length;Ze0?[-vt[0],0]:[180-vt[0],180])};var rt=$s.map(function(ct){return{face:ct,project:et(ct)}});return[-1,0,0,1,0,1,4,5].forEach(function(ct,vt){var St=rt[ct];St&&(St.children||(St.children=[])).push(rt[vt])}),Pl(rt[0],function(ct,vt){return rt[ct<-w/2?vt<0?6:4:ct<0?vt<0?2:0:ctK^ve>K&&ee<(se-at)*(K-Tt)/(ve-Tt)+at&&(le=!le)}return le}(St[0],vt))return St.push(ct),!0})||et.push([ct])}),Vo=[],et.length?et.length>1?{type:"MultiPolygon",coordinates:et}:{type:"Polygon",coordinates:et[0]}:null}};function Jo(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=g(vt)0?vt-w:vt+w,St),ee=($[0]-$[1])*T,K=($[0]+$[1])*T;if(Mt)return[ee,K];var le=rt*T,Te=ee>0^K>0?-1:1;return[Te*ee-f(K)*le,Te*K-f(ee)*le]}return et.invert&&(ct.invert=function(vt,St){var Mt=(vt+St)*T,$=(St-vt)*T,ee=g(Mt)<.5*rt&&g($)<.5*rt;if(!ee){var K=rt*T,le=Mt>0^$>0?-1:1,Te=-le*vt+($>0?1:-1)*K,Re=-le*St+(Mt>0?1:-1)*K;Mt=(-Te-Re)*T,$=(Te-Re)*T}var He=et.invert(Mt,$);return ee||(He[0]+=Mt>0?w:-w),He}),(0,d.Z)(ct).rotate([-90,-90,45]).clipAngle(179.999)}function Wc(){return Jo(Zn).scale(176.423)}function qc(){return Jo(Pn).scale(111.48)}function Po(et,rt){if(!(0<=(rt=+rt)&&rt<=20))throw new Error("invalid digits");function ct(le){var Te=le.length,Re=2,He=new Array(Te);for(He[0]=+le[0].toFixed(rt),He[1]=+le[1].toFixed(rt);Re2||Ze[0]!=Te[0]||Ze[1]!=Te[1])&&(Re.push(Ze),Te=Ze)}return Re.length===1&&le.length>1&&Re.push(ct(le[le.length-1])),Re}function Mt(le){return le.map(St)}function $(le){if(le==null)return le;var Te;switch(le.type){case"GeometryCollection":Te={type:"GeometryCollection",geometries:le.geometries.map($)};break;case"Point":Te={type:"Point",coordinates:ct(le.coordinates)};break;case"MultiPoint":Te={type:le.type,coordinates:vt(le.coordinates)};break;case"LineString":Te={type:le.type,coordinates:St(le.coordinates)};break;case"MultiLineString":case"Polygon":Te={type:le.type,coordinates:Mt(le.coordinates)};break;case"MultiPolygon":Te={type:"MultiPolygon",coordinates:le.coordinates.map(Mt)};break;default:return le}return le.bbox!=null&&(Te.bbox=le.bbox),Te}function ee(le){var Te={type:"Feature",properties:le.properties,geometry:$(le.geometry)};return le.id!=null&&(Te.id=le.id),le.bbox!=null&&(Te.bbox=le.bbox),Te}if(et!=null)switch(et.type){case"Feature":return ee(et);case"FeatureCollection":var K={type:"FeatureCollection",features:et.features.map(ee)};return et.bbox!=null&&(K.bbox=et.bbox),K;default:return $(et)}return et}function Br(et){var rt=m(et);function ct(vt,St){var Mt=rt?_(vt*rt/2)/rt:vt/2;if(!St)return[2*Mt,-et];var $=2*i(Mt*m(St)),ee=1/_(St);return[m($)*ee,St+(1-v($))*ee-et]}return ct.invert=function(vt,St){if(g(St+=et)y&&--K>0);var He=vt*(le=_(ee)),Ze=_(g(St)0?k:-k)*(le+Mt*(Re-ee)/2+Mt*Mt*(Re-2*le+ee)/2)]}function Ru(){return(0,d.Z)($c).scale(152.63)}function zu(et,rt){var ct=function($){function ee(K,le){var Te=v(le),Re=($-1)/($-Te*v(K));return[Re*Te*m(K),Re*m(le)]}return ee.invert=function(K,le){var Te=K*K+le*le,Re=F(Te),He=($-F(1-Te*($+1)/($-1)))/(($-1)/Re+Re/($-1));return[M(K*He,Re*F(1-He*He)),Re?R(le*He/Re):0]},ee}(et);if(!rt)return ct;var vt=v(rt),St=m(rt);function Mt($,ee){var K=ct($,ee),le=K[1],Te=le*St/(et-1)+vt;return[K[0]*vt/Te,le/Te]}return Mt.invert=function($,ee){var K=(et-1)/(et-1-ee*St);return ct.invert(K*$,K*ee*vt)},Mt}function Fu(){var et=2,rt=0,ct=(0,d.r)(zu),vt=ct(et,rt);return vt.distance=function(St){return arguments.length?ct(et=+St,rt):et},vt.tilt=function(St){return arguments.length?ct(et,rt=St*I):rt*O},vt.scale(432.147).clipAngle(z(1/et)*O-1e-6)}jo.forEach(function(et){et[1]*=1.0144}),$c.invert=function(et,rt){var ct=rt/k,vt=90*ct,St=s(18,g(vt/5)),Mt=c(0,u(St));do{var $=jo[Mt][1],ee=jo[Mt+1][1],K=jo[s(19,Mt+2)][1],le=K-$,Te=K-2*ee+$,Re=2*(g(ct)-ee)/le,He=Te/le,Ze=Re*(1-He*Re*(1-2*He*Re));if(Ze>=0||Mt===1){vt=(rt>=0?5:-5)*(Ze+St);var at,Tt=50;do Ze=(St=s(18,g(vt)/5))-(Mt=u(St)),$=jo[Mt][1],ee=jo[Mt+1][1],K=jo[s(19,Mt+2)][1],vt-=(at=(rt>=0?k:-k)*(ee+Ze*(K-$)/2+Ze*Ze*(K-2*ee+$)/2)-rt)*O;while(g(at)>C&&--Tt>0);break}}while(--Mt>=0);var At=jo[Mt][0],se=jo[Mt+1][0],ve=jo[s(19,Mt+2)][0];return[et/(se+Ze*(ve-At)/2+Ze*Ze*(ve-2*se+At)/2),vt*I]};var Ur=-179.9999,Bu=179.9999,xs=-89.9999,Yc=89.9999;function mc(et){return et.length>0}function yo(et){return et===-90||et===90?[0,et]:[-180,(rt=et,Math.floor(1e4*rt)/1e4)];var rt}function lu(et){var rt=et[0],ct=et[1],vt=!1;return rt<=Ur?(rt=-180,vt=!0):rt>=Bu&&(rt=180,vt=!0),ct<=xs?(ct=-90,vt=!0):ct>=Yc&&(ct=90,vt=!0),vt?[rt,ct]:et}function dl(et){return et.map(lu)}function Qo(et,rt,ct){for(var vt=0,St=et.length;vt=Bu||Te<=xs||Te>=Yc){Mt[$]=lu(K);for(var Re=$+1;ReUr&&Zexs&&at=ee)break;ct.push({index:-1,polygon:rt,ring:Mt=Mt.slice(Re-1)}),Mt[0]=yo(Mt[0][1]),$=-1,ee=Mt.length}}}}function zl(et){var rt,ct,vt,St,Mt,$,ee=et.length,K={},le={};for(rt=0;rt0?w-ee:ee)*O],le=(0,d.Z)(et($)).rotate(K),Te=(0,st.Z)(K),Re=le.center;return delete le.rotate,le.center=function(He){return arguments.length?Re(Te(He)):Te.invert(Re())},le.clipAngle(90)}function gc(et){var rt=v(et);function ct(vt,St){var Mt=(0,ji.M)(vt,St);return Mt[0]*=rt,Mt}return ct.invert=function(vt,St){return ji.M.invert(vt/rt,St)},ct}function cs(){return Ts([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function Ts(et,rt){return Ki(gc,et,rt)}function Zs(et){if(!(et*=2))return re.N;var rt=-et/2,ct=-rt,vt=et*et,St=_(ct),Mt=.5/m(ct);function $(ee,K){var le=z(v(K)*v(ee-rt)),Te=z(v(K)*v(ee-ct));return[((le*=le)-(Te*=Te))/(2*et),(K<0?-1:1)*F(4*vt*Te-(vt-le+Te)*(vt-le+Te))/(2*et)]}return $.invert=function(ee,K){var le,Te,Re=K*K,He=v(F(Re+(le=ee+rt)*le)),Ze=v(F(Re+(le=ee+ct)*le));return[M(Te=He-Ze,le=(He+Ze)*St),(K<0?-1:1)*z(F(le*le+Te*Te)*Mt)]},$}function Uo(){return Yi([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Yi(et,rt){return Ki(Zs,et,rt)}function io(et,rt){if(g(rt)y&&--ee>0);return[f(et)*(F(St*St+4)+St)*w/4,k*$]};var ml=4*w+3*F(3),Ds=2*F(2*w*F(3)/ml),_o=Me(Ds*F(3)/w,Ds,ml/6);function Zc(){return(0,d.Z)(_o).scale(176.84)}function Go(et,rt){return[et*F(1-3*rt*rt/(w*w)),rt]}function Vu(){return(0,d.Z)(Go).scale(152.63)}function vl(et,rt){var ct=v(rt),vt=v(et)*ct,St=1-vt,Mt=v(et=M(m(et)*ct,-m(rt))),$=m(et);return[$*(ct=F(1-vt*vt))-Mt*St,-Mt*ct-$*St]}function ta(){return(0,d.Z)(vl).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}function ua(et,rt){var ct=Y(et,rt);return[(ct[0]+et/k)/2,(ct[1]+rt)/2]}function Xc(){return(0,d.Z)(ua).scale(158.837)}Go.invert=function(et,rt){return[et/F(1-3*rt*rt/(w*w)),rt]},vl.invert=function(et,rt){var ct=(et*et+rt*rt)/-2,vt=F(-ct*(2+ct)),St=rt*ct+et*vt,Mt=et*ct-rt*vt,$=F(Mt*Mt+St*St);return[M(vt*St,$*(1+ct)),$?-R(vt*Mt/$):0]},ua.invert=function(et,rt){var ct=et,vt=rt,St=25;do{var Mt,$=v(vt),ee=m(vt),K=m(2*vt),le=ee*ee,Te=$*$,Re=m(ct),He=v(ct/2),Ze=m(ct/2),at=Ze*Ze,Tt=1-Te*He*He,At=Tt?z($*He)*F(Mt=1/Tt):Mt=0,se=.5*(2*At*$*Ze+ct/k)-et,ve=.5*(At*ee+vt)-rt,Ie=.5*Mt*(Te*at+At*$*He*le)+.5/k,Fe=Mt*(Re*K/4-At*ee*Ze),Ue=.125*Mt*(K*Ze-At*ee*Te*Re),qe=.5*Mt*(le*He+At*at*$)+.5,Xe=Fe*Ue-qe*Ie,tt=(ve*Fe-se*qe)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},33940:function(x,o,t){function d(){return new g}function g(){this.reset()}t.d(o,{Z:function(){return d}}),g.prototype={constructor:g,reset:function(){this.s=this.t=0},add:function(v){M(i,v,this.t),M(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new g;function M(v,p,u){var a=v.s=p+u,c=a-p,s=a-c;v.t=p-s+(u-c)}},97860:function(x,o,t){t.d(o,{L9:function(){return s},ZP:function(){return C},gL:function(){return h}});var d,g,i,M,v,p=t(33940),u=t(39695),a=t(73182),c=t(72736),s=(0,p.Z)(),l=(0,p.Z)(),h={point:a.Z,lineStart:a.Z,lineEnd:a.Z,polygonStart:function(){s.reset(),h.lineStart=f,h.lineEnd=m},polygonEnd:function(){var w=+s;l.add(w<0?u.BZ+w:w),this.lineStart=this.lineEnd=this.point=a.Z},sphere:function(){l.add(u.BZ)}};function f(){h.point=_}function m(){y(d,g)}function _(w,k){h.point=y,d=w,g=k,w*=u.uR,k*=u.uR,i=w,M=(0,u.mC)(k=k/2+u.pu),v=(0,u.O$)(k)}function y(w,k){w*=u.uR,k=(k*=u.uR)/2+u.pu;var E=w-i,T=E>=0?1:-1,A=T*E,L=(0,u.mC)(k),b=(0,u.O$)(k),O=v*b,I=M*L+O*(0,u.mC)(A),R=O*T*(0,u.O$)(A);s.add((0,u.fv)(R,I)),i=w,M=L,v=b}function C(w){return l.reset(),(0,c.Z)(w,h),2*l}},77338:function(x,o,t){t.d(o,{Z:function(){return z}});var d,g,i,M,v,p,u,a,c,s,l=t(33940),h=t(97860),f=t(7620),m=t(39695),_=t(72736),y=(0,l.Z)(),C={point:w,lineStart:E,lineEnd:T,polygonStart:function(){C.point=A,C.lineStart=L,C.lineEnd=b,y.reset(),h.gL.polygonStart()},polygonEnd:function(){h.gL.polygonEnd(),C.point=w,C.lineStart=E,C.lineEnd=T,h.L9<0?(d=-(i=180),g=-(M=90)):y>m.Ho?M=90:y<-m.Ho&&(g=-90),s[0]=d,s[1]=i},sphere:function(){d=-(i=180),g=-(M=90)}};function w(F,B){c.push(s=[d=F,i=F]),BM&&(M=B)}function k(F,B){var N=(0,f.Og)([F*m.uR,B*m.uR]);if(a){var q=(0,f.T5)(a,N),j=[q[1],-q[0],0],Y=(0,f.T5)(j,q);(0,f.iJ)(Y),Y=(0,f.Y1)(Y);var U,G=F-v,W=G>0?1:-1,H=Y[0]*m.RW*W,ne=(0,m.Wn)(G)>180;ne^(W*vM&&(M=U):ne^(W*v<(H=(H+360)%360-180)&&HM&&(M=B)),ne?FO(d,i)&&(i=F):O(F,i)>O(d,i)&&(d=F):i>=d?(Fi&&(i=F)):F>v?O(d,F)>O(d,i)&&(i=F):O(F,i)>O(d,i)&&(d=F)}else c.push(s=[d=F,i=F]);BM&&(M=B),a=N,v=F}function E(){C.point=k}function T(){s[0]=d,s[1]=i,C.point=w,a=null}function A(F,B){if(a){var N=F-v;y.add((0,m.Wn)(N)>180?N+(N>0?360:-360):N)}else p=F,u=B;h.gL.point(F,B),k(F,B)}function L(){h.gL.lineStart()}function b(){A(p,u),h.gL.lineEnd(),(0,m.Wn)(y)>m.Ho&&(d=-(i=180)),s[0]=d,s[1]=i,a=null}function O(F,B){return(B-=F)<0?B+360:B}function I(F,B){return F[0]-B[0]}function R(F,B){return F[0]<=F[1]?F[0]<=B&&B<=F[1]:BO(q[0],q[1])&&(q[1]=j[1]),O(j[0],q[1])>O(q[0],q[1])&&(q[0]=j[0])):Y.push(q=j);for(U=-1/0,B=0,q=Y[N=Y.length-1];B<=N;q=j,++B)j=Y[B],(G=O(q[1],j[0]))>U&&(U=G,d=j[0],i=q[1])}return c=s=null,d===1/0||g===1/0?[[NaN,NaN],[NaN,NaN]]:[[d,g],[i,M]]}},7620:function(x,o,t){t.d(o,{Og:function(){return i},T:function(){return u},T5:function(){return v},Y1:function(){return g},iJ:function(){return a},j9:function(){return M},s0:function(){return p}});var d=t(39695);function g(c){return[(0,d.fv)(c[1],c[0]),(0,d.ZR)(c[2])]}function i(c){var s=c[0],l=c[1],h=(0,d.mC)(l);return[h*(0,d.mC)(s),h*(0,d.O$)(s),(0,d.O$)(l)]}function M(c,s){return c[0]*s[0]+c[1]*s[1]+c[2]*s[2]}function v(c,s){return[c[1]*s[2]-c[2]*s[1],c[2]*s[0]-c[0]*s[2],c[0]*s[1]-c[1]*s[0]]}function p(c,s){c[0]+=s[0],c[1]+=s[1],c[2]+=s[2]}function u(c,s){return[c[0]*s,c[1]*s,c[2]*s]}function a(c){var s=(0,d._b)(c[0]*c[0]+c[1]*c[1]+c[2]*c[2]);c[0]/=s,c[1]/=s,c[2]/=s}},66624:function(x,o,t){t.d(o,{Z:function(){return N}});var d,g,i,M,v,p,u,a,c,s,l,h,f,m,_,y,C=t(39695),w=t(73182),k=t(72736),E={sphere:w.Z,point:T,lineStart:L,lineEnd:I,polygonStart:function(){E.lineStart=R,E.lineEnd=z},polygonEnd:function(){E.lineStart=L,E.lineEnd=I}};function T(q,j){q*=C.uR,j*=C.uR;var Y=(0,C.mC)(j);A(Y*(0,C.mC)(q),Y*(0,C.O$)(q),(0,C.O$)(j))}function A(q,j,Y){++d,i+=(q-i)/d,M+=(j-M)/d,v+=(Y-v)/d}function L(){E.point=b}function b(q,j){q*=C.uR,j*=C.uR;var Y=(0,C.mC)(j);m=Y*(0,C.mC)(q),_=Y*(0,C.O$)(q),y=(0,C.O$)(j),E.point=O,A(m,_,y)}function O(q,j){q*=C.uR,j*=C.uR;var Y=(0,C.mC)(j),U=Y*(0,C.mC)(q),G=Y*(0,C.O$)(q),W=(0,C.O$)(j),H=(0,C.fv)((0,C._b)((H=_*W-y*G)*H+(H=y*U-m*W)*H+(H=m*G-_*U)*H),m*U+_*G+y*W);g+=H,p+=H*(m+(m=U)),u+=H*(_+(_=G)),a+=H*(y+(y=W)),A(m,_,y)}function I(){E.point=T}function R(){E.point=F}function z(){B(h,f),E.point=T}function F(q,j){h=q,f=j,q*=C.uR,j*=C.uR,E.point=B;var Y=(0,C.mC)(j);m=Y*(0,C.mC)(q),_=Y*(0,C.O$)(q),y=(0,C.O$)(j),A(m,_,y)}function B(q,j){q*=C.uR,j*=C.uR;var Y=(0,C.mC)(j),U=Y*(0,C.mC)(q),G=Y*(0,C.O$)(q),W=(0,C.O$)(j),H=_*W-y*G,ne=y*U-m*W,te=m*G-_*U,Z=(0,C._b)(H*H+ne*ne+te*te),X=(0,C.ZR)(Z),Q=Z&&-X/Z;c+=Q*H,s+=Q*ne,l+=Q*te,g+=X,p+=X*(m+(m=U)),u+=X*(_+(_=G)),a+=X*(y+(y=W)),A(m,_,y)}function N(q){d=g=i=M=v=p=u=a=c=s=l=0,(0,k.Z)(q,E);var j=c,Y=s,U=l,G=j*j+Y*Y+U*U;return G0?hf)&&(h+=l*i.BZ));for(var C,w=h;l>0?w>f:w0?g.pi:-g.pi,l=(0,g.Wn)(a-v);(0,g.Wn)(l-g.pi)0?g.ou:-g.ou),i.point(u,p),i.lineEnd(),i.lineStart(),i.point(s,p),i.point(a,p),M=0):u!==s&&l>=g.pi&&((0,g.Wn)(v-u)g.Ho?(0,g.z4)(((0,g.O$)(f)*(C=(0,g.mC)(_))*(0,g.O$)(m)-(0,g.O$)(_)*(y=(0,g.mC)(f))*(0,g.O$)(h))/(y*C*w)):(f+_)/2}(v,p,a,c),i.point(u,p),i.lineEnd(),i.lineStart(),i.point(s,p),M=0),i.point(v=a,p=c),u=s},lineEnd:function(){i.lineEnd(),v=p=NaN},clean:function(){return 2-M}}},function(i,M,v,p){var u;if(i==null)u=v*g.ou,p.point(-g.pi,u),p.point(0,u),p.point(g.pi,u),p.point(g.pi,0),p.point(g.pi,-u),p.point(0,-u),p.point(-g.pi,-u),p.point(-g.pi,0),p.point(-g.pi,u);else if((0,g.Wn)(i[0]-M[0])>g.Ho){var a=i[0]1&&M.push(M.pop().concat(M.shift()))},result:function(){var v=M;return M=[],i=null,v}}}},1457:function(x,o,t){t.d(o,{Z:function(){return p}});var d=t(7620),g=t(7613),i=t(39695),M=t(67108),v=t(97023);function p(u){var a=(0,i.mC)(u),c=6*i.uR,s=a>0,l=(0,i.Wn)(a)>i.Ho;function h(_,y){return(0,i.mC)(_)*(0,i.mC)(y)>a}function f(_,y,C){var w=(0,d.Og)(_),k=(0,d.Og)(y),E=[1,0,0],T=(0,d.T5)(w,k),A=(0,d.j9)(T,T),L=T[0],b=A-L*L;if(!b)return!C&&_;var O=a*A/b,I=-a*L/b,R=(0,d.T5)(E,T),z=(0,d.T)(E,O),F=(0,d.T)(T,I);(0,d.s0)(z,F);var B=R,N=(0,d.j9)(z,B),q=(0,d.j9)(B,B),j=N*N-q*((0,d.j9)(z,z)-1);if(!(j<0)){var Y=(0,i._b)(j),U=(0,d.T)(B,(-N-Y)/q);if((0,d.s0)(U,z),U=(0,d.Y1)(U),!C)return U;var G,W=_[0],H=y[0],ne=_[1],te=y[1];H0^U[1]<((0,i.Wn)(U[0]-W)i.pi^(W<=U[0]&&U[0]<=H)){var Q=(0,d.T)(B,(-N+Y)/q);return(0,d.s0)(Q,z),[U,(0,d.Y1)(Q)]}}}function m(_,y){var C=s?u:i.pi-u,w=0;return _<-C?w|=1:_>C&&(w|=2),y<-C?w|=4:y>C&&(w|=8),w}return(0,v.Z)(h,function(_){var y,C,w,k,E;return{lineStart:function(){k=w=!1,E=1},point:function(T,A){var L,b=[T,A],O=h(T,A),I=s?O?0:m(T,A):O?m(T+(T<0?i.pi:-i.pi),A):0;if(!y&&(k=w=O)&&_.lineStart(),O!==w&&(!(L=f(y,b))||(0,M.Z)(y,L)||(0,M.Z)(b,L))&&(b[2]=1),O!==w)E=0,O?(_.lineStart(),L=f(b,y),_.point(L[0],L[1])):(L=f(y,b),_.point(L[0],L[1],2),_.lineEnd()),y=L;else if(l&&y&&s^O){var R;I&C||!(R=f(b,y,!0))||(E=0,s?(_.lineStart(),_.point(R[0][0],R[0][1]),_.point(R[1][0],R[1][1]),_.lineEnd()):(_.point(R[1][0],R[1][1]),_.lineEnd(),_.lineStart(),_.point(R[0][0],R[0][1],3)))}!O||y&&(0,M.Z)(y,b)||_.point(b[0],b[1]),y=b,w=O,C=I},lineEnd:function(){w&&_.lineEnd(),y=null},clean:function(){return E|(k&&w)<<1}}},function(_,y,C,w){(0,g.m)(w,u,c,C,_,y)},s?[0,-u]:[-i.pi,u-i.pi])}},97023:function(x,o,t){t.d(o,{Z:function(){return p}});var d=t(85272),g=t(46225),i=t(39695),M=t(23071),v=t(33064);function p(c,s,l,h){return function(f){var m,_,y,C=s(f),w=(0,d.Z)(),k=s(w),E=!1,T={point:A,lineStart:b,lineEnd:O,polygonStart:function(){T.point=I,T.lineStart=R,T.lineEnd=z,_=[],m=[]},polygonEnd:function(){T.point=A,T.lineStart=b,T.lineEnd=O,_=(0,v.TS)(_);var F=(0,M.Z)(m,h);_.length?(E||(f.polygonStart(),E=!0),(0,g.Z)(_,a,F,l,f)):F&&(E||(f.polygonStart(),E=!0),f.lineStart(),l(null,null,1,f),f.lineEnd()),E&&(f.polygonEnd(),E=!1),_=m=null},sphere:function(){f.polygonStart(),f.lineStart(),l(null,null,1,f),f.lineEnd(),f.polygonEnd()}};function A(F,B){c(F,B)&&f.point(F,B)}function L(F,B){C.point(F,B)}function b(){T.point=L,C.lineStart()}function O(){T.point=A,C.lineEnd()}function I(F,B){y.push([F,B]),k.point(F,B)}function R(){k.lineStart(),y=[]}function z(){I(y[0][0],y[0][1]),k.lineEnd();var F,B,N,q,j=k.clean(),Y=w.result(),U=Y.length;if(y.pop(),m.push(y),y=null,U)if(1&j){if((B=(N=Y[0]).length-1)>0){for(E||(f.polygonStart(),E=!0),f.lineStart(),F=0;F1&&2&j&&Y.push(Y.pop().concat(Y.shift())),_.push(Y.filter(u))}return T}}function u(c){return c.length>1}function a(c,s){return((c=c.x)[0]<0?c[1]-i.ou-i.Ho:i.ou-c[1])-((s=s.x)[0]<0?s[1]-i.ou-i.Ho:i.ou-s[1])}},87605:function(x,o,t){t.d(o,{Z:function(){return u}});var d=t(39695),g=t(85272),i=t(46225),M=t(33064),v=1e9,p=-v;function u(a,c,s,l){function h(C,w){return a<=C&&C<=s&&c<=w&&w<=l}function f(C,w,k,E){var T=0,A=0;if(C==null||(T=m(C,k))!==(A=m(w,k))||y(C,w)<0^k>0)do E.point(T===0||T===3?a:s,T>1?l:c);while((T=(T+k+4)%4)!==A);else E.point(w[0],w[1])}function m(C,w){return(0,d.Wn)(C[0]-a)0?0:3:(0,d.Wn)(C[0]-s)0?2:1:(0,d.Wn)(C[1]-c)0?1:0:w>0?3:2}function _(C,w){return y(C.x,w.x)}function y(C,w){var k=m(C,1),E=m(w,1);return k!==E?k-E:k===0?w[1]-C[1]:k===1?C[0]-w[0]:k===2?C[1]-w[1]:w[0]-C[0]}return function(C){var w,k,E,T,A,L,b,O,I,R,z,F=C,B=(0,g.Z)(),N={point:q,lineStart:function(){N.point=j,k&&k.push(E=[]),R=!0,I=!1,b=O=NaN},lineEnd:function(){w&&(j(T,A),L&&I&&B.rejoin(),w.push(B.result())),N.point=q,I&&F.lineEnd()},polygonStart:function(){F=B,w=[],k=[],z=!0},polygonEnd:function(){var Y=function(){for(var W=0,H=0,ne=k.length;Hl&&(oe-te)*(l-Z)>(ue-Z)*(a-te)&&++W:ue<=l&&(oe-te)*(l-Z)<(ue-Z)*(a-te)&&--W;return W}(),U=z&&Y,G=(w=(0,M.TS)(w)).length;(U||G)&&(C.polygonStart(),U&&(C.lineStart(),f(null,null,1,C),C.lineEnd()),G&&(0,i.Z)(w,_,Y,f,C),C.polygonEnd()),F=C,w=k=E=null}};function q(Y,U){h(Y,U)&&F.point(Y,U)}function j(Y,U){var G=h(Y,U);if(k&&E.push([Y,U]),R)T=Y,A=U,L=G,R=!1,G&&(F.lineStart(),F.point(Y,U));else if(G&&I)F.point(Y,U);else{var W=[b=Math.max(p,Math.min(v,b)),O=Math.max(p,Math.min(v,O))],H=[Y=Math.max(p,Math.min(v,Y)),U=Math.max(p,Math.min(v,U))];(function(ne,te,Z,X,Q,re){var ie,oe=ne[0],ue=ne[1],ce=0,ye=1,de=te[0]-oe,me=te[1]-ue;if(ie=Z-oe,de||!(ie>0)){if(ie/=de,de<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=Q-oe,de||!(ie<0)){if(ie/=de,de<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(de>0){if(ie0)){if(ie/=me,me<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=re-ue,me||!(ie<0)){if(ie/=me,me<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(me>0){if(ie0&&(ne[0]=oe+ce*de,ne[1]=ue+ce*me),ye<1&&(te[0]=oe+ye*de,te[1]=ue+ye*me),!0}}}}})(W,H,a,c,s,l)?(I||(F.lineStart(),F.point(W[0],W[1])),F.point(H[0],H[1]),G||F.lineEnd(),z=!1):G&&(F.lineStart(),F.point(Y,U),z=!1)}b=Y,O=U,I=G}return N}}},46225:function(x,o,t){t.d(o,{Z:function(){return M}});var d=t(67108),g=t(39695);function i(p,u,a,c){this.x=p,this.z=u,this.o=a,this.e=c,this.v=!1,this.n=this.p=null}function M(p,u,a,c,s){var l,h,f=[],m=[];if(p.forEach(function(E){if(!((T=E.length-1)<=0)){var T,A,L=E[0],b=E[T];if((0,d.Z)(L,b)){if(!L[2]&&!b[2]){for(s.lineStart(),l=0;l=0;--l)s.point((y=_[l])[0],y[1]);else c(w.x,w.p.x,-1,s);w=w.p}_=(w=w.o).z,k=!k}while(!w.v);s.lineEnd()}}}function v(p){if(u=p.length){for(var u,a,c=0,s=p[0];++c0&&(Un=O(Kt[Jn],Kt[Jn-1]))>0&&On<=Un&&Ln<=Un&&(On+Ln-Un)*(1-Math.pow((On-Ln)/Un,2))m.Ho}).map(gr)).concat((0,U.w6)((0,m.mD)(Jn/fn)*fn,Un,fn).filter(function(gn){return(0,m.Wn)(gn%Dn)>m.Ho}).map(nn))}return mn.lines=function(){return wn().map(function(gn){return{type:"LineString",coordinates:gn}})},mn.outline=function(){return{type:"Polygon",coordinates:[Pn(Ln).concat(jt(Zn).slice(1),Pn(On).reverse().slice(1),jt(tr).reverse().slice(1))]}},mn.extent=function(gn){return arguments.length?mn.extentMajor(gn).extentMinor(gn):mn.extentMinor()},mn.extentMajor=function(gn){return arguments.length?(Ln=+gn[0][0],On=+gn[1][0],tr=+gn[0][1],Zn=+gn[1][1],Ln>On&&(gn=Ln,Ln=On,On=gn),tr>Zn&&(gn=tr,tr=Zn,Zn=gn),mn.precision(En)):[[Ln,tr],[On,Zn]]},mn.extentMinor=function(gn){return arguments.length?(bn=+gn[0][0],Kt=+gn[1][0],Jn=+gn[0][1],Un=+gn[1][1],bn>Kt&&(gn=bn,bn=Kt,Kt=gn),Jn>Un&&(gn=Jn,Jn=Un,Un=gn),mn.precision(En)):[[bn,Jn],[Kt,Un]]},mn.step=function(gn){return arguments.length?mn.stepMajor(gn).stepMinor(gn):mn.stepMinor()},mn.stepMajor=function(gn){return arguments.length?(zn=+gn[0],Dn=+gn[1],mn):[zn,Dn]},mn.stepMinor=function(gn){return arguments.length?(Jt=+gn[0],fn=+gn[1],mn):[Jt,fn]},mn.precision=function(gn){return arguments.length?(En=+gn,gr=G(Jn,Un,90),nn=W(bn,Kt,En),Pn=G(tr,Zn,90),jt=W(Ln,On,En),mn):En},mn.extentMajor([[-180,-90+m.Ho],[180,90-m.Ho]]).extentMinor([[-180,-80-m.Ho],[180,80+m.Ho]])}function ne(){return H()()}var te,Z,X,Q,re=t(83074),ie=t(8593),oe=(0,f.Z)(),ue=(0,f.Z)(),ce={point:_.Z,lineStart:_.Z,lineEnd:_.Z,polygonStart:function(){ce.lineStart=ye,ce.lineEnd=pe},polygonEnd:function(){ce.lineStart=ce.lineEnd=ce.point=_.Z,oe.add((0,m.Wn)(ue)),ue.reset()},result:function(){var Kt=oe/2;return oe.reset(),Kt}};function ye(){ce.point=de}function de(Kt,bn){ce.point=me,te=X=Kt,Z=Q=bn}function me(Kt,bn){ue.add(Q*Kt-X*bn),X=Kt,Q=bn}function pe(){me(te,Z)}var xe,Pe,_e,Me,Se=ce,Ce=t(3559),ae=0,he=0,be=0,ke=0,Le=0,Be=0,ze=0,je=0,ge=0,we={point:Ee,lineStart:Ve,lineEnd:st,polygonStart:function(){we.lineStart=ot,we.lineEnd=ft},polygonEnd:function(){we.point=Ee,we.lineStart=Ve,we.lineEnd=st},result:function(){var Kt=ge?[ze/ge,je/ge]:Be?[ke/Be,Le/Be]:be?[ae/be,he/be]:[NaN,NaN];return ae=he=be=ke=Le=Be=ze=je=ge=0,Kt}};function Ee(Kt,bn){ae+=Kt,he+=bn,++be}function Ve(){we.point=Ye}function Ye(Kt,bn){we.point=$e,Ee(_e=Kt,Me=bn)}function $e(Kt,bn){var On=Kt-_e,Ln=bn-Me,Un=(0,m._b)(On*On+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,Ee(_e=Kt,Me=bn)}function st(){we.point=Ee}function ot(){we.point=bt}function ft(){Et(xe,Pe)}function bt(Kt,bn){we.point=Et,Ee(xe=_e=Kt,Pe=Me=bn)}function Et(Kt,bn){var On=Kt-_e,Ln=bn-Me,Un=(0,m._b)(On*On+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,ze+=(Un=Me*Kt-_e*bn)*(_e+Kt),je+=Un*(Me+bn),ge+=3*Un,Ee(_e=Kt,Me=bn)}var kt=we;function xt(Kt){this._context=Kt}xt.prototype={_radius:4.5,pointRadius:function(Kt){return this._radius=Kt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._context.moveTo(Kt,bn),this._point=1;break;case 1:this._context.lineTo(Kt,bn);break;default:this._context.moveTo(Kt+this._radius,bn),this._context.arc(Kt,bn,this._radius,0,m.BZ)}},result:_.Z};var Ft,Dt,Bt,Wt,Vt,Ke=(0,f.Z)(),Je={point:_.Z,lineStart:function(){Je.point=We},lineEnd:function(){Ft&&nt(Dt,Bt),Je.point=_.Z},polygonStart:function(){Ft=!0},polygonEnd:function(){Ft=null},result:function(){var Kt=+Ke;return Ke.reset(),Kt}};function We(Kt,bn){Je.point=nt,Dt=Wt=Kt,Bt=Vt=bn}function nt(Kt,bn){Wt-=Kt,Vt-=bn,Ke.add((0,m._b)(Wt*Wt+Vt*Vt)),Wt=Kt,Vt=bn}var ht=Je;function Oe(){this._string=[]}function Ne(Kt){return"m0,"+Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+-2*Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+2*Kt+"z"}function Qe(Kt,bn){var On,Ln,Un=4.5;function Jn(Zn){return Zn&&(typeof Un=="function"&&Ln.pointRadius(+Un.apply(this,arguments)),(0,y.Z)(Zn,On(Ln))),Ln.result()}return Jn.area=function(Zn){return(0,y.Z)(Zn,On(Se)),Se.result()},Jn.measure=function(Zn){return(0,y.Z)(Zn,On(ht)),ht.result()},Jn.bounds=function(Zn){return(0,y.Z)(Zn,On(Ce.Z)),Ce.Z.result()},Jn.centroid=function(Zn){return(0,y.Z)(Zn,On(kt)),kt.result()},Jn.projection=function(Zn){return arguments.length?(On=Zn==null?(Kt=null,ie.Z):(Kt=Zn).stream,Jn):Kt},Jn.context=function(Zn){return arguments.length?(Ln=Zn==null?(bn=null,new Oe):new xt(bn=Zn),typeof Un!="function"&&Ln.pointRadius(Un),Jn):bn},Jn.pointRadius=function(Zn){return arguments.length?(Un=typeof Zn=="function"?Zn:(Ln.pointRadius(+Zn),+Zn),Jn):Un},Jn.projection(Kt).context(bn)}Oe.prototype={_radius:4.5,_circle:Ne(4.5),pointRadius:function(Kt){return(Kt=+Kt)!==this._radius&&(this._radius=Kt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._string.push("M",Kt,",",bn),this._point=1;break;case 1:this._string.push("L",Kt,",",bn);break;default:this._circle==null&&(this._circle=Ne(this._radius)),this._string.push("M",Kt,",",bn,this._circle)}},result:function(){if(this._string.length){var Kt=this._string.join("");return this._string=[],Kt}return null}};var ut=t(15002);function pt(Kt){var bn=0,On=m.pi/3,Ln=(0,ut.r)(Kt),Un=Ln(bn,On);return Un.parallels=function(Jn){return arguments.length?Ln(bn=Jn[0]*m.uR,On=Jn[1]*m.uR):[bn*m.RW,On*m.RW]},Un}function _t(Kt,bn){var On=(0,m.O$)(Kt),Ln=(On+(0,m.O$)(bn))/2;if((0,m.Wn)(Ln)=.12&&En<.234&&Dn>=-.425&&Dn<-.214?tr:En>=.166&&En<.234&&Dn>=-.214&&Dn<-.115?gr:Zn).invert(Jt)},Pn.stream=function(Jt){return Kt&&bn===Jt?Kt:(fn=[Zn.stream(bn=Jt),tr.stream(Jt),gr.stream(Jt)],zn=fn.length,Kt={point:function(Dn,En){for(var mn=-1;++mn0?tr<-m.ou+m.Ho&&(tr=-m.ou+m.Ho):tr>m.ou-m.Ho&&(tr=m.ou-m.Ho);var gr=Un/(0,m.sQ)(Qt(tr),Ln);return[gr*(0,m.O$)(Ln*Zn),Un-gr*(0,m.mC)(Ln*Zn)]}return Jn.invert=function(Zn,tr){var gr=Un-tr,nn=(0,m.Xx)(Ln)*(0,m._b)(Zn*Zn+gr*gr),Pn=(0,m.fv)(Zn,(0,m.Wn)(gr))*(0,m.Xx)(gr);return gr*Ln<0&&(Pn-=m.pi*(0,m.Xx)(Zn)*(0,m.Xx)(gr)),[Pn/Ln,2*(0,m.z4)((0,m.sQ)(Un/nn,1/Ln))-m.ou]},Jn}function xn(){return pt(rn).scale(109.5).parallels([30,30])}$t.invert=function(Kt,bn){return[Kt,2*(0,m.z4)((0,m.Qq)(bn))-m.ou]};var un=t(97492);function An(Kt,bn){var On=(0,m.mC)(Kt),Ln=Kt===bn?(0,m.O$)(Kt):(On-(0,m.mC)(bn))/(bn-Kt),Un=On/Ln+Kt;if((0,m.Wn)(Ln)2?Ln[2]+90:90]):[(Ln=On())[0],Ln[1],Ln[2]-90]},On([0,0,90]).scale(159.155)}br.invert=(0,Lr.O)(function(Kt){return 2*(0,m.z4)(Kt)}),yr.invert=function(Kt,bn){return[-bn,2*(0,m.z4)((0,m.Qq)(Kt))-m.ou]}},83074:function(x,o,t){t.d(o,{Z:function(){return g}});var d=t(39695);function g(i,M){var v=i[0]*d.uR,p=i[1]*d.uR,u=M[0]*d.uR,a=M[1]*d.uR,c=(0,d.mC)(p),s=(0,d.O$)(p),l=(0,d.mC)(a),h=(0,d.O$)(a),f=c*(0,d.mC)(v),m=c*(0,d.O$)(v),_=l*(0,d.mC)(u),y=l*(0,d.O$)(u),C=2*(0,d.ZR)((0,d._b)((0,d.Jy)(a-p)+c*l*(0,d.Jy)(u-v))),w=(0,d.O$)(C),k=C?function(E){var T=(0,d.O$)(E*=C)/w,A=(0,d.O$)(C-E)/w,L=A*f+T*_,b=A*m+T*y,O=A*s+T*h;return[(0,d.fv)(b,L)*d.RW,(0,d.fv)(O,(0,d._b)(L*L+b*b))*d.RW]}:function(){return[v*d.RW,p*d.RW]};return k.distance=C,k}},39695:function(x,o,t){t.d(o,{BZ:function(){return p},Ho:function(){return d},Jy:function(){return L},Kh:function(){return T},O$:function(){return C},OR:function(){return E},Qq:function(){return m},RW:function(){return u},Wn:function(){return c},Xx:function(){return w},ZR:function(){return A},_b:function(){return k},aW:function(){return g},cM:function(){return _},fv:function(){return l},mC:function(){return h},mD:function(){return f},ou:function(){return M},pi:function(){return i},pu:function(){return v},sQ:function(){return y},uR:function(){return a},z4:function(){return s}});var d=1e-6,g=1e-12,i=Math.PI,M=i/2,v=i/4,p=2*i,u=180/i,a=i/180,c=Math.abs,s=Math.atan,l=Math.atan2,h=Math.cos,f=Math.ceil,m=Math.exp,_=Math.log,y=Math.pow,C=Math.sin,w=Math.sign||function(b){return b>0?1:b<0?-1:0},k=Math.sqrt,E=Math.tan;function T(b){return b>1?0:b<-1?i:Math.acos(b)}function A(b){return b>1?M:b<-1?-M:Math.asin(b)}function L(b){return(b=C(b/2))*b}},73182:function(x,o,t){function d(){}t.d(o,{Z:function(){return d}})},3559:function(x,o,t){var d=t(73182),g=1/0,i=g,M=-g,v=M,p={point:function(u,a){uM&&(M=u),av&&(v=a)},lineStart:d.Z,lineEnd:d.Z,polygonStart:d.Z,polygonEnd:d.Z,result:function(){var u=[[g,i],[M,v]];return M=v=-(i=g=1/0),u}};o.Z=p},67108:function(x,o,t){t.d(o,{Z:function(){return g}});var d=t(39695);function g(i,M){return(0,d.Wn)(i[0]-M[0])=0?1:-1,q=N*B,j=q>i.pi,Y=A*z;if(M.add((0,i.fv)(Y*N*(0,i.O$)(q),L*F+Y*(0,i.mC)(q))),f+=j?B+N*i.BZ:B,j^E>=c^I>=c){var U=(0,g.T5)((0,g.Og)(k),(0,g.Og)(O));(0,g.iJ)(U);var G=(0,g.T5)(h,U);(0,g.iJ)(G);var W=(j^B>=0?-1:1)*(0,i.ZR)(G[2]);(s>W||s===W&&(U[0]||U[1]))&&(m+=j^B>=0?1:-1)}}return(f<-i.Ho||f4*T&&U--){var te=I+q,Z=R+j,X=z+Y,Q=(0,p._b)(te*te+Z*Z+X*X),re=(0,p.ZR)(X/=Q),ie=(0,p.Wn)((0,p.Wn)(X)-1)T||(0,p.Wn)((W*ye+H*de)/ne-.5)>.3||I*q+R*j+z*Y2?ye[2]%360*p.uR:0,ue()):[Y*p.RW,U*p.RW,G*p.RW]},ie.angle=function(ye){return arguments.length?(W=ye%360*p.uR,ue()):W*p.RW},ie.reflectX=function(ye){return arguments.length?(H=ye?-1:1,ue()):H<0},ie.reflectY=function(ye){return arguments.length?(ne=ye?-1:1,ue()):ne<0},ie.precision=function(ye){return arguments.length?(b=h(O,re=ye*ye),ce()):(0,p._b)(re)},ie.fitExtent=function(ye,de){return(0,c.qg)(ie,ye,de)},ie.fitSize=function(ye,de){return(0,c.mF)(ie,ye,de)},ie.fitWidth=function(ye,de){return(0,c.V6)(ie,ye,de)},ie.fitHeight=function(ye,de){return(0,c.rf)(ie,ye,de)},function(){return k=w.apply(this,arguments),ie.invert=k.invert&&oe,ue()}}},26867:function(x,o,t){t.d(o,{K:function(){return i},Z:function(){return M}});var d=t(15002),g=t(39695);function i(v,p){var u=p*p,a=u*u;return[v*(.8707-.131979*u+a*(a*(.003971*u-.001529*a)-.013791)),p*(1.007226+u*(.015085+a*(.028874*u-.044475-.005916*a)))]}function M(){return(0,d.Z)(i).scale(175.295)}i.invert=function(v,p){var u,a=p,c=25;do{var s=a*a,l=s*s;a-=u=(a*(1.007226+s*(.015085+l*(.028874*s-.044475-.005916*l)))-p)/(1.007226+s*(.045255+l*(.259866*s-.311325-.06507600000000001*l)))}while((0,g.Wn)(u)>g.Ho&&--c>0);return[v/(.8707+(s=a*a)*(s*(s*s*s*(.003971-.001529*s)-.013791)-.131979)),a]}},57962:function(x,o,t){t.d(o,{I:function(){return M},Z:function(){return v}});var d=t(39695),g=t(25382),i=t(15002);function M(p,u){return[(0,d.mC)(u)*(0,d.O$)(p),(0,d.O$)(u)]}function v(){return(0,i.Z)(M).scale(249.5).clipAngle(90+d.Ho)}M.invert=(0,g.O)(d.ZR)},49386:function(x,o,t){t.d(o,{I:function(){return M},Z:function(){return a}});var d=t(96059),g=t(39695);function i(c,s){return[(0,g.Wn)(c)>g.pi?c+Math.round(-c/g.BZ)*g.BZ:c,s]}function M(c,s,l){return(c%=g.BZ)?s||l?(0,d.Z)(p(c),u(s,l)):p(c):s||l?u(s,l):i}function v(c){return function(s,l){return[(s+=c)>g.pi?s-g.BZ:s<-g.pi?s+g.BZ:s,l]}}function p(c){var s=v(c);return s.invert=v(-c),s}function u(c,s){var l=(0,g.mC)(c),h=(0,g.O$)(c),f=(0,g.mC)(s),m=(0,g.O$)(s);function _(y,C){var w=(0,g.mC)(C),k=(0,g.mC)(y)*w,E=(0,g.O$)(y)*w,T=(0,g.O$)(C),A=T*l+k*h;return[(0,g.fv)(E*f-A*m,k*l-T*h),(0,g.ZR)(A*f+E*m)]}return _.invert=function(y,C){var w=(0,g.mC)(C),k=(0,g.mC)(y)*w,E=(0,g.O$)(y)*w,T=(0,g.O$)(C),A=T*f-E*m;return[(0,g.fv)(E*f+T*m,k*l+A*h),(0,g.ZR)(A*l-k*h)]},_}function a(c){function s(l){return(l=c(l[0]*g.uR,l[1]*g.uR))[0]*=g.RW,l[1]*=g.RW,l}return c=M(c[0]*g.uR,c[1]*g.uR,c.length>2?c[2]*g.uR:0),s.invert=function(l){return(l=c.invert(l[0]*g.uR,l[1]*g.uR))[0]*=g.RW,l[1]*=g.RW,l},s}i.invert=i},72736:function(x,o,t){function d(u,a){u&&i.hasOwnProperty(u.type)&&i[u.type](u,a)}t.d(o,{Z:function(){return p}});var g={Feature:function(u,a){d(u.geometry,a)},FeatureCollection:function(u,a){for(var c=u.features,s=-1,l=c.length;++s=0;)ae+=he[be].value;else ae=1;Ce.value=ae}function p(Ce,ae){var he,be,ke,Le,Be,ze=new s(Ce),je=+Ce.value&&(ze.value=Ce.value),ge=[ze];for(ae==null&&(ae=u);he=ge.pop();)if(je&&(he.value=+he.data.value),(ke=ae(he.data))&&(Be=ke.length))for(he.children=new Array(Be),Le=Be-1;Le>=0;--Le)ge.push(be=he.children[Le]=new s(ke[Le])),be.parent=he,be.depth=he.depth+1;return ze.eachBefore(c)}function u(Ce){return Ce.children}function a(Ce){Ce.data=Ce.data.data}function c(Ce){var ae=0;do Ce.height=ae;while((Ce=Ce.parent)&&Ce.height<++ae)}function s(Ce){this.data=Ce,this.depth=this.height=0,this.parent=null}t.r(o),t.d(o,{cluster:function(){return M},hierarchy:function(){return p},pack:function(){return N},packEnclose:function(){return h},packSiblings:function(){return O},partition:function(){return W},stratify:function(){return X},tree:function(){return ye},treemap:function(){return Pe},treemapBinary:function(){return _e},treemapDice:function(){return G},treemapResquarify:function(){return Se},treemapSlice:function(){return de},treemapSliceDice:function(){return Me},treemapSquarify:function(){return xe}}),s.prototype=p.prototype={constructor:s,count:function(){return this.eachAfter(v)},each:function(Ce){var ae,he,be,ke,Le=this,Be=[Le];do for(ae=Be.reverse(),Be=[];Le=ae.pop();)if(Ce(Le),he=Le.children)for(be=0,ke=he.length;be=0;--he)ke.push(ae[he]);return this},sum:function(Ce){return this.eachAfter(function(ae){for(var he=+Ce(ae.data)||0,be=ae.children,ke=be&&be.length;--ke>=0;)he+=be[ke].value;ae.value=he})},sort:function(Ce){return this.eachBefore(function(ae){ae.children&&ae.children.sort(Ce)})},path:function(Ce){for(var ae=this,he=function(Le,Be){if(Le===Be)return Le;var ze=Le.ancestors(),je=Be.ancestors(),ge=null;for(Le=ze.pop(),Be=je.pop();Le===Be;)ge=Le,Le=ze.pop(),Be=je.pop();return ge}(ae,Ce),be=[ae];ae!==he;)ae=ae.parent,be.push(ae);for(var ke=be.length;Ce!==he;)be.splice(ke,0,Ce),Ce=Ce.parent;return be},ancestors:function(){for(var Ce=this,ae=[Ce];Ce=Ce.parent;)ae.push(Ce);return ae},descendants:function(){var Ce=[];return this.each(function(ae){Ce.push(ae)}),Ce},leaves:function(){var Ce=[];return this.eachBefore(function(ae){ae.children||Ce.push(ae)}),Ce},links:function(){var Ce=this,ae=[];return Ce.each(function(he){he!==Ce&&ae.push({source:he.parent,target:he})}),ae},copy:function(){return p(this).eachBefore(a)}};var l=Array.prototype.slice;function h(Ce){for(var ae,he,be=0,ke=(Ce=function(Be){for(var ze,je,ge=Be.length;ge;)je=Math.random()*ge--|0,ze=Be[ge],Be[ge]=Be[je],Be[je]=ze;return Be}(l.call(Ce))).length,Le=[];be0&&he*he>be*be+ke*ke}function y(Ce,ae){for(var he=0;he(Be*=Be)?(be=(ge+Be-ke)/(2*ge),Le=Math.sqrt(Math.max(0,Be/ge-be*be)),he.x=Ce.x-be*ze-Le*je,he.y=Ce.y-be*je+Le*ze):(be=(ge+ke-Be)/(2*ge),Le=Math.sqrt(Math.max(0,ke/ge-be*be)),he.x=ae.x+be*ze-Le*je,he.y=ae.y+be*je+Le*ze)):(he.x=ae.x+he.r,he.y=ae.y)}function T(Ce,ae){var he=Ce.r+ae.r-1e-6,be=ae.x-Ce.x,ke=ae.y-Ce.y;return he>0&&he*he>be*be+ke*ke}function A(Ce){var ae=Ce._,he=Ce.next._,be=ae.r+he.r,ke=(ae.x*he.r+he.x*ae.r)/be,Le=(ae.y*he.r+he.y*ae.r)/be;return ke*ke+Le*Le}function L(Ce){this._=Ce,this.next=null,this.previous=null}function b(Ce){if(!(ke=Ce.length))return 0;var ae,he,be,ke,Le,Be,ze,je,ge,we,Ee;if((ae=Ce[0]).x=0,ae.y=0,!(ke>1))return ae.r;if(he=Ce[1],ae.x=-he.r,he.x=ae.r,he.y=0,!(ke>2))return ae.r+he.r;E(he,ae,be=Ce[2]),ae=new L(ae),he=new L(he),be=new L(be),ae.next=be.previous=he,he.next=ae.previous=be,be.next=he.previous=ae;e:for(ze=3;ze0)throw new Error("cycle");return Be}return he.id=function(be){return arguments.length?(Ce=R(be),he):Ce},he.parentId=function(be){return arguments.length?(ae=R(be),he):ae},he}function Q(Ce,ae){return Ce.parent===ae.parent?1:2}function re(Ce){var ae=Ce.children;return ae?ae[0]:Ce.t}function ie(Ce){var ae=Ce.children;return ae?ae[ae.length-1]:Ce.t}function oe(Ce,ae,he){var be=he/(ae.i-Ce.i);ae.c-=be,ae.s+=he,Ce.c+=be,ae.z+=he,ae.m+=he}function ue(Ce,ae,he){return Ce.a.parent===ae.parent?Ce.a:he}function ce(Ce,ae){this._=Ce,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=ae}function ye(){var Ce=Q,ae=1,he=1,be=null;function ke(je){var ge=function(ft){for(var bt,Et,kt,xt,Ft,Dt=new ce(ft,0),Bt=[Dt];bt=Bt.pop();)if(kt=bt._.children)for(bt.children=new Array(Ft=kt.length),xt=Ft-1;xt>=0;--xt)Bt.push(Et=bt.children[xt]=new ce(kt[xt],xt)),Et.parent=bt;return(Dt.parent=new ce(null,0)).children=[Dt],Dt}(je);if(ge.eachAfter(Le),ge.parent.m=-ge.z,ge.eachBefore(Be),be)je.eachBefore(ze);else{var we=je,Ee=je,Ve=je;je.eachBefore(function(ft){ft.xEe.x&&(Ee=ft),ft.depth>Ve.depth&&(Ve=ft)});var Ye=we===Ee?1:Ce(we,Ee)/2,$e=Ye-we.x,st=ae/(Ee.x+Ye+$e),ot=he/(Ve.depth||1);je.eachBefore(function(ft){ft.x=(ft.x+$e)*st,ft.y=ft.depth*ot})}return je}function Le(je){var ge=je.children,we=je.parent.children,Ee=je.i?we[je.i-1]:null;if(ge){(function(Ye){for(var $e,st=0,ot=0,ft=Ye.children,bt=ft.length;--bt>=0;)($e=ft[bt]).z+=st,$e.m+=st,st+=$e.s+(ot+=$e.c)})(je);var Ve=(ge[0].z+ge[ge.length-1].z)/2;Ee?(je.z=Ee.z+Ce(je._,Ee._),je.m=je.z-Ve):je.z=Ve}else Ee&&(je.z=Ee.z+Ce(je._,Ee._));je.parent.A=function(Ye,$e,st){if($e){for(var ot,ft=Ye,bt=Ye,Et=$e,kt=ft.parent.children[0],xt=ft.m,Ft=bt.m,Dt=Et.m,Bt=kt.m;Et=ie(Et),ft=re(ft),Et&&ft;)kt=re(kt),(bt=ie(bt)).a=Ye,(ot=Et.z+Dt-ft.z-xt+Ce(Et._,ft._))>0&&(oe(ue(Et,Ye,st),Ye,ot),xt+=ot,Ft+=ot),Dt+=Et.m,xt+=ft.m,Bt+=kt.m,Ft+=bt.m;Et&&!ie(bt)&&(bt.t=Et,bt.m+=Dt-Ft),ft&&!re(kt)&&(kt.t=ft,kt.m+=xt-Bt,st=Ye)}return st}(je,Ee,je.parent.A||we[0])}function Be(je){je._.x=je.z+je.parent.m,je.m+=je.parent.m}function ze(je){je.x*=ae,je.y=je.depth*he}return ke.separation=function(je){return arguments.length?(Ce=je,ke):Ce},ke.size=function(je){return arguments.length?(be=!1,ae=+je[0],he=+je[1],ke):be?null:[ae,he]},ke.nodeSize=function(je){return arguments.length?(be=!0,ae=+je[0],he=+je[1],ke):be?[ae,he]:null},ke}function de(Ce,ae,he,be,ke){for(var Le,Be=Ce.children,ze=-1,je=Be.length,ge=Ce.value&&(ke-he)/Ce.value;++zeVe&&(Ve=ze),ot=we*we*st,(Ye=Math.max(Ve/ot,ot/Ee))>$e){we-=ze;break}$e=Ye}ft.push(Be={value:we,dice:je1?be:1)},he}(me);function Pe(){var Ce=xe,ae=!1,he=1,be=1,ke=[0],Le=z,Be=z,ze=z,je=z,ge=z;function we(Ve){return Ve.x0=Ve.y0=0,Ve.x1=he,Ve.y1=be,Ve.eachBefore(Ee),ke=[0],ae&&Ve.eachBefore(U),Ve}function Ee(Ve){var Ye=ke[Ve.depth],$e=Ve.x0+Ye,st=Ve.y0+Ye,ot=Ve.x1-Ye,ft=Ve.y1-Ye;ot<$e&&($e=ot=($e+ot)/2),ft=Ve-1){var bt=ze[Ee];return bt.x0=$e,bt.y0=st,bt.x1=ot,void(bt.y1=ft)}for(var Et=ge[Ee],kt=Ye/2+Et,xt=Ee+1,Ft=Ve-1;xt>>1;ge[Dt]ft-st){var Vt=($e*Wt+ot*Bt)/Ye;we(Ee,xt,Bt,$e,st,Vt,ft),we(xt,Ve,Wt,Vt,st,ot,ft)}else{var Ke=(st*Wt+ft*Bt)/Ye;we(Ee,xt,Bt,$e,st,ot,Ke),we(xt,Ve,Wt,$e,Ke,ot,ft)}})(0,je,Ce.value,ae,he,be,ke)}function Me(Ce,ae,he,be,ke){(1&Ce.depth?de:G)(Ce,ae,he,be,ke)}var Se=function Ce(ae){function he(be,ke,Le,Be,ze){if((je=be._squarify)&&je.ratio===ae)for(var je,ge,we,Ee,Ve,Ye=-1,$e=je.length,st=be.value;++Ye<$e;){for(we=(ge=je[Ye]).children,Ee=ge.value=0,Ve=we.length;Ee1?be:1)},he}(me)},45879:function(x,o,t){t.d(o,{h5:function(){return _}});var d=Math.PI,g=2*d,i=1e-6,M=g-i;function v(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function p(){return new v}v.prototype=p.prototype={constructor:v,moveTo:function(y,C){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+C)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(y,C){this._+="L"+(this._x1=+y)+","+(this._y1=+C)},quadraticCurveTo:function(y,C,w,k){this._+="Q"+ +y+","+ +C+","+(this._x1=+w)+","+(this._y1=+k)},bezierCurveTo:function(y,C,w,k,E,T){this._+="C"+ +y+","+ +C+","+ +w+","+ +k+","+(this._x1=+E)+","+(this._y1=+T)},arcTo:function(y,C,w,k,E){y=+y,C=+C,w=+w,k=+k,E=+E;var T=this._x1,A=this._y1,L=w-y,b=k-C,O=T-y,I=A-C,R=O*O+I*I;if(E<0)throw new Error("negative radius: "+E);if(this._x1===null)this._+="M"+(this._x1=y)+","+(this._y1=C);else if(R>i)if(Math.abs(I*L-b*O)>i&&E){var z=w-T,F=k-A,B=L*L+b*b,N=z*z+F*F,q=Math.sqrt(B),j=Math.sqrt(R),Y=E*Math.tan((d-Math.acos((B+R-N)/(2*q*j)))/2),U=Y/j,G=Y/q;Math.abs(U-1)>i&&(this._+="L"+(y+U*O)+","+(C+U*I)),this._+="A"+E+","+E+",0,0,"+ +(I*z>O*F)+","+(this._x1=y+G*L)+","+(this._y1=C+G*b)}else this._+="L"+(this._x1=y)+","+(this._y1=C)},arc:function(y,C,w,k,E,T){y=+y,C=+C,T=!!T;var A=(w=+w)*Math.cos(k),L=w*Math.sin(k),b=y+A,O=C+L,I=1^T,R=T?k-E:E-k;if(w<0)throw new Error("negative radius: "+w);this._x1===null?this._+="M"+b+","+O:(Math.abs(this._x1-b)>i||Math.abs(this._y1-O)>i)&&(this._+="L"+b+","+O),w&&(R<0&&(R=R%g+g),R>M?this._+="A"+w+","+w+",0,1,"+I+","+(y-A)+","+(C-L)+"A"+w+","+w+",0,1,"+I+","+(this._x1=b)+","+(this._y1=O):R>i&&(this._+="A"+w+","+w+",0,"+ +(R>=d)+","+I+","+(this._x1=y+w*Math.cos(E))+","+(this._y1=C+w*Math.sin(E))))},rect:function(y,C,w,k){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+C)+"h"+ +w+"v"+ +k+"h"+-w+"Z"},toString:function(){return this._}};var u=p,a=Array.prototype.slice;function c(y){return function(){return y}}function s(y){return y[0]}function l(y){return y[1]}function h(y){return y.source}function f(y){return y.target}function m(y,C,w,k,E){y.moveTo(C,w),y.bezierCurveTo(C=(C+k)/2,w,C,E,k,E)}function _(){return function(y){var C=h,w=f,k=s,E=l,T=null;function A(){var L,b=a.call(arguments),O=C.apply(this,b),I=w.apply(this,b);if(T||(T=L=u()),y(T,+k.apply(this,(b[0]=O,b)),+E.apply(this,b),+k.apply(this,(b[0]=I,b)),+E.apply(this,b)),L)return T=null,L+""||null}return A.source=function(L){return arguments.length?(C=L,A):C},A.target=function(L){return arguments.length?(w=L,A):w},A.x=function(L){return arguments.length?(k=typeof L=="function"?L:c(+L),A):k},A.y=function(L){return arguments.length?(E=typeof L=="function"?L:c(+L),A):E},A.context=function(L){return arguments.length?(T=L??null,A):T},A}(m)}},84096:function(x,o,t){t.d(o,{i$:function(){return h},Dq:function(){return s},g0:function(){return f}});var d=t(58176),g=t(48480),i=t(59879),M=t(82301),v=t(34823),p=t(79791);function u(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L);return Ft.setFullYear(xt.y),Ft}return new Date(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L)}function a(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(Date.UTC(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L));return Ft.setUTCFullYear(xt.y),Ft}return new Date(Date.UTC(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L))}function c(xt,Ft,Dt){return{y:xt,m:Ft,d:Dt,H:0,M:0,S:0,L:0}}function s(xt){var Ft=xt.dateTime,Dt=xt.date,Bt=xt.time,Wt=xt.periods,Vt=xt.days,Ke=xt.shortDays,Je=xt.months,We=xt.shortMonths,nt=E(Wt),ht=T(Wt),Oe=E(Vt),Ne=T(Vt),Qe=E(Ke),ut=T(Ke),pt=E(Je),_t=T(Je),It=E(We),Lt=T(We),yt={a:function(qt){return Ke[qt.getDay()]},A:function(qt){return Vt[qt.getDay()]},b:function(qt){return We[qt.getMonth()]},B:function(qt){return Je[qt.getMonth()]},c:null,d:X,e:X,f:ue,H:Q,I:re,j:ie,L:oe,m:ce,M:ye,p:function(qt){return Wt[+(qt.getHours()>=12)]},q:function(qt){return 1+~~(qt.getMonth()/3)},Q:Et,s:kt,S:de,u:me,U:pe,V:xe,w:Pe,W:_e,x:null,X:null,y:Me,Y:Se,Z:Ce,"%":bt},Pt={a:function(qt){return Ke[qt.getUTCDay()]},A:function(qt){return Vt[qt.getUTCDay()]},b:function(qt){return We[qt.getUTCMonth()]},B:function(qt){return Je[qt.getUTCMonth()]},c:null,d:ae,e:ae,f:Be,H:he,I:be,j:ke,L:Le,m:ze,M:je,p:function(qt){return Wt[+(qt.getUTCHours()>=12)]},q:function(qt){return 1+~~(qt.getUTCMonth()/3)},Q:Et,s:kt,S:ge,u:we,U:Ee,V:Ve,w:Ye,W:$e,x:null,X:null,y:st,Y:ot,Z:ft,"%":bt},wt={a:function(qt,Xt,Qt){var rn=Qe.exec(Xt.slice(Qt));return rn?(qt.w=ut[rn[0].toLowerCase()],Qt+rn[0].length):-1},A:function(qt,Xt,Qt){var rn=Oe.exec(Xt.slice(Qt));return rn?(qt.w=Ne[rn[0].toLowerCase()],Qt+rn[0].length):-1},b:function(qt,Xt,Qt){var rn=It.exec(Xt.slice(Qt));return rn?(qt.m=Lt[rn[0].toLowerCase()],Qt+rn[0].length):-1},B:function(qt,Xt,Qt){var rn=pt.exec(Xt.slice(Qt));return rn?(qt.m=_t[rn[0].toLowerCase()],Qt+rn[0].length):-1},c:function(qt,Xt,Qt){return $t(qt,Ft,Xt,Qt)},d:q,e:q,f:H,H:Y,I:Y,j,L:W,m:N,M:U,p:function(qt,Xt,Qt){var rn=nt.exec(Xt.slice(Qt));return rn?(qt.p=ht[rn[0].toLowerCase()],Qt+rn[0].length):-1},q:B,Q:te,s:Z,S:G,u:L,U:b,V:O,w:A,W:I,x:function(qt,Xt,Qt){return $t(qt,Dt,Xt,Qt)},X:function(qt,Xt,Qt){return $t(qt,Bt,Xt,Qt)},y:z,Y:R,Z:F,"%":ne};function Ot(qt,Xt){return function(Qt){var rn,xn,un,An=[],Yn=-1,kn=0,sn=qt.length;for(Qt instanceof Date||(Qt=new Date(+Qt));++Yn53)return null;"w"in un||(un.w=1),"Z"in un?(xn=(rn=a(c(un.y,0,1))).getUTCDay(),rn=xn>4||xn===0?d.l6.ceil(rn):(0,d.l6)(rn),rn=g.Z.offset(rn,7*(un.V-1)),un.y=rn.getUTCFullYear(),un.m=rn.getUTCMonth(),un.d=rn.getUTCDate()+(un.w+6)%7):(xn=(rn=u(c(un.y,0,1))).getDay(),rn=xn>4||xn===0?i.wA.ceil(rn):(0,i.wA)(rn),rn=M.Z.offset(rn,7*(un.V-1)),un.y=rn.getFullYear(),un.m=rn.getMonth(),un.d=rn.getDate()+(un.w+6)%7)}else("W"in un||"U"in un)&&("w"in un||(un.w="u"in un?un.u%7:"W"in un?1:0),xn="Z"in un?a(c(un.y,0,1)).getUTCDay():u(c(un.y,0,1)).getDay(),un.m=0,un.d="W"in un?(un.w+6)%7+7*un.W-(xn+5)%7:un.w+7*un.U-(xn+6)%7);return"Z"in un?(un.H+=un.Z/100|0,un.M+=un.Z%100,a(un)):u(un)}}function $t(qt,Xt,Qt,rn){for(var xn,un,An=0,Yn=Xt.length,kn=Qt.length;An=kn)return-1;if((xn=Xt.charCodeAt(An++))===37){if(xn=Xt.charAt(An++),!(un=wt[xn in m?Xt.charAt(An++):xn])||(rn=un(qt,Qt,rn))<0)return-1}else if(xn!=Qt.charCodeAt(rn++))return-1}return rn}return yt.x=Ot(Dt,yt),yt.X=Ot(Bt,yt),yt.c=Ot(Ft,yt),Pt.x=Ot(Dt,Pt),Pt.X=Ot(Bt,Pt),Pt.c=Ot(Ft,Pt),{format:function(qt){var Xt=Ot(qt+="",yt);return Xt.toString=function(){return qt},Xt},parse:function(qt){var Xt=Nt(qt+="",!1);return Xt.toString=function(){return qt},Xt},utcFormat:function(qt){var Xt=Ot(qt+="",Pt);return Xt.toString=function(){return qt},Xt},utcParse:function(qt){var Xt=Nt(qt+="",!0);return Xt.toString=function(){return qt},Xt}}}var l,h,f,m={"-":"",_:" ",0:"0"},_=/^\s*\d+/,y=/^%/,C=/[\\^$*+?|[\]().{}]/g;function w(xt,Ft,Dt){var Bt=xt<0?"-":"",Wt=(Bt?-xt:xt)+"",Vt=Wt.length;return Bt+(Vt68?1900:2e3),Dt+Bt[0].length):-1}function F(xt,Ft,Dt){var Bt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ft.slice(Dt,Dt+6));return Bt?(xt.Z=Bt[1]?0:-(Bt[2]+(Bt[3]||"00")),Dt+Bt[0].length):-1}function B(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+1));return Bt?(xt.q=3*Bt[0]-3,Dt+Bt[0].length):-1}function N(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+2));return Bt?(xt.m=Bt[0]-1,Dt+Bt[0].length):-1}function q(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+2));return Bt?(xt.d=+Bt[0],Dt+Bt[0].length):-1}function j(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+3));return Bt?(xt.m=0,xt.d=+Bt[0],Dt+Bt[0].length):-1}function Y(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+2));return Bt?(xt.H=+Bt[0],Dt+Bt[0].length):-1}function U(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+2));return Bt?(xt.M=+Bt[0],Dt+Bt[0].length):-1}function G(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+2));return Bt?(xt.S=+Bt[0],Dt+Bt[0].length):-1}function W(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+3));return Bt?(xt.L=+Bt[0],Dt+Bt[0].length):-1}function H(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+6));return Bt?(xt.L=Math.floor(Bt[0]/1e3),Dt+Bt[0].length):-1}function ne(xt,Ft,Dt){var Bt=y.exec(Ft.slice(Dt,Dt+1));return Bt?Dt+Bt[0].length:-1}function te(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt));return Bt?(xt.Q=+Bt[0],Dt+Bt[0].length):-1}function Z(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt));return Bt?(xt.s=+Bt[0],Dt+Bt[0].length):-1}function X(xt,Ft){return w(xt.getDate(),Ft,2)}function Q(xt,Ft){return w(xt.getHours(),Ft,2)}function re(xt,Ft){return w(xt.getHours()%12||12,Ft,2)}function ie(xt,Ft){return w(1+M.Z.count((0,v.Z)(xt),xt),Ft,3)}function oe(xt,Ft){return w(xt.getMilliseconds(),Ft,3)}function ue(xt,Ft){return oe(xt,Ft)+"000"}function ce(xt,Ft){return w(xt.getMonth()+1,Ft,2)}function ye(xt,Ft){return w(xt.getMinutes(),Ft,2)}function de(xt,Ft){return w(xt.getSeconds(),Ft,2)}function me(xt){var Ft=xt.getDay();return Ft===0?7:Ft}function pe(xt,Ft){return w(i.OM.count((0,v.Z)(xt)-1,xt),Ft,2)}function xe(xt,Ft){var Dt=xt.getDay();return xt=Dt>=4||Dt===0?(0,i.bL)(xt):i.bL.ceil(xt),w(i.bL.count((0,v.Z)(xt),xt)+((0,v.Z)(xt).getDay()===4),Ft,2)}function Pe(xt){return xt.getDay()}function _e(xt,Ft){return w(i.wA.count((0,v.Z)(xt)-1,xt),Ft,2)}function Me(xt,Ft){return w(xt.getFullYear()%100,Ft,2)}function Se(xt,Ft){return w(xt.getFullYear()%1e4,Ft,4)}function Ce(xt){var Ft=xt.getTimezoneOffset();return(Ft>0?"-":(Ft*=-1,"+"))+w(Ft/60|0,"0",2)+w(Ft%60,"0",2)}function ae(xt,Ft){return w(xt.getUTCDate(),Ft,2)}function he(xt,Ft){return w(xt.getUTCHours(),Ft,2)}function be(xt,Ft){return w(xt.getUTCHours()%12||12,Ft,2)}function ke(xt,Ft){return w(1+g.Z.count((0,p.Z)(xt),xt),Ft,3)}function Le(xt,Ft){return w(xt.getUTCMilliseconds(),Ft,3)}function Be(xt,Ft){return Le(xt,Ft)+"000"}function ze(xt,Ft){return w(xt.getUTCMonth()+1,Ft,2)}function je(xt,Ft){return w(xt.getUTCMinutes(),Ft,2)}function ge(xt,Ft){return w(xt.getUTCSeconds(),Ft,2)}function we(xt){var Ft=xt.getUTCDay();return Ft===0?7:Ft}function Ee(xt,Ft){return w(d.Ox.count((0,p.Z)(xt)-1,xt),Ft,2)}function Ve(xt,Ft){var Dt=xt.getUTCDay();return xt=Dt>=4||Dt===0?(0,d.hB)(xt):d.hB.ceil(xt),w(d.hB.count((0,p.Z)(xt),xt)+((0,p.Z)(xt).getUTCDay()===4),Ft,2)}function Ye(xt){return xt.getUTCDay()}function $e(xt,Ft){return w(d.l6.count((0,p.Z)(xt)-1,xt),Ft,2)}function st(xt,Ft){return w(xt.getUTCFullYear()%100,Ft,2)}function ot(xt,Ft){return w(xt.getUTCFullYear()%1e4,Ft,4)}function ft(){return"+0000"}function bt(){return"%"}function Et(xt){return+xt}function kt(xt){return Math.floor(+xt/1e3)}l=s({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"]}),h=l.format,l.parse,f=l.utcFormat,l.utcParse},82301:function(x,o,t){t.d(o,{a:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setHours(0,0,0,0)},function(v,p){v.setDate(v.getDate()+p)},function(v,p){return(p-v-(p.getTimezoneOffset()-v.getTimezoneOffset())*g.yB)/g.UD},function(v){return v.getDate()-1});o.Z=i;var M=i.range},54263:function(x,o,t){t.d(o,{UD:function(){return M},Y2:function(){return i},Ym:function(){return d},iM:function(){return v},yB:function(){return g}});var d=1e3,g=6e4,i=36e5,M=864e5,v=6048e5},81041:function(x,o,t){t.r(o),t.d(o,{timeDay:function(){return _.Z},timeDays:function(){return _.a},timeFriday:function(){return y.mC},timeFridays:function(){return y.b$},timeHour:function(){return f},timeHours:function(){return m},timeInterval:function(){return d.Z},timeMillisecond:function(){return i},timeMilliseconds:function(){return M},timeMinute:function(){return s},timeMinutes:function(){return l},timeMonday:function(){return y.wA},timeMondays:function(){return y.bJ},timeMonth:function(){return w},timeMonths:function(){return k},timeSaturday:function(){return y.EY},timeSaturdays:function(){return y.Ff},timeSecond:function(){return u},timeSeconds:function(){return a},timeSunday:function(){return y.OM},timeSundays:function(){return y.vm},timeThursday:function(){return y.bL},timeThursdays:function(){return y.$t},timeTuesday:function(){return y.sy},timeTuesdays:function(){return y.aU},timeWednesday:function(){return y.zg},timeWednesdays:function(){return y.Ld},timeWeek:function(){return y.OM},timeWeeks:function(){return y.vm},timeYear:function(){return E.Z},timeYears:function(){return E.g},utcDay:function(){return R.Z},utcDays:function(){return R.y},utcFriday:function(){return z.QQ},utcFridays:function(){return z.fz},utcHour:function(){return O},utcHours:function(){return I},utcMillisecond:function(){return i},utcMilliseconds:function(){return M},utcMinute:function(){return A},utcMinutes:function(){return L},utcMonday:function(){return z.l6},utcMondays:function(){return z.$3},utcMonth:function(){return B},utcMonths:function(){return N},utcSaturday:function(){return z.g4},utcSaturdays:function(){return z.Q_},utcSecond:function(){return u},utcSeconds:function(){return a},utcSunday:function(){return z.Ox},utcSundays:function(){return z.SU},utcThursday:function(){return z.hB},utcThursdays:function(){return z.xj},utcTuesday:function(){return z.J1},utcTuesdays:function(){return z.DK},utcWednesday:function(){return z.b3},utcWednesdays:function(){return z.uy},utcWeek:function(){return z.Ox},utcWeeks:function(){return z.SU},utcYear:function(){return q.Z},utcYears:function(){return q.D}});var d=t(30052),g=(0,d.Z)(function(){},function(j,Y){j.setTime(+j+Y)},function(j,Y){return Y-j});g.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?(0,d.Z)(function(Y){Y.setTime(Math.floor(Y/j)*j)},function(Y,U){Y.setTime(+Y+U*j)},function(Y,U){return(U-Y)/j}):g:null};var i=g,M=g.range,v=t(54263),p=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds())},function(j,Y){j.setTime(+j+Y*v.Ym)},function(j,Y){return(Y-j)/v.Ym},function(j){return j.getUTCSeconds()}),u=p,a=p.range,c=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym)},function(j,Y){j.setTime(+j+Y*v.yB)},function(j,Y){return(Y-j)/v.yB},function(j){return j.getMinutes()}),s=c,l=c.range,h=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym-j.getMinutes()*v.yB)},function(j,Y){j.setTime(+j+Y*v.Y2)},function(j,Y){return(Y-j)/v.Y2},function(j){return j.getHours()}),f=h,m=h.range,_=t(82301),y=t(59879),C=(0,d.Z)(function(j){j.setDate(1),j.setHours(0,0,0,0)},function(j,Y){j.setMonth(j.getMonth()+Y)},function(j,Y){return Y.getMonth()-j.getMonth()+12*(Y.getFullYear()-j.getFullYear())},function(j){return j.getMonth()}),w=C,k=C.range,E=t(34823),T=(0,d.Z)(function(j){j.setUTCSeconds(0,0)},function(j,Y){j.setTime(+j+Y*v.yB)},function(j,Y){return(Y-j)/v.yB},function(j){return j.getUTCMinutes()}),A=T,L=T.range,b=(0,d.Z)(function(j){j.setUTCMinutes(0,0,0)},function(j,Y){j.setTime(+j+Y*v.Y2)},function(j,Y){return(Y-j)/v.Y2},function(j){return j.getUTCHours()}),O=b,I=b.range,R=t(48480),z=t(58176),F=(0,d.Z)(function(j){j.setUTCDate(1),j.setUTCHours(0,0,0,0)},function(j,Y){j.setUTCMonth(j.getUTCMonth()+Y)},function(j,Y){return Y.getUTCMonth()-j.getUTCMonth()+12*(Y.getUTCFullYear()-j.getUTCFullYear())},function(j){return j.getUTCMonth()}),B=F,N=F.range,q=t(79791)},30052:function(x,o,t){t.d(o,{Z:function(){return i}});var d=new Date,g=new Date;function i(M,v,p,u){function a(c){return M(c=arguments.length===0?new Date:new Date(+c)),c}return a.floor=function(c){return M(c=new Date(+c)),c},a.ceil=function(c){return M(c=new Date(c-1)),v(c,1),M(c),c},a.round=function(c){var s=a(c),l=a.ceil(c);return c-s0))return f;do f.push(h=new Date(+c)),v(c,l),M(c);while(h=s)for(;M(s),!c(s);)s.setTime(s-1)},function(s,l){if(s>=s)if(l<0)for(;++l<=0;)for(;v(s,-1),!c(s););else for(;--l>=0;)for(;v(s,1),!c(s););})},p&&(a.count=function(c,s){return d.setTime(+c),g.setTime(+s),M(d),M(g),Math.floor(p(d,g))},a.every=function(c){return c=Math.floor(c),isFinite(c)&&c>0?c>1?a.filter(u?function(s){return u(s)%c==0}:function(s){return a.count(0,s)%c==0}):a:null}),a}},48480:function(x,o,t){t.d(o,{y:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setUTCHours(0,0,0,0)},function(v,p){v.setUTCDate(v.getUTCDate()+p)},function(v,p){return(p-v)/g.UD},function(v){return v.getUTCDate()-1});o.Z=i;var M=i.range},58176:function(x,o,t){t.d(o,{$3:function(){return h},DK:function(){return f},J1:function(){return p},Ox:function(){return M},QQ:function(){return c},Q_:function(){return C},SU:function(){return l},b3:function(){return u},fz:function(){return y},g4:function(){return s},hB:function(){return a},l6:function(){return v},uy:function(){return m},xj:function(){return _}});var d=t(30052),g=t(54263);function i(w){return(0,d.Z)(function(k){k.setUTCDate(k.getUTCDate()-(k.getUTCDay()+7-w)%7),k.setUTCHours(0,0,0,0)},function(k,E){k.setUTCDate(k.getUTCDate()+7*E)},function(k,E){return(E-k)/g.iM})}var M=i(0),v=i(1),p=i(2),u=i(3),a=i(4),c=i(5),s=i(6),l=M.range,h=v.range,f=p.range,m=u.range,_=a.range,y=c.range,C=s.range},79791:function(x,o,t){t.d(o,{D:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setUTCMonth(0,1),M.setUTCHours(0,0,0,0)},function(M,v){M.setUTCFullYear(M.getUTCFullYear()+v)},function(M,v){return v.getUTCFullYear()-M.getUTCFullYear()},function(M){return M.getUTCFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setUTCFullYear(Math.floor(v.getUTCFullYear()/M)*M),v.setUTCMonth(0,1),v.setUTCHours(0,0,0,0)},function(v,p){v.setUTCFullYear(v.getUTCFullYear()+p*M)}):null},o.Z=g;var i=g.range},59879:function(x,o,t){t.d(o,{$t:function(){return _},EY:function(){return s},Ff:function(){return C},Ld:function(){return m},OM:function(){return M},aU:function(){return f},b$:function(){return y},bJ:function(){return h},bL:function(){return a},mC:function(){return c},sy:function(){return p},vm:function(){return l},wA:function(){return v},zg:function(){return u}});var d=t(30052),g=t(54263);function i(w){return(0,d.Z)(function(k){k.setDate(k.getDate()-(k.getDay()+7-w)%7),k.setHours(0,0,0,0)},function(k,E){k.setDate(k.getDate()+7*E)},function(k,E){return(E-k-(E.getTimezoneOffset()-k.getTimezoneOffset())*g.yB)/g.iM})}var M=i(0),v=i(1),p=i(2),u=i(3),a=i(4),c=i(5),s=i(6),l=M.range,h=v.range,f=p.range,m=u.range,_=a.range,y=c.range,C=s.range},34823:function(x,o,t){t.d(o,{g:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setMonth(0,1),M.setHours(0,0,0,0)},function(M,v){M.setFullYear(M.getFullYear()+v)},function(M,v){return v.getFullYear()-M.getFullYear()},function(M){return M.getFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setFullYear(Math.floor(v.getFullYear()/M)*M),v.setMonth(0,1),v.setHours(0,0,0,0)},function(v,p){v.setFullYear(v.getFullYear()+p*M)}):null},o.Z=g;var i=g.range},17045:function(x,o,t){var d=t(8709),g=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,M=Array.prototype.concat,v=Object.defineProperty,p=t(55622)(),u=v&&p,a=function(s,l,h,f){if(l in s){if(f===!0){if(s[l]===h)return}else if(typeof(m=f)!="function"||i.call(m)!=="[object Function]"||!f())return}var m;u?v(s,l,{configurable:!0,enumerable:!1,value:h,writable:!0}):s[l]=h},c=function(s,l){var h=arguments.length>2?arguments[2]:{},f=d(l);g&&(f=M.call(f,Object.getOwnPropertySymbols(l)));for(var m=0;mu*a){var f=(h-l)/u;p[s]=1e3*f}}return p}function g(i){for(var M=[],v=i[0];v<=i[1];v++)for(var p=String.fromCharCode(v),u=i[0];u0)return function(g,i){var M,v;for(M=new Array(g),v=0;v80*R){z=B=O[0],F=N=O[1];for(var ne=R;neB&&(B=q),j>N&&(N=j);Y=(Y=Math.max(B-z,N-F))!==0?1/Y:0}return g(W,H,R,z,F,Y),H}function t(O,I,R,z,F){var B,N;if(F===b(O,I,R,z)>0)for(B=I;B=I;B-=z)N=T(B,O[B],O[B+1],N);return N&&_(N,N.next)&&(A(N),N=N.next),N}function d(O,I){if(!O)return O;I||(I=O);var R,z=O;do if(R=!1,z.steiner||!_(z,z.next)&&m(z.prev,z,z.next)!==0)z=z.next;else{if(A(z),(z=I=z.prev)===z.next)break;R=!0}while(R||z!==I);return I}function g(O,I,R,z,F,B,N){if(O){!N&&B&&function(U,G,W,H){var ne=U;do ne.z===null&&(ne.z=s(ne.x,ne.y,G,W,H)),ne.prevZ=ne.prev,ne.nextZ=ne.next,ne=ne.next;while(ne!==U);ne.prevZ.nextZ=null,ne.prevZ=null,function(te){var Z,X,Q,re,ie,oe,ue,ce,ye=1;do{for(X=te,te=null,ie=null,oe=0;X;){for(oe++,Q=X,ue=0,Z=0;Z0||ce>0&&Q;)ue!==0&&(ce===0||!Q||X.z<=Q.z)?(re=X,X=X.nextZ,ue--):(re=Q,Q=Q.nextZ,ce--),ie?ie.nextZ=re:te=re,re.prevZ=ie,ie=re;X=Q}ie.nextZ=null,ye*=2}while(oe>1)}(ne)}(O,z,F,B);for(var q,j,Y=O;O.prev!==O.next;)if(q=O.prev,j=O.next,B?M(O,z,F,B):i(O))I.push(q.i/R),I.push(O.i/R),I.push(j.i/R),A(O),O=j.next,Y=j.next;else if((O=j)===Y){N?N===1?g(O=v(d(O),I,R),I,R,z,F,B,2):N===2&&p(O,I,R,z,F,B):g(d(O),I,R,z,F,B,1);break}}}function i(O){var I=O.prev,R=O,z=O.next;if(m(I,R,z)>=0)return!1;for(var F=O.next.next;F!==O.prev;){if(h(I.x,I.y,R.x,R.y,z.x,z.y,F.x,F.y)&&m(F.prev,F,F.next)>=0)return!1;F=F.next}return!0}function M(O,I,R,z){var F=O.prev,B=O,N=O.next;if(m(F,B,N)>=0)return!1;for(var q=F.xB.x?F.x>N.x?F.x:N.x:B.x>N.x?B.x:N.x,U=F.y>B.y?F.y>N.y?F.y:N.y:B.y>N.y?B.y:N.y,G=s(q,j,I,R,z),W=s(Y,U,I,R,z),H=O.prevZ,ne=O.nextZ;H&&H.z>=G&&ne&&ne.z<=W;){if(H!==O.prev&&H!==O.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0||(H=H.prevZ,ne!==O.prev&&ne!==O.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0))return!1;ne=ne.nextZ}for(;H&&H.z>=G;){if(H!==O.prev&&H!==O.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0)return!1;H=H.prevZ}for(;ne&&ne.z<=W;){if(ne!==O.prev&&ne!==O.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0)return!1;ne=ne.nextZ}return!0}function v(O,I,R){var z=O;do{var F=z.prev,B=z.next.next;!_(F,B)&&y(F,z,z.next,B)&&k(F,B)&&k(B,F)&&(I.push(F.i/R),I.push(z.i/R),I.push(B.i/R),A(z),A(z.next),z=O=B),z=z.next}while(z!==O);return d(z)}function p(O,I,R,z,F,B){var N=O;do{for(var q=N.next.next;q!==N.prev;){if(N.i!==q.i&&f(N,q)){var j=E(N,q);return N=d(N,N.next),j=d(j,j.next),g(N,I,R,z,F,B),void g(j,I,R,z,F,B)}q=q.next}N=N.next}while(N!==O)}function u(O,I){return O.x-I.x}function a(O,I){if(I=function(z,F){var B,N=F,q=z.x,j=z.y,Y=-1/0;do{if(j<=N.y&&j>=N.next.y&&N.next.y!==N.y){var U=N.x+(j-N.y)*(N.next.x-N.x)/(N.next.y-N.y);if(U<=q&&U>Y){if(Y=U,U===q){if(j===N.y)return N;if(j===N.next.y)return N.next}B=N.x=N.x&&N.x>=H&&q!==N.x&&h(jB.x||N.x===B.x&&c(B,N)))&&(B=N,te=G)),N=N.next;while(N!==W);return B}(O,I),I){var R=E(I,O);d(I,I.next),d(R,R.next)}}function c(O,I){return m(O.prev,O,I.prev)<0&&m(I.next,O,O.next)<0}function s(O,I,R,z,F){return(O=1431655765&((O=858993459&((O=252645135&((O=16711935&((O=32767*(O-R)*F)|O<<8))|O<<4))|O<<2))|O<<1))|(I=1431655765&((I=858993459&((I=252645135&((I=16711935&((I=32767*(I-z)*F)|I<<8))|I<<4))|I<<2))|I<<1))<<1}function l(O){var I=O,R=O;do(I.x=0&&(O-N)*(z-q)-(R-N)*(I-q)>=0&&(R-N)*(B-q)-(F-N)*(z-q)>=0}function f(O,I){return O.next.i!==I.i&&O.prev.i!==I.i&&!function(R,z){var F=R;do{if(F.i!==R.i&&F.next.i!==R.i&&F.i!==z.i&&F.next.i!==z.i&&y(F,F.next,R,z))return!0;F=F.next}while(F!==R);return!1}(O,I)&&(k(O,I)&&k(I,O)&&function(R,z){var F=R,B=!1,N=(R.x+z.x)/2,q=(R.y+z.y)/2;do F.y>q!=F.next.y>q&&F.next.y!==F.y&&N<(F.next.x-F.x)*(q-F.y)/(F.next.y-F.y)+F.x&&(B=!B),F=F.next;while(F!==R);return B}(O,I)&&(m(O.prev,O,I.prev)||m(O,I.prev,I))||_(O,I)&&m(O.prev,O,O.next)>0&&m(I.prev,I,I.next)>0)}function m(O,I,R){return(I.y-O.y)*(R.x-I.x)-(I.x-O.x)*(R.y-I.y)}function _(O,I){return O.x===I.x&&O.y===I.y}function y(O,I,R,z){var F=w(m(O,I,R)),B=w(m(O,I,z)),N=w(m(R,z,O)),q=w(m(R,z,I));return F!==B&&N!==q||!(F!==0||!C(O,R,I))||!(B!==0||!C(O,z,I))||!(N!==0||!C(R,O,z))||!(q!==0||!C(R,I,z))}function C(O,I,R){return I.x<=Math.max(O.x,R.x)&&I.x>=Math.min(O.x,R.x)&&I.y<=Math.max(O.y,R.y)&&I.y>=Math.min(O.y,R.y)}function w(O){return O>0?1:O<0?-1:0}function k(O,I){return m(O.prev,O,O.next)<0?m(O,I,O.next)>=0&&m(O,O.prev,I)>=0:m(O,I,O.prev)<0||m(O,O.next,I)<0}function E(O,I){var R=new L(O.i,O.x,O.y),z=new L(I.i,I.x,I.y),F=O.next,B=I.prev;return O.next=I,I.prev=O,R.next=F,F.prev=R,z.next=R,R.prev=z,B.next=z,z.prev=B,z}function T(O,I,R,z){var F=new L(O,I,R);return z?(F.next=z.next,F.prev=z,z.next.prev=F,z.next=F):(F.prev=F,F.next=F),F}function A(O){O.next.prev=O.prev,O.prev.next=O.next,O.prevZ&&(O.prevZ.nextZ=O.nextZ),O.nextZ&&(O.nextZ.prevZ=O.prevZ)}function L(O,I,R){this.i=O,this.x=I,this.y=R,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function b(O,I,R,z){for(var F=0,B=I,N=R-z;B0&&(z+=O[F-1].length,R.holes.push(z))}return R}},2502:function(x,o,t){var d=t(68664);x.exports=function(g,i){var M,v=[],p=[],u=[],a={},c=[];function s(k){u[k]=!1,a.hasOwnProperty(k)&&Object.keys(a[k]).forEach(function(E){delete a[k][E],u[E]&&s(E)})}function l(k){var E,T,A=!1;for(p.push(k),u[k]=!0,E=0;E=R})})(k);for(var E,T=d(g).components.filter(function(R){return R.length>1}),A=1/0,L=0;L=55296&&k<=56319&&(L+=f[++_]),L=b?s.call(b,O,L,y):L,m?(l.value=L,h(C,y,l)):C[y]=L,++y;w=y}}if(w===void 0)for(w=M(f.length),m&&(C=new m(w)),_=0;_0?1:-1}},56247:function(x,o,t){var d=t(9953),g=Math.abs,i=Math.floor;x.exports=function(M){return isNaN(M)?0:(M=Number(M))!==0&&isFinite(M)?d(M)*i(g(M)):M}},35976:function(x,o,t){var d=t(56247),g=Math.max;x.exports=function(i){return g(0,d(i))}},67260:function(x,o,t){var d=t(78513),g=t(36672),i=Function.prototype.bind,M=Function.prototype.call,v=Object.keys,p=Object.prototype.propertyIsEnumerable;x.exports=function(u,a){return function(c,s){var l,h=arguments[2],f=arguments[3];return c=Object(g(c)),d(s),l=v(c),f&&l.sort(typeof f=="function"?i.call(f,c):void 0),typeof u!="function"&&(u=l[u]),M.call(u,l,function(m,_){return p.call(c,m)?M.call(s,h,c[m],m,c,_):a})}}},95879:function(x,o,t){x.exports=t(73583)()?Object.assign:t(34205)},73583:function(x){x.exports=function(){var o,t=Object.assign;return typeof t=="function"&&(t(o={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),o.foo+o.bar+o.trzy==="razdwatrzy")}},34205:function(x,o,t){var d=t(68700),g=t(36672),i=Math.max;x.exports=function(M,v){var p,u,a,c=i(arguments.length,2);for(M=Object(g(M)),a=function(s){try{M[s]=v[s]}catch(l){p||(p=l)}},u=1;u-1}},87963:function(x){var o=Object.prototype.toString,t=o.call("");x.exports=function(d){return typeof d=="string"||d&&typeof d=="object"&&(d instanceof String||o.call(d)===t)||!1}},43043:function(x){var o=Object.create(null),t=Math.random;x.exports=function(){var d;do d=t().toString(36).slice(2);while(o[d]);return d}},32411:function(x,o,t){var d,g=t(1496),i=t(66741),M=t(62072),v=t(8260),p=t(95426),u=Object.defineProperty;d=x.exports=function(a,c){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");p.call(this,a),c=c?i.call(c,"key+value")?"key+value":i.call(c,"key")?"key":"value":"value",u(this,"__kind__",M("",c))},g&&g(d,p),delete d.prototype.constructor,d.prototype=Object.create(p.prototype,{_resolve:M(function(a){return this.__kind__==="value"?this.__list__[a]:this.__kind__==="key+value"?[a,this.__list__[a]]:a})}),u(d.prototype,v.toStringTag,M("c","Array Iterator"))},27515:function(x,o,t){var d=t(73051),g=t(78513),i=t(87963),M=t(66661),v=Array.isArray,p=Function.prototype.call,u=Array.prototype.some;x.exports=function(a,c){var s,l,h,f,m,_,y,C,w=arguments[2];if(v(a)||d(a)?s="array":i(a)?s="string":a=M(a),g(c),h=function(){f=!0},s!=="array")if(s!=="string")for(l=a.next();!l.done;){if(p.call(c,w,l.value,h),f)return;l=a.next()}else for(_=a.length,m=0;m<_&&(y=a[m],m+1<_&&(C=y.charCodeAt(0))>=55296&&C<=56319&&(y+=a[++m]),p.call(c,w,y,h),!f);++m);else u.call(a,function(k){return p.call(c,w,k,h),f})}},66661:function(x,o,t){var d=t(73051),g=t(87963),i=t(32411),M=t(259),v=t(58095),p=t(8260).iterator;x.exports=function(u){return typeof v(u)[p]=="function"?u[p]():d(u)?new i(u):g(u)?new M(u):new i(u)}},95426:function(x,o,t){var d,g=t(16134),i=t(95879),M=t(78513),v=t(36672),p=t(62072),u=t(55174),a=t(8260),c=Object.defineProperty,s=Object.defineProperties;x.exports=d=function(l,h){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");s(this,{__list__:p("w",v(l)),__context__:p("w",h),__nextIndex__:p("w",0)}),h&&(M(h.on),h.on("_add",this._onAdd),h.on("_delete",this._onDelete),h.on("_clear",this._onClear))},delete d.prototype.constructor,s(d.prototype,i({_next:p(function(){var l;if(this.__list__)return this.__redo__&&(l=this.__redo__.shift())!==void 0?l:this.__nextIndex__=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(h,f){h>=l&&(this.__redo__[f]=++h)},this),this.__redo__.push(l)):c(this,"__redo__",p("c",[l])))}),_onDelete:p(function(l){var h;l>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&((h=this.__redo__.indexOf(l))!==-1&&this.__redo__.splice(h,1),this.__redo__.forEach(function(f,m){f>l&&(this.__redo__[m]=--f)},this)))}),_onClear:p(function(){this.__redo__&&g.call(this.__redo__),this.__nextIndex__=0})}))),c(d.prototype,a.iterator,p(function(){return this}))},35940:function(x,o,t){var d=t(73051),g=t(95296),i=t(87963),M=t(8260).iterator,v=Array.isArray;x.exports=function(p){return!(!g(p)||!v(p)&&!i(p)&&!d(p)&&typeof p[M]!="function")}},259:function(x,o,t){var d,g=t(1496),i=t(62072),M=t(8260),v=t(95426),p=Object.defineProperty;d=x.exports=function(u){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");u=String(u),v.call(this,u),p(this,"__length__",i("",u.length))},g&&g(d,v),delete d.prototype.constructor,d.prototype=Object.create(v.prototype,{_next:i(function(){if(this.__list__)return this.__nextIndex__=55296&&a<=56319?c+this.__list__[this.__nextIndex__++]:c})}),p(d.prototype,M.toStringTag,i("c","String Iterator"))},58095:function(x,o,t){var d=t(35940);x.exports=function(g){if(!d(g))throw new TypeError(g+" is not iterable");return g}},73523:function(x){function o(t,d){if(t==null)throw new TypeError("Cannot convert first argument to object");for(var g=Object(t),i=1;i0&&E.length>w&&!E.warned){E.warned=!0;var A=new Error("Possible EventEmitter memory leak detected. "+E.length+" "+String(_)+" listeners added. Use emitter.setMaxListeners() to increase limit");A.name="MaxListenersExceededWarning",A.emitter=m,A.type=_,A.count=E.length,T=A,console&&console.warn&&console.warn(T)}return m}function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function c(m,_,y){var C={fired:!1,wrapFn:void 0,target:m,type:_,listener:y},w=a.bind(C);return w.listener=y,C.wrapFn=w,w}function s(m,_,y){var C=m._events;if(C===void 0)return[];var w=C[_];return w===void 0?[]:typeof w=="function"?y?[w.listener||w]:[w]:y?function(k){for(var E=new Array(k.length),T=0;T0&&(k=_[0]),k instanceof Error)throw k;var E=new Error("Unhandled error."+(k?" ("+k.message+")":""));throw E.context=k,E}var T=w[m];if(T===void 0)return!1;if(typeof T=="function")d(T,this,_);else{var A=T.length,L=h(T,A);for(y=0;y=0;k--)if(y[k]===_||y[k].listener===_){E=y[k].listener,w=k;break}if(w<0)return this;w===0?y.shift():function(T,A){for(;A+1=0;C--)this.removeListener(m,_[C]);return this},i.prototype.listeners=function(m){return s(this,m,!0)},i.prototype.rawListeners=function(m){return s(this,m,!1)},i.listenerCount=function(m,_){return typeof m.listenerCount=="function"?m.listenerCount(_):l.call(m,_)},i.prototype.listenerCount=l,i.prototype.eventNames=function(){return this._eventsCount>0?o(this._events):[]}},60774:function(x){var o=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};x.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return o()}try{return __global__||o()}finally{delete Object.prototype.__global__}}()},94908:function(x,o,t){x.exports=t(51152)()?globalThis:t(60774)},51152:function(x){x.exports=function(){return typeof globalThis=="object"&&!!globalThis&&globalThis.Array===Array}},92770:function(x,o,t){var d=t(18546);x.exports=function(g){var i=typeof g;if(i==="string"){var M=g;if((g=+g)==0&&d(M))return!1}else if(i!=="number")return!1;return g-g<1}},30120:function(x,o,t){var d=t(90660);x.exports=function(g,i,M){if(!g)throw new TypeError("must specify data as first parameter");if(M=0|+(M||0),Array.isArray(g)&&g[0]&&typeof g[0][0]=="number"){var v,p,u,a,c=g[0].length,s=g.length*c;i&&typeof i!="string"||(i=new(d(i||"float32"))(s+M));var l=i.length-M;if(s!==l)throw new Error("source length "+s+" ("+c+"x"+g.length+") does not match destination length "+l);for(v=0,u=M;vM[0]-u[0]/2&&(f=u[0]/2,m+=u[1]);return v}},32879:function(x){function o(i,M){M||(M={}),(typeof i=="string"||Array.isArray(i))&&(M.family=i);var v=Array.isArray(M.family)?M.family.join(", "):M.family;if(!v)throw Error("`family` must be defined");var p=M.size||M.fontSize||M.em||48,u=M.weight||M.fontWeight||"",a=(i=[M.style||M.fontStyle||"",u,p].join(" ")+"px "+v,M.origin||"top");if(o.cache[v]&&p<=o.cache[v].em)return t(o.cache[v],a);var c=M.canvas||o.canvas,s=c.getContext("2d"),l={upper:M.upper!==void 0?M.upper:"H",lower:M.lower!==void 0?M.lower:"x",descent:M.descent!==void 0?M.descent:"p",ascent:M.ascent!==void 0?M.ascent:"h",tittle:M.tittle!==void 0?M.tittle:"i",overshoot:M.overshoot!==void 0?M.overshoot:"O"},h=Math.ceil(1.5*p);c.height=h,c.width=.5*h,s.font=i;var f="H",m={top:0};s.clearRect(0,0,h,h),s.textBaseline="top",s.fillStyle="black",s.fillText(f,0,0);var _=d(s.getImageData(0,0,h,h));s.clearRect(0,0,h,h),s.textBaseline="bottom",s.fillText(f,0,h);var y=d(s.getImageData(0,0,h,h));m.lineHeight=m.bottom=h-y+_,s.clearRect(0,0,h,h),s.textBaseline="alphabetic",s.fillText(f,0,h);var C=h-d(s.getImageData(0,0,h,h))-1+_;m.baseline=m.alphabetic=C,s.clearRect(0,0,h,h),s.textBaseline="middle",s.fillText(f,0,.5*h);var w=d(s.getImageData(0,0,h,h));m.median=m.middle=h-w-1+_-.5*h,s.clearRect(0,0,h,h),s.textBaseline="hanging",s.fillText(f,0,.5*h);var k=d(s.getImageData(0,0,h,h));m.hanging=h-k-1+_-.5*h,s.clearRect(0,0,h,h),s.textBaseline="ideographic",s.fillText(f,0,h);var E=d(s.getImageData(0,0,h,h));if(m.ideographic=h-E-1+_,l.upper&&(s.clearRect(0,0,h,h),s.textBaseline="top",s.fillText(l.upper,0,0),m.upper=d(s.getImageData(0,0,h,h)),m.capHeight=m.baseline-m.upper),l.lower&&(s.clearRect(0,0,h,h),s.textBaseline="top",s.fillText(l.lower,0,0),m.lower=d(s.getImageData(0,0,h,h)),m.xHeight=m.baseline-m.lower),l.tittle&&(s.clearRect(0,0,h,h),s.textBaseline="top",s.fillText(l.tittle,0,0),m.tittle=d(s.getImageData(0,0,h,h))),l.ascent&&(s.clearRect(0,0,h,h),s.textBaseline="top",s.fillText(l.ascent,0,0),m.ascent=d(s.getImageData(0,0,h,h))),l.descent&&(s.clearRect(0,0,h,h),s.textBaseline="top",s.fillText(l.descent,0,0),m.descent=g(s.getImageData(0,0,h,h))),l.overshoot){s.clearRect(0,0,h,h),s.textBaseline="top",s.fillText(l.overshoot,0,0);var T=g(s.getImageData(0,0,h,h));m.overshoot=T-C}for(var A in m)m[A]/=p;return m.em=p,o.cache[v]=m,t(m,a)}function t(i,M){var v={};for(var p in typeof M=="string"&&(M=i[M]),i)p!=="em"&&(v[p]=i[p]-M);return v}function d(i){for(var M=i.height,v=i.data,p=3;p0;p-=4)if(v[p]!==0)return Math.floor(.25*(p-3)/M)}x.exports=o,o.canvas=document.createElement("canvas"),o.cache={}},31353:function(x,o,t){var d=t(85395),g=Object.prototype.toString,i=Object.prototype.hasOwnProperty,M=function(u,a,c){for(var s=0,l=u.length;s=3&&(s=c),g.call(u)==="[object Array]"?M(u,a,s):typeof u=="string"?v(u,a,s):p(u,a,s)}},73047:function(x){var o="Function.prototype.bind called on incompatible ",t=Array.prototype.slice,d=Object.prototype.toString,g="[object Function]";x.exports=function(i){var M=this;if(typeof M!="function"||d.call(M)!==g)throw new TypeError(o+M);for(var v,p=t.call(arguments,1),u=function(){if(this instanceof v){var h=M.apply(this,p.concat(t.call(arguments)));return Object(h)===h?h:this}return M.apply(i,p.concat(t.call(arguments)))},a=Math.max(0,M.length-p.length),c=[],s=0;s"u"&&!t.canvas)return null;var d=t.canvas||document.createElement("canvas");typeof t.width=="number"&&(d.width=t.width),typeof t.height=="number"&&(d.height=t.height);var g,i=t;try{var M=[o];o.indexOf("webgl")===0&&M.push("experimental-"+o);for(var v=0;v"u"?d:s(Uint8Array),f={"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":c?s([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":l,"%AsyncGenerator%":l,"%AsyncGeneratorFunction%":l,"%AsyncIteratorPrototype%":l,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":l,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c?s(s([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map<"u"&&c?s(new Map()[Symbol.iterator]()):d,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set<"u"&&c?s(new Set()[Symbol.iterator]()):d,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c?s(""[Symbol.iterator]()):d,"%Symbol%":c?Symbol:d,"%SyntaxError%":g,"%ThrowTypeError%":a,"%TypedArray%":h,"%TypeError%":M,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet};try{null.error}catch(z){var m=s(s(z));f["%Error.prototype%"]=m}var _=function z(F){var B;if(F==="%AsyncFunction%")B=v("async function () {}");else if(F==="%GeneratorFunction%")B=v("function* () {}");else if(F==="%AsyncGeneratorFunction%")B=v("async function* () {}");else if(F==="%AsyncGenerator%"){var N=z("%AsyncGeneratorFunction%");N&&(B=N.prototype)}else if(F==="%AsyncIteratorPrototype%"){var q=z("%AsyncGenerator%");q&&(B=s(q.prototype))}return f[F]=B,B},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=t(77575),w=t(35065),k=C.call(Function.call,Array.prototype.concat),E=C.call(Function.apply,Array.prototype.splice),T=C.call(Function.call,String.prototype.replace),A=C.call(Function.call,String.prototype.slice),L=C.call(Function.call,RegExp.prototype.exec),b=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,I=function(z){var F=A(z,0,1),B=A(z,-1);if(F==="%"&&B!=="%")throw new g("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&F!=="%")throw new g("invalid intrinsic syntax, expected opening `%`");var N=[];return T(z,b,function(q,j,Y,U){N[N.length]=Y?T(U,O,"$1"):j||q}),N},R=function(z,F){var B,N=z;if(w(y,N)&&(N="%"+(B=y[N])[0]+"%"),w(f,N)){var q=f[N];if(q===l&&(q=_(N)),q===void 0&&!F)throw new M("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:B,name:N,value:q}}throw new g("intrinsic "+z+" does not exist!")};x.exports=function(z,F){if(typeof z!="string"||z.length===0)throw new M("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new M('"allowMissing" argument must be a boolean');if(L(/^%?[^%]*%?$/,z)===null)throw new g("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=I(z),N=B.length>0?B[0]:"",q=R("%"+N+"%",F),j=q.name,Y=q.value,U=!1,G=q.alias;G&&(N=G[0],E(B,k([0,1],G)));for(var W=1,H=!0;W=B.length){var X=p(Y,ne);Y=(H=!!X)&&"get"in X&&!("originalValue"in X.get)?X.get:Y[ne]}else H=w(Y,ne),Y=Y[ne];H&&!U&&(f[j]=Y)}}return Y}},85400:function(x){x.exports=function(o,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],p=t[5],u=t[6],a=t[7],c=t[8],s=t[9],l=t[10],h=t[11],f=t[12],m=t[13],_=t[14],y=t[15];return o[0]=p*(l*y-h*_)-s*(u*y-a*_)+m*(u*h-a*l),o[1]=-(g*(l*y-h*_)-s*(i*y-M*_)+m*(i*h-M*l)),o[2]=g*(u*y-a*_)-p*(i*y-M*_)+m*(i*a-M*u),o[3]=-(g*(u*h-a*l)-p*(i*h-M*l)+s*(i*a-M*u)),o[4]=-(v*(l*y-h*_)-c*(u*y-a*_)+f*(u*h-a*l)),o[5]=d*(l*y-h*_)-c*(i*y-M*_)+f*(i*h-M*l),o[6]=-(d*(u*y-a*_)-v*(i*y-M*_)+f*(i*a-M*u)),o[7]=d*(u*h-a*l)-v*(i*h-M*l)+c*(i*a-M*u),o[8]=v*(s*y-h*m)-c*(p*y-a*m)+f*(p*h-a*s),o[9]=-(d*(s*y-h*m)-c*(g*y-M*m)+f*(g*h-M*s)),o[10]=d*(p*y-a*m)-v*(g*y-M*m)+f*(g*a-M*p),o[11]=-(d*(p*h-a*s)-v*(g*h-M*s)+c*(g*a-M*p)),o[12]=-(v*(s*_-l*m)-c*(p*_-u*m)+f*(p*l-u*s)),o[13]=d*(s*_-l*m)-c*(g*_-i*m)+f*(g*l-i*s),o[14]=-(d*(p*_-u*m)-v*(g*_-i*m)+f*(g*u-i*p)),o[15]=d*(p*l-u*s)-v*(g*l-i*s)+c*(g*u-i*p),o}},42331:function(x){x.exports=function(o){var t=new Float32Array(16);return t[0]=o[0],t[1]=o[1],t[2]=o[2],t[3]=o[3],t[4]=o[4],t[5]=o[5],t[6]=o[6],t[7]=o[7],t[8]=o[8],t[9]=o[9],t[10]=o[10],t[11]=o[11],t[12]=o[12],t[13]=o[13],t[14]=o[14],t[15]=o[15],t}},31042:function(x){x.exports=function(o,t){return o[0]=t[0],o[1]=t[1],o[2]=t[2],o[3]=t[3],o[4]=t[4],o[5]=t[5],o[6]=t[6],o[7]=t[7],o[8]=t[8],o[9]=t[9],o[10]=t[10],o[11]=t[11],o[12]=t[12],o[13]=t[13],o[14]=t[14],o[15]=t[15],o}},11902:function(x){x.exports=function(){var o=new Float32Array(16);return o[0]=1,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=1,o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=1,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o}},89887:function(x){x.exports=function(o){var t=o[0],d=o[1],g=o[2],i=o[3],M=o[4],v=o[5],p=o[6],u=o[7],a=o[8],c=o[9],s=o[10],l=o[11],h=o[12],f=o[13],m=o[14],_=o[15];return(t*v-d*M)*(s*_-l*m)-(t*p-g*M)*(c*_-l*f)+(t*u-i*M)*(c*m-s*f)+(d*p-g*v)*(a*_-l*h)-(d*u-i*v)*(a*m-s*h)+(g*u-i*p)*(a*f-c*h)}},27812:function(x){x.exports=function(o,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=d+d,p=g+g,u=i+i,a=d*v,c=g*v,s=g*p,l=i*v,h=i*p,f=i*u,m=M*v,_=M*p,y=M*u;return o[0]=1-s-f,o[1]=c+y,o[2]=l-_,o[3]=0,o[4]=c-y,o[5]=1-a-f,o[6]=h+m,o[7]=0,o[8]=l+_,o[9]=h-m,o[10]=1-a-s,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o}},34045:function(x){x.exports=function(o,t,d){var g,i,M,v=d[0],p=d[1],u=d[2],a=Math.sqrt(v*v+p*p+u*u);return Math.abs(a)<1e-6?null:(v*=a=1/a,p*=a,u*=a,g=Math.sin(t),M=1-(i=Math.cos(t)),o[0]=v*v*M+i,o[1]=p*v*M+u*g,o[2]=u*v*M-p*g,o[3]=0,o[4]=v*p*M-u*g,o[5]=p*p*M+i,o[6]=u*p*M+v*g,o[7]=0,o[8]=v*u*M+p*g,o[9]=p*u*M-v*g,o[10]=u*u*M+i,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o)}},45973:function(x){x.exports=function(o,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],p=g+g,u=i+i,a=M+M,c=g*p,s=g*u,l=g*a,h=i*u,f=i*a,m=M*a,_=v*p,y=v*u,C=v*a;return o[0]=1-(h+m),o[1]=s+C,o[2]=l-y,o[3]=0,o[4]=s-C,o[5]=1-(c+m),o[6]=f+_,o[7]=0,o[8]=l+y,o[9]=f-_,o[10]=1-(c+h),o[11]=0,o[12]=d[0],o[13]=d[1],o[14]=d[2],o[15]=1,o}},81472:function(x){x.exports=function(o,t){return o[0]=t[0],o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=t[1],o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=t[2],o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o}},14669:function(x){x.exports=function(o,t){return o[0]=1,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=1,o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=1,o[11]=0,o[12]=t[0],o[13]=t[1],o[14]=t[2],o[15]=1,o}},75262:function(x){x.exports=function(o,t){var d=Math.sin(t),g=Math.cos(t);return o[0]=1,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=g,o[6]=d,o[7]=0,o[8]=0,o[9]=-d,o[10]=g,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o}},331:function(x){x.exports=function(o,t){var d=Math.sin(t),g=Math.cos(t);return o[0]=g,o[1]=0,o[2]=-d,o[3]=0,o[4]=0,o[5]=1,o[6]=0,o[7]=0,o[8]=d,o[9]=0,o[10]=g,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o}},11049:function(x){x.exports=function(o,t){var d=Math.sin(t),g=Math.cos(t);return o[0]=g,o[1]=d,o[2]=0,o[3]=0,o[4]=-d,o[5]=g,o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=1,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o}},75195:function(x){x.exports=function(o,t,d,g,i,M,v){var p=1/(d-t),u=1/(i-g),a=1/(M-v);return o[0]=2*M*p,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=2*M*u,o[6]=0,o[7]=0,o[8]=(d+t)*p,o[9]=(i+g)*u,o[10]=(v+M)*a,o[11]=-1,o[12]=0,o[13]=0,o[14]=v*M*2*a,o[15]=0,o}},71551:function(x){x.exports=function(o){return o[0]=1,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=1,o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=1,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o}},79576:function(x,o,t){x.exports={create:t(11902),clone:t(42331),copy:t(31042),identity:t(71551),transpose:t(88654),invert:t(95874),adjoint:t(85400),determinant:t(89887),multiply:t(91362),translate:t(31283),scale:t(10789),rotate:t(65074),rotateX:t(35545),rotateY:t(94918),rotateZ:t(15692),fromRotation:t(34045),fromRotationTranslation:t(45973),fromScaling:t(81472),fromTranslation:t(14669),fromXRotation:t(75262),fromYRotation:t(331),fromZRotation:t(11049),fromQuat:t(27812),frustum:t(75195),perspective:t(7864),perspectiveFromFieldOfView:t(35279),ortho:t(60378),lookAt:t(65551),str:t(6726)}},95874:function(x){x.exports=function(o,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],p=t[5],u=t[6],a=t[7],c=t[8],s=t[9],l=t[10],h=t[11],f=t[12],m=t[13],_=t[14],y=t[15],C=d*p-g*v,w=d*u-i*v,k=d*a-M*v,E=g*u-i*p,T=g*a-M*p,A=i*a-M*u,L=c*m-s*f,b=c*_-l*f,O=c*y-h*f,I=s*_-l*m,R=s*y-h*m,z=l*y-h*_,F=C*z-w*R+k*I+E*O-T*b+A*L;return F?(F=1/F,o[0]=(p*z-u*R+a*I)*F,o[1]=(i*R-g*z-M*I)*F,o[2]=(m*A-_*T+y*E)*F,o[3]=(l*T-s*A-h*E)*F,o[4]=(u*O-v*z-a*b)*F,o[5]=(d*z-i*O+M*b)*F,o[6]=(_*k-f*A-y*w)*F,o[7]=(c*A-l*k+h*w)*F,o[8]=(v*R-p*O+a*L)*F,o[9]=(g*O-d*R-M*L)*F,o[10]=(f*T-m*k+y*C)*F,o[11]=(s*k-c*T-h*C)*F,o[12]=(p*b-v*I-u*L)*F,o[13]=(d*I-g*b+i*L)*F,o[14]=(m*w-f*E-_*C)*F,o[15]=(c*E-s*w+l*C)*F,o):null}},65551:function(x,o,t){var d=t(71551);x.exports=function(g,i,M,v){var p,u,a,c,s,l,h,f,m,_,y=i[0],C=i[1],w=i[2],k=v[0],E=v[1],T=v[2],A=M[0],L=M[1],b=M[2];return Math.abs(y-A)<1e-6&&Math.abs(C-L)<1e-6&&Math.abs(w-b)<1e-6?d(g):(h=y-A,f=C-L,m=w-b,p=E*(m*=_=1/Math.sqrt(h*h+f*f+m*m))-T*(f*=_),u=T*(h*=_)-k*m,a=k*f-E*h,(_=Math.sqrt(p*p+u*u+a*a))?(p*=_=1/_,u*=_,a*=_):(p=0,u=0,a=0),c=f*a-m*u,s=m*p-h*a,l=h*u-f*p,(_=Math.sqrt(c*c+s*s+l*l))?(c*=_=1/_,s*=_,l*=_):(c=0,s=0,l=0),g[0]=p,g[1]=c,g[2]=h,g[3]=0,g[4]=u,g[5]=s,g[6]=f,g[7]=0,g[8]=a,g[9]=l,g[10]=m,g[11]=0,g[12]=-(p*y+u*C+a*w),g[13]=-(c*y+s*C+l*w),g[14]=-(h*y+f*C+m*w),g[15]=1,g)}},91362:function(x){x.exports=function(o,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],p=t[4],u=t[5],a=t[6],c=t[7],s=t[8],l=t[9],h=t[10],f=t[11],m=t[12],_=t[13],y=t[14],C=t[15],w=d[0],k=d[1],E=d[2],T=d[3];return o[0]=w*g+k*p+E*s+T*m,o[1]=w*i+k*u+E*l+T*_,o[2]=w*M+k*a+E*h+T*y,o[3]=w*v+k*c+E*f+T*C,w=d[4],k=d[5],E=d[6],T=d[7],o[4]=w*g+k*p+E*s+T*m,o[5]=w*i+k*u+E*l+T*_,o[6]=w*M+k*a+E*h+T*y,o[7]=w*v+k*c+E*f+T*C,w=d[8],k=d[9],E=d[10],T=d[11],o[8]=w*g+k*p+E*s+T*m,o[9]=w*i+k*u+E*l+T*_,o[10]=w*M+k*a+E*h+T*y,o[11]=w*v+k*c+E*f+T*C,w=d[12],k=d[13],E=d[14],T=d[15],o[12]=w*g+k*p+E*s+T*m,o[13]=w*i+k*u+E*l+T*_,o[14]=w*M+k*a+E*h+T*y,o[15]=w*v+k*c+E*f+T*C,o}},60378:function(x){x.exports=function(o,t,d,g,i,M,v){var p=1/(t-d),u=1/(g-i),a=1/(M-v);return o[0]=-2*p,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=-2*u,o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=2*a,o[11]=0,o[12]=(t+d)*p,o[13]=(i+g)*u,o[14]=(v+M)*a,o[15]=1,o}},7864:function(x){x.exports=function(o,t,d,g,i){var M=1/Math.tan(t/2),v=1/(g-i);return o[0]=M/d,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=M,o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=(i+g)*v,o[11]=-1,o[12]=0,o[13]=0,o[14]=2*i*g*v,o[15]=0,o}},35279:function(x){x.exports=function(o,t,d,g){var i=Math.tan(t.upDegrees*Math.PI/180),M=Math.tan(t.downDegrees*Math.PI/180),v=Math.tan(t.leftDegrees*Math.PI/180),p=Math.tan(t.rightDegrees*Math.PI/180),u=2/(v+p),a=2/(i+M);return o[0]=u,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=a,o[6]=0,o[7]=0,o[8]=-(v-p)*u*.5,o[9]=(i-M)*a*.5,o[10]=g/(d-g),o[11]=-1,o[12]=0,o[13]=0,o[14]=g*d/(d-g),o[15]=0,o}},65074:function(x){x.exports=function(o,t,d,g){var i,M,v,p,u,a,c,s,l,h,f,m,_,y,C,w,k,E,T,A,L,b,O,I,R=g[0],z=g[1],F=g[2],B=Math.sqrt(R*R+z*z+F*F);return Math.abs(B)<1e-6?null:(R*=B=1/B,z*=B,F*=B,i=Math.sin(d),v=1-(M=Math.cos(d)),p=t[0],u=t[1],a=t[2],c=t[3],s=t[4],l=t[5],h=t[6],f=t[7],m=t[8],_=t[9],y=t[10],C=t[11],w=R*R*v+M,k=z*R*v+F*i,E=F*R*v-z*i,T=R*z*v-F*i,A=z*z*v+M,L=F*z*v+R*i,b=R*F*v+z*i,O=z*F*v-R*i,I=F*F*v+M,o[0]=p*w+s*k+m*E,o[1]=u*w+l*k+_*E,o[2]=a*w+h*k+y*E,o[3]=c*w+f*k+C*E,o[4]=p*T+s*A+m*L,o[5]=u*T+l*A+_*L,o[6]=a*T+h*A+y*L,o[7]=c*T+f*A+C*L,o[8]=p*b+s*O+m*I,o[9]=u*b+l*O+_*I,o[10]=a*b+h*O+y*I,o[11]=c*b+f*O+C*I,t!==o&&(o[12]=t[12],o[13]=t[13],o[14]=t[14],o[15]=t[15]),o)}},35545:function(x){x.exports=function(o,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[4],v=t[5],p=t[6],u=t[7],a=t[8],c=t[9],s=t[10],l=t[11];return t!==o&&(o[0]=t[0],o[1]=t[1],o[2]=t[2],o[3]=t[3],o[12]=t[12],o[13]=t[13],o[14]=t[14],o[15]=t[15]),o[4]=M*i+a*g,o[5]=v*i+c*g,o[6]=p*i+s*g,o[7]=u*i+l*g,o[8]=a*i-M*g,o[9]=c*i-v*g,o[10]=s*i-p*g,o[11]=l*i-u*g,o}},94918:function(x){x.exports=function(o,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],p=t[2],u=t[3],a=t[8],c=t[9],s=t[10],l=t[11];return t!==o&&(o[4]=t[4],o[5]=t[5],o[6]=t[6],o[7]=t[7],o[12]=t[12],o[13]=t[13],o[14]=t[14],o[15]=t[15]),o[0]=M*i-a*g,o[1]=v*i-c*g,o[2]=p*i-s*g,o[3]=u*i-l*g,o[8]=M*g+a*i,o[9]=v*g+c*i,o[10]=p*g+s*i,o[11]=u*g+l*i,o}},15692:function(x){x.exports=function(o,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],p=t[2],u=t[3],a=t[4],c=t[5],s=t[6],l=t[7];return t!==o&&(o[8]=t[8],o[9]=t[9],o[10]=t[10],o[11]=t[11],o[12]=t[12],o[13]=t[13],o[14]=t[14],o[15]=t[15]),o[0]=M*i+a*g,o[1]=v*i+c*g,o[2]=p*i+s*g,o[3]=u*i+l*g,o[4]=a*i-M*g,o[5]=c*i-v*g,o[6]=s*i-p*g,o[7]=l*i-u*g,o}},10789:function(x){x.exports=function(o,t,d){var g=d[0],i=d[1],M=d[2];return o[0]=t[0]*g,o[1]=t[1]*g,o[2]=t[2]*g,o[3]=t[3]*g,o[4]=t[4]*i,o[5]=t[5]*i,o[6]=t[6]*i,o[7]=t[7]*i,o[8]=t[8]*M,o[9]=t[9]*M,o[10]=t[10]*M,o[11]=t[11]*M,o[12]=t[12],o[13]=t[13],o[14]=t[14],o[15]=t[15],o}},6726:function(x){x.exports=function(o){return"mat4("+o[0]+", "+o[1]+", "+o[2]+", "+o[3]+", "+o[4]+", "+o[5]+", "+o[6]+", "+o[7]+", "+o[8]+", "+o[9]+", "+o[10]+", "+o[11]+", "+o[12]+", "+o[13]+", "+o[14]+", "+o[15]+")"}},31283:function(x){x.exports=function(o,t,d){var g,i,M,v,p,u,a,c,s,l,h,f,m=d[0],_=d[1],y=d[2];return t===o?(o[12]=t[0]*m+t[4]*_+t[8]*y+t[12],o[13]=t[1]*m+t[5]*_+t[9]*y+t[13],o[14]=t[2]*m+t[6]*_+t[10]*y+t[14],o[15]=t[3]*m+t[7]*_+t[11]*y+t[15]):(g=t[0],i=t[1],M=t[2],v=t[3],p=t[4],u=t[5],a=t[6],c=t[7],s=t[8],l=t[9],h=t[10],f=t[11],o[0]=g,o[1]=i,o[2]=M,o[3]=v,o[4]=p,o[5]=u,o[6]=a,o[7]=c,o[8]=s,o[9]=l,o[10]=h,o[11]=f,o[12]=g*m+p*_+s*y+t[12],o[13]=i*m+u*_+l*y+t[13],o[14]=M*m+a*_+h*y+t[14],o[15]=v*m+c*_+f*y+t[15]),o}},88654:function(x){x.exports=function(o,t){if(o===t){var d=t[1],g=t[2],i=t[3],M=t[6],v=t[7],p=t[11];o[1]=t[4],o[2]=t[8],o[3]=t[12],o[4]=d,o[6]=t[9],o[7]=t[13],o[8]=g,o[9]=M,o[11]=t[14],o[12]=i,o[13]=v,o[14]=p}else o[0]=t[0],o[1]=t[4],o[2]=t[8],o[3]=t[12],o[4]=t[1],o[5]=t[5],o[6]=t[9],o[7]=t[13],o[8]=t[2],o[9]=t[6],o[10]=t[10],o[11]=t[14],o[12]=t[3],o[13]=t[7],o[14]=t[11],o[15]=t[15];return o}},42505:function(x,o,t){var d=t(72791),g=t(71299),i=t(98580),M=t(12018),v=t(83522),p=t(25075),u=t(68016),a=t(58404),c=t(18863),s=t(10973),l=t(25677),h=t(75686),f=t(53545),m=t(56131),_=t(32879),y=t(30120),C=t(13547).nextPow2,w=new v,k=!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&&(k=!0),document.body.removeChild(E)}var T=function(A){(function(L){return typeof L=="function"&&L._gl&&L.prop&&L.texture&&L.buffer})(A)?(A={regl:A},this.gl=A.regl._gl):this.gl=M(A),this.shader=w.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=A.regl||i({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(),w.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(s(A)?A:{})};T.prototype.createShader=function(){var A=this.regl,L=A({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:A.prop("count"),offset:A.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:A.this("sizeBuffer")},width:{offset:0,stride:8,buffer:A.this("sizeBuffer")},char:A.this("charBuffer"),position:A.this("position")},uniforms:{atlasSize:function(b,O){return[O.atlas.width,O.atlas.height]},atlasDim:function(b,O){return[O.atlas.cols,O.atlas.rows]},atlas:function(b,O){return O.atlas.texture},charStep:function(b,O){return O.atlas.step},em:function(b,O){return O.atlas.em},color:A.prop("color"),opacity:A.prop("opacity"),viewport:A.this("viewportArray"),scale:A.this("scale"),align:A.prop("align"),baseline:A.prop("baseline"),translate:A.this("translate"),positionOffset:A.prop("positionOffset")},primitive:"points",viewport:A.this("viewport"),vert:` +`):H=" ".concat(B," ").concat(H)),z=M(this,s(b).call(this,"".concat(W).concat(H)))}return Error.stackTraceLimit=Y,z.generatedMessage=!F,Object.defineProperty(g(z),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),z.code="ERR_ASSERTION",z.actual=q,z.expected=j,z.operator=B,Error.captureStackTrace&&Error.captureStackTrace(g(z),N),z.stack,z.name="AssertionError",M(z)}var O,I;return function(R,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(z&&z.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),z&&c(R,z)}(b,L),O=b,I=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:h.custom,value:function(R,z){return h(this,function(F){for(var B=1;B2?"one of ".concat(s," ").concat(c.slice(0,l-1).join(", "),", or ")+c[l-1]:l===2?"one of ".concat(s," ").concat(c[0]," or ").concat(c[1]):"of ".concat(s," ").concat(c[0])}return"of ".concat(s," ").concat(String(c))}u("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),u("ERR_INVALID_ARG_TYPE",function(c,s,l){var h,f,m,_,y;if(M===void 0&&(M=t(32791)),M(typeof c=="string","'name' must be a string"),typeof s=="string"&&(f="not ",s.substr(0,f.length)===f)?(h="must not be",s=s.replace(/^not /,"")):h="must be",function(w,k,E){return(E===void 0||E>w.length)&&(E=w.length),w.substring(E-k.length,E)===k}(c," argument"))m="The ".concat(c," ").concat(h," ").concat(a(s,"type"));else{var C=(typeof y!="number"&&(y=0),y+1>(_=c).length||_.indexOf(".",y)===-1?"argument":"property");m='The "'.concat(c,'" ').concat(C," ").concat(h," ").concat(a(s,"type"))}return m+". Received type ".concat(d(l))},TypeError),u("ERR_INVALID_ARG_VALUE",function(c,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";g===void 0&&(g=t(43827));var h=g.inspect(s);return h.length>128&&(h="".concat(h.slice(0,128),"...")),"The argument '".concat(c,"' ").concat(l,". Received ").concat(h)},TypeError),u("ERR_INVALID_RETURN_VALUE",function(c,s,l){var h;return h=l&&l.constructor&&l.constructor.name?"instance of ".concat(l.constructor.name):"type ".concat(d(l)),"Expected ".concat(c,' to be returned from the "').concat(s,'"')+" function but got ".concat(h,".")},TypeError),u("ERR_MISSING_ARGS",function(){for(var c=arguments.length,s=new Array(c),l=0;l0,"At least one arg needs to be specified");var h="The ",f=s.length;switch(s=s.map(function(m){return'"'.concat(m,'"')}),f){case 1:h+="".concat(s[0]," argument");break;case 2:h+="".concat(s[0]," and ").concat(s[1]," arguments");break;default:h+=s.slice(0,f-1).join(", "),h+=", and ".concat(s[f-1]," arguments")}return"".concat(h," must be specified")},TypeError),x.exports.codes=p},74061:function(x,o,t){function d(Z,X){return function(Q){if(Array.isArray(Q))return Q}(Z)||function(Q,re){var ie=[],oe=!0,ue=!1,ce=void 0;try{for(var ye,de=Q[Symbol.iterator]();!(oe=(ye=de.next()).done)&&(ie.push(ye.value),!re||ie.length!==re);oe=!0);}catch(me){ue=!0,ce=me}finally{try{oe||de.return==null||de.return()}finally{if(ue)throw ce}}return ie}(Z,X)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function v(Z){return v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},v(Z)}var i=/a/g.flags!==void 0,M=function(Z){var X=[];return Z.forEach(function(Q){return X.push(Q)}),X},g=function(Z){var X=[];return Z.forEach(function(Q,re){return X.push([re,Q])}),X},p=Object.is?Object.is:t(64003),u=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},a=Number.isNaN?Number.isNaN:t(15567);function c(Z){return Z.call.bind(Z)}var s=c(Object.prototype.hasOwnProperty),l=c(Object.prototype.propertyIsEnumerable),h=c(Object.prototype.toString),f=t(43827).types,m=f.isAnyArrayBuffer,_=f.isArrayBufferView,y=f.isDate,C=f.isMap,w=f.isRegExp,k=f.isSet,E=f.isNativeError,T=f.isBoxedPrimitive,A=f.isNumberObject,L=f.isStringObject,b=f.isBooleanObject,O=f.isBigIntObject,I=f.isSymbolObject,R=f.isFloat32Array,z=f.isFloat64Array;function F(Z){if(Z.length===0||Z.length>10)return!0;for(var X=0;X57)return!0}return Z.length===10&&Z>=Math.pow(2,32)}function B(Z){return Object.keys(Z).filter(F).concat(u(Z).filter(Object.prototype.propertyIsEnumerable.bind(Z)))}function N(Z,X){if(Z===X)return 0;for(var Q=Z.length,re=X.length,ie=0,oe=Math.min(Q,re);ie0?h-4:h;for(s=0;s>16&255,m[_++]=c>>8&255,m[_++]=255&c;return f===2&&(c=d[a.charCodeAt(s)]<<2|d[a.charCodeAt(s+1)]>>4,m[_++]=255&c),f===1&&(c=d[a.charCodeAt(s)]<<10|d[a.charCodeAt(s+1)]<<4|d[a.charCodeAt(s+2)]>>2,m[_++]=c>>8&255,m[_++]=255&c),m},o.fromByteArray=function(a){for(var c,s=a.length,l=s%3,h=[],f=16383,m=0,_=s-l;m<_;m+=f)h.push(u(a,m,m+f>_?_:m+f));return l===1?(c=a[s-1],h.push(t[c>>2]+t[c<<4&63]+"==")):l===2&&(c=(a[s-2]<<8)+a[s-1],h.push(t[c>>10]+t[c>>4&63]+t[c<<2&63]+"=")),h.join("")};for(var t=[],d=[],v=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M=0,g=i.length;M0)throw new Error("Invalid string. Length must be a multiple of 4");var s=a.indexOf("=");return s===-1&&(s=c),[s,s===c?0:4-s%4]}function u(a,c,s){for(var l,h,f=[],m=c;m>18&63]+t[h>>12&63]+t[h>>6&63]+t[63&h]);return f.join("")}d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63},91358:function(x){function o(g,p,u,a,c){for(var s=c+1;a<=c;){var l=a+c>>>1,h=g[l];(u!==void 0?u(h,p):h-p)>=0?(s=l,c=l-1):a=l+1}return s}function t(g,p,u,a,c){for(var s=c+1;a<=c;){var l=a+c>>>1,h=g[l];(u!==void 0?u(h,p):h-p)>0?(s=l,c=l-1):a=l+1}return s}function d(g,p,u,a,c){for(var s=a-1;a<=c;){var l=a+c>>>1,h=g[l];(u!==void 0?u(h,p):h-p)<0?(s=l,a=l+1):c=l-1}return s}function v(g,p,u,a,c){for(var s=a-1;a<=c;){var l=a+c>>>1,h=g[l];(u!==void 0?u(h,p):h-p)<=0?(s=l,a=l+1):c=l-1}return s}function i(g,p,u,a,c){for(;a<=c;){var s=a+c>>>1,l=g[s],h=u!==void 0?u(l,p):l-p;if(h===0)return s;h<=0?a=s+1:c=s-1}return-1}function M(g,p,u,a,c,s){return typeof u=="function"?s(g,p,u,a===void 0?0:0|a,c===void 0?g.length-1:0|c):s(g,p,void 0,u===void 0?0:0|u,a===void 0?g.length-1:0|a)}x.exports={ge:function(g,p,u,a,c){return M(g,p,u,a,c,o)},gt:function(g,p,u,a,c){return M(g,p,u,a,c,t)},lt:function(g,p,u,a,c){return M(g,p,u,a,c,d)},le:function(g,p,u,a,c){return M(g,p,u,a,c,v)},eq:function(g,p,u,a,c){return M(g,p,u,a,c,i)}}},13547:function(x,o){function t(v){var i=32;return(v&=-v)&&i--,65535&v&&(i-=16),16711935&v&&(i-=8),252645135&v&&(i-=4),858993459&v&&(i-=2),1431655765&v&&(i-=1),i}o.INT_BITS=32,o.INT_MAX=2147483647,o.INT_MIN=-2147483648,o.sign=function(v){return(v>0)-(v<0)},o.abs=function(v){var i=v>>31;return(v^i)-i},o.min=function(v,i){return i^(v^i)&-(v65535)<<4,i|=M=((v>>>=i)>255)<<3,i|=M=((v>>>=M)>15)<<2,(i|=M=((v>>>=M)>3)<<1)|(v>>>=M)>>1},o.log10=function(v){return v>=1e9?9:v>=1e8?8:v>=1e7?7:v>=1e6?6:v>=1e5?5:v>=1e4?4:v>=1e3?3:v>=100?2:v>=10?1:0},o.popCount=function(v){return 16843009*((v=(858993459&(v-=v>>>1&1431655765))+(v>>>2&858993459))+(v>>>4)&252645135)>>>24},o.countTrailingZeros=t,o.nextPow2=function(v){return v+=v===0,--v,v|=v>>>1,v|=v>>>2,v|=v>>>4,v|=v>>>8,1+(v|=v>>>16)},o.prevPow2=function(v){return v|=v>>>1,v|=v>>>2,v|=v>>>4,v|=v>>>8,(v|=v>>>16)-(v>>>1)},o.parity=function(v){return v^=v>>>16,v^=v>>>8,v^=v>>>4,27030>>>(v&=15)&1};var d=new Array(256);(function(v){for(var i=0;i<256;++i){var M=i,g=i,p=7;for(M>>>=1;M;M>>>=1)g<<=1,g|=1&M,--p;v[i]=g<>>8&255]<<16|d[v>>>16&255]<<8|d[v>>>24&255]},o.interleave2=function(v,i){return(v=1431655765&((v=858993459&((v=252645135&((v=16711935&((v&=65535)|v<<8))|v<<4))|v<<2))|v<<1))|(i=1431655765&((i=858993459&((i=252645135&((i=16711935&((i&=65535)|i<<8))|i<<4))|i<<2))|i<<1))<<1},o.deinterleave2=function(v,i){return(v=65535&((v=16711935&((v=252645135&((v=858993459&((v=v>>>i&1431655765)|v>>>1))|v>>>2))|v>>>4))|v>>>16))<<16>>16},o.interleave3=function(v,i,M){return v=1227133513&((v=3272356035&((v=251719695&((v=4278190335&((v&=1023)|v<<16))|v<<8))|v<<4))|v<<2),(v|=(i=1227133513&((i=3272356035&((i=251719695&((i=4278190335&((i&=1023)|i<<16))|i<<8))|i<<4))|i<<2))<<1)|(M=1227133513&((M=3272356035&((M=251719695&((M=4278190335&((M&=1023)|M<<16))|M<<8))|M<<4))|M<<2))<<2},o.deinterleave3=function(v,i){return(v=1023&((v=4278190335&((v=251719695&((v=3272356035&((v=v>>>i&1227133513)|v>>>2))|v>>>4))|v>>>8))|v>>>16))<<22>>22},o.nextCombination=function(v){var i=v|v-1;return i+1|(~i&-~i)-1>>>t(v)+1}},44781:function(x,o,t){var d=t(53435);x.exports=function(g,p){p||(p={});var u,a,c,s,l,h,f,m,_,y,C,w=p.cutoff==null?.25:p.cutoff,k=p.radius==null?8:p.radius,E=p.channel||0;if(ArrayBuffer.isView(g)||Array.isArray(g)){if(!p.width||!p.height)throw Error("For raw data width and height should be provided by options");u=p.width,a=p.height,s=g,h=p.stride?p.stride:Math.floor(g.length/u/a)}else window.HTMLCanvasElement&&g instanceof window.HTMLCanvasElement?(f=(m=g).getContext("2d"),u=m.width,a=m.height,s=(_=f.getImageData(0,0,u,a)).data,h=4):window.CanvasRenderingContext2D&&g instanceof window.CanvasRenderingContext2D?(f=g,u=(m=g.canvas).width,a=m.height,s=(_=f.getImageData(0,0,u,a)).data,h=4):window.ImageData&&g instanceof window.ImageData&&(_=g,u=g.width,a=g.height,s=_.data,h=4);if(c=Math.max(u,a),window.Uint8ClampedArray&&s instanceof window.Uint8ClampedArray||window.Uint8Array&&s instanceof window.Uint8Array)for(l=s,s=Array(u*a),y=0,C=l.length;y-1?v(p):p}},68222:function(x,o,t){var d=t(77575),v=t(68318),i=v("%Function.prototype.apply%"),M=v("%Function.prototype.call%"),g=v("%Reflect.apply%",!0)||d.call(M,i),p=v("%Object.getOwnPropertyDescriptor%",!0),u=v("%Object.defineProperty%",!0),a=v("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}x.exports=function(s){var l=g(d,M,arguments);if(p&&u){var h=p(l,"length");h.configurable&&u(l,"length",{value:1+a(0,s.length-(arguments.length-1))})}return l};var c=function(){return g(d,i,arguments)};u?u(x.exports,"apply",{value:c}):x.exports.apply=c},53435:function(x){x.exports=function(o,t,d){return td?d:o:ot?t:o}},6475:function(x,o,t){var d=t(53435);function v(i,M){M==null&&(M=!0);var g=i[0],p=i[1],u=i[2],a=i[3];return a==null&&(a=M?1:255),M&&(g*=255,p*=255,u*=255,a*=255),16777216*(g=255&d(g,0,255))+((p=255&d(p,0,255))<<16)+((u=255&d(u,0,255))<<8)+(255&d(a,0,255))}x.exports=v,x.exports.to=v,x.exports.from=function(i,M){var g=(i=+i)>>>24,p=(16711680&i)>>>16,u=(65280&i)>>>8,a=255&i;return M===!1?[g,p,u,a]:[g/255,p/255,u/255,a/255]}},76857:function(x){x.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]}},25075:function(x,o,t){var d=t(36652),v=t(53435),i=t(90660);x.exports=function(M,g){g!=="float"&&g||(g="array"),g==="uint"&&(g="uint8"),g==="uint_clamped"&&(g="uint8_clamped");var p=new(i(g))(4),u=g!=="uint8"&&g!=="uint8_clamped";return M.length&&typeof M!="string"||((M=d(M))[0]/=255,M[1]/=255,M[2]/=255),function(a){return a instanceof Uint8Array||a instanceof Uint8ClampedArray||!!(Array.isArray(a)&&(a[0]>1||a[0]===0)&&(a[1]>1||a[1]===0)&&(a[2]>1||a[2]===0)&&(!a[3]||a[3]>1))}(M)?(p[0]=M[0],p[1]=M[1],p[2]=M[2],p[3]=M[3]!=null?M[3]:255,u&&(p[0]/=255,p[1]/=255,p[2]/=255,p[3]/=255),p):(u?(p[0]=M[0],p[1]=M[1],p[2]=M[2],p[3]=M[3]!=null?M[3]:1):(p[0]=v(Math.floor(255*M[0]),0,255),p[1]=v(Math.floor(255*M[1]),0,255),p[2]=v(Math.floor(255*M[2]),0,255),p[3]=M[3]==null?255:v(Math.floor(255*M[3]),0,255)),p)}},90736:function(x,o,t){var d=t(76857),v=t(10973),i=t(46775);x.exports=function(g){var p,u,a=[],c=1;if(typeof g=="string")if(d[g])a=d[g].slice(),u="rgb";else if(g==="transparent")c=0,u="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(g)){var s=(f=g.slice(1)).length;c=1,s<=4?(a=[parseInt(f[0]+f[0],16),parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16)],s===4&&(c=parseInt(f[3]+f[3],16)/255)):(a=[parseInt(f[0]+f[1],16),parseInt(f[2]+f[3],16),parseInt(f[4]+f[5],16)],s===8&&(c=parseInt(f[6]+f[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),u="rgb"}else if(p=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(g)){var l=p[1],h=l==="rgb",f=l.replace(/a$/,"");u=f,s=f==="cmyk"?4:f==="gray"?1:3,a=p[2].trim().split(/\s*,\s*/).map(function(_,y){if(/%$/.test(_))return y===s?parseFloat(_)/100:f==="rgb"?255*parseFloat(_)/100:parseFloat(_);if(f[y]==="h"){if(/deg$/.test(_))return parseFloat(_);if(M[_]!==void 0)return M[_]}return parseFloat(_)}),l===f&&a.push(1),c=h||a[s]===void 0?1:a[s],a=a.slice(0,s)}else g.length>10&&/[0-9](?:\s|\/)/.test(g)&&(a=g.match(/([0-9]+)/g).map(function(_){return parseFloat(_)}),u=g.match(/([a-z])/gi).join("").toLowerCase());else if(isNaN(g))if(v(g)){var m=i(g.r,g.red,g.R,null);m!==null?(u="rgb",a=[m,i(g.g,g.green,g.G),i(g.b,g.blue,g.B)]):(u="hsl",a=[i(g.h,g.hue,g.H),i(g.s,g.saturation,g.S),i(g.l,g.lightness,g.L,g.b,g.brightness)]),c=i(g.a,g.alpha,g.opacity,1),g.opacity!=null&&(c/=100)}else(Array.isArray(g)||t.g.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(g))&&(a=[g[0],g[1],g[2]],u="rgb",c=g.length===4?g[3]:1);else u="rgb",a=[g>>>16,(65280&g)>>>8,255&g];return{space:u,values:a,alpha:c}};var M={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}},36652:function(x,o,t){var d=t(90736),v=t(80009),i=t(53435);x.exports=function(M){var g,p=d(M);return p.space?((g=Array(3))[0]=i(p.values[0],0,255),g[1]=i(p.values[1],0,255),g[2]=i(p.values[2],0,255),p.space[0]==="h"&&(g=v.rgb(g)),g.push(i(p.alpha,0,1)),g):[]}},80009:function(x,o,t){var d=t(6866);x.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(v){var i,M,g,p,u,a=v[0]/360,c=v[1]/100,s=v[2]/100;if(c===0)return[u=255*s,u,u];i=2*s-(M=s<.5?s*(1+c):s+c-s*c),p=[0,0,0];for(var l=0;l<3;l++)(g=a+.3333333333333333*-(l-1))<0?g++:g>1&&g--,u=6*g<1?i+6*(M-i)*g:2*g<1?M:3*g<2?i+(M-i)*(.6666666666666666-g)*6:i,p[l]=255*u;return p}},d.hsl=function(v){var i,M,g=v[0]/255,p=v[1]/255,u=v[2]/255,a=Math.min(g,p,u),c=Math.max(g,p,u),s=c-a;return c===a?i=0:g===c?i=(p-u)/s:p===c?i=2+(u-g)/s:u===c&&(i=4+(g-p)/s),(i=Math.min(60*i,360))<0&&(i+=360),M=(a+c)/2,[i,100*(c===a?0:M<=.5?s/(c+a):s/(2-c-a)),100*M]}},6866:function(x){x.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},24138:function(x){x.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"}},72791:function(x,o,t){x.exports={parse:t(41004),stringify:t(53313)}},63625:function(x,o,t){var d=t(40402);x.exports={isSize:function(v){return/^[\d\.]/.test(v)||v.indexOf("/")!==-1||d.indexOf(v)!==-1}}},41004:function(x,o,t){var d=t(90448),v=t(38732),i=t(41901),M=t(15659),g=t(96209),p=t(83794),u=t(99011),a=t(63625).isSize;x.exports=s;var c=s.cache={};function s(h){if(typeof h!="string")throw new Error("Font argument must be a string.");if(c[h])return c[h];if(h==="")throw new Error("Cannot parse an empty string.");if(i.indexOf(h)!==-1)return c[h]={system:h};for(var f,m={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},_=u(h,/\s+/);f=_.shift();){if(v.indexOf(f)!==-1)return["style","variant","weight","stretch"].forEach(function(C){m[C]=f}),c[h]=m;if(g.indexOf(f)===-1)if(f!=="normal"&&f!=="small-caps")if(p.indexOf(f)===-1){if(M.indexOf(f)===-1){if(a(f)){var y=u(f,"/");if(m.size=y[0],y[1]!=null?m.lineHeight=l(y[1]):_[0]==="/"&&(_.shift(),m.lineHeight=l(_.shift())),!_.length)throw new Error("Missing required font-family.");return m.family=u(_.join(" "),/\s*,\s*/).map(d),c[h]=m}throw new Error("Unknown or unsupported font token: "+f)}m.weight=f}else m.stretch=f;else m.variant=f;else m.style=f}throw new Error("Missing required font-size.")}function l(h){var f=parseFloat(h);return f.toString()===h?f:h}},53313:function(x,o,t){var d=t(71299),v=t(63625).isSize,i=h(t(38732)),M=h(t(41901)),g=h(t(15659)),p=h(t(96209)),u=h(t(83794)),a={normal:1,"small-caps":1},c={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},s="serif";function l(f,m){if(f&&!m[f]&&!i[f])throw Error("Unknown keyword `"+f+"`");return f}function h(f){for(var m={},_=0;_h?1:l>=h?0:NaN}t.d(o,{j2:function(){return d},Fp:function(){return M},J6:function(){return p},TS:function(){return u},VV:function(){return a},w6:function(){return c},Sm:function(){return s}}),(v=d).length===1&&(i=v,v=function(l,h){return d(i(l),h)});var v,i;function M(l,h){var f,m,_=l.length,y=-1;if(h==null){for(;++y<_;)if((f=l[y])!=null&&f>=f)for(m=f;++y<_;)(f=l[y])!=null&&f>m&&(m=f)}else for(;++y<_;)if((f=h(l[y],y,l))!=null&&f>=f)for(m=f;++y<_;)(f=h(l[y],y,l))!=null&&f>m&&(m=f);return m}function g(l){return l===null?NaN:+l}function p(l,h){var f,m=l.length,_=m,y=-1,C=0;if(h==null)for(;++y=0;)for(h=(m=l[_]).length;--h>=0;)f[--C]=m[h];return f}function a(l,h){var f,m,_=l.length,y=-1;if(h==null){for(;++y<_;)if((f=l[y])!=null&&f>=f)for(m=f;++y<_;)(f=l[y])!=null&&m>f&&(m=f)}else for(;++y<_;)if((f=h(l[y],y,l))!=null&&f>=f)for(m=f;++y<_;)(f=h(l[y],y,l))!=null&&m>f&&(m=f);return m}function c(l,h,f){l=+l,h=+h,f=(_=arguments.length)<2?(h=l,l=0,1):_<3?1:+f;for(var m=-1,_=0|Math.max(0,Math.ceil((h-l)/f)),y=new Array(_);++m<_;)y[m]=l+m*f;return y}function s(l,h){var f,m=l.length,_=-1,y=0;if(h==null)for(;++_=_.length)return h!=null&&k.sort(h),f!=null?f(k):k;for(var L,b,O,I=-1,R=k.length,z=_[E++],F=M(),B=T();++I_.length)return k;var T,A=y[E-1];return f!=null&&E>=_.length?T=k.entries():(T=[],k.each(function(L,b){T.push({key:b,values:w(L,E)})})),A!=null?T.sort(function(L,b){return A(L.key,b.key)}):T}return m={object:function(k){return C(k,0,p,u)},map:function(k){return C(k,0,a,c)},entries:function(k){return w(C(k,0,a,c),0)},key:function(k){return _.push(k),m},sortKeys:function(k){return y[_.length-1]=k,m},sortValues:function(k){return h=k,m},rollup:function(k){return f=k,m}}}function p(){return{}}function u(h,f,m){h[f]=m}function a(){return M()}function c(h,f,m){h.set(f,m)}function s(){}var l=M.prototype;s.prototype={constructor:s,has:l.has,add:function(h){return this[d+(h+="")]=h,this},remove:l.remove,clear:l.clear,values:l.keys,size:l.size,empty:l.empty,each:l.each}},49887:function(x,o,t){function d(me,pe){var xe;function Pe(){var _e,Me,Se=xe.length,Ce=0,ae=0;for(_e=0;_e=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se,_e=Be,!(Be=Be[ke=be<<1|he]))return _e[ke]=ze,me;if(Ce=+me._x.call(null,Be.data),ae=+me._y.call(null,Be.data),pe===Ce&&xe===ae)return ze.next=Be,_e?_e[ke]=ze:me._root=ze,me;do _e=_e?_e[ke]=new Array(4):me._root=new Array(4),(he=pe>=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se;while((ke=be<<1|he)==(Le=(ae>=Se)<<1|Ce>=Me));return _e[Le]=Be,_e[ke]=ze,me}function g(me,pe,xe,Pe,_e){this.node=me,this.x0=pe,this.y0=xe,this.x1=Pe,this.y1=_e}function p(me){return me[0]}function u(me){return me[1]}function a(me,pe,xe){var Pe=new c(pe??p,xe??u,NaN,NaN,NaN,NaN);return me==null?Pe:Pe.addAll(me)}function c(me,pe,xe,Pe,_e,Me){this._x=me,this._y=pe,this._x0=xe,this._y0=Pe,this._x1=_e,this._y1=Me,this._root=void 0}function s(me){for(var pe={data:me.data},xe=pe;me=me.next;)xe=xe.next={data:me.data};return pe}t.r(o),t.d(o,{forceCenter:function(){return d},forceCollide:function(){return m},forceLink:function(){return w},forceManyBody:function(){return ue},forceRadial:function(){return ce},forceSimulation:function(){return oe},forceX:function(){return ye},forceY:function(){return de}});var l=a.prototype=c.prototype;function h(me){return me.x+me.vx}function f(me){return me.y+me.vy}function m(me){var pe,xe,Pe=1,_e=1;function Me(){for(var ae,he,be,ke,Le,Be,ze,je=pe.length,ge=0;ge<_e;++ge)for(he=a(pe,h,f).visitAfter(Se),ae=0;aeke+bt||$eLe+bt||stbe.index){var Et=ke-ot.x-ot.vx,kt=Le-ot.y-ot.vy,xt=Et*Et+kt*kt;xtae.r&&(ae.r=ae[he].r)}function Ce(){if(pe){var ae,he,be=pe.length;for(xe=new Array(be),ae=0;aebe&&(be=Pe),_eke&&(ke=_e));if(ae>be||he>ke)return this;for(this.cover(ae,he).cover(be,ke),xe=0;xeme||me>=_e||Pe>pe||pe>=Me;)switch(Ce=(peLe||(Me=ae.y0)>Be||(Se=ae.x1)=we)<<1|me>=ge)&&(ae=ze[ze.length-1],ze[ze.length-1]=ze[ze.length-1-he],ze[ze.length-1-he]=ae)}else{var Ee=me-+this._x.call(null,je.data),Ve=pe-+this._y.call(null,je.data),Ye=Ee*Ee+Ve*Ve;if(Ye=(Ce=(ze+ge)/2))?ze=Ce:ge=Ce,(be=Se>=(ae=(je+we)/2))?je=ae:we=ae,pe=Be,!(Be=Be[ke=be<<1|he]))return this;if(!Be.length)break;(pe[ke+1&3]||pe[ke+2&3]||pe[ke+3&3])&&(xe=pe,Le=ke)}for(;Be.data!==me;)if(Pe=Be,!(Be=Be.next))return this;return(_e=Be.next)&&delete Be.next,Pe?(_e?Pe.next=_e:delete Pe.next,this):pe?(_e?pe[ke]=_e:delete pe[ke],(Be=pe[0]||pe[1]||pe[2]||pe[3])&&Be===(pe[3]||pe[2]||pe[1]||pe[0])&&!Be.length&&(xe?xe[Le]=Be:this._root=Be),this):(this._root=_e,this)},l.removeAll=function(me){for(var pe=0,xe=me.length;pe=0&&(Pe=xe.slice(_e+1),xe=xe.slice(0,_e)),xe&&!pe.hasOwnProperty(xe))throw new Error("unknown type: "+xe);return{type:xe,name:Pe}})}function L(me,pe){for(var xe,Pe=0,_e=me.length;Pe<_e;++Pe)if((xe=me[Pe]).name===pe)return xe.value}function b(me,pe,xe){for(var Pe=0,_e=me.length;Pe<_e;++Pe)if(me[Pe].name===pe){me[Pe]=k,me=me.slice(0,Pe).concat(me.slice(Pe+1));break}return xe!=null&&me.push({name:pe,value:xe}),me}T.prototype=E.prototype={constructor:T,on:function(me,pe){var xe,Pe=this._,_e=A(me+"",Pe),Me=-1,Se=_e.length;if(!(arguments.length<2)){if(pe!=null&&typeof pe!="function")throw new Error("invalid callback: "+pe);for(;++Me0)for(var xe,Pe,_e=new Array(xe),Me=0;Me=0&&pe._call.call(null,me),pe=pe._next;--z})()}finally{z=0,function(){for(var me,pe,xe=O,Pe=1/0;xe;)xe._call?(Pe>xe._time&&(Pe=xe._time),me=xe,xe=xe._next):(pe=xe._next,xe._next=null,xe=me?me._next=pe:O=pe);I=me,X(Pe)}(),q=0}}function Z(){var me=Y.now(),pe=me-N;pe>1e3&&(j-=pe,N=me)}function X(me){z||(F&&(F=clearTimeout(F)),me-q>24?(me<1/0&&(F=setTimeout(te,me-Y.now()-j)),B&&(B=clearInterval(B))):(B||(N=Y.now(),B=setInterval(Z,1e3)),z=1,U(te)))}function Q(me){return me.x}function re(me){return me.y}H.prototype=ne.prototype={constructor:H,restart:function(me,pe,xe){if(typeof me!="function")throw new TypeError("callback is not a function");xe=(xe==null?G():+xe)+(pe==null?0:+pe),this._next||I===this||(I?I._next=this:O=this,I=this),this._call=me,this._time=xe,X()},stop:function(){this._call&&(this._call=null,this._time=1/0,X())}};var ie=Math.PI*(3-Math.sqrt(5));function oe(me){var pe,xe=1,Pe=.001,_e=1-Math.pow(Pe,1/300),Me=0,Se=.6,Ce=(0,_.UI)(),ae=ne(be),he=R("tick","end");function be(){ke(),he.call("tick",pe),xe1?(je==null?Ce.remove(ze):Ce.set(ze,Be(je)),pe):Ce.get(ze)},find:function(ze,je,ge){var we,Ee,Ve,Ye,$e,st=0,ot=me.length;for(ge==null?ge=1/0:ge*=ge,st=0;st1?(he.on(ze,je),pe):he.on(ze)}}}function ue(){var me,pe,xe,Pe,_e=v(-30),Me=1,Se=1/0,Ce=.81;function ae(Le){var Be,ze=me.length,je=a(me,Q,re).visitAfter(be);for(xe=Le,Be=0;Be=Se)){(Le.data!==pe||Le.next)&&(ge===0&&(Ve+=(ge=i())*ge),we===0&&(Ve+=(we=i())*we),Ve1?C[0]+C.slice(2):C,+m.slice(y+1)]}t.d(o,{WU:function(){return s},FF:function(){return f}});var v,i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function M(m){if(!(_=i.exec(m)))throw new Error("invalid format: "+m);var _;return new g({fill:_[1],align:_[2],sign:_[3],symbol:_[4],zero:_[5],width:_[6],comma:_[7],precision:_[8]&&_[8].slice(1),trim:_[9],type:_[10]})}function g(m){this.fill=m.fill===void 0?" ":m.fill+"",this.align=m.align===void 0?">":m.align+"",this.sign=m.sign===void 0?"-":m.sign+"",this.symbol=m.symbol===void 0?"":m.symbol+"",this.zero=!!m.zero,this.width=m.width===void 0?void 0:+m.width,this.comma=!!m.comma,this.precision=m.precision===void 0?void 0:+m.precision,this.trim=!!m.trim,this.type=m.type===void 0?"":m.type+""}function p(m,_){var y=d(m,_);if(!y)return m+"";var C=y[0],w=y[1];return w<0?"0."+new Array(-w).join("0")+C:C.length>w+1?C.slice(0,w+1)+"."+C.slice(w+1):C+new Array(w-C.length+2).join("0")}M.prototype=g.prototype,g.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var u={"%":function(m,_){return(100*m).toFixed(_)},b:function(m){return Math.round(m).toString(2)},c:function(m){return m+""},d:function(m){return Math.abs(m=Math.round(m))>=1e21?m.toLocaleString("en").replace(/,/g,""):m.toString(10)},e:function(m,_){return m.toExponential(_)},f:function(m,_){return m.toFixed(_)},g:function(m,_){return m.toPrecision(_)},o:function(m){return Math.round(m).toString(8)},p:function(m,_){return p(100*m,_)},r:p,s:function(m,_){var y=d(m,_);if(!y)return m+"";var C=y[0],w=y[1],k=w-(v=3*Math.max(-8,Math.min(8,Math.floor(w/3))))+1,E=C.length;return k===E?C:k>E?C+new Array(k-E+1).join("0"):k>0?C.slice(0,k)+"."+C.slice(k):"0."+new Array(1-k).join("0")+d(m,Math.max(0,_+k-1))[0]},X:function(m){return Math.round(m).toString(16).toUpperCase()},x:function(m){return Math.round(m).toString(16)}};function a(m){return m}var c,s,l=Array.prototype.map,h=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function f(m){var _,y,C=m.grouping===void 0||m.thousands===void 0?a:(_=l.call(m.grouping,Number),y=m.thousands+"",function(I,R){for(var z=I.length,F=[],B=0,N=_[0],q=0;z>0&&N>0&&(q+N+1>R&&(N=Math.max(1,R-q)),F.push(I.substring(z-=N,z+N)),!((q+=N+1)>R));)N=_[B=(B+1)%_.length];return F.reverse().join(y)}),w=m.currency===void 0?"":m.currency[0]+"",k=m.currency===void 0?"":m.currency[1]+"",E=m.decimal===void 0?".":m.decimal+"",T=m.numerals===void 0?a:function(I){return function(R){return R.replace(/[0-9]/g,function(z){return I[+z]})}}(l.call(m.numerals,String)),A=m.percent===void 0?"%":m.percent+"",L=m.minus===void 0?"-":m.minus+"",b=m.nan===void 0?"NaN":m.nan+"";function O(I){var R=(I=M(I)).fill,z=I.align,F=I.sign,B=I.symbol,N=I.zero,q=I.width,j=I.comma,Y=I.precision,U=I.trim,G=I.type;G==="n"?(j=!0,G="g"):u[G]||(Y===void 0&&(Y=12),U=!0,G="g"),(N||R==="0"&&z==="=")&&(N=!0,R="0",z="=");var W=B==="$"?w:B==="#"&&/[boxX]/.test(G)?"0"+G.toLowerCase():"",H=B==="$"?k:/[%p]/.test(G)?A:"",ne=u[G],te=/[defgprs%]/.test(G);function Z(X){var Q,re,ie,oe=W,ue=H;if(G==="c")ue=ne(X)+ue,X="";else{var ce=(X=+X)<0||1/X<0;if(X=isNaN(X)?b:ne(Math.abs(X),Y),U&&(X=function(me){e:for(var pe,xe=me.length,Pe=1,_e=-1;Pe0&&(_e=0)}return _e>0?me.slice(0,_e)+me.slice(pe+1):me}(X)),ce&&+X==0&&F!=="+"&&(ce=!1),oe=(ce?F==="("?F:L:F==="-"||F==="("?"":F)+oe,ue=(G==="s"?h[8+v/3]:"")+ue+(ce&&F==="("?")":""),te){for(Q=-1,re=X.length;++Q(ie=X.charCodeAt(Q))||ie>57){ue=(ie===46?E+X.slice(Q+1):X.slice(Q))+ue,X=X.slice(0,Q);break}}}j&&!N&&(X=C(X,1/0));var ye=oe.length+X.length+ue.length,de=ye>1)+oe+X+ue+de.slice(ye);break;default:X=de+oe+X+ue}return T(X)}return Y=Y===void 0?6:/[gprs]/.test(G)?Math.max(1,Math.min(21,Y)):Math.max(0,Math.min(20,Y)),Z.toString=function(){return I+""},Z}return{format:O,formatPrefix:function(I,R){var z,F=O(((I=M(I)).type="f",I)),B=3*Math.max(-8,Math.min(8,Math.floor((z=R,((z=d(Math.abs(z)))?z[1]:NaN)/3)))),N=Math.pow(10,-B),q=h[8+B/3];return function(j){return F(N*j)+q}}}}c=f({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),s=c.format,c.formatPrefix},65704:function(x,o,t){t.r(o),t.d(o,{geoAiry:function(){return j},geoAiryRaw:function(){return q},geoAitoff:function(){return U},geoAitoffRaw:function(){return Y},geoArmadillo:function(){return W},geoArmadilloRaw:function(){return G},geoAugust:function(){return ne},geoAugustRaw:function(){return H},geoBaker:function(){return Q},geoBakerRaw:function(){return X},geoBerghaus:function(){return oe},geoBerghausRaw:function(){return ie},geoBertin1953:function(){return Pe},geoBertin1953Raw:function(){return xe},geoBoggs:function(){return ke},geoBoggsRaw:function(){return be},geoBonne:function(){return ge},geoBonneRaw:function(){return je},geoBottomley:function(){return Ee},geoBottomleyRaw:function(){return we},geoBromley:function(){return Ye},geoBromleyRaw:function(){return Ve},geoChamberlin:function(){return Ft},geoChamberlinAfrica:function(){return xt},geoChamberlinRaw:function(){return Et},geoCollignon:function(){return Bt},geoCollignonRaw:function(){return Dt},geoCraig:function(){return Vt},geoCraigRaw:function(){return Wt},geoCraster:function(){return We},geoCrasterRaw:function(){return Je},geoCylindricalEqualArea:function(){return ht},geoCylindricalEqualAreaRaw:function(){return nt},geoCylindricalStereographic:function(){return Ne},geoCylindricalStereographicRaw:function(){return Oe},geoEckert1:function(){return ut},geoEckert1Raw:function(){return Qe},geoEckert2:function(){return _t},geoEckert2Raw:function(){return pt},geoEckert3:function(){return Lt},geoEckert3Raw:function(){return It},geoEckert4:function(){return Pt},geoEckert4Raw:function(){return yt},geoEckert5:function(){return Ot},geoEckert5Raw:function(){return wt},geoEckert6:function(){return $t},geoEckert6Raw:function(){return Nt},geoEisenlohr:function(){return Qt},geoEisenlohrRaw:function(){return Xt},geoFahey:function(){return un},geoFaheyRaw:function(){return xn},geoFoucaut:function(){return Yn},geoFoucautRaw:function(){return An},geoFoucautSinusoidal:function(){return sn},geoFoucautSinusoidalRaw:function(){return kn},geoGilbert:function(){return In},geoGingery:function(){return ur},geoGingeryRaw:function(){return jn},geoGinzburg4:function(){return br},geoGinzburg4Raw:function(){return Lr},geoGinzburg5:function(){return yr},geoGinzburg5Raw:function(){return or},geoGinzburg6:function(){return Kt},geoGinzburg6Raw:function(){return wr},geoGinzburg8:function(){return On},geoGinzburg8Raw:function(){return bn},geoGinzburg9:function(){return Un},geoGinzburg9Raw:function(){return Ln},geoGringorten:function(){return tr},geoGringortenQuincuncial:function(){return Wc},geoGringortenRaw:function(){return Zn},geoGuyou:function(){return jt},geoGuyouRaw:function(){return Pn},geoHammer:function(){return de},geoHammerRaw:function(){return ce},geoHammerRetroazimuthal:function(){return Dn},geoHammerRetroazimuthalRaw:function(){return fn},geoHealpix:function(){return nr},geoHealpixRaw:function(){return yn},geoHill:function(){return hr},geoHillRaw:function(){return Qn},geoHomolosine:function(){return Pr},geoHomolosineRaw:function(){return Rr},geoHufnagel:function(){return vr},geoHufnagelRaw:function(){return Vr},geoHyperelliptical:function(){return ia},geoHyperellipticalRaw:function(){return Gi},geoInterrupt:function(){return Qi},geoInterruptedBoggs:function(){return ss},geoInterruptedHomolosine:function(){return Su},geoInterruptedMollweide:function(){return xf},geoInterruptedMollweideHemispheres:function(){return ls},geoInterruptedQuarticAuthalic:function(){return eu},geoInterruptedSinuMollweide:function(){return Za},geoInterruptedSinusoidal:function(){return Ko},geoKavrayskiy7:function(){return Cl},geoKavrayskiy7Raw:function(){return us},geoLagrange:function(){return El},geoLagrangeRaw:function(){return Wi},geoLarrivee:function(){return qs},geoLarriveeRaw:function(){return Is},geoLaskowski:function(){return fh},geoLaskowskiRaw:function(){return ac},geoLittrow:function(){return hh},geoLittrowRaw:function(){return ol},geoLoximuthal:function(){return Yh},geoLoximuthalRaw:function(){return dh},geoMiller:function(){return ph},geoMillerRaw:function(){return wf},geoModifiedStereographic:function(){return Kl},geoModifiedStereographicAlaska:function(){return Mf},geoModifiedStereographicGs48:function(){return Xl},geoModifiedStereographicGs50:function(){return jc},geoModifiedStereographicLee:function(){return Lu},geoModifiedStereographicMiller:function(){return Ll},geoModifiedStereographicRaw:function(){return Tf},geoMollweide:function(){return Ce},geoMollweideRaw:function(){return Se},geoMtFlatPolarParabolic:function(){return Zh},geoMtFlatPolarParabolicRaw:function(){return Il},geoMtFlatPolarQuartic:function(){return oc},geoMtFlatPolarQuarticRaw:function(){return Uc},geoMtFlatPolarSinusoidal:function(){return Iu},geoMtFlatPolarSinusoidalRaw:function(){return Jl},geoNaturalEarth:function(){return vs.Z},geoNaturalEarth2:function(){return sc},geoNaturalEarth2Raw:function(){return Af},geoNaturalEarthRaw:function(){return vs.K},geoNellHammer:function(){return lc},geoNellHammerRaw:function(){return Ou},geoNicolosi:function(){return uc},geoNicolosiRaw:function(){return Pu},geoPatterson:function(){return Hc},geoPattersonRaw:function(){return Ol},geoPeirceQuincuncial:function(){return qc},geoPierceQuincuncial:function(){return qc},geoPolyconic:function(){return Cf},geoPolyconicRaw:function(){return dc},geoPolyhedral:function(){return Pl},geoPolyhedralButterfly:function(){return Gc},geoPolyhedralCollignon:function(){return Lf},geoPolyhedralWaterman:function(){return iu},geoProject:function(){return ou},geoQuantize:function(){return Po},geoQuincuncial:function(){return Jo},geoRectangularPolyconic:function(){return su},geoRectangularPolyconicRaw:function(){return Br},geoRobinson:function(){return Ru},geoRobinsonRaw:function(){return $c},geoSatellite:function(){return Fu},geoSatelliteRaw:function(){return zu},geoSinuMollweide:function(){return xr},geoSinuMollweideRaw:function(){return pr},geoSinusoidal:function(){return ze},geoSinusoidalRaw:function(){return Be},geoStitch:function(){return uu},geoTimes:function(){return ws},geoTimesRaw:function(){return bo},geoTwoPointAzimuthal:function(){return Ts},geoTwoPointAzimuthalRaw:function(){return gc},geoTwoPointAzimuthalUsa:function(){return cs},geoTwoPointEquidistant:function(){return Yi},geoTwoPointEquidistantRaw:function(){return Zs},geoTwoPointEquidistantUsa:function(){return Uo},geoVanDerGrinten:function(){return Ps},geoVanDerGrinten2:function(){return Xs},geoVanDerGrinten2Raw:function(){return Ho},geoVanDerGrinten3:function(){return pl},geoVanDerGrinten3Raw:function(){return Fl},geoVanDerGrinten4:function(){return ks},geoVanDerGrinten4Raw:function(){return xo},geoVanDerGrintenRaw:function(){return io},geoWagner:function(){return oi},geoWagner4:function(){return Zc},geoWagner4Raw:function(){return _o},geoWagner6:function(){return Vu},geoWagner6Raw:function(){return Go},geoWagner7:function(){return Nu},geoWagnerRaw:function(){return $r},geoWiechel:function(){return ta},geoWiechelRaw:function(){return vl},geoWinkel3:function(){return Xc},geoWinkel3Raw:function(){return ua}});var d=t(15002),v=Math.abs,i=Math.atan,M=Math.atan2,g=Math.cos,p=Math.exp,u=Math.floor,a=Math.log,c=Math.max,s=Math.min,l=Math.pow,h=Math.round,f=Math.sign||function(et){return et>0?1:et<0?-1:0},m=Math.sin,_=Math.tan,y=1e-6,C=1e-12,w=Math.PI,k=w/2,E=w/4,T=Math.SQRT1_2,A=F(2),L=F(w),b=2*w,O=180/w,I=w/180;function R(et){return et>1?k:et<-1?-k:Math.asin(et)}function z(et){return et>1?0:et<-1?w:Math.acos(et)}function F(et){return et>0?Math.sqrt(et):0}function B(et){return(p(et)-p(-et))/2}function N(et){return(p(et)+p(-et))/2}function q(et){var rt=_(et/2),ct=2*a(g(et/2))/(rt*rt);function vt(St,Mt){var $=g(St),ee=g(Mt),K=m(Mt),le=ee*$,Te=-((1-le?a((1+le)/2)/(1-le):-.5)+ct/(1+le));return[Te*ee*m(St),Te*K]}return vt.invert=function(St,Mt){var $,ee=F(St*St+Mt*Mt),K=-et/2,le=50;if(!ee)return[0,0];do{var Te=K/2,Re=g(Te),He=m(Te),Ze=He/Re,at=-a(v(Re));K-=$=(2/Ze*at-ct*Ze-ee)/(-at/(He*He)+1-ct/(2*Re*Re))*(Re<0?.7:1)}while(v($)>y&&--le>0);var Tt=m(K);return[M(St*Tt,ee*g(K)),R(Mt*Tt/ee)]},vt}function j(){var et=k,rt=(0,d.r)(q),ct=rt(et);return ct.radius=function(vt){return arguments.length?rt(et=vt*I):et*O},ct.scale(179.976).clipAngle(147)}function Y(et,rt){var ct=g(rt),vt=function(St){return St?St/Math.sin(St):1}(z(ct*g(et/=2)));return[2*ct*m(et)*vt,m(rt)*vt]}function U(){return(0,d.Z)(Y).scale(152.63)}function G(et){var rt=m(et),ct=g(et),vt=et>=0?1:-1,St=_(vt*et),Mt=(1+rt-ct)/2;function $(ee,K){var le=g(K),Te=g(ee/=2);return[(1+le)*m(ee),(vt*K>-M(Te,St)-.001?0:10*-vt)+Mt+m(K)*ct-(1+le)*rt*Te]}return $.invert=function(ee,K){var le=0,Te=0,Re=50;do{var He=g(le),Ze=m(le),at=g(Te),Tt=m(Te),At=1+at,se=At*Ze-ee,ve=Mt+Tt*ct-At*rt*He-K,Ie=At*He/2,Fe=-Ze*Tt,Ue=rt*At*Ze/2,qe=ct*at+rt*He*Tt,Xe=Fe*Ue-qe*Ie,tt=(ve*Fe-se*qe)/Xe/2,lt=(se*Ue-ve*Ie)/Xe;v(lt)>2&&(lt/=2),le-=tt,Te-=lt}while((v(tt)>y||v(lt)>y)&&--Re>0);return vt*Te>-M(g(le),St)-.001?[2*le,Te]:null},$}function W(){var et=20*I,rt=et>=0?1:-1,ct=_(rt*et),vt=(0,d.r)(G),St=vt(et),Mt=St.stream;return St.parallel=function($){return arguments.length?(ct=_((rt=(et=$*I)>=0?1:-1)*et),vt(et)):et*O},St.stream=function($){var ee=St.rotate(),K=Mt($),le=(St.rotate([0,0]),Mt($)),Te=St.precision();return St.rotate(ee),K.sphere=function(){le.polygonStart(),le.lineStart();for(var Re=-180*rt;rt*Re<180;Re+=90*rt)le.point(Re,90*rt);if(et)for(;rt*(Re-=3*rt*Te)>=-180;)le.point(Re,rt*-M(g(Re*I/2),ct)*O);le.lineEnd(),le.polygonEnd()},K},St.scale(218.695).center([0,28.0974])}function H(et,rt){var ct=_(rt/2),vt=F(1-ct*ct),St=1+vt*g(et/=2),Mt=m(et)*vt/St,$=ct/St,ee=Mt*Mt,K=$*$;return[1.3333333333333333*Mt*(3+ee-3*K),1.3333333333333333*$*(3+3*ee-K)]}function ne(){return(0,d.Z)(H).scale(66.1603)}Y.invert=function(et,rt){if(!(et*et+4*rt*rt>w*w+y)){var ct=et,vt=rt,St=25;do{var Mt,$=m(ct),ee=m(ct/2),K=g(ct/2),le=m(vt),Te=g(vt),Re=m(2*vt),He=le*le,Ze=Te*Te,at=ee*ee,Tt=1-Ze*K*K,At=Tt?z(Te*K)*F(Mt=1/Tt):Mt=0,se=2*At*Te*ee-et,ve=At*le-rt,Ie=Mt*(Ze*at+At*Te*K*He),Fe=Mt*(.5*$*Re-2*At*le*ee),Ue=.25*Mt*(Re*ee-At*le*Ze*$),qe=Mt*(He*K+At*at*Te),Xe=Fe*Ue-qe*Ie;if(!Xe)break;var tt=(ve*Fe-se*qe)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((v(tt)>y||v(lt)>y)&&--St>0);return[ct,vt]}},H.invert=function(et,rt){if(rt*=.375,!(et*=.375)&&v(rt)>1)return null;var ct=1+et*et+rt*rt,vt=F((ct-F(ct*ct-4*rt*rt))/2),St=R(vt)/3,Mt=vt?function(le){return a(le+F(le*le-1))}(v(rt/vt))/3:function(le){return a(le+F(le*le+1))}(v(et))/3,$=g(St),ee=N(Mt),K=ee*ee-$*$;return[2*f(et)*M(B(Mt)*$,.25-K),2*f(rt)*M(ee*m(St),.25+K)]};var te=F(8),Z=a(1+A);function X(et,rt){var ct=v(rt);return ctC&&--Mt>0);return[et/(g(St)*(te-1/m(St))),f(rt)*St]};var re=t(17889);function ie(et){var rt=2*w/et;function ct(vt,St){var Mt=(0,re.N)(vt,St);if(v(vt)>k){var $=M(Mt[1],Mt[0]),ee=F(Mt[0]*Mt[0]+Mt[1]*Mt[1]),K=rt*h(($-k)/rt)+k,le=M(m($-=K),2-g($));$=K+R(w/ee*m(le))-le,Mt[0]=ee*g($),Mt[1]=ee*m($)}return Mt}return ct.invert=function(vt,St){var Mt=F(vt*vt+St*St);if(Mt>k){var $=M(St,vt),ee=rt*h(($-k)/rt)+k,K=$>ee?-1:1,le=Mt*g(ee-$),Te=1/_(K*z((le-w)/F(w*(w-2*le)+Mt*Mt)));$=ee+2*i((Te+K*F(Te*Te-3))/3),vt=Mt*g($),St=Mt*m($)}return re.N.invert(vt,St)},ct}function oe(){var et=5,rt=(0,d.r)(ie),ct=rt(et),vt=ct.stream,St=.01,Mt=-g(St*I),$=m(St*I);return ct.lobes=function(ee){return arguments.length?rt(et=+ee):et},ct.stream=function(ee){var K=ct.rotate(),le=vt(ee),Te=(ct.rotate([0,0]),vt(ee));return ct.rotate(K),le.sphere=function(){Te.polygonStart(),Te.lineStart();for(var Re=0,He=360/et,Ze=2*w/et,at=90-180/et,Tt=k;Re0&&v(vt)>y);return $<0?NaN:ct}function pe(et,rt,ct){return rt===void 0&&(rt=40),ct===void 0&&(ct=C),function(vt,St,Mt,$){var ee,K,le;Mt=Mt===void 0?0:+Mt,$=$===void 0?0:+$;for(var Te=0;Teee)Mt-=K/=2,$-=le/=2;else{ee=at;var Tt=(Mt>0?-1:1)*ct,At=($>0?-1:1)*ct,se=et(Mt+Tt,$),ve=et(Mt,$+At),Ie=(se[0]-Re[0])/Tt,Fe=(se[1]-Re[1])/Tt,Ue=(ve[0]-Re[0])/At,qe=(ve[1]-Re[1])/At,Xe=qe*Ie-Fe*Ue,tt=(v(Xe)<.5?.5:1)/Xe;if(Mt+=K=(Ze*Ue-He*qe)*tt,$+=le=(He*Fe-Ze*Ie)*tt,v(K)0&&(Mt[1]*=1+$/1.5*Mt[0]*Mt[0]),Mt}return rt.invert=pe(rt),rt}function Pe(){return(0,d.Z)(xe()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function _e(et,rt){var ct,vt=et*m(rt),St=30;do rt-=ct=(rt+m(rt)-vt)/(1+g(rt));while(v(ct)>y&&--St>0);return rt/2}function Me(et,rt,ct){function vt(St,Mt){return[et*St*g(Mt=_e(ct,Mt)),rt*m(Mt)]}return vt.invert=function(St,Mt){return Mt=R(Mt/rt),[St/(et*g(Mt)),R((2*Mt+m(2*Mt))/ct)]},vt}ye.invert=function(et,rt){var ct=2*R(rt/2);return[et*g(ct/2)/g(ct),ct]};var Se=Me(A/k,A,w);function Ce(){return(0,d.Z)(Se).scale(169.529)}var ae=2.00276,he=1.11072;function be(et,rt){var ct=_e(w,rt);return[ae*et/(1/g(rt)+he/g(ct)),(rt+A*m(ct))/ae]}function ke(){return(0,d.Z)(be).scale(160.857)}function Le(et){var rt=0,ct=(0,d.r)(et),vt=ct(rt);return vt.parallel=function(St){return arguments.length?ct(rt=St*I):rt*O},vt}function Be(et,rt){return[et*g(rt),rt]}function ze(){return(0,d.Z)(Be).scale(152.63)}function je(et){if(!et)return Be;var rt=1/_(et);function ct(vt,St){var Mt=rt+et-St,$=Mt&&vt*g(St)/Mt;return[Mt*m($),rt-Mt*g($)]}return ct.invert=function(vt,St){var Mt=F(vt*vt+(St=rt-St)*St),$=rt+et-Mt;return[Mt/g($)*M(vt,St),$]},ct}function ge(){return Le(je).scale(123.082).center([0,26.1441]).parallel(45)}function we(et){function rt(ct,vt){var St=k-vt,Mt=St&&ct*et*m(St)/St;return[St*m(Mt)/et,k-St*g(Mt)]}return rt.invert=function(ct,vt){var St=ct*et,Mt=k-vt,$=F(St*St+Mt*Mt),ee=M(St,Mt);return[($?$/m($):1)*ee/et,k-$]},rt}function Ee(){var et=.5,rt=(0,d.r)(we),ct=rt(et);return ct.fraction=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(158.837)}be.invert=function(et,rt){var ct,vt,St=ae*rt,Mt=rt<0?-E:E,$=25;do vt=St-A*m(Mt),Mt-=ct=(m(2*Mt)+2*Mt-w*m(vt))/(2*g(2*Mt)+2+w*g(vt)*A*g(Mt));while(v(ct)>y&&--$>0);return vt=St-A*m(Mt),[et*(1/g(vt)+he/g(Mt))/ae,vt]},Be.invert=function(et,rt){return[et/g(rt),rt]};var Ve=Me(1,4/w,w);function Ye(){return(0,d.Z)(Ve).scale(152.63)}var $e=t(66624),st=t(49386);function ot(et,rt,ct,vt,St,Mt){var $,ee=g(Mt);if(v(et)>1||v(Mt)>1)$=z(ct*St+rt*vt*ee);else{var K=m(et/2),le=m(Mt/2);$=2*R(F(K*K+rt*vt*le*le))}return v($)>y?[$,M(vt*m(Mt),rt*St-ct*vt*ee)]:[0,0]}function ft(et,rt,ct){return z((et*et+rt*rt-ct*ct)/(2*et*rt))}function bt(et){return et-2*w*u((et+w)/(2*w))}function Et(et,rt,ct){for(var vt,St=[[et[0],et[1],m(et[1]),g(et[1])],[rt[0],rt[1],m(rt[1]),g(rt[1])],[ct[0],ct[1],m(ct[1]),g(ct[1])]],Mt=St[2],$=0;$<3;++$,Mt=vt)vt=St[$],Mt.v=ot(vt[1]-Mt[1],Mt[3],Mt[2],vt[3],vt[2],vt[0]-Mt[0]),Mt.point=[0,0];var ee=ft(St[0].v[0],St[2].v[0],St[1].v[0]),K=ft(St[0].v[0],St[1].v[0],St[2].v[0]),le=w-ee;St[2].point[1]=0,St[0].point[0]=-(St[1].point[0]=St[0].v[0]/2);var Te=[St[2].point[0]=St[0].point[0]+St[2].v[0]*g(ee),2*(St[0].point[1]=St[1].point[1]=St[2].v[0]*m(ee))];return function(Re,He){var Ze,at=m(He),Tt=g(He),At=new Array(3);for(Ze=0;Ze<3;++Ze){var se=St[Ze];if(At[Ze]=ot(He-se[1],se[3],se[2],Tt,at,Re-se[0]),!At[Ze][0])return se.point;At[Ze][1]=bt(At[Ze][1]-se.v[1])}var ve=Te.slice();for(Ze=0;Ze<3;++Ze){var Ie=Ze==2?0:Ze+1,Fe=ft(St[Ze].v[0],At[Ze][0],At[Ie][0]);At[Ze][1]<0&&(Fe=-Fe),Ze?Ze==1?(Fe=K-Fe,ve[0]-=At[Ze][0]*g(Fe),ve[1]-=At[Ze][0]*m(Fe)):(Fe=le-Fe,ve[0]+=At[Ze][0]*g(Fe),ve[1]+=At[Ze][0]*m(Fe)):(ve[0]+=At[Ze][0]*g(Fe),ve[1]-=At[Ze][0]*m(Fe))}return ve[0]/=3,ve[1]/=3,ve}}function kt(et){return et[0]*=I,et[1]*=I,et}function xt(){return Ft([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Ft(et,rt,ct){var vt=(0,$e.Z)({type:"MultiPoint",coordinates:[et,rt,ct]}),St=[-vt[0],-vt[1]],Mt=(0,st.Z)(St),$=Et(kt(Mt(et)),kt(Mt(rt)),kt(Mt(ct)));$.invert=pe($);var ee=(0,d.Z)($).rotate(St),K=ee.center;return delete ee.rotate,ee.center=function(le){return arguments.length?K(Mt(le)):Mt.invert(K())},ee.clipAngle(90)}function Dt(et,rt){var ct=F(1-m(rt));return[2/L*et*ct,L*(1-ct)]}function Bt(){return(0,d.Z)(Dt).scale(95.6464).center([0,30])}function Wt(et){var rt=_(et);function ct(vt,St){return[vt,(vt?vt/m(vt):1)*(m(St)*g(vt)-rt*g(St))]}return ct.invert=rt?function(vt,St){vt&&(St*=m(vt)/vt);var Mt=g(vt);return[vt,2*M(F(Mt*Mt+rt*rt-St*St)-Mt,rt-St)]}:function(vt,St){return[vt,R(vt?St*_(vt)/vt:St)]},ct}function Vt(){return Le(Wt).scale(249.828).clipAngle(90)}Dt.invert=function(et,rt){var ct=(ct=rt/L-1)*ct;return[ct>0?et*F(w/ct)/2:0,R(1-ct)]};var Ke=F(3);function Je(et,rt){return[Ke*et*(2*g(2*rt/3)-1)/L,Ke*L*m(rt/3)]}function We(){return(0,d.Z)(Je).scale(156.19)}function nt(et){var rt=g(et);function ct(vt,St){return[vt*rt,m(St)/rt]}return ct.invert=function(vt,St){return[vt/rt,R(St*rt)]},ct}function ht(){return Le(nt).parallel(38.58).scale(195.044)}function Oe(et){var rt=g(et);function ct(vt,St){return[vt*rt,(1+rt)*_(St/2)]}return ct.invert=function(vt,St){return[vt/rt,2*i(St/(1+rt))]},ct}function Ne(){return Le(Oe).scale(124.75)}function Qe(et,rt){var ct=F(8/(3*w));return[ct*et*(1-v(rt)/w),ct*rt]}function ut(){return(0,d.Z)(Qe).scale(165.664)}function pt(et,rt){var ct=F(4-3*m(v(rt)));return[2/F(6*w)*et*ct,f(rt)*F(2*w/3)*(2-ct)]}function _t(){return(0,d.Z)(pt).scale(165.664)}function It(et,rt){var ct=F(w*(4+w));return[2/ct*et*(1+F(1-4*rt*rt/(w*w))),4/ct*rt]}function Lt(){return(0,d.Z)(It).scale(180.739)}function yt(et,rt){var ct=(2+k)*m(rt);rt/=2;for(var vt=0,St=1/0;vt<10&&v(St)>y;vt++){var Mt=g(rt);rt-=St=(rt+m(rt)*(Mt+2)-ct)/(2*Mt*(1+Mt))}return[2/F(w*(4+w))*et*(1+g(rt)),2*F(w/(4+w))*m(rt)]}function Pt(){return(0,d.Z)(yt).scale(180.739)}function wt(et,rt){return[et*(1+g(rt))/F(2+w),2*rt/F(2+w)]}function Ot(){return(0,d.Z)(wt).scale(173.044)}function Nt(et,rt){for(var ct=(1+k)*m(rt),vt=0,St=1/0;vt<10&&v(St)>y;vt++)rt-=St=(rt+m(rt)-ct)/(1+g(rt));return ct=F(2+w),[et*(1+g(rt))/ct,2*rt/ct]}function $t(){return(0,d.Z)(Nt).scale(173.044)}Je.invert=function(et,rt){var ct=3*R(rt/(Ke*L));return[L*et/(Ke*(2*g(2*ct/3)-1)),ct]},Qe.invert=function(et,rt){var ct=F(8/(3*w)),vt=rt/ct;return[et/(ct*(1-v(vt)/w)),vt]},pt.invert=function(et,rt){var ct=2-v(rt)/F(2*w/3);return[et*F(6*w)/(2*ct),f(rt)*R((4-ct*ct)/3)]},It.invert=function(et,rt){var ct=F(w*(4+w))/2;return[et*ct/(1+F(1-rt*rt*(4+w)/(4*w))),rt*ct/2]},yt.invert=function(et,rt){var ct=rt*F((4+w)/w)/2,vt=R(ct),St=g(vt);return[et/(2/F(w*(4+w))*(1+St)),R((vt+ct*(St+2))/(2+k))]},wt.invert=function(et,rt){var ct=F(2+w),vt=rt*ct/2;return[ct*et/(1+g(vt)),vt]},Nt.invert=function(et,rt){var ct=1+k,vt=F(ct/2);return[2*et*vt/(1+g(rt*=vt)),R((rt+m(rt))/ct)]};var qt=3+2*A;function Xt(et,rt){var ct=m(et/=2),vt=g(et),St=F(g(rt)),Mt=g(rt/=2),$=m(rt)/(Mt+A*vt*St),ee=F(2/(1+$*$)),K=F((A*Mt+(vt+ct)*St)/(A*Mt+(vt-ct)*St));return[qt*(ee*(K-1/K)-2*a(K)),qt*(ee*$*(K+1/K)-2*i($))]}function Qt(){return(0,d.Z)(Xt).scale(62.5271)}Xt.invert=function(et,rt){if(!(ct=H.invert(et/1.2,1.065*rt)))return null;var ct,vt=ct[0],St=ct[1],Mt=20;et/=qt,rt/=qt;do{var $=vt/2,ee=St/2,K=m($),le=g($),Te=m(ee),Re=g(ee),He=g(St),Ze=F(He),at=Te/(Re+A*le*Ze),Tt=at*at,At=F(2/(1+Tt)),se=(A*Re+(le+K)*Ze)/(A*Re+(le-K)*Ze),ve=F(se),Ie=ve-1/ve,Fe=ve+1/ve,Ue=At*Ie-2*a(ve)-et,qe=At*at*Fe-2*i(at)-rt,Xe=Te&&T*Ze*K*Tt/Te,tt=(A*le*Re+Ze)/(2*(Re+A*le*Ze)*(Re+A*le*Ze)*Ze),lt=-.5*at*At*At*At,gt=lt*Xe,zt=lt*tt,Ut=(Ut=2*Re+A*Ze*(le-K))*Ut*ve,Ht=(A*le*Re*Ze+He)/Ut,en=-A*K*Te/(Ze*Ut),vn=Ie*gt-2*Ht/ve+At*(Ht+Ht/se),tn=Ie*zt-2*en/ve+At*(en+en/se),ln=at*Fe*gt-2*Xe/(1+Tt)+At*Fe*Xe+At*at*(Ht-Ht/se),an=at*Fe*zt-2*tt/(1+Tt)+At*Fe*tt+At*at*(en-en/se),Cn=tn*ln-an*vn;if(!Cn)break;var _n=(qe*tn-Ue*an)/Cn,on=(Ue*ln-qe*vn)/Cn;vt-=_n,St=c(-k,s(k,St-on))}while((v(_n)>y||v(on)>y)&&--Mt>0);return v(v(St)-k)vt){var Re=F(Te),He=M(le,K),Ze=ct*h(He/ct),at=He-Ze,Tt=et*g(at),At=(et*m(at)-at*m(Tt))/(k-Tt),se=Gn(at,At),ve=(w-et)/Wn(se,Tt,w);K=Re;var Ie,Fe=50;do K-=Ie=(et+Wn(se,Tt,K)*ve-Re)/(se(K)*ve);while(v(Ie)>y&&--Fe>0);le=at*m(K),Kvt){var K=F(ee),le=M($,Mt),Te=ct*h(le/ct),Re=le-Te;Mt=K*g(Re),$=K*m(Re);for(var He=Mt-k,Ze=m(Mt),at=$/Ze,Tt=Mty||v(He)>y)&&--Tt>0);return[Ze,at]},K}var Lr=rr(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function br(){return(0,d.Z)(Lr).scale(149.995)}var or=rr(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function yr(){return(0,d.Z)(or).scale(153.93)}var wr=rr(5/6*w,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Kt(){return(0,d.Z)(wr).scale(130.945)}function bn(et,rt){var ct=et*et,vt=rt*rt;return[et*(1-.162388*vt)*(.87-952426e-9*ct*ct),rt*(1+vt/12)]}function On(){return(0,d.Z)(bn).scale(131.747)}bn.invert=function(et,rt){var ct,vt=et,St=rt,Mt=50;do{var $=St*St;St-=ct=(St*(1+$/12)-rt)/(1+$/4)}while(v(ct)>y&&--Mt>0);Mt=50,et/=1-.162388*$;do{var ee=(ee=vt*vt)*ee;vt-=ct=(vt*(.87-952426e-9*ee)-et)/(.87-.00476213*ee)}while(v(ct)>y&&--Mt>0);return[vt,St]};var Ln=rr(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Un(){return(0,d.Z)(Ln).scale(131.087)}function Jn(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=vt>0?-.5:.5,$=et(vt+Mt*w,St);return $[0]-=Mt*rt,$}return et.invert&&(ct.invert=function(vt,St){var Mt=vt>0?-.5:.5,$=et.invert(vt+Mt*rt,St),ee=$[0]-Mt*w;return ee<-w?ee+=2*w:ee>w&&(ee-=2*w),$[0]=ee,$}),ct}function Zn(et,rt){var ct=f(et),vt=f(rt),St=g(rt),Mt=g(et)*St,$=m(et)*St,ee=m(vt*rt);et=v(M($,ee)),rt=R(Mt),v(et-k)>y&&(et%=k);var K=function(le,Te){if(Te===k)return[0,0];var Re,He,Ze=m(Te),at=Ze*Ze,Tt=at*at,At=1+Tt,se=1+3*Tt,ve=1-Tt,Ie=R(1/F(At)),Fe=ve+at*At*Ie,Ue=(1-Ze)/Fe,qe=F(Ue),Xe=Ue*At,tt=F(Xe),lt=qe*ve;if(le===0)return[0,-(lt+at*tt)];var gt,zt=g(Te),Ut=1/zt,Ht=2*Ze*zt,en=(-Fe*zt-(-3*at+Ie*se)*Ht*(1-Ze))/(Fe*Fe),vn=-Ut*Ht,tn=-Ut*(at*At*en+Ue*se*Ht),ln=-2*Ut*(ve*(.5*en/qe)-2*at*qe*Ht),an=4*le/w;if(le>.222*w||Te.175*w){if(Re=(lt+at*F(Xe*(1+Tt)-lt*lt))/(1+Tt),le>w/4)return[Re,Re];var Cn=Re,_n=.5*Re;Re=.5*(_n+Cn),He=50;do{var on=Re*(ln+vn*F(Xe-Re*Re))+tn*R(Re/tt)-an;if(!on)break;on<0?_n=Re:Cn=Re,Re=.5*(_n+Cn)}while(v(Cn-_n)>y&&--He>0)}else{Re=y,He=25;do{var Fn=Re*Re,Hn=F(Xe-Fn),ir=ln+vn*Hn,ar=Re*ir+tn*R(Re/tt)-an;Re-=gt=Hn?ar/(ir+(tn-vn*Fn)/Hn):0}while(v(gt)>y&&--He>0)}return[Re,-lt-at*F(Xe-Re*Re)]}(et>w/4?k-et:et,rt);return et>w/4&&(ee=K[0],K[0]=-K[1],K[1]=-ee),K[0]*=ct,K[1]*=-vt,K}function tr(){return(0,d.Z)(Jn(Zn)).scale(239.75)}function gr(et,rt){var ct,vt,St,Mt,$,ee;if(rt=.999999)return ct=(1-rt)/4,St=1/(vt=N(et)),[(Mt=((ee=p(2*(ee=et)))-1)/(ee+1))+ct*(($=vt*B(et))-et)/(vt*vt),St-ct*Mt*St*($-et),St+ct*Mt*St*($+et),2*i(p(et))-k+ct*($-et)/vt];var K=[1,0,0,0,0,0,0,0,0],le=[F(rt),0,0,0,0,0,0,0,0],Te=0;for(vt=F(1-rt),$=1;v(le[Te]/K[Te])>y&&Te<8;)ct=K[Te++],le[Te]=(ct-vt)/2,K[Te]=(ct+vt)/2,vt=F(ct*vt),$*=2;St=$*K[Te]*et;do St=(R(Mt=le[Te]*m(vt=St)/K[Te])+St)/2;while(--Te);return[m(St),Mt=g(St),Mt/g(St-vt),St]}function nn(et,rt){if(!rt)return et;if(rt===1)return a(_(et/2+E));for(var ct=1,vt=F(1-rt),St=F(rt),Mt=0;v(St)>y;Mt++){if(et%w){var $=i(vt*_(et)/ct);$<0&&($+=w),et+=$+~~(et/w)*w}else et+=et;St=(ct+vt)/2,vt=F(ct*vt),St=((ct=St)-vt)/2}return et/(l(2,Mt)*ct)}function Pn(et,rt){var ct=(A-1)/(A+1),vt=F(1-ct*ct),St=nn(k,vt*vt),Mt=a(_(w/4+v(rt)/2)),$=p(-1*Mt)/F(ct),ee=function(le,Te){var Re=le*le,He=Te+1,Ze=1-Re-Te*Te;return[.5*((le>=0?k:-k)-M(Ze,2*le)),-.25*a(Ze*Ze+4*Re)+.5*a(He*He+Re)]}($*g(-1*et),$*m(-1*et)),K=function(le,Te,Re){var He=v(le),Ze=B(v(Te));if(He){var at=1/m(He),Tt=1/(_(He)*_(He)),At=-(Tt+Re*(Ze*Ze*at*at)-1+Re),se=(-At+F(At*At-(Re-1)*Tt*4))/2;return[nn(i(1/F(se)),Re)*f(le),nn(i(F((se/Tt-1)/Re)),1-Re)*f(Te)]}return[0,nn(i(Ze),1-Re)*f(Te)]}(ee[0],ee[1],vt*vt);return[-K[1],(rt>=0?1:-1)*(.5*St-K[0])]}function jt(){return(0,d.Z)(Jn(Pn)).scale(151.496)}Zn.invert=function(et,rt){v(et)>1&&(et=2*f(et)-et),v(rt)>1&&(rt=2*f(rt)-rt);var ct=f(et),vt=f(rt),St=-ct*et,Mt=-vt*rt,$=Mt/St<1,ee=function(Re,He){for(var Ze=0,at=1,Tt=.5,At=50;;){var se=Tt*Tt,ve=F(Tt),Ie=R(1/F(1+se)),Fe=1-se+Tt*(1+se)*Ie,Ue=(1-ve)/Fe,qe=F(Ue),Xe=Ue*(1+se),tt=qe*(1-se),lt=F(Xe-Re*Re),gt=He+tt+Tt*lt;if(v(at-Ze)0?Ze=Tt:at=Tt,Tt=.5*(Ze+at)}if(!At)return null;var zt=R(ve),Ut=g(zt),Ht=1/Ut,en=2*ve*Ut,vn=(-Fe*Ut-(-3*Tt+Ie*(1+3*se))*en*(1-ve))/(Fe*Fe);return[w/4*(Re*(-2*Ht*(.5*vn/qe*(1-se)-2*Tt*qe*en)+-Ht*en*lt)+-Ht*(Tt*(1+se)*vn+Ue*(1+3*se)*en)*R(Re/F(Xe))),zt]}($?Mt:St,$?St:Mt),K=ee[0],le=ee[1],Te=g(le);return $&&(K=-k-K),[ct*(M(m(K)*Te,-m(le))+w),vt*R(g(K)*Te)]},Pn.invert=function(et,rt){var ct,vt,St,Mt,$,ee,K=(A-1)/(A+1),le=F(1-K*K),Te=(vt=-et,St=le*le,(ct=.5*nn(k,le*le)-rt)?(Mt=gr(ct,St),vt?(ee=($=gr(vt,1-St))[1]*$[1]+St*Mt[0]*Mt[0]*$[0]*$[0],[[Mt[0]*$[2]/ee,Mt[1]*Mt[2]*$[0]*$[1]/ee],[Mt[1]*$[1]/ee,-Mt[0]*Mt[2]*$[0]*$[2]/ee],[Mt[2]*$[1]*$[2]/ee,-St*Mt[0]*Mt[1]*$[0]/ee]]):[[Mt[0],0],[Mt[1],0],[Mt[2],0]]):[[0,($=gr(vt,1-St))[0]/$[1]],[1/$[1],0],[$[2]/$[1],0]]),Re=function(He,Ze){var at=Ze[0]*Ze[0]+Ze[1]*Ze[1];return[(He[0]*Ze[0]+He[1]*Ze[1])/at,(He[1]*Ze[0]-He[0]*Ze[1])/at]}(Te[0],Te[1]);return[M(Re[1],Re[0])/-1,2*i(p(-.5*a(K*Re[0]*Re[0]+K*Re[1]*Re[1])))-k]};var Jt=t(7613);function fn(et){var rt=m(et),ct=g(et),vt=zn(et);function St(Mt,$){var ee=vt(Mt,$);Mt=ee[0],$=ee[1];var K=m($),le=g($),Te=g(Mt),Re=z(rt*K+ct*le*Te),He=m(Re),Ze=v(He)>y?Re/He:1;return[Ze*ct*m(Mt),(v(Mt)>k?Ze:-Ze)*(rt*le-ct*K*Te)]}return vt.invert=zn(-et),St.invert=function(Mt,$){var ee=F(Mt*Mt+$*$),K=-m(ee),le=g(ee),Te=ee*le,Re=-$*K,He=ee*rt,Ze=F(Te*Te+Re*Re-He*He),at=M(Te*He+Re*Ze,Re*He-Te*Ze),Tt=(ee>k?-1:1)*M(Mt*K,ee*g(at)*le+$*m(at)*K);return vt.invert(Tt,at)},St}function zn(et){var rt=m(et),ct=g(et);return function(vt,St){var Mt=g(St),$=g(vt)*Mt,ee=m(vt)*Mt,K=m(St);return[M(ee,$*ct-K*rt),R(K*ct+$*rt)]}}function Dn(){var et=0,rt=(0,d.r)(fn),ct=rt(et),vt=ct.rotate,St=ct.stream,Mt=(0,Jt.Z)();return ct.parallel=function($){if(!arguments.length)return et*O;var ee=ct.rotate();return rt(et=$*I).rotate(ee)},ct.rotate=function($){return arguments.length?(vt.call(ct,[$[0],$[1]-et*O]),Mt.center([-$[0],-$[1]]),ct):(($=vt.call(ct))[1]+=et*O,$)},ct.stream=function($){return($=St($)).sphere=function(){$.polygonStart();var ee,K=Mt.radius(89.99)().coordinates[0],le=K.length-1,Te=-1;for($.lineStart();++Te=0;)$.point((ee=K[Te])[0],ee[1]);$.lineEnd(),$.polygonEnd()},$},ct.scale(79.4187).parallel(45).clipAngle(179.999)}var En=t(33064),mn=t(72736),wn=R(1-1/3)*O,gn=nt(0);function yn(et){var rt=wn*I,ct=Dt(w,rt)[0]-Dt(-w,rt)[0],vt=gn(0,rt)[1],St=Dt(0,rt)[1],Mt=L-St,$=b/et,ee=4/b,K=vt+Mt*Mt*4/b;function le(Te,Re){var He,Ze=v(Re);if(Ze>rt){var at=s(et-1,c(0,u((Te+w)/$)));(He=Dt(Te+=w*(et-1)/et-at*$,Ze))[0]=He[0]*b/ct-b*(et-1)/(2*et)+at*b/et,He[1]=vt+4*(He[1]-St)*Mt/b,Re<0&&(He[1]=-He[1])}else He=gn(Te,Re);return He[0]*=ee,He[1]/=K,He}return le.invert=function(Te,Re){Te/=ee;var He=v(Re*=K);if(He>vt){var Ze=s(et-1,c(0,u((Te+w)/$)));Te=(Te+w*(et-1)/et-Ze*$)*ct/b;var at=Dt.invert(Te,.25*(He-vt)*b/Mt+St);return at[0]-=w*(et-1)/et-Ze*$,Re<0&&(at[1]=-at[1]),at}return gn.invert(Te,Re)},le}function Sn(et,rt){return[et,1&rt?89.999999:wn]}function Vn(et,rt){return[et,1&rt?-89.999999:-wn]}function Kn(et){return[.999999*et[0],et[1]]}function nr(){var et=4,rt=(0,d.r)(yn),ct=rt(et),vt=ct.stream;return ct.lobes=function(St){return arguments.length?rt(et=+St):et},ct.stream=function(St){var Mt=ct.rotate(),$=vt(St),ee=(ct.rotate([0,0]),vt(St));return ct.rotate(Mt),$.sphere=function(){var K,le;(0,mn.Z)((K=180/et,le=[].concat((0,En.w6)(-180,180+K/2,K).map(Sn),(0,En.w6)(180,-180-K/2,-K).map(Vn)),{type:"Polygon",coordinates:[K===180?le.map(Kn):le]}),ee)},$},ct.scale(239.75)}function Qn(et){var rt,ct=1+et,vt=R(m(1/ct)),St=2*F(w/(rt=w+4*vt*ct)),Mt=.5*St*(ct+F(et*(2+et))),$=et*et,ee=ct*ct;function K(le,Te){var Re,He,Ze=1-m(Te);if(Ze&&Ze<2){var at,Tt=k-Te,At=25;do{var se=m(Tt),ve=g(Tt),Ie=vt+M(se,ct-ve),Fe=1+ee-2*ct*ve;Tt-=at=(Tt-$*vt-ct*se+Fe*Ie-.5*Ze*rt)/(2*ct*se*Ie)}while(v(at)>C&&--At>0);Re=St*F(Fe),He=le*Ie/w}else Re=St*(et+Ze),He=le*vt/w;return[Re*m(He),Mt-Re*g(He)]}return K.invert=function(le,Te){var Re=le*le+(Te-=Mt)*Te,He=(1+ee-Re/(St*St))/(2*ct),Ze=z(He),at=m(Ze),Tt=vt+M(at,ct-He);return[R(le/F(Re))*w/Tt,R(1-2*(Ze-$*vt-ct*at+(1+ee-2*ct*He)*Tt)/rt)]},K}function hr(){var et=1,rt=(0,d.r)(Qn),ct=rt(et);return ct.ratio=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(167.774).center([0,18.67])}var fr=.7109889596207567,mr=.0528035274542;function pr(et,rt){return rt>-fr?((et=Se(et,rt))[1]+=mr,et):Be(et,rt)}function xr(){return(0,d.Z)(pr).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Rr(et,rt){return v(rt)>fr?((et=Se(et,rt))[1]-=rt>0?mr:-mr,et):Be(et,rt)}function Pr(){return(0,d.Z)(Rr).scale(152.63)}function Vr(et,rt,ct,vt){var St=F(4*w/(2*ct+(1+et-rt/2)*m(2*ct)+(et+rt)/2*m(4*ct)+rt/2*m(6*ct))),Mt=F(vt*m(ct)*F((1+et*g(2*ct)+rt*g(4*ct))/(1+et+rt))),$=ct*K(1);function ee(Re){return F(1+et*g(2*Re)+rt*g(4*Re))}function K(Re){var He=Re*ct;return(2*He+(1+et-rt/2)*m(2*He)+(et+rt)/2*m(4*He)+rt/2*m(6*He))/ct}function le(Re){return ee(Re)*m(Re)}var Te=function(Re,He){var Ze=ct*me(K,$*m(He)/ct,He/w);isNaN(Ze)&&(Ze=ct*f(He));var at=St*ee(Ze);return[at*Mt*Re/w*g(Ze),at/Mt*m(Ze)]};return Te.invert=function(Re,He){var Ze=me(le,He*Mt/St);return[Re*w/(g(Ze)*St*Mt*ee(Ze)),R(ct*K(Ze/ct)/$)]},ct===0&&(St=F(vt/w),(Te=function(Re,He){return[Re*St,m(He)/St]}).invert=function(Re,He){return[Re/St,R(He*St)]}),Te}function vr(){var et=1,rt=0,ct=45*I,vt=2,St=(0,d.r)(Vr),Mt=St(et,rt,ct,vt);return Mt.a=function($){return arguments.length?St(et=+$,rt,ct,vt):et},Mt.b=function($){return arguments.length?St(et,rt=+$,ct,vt):rt},Mt.psiMax=function($){return arguments.length?St(et,rt,ct=+$*I,vt):ct*O},Mt.ratio=function($){return arguments.length?St(et,rt,ct,vt=+$):vt},Mt.scale(180.739)}function jr(et,rt,ct,vt,St,Mt,$,ee,K,le,Te){if(Te.nanEncountered)return NaN;var Re,He,Ze,at,Tt,At,se,ve,Ie,Fe;if(He=et(rt+.25*(Re=ct-rt)),Ze=et(ct-.25*Re),isNaN(He))Te.nanEncountered=!0;else{if(!isNaN(Ze))return Fe=((At=(at=Re*(vt+4*He+St)/12)+(Tt=Re*(St+4*Ze+Mt)/12))-$)/15,le>K?(Te.maxDepthCount++,At+Fe):Math.abs(Fe)Ze?Tt=At:at=At,At=at+Tt>>1;while(At>at);var se=K[At+1]-K[At];return se&&(se=(Ze-K[At+1])/se),(At+1+se)/$}var Re=2*Te(1)/w*Mt/ct,He=function(Ze,at){var Tt=Te(v(m(at))),At=vt(Tt)*Ze;return Tt/=Re,[At,at>=0?Tt:-Tt]};return He.invert=function(Ze,at){var Tt;return v(at*=Re)<1&&(Tt=f(at)*R(St(v(at))*Mt)),[Ze/vt(v(at)),Tt]},He}function ia(){var et=0,rt=2.5,ct=1.183136,vt=(0,d.r)(Gi),St=vt(et,rt,ct);return St.alpha=function(Mt){return arguments.length?vt(et=+Mt,rt,ct):et},St.k=function(Mt){return arguments.length?vt(et,rt=+Mt,ct):rt},St.gamma=function(Mt){return arguments.length?vt(et,rt,ct=+Mt):ct},St.scale(152.63)}function la(et,rt){return v(et[0]-rt[0])=0;--ee)ct=(rt=et[1][ee])[0][0],vt=rt[0][1],St=rt[1][1],Mt=rt[2][0],$=rt[2][1],K.push(co([[Mt-y,$-y],[Mt-y,St+y],[ct+y,St+y],[ct+y,vt-y]],30));return{type:"Polygon",coordinates:[(0,En.TS)(K)]}}function Qi(et,rt,ct){var vt,St;function Mt(K,le){for(var Te=le<0?-1:1,Re=rt[+(le<0)],He=0,Ze=Re.length-1;HeRe[He][2][0];++He);var at=et(K-Re[He][1][0],le);return at[0]+=et(Re[He][1][0],Te*le>Te*Re[He][0][1]?Re[He][0][1]:le)[0],at}ct?Mt.invert=ct(Mt):et.invert&&(Mt.invert=function(K,le){for(var Te=St[+(le<0)],Re=rt[+(le<0)],He=0,Ze=Te.length;HeTt&&(Re=at,at=Tt,Tt=Re),[[He,at],[Ze,Tt]]})}),$):rt.map(function(le){return le.map(function(Te){return[[Te[0][0]*O,Te[0][1]*O],[Te[1][0]*O,Te[1][1]*O],[Te[2][0]*O,Te[2][1]*O]]})})},rt!=null&&$.lobes(rt),$}pr.invert=function(et,rt){return rt>-fr?Se.invert(et,rt-mr):Be.invert(et,rt)},Rr.invert=function(et,rt){return v(rt)>fr?Se.invert(et,rt+(rt>0?mr:-mr)):Be.invert(et,rt)};var No=[[[[-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 ss(){return Qi(be,No).scale(160.857)}var al=[[[[-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 Su(){return Qi(Rr,al).scale(152.63)}var ch=[[[[-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 xf(){return Qi(Se,ch).scale(169.529)}var Cu=[[[[-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 ls(){return Qi(Se,Cu).scale(169.529).rotate([20,0])}var _f=[[[[-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 Za(){return Qi(pr,_f,pe).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var ic=[[[[-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 Ko(){return Qi(Be,ic).scale(152.63).rotate([-20,0])}function us(et,rt){return[3/b*et*F(w*w/3-rt*rt),rt]}function Cl(){return(0,d.Z)(us).scale(158.837)}function Wi(et){function rt(ct,vt){if(v(v(vt)-k)2)return null;var Mt=(ct/=2)*ct,$=(vt/=2)*vt,ee=2*vt/(1+Mt+$);return ee=l((1+ee)/(1-ee),1/et),[M(2*ct,1-Mt-$)/et,R((ee-1)/(ee+1))]},rt}function El(){var et=.5,rt=(0,d.r)(Wi),ct=rt(et);return ct.spacing=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(124.75)}us.invert=function(et,rt){return[b/3*et/F(w*w/3-rt*rt),rt]};var gs=w/A;function Is(et,rt){return[et*(1+F(g(rt)))/2,rt/(g(rt/2)*g(et/6))]}function qs(){return(0,d.Z)(Is).scale(97.2672)}function ac(et,rt){var ct=et*et,vt=rt*rt;return[et*(.975534+vt*(-.0143059*ct-.119161+-.0547009*vt)),rt*(1.00384+ct*(.0802894+-.02855*vt+199025e-9*ct)+vt*(.0998909+-.0491032*vt))]}function fh(){return(0,d.Z)(ac).scale(139.98)}function ol(et,rt){return[m(et)/g(rt),_(rt)*g(et)]}function hh(){return(0,d.Z)(ol).scale(144.049).clipAngle(89.999)}function dh(et){var rt=g(et),ct=_(E+et/2);function vt(St,Mt){var $=Mt-et,ee=v($)=0;)He=(Re=et[Te])[0]+K*(Mt=He)-le*Ze,Ze=Re[1]+K*Ze+le*Mt;return[He=K*(Mt=He)-le*Ze,Ze=K*Ze+le*Mt]}return ct.invert=function(vt,St){var Mt=20,$=vt,ee=St;do{for(var K,le=rt,Te=et[le],Re=Te[0],He=Te[1],Ze=0,at=0;--le>=0;)Ze=Re+$*(K=Ze)-ee*at,at=He+$*at+ee*K,Re=(Te=et[le])[0]+$*(K=Re)-ee*He,He=Te[1]+$*He+ee*K;var Tt,At,se=(Ze=Re+$*(K=Ze)-ee*at)*Ze+(at=He+$*at+ee*K)*at;$-=Tt=((Re=$*(K=Re)-ee*He-vt)*Ze+(He=$*He+ee*K-St)*at)/se,ee-=At=(He*Ze-Re*at)/se}while(v(Tt)+v(At)>1e-12&&--Mt>0);if(Mt){var ve=F($*$+ee*ee),Ie=2*i(.5*ve),Fe=m(Ie);return[M($*Fe,ve*g(Ie)),ve?R(ee*Fe/ve):0]}},ct}Is.invert=function(et,rt){var ct=v(et),vt=v(rt),St=y,Mt=k;vty||v(At)>y)&&--St>0);return St&&[ct,vt]},ol.invert=function(et,rt){var ct=et*et,vt=rt*rt+1,St=ct+vt,Mt=et?T*F((St-F(St*St-4*ct))/ct):1/F(vt);return[R(et*Mt),f(rt)*z(Mt)]},wf.invert=function(et,rt){return[et,2.5*i(p(.8*rt))-.625*w]};var sl=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],ll=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Eu=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],ul=[[.9245,0],[0,0],[.01943,0]],kf=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Mf(){return Kl(sl,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function Xl(){return Kl(ll,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function jc(){return Kl(Eu,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Ll(){return Kl(ul,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Lu(){return Kl(kf,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Kl(et,rt){var ct=(0,d.Z)(Tf(et)).rotate(rt).clipAngle(90),vt=(0,st.Z)(rt),St=ct.center;return delete ct.rotate,ct.center=function(Mt){return arguments.length?St(vt(Mt)):vt.invert(St())},ct}var cl=F(6),qi=F(7);function Il(et,rt){var ct=R(7*m(rt)/(3*cl));return[cl*et*(2*g(2*ct/3)-1)/qi,9*m(ct/3)/qi]}function Zh(){return(0,d.Z)(Il).scale(164.859)}function Uc(et,rt){for(var ct,vt=(1+T)*m(rt),St=rt,Mt=0;Mt<25&&(St-=ct=(m(St/2)+m(St)-vt)/(.5*g(St/2)+g(St)),!(v(ct)C&&--ee>0);return[et/(.84719-.13063*(vt=$*$)+(Mt=vt*(St=vt*vt))*Mt*(.05494*vt-.04515-.02326*St+.00331*Mt)),$]},Ou.invert=function(et,rt){for(var ct=rt/2,vt=0,St=1/0;vt<10&&v(St)>y;++vt){var Mt=g(rt/2);rt-=St=(rt-_(rt/2)-ct)/(1-.5/(Mt*Mt))}return[2*et/(1+g(rt)),rt]};var Ql=[[[[-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 eu(){return Qi(ce(1/0),Ql).rotate([20,0]).scale(152.63)}function Pu(et,rt){var ct=m(rt),vt=g(rt),St=f(et);if(et===0||v(rt)===k)return[0,rt];if(rt===0)return[et,0];if(v(et)===k)return[et*vt,k*ct];var Mt=w/(2*et)-2*et/w,$=2*rt/w,ee=(1-$*$)/(ct-$),K=Mt*Mt,le=ee*ee,Te=1+K/le,Re=1+le/K,He=(Mt*ct/ee-Mt/2)/Te,Ze=(le*ct/K+ee/2)/Re,at=Ze*Ze-(le*ct*ct/K+ee*ct-1)/Re;return[k*(He+F(He*He+vt*vt/Te)*St),k*(Ze+F(at<0?0:at)*f(-rt*Mt)*St)]}function uc(){return(0,d.Z)(Pu).scale(127.267)}Pu.invert=function(et,rt){var ct=(et/=k)*et,vt=ct+(rt/=k)*rt,St=w*w;return[et?(vt-1+F((1-vt)*(1-vt)+4*ct))/(2*et)*k:0,me(function(Mt){return vt*(w*m(Mt)-2*Mt)*w+4*Mt*Mt*(rt-m(Mt))+2*w*Mt-St*rt},0)]};var cc=1.0148,ys=.23185,fc=-.14499,hc=.02406,Sf=1.790857183;function Ol(et,rt){var ct=rt*rt;return[et,rt*(cc+ct*ct*(ys+ct*(fc+hc*ct)))]}function Hc(){return(0,d.Z)(Ol).scale(139.319)}function dc(et,rt){if(v(rt)Sf?rt=Sf:rt<-1.790857183&&(rt=-1.790857183);var ct,vt=rt;do{var St=vt*vt;vt-=ct=(vt*(cc+St*St*(ys+St*(fc+hc*St)))-rt)/(1.0148+St*St*(1.1592500000000001+St*(.21654*St-1.01493)))}while(v(ct)>y);return[et,vt]},dc.invert=function(et,rt){if(v(rt)y&&--Mt>0);return $=_(St),[(v(rt)=0;)if(tt=qe[Ut],Xe[0]===tt[0]&&Xe[1]===tt[1]){if(gt)return[gt,Xe];gt=Xe}}}(K.face,le.face),Re=(Tt=Te.map(le.project),At=Te.map(K.project),se=nu(Tt[1],Tt[0]),ve=nu(At[1],At[0]),Ie=function(Ue,qe){return M(Ue[0]*qe[1]-Ue[1]*qe[0],Ue[0]*qe[0]+Ue[1]*qe[1])}(se,ve),Fe=ea(se)/ea(ve),tu([1,0,Tt[0][0],0,1,Tt[0][1]],tu([Fe,0,0,0,Fe,0],tu([g(Ie),m(Ie),0,-m(Ie),g(Ie),0],[1,0,-At[0][0],0,1,-At[0][1]]))));K.transform=le.transform?tu(le.transform,Re):Re;for(var He=le.edges,Ze=0,at=He.length;Ze0?[-vt[0],0]:[180-vt[0],180])};var rt=$s.map(function(ct){return{face:ct,project:et(ct)}});return[-1,0,0,1,0,1,4,5].forEach(function(ct,vt){var St=rt[ct];St&&(St.children||(St.children=[])).push(rt[vt])}),Pl(rt[0],function(ct,vt){return rt[ct<-w/2?vt<0?6:4:ct<0?vt<0?2:0:ctK^ve>K&&ee<(se-at)*(K-Tt)/(ve-Tt)+at&&(le=!le)}return le}(St[0],vt))return St.push(ct),!0})||et.push([ct])}),Vo=[],et.length?et.length>1?{type:"MultiPolygon",coordinates:et}:{type:"Polygon",coordinates:et[0]}:null}};function Jo(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=v(vt)0?vt-w:vt+w,St),ee=($[0]-$[1])*T,K=($[0]+$[1])*T;if(Mt)return[ee,K];var le=rt*T,Te=ee>0^K>0?-1:1;return[Te*ee-f(K)*le,Te*K-f(ee)*le]}return et.invert&&(ct.invert=function(vt,St){var Mt=(vt+St)*T,$=(St-vt)*T,ee=v(Mt)<.5*rt&&v($)<.5*rt;if(!ee){var K=rt*T,le=Mt>0^$>0?-1:1,Te=-le*vt+($>0?1:-1)*K,Re=-le*St+(Mt>0?1:-1)*K;Mt=(-Te-Re)*T,$=(Te-Re)*T}var He=et.invert(Mt,$);return ee||(He[0]+=Mt>0?w:-w),He}),(0,d.Z)(ct).rotate([-90,-90,45]).clipAngle(179.999)}function Wc(){return Jo(Zn).scale(176.423)}function qc(){return Jo(Pn).scale(111.48)}function Po(et,rt){if(!(0<=(rt=+rt)&&rt<=20))throw new Error("invalid digits");function ct(le){var Te=le.length,Re=2,He=new Array(Te);for(He[0]=+le[0].toFixed(rt),He[1]=+le[1].toFixed(rt);Re2||Ze[0]!=Te[0]||Ze[1]!=Te[1])&&(Re.push(Ze),Te=Ze)}return Re.length===1&&le.length>1&&Re.push(ct(le[le.length-1])),Re}function Mt(le){return le.map(St)}function $(le){if(le==null)return le;var Te;switch(le.type){case"GeometryCollection":Te={type:"GeometryCollection",geometries:le.geometries.map($)};break;case"Point":Te={type:"Point",coordinates:ct(le.coordinates)};break;case"MultiPoint":Te={type:le.type,coordinates:vt(le.coordinates)};break;case"LineString":Te={type:le.type,coordinates:St(le.coordinates)};break;case"MultiLineString":case"Polygon":Te={type:le.type,coordinates:Mt(le.coordinates)};break;case"MultiPolygon":Te={type:"MultiPolygon",coordinates:le.coordinates.map(Mt)};break;default:return le}return le.bbox!=null&&(Te.bbox=le.bbox),Te}function ee(le){var Te={type:"Feature",properties:le.properties,geometry:$(le.geometry)};return le.id!=null&&(Te.id=le.id),le.bbox!=null&&(Te.bbox=le.bbox),Te}if(et!=null)switch(et.type){case"Feature":return ee(et);case"FeatureCollection":var K={type:"FeatureCollection",features:et.features.map(ee)};return et.bbox!=null&&(K.bbox=et.bbox),K;default:return $(et)}return et}function Br(et){var rt=m(et);function ct(vt,St){var Mt=rt?_(vt*rt/2)/rt:vt/2;if(!St)return[2*Mt,-et];var $=2*i(Mt*m(St)),ee=1/_(St);return[m($)*ee,St+(1-g($))*ee-et]}return ct.invert=function(vt,St){if(v(St+=et)y&&--K>0);var He=vt*(le=_(ee)),Ze=_(v(St)0?k:-k)*(le+Mt*(Re-ee)/2+Mt*Mt*(Re-2*le+ee)/2)]}function Ru(){return(0,d.Z)($c).scale(152.63)}function zu(et,rt){var ct=function($){function ee(K,le){var Te=g(le),Re=($-1)/($-Te*g(K));return[Re*Te*m(K),Re*m(le)]}return ee.invert=function(K,le){var Te=K*K+le*le,Re=F(Te),He=($-F(1-Te*($+1)/($-1)))/(($-1)/Re+Re/($-1));return[M(K*He,Re*F(1-He*He)),Re?R(le*He/Re):0]},ee}(et);if(!rt)return ct;var vt=g(rt),St=m(rt);function Mt($,ee){var K=ct($,ee),le=K[1],Te=le*St/(et-1)+vt;return[K[0]*vt/Te,le/Te]}return Mt.invert=function($,ee){var K=(et-1)/(et-1-ee*St);return ct.invert(K*$,K*ee*vt)},Mt}function Fu(){var et=2,rt=0,ct=(0,d.r)(zu),vt=ct(et,rt);return vt.distance=function(St){return arguments.length?ct(et=+St,rt):et},vt.tilt=function(St){return arguments.length?ct(et,rt=St*I):rt*O},vt.scale(432.147).clipAngle(z(1/et)*O-1e-6)}jo.forEach(function(et){et[1]*=1.0144}),$c.invert=function(et,rt){var ct=rt/k,vt=90*ct,St=s(18,v(vt/5)),Mt=c(0,u(St));do{var $=jo[Mt][1],ee=jo[Mt+1][1],K=jo[s(19,Mt+2)][1],le=K-$,Te=K-2*ee+$,Re=2*(v(ct)-ee)/le,He=Te/le,Ze=Re*(1-He*Re*(1-2*He*Re));if(Ze>=0||Mt===1){vt=(rt>=0?5:-5)*(Ze+St);var at,Tt=50;do Ze=(St=s(18,v(vt)/5))-(Mt=u(St)),$=jo[Mt][1],ee=jo[Mt+1][1],K=jo[s(19,Mt+2)][1],vt-=(at=(rt>=0?k:-k)*(ee+Ze*(K-$)/2+Ze*Ze*(K-2*ee+$)/2)-rt)*O;while(v(at)>C&&--Tt>0);break}}while(--Mt>=0);var At=jo[Mt][0],se=jo[Mt+1][0],ve=jo[s(19,Mt+2)][0];return[et/(se+Ze*(ve-At)/2+Ze*Ze*(ve-2*se+At)/2),vt*I]};var Ur=-179.9999,Bu=179.9999,xs=-89.9999,Yc=89.9999;function mc(et){return et.length>0}function yo(et){return et===-90||et===90?[0,et]:[-180,(rt=et,Math.floor(1e4*rt)/1e4)];var rt}function lu(et){var rt=et[0],ct=et[1],vt=!1;return rt<=Ur?(rt=-180,vt=!0):rt>=Bu&&(rt=180,vt=!0),ct<=xs?(ct=-90,vt=!0):ct>=Yc&&(ct=90,vt=!0),vt?[rt,ct]:et}function dl(et){return et.map(lu)}function Qo(et,rt,ct){for(var vt=0,St=et.length;vt=Bu||Te<=xs||Te>=Yc){Mt[$]=lu(K);for(var Re=$+1;ReUr&&Zexs&&at=ee)break;ct.push({index:-1,polygon:rt,ring:Mt=Mt.slice(Re-1)}),Mt[0]=yo(Mt[0][1]),$=-1,ee=Mt.length}}}}function zl(et){var rt,ct,vt,St,Mt,$,ee=et.length,K={},le={};for(rt=0;rt0?w-ee:ee)*O],le=(0,d.Z)(et($)).rotate(K),Te=(0,st.Z)(K),Re=le.center;return delete le.rotate,le.center=function(He){return arguments.length?Re(Te(He)):Te.invert(Re())},le.clipAngle(90)}function gc(et){var rt=g(et);function ct(vt,St){var Mt=(0,ji.M)(vt,St);return Mt[0]*=rt,Mt}return ct.invert=function(vt,St){return ji.M.invert(vt/rt,St)},ct}function cs(){return Ts([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function Ts(et,rt){return Ki(gc,et,rt)}function Zs(et){if(!(et*=2))return re.N;var rt=-et/2,ct=-rt,vt=et*et,St=_(ct),Mt=.5/m(ct);function $(ee,K){var le=z(g(K)*g(ee-rt)),Te=z(g(K)*g(ee-ct));return[((le*=le)-(Te*=Te))/(2*et),(K<0?-1:1)*F(4*vt*Te-(vt-le+Te)*(vt-le+Te))/(2*et)]}return $.invert=function(ee,K){var le,Te,Re=K*K,He=g(F(Re+(le=ee+rt)*le)),Ze=g(F(Re+(le=ee+ct)*le));return[M(Te=He-Ze,le=(He+Ze)*St),(K<0?-1:1)*z(F(le*le+Te*Te)*Mt)]},$}function Uo(){return Yi([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Yi(et,rt){return Ki(Zs,et,rt)}function io(et,rt){if(v(rt)y&&--ee>0);return[f(et)*(F(St*St+4)+St)*w/4,k*$]};var ml=4*w+3*F(3),Ds=2*F(2*w*F(3)/ml),_o=Me(Ds*F(3)/w,Ds,ml/6);function Zc(){return(0,d.Z)(_o).scale(176.84)}function Go(et,rt){return[et*F(1-3*rt*rt/(w*w)),rt]}function Vu(){return(0,d.Z)(Go).scale(152.63)}function vl(et,rt){var ct=g(rt),vt=g(et)*ct,St=1-vt,Mt=g(et=M(m(et)*ct,-m(rt))),$=m(et);return[$*(ct=F(1-vt*vt))-Mt*St,-Mt*ct-$*St]}function ta(){return(0,d.Z)(vl).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}function ua(et,rt){var ct=Y(et,rt);return[(ct[0]+et/k)/2,(ct[1]+rt)/2]}function Xc(){return(0,d.Z)(ua).scale(158.837)}Go.invert=function(et,rt){return[et/F(1-3*rt*rt/(w*w)),rt]},vl.invert=function(et,rt){var ct=(et*et+rt*rt)/-2,vt=F(-ct*(2+ct)),St=rt*ct+et*vt,Mt=et*ct-rt*vt,$=F(Mt*Mt+St*St);return[M(vt*St,$*(1+ct)),$?-R(vt*Mt/$):0]},ua.invert=function(et,rt){var ct=et,vt=rt,St=25;do{var Mt,$=g(vt),ee=m(vt),K=m(2*vt),le=ee*ee,Te=$*$,Re=m(ct),He=g(ct/2),Ze=m(ct/2),at=Ze*Ze,Tt=1-Te*He*He,At=Tt?z($*He)*F(Mt=1/Tt):Mt=0,se=.5*(2*At*$*Ze+ct/k)-et,ve=.5*(At*ee+vt)-rt,Ie=.5*Mt*(Te*at+At*$*He*le)+.5/k,Fe=Mt*(Re*K/4-At*ee*Ze),Ue=.125*Mt*(K*Ze-At*ee*Te*Re),qe=.5*Mt*(le*He+At*at*$)+.5,Xe=Fe*Ue-qe*Ie,tt=(ve*Fe-se*qe)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((v(tt)>y||v(lt)>y)&&--St>0);return[ct,vt]}},33940:function(x,o,t){function d(){return new v}function v(){this.reset()}t.d(o,{Z:function(){return d}}),v.prototype={constructor:v,reset:function(){this.s=this.t=0},add:function(g){M(i,g,this.t),M(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new v;function M(g,p,u){var a=g.s=p+u,c=a-p,s=a-c;g.t=p-s+(u-c)}},97860:function(x,o,t){t.d(o,{L9:function(){return s},ZP:function(){return C},gL:function(){return h}});var d,v,i,M,g,p=t(33940),u=t(39695),a=t(73182),c=t(72736),s=(0,p.Z)(),l=(0,p.Z)(),h={point:a.Z,lineStart:a.Z,lineEnd:a.Z,polygonStart:function(){s.reset(),h.lineStart=f,h.lineEnd=m},polygonEnd:function(){var w=+s;l.add(w<0?u.BZ+w:w),this.lineStart=this.lineEnd=this.point=a.Z},sphere:function(){l.add(u.BZ)}};function f(){h.point=_}function m(){y(d,v)}function _(w,k){h.point=y,d=w,v=k,w*=u.uR,k*=u.uR,i=w,M=(0,u.mC)(k=k/2+u.pu),g=(0,u.O$)(k)}function y(w,k){w*=u.uR,k=(k*=u.uR)/2+u.pu;var E=w-i,T=E>=0?1:-1,A=T*E,L=(0,u.mC)(k),b=(0,u.O$)(k),O=g*b,I=M*L+O*(0,u.mC)(A),R=O*T*(0,u.O$)(A);s.add((0,u.fv)(R,I)),i=w,M=L,g=b}function C(w){return l.reset(),(0,c.Z)(w,h),2*l}},77338:function(x,o,t){t.d(o,{Z:function(){return z}});var d,v,i,M,g,p,u,a,c,s,l=t(33940),h=t(97860),f=t(7620),m=t(39695),_=t(72736),y=(0,l.Z)(),C={point:w,lineStart:E,lineEnd:T,polygonStart:function(){C.point=A,C.lineStart=L,C.lineEnd=b,y.reset(),h.gL.polygonStart()},polygonEnd:function(){h.gL.polygonEnd(),C.point=w,C.lineStart=E,C.lineEnd=T,h.L9<0?(d=-(i=180),v=-(M=90)):y>m.Ho?M=90:y<-m.Ho&&(v=-90),s[0]=d,s[1]=i},sphere:function(){d=-(i=180),v=-(M=90)}};function w(F,B){c.push(s=[d=F,i=F]),BM&&(M=B)}function k(F,B){var N=(0,f.Og)([F*m.uR,B*m.uR]);if(a){var q=(0,f.T5)(a,N),j=[q[1],-q[0],0],Y=(0,f.T5)(j,q);(0,f.iJ)(Y),Y=(0,f.Y1)(Y);var U,G=F-g,W=G>0?1:-1,H=Y[0]*m.RW*W,ne=(0,m.Wn)(G)>180;ne^(W*gM&&(M=U):ne^(W*g<(H=(H+360)%360-180)&&HM&&(M=B)),ne?FO(d,i)&&(i=F):O(F,i)>O(d,i)&&(d=F):i>=d?(Fi&&(i=F)):F>g?O(d,F)>O(d,i)&&(i=F):O(F,i)>O(d,i)&&(d=F)}else c.push(s=[d=F,i=F]);BM&&(M=B),a=N,g=F}function E(){C.point=k}function T(){s[0]=d,s[1]=i,C.point=w,a=null}function A(F,B){if(a){var N=F-g;y.add((0,m.Wn)(N)>180?N+(N>0?360:-360):N)}else p=F,u=B;h.gL.point(F,B),k(F,B)}function L(){h.gL.lineStart()}function b(){A(p,u),h.gL.lineEnd(),(0,m.Wn)(y)>m.Ho&&(d=-(i=180)),s[0]=d,s[1]=i,a=null}function O(F,B){return(B-=F)<0?B+360:B}function I(F,B){return F[0]-B[0]}function R(F,B){return F[0]<=F[1]?F[0]<=B&&B<=F[1]:BO(q[0],q[1])&&(q[1]=j[1]),O(j[0],q[1])>O(q[0],q[1])&&(q[0]=j[0])):Y.push(q=j);for(U=-1/0,B=0,q=Y[N=Y.length-1];B<=N;q=j,++B)j=Y[B],(G=O(q[1],j[0]))>U&&(U=G,d=j[0],i=q[1])}return c=s=null,d===1/0||v===1/0?[[NaN,NaN],[NaN,NaN]]:[[d,v],[i,M]]}},7620:function(x,o,t){t.d(o,{Og:function(){return i},T:function(){return u},T5:function(){return g},Y1:function(){return v},iJ:function(){return a},j9:function(){return M},s0:function(){return p}});var d=t(39695);function v(c){return[(0,d.fv)(c[1],c[0]),(0,d.ZR)(c[2])]}function i(c){var s=c[0],l=c[1],h=(0,d.mC)(l);return[h*(0,d.mC)(s),h*(0,d.O$)(s),(0,d.O$)(l)]}function M(c,s){return c[0]*s[0]+c[1]*s[1]+c[2]*s[2]}function g(c,s){return[c[1]*s[2]-c[2]*s[1],c[2]*s[0]-c[0]*s[2],c[0]*s[1]-c[1]*s[0]]}function p(c,s){c[0]+=s[0],c[1]+=s[1],c[2]+=s[2]}function u(c,s){return[c[0]*s,c[1]*s,c[2]*s]}function a(c){var s=(0,d._b)(c[0]*c[0]+c[1]*c[1]+c[2]*c[2]);c[0]/=s,c[1]/=s,c[2]/=s}},66624:function(x,o,t){t.d(o,{Z:function(){return N}});var d,v,i,M,g,p,u,a,c,s,l,h,f,m,_,y,C=t(39695),w=t(73182),k=t(72736),E={sphere:w.Z,point:T,lineStart:L,lineEnd:I,polygonStart:function(){E.lineStart=R,E.lineEnd=z},polygonEnd:function(){E.lineStart=L,E.lineEnd=I}};function T(q,j){q*=C.uR,j*=C.uR;var Y=(0,C.mC)(j);A(Y*(0,C.mC)(q),Y*(0,C.O$)(q),(0,C.O$)(j))}function A(q,j,Y){++d,i+=(q-i)/d,M+=(j-M)/d,g+=(Y-g)/d}function L(){E.point=b}function b(q,j){q*=C.uR,j*=C.uR;var Y=(0,C.mC)(j);m=Y*(0,C.mC)(q),_=Y*(0,C.O$)(q),y=(0,C.O$)(j),E.point=O,A(m,_,y)}function O(q,j){q*=C.uR,j*=C.uR;var Y=(0,C.mC)(j),U=Y*(0,C.mC)(q),G=Y*(0,C.O$)(q),W=(0,C.O$)(j),H=(0,C.fv)((0,C._b)((H=_*W-y*G)*H+(H=y*U-m*W)*H+(H=m*G-_*U)*H),m*U+_*G+y*W);v+=H,p+=H*(m+(m=U)),u+=H*(_+(_=G)),a+=H*(y+(y=W)),A(m,_,y)}function I(){E.point=T}function R(){E.point=F}function z(){B(h,f),E.point=T}function F(q,j){h=q,f=j,q*=C.uR,j*=C.uR,E.point=B;var Y=(0,C.mC)(j);m=Y*(0,C.mC)(q),_=Y*(0,C.O$)(q),y=(0,C.O$)(j),A(m,_,y)}function B(q,j){q*=C.uR,j*=C.uR;var Y=(0,C.mC)(j),U=Y*(0,C.mC)(q),G=Y*(0,C.O$)(q),W=(0,C.O$)(j),H=_*W-y*G,ne=y*U-m*W,te=m*G-_*U,Z=(0,C._b)(H*H+ne*ne+te*te),X=(0,C.ZR)(Z),Q=Z&&-X/Z;c+=Q*H,s+=Q*ne,l+=Q*te,v+=X,p+=X*(m+(m=U)),u+=X*(_+(_=G)),a+=X*(y+(y=W)),A(m,_,y)}function N(q){d=v=i=M=g=p=u=a=c=s=l=0,(0,k.Z)(q,E);var j=c,Y=s,U=l,G=j*j+Y*Y+U*U;return G0?hf)&&(h+=l*i.BZ));for(var C,w=h;l>0?w>f:w0?v.pi:-v.pi,l=(0,v.Wn)(a-g);(0,v.Wn)(l-v.pi)0?v.ou:-v.ou),i.point(u,p),i.lineEnd(),i.lineStart(),i.point(s,p),i.point(a,p),M=0):u!==s&&l>=v.pi&&((0,v.Wn)(g-u)v.Ho?(0,v.z4)(((0,v.O$)(f)*(C=(0,v.mC)(_))*(0,v.O$)(m)-(0,v.O$)(_)*(y=(0,v.mC)(f))*(0,v.O$)(h))/(y*C*w)):(f+_)/2}(g,p,a,c),i.point(u,p),i.lineEnd(),i.lineStart(),i.point(s,p),M=0),i.point(g=a,p=c),u=s},lineEnd:function(){i.lineEnd(),g=p=NaN},clean:function(){return 2-M}}},function(i,M,g,p){var u;if(i==null)u=g*v.ou,p.point(-v.pi,u),p.point(0,u),p.point(v.pi,u),p.point(v.pi,0),p.point(v.pi,-u),p.point(0,-u),p.point(-v.pi,-u),p.point(-v.pi,0),p.point(-v.pi,u);else if((0,v.Wn)(i[0]-M[0])>v.Ho){var a=i[0]1&&M.push(M.pop().concat(M.shift()))},result:function(){var g=M;return M=[],i=null,g}}}},1457:function(x,o,t){t.d(o,{Z:function(){return p}});var d=t(7620),v=t(7613),i=t(39695),M=t(67108),g=t(97023);function p(u){var a=(0,i.mC)(u),c=6*i.uR,s=a>0,l=(0,i.Wn)(a)>i.Ho;function h(_,y){return(0,i.mC)(_)*(0,i.mC)(y)>a}function f(_,y,C){var w=(0,d.Og)(_),k=(0,d.Og)(y),E=[1,0,0],T=(0,d.T5)(w,k),A=(0,d.j9)(T,T),L=T[0],b=A-L*L;if(!b)return!C&&_;var O=a*A/b,I=-a*L/b,R=(0,d.T5)(E,T),z=(0,d.T)(E,O),F=(0,d.T)(T,I);(0,d.s0)(z,F);var B=R,N=(0,d.j9)(z,B),q=(0,d.j9)(B,B),j=N*N-q*((0,d.j9)(z,z)-1);if(!(j<0)){var Y=(0,i._b)(j),U=(0,d.T)(B,(-N-Y)/q);if((0,d.s0)(U,z),U=(0,d.Y1)(U),!C)return U;var G,W=_[0],H=y[0],ne=_[1],te=y[1];H0^U[1]<((0,i.Wn)(U[0]-W)i.pi^(W<=U[0]&&U[0]<=H)){var Q=(0,d.T)(B,(-N+Y)/q);return(0,d.s0)(Q,z),[U,(0,d.Y1)(Q)]}}}function m(_,y){var C=s?u:i.pi-u,w=0;return _<-C?w|=1:_>C&&(w|=2),y<-C?w|=4:y>C&&(w|=8),w}return(0,g.Z)(h,function(_){var y,C,w,k,E;return{lineStart:function(){k=w=!1,E=1},point:function(T,A){var L,b=[T,A],O=h(T,A),I=s?O?0:m(T,A):O?m(T+(T<0?i.pi:-i.pi),A):0;if(!y&&(k=w=O)&&_.lineStart(),O!==w&&(!(L=f(y,b))||(0,M.Z)(y,L)||(0,M.Z)(b,L))&&(b[2]=1),O!==w)E=0,O?(_.lineStart(),L=f(b,y),_.point(L[0],L[1])):(L=f(y,b),_.point(L[0],L[1],2),_.lineEnd()),y=L;else if(l&&y&&s^O){var R;I&C||!(R=f(b,y,!0))||(E=0,s?(_.lineStart(),_.point(R[0][0],R[0][1]),_.point(R[1][0],R[1][1]),_.lineEnd()):(_.point(R[1][0],R[1][1]),_.lineEnd(),_.lineStart(),_.point(R[0][0],R[0][1],3)))}!O||y&&(0,M.Z)(y,b)||_.point(b[0],b[1]),y=b,w=O,C=I},lineEnd:function(){w&&_.lineEnd(),y=null},clean:function(){return E|(k&&w)<<1}}},function(_,y,C,w){(0,v.m)(w,u,c,C,_,y)},s?[0,-u]:[-i.pi,u-i.pi])}},97023:function(x,o,t){t.d(o,{Z:function(){return p}});var d=t(85272),v=t(46225),i=t(39695),M=t(23071),g=t(33064);function p(c,s,l,h){return function(f){var m,_,y,C=s(f),w=(0,d.Z)(),k=s(w),E=!1,T={point:A,lineStart:b,lineEnd:O,polygonStart:function(){T.point=I,T.lineStart=R,T.lineEnd=z,_=[],m=[]},polygonEnd:function(){T.point=A,T.lineStart=b,T.lineEnd=O,_=(0,g.TS)(_);var F=(0,M.Z)(m,h);_.length?(E||(f.polygonStart(),E=!0),(0,v.Z)(_,a,F,l,f)):F&&(E||(f.polygonStart(),E=!0),f.lineStart(),l(null,null,1,f),f.lineEnd()),E&&(f.polygonEnd(),E=!1),_=m=null},sphere:function(){f.polygonStart(),f.lineStart(),l(null,null,1,f),f.lineEnd(),f.polygonEnd()}};function A(F,B){c(F,B)&&f.point(F,B)}function L(F,B){C.point(F,B)}function b(){T.point=L,C.lineStart()}function O(){T.point=A,C.lineEnd()}function I(F,B){y.push([F,B]),k.point(F,B)}function R(){k.lineStart(),y=[]}function z(){I(y[0][0],y[0][1]),k.lineEnd();var F,B,N,q,j=k.clean(),Y=w.result(),U=Y.length;if(y.pop(),m.push(y),y=null,U)if(1&j){if((B=(N=Y[0]).length-1)>0){for(E||(f.polygonStart(),E=!0),f.lineStart(),F=0;F1&&2&j&&Y.push(Y.pop().concat(Y.shift())),_.push(Y.filter(u))}return T}}function u(c){return c.length>1}function a(c,s){return((c=c.x)[0]<0?c[1]-i.ou-i.Ho:i.ou-c[1])-((s=s.x)[0]<0?s[1]-i.ou-i.Ho:i.ou-s[1])}},87605:function(x,o,t){t.d(o,{Z:function(){return u}});var d=t(39695),v=t(85272),i=t(46225),M=t(33064),g=1e9,p=-g;function u(a,c,s,l){function h(C,w){return a<=C&&C<=s&&c<=w&&w<=l}function f(C,w,k,E){var T=0,A=0;if(C==null||(T=m(C,k))!==(A=m(w,k))||y(C,w)<0^k>0)do E.point(T===0||T===3?a:s,T>1?l:c);while((T=(T+k+4)%4)!==A);else E.point(w[0],w[1])}function m(C,w){return(0,d.Wn)(C[0]-a)0?0:3:(0,d.Wn)(C[0]-s)0?2:1:(0,d.Wn)(C[1]-c)0?1:0:w>0?3:2}function _(C,w){return y(C.x,w.x)}function y(C,w){var k=m(C,1),E=m(w,1);return k!==E?k-E:k===0?w[1]-C[1]:k===1?C[0]-w[0]:k===2?C[1]-w[1]:w[0]-C[0]}return function(C){var w,k,E,T,A,L,b,O,I,R,z,F=C,B=(0,v.Z)(),N={point:q,lineStart:function(){N.point=j,k&&k.push(E=[]),R=!0,I=!1,b=O=NaN},lineEnd:function(){w&&(j(T,A),L&&I&&B.rejoin(),w.push(B.result())),N.point=q,I&&F.lineEnd()},polygonStart:function(){F=B,w=[],k=[],z=!0},polygonEnd:function(){var Y=function(){for(var W=0,H=0,ne=k.length;Hl&&(oe-te)*(l-Z)>(ue-Z)*(a-te)&&++W:ue<=l&&(oe-te)*(l-Z)<(ue-Z)*(a-te)&&--W;return W}(),U=z&&Y,G=(w=(0,M.TS)(w)).length;(U||G)&&(C.polygonStart(),U&&(C.lineStart(),f(null,null,1,C),C.lineEnd()),G&&(0,i.Z)(w,_,Y,f,C),C.polygonEnd()),F=C,w=k=E=null}};function q(Y,U){h(Y,U)&&F.point(Y,U)}function j(Y,U){var G=h(Y,U);if(k&&E.push([Y,U]),R)T=Y,A=U,L=G,R=!1,G&&(F.lineStart(),F.point(Y,U));else if(G&&I)F.point(Y,U);else{var W=[b=Math.max(p,Math.min(g,b)),O=Math.max(p,Math.min(g,O))],H=[Y=Math.max(p,Math.min(g,Y)),U=Math.max(p,Math.min(g,U))];(function(ne,te,Z,X,Q,re){var ie,oe=ne[0],ue=ne[1],ce=0,ye=1,de=te[0]-oe,me=te[1]-ue;if(ie=Z-oe,de||!(ie>0)){if(ie/=de,de<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=Q-oe,de||!(ie<0)){if(ie/=de,de<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(de>0){if(ie0)){if(ie/=me,me<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=re-ue,me||!(ie<0)){if(ie/=me,me<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(me>0){if(ie0&&(ne[0]=oe+ce*de,ne[1]=ue+ce*me),ye<1&&(te[0]=oe+ye*de,te[1]=ue+ye*me),!0}}}}})(W,H,a,c,s,l)?(I||(F.lineStart(),F.point(W[0],W[1])),F.point(H[0],H[1]),G||F.lineEnd(),z=!1):G&&(F.lineStart(),F.point(Y,U),z=!1)}b=Y,O=U,I=G}return N}}},46225:function(x,o,t){t.d(o,{Z:function(){return M}});var d=t(67108),v=t(39695);function i(p,u,a,c){this.x=p,this.z=u,this.o=a,this.e=c,this.v=!1,this.n=this.p=null}function M(p,u,a,c,s){var l,h,f=[],m=[];if(p.forEach(function(E){if(!((T=E.length-1)<=0)){var T,A,L=E[0],b=E[T];if((0,d.Z)(L,b)){if(!L[2]&&!b[2]){for(s.lineStart(),l=0;l=0;--l)s.point((y=_[l])[0],y[1]);else c(w.x,w.p.x,-1,s);w=w.p}_=(w=w.o).z,k=!k}while(!w.v);s.lineEnd()}}}function g(p){if(u=p.length){for(var u,a,c=0,s=p[0];++c0&&(Un=O(Kt[Jn],Kt[Jn-1]))>0&&On<=Un&&Ln<=Un&&(On+Ln-Un)*(1-Math.pow((On-Ln)/Un,2))m.Ho}).map(gr)).concat((0,U.w6)((0,m.mD)(Jn/fn)*fn,Un,fn).filter(function(gn){return(0,m.Wn)(gn%Dn)>m.Ho}).map(nn))}return mn.lines=function(){return wn().map(function(gn){return{type:"LineString",coordinates:gn}})},mn.outline=function(){return{type:"Polygon",coordinates:[Pn(Ln).concat(jt(Zn).slice(1),Pn(On).reverse().slice(1),jt(tr).reverse().slice(1))]}},mn.extent=function(gn){return arguments.length?mn.extentMajor(gn).extentMinor(gn):mn.extentMinor()},mn.extentMajor=function(gn){return arguments.length?(Ln=+gn[0][0],On=+gn[1][0],tr=+gn[0][1],Zn=+gn[1][1],Ln>On&&(gn=Ln,Ln=On,On=gn),tr>Zn&&(gn=tr,tr=Zn,Zn=gn),mn.precision(En)):[[Ln,tr],[On,Zn]]},mn.extentMinor=function(gn){return arguments.length?(bn=+gn[0][0],Kt=+gn[1][0],Jn=+gn[0][1],Un=+gn[1][1],bn>Kt&&(gn=bn,bn=Kt,Kt=gn),Jn>Un&&(gn=Jn,Jn=Un,Un=gn),mn.precision(En)):[[bn,Jn],[Kt,Un]]},mn.step=function(gn){return arguments.length?mn.stepMajor(gn).stepMinor(gn):mn.stepMinor()},mn.stepMajor=function(gn){return arguments.length?(zn=+gn[0],Dn=+gn[1],mn):[zn,Dn]},mn.stepMinor=function(gn){return arguments.length?(Jt=+gn[0],fn=+gn[1],mn):[Jt,fn]},mn.precision=function(gn){return arguments.length?(En=+gn,gr=G(Jn,Un,90),nn=W(bn,Kt,En),Pn=G(tr,Zn,90),jt=W(Ln,On,En),mn):En},mn.extentMajor([[-180,-90+m.Ho],[180,90-m.Ho]]).extentMinor([[-180,-80-m.Ho],[180,80+m.Ho]])}function ne(){return H()()}var te,Z,X,Q,re=t(83074),ie=t(8593),oe=(0,f.Z)(),ue=(0,f.Z)(),ce={point:_.Z,lineStart:_.Z,lineEnd:_.Z,polygonStart:function(){ce.lineStart=ye,ce.lineEnd=pe},polygonEnd:function(){ce.lineStart=ce.lineEnd=ce.point=_.Z,oe.add((0,m.Wn)(ue)),ue.reset()},result:function(){var Kt=oe/2;return oe.reset(),Kt}};function ye(){ce.point=de}function de(Kt,bn){ce.point=me,te=X=Kt,Z=Q=bn}function me(Kt,bn){ue.add(Q*Kt-X*bn),X=Kt,Q=bn}function pe(){me(te,Z)}var xe,Pe,_e,Me,Se=ce,Ce=t(3559),ae=0,he=0,be=0,ke=0,Le=0,Be=0,ze=0,je=0,ge=0,we={point:Ee,lineStart:Ve,lineEnd:st,polygonStart:function(){we.lineStart=ot,we.lineEnd=ft},polygonEnd:function(){we.point=Ee,we.lineStart=Ve,we.lineEnd=st},result:function(){var Kt=ge?[ze/ge,je/ge]:Be?[ke/Be,Le/Be]:be?[ae/be,he/be]:[NaN,NaN];return ae=he=be=ke=Le=Be=ze=je=ge=0,Kt}};function Ee(Kt,bn){ae+=Kt,he+=bn,++be}function Ve(){we.point=Ye}function Ye(Kt,bn){we.point=$e,Ee(_e=Kt,Me=bn)}function $e(Kt,bn){var On=Kt-_e,Ln=bn-Me,Un=(0,m._b)(On*On+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,Ee(_e=Kt,Me=bn)}function st(){we.point=Ee}function ot(){we.point=bt}function ft(){Et(xe,Pe)}function bt(Kt,bn){we.point=Et,Ee(xe=_e=Kt,Pe=Me=bn)}function Et(Kt,bn){var On=Kt-_e,Ln=bn-Me,Un=(0,m._b)(On*On+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,ze+=(Un=Me*Kt-_e*bn)*(_e+Kt),je+=Un*(Me+bn),ge+=3*Un,Ee(_e=Kt,Me=bn)}var kt=we;function xt(Kt){this._context=Kt}xt.prototype={_radius:4.5,pointRadius:function(Kt){return this._radius=Kt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._context.moveTo(Kt,bn),this._point=1;break;case 1:this._context.lineTo(Kt,bn);break;default:this._context.moveTo(Kt+this._radius,bn),this._context.arc(Kt,bn,this._radius,0,m.BZ)}},result:_.Z};var Ft,Dt,Bt,Wt,Vt,Ke=(0,f.Z)(),Je={point:_.Z,lineStart:function(){Je.point=We},lineEnd:function(){Ft&&nt(Dt,Bt),Je.point=_.Z},polygonStart:function(){Ft=!0},polygonEnd:function(){Ft=null},result:function(){var Kt=+Ke;return Ke.reset(),Kt}};function We(Kt,bn){Je.point=nt,Dt=Wt=Kt,Bt=Vt=bn}function nt(Kt,bn){Wt-=Kt,Vt-=bn,Ke.add((0,m._b)(Wt*Wt+Vt*Vt)),Wt=Kt,Vt=bn}var ht=Je;function Oe(){this._string=[]}function Ne(Kt){return"m0,"+Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+-2*Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+2*Kt+"z"}function Qe(Kt,bn){var On,Ln,Un=4.5;function Jn(Zn){return Zn&&(typeof Un=="function"&&Ln.pointRadius(+Un.apply(this,arguments)),(0,y.Z)(Zn,On(Ln))),Ln.result()}return Jn.area=function(Zn){return(0,y.Z)(Zn,On(Se)),Se.result()},Jn.measure=function(Zn){return(0,y.Z)(Zn,On(ht)),ht.result()},Jn.bounds=function(Zn){return(0,y.Z)(Zn,On(Ce.Z)),Ce.Z.result()},Jn.centroid=function(Zn){return(0,y.Z)(Zn,On(kt)),kt.result()},Jn.projection=function(Zn){return arguments.length?(On=Zn==null?(Kt=null,ie.Z):(Kt=Zn).stream,Jn):Kt},Jn.context=function(Zn){return arguments.length?(Ln=Zn==null?(bn=null,new Oe):new xt(bn=Zn),typeof Un!="function"&&Ln.pointRadius(Un),Jn):bn},Jn.pointRadius=function(Zn){return arguments.length?(Un=typeof Zn=="function"?Zn:(Ln.pointRadius(+Zn),+Zn),Jn):Un},Jn.projection(Kt).context(bn)}Oe.prototype={_radius:4.5,_circle:Ne(4.5),pointRadius:function(Kt){return(Kt=+Kt)!==this._radius&&(this._radius=Kt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._string.push("M",Kt,",",bn),this._point=1;break;case 1:this._string.push("L",Kt,",",bn);break;default:this._circle==null&&(this._circle=Ne(this._radius)),this._string.push("M",Kt,",",bn,this._circle)}},result:function(){if(this._string.length){var Kt=this._string.join("");return this._string=[],Kt}return null}};var ut=t(15002);function pt(Kt){var bn=0,On=m.pi/3,Ln=(0,ut.r)(Kt),Un=Ln(bn,On);return Un.parallels=function(Jn){return arguments.length?Ln(bn=Jn[0]*m.uR,On=Jn[1]*m.uR):[bn*m.RW,On*m.RW]},Un}function _t(Kt,bn){var On=(0,m.O$)(Kt),Ln=(On+(0,m.O$)(bn))/2;if((0,m.Wn)(Ln)=.12&&En<.234&&Dn>=-.425&&Dn<-.214?tr:En>=.166&&En<.234&&Dn>=-.214&&Dn<-.115?gr:Zn).invert(Jt)},Pn.stream=function(Jt){return Kt&&bn===Jt?Kt:(fn=[Zn.stream(bn=Jt),tr.stream(Jt),gr.stream(Jt)],zn=fn.length,Kt={point:function(Dn,En){for(var mn=-1;++mn0?tr<-m.ou+m.Ho&&(tr=-m.ou+m.Ho):tr>m.ou-m.Ho&&(tr=m.ou-m.Ho);var gr=Un/(0,m.sQ)(Qt(tr),Ln);return[gr*(0,m.O$)(Ln*Zn),Un-gr*(0,m.mC)(Ln*Zn)]}return Jn.invert=function(Zn,tr){var gr=Un-tr,nn=(0,m.Xx)(Ln)*(0,m._b)(Zn*Zn+gr*gr),Pn=(0,m.fv)(Zn,(0,m.Wn)(gr))*(0,m.Xx)(gr);return gr*Ln<0&&(Pn-=m.pi*(0,m.Xx)(Zn)*(0,m.Xx)(gr)),[Pn/Ln,2*(0,m.z4)((0,m.sQ)(Un/nn,1/Ln))-m.ou]},Jn}function xn(){return pt(rn).scale(109.5).parallels([30,30])}$t.invert=function(Kt,bn){return[Kt,2*(0,m.z4)((0,m.Qq)(bn))-m.ou]};var un=t(97492);function An(Kt,bn){var On=(0,m.mC)(Kt),Ln=Kt===bn?(0,m.O$)(Kt):(On-(0,m.mC)(bn))/(bn-Kt),Un=On/Ln+Kt;if((0,m.Wn)(Ln)2?Ln[2]+90:90]):[(Ln=On())[0],Ln[1],Ln[2]-90]},On([0,0,90]).scale(159.155)}br.invert=(0,Lr.O)(function(Kt){return 2*(0,m.z4)(Kt)}),yr.invert=function(Kt,bn){return[-bn,2*(0,m.z4)((0,m.Qq)(Kt))-m.ou]}},83074:function(x,o,t){t.d(o,{Z:function(){return v}});var d=t(39695);function v(i,M){var g=i[0]*d.uR,p=i[1]*d.uR,u=M[0]*d.uR,a=M[1]*d.uR,c=(0,d.mC)(p),s=(0,d.O$)(p),l=(0,d.mC)(a),h=(0,d.O$)(a),f=c*(0,d.mC)(g),m=c*(0,d.O$)(g),_=l*(0,d.mC)(u),y=l*(0,d.O$)(u),C=2*(0,d.ZR)((0,d._b)((0,d.Jy)(a-p)+c*l*(0,d.Jy)(u-g))),w=(0,d.O$)(C),k=C?function(E){var T=(0,d.O$)(E*=C)/w,A=(0,d.O$)(C-E)/w,L=A*f+T*_,b=A*m+T*y,O=A*s+T*h;return[(0,d.fv)(b,L)*d.RW,(0,d.fv)(O,(0,d._b)(L*L+b*b))*d.RW]}:function(){return[g*d.RW,p*d.RW]};return k.distance=C,k}},39695:function(x,o,t){t.d(o,{BZ:function(){return p},Ho:function(){return d},Jy:function(){return L},Kh:function(){return T},O$:function(){return C},OR:function(){return E},Qq:function(){return m},RW:function(){return u},Wn:function(){return c},Xx:function(){return w},ZR:function(){return A},_b:function(){return k},aW:function(){return v},cM:function(){return _},fv:function(){return l},mC:function(){return h},mD:function(){return f},ou:function(){return M},pi:function(){return i},pu:function(){return g},sQ:function(){return y},uR:function(){return a},z4:function(){return s}});var d=1e-6,v=1e-12,i=Math.PI,M=i/2,g=i/4,p=2*i,u=180/i,a=i/180,c=Math.abs,s=Math.atan,l=Math.atan2,h=Math.cos,f=Math.ceil,m=Math.exp,_=Math.log,y=Math.pow,C=Math.sin,w=Math.sign||function(b){return b>0?1:b<0?-1:0},k=Math.sqrt,E=Math.tan;function T(b){return b>1?0:b<-1?i:Math.acos(b)}function A(b){return b>1?M:b<-1?-M:Math.asin(b)}function L(b){return(b=C(b/2))*b}},73182:function(x,o,t){function d(){}t.d(o,{Z:function(){return d}})},3559:function(x,o,t){var d=t(73182),v=1/0,i=v,M=-v,g=M,p={point:function(u,a){uM&&(M=u),ag&&(g=a)},lineStart:d.Z,lineEnd:d.Z,polygonStart:d.Z,polygonEnd:d.Z,result:function(){var u=[[v,i],[M,g]];return M=g=-(i=v=1/0),u}};o.Z=p},67108:function(x,o,t){t.d(o,{Z:function(){return v}});var d=t(39695);function v(i,M){return(0,d.Wn)(i[0]-M[0])=0?1:-1,q=N*B,j=q>i.pi,Y=A*z;if(M.add((0,i.fv)(Y*N*(0,i.O$)(q),L*F+Y*(0,i.mC)(q))),f+=j?B+N*i.BZ:B,j^E>=c^I>=c){var U=(0,v.T5)((0,v.Og)(k),(0,v.Og)(O));(0,v.iJ)(U);var G=(0,v.T5)(h,U);(0,v.iJ)(G);var W=(j^B>=0?-1:1)*(0,i.ZR)(G[2]);(s>W||s===W&&(U[0]||U[1]))&&(m+=j^B>=0?1:-1)}}return(f<-i.Ho||f4*T&&U--){var te=I+q,Z=R+j,X=z+Y,Q=(0,p._b)(te*te+Z*Z+X*X),re=(0,p.ZR)(X/=Q),ie=(0,p.Wn)((0,p.Wn)(X)-1)T||(0,p.Wn)((W*ye+H*de)/ne-.5)>.3||I*q+R*j+z*Y2?ye[2]%360*p.uR:0,ue()):[Y*p.RW,U*p.RW,G*p.RW]},ie.angle=function(ye){return arguments.length?(W=ye%360*p.uR,ue()):W*p.RW},ie.reflectX=function(ye){return arguments.length?(H=ye?-1:1,ue()):H<0},ie.reflectY=function(ye){return arguments.length?(ne=ye?-1:1,ue()):ne<0},ie.precision=function(ye){return arguments.length?(b=h(O,re=ye*ye),ce()):(0,p._b)(re)},ie.fitExtent=function(ye,de){return(0,c.qg)(ie,ye,de)},ie.fitSize=function(ye,de){return(0,c.mF)(ie,ye,de)},ie.fitWidth=function(ye,de){return(0,c.V6)(ie,ye,de)},ie.fitHeight=function(ye,de){return(0,c.rf)(ie,ye,de)},function(){return k=w.apply(this,arguments),ie.invert=k.invert&&oe,ue()}}},26867:function(x,o,t){t.d(o,{K:function(){return i},Z:function(){return M}});var d=t(15002),v=t(39695);function i(g,p){var u=p*p,a=u*u;return[g*(.8707-.131979*u+a*(a*(.003971*u-.001529*a)-.013791)),p*(1.007226+u*(.015085+a*(.028874*u-.044475-.005916*a)))]}function M(){return(0,d.Z)(i).scale(175.295)}i.invert=function(g,p){var u,a=p,c=25;do{var s=a*a,l=s*s;a-=u=(a*(1.007226+s*(.015085+l*(.028874*s-.044475-.005916*l)))-p)/(1.007226+s*(.045255+l*(.259866*s-.311325-.06507600000000001*l)))}while((0,v.Wn)(u)>v.Ho&&--c>0);return[g/(.8707+(s=a*a)*(s*(s*s*s*(.003971-.001529*s)-.013791)-.131979)),a]}},57962:function(x,o,t){t.d(o,{I:function(){return M},Z:function(){return g}});var d=t(39695),v=t(25382),i=t(15002);function M(p,u){return[(0,d.mC)(u)*(0,d.O$)(p),(0,d.O$)(u)]}function g(){return(0,i.Z)(M).scale(249.5).clipAngle(90+d.Ho)}M.invert=(0,v.O)(d.ZR)},49386:function(x,o,t){t.d(o,{I:function(){return M},Z:function(){return a}});var d=t(96059),v=t(39695);function i(c,s){return[(0,v.Wn)(c)>v.pi?c+Math.round(-c/v.BZ)*v.BZ:c,s]}function M(c,s,l){return(c%=v.BZ)?s||l?(0,d.Z)(p(c),u(s,l)):p(c):s||l?u(s,l):i}function g(c){return function(s,l){return[(s+=c)>v.pi?s-v.BZ:s<-v.pi?s+v.BZ:s,l]}}function p(c){var s=g(c);return s.invert=g(-c),s}function u(c,s){var l=(0,v.mC)(c),h=(0,v.O$)(c),f=(0,v.mC)(s),m=(0,v.O$)(s);function _(y,C){var w=(0,v.mC)(C),k=(0,v.mC)(y)*w,E=(0,v.O$)(y)*w,T=(0,v.O$)(C),A=T*l+k*h;return[(0,v.fv)(E*f-A*m,k*l-T*h),(0,v.ZR)(A*f+E*m)]}return _.invert=function(y,C){var w=(0,v.mC)(C),k=(0,v.mC)(y)*w,E=(0,v.O$)(y)*w,T=(0,v.O$)(C),A=T*f-E*m;return[(0,v.fv)(E*f+T*m,k*l+A*h),(0,v.ZR)(A*l-k*h)]},_}function a(c){function s(l){return(l=c(l[0]*v.uR,l[1]*v.uR))[0]*=v.RW,l[1]*=v.RW,l}return c=M(c[0]*v.uR,c[1]*v.uR,c.length>2?c[2]*v.uR:0),s.invert=function(l){return(l=c.invert(l[0]*v.uR,l[1]*v.uR))[0]*=v.RW,l[1]*=v.RW,l},s}i.invert=i},72736:function(x,o,t){function d(u,a){u&&i.hasOwnProperty(u.type)&&i[u.type](u,a)}t.d(o,{Z:function(){return p}});var v={Feature:function(u,a){d(u.geometry,a)},FeatureCollection:function(u,a){for(var c=u.features,s=-1,l=c.length;++s=0;)ae+=he[be].value;else ae=1;Ce.value=ae}function p(Ce,ae){var he,be,ke,Le,Be,ze=new s(Ce),je=+Ce.value&&(ze.value=Ce.value),ge=[ze];for(ae==null&&(ae=u);he=ge.pop();)if(je&&(he.value=+he.data.value),(ke=ae(he.data))&&(Be=ke.length))for(he.children=new Array(Be),Le=Be-1;Le>=0;--Le)ge.push(be=he.children[Le]=new s(ke[Le])),be.parent=he,be.depth=he.depth+1;return ze.eachBefore(c)}function u(Ce){return Ce.children}function a(Ce){Ce.data=Ce.data.data}function c(Ce){var ae=0;do Ce.height=ae;while((Ce=Ce.parent)&&Ce.height<++ae)}function s(Ce){this.data=Ce,this.depth=this.height=0,this.parent=null}t.r(o),t.d(o,{cluster:function(){return M},hierarchy:function(){return p},pack:function(){return N},packEnclose:function(){return h},packSiblings:function(){return O},partition:function(){return W},stratify:function(){return X},tree:function(){return ye},treemap:function(){return Pe},treemapBinary:function(){return _e},treemapDice:function(){return G},treemapResquarify:function(){return Se},treemapSlice:function(){return de},treemapSliceDice:function(){return Me},treemapSquarify:function(){return xe}}),s.prototype=p.prototype={constructor:s,count:function(){return this.eachAfter(g)},each:function(Ce){var ae,he,be,ke,Le=this,Be=[Le];do for(ae=Be.reverse(),Be=[];Le=ae.pop();)if(Ce(Le),he=Le.children)for(be=0,ke=he.length;be=0;--he)ke.push(ae[he]);return this},sum:function(Ce){return this.eachAfter(function(ae){for(var he=+Ce(ae.data)||0,be=ae.children,ke=be&&be.length;--ke>=0;)he+=be[ke].value;ae.value=he})},sort:function(Ce){return this.eachBefore(function(ae){ae.children&&ae.children.sort(Ce)})},path:function(Ce){for(var ae=this,he=function(Le,Be){if(Le===Be)return Le;var ze=Le.ancestors(),je=Be.ancestors(),ge=null;for(Le=ze.pop(),Be=je.pop();Le===Be;)ge=Le,Le=ze.pop(),Be=je.pop();return ge}(ae,Ce),be=[ae];ae!==he;)ae=ae.parent,be.push(ae);for(var ke=be.length;Ce!==he;)be.splice(ke,0,Ce),Ce=Ce.parent;return be},ancestors:function(){for(var Ce=this,ae=[Ce];Ce=Ce.parent;)ae.push(Ce);return ae},descendants:function(){var Ce=[];return this.each(function(ae){Ce.push(ae)}),Ce},leaves:function(){var Ce=[];return this.eachBefore(function(ae){ae.children||Ce.push(ae)}),Ce},links:function(){var Ce=this,ae=[];return Ce.each(function(he){he!==Ce&&ae.push({source:he.parent,target:he})}),ae},copy:function(){return p(this).eachBefore(a)}};var l=Array.prototype.slice;function h(Ce){for(var ae,he,be=0,ke=(Ce=function(Be){for(var ze,je,ge=Be.length;ge;)je=Math.random()*ge--|0,ze=Be[ge],Be[ge]=Be[je],Be[je]=ze;return Be}(l.call(Ce))).length,Le=[];be0&&he*he>be*be+ke*ke}function y(Ce,ae){for(var he=0;he(Be*=Be)?(be=(ge+Be-ke)/(2*ge),Le=Math.sqrt(Math.max(0,Be/ge-be*be)),he.x=Ce.x-be*ze-Le*je,he.y=Ce.y-be*je+Le*ze):(be=(ge+ke-Be)/(2*ge),Le=Math.sqrt(Math.max(0,ke/ge-be*be)),he.x=ae.x+be*ze-Le*je,he.y=ae.y+be*je+Le*ze)):(he.x=ae.x+he.r,he.y=ae.y)}function T(Ce,ae){var he=Ce.r+ae.r-1e-6,be=ae.x-Ce.x,ke=ae.y-Ce.y;return he>0&&he*he>be*be+ke*ke}function A(Ce){var ae=Ce._,he=Ce.next._,be=ae.r+he.r,ke=(ae.x*he.r+he.x*ae.r)/be,Le=(ae.y*he.r+he.y*ae.r)/be;return ke*ke+Le*Le}function L(Ce){this._=Ce,this.next=null,this.previous=null}function b(Ce){if(!(ke=Ce.length))return 0;var ae,he,be,ke,Le,Be,ze,je,ge,we,Ee;if((ae=Ce[0]).x=0,ae.y=0,!(ke>1))return ae.r;if(he=Ce[1],ae.x=-he.r,he.x=ae.r,he.y=0,!(ke>2))return ae.r+he.r;E(he,ae,be=Ce[2]),ae=new L(ae),he=new L(he),be=new L(be),ae.next=be.previous=he,he.next=ae.previous=be,be.next=he.previous=ae;e:for(ze=3;ze0)throw new Error("cycle");return Be}return he.id=function(be){return arguments.length?(Ce=R(be),he):Ce},he.parentId=function(be){return arguments.length?(ae=R(be),he):ae},he}function Q(Ce,ae){return Ce.parent===ae.parent?1:2}function re(Ce){var ae=Ce.children;return ae?ae[0]:Ce.t}function ie(Ce){var ae=Ce.children;return ae?ae[ae.length-1]:Ce.t}function oe(Ce,ae,he){var be=he/(ae.i-Ce.i);ae.c-=be,ae.s+=he,Ce.c+=be,ae.z+=he,ae.m+=he}function ue(Ce,ae,he){return Ce.a.parent===ae.parent?Ce.a:he}function ce(Ce,ae){this._=Ce,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=ae}function ye(){var Ce=Q,ae=1,he=1,be=null;function ke(je){var ge=function(ft){for(var bt,Et,kt,xt,Ft,Dt=new ce(ft,0),Bt=[Dt];bt=Bt.pop();)if(kt=bt._.children)for(bt.children=new Array(Ft=kt.length),xt=Ft-1;xt>=0;--xt)Bt.push(Et=bt.children[xt]=new ce(kt[xt],xt)),Et.parent=bt;return(Dt.parent=new ce(null,0)).children=[Dt],Dt}(je);if(ge.eachAfter(Le),ge.parent.m=-ge.z,ge.eachBefore(Be),be)je.eachBefore(ze);else{var we=je,Ee=je,Ve=je;je.eachBefore(function(ft){ft.xEe.x&&(Ee=ft),ft.depth>Ve.depth&&(Ve=ft)});var Ye=we===Ee?1:Ce(we,Ee)/2,$e=Ye-we.x,st=ae/(Ee.x+Ye+$e),ot=he/(Ve.depth||1);je.eachBefore(function(ft){ft.x=(ft.x+$e)*st,ft.y=ft.depth*ot})}return je}function Le(je){var ge=je.children,we=je.parent.children,Ee=je.i?we[je.i-1]:null;if(ge){(function(Ye){for(var $e,st=0,ot=0,ft=Ye.children,bt=ft.length;--bt>=0;)($e=ft[bt]).z+=st,$e.m+=st,st+=$e.s+(ot+=$e.c)})(je);var Ve=(ge[0].z+ge[ge.length-1].z)/2;Ee?(je.z=Ee.z+Ce(je._,Ee._),je.m=je.z-Ve):je.z=Ve}else Ee&&(je.z=Ee.z+Ce(je._,Ee._));je.parent.A=function(Ye,$e,st){if($e){for(var ot,ft=Ye,bt=Ye,Et=$e,kt=ft.parent.children[0],xt=ft.m,Ft=bt.m,Dt=Et.m,Bt=kt.m;Et=ie(Et),ft=re(ft),Et&&ft;)kt=re(kt),(bt=ie(bt)).a=Ye,(ot=Et.z+Dt-ft.z-xt+Ce(Et._,ft._))>0&&(oe(ue(Et,Ye,st),Ye,ot),xt+=ot,Ft+=ot),Dt+=Et.m,xt+=ft.m,Bt+=kt.m,Ft+=bt.m;Et&&!ie(bt)&&(bt.t=Et,bt.m+=Dt-Ft),ft&&!re(kt)&&(kt.t=ft,kt.m+=xt-Bt,st=Ye)}return st}(je,Ee,je.parent.A||we[0])}function Be(je){je._.x=je.z+je.parent.m,je.m+=je.parent.m}function ze(je){je.x*=ae,je.y=je.depth*he}return ke.separation=function(je){return arguments.length?(Ce=je,ke):Ce},ke.size=function(je){return arguments.length?(be=!1,ae=+je[0],he=+je[1],ke):be?null:[ae,he]},ke.nodeSize=function(je){return arguments.length?(be=!0,ae=+je[0],he=+je[1],ke):be?[ae,he]:null},ke}function de(Ce,ae,he,be,ke){for(var Le,Be=Ce.children,ze=-1,je=Be.length,ge=Ce.value&&(ke-he)/Ce.value;++zeVe&&(Ve=ze),ot=we*we*st,(Ye=Math.max(Ve/ot,ot/Ee))>$e){we-=ze;break}$e=Ye}ft.push(Be={value:we,dice:je1?be:1)},he}(me);function Pe(){var Ce=xe,ae=!1,he=1,be=1,ke=[0],Le=z,Be=z,ze=z,je=z,ge=z;function we(Ve){return Ve.x0=Ve.y0=0,Ve.x1=he,Ve.y1=be,Ve.eachBefore(Ee),ke=[0],ae&&Ve.eachBefore(U),Ve}function Ee(Ve){var Ye=ke[Ve.depth],$e=Ve.x0+Ye,st=Ve.y0+Ye,ot=Ve.x1-Ye,ft=Ve.y1-Ye;ot<$e&&($e=ot=($e+ot)/2),ft=Ve-1){var bt=ze[Ee];return bt.x0=$e,bt.y0=st,bt.x1=ot,void(bt.y1=ft)}for(var Et=ge[Ee],kt=Ye/2+Et,xt=Ee+1,Ft=Ve-1;xt>>1;ge[Dt]ft-st){var Vt=($e*Wt+ot*Bt)/Ye;we(Ee,xt,Bt,$e,st,Vt,ft),we(xt,Ve,Wt,Vt,st,ot,ft)}else{var Ke=(st*Wt+ft*Bt)/Ye;we(Ee,xt,Bt,$e,st,ot,Ke),we(xt,Ve,Wt,$e,Ke,ot,ft)}})(0,je,Ce.value,ae,he,be,ke)}function Me(Ce,ae,he,be,ke){(1&Ce.depth?de:G)(Ce,ae,he,be,ke)}var Se=function Ce(ae){function he(be,ke,Le,Be,ze){if((je=be._squarify)&&je.ratio===ae)for(var je,ge,we,Ee,Ve,Ye=-1,$e=je.length,st=be.value;++Ye<$e;){for(we=(ge=je[Ye]).children,Ee=ge.value=0,Ve=we.length;Ee1?be:1)},he}(me)},45879:function(x,o,t){t.d(o,{h5:function(){return _}});var d=Math.PI,v=2*d,i=1e-6,M=v-i;function g(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function p(){return new g}g.prototype=p.prototype={constructor:g,moveTo:function(y,C){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+C)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(y,C){this._+="L"+(this._x1=+y)+","+(this._y1=+C)},quadraticCurveTo:function(y,C,w,k){this._+="Q"+ +y+","+ +C+","+(this._x1=+w)+","+(this._y1=+k)},bezierCurveTo:function(y,C,w,k,E,T){this._+="C"+ +y+","+ +C+","+ +w+","+ +k+","+(this._x1=+E)+","+(this._y1=+T)},arcTo:function(y,C,w,k,E){y=+y,C=+C,w=+w,k=+k,E=+E;var T=this._x1,A=this._y1,L=w-y,b=k-C,O=T-y,I=A-C,R=O*O+I*I;if(E<0)throw new Error("negative radius: "+E);if(this._x1===null)this._+="M"+(this._x1=y)+","+(this._y1=C);else if(R>i)if(Math.abs(I*L-b*O)>i&&E){var z=w-T,F=k-A,B=L*L+b*b,N=z*z+F*F,q=Math.sqrt(B),j=Math.sqrt(R),Y=E*Math.tan((d-Math.acos((B+R-N)/(2*q*j)))/2),U=Y/j,G=Y/q;Math.abs(U-1)>i&&(this._+="L"+(y+U*O)+","+(C+U*I)),this._+="A"+E+","+E+",0,0,"+ +(I*z>O*F)+","+(this._x1=y+G*L)+","+(this._y1=C+G*b)}else this._+="L"+(this._x1=y)+","+(this._y1=C)},arc:function(y,C,w,k,E,T){y=+y,C=+C,T=!!T;var A=(w=+w)*Math.cos(k),L=w*Math.sin(k),b=y+A,O=C+L,I=1^T,R=T?k-E:E-k;if(w<0)throw new Error("negative radius: "+w);this._x1===null?this._+="M"+b+","+O:(Math.abs(this._x1-b)>i||Math.abs(this._y1-O)>i)&&(this._+="L"+b+","+O),w&&(R<0&&(R=R%v+v),R>M?this._+="A"+w+","+w+",0,1,"+I+","+(y-A)+","+(C-L)+"A"+w+","+w+",0,1,"+I+","+(this._x1=b)+","+(this._y1=O):R>i&&(this._+="A"+w+","+w+",0,"+ +(R>=d)+","+I+","+(this._x1=y+w*Math.cos(E))+","+(this._y1=C+w*Math.sin(E))))},rect:function(y,C,w,k){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+C)+"h"+ +w+"v"+ +k+"h"+-w+"Z"},toString:function(){return this._}};var u=p,a=Array.prototype.slice;function c(y){return function(){return y}}function s(y){return y[0]}function l(y){return y[1]}function h(y){return y.source}function f(y){return y.target}function m(y,C,w,k,E){y.moveTo(C,w),y.bezierCurveTo(C=(C+k)/2,w,C,E,k,E)}function _(){return function(y){var C=h,w=f,k=s,E=l,T=null;function A(){var L,b=a.call(arguments),O=C.apply(this,b),I=w.apply(this,b);if(T||(T=L=u()),y(T,+k.apply(this,(b[0]=O,b)),+E.apply(this,b),+k.apply(this,(b[0]=I,b)),+E.apply(this,b)),L)return T=null,L+""||null}return A.source=function(L){return arguments.length?(C=L,A):C},A.target=function(L){return arguments.length?(w=L,A):w},A.x=function(L){return arguments.length?(k=typeof L=="function"?L:c(+L),A):k},A.y=function(L){return arguments.length?(E=typeof L=="function"?L:c(+L),A):E},A.context=function(L){return arguments.length?(T=L??null,A):T},A}(m)}},84096:function(x,o,t){t.d(o,{i$:function(){return h},Dq:function(){return s},g0:function(){return f}});var d=t(58176),v=t(48480),i=t(59879),M=t(82301),g=t(34823),p=t(79791);function u(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L);return Ft.setFullYear(xt.y),Ft}return new Date(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L)}function a(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(Date.UTC(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L));return Ft.setUTCFullYear(xt.y),Ft}return new Date(Date.UTC(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L))}function c(xt,Ft,Dt){return{y:xt,m:Ft,d:Dt,H:0,M:0,S:0,L:0}}function s(xt){var Ft=xt.dateTime,Dt=xt.date,Bt=xt.time,Wt=xt.periods,Vt=xt.days,Ke=xt.shortDays,Je=xt.months,We=xt.shortMonths,nt=E(Wt),ht=T(Wt),Oe=E(Vt),Ne=T(Vt),Qe=E(Ke),ut=T(Ke),pt=E(Je),_t=T(Je),It=E(We),Lt=T(We),yt={a:function(qt){return Ke[qt.getDay()]},A:function(qt){return Vt[qt.getDay()]},b:function(qt){return We[qt.getMonth()]},B:function(qt){return Je[qt.getMonth()]},c:null,d:X,e:X,f:ue,H:Q,I:re,j:ie,L:oe,m:ce,M:ye,p:function(qt){return Wt[+(qt.getHours()>=12)]},q:function(qt){return 1+~~(qt.getMonth()/3)},Q:Et,s:kt,S:de,u:me,U:pe,V:xe,w:Pe,W:_e,x:null,X:null,y:Me,Y:Se,Z:Ce,"%":bt},Pt={a:function(qt){return Ke[qt.getUTCDay()]},A:function(qt){return Vt[qt.getUTCDay()]},b:function(qt){return We[qt.getUTCMonth()]},B:function(qt){return Je[qt.getUTCMonth()]},c:null,d:ae,e:ae,f:Be,H:he,I:be,j:ke,L:Le,m:ze,M:je,p:function(qt){return Wt[+(qt.getUTCHours()>=12)]},q:function(qt){return 1+~~(qt.getUTCMonth()/3)},Q:Et,s:kt,S:ge,u:we,U:Ee,V:Ve,w:Ye,W:$e,x:null,X:null,y:st,Y:ot,Z:ft,"%":bt},wt={a:function(qt,Xt,Qt){var rn=Qe.exec(Xt.slice(Qt));return rn?(qt.w=ut[rn[0].toLowerCase()],Qt+rn[0].length):-1},A:function(qt,Xt,Qt){var rn=Oe.exec(Xt.slice(Qt));return rn?(qt.w=Ne[rn[0].toLowerCase()],Qt+rn[0].length):-1},b:function(qt,Xt,Qt){var rn=It.exec(Xt.slice(Qt));return rn?(qt.m=Lt[rn[0].toLowerCase()],Qt+rn[0].length):-1},B:function(qt,Xt,Qt){var rn=pt.exec(Xt.slice(Qt));return rn?(qt.m=_t[rn[0].toLowerCase()],Qt+rn[0].length):-1},c:function(qt,Xt,Qt){return $t(qt,Ft,Xt,Qt)},d:q,e:q,f:H,H:Y,I:Y,j,L:W,m:N,M:U,p:function(qt,Xt,Qt){var rn=nt.exec(Xt.slice(Qt));return rn?(qt.p=ht[rn[0].toLowerCase()],Qt+rn[0].length):-1},q:B,Q:te,s:Z,S:G,u:L,U:b,V:O,w:A,W:I,x:function(qt,Xt,Qt){return $t(qt,Dt,Xt,Qt)},X:function(qt,Xt,Qt){return $t(qt,Bt,Xt,Qt)},y:z,Y:R,Z:F,"%":ne};function Ot(qt,Xt){return function(Qt){var rn,xn,un,An=[],Yn=-1,kn=0,sn=qt.length;for(Qt instanceof Date||(Qt=new Date(+Qt));++Yn53)return null;"w"in un||(un.w=1),"Z"in un?(xn=(rn=a(c(un.y,0,1))).getUTCDay(),rn=xn>4||xn===0?d.l6.ceil(rn):(0,d.l6)(rn),rn=v.Z.offset(rn,7*(un.V-1)),un.y=rn.getUTCFullYear(),un.m=rn.getUTCMonth(),un.d=rn.getUTCDate()+(un.w+6)%7):(xn=(rn=u(c(un.y,0,1))).getDay(),rn=xn>4||xn===0?i.wA.ceil(rn):(0,i.wA)(rn),rn=M.Z.offset(rn,7*(un.V-1)),un.y=rn.getFullYear(),un.m=rn.getMonth(),un.d=rn.getDate()+(un.w+6)%7)}else("W"in un||"U"in un)&&("w"in un||(un.w="u"in un?un.u%7:"W"in un?1:0),xn="Z"in un?a(c(un.y,0,1)).getUTCDay():u(c(un.y,0,1)).getDay(),un.m=0,un.d="W"in un?(un.w+6)%7+7*un.W-(xn+5)%7:un.w+7*un.U-(xn+6)%7);return"Z"in un?(un.H+=un.Z/100|0,un.M+=un.Z%100,a(un)):u(un)}}function $t(qt,Xt,Qt,rn){for(var xn,un,An=0,Yn=Xt.length,kn=Qt.length;An=kn)return-1;if((xn=Xt.charCodeAt(An++))===37){if(xn=Xt.charAt(An++),!(un=wt[xn in m?Xt.charAt(An++):xn])||(rn=un(qt,Qt,rn))<0)return-1}else if(xn!=Qt.charCodeAt(rn++))return-1}return rn}return yt.x=Ot(Dt,yt),yt.X=Ot(Bt,yt),yt.c=Ot(Ft,yt),Pt.x=Ot(Dt,Pt),Pt.X=Ot(Bt,Pt),Pt.c=Ot(Ft,Pt),{format:function(qt){var Xt=Ot(qt+="",yt);return Xt.toString=function(){return qt},Xt},parse:function(qt){var Xt=Nt(qt+="",!1);return Xt.toString=function(){return qt},Xt},utcFormat:function(qt){var Xt=Ot(qt+="",Pt);return Xt.toString=function(){return qt},Xt},utcParse:function(qt){var Xt=Nt(qt+="",!0);return Xt.toString=function(){return qt},Xt}}}var l,h,f,m={"-":"",_:" ",0:"0"},_=/^\s*\d+/,y=/^%/,C=/[\\^$*+?|[\]().{}]/g;function w(xt,Ft,Dt){var Bt=xt<0?"-":"",Wt=(Bt?-xt:xt)+"",Vt=Wt.length;return Bt+(Vt68?1900:2e3),Dt+Bt[0].length):-1}function F(xt,Ft,Dt){var Bt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ft.slice(Dt,Dt+6));return Bt?(xt.Z=Bt[1]?0:-(Bt[2]+(Bt[3]||"00")),Dt+Bt[0].length):-1}function B(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+1));return Bt?(xt.q=3*Bt[0]-3,Dt+Bt[0].length):-1}function N(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+2));return Bt?(xt.m=Bt[0]-1,Dt+Bt[0].length):-1}function q(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+2));return Bt?(xt.d=+Bt[0],Dt+Bt[0].length):-1}function j(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+3));return Bt?(xt.m=0,xt.d=+Bt[0],Dt+Bt[0].length):-1}function Y(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+2));return Bt?(xt.H=+Bt[0],Dt+Bt[0].length):-1}function U(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+2));return Bt?(xt.M=+Bt[0],Dt+Bt[0].length):-1}function G(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+2));return Bt?(xt.S=+Bt[0],Dt+Bt[0].length):-1}function W(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+3));return Bt?(xt.L=+Bt[0],Dt+Bt[0].length):-1}function H(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt,Dt+6));return Bt?(xt.L=Math.floor(Bt[0]/1e3),Dt+Bt[0].length):-1}function ne(xt,Ft,Dt){var Bt=y.exec(Ft.slice(Dt,Dt+1));return Bt?Dt+Bt[0].length:-1}function te(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt));return Bt?(xt.Q=+Bt[0],Dt+Bt[0].length):-1}function Z(xt,Ft,Dt){var Bt=_.exec(Ft.slice(Dt));return Bt?(xt.s=+Bt[0],Dt+Bt[0].length):-1}function X(xt,Ft){return w(xt.getDate(),Ft,2)}function Q(xt,Ft){return w(xt.getHours(),Ft,2)}function re(xt,Ft){return w(xt.getHours()%12||12,Ft,2)}function ie(xt,Ft){return w(1+M.Z.count((0,g.Z)(xt),xt),Ft,3)}function oe(xt,Ft){return w(xt.getMilliseconds(),Ft,3)}function ue(xt,Ft){return oe(xt,Ft)+"000"}function ce(xt,Ft){return w(xt.getMonth()+1,Ft,2)}function ye(xt,Ft){return w(xt.getMinutes(),Ft,2)}function de(xt,Ft){return w(xt.getSeconds(),Ft,2)}function me(xt){var Ft=xt.getDay();return Ft===0?7:Ft}function pe(xt,Ft){return w(i.OM.count((0,g.Z)(xt)-1,xt),Ft,2)}function xe(xt,Ft){var Dt=xt.getDay();return xt=Dt>=4||Dt===0?(0,i.bL)(xt):i.bL.ceil(xt),w(i.bL.count((0,g.Z)(xt),xt)+((0,g.Z)(xt).getDay()===4),Ft,2)}function Pe(xt){return xt.getDay()}function _e(xt,Ft){return w(i.wA.count((0,g.Z)(xt)-1,xt),Ft,2)}function Me(xt,Ft){return w(xt.getFullYear()%100,Ft,2)}function Se(xt,Ft){return w(xt.getFullYear()%1e4,Ft,4)}function Ce(xt){var Ft=xt.getTimezoneOffset();return(Ft>0?"-":(Ft*=-1,"+"))+w(Ft/60|0,"0",2)+w(Ft%60,"0",2)}function ae(xt,Ft){return w(xt.getUTCDate(),Ft,2)}function he(xt,Ft){return w(xt.getUTCHours(),Ft,2)}function be(xt,Ft){return w(xt.getUTCHours()%12||12,Ft,2)}function ke(xt,Ft){return w(1+v.Z.count((0,p.Z)(xt),xt),Ft,3)}function Le(xt,Ft){return w(xt.getUTCMilliseconds(),Ft,3)}function Be(xt,Ft){return Le(xt,Ft)+"000"}function ze(xt,Ft){return w(xt.getUTCMonth()+1,Ft,2)}function je(xt,Ft){return w(xt.getUTCMinutes(),Ft,2)}function ge(xt,Ft){return w(xt.getUTCSeconds(),Ft,2)}function we(xt){var Ft=xt.getUTCDay();return Ft===0?7:Ft}function Ee(xt,Ft){return w(d.Ox.count((0,p.Z)(xt)-1,xt),Ft,2)}function Ve(xt,Ft){var Dt=xt.getUTCDay();return xt=Dt>=4||Dt===0?(0,d.hB)(xt):d.hB.ceil(xt),w(d.hB.count((0,p.Z)(xt),xt)+((0,p.Z)(xt).getUTCDay()===4),Ft,2)}function Ye(xt){return xt.getUTCDay()}function $e(xt,Ft){return w(d.l6.count((0,p.Z)(xt)-1,xt),Ft,2)}function st(xt,Ft){return w(xt.getUTCFullYear()%100,Ft,2)}function ot(xt,Ft){return w(xt.getUTCFullYear()%1e4,Ft,4)}function ft(){return"+0000"}function bt(){return"%"}function Et(xt){return+xt}function kt(xt){return Math.floor(+xt/1e3)}l=s({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"]}),h=l.format,l.parse,f=l.utcFormat,l.utcParse},82301:function(x,o,t){t.d(o,{a:function(){return M}});var d=t(30052),v=t(54263),i=(0,d.Z)(function(g){g.setHours(0,0,0,0)},function(g,p){g.setDate(g.getDate()+p)},function(g,p){return(p-g-(p.getTimezoneOffset()-g.getTimezoneOffset())*v.yB)/v.UD},function(g){return g.getDate()-1});o.Z=i;var M=i.range},54263:function(x,o,t){t.d(o,{UD:function(){return M},Y2:function(){return i},Ym:function(){return d},iM:function(){return g},yB:function(){return v}});var d=1e3,v=6e4,i=36e5,M=864e5,g=6048e5},81041:function(x,o,t){t.r(o),t.d(o,{timeDay:function(){return _.Z},timeDays:function(){return _.a},timeFriday:function(){return y.mC},timeFridays:function(){return y.b$},timeHour:function(){return f},timeHours:function(){return m},timeInterval:function(){return d.Z},timeMillisecond:function(){return i},timeMilliseconds:function(){return M},timeMinute:function(){return s},timeMinutes:function(){return l},timeMonday:function(){return y.wA},timeMondays:function(){return y.bJ},timeMonth:function(){return w},timeMonths:function(){return k},timeSaturday:function(){return y.EY},timeSaturdays:function(){return y.Ff},timeSecond:function(){return u},timeSeconds:function(){return a},timeSunday:function(){return y.OM},timeSundays:function(){return y.vm},timeThursday:function(){return y.bL},timeThursdays:function(){return y.$t},timeTuesday:function(){return y.sy},timeTuesdays:function(){return y.aU},timeWednesday:function(){return y.zg},timeWednesdays:function(){return y.Ld},timeWeek:function(){return y.OM},timeWeeks:function(){return y.vm},timeYear:function(){return E.Z},timeYears:function(){return E.g},utcDay:function(){return R.Z},utcDays:function(){return R.y},utcFriday:function(){return z.QQ},utcFridays:function(){return z.fz},utcHour:function(){return O},utcHours:function(){return I},utcMillisecond:function(){return i},utcMilliseconds:function(){return M},utcMinute:function(){return A},utcMinutes:function(){return L},utcMonday:function(){return z.l6},utcMondays:function(){return z.$3},utcMonth:function(){return B},utcMonths:function(){return N},utcSaturday:function(){return z.g4},utcSaturdays:function(){return z.Q_},utcSecond:function(){return u},utcSeconds:function(){return a},utcSunday:function(){return z.Ox},utcSundays:function(){return z.SU},utcThursday:function(){return z.hB},utcThursdays:function(){return z.xj},utcTuesday:function(){return z.J1},utcTuesdays:function(){return z.DK},utcWednesday:function(){return z.b3},utcWednesdays:function(){return z.uy},utcWeek:function(){return z.Ox},utcWeeks:function(){return z.SU},utcYear:function(){return q.Z},utcYears:function(){return q.D}});var d=t(30052),v=(0,d.Z)(function(){},function(j,Y){j.setTime(+j+Y)},function(j,Y){return Y-j});v.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?(0,d.Z)(function(Y){Y.setTime(Math.floor(Y/j)*j)},function(Y,U){Y.setTime(+Y+U*j)},function(Y,U){return(U-Y)/j}):v:null};var i=v,M=v.range,g=t(54263),p=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds())},function(j,Y){j.setTime(+j+Y*g.Ym)},function(j,Y){return(Y-j)/g.Ym},function(j){return j.getUTCSeconds()}),u=p,a=p.range,c=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*g.Ym)},function(j,Y){j.setTime(+j+Y*g.yB)},function(j,Y){return(Y-j)/g.yB},function(j){return j.getMinutes()}),s=c,l=c.range,h=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*g.Ym-j.getMinutes()*g.yB)},function(j,Y){j.setTime(+j+Y*g.Y2)},function(j,Y){return(Y-j)/g.Y2},function(j){return j.getHours()}),f=h,m=h.range,_=t(82301),y=t(59879),C=(0,d.Z)(function(j){j.setDate(1),j.setHours(0,0,0,0)},function(j,Y){j.setMonth(j.getMonth()+Y)},function(j,Y){return Y.getMonth()-j.getMonth()+12*(Y.getFullYear()-j.getFullYear())},function(j){return j.getMonth()}),w=C,k=C.range,E=t(34823),T=(0,d.Z)(function(j){j.setUTCSeconds(0,0)},function(j,Y){j.setTime(+j+Y*g.yB)},function(j,Y){return(Y-j)/g.yB},function(j){return j.getUTCMinutes()}),A=T,L=T.range,b=(0,d.Z)(function(j){j.setUTCMinutes(0,0,0)},function(j,Y){j.setTime(+j+Y*g.Y2)},function(j,Y){return(Y-j)/g.Y2},function(j){return j.getUTCHours()}),O=b,I=b.range,R=t(48480),z=t(58176),F=(0,d.Z)(function(j){j.setUTCDate(1),j.setUTCHours(0,0,0,0)},function(j,Y){j.setUTCMonth(j.getUTCMonth()+Y)},function(j,Y){return Y.getUTCMonth()-j.getUTCMonth()+12*(Y.getUTCFullYear()-j.getUTCFullYear())},function(j){return j.getUTCMonth()}),B=F,N=F.range,q=t(79791)},30052:function(x,o,t){t.d(o,{Z:function(){return i}});var d=new Date,v=new Date;function i(M,g,p,u){function a(c){return M(c=arguments.length===0?new Date:new Date(+c)),c}return a.floor=function(c){return M(c=new Date(+c)),c},a.ceil=function(c){return M(c=new Date(c-1)),g(c,1),M(c),c},a.round=function(c){var s=a(c),l=a.ceil(c);return c-s0))return f;do f.push(h=new Date(+c)),g(c,l),M(c);while(h=s)for(;M(s),!c(s);)s.setTime(s-1)},function(s,l){if(s>=s)if(l<0)for(;++l<=0;)for(;g(s,-1),!c(s););else for(;--l>=0;)for(;g(s,1),!c(s););})},p&&(a.count=function(c,s){return d.setTime(+c),v.setTime(+s),M(d),M(v),Math.floor(p(d,v))},a.every=function(c){return c=Math.floor(c),isFinite(c)&&c>0?c>1?a.filter(u?function(s){return u(s)%c==0}:function(s){return a.count(0,s)%c==0}):a:null}),a}},48480:function(x,o,t){t.d(o,{y:function(){return M}});var d=t(30052),v=t(54263),i=(0,d.Z)(function(g){g.setUTCHours(0,0,0,0)},function(g,p){g.setUTCDate(g.getUTCDate()+p)},function(g,p){return(p-g)/v.UD},function(g){return g.getUTCDate()-1});o.Z=i;var M=i.range},58176:function(x,o,t){t.d(o,{$3:function(){return h},DK:function(){return f},J1:function(){return p},Ox:function(){return M},QQ:function(){return c},Q_:function(){return C},SU:function(){return l},b3:function(){return u},fz:function(){return y},g4:function(){return s},hB:function(){return a},l6:function(){return g},uy:function(){return m},xj:function(){return _}});var d=t(30052),v=t(54263);function i(w){return(0,d.Z)(function(k){k.setUTCDate(k.getUTCDate()-(k.getUTCDay()+7-w)%7),k.setUTCHours(0,0,0,0)},function(k,E){k.setUTCDate(k.getUTCDate()+7*E)},function(k,E){return(E-k)/v.iM})}var M=i(0),g=i(1),p=i(2),u=i(3),a=i(4),c=i(5),s=i(6),l=M.range,h=g.range,f=p.range,m=u.range,_=a.range,y=c.range,C=s.range},79791:function(x,o,t){t.d(o,{D:function(){return i}});var d=t(30052),v=(0,d.Z)(function(M){M.setUTCMonth(0,1),M.setUTCHours(0,0,0,0)},function(M,g){M.setUTCFullYear(M.getUTCFullYear()+g)},function(M,g){return g.getUTCFullYear()-M.getUTCFullYear()},function(M){return M.getUTCFullYear()});v.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(g){g.setUTCFullYear(Math.floor(g.getUTCFullYear()/M)*M),g.setUTCMonth(0,1),g.setUTCHours(0,0,0,0)},function(g,p){g.setUTCFullYear(g.getUTCFullYear()+p*M)}):null},o.Z=v;var i=v.range},59879:function(x,o,t){t.d(o,{$t:function(){return _},EY:function(){return s},Ff:function(){return C},Ld:function(){return m},OM:function(){return M},aU:function(){return f},b$:function(){return y},bJ:function(){return h},bL:function(){return a},mC:function(){return c},sy:function(){return p},vm:function(){return l},wA:function(){return g},zg:function(){return u}});var d=t(30052),v=t(54263);function i(w){return(0,d.Z)(function(k){k.setDate(k.getDate()-(k.getDay()+7-w)%7),k.setHours(0,0,0,0)},function(k,E){k.setDate(k.getDate()+7*E)},function(k,E){return(E-k-(E.getTimezoneOffset()-k.getTimezoneOffset())*v.yB)/v.iM})}var M=i(0),g=i(1),p=i(2),u=i(3),a=i(4),c=i(5),s=i(6),l=M.range,h=g.range,f=p.range,m=u.range,_=a.range,y=c.range,C=s.range},34823:function(x,o,t){t.d(o,{g:function(){return i}});var d=t(30052),v=(0,d.Z)(function(M){M.setMonth(0,1),M.setHours(0,0,0,0)},function(M,g){M.setFullYear(M.getFullYear()+g)},function(M,g){return g.getFullYear()-M.getFullYear()},function(M){return M.getFullYear()});v.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(g){g.setFullYear(Math.floor(g.getFullYear()/M)*M),g.setMonth(0,1),g.setHours(0,0,0,0)},function(g,p){g.setFullYear(g.getFullYear()+p*M)}):null},o.Z=v;var i=v.range},17045:function(x,o,t){var d=t(8709),v=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,M=Array.prototype.concat,g=Object.defineProperty,p=t(55622)(),u=g&&p,a=function(s,l,h,f){if(l in s){if(f===!0){if(s[l]===h)return}else if(typeof(m=f)!="function"||i.call(m)!=="[object Function]"||!f())return}var m;u?g(s,l,{configurable:!0,enumerable:!1,value:h,writable:!0}):s[l]=h},c=function(s,l){var h=arguments.length>2?arguments[2]:{},f=d(l);v&&(f=M.call(f,Object.getOwnPropertySymbols(l)));for(var m=0;mu*a){var f=(h-l)/u;p[s]=1e3*f}}return p}function v(i){for(var M=[],g=i[0];g<=i[1];g++)for(var p=String.fromCharCode(g),u=i[0];u0)return function(v,i){var M,g;for(M=new Array(v),g=0;g80*R){z=B=O[0],F=N=O[1];for(var ne=R;neB&&(B=q),j>N&&(N=j);Y=(Y=Math.max(B-z,N-F))!==0?1/Y:0}return v(W,H,R,z,F,Y),H}function t(O,I,R,z,F){var B,N;if(F===b(O,I,R,z)>0)for(B=I;B=I;B-=z)N=T(B,O[B],O[B+1],N);return N&&_(N,N.next)&&(A(N),N=N.next),N}function d(O,I){if(!O)return O;I||(I=O);var R,z=O;do if(R=!1,z.steiner||!_(z,z.next)&&m(z.prev,z,z.next)!==0)z=z.next;else{if(A(z),(z=I=z.prev)===z.next)break;R=!0}while(R||z!==I);return I}function v(O,I,R,z,F,B,N){if(O){!N&&B&&function(U,G,W,H){var ne=U;do ne.z===null&&(ne.z=s(ne.x,ne.y,G,W,H)),ne.prevZ=ne.prev,ne.nextZ=ne.next,ne=ne.next;while(ne!==U);ne.prevZ.nextZ=null,ne.prevZ=null,function(te){var Z,X,Q,re,ie,oe,ue,ce,ye=1;do{for(X=te,te=null,ie=null,oe=0;X;){for(oe++,Q=X,ue=0,Z=0;Z0||ce>0&&Q;)ue!==0&&(ce===0||!Q||X.z<=Q.z)?(re=X,X=X.nextZ,ue--):(re=Q,Q=Q.nextZ,ce--),ie?ie.nextZ=re:te=re,re.prevZ=ie,ie=re;X=Q}ie.nextZ=null,ye*=2}while(oe>1)}(ne)}(O,z,F,B);for(var q,j,Y=O;O.prev!==O.next;)if(q=O.prev,j=O.next,B?M(O,z,F,B):i(O))I.push(q.i/R),I.push(O.i/R),I.push(j.i/R),A(O),O=j.next,Y=j.next;else if((O=j)===Y){N?N===1?v(O=g(d(O),I,R),I,R,z,F,B,2):N===2&&p(O,I,R,z,F,B):v(d(O),I,R,z,F,B,1);break}}}function i(O){var I=O.prev,R=O,z=O.next;if(m(I,R,z)>=0)return!1;for(var F=O.next.next;F!==O.prev;){if(h(I.x,I.y,R.x,R.y,z.x,z.y,F.x,F.y)&&m(F.prev,F,F.next)>=0)return!1;F=F.next}return!0}function M(O,I,R,z){var F=O.prev,B=O,N=O.next;if(m(F,B,N)>=0)return!1;for(var q=F.xB.x?F.x>N.x?F.x:N.x:B.x>N.x?B.x:N.x,U=F.y>B.y?F.y>N.y?F.y:N.y:B.y>N.y?B.y:N.y,G=s(q,j,I,R,z),W=s(Y,U,I,R,z),H=O.prevZ,ne=O.nextZ;H&&H.z>=G&&ne&&ne.z<=W;){if(H!==O.prev&&H!==O.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0||(H=H.prevZ,ne!==O.prev&&ne!==O.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0))return!1;ne=ne.nextZ}for(;H&&H.z>=G;){if(H!==O.prev&&H!==O.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0)return!1;H=H.prevZ}for(;ne&&ne.z<=W;){if(ne!==O.prev&&ne!==O.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0)return!1;ne=ne.nextZ}return!0}function g(O,I,R){var z=O;do{var F=z.prev,B=z.next.next;!_(F,B)&&y(F,z,z.next,B)&&k(F,B)&&k(B,F)&&(I.push(F.i/R),I.push(z.i/R),I.push(B.i/R),A(z),A(z.next),z=O=B),z=z.next}while(z!==O);return d(z)}function p(O,I,R,z,F,B){var N=O;do{for(var q=N.next.next;q!==N.prev;){if(N.i!==q.i&&f(N,q)){var j=E(N,q);return N=d(N,N.next),j=d(j,j.next),v(N,I,R,z,F,B),void v(j,I,R,z,F,B)}q=q.next}N=N.next}while(N!==O)}function u(O,I){return O.x-I.x}function a(O,I){if(I=function(z,F){var B,N=F,q=z.x,j=z.y,Y=-1/0;do{if(j<=N.y&&j>=N.next.y&&N.next.y!==N.y){var U=N.x+(j-N.y)*(N.next.x-N.x)/(N.next.y-N.y);if(U<=q&&U>Y){if(Y=U,U===q){if(j===N.y)return N;if(j===N.next.y)return N.next}B=N.x=N.x&&N.x>=H&&q!==N.x&&h(jB.x||N.x===B.x&&c(B,N)))&&(B=N,te=G)),N=N.next;while(N!==W);return B}(O,I),I){var R=E(I,O);d(I,I.next),d(R,R.next)}}function c(O,I){return m(O.prev,O,I.prev)<0&&m(I.next,O,O.next)<0}function s(O,I,R,z,F){return(O=1431655765&((O=858993459&((O=252645135&((O=16711935&((O=32767*(O-R)*F)|O<<8))|O<<4))|O<<2))|O<<1))|(I=1431655765&((I=858993459&((I=252645135&((I=16711935&((I=32767*(I-z)*F)|I<<8))|I<<4))|I<<2))|I<<1))<<1}function l(O){var I=O,R=O;do(I.x=0&&(O-N)*(z-q)-(R-N)*(I-q)>=0&&(R-N)*(B-q)-(F-N)*(z-q)>=0}function f(O,I){return O.next.i!==I.i&&O.prev.i!==I.i&&!function(R,z){var F=R;do{if(F.i!==R.i&&F.next.i!==R.i&&F.i!==z.i&&F.next.i!==z.i&&y(F,F.next,R,z))return!0;F=F.next}while(F!==R);return!1}(O,I)&&(k(O,I)&&k(I,O)&&function(R,z){var F=R,B=!1,N=(R.x+z.x)/2,q=(R.y+z.y)/2;do F.y>q!=F.next.y>q&&F.next.y!==F.y&&N<(F.next.x-F.x)*(q-F.y)/(F.next.y-F.y)+F.x&&(B=!B),F=F.next;while(F!==R);return B}(O,I)&&(m(O.prev,O,I.prev)||m(O,I.prev,I))||_(O,I)&&m(O.prev,O,O.next)>0&&m(I.prev,I,I.next)>0)}function m(O,I,R){return(I.y-O.y)*(R.x-I.x)-(I.x-O.x)*(R.y-I.y)}function _(O,I){return O.x===I.x&&O.y===I.y}function y(O,I,R,z){var F=w(m(O,I,R)),B=w(m(O,I,z)),N=w(m(R,z,O)),q=w(m(R,z,I));return F!==B&&N!==q||!(F!==0||!C(O,R,I))||!(B!==0||!C(O,z,I))||!(N!==0||!C(R,O,z))||!(q!==0||!C(R,I,z))}function C(O,I,R){return I.x<=Math.max(O.x,R.x)&&I.x>=Math.min(O.x,R.x)&&I.y<=Math.max(O.y,R.y)&&I.y>=Math.min(O.y,R.y)}function w(O){return O>0?1:O<0?-1:0}function k(O,I){return m(O.prev,O,O.next)<0?m(O,I,O.next)>=0&&m(O,O.prev,I)>=0:m(O,I,O.prev)<0||m(O,O.next,I)<0}function E(O,I){var R=new L(O.i,O.x,O.y),z=new L(I.i,I.x,I.y),F=O.next,B=I.prev;return O.next=I,I.prev=O,R.next=F,F.prev=R,z.next=R,R.prev=z,B.next=z,z.prev=B,z}function T(O,I,R,z){var F=new L(O,I,R);return z?(F.next=z.next,F.prev=z,z.next.prev=F,z.next=F):(F.prev=F,F.next=F),F}function A(O){O.next.prev=O.prev,O.prev.next=O.next,O.prevZ&&(O.prevZ.nextZ=O.nextZ),O.nextZ&&(O.nextZ.prevZ=O.prevZ)}function L(O,I,R){this.i=O,this.x=I,this.y=R,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function b(O,I,R,z){for(var F=0,B=I,N=R-z;B0&&(z+=O[F-1].length,R.holes.push(z))}return R}},2502:function(x,o,t){var d=t(68664);x.exports=function(v,i){var M,g=[],p=[],u=[],a={},c=[];function s(k){u[k]=!1,a.hasOwnProperty(k)&&Object.keys(a[k]).forEach(function(E){delete a[k][E],u[E]&&s(E)})}function l(k){var E,T,A=!1;for(p.push(k),u[k]=!0,E=0;E=R})})(k);for(var E,T=d(v).components.filter(function(R){return R.length>1}),A=1/0,L=0;L=55296&&k<=56319&&(L+=f[++_]),L=b?s.call(b,O,L,y):L,m?(l.value=L,h(C,y,l)):C[y]=L,++y;w=y}}if(w===void 0)for(w=M(f.length),m&&(C=new m(w)),_=0;_0?1:-1}},56247:function(x,o,t){var d=t(9953),v=Math.abs,i=Math.floor;x.exports=function(M){return isNaN(M)?0:(M=Number(M))!==0&&isFinite(M)?d(M)*i(v(M)):M}},35976:function(x,o,t){var d=t(56247),v=Math.max;x.exports=function(i){return v(0,d(i))}},67260:function(x,o,t){var d=t(78513),v=t(36672),i=Function.prototype.bind,M=Function.prototype.call,g=Object.keys,p=Object.prototype.propertyIsEnumerable;x.exports=function(u,a){return function(c,s){var l,h=arguments[2],f=arguments[3];return c=Object(v(c)),d(s),l=g(c),f&&l.sort(typeof f=="function"?i.call(f,c):void 0),typeof u!="function"&&(u=l[u]),M.call(u,l,function(m,_){return p.call(c,m)?M.call(s,h,c[m],m,c,_):a})}}},95879:function(x,o,t){x.exports=t(73583)()?Object.assign:t(34205)},73583:function(x){x.exports=function(){var o,t=Object.assign;return typeof t=="function"&&(t(o={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),o.foo+o.bar+o.trzy==="razdwatrzy")}},34205:function(x,o,t){var d=t(68700),v=t(36672),i=Math.max;x.exports=function(M,g){var p,u,a,c=i(arguments.length,2);for(M=Object(v(M)),a=function(s){try{M[s]=g[s]}catch(l){p||(p=l)}},u=1;u-1}},87963:function(x){var o=Object.prototype.toString,t=o.call("");x.exports=function(d){return typeof d=="string"||d&&typeof d=="object"&&(d instanceof String||o.call(d)===t)||!1}},43043:function(x){var o=Object.create(null),t=Math.random;x.exports=function(){var d;do d=t().toString(36).slice(2);while(o[d]);return d}},32411:function(x,o,t){var d,v=t(1496),i=t(66741),M=t(62072),g=t(8260),p=t(95426),u=Object.defineProperty;d=x.exports=function(a,c){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");p.call(this,a),c=c?i.call(c,"key+value")?"key+value":i.call(c,"key")?"key":"value":"value",u(this,"__kind__",M("",c))},v&&v(d,p),delete d.prototype.constructor,d.prototype=Object.create(p.prototype,{_resolve:M(function(a){return this.__kind__==="value"?this.__list__[a]:this.__kind__==="key+value"?[a,this.__list__[a]]:a})}),u(d.prototype,g.toStringTag,M("c","Array Iterator"))},27515:function(x,o,t){var d=t(73051),v=t(78513),i=t(87963),M=t(66661),g=Array.isArray,p=Function.prototype.call,u=Array.prototype.some;x.exports=function(a,c){var s,l,h,f,m,_,y,C,w=arguments[2];if(g(a)||d(a)?s="array":i(a)?s="string":a=M(a),v(c),h=function(){f=!0},s!=="array")if(s!=="string")for(l=a.next();!l.done;){if(p.call(c,w,l.value,h),f)return;l=a.next()}else for(_=a.length,m=0;m<_&&(y=a[m],m+1<_&&(C=y.charCodeAt(0))>=55296&&C<=56319&&(y+=a[++m]),p.call(c,w,y,h),!f);++m);else u.call(a,function(k){return p.call(c,w,k,h),f})}},66661:function(x,o,t){var d=t(73051),v=t(87963),i=t(32411),M=t(259),g=t(58095),p=t(8260).iterator;x.exports=function(u){return typeof g(u)[p]=="function"?u[p]():d(u)?new i(u):v(u)?new M(u):new i(u)}},95426:function(x,o,t){var d,v=t(16134),i=t(95879),M=t(78513),g=t(36672),p=t(62072),u=t(55174),a=t(8260),c=Object.defineProperty,s=Object.defineProperties;x.exports=d=function(l,h){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");s(this,{__list__:p("w",g(l)),__context__:p("w",h),__nextIndex__:p("w",0)}),h&&(M(h.on),h.on("_add",this._onAdd),h.on("_delete",this._onDelete),h.on("_clear",this._onClear))},delete d.prototype.constructor,s(d.prototype,i({_next:p(function(){var l;if(this.__list__)return this.__redo__&&(l=this.__redo__.shift())!==void 0?l:this.__nextIndex__=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(h,f){h>=l&&(this.__redo__[f]=++h)},this),this.__redo__.push(l)):c(this,"__redo__",p("c",[l])))}),_onDelete:p(function(l){var h;l>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&((h=this.__redo__.indexOf(l))!==-1&&this.__redo__.splice(h,1),this.__redo__.forEach(function(f,m){f>l&&(this.__redo__[m]=--f)},this)))}),_onClear:p(function(){this.__redo__&&v.call(this.__redo__),this.__nextIndex__=0})}))),c(d.prototype,a.iterator,p(function(){return this}))},35940:function(x,o,t){var d=t(73051),v=t(95296),i=t(87963),M=t(8260).iterator,g=Array.isArray;x.exports=function(p){return!(!v(p)||!g(p)&&!i(p)&&!d(p)&&typeof p[M]!="function")}},259:function(x,o,t){var d,v=t(1496),i=t(62072),M=t(8260),g=t(95426),p=Object.defineProperty;d=x.exports=function(u){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");u=String(u),g.call(this,u),p(this,"__length__",i("",u.length))},v&&v(d,g),delete d.prototype.constructor,d.prototype=Object.create(g.prototype,{_next:i(function(){if(this.__list__)return this.__nextIndex__=55296&&a<=56319?c+this.__list__[this.__nextIndex__++]:c})}),p(d.prototype,M.toStringTag,i("c","String Iterator"))},58095:function(x,o,t){var d=t(35940);x.exports=function(v){if(!d(v))throw new TypeError(v+" is not iterable");return v}},73523:function(x){function o(t,d){if(t==null)throw new TypeError("Cannot convert first argument to object");for(var v=Object(t),i=1;i0&&E.length>w&&!E.warned){E.warned=!0;var A=new Error("Possible EventEmitter memory leak detected. "+E.length+" "+String(_)+" listeners added. Use emitter.setMaxListeners() to increase limit");A.name="MaxListenersExceededWarning",A.emitter=m,A.type=_,A.count=E.length,T=A,console&&console.warn&&console.warn(T)}return m}function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function c(m,_,y){var C={fired:!1,wrapFn:void 0,target:m,type:_,listener:y},w=a.bind(C);return w.listener=y,C.wrapFn=w,w}function s(m,_,y){var C=m._events;if(C===void 0)return[];var w=C[_];return w===void 0?[]:typeof w=="function"?y?[w.listener||w]:[w]:y?function(k){for(var E=new Array(k.length),T=0;T0&&(k=_[0]),k instanceof Error)throw k;var E=new Error("Unhandled error."+(k?" ("+k.message+")":""));throw E.context=k,E}var T=w[m];if(T===void 0)return!1;if(typeof T=="function")d(T,this,_);else{var A=T.length,L=h(T,A);for(y=0;y=0;k--)if(y[k]===_||y[k].listener===_){E=y[k].listener,w=k;break}if(w<0)return this;w===0?y.shift():function(T,A){for(;A+1=0;C--)this.removeListener(m,_[C]);return this},i.prototype.listeners=function(m){return s(this,m,!0)},i.prototype.rawListeners=function(m){return s(this,m,!1)},i.listenerCount=function(m,_){return typeof m.listenerCount=="function"?m.listenerCount(_):l.call(m,_)},i.prototype.listenerCount=l,i.prototype.eventNames=function(){return this._eventsCount>0?o(this._events):[]}},60774:function(x){var o=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};x.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return o()}try{return __global__||o()}finally{delete Object.prototype.__global__}}()},94908:function(x,o,t){x.exports=t(51152)()?globalThis:t(60774)},51152:function(x){x.exports=function(){return typeof globalThis=="object"&&!!globalThis&&globalThis.Array===Array}},92770:function(x,o,t){var d=t(18546);x.exports=function(v){var i=typeof v;if(i==="string"){var M=v;if((v=+v)==0&&d(M))return!1}else if(i!=="number")return!1;return v-v<1}},30120:function(x,o,t){var d=t(90660);x.exports=function(v,i,M){if(!v)throw new TypeError("must specify data as first parameter");if(M=0|+(M||0),Array.isArray(v)&&v[0]&&typeof v[0][0]=="number"){var g,p,u,a,c=v[0].length,s=v.length*c;i&&typeof i!="string"||(i=new(d(i||"float32"))(s+M));var l=i.length-M;if(s!==l)throw new Error("source length "+s+" ("+c+"x"+v.length+") does not match destination length "+l);for(g=0,u=M;gM[0]-u[0]/2&&(f=u[0]/2,m+=u[1]);return g}},32879:function(x){function o(i,M){M||(M={}),(typeof i=="string"||Array.isArray(i))&&(M.family=i);var g=Array.isArray(M.family)?M.family.join(", "):M.family;if(!g)throw Error("`family` must be defined");var p=M.size||M.fontSize||M.em||48,u=M.weight||M.fontWeight||"",a=(i=[M.style||M.fontStyle||"",u,p].join(" ")+"px "+g,M.origin||"top");if(o.cache[g]&&p<=o.cache[g].em)return t(o.cache[g],a);var c=M.canvas||o.canvas,s=c.getContext("2d"),l={upper:M.upper!==void 0?M.upper:"H",lower:M.lower!==void 0?M.lower:"x",descent:M.descent!==void 0?M.descent:"p",ascent:M.ascent!==void 0?M.ascent:"h",tittle:M.tittle!==void 0?M.tittle:"i",overshoot:M.overshoot!==void 0?M.overshoot:"O"},h=Math.ceil(1.5*p);c.height=h,c.width=.5*h,s.font=i;var f="H",m={top:0};s.clearRect(0,0,h,h),s.textBaseline="top",s.fillStyle="black",s.fillText(f,0,0);var _=d(s.getImageData(0,0,h,h));s.clearRect(0,0,h,h),s.textBaseline="bottom",s.fillText(f,0,h);var y=d(s.getImageData(0,0,h,h));m.lineHeight=m.bottom=h-y+_,s.clearRect(0,0,h,h),s.textBaseline="alphabetic",s.fillText(f,0,h);var C=h-d(s.getImageData(0,0,h,h))-1+_;m.baseline=m.alphabetic=C,s.clearRect(0,0,h,h),s.textBaseline="middle",s.fillText(f,0,.5*h);var w=d(s.getImageData(0,0,h,h));m.median=m.middle=h-w-1+_-.5*h,s.clearRect(0,0,h,h),s.textBaseline="hanging",s.fillText(f,0,.5*h);var k=d(s.getImageData(0,0,h,h));m.hanging=h-k-1+_-.5*h,s.clearRect(0,0,h,h),s.textBaseline="ideographic",s.fillText(f,0,h);var E=d(s.getImageData(0,0,h,h));if(m.ideographic=h-E-1+_,l.upper&&(s.clearRect(0,0,h,h),s.textBaseline="top",s.fillText(l.upper,0,0),m.upper=d(s.getImageData(0,0,h,h)),m.capHeight=m.baseline-m.upper),l.lower&&(s.clearRect(0,0,h,h),s.textBaseline="top",s.fillText(l.lower,0,0),m.lower=d(s.getImageData(0,0,h,h)),m.xHeight=m.baseline-m.lower),l.tittle&&(s.clearRect(0,0,h,h),s.textBaseline="top",s.fillText(l.tittle,0,0),m.tittle=d(s.getImageData(0,0,h,h))),l.ascent&&(s.clearRect(0,0,h,h),s.textBaseline="top",s.fillText(l.ascent,0,0),m.ascent=d(s.getImageData(0,0,h,h))),l.descent&&(s.clearRect(0,0,h,h),s.textBaseline="top",s.fillText(l.descent,0,0),m.descent=v(s.getImageData(0,0,h,h))),l.overshoot){s.clearRect(0,0,h,h),s.textBaseline="top",s.fillText(l.overshoot,0,0);var T=v(s.getImageData(0,0,h,h));m.overshoot=T-C}for(var A in m)m[A]/=p;return m.em=p,o.cache[g]=m,t(m,a)}function t(i,M){var g={};for(var p in typeof M=="string"&&(M=i[M]),i)p!=="em"&&(g[p]=i[p]-M);return g}function d(i){for(var M=i.height,g=i.data,p=3;p0;p-=4)if(g[p]!==0)return Math.floor(.25*(p-3)/M)}x.exports=o,o.canvas=document.createElement("canvas"),o.cache={}},31353:function(x,o,t){var d=t(85395),v=Object.prototype.toString,i=Object.prototype.hasOwnProperty,M=function(u,a,c){for(var s=0,l=u.length;s=3&&(s=c),v.call(u)==="[object Array]"?M(u,a,s):typeof u=="string"?g(u,a,s):p(u,a,s)}},73047:function(x){var o="Function.prototype.bind called on incompatible ",t=Array.prototype.slice,d=Object.prototype.toString,v="[object Function]";x.exports=function(i){var M=this;if(typeof M!="function"||d.call(M)!==v)throw new TypeError(o+M);for(var g,p=t.call(arguments,1),u=function(){if(this instanceof g){var h=M.apply(this,p.concat(t.call(arguments)));return Object(h)===h?h:this}return M.apply(i,p.concat(t.call(arguments)))},a=Math.max(0,M.length-p.length),c=[],s=0;s"u"&&!t.canvas)return null;var d=t.canvas||document.createElement("canvas");typeof t.width=="number"&&(d.width=t.width),typeof t.height=="number"&&(d.height=t.height);var v,i=t;try{var M=[o];o.indexOf("webgl")===0&&M.push("experimental-"+o);for(var g=0;g"u"?d:s(Uint8Array),f={"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":c?s([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":l,"%AsyncGenerator%":l,"%AsyncGeneratorFunction%":l,"%AsyncIteratorPrototype%":l,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":l,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c?s(s([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map<"u"&&c?s(new Map()[Symbol.iterator]()):d,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set<"u"&&c?s(new Set()[Symbol.iterator]()):d,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c?s(""[Symbol.iterator]()):d,"%Symbol%":c?Symbol:d,"%SyntaxError%":v,"%ThrowTypeError%":a,"%TypedArray%":h,"%TypeError%":M,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet};try{null.error}catch(z){var m=s(s(z));f["%Error.prototype%"]=m}var _=function z(F){var B;if(F==="%AsyncFunction%")B=g("async function () {}");else if(F==="%GeneratorFunction%")B=g("function* () {}");else if(F==="%AsyncGeneratorFunction%")B=g("async function* () {}");else if(F==="%AsyncGenerator%"){var N=z("%AsyncGeneratorFunction%");N&&(B=N.prototype)}else if(F==="%AsyncIteratorPrototype%"){var q=z("%AsyncGenerator%");q&&(B=s(q.prototype))}return f[F]=B,B},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=t(77575),w=t(35065),k=C.call(Function.call,Array.prototype.concat),E=C.call(Function.apply,Array.prototype.splice),T=C.call(Function.call,String.prototype.replace),A=C.call(Function.call,String.prototype.slice),L=C.call(Function.call,RegExp.prototype.exec),b=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,I=function(z){var F=A(z,0,1),B=A(z,-1);if(F==="%"&&B!=="%")throw new v("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&F!=="%")throw new v("invalid intrinsic syntax, expected opening `%`");var N=[];return T(z,b,function(q,j,Y,U){N[N.length]=Y?T(U,O,"$1"):j||q}),N},R=function(z,F){var B,N=z;if(w(y,N)&&(N="%"+(B=y[N])[0]+"%"),w(f,N)){var q=f[N];if(q===l&&(q=_(N)),q===void 0&&!F)throw new M("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:B,name:N,value:q}}throw new v("intrinsic "+z+" does not exist!")};x.exports=function(z,F){if(typeof z!="string"||z.length===0)throw new M("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new M('"allowMissing" argument must be a boolean');if(L(/^%?[^%]*%?$/,z)===null)throw new v("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=I(z),N=B.length>0?B[0]:"",q=R("%"+N+"%",F),j=q.name,Y=q.value,U=!1,G=q.alias;G&&(N=G[0],E(B,k([0,1],G)));for(var W=1,H=!0;W=B.length){var X=p(Y,ne);Y=(H=!!X)&&"get"in X&&!("originalValue"in X.get)?X.get:Y[ne]}else H=w(Y,ne),Y=Y[ne];H&&!U&&(f[j]=Y)}}return Y}},85400:function(x){x.exports=function(o,t){var d=t[0],v=t[1],i=t[2],M=t[3],g=t[4],p=t[5],u=t[6],a=t[7],c=t[8],s=t[9],l=t[10],h=t[11],f=t[12],m=t[13],_=t[14],y=t[15];return o[0]=p*(l*y-h*_)-s*(u*y-a*_)+m*(u*h-a*l),o[1]=-(v*(l*y-h*_)-s*(i*y-M*_)+m*(i*h-M*l)),o[2]=v*(u*y-a*_)-p*(i*y-M*_)+m*(i*a-M*u),o[3]=-(v*(u*h-a*l)-p*(i*h-M*l)+s*(i*a-M*u)),o[4]=-(g*(l*y-h*_)-c*(u*y-a*_)+f*(u*h-a*l)),o[5]=d*(l*y-h*_)-c*(i*y-M*_)+f*(i*h-M*l),o[6]=-(d*(u*y-a*_)-g*(i*y-M*_)+f*(i*a-M*u)),o[7]=d*(u*h-a*l)-g*(i*h-M*l)+c*(i*a-M*u),o[8]=g*(s*y-h*m)-c*(p*y-a*m)+f*(p*h-a*s),o[9]=-(d*(s*y-h*m)-c*(v*y-M*m)+f*(v*h-M*s)),o[10]=d*(p*y-a*m)-g*(v*y-M*m)+f*(v*a-M*p),o[11]=-(d*(p*h-a*s)-g*(v*h-M*s)+c*(v*a-M*p)),o[12]=-(g*(s*_-l*m)-c*(p*_-u*m)+f*(p*l-u*s)),o[13]=d*(s*_-l*m)-c*(v*_-i*m)+f*(v*l-i*s),o[14]=-(d*(p*_-u*m)-g*(v*_-i*m)+f*(v*u-i*p)),o[15]=d*(p*l-u*s)-g*(v*l-i*s)+c*(v*u-i*p),o}},42331:function(x){x.exports=function(o){var t=new Float32Array(16);return t[0]=o[0],t[1]=o[1],t[2]=o[2],t[3]=o[3],t[4]=o[4],t[5]=o[5],t[6]=o[6],t[7]=o[7],t[8]=o[8],t[9]=o[9],t[10]=o[10],t[11]=o[11],t[12]=o[12],t[13]=o[13],t[14]=o[14],t[15]=o[15],t}},31042:function(x){x.exports=function(o,t){return o[0]=t[0],o[1]=t[1],o[2]=t[2],o[3]=t[3],o[4]=t[4],o[5]=t[5],o[6]=t[6],o[7]=t[7],o[8]=t[8],o[9]=t[9],o[10]=t[10],o[11]=t[11],o[12]=t[12],o[13]=t[13],o[14]=t[14],o[15]=t[15],o}},11902:function(x){x.exports=function(){var o=new Float32Array(16);return o[0]=1,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=1,o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=1,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o}},89887:function(x){x.exports=function(o){var t=o[0],d=o[1],v=o[2],i=o[3],M=o[4],g=o[5],p=o[6],u=o[7],a=o[8],c=o[9],s=o[10],l=o[11],h=o[12],f=o[13],m=o[14],_=o[15];return(t*g-d*M)*(s*_-l*m)-(t*p-v*M)*(c*_-l*f)+(t*u-i*M)*(c*m-s*f)+(d*p-v*g)*(a*_-l*h)-(d*u-i*g)*(a*m-s*h)+(v*u-i*p)*(a*f-c*h)}},27812:function(x){x.exports=function(o,t){var d=t[0],v=t[1],i=t[2],M=t[3],g=d+d,p=v+v,u=i+i,a=d*g,c=v*g,s=v*p,l=i*g,h=i*p,f=i*u,m=M*g,_=M*p,y=M*u;return o[0]=1-s-f,o[1]=c+y,o[2]=l-_,o[3]=0,o[4]=c-y,o[5]=1-a-f,o[6]=h+m,o[7]=0,o[8]=l+_,o[9]=h-m,o[10]=1-a-s,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o}},34045:function(x){x.exports=function(o,t,d){var v,i,M,g=d[0],p=d[1],u=d[2],a=Math.sqrt(g*g+p*p+u*u);return Math.abs(a)<1e-6?null:(g*=a=1/a,p*=a,u*=a,v=Math.sin(t),M=1-(i=Math.cos(t)),o[0]=g*g*M+i,o[1]=p*g*M+u*v,o[2]=u*g*M-p*v,o[3]=0,o[4]=g*p*M-u*v,o[5]=p*p*M+i,o[6]=u*p*M+g*v,o[7]=0,o[8]=g*u*M+p*v,o[9]=p*u*M-g*v,o[10]=u*u*M+i,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o)}},45973:function(x){x.exports=function(o,t,d){var v=t[0],i=t[1],M=t[2],g=t[3],p=v+v,u=i+i,a=M+M,c=v*p,s=v*u,l=v*a,h=i*u,f=i*a,m=M*a,_=g*p,y=g*u,C=g*a;return o[0]=1-(h+m),o[1]=s+C,o[2]=l-y,o[3]=0,o[4]=s-C,o[5]=1-(c+m),o[6]=f+_,o[7]=0,o[8]=l+y,o[9]=f-_,o[10]=1-(c+h),o[11]=0,o[12]=d[0],o[13]=d[1],o[14]=d[2],o[15]=1,o}},81472:function(x){x.exports=function(o,t){return o[0]=t[0],o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=t[1],o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=t[2],o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o}},14669:function(x){x.exports=function(o,t){return o[0]=1,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=1,o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=1,o[11]=0,o[12]=t[0],o[13]=t[1],o[14]=t[2],o[15]=1,o}},75262:function(x){x.exports=function(o,t){var d=Math.sin(t),v=Math.cos(t);return o[0]=1,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=v,o[6]=d,o[7]=0,o[8]=0,o[9]=-d,o[10]=v,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o}},331:function(x){x.exports=function(o,t){var d=Math.sin(t),v=Math.cos(t);return o[0]=v,o[1]=0,o[2]=-d,o[3]=0,o[4]=0,o[5]=1,o[6]=0,o[7]=0,o[8]=d,o[9]=0,o[10]=v,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o}},11049:function(x){x.exports=function(o,t){var d=Math.sin(t),v=Math.cos(t);return o[0]=v,o[1]=d,o[2]=0,o[3]=0,o[4]=-d,o[5]=v,o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=1,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o}},75195:function(x){x.exports=function(o,t,d,v,i,M,g){var p=1/(d-t),u=1/(i-v),a=1/(M-g);return o[0]=2*M*p,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=2*M*u,o[6]=0,o[7]=0,o[8]=(d+t)*p,o[9]=(i+v)*u,o[10]=(g+M)*a,o[11]=-1,o[12]=0,o[13]=0,o[14]=g*M*2*a,o[15]=0,o}},71551:function(x){x.exports=function(o){return o[0]=1,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=1,o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=1,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,o}},79576:function(x,o,t){x.exports={create:t(11902),clone:t(42331),copy:t(31042),identity:t(71551),transpose:t(88654),invert:t(95874),adjoint:t(85400),determinant:t(89887),multiply:t(91362),translate:t(31283),scale:t(10789),rotate:t(65074),rotateX:t(35545),rotateY:t(94918),rotateZ:t(15692),fromRotation:t(34045),fromRotationTranslation:t(45973),fromScaling:t(81472),fromTranslation:t(14669),fromXRotation:t(75262),fromYRotation:t(331),fromZRotation:t(11049),fromQuat:t(27812),frustum:t(75195),perspective:t(7864),perspectiveFromFieldOfView:t(35279),ortho:t(60378),lookAt:t(65551),str:t(6726)}},95874:function(x){x.exports=function(o,t){var d=t[0],v=t[1],i=t[2],M=t[3],g=t[4],p=t[5],u=t[6],a=t[7],c=t[8],s=t[9],l=t[10],h=t[11],f=t[12],m=t[13],_=t[14],y=t[15],C=d*p-v*g,w=d*u-i*g,k=d*a-M*g,E=v*u-i*p,T=v*a-M*p,A=i*a-M*u,L=c*m-s*f,b=c*_-l*f,O=c*y-h*f,I=s*_-l*m,R=s*y-h*m,z=l*y-h*_,F=C*z-w*R+k*I+E*O-T*b+A*L;return F?(F=1/F,o[0]=(p*z-u*R+a*I)*F,o[1]=(i*R-v*z-M*I)*F,o[2]=(m*A-_*T+y*E)*F,o[3]=(l*T-s*A-h*E)*F,o[4]=(u*O-g*z-a*b)*F,o[5]=(d*z-i*O+M*b)*F,o[6]=(_*k-f*A-y*w)*F,o[7]=(c*A-l*k+h*w)*F,o[8]=(g*R-p*O+a*L)*F,o[9]=(v*O-d*R-M*L)*F,o[10]=(f*T-m*k+y*C)*F,o[11]=(s*k-c*T-h*C)*F,o[12]=(p*b-g*I-u*L)*F,o[13]=(d*I-v*b+i*L)*F,o[14]=(m*w-f*E-_*C)*F,o[15]=(c*E-s*w+l*C)*F,o):null}},65551:function(x,o,t){var d=t(71551);x.exports=function(v,i,M,g){var p,u,a,c,s,l,h,f,m,_,y=i[0],C=i[1],w=i[2],k=g[0],E=g[1],T=g[2],A=M[0],L=M[1],b=M[2];return Math.abs(y-A)<1e-6&&Math.abs(C-L)<1e-6&&Math.abs(w-b)<1e-6?d(v):(h=y-A,f=C-L,m=w-b,p=E*(m*=_=1/Math.sqrt(h*h+f*f+m*m))-T*(f*=_),u=T*(h*=_)-k*m,a=k*f-E*h,(_=Math.sqrt(p*p+u*u+a*a))?(p*=_=1/_,u*=_,a*=_):(p=0,u=0,a=0),c=f*a-m*u,s=m*p-h*a,l=h*u-f*p,(_=Math.sqrt(c*c+s*s+l*l))?(c*=_=1/_,s*=_,l*=_):(c=0,s=0,l=0),v[0]=p,v[1]=c,v[2]=h,v[3]=0,v[4]=u,v[5]=s,v[6]=f,v[7]=0,v[8]=a,v[9]=l,v[10]=m,v[11]=0,v[12]=-(p*y+u*C+a*w),v[13]=-(c*y+s*C+l*w),v[14]=-(h*y+f*C+m*w),v[15]=1,v)}},91362:function(x){x.exports=function(o,t,d){var v=t[0],i=t[1],M=t[2],g=t[3],p=t[4],u=t[5],a=t[6],c=t[7],s=t[8],l=t[9],h=t[10],f=t[11],m=t[12],_=t[13],y=t[14],C=t[15],w=d[0],k=d[1],E=d[2],T=d[3];return o[0]=w*v+k*p+E*s+T*m,o[1]=w*i+k*u+E*l+T*_,o[2]=w*M+k*a+E*h+T*y,o[3]=w*g+k*c+E*f+T*C,w=d[4],k=d[5],E=d[6],T=d[7],o[4]=w*v+k*p+E*s+T*m,o[5]=w*i+k*u+E*l+T*_,o[6]=w*M+k*a+E*h+T*y,o[7]=w*g+k*c+E*f+T*C,w=d[8],k=d[9],E=d[10],T=d[11],o[8]=w*v+k*p+E*s+T*m,o[9]=w*i+k*u+E*l+T*_,o[10]=w*M+k*a+E*h+T*y,o[11]=w*g+k*c+E*f+T*C,w=d[12],k=d[13],E=d[14],T=d[15],o[12]=w*v+k*p+E*s+T*m,o[13]=w*i+k*u+E*l+T*_,o[14]=w*M+k*a+E*h+T*y,o[15]=w*g+k*c+E*f+T*C,o}},60378:function(x){x.exports=function(o,t,d,v,i,M,g){var p=1/(t-d),u=1/(v-i),a=1/(M-g);return o[0]=-2*p,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=-2*u,o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=2*a,o[11]=0,o[12]=(t+d)*p,o[13]=(i+v)*u,o[14]=(g+M)*a,o[15]=1,o}},7864:function(x){x.exports=function(o,t,d,v,i){var M=1/Math.tan(t/2),g=1/(v-i);return o[0]=M/d,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=M,o[6]=0,o[7]=0,o[8]=0,o[9]=0,o[10]=(i+v)*g,o[11]=-1,o[12]=0,o[13]=0,o[14]=2*i*v*g,o[15]=0,o}},35279:function(x){x.exports=function(o,t,d,v){var i=Math.tan(t.upDegrees*Math.PI/180),M=Math.tan(t.downDegrees*Math.PI/180),g=Math.tan(t.leftDegrees*Math.PI/180),p=Math.tan(t.rightDegrees*Math.PI/180),u=2/(g+p),a=2/(i+M);return o[0]=u,o[1]=0,o[2]=0,o[3]=0,o[4]=0,o[5]=a,o[6]=0,o[7]=0,o[8]=-(g-p)*u*.5,o[9]=(i-M)*a*.5,o[10]=v/(d-v),o[11]=-1,o[12]=0,o[13]=0,o[14]=v*d/(d-v),o[15]=0,o}},65074:function(x){x.exports=function(o,t,d,v){var i,M,g,p,u,a,c,s,l,h,f,m,_,y,C,w,k,E,T,A,L,b,O,I,R=v[0],z=v[1],F=v[2],B=Math.sqrt(R*R+z*z+F*F);return Math.abs(B)<1e-6?null:(R*=B=1/B,z*=B,F*=B,i=Math.sin(d),g=1-(M=Math.cos(d)),p=t[0],u=t[1],a=t[2],c=t[3],s=t[4],l=t[5],h=t[6],f=t[7],m=t[8],_=t[9],y=t[10],C=t[11],w=R*R*g+M,k=z*R*g+F*i,E=F*R*g-z*i,T=R*z*g-F*i,A=z*z*g+M,L=F*z*g+R*i,b=R*F*g+z*i,O=z*F*g-R*i,I=F*F*g+M,o[0]=p*w+s*k+m*E,o[1]=u*w+l*k+_*E,o[2]=a*w+h*k+y*E,o[3]=c*w+f*k+C*E,o[4]=p*T+s*A+m*L,o[5]=u*T+l*A+_*L,o[6]=a*T+h*A+y*L,o[7]=c*T+f*A+C*L,o[8]=p*b+s*O+m*I,o[9]=u*b+l*O+_*I,o[10]=a*b+h*O+y*I,o[11]=c*b+f*O+C*I,t!==o&&(o[12]=t[12],o[13]=t[13],o[14]=t[14],o[15]=t[15]),o)}},35545:function(x){x.exports=function(o,t,d){var v=Math.sin(d),i=Math.cos(d),M=t[4],g=t[5],p=t[6],u=t[7],a=t[8],c=t[9],s=t[10],l=t[11];return t!==o&&(o[0]=t[0],o[1]=t[1],o[2]=t[2],o[3]=t[3],o[12]=t[12],o[13]=t[13],o[14]=t[14],o[15]=t[15]),o[4]=M*i+a*v,o[5]=g*i+c*v,o[6]=p*i+s*v,o[7]=u*i+l*v,o[8]=a*i-M*v,o[9]=c*i-g*v,o[10]=s*i-p*v,o[11]=l*i-u*v,o}},94918:function(x){x.exports=function(o,t,d){var v=Math.sin(d),i=Math.cos(d),M=t[0],g=t[1],p=t[2],u=t[3],a=t[8],c=t[9],s=t[10],l=t[11];return t!==o&&(o[4]=t[4],o[5]=t[5],o[6]=t[6],o[7]=t[7],o[12]=t[12],o[13]=t[13],o[14]=t[14],o[15]=t[15]),o[0]=M*i-a*v,o[1]=g*i-c*v,o[2]=p*i-s*v,o[3]=u*i-l*v,o[8]=M*v+a*i,o[9]=g*v+c*i,o[10]=p*v+s*i,o[11]=u*v+l*i,o}},15692:function(x){x.exports=function(o,t,d){var v=Math.sin(d),i=Math.cos(d),M=t[0],g=t[1],p=t[2],u=t[3],a=t[4],c=t[5],s=t[6],l=t[7];return t!==o&&(o[8]=t[8],o[9]=t[9],o[10]=t[10],o[11]=t[11],o[12]=t[12],o[13]=t[13],o[14]=t[14],o[15]=t[15]),o[0]=M*i+a*v,o[1]=g*i+c*v,o[2]=p*i+s*v,o[3]=u*i+l*v,o[4]=a*i-M*v,o[5]=c*i-g*v,o[6]=s*i-p*v,o[7]=l*i-u*v,o}},10789:function(x){x.exports=function(o,t,d){var v=d[0],i=d[1],M=d[2];return o[0]=t[0]*v,o[1]=t[1]*v,o[2]=t[2]*v,o[3]=t[3]*v,o[4]=t[4]*i,o[5]=t[5]*i,o[6]=t[6]*i,o[7]=t[7]*i,o[8]=t[8]*M,o[9]=t[9]*M,o[10]=t[10]*M,o[11]=t[11]*M,o[12]=t[12],o[13]=t[13],o[14]=t[14],o[15]=t[15],o}},6726:function(x){x.exports=function(o){return"mat4("+o[0]+", "+o[1]+", "+o[2]+", "+o[3]+", "+o[4]+", "+o[5]+", "+o[6]+", "+o[7]+", "+o[8]+", "+o[9]+", "+o[10]+", "+o[11]+", "+o[12]+", "+o[13]+", "+o[14]+", "+o[15]+")"}},31283:function(x){x.exports=function(o,t,d){var v,i,M,g,p,u,a,c,s,l,h,f,m=d[0],_=d[1],y=d[2];return t===o?(o[12]=t[0]*m+t[4]*_+t[8]*y+t[12],o[13]=t[1]*m+t[5]*_+t[9]*y+t[13],o[14]=t[2]*m+t[6]*_+t[10]*y+t[14],o[15]=t[3]*m+t[7]*_+t[11]*y+t[15]):(v=t[0],i=t[1],M=t[2],g=t[3],p=t[4],u=t[5],a=t[6],c=t[7],s=t[8],l=t[9],h=t[10],f=t[11],o[0]=v,o[1]=i,o[2]=M,o[3]=g,o[4]=p,o[5]=u,o[6]=a,o[7]=c,o[8]=s,o[9]=l,o[10]=h,o[11]=f,o[12]=v*m+p*_+s*y+t[12],o[13]=i*m+u*_+l*y+t[13],o[14]=M*m+a*_+h*y+t[14],o[15]=g*m+c*_+f*y+t[15]),o}},88654:function(x){x.exports=function(o,t){if(o===t){var d=t[1],v=t[2],i=t[3],M=t[6],g=t[7],p=t[11];o[1]=t[4],o[2]=t[8],o[3]=t[12],o[4]=d,o[6]=t[9],o[7]=t[13],o[8]=v,o[9]=M,o[11]=t[14],o[12]=i,o[13]=g,o[14]=p}else o[0]=t[0],o[1]=t[4],o[2]=t[8],o[3]=t[12],o[4]=t[1],o[5]=t[5],o[6]=t[9],o[7]=t[13],o[8]=t[2],o[9]=t[6],o[10]=t[10],o[11]=t[14],o[12]=t[3],o[13]=t[7],o[14]=t[11],o[15]=t[15];return o}},42505:function(x,o,t){var d=t(72791),v=t(71299),i=t(98580),M=t(12018),g=t(83522),p=t(25075),u=t(68016),a=t(58404),c=t(18863),s=t(10973),l=t(25677),h=t(75686),f=t(53545),m=t(56131),_=t(32879),y=t(30120),C=t(13547).nextPow2,w=new g,k=!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&&(k=!0),document.body.removeChild(E)}var T=function(A){(function(L){return typeof L=="function"&&L._gl&&L.prop&&L.texture&&L.buffer})(A)?(A={regl:A},this.gl=A.regl._gl):this.gl=M(A),this.shader=w.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=A.regl||i({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(),w.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(s(A)?A:{})};T.prototype.createShader=function(){var A=this.regl,L=A({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:A.prop("count"),offset:A.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:A.this("sizeBuffer")},width:{offset:0,stride:8,buffer:A.this("sizeBuffer")},char:A.this("charBuffer"),position:A.this("position")},uniforms:{atlasSize:function(b,O){return[O.atlas.width,O.atlas.height]},atlasDim:function(b,O){return[O.atlas.cols,O.atlas.rows]},atlas:function(b,O){return O.atlas.texture},charStep:function(b,O){return O.atlas.step},em:function(b,O){return O.atlas.em},color:A.prop("color"),opacity:A.prop("opacity"),viewport:A.this("viewportArray"),scale:A.this("scale"),align:A.prop("align"),baseline:A.prop("baseline"),translate:A.this("translate"),positionOffset:A.prop("positionOffset")},primitive:"points",viewport:A.this("viewport"),vert:` precision highp float; attribute float width, charOffset, char; attribute vec2 position; @@ -2523,7 +2523,7 @@ should equal // color.rgb += (1. - color.rgb) * (1. - mask.rgb); gl_FragColor = color; - }`});return{regl:A,draw:L,atlas:{}}},T.prototype.update=function(A){var L=this;if(typeof A=="string")A={text:A};else if(!A)return;(A=g(A,{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!=null&&(Array.isArray(A.opacity)?this.opacity=A.opacity.map(function(ae){return parseFloat(ae)}):this.opacity=parseFloat(A.opacity)),A.viewport!=null&&(this.viewport=c(A.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),this.viewport==null&&(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]),A.kerning!=null&&(this.kerning=A.kerning),A.offset!=null&&(typeof A.offset=="number"&&(A.offset=[A.offset,0]),this.positionOffset=y(A.offset)),A.direction&&(this.direction=A.direction),A.range&&(this.range=A.range,this.scale=[1/(A.range[2]-A.range[0]),1/(A.range[3]-A.range[1])],this.translate=[-A.range[0],-A.range[1]]),A.scale&&(this.scale=A.scale),A.translate&&(this.translate=A.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),this.font.length||A.font||(A.font=T.baseFontSize+"px sans-serif");var b,O=!1,I=!1;if(A.font&&(Array.isArray(A.font)?A.font:[A.font]).forEach(function(ae,he){if(typeof ae=="string")try{ae=d.parse(ae)}catch{ae=d.parse(T.baseFontSize+"px "+ae)}else ae=d.parse(d.stringify(ae));var be=d.stringify({size:T.baseFontSize,family:ae.family,stretch:k?ae.stretch:void 0,variant:ae.variant,weight:ae.weight,style:ae.style}),ke=l(ae.size),Le=Math.round(ke[0]*h(ke[1]));if(Le!==L.fontSize[he]&&(I=!0,L.fontSize[he]=Le),!(L.font[he]&&be==L.font[he].baseString||(O=!0,L.font[he]=T.fonts[be],L.font[he]))){var Be=ae.family.join(", "),ze=[ae.style];ae.style!=ae.variant&&ze.push(ae.variant),ae.variant!=ae.weight&&ze.push(ae.weight),k&&ae.weight!=ae.stretch&&ze.push(ae.stretch),L.font[he]={baseString:be,family:Be,weight:ae.weight,stretch:ae.stretch,style:ae.style,variant:ae.variant,width:{},kerning:{},metrics:_(Be,{origin:"top",fontSize:T.baseFontSize,fontStyle:ze.join(" ")})},T.fonts[be]=L.font[he]}}),(O||I)&&this.font.forEach(function(ae,he){var be=d.stringify({size:L.fontSize[he],family:ae.family,stretch:k?ae.stretch:void 0,variant:ae.variant,weight:ae.weight,style:ae.style});if(L.fontAtlas[he]=L.shader.atlas[be],!L.fontAtlas[he]){var ke=ae.metrics;L.shader.atlas[be]=L.fontAtlas[he]={fontString:be,step:2*Math.ceil(L.fontSize[he]*ke.bottom*.5),em:L.fontSize[he],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:L.regl.texture()}}A.text==null&&(A.text=L.text)}),typeof A.text=="string"&&A.position&&A.position.length>2){for(var R=Array(.5*A.position.length),z=0;z2){for(var B=!A.position[0].length,N=a.mallocFloat(2*this.count),q=0,j=0;q1?L.align[he]:L.align[0]:L.align;if(typeof be=="number")return be;switch(be){case"right":case"end":return-ae;case"center":case"centre":case"middle":return .5*-ae}return 0})),this.baseline==null&&A.baseline==null&&(A.baseline=0),A.baseline!=null&&(this.baseline=A.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ae,he){var be=(L.font[he]||L.font[0]).metrics,ke=0;return ke+=.5*be.bottom,-1*(ke+=typeof ae=="number"?ae-be.baseline:-be[ae])})),A.color!=null)if(A.color||(A.color="transparent"),typeof A.color!="string"&&isNaN(A.color)){var me;if(typeof A.color[0]=="number"&&A.color.length>this.counts.length){var pe=A.color.length;me=a.mallocUint8(pe);for(var xe=(A.color.subarray||A.color.slice).bind(A.color),Pe=0;Pe4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2){var Se=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(Se);for(var Ce=0;Ce1?this.counts[Ce]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[Ce]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*Ce,4*Ce+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[Ce]:this.opacity,baseline:this.baselineOffset[Ce]!=null?this.baselineOffset[Ce]:this.baselineOffset[0],align:this.align?this.alignOffset[Ce]!=null?this.alignOffset[Ce]:this.alignOffset[0]:0,atlas:this.fontAtlas[Ce]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*Ce,2*Ce+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=[]},T.prototype.destroy=function(){},T.prototype.kerning=!0,T.prototype.position={constant:new Float32Array(2)},T.prototype.translate=null,T.prototype.scale=null,T.prototype.font=null,T.prototype.text="",T.prototype.positionOffset=[0,0],T.prototype.opacity=1,T.prototype.color=new Uint8Array([0,0,0,255]),T.prototype.alignOffset=[0,0],T.maxAtlasSize=1024,T.atlasCanvas=document.createElement("canvas"),T.atlasContext=T.atlasCanvas.getContext("2d",{alpha:!1}),T.baseFontSize=64,T.fonts={},x.exports=T},12018:function(x,o,t){var d=t(71299);function g(v){if(v.container)if(v.container==document.body)document.body.style.width||(v.canvas.width=v.width||v.pixelRatio*t.g.innerWidth),document.body.style.height||(v.canvas.height=v.height||v.pixelRatio*t.g.innerHeight);else{var p=v.container.getBoundingClientRect();v.canvas.width=v.width||p.right-p.left,v.canvas.height=v.height||p.bottom-p.top}}function i(v){return typeof v.getContext=="function"&&"width"in v&&"height"in v}function M(){var v=document.createElement("canvas");return v.style.position="absolute",v.style.top=0,v.style.left=0,v}x.exports=function(v){var p;if(v?typeof v=="string"&&(v={container:v}):v={},(v=i(v)||typeof(p=v).nodeName=="string"&&typeof p.appendChild=="function"&&typeof p.getBoundingClientRect=="function"?{container:v}:function(a){return typeof a.drawArrays=="function"||typeof a.drawElements=="function"}(v)?{gl:v}:d(v,{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||(v.pixelRatio=t.g.pixelRatio||1),v.gl)return v.gl;if(v.canvas&&(v.container=v.canvas.parentNode),v.container){if(typeof v.container=="string"){var u=document.querySelector(v.container);if(!u)throw Error("Element "+v.container+" is not found");v.container=u}i(v.container)?(v.canvas=v.container,v.container=v.canvas.parentNode):v.canvas||(v.canvas=M(),v.container.appendChild(v.canvas),g(v))}else if(!v.canvas){if(typeof document>"u")throw Error("Not DOM environment. Use headless-gl.");v.container=document.body||document.documentElement,v.canvas=M(),v.container.appendChild(v.canvas),g(v)}return v.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(a){try{v.gl=v.canvas.getContext(a,v.attrs)}catch{}return v.gl}),v.gl}},56068:function(x){x.exports=function(o){typeof o=="string"&&(o=[o]);for(var t=[].slice.call(arguments,1),d=[],g=0;g>1,s=-7,l=g?M-1:0,h=g?-1:1,f=t[d+l];for(l+=h,v=f&(1<<-s)-1,f>>=-s,s+=u;s>0;v=256*v+t[d+l],l+=h,s-=8);for(p=v&(1<<-s)-1,v>>=-s,s+=i;s>0;p=256*p+t[d+l],l+=h,s-=8);if(v===0)v=1-c;else{if(v===a)return p?NaN:1/0*(f?-1:1);p+=Math.pow(2,i),v-=c}return(f?-1:1)*p*Math.pow(2,v-i)},o.write=function(t,d,g,i,M,v){var p,u,a,c=8*v-M-1,s=(1<>1,h=M===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:v-1,m=i?1:-1,_=d<0||d===0&&1/d<0?1:0;for(d=Math.abs(d),isNaN(d)||d===1/0?(u=isNaN(d)?1:0,p=s):(p=Math.floor(Math.log(d)/Math.LN2),d*(a=Math.pow(2,-p))<1&&(p--,a*=2),(d+=p+l>=1?h/a:h*Math.pow(2,1-l))*a>=2&&(p++,a/=2),p+l>=s?(u=0,p=s):p+l>=1?(u=(d*a-1)*Math.pow(2,M),p+=l):(u=d*Math.pow(2,l-1)*Math.pow(2,M),p=0));M>=8;t[g+f]=255&u,f+=m,u/=256,M-=8);for(p=p<0;t[g+f]=255&p,f+=m,p/=256,c-=8);t[g+f-m]|=128*_}},42018:function(x){typeof Object.create=="function"?x.exports=function(o,t){t&&(o.super_=t,o.prototype=Object.create(t.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}))}:x.exports=function(o,t){if(t){o.super_=t;var d=function(){};d.prototype=t.prototype,o.prototype=new d,o.prototype.constructor=o}}},47216:function(x,o,t){var d=t(84543)(),g=t(6614)("Object.prototype.toString"),i=function(p){return!(d&&p&&typeof p=="object"&&Symbol.toStringTag in p)&&g(p)==="[object Arguments]"},M=function(p){return!!i(p)||p!==null&&typeof p=="object"&&typeof p.length=="number"&&p.length>=0&&g(p)!=="[object Array]"&&g(p.callee)==="[object Function]"},v=function(){return i(arguments)}();i.isLegacyArguments=M,x.exports=v?i:M},54404:function(x){x.exports=!0},85395:function(x){var o,t,d=Function.prototype.toString,g=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof g=="function"&&typeof Object.defineProperty=="function")try{o=Object.defineProperty({},"length",{get:function(){throw t}}),t={},g(function(){throw 42},null,o)}catch(l){l!==t&&(g=null)}else g=null;var i=/^\s*class\b/,M=function(l){try{var h=d.call(l);return i.test(h)}catch{return!1}},v=function(l){try{return!M(l)&&(d.call(l),!0)}catch{return!1}},p=Object.prototype.toString,u=typeof Symbol=="function"&&!!Symbol.toStringTag,a=!(0 in[,]),c=function(){return!1};if(typeof document=="object"){var s=document.all;p.call(s)===p.call(document.all)&&(c=function(l){if((a||!l)&&(l===void 0||typeof l=="object"))try{var h=p.call(l);return(h==="[object HTMLAllCollection]"||h==="[object HTML document.all class]"||h==="[object HTMLCollection]"||h==="[object Object]")&&l("")==null}catch{}return!1})}x.exports=g?function(l){if(c(l))return!0;if(!l||typeof l!="function"&&typeof l!="object")return!1;try{g(l,null,o)}catch(h){if(h!==t)return!1}return!M(l)&&v(l)}:function(l){if(c(l))return!0;if(!l||typeof l!="function"&&typeof l!="object")return!1;if(u)return v(l);if(M(l))return!1;var h=p.call(l);return!(h!=="[object Function]"&&h!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(h))&&v(l)}},65481:function(x,o,t){var d,g=Object.prototype.toString,i=Function.prototype.toString,M=/^\s*(?:function)?\*/,v=t(84543)(),p=Object.getPrototypeOf;x.exports=function(u){if(typeof u!="function")return!1;if(M.test(i.call(u)))return!0;if(!v)return g.call(u)==="[object GeneratorFunction]";if(!p)return!1;if(d===void 0){var a=function(){if(!v)return!1;try{return Function("return function*() {}")()}catch{}}();d=!!a&&p(a)}return p(u)===d}},62683:function(x){x.exports=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},64274:function(x){x.exports=function(o){return o!=o}},15567:function(x,o,t){var d=t(68222),g=t(17045),i=t(64274),M=t(14922),v=t(22442),p=d(M(),Number);g(p,{getPolyfill:M,implementation:i,shim:v}),x.exports=p},14922:function(x,o,t){var d=t(64274);x.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:d}},22442:function(x,o,t){var d=t(17045),g=t(14922);x.exports=function(){var i=g();return d(Number,{isNaN:i},{isNaN:function(){return Number.isNaN!==i}}),i}},64941:function(x){x.exports=function(o){var t=typeof o;return o!==null&&(t==="object"||t==="function")}},10973:function(x){var o=Object.prototype.toString;x.exports=function(t){var d;return o.call(t)==="[object Object]"&&((d=Object.getPrototypeOf(t))===null||d===Object.getPrototypeOf({}))}},18546:function(x){x.exports=function(o){for(var t,d=o.length,g=0;g13)&&t!==32&&t!==133&&t!==160&&t!==5760&&t!==6158&&(t<8192||t>8205)&&t!==8232&&t!==8233&&t!==8239&&t!==8287&&t!==8288&&t!==12288&&t!==65279)return!1;return!0}},89546:function(x){x.exports=function(o){return typeof o=="string"&&(o=o.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(o)&&/[\dz]$/i.test(o)&&o.length>4))}},9187:function(x,o,t){var d=t(31353),g=t(72077),i=t(6614),M=i("Object.prototype.toString"),v=t(84543)(),p=t(40383),u=typeof globalThis>"u"?t.g:globalThis,a=g(),c=i("Array.prototype.indexOf",!0)||function(f,m){for(var _=0;_-1}return!!p&&function(_){var y=!1;return d(l,function(C,w){if(!y)try{y=C.call(_)===w}catch{}}),y}(f)}},44517:function(x){x.exports=function(){var o,t,d;function g(i,M){if(o)if(t){var v="var sharedChunk = {}; ("+o+")(sharedChunk); ("+t+")(sharedChunk);",p={};o(p),(d=M(p)).workerUrl=window.URL.createObjectURL(new Blob([v],{type:"text/javascript"}))}else t=M;else o=M}return g(0,function(i){function M(P,V){return P(V={exports:{}},V.exports),V.exports}var v="1.10.1",p=u;function u(P,V,J,fe){this.cx=3*P,this.bx=3*(J-P)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*V,this.by=3*(fe-V)-this.cy,this.ay=1-this.cy-this.by,this.p1x=P,this.p1y=fe,this.p2x=J,this.p2y=fe}u.prototype.sampleCurveX=function(P){return((this.ax*P+this.bx)*P+this.cx)*P},u.prototype.sampleCurveY=function(P){return((this.ay*P+this.by)*P+this.cy)*P},u.prototype.sampleCurveDerivativeX=function(P){return(3*this.ax*P+2*this.bx)*P+this.cx},u.prototype.solveCurveX=function(P,V){var J,fe,Ae,De,Ge;for(V===void 0&&(V=1e-6),Ae=P,Ge=0;Ge<8;Ge++){if(De=this.sampleCurveX(Ae)-P,Math.abs(De)(fe=1))return fe;for(;JDe?J=Ae:fe=Ae,Ae=.5*(fe-J)+J}return Ae},u.prototype.solve=function(P,V){return this.sampleCurveY(this.solveCurveX(P,V))};var a=c;function c(P,V){this.x=P,this.y=V}function s(P,V,J,fe){var Ae=new p(P,V,J,fe);return function(De){return Ae.solve(De)}}c.prototype={clone:function(){return new c(this.x,this.y)},add:function(P){return this.clone()._add(P)},sub:function(P){return this.clone()._sub(P)},multByPoint:function(P){return this.clone()._multByPoint(P)},divByPoint:function(P){return this.clone()._divByPoint(P)},mult:function(P){return this.clone()._mult(P)},div:function(P){return this.clone()._div(P)},rotate:function(P){return this.clone()._rotate(P)},rotateAround:function(P,V){return this.clone()._rotateAround(P,V)},matMult:function(P){return this.clone()._matMult(P)},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(P){return this.x===P.x&&this.y===P.y},dist:function(P){return Math.sqrt(this.distSqr(P))},distSqr:function(P){var V=P.x-this.x,J=P.y-this.y;return V*V+J*J},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(P){return Math.atan2(this.y-P.y,this.x-P.x)},angleWith:function(P){return this.angleWithSep(P.x,P.y)},angleWithSep:function(P,V){return Math.atan2(this.x*V-this.y*P,this.x*P+this.y*V)},_matMult:function(P){var V=P[0]*this.x+P[1]*this.y,J=P[2]*this.x+P[3]*this.y;return this.x=V,this.y=J,this},_add:function(P){return this.x+=P.x,this.y+=P.y,this},_sub:function(P){return this.x-=P.x,this.y-=P.y,this},_mult:function(P){return this.x*=P,this.y*=P,this},_div:function(P){return this.x/=P,this.y/=P,this},_multByPoint:function(P){return this.x*=P.x,this.y*=P.y,this},_divByPoint:function(P){return this.x/=P.x,this.y/=P.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var P=this.y;return this.y=this.x,this.x=-P,this},_rotate:function(P){var V=Math.cos(P),J=Math.sin(P),fe=V*this.x-J*this.y,Ae=J*this.x+V*this.y;return this.x=fe,this.y=Ae,this},_rotateAround:function(P,V){var J=Math.cos(P),fe=Math.sin(P),Ae=V.x+J*(this.x-V.x)-fe*(this.y-V.y),De=V.y+fe*(this.x-V.x)+J*(this.y-V.y);return this.x=Ae,this.y=De,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},c.convert=function(P){return P instanceof c?P:Array.isArray(P)?new c(P[0],P[1]):P};var l=s(.25,.1,.25,1);function h(P,V,J){return Math.min(J,Math.max(V,P))}function f(P,V,J){var fe=J-V,Ae=((P-V)%fe+fe)%fe+V;return Ae===V?J:Ae}function m(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var fe=0,Ae=V;fe>V/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,P)}()}function w(P){return!!P&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(P)}function k(P,V){P.forEach(function(J){V[J]&&(V[J]=V[J].bind(V))})}function E(P,V){return P.indexOf(V,P.length-V.length)!==-1}function T(P,V,J){var fe={};for(var Ae in P)fe[Ae]=V.call(J||this,P[Ae],Ae,P);return fe}function A(P,V,J){var fe={};for(var Ae in P)V.call(J||this,P[Ae],Ae,P)&&(fe[Ae]=P[Ae]);return fe}function L(P){return Array.isArray(P)?P.map(L):typeof P=="object"&&P?T(P,L):P}var b={};function O(P){b[P]||(typeof console<"u"&&console.warn(P),b[P]=!0)}function I(P,V,J){return(J.y-P.y)*(V.x-P.x)>(V.y-P.y)*(J.x-P.x)}function R(P){for(var V=0,J=0,fe=P.length,Ae=fe-1,De=void 0,Ge=void 0;J@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,function(fe,Ae,De,Ge){var it=De||Ge;return V[Ae]=!it||it.toLowerCase(),""}),V["max-age"]){var J=parseInt(V["max-age"],10);isNaN(J)?delete V["max-age"]:V["max-age"]=J}return V}var B=null;function N(P){if(B==null){var V=P.navigator?P.navigator.userAgent:null;B=!!P.safari||!(!V||!(/\b(iPad|iPhone|iPod)\b/.test(V)||V.match("Safari")&&!V.match("Chrome")))}return B}function q(P){try{var V=self[P];return V.setItem("_mapbox_test_",1),V.removeItem("_mapbox_test_"),!0}catch{return!1}}var j,Y,U,G,W=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),H=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,ne=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,te={now:W,frame:function(P){var V=H(P);return{cancel:function(){return ne(V)}}},getImageData:function(P,V){V===void 0&&(V=0);var J=self.document.createElement("canvas"),fe=J.getContext("2d");if(!fe)throw new Error("failed to create canvas 2d context");return J.width=P.width,J.height=P.height,fe.drawImage(P,0,0,P.width,P.height),fe.getImageData(-V,-V,P.width+2*V,P.height+2*V)},resolveURL:function(P){return j||(j=self.document.createElement("a")),j.href=P,j.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&(Y==null&&(Y=self.matchMedia("(prefers-reduced-motion: reduce)")),Y.matches)}},Z={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"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},X={supported:!1,testSupport:function(P){!Q&&G&&(re?ie(P):U=P)}},Q=!1,re=!1;function ie(P){var V=P.createTexture();P.bindTexture(P.TEXTURE_2D,V);try{if(P.texImage2D(P.TEXTURE_2D,0,P.RGBA,P.RGBA,P.UNSIGNED_BYTE,G),P.isContextLost())return;X.supported=!0}catch{}P.deleteTexture(V),Q=!0}self.document&&((G=self.document.createElement("img")).onload=function(){U&&ie(U),U=null,re=!0},G.onerror=function(){Q=!0,U=null},G.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var oe="01",ue=function(P,V){this._transformRequestFn=P,this._customAccessToken=V,this._createSkuToken()};function ce(P){return P.indexOf("mapbox:")===0}ue.prototype._createSkuToken=function(){var P=function(){for(var V="",J=0;J<10;J++)V+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",oe,V].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=P.token,this._skuTokenExpiresAt=P.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(P,V){return this._transformRequestFn&&this._transformRequestFn(P,V)||{url:P}},ue.prototype.normalizeStyleURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/styles/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/fonts/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/v4/"+J.authority+".json",J.params.push("secure"),this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(P,V,J,fe){var Ae=pe(P);return ce(P)?(Ae.path="/styles/v1"+Ae.path+"/sprite"+V+J,this._makeAPIURL(Ae,this._customAccessToken||fe)):(Ae.path+=""+V+J,xe(Ae))},ue.prototype.normalizeTileURL=function(P,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),P&&!ce(P))return P;var J=pe(P),fe=te.devicePixelRatio>=2||V===512?"@2x":"",Ae=X.supported?".webp":"$1";J.path=J.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+fe+Ae),J.path=J.path.replace(/^.+\/v4\//,"/"),J.path="/v4"+J.path;var De=this._customAccessToken||function(Ge){for(var it=0,mt=Ge;it=1&&self.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{O("Unable to write to LocalStorage")}},Me.prototype.processRequests=function(P){},Me.prototype.postEvent=function(P,V,J,fe){var Ae=this;if(Z.EVENTS_URL){var De=pe(Z.EVENTS_URL);De.params.push("access_token="+(fe||Z.ACCESS_TOKEN||""));var Ge={event:this.type,created:new Date(P).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:v,skuId:oe,userId:this.anonId},it=V?m(Ge,V):Ge,mt={url:xe(De),headers:{"Content-Type":"text/plain"},body:JSON.stringify([it])};this.pendingRequest=Dt(mt,function(Ct){Ae.pendingRequest=null,J(Ct),Ae.saveEventData(),Ae.processRequests(fe)})}},Me.prototype.queueRequest=function(P,V){this.queue.push(P),this.processRequests(V)};var Se,Ce,ae=function(P){function V(){P.call(this,"map.load"),this.success={},this.skuToken=""}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postMapLoadEvent=function(J,fe,Ae,De){this.skuToken=Ae,(Z.EVENTS_URL&&De||Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ge){return ce(Ge)||de(Ge)}))&&this.queueRequest({id:fe,timestamp:Date.now()},De)},V.prototype.processRequests=function(J){var fe=this;if(!this.pendingRequest&&this.queue.length!==0){var Ae=this.queue.shift(),De=Ae.id,Ge=Ae.timestamp;De&&this.success[De]||(this.anonId||this.fetchEventData(),w(this.anonId)||(this.anonId=C()),this.postEvent(Ge,{skuToken:this.skuToken},function(it){it||De&&(fe.success[De]=!0)},J))}},V}(Me),he=function(P){function V(J){P.call(this,"appUserTurnstile"),this._customAccessToken=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postTurnstileEvent=function(J,fe){Z.EVENTS_URL&&Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ae){return ce(Ae)||de(Ae)})&&this.queueRequest(Date.now(),fe)},V.prototype.processRequests=function(J){var fe=this;if(!this.pendingRequest&&this.queue.length!==0){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var Ae=_e(Z.ACCESS_TOKEN),De=Ae?Ae.u:Z.ACCESS_TOKEN,Ge=De!==this.eventData.tokenU;w(this.anonId)||(this.anonId=C(),Ge=!0);var it=this.queue.shift();if(this.eventData.lastSuccess){var mt=new Date(this.eventData.lastSuccess),Ct=new Date(it),Rt=(it-this.eventData.lastSuccess)/864e5;Ge=Ge||Rt>=1||Rt<-1||mt.getDate()!==Ct.getDate()}else Ge=!0;if(!Ge)return this.processRequests();this.postEvent(it,{"enabled.telemetry":!1},function(Gt){Gt||(fe.eventData.lastSuccess=it,fe.eventData.tokenU=De)},J)}},V}(Me),be=new he,ke=be.postTurnstileEvent.bind(be),Le=new ae,Be=Le.postMapLoadEvent.bind(Le),ze="mapbox-tiles",je=500,ge=50;function we(){self.caches&&!Se&&(Se=self.caches.open(ze))}function Ee(P,V,J){if(we(),Se){var fe={status:V.status,statusText:V.statusText,headers:new self.Headers};V.headers.forEach(function(De,Ge){return fe.headers.set(Ge,De)});var Ae=F(V.headers.get("Cache-Control")||"");Ae["no-store"]||(Ae["max-age"]&&fe.headers.set("Expires",new Date(J+1e3*Ae["max-age"]).toUTCString()),new Date(fe.headers.get("Expires")).getTime()-J<42e4||function(De,Ge){if(Ce===void 0)try{new Response(new ReadableStream),Ce=!0}catch{Ce=!1}Ce?Ge(De.body):De.blob().then(Ge)}(V,function(De){var Ge=new self.Response(De,fe);we(),Se&&Se.then(function(it){return it.put(Ve(P.url),Ge)}).catch(function(it){return O(it.message)})}))}}function Ve(P){var V=P.indexOf("?");return V<0?P:P.slice(0,V)}function Ye(P,V){if(we(),!Se)return V(null);var J=Ve(P.url);Se.then(function(fe){fe.match(J).then(function(Ae){var De=function(Ge){if(!Ge)return!1;var it=new Date(Ge.headers.get("Expires")||0),mt=F(Ge.headers.get("Cache-Control")||"");return it>Date.now()&&!mt["no-cache"]}(Ae);fe.delete(J),De&&fe.put(J,Ae.clone()),V(null,Ae,De)}).catch(V)}).catch(V)}var $e,st=1/0;function ot(){return $e==null&&($e=self.OffscreenCanvas&&new self.OffscreenCanvas(1,1).getContext("2d")&&typeof self.createImageBitmap=="function"),$e}var ft={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};typeof Object.freeze=="function"&&Object.freeze(ft);var bt=function(P){function V(J,fe,Ae){fe===401&&de(Ae)&&(J+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),P.call(this,J),this.status=fe,this.url=Ae,this.name=this.constructor.name,this.message=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},V}(Error),Et=z()?function(){return self.worker&&self.worker.referrer}:function(){return(self.location.protocol==="blob:"?self.parent:self).location.href};function kt(P,V){var J,fe=new self.AbortController,Ae=new self.Request(P.url,{method:P.method||"GET",body:P.body,credentials:P.credentials,headers:P.headers,referrer:Et(),signal:fe.signal}),De=!1,Ge=!1,it=(J=Ae.url).indexOf("sku=")>0&&de(J);P.type==="json"&&Ae.headers.set("Accept","application/json");var mt=function(Rt,Gt,Zt){if(!Ge){if(Rt&&Rt.message!=="SecurityError"&&O(Rt),Gt&&Zt)return Ct(Gt);var Yt=Date.now();self.fetch(Ae).then(function(hn){if(hn.ok){var Mn=it?hn.clone():null;return Ct(hn,Mn,Yt)}return V(new bt(hn.statusText,hn.status,P.url))}).catch(function(hn){hn.code!==20&&V(new Error(hn.message))})}},Ct=function(Rt,Gt,Zt){(P.type==="arrayBuffer"?Rt.arrayBuffer():P.type==="json"?Rt.json():Rt.text()).then(function(Yt){Ge||(Gt&&Zt&&Ee(Ae,Gt,Zt),De=!0,V(null,Yt,Rt.headers.get("Cache-Control"),Rt.headers.get("Expires")))}).catch(function(Yt){Ge||V(new Error(Yt.message))})};return it?Ye(Ae,mt):mt(null,null),{cancel:function(){Ge=!0,De||fe.abort()}}}var xt=function(P,V){if(J=P.url,!(/^file:/.test(J)||/^file:/.test(Et())&&!/^\w+:/.test(J))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return kt(P,V);if(z()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",P,V,void 0,!0)}var J;return function(fe,Ae){var De=new self.XMLHttpRequest;for(var Ge in De.open(fe.method||"GET",fe.url,!0),fe.type==="arrayBuffer"&&(De.responseType="arraybuffer"),fe.headers)De.setRequestHeader(Ge,fe.headers[Ge]);return fe.type==="json"&&(De.responseType="text",De.setRequestHeader("Accept","application/json")),De.withCredentials=fe.credentials==="include",De.onerror=function(){Ae(new Error(De.statusText))},De.onload=function(){if((De.status>=200&&De.status<300||De.status===0)&&De.response!==null){var it=De.response;if(fe.type==="json")try{it=JSON.parse(De.response)}catch(mt){return Ae(mt)}Ae(null,it,De.getResponseHeader("Cache-Control"),De.getResponseHeader("Expires"))}else Ae(new bt(De.statusText,De.status,fe.url))},De.send(fe.body),{cancel:function(){return De.abort()}}}(P,V)},Ft=function(P,V){return xt(m(P,{type:"arrayBuffer"}),V)},Dt=function(P,V){return xt(m(P,{method:"POST"}),V)},Bt,Wt;Bt=[],Wt=0;var Vt=function(P,V){if(X.supported&&(P.headers||(P.headers={}),P.headers.accept="image/webp,*/*"),Wt>=Z.MAX_PARALLEL_IMAGE_REQUESTS){var J={requestParameters:P,callback:V,cancelled:!1,cancel:function(){this.cancelled=!0}};return Bt.push(J),J}Wt++;var fe=!1,Ae=function(){if(!fe)for(fe=!0,Wt--;Bt.length&&Wt0||this._oneTimeListeners&&this._oneTimeListeners[P]&&this._oneTimeListeners[P].length>0||this._eventedParent&&this._eventedParent.listens(P)},ht.prototype.setEventedParent=function(P,V){return this._eventedParent=P,this._eventedParentData=V,this};var Oe={$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"},"*":{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"},"*":{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"},"*":{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},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{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},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},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"}}},Ne=function(P,V,J,fe){this.message=(P?P+": ":"")+J,fe&&(this.identifier=fe),V!=null&&V.__line__&&(this.line=V.__line__)};function Qe(P){var V=P.key,J=P.value;return J?[new Ne(V,J,"constants have been deprecated as of v8")]:[]}function ut(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var fe=0,Ae=V;fe":P.itemType.kind==="value"?"array":"array<"+V+">"}return P.kind}var An=[yt,Pt,wt,Ot,Nt,Qt,$t,xn(qt),rn];function Yn(P,V){if(V.kind==="error")return null;if(P.kind==="array"){if(V.kind==="array"&&(V.N===0&&V.itemType.kind==="value"||!Yn(P.itemType,V.itemType))&&(typeof P.N!="number"||P.N===V.N))return null}else{if(P.kind===V.kind)return null;if(P.kind==="value"){for(var J=0,fe=An;J255?255:mt}function Ae(mt){return mt<0?0:mt>1?1:mt}function De(mt){return mt[mt.length-1]==="%"?fe(parseFloat(mt)/100*255):fe(parseInt(mt))}function Ge(mt){return mt[mt.length-1]==="%"?Ae(parseFloat(mt)/100):Ae(parseFloat(mt))}function it(mt,Ct,Rt){return Rt<0?Rt+=1:Rt>1&&(Rt-=1),6*Rt<1?mt+(Ct-mt)*Rt*6:2*Rt<1?Ct:3*Rt<2?mt+(Ct-mt)*(2/3-Rt)*6:mt}try{V.parseCSSColor=function(mt){var Ct,Rt=mt.replace(/ /g,"").toLowerCase();if(Rt in J)return J[Rt].slice();if(Rt[0]==="#")return Rt.length===4?(Ct=parseInt(Rt.substr(1),16))>=0&&Ct<=4095?[(3840&Ct)>>4|(3840&Ct)>>8,240&Ct|(240&Ct)>>4,15&Ct|(15&Ct)<<4,1]:null:Rt.length===7&&(Ct=parseInt(Rt.substr(1),16))>=0&&Ct<=16777215?[(16711680&Ct)>>16,(65280&Ct)>>8,255&Ct,1]:null;var Gt=Rt.indexOf("("),Zt=Rt.indexOf(")");if(Gt!==-1&&Zt+1===Rt.length){var Yt=Rt.substr(0,Gt),hn=Rt.substr(Gt+1,Zt-(Gt+1)).split(","),Mn=1;switch(Yt){case"rgba":if(hn.length!==4)return null;Mn=Ge(hn.pop());case"rgb":return hn.length!==3?null:[De(hn[0]),De(hn[1]),De(hn[2]),Mn];case"hsla":if(hn.length!==4)return null;Mn=Ge(hn.pop());case"hsl":if(hn.length!==3)return null;var Nn=(parseFloat(hn[0])%360+360)%360/360,Bn=Ge(hn[1]),$n=Ge(hn[2]),Xn=$n<=.5?$n*(Bn+1):$n+Bn-$n*Bn,er=2*$n-Xn;return[fe(255*it(er,Xn,Nn+1/3)),fe(255*it(er,Xn,Nn)),fe(255*it(er,Xn,Nn-1/3)),Mn];default:return null}}return null}}catch{}}),dn=Tn.parseCSSColor,pn=function(P,V,J,fe){fe===void 0&&(fe=1),this.r=P,this.g=V,this.b=J,this.a=fe};pn.parse=function(P){if(P){if(P instanceof pn)return P;if(typeof P=="string"){var V=dn(P);if(V)return new pn(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},pn.prototype.toString=function(){var P=this.toArray(),V=P[0],J=P[1],fe=P[2],Ae=P[3];return"rgba("+Math.round(V)+","+Math.round(J)+","+Math.round(fe)+","+Ae+")"},pn.prototype.toArray=function(){var P=this,V=P.r,J=P.g,fe=P.b,Ae=P.a;return Ae===0?[0,0,0,0]:[255*V/Ae,255*J/Ae,255*fe/Ae,Ae]},pn.black=new pn(0,0,0,1),pn.white=new pn(1,1,1,1),pn.transparent=new pn(0,0,0,0),pn.red=new pn(1,0,0,1);var Rn=function(P,V,J){this.sensitivity=P?V?"variant":"case":V?"accent":"base",this.locale=J,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Rn.prototype.compare=function(P,V){return this.collator.compare(P,V)},Rn.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var In=function(P,V,J,fe,Ae){this.text=P,this.image=V,this.scale=J,this.fontStack=fe,this.textColor=Ae},jn=function(P){this.sections=P};jn.fromString=function(P){return new jn([new In(P,null,null,null,null)])},jn.prototype.isEmpty=function(){return this.sections.length===0||!this.sections.some(function(P){return P.text.length!==0||P.image&&P.image.name.length!==0})},jn.factory=function(P){return P instanceof jn?P:jn.fromString(P)},jn.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(P){return P.text}).join("")},jn.prototype.serialize=function(){for(var P=["format"],V=0,J=this.sections;V=0&&P<=255&&typeof V=="number"&&V>=0&&V<=255&&typeof J=="number"&&J>=0&&J<=255?fe===void 0||typeof fe=="number"&&fe>=0&&fe<=1?null:"Invalid rgba value ["+[P,V,J,fe].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+(typeof fe=="number"?[P,V,J,fe]:[P,V,J]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function ur(P){if(P===null||typeof P=="string"||typeof P=="boolean"||typeof P=="number"||P instanceof pn||P instanceof Rn||P instanceof jn||P instanceof Gn)return!0;if(Array.isArray(P)){for(var V=0,J=P;V2){var it=P[1];if(typeof it!="string"||!(it in yr)||it==="object")return V.error('The item type argument of "array" must be one of string, number, boolean',1);De=yr[it],fe++}else De=qt;if(P.length>3){if(P[2]!==null&&(typeof P[2]!="number"||P[2]<0||P[2]!==Math.floor(P[2])))return V.error('The length argument to "array" must be a positive integer literal',2);Ge=P[2],fe++}J=xn(De,Ge)}else J=yr[Ae];for(var mt=[];fe1)&&V.push(fe)}}return V.concat(this.args.map(function(Ae){return Ae.serialize()}))};var Kt=function(P){this.type=Qt,this.sections=P};Kt.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[1];if(!Array.isArray(J)&&typeof J=="object")return V.error("First argument must be an image or text section.");for(var fe=[],Ae=!1,De=1;De<=P.length-1;++De){var Ge=P[De];if(Ae&&typeof Ge=="object"&&!Array.isArray(Ge)){Ae=!1;var it=null;if(Ge["font-scale"]&&!(it=V.parse(Ge["font-scale"],1,Pt)))return null;var mt=null;if(Ge["text-font"]&&!(mt=V.parse(Ge["text-font"],1,xn(wt))))return null;var Ct=null;if(Ge["text-color"]&&!(Ct=V.parse(Ge["text-color"],1,Nt)))return null;var Rt=fe[fe.length-1];Rt.scale=it,Rt.font=mt,Rt.textColor=Ct}else{var Gt=V.parse(P[De],1,qt);if(!Gt)return null;var Zt=Gt.type.kind;if(Zt!=="string"&&Zt!=="value"&&Zt!=="null"&&Zt!=="resolvedImage")return V.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ae=!0,fe.push({content:Gt,scale:null,font:null,textColor:null})}}return new Kt(fe)},Kt.prototype.evaluate=function(P){return new jn(this.sections.map(function(V){var J=V.content.evaluate(P);return rr(J)===rn?new In("",J,null,null,null):new In(Lr(J),null,V.scale?V.scale.evaluate(P):null,V.font?V.font.evaluate(P).join(","):null,V.textColor?V.textColor.evaluate(P):null)}))},Kt.prototype.eachChild=function(P){for(var V=0,J=this.sections;V-1),J},bn.prototype.eachChild=function(P){P(this.input)},bn.prototype.outputDefined=function(){return!1},bn.prototype.serialize=function(){return["image",this.input.serialize()]};var On={"to-boolean":Ot,"to-color":Nt,"to-number":Pt,"to-string":wt},Ln=function(P,V){this.type=P,this.args=V};Ln.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[0];if((J==="to-boolean"||J==="to-string")&&P.length!==2)return V.error("Expected one argument.");for(var fe=On[J],Ae=[],De=1;De4?"Invalid rbga value "+JSON.stringify(V)+": expected an array containing either three or four numeric values.":Wn(V[0],V[1],V[2],V[3])))return new pn(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new or(J||"Could not parse color from value '"+(typeof V=="string"?V:String(JSON.stringify(V)))+"'")}if(this.type.kind==="number"){for(var Ge=null,it=0,mt=this.args;it=V[2]||P[1]<=V[1]||P[3]>=V[3])}function jt(P,V){var J,fe=(180+P[0])/360,Ae=(J=P[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+J*Math.PI/360)))/360),De=Math.pow(2,V.z);return[Math.round(fe*De*gr),Math.round(Ae*De*gr)]}function Jt(P,V,J){return V[1]>P[1]!=J[1]>P[1]&&P[0]<(J[0]-V[0])*(P[1]-V[1])/(J[1]-V[1])+V[0]}function fn(P,V){for(var J=!1,fe=0,Ae=V.length;fe0&&Gt<0||Rt<0&&Gt>0}function En(P,V,J){for(var fe=0,Ae=J;feJ[2]){var Ae=.5*fe,De=P[0]-J[0]>Ae?-fe:J[0]-P[0]>Ae?fe:0;De===0&&(De=P[0]-J[2]>Ae?-fe:J[2]-P[0]>Ae?fe:0),P[0]+=De}nn(V,P)}function Vn(P,V,J,fe){for(var Ae=Math.pow(2,fe.z)*gr,De=[fe.x*gr,fe.y*gr],Ge=[],it=0,mt=P;it=0)return!1;var J=!0;return P.eachChild(function(fe){J&&!fr(fe,V)&&(J=!1)}),J}nr.parse=function(P,V){if(P.length!==2)return V.error("'within' expression requires exactly one argument, but found "+(P.length-1)+" instead.");if(ur(P[1])){var J=P[1];if(J.type==="FeatureCollection")for(var fe=0;feV))throw new or("Input is not a number.");Ge=it-1}return 0}pr.prototype.parse=function(P,V,J,fe,Ae){return Ae===void 0&&(Ae={}),V?this.concat(V,J,fe)._parse(P,Ae):this._parse(P,Ae)},pr.prototype._parse=function(P,V){function J(Ct,Rt,Gt){return Gt==="assert"?new wr(Rt,[Ct]):Gt==="coerce"?new Ln(Rt,[Ct]):Ct}if(P!==null&&typeof P!="string"&&typeof P!="boolean"&&typeof P!="number"||(P=["literal",P]),Array.isArray(P)){if(P.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var fe=P[0];if(typeof fe!="string")return this.error("Expression name must be a string, but found "+typeof fe+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Ae=this.registry[fe];if(Ae){var De=Ae.parse(P,this);if(!De)return null;if(this.expectedType){var Ge=this.expectedType,it=De.type;if(Ge.kind!=="string"&&Ge.kind!=="number"&&Ge.kind!=="boolean"&&Ge.kind!=="object"&&Ge.kind!=="array"||it.kind!=="value")if(Ge.kind!=="color"&&Ge.kind!=="formatted"&&Ge.kind!=="resolvedImage"||it.kind!=="value"&&it.kind!=="string"){if(this.checkSubtype(Ge,it))return null}else De=J(De,Ge,V.typeAnnotation||"coerce");else De=J(De,Ge,V.typeAnnotation||"assert")}if(!(De instanceof br)&&De.type.kind!=="resolvedImage"&&xr(De)){var mt=new Jn;try{De=new br(De.type,De.evaluate(mt))}catch(Ct){return this.error(Ct.message),null}}return De}return this.error('Unknown expression "'+fe+'". If you wanted a literal array, use ["literal", [...]].',0)}return P===void 0?this.error("'undefined' value invalid. Use null instead."):typeof P=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof P+" instead.")},pr.prototype.concat=function(P,V,J){var fe=typeof P=="number"?this.path.concat(P):this.path,Ae=J?this.scope.concat(J):this.scope;return new pr(this.registry,fe,V||null,Ae,this.errors)},pr.prototype.error=function(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];var fe=""+this.key+V.map(function(Ae){return"["+Ae+"]"}).join("");this.errors.push(new It(fe,P))},pr.prototype.checkSubtype=function(P,V){var J=Yn(P,V);return J&&this.error(J),J};var Pr=function(P,V,J){this.type=P,this.input=V,this.labels=[],this.outputs=[];for(var fe=0,Ae=J;fe=Ge)return V.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',mt);var Rt=V.parse(it,Ct,Ae);if(!Rt)return null;Ae=Ae||Rt.type,fe.push([Ge,Rt])}return new Pr(Ae,J,fe)},Pr.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var fe=this.input.evaluate(P);if(fe<=V[0])return J[0].evaluate(P);var Ae=V.length;return fe>=V[Ae-1]?J[Ae-1].evaluate(P):J[Rr(V,fe)].evaluate(P)},Pr.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V0&&P.push(this.labels[V]),P.push(this.outputs[V].serialize());return P};var vr=Object.freeze({__proto__:null,number:Vr,color:function(P,V,J){return new pn(Vr(P.r,V.r,J),Vr(P.g,V.g,J),Vr(P.b,V.b,J),Vr(P.a,V.a,J))},array:function(P,V,J){return P.map(function(fe,Ae){return Vr(fe,V[Ae],J)})}}),jr=.95047,li=1.08883,Gi=4/29,ia=6/29,la=3*ia*ia,co=Math.PI/180,Oa=180/Math.PI;function Qi(P){return P>.008856451679035631?Math.pow(P,.3333333333333333):P/la+Gi}function No(P){return P>ia?P*P*P:la*(P-Gi)}function ss(P){return 255*(P<=.0031308?12.92*P:1.055*Math.pow(P,.4166666666666667)-.055)}function al(P){return(P/=255)<=.04045?P/12.92:Math.pow((P+.055)/1.055,2.4)}function Su(P){var V=al(P.r),J=al(P.g),fe=al(P.b),Ae=Qi((.4124564*V+.3575761*J+.1804375*fe)/jr),De=Qi((.2126729*V+.7151522*J+.072175*fe)/1);return{l:116*De-16,a:500*(Ae-De),b:200*(De-Qi((.0193339*V+.119192*J+.9503041*fe)/li)),alpha:P.a}}function ch(P){var V=(P.l+16)/116,J=isNaN(P.a)?V:V+P.a/500,fe=isNaN(P.b)?V:V-P.b/200;return V=1*No(V),J=jr*No(J),fe=li*No(fe),new pn(ss(3.2404542*J-1.5371385*V-.4985314*fe),ss(-.969266*J+1.8760108*V+.041556*fe),ss(.0556434*J-.2040259*V+1.0572252*fe),P.alpha)}function xf(P,V,J){var fe=V-P;return P+J*(fe>180||fe<-180?fe-360*Math.round(fe/360):fe)}var Cu={forward:Su,reverse:ch,interpolate:function(P,V,J){return{l:Vr(P.l,V.l,J),a:Vr(P.a,V.a,J),b:Vr(P.b,V.b,J),alpha:Vr(P.alpha,V.alpha,J)}}},ls={forward:function(P){var V=Su(P),J=V.l,fe=V.a,Ae=V.b,De=Math.atan2(Ae,fe)*Oa;return{h:De<0?De+360:De,c:Math.sqrt(fe*fe+Ae*Ae),l:J,alpha:P.a}},reverse:function(P){var V=P.h*co,J=P.c;return ch({l:P.l,a:Math.cos(V)*J,b:Math.sin(V)*J,alpha:P.alpha})},interpolate:function(P,V,J){return{h:xf(P.h,V.h,J),c:Vr(P.c,V.c,J),l:Vr(P.l,V.l,J),alpha:Vr(P.alpha,V.alpha,J)}}},_f=Object.freeze({__proto__:null,lab:Cu,hcl:ls}),Za=function(P,V,J,fe,Ae){this.type=P,this.operator=V,this.interpolation=J,this.input=fe,this.labels=[],this.outputs=[];for(var De=0,Ge=Ae;De1}))return V.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);fe={name:"cubic-bezier",controlPoints:it}}if(P.length-1<4)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if((P.length-1)%2!=0)return V.error("Expected an even number of arguments.");if(!(Ae=V.parse(Ae,2,Pt)))return null;var mt=[],Ct=null;J==="interpolate-hcl"||J==="interpolate-lab"?Ct=Nt:V.expectedType&&V.expectedType.kind!=="value"&&(Ct=V.expectedType);for(var Rt=0;Rt=Gt)return V.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',Yt);var Mn=V.parse(Zt,hn,Ct);if(!Mn)return null;Ct=Ct||Mn.type,mt.push([Gt,Mn])}return Ct.kind==="number"||Ct.kind==="color"||Ct.kind==="array"&&Ct.itemType.kind==="number"&&typeof Ct.N=="number"?new Za(Ct,J,fe,Ae,mt):V.error("Type "+un(Ct)+" is not interpolatable.")},Za.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var fe=this.input.evaluate(P);if(fe<=V[0])return J[0].evaluate(P);var Ae=V.length;if(fe>=V[Ae-1])return J[Ae-1].evaluate(P);var De=Rr(V,fe),Ge=V[De],it=V[De+1],mt=Za.interpolationFactor(this.interpolation,fe,Ge,it),Ct=J[De].evaluate(P),Rt=J[De+1].evaluate(P);return this.operator==="interpolate"?vr[this.type.kind.toLowerCase()](Ct,Rt,mt):this.operator==="interpolate-hcl"?ls.reverse(ls.interpolate(ls.forward(Ct),ls.forward(Rt),mt)):Cu.reverse(Cu.interpolate(Cu.forward(Ct),Cu.forward(Rt),mt))},Za.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V=J.length)throw new or("Array index out of bounds: "+V+" > "+(J.length-1)+".");if(V!==Math.floor(V))throw new or("Array index must be an integer, but found "+V+" instead.");return J[V]},Cl.prototype.eachChild=function(P){P(this.index),P(this.input)},Cl.prototype.outputDefined=function(){return!1},Cl.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Wi=function(P,V){this.type=Ot,this.needle=P,this.haystack=V};Wi.parse=function(P,V){if(P.length!==3)return V.error("Expected 2 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,qt),fe=V.parse(P[2],2,qt);return J&&fe?kn(J.type,[Ot,wt,Pt,yt,qt])?new Wi(J,fe):V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead"):null},Wi.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!J)return!1;if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");return J.indexOf(V)>=0},Wi.prototype.eachChild=function(P){P(this.needle),P(this.haystack)},Wi.prototype.outputDefined=function(){return!0},Wi.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var El=function(P,V,J){this.type=Pt,this.needle=P,this.haystack=V,this.fromIndex=J};El.parse=function(P,V){if(P.length<=2||P.length>=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,qt),fe=V.parse(P[2],2,qt);if(!J||!fe)return null;if(!kn(J.type,[Ot,wt,Pt,yt,qt]))return V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new El(J,fe,Ae):null}return new El(J,fe)},El.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");if(this.fromIndex){var fe=this.fromIndex.evaluate(P);return J.indexOf(V,fe)}return J.indexOf(V)},El.prototype.eachChild=function(P){P(this.needle),P(this.haystack),this.fromIndex&&P(this.fromIndex)},El.prototype.outputDefined=function(){return!1},El.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var P=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),P]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var gs=function(P,V,J,fe,Ae,De){this.inputType=P,this.type=V,this.input=J,this.cases=fe,this.outputs=Ae,this.otherwise=De};gs.parse=function(P,V){if(P.length<5)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if(P.length%2!=1)return V.error("Expected an even number of arguments.");var J,fe;V.expectedType&&V.expectedType.kind!=="value"&&(fe=V.expectedType);for(var Ae={},De=[],Ge=2;GeNumber.MAX_SAFE_INTEGER)return Ct.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof Zt=="number"&&Math.floor(Zt)!==Zt)return Ct.error("Numeric branch labels must be integer values.");if(J){if(Ct.checkSubtype(J,rr(Zt)))return null}else J=rr(Zt);if(Ae[String(Zt)]!==void 0)return Ct.error("Branch labels must be unique.");Ae[String(Zt)]=De.length}var Yt=V.parse(mt,Ge,fe);if(!Yt)return null;fe=fe||Yt.type,De.push(Yt)}var hn=V.parse(P[1],1,qt);if(!hn)return null;var Mn=V.parse(P[P.length-1],P.length-1,fe);return Mn?hn.type.kind!=="value"&&V.concat(1).checkSubtype(J,hn.type)?null:new gs(J,fe,hn,Ae,De,Mn):null},gs.prototype.evaluate=function(P){var V=this.input.evaluate(P);return(rr(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise).evaluate(P)},gs.prototype.eachChild=function(P){P(this.input),this.outputs.forEach(P),P(this.otherwise)},gs.prototype.outputDefined=function(){return this.outputs.every(function(P){return P.outputDefined()})&&this.otherwise.outputDefined()},gs.prototype.serialize=function(){for(var P=this,V=["match",this.input.serialize()],J=[],fe={},Ae=0,De=Object.keys(this.cases).sort();Ae=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,qt),fe=V.parse(P[2],2,Pt);if(!J||!fe)return null;if(!kn(J.type,[xn(qt),wt,qt]))return V.error("Expected first argument to be of type array or string, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new qs(J.type,J,fe,Ae):null}return new qs(J.type,J,fe)},qs.prototype.evaluate=function(P){var V=this.input.evaluate(P),J=this.beginIndex.evaluate(P);if(!sn(V,["string","array"]))throw new or("Expected first argument to be of type array or string, but found "+un(rr(V))+" instead.");if(this.endIndex){var fe=this.endIndex.evaluate(P);return V.slice(J,fe)}return V.slice(J)},qs.prototype.eachChild=function(P){P(this.input),P(this.beginIndex),this.endIndex&&P(this.endIndex)},qs.prototype.outputDefined=function(){return!1},qs.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var P=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),P]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var hh=ol("==",function(P,V,J){return V===J},fh),dh=ol("!=",function(P,V,J){return V!==J},function(P,V,J,fe){return!fh(0,V,J,fe)}),Yh=ol("<",function(P,V,J){return V",function(P,V,J){return V>J},function(P,V,J,fe){return fe.compare(V,J)>0}),ph=ol("<=",function(P,V,J){return V<=J},function(P,V,J,fe){return fe.compare(V,J)<=0}),Tf=ol(">=",function(P,V,J){return V>=J},function(P,V,J,fe){return fe.compare(V,J)>=0}),sl=function(P,V,J,fe,Ae){this.type=wt,this.number=P,this.locale=V,this.currency=J,this.minFractionDigits=fe,this.maxFractionDigits=Ae};sl.parse=function(P,V){if(P.length!==3)return V.error("Expected two arguments.");var J=V.parse(P[1],1,Pt);if(!J)return null;var fe=P[2];if(typeof fe!="object"||Array.isArray(fe))return V.error("NumberFormat options argument must be an object.");var Ae=null;if(fe.locale&&!(Ae=V.parse(fe.locale,1,wt)))return null;var De=null;if(fe.currency&&!(De=V.parse(fe.currency,1,wt)))return null;var Ge=null;if(fe["min-fraction-digits"]&&!(Ge=V.parse(fe["min-fraction-digits"],1,Pt)))return null;var it=null;return fe["max-fraction-digits"]&&!(it=V.parse(fe["max-fraction-digits"],1,Pt))?null:new sl(J,Ae,De,Ge,it)},sl.prototype.evaluate=function(P){return new Intl.NumberFormat(this.locale?this.locale.evaluate(P):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(P):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(P):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(P):void 0}).format(this.number.evaluate(P))},sl.prototype.eachChild=function(P){P(this.number),this.locale&&P(this.locale),this.currency&&P(this.currency),this.minFractionDigits&&P(this.minFractionDigits),this.maxFractionDigits&&P(this.maxFractionDigits)},sl.prototype.outputDefined=function(){return!1},sl.prototype.serialize=function(){var P={};return this.locale&&(P.locale=this.locale.serialize()),this.currency&&(P.currency=this.currency.serialize()),this.minFractionDigits&&(P["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(P["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),P]};var ll=function(P){this.type=Pt,this.input=P};ll.parse=function(P,V){if(P.length!==2)return V.error("Expected 1 argument, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1);return J?J.type.kind!=="array"&&J.type.kind!=="string"&&J.type.kind!=="value"?V.error("Expected argument of type string or array, but found "+un(J.type)+" instead."):new ll(J):null},ll.prototype.evaluate=function(P){var V=this.input.evaluate(P);if(typeof V=="string"||Array.isArray(V))return V.length;throw new or("Expected value to be of type string or array, but found "+un(rr(V))+" instead.")},ll.prototype.eachChild=function(P){P(this.input)},ll.prototype.outputDefined=function(){return!1},ll.prototype.serialize=function(){var P=["length"];return this.eachChild(function(V){P.push(V.serialize())}),P};var Eu={"==":hh,"!=":dh,">":wf,"<":Yh,">=":Tf,"<=":ph,array:wr,at:Cl,boolean:wr,case:Is,coalesce:Ko,collator:tr,format:Kt,image:bn,in:Wi,"index-of":El,interpolate:Za,"interpolate-hcl":Za,"interpolate-lab":Za,length:ll,let:us,literal:br,match:gs,number:wr,"number-format":sl,object:wr,slice:qs,step:Pr,string:wr,"to-boolean":Ln,"to-color":Ln,"to-number":Ln,"to-string":Ln,var:mr,within:nr};function ul(P,V){var J=V[0],fe=V[1],Ae=V[2],De=V[3];J=J.evaluate(P),fe=fe.evaluate(P),Ae=Ae.evaluate(P);var Ge=De?De.evaluate(P):1,it=Wn(J,fe,Ae,Ge);if(it)throw new or(it);return new pn(J/255*Ge,fe/255*Ge,Ae/255*Ge,Ge)}function kf(P,V){return P in V}function Mf(P,V){var J=V[P];return J===void 0?null:J}function Xl(P){return{type:P}}function jc(P){return{result:"success",value:P}}function Ll(P){return{result:"error",value:P}}function Lu(P){return P["property-type"]==="data-driven"||P["property-type"]==="cross-faded-data-driven"}function Kl(P){return!!P.expression&&P.expression.parameters.indexOf("zoom")>-1}function cl(P){return!!P.expression&&P.expression.interpolated}function qi(P){return P instanceof Number?"number":P instanceof String?"string":P instanceof Boolean?"boolean":Array.isArray(P)?"array":P===null?"null":typeof P}function Il(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)}function Zh(P){return P}function Uc(P,V){var J,fe,Ae,De=V.type==="color",Ge=P.stops&&typeof P.stops[0][0]=="object",it=Ge||P.property!==void 0,mt=Ge||!it,Ct=P.type||(cl(V)?"exponential":"interval");if(De&&((P=ut({},P)).stops&&(P.stops=P.stops.map(function(Ar){return[Ar[0],pn.parse(Ar[1])]})),P.default?P.default=pn.parse(P.default):P.default=pn.parse(V.default)),P.colorSpace&&P.colorSpace!=="rgb"&&!_f[P.colorSpace])throw new Error("Unknown color space: "+P.colorSpace);if(Ct==="exponential")J=vs;else if(Ct==="interval")J=Iu;else if(Ct==="categorical"){J=Jl,fe=Object.create(null);for(var Rt=0,Gt=P.stops;Rt=P.stops[fe-1][0])return P.stops[fe-1][1];var Ae=Rr(P.stops.map(function(De){return De[0]}),J);return P.stops[Ae][1]}function vs(P,V,J){var fe=P.base!==void 0?P.base:1;if(qi(J)!=="number")return oc(P.default,V.default);var Ae=P.stops.length;if(Ae===1||J<=P.stops[0][0])return P.stops[0][1];if(J>=P.stops[Ae-1][0])return P.stops[Ae-1][1];var De=Rr(P.stops.map(function(Gt){return Gt[0]}),J),Ge=function(Gt,Zt,Yt,hn){var Mn=hn-Yt,Nn=Gt-Yt;return Mn===0?0:Zt===1?Nn/Mn:(Math.pow(Zt,Nn)-1)/(Math.pow(Zt,Mn)-1)}(J,fe,P.stops[De][0],P.stops[De+1][0]),it=P.stops[De][1],mt=P.stops[De+1][1],Ct=vr[V.type]||Zh;if(P.colorSpace&&P.colorSpace!=="rgb"){var Rt=_f[P.colorSpace];Ct=function(Gt,Zt){return Rt.reverse(Rt.interpolate(Rt.forward(Gt),Rt.forward(Zt),Ge))}}return typeof it.evaluate=="function"?{evaluate:function(){for(var Gt=[],Zt=arguments.length;Zt--;)Gt[Zt]=arguments[Zt];var Yt=it.evaluate.apply(void 0,Gt),hn=mt.evaluate.apply(void 0,Gt);if(Yt!==void 0&&hn!==void 0)return Ct(Yt,hn,Ge)}}:Ct(it,mt,Ge)}function Af(P,V,J){return V.type==="color"?J=pn.parse(J):V.type==="formatted"?J=jn.fromString(J.toString()):V.type==="resolvedImage"?J=Gn.fromString(J.toString()):qi(J)===V.type||V.type==="enum"&&V.values[J]||(J=void 0),oc(J,P.default,V.default)}Zn.register(Eu,{error:[{kind:"error"},[wt],function(P,V){var J=V[0];throw new or(J.evaluate(P))}],typeof:[wt,[qt],function(P,V){return un(rr(V[0].evaluate(P)))}],"to-rgba":[xn(Pt,4),[Nt],function(P,V){return V[0].evaluate(P).toArray()}],rgb:[Nt,[Pt,Pt,Pt],ul],rgba:[Nt,[Pt,Pt,Pt,Pt],ul],has:{type:Ot,overloads:[[[wt],function(P,V){return kf(V[0].evaluate(P),P.properties())}],[[wt,$t],function(P,V){var J=V[0],fe=V[1];return kf(J.evaluate(P),fe.evaluate(P))}]]},get:{type:qt,overloads:[[[wt],function(P,V){return Mf(V[0].evaluate(P),P.properties())}],[[wt,$t],function(P,V){var J=V[0],fe=V[1];return Mf(J.evaluate(P),fe.evaluate(P))}]]},"feature-state":[qt,[wt],function(P,V){return Mf(V[0].evaluate(P),P.featureState||{})}],properties:[$t,[],function(P){return P.properties()}],"geometry-type":[wt,[],function(P){return P.geometryType()}],id:[qt,[],function(P){return P.id()}],zoom:[Pt,[],function(P){return P.globals.zoom}],"heatmap-density":[Pt,[],function(P){return P.globals.heatmapDensity||0}],"line-progress":[Pt,[],function(P){return P.globals.lineProgress||0}],accumulated:[qt,[],function(P){return P.globals.accumulated===void 0?null:P.globals.accumulated}],"+":[Pt,Xl(Pt),function(P,V){for(var J=0,fe=0,Ae=V;fe":[Ot,[wt,qt],function(P,V){var J=V[0],fe=V[1],Ae=P.properties()[J.value],De=fe.value;return typeof Ae==typeof De&&Ae>De}],"filter-id->":[Ot,[qt],function(P,V){var J=V[0],fe=P.id(),Ae=J.value;return typeof fe==typeof Ae&&fe>Ae}],"filter-<=":[Ot,[wt,qt],function(P,V){var J=V[0],fe=V[1],Ae=P.properties()[J.value],De=fe.value;return typeof Ae==typeof De&&Ae<=De}],"filter-id-<=":[Ot,[qt],function(P,V){var J=V[0],fe=P.id(),Ae=J.value;return typeof fe==typeof Ae&&fe<=Ae}],"filter->=":[Ot,[wt,qt],function(P,V){var J=V[0],fe=V[1],Ae=P.properties()[J.value],De=fe.value;return typeof Ae==typeof De&&Ae>=De}],"filter-id->=":[Ot,[qt],function(P,V){var J=V[0],fe=P.id(),Ae=J.value;return typeof fe==typeof Ae&&fe>=Ae}],"filter-has":[Ot,[qt],function(P,V){return V[0].value in P.properties()}],"filter-has-id":[Ot,[],function(P){return P.id()!==null&&P.id()!==void 0}],"filter-type-in":[Ot,[xn(wt)],function(P,V){return V[0].value.indexOf(P.geometryType())>=0}],"filter-id-in":[Ot,[xn(qt)],function(P,V){return V[0].value.indexOf(P.id())>=0}],"filter-in-small":[Ot,[wt,xn(qt)],function(P,V){var J=V[0];return V[1].value.indexOf(P.properties()[J.value])>=0}],"filter-in-large":[Ot,[wt,xn(qt)],function(P,V){var J=V[0],fe=V[1];return function(Ae,De,Ge,it){for(;Ge<=it;){var mt=Ge+it>>1;if(De[mt]===Ae)return!0;De[mt]>Ae?it=mt-1:Ge=mt+1}return!1}(P.properties()[J.value],fe.value,0,fe.value.length-1)}],all:{type:Ot,overloads:[[[Ot,Ot],function(P,V){var J=V[0],fe=V[1];return J.evaluate(P)&&fe.evaluate(P)}],[Xl(Ot),function(P,V){for(var J=0,fe=V;J0&&typeof P[0]=="string"&&P[0]in Eu}function lc(P,V){var J=new pr(Eu,[],V?function(Ae){var De={color:Nt,string:wt,number:Pt,enum:wt,boolean:Ot,formatted:Qt,resolvedImage:rn};return Ae.type==="array"?xn(De[Ae.value]||qt,Ae.length):De[Ae.type]}(V):void 0),fe=J.parse(P,void 0,void 0,void 0,V&&V.type==="string"?{typeAnnotation:"coerce"}:void 0);return fe?jc(new sc(fe,V)):Ll(J.errors)}sc.prototype.evaluateWithoutErrorHandling=function(P,V,J,fe,Ae,De){return this._evaluator.globals=P,this._evaluator.feature=V,this._evaluator.featureState=J,this._evaluator.canonical=fe,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=De,this.expression.evaluate(this._evaluator)},sc.prototype.evaluate=function(P,V,J,fe,Ae,De){this._evaluator.globals=P,this._evaluator.feature=V||null,this._evaluator.featureState=J||null,this._evaluator.canonical=fe,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=De||null;try{var Ge=this.expression.evaluate(this._evaluator);if(Ge==null||typeof Ge=="number"&&Ge!=Ge)return this._defaultValue;if(this._enumValues&&!(Ge in this._enumValues))throw new or("Expected value to be one of "+Object.keys(this._enumValues).map(function(it){return JSON.stringify(it)}).join(", ")+", but found "+JSON.stringify(Ge)+" instead.");return Ge}catch(it){return this._warningHistory[it.message]||(this._warningHistory[it.message]=!0,typeof console<"u"&&console.warn(it.message)),this._defaultValue}};var Ql=function(P,V){this.kind=P,this._styleExpression=V,this.isStateDependent=P!=="constant"&&!hr(V.expression)};Ql.prototype.evaluateWithoutErrorHandling=function(P,V,J,fe,Ae,De){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,fe,Ae,De)},Ql.prototype.evaluate=function(P,V,J,fe,Ae,De){return this._styleExpression.evaluate(P,V,J,fe,Ae,De)};var eu=function(P,V,J,fe){this.kind=P,this.zoomStops=J,this._styleExpression=V,this.isStateDependent=P!=="camera"&&!hr(V.expression),this.interpolationType=fe};function Pu(P,V){if((P=lc(P,V)).result==="error")return P;var J=P.value.expression,fe=Qn(J);if(!fe&&!Lu(V))return Ll([new It("","data expressions not supported")]);var Ae=fr(J,["zoom"]);if(!Ae&&!Kl(V))return Ll([new It("","zoom expressions not supported")]);var De=cc(J);if(!De&&!Ae)return Ll([new It("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(De instanceof It)return Ll([De]);if(De instanceof Za&&!cl(V))return Ll([new It("",'"interpolate" expressions cannot be used with this property')]);if(!De)return jc(new Ql(fe?"constant":"source",P.value));var Ge=De instanceof Za?De.interpolation:void 0;return jc(new eu(fe?"camera":"composite",P.value,De.labels,Ge))}eu.prototype.evaluateWithoutErrorHandling=function(P,V,J,fe,Ae,De){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,fe,Ae,De)},eu.prototype.evaluate=function(P,V,J,fe,Ae,De){return this._styleExpression.evaluate(P,V,J,fe,Ae,De)},eu.prototype.interpolationFactor=function(P,V,J){return this.interpolationType?Za.interpolationFactor(this.interpolationType,P,V,J):0};var uc=function(P,V){this._parameters=P,this._specification=V,ut(this,Uc(this._parameters,this._specification))};function cc(P){var V=null;if(P instanceof us)V=cc(P.result);else if(P instanceof Ko)for(var J=0,fe=P.args;Jfe.maximum?[new Ne(V,J,J+" is greater than the maximum value "+fe.maximum)]:[]}function Sf(P){var V,J,fe,Ae=P.valueSpec,De=pt(P.value.type),Ge={},it=De!=="categorical"&&P.value.property===void 0,mt=!it,Ct=qi(P.value.stops)==="array"&&qi(P.value.stops[0])==="array"&&qi(P.value.stops[0][0])==="object",Rt=ys({key:P.key,value:P.value,valueSpec:P.styleSpec.function,style:P.style,styleSpec:P.styleSpec,objectElementValidators:{stops:function(Yt){if(De==="identity")return[new Ne(Yt.key,Yt.value,'identity function may not have a "stops" property')];var hn=[],Mn=Yt.value;return hn=hn.concat(fc({key:Yt.key,value:Mn,valueSpec:Yt.valueSpec,style:Yt.style,styleSpec:Yt.styleSpec,arrayElementValidator:Gt})),qi(Mn)==="array"&&Mn.length===0&&hn.push(new Ne(Yt.key,Mn,"array must have at least one stop")),hn},default:function(Yt){return va({key:Yt.key,value:Yt.value,valueSpec:Ae,style:Yt.style,styleSpec:Yt.styleSpec})}}});return De==="identity"&&it&&Rt.push(new Ne(P.key,P.value,'missing required property "property"')),De==="identity"||P.value.stops||Rt.push(new Ne(P.key,P.value,'missing required property "stops"')),De==="exponential"&&P.valueSpec.expression&&!cl(P.valueSpec)&&Rt.push(new Ne(P.key,P.value,"exponential functions not supported")),P.styleSpec.$version>=8&&(mt&&!Lu(P.valueSpec)?Rt.push(new Ne(P.key,P.value,"property functions not supported")):it&&!Kl(P.valueSpec)&&Rt.push(new Ne(P.key,P.value,"zoom functions not supported"))),De!=="categorical"&&!Ct||P.value.property!==void 0||Rt.push(new Ne(P.key,P.value,'"property" property is required')),Rt;function Gt(Yt){var hn=[],Mn=Yt.value,Nn=Yt.key;if(qi(Mn)!=="array")return[new Ne(Nn,Mn,"array expected, "+qi(Mn)+" found")];if(Mn.length!==2)return[new Ne(Nn,Mn,"array length 2 expected, length "+Mn.length+" found")];if(Ct){if(qi(Mn[0])!=="object")return[new Ne(Nn,Mn,"object expected, "+qi(Mn[0])+" found")];if(Mn[0].zoom===void 0)return[new Ne(Nn,Mn,"object stop key must have zoom")];if(Mn[0].value===void 0)return[new Ne(Nn,Mn,"object stop key must have value")];if(fe&&fe>pt(Mn[0].zoom))return[new Ne(Nn,Mn[0].zoom,"stop zoom values must appear in ascending order")];pt(Mn[0].zoom)!==fe&&(fe=pt(Mn[0].zoom),J=void 0,Ge={}),hn=hn.concat(ys({key:Nn+"[0]",value:Mn[0],valueSpec:{zoom:{}},style:Yt.style,styleSpec:Yt.styleSpec,objectElementValidators:{zoom:hc,value:Zt}}))}else hn=hn.concat(Zt({key:Nn+"[0]",value:Mn[0],valueSpec:{},style:Yt.style,styleSpec:Yt.styleSpec},Mn));return Ou(_t(Mn[1]))?hn.concat([new Ne(Nn+"[1]",Mn[1],"expressions are not allowed in function stops.")]):hn.concat(va({key:Nn+"[1]",value:Mn[1],valueSpec:Ae,style:Yt.style,styleSpec:Yt.styleSpec}))}function Zt(Yt,hn){var Mn=qi(Yt.value),Nn=pt(Yt.value),Bn=Yt.value!==null?Yt.value:hn;if(V){if(Mn!==V)return[new Ne(Yt.key,Bn,Mn+" stop domain type must match previous stop domain type "+V)]}else V=Mn;if(Mn!=="number"&&Mn!=="string"&&Mn!=="boolean")return[new Ne(Yt.key,Bn,"stop domain value must be a number, string, or boolean")];if(Mn!=="number"&&De!=="categorical"){var $n="number expected, "+Mn+" found";return Lu(Ae)&&De===void 0&&($n+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ne(Yt.key,Bn,$n)]}return De!=="categorical"||Mn!=="number"||isFinite(Nn)&&Math.floor(Nn)===Nn?De!=="categorical"&&Mn==="number"&&J!==void 0&&Nn=2&&P[1]!=="$id"&&P[1]!=="$type";case"in":return P.length>=3&&(typeof P[1]!="string"||Array.isArray(P[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return P.length!==3||Array.isArray(P[1])||Array.isArray(P[2]);case"any":case"all":for(var V=0,J=P.slice(1);VV?1:0}function tu(P){if(!Array.isArray(P))return!1;if(P[0]==="within")return!0;for(var V=1;V"||J==="<="||J===">="?ea(P[1],P[2],J):J==="any"?(V=P.slice(1),["any"].concat(V.map(nu))):J==="all"?["all"].concat(P.slice(1).map(nu)):J==="none"?["all"].concat(P.slice(1).map(nu).map(mo)):J==="in"?Pl(P[1],P.slice(2)):J==="!in"?mo(Pl(P[1],P.slice(2))):J==="has"?Dl(P[1]):J==="!has"?mo(Dl(P[1])):J!=="within"||P}function ea(P,V,J){switch(P){case"$type":return["filter-type-"+J,V];case"$id":return["filter-id-"+J,V];default:return["filter-"+J,P,V]}}function Pl(P,V){if(V.length===0)return!1;switch(P){case"$type":return["filter-type-in",["literal",V]];case"$id":return["filter-id-in",["literal",V]];default:return V.length>200&&!V.some(function(J){return typeof J!=typeof V[0]})?["filter-in-large",P,["literal",V.sort(Du)]]:["filter-in-small",P,["literal",V]]}}function Dl(P){switch(P){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",P]}}function mo(P){return["!",P]}function Fi(P){return dc(_t(P.value))?Ol(ut({},P,{expressionContext:"filter",valueSpec:{value:"boolean"}})):ji(P)}function ji(P){var V=P.value,J=P.key;if(qi(V)!=="array")return[new Ne(J,V,"array expected, "+qi(V)+" found")];var fe,Ae=P.styleSpec,De=[];if(V.length<1)return[new Ne(J,V,"filter array must have at least 1 element")];switch(De=De.concat(Hc({key:J+"[0]",value:V[0],valueSpec:Ae.filter_operator,style:P.style,styleSpec:P.styleSpec})),pt(V[0])){case"<":case"<=":case">":case">=":V.length>=2&&pt(V[1])==="$type"&&De.push(new Ne(J,V,'"$type" cannot be use with operator "'+V[0]+'"'));case"==":case"!=":V.length!==3&&De.push(new Ne(J,V,'filter array for operator "'+V[0]+'" must have 3 elements'));case"in":case"!in":V.length>=2&&(fe=qi(V[1]))!=="string"&&De.push(new Ne(J+"[1]",V[1],"string expected, "+fe+" found"));for(var Ge=2;Ge=Rt[Yt+0]&&fe>=Rt[Yt+1])?(Ge[Zt]=!0,De.push(Ct[Zt])):Ge[Zt]=!1}}},Jo.prototype._forEachCell=function(P,V,J,fe,Ae,De,Ge,it){for(var mt=this._convertToCellCoord(P),Ct=this._convertToCellCoord(V),Rt=this._convertToCellCoord(J),Gt=this._convertToCellCoord(fe),Zt=mt;Zt<=Rt;Zt++)for(var Yt=Ct;Yt<=Gt;Yt++){var hn=this.d*Yt+Zt;if((!it||it(this._convertFromCellCoord(Zt),this._convertFromCellCoord(Yt),this._convertFromCellCoord(Zt+1),this._convertFromCellCoord(Yt+1)))&&Ae.call(this,P,V,J,fe,hn,De,Ge,it))return}},Jo.prototype._convertFromCellCoord=function(P){return(P-this.padding)/this.scale},Jo.prototype._convertToCellCoord=function(P){return Math.max(0,Math.min(this.d-1,Math.floor(P*this.scale)+this.padding))},Jo.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var P=this.cells,V=3+this.cells.length+1+1,J=0,fe=0;fe=0)){var Gt=P[Rt];Ct[Rt]=Po[mt].shallow.indexOf(Rt)>=0?Gt:Ru(Gt,V)}P instanceof Error&&(Ct.message=P.message)}if(Ct.$name)throw new Error("$name property is reserved for worker serialization logic.");return mt!=="Object"&&(Ct.$name=mt),Ct}throw new Error("can't serialize object of type "+typeof P)}function zu(P){if(P==null||typeof P=="boolean"||typeof P=="number"||typeof P=="string"||P instanceof Boolean||P instanceof Number||P instanceof String||P instanceof Date||P instanceof RegExp||jo(P)||$c(P)||ArrayBuffer.isView(P)||P instanceof Wc)return P;if(Array.isArray(P))return P.map(zu);if(typeof P=="object"){var V=P.$name||"Object",J=Po[V].klass;if(!J)throw new Error("can't deserialize unregistered class "+V);if(J.deserialize)return J.deserialize(P);for(var fe=Object.create(J.prototype),Ae=0,De=Object.keys(P);Ae=0?it:zu(it)}}return fe}throw new Error("can't deserialize object of type "+typeof P)}var Fu=function(){this.first=!0};Fu.prototype.update=function(P,V){var J=Math.floor(P);return this.first?(this.first=!1,this.lastIntegerZoom=J,this.lastIntegerZoomTime=0,this.lastZoom=P,this.lastFloorZoom=J,!0):(this.lastFloorZoom>J?(this.lastIntegerZoom=J+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&P<=255},Arabic:function(P){return P>=1536&&P<=1791},"Arabic Supplement":function(P){return P>=1872&&P<=1919},"Arabic Extended-A":function(P){return P>=2208&&P<=2303},"Hangul Jamo":function(P){return P>=4352&&P<=4607},"Unified Canadian Aboriginal Syllabics":function(P){return P>=5120&&P<=5759},Khmer:function(P){return P>=6016&&P<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(P){return P>=6320&&P<=6399},"General Punctuation":function(P){return P>=8192&&P<=8303},"Letterlike Symbols":function(P){return P>=8448&&P<=8527},"Number Forms":function(P){return P>=8528&&P<=8591},"Miscellaneous Technical":function(P){return P>=8960&&P<=9215},"Control Pictures":function(P){return P>=9216&&P<=9279},"Optical Character Recognition":function(P){return P>=9280&&P<=9311},"Enclosed Alphanumerics":function(P){return P>=9312&&P<=9471},"Geometric Shapes":function(P){return P>=9632&&P<=9727},"Miscellaneous Symbols":function(P){return P>=9728&&P<=9983},"Miscellaneous Symbols and Arrows":function(P){return P>=11008&&P<=11263},"CJK Radicals Supplement":function(P){return P>=11904&&P<=12031},"Kangxi Radicals":function(P){return P>=12032&&P<=12255},"Ideographic Description Characters":function(P){return P>=12272&&P<=12287},"CJK Symbols and Punctuation":function(P){return P>=12288&&P<=12351},Hiragana:function(P){return P>=12352&&P<=12447},Katakana:function(P){return P>=12448&&P<=12543},Bopomofo:function(P){return P>=12544&&P<=12591},"Hangul Compatibility Jamo":function(P){return P>=12592&&P<=12687},Kanbun:function(P){return P>=12688&&P<=12703},"Bopomofo Extended":function(P){return P>=12704&&P<=12735},"CJK Strokes":function(P){return P>=12736&&P<=12783},"Katakana Phonetic Extensions":function(P){return P>=12784&&P<=12799},"Enclosed CJK Letters and Months":function(P){return P>=12800&&P<=13055},"CJK Compatibility":function(P){return P>=13056&&P<=13311},"CJK Unified Ideographs Extension A":function(P){return P>=13312&&P<=19903},"Yijing Hexagram Symbols":function(P){return P>=19904&&P<=19967},"CJK Unified Ideographs":function(P){return P>=19968&&P<=40959},"Yi Syllables":function(P){return P>=40960&&P<=42127},"Yi Radicals":function(P){return P>=42128&&P<=42191},"Hangul Jamo Extended-A":function(P){return P>=43360&&P<=43391},"Hangul Syllables":function(P){return P>=44032&&P<=55215},"Hangul Jamo Extended-B":function(P){return P>=55216&&P<=55295},"Private Use Area":function(P){return P>=57344&&P<=63743},"CJK Compatibility Ideographs":function(P){return P>=63744&&P<=64255},"Arabic Presentation Forms-A":function(P){return P>=64336&&P<=65023},"Vertical Forms":function(P){return P>=65040&&P<=65055},"CJK Compatibility Forms":function(P){return P>=65072&&P<=65103},"Small Form Variants":function(P){return P>=65104&&P<=65135},"Arabic Presentation Forms-B":function(P){return P>=65136&&P<=65279},"Halfwidth and Fullwidth Forms":function(P){return P>=65280&&P<=65519}};function Bu(P){for(var V=0,J=P;V=65097&&P<=65103)||Ur["CJK Compatibility Ideographs"](P)||Ur["CJK Compatibility"](P)||Ur["CJK Radicals Supplement"](P)||Ur["CJK Strokes"](P)||!(!Ur["CJK Symbols and Punctuation"](P)||P>=12296&&P<=12305||P>=12308&&P<=12319||P===12336)||Ur["CJK Unified Ideographs Extension A"](P)||Ur["CJK Unified Ideographs"](P)||Ur["Enclosed CJK Letters and Months"](P)||Ur["Hangul Compatibility Jamo"](P)||Ur["Hangul Jamo Extended-A"](P)||Ur["Hangul Jamo Extended-B"](P)||Ur["Hangul Jamo"](P)||Ur["Hangul Syllables"](P)||Ur.Hiragana(P)||Ur["Ideographic Description Characters"](P)||Ur.Kanbun(P)||Ur["Kangxi Radicals"](P)||Ur["Katakana Phonetic Extensions"](P)||Ur.Katakana(P)&&P!==12540||!(!Ur["Halfwidth and Fullwidth Forms"](P)||P===65288||P===65289||P===65293||P>=65306&&P<=65310||P===65339||P===65341||P===65343||P>=65371&&P<=65503||P===65507||P>=65512&&P<=65519)||!(!Ur["Small Form Variants"](P)||P>=65112&&P<=65118||P>=65123&&P<=65126)||Ur["Unified Canadian Aboriginal Syllabics"](P)||Ur["Unified Canadian Aboriginal Syllabics Extended"](P)||Ur["Vertical Forms"](P)||Ur["Yijing Hexagram Symbols"](P)||Ur["Yi Syllables"](P)||Ur["Yi Radicals"](P))))}function Yc(P){return!(xs(P)||function(V){return!!(Ur["Latin-1 Supplement"](V)&&(V===167||V===169||V===174||V===177||V===188||V===189||V===190||V===215||V===247)||Ur["General Punctuation"](V)&&(V===8214||V===8224||V===8225||V===8240||V===8241||V===8251||V===8252||V===8258||V===8263||V===8264||V===8265||V===8273)||Ur["Letterlike Symbols"](V)||Ur["Number Forms"](V)||Ur["Miscellaneous Technical"](V)&&(V>=8960&&V<=8967||V>=8972&&V<=8991||V>=8996&&V<=9e3||V===9003||V>=9085&&V<=9114||V>=9150&&V<=9165||V===9167||V>=9169&&V<=9179||V>=9186&&V<=9215)||Ur["Control Pictures"](V)&&V!==9251||Ur["Optical Character Recognition"](V)||Ur["Enclosed Alphanumerics"](V)||Ur["Geometric Shapes"](V)||Ur["Miscellaneous Symbols"](V)&&!(V>=9754&&V<=9759)||Ur["Miscellaneous Symbols and Arrows"](V)&&(V>=11026&&V<=11055||V>=11088&&V<=11097||V>=11192&&V<=11243)||Ur["CJK Symbols and Punctuation"](V)||Ur.Katakana(V)||Ur["Private Use Area"](V)||Ur["CJK Compatibility Forms"](V)||Ur["Small Form Variants"](V)||Ur["Halfwidth and Fullwidth Forms"](V)||V===8734||V===8756||V===8757||V>=9984&&V<=10087||V>=10102&&V<=10131||V===65532||V===65533)}(P))}function mc(P){return Ur.Arabic(P)||Ur["Arabic Supplement"](P)||Ur["Arabic Extended-A"](P)||Ur["Arabic Presentation Forms-A"](P)||Ur["Arabic Presentation Forms-B"](P)}function yo(P){return P>=1424&&P<=2303||Ur["Arabic Presentation Forms-A"](P)||Ur["Arabic Presentation Forms-B"](P)}function lu(P,V){return!(!V&&yo(P)||P>=2304&&P<=3583||P>=3840&&P<=4255||Ur.Khmer(P))}function dl(P){for(var V=0,J=P;V-1&&(bo=_s),uu&&uu(P)};function gc(){cs.fire(new We("pluginStateChange",{pluginStatus:bo,pluginURL:ws}))}var cs=new ht,Ts=function(){return bo},Zs=function(){if(bo!==Qo||!ws)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");bo=zl,gc(),ws&&Ft({url:ws},function(P){P?Ki(P):(bo=Os,gc())})},Uo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return bo===Os||Uo.applyArabicShaping!=null},isLoading:function(){return bo===zl},setState:function(P){bo=P.pluginStatus,ws=P.pluginURL},isParsed:function(){return Uo.applyArabicShaping!=null&&Uo.processBidirectionalText!=null&&Uo.processStyledBidirectionalText!=null},getPluginURL:function(){return ws}},Yi=function(P,V){this.zoom=P,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Fu,this.transition={})};Yi.prototype.isSupportedScript=function(P){return function(V,J){for(var fe=0,Ae=V;fethis.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*J}:{fromScale:.5,toScale:1,t:1-(1-J)*V}};var io=function(P,V){this.property=P,this.value=V,this.expression=function(J,fe){if(Il(J))return new uc(J,fe);if(Ou(J)){var Ae=Pu(J,fe);if(Ae.result==="error")throw new Error(Ae.value.map(function(Ge){return Ge.key+": "+Ge.message}).join(", "));return Ae.value}var De=J;return typeof J=="string"&&fe.type==="color"&&(De=pn.parse(J)),{kind:"constant",evaluate:function(){return De}}}(V===void 0?P.specification.default:V,P.specification)};io.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},io.prototype.possiblyEvaluate=function(P,V,J){return this.property.possiblyEvaluate(this,P,V,J)};var Ps=function(P){this.property=P,this.value=new io(P,void 0)};Ps.prototype.transitioned=function(P,V){return new Xs(this.property,this.value,V,m({},P.transition,this.transition),P.now)},Ps.prototype.untransitioned=function(){return new Xs(this.property,this.value,null,{},0)};var Ho=function(P){this._properties=P,this._values=Object.create(P.defaultTransitionablePropertyValues)};Ho.prototype.getValue=function(P){return L(this._values[P].value.value)},Ho.prototype.setValue=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Ps(this._values[P].property)),this._values[P].value=new io(this._values[P].property,V===null?void 0:L(V))},Ho.prototype.getTransition=function(P){return L(this._values[P].transition)},Ho.prototype.setTransition=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Ps(this._values[P].property)),this._values[P].transition=L(V)||void 0},Ho.prototype.serialize=function(){for(var P={},V=0,J=Object.keys(this._values);Vthis.end)return this.prior=null,Ae;if(this.value.isDataDriven())return this.prior=null,Ae;if(fe=1)return 1;var mt=it*it,Ct=mt*it;return 4*(it<.5?Ct:3*(it-mt)+Ct-.75)}(Ge))}return Ae};var Fl=function(P){this._properties=P,this._values=Object.create(P.defaultTransitioningPropertyValues)};Fl.prototype.possiblyEvaluate=function(P,V,J){for(var fe=new ks(this._properties),Ae=0,De=Object.keys(this._values);AeDe.zoomHistory.lastIntegerZoom?{from:J,to:fe}:{from:Ae,to:fe}},V.prototype.interpolate=function(J){return J},V}(oi),ml=function(P){this.specification=P};ml.prototype.possiblyEvaluate=function(P,V,J,fe){if(P.value!==void 0){if(P.expression.kind==="constant"){var Ae=P.expression.evaluate(V,null,{},J,fe);return this._calculate(Ae,Ae,Ae,V)}return this._calculate(P.expression.evaluate(new Yi(Math.floor(V.zoom-1),V)),P.expression.evaluate(new Yi(Math.floor(V.zoom),V)),P.expression.evaluate(new Yi(Math.floor(V.zoom+1),V)),V)}},ml.prototype._calculate=function(P,V,J,fe){return fe.zoom>fe.zoomHistory.lastIntegerZoom?{from:P,to:V}:{from:J,to:V}},ml.prototype.interpolate=function(P){return P};var Ds=function(P){this.specification=P};Ds.prototype.possiblyEvaluate=function(P,V,J,fe){return!!P.expression.evaluate(V,null,{},J,fe)},Ds.prototype.interpolate=function(){return!1};var _o=function(P){for(var V in this.properties=P,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],P){var J=P[V];J.specification.overridable&&this.overridableProperties.push(V);var fe=this.defaultPropertyValues[V]=new io(J,void 0),Ae=this.defaultTransitionablePropertyValues[V]=new Ps(J);this.defaultTransitioningPropertyValues[V]=Ae.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=fe.possiblyEvaluate({})}};Br("DataDrivenProperty",oi),Br("DataConstantProperty",$r),Br("CrossFadedDataDrivenProperty",Nu),Br("CrossFadedProperty",ml),Br("ColorRampProperty",Ds);var Zc="-transition",Go=function(P){function V(J,fe){if(P.call(this),this.id=J.id,this.type=J.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},J.type!=="custom"&&(this.metadata=J.metadata,this.minzoom=J.minzoom,this.maxzoom=J.maxzoom,J.type!=="background"&&(this.source=J.source,this.sourceLayer=J["source-layer"],this.filter=J.filter),fe.layout&&(this._unevaluatedLayout=new pl(fe.layout)),fe.paint)){for(var Ae in this._transitionablePaint=new Ho(fe.paint),J.paint)this.setPaintProperty(Ae,J.paint[Ae],{validate:!1});for(var De in J.layout)this.setLayoutProperty(De,J.layout[De],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new ks(fe.paint)}}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},V.prototype.getLayoutProperty=function(J){return J==="visibility"?this.visibility:this._unevaluatedLayout.getValue(J)},V.prototype.setLayoutProperty=function(J,fe,Ae){if(Ae===void 0&&(Ae={}),fe!=null){var De="layers."+this.id+".layout."+J;if(this._validate(Rl,De,J,fe,Ae))return}J!=="visibility"?this._unevaluatedLayout.setValue(J,fe):this.visibility=fe},V.prototype.getPaintProperty=function(J){return E(J,Zc)?this._transitionablePaint.getTransition(J.slice(0,-Zc.length)):this._transitionablePaint.getValue(J)},V.prototype.setPaintProperty=function(J,fe,Ae){if(Ae===void 0&&(Ae={}),fe!=null){var De="layers."+this.id+".paint."+J;if(this._validate(Vo,De,J,fe,Ae))return!1}if(E(J,Zc))return this._transitionablePaint.setTransition(J.slice(0,-Zc.length),fe||void 0),!1;var Ge=this._transitionablePaint._values[J],it=Ge.property.specification["property-type"]==="cross-faded-data-driven",mt=Ge.value.isDataDriven(),Ct=Ge.value;this._transitionablePaint.setValue(J,fe),this._handleSpecialPaintPropertyUpdate(J);var Rt=this._transitionablePaint._values[J].value;return Rt.isDataDriven()||mt||it||this._handleOverridablePaintPropertyUpdate(J,Ct,Rt)},V.prototype._handleSpecialPaintPropertyUpdate=function(J){},V.prototype._handleOverridablePaintPropertyUpdate=function(J,fe,Ae){return!1},V.prototype.isHidden=function(J){return!!(this.minzoom&&J=this.maxzoom)||this.visibility==="none"},V.prototype.updateTransitions=function(J){this._transitioningPaint=this._transitionablePaint.transitioned(J,this._transitioningPaint)},V.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},V.prototype.recalculate=function(J,fe){J.getCrossfadeParameters&&(this._crossfadeParameters=J.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(J,void 0,fe)),this.paint=this._transitioningPaint.possiblyEvaluate(J,void 0,fe)},V.prototype.serialize=function(){var J={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&&(J.layout=J.layout||{},J.layout.visibility=this.visibility),A(J,function(fe,Ae){return!(fe===void 0||Ae==="layout"&&!Object.keys(fe).length||Ae==="paint"&&!Object.keys(fe).length)})},V.prototype._validate=function(J,fe,Ae,De,Ge){return Ge===void 0&&(Ge={}),(!Ge||Ge.validate!==!1)&&bs(this,J.call(vo,{key:fe,layerType:this.type,objectKey:Ae,value:De,styleSpec:Oe,style:{glyphs:!0,sprite:!0}}))},V.prototype.is3D=function(){return!1},V.prototype.isTileClipped=function(){return!1},V.prototype.hasOffscreenPass=function(){return!1},V.prototype.resize=function(){},V.prototype.isStateDependent=function(){for(var J in this.paint._values){var fe=this.paint.get(J);if(fe instanceof xo&&Lu(fe.property.specification)&&(fe.value.kind==="source"||fe.value.kind==="composite")&&fe.value.isStateDependent)return!0}return!1},V}(ht),Vu={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},vl=function(P,V){this._structArray=P,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},ta=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function ua(P,V){V===void 0&&(V=1);var J=0,fe=0;return{members:P.map(function(Ae){var De,Ge=(De=Ae.type,Vu[De].BYTES_PER_ELEMENT),it=J=Xc(J,Math.max(V,Ge)),mt=Ae.components||1;return fe=Math.max(fe,Ge),J+=Ge*mt,{name:Ae.name,type:Ae.type,components:mt,offset:it}}),size:Xc(J,Math.max(fe,V)),alignment:V}}function Xc(P,V){return Math.ceil(P/V)*V}ta.serialize=function(P,V){return P._trim(),V&&(P.isTransferred=!0,V.push(P.arrayBuffer)),{length:P.length,arrayBuffer:P.arrayBuffer}},ta.deserialize=function(P){var V=Object.create(this.prototype);return V.arrayBuffer=P.arrayBuffer,V.length=P.length,V.capacity=P.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},ta.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},ta.prototype.clear=function(){this.length=0},ta.prototype.resize=function(P){this.reserve(P),this.length=P},ta.prototype.reserve=function(P){if(P>this.capacity){this.capacity=Math.max(P,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},ta.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var et=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,fe)},V.prototype.emplace=function(J,fe,Ae){var De=2*J;return this.int16[De+0]=fe,this.int16[De+1]=Ae,J},V}(ta);et.prototype.bytesPerElement=4,Br("StructArrayLayout2i4",et);var rt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,fe,Ae,De)},V.prototype.emplace=function(J,fe,Ae,De,Ge){var it=4*J;return this.int16[it+0]=fe,this.int16[it+1]=Ae,this.int16[it+2]=De,this.int16[it+3]=Ge,J},V}(ta);rt.prototype.bytesPerElement=8,Br("StructArrayLayout4i8",rt);var ct=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it){var mt=this.length;return this.resize(mt+1),this.emplace(mt,J,fe,Ae,De,Ge,it)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt){var Ct=6*J;return this.int16[Ct+0]=fe,this.int16[Ct+1]=Ae,this.int16[Ct+2]=De,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=mt,J},V}(ta);ct.prototype.bytesPerElement=12,Br("StructArrayLayout2i4i12",ct);var vt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it){var mt=this.length;return this.resize(mt+1),this.emplace(mt,J,fe,Ae,De,Ge,it)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt){var Ct=4*J,Rt=8*J;return this.int16[Ct+0]=fe,this.int16[Ct+1]=Ae,this.uint8[Rt+4]=De,this.uint8[Rt+5]=Ge,this.uint8[Rt+6]=it,this.uint8[Rt+7]=mt,J},V}(ta);vt.prototype.bytesPerElement=8,Br("StructArrayLayout2i4ub8",vt);var St=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt){var Zt=this.length;return this.resize(Zt+1),this.emplace(Zt,J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt){var Yt=9*J,hn=18*J;return this.uint16[Yt+0]=fe,this.uint16[Yt+1]=Ae,this.uint16[Yt+2]=De,this.uint16[Yt+3]=Ge,this.uint16[Yt+4]=it,this.uint16[Yt+5]=mt,this.uint16[Yt+6]=Ct,this.uint16[Yt+7]=Rt,this.uint8[hn+16]=Gt,this.uint8[hn+17]=Zt,J},V}(ta);St.prototype.bytesPerElement=18,Br("StructArrayLayout8ui2ub18",St);var Mt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt){var hn=this.length;return this.resize(hn+1),this.emplace(hn,J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn){var Mn=12*J;return this.int16[Mn+0]=fe,this.int16[Mn+1]=Ae,this.int16[Mn+2]=De,this.int16[Mn+3]=Ge,this.uint16[Mn+4]=it,this.uint16[Mn+5]=mt,this.uint16[Mn+6]=Ct,this.uint16[Mn+7]=Rt,this.int16[Mn+8]=Gt,this.int16[Mn+9]=Zt,this.int16[Mn+10]=Yt,this.int16[Mn+11]=hn,J},V}(ta);Mt.prototype.bytesPerElement=24,Br("StructArrayLayout4i4ui4i24",Mt);var $=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var De=this.length;return this.resize(De+1),this.emplace(De,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,De){var Ge=3*J;return this.float32[Ge+0]=fe,this.float32[Ge+1]=Ae,this.float32[Ge+2]=De,J},V}(ta);$.prototype.bytesPerElement=12,Br("StructArrayLayout3f12",$);var ee=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var fe=this.length;return this.resize(fe+1),this.emplace(fe,J)},V.prototype.emplace=function(J,fe){var Ae=1*J;return this.uint32[Ae+0]=fe,J},V}(ta);ee.prototype.bytesPerElement=4,Br("StructArrayLayout1ul4",ee);var K=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.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)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt){var Gt=this.length;return this.resize(Gt+1),this.emplace(Gt,J,fe,Ae,De,Ge,it,mt,Ct,Rt)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt){var Zt=10*J,Yt=5*J;return this.int16[Zt+0]=fe,this.int16[Zt+1]=Ae,this.int16[Zt+2]=De,this.int16[Zt+3]=Ge,this.int16[Zt+4]=it,this.int16[Zt+5]=mt,this.uint32[Yt+3]=Ct,this.uint16[Zt+8]=Rt,this.uint16[Zt+9]=Gt,J},V}(ta);K.prototype.bytesPerElement=20,Br("StructArrayLayout6i1ul2ui20",K);var le=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it){var mt=this.length;return this.resize(mt+1),this.emplace(mt,J,fe,Ae,De,Ge,it)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt){var Ct=6*J;return this.int16[Ct+0]=fe,this.int16[Ct+1]=Ae,this.int16[Ct+2]=De,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=mt,J},V}(ta);le.prototype.bytesPerElement=12,Br("StructArrayLayout2i2i2i12",le);var Te=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge){var it=this.length;return this.resize(it+1),this.emplace(it,J,fe,Ae,De,Ge)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it){var mt=4*J,Ct=8*J;return this.float32[mt+0]=fe,this.float32[mt+1]=Ae,this.float32[mt+2]=De,this.int16[Ct+6]=Ge,this.int16[Ct+7]=it,J},V}(ta);Te.prototype.bytesPerElement=16,Br("StructArrayLayout2f1f2i16",Te);var Re=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,fe,Ae,De)},V.prototype.emplace=function(J,fe,Ae,De,Ge){var it=12*J,mt=3*J;return this.uint8[it+0]=fe,this.uint8[it+1]=Ae,this.float32[mt+1]=De,this.float32[mt+2]=Ge,J},V}(ta);Re.prototype.bytesPerElement=12,Br("StructArrayLayout2ub2f12",Re);var He=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var De=this.length;return this.resize(De+1),this.emplace(De,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,De){var Ge=3*J;return this.uint16[Ge+0]=fe,this.uint16[Ge+1]=Ae,this.uint16[Ge+2]=De,J},V}(ta);He.prototype.bytesPerElement=6,Br("StructArrayLayout3ui6",He);var Ze=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.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)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn,Mn,Nn,Bn,$n){var Xn=this.length;return this.resize(Xn+1),this.emplace(Xn,J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn,Mn,Nn,Bn,$n)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn,Mn,Nn,Bn,$n,Xn){var er=24*J,sr=12*J,dr=48*J;return this.int16[er+0]=fe,this.int16[er+1]=Ae,this.uint16[er+2]=De,this.uint16[er+3]=Ge,this.uint32[sr+2]=it,this.uint32[sr+3]=mt,this.uint32[sr+4]=Ct,this.uint16[er+10]=Rt,this.uint16[er+11]=Gt,this.uint16[er+12]=Zt,this.float32[sr+7]=Yt,this.float32[sr+8]=hn,this.uint8[dr+36]=Mn,this.uint8[dr+37]=Nn,this.uint8[dr+38]=Bn,this.uint32[sr+10]=$n,this.int16[er+22]=Xn,J},V}(ta);Ze.prototype.bytesPerElement=48,Br("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Ze);var at=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.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)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn,Mn,Nn,Bn,$n,Xn,er,sr,dr,zr,Ar,Hr,Qr,pi,ri,di){var si=this.length;return this.resize(si+1),this.emplace(si,J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn,Mn,Nn,Bn,$n,Xn,er,sr,dr,zr,Ar,Hr,Qr,pi,ri,di)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn,Mn,Nn,Bn,$n,Xn,er,sr,dr,zr,Ar,Hr,Qr,pi,ri,di,si){var ti=34*J,Bi=17*J;return this.int16[ti+0]=fe,this.int16[ti+1]=Ae,this.int16[ti+2]=De,this.int16[ti+3]=Ge,this.int16[ti+4]=it,this.int16[ti+5]=mt,this.int16[ti+6]=Ct,this.int16[ti+7]=Rt,this.uint16[ti+8]=Gt,this.uint16[ti+9]=Zt,this.uint16[ti+10]=Yt,this.uint16[ti+11]=hn,this.uint16[ti+12]=Mn,this.uint16[ti+13]=Nn,this.uint16[ti+14]=Bn,this.uint16[ti+15]=$n,this.uint16[ti+16]=Xn,this.uint16[ti+17]=er,this.uint16[ti+18]=sr,this.uint16[ti+19]=dr,this.uint16[ti+20]=zr,this.uint16[ti+21]=Ar,this.uint16[ti+22]=Hr,this.uint32[Bi+12]=Qr,this.float32[Bi+13]=pi,this.float32[Bi+14]=ri,this.float32[Bi+15]=di,this.float32[Bi+16]=si,J},V}(ta);at.prototype.bytesPerElement=68,Br("StructArrayLayout8i15ui1ul4f68",at);var Tt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var fe=this.length;return this.resize(fe+1),this.emplace(fe,J)},V.prototype.emplace=function(J,fe){var Ae=1*J;return this.float32[Ae+0]=fe,J},V}(ta);Tt.prototype.bytesPerElement=4,Br("StructArrayLayout1f4",Tt);var At=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var De=this.length;return this.resize(De+1),this.emplace(De,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,De){var Ge=3*J;return this.int16[Ge+0]=fe,this.int16[Ge+1]=Ae,this.int16[Ge+2]=De,J},V}(ta);At.prototype.bytesPerElement=6,Br("StructArrayLayout3i6",At);var se=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var De=this.length;return this.resize(De+1),this.emplace(De,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,De){var Ge=2*J,it=4*J;return this.uint32[Ge+0]=fe,this.uint16[it+2]=Ae,this.uint16[it+3]=De,J},V}(ta);se.prototype.bytesPerElement=8,Br("StructArrayLayout1ul2ui8",se);var ve=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,fe)},V.prototype.emplace=function(J,fe,Ae){var De=2*J;return this.uint16[De+0]=fe,this.uint16[De+1]=Ae,J},V}(ta);ve.prototype.bytesPerElement=4,Br("StructArrayLayout2ui4",ve);var Ie=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var fe=this.length;return this.resize(fe+1),this.emplace(fe,J)},V.prototype.emplace=function(J,fe){var Ae=1*J;return this.uint16[Ae+0]=fe,J},V}(ta);Ie.prototype.bytesPerElement=2,Br("StructArrayLayout1ui2",Ie);var Fe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,fe)},V.prototype.emplace=function(J,fe,Ae){var De=2*J;return this.float32[De+0]=fe,this.float32[De+1]=Ae,J},V}(ta);Fe.prototype.bytesPerElement=8,Br("StructArrayLayout2f8",Fe);var Ue=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,fe,Ae,De)},V.prototype.emplace=function(J,fe,Ae,De,Ge){var it=4*J;return this.float32[it+0]=fe,this.float32[it+1]=Ae,this.float32[it+2]=De,this.float32[it+3]=Ge,J},V}(ta);Ue.prototype.bytesPerElement=16,Br("StructArrayLayout4f16",Ue);var qe=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={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 J.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},J.x1.get=function(){return this._structArray.int16[this._pos2+2]},J.y1.get=function(){return this._structArray.int16[this._pos2+3]},J.x2.get=function(){return this._structArray.int16[this._pos2+4]},J.y2.get=function(){return this._structArray.int16[this._pos2+5]},J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.anchorPoint.get=function(){return new a(this.anchorPointX,this.anchorPointY)},Object.defineProperties(V.prototype,J),V}(vl);qe.prototype.size=20;var Xe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new qe(this,J)},V}(K);Br("CollisionBoxArray",Xe);var tt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={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 J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},J.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},J.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},J.segment.get=function(){return this._structArray.uint16[this._pos2+10]},J.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},J.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},J.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},J.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},J.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},J.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},J.placedOrientation.set=function(fe){this._structArray.uint8[this._pos1+37]=fe},J.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},J.hidden.set=function(fe){this._structArray.uint8[this._pos1+38]=fe},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},J.crossTileID.set=function(fe){this._structArray.uint32[this._pos4+10]=fe},J.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(V.prototype,J),V}(vl);tt.prototype.size=48;var lt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new tt(this,J)},V}(Ze);Br("PlacedSymbolArray",lt);var gt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={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 J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},J.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},J.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},J.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},J.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},J.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},J.key.get=function(){return this._structArray.uint16[this._pos2+8]},J.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},J.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},J.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},J.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},J.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},J.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},J.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},J.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},J.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},J.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},J.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},J.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},J.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},J.crossTileID.set=function(fe){this._structArray.uint32[this._pos4+12]=fe},J.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},J.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},J.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},J.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(V.prototype,J),V}(vl);gt.prototype.size=68;var zt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new gt(this,J)},V}(at);Br("SymbolInstanceArray",zt);var Ut=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getoffsetX=function(J){return this.float32[1*J+0]},V}(Tt);Br("GlyphOffsetArray",Ut);var Ht=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getx=function(J){return this.int16[3*J+0]},V.prototype.gety=function(J){return this.int16[3*J+1]},V.prototype.gettileUnitDistanceFromAnchor=function(J){return this.int16[3*J+2]},V}(At);Br("SymbolLineVertexArray",Ht);var en=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(V.prototype,J),V}(vl);en.prototype.size=8;var vn=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new en(this,J)},V}(se);Br("FeatureIndexArray",vn);var tn=ua([{name:"a_pos",components:2,type:"Int16"}],4).members,ln=function(P){P===void 0&&(P=[]),this.segments=P};function an(P,V){return 256*(P=h(Math.floor(P),0,255))+h(Math.floor(V),0,255)}ln.prototype.prepareSegment=function(P,V,J,fe){var Ae=this.segments[this.segments.length-1];return P>ln.MAX_VERTEX_ARRAY_LENGTH&&O("Max vertices per segment is "+ln.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+P),(!Ae||Ae.vertexLength+P>ln.MAX_VERTEX_ARRAY_LENGTH||Ae.sortKey!==fe)&&(Ae={vertexOffset:V.length,primitiveOffset:J.length,vertexLength:0,primitiveLength:0},fe!==void 0&&(Ae.sortKey=fe),this.segments.push(Ae)),Ae},ln.prototype.get=function(){return this.segments},ln.prototype.destroy=function(){for(var P=0,V=this.segments;P>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*mt+(((Ct>>>16)*mt&65535)<<16)&4294967295)<<13|De>>>19))+((5*(De>>>16)&65535)<<16)&4294967295))+((58964+(Ge>>>16)&65535)<<16);switch(Ct=0,fe){case 3:Ct^=(255&V.charCodeAt(Rt+2))<<16;case 2:Ct^=(255&V.charCodeAt(Rt+1))<<8;case 1:De^=Ct=(65535&(Ct=(Ct=(65535&(Ct^=255&V.charCodeAt(Rt)))*it+(((Ct>>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*mt+(((Ct>>>16)*mt&65535)<<16)&4294967295}return De^=V.length,De=2246822507*(65535&(De^=De>>>16))+((2246822507*(De>>>16)&65535)<<16)&4294967295,De=3266489909*(65535&(De^=De>>>13))+((3266489909*(De>>>16)&65535)<<16)&4294967295,(De^=De>>>16)>>>0}}),on=M(function(P){P.exports=function(V,J){for(var fe,Ae=V.length,De=J^Ae,Ge=0;Ae>=4;)fe=1540483477*(65535&(fe=255&V.charCodeAt(Ge)|(255&V.charCodeAt(++Ge))<<8|(255&V.charCodeAt(++Ge))<<16|(255&V.charCodeAt(++Ge))<<24))+((1540483477*(fe>>>16)&65535)<<16),De=1540483477*(65535&De)+((1540483477*(De>>>16)&65535)<<16)^(fe=1540483477*(65535&(fe^=fe>>>24))+((1540483477*(fe>>>16)&65535)<<16)),Ae-=4,++Ge;switch(Ae){case 3:De^=(255&V.charCodeAt(Ge+2))<<16;case 2:De^=(255&V.charCodeAt(Ge+1))<<8;case 1:De=1540483477*(65535&(De^=255&V.charCodeAt(Ge)))+((1540483477*(De>>>16)&65535)<<16)}return De=1540483477*(65535&(De^=De>>>13))+((1540483477*(De>>>16)&65535)<<16),(De^=De>>>15)>>>0}}),Fn=_n,Hn=_n,ir=on;Fn.murmur3=Hn,Fn.murmur2=ir;var ar=function(){this.ids=[],this.positions=[],this.indexed=!1};ar.prototype.add=function(P,V,J,fe){this.ids.push(Or(P)),this.positions.push(V,J,fe)},ar.prototype.getPositions=function(P){for(var V=Or(P),J=0,fe=this.ids.length-1;J>1;this.ids[Ae]>=V?fe=Ae:J=Ae+1}for(var De=[];this.ids[J]===V;){var Ge=this.positions[3*J],it=this.positions[3*J+1],mt=this.positions[3*J+2];De.push({index:Ge,start:it,end:mt}),J++}return De},ar.serialize=function(P,V){var J=new Float64Array(P.ids),fe=new Uint32Array(P.positions);return _r(J,fe,0,J.length-1),V&&V.push(J.buffer,fe.buffer),{ids:J,positions:fe}},ar.deserialize=function(P){var V=new ar;return V.ids=P.ids,V.positions=P.positions,V.indexed=!0,V};var Cr=Math.pow(2,53)-1;function Or(P){var V=+P;return!isNaN(V)&&V<=Cr?V:Fn(String(P))}function _r(P,V,J,fe){for(;J>1],De=J-1,Ge=fe+1;;){do De++;while(P[De]Ae);if(De>=Ge)break;Sr(P,De,Ge),Sr(V,3*De,3*Ge),Sr(V,3*De+1,3*Ge+1),Sr(V,3*De+2,3*Ge+2)}Ge-Jwo.max||Ge.ywo.max)&&(O("Geometry exceeds allowed extent, reduce your vector tile buffer size"),Ge.x=h(Ge.x,wo.min,wo.max),Ge.y=h(Ge.y,wo.min,wo.max))}return J}function Rs(P,V,J,fe,Ae){P.emplaceBack(2*V+(fe+1)/2,2*J+(Ae+1)/2)}var zi=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new et,this.indexArray=new He,this.segments=new ln,this.programConfigurations=new Pa(tn,P.layers,P.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function Ja(P,V){for(var J=0;J1){if(k0(P,V))return!0;for(var fe=0;fe1?P.distSqr(J):P.distSqr(J.sub(V)._mult(Ae)._add(V))}function Xh(P,V){for(var J,fe,Ae,De=!1,Ge=0;GeV.y!=Ae.y>V.y&&V.x<(Ae.x-fe.x)*(V.y-fe.y)/(Ae.y-fe.y)+fe.x&&(De=!De);return De}function gh(P,V){for(var J=!1,fe=0,Ae=P.length-1;feV.y!=Ge.y>V.y&&V.x<(Ge.x-De.x)*(V.y-De.y)/(Ge.y-De.y)+De.x&&(J=!J)}return J}function b1(P,V,J){var fe=J[0],Ae=J[2];if(P.xAe.x&&V.x>Ae.x||P.yAe.y&&V.y>Ae.y)return!1;var De=I(P,V,J[0]);return De!==I(P,V,J[1])||De!==I(P,V,J[2])||De!==I(P,V,J[3])}function If(P,V,J){var fe=V.paint.get(P).value;return fe.kind==="constant"?fe.value:J.programConfigurations.get(V.id).getMaxValue(P)}function gg(P){return Math.sqrt(P[0]*P[0]+P[1]*P[1])}function vg(P,V,J,fe,Ae){if(!V[0]&&!V[1])return P;var De=a.convert(V)._mult(Ae);J==="viewport"&&De._rotate(-fe);for(var Ge=[],it=0;it=hi||Rt<0||Rt>=hi)){var Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,P.sortKey),Zt=Gt.vertexLength;Rs(this.layoutVertexArray,Ct,Rt,-1,-1),Rs(this.layoutVertexArray,Ct,Rt,1,-1),Rs(this.layoutVertexArray,Ct,Rt,1,1),Rs(this.layoutVertexArray,Ct,Rt,-1,1),this.indexArray.emplaceBack(Zt,Zt+1,Zt+2),this.indexArray.emplaceBack(Zt,Zt+3,Zt+2),Gt.vertexLength+=4,Gt.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,P,J,{},fe)},Br("CircleBucket",zi,{omit:["layers"]});var f8=new _o({"circle-sort-key":new oi(Oe.layout_circle["circle-sort-key"])}),h8={paint:new _o({"circle-radius":new oi(Oe.paint_circle["circle-radius"]),"circle-color":new oi(Oe.paint_circle["circle-color"]),"circle-blur":new oi(Oe.paint_circle["circle-blur"]),"circle-opacity":new oi(Oe.paint_circle["circle-opacity"]),"circle-translate":new $r(Oe.paint_circle["circle-translate"]),"circle-translate-anchor":new $r(Oe.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new $r(Oe.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new $r(Oe.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new oi(Oe.paint_circle["circle-stroke-width"]),"circle-stroke-color":new oi(Oe.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new oi(Oe.paint_circle["circle-stroke-opacity"])}),layout:f8},Nl=typeof Float32Array<"u"?Float32Array:Array;function x1(P){return P[0]=1,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=1,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=1,P[11]=0,P[12]=0,P[13]=0,P[14]=0,P[15]=1,P}function nw(P,V,J){var fe=V[0],Ae=V[1],De=V[2],Ge=V[3],it=V[4],mt=V[5],Ct=V[6],Rt=V[7],Gt=V[8],Zt=V[9],Yt=V[10],hn=V[11],Mn=V[12],Nn=V[13],Bn=V[14],$n=V[15],Xn=J[0],er=J[1],sr=J[2],dr=J[3];return P[0]=Xn*fe+er*it+sr*Gt+dr*Mn,P[1]=Xn*Ae+er*mt+sr*Zt+dr*Nn,P[2]=Xn*De+er*Ct+sr*Yt+dr*Bn,P[3]=Xn*Ge+er*Rt+sr*hn+dr*$n,Xn=J[4],er=J[5],sr=J[6],dr=J[7],P[4]=Xn*fe+er*it+sr*Gt+dr*Mn,P[5]=Xn*Ae+er*mt+sr*Zt+dr*Nn,P[6]=Xn*De+er*Ct+sr*Yt+dr*Bn,P[7]=Xn*Ge+er*Rt+sr*hn+dr*$n,Xn=J[8],er=J[9],sr=J[10],dr=J[11],P[8]=Xn*fe+er*it+sr*Gt+dr*Mn,P[9]=Xn*Ae+er*mt+sr*Zt+dr*Nn,P[10]=Xn*De+er*Ct+sr*Yt+dr*Bn,P[11]=Xn*Ge+er*Rt+sr*hn+dr*$n,Xn=J[12],er=J[13],sr=J[14],dr=J[15],P[12]=Xn*fe+er*it+sr*Gt+dr*Mn,P[13]=Xn*Ae+er*mt+sr*Zt+dr*Nn,P[14]=Xn*De+er*Ct+sr*Yt+dr*Bn,P[15]=Xn*Ge+er*Rt+sr*hn+dr*$n,P}Math.hypot||(Math.hypot=function(){for(var P=arguments,V=0,J=arguments.length;J--;)V+=P[J]*P[J];return Math.sqrt(V)});var d8=nw,yg,p8=function(P,V,J){return P[0]=V[0]-J[0],P[1]=V[1]-J[1],P[2]=V[2]-J[2],P};function bg(P,V,J){var fe=V[0],Ae=V[1],De=V[2],Ge=V[3];return P[0]=J[0]*fe+J[4]*Ae+J[8]*De+J[12]*Ge,P[1]=J[1]*fe+J[5]*Ae+J[9]*De+J[13]*Ge,P[2]=J[2]*fe+J[6]*Ae+J[10]*De+J[14]*Ge,P[3]=J[3]*fe+J[7]*Ae+J[11]*De+J[15]*Ge,P}yg=new Nl(3),Nl!=Float32Array&&(yg[0]=0,yg[1]=0,yg[2]=0),function(){var P=new Nl(4);Nl!=Float32Array&&(P[0]=0,P[1]=0,P[2]=0,P[3]=0)}();var m8=function(P){var V=P[0],J=P[1];return V*V+J*J},g8=(function(){var P=new Nl(2);Nl!=Float32Array&&(P[0]=0,P[1]=0)}(),function(P){function V(J){P.call(this,J,h8)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.createBucket=function(J){return new zi(J)},V.prototype.queryRadius=function(J){var fe=J;return If("circle-radius",this,fe)+If("circle-stroke-width",this,fe)+gg(this.paint.get("circle-translate"))},V.prototype.queryIntersectsFeature=function(J,fe,Ae,De,Ge,it,mt,Ct){for(var Rt=vg(J,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),it.angle,mt),Gt=this.paint.get("circle-radius").evaluate(fe,Ae)+this.paint.get("circle-stroke-width").evaluate(fe,Ae),Zt=this.paint.get("circle-pitch-alignment")==="map",Yt=Zt?Rt:function(zr,Ar){return zr.map(function(Hr){return rw(Hr,Ar)})}(Rt,Ct),hn=Zt?Gt*mt:Gt,Mn=0,Nn=De;MnP.width||Ae.height>P.height||J.x>P.width-Ae.width||J.y>P.height-Ae.height)throw new RangeError("out of range source coordinates for image copy");if(Ae.width>V.width||Ae.height>V.height||fe.x>V.width-Ae.width||fe.y>V.height-Ae.height)throw new RangeError("out of range destination coordinates for image copy");for(var Ge=P.data,it=V.data,mt=0;mt80*J){fe=De=P[0],Ae=Ge=P[1];for(var hn=J;hnDe&&(De=it),mt>Ge&&(Ge=mt);Ct=(Ct=Math.max(De-fe,Ge-Ae))!==0?1/Ct:0}return M0(Zt,Yt,J,fe,Ae,Ct),Yt}function lw(P,V,J,fe,Ae){var De,Ge;if(Ae===A1(P,V,J,fe)>0)for(De=V;De=V;De-=fe)Ge=fw(De,P[De],P[De+1],Ge);return Ge&&_g(Ge,Ge.next)&&(S0(Ge),Ge=Ge.next),Ge}function vh(P,V){if(!P)return P;V||(V=P);var J,fe=P;do if(J=!1,fe.steiner||!_g(fe,fe.next)&&To(fe.prev,fe,fe.next)!==0)fe=fe.next;else{if(S0(fe),(fe=V=fe.prev)===fe.next)break;J=!0}while(J||fe!==V);return V}function M0(P,V,J,fe,Ae,De,Ge){if(P){!Ge&&De&&function(Rt,Gt,Zt,Yt){var hn=Rt;do hn.z===null&&(hn.z=k1(hn.x,hn.y,Gt,Zt,Yt)),hn.prevZ=hn.prev,hn.nextZ=hn.next,hn=hn.next;while(hn!==Rt);hn.prevZ.nextZ=null,hn.prevZ=null,function(Mn){var Nn,Bn,$n,Xn,er,sr,dr,zr,Ar=1;do{for(Bn=Mn,Mn=null,er=null,sr=0;Bn;){for(sr++,$n=Bn,dr=0,Nn=0;Nn0||zr>0&&$n;)dr!==0&&(zr===0||!$n||Bn.z<=$n.z)?(Xn=Bn,Bn=Bn.nextZ,dr--):(Xn=$n,$n=$n.nextZ,zr--),er?er.nextZ=Xn:Mn=Xn,Xn.prevZ=er,er=Xn;Bn=$n}er.nextZ=null,Ar*=2}while(sr>1)}(hn)}(P,fe,Ae,De);for(var it,mt,Ct=P;P.prev!==P.next;)if(it=P.prev,mt=P.next,De?T8(P,fe,Ae,De):w8(P))V.push(it.i/J),V.push(P.i/J),V.push(mt.i/J),S0(P),P=mt.next,Ct=mt.next;else if((P=mt)===Ct){Ge?Ge===1?M0(P=k8(vh(P),V,J),V,J,fe,Ae,De,2):Ge===2&&M8(P,V,J,fe,Ae,De):M0(vh(P),V,J,fe,Ae,De,1);break}}}function w8(P){var V=P.prev,J=P,fe=P.next;if(To(V,J,fe)>=0)return!1;for(var Ae=P.next.next;Ae!==P.prev;){if(Jd(V.x,V.y,J.x,J.y,fe.x,fe.y,Ae.x,Ae.y)&&To(Ae.prev,Ae,Ae.next)>=0)return!1;Ae=Ae.next}return!0}function T8(P,V,J,fe){var Ae=P.prev,De=P,Ge=P.next;if(To(Ae,De,Ge)>=0)return!1;for(var it=Ae.xDe.x?Ae.x>Ge.x?Ae.x:Ge.x:De.x>Ge.x?De.x:Ge.x,Rt=Ae.y>De.y?Ae.y>Ge.y?Ae.y:Ge.y:De.y>Ge.y?De.y:Ge.y,Gt=k1(it,mt,V,J,fe),Zt=k1(Ct,Rt,V,J,fe),Yt=P.prevZ,hn=P.nextZ;Yt&&Yt.z>=Gt&&hn&&hn.z<=Zt;){if(Yt!==P.prev&&Yt!==P.next&&Jd(Ae.x,Ae.y,De.x,De.y,Ge.x,Ge.y,Yt.x,Yt.y)&&To(Yt.prev,Yt,Yt.next)>=0||(Yt=Yt.prevZ,hn!==P.prev&&hn!==P.next&&Jd(Ae.x,Ae.y,De.x,De.y,Ge.x,Ge.y,hn.x,hn.y)&&To(hn.prev,hn,hn.next)>=0))return!1;hn=hn.nextZ}for(;Yt&&Yt.z>=Gt;){if(Yt!==P.prev&&Yt!==P.next&&Jd(Ae.x,Ae.y,De.x,De.y,Ge.x,Ge.y,Yt.x,Yt.y)&&To(Yt.prev,Yt,Yt.next)>=0)return!1;Yt=Yt.prevZ}for(;hn&&hn.z<=Zt;){if(hn!==P.prev&&hn!==P.next&&Jd(Ae.x,Ae.y,De.x,De.y,Ge.x,Ge.y,hn.x,hn.y)&&To(hn.prev,hn,hn.next)>=0)return!1;hn=hn.nextZ}return!0}function k8(P,V,J){var fe=P;do{var Ae=fe.prev,De=fe.next.next;!_g(Ae,De)&&uw(Ae,fe,fe.next,De)&&A0(Ae,De)&&A0(De,Ae)&&(V.push(Ae.i/J),V.push(fe.i/J),V.push(De.i/J),S0(fe),S0(fe.next),fe=P=De),fe=fe.next}while(fe!==P);return vh(fe)}function M8(P,V,J,fe,Ae,De){var Ge=P;do{for(var it=Ge.next.next;it!==Ge.prev;){if(Ge.i!==it.i&&L8(Ge,it)){var mt=cw(Ge,it);return Ge=vh(Ge,Ge.next),mt=vh(mt,mt.next),M0(Ge,V,J,fe,Ae,De),void M0(mt,V,J,fe,Ae,De)}it=it.next}Ge=Ge.next}while(Ge!==P)}function A8(P,V){return P.x-V.x}function S8(P,V){if(V=function(fe,Ae){var De,Ge=Ae,it=fe.x,mt=fe.y,Ct=-1/0;do{if(mt<=Ge.y&&mt>=Ge.next.y&&Ge.next.y!==Ge.y){var Rt=Ge.x+(mt-Ge.y)*(Ge.next.x-Ge.x)/(Ge.next.y-Ge.y);if(Rt<=it&&Rt>Ct){if(Ct=Rt,Rt===it){if(mt===Ge.y)return Ge;if(mt===Ge.next.y)return Ge.next}De=Ge.x=Ge.x&&Ge.x>=Yt&&it!==Ge.x&&Jd(mtDe.x||Ge.x===De.x&&C8(De,Ge)))&&(De=Ge,Mn=Gt)),Ge=Ge.next;while(Ge!==Zt);return De}(P,V)){var J=cw(V,P);vh(V,V.next),vh(J,J.next)}}function C8(P,V){return To(P.prev,P,V.prev)<0&&To(V.next,P,P.next)<0}function k1(P,V,J,fe,Ae){return(P=1431655765&((P=858993459&((P=252645135&((P=16711935&((P=32767*(P-J)*Ae)|P<<8))|P<<4))|P<<2))|P<<1))|(V=1431655765&((V=858993459&((V=252645135&((V=16711935&((V=32767*(V-fe)*Ae)|V<<8))|V<<4))|V<<2))|V<<1))<<1}function E8(P){var V=P,J=P;do(V.x=0&&(P-Ge)*(fe-it)-(J-Ge)*(V-it)>=0&&(J-Ge)*(De-it)-(Ae-Ge)*(fe-it)>=0}function L8(P,V){return P.next.i!==V.i&&P.prev.i!==V.i&&!function(J,fe){var Ae=J;do{if(Ae.i!==J.i&&Ae.next.i!==J.i&&Ae.i!==fe.i&&Ae.next.i!==fe.i&&uw(Ae,Ae.next,J,fe))return!0;Ae=Ae.next}while(Ae!==J);return!1}(P,V)&&(A0(P,V)&&A0(V,P)&&function(J,fe){var Ae=J,De=!1,Ge=(J.x+fe.x)/2,it=(J.y+fe.y)/2;do Ae.y>it!=Ae.next.y>it&&Ae.next.y!==Ae.y&&Ge<(Ae.next.x-Ae.x)*(it-Ae.y)/(Ae.next.y-Ae.y)+Ae.x&&(De=!De),Ae=Ae.next;while(Ae!==J);return De}(P,V)&&(To(P.prev,P,V.prev)||To(P,V.prev,V))||_g(P,V)&&To(P.prev,P,P.next)>0&&To(V.prev,V,V.next)>0)}function To(P,V,J){return(V.y-P.y)*(J.x-V.x)-(V.x-P.x)*(J.y-V.y)}function _g(P,V){return P.x===V.x&&P.y===V.y}function uw(P,V,J,fe){var Ae=Tg(To(P,V,J)),De=Tg(To(P,V,fe)),Ge=Tg(To(J,fe,P)),it=Tg(To(J,fe,V));return Ae!==De&&Ge!==it||!(Ae!==0||!wg(P,J,V))||!(De!==0||!wg(P,fe,V))||!(Ge!==0||!wg(J,P,fe))||!(it!==0||!wg(J,V,fe))}function wg(P,V,J){return V.x<=Math.max(P.x,J.x)&&V.x>=Math.min(P.x,J.x)&&V.y<=Math.max(P.y,J.y)&&V.y>=Math.min(P.y,J.y)}function Tg(P){return P>0?1:P<0?-1:0}function A0(P,V){return To(P.prev,P,P.next)<0?To(P,V,P.next)>=0&&To(P,P.prev,V)>=0:To(P,V,P.prev)<0||To(P,P.next,V)<0}function cw(P,V){var J=new M1(P.i,P.x,P.y),fe=new M1(V.i,V.x,V.y),Ae=P.next,De=V.prev;return P.next=V,V.prev=P,J.next=Ae,Ae.prev=J,fe.next=J,J.prev=fe,De.next=fe,fe.prev=De,fe}function fw(P,V,J,fe){var Ae=new M1(P,V,J);return fe?(Ae.next=fe.next,Ae.prev=fe,fe.next.prev=Ae,fe.next=Ae):(Ae.prev=Ae,Ae.next=Ae),Ae}function S0(P){P.next.prev=P.prev,P.prev.next=P.next,P.prevZ&&(P.prevZ.nextZ=P.nextZ),P.nextZ&&(P.nextZ.prevZ=P.prevZ)}function M1(P,V,J){this.i=P,this.x=V,this.y=J,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function A1(P,V,J,fe){for(var Ae=0,De=V,Ge=J-fe;DeJ;){if(fe-J>600){var De=fe-J+1,Ge=V-J+1,it=Math.log(De),mt=.5*Math.exp(2*it/3),Ct=.5*Math.sqrt(it*mt*(De-mt)/De)*(Ge-De/2<0?-1:1);hw(P,V,Math.max(J,Math.floor(V-Ge*mt/De+Ct)),Math.min(fe,Math.floor(V+(De-Ge)*mt/De+Ct)),Ae)}var Rt=P[V],Gt=J,Zt=fe;for(C0(P,J,V),Ae(P[fe],Rt)>0&&C0(P,J,fe);Gt0;)Zt--}Ae(P[J],Rt)===0?C0(P,J,Zt):C0(P,++Zt,fe),Zt<=V&&(J=Zt+1),V<=Zt&&(fe=Zt-1)}}function C0(P,V,J){var fe=P[V];P[V]=P[J],P[J]=fe}function O8(P,V){return PV?1:0}function S1(P,V){var J=P.length;if(J<=1)return[P];for(var fe,Ae,De=[],Ge=0;Ge1)for(var mt=0;mt0&&(fe+=P[Ae-1].length,J.holes.push(fe))}return J},T1.default=_8;var vc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new et,this.indexArray=new He,this.indexArray2=new ve,this.programConfigurations=new Pa(sw,P.layers,P.zoom),this.segments=new ln,this.segments2=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};vc.prototype.populate=function(P,V,J){this.hasPattern=C1("fill",this.layers,V);for(var fe=this.layers[0].layout.get("fill-sort-key"),Ae=[],De=0,Ge=P;De>3}if(Ae--,fe===1||fe===2)De+=P.readSVarint(),Ge+=P.readSVarint(),fe===1&&(V&&it.push(V),V=[]),V.push(new a(De,Ge));else{if(fe!==7)throw new Error("unknown command "+fe);V&&V.push(V[0].clone())}}return V&&it.push(V),it},Qd.prototype.bbox=function(){var P=this._pbf;P.pos=this._geometry;for(var V=P.readVarint()+P.pos,J=1,fe=0,Ae=0,De=0,Ge=1/0,it=-1/0,mt=1/0,Ct=-1/0;P.pos>3}if(fe--,J===1||J===2)(Ae+=P.readSVarint())it&&(it=Ae),(De+=P.readSVarint())Ct&&(Ct=De);else if(J!==7)throw new Error("unknown command "+J)}return[Ge,mt,it,Ct]},Qd.prototype.toGeoJSON=function(P,V,J){var fe,Ae,De=this.extent*Math.pow(2,J),Ge=this.extent*P,it=this.extent*V,mt=this.loadGeometry(),Ct=Qd.types[this.type];function Rt(Yt){for(var hn=0;hn>3;Ae=Ge===1?fe.readString():Ge===2?fe.readFloat():Ge===3?fe.readDouble():Ge===4?fe.readVarint64():Ge===5?fe.readVarint():Ge===6?fe.readSVarint():Ge===7?fe.readBoolean():null}return Ae}(J))}function V8(P,V,J){if(P===3){var fe=new mw(J,J.readVarint()+J.pos);fe.length&&(V[fe.name]=fe)}}gw.prototype.feature=function(P){if(P<0||P>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[P];var V=this._pbf.readVarint()+this._pbf.pos;return new pw(this._pbf,V,this.extent,this._keys,this._values)};var ep={VectorTile:function(P,V){this.layers=P.readFields(V8,{},V)},VectorTileFeature:pw,VectorTileLayer:mw},j8=ep.VectorTileFeature.types,L1=Math.pow(2,13);function E0(P,V,J,fe,Ae,De,Ge,it){P.emplaceBack(V,J,2*Math.floor(fe*L1)+Ge,Ae*L1*2,De*L1*2,Math.round(it))}var yc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new ct,this.indexArray=new He,this.programConfigurations=new Pa(dw,P.layers,P.zoom),this.segments=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function U8(P,V){return P.x===V.x&&(P.x<0||P.x>hi)||P.y===V.y&&(P.y<0||P.y>hi)}yc.prototype.populate=function(P,V,J){this.features=[],this.hasPattern=C1("fill-extrusion",this.layers,V);for(var fe=0,Ae=P;fehi})||Bi.every(function(yi){return yi.y<0})||Bi.every(function(yi){return yi.y>hi})))for(var Mn=0,Nn=0;Nn=1){var $n=hn[Nn-1];if(!U8(Bn,$n)){Gt.vertexLength+4>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Xn=Bn.sub($n)._perp()._unit(),er=$n.dist(Bn);Mn+er>32768&&(Mn=0),E0(this.layoutVertexArray,Bn.x,Bn.y,Xn.x,Xn.y,0,0,Mn),E0(this.layoutVertexArray,Bn.x,Bn.y,Xn.x,Xn.y,0,1,Mn),Mn+=er,E0(this.layoutVertexArray,$n.x,$n.y,Xn.x,Xn.y,0,0,Mn),E0(this.layoutVertexArray,$n.x,$n.y,Xn.x,Xn.y,0,1,Mn);var sr=Gt.vertexLength;this.indexArray.emplaceBack(sr,sr+2,sr+1),this.indexArray.emplaceBack(sr+1,sr+2,sr+3),Gt.vertexLength+=4,Gt.primitiveLength+=2}}}}if(Gt.vertexLength+mt>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(mt,this.layoutVertexArray,this.indexArray)),j8[P.type]==="Polygon"){for(var dr=[],zr=[],Ar=Gt.vertexLength,Hr=0,Qr=it;Hr=2&&P[mt-1].equals(P[mt-2]);)mt--;for(var Ct=0;Ct0;if(zr&&Bn>Ct){var Hr=Rt.dist(Yt);if(Hr>2*Gt){var Qr=Rt.sub(Rt.sub(Yt)._mult(Gt/Hr)._round());this.updateDistance(Yt,Qr),this.addCurrentVertex(Qr,Mn,0,0,Zt),Yt=Qr}}var pi=Yt&&hn,ri=pi?J:it?"butt":fe;if(pi&&ri==="round"&&(srAe&&(ri="bevel"),ri==="bevel"&&(sr>2&&(ri="flipbevel"),sr100)$n=Nn.mult(-1);else{var di=sr*Mn.add(Nn).mag()/Mn.sub(Nn).mag();$n._perp()._mult(di*(Ar?-1:1))}this.addCurrentVertex(Rt,$n,0,0,Zt),this.addCurrentVertex(Rt,$n.mult(-1),0,0,Zt)}else if(ri==="bevel"||ri==="fakeround"){var si=-Math.sqrt(sr*sr-1),ti=Ar?si:0,Bi=Ar?0:si;if(Yt&&this.addCurrentVertex(Rt,Mn,ti,Bi,Zt),ri==="fakeround")for(var yi=Math.round(180*dr/Math.PI/20),_a=1;_a2*Gt){var wa=Rt.add(hn.sub(Rt)._mult(Gt/Ra)._round());this.updateDistance(Rt,wa),this.addCurrentVertex(wa,Nn,0,0,Zt),Rt=wa}}}}},Js.prototype.addCurrentVertex=function(P,V,J,fe,Ae,De){De===void 0&&(De=!1);var Ge=V.x+V.y*J,it=V.y-V.x*J,mt=-V.x+V.y*fe,Ct=-V.y-V.x*fe;this.addHalfVertex(P,Ge,it,De,!1,J,Ae),this.addHalfVertex(P,mt,Ct,De,!0,-fe,Ae),this.distance>bw/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(P,V,J,fe,Ae,De))},Js.prototype.addHalfVertex=function(P,V,J,fe,Ae,De,Ge){var it=P.x,mt=P.y,Ct=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((it<<1)+(fe?1:0),(mt<<1)+(Ae?1:0),Math.round(63*V)+128,Math.round(63*J)+128,1+(De===0?0:De<0?-1:1)|(63&Ct)<<2,Ct>>6);var Rt=Ge.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,Rt),Ge.primitiveLength++),Ae?this.e2=Rt:this.e1=Rt},Js.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(bw-1):this.distance},Js.prototype.updateDistance=function(P,V){this.distance+=P.dist(V),this.updateScaledDistance()},Br("LineBucket",Js,{omit:["layers","patternFeatures"]});var $8=new _o({"line-cap":new $r(Oe.layout_line["line-cap"]),"line-join":new oi(Oe.layout_line["line-join"]),"line-miter-limit":new $r(Oe.layout_line["line-miter-limit"]),"line-round-limit":new $r(Oe.layout_line["line-round-limit"]),"line-sort-key":new oi(Oe.layout_line["line-sort-key"])}),xw={paint:new _o({"line-opacity":new oi(Oe.paint_line["line-opacity"]),"line-color":new oi(Oe.paint_line["line-color"]),"line-translate":new $r(Oe.paint_line["line-translate"]),"line-translate-anchor":new $r(Oe.paint_line["line-translate-anchor"]),"line-width":new oi(Oe.paint_line["line-width"]),"line-gap-width":new oi(Oe.paint_line["line-gap-width"]),"line-offset":new oi(Oe.paint_line["line-offset"]),"line-blur":new oi(Oe.paint_line["line-blur"]),"line-dasharray":new ml(Oe.paint_line["line-dasharray"]),"line-pattern":new Nu(Oe.paint_line["line-pattern"]),"line-gradient":new Ds(Oe.paint_line["line-gradient"])}),layout:$8},Y8=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.possiblyEvaluate=function(J,fe){return fe=new Yi(Math.floor(fe.zoom),{now:fe.now,fadeDuration:fe.fadeDuration,zoomHistory:fe.zoomHistory,transition:fe.transition}),P.prototype.possiblyEvaluate.call(this,J,fe)},V.prototype.evaluate=function(J,fe,Ae,De){return fe=m({},fe,{zoom:Math.floor(fe.zoom)}),P.prototype.evaluate.call(this,J,fe,Ae,De)},V}(oi),_w=new Y8(xw.paint.properties["line-width"].specification);_w.useIntegerZoom=!0;var Z8=function(P){function V(J){P.call(this,J,xw)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._handleSpecialPaintPropertyUpdate=function(J){J==="line-gradient"&&this._updateGradient()},V.prototype._updateGradient=function(){var J=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=ow(J,"lineProgress"),this.gradientTexture=null},V.prototype.recalculate=function(J,fe){P.prototype.recalculate.call(this,J,fe),this.paint._values["line-floorwidth"]=_w.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,J)},V.prototype.createBucket=function(J){return new Js(J)},V.prototype.queryRadius=function(J){var fe=J,Ae=ww(If("line-width",this,fe),If("line-gap-width",this,fe)),De=If("line-offset",this,fe);return Ae/2+Math.abs(De)+gg(this.paint.get("line-translate"))},V.prototype.queryIntersectsFeature=function(J,fe,Ae,De,Ge,it,mt){var Ct=vg(J,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),it.angle,mt),Rt=mt/2*ww(this.paint.get("line-width").evaluate(fe,Ae),this.paint.get("line-gap-width").evaluate(fe,Ae)),Gt=this.paint.get("line-offset").evaluate(fe,Ae);return Gt&&(De=function(Zt,Yt){for(var hn=[],Mn=new a(0,0),Nn=0;Nn=3){for(var Bn=0;Bn0?V+2*P:P}var I1=ua([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),X8=ua([{name:"a_projected_pos",components:3,type:"Float32"}],4),K8=(ua([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),ua([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),Tw=(ua([{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"}]),ua([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),J8=ua([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function Q8(P,V,J){return P.sections.forEach(function(fe){fe.text=function(Ae,De,Ge){var it=De.layout.get("text-transform").evaluate(Ge,{});return it==="uppercase"?Ae=Ae.toLocaleUpperCase():it==="lowercase"&&(Ae=Ae.toLocaleLowerCase()),Uo.applyArabicShaping&&(Ae=Uo.applyArabicShaping(Ae)),Ae}(fe.text,V,J)}),P}ua([{name:"triangle",components:3,type:"Uint16"}]),ua([{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"}]),ua([{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"}]),ua([{type:"Float32",name:"offsetX"}]),ua([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var I0={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},fs=24,kw=function(P,V,J,fe,Ae){var De,Ge,it=8*Ae-fe-1,mt=(1<>1,Rt=-7,Gt=J?Ae-1:0,Zt=J?-1:1,Yt=P[V+Gt];for(Gt+=Zt,De=Yt&(1<<-Rt)-1,Yt>>=-Rt,Rt+=it;Rt>0;De=256*De+P[V+Gt],Gt+=Zt,Rt-=8);for(Ge=De&(1<<-Rt)-1,De>>=-Rt,Rt+=fe;Rt>0;Ge=256*Ge+P[V+Gt],Gt+=Zt,Rt-=8);if(De===0)De=1-Ct;else{if(De===mt)return Ge?NaN:1/0*(Yt?-1:1);Ge+=Math.pow(2,fe),De-=Ct}return(Yt?-1:1)*Ge*Math.pow(2,De-fe)},Mw=function(P,V,J,fe,Ae,De){var Ge,it,mt,Ct=8*De-Ae-1,Rt=(1<>1,Zt=Ae===23?Math.pow(2,-24)-Math.pow(2,-77):0,Yt=fe?0:De-1,hn=fe?1:-1,Mn=V<0||V===0&&1/V<0?1:0;for(V=Math.abs(V),isNaN(V)||V===1/0?(it=isNaN(V)?1:0,Ge=Rt):(Ge=Math.floor(Math.log(V)/Math.LN2),V*(mt=Math.pow(2,-Ge))<1&&(Ge--,mt*=2),(V+=Ge+Gt>=1?Zt/mt:Zt*Math.pow(2,1-Gt))*mt>=2&&(Ge++,mt/=2),Ge+Gt>=Rt?(it=0,Ge=Rt):Ge+Gt>=1?(it=(V*mt-1)*Math.pow(2,Ae),Ge+=Gt):(it=V*Math.pow(2,Gt-1)*Math.pow(2,Ae),Ge=0));Ae>=8;P[J+Yt]=255&it,Yt+=hn,it/=256,Ae-=8);for(Ge=Ge<0;P[J+Yt]=255&Ge,Yt+=hn,Ge/=256,Ct-=8);P[J+Yt-hn]|=128*Mn},kg=ka;function ka(P){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(P)?P:new Uint8Array(P||0),this.pos=0,this.type=0,this.length=this.buf.length}ka.Varint=0,ka.Fixed64=1,ka.Bytes=2,ka.Fixed32=5;var O1=4294967296,Aw=1/O1,Sw=typeof TextDecoder>"u"?null:new TextDecoder("utf8");function Of(P){return P.type===ka.Bytes?P.readVarint()+P.pos:P.pos+1}function tp(P,V,J){return J?4294967296*V+(P>>>0):4294967296*(V>>>0)+(P>>>0)}function Cw(P,V,J){var fe=V<=16383?1:V<=2097151?2:V<=268435455?3:Math.floor(Math.log(V)/(7*Math.LN2));J.realloc(fe);for(var Ae=J.pos-1;Ae>=P;Ae--)J.buf[Ae+fe]=J.buf[Ae]}function eC(P,V){for(var J=0;J>>8,P[J+2]=V>>>16,P[J+3]=V>>>24}function Ew(P,V){return(P[V]|P[V+1]<<8|P[V+2]<<16)+(P[V+3]<<24)}ka.prototype={destroy:function(){this.buf=null},readFields:function(P,V,J){for(J=J||this.length;this.pos>3,De=this.pos;this.type=7&fe,P(Ae,V,this),this.pos===De&&this.skip(fe)}return V},readMessage:function(P,V){return this.readFields(P,V,this.readVarint()+this.pos)},readFixed32:function(){var P=Mg(this.buf,this.pos);return this.pos+=4,P},readSFixed32:function(){var P=Ew(this.buf,this.pos);return this.pos+=4,P},readFixed64:function(){var P=Mg(this.buf,this.pos)+Mg(this.buf,this.pos+4)*O1;return this.pos+=8,P},readSFixed64:function(){var P=Mg(this.buf,this.pos)+Ew(this.buf,this.pos+4)*O1;return this.pos+=8,P},readFloat:function(){var P=kw(this.buf,this.pos,!0,23,4);return this.pos+=4,P},readDouble:function(){var P=kw(this.buf,this.pos,!0,52,8);return this.pos+=8,P},readVarint:function(P){var V,J,fe=this.buf;return V=127&(J=fe[this.pos++]),J<128?V:(V|=(127&(J=fe[this.pos++]))<<7,J<128?V:(V|=(127&(J=fe[this.pos++]))<<14,J<128?V:(V|=(127&(J=fe[this.pos++]))<<21,J<128?V:function(Ae,De,Ge){var it,mt,Ct=Ge.buf;if(it=(112&(mt=Ct[Ge.pos++]))>>4,mt<128||(it|=(127&(mt=Ct[Ge.pos++]))<<3,mt<128)||(it|=(127&(mt=Ct[Ge.pos++]))<<10,mt<128)||(it|=(127&(mt=Ct[Ge.pos++]))<<17,mt<128)||(it|=(127&(mt=Ct[Ge.pos++]))<<24,mt<128)||(it|=(1&(mt=Ct[Ge.pos++]))<<31,mt<128))return tp(Ae,it,De);throw new Error("Expected varint not more than 10 bytes")}(V|=(15&(J=fe[this.pos]))<<28,P,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var P=this.readVarint();return P%2==1?(P+1)/-2:P/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var P=this.readVarint()+this.pos,V=this.pos;return this.pos=P,P-V>=12&&Sw?function(J,fe,Ae){return Sw.decode(J.subarray(fe,Ae))}(this.buf,V,P):function(J,fe,Ae){for(var De="",Ge=fe;Ge239?4:Rt>223?3:Rt>191?2:1;if(Ge+Zt>Ae)break;Zt===1?Rt<128&&(Gt=Rt):Zt===2?(192&(it=J[Ge+1]))==128&&(Gt=(31&Rt)<<6|63&it)<=127&&(Gt=null):Zt===3?(it=J[Ge+1],mt=J[Ge+2],(192&it)==128&&(192&mt)==128&&((Gt=(15&Rt)<<12|(63&it)<<6|63&mt)<=2047||Gt>=55296&&Gt<=57343)&&(Gt=null)):Zt===4&&(it=J[Ge+1],mt=J[Ge+2],Ct=J[Ge+3],(192&it)==128&&(192&mt)==128&&(192&Ct)==128&&((Gt=(15&Rt)<<18|(63&it)<<12|(63&mt)<<6|63&Ct)<=65535||Gt>=1114112)&&(Gt=null)),Gt===null?(Gt=65533,Zt=1):Gt>65535&&(Gt-=65536,De+=String.fromCharCode(Gt>>>10&1023|55296),Gt=56320|1023&Gt),De+=String.fromCharCode(Gt),Ge+=Zt}return De}(this.buf,V,P)},readBytes:function(){var P=this.readVarint()+this.pos,V=this.buf.subarray(this.pos,P);return this.pos=P,V},readPackedVarint:function(P,V){if(this.type!==ka.Bytes)return P.push(this.readVarint(V));var J=Of(this);for(P=P||[];this.pos127;);else if(V===ka.Bytes)this.pos=this.readVarint()+this.pos;else if(V===ka.Fixed32)this.pos+=4;else{if(V!==ka.Fixed64)throw new Error("Unimplemented type: "+V);this.pos+=8}},writeTag:function(P,V){this.writeVarint(P<<3|V)},realloc:function(P){for(var V=this.length||16;V268435455||P<0?function(V,J){var fe,Ae;if(V>=0?(fe=V%4294967296|0,Ae=V/4294967296|0):(Ae=~(-V/4294967296),4294967295^(fe=~(-V%4294967296))?fe=fe+1|0:(fe=0,Ae=Ae+1|0)),V>=18446744073709552e3||V<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");J.realloc(10),function(De,Ge,it){it.buf[it.pos++]=127&De|128,De>>>=7,it.buf[it.pos++]=127&De|128,De>>>=7,it.buf[it.pos++]=127&De|128,De>>>=7,it.buf[it.pos++]=127&De|128,De>>>=7,it.buf[it.pos]=127&De}(fe,0,J),function(De,Ge){var it=(7&De)<<4;Ge.buf[Ge.pos++]|=it|((De>>>=3)?128:0),De&&(Ge.buf[Ge.pos++]=127&De|((De>>>=7)?128:0),De&&(Ge.buf[Ge.pos++]=127&De|((De>>>=7)?128:0),De&&(Ge.buf[Ge.pos++]=127&De|((De>>>=7)?128:0),De&&(Ge.buf[Ge.pos++]=127&De|((De>>>=7)?128:0),De&&(Ge.buf[Ge.pos++]=127&De)))))}(Ae,J)}(P,this):(this.realloc(4),this.buf[this.pos++]=127&P|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=P>>>7&127))))},writeSVarint:function(P){this.writeVarint(P<0?2*-P-1:2*P)},writeBoolean:function(P){this.writeVarint(!!P)},writeString:function(P){P=String(P),this.realloc(4*P.length),this.pos++;var V=this.pos;this.pos=function(fe,Ae,De){for(var Ge,it,mt=0;mt55295&&Ge<57344){if(!it){Ge>56319||mt+1===Ae.length?(fe[De++]=239,fe[De++]=191,fe[De++]=189):it=Ge;continue}if(Ge<56320){fe[De++]=239,fe[De++]=191,fe[De++]=189,it=Ge;continue}Ge=it-55296<<10|Ge-56320|65536,it=null}else it&&(fe[De++]=239,fe[De++]=191,fe[De++]=189,it=null);Ge<128?fe[De++]=Ge:(Ge<2048?fe[De++]=Ge>>6|192:(Ge<65536?fe[De++]=Ge>>12|224:(fe[De++]=Ge>>18|240,fe[De++]=Ge>>12&63|128),fe[De++]=Ge>>6&63|128),fe[De++]=63&Ge|128)}return De}(this.buf,P,this.pos);var J=this.pos-V;J>=128&&Cw(V,J,this),this.pos=V-1,this.writeVarint(J),this.pos+=J},writeFloat:function(P){this.realloc(4),Mw(this.buf,P,this.pos,!0,23,4),this.pos+=4},writeDouble:function(P){this.realloc(8),Mw(this.buf,P,this.pos,!0,52,8),this.pos+=8},writeBytes:function(P){var V=P.length;this.writeVarint(V),this.realloc(V);for(var J=0;J=128&&Cw(J,fe,this),this.pos=J-1,this.writeVarint(fe),this.pos+=fe},writeMessage:function(P,V,J){this.writeTag(P,ka.Bytes),this.writeRawMessage(V,J)},writePackedVarint:function(P,V){V.length&&this.writeMessage(P,eC,V)},writePackedSVarint:function(P,V){V.length&&this.writeMessage(P,tC,V)},writePackedBoolean:function(P,V){V.length&&this.writeMessage(P,iC,V)},writePackedFloat:function(P,V){V.length&&this.writeMessage(P,nC,V)},writePackedDouble:function(P,V){V.length&&this.writeMessage(P,rC,V)},writePackedFixed32:function(P,V){V.length&&this.writeMessage(P,aC,V)},writePackedSFixed32:function(P,V){V.length&&this.writeMessage(P,oC,V)},writePackedFixed64:function(P,V){V.length&&this.writeMessage(P,sC,V)},writePackedSFixed64:function(P,V){V.length&&this.writeMessage(P,lC,V)},writeBytesField:function(P,V){this.writeTag(P,ka.Bytes),this.writeBytes(V)},writeFixed32Field:function(P,V){this.writeTag(P,ka.Fixed32),this.writeFixed32(V)},writeSFixed32Field:function(P,V){this.writeTag(P,ka.Fixed32),this.writeSFixed32(V)},writeFixed64Field:function(P,V){this.writeTag(P,ka.Fixed64),this.writeFixed64(V)},writeSFixed64Field:function(P,V){this.writeTag(P,ka.Fixed64),this.writeSFixed64(V)},writeVarintField:function(P,V){this.writeTag(P,ka.Varint),this.writeVarint(V)},writeSVarintField:function(P,V){this.writeTag(P,ka.Varint),this.writeSVarint(V)},writeStringField:function(P,V){this.writeTag(P,ka.Bytes),this.writeString(V)},writeFloatField:function(P,V){this.writeTag(P,ka.Fixed32),this.writeFloat(V)},writeDoubleField:function(P,V){this.writeTag(P,ka.Fixed64),this.writeDouble(V)},writeBooleanField:function(P,V){this.writeVarintField(P,!!V)}};function uC(P,V,J){P===1&&J.readMessage(cC,V)}function cC(P,V,J){if(P===3){var fe=J.readMessage(fC,{}),Ae=fe.id,De=fe.bitmap,Ge=fe.width,it=fe.height,mt=fe.left,Ct=fe.top,Rt=fe.advance;V.push({id:Ae,bitmap:new Kh({width:Ge+6,height:it+6},De),metrics:{width:Ge,height:it,left:mt,top:Ct,advance:Rt}})}}function fC(P,V,J){P===1?V.id=J.readVarint():P===2?V.bitmap=J.readBytes():P===3?V.width=J.readVarint():P===4?V.height=J.readVarint():P===5?V.left=J.readSVarint():P===6?V.top=J.readSVarint():P===7&&(V.advance=J.readVarint())}function Lw(P){for(var V=0,J=0,fe=0,Ae=P;fe=0;Zt--){var Yt=Ge[Zt];if(!(Gt.w>Yt.w||Gt.h>Yt.h)){if(Gt.x=Yt.x,Gt.y=Yt.y,mt=Math.max(mt,Gt.y+Gt.h),it=Math.max(it,Gt.x+Gt.w),Gt.w===Yt.w&&Gt.h===Yt.h){var hn=Ge.pop();Zt0&&td>Ya&&(Ya=td)}else{var Bg=yi[Ji.fontStack],nd=Bg&&Bg[Fs];if(nd&&nd.rect)bc=nd.rect,As=nd.metrics;else{var Ng=Bi[Ji.fontStack],z0=Ng&&Ng[Fs];if(!z0)continue;As=z0.metrics}bl=(bi-Ji.scale)*fs}xc?(ti.verticalizable=!0,ba.push({glyph:Fs,imageName:Rf,x:$o,y:hs+bl,vertical:xc,scale:Ji.scale,fontStack:Ji.fontStack,sectionIndex:eo,metrics:As,rect:bc}),$o+=Zo*Ji.scale+wa):(ba.push({glyph:Fs,imageName:Rf,x:$o,y:hs+bl,vertical:xc,scale:Ji.scale,fontStack:Ji.fontStack,sectionIndex:eo,metrics:As,rect:bc}),$o+=As.advance*Ji.scale+wa)}if(ba.length!==0){var H1=$o-wa;es=Math.max(H1,es),dC(ba,0,ba.length-1,ts,Ya)}$o=0;var Vg=da*bi+Ya;Qa.lineOffset=Math.max(Ya,$i),hs+=Vg,zs=Math.max(Vg,zs),++Do}else hs+=da,++Do}var fp=hs-Sg,jg=D1(Ma),Ug=jg.horizontalAlign,F0=jg.verticalAlign;(function(G1,B0,rd,hp,Hg,Gg,dp,Wg,qg){var N0=(B0-rd)*Hg,V0=0;V0=Gg!==dp?-Wg*hp-Sg:(-hp*qg+.5)*dp;for(var id=0,j0=G1;id=0&&fe>=P&&Eg[this.text.charCodeAt(fe)];fe--)J--;this.text=this.text.substring(P,J),this.sectionIndex=this.sectionIndex.slice(P,J)},Ms.prototype.substring=function(P,V){var J=new Ms;return J.text=this.text.substring(P,V),J.sectionIndex=this.sectionIndex.slice(P,V),J.sections=this.sections,J},Ms.prototype.toString=function(){return this.text},Ms.prototype.getMaxScale=function(){var P=this;return this.sectionIndex.reduce(function(V,J){return Math.max(V,P.sections[J].scale)},0)},Ms.prototype.addTextSection=function(P,V){this.text+=P.text,this.sections.push(rp.forText(P.scale,P.fontStack||V));for(var J=this.sections.length-1,fe=0;fe=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var Eg={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},yl={};function Iw(P,V,J,fe,Ae,De){if(V.imageName){var Ge=fe[V.imageName];return Ge?Ge.displaySize[0]*V.scale*fs/De+Ae:0}var it=J[V.fontStack],mt=it&&it[P];return mt?mt.metrics.advance*V.scale+Ae:0}function Ow(P,V,J,fe){var Ae=Math.pow(P-V,2);return fe?P=0,Rt=0,Gt=0;Gt-J/2;){if(--Ge<0)return!1;it-=P[Ge].dist(De),De=P[Ge]}it+=P[Ge].dist(P[Ge+1]),Ge++;for(var mt=[],Ct=0;itfe;)Ct-=mt.shift().angleDelta;if(Ct>Ae)return!1;Ge++,it+=Gt.dist(Zt)}return!0}function Nw(P){for(var V=0,J=0;JCt){var hn=(Ct-mt)/Yt,Mn=Vr(Gt.x,Zt.x,hn),Nn=Vr(Gt.y,Zt.y,hn),Bn=new ip(Mn,Nn,Zt.angleTo(Gt),Rt);return Bn._round(),!Ge||Bw(P,Bn,it,Ge,V)?Bn:void 0}mt+=Yt}}function gC(P,V,J,fe,Ae,De,Ge,it,mt){var Ct=Vw(fe,De,Ge),Rt=jw(fe,Ae),Gt=Rt*Ge,Zt=P[0].x===0||P[0].x===mt||P[0].y===0||P[0].y===mt;return V-Gt=0&&er=0&&sr=0&&Zt+Ct<=Rt){var dr=new ip(er,sr,$n,hn);dr._round(),fe&&!Bw(P,dr,De,fe,Ae)||Yt.push(dr)}}Gt+=Bn}return it||Yt.length||Ge||(Yt=Uw(P,Gt/2,J,fe,Ae,De,Ge,!0,mt)),Yt}function Hw(P,V,J,fe,Ae){for(var De=[],Ge=0;Ge=fe&&Gt.x>=fe||(Rt.x>=fe?Rt=new a(fe,Rt.y+(Gt.y-Rt.y)*((fe-Rt.x)/(Gt.x-Rt.x)))._round():Gt.x>=fe&&(Gt=new a(fe,Rt.y+(Gt.y-Rt.y)*((fe-Rt.x)/(Gt.x-Rt.x)))._round()),Rt.y>=Ae&&Gt.y>=Ae||(Rt.y>=Ae?Rt=new a(Rt.x+(Gt.x-Rt.x)*((Ae-Rt.y)/(Gt.y-Rt.y)),Ae)._round():Gt.y>=Ae&&(Gt=new a(Rt.x+(Gt.x-Rt.x)*((Ae-Rt.y)/(Gt.y-Rt.y)),Ae)._round()),mt&&Rt.equals(mt[mt.length-1])||(mt=[Rt],De.push(mt)),mt.push(Gt)))))}return De}function Gw(P,V,J,fe){var Ae=[],De=P.image,Ge=De.pixelRatio,it=De.paddedRect.w-2,mt=De.paddedRect.h-2,Ct=P.right-P.left,Rt=P.bottom-P.top,Gt=De.stretchX||[[0,it]],Zt=De.stretchY||[[0,mt]],Yt=function(da,Ma){return da+Ma[1]-Ma[0]},hn=Gt.reduce(Yt,0),Mn=Zt.reduce(Yt,0),Nn=it-hn,Bn=mt-Mn,$n=0,Xn=hn,er=0,sr=Mn,dr=0,zr=Nn,Ar=0,Hr=Bn;if(De.content&&fe){var Qr=De.content;$n=Lg(Gt,0,Qr[0]),er=Lg(Zt,0,Qr[1]),Xn=Lg(Gt,Qr[0],Qr[2]),sr=Lg(Zt,Qr[1],Qr[3]),dr=Qr[0]-$n,Ar=Qr[1]-er,zr=Qr[2]-Qr[0]-Xn,Hr=Qr[3]-Qr[1]-sr}var pi=function(da,Ma,La,Ra){var wa=Ig(da.stretch-$n,Xn,Ct,P.left),Ao=Og(da.fixed-dr,zr,da.stretch,hn),Ha=Ig(Ma.stretch-er,sr,Rt,P.top),$o=Og(Ma.fixed-Ar,Hr,Ma.stretch,Mn),hs=Ig(La.stretch-$n,Xn,Ct,P.left),es=Og(La.fixed-dr,zr,La.stretch,hn),zs=Ig(Ra.stretch-er,sr,Rt,P.top),ts=Og(Ra.fixed-Ar,Hr,Ra.stretch,Mn),Do=new a(wa,Ha),ns=new a(hs,Ha),Yo=new a(hs,zs),Ro=new a(wa,zs),bi=new a(Ao/Ge,$o/Ge),$i=new a(es/Ge,ts/Ge),Qa=V*Math.PI/180;if(Qa){var ba=Math.sin(Qa),Ya=Math.cos(Qa),za=[Ya,-ba,ba,Ya];Do._matMult(za),ns._matMult(za),Ro._matMult(za),Yo._matMult(za)}var Ji=da.stretch+da.fixed,eo=La.stretch+La.fixed,Fs=Ma.stretch+Ma.fixed,bl=Ra.stretch+Ra.fixed;return{tl:Do,tr:ns,bl:Ro,br:Yo,tex:{x:De.paddedRect.x+1+Ji,y:De.paddedRect.y+1+Fs,w:eo-Ji,h:bl-Fs},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:bi,pixelOffsetBR:$i,minFontScaleX:zr/Ge/Ct,minFontScaleY:Hr/Ge/Rt,isSDF:J}};if(fe&&(De.stretchX||De.stretchY))for(var ri=Ww(Gt,Nn,hn),di=Ww(Zt,Bn,Mn),si=0;si0&&(Yt=Math.max(10,Yt),this.circleDiameter=Yt)}else{var hn=De.top*Ge-it,Mn=De.bottom*Ge+it,Nn=De.left*Ge-it,Bn=De.right*Ge+it,$n=De.collisionPadding;if($n&&(Nn-=$n[0]*Ge,hn-=$n[1]*Ge,Bn+=$n[2]*Ge,Mn+=$n[3]*Ge),Ct){var Xn=new a(Nn,hn),er=new a(Bn,hn),sr=new a(Nn,Mn),dr=new a(Bn,Mn),zr=Ct*Math.PI/180;Xn._rotate(zr),er._rotate(zr),sr._rotate(zr),dr._rotate(zr),Nn=Math.min(Xn.x,er.x,sr.x,dr.x),Bn=Math.max(Xn.x,er.x,sr.x,dr.x),hn=Math.min(Xn.y,er.y,sr.y,dr.y),Mn=Math.max(Xn.y,er.y,sr.y,dr.y)}P.emplaceBack(V.x,V.y,Nn,hn,Bn,Mn,J,fe,Ae)}this.boxEndIndex=P.length},ap=function(P,V){if(P===void 0&&(P=[]),V===void 0&&(V=vC),this.data=P,this.length=this.data.length,this.compare=V,this.length>0)for(var J=(this.length>>1)-1;J>=0;J--)this._down(J)};function vC(P,V){return PV?1:0}function yC(P,V,J){V===void 0&&(V=1),J===void 0&&(J=!1);for(var fe=1/0,Ae=1/0,De=-1/0,Ge=-1/0,it=P[0],mt=0;mtDe)&&(De=Ct.x),(!mt||Ct.y>Ge)&&(Ge=Ct.y)}var Rt=De-fe,Gt=Ge-Ae,Zt=Math.min(Rt,Gt),Yt=Zt/2,hn=new ap([],bC);if(Zt===0)return new a(fe,Ae);for(var Mn=fe;MnBn.d||!Bn.d)&&(Bn=Xn,J&&console.log("found best %d after %d probes",Math.round(1e4*Xn.d)/1e4,$n)),Xn.max-Bn.d<=V||(Yt=Xn.h/2,hn.push(new op(Xn.p.x-Yt,Xn.p.y-Yt,Yt,P)),hn.push(new op(Xn.p.x+Yt,Xn.p.y-Yt,Yt,P)),hn.push(new op(Xn.p.x-Yt,Xn.p.y+Yt,Yt,P)),hn.push(new op(Xn.p.x+Yt,Xn.p.y+Yt,Yt,P)),$n+=4)}return J&&(console.log("num probes: "+$n),console.log("best distance: "+Bn.d)),Bn.p}function bC(P,V){return V.max-P.max}function op(P,V,J,fe){this.p=new a(P,V),this.h=J,this.d=function(Ae,De){for(var Ge=!1,it=1/0,mt=0;mtAe.y!=hn.y>Ae.y&&Ae.x<(hn.x-Yt.x)*(Ae.y-Yt.y)/(hn.y-Yt.y)+Yt.x&&(Ge=!Ge),it=Math.min(it,mg(Ae,Yt,hn))}return(Ge?1:-1)*Math.sqrt(it)}(this.p,fe),this.max=this.d+this.h*Math.SQRT2}ap.prototype.push=function(P){this.data.push(P),this.length++,this._up(this.length-1)},ap.prototype.pop=function(){if(this.length!==0){var P=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),P}},ap.prototype.peek=function(){return this.data[0]},ap.prototype._up=function(P){for(var V=this.data,J=this.compare,fe=V[P];P>0;){var Ae=P-1>>1,De=V[Ae];if(J(fe,De)>=0)break;V[P]=De,P=Ae}V[P]=fe},ap.prototype._down=function(P){for(var V=this.data,J=this.compare,fe=this.length>>1,Ae=V[P];P=0)break;V[P]=Ge,P=De}V[P]=Ae};var z1=Number.POSITIVE_INFINITY;function qw(P,V){return V[1]!==z1?function(J,fe,Ae){var De=0,Ge=0;switch(fe=Math.abs(fe),Ae=Math.abs(Ae),J){case"top-right":case"top-left":case"top":Ge=Ae-7;break;case"bottom-right":case"bottom-left":case"bottom":Ge=7-Ae}switch(J){case"top-right":case"bottom-right":case"right":De=-fe;break;case"top-left":case"bottom-left":case"left":De=fe}return[De,Ge]}(P,V[0],V[1]):function(J,fe){var Ae=0,De=0;fe<0&&(fe=0);var Ge=fe/Math.sqrt(2);switch(J){case"top-right":case"top-left":De=Ge-7;break;case"bottom-right":case"bottom-left":De=7-Ge;break;case"bottom":De=7-fe;break;case"top":De=fe-7}switch(J){case"top-right":case"bottom-right":Ae=-Ge;break;case"top-left":case"bottom-left":Ae=Ge;break;case"left":Ae=fe;break;case"right":Ae=-fe}return[Ae,De]}(P,V[0])}function F1(P){switch(P){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}var yh=32640;function $w(P,V,J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn){var Mn=function(er,sr,dr,zr,Ar,Hr,Qr,pi){for(var ri=zr.layout.get("text-rotate").evaluate(Hr,{})*Math.PI/180,di=[],si=0,ti=sr.positionedLines;siyh&&O(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):Nn.kind==="composite"&&((Bn=[Jc*Yt.compositeTextSizes[0].evaluate(Ge,{},hn),Jc*Yt.compositeTextSizes[1].evaluate(Ge,{},hn)])[0]>yh||Bn[1]>yh)&&O(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),P.addSymbols(P.text,Mn,Bn,it,De,Ge,Ct,V,mt.lineStartIndex,mt.lineLength,Zt,hn);for(var $n=0,Xn=Rt;$n=0;Ge--)if(fe.dist(De[Ge])0)&&(De.value.kind!=="constant"||De.value.value.length>0),Ct=it.value.kind!=="constant"||!!it.value.value||Object.keys(it.parameters).length>0,Rt=Ae.get("symbol-sort-key");if(this.features=[],mt||Ct){for(var Gt=V.iconDependencies,Zt=V.glyphDependencies,Yt=V.availableImages,hn=new Yi(this.zoom),Mn=0,Nn=P;Mn=0;for(var yi=0,_a=Ar.sections;yi<_a.length;yi+=1){var fi=_a[yi];if(fi.image)Gt[fi.image.name]=!0;else{var da=Bu(Ar.toString()),Ma=fi.fontStack||ti,La=Zt[Ma]=Zt[Ma]||{};this.calculateGlyphDependencies(fi.text,La,Bi,this.allowVerticalPlacement,da)}}}}}}Ae.get("symbol-placement")==="line"&&(this.features=function(Ra){var wa={},Ao={},Ha=[],$o=0;function hs(Ya){Ha.push(Ra[Ya]),$o++}function es(Ya,za,Ji){var eo=Ao[Ya];return delete Ao[Ya],Ao[za]=eo,Ha[eo].geometry[0].pop(),Ha[eo].geometry[0]=Ha[eo].geometry[0].concat(Ji[0]),eo}function zs(Ya,za,Ji){var eo=wa[za];return delete wa[za],wa[Ya]=eo,Ha[eo].geometry[0].shift(),Ha[eo].geometry[0]=Ji[0].concat(Ha[eo].geometry[0]),eo}function ts(Ya,za,Ji){var eo=Ji?za[0][za[0].length-1]:za[0][0];return Ya+":"+eo.x+":"+eo.y}for(var Do=0;Do=0;it--)De[it]={x:V[it].x,y:V[it].y,tileUnitDistanceFromAnchor:Ae},it>0&&(Ae+=V[it-1].dist(V[it]));for(var mt=0;mt0},ha.prototype.hasIconData=function(){return this.icon.segments.get().length>0},ha.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},ha.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},ha.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},ha.prototype.addIndicesForPlacedSymbol=function(P,V){for(var J=P.placedSymbolArray.get(V),fe=J.vertexStartIndex+4*J.numGlyphs,Ae=J.vertexStartIndex;Ae1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(P),this.sortedAngle=P,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var J=0,fe=this.symbolInstanceIndexes;J=0&&mt.indexOf(Ge)===it&&V.addIndicesForPlacedSymbol(V.text,Ge)}),De.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,De.verticalPlacedTextSymbolIndex),De.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,De.placedIconSymbolIndex),De.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,De.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Br("SymbolBucket",ha,{omit:["layers","collisionBoxArray","features","compareText"]}),ha.MAX_GLYPHS=65535,ha.addDynamicAttributes=B1;var kC=new _o({"symbol-placement":new $r(Oe.layout_symbol["symbol-placement"]),"symbol-spacing":new $r(Oe.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new $r(Oe.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new oi(Oe.layout_symbol["symbol-sort-key"]),"symbol-z-order":new $r(Oe.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new $r(Oe.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new $r(Oe.layout_symbol["icon-ignore-placement"]),"icon-optional":new $r(Oe.layout_symbol["icon-optional"]),"icon-rotation-alignment":new $r(Oe.layout_symbol["icon-rotation-alignment"]),"icon-size":new oi(Oe.layout_symbol["icon-size"]),"icon-text-fit":new $r(Oe.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new $r(Oe.layout_symbol["icon-text-fit-padding"]),"icon-image":new oi(Oe.layout_symbol["icon-image"]),"icon-rotate":new oi(Oe.layout_symbol["icon-rotate"]),"icon-padding":new $r(Oe.layout_symbol["icon-padding"]),"icon-keep-upright":new $r(Oe.layout_symbol["icon-keep-upright"]),"icon-offset":new oi(Oe.layout_symbol["icon-offset"]),"icon-anchor":new oi(Oe.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new $r(Oe.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new $r(Oe.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new $r(Oe.layout_symbol["text-rotation-alignment"]),"text-field":new oi(Oe.layout_symbol["text-field"]),"text-font":new oi(Oe.layout_symbol["text-font"]),"text-size":new oi(Oe.layout_symbol["text-size"]),"text-max-width":new oi(Oe.layout_symbol["text-max-width"]),"text-line-height":new $r(Oe.layout_symbol["text-line-height"]),"text-letter-spacing":new oi(Oe.layout_symbol["text-letter-spacing"]),"text-justify":new oi(Oe.layout_symbol["text-justify"]),"text-radial-offset":new oi(Oe.layout_symbol["text-radial-offset"]),"text-variable-anchor":new $r(Oe.layout_symbol["text-variable-anchor"]),"text-anchor":new oi(Oe.layout_symbol["text-anchor"]),"text-max-angle":new $r(Oe.layout_symbol["text-max-angle"]),"text-writing-mode":new $r(Oe.layout_symbol["text-writing-mode"]),"text-rotate":new oi(Oe.layout_symbol["text-rotate"]),"text-padding":new $r(Oe.layout_symbol["text-padding"]),"text-keep-upright":new $r(Oe.layout_symbol["text-keep-upright"]),"text-transform":new oi(Oe.layout_symbol["text-transform"]),"text-offset":new oi(Oe.layout_symbol["text-offset"]),"text-allow-overlap":new $r(Oe.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new $r(Oe.layout_symbol["text-ignore-placement"]),"text-optional":new $r(Oe.layout_symbol["text-optional"])}),N1={paint:new _o({"icon-opacity":new oi(Oe.paint_symbol["icon-opacity"]),"icon-color":new oi(Oe.paint_symbol["icon-color"]),"icon-halo-color":new oi(Oe.paint_symbol["icon-halo-color"]),"icon-halo-width":new oi(Oe.paint_symbol["icon-halo-width"]),"icon-halo-blur":new oi(Oe.paint_symbol["icon-halo-blur"]),"icon-translate":new $r(Oe.paint_symbol["icon-translate"]),"icon-translate-anchor":new $r(Oe.paint_symbol["icon-translate-anchor"]),"text-opacity":new oi(Oe.paint_symbol["text-opacity"]),"text-color":new oi(Oe.paint_symbol["text-color"],{runtimeType:Nt,getOverride:function(P){return P.textColor},hasOverride:function(P){return!!P.textColor}}),"text-halo-color":new oi(Oe.paint_symbol["text-halo-color"]),"text-halo-width":new oi(Oe.paint_symbol["text-halo-width"]),"text-halo-blur":new oi(Oe.paint_symbol["text-halo-blur"]),"text-translate":new $r(Oe.paint_symbol["text-translate"]),"text-translate-anchor":new $r(Oe.paint_symbol["text-translate-anchor"])}),layout:kC},lp=function(P){this.type=P.property.overrides?P.property.overrides.runtimeType:yt,this.defaultValue=P};lp.prototype.evaluate=function(P){if(P.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(P.formattedSection))return V.getOverride(P.formattedSection)}return P.feature&&P.featureState?this.defaultValue.evaluate(P.feature,P.featureState):this.defaultValue.property.specification.default},lp.prototype.eachChild=function(P){this.defaultValue.isConstant()||P(this.defaultValue.value._styleExpression.expression)},lp.prototype.outputDefined=function(){return!1},lp.prototype.serialize=function(){return null},Br("FormatSectionOverride",lp,{omit:["defaultValue"]});var MC=function(P){function V(J){P.call(this,J,N1)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.recalculate=function(J,fe){if(P.prototype.recalculate.call(this,J,fe),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Ae=this.layout.get("text-writing-mode");if(Ae){for(var De=[],Ge=0,it=Ae;Ge",targetMapId:fe,sourceMapId:De.mapId})}}},up.prototype.receive=function(P){var V=P.data,J=V.id;if(J&&(!V.targetMapId||this.mapId===V.targetMapId))if(V.type===""){delete this.tasks[J];var fe=this.cancelCallbacks[J];delete this.cancelCallbacks[J],fe&&fe()}else z()||V.mustQueue?(this.tasks[J]=V,this.taskQueue.push(J),this.invoker.trigger()):this.processTask(J,V)},up.prototype.process=function(){if(this.taskQueue.length){var P=this.taskQueue.shift(),V=this.tasks[P];delete this.tasks[P],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(P,V)}},up.prototype.processTask=function(P,V){var J=this;if(V.type===""){var fe=this.callbacks[P];delete this.callbacks[P],fe&&(V.error?fe(zu(V.error)):fe(null,zu(V.data)))}else{var Ae=!1,De=N(this.globalScope)?void 0:[],Ge=V.hasCallback?function(Rt,Gt){Ae=!0,delete J.cancelCallbacks[P],J.target.postMessage({id:P,type:"",sourceMapId:J.mapId,error:Rt?Ru(Rt):null,data:Ru(Gt,De)},De)}:function(Rt){Ae=!0},it=null,mt=zu(V.data);if(this.parent[V.type])it=this.parent[V.type](V.sourceMapId,mt,Ge);else if(this.parent.getWorkerSource){var Ct=V.type.split(".");it=this.parent.getWorkerSource(V.sourceMapId,Ct[0],mt.source)[Ct[1]](mt,Ge)}else Ge(new Error("Could not find function "+V.type));!Ae&&it&&it.cancel&&(this.cancelCallbacks[P]=it.cancel)}},up.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var ko=function(P,V){P&&(V?this.setSouthWest(P).setNorthEast(V):P.length===4?this.setSouthWest([P[0],P[1]]).setNorthEast([P[2],P[3]]):this.setSouthWest(P[0]).setNorthEast(P[1]))};ko.prototype.setNorthEast=function(P){return this._ne=P instanceof Da?new Da(P.lng,P.lat):Da.convert(P),this},ko.prototype.setSouthWest=function(P){return this._sw=P instanceof Da?new Da(P.lng,P.lat):Da.convert(P),this},ko.prototype.extend=function(P){var V,J,fe=this._sw,Ae=this._ne;if(P instanceof Da)V=P,J=P;else{if(!(P instanceof ko)){if(Array.isArray(P)){if(P.length===4||P.every(Array.isArray)){var De=P;return this.extend(ko.convert(De))}var Ge=P;return this.extend(Da.convert(Ge))}return this}if(V=P._sw,J=P._ne,!V||!J)return this}return fe||Ae?(fe.lng=Math.min(V.lng,fe.lng),fe.lat=Math.min(V.lat,fe.lat),Ae.lng=Math.max(J.lng,Ae.lng),Ae.lat=Math.max(J.lat,Ae.lat)):(this._sw=new Da(V.lng,V.lat),this._ne=new Da(J.lng,J.lat)),this},ko.prototype.getCenter=function(){return new Da((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},ko.prototype.getSouthWest=function(){return this._sw},ko.prototype.getNorthEast=function(){return this._ne},ko.prototype.getNorthWest=function(){return new Da(this.getWest(),this.getNorth())},ko.prototype.getSouthEast=function(){return new Da(this.getEast(),this.getSouth())},ko.prototype.getWest=function(){return this._sw.lng},ko.prototype.getSouth=function(){return this._sw.lat},ko.prototype.getEast=function(){return this._ne.lng},ko.prototype.getNorth=function(){return this._ne.lat},ko.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},ko.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},ko.prototype.isEmpty=function(){return!(this._sw&&this._ne)},ko.prototype.contains=function(P){var V=Da.convert(P),J=V.lng,fe=V.lat,Ae=this._sw.lat<=fe&&fe<=this._ne.lat,De=this._sw.lng<=J&&J<=this._ne.lng;return this._sw.lng>this._ne.lng&&(De=this._sw.lng>=J&&J>=this._ne.lng),Ae&&De},ko.convert=function(P){return!P||P instanceof ko?P:new ko(P)};var e3=63710088e-1,Da=function(P,V){if(isNaN(P)||isNaN(V))throw new Error("Invalid LngLat object: ("+P+", "+V+")");if(this.lng=+P,this.lat=+V,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Da.prototype.wrap=function(){return new Da(f(this.lng,-180,180),this.lat)},Da.prototype.toArray=function(){return[this.lng,this.lat]},Da.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Da.prototype.distanceTo=function(P){var V=Math.PI/180,J=this.lat*V,fe=P.lat*V,Ae=Math.sin(J)*Math.sin(fe)+Math.cos(J)*Math.cos(fe)*Math.cos((P.lng-this.lng)*V);return e3*Math.acos(Math.min(Ae,1))},Da.prototype.toBounds=function(P){P===void 0&&(P=0);var V=360*P/40075017,J=V/Math.cos(Math.PI/180*this.lat);return new ko(new Da(this.lng-J,this.lat-V),new Da(this.lng+J,this.lat+V))},Da.convert=function(P){if(P instanceof Da)return P;if(Array.isArray(P)&&(P.length===2||P.length===3))return new Da(Number(P[0]),Number(P[1]));if(!Array.isArray(P)&&typeof P=="object"&&P!==null)return new Da(Number("lng"in P?P.lng:P.lon),Number(P.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 t3=2*Math.PI*e3;function n3(P){return t3*Math.cos(P*Math.PI/180)}function r3(P){return(180+P)/360}function i3(P){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+P*Math.PI/360)))/360}function a3(P,V){return P/n3(V)}function j1(P){var V=180-360*P;return 360/Math.PI*Math.atan(Math.exp(V*Math.PI/180))-90}var Qh=function(P,V,J){J===void 0&&(J=0),this.x=+P,this.y=+V,this.z=+J};Qh.fromLngLat=function(P,V){V===void 0&&(V=0);var J=Da.convert(P);return new Qh(r3(J.lng),i3(J.lat),a3(V,J.lat))},Qh.prototype.toLngLat=function(){return new Da(360*this.x-180,j1(this.y))},Qh.prototype.toAltitude=function(){return P=this.z,V=this.y,P*n3(j1(V));var P,V},Qh.prototype.meterInMercatorCoordinateUnits=function(){return 1/t3*(P=j1(this.y),1/Math.cos(P*Math.PI/180));var P};var ed=function(P,V,J){this.z=P,this.x=V,this.y=J,this.key=R0(0,P,P,V,J)};ed.prototype.equals=function(P){return this.z===P.z&&this.x===P.x&&this.y===P.y},ed.prototype.url=function(P,V){var J,fe,Ae,De,Ge,it=(J=this.x,fe=this.y,Ae=this.z,De=Qw(256*J,256*(fe=Math.pow(2,Ae)-fe-1),Ae),Ge=Qw(256*(J+1),256*(fe+1),Ae),De[0]+","+De[1]+","+Ge[0]+","+Ge[1]),mt=function(Ct,Rt,Gt){for(var Zt,Yt="",hn=Ct;hn>0;hn--)Yt+=(Rt&(Zt=1<this.canonical.z?new Mo(P,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new Mo(P,this.wrap,P,this.canonical.x>>V,this.canonical.y>>V)},Mo.prototype.calculateScaledKey=function(P,V){var J=this.canonical.z-P;return P>this.canonical.z?R0(this.wrap*+V,P,this.canonical.z,this.canonical.x,this.canonical.y):R0(this.wrap*+V,P,P,this.canonical.x>>J,this.canonical.y>>J)},Mo.prototype.isChildOf=function(P){if(P.wrap!==this.wrap)return!1;var V=this.canonical.z-P.canonical.z;return P.overscaledZ===0||P.overscaledZ>V&&P.canonical.y===this.canonical.y>>V},Mo.prototype.children=function(P){if(this.overscaledZ>=P)return[new Mo(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,J=2*this.canonical.x,fe=2*this.canonical.y;return[new Mo(V,this.wrap,V,J,fe),new Mo(V,this.wrap,V,J+1,fe),new Mo(V,this.wrap,V,J,fe+1),new Mo(V,this.wrap,V,J+1,fe+1)]},Mo.prototype.isLessThan=function(P){return this.wrapP.wrap)&&(this.overscaledZP.overscaledZ)&&(this.canonical.xP.canonical.x)&&this.canonical.y=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(V+1)*this.stride+(P+1)},Pf.prototype._unpackMapbox=function(P,V,J){return(256*P*256+256*V+J)/10-1e4},Pf.prototype._unpackTerrarium=function(P,V,J){return 256*P+V+J/256-32768},Pf.prototype.getPixels=function(){return new Ks({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Pf.prototype.backfillBorder=function(P,V,J){if(this.dim!==P.dim)throw new Error("dem dimension mismatch");var fe=V*this.dim,Ae=V*this.dim+this.dim,De=J*this.dim,Ge=J*this.dim+this.dim;switch(V){case-1:fe=Ae-1;break;case 1:Ae=fe+1}switch(J){case-1:De=Ge-1;break;case 1:Ge=De+1}for(var it=-V*this.dim,mt=-J*this.dim,Ct=De;Ct=0&&Rt[3]>=0&&it.insert(Ge,Rt[0],Rt[1],Rt[2],Rt[3])}},Df.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new ep.VectorTile(new kg(this.rawTileData)).layers,this.sourceLayerCoder=new zg(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Df.prototype.query=function(P,V,J,fe){var Ae=this;this.loadVTLayers();for(var De=P.params||{},Ge=hi/P.tileSize/P.scale,it=pc(De.filter),mt=P.queryGeometry,Ct=P.queryPadding*Ge,Rt=l3(mt),Gt=this.grid.query(Rt.minX-Ct,Rt.minY-Ct,Rt.maxX+Ct,Rt.maxY+Ct),Zt=l3(P.cameraQueryGeometry),Yt=0,hn=this.grid3D.query(Zt.minX-Ct,Zt.minY-Ct,Zt.maxX+Ct,Zt.maxY+Ct,function(er,sr,dr,zr){return function(Ar,Hr,Qr,pi,ri){for(var di=0,si=Ar;di=ti.x&&ri>=ti.y)return!0}var Bi=[new a(Hr,Qr),new a(Hr,ri),new a(pi,ri),new a(pi,Qr)];if(Ar.length>2){for(var yi=0,_a=Bi;yi<_a.length;yi+=1)if(gh(Ar,_a[yi]))return!0}for(var fi=0;fi=0)return!0;return!1}(De,Gt)){var Zt=this.sourceLayerCoder.decode(J),Yt=this.vtLayers[Zt].feature(fe);if(Ae.filter(new Yi(this.tileID.overscaledZ),Yt))for(var hn=this.getId(Yt,Zt),Mn=0;Mnfe)Ae=!1;else if(V)if(this.expirationTimege&&(P.getActor().send("enforceCacheSizeLimit",je),st=0)},i.clamp=h,i.clearTileCache=function(P){var V=self.caches.delete(ze);P&&V.catch(P).then(function(){return P()})},i.clipLine=Hw,i.clone=function(P){var V=new Nl(16);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V[3]=P[3],V[4]=P[4],V[5]=P[5],V[6]=P[6],V[7]=P[7],V[8]=P[8],V[9]=P[9],V[10]=P[10],V[11]=P[11],V[12]=P[12],V[13]=P[13],V[14]=P[14],V[15]=P[15],V},i.clone$1=L,i.clone$2=function(P){var V=new Nl(3);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V},i.collisionCircleLayout=J8,i.config=Z,i.create=function(){var P=new Nl(16);return Nl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[11]=0,P[12]=0,P[13]=0,P[14]=0),P[0]=1,P[5]=1,P[10]=1,P[15]=1,P},i.create$1=function(){var P=new Nl(9);return Nl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[5]=0,P[6]=0,P[7]=0),P[0]=1,P[4]=1,P[8]=1,P},i.create$2=function(){var P=new Nl(4);return Nl!=Float32Array&&(P[1]=0,P[2]=0),P[0]=1,P[3]=1,P},i.createCommonjsModule=M,i.createExpression=lc,i.createLayout=ua,i.createStyleLayer=function(P){return P.type==="custom"?new LC(P):new IC[P.type](P)},i.cross=function(P,V,J){var fe=V[0],Ae=V[1],De=V[2],Ge=J[0],it=J[1],mt=J[2];return P[0]=Ae*mt-De*it,P[1]=De*Ge-fe*mt,P[2]=fe*it-Ae*Ge,P},i.deepEqual=function P(V,J){if(Array.isArray(V)){if(!Array.isArray(J)||V.length!==J.length)return!1;for(var fe=0;fe0&&(De=1/Math.sqrt(De)),P[0]=V[0]*De,P[1]=V[1]*De,P[2]=V[2]*De,P},i.number=Vr,i.offscreenCanvasSupported=ot,i.ortho=function(P,V,J,fe,Ae,De,Ge){var it=1/(V-J),mt=1/(fe-Ae),Ct=1/(De-Ge);return P[0]=-2*it,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=-2*mt,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=2*Ct,P[11]=0,P[12]=(V+J)*it,P[13]=(Ae+fe)*mt,P[14]=(Ge+De)*Ct,P[15]=1,P},i.parseGlyphPBF=function(P){return new kg(P).readFields(uC,[])},i.pbf=kg,i.performSymbolLayout=function(P,V,J,fe,Ae,De,Ge){P.createArrays();var it=512*P.overscaling;P.tilePixelRatio=hi/it,P.compareText={},P.iconsNeedLinear=!1;var mt=P.layers[0].layout,Ct=P.layers[0]._unevaluatedLayout._values,Rt={};if(P.textSizeData.kind==="composite"){var Gt=P.textSizeData,Zt=Gt.minZoom,Yt=Gt.maxZoom;Rt.compositeTextSizes=[Ct["text-size"].possiblyEvaluate(new Yi(Zt),Ge),Ct["text-size"].possiblyEvaluate(new Yi(Yt),Ge)]}if(P.iconSizeData.kind==="composite"){var hn=P.iconSizeData,Mn=hn.minZoom,Nn=hn.maxZoom;Rt.compositeIconSizes=[Ct["icon-size"].possiblyEvaluate(new Yi(Mn),Ge),Ct["icon-size"].possiblyEvaluate(new Yi(Nn),Ge)]}Rt.layoutTextSize=Ct["text-size"].possiblyEvaluate(new Yi(P.zoom+1),Ge),Rt.layoutIconSize=Ct["icon-size"].possiblyEvaluate(new Yi(P.zoom+1),Ge),Rt.textMaxSize=Ct["text-size"].possiblyEvaluate(new Yi(18));for(var Bn=mt.get("text-line-height")*fs,$n=mt.get("text-rotation-alignment")==="map"&&mt.get("symbol-placement")!=="point",Xn=mt.get("text-keep-upright"),er=mt.get("text-size"),sr=function(){var Ar=zr[dr],Hr=mt.get("text-font").evaluate(Ar,{},Ge).join(","),Qr=er.evaluate(Ar,{},Ge),pi=Rt.layoutTextSize.evaluate(Ar,{},Ge),ri=Rt.layoutIconSize.evaluate(Ar,{},Ge),di={horizontal:{},vertical:void 0},si=Ar.text,ti=[0,0];if(si){var Bi=si.toString(),yi=mt.get("text-letter-spacing").evaluate(Ar,{},Ge)*fs,_a=function(bi){for(var $i=0,Qa=bi;$i=hi||G0.y<0||G0.y>=hi||function(ao,_c,DC,xh,X1,p3,$g,Qc,Yg,W0,Zg,Xg,K1,m3,q0,g3,v3,y3,b3,x3,jl,Kg,_3,ef,RC){var w3,od,pp,mp,gp,vp=ao.addToLineVertexArray(_c,DC),T3=0,k3=0,M3=0,A3=0,J1=-1,Q1=-1,zf={},S3=Fn(""),eb=0,tb=0;if(Qc._unevaluatedLayout.getValue("text-radial-offset")===void 0?(eb=(w3=Qc.layout.get("text-offset").evaluate(jl,{},ef).map(function(Y0){return Y0*fs}))[0],tb=w3[1]):(eb=Qc.layout.get("text-radial-offset").evaluate(jl,{},ef)*fs,tb=z1),ao.allowVerticalPlacement&&xh.vertical){var C3=Qc.layout.get("text-rotate").evaluate(jl,{},ef)+90,zC=xh.vertical;mp=new Pg(Yg,_c,W0,Zg,Xg,zC,K1,m3,q0,C3),$g&&(gp=new Pg(Yg,_c,W0,Zg,Xg,$g,v3,y3,q0,C3))}if(X1){var nb=Qc.layout.get("icon-rotate").evaluate(jl,{}),E3=Qc.layout.get("icon-text-fit")!=="none",L3=Gw(X1,nb,_3,E3),rb=$g?Gw($g,nb,_3,E3):void 0;pp=new Pg(Yg,_c,W0,Zg,Xg,X1,v3,y3,!1,nb),T3=4*L3.length;var I3=ao.iconSizeData,$0=null;I3.kind==="source"?($0=[Jc*Qc.layout.get("icon-size").evaluate(jl,{})])[0]>yh&&O(ao.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):I3.kind==="composite"&&(($0=[Jc*Kg.compositeIconSizes[0].evaluate(jl,{},ef),Jc*Kg.compositeIconSizes[1].evaluate(jl,{},ef)])[0]>yh||$0[1]>yh)&&O(ao.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),ao.addSymbols(ao.icon,L3,$0,x3,b3,jl,!1,_c,vp.lineStartIndex,vp.lineLength,-1,ef),J1=ao.icon.placedSymbolArray.length-1,rb&&(k3=4*rb.length,ao.addSymbols(ao.icon,rb,$0,x3,b3,jl,Vl.vertical,_c,vp.lineStartIndex,vp.lineLength,-1,ef),Q1=ao.icon.placedSymbolArray.length-1)}for(var O3 in xh.horizontal){var Jg=xh.horizontal[O3];if(!od){S3=Fn(Jg.text);var FC=Qc.layout.get("text-rotate").evaluate(jl,{},ef);od=new Pg(Yg,_c,W0,Zg,Xg,Jg,K1,m3,q0,FC)}var P3=Jg.positionedLines.length===1;if(M3+=$w(ao,_c,Jg,p3,Qc,q0,jl,g3,vp,xh.vertical?Vl.horizontal:Vl.horizontalOnly,P3?Object.keys(xh.horizontal):[O3],zf,J1,Kg,ef),P3)break}xh.vertical&&(A3+=$w(ao,_c,xh.vertical,p3,Qc,q0,jl,g3,vp,Vl.vertical,["vertical"],zf,Q1,Kg,ef));var BC=od?od.boxStartIndex:ao.collisionBoxArray.length,NC=od?od.boxEndIndex:ao.collisionBoxArray.length,VC=mp?mp.boxStartIndex:ao.collisionBoxArray.length,jC=mp?mp.boxEndIndex:ao.collisionBoxArray.length,UC=pp?pp.boxStartIndex:ao.collisionBoxArray.length,HC=pp?pp.boxEndIndex:ao.collisionBoxArray.length,GC=gp?gp.boxStartIndex:ao.collisionBoxArray.length,WC=gp?gp.boxEndIndex:ao.collisionBoxArray.length,tf=-1,Qg=function(Y0,R3){return Y0&&Y0.circleDiameter?Math.max(Y0.circleDiameter,R3):R3};tf=Qg(od,tf),tf=Qg(mp,tf),tf=Qg(pp,tf);var D3=(tf=Qg(gp,tf))>-1?1:0;D3&&(tf*=RC/fs),ao.glyphOffsetArray.length>=ha.MAX_GLYPHS&&O("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),jl.sortKey!==void 0&&ao.addToSortKeyRanges(ao.symbolInstances.length,jl.sortKey),ao.symbolInstances.emplaceBack(_c.x,_c.y,zf.right>=0?zf.right:-1,zf.center>=0?zf.center:-1,zf.left>=0?zf.left:-1,zf.vertical||-1,J1,Q1,S3,BC,NC,VC,jC,UC,HC,GC,WC,W0,M3,A3,T3,k3,D3,0,K1,eb,tb,tf)}(bi,G0,PC,Qa,ba,Ya,Rf,bi.layers[0],bi.collisionBoxArray,$i.index,$i.sourceLayerIndex,bi.index,Bg,H1,jg,Fs,Ng,Vg,Ug,xc,$i,za,bl,As,Ji)};if(F0==="line")for(var hp=0,Hg=Hw($i.geometry,0,0,hi,hi);hp1){var j0=mC(id,fp,Qa.vertical||ju,ba,Uu,nd);j0&&rd(id,j0)}}else if($i.type==="Polygon")for(var ad=0,U0=S1($i.geometry,0);ad=An.maxzoom||An.visibility!=="none"&&(c(un,this.zoom,We),(Lt[An.id]=An.createBucket({index:Qe.bucketLayerIDs.length,layers:un,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Nt,sourceID:this.source})).populate($t,yt,this.tileID.canonical),Qe.bucketLayerIDs.push(un.map(function(dn){return dn.id})))}}}var Yn=i.mapObject(yt.glyphDependencies,function(dn){return Object.keys(dn).map(Number)});Object.keys(Yn).length?nt.send("getGlyphs",{uid:this.uid,stacks:Yn},function(dn,pn){ut||(ut=dn,pt=pn,Tn.call(Oe))}):pt={};var kn=Object.keys(yt.iconDependencies);kn.length?nt.send("getImages",{icons:kn,source:this.source,tileID:this.tileID,type:"icons"},function(dn,pn){ut||(ut=dn,_t=pn,Tn.call(Oe))}):_t={};var sn=Object.keys(yt.patternDependencies);function Tn(){if(ut)return ht(ut);if(pt&&_t&&It){var dn=new u(pt),pn=new i.ImageAtlas(_t,It);for(var Rn in Lt){var In=Lt[Rn];In instanceof i.SymbolBucket?(c(In.layers,this.zoom,We),i.performSymbolLayout(In,pt,dn.positions,_t,pn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):In.hasPattern&&(In instanceof i.LineBucket||In instanceof i.FillBucket||In instanceof i.FillExtrusionBucket)&&(c(In.layers,this.zoom,We),In.addFeatures(yt,this.tileID.canonical,pn.patternPositions))}this.status="done",ht(null,{buckets:i.values(Lt).filter(function(jn){return!jn.isEmpty()}),featureIndex:Qe,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:dn.image,imageAtlas:pn,glyphMap:this.returnDependencies?pt:null,iconMap:this.returnDependencies?_t:null,glyphPositions:this.returnDependencies?dn.positions:null})}}sn.length?nt.send("getImages",{icons:sn,source:this.source,tileID:this.tileID,type:"patterns"},function(dn,pn){ut||(ut=dn,It=pn,Tn.call(Oe))}):It={},Tn.call(this)};var l=function(Ke,Je,We,nt){this.actor=Ke,this.layerIndex=Je,this.availableImages=We,this.loadVectorData=nt||s,this.loading={},this.loaded={}};l.prototype.loadTile=function(Ke,Je){var We=this,nt=Ke.uid;this.loading||(this.loading={});var ht=!!(Ke&&Ke.request&&Ke.request.collectResourceTiming)&&new i.RequestPerformance(Ke.request),Oe=this.loading[nt]=new a(Ke);Oe.abort=this.loadVectorData(Ke,function(Ne,Qe){if(delete We.loading[nt],Ne||!Qe)return Oe.status="done",We.loaded[nt]=Oe,Je(Ne);var ut=Qe.rawData,pt={};Qe.expires&&(pt.expires=Qe.expires),Qe.cacheControl&&(pt.cacheControl=Qe.cacheControl);var _t={};if(ht){var It=ht.finish();It&&(_t.resourceTiming=JSON.parse(JSON.stringify(It)))}Oe.vectorTile=Qe.vectorTile,Oe.parse(Qe.vectorTile,We.layerIndex,We.availableImages,We.actor,function(Lt,yt){if(Lt||!yt)return Je(Lt);Je(null,i.extend({rawTileData:ut.slice(0)},yt,pt,_t))}),We.loaded=We.loaded||{},We.loaded[nt]=Oe})},l.prototype.reloadTile=function(Ke,Je){var We=this,nt=this.loaded,ht=Ke.uid,Oe=this;if(nt&&nt[ht]){var Ne=nt[ht];Ne.showCollisionBoxes=Ke.showCollisionBoxes;var Qe=function(ut,pt){var _t=Ne.reloadCallback;_t&&(delete Ne.reloadCallback,Ne.parse(Ne.vectorTile,Oe.layerIndex,We.availableImages,Oe.actor,_t)),Je(ut,pt)};Ne.status==="parsing"?Ne.reloadCallback=Qe:Ne.status==="done"&&(Ne.vectorTile?Ne.parse(Ne.vectorTile,this.layerIndex,this.availableImages,this.actor,Qe):Qe())}},l.prototype.abortTile=function(Ke,Je){var We=this.loading,nt=Ke.uid;We&&We[nt]&&We[nt].abort&&(We[nt].abort(),delete We[nt]),Je()},l.prototype.removeTile=function(Ke,Je){var We=this.loaded,nt=Ke.uid;We&&We[nt]&&delete We[nt],Je()};var h=i.window.ImageBitmap,f=function(){this.loaded={}};f.prototype.loadTile=function(Ke,Je){var We=Ke.uid,nt=Ke.encoding,ht=Ke.rawImageData,Oe=h&&ht instanceof h?this.getImageData(ht):ht,Ne=new i.DEMData(We,Oe,nt);this.loaded=this.loaded||{},this.loaded[We]=Ne,Je(null,Ne)},f.prototype.getImageData=function(Ke){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(Ke.width,Ke.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=Ke.width,this.offscreenCanvas.height=Ke.height,this.offscreenCanvasContext.drawImage(Ke,0,0,Ke.width,Ke.height);var Je=this.offscreenCanvasContext.getImageData(-1,-1,Ke.width+2,Ke.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new i.RGBAImage({width:Je.width,height:Je.height},Je.data)},f.prototype.removeTile=function(Ke){var Je=this.loaded,We=Ke.uid;Je&&Je[We]&&delete Je[We]};var m=function Ke(Je,We){var nt,ht=Je&&Je.type;if(ht==="FeatureCollection")for(nt=0;nt=0!=!!Je&&Ke.reverse()}var C=i.vectorTile.VectorTileFeature.prototype.toGeoJSON,w=function(Ke){this._feature=Ke,this.extent=i.EXTENT,this.type=Ke.type,this.properties=Ke.tags,"id"in Ke&&!isNaN(Ke.id)&&(this.id=parseInt(Ke.id,10))};w.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ke=[],Je=0,We=this._feature.geometry;Je>31}function Y(Ke,Je){for(var We=Ke.loadGeometry(),nt=Ke.type,ht=0,Oe=0,Ne=We.length,Qe=0;Qe>1;W(Ke,Je,Ne,nt,ht,Oe%2),G(Ke,Je,We,nt,Ne-1,Oe+1),G(Ke,Je,We,Ne+1,ht,Oe+1)}}function W(Ke,Je,We,nt,ht,Oe){for(;ht>nt;){if(ht-nt>600){var Ne=ht-nt+1,Qe=We-nt+1,ut=Math.log(Ne),pt=.5*Math.exp(2*ut/3),_t=.5*Math.sqrt(ut*pt*(Ne-pt)/Ne)*(Qe-Ne/2<0?-1:1);W(Ke,Je,We,Math.max(nt,Math.floor(We-Qe*pt/Ne+_t)),Math.min(ht,Math.floor(We+(Ne-Qe)*pt/Ne+_t)),Oe)}var It=Je[2*We+Oe],Lt=nt,yt=ht;for(H(Ke,Je,nt,We),Je[2*ht+Oe]>It&&H(Ke,Je,nt,ht);LtIt;)yt--}Je[2*nt+Oe]===It?H(Ke,Je,nt,yt):H(Ke,Je,++yt,ht),yt<=We&&(nt=yt+1),We<=yt&&(ht=yt-1)}}function H(Ke,Je,We,nt){ne(Ke,We,nt),ne(Je,2*We,2*nt),ne(Je,2*We+1,2*nt+1)}function ne(Ke,Je,We){var nt=Ke[Je];Ke[Je]=Ke[We],Ke[We]=nt}function te(Ke,Je,We,nt){var ht=Ke-We,Oe=Je-nt;return ht*ht+Oe*Oe}b.fromVectorTileJs=O,b.fromGeojsonVt=I,b.GeoJSONWrapper=R;var Z=function(Ke){return Ke[0]},X=function(Ke){return Ke[1]},Q=function(Ke,Je,We,nt,ht){Je===void 0&&(Je=Z),We===void 0&&(We=X),nt===void 0&&(nt=64),ht===void 0&&(ht=Float64Array),this.nodeSize=nt,this.points=Ke;for(var Oe=Ke.length<65536?Uint16Array:Uint32Array,Ne=this.ids=new Oe(Ke.length),Qe=this.coords=new ht(2*Ke.length),ut=0;ut=Ne&&It<=ut&&Lt>=Qe&&Lt<=pt&&Pt.push(ht[$t]);else{var qt=Math.floor((Nt+Ot)/2);It=Oe[2*qt],Lt=Oe[2*qt+1],It>=Ne&&It<=ut&&Lt>=Qe&&Lt<=pt&&Pt.push(ht[qt]);var Xt=(wt+1)%2;(wt===0?Ne<=It:Qe<=Lt)&&(yt.push(Nt),yt.push(qt-1),yt.push(Xt)),(wt===0?ut>=It:pt>=Lt)&&(yt.push(qt+1),yt.push(Ot),yt.push(Xt))}}return Pt}(this.ids,this.coords,Ke,Je,We,nt,this.nodeSize)},Q.prototype.within=function(Ke,Je,We){return function(nt,ht,Oe,Ne,Qe,ut){for(var pt=[0,nt.length-1,0],_t=[],It=Qe*Qe;pt.length;){var Lt=pt.pop(),yt=pt.pop(),Pt=pt.pop();if(yt-Pt<=ut)for(var wt=Pt;wt<=yt;wt++)te(ht[2*wt],ht[2*wt+1],Oe,Ne)<=It&&_t.push(nt[wt]);else{var Ot=Math.floor((Pt+yt)/2),Nt=ht[2*Ot],$t=ht[2*Ot+1];te(Nt,$t,Oe,Ne)<=It&&_t.push(nt[Ot]);var qt=(Lt+1)%2;(Lt===0?Oe-Qe<=Nt:Ne-Qe<=$t)&&(pt.push(Pt),pt.push(Ot-1),pt.push(qt)),(Lt===0?Oe+Qe>=Nt:Ne+Qe>=$t)&&(pt.push(Ot+1),pt.push(yt),pt.push(qt))}}return _t}(this.ids,this.coords,Ke,Je,We,this.nodeSize)};var re={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(Ke){return Ke}},ie=function(Ke){this.options=pe(Object.create(re),Ke),this.trees=new Array(this.options.maxZoom+1)};function oe(Ke,Je,We,nt,ht){return{x:Ke,y:Je,zoom:1/0,id:We,parentId:-1,numPoints:nt,properties:ht}}function ue(Ke,Je){var We=Ke.geometry.coordinates,nt=We[0],ht=We[1];return{x:de(nt),y:me(ht),zoom:1/0,index:Je,parentId:-1}}function ce(Ke){return{type:"Feature",id:Ke.id,properties:ye(Ke),geometry:{type:"Point",coordinates:[(nt=Ke.x,360*(nt-.5)),(Je=Ke.y,We=(180-360*Je)*Math.PI/180,360*Math.atan(Math.exp(We))/Math.PI-90)]}};var Je,We,nt}function ye(Ke){var Je=Ke.numPoints,We=Je>=1e4?Math.round(Je/1e3)+"k":Je>=1e3?Math.round(Je/100)/10+"k":Je;return pe(pe({},Ke.properties),{cluster:!0,cluster_id:Ke.id,point_count:Je,point_count_abbreviated:We})}function de(Ke){return Ke/360+.5}function me(Ke){var Je=Math.sin(Ke*Math.PI/180),We=.5-.25*Math.log((1+Je)/(1-Je))/Math.PI;return We<0?0:We>1?1:We}function pe(Ke,Je){for(var We in Je)Ke[We]=Je[We];return Ke}function xe(Ke){return Ke.x}function Pe(Ke){return Ke.y}function _e(Ke,Je,We,nt){for(var ht,Oe=nt,Ne=We-Je>>1,Qe=We-Je,ut=Ke[Je],pt=Ke[Je+1],_t=Ke[We],It=Ke[We+1],Lt=Je+3;LtOe)ht=Lt,Oe=yt;else if(yt===Oe){var Pt=Math.abs(Lt-Ne);Ptnt&&(ht-Je>3&&_e(Ke,Je,ht,nt),Ke[ht+2]=Oe,We-ht>3&&_e(Ke,ht,We,nt))}function Me(Ke,Je,We,nt,ht,Oe){var Ne=ht-We,Qe=Oe-nt;if(Ne!==0||Qe!==0){var ut=((Ke-We)*Ne+(Je-nt)*Qe)/(Ne*Ne+Qe*Qe);ut>1?(We=ht,nt=Oe):ut>0&&(We+=Ne*ut,nt+=Qe*ut)}return(Ne=Ke-We)*Ne+(Qe=Je-nt)*Qe}function Se(Ke,Je,We,nt){var ht={id:Ke===void 0?null:Ke,type:Je,geometry:We,tags:nt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(Oe){var Ne=Oe.geometry,Qe=Oe.type;if(Qe==="Point"||Qe==="MultiPoint"||Qe==="LineString")Ce(Oe,Ne);else if(Qe==="Polygon"||Qe==="MultiLineString")for(var ut=0;ut0&&(Ne+=nt?(ht*pt-ut*Oe)/2:Math.sqrt(Math.pow(ut-ht,2)+Math.pow(pt-Oe,2))),ht=ut,Oe=pt}var _t=Je.length-3;Je[2]=1,_e(Je,0,_t,We),Je[_t+2]=1,Je.size=Math.abs(Ne),Je.start=0,Je.end=Je.size}function ke(Ke,Je,We,nt){for(var ht=0;ht1?1:We}function ze(Ke,Je,We,nt,ht,Oe,Ne,Qe){if(nt/=Je,Oe>=(We/=Je)&&Ne=nt)return null;for(var ut=[],pt=0;pt=We&&Pt=nt)){var wt=[];if(Lt==="Point"||Lt==="MultiPoint")je(It,wt,We,nt,ht);else if(Lt==="LineString")ge(It,wt,We,nt,ht,!1,Qe.lineMetrics);else if(Lt==="MultiLineString")Ee(It,wt,We,nt,ht,!1);else if(Lt==="Polygon")Ee(It,wt,We,nt,ht,!0);else if(Lt==="MultiPolygon")for(var Ot=0;Ot=We&&Ne<=nt&&(Je.push(Ke[Oe]),Je.push(Ke[Oe+1]),Je.push(Ke[Oe+2]))}}function ge(Ke,Je,We,nt,ht,Oe,Ne){for(var Qe,ut,pt=we(Ke),_t=ht===0?Ye:$e,It=Ke.start,Lt=0;LtWe&&(ut=_t(pt,yt,Pt,Ot,Nt,We),Ne&&(pt.start=It+Qe*ut)):$t>nt?qt=We&&(ut=_t(pt,yt,Pt,Ot,Nt,We),Xt=!0),qt>nt&&$t<=nt&&(ut=_t(pt,yt,Pt,Ot,Nt,nt),Xt=!0),!Oe&&Xt&&(Ne&&(pt.end=It+Qe*ut),Je.push(pt),pt=we(Ke)),Ne&&(It+=Qe)}var Qt=Ke.length-3;yt=Ke[Qt],Pt=Ke[Qt+1],wt=Ke[Qt+2],($t=ht===0?yt:Pt)>=We&&$t<=nt&&Ve(pt,yt,Pt,wt),Qt=pt.length-3,Oe&&Qt>=3&&(pt[Qt]!==pt[0]||pt[Qt+1]!==pt[1])&&Ve(pt,pt[0],pt[1],pt[2]),pt.length&&Je.push(pt)}function we(Ke){var Je=[];return Je.size=Ke.size,Je.start=Ke.start,Je.end=Ke.end,Je}function Ee(Ke,Je,We,nt,ht,Oe){for(var Ne=0;NeNe.maxX&&(Ne.maxX=_t),It>Ne.maxY&&(Ne.maxY=It)}return Ne}function kt(Ke,Je,We,nt){var ht=Je.geometry,Oe=Je.type,Ne=[];if(Oe==="Point"||Oe==="MultiPoint")for(var Qe=0;Qe0&&Je.size<(ht?Ne:nt))We.numPoints+=Je.length/3;else{for(var Qe=[],ut=0;utNe)&&(We.numSimplified++,Qe.push(Je[ut]),Qe.push(Je[ut+1])),We.numPoints++;ht&&function(pt,_t){for(var It=0,Lt=0,yt=pt.length,Pt=yt-2;Lt0===_t)for(Lt=0,yt=pt.length;Lt24)throw new Error("maxZoom should be in the 0-24 range");if(Je.promoteId&&Je.generateId)throw new Error("promoteId and generateId cannot be used together.");var nt=function(ht,Oe){var Ne=[];if(ht.type==="FeatureCollection")for(var Qe=0;Qe=nt;pt--){var _t=+Date.now();Qe=this._cluster(Qe,pt),this.trees[pt]=new Q(Qe,xe,Pe,Oe,Float32Array),We&&console.log("z%d: %d clusters in %dms",pt,Qe.length,+Date.now()-_t)}return We&&console.timeEnd("total time"),this},ie.prototype.getClusters=function(Ke,Je){var We=((Ke[0]+180)%360+360)%360-180,nt=Math.max(-90,Math.min(90,Ke[1])),ht=Ke[2]===180?180:((Ke[2]+180)%360+360)%360-180,Oe=Math.max(-90,Math.min(90,Ke[3]));if(Ke[2]-Ke[0]>=360)We=-180,ht=180;else if(We>ht){var Ne=this.getClusters([We,nt,180,Oe],Je),Qe=this.getClusters([-180,nt,ht,Oe],Je);return Ne.concat(Qe)}for(var ut=this.trees[this._limitZoom(Je)],pt=[],_t=0,It=ut.range(de(We),me(Oe),de(ht),me(nt));_t1?this._map(pt,!0):null,Ot=(ut<<5)+(Je+1)+this.points.length,Nt=0,$t=It;Nt<$t.length;Nt+=1){var qt=$t[Nt],Xt=_t.points[qt];if(!(Xt.zoom<=Je)){Xt.zoom=Je;var Qt=Xt.numPoints||1;yt+=Xt.x*Qt,Pt+=Xt.y*Qt,Lt+=Qt,Xt.parentId=Ot,Ne&&(wt||(wt=this._map(pt,!0)),Ne(wt,this._map(Xt)))}}Lt===1?We.push(pt):(pt.parentId=Ot,We.push(oe(yt/Lt,Pt/Lt,Ot,Lt,wt)))}}return We},ie.prototype._getOriginId=function(Ke){return Ke-this.points.length>>5},ie.prototype._getOriginZoom=function(Ke){return(Ke-this.points.length)%32},ie.prototype._map=function(Ke,Je){if(Ke.numPoints)return Je?pe({},Ke.properties):Ke.properties;var We=this.points[Ke.index].properties,nt=this.options.map(We);return Je&&nt===We?pe({},nt):nt},Ft.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Ft.prototype.splitTile=function(Ke,Je,We,nt,ht,Oe,Ne){for(var Qe=[Ke,Je,We,nt],ut=this.options,pt=ut.debug;Qe.length;){nt=Qe.pop(),We=Qe.pop(),Je=Qe.pop(),Ke=Qe.pop();var _t=1<1&&console.time("creation"),Lt=this.tiles[It]=Et(Ke,Je,We,nt,ut),this.tileCoords.push({z:Je,x:We,y:nt}),pt)){pt>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Je,We,nt,Lt.numFeatures,Lt.numPoints,Lt.numSimplified),console.timeEnd("creation"));var yt="z"+Je;this.stats[yt]=(this.stats[yt]||0)+1,this.total++}if(Lt.source=Ke,ht){if(Je===ut.maxZoom||Je===ht)continue;var Pt=1<1&&console.time("clipping");var wt,Ot,Nt,$t,qt,Xt,Qt=.5*ut.buffer/ut.extent,rn=.5-Qt,xn=.5+Qt,un=1+Qt;wt=Ot=Nt=$t=null,qt=ze(Ke,_t,We-Qt,We+xn,0,Lt.minX,Lt.maxX,ut),Xt=ze(Ke,_t,We+rn,We+un,0,Lt.minX,Lt.maxX,ut),Ke=null,qt&&(wt=ze(qt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Ot=ze(qt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),qt=null),Xt&&(Nt=ze(Xt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),$t=ze(Xt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Xt=null),pt>1&&console.timeEnd("clipping"),Qe.push(wt||[],Je+1,2*We,2*nt),Qe.push(Ot||[],Je+1,2*We,2*nt+1),Qe.push(Nt||[],Je+1,2*We+1,2*nt),Qe.push($t||[],Je+1,2*We+1,2*nt+1)}}},Ft.prototype.getTile=function(Ke,Je,We){var nt=this.options,ht=nt.extent,Oe=nt.debug;if(Ke<0||Ke>24)return null;var Ne=1<1&&console.log("drilling down to z%d-%d-%d",Ke,Je,We);for(var ut,pt=Ke,_t=Je,It=We;!ut&&pt>0;)pt--,_t=Math.floor(_t/2),It=Math.floor(It/2),ut=this.tiles[Dt(pt,_t,It)];return ut&&ut.source?(Oe>1&&console.log("found parent tile z%d-%d-%d",pt,_t,It),Oe>1&&console.time("drilling down"),this.splitTile(ut.source,pt,_t,It,Ke,Je,We),Oe>1&&console.timeEnd("drilling down"),this.tiles[Qe]?ft(this.tiles[Qe],ht):null):null};var Wt=function(Ke){function Je(We,nt,ht,Oe){Ke.call(this,We,nt,ht,Bt),Oe&&(this.loadGeoJSON=Oe)}return Ke&&(Je.__proto__=Ke),Je.prototype=Object.create(Ke&&Ke.prototype),Je.prototype.constructor=Je,Je.prototype.loadData=function(We,nt){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=nt,this._pendingLoadDataParams=We,this._state&&this._state!=="Idle"?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},Je.prototype._loadData=function(){var We=this;if(this._pendingCallback&&this._pendingLoadDataParams){var nt=this._pendingCallback,ht=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var Oe=!!(ht&&ht.request&&ht.request.collectResourceTiming)&&new i.RequestPerformance(ht.request);this.loadGeoJSON(ht,function(Ne,Qe){if(Ne||!Qe)return nt(Ne);if(typeof Qe!="object")return nt(new Error("Input data given to '"+ht.source+"' is not a valid GeoJSON object."));m(Qe,!0);try{We._geoJSONIndex=ht.cluster?new ie(function(_t){var It=_t.superclusterOptions,Lt=_t.clusterProperties;if(!Lt||!It)return It;for(var yt={},Pt={},wt={accumulated:null,zoom:0},Ot={properties:null},Nt=Object.keys(Lt),$t=0,qt=Nt;$t=0?0:$.button},v.remove=function($){$.parentNode&&$.parentNode.removeChild($)};var _=function($){function ee(){$.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new i.RGBAImage({width:1,height:1}),this.dirty=!0}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.isLoaded=function(){return this.loaded},ee.prototype.setLoaded=function(K){if(this.loaded!==K&&(this.loaded=K,K)){for(var le=0,Te=this.requestors;le=0?1.2:1))}function E($,ee,K,le,Te,Re,He){for(var Ze=0;Ze65535)Tt(new Error("glyphs > 65535 not supported"));else if(ve.ranges[Fe])Tt(null,{stack:At,id:se,glyph:Ie});else{var Ue=ve.requests[Fe];Ue||(Ue=ve.requests[Fe]=[],A.loadGlyphRange(At,Fe,K.url,K.requestManager,function(qe,Xe){if(Xe){for(var tt in Xe)K._doesCharSupportLocalGlyph(+tt)||(ve.glyphs[+tt]=Xe[+tt]);ve.ranges[Fe]=!0}for(var lt=0,gt=Ue;lt1&&(at=$[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=void 0,Fe=Te/K*(le+1);if(at.isDash){var Ue=le-Math.abs(Fe);Ie=Math.sqrt(ve*ve+Ue*Ue)}else Ie=le-Math.sqrt(ve*ve+Fe*Fe);this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},R.prototype.addRegularDash=function($){for(var ee=$.length-1;ee>=0;--ee){var K=$[ee],le=$[ee+1];K.zeroLength?$.splice(ee,1):le&&le.isDash===K.isDash&&(le.left=K.left,$.splice(ee,1))}var Te=$[0],Re=$[$.length-1];Te.isDash===Re.isDash&&(Te.left=Re.left-this.width,Re.right=Te.right+this.width);for(var He=this.width*this.nextRow,Ze=0,at=$[Ze],Tt=0;Tt1&&(at=$[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=at.isDash?ve:-ve;this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},R.prototype.addDash=function($,ee){var K=ee?7:0,le=2*K+1;if(this.nextRow+le>this.height)return i.warnOnce("LineAtlas out of space"),null;for(var Te=0,Re=0;Re<$.length;Re++)Te+=$[Re];if(Te!==0){var He=this.width/Te,Ze=this.getDashRanges($,this.width,He);ee?this.addRoundDash(Ze,He,K):this.addRegularDash(Ze)}var at={y:(this.nextRow+K+.5)/this.height,height:2*K/this.height,width:Te};return this.nextRow+=le,this.dirty=!0,at},R.prototype.bind=function($){var ee=$.gl;this.texture?(ee.bindTexture(ee.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,ee.texSubImage2D(ee.TEXTURE_2D,0,0,0,this.width,this.height,ee.ALPHA,ee.UNSIGNED_BYTE,this.data))):(this.texture=ee.createTexture(),ee.bindTexture(ee.TEXTURE_2D,this.texture),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_WRAP_S,ee.REPEAT),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_WRAP_T,ee.REPEAT),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_MIN_FILTER,ee.LINEAR),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_MAG_FILTER,ee.LINEAR),ee.texImage2D(ee.TEXTURE_2D,0,ee.ALPHA,this.width,this.height,0,ee.ALPHA,ee.UNSIGNED_BYTE,this.data))};var z=function $(ee,K){this.workerPool=ee,this.actors=[],this.currentActor=0,this.id=i.uniqueId();for(var le=this.workerPool.acquire(this.id),Te=0;Te=K&&$.x=le&&$.y0&&(Tt[new i.OverscaledTileID(K.overscaledZ,He,le.z,Re,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,K.wrap,le.z,le.x,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,at,le.z,Ze,le.y-1).key]={backfilled:!1}),le.y+10&&(Te.resourceTiming=K._resourceTiming,K._resourceTiming=[]),K.fire(new i.Event("data",Te))}})},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setData=function(K){var le=this;return this._data=K,this.fire(new i.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Te){if(Te)le.fire(new i.ErrorEvent(Te));else{var Re={dataType:"source",sourceDataType:"content"};le._collectResourceTiming&&le._resourceTiming&&le._resourceTiming.length>0&&(Re.resourceTiming=le._resourceTiming,le._resourceTiming=[]),le.fire(new i.Event("data",Re))}}),this},ee.prototype.getClusterExpansionZoom=function(K,le){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterChildren=function(K,le){return this.actor.send("geojson.getClusterChildren",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterLeaves=function(K,le,Te,Re){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:K,limit:le,offset:Te},Re),this},ee.prototype._updateWorkerData=function(K){var le=this;this._loaded=!1;var Te=i.extend({},this.workerOptions),Re=this._data;typeof Re=="string"?(Te.request=this.map._requestManager.transformRequest(i.browser.resolveURL(Re),i.ResourceType.Source),Te.request.collectResourceTiming=this._collectResourceTiming):Te.data=JSON.stringify(Re),this.actor.send(this.type+".loadData",Te,function(He,Ze){le._removed||Ze&&Ze.abandoned||(le._loaded=!0,Ze&&Ze.resourceTiming&&Ze.resourceTiming[le.id]&&(le._resourceTiming=Ze.resourceTiming[le.id].slice(0)),le.actor.send(le.type+".coalesce",{source:Te.source},null),K(He))})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.loadTile=function(K,le){var Te=this,Re=K.actor?"reloadTile":"loadTile";K.actor=this.actor;var He={type:this.type,uid:K.uid,tileID:K.tileID,zoom:K.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:i.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};K.request=this.actor.send(Re,He,function(Ze,at){return delete K.request,K.unloadVectorData(),K.aborted?le(null):Ze?le(Ze):(K.loadVectorData(at,Te.map.painter,Re==="reloadTile"),le(null))})},ee.prototype.abortTile=function(K){K.request&&(K.request.cancel(),delete K.request),K.aborted=!0},ee.prototype.unloadTile=function(K){K.unloadVectorData(),this.actor.send("removeTile",{uid:K.uid,type:this.type,source:this.id})},ee.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},ee.prototype.serialize=function(){return i.extend({},this._options,{type:this.type,data:this._data})},ee.prototype.hasTransition=function(){return!1},ee}(i.Evented),U=i.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),G=function($){function ee(K,le,Te,Re){$.call(this),this.id=K,this.dispatcher=Te,this.coordinates=le.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(Re),this.options=le}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(K,le){var Te=this;this._loaded=!1,this.fire(new i.Event("dataloading",{dataType:"source"})),this.url=this.options.url,i.getImage(this.map._requestManager.transformRequest(this.url,i.ResourceType.Image),function(Re,He){Te._loaded=!0,Re?Te.fire(new i.ErrorEvent(Re)):He&&(Te.image=He,K&&(Te.coordinates=K),le&&le(),Te._finishLoading())})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.updateImage=function(K){var le=this;return this.image&&K.url?(this.options.url=K.url,this.load(K.coordinates,function(){le.texture=null}),this):this},ee.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new i.Event("data",{dataType:"source",sourceDataType:"metadata"})))},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setCoordinates=function(K){var le=this;this.coordinates=K;var Te=K.map(i.MercatorCoordinate.fromLngLat);this.tileID=function(He){for(var Ze=1/0,at=1/0,Tt=-1/0,At=-1/0,se=0,ve=He;sele.end(0)?this.fire(new i.ErrorEvent(new i.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+le.start(0)+" and "+le.end(0)+"-second mark."))):this.video.currentTime=K}},ee.prototype.getVideo=function(){return this.video},ee.prototype.onAdd=function(K){this.map||(this.map=K,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},ee.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var K=this.map.painter.context,le=K.gl;for(var Te in this.boundsBuffer||(this.boundsBuffer=K.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE),le.texSubImage2D(le.TEXTURE_2D,0,0,0,le.RGBA,le.UNSIGNED_BYTE,this.video)):(this.texture=new i.Texture(K,this.video,le.RGBA),this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE)),this.tiles){var Re=this.tiles[Te];Re.state!=="loaded"&&(Re.state="loaded",Re.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this.video&&!this.video.paused},ee}(G),H=function($){function ee(K,le,Te,Re){$.call(this,K,le,Te,Re),le.coordinates?Array.isArray(le.coordinates)&&le.coordinates.length===4&&!le.coordinates.some(function(He){return!Array.isArray(He)||He.length!==2||He.some(function(Ze){return typeof Ze!="number"})})||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "coordinates"'))),le.animate&&typeof le.animate!="boolean"&&this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'optional "animate" property must be a boolean value'))),le.canvas?typeof le.canvas=="string"||le.canvas instanceof i.window.HTMLCanvasElement||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,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 i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "canvas"'))),this.options=le,this.animate=le.animate===void 0||le.animate}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof i.window.HTMLCanvasElement?this.options.canvas:i.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new i.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())},ee.prototype.getCanvas=function(){return this.canvas},ee.prototype.onAdd=function(K){this.map=K,this.load(),this.canvas&&this.animate&&this.play()},ee.prototype.onRemove=function(){this.pause()},ee.prototype.prepare=function(){var K=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,K=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,K=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var le=this.map.painter.context,Te=le.gl;for(var Re in this.boundsBuffer||(this.boundsBuffer=le.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(K||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new i.Texture(le,this.canvas,Te.RGBA,{premultiply:!0}),this.tiles){var He=this.tiles[Re];He.state!=="loaded"&&(He.state="loaded",He.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this._playing},ee.prototype._hasInvalidDimensions=function(){for(var K=0,le=[this.canvas.width,this.canvas.height];Kthis.max){var He=this._getAndRemoveByKey(this.order[0]);He&&this.onRemove(He)}return this},Q.prototype.has=function($){return $.wrapped().key in this.data},Q.prototype.getAndRemove=function($){return this.has($)?this._getAndRemoveByKey($.wrapped().key):null},Q.prototype._getAndRemoveByKey=function($){var ee=this.data[$].shift();return ee.timeout&&clearTimeout(ee.timeout),this.data[$].length===0&&delete this.data[$],this.order.splice(this.order.indexOf($),1),ee.value},Q.prototype.getByKey=function($){var ee=this.data[$];return ee?ee[0].value:null},Q.prototype.get=function($){return this.has($)?this.data[$.wrapped().key][0].value:null},Q.prototype.remove=function($,ee){if(!this.has($))return this;var K=$.wrapped().key,le=ee===void 0?0:this.data[K].indexOf(ee),Te=this.data[K][le];return this.data[K].splice(le,1),Te.timeout&&clearTimeout(Te.timeout),this.data[K].length===0&&delete this.data[K],this.onRemove(Te.value),this.order.splice(this.order.indexOf(K),1),this},Q.prototype.setMaxSize=function($){for(this.max=$;this.order.length>this.max;){var ee=this._getAndRemoveByKey(this.order[0]);ee&&this.onRemove(ee)}return this},Q.prototype.filter=function($){var ee=[];for(var K in this.data)for(var le=0,Te=this.data[K];le1||(Math.abs(At)>1&&(Math.abs(At+ve)===1?At+=ve:Math.abs(At-ve)===1&&(At-=ve)),Tt.dem&&at.dem&&(at.dem.backfillBorder(Tt.dem,At,se),at.neighboringTiles&&at.neighboringTiles[Ie]&&(at.neighboringTiles[Ie].backfilled=!0)))}},ee.prototype.getTile=function(K){return this.getTileByID(K.key)},ee.prototype.getTileByID=function(K){return this._tiles[K]},ee.prototype._retainLoadedChildren=function(K,le,Te,Re){for(var He in this._tiles){var Ze=this._tiles[He];if(!(Re[He]||!Ze.hasData()||Ze.tileID.overscaledZ<=le||Ze.tileID.overscaledZ>Te)){for(var at=Ze.tileID;Ze&&Ze.tileID.overscaledZ>le+1;){var Tt=Ze.tileID.scaledTo(Ze.tileID.overscaledZ-1);(Ze=this._tiles[Tt.key])&&Ze.hasData()&&(at=Tt)}for(var At=at;At.overscaledZ>le;)if(K[(At=At.scaledTo(At.overscaledZ-1)).key]){Re[at.key]=at;break}}}},ee.prototype.findLoadedParent=function(K,le){if(K.key in this._loadedParentTiles){var Te=this._loadedParentTiles[K.key];return Te&&Te.tileID.overscaledZ>=le?Te:null}for(var Re=K.overscaledZ-1;Re>=le;Re--){var He=K.scaledTo(Re),Ze=this._getLoadedTile(He);if(Ze)return Ze}},ee.prototype._getLoadedTile=function(K){var le=this._tiles[K.key];return le&&le.hasData()?le:this._cache.getByKey(K.wrapped().key)},ee.prototype.updateCacheSize=function(K){var le=(Math.ceil(K.width/this._source.tileSize)+1)*(Math.ceil(K.height/this._source.tileSize)+1),Te=Math.floor(5*le),Re=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Te):Te;this._cache.setMaxSize(Re)},ee.prototype.handleWrapJump=function(K){var le=(K-(this._prevLng===void 0?K:this._prevLng))/360,Te=Math.round(le);if(this._prevLng=K,Te){var Re={};for(var He in this._tiles){var Ze=this._tiles[He];Ze.tileID=Ze.tileID.unwrapTo(Ze.tileID.wrap+Te),Re[Ze.tileID.key]=Ze}for(var at in this._tiles=Re,this._timers)clearTimeout(this._timers[at]),delete this._timers[at];for(var Tt in this._tiles){var At=this._tiles[Tt];this._setTileReloadTimer(Tt,At)}}},ee.prototype.update=function(K){var le=this;if(this.transform=K,this._sourceLoaded&&!this._paused){var Te;this.updateCacheSize(K),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?Te=K.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(Ht){return new i.OverscaledTileID(Ht.canonical.z,Ht.wrap,Ht.canonical.z,Ht.canonical.x,Ht.canonical.y)}):(Te=K.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Te=Te.filter(function(Ht){return le._source.hasTile(Ht)}))):Te=[];var Re=K.coveringZoomLevel(this._source),He=Math.max(Re-ee.maxOverzooming,this._source.minzoom),Ze=Math.max(Re+ee.maxUnderzooming,this._source.minzoom),at=this._updateRetainedTiles(Te,Re);if(Ne(this._source.type)){for(var Tt={},At={},se=0,ve=Object.keys(at);sethis._source.maxzoom){var Xe=Ue.children(this._source.maxzoom)[0],tt=this.getTile(Xe);if(tt&&tt.hasData()){Te[Xe.key]=Xe;continue}}else{var lt=Ue.children(this._source.maxzoom);if(Te[lt[0].key]&&Te[lt[1].key]&&Te[lt[2].key]&&Te[lt[3].key])continue}for(var gt=qe.wasRequested(),zt=Ue.overscaledZ-1;zt>=He;--zt){var Ut=Ue.scaledTo(zt);if(Re[Ut.key]||(Re[Ut.key]=!0,!(qe=this.getTile(Ut))&>&&(qe=this._addTile(Ut)),qe&&(Te[Ut.key]=Ut,gt=qe.wasRequested(),qe.hasData())))break}}}return Te},ee.prototype._updateLoadedParentTileCache=function(){for(var K in this._loadedParentTiles={},this._tiles){for(var le=[],Te=void 0,Re=this._tiles[K].tileID;Re.overscaledZ>0;){if(Re.key in this._loadedParentTiles){Te=this._loadedParentTiles[Re.key];break}le.push(Re.key);var He=Re.scaledTo(Re.overscaledZ-1);if(Te=this._getLoadedTile(He))break;Re=He}for(var Ze=0,at=le;Ze0||(le.hasData()&&le.state!=="reloading"?this._cache.add(le.tileID,le,le.getExpiryTimeout()):(le.aborted=!0,this._abortTile(le),this._unloadTile(le))))},ee.prototype.clearTiles=function(){for(var K in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(K);this._cache.reset()},ee.prototype.tilesIn=function(K,le,Te){var Re=this,He=[],Ze=this.transform;if(!Ze)return He;for(var at=Te?Ze.getCameraQueryGeometry(K):K,Tt=K.map(function(zt){return Ze.pointCoordinate(zt)}),At=at.map(function(zt){return Ze.pointCoordinate(zt)}),se=this.getIds(),ve=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,qe=0,Xe=At;qe=0&&tn[1].y+vn>=0){var ln=Tt.map(function(Cn){return Ht.getTilePoint(Cn)}),an=At.map(function(Cn){return Ht.getTilePoint(Cn)});He.push({tile:Ut,tileID:Ht,queryGeometry:ln,cameraQueryGeometry:an,scale:en})}}},gt=0;gt=i.browser.now())return!0}return!1},ee.prototype.setFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.updateState(K,le,Te)},ee.prototype.removeFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.removeFeatureState(K,le,Te)},ee.prototype.getFeatureState=function(K,le){return K=K||"_geojsonTileLayer",this._state.getState(K,le)},ee.prototype.setDependencies=function(K,le,Te){var Re=this._tiles[K];Re&&Re.setDependencies(le,Te)},ee.prototype.reloadTilesForDependencies=function(K,le){for(var Te in this._tiles)this._tiles[Te].hasDependency(K,le)&&this._reloadTile(Te,"reloading");this._cache.filter(function(Re){return!Re.hasDependency(K,le)})},ee}(i.Evented);function Oe($,ee){var K=Math.abs(2*$.wrap)-+($.wrap<0),le=Math.abs(2*ee.wrap)-+(ee.wrap<0);return $.overscaledZ-ee.overscaledZ||le-K||ee.canonical.y-$.canonical.y||ee.canonical.x-$.canonical.x}function Ne($){return $==="raster"||$==="image"||$==="video"}function Qe(){return new i.window.Worker(Mt.workerUrl)}ht.maxOverzooming=10,ht.maxUnderzooming=3;var ut="mapboxgl_preloaded_worker_pool",pt=function(){this.active={}};pt.prototype.acquire=function($){if(!this.workers)for(this.workers=[];this.workers.length0?(le-Re)/He:0;return this.points[Te].mult(1-Ze).add(this.points[ee].mult(Ze))};var An=function($,ee,K){var le=this.boxCells=[],Te=this.circleCells=[];this.xCellCount=Math.ceil($/K),this.yCellCount=Math.ceil(ee/K);for(var Re=0;Re=-ee[0]&&K<=ee[0]&&le>=-ee[1]&&le<=ee[1]}function pn($,ee,K,le,Te,Re,He,Ze){var at=le?$.textSizeData:$.iconSizeData,Tt=i.evaluateSizeForZoom(at,K.transform.zoom),At=[256/K.width*2+1,256/K.height*2+1],se=le?$.text.dynamicLayoutVertexArray:$.icon.dynamicLayoutVertexArray;se.clear();for(var ve=$.lineVertexArray,Ie=le?$.text.placedSymbolArray:$.icon.placedSymbolArray,Fe=K.transform.width/K.transform.height,Ue=!1,qe=0;qeMath.abs(K.x-ee.x)*le?{useVertical:!0}:($===i.WritingMode.vertical?ee.yK.x)?{needsFlipping:!0}:null}function jn($,ee,K,le,Te,Re,He,Ze,at,Tt,At,se,ve,Ie){var Fe,Ue=ee/24,qe=$.lineOffsetX*Ue,Xe=$.lineOffsetY*Ue;if($.numGlyphs>1){var tt=$.glyphStartIndex+$.numGlyphs,lt=$.lineStartIndex,gt=$.lineStartIndex+$.lineLength,zt=Rn(Ue,Ze,qe,Xe,K,At,se,$,at,Re,ve);if(!zt)return{notEnoughRoom:!0};var Ut=sn(zt.first.point,He).point,Ht=sn(zt.last.point,He).point;if(le&&!K){var en=In($.writingMode,Ut,Ht,Ie);if(en)return en}Fe=[zt.first];for(var vn=$.glyphStartIndex+1;vn0?Cn.point:Gn(se,an,tn,1,Te),on=In($.writingMode,tn,_n,Ie);if(on)return on}var Fn=Wn(Ue*Ze.getoffsetX($.glyphStartIndex),qe,Xe,K,At,se,$.segment,$.lineStartIndex,$.lineStartIndex+$.lineLength,at,Re,ve);if(!Fn)return{notEnoughRoom:!0};Fe=[Fn]}for(var Hn=0,ir=Fe;Hn0?1:-1,Fe=0;le&&(Ie*=-1,Fe=Math.PI),Ie<0&&(Fe+=Math.PI);for(var Ue=Ie>0?Ze+He:Ze+He+1,qe=Te,Xe=Te,tt=0,lt=0,gt=Math.abs(ve),zt=[];tt+lt<=gt;){if((Ue+=Ie)=at)return null;if(Xe=qe,zt.push(qe),(qe=se[Ue])===void 0){var Ut=new i.Point(Tt.getx(Ue),Tt.gety(Ue)),Ht=sn(Ut,At);if(Ht.signedDistanceFromCamera>0)qe=se[Ue]=Ht.point;else{var en=Ue-Ie;qe=Gn(tt===0?Re:new i.Point(Tt.getx(en),Tt.gety(en)),Ut,Xe,gt-tt+1,At)}}tt+=lt,lt=Xe.dist(qe)}var vn=(gt-tt)/lt,tn=qe.sub(Xe),ln=tn.mult(vn)._add(Xe);ln._add(tn._unit()._perp()._mult(K*Ie));var an=Fe+Math.atan2(qe.y-Xe.y,qe.x-Xe.x);return zt.push(ln),{point:ln,angle:an,path:zt}}An.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},An.prototype.insert=function($,ee,K,le,Te){this._forEachCell(ee,K,le,Te,this._insertBoxCell,this.boxUid++),this.boxKeys.push($),this.bboxes.push(ee),this.bboxes.push(K),this.bboxes.push(le),this.bboxes.push(Te)},An.prototype.insertCircle=function($,ee,K,le){this._forEachCell(ee-le,K-le,ee+le,K+le,this._insertCircleCell,this.circleUid++),this.circleKeys.push($),this.circles.push(ee),this.circles.push(K),this.circles.push(le)},An.prototype._insertBoxCell=function($,ee,K,le,Te,Re){this.boxCells[Te].push(Re)},An.prototype._insertCircleCell=function($,ee,K,le,Te,Re){this.circleCells[Te].push(Re)},An.prototype._query=function($,ee,K,le,Te,Re){if(K<0||$>this.width||le<0||ee>this.height)return!Te&&[];var He=[];if($<=0&&ee<=0&&this.width<=K&&this.height<=le){if(Te)return!0;for(var Ze=0;Ze0:He},An.prototype._queryCircle=function($,ee,K,le,Te){var Re=$-K,He=$+K,Ze=ee-K,at=ee+K;if(He<0||Re>this.width||at<0||Ze>this.height)return!le&&[];var Tt=[],At={hitTest:le,circle:{x:$,y:ee,radius:K},seenUids:{box:{},circle:{}}};return this._forEachCell(Re,Ze,He,at,this._queryCellCircle,Tt,At,Te),le?Tt.length>0:Tt},An.prototype.query=function($,ee,K,le,Te){return this._query($,ee,K,le,!1,Te)},An.prototype.hitTest=function($,ee,K,le,Te){return this._query($,ee,K,le,!0,Te)},An.prototype.hitTestCircle=function($,ee,K,le){return this._queryCircle($,ee,K,!0,le)},An.prototype._queryCell=function($,ee,K,le,Te,Re,He,Ze){var at=He.seenUids,Tt=this.boxCells[Te];if(Tt!==null)for(var At=this.bboxes,se=0,ve=Tt;se=At[Fe+0]&&le>=At[Fe+1]&&(!Ze||Ze(this.boxKeys[Ie]))){if(He.hitTest)return Re.push(!0),!0;Re.push({key:this.boxKeys[Ie],x1:At[Fe],y1:At[Fe+1],x2:At[Fe+2],y2:At[Fe+3]})}}}var Ue=this.circleCells[Te];if(Ue!==null)for(var qe=this.circles,Xe=0,tt=Ue;XeHe*He+Ze*Ze},An.prototype._circleAndRectCollide=function($,ee,K,le,Te,Re,He){var Ze=(Re-le)/2,at=Math.abs($-(le+Ze));if(at>Ze+K)return!1;var Tt=(He-Te)/2,At=Math.abs(ee-(Te+Tt));if(At>Tt+K)return!1;if(at<=Ze||At<=Tt)return!0;var se=at-Ze,ve=At-Tt;return se*se+ve*ve<=K*K};var ur=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function rr($,ee){for(var K=0;K<$;K++){var le=ee.length;ee.resize(le+4),ee.float32.set(ur,3*le)}}function Lr($,ee,K){var le=ee[0],Te=ee[1];return $[0]=K[0]*le+K[4]*Te+K[12],$[1]=K[1]*le+K[5]*Te+K[13],$[3]=K[3]*le+K[7]*Te+K[15],$}var br=100,or=function($,ee,K){ee===void 0&&(ee=new An($.width+200,$.height+200,25)),K===void 0&&(K=new An($.width+200,$.height+200,25)),this.transform=$,this.grid=ee,this.ignoredGrid=K,this.pitchfactor=Math.cos($._pitch)*$.cameraToCenterDistance,this.screenRightBoundary=$.width+br,this.screenBottomBoundary=$.height+br,this.gridRightBoundary=$.width+200,this.gridBottomBoundary=$.height+200};function yr($,ee,K){return ee*(i.EXTENT/($.tileSize*Math.pow(2,K-$.tileID.overscaledZ)))}or.prototype.placeCollisionBox=function($,ee,K,le,Te){var Re=this.projectAndGetPerspectiveRatio(le,$.anchorPointX,$.anchorPointY),He=K*Re.perspectiveRatio,Ze=$.x1*He+Re.point.x,at=$.y1*He+Re.point.y,Tt=$.x2*He+Re.point.x,At=$.y2*He+Re.point.y;return!this.isInsideGrid(Ze,at,Tt,At)||!ee&&this.grid.hitTest(Ze,at,Tt,At,Te)?{box:[],offscreen:!1}:{box:[Ze,at,Tt,At],offscreen:this.isOffscreen(Ze,at,Tt,At)}},or.prototype.placeCollisionCircles=function($,ee,K,le,Te,Re,He,Ze,at,Tt,At,se,ve){var Ie=[],Fe=new i.Point(ee.anchorX,ee.anchorY),Ue=sn(Fe,Re),qe=Tn(this.transform.cameraToCenterDistance,Ue.signedDistanceFromCamera),Xe=(Tt?Te/qe:Te*qe)/i.ONE_EM,tt=sn(Fe,He).point,lt=Rn(Xe,le,ee.lineOffsetX*Xe,ee.lineOffsetY*Xe,!1,tt,Fe,ee,K,He,{}),gt=!1,zt=!1,Ut=!0;if(lt){for(var Ht=.5*se*qe+ve,en=new i.Point(-100,-100),vn=new i.Point(this.screenRightBoundary,this.screenBottomBoundary),tn=new un,ln=lt.first,an=lt.last,Cn=[],_n=ln.path.length-1;_n>=1;_n--)Cn.push(ln.path[_n]);for(var on=1;on0){for(var ar=Cn[0].clone(),Cr=Cn[0].clone(),Or=1;Or=en.x&&Cr.x<=vn.x&&ar.y>=en.y&&Cr.y<=vn.y?[Cn]:Cr.xvn.x||Cr.yvn.y?[]:i.clipLine([Cn],en.x,en.y,vn.x,vn.y)}for(var _r=0,Sr=ir;_r=this.screenRightBoundary||lethis.screenBottomBoundary},or.prototype.isInsideGrid=function($,ee,K,le){return K>=0&&$=0&&ee0?(this.prevPlacement&&this.prevPlacement.variableOffsets[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID].text&&(Ue=this.prevPlacement.variableOffsets[se.crossTileID].anchor),this.variableOffsets[se.crossTileID]={textOffset:qe,width:K,height:le,anchor:$,textBoxScale:Te,prevAnchor:Ue},this.markUsedJustification(ve,$,se,Ie),ve.allowVerticalPlacement&&(this.markUsedOrientation(ve,Ie,se),this.placedOrientations[se.crossTileID]=Ie),{shift:Xe,placedGlyphBoxes:tt}):void 0},tr.prototype.placeLayerBucketPart=function($,ee,K){var le=this,Te=$.parameters,Re=Te.bucket,He=Te.layout,Ze=Te.posMatrix,at=Te.textLabelPlaneMatrix,Tt=Te.labelToScreenMatrix,At=Te.textPixelRatio,se=Te.holdingForFade,ve=Te.collisionBoxArray,Ie=Te.partiallyEvaluatedTextSize,Fe=Te.collisionGroup,Ue=He.get("text-optional"),qe=He.get("icon-optional"),Xe=He.get("text-allow-overlap"),tt=He.get("icon-allow-overlap"),lt=He.get("text-rotation-alignment")==="map",gt=He.get("text-pitch-alignment")==="map",zt=He.get("icon-text-fit")!=="none",Ut=He.get("symbol-z-order")==="viewport-y",Ht=Xe&&(tt||!Re.hasIconData()||qe),en=tt&&(Xe||!Re.hasTextData()||Ue);!Re.collisionArrays&&ve&&Re.deserializeCollisionBoxes(ve);var vn=function(on,Fn){if(!ee[on.crossTileID])if(se)le.placements[on.crossTileID]=new bn(!1,!1,!1);else{var Hn,ir=!1,ar=!1,Cr=!0,Or=null,_r={box:null,offscreen:null},Sr={box:null,offscreen:null},Wr=null,mi=null,gi=0,Mr=0,qr=0;Fn.textFeatureIndex?gi=Fn.textFeatureIndex:on.useRuntimeCollisionCircles&&(gi=on.featureIndex),Fn.verticalTextFeatureIndex&&(Mr=Fn.verticalTextFeatureIndex);var ci=Fn.textBox;if(ci){var ui=function(zi){var Ja=i.WritingMode.horizontal;if(Re.allowVerticalPlacement&&!zi&&le.prevPlacement){var Wo=le.prevPlacement.placedOrientations[on.crossTileID];Wo&&(le.placedOrientations[on.crossTileID]=Wo,Ja=Wo,le.markUsedOrientation(Re,Ja,on))}return Ja},Ri=function(zi,Ja){if(Re.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Fn.verticalTextBox)for(var Wo=0,Kc=Re.writingModes;Wo0&&(_i=_i.filter(function(zi){return zi!==Ui.anchor})).unshift(Ui.anchor)}var aa=function(zi,Ja,Wo){for(var Kc=zi.x2-zi.x1,v1=zi.y2-zi.y1,k0=on.textBoxScale,y1=zt&&!tt?Ja:null,mh={box:[],offscreen:!1},mg=Xe?2*_i.length:_i.length,Xh=0;Xh=_i.length,If=le.attemptAnchorPlacement(gh,zi,Kc,v1,k0,lt,gt,At,Ze,Fe,b1,on,Re,Wo,y1);if(If&&(mh=If.placedGlyphBoxes)&&mh.box&&mh.box.length){ir=!0,Or=If.shift;break}}return mh};Ri(function(){return aa(ci,Fn.iconBox,i.WritingMode.horizontal)},function(){var zi=Fn.verticalTextBox,Ja=_r&&_r.box&&_r.box.length;return Re.allowVerticalPlacement&&!Ja&&on.numVerticalGlyphVertices>0&&zi?aa(zi,Fn.verticalIconBox,i.WritingMode.vertical):{box:null,offscreen:null}}),_r&&(ir=_r.box,Cr=_r.offscreen);var ya=ui(_r&&_r.box);if(!ir&&le.prevPlacement){var ca=le.prevPlacement.variableOffsets[on.crossTileID];ca&&(le.variableOffsets[on.crossTileID]=ca,le.markUsedJustification(Re,ca.anchor,on,ya))}}else{var na=function(zi,Ja){var Wo=le.collisionIndex.placeCollisionBox(zi,Xe,At,Ze,Fe.predicate);return Wo&&Wo.box&&Wo.box.length&&(le.markUsedOrientation(Re,Ja,on),le.placedOrientations[on.crossTileID]=Ja),Wo};Ri(function(){return na(ci,i.WritingMode.horizontal)},function(){var zi=Fn.verticalTextBox;return Re.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&zi?na(zi,i.WritingMode.vertical):{box:null,offscreen:null}}),ui(_r&&_r.box&&_r.box.length)}}if(ir=(Hn=_r)&&Hn.box&&Hn.box.length>0,Cr=Hn&&Hn.offscreen,on.useRuntimeCollisionCircles){var oa=Re.text.placedSymbolArray.get(on.centerJustifiedTextSymbolIndex),fa=i.evaluateSizeForFeature(Re.textSizeData,Ie,oa),Pa=He.get("text-padding"),Bl=on.collisionCircleDiameter;Wr=le.collisionIndex.placeCollisionCircles(Xe,oa,Re.lineVertexArray,Re.glyphOffsetArray,fa,Ze,at,Tt,K,gt,Fe.predicate,Bl,Pa),ir=Xe||Wr.circles.length>0&&!Wr.collisionDetected,Cr=Cr&&Wr.offscreen}if(Fn.iconFeatureIndex&&(qr=Fn.iconFeatureIndex),Fn.iconBox){var Ka=function(zi){var Ja=zt&&Or?Zn(zi,Or.x,Or.y,lt,gt,le.transform.angle):zi;return le.collisionIndex.placeCollisionBox(Ja,tt,At,Ze,Fe.predicate)};ar=Sr&&Sr.box&&Sr.box.length&&Fn.verticalIconBox?(mi=Ka(Fn.verticalIconBox)).box.length>0:(mi=Ka(Fn.iconBox)).box.length>0,Cr=Cr&&mi.offscreen}var hi=Ue||on.numHorizontalGlyphVertices===0&&on.numVerticalGlyphVertices===0,ho=qe||on.numIconVertices===0;if(hi||ho?ho?hi||(ar=ar&&ir):ir=ar&&ir:ar=ir=ar&&ir,ir&&Hn&&Hn.box&&(Sr&&Sr.box&&Mr?le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),Re.bucketInstanceId,Mr,Fe.ID):le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),Re.bucketInstanceId,gi,Fe.ID)),ar&&mi&&le.collisionIndex.insertCollisionBox(mi.box,He.get("icon-ignore-placement"),Re.bucketInstanceId,qr,Fe.ID),Wr&&(ir&&le.collisionIndex.insertCollisionCircles(Wr.circles,He.get("text-ignore-placement"),Re.bucketInstanceId,gi,Fe.ID),K)){var wo=Re.bucketInstanceId,Ea=le.collisionCircleArrays[wo];Ea===void 0&&(Ea=le.collisionCircleArrays[wo]=new On);for(var Rs=0;Rs=0;--ln){var an=tn[ln];vn(Re.symbolInstances.get(an),Re.collisionArrays[an])}else for(var Cn=$.symbolInstanceStart;Cn<$.symbolInstanceEnd;Cn++)vn(Re.symbolInstances.get(Cn),Re.collisionArrays[Cn]);if(K&&Re.bucketInstanceId in this.collisionCircleArrays){var _n=this.collisionCircleArrays[Re.bucketInstanceId];i.invert(_n.invProjMatrix,Ze),_n.viewportMatrix=this.collisionIndex.getViewportMatrix()}Re.justReloaded=!1},tr.prototype.markUsedJustification=function($,ee,K,le){var Te,Re={left:K.leftJustifiedTextSymbolIndex,center:K.centerJustifiedTextSymbolIndex,right:K.rightJustifiedTextSymbolIndex};Te=le===i.WritingMode.vertical?K.verticalPlacedTextSymbolIndex:Re[i.getAnchorJustification(ee)];for(var He=0,Ze=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex,K.verticalPlacedTextSymbolIndex];He=0&&($.text.placedSymbolArray.get(at).crossTileID=Te>=0&&at!==Te?0:K.crossTileID)}},tr.prototype.markUsedOrientation=function($,ee,K){for(var le=ee===i.WritingMode.horizontal||ee===i.WritingMode.horizontalOnly?ee:0,Te=ee===i.WritingMode.vertical?ee:0,Re=0,He=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex];Re0||gt>0,vn=tt.numIconVertices>0,tn=le.placedOrientations[tt.crossTileID],ln=tn===i.WritingMode.vertical,an=tn===i.WritingMode.horizontal||tn===i.WritingMode.horizontalOnly;if(en){var Cn=En(Ht.text),_n=ln?mn:Cn;Ie($.text,lt,_n);var on=an?mn:Cn;Ie($.text,gt,on);var Fn=Ht.text.isHidden();[tt.rightJustifiedTextSymbolIndex,tt.centerJustifiedTextSymbolIndex,tt.leftJustifiedTextSymbolIndex].forEach(function(qr){qr>=0&&($.text.placedSymbolArray.get(qr).hidden=Fn||ln?1:0)}),tt.verticalPlacedTextSymbolIndex>=0&&($.text.placedSymbolArray.get(tt.verticalPlacedTextSymbolIndex).hidden=Fn||an?1:0);var Hn=le.variableOffsets[tt.crossTileID];Hn&&le.markUsedJustification($,Hn.anchor,tt,tn);var ir=le.placedOrientations[tt.crossTileID];ir&&(le.markUsedJustification($,"left",tt,ir),le.markUsedOrientation($,ir,tt))}if(vn){var ar=En(Ht.icon),Cr=!(se&&tt.verticalPlacedIconSymbolIndex&&ln);if(tt.placedIconSymbolIndex>=0){var Or=Cr?ar:mn;Ie($.icon,tt.numIconVertices,Or),$.icon.placedSymbolArray.get(tt.placedIconSymbolIndex).hidden=Ht.icon.isHidden()}if(tt.verticalPlacedIconSymbolIndex>=0){var _r=Cr?mn:ar;Ie($.icon,tt.numVerticalIconVertices,_r),$.icon.placedSymbolArray.get(tt.verticalPlacedIconSymbolIndex).hidden=Ht.icon.isHidden()}}if($.hasIconCollisionBoxData()||$.hasTextCollisionBoxData()){var Sr=$.collisionArrays[Xe];if(Sr){var Wr=new i.Point(0,0);if(Sr.textBox||Sr.verticalTextBox){var mi=!0;if(at){var gi=le.variableOffsets[zt];gi?(Wr=Jn(gi.anchor,gi.width,gi.height,gi.textOffset,gi.textBoxScale),Tt&&Wr._rotate(At?le.transform.angle:-le.transform.angle)):mi=!1}Sr.textBox&&gr($.textCollisionBox.collisionVertexArray,Ht.text.placed,!mi||ln,Wr.x,Wr.y),Sr.verticalTextBox&&gr($.textCollisionBox.collisionVertexArray,Ht.text.placed,!mi||an,Wr.x,Wr.y)}var Mr=!!(!an&&Sr.verticalIconBox);Sr.iconBox&&gr($.iconCollisionBox.collisionVertexArray,Ht.icon.placed,Mr,se?Wr.x:0,se?Wr.y:0),Sr.verticalIconBox&&gr($.iconCollisionBox.collisionVertexArray,Ht.icon.placed,!Mr,se?Wr.x:0,se?Wr.y:0)}}},Ue=0;Ue<$.symbolInstances.length;Ue++)Fe(Ue);if($.sortFeatures(this.transform.angle),this.retainedQueryData[$.bucketInstanceId]&&(this.retainedQueryData[$.bucketInstanceId].featureSortOrder=$.featureSortOrder),$.hasTextData()&&$.text.opacityVertexBuffer&&$.text.opacityVertexBuffer.updateData($.text.opacityVertexArray),$.hasIconData()&&$.icon.opacityVertexBuffer&&$.icon.opacityVertexBuffer.updateData($.icon.opacityVertexArray),$.hasIconCollisionBoxData()&&$.iconCollisionBox.collisionVertexBuffer&&$.iconCollisionBox.collisionVertexBuffer.updateData($.iconCollisionBox.collisionVertexArray),$.hasTextCollisionBoxData()&&$.textCollisionBox.collisionVertexBuffer&&$.textCollisionBox.collisionVertexBuffer.updateData($.textCollisionBox.collisionVertexArray),$.bucketInstanceId in this.collisionCircleArrays){var qe=this.collisionCircleArrays[$.bucketInstanceId];$.placementInvProjMatrix=qe.invProjMatrix,$.placementViewportMatrix=qe.viewportMatrix,$.collisionCircleArray=qe.circles,delete this.collisionCircleArrays[$.bucketInstanceId]}},tr.prototype.symbolFadeChange=function($){return this.fadeDuration===0?1:($-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment},tr.prototype.zoomAdjustment=function($){return Math.max(0,(this.transform.zoom-$)/1.5)},tr.prototype.hasTransitions=function($){return this.stale||$-this.lastPlacementChangeTime$},tr.prototype.setStale=function(){this.stale=!0};var nn=Math.pow(2,25),Pn=Math.pow(2,24),jt=Math.pow(2,17),Jt=Math.pow(2,16),fn=Math.pow(2,9),zn=Math.pow(2,8),Dn=Math.pow(2,1);function En($){if($.opacity===0&&!$.placed)return 0;if($.opacity===1&&$.placed)return 4294967295;var ee=$.placed?1:0,K=Math.floor(127*$.opacity);return K*nn+ee*Pn+K*jt+ee*Jt+K*fn+ee*zn+K*Dn+ee}var mn=0,wn=function($){this._sortAcrossTiles=$.layout.get("symbol-z-order")!=="viewport-y"&&$.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};wn.prototype.continuePlacement=function($,ee,K,le,Te){for(var Re=this._bucketParts;this._currentTileIndex<$.length;){var He=$[this._currentTileIndex];if(ee.getBucketParts(Re,le,He,this._sortAcrossTiles),this._currentTileIndex++,Te())return!0}for(this._sortAcrossTiles&&(this._sortAcrossTiles=!1,Re.sort(function(at,Tt){return at.sortKey-Tt.sortKey}));this._currentPartIndex2};this._currentPlacementIndex>=0;){var He=ee[$[this._currentPlacementIndex]],Ze=this.placement.collisionIndex.transform.zoom;if(He.type==="symbol"&&(!He.minzoom||He.minzoom<=Ze)&&(!He.maxzoom||He.maxzoom>Ze)){if(this._inProgressLayer||(this._inProgressLayer=new wn(He)),this._inProgressLayer.continuePlacement(K[He.source],this.placement,this._showCollisionBoxes,He,Re))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},gn.prototype.commit=function($){return this.placement.commit($),this.placement};var yn=512/i.EXTENT/2,Sn=function($,ee,K){this.tileID=$,this.indexedSymbolInstances={},this.bucketInstanceId=K;for(var le=0;le$.overscaledZ)for(var Ze in He){var at=He[Ze];at.tileID.isChildOf($)&&at.findMatches(ee.symbolInstances,$,Te)}else{var Tt=He[$.scaledTo(Number(Re)).key];Tt&&Tt.findMatches(ee.symbolInstances,$,Te)}}for(var At=0;At1?"@2x":"",se=i.getJSON(Re.transformRequest(Re.normalizeSpriteURL(Te,At,".json"),i.ResourceType.SpriteJSON),function(Fe,Ue){se=null,Tt||(Tt=Fe,Ze=Ue,Ie())}),ve=i.getImage(Re.transformRequest(Re.normalizeSpriteURL(Te,At,".png"),i.ResourceType.SpriteImage),function(Fe,Ue){ve=null,Tt||(Tt=Fe,at=Ue,Ie())});function Ie(){if(Tt)He(Tt);else if(Ze&&at){var Fe=i.browser.getImageData(at),Ue={};for(var qe in Ze){var Xe=Ze[qe],tt=Xe.width,lt=Xe.height,gt=Xe.x,zt=Xe.y,Ut=Xe.sdf,Ht=Xe.pixelRatio,en=Xe.stretchX,vn=Xe.stretchY,tn=Xe.content,ln=new i.RGBAImage({width:tt,height:lt});i.RGBAImage.copy(Fe,ln,{x:gt,y:zt},{x:0,y:0},{width:tt,height:lt}),Ue[qe]={data:ln,pixelRatio:Ht,sdf:Ut,stretchX:en,stretchY:vn,content:tn}}He(null,Ue)}}return{cancel:function(){se&&(se.cancel(),se=null),ve&&(ve.cancel(),ve=null)}}}(K,this.map._requestManager,function(Te,Re){if(le._spriteRequest=null,Te)le.fire(new i.ErrorEvent(Te));else if(Re)for(var He in Re)le.imageManager.addImage(He,Re[He]);le.imageManager.setLoaded(!0),le._availableImages=le.imageManager.listImages(),le.dispatcher.broadcast("setImages",le._availableImages),le.fire(new i.Event("data",{dataType:"style"}))})},ee.prototype._validateLayer=function(K){var le=this.sourceCaches[K.source];if(le){var Te=K.sourceLayer;if(Te){var Re=le.getSource();(Re.type==="geojson"||Re.vectorLayerIds&&Re.vectorLayerIds.indexOf(Te)===-1)&&this.fire(new i.ErrorEvent(new Error('Source layer "'+Te+'" does not exist on source "'+Re.id+'" as specified by style layer "'+K.id+'"')))}}},ee.prototype.loaded=function(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(var K in this.sourceCaches)if(!this.sourceCaches[K].loaded())return!1;return!!this.imageManager.isLoaded()},ee.prototype._serializeLayers=function(K){for(var le=[],Te=0,Re=K;Te0)throw new Error("Unimplemented: "+Re.map(function(He){return He.command}).join(", ")+".");return Te.forEach(function(He){He.command!=="setTransition"&&le[He.command].apply(le,He.args)}),this.stylesheet=K,!0},ee.prototype.addImage=function(K,le){if(this.getImage(K))return this.fire(new i.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(K,le),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.updateImage=function(K,le){this.imageManager.updateImage(K,le)},ee.prototype.getImage=function(K){return this.imageManager.getImage(K)},ee.prototype.removeImage=function(K){if(!this.getImage(K))return this.fire(new i.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(K),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},ee.prototype.addSource=function(K,le,Te){var Re=this;if(Te===void 0&&(Te={}),this._checkLoaded(),this.sourceCaches[K]!==void 0)throw new Error("There is already a source with this ID");if(!le.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(le).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(le.type)>=0&&this._validate(i.validateStyle.source,"sources."+K,le,null,Te))){this.map&&this.map._collectResourceTiming&&(le.collectResourceTiming=!0);var He=this.sourceCaches[K]=new ht(K,le,this.dispatcher);He.style=this,He.setEventedParent(this,function(){return{isSourceLoaded:Re.loaded(),source:He.serialize(),sourceId:K}}),He.onAdd(this.map),this._changed=!0}},ee.prototype.removeSource=function(K){if(this._checkLoaded(),this.sourceCaches[K]===void 0)throw new Error("There is no source with this ID");for(var le in this._layers)if(this._layers[le].source===K)return this.fire(new i.ErrorEvent(new Error('Source "'+K+'" cannot be removed while layer "'+le+'" is using it.')));var Te=this.sourceCaches[K];delete this.sourceCaches[K],delete this._updatedSources[K],Te.fire(new i.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:K})),Te.setEventedParent(null),Te.clearTiles(),Te.onRemove&&Te.onRemove(this.map),this._changed=!0},ee.prototype.setGeoJSONSourceData=function(K,le){this._checkLoaded(),this.sourceCaches[K].getSource().setData(le),this._changed=!0},ee.prototype.getSource=function(K){return this.sourceCaches[K]&&this.sourceCaches[K].getSource()},ee.prototype.addLayer=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var Re=K.id;if(this.getLayer(Re))this.fire(new i.ErrorEvent(new Error('Layer with id "'+Re+'" already exists on this map')));else{var He;if(K.type==="custom"){if(Qn(this,i.validateCustomStyleLayer(K)))return;He=i.createStyleLayer(K)}else{if(typeof K.source=="object"&&(this.addSource(Re,K.source),K=i.clone$1(K),K=i.extend(K,{source:Re})),this._validate(i.validateStyle.layer,"layers."+Re,K,{arrayIndex:-1},Te))return;He=i.createStyleLayer(K),this._validateLayer(He),He.setEventedParent(this,{layer:{id:Re}}),this._serializedLayers[He.id]=He.serialize()}var Ze=le?this._order.indexOf(le):this._order.length;if(le&&Ze===-1)this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.')));else{if(this._order.splice(Ze,0,Re),this._layerOrderChanged=!0,this._layers[Re]=He,this._removedLayers[Re]&&He.source&&He.type!=="custom"){var at=this._removedLayers[Re];delete this._removedLayers[Re],at.type!==He.type?this._updatedSources[He.source]="clear":(this._updatedSources[He.source]="reload",this.sourceCaches[He.source].pause())}this._updateLayer(He),He.onAdd&&He.onAdd(this.map)}}},ee.prototype.moveLayer=function(K,le){if(this._checkLoaded(),this._changed=!0,this._layers[K]){if(K!==le){var Te=this._order.indexOf(K);this._order.splice(Te,1);var Re=le?this._order.indexOf(le):this._order.length;le&&Re===-1?this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.'))):(this._order.splice(Re,0,K),this._layerOrderChanged=!0)}}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be moved.")))},ee.prototype.removeLayer=function(K){this._checkLoaded();var le=this._layers[K];if(le){le.setEventedParent(null);var Te=this._order.indexOf(K);this._order.splice(Te,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[K]=le,delete this._layers[K],delete this._serializedLayers[K],delete this._updatedLayers[K],delete this._updatedPaintProps[K],le.onRemove&&le.onRemove(this.map)}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be removed.")))},ee.prototype.getLayer=function(K){return this._layers[K]},ee.prototype.hasLayer=function(K){return K in this._layers},ee.prototype.setLayerZoomRange=function(K,le,Te){this._checkLoaded();var Re=this.getLayer(K);Re?Re.minzoom===le&&Re.maxzoom===Te||(le!=null&&(Re.minzoom=le),Te!=null&&(Re.maxzoom=Te),this._updateLayer(Re)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot have zoom extent.")))},ee.prototype.setFilter=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var Re=this.getLayer(K);if(Re){if(!i.deepEqual(Re.filter,le))return le==null?(Re.filter=void 0,void this._updateLayer(Re)):void(this._validate(i.validateStyle.filter,"layers."+Re.id+".filter",le,null,Te)||(Re.filter=i.clone$1(le),this._updateLayer(Re)))}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be filtered.")))},ee.prototype.getFilter=function(K){return i.clone$1(this.getLayer(K).filter)},ee.prototype.setLayoutProperty=function(K,le,Te,Re){Re===void 0&&(Re={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getLayoutProperty(le),Te)||(He.setLayoutProperty(le,Te,Re),this._updateLayer(He)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getLayoutProperty=function(K,le){var Te=this.getLayer(K);if(Te)return Te.getLayoutProperty(le);this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style.")))},ee.prototype.setPaintProperty=function(K,le,Te,Re){Re===void 0&&(Re={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getPaintProperty(le),Te)||(He.setPaintProperty(le,Te,Re)&&this._updateLayer(He),this._changed=!0,this._updatedPaintProps[K]=!0):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getPaintProperty=function(K,le){return this.getLayer(K).getPaintProperty(le)},ee.prototype.setFeatureState=function(K,le){this._checkLoaded();var Te=K.source,Re=K.sourceLayer,He=this.sourceCaches[Te];if(He!==void 0){var Ze=He.getSource().type;Ze==="geojson"&&Re?this.fire(new i.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):Ze!=="vector"||Re?(K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),He.setFeatureState(Re,K.id,le)):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.removeFeatureState=function(K,le){this._checkLoaded();var Te=K.source,Re=this.sourceCaches[Te];if(Re!==void 0){var He=Re.getSource().type,Ze=He==="vector"?K.sourceLayer:void 0;He!=="vector"||Ze?le&&typeof K.id!="string"&&typeof K.id!="number"?this.fire(new i.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):Re.removeFeatureState(Ze,K.id,le):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.getFeatureState=function(K){this._checkLoaded();var le=K.source,Te=K.sourceLayer,Re=this.sourceCaches[le];if(Re!==void 0){if(Re.getSource().type!=="vector"||Te)return K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),Re.getFeatureState(Te,K.id);this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+le+"' does not exist in the map's style.")))},ee.prototype.getTransition=function(){return i.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},ee.prototype.serialize=function(){return i.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:i.mapObject(this.sourceCaches,function(K){return K.serialize()}),layers:this._serializeLayers(this._order)},function(K){return K!==void 0})},ee.prototype._updateLayer=function(K){this._updatedLayers[K.id]=!0,K.source&&!this._updatedSources[K.source]&&this.sourceCaches[K.source].getSource().type!=="raster"&&(this._updatedSources[K.source]="reload",this.sourceCaches[K.source].pause()),this._changed=!0},ee.prototype._flattenAndSortRenderedFeatures=function(K){for(var le=this,Te=function(tn){return le._layers[tn].type==="fill-extrusion"},Re={},He=[],Ze=this._order.length-1;Ze>=0;Ze--){var at=this._order[Ze];if(Te(at)){Re[at]=Ze;for(var Tt=0,At=K;Tt=0;qe--){var Xe=this._order[qe];if(Te(Xe))for(var tt=He.length-1;tt>=0;tt--){var lt=He[tt].feature;if(Re[lt.layer.id]2){for(var R=Array(.5*A.position.length),z=0;z2){for(var B=!A.position[0].length,N=a.mallocFloat(2*this.count),q=0,j=0;q1?L.align[he]:L.align[0]:L.align;if(typeof be=="number")return be;switch(be){case"right":case"end":return-ae;case"center":case"centre":case"middle":return .5*-ae}return 0})),this.baseline==null&&A.baseline==null&&(A.baseline=0),A.baseline!=null&&(this.baseline=A.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ae,he){var be=(L.font[he]||L.font[0]).metrics,ke=0;return ke+=.5*be.bottom,-1*(ke+=typeof ae=="number"?ae-be.baseline:-be[ae])})),A.color!=null)if(A.color||(A.color="transparent"),typeof A.color!="string"&&isNaN(A.color)){var me;if(typeof A.color[0]=="number"&&A.color.length>this.counts.length){var pe=A.color.length;me=a.mallocUint8(pe);for(var xe=(A.color.subarray||A.color.slice).bind(A.color),Pe=0;Pe4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2){var Se=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(Se);for(var Ce=0;Ce1?this.counts[Ce]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[Ce]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*Ce,4*Ce+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[Ce]:this.opacity,baseline:this.baselineOffset[Ce]!=null?this.baselineOffset[Ce]:this.baselineOffset[0],align:this.align?this.alignOffset[Ce]!=null?this.alignOffset[Ce]:this.alignOffset[0]:0,atlas:this.fontAtlas[Ce]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*Ce,2*Ce+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=[]},T.prototype.destroy=function(){},T.prototype.kerning=!0,T.prototype.position={constant:new Float32Array(2)},T.prototype.translate=null,T.prototype.scale=null,T.prototype.font=null,T.prototype.text="",T.prototype.positionOffset=[0,0],T.prototype.opacity=1,T.prototype.color=new Uint8Array([0,0,0,255]),T.prototype.alignOffset=[0,0],T.maxAtlasSize=1024,T.atlasCanvas=document.createElement("canvas"),T.atlasContext=T.atlasCanvas.getContext("2d",{alpha:!1}),T.baseFontSize=64,T.fonts={},x.exports=T},12018:function(x,o,t){var d=t(71299);function v(g){if(g.container)if(g.container==document.body)document.body.style.width||(g.canvas.width=g.width||g.pixelRatio*t.g.innerWidth),document.body.style.height||(g.canvas.height=g.height||g.pixelRatio*t.g.innerHeight);else{var p=g.container.getBoundingClientRect();g.canvas.width=g.width||p.right-p.left,g.canvas.height=g.height||p.bottom-p.top}}function i(g){return typeof g.getContext=="function"&&"width"in g&&"height"in g}function M(){var g=document.createElement("canvas");return g.style.position="absolute",g.style.top=0,g.style.left=0,g}x.exports=function(g){var p;if(g?typeof g=="string"&&(g={container:g}):g={},(g=i(g)||typeof(p=g).nodeName=="string"&&typeof p.appendChild=="function"&&typeof p.getBoundingClientRect=="function"?{container:g}:function(a){return typeof a.drawArrays=="function"||typeof a.drawElements=="function"}(g)?{gl:g}:d(g,{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||(g.pixelRatio=t.g.pixelRatio||1),g.gl)return g.gl;if(g.canvas&&(g.container=g.canvas.parentNode),g.container){if(typeof g.container=="string"){var u=document.querySelector(g.container);if(!u)throw Error("Element "+g.container+" is not found");g.container=u}i(g.container)?(g.canvas=g.container,g.container=g.canvas.parentNode):g.canvas||(g.canvas=M(),g.container.appendChild(g.canvas),v(g))}else if(!g.canvas){if(typeof document>"u")throw Error("Not DOM environment. Use headless-gl.");g.container=document.body||document.documentElement,g.canvas=M(),g.container.appendChild(g.canvas),v(g)}return g.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(a){try{g.gl=g.canvas.getContext(a,g.attrs)}catch{}return g.gl}),g.gl}},56068:function(x){x.exports=function(o){typeof o=="string"&&(o=[o]);for(var t=[].slice.call(arguments,1),d=[],v=0;v>1,s=-7,l=v?M-1:0,h=v?-1:1,f=t[d+l];for(l+=h,g=f&(1<<-s)-1,f>>=-s,s+=u;s>0;g=256*g+t[d+l],l+=h,s-=8);for(p=g&(1<<-s)-1,g>>=-s,s+=i;s>0;p=256*p+t[d+l],l+=h,s-=8);if(g===0)g=1-c;else{if(g===a)return p?NaN:1/0*(f?-1:1);p+=Math.pow(2,i),g-=c}return(f?-1:1)*p*Math.pow(2,g-i)},o.write=function(t,d,v,i,M,g){var p,u,a,c=8*g-M-1,s=(1<>1,h=M===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:g-1,m=i?1:-1,_=d<0||d===0&&1/d<0?1:0;for(d=Math.abs(d),isNaN(d)||d===1/0?(u=isNaN(d)?1:0,p=s):(p=Math.floor(Math.log(d)/Math.LN2),d*(a=Math.pow(2,-p))<1&&(p--,a*=2),(d+=p+l>=1?h/a:h*Math.pow(2,1-l))*a>=2&&(p++,a/=2),p+l>=s?(u=0,p=s):p+l>=1?(u=(d*a-1)*Math.pow(2,M),p+=l):(u=d*Math.pow(2,l-1)*Math.pow(2,M),p=0));M>=8;t[v+f]=255&u,f+=m,u/=256,M-=8);for(p=p<0;t[v+f]=255&p,f+=m,p/=256,c-=8);t[v+f-m]|=128*_}},42018:function(x){typeof Object.create=="function"?x.exports=function(o,t){t&&(o.super_=t,o.prototype=Object.create(t.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}))}:x.exports=function(o,t){if(t){o.super_=t;var d=function(){};d.prototype=t.prototype,o.prototype=new d,o.prototype.constructor=o}}},47216:function(x,o,t){var d=t(84543)(),v=t(6614)("Object.prototype.toString"),i=function(p){return!(d&&p&&typeof p=="object"&&Symbol.toStringTag in p)&&v(p)==="[object Arguments]"},M=function(p){return!!i(p)||p!==null&&typeof p=="object"&&typeof p.length=="number"&&p.length>=0&&v(p)!=="[object Array]"&&v(p.callee)==="[object Function]"},g=function(){return i(arguments)}();i.isLegacyArguments=M,x.exports=g?i:M},54404:function(x){x.exports=!0},85395:function(x){var o,t,d=Function.prototype.toString,v=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof v=="function"&&typeof Object.defineProperty=="function")try{o=Object.defineProperty({},"length",{get:function(){throw t}}),t={},v(function(){throw 42},null,o)}catch(l){l!==t&&(v=null)}else v=null;var i=/^\s*class\b/,M=function(l){try{var h=d.call(l);return i.test(h)}catch{return!1}},g=function(l){try{return!M(l)&&(d.call(l),!0)}catch{return!1}},p=Object.prototype.toString,u=typeof Symbol=="function"&&!!Symbol.toStringTag,a=!(0 in[,]),c=function(){return!1};if(typeof document=="object"){var s=document.all;p.call(s)===p.call(document.all)&&(c=function(l){if((a||!l)&&(l===void 0||typeof l=="object"))try{var h=p.call(l);return(h==="[object HTMLAllCollection]"||h==="[object HTML document.all class]"||h==="[object HTMLCollection]"||h==="[object Object]")&&l("")==null}catch{}return!1})}x.exports=v?function(l){if(c(l))return!0;if(!l||typeof l!="function"&&typeof l!="object")return!1;try{v(l,null,o)}catch(h){if(h!==t)return!1}return!M(l)&&g(l)}:function(l){if(c(l))return!0;if(!l||typeof l!="function"&&typeof l!="object")return!1;if(u)return g(l);if(M(l))return!1;var h=p.call(l);return!(h!=="[object Function]"&&h!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(h))&&g(l)}},65481:function(x,o,t){var d,v=Object.prototype.toString,i=Function.prototype.toString,M=/^\s*(?:function)?\*/,g=t(84543)(),p=Object.getPrototypeOf;x.exports=function(u){if(typeof u!="function")return!1;if(M.test(i.call(u)))return!0;if(!g)return v.call(u)==="[object GeneratorFunction]";if(!p)return!1;if(d===void 0){var a=function(){if(!g)return!1;try{return Function("return function*() {}")()}catch{}}();d=!!a&&p(a)}return p(u)===d}},62683:function(x){x.exports=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},64274:function(x){x.exports=function(o){return o!=o}},15567:function(x,o,t){var d=t(68222),v=t(17045),i=t(64274),M=t(14922),g=t(22442),p=d(M(),Number);v(p,{getPolyfill:M,implementation:i,shim:g}),x.exports=p},14922:function(x,o,t){var d=t(64274);x.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:d}},22442:function(x,o,t){var d=t(17045),v=t(14922);x.exports=function(){var i=v();return d(Number,{isNaN:i},{isNaN:function(){return Number.isNaN!==i}}),i}},64941:function(x){x.exports=function(o){var t=typeof o;return o!==null&&(t==="object"||t==="function")}},10973:function(x){var o=Object.prototype.toString;x.exports=function(t){var d;return o.call(t)==="[object Object]"&&((d=Object.getPrototypeOf(t))===null||d===Object.getPrototypeOf({}))}},18546:function(x){x.exports=function(o){for(var t,d=o.length,v=0;v13)&&t!==32&&t!==133&&t!==160&&t!==5760&&t!==6158&&(t<8192||t>8205)&&t!==8232&&t!==8233&&t!==8239&&t!==8287&&t!==8288&&t!==12288&&t!==65279)return!1;return!0}},89546:function(x){x.exports=function(o){return typeof o=="string"&&(o=o.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(o)&&/[\dz]$/i.test(o)&&o.length>4))}},9187:function(x,o,t){var d=t(31353),v=t(72077),i=t(6614),M=i("Object.prototype.toString"),g=t(84543)(),p=t(40383),u=typeof globalThis>"u"?t.g:globalThis,a=v(),c=i("Array.prototype.indexOf",!0)||function(f,m){for(var _=0;_-1}return!!p&&function(_){var y=!1;return d(l,function(C,w){if(!y)try{y=C.call(_)===w}catch{}}),y}(f)}},44517:function(x){x.exports=function(){var o,t,d;function v(i,M){if(o)if(t){var g="var sharedChunk = {}; ("+o+")(sharedChunk); ("+t+")(sharedChunk);",p={};o(p),(d=M(p)).workerUrl=window.URL.createObjectURL(new Blob([g],{type:"text/javascript"}))}else t=M;else o=M}return v(0,function(i){function M(P,V){return P(V={exports:{}},V.exports),V.exports}var g="1.10.1",p=u;function u(P,V,J,fe){this.cx=3*P,this.bx=3*(J-P)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*V,this.by=3*(fe-V)-this.cy,this.ay=1-this.cy-this.by,this.p1x=P,this.p1y=fe,this.p2x=J,this.p2y=fe}u.prototype.sampleCurveX=function(P){return((this.ax*P+this.bx)*P+this.cx)*P},u.prototype.sampleCurveY=function(P){return((this.ay*P+this.by)*P+this.cy)*P},u.prototype.sampleCurveDerivativeX=function(P){return(3*this.ax*P+2*this.bx)*P+this.cx},u.prototype.solveCurveX=function(P,V){var J,fe,Ae,De,Ge;for(V===void 0&&(V=1e-6),Ae=P,Ge=0;Ge<8;Ge++){if(De=this.sampleCurveX(Ae)-P,Math.abs(De)(fe=1))return fe;for(;JDe?J=Ae:fe=Ae,Ae=.5*(fe-J)+J}return Ae},u.prototype.solve=function(P,V){return this.sampleCurveY(this.solveCurveX(P,V))};var a=c;function c(P,V){this.x=P,this.y=V}function s(P,V,J,fe){var Ae=new p(P,V,J,fe);return function(De){return Ae.solve(De)}}c.prototype={clone:function(){return new c(this.x,this.y)},add:function(P){return this.clone()._add(P)},sub:function(P){return this.clone()._sub(P)},multByPoint:function(P){return this.clone()._multByPoint(P)},divByPoint:function(P){return this.clone()._divByPoint(P)},mult:function(P){return this.clone()._mult(P)},div:function(P){return this.clone()._div(P)},rotate:function(P){return this.clone()._rotate(P)},rotateAround:function(P,V){return this.clone()._rotateAround(P,V)},matMult:function(P){return this.clone()._matMult(P)},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(P){return this.x===P.x&&this.y===P.y},dist:function(P){return Math.sqrt(this.distSqr(P))},distSqr:function(P){var V=P.x-this.x,J=P.y-this.y;return V*V+J*J},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(P){return Math.atan2(this.y-P.y,this.x-P.x)},angleWith:function(P){return this.angleWithSep(P.x,P.y)},angleWithSep:function(P,V){return Math.atan2(this.x*V-this.y*P,this.x*P+this.y*V)},_matMult:function(P){var V=P[0]*this.x+P[1]*this.y,J=P[2]*this.x+P[3]*this.y;return this.x=V,this.y=J,this},_add:function(P){return this.x+=P.x,this.y+=P.y,this},_sub:function(P){return this.x-=P.x,this.y-=P.y,this},_mult:function(P){return this.x*=P,this.y*=P,this},_div:function(P){return this.x/=P,this.y/=P,this},_multByPoint:function(P){return this.x*=P.x,this.y*=P.y,this},_divByPoint:function(P){return this.x/=P.x,this.y/=P.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var P=this.y;return this.y=this.x,this.x=-P,this},_rotate:function(P){var V=Math.cos(P),J=Math.sin(P),fe=V*this.x-J*this.y,Ae=J*this.x+V*this.y;return this.x=fe,this.y=Ae,this},_rotateAround:function(P,V){var J=Math.cos(P),fe=Math.sin(P),Ae=V.x+J*(this.x-V.x)-fe*(this.y-V.y),De=V.y+fe*(this.x-V.x)+J*(this.y-V.y);return this.x=Ae,this.y=De,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},c.convert=function(P){return P instanceof c?P:Array.isArray(P)?new c(P[0],P[1]):P};var l=s(.25,.1,.25,1);function h(P,V,J){return Math.min(J,Math.max(V,P))}function f(P,V,J){var fe=J-V,Ae=((P-V)%fe+fe)%fe+V;return Ae===V?J:Ae}function m(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var fe=0,Ae=V;fe>V/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,P)}()}function w(P){return!!P&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(P)}function k(P,V){P.forEach(function(J){V[J]&&(V[J]=V[J].bind(V))})}function E(P,V){return P.indexOf(V,P.length-V.length)!==-1}function T(P,V,J){var fe={};for(var Ae in P)fe[Ae]=V.call(J||this,P[Ae],Ae,P);return fe}function A(P,V,J){var fe={};for(var Ae in P)V.call(J||this,P[Ae],Ae,P)&&(fe[Ae]=P[Ae]);return fe}function L(P){return Array.isArray(P)?P.map(L):typeof P=="object"&&P?T(P,L):P}var b={};function O(P){b[P]||(typeof console<"u"&&console.warn(P),b[P]=!0)}function I(P,V,J){return(J.y-P.y)*(V.x-P.x)>(V.y-P.y)*(J.x-P.x)}function R(P){for(var V=0,J=0,fe=P.length,Ae=fe-1,De=void 0,Ge=void 0;J@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,function(fe,Ae,De,Ge){var it=De||Ge;return V[Ae]=!it||it.toLowerCase(),""}),V["max-age"]){var J=parseInt(V["max-age"],10);isNaN(J)?delete V["max-age"]:V["max-age"]=J}return V}var B=null;function N(P){if(B==null){var V=P.navigator?P.navigator.userAgent:null;B=!!P.safari||!(!V||!(/\b(iPad|iPhone|iPod)\b/.test(V)||V.match("Safari")&&!V.match("Chrome")))}return B}function q(P){try{var V=self[P];return V.setItem("_mapbox_test_",1),V.removeItem("_mapbox_test_"),!0}catch{return!1}}var j,Y,U,G,W=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),H=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,ne=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,te={now:W,frame:function(P){var V=H(P);return{cancel:function(){return ne(V)}}},getImageData:function(P,V){V===void 0&&(V=0);var J=self.document.createElement("canvas"),fe=J.getContext("2d");if(!fe)throw new Error("failed to create canvas 2d context");return J.width=P.width,J.height=P.height,fe.drawImage(P,0,0,P.width,P.height),fe.getImageData(-V,-V,P.width+2*V,P.height+2*V)},resolveURL:function(P){return j||(j=self.document.createElement("a")),j.href=P,j.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&(Y==null&&(Y=self.matchMedia("(prefers-reduced-motion: reduce)")),Y.matches)}},Z={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"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},X={supported:!1,testSupport:function(P){!Q&&G&&(re?ie(P):U=P)}},Q=!1,re=!1;function ie(P){var V=P.createTexture();P.bindTexture(P.TEXTURE_2D,V);try{if(P.texImage2D(P.TEXTURE_2D,0,P.RGBA,P.RGBA,P.UNSIGNED_BYTE,G),P.isContextLost())return;X.supported=!0}catch{}P.deleteTexture(V),Q=!0}self.document&&((G=self.document.createElement("img")).onload=function(){U&&ie(U),U=null,re=!0},G.onerror=function(){Q=!0,U=null},G.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var oe="01",ue=function(P,V){this._transformRequestFn=P,this._customAccessToken=V,this._createSkuToken()};function ce(P){return P.indexOf("mapbox:")===0}ue.prototype._createSkuToken=function(){var P=function(){for(var V="",J=0;J<10;J++)V+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",oe,V].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=P.token,this._skuTokenExpiresAt=P.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(P,V){return this._transformRequestFn&&this._transformRequestFn(P,V)||{url:P}},ue.prototype.normalizeStyleURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/styles/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/fonts/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/v4/"+J.authority+".json",J.params.push("secure"),this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(P,V,J,fe){var Ae=pe(P);return ce(P)?(Ae.path="/styles/v1"+Ae.path+"/sprite"+V+J,this._makeAPIURL(Ae,this._customAccessToken||fe)):(Ae.path+=""+V+J,xe(Ae))},ue.prototype.normalizeTileURL=function(P,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),P&&!ce(P))return P;var J=pe(P),fe=te.devicePixelRatio>=2||V===512?"@2x":"",Ae=X.supported?".webp":"$1";J.path=J.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+fe+Ae),J.path=J.path.replace(/^.+\/v4\//,"/"),J.path="/v4"+J.path;var De=this._customAccessToken||function(Ge){for(var it=0,mt=Ge;it=1&&self.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{O("Unable to write to LocalStorage")}},Me.prototype.processRequests=function(P){},Me.prototype.postEvent=function(P,V,J,fe){var Ae=this;if(Z.EVENTS_URL){var De=pe(Z.EVENTS_URL);De.params.push("access_token="+(fe||Z.ACCESS_TOKEN||""));var Ge={event:this.type,created:new Date(P).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:g,skuId:oe,userId:this.anonId},it=V?m(Ge,V):Ge,mt={url:xe(De),headers:{"Content-Type":"text/plain"},body:JSON.stringify([it])};this.pendingRequest=Dt(mt,function(Ct){Ae.pendingRequest=null,J(Ct),Ae.saveEventData(),Ae.processRequests(fe)})}},Me.prototype.queueRequest=function(P,V){this.queue.push(P),this.processRequests(V)};var Se,Ce,ae=function(P){function V(){P.call(this,"map.load"),this.success={},this.skuToken=""}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postMapLoadEvent=function(J,fe,Ae,De){this.skuToken=Ae,(Z.EVENTS_URL&&De||Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ge){return ce(Ge)||de(Ge)}))&&this.queueRequest({id:fe,timestamp:Date.now()},De)},V.prototype.processRequests=function(J){var fe=this;if(!this.pendingRequest&&this.queue.length!==0){var Ae=this.queue.shift(),De=Ae.id,Ge=Ae.timestamp;De&&this.success[De]||(this.anonId||this.fetchEventData(),w(this.anonId)||(this.anonId=C()),this.postEvent(Ge,{skuToken:this.skuToken},function(it){it||De&&(fe.success[De]=!0)},J))}},V}(Me),he=function(P){function V(J){P.call(this,"appUserTurnstile"),this._customAccessToken=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postTurnstileEvent=function(J,fe){Z.EVENTS_URL&&Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ae){return ce(Ae)||de(Ae)})&&this.queueRequest(Date.now(),fe)},V.prototype.processRequests=function(J){var fe=this;if(!this.pendingRequest&&this.queue.length!==0){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var Ae=_e(Z.ACCESS_TOKEN),De=Ae?Ae.u:Z.ACCESS_TOKEN,Ge=De!==this.eventData.tokenU;w(this.anonId)||(this.anonId=C(),Ge=!0);var it=this.queue.shift();if(this.eventData.lastSuccess){var mt=new Date(this.eventData.lastSuccess),Ct=new Date(it),Rt=(it-this.eventData.lastSuccess)/864e5;Ge=Ge||Rt>=1||Rt<-1||mt.getDate()!==Ct.getDate()}else Ge=!0;if(!Ge)return this.processRequests();this.postEvent(it,{"enabled.telemetry":!1},function(Gt){Gt||(fe.eventData.lastSuccess=it,fe.eventData.tokenU=De)},J)}},V}(Me),be=new he,ke=be.postTurnstileEvent.bind(be),Le=new ae,Be=Le.postMapLoadEvent.bind(Le),ze="mapbox-tiles",je=500,ge=50;function we(){self.caches&&!Se&&(Se=self.caches.open(ze))}function Ee(P,V,J){if(we(),Se){var fe={status:V.status,statusText:V.statusText,headers:new self.Headers};V.headers.forEach(function(De,Ge){return fe.headers.set(Ge,De)});var Ae=F(V.headers.get("Cache-Control")||"");Ae["no-store"]||(Ae["max-age"]&&fe.headers.set("Expires",new Date(J+1e3*Ae["max-age"]).toUTCString()),new Date(fe.headers.get("Expires")).getTime()-J<42e4||function(De,Ge){if(Ce===void 0)try{new Response(new ReadableStream),Ce=!0}catch{Ce=!1}Ce?Ge(De.body):De.blob().then(Ge)}(V,function(De){var Ge=new self.Response(De,fe);we(),Se&&Se.then(function(it){return it.put(Ve(P.url),Ge)}).catch(function(it){return O(it.message)})}))}}function Ve(P){var V=P.indexOf("?");return V<0?P:P.slice(0,V)}function Ye(P,V){if(we(),!Se)return V(null);var J=Ve(P.url);Se.then(function(fe){fe.match(J).then(function(Ae){var De=function(Ge){if(!Ge)return!1;var it=new Date(Ge.headers.get("Expires")||0),mt=F(Ge.headers.get("Cache-Control")||"");return it>Date.now()&&!mt["no-cache"]}(Ae);fe.delete(J),De&&fe.put(J,Ae.clone()),V(null,Ae,De)}).catch(V)}).catch(V)}var $e,st=1/0;function ot(){return $e==null&&($e=self.OffscreenCanvas&&new self.OffscreenCanvas(1,1).getContext("2d")&&typeof self.createImageBitmap=="function"),$e}var ft={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};typeof Object.freeze=="function"&&Object.freeze(ft);var bt=function(P){function V(J,fe,Ae){fe===401&&de(Ae)&&(J+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),P.call(this,J),this.status=fe,this.url=Ae,this.name=this.constructor.name,this.message=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},V}(Error),Et=z()?function(){return self.worker&&self.worker.referrer}:function(){return(self.location.protocol==="blob:"?self.parent:self).location.href};function kt(P,V){var J,fe=new self.AbortController,Ae=new self.Request(P.url,{method:P.method||"GET",body:P.body,credentials:P.credentials,headers:P.headers,referrer:Et(),signal:fe.signal}),De=!1,Ge=!1,it=(J=Ae.url).indexOf("sku=")>0&&de(J);P.type==="json"&&Ae.headers.set("Accept","application/json");var mt=function(Rt,Gt,Zt){if(!Ge){if(Rt&&Rt.message!=="SecurityError"&&O(Rt),Gt&&Zt)return Ct(Gt);var Yt=Date.now();self.fetch(Ae).then(function(hn){if(hn.ok){var Mn=it?hn.clone():null;return Ct(hn,Mn,Yt)}return V(new bt(hn.statusText,hn.status,P.url))}).catch(function(hn){hn.code!==20&&V(new Error(hn.message))})}},Ct=function(Rt,Gt,Zt){(P.type==="arrayBuffer"?Rt.arrayBuffer():P.type==="json"?Rt.json():Rt.text()).then(function(Yt){Ge||(Gt&&Zt&&Ee(Ae,Gt,Zt),De=!0,V(null,Yt,Rt.headers.get("Cache-Control"),Rt.headers.get("Expires")))}).catch(function(Yt){Ge||V(new Error(Yt.message))})};return it?Ye(Ae,mt):mt(null,null),{cancel:function(){Ge=!0,De||fe.abort()}}}var xt=function(P,V){if(J=P.url,!(/^file:/.test(J)||/^file:/.test(Et())&&!/^\w+:/.test(J))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return kt(P,V);if(z()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",P,V,void 0,!0)}var J;return function(fe,Ae){var De=new self.XMLHttpRequest;for(var Ge in De.open(fe.method||"GET",fe.url,!0),fe.type==="arrayBuffer"&&(De.responseType="arraybuffer"),fe.headers)De.setRequestHeader(Ge,fe.headers[Ge]);return fe.type==="json"&&(De.responseType="text",De.setRequestHeader("Accept","application/json")),De.withCredentials=fe.credentials==="include",De.onerror=function(){Ae(new Error(De.statusText))},De.onload=function(){if((De.status>=200&&De.status<300||De.status===0)&&De.response!==null){var it=De.response;if(fe.type==="json")try{it=JSON.parse(De.response)}catch(mt){return Ae(mt)}Ae(null,it,De.getResponseHeader("Cache-Control"),De.getResponseHeader("Expires"))}else Ae(new bt(De.statusText,De.status,fe.url))},De.send(fe.body),{cancel:function(){return De.abort()}}}(P,V)},Ft=function(P,V){return xt(m(P,{type:"arrayBuffer"}),V)},Dt=function(P,V){return xt(m(P,{method:"POST"}),V)},Bt,Wt;Bt=[],Wt=0;var Vt=function(P,V){if(X.supported&&(P.headers||(P.headers={}),P.headers.accept="image/webp,*/*"),Wt>=Z.MAX_PARALLEL_IMAGE_REQUESTS){var J={requestParameters:P,callback:V,cancelled:!1,cancel:function(){this.cancelled=!0}};return Bt.push(J),J}Wt++;var fe=!1,Ae=function(){if(!fe)for(fe=!0,Wt--;Bt.length&&Wt0||this._oneTimeListeners&&this._oneTimeListeners[P]&&this._oneTimeListeners[P].length>0||this._eventedParent&&this._eventedParent.listens(P)},ht.prototype.setEventedParent=function(P,V){return this._eventedParent=P,this._eventedParentData=V,this};var Oe={$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"},"*":{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"},"*":{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"},"*":{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},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{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},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},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"}}},Ne=function(P,V,J,fe){this.message=(P?P+": ":"")+J,fe&&(this.identifier=fe),V!=null&&V.__line__&&(this.line=V.__line__)};function Qe(P){var V=P.key,J=P.value;return J?[new Ne(V,J,"constants have been deprecated as of v8")]:[]}function ut(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var fe=0,Ae=V;fe":P.itemType.kind==="value"?"array":"array<"+V+">"}return P.kind}var An=[yt,Pt,wt,Ot,Nt,Qt,$t,xn(qt),rn];function Yn(P,V){if(V.kind==="error")return null;if(P.kind==="array"){if(V.kind==="array"&&(V.N===0&&V.itemType.kind==="value"||!Yn(P.itemType,V.itemType))&&(typeof P.N!="number"||P.N===V.N))return null}else{if(P.kind===V.kind)return null;if(P.kind==="value"){for(var J=0,fe=An;J255?255:mt}function Ae(mt){return mt<0?0:mt>1?1:mt}function De(mt){return mt[mt.length-1]==="%"?fe(parseFloat(mt)/100*255):fe(parseInt(mt))}function Ge(mt){return mt[mt.length-1]==="%"?Ae(parseFloat(mt)/100):Ae(parseFloat(mt))}function it(mt,Ct,Rt){return Rt<0?Rt+=1:Rt>1&&(Rt-=1),6*Rt<1?mt+(Ct-mt)*Rt*6:2*Rt<1?Ct:3*Rt<2?mt+(Ct-mt)*(2/3-Rt)*6:mt}try{V.parseCSSColor=function(mt){var Ct,Rt=mt.replace(/ /g,"").toLowerCase();if(Rt in J)return J[Rt].slice();if(Rt[0]==="#")return Rt.length===4?(Ct=parseInt(Rt.substr(1),16))>=0&&Ct<=4095?[(3840&Ct)>>4|(3840&Ct)>>8,240&Ct|(240&Ct)>>4,15&Ct|(15&Ct)<<4,1]:null:Rt.length===7&&(Ct=parseInt(Rt.substr(1),16))>=0&&Ct<=16777215?[(16711680&Ct)>>16,(65280&Ct)>>8,255&Ct,1]:null;var Gt=Rt.indexOf("("),Zt=Rt.indexOf(")");if(Gt!==-1&&Zt+1===Rt.length){var Yt=Rt.substr(0,Gt),hn=Rt.substr(Gt+1,Zt-(Gt+1)).split(","),Mn=1;switch(Yt){case"rgba":if(hn.length!==4)return null;Mn=Ge(hn.pop());case"rgb":return hn.length!==3?null:[De(hn[0]),De(hn[1]),De(hn[2]),Mn];case"hsla":if(hn.length!==4)return null;Mn=Ge(hn.pop());case"hsl":if(hn.length!==3)return null;var Nn=(parseFloat(hn[0])%360+360)%360/360,Bn=Ge(hn[1]),$n=Ge(hn[2]),Xn=$n<=.5?$n*(Bn+1):$n+Bn-$n*Bn,er=2*$n-Xn;return[fe(255*it(er,Xn,Nn+1/3)),fe(255*it(er,Xn,Nn)),fe(255*it(er,Xn,Nn-1/3)),Mn];default:return null}}return null}}catch{}}),dn=Tn.parseCSSColor,pn=function(P,V,J,fe){fe===void 0&&(fe=1),this.r=P,this.g=V,this.b=J,this.a=fe};pn.parse=function(P){if(P){if(P instanceof pn)return P;if(typeof P=="string"){var V=dn(P);if(V)return new pn(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},pn.prototype.toString=function(){var P=this.toArray(),V=P[0],J=P[1],fe=P[2],Ae=P[3];return"rgba("+Math.round(V)+","+Math.round(J)+","+Math.round(fe)+","+Ae+")"},pn.prototype.toArray=function(){var P=this,V=P.r,J=P.g,fe=P.b,Ae=P.a;return Ae===0?[0,0,0,0]:[255*V/Ae,255*J/Ae,255*fe/Ae,Ae]},pn.black=new pn(0,0,0,1),pn.white=new pn(1,1,1,1),pn.transparent=new pn(0,0,0,0),pn.red=new pn(1,0,0,1);var Rn=function(P,V,J){this.sensitivity=P?V?"variant":"case":V?"accent":"base",this.locale=J,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Rn.prototype.compare=function(P,V){return this.collator.compare(P,V)},Rn.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var In=function(P,V,J,fe,Ae){this.text=P,this.image=V,this.scale=J,this.fontStack=fe,this.textColor=Ae},jn=function(P){this.sections=P};jn.fromString=function(P){return new jn([new In(P,null,null,null,null)])},jn.prototype.isEmpty=function(){return this.sections.length===0||!this.sections.some(function(P){return P.text.length!==0||P.image&&P.image.name.length!==0})},jn.factory=function(P){return P instanceof jn?P:jn.fromString(P)},jn.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(P){return P.text}).join("")},jn.prototype.serialize=function(){for(var P=["format"],V=0,J=this.sections;V=0&&P<=255&&typeof V=="number"&&V>=0&&V<=255&&typeof J=="number"&&J>=0&&J<=255?fe===void 0||typeof fe=="number"&&fe>=0&&fe<=1?null:"Invalid rgba value ["+[P,V,J,fe].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+(typeof fe=="number"?[P,V,J,fe]:[P,V,J]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function ur(P){if(P===null||typeof P=="string"||typeof P=="boolean"||typeof P=="number"||P instanceof pn||P instanceof Rn||P instanceof jn||P instanceof Gn)return!0;if(Array.isArray(P)){for(var V=0,J=P;V2){var it=P[1];if(typeof it!="string"||!(it in yr)||it==="object")return V.error('The item type argument of "array" must be one of string, number, boolean',1);De=yr[it],fe++}else De=qt;if(P.length>3){if(P[2]!==null&&(typeof P[2]!="number"||P[2]<0||P[2]!==Math.floor(P[2])))return V.error('The length argument to "array" must be a positive integer literal',2);Ge=P[2],fe++}J=xn(De,Ge)}else J=yr[Ae];for(var mt=[];fe1)&&V.push(fe)}}return V.concat(this.args.map(function(Ae){return Ae.serialize()}))};var Kt=function(P){this.type=Qt,this.sections=P};Kt.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[1];if(!Array.isArray(J)&&typeof J=="object")return V.error("First argument must be an image or text section.");for(var fe=[],Ae=!1,De=1;De<=P.length-1;++De){var Ge=P[De];if(Ae&&typeof Ge=="object"&&!Array.isArray(Ge)){Ae=!1;var it=null;if(Ge["font-scale"]&&!(it=V.parse(Ge["font-scale"],1,Pt)))return null;var mt=null;if(Ge["text-font"]&&!(mt=V.parse(Ge["text-font"],1,xn(wt))))return null;var Ct=null;if(Ge["text-color"]&&!(Ct=V.parse(Ge["text-color"],1,Nt)))return null;var Rt=fe[fe.length-1];Rt.scale=it,Rt.font=mt,Rt.textColor=Ct}else{var Gt=V.parse(P[De],1,qt);if(!Gt)return null;var Zt=Gt.type.kind;if(Zt!=="string"&&Zt!=="value"&&Zt!=="null"&&Zt!=="resolvedImage")return V.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ae=!0,fe.push({content:Gt,scale:null,font:null,textColor:null})}}return new Kt(fe)},Kt.prototype.evaluate=function(P){return new jn(this.sections.map(function(V){var J=V.content.evaluate(P);return rr(J)===rn?new In("",J,null,null,null):new In(Lr(J),null,V.scale?V.scale.evaluate(P):null,V.font?V.font.evaluate(P).join(","):null,V.textColor?V.textColor.evaluate(P):null)}))},Kt.prototype.eachChild=function(P){for(var V=0,J=this.sections;V-1),J},bn.prototype.eachChild=function(P){P(this.input)},bn.prototype.outputDefined=function(){return!1},bn.prototype.serialize=function(){return["image",this.input.serialize()]};var On={"to-boolean":Ot,"to-color":Nt,"to-number":Pt,"to-string":wt},Ln=function(P,V){this.type=P,this.args=V};Ln.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[0];if((J==="to-boolean"||J==="to-string")&&P.length!==2)return V.error("Expected one argument.");for(var fe=On[J],Ae=[],De=1;De4?"Invalid rbga value "+JSON.stringify(V)+": expected an array containing either three or four numeric values.":Wn(V[0],V[1],V[2],V[3])))return new pn(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new or(J||"Could not parse color from value '"+(typeof V=="string"?V:String(JSON.stringify(V)))+"'")}if(this.type.kind==="number"){for(var Ge=null,it=0,mt=this.args;it=V[2]||P[1]<=V[1]||P[3]>=V[3])}function jt(P,V){var J,fe=(180+P[0])/360,Ae=(J=P[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+J*Math.PI/360)))/360),De=Math.pow(2,V.z);return[Math.round(fe*De*gr),Math.round(Ae*De*gr)]}function Jt(P,V,J){return V[1]>P[1]!=J[1]>P[1]&&P[0]<(J[0]-V[0])*(P[1]-V[1])/(J[1]-V[1])+V[0]}function fn(P,V){for(var J=!1,fe=0,Ae=V.length;fe0&&Gt<0||Rt<0&&Gt>0}function En(P,V,J){for(var fe=0,Ae=J;feJ[2]){var Ae=.5*fe,De=P[0]-J[0]>Ae?-fe:J[0]-P[0]>Ae?fe:0;De===0&&(De=P[0]-J[2]>Ae?-fe:J[2]-P[0]>Ae?fe:0),P[0]+=De}nn(V,P)}function Vn(P,V,J,fe){for(var Ae=Math.pow(2,fe.z)*gr,De=[fe.x*gr,fe.y*gr],Ge=[],it=0,mt=P;it=0)return!1;var J=!0;return P.eachChild(function(fe){J&&!fr(fe,V)&&(J=!1)}),J}nr.parse=function(P,V){if(P.length!==2)return V.error("'within' expression requires exactly one argument, but found "+(P.length-1)+" instead.");if(ur(P[1])){var J=P[1];if(J.type==="FeatureCollection")for(var fe=0;feV))throw new or("Input is not a number.");Ge=it-1}return 0}pr.prototype.parse=function(P,V,J,fe,Ae){return Ae===void 0&&(Ae={}),V?this.concat(V,J,fe)._parse(P,Ae):this._parse(P,Ae)},pr.prototype._parse=function(P,V){function J(Ct,Rt,Gt){return Gt==="assert"?new wr(Rt,[Ct]):Gt==="coerce"?new Ln(Rt,[Ct]):Ct}if(P!==null&&typeof P!="string"&&typeof P!="boolean"&&typeof P!="number"||(P=["literal",P]),Array.isArray(P)){if(P.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var fe=P[0];if(typeof fe!="string")return this.error("Expression name must be a string, but found "+typeof fe+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Ae=this.registry[fe];if(Ae){var De=Ae.parse(P,this);if(!De)return null;if(this.expectedType){var Ge=this.expectedType,it=De.type;if(Ge.kind!=="string"&&Ge.kind!=="number"&&Ge.kind!=="boolean"&&Ge.kind!=="object"&&Ge.kind!=="array"||it.kind!=="value")if(Ge.kind!=="color"&&Ge.kind!=="formatted"&&Ge.kind!=="resolvedImage"||it.kind!=="value"&&it.kind!=="string"){if(this.checkSubtype(Ge,it))return null}else De=J(De,Ge,V.typeAnnotation||"coerce");else De=J(De,Ge,V.typeAnnotation||"assert")}if(!(De instanceof br)&&De.type.kind!=="resolvedImage"&&xr(De)){var mt=new Jn;try{De=new br(De.type,De.evaluate(mt))}catch(Ct){return this.error(Ct.message),null}}return De}return this.error('Unknown expression "'+fe+'". If you wanted a literal array, use ["literal", [...]].',0)}return P===void 0?this.error("'undefined' value invalid. Use null instead."):typeof P=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof P+" instead.")},pr.prototype.concat=function(P,V,J){var fe=typeof P=="number"?this.path.concat(P):this.path,Ae=J?this.scope.concat(J):this.scope;return new pr(this.registry,fe,V||null,Ae,this.errors)},pr.prototype.error=function(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];var fe=""+this.key+V.map(function(Ae){return"["+Ae+"]"}).join("");this.errors.push(new It(fe,P))},pr.prototype.checkSubtype=function(P,V){var J=Yn(P,V);return J&&this.error(J),J};var Pr=function(P,V,J){this.type=P,this.input=V,this.labels=[],this.outputs=[];for(var fe=0,Ae=J;fe=Ge)return V.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',mt);var Rt=V.parse(it,Ct,Ae);if(!Rt)return null;Ae=Ae||Rt.type,fe.push([Ge,Rt])}return new Pr(Ae,J,fe)},Pr.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var fe=this.input.evaluate(P);if(fe<=V[0])return J[0].evaluate(P);var Ae=V.length;return fe>=V[Ae-1]?J[Ae-1].evaluate(P):J[Rr(V,fe)].evaluate(P)},Pr.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V0&&P.push(this.labels[V]),P.push(this.outputs[V].serialize());return P};var vr=Object.freeze({__proto__:null,number:Vr,color:function(P,V,J){return new pn(Vr(P.r,V.r,J),Vr(P.g,V.g,J),Vr(P.b,V.b,J),Vr(P.a,V.a,J))},array:function(P,V,J){return P.map(function(fe,Ae){return Vr(fe,V[Ae],J)})}}),jr=.95047,li=1.08883,Gi=4/29,ia=6/29,la=3*ia*ia,co=Math.PI/180,Oa=180/Math.PI;function Qi(P){return P>.008856451679035631?Math.pow(P,.3333333333333333):P/la+Gi}function No(P){return P>ia?P*P*P:la*(P-Gi)}function ss(P){return 255*(P<=.0031308?12.92*P:1.055*Math.pow(P,.4166666666666667)-.055)}function al(P){return(P/=255)<=.04045?P/12.92:Math.pow((P+.055)/1.055,2.4)}function Su(P){var V=al(P.r),J=al(P.g),fe=al(P.b),Ae=Qi((.4124564*V+.3575761*J+.1804375*fe)/jr),De=Qi((.2126729*V+.7151522*J+.072175*fe)/1);return{l:116*De-16,a:500*(Ae-De),b:200*(De-Qi((.0193339*V+.119192*J+.9503041*fe)/li)),alpha:P.a}}function ch(P){var V=(P.l+16)/116,J=isNaN(P.a)?V:V+P.a/500,fe=isNaN(P.b)?V:V-P.b/200;return V=1*No(V),J=jr*No(J),fe=li*No(fe),new pn(ss(3.2404542*J-1.5371385*V-.4985314*fe),ss(-.969266*J+1.8760108*V+.041556*fe),ss(.0556434*J-.2040259*V+1.0572252*fe),P.alpha)}function xf(P,V,J){var fe=V-P;return P+J*(fe>180||fe<-180?fe-360*Math.round(fe/360):fe)}var Cu={forward:Su,reverse:ch,interpolate:function(P,V,J){return{l:Vr(P.l,V.l,J),a:Vr(P.a,V.a,J),b:Vr(P.b,V.b,J),alpha:Vr(P.alpha,V.alpha,J)}}},ls={forward:function(P){var V=Su(P),J=V.l,fe=V.a,Ae=V.b,De=Math.atan2(Ae,fe)*Oa;return{h:De<0?De+360:De,c:Math.sqrt(fe*fe+Ae*Ae),l:J,alpha:P.a}},reverse:function(P){var V=P.h*co,J=P.c;return ch({l:P.l,a:Math.cos(V)*J,b:Math.sin(V)*J,alpha:P.alpha})},interpolate:function(P,V,J){return{h:xf(P.h,V.h,J),c:Vr(P.c,V.c,J),l:Vr(P.l,V.l,J),alpha:Vr(P.alpha,V.alpha,J)}}},_f=Object.freeze({__proto__:null,lab:Cu,hcl:ls}),Za=function(P,V,J,fe,Ae){this.type=P,this.operator=V,this.interpolation=J,this.input=fe,this.labels=[],this.outputs=[];for(var De=0,Ge=Ae;De1}))return V.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);fe={name:"cubic-bezier",controlPoints:it}}if(P.length-1<4)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if((P.length-1)%2!=0)return V.error("Expected an even number of arguments.");if(!(Ae=V.parse(Ae,2,Pt)))return null;var mt=[],Ct=null;J==="interpolate-hcl"||J==="interpolate-lab"?Ct=Nt:V.expectedType&&V.expectedType.kind!=="value"&&(Ct=V.expectedType);for(var Rt=0;Rt=Gt)return V.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',Yt);var Mn=V.parse(Zt,hn,Ct);if(!Mn)return null;Ct=Ct||Mn.type,mt.push([Gt,Mn])}return Ct.kind==="number"||Ct.kind==="color"||Ct.kind==="array"&&Ct.itemType.kind==="number"&&typeof Ct.N=="number"?new Za(Ct,J,fe,Ae,mt):V.error("Type "+un(Ct)+" is not interpolatable.")},Za.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var fe=this.input.evaluate(P);if(fe<=V[0])return J[0].evaluate(P);var Ae=V.length;if(fe>=V[Ae-1])return J[Ae-1].evaluate(P);var De=Rr(V,fe),Ge=V[De],it=V[De+1],mt=Za.interpolationFactor(this.interpolation,fe,Ge,it),Ct=J[De].evaluate(P),Rt=J[De+1].evaluate(P);return this.operator==="interpolate"?vr[this.type.kind.toLowerCase()](Ct,Rt,mt):this.operator==="interpolate-hcl"?ls.reverse(ls.interpolate(ls.forward(Ct),ls.forward(Rt),mt)):Cu.reverse(Cu.interpolate(Cu.forward(Ct),Cu.forward(Rt),mt))},Za.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V=J.length)throw new or("Array index out of bounds: "+V+" > "+(J.length-1)+".");if(V!==Math.floor(V))throw new or("Array index must be an integer, but found "+V+" instead.");return J[V]},Cl.prototype.eachChild=function(P){P(this.index),P(this.input)},Cl.prototype.outputDefined=function(){return!1},Cl.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Wi=function(P,V){this.type=Ot,this.needle=P,this.haystack=V};Wi.parse=function(P,V){if(P.length!==3)return V.error("Expected 2 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,qt),fe=V.parse(P[2],2,qt);return J&&fe?kn(J.type,[Ot,wt,Pt,yt,qt])?new Wi(J,fe):V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead"):null},Wi.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!J)return!1;if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");return J.indexOf(V)>=0},Wi.prototype.eachChild=function(P){P(this.needle),P(this.haystack)},Wi.prototype.outputDefined=function(){return!0},Wi.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var El=function(P,V,J){this.type=Pt,this.needle=P,this.haystack=V,this.fromIndex=J};El.parse=function(P,V){if(P.length<=2||P.length>=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,qt),fe=V.parse(P[2],2,qt);if(!J||!fe)return null;if(!kn(J.type,[Ot,wt,Pt,yt,qt]))return V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new El(J,fe,Ae):null}return new El(J,fe)},El.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");if(this.fromIndex){var fe=this.fromIndex.evaluate(P);return J.indexOf(V,fe)}return J.indexOf(V)},El.prototype.eachChild=function(P){P(this.needle),P(this.haystack),this.fromIndex&&P(this.fromIndex)},El.prototype.outputDefined=function(){return!1},El.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var P=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),P]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var gs=function(P,V,J,fe,Ae,De){this.inputType=P,this.type=V,this.input=J,this.cases=fe,this.outputs=Ae,this.otherwise=De};gs.parse=function(P,V){if(P.length<5)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if(P.length%2!=1)return V.error("Expected an even number of arguments.");var J,fe;V.expectedType&&V.expectedType.kind!=="value"&&(fe=V.expectedType);for(var Ae={},De=[],Ge=2;GeNumber.MAX_SAFE_INTEGER)return Ct.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof Zt=="number"&&Math.floor(Zt)!==Zt)return Ct.error("Numeric branch labels must be integer values.");if(J){if(Ct.checkSubtype(J,rr(Zt)))return null}else J=rr(Zt);if(Ae[String(Zt)]!==void 0)return Ct.error("Branch labels must be unique.");Ae[String(Zt)]=De.length}var Yt=V.parse(mt,Ge,fe);if(!Yt)return null;fe=fe||Yt.type,De.push(Yt)}var hn=V.parse(P[1],1,qt);if(!hn)return null;var Mn=V.parse(P[P.length-1],P.length-1,fe);return Mn?hn.type.kind!=="value"&&V.concat(1).checkSubtype(J,hn.type)?null:new gs(J,fe,hn,Ae,De,Mn):null},gs.prototype.evaluate=function(P){var V=this.input.evaluate(P);return(rr(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise).evaluate(P)},gs.prototype.eachChild=function(P){P(this.input),this.outputs.forEach(P),P(this.otherwise)},gs.prototype.outputDefined=function(){return this.outputs.every(function(P){return P.outputDefined()})&&this.otherwise.outputDefined()},gs.prototype.serialize=function(){for(var P=this,V=["match",this.input.serialize()],J=[],fe={},Ae=0,De=Object.keys(this.cases).sort();Ae=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,qt),fe=V.parse(P[2],2,Pt);if(!J||!fe)return null;if(!kn(J.type,[xn(qt),wt,qt]))return V.error("Expected first argument to be of type array or string, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new qs(J.type,J,fe,Ae):null}return new qs(J.type,J,fe)},qs.prototype.evaluate=function(P){var V=this.input.evaluate(P),J=this.beginIndex.evaluate(P);if(!sn(V,["string","array"]))throw new or("Expected first argument to be of type array or string, but found "+un(rr(V))+" instead.");if(this.endIndex){var fe=this.endIndex.evaluate(P);return V.slice(J,fe)}return V.slice(J)},qs.prototype.eachChild=function(P){P(this.input),P(this.beginIndex),this.endIndex&&P(this.endIndex)},qs.prototype.outputDefined=function(){return!1},qs.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var P=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),P]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var hh=ol("==",function(P,V,J){return V===J},fh),dh=ol("!=",function(P,V,J){return V!==J},function(P,V,J,fe){return!fh(0,V,J,fe)}),Yh=ol("<",function(P,V,J){return V",function(P,V,J){return V>J},function(P,V,J,fe){return fe.compare(V,J)>0}),ph=ol("<=",function(P,V,J){return V<=J},function(P,V,J,fe){return fe.compare(V,J)<=0}),Tf=ol(">=",function(P,V,J){return V>=J},function(P,V,J,fe){return fe.compare(V,J)>=0}),sl=function(P,V,J,fe,Ae){this.type=wt,this.number=P,this.locale=V,this.currency=J,this.minFractionDigits=fe,this.maxFractionDigits=Ae};sl.parse=function(P,V){if(P.length!==3)return V.error("Expected two arguments.");var J=V.parse(P[1],1,Pt);if(!J)return null;var fe=P[2];if(typeof fe!="object"||Array.isArray(fe))return V.error("NumberFormat options argument must be an object.");var Ae=null;if(fe.locale&&!(Ae=V.parse(fe.locale,1,wt)))return null;var De=null;if(fe.currency&&!(De=V.parse(fe.currency,1,wt)))return null;var Ge=null;if(fe["min-fraction-digits"]&&!(Ge=V.parse(fe["min-fraction-digits"],1,Pt)))return null;var it=null;return fe["max-fraction-digits"]&&!(it=V.parse(fe["max-fraction-digits"],1,Pt))?null:new sl(J,Ae,De,Ge,it)},sl.prototype.evaluate=function(P){return new Intl.NumberFormat(this.locale?this.locale.evaluate(P):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(P):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(P):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(P):void 0}).format(this.number.evaluate(P))},sl.prototype.eachChild=function(P){P(this.number),this.locale&&P(this.locale),this.currency&&P(this.currency),this.minFractionDigits&&P(this.minFractionDigits),this.maxFractionDigits&&P(this.maxFractionDigits)},sl.prototype.outputDefined=function(){return!1},sl.prototype.serialize=function(){var P={};return this.locale&&(P.locale=this.locale.serialize()),this.currency&&(P.currency=this.currency.serialize()),this.minFractionDigits&&(P["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(P["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),P]};var ll=function(P){this.type=Pt,this.input=P};ll.parse=function(P,V){if(P.length!==2)return V.error("Expected 1 argument, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1);return J?J.type.kind!=="array"&&J.type.kind!=="string"&&J.type.kind!=="value"?V.error("Expected argument of type string or array, but found "+un(J.type)+" instead."):new ll(J):null},ll.prototype.evaluate=function(P){var V=this.input.evaluate(P);if(typeof V=="string"||Array.isArray(V))return V.length;throw new or("Expected value to be of type string or array, but found "+un(rr(V))+" instead.")},ll.prototype.eachChild=function(P){P(this.input)},ll.prototype.outputDefined=function(){return!1},ll.prototype.serialize=function(){var P=["length"];return this.eachChild(function(V){P.push(V.serialize())}),P};var Eu={"==":hh,"!=":dh,">":wf,"<":Yh,">=":Tf,"<=":ph,array:wr,at:Cl,boolean:wr,case:Is,coalesce:Ko,collator:tr,format:Kt,image:bn,in:Wi,"index-of":El,interpolate:Za,"interpolate-hcl":Za,"interpolate-lab":Za,length:ll,let:us,literal:br,match:gs,number:wr,"number-format":sl,object:wr,slice:qs,step:Pr,string:wr,"to-boolean":Ln,"to-color":Ln,"to-number":Ln,"to-string":Ln,var:mr,within:nr};function ul(P,V){var J=V[0],fe=V[1],Ae=V[2],De=V[3];J=J.evaluate(P),fe=fe.evaluate(P),Ae=Ae.evaluate(P);var Ge=De?De.evaluate(P):1,it=Wn(J,fe,Ae,Ge);if(it)throw new or(it);return new pn(J/255*Ge,fe/255*Ge,Ae/255*Ge,Ge)}function kf(P,V){return P in V}function Mf(P,V){var J=V[P];return J===void 0?null:J}function Xl(P){return{type:P}}function jc(P){return{result:"success",value:P}}function Ll(P){return{result:"error",value:P}}function Lu(P){return P["property-type"]==="data-driven"||P["property-type"]==="cross-faded-data-driven"}function Kl(P){return!!P.expression&&P.expression.parameters.indexOf("zoom")>-1}function cl(P){return!!P.expression&&P.expression.interpolated}function qi(P){return P instanceof Number?"number":P instanceof String?"string":P instanceof Boolean?"boolean":Array.isArray(P)?"array":P===null?"null":typeof P}function Il(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)}function Zh(P){return P}function Uc(P,V){var J,fe,Ae,De=V.type==="color",Ge=P.stops&&typeof P.stops[0][0]=="object",it=Ge||P.property!==void 0,mt=Ge||!it,Ct=P.type||(cl(V)?"exponential":"interval");if(De&&((P=ut({},P)).stops&&(P.stops=P.stops.map(function(Ar){return[Ar[0],pn.parse(Ar[1])]})),P.default?P.default=pn.parse(P.default):P.default=pn.parse(V.default)),P.colorSpace&&P.colorSpace!=="rgb"&&!_f[P.colorSpace])throw new Error("Unknown color space: "+P.colorSpace);if(Ct==="exponential")J=vs;else if(Ct==="interval")J=Iu;else if(Ct==="categorical"){J=Jl,fe=Object.create(null);for(var Rt=0,Gt=P.stops;Rt=P.stops[fe-1][0])return P.stops[fe-1][1];var Ae=Rr(P.stops.map(function(De){return De[0]}),J);return P.stops[Ae][1]}function vs(P,V,J){var fe=P.base!==void 0?P.base:1;if(qi(J)!=="number")return oc(P.default,V.default);var Ae=P.stops.length;if(Ae===1||J<=P.stops[0][0])return P.stops[0][1];if(J>=P.stops[Ae-1][0])return P.stops[Ae-1][1];var De=Rr(P.stops.map(function(Gt){return Gt[0]}),J),Ge=function(Gt,Zt,Yt,hn){var Mn=hn-Yt,Nn=Gt-Yt;return Mn===0?0:Zt===1?Nn/Mn:(Math.pow(Zt,Nn)-1)/(Math.pow(Zt,Mn)-1)}(J,fe,P.stops[De][0],P.stops[De+1][0]),it=P.stops[De][1],mt=P.stops[De+1][1],Ct=vr[V.type]||Zh;if(P.colorSpace&&P.colorSpace!=="rgb"){var Rt=_f[P.colorSpace];Ct=function(Gt,Zt){return Rt.reverse(Rt.interpolate(Rt.forward(Gt),Rt.forward(Zt),Ge))}}return typeof it.evaluate=="function"?{evaluate:function(){for(var Gt=[],Zt=arguments.length;Zt--;)Gt[Zt]=arguments[Zt];var Yt=it.evaluate.apply(void 0,Gt),hn=mt.evaluate.apply(void 0,Gt);if(Yt!==void 0&&hn!==void 0)return Ct(Yt,hn,Ge)}}:Ct(it,mt,Ge)}function Af(P,V,J){return V.type==="color"?J=pn.parse(J):V.type==="formatted"?J=jn.fromString(J.toString()):V.type==="resolvedImage"?J=Gn.fromString(J.toString()):qi(J)===V.type||V.type==="enum"&&V.values[J]||(J=void 0),oc(J,P.default,V.default)}Zn.register(Eu,{error:[{kind:"error"},[wt],function(P,V){var J=V[0];throw new or(J.evaluate(P))}],typeof:[wt,[qt],function(P,V){return un(rr(V[0].evaluate(P)))}],"to-rgba":[xn(Pt,4),[Nt],function(P,V){return V[0].evaluate(P).toArray()}],rgb:[Nt,[Pt,Pt,Pt],ul],rgba:[Nt,[Pt,Pt,Pt,Pt],ul],has:{type:Ot,overloads:[[[wt],function(P,V){return kf(V[0].evaluate(P),P.properties())}],[[wt,$t],function(P,V){var J=V[0],fe=V[1];return kf(J.evaluate(P),fe.evaluate(P))}]]},get:{type:qt,overloads:[[[wt],function(P,V){return Mf(V[0].evaluate(P),P.properties())}],[[wt,$t],function(P,V){var J=V[0],fe=V[1];return Mf(J.evaluate(P),fe.evaluate(P))}]]},"feature-state":[qt,[wt],function(P,V){return Mf(V[0].evaluate(P),P.featureState||{})}],properties:[$t,[],function(P){return P.properties()}],"geometry-type":[wt,[],function(P){return P.geometryType()}],id:[qt,[],function(P){return P.id()}],zoom:[Pt,[],function(P){return P.globals.zoom}],"heatmap-density":[Pt,[],function(P){return P.globals.heatmapDensity||0}],"line-progress":[Pt,[],function(P){return P.globals.lineProgress||0}],accumulated:[qt,[],function(P){return P.globals.accumulated===void 0?null:P.globals.accumulated}],"+":[Pt,Xl(Pt),function(P,V){for(var J=0,fe=0,Ae=V;fe":[Ot,[wt,qt],function(P,V){var J=V[0],fe=V[1],Ae=P.properties()[J.value],De=fe.value;return typeof Ae==typeof De&&Ae>De}],"filter-id->":[Ot,[qt],function(P,V){var J=V[0],fe=P.id(),Ae=J.value;return typeof fe==typeof Ae&&fe>Ae}],"filter-<=":[Ot,[wt,qt],function(P,V){var J=V[0],fe=V[1],Ae=P.properties()[J.value],De=fe.value;return typeof Ae==typeof De&&Ae<=De}],"filter-id-<=":[Ot,[qt],function(P,V){var J=V[0],fe=P.id(),Ae=J.value;return typeof fe==typeof Ae&&fe<=Ae}],"filter->=":[Ot,[wt,qt],function(P,V){var J=V[0],fe=V[1],Ae=P.properties()[J.value],De=fe.value;return typeof Ae==typeof De&&Ae>=De}],"filter-id->=":[Ot,[qt],function(P,V){var J=V[0],fe=P.id(),Ae=J.value;return typeof fe==typeof Ae&&fe>=Ae}],"filter-has":[Ot,[qt],function(P,V){return V[0].value in P.properties()}],"filter-has-id":[Ot,[],function(P){return P.id()!==null&&P.id()!==void 0}],"filter-type-in":[Ot,[xn(wt)],function(P,V){return V[0].value.indexOf(P.geometryType())>=0}],"filter-id-in":[Ot,[xn(qt)],function(P,V){return V[0].value.indexOf(P.id())>=0}],"filter-in-small":[Ot,[wt,xn(qt)],function(P,V){var J=V[0];return V[1].value.indexOf(P.properties()[J.value])>=0}],"filter-in-large":[Ot,[wt,xn(qt)],function(P,V){var J=V[0],fe=V[1];return function(Ae,De,Ge,it){for(;Ge<=it;){var mt=Ge+it>>1;if(De[mt]===Ae)return!0;De[mt]>Ae?it=mt-1:Ge=mt+1}return!1}(P.properties()[J.value],fe.value,0,fe.value.length-1)}],all:{type:Ot,overloads:[[[Ot,Ot],function(P,V){var J=V[0],fe=V[1];return J.evaluate(P)&&fe.evaluate(P)}],[Xl(Ot),function(P,V){for(var J=0,fe=V;J0&&typeof P[0]=="string"&&P[0]in Eu}function lc(P,V){var J=new pr(Eu,[],V?function(Ae){var De={color:Nt,string:wt,number:Pt,enum:wt,boolean:Ot,formatted:Qt,resolvedImage:rn};return Ae.type==="array"?xn(De[Ae.value]||qt,Ae.length):De[Ae.type]}(V):void 0),fe=J.parse(P,void 0,void 0,void 0,V&&V.type==="string"?{typeAnnotation:"coerce"}:void 0);return fe?jc(new sc(fe,V)):Ll(J.errors)}sc.prototype.evaluateWithoutErrorHandling=function(P,V,J,fe,Ae,De){return this._evaluator.globals=P,this._evaluator.feature=V,this._evaluator.featureState=J,this._evaluator.canonical=fe,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=De,this.expression.evaluate(this._evaluator)},sc.prototype.evaluate=function(P,V,J,fe,Ae,De){this._evaluator.globals=P,this._evaluator.feature=V||null,this._evaluator.featureState=J||null,this._evaluator.canonical=fe,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=De||null;try{var Ge=this.expression.evaluate(this._evaluator);if(Ge==null||typeof Ge=="number"&&Ge!=Ge)return this._defaultValue;if(this._enumValues&&!(Ge in this._enumValues))throw new or("Expected value to be one of "+Object.keys(this._enumValues).map(function(it){return JSON.stringify(it)}).join(", ")+", but found "+JSON.stringify(Ge)+" instead.");return Ge}catch(it){return this._warningHistory[it.message]||(this._warningHistory[it.message]=!0,typeof console<"u"&&console.warn(it.message)),this._defaultValue}};var Ql=function(P,V){this.kind=P,this._styleExpression=V,this.isStateDependent=P!=="constant"&&!hr(V.expression)};Ql.prototype.evaluateWithoutErrorHandling=function(P,V,J,fe,Ae,De){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,fe,Ae,De)},Ql.prototype.evaluate=function(P,V,J,fe,Ae,De){return this._styleExpression.evaluate(P,V,J,fe,Ae,De)};var eu=function(P,V,J,fe){this.kind=P,this.zoomStops=J,this._styleExpression=V,this.isStateDependent=P!=="camera"&&!hr(V.expression),this.interpolationType=fe};function Pu(P,V){if((P=lc(P,V)).result==="error")return P;var J=P.value.expression,fe=Qn(J);if(!fe&&!Lu(V))return Ll([new It("","data expressions not supported")]);var Ae=fr(J,["zoom"]);if(!Ae&&!Kl(V))return Ll([new It("","zoom expressions not supported")]);var De=cc(J);if(!De&&!Ae)return Ll([new It("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(De instanceof It)return Ll([De]);if(De instanceof Za&&!cl(V))return Ll([new It("",'"interpolate" expressions cannot be used with this property')]);if(!De)return jc(new Ql(fe?"constant":"source",P.value));var Ge=De instanceof Za?De.interpolation:void 0;return jc(new eu(fe?"camera":"composite",P.value,De.labels,Ge))}eu.prototype.evaluateWithoutErrorHandling=function(P,V,J,fe,Ae,De){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,fe,Ae,De)},eu.prototype.evaluate=function(P,V,J,fe,Ae,De){return this._styleExpression.evaluate(P,V,J,fe,Ae,De)},eu.prototype.interpolationFactor=function(P,V,J){return this.interpolationType?Za.interpolationFactor(this.interpolationType,P,V,J):0};var uc=function(P,V){this._parameters=P,this._specification=V,ut(this,Uc(this._parameters,this._specification))};function cc(P){var V=null;if(P instanceof us)V=cc(P.result);else if(P instanceof Ko)for(var J=0,fe=P.args;Jfe.maximum?[new Ne(V,J,J+" is greater than the maximum value "+fe.maximum)]:[]}function Sf(P){var V,J,fe,Ae=P.valueSpec,De=pt(P.value.type),Ge={},it=De!=="categorical"&&P.value.property===void 0,mt=!it,Ct=qi(P.value.stops)==="array"&&qi(P.value.stops[0])==="array"&&qi(P.value.stops[0][0])==="object",Rt=ys({key:P.key,value:P.value,valueSpec:P.styleSpec.function,style:P.style,styleSpec:P.styleSpec,objectElementValidators:{stops:function(Yt){if(De==="identity")return[new Ne(Yt.key,Yt.value,'identity function may not have a "stops" property')];var hn=[],Mn=Yt.value;return hn=hn.concat(fc({key:Yt.key,value:Mn,valueSpec:Yt.valueSpec,style:Yt.style,styleSpec:Yt.styleSpec,arrayElementValidator:Gt})),qi(Mn)==="array"&&Mn.length===0&&hn.push(new Ne(Yt.key,Mn,"array must have at least one stop")),hn},default:function(Yt){return va({key:Yt.key,value:Yt.value,valueSpec:Ae,style:Yt.style,styleSpec:Yt.styleSpec})}}});return De==="identity"&&it&&Rt.push(new Ne(P.key,P.value,'missing required property "property"')),De==="identity"||P.value.stops||Rt.push(new Ne(P.key,P.value,'missing required property "stops"')),De==="exponential"&&P.valueSpec.expression&&!cl(P.valueSpec)&&Rt.push(new Ne(P.key,P.value,"exponential functions not supported")),P.styleSpec.$version>=8&&(mt&&!Lu(P.valueSpec)?Rt.push(new Ne(P.key,P.value,"property functions not supported")):it&&!Kl(P.valueSpec)&&Rt.push(new Ne(P.key,P.value,"zoom functions not supported"))),De!=="categorical"&&!Ct||P.value.property!==void 0||Rt.push(new Ne(P.key,P.value,'"property" property is required')),Rt;function Gt(Yt){var hn=[],Mn=Yt.value,Nn=Yt.key;if(qi(Mn)!=="array")return[new Ne(Nn,Mn,"array expected, "+qi(Mn)+" found")];if(Mn.length!==2)return[new Ne(Nn,Mn,"array length 2 expected, length "+Mn.length+" found")];if(Ct){if(qi(Mn[0])!=="object")return[new Ne(Nn,Mn,"object expected, "+qi(Mn[0])+" found")];if(Mn[0].zoom===void 0)return[new Ne(Nn,Mn,"object stop key must have zoom")];if(Mn[0].value===void 0)return[new Ne(Nn,Mn,"object stop key must have value")];if(fe&&fe>pt(Mn[0].zoom))return[new Ne(Nn,Mn[0].zoom,"stop zoom values must appear in ascending order")];pt(Mn[0].zoom)!==fe&&(fe=pt(Mn[0].zoom),J=void 0,Ge={}),hn=hn.concat(ys({key:Nn+"[0]",value:Mn[0],valueSpec:{zoom:{}},style:Yt.style,styleSpec:Yt.styleSpec,objectElementValidators:{zoom:hc,value:Zt}}))}else hn=hn.concat(Zt({key:Nn+"[0]",value:Mn[0],valueSpec:{},style:Yt.style,styleSpec:Yt.styleSpec},Mn));return Ou(_t(Mn[1]))?hn.concat([new Ne(Nn+"[1]",Mn[1],"expressions are not allowed in function stops.")]):hn.concat(va({key:Nn+"[1]",value:Mn[1],valueSpec:Ae,style:Yt.style,styleSpec:Yt.styleSpec}))}function Zt(Yt,hn){var Mn=qi(Yt.value),Nn=pt(Yt.value),Bn=Yt.value!==null?Yt.value:hn;if(V){if(Mn!==V)return[new Ne(Yt.key,Bn,Mn+" stop domain type must match previous stop domain type "+V)]}else V=Mn;if(Mn!=="number"&&Mn!=="string"&&Mn!=="boolean")return[new Ne(Yt.key,Bn,"stop domain value must be a number, string, or boolean")];if(Mn!=="number"&&De!=="categorical"){var $n="number expected, "+Mn+" found";return Lu(Ae)&&De===void 0&&($n+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ne(Yt.key,Bn,$n)]}return De!=="categorical"||Mn!=="number"||isFinite(Nn)&&Math.floor(Nn)===Nn?De!=="categorical"&&Mn==="number"&&J!==void 0&&Nn=2&&P[1]!=="$id"&&P[1]!=="$type";case"in":return P.length>=3&&(typeof P[1]!="string"||Array.isArray(P[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return P.length!==3||Array.isArray(P[1])||Array.isArray(P[2]);case"any":case"all":for(var V=0,J=P.slice(1);VV?1:0}function tu(P){if(!Array.isArray(P))return!1;if(P[0]==="within")return!0;for(var V=1;V"||J==="<="||J===">="?ea(P[1],P[2],J):J==="any"?(V=P.slice(1),["any"].concat(V.map(nu))):J==="all"?["all"].concat(P.slice(1).map(nu)):J==="none"?["all"].concat(P.slice(1).map(nu).map(mo)):J==="in"?Pl(P[1],P.slice(2)):J==="!in"?mo(Pl(P[1],P.slice(2))):J==="has"?Dl(P[1]):J==="!has"?mo(Dl(P[1])):J!=="within"||P}function ea(P,V,J){switch(P){case"$type":return["filter-type-"+J,V];case"$id":return["filter-id-"+J,V];default:return["filter-"+J,P,V]}}function Pl(P,V){if(V.length===0)return!1;switch(P){case"$type":return["filter-type-in",["literal",V]];case"$id":return["filter-id-in",["literal",V]];default:return V.length>200&&!V.some(function(J){return typeof J!=typeof V[0]})?["filter-in-large",P,["literal",V.sort(Du)]]:["filter-in-small",P,["literal",V]]}}function Dl(P){switch(P){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",P]}}function mo(P){return["!",P]}function Fi(P){return dc(_t(P.value))?Ol(ut({},P,{expressionContext:"filter",valueSpec:{value:"boolean"}})):ji(P)}function ji(P){var V=P.value,J=P.key;if(qi(V)!=="array")return[new Ne(J,V,"array expected, "+qi(V)+" found")];var fe,Ae=P.styleSpec,De=[];if(V.length<1)return[new Ne(J,V,"filter array must have at least 1 element")];switch(De=De.concat(Hc({key:J+"[0]",value:V[0],valueSpec:Ae.filter_operator,style:P.style,styleSpec:P.styleSpec})),pt(V[0])){case"<":case"<=":case">":case">=":V.length>=2&&pt(V[1])==="$type"&&De.push(new Ne(J,V,'"$type" cannot be use with operator "'+V[0]+'"'));case"==":case"!=":V.length!==3&&De.push(new Ne(J,V,'filter array for operator "'+V[0]+'" must have 3 elements'));case"in":case"!in":V.length>=2&&(fe=qi(V[1]))!=="string"&&De.push(new Ne(J+"[1]",V[1],"string expected, "+fe+" found"));for(var Ge=2;Ge=Rt[Yt+0]&&fe>=Rt[Yt+1])?(Ge[Zt]=!0,De.push(Ct[Zt])):Ge[Zt]=!1}}},Jo.prototype._forEachCell=function(P,V,J,fe,Ae,De,Ge,it){for(var mt=this._convertToCellCoord(P),Ct=this._convertToCellCoord(V),Rt=this._convertToCellCoord(J),Gt=this._convertToCellCoord(fe),Zt=mt;Zt<=Rt;Zt++)for(var Yt=Ct;Yt<=Gt;Yt++){var hn=this.d*Yt+Zt;if((!it||it(this._convertFromCellCoord(Zt),this._convertFromCellCoord(Yt),this._convertFromCellCoord(Zt+1),this._convertFromCellCoord(Yt+1)))&&Ae.call(this,P,V,J,fe,hn,De,Ge,it))return}},Jo.prototype._convertFromCellCoord=function(P){return(P-this.padding)/this.scale},Jo.prototype._convertToCellCoord=function(P){return Math.max(0,Math.min(this.d-1,Math.floor(P*this.scale)+this.padding))},Jo.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var P=this.cells,V=3+this.cells.length+1+1,J=0,fe=0;fe=0)){var Gt=P[Rt];Ct[Rt]=Po[mt].shallow.indexOf(Rt)>=0?Gt:Ru(Gt,V)}P instanceof Error&&(Ct.message=P.message)}if(Ct.$name)throw new Error("$name property is reserved for worker serialization logic.");return mt!=="Object"&&(Ct.$name=mt),Ct}throw new Error("can't serialize object of type "+typeof P)}function zu(P){if(P==null||typeof P=="boolean"||typeof P=="number"||typeof P=="string"||P instanceof Boolean||P instanceof Number||P instanceof String||P instanceof Date||P instanceof RegExp||jo(P)||$c(P)||ArrayBuffer.isView(P)||P instanceof Wc)return P;if(Array.isArray(P))return P.map(zu);if(typeof P=="object"){var V=P.$name||"Object",J=Po[V].klass;if(!J)throw new Error("can't deserialize unregistered class "+V);if(J.deserialize)return J.deserialize(P);for(var fe=Object.create(J.prototype),Ae=0,De=Object.keys(P);Ae=0?it:zu(it)}}return fe}throw new Error("can't deserialize object of type "+typeof P)}var Fu=function(){this.first=!0};Fu.prototype.update=function(P,V){var J=Math.floor(P);return this.first?(this.first=!1,this.lastIntegerZoom=J,this.lastIntegerZoomTime=0,this.lastZoom=P,this.lastFloorZoom=J,!0):(this.lastFloorZoom>J?(this.lastIntegerZoom=J+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&P<=255},Arabic:function(P){return P>=1536&&P<=1791},"Arabic Supplement":function(P){return P>=1872&&P<=1919},"Arabic Extended-A":function(P){return P>=2208&&P<=2303},"Hangul Jamo":function(P){return P>=4352&&P<=4607},"Unified Canadian Aboriginal Syllabics":function(P){return P>=5120&&P<=5759},Khmer:function(P){return P>=6016&&P<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(P){return P>=6320&&P<=6399},"General Punctuation":function(P){return P>=8192&&P<=8303},"Letterlike Symbols":function(P){return P>=8448&&P<=8527},"Number Forms":function(P){return P>=8528&&P<=8591},"Miscellaneous Technical":function(P){return P>=8960&&P<=9215},"Control Pictures":function(P){return P>=9216&&P<=9279},"Optical Character Recognition":function(P){return P>=9280&&P<=9311},"Enclosed Alphanumerics":function(P){return P>=9312&&P<=9471},"Geometric Shapes":function(P){return P>=9632&&P<=9727},"Miscellaneous Symbols":function(P){return P>=9728&&P<=9983},"Miscellaneous Symbols and Arrows":function(P){return P>=11008&&P<=11263},"CJK Radicals Supplement":function(P){return P>=11904&&P<=12031},"Kangxi Radicals":function(P){return P>=12032&&P<=12255},"Ideographic Description Characters":function(P){return P>=12272&&P<=12287},"CJK Symbols and Punctuation":function(P){return P>=12288&&P<=12351},Hiragana:function(P){return P>=12352&&P<=12447},Katakana:function(P){return P>=12448&&P<=12543},Bopomofo:function(P){return P>=12544&&P<=12591},"Hangul Compatibility Jamo":function(P){return P>=12592&&P<=12687},Kanbun:function(P){return P>=12688&&P<=12703},"Bopomofo Extended":function(P){return P>=12704&&P<=12735},"CJK Strokes":function(P){return P>=12736&&P<=12783},"Katakana Phonetic Extensions":function(P){return P>=12784&&P<=12799},"Enclosed CJK Letters and Months":function(P){return P>=12800&&P<=13055},"CJK Compatibility":function(P){return P>=13056&&P<=13311},"CJK Unified Ideographs Extension A":function(P){return P>=13312&&P<=19903},"Yijing Hexagram Symbols":function(P){return P>=19904&&P<=19967},"CJK Unified Ideographs":function(P){return P>=19968&&P<=40959},"Yi Syllables":function(P){return P>=40960&&P<=42127},"Yi Radicals":function(P){return P>=42128&&P<=42191},"Hangul Jamo Extended-A":function(P){return P>=43360&&P<=43391},"Hangul Syllables":function(P){return P>=44032&&P<=55215},"Hangul Jamo Extended-B":function(P){return P>=55216&&P<=55295},"Private Use Area":function(P){return P>=57344&&P<=63743},"CJK Compatibility Ideographs":function(P){return P>=63744&&P<=64255},"Arabic Presentation Forms-A":function(P){return P>=64336&&P<=65023},"Vertical Forms":function(P){return P>=65040&&P<=65055},"CJK Compatibility Forms":function(P){return P>=65072&&P<=65103},"Small Form Variants":function(P){return P>=65104&&P<=65135},"Arabic Presentation Forms-B":function(P){return P>=65136&&P<=65279},"Halfwidth and Fullwidth Forms":function(P){return P>=65280&&P<=65519}};function Bu(P){for(var V=0,J=P;V=65097&&P<=65103)||Ur["CJK Compatibility Ideographs"](P)||Ur["CJK Compatibility"](P)||Ur["CJK Radicals Supplement"](P)||Ur["CJK Strokes"](P)||!(!Ur["CJK Symbols and Punctuation"](P)||P>=12296&&P<=12305||P>=12308&&P<=12319||P===12336)||Ur["CJK Unified Ideographs Extension A"](P)||Ur["CJK Unified Ideographs"](P)||Ur["Enclosed CJK Letters and Months"](P)||Ur["Hangul Compatibility Jamo"](P)||Ur["Hangul Jamo Extended-A"](P)||Ur["Hangul Jamo Extended-B"](P)||Ur["Hangul Jamo"](P)||Ur["Hangul Syllables"](P)||Ur.Hiragana(P)||Ur["Ideographic Description Characters"](P)||Ur.Kanbun(P)||Ur["Kangxi Radicals"](P)||Ur["Katakana Phonetic Extensions"](P)||Ur.Katakana(P)&&P!==12540||!(!Ur["Halfwidth and Fullwidth Forms"](P)||P===65288||P===65289||P===65293||P>=65306&&P<=65310||P===65339||P===65341||P===65343||P>=65371&&P<=65503||P===65507||P>=65512&&P<=65519)||!(!Ur["Small Form Variants"](P)||P>=65112&&P<=65118||P>=65123&&P<=65126)||Ur["Unified Canadian Aboriginal Syllabics"](P)||Ur["Unified Canadian Aboriginal Syllabics Extended"](P)||Ur["Vertical Forms"](P)||Ur["Yijing Hexagram Symbols"](P)||Ur["Yi Syllables"](P)||Ur["Yi Radicals"](P))))}function Yc(P){return!(xs(P)||function(V){return!!(Ur["Latin-1 Supplement"](V)&&(V===167||V===169||V===174||V===177||V===188||V===189||V===190||V===215||V===247)||Ur["General Punctuation"](V)&&(V===8214||V===8224||V===8225||V===8240||V===8241||V===8251||V===8252||V===8258||V===8263||V===8264||V===8265||V===8273)||Ur["Letterlike Symbols"](V)||Ur["Number Forms"](V)||Ur["Miscellaneous Technical"](V)&&(V>=8960&&V<=8967||V>=8972&&V<=8991||V>=8996&&V<=9e3||V===9003||V>=9085&&V<=9114||V>=9150&&V<=9165||V===9167||V>=9169&&V<=9179||V>=9186&&V<=9215)||Ur["Control Pictures"](V)&&V!==9251||Ur["Optical Character Recognition"](V)||Ur["Enclosed Alphanumerics"](V)||Ur["Geometric Shapes"](V)||Ur["Miscellaneous Symbols"](V)&&!(V>=9754&&V<=9759)||Ur["Miscellaneous Symbols and Arrows"](V)&&(V>=11026&&V<=11055||V>=11088&&V<=11097||V>=11192&&V<=11243)||Ur["CJK Symbols and Punctuation"](V)||Ur.Katakana(V)||Ur["Private Use Area"](V)||Ur["CJK Compatibility Forms"](V)||Ur["Small Form Variants"](V)||Ur["Halfwidth and Fullwidth Forms"](V)||V===8734||V===8756||V===8757||V>=9984&&V<=10087||V>=10102&&V<=10131||V===65532||V===65533)}(P))}function mc(P){return Ur.Arabic(P)||Ur["Arabic Supplement"](P)||Ur["Arabic Extended-A"](P)||Ur["Arabic Presentation Forms-A"](P)||Ur["Arabic Presentation Forms-B"](P)}function yo(P){return P>=1424&&P<=2303||Ur["Arabic Presentation Forms-A"](P)||Ur["Arabic Presentation Forms-B"](P)}function lu(P,V){return!(!V&&yo(P)||P>=2304&&P<=3583||P>=3840&&P<=4255||Ur.Khmer(P))}function dl(P){for(var V=0,J=P;V-1&&(bo=_s),uu&&uu(P)};function gc(){cs.fire(new We("pluginStateChange",{pluginStatus:bo,pluginURL:ws}))}var cs=new ht,Ts=function(){return bo},Zs=function(){if(bo!==Qo||!ws)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");bo=zl,gc(),ws&&Ft({url:ws},function(P){P?Ki(P):(bo=Os,gc())})},Uo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return bo===Os||Uo.applyArabicShaping!=null},isLoading:function(){return bo===zl},setState:function(P){bo=P.pluginStatus,ws=P.pluginURL},isParsed:function(){return Uo.applyArabicShaping!=null&&Uo.processBidirectionalText!=null&&Uo.processStyledBidirectionalText!=null},getPluginURL:function(){return ws}},Yi=function(P,V){this.zoom=P,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Fu,this.transition={})};Yi.prototype.isSupportedScript=function(P){return function(V,J){for(var fe=0,Ae=V;fethis.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*J}:{fromScale:.5,toScale:1,t:1-(1-J)*V}};var io=function(P,V){this.property=P,this.value=V,this.expression=function(J,fe){if(Il(J))return new uc(J,fe);if(Ou(J)){var Ae=Pu(J,fe);if(Ae.result==="error")throw new Error(Ae.value.map(function(Ge){return Ge.key+": "+Ge.message}).join(", "));return Ae.value}var De=J;return typeof J=="string"&&fe.type==="color"&&(De=pn.parse(J)),{kind:"constant",evaluate:function(){return De}}}(V===void 0?P.specification.default:V,P.specification)};io.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},io.prototype.possiblyEvaluate=function(P,V,J){return this.property.possiblyEvaluate(this,P,V,J)};var Ps=function(P){this.property=P,this.value=new io(P,void 0)};Ps.prototype.transitioned=function(P,V){return new Xs(this.property,this.value,V,m({},P.transition,this.transition),P.now)},Ps.prototype.untransitioned=function(){return new Xs(this.property,this.value,null,{},0)};var Ho=function(P){this._properties=P,this._values=Object.create(P.defaultTransitionablePropertyValues)};Ho.prototype.getValue=function(P){return L(this._values[P].value.value)},Ho.prototype.setValue=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Ps(this._values[P].property)),this._values[P].value=new io(this._values[P].property,V===null?void 0:L(V))},Ho.prototype.getTransition=function(P){return L(this._values[P].transition)},Ho.prototype.setTransition=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Ps(this._values[P].property)),this._values[P].transition=L(V)||void 0},Ho.prototype.serialize=function(){for(var P={},V=0,J=Object.keys(this._values);Vthis.end)return this.prior=null,Ae;if(this.value.isDataDriven())return this.prior=null,Ae;if(fe=1)return 1;var mt=it*it,Ct=mt*it;return 4*(it<.5?Ct:3*(it-mt)+Ct-.75)}(Ge))}return Ae};var Fl=function(P){this._properties=P,this._values=Object.create(P.defaultTransitioningPropertyValues)};Fl.prototype.possiblyEvaluate=function(P,V,J){for(var fe=new ks(this._properties),Ae=0,De=Object.keys(this._values);AeDe.zoomHistory.lastIntegerZoom?{from:J,to:fe}:{from:Ae,to:fe}},V.prototype.interpolate=function(J){return J},V}(oi),ml=function(P){this.specification=P};ml.prototype.possiblyEvaluate=function(P,V,J,fe){if(P.value!==void 0){if(P.expression.kind==="constant"){var Ae=P.expression.evaluate(V,null,{},J,fe);return this._calculate(Ae,Ae,Ae,V)}return this._calculate(P.expression.evaluate(new Yi(Math.floor(V.zoom-1),V)),P.expression.evaluate(new Yi(Math.floor(V.zoom),V)),P.expression.evaluate(new Yi(Math.floor(V.zoom+1),V)),V)}},ml.prototype._calculate=function(P,V,J,fe){return fe.zoom>fe.zoomHistory.lastIntegerZoom?{from:P,to:V}:{from:J,to:V}},ml.prototype.interpolate=function(P){return P};var Ds=function(P){this.specification=P};Ds.prototype.possiblyEvaluate=function(P,V,J,fe){return!!P.expression.evaluate(V,null,{},J,fe)},Ds.prototype.interpolate=function(){return!1};var _o=function(P){for(var V in this.properties=P,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],P){var J=P[V];J.specification.overridable&&this.overridableProperties.push(V);var fe=this.defaultPropertyValues[V]=new io(J,void 0),Ae=this.defaultTransitionablePropertyValues[V]=new Ps(J);this.defaultTransitioningPropertyValues[V]=Ae.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=fe.possiblyEvaluate({})}};Br("DataDrivenProperty",oi),Br("DataConstantProperty",$r),Br("CrossFadedDataDrivenProperty",Nu),Br("CrossFadedProperty",ml),Br("ColorRampProperty",Ds);var Zc="-transition",Go=function(P){function V(J,fe){if(P.call(this),this.id=J.id,this.type=J.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},J.type!=="custom"&&(this.metadata=J.metadata,this.minzoom=J.minzoom,this.maxzoom=J.maxzoom,J.type!=="background"&&(this.source=J.source,this.sourceLayer=J["source-layer"],this.filter=J.filter),fe.layout&&(this._unevaluatedLayout=new pl(fe.layout)),fe.paint)){for(var Ae in this._transitionablePaint=new Ho(fe.paint),J.paint)this.setPaintProperty(Ae,J.paint[Ae],{validate:!1});for(var De in J.layout)this.setLayoutProperty(De,J.layout[De],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new ks(fe.paint)}}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},V.prototype.getLayoutProperty=function(J){return J==="visibility"?this.visibility:this._unevaluatedLayout.getValue(J)},V.prototype.setLayoutProperty=function(J,fe,Ae){if(Ae===void 0&&(Ae={}),fe!=null){var De="layers."+this.id+".layout."+J;if(this._validate(Rl,De,J,fe,Ae))return}J!=="visibility"?this._unevaluatedLayout.setValue(J,fe):this.visibility=fe},V.prototype.getPaintProperty=function(J){return E(J,Zc)?this._transitionablePaint.getTransition(J.slice(0,-Zc.length)):this._transitionablePaint.getValue(J)},V.prototype.setPaintProperty=function(J,fe,Ae){if(Ae===void 0&&(Ae={}),fe!=null){var De="layers."+this.id+".paint."+J;if(this._validate(Vo,De,J,fe,Ae))return!1}if(E(J,Zc))return this._transitionablePaint.setTransition(J.slice(0,-Zc.length),fe||void 0),!1;var Ge=this._transitionablePaint._values[J],it=Ge.property.specification["property-type"]==="cross-faded-data-driven",mt=Ge.value.isDataDriven(),Ct=Ge.value;this._transitionablePaint.setValue(J,fe),this._handleSpecialPaintPropertyUpdate(J);var Rt=this._transitionablePaint._values[J].value;return Rt.isDataDriven()||mt||it||this._handleOverridablePaintPropertyUpdate(J,Ct,Rt)},V.prototype._handleSpecialPaintPropertyUpdate=function(J){},V.prototype._handleOverridablePaintPropertyUpdate=function(J,fe,Ae){return!1},V.prototype.isHidden=function(J){return!!(this.minzoom&&J=this.maxzoom)||this.visibility==="none"},V.prototype.updateTransitions=function(J){this._transitioningPaint=this._transitionablePaint.transitioned(J,this._transitioningPaint)},V.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},V.prototype.recalculate=function(J,fe){J.getCrossfadeParameters&&(this._crossfadeParameters=J.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(J,void 0,fe)),this.paint=this._transitioningPaint.possiblyEvaluate(J,void 0,fe)},V.prototype.serialize=function(){var J={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&&(J.layout=J.layout||{},J.layout.visibility=this.visibility),A(J,function(fe,Ae){return!(fe===void 0||Ae==="layout"&&!Object.keys(fe).length||Ae==="paint"&&!Object.keys(fe).length)})},V.prototype._validate=function(J,fe,Ae,De,Ge){return Ge===void 0&&(Ge={}),(!Ge||Ge.validate!==!1)&&bs(this,J.call(vo,{key:fe,layerType:this.type,objectKey:Ae,value:De,styleSpec:Oe,style:{glyphs:!0,sprite:!0}}))},V.prototype.is3D=function(){return!1},V.prototype.isTileClipped=function(){return!1},V.prototype.hasOffscreenPass=function(){return!1},V.prototype.resize=function(){},V.prototype.isStateDependent=function(){for(var J in this.paint._values){var fe=this.paint.get(J);if(fe instanceof xo&&Lu(fe.property.specification)&&(fe.value.kind==="source"||fe.value.kind==="composite")&&fe.value.isStateDependent)return!0}return!1},V}(ht),Vu={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},vl=function(P,V){this._structArray=P,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},ta=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function ua(P,V){V===void 0&&(V=1);var J=0,fe=0;return{members:P.map(function(Ae){var De,Ge=(De=Ae.type,Vu[De].BYTES_PER_ELEMENT),it=J=Xc(J,Math.max(V,Ge)),mt=Ae.components||1;return fe=Math.max(fe,Ge),J+=Ge*mt,{name:Ae.name,type:Ae.type,components:mt,offset:it}}),size:Xc(J,Math.max(fe,V)),alignment:V}}function Xc(P,V){return Math.ceil(P/V)*V}ta.serialize=function(P,V){return P._trim(),V&&(P.isTransferred=!0,V.push(P.arrayBuffer)),{length:P.length,arrayBuffer:P.arrayBuffer}},ta.deserialize=function(P){var V=Object.create(this.prototype);return V.arrayBuffer=P.arrayBuffer,V.length=P.length,V.capacity=P.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},ta.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},ta.prototype.clear=function(){this.length=0},ta.prototype.resize=function(P){this.reserve(P),this.length=P},ta.prototype.reserve=function(P){if(P>this.capacity){this.capacity=Math.max(P,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},ta.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var et=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,fe)},V.prototype.emplace=function(J,fe,Ae){var De=2*J;return this.int16[De+0]=fe,this.int16[De+1]=Ae,J},V}(ta);et.prototype.bytesPerElement=4,Br("StructArrayLayout2i4",et);var rt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,fe,Ae,De)},V.prototype.emplace=function(J,fe,Ae,De,Ge){var it=4*J;return this.int16[it+0]=fe,this.int16[it+1]=Ae,this.int16[it+2]=De,this.int16[it+3]=Ge,J},V}(ta);rt.prototype.bytesPerElement=8,Br("StructArrayLayout4i8",rt);var ct=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it){var mt=this.length;return this.resize(mt+1),this.emplace(mt,J,fe,Ae,De,Ge,it)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt){var Ct=6*J;return this.int16[Ct+0]=fe,this.int16[Ct+1]=Ae,this.int16[Ct+2]=De,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=mt,J},V}(ta);ct.prototype.bytesPerElement=12,Br("StructArrayLayout2i4i12",ct);var vt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it){var mt=this.length;return this.resize(mt+1),this.emplace(mt,J,fe,Ae,De,Ge,it)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt){var Ct=4*J,Rt=8*J;return this.int16[Ct+0]=fe,this.int16[Ct+1]=Ae,this.uint8[Rt+4]=De,this.uint8[Rt+5]=Ge,this.uint8[Rt+6]=it,this.uint8[Rt+7]=mt,J},V}(ta);vt.prototype.bytesPerElement=8,Br("StructArrayLayout2i4ub8",vt);var St=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt){var Zt=this.length;return this.resize(Zt+1),this.emplace(Zt,J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt){var Yt=9*J,hn=18*J;return this.uint16[Yt+0]=fe,this.uint16[Yt+1]=Ae,this.uint16[Yt+2]=De,this.uint16[Yt+3]=Ge,this.uint16[Yt+4]=it,this.uint16[Yt+5]=mt,this.uint16[Yt+6]=Ct,this.uint16[Yt+7]=Rt,this.uint8[hn+16]=Gt,this.uint8[hn+17]=Zt,J},V}(ta);St.prototype.bytesPerElement=18,Br("StructArrayLayout8ui2ub18",St);var Mt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt){var hn=this.length;return this.resize(hn+1),this.emplace(hn,J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn){var Mn=12*J;return this.int16[Mn+0]=fe,this.int16[Mn+1]=Ae,this.int16[Mn+2]=De,this.int16[Mn+3]=Ge,this.uint16[Mn+4]=it,this.uint16[Mn+5]=mt,this.uint16[Mn+6]=Ct,this.uint16[Mn+7]=Rt,this.int16[Mn+8]=Gt,this.int16[Mn+9]=Zt,this.int16[Mn+10]=Yt,this.int16[Mn+11]=hn,J},V}(ta);Mt.prototype.bytesPerElement=24,Br("StructArrayLayout4i4ui4i24",Mt);var $=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var De=this.length;return this.resize(De+1),this.emplace(De,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,De){var Ge=3*J;return this.float32[Ge+0]=fe,this.float32[Ge+1]=Ae,this.float32[Ge+2]=De,J},V}(ta);$.prototype.bytesPerElement=12,Br("StructArrayLayout3f12",$);var ee=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var fe=this.length;return this.resize(fe+1),this.emplace(fe,J)},V.prototype.emplace=function(J,fe){var Ae=1*J;return this.uint32[Ae+0]=fe,J},V}(ta);ee.prototype.bytesPerElement=4,Br("StructArrayLayout1ul4",ee);var K=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.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)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt){var Gt=this.length;return this.resize(Gt+1),this.emplace(Gt,J,fe,Ae,De,Ge,it,mt,Ct,Rt)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt){var Zt=10*J,Yt=5*J;return this.int16[Zt+0]=fe,this.int16[Zt+1]=Ae,this.int16[Zt+2]=De,this.int16[Zt+3]=Ge,this.int16[Zt+4]=it,this.int16[Zt+5]=mt,this.uint32[Yt+3]=Ct,this.uint16[Zt+8]=Rt,this.uint16[Zt+9]=Gt,J},V}(ta);K.prototype.bytesPerElement=20,Br("StructArrayLayout6i1ul2ui20",K);var le=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it){var mt=this.length;return this.resize(mt+1),this.emplace(mt,J,fe,Ae,De,Ge,it)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt){var Ct=6*J;return this.int16[Ct+0]=fe,this.int16[Ct+1]=Ae,this.int16[Ct+2]=De,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=mt,J},V}(ta);le.prototype.bytesPerElement=12,Br("StructArrayLayout2i2i2i12",le);var Te=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge){var it=this.length;return this.resize(it+1),this.emplace(it,J,fe,Ae,De,Ge)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it){var mt=4*J,Ct=8*J;return this.float32[mt+0]=fe,this.float32[mt+1]=Ae,this.float32[mt+2]=De,this.int16[Ct+6]=Ge,this.int16[Ct+7]=it,J},V}(ta);Te.prototype.bytesPerElement=16,Br("StructArrayLayout2f1f2i16",Te);var Re=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,fe,Ae,De)},V.prototype.emplace=function(J,fe,Ae,De,Ge){var it=12*J,mt=3*J;return this.uint8[it+0]=fe,this.uint8[it+1]=Ae,this.float32[mt+1]=De,this.float32[mt+2]=Ge,J},V}(ta);Re.prototype.bytesPerElement=12,Br("StructArrayLayout2ub2f12",Re);var He=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var De=this.length;return this.resize(De+1),this.emplace(De,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,De){var Ge=3*J;return this.uint16[Ge+0]=fe,this.uint16[Ge+1]=Ae,this.uint16[Ge+2]=De,J},V}(ta);He.prototype.bytesPerElement=6,Br("StructArrayLayout3ui6",He);var Ze=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.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)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn,Mn,Nn,Bn,$n){var Xn=this.length;return this.resize(Xn+1),this.emplace(Xn,J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn,Mn,Nn,Bn,$n)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn,Mn,Nn,Bn,$n,Xn){var er=24*J,sr=12*J,dr=48*J;return this.int16[er+0]=fe,this.int16[er+1]=Ae,this.uint16[er+2]=De,this.uint16[er+3]=Ge,this.uint32[sr+2]=it,this.uint32[sr+3]=mt,this.uint32[sr+4]=Ct,this.uint16[er+10]=Rt,this.uint16[er+11]=Gt,this.uint16[er+12]=Zt,this.float32[sr+7]=Yt,this.float32[sr+8]=hn,this.uint8[dr+36]=Mn,this.uint8[dr+37]=Nn,this.uint8[dr+38]=Bn,this.uint32[sr+10]=$n,this.int16[er+22]=Xn,J},V}(ta);Ze.prototype.bytesPerElement=48,Br("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Ze);var at=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.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)},V.prototype.emplaceBack=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn,Mn,Nn,Bn,$n,Xn,er,sr,dr,zr,Ar,Hr,Qr,pi,ri,di){var si=this.length;return this.resize(si+1),this.emplace(si,J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn,Mn,Nn,Bn,$n,Xn,er,sr,dr,zr,Ar,Hr,Qr,pi,ri,di)},V.prototype.emplace=function(J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn,Mn,Nn,Bn,$n,Xn,er,sr,dr,zr,Ar,Hr,Qr,pi,ri,di,si){var ti=34*J,Bi=17*J;return this.int16[ti+0]=fe,this.int16[ti+1]=Ae,this.int16[ti+2]=De,this.int16[ti+3]=Ge,this.int16[ti+4]=it,this.int16[ti+5]=mt,this.int16[ti+6]=Ct,this.int16[ti+7]=Rt,this.uint16[ti+8]=Gt,this.uint16[ti+9]=Zt,this.uint16[ti+10]=Yt,this.uint16[ti+11]=hn,this.uint16[ti+12]=Mn,this.uint16[ti+13]=Nn,this.uint16[ti+14]=Bn,this.uint16[ti+15]=$n,this.uint16[ti+16]=Xn,this.uint16[ti+17]=er,this.uint16[ti+18]=sr,this.uint16[ti+19]=dr,this.uint16[ti+20]=zr,this.uint16[ti+21]=Ar,this.uint16[ti+22]=Hr,this.uint32[Bi+12]=Qr,this.float32[Bi+13]=pi,this.float32[Bi+14]=ri,this.float32[Bi+15]=di,this.float32[Bi+16]=si,J},V}(ta);at.prototype.bytesPerElement=68,Br("StructArrayLayout8i15ui1ul4f68",at);var Tt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var fe=this.length;return this.resize(fe+1),this.emplace(fe,J)},V.prototype.emplace=function(J,fe){var Ae=1*J;return this.float32[Ae+0]=fe,J},V}(ta);Tt.prototype.bytesPerElement=4,Br("StructArrayLayout1f4",Tt);var At=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var De=this.length;return this.resize(De+1),this.emplace(De,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,De){var Ge=3*J;return this.int16[Ge+0]=fe,this.int16[Ge+1]=Ae,this.int16[Ge+2]=De,J},V}(ta);At.prototype.bytesPerElement=6,Br("StructArrayLayout3i6",At);var se=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var De=this.length;return this.resize(De+1),this.emplace(De,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,De){var Ge=2*J,it=4*J;return this.uint32[Ge+0]=fe,this.uint16[it+2]=Ae,this.uint16[it+3]=De,J},V}(ta);se.prototype.bytesPerElement=8,Br("StructArrayLayout1ul2ui8",se);var ve=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,fe)},V.prototype.emplace=function(J,fe,Ae){var De=2*J;return this.uint16[De+0]=fe,this.uint16[De+1]=Ae,J},V}(ta);ve.prototype.bytesPerElement=4,Br("StructArrayLayout2ui4",ve);var Ie=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var fe=this.length;return this.resize(fe+1),this.emplace(fe,J)},V.prototype.emplace=function(J,fe){var Ae=1*J;return this.uint16[Ae+0]=fe,J},V}(ta);Ie.prototype.bytesPerElement=2,Br("StructArrayLayout1ui2",Ie);var Fe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,fe)},V.prototype.emplace=function(J,fe,Ae){var De=2*J;return this.float32[De+0]=fe,this.float32[De+1]=Ae,J},V}(ta);Fe.prototype.bytesPerElement=8,Br("StructArrayLayout2f8",Fe);var Ue=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,De){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,fe,Ae,De)},V.prototype.emplace=function(J,fe,Ae,De,Ge){var it=4*J;return this.float32[it+0]=fe,this.float32[it+1]=Ae,this.float32[it+2]=De,this.float32[it+3]=Ge,J},V}(ta);Ue.prototype.bytesPerElement=16,Br("StructArrayLayout4f16",Ue);var qe=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={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 J.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},J.x1.get=function(){return this._structArray.int16[this._pos2+2]},J.y1.get=function(){return this._structArray.int16[this._pos2+3]},J.x2.get=function(){return this._structArray.int16[this._pos2+4]},J.y2.get=function(){return this._structArray.int16[this._pos2+5]},J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.anchorPoint.get=function(){return new a(this.anchorPointX,this.anchorPointY)},Object.defineProperties(V.prototype,J),V}(vl);qe.prototype.size=20;var Xe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new qe(this,J)},V}(K);Br("CollisionBoxArray",Xe);var tt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={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 J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},J.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},J.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},J.segment.get=function(){return this._structArray.uint16[this._pos2+10]},J.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},J.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},J.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},J.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},J.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},J.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},J.placedOrientation.set=function(fe){this._structArray.uint8[this._pos1+37]=fe},J.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},J.hidden.set=function(fe){this._structArray.uint8[this._pos1+38]=fe},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},J.crossTileID.set=function(fe){this._structArray.uint32[this._pos4+10]=fe},J.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(V.prototype,J),V}(vl);tt.prototype.size=48;var lt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new tt(this,J)},V}(Ze);Br("PlacedSymbolArray",lt);var gt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={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 J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},J.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},J.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},J.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},J.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},J.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},J.key.get=function(){return this._structArray.uint16[this._pos2+8]},J.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},J.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},J.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},J.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},J.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},J.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},J.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},J.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},J.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},J.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},J.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},J.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},J.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},J.crossTileID.set=function(fe){this._structArray.uint32[this._pos4+12]=fe},J.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},J.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},J.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},J.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(V.prototype,J),V}(vl);gt.prototype.size=68;var zt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new gt(this,J)},V}(at);Br("SymbolInstanceArray",zt);var Ut=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getoffsetX=function(J){return this.float32[1*J+0]},V}(Tt);Br("GlyphOffsetArray",Ut);var Ht=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getx=function(J){return this.int16[3*J+0]},V.prototype.gety=function(J){return this.int16[3*J+1]},V.prototype.gettileUnitDistanceFromAnchor=function(J){return this.int16[3*J+2]},V}(At);Br("SymbolLineVertexArray",Ht);var en=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(V.prototype,J),V}(vl);en.prototype.size=8;var vn=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new en(this,J)},V}(se);Br("FeatureIndexArray",vn);var tn=ua([{name:"a_pos",components:2,type:"Int16"}],4).members,ln=function(P){P===void 0&&(P=[]),this.segments=P};function an(P,V){return 256*(P=h(Math.floor(P),0,255))+h(Math.floor(V),0,255)}ln.prototype.prepareSegment=function(P,V,J,fe){var Ae=this.segments[this.segments.length-1];return P>ln.MAX_VERTEX_ARRAY_LENGTH&&O("Max vertices per segment is "+ln.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+P),(!Ae||Ae.vertexLength+P>ln.MAX_VERTEX_ARRAY_LENGTH||Ae.sortKey!==fe)&&(Ae={vertexOffset:V.length,primitiveOffset:J.length,vertexLength:0,primitiveLength:0},fe!==void 0&&(Ae.sortKey=fe),this.segments.push(Ae)),Ae},ln.prototype.get=function(){return this.segments},ln.prototype.destroy=function(){for(var P=0,V=this.segments;P>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*mt+(((Ct>>>16)*mt&65535)<<16)&4294967295)<<13|De>>>19))+((5*(De>>>16)&65535)<<16)&4294967295))+((58964+(Ge>>>16)&65535)<<16);switch(Ct=0,fe){case 3:Ct^=(255&V.charCodeAt(Rt+2))<<16;case 2:Ct^=(255&V.charCodeAt(Rt+1))<<8;case 1:De^=Ct=(65535&(Ct=(Ct=(65535&(Ct^=255&V.charCodeAt(Rt)))*it+(((Ct>>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*mt+(((Ct>>>16)*mt&65535)<<16)&4294967295}return De^=V.length,De=2246822507*(65535&(De^=De>>>16))+((2246822507*(De>>>16)&65535)<<16)&4294967295,De=3266489909*(65535&(De^=De>>>13))+((3266489909*(De>>>16)&65535)<<16)&4294967295,(De^=De>>>16)>>>0}}),on=M(function(P){P.exports=function(V,J){for(var fe,Ae=V.length,De=J^Ae,Ge=0;Ae>=4;)fe=1540483477*(65535&(fe=255&V.charCodeAt(Ge)|(255&V.charCodeAt(++Ge))<<8|(255&V.charCodeAt(++Ge))<<16|(255&V.charCodeAt(++Ge))<<24))+((1540483477*(fe>>>16)&65535)<<16),De=1540483477*(65535&De)+((1540483477*(De>>>16)&65535)<<16)^(fe=1540483477*(65535&(fe^=fe>>>24))+((1540483477*(fe>>>16)&65535)<<16)),Ae-=4,++Ge;switch(Ae){case 3:De^=(255&V.charCodeAt(Ge+2))<<16;case 2:De^=(255&V.charCodeAt(Ge+1))<<8;case 1:De=1540483477*(65535&(De^=255&V.charCodeAt(Ge)))+((1540483477*(De>>>16)&65535)<<16)}return De=1540483477*(65535&(De^=De>>>13))+((1540483477*(De>>>16)&65535)<<16),(De^=De>>>15)>>>0}}),Fn=_n,Hn=_n,ir=on;Fn.murmur3=Hn,Fn.murmur2=ir;var ar=function(){this.ids=[],this.positions=[],this.indexed=!1};ar.prototype.add=function(P,V,J,fe){this.ids.push(Or(P)),this.positions.push(V,J,fe)},ar.prototype.getPositions=function(P){for(var V=Or(P),J=0,fe=this.ids.length-1;J>1;this.ids[Ae]>=V?fe=Ae:J=Ae+1}for(var De=[];this.ids[J]===V;){var Ge=this.positions[3*J],it=this.positions[3*J+1],mt=this.positions[3*J+2];De.push({index:Ge,start:it,end:mt}),J++}return De},ar.serialize=function(P,V){var J=new Float64Array(P.ids),fe=new Uint32Array(P.positions);return _r(J,fe,0,J.length-1),V&&V.push(J.buffer,fe.buffer),{ids:J,positions:fe}},ar.deserialize=function(P){var V=new ar;return V.ids=P.ids,V.positions=P.positions,V.indexed=!0,V};var Cr=Math.pow(2,53)-1;function Or(P){var V=+P;return!isNaN(V)&&V<=Cr?V:Fn(String(P))}function _r(P,V,J,fe){for(;J>1],De=J-1,Ge=fe+1;;){do De++;while(P[De]Ae);if(De>=Ge)break;Sr(P,De,Ge),Sr(V,3*De,3*Ge),Sr(V,3*De+1,3*Ge+1),Sr(V,3*De+2,3*Ge+2)}Ge-Jwo.max||Ge.ywo.max)&&(O("Geometry exceeds allowed extent, reduce your vector tile buffer size"),Ge.x=h(Ge.x,wo.min,wo.max),Ge.y=h(Ge.y,wo.min,wo.max))}return J}function Rs(P,V,J,fe,Ae){P.emplaceBack(2*V+(fe+1)/2,2*J+(Ae+1)/2)}var zi=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new et,this.indexArray=new He,this.segments=new ln,this.programConfigurations=new Pa(tn,P.layers,P.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function Ja(P,V){for(var J=0;J1){if(k0(P,V))return!0;for(var fe=0;fe1?P.distSqr(J):P.distSqr(J.sub(V)._mult(Ae)._add(V))}function Xh(P,V){for(var J,fe,Ae,De=!1,Ge=0;GeV.y!=Ae.y>V.y&&V.x<(Ae.x-fe.x)*(V.y-fe.y)/(Ae.y-fe.y)+fe.x&&(De=!De);return De}function gh(P,V){for(var J=!1,fe=0,Ae=P.length-1;feV.y!=Ge.y>V.y&&V.x<(Ge.x-De.x)*(V.y-De.y)/(Ge.y-De.y)+De.x&&(J=!J)}return J}function b1(P,V,J){var fe=J[0],Ae=J[2];if(P.xAe.x&&V.x>Ae.x||P.yAe.y&&V.y>Ae.y)return!1;var De=I(P,V,J[0]);return De!==I(P,V,J[1])||De!==I(P,V,J[2])||De!==I(P,V,J[3])}function If(P,V,J){var fe=V.paint.get(P).value;return fe.kind==="constant"?fe.value:J.programConfigurations.get(V.id).getMaxValue(P)}function gg(P){return Math.sqrt(P[0]*P[0]+P[1]*P[1])}function vg(P,V,J,fe,Ae){if(!V[0]&&!V[1])return P;var De=a.convert(V)._mult(Ae);J==="viewport"&&De._rotate(-fe);for(var Ge=[],it=0;it=hi||Rt<0||Rt>=hi)){var Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,P.sortKey),Zt=Gt.vertexLength;Rs(this.layoutVertexArray,Ct,Rt,-1,-1),Rs(this.layoutVertexArray,Ct,Rt,1,-1),Rs(this.layoutVertexArray,Ct,Rt,1,1),Rs(this.layoutVertexArray,Ct,Rt,-1,1),this.indexArray.emplaceBack(Zt,Zt+1,Zt+2),this.indexArray.emplaceBack(Zt,Zt+3,Zt+2),Gt.vertexLength+=4,Gt.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,P,J,{},fe)},Br("CircleBucket",zi,{omit:["layers"]});var f8=new _o({"circle-sort-key":new oi(Oe.layout_circle["circle-sort-key"])}),h8={paint:new _o({"circle-radius":new oi(Oe.paint_circle["circle-radius"]),"circle-color":new oi(Oe.paint_circle["circle-color"]),"circle-blur":new oi(Oe.paint_circle["circle-blur"]),"circle-opacity":new oi(Oe.paint_circle["circle-opacity"]),"circle-translate":new $r(Oe.paint_circle["circle-translate"]),"circle-translate-anchor":new $r(Oe.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new $r(Oe.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new $r(Oe.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new oi(Oe.paint_circle["circle-stroke-width"]),"circle-stroke-color":new oi(Oe.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new oi(Oe.paint_circle["circle-stroke-opacity"])}),layout:f8},Nl=typeof Float32Array<"u"?Float32Array:Array;function x1(P){return P[0]=1,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=1,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=1,P[11]=0,P[12]=0,P[13]=0,P[14]=0,P[15]=1,P}function nw(P,V,J){var fe=V[0],Ae=V[1],De=V[2],Ge=V[3],it=V[4],mt=V[5],Ct=V[6],Rt=V[7],Gt=V[8],Zt=V[9],Yt=V[10],hn=V[11],Mn=V[12],Nn=V[13],Bn=V[14],$n=V[15],Xn=J[0],er=J[1],sr=J[2],dr=J[3];return P[0]=Xn*fe+er*it+sr*Gt+dr*Mn,P[1]=Xn*Ae+er*mt+sr*Zt+dr*Nn,P[2]=Xn*De+er*Ct+sr*Yt+dr*Bn,P[3]=Xn*Ge+er*Rt+sr*hn+dr*$n,Xn=J[4],er=J[5],sr=J[6],dr=J[7],P[4]=Xn*fe+er*it+sr*Gt+dr*Mn,P[5]=Xn*Ae+er*mt+sr*Zt+dr*Nn,P[6]=Xn*De+er*Ct+sr*Yt+dr*Bn,P[7]=Xn*Ge+er*Rt+sr*hn+dr*$n,Xn=J[8],er=J[9],sr=J[10],dr=J[11],P[8]=Xn*fe+er*it+sr*Gt+dr*Mn,P[9]=Xn*Ae+er*mt+sr*Zt+dr*Nn,P[10]=Xn*De+er*Ct+sr*Yt+dr*Bn,P[11]=Xn*Ge+er*Rt+sr*hn+dr*$n,Xn=J[12],er=J[13],sr=J[14],dr=J[15],P[12]=Xn*fe+er*it+sr*Gt+dr*Mn,P[13]=Xn*Ae+er*mt+sr*Zt+dr*Nn,P[14]=Xn*De+er*Ct+sr*Yt+dr*Bn,P[15]=Xn*Ge+er*Rt+sr*hn+dr*$n,P}Math.hypot||(Math.hypot=function(){for(var P=arguments,V=0,J=arguments.length;J--;)V+=P[J]*P[J];return Math.sqrt(V)});var d8=nw,yg,p8=function(P,V,J){return P[0]=V[0]-J[0],P[1]=V[1]-J[1],P[2]=V[2]-J[2],P};function bg(P,V,J){var fe=V[0],Ae=V[1],De=V[2],Ge=V[3];return P[0]=J[0]*fe+J[4]*Ae+J[8]*De+J[12]*Ge,P[1]=J[1]*fe+J[5]*Ae+J[9]*De+J[13]*Ge,P[2]=J[2]*fe+J[6]*Ae+J[10]*De+J[14]*Ge,P[3]=J[3]*fe+J[7]*Ae+J[11]*De+J[15]*Ge,P}yg=new Nl(3),Nl!=Float32Array&&(yg[0]=0,yg[1]=0,yg[2]=0),function(){var P=new Nl(4);Nl!=Float32Array&&(P[0]=0,P[1]=0,P[2]=0,P[3]=0)}();var m8=function(P){var V=P[0],J=P[1];return V*V+J*J},g8=(function(){var P=new Nl(2);Nl!=Float32Array&&(P[0]=0,P[1]=0)}(),function(P){function V(J){P.call(this,J,h8)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.createBucket=function(J){return new zi(J)},V.prototype.queryRadius=function(J){var fe=J;return If("circle-radius",this,fe)+If("circle-stroke-width",this,fe)+gg(this.paint.get("circle-translate"))},V.prototype.queryIntersectsFeature=function(J,fe,Ae,De,Ge,it,mt,Ct){for(var Rt=vg(J,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),it.angle,mt),Gt=this.paint.get("circle-radius").evaluate(fe,Ae)+this.paint.get("circle-stroke-width").evaluate(fe,Ae),Zt=this.paint.get("circle-pitch-alignment")==="map",Yt=Zt?Rt:function(zr,Ar){return zr.map(function(Hr){return rw(Hr,Ar)})}(Rt,Ct),hn=Zt?Gt*mt:Gt,Mn=0,Nn=De;MnP.width||Ae.height>P.height||J.x>P.width-Ae.width||J.y>P.height-Ae.height)throw new RangeError("out of range source coordinates for image copy");if(Ae.width>V.width||Ae.height>V.height||fe.x>V.width-Ae.width||fe.y>V.height-Ae.height)throw new RangeError("out of range destination coordinates for image copy");for(var Ge=P.data,it=V.data,mt=0;mt80*J){fe=De=P[0],Ae=Ge=P[1];for(var hn=J;hnDe&&(De=it),mt>Ge&&(Ge=mt);Ct=(Ct=Math.max(De-fe,Ge-Ae))!==0?1/Ct:0}return M0(Zt,Yt,J,fe,Ae,Ct),Yt}function lw(P,V,J,fe,Ae){var De,Ge;if(Ae===A1(P,V,J,fe)>0)for(De=V;De=V;De-=fe)Ge=fw(De,P[De],P[De+1],Ge);return Ge&&_g(Ge,Ge.next)&&(S0(Ge),Ge=Ge.next),Ge}function vh(P,V){if(!P)return P;V||(V=P);var J,fe=P;do if(J=!1,fe.steiner||!_g(fe,fe.next)&&To(fe.prev,fe,fe.next)!==0)fe=fe.next;else{if(S0(fe),(fe=V=fe.prev)===fe.next)break;J=!0}while(J||fe!==V);return V}function M0(P,V,J,fe,Ae,De,Ge){if(P){!Ge&&De&&function(Rt,Gt,Zt,Yt){var hn=Rt;do hn.z===null&&(hn.z=k1(hn.x,hn.y,Gt,Zt,Yt)),hn.prevZ=hn.prev,hn.nextZ=hn.next,hn=hn.next;while(hn!==Rt);hn.prevZ.nextZ=null,hn.prevZ=null,function(Mn){var Nn,Bn,$n,Xn,er,sr,dr,zr,Ar=1;do{for(Bn=Mn,Mn=null,er=null,sr=0;Bn;){for(sr++,$n=Bn,dr=0,Nn=0;Nn0||zr>0&&$n;)dr!==0&&(zr===0||!$n||Bn.z<=$n.z)?(Xn=Bn,Bn=Bn.nextZ,dr--):(Xn=$n,$n=$n.nextZ,zr--),er?er.nextZ=Xn:Mn=Xn,Xn.prevZ=er,er=Xn;Bn=$n}er.nextZ=null,Ar*=2}while(sr>1)}(hn)}(P,fe,Ae,De);for(var it,mt,Ct=P;P.prev!==P.next;)if(it=P.prev,mt=P.next,De?T8(P,fe,Ae,De):w8(P))V.push(it.i/J),V.push(P.i/J),V.push(mt.i/J),S0(P),P=mt.next,Ct=mt.next;else if((P=mt)===Ct){Ge?Ge===1?M0(P=k8(vh(P),V,J),V,J,fe,Ae,De,2):Ge===2&&M8(P,V,J,fe,Ae,De):M0(vh(P),V,J,fe,Ae,De,1);break}}}function w8(P){var V=P.prev,J=P,fe=P.next;if(To(V,J,fe)>=0)return!1;for(var Ae=P.next.next;Ae!==P.prev;){if(Jd(V.x,V.y,J.x,J.y,fe.x,fe.y,Ae.x,Ae.y)&&To(Ae.prev,Ae,Ae.next)>=0)return!1;Ae=Ae.next}return!0}function T8(P,V,J,fe){var Ae=P.prev,De=P,Ge=P.next;if(To(Ae,De,Ge)>=0)return!1;for(var it=Ae.xDe.x?Ae.x>Ge.x?Ae.x:Ge.x:De.x>Ge.x?De.x:Ge.x,Rt=Ae.y>De.y?Ae.y>Ge.y?Ae.y:Ge.y:De.y>Ge.y?De.y:Ge.y,Gt=k1(it,mt,V,J,fe),Zt=k1(Ct,Rt,V,J,fe),Yt=P.prevZ,hn=P.nextZ;Yt&&Yt.z>=Gt&&hn&&hn.z<=Zt;){if(Yt!==P.prev&&Yt!==P.next&&Jd(Ae.x,Ae.y,De.x,De.y,Ge.x,Ge.y,Yt.x,Yt.y)&&To(Yt.prev,Yt,Yt.next)>=0||(Yt=Yt.prevZ,hn!==P.prev&&hn!==P.next&&Jd(Ae.x,Ae.y,De.x,De.y,Ge.x,Ge.y,hn.x,hn.y)&&To(hn.prev,hn,hn.next)>=0))return!1;hn=hn.nextZ}for(;Yt&&Yt.z>=Gt;){if(Yt!==P.prev&&Yt!==P.next&&Jd(Ae.x,Ae.y,De.x,De.y,Ge.x,Ge.y,Yt.x,Yt.y)&&To(Yt.prev,Yt,Yt.next)>=0)return!1;Yt=Yt.prevZ}for(;hn&&hn.z<=Zt;){if(hn!==P.prev&&hn!==P.next&&Jd(Ae.x,Ae.y,De.x,De.y,Ge.x,Ge.y,hn.x,hn.y)&&To(hn.prev,hn,hn.next)>=0)return!1;hn=hn.nextZ}return!0}function k8(P,V,J){var fe=P;do{var Ae=fe.prev,De=fe.next.next;!_g(Ae,De)&&uw(Ae,fe,fe.next,De)&&A0(Ae,De)&&A0(De,Ae)&&(V.push(Ae.i/J),V.push(fe.i/J),V.push(De.i/J),S0(fe),S0(fe.next),fe=P=De),fe=fe.next}while(fe!==P);return vh(fe)}function M8(P,V,J,fe,Ae,De){var Ge=P;do{for(var it=Ge.next.next;it!==Ge.prev;){if(Ge.i!==it.i&&L8(Ge,it)){var mt=cw(Ge,it);return Ge=vh(Ge,Ge.next),mt=vh(mt,mt.next),M0(Ge,V,J,fe,Ae,De),void M0(mt,V,J,fe,Ae,De)}it=it.next}Ge=Ge.next}while(Ge!==P)}function A8(P,V){return P.x-V.x}function S8(P,V){if(V=function(fe,Ae){var De,Ge=Ae,it=fe.x,mt=fe.y,Ct=-1/0;do{if(mt<=Ge.y&&mt>=Ge.next.y&&Ge.next.y!==Ge.y){var Rt=Ge.x+(mt-Ge.y)*(Ge.next.x-Ge.x)/(Ge.next.y-Ge.y);if(Rt<=it&&Rt>Ct){if(Ct=Rt,Rt===it){if(mt===Ge.y)return Ge;if(mt===Ge.next.y)return Ge.next}De=Ge.x=Ge.x&&Ge.x>=Yt&&it!==Ge.x&&Jd(mtDe.x||Ge.x===De.x&&C8(De,Ge)))&&(De=Ge,Mn=Gt)),Ge=Ge.next;while(Ge!==Zt);return De}(P,V)){var J=cw(V,P);vh(V,V.next),vh(J,J.next)}}function C8(P,V){return To(P.prev,P,V.prev)<0&&To(V.next,P,P.next)<0}function k1(P,V,J,fe,Ae){return(P=1431655765&((P=858993459&((P=252645135&((P=16711935&((P=32767*(P-J)*Ae)|P<<8))|P<<4))|P<<2))|P<<1))|(V=1431655765&((V=858993459&((V=252645135&((V=16711935&((V=32767*(V-fe)*Ae)|V<<8))|V<<4))|V<<2))|V<<1))<<1}function E8(P){var V=P,J=P;do(V.x=0&&(P-Ge)*(fe-it)-(J-Ge)*(V-it)>=0&&(J-Ge)*(De-it)-(Ae-Ge)*(fe-it)>=0}function L8(P,V){return P.next.i!==V.i&&P.prev.i!==V.i&&!function(J,fe){var Ae=J;do{if(Ae.i!==J.i&&Ae.next.i!==J.i&&Ae.i!==fe.i&&Ae.next.i!==fe.i&&uw(Ae,Ae.next,J,fe))return!0;Ae=Ae.next}while(Ae!==J);return!1}(P,V)&&(A0(P,V)&&A0(V,P)&&function(J,fe){var Ae=J,De=!1,Ge=(J.x+fe.x)/2,it=(J.y+fe.y)/2;do Ae.y>it!=Ae.next.y>it&&Ae.next.y!==Ae.y&&Ge<(Ae.next.x-Ae.x)*(it-Ae.y)/(Ae.next.y-Ae.y)+Ae.x&&(De=!De),Ae=Ae.next;while(Ae!==J);return De}(P,V)&&(To(P.prev,P,V.prev)||To(P,V.prev,V))||_g(P,V)&&To(P.prev,P,P.next)>0&&To(V.prev,V,V.next)>0)}function To(P,V,J){return(V.y-P.y)*(J.x-V.x)-(V.x-P.x)*(J.y-V.y)}function _g(P,V){return P.x===V.x&&P.y===V.y}function uw(P,V,J,fe){var Ae=Tg(To(P,V,J)),De=Tg(To(P,V,fe)),Ge=Tg(To(J,fe,P)),it=Tg(To(J,fe,V));return Ae!==De&&Ge!==it||!(Ae!==0||!wg(P,J,V))||!(De!==0||!wg(P,fe,V))||!(Ge!==0||!wg(J,P,fe))||!(it!==0||!wg(J,V,fe))}function wg(P,V,J){return V.x<=Math.max(P.x,J.x)&&V.x>=Math.min(P.x,J.x)&&V.y<=Math.max(P.y,J.y)&&V.y>=Math.min(P.y,J.y)}function Tg(P){return P>0?1:P<0?-1:0}function A0(P,V){return To(P.prev,P,P.next)<0?To(P,V,P.next)>=0&&To(P,P.prev,V)>=0:To(P,V,P.prev)<0||To(P,P.next,V)<0}function cw(P,V){var J=new M1(P.i,P.x,P.y),fe=new M1(V.i,V.x,V.y),Ae=P.next,De=V.prev;return P.next=V,V.prev=P,J.next=Ae,Ae.prev=J,fe.next=J,J.prev=fe,De.next=fe,fe.prev=De,fe}function fw(P,V,J,fe){var Ae=new M1(P,V,J);return fe?(Ae.next=fe.next,Ae.prev=fe,fe.next.prev=Ae,fe.next=Ae):(Ae.prev=Ae,Ae.next=Ae),Ae}function S0(P){P.next.prev=P.prev,P.prev.next=P.next,P.prevZ&&(P.prevZ.nextZ=P.nextZ),P.nextZ&&(P.nextZ.prevZ=P.prevZ)}function M1(P,V,J){this.i=P,this.x=V,this.y=J,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function A1(P,V,J,fe){for(var Ae=0,De=V,Ge=J-fe;DeJ;){if(fe-J>600){var De=fe-J+1,Ge=V-J+1,it=Math.log(De),mt=.5*Math.exp(2*it/3),Ct=.5*Math.sqrt(it*mt*(De-mt)/De)*(Ge-De/2<0?-1:1);hw(P,V,Math.max(J,Math.floor(V-Ge*mt/De+Ct)),Math.min(fe,Math.floor(V+(De-Ge)*mt/De+Ct)),Ae)}var Rt=P[V],Gt=J,Zt=fe;for(C0(P,J,V),Ae(P[fe],Rt)>0&&C0(P,J,fe);Gt0;)Zt--}Ae(P[J],Rt)===0?C0(P,J,Zt):C0(P,++Zt,fe),Zt<=V&&(J=Zt+1),V<=Zt&&(fe=Zt-1)}}function C0(P,V,J){var fe=P[V];P[V]=P[J],P[J]=fe}function O8(P,V){return PV?1:0}function S1(P,V){var J=P.length;if(J<=1)return[P];for(var fe,Ae,De=[],Ge=0;Ge1)for(var mt=0;mt0&&(fe+=P[Ae-1].length,J.holes.push(fe))}return J},T1.default=_8;var vc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new et,this.indexArray=new He,this.indexArray2=new ve,this.programConfigurations=new Pa(sw,P.layers,P.zoom),this.segments=new ln,this.segments2=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};vc.prototype.populate=function(P,V,J){this.hasPattern=C1("fill",this.layers,V);for(var fe=this.layers[0].layout.get("fill-sort-key"),Ae=[],De=0,Ge=P;De>3}if(Ae--,fe===1||fe===2)De+=P.readSVarint(),Ge+=P.readSVarint(),fe===1&&(V&&it.push(V),V=[]),V.push(new a(De,Ge));else{if(fe!==7)throw new Error("unknown command "+fe);V&&V.push(V[0].clone())}}return V&&it.push(V),it},Qd.prototype.bbox=function(){var P=this._pbf;P.pos=this._geometry;for(var V=P.readVarint()+P.pos,J=1,fe=0,Ae=0,De=0,Ge=1/0,it=-1/0,mt=1/0,Ct=-1/0;P.pos>3}if(fe--,J===1||J===2)(Ae+=P.readSVarint())it&&(it=Ae),(De+=P.readSVarint())Ct&&(Ct=De);else if(J!==7)throw new Error("unknown command "+J)}return[Ge,mt,it,Ct]},Qd.prototype.toGeoJSON=function(P,V,J){var fe,Ae,De=this.extent*Math.pow(2,J),Ge=this.extent*P,it=this.extent*V,mt=this.loadGeometry(),Ct=Qd.types[this.type];function Rt(Yt){for(var hn=0;hn>3;Ae=Ge===1?fe.readString():Ge===2?fe.readFloat():Ge===3?fe.readDouble():Ge===4?fe.readVarint64():Ge===5?fe.readVarint():Ge===6?fe.readSVarint():Ge===7?fe.readBoolean():null}return Ae}(J))}function V8(P,V,J){if(P===3){var fe=new mw(J,J.readVarint()+J.pos);fe.length&&(V[fe.name]=fe)}}gw.prototype.feature=function(P){if(P<0||P>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[P];var V=this._pbf.readVarint()+this._pbf.pos;return new pw(this._pbf,V,this.extent,this._keys,this._values)};var ep={VectorTile:function(P,V){this.layers=P.readFields(V8,{},V)},VectorTileFeature:pw,VectorTileLayer:mw},j8=ep.VectorTileFeature.types,L1=Math.pow(2,13);function E0(P,V,J,fe,Ae,De,Ge,it){P.emplaceBack(V,J,2*Math.floor(fe*L1)+Ge,Ae*L1*2,De*L1*2,Math.round(it))}var yc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new ct,this.indexArray=new He,this.programConfigurations=new Pa(dw,P.layers,P.zoom),this.segments=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function U8(P,V){return P.x===V.x&&(P.x<0||P.x>hi)||P.y===V.y&&(P.y<0||P.y>hi)}yc.prototype.populate=function(P,V,J){this.features=[],this.hasPattern=C1("fill-extrusion",this.layers,V);for(var fe=0,Ae=P;fehi})||Bi.every(function(yi){return yi.y<0})||Bi.every(function(yi){return yi.y>hi})))for(var Mn=0,Nn=0;Nn=1){var $n=hn[Nn-1];if(!U8(Bn,$n)){Gt.vertexLength+4>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Xn=Bn.sub($n)._perp()._unit(),er=$n.dist(Bn);Mn+er>32768&&(Mn=0),E0(this.layoutVertexArray,Bn.x,Bn.y,Xn.x,Xn.y,0,0,Mn),E0(this.layoutVertexArray,Bn.x,Bn.y,Xn.x,Xn.y,0,1,Mn),Mn+=er,E0(this.layoutVertexArray,$n.x,$n.y,Xn.x,Xn.y,0,0,Mn),E0(this.layoutVertexArray,$n.x,$n.y,Xn.x,Xn.y,0,1,Mn);var sr=Gt.vertexLength;this.indexArray.emplaceBack(sr,sr+2,sr+1),this.indexArray.emplaceBack(sr+1,sr+2,sr+3),Gt.vertexLength+=4,Gt.primitiveLength+=2}}}}if(Gt.vertexLength+mt>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(mt,this.layoutVertexArray,this.indexArray)),j8[P.type]==="Polygon"){for(var dr=[],zr=[],Ar=Gt.vertexLength,Hr=0,Qr=it;Hr=2&&P[mt-1].equals(P[mt-2]);)mt--;for(var Ct=0;Ct0;if(zr&&Bn>Ct){var Hr=Rt.dist(Yt);if(Hr>2*Gt){var Qr=Rt.sub(Rt.sub(Yt)._mult(Gt/Hr)._round());this.updateDistance(Yt,Qr),this.addCurrentVertex(Qr,Mn,0,0,Zt),Yt=Qr}}var pi=Yt&&hn,ri=pi?J:it?"butt":fe;if(pi&&ri==="round"&&(srAe&&(ri="bevel"),ri==="bevel"&&(sr>2&&(ri="flipbevel"),sr100)$n=Nn.mult(-1);else{var di=sr*Mn.add(Nn).mag()/Mn.sub(Nn).mag();$n._perp()._mult(di*(Ar?-1:1))}this.addCurrentVertex(Rt,$n,0,0,Zt),this.addCurrentVertex(Rt,$n.mult(-1),0,0,Zt)}else if(ri==="bevel"||ri==="fakeround"){var si=-Math.sqrt(sr*sr-1),ti=Ar?si:0,Bi=Ar?0:si;if(Yt&&this.addCurrentVertex(Rt,Mn,ti,Bi,Zt),ri==="fakeround")for(var yi=Math.round(180*dr/Math.PI/20),_a=1;_a2*Gt){var wa=Rt.add(hn.sub(Rt)._mult(Gt/Ra)._round());this.updateDistance(Rt,wa),this.addCurrentVertex(wa,Nn,0,0,Zt),Rt=wa}}}}},Js.prototype.addCurrentVertex=function(P,V,J,fe,Ae,De){De===void 0&&(De=!1);var Ge=V.x+V.y*J,it=V.y-V.x*J,mt=-V.x+V.y*fe,Ct=-V.y-V.x*fe;this.addHalfVertex(P,Ge,it,De,!1,J,Ae),this.addHalfVertex(P,mt,Ct,De,!0,-fe,Ae),this.distance>bw/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(P,V,J,fe,Ae,De))},Js.prototype.addHalfVertex=function(P,V,J,fe,Ae,De,Ge){var it=P.x,mt=P.y,Ct=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((it<<1)+(fe?1:0),(mt<<1)+(Ae?1:0),Math.round(63*V)+128,Math.round(63*J)+128,1+(De===0?0:De<0?-1:1)|(63&Ct)<<2,Ct>>6);var Rt=Ge.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,Rt),Ge.primitiveLength++),Ae?this.e2=Rt:this.e1=Rt},Js.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(bw-1):this.distance},Js.prototype.updateDistance=function(P,V){this.distance+=P.dist(V),this.updateScaledDistance()},Br("LineBucket",Js,{omit:["layers","patternFeatures"]});var $8=new _o({"line-cap":new $r(Oe.layout_line["line-cap"]),"line-join":new oi(Oe.layout_line["line-join"]),"line-miter-limit":new $r(Oe.layout_line["line-miter-limit"]),"line-round-limit":new $r(Oe.layout_line["line-round-limit"]),"line-sort-key":new oi(Oe.layout_line["line-sort-key"])}),xw={paint:new _o({"line-opacity":new oi(Oe.paint_line["line-opacity"]),"line-color":new oi(Oe.paint_line["line-color"]),"line-translate":new $r(Oe.paint_line["line-translate"]),"line-translate-anchor":new $r(Oe.paint_line["line-translate-anchor"]),"line-width":new oi(Oe.paint_line["line-width"]),"line-gap-width":new oi(Oe.paint_line["line-gap-width"]),"line-offset":new oi(Oe.paint_line["line-offset"]),"line-blur":new oi(Oe.paint_line["line-blur"]),"line-dasharray":new ml(Oe.paint_line["line-dasharray"]),"line-pattern":new Nu(Oe.paint_line["line-pattern"]),"line-gradient":new Ds(Oe.paint_line["line-gradient"])}),layout:$8},Y8=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.possiblyEvaluate=function(J,fe){return fe=new Yi(Math.floor(fe.zoom),{now:fe.now,fadeDuration:fe.fadeDuration,zoomHistory:fe.zoomHistory,transition:fe.transition}),P.prototype.possiblyEvaluate.call(this,J,fe)},V.prototype.evaluate=function(J,fe,Ae,De){return fe=m({},fe,{zoom:Math.floor(fe.zoom)}),P.prototype.evaluate.call(this,J,fe,Ae,De)},V}(oi),_w=new Y8(xw.paint.properties["line-width"].specification);_w.useIntegerZoom=!0;var Z8=function(P){function V(J){P.call(this,J,xw)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._handleSpecialPaintPropertyUpdate=function(J){J==="line-gradient"&&this._updateGradient()},V.prototype._updateGradient=function(){var J=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=ow(J,"lineProgress"),this.gradientTexture=null},V.prototype.recalculate=function(J,fe){P.prototype.recalculate.call(this,J,fe),this.paint._values["line-floorwidth"]=_w.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,J)},V.prototype.createBucket=function(J){return new Js(J)},V.prototype.queryRadius=function(J){var fe=J,Ae=ww(If("line-width",this,fe),If("line-gap-width",this,fe)),De=If("line-offset",this,fe);return Ae/2+Math.abs(De)+gg(this.paint.get("line-translate"))},V.prototype.queryIntersectsFeature=function(J,fe,Ae,De,Ge,it,mt){var Ct=vg(J,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),it.angle,mt),Rt=mt/2*ww(this.paint.get("line-width").evaluate(fe,Ae),this.paint.get("line-gap-width").evaluate(fe,Ae)),Gt=this.paint.get("line-offset").evaluate(fe,Ae);return Gt&&(De=function(Zt,Yt){for(var hn=[],Mn=new a(0,0),Nn=0;Nn=3){for(var Bn=0;Bn0?V+2*P:P}var I1=ua([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),X8=ua([{name:"a_projected_pos",components:3,type:"Float32"}],4),K8=(ua([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),ua([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),Tw=(ua([{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"}]),ua([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),J8=ua([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function Q8(P,V,J){return P.sections.forEach(function(fe){fe.text=function(Ae,De,Ge){var it=De.layout.get("text-transform").evaluate(Ge,{});return it==="uppercase"?Ae=Ae.toLocaleUpperCase():it==="lowercase"&&(Ae=Ae.toLocaleLowerCase()),Uo.applyArabicShaping&&(Ae=Uo.applyArabicShaping(Ae)),Ae}(fe.text,V,J)}),P}ua([{name:"triangle",components:3,type:"Uint16"}]),ua([{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"}]),ua([{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"}]),ua([{type:"Float32",name:"offsetX"}]),ua([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var I0={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},fs=24,kw=function(P,V,J,fe,Ae){var De,Ge,it=8*Ae-fe-1,mt=(1<>1,Rt=-7,Gt=J?Ae-1:0,Zt=J?-1:1,Yt=P[V+Gt];for(Gt+=Zt,De=Yt&(1<<-Rt)-1,Yt>>=-Rt,Rt+=it;Rt>0;De=256*De+P[V+Gt],Gt+=Zt,Rt-=8);for(Ge=De&(1<<-Rt)-1,De>>=-Rt,Rt+=fe;Rt>0;Ge=256*Ge+P[V+Gt],Gt+=Zt,Rt-=8);if(De===0)De=1-Ct;else{if(De===mt)return Ge?NaN:1/0*(Yt?-1:1);Ge+=Math.pow(2,fe),De-=Ct}return(Yt?-1:1)*Ge*Math.pow(2,De-fe)},Mw=function(P,V,J,fe,Ae,De){var Ge,it,mt,Ct=8*De-Ae-1,Rt=(1<>1,Zt=Ae===23?Math.pow(2,-24)-Math.pow(2,-77):0,Yt=fe?0:De-1,hn=fe?1:-1,Mn=V<0||V===0&&1/V<0?1:0;for(V=Math.abs(V),isNaN(V)||V===1/0?(it=isNaN(V)?1:0,Ge=Rt):(Ge=Math.floor(Math.log(V)/Math.LN2),V*(mt=Math.pow(2,-Ge))<1&&(Ge--,mt*=2),(V+=Ge+Gt>=1?Zt/mt:Zt*Math.pow(2,1-Gt))*mt>=2&&(Ge++,mt/=2),Ge+Gt>=Rt?(it=0,Ge=Rt):Ge+Gt>=1?(it=(V*mt-1)*Math.pow(2,Ae),Ge+=Gt):(it=V*Math.pow(2,Gt-1)*Math.pow(2,Ae),Ge=0));Ae>=8;P[J+Yt]=255&it,Yt+=hn,it/=256,Ae-=8);for(Ge=Ge<0;P[J+Yt]=255&Ge,Yt+=hn,Ge/=256,Ct-=8);P[J+Yt-hn]|=128*Mn},kg=ka;function ka(P){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(P)?P:new Uint8Array(P||0),this.pos=0,this.type=0,this.length=this.buf.length}ka.Varint=0,ka.Fixed64=1,ka.Bytes=2,ka.Fixed32=5;var O1=4294967296,Aw=1/O1,Sw=typeof TextDecoder>"u"?null:new TextDecoder("utf8");function Of(P){return P.type===ka.Bytes?P.readVarint()+P.pos:P.pos+1}function tp(P,V,J){return J?4294967296*V+(P>>>0):4294967296*(V>>>0)+(P>>>0)}function Cw(P,V,J){var fe=V<=16383?1:V<=2097151?2:V<=268435455?3:Math.floor(Math.log(V)/(7*Math.LN2));J.realloc(fe);for(var Ae=J.pos-1;Ae>=P;Ae--)J.buf[Ae+fe]=J.buf[Ae]}function eC(P,V){for(var J=0;J>>8,P[J+2]=V>>>16,P[J+3]=V>>>24}function Ew(P,V){return(P[V]|P[V+1]<<8|P[V+2]<<16)+(P[V+3]<<24)}ka.prototype={destroy:function(){this.buf=null},readFields:function(P,V,J){for(J=J||this.length;this.pos>3,De=this.pos;this.type=7&fe,P(Ae,V,this),this.pos===De&&this.skip(fe)}return V},readMessage:function(P,V){return this.readFields(P,V,this.readVarint()+this.pos)},readFixed32:function(){var P=Mg(this.buf,this.pos);return this.pos+=4,P},readSFixed32:function(){var P=Ew(this.buf,this.pos);return this.pos+=4,P},readFixed64:function(){var P=Mg(this.buf,this.pos)+Mg(this.buf,this.pos+4)*O1;return this.pos+=8,P},readSFixed64:function(){var P=Mg(this.buf,this.pos)+Ew(this.buf,this.pos+4)*O1;return this.pos+=8,P},readFloat:function(){var P=kw(this.buf,this.pos,!0,23,4);return this.pos+=4,P},readDouble:function(){var P=kw(this.buf,this.pos,!0,52,8);return this.pos+=8,P},readVarint:function(P){var V,J,fe=this.buf;return V=127&(J=fe[this.pos++]),J<128?V:(V|=(127&(J=fe[this.pos++]))<<7,J<128?V:(V|=(127&(J=fe[this.pos++]))<<14,J<128?V:(V|=(127&(J=fe[this.pos++]))<<21,J<128?V:function(Ae,De,Ge){var it,mt,Ct=Ge.buf;if(it=(112&(mt=Ct[Ge.pos++]))>>4,mt<128||(it|=(127&(mt=Ct[Ge.pos++]))<<3,mt<128)||(it|=(127&(mt=Ct[Ge.pos++]))<<10,mt<128)||(it|=(127&(mt=Ct[Ge.pos++]))<<17,mt<128)||(it|=(127&(mt=Ct[Ge.pos++]))<<24,mt<128)||(it|=(1&(mt=Ct[Ge.pos++]))<<31,mt<128))return tp(Ae,it,De);throw new Error("Expected varint not more than 10 bytes")}(V|=(15&(J=fe[this.pos]))<<28,P,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var P=this.readVarint();return P%2==1?(P+1)/-2:P/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var P=this.readVarint()+this.pos,V=this.pos;return this.pos=P,P-V>=12&&Sw?function(J,fe,Ae){return Sw.decode(J.subarray(fe,Ae))}(this.buf,V,P):function(J,fe,Ae){for(var De="",Ge=fe;Ge239?4:Rt>223?3:Rt>191?2:1;if(Ge+Zt>Ae)break;Zt===1?Rt<128&&(Gt=Rt):Zt===2?(192&(it=J[Ge+1]))==128&&(Gt=(31&Rt)<<6|63&it)<=127&&(Gt=null):Zt===3?(it=J[Ge+1],mt=J[Ge+2],(192&it)==128&&(192&mt)==128&&((Gt=(15&Rt)<<12|(63&it)<<6|63&mt)<=2047||Gt>=55296&&Gt<=57343)&&(Gt=null)):Zt===4&&(it=J[Ge+1],mt=J[Ge+2],Ct=J[Ge+3],(192&it)==128&&(192&mt)==128&&(192&Ct)==128&&((Gt=(15&Rt)<<18|(63&it)<<12|(63&mt)<<6|63&Ct)<=65535||Gt>=1114112)&&(Gt=null)),Gt===null?(Gt=65533,Zt=1):Gt>65535&&(Gt-=65536,De+=String.fromCharCode(Gt>>>10&1023|55296),Gt=56320|1023&Gt),De+=String.fromCharCode(Gt),Ge+=Zt}return De}(this.buf,V,P)},readBytes:function(){var P=this.readVarint()+this.pos,V=this.buf.subarray(this.pos,P);return this.pos=P,V},readPackedVarint:function(P,V){if(this.type!==ka.Bytes)return P.push(this.readVarint(V));var J=Of(this);for(P=P||[];this.pos127;);else if(V===ka.Bytes)this.pos=this.readVarint()+this.pos;else if(V===ka.Fixed32)this.pos+=4;else{if(V!==ka.Fixed64)throw new Error("Unimplemented type: "+V);this.pos+=8}},writeTag:function(P,V){this.writeVarint(P<<3|V)},realloc:function(P){for(var V=this.length||16;V268435455||P<0?function(V,J){var fe,Ae;if(V>=0?(fe=V%4294967296|0,Ae=V/4294967296|0):(Ae=~(-V/4294967296),4294967295^(fe=~(-V%4294967296))?fe=fe+1|0:(fe=0,Ae=Ae+1|0)),V>=18446744073709552e3||V<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");J.realloc(10),function(De,Ge,it){it.buf[it.pos++]=127&De|128,De>>>=7,it.buf[it.pos++]=127&De|128,De>>>=7,it.buf[it.pos++]=127&De|128,De>>>=7,it.buf[it.pos++]=127&De|128,De>>>=7,it.buf[it.pos]=127&De}(fe,0,J),function(De,Ge){var it=(7&De)<<4;Ge.buf[Ge.pos++]|=it|((De>>>=3)?128:0),De&&(Ge.buf[Ge.pos++]=127&De|((De>>>=7)?128:0),De&&(Ge.buf[Ge.pos++]=127&De|((De>>>=7)?128:0),De&&(Ge.buf[Ge.pos++]=127&De|((De>>>=7)?128:0),De&&(Ge.buf[Ge.pos++]=127&De|((De>>>=7)?128:0),De&&(Ge.buf[Ge.pos++]=127&De)))))}(Ae,J)}(P,this):(this.realloc(4),this.buf[this.pos++]=127&P|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=P>>>7&127))))},writeSVarint:function(P){this.writeVarint(P<0?2*-P-1:2*P)},writeBoolean:function(P){this.writeVarint(!!P)},writeString:function(P){P=String(P),this.realloc(4*P.length),this.pos++;var V=this.pos;this.pos=function(fe,Ae,De){for(var Ge,it,mt=0;mt55295&&Ge<57344){if(!it){Ge>56319||mt+1===Ae.length?(fe[De++]=239,fe[De++]=191,fe[De++]=189):it=Ge;continue}if(Ge<56320){fe[De++]=239,fe[De++]=191,fe[De++]=189,it=Ge;continue}Ge=it-55296<<10|Ge-56320|65536,it=null}else it&&(fe[De++]=239,fe[De++]=191,fe[De++]=189,it=null);Ge<128?fe[De++]=Ge:(Ge<2048?fe[De++]=Ge>>6|192:(Ge<65536?fe[De++]=Ge>>12|224:(fe[De++]=Ge>>18|240,fe[De++]=Ge>>12&63|128),fe[De++]=Ge>>6&63|128),fe[De++]=63&Ge|128)}return De}(this.buf,P,this.pos);var J=this.pos-V;J>=128&&Cw(V,J,this),this.pos=V-1,this.writeVarint(J),this.pos+=J},writeFloat:function(P){this.realloc(4),Mw(this.buf,P,this.pos,!0,23,4),this.pos+=4},writeDouble:function(P){this.realloc(8),Mw(this.buf,P,this.pos,!0,52,8),this.pos+=8},writeBytes:function(P){var V=P.length;this.writeVarint(V),this.realloc(V);for(var J=0;J=128&&Cw(J,fe,this),this.pos=J-1,this.writeVarint(fe),this.pos+=fe},writeMessage:function(P,V,J){this.writeTag(P,ka.Bytes),this.writeRawMessage(V,J)},writePackedVarint:function(P,V){V.length&&this.writeMessage(P,eC,V)},writePackedSVarint:function(P,V){V.length&&this.writeMessage(P,tC,V)},writePackedBoolean:function(P,V){V.length&&this.writeMessage(P,iC,V)},writePackedFloat:function(P,V){V.length&&this.writeMessage(P,nC,V)},writePackedDouble:function(P,V){V.length&&this.writeMessage(P,rC,V)},writePackedFixed32:function(P,V){V.length&&this.writeMessage(P,aC,V)},writePackedSFixed32:function(P,V){V.length&&this.writeMessage(P,oC,V)},writePackedFixed64:function(P,V){V.length&&this.writeMessage(P,sC,V)},writePackedSFixed64:function(P,V){V.length&&this.writeMessage(P,lC,V)},writeBytesField:function(P,V){this.writeTag(P,ka.Bytes),this.writeBytes(V)},writeFixed32Field:function(P,V){this.writeTag(P,ka.Fixed32),this.writeFixed32(V)},writeSFixed32Field:function(P,V){this.writeTag(P,ka.Fixed32),this.writeSFixed32(V)},writeFixed64Field:function(P,V){this.writeTag(P,ka.Fixed64),this.writeFixed64(V)},writeSFixed64Field:function(P,V){this.writeTag(P,ka.Fixed64),this.writeSFixed64(V)},writeVarintField:function(P,V){this.writeTag(P,ka.Varint),this.writeVarint(V)},writeSVarintField:function(P,V){this.writeTag(P,ka.Varint),this.writeSVarint(V)},writeStringField:function(P,V){this.writeTag(P,ka.Bytes),this.writeString(V)},writeFloatField:function(P,V){this.writeTag(P,ka.Fixed32),this.writeFloat(V)},writeDoubleField:function(P,V){this.writeTag(P,ka.Fixed64),this.writeDouble(V)},writeBooleanField:function(P,V){this.writeVarintField(P,!!V)}};function uC(P,V,J){P===1&&J.readMessage(cC,V)}function cC(P,V,J){if(P===3){var fe=J.readMessage(fC,{}),Ae=fe.id,De=fe.bitmap,Ge=fe.width,it=fe.height,mt=fe.left,Ct=fe.top,Rt=fe.advance;V.push({id:Ae,bitmap:new Kh({width:Ge+6,height:it+6},De),metrics:{width:Ge,height:it,left:mt,top:Ct,advance:Rt}})}}function fC(P,V,J){P===1?V.id=J.readVarint():P===2?V.bitmap=J.readBytes():P===3?V.width=J.readVarint():P===4?V.height=J.readVarint():P===5?V.left=J.readSVarint():P===6?V.top=J.readSVarint():P===7&&(V.advance=J.readVarint())}function Lw(P){for(var V=0,J=0,fe=0,Ae=P;fe=0;Zt--){var Yt=Ge[Zt];if(!(Gt.w>Yt.w||Gt.h>Yt.h)){if(Gt.x=Yt.x,Gt.y=Yt.y,mt=Math.max(mt,Gt.y+Gt.h),it=Math.max(it,Gt.x+Gt.w),Gt.w===Yt.w&&Gt.h===Yt.h){var hn=Ge.pop();Zt0&&td>Ya&&(Ya=td)}else{var Bg=yi[Ji.fontStack],nd=Bg&&Bg[Fs];if(nd&&nd.rect)bc=nd.rect,As=nd.metrics;else{var Ng=Bi[Ji.fontStack],z0=Ng&&Ng[Fs];if(!z0)continue;As=z0.metrics}bl=(bi-Ji.scale)*fs}xc?(ti.verticalizable=!0,ba.push({glyph:Fs,imageName:Rf,x:$o,y:hs+bl,vertical:xc,scale:Ji.scale,fontStack:Ji.fontStack,sectionIndex:eo,metrics:As,rect:bc}),$o+=Zo*Ji.scale+wa):(ba.push({glyph:Fs,imageName:Rf,x:$o,y:hs+bl,vertical:xc,scale:Ji.scale,fontStack:Ji.fontStack,sectionIndex:eo,metrics:As,rect:bc}),$o+=As.advance*Ji.scale+wa)}if(ba.length!==0){var H1=$o-wa;es=Math.max(H1,es),dC(ba,0,ba.length-1,ts,Ya)}$o=0;var Vg=da*bi+Ya;Qa.lineOffset=Math.max(Ya,$i),hs+=Vg,zs=Math.max(Vg,zs),++Do}else hs+=da,++Do}var fp=hs-Sg,jg=D1(Ma),Ug=jg.horizontalAlign,F0=jg.verticalAlign;(function(G1,B0,rd,hp,Hg,Gg,dp,Wg,qg){var N0=(B0-rd)*Hg,V0=0;V0=Gg!==dp?-Wg*hp-Sg:(-hp*qg+.5)*dp;for(var id=0,j0=G1;id=0&&fe>=P&&Eg[this.text.charCodeAt(fe)];fe--)J--;this.text=this.text.substring(P,J),this.sectionIndex=this.sectionIndex.slice(P,J)},Ms.prototype.substring=function(P,V){var J=new Ms;return J.text=this.text.substring(P,V),J.sectionIndex=this.sectionIndex.slice(P,V),J.sections=this.sections,J},Ms.prototype.toString=function(){return this.text},Ms.prototype.getMaxScale=function(){var P=this;return this.sectionIndex.reduce(function(V,J){return Math.max(V,P.sections[J].scale)},0)},Ms.prototype.addTextSection=function(P,V){this.text+=P.text,this.sections.push(rp.forText(P.scale,P.fontStack||V));for(var J=this.sections.length-1,fe=0;fe=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var Eg={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},yl={};function Iw(P,V,J,fe,Ae,De){if(V.imageName){var Ge=fe[V.imageName];return Ge?Ge.displaySize[0]*V.scale*fs/De+Ae:0}var it=J[V.fontStack],mt=it&&it[P];return mt?mt.metrics.advance*V.scale+Ae:0}function Ow(P,V,J,fe){var Ae=Math.pow(P-V,2);return fe?P=0,Rt=0,Gt=0;Gt-J/2;){if(--Ge<0)return!1;it-=P[Ge].dist(De),De=P[Ge]}it+=P[Ge].dist(P[Ge+1]),Ge++;for(var mt=[],Ct=0;itfe;)Ct-=mt.shift().angleDelta;if(Ct>Ae)return!1;Ge++,it+=Gt.dist(Zt)}return!0}function Nw(P){for(var V=0,J=0;JCt){var hn=(Ct-mt)/Yt,Mn=Vr(Gt.x,Zt.x,hn),Nn=Vr(Gt.y,Zt.y,hn),Bn=new ip(Mn,Nn,Zt.angleTo(Gt),Rt);return Bn._round(),!Ge||Bw(P,Bn,it,Ge,V)?Bn:void 0}mt+=Yt}}function gC(P,V,J,fe,Ae,De,Ge,it,mt){var Ct=Vw(fe,De,Ge),Rt=jw(fe,Ae),Gt=Rt*Ge,Zt=P[0].x===0||P[0].x===mt||P[0].y===0||P[0].y===mt;return V-Gt=0&&er=0&&sr=0&&Zt+Ct<=Rt){var dr=new ip(er,sr,$n,hn);dr._round(),fe&&!Bw(P,dr,De,fe,Ae)||Yt.push(dr)}}Gt+=Bn}return it||Yt.length||Ge||(Yt=Uw(P,Gt/2,J,fe,Ae,De,Ge,!0,mt)),Yt}function Hw(P,V,J,fe,Ae){for(var De=[],Ge=0;Ge=fe&&Gt.x>=fe||(Rt.x>=fe?Rt=new a(fe,Rt.y+(Gt.y-Rt.y)*((fe-Rt.x)/(Gt.x-Rt.x)))._round():Gt.x>=fe&&(Gt=new a(fe,Rt.y+(Gt.y-Rt.y)*((fe-Rt.x)/(Gt.x-Rt.x)))._round()),Rt.y>=Ae&&Gt.y>=Ae||(Rt.y>=Ae?Rt=new a(Rt.x+(Gt.x-Rt.x)*((Ae-Rt.y)/(Gt.y-Rt.y)),Ae)._round():Gt.y>=Ae&&(Gt=new a(Rt.x+(Gt.x-Rt.x)*((Ae-Rt.y)/(Gt.y-Rt.y)),Ae)._round()),mt&&Rt.equals(mt[mt.length-1])||(mt=[Rt],De.push(mt)),mt.push(Gt)))))}return De}function Gw(P,V,J,fe){var Ae=[],De=P.image,Ge=De.pixelRatio,it=De.paddedRect.w-2,mt=De.paddedRect.h-2,Ct=P.right-P.left,Rt=P.bottom-P.top,Gt=De.stretchX||[[0,it]],Zt=De.stretchY||[[0,mt]],Yt=function(da,Ma){return da+Ma[1]-Ma[0]},hn=Gt.reduce(Yt,0),Mn=Zt.reduce(Yt,0),Nn=it-hn,Bn=mt-Mn,$n=0,Xn=hn,er=0,sr=Mn,dr=0,zr=Nn,Ar=0,Hr=Bn;if(De.content&&fe){var Qr=De.content;$n=Lg(Gt,0,Qr[0]),er=Lg(Zt,0,Qr[1]),Xn=Lg(Gt,Qr[0],Qr[2]),sr=Lg(Zt,Qr[1],Qr[3]),dr=Qr[0]-$n,Ar=Qr[1]-er,zr=Qr[2]-Qr[0]-Xn,Hr=Qr[3]-Qr[1]-sr}var pi=function(da,Ma,La,Ra){var wa=Ig(da.stretch-$n,Xn,Ct,P.left),Ao=Og(da.fixed-dr,zr,da.stretch,hn),Ha=Ig(Ma.stretch-er,sr,Rt,P.top),$o=Og(Ma.fixed-Ar,Hr,Ma.stretch,Mn),hs=Ig(La.stretch-$n,Xn,Ct,P.left),es=Og(La.fixed-dr,zr,La.stretch,hn),zs=Ig(Ra.stretch-er,sr,Rt,P.top),ts=Og(Ra.fixed-Ar,Hr,Ra.stretch,Mn),Do=new a(wa,Ha),ns=new a(hs,Ha),Yo=new a(hs,zs),Ro=new a(wa,zs),bi=new a(Ao/Ge,$o/Ge),$i=new a(es/Ge,ts/Ge),Qa=V*Math.PI/180;if(Qa){var ba=Math.sin(Qa),Ya=Math.cos(Qa),za=[Ya,-ba,ba,Ya];Do._matMult(za),ns._matMult(za),Ro._matMult(za),Yo._matMult(za)}var Ji=da.stretch+da.fixed,eo=La.stretch+La.fixed,Fs=Ma.stretch+Ma.fixed,bl=Ra.stretch+Ra.fixed;return{tl:Do,tr:ns,bl:Ro,br:Yo,tex:{x:De.paddedRect.x+1+Ji,y:De.paddedRect.y+1+Fs,w:eo-Ji,h:bl-Fs},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:bi,pixelOffsetBR:$i,minFontScaleX:zr/Ge/Ct,minFontScaleY:Hr/Ge/Rt,isSDF:J}};if(fe&&(De.stretchX||De.stretchY))for(var ri=Ww(Gt,Nn,hn),di=Ww(Zt,Bn,Mn),si=0;si0&&(Yt=Math.max(10,Yt),this.circleDiameter=Yt)}else{var hn=De.top*Ge-it,Mn=De.bottom*Ge+it,Nn=De.left*Ge-it,Bn=De.right*Ge+it,$n=De.collisionPadding;if($n&&(Nn-=$n[0]*Ge,hn-=$n[1]*Ge,Bn+=$n[2]*Ge,Mn+=$n[3]*Ge),Ct){var Xn=new a(Nn,hn),er=new a(Bn,hn),sr=new a(Nn,Mn),dr=new a(Bn,Mn),zr=Ct*Math.PI/180;Xn._rotate(zr),er._rotate(zr),sr._rotate(zr),dr._rotate(zr),Nn=Math.min(Xn.x,er.x,sr.x,dr.x),Bn=Math.max(Xn.x,er.x,sr.x,dr.x),hn=Math.min(Xn.y,er.y,sr.y,dr.y),Mn=Math.max(Xn.y,er.y,sr.y,dr.y)}P.emplaceBack(V.x,V.y,Nn,hn,Bn,Mn,J,fe,Ae)}this.boxEndIndex=P.length},ap=function(P,V){if(P===void 0&&(P=[]),V===void 0&&(V=vC),this.data=P,this.length=this.data.length,this.compare=V,this.length>0)for(var J=(this.length>>1)-1;J>=0;J--)this._down(J)};function vC(P,V){return PV?1:0}function yC(P,V,J){V===void 0&&(V=1),J===void 0&&(J=!1);for(var fe=1/0,Ae=1/0,De=-1/0,Ge=-1/0,it=P[0],mt=0;mtDe)&&(De=Ct.x),(!mt||Ct.y>Ge)&&(Ge=Ct.y)}var Rt=De-fe,Gt=Ge-Ae,Zt=Math.min(Rt,Gt),Yt=Zt/2,hn=new ap([],bC);if(Zt===0)return new a(fe,Ae);for(var Mn=fe;MnBn.d||!Bn.d)&&(Bn=Xn,J&&console.log("found best %d after %d probes",Math.round(1e4*Xn.d)/1e4,$n)),Xn.max-Bn.d<=V||(Yt=Xn.h/2,hn.push(new op(Xn.p.x-Yt,Xn.p.y-Yt,Yt,P)),hn.push(new op(Xn.p.x+Yt,Xn.p.y-Yt,Yt,P)),hn.push(new op(Xn.p.x-Yt,Xn.p.y+Yt,Yt,P)),hn.push(new op(Xn.p.x+Yt,Xn.p.y+Yt,Yt,P)),$n+=4)}return J&&(console.log("num probes: "+$n),console.log("best distance: "+Bn.d)),Bn.p}function bC(P,V){return V.max-P.max}function op(P,V,J,fe){this.p=new a(P,V),this.h=J,this.d=function(Ae,De){for(var Ge=!1,it=1/0,mt=0;mtAe.y!=hn.y>Ae.y&&Ae.x<(hn.x-Yt.x)*(Ae.y-Yt.y)/(hn.y-Yt.y)+Yt.x&&(Ge=!Ge),it=Math.min(it,mg(Ae,Yt,hn))}return(Ge?1:-1)*Math.sqrt(it)}(this.p,fe),this.max=this.d+this.h*Math.SQRT2}ap.prototype.push=function(P){this.data.push(P),this.length++,this._up(this.length-1)},ap.prototype.pop=function(){if(this.length!==0){var P=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),P}},ap.prototype.peek=function(){return this.data[0]},ap.prototype._up=function(P){for(var V=this.data,J=this.compare,fe=V[P];P>0;){var Ae=P-1>>1,De=V[Ae];if(J(fe,De)>=0)break;V[P]=De,P=Ae}V[P]=fe},ap.prototype._down=function(P){for(var V=this.data,J=this.compare,fe=this.length>>1,Ae=V[P];P=0)break;V[P]=Ge,P=De}V[P]=Ae};var z1=Number.POSITIVE_INFINITY;function qw(P,V){return V[1]!==z1?function(J,fe,Ae){var De=0,Ge=0;switch(fe=Math.abs(fe),Ae=Math.abs(Ae),J){case"top-right":case"top-left":case"top":Ge=Ae-7;break;case"bottom-right":case"bottom-left":case"bottom":Ge=7-Ae}switch(J){case"top-right":case"bottom-right":case"right":De=-fe;break;case"top-left":case"bottom-left":case"left":De=fe}return[De,Ge]}(P,V[0],V[1]):function(J,fe){var Ae=0,De=0;fe<0&&(fe=0);var Ge=fe/Math.sqrt(2);switch(J){case"top-right":case"top-left":De=Ge-7;break;case"bottom-right":case"bottom-left":De=7-Ge;break;case"bottom":De=7-fe;break;case"top":De=fe-7}switch(J){case"top-right":case"bottom-right":Ae=-Ge;break;case"top-left":case"bottom-left":Ae=Ge;break;case"left":Ae=fe;break;case"right":Ae=-fe}return[Ae,De]}(P,V[0])}function F1(P){switch(P){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}var yh=32640;function $w(P,V,J,fe,Ae,De,Ge,it,mt,Ct,Rt,Gt,Zt,Yt,hn){var Mn=function(er,sr,dr,zr,Ar,Hr,Qr,pi){for(var ri=zr.layout.get("text-rotate").evaluate(Hr,{})*Math.PI/180,di=[],si=0,ti=sr.positionedLines;siyh&&O(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):Nn.kind==="composite"&&((Bn=[Jc*Yt.compositeTextSizes[0].evaluate(Ge,{},hn),Jc*Yt.compositeTextSizes[1].evaluate(Ge,{},hn)])[0]>yh||Bn[1]>yh)&&O(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),P.addSymbols(P.text,Mn,Bn,it,De,Ge,Ct,V,mt.lineStartIndex,mt.lineLength,Zt,hn);for(var $n=0,Xn=Rt;$n=0;Ge--)if(fe.dist(De[Ge])0)&&(De.value.kind!=="constant"||De.value.value.length>0),Ct=it.value.kind!=="constant"||!!it.value.value||Object.keys(it.parameters).length>0,Rt=Ae.get("symbol-sort-key");if(this.features=[],mt||Ct){for(var Gt=V.iconDependencies,Zt=V.glyphDependencies,Yt=V.availableImages,hn=new Yi(this.zoom),Mn=0,Nn=P;Mn=0;for(var yi=0,_a=Ar.sections;yi<_a.length;yi+=1){var fi=_a[yi];if(fi.image)Gt[fi.image.name]=!0;else{var da=Bu(Ar.toString()),Ma=fi.fontStack||ti,La=Zt[Ma]=Zt[Ma]||{};this.calculateGlyphDependencies(fi.text,La,Bi,this.allowVerticalPlacement,da)}}}}}}Ae.get("symbol-placement")==="line"&&(this.features=function(Ra){var wa={},Ao={},Ha=[],$o=0;function hs(Ya){Ha.push(Ra[Ya]),$o++}function es(Ya,za,Ji){var eo=Ao[Ya];return delete Ao[Ya],Ao[za]=eo,Ha[eo].geometry[0].pop(),Ha[eo].geometry[0]=Ha[eo].geometry[0].concat(Ji[0]),eo}function zs(Ya,za,Ji){var eo=wa[za];return delete wa[za],wa[Ya]=eo,Ha[eo].geometry[0].shift(),Ha[eo].geometry[0]=Ji[0].concat(Ha[eo].geometry[0]),eo}function ts(Ya,za,Ji){var eo=Ji?za[0][za[0].length-1]:za[0][0];return Ya+":"+eo.x+":"+eo.y}for(var Do=0;Do=0;it--)De[it]={x:V[it].x,y:V[it].y,tileUnitDistanceFromAnchor:Ae},it>0&&(Ae+=V[it-1].dist(V[it]));for(var mt=0;mt0},ha.prototype.hasIconData=function(){return this.icon.segments.get().length>0},ha.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},ha.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},ha.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},ha.prototype.addIndicesForPlacedSymbol=function(P,V){for(var J=P.placedSymbolArray.get(V),fe=J.vertexStartIndex+4*J.numGlyphs,Ae=J.vertexStartIndex;Ae1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(P),this.sortedAngle=P,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var J=0,fe=this.symbolInstanceIndexes;J=0&&mt.indexOf(Ge)===it&&V.addIndicesForPlacedSymbol(V.text,Ge)}),De.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,De.verticalPlacedTextSymbolIndex),De.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,De.placedIconSymbolIndex),De.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,De.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Br("SymbolBucket",ha,{omit:["layers","collisionBoxArray","features","compareText"]}),ha.MAX_GLYPHS=65535,ha.addDynamicAttributes=B1;var kC=new _o({"symbol-placement":new $r(Oe.layout_symbol["symbol-placement"]),"symbol-spacing":new $r(Oe.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new $r(Oe.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new oi(Oe.layout_symbol["symbol-sort-key"]),"symbol-z-order":new $r(Oe.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new $r(Oe.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new $r(Oe.layout_symbol["icon-ignore-placement"]),"icon-optional":new $r(Oe.layout_symbol["icon-optional"]),"icon-rotation-alignment":new $r(Oe.layout_symbol["icon-rotation-alignment"]),"icon-size":new oi(Oe.layout_symbol["icon-size"]),"icon-text-fit":new $r(Oe.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new $r(Oe.layout_symbol["icon-text-fit-padding"]),"icon-image":new oi(Oe.layout_symbol["icon-image"]),"icon-rotate":new oi(Oe.layout_symbol["icon-rotate"]),"icon-padding":new $r(Oe.layout_symbol["icon-padding"]),"icon-keep-upright":new $r(Oe.layout_symbol["icon-keep-upright"]),"icon-offset":new oi(Oe.layout_symbol["icon-offset"]),"icon-anchor":new oi(Oe.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new $r(Oe.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new $r(Oe.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new $r(Oe.layout_symbol["text-rotation-alignment"]),"text-field":new oi(Oe.layout_symbol["text-field"]),"text-font":new oi(Oe.layout_symbol["text-font"]),"text-size":new oi(Oe.layout_symbol["text-size"]),"text-max-width":new oi(Oe.layout_symbol["text-max-width"]),"text-line-height":new $r(Oe.layout_symbol["text-line-height"]),"text-letter-spacing":new oi(Oe.layout_symbol["text-letter-spacing"]),"text-justify":new oi(Oe.layout_symbol["text-justify"]),"text-radial-offset":new oi(Oe.layout_symbol["text-radial-offset"]),"text-variable-anchor":new $r(Oe.layout_symbol["text-variable-anchor"]),"text-anchor":new oi(Oe.layout_symbol["text-anchor"]),"text-max-angle":new $r(Oe.layout_symbol["text-max-angle"]),"text-writing-mode":new $r(Oe.layout_symbol["text-writing-mode"]),"text-rotate":new oi(Oe.layout_symbol["text-rotate"]),"text-padding":new $r(Oe.layout_symbol["text-padding"]),"text-keep-upright":new $r(Oe.layout_symbol["text-keep-upright"]),"text-transform":new oi(Oe.layout_symbol["text-transform"]),"text-offset":new oi(Oe.layout_symbol["text-offset"]),"text-allow-overlap":new $r(Oe.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new $r(Oe.layout_symbol["text-ignore-placement"]),"text-optional":new $r(Oe.layout_symbol["text-optional"])}),N1={paint:new _o({"icon-opacity":new oi(Oe.paint_symbol["icon-opacity"]),"icon-color":new oi(Oe.paint_symbol["icon-color"]),"icon-halo-color":new oi(Oe.paint_symbol["icon-halo-color"]),"icon-halo-width":new oi(Oe.paint_symbol["icon-halo-width"]),"icon-halo-blur":new oi(Oe.paint_symbol["icon-halo-blur"]),"icon-translate":new $r(Oe.paint_symbol["icon-translate"]),"icon-translate-anchor":new $r(Oe.paint_symbol["icon-translate-anchor"]),"text-opacity":new oi(Oe.paint_symbol["text-opacity"]),"text-color":new oi(Oe.paint_symbol["text-color"],{runtimeType:Nt,getOverride:function(P){return P.textColor},hasOverride:function(P){return!!P.textColor}}),"text-halo-color":new oi(Oe.paint_symbol["text-halo-color"]),"text-halo-width":new oi(Oe.paint_symbol["text-halo-width"]),"text-halo-blur":new oi(Oe.paint_symbol["text-halo-blur"]),"text-translate":new $r(Oe.paint_symbol["text-translate"]),"text-translate-anchor":new $r(Oe.paint_symbol["text-translate-anchor"])}),layout:kC},lp=function(P){this.type=P.property.overrides?P.property.overrides.runtimeType:yt,this.defaultValue=P};lp.prototype.evaluate=function(P){if(P.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(P.formattedSection))return V.getOverride(P.formattedSection)}return P.feature&&P.featureState?this.defaultValue.evaluate(P.feature,P.featureState):this.defaultValue.property.specification.default},lp.prototype.eachChild=function(P){this.defaultValue.isConstant()||P(this.defaultValue.value._styleExpression.expression)},lp.prototype.outputDefined=function(){return!1},lp.prototype.serialize=function(){return null},Br("FormatSectionOverride",lp,{omit:["defaultValue"]});var MC=function(P){function V(J){P.call(this,J,N1)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.recalculate=function(J,fe){if(P.prototype.recalculate.call(this,J,fe),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Ae=this.layout.get("text-writing-mode");if(Ae){for(var De=[],Ge=0,it=Ae;Ge",targetMapId:fe,sourceMapId:De.mapId})}}},up.prototype.receive=function(P){var V=P.data,J=V.id;if(J&&(!V.targetMapId||this.mapId===V.targetMapId))if(V.type===""){delete this.tasks[J];var fe=this.cancelCallbacks[J];delete this.cancelCallbacks[J],fe&&fe()}else z()||V.mustQueue?(this.tasks[J]=V,this.taskQueue.push(J),this.invoker.trigger()):this.processTask(J,V)},up.prototype.process=function(){if(this.taskQueue.length){var P=this.taskQueue.shift(),V=this.tasks[P];delete this.tasks[P],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(P,V)}},up.prototype.processTask=function(P,V){var J=this;if(V.type===""){var fe=this.callbacks[P];delete this.callbacks[P],fe&&(V.error?fe(zu(V.error)):fe(null,zu(V.data)))}else{var Ae=!1,De=N(this.globalScope)?void 0:[],Ge=V.hasCallback?function(Rt,Gt){Ae=!0,delete J.cancelCallbacks[P],J.target.postMessage({id:P,type:"",sourceMapId:J.mapId,error:Rt?Ru(Rt):null,data:Ru(Gt,De)},De)}:function(Rt){Ae=!0},it=null,mt=zu(V.data);if(this.parent[V.type])it=this.parent[V.type](V.sourceMapId,mt,Ge);else if(this.parent.getWorkerSource){var Ct=V.type.split(".");it=this.parent.getWorkerSource(V.sourceMapId,Ct[0],mt.source)[Ct[1]](mt,Ge)}else Ge(new Error("Could not find function "+V.type));!Ae&&it&&it.cancel&&(this.cancelCallbacks[P]=it.cancel)}},up.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var ko=function(P,V){P&&(V?this.setSouthWest(P).setNorthEast(V):P.length===4?this.setSouthWest([P[0],P[1]]).setNorthEast([P[2],P[3]]):this.setSouthWest(P[0]).setNorthEast(P[1]))};ko.prototype.setNorthEast=function(P){return this._ne=P instanceof Da?new Da(P.lng,P.lat):Da.convert(P),this},ko.prototype.setSouthWest=function(P){return this._sw=P instanceof Da?new Da(P.lng,P.lat):Da.convert(P),this},ko.prototype.extend=function(P){var V,J,fe=this._sw,Ae=this._ne;if(P instanceof Da)V=P,J=P;else{if(!(P instanceof ko)){if(Array.isArray(P)){if(P.length===4||P.every(Array.isArray)){var De=P;return this.extend(ko.convert(De))}var Ge=P;return this.extend(Da.convert(Ge))}return this}if(V=P._sw,J=P._ne,!V||!J)return this}return fe||Ae?(fe.lng=Math.min(V.lng,fe.lng),fe.lat=Math.min(V.lat,fe.lat),Ae.lng=Math.max(J.lng,Ae.lng),Ae.lat=Math.max(J.lat,Ae.lat)):(this._sw=new Da(V.lng,V.lat),this._ne=new Da(J.lng,J.lat)),this},ko.prototype.getCenter=function(){return new Da((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},ko.prototype.getSouthWest=function(){return this._sw},ko.prototype.getNorthEast=function(){return this._ne},ko.prototype.getNorthWest=function(){return new Da(this.getWest(),this.getNorth())},ko.prototype.getSouthEast=function(){return new Da(this.getEast(),this.getSouth())},ko.prototype.getWest=function(){return this._sw.lng},ko.prototype.getSouth=function(){return this._sw.lat},ko.prototype.getEast=function(){return this._ne.lng},ko.prototype.getNorth=function(){return this._ne.lat},ko.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},ko.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},ko.prototype.isEmpty=function(){return!(this._sw&&this._ne)},ko.prototype.contains=function(P){var V=Da.convert(P),J=V.lng,fe=V.lat,Ae=this._sw.lat<=fe&&fe<=this._ne.lat,De=this._sw.lng<=J&&J<=this._ne.lng;return this._sw.lng>this._ne.lng&&(De=this._sw.lng>=J&&J>=this._ne.lng),Ae&&De},ko.convert=function(P){return!P||P instanceof ko?P:new ko(P)};var e3=63710088e-1,Da=function(P,V){if(isNaN(P)||isNaN(V))throw new Error("Invalid LngLat object: ("+P+", "+V+")");if(this.lng=+P,this.lat=+V,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Da.prototype.wrap=function(){return new Da(f(this.lng,-180,180),this.lat)},Da.prototype.toArray=function(){return[this.lng,this.lat]},Da.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Da.prototype.distanceTo=function(P){var V=Math.PI/180,J=this.lat*V,fe=P.lat*V,Ae=Math.sin(J)*Math.sin(fe)+Math.cos(J)*Math.cos(fe)*Math.cos((P.lng-this.lng)*V);return e3*Math.acos(Math.min(Ae,1))},Da.prototype.toBounds=function(P){P===void 0&&(P=0);var V=360*P/40075017,J=V/Math.cos(Math.PI/180*this.lat);return new ko(new Da(this.lng-J,this.lat-V),new Da(this.lng+J,this.lat+V))},Da.convert=function(P){if(P instanceof Da)return P;if(Array.isArray(P)&&(P.length===2||P.length===3))return new Da(Number(P[0]),Number(P[1]));if(!Array.isArray(P)&&typeof P=="object"&&P!==null)return new Da(Number("lng"in P?P.lng:P.lon),Number(P.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 t3=2*Math.PI*e3;function n3(P){return t3*Math.cos(P*Math.PI/180)}function r3(P){return(180+P)/360}function i3(P){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+P*Math.PI/360)))/360}function a3(P,V){return P/n3(V)}function j1(P){var V=180-360*P;return 360/Math.PI*Math.atan(Math.exp(V*Math.PI/180))-90}var Qh=function(P,V,J){J===void 0&&(J=0),this.x=+P,this.y=+V,this.z=+J};Qh.fromLngLat=function(P,V){V===void 0&&(V=0);var J=Da.convert(P);return new Qh(r3(J.lng),i3(J.lat),a3(V,J.lat))},Qh.prototype.toLngLat=function(){return new Da(360*this.x-180,j1(this.y))},Qh.prototype.toAltitude=function(){return P=this.z,V=this.y,P*n3(j1(V));var P,V},Qh.prototype.meterInMercatorCoordinateUnits=function(){return 1/t3*(P=j1(this.y),1/Math.cos(P*Math.PI/180));var P};var ed=function(P,V,J){this.z=P,this.x=V,this.y=J,this.key=R0(0,P,P,V,J)};ed.prototype.equals=function(P){return this.z===P.z&&this.x===P.x&&this.y===P.y},ed.prototype.url=function(P,V){var J,fe,Ae,De,Ge,it=(J=this.x,fe=this.y,Ae=this.z,De=Qw(256*J,256*(fe=Math.pow(2,Ae)-fe-1),Ae),Ge=Qw(256*(J+1),256*(fe+1),Ae),De[0]+","+De[1]+","+Ge[0]+","+Ge[1]),mt=function(Ct,Rt,Gt){for(var Zt,Yt="",hn=Ct;hn>0;hn--)Yt+=(Rt&(Zt=1<this.canonical.z?new Mo(P,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new Mo(P,this.wrap,P,this.canonical.x>>V,this.canonical.y>>V)},Mo.prototype.calculateScaledKey=function(P,V){var J=this.canonical.z-P;return P>this.canonical.z?R0(this.wrap*+V,P,this.canonical.z,this.canonical.x,this.canonical.y):R0(this.wrap*+V,P,P,this.canonical.x>>J,this.canonical.y>>J)},Mo.prototype.isChildOf=function(P){if(P.wrap!==this.wrap)return!1;var V=this.canonical.z-P.canonical.z;return P.overscaledZ===0||P.overscaledZ>V&&P.canonical.y===this.canonical.y>>V},Mo.prototype.children=function(P){if(this.overscaledZ>=P)return[new Mo(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,J=2*this.canonical.x,fe=2*this.canonical.y;return[new Mo(V,this.wrap,V,J,fe),new Mo(V,this.wrap,V,J+1,fe),new Mo(V,this.wrap,V,J,fe+1),new Mo(V,this.wrap,V,J+1,fe+1)]},Mo.prototype.isLessThan=function(P){return this.wrapP.wrap)&&(this.overscaledZP.overscaledZ)&&(this.canonical.xP.canonical.x)&&this.canonical.y=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(V+1)*this.stride+(P+1)},Pf.prototype._unpackMapbox=function(P,V,J){return(256*P*256+256*V+J)/10-1e4},Pf.prototype._unpackTerrarium=function(P,V,J){return 256*P+V+J/256-32768},Pf.prototype.getPixels=function(){return new Ks({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Pf.prototype.backfillBorder=function(P,V,J){if(this.dim!==P.dim)throw new Error("dem dimension mismatch");var fe=V*this.dim,Ae=V*this.dim+this.dim,De=J*this.dim,Ge=J*this.dim+this.dim;switch(V){case-1:fe=Ae-1;break;case 1:Ae=fe+1}switch(J){case-1:De=Ge-1;break;case 1:Ge=De+1}for(var it=-V*this.dim,mt=-J*this.dim,Ct=De;Ct=0&&Rt[3]>=0&&it.insert(Ge,Rt[0],Rt[1],Rt[2],Rt[3])}},Df.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new ep.VectorTile(new kg(this.rawTileData)).layers,this.sourceLayerCoder=new zg(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Df.prototype.query=function(P,V,J,fe){var Ae=this;this.loadVTLayers();for(var De=P.params||{},Ge=hi/P.tileSize/P.scale,it=pc(De.filter),mt=P.queryGeometry,Ct=P.queryPadding*Ge,Rt=l3(mt),Gt=this.grid.query(Rt.minX-Ct,Rt.minY-Ct,Rt.maxX+Ct,Rt.maxY+Ct),Zt=l3(P.cameraQueryGeometry),Yt=0,hn=this.grid3D.query(Zt.minX-Ct,Zt.minY-Ct,Zt.maxX+Ct,Zt.maxY+Ct,function(er,sr,dr,zr){return function(Ar,Hr,Qr,pi,ri){for(var di=0,si=Ar;di=ti.x&&ri>=ti.y)return!0}var Bi=[new a(Hr,Qr),new a(Hr,ri),new a(pi,ri),new a(pi,Qr)];if(Ar.length>2){for(var yi=0,_a=Bi;yi<_a.length;yi+=1)if(gh(Ar,_a[yi]))return!0}for(var fi=0;fi=0)return!0;return!1}(De,Gt)){var Zt=this.sourceLayerCoder.decode(J),Yt=this.vtLayers[Zt].feature(fe);if(Ae.filter(new Yi(this.tileID.overscaledZ),Yt))for(var hn=this.getId(Yt,Zt),Mn=0;Mnfe)Ae=!1;else if(V)if(this.expirationTimege&&(P.getActor().send("enforceCacheSizeLimit",je),st=0)},i.clamp=h,i.clearTileCache=function(P){var V=self.caches.delete(ze);P&&V.catch(P).then(function(){return P()})},i.clipLine=Hw,i.clone=function(P){var V=new Nl(16);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V[3]=P[3],V[4]=P[4],V[5]=P[5],V[6]=P[6],V[7]=P[7],V[8]=P[8],V[9]=P[9],V[10]=P[10],V[11]=P[11],V[12]=P[12],V[13]=P[13],V[14]=P[14],V[15]=P[15],V},i.clone$1=L,i.clone$2=function(P){var V=new Nl(3);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V},i.collisionCircleLayout=J8,i.config=Z,i.create=function(){var P=new Nl(16);return Nl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[11]=0,P[12]=0,P[13]=0,P[14]=0),P[0]=1,P[5]=1,P[10]=1,P[15]=1,P},i.create$1=function(){var P=new Nl(9);return Nl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[5]=0,P[6]=0,P[7]=0),P[0]=1,P[4]=1,P[8]=1,P},i.create$2=function(){var P=new Nl(4);return Nl!=Float32Array&&(P[1]=0,P[2]=0),P[0]=1,P[3]=1,P},i.createCommonjsModule=M,i.createExpression=lc,i.createLayout=ua,i.createStyleLayer=function(P){return P.type==="custom"?new LC(P):new IC[P.type](P)},i.cross=function(P,V,J){var fe=V[0],Ae=V[1],De=V[2],Ge=J[0],it=J[1],mt=J[2];return P[0]=Ae*mt-De*it,P[1]=De*Ge-fe*mt,P[2]=fe*it-Ae*Ge,P},i.deepEqual=function P(V,J){if(Array.isArray(V)){if(!Array.isArray(J)||V.length!==J.length)return!1;for(var fe=0;fe0&&(De=1/Math.sqrt(De)),P[0]=V[0]*De,P[1]=V[1]*De,P[2]=V[2]*De,P},i.number=Vr,i.offscreenCanvasSupported=ot,i.ortho=function(P,V,J,fe,Ae,De,Ge){var it=1/(V-J),mt=1/(fe-Ae),Ct=1/(De-Ge);return P[0]=-2*it,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=-2*mt,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=2*Ct,P[11]=0,P[12]=(V+J)*it,P[13]=(Ae+fe)*mt,P[14]=(Ge+De)*Ct,P[15]=1,P},i.parseGlyphPBF=function(P){return new kg(P).readFields(uC,[])},i.pbf=kg,i.performSymbolLayout=function(P,V,J,fe,Ae,De,Ge){P.createArrays();var it=512*P.overscaling;P.tilePixelRatio=hi/it,P.compareText={},P.iconsNeedLinear=!1;var mt=P.layers[0].layout,Ct=P.layers[0]._unevaluatedLayout._values,Rt={};if(P.textSizeData.kind==="composite"){var Gt=P.textSizeData,Zt=Gt.minZoom,Yt=Gt.maxZoom;Rt.compositeTextSizes=[Ct["text-size"].possiblyEvaluate(new Yi(Zt),Ge),Ct["text-size"].possiblyEvaluate(new Yi(Yt),Ge)]}if(P.iconSizeData.kind==="composite"){var hn=P.iconSizeData,Mn=hn.minZoom,Nn=hn.maxZoom;Rt.compositeIconSizes=[Ct["icon-size"].possiblyEvaluate(new Yi(Mn),Ge),Ct["icon-size"].possiblyEvaluate(new Yi(Nn),Ge)]}Rt.layoutTextSize=Ct["text-size"].possiblyEvaluate(new Yi(P.zoom+1),Ge),Rt.layoutIconSize=Ct["icon-size"].possiblyEvaluate(new Yi(P.zoom+1),Ge),Rt.textMaxSize=Ct["text-size"].possiblyEvaluate(new Yi(18));for(var Bn=mt.get("text-line-height")*fs,$n=mt.get("text-rotation-alignment")==="map"&&mt.get("symbol-placement")!=="point",Xn=mt.get("text-keep-upright"),er=mt.get("text-size"),sr=function(){var Ar=zr[dr],Hr=mt.get("text-font").evaluate(Ar,{},Ge).join(","),Qr=er.evaluate(Ar,{},Ge),pi=Rt.layoutTextSize.evaluate(Ar,{},Ge),ri=Rt.layoutIconSize.evaluate(Ar,{},Ge),di={horizontal:{},vertical:void 0},si=Ar.text,ti=[0,0];if(si){var Bi=si.toString(),yi=mt.get("text-letter-spacing").evaluate(Ar,{},Ge)*fs,_a=function(bi){for(var $i=0,Qa=bi;$i=hi||G0.y<0||G0.y>=hi||function(ao,_c,DC,xh,X1,p3,$g,Qc,Yg,W0,Zg,Xg,K1,m3,q0,g3,v3,y3,b3,x3,jl,Kg,_3,ef,RC){var w3,od,pp,mp,gp,vp=ao.addToLineVertexArray(_c,DC),T3=0,k3=0,M3=0,A3=0,J1=-1,Q1=-1,zf={},S3=Fn(""),eb=0,tb=0;if(Qc._unevaluatedLayout.getValue("text-radial-offset")===void 0?(eb=(w3=Qc.layout.get("text-offset").evaluate(jl,{},ef).map(function(Y0){return Y0*fs}))[0],tb=w3[1]):(eb=Qc.layout.get("text-radial-offset").evaluate(jl,{},ef)*fs,tb=z1),ao.allowVerticalPlacement&&xh.vertical){var C3=Qc.layout.get("text-rotate").evaluate(jl,{},ef)+90,zC=xh.vertical;mp=new Pg(Yg,_c,W0,Zg,Xg,zC,K1,m3,q0,C3),$g&&(gp=new Pg(Yg,_c,W0,Zg,Xg,$g,v3,y3,q0,C3))}if(X1){var nb=Qc.layout.get("icon-rotate").evaluate(jl,{}),E3=Qc.layout.get("icon-text-fit")!=="none",L3=Gw(X1,nb,_3,E3),rb=$g?Gw($g,nb,_3,E3):void 0;pp=new Pg(Yg,_c,W0,Zg,Xg,X1,v3,y3,!1,nb),T3=4*L3.length;var I3=ao.iconSizeData,$0=null;I3.kind==="source"?($0=[Jc*Qc.layout.get("icon-size").evaluate(jl,{})])[0]>yh&&O(ao.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):I3.kind==="composite"&&(($0=[Jc*Kg.compositeIconSizes[0].evaluate(jl,{},ef),Jc*Kg.compositeIconSizes[1].evaluate(jl,{},ef)])[0]>yh||$0[1]>yh)&&O(ao.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),ao.addSymbols(ao.icon,L3,$0,x3,b3,jl,!1,_c,vp.lineStartIndex,vp.lineLength,-1,ef),J1=ao.icon.placedSymbolArray.length-1,rb&&(k3=4*rb.length,ao.addSymbols(ao.icon,rb,$0,x3,b3,jl,Vl.vertical,_c,vp.lineStartIndex,vp.lineLength,-1,ef),Q1=ao.icon.placedSymbolArray.length-1)}for(var O3 in xh.horizontal){var Jg=xh.horizontal[O3];if(!od){S3=Fn(Jg.text);var FC=Qc.layout.get("text-rotate").evaluate(jl,{},ef);od=new Pg(Yg,_c,W0,Zg,Xg,Jg,K1,m3,q0,FC)}var P3=Jg.positionedLines.length===1;if(M3+=$w(ao,_c,Jg,p3,Qc,q0,jl,g3,vp,xh.vertical?Vl.horizontal:Vl.horizontalOnly,P3?Object.keys(xh.horizontal):[O3],zf,J1,Kg,ef),P3)break}xh.vertical&&(A3+=$w(ao,_c,xh.vertical,p3,Qc,q0,jl,g3,vp,Vl.vertical,["vertical"],zf,Q1,Kg,ef));var BC=od?od.boxStartIndex:ao.collisionBoxArray.length,NC=od?od.boxEndIndex:ao.collisionBoxArray.length,VC=mp?mp.boxStartIndex:ao.collisionBoxArray.length,jC=mp?mp.boxEndIndex:ao.collisionBoxArray.length,UC=pp?pp.boxStartIndex:ao.collisionBoxArray.length,HC=pp?pp.boxEndIndex:ao.collisionBoxArray.length,GC=gp?gp.boxStartIndex:ao.collisionBoxArray.length,WC=gp?gp.boxEndIndex:ao.collisionBoxArray.length,tf=-1,Qg=function(Y0,R3){return Y0&&Y0.circleDiameter?Math.max(Y0.circleDiameter,R3):R3};tf=Qg(od,tf),tf=Qg(mp,tf),tf=Qg(pp,tf);var D3=(tf=Qg(gp,tf))>-1?1:0;D3&&(tf*=RC/fs),ao.glyphOffsetArray.length>=ha.MAX_GLYPHS&&O("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),jl.sortKey!==void 0&&ao.addToSortKeyRanges(ao.symbolInstances.length,jl.sortKey),ao.symbolInstances.emplaceBack(_c.x,_c.y,zf.right>=0?zf.right:-1,zf.center>=0?zf.center:-1,zf.left>=0?zf.left:-1,zf.vertical||-1,J1,Q1,S3,BC,NC,VC,jC,UC,HC,GC,WC,W0,M3,A3,T3,k3,D3,0,K1,eb,tb,tf)}(bi,G0,PC,Qa,ba,Ya,Rf,bi.layers[0],bi.collisionBoxArray,$i.index,$i.sourceLayerIndex,bi.index,Bg,H1,jg,Fs,Ng,Vg,Ug,xc,$i,za,bl,As,Ji)};if(F0==="line")for(var hp=0,Hg=Hw($i.geometry,0,0,hi,hi);hp1){var j0=mC(id,fp,Qa.vertical||ju,ba,Uu,nd);j0&&rd(id,j0)}}else if($i.type==="Polygon")for(var ad=0,U0=S1($i.geometry,0);ad=An.maxzoom||An.visibility!=="none"&&(c(un,this.zoom,We),(Lt[An.id]=An.createBucket({index:Qe.bucketLayerIDs.length,layers:un,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Nt,sourceID:this.source})).populate($t,yt,this.tileID.canonical),Qe.bucketLayerIDs.push(un.map(function(dn){return dn.id})))}}}var Yn=i.mapObject(yt.glyphDependencies,function(dn){return Object.keys(dn).map(Number)});Object.keys(Yn).length?nt.send("getGlyphs",{uid:this.uid,stacks:Yn},function(dn,pn){ut||(ut=dn,pt=pn,Tn.call(Oe))}):pt={};var kn=Object.keys(yt.iconDependencies);kn.length?nt.send("getImages",{icons:kn,source:this.source,tileID:this.tileID,type:"icons"},function(dn,pn){ut||(ut=dn,_t=pn,Tn.call(Oe))}):_t={};var sn=Object.keys(yt.patternDependencies);function Tn(){if(ut)return ht(ut);if(pt&&_t&&It){var dn=new u(pt),pn=new i.ImageAtlas(_t,It);for(var Rn in Lt){var In=Lt[Rn];In instanceof i.SymbolBucket?(c(In.layers,this.zoom,We),i.performSymbolLayout(In,pt,dn.positions,_t,pn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):In.hasPattern&&(In instanceof i.LineBucket||In instanceof i.FillBucket||In instanceof i.FillExtrusionBucket)&&(c(In.layers,this.zoom,We),In.addFeatures(yt,this.tileID.canonical,pn.patternPositions))}this.status="done",ht(null,{buckets:i.values(Lt).filter(function(jn){return!jn.isEmpty()}),featureIndex:Qe,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:dn.image,imageAtlas:pn,glyphMap:this.returnDependencies?pt:null,iconMap:this.returnDependencies?_t:null,glyphPositions:this.returnDependencies?dn.positions:null})}}sn.length?nt.send("getImages",{icons:sn,source:this.source,tileID:this.tileID,type:"patterns"},function(dn,pn){ut||(ut=dn,It=pn,Tn.call(Oe))}):It={},Tn.call(this)};var l=function(Ke,Je,We,nt){this.actor=Ke,this.layerIndex=Je,this.availableImages=We,this.loadVectorData=nt||s,this.loading={},this.loaded={}};l.prototype.loadTile=function(Ke,Je){var We=this,nt=Ke.uid;this.loading||(this.loading={});var ht=!!(Ke&&Ke.request&&Ke.request.collectResourceTiming)&&new i.RequestPerformance(Ke.request),Oe=this.loading[nt]=new a(Ke);Oe.abort=this.loadVectorData(Ke,function(Ne,Qe){if(delete We.loading[nt],Ne||!Qe)return Oe.status="done",We.loaded[nt]=Oe,Je(Ne);var ut=Qe.rawData,pt={};Qe.expires&&(pt.expires=Qe.expires),Qe.cacheControl&&(pt.cacheControl=Qe.cacheControl);var _t={};if(ht){var It=ht.finish();It&&(_t.resourceTiming=JSON.parse(JSON.stringify(It)))}Oe.vectorTile=Qe.vectorTile,Oe.parse(Qe.vectorTile,We.layerIndex,We.availableImages,We.actor,function(Lt,yt){if(Lt||!yt)return Je(Lt);Je(null,i.extend({rawTileData:ut.slice(0)},yt,pt,_t))}),We.loaded=We.loaded||{},We.loaded[nt]=Oe})},l.prototype.reloadTile=function(Ke,Je){var We=this,nt=this.loaded,ht=Ke.uid,Oe=this;if(nt&&nt[ht]){var Ne=nt[ht];Ne.showCollisionBoxes=Ke.showCollisionBoxes;var Qe=function(ut,pt){var _t=Ne.reloadCallback;_t&&(delete Ne.reloadCallback,Ne.parse(Ne.vectorTile,Oe.layerIndex,We.availableImages,Oe.actor,_t)),Je(ut,pt)};Ne.status==="parsing"?Ne.reloadCallback=Qe:Ne.status==="done"&&(Ne.vectorTile?Ne.parse(Ne.vectorTile,this.layerIndex,this.availableImages,this.actor,Qe):Qe())}},l.prototype.abortTile=function(Ke,Je){var We=this.loading,nt=Ke.uid;We&&We[nt]&&We[nt].abort&&(We[nt].abort(),delete We[nt]),Je()},l.prototype.removeTile=function(Ke,Je){var We=this.loaded,nt=Ke.uid;We&&We[nt]&&delete We[nt],Je()};var h=i.window.ImageBitmap,f=function(){this.loaded={}};f.prototype.loadTile=function(Ke,Je){var We=Ke.uid,nt=Ke.encoding,ht=Ke.rawImageData,Oe=h&&ht instanceof h?this.getImageData(ht):ht,Ne=new i.DEMData(We,Oe,nt);this.loaded=this.loaded||{},this.loaded[We]=Ne,Je(null,Ne)},f.prototype.getImageData=function(Ke){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(Ke.width,Ke.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=Ke.width,this.offscreenCanvas.height=Ke.height,this.offscreenCanvasContext.drawImage(Ke,0,0,Ke.width,Ke.height);var Je=this.offscreenCanvasContext.getImageData(-1,-1,Ke.width+2,Ke.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new i.RGBAImage({width:Je.width,height:Je.height},Je.data)},f.prototype.removeTile=function(Ke){var Je=this.loaded,We=Ke.uid;Je&&Je[We]&&delete Je[We]};var m=function Ke(Je,We){var nt,ht=Je&&Je.type;if(ht==="FeatureCollection")for(nt=0;nt=0!=!!Je&&Ke.reverse()}var C=i.vectorTile.VectorTileFeature.prototype.toGeoJSON,w=function(Ke){this._feature=Ke,this.extent=i.EXTENT,this.type=Ke.type,this.properties=Ke.tags,"id"in Ke&&!isNaN(Ke.id)&&(this.id=parseInt(Ke.id,10))};w.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ke=[],Je=0,We=this._feature.geometry;Je>31}function Y(Ke,Je){for(var We=Ke.loadGeometry(),nt=Ke.type,ht=0,Oe=0,Ne=We.length,Qe=0;Qe>1;W(Ke,Je,Ne,nt,ht,Oe%2),G(Ke,Je,We,nt,Ne-1,Oe+1),G(Ke,Je,We,Ne+1,ht,Oe+1)}}function W(Ke,Je,We,nt,ht,Oe){for(;ht>nt;){if(ht-nt>600){var Ne=ht-nt+1,Qe=We-nt+1,ut=Math.log(Ne),pt=.5*Math.exp(2*ut/3),_t=.5*Math.sqrt(ut*pt*(Ne-pt)/Ne)*(Qe-Ne/2<0?-1:1);W(Ke,Je,We,Math.max(nt,Math.floor(We-Qe*pt/Ne+_t)),Math.min(ht,Math.floor(We+(Ne-Qe)*pt/Ne+_t)),Oe)}var It=Je[2*We+Oe],Lt=nt,yt=ht;for(H(Ke,Je,nt,We),Je[2*ht+Oe]>It&&H(Ke,Je,nt,ht);LtIt;)yt--}Je[2*nt+Oe]===It?H(Ke,Je,nt,yt):H(Ke,Je,++yt,ht),yt<=We&&(nt=yt+1),We<=yt&&(ht=yt-1)}}function H(Ke,Je,We,nt){ne(Ke,We,nt),ne(Je,2*We,2*nt),ne(Je,2*We+1,2*nt+1)}function ne(Ke,Je,We){var nt=Ke[Je];Ke[Je]=Ke[We],Ke[We]=nt}function te(Ke,Je,We,nt){var ht=Ke-We,Oe=Je-nt;return ht*ht+Oe*Oe}b.fromVectorTileJs=O,b.fromGeojsonVt=I,b.GeoJSONWrapper=R;var Z=function(Ke){return Ke[0]},X=function(Ke){return Ke[1]},Q=function(Ke,Je,We,nt,ht){Je===void 0&&(Je=Z),We===void 0&&(We=X),nt===void 0&&(nt=64),ht===void 0&&(ht=Float64Array),this.nodeSize=nt,this.points=Ke;for(var Oe=Ke.length<65536?Uint16Array:Uint32Array,Ne=this.ids=new Oe(Ke.length),Qe=this.coords=new ht(2*Ke.length),ut=0;ut=Ne&&It<=ut&&Lt>=Qe&&Lt<=pt&&Pt.push(ht[$t]);else{var qt=Math.floor((Nt+Ot)/2);It=Oe[2*qt],Lt=Oe[2*qt+1],It>=Ne&&It<=ut&&Lt>=Qe&&Lt<=pt&&Pt.push(ht[qt]);var Xt=(wt+1)%2;(wt===0?Ne<=It:Qe<=Lt)&&(yt.push(Nt),yt.push(qt-1),yt.push(Xt)),(wt===0?ut>=It:pt>=Lt)&&(yt.push(qt+1),yt.push(Ot),yt.push(Xt))}}return Pt}(this.ids,this.coords,Ke,Je,We,nt,this.nodeSize)},Q.prototype.within=function(Ke,Je,We){return function(nt,ht,Oe,Ne,Qe,ut){for(var pt=[0,nt.length-1,0],_t=[],It=Qe*Qe;pt.length;){var Lt=pt.pop(),yt=pt.pop(),Pt=pt.pop();if(yt-Pt<=ut)for(var wt=Pt;wt<=yt;wt++)te(ht[2*wt],ht[2*wt+1],Oe,Ne)<=It&&_t.push(nt[wt]);else{var Ot=Math.floor((Pt+yt)/2),Nt=ht[2*Ot],$t=ht[2*Ot+1];te(Nt,$t,Oe,Ne)<=It&&_t.push(nt[Ot]);var qt=(Lt+1)%2;(Lt===0?Oe-Qe<=Nt:Ne-Qe<=$t)&&(pt.push(Pt),pt.push(Ot-1),pt.push(qt)),(Lt===0?Oe+Qe>=Nt:Ne+Qe>=$t)&&(pt.push(Ot+1),pt.push(yt),pt.push(qt))}}return _t}(this.ids,this.coords,Ke,Je,We,this.nodeSize)};var re={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(Ke){return Ke}},ie=function(Ke){this.options=pe(Object.create(re),Ke),this.trees=new Array(this.options.maxZoom+1)};function oe(Ke,Je,We,nt,ht){return{x:Ke,y:Je,zoom:1/0,id:We,parentId:-1,numPoints:nt,properties:ht}}function ue(Ke,Je){var We=Ke.geometry.coordinates,nt=We[0],ht=We[1];return{x:de(nt),y:me(ht),zoom:1/0,index:Je,parentId:-1}}function ce(Ke){return{type:"Feature",id:Ke.id,properties:ye(Ke),geometry:{type:"Point",coordinates:[(nt=Ke.x,360*(nt-.5)),(Je=Ke.y,We=(180-360*Je)*Math.PI/180,360*Math.atan(Math.exp(We))/Math.PI-90)]}};var Je,We,nt}function ye(Ke){var Je=Ke.numPoints,We=Je>=1e4?Math.round(Je/1e3)+"k":Je>=1e3?Math.round(Je/100)/10+"k":Je;return pe(pe({},Ke.properties),{cluster:!0,cluster_id:Ke.id,point_count:Je,point_count_abbreviated:We})}function de(Ke){return Ke/360+.5}function me(Ke){var Je=Math.sin(Ke*Math.PI/180),We=.5-.25*Math.log((1+Je)/(1-Je))/Math.PI;return We<0?0:We>1?1:We}function pe(Ke,Je){for(var We in Je)Ke[We]=Je[We];return Ke}function xe(Ke){return Ke.x}function Pe(Ke){return Ke.y}function _e(Ke,Je,We,nt){for(var ht,Oe=nt,Ne=We-Je>>1,Qe=We-Je,ut=Ke[Je],pt=Ke[Je+1],_t=Ke[We],It=Ke[We+1],Lt=Je+3;LtOe)ht=Lt,Oe=yt;else if(yt===Oe){var Pt=Math.abs(Lt-Ne);Ptnt&&(ht-Je>3&&_e(Ke,Je,ht,nt),Ke[ht+2]=Oe,We-ht>3&&_e(Ke,ht,We,nt))}function Me(Ke,Je,We,nt,ht,Oe){var Ne=ht-We,Qe=Oe-nt;if(Ne!==0||Qe!==0){var ut=((Ke-We)*Ne+(Je-nt)*Qe)/(Ne*Ne+Qe*Qe);ut>1?(We=ht,nt=Oe):ut>0&&(We+=Ne*ut,nt+=Qe*ut)}return(Ne=Ke-We)*Ne+(Qe=Je-nt)*Qe}function Se(Ke,Je,We,nt){var ht={id:Ke===void 0?null:Ke,type:Je,geometry:We,tags:nt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(Oe){var Ne=Oe.geometry,Qe=Oe.type;if(Qe==="Point"||Qe==="MultiPoint"||Qe==="LineString")Ce(Oe,Ne);else if(Qe==="Polygon"||Qe==="MultiLineString")for(var ut=0;ut0&&(Ne+=nt?(ht*pt-ut*Oe)/2:Math.sqrt(Math.pow(ut-ht,2)+Math.pow(pt-Oe,2))),ht=ut,Oe=pt}var _t=Je.length-3;Je[2]=1,_e(Je,0,_t,We),Je[_t+2]=1,Je.size=Math.abs(Ne),Je.start=0,Je.end=Je.size}function ke(Ke,Je,We,nt){for(var ht=0;ht1?1:We}function ze(Ke,Je,We,nt,ht,Oe,Ne,Qe){if(nt/=Je,Oe>=(We/=Je)&&Ne=nt)return null;for(var ut=[],pt=0;pt=We&&Pt=nt)){var wt=[];if(Lt==="Point"||Lt==="MultiPoint")je(It,wt,We,nt,ht);else if(Lt==="LineString")ge(It,wt,We,nt,ht,!1,Qe.lineMetrics);else if(Lt==="MultiLineString")Ee(It,wt,We,nt,ht,!1);else if(Lt==="Polygon")Ee(It,wt,We,nt,ht,!0);else if(Lt==="MultiPolygon")for(var Ot=0;Ot=We&&Ne<=nt&&(Je.push(Ke[Oe]),Je.push(Ke[Oe+1]),Je.push(Ke[Oe+2]))}}function ge(Ke,Je,We,nt,ht,Oe,Ne){for(var Qe,ut,pt=we(Ke),_t=ht===0?Ye:$e,It=Ke.start,Lt=0;LtWe&&(ut=_t(pt,yt,Pt,Ot,Nt,We),Ne&&(pt.start=It+Qe*ut)):$t>nt?qt=We&&(ut=_t(pt,yt,Pt,Ot,Nt,We),Xt=!0),qt>nt&&$t<=nt&&(ut=_t(pt,yt,Pt,Ot,Nt,nt),Xt=!0),!Oe&&Xt&&(Ne&&(pt.end=It+Qe*ut),Je.push(pt),pt=we(Ke)),Ne&&(It+=Qe)}var Qt=Ke.length-3;yt=Ke[Qt],Pt=Ke[Qt+1],wt=Ke[Qt+2],($t=ht===0?yt:Pt)>=We&&$t<=nt&&Ve(pt,yt,Pt,wt),Qt=pt.length-3,Oe&&Qt>=3&&(pt[Qt]!==pt[0]||pt[Qt+1]!==pt[1])&&Ve(pt,pt[0],pt[1],pt[2]),pt.length&&Je.push(pt)}function we(Ke){var Je=[];return Je.size=Ke.size,Je.start=Ke.start,Je.end=Ke.end,Je}function Ee(Ke,Je,We,nt,ht,Oe){for(var Ne=0;NeNe.maxX&&(Ne.maxX=_t),It>Ne.maxY&&(Ne.maxY=It)}return Ne}function kt(Ke,Je,We,nt){var ht=Je.geometry,Oe=Je.type,Ne=[];if(Oe==="Point"||Oe==="MultiPoint")for(var Qe=0;Qe0&&Je.size<(ht?Ne:nt))We.numPoints+=Je.length/3;else{for(var Qe=[],ut=0;utNe)&&(We.numSimplified++,Qe.push(Je[ut]),Qe.push(Je[ut+1])),We.numPoints++;ht&&function(pt,_t){for(var It=0,Lt=0,yt=pt.length,Pt=yt-2;Lt0===_t)for(Lt=0,yt=pt.length;Lt24)throw new Error("maxZoom should be in the 0-24 range");if(Je.promoteId&&Je.generateId)throw new Error("promoteId and generateId cannot be used together.");var nt=function(ht,Oe){var Ne=[];if(ht.type==="FeatureCollection")for(var Qe=0;Qe=nt;pt--){var _t=+Date.now();Qe=this._cluster(Qe,pt),this.trees[pt]=new Q(Qe,xe,Pe,Oe,Float32Array),We&&console.log("z%d: %d clusters in %dms",pt,Qe.length,+Date.now()-_t)}return We&&console.timeEnd("total time"),this},ie.prototype.getClusters=function(Ke,Je){var We=((Ke[0]+180)%360+360)%360-180,nt=Math.max(-90,Math.min(90,Ke[1])),ht=Ke[2]===180?180:((Ke[2]+180)%360+360)%360-180,Oe=Math.max(-90,Math.min(90,Ke[3]));if(Ke[2]-Ke[0]>=360)We=-180,ht=180;else if(We>ht){var Ne=this.getClusters([We,nt,180,Oe],Je),Qe=this.getClusters([-180,nt,ht,Oe],Je);return Ne.concat(Qe)}for(var ut=this.trees[this._limitZoom(Je)],pt=[],_t=0,It=ut.range(de(We),me(Oe),de(ht),me(nt));_t1?this._map(pt,!0):null,Ot=(ut<<5)+(Je+1)+this.points.length,Nt=0,$t=It;Nt<$t.length;Nt+=1){var qt=$t[Nt],Xt=_t.points[qt];if(!(Xt.zoom<=Je)){Xt.zoom=Je;var Qt=Xt.numPoints||1;yt+=Xt.x*Qt,Pt+=Xt.y*Qt,Lt+=Qt,Xt.parentId=Ot,Ne&&(wt||(wt=this._map(pt,!0)),Ne(wt,this._map(Xt)))}}Lt===1?We.push(pt):(pt.parentId=Ot,We.push(oe(yt/Lt,Pt/Lt,Ot,Lt,wt)))}}return We},ie.prototype._getOriginId=function(Ke){return Ke-this.points.length>>5},ie.prototype._getOriginZoom=function(Ke){return(Ke-this.points.length)%32},ie.prototype._map=function(Ke,Je){if(Ke.numPoints)return Je?pe({},Ke.properties):Ke.properties;var We=this.points[Ke.index].properties,nt=this.options.map(We);return Je&&nt===We?pe({},nt):nt},Ft.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Ft.prototype.splitTile=function(Ke,Je,We,nt,ht,Oe,Ne){for(var Qe=[Ke,Je,We,nt],ut=this.options,pt=ut.debug;Qe.length;){nt=Qe.pop(),We=Qe.pop(),Je=Qe.pop(),Ke=Qe.pop();var _t=1<1&&console.time("creation"),Lt=this.tiles[It]=Et(Ke,Je,We,nt,ut),this.tileCoords.push({z:Je,x:We,y:nt}),pt)){pt>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Je,We,nt,Lt.numFeatures,Lt.numPoints,Lt.numSimplified),console.timeEnd("creation"));var yt="z"+Je;this.stats[yt]=(this.stats[yt]||0)+1,this.total++}if(Lt.source=Ke,ht){if(Je===ut.maxZoom||Je===ht)continue;var Pt=1<1&&console.time("clipping");var wt,Ot,Nt,$t,qt,Xt,Qt=.5*ut.buffer/ut.extent,rn=.5-Qt,xn=.5+Qt,un=1+Qt;wt=Ot=Nt=$t=null,qt=ze(Ke,_t,We-Qt,We+xn,0,Lt.minX,Lt.maxX,ut),Xt=ze(Ke,_t,We+rn,We+un,0,Lt.minX,Lt.maxX,ut),Ke=null,qt&&(wt=ze(qt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Ot=ze(qt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),qt=null),Xt&&(Nt=ze(Xt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),$t=ze(Xt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Xt=null),pt>1&&console.timeEnd("clipping"),Qe.push(wt||[],Je+1,2*We,2*nt),Qe.push(Ot||[],Je+1,2*We,2*nt+1),Qe.push(Nt||[],Je+1,2*We+1,2*nt),Qe.push($t||[],Je+1,2*We+1,2*nt+1)}}},Ft.prototype.getTile=function(Ke,Je,We){var nt=this.options,ht=nt.extent,Oe=nt.debug;if(Ke<0||Ke>24)return null;var Ne=1<1&&console.log("drilling down to z%d-%d-%d",Ke,Je,We);for(var ut,pt=Ke,_t=Je,It=We;!ut&&pt>0;)pt--,_t=Math.floor(_t/2),It=Math.floor(It/2),ut=this.tiles[Dt(pt,_t,It)];return ut&&ut.source?(Oe>1&&console.log("found parent tile z%d-%d-%d",pt,_t,It),Oe>1&&console.time("drilling down"),this.splitTile(ut.source,pt,_t,It,Ke,Je,We),Oe>1&&console.timeEnd("drilling down"),this.tiles[Qe]?ft(this.tiles[Qe],ht):null):null};var Wt=function(Ke){function Je(We,nt,ht,Oe){Ke.call(this,We,nt,ht,Bt),Oe&&(this.loadGeoJSON=Oe)}return Ke&&(Je.__proto__=Ke),Je.prototype=Object.create(Ke&&Ke.prototype),Je.prototype.constructor=Je,Je.prototype.loadData=function(We,nt){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=nt,this._pendingLoadDataParams=We,this._state&&this._state!=="Idle"?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},Je.prototype._loadData=function(){var We=this;if(this._pendingCallback&&this._pendingLoadDataParams){var nt=this._pendingCallback,ht=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var Oe=!!(ht&&ht.request&&ht.request.collectResourceTiming)&&new i.RequestPerformance(ht.request);this.loadGeoJSON(ht,function(Ne,Qe){if(Ne||!Qe)return nt(Ne);if(typeof Qe!="object")return nt(new Error("Input data given to '"+ht.source+"' is not a valid GeoJSON object."));m(Qe,!0);try{We._geoJSONIndex=ht.cluster?new ie(function(_t){var It=_t.superclusterOptions,Lt=_t.clusterProperties;if(!Lt||!It)return It;for(var yt={},Pt={},wt={accumulated:null,zoom:0},Ot={properties:null},Nt=Object.keys(Lt),$t=0,qt=Nt;$t=0?0:$.button},g.remove=function($){$.parentNode&&$.parentNode.removeChild($)};var _=function($){function ee(){$.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new i.RGBAImage({width:1,height:1}),this.dirty=!0}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.isLoaded=function(){return this.loaded},ee.prototype.setLoaded=function(K){if(this.loaded!==K&&(this.loaded=K,K)){for(var le=0,Te=this.requestors;le=0?1.2:1))}function E($,ee,K,le,Te,Re,He){for(var Ze=0;Ze65535)Tt(new Error("glyphs > 65535 not supported"));else if(ve.ranges[Fe])Tt(null,{stack:At,id:se,glyph:Ie});else{var Ue=ve.requests[Fe];Ue||(Ue=ve.requests[Fe]=[],A.loadGlyphRange(At,Fe,K.url,K.requestManager,function(qe,Xe){if(Xe){for(var tt in Xe)K._doesCharSupportLocalGlyph(+tt)||(ve.glyphs[+tt]=Xe[+tt]);ve.ranges[Fe]=!0}for(var lt=0,gt=Ue;lt1&&(at=$[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=void 0,Fe=Te/K*(le+1);if(at.isDash){var Ue=le-Math.abs(Fe);Ie=Math.sqrt(ve*ve+Ue*Ue)}else Ie=le-Math.sqrt(ve*ve+Fe*Fe);this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},R.prototype.addRegularDash=function($){for(var ee=$.length-1;ee>=0;--ee){var K=$[ee],le=$[ee+1];K.zeroLength?$.splice(ee,1):le&&le.isDash===K.isDash&&(le.left=K.left,$.splice(ee,1))}var Te=$[0],Re=$[$.length-1];Te.isDash===Re.isDash&&(Te.left=Re.left-this.width,Re.right=Te.right+this.width);for(var He=this.width*this.nextRow,Ze=0,at=$[Ze],Tt=0;Tt1&&(at=$[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=at.isDash?ve:-ve;this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},R.prototype.addDash=function($,ee){var K=ee?7:0,le=2*K+1;if(this.nextRow+le>this.height)return i.warnOnce("LineAtlas out of space"),null;for(var Te=0,Re=0;Re<$.length;Re++)Te+=$[Re];if(Te!==0){var He=this.width/Te,Ze=this.getDashRanges($,this.width,He);ee?this.addRoundDash(Ze,He,K):this.addRegularDash(Ze)}var at={y:(this.nextRow+K+.5)/this.height,height:2*K/this.height,width:Te};return this.nextRow+=le,this.dirty=!0,at},R.prototype.bind=function($){var ee=$.gl;this.texture?(ee.bindTexture(ee.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,ee.texSubImage2D(ee.TEXTURE_2D,0,0,0,this.width,this.height,ee.ALPHA,ee.UNSIGNED_BYTE,this.data))):(this.texture=ee.createTexture(),ee.bindTexture(ee.TEXTURE_2D,this.texture),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_WRAP_S,ee.REPEAT),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_WRAP_T,ee.REPEAT),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_MIN_FILTER,ee.LINEAR),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_MAG_FILTER,ee.LINEAR),ee.texImage2D(ee.TEXTURE_2D,0,ee.ALPHA,this.width,this.height,0,ee.ALPHA,ee.UNSIGNED_BYTE,this.data))};var z=function $(ee,K){this.workerPool=ee,this.actors=[],this.currentActor=0,this.id=i.uniqueId();for(var le=this.workerPool.acquire(this.id),Te=0;Te=K&&$.x=le&&$.y0&&(Tt[new i.OverscaledTileID(K.overscaledZ,He,le.z,Re,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,K.wrap,le.z,le.x,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,at,le.z,Ze,le.y-1).key]={backfilled:!1}),le.y+10&&(Te.resourceTiming=K._resourceTiming,K._resourceTiming=[]),K.fire(new i.Event("data",Te))}})},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setData=function(K){var le=this;return this._data=K,this.fire(new i.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Te){if(Te)le.fire(new i.ErrorEvent(Te));else{var Re={dataType:"source",sourceDataType:"content"};le._collectResourceTiming&&le._resourceTiming&&le._resourceTiming.length>0&&(Re.resourceTiming=le._resourceTiming,le._resourceTiming=[]),le.fire(new i.Event("data",Re))}}),this},ee.prototype.getClusterExpansionZoom=function(K,le){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterChildren=function(K,le){return this.actor.send("geojson.getClusterChildren",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterLeaves=function(K,le,Te,Re){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:K,limit:le,offset:Te},Re),this},ee.prototype._updateWorkerData=function(K){var le=this;this._loaded=!1;var Te=i.extend({},this.workerOptions),Re=this._data;typeof Re=="string"?(Te.request=this.map._requestManager.transformRequest(i.browser.resolveURL(Re),i.ResourceType.Source),Te.request.collectResourceTiming=this._collectResourceTiming):Te.data=JSON.stringify(Re),this.actor.send(this.type+".loadData",Te,function(He,Ze){le._removed||Ze&&Ze.abandoned||(le._loaded=!0,Ze&&Ze.resourceTiming&&Ze.resourceTiming[le.id]&&(le._resourceTiming=Ze.resourceTiming[le.id].slice(0)),le.actor.send(le.type+".coalesce",{source:Te.source},null),K(He))})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.loadTile=function(K,le){var Te=this,Re=K.actor?"reloadTile":"loadTile";K.actor=this.actor;var He={type:this.type,uid:K.uid,tileID:K.tileID,zoom:K.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:i.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};K.request=this.actor.send(Re,He,function(Ze,at){return delete K.request,K.unloadVectorData(),K.aborted?le(null):Ze?le(Ze):(K.loadVectorData(at,Te.map.painter,Re==="reloadTile"),le(null))})},ee.prototype.abortTile=function(K){K.request&&(K.request.cancel(),delete K.request),K.aborted=!0},ee.prototype.unloadTile=function(K){K.unloadVectorData(),this.actor.send("removeTile",{uid:K.uid,type:this.type,source:this.id})},ee.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},ee.prototype.serialize=function(){return i.extend({},this._options,{type:this.type,data:this._data})},ee.prototype.hasTransition=function(){return!1},ee}(i.Evented),U=i.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),G=function($){function ee(K,le,Te,Re){$.call(this),this.id=K,this.dispatcher=Te,this.coordinates=le.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(Re),this.options=le}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(K,le){var Te=this;this._loaded=!1,this.fire(new i.Event("dataloading",{dataType:"source"})),this.url=this.options.url,i.getImage(this.map._requestManager.transformRequest(this.url,i.ResourceType.Image),function(Re,He){Te._loaded=!0,Re?Te.fire(new i.ErrorEvent(Re)):He&&(Te.image=He,K&&(Te.coordinates=K),le&&le(),Te._finishLoading())})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.updateImage=function(K){var le=this;return this.image&&K.url?(this.options.url=K.url,this.load(K.coordinates,function(){le.texture=null}),this):this},ee.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new i.Event("data",{dataType:"source",sourceDataType:"metadata"})))},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setCoordinates=function(K){var le=this;this.coordinates=K;var Te=K.map(i.MercatorCoordinate.fromLngLat);this.tileID=function(He){for(var Ze=1/0,at=1/0,Tt=-1/0,At=-1/0,se=0,ve=He;sele.end(0)?this.fire(new i.ErrorEvent(new i.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+le.start(0)+" and "+le.end(0)+"-second mark."))):this.video.currentTime=K}},ee.prototype.getVideo=function(){return this.video},ee.prototype.onAdd=function(K){this.map||(this.map=K,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},ee.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var K=this.map.painter.context,le=K.gl;for(var Te in this.boundsBuffer||(this.boundsBuffer=K.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE),le.texSubImage2D(le.TEXTURE_2D,0,0,0,le.RGBA,le.UNSIGNED_BYTE,this.video)):(this.texture=new i.Texture(K,this.video,le.RGBA),this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE)),this.tiles){var Re=this.tiles[Te];Re.state!=="loaded"&&(Re.state="loaded",Re.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this.video&&!this.video.paused},ee}(G),H=function($){function ee(K,le,Te,Re){$.call(this,K,le,Te,Re),le.coordinates?Array.isArray(le.coordinates)&&le.coordinates.length===4&&!le.coordinates.some(function(He){return!Array.isArray(He)||He.length!==2||He.some(function(Ze){return typeof Ze!="number"})})||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "coordinates"'))),le.animate&&typeof le.animate!="boolean"&&this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'optional "animate" property must be a boolean value'))),le.canvas?typeof le.canvas=="string"||le.canvas instanceof i.window.HTMLCanvasElement||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,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 i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "canvas"'))),this.options=le,this.animate=le.animate===void 0||le.animate}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof i.window.HTMLCanvasElement?this.options.canvas:i.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new i.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())},ee.prototype.getCanvas=function(){return this.canvas},ee.prototype.onAdd=function(K){this.map=K,this.load(),this.canvas&&this.animate&&this.play()},ee.prototype.onRemove=function(){this.pause()},ee.prototype.prepare=function(){var K=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,K=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,K=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var le=this.map.painter.context,Te=le.gl;for(var Re in this.boundsBuffer||(this.boundsBuffer=le.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(K||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new i.Texture(le,this.canvas,Te.RGBA,{premultiply:!0}),this.tiles){var He=this.tiles[Re];He.state!=="loaded"&&(He.state="loaded",He.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this._playing},ee.prototype._hasInvalidDimensions=function(){for(var K=0,le=[this.canvas.width,this.canvas.height];Kthis.max){var He=this._getAndRemoveByKey(this.order[0]);He&&this.onRemove(He)}return this},Q.prototype.has=function($){return $.wrapped().key in this.data},Q.prototype.getAndRemove=function($){return this.has($)?this._getAndRemoveByKey($.wrapped().key):null},Q.prototype._getAndRemoveByKey=function($){var ee=this.data[$].shift();return ee.timeout&&clearTimeout(ee.timeout),this.data[$].length===0&&delete this.data[$],this.order.splice(this.order.indexOf($),1),ee.value},Q.prototype.getByKey=function($){var ee=this.data[$];return ee?ee[0].value:null},Q.prototype.get=function($){return this.has($)?this.data[$.wrapped().key][0].value:null},Q.prototype.remove=function($,ee){if(!this.has($))return this;var K=$.wrapped().key,le=ee===void 0?0:this.data[K].indexOf(ee),Te=this.data[K][le];return this.data[K].splice(le,1),Te.timeout&&clearTimeout(Te.timeout),this.data[K].length===0&&delete this.data[K],this.onRemove(Te.value),this.order.splice(this.order.indexOf(K),1),this},Q.prototype.setMaxSize=function($){for(this.max=$;this.order.length>this.max;){var ee=this._getAndRemoveByKey(this.order[0]);ee&&this.onRemove(ee)}return this},Q.prototype.filter=function($){var ee=[];for(var K in this.data)for(var le=0,Te=this.data[K];le1||(Math.abs(At)>1&&(Math.abs(At+ve)===1?At+=ve:Math.abs(At-ve)===1&&(At-=ve)),Tt.dem&&at.dem&&(at.dem.backfillBorder(Tt.dem,At,se),at.neighboringTiles&&at.neighboringTiles[Ie]&&(at.neighboringTiles[Ie].backfilled=!0)))}},ee.prototype.getTile=function(K){return this.getTileByID(K.key)},ee.prototype.getTileByID=function(K){return this._tiles[K]},ee.prototype._retainLoadedChildren=function(K,le,Te,Re){for(var He in this._tiles){var Ze=this._tiles[He];if(!(Re[He]||!Ze.hasData()||Ze.tileID.overscaledZ<=le||Ze.tileID.overscaledZ>Te)){for(var at=Ze.tileID;Ze&&Ze.tileID.overscaledZ>le+1;){var Tt=Ze.tileID.scaledTo(Ze.tileID.overscaledZ-1);(Ze=this._tiles[Tt.key])&&Ze.hasData()&&(at=Tt)}for(var At=at;At.overscaledZ>le;)if(K[(At=At.scaledTo(At.overscaledZ-1)).key]){Re[at.key]=at;break}}}},ee.prototype.findLoadedParent=function(K,le){if(K.key in this._loadedParentTiles){var Te=this._loadedParentTiles[K.key];return Te&&Te.tileID.overscaledZ>=le?Te:null}for(var Re=K.overscaledZ-1;Re>=le;Re--){var He=K.scaledTo(Re),Ze=this._getLoadedTile(He);if(Ze)return Ze}},ee.prototype._getLoadedTile=function(K){var le=this._tiles[K.key];return le&&le.hasData()?le:this._cache.getByKey(K.wrapped().key)},ee.prototype.updateCacheSize=function(K){var le=(Math.ceil(K.width/this._source.tileSize)+1)*(Math.ceil(K.height/this._source.tileSize)+1),Te=Math.floor(5*le),Re=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Te):Te;this._cache.setMaxSize(Re)},ee.prototype.handleWrapJump=function(K){var le=(K-(this._prevLng===void 0?K:this._prevLng))/360,Te=Math.round(le);if(this._prevLng=K,Te){var Re={};for(var He in this._tiles){var Ze=this._tiles[He];Ze.tileID=Ze.tileID.unwrapTo(Ze.tileID.wrap+Te),Re[Ze.tileID.key]=Ze}for(var at in this._tiles=Re,this._timers)clearTimeout(this._timers[at]),delete this._timers[at];for(var Tt in this._tiles){var At=this._tiles[Tt];this._setTileReloadTimer(Tt,At)}}},ee.prototype.update=function(K){var le=this;if(this.transform=K,this._sourceLoaded&&!this._paused){var Te;this.updateCacheSize(K),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?Te=K.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(Ht){return new i.OverscaledTileID(Ht.canonical.z,Ht.wrap,Ht.canonical.z,Ht.canonical.x,Ht.canonical.y)}):(Te=K.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Te=Te.filter(function(Ht){return le._source.hasTile(Ht)}))):Te=[];var Re=K.coveringZoomLevel(this._source),He=Math.max(Re-ee.maxOverzooming,this._source.minzoom),Ze=Math.max(Re+ee.maxUnderzooming,this._source.minzoom),at=this._updateRetainedTiles(Te,Re);if(Ne(this._source.type)){for(var Tt={},At={},se=0,ve=Object.keys(at);sethis._source.maxzoom){var Xe=Ue.children(this._source.maxzoom)[0],tt=this.getTile(Xe);if(tt&&tt.hasData()){Te[Xe.key]=Xe;continue}}else{var lt=Ue.children(this._source.maxzoom);if(Te[lt[0].key]&&Te[lt[1].key]&&Te[lt[2].key]&&Te[lt[3].key])continue}for(var gt=qe.wasRequested(),zt=Ue.overscaledZ-1;zt>=He;--zt){var Ut=Ue.scaledTo(zt);if(Re[Ut.key]||(Re[Ut.key]=!0,!(qe=this.getTile(Ut))&>&&(qe=this._addTile(Ut)),qe&&(Te[Ut.key]=Ut,gt=qe.wasRequested(),qe.hasData())))break}}}return Te},ee.prototype._updateLoadedParentTileCache=function(){for(var K in this._loadedParentTiles={},this._tiles){for(var le=[],Te=void 0,Re=this._tiles[K].tileID;Re.overscaledZ>0;){if(Re.key in this._loadedParentTiles){Te=this._loadedParentTiles[Re.key];break}le.push(Re.key);var He=Re.scaledTo(Re.overscaledZ-1);if(Te=this._getLoadedTile(He))break;Re=He}for(var Ze=0,at=le;Ze0||(le.hasData()&&le.state!=="reloading"?this._cache.add(le.tileID,le,le.getExpiryTimeout()):(le.aborted=!0,this._abortTile(le),this._unloadTile(le))))},ee.prototype.clearTiles=function(){for(var K in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(K);this._cache.reset()},ee.prototype.tilesIn=function(K,le,Te){var Re=this,He=[],Ze=this.transform;if(!Ze)return He;for(var at=Te?Ze.getCameraQueryGeometry(K):K,Tt=K.map(function(zt){return Ze.pointCoordinate(zt)}),At=at.map(function(zt){return Ze.pointCoordinate(zt)}),se=this.getIds(),ve=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,qe=0,Xe=At;qe=0&&tn[1].y+vn>=0){var ln=Tt.map(function(Cn){return Ht.getTilePoint(Cn)}),an=At.map(function(Cn){return Ht.getTilePoint(Cn)});He.push({tile:Ut,tileID:Ht,queryGeometry:ln,cameraQueryGeometry:an,scale:en})}}},gt=0;gt=i.browser.now())return!0}return!1},ee.prototype.setFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.updateState(K,le,Te)},ee.prototype.removeFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.removeFeatureState(K,le,Te)},ee.prototype.getFeatureState=function(K,le){return K=K||"_geojsonTileLayer",this._state.getState(K,le)},ee.prototype.setDependencies=function(K,le,Te){var Re=this._tiles[K];Re&&Re.setDependencies(le,Te)},ee.prototype.reloadTilesForDependencies=function(K,le){for(var Te in this._tiles)this._tiles[Te].hasDependency(K,le)&&this._reloadTile(Te,"reloading");this._cache.filter(function(Re){return!Re.hasDependency(K,le)})},ee}(i.Evented);function Oe($,ee){var K=Math.abs(2*$.wrap)-+($.wrap<0),le=Math.abs(2*ee.wrap)-+(ee.wrap<0);return $.overscaledZ-ee.overscaledZ||le-K||ee.canonical.y-$.canonical.y||ee.canonical.x-$.canonical.x}function Ne($){return $==="raster"||$==="image"||$==="video"}function Qe(){return new i.window.Worker(Mt.workerUrl)}ht.maxOverzooming=10,ht.maxUnderzooming=3;var ut="mapboxgl_preloaded_worker_pool",pt=function(){this.active={}};pt.prototype.acquire=function($){if(!this.workers)for(this.workers=[];this.workers.length0?(le-Re)/He:0;return this.points[Te].mult(1-Ze).add(this.points[ee].mult(Ze))};var An=function($,ee,K){var le=this.boxCells=[],Te=this.circleCells=[];this.xCellCount=Math.ceil($/K),this.yCellCount=Math.ceil(ee/K);for(var Re=0;Re=-ee[0]&&K<=ee[0]&&le>=-ee[1]&&le<=ee[1]}function pn($,ee,K,le,Te,Re,He,Ze){var at=le?$.textSizeData:$.iconSizeData,Tt=i.evaluateSizeForZoom(at,K.transform.zoom),At=[256/K.width*2+1,256/K.height*2+1],se=le?$.text.dynamicLayoutVertexArray:$.icon.dynamicLayoutVertexArray;se.clear();for(var ve=$.lineVertexArray,Ie=le?$.text.placedSymbolArray:$.icon.placedSymbolArray,Fe=K.transform.width/K.transform.height,Ue=!1,qe=0;qeMath.abs(K.x-ee.x)*le?{useVertical:!0}:($===i.WritingMode.vertical?ee.yK.x)?{needsFlipping:!0}:null}function jn($,ee,K,le,Te,Re,He,Ze,at,Tt,At,se,ve,Ie){var Fe,Ue=ee/24,qe=$.lineOffsetX*Ue,Xe=$.lineOffsetY*Ue;if($.numGlyphs>1){var tt=$.glyphStartIndex+$.numGlyphs,lt=$.lineStartIndex,gt=$.lineStartIndex+$.lineLength,zt=Rn(Ue,Ze,qe,Xe,K,At,se,$,at,Re,ve);if(!zt)return{notEnoughRoom:!0};var Ut=sn(zt.first.point,He).point,Ht=sn(zt.last.point,He).point;if(le&&!K){var en=In($.writingMode,Ut,Ht,Ie);if(en)return en}Fe=[zt.first];for(var vn=$.glyphStartIndex+1;vn0?Cn.point:Gn(se,an,tn,1,Te),on=In($.writingMode,tn,_n,Ie);if(on)return on}var Fn=Wn(Ue*Ze.getoffsetX($.glyphStartIndex),qe,Xe,K,At,se,$.segment,$.lineStartIndex,$.lineStartIndex+$.lineLength,at,Re,ve);if(!Fn)return{notEnoughRoom:!0};Fe=[Fn]}for(var Hn=0,ir=Fe;Hn0?1:-1,Fe=0;le&&(Ie*=-1,Fe=Math.PI),Ie<0&&(Fe+=Math.PI);for(var Ue=Ie>0?Ze+He:Ze+He+1,qe=Te,Xe=Te,tt=0,lt=0,gt=Math.abs(ve),zt=[];tt+lt<=gt;){if((Ue+=Ie)=at)return null;if(Xe=qe,zt.push(qe),(qe=se[Ue])===void 0){var Ut=new i.Point(Tt.getx(Ue),Tt.gety(Ue)),Ht=sn(Ut,At);if(Ht.signedDistanceFromCamera>0)qe=se[Ue]=Ht.point;else{var en=Ue-Ie;qe=Gn(tt===0?Re:new i.Point(Tt.getx(en),Tt.gety(en)),Ut,Xe,gt-tt+1,At)}}tt+=lt,lt=Xe.dist(qe)}var vn=(gt-tt)/lt,tn=qe.sub(Xe),ln=tn.mult(vn)._add(Xe);ln._add(tn._unit()._perp()._mult(K*Ie));var an=Fe+Math.atan2(qe.y-Xe.y,qe.x-Xe.x);return zt.push(ln),{point:ln,angle:an,path:zt}}An.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},An.prototype.insert=function($,ee,K,le,Te){this._forEachCell(ee,K,le,Te,this._insertBoxCell,this.boxUid++),this.boxKeys.push($),this.bboxes.push(ee),this.bboxes.push(K),this.bboxes.push(le),this.bboxes.push(Te)},An.prototype.insertCircle=function($,ee,K,le){this._forEachCell(ee-le,K-le,ee+le,K+le,this._insertCircleCell,this.circleUid++),this.circleKeys.push($),this.circles.push(ee),this.circles.push(K),this.circles.push(le)},An.prototype._insertBoxCell=function($,ee,K,le,Te,Re){this.boxCells[Te].push(Re)},An.prototype._insertCircleCell=function($,ee,K,le,Te,Re){this.circleCells[Te].push(Re)},An.prototype._query=function($,ee,K,le,Te,Re){if(K<0||$>this.width||le<0||ee>this.height)return!Te&&[];var He=[];if($<=0&&ee<=0&&this.width<=K&&this.height<=le){if(Te)return!0;for(var Ze=0;Ze0:He},An.prototype._queryCircle=function($,ee,K,le,Te){var Re=$-K,He=$+K,Ze=ee-K,at=ee+K;if(He<0||Re>this.width||at<0||Ze>this.height)return!le&&[];var Tt=[],At={hitTest:le,circle:{x:$,y:ee,radius:K},seenUids:{box:{},circle:{}}};return this._forEachCell(Re,Ze,He,at,this._queryCellCircle,Tt,At,Te),le?Tt.length>0:Tt},An.prototype.query=function($,ee,K,le,Te){return this._query($,ee,K,le,!1,Te)},An.prototype.hitTest=function($,ee,K,le,Te){return this._query($,ee,K,le,!0,Te)},An.prototype.hitTestCircle=function($,ee,K,le){return this._queryCircle($,ee,K,!0,le)},An.prototype._queryCell=function($,ee,K,le,Te,Re,He,Ze){var at=He.seenUids,Tt=this.boxCells[Te];if(Tt!==null)for(var At=this.bboxes,se=0,ve=Tt;se=At[Fe+0]&&le>=At[Fe+1]&&(!Ze||Ze(this.boxKeys[Ie]))){if(He.hitTest)return Re.push(!0),!0;Re.push({key:this.boxKeys[Ie],x1:At[Fe],y1:At[Fe+1],x2:At[Fe+2],y2:At[Fe+3]})}}}var Ue=this.circleCells[Te];if(Ue!==null)for(var qe=this.circles,Xe=0,tt=Ue;XeHe*He+Ze*Ze},An.prototype._circleAndRectCollide=function($,ee,K,le,Te,Re,He){var Ze=(Re-le)/2,at=Math.abs($-(le+Ze));if(at>Ze+K)return!1;var Tt=(He-Te)/2,At=Math.abs(ee-(Te+Tt));if(At>Tt+K)return!1;if(at<=Ze||At<=Tt)return!0;var se=at-Ze,ve=At-Tt;return se*se+ve*ve<=K*K};var ur=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function rr($,ee){for(var K=0;K<$;K++){var le=ee.length;ee.resize(le+4),ee.float32.set(ur,3*le)}}function Lr($,ee,K){var le=ee[0],Te=ee[1];return $[0]=K[0]*le+K[4]*Te+K[12],$[1]=K[1]*le+K[5]*Te+K[13],$[3]=K[3]*le+K[7]*Te+K[15],$}var br=100,or=function($,ee,K){ee===void 0&&(ee=new An($.width+200,$.height+200,25)),K===void 0&&(K=new An($.width+200,$.height+200,25)),this.transform=$,this.grid=ee,this.ignoredGrid=K,this.pitchfactor=Math.cos($._pitch)*$.cameraToCenterDistance,this.screenRightBoundary=$.width+br,this.screenBottomBoundary=$.height+br,this.gridRightBoundary=$.width+200,this.gridBottomBoundary=$.height+200};function yr($,ee,K){return ee*(i.EXTENT/($.tileSize*Math.pow(2,K-$.tileID.overscaledZ)))}or.prototype.placeCollisionBox=function($,ee,K,le,Te){var Re=this.projectAndGetPerspectiveRatio(le,$.anchorPointX,$.anchorPointY),He=K*Re.perspectiveRatio,Ze=$.x1*He+Re.point.x,at=$.y1*He+Re.point.y,Tt=$.x2*He+Re.point.x,At=$.y2*He+Re.point.y;return!this.isInsideGrid(Ze,at,Tt,At)||!ee&&this.grid.hitTest(Ze,at,Tt,At,Te)?{box:[],offscreen:!1}:{box:[Ze,at,Tt,At],offscreen:this.isOffscreen(Ze,at,Tt,At)}},or.prototype.placeCollisionCircles=function($,ee,K,le,Te,Re,He,Ze,at,Tt,At,se,ve){var Ie=[],Fe=new i.Point(ee.anchorX,ee.anchorY),Ue=sn(Fe,Re),qe=Tn(this.transform.cameraToCenterDistance,Ue.signedDistanceFromCamera),Xe=(Tt?Te/qe:Te*qe)/i.ONE_EM,tt=sn(Fe,He).point,lt=Rn(Xe,le,ee.lineOffsetX*Xe,ee.lineOffsetY*Xe,!1,tt,Fe,ee,K,He,{}),gt=!1,zt=!1,Ut=!0;if(lt){for(var Ht=.5*se*qe+ve,en=new i.Point(-100,-100),vn=new i.Point(this.screenRightBoundary,this.screenBottomBoundary),tn=new un,ln=lt.first,an=lt.last,Cn=[],_n=ln.path.length-1;_n>=1;_n--)Cn.push(ln.path[_n]);for(var on=1;on0){for(var ar=Cn[0].clone(),Cr=Cn[0].clone(),Or=1;Or=en.x&&Cr.x<=vn.x&&ar.y>=en.y&&Cr.y<=vn.y?[Cn]:Cr.xvn.x||Cr.yvn.y?[]:i.clipLine([Cn],en.x,en.y,vn.x,vn.y)}for(var _r=0,Sr=ir;_r=this.screenRightBoundary||lethis.screenBottomBoundary},or.prototype.isInsideGrid=function($,ee,K,le){return K>=0&&$=0&&ee0?(this.prevPlacement&&this.prevPlacement.variableOffsets[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID].text&&(Ue=this.prevPlacement.variableOffsets[se.crossTileID].anchor),this.variableOffsets[se.crossTileID]={textOffset:qe,width:K,height:le,anchor:$,textBoxScale:Te,prevAnchor:Ue},this.markUsedJustification(ve,$,se,Ie),ve.allowVerticalPlacement&&(this.markUsedOrientation(ve,Ie,se),this.placedOrientations[se.crossTileID]=Ie),{shift:Xe,placedGlyphBoxes:tt}):void 0},tr.prototype.placeLayerBucketPart=function($,ee,K){var le=this,Te=$.parameters,Re=Te.bucket,He=Te.layout,Ze=Te.posMatrix,at=Te.textLabelPlaneMatrix,Tt=Te.labelToScreenMatrix,At=Te.textPixelRatio,se=Te.holdingForFade,ve=Te.collisionBoxArray,Ie=Te.partiallyEvaluatedTextSize,Fe=Te.collisionGroup,Ue=He.get("text-optional"),qe=He.get("icon-optional"),Xe=He.get("text-allow-overlap"),tt=He.get("icon-allow-overlap"),lt=He.get("text-rotation-alignment")==="map",gt=He.get("text-pitch-alignment")==="map",zt=He.get("icon-text-fit")!=="none",Ut=He.get("symbol-z-order")==="viewport-y",Ht=Xe&&(tt||!Re.hasIconData()||qe),en=tt&&(Xe||!Re.hasTextData()||Ue);!Re.collisionArrays&&ve&&Re.deserializeCollisionBoxes(ve);var vn=function(on,Fn){if(!ee[on.crossTileID])if(se)le.placements[on.crossTileID]=new bn(!1,!1,!1);else{var Hn,ir=!1,ar=!1,Cr=!0,Or=null,_r={box:null,offscreen:null},Sr={box:null,offscreen:null},Wr=null,mi=null,gi=0,Mr=0,qr=0;Fn.textFeatureIndex?gi=Fn.textFeatureIndex:on.useRuntimeCollisionCircles&&(gi=on.featureIndex),Fn.verticalTextFeatureIndex&&(Mr=Fn.verticalTextFeatureIndex);var ci=Fn.textBox;if(ci){var ui=function(zi){var Ja=i.WritingMode.horizontal;if(Re.allowVerticalPlacement&&!zi&&le.prevPlacement){var Wo=le.prevPlacement.placedOrientations[on.crossTileID];Wo&&(le.placedOrientations[on.crossTileID]=Wo,Ja=Wo,le.markUsedOrientation(Re,Ja,on))}return Ja},Ri=function(zi,Ja){if(Re.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Fn.verticalTextBox)for(var Wo=0,Kc=Re.writingModes;Wo0&&(_i=_i.filter(function(zi){return zi!==Ui.anchor})).unshift(Ui.anchor)}var aa=function(zi,Ja,Wo){for(var Kc=zi.x2-zi.x1,v1=zi.y2-zi.y1,k0=on.textBoxScale,y1=zt&&!tt?Ja:null,mh={box:[],offscreen:!1},mg=Xe?2*_i.length:_i.length,Xh=0;Xh=_i.length,If=le.attemptAnchorPlacement(gh,zi,Kc,v1,k0,lt,gt,At,Ze,Fe,b1,on,Re,Wo,y1);if(If&&(mh=If.placedGlyphBoxes)&&mh.box&&mh.box.length){ir=!0,Or=If.shift;break}}return mh};Ri(function(){return aa(ci,Fn.iconBox,i.WritingMode.horizontal)},function(){var zi=Fn.verticalTextBox,Ja=_r&&_r.box&&_r.box.length;return Re.allowVerticalPlacement&&!Ja&&on.numVerticalGlyphVertices>0&&zi?aa(zi,Fn.verticalIconBox,i.WritingMode.vertical):{box:null,offscreen:null}}),_r&&(ir=_r.box,Cr=_r.offscreen);var ya=ui(_r&&_r.box);if(!ir&&le.prevPlacement){var ca=le.prevPlacement.variableOffsets[on.crossTileID];ca&&(le.variableOffsets[on.crossTileID]=ca,le.markUsedJustification(Re,ca.anchor,on,ya))}}else{var na=function(zi,Ja){var Wo=le.collisionIndex.placeCollisionBox(zi,Xe,At,Ze,Fe.predicate);return Wo&&Wo.box&&Wo.box.length&&(le.markUsedOrientation(Re,Ja,on),le.placedOrientations[on.crossTileID]=Ja),Wo};Ri(function(){return na(ci,i.WritingMode.horizontal)},function(){var zi=Fn.verticalTextBox;return Re.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&zi?na(zi,i.WritingMode.vertical):{box:null,offscreen:null}}),ui(_r&&_r.box&&_r.box.length)}}if(ir=(Hn=_r)&&Hn.box&&Hn.box.length>0,Cr=Hn&&Hn.offscreen,on.useRuntimeCollisionCircles){var oa=Re.text.placedSymbolArray.get(on.centerJustifiedTextSymbolIndex),fa=i.evaluateSizeForFeature(Re.textSizeData,Ie,oa),Pa=He.get("text-padding"),Bl=on.collisionCircleDiameter;Wr=le.collisionIndex.placeCollisionCircles(Xe,oa,Re.lineVertexArray,Re.glyphOffsetArray,fa,Ze,at,Tt,K,gt,Fe.predicate,Bl,Pa),ir=Xe||Wr.circles.length>0&&!Wr.collisionDetected,Cr=Cr&&Wr.offscreen}if(Fn.iconFeatureIndex&&(qr=Fn.iconFeatureIndex),Fn.iconBox){var Ka=function(zi){var Ja=zt&&Or?Zn(zi,Or.x,Or.y,lt,gt,le.transform.angle):zi;return le.collisionIndex.placeCollisionBox(Ja,tt,At,Ze,Fe.predicate)};ar=Sr&&Sr.box&&Sr.box.length&&Fn.verticalIconBox?(mi=Ka(Fn.verticalIconBox)).box.length>0:(mi=Ka(Fn.iconBox)).box.length>0,Cr=Cr&&mi.offscreen}var hi=Ue||on.numHorizontalGlyphVertices===0&&on.numVerticalGlyphVertices===0,ho=qe||on.numIconVertices===0;if(hi||ho?ho?hi||(ar=ar&&ir):ir=ar&&ir:ar=ir=ar&&ir,ir&&Hn&&Hn.box&&(Sr&&Sr.box&&Mr?le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),Re.bucketInstanceId,Mr,Fe.ID):le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),Re.bucketInstanceId,gi,Fe.ID)),ar&&mi&&le.collisionIndex.insertCollisionBox(mi.box,He.get("icon-ignore-placement"),Re.bucketInstanceId,qr,Fe.ID),Wr&&(ir&&le.collisionIndex.insertCollisionCircles(Wr.circles,He.get("text-ignore-placement"),Re.bucketInstanceId,gi,Fe.ID),K)){var wo=Re.bucketInstanceId,Ea=le.collisionCircleArrays[wo];Ea===void 0&&(Ea=le.collisionCircleArrays[wo]=new On);for(var Rs=0;Rs=0;--ln){var an=tn[ln];vn(Re.symbolInstances.get(an),Re.collisionArrays[an])}else for(var Cn=$.symbolInstanceStart;Cn<$.symbolInstanceEnd;Cn++)vn(Re.symbolInstances.get(Cn),Re.collisionArrays[Cn]);if(K&&Re.bucketInstanceId in this.collisionCircleArrays){var _n=this.collisionCircleArrays[Re.bucketInstanceId];i.invert(_n.invProjMatrix,Ze),_n.viewportMatrix=this.collisionIndex.getViewportMatrix()}Re.justReloaded=!1},tr.prototype.markUsedJustification=function($,ee,K,le){var Te,Re={left:K.leftJustifiedTextSymbolIndex,center:K.centerJustifiedTextSymbolIndex,right:K.rightJustifiedTextSymbolIndex};Te=le===i.WritingMode.vertical?K.verticalPlacedTextSymbolIndex:Re[i.getAnchorJustification(ee)];for(var He=0,Ze=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex,K.verticalPlacedTextSymbolIndex];He=0&&($.text.placedSymbolArray.get(at).crossTileID=Te>=0&&at!==Te?0:K.crossTileID)}},tr.prototype.markUsedOrientation=function($,ee,K){for(var le=ee===i.WritingMode.horizontal||ee===i.WritingMode.horizontalOnly?ee:0,Te=ee===i.WritingMode.vertical?ee:0,Re=0,He=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex];Re0||gt>0,vn=tt.numIconVertices>0,tn=le.placedOrientations[tt.crossTileID],ln=tn===i.WritingMode.vertical,an=tn===i.WritingMode.horizontal||tn===i.WritingMode.horizontalOnly;if(en){var Cn=En(Ht.text),_n=ln?mn:Cn;Ie($.text,lt,_n);var on=an?mn:Cn;Ie($.text,gt,on);var Fn=Ht.text.isHidden();[tt.rightJustifiedTextSymbolIndex,tt.centerJustifiedTextSymbolIndex,tt.leftJustifiedTextSymbolIndex].forEach(function(qr){qr>=0&&($.text.placedSymbolArray.get(qr).hidden=Fn||ln?1:0)}),tt.verticalPlacedTextSymbolIndex>=0&&($.text.placedSymbolArray.get(tt.verticalPlacedTextSymbolIndex).hidden=Fn||an?1:0);var Hn=le.variableOffsets[tt.crossTileID];Hn&&le.markUsedJustification($,Hn.anchor,tt,tn);var ir=le.placedOrientations[tt.crossTileID];ir&&(le.markUsedJustification($,"left",tt,ir),le.markUsedOrientation($,ir,tt))}if(vn){var ar=En(Ht.icon),Cr=!(se&&tt.verticalPlacedIconSymbolIndex&&ln);if(tt.placedIconSymbolIndex>=0){var Or=Cr?ar:mn;Ie($.icon,tt.numIconVertices,Or),$.icon.placedSymbolArray.get(tt.placedIconSymbolIndex).hidden=Ht.icon.isHidden()}if(tt.verticalPlacedIconSymbolIndex>=0){var _r=Cr?mn:ar;Ie($.icon,tt.numVerticalIconVertices,_r),$.icon.placedSymbolArray.get(tt.verticalPlacedIconSymbolIndex).hidden=Ht.icon.isHidden()}}if($.hasIconCollisionBoxData()||$.hasTextCollisionBoxData()){var Sr=$.collisionArrays[Xe];if(Sr){var Wr=new i.Point(0,0);if(Sr.textBox||Sr.verticalTextBox){var mi=!0;if(at){var gi=le.variableOffsets[zt];gi?(Wr=Jn(gi.anchor,gi.width,gi.height,gi.textOffset,gi.textBoxScale),Tt&&Wr._rotate(At?le.transform.angle:-le.transform.angle)):mi=!1}Sr.textBox&&gr($.textCollisionBox.collisionVertexArray,Ht.text.placed,!mi||ln,Wr.x,Wr.y),Sr.verticalTextBox&&gr($.textCollisionBox.collisionVertexArray,Ht.text.placed,!mi||an,Wr.x,Wr.y)}var Mr=!!(!an&&Sr.verticalIconBox);Sr.iconBox&&gr($.iconCollisionBox.collisionVertexArray,Ht.icon.placed,Mr,se?Wr.x:0,se?Wr.y:0),Sr.verticalIconBox&&gr($.iconCollisionBox.collisionVertexArray,Ht.icon.placed,!Mr,se?Wr.x:0,se?Wr.y:0)}}},Ue=0;Ue<$.symbolInstances.length;Ue++)Fe(Ue);if($.sortFeatures(this.transform.angle),this.retainedQueryData[$.bucketInstanceId]&&(this.retainedQueryData[$.bucketInstanceId].featureSortOrder=$.featureSortOrder),$.hasTextData()&&$.text.opacityVertexBuffer&&$.text.opacityVertexBuffer.updateData($.text.opacityVertexArray),$.hasIconData()&&$.icon.opacityVertexBuffer&&$.icon.opacityVertexBuffer.updateData($.icon.opacityVertexArray),$.hasIconCollisionBoxData()&&$.iconCollisionBox.collisionVertexBuffer&&$.iconCollisionBox.collisionVertexBuffer.updateData($.iconCollisionBox.collisionVertexArray),$.hasTextCollisionBoxData()&&$.textCollisionBox.collisionVertexBuffer&&$.textCollisionBox.collisionVertexBuffer.updateData($.textCollisionBox.collisionVertexArray),$.bucketInstanceId in this.collisionCircleArrays){var qe=this.collisionCircleArrays[$.bucketInstanceId];$.placementInvProjMatrix=qe.invProjMatrix,$.placementViewportMatrix=qe.viewportMatrix,$.collisionCircleArray=qe.circles,delete this.collisionCircleArrays[$.bucketInstanceId]}},tr.prototype.symbolFadeChange=function($){return this.fadeDuration===0?1:($-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment},tr.prototype.zoomAdjustment=function($){return Math.max(0,(this.transform.zoom-$)/1.5)},tr.prototype.hasTransitions=function($){return this.stale||$-this.lastPlacementChangeTime$},tr.prototype.setStale=function(){this.stale=!0};var nn=Math.pow(2,25),Pn=Math.pow(2,24),jt=Math.pow(2,17),Jt=Math.pow(2,16),fn=Math.pow(2,9),zn=Math.pow(2,8),Dn=Math.pow(2,1);function En($){if($.opacity===0&&!$.placed)return 0;if($.opacity===1&&$.placed)return 4294967295;var ee=$.placed?1:0,K=Math.floor(127*$.opacity);return K*nn+ee*Pn+K*jt+ee*Jt+K*fn+ee*zn+K*Dn+ee}var mn=0,wn=function($){this._sortAcrossTiles=$.layout.get("symbol-z-order")!=="viewport-y"&&$.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};wn.prototype.continuePlacement=function($,ee,K,le,Te){for(var Re=this._bucketParts;this._currentTileIndex<$.length;){var He=$[this._currentTileIndex];if(ee.getBucketParts(Re,le,He,this._sortAcrossTiles),this._currentTileIndex++,Te())return!0}for(this._sortAcrossTiles&&(this._sortAcrossTiles=!1,Re.sort(function(at,Tt){return at.sortKey-Tt.sortKey}));this._currentPartIndex2};this._currentPlacementIndex>=0;){var He=ee[$[this._currentPlacementIndex]],Ze=this.placement.collisionIndex.transform.zoom;if(He.type==="symbol"&&(!He.minzoom||He.minzoom<=Ze)&&(!He.maxzoom||He.maxzoom>Ze)){if(this._inProgressLayer||(this._inProgressLayer=new wn(He)),this._inProgressLayer.continuePlacement(K[He.source],this.placement,this._showCollisionBoxes,He,Re))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},gn.prototype.commit=function($){return this.placement.commit($),this.placement};var yn=512/i.EXTENT/2,Sn=function($,ee,K){this.tileID=$,this.indexedSymbolInstances={},this.bucketInstanceId=K;for(var le=0;le$.overscaledZ)for(var Ze in He){var at=He[Ze];at.tileID.isChildOf($)&&at.findMatches(ee.symbolInstances,$,Te)}else{var Tt=He[$.scaledTo(Number(Re)).key];Tt&&Tt.findMatches(ee.symbolInstances,$,Te)}}for(var At=0;At1?"@2x":"",se=i.getJSON(Re.transformRequest(Re.normalizeSpriteURL(Te,At,".json"),i.ResourceType.SpriteJSON),function(Fe,Ue){se=null,Tt||(Tt=Fe,Ze=Ue,Ie())}),ve=i.getImage(Re.transformRequest(Re.normalizeSpriteURL(Te,At,".png"),i.ResourceType.SpriteImage),function(Fe,Ue){ve=null,Tt||(Tt=Fe,at=Ue,Ie())});function Ie(){if(Tt)He(Tt);else if(Ze&&at){var Fe=i.browser.getImageData(at),Ue={};for(var qe in Ze){var Xe=Ze[qe],tt=Xe.width,lt=Xe.height,gt=Xe.x,zt=Xe.y,Ut=Xe.sdf,Ht=Xe.pixelRatio,en=Xe.stretchX,vn=Xe.stretchY,tn=Xe.content,ln=new i.RGBAImage({width:tt,height:lt});i.RGBAImage.copy(Fe,ln,{x:gt,y:zt},{x:0,y:0},{width:tt,height:lt}),Ue[qe]={data:ln,pixelRatio:Ht,sdf:Ut,stretchX:en,stretchY:vn,content:tn}}He(null,Ue)}}return{cancel:function(){se&&(se.cancel(),se=null),ve&&(ve.cancel(),ve=null)}}}(K,this.map._requestManager,function(Te,Re){if(le._spriteRequest=null,Te)le.fire(new i.ErrorEvent(Te));else if(Re)for(var He in Re)le.imageManager.addImage(He,Re[He]);le.imageManager.setLoaded(!0),le._availableImages=le.imageManager.listImages(),le.dispatcher.broadcast("setImages",le._availableImages),le.fire(new i.Event("data",{dataType:"style"}))})},ee.prototype._validateLayer=function(K){var le=this.sourceCaches[K.source];if(le){var Te=K.sourceLayer;if(Te){var Re=le.getSource();(Re.type==="geojson"||Re.vectorLayerIds&&Re.vectorLayerIds.indexOf(Te)===-1)&&this.fire(new i.ErrorEvent(new Error('Source layer "'+Te+'" does not exist on source "'+Re.id+'" as specified by style layer "'+K.id+'"')))}}},ee.prototype.loaded=function(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(var K in this.sourceCaches)if(!this.sourceCaches[K].loaded())return!1;return!!this.imageManager.isLoaded()},ee.prototype._serializeLayers=function(K){for(var le=[],Te=0,Re=K;Te0)throw new Error("Unimplemented: "+Re.map(function(He){return He.command}).join(", ")+".");return Te.forEach(function(He){He.command!=="setTransition"&&le[He.command].apply(le,He.args)}),this.stylesheet=K,!0},ee.prototype.addImage=function(K,le){if(this.getImage(K))return this.fire(new i.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(K,le),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.updateImage=function(K,le){this.imageManager.updateImage(K,le)},ee.prototype.getImage=function(K){return this.imageManager.getImage(K)},ee.prototype.removeImage=function(K){if(!this.getImage(K))return this.fire(new i.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(K),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},ee.prototype.addSource=function(K,le,Te){var Re=this;if(Te===void 0&&(Te={}),this._checkLoaded(),this.sourceCaches[K]!==void 0)throw new Error("There is already a source with this ID");if(!le.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(le).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(le.type)>=0&&this._validate(i.validateStyle.source,"sources."+K,le,null,Te))){this.map&&this.map._collectResourceTiming&&(le.collectResourceTiming=!0);var He=this.sourceCaches[K]=new ht(K,le,this.dispatcher);He.style=this,He.setEventedParent(this,function(){return{isSourceLoaded:Re.loaded(),source:He.serialize(),sourceId:K}}),He.onAdd(this.map),this._changed=!0}},ee.prototype.removeSource=function(K){if(this._checkLoaded(),this.sourceCaches[K]===void 0)throw new Error("There is no source with this ID");for(var le in this._layers)if(this._layers[le].source===K)return this.fire(new i.ErrorEvent(new Error('Source "'+K+'" cannot be removed while layer "'+le+'" is using it.')));var Te=this.sourceCaches[K];delete this.sourceCaches[K],delete this._updatedSources[K],Te.fire(new i.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:K})),Te.setEventedParent(null),Te.clearTiles(),Te.onRemove&&Te.onRemove(this.map),this._changed=!0},ee.prototype.setGeoJSONSourceData=function(K,le){this._checkLoaded(),this.sourceCaches[K].getSource().setData(le),this._changed=!0},ee.prototype.getSource=function(K){return this.sourceCaches[K]&&this.sourceCaches[K].getSource()},ee.prototype.addLayer=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var Re=K.id;if(this.getLayer(Re))this.fire(new i.ErrorEvent(new Error('Layer with id "'+Re+'" already exists on this map')));else{var He;if(K.type==="custom"){if(Qn(this,i.validateCustomStyleLayer(K)))return;He=i.createStyleLayer(K)}else{if(typeof K.source=="object"&&(this.addSource(Re,K.source),K=i.clone$1(K),K=i.extend(K,{source:Re})),this._validate(i.validateStyle.layer,"layers."+Re,K,{arrayIndex:-1},Te))return;He=i.createStyleLayer(K),this._validateLayer(He),He.setEventedParent(this,{layer:{id:Re}}),this._serializedLayers[He.id]=He.serialize()}var Ze=le?this._order.indexOf(le):this._order.length;if(le&&Ze===-1)this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.')));else{if(this._order.splice(Ze,0,Re),this._layerOrderChanged=!0,this._layers[Re]=He,this._removedLayers[Re]&&He.source&&He.type!=="custom"){var at=this._removedLayers[Re];delete this._removedLayers[Re],at.type!==He.type?this._updatedSources[He.source]="clear":(this._updatedSources[He.source]="reload",this.sourceCaches[He.source].pause())}this._updateLayer(He),He.onAdd&&He.onAdd(this.map)}}},ee.prototype.moveLayer=function(K,le){if(this._checkLoaded(),this._changed=!0,this._layers[K]){if(K!==le){var Te=this._order.indexOf(K);this._order.splice(Te,1);var Re=le?this._order.indexOf(le):this._order.length;le&&Re===-1?this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.'))):(this._order.splice(Re,0,K),this._layerOrderChanged=!0)}}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be moved.")))},ee.prototype.removeLayer=function(K){this._checkLoaded();var le=this._layers[K];if(le){le.setEventedParent(null);var Te=this._order.indexOf(K);this._order.splice(Te,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[K]=le,delete this._layers[K],delete this._serializedLayers[K],delete this._updatedLayers[K],delete this._updatedPaintProps[K],le.onRemove&&le.onRemove(this.map)}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be removed.")))},ee.prototype.getLayer=function(K){return this._layers[K]},ee.prototype.hasLayer=function(K){return K in this._layers},ee.prototype.setLayerZoomRange=function(K,le,Te){this._checkLoaded();var Re=this.getLayer(K);Re?Re.minzoom===le&&Re.maxzoom===Te||(le!=null&&(Re.minzoom=le),Te!=null&&(Re.maxzoom=Te),this._updateLayer(Re)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot have zoom extent.")))},ee.prototype.setFilter=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var Re=this.getLayer(K);if(Re){if(!i.deepEqual(Re.filter,le))return le==null?(Re.filter=void 0,void this._updateLayer(Re)):void(this._validate(i.validateStyle.filter,"layers."+Re.id+".filter",le,null,Te)||(Re.filter=i.clone$1(le),this._updateLayer(Re)))}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be filtered.")))},ee.prototype.getFilter=function(K){return i.clone$1(this.getLayer(K).filter)},ee.prototype.setLayoutProperty=function(K,le,Te,Re){Re===void 0&&(Re={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getLayoutProperty(le),Te)||(He.setLayoutProperty(le,Te,Re),this._updateLayer(He)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getLayoutProperty=function(K,le){var Te=this.getLayer(K);if(Te)return Te.getLayoutProperty(le);this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style.")))},ee.prototype.setPaintProperty=function(K,le,Te,Re){Re===void 0&&(Re={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getPaintProperty(le),Te)||(He.setPaintProperty(le,Te,Re)&&this._updateLayer(He),this._changed=!0,this._updatedPaintProps[K]=!0):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getPaintProperty=function(K,le){return this.getLayer(K).getPaintProperty(le)},ee.prototype.setFeatureState=function(K,le){this._checkLoaded();var Te=K.source,Re=K.sourceLayer,He=this.sourceCaches[Te];if(He!==void 0){var Ze=He.getSource().type;Ze==="geojson"&&Re?this.fire(new i.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):Ze!=="vector"||Re?(K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),He.setFeatureState(Re,K.id,le)):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.removeFeatureState=function(K,le){this._checkLoaded();var Te=K.source,Re=this.sourceCaches[Te];if(Re!==void 0){var He=Re.getSource().type,Ze=He==="vector"?K.sourceLayer:void 0;He!=="vector"||Ze?le&&typeof K.id!="string"&&typeof K.id!="number"?this.fire(new i.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):Re.removeFeatureState(Ze,K.id,le):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.getFeatureState=function(K){this._checkLoaded();var le=K.source,Te=K.sourceLayer,Re=this.sourceCaches[le];if(Re!==void 0){if(Re.getSource().type!=="vector"||Te)return K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),Re.getFeatureState(Te,K.id);this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+le+"' does not exist in the map's style.")))},ee.prototype.getTransition=function(){return i.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},ee.prototype.serialize=function(){return i.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:i.mapObject(this.sourceCaches,function(K){return K.serialize()}),layers:this._serializeLayers(this._order)},function(K){return K!==void 0})},ee.prototype._updateLayer=function(K){this._updatedLayers[K.id]=!0,K.source&&!this._updatedSources[K.source]&&this.sourceCaches[K.source].getSource().type!=="raster"&&(this._updatedSources[K.source]="reload",this.sourceCaches[K.source].pause()),this._changed=!0},ee.prototype._flattenAndSortRenderedFeatures=function(K){for(var le=this,Te=function(tn){return le._layers[tn].type==="fill-extrusion"},Re={},He=[],Ze=this._order.length-1;Ze>=0;Ze--){var at=this._order[Ze];if(Te(at)){Re[at]=Ze;for(var Tt=0,At=K;Tt=0;qe--){var Xe=this._order[qe];if(Te(Xe))for(var tt=He.length-1;tt>=0;tt--){var lt=He[tt].feature;if(Re[lt.layer.id]>16,Ze>>16],u_pixel_coord_lower:[65535&He,65535&Ze]}}Is.prototype.draw=function($,ee,K,le,Te,Re,He,Ze,at,Tt,At,se,ve,Ie,Fe,Ue){var qe,Xe=$.gl;if(!this.failedToCreate){for(var tt in $.program.set(this.program),$.setDepthMode(K),$.setStencilMode(le),$.setColorMode(Te),$.setCullFace(Re),this.fixedUniforms)this.fixedUniforms[tt].set(He[tt]);Ie&&Ie.setUniforms($,this.binderUniforms,se,{zoom:ve});for(var lt=(qe={},qe[Xe.LINES]=2,qe[Xe.TRIANGLES]=3,qe[Xe.LINE_STRIP]=1,qe)[ee],gt=0,zt=At.get();gt0?1-1/(1.001-He):-He),u_contrast_factor:(Re=Te.paint.get("raster-contrast"),Re>0?1/(1-Re):1+Re),u_spin_weights:Kl(Te.paint.get("raster-hue-rotate"))};var Re,He};function Kl($){$*=Math.PI/180;var ee=Math.sin($),K=Math.cos($);return[(2*K+1)/3,(-Math.sqrt(3)*ee-K+1)/3,(Math.sqrt(3)*ee-K+1)/3]}var cl,qi=function($,ee,K,le,Te,Re,He,Ze,at,Tt){var At=Te.transform;return{u_is_size_zoom_constant:+($==="constant"||$==="source"),u_is_size_feature_constant:+($==="constant"||$==="camera"),u_size_t:ee?ee.uSizeT:0,u_size:ee?ee.uSize:0,u_camera_to_center_distance:At.cameraToCenterDistance,u_pitch:At.pitch/360*2*Math.PI,u_rotate_symbol:+K,u_aspect_ratio:At.width/At.height,u_fade_change:Te.options.fadeDuration?Te.symbolFadeChange:1,u_matrix:Re,u_label_plane_matrix:He,u_coord_matrix:Ze,u_is_text:+at,u_pitch_with_map:+le,u_texsize:Tt,u_texture:0}},Il=function($,ee,K,le,Te,Re,He,Ze,at,Tt,At){var se=Te.transform;return i.extend(qi($,ee,K,le,Te,Re,He,Ze,at,Tt),{u_gamma_scale:le?Math.cos(se._pitch)*se.cameraToCenterDistance:1,u_device_pixel_ratio:i.browser.devicePixelRatio,u_is_halo:+At})},Zh=function($,ee,K,le,Te,Re,He,Ze,at,Tt){return i.extend(Il($,ee,K,le,Te,Re,He,Ze,!0,at,!0),{u_texsize_icon:Tt,u_texture_icon:1})},Uc=function($,ee,K){return{u_matrix:$,u_opacity:ee,u_color:K}},oc=function($,ee,K,le,Te,Re){return i.extend(function(He,Ze,at,Tt){var At=at.imageManager.getPattern(He.from.toString()),se=at.imageManager.getPattern(He.to.toString()),ve=at.imageManager.getPixelSize(),Ie=ve.width,Fe=ve.height,Ue=Math.pow(2,Tt.tileID.overscaledZ),qe=Tt.tileSize*Math.pow(2,at.transform.tileZoom)/Ue,Xe=qe*(Tt.tileID.canonical.x+Tt.tileID.wrap*Ue),tt=qe*Tt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:At.tl,u_pattern_br_a:At.br,u_pattern_tl_b:se.tl,u_pattern_br_b:se.br,u_texsize:[Ie,Fe],u_mix:Ze.t,u_pattern_size_a:At.displaySize,u_pattern_size_b:se.displaySize,u_scale_a:Ze.fromScale,u_scale_b:Ze.toScale,u_tile_units_to_pixels:1/yr(Tt,1,at.transform.tileZoom),u_pixel_coord_upper:[Xe>>16,tt>>16],u_pixel_coord_lower:[65535&Xe,65535&tt]}}(le,Re,K,Te),{u_matrix:$,u_opacity:ee})},Jl={fillExtrusion:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_lightpos:new i.Uniform3f($,ee.u_lightpos),u_lightintensity:new i.Uniform1f($,ee.u_lightintensity),u_lightcolor:new i.Uniform3f($,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f($,ee.u_vertical_gradient),u_opacity:new i.Uniform1f($,ee.u_opacity)}},fillExtrusionPattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_lightpos:new i.Uniform3f($,ee.u_lightpos),u_lightintensity:new i.Uniform1f($,ee.u_lightintensity),u_lightcolor:new i.Uniform3f($,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f($,ee.u_vertical_gradient),u_height_factor:new i.Uniform1f($,ee.u_height_factor),u_image:new i.Uniform1i($,ee.u_image),u_texsize:new i.Uniform2f($,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade),u_opacity:new i.Uniform1f($,ee.u_opacity)}},fill:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},fillPattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_image:new i.Uniform1i($,ee.u_image),u_texsize:new i.Uniform2f($,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade)}},fillOutline:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_world:new i.Uniform2f($,ee.u_world)}},fillOutlinePattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_world:new i.Uniform2f($,ee.u_world),u_image:new i.Uniform1i($,ee.u_image),u_texsize:new i.Uniform2f($,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade)}},circle:function($,ee){return{u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_scale_with_map:new i.Uniform1i($,ee.u_scale_with_map),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_extrude_scale:new i.Uniform2f($,ee.u_extrude_scale),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},collisionBox:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pixels_to_tile_units:new i.Uniform1f($,ee.u_pixels_to_tile_units),u_extrude_scale:new i.Uniform2f($,ee.u_extrude_scale),u_overscale_factor:new i.Uniform1f($,ee.u_overscale_factor)}},collisionCircle:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_inv_matrix:new i.UniformMatrix4f($,ee.u_inv_matrix),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_viewport_size:new i.Uniform2f($,ee.u_viewport_size)}},debug:function($,ee){return{u_color:new i.UniformColor($,ee.u_color),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_overlay:new i.Uniform1i($,ee.u_overlay),u_overlay_scale:new i.Uniform1f($,ee.u_overlay_scale)}},clippingMask:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},heatmap:function($,ee){return{u_extrude_scale:new i.Uniform1f($,ee.u_extrude_scale),u_intensity:new i.Uniform1f($,ee.u_intensity),u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},heatmapTexture:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_world:new i.Uniform2f($,ee.u_world),u_image:new i.Uniform1i($,ee.u_image),u_color_ramp:new i.Uniform1i($,ee.u_color_ramp),u_opacity:new i.Uniform1f($,ee.u_opacity)}},hillshade:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_image:new i.Uniform1i($,ee.u_image),u_latrange:new i.Uniform2f($,ee.u_latrange),u_light:new i.Uniform2f($,ee.u_light),u_shadow:new i.UniformColor($,ee.u_shadow),u_highlight:new i.UniformColor($,ee.u_highlight),u_accent:new i.UniformColor($,ee.u_accent)}},hillshadePrepare:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_image:new i.Uniform1i($,ee.u_image),u_dimension:new i.Uniform2f($,ee.u_dimension),u_zoom:new i.Uniform1f($,ee.u_zoom),u_maxzoom:new i.Uniform1f($,ee.u_maxzoom),u_unpack:new i.Uniform4f($,ee.u_unpack)}},line:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels)}},lineGradient:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels),u_image:new i.Uniform1i($,ee.u_image)}},linePattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_texsize:new i.Uniform2f($,ee.u_texsize),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_image:new i.Uniform1i($,ee.u_image),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade)}},lineSDF:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels),u_patternscale_a:new i.Uniform2f($,ee.u_patternscale_a),u_patternscale_b:new i.Uniform2f($,ee.u_patternscale_b),u_sdfgamma:new i.Uniform1f($,ee.u_sdfgamma),u_image:new i.Uniform1i($,ee.u_image),u_tex_y_a:new i.Uniform1f($,ee.u_tex_y_a),u_tex_y_b:new i.Uniform1f($,ee.u_tex_y_b),u_mix:new i.Uniform1f($,ee.u_mix)}},raster:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_tl_parent:new i.Uniform2f($,ee.u_tl_parent),u_scale_parent:new i.Uniform1f($,ee.u_scale_parent),u_buffer_scale:new i.Uniform1f($,ee.u_buffer_scale),u_fade_t:new i.Uniform1f($,ee.u_fade_t),u_opacity:new i.Uniform1f($,ee.u_opacity),u_image0:new i.Uniform1i($,ee.u_image0),u_image1:new i.Uniform1i($,ee.u_image1),u_brightness_low:new i.Uniform1f($,ee.u_brightness_low),u_brightness_high:new i.Uniform1f($,ee.u_brightness_high),u_saturation_factor:new i.Uniform1f($,ee.u_saturation_factor),u_contrast_factor:new i.Uniform1f($,ee.u_contrast_factor),u_spin_weights:new i.Uniform3f($,ee.u_spin_weights)}},symbolIcon:function($,ee){return{u_is_size_zoom_constant:new i.Uniform1i($,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i($,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f($,ee.u_size_t),u_size:new i.Uniform1f($,ee.u_size),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f($,ee.u_pitch),u_rotate_symbol:new i.Uniform1i($,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f($,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f($,ee.u_fade_change),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f($,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f($,ee.u_coord_matrix),u_is_text:new i.Uniform1i($,ee.u_is_text),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_texsize:new i.Uniform2f($,ee.u_texsize),u_texture:new i.Uniform1i($,ee.u_texture)}},symbolSDF:function($,ee){return{u_is_size_zoom_constant:new i.Uniform1i($,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i($,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f($,ee.u_size_t),u_size:new i.Uniform1f($,ee.u_size),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f($,ee.u_pitch),u_rotate_symbol:new i.Uniform1i($,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f($,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f($,ee.u_fade_change),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f($,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f($,ee.u_coord_matrix),u_is_text:new i.Uniform1i($,ee.u_is_text),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_texsize:new i.Uniform2f($,ee.u_texsize),u_texture:new i.Uniform1i($,ee.u_texture),u_gamma_scale:new i.Uniform1f($,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i($,ee.u_is_halo)}},symbolTextAndIcon:function($,ee){return{u_is_size_zoom_constant:new i.Uniform1i($,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i($,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f($,ee.u_size_t),u_size:new i.Uniform1f($,ee.u_size),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f($,ee.u_pitch),u_rotate_symbol:new i.Uniform1i($,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f($,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f($,ee.u_fade_change),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f($,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f($,ee.u_coord_matrix),u_is_text:new i.Uniform1i($,ee.u_is_text),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_texsize:new i.Uniform2f($,ee.u_texsize),u_texsize_icon:new i.Uniform2f($,ee.u_texsize_icon),u_texture:new i.Uniform1i($,ee.u_texture),u_texture_icon:new i.Uniform1i($,ee.u_texture_icon),u_gamma_scale:new i.Uniform1f($,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i($,ee.u_is_halo)}},background:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_opacity:new i.Uniform1f($,ee.u_opacity),u_color:new i.UniformColor($,ee.u_color)}},backgroundPattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_opacity:new i.Uniform1f($,ee.u_opacity),u_image:new i.Uniform1i($,ee.u_image),u_pattern_tl_a:new i.Uniform2f($,ee.u_pattern_tl_a),u_pattern_br_a:new i.Uniform2f($,ee.u_pattern_br_a),u_pattern_tl_b:new i.Uniform2f($,ee.u_pattern_tl_b),u_pattern_br_b:new i.Uniform2f($,ee.u_pattern_br_b),u_texsize:new i.Uniform2f($,ee.u_texsize),u_mix:new i.Uniform1f($,ee.u_mix),u_pattern_size_a:new i.Uniform2f($,ee.u_pattern_size_a),u_pattern_size_b:new i.Uniform2f($,ee.u_pattern_size_b),u_scale_a:new i.Uniform1f($,ee.u_scale_a),u_scale_b:new i.Uniform1f($,ee.u_scale_b),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_tile_units_to_pixels:new i.Uniform1f($,ee.u_tile_units_to_pixels)}}};function Iu($,ee,K,le,Te,Re,He){for(var Ze=$.context,at=Ze.gl,Tt=$.useProgram("collisionBox"),At=[],se=0,ve=0,Ie=0;Ie0){var gt=i.create(),zt=Xe;i.mul(gt,qe.placementInvProjMatrix,$.transform.glCoordMatrix),i.mul(gt,gt,qe.placementViewportMatrix),At.push({circleArray:lt,circleOffset:ve,transform:zt,invTransform:gt}),ve=se+=lt.length/4}tt&&Tt.draw(Ze,at.LINES,Wt.disabled,Ke.disabled,$.colorModeForRenderPass(),We.disabled,ph(Xe,$.transform,Ue),K.id,tt.layoutVertexBuffer,tt.indexBuffer,tt.segments,null,$.transform.zoom,null,null,tt.collisionVertexBuffer)}}if(He&&At.length){var Ut=$.useProgram("collisionCircle"),Ht=new i.StructArrayLayout2f1f2i16;Ht.resize(4*se),Ht._trim();for(var en=0,vn=0,tn=At;vn=0&&(Fe[qe.associatedIconIndex]={shiftedAnchor:tn,angle:ln})}else rr(qe.numGlyphs,ve)}if(At){Ie.clear();for(var Cn=$.icon.placedSymbolArray,_n=0;_n0){var He=i.browser.now(),Ze=(He-$.timeAdded)/Re,at=ee?(He-ee.timeAdded)/Re:-1,Tt=K.getSource(),At=Te.coveringZoomLevel({tileSize:Tt.tileSize,roundZoom:Tt.roundZoom}),se=!ee||Math.abs(ee.tileID.overscaledZ-At)>Math.abs($.tileID.overscaledZ-At),ve=se&&$.refreshedUponExpiration?1:i.clamp(se?Ze:1-at,0,1);return $.refreshedUponExpiration&&Ze>=1&&($.refreshedUponExpiration=!1),ee?{opacity:1,mix:1-ve}:{opacity:ve,mix:0}}return{opacity:1,mix:0}}var fc=new i.Color(1,0,0,1),hc=new i.Color(0,1,0,1),Sf=new i.Color(0,0,1,1),Ol=new i.Color(1,0,1,1),Hc=new i.Color(0,1,1,1);function dc($){var ee=$.transform.padding;Cf($,$.transform.height-(ee.top||0),3,fc),Cf($,ee.bottom||0,3,hc),pc($,ee.left||0,3,Sf),pc($,$.transform.width-(ee.right||0),3,Ol);var K=$.transform.centerPoint;(function(le,Te,Re,He){var Ze=20,at=2;Du(le,Te-at/2,Re-Ze/2,at,Ze,He),Du(le,Te-Ze/2,Re-at/2,Ze,at,He)})($,K.x,$.transform.height-K.y,Hc)}function Cf($,ee,K,le){Du($,0,ee+K/2,$.transform.width,K,le)}function pc($,ee,K,le){Du($,ee-K/2,0,K,$.transform.height,le)}function Du($,ee,K,le,Te,Re){var He=$.context,Ze=He.gl;Ze.enable(Ze.SCISSOR_TEST),Ze.scissor(ee*i.browser.devicePixelRatio,K*i.browser.devicePixelRatio,le*i.browser.devicePixelRatio,Te*i.browser.devicePixelRatio),He.clear({color:Re}),Ze.disable(Ze.SCISSOR_TEST)}function tu($,ee,K){var le=$.context,Te=le.gl,Re=K.posMatrix,He=$.useProgram("debug"),Ze=Wt.disabled,at=Ke.disabled,Tt=$.colorModeForRenderPass(),At="$debug";le.activeTexture.set(Te.TEXTURE0),$.emptyTexture.bind(Te.LINEAR,Te.CLAMP_TO_EDGE),He.draw(le,Te.LINE_STRIP,Ze,at,Tt,We.disabled,sl(Re,i.Color.red),At,$.debugBuffer,$.tileBorderIndexBuffer,$.debugSegments);var se=ee.getTileByID(K.key).latestRawTileData,ve=se&&se.byteLength||0,Ie=Math.floor(ve/1024),Fe=ee.getTile(K).tileSize,Ue=512/Math.min(Fe,512)*(K.overscaledZ/$.transform.zoom)*.5,qe=K.canonical.toString();K.overscaledZ!==K.canonical.z&&(qe+=" => "+K.overscaledZ),function(Xe,tt){Xe.initDebugOverlayCanvas();var lt=Xe.debugOverlayCanvas,gt=Xe.context.gl,zt=Xe.debugOverlayCanvas.getContext("2d");zt.clearRect(0,0,lt.width,lt.height),zt.shadowColor="white",zt.shadowBlur=2,zt.lineWidth=1.5,zt.strokeStyle="white",zt.textBaseline="top",zt.font="bold 36px Open Sans, sans-serif",zt.fillText(tt,5,5),zt.strokeText(tt,5,5),Xe.debugOverlayTexture.update(lt),Xe.debugOverlayTexture.bind(gt.LINEAR,gt.CLAMP_TO_EDGE)}($,qe+" "+Ie+"kb"),He.draw(le,Te.TRIANGLES,Ze,at,Je.alphaBlended,We.disabled,sl(Re,i.Color.transparent,Ue),At,$.debugBuffer,$.quadTriangleIndexBuffer,$.debugSegments)}var nu={symbol:function($,ee,K,le,Te){if($.renderPass==="translucent"){var Re=Ke.disabled,He=$.colorModeForRenderPass();K.layout.get("text-variable-anchor")&&function(Ze,at,Tt,At,se,ve,Ie){for(var Fe=at.transform,Ue=se==="map",qe=ve==="map",Xe=0,tt=Ze;Xe256&&this.clearStencil(),K.setColorMode(Je.disabled),K.setDepthMode(Wt.disabled);var Te=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var Re=0,He=ee;Re256&&this.clearStencil();var $=this.nextStencilID++,ee=this.context.gl;return new Ke({func:ee.NOTEQUAL,mask:255},$,255,ee.KEEP,ee.KEEP,ee.REPLACE)},ea.prototype.stencilModeForClipping=function($){var ee=this.context.gl;return new Ke({func:ee.EQUAL,mask:255},this._tileClippingMaskIDs[$.key],0,ee.KEEP,ee.KEEP,ee.REPLACE)},ea.prototype.stencilConfigForOverlap=function($){var ee,K=this.context.gl,le=$.sort(function(at,Tt){return Tt.overscaledZ-at.overscaledZ}),Te=le[le.length-1].overscaledZ,Re=le[0].overscaledZ-Te+1;if(Re>1){this.currentStencilSource=void 0,this.nextStencilID+Re>256&&this.clearStencil();for(var He={},Ze=0;Ze=0;this.currentLayer--){var zt=this.style._layers[le[this.currentLayer]],Ut=Te[zt.source],Ht=Tt[zt.source];this._renderTileClippingMasks(zt,Ht),this.renderLayer(this,Ut,zt,Ht)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?ee.pop():null},ea.prototype.isPatternMissing=function($){if(!$)return!1;if(!$.from||!$.to)return!0;var ee=this.imageManager.getPattern($.from.toString()),K=this.imageManager.getPattern($.to.toString());return!ee||!K},ea.prototype.useProgram=function($,ee){this.cache=this.cache||{};var K=""+$+(ee?ee.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[K]||(this.cache[K]=new Is(this.context,El[$],ee,Jl[$],this._showOverdrawInspector)),this.cache[K]},ea.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()},ea.prototype.setBaseState=function(){var $=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set($.FUNC_ADD)},ea.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=i.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var $=this.context.gl;this.debugOverlayTexture=new i.Texture(this.context,this.debugOverlayCanvas,$.RGBA)}},ea.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var Pl=function($,ee){this.points=$,this.planes=ee};Pl.fromInvProjectionMatrix=function($,ee,K){var le=Math.pow(2,K),Te=[[-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(He){return i.transformMat4([],He,$)}).map(function(He){return i.scale$1([],He,1/He[3]/ee*le)}),Re=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(function(He){var Ze=i.sub([],Te[He[0]],Te[He[1]]),at=i.sub([],Te[He[2]],Te[He[1]]),Tt=i.normalize([],i.cross([],Ze,at)),At=-i.dot(Tt,Te[He[1]]);return Tt.concat(At)});return new Pl(Te,Re)};var Dl=function($,ee){this.min=$,this.max=ee,this.center=i.scale$2([],i.add([],this.min,this.max),.5)};Dl.prototype.quadrant=function($){for(var ee=[$%2==0,$<2],K=i.clone$2(this.min),le=i.clone$2(this.max),Te=0;Te=0;if(Re===0)return 0;Re!==ee.length&&(K=!1)}if(K)return 2;for(var Ze=0;Ze<3;Ze++){for(var at=Number.MAX_VALUE,Tt=-Number.MAX_VALUE,At=0;At<$.points.length;At++){var se=$.points[At][Ze]-this.min[Ze];at=Math.min(at,se),Tt=Math.max(Tt,se)}if(Tt<0||at>this.max[Ze]-this.min[Ze])return 0}return 1};var mo=function($,ee,K,le){if($===void 0&&($=0),ee===void 0&&(ee=0),K===void 0&&(K=0),le===void 0&&(le=0),isNaN($)||$<0||isNaN(ee)||ee<0||isNaN(K)||K<0||isNaN(le)||le<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=$,this.bottom=ee,this.left=K,this.right=le};mo.prototype.interpolate=function($,ee,K){return ee.top!=null&&$.top!=null&&(this.top=i.number($.top,ee.top,K)),ee.bottom!=null&&$.bottom!=null&&(this.bottom=i.number($.bottom,ee.bottom,K)),ee.left!=null&&$.left!=null&&(this.left=i.number($.left,ee.left,K)),ee.right!=null&&$.right!=null&&(this.right=i.number($.right,ee.right,K)),this},mo.prototype.getCenter=function($,ee){var K=i.clamp((this.left+$-this.right)/2,0,$),le=i.clamp((this.top+ee-this.bottom)/2,0,ee);return new i.Point(K,le)},mo.prototype.equals=function($){return this.top===$.top&&this.bottom===$.bottom&&this.left===$.left&&this.right===$.right},mo.prototype.clone=function(){return new mo(this.top,this.bottom,this.left,this.right)},mo.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var Fi=function($,ee,K,le,Te){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Te===void 0||Te,this._minZoom=$||0,this._maxZoom=ee||22,this._minPitch=K??0,this._maxPitch=le??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new i.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new mo,this._posMatrixCache={},this._alignedPosMatrixCache={}},ji={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}};Fi.prototype.clone=function(){var $=new Fi(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return $.tileSize=this.tileSize,$.latRange=this.latRange,$.width=this.width,$.height=this.height,$._center=this._center,$.zoom=this.zoom,$.angle=this.angle,$._fov=this._fov,$._pitch=this._pitch,$._unmodified=this._unmodified,$._edgeInsets=this._edgeInsets.clone(),$._calcMatrices(),$},ji.minZoom.get=function(){return this._minZoom},ji.minZoom.set=function($){this._minZoom!==$&&(this._minZoom=$,this.zoom=Math.max(this.zoom,$))},ji.maxZoom.get=function(){return this._maxZoom},ji.maxZoom.set=function($){this._maxZoom!==$&&(this._maxZoom=$,this.zoom=Math.min(this.zoom,$))},ji.minPitch.get=function(){return this._minPitch},ji.minPitch.set=function($){this._minPitch!==$&&(this._minPitch=$,this.pitch=Math.max(this.pitch,$))},ji.maxPitch.get=function(){return this._maxPitch},ji.maxPitch.set=function($){this._maxPitch!==$&&(this._maxPitch=$,this.pitch=Math.min(this.pitch,$))},ji.renderWorldCopies.get=function(){return this._renderWorldCopies},ji.renderWorldCopies.set=function($){$===void 0?$=!0:$===null&&($=!1),this._renderWorldCopies=$},ji.worldSize.get=function(){return this.tileSize*this.scale},ji.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},ji.size.get=function(){return new i.Point(this.width,this.height)},ji.bearing.get=function(){return-this.angle/Math.PI*180},ji.bearing.set=function($){var ee=-i.wrap($,-180,180)*Math.PI/180;this.angle!==ee&&(this._unmodified=!1,this.angle=ee,this._calcMatrices(),this.rotationMatrix=i.create$2(),i.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},ji.pitch.get=function(){return this._pitch/Math.PI*180},ji.pitch.set=function($){var ee=i.clamp($,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ee&&(this._unmodified=!1,this._pitch=ee,this._calcMatrices())},ji.fov.get=function(){return this._fov/Math.PI*180},ji.fov.set=function($){$=Math.max(.01,Math.min(60,$)),this._fov!==$&&(this._unmodified=!1,this._fov=$/180*Math.PI,this._calcMatrices())},ji.zoom.get=function(){return this._zoom},ji.zoom.set=function($){var ee=Math.min(Math.max($,this.minZoom),this.maxZoom);this._zoom!==ee&&(this._unmodified=!1,this._zoom=ee,this.scale=this.zoomScale(ee),this.tileZoom=Math.floor(ee),this.zoomFraction=ee-this.tileZoom,this._constrain(),this._calcMatrices())},ji.center.get=function(){return this._center},ji.center.set=function($){$.lat===this._center.lat&&$.lng===this._center.lng||(this._unmodified=!1,this._center=$,this._constrain(),this._calcMatrices())},ji.padding.get=function(){return this._edgeInsets.toJSON()},ji.padding.set=function($){this._edgeInsets.equals($)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,$,1),this._calcMatrices())},ji.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},Fi.prototype.isPaddingEqual=function($){return this._edgeInsets.equals($)},Fi.prototype.interpolatePadding=function($,ee,K){this._unmodified=!1,this._edgeInsets.interpolate($,ee,K),this._constrain(),this._calcMatrices()},Fi.prototype.coveringZoomLevel=function($){var ee=($.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/$.tileSize));return Math.max(0,ee)},Fi.prototype.getVisibleUnwrappedCoordinates=function($){var ee=[new i.UnwrappedTileID(0,$)];if(this._renderWorldCopies)for(var K=this.pointCoordinate(new i.Point(0,0)),le=this.pointCoordinate(new i.Point(this.width,0)),Te=this.pointCoordinate(new i.Point(this.width,this.height)),Re=this.pointCoordinate(new i.Point(0,this.height)),He=Math.floor(Math.min(K.x,le.x,Te.x,Re.x)),Ze=Math.floor(Math.max(K.x,le.x,Te.x,Re.x)),at=He-1;at<=Ze+1;at++)at!==0&&ee.push(new i.UnwrappedTileID(at,$));return ee},Fi.prototype.coveringTiles=function($){var ee=this.coveringZoomLevel($),K=ee;if($.minzoom!==void 0&&ee<$.minzoom)return[];$.maxzoom!==void 0&&ee>$.maxzoom&&(ee=$.maxzoom);var le=i.MercatorCoordinate.fromLngLat(this.center),Te=Math.pow(2,ee),Re=[Te*le.x,Te*le.y,0],He=Pl.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,ee),Ze=$.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ze=ee);var at=function(tn){return{aabb:new Dl([tn*Te,0,0],[(tn+1)*Te,Te,0]),zoom:0,x:0,y:0,wrap:tn,fullyVisible:!1}},Tt=[],At=[],se=ee,ve=$.reparseOverscaled?K:ee;if(this._renderWorldCopies)for(var Ie=1;Ie<=3;Ie++)Tt.push(at(-Ie)),Tt.push(at(Ie));for(Tt.push(at(0));Tt.length>0;){var Fe=Tt.pop(),Ue=Fe.x,qe=Fe.y,Xe=Fe.fullyVisible;if(!Xe){var tt=Fe.aabb.intersects(He);if(tt===0)continue;Xe=tt===2}var lt=Fe.aabb.distanceX(Re),gt=Fe.aabb.distanceY(Re),zt=Math.max(Math.abs(lt),Math.abs(gt)),Ut=3+(1<Ut&&Fe.zoom>=Ze)At.push({tileID:new i.OverscaledTileID(Fe.zoom===se?ve:Fe.zoom,Fe.wrap,Fe.zoom,Ue,qe),distanceSq:i.sqrLen([Re[0]-.5-Ue,Re[1]-.5-qe])});else for(var Ht=0;Ht<4;Ht++){var en=(Ue<<1)+Ht%2,vn=(qe<<1)+(Ht>>1);Tt.push({aabb:Fe.aabb.quadrant(Ht),zoom:Fe.zoom+1,x:en,y:vn,wrap:Fe.wrap,fullyVisible:Xe})}}return At.sort(function(tn,ln){return tn.distanceSq-ln.distanceSq}).map(function(tn){return tn.tileID})},Fi.prototype.resize=function($,ee){this.width=$,this.height=ee,this.pixelsToGLUnits=[2/$,-2/ee],this._constrain(),this._calcMatrices()},ji.unmodified.get=function(){return this._unmodified},Fi.prototype.zoomScale=function($){return Math.pow(2,$)},Fi.prototype.scaleZoom=function($){return Math.log($)/Math.LN2},Fi.prototype.project=function($){var ee=i.clamp($.lat,-this.maxValidLatitude,this.maxValidLatitude);return new i.Point(i.mercatorXfromLng($.lng)*this.worldSize,i.mercatorYfromLat(ee)*this.worldSize)},Fi.prototype.unproject=function($){return new i.MercatorCoordinate($.x/this.worldSize,$.y/this.worldSize).toLngLat()},ji.point.get=function(){return this.project(this.center)},Fi.prototype.setLocationAtPoint=function($,ee){var K=this.pointCoordinate(ee),le=this.pointCoordinate(this.centerPoint),Te=this.locationCoordinate($),Re=new i.MercatorCoordinate(Te.x-(K.x-le.x),Te.y-(K.y-le.y));this.center=this.coordinateLocation(Re),this._renderWorldCopies&&(this.center=this.center.wrap())},Fi.prototype.locationPoint=function($){return this.coordinatePoint(this.locationCoordinate($))},Fi.prototype.pointLocation=function($){return this.coordinateLocation(this.pointCoordinate($))},Fi.prototype.locationCoordinate=function($){return i.MercatorCoordinate.fromLngLat($)},Fi.prototype.coordinateLocation=function($){return $.toLngLat()},Fi.prototype.pointCoordinate=function($){var ee=[$.x,$.y,0,1],K=[$.x,$.y,1,1];i.transformMat4(ee,ee,this.pixelMatrixInverse),i.transformMat4(K,K,this.pixelMatrixInverse);var le=ee[3],Te=K[3],Re=ee[0]/le,He=K[0]/Te,Ze=ee[1]/le,at=K[1]/Te,Tt=ee[2]/le,At=K[2]/Te,se=Tt===At?0:(0-Tt)/(At-Tt);return new i.MercatorCoordinate(i.number(Re,He,se)/this.worldSize,i.number(Ze,at,se)/this.worldSize)},Fi.prototype.coordinatePoint=function($){var ee=[$.x*this.worldSize,$.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix),new i.Point(ee[0]/ee[3],ee[1]/ee[3])},Fi.prototype.getBounds=function(){return new i.LngLatBounds().extend(this.pointLocation(new i.Point(0,0))).extend(this.pointLocation(new i.Point(this.width,0))).extend(this.pointLocation(new i.Point(this.width,this.height))).extend(this.pointLocation(new i.Point(0,this.height)))},Fi.prototype.getMaxBounds=function(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new i.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},Fi.prototype.setMaxBounds=function($){$?(this.lngRange=[$.getWest(),$.getEast()],this.latRange=[$.getSouth(),$.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},Fi.prototype.calculatePosMatrix=function($,ee){ee===void 0&&(ee=!1);var K=$.key,le=ee?this._alignedPosMatrixCache:this._posMatrixCache;if(le[K])return le[K];var Te=$.canonical,Re=this.worldSize/this.zoomScale(Te.z),He=Te.x+Math.pow(2,Te.z)*$.wrap,Ze=i.identity(new Float64Array(16));return i.translate(Ze,Ze,[He*Re,Te.y*Re,0]),i.scale(Ze,Ze,[Re/i.EXTENT,Re/i.EXTENT,1]),i.multiply(Ze,ee?this.alignedProjMatrix:this.projMatrix,Ze),le[K]=new Float32Array(Ze),le[K]},Fi.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},Fi.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var $,ee,K,le,Te=-90,Re=90,He=-180,Ze=180,at=this.size,Tt=this._unmodified;if(this.latRange){var At=this.latRange;Te=i.mercatorYfromLat(At[1])*this.worldSize,$=(Re=i.mercatorYfromLat(At[0])*this.worldSize)-TeRe&&(le=Re-Ue)}if(this.lngRange){var qe=ve.x,Xe=at.x/2;qe-XeZe&&(K=Ze-Xe)}K===void 0&&le===void 0||(this.center=this.unproject(new i.Point(K!==void 0?K:ve.x,le!==void 0?le:ve.y))),this._unmodified=Tt,this._constraining=!1}},Fi.prototype._calcMatrices=function(){if(this.height){var $=this._fov/2,ee=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan($)*this.height;var K=Math.PI/2+this._pitch,le=this._fov*(.5+ee.y/this.height),Te=Math.sin(le)*this.cameraToCenterDistance/Math.sin(i.clamp(Math.PI-K-le,.01,Math.PI-.01)),Re=this.point,He=Re.x,Ze=Re.y,at=1.01*(Math.cos(Math.PI/2-this._pitch)*Te+this.cameraToCenterDistance),Tt=this.height/50,At=new Float64Array(16);i.perspective(At,this._fov,this.width/this.height,Tt,at),At[8]=2*-ee.x/this.width,At[9]=2*ee.y/this.height,i.scale(At,At,[1,-1,1]),i.translate(At,At,[0,0,-this.cameraToCenterDistance]),i.rotateX(At,At,this._pitch),i.rotateZ(At,At,this.angle),i.translate(At,At,[-He,-Ze,0]),this.mercatorMatrix=i.scale([],At,[this.worldSize,this.worldSize,this.worldSize]),i.scale(At,At,[1,1,i.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=At,this.invProjMatrix=i.invert([],this.projMatrix);var se=this.width%2/2,ve=this.height%2/2,Ie=Math.cos(this.angle),Fe=Math.sin(this.angle),Ue=He-Math.round(He)+Ie*se+Fe*ve,qe=Ze-Math.round(Ze)+Ie*ve+Fe*se,Xe=new Float64Array(At);if(i.translate(Xe,Xe,[Ue>.5?Ue-1:Ue,qe>.5?qe-1:qe,0]),this.alignedProjMatrix=Xe,At=i.create(),i.scale(At,At,[this.width/2,-this.height/2,1]),i.translate(At,At,[1,-1,0]),this.labelPlaneMatrix=At,At=i.create(),i.scale(At,At,[1,-1,1]),i.translate(At,At,[-1,-1,0]),i.scale(At,At,[2/this.width,2/this.height,1]),this.glCoordMatrix=At,this.pixelMatrix=i.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(At=i.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=At,this._posMatrixCache={},this._alignedPosMatrixCache={}}},Fi.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var $=this.pointCoordinate(new i.Point(0,0)),ee=[$.x*this.worldSize,$.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix)[3]/this.cameraToCenterDistance},Fi.prototype.getCameraPoint=function(){var $=this._pitch,ee=Math.tan($)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new i.Point(0,ee))},Fi.prototype.getCameraQueryGeometry=function($){var ee=this.getCameraPoint();if($.length===1)return[$[0],ee];for(var K=ee.x,le=ee.y,Te=ee.x,Re=ee.y,He=0,Ze=$;He=3&&!$.some(function(K){return isNaN(K)})){var ee=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+($[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+$[2],+$[1]],zoom:+$[0],bearing:ee,pitch:+($[4]||0)}),!0}return!1},fl.prototype._updateHashUnthrottled=function(){var $=this.getHashString();try{i.window.history.replaceState(i.window.history.state,"",$)}catch{}};var $s={linearity:.3,easing:i.bezier(0,0,.3,1)},Gc=i.extend({deceleration:2500,maxSpeed:1400},$s),Ef=i.extend({deceleration:20,maxSpeed:1400},$s),ru=i.extend({deceleration:1e3,maxSpeed:360},$s),Lf=i.extend({deceleration:1e3,maxSpeed:90},$s),iu=function($){this._map=$,this.clear()};function hl($,ee){(!$.duration||$.duration0&&ee-$[0].time>160;)$.shift()},iu.prototype._onMoveEnd=function($){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var ee={zoom:0,bearing:0,pitch:0,pan:new i.Point(0,0),pinchAround:void 0,around:void 0},K=0,le=this._inertiaBuffer;K=this._clickTolerance||this._map.fire(new va($.type,this._map,$))},$a.prototype.dblclick=function($){return this._firePreventable(new va($.type,this._map,$))},$a.prototype.mouseover=function($){this._map.fire(new va($.type,this._map,$))},$a.prototype.mouseout=function($){this._map.fire(new va($.type,this._map,$))},$a.prototype.touchstart=function($){return this._firePreventable(new Ys($.type,this._map,$))},$a.prototype.touchmove=function($){this._map.fire(new Ys($.type,this._map,$))},$a.prototype.touchend=function($){this._map.fire(new Ys($.type,this._map,$))},$a.prototype.touchcancel=function($){this._map.fire(new Ys($.type,this._map,$))},$a.prototype._firePreventable=function($){if(this._map.fire($),$.defaultPrevented)return{}},$a.prototype.isEnabled=function(){return!0},$a.prototype.isActive=function(){return!1},$a.prototype.enable=function(){},$a.prototype.disable=function(){};var go=function($){this._map=$};go.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},go.prototype.mousemove=function($){this._map.fire(new va($.type,this._map,$))},go.prototype.mousedown=function(){this._delayContextMenu=!0},go.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new va("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},go.prototype.contextmenu=function($){this._delayContextMenu?this._contextMenuEvent=$:this._map.fire(new va($.type,this._map,$)),this._map.listens("contextmenu")&&$.preventDefault()},go.prototype.isEnabled=function(){return!0},go.prototype.isActive=function(){return!1},go.prototype.enable=function(){},go.prototype.disable=function(){};var vo=function($,ee){this._map=$,this._el=$.getCanvasContainer(),this._container=$.getContainer(),this._clickTolerance=ee.clickTolerance||1};function fo($,ee){for(var K={},le=0;le<$.length;le++)K[$[le].identifier]=ee[le];return K}vo.prototype.isEnabled=function(){return!!this._enabled},vo.prototype.isActive=function(){return!!this._active},vo.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},vo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},vo.prototype.mousedown=function($,ee){this.isEnabled()&&$.shiftKey&&$.button===0&&(v.disableDrag(),this._startPos=this._lastPos=ee,this._active=!0)},vo.prototype.mousemoveWindow=function($,ee){if(this._active){var K=ee;if(!(this._lastPos.equals(K)||!this._box&&K.dist(this._startPos)this.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=$.timeStamp),K.length===this.numTouches&&(this.centroid=function(le){for(var Te=new i.Point(0,0),Re=0,He=le;Re30)&&(this.aborted=!0)}}},Vo.prototype.touchend=function($,ee,K){if((!this.centroid||$.timeStamp-this.startTime>500)&&(this.aborted=!0),K.length===0){var le=!this.aborted&&this.centroid;if(this.reset(),le)return le}};var Rl=function($){this.singleTap=new Vo($),this.numTaps=$.numTaps,this.reset()};Rl.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Rl.prototype.touchstart=function($,ee,K){this.singleTap.touchstart($,ee,K)},Rl.prototype.touchmove=function($,ee,K){this.singleTap.touchmove($,ee,K)},Rl.prototype.touchend=function($,ee,K){var le=this.singleTap.touchend($,ee,K);if(le){var Te=$.timeStamp-this.lastTime<500,Re=!this.lastTap||this.lastTap.dist(le)<30;if(Te&&Re||this.reset(),this.count++,this.lastTime=$.timeStamp,this.lastTap=le,this.count===this.numTaps)return this.reset(),le}};var bs=function(){this._zoomIn=new Rl({numTouches:1,numTaps:2}),this._zoomOut=new Rl({numTouches:2,numTaps:1}),this.reset()};bs.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},bs.prototype.touchstart=function($,ee,K){this._zoomIn.touchstart($,ee,K),this._zoomOut.touchstart($,ee,K)},bs.prototype.touchmove=function($,ee,K){this._zoomIn.touchmove($,ee,K),this._zoomOut.touchmove($,ee,K)},bs.prototype.touchend=function($,ee,K){var le=this,Te=this._zoomIn.touchend($,ee,K),Re=this._zoomOut.touchend($,ee,K);return Te?(this._active=!0,$.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()+1,around:He.unproject(Te)},{originalEvent:$})}}):Re?(this._active=!0,$.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()-1,around:He.unproject(Re)},{originalEvent:$})}}):void 0},bs.prototype.touchcancel=function(){this.reset()},bs.prototype.enable=function(){this._enabled=!0},bs.prototype.disable=function(){this._enabled=!1,this.reset()},bs.prototype.isEnabled=function(){return this._enabled},bs.prototype.isActive=function(){return this._active};var Xa=function($){this.reset(),this._clickTolerance=$.clickTolerance||1};Xa.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},Xa.prototype._correctButton=function($,ee){return!1},Xa.prototype._move=function($,ee){return{}},Xa.prototype.mousedown=function($,ee){if(!this._lastPoint){var K=v.mouseButton($);this._correctButton($,K)&&(this._lastPoint=ee,this._eventButton=K)}},Xa.prototype.mousemoveWindow=function($,ee){var K=this._lastPoint;if(K&&($.preventDefault(),this._moved||!(ee.dist(K)0&&(this._active=!0);var le=fo(K,ee),Te=new i.Point(0,0),Re=new i.Point(0,0),He=0;for(var Ze in le){var at=le[Ze],Tt=this._touches[Ze];Tt&&(Te._add(at),Re._add(at.sub(Tt)),He++,le[Ze]=at)}if(this._touches=le,!(HeMath.abs($.x)}var Ur=function($){function ee(){$.apply(this,arguments)}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.reset=function(){$.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},ee.prototype._start=function(K){this._lastPoints=K,Fu(K[0].sub(K[1]))&&(this._valid=!1)},ee.prototype._move=function(K,le,Te){var Re=K[0].sub(this._lastPoints[0]),He=K[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(Re,He,Te.timeStamp),this._valid)return this._lastPoints=K,this._active=!0,{pitchDelta:(Re.y+He.y)/2*-.5}},ee.prototype.gestureBeginsVertically=function(K,le,Te){if(this._valid!==void 0)return this._valid;var Re=K.mag()>=2,He=le.mag()>=2;if(Re||He){if(!Re||!He)return this._firstMove===void 0&&(this._firstMove=Te),Te-this._firstMove<100&&void 0;var Ze=K.y>0==le.y>0;return Fu(K)&&Fu(le)&&Ze}},ee}(Br),Bu={panStep:100,bearingStep:15,pitchStep:10},xs=function(){var $=Bu;this._panStep=$.panStep,this._bearingStep=$.bearingStep,this._pitchStep=$.pitchStep};function Yc($){return $*(2-$)}xs.prototype.reset=function(){this._active=!1},xs.prototype.keydown=function($){var ee=this;if(!($.altKey||$.ctrlKey||$.metaKey)){var K=0,le=0,Te=0,Re=0,He=0;switch($.keyCode){case 61:case 107:case 171:case 187:K=1;break;case 189:case 109:case 173:K=-1;break;case 37:$.shiftKey?le=-1:($.preventDefault(),Re=-1);break;case 39:$.shiftKey?le=1:($.preventDefault(),Re=1);break;case 38:$.shiftKey?Te=1:($.preventDefault(),He=-1);break;case 40:$.shiftKey?Te=-1:($.preventDefault(),He=1);break;default:return}return{cameraAnimation:function(Ze){var at=Ze.getZoom();Ze.easeTo({duration:300,easeId:"keyboardHandler",easing:Yc,zoom:K?Math.round(at)+K*($.shiftKey?2:1):at,bearing:Ze.getBearing()+le*ee._bearingStep,pitch:Ze.getPitch()+Te*ee._pitchStep,offset:[-Re*ee._panStep,-He*ee._panStep],center:Ze.getCenter()},{originalEvent:$})}}}},xs.prototype.enable=function(){this._enabled=!0},xs.prototype.disable=function(){this._enabled=!1,this.reset()},xs.prototype.isEnabled=function(){return this._enabled},xs.prototype.isActive=function(){return this._active};var mc=4.000244140625,yo=function($,ee){this._map=$,this._el=$.getCanvasContainer(),this._handler=ee,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,i.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};yo.prototype.setZoomRate=function($){this._defaultZoomRate=$},yo.prototype.setWheelZoomRate=function($){this._wheelZoomRate=$},yo.prototype.isEnabled=function(){return!!this._enabled},yo.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},yo.prototype.isZooming=function(){return!!this._zooming},yo.prototype.enable=function($){this.isEnabled()||(this._enabled=!0,this._aroundCenter=$&&$.around==="center")},yo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},yo.prototype.wheel=function($){if(this.isEnabled()){var ee=$.deltaMode===i.window.WheelEvent.DOM_DELTA_LINE?40*$.deltaY:$.deltaY,K=i.browser.now(),le=K-(this._lastWheelEventTime||0);this._lastWheelEventTime=K,ee!==0&&ee%mc==0?this._type="wheel":ee!==0&&Math.abs(ee)<4?this._type="trackpad":le>400?(this._type=null,this._lastValue=ee,this._timeout=setTimeout(this._onTimeout,40,$)):this._type||(this._type=Math.abs(le*ee)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ee+=this._lastValue)),$.shiftKey&&ee&&(ee/=4),this._type&&(this._lastWheelEvent=$,this._delta-=ee,this._active||this._start($)),$.preventDefault()}},yo.prototype._onTimeout=function($){this._type="wheel",this._delta-=this._lastValue,this._active||this._start($)},yo.prototype._start=function($){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 ee=v.mousePos(this._el,$);this._around=i.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(ee)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},yo.prototype.renderFrame=function(){return this._onScrollFrame()},yo.prototype._onScrollFrame=function(){var $=this;if(this._frameId&&(this._frameId=null,this.isActive())){var ee=this._map.transform;if(this._delta!==0){var K=this._type==="wheel"&&Math.abs(this._delta)>mc?this._wheelZoomRate:this._defaultZoomRate,le=2/(1+Math.exp(-Math.abs(this._delta*K)));this._delta<0&&le!==0&&(le=1/le);var Te=typeof this._targetZoom=="number"?ee.zoomScale(this._targetZoom):ee.scale;this._targetZoom=Math.min(ee.maxZoom,Math.max(ee.minZoom,ee.scaleZoom(Te*le))),this._type==="wheel"&&(this._startZoom=ee.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var Re,He=typeof this._targetZoom=="number"?this._targetZoom:ee.zoom,Ze=this._startZoom,at=this._easing,Tt=!1;if(this._type==="wheel"&&Ze&&at){var At=Math.min((i.browser.now()-this._lastWheelEventTime)/200,1),se=at(At);Re=i.number(Ze,He,se),At<1?this._frameId||(this._frameId=!0):Tt=!0}else Re=He,Tt=!0;return this._active=!0,Tt&&(this._active=!1,this._finishTimeout=setTimeout(function(){$._zooming=!1,$._handler._triggerRenderFrame(),delete $._targetZoom,delete $._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Tt,zoomDelta:Re-ee.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},yo.prototype._smoothOutEasing=function($){var ee=i.ease;if(this._prevEase){var K=this._prevEase,le=(i.browser.now()-K.start)/K.duration,Te=K.easing(le+.01)-K.easing(le),Re=.27/Math.sqrt(Te*Te+1e-4)*.01,He=Math.sqrt(.0729-Re*Re);ee=i.bezier(Re,He,.25,1)}return this._prevEase={start:i.browser.now(),duration:$,easing:ee},ee},yo.prototype.reset=function(){this._active=!1};var lu=function($,ee){this._clickZoom=$,this._tapZoom=ee};lu.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},lu.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},lu.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},lu.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var dl=function(){this.reset()};dl.prototype.reset=function(){this._active=!1},dl.prototype.dblclick=function($,ee){return $.preventDefault(),{cameraAnimation:function(K){K.easeTo({duration:300,zoom:K.getZoom()+($.shiftKey?-1:1),around:K.unproject(ee)},{originalEvent:$})}}},dl.prototype.enable=function(){this._enabled=!0},dl.prototype.disable=function(){this._enabled=!1,this.reset()},dl.prototype.isEnabled=function(){return this._enabled},dl.prototype.isActive=function(){return this._active};var Qo=function(){this._tap=new Rl({numTouches:1,numTaps:1}),this.reset()};Qo.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},Qo.prototype.touchstart=function($,ee,K){this._swipePoint||(this._tapTime&&$.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?K.length>0&&(this._swipePoint=ee[0],this._swipeTouch=K[0].identifier):this._tap.touchstart($,ee,K))},Qo.prototype.touchmove=function($,ee,K){if(this._tapTime){if(this._swipePoint){if(K[0].identifier!==this._swipeTouch)return;var le=ee[0],Te=le.y-this._swipePoint.y;return this._swipePoint=le,$.preventDefault(),this._active=!0,{zoomDelta:Te/128}}}else this._tap.touchmove($,ee,K)},Qo.prototype.touchend=function($,ee,K){this._tapTime?this._swipePoint&&K.length===0&&this.reset():this._tap.touchend($,ee,K)&&(this._tapTime=$.timeStamp)},Qo.prototype.touchcancel=function(){this.reset()},Qo.prototype.enable=function(){this._enabled=!0},Qo.prototype.disable=function(){this._enabled=!1,this.reset()},Qo.prototype.isEnabled=function(){return this._enabled},Qo.prototype.isActive=function(){return this._active};var zl=function($,ee,K){this._el=$,this._mousePan=ee,this._touchPan=K};zl.prototype.enable=function($){this._inertiaOptions=$||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},zl.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},zl.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},zl.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Os=function($,ee,K){this._pitchWithRotate=$.pitchWithRotate,this._mouseRotate=ee,this._mousePitch=K};Os.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Os.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Os.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Os.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var _s=function($,ee,K,le){this._el=$,this._touchZoom=ee,this._touchRotate=K,this._tapDragZoom=le,this._rotationDisabled=!1,this._enabled=!0};_s.prototype.enable=function($){this._touchZoom.enable($),this._rotationDisabled||this._touchRotate.enable($),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},_s.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},_s.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},_s.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},_s.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},_s.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var uu=function($){return $.zoom||$.drag||$.pitch||$.rotate},bo=function($){function ee(){$.apply(this,arguments)}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee}(i.Event);function ws($){return $.panDelta&&$.panDelta.mag()||$.zoomDelta||$.bearingDelta||$.pitchDelta}var Ki=function($,ee){this._map=$,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new iu($),this._bearingSnap=ee.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ee),i.bindAll(["handleEvent","handleWindowEvent"],this);var K=this._el;this._listeners=[[K,"touchstart",{passive:!1}],[K,"touchmove",{passive:!1}],[K,"touchend",void 0],[K,"touchcancel",void 0],[K,"mousedown",void 0],[K,"mousemove",void 0],[K,"mouseup",void 0],[i.window.document,"mousemove",{capture:!0}],[i.window.document,"mouseup",void 0],[K,"mouseover",void 0],[K,"mouseout",void 0],[K,"dblclick",void 0],[K,"click",void 0],[K,"keydown",{capture:!1}],[K,"keyup",void 0],[K,"wheel",{passive:!1}],[K,"contextmenu",void 0],[i.window,"blur",void 0]];for(var le=0,Te=this._listeners;leHe?Math.min(2,Ut):Math.max(.5,Ut),ln=Math.pow(tn,1-en),an=Re.unproject(gt.add(zt.mult(en*ln)).mult(vn));Re.setLocationAtPoint(Re.renderWorldCopies?an.wrap():an,Ue)}Te._fireMoveEvents(le)},function(en){Te._afterEase(le,en)},K),this},ee.prototype._prepareEase=function(K,le,Te){Te===void 0&&(Te={}),this._moving=!0,le||Te.moving||this.fire(new i.Event("movestart",K)),this._zooming&&!Te.zooming&&this.fire(new i.Event("zoomstart",K)),this._rotating&&!Te.rotating&&this.fire(new i.Event("rotatestart",K)),this._pitching&&!Te.pitching&&this.fire(new i.Event("pitchstart",K))},ee.prototype._fireMoveEvents=function(K){this.fire(new i.Event("move",K)),this._zooming&&this.fire(new i.Event("zoom",K)),this._rotating&&this.fire(new i.Event("rotate",K)),this._pitching&&this.fire(new i.Event("pitch",K))},ee.prototype._afterEase=function(K,le){if(!this._easeId||!le||this._easeId!==le){delete this._easeId;var Te=this._zooming,Re=this._rotating,He=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Te&&this.fire(new i.Event("zoomend",K)),Re&&this.fire(new i.Event("rotateend",K)),He&&this.fire(new i.Event("pitchend",K)),this.fire(new i.Event("moveend",K))}},ee.prototype.flyTo=function(K,le){var Te=this;if(!K.essential&&i.browser.prefersReducedMotion){var Re=i.pick(K,["center","zoom","bearing","pitch","around"]);return this.jumpTo(Re,le)}this.stop(),K=i.extend({offset:[0,0],speed:1.2,curve:1.42,easing:i.ease},K);var He=this.transform,Ze=this.getZoom(),at=this.getBearing(),Tt=this.getPitch(),At=this.getPadding(),se="zoom"in K?i.clamp(+K.zoom,He.minZoom,He.maxZoom):Ze,ve="bearing"in K?this._normalizeBearing(K.bearing,at):at,Ie="pitch"in K?+K.pitch:Tt,Fe="padding"in K?K.padding:He.padding,Ue=He.zoomScale(se-Ze),qe=i.Point.convert(K.offset),Xe=He.centerPoint.add(qe),tt=He.pointLocation(Xe),lt=i.LngLat.convert(K.center||tt);this._normalizeCenter(lt);var gt=He.project(tt),zt=He.project(lt).sub(gt),Ut=K.curve,Ht=Math.max(He.width,He.height),en=Ht/Ue,vn=zt.mag();if("minZoom"in K){var tn=i.clamp(Math.min(K.minZoom,Ze,se),He.minZoom,He.maxZoom),ln=Ht/He.zoomScale(tn-Ze);Ut=Math.sqrt(ln/vn*2)}var an=Ut*Ut;function Cn(_r){var Sr=(en*en-Ht*Ht+(_r?-1:1)*an*an*vn*vn)/(2*(_r?en:Ht)*an*vn);return Math.log(Math.sqrt(Sr*Sr+1)-Sr)}function _n(_r){return(Math.exp(_r)-Math.exp(-_r))/2}function on(_r){return(Math.exp(_r)+Math.exp(-_r))/2}var Fn=Cn(0),Hn=function(_r){return on(Fn)/on(Fn+Ut*_r)},ir=function(_r){return Ht*((on(Fn)*(_n(Sr=Fn+Ut*_r)/on(Sr))-_n(Fn))/an)/vn;var Sr},ar=(Cn(1)-Fn)/Ut;if(Math.abs(vn)<1e-6||!isFinite(ar)){if(Math.abs(Ht-en)<1e-6)return this.easeTo(K,le);var Cr=enK.maxDuration&&(K.duration=0),this._zooming=!0,this._rotating=at!==ve,this._pitching=Ie!==Tt,this._padding=!He.isPaddingEqual(Fe),this._prepareEase(le,!1),this._ease(function(_r){var Sr=_r*ar,Wr=1/Hn(Sr);He.zoom=_r===1?se:Ze+He.scaleZoom(Wr),Te._rotating&&(He.bearing=i.number(at,ve,_r)),Te._pitching&&(He.pitch=i.number(Tt,Ie,_r)),Te._padding&&(He.interpolatePadding(At,Fe,_r),Xe=He.centerPoint.add(qe));var mi=_r===1?lt:He.unproject(gt.add(zt.mult(ir(Sr))).mult(Wr));He.setLocationAtPoint(He.renderWorldCopies?mi.wrap():mi,Xe),Te._fireMoveEvents(le)},function(){return Te._afterEase(le)},K),this},ee.prototype.isEasing=function(){return!!this._easeFrameId},ee.prototype.stop=function(){return this._stop()},ee.prototype._stop=function(K,le){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Te=this._onEaseEnd;delete this._onEaseEnd,Te.call(this,le)}if(!K){var Re=this.handlers;Re&&Re.stop()}return this},ee.prototype._ease=function(K,le,Te){Te.animate===!1||Te.duration===0?(K(1),le()):(this._easeStart=i.browser.now(),this._easeOptions=Te,this._onEaseFrame=K,this._onEaseEnd=le,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},ee.prototype._renderFrameCallback=function(){var K=Math.min((i.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(K)),K<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},ee.prototype._normalizeBearing=function(K,le){K=i.wrap(K,-180,180);var Te=Math.abs(K-le);return Math.abs(K-360-le)180?-360:Te<-180?360:0}},ee}(i.Evented),cs=function($){$===void 0&&($={}),this.options=$,i.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};cs.prototype.getDefaultPosition=function(){return"bottom-right"},cs.prototype.onAdd=function($){var ee=this.options&&this.options.compact;return this._map=$,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=v.create("div","mapboxgl-ctrl-attrib-inner",this._container),ee&&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),ee===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},cs.prototype.onRemove=function(){v.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},cs.prototype._updateEditLink=function(){var $=this._editLink;$||($=this._editLink=this._container.querySelector(".mapbox-improve-map"));var ee=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||i.config.ACCESS_TOKEN}];if($){var K=ee.reduce(function(le,Te,Re){return Te.value&&(le+=Te.key+"="+Te.value+(Re=0)return!1;return!0})).join(" | ");He!==this._attribHTML&&(this._attribHTML=He,$.length?(this._innerContainer.innerHTML=He,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},cs.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var Ts=function(){i.bindAll(["_updateLogo"],this),i.bindAll(["_updateCompact"],this)};Ts.prototype.onAdd=function($){this._map=$,this._container=v.create("div","mapboxgl-ctrl");var ee=v.create("a","mapboxgl-ctrl-logo");return ee.target="_blank",ee.rel="noopener nofollow",ee.href="https://www.mapbox.com/",ee.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),ee.setAttribute("rel","noopener nofollow"),this._container.appendChild(ee),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},Ts.prototype.onRemove=function(){v.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},Ts.prototype.getDefaultPosition=function(){return"bottom-left"},Ts.prototype._updateLogo=function($){$&&$.sourceDataType!=="metadata"||(this._container.style.display=this._logoRequired()?"block":"none")},Ts.prototype._logoRequired=function(){if(this._map.style){var $=this._map.style.sourceCaches;for(var ee in $)if($[ee].getSource().mapbox_logo)return!0;return!1}},Ts.prototype._updateCompact=function(){var $=this._container.children;if($.length){var ee=$[0];this._map.getCanvasContainer().offsetWidth<250?ee.classList.add("mapboxgl-compact"):ee.classList.remove("mapboxgl-compact")}};var Zs=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Zs.prototype.add=function($){var ee=++this._id;return this._queue.push({callback:$,id:ee,cancelled:!1}),ee},Zs.prototype.remove=function($){for(var ee=this._currentlyRunning,K=0,le=ee?this._queue.concat(ee):this._queue;Kle.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(le.minPitch!=null&&le.maxPitch!=null&&le.minPitch>le.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(le.minPitch!=null&&le.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(le.maxPitch!=null&&le.maxPitch>Ho)throw new Error("maxPitch must be less than or equal to 60");var Re=new Fi(le.minZoom,le.maxZoom,le.minPitch,le.maxPitch,le.renderWorldCopies);if($.call(this,Re,le),this._interactive=le.interactive,this._maxTileCacheSize=le.maxTileCacheSize,this._failIfMajorPerformanceCaveat=le.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=le.preserveDrawingBuffer,this._antialias=le.antialias,this._trackResize=le.trackResize,this._bearingSnap=le.bearingSnap,this._refreshExpiredTiles=le.refreshExpiredTiles,this._fadeDuration=le.fadeDuration,this._crossSourceCollisions=le.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=le.collectResourceTiming,this._renderTaskQueue=new Zs,this._controls=[],this._mapId=i.uniqueId(),this._locale=i.extend({},Uo,le.locale),this._requestManager=new i.RequestManager(le.transformRequest,le.accessToken),typeof le.container=="string"){if(this._container=i.window.document.getElementById(le.container),!this._container)throw new Error("Container '"+le.container+"' not found.")}else{if(!(le.container instanceof io))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=le.container}if(le.maxBounds&&this.setMaxBounds(le.maxBounds),i.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return Te._update(!1)}),this.on("moveend",function(){return Te._update(!1)}),this.on("zoom",function(){return Te._update(!0)}),i.window!==void 0&&(i.window.addEventListener("online",this._onWindowOnline,!1),i.window.addEventListener("resize",this._onWindowResize,!1)),this.handlers=new Ki(this,le);var He=typeof le.hash=="string"&&le.hash||void 0;this._hash=le.hash&&new fl(He).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:le.center,zoom:le.zoom,bearing:le.bearing,pitch:le.pitch}),le.bounds&&(this.resize(),this.fitBounds(le.bounds,i.extend({},le.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=le.localIdeographFontFamily,le.style&&this.setStyle(le.style,{localIdeographFontFamily:le.localIdeographFontFamily}),le.attributionControl&&this.addControl(new cs({customAttribution:le.customAttribution})),this.addControl(new Ts,le.logoPosition),this.on("style.load",function(){Te.transform.unmodified&&Te.jumpTo(Te.style.stylesheet)}),this.on("data",function(Ze){Te._update(Ze.dataType==="style"),Te.fire(new i.Event(Ze.dataType+"data",Ze))}),this.on("dataloading",function(Ze){Te.fire(new i.Event(Ze.dataType+"dataloading",Ze))})}$&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee;var K={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return ee.prototype._getMapId=function(){return this._mapId},ee.prototype.addControl=function(le,Te){if(Te===void 0&&le.getDefaultPosition&&(Te=le.getDefaultPosition()),Te===void 0&&(Te="top-right"),!le||!le.onAdd)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var Re=le.onAdd(this);this._controls.push(le);var He=this._controlPositions[Te];return Te.indexOf("bottom")!==-1?He.insertBefore(Re,He.firstChild):He.appendChild(Re),this},ee.prototype.removeControl=function(le){if(!le||!le.onRemove)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Te=this._controls.indexOf(le);return Te>-1&&this._controls.splice(Te,1),le.onRemove(this),this},ee.prototype.resize=function(le){var Te=this._containerDimensions(),Re=Te[0],He=Te[1];this._resizeCanvas(Re,He),this.transform.resize(Re,He),this.painter.resize(Re,He);var Ze=!this._moving;return Ze&&(this.stop(),this.fire(new i.Event("movestart",le)).fire(new i.Event("move",le))),this.fire(new i.Event("resize",le)),Ze&&this.fire(new i.Event("moveend",le)),this},ee.prototype.getBounds=function(){return this.transform.getBounds()},ee.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},ee.prototype.setMaxBounds=function(le){return this.transform.setMaxBounds(i.LngLatBounds.convert(le)),this._update()},ee.prototype.setMinZoom=function(le){if((le=le??-2)>=-2&&le<=this.transform.maxZoom)return this.transform.minZoom=le,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=le,this._update(),this.getZoom()>le&&this.setZoom(le),this;throw new Error("maxZoom must be greater than the current minZoom")},ee.prototype.getMaxZoom=function(){return this.transform.maxZoom},ee.prototype.setMinPitch=function(le){if((le=le??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(le>=0&&le<=this.transform.maxPitch)return this.transform.minPitch=le,this._update(),this.getPitch()Ho)throw new Error("maxPitch must be less than or equal to 60");if(le>=this.transform.minPitch)return this.transform.maxPitch=le,this._update(),this.getPitch()>le&&this.setPitch(le),this;throw new Error("maxPitch must be greater than the current minPitch")},ee.prototype.getMaxPitch=function(){return this.transform.maxPitch},ee.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},ee.prototype.setRenderWorldCopies=function(le){return this.transform.renderWorldCopies=le,this._update()},ee.prototype.project=function(le){return this.transform.locationPoint(i.LngLat.convert(le))},ee.prototype.unproject=function(le){return this.transform.pointLocation(i.Point.convert(le))},ee.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},ee.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},ee.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},ee.prototype._createDelegatedListener=function(le,Te,Re){var He,Ze=this;if(le==="mouseenter"||le==="mouseover"){var at=!1;return{layer:Te,listener:Re,delegates:{mousemove:function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length?at||(at=!0,Re.call(Ze,new va(le,Ze,At.originalEvent,{features:se}))):at=!1},mouseout:function(){at=!1}}}}if(le==="mouseleave"||le==="mouseout"){var Tt=!1;return{layer:Te,listener:Re,delegates:{mousemove:function(At){(Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[]).length?Tt=!0:Tt&&(Tt=!1,Re.call(Ze,new va(le,Ze,At.originalEvent)))},mouseout:function(At){Tt&&(Tt=!1,Re.call(Ze,new va(le,Ze,At.originalEvent)))}}}}return{layer:Te,listener:Re,delegates:(He={},He[le]=function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length&&(At.features=se,Re.call(Ze,At),delete At.features)},He)}},ee.prototype.on=function(le,Te,Re){if(Re===void 0)return $.prototype.on.call(this,le,Te);var He=this._createDelegatedListener(le,Te,Re);for(var Ze in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[le]=this._delegatedListeners[le]||[],this._delegatedListeners[le].push(He),He.delegates)this.on(Ze,He.delegates[Ze]);return this},ee.prototype.once=function(le,Te,Re){if(Re===void 0)return $.prototype.once.call(this,le,Te);var He=this._createDelegatedListener(le,Te,Re);for(var Ze in He.delegates)this.once(Ze,He.delegates[Ze]);return this},ee.prototype.off=function(le,Te,Re){var He=this;return Re===void 0?$.prototype.off.call(this,le,Te):(this._delegatedListeners&&this._delegatedListeners[le]&&function(Ze){for(var at=Ze[le],Tt=0;Tt180;){var He=K.locationPoint($);if(He.x>=0&&He.y>=0&&He.x<=K.width&&He.y<=K.height)break;$.lng>K.center.lng?$.lng-=360:$.lng+=360}return $}$r.prototype.down=function($,ee){this.mouseRotate.mousedown($,ee),this.mousePitch&&this.mousePitch.mousedown($,ee),v.disableDrag()},$r.prototype.move=function($,ee){var K=this.map,le=this.mouseRotate.mousemoveWindow($,ee);if(le&&le.bearingDelta&&K.setBearing(K.getBearing()+le.bearingDelta),this.mousePitch){var Te=this.mousePitch.mousemoveWindow($,ee);Te&&Te.pitchDelta&&K.setPitch(K.getPitch()+Te.pitchDelta)}},$r.prototype.off=function(){var $=this.element;v.removeEventListener($,"mousedown",this.mousedown),v.removeEventListener($,"touchstart",this.touchstart,{passive:!1}),v.removeEventListener($,"touchmove",this.touchmove),v.removeEventListener($,"touchend",this.touchend),v.removeEventListener($,"touchcancel",this.reset),this.offTemp()},$r.prototype.offTemp=function(){v.enableDrag(),v.removeEventListener(i.window,"mousemove",this.mousemove),v.removeEventListener(i.window,"mouseup",this.mouseup)},$r.prototype.mousedown=function($){this.down(i.extend({},$,{ctrlKey:!0,preventDefault:function(){return $.preventDefault()}}),v.mousePos(this.element,$)),v.addEventListener(i.window,"mousemove",this.mousemove),v.addEventListener(i.window,"mouseup",this.mouseup)},$r.prototype.mousemove=function($){this.move($,v.mousePos(this.element,$))},$r.prototype.mouseup=function($){this.mouseRotate.mouseupWindow($),this.mousePitch&&this.mousePitch.mouseupWindow($),this.offTemp()},$r.prototype.touchstart=function($){$.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=v.touchPos(this.element,$.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return $.preventDefault()}},this._startPos))},$r.prototype.touchmove=function($){$.targetTouches.length!==1?this.reset():(this._lastPos=v.touchPos(this.element,$.targetTouches)[0],this.move({preventDefault:function(){return $.preventDefault()}},this._lastPos))},$r.prototype.touchend=function($){$.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)le.getEast()||Te.latitudele.getNorth())},ee.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")}},ee.prototype._onSuccess=function(K){if(this._map){if(this._isOutOfMapMaxBounds(K))return this._setErrorState(),this.fire(new i.Event("outofmaxbounds",K)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=K,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&&this._watchState!=="OFF"&&this._updateMarker(K),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(K),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("geolocate",K)),this._finish()}},ee.prototype._updateCamera=function(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude),Te=K.coords.accuracy,Re=this._map.getBearing(),He=i.extend({bearing:Re},this.options.fitBoundsOptions);this._map.fitBounds(le.toBounds(Te),He,{geolocateSource:!0})},ee.prototype._updateMarker=function(K){if(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude);this._accuracyCircleMarker.setLngLat(le).addTo(this._map),this._userLocationDotMarker.setLngLat(le).addTo(this._map),this._accuracy=K.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},ee.prototype._updateCircleRadius=function(){var K=this._map._container.clientHeight/2,le=this._map.unproject([0,K]),Te=this._map.unproject([1,K]),Re=le.distanceTo(Te),He=Math.ceil(2*this._accuracy/Re);this._circleElement.style.width=He+"px",this._circleElement.style.height=He+"px"},ee.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},ee.prototype._onError=function(K){if(this._map){if(this.options.trackUserLocation)if(K.code===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._geolocateButton.disabled=!0;var le=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=le,this._geolocateButton.setAttribute("aria-label",le),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(K.code===3&&Vu)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("error",K)),this._finish()}},ee.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},ee.prototype._setupUI=function(K){var le=this;if(this._container.addEventListener("contextmenu",function(He){return He.preventDefault()}),this._geolocateButton=v.create("button","mapboxgl-ctrl-geolocate",this._container),v.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",K===!1){i.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Te=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Te,this._geolocateButton.setAttribute("aria-label",Te)}else{var Re=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=Re,this._geolocateButton.setAttribute("aria-label",Re)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=v.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new _o(this._dotElement),this._circleElement=v.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new _o({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(He){var Ze=He.originalEvent&&He.originalEvent.type==="resize";He.geolocateSource||le._watchState!=="ACTIVE_LOCK"||Ze||(le._watchState="BACKGROUND",le._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),le._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),le.fire(new i.Event("trackuserlocationend")))})},ee.prototype.trigger=function(){if(!this._setup)return i.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 i.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Go--,Vu=!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 i.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 i.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(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){var K;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Go>1?(K={maximumAge:6e5,timeout:0},Vu=!0):(K=this.options.positionOptions,Vu=!1),this._geolocationWatchID=i.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,K)}}else i.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},ee.prototype._clearWatch=function(){i.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)},ee}(i.Evented),ta={maxWidth:100,unit:"metric"},ua=function($){this.options=i.extend({},ta,$),i.bindAll(["_onMove","setUnit"],this)};function Xc($,ee,K){var le=K&&K.maxWidth||100,Te=$._container.clientHeight/2,Re=$.unproject([0,Te]),He=$.unproject([le,Te]),Ze=Re.distanceTo(He);if(K&&K.unit==="imperial"){var at=3.2808*Ze;at>5280?et(ee,le,at/5280,$._getUIString("ScaleControl.Miles")):et(ee,le,at,$._getUIString("ScaleControl.Feet"))}else K&&K.unit==="nautical"?et(ee,le,Ze/1852,$._getUIString("ScaleControl.NauticalMiles")):Ze>=1e3?et(ee,le,Ze/1e3,$._getUIString("ScaleControl.Kilometers")):et(ee,le,Ze,$._getUIString("ScaleControl.Meters"))}function et($,ee,K,le){var Te,Re,He,Ze=(Te=K,(Re=Math.pow(10,(""+Math.floor(Te)).length-1))*((He=Te/Re)>=10?10:He>=5?5:He>=3?3:He>=2?2:He>=1?1:function(Tt){var At=Math.pow(10,Math.ceil(-Math.log(Tt)/Math.LN10));return Math.round(Tt*At)/At}(He))),at=Ze/K;$.style.width=ee*at+"px",$.innerHTML=Ze+" "+le}ua.prototype.getDefaultPosition=function(){return"bottom-left"},ua.prototype._onMove=function(){Xc(this._map,this._container,this.options)},ua.prototype.onAdd=function($){return this._map=$,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",$.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},ua.prototype.onRemove=function(){v.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},ua.prototype.setUnit=function($){this.options.unit=$,Xc(this._map,this._container,this.options)};var rt=function($){this._fullscreen=!1,$&&$.container&&($.container instanceof i.window.HTMLElement?this._container=$.container:i.warnOnce("Full screen control 'container' must be a DOM element.")),i.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in i.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in i.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in i.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in i.window.document&&(this._fullscreenchange="MSFullscreenChange")};rt.prototype.onAdd=function($){return this._map=$,this._container||(this._container=this._map.getContainer()),this._controlContainer=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",i.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},rt.prototype.onRemove=function(){v.remove(this._controlContainer),this._map=null,i.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._checkFullscreenSupport=function(){return!!(i.window.document.fullscreenEnabled||i.window.document.mozFullScreenEnabled||i.window.document.msFullscreenEnabled||i.window.document.webkitFullscreenEnabled)},rt.prototype._setupUI=function(){var $=this._fullscreenButton=v.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);v.create("span","mapboxgl-ctrl-icon",$).setAttribute("aria-hidden",!0),$.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),i.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._updateTitle=function(){var $=this._getTitle();this._fullscreenButton.setAttribute("aria-label",$),this._fullscreenButton.title=$},rt.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},rt.prototype._isFullscreen=function(){return this._fullscreen},rt.prototype._changeIcon=function(){(i.window.document.fullscreenElement||i.window.document.mozFullScreenElement||i.window.document.webkitFullscreenElement||i.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())},rt.prototype._onClickFullscreen=function(){this._isFullscreen()?i.window.document.exitFullscreen?i.window.document.exitFullscreen():i.window.document.mozCancelFullScreen?i.window.document.mozCancelFullScreen():i.window.document.msExitFullscreen?i.window.document.msExitFullscreen():i.window.document.webkitCancelFullScreen&&i.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 ct={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},vt=function($){function ee(K){$.call(this),this.options=i.extend(Object.create(ct),K),i.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.addTo=function(K){return this._map&&this.remove(),this._map=K,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._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 i.Event("open")),this},ee.prototype.isOpen=function(){return!!this._map},ee.prototype.remove=function(){return this._content&&v.remove(this._content),this._container&&(v.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 i.Event("close")),this},ee.prototype.getLngLat=function(){return this._lngLat},ee.prototype.setLngLat=function(K){return this._lngLat=i.LngLat.convert(K),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},ee.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},ee.prototype.getElement=function(){return this._container},ee.prototype.setText=function(K){return this.setDOMContent(i.window.document.createTextNode(K))},ee.prototype.setHTML=function(K){var le,Te=i.window.document.createDocumentFragment(),Re=i.window.document.createElement("body");for(Re.innerHTML=K;le=Re.firstChild;)Te.appendChild(le);return this.setDOMContent(Te)},ee.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},ee.prototype.setMaxWidth=function(K){return this.options.maxWidth=K,this._update(),this},ee.prototype.setDOMContent=function(K){return this._createContent(),this._content.appendChild(K),this._update(),this},ee.prototype.addClassName=function(K){this._container&&this._container.classList.add(K)},ee.prototype.removeClassName=function(K){this._container&&this._container.classList.remove(K)},ee.prototype.toggleClassName=function(K){if(this._container)return this._container.classList.toggle(K)},ee.prototype._createContent=function(){this._content&&v.remove(this._content),this._content=v.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=v.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))},ee.prototype._onMouseUp=function(K){this._update(K.point)},ee.prototype._onMouseMove=function(K){this._update(K.point)},ee.prototype._onDrag=function(K){this._update(K.point)},ee.prototype._update=function(K){var le=this,Te=this._lngLat||this._trackPointer;if(this._map&&Te&&this._content&&(this._container||(this._container=v.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=v.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(ve){return le._container.classList.add(ve)}),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=oi(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||K)){var Re=this._pos=this._trackPointer&&K?K:this._map.project(this._lngLat),He=this.options.anchor,Ze=St(this.options.offset);if(!He){var at,Tt=this._container.offsetWidth,At=this._container.offsetHeight;at=Re.y+Ze.bottom.ythis._map.transform.height-At?["bottom"]:[],Re.xthis._map.transform.width-Tt/2&&at.push("right"),He=at.length===0?"bottom":at.join("-")}var se=Re.add(Ze[He]).round();v.setTransform(this._container,Nu[He]+" translate("+se.x+"px,"+se.y+"px)"),ml(this._container,He,"popup")}},ee.prototype._onClose=function(){this.remove()},ee}(i.Evented);function St($){if($){if(typeof $=="number"){var ee=Math.round(Math.sqrt(.5*Math.pow($,2)));return{center:new i.Point(0,0),top:new i.Point(0,$),"top-left":new i.Point(ee,ee),"top-right":new i.Point(-ee,ee),bottom:new i.Point(0,-$),"bottom-left":new i.Point(ee,-ee),"bottom-right":new i.Point(-ee,-ee),left:new i.Point($,0),right:new i.Point(-$,0)}}if($ instanceof i.Point||Array.isArray($)){var K=i.Point.convert($);return{center:K,top:K,"top-left":K,"top-right":K,bottom:K,"bottom-left":K,"bottom-right":K,left:K,right:K}}return{center:i.Point.convert($.center||[0,0]),top:i.Point.convert($.top||[0,0]),"top-left":i.Point.convert($["top-left"]||[0,0]),"top-right":i.Point.convert($["top-right"]||[0,0]),bottom:i.Point.convert($.bottom||[0,0]),"bottom-left":i.Point.convert($["bottom-left"]||[0,0]),"bottom-right":i.Point.convert($["bottom-right"]||[0,0]),left:i.Point.convert($.left||[0,0]),right:i.Point.convert($.right||[0,0])}}return St(new i.Point(0,0))}var Mt={version:i.version,supported:M,setRTLTextPlugin:i.setRTLTextPlugin,getRTLTextPluginStatus:i.getRTLTextPluginStatus,Map:Fl,NavigationControl:ks,GeolocateControl:vl,AttributionControl:cs,ScaleControl:ua,FullscreenControl:rt,Popup:vt,Marker:_o,Style:pr,LngLat:i.LngLat,LngLatBounds:i.LngLatBounds,Point:i.Point,MercatorCoordinate:i.MercatorCoordinate,Evented:i.Evented,config:i.config,prewarm:function(){Lt().acquire(ut)},clearPrewarmedResources:function(){var $=_t;$&&($.isPreloaded()&&$.numActive()===1?($.release(ut),_t=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 i.config.ACCESS_TOKEN},set accessToken($){i.config.ACCESS_TOKEN=$},get baseApiUrl(){return i.config.API_URL},set baseApiUrl($){i.config.API_URL=$},get workerCount(){return pt.workerCount},set workerCount($){pt.workerCount=$},get maxParallelImageRequests(){return i.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests($){i.config.MAX_PARALLEL_IMAGE_REQUESTS=$},clearStorage:function($){i.clearTileCache($)},workerUrl:""};return Mt}),d}()},27084:function(x){x.exports=Math.log2||function(o){return Math.log(o)*Math.LOG2E}},16825:function(x,o,t){x.exports=function(g,i){i||(i=g,g=window);var M=0,v=0,p=0,u={shift:!1,alt:!1,control:!1,meta:!1},a=!1;function c(k){var E=!1;return"altKey"in k&&(E=E||k.altKey!==u.alt,u.alt=!!k.altKey),"shiftKey"in k&&(E=E||k.shiftKey!==u.shift,u.shift=!!k.shiftKey),"ctrlKey"in k&&(E=E||k.ctrlKey!==u.control,u.control=!!k.ctrlKey),"metaKey"in k&&(E=E||k.metaKey!==u.meta,u.meta=!!k.metaKey),E}function s(k,E){var T=d.x(E),A=d.y(E);"buttons"in E&&(k=0|E.buttons),(k!==M||T!==v||A!==p||c(E))&&(M=0|k,v=T||0,p=A||0,i&&i(M,v,p,u))}function l(k){s(0,k)}function h(){(M||v||p||u.shift||u.alt||u.meta||u.control)&&(v=p=0,M=0,u.shift=u.alt=u.control=u.meta=!1,i&&i(0,0,0,u))}function f(k){c(k)&&i&&i(M,v,p,u)}function m(k){d.buttons(k)===0?s(0,k):s(M,k)}function _(k){s(M|d.buttons(k),k)}function y(k){s(M&~d.buttons(k),k)}function C(){a||(a=!0,g.addEventListener("mousemove",m),g.addEventListener("mousedown",_),g.addEventListener("mouseup",y),g.addEventListener("mouseleave",l),g.addEventListener("mouseenter",l),g.addEventListener("mouseout",l),g.addEventListener("mouseover",l),g.addEventListener("blur",h),g.addEventListener("keyup",f),g.addEventListener("keydown",f),g.addEventListener("keypress",f),g!==window&&(window.addEventListener("blur",h),window.addEventListener("keyup",f),window.addEventListener("keydown",f),window.addEventListener("keypress",f)))}C();var w={element:g};return Object.defineProperties(w,{enabled:{get:function(){return a},set:function(k){k?C():a&&(a=!1,g.removeEventListener("mousemove",m),g.removeEventListener("mousedown",_),g.removeEventListener("mouseup",y),g.removeEventListener("mouseleave",l),g.removeEventListener("mouseenter",l),g.removeEventListener("mouseout",l),g.removeEventListener("mouseover",l),g.removeEventListener("blur",h),g.removeEventListener("keyup",f),g.removeEventListener("keydown",f),g.removeEventListener("keypress",f),g!==window&&(window.removeEventListener("blur",h),window.removeEventListener("keyup",f),window.removeEventListener("keydown",f),window.removeEventListener("keypress",f)))},enumerable:!0},buttons:{get:function(){return M},enumerable:!0},x:{get:function(){return v},enumerable:!0},y:{get:function(){return p},enumerable:!0},mods:{get:function(){return u},enumerable:!0}}),w};var d=t(74311)},48956:function(x){var o={left:0,top:0};x.exports=function(t,d,g){d=d||t.currentTarget||t.srcElement,Array.isArray(g)||(g=[0,0]);var i,M=t.clientX||0,v=t.clientY||0,p=(i=d)===window||i===document||i===document.body?o:i.getBoundingClientRect();return g[0]=M-p.left,g[1]=v-p.top,g}},74311:function(x,o){function t(d){return d.target||d.srcElement||window}o.buttons=function(d){if(typeof d=="object"){if("buttons"in d)return d.buttons;if("which"in d){if((g=d.which)===2)return 4;if(g===3)return 2;if(g>0)return 1<=0)return 1<0&&s(h,L))}catch(b){_.call(new C(L),b)}}}function _(T){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=T,A.state=2,A.chain.length>0&&s(h,A))}function y(T,A,L,b){for(var O=0;O1&&(a*=k=Math.sqrt(k),c*=k);var E=a*a,T=c*c,A=(l==h?-1:1)*Math.sqrt(Math.abs((E*T-E*w*w-T*C*C)/(E*w*w+T*C*C)));A==1/0&&(A=1);var L=A*a*w/c+(p+f)/2,b=A*-c*C/a+(u+m)/2,O=Math.asin(((u-b)/c).toFixed(9)),I=Math.asin(((m-b)/c).toFixed(9));(O=pI&&(O-=2*o),!h&&I>O&&(I-=2*o)}if(Math.abs(I-O)>t){var R=I,z=f,F=m;I=O+t*(h&&I>O?1:-1);var B=i(f=L+a*Math.cos(I),m=b+c*Math.sin(I),a,c,s,0,h,z,F,[I,R,L,b])}var N=Math.tan((I-O)/4),q=4/3*a*N,j=4/3*c*N,Y=[2*p-(p+q*Math.sin(O)),2*u-(u-j*Math.cos(O)),f+q*Math.sin(I),m-j*Math.cos(I),f,m];if(_)return Y;B&&(Y=Y.concat(B));for(var U=0;U7&&(a.push(k.splice(0,7)),k.unshift("C"));break;case"S":var T=_,A=y;u!="C"&&u!="S"||(T+=T-c,A+=A-s),k=["C",T,A,k[1],k[2],k[3],k[4]];break;case"T":u=="Q"||u=="T"?(f=2*_-f,m=2*y-m):(f=_,m=y),k=g(_,y,f,m,k[1],k[2]);break;case"Q":f=k[1],m=k[2],k=g(_,y,k[1],k[2],k[3],k[4]);break;case"L":k=d(_,y,k[1],k[2]);break;case"H":k=d(_,y,k[1],y);break;case"V":k=d(_,y,_,k[1]);break;case"Z":k=d(_,y,l,h)}u=E,_=k[k.length-2],y=k[k.length-1],k.length>4?(c=k[k.length-4],s=k[k.length-3]):(c=_,s=y),a.push(k)}return a}},56131:function(x){var o=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;function g(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}x.exports=function(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var M={},v=0;v<10;v++)M["_"+String.fromCharCode(v)]=v;if(Object.getOwnPropertyNames(M).map(function(u){return M[u]}).join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(u){p[u]=u}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}()?Object.assign:function(i,M){for(var v,p,u=g(i),a=1;a"u")return!1;for(var h in window)try{if(!s["$"+h]&&g.call(window,h)&&window[h]!==null&&typeof window[h]=="object")try{c(window[h])}catch{return!0}}catch{return!0}return!1}();d=function(h){var f=h!==null&&typeof h=="object",m=i.call(h)==="[object Function]",_=M(h),y=f&&i.call(h)==="[object String]",C=[];if(!f&&!m&&!_)throw new TypeError("Object.keys called on a non-object");var w=u&&m;if(y&&h.length>0&&!g.call(h,0))for(var k=0;k0)for(var E=0;E"u"||!l)return c(b);try{return c(b)}catch{return!1}}(h),L=0;L=0&&o.call(t.callee)==="[object Function]"),g}},88641:function(x){function o(g,i){if(typeof g!="string")return[g];var M=[g];typeof i=="string"||Array.isArray(i)?i={brackets:i}:i||(i={});var v=i.brackets?Array.isArray(i.brackets)?i.brackets:[i.brackets]:["{}","[]","()"],p=i.escape||"___",u=!!i.flat;v.forEach(function(c){var s=new RegExp(["\\",c[0],"[^\\",c[0],"\\",c[1],"]*\\",c[1]].join("")),l=[];function h(f,m,_){var y=M.push(f.slice(c[0].length,-c[1].length))-1;return l.push(y),p+y+p}M.forEach(function(f,m){for(var _,y=0;f!=_;)if(_=f,f=f.replace(s,h),y++>1e4)throw Error("References have circular dependency. Please, check them.");M[m]=f}),l=l.reverse(),M=M.map(function(f){return l.forEach(function(m){f=f.replace(new RegExp("(\\"+p+m+"\\"+p+")","g"),c[0]+"$1"+c[1])}),f})});var a=new RegExp("\\"+p+"([0-9]+)\\"+p);return u?M:function c(s,l,h){for(var f,m=[],_=0;f=a.exec(s);){if(_++>1e4)throw Error("Circular references in parenthesis");m.push(s.slice(0,f.index)),m.push(c(l[f[1]],l)),s=s.slice(f.index+f[0].length)}return m.push(s),m}(M[0],M)}function t(g,i){if(i&&i.flat){var M,v=i&&i.escape||"___",p=g[0];if(!p)return"";for(var u=new RegExp("\\"+v+"([0-9]+)\\"+v),a=0;p!=M;){if(a++>1e4)throw Error("Circular references in "+g);M=p,p=p.replace(u,c)}return p}return g.reduce(function s(l,h){return Array.isArray(h)&&(h=h.reduce(s,"")),l+h},"");function c(s,l){if(g[l]==null)throw Error("Reference "+l+"is undefined");return g[l]}}function d(g,i){return Array.isArray(g)?t(g,i):o(g,i)}d.parse=o,d.stringify=t,x.exports=d},18863:function(x,o,t){var d=t(71299);x.exports=function(g){var i;return arguments.length>1&&(g=arguments),typeof g=="string"?g=g.split(/\s/).map(parseFloat):typeof g=="number"&&(g=[g]),g.length&&typeof g[0]=="number"?i=g.length===1?{width:g[0],height:g[0],x:0,y:0}:g.length===2?{width:g[0],height:g[1],x:0,y:0}:{x:g[0],y:g[1],width:g[2]-g[0]||0,height:g[3]-g[1]||0}:g&&(i={x:(g=d(g,{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:g.top||0},g.width==null?g.right?i.width=g.right-i.x:i.width=0:i.width=g.width,g.height==null?g.bottom?i.height=g.bottom-i.y:i.height=0:i.height=g.height),i}},95616:function(x){x.exports=function(g){var i=[];return g.replace(t,function(M,v,p){var u=v.toLowerCase();for(p=function(a){var c=a.match(d);return c?c.map(Number):[]}(p),u=="m"&&p.length>2&&(i.push([v].concat(p.splice(0,2))),u="l",v=v=="m"?"l":"L");;){if(p.length==o[u])return p.unshift(v),i.push(p);if(p.lengthM!=h>M&&i<(l-c)*(M-s)/(h-s)+c&&(v=!v)}return v}},52142:function(x,o,t){var d,g=t(69444),i=t(29023),M=t(87263),v=t(11328),p=t(55968),u=t(10670),a=!1,c=i();function s(l,h,f){var m=d.segments(l),_=d.segments(h),y=f(d.combine(m,_));return d.polygon(y)}d={buildLog:function(l){return l===!0?a=g():l===!1&&(a=!1),a!==!1&&a.list},epsilon:function(l){return c.epsilon(l)},segments:function(l){var h=M(!0,c,a);return l.regions.forEach(h.addRegion),{segments:h.calculate(l.inverted),inverted:l.inverted}},combine:function(l,h){return{combined:M(!1,c,a).calculate(l.segments,l.inverted,h.segments,h.inverted),inverted1:l.inverted,inverted2:h.inverted}},selectUnion:function(l){return{segments:p.union(l.combined,a),inverted:l.inverted1||l.inverted2}},selectIntersect:function(l){return{segments:p.intersect(l.combined,a),inverted:l.inverted1&&l.inverted2}},selectDifference:function(l){return{segments:p.difference(l.combined,a),inverted:l.inverted1&&!l.inverted2}},selectDifferenceRev:function(l){return{segments:p.differenceRev(l.combined,a),inverted:!l.inverted1&&l.inverted2}},selectXor:function(l){return{segments:p.xor(l.combined,a),inverted:l.inverted1!==l.inverted2}},polygon:function(l){return{regions:v(l.segments,c,a),inverted:l.inverted}},polygonFromGeoJSON:function(l){return u.toPolygon(d,l)},polygonToGeoJSON:function(l){return u.fromPolygon(d,c,l)},union:function(l,h){return s(l,h,d.selectUnion)},intersect:function(l,h){return s(l,h,d.selectIntersect)},difference:function(l,h){return s(l,h,d.selectDifference)},differenceRev:function(l,h){return s(l,h,d.selectDifferenceRev)},xor:function(l,h){return s(l,h,d.selectXor)}},typeof window=="object"&&(window.PolyBool=d),x.exports=d},69444:function(x){x.exports=function(){var o,t=0,d=!1;function g(i,M){return o.list.push({type:i,data:M?JSON.parse(JSON.stringify(M)):void 0}),o}return o={list:[],segmentId:function(){return t++},checkIntersection:function(i,M){return g("check",{seg1:i,seg2:M})},segmentChop:function(i,M){return g("div_seg",{seg:i,pt:M}),g("chop",{seg:i,pt:M})},statusRemove:function(i){return g("pop_seg",{seg:i})},segmentUpdate:function(i){return g("seg_update",{seg:i})},segmentNew:function(i,M){return g("new_seg",{seg:i,primary:M})},segmentRemove:function(i){return g("rem_seg",{seg:i})},tempStatus:function(i,M,v){return g("temp_status",{seg:i,above:M,below:v})},rewind:function(i){return g("rewind",{seg:i})},status:function(i,M,v){return g("status",{seg:i,above:M,below:v})},vert:function(i){return i===d?o:(d=i,g("vert",{x:i}))},log:function(i){return typeof i!="string"&&(i=JSON.stringify(i,!1," ")),g("log",{txt:i})},reset:function(){return g("reset")},selected:function(i){return g("selected",{segs:i})},chainStart:function(i){return g("chain_start",{seg:i})},chainRemoveHead:function(i,M){return g("chain_rem_head",{index:i,pt:M})},chainRemoveTail:function(i,M){return g("chain_rem_tail",{index:i,pt:M})},chainNew:function(i,M){return g("chain_new",{pt1:i,pt2:M})},chainMatch:function(i){return g("chain_match",{index:i})},chainClose:function(i){return g("chain_close",{index:i})},chainAddHead:function(i,M){return g("chain_add_head",{index:i,pt:M})},chainAddTail:function(i,M){return g("chain_add_tail",{index:i,pt:M})},chainConnect:function(i,M){return g("chain_con",{index1:i,index2:M})},chainReverse:function(i){return g("chain_rev",{index:i})},chainJoin:function(i,M){return g("chain_join",{index1:i,index2:M})},done:function(){return g("done")}}}},29023:function(x){x.exports=function(o){typeof o!="number"&&(o=1e-10);var t={epsilon:function(d){return typeof d=="number"&&(o=d),o},pointAboveOrOnLine:function(d,g,i){var M=g[0],v=g[1],p=i[0],u=i[1],a=d[0];return(p-M)*(d[1]-v)-(u-v)*(a-M)>=-o},pointBetween:function(d,g,i){var M=d[1]-g[1],v=i[0]-g[0],p=d[0]-g[0],u=i[1]-g[1],a=p*v+M*u;return!(a-o)},pointsSameX:function(d,g){return Math.abs(d[0]-g[0])o!=p-M>o&&(v-c)*(M-s)/(p-s)+c-i>o&&(u=!u),v=c,p=s}return u}};return t}},10670:function(x){var o={toPolygon:function(t,d){function g(v){if(v.length<=0)return t.segments({inverted:!1,regions:[]});function p(c){var s=c.slice(0,c.length-1);return t.segments({inverted:!1,regions:[s]})}for(var u=p(v[0]),a=1;a0})}function _(R,z){var F=R.seg,B=z.seg,N=F.start,q=F.end,j=B.start,Y=B.end;M&&M.checkIntersection(F,B);var U=i.linesIntersect(N,q,j,Y);if(U===!1){if(!i.pointsCollinear(N,q,j)||i.pointsSame(N,Y)||i.pointsSame(q,j))return!1;var G=i.pointsSame(N,j),W=i.pointsSame(q,Y);if(G&&W)return z;var H=!G&&i.pointBetween(N,j,Y),ne=!W&&i.pointBetween(q,j,Y);if(G)return ne?c(z,q):c(R,Y),z;H&&(W||(ne?c(z,q):c(R,Y)),c(z,N))}else U.alongA===0&&(U.alongB===-1?c(R,j):U.alongB===0?c(R,U.pt):U.alongB===1&&c(R,Y)),U.alongB===0&&(U.alongA===-1?c(z,N):U.alongA===0?c(z,U.pt):U.alongA===1&&c(z,q));return!1}for(var y=[];!p.isEmpty();){var C=p.getHead();if(M&&M.vert(C.pt[0]),C.isStart){let R=function(){if(k){var z=_(C,k);if(z)return z}return!!E&&_(C,E)};var I=R;M&&M.segmentNew(C.seg,C.primary);var w=m(C),k=w.before?w.before.ev:null,E=w.after?w.after.ev:null;M&&M.tempStatus(C.seg,!!k&&k.seg,!!E&&E.seg);var T,A,L=R();if(L&&(g?(A=C.seg.myFill.below===null||C.seg.myFill.above!==C.seg.myFill.below)&&(L.seg.myFill.above=!L.seg.myFill.above):L.seg.otherFill=C.seg.myFill,M&&M.segmentUpdate(L.seg),C.other.remove(),C.remove()),p.getHead()!==C){M&&M.rewind(C.seg);continue}g?(A=C.seg.myFill.below===null||C.seg.myFill.above!==C.seg.myFill.below,C.seg.myFill.below=E?E.seg.myFill.above:l,C.seg.myFill.above=A?!C.seg.myFill.below:C.seg.myFill.below):C.seg.otherFill===null&&(T=E?C.primary===E.primary?E.seg.otherFill.above:E.seg.myFill.above:C.primary?h:l,C.seg.otherFill={above:T,below:T}),M&&M.status(C.seg,!!k&&k.seg,!!E&&E.seg),C.other.status=w.insert(d.node({ev:C}))}else{var b=C.status;if(b===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(f.exists(b.prev)&&f.exists(b.next)&&_(b.prev.ev,b.next.ev),M&&M.statusRemove(b.ev.seg),b.remove(),!C.primary){var O=C.seg.myFill;C.seg.myFill=C.seg.otherFill,C.seg.otherFill=O}y.push(C.seg)}p.getHead().remove()}return M&&M.done(),y}return g?{addRegion:function(l){for(var h,f,m,_=l[l.length-1],y=0;y0&&!this.aborted;){var M=this.ifds_to_read.shift();M.offset&&this.scan_ifd(M.id,M.offset,g)}},d.prototype.read_uint16=function(g){var i=this.input;if(g+2>i.length)throw o("unexpected EOF","EBADDATA");return this.big_endian?256*i[g]+i[g+1]:i[g]+256*i[g+1]},d.prototype.read_uint32=function(g){var i=this.input;if(g+4>i.length)throw o("unexpected EOF","EBADDATA");return this.big_endian?16777216*i[g]+65536*i[g+1]+256*i[g+2]+i[g+3]:i[g]+256*i[g+1]+65536*i[g+2]+16777216*i[g+3]},d.prototype.is_subifd_link=function(g,i){return g===0&&i===34665||g===0&&i===34853||g===34665&&i===40965},d.prototype.exif_format_length=function(g){switch(g){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}},d.prototype.exif_format_read=function(g,i){var M;switch(g){case 1:case 2:return this.input[i];case 6:return(M=this.input[i])|33554430*(128&M);case 3:return this.read_uint16(i);case 8:return(M=this.read_uint16(i))|131070*(32768&M);case 4:return this.read_uint32(i);case 9:return 0|this.read_uint32(i);default:return null}},d.prototype.scan_ifd=function(g,i,M){var v=this.read_uint16(i);i+=2;for(var p=0;pthis.input.length)throw o("unexpected EOF","EBADDATA");for(var m=[],_=h,y=0;y0&&(this.ifds_to_read.push({id:u,offset:m[0]}),f=!0),M({is_big_endian:this.big_endian,ifd:g,tag:u,format:a,count:c,entry_offset:i+this.start,data_length:l,data_offset:h+this.start,value:m,is_subifd_link:f})===!1)return void(this.aborted=!0);i+=12}g===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(i)})},x.exports.ExifParser=d,x.exports.get_orientation=function(g){var i=0;try{return new d(g,0,g.length).each(function(M){if(M.ifd===0&&M.tag===274&&Array.isArray(M.value))return i=M.value[0],!1}),i}catch{return-1}}},76767:function(x,o,t){var d=t(14847).n8,g=t(14847).Ag;function i(c,s){if(c.length<4+s)return null;var l=g(c,s);return c.length>4&15,h=15&c[4],f=c[5]>>4&15,m=d(c,6),_=8,y=0;yw.width||C.width===w.width&&C.height>w.height?C:w}),f=l.reduce(function(C,w){return C.height>w.height||C.height===w.height&&C.width>w.width?C:w}),h.width>f.height||h.width===f.height&&h.height>f.width?h:f),_=1;s.transforms.forEach(function(C){var w={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},k={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(C.type==="imir"&&(_=C.value===0?k[_]:w[_=w[_=k[_]]]),C.type==="irot")for(var E=0;E1&&(m.variants=f.variants),f.orientation&&(m.orientation=f.orientation),f.exif_location&&f.exif_location.offset+f.exif_location.length<=u.length){var _=i(u,f.exif_location.offset),y=u.slice(f.exif_location.offset+_+4,f.exif_location.offset+f.exif_location.length),C=v.get_orientation(y);C>0&&(m.orientation=C)}return m}}}}}}},2504:function(x,o,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("BM");x.exports=function(v){if(!(v.length<26)&&g(v,0,M))return{width:i(v,18),height:i(v,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},47342:function(x,o,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("GIF87a"),v=d("GIF89a");x.exports=function(p){if(!(p.length<10)&&(g(p,0,M)||g(p,0,v)))return{width:i(p,6),height:i(p,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},31355:function(x,o,t){var d=t(14847).mP;x.exports=function(g){var i=d(g,0),M=d(g,2),v=d(g,4);if(i===0&&M===1&&v){for(var p=[],u={width:0,height:0},a=0;au.width||s>u.height)&&(u=l)}return{width:u.width,height:u.height,variants:p,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},54261:function(x,o,t){var d=t(14847).n8,g=t(14847).eG,i=t(14847).OF,M=t(71371),v=g("Exif\0\0");x.exports=function(p){if(!(p.length<2)&&p[0]===255&&p[1]===216&&p[2]===255)for(var u=2;;){for(;;){if(p.length-u<2)return;if(p[u++]===255)break}for(var a,c,s=p[u++];s===255;)s=p[u++];if(208<=s&&s<=217||s===1)a=0;else{if(!(192<=s&&s<=254)||p.length-u<2)return;a=d(p,u)-2,u+=2}if(s===217||s===218)return;if(s===225&&a>=10&&i(p,u,v)&&(c=M.get_orientation(p.slice(u+6,u+a))),a>=5&&192<=s&&s<=207&&s!==196&&s!==200&&s!==204){if(p.length-u0&&(l.orientation=c),l}u+=a}}},6303:function(x,o,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).Ag,M=d(`‰PNG\r +`),Tt=Re.createShader(Re.FRAGMENT_SHADER);if(Re.isContextLost())this.failedToCreate=!0;else{Re.shaderSource(Tt,Ze),Re.compileShader(Tt),Re.attachShader(this.program,Tt);var At=Re.createShader(Re.VERTEX_SHADER);if(Re.isContextLost())this.failedToCreate=!0;else{Re.shaderSource(At,at),Re.compileShader(At),Re.attachShader(this.program,At);for(var se=K?K.layoutAttributes:[],ve=0;ve>16,Ze>>16],u_pixel_coord_lower:[65535&He,65535&Ze]}}Is.prototype.draw=function($,ee,K,le,Te,Re,He,Ze,at,Tt,At,se,ve,Ie,Fe,Ue){var qe,Xe=$.gl;if(!this.failedToCreate){for(var tt in $.program.set(this.program),$.setDepthMode(K),$.setStencilMode(le),$.setColorMode(Te),$.setCullFace(Re),this.fixedUniforms)this.fixedUniforms[tt].set(He[tt]);Ie&&Ie.setUniforms($,this.binderUniforms,se,{zoom:ve});for(var lt=(qe={},qe[Xe.LINES]=2,qe[Xe.TRIANGLES]=3,qe[Xe.LINE_STRIP]=1,qe)[ee],gt=0,zt=At.get();gt0?1-1/(1.001-He):-He),u_contrast_factor:(Re=Te.paint.get("raster-contrast"),Re>0?1/(1-Re):1+Re),u_spin_weights:Kl(Te.paint.get("raster-hue-rotate"))};var Re,He};function Kl($){$*=Math.PI/180;var ee=Math.sin($),K=Math.cos($);return[(2*K+1)/3,(-Math.sqrt(3)*ee-K+1)/3,(Math.sqrt(3)*ee-K+1)/3]}var cl,qi=function($,ee,K,le,Te,Re,He,Ze,at,Tt){var At=Te.transform;return{u_is_size_zoom_constant:+($==="constant"||$==="source"),u_is_size_feature_constant:+($==="constant"||$==="camera"),u_size_t:ee?ee.uSizeT:0,u_size:ee?ee.uSize:0,u_camera_to_center_distance:At.cameraToCenterDistance,u_pitch:At.pitch/360*2*Math.PI,u_rotate_symbol:+K,u_aspect_ratio:At.width/At.height,u_fade_change:Te.options.fadeDuration?Te.symbolFadeChange:1,u_matrix:Re,u_label_plane_matrix:He,u_coord_matrix:Ze,u_is_text:+at,u_pitch_with_map:+le,u_texsize:Tt,u_texture:0}},Il=function($,ee,K,le,Te,Re,He,Ze,at,Tt,At){var se=Te.transform;return i.extend(qi($,ee,K,le,Te,Re,He,Ze,at,Tt),{u_gamma_scale:le?Math.cos(se._pitch)*se.cameraToCenterDistance:1,u_device_pixel_ratio:i.browser.devicePixelRatio,u_is_halo:+At})},Zh=function($,ee,K,le,Te,Re,He,Ze,at,Tt){return i.extend(Il($,ee,K,le,Te,Re,He,Ze,!0,at,!0),{u_texsize_icon:Tt,u_texture_icon:1})},Uc=function($,ee,K){return{u_matrix:$,u_opacity:ee,u_color:K}},oc=function($,ee,K,le,Te,Re){return i.extend(function(He,Ze,at,Tt){var At=at.imageManager.getPattern(He.from.toString()),se=at.imageManager.getPattern(He.to.toString()),ve=at.imageManager.getPixelSize(),Ie=ve.width,Fe=ve.height,Ue=Math.pow(2,Tt.tileID.overscaledZ),qe=Tt.tileSize*Math.pow(2,at.transform.tileZoom)/Ue,Xe=qe*(Tt.tileID.canonical.x+Tt.tileID.wrap*Ue),tt=qe*Tt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:At.tl,u_pattern_br_a:At.br,u_pattern_tl_b:se.tl,u_pattern_br_b:se.br,u_texsize:[Ie,Fe],u_mix:Ze.t,u_pattern_size_a:At.displaySize,u_pattern_size_b:se.displaySize,u_scale_a:Ze.fromScale,u_scale_b:Ze.toScale,u_tile_units_to_pixels:1/yr(Tt,1,at.transform.tileZoom),u_pixel_coord_upper:[Xe>>16,tt>>16],u_pixel_coord_lower:[65535&Xe,65535&tt]}}(le,Re,K,Te),{u_matrix:$,u_opacity:ee})},Jl={fillExtrusion:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_lightpos:new i.Uniform3f($,ee.u_lightpos),u_lightintensity:new i.Uniform1f($,ee.u_lightintensity),u_lightcolor:new i.Uniform3f($,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f($,ee.u_vertical_gradient),u_opacity:new i.Uniform1f($,ee.u_opacity)}},fillExtrusionPattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_lightpos:new i.Uniform3f($,ee.u_lightpos),u_lightintensity:new i.Uniform1f($,ee.u_lightintensity),u_lightcolor:new i.Uniform3f($,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f($,ee.u_vertical_gradient),u_height_factor:new i.Uniform1f($,ee.u_height_factor),u_image:new i.Uniform1i($,ee.u_image),u_texsize:new i.Uniform2f($,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade),u_opacity:new i.Uniform1f($,ee.u_opacity)}},fill:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},fillPattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_image:new i.Uniform1i($,ee.u_image),u_texsize:new i.Uniform2f($,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade)}},fillOutline:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_world:new i.Uniform2f($,ee.u_world)}},fillOutlinePattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_world:new i.Uniform2f($,ee.u_world),u_image:new i.Uniform1i($,ee.u_image),u_texsize:new i.Uniform2f($,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade)}},circle:function($,ee){return{u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_scale_with_map:new i.Uniform1i($,ee.u_scale_with_map),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_extrude_scale:new i.Uniform2f($,ee.u_extrude_scale),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},collisionBox:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pixels_to_tile_units:new i.Uniform1f($,ee.u_pixels_to_tile_units),u_extrude_scale:new i.Uniform2f($,ee.u_extrude_scale),u_overscale_factor:new i.Uniform1f($,ee.u_overscale_factor)}},collisionCircle:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_inv_matrix:new i.UniformMatrix4f($,ee.u_inv_matrix),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_viewport_size:new i.Uniform2f($,ee.u_viewport_size)}},debug:function($,ee){return{u_color:new i.UniformColor($,ee.u_color),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_overlay:new i.Uniform1i($,ee.u_overlay),u_overlay_scale:new i.Uniform1f($,ee.u_overlay_scale)}},clippingMask:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},heatmap:function($,ee){return{u_extrude_scale:new i.Uniform1f($,ee.u_extrude_scale),u_intensity:new i.Uniform1f($,ee.u_intensity),u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},heatmapTexture:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_world:new i.Uniform2f($,ee.u_world),u_image:new i.Uniform1i($,ee.u_image),u_color_ramp:new i.Uniform1i($,ee.u_color_ramp),u_opacity:new i.Uniform1f($,ee.u_opacity)}},hillshade:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_image:new i.Uniform1i($,ee.u_image),u_latrange:new i.Uniform2f($,ee.u_latrange),u_light:new i.Uniform2f($,ee.u_light),u_shadow:new i.UniformColor($,ee.u_shadow),u_highlight:new i.UniformColor($,ee.u_highlight),u_accent:new i.UniformColor($,ee.u_accent)}},hillshadePrepare:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_image:new i.Uniform1i($,ee.u_image),u_dimension:new i.Uniform2f($,ee.u_dimension),u_zoom:new i.Uniform1f($,ee.u_zoom),u_maxzoom:new i.Uniform1f($,ee.u_maxzoom),u_unpack:new i.Uniform4f($,ee.u_unpack)}},line:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels)}},lineGradient:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels),u_image:new i.Uniform1i($,ee.u_image)}},linePattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_texsize:new i.Uniform2f($,ee.u_texsize),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_image:new i.Uniform1i($,ee.u_image),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade)}},lineSDF:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels),u_patternscale_a:new i.Uniform2f($,ee.u_patternscale_a),u_patternscale_b:new i.Uniform2f($,ee.u_patternscale_b),u_sdfgamma:new i.Uniform1f($,ee.u_sdfgamma),u_image:new i.Uniform1i($,ee.u_image),u_tex_y_a:new i.Uniform1f($,ee.u_tex_y_a),u_tex_y_b:new i.Uniform1f($,ee.u_tex_y_b),u_mix:new i.Uniform1f($,ee.u_mix)}},raster:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_tl_parent:new i.Uniform2f($,ee.u_tl_parent),u_scale_parent:new i.Uniform1f($,ee.u_scale_parent),u_buffer_scale:new i.Uniform1f($,ee.u_buffer_scale),u_fade_t:new i.Uniform1f($,ee.u_fade_t),u_opacity:new i.Uniform1f($,ee.u_opacity),u_image0:new i.Uniform1i($,ee.u_image0),u_image1:new i.Uniform1i($,ee.u_image1),u_brightness_low:new i.Uniform1f($,ee.u_brightness_low),u_brightness_high:new i.Uniform1f($,ee.u_brightness_high),u_saturation_factor:new i.Uniform1f($,ee.u_saturation_factor),u_contrast_factor:new i.Uniform1f($,ee.u_contrast_factor),u_spin_weights:new i.Uniform3f($,ee.u_spin_weights)}},symbolIcon:function($,ee){return{u_is_size_zoom_constant:new i.Uniform1i($,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i($,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f($,ee.u_size_t),u_size:new i.Uniform1f($,ee.u_size),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f($,ee.u_pitch),u_rotate_symbol:new i.Uniform1i($,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f($,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f($,ee.u_fade_change),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f($,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f($,ee.u_coord_matrix),u_is_text:new i.Uniform1i($,ee.u_is_text),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_texsize:new i.Uniform2f($,ee.u_texsize),u_texture:new i.Uniform1i($,ee.u_texture)}},symbolSDF:function($,ee){return{u_is_size_zoom_constant:new i.Uniform1i($,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i($,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f($,ee.u_size_t),u_size:new i.Uniform1f($,ee.u_size),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f($,ee.u_pitch),u_rotate_symbol:new i.Uniform1i($,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f($,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f($,ee.u_fade_change),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f($,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f($,ee.u_coord_matrix),u_is_text:new i.Uniform1i($,ee.u_is_text),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_texsize:new i.Uniform2f($,ee.u_texsize),u_texture:new i.Uniform1i($,ee.u_texture),u_gamma_scale:new i.Uniform1f($,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i($,ee.u_is_halo)}},symbolTextAndIcon:function($,ee){return{u_is_size_zoom_constant:new i.Uniform1i($,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i($,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f($,ee.u_size_t),u_size:new i.Uniform1f($,ee.u_size),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f($,ee.u_pitch),u_rotate_symbol:new i.Uniform1i($,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f($,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f($,ee.u_fade_change),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f($,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f($,ee.u_coord_matrix),u_is_text:new i.Uniform1i($,ee.u_is_text),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_texsize:new i.Uniform2f($,ee.u_texsize),u_texsize_icon:new i.Uniform2f($,ee.u_texsize_icon),u_texture:new i.Uniform1i($,ee.u_texture),u_texture_icon:new i.Uniform1i($,ee.u_texture_icon),u_gamma_scale:new i.Uniform1f($,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i($,ee.u_is_halo)}},background:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_opacity:new i.Uniform1f($,ee.u_opacity),u_color:new i.UniformColor($,ee.u_color)}},backgroundPattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_opacity:new i.Uniform1f($,ee.u_opacity),u_image:new i.Uniform1i($,ee.u_image),u_pattern_tl_a:new i.Uniform2f($,ee.u_pattern_tl_a),u_pattern_br_a:new i.Uniform2f($,ee.u_pattern_br_a),u_pattern_tl_b:new i.Uniform2f($,ee.u_pattern_tl_b),u_pattern_br_b:new i.Uniform2f($,ee.u_pattern_br_b),u_texsize:new i.Uniform2f($,ee.u_texsize),u_mix:new i.Uniform1f($,ee.u_mix),u_pattern_size_a:new i.Uniform2f($,ee.u_pattern_size_a),u_pattern_size_b:new i.Uniform2f($,ee.u_pattern_size_b),u_scale_a:new i.Uniform1f($,ee.u_scale_a),u_scale_b:new i.Uniform1f($,ee.u_scale_b),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_tile_units_to_pixels:new i.Uniform1f($,ee.u_tile_units_to_pixels)}}};function Iu($,ee,K,le,Te,Re,He){for(var Ze=$.context,at=Ze.gl,Tt=$.useProgram("collisionBox"),At=[],se=0,ve=0,Ie=0;Ie0){var gt=i.create(),zt=Xe;i.mul(gt,qe.placementInvProjMatrix,$.transform.glCoordMatrix),i.mul(gt,gt,qe.placementViewportMatrix),At.push({circleArray:lt,circleOffset:ve,transform:zt,invTransform:gt}),ve=se+=lt.length/4}tt&&Tt.draw(Ze,at.LINES,Wt.disabled,Ke.disabled,$.colorModeForRenderPass(),We.disabled,ph(Xe,$.transform,Ue),K.id,tt.layoutVertexBuffer,tt.indexBuffer,tt.segments,null,$.transform.zoom,null,null,tt.collisionVertexBuffer)}}if(He&&At.length){var Ut=$.useProgram("collisionCircle"),Ht=new i.StructArrayLayout2f1f2i16;Ht.resize(4*se),Ht._trim();for(var en=0,vn=0,tn=At;vn=0&&(Fe[qe.associatedIconIndex]={shiftedAnchor:tn,angle:ln})}else rr(qe.numGlyphs,ve)}if(At){Ie.clear();for(var Cn=$.icon.placedSymbolArray,_n=0;_n0){var He=i.browser.now(),Ze=(He-$.timeAdded)/Re,at=ee?(He-ee.timeAdded)/Re:-1,Tt=K.getSource(),At=Te.coveringZoomLevel({tileSize:Tt.tileSize,roundZoom:Tt.roundZoom}),se=!ee||Math.abs(ee.tileID.overscaledZ-At)>Math.abs($.tileID.overscaledZ-At),ve=se&&$.refreshedUponExpiration?1:i.clamp(se?Ze:1-at,0,1);return $.refreshedUponExpiration&&Ze>=1&&($.refreshedUponExpiration=!1),ee?{opacity:1,mix:1-ve}:{opacity:ve,mix:0}}return{opacity:1,mix:0}}var fc=new i.Color(1,0,0,1),hc=new i.Color(0,1,0,1),Sf=new i.Color(0,0,1,1),Ol=new i.Color(1,0,1,1),Hc=new i.Color(0,1,1,1);function dc($){var ee=$.transform.padding;Cf($,$.transform.height-(ee.top||0),3,fc),Cf($,ee.bottom||0,3,hc),pc($,ee.left||0,3,Sf),pc($,$.transform.width-(ee.right||0),3,Ol);var K=$.transform.centerPoint;(function(le,Te,Re,He){var Ze=20,at=2;Du(le,Te-at/2,Re-Ze/2,at,Ze,He),Du(le,Te-Ze/2,Re-at/2,Ze,at,He)})($,K.x,$.transform.height-K.y,Hc)}function Cf($,ee,K,le){Du($,0,ee+K/2,$.transform.width,K,le)}function pc($,ee,K,le){Du($,ee-K/2,0,K,$.transform.height,le)}function Du($,ee,K,le,Te,Re){var He=$.context,Ze=He.gl;Ze.enable(Ze.SCISSOR_TEST),Ze.scissor(ee*i.browser.devicePixelRatio,K*i.browser.devicePixelRatio,le*i.browser.devicePixelRatio,Te*i.browser.devicePixelRatio),He.clear({color:Re}),Ze.disable(Ze.SCISSOR_TEST)}function tu($,ee,K){var le=$.context,Te=le.gl,Re=K.posMatrix,He=$.useProgram("debug"),Ze=Wt.disabled,at=Ke.disabled,Tt=$.colorModeForRenderPass(),At="$debug";le.activeTexture.set(Te.TEXTURE0),$.emptyTexture.bind(Te.LINEAR,Te.CLAMP_TO_EDGE),He.draw(le,Te.LINE_STRIP,Ze,at,Tt,We.disabled,sl(Re,i.Color.red),At,$.debugBuffer,$.tileBorderIndexBuffer,$.debugSegments);var se=ee.getTileByID(K.key).latestRawTileData,ve=se&&se.byteLength||0,Ie=Math.floor(ve/1024),Fe=ee.getTile(K).tileSize,Ue=512/Math.min(Fe,512)*(K.overscaledZ/$.transform.zoom)*.5,qe=K.canonical.toString();K.overscaledZ!==K.canonical.z&&(qe+=" => "+K.overscaledZ),function(Xe,tt){Xe.initDebugOverlayCanvas();var lt=Xe.debugOverlayCanvas,gt=Xe.context.gl,zt=Xe.debugOverlayCanvas.getContext("2d");zt.clearRect(0,0,lt.width,lt.height),zt.shadowColor="white",zt.shadowBlur=2,zt.lineWidth=1.5,zt.strokeStyle="white",zt.textBaseline="top",zt.font="bold 36px Open Sans, sans-serif",zt.fillText(tt,5,5),zt.strokeText(tt,5,5),Xe.debugOverlayTexture.update(lt),Xe.debugOverlayTexture.bind(gt.LINEAR,gt.CLAMP_TO_EDGE)}($,qe+" "+Ie+"kb"),He.draw(le,Te.TRIANGLES,Ze,at,Je.alphaBlended,We.disabled,sl(Re,i.Color.transparent,Ue),At,$.debugBuffer,$.quadTriangleIndexBuffer,$.debugSegments)}var nu={symbol:function($,ee,K,le,Te){if($.renderPass==="translucent"){var Re=Ke.disabled,He=$.colorModeForRenderPass();K.layout.get("text-variable-anchor")&&function(Ze,at,Tt,At,se,ve,Ie){for(var Fe=at.transform,Ue=se==="map",qe=ve==="map",Xe=0,tt=Ze;Xe256&&this.clearStencil(),K.setColorMode(Je.disabled),K.setDepthMode(Wt.disabled);var Te=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var Re=0,He=ee;Re256&&this.clearStencil();var $=this.nextStencilID++,ee=this.context.gl;return new Ke({func:ee.NOTEQUAL,mask:255},$,255,ee.KEEP,ee.KEEP,ee.REPLACE)},ea.prototype.stencilModeForClipping=function($){var ee=this.context.gl;return new Ke({func:ee.EQUAL,mask:255},this._tileClippingMaskIDs[$.key],0,ee.KEEP,ee.KEEP,ee.REPLACE)},ea.prototype.stencilConfigForOverlap=function($){var ee,K=this.context.gl,le=$.sort(function(at,Tt){return Tt.overscaledZ-at.overscaledZ}),Te=le[le.length-1].overscaledZ,Re=le[0].overscaledZ-Te+1;if(Re>1){this.currentStencilSource=void 0,this.nextStencilID+Re>256&&this.clearStencil();for(var He={},Ze=0;Ze=0;this.currentLayer--){var zt=this.style._layers[le[this.currentLayer]],Ut=Te[zt.source],Ht=Tt[zt.source];this._renderTileClippingMasks(zt,Ht),this.renderLayer(this,Ut,zt,Ht)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?ee.pop():null},ea.prototype.isPatternMissing=function($){if(!$)return!1;if(!$.from||!$.to)return!0;var ee=this.imageManager.getPattern($.from.toString()),K=this.imageManager.getPattern($.to.toString());return!ee||!K},ea.prototype.useProgram=function($,ee){this.cache=this.cache||{};var K=""+$+(ee?ee.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[K]||(this.cache[K]=new Is(this.context,El[$],ee,Jl[$],this._showOverdrawInspector)),this.cache[K]},ea.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()},ea.prototype.setBaseState=function(){var $=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set($.FUNC_ADD)},ea.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=i.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var $=this.context.gl;this.debugOverlayTexture=new i.Texture(this.context,this.debugOverlayCanvas,$.RGBA)}},ea.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var Pl=function($,ee){this.points=$,this.planes=ee};Pl.fromInvProjectionMatrix=function($,ee,K){var le=Math.pow(2,K),Te=[[-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(He){return i.transformMat4([],He,$)}).map(function(He){return i.scale$1([],He,1/He[3]/ee*le)}),Re=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(function(He){var Ze=i.sub([],Te[He[0]],Te[He[1]]),at=i.sub([],Te[He[2]],Te[He[1]]),Tt=i.normalize([],i.cross([],Ze,at)),At=-i.dot(Tt,Te[He[1]]);return Tt.concat(At)});return new Pl(Te,Re)};var Dl=function($,ee){this.min=$,this.max=ee,this.center=i.scale$2([],i.add([],this.min,this.max),.5)};Dl.prototype.quadrant=function($){for(var ee=[$%2==0,$<2],K=i.clone$2(this.min),le=i.clone$2(this.max),Te=0;Te=0;if(Re===0)return 0;Re!==ee.length&&(K=!1)}if(K)return 2;for(var Ze=0;Ze<3;Ze++){for(var at=Number.MAX_VALUE,Tt=-Number.MAX_VALUE,At=0;At<$.points.length;At++){var se=$.points[At][Ze]-this.min[Ze];at=Math.min(at,se),Tt=Math.max(Tt,se)}if(Tt<0||at>this.max[Ze]-this.min[Ze])return 0}return 1};var mo=function($,ee,K,le){if($===void 0&&($=0),ee===void 0&&(ee=0),K===void 0&&(K=0),le===void 0&&(le=0),isNaN($)||$<0||isNaN(ee)||ee<0||isNaN(K)||K<0||isNaN(le)||le<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=$,this.bottom=ee,this.left=K,this.right=le};mo.prototype.interpolate=function($,ee,K){return ee.top!=null&&$.top!=null&&(this.top=i.number($.top,ee.top,K)),ee.bottom!=null&&$.bottom!=null&&(this.bottom=i.number($.bottom,ee.bottom,K)),ee.left!=null&&$.left!=null&&(this.left=i.number($.left,ee.left,K)),ee.right!=null&&$.right!=null&&(this.right=i.number($.right,ee.right,K)),this},mo.prototype.getCenter=function($,ee){var K=i.clamp((this.left+$-this.right)/2,0,$),le=i.clamp((this.top+ee-this.bottom)/2,0,ee);return new i.Point(K,le)},mo.prototype.equals=function($){return this.top===$.top&&this.bottom===$.bottom&&this.left===$.left&&this.right===$.right},mo.prototype.clone=function(){return new mo(this.top,this.bottom,this.left,this.right)},mo.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var Fi=function($,ee,K,le,Te){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Te===void 0||Te,this._minZoom=$||0,this._maxZoom=ee||22,this._minPitch=K??0,this._maxPitch=le??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new i.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new mo,this._posMatrixCache={},this._alignedPosMatrixCache={}},ji={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}};Fi.prototype.clone=function(){var $=new Fi(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return $.tileSize=this.tileSize,$.latRange=this.latRange,$.width=this.width,$.height=this.height,$._center=this._center,$.zoom=this.zoom,$.angle=this.angle,$._fov=this._fov,$._pitch=this._pitch,$._unmodified=this._unmodified,$._edgeInsets=this._edgeInsets.clone(),$._calcMatrices(),$},ji.minZoom.get=function(){return this._minZoom},ji.minZoom.set=function($){this._minZoom!==$&&(this._minZoom=$,this.zoom=Math.max(this.zoom,$))},ji.maxZoom.get=function(){return this._maxZoom},ji.maxZoom.set=function($){this._maxZoom!==$&&(this._maxZoom=$,this.zoom=Math.min(this.zoom,$))},ji.minPitch.get=function(){return this._minPitch},ji.minPitch.set=function($){this._minPitch!==$&&(this._minPitch=$,this.pitch=Math.max(this.pitch,$))},ji.maxPitch.get=function(){return this._maxPitch},ji.maxPitch.set=function($){this._maxPitch!==$&&(this._maxPitch=$,this.pitch=Math.min(this.pitch,$))},ji.renderWorldCopies.get=function(){return this._renderWorldCopies},ji.renderWorldCopies.set=function($){$===void 0?$=!0:$===null&&($=!1),this._renderWorldCopies=$},ji.worldSize.get=function(){return this.tileSize*this.scale},ji.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},ji.size.get=function(){return new i.Point(this.width,this.height)},ji.bearing.get=function(){return-this.angle/Math.PI*180},ji.bearing.set=function($){var ee=-i.wrap($,-180,180)*Math.PI/180;this.angle!==ee&&(this._unmodified=!1,this.angle=ee,this._calcMatrices(),this.rotationMatrix=i.create$2(),i.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},ji.pitch.get=function(){return this._pitch/Math.PI*180},ji.pitch.set=function($){var ee=i.clamp($,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ee&&(this._unmodified=!1,this._pitch=ee,this._calcMatrices())},ji.fov.get=function(){return this._fov/Math.PI*180},ji.fov.set=function($){$=Math.max(.01,Math.min(60,$)),this._fov!==$&&(this._unmodified=!1,this._fov=$/180*Math.PI,this._calcMatrices())},ji.zoom.get=function(){return this._zoom},ji.zoom.set=function($){var ee=Math.min(Math.max($,this.minZoom),this.maxZoom);this._zoom!==ee&&(this._unmodified=!1,this._zoom=ee,this.scale=this.zoomScale(ee),this.tileZoom=Math.floor(ee),this.zoomFraction=ee-this.tileZoom,this._constrain(),this._calcMatrices())},ji.center.get=function(){return this._center},ji.center.set=function($){$.lat===this._center.lat&&$.lng===this._center.lng||(this._unmodified=!1,this._center=$,this._constrain(),this._calcMatrices())},ji.padding.get=function(){return this._edgeInsets.toJSON()},ji.padding.set=function($){this._edgeInsets.equals($)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,$,1),this._calcMatrices())},ji.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},Fi.prototype.isPaddingEqual=function($){return this._edgeInsets.equals($)},Fi.prototype.interpolatePadding=function($,ee,K){this._unmodified=!1,this._edgeInsets.interpolate($,ee,K),this._constrain(),this._calcMatrices()},Fi.prototype.coveringZoomLevel=function($){var ee=($.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/$.tileSize));return Math.max(0,ee)},Fi.prototype.getVisibleUnwrappedCoordinates=function($){var ee=[new i.UnwrappedTileID(0,$)];if(this._renderWorldCopies)for(var K=this.pointCoordinate(new i.Point(0,0)),le=this.pointCoordinate(new i.Point(this.width,0)),Te=this.pointCoordinate(new i.Point(this.width,this.height)),Re=this.pointCoordinate(new i.Point(0,this.height)),He=Math.floor(Math.min(K.x,le.x,Te.x,Re.x)),Ze=Math.floor(Math.max(K.x,le.x,Te.x,Re.x)),at=He-1;at<=Ze+1;at++)at!==0&&ee.push(new i.UnwrappedTileID(at,$));return ee},Fi.prototype.coveringTiles=function($){var ee=this.coveringZoomLevel($),K=ee;if($.minzoom!==void 0&&ee<$.minzoom)return[];$.maxzoom!==void 0&&ee>$.maxzoom&&(ee=$.maxzoom);var le=i.MercatorCoordinate.fromLngLat(this.center),Te=Math.pow(2,ee),Re=[Te*le.x,Te*le.y,0],He=Pl.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,ee),Ze=$.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ze=ee);var at=function(tn){return{aabb:new Dl([tn*Te,0,0],[(tn+1)*Te,Te,0]),zoom:0,x:0,y:0,wrap:tn,fullyVisible:!1}},Tt=[],At=[],se=ee,ve=$.reparseOverscaled?K:ee;if(this._renderWorldCopies)for(var Ie=1;Ie<=3;Ie++)Tt.push(at(-Ie)),Tt.push(at(Ie));for(Tt.push(at(0));Tt.length>0;){var Fe=Tt.pop(),Ue=Fe.x,qe=Fe.y,Xe=Fe.fullyVisible;if(!Xe){var tt=Fe.aabb.intersects(He);if(tt===0)continue;Xe=tt===2}var lt=Fe.aabb.distanceX(Re),gt=Fe.aabb.distanceY(Re),zt=Math.max(Math.abs(lt),Math.abs(gt)),Ut=3+(1<Ut&&Fe.zoom>=Ze)At.push({tileID:new i.OverscaledTileID(Fe.zoom===se?ve:Fe.zoom,Fe.wrap,Fe.zoom,Ue,qe),distanceSq:i.sqrLen([Re[0]-.5-Ue,Re[1]-.5-qe])});else for(var Ht=0;Ht<4;Ht++){var en=(Ue<<1)+Ht%2,vn=(qe<<1)+(Ht>>1);Tt.push({aabb:Fe.aabb.quadrant(Ht),zoom:Fe.zoom+1,x:en,y:vn,wrap:Fe.wrap,fullyVisible:Xe})}}return At.sort(function(tn,ln){return tn.distanceSq-ln.distanceSq}).map(function(tn){return tn.tileID})},Fi.prototype.resize=function($,ee){this.width=$,this.height=ee,this.pixelsToGLUnits=[2/$,-2/ee],this._constrain(),this._calcMatrices()},ji.unmodified.get=function(){return this._unmodified},Fi.prototype.zoomScale=function($){return Math.pow(2,$)},Fi.prototype.scaleZoom=function($){return Math.log($)/Math.LN2},Fi.prototype.project=function($){var ee=i.clamp($.lat,-this.maxValidLatitude,this.maxValidLatitude);return new i.Point(i.mercatorXfromLng($.lng)*this.worldSize,i.mercatorYfromLat(ee)*this.worldSize)},Fi.prototype.unproject=function($){return new i.MercatorCoordinate($.x/this.worldSize,$.y/this.worldSize).toLngLat()},ji.point.get=function(){return this.project(this.center)},Fi.prototype.setLocationAtPoint=function($,ee){var K=this.pointCoordinate(ee),le=this.pointCoordinate(this.centerPoint),Te=this.locationCoordinate($),Re=new i.MercatorCoordinate(Te.x-(K.x-le.x),Te.y-(K.y-le.y));this.center=this.coordinateLocation(Re),this._renderWorldCopies&&(this.center=this.center.wrap())},Fi.prototype.locationPoint=function($){return this.coordinatePoint(this.locationCoordinate($))},Fi.prototype.pointLocation=function($){return this.coordinateLocation(this.pointCoordinate($))},Fi.prototype.locationCoordinate=function($){return i.MercatorCoordinate.fromLngLat($)},Fi.prototype.coordinateLocation=function($){return $.toLngLat()},Fi.prototype.pointCoordinate=function($){var ee=[$.x,$.y,0,1],K=[$.x,$.y,1,1];i.transformMat4(ee,ee,this.pixelMatrixInverse),i.transformMat4(K,K,this.pixelMatrixInverse);var le=ee[3],Te=K[3],Re=ee[0]/le,He=K[0]/Te,Ze=ee[1]/le,at=K[1]/Te,Tt=ee[2]/le,At=K[2]/Te,se=Tt===At?0:(0-Tt)/(At-Tt);return new i.MercatorCoordinate(i.number(Re,He,se)/this.worldSize,i.number(Ze,at,se)/this.worldSize)},Fi.prototype.coordinatePoint=function($){var ee=[$.x*this.worldSize,$.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix),new i.Point(ee[0]/ee[3],ee[1]/ee[3])},Fi.prototype.getBounds=function(){return new i.LngLatBounds().extend(this.pointLocation(new i.Point(0,0))).extend(this.pointLocation(new i.Point(this.width,0))).extend(this.pointLocation(new i.Point(this.width,this.height))).extend(this.pointLocation(new i.Point(0,this.height)))},Fi.prototype.getMaxBounds=function(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new i.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},Fi.prototype.setMaxBounds=function($){$?(this.lngRange=[$.getWest(),$.getEast()],this.latRange=[$.getSouth(),$.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},Fi.prototype.calculatePosMatrix=function($,ee){ee===void 0&&(ee=!1);var K=$.key,le=ee?this._alignedPosMatrixCache:this._posMatrixCache;if(le[K])return le[K];var Te=$.canonical,Re=this.worldSize/this.zoomScale(Te.z),He=Te.x+Math.pow(2,Te.z)*$.wrap,Ze=i.identity(new Float64Array(16));return i.translate(Ze,Ze,[He*Re,Te.y*Re,0]),i.scale(Ze,Ze,[Re/i.EXTENT,Re/i.EXTENT,1]),i.multiply(Ze,ee?this.alignedProjMatrix:this.projMatrix,Ze),le[K]=new Float32Array(Ze),le[K]},Fi.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},Fi.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var $,ee,K,le,Te=-90,Re=90,He=-180,Ze=180,at=this.size,Tt=this._unmodified;if(this.latRange){var At=this.latRange;Te=i.mercatorYfromLat(At[1])*this.worldSize,$=(Re=i.mercatorYfromLat(At[0])*this.worldSize)-TeRe&&(le=Re-Ue)}if(this.lngRange){var qe=ve.x,Xe=at.x/2;qe-XeZe&&(K=Ze-Xe)}K===void 0&&le===void 0||(this.center=this.unproject(new i.Point(K!==void 0?K:ve.x,le!==void 0?le:ve.y))),this._unmodified=Tt,this._constraining=!1}},Fi.prototype._calcMatrices=function(){if(this.height){var $=this._fov/2,ee=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan($)*this.height;var K=Math.PI/2+this._pitch,le=this._fov*(.5+ee.y/this.height),Te=Math.sin(le)*this.cameraToCenterDistance/Math.sin(i.clamp(Math.PI-K-le,.01,Math.PI-.01)),Re=this.point,He=Re.x,Ze=Re.y,at=1.01*(Math.cos(Math.PI/2-this._pitch)*Te+this.cameraToCenterDistance),Tt=this.height/50,At=new Float64Array(16);i.perspective(At,this._fov,this.width/this.height,Tt,at),At[8]=2*-ee.x/this.width,At[9]=2*ee.y/this.height,i.scale(At,At,[1,-1,1]),i.translate(At,At,[0,0,-this.cameraToCenterDistance]),i.rotateX(At,At,this._pitch),i.rotateZ(At,At,this.angle),i.translate(At,At,[-He,-Ze,0]),this.mercatorMatrix=i.scale([],At,[this.worldSize,this.worldSize,this.worldSize]),i.scale(At,At,[1,1,i.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=At,this.invProjMatrix=i.invert([],this.projMatrix);var se=this.width%2/2,ve=this.height%2/2,Ie=Math.cos(this.angle),Fe=Math.sin(this.angle),Ue=He-Math.round(He)+Ie*se+Fe*ve,qe=Ze-Math.round(Ze)+Ie*ve+Fe*se,Xe=new Float64Array(At);if(i.translate(Xe,Xe,[Ue>.5?Ue-1:Ue,qe>.5?qe-1:qe,0]),this.alignedProjMatrix=Xe,At=i.create(),i.scale(At,At,[this.width/2,-this.height/2,1]),i.translate(At,At,[1,-1,0]),this.labelPlaneMatrix=At,At=i.create(),i.scale(At,At,[1,-1,1]),i.translate(At,At,[-1,-1,0]),i.scale(At,At,[2/this.width,2/this.height,1]),this.glCoordMatrix=At,this.pixelMatrix=i.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(At=i.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=At,this._posMatrixCache={},this._alignedPosMatrixCache={}}},Fi.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var $=this.pointCoordinate(new i.Point(0,0)),ee=[$.x*this.worldSize,$.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix)[3]/this.cameraToCenterDistance},Fi.prototype.getCameraPoint=function(){var $=this._pitch,ee=Math.tan($)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new i.Point(0,ee))},Fi.prototype.getCameraQueryGeometry=function($){var ee=this.getCameraPoint();if($.length===1)return[$[0],ee];for(var K=ee.x,le=ee.y,Te=ee.x,Re=ee.y,He=0,Ze=$;He=3&&!$.some(function(K){return isNaN(K)})){var ee=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+($[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+$[2],+$[1]],zoom:+$[0],bearing:ee,pitch:+($[4]||0)}),!0}return!1},fl.prototype._updateHashUnthrottled=function(){var $=this.getHashString();try{i.window.history.replaceState(i.window.history.state,"",$)}catch{}};var $s={linearity:.3,easing:i.bezier(0,0,.3,1)},Gc=i.extend({deceleration:2500,maxSpeed:1400},$s),Ef=i.extend({deceleration:20,maxSpeed:1400},$s),ru=i.extend({deceleration:1e3,maxSpeed:360},$s),Lf=i.extend({deceleration:1e3,maxSpeed:90},$s),iu=function($){this._map=$,this.clear()};function hl($,ee){(!$.duration||$.duration0&&ee-$[0].time>160;)$.shift()},iu.prototype._onMoveEnd=function($){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var ee={zoom:0,bearing:0,pitch:0,pan:new i.Point(0,0),pinchAround:void 0,around:void 0},K=0,le=this._inertiaBuffer;K=this._clickTolerance||this._map.fire(new va($.type,this._map,$))},$a.prototype.dblclick=function($){return this._firePreventable(new va($.type,this._map,$))},$a.prototype.mouseover=function($){this._map.fire(new va($.type,this._map,$))},$a.prototype.mouseout=function($){this._map.fire(new va($.type,this._map,$))},$a.prototype.touchstart=function($){return this._firePreventable(new Ys($.type,this._map,$))},$a.prototype.touchmove=function($){this._map.fire(new Ys($.type,this._map,$))},$a.prototype.touchend=function($){this._map.fire(new Ys($.type,this._map,$))},$a.prototype.touchcancel=function($){this._map.fire(new Ys($.type,this._map,$))},$a.prototype._firePreventable=function($){if(this._map.fire($),$.defaultPrevented)return{}},$a.prototype.isEnabled=function(){return!0},$a.prototype.isActive=function(){return!1},$a.prototype.enable=function(){},$a.prototype.disable=function(){};var go=function($){this._map=$};go.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},go.prototype.mousemove=function($){this._map.fire(new va($.type,this._map,$))},go.prototype.mousedown=function(){this._delayContextMenu=!0},go.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new va("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},go.prototype.contextmenu=function($){this._delayContextMenu?this._contextMenuEvent=$:this._map.fire(new va($.type,this._map,$)),this._map.listens("contextmenu")&&$.preventDefault()},go.prototype.isEnabled=function(){return!0},go.prototype.isActive=function(){return!1},go.prototype.enable=function(){},go.prototype.disable=function(){};var vo=function($,ee){this._map=$,this._el=$.getCanvasContainer(),this._container=$.getContainer(),this._clickTolerance=ee.clickTolerance||1};function fo($,ee){for(var K={},le=0;le<$.length;le++)K[$[le].identifier]=ee[le];return K}vo.prototype.isEnabled=function(){return!!this._enabled},vo.prototype.isActive=function(){return!!this._active},vo.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},vo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},vo.prototype.mousedown=function($,ee){this.isEnabled()&&$.shiftKey&&$.button===0&&(g.disableDrag(),this._startPos=this._lastPos=ee,this._active=!0)},vo.prototype.mousemoveWindow=function($,ee){if(this._active){var K=ee;if(!(this._lastPos.equals(K)||!this._box&&K.dist(this._startPos)this.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=$.timeStamp),K.length===this.numTouches&&(this.centroid=function(le){for(var Te=new i.Point(0,0),Re=0,He=le;Re30)&&(this.aborted=!0)}}},Vo.prototype.touchend=function($,ee,K){if((!this.centroid||$.timeStamp-this.startTime>500)&&(this.aborted=!0),K.length===0){var le=!this.aborted&&this.centroid;if(this.reset(),le)return le}};var Rl=function($){this.singleTap=new Vo($),this.numTaps=$.numTaps,this.reset()};Rl.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Rl.prototype.touchstart=function($,ee,K){this.singleTap.touchstart($,ee,K)},Rl.prototype.touchmove=function($,ee,K){this.singleTap.touchmove($,ee,K)},Rl.prototype.touchend=function($,ee,K){var le=this.singleTap.touchend($,ee,K);if(le){var Te=$.timeStamp-this.lastTime<500,Re=!this.lastTap||this.lastTap.dist(le)<30;if(Te&&Re||this.reset(),this.count++,this.lastTime=$.timeStamp,this.lastTap=le,this.count===this.numTaps)return this.reset(),le}};var bs=function(){this._zoomIn=new Rl({numTouches:1,numTaps:2}),this._zoomOut=new Rl({numTouches:2,numTaps:1}),this.reset()};bs.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},bs.prototype.touchstart=function($,ee,K){this._zoomIn.touchstart($,ee,K),this._zoomOut.touchstart($,ee,K)},bs.prototype.touchmove=function($,ee,K){this._zoomIn.touchmove($,ee,K),this._zoomOut.touchmove($,ee,K)},bs.prototype.touchend=function($,ee,K){var le=this,Te=this._zoomIn.touchend($,ee,K),Re=this._zoomOut.touchend($,ee,K);return Te?(this._active=!0,$.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()+1,around:He.unproject(Te)},{originalEvent:$})}}):Re?(this._active=!0,$.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()-1,around:He.unproject(Re)},{originalEvent:$})}}):void 0},bs.prototype.touchcancel=function(){this.reset()},bs.prototype.enable=function(){this._enabled=!0},bs.prototype.disable=function(){this._enabled=!1,this.reset()},bs.prototype.isEnabled=function(){return this._enabled},bs.prototype.isActive=function(){return this._active};var Xa=function($){this.reset(),this._clickTolerance=$.clickTolerance||1};Xa.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},Xa.prototype._correctButton=function($,ee){return!1},Xa.prototype._move=function($,ee){return{}},Xa.prototype.mousedown=function($,ee){if(!this._lastPoint){var K=g.mouseButton($);this._correctButton($,K)&&(this._lastPoint=ee,this._eventButton=K)}},Xa.prototype.mousemoveWindow=function($,ee){var K=this._lastPoint;if(K&&($.preventDefault(),this._moved||!(ee.dist(K)0&&(this._active=!0);var le=fo(K,ee),Te=new i.Point(0,0),Re=new i.Point(0,0),He=0;for(var Ze in le){var at=le[Ze],Tt=this._touches[Ze];Tt&&(Te._add(at),Re._add(at.sub(Tt)),He++,le[Ze]=at)}if(this._touches=le,!(HeMath.abs($.x)}var Ur=function($){function ee(){$.apply(this,arguments)}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.reset=function(){$.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},ee.prototype._start=function(K){this._lastPoints=K,Fu(K[0].sub(K[1]))&&(this._valid=!1)},ee.prototype._move=function(K,le,Te){var Re=K[0].sub(this._lastPoints[0]),He=K[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(Re,He,Te.timeStamp),this._valid)return this._lastPoints=K,this._active=!0,{pitchDelta:(Re.y+He.y)/2*-.5}},ee.prototype.gestureBeginsVertically=function(K,le,Te){if(this._valid!==void 0)return this._valid;var Re=K.mag()>=2,He=le.mag()>=2;if(Re||He){if(!Re||!He)return this._firstMove===void 0&&(this._firstMove=Te),Te-this._firstMove<100&&void 0;var Ze=K.y>0==le.y>0;return Fu(K)&&Fu(le)&&Ze}},ee}(Br),Bu={panStep:100,bearingStep:15,pitchStep:10},xs=function(){var $=Bu;this._panStep=$.panStep,this._bearingStep=$.bearingStep,this._pitchStep=$.pitchStep};function Yc($){return $*(2-$)}xs.prototype.reset=function(){this._active=!1},xs.prototype.keydown=function($){var ee=this;if(!($.altKey||$.ctrlKey||$.metaKey)){var K=0,le=0,Te=0,Re=0,He=0;switch($.keyCode){case 61:case 107:case 171:case 187:K=1;break;case 189:case 109:case 173:K=-1;break;case 37:$.shiftKey?le=-1:($.preventDefault(),Re=-1);break;case 39:$.shiftKey?le=1:($.preventDefault(),Re=1);break;case 38:$.shiftKey?Te=1:($.preventDefault(),He=-1);break;case 40:$.shiftKey?Te=-1:($.preventDefault(),He=1);break;default:return}return{cameraAnimation:function(Ze){var at=Ze.getZoom();Ze.easeTo({duration:300,easeId:"keyboardHandler",easing:Yc,zoom:K?Math.round(at)+K*($.shiftKey?2:1):at,bearing:Ze.getBearing()+le*ee._bearingStep,pitch:Ze.getPitch()+Te*ee._pitchStep,offset:[-Re*ee._panStep,-He*ee._panStep],center:Ze.getCenter()},{originalEvent:$})}}}},xs.prototype.enable=function(){this._enabled=!0},xs.prototype.disable=function(){this._enabled=!1,this.reset()},xs.prototype.isEnabled=function(){return this._enabled},xs.prototype.isActive=function(){return this._active};var mc=4.000244140625,yo=function($,ee){this._map=$,this._el=$.getCanvasContainer(),this._handler=ee,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,i.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};yo.prototype.setZoomRate=function($){this._defaultZoomRate=$},yo.prototype.setWheelZoomRate=function($){this._wheelZoomRate=$},yo.prototype.isEnabled=function(){return!!this._enabled},yo.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},yo.prototype.isZooming=function(){return!!this._zooming},yo.prototype.enable=function($){this.isEnabled()||(this._enabled=!0,this._aroundCenter=$&&$.around==="center")},yo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},yo.prototype.wheel=function($){if(this.isEnabled()){var ee=$.deltaMode===i.window.WheelEvent.DOM_DELTA_LINE?40*$.deltaY:$.deltaY,K=i.browser.now(),le=K-(this._lastWheelEventTime||0);this._lastWheelEventTime=K,ee!==0&&ee%mc==0?this._type="wheel":ee!==0&&Math.abs(ee)<4?this._type="trackpad":le>400?(this._type=null,this._lastValue=ee,this._timeout=setTimeout(this._onTimeout,40,$)):this._type||(this._type=Math.abs(le*ee)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ee+=this._lastValue)),$.shiftKey&&ee&&(ee/=4),this._type&&(this._lastWheelEvent=$,this._delta-=ee,this._active||this._start($)),$.preventDefault()}},yo.prototype._onTimeout=function($){this._type="wheel",this._delta-=this._lastValue,this._active||this._start($)},yo.prototype._start=function($){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 ee=g.mousePos(this._el,$);this._around=i.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(ee)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},yo.prototype.renderFrame=function(){return this._onScrollFrame()},yo.prototype._onScrollFrame=function(){var $=this;if(this._frameId&&(this._frameId=null,this.isActive())){var ee=this._map.transform;if(this._delta!==0){var K=this._type==="wheel"&&Math.abs(this._delta)>mc?this._wheelZoomRate:this._defaultZoomRate,le=2/(1+Math.exp(-Math.abs(this._delta*K)));this._delta<0&&le!==0&&(le=1/le);var Te=typeof this._targetZoom=="number"?ee.zoomScale(this._targetZoom):ee.scale;this._targetZoom=Math.min(ee.maxZoom,Math.max(ee.minZoom,ee.scaleZoom(Te*le))),this._type==="wheel"&&(this._startZoom=ee.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var Re,He=typeof this._targetZoom=="number"?this._targetZoom:ee.zoom,Ze=this._startZoom,at=this._easing,Tt=!1;if(this._type==="wheel"&&Ze&&at){var At=Math.min((i.browser.now()-this._lastWheelEventTime)/200,1),se=at(At);Re=i.number(Ze,He,se),At<1?this._frameId||(this._frameId=!0):Tt=!0}else Re=He,Tt=!0;return this._active=!0,Tt&&(this._active=!1,this._finishTimeout=setTimeout(function(){$._zooming=!1,$._handler._triggerRenderFrame(),delete $._targetZoom,delete $._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Tt,zoomDelta:Re-ee.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},yo.prototype._smoothOutEasing=function($){var ee=i.ease;if(this._prevEase){var K=this._prevEase,le=(i.browser.now()-K.start)/K.duration,Te=K.easing(le+.01)-K.easing(le),Re=.27/Math.sqrt(Te*Te+1e-4)*.01,He=Math.sqrt(.0729-Re*Re);ee=i.bezier(Re,He,.25,1)}return this._prevEase={start:i.browser.now(),duration:$,easing:ee},ee},yo.prototype.reset=function(){this._active=!1};var lu=function($,ee){this._clickZoom=$,this._tapZoom=ee};lu.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},lu.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},lu.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},lu.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var dl=function(){this.reset()};dl.prototype.reset=function(){this._active=!1},dl.prototype.dblclick=function($,ee){return $.preventDefault(),{cameraAnimation:function(K){K.easeTo({duration:300,zoom:K.getZoom()+($.shiftKey?-1:1),around:K.unproject(ee)},{originalEvent:$})}}},dl.prototype.enable=function(){this._enabled=!0},dl.prototype.disable=function(){this._enabled=!1,this.reset()},dl.prototype.isEnabled=function(){return this._enabled},dl.prototype.isActive=function(){return this._active};var Qo=function(){this._tap=new Rl({numTouches:1,numTaps:1}),this.reset()};Qo.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},Qo.prototype.touchstart=function($,ee,K){this._swipePoint||(this._tapTime&&$.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?K.length>0&&(this._swipePoint=ee[0],this._swipeTouch=K[0].identifier):this._tap.touchstart($,ee,K))},Qo.prototype.touchmove=function($,ee,K){if(this._tapTime){if(this._swipePoint){if(K[0].identifier!==this._swipeTouch)return;var le=ee[0],Te=le.y-this._swipePoint.y;return this._swipePoint=le,$.preventDefault(),this._active=!0,{zoomDelta:Te/128}}}else this._tap.touchmove($,ee,K)},Qo.prototype.touchend=function($,ee,K){this._tapTime?this._swipePoint&&K.length===0&&this.reset():this._tap.touchend($,ee,K)&&(this._tapTime=$.timeStamp)},Qo.prototype.touchcancel=function(){this.reset()},Qo.prototype.enable=function(){this._enabled=!0},Qo.prototype.disable=function(){this._enabled=!1,this.reset()},Qo.prototype.isEnabled=function(){return this._enabled},Qo.prototype.isActive=function(){return this._active};var zl=function($,ee,K){this._el=$,this._mousePan=ee,this._touchPan=K};zl.prototype.enable=function($){this._inertiaOptions=$||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},zl.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},zl.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},zl.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Os=function($,ee,K){this._pitchWithRotate=$.pitchWithRotate,this._mouseRotate=ee,this._mousePitch=K};Os.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Os.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Os.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Os.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var _s=function($,ee,K,le){this._el=$,this._touchZoom=ee,this._touchRotate=K,this._tapDragZoom=le,this._rotationDisabled=!1,this._enabled=!0};_s.prototype.enable=function($){this._touchZoom.enable($),this._rotationDisabled||this._touchRotate.enable($),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},_s.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},_s.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},_s.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},_s.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},_s.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var uu=function($){return $.zoom||$.drag||$.pitch||$.rotate},bo=function($){function ee(){$.apply(this,arguments)}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee}(i.Event);function ws($){return $.panDelta&&$.panDelta.mag()||$.zoomDelta||$.bearingDelta||$.pitchDelta}var Ki=function($,ee){this._map=$,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new iu($),this._bearingSnap=ee.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ee),i.bindAll(["handleEvent","handleWindowEvent"],this);var K=this._el;this._listeners=[[K,"touchstart",{passive:!1}],[K,"touchmove",{passive:!1}],[K,"touchend",void 0],[K,"touchcancel",void 0],[K,"mousedown",void 0],[K,"mousemove",void 0],[K,"mouseup",void 0],[i.window.document,"mousemove",{capture:!0}],[i.window.document,"mouseup",void 0],[K,"mouseover",void 0],[K,"mouseout",void 0],[K,"dblclick",void 0],[K,"click",void 0],[K,"keydown",{capture:!1}],[K,"keyup",void 0],[K,"wheel",{passive:!1}],[K,"contextmenu",void 0],[i.window,"blur",void 0]];for(var le=0,Te=this._listeners;leHe?Math.min(2,Ut):Math.max(.5,Ut),ln=Math.pow(tn,1-en),an=Re.unproject(gt.add(zt.mult(en*ln)).mult(vn));Re.setLocationAtPoint(Re.renderWorldCopies?an.wrap():an,Ue)}Te._fireMoveEvents(le)},function(en){Te._afterEase(le,en)},K),this},ee.prototype._prepareEase=function(K,le,Te){Te===void 0&&(Te={}),this._moving=!0,le||Te.moving||this.fire(new i.Event("movestart",K)),this._zooming&&!Te.zooming&&this.fire(new i.Event("zoomstart",K)),this._rotating&&!Te.rotating&&this.fire(new i.Event("rotatestart",K)),this._pitching&&!Te.pitching&&this.fire(new i.Event("pitchstart",K))},ee.prototype._fireMoveEvents=function(K){this.fire(new i.Event("move",K)),this._zooming&&this.fire(new i.Event("zoom",K)),this._rotating&&this.fire(new i.Event("rotate",K)),this._pitching&&this.fire(new i.Event("pitch",K))},ee.prototype._afterEase=function(K,le){if(!this._easeId||!le||this._easeId!==le){delete this._easeId;var Te=this._zooming,Re=this._rotating,He=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Te&&this.fire(new i.Event("zoomend",K)),Re&&this.fire(new i.Event("rotateend",K)),He&&this.fire(new i.Event("pitchend",K)),this.fire(new i.Event("moveend",K))}},ee.prototype.flyTo=function(K,le){var Te=this;if(!K.essential&&i.browser.prefersReducedMotion){var Re=i.pick(K,["center","zoom","bearing","pitch","around"]);return this.jumpTo(Re,le)}this.stop(),K=i.extend({offset:[0,0],speed:1.2,curve:1.42,easing:i.ease},K);var He=this.transform,Ze=this.getZoom(),at=this.getBearing(),Tt=this.getPitch(),At=this.getPadding(),se="zoom"in K?i.clamp(+K.zoom,He.minZoom,He.maxZoom):Ze,ve="bearing"in K?this._normalizeBearing(K.bearing,at):at,Ie="pitch"in K?+K.pitch:Tt,Fe="padding"in K?K.padding:He.padding,Ue=He.zoomScale(se-Ze),qe=i.Point.convert(K.offset),Xe=He.centerPoint.add(qe),tt=He.pointLocation(Xe),lt=i.LngLat.convert(K.center||tt);this._normalizeCenter(lt);var gt=He.project(tt),zt=He.project(lt).sub(gt),Ut=K.curve,Ht=Math.max(He.width,He.height),en=Ht/Ue,vn=zt.mag();if("minZoom"in K){var tn=i.clamp(Math.min(K.minZoom,Ze,se),He.minZoom,He.maxZoom),ln=Ht/He.zoomScale(tn-Ze);Ut=Math.sqrt(ln/vn*2)}var an=Ut*Ut;function Cn(_r){var Sr=(en*en-Ht*Ht+(_r?-1:1)*an*an*vn*vn)/(2*(_r?en:Ht)*an*vn);return Math.log(Math.sqrt(Sr*Sr+1)-Sr)}function _n(_r){return(Math.exp(_r)-Math.exp(-_r))/2}function on(_r){return(Math.exp(_r)+Math.exp(-_r))/2}var Fn=Cn(0),Hn=function(_r){return on(Fn)/on(Fn+Ut*_r)},ir=function(_r){return Ht*((on(Fn)*(_n(Sr=Fn+Ut*_r)/on(Sr))-_n(Fn))/an)/vn;var Sr},ar=(Cn(1)-Fn)/Ut;if(Math.abs(vn)<1e-6||!isFinite(ar)){if(Math.abs(Ht-en)<1e-6)return this.easeTo(K,le);var Cr=enK.maxDuration&&(K.duration=0),this._zooming=!0,this._rotating=at!==ve,this._pitching=Ie!==Tt,this._padding=!He.isPaddingEqual(Fe),this._prepareEase(le,!1),this._ease(function(_r){var Sr=_r*ar,Wr=1/Hn(Sr);He.zoom=_r===1?se:Ze+He.scaleZoom(Wr),Te._rotating&&(He.bearing=i.number(at,ve,_r)),Te._pitching&&(He.pitch=i.number(Tt,Ie,_r)),Te._padding&&(He.interpolatePadding(At,Fe,_r),Xe=He.centerPoint.add(qe));var mi=_r===1?lt:He.unproject(gt.add(zt.mult(ir(Sr))).mult(Wr));He.setLocationAtPoint(He.renderWorldCopies?mi.wrap():mi,Xe),Te._fireMoveEvents(le)},function(){return Te._afterEase(le)},K),this},ee.prototype.isEasing=function(){return!!this._easeFrameId},ee.prototype.stop=function(){return this._stop()},ee.prototype._stop=function(K,le){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Te=this._onEaseEnd;delete this._onEaseEnd,Te.call(this,le)}if(!K){var Re=this.handlers;Re&&Re.stop()}return this},ee.prototype._ease=function(K,le,Te){Te.animate===!1||Te.duration===0?(K(1),le()):(this._easeStart=i.browser.now(),this._easeOptions=Te,this._onEaseFrame=K,this._onEaseEnd=le,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},ee.prototype._renderFrameCallback=function(){var K=Math.min((i.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(K)),K<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},ee.prototype._normalizeBearing=function(K,le){K=i.wrap(K,-180,180);var Te=Math.abs(K-le);return Math.abs(K-360-le)180?-360:Te<-180?360:0}},ee}(i.Evented),cs=function($){$===void 0&&($={}),this.options=$,i.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};cs.prototype.getDefaultPosition=function(){return"bottom-right"},cs.prototype.onAdd=function($){var ee=this.options&&this.options.compact;return this._map=$,this._container=g.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=g.create("div","mapboxgl-ctrl-attrib-inner",this._container),ee&&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),ee===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},cs.prototype.onRemove=function(){g.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},cs.prototype._updateEditLink=function(){var $=this._editLink;$||($=this._editLink=this._container.querySelector(".mapbox-improve-map"));var ee=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||i.config.ACCESS_TOKEN}];if($){var K=ee.reduce(function(le,Te,Re){return Te.value&&(le+=Te.key+"="+Te.value+(Re=0)return!1;return!0})).join(" | ");He!==this._attribHTML&&(this._attribHTML=He,$.length?(this._innerContainer.innerHTML=He,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},cs.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var Ts=function(){i.bindAll(["_updateLogo"],this),i.bindAll(["_updateCompact"],this)};Ts.prototype.onAdd=function($){this._map=$,this._container=g.create("div","mapboxgl-ctrl");var ee=g.create("a","mapboxgl-ctrl-logo");return ee.target="_blank",ee.rel="noopener nofollow",ee.href="https://www.mapbox.com/",ee.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),ee.setAttribute("rel","noopener nofollow"),this._container.appendChild(ee),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},Ts.prototype.onRemove=function(){g.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},Ts.prototype.getDefaultPosition=function(){return"bottom-left"},Ts.prototype._updateLogo=function($){$&&$.sourceDataType!=="metadata"||(this._container.style.display=this._logoRequired()?"block":"none")},Ts.prototype._logoRequired=function(){if(this._map.style){var $=this._map.style.sourceCaches;for(var ee in $)if($[ee].getSource().mapbox_logo)return!0;return!1}},Ts.prototype._updateCompact=function(){var $=this._container.children;if($.length){var ee=$[0];this._map.getCanvasContainer().offsetWidth<250?ee.classList.add("mapboxgl-compact"):ee.classList.remove("mapboxgl-compact")}};var Zs=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Zs.prototype.add=function($){var ee=++this._id;return this._queue.push({callback:$,id:ee,cancelled:!1}),ee},Zs.prototype.remove=function($){for(var ee=this._currentlyRunning,K=0,le=ee?this._queue.concat(ee):this._queue;Kle.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(le.minPitch!=null&&le.maxPitch!=null&&le.minPitch>le.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(le.minPitch!=null&&le.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(le.maxPitch!=null&&le.maxPitch>Ho)throw new Error("maxPitch must be less than or equal to 60");var Re=new Fi(le.minZoom,le.maxZoom,le.minPitch,le.maxPitch,le.renderWorldCopies);if($.call(this,Re,le),this._interactive=le.interactive,this._maxTileCacheSize=le.maxTileCacheSize,this._failIfMajorPerformanceCaveat=le.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=le.preserveDrawingBuffer,this._antialias=le.antialias,this._trackResize=le.trackResize,this._bearingSnap=le.bearingSnap,this._refreshExpiredTiles=le.refreshExpiredTiles,this._fadeDuration=le.fadeDuration,this._crossSourceCollisions=le.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=le.collectResourceTiming,this._renderTaskQueue=new Zs,this._controls=[],this._mapId=i.uniqueId(),this._locale=i.extend({},Uo,le.locale),this._requestManager=new i.RequestManager(le.transformRequest,le.accessToken),typeof le.container=="string"){if(this._container=i.window.document.getElementById(le.container),!this._container)throw new Error("Container '"+le.container+"' not found.")}else{if(!(le.container instanceof io))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=le.container}if(le.maxBounds&&this.setMaxBounds(le.maxBounds),i.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return Te._update(!1)}),this.on("moveend",function(){return Te._update(!1)}),this.on("zoom",function(){return Te._update(!0)}),i.window!==void 0&&(i.window.addEventListener("online",this._onWindowOnline,!1),i.window.addEventListener("resize",this._onWindowResize,!1)),this.handlers=new Ki(this,le);var He=typeof le.hash=="string"&&le.hash||void 0;this._hash=le.hash&&new fl(He).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:le.center,zoom:le.zoom,bearing:le.bearing,pitch:le.pitch}),le.bounds&&(this.resize(),this.fitBounds(le.bounds,i.extend({},le.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=le.localIdeographFontFamily,le.style&&this.setStyle(le.style,{localIdeographFontFamily:le.localIdeographFontFamily}),le.attributionControl&&this.addControl(new cs({customAttribution:le.customAttribution})),this.addControl(new Ts,le.logoPosition),this.on("style.load",function(){Te.transform.unmodified&&Te.jumpTo(Te.style.stylesheet)}),this.on("data",function(Ze){Te._update(Ze.dataType==="style"),Te.fire(new i.Event(Ze.dataType+"data",Ze))}),this.on("dataloading",function(Ze){Te.fire(new i.Event(Ze.dataType+"dataloading",Ze))})}$&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee;var K={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return ee.prototype._getMapId=function(){return this._mapId},ee.prototype.addControl=function(le,Te){if(Te===void 0&&le.getDefaultPosition&&(Te=le.getDefaultPosition()),Te===void 0&&(Te="top-right"),!le||!le.onAdd)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var Re=le.onAdd(this);this._controls.push(le);var He=this._controlPositions[Te];return Te.indexOf("bottom")!==-1?He.insertBefore(Re,He.firstChild):He.appendChild(Re),this},ee.prototype.removeControl=function(le){if(!le||!le.onRemove)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Te=this._controls.indexOf(le);return Te>-1&&this._controls.splice(Te,1),le.onRemove(this),this},ee.prototype.resize=function(le){var Te=this._containerDimensions(),Re=Te[0],He=Te[1];this._resizeCanvas(Re,He),this.transform.resize(Re,He),this.painter.resize(Re,He);var Ze=!this._moving;return Ze&&(this.stop(),this.fire(new i.Event("movestart",le)).fire(new i.Event("move",le))),this.fire(new i.Event("resize",le)),Ze&&this.fire(new i.Event("moveend",le)),this},ee.prototype.getBounds=function(){return this.transform.getBounds()},ee.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},ee.prototype.setMaxBounds=function(le){return this.transform.setMaxBounds(i.LngLatBounds.convert(le)),this._update()},ee.prototype.setMinZoom=function(le){if((le=le??-2)>=-2&&le<=this.transform.maxZoom)return this.transform.minZoom=le,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=le,this._update(),this.getZoom()>le&&this.setZoom(le),this;throw new Error("maxZoom must be greater than the current minZoom")},ee.prototype.getMaxZoom=function(){return this.transform.maxZoom},ee.prototype.setMinPitch=function(le){if((le=le??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(le>=0&&le<=this.transform.maxPitch)return this.transform.minPitch=le,this._update(),this.getPitch()Ho)throw new Error("maxPitch must be less than or equal to 60");if(le>=this.transform.minPitch)return this.transform.maxPitch=le,this._update(),this.getPitch()>le&&this.setPitch(le),this;throw new Error("maxPitch must be greater than the current minPitch")},ee.prototype.getMaxPitch=function(){return this.transform.maxPitch},ee.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},ee.prototype.setRenderWorldCopies=function(le){return this.transform.renderWorldCopies=le,this._update()},ee.prototype.project=function(le){return this.transform.locationPoint(i.LngLat.convert(le))},ee.prototype.unproject=function(le){return this.transform.pointLocation(i.Point.convert(le))},ee.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},ee.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},ee.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},ee.prototype._createDelegatedListener=function(le,Te,Re){var He,Ze=this;if(le==="mouseenter"||le==="mouseover"){var at=!1;return{layer:Te,listener:Re,delegates:{mousemove:function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length?at||(at=!0,Re.call(Ze,new va(le,Ze,At.originalEvent,{features:se}))):at=!1},mouseout:function(){at=!1}}}}if(le==="mouseleave"||le==="mouseout"){var Tt=!1;return{layer:Te,listener:Re,delegates:{mousemove:function(At){(Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[]).length?Tt=!0:Tt&&(Tt=!1,Re.call(Ze,new va(le,Ze,At.originalEvent)))},mouseout:function(At){Tt&&(Tt=!1,Re.call(Ze,new va(le,Ze,At.originalEvent)))}}}}return{layer:Te,listener:Re,delegates:(He={},He[le]=function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length&&(At.features=se,Re.call(Ze,At),delete At.features)},He)}},ee.prototype.on=function(le,Te,Re){if(Re===void 0)return $.prototype.on.call(this,le,Te);var He=this._createDelegatedListener(le,Te,Re);for(var Ze in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[le]=this._delegatedListeners[le]||[],this._delegatedListeners[le].push(He),He.delegates)this.on(Ze,He.delegates[Ze]);return this},ee.prototype.once=function(le,Te,Re){if(Re===void 0)return $.prototype.once.call(this,le,Te);var He=this._createDelegatedListener(le,Te,Re);for(var Ze in He.delegates)this.once(Ze,He.delegates[Ze]);return this},ee.prototype.off=function(le,Te,Re){var He=this;return Re===void 0?$.prototype.off.call(this,le,Te):(this._delegatedListeners&&this._delegatedListeners[le]&&function(Ze){for(var at=Ze[le],Tt=0;Tt180;){var He=K.locationPoint($);if(He.x>=0&&He.y>=0&&He.x<=K.width&&He.y<=K.height)break;$.lng>K.center.lng?$.lng-=360:$.lng+=360}return $}$r.prototype.down=function($,ee){this.mouseRotate.mousedown($,ee),this.mousePitch&&this.mousePitch.mousedown($,ee),g.disableDrag()},$r.prototype.move=function($,ee){var K=this.map,le=this.mouseRotate.mousemoveWindow($,ee);if(le&&le.bearingDelta&&K.setBearing(K.getBearing()+le.bearingDelta),this.mousePitch){var Te=this.mousePitch.mousemoveWindow($,ee);Te&&Te.pitchDelta&&K.setPitch(K.getPitch()+Te.pitchDelta)}},$r.prototype.off=function(){var $=this.element;g.removeEventListener($,"mousedown",this.mousedown),g.removeEventListener($,"touchstart",this.touchstart,{passive:!1}),g.removeEventListener($,"touchmove",this.touchmove),g.removeEventListener($,"touchend",this.touchend),g.removeEventListener($,"touchcancel",this.reset),this.offTemp()},$r.prototype.offTemp=function(){g.enableDrag(),g.removeEventListener(i.window,"mousemove",this.mousemove),g.removeEventListener(i.window,"mouseup",this.mouseup)},$r.prototype.mousedown=function($){this.down(i.extend({},$,{ctrlKey:!0,preventDefault:function(){return $.preventDefault()}}),g.mousePos(this.element,$)),g.addEventListener(i.window,"mousemove",this.mousemove),g.addEventListener(i.window,"mouseup",this.mouseup)},$r.prototype.mousemove=function($){this.move($,g.mousePos(this.element,$))},$r.prototype.mouseup=function($){this.mouseRotate.mouseupWindow($),this.mousePitch&&this.mousePitch.mouseupWindow($),this.offTemp()},$r.prototype.touchstart=function($){$.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=g.touchPos(this.element,$.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return $.preventDefault()}},this._startPos))},$r.prototype.touchmove=function($){$.targetTouches.length!==1?this.reset():(this._lastPos=g.touchPos(this.element,$.targetTouches)[0],this.move({preventDefault:function(){return $.preventDefault()}},this._lastPos))},$r.prototype.touchend=function($){$.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)le.getEast()||Te.latitudele.getNorth())},ee.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")}},ee.prototype._onSuccess=function(K){if(this._map){if(this._isOutOfMapMaxBounds(K))return this._setErrorState(),this.fire(new i.Event("outofmaxbounds",K)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=K,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&&this._watchState!=="OFF"&&this._updateMarker(K),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(K),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("geolocate",K)),this._finish()}},ee.prototype._updateCamera=function(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude),Te=K.coords.accuracy,Re=this._map.getBearing(),He=i.extend({bearing:Re},this.options.fitBoundsOptions);this._map.fitBounds(le.toBounds(Te),He,{geolocateSource:!0})},ee.prototype._updateMarker=function(K){if(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude);this._accuracyCircleMarker.setLngLat(le).addTo(this._map),this._userLocationDotMarker.setLngLat(le).addTo(this._map),this._accuracy=K.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},ee.prototype._updateCircleRadius=function(){var K=this._map._container.clientHeight/2,le=this._map.unproject([0,K]),Te=this._map.unproject([1,K]),Re=le.distanceTo(Te),He=Math.ceil(2*this._accuracy/Re);this._circleElement.style.width=He+"px",this._circleElement.style.height=He+"px"},ee.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},ee.prototype._onError=function(K){if(this._map){if(this.options.trackUserLocation)if(K.code===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._geolocateButton.disabled=!0;var le=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=le,this._geolocateButton.setAttribute("aria-label",le),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(K.code===3&&Vu)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("error",K)),this._finish()}},ee.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},ee.prototype._setupUI=function(K){var le=this;if(this._container.addEventListener("contextmenu",function(He){return He.preventDefault()}),this._geolocateButton=g.create("button","mapboxgl-ctrl-geolocate",this._container),g.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",K===!1){i.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Te=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Te,this._geolocateButton.setAttribute("aria-label",Te)}else{var Re=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=Re,this._geolocateButton.setAttribute("aria-label",Re)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=g.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new _o(this._dotElement),this._circleElement=g.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new _o({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(He){var Ze=He.originalEvent&&He.originalEvent.type==="resize";He.geolocateSource||le._watchState!=="ACTIVE_LOCK"||Ze||(le._watchState="BACKGROUND",le._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),le._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),le.fire(new i.Event("trackuserlocationend")))})},ee.prototype.trigger=function(){if(!this._setup)return i.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 i.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Go--,Vu=!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 i.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 i.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(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){var K;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Go>1?(K={maximumAge:6e5,timeout:0},Vu=!0):(K=this.options.positionOptions,Vu=!1),this._geolocationWatchID=i.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,K)}}else i.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},ee.prototype._clearWatch=function(){i.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)},ee}(i.Evented),ta={maxWidth:100,unit:"metric"},ua=function($){this.options=i.extend({},ta,$),i.bindAll(["_onMove","setUnit"],this)};function Xc($,ee,K){var le=K&&K.maxWidth||100,Te=$._container.clientHeight/2,Re=$.unproject([0,Te]),He=$.unproject([le,Te]),Ze=Re.distanceTo(He);if(K&&K.unit==="imperial"){var at=3.2808*Ze;at>5280?et(ee,le,at/5280,$._getUIString("ScaleControl.Miles")):et(ee,le,at,$._getUIString("ScaleControl.Feet"))}else K&&K.unit==="nautical"?et(ee,le,Ze/1852,$._getUIString("ScaleControl.NauticalMiles")):Ze>=1e3?et(ee,le,Ze/1e3,$._getUIString("ScaleControl.Kilometers")):et(ee,le,Ze,$._getUIString("ScaleControl.Meters"))}function et($,ee,K,le){var Te,Re,He,Ze=(Te=K,(Re=Math.pow(10,(""+Math.floor(Te)).length-1))*((He=Te/Re)>=10?10:He>=5?5:He>=3?3:He>=2?2:He>=1?1:function(Tt){var At=Math.pow(10,Math.ceil(-Math.log(Tt)/Math.LN10));return Math.round(Tt*At)/At}(He))),at=Ze/K;$.style.width=ee*at+"px",$.innerHTML=Ze+" "+le}ua.prototype.getDefaultPosition=function(){return"bottom-left"},ua.prototype._onMove=function(){Xc(this._map,this._container,this.options)},ua.prototype.onAdd=function($){return this._map=$,this._container=g.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",$.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},ua.prototype.onRemove=function(){g.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},ua.prototype.setUnit=function($){this.options.unit=$,Xc(this._map,this._container,this.options)};var rt=function($){this._fullscreen=!1,$&&$.container&&($.container instanceof i.window.HTMLElement?this._container=$.container:i.warnOnce("Full screen control 'container' must be a DOM element.")),i.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in i.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in i.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in i.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in i.window.document&&(this._fullscreenchange="MSFullscreenChange")};rt.prototype.onAdd=function($){return this._map=$,this._container||(this._container=this._map.getContainer()),this._controlContainer=g.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",i.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},rt.prototype.onRemove=function(){g.remove(this._controlContainer),this._map=null,i.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._checkFullscreenSupport=function(){return!!(i.window.document.fullscreenEnabled||i.window.document.mozFullScreenEnabled||i.window.document.msFullscreenEnabled||i.window.document.webkitFullscreenEnabled)},rt.prototype._setupUI=function(){var $=this._fullscreenButton=g.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);g.create("span","mapboxgl-ctrl-icon",$).setAttribute("aria-hidden",!0),$.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),i.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._updateTitle=function(){var $=this._getTitle();this._fullscreenButton.setAttribute("aria-label",$),this._fullscreenButton.title=$},rt.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},rt.prototype._isFullscreen=function(){return this._fullscreen},rt.prototype._changeIcon=function(){(i.window.document.fullscreenElement||i.window.document.mozFullScreenElement||i.window.document.webkitFullscreenElement||i.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())},rt.prototype._onClickFullscreen=function(){this._isFullscreen()?i.window.document.exitFullscreen?i.window.document.exitFullscreen():i.window.document.mozCancelFullScreen?i.window.document.mozCancelFullScreen():i.window.document.msExitFullscreen?i.window.document.msExitFullscreen():i.window.document.webkitCancelFullScreen&&i.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 ct={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},vt=function($){function ee(K){$.call(this),this.options=i.extend(Object.create(ct),K),i.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.addTo=function(K){return this._map&&this.remove(),this._map=K,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._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 i.Event("open")),this},ee.prototype.isOpen=function(){return!!this._map},ee.prototype.remove=function(){return this._content&&g.remove(this._content),this._container&&(g.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 i.Event("close")),this},ee.prototype.getLngLat=function(){return this._lngLat},ee.prototype.setLngLat=function(K){return this._lngLat=i.LngLat.convert(K),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},ee.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},ee.prototype.getElement=function(){return this._container},ee.prototype.setText=function(K){return this.setDOMContent(i.window.document.createTextNode(K))},ee.prototype.setHTML=function(K){var le,Te=i.window.document.createDocumentFragment(),Re=i.window.document.createElement("body");for(Re.innerHTML=K;le=Re.firstChild;)Te.appendChild(le);return this.setDOMContent(Te)},ee.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},ee.prototype.setMaxWidth=function(K){return this.options.maxWidth=K,this._update(),this},ee.prototype.setDOMContent=function(K){return this._createContent(),this._content.appendChild(K),this._update(),this},ee.prototype.addClassName=function(K){this._container&&this._container.classList.add(K)},ee.prototype.removeClassName=function(K){this._container&&this._container.classList.remove(K)},ee.prototype.toggleClassName=function(K){if(this._container)return this._container.classList.toggle(K)},ee.prototype._createContent=function(){this._content&&g.remove(this._content),this._content=g.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=g.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))},ee.prototype._onMouseUp=function(K){this._update(K.point)},ee.prototype._onMouseMove=function(K){this._update(K.point)},ee.prototype._onDrag=function(K){this._update(K.point)},ee.prototype._update=function(K){var le=this,Te=this._lngLat||this._trackPointer;if(this._map&&Te&&this._content&&(this._container||(this._container=g.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=g.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(ve){return le._container.classList.add(ve)}),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=oi(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||K)){var Re=this._pos=this._trackPointer&&K?K:this._map.project(this._lngLat),He=this.options.anchor,Ze=St(this.options.offset);if(!He){var at,Tt=this._container.offsetWidth,At=this._container.offsetHeight;at=Re.y+Ze.bottom.ythis._map.transform.height-At?["bottom"]:[],Re.xthis._map.transform.width-Tt/2&&at.push("right"),He=at.length===0?"bottom":at.join("-")}var se=Re.add(Ze[He]).round();g.setTransform(this._container,Nu[He]+" translate("+se.x+"px,"+se.y+"px)"),ml(this._container,He,"popup")}},ee.prototype._onClose=function(){this.remove()},ee}(i.Evented);function St($){if($){if(typeof $=="number"){var ee=Math.round(Math.sqrt(.5*Math.pow($,2)));return{center:new i.Point(0,0),top:new i.Point(0,$),"top-left":new i.Point(ee,ee),"top-right":new i.Point(-ee,ee),bottom:new i.Point(0,-$),"bottom-left":new i.Point(ee,-ee),"bottom-right":new i.Point(-ee,-ee),left:new i.Point($,0),right:new i.Point(-$,0)}}if($ instanceof i.Point||Array.isArray($)){var K=i.Point.convert($);return{center:K,top:K,"top-left":K,"top-right":K,bottom:K,"bottom-left":K,"bottom-right":K,left:K,right:K}}return{center:i.Point.convert($.center||[0,0]),top:i.Point.convert($.top||[0,0]),"top-left":i.Point.convert($["top-left"]||[0,0]),"top-right":i.Point.convert($["top-right"]||[0,0]),bottom:i.Point.convert($.bottom||[0,0]),"bottom-left":i.Point.convert($["bottom-left"]||[0,0]),"bottom-right":i.Point.convert($["bottom-right"]||[0,0]),left:i.Point.convert($.left||[0,0]),right:i.Point.convert($.right||[0,0])}}return St(new i.Point(0,0))}var Mt={version:i.version,supported:M,setRTLTextPlugin:i.setRTLTextPlugin,getRTLTextPluginStatus:i.getRTLTextPluginStatus,Map:Fl,NavigationControl:ks,GeolocateControl:vl,AttributionControl:cs,ScaleControl:ua,FullscreenControl:rt,Popup:vt,Marker:_o,Style:pr,LngLat:i.LngLat,LngLatBounds:i.LngLatBounds,Point:i.Point,MercatorCoordinate:i.MercatorCoordinate,Evented:i.Evented,config:i.config,prewarm:function(){Lt().acquire(ut)},clearPrewarmedResources:function(){var $=_t;$&&($.isPreloaded()&&$.numActive()===1?($.release(ut),_t=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 i.config.ACCESS_TOKEN},set accessToken($){i.config.ACCESS_TOKEN=$},get baseApiUrl(){return i.config.API_URL},set baseApiUrl($){i.config.API_URL=$},get workerCount(){return pt.workerCount},set workerCount($){pt.workerCount=$},get maxParallelImageRequests(){return i.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests($){i.config.MAX_PARALLEL_IMAGE_REQUESTS=$},clearStorage:function($){i.clearTileCache($)},workerUrl:""};return Mt}),d}()},27084:function(x){x.exports=Math.log2||function(o){return Math.log(o)*Math.LOG2E}},16825:function(x,o,t){x.exports=function(v,i){i||(i=v,v=window);var M=0,g=0,p=0,u={shift:!1,alt:!1,control:!1,meta:!1},a=!1;function c(k){var E=!1;return"altKey"in k&&(E=E||k.altKey!==u.alt,u.alt=!!k.altKey),"shiftKey"in k&&(E=E||k.shiftKey!==u.shift,u.shift=!!k.shiftKey),"ctrlKey"in k&&(E=E||k.ctrlKey!==u.control,u.control=!!k.ctrlKey),"metaKey"in k&&(E=E||k.metaKey!==u.meta,u.meta=!!k.metaKey),E}function s(k,E){var T=d.x(E),A=d.y(E);"buttons"in E&&(k=0|E.buttons),(k!==M||T!==g||A!==p||c(E))&&(M=0|k,g=T||0,p=A||0,i&&i(M,g,p,u))}function l(k){s(0,k)}function h(){(M||g||p||u.shift||u.alt||u.meta||u.control)&&(g=p=0,M=0,u.shift=u.alt=u.control=u.meta=!1,i&&i(0,0,0,u))}function f(k){c(k)&&i&&i(M,g,p,u)}function m(k){d.buttons(k)===0?s(0,k):s(M,k)}function _(k){s(M|d.buttons(k),k)}function y(k){s(M&~d.buttons(k),k)}function C(){a||(a=!0,v.addEventListener("mousemove",m),v.addEventListener("mousedown",_),v.addEventListener("mouseup",y),v.addEventListener("mouseleave",l),v.addEventListener("mouseenter",l),v.addEventListener("mouseout",l),v.addEventListener("mouseover",l),v.addEventListener("blur",h),v.addEventListener("keyup",f),v.addEventListener("keydown",f),v.addEventListener("keypress",f),v!==window&&(window.addEventListener("blur",h),window.addEventListener("keyup",f),window.addEventListener("keydown",f),window.addEventListener("keypress",f)))}C();var w={element:v};return Object.defineProperties(w,{enabled:{get:function(){return a},set:function(k){k?C():a&&(a=!1,v.removeEventListener("mousemove",m),v.removeEventListener("mousedown",_),v.removeEventListener("mouseup",y),v.removeEventListener("mouseleave",l),v.removeEventListener("mouseenter",l),v.removeEventListener("mouseout",l),v.removeEventListener("mouseover",l),v.removeEventListener("blur",h),v.removeEventListener("keyup",f),v.removeEventListener("keydown",f),v.removeEventListener("keypress",f),v!==window&&(window.removeEventListener("blur",h),window.removeEventListener("keyup",f),window.removeEventListener("keydown",f),window.removeEventListener("keypress",f)))},enumerable:!0},buttons:{get:function(){return M},enumerable:!0},x:{get:function(){return g},enumerable:!0},y:{get:function(){return p},enumerable:!0},mods:{get:function(){return u},enumerable:!0}}),w};var d=t(74311)},48956:function(x){var o={left:0,top:0};x.exports=function(t,d,v){d=d||t.currentTarget||t.srcElement,Array.isArray(v)||(v=[0,0]);var i,M=t.clientX||0,g=t.clientY||0,p=(i=d)===window||i===document||i===document.body?o:i.getBoundingClientRect();return v[0]=M-p.left,v[1]=g-p.top,v}},74311:function(x,o){function t(d){return d.target||d.srcElement||window}o.buttons=function(d){if(typeof d=="object"){if("buttons"in d)return d.buttons;if("which"in d){if((v=d.which)===2)return 4;if(v===3)return 2;if(v>0)return 1<=0)return 1<0&&s(h,L))}catch(b){_.call(new C(L),b)}}}function _(T){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=T,A.state=2,A.chain.length>0&&s(h,A))}function y(T,A,L,b){for(var O=0;O1&&(a*=k=Math.sqrt(k),c*=k);var E=a*a,T=c*c,A=(l==h?-1:1)*Math.sqrt(Math.abs((E*T-E*w*w-T*C*C)/(E*w*w+T*C*C)));A==1/0&&(A=1);var L=A*a*w/c+(p+f)/2,b=A*-c*C/a+(u+m)/2,O=Math.asin(((u-b)/c).toFixed(9)),I=Math.asin(((m-b)/c).toFixed(9));(O=pI&&(O-=2*o),!h&&I>O&&(I-=2*o)}if(Math.abs(I-O)>t){var R=I,z=f,F=m;I=O+t*(h&&I>O?1:-1);var B=i(f=L+a*Math.cos(I),m=b+c*Math.sin(I),a,c,s,0,h,z,F,[I,R,L,b])}var N=Math.tan((I-O)/4),q=4/3*a*N,j=4/3*c*N,Y=[2*p-(p+q*Math.sin(O)),2*u-(u-j*Math.cos(O)),f+q*Math.sin(I),m-j*Math.cos(I),f,m];if(_)return Y;B&&(Y=Y.concat(B));for(var U=0;U7&&(a.push(k.splice(0,7)),k.unshift("C"));break;case"S":var T=_,A=y;u!="C"&&u!="S"||(T+=T-c,A+=A-s),k=["C",T,A,k[1],k[2],k[3],k[4]];break;case"T":u=="Q"||u=="T"?(f=2*_-f,m=2*y-m):(f=_,m=y),k=v(_,y,f,m,k[1],k[2]);break;case"Q":f=k[1],m=k[2],k=v(_,y,k[1],k[2],k[3],k[4]);break;case"L":k=d(_,y,k[1],k[2]);break;case"H":k=d(_,y,k[1],y);break;case"V":k=d(_,y,_,k[1]);break;case"Z":k=d(_,y,l,h)}u=E,_=k[k.length-2],y=k[k.length-1],k.length>4?(c=k[k.length-4],s=k[k.length-3]):(c=_,s=y),a.push(k)}return a}},56131:function(x){var o=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;function v(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}x.exports=function(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var M={},g=0;g<10;g++)M["_"+String.fromCharCode(g)]=g;if(Object.getOwnPropertyNames(M).map(function(u){return M[u]}).join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(u){p[u]=u}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}()?Object.assign:function(i,M){for(var g,p,u=v(i),a=1;a"u")return!1;for(var h in window)try{if(!s["$"+h]&&v.call(window,h)&&window[h]!==null&&typeof window[h]=="object")try{c(window[h])}catch{return!0}}catch{return!0}return!1}();d=function(h){var f=h!==null&&typeof h=="object",m=i.call(h)==="[object Function]",_=M(h),y=f&&i.call(h)==="[object String]",C=[];if(!f&&!m&&!_)throw new TypeError("Object.keys called on a non-object");var w=u&&m;if(y&&h.length>0&&!v.call(h,0))for(var k=0;k0)for(var E=0;E"u"||!l)return c(b);try{return c(b)}catch{return!1}}(h),L=0;L=0&&o.call(t.callee)==="[object Function]"),v}},88641:function(x){function o(v,i){if(typeof v!="string")return[v];var M=[v];typeof i=="string"||Array.isArray(i)?i={brackets:i}:i||(i={});var g=i.brackets?Array.isArray(i.brackets)?i.brackets:[i.brackets]:["{}","[]","()"],p=i.escape||"___",u=!!i.flat;g.forEach(function(c){var s=new RegExp(["\\",c[0],"[^\\",c[0],"\\",c[1],"]*\\",c[1]].join("")),l=[];function h(f,m,_){var y=M.push(f.slice(c[0].length,-c[1].length))-1;return l.push(y),p+y+p}M.forEach(function(f,m){for(var _,y=0;f!=_;)if(_=f,f=f.replace(s,h),y++>1e4)throw Error("References have circular dependency. Please, check them.");M[m]=f}),l=l.reverse(),M=M.map(function(f){return l.forEach(function(m){f=f.replace(new RegExp("(\\"+p+m+"\\"+p+")","g"),c[0]+"$1"+c[1])}),f})});var a=new RegExp("\\"+p+"([0-9]+)\\"+p);return u?M:function c(s,l,h){for(var f,m=[],_=0;f=a.exec(s);){if(_++>1e4)throw Error("Circular references in parenthesis");m.push(s.slice(0,f.index)),m.push(c(l[f[1]],l)),s=s.slice(f.index+f[0].length)}return m.push(s),m}(M[0],M)}function t(v,i){if(i&&i.flat){var M,g=i&&i.escape||"___",p=v[0];if(!p)return"";for(var u=new RegExp("\\"+g+"([0-9]+)\\"+g),a=0;p!=M;){if(a++>1e4)throw Error("Circular references in "+v);M=p,p=p.replace(u,c)}return p}return v.reduce(function s(l,h){return Array.isArray(h)&&(h=h.reduce(s,"")),l+h},"");function c(s,l){if(v[l]==null)throw Error("Reference "+l+"is undefined");return v[l]}}function d(v,i){return Array.isArray(v)?t(v,i):o(v,i)}d.parse=o,d.stringify=t,x.exports=d},18863:function(x,o,t){var d=t(71299);x.exports=function(v){var i;return arguments.length>1&&(v=arguments),typeof v=="string"?v=v.split(/\s/).map(parseFloat):typeof v=="number"&&(v=[v]),v.length&&typeof v[0]=="number"?i=v.length===1?{width:v[0],height:v[0],x:0,y:0}:v.length===2?{width:v[0],height:v[1],x:0,y:0}:{x:v[0],y:v[1],width:v[2]-v[0]||0,height:v[3]-v[1]||0}:v&&(i={x:(v=d(v,{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:v.top||0},v.width==null?v.right?i.width=v.right-i.x:i.width=0:i.width=v.width,v.height==null?v.bottom?i.height=v.bottom-i.y:i.height=0:i.height=v.height),i}},95616:function(x){x.exports=function(v){var i=[];return v.replace(t,function(M,g,p){var u=g.toLowerCase();for(p=function(a){var c=a.match(d);return c?c.map(Number):[]}(p),u=="m"&&p.length>2&&(i.push([g].concat(p.splice(0,2))),u="l",g=g=="m"?"l":"L");;){if(p.length==o[u])return p.unshift(g),i.push(p);if(p.lengthM!=h>M&&i<(l-c)*(M-s)/(h-s)+c&&(g=!g)}return g}},52142:function(x,o,t){var d,v=t(69444),i=t(29023),M=t(87263),g=t(11328),p=t(55968),u=t(10670),a=!1,c=i();function s(l,h,f){var m=d.segments(l),_=d.segments(h),y=f(d.combine(m,_));return d.polygon(y)}d={buildLog:function(l){return l===!0?a=v():l===!1&&(a=!1),a!==!1&&a.list},epsilon:function(l){return c.epsilon(l)},segments:function(l){var h=M(!0,c,a);return l.regions.forEach(h.addRegion),{segments:h.calculate(l.inverted),inverted:l.inverted}},combine:function(l,h){return{combined:M(!1,c,a).calculate(l.segments,l.inverted,h.segments,h.inverted),inverted1:l.inverted,inverted2:h.inverted}},selectUnion:function(l){return{segments:p.union(l.combined,a),inverted:l.inverted1||l.inverted2}},selectIntersect:function(l){return{segments:p.intersect(l.combined,a),inverted:l.inverted1&&l.inverted2}},selectDifference:function(l){return{segments:p.difference(l.combined,a),inverted:l.inverted1&&!l.inverted2}},selectDifferenceRev:function(l){return{segments:p.differenceRev(l.combined,a),inverted:!l.inverted1&&l.inverted2}},selectXor:function(l){return{segments:p.xor(l.combined,a),inverted:l.inverted1!==l.inverted2}},polygon:function(l){return{regions:g(l.segments,c,a),inverted:l.inverted}},polygonFromGeoJSON:function(l){return u.toPolygon(d,l)},polygonToGeoJSON:function(l){return u.fromPolygon(d,c,l)},union:function(l,h){return s(l,h,d.selectUnion)},intersect:function(l,h){return s(l,h,d.selectIntersect)},difference:function(l,h){return s(l,h,d.selectDifference)},differenceRev:function(l,h){return s(l,h,d.selectDifferenceRev)},xor:function(l,h){return s(l,h,d.selectXor)}},typeof window=="object"&&(window.PolyBool=d),x.exports=d},69444:function(x){x.exports=function(){var o,t=0,d=!1;function v(i,M){return o.list.push({type:i,data:M?JSON.parse(JSON.stringify(M)):void 0}),o}return o={list:[],segmentId:function(){return t++},checkIntersection:function(i,M){return v("check",{seg1:i,seg2:M})},segmentChop:function(i,M){return v("div_seg",{seg:i,pt:M}),v("chop",{seg:i,pt:M})},statusRemove:function(i){return v("pop_seg",{seg:i})},segmentUpdate:function(i){return v("seg_update",{seg:i})},segmentNew:function(i,M){return v("new_seg",{seg:i,primary:M})},segmentRemove:function(i){return v("rem_seg",{seg:i})},tempStatus:function(i,M,g){return v("temp_status",{seg:i,above:M,below:g})},rewind:function(i){return v("rewind",{seg:i})},status:function(i,M,g){return v("status",{seg:i,above:M,below:g})},vert:function(i){return i===d?o:(d=i,v("vert",{x:i}))},log:function(i){return typeof i!="string"&&(i=JSON.stringify(i,!1," ")),v("log",{txt:i})},reset:function(){return v("reset")},selected:function(i){return v("selected",{segs:i})},chainStart:function(i){return v("chain_start",{seg:i})},chainRemoveHead:function(i,M){return v("chain_rem_head",{index:i,pt:M})},chainRemoveTail:function(i,M){return v("chain_rem_tail",{index:i,pt:M})},chainNew:function(i,M){return v("chain_new",{pt1:i,pt2:M})},chainMatch:function(i){return v("chain_match",{index:i})},chainClose:function(i){return v("chain_close",{index:i})},chainAddHead:function(i,M){return v("chain_add_head",{index:i,pt:M})},chainAddTail:function(i,M){return v("chain_add_tail",{index:i,pt:M})},chainConnect:function(i,M){return v("chain_con",{index1:i,index2:M})},chainReverse:function(i){return v("chain_rev",{index:i})},chainJoin:function(i,M){return v("chain_join",{index1:i,index2:M})},done:function(){return v("done")}}}},29023:function(x){x.exports=function(o){typeof o!="number"&&(o=1e-10);var t={epsilon:function(d){return typeof d=="number"&&(o=d),o},pointAboveOrOnLine:function(d,v,i){var M=v[0],g=v[1],p=i[0],u=i[1],a=d[0];return(p-M)*(d[1]-g)-(u-g)*(a-M)>=-o},pointBetween:function(d,v,i){var M=d[1]-v[1],g=i[0]-v[0],p=d[0]-v[0],u=i[1]-v[1],a=p*g+M*u;return!(a-o)},pointsSameX:function(d,v){return Math.abs(d[0]-v[0])o!=p-M>o&&(g-c)*(M-s)/(p-s)+c-i>o&&(u=!u),g=c,p=s}return u}};return t}},10670:function(x){var o={toPolygon:function(t,d){function v(g){if(g.length<=0)return t.segments({inverted:!1,regions:[]});function p(c){var s=c.slice(0,c.length-1);return t.segments({inverted:!1,regions:[s]})}for(var u=p(g[0]),a=1;a0})}function _(R,z){var F=R.seg,B=z.seg,N=F.start,q=F.end,j=B.start,Y=B.end;M&&M.checkIntersection(F,B);var U=i.linesIntersect(N,q,j,Y);if(U===!1){if(!i.pointsCollinear(N,q,j)||i.pointsSame(N,Y)||i.pointsSame(q,j))return!1;var G=i.pointsSame(N,j),W=i.pointsSame(q,Y);if(G&&W)return z;var H=!G&&i.pointBetween(N,j,Y),ne=!W&&i.pointBetween(q,j,Y);if(G)return ne?c(z,q):c(R,Y),z;H&&(W||(ne?c(z,q):c(R,Y)),c(z,N))}else U.alongA===0&&(U.alongB===-1?c(R,j):U.alongB===0?c(R,U.pt):U.alongB===1&&c(R,Y)),U.alongB===0&&(U.alongA===-1?c(z,N):U.alongA===0?c(z,U.pt):U.alongA===1&&c(z,q));return!1}for(var y=[];!p.isEmpty();){var C=p.getHead();if(M&&M.vert(C.pt[0]),C.isStart){let R=function(){if(k){var z=_(C,k);if(z)return z}return!!E&&_(C,E)};var I=R;M&&M.segmentNew(C.seg,C.primary);var w=m(C),k=w.before?w.before.ev:null,E=w.after?w.after.ev:null;M&&M.tempStatus(C.seg,!!k&&k.seg,!!E&&E.seg);var T,A,L=R();if(L&&(v?(A=C.seg.myFill.below===null||C.seg.myFill.above!==C.seg.myFill.below)&&(L.seg.myFill.above=!L.seg.myFill.above):L.seg.otherFill=C.seg.myFill,M&&M.segmentUpdate(L.seg),C.other.remove(),C.remove()),p.getHead()!==C){M&&M.rewind(C.seg);continue}v?(A=C.seg.myFill.below===null||C.seg.myFill.above!==C.seg.myFill.below,C.seg.myFill.below=E?E.seg.myFill.above:l,C.seg.myFill.above=A?!C.seg.myFill.below:C.seg.myFill.below):C.seg.otherFill===null&&(T=E?C.primary===E.primary?E.seg.otherFill.above:E.seg.myFill.above:C.primary?h:l,C.seg.otherFill={above:T,below:T}),M&&M.status(C.seg,!!k&&k.seg,!!E&&E.seg),C.other.status=w.insert(d.node({ev:C}))}else{var b=C.status;if(b===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(f.exists(b.prev)&&f.exists(b.next)&&_(b.prev.ev,b.next.ev),M&&M.statusRemove(b.ev.seg),b.remove(),!C.primary){var O=C.seg.myFill;C.seg.myFill=C.seg.otherFill,C.seg.otherFill=O}y.push(C.seg)}p.getHead().remove()}return M&&M.done(),y}return v?{addRegion:function(l){for(var h,f,m,_=l[l.length-1],y=0;y0&&!this.aborted;){var M=this.ifds_to_read.shift();M.offset&&this.scan_ifd(M.id,M.offset,v)}},d.prototype.read_uint16=function(v){var i=this.input;if(v+2>i.length)throw o("unexpected EOF","EBADDATA");return this.big_endian?256*i[v]+i[v+1]:i[v]+256*i[v+1]},d.prototype.read_uint32=function(v){var i=this.input;if(v+4>i.length)throw o("unexpected EOF","EBADDATA");return this.big_endian?16777216*i[v]+65536*i[v+1]+256*i[v+2]+i[v+3]:i[v]+256*i[v+1]+65536*i[v+2]+16777216*i[v+3]},d.prototype.is_subifd_link=function(v,i){return v===0&&i===34665||v===0&&i===34853||v===34665&&i===40965},d.prototype.exif_format_length=function(v){switch(v){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}},d.prototype.exif_format_read=function(v,i){var M;switch(v){case 1:case 2:return this.input[i];case 6:return(M=this.input[i])|33554430*(128&M);case 3:return this.read_uint16(i);case 8:return(M=this.read_uint16(i))|131070*(32768&M);case 4:return this.read_uint32(i);case 9:return 0|this.read_uint32(i);default:return null}},d.prototype.scan_ifd=function(v,i,M){var g=this.read_uint16(i);i+=2;for(var p=0;pthis.input.length)throw o("unexpected EOF","EBADDATA");for(var m=[],_=h,y=0;y0&&(this.ifds_to_read.push({id:u,offset:m[0]}),f=!0),M({is_big_endian:this.big_endian,ifd:v,tag:u,format:a,count:c,entry_offset:i+this.start,data_length:l,data_offset:h+this.start,value:m,is_subifd_link:f})===!1)return void(this.aborted=!0);i+=12}v===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(i)})},x.exports.ExifParser=d,x.exports.get_orientation=function(v){var i=0;try{return new d(v,0,v.length).each(function(M){if(M.ifd===0&&M.tag===274&&Array.isArray(M.value))return i=M.value[0],!1}),i}catch{return-1}}},76767:function(x,o,t){var d=t(14847).n8,v=t(14847).Ag;function i(c,s){if(c.length<4+s)return null;var l=v(c,s);return c.length>4&15,h=15&c[4],f=c[5]>>4&15,m=d(c,6),_=8,y=0;yw.width||C.width===w.width&&C.height>w.height?C:w}),f=l.reduce(function(C,w){return C.height>w.height||C.height===w.height&&C.width>w.width?C:w}),h.width>f.height||h.width===f.height&&h.height>f.width?h:f),_=1;s.transforms.forEach(function(C){var w={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},k={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(C.type==="imir"&&(_=C.value===0?k[_]:w[_=w[_=k[_]]]),C.type==="irot")for(var E=0;E1&&(m.variants=f.variants),f.orientation&&(m.orientation=f.orientation),f.exif_location&&f.exif_location.offset+f.exif_location.length<=u.length){var _=i(u,f.exif_location.offset),y=u.slice(f.exif_location.offset+_+4,f.exif_location.offset+f.exif_location.length),C=g.get_orientation(y);C>0&&(m.orientation=C)}return m}}}}}}},2504:function(x,o,t){var d=t(14847).eG,v=t(14847).OF,i=t(14847).mP,M=d("BM");x.exports=function(g){if(!(g.length<26)&&v(g,0,M))return{width:i(g,18),height:i(g,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},47342:function(x,o,t){var d=t(14847).eG,v=t(14847).OF,i=t(14847).mP,M=d("GIF87a"),g=d("GIF89a");x.exports=function(p){if(!(p.length<10)&&(v(p,0,M)||v(p,0,g)))return{width:i(p,6),height:i(p,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},31355:function(x,o,t){var d=t(14847).mP;x.exports=function(v){var i=d(v,0),M=d(v,2),g=d(v,4);if(i===0&&M===1&&g){for(var p=[],u={width:0,height:0},a=0;au.width||s>u.height)&&(u=l)}return{width:u.width,height:u.height,variants:p,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},54261:function(x,o,t){var d=t(14847).n8,v=t(14847).eG,i=t(14847).OF,M=t(71371),g=v("Exif\0\0");x.exports=function(p){if(!(p.length<2)&&p[0]===255&&p[1]===216&&p[2]===255)for(var u=2;;){for(;;){if(p.length-u<2)return;if(p[u++]===255)break}for(var a,c,s=p[u++];s===255;)s=p[u++];if(208<=s&&s<=217||s===1)a=0;else{if(!(192<=s&&s<=254)||p.length-u<2)return;a=d(p,u)-2,u+=2}if(s===217||s===218)return;if(s===225&&a>=10&&i(p,u,g)&&(c=M.get_orientation(p.slice(u+6,u+a))),a>=5&&192<=s&&s<=207&&s!==196&&s!==200&&s!==204){if(p.length-u0&&(l.orientation=c),l}u+=a}}},6303:function(x,o,t){var d=t(14847).eG,v=t(14847).OF,i=t(14847).Ag,M=d(`‰PNG\r  -`),v=d("IHDR");x.exports=function(p){if(!(p.length<24)&&g(p,0,M)&&g(p,12,v))return{width:i(p,16),height:i(p,20),type:"png",mime:"image/png",wUnits:"px",hUnits:"px"}}},38689:function(x,o,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).Ag,M=d("8BPS\0");x.exports=function(v){if(!(v.length<22)&&g(v,0,M))return{width:i(v,18),height:i(v,14),type:"psd",mime:"image/vnd.adobe.photoshop",wUnits:"px",hUnits:"px"}}},6881:function(x){function o(u){return typeof u=="number"&&isFinite(u)&&u>0}var t=/<[-_.:a-zA-Z0-9][^>]*>/,d=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,g=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,i=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,M=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,v=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function p(u){return v.test(u)?u.match(v)[0]:"px"}x.exports=function(u){if(function(k){var E,T=0,A=k.length;for(k[0]===239&&k[1]===187&&k[2]===191&&(T=3);T>14&16383),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function s(l,h){return{width:1+(l[h+6]<<16|l[h+5]<<8|l[h+4]),height:1+(l[h+9]<l.length)){for(;h+8<_;)if(l[h]!==0){var y=String.fromCharCode.apply(null,l.slice(h,h+4)),C=M(l,h+4);y==="VP8 "&&C>=10?f=f||a(l,h+8):y==="VP8L"&&C>=9?f=f||c(l,h+8):y==="VP8X"&&C>=10?f=f||s(l,h+8):y==="EXIF"&&(m=v.get_orientation(l.slice(h+8,h+8+C)),h=1/0),h+=8+C}else h++;if(f)return m>0&&(f.orientation=m),f}}}},91497:function(x,o,t){x.exports={avif:t(24461),bmp:t(2504),gif:t(47342),ico:t(31355),jpeg:t(54261),png:t(6303),psd:t(38689),svg:t(6881),tiff:t(66278),webp:t(90784)}},33575:function(x,o,t){var d=t(91497);x.exports=function(g){return function(i){for(var M=Object.keys(d),v=0;v1)for(var _=1;_"u"?t.g:window,i=["moz","webkit"],M="AnimationFrame",v=g["request"+M],p=g["cancel"+M]||g["cancelRequest"+M],u=0;!v&&u0}var t=/<[-_.:a-zA-Z0-9][^>]*>/,d=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,v=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,i=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,M=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,g=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function p(u){return g.test(u)?u.match(g)[0]:"px"}x.exports=function(u){if(function(k){var E,T=0,A=k.length;for(k[0]===239&&k[1]===187&&k[2]===191&&(T=3);T>14&16383),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function s(l,h){return{width:1+(l[h+6]<<16|l[h+5]<<8|l[h+4]),height:1+(l[h+9]<l.length)){for(;h+8<_;)if(l[h]!==0){var y=String.fromCharCode.apply(null,l.slice(h,h+4)),C=M(l,h+4);y==="VP8 "&&C>=10?f=f||a(l,h+8):y==="VP8L"&&C>=9?f=f||c(l,h+8):y==="VP8X"&&C>=10?f=f||s(l,h+8):y==="EXIF"&&(m=g.get_orientation(l.slice(h+8,h+8+C)),h=1/0),h+=8+C}else h++;if(f)return m>0&&(f.orientation=m),f}}}},91497:function(x,o,t){x.exports={avif:t(24461),bmp:t(2504),gif:t(47342),ico:t(31355),jpeg:t(54261),png:t(6303),psd:t(38689),svg:t(6881),tiff:t(66278),webp:t(90784)}},33575:function(x,o,t){var d=t(91497);x.exports=function(v){return function(i){for(var M=Object.keys(d),g=0;g1)for(var _=1;_"u"?t.g:window,i=["moz","webkit"],M="AnimationFrame",g=v["request"+M],p=v["cancel"+M]||v["cancelRequest"+M],u=0;!g&&u1&&(R.scaleRatio=[R.scale[0]*R.viewport.width,R.scale[1]*R.viewport.height],f(R),R.after&&R.after(R))}function O(R){if(R){R.length!=null?typeof R[0]=="number"&&(R=[{positions:R}]):Array.isArray(R)||(R=[R]);var z=0,F=0;if(A.groups=T=R.map(function(G,W){var H=T[W];return G&&(typeof G=="function"?G={after:G}:typeof G[0]=="number"&&(G={positions:G}),G=M(G,{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"}),H||(T[W]=H={id:W,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},G=v({},E,G)),i(H,G,[{lineWidth:function(ne){return .5*+ne},capSize:function(ne){return .5*+ne},opacity:parseFloat,errors:function(ne){return ne=p(ne),F+=ne.length,ne},positions:function(ne,te){return ne=p(ne,"float64"),te.count=Math.floor(ne.length/2),te.bounds=d(ne,2),te.offset=z,z+=te.count,ne}},{color:function(ne,te){var Z=te.count;if(ne||(ne="transparent"),!Array.isArray(ne)||typeof ne[0]=="number"){var X=ne;ne=Array(Z);for(var Q=0;Q1&&(R.scaleRatio=[R.scale[0]*R.viewport.width,R.scale[1]*R.viewport.height],f(R),R.after&&R.after(R))}function O(R){if(R){R.length!=null?typeof R[0]=="number"&&(R=[{positions:R}]):Array.isArray(R)||(R=[R]);var z=0,F=0;if(A.groups=T=R.map(function(G,W){var H=T[W];return G&&(typeof G=="function"?G={after:G}:typeof G[0]=="number"&&(G={positions:G}),G=M(G,{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"}),H||(T[W]=H={id:W,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},G=g({},E,G)),i(H,G,[{lineWidth:function(ne){return .5*+ne},capSize:function(ne){return .5*+ne},opacity:parseFloat,errors:function(ne){return ne=p(ne),F+=ne.length,ne},positions:function(ne,te){return ne=p(ne,"float64"),te.count=Math.floor(ne.length/2),te.bounds=d(ne,2),te.offset=z,z+=te.count,ne}},{color:function(ne,te){var Z=te.count;if(ne||(ne="transparent"),!Array.isArray(ne)||typeof ne[0]=="number"){var X=ne;ne=Array(Z);for(var Q=0;Q1&&k.opacity&&(y.regl._refresh(),k.fill&&k.triangles&&k.triangles.length>2&&y.shaders.fill(k),k.thickness&&(k.scale[0]*k.viewport.width>_.precisionThreshold||k.scale[1]*k.viewport.height>_.precisionThreshold||k.join==="rect"||!k.join&&(k.thickness<=2||k.count>=_.maxPoints)?y.shaders.rect(k):y.shaders.miter(k)))}),this},_.prototype.update=function(y){var C=this;if(y){y.length!=null?typeof y[0]=="number"&&(y=[{positions:y}]):Array.isArray(y)||(y=[y]);var w=this.regl,k=this.gl;if(y.forEach(function(b,O){var I=C.passes[O];if(b!==void 0)if(b!==null){if(typeof b[0]=="number"&&(b={positions:b}),b=v(b,{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"}),I||(C.passes[O]=I={id:O,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:w.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:w.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:w.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:w.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},b=i({},_.defaults,b)),b.thickness!=null&&(I.thickness=parseFloat(b.thickness)),b.opacity!=null&&(I.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(I.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(I.overlay=!!b.overlay,O<_.maxLines&&(I.depth=2*(_.maxLines-1-O%_.maxLines)/_.maxLines-1)),b.join!=null&&(I.join=b.join),b.hole!=null&&(I.hole=b.hole),b.fill!=null&&(I.fill=b.fill?d(b.fill,"uint8"):null),b.viewport!=null&&(I.viewport=f(b.viewport)),I.viewport||(I.viewport=f([k.drawingBufferWidth,k.drawingBufferHeight])),b.close!=null&&(I.close=b.close),b.positions===null&&(b.positions=[]),b.positions){var R,z;if(b.positions.x&&b.positions.y){var F=b.positions.x,B=b.positions.y;z=I.count=Math.max(F.length,B.length),R=new Float64Array(2*z);for(var N=0;N=re});(Z=Z.slice(0,ie)).push(re)}for(var oe=function(kt){var xt=j.slice(2*Q,2*Z[kt]).concat(re?j.slice(2*re):[]),Ft=(I.hole||[]).map(function(Bt){return Bt-re+(Z[kt]-Q)}),Dt=u(xt,Ft);Dt=Dt.map(function(Bt){return Bt+Q+(Bt+Qk.length)&&(E=k.length);for(var T=0,A=new Array(E);T1&&k.opacity&&(y.regl._refresh(),k.fill&&k.triangles&&k.triangles.length>2&&y.shaders.fill(k),k.thickness&&(k.scale[0]*k.viewport.width>_.precisionThreshold||k.scale[1]*k.viewport.height>_.precisionThreshold||k.join==="rect"||!k.join&&(k.thickness<=2||k.count>=_.maxPoints)?y.shaders.rect(k):y.shaders.miter(k)))}),this},_.prototype.update=function(y){var C=this;if(y){y.length!=null?typeof y[0]=="number"&&(y=[{positions:y}]):Array.isArray(y)||(y=[y]);var w=this.regl,k=this.gl;if(y.forEach(function(b,O){var I=C.passes[O];if(b!==void 0)if(b!==null){if(typeof b[0]=="number"&&(b={positions:b}),b=g(b,{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"}),I||(C.passes[O]=I={id:O,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:w.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:w.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:w.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:w.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},b=i({},_.defaults,b)),b.thickness!=null&&(I.thickness=parseFloat(b.thickness)),b.opacity!=null&&(I.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(I.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(I.overlay=!!b.overlay,O<_.maxLines&&(I.depth=2*(_.maxLines-1-O%_.maxLines)/_.maxLines-1)),b.join!=null&&(I.join=b.join),b.hole!=null&&(I.hole=b.hole),b.fill!=null&&(I.fill=b.fill?d(b.fill,"uint8"):null),b.viewport!=null&&(I.viewport=f(b.viewport)),I.viewport||(I.viewport=f([k.drawingBufferWidth,k.drawingBufferHeight])),b.close!=null&&(I.close=b.close),b.positions===null&&(b.positions=[]),b.positions){var R,z;if(b.positions.x&&b.positions.y){var F=b.positions.x,B=b.positions.y;z=I.count=Math.max(F.length,B.length),R=new Float64Array(2*z);for(var N=0;N=re});(Z=Z.slice(0,ie)).push(re)}for(var oe=function(kt){var xt=j.slice(2*Q,2*Z[kt]).concat(re?j.slice(2*re):[]),Ft=(I.hole||[]).map(function(Bt){return Bt-re+(Z[kt]-Q)}),Dt=u(xt,Ft);Dt=Dt.map(function(Bt){return Bt+Q+(Bt+Qk.length)&&(E=k.length);for(var T=0,A=new Array(E);TPe)?pe.tree=u(me,{bounds:ae}):Pe&&Pe.length&&(pe.tree=Pe),pe.tree){var he={primitive:"points",usage:"static",data:pe.tree,type:"uint32"};pe.elements?pe.elements(he):pe.elements=O.elements(he)}var be=m.float32(me);return _e({data:be,usage:"dynamic"}),Me({data:m.fract32(me,be),usage:"dynamic"}),Se({data:new Uint8Array(Ce),type:"uint8",usage:"stream"}),me}},{marker:function(me,pe,xe){var Pe=pe.activation;if(Pe.forEach(function(be){return be&&be.destroy&&be.destroy()}),Pe.length=0,me&&typeof me[0]!="number"){for(var _e=[],Me=0,Se=Math.min(me.length,pe.count);Me=0)return b;if(k instanceof Uint8Array||k instanceof Uint8ClampedArray)E=k;else{E=new Uint8Array(k.length);for(var O=0,I=k.length;O4*A&&(this.tooManyColors=!0),this.updatePalette(T),L.length===1?L[0]:L},C.prototype.updatePalette=function(k){if(!this.tooManyColors){var E=this.maxColors,T=this.paletteTexture,A=Math.ceil(.25*k.length/E);if(A>1)for(var L=.25*(k=k.slice()).length%E;L2?(k[0],k[2],_=k[1],y=k[3]):k.length?(_=k[0],y=k[1]):(k.x,_=k.y,k.x,k.width,y=k.y+k.height),E.length>2?(C=E[0],w=E[2],E[1],E[3]):E.length?(C=E[0],w=E[1]):(C=E.x,E.y,w=E.x+E.width,E.y,E.height),[C,_,w,y]}function l(h){if(typeof h=="number")return[h,h,h,h];if(h.length===2)return[h[0],h[1],h[0],h[1]];var f=p(h);return[f.x,f.y,f.x+f.width,f.y+f.height]}x.exports=a,a.prototype.render=function(){for(var h,f=this,m=[],_=arguments.length;_--;)m[_]=arguments[_];return m.length&&(h=this).update.apply(h,m),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?this.planned==null&&(this.planned=M(function(){f.draw(),f.dirty=!0,f.planned=null})):(this.draw(),this.dirty=!0,M(function(){f.dirty=!1})),this)},a.prototype.update=function(){for(var h,f=[],m=arguments.length;m--;)f[m]=arguments[m];if(f.length){for(var _=0;_F))&&(C.lower||!(z"u"?1:window.devicePixelRatio,It=!1,Lt={},yt=function(wt){},Pt=function(){};if(typeof Qe=="string"?nt=document.querySelector(Qe):typeof Qe=="object"&&(typeof Qe.nodeName=="string"&&typeof Qe.appendChild=="function"&&typeof Qe.getBoundingClientRect=="function"?nt=Qe:typeof Qe.drawArrays=="function"||typeof Qe.drawElements=="function"?Oe=(Ne=Qe).canvas:("gl"in Qe?Ne=Qe.gl:"canvas"in Qe?Oe=i(Qe.canvas):"container"in Qe&&(ht=i(Qe.container)),"attributes"in Qe&&(We=Qe.attributes),"extensions"in Qe&&(ut=g(Qe.extensions)),"optionalExtensions"in Qe&&(pt=g(Qe.optionalExtensions)),"onDone"in Qe&&(yt=Qe.onDone),"profile"in Qe&&(It=!!Qe.profile),"pixelRatio"in Qe&&(_t=+Qe.pixelRatio),"cachedCode"in Qe&&(Lt=Qe.cachedCode))),nt&&(nt.nodeName.toLowerCase()==="canvas"?Oe=nt:ht=nt),!Ne){if(!Oe){if(!(nt=function(wt,Ot,Nt){function $t(){var Qt=window.innerWidth,rn=window.innerHeight;wt!==document.body&&(Qt=(rn=Xt.getBoundingClientRect()).right-rn.left,rn=rn.bottom-rn.top),Xt.width=Nt*Qt,Xt.height=Nt*rn}var qt,Xt=document.createElement("canvas");return re(Xt.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),wt.appendChild(Xt),wt===document.body&&(Xt.style.position="absolute",re(wt.style,{margin:0,padding:0})),wt!==document.body&&typeof ResizeObserver=="function"?(qt=new ResizeObserver(function(){setTimeout($t)})).observe(wt):window.addEventListener("resize",$t,!1),$t(),{canvas:Xt,onDestroy:function(){qt?qt.disconnect():window.removeEventListener("resize",$t),wt.removeChild(Xt)}}}(ht||document.body,0,_t)))return null;Oe=nt.canvas,Pt=nt.onDestroy}We.premultipliedAlpha===void 0&&(We.premultipliedAlpha=!0),Ne=function(wt,Ot){function Nt($t){try{return wt.getContext($t,Ot)}catch{return null}}return Nt("webgl")||Nt("experimental-webgl")||Nt("webgl-experimental")}(Oe,We)}return Ne?{gl:Ne,canvas:Oe,container:ht,extensions:ut,optionalExtensions:pt,pixelRatio:_t,profile:It,cachedCode:Lt,onDone:yt,onDestroy:Pt}:(Pt(),yt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function v(We,nt){for(var ht=Array(We),Oe=0;Oe>>=nt))<<3,(nt|=ht=(15<(We>>>=ht))<<2)|(ht=(3<(We>>>=ht))<<1)|We>>>ht>>1}function u(){function We(Oe){e:{for(var Ne=16;268435456>=Ne;Ne*=16)if(Oe<=Ne){Oe=Ne;break e}Oe=0}return 0<(Ne=ht[p(Oe)>>2]).length?Ne.pop():new ArrayBuffer(Oe)}function nt(Oe){ht[p(Oe.byteLength)>>2].push(Oe)}var ht=v(8,function(){return[]});return{alloc:We,free:nt,allocType:function(Oe,Ne){var Qe=null;switch(Oe){case 5120:Qe=new Int8Array(We(Ne),0,Ne);break;case 5121:Qe=new Uint8Array(We(Ne),0,Ne);break;case 5122:Qe=new Int16Array(We(2*Ne),0,Ne);break;case 5123:Qe=new Uint16Array(We(2*Ne),0,Ne);break;case 5124:Qe=new Int32Array(We(4*Ne),0,Ne);break;case 5125:Qe=new Uint32Array(We(4*Ne),0,Ne);break;case 5126:Qe=new Float32Array(We(4*Ne),0,Ne);break;default:return null}return Qe.length!==Ne?Qe.subarray(0,Ne):Qe},freeType:function(Oe){nt(Oe.buffer)}}}function a(We){return!!We&&typeof We=="object"&&Array.isArray(We.shape)&&Array.isArray(We.stride)&&typeof We.offset=="number"&&We.shape.length===We.stride.length&&(Array.isArray(We.data)||me(We.data))}function c(We,nt,ht,Oe,Ne,Qe){for(var ut=0;ut(Pt=Nt)&&(Pt=yt.buffer.byteLength,Xt===5123?Pt>>=1:Xt===5125&&(Pt>>=2)),yt.vertCount=Pt,Pt=Ot,0>Ot&&(Pt=4,(Ot=yt.buffer.dimension)===1&&(Pt=0),Ot===2&&(Pt=1),Ot===3&&(Pt=4)),yt.primType=Pt}function ut(yt){Oe.elementsCount--,delete pt[yt.id],yt.buffer.destroy(),yt.buffer=null}var pt={},_t=0,It={uint8:5121,uint16:5123};nt.oes_element_index_uint&&(It.uint32=5125),Ne.prototype.bind=function(){this.buffer.bind()};var Lt=[];return{create:function(yt,Pt){function wt($t){if($t)if(typeof $t=="number")Ot($t),Nt.primType=4,Nt.vertCount=0|$t,Nt.type=5121;else{var qt=null,Xt=35044,Qt=-1,rn=-1,xn=0,un=0;Array.isArray($t)||me($t)||a($t)?qt=$t:("data"in $t&&(qt=$t.data),"usage"in $t&&(Xt=Me[$t.usage]),"primitive"in $t&&(Qt=he[$t.primitive]),"count"in $t&&(rn=0|$t.count),"type"in $t&&(un=It[$t.type]),"length"in $t?xn=0|$t.length:(xn=rn,un===5123||un===5122?xn*=2:un!==5125&&un!==5124||(xn*=4))),Qe(Nt,qt,Xt,Qt,rn,xn,un)}else Ot(),Nt.primType=4,Nt.vertCount=0,Nt.type=5121;return wt}var Ot=ht.create(null,34963,!0),Nt=new Ne(Ot._buffer);return Oe.elementsCount++,wt(yt),wt._reglType="elements",wt._elements=Nt,wt.subdata=function($t,qt){return Ot.subdata($t,qt),wt},wt.destroy=function(){ut(Nt)},wt},createStream:function(yt){var Pt=Lt.pop();return Pt||(Pt=new Ne(ht.create(null,34963,!0,!1)._buffer)),Qe(Pt,yt,35040,-1,-1,0,0),Pt},destroyStream:function(yt){Lt.push(yt)},getElements:function(yt){return typeof yt=="function"&&yt._elements instanceof Ne?yt._elements:null},clear:function(){pe(pt).forEach(ut)}}}function y(We){for(var nt=ye.allocType(5123,We.length),ht=0;ht>>31<<15,Ne=(Qe<<1>>>24)-127,Qe=Qe>>13&1023;nt[ht]=-24>Ne?Oe:-14>Ne?Oe+(Qe+1024>>-14-Ne):15>=fn,jt.height>>=fn,Pt(jt,Jt[fn]),nn.mipmask|=1<Pn;++Pn)nn.images[Pn]=null;return nn}function xn(nn){for(var Pn=nn.images,jt=0;jtnn){for(var Pn=0;Pn=--this.refCount&&dn(this)}}),ut.profile&&(Qe.getTotalTextureSize=function(){var nn=0;return Object.keys(Zn).forEach(function(Pn){nn+=Zn[Pn].stats.size}),nn}),{create2D:function(nn,Pn){function jt(fn,zn){var Dn=Jt.texInfo;un.call(Dn);var En=rn();return typeof fn=="number"?qt(En,0|fn,typeof zn=="number"?0|zn:0|fn):fn?(An(Dn,fn),Xt(En,fn)):qt(En,1,1),Dn.genMipmaps&&(En.mipmask=(En.width<<1)-1),Jt.mipmask=En.mipmask,_t(Jt,En),Jt.internalformat=En.internalformat,jt.width=En.width,jt.height=En.height,sn(Jt),Qt(En,3553),Yn(Dn,3553),Tn(),xn(En),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,En.width,En.height,Dn.genMipmaps,!1)),jt.format=or[Jt.internalformat],jt.type=yr[Jt.type],jt.mag=wr[Dn.magFilter],jt.min=Kt[Dn.minFilter],jt.wrapS=bn[Dn.wrapS],jt.wrapT=bn[Dn.wrapT],jt}var Jt=new kn(3553);return Zn[Jt.id]=Jt,Qe.textureCount++,jt(nn,Pn),jt.subimage=function(fn,zn,Dn,En){zn|=0,Dn|=0,En|=0;var mn=Ot();return _t(mn,Jt),mn.width=0,mn.height=0,Pt(mn,fn),mn.width=mn.width||(Jt.width>>En)-zn,mn.height=mn.height||(Jt.height>>En)-Dn,sn(Jt),wt(mn,3553,zn,Dn,En),Tn(),Nt(mn),jt},jt.resize=function(fn,zn){var Dn=0|fn,En=0|zn||Dn;if(Dn===Jt.width&&En===Jt.height)return jt;jt.width=Jt.width=Dn,jt.height=Jt.height=En,sn(Jt);for(var mn=0;Jt.mipmask>>mn;++mn){var wn=Dn>>mn,gn=En>>mn;if(!wn||!gn)break;We.texImage2D(3553,mn,Jt.format,wn,gn,0,Jt.format,Jt.type,null)}return Tn(),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,Dn,En,!1,!1)),jt},jt._reglType="texture2d",jt._texture=Jt,ut.profile&&(jt.stats=Jt.stats),jt.destroy=function(){Jt.decRef()},jt},createCube:function(nn,Pn,jt,Jt,fn,zn){function Dn(wn,gn,yn,Sn,Vn,Kn){var nr,Qn=En.texInfo;for(un.call(Qn),nr=0;6>nr;++nr)mn[nr]=rn();if(typeof wn!="number"&&wn){if(typeof wn=="object")if(gn)Xt(mn[0],wn),Xt(mn[1],gn),Xt(mn[2],yn),Xt(mn[3],Sn),Xt(mn[4],Vn),Xt(mn[5],Kn);else if(An(Qn,wn),It(En,wn),"faces"in wn)for(wn=wn.faces,nr=0;6>nr;++nr)_t(mn[nr],En),Xt(mn[nr],wn[nr]);else for(nr=0;6>nr;++nr)Xt(mn[nr],wn)}else for(wn=0|wn||1,nr=0;6>nr;++nr)qt(mn[nr],wn,wn);for(_t(En,mn[0]),En.mipmask=Qn.genMipmaps?(mn[0].width<<1)-1:mn[0].mipmask,En.internalformat=mn[0].internalformat,Dn.width=mn[0].width,Dn.height=mn[0].height,sn(En),nr=0;6>nr;++nr)Qt(mn[nr],34069+nr);for(Yn(Qn,34067),Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,Dn.width,Dn.height,Qn.genMipmaps,!0)),Dn.format=or[En.internalformat],Dn.type=yr[En.type],Dn.mag=wr[Qn.magFilter],Dn.min=Kt[Qn.minFilter],Dn.wrapS=bn[Qn.wrapS],Dn.wrapT=bn[Qn.wrapT],nr=0;6>nr;++nr)xn(mn[nr]);return Dn}var En=new kn(34067);Zn[En.id]=En,Qe.cubeCount++;var mn=Array(6);return Dn(nn,Pn,jt,Jt,fn,zn),Dn.subimage=function(wn,gn,yn,Sn,Vn){yn|=0,Sn|=0,Vn|=0;var Kn=Ot();return _t(Kn,En),Kn.width=0,Kn.height=0,Pt(Kn,gn),Kn.width=Kn.width||(En.width>>Vn)-yn,Kn.height=Kn.height||(En.height>>Vn)-Sn,sn(En),wt(Kn,34069+wn,yn,Sn,Vn),Tn(),Nt(Kn),Dn},Dn.resize=function(wn){if((wn|=0)!==En.width){Dn.width=En.width=wn,Dn.height=En.height=wn,sn(En);for(var gn=0;6>gn;++gn)for(var yn=0;En.mipmask>>yn;++yn)We.texImage2D(34069+gn,yn,En.format,wn>>yn,wn>>yn,0,En.format,En.type,null);return Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,Dn.width,Dn.height,!1,!0)),Dn}},Dn._reglType="textureCube",Dn._texture=En,ut.profile&&(Dn.stats=En.stats),Dn.destroy=function(){En.decRef()},Dn},clear:function(){for(var nn=0;nnJt;++Jt)if(jt.mipmask&1<>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);else for(var fn=0;6>fn;++fn)We.texImage2D(34069+fn,Jt,jt.internalformat,jt.width>>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);Yn(jt.texInfo,jt.target)})},refresh:function(){for(var nn=0;nnpn;++pn){for(Wn=0;Wndn;++dn)Tn[dn].resize(pn);return sn.width=sn.height=pn,sn},_reglType:"framebufferCube",destroy:function(){Tn.forEach(function(dn){dn.destroy()})}})},clear:function(){pe(Yn).forEach($t)},restore:function(){Qt.cur=null,Qt.next=null,Qt.dirty=!0,pe(Yn).forEach(function(kn){kn.framebuffer=We.createFramebuffer(),qt(kn)})}})}function R(){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 z(We,nt,ht,Oe,Ne,Qe,ut){function pt(){this.id=++Lt,this.attributes=[],this.elements=null,this.ownsElements=!1,this.offset=this.count=0,this.instances=-1,this.primitive=4;var wt=nt.oes_vertex_array_object;this.vao=wt?wt.createVertexArrayOES():null,yt[this.id]=this,this.buffers=[]}var _t=ht.maxAttributes,It=Array(_t);for(ht=0;ht<_t;++ht)It[ht]=new R;var Lt=0,yt={},Pt={Record:R,scope:{},state:It,currentVAO:null,targetVAO:null,restore:nt.oes_vertex_array_object?function(){nt.oes_vertex_array_object&&pe(yt).forEach(function(wt){wt.refresh()})}:function(){},createVAO:function(wt){function Ot($t){var qt;Array.isArray($t)?(qt=$t,Nt.elements&&Nt.ownsElements&&Nt.elements.destroy(),Nt.elements=null,Nt.ownsElements=!1,Nt.offset=0,Nt.count=0,Nt.instances=-1,Nt.primitive=4):($t.elements?(qt=$t.elements,Nt.ownsElements?(typeof qt=="function"&&qt._reglType==="elements"?Nt.elements.destroy():Nt.elements(qt),Nt.ownsElements=!1):Qe.getElements($t.elements)?(Nt.elements=$t.elements,Nt.ownsElements=!1):(Nt.elements=Qe.create($t.elements),Nt.ownsElements=!0)):(Nt.elements=null,Nt.ownsElements=!1),qt=$t.attributes,Nt.offset=0,Nt.count=-1,Nt.instances=-1,Nt.primitive=4,Nt.elements&&(Nt.count=Nt.elements._elements.vertCount,Nt.primitive=Nt.elements._elements.primType),"offset"in $t&&(Nt.offset=0|$t.offset),"count"in $t&&(Nt.count=0|$t.count),"instances"in $t&&(Nt.instances=0|$t.instances),"primitive"in $t&&(Nt.primitive=he[$t.primitive])),$t={};var Xt=Nt.attributes;Xt.length=qt.length;for(var Qt=0;Qt=An.byteLength?rn.subdata(An):(rn.destroy(),Nt.buffers[Qt]=null)),Nt.buffers[Qt]||(rn=Nt.buffers[Qt]=Ne.create(xn,34962,!1,!0)),un.buffer=Ne.getBuffer(rn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1,$t[Qt]=1):Ne.getBuffer(xn)?(un.buffer=Ne.getBuffer(xn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1):Ne.getBuffer(xn.buffer)?(un.buffer=Ne.getBuffer(xn.buffer),un.size=0|(+xn.size||un.buffer.dimension),un.normalized=!!xn.normalized||!1,un.type="type"in xn?_e[xn.type]:un.buffer.dtype,un.offset=0|(xn.offset||0),un.stride=0|(xn.stride||0),un.divisor=0|(xn.divisor||0),un.state=1):"x"in xn&&(un.x=+xn.x||0,un.y=+xn.y||0,un.z=+xn.z||0,un.w=+xn.w||0,un.state=2)}for(rn=0;rnOt&&(Ot=Nt.stats.uniformsCount)}),Ot},ht.getMaxAttributesCount=function(){var Ot=0;return Pt.forEach(function(Nt){Nt.stats.attributesCount>Ot&&(Ot=Nt.stats.attributesCount)}),Ot}),{clear:function(){var Ot=We.deleteShader.bind(We);pe(It).forEach(Ot),It={},pe(Lt).forEach(Ot),Lt={},Pt.forEach(function(Nt){We.deleteProgram(Nt.program)}),Pt.length=0,yt={},ht.shaderCount=0},program:function(Ot,Nt,$t,qt){var Xt=yt[Nt];Xt||(Xt=yt[Nt]={});var Qt=Xt[Ot];if(Qt&&(Qt.refCount++,!qt))return Qt;var rn=new pt(Nt,Ot);return ht.shaderCount++,_t(rn,$t,qt),Qt||(Xt[Ot]=rn),Pt.push(rn),re(rn,{destroy:function(){if(rn.refCount--,0>=rn.refCount){We.deleteProgram(rn.program);var xn=Pt.indexOf(rn);Pt.splice(xn,1),ht.shaderCount--}0>=Xt[rn.vertId].refCount&&(We.deleteShader(Lt[rn.vertId]),delete Lt[rn.vertId],delete yt[rn.fragId][rn.vertId]),Object.keys(yt[rn.fragId]).length||(We.deleteShader(It[rn.fragId]),delete It[rn.fragId],delete yt[rn.fragId])}})},restore:function(){It={},Lt={};for(var Ot=0;Ot>>nt|We<<32-nt}function q(We,nt){var ht=(65535&We)+(65535&nt);return(We>>16)+(nt>>16)+(ht>>16)<<16|65535&ht}function j(We){return Array.prototype.slice.call(We)}function Y(We){return j(We).join("")}function U(We){function nt(){var Lt=[],yt=[];return re(function(){Lt.push.apply(Lt,j(arguments))},{def:function(){var Pt="v"+Ne++;return yt.push(Pt),0Pe)?pe.tree=u(me,{bounds:ae}):Pe&&Pe.length&&(pe.tree=Pe),pe.tree){var he={primitive:"points",usage:"static",data:pe.tree,type:"uint32"};pe.elements?pe.elements(he):pe.elements=O.elements(he)}var be=m.float32(me);return _e({data:be,usage:"dynamic"}),Me({data:m.fract32(me,be),usage:"dynamic"}),Se({data:new Uint8Array(Ce),type:"uint8",usage:"stream"}),me}},{marker:function(me,pe,xe){var Pe=pe.activation;if(Pe.forEach(function(be){return be&&be.destroy&&be.destroy()}),Pe.length=0,me&&typeof me[0]!="number"){for(var _e=[],Me=0,Se=Math.min(me.length,pe.count);Me=0)return b;if(k instanceof Uint8Array||k instanceof Uint8ClampedArray)E=k;else{E=new Uint8Array(k.length);for(var O=0,I=k.length;O4*A&&(this.tooManyColors=!0),this.updatePalette(T),L.length===1?L[0]:L},C.prototype.updatePalette=function(k){if(!this.tooManyColors){var E=this.maxColors,T=this.paletteTexture,A=Math.ceil(.25*k.length/E);if(A>1)for(var L=.25*(k=k.slice()).length%E;L2?(k[0],k[2],_=k[1],y=k[3]):k.length?(_=k[0],y=k[1]):(k.x,_=k.y,k.x,k.width,y=k.y+k.height),E.length>2?(C=E[0],w=E[2],E[1],E[3]):E.length?(C=E[0],w=E[1]):(C=E.x,E.y,w=E.x+E.width,E.y,E.height),[C,_,w,y]}function l(h){if(typeof h=="number")return[h,h,h,h];if(h.length===2)return[h[0],h[1],h[0],h[1]];var f=p(h);return[f.x,f.y,f.x+f.width,f.y+f.height]}x.exports=a,a.prototype.render=function(){for(var h,f=this,m=[],_=arguments.length;_--;)m[_]=arguments[_];return m.length&&(h=this).update.apply(h,m),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?this.planned==null&&(this.planned=M(function(){f.draw(),f.dirty=!0,f.planned=null})):(this.draw(),this.dirty=!0,M(function(){f.dirty=!1})),this)},a.prototype.update=function(){for(var h,f=[],m=arguments.length;m--;)f[m]=arguments[m];if(f.length){for(var _=0;_F))&&(C.lower||!(z"u"?1:window.devicePixelRatio,It=!1,Lt={},yt=function(wt){},Pt=function(){};if(typeof Qe=="string"?nt=document.querySelector(Qe):typeof Qe=="object"&&(typeof Qe.nodeName=="string"&&typeof Qe.appendChild=="function"&&typeof Qe.getBoundingClientRect=="function"?nt=Qe:typeof Qe.drawArrays=="function"||typeof Qe.drawElements=="function"?Oe=(Ne=Qe).canvas:("gl"in Qe?Ne=Qe.gl:"canvas"in Qe?Oe=i(Qe.canvas):"container"in Qe&&(ht=i(Qe.container)),"attributes"in Qe&&(We=Qe.attributes),"extensions"in Qe&&(ut=v(Qe.extensions)),"optionalExtensions"in Qe&&(pt=v(Qe.optionalExtensions)),"onDone"in Qe&&(yt=Qe.onDone),"profile"in Qe&&(It=!!Qe.profile),"pixelRatio"in Qe&&(_t=+Qe.pixelRatio),"cachedCode"in Qe&&(Lt=Qe.cachedCode))),nt&&(nt.nodeName.toLowerCase()==="canvas"?Oe=nt:ht=nt),!Ne){if(!Oe){if(!(nt=function(wt,Ot,Nt){function $t(){var Qt=window.innerWidth,rn=window.innerHeight;wt!==document.body&&(Qt=(rn=Xt.getBoundingClientRect()).right-rn.left,rn=rn.bottom-rn.top),Xt.width=Nt*Qt,Xt.height=Nt*rn}var qt,Xt=document.createElement("canvas");return re(Xt.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),wt.appendChild(Xt),wt===document.body&&(Xt.style.position="absolute",re(wt.style,{margin:0,padding:0})),wt!==document.body&&typeof ResizeObserver=="function"?(qt=new ResizeObserver(function(){setTimeout($t)})).observe(wt):window.addEventListener("resize",$t,!1),$t(),{canvas:Xt,onDestroy:function(){qt?qt.disconnect():window.removeEventListener("resize",$t),wt.removeChild(Xt)}}}(ht||document.body,0,_t)))return null;Oe=nt.canvas,Pt=nt.onDestroy}We.premultipliedAlpha===void 0&&(We.premultipliedAlpha=!0),Ne=function(wt,Ot){function Nt($t){try{return wt.getContext($t,Ot)}catch{return null}}return Nt("webgl")||Nt("experimental-webgl")||Nt("webgl-experimental")}(Oe,We)}return Ne?{gl:Ne,canvas:Oe,container:ht,extensions:ut,optionalExtensions:pt,pixelRatio:_t,profile:It,cachedCode:Lt,onDone:yt,onDestroy:Pt}:(Pt(),yt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function g(We,nt){for(var ht=Array(We),Oe=0;Oe>>=nt))<<3,(nt|=ht=(15<(We>>>=ht))<<2)|(ht=(3<(We>>>=ht))<<1)|We>>>ht>>1}function u(){function We(Oe){e:{for(var Ne=16;268435456>=Ne;Ne*=16)if(Oe<=Ne){Oe=Ne;break e}Oe=0}return 0<(Ne=ht[p(Oe)>>2]).length?Ne.pop():new ArrayBuffer(Oe)}function nt(Oe){ht[p(Oe.byteLength)>>2].push(Oe)}var ht=g(8,function(){return[]});return{alloc:We,free:nt,allocType:function(Oe,Ne){var Qe=null;switch(Oe){case 5120:Qe=new Int8Array(We(Ne),0,Ne);break;case 5121:Qe=new Uint8Array(We(Ne),0,Ne);break;case 5122:Qe=new Int16Array(We(2*Ne),0,Ne);break;case 5123:Qe=new Uint16Array(We(2*Ne),0,Ne);break;case 5124:Qe=new Int32Array(We(4*Ne),0,Ne);break;case 5125:Qe=new Uint32Array(We(4*Ne),0,Ne);break;case 5126:Qe=new Float32Array(We(4*Ne),0,Ne);break;default:return null}return Qe.length!==Ne?Qe.subarray(0,Ne):Qe},freeType:function(Oe){nt(Oe.buffer)}}}function a(We){return!!We&&typeof We=="object"&&Array.isArray(We.shape)&&Array.isArray(We.stride)&&typeof We.offset=="number"&&We.shape.length===We.stride.length&&(Array.isArray(We.data)||me(We.data))}function c(We,nt,ht,Oe,Ne,Qe){for(var ut=0;ut(Pt=Nt)&&(Pt=yt.buffer.byteLength,Xt===5123?Pt>>=1:Xt===5125&&(Pt>>=2)),yt.vertCount=Pt,Pt=Ot,0>Ot&&(Pt=4,(Ot=yt.buffer.dimension)===1&&(Pt=0),Ot===2&&(Pt=1),Ot===3&&(Pt=4)),yt.primType=Pt}function ut(yt){Oe.elementsCount--,delete pt[yt.id],yt.buffer.destroy(),yt.buffer=null}var pt={},_t=0,It={uint8:5121,uint16:5123};nt.oes_element_index_uint&&(It.uint32=5125),Ne.prototype.bind=function(){this.buffer.bind()};var Lt=[];return{create:function(yt,Pt){function wt($t){if($t)if(typeof $t=="number")Ot($t),Nt.primType=4,Nt.vertCount=0|$t,Nt.type=5121;else{var qt=null,Xt=35044,Qt=-1,rn=-1,xn=0,un=0;Array.isArray($t)||me($t)||a($t)?qt=$t:("data"in $t&&(qt=$t.data),"usage"in $t&&(Xt=Me[$t.usage]),"primitive"in $t&&(Qt=he[$t.primitive]),"count"in $t&&(rn=0|$t.count),"type"in $t&&(un=It[$t.type]),"length"in $t?xn=0|$t.length:(xn=rn,un===5123||un===5122?xn*=2:un!==5125&&un!==5124||(xn*=4))),Qe(Nt,qt,Xt,Qt,rn,xn,un)}else Ot(),Nt.primType=4,Nt.vertCount=0,Nt.type=5121;return wt}var Ot=ht.create(null,34963,!0),Nt=new Ne(Ot._buffer);return Oe.elementsCount++,wt(yt),wt._reglType="elements",wt._elements=Nt,wt.subdata=function($t,qt){return Ot.subdata($t,qt),wt},wt.destroy=function(){ut(Nt)},wt},createStream:function(yt){var Pt=Lt.pop();return Pt||(Pt=new Ne(ht.create(null,34963,!0,!1)._buffer)),Qe(Pt,yt,35040,-1,-1,0,0),Pt},destroyStream:function(yt){Lt.push(yt)},getElements:function(yt){return typeof yt=="function"&&yt._elements instanceof Ne?yt._elements:null},clear:function(){pe(pt).forEach(ut)}}}function y(We){for(var nt=ye.allocType(5123,We.length),ht=0;ht>>31<<15,Ne=(Qe<<1>>>24)-127,Qe=Qe>>13&1023;nt[ht]=-24>Ne?Oe:-14>Ne?Oe+(Qe+1024>>-14-Ne):15>=fn,jt.height>>=fn,Pt(jt,Jt[fn]),nn.mipmask|=1<Pn;++Pn)nn.images[Pn]=null;return nn}function xn(nn){for(var Pn=nn.images,jt=0;jtnn){for(var Pn=0;Pn=--this.refCount&&dn(this)}}),ut.profile&&(Qe.getTotalTextureSize=function(){var nn=0;return Object.keys(Zn).forEach(function(Pn){nn+=Zn[Pn].stats.size}),nn}),{create2D:function(nn,Pn){function jt(fn,zn){var Dn=Jt.texInfo;un.call(Dn);var En=rn();return typeof fn=="number"?qt(En,0|fn,typeof zn=="number"?0|zn:0|fn):fn?(An(Dn,fn),Xt(En,fn)):qt(En,1,1),Dn.genMipmaps&&(En.mipmask=(En.width<<1)-1),Jt.mipmask=En.mipmask,_t(Jt,En),Jt.internalformat=En.internalformat,jt.width=En.width,jt.height=En.height,sn(Jt),Qt(En,3553),Yn(Dn,3553),Tn(),xn(En),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,En.width,En.height,Dn.genMipmaps,!1)),jt.format=or[Jt.internalformat],jt.type=yr[Jt.type],jt.mag=wr[Dn.magFilter],jt.min=Kt[Dn.minFilter],jt.wrapS=bn[Dn.wrapS],jt.wrapT=bn[Dn.wrapT],jt}var Jt=new kn(3553);return Zn[Jt.id]=Jt,Qe.textureCount++,jt(nn,Pn),jt.subimage=function(fn,zn,Dn,En){zn|=0,Dn|=0,En|=0;var mn=Ot();return _t(mn,Jt),mn.width=0,mn.height=0,Pt(mn,fn),mn.width=mn.width||(Jt.width>>En)-zn,mn.height=mn.height||(Jt.height>>En)-Dn,sn(Jt),wt(mn,3553,zn,Dn,En),Tn(),Nt(mn),jt},jt.resize=function(fn,zn){var Dn=0|fn,En=0|zn||Dn;if(Dn===Jt.width&&En===Jt.height)return jt;jt.width=Jt.width=Dn,jt.height=Jt.height=En,sn(Jt);for(var mn=0;Jt.mipmask>>mn;++mn){var wn=Dn>>mn,gn=En>>mn;if(!wn||!gn)break;We.texImage2D(3553,mn,Jt.format,wn,gn,0,Jt.format,Jt.type,null)}return Tn(),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,Dn,En,!1,!1)),jt},jt._reglType="texture2d",jt._texture=Jt,ut.profile&&(jt.stats=Jt.stats),jt.destroy=function(){Jt.decRef()},jt},createCube:function(nn,Pn,jt,Jt,fn,zn){function Dn(wn,gn,yn,Sn,Vn,Kn){var nr,Qn=En.texInfo;for(un.call(Qn),nr=0;6>nr;++nr)mn[nr]=rn();if(typeof wn!="number"&&wn){if(typeof wn=="object")if(gn)Xt(mn[0],wn),Xt(mn[1],gn),Xt(mn[2],yn),Xt(mn[3],Sn),Xt(mn[4],Vn),Xt(mn[5],Kn);else if(An(Qn,wn),It(En,wn),"faces"in wn)for(wn=wn.faces,nr=0;6>nr;++nr)_t(mn[nr],En),Xt(mn[nr],wn[nr]);else for(nr=0;6>nr;++nr)Xt(mn[nr],wn)}else for(wn=0|wn||1,nr=0;6>nr;++nr)qt(mn[nr],wn,wn);for(_t(En,mn[0]),En.mipmask=Qn.genMipmaps?(mn[0].width<<1)-1:mn[0].mipmask,En.internalformat=mn[0].internalformat,Dn.width=mn[0].width,Dn.height=mn[0].height,sn(En),nr=0;6>nr;++nr)Qt(mn[nr],34069+nr);for(Yn(Qn,34067),Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,Dn.width,Dn.height,Qn.genMipmaps,!0)),Dn.format=or[En.internalformat],Dn.type=yr[En.type],Dn.mag=wr[Qn.magFilter],Dn.min=Kt[Qn.minFilter],Dn.wrapS=bn[Qn.wrapS],Dn.wrapT=bn[Qn.wrapT],nr=0;6>nr;++nr)xn(mn[nr]);return Dn}var En=new kn(34067);Zn[En.id]=En,Qe.cubeCount++;var mn=Array(6);return Dn(nn,Pn,jt,Jt,fn,zn),Dn.subimage=function(wn,gn,yn,Sn,Vn){yn|=0,Sn|=0,Vn|=0;var Kn=Ot();return _t(Kn,En),Kn.width=0,Kn.height=0,Pt(Kn,gn),Kn.width=Kn.width||(En.width>>Vn)-yn,Kn.height=Kn.height||(En.height>>Vn)-Sn,sn(En),wt(Kn,34069+wn,yn,Sn,Vn),Tn(),Nt(Kn),Dn},Dn.resize=function(wn){if((wn|=0)!==En.width){Dn.width=En.width=wn,Dn.height=En.height=wn,sn(En);for(var gn=0;6>gn;++gn)for(var yn=0;En.mipmask>>yn;++yn)We.texImage2D(34069+gn,yn,En.format,wn>>yn,wn>>yn,0,En.format,En.type,null);return Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,Dn.width,Dn.height,!1,!0)),Dn}},Dn._reglType="textureCube",Dn._texture=En,ut.profile&&(Dn.stats=En.stats),Dn.destroy=function(){En.decRef()},Dn},clear:function(){for(var nn=0;nnJt;++Jt)if(jt.mipmask&1<>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);else for(var fn=0;6>fn;++fn)We.texImage2D(34069+fn,Jt,jt.internalformat,jt.width>>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);Yn(jt.texInfo,jt.target)})},refresh:function(){for(var nn=0;nnpn;++pn){for(Wn=0;Wndn;++dn)Tn[dn].resize(pn);return sn.width=sn.height=pn,sn},_reglType:"framebufferCube",destroy:function(){Tn.forEach(function(dn){dn.destroy()})}})},clear:function(){pe(Yn).forEach($t)},restore:function(){Qt.cur=null,Qt.next=null,Qt.dirty=!0,pe(Yn).forEach(function(kn){kn.framebuffer=We.createFramebuffer(),qt(kn)})}})}function R(){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 z(We,nt,ht,Oe,Ne,Qe,ut){function pt(){this.id=++Lt,this.attributes=[],this.elements=null,this.ownsElements=!1,this.offset=this.count=0,this.instances=-1,this.primitive=4;var wt=nt.oes_vertex_array_object;this.vao=wt?wt.createVertexArrayOES():null,yt[this.id]=this,this.buffers=[]}var _t=ht.maxAttributes,It=Array(_t);for(ht=0;ht<_t;++ht)It[ht]=new R;var Lt=0,yt={},Pt={Record:R,scope:{},state:It,currentVAO:null,targetVAO:null,restore:nt.oes_vertex_array_object?function(){nt.oes_vertex_array_object&&pe(yt).forEach(function(wt){wt.refresh()})}:function(){},createVAO:function(wt){function Ot($t){var qt;Array.isArray($t)?(qt=$t,Nt.elements&&Nt.ownsElements&&Nt.elements.destroy(),Nt.elements=null,Nt.ownsElements=!1,Nt.offset=0,Nt.count=0,Nt.instances=-1,Nt.primitive=4):($t.elements?(qt=$t.elements,Nt.ownsElements?(typeof qt=="function"&&qt._reglType==="elements"?Nt.elements.destroy():Nt.elements(qt),Nt.ownsElements=!1):Qe.getElements($t.elements)?(Nt.elements=$t.elements,Nt.ownsElements=!1):(Nt.elements=Qe.create($t.elements),Nt.ownsElements=!0)):(Nt.elements=null,Nt.ownsElements=!1),qt=$t.attributes,Nt.offset=0,Nt.count=-1,Nt.instances=-1,Nt.primitive=4,Nt.elements&&(Nt.count=Nt.elements._elements.vertCount,Nt.primitive=Nt.elements._elements.primType),"offset"in $t&&(Nt.offset=0|$t.offset),"count"in $t&&(Nt.count=0|$t.count),"instances"in $t&&(Nt.instances=0|$t.instances),"primitive"in $t&&(Nt.primitive=he[$t.primitive])),$t={};var Xt=Nt.attributes;Xt.length=qt.length;for(var Qt=0;Qt=An.byteLength?rn.subdata(An):(rn.destroy(),Nt.buffers[Qt]=null)),Nt.buffers[Qt]||(rn=Nt.buffers[Qt]=Ne.create(xn,34962,!1,!0)),un.buffer=Ne.getBuffer(rn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1,$t[Qt]=1):Ne.getBuffer(xn)?(un.buffer=Ne.getBuffer(xn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1):Ne.getBuffer(xn.buffer)?(un.buffer=Ne.getBuffer(xn.buffer),un.size=0|(+xn.size||un.buffer.dimension),un.normalized=!!xn.normalized||!1,un.type="type"in xn?_e[xn.type]:un.buffer.dtype,un.offset=0|(xn.offset||0),un.stride=0|(xn.stride||0),un.divisor=0|(xn.divisor||0),un.state=1):"x"in xn&&(un.x=+xn.x||0,un.y=+xn.y||0,un.z=+xn.z||0,un.w=+xn.w||0,un.state=2)}for(rn=0;rnOt&&(Ot=Nt.stats.uniformsCount)}),Ot},ht.getMaxAttributesCount=function(){var Ot=0;return Pt.forEach(function(Nt){Nt.stats.attributesCount>Ot&&(Ot=Nt.stats.attributesCount)}),Ot}),{clear:function(){var Ot=We.deleteShader.bind(We);pe(It).forEach(Ot),It={},pe(Lt).forEach(Ot),Lt={},Pt.forEach(function(Nt){We.deleteProgram(Nt.program)}),Pt.length=0,yt={},ht.shaderCount=0},program:function(Ot,Nt,$t,qt){var Xt=yt[Nt];Xt||(Xt=yt[Nt]={});var Qt=Xt[Ot];if(Qt&&(Qt.refCount++,!qt))return Qt;var rn=new pt(Nt,Ot);return ht.shaderCount++,_t(rn,$t,qt),Qt||(Xt[Ot]=rn),Pt.push(rn),re(rn,{destroy:function(){if(rn.refCount--,0>=rn.refCount){We.deleteProgram(rn.program);var xn=Pt.indexOf(rn);Pt.splice(xn,1),ht.shaderCount--}0>=Xt[rn.vertId].refCount&&(We.deleteShader(Lt[rn.vertId]),delete Lt[rn.vertId],delete yt[rn.fragId][rn.vertId]),Object.keys(yt[rn.fragId]).length||(We.deleteShader(It[rn.fragId]),delete It[rn.fragId],delete yt[rn.fragId])}})},restore:function(){It={},Lt={};for(var Ot=0;Ot>>nt|We<<32-nt}function q(We,nt){var ht=(65535&We)+(65535&nt);return(We>>16)+(nt>>16)+(ht>>16)<<16|65535&ht}function j(We){return Array.prototype.slice.call(We)}function Y(We){return j(We).join("")}function U(We){function nt(){var Lt=[],yt=[];return re(function(){Lt.push.apply(Lt,j(arguments))},{def:function(){var Pt="v"+Ne++;return yt.push(Pt),0>>4&15)+"0123456789abcdef".charAt(15&Ot);return Nt}(function(wt){for(var Ot=Array(wt.length>>2),Nt=0;Nt>5]|=(255&wt.charCodeAt(Nt/8))<<24-Nt%32;var $t,qt,Xt,Qt,rn,xn,un,An,Yn,kn,sn,Tn=8*wt.length;for(wt=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Nt=Array(64),Ot[Tn>>5]|=128<<24-Tn%32,Ot[15+(Tn+64>>9<<4)]=Tn,An=0;AnYn;Yn++){var dn;16>Yn?Nt[Yn]=Ot[Yn+An]:(kn=Yn,sn=q(sn=N(sn=Nt[Yn-2],17)^N(sn,19)^sn>>>10,Nt[Yn-7]),dn=N(dn=Nt[Yn-15],7)^N(dn,18)^dn>>>3,Nt[kn]=q(q(sn,dn),Nt[Yn-16])),kn=q(q(q(q(un,kn=N(kn=Qt,6)^N(kn,11)^N(kn,25)),Qt&rn^~Qt&xn),xt[Yn]),Nt[Yn]),sn=q(un=N(un=Tn,2)^N(un,13)^N(un,22),Tn&$t^Tn&qt^$t&qt),un=xn,xn=rn,rn=Qt,Qt=q(Xt,kn),Xt=qt,qt=$t,$t=Tn,Tn=q(kn,sn)}wt[0]=q(Tn,wt[0]),wt[1]=q($t,wt[1]),wt[2]=q(qt,wt[2]),wt[3]=q(Xt,wt[3]),wt[4]=q(Qt,wt[4]),wt[5]=q(rn,wt[5]),wt[6]=q(xn,wt[6]),wt[7]=q(un,wt[7])}for(Ot="",Nt=0;Nt<32*wt.length;Nt+=8)Ot+=String.fromCharCode(wt[Nt>>5]>>>24-Nt%32&255);return Ot}(function(wt){for(var Ot,Nt,$t="",qt=-1;++qt=Ot&&56320<=Nt&&57343>=Nt&&(Ot=65536+((1023&Ot)<<10)+(1023&Nt),qt++),127>=Ot?$t+=String.fromCharCode(Ot):2047>=Ot?$t+=String.fromCharCode(192|Ot>>>6&31,128|63&Ot):65535>=Ot?$t+=String.fromCharCode(224|Ot>>>12&15,128|Ot>>>6&63,128|63&Ot):2097151>=Ot&&($t+=String.fromCharCode(240|Ot>>>18&7,128|Ot>>>12&63,128|Ot>>>6&63,128|63&Ot));return $t}(Pt))),Oe[yt])?Oe[yt].apply(null,ut):(Pt=Function.apply(null,Qe.concat(Pt)),Oe&&(Oe[yt]=Pt),Pt.apply(null,ut))}}}function G(We){return Array.isArray(We)||me(We)||a(We)}function W(We){return We.sort(function(nt,ht){return nt==="viewport"?-1:ht==="viewport"?1:nt"+xr+"?"+Sn+".constant["+xr+"]:0;"}).join(""),"}}else{","if(",nr,"(",Sn,".buffer)){",fr,"=",Vn,".createStream(",34962,",",Sn,".buffer);","}else{",fr,"=",Vn,".getBuffer(",Sn,".buffer);","}",mr,'="type" in ',Sn,"?",Kn.glTypes,"[",Sn,".type]:",fr,".dtype;",Qn.normalized,"=!!",Sn,".normalized;"),yn("size"),yn("offset"),yn("stride"),yn("divisor"),gn("}}"),gn.exit("if(",Qn.isStream,"){",Vn,".destroyStream(",fr,");","}"),Qn})}),Dn}function Yn(jt,Jt,fn,zn,Dn){function En(hr){var fr=wn[hr];fr&&(yn[hr]=fr)}var mn=function(hr,fr){if(typeof(mr=hr.static).frag=="string"&&typeof mr.vert=="string"){if(0"u"?"Date.now()":"performance.now()"}function mn(hr){hr(yn=Jt.def(),"=",En(),";"),typeof Dn=="string"?hr(Kn,".count+=",Dn,";"):hr(Kn,".count++;"),wt&&(zn?hr(Sn=Jt.def(),"=",Qn,".getNumPendingQueries();"):hr(Qn,".beginQuery(",Kn,");"))}function wn(hr){hr(Kn,".cpuTime+=",En(),"-",yn,";"),wt&&(zn?hr(Qn,".pushScopeStats(",Sn,",",Qn,".getNumPendingQueries(),",Kn,");"):hr(Qn,".endQuery();"))}function gn(hr){var fr=Jt.def(nr,".profile");Jt(nr,".profile=",hr,";"),Jt.exit(nr,".profile=",fr,";")}var yn,Sn,Vn=jt.shared,Kn=jt.stats,nr=Vn.current,Qn=Vn.timer;if(fn=fn.profile){if(ne(fn))return void(fn.enable?(mn(Jt),wn(Jt.exit),gn("true")):gn("false"));gn(fn=fn.append(jt,Jt))}else fn=Jt.def(nr,".profile");mn(Vn=jt.block()),Jt("if(",fn,"){",Vn,"}"),wn(jt=jt.block()),Jt.exit("if(",fn,"){",jt,"}")}function In(jt,Jt,fn,zn,Dn){function En(wn,gn,yn){function Sn(){Jt("if(!",Qn,".buffer){",Kn,".enableVertexAttribArray(",nr,");}");var pr,xr=yn.type;pr=yn.size?Jt.def(yn.size,"||",gn):gn,Jt("if(",Qn,".type!==",xr,"||",Qn,".size!==",pr,"||",mr.map(function(Rr){return Qn+"."+Rr+"!=="+yn[Rr]}).join("||"),"){",Kn,".bindBuffer(",34962,",",hr,".buffer);",Kn,".vertexAttribPointer(",[nr,pr,xr,yn.normalized,yn.stride,yn.offset],");",Qn,".type=",xr,";",Qn,".size=",pr,";",mr.map(function(Rr){return Qn+"."+Rr+"="+yn[Rr]+";"}).join(""),"}"),Kt&&(xr=yn.divisor,Jt("if(",Qn,".divisor!==",xr,"){",jt.instancing,".vertexAttribDivisorANGLE(",[nr,xr],");",Qn,".divisor=",xr,";}"))}function Vn(){Jt("if(",Qn,".buffer){",Kn,".disableVertexAttribArray(",nr,");",Qn,".buffer=null;","}if(",Ft.map(function(pr,xr){return Qn+"."+pr+"!=="+fr[xr]}).join("||"),"){",Kn,".vertexAttrib4f(",nr,",",fr,");",Ft.map(function(pr,xr){return Qn+"."+pr+"="+fr[xr]+";"}).join(""),"}")}var Kn=mn.gl,nr=Jt.def(wn,".location"),Qn=Jt.def(mn.attributes,"[",nr,"]");wn=yn.state;var hr=yn.buffer,fr=[yn.x,yn.y,yn.z,yn.w],mr=["buffer","normalized","offset","stride"];wn===1?Sn():wn===2?Vn():(Jt("if(",wn,"===",1,"){"),Sn(),Jt("}else{"),Vn(),Jt("}"))}var mn=jt.shared;zn.forEach(function(wn){var gn,yn=wn.name,Sn=fn.attributes[yn];if(Sn){if(!Dn(Sn))return;gn=Sn.append(jt,Jt)}else{if(!Dn(Je))return;var Vn=jt.scopeAttrib(yn);gn={},Object.keys(new yr).forEach(function(Kn){gn[Kn]=Jt.def(Vn,".",Kn)})}En(jt.link(wn),function(Kn){switch(Kn){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(wn.info.type),gn)})}function jn(jt,Jt,fn,zn,Dn,En){for(var mn,wn=jt.shared,gn=wn.gl,yn=0;yn>1)",wn],");")}function Rr(){fn(gn,".drawArraysInstancedANGLE(",[Qn,hr,fr,wn],");")}nr&&nr!=="null"?pr?xr():(fn("if(",nr,"){"),xr(),fn("}else{"),Rr(),fn("}")):Rr()}function mn(){function xr(){fn(Sn+".drawElements("+[Qn,fr,mr,hr+"<<(("+mr+"-5121)>>1)"]+");")}function Rr(){fn(Sn+".drawArrays("+[Qn,hr,fr]+");")}nr&&nr!=="null"?pr?xr():(fn("if(",nr,"){"),xr(),fn("}else{"),Rr(),fn("}")):Rr()}var wn,gn,yn=jt.shared,Sn=yn.gl,Vn=yn.draw,Kn=zn.draw,nr=function(){var xr=Kn.elements,Rr=Jt;return xr?((xr.contextDep&&zn.contextDynamic||xr.propDep)&&(Rr=fn),xr=xr.append(jt,Rr),Kn.elementsActive&&Rr("if("+xr+")"+Sn+".bindBuffer(34963,"+xr+".buffer.buffer);")):(xr=Rr.def(),Rr(xr,"=",Vn,".","elements",";","if(",xr,"){",Sn,".bindBuffer(",34963,",",xr,".buffer.buffer);}","else if(",yn.vao,".currentVAO){",xr,"=",jt.shared.elements+".getElements("+yn.vao,".currentVAO.elements);",On?"":"if("+xr+")"+Sn+".bindBuffer(34963,"+xr+".buffer.buffer);","}")),xr}(),Qn=Dn("primitive"),hr=Dn("offset"),fr=function(){var xr=Kn.count,Rr=Jt;return xr?((xr.contextDep&&zn.contextDynamic||xr.propDep)&&(Rr=fn),xr=xr.append(jt,Rr)):xr=Rr.def(Vn,".","count"),xr}();if(typeof fr=="number"){if(fr===0)return}else fn("if(",fr,"){"),fn.exit("}");Kt&&(wn=Dn("instances"),gn=jt.instancing);var mr=nr+".type",pr=Kn.elements&&ne(Kn.elements)&&!Kn.vaoActive;Kt&&(typeof wn!="number"||0<=wn)?typeof wn=="string"?(fn("if(",wn,">0){"),En(),fn("}else if(",wn,"<0){"),mn(),fn("}")):En():mn()}function Wn(jt,Jt,fn,zn,Dn){return Dn=(Jt=Qt()).proc("body",Dn),Kt&&(Jt.instancing=Dn.def(Jt.shared.extensions,".angle_instanced_arrays")),jt(Jt,Dn,fn,zn),Jt.compile().body}function ur(jt,Jt,fn,zn){pn(jt,Jt),fn.useVAO?fn.drawVAO?Jt(jt.shared.vao,".setVAO(",fn.drawVAO.append(jt,Jt),");"):Jt(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(Jt(jt.shared.vao,".setVAO(null);"),In(jt,Jt,fn,zn.attributes,function(){return!0})),jn(jt,Jt,fn,zn.uniforms,function(){return!0},!1),Gn(jt,Jt,Jt,fn)}function rr(jt,Jt,fn,zn){function Dn(){return!0}jt.batchId="a1",pn(jt,Jt),In(jt,Jt,fn,zn.attributes,Dn),jn(jt,Jt,fn,zn.uniforms,Dn,!1),Gn(jt,Jt,Jt,fn)}function Lr(jt,Jt,fn,zn){function Dn(Vn){return Vn.contextDep&&mn||Vn.propDep}function En(Vn){return!Dn(Vn)}pn(jt,Jt);var mn=fn.contextDep,wn=Jt.def(),gn=Jt.def();jt.shared.props=gn,jt.batchId=wn;var yn=jt.scope(),Sn=jt.scope();Jt(yn.entry,"for(",wn,"=0;",wn,"<","a1",";++",wn,"){",gn,"=","a0","[",wn,"];",Sn,"}",yn.exit),fn.needsContext&&kn(jt,Sn,fn.context),fn.needsFramebuffer&&sn(jt,Sn,fn.framebuffer),dn(jt,Sn,fn.state,Dn),fn.profile&&Dn(fn.profile)&&Rn(jt,Sn,fn,!1,!0),zn?(fn.useVAO?fn.drawVAO?Dn(fn.drawVAO)?Sn(jt.shared.vao,".setVAO(",fn.drawVAO.append(jt,Sn),");"):yn(jt.shared.vao,".setVAO(",fn.drawVAO.append(jt,yn),");"):yn(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(yn(jt.shared.vao,".setVAO(null);"),In(jt,yn,fn,zn.attributes,En),In(jt,Sn,fn,zn.attributes,Dn)),jn(jt,yn,fn,zn.uniforms,En,!1),jn(jt,Sn,fn,zn.uniforms,Dn,!0),Gn(jt,yn,Sn,fn)):(Jt=jt.global.def("{}"),zn=fn.shader.progVar.append(jt,Sn),gn=Sn.def(zn,".id"),yn=Sn.def(Jt,"[",gn,"]"),Sn(jt.shared.gl,".useProgram(",zn,".program);","if(!",yn,"){",yn,"=",Jt,"[",gn,"]=",jt.link(function(Vn){return Wn(rr,jt,fn,Vn,2)}),"(",zn,");}",yn,".call(this,a0[",wn,"],",wn,");"))}function br(jt,Jt){function fn(wn){var gn=Jt.shader[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(Dn.shader,"."+wn,gn):zn.set(Dn.shader,"."+wn,jt.link(gn,{stable:!0})))}var zn=jt.proc("scope",3);jt.batchId="a2";var Dn=jt.shared,En=Dn.current;if(kn(jt,zn,Jt.context),Jt.framebuffer&&Jt.framebuffer.append(jt,zn),W(Object.keys(Jt.state)).forEach(function(wn){var gn=Jt.state[wn],yn=gn.append(jt,zn);C(yn)?yn.forEach(function(Sn,Vn){isNaN(Sn)?zn.set(jt.next[wn],"["+Vn+"]",Sn):zn.set(jt.next[wn],"["+Vn+"]",jt.link(Sn,{stable:!0}))}):ne(gn)?zn.set(Dn.next,"."+wn,jt.link(yn,{stable:!0})):zn.set(Dn.next,"."+wn,yn)}),Rn(jt,zn,Jt,!0,!0),["elements","offset","count","instances","primitive"].forEach(function(wn){var gn=Jt.draw[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(Dn.draw,"."+wn,gn):zn.set(Dn.draw,"."+wn,jt.link(gn),{stable:!0}))}),Object.keys(Jt.uniforms).forEach(function(wn){var gn=Jt.uniforms[wn].append(jt,zn);Array.isArray(gn)&&(gn="["+gn.map(function(yn){return isNaN(yn)?yn:jt.link(yn,{stable:!0})})+"]"),zn.set(Dn.uniforms,"["+jt.link(nt.id(wn),{stable:!0})+"]",gn)}),Object.keys(Jt.attributes).forEach(function(wn){var gn=Jt.attributes[wn].append(jt,zn),yn=jt.scopeAttrib(wn);Object.keys(new yr).forEach(function(Sn){zn.set(yn,"."+Sn,gn[Sn])})}),Jt.scopeVAO){var mn=Jt.scopeVAO.append(jt,zn);isNaN(mn)?zn.set(Dn.vao,".targetVAO",mn):zn.set(Dn.vao,".targetVAO",jt.link(mn,{stable:!0}))}fn("vert"),fn("frag"),0=--this.refCount&&ut(this)},Ne.profile&&(Oe.getTotalRenderbufferSize=function(){var yt=0;return Object.keys(Lt).forEach(function(Pt){yt+=Lt[Pt].stats.size}),yt}),{create:function(yt,Pt){function wt(Nt,$t){var qt=0,Xt=0,Qt=32854;if(typeof Nt=="object"&&Nt?("shape"in Nt?(qt=0|(Xt=Nt.shape)[0],Xt=0|Xt[1]):("radius"in Nt&&(qt=Xt=0|Nt.radius),"width"in Nt&&(qt=0|Nt.width),"height"in Nt&&(Xt=0|Nt.height)),"format"in Nt&&(Qt=pt[Nt.format])):typeof Nt=="number"?(qt=0|Nt,Xt=typeof $t=="number"?0|$t:qt):Nt||(qt=Xt=1),qt!==Ot.width||Xt!==Ot.height||Qt!==Ot.format)return wt.width=Ot.width=qt,wt.height=Ot.height=Xt,Ot.format=Qt,We.bindRenderbuffer(36161,Ot.renderbuffer),We.renderbufferStorage(36161,Qt,qt,Xt),Ne.profile&&(Ot.stats.size=ft[Ot.format]*Ot.width*Ot.height),wt.format=_t[Ot.format],wt}var Ot=new Qe(We.createRenderbuffer());return Lt[Ot.id]=Ot,Oe.renderbufferCount++,wt(yt,Pt),wt.resize=function(Nt,$t){var qt=0|Nt,Xt=0|$t||qt;return qt===Ot.width&&Xt===Ot.height||(wt.width=Ot.width=qt,wt.height=Ot.height=Xt,We.bindRenderbuffer(36161,Ot.renderbuffer),We.renderbufferStorage(36161,Ot.format,qt,Xt),Ne.profile&&(Ot.stats.size=ft[Ot.format]*Ot.width*Ot.height)),wt},wt._reglType="renderbuffer",wt._renderbuffer=Ot,Ne.profile&&(wt.stats=Ot.stats),wt.destroy=function(){Ot.decRef()},wt},clear:function(){pe(Lt).forEach(ut)},restore:function(){pe(Lt).forEach(function(yt){yt.renderbuffer=We.createRenderbuffer(),We.bindRenderbuffer(36161,yt.renderbuffer),We.renderbufferStorage(36161,yt.format,yt.width,yt.height)}),We.bindRenderbuffer(36161,null)}}},Et=[];Et[6408]=4,Et[6407]=3;var kt=[];kt[5121]=1,kt[5126]=4,kt[36193]=2;var xt=[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],Ft=["x","y","z","w"],Dt="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),Bt={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},Wt={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},Vt={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Ke={cw:2304,ccw:2305},Je=new H(!1,!1,!1,function(){});return function(We){function nt(){if(rr.length===0)rn&&rn.update(),yr=null;else{yr=ue.next(nt),Lt();for(var Kt=rr.length-1;0<=Kt;--Kt){var bn=rr[Kt];bn&&bn(Yn,null,0)}wt.flush(),rn&&rn.update()}}function ht(){!yr&&0=rr.length&&Oe()}}}}function It(){var Kt=Wn.viewport,bn=Wn.scissor_box;Kt[0]=Kt[1]=bn[0]=bn[1]=0,Yn.viewportWidth=Yn.framebufferWidth=Yn.drawingBufferWidth=Kt[2]=bn[2]=wt.drawingBufferWidth,Yn.viewportHeight=Yn.framebufferHeight=Yn.drawingBufferHeight=Kt[3]=bn[3]=wt.drawingBufferHeight}function Lt(){Yn.tick+=1,Yn.time=Pt(),It(),Gn.procs.poll()}function yt(){Rn.refresh(),It(),Gn.procs.refresh(),rn&&rn.update()}function Pt(){return(ce()-xn)/1e3}if(!(We=M(We)))return null;var wt=We.gl,Ot=wt.getContextAttributes();wt.isContextLost();var Nt=function(Kt,bn){function On(Zn){var tr;Zn=Zn.toLowerCase();try{tr=Ln[Zn]=Kt.getExtension(Zn)}catch{}return!!tr}for(var Ln={},Un=0;Unbn;++bn)wr(re({framebuffer:Kt.framebuffer.faces[bn]},Kt),pt);else wr(Kt,pt);else pt(0,Kt)},prop:oe.define.bind(null,1),context:oe.define.bind(null,2),this:oe.define.bind(null,3),draw:ut({}),buffer:function(Kt){return sn.create(Kt,34962,!1,!1)},elements:function(Kt){return Tn.create(Kt,!1)},texture:Rn.create2D,cube:Rn.createCube,renderbuffer:In.create,framebuffer:jn.create,framebufferCube:jn.createCube,vao:dn.createVAO,attributes:Ot,frame:_t,on:function(Kt,bn){var On;switch(Kt){case"frame":return _t(bn);case"lost":On=Lr;break;case"restore":On=br;break;case"destroy":On=or}return On.push(bn),{cancel:function(){for(var Ln=0;Ln2?"one of ".concat(i," ").concat(g.slice(0,M-1).join(", "),", or ")+g[M-1]:M===2?"one of ".concat(i," ").concat(g[0]," or ").concat(g[1]):"of ".concat(i," ").concat(g[0])}return"of ".concat(i," ").concat(String(g))}t("ERR_INVALID_OPT_VALUE",function(g,i){return'The value "'+i+'" is invalid for option "'+g+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(g,i,M){var v,p,u,a,c;if(typeof i=="string"&&(p="not ",i.substr(0,p.length)===p)?(v="must not be",i=i.replace(/^not /,"")):v="must be",function(l,h,f){return(f===void 0||f>l.length)&&(f=l.length),l.substring(f-h.length,f)===h}(g," argument"))u="The ".concat(g," ").concat(v," ").concat(d(i,"type"));else{var s=(typeof c!="number"&&(c=0),c+1>(a=g).length||a.indexOf(".",c)===-1?"argument":"property");u='The "'.concat(g,'" ').concat(s," ").concat(v," ").concat(d(i,"type"))}return u+". Received type ".concat(typeof M)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(g){return"The "+g+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(g){return"Cannot call "+g+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(g){return"Unknown encoding: "+g},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),x.exports.q=o},37865:function(x,o,t){var d=t(90386),g=Object.keys||function(l){var h=[];for(var f in l)h.push(f);return h};x.exports=a;var i=t(40410),M=t(37493);t(42018)(a,i);for(var v=g(M.prototype),p=0;p0)if(typeof Z=="string"||oe.objectMode||Object.getPrototypeOf(Z)===p.prototype||(Z=function(ue){return p.from(ue)}(Z)),Q)oe.endEmitted?E(te,new k):O(te,oe,Z,!0);else if(oe.ended)E(te,new C);else{if(oe.destroyed)return!1;oe.reading=!1,oe.decoder&&!X?(Z=oe.decoder.write(Z),oe.objectMode||Z.length!==0?O(te,oe,Z,!1):B(te,oe)):O(te,oe,Z,!1)}else Q||(oe.reading=!1,B(te,oe));return!oe.ended&&(oe.lengthZ.highWaterMark&&(Z.highWaterMark=function(X){return X>=I?X=I:(X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>>16,X++),X}(te)),te<=Z.length?te:Z.ended?Z.length:(Z.needReadable=!0,0))}function z(te){var Z=te._readableState;i("emitReadable",Z.needReadable,Z.emittedReadable),Z.needReadable=!1,Z.emittedReadable||(i("emitReadable",Z.flowing),Z.emittedReadable=!0,g.nextTick(F,te))}function F(te){var Z=te._readableState;i("emitReadable_",Z.destroyed,Z.length,Z.ended),Z.destroyed||!Z.length&&!Z.ended||(te.emit("readable"),Z.emittedReadable=!1),Z.needReadable=!Z.flowing&&!Z.ended&&Z.length<=Z.highWaterMark,U(te)}function B(te,Z){Z.readingMore||(Z.readingMore=!0,g.nextTick(N,te,Z))}function N(te,Z){for(;!Z.reading&&!Z.ended&&(Z.length0,Z.resumeScheduled&&!Z.paused?Z.flowing=!0:te.listenerCount("data")>0&&te.resume()}function j(te){i("readable nexttick read 0"),te.read(0)}function Y(te,Z){i("resume",Z.reading),Z.reading||te.read(0),Z.resumeScheduled=!1,te.emit("resume"),U(te),Z.flowing&&!Z.reading&&te.read(0)}function U(te){var Z=te._readableState;for(i("flow",Z.flowing);Z.flowing&&te.read()!==null;);}function G(te,Z){return Z.length===0?null:(Z.objectMode?X=Z.buffer.shift():!te||te>=Z.length?(X=Z.decoder?Z.buffer.join(""):Z.buffer.length===1?Z.buffer.first():Z.buffer.concat(Z.length),Z.buffer.clear()):X=Z.buffer.consume(te,Z.decoder),X);var X}function W(te){var Z=te._readableState;i("endReadable",Z.endEmitted),Z.endEmitted||(Z.ended=!0,g.nextTick(H,Z,te))}function H(te,Z){if(i("endReadableNT",te.endEmitted,te.length),!te.endEmitted&&te.length===0&&(te.endEmitted=!0,Z.readable=!1,Z.emit("end"),te.autoDestroy)){var X=Z._writableState;(!X||X.autoDestroy&&X.finished)&&Z.destroy()}}function ne(te,Z){for(var X=0,Q=te.length;X=Z.highWaterMark:Z.length>0)||Z.ended))return i("read: emitReadable",Z.length,Z.ended),Z.length===0&&Z.ended?W(this):z(this),null;if((te=R(te,Z))===0&&Z.ended)return Z.length===0&&W(this),null;var Q,re=Z.needReadable;return i("need readable",re),(Z.length===0||Z.length-te0?G(te,Z):null)===null?(Z.needReadable=Z.length<=Z.highWaterMark,te=0):(Z.length-=te,Z.awaitDrain=0),Z.length===0&&(Z.ended||(Z.needReadable=!0),X!==te&&Z.ended&&W(this)),Q!==null&&this.emit("data",Q),Q},L.prototype._read=function(te){E(this,new w("_read()"))},L.prototype.pipe=function(te,Z){var X=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=te;break;case 1:Q.pipes=[Q.pipes,te];break;default:Q.pipes.push(te)}Q.pipesCount+=1,i("pipe count=%d opts=%j",Q.pipesCount,Z);var re=Z&&Z.end===!1||te===g.stdout||te===g.stderr?pe:ie;function ie(){i("onend"),te.end()}Q.endEmitted?g.nextTick(re):X.once("end",re),te.on("unpipe",function xe(Pe,_e){i("onunpipe"),Pe===X&&_e&&_e.hasUnpiped===!1&&(_e.hasUnpiped=!0,i("cleanup"),te.removeListener("close",de),te.removeListener("finish",me),te.removeListener("drain",oe),te.removeListener("error",ye),te.removeListener("unpipe",xe),X.removeListener("end",ie),X.removeListener("end",pe),X.removeListener("data",ce),ue=!0,!Q.awaitDrain||te._writableState&&!te._writableState.needDrain||oe())});var oe=function(xe){return function(){var Pe=xe._readableState;i("pipeOnDrain",Pe.awaitDrain),Pe.awaitDrain&&Pe.awaitDrain--,Pe.awaitDrain===0&&M(xe,"data")&&(Pe.flowing=!0,U(xe))}}(X);te.on("drain",oe);var ue=!1;function ce(xe){i("ondata");var Pe=te.write(xe);i("dest.write",Pe),Pe===!1&&((Q.pipesCount===1&&Q.pipes===te||Q.pipesCount>1&&ne(Q.pipes,te)!==-1)&&!ue&&(i("false write response, pause",Q.awaitDrain),Q.awaitDrain++),X.pause())}function ye(xe){i("onerror",xe),pe(),te.removeListener("error",ye),M(te,"error")===0&&E(te,xe)}function de(){te.removeListener("finish",me),pe()}function me(){i("onfinish"),te.removeListener("close",de),pe()}function pe(){i("unpipe"),X.unpipe(te)}return X.on("data",ce),function(xe,Pe,_e){if(typeof xe.prependListener=="function")return xe.prependListener(Pe,_e);xe._events&&xe._events.error?Array.isArray(xe._events.error)?xe._events.error.unshift(_e):xe._events.error=[_e,xe._events.error]:xe.on(Pe,_e)}(te,"error",ye),te.once("close",de),te.once("finish",me),te.emit("pipe",X),Q.flowing||(i("pipe resume"),X.resume()),te},L.prototype.unpipe=function(te){var Z=this._readableState,X={hasUnpiped:!1};if(Z.pipesCount===0)return this;if(Z.pipesCount===1)return te&&te!==Z.pipes||(te||(te=Z.pipes),Z.pipes=null,Z.pipesCount=0,Z.flowing=!1,te&&te.emit("unpipe",this,X)),this;if(!te){var Q=Z.pipes,re=Z.pipesCount;Z.pipes=null,Z.pipesCount=0,Z.flowing=!1;for(var ie=0;ie0,Q.flowing!==!1&&this.resume()):te==="readable"&&(Q.endEmitted||Q.readableListening||(Q.readableListening=Q.needReadable=!0,Q.flowing=!1,Q.emittedReadable=!1,i("on readable",Q.length,Q.reading),Q.length?z(this):Q.reading||g.nextTick(j,this))),X},L.prototype.addListener=L.prototype.on,L.prototype.removeListener=function(te,Z){var X=v.prototype.removeListener.call(this,te,Z);return te==="readable"&&g.nextTick(q,this),X},L.prototype.removeAllListeners=function(te){var Z=v.prototype.removeAllListeners.apply(this,arguments);return te!=="readable"&&te!==void 0||g.nextTick(q,this),Z},L.prototype.resume=function(){var te=this._readableState;return te.flowing||(i("resume"),te.flowing=!te.readableListening,function(Z,X){X.resumeScheduled||(X.resumeScheduled=!0,g.nextTick(Y,Z,X))}(this,te)),te.paused=!1,this},L.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},L.prototype.wrap=function(te){var Z=this,X=this._readableState,Q=!1;for(var re in te.on("end",function(){if(i("wrapped end"),X.decoder&&!X.ended){var oe=X.decoder.end();oe&&oe.length&&Z.push(oe)}Z.push(null)}),te.on("data",function(oe){i("wrapped data"),X.decoder&&(oe=X.decoder.write(oe)),X.objectMode&&oe==null||(X.objectMode||oe&&oe.length)&&(Z.push(oe)||(Q=!0,te.pause()))}),te)this[re]===void 0&&typeof te[re]=="function"&&(this[re]=function(oe){return function(){return te[oe].apply(te,arguments)}}(re));for(var ie=0;ie-1))throw new k(B);return this._writableState.defaultEncoding=B,this},Object.defineProperty(L.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(L.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),L.prototype._write=function(B,N,q){q(new f("_write()"))},L.prototype._writev=null,L.prototype.end=function(B,N,q){var j=this._writableState;return typeof B=="function"?(q=B,B=null,N=null):typeof N=="function"&&(q=N,N=null),B!=null&&this.write(B,N),j.corked&&(j.corked=1,this.uncork()),j.ending||function(Y,U,G){U.ending=!0,F(Y,U),G&&(U.finished?g.nextTick(G):Y.once("finish",G)),U.ended=!0,Y.writable=!1}(this,j,q),this},Object.defineProperty(L.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(B){this._writableState&&(this._writableState.destroyed=B)}}),L.prototype.destroy=c.destroy,L.prototype._undestroy=c.undestroy,L.prototype._destroy=function(B,N){N(B)}},68221:function(x,o,t){var d,g=t(90386);function i(C,w,k){return w in C?Object.defineProperty(C,w,{value:k,enumerable:!0,configurable:!0,writable:!0}):C[w]=k,C}var M=t(12726),v=Symbol("lastResolve"),p=Symbol("lastReject"),u=Symbol("error"),a=Symbol("ended"),c=Symbol("lastPromise"),s=Symbol("handlePromise"),l=Symbol("stream");function h(C,w){return{value:C,done:w}}function f(C){var w=C[v];if(w!==null){var k=C[l].read();k!==null&&(C[c]=null,C[v]=null,C[p]=null,w(h(k,!1)))}}function m(C){g.nextTick(f,C)}var _=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((i(d={get stream(){return this[l]},next:function(){var C=this,w=this[u];if(w!==null)return Promise.reject(w);if(this[a])return Promise.resolve(h(void 0,!0));if(this[l].destroyed)return new Promise(function(A,L){g.nextTick(function(){C[u]?L(C[u]):A(h(void 0,!0))})});var k,E=this[c];if(E)k=new Promise(function(A,L){return function(b,O){A.then(function(){L[a]?b(h(void 0,!0)):L[s](b,O)},O)}}(E,this));else{var T=this[l].read();if(T!==null)return Promise.resolve(h(T,!1));k=new Promise(this[s])}return this[c]=k,k}},Symbol.asyncIterator,function(){return this}),i(d,"return",function(){var C=this;return new Promise(function(w,k){C[l].destroy(null,function(E){E?k(E):w(h(void 0,!0))})})}),d),_);x.exports=function(C){var w,k=Object.create(y,(i(w={},l,{value:C,writable:!0}),i(w,v,{value:null,writable:!0}),i(w,p,{value:null,writable:!0}),i(w,u,{value:null,writable:!0}),i(w,a,{value:C._readableState.endEmitted,writable:!0}),i(w,s,{value:function(E,T){var A=k[l].read();A?(k[c]=null,k[v]=null,k[p]=null,E(h(A,!1))):(k[v]=E,k[p]=T)},writable:!0}),w));return k[c]=null,M(C,function(E){if(E&&E.code!=="ERR_STREAM_PREMATURE_CLOSE"){var T=k[p];return T!==null&&(k[c]=null,k[v]=null,k[p]=null,T(E)),void(k[u]=E)}var A=k[v];A!==null&&(k[c]=null,k[v]=null,k[p]=null,A(h(void 0,!0))),k[a]=!0}),C.on("readable",m.bind(null,k)),k}},31125:function(x,o,t){function d(u,a){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);a&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(u,l).enumerable})),c.push.apply(c,s)}return c}function g(u,a,c){return a in u?Object.defineProperty(u,a,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[a]=c,u}function i(u,a){for(var c=0;c0?this.tail.next=l:this.head=l,this.tail=l,++this.length}},{key:"unshift",value:function(s){var l={data:s,next:this.head};this.length===0&&(this.tail=l),this.head=l,++this.length}},{key:"shift",value:function(){if(this.length!==0){var s=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,s}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(s){if(this.length===0)return"";for(var l=this.head,h=""+l.data;l=l.next;)h+=s+l.data;return h}},{key:"concat",value:function(s){if(this.length===0)return M.alloc(0);for(var l,h,f,m=M.allocUnsafe(s>>>0),_=this.head,y=0;_;)l=_.data,h=m,f=y,M.prototype.copy.call(l,h,f),y+=_.data.length,_=_.next;return m}},{key:"consume",value:function(s,l){var h;return sm.length?m.length:s;if(_===m.length?f+=m:f+=m.slice(0,s),(s-=_)==0){_===m.length?(++h,l.next?this.head=l.next:this.head=this.tail=null):(this.head=l,l.data=m.slice(_));break}++h}return this.length-=h,f}},{key:"_getBuffer",value:function(s){var l=M.allocUnsafe(s),h=this.head,f=1;for(h.data.copy(l),s-=h.data.length;h=h.next;){var m=h.data,_=s>m.length?m.length:s;if(m.copy(l,l.length-s,0,_),(s-=_)==0){_===m.length?(++f,h.next?this.head=h.next:this.head=this.tail=null):(this.head=h,h.data=m.slice(_));break}++f}return this.length-=f,l}},{key:p,value:function(s,l){return v(this,function(h){for(var f=1;f0,function(k){f||(f=k),k&&_.forEach(u),w||(_.forEach(u),m(f))})});return l.reduce(a)}},56306:function(x,o,t){var d=t(74322).q.ERR_INVALID_OPT_VALUE;x.exports={getHighWaterMark:function(g,i,M,v){var p=function(u,a,c){return u.highWaterMark!=null?u.highWaterMark:a?u[c]:null}(i,v,M);if(p!=null){if(!isFinite(p)||Math.floor(p)!==p||p<0)throw new d(v?M:"highWaterMark",p);return Math.floor(p)}return g.objectMode?16:16384}}},71405:function(x,o,t){x.exports=t(15398).EventEmitter},68019:function(x,o,t){var d=t(71665).Buffer,g=d.isEncoding||function(h){switch((h=""+h)&&h.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 i(h){var f;switch(this.encoding=function(m){var _=function(y){if(!y)return"utf8";for(var C;;)switch(y){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 y;default:if(C)return;y=(""+y).toLowerCase(),C=!0}}(m);if(typeof _!="string"&&(d.isEncoding===g||!g(m)))throw new Error("Unknown encoding: "+m);return _||m}(h),this.encoding){case"utf16le":this.text=p,this.end=u,f=4;break;case"utf8":this.fillLast=v,f=4;break;case"base64":this.text=a,this.end=c,f=3;break;default:return this.write=s,void(this.end=l)}this.lastNeed=0,this.lastTotal=0,this.lastChar=d.allocUnsafe(f)}function M(h){return h<=127?0:h>>5==6?2:h>>4==14?3:h>>3==30?4:h>>6==2?-1:-2}function v(h){var f=this.lastTotal-this.lastNeed,m=function(_,y,C){if((192&y[0])!=128)return _.lastNeed=0,"�";if(_.lastNeed>1&&y.length>1){if((192&y[1])!=128)return _.lastNeed=1,"�";if(_.lastNeed>2&&y.length>2&&(192&y[2])!=128)return _.lastNeed=2,"�"}}(this,h);return m!==void 0?m:this.lastNeed<=h.length?(h.copy(this.lastChar,f,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(h.copy(this.lastChar,f,0,h.length),void(this.lastNeed-=h.length))}function p(h,f){if((h.length-f)%2==0){var m=h.toString("utf16le",f);if(m){var _=m.charCodeAt(m.length-1);if(_>=55296&&_<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1],m.slice(0,-1)}return m}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=h[h.length-1],h.toString("utf16le",f,h.length-1)}function u(h){var f=h&&h.length?this.write(h):"";if(this.lastNeed){var m=this.lastTotal-this.lastNeed;return f+this.lastChar.toString("utf16le",0,m)}return f}function a(h,f){var m=(h.length-f)%3;return m===0?h.toString("base64",f):(this.lastNeed=3-m,this.lastTotal=3,m===1?this.lastChar[0]=h[h.length-1]:(this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1]),h.toString("base64",f,h.length-m))}function c(h){var f=h&&h.length?this.write(h):"";return this.lastNeed?f+this.lastChar.toString("base64",0,3-this.lastNeed):f}function s(h){return h.toString(this.encoding)}function l(h){return h&&h.length?this.write(h):""}o.s=i,i.prototype.write=function(h){if(h.length===0)return"";var f,m;if(this.lastNeed){if((f=this.fillLast(h))===void 0)return"";m=this.lastNeed,this.lastNeed=0}else m=0;return m=0?(E>0&&(y.lastNeed=E-1),E):--k=0?(E>0&&(y.lastNeed=E-2),E):--k=0?(E>0&&(E===2?E=0:y.lastNeed=E-3),E):0}(this,h,f);if(!this.lastNeed)return h.toString("utf8",f);this.lastTotal=m;var _=h.length-(m-this.lastNeed);return h.copy(this.lastChar,0,_),h.toString("utf8",f,_)},i.prototype.fillLast=function(h){if(this.lastNeed<=h.length)return h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,h.length),this.lastNeed-=h.length}},90715:function(x,o,t){var d=t(32791),g=t(41633)("stream-parser");function i(h){g("initializing parser stream"),h._parserBytesLeft=0,h._parserBuffers=[],h._parserBuffered=0,h._parserState=-1,h._parserCallback=null,typeof h.push=="function"&&(h._parserOutput=h.push.bind(h)),h._parserInit=!0}function M(h,f){d(!this._parserCallback,'there is already a "callback" set!'),d(isFinite(h)&&h>0,'can only buffer a finite number of bytes > 0, got "'+h+'"'),this._parserInit||i(this),g("buffering %o bytes",h),this._parserBytesLeft=h,this._parserCallback=f,this._parserState=0}function v(h,f){d(!this._parserCallback,'there is already a "callback" set!'),d(h>0,'can only skip > 0 bytes, got "'+h+'"'),this._parserInit||i(this),g("skipping %o bytes",h),this._parserBytesLeft=h,this._parserCallback=f,this._parserState=1}function p(h,f){d(!this._parserCallback,'There is already a "callback" set!'),d(h>0,'can only pass through > 0 bytes, got "'+h+'"'),this._parserInit||i(this),g("passing through %o bytes",h),this._parserBytesLeft=h,this._parserCallback=f,this._parserState=2}function u(h,f,m){this._parserInit||i(this),g("write(%o bytes)",h.length),typeof f=="function"&&(m=f),s(this,h,null,m)}function a(h,f,m){this._parserInit||i(this),g("transform(%o bytes)",h.length),typeof f!="function"&&(f=this._parserOutput),s(this,h,f,m)}function c(h,f,m,_){if(h._parserBytesLeft-=f.length,g("%o bytes left for stream piece",h._parserBytesLeft),h._parserState===0?(h._parserBuffers.push(f),h._parserBuffered+=f.length):h._parserState===2&&m(f),h._parserBytesLeft!==0)return _;var y=h._parserCallback;if(y&&h._parserState===0&&h._parserBuffers.length>1&&(f=Buffer.concat(h._parserBuffers,h._parserBuffered)),h._parserState!==0&&(f=null),h._parserCallback=null,h._parserBuffered=0,h._parserState=-1,h._parserBuffers.splice(0),y){var C=[];f&&C.push(f),m&&C.push(m);var w=y.length>C.length;w&&C.push(l(_));var k=y.apply(h,C);if(!w||_===k)return _}}x.exports=function(h){var f=h&&typeof h._transform=="function",m=h&&typeof h._write=="function";if(!f&&!m)throw new Error("must pass a Writable or Transform stream in");g("extending Parser into stream"),h._bytes=M,h._skipBytes=v,f&&(h._passthrough=p),f?h._transform=a:h._write=u};var s=l(function h(f,m,_,y){return f._parserBytesLeft<=0?y(new Error("got data but not currently parsing anything")):m.length<=f._parserBytesLeft?function(){return c(f,m,_,y)}:function(){var C=m.slice(0,f._parserBytesLeft);return c(f,C,_,function(w){return w?y(w):m.length>C.length?function(){return h(f,m.slice(C.length),_,y)}:void 0})}});function l(h){return function(){for(var f=h.apply(this,arguments);typeof f=="function";)f=f();return f}}},41633:function(x,o,t){var d=t(90386);function g(){var i;try{i=o.storage.debug}catch{}return!i&&d!==void 0&&"env"in d&&(i=d.env.DEBUG),i}(o=x.exports=t(74469)).log=function(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},o.formatArgs=function(i){var M=this.useColors;if(i[0]=(M?"%c":"")+this.namespace+(M?" %c":" ")+i[0]+(M?"%c ":" ")+"+"+o.humanize(this.diff),M){var v="color: "+this.color;i.splice(1,0,v,"color: inherit");var p=0,u=0;i[0].replace(/%[a-zA-Z%]/g,function(a){a!=="%%"&&(p++,a==="%c"&&(u=p))}),i.splice(u,0,v)}},o.save=function(i){try{i==null?o.storage.removeItem("debug"):o.storage.debug=i}catch{}},o.load=g,o.useColors=function(){return!(typeof window>"u"||!window.process||window.process.type!=="renderer")||typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},o.storage=typeof chrome<"u"&&chrome.storage!==void 0?chrome.storage.local:function(){try{return window.localStorage}catch{}}(),o.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],o.formatters.j=function(i){try{return JSON.stringify(i)}catch(M){return"[UnexpectedJSONParseError]: "+M.message}},o.enable(g())},74469:function(x,o,t){var d;function g(i){function M(){if(M.enabled){var v=M,p=+new Date,u=p-(d||p);v.diff=u,v.prev=d,v.curr=p,d=p;for(var a=new Array(arguments.length),c=0;c0)return function(a){if(!((a=String(a)).length>100)){var c=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(a);if(c){var s=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"days":case"day":case"d":return s*g;case"hours":case"hour":case"hrs":case"hr":case"h":return s*d;case"minutes":case"minute":case"mins":case"min":case"m":return s*t;case"seconds":case"second":case"secs":case"sec":case"s":return s*o;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(M);if(u==="number"&&isNaN(M)===!1)return v.long?i(p=M,g,"day")||i(p,d,"hour")||i(p,t,"minute")||i(p,o,"second")||p+" ms":function(a){return a>=g?Math.round(a/g)+"d":a>=d?Math.round(a/d)+"h":a>=t?Math.round(a/t)+"m":a>=o?Math.round(a/o)+"s":a+"ms"}(M);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(M))}},99011:function(x,o,t){var d=t(88641);x.exports=function(g,i,M){if(g==null)throw Error("First argument should be a string");if(i==null)throw Error("Separator should be a string or a RegExp");M?(typeof M=="string"||Array.isArray(M))&&(M={ignore:M}):M={},M.escape==null&&(M.escape=!0),M.ignore==null?M.ignore=["[]","()","{}","<>",'""',"''","``","“”","«»"]:(typeof M.ignore=="string"&&(M.ignore=[M.ignore]),M.ignore=M.ignore.map(function(l){return l.length===1&&(l+=l),l}));var v=d.parse(g,{flat:!0,brackets:M.ignore}),p=v[0].split(i);if(M.escape){for(var u=[],a=0;a0;){_=C[C.length-1];var w=o[_];if(M[_]=0&&p[_].push(v[E])}M[_]=k}else{if(g[_]===d[_]){var T=[],A=[],L=0;for(k=y.length-1;k>=0;--k){var b=y[k];if(i[b]=!1,T.push(b),A.push(p[b]),L+=p[b].length,v[b]=s.length,b===_){y.length=k;break}}s.push(T);var O=new Array(L);for(k=0;k1&&(c=1),c<-1&&(c=-1),(v*a-p*u<0?-1:1)*Math.acos(c)};o.default=function(v){var p=v.px,u=v.py,a=v.cx,c=v.cy,s=v.rx,l=v.ry,h=v.xAxisRotation,f=h===void 0?0:h,m=v.largeArcFlag,_=m===void 0?0:m,y=v.sweepFlag,C=y===void 0?0:y,w=[];if(s===0||l===0)return[];var k=Math.sin(f*d/360),E=Math.cos(f*d/360),T=E*(p-a)/2+k*(u-c)/2,A=-k*(p-a)/2+E*(u-c)/2;if(T===0&&A===0)return[];s=Math.abs(s),l=Math.abs(l);var L=Math.pow(T,2)/Math.pow(s,2)+Math.pow(A,2)/Math.pow(l,2);L>1&&(s*=Math.sqrt(L),l*=Math.sqrt(L));var b=function(j,Y,U,G,W,H,ne,te,Z,X,Q,re){var ie=Math.pow(W,2),oe=Math.pow(H,2),ue=Math.pow(Q,2),ce=Math.pow(re,2),ye=ie*oe-ie*ce-oe*ue;ye<0&&(ye=0),ye/=ie*ce+oe*ue;var de=(ye=Math.sqrt(ye)*(ne===te?-1:1))*W/H*re,me=ye*-H/W*Q,pe=X*de-Z*me+(j+U)/2,xe=Z*de+X*me+(Y+G)/2,Pe=(Q-de)/W,_e=(re-me)/H,Me=(-Q-de)/W,Se=(-re-me)/H,Ce=M(1,0,Pe,_e),ae=M(Pe,_e,Me,Se);return te===0&&ae>0&&(ae-=d),te===1&&ae<0&&(ae+=d),[pe,xe,Ce,ae]}(p,u,a,c,s,l,_,C,k,E,T,A),O=function(j,Y){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return function(U,G){var W=[],H=!0,ne=!1,te=void 0;try{for(var Z,X=U[Symbol.iterator]();!(H=(Z=X.next()).done)&&(W.push(Z.value),!G||W.length!==G);H=!0);}catch(Q){ne=!0,te=Q}finally{try{!H&&X.return&&X.return()}finally{if(ne)throw te}}return W}(j,Y);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(b,4),I=O[0],R=O[1],z=O[2],F=O[3],B=Math.abs(F)/(d/4);Math.abs(1-B)<1e-7&&(B=1);var N=Math.max(Math.ceil(B),1);F/=N;for(var q=0;qu[2]&&(u[2]=s[l+0]),s[l+1]>u[3]&&(u[3]=s[l+1]);return u}},29988:function(x,o,t){x.exports=function(M){for(var v,p=[],u=0,a=0,c=0,s=0,l=null,h=null,f=0,m=0,_=0,y=M.length;_4?(u=C[C.length-4],a=C[C.length-3]):(u=f,a=m),p.push(C)}return p};var d=t(7095);function g(M,v,p,u){return["C",M,v,p,u,p,u]}function i(M,v,p,u,a,c){return["C",M/3+.6666666666666666*p,v/3+.6666666666666666*u,a/3+.6666666666666666*p,c/3+.6666666666666666*u,a,c]}},82019:function(x,o,t){var d,g=t(1750),i=t(95616),M=t(31457),v=t(89546),p=t(44781),u=document.createElement("canvas"),a=u.getContext("2d");x.exports=function(c,s){if(!v(c))throw Error("Argument should be valid svg path string");var l,h;s||(s={}),s.shape?(l=s.shape[0],h=s.shape[1]):(l=u.width=s.w||s.width||200,h=u.height=s.h||s.height||200);var f=Math.min(l,h),m=s.stroke||0,_=s.viewbox||s.viewBox||g(c),y=[l/(_[2]-_[0]),h/(_[3]-_[1])],C=Math.min(y[0]||0,y[1]||0)/2;if(a.fillStyle="black",a.fillRect(0,0,l,h),a.fillStyle="white",m&&(typeof m!="number"&&(m=1),a.strokeStyle=m>0?"white":"black",a.lineWidth=Math.abs(m)),a.translate(.5*l,.5*h),a.scale(C,C),function(){if(d!=null)return d;var E=document.createElement("canvas").getContext("2d");if(E.canvas.width=E.canvas.height=1,!window.Path2D)return d=!1;var T=new Path2D("M0,0h1v1h-1v-1Z");E.fillStyle="black",E.fill(T);var A=E.getImageData(0,0,1,1);return d=A&&A.data&&A.data[3]===255}()){var w=new Path2D(c);a.fill(w),m&&a.stroke(w)}else{var k=i(c);M(a,k),a.fill(),m&&a.stroke()}return a.setTransform(1,0,0,1,0,0),p(a,{cutoff:s.cutoff!=null?s.cutoff:.5,radius:s.radius!=null?s.radius:.5*f})}},84267:function(x,o,t){var d;(function(g){var i=/^\s+/,M=/\s+$/,v=0,p=g.round,u=g.min,a=g.max,c=g.random;function s(Q,re){if(re=re||{},(Q=Q||"")instanceof s)return Q;if(!(this instanceof s))return new s(Q,re);var ie=function(oe){var ue,ce,ye,de={r:0,g:0,b:0},me=1,pe=null,xe=null,Pe=null,_e=!1,Me=!1;return typeof oe=="string"&&(oe=function(Se){Se=Se.replace(i,"").replace(M,"").toLowerCase();var Ce,ae=!1;if(z[Se])Se=z[Se],ae=!0;else if(Se=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(Ce=Z.rgb.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3]}:(Ce=Z.rgba.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3],a:Ce[4]}:(Ce=Z.hsl.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3]}:(Ce=Z.hsla.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3],a:Ce[4]}:(Ce=Z.hsv.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3]}:(Ce=Z.hsva.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3],a:Ce[4]}:(Ce=Z.hex8.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),a:W(Ce[4]),format:ae?"name":"hex8"}:(Ce=Z.hex6.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),format:ae?"name":"hex"}:(Ce=Z.hex4.exec(Se))?{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),a:W(Ce[4]+""+Ce[4]),format:ae?"name":"hex8"}:!!(Ce=Z.hex3.exec(Se))&&{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),format:ae?"name":"hex"}}(oe)),typeof oe=="object"&&(X(oe.r)&&X(oe.g)&&X(oe.b)?(ue=oe.r,ce=oe.g,ye=oe.b,de={r:255*N(ue,255),g:255*N(ce,255),b:255*N(ye,255)},_e=!0,Me=String(oe.r).substr(-1)==="%"?"prgb":"rgb"):X(oe.h)&&X(oe.s)&&X(oe.v)?(pe=U(oe.s),xe=U(oe.v),de=function(Se,Ce,ae){Se=6*N(Se,360),Ce=N(Ce,100),ae=N(ae,100);var he=g.floor(Se),be=Se-he,ke=ae*(1-Ce),Le=ae*(1-be*Ce),Be=ae*(1-(1-be)*Ce),ze=he%6;return{r:255*[ae,Le,ke,ke,Be,ae][ze],g:255*[Be,ae,ae,Le,ke,ke][ze],b:255*[ke,ke,Be,ae,ae,Le][ze]}}(oe.h,pe,xe),_e=!0,Me="hsv"):X(oe.h)&&X(oe.s)&&X(oe.l)&&(pe=U(oe.s),Pe=U(oe.l),de=function(Se,Ce,ae){var he,be,ke;function Le(je,ge,we){return we<0&&(we+=1),we>1&&(we-=1),we<1/6?je+6*(ge-je)*we:we<.5?ge:we<2/3?je+(ge-je)*(2/3-we)*6:je}if(Se=N(Se,360),Ce=N(Ce,100),ae=N(ae,100),Ce===0)he=be=ke=ae;else{var Be=ae<.5?ae*(1+Ce):ae+Ce-ae*Ce,ze=2*ae-Be;he=Le(ze,Be,Se+1/3),be=Le(ze,Be,Se),ke=Le(ze,Be,Se-1/3)}return{r:255*he,g:255*be,b:255*ke}}(oe.h,pe,Pe),_e=!0,Me="hsl"),oe.hasOwnProperty("a")&&(me=oe.a)),me=B(me),{ok:_e,format:oe.format||Me,r:u(255,a(de.r,0)),g:u(255,a(de.g,0)),b:u(255,a(de.b,0)),a:me}}(Q);this._originalInput=Q,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=p(100*this._a)/100,this._format=re.format||ie.format,this._gradientType=re.gradientType,this._r<1&&(this._r=p(this._r)),this._g<1&&(this._g=p(this._g)),this._b<1&&(this._b=p(this._b)),this._ok=ie.ok,this._tc_id=v++}function l(Q,re,ie){Q=N(Q,255),re=N(re,255),ie=N(ie,255);var oe,ue,ce=a(Q,re,ie),ye=u(Q,re,ie),de=(ce+ye)/2;if(ce==ye)oe=ue=0;else{var me=ce-ye;switch(ue=de>.5?me/(2-ce-ye):me/(ce+ye),ce){case Q:oe=(re-ie)/me+(re>1)+720)%360;--re;)oe.h=(oe.h+ue)%360,ce.push(s(oe));return ce}function R(Q,re){re=re||6;for(var ie=s(Q).toHsv(),oe=ie.h,ue=ie.s,ce=ie.v,ye=[],de=1/re;re--;)ye.push(s({h:oe,s:ue,v:ce})),ce=(ce+de)%1;return ye}s.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 Q=this.toRgb();return(299*Q.r+587*Q.g+114*Q.b)/1e3},getLuminance:function(){var Q,re,ie,oe=this.toRgb();return Q=oe.r/255,re=oe.g/255,ie=oe.b/255,.2126*(Q<=.03928?Q/12.92:g.pow((Q+.055)/1.055,2.4))+.7152*(re<=.03928?re/12.92:g.pow((re+.055)/1.055,2.4))+.0722*(ie<=.03928?ie/12.92:g.pow((ie+.055)/1.055,2.4))},setAlpha:function(Q){return this._a=B(Q),this._roundA=p(100*this._a)/100,this},toHsv:function(){var Q=h(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,v:Q.v,a:this._a}},toHsvString:function(){var Q=h(this._r,this._g,this._b),re=p(360*Q.h),ie=p(100*Q.s),oe=p(100*Q.v);return this._a==1?"hsv("+re+", "+ie+"%, "+oe+"%)":"hsva("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHsl:function(){var Q=l(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,l:Q.l,a:this._a}},toHslString:function(){var Q=l(this._r,this._g,this._b),re=p(360*Q.h),ie=p(100*Q.s),oe=p(100*Q.l);return this._a==1?"hsl("+re+", "+ie+"%, "+oe+"%)":"hsla("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHex:function(Q){return f(this._r,this._g,this._b,Q)},toHexString:function(Q){return"#"+this.toHex(Q)},toHex8:function(Q){return function(re,ie,oe,ue,ce){var ye=[Y(p(re).toString(16)),Y(p(ie).toString(16)),Y(p(oe).toString(16)),Y(G(ue))];return ce&&ye[0].charAt(0)==ye[0].charAt(1)&&ye[1].charAt(0)==ye[1].charAt(1)&&ye[2].charAt(0)==ye[2].charAt(1)&&ye[3].charAt(0)==ye[3].charAt(1)?ye[0].charAt(0)+ye[1].charAt(0)+ye[2].charAt(0)+ye[3].charAt(0):ye.join("")}(this._r,this._g,this._b,this._a,Q)},toHex8String:function(Q){return"#"+this.toHex8(Q)},toRgb:function(){return{r:p(this._r),g:p(this._g),b:p(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+p(this._r)+", "+p(this._g)+", "+p(this._b)+")":"rgba("+p(this._r)+", "+p(this._g)+", "+p(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:p(100*N(this._r,255))+"%",g:p(100*N(this._g,255))+"%",b:p(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+p(100*N(this._r,255))+"%, "+p(100*N(this._g,255))+"%, "+p(100*N(this._b,255))+"%)":"rgba("+p(100*N(this._r,255))+"%, "+p(100*N(this._g,255))+"%, "+p(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(F[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(Q){var re="#"+m(this._r,this._g,this._b,this._a),ie=re,oe=this._gradientType?"GradientType = 1, ":"";if(Q){var ue=s(Q);ie="#"+m(ue._r,ue._g,ue._b,ue._a)}return"progid:DXImageTransform.Microsoft.gradient("+oe+"startColorstr="+re+",endColorstr="+ie+")"},toString:function(Q){var re=!!Q;Q=Q||this._format;var ie=!1,oe=this._a<1&&this._a>=0;return re||!oe||Q!=="hex"&&Q!=="hex6"&&Q!=="hex3"&&Q!=="hex4"&&Q!=="hex8"&&Q!=="name"?(Q==="rgb"&&(ie=this.toRgbString()),Q==="prgb"&&(ie=this.toPercentageRgbString()),Q!=="hex"&&Q!=="hex6"||(ie=this.toHexString()),Q==="hex3"&&(ie=this.toHexString(!0)),Q==="hex4"&&(ie=this.toHex8String(!0)),Q==="hex8"&&(ie=this.toHex8String()),Q==="name"&&(ie=this.toName()),Q==="hsl"&&(ie=this.toHslString()),Q==="hsv"&&(ie=this.toHsvString()),ie||this.toHexString()):Q==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return s(this.toString())},_applyModification:function(Q,re){var ie=Q.apply(null,[this].concat([].slice.call(re)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(_,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(C,arguments)},spin:function(){return this._applyModification(T,arguments)},_applyCombination:function(Q,re){return Q.apply(null,[this].concat([].slice.call(re)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(R,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(L,arguments)},tetrad:function(){return this._applyCombination(b,arguments)}},s.fromRatio=function(Q,re){if(typeof Q=="object"){var ie={};for(var oe in Q)Q.hasOwnProperty(oe)&&(ie[oe]=oe==="a"?Q[oe]:U(Q[oe]));Q=ie}return s(Q,re)},s.equals=function(Q,re){return!(!Q||!re)&&s(Q).toRgbString()==s(re).toRgbString()},s.random=function(){return s.fromRatio({r:c(),g:c(),b:c()})},s.mix=function(Q,re,ie){ie=ie===0?0:ie||50;var oe=s(Q).toRgb(),ue=s(re).toRgb(),ce=ie/100;return s({r:(ue.r-oe.r)*ce+oe.r,g:(ue.g-oe.g)*ce+oe.g,b:(ue.b-oe.b)*ce+oe.b,a:(ue.a-oe.a)*ce+oe.a})},s.readability=function(Q,re){var ie=s(Q),oe=s(re);return(g.max(ie.getLuminance(),oe.getLuminance())+.05)/(g.min(ie.getLuminance(),oe.getLuminance())+.05)},s.isReadable=function(Q,re,ie){var oe,ue,ce,ye,de,me=s.readability(Q,re);switch(ue=!1,(ce=ie,(ye=((ce=ce||{level:"AA",size:"small"}).level||"AA").toUpperCase())!=="AA"&&ye!=="AAA"&&(ye="AA"),(de=(ce.size||"small").toLowerCase())!=="small"&&de!=="large"&&(de="small"),oe={level:ye,size:de}).level+oe.size){case"AAsmall":case"AAAlarge":ue=me>=4.5;break;case"AAlarge":ue=me>=3;break;case"AAAsmall":ue=me>=7}return ue},s.mostReadable=function(Q,re,ie){var oe,ue,ce,ye,de=null,me=0;ue=(ie=ie||{}).includeFallbackColors,ce=ie.level,ye=ie.size;for(var pe=0;peme&&(me=oe,de=s(re[pe]));return s.isReadable(Q,de,{level:ce,size:ye})||!ue?de:(ie.includeFallbackColors=!1,s.mostReadable(Q,["#fff","#000"],ie))};var z=s.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"},F=s.hexNames=function(Q){var re={};for(var ie in Q)Q.hasOwnProperty(ie)&&(re[Q[ie]]=ie);return re}(z);function B(Q){return Q=parseFloat(Q),(isNaN(Q)||Q<0||Q>1)&&(Q=1),Q}function N(Q,re){(function(oe){return typeof oe=="string"&&oe.indexOf(".")!=-1&&parseFloat(oe)===1})(Q)&&(Q="100%");var ie=function(oe){return typeof oe=="string"&&oe.indexOf("%")!=-1}(Q);return Q=u(re,a(0,parseFloat(Q))),ie&&(Q=parseInt(Q*re,10)/100),g.abs(Q-re)<1e-6?1:Q%re/parseFloat(re)}function q(Q){return u(1,a(0,Q))}function j(Q){return parseInt(Q,16)}function Y(Q){return Q.length==1?"0"+Q:""+Q}function U(Q){return Q<=1&&(Q=100*Q+"%"),Q}function G(Q){return g.round(255*parseFloat(Q)).toString(16)}function W(Q){return j(Q)/255}var H,ne,te,Z=(ne="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",te="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+ne),rgba:new RegExp("rgba"+te),hsl:new RegExp("hsl"+ne),hsla:new RegExp("hsla"+te),hsv:new RegExp("hsv"+ne),hsva:new RegExp("hsva"+te),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 X(Q){return!!Z.CSS_UNIT.exec(Q)}x.exports?x.exports=s:(d=function(){return s}.call(o,t,o,x))===void 0||(x.exports=d)})(Math)},57060:function(x){x.exports=t,x.exports.float32=x.exports.float=t,x.exports.fract32=x.exports.fract=function(d,g){if(d.length){if(d instanceof Float32Array)return new Float32Array(d.length);g instanceof Float32Array||(g=t(d));for(var i=0,M=g.length;i":(M.length>100&&(M=M.slice(0,99)+"…"),M=M.replace(g,function(v){switch(v){case` -`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}))}},47403:function(x,o,t){var d=t(24582),g={object:!0,function:!0,undefined:!0};x.exports=function(i){return!!d(i)&&hasOwnProperty.call(g,typeof i)}},82527:function(x,o,t){var d=t(69190),g=t(84985);x.exports=function(i){return g(i)?i:d(i,"%v is not a plain function",arguments[1])}},84985:function(x,o,t){var d=t(73116),g=/^\s*class[\s{/}]/,i=Function.prototype.toString;x.exports=function(M){return!!d(M)&&!g.test(i.call(M))}},24511:function(x,o,t){var d=t(47403);x.exports=function(g){if(!d(g))return!1;try{return!!g.constructor&&g.constructor.prototype===g}catch{return!1}}},9234:function(x,o,t){var d=t(24582),g=t(47403),i=Object.prototype.toString;x.exports=function(M){if(!d(M))return null;if(g(M)){var v=M.toString;if(typeof v!="function"||v===i)return null}try{return""+M}catch{return null}}},10424:function(x,o,t){var d=t(69190),g=t(24582);x.exports=function(i){return g(i)?i:d(i,"Cannot use %v",arguments[1])}},24582:function(x){x.exports=function(o){return o!=null}},58404:function(x,o,t){var d=t(13547),g=t(12129),i=t(12856).Buffer;t.g.__TYPEDARRAY_POOL||(t.g.__TYPEDARRAY_POOL={UINT8:g([32,0]),UINT16:g([32,0]),UINT32:g([32,0]),BIGUINT64:g([32,0]),INT8:g([32,0]),INT16:g([32,0]),INT32:g([32,0]),BIGINT64:g([32,0]),FLOAT:g([32,0]),DOUBLE:g([32,0]),DATA:g([32,0]),UINT8C:g([32,0]),BUFFER:g([32,0])});var M=typeof Uint8ClampedArray<"u",v=typeof BigUint64Array<"u",p=typeof BigInt64Array<"u",u=t.g.__TYPEDARRAY_POOL;u.UINT8C||(u.UINT8C=g([32,0])),u.BIGUINT64||(u.BIGUINT64=g([32,0])),u.BIGINT64||(u.BIGINT64=g([32,0])),u.BUFFER||(u.BUFFER=g([32,0]));var a=u.DATA,c=u.BUFFER;function s(O){if(O){var I=O.length||O.byteLength,R=d.log2(I);a[R].push(O)}}function l(O){O=d.nextPow2(O);var I=d.log2(O),R=a[I];return R.length>0?R.pop():new ArrayBuffer(O)}function h(O){return new Uint8Array(l(O),0,O)}function f(O){return new Uint16Array(l(2*O),0,O)}function m(O){return new Uint32Array(l(4*O),0,O)}function _(O){return new Int8Array(l(O),0,O)}function y(O){return new Int16Array(l(2*O),0,O)}function C(O){return new Int32Array(l(4*O),0,O)}function w(O){return new Float32Array(l(4*O),0,O)}function k(O){return new Float64Array(l(8*O),0,O)}function E(O){return M?new Uint8ClampedArray(l(O),0,O):h(O)}function T(O){return v?new BigUint64Array(l(8*O),0,O):null}function A(O){return p?new BigInt64Array(l(8*O),0,O):null}function L(O){return new DataView(l(O),0,O)}function b(O){O=d.nextPow2(O);var I=d.log2(O),R=c[I];return R.length>0?R.pop():new i(O)}o.free=function(O){if(i.isBuffer(O))c[d.log2(O.length)].push(O);else{if(Object.prototype.toString.call(O)!=="[object ArrayBuffer]"&&(O=O.buffer),!O)return;var I=O.length||O.byteLength,R=0|d.log2(I);a[R].push(O)}},o.freeUint8=o.freeUint16=o.freeUint32=o.freeBigUint64=o.freeInt8=o.freeInt16=o.freeInt32=o.freeBigInt64=o.freeFloat32=o.freeFloat=o.freeFloat64=o.freeDouble=o.freeUint8Clamped=o.freeDataView=function(O){s(O.buffer)},o.freeArrayBuffer=s,o.freeBuffer=function(O){c[d.log2(O.length)].push(O)},o.malloc=function(O,I){if(I===void 0||I==="arraybuffer")return l(O);switch(I){case"uint8":return h(O);case"uint16":return f(O);case"uint32":return m(O);case"int8":return _(O);case"int16":return y(O);case"int32":return C(O);case"float":case"float32":return w(O);case"double":case"float64":return k(O);case"uint8_clamped":return E(O);case"bigint64":return A(O);case"biguint64":return T(O);case"buffer":return b(O);case"data":case"dataview":return L(O);default:return null}return null},o.mallocArrayBuffer=l,o.mallocUint8=h,o.mallocUint16=f,o.mallocUint32=m,o.mallocInt8=_,o.mallocInt16=y,o.mallocInt32=C,o.mallocFloat32=o.mallocFloat=w,o.mallocFloat64=o.mallocDouble=k,o.mallocUint8Clamped=E,o.mallocBigUint64=T,o.mallocBigInt64=A,o.mallocDataView=L,o.mallocBuffer=b,o.clearCache=function(){for(var O=0;O<32;++O)u.UINT8[O].length=0,u.UINT16[O].length=0,u.UINT32[O].length=0,u.INT8[O].length=0,u.INT16[O].length=0,u.INT32[O].length=0,u.FLOAT[O].length=0,u.DOUBLE[O].length=0,u.BIGUINT64[O].length=0,u.BIGINT64[O].length=0,u.UINT8C[O].length=0,a[O].length=0,c[O].length=0}},90448:function(x){var o=/[\'\"]/;x.exports=function(t){return t?(o.test(t.charAt(0))&&(t=t.substr(1)),o.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}},93447:function(x){x.exports=function(o,t,d){Array.isArray(d)||(d=[].slice.call(arguments,2));for(var g=0,i=d.length;g=U)return H;switch(H){case"%s":return String(Y[j++]);case"%d":return Number(Y[j++]);case"%j":try{return JSON.stringify(Y[j++])}catch{return"[Circular]"}default:return H}}),W=Y[j];j=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),m(q)?j.showHidden=q:q&&o._extend(j,q),w(j.showHidden)&&(j.showHidden=!1),w(j.depth)&&(j.depth=2),w(j.colors)&&(j.colors=!1),w(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=a),s(j,N,j.depth)}function a(N,q){var j=u.styles[q];return j?"\x1B["+u.colors[j][0]+"m"+N+"\x1B["+u.colors[j][1]+"m":N}function c(N,q){return N}function s(N,q,j){if(N.customInspect&&q&&L(q.inspect)&&q.inspect!==o.inspect&&(!q.constructor||q.constructor.prototype!==q)){var Y=q.inspect(j,N);return C(Y)||(Y=s(N,Y,j)),Y}var U=function(Q,re){if(w(re))return Q.stylize("undefined","undefined");if(C(re)){var ie="'"+JSON.stringify(re).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ie,"string")}return y(re)?Q.stylize(""+re,"number"):m(re)?Q.stylize(""+re,"boolean"):_(re)?Q.stylize("null","null"):void 0}(N,q);if(U)return U;var G=Object.keys(q),W=function(Q){var re={};return Q.forEach(function(ie,oe){re[ie]=!0}),re}(G);if(N.showHidden&&(G=Object.getOwnPropertyNames(q)),A(q)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return l(q);if(G.length===0){if(L(q)){var H=q.name?": "+q.name:"";return N.stylize("[Function"+H+"]","special")}if(k(q))return N.stylize(RegExp.prototype.toString.call(q),"regexp");if(T(q))return N.stylize(Date.prototype.toString.call(q),"date");if(A(q))return l(q)}var ne,te="",Z=!1,X=["{","}"];return f(q)&&(Z=!0,X=["[","]"]),L(q)&&(te=" [Function"+(q.name?": "+q.name:"")+"]"),k(q)&&(te=" "+RegExp.prototype.toString.call(q)),T(q)&&(te=" "+Date.prototype.toUTCString.call(q)),A(q)&&(te=" "+l(q)),G.length!==0||Z&&q.length!=0?j<0?k(q)?N.stylize(RegExp.prototype.toString.call(q),"regexp"):N.stylize("[Object]","special"):(N.seen.push(q),ne=Z?function(Q,re,ie,oe,ue){for(var ce=[],ye=0,de=re.length;ye>>4&15)+"0123456789abcdef".charAt(15&Ot);return Nt}(function(wt){for(var Ot=Array(wt.length>>2),Nt=0;Nt>5]|=(255&wt.charCodeAt(Nt/8))<<24-Nt%32;var $t,qt,Xt,Qt,rn,xn,un,An,Yn,kn,sn,Tn=8*wt.length;for(wt=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Nt=Array(64),Ot[Tn>>5]|=128<<24-Tn%32,Ot[15+(Tn+64>>9<<4)]=Tn,An=0;AnYn;Yn++){var dn;16>Yn?Nt[Yn]=Ot[Yn+An]:(kn=Yn,sn=q(sn=N(sn=Nt[Yn-2],17)^N(sn,19)^sn>>>10,Nt[Yn-7]),dn=N(dn=Nt[Yn-15],7)^N(dn,18)^dn>>>3,Nt[kn]=q(q(sn,dn),Nt[Yn-16])),kn=q(q(q(q(un,kn=N(kn=Qt,6)^N(kn,11)^N(kn,25)),Qt&rn^~Qt&xn),xt[Yn]),Nt[Yn]),sn=q(un=N(un=Tn,2)^N(un,13)^N(un,22),Tn&$t^Tn&qt^$t&qt),un=xn,xn=rn,rn=Qt,Qt=q(Xt,kn),Xt=qt,qt=$t,$t=Tn,Tn=q(kn,sn)}wt[0]=q(Tn,wt[0]),wt[1]=q($t,wt[1]),wt[2]=q(qt,wt[2]),wt[3]=q(Xt,wt[3]),wt[4]=q(Qt,wt[4]),wt[5]=q(rn,wt[5]),wt[6]=q(xn,wt[6]),wt[7]=q(un,wt[7])}for(Ot="",Nt=0;Nt<32*wt.length;Nt+=8)Ot+=String.fromCharCode(wt[Nt>>5]>>>24-Nt%32&255);return Ot}(function(wt){for(var Ot,Nt,$t="",qt=-1;++qt=Ot&&56320<=Nt&&57343>=Nt&&(Ot=65536+((1023&Ot)<<10)+(1023&Nt),qt++),127>=Ot?$t+=String.fromCharCode(Ot):2047>=Ot?$t+=String.fromCharCode(192|Ot>>>6&31,128|63&Ot):65535>=Ot?$t+=String.fromCharCode(224|Ot>>>12&15,128|Ot>>>6&63,128|63&Ot):2097151>=Ot&&($t+=String.fromCharCode(240|Ot>>>18&7,128|Ot>>>12&63,128|Ot>>>6&63,128|63&Ot));return $t}(Pt))),Oe[yt])?Oe[yt].apply(null,ut):(Pt=Function.apply(null,Qe.concat(Pt)),Oe&&(Oe[yt]=Pt),Pt.apply(null,ut))}}}function G(We){return Array.isArray(We)||me(We)||a(We)}function W(We){return We.sort(function(nt,ht){return nt==="viewport"?-1:ht==="viewport"?1:nt"+xr+"?"+Sn+".constant["+xr+"]:0;"}).join(""),"}}else{","if(",nr,"(",Sn,".buffer)){",fr,"=",Vn,".createStream(",34962,",",Sn,".buffer);","}else{",fr,"=",Vn,".getBuffer(",Sn,".buffer);","}",mr,'="type" in ',Sn,"?",Kn.glTypes,"[",Sn,".type]:",fr,".dtype;",Qn.normalized,"=!!",Sn,".normalized;"),yn("size"),yn("offset"),yn("stride"),yn("divisor"),gn("}}"),gn.exit("if(",Qn.isStream,"){",Vn,".destroyStream(",fr,");","}"),Qn})}),Dn}function Yn(jt,Jt,fn,zn,Dn){function En(hr){var fr=wn[hr];fr&&(yn[hr]=fr)}var mn=function(hr,fr){if(typeof(mr=hr.static).frag=="string"&&typeof mr.vert=="string"){if(0"u"?"Date.now()":"performance.now()"}function mn(hr){hr(yn=Jt.def(),"=",En(),";"),typeof Dn=="string"?hr(Kn,".count+=",Dn,";"):hr(Kn,".count++;"),wt&&(zn?hr(Sn=Jt.def(),"=",Qn,".getNumPendingQueries();"):hr(Qn,".beginQuery(",Kn,");"))}function wn(hr){hr(Kn,".cpuTime+=",En(),"-",yn,";"),wt&&(zn?hr(Qn,".pushScopeStats(",Sn,",",Qn,".getNumPendingQueries(),",Kn,");"):hr(Qn,".endQuery();"))}function gn(hr){var fr=Jt.def(nr,".profile");Jt(nr,".profile=",hr,";"),Jt.exit(nr,".profile=",fr,";")}var yn,Sn,Vn=jt.shared,Kn=jt.stats,nr=Vn.current,Qn=Vn.timer;if(fn=fn.profile){if(ne(fn))return void(fn.enable?(mn(Jt),wn(Jt.exit),gn("true")):gn("false"));gn(fn=fn.append(jt,Jt))}else fn=Jt.def(nr,".profile");mn(Vn=jt.block()),Jt("if(",fn,"){",Vn,"}"),wn(jt=jt.block()),Jt.exit("if(",fn,"){",jt,"}")}function In(jt,Jt,fn,zn,Dn){function En(wn,gn,yn){function Sn(){Jt("if(!",Qn,".buffer){",Kn,".enableVertexAttribArray(",nr,");}");var pr,xr=yn.type;pr=yn.size?Jt.def(yn.size,"||",gn):gn,Jt("if(",Qn,".type!==",xr,"||",Qn,".size!==",pr,"||",mr.map(function(Rr){return Qn+"."+Rr+"!=="+yn[Rr]}).join("||"),"){",Kn,".bindBuffer(",34962,",",hr,".buffer);",Kn,".vertexAttribPointer(",[nr,pr,xr,yn.normalized,yn.stride,yn.offset],");",Qn,".type=",xr,";",Qn,".size=",pr,";",mr.map(function(Rr){return Qn+"."+Rr+"="+yn[Rr]+";"}).join(""),"}"),Kt&&(xr=yn.divisor,Jt("if(",Qn,".divisor!==",xr,"){",jt.instancing,".vertexAttribDivisorANGLE(",[nr,xr],");",Qn,".divisor=",xr,";}"))}function Vn(){Jt("if(",Qn,".buffer){",Kn,".disableVertexAttribArray(",nr,");",Qn,".buffer=null;","}if(",Ft.map(function(pr,xr){return Qn+"."+pr+"!=="+fr[xr]}).join("||"),"){",Kn,".vertexAttrib4f(",nr,",",fr,");",Ft.map(function(pr,xr){return Qn+"."+pr+"="+fr[xr]+";"}).join(""),"}")}var Kn=mn.gl,nr=Jt.def(wn,".location"),Qn=Jt.def(mn.attributes,"[",nr,"]");wn=yn.state;var hr=yn.buffer,fr=[yn.x,yn.y,yn.z,yn.w],mr=["buffer","normalized","offset","stride"];wn===1?Sn():wn===2?Vn():(Jt("if(",wn,"===",1,"){"),Sn(),Jt("}else{"),Vn(),Jt("}"))}var mn=jt.shared;zn.forEach(function(wn){var gn,yn=wn.name,Sn=fn.attributes[yn];if(Sn){if(!Dn(Sn))return;gn=Sn.append(jt,Jt)}else{if(!Dn(Je))return;var Vn=jt.scopeAttrib(yn);gn={},Object.keys(new yr).forEach(function(Kn){gn[Kn]=Jt.def(Vn,".",Kn)})}En(jt.link(wn),function(Kn){switch(Kn){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(wn.info.type),gn)})}function jn(jt,Jt,fn,zn,Dn,En){for(var mn,wn=jt.shared,gn=wn.gl,yn=0;yn>1)",wn],");")}function Rr(){fn(gn,".drawArraysInstancedANGLE(",[Qn,hr,fr,wn],");")}nr&&nr!=="null"?pr?xr():(fn("if(",nr,"){"),xr(),fn("}else{"),Rr(),fn("}")):Rr()}function mn(){function xr(){fn(Sn+".drawElements("+[Qn,fr,mr,hr+"<<(("+mr+"-5121)>>1)"]+");")}function Rr(){fn(Sn+".drawArrays("+[Qn,hr,fr]+");")}nr&&nr!=="null"?pr?xr():(fn("if(",nr,"){"),xr(),fn("}else{"),Rr(),fn("}")):Rr()}var wn,gn,yn=jt.shared,Sn=yn.gl,Vn=yn.draw,Kn=zn.draw,nr=function(){var xr=Kn.elements,Rr=Jt;return xr?((xr.contextDep&&zn.contextDynamic||xr.propDep)&&(Rr=fn),xr=xr.append(jt,Rr),Kn.elementsActive&&Rr("if("+xr+")"+Sn+".bindBuffer(34963,"+xr+".buffer.buffer);")):(xr=Rr.def(),Rr(xr,"=",Vn,".","elements",";","if(",xr,"){",Sn,".bindBuffer(",34963,",",xr,".buffer.buffer);}","else if(",yn.vao,".currentVAO){",xr,"=",jt.shared.elements+".getElements("+yn.vao,".currentVAO.elements);",On?"":"if("+xr+")"+Sn+".bindBuffer(34963,"+xr+".buffer.buffer);","}")),xr}(),Qn=Dn("primitive"),hr=Dn("offset"),fr=function(){var xr=Kn.count,Rr=Jt;return xr?((xr.contextDep&&zn.contextDynamic||xr.propDep)&&(Rr=fn),xr=xr.append(jt,Rr)):xr=Rr.def(Vn,".","count"),xr}();if(typeof fr=="number"){if(fr===0)return}else fn("if(",fr,"){"),fn.exit("}");Kt&&(wn=Dn("instances"),gn=jt.instancing);var mr=nr+".type",pr=Kn.elements&&ne(Kn.elements)&&!Kn.vaoActive;Kt&&(typeof wn!="number"||0<=wn)?typeof wn=="string"?(fn("if(",wn,">0){"),En(),fn("}else if(",wn,"<0){"),mn(),fn("}")):En():mn()}function Wn(jt,Jt,fn,zn,Dn){return Dn=(Jt=Qt()).proc("body",Dn),Kt&&(Jt.instancing=Dn.def(Jt.shared.extensions,".angle_instanced_arrays")),jt(Jt,Dn,fn,zn),Jt.compile().body}function ur(jt,Jt,fn,zn){pn(jt,Jt),fn.useVAO?fn.drawVAO?Jt(jt.shared.vao,".setVAO(",fn.drawVAO.append(jt,Jt),");"):Jt(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(Jt(jt.shared.vao,".setVAO(null);"),In(jt,Jt,fn,zn.attributes,function(){return!0})),jn(jt,Jt,fn,zn.uniforms,function(){return!0},!1),Gn(jt,Jt,Jt,fn)}function rr(jt,Jt,fn,zn){function Dn(){return!0}jt.batchId="a1",pn(jt,Jt),In(jt,Jt,fn,zn.attributes,Dn),jn(jt,Jt,fn,zn.uniforms,Dn,!1),Gn(jt,Jt,Jt,fn)}function Lr(jt,Jt,fn,zn){function Dn(Vn){return Vn.contextDep&&mn||Vn.propDep}function En(Vn){return!Dn(Vn)}pn(jt,Jt);var mn=fn.contextDep,wn=Jt.def(),gn=Jt.def();jt.shared.props=gn,jt.batchId=wn;var yn=jt.scope(),Sn=jt.scope();Jt(yn.entry,"for(",wn,"=0;",wn,"<","a1",";++",wn,"){",gn,"=","a0","[",wn,"];",Sn,"}",yn.exit),fn.needsContext&&kn(jt,Sn,fn.context),fn.needsFramebuffer&&sn(jt,Sn,fn.framebuffer),dn(jt,Sn,fn.state,Dn),fn.profile&&Dn(fn.profile)&&Rn(jt,Sn,fn,!1,!0),zn?(fn.useVAO?fn.drawVAO?Dn(fn.drawVAO)?Sn(jt.shared.vao,".setVAO(",fn.drawVAO.append(jt,Sn),");"):yn(jt.shared.vao,".setVAO(",fn.drawVAO.append(jt,yn),");"):yn(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(yn(jt.shared.vao,".setVAO(null);"),In(jt,yn,fn,zn.attributes,En),In(jt,Sn,fn,zn.attributes,Dn)),jn(jt,yn,fn,zn.uniforms,En,!1),jn(jt,Sn,fn,zn.uniforms,Dn,!0),Gn(jt,yn,Sn,fn)):(Jt=jt.global.def("{}"),zn=fn.shader.progVar.append(jt,Sn),gn=Sn.def(zn,".id"),yn=Sn.def(Jt,"[",gn,"]"),Sn(jt.shared.gl,".useProgram(",zn,".program);","if(!",yn,"){",yn,"=",Jt,"[",gn,"]=",jt.link(function(Vn){return Wn(rr,jt,fn,Vn,2)}),"(",zn,");}",yn,".call(this,a0[",wn,"],",wn,");"))}function br(jt,Jt){function fn(wn){var gn=Jt.shader[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(Dn.shader,"."+wn,gn):zn.set(Dn.shader,"."+wn,jt.link(gn,{stable:!0})))}var zn=jt.proc("scope",3);jt.batchId="a2";var Dn=jt.shared,En=Dn.current;if(kn(jt,zn,Jt.context),Jt.framebuffer&&Jt.framebuffer.append(jt,zn),W(Object.keys(Jt.state)).forEach(function(wn){var gn=Jt.state[wn],yn=gn.append(jt,zn);C(yn)?yn.forEach(function(Sn,Vn){isNaN(Sn)?zn.set(jt.next[wn],"["+Vn+"]",Sn):zn.set(jt.next[wn],"["+Vn+"]",jt.link(Sn,{stable:!0}))}):ne(gn)?zn.set(Dn.next,"."+wn,jt.link(yn,{stable:!0})):zn.set(Dn.next,"."+wn,yn)}),Rn(jt,zn,Jt,!0,!0),["elements","offset","count","instances","primitive"].forEach(function(wn){var gn=Jt.draw[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(Dn.draw,"."+wn,gn):zn.set(Dn.draw,"."+wn,jt.link(gn),{stable:!0}))}),Object.keys(Jt.uniforms).forEach(function(wn){var gn=Jt.uniforms[wn].append(jt,zn);Array.isArray(gn)&&(gn="["+gn.map(function(yn){return isNaN(yn)?yn:jt.link(yn,{stable:!0})})+"]"),zn.set(Dn.uniforms,"["+jt.link(nt.id(wn),{stable:!0})+"]",gn)}),Object.keys(Jt.attributes).forEach(function(wn){var gn=Jt.attributes[wn].append(jt,zn),yn=jt.scopeAttrib(wn);Object.keys(new yr).forEach(function(Sn){zn.set(yn,"."+Sn,gn[Sn])})}),Jt.scopeVAO){var mn=Jt.scopeVAO.append(jt,zn);isNaN(mn)?zn.set(Dn.vao,".targetVAO",mn):zn.set(Dn.vao,".targetVAO",jt.link(mn,{stable:!0}))}fn("vert"),fn("frag"),0=--this.refCount&&ut(this)},Ne.profile&&(Oe.getTotalRenderbufferSize=function(){var yt=0;return Object.keys(Lt).forEach(function(Pt){yt+=Lt[Pt].stats.size}),yt}),{create:function(yt,Pt){function wt(Nt,$t){var qt=0,Xt=0,Qt=32854;if(typeof Nt=="object"&&Nt?("shape"in Nt?(qt=0|(Xt=Nt.shape)[0],Xt=0|Xt[1]):("radius"in Nt&&(qt=Xt=0|Nt.radius),"width"in Nt&&(qt=0|Nt.width),"height"in Nt&&(Xt=0|Nt.height)),"format"in Nt&&(Qt=pt[Nt.format])):typeof Nt=="number"?(qt=0|Nt,Xt=typeof $t=="number"?0|$t:qt):Nt||(qt=Xt=1),qt!==Ot.width||Xt!==Ot.height||Qt!==Ot.format)return wt.width=Ot.width=qt,wt.height=Ot.height=Xt,Ot.format=Qt,We.bindRenderbuffer(36161,Ot.renderbuffer),We.renderbufferStorage(36161,Qt,qt,Xt),Ne.profile&&(Ot.stats.size=ft[Ot.format]*Ot.width*Ot.height),wt.format=_t[Ot.format],wt}var Ot=new Qe(We.createRenderbuffer());return Lt[Ot.id]=Ot,Oe.renderbufferCount++,wt(yt,Pt),wt.resize=function(Nt,$t){var qt=0|Nt,Xt=0|$t||qt;return qt===Ot.width&&Xt===Ot.height||(wt.width=Ot.width=qt,wt.height=Ot.height=Xt,We.bindRenderbuffer(36161,Ot.renderbuffer),We.renderbufferStorage(36161,Ot.format,qt,Xt),Ne.profile&&(Ot.stats.size=ft[Ot.format]*Ot.width*Ot.height)),wt},wt._reglType="renderbuffer",wt._renderbuffer=Ot,Ne.profile&&(wt.stats=Ot.stats),wt.destroy=function(){Ot.decRef()},wt},clear:function(){pe(Lt).forEach(ut)},restore:function(){pe(Lt).forEach(function(yt){yt.renderbuffer=We.createRenderbuffer(),We.bindRenderbuffer(36161,yt.renderbuffer),We.renderbufferStorage(36161,yt.format,yt.width,yt.height)}),We.bindRenderbuffer(36161,null)}}},Et=[];Et[6408]=4,Et[6407]=3;var kt=[];kt[5121]=1,kt[5126]=4,kt[36193]=2;var xt=[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],Ft=["x","y","z","w"],Dt="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),Bt={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},Wt={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},Vt={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Ke={cw:2304,ccw:2305},Je=new H(!1,!1,!1,function(){});return function(We){function nt(){if(rr.length===0)rn&&rn.update(),yr=null;else{yr=ue.next(nt),Lt();for(var Kt=rr.length-1;0<=Kt;--Kt){var bn=rr[Kt];bn&&bn(Yn,null,0)}wt.flush(),rn&&rn.update()}}function ht(){!yr&&0=rr.length&&Oe()}}}}function It(){var Kt=Wn.viewport,bn=Wn.scissor_box;Kt[0]=Kt[1]=bn[0]=bn[1]=0,Yn.viewportWidth=Yn.framebufferWidth=Yn.drawingBufferWidth=Kt[2]=bn[2]=wt.drawingBufferWidth,Yn.viewportHeight=Yn.framebufferHeight=Yn.drawingBufferHeight=Kt[3]=bn[3]=wt.drawingBufferHeight}function Lt(){Yn.tick+=1,Yn.time=Pt(),It(),Gn.procs.poll()}function yt(){Rn.refresh(),It(),Gn.procs.refresh(),rn&&rn.update()}function Pt(){return(ce()-xn)/1e3}if(!(We=M(We)))return null;var wt=We.gl,Ot=wt.getContextAttributes();wt.isContextLost();var Nt=function(Kt,bn){function On(Zn){var tr;Zn=Zn.toLowerCase();try{tr=Ln[Zn]=Kt.getExtension(Zn)}catch{}return!!tr}for(var Ln={},Un=0;Unbn;++bn)wr(re({framebuffer:Kt.framebuffer.faces[bn]},Kt),pt);else wr(Kt,pt);else pt(0,Kt)},prop:oe.define.bind(null,1),context:oe.define.bind(null,2),this:oe.define.bind(null,3),draw:ut({}),buffer:function(Kt){return sn.create(Kt,34962,!1,!1)},elements:function(Kt){return Tn.create(Kt,!1)},texture:Rn.create2D,cube:Rn.createCube,renderbuffer:In.create,framebuffer:jn.create,framebufferCube:jn.createCube,vao:dn.createVAO,attributes:Ot,frame:_t,on:function(Kt,bn){var On;switch(Kt){case"frame":return _t(bn);case"lost":On=Lr;break;case"restore":On=br;break;case"destroy":On=or}return On.push(bn),{cancel:function(){for(var Ln=0;Ln2?"one of ".concat(i," ").concat(v.slice(0,M-1).join(", "),", or ")+v[M-1]:M===2?"one of ".concat(i," ").concat(v[0]," or ").concat(v[1]):"of ".concat(i," ").concat(v[0])}return"of ".concat(i," ").concat(String(v))}t("ERR_INVALID_OPT_VALUE",function(v,i){return'The value "'+i+'" is invalid for option "'+v+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(v,i,M){var g,p,u,a,c;if(typeof i=="string"&&(p="not ",i.substr(0,p.length)===p)?(g="must not be",i=i.replace(/^not /,"")):g="must be",function(l,h,f){return(f===void 0||f>l.length)&&(f=l.length),l.substring(f-h.length,f)===h}(v," argument"))u="The ".concat(v," ").concat(g," ").concat(d(i,"type"));else{var s=(typeof c!="number"&&(c=0),c+1>(a=v).length||a.indexOf(".",c)===-1?"argument":"property");u='The "'.concat(v,'" ').concat(s," ").concat(g," ").concat(d(i,"type"))}return u+". Received type ".concat(typeof M)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(v){return"The "+v+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(v){return"Cannot call "+v+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(v){return"Unknown encoding: "+v},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),x.exports.q=o},37865:function(x,o,t){var d=t(90386),v=Object.keys||function(l){var h=[];for(var f in l)h.push(f);return h};x.exports=a;var i=t(40410),M=t(37493);t(42018)(a,i);for(var g=v(M.prototype),p=0;p0)if(typeof Z=="string"||oe.objectMode||Object.getPrototypeOf(Z)===p.prototype||(Z=function(ue){return p.from(ue)}(Z)),Q)oe.endEmitted?E(te,new k):O(te,oe,Z,!0);else if(oe.ended)E(te,new C);else{if(oe.destroyed)return!1;oe.reading=!1,oe.decoder&&!X?(Z=oe.decoder.write(Z),oe.objectMode||Z.length!==0?O(te,oe,Z,!1):B(te,oe)):O(te,oe,Z,!1)}else Q||(oe.reading=!1,B(te,oe));return!oe.ended&&(oe.lengthZ.highWaterMark&&(Z.highWaterMark=function(X){return X>=I?X=I:(X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>>16,X++),X}(te)),te<=Z.length?te:Z.ended?Z.length:(Z.needReadable=!0,0))}function z(te){var Z=te._readableState;i("emitReadable",Z.needReadable,Z.emittedReadable),Z.needReadable=!1,Z.emittedReadable||(i("emitReadable",Z.flowing),Z.emittedReadable=!0,v.nextTick(F,te))}function F(te){var Z=te._readableState;i("emitReadable_",Z.destroyed,Z.length,Z.ended),Z.destroyed||!Z.length&&!Z.ended||(te.emit("readable"),Z.emittedReadable=!1),Z.needReadable=!Z.flowing&&!Z.ended&&Z.length<=Z.highWaterMark,U(te)}function B(te,Z){Z.readingMore||(Z.readingMore=!0,v.nextTick(N,te,Z))}function N(te,Z){for(;!Z.reading&&!Z.ended&&(Z.length0,Z.resumeScheduled&&!Z.paused?Z.flowing=!0:te.listenerCount("data")>0&&te.resume()}function j(te){i("readable nexttick read 0"),te.read(0)}function Y(te,Z){i("resume",Z.reading),Z.reading||te.read(0),Z.resumeScheduled=!1,te.emit("resume"),U(te),Z.flowing&&!Z.reading&&te.read(0)}function U(te){var Z=te._readableState;for(i("flow",Z.flowing);Z.flowing&&te.read()!==null;);}function G(te,Z){return Z.length===0?null:(Z.objectMode?X=Z.buffer.shift():!te||te>=Z.length?(X=Z.decoder?Z.buffer.join(""):Z.buffer.length===1?Z.buffer.first():Z.buffer.concat(Z.length),Z.buffer.clear()):X=Z.buffer.consume(te,Z.decoder),X);var X}function W(te){var Z=te._readableState;i("endReadable",Z.endEmitted),Z.endEmitted||(Z.ended=!0,v.nextTick(H,Z,te))}function H(te,Z){if(i("endReadableNT",te.endEmitted,te.length),!te.endEmitted&&te.length===0&&(te.endEmitted=!0,Z.readable=!1,Z.emit("end"),te.autoDestroy)){var X=Z._writableState;(!X||X.autoDestroy&&X.finished)&&Z.destroy()}}function ne(te,Z){for(var X=0,Q=te.length;X=Z.highWaterMark:Z.length>0)||Z.ended))return i("read: emitReadable",Z.length,Z.ended),Z.length===0&&Z.ended?W(this):z(this),null;if((te=R(te,Z))===0&&Z.ended)return Z.length===0&&W(this),null;var Q,re=Z.needReadable;return i("need readable",re),(Z.length===0||Z.length-te0?G(te,Z):null)===null?(Z.needReadable=Z.length<=Z.highWaterMark,te=0):(Z.length-=te,Z.awaitDrain=0),Z.length===0&&(Z.ended||(Z.needReadable=!0),X!==te&&Z.ended&&W(this)),Q!==null&&this.emit("data",Q),Q},L.prototype._read=function(te){E(this,new w("_read()"))},L.prototype.pipe=function(te,Z){var X=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=te;break;case 1:Q.pipes=[Q.pipes,te];break;default:Q.pipes.push(te)}Q.pipesCount+=1,i("pipe count=%d opts=%j",Q.pipesCount,Z);var re=Z&&Z.end===!1||te===v.stdout||te===v.stderr?pe:ie;function ie(){i("onend"),te.end()}Q.endEmitted?v.nextTick(re):X.once("end",re),te.on("unpipe",function xe(Pe,_e){i("onunpipe"),Pe===X&&_e&&_e.hasUnpiped===!1&&(_e.hasUnpiped=!0,i("cleanup"),te.removeListener("close",de),te.removeListener("finish",me),te.removeListener("drain",oe),te.removeListener("error",ye),te.removeListener("unpipe",xe),X.removeListener("end",ie),X.removeListener("end",pe),X.removeListener("data",ce),ue=!0,!Q.awaitDrain||te._writableState&&!te._writableState.needDrain||oe())});var oe=function(xe){return function(){var Pe=xe._readableState;i("pipeOnDrain",Pe.awaitDrain),Pe.awaitDrain&&Pe.awaitDrain--,Pe.awaitDrain===0&&M(xe,"data")&&(Pe.flowing=!0,U(xe))}}(X);te.on("drain",oe);var ue=!1;function ce(xe){i("ondata");var Pe=te.write(xe);i("dest.write",Pe),Pe===!1&&((Q.pipesCount===1&&Q.pipes===te||Q.pipesCount>1&&ne(Q.pipes,te)!==-1)&&!ue&&(i("false write response, pause",Q.awaitDrain),Q.awaitDrain++),X.pause())}function ye(xe){i("onerror",xe),pe(),te.removeListener("error",ye),M(te,"error")===0&&E(te,xe)}function de(){te.removeListener("finish",me),pe()}function me(){i("onfinish"),te.removeListener("close",de),pe()}function pe(){i("unpipe"),X.unpipe(te)}return X.on("data",ce),function(xe,Pe,_e){if(typeof xe.prependListener=="function")return xe.prependListener(Pe,_e);xe._events&&xe._events.error?Array.isArray(xe._events.error)?xe._events.error.unshift(_e):xe._events.error=[_e,xe._events.error]:xe.on(Pe,_e)}(te,"error",ye),te.once("close",de),te.once("finish",me),te.emit("pipe",X),Q.flowing||(i("pipe resume"),X.resume()),te},L.prototype.unpipe=function(te){var Z=this._readableState,X={hasUnpiped:!1};if(Z.pipesCount===0)return this;if(Z.pipesCount===1)return te&&te!==Z.pipes||(te||(te=Z.pipes),Z.pipes=null,Z.pipesCount=0,Z.flowing=!1,te&&te.emit("unpipe",this,X)),this;if(!te){var Q=Z.pipes,re=Z.pipesCount;Z.pipes=null,Z.pipesCount=0,Z.flowing=!1;for(var ie=0;ie0,Q.flowing!==!1&&this.resume()):te==="readable"&&(Q.endEmitted||Q.readableListening||(Q.readableListening=Q.needReadable=!0,Q.flowing=!1,Q.emittedReadable=!1,i("on readable",Q.length,Q.reading),Q.length?z(this):Q.reading||v.nextTick(j,this))),X},L.prototype.addListener=L.prototype.on,L.prototype.removeListener=function(te,Z){var X=g.prototype.removeListener.call(this,te,Z);return te==="readable"&&v.nextTick(q,this),X},L.prototype.removeAllListeners=function(te){var Z=g.prototype.removeAllListeners.apply(this,arguments);return te!=="readable"&&te!==void 0||v.nextTick(q,this),Z},L.prototype.resume=function(){var te=this._readableState;return te.flowing||(i("resume"),te.flowing=!te.readableListening,function(Z,X){X.resumeScheduled||(X.resumeScheduled=!0,v.nextTick(Y,Z,X))}(this,te)),te.paused=!1,this},L.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},L.prototype.wrap=function(te){var Z=this,X=this._readableState,Q=!1;for(var re in te.on("end",function(){if(i("wrapped end"),X.decoder&&!X.ended){var oe=X.decoder.end();oe&&oe.length&&Z.push(oe)}Z.push(null)}),te.on("data",function(oe){i("wrapped data"),X.decoder&&(oe=X.decoder.write(oe)),X.objectMode&&oe==null||(X.objectMode||oe&&oe.length)&&(Z.push(oe)||(Q=!0,te.pause()))}),te)this[re]===void 0&&typeof te[re]=="function"&&(this[re]=function(oe){return function(){return te[oe].apply(te,arguments)}}(re));for(var ie=0;ie-1))throw new k(B);return this._writableState.defaultEncoding=B,this},Object.defineProperty(L.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(L.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),L.prototype._write=function(B,N,q){q(new f("_write()"))},L.prototype._writev=null,L.prototype.end=function(B,N,q){var j=this._writableState;return typeof B=="function"?(q=B,B=null,N=null):typeof N=="function"&&(q=N,N=null),B!=null&&this.write(B,N),j.corked&&(j.corked=1,this.uncork()),j.ending||function(Y,U,G){U.ending=!0,F(Y,U),G&&(U.finished?v.nextTick(G):Y.once("finish",G)),U.ended=!0,Y.writable=!1}(this,j,q),this},Object.defineProperty(L.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(B){this._writableState&&(this._writableState.destroyed=B)}}),L.prototype.destroy=c.destroy,L.prototype._undestroy=c.undestroy,L.prototype._destroy=function(B,N){N(B)}},68221:function(x,o,t){var d,v=t(90386);function i(C,w,k){return w in C?Object.defineProperty(C,w,{value:k,enumerable:!0,configurable:!0,writable:!0}):C[w]=k,C}var M=t(12726),g=Symbol("lastResolve"),p=Symbol("lastReject"),u=Symbol("error"),a=Symbol("ended"),c=Symbol("lastPromise"),s=Symbol("handlePromise"),l=Symbol("stream");function h(C,w){return{value:C,done:w}}function f(C){var w=C[g];if(w!==null){var k=C[l].read();k!==null&&(C[c]=null,C[g]=null,C[p]=null,w(h(k,!1)))}}function m(C){v.nextTick(f,C)}var _=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((i(d={get stream(){return this[l]},next:function(){var C=this,w=this[u];if(w!==null)return Promise.reject(w);if(this[a])return Promise.resolve(h(void 0,!0));if(this[l].destroyed)return new Promise(function(A,L){v.nextTick(function(){C[u]?L(C[u]):A(h(void 0,!0))})});var k,E=this[c];if(E)k=new Promise(function(A,L){return function(b,O){A.then(function(){L[a]?b(h(void 0,!0)):L[s](b,O)},O)}}(E,this));else{var T=this[l].read();if(T!==null)return Promise.resolve(h(T,!1));k=new Promise(this[s])}return this[c]=k,k}},Symbol.asyncIterator,function(){return this}),i(d,"return",function(){var C=this;return new Promise(function(w,k){C[l].destroy(null,function(E){E?k(E):w(h(void 0,!0))})})}),d),_);x.exports=function(C){var w,k=Object.create(y,(i(w={},l,{value:C,writable:!0}),i(w,g,{value:null,writable:!0}),i(w,p,{value:null,writable:!0}),i(w,u,{value:null,writable:!0}),i(w,a,{value:C._readableState.endEmitted,writable:!0}),i(w,s,{value:function(E,T){var A=k[l].read();A?(k[c]=null,k[g]=null,k[p]=null,E(h(A,!1))):(k[g]=E,k[p]=T)},writable:!0}),w));return k[c]=null,M(C,function(E){if(E&&E.code!=="ERR_STREAM_PREMATURE_CLOSE"){var T=k[p];return T!==null&&(k[c]=null,k[g]=null,k[p]=null,T(E)),void(k[u]=E)}var A=k[g];A!==null&&(k[c]=null,k[g]=null,k[p]=null,A(h(void 0,!0))),k[a]=!0}),C.on("readable",m.bind(null,k)),k}},31125:function(x,o,t){function d(u,a){var c=Object.keys(u);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);a&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(u,l).enumerable})),c.push.apply(c,s)}return c}function v(u,a,c){return a in u?Object.defineProperty(u,a,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[a]=c,u}function i(u,a){for(var c=0;c0?this.tail.next=l:this.head=l,this.tail=l,++this.length}},{key:"unshift",value:function(s){var l={data:s,next:this.head};this.length===0&&(this.tail=l),this.head=l,++this.length}},{key:"shift",value:function(){if(this.length!==0){var s=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,s}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(s){if(this.length===0)return"";for(var l=this.head,h=""+l.data;l=l.next;)h+=s+l.data;return h}},{key:"concat",value:function(s){if(this.length===0)return M.alloc(0);for(var l,h,f,m=M.allocUnsafe(s>>>0),_=this.head,y=0;_;)l=_.data,h=m,f=y,M.prototype.copy.call(l,h,f),y+=_.data.length,_=_.next;return m}},{key:"consume",value:function(s,l){var h;return sm.length?m.length:s;if(_===m.length?f+=m:f+=m.slice(0,s),(s-=_)==0){_===m.length?(++h,l.next?this.head=l.next:this.head=this.tail=null):(this.head=l,l.data=m.slice(_));break}++h}return this.length-=h,f}},{key:"_getBuffer",value:function(s){var l=M.allocUnsafe(s),h=this.head,f=1;for(h.data.copy(l),s-=h.data.length;h=h.next;){var m=h.data,_=s>m.length?m.length:s;if(m.copy(l,l.length-s,0,_),(s-=_)==0){_===m.length?(++f,h.next?this.head=h.next:this.head=this.tail=null):(this.head=h,h.data=m.slice(_));break}++f}return this.length-=f,l}},{key:p,value:function(s,l){return g(this,function(h){for(var f=1;f0,function(k){f||(f=k),k&&_.forEach(u),w||(_.forEach(u),m(f))})});return l.reduce(a)}},56306:function(x,o,t){var d=t(74322).q.ERR_INVALID_OPT_VALUE;x.exports={getHighWaterMark:function(v,i,M,g){var p=function(u,a,c){return u.highWaterMark!=null?u.highWaterMark:a?u[c]:null}(i,g,M);if(p!=null){if(!isFinite(p)||Math.floor(p)!==p||p<0)throw new d(g?M:"highWaterMark",p);return Math.floor(p)}return v.objectMode?16:16384}}},71405:function(x,o,t){x.exports=t(15398).EventEmitter},68019:function(x,o,t){var d=t(71665).Buffer,v=d.isEncoding||function(h){switch((h=""+h)&&h.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 i(h){var f;switch(this.encoding=function(m){var _=function(y){if(!y)return"utf8";for(var C;;)switch(y){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 y;default:if(C)return;y=(""+y).toLowerCase(),C=!0}}(m);if(typeof _!="string"&&(d.isEncoding===v||!v(m)))throw new Error("Unknown encoding: "+m);return _||m}(h),this.encoding){case"utf16le":this.text=p,this.end=u,f=4;break;case"utf8":this.fillLast=g,f=4;break;case"base64":this.text=a,this.end=c,f=3;break;default:return this.write=s,void(this.end=l)}this.lastNeed=0,this.lastTotal=0,this.lastChar=d.allocUnsafe(f)}function M(h){return h<=127?0:h>>5==6?2:h>>4==14?3:h>>3==30?4:h>>6==2?-1:-2}function g(h){var f=this.lastTotal-this.lastNeed,m=function(_,y,C){if((192&y[0])!=128)return _.lastNeed=0,"�";if(_.lastNeed>1&&y.length>1){if((192&y[1])!=128)return _.lastNeed=1,"�";if(_.lastNeed>2&&y.length>2&&(192&y[2])!=128)return _.lastNeed=2,"�"}}(this,h);return m!==void 0?m:this.lastNeed<=h.length?(h.copy(this.lastChar,f,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(h.copy(this.lastChar,f,0,h.length),void(this.lastNeed-=h.length))}function p(h,f){if((h.length-f)%2==0){var m=h.toString("utf16le",f);if(m){var _=m.charCodeAt(m.length-1);if(_>=55296&&_<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1],m.slice(0,-1)}return m}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=h[h.length-1],h.toString("utf16le",f,h.length-1)}function u(h){var f=h&&h.length?this.write(h):"";if(this.lastNeed){var m=this.lastTotal-this.lastNeed;return f+this.lastChar.toString("utf16le",0,m)}return f}function a(h,f){var m=(h.length-f)%3;return m===0?h.toString("base64",f):(this.lastNeed=3-m,this.lastTotal=3,m===1?this.lastChar[0]=h[h.length-1]:(this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1]),h.toString("base64",f,h.length-m))}function c(h){var f=h&&h.length?this.write(h):"";return this.lastNeed?f+this.lastChar.toString("base64",0,3-this.lastNeed):f}function s(h){return h.toString(this.encoding)}function l(h){return h&&h.length?this.write(h):""}o.s=i,i.prototype.write=function(h){if(h.length===0)return"";var f,m;if(this.lastNeed){if((f=this.fillLast(h))===void 0)return"";m=this.lastNeed,this.lastNeed=0}else m=0;return m=0?(E>0&&(y.lastNeed=E-1),E):--k=0?(E>0&&(y.lastNeed=E-2),E):--k=0?(E>0&&(E===2?E=0:y.lastNeed=E-3),E):0}(this,h,f);if(!this.lastNeed)return h.toString("utf8",f);this.lastTotal=m;var _=h.length-(m-this.lastNeed);return h.copy(this.lastChar,0,_),h.toString("utf8",f,_)},i.prototype.fillLast=function(h){if(this.lastNeed<=h.length)return h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,h.length),this.lastNeed-=h.length}},90715:function(x,o,t){var d=t(32791),v=t(41633)("stream-parser");function i(h){v("initializing parser stream"),h._parserBytesLeft=0,h._parserBuffers=[],h._parserBuffered=0,h._parserState=-1,h._parserCallback=null,typeof h.push=="function"&&(h._parserOutput=h.push.bind(h)),h._parserInit=!0}function M(h,f){d(!this._parserCallback,'there is already a "callback" set!'),d(isFinite(h)&&h>0,'can only buffer a finite number of bytes > 0, got "'+h+'"'),this._parserInit||i(this),v("buffering %o bytes",h),this._parserBytesLeft=h,this._parserCallback=f,this._parserState=0}function g(h,f){d(!this._parserCallback,'there is already a "callback" set!'),d(h>0,'can only skip > 0 bytes, got "'+h+'"'),this._parserInit||i(this),v("skipping %o bytes",h),this._parserBytesLeft=h,this._parserCallback=f,this._parserState=1}function p(h,f){d(!this._parserCallback,'There is already a "callback" set!'),d(h>0,'can only pass through > 0 bytes, got "'+h+'"'),this._parserInit||i(this),v("passing through %o bytes",h),this._parserBytesLeft=h,this._parserCallback=f,this._parserState=2}function u(h,f,m){this._parserInit||i(this),v("write(%o bytes)",h.length),typeof f=="function"&&(m=f),s(this,h,null,m)}function a(h,f,m){this._parserInit||i(this),v("transform(%o bytes)",h.length),typeof f!="function"&&(f=this._parserOutput),s(this,h,f,m)}function c(h,f,m,_){if(h._parserBytesLeft-=f.length,v("%o bytes left for stream piece",h._parserBytesLeft),h._parserState===0?(h._parserBuffers.push(f),h._parserBuffered+=f.length):h._parserState===2&&m(f),h._parserBytesLeft!==0)return _;var y=h._parserCallback;if(y&&h._parserState===0&&h._parserBuffers.length>1&&(f=Buffer.concat(h._parserBuffers,h._parserBuffered)),h._parserState!==0&&(f=null),h._parserCallback=null,h._parserBuffered=0,h._parserState=-1,h._parserBuffers.splice(0),y){var C=[];f&&C.push(f),m&&C.push(m);var w=y.length>C.length;w&&C.push(l(_));var k=y.apply(h,C);if(!w||_===k)return _}}x.exports=function(h){var f=h&&typeof h._transform=="function",m=h&&typeof h._write=="function";if(!f&&!m)throw new Error("must pass a Writable or Transform stream in");v("extending Parser into stream"),h._bytes=M,h._skipBytes=g,f&&(h._passthrough=p),f?h._transform=a:h._write=u};var s=l(function h(f,m,_,y){return f._parserBytesLeft<=0?y(new Error("got data but not currently parsing anything")):m.length<=f._parserBytesLeft?function(){return c(f,m,_,y)}:function(){var C=m.slice(0,f._parserBytesLeft);return c(f,C,_,function(w){return w?y(w):m.length>C.length?function(){return h(f,m.slice(C.length),_,y)}:void 0})}});function l(h){return function(){for(var f=h.apply(this,arguments);typeof f=="function";)f=f();return f}}},41633:function(x,o,t){var d=t(90386);function v(){var i;try{i=o.storage.debug}catch{}return!i&&d!==void 0&&"env"in d&&(i=d.env.DEBUG),i}(o=x.exports=t(74469)).log=function(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},o.formatArgs=function(i){var M=this.useColors;if(i[0]=(M?"%c":"")+this.namespace+(M?" %c":" ")+i[0]+(M?"%c ":" ")+"+"+o.humanize(this.diff),M){var g="color: "+this.color;i.splice(1,0,g,"color: inherit");var p=0,u=0;i[0].replace(/%[a-zA-Z%]/g,function(a){a!=="%%"&&(p++,a==="%c"&&(u=p))}),i.splice(u,0,g)}},o.save=function(i){try{i==null?o.storage.removeItem("debug"):o.storage.debug=i}catch{}},o.load=v,o.useColors=function(){return!(typeof window>"u"||!window.process||window.process.type!=="renderer")||typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},o.storage=typeof chrome<"u"&&chrome.storage!==void 0?chrome.storage.local:function(){try{return window.localStorage}catch{}}(),o.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],o.formatters.j=function(i){try{return JSON.stringify(i)}catch(M){return"[UnexpectedJSONParseError]: "+M.message}},o.enable(v())},74469:function(x,o,t){var d;function v(i){function M(){if(M.enabled){var g=M,p=+new Date,u=p-(d||p);g.diff=u,g.prev=d,g.curr=p,d=p;for(var a=new Array(arguments.length),c=0;c0)return function(a){if(!((a=String(a)).length>100)){var c=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(a);if(c){var s=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"days":case"day":case"d":return s*v;case"hours":case"hour":case"hrs":case"hr":case"h":return s*d;case"minutes":case"minute":case"mins":case"min":case"m":return s*t;case"seconds":case"second":case"secs":case"sec":case"s":return s*o;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(M);if(u==="number"&&isNaN(M)===!1)return g.long?i(p=M,v,"day")||i(p,d,"hour")||i(p,t,"minute")||i(p,o,"second")||p+" ms":function(a){return a>=v?Math.round(a/v)+"d":a>=d?Math.round(a/d)+"h":a>=t?Math.round(a/t)+"m":a>=o?Math.round(a/o)+"s":a+"ms"}(M);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(M))}},99011:function(x,o,t){var d=t(88641);x.exports=function(v,i,M){if(v==null)throw Error("First argument should be a string");if(i==null)throw Error("Separator should be a string or a RegExp");M?(typeof M=="string"||Array.isArray(M))&&(M={ignore:M}):M={},M.escape==null&&(M.escape=!0),M.ignore==null?M.ignore=["[]","()","{}","<>",'""',"''","``","“”","«»"]:(typeof M.ignore=="string"&&(M.ignore=[M.ignore]),M.ignore=M.ignore.map(function(l){return l.length===1&&(l+=l),l}));var g=d.parse(v,{flat:!0,brackets:M.ignore}),p=g[0].split(i);if(M.escape){for(var u=[],a=0;a0;){_=C[C.length-1];var w=o[_];if(M[_]=0&&p[_].push(g[E])}M[_]=k}else{if(v[_]===d[_]){var T=[],A=[],L=0;for(k=y.length-1;k>=0;--k){var b=y[k];if(i[b]=!1,T.push(b),A.push(p[b]),L+=p[b].length,g[b]=s.length,b===_){y.length=k;break}}s.push(T);var O=new Array(L);for(k=0;k1&&(c=1),c<-1&&(c=-1),(g*a-p*u<0?-1:1)*Math.acos(c)};o.default=function(g){var p=g.px,u=g.py,a=g.cx,c=g.cy,s=g.rx,l=g.ry,h=g.xAxisRotation,f=h===void 0?0:h,m=g.largeArcFlag,_=m===void 0?0:m,y=g.sweepFlag,C=y===void 0?0:y,w=[];if(s===0||l===0)return[];var k=Math.sin(f*d/360),E=Math.cos(f*d/360),T=E*(p-a)/2+k*(u-c)/2,A=-k*(p-a)/2+E*(u-c)/2;if(T===0&&A===0)return[];s=Math.abs(s),l=Math.abs(l);var L=Math.pow(T,2)/Math.pow(s,2)+Math.pow(A,2)/Math.pow(l,2);L>1&&(s*=Math.sqrt(L),l*=Math.sqrt(L));var b=function(j,Y,U,G,W,H,ne,te,Z,X,Q,re){var ie=Math.pow(W,2),oe=Math.pow(H,2),ue=Math.pow(Q,2),ce=Math.pow(re,2),ye=ie*oe-ie*ce-oe*ue;ye<0&&(ye=0),ye/=ie*ce+oe*ue;var de=(ye=Math.sqrt(ye)*(ne===te?-1:1))*W/H*re,me=ye*-H/W*Q,pe=X*de-Z*me+(j+U)/2,xe=Z*de+X*me+(Y+G)/2,Pe=(Q-de)/W,_e=(re-me)/H,Me=(-Q-de)/W,Se=(-re-me)/H,Ce=M(1,0,Pe,_e),ae=M(Pe,_e,Me,Se);return te===0&&ae>0&&(ae-=d),te===1&&ae<0&&(ae+=d),[pe,xe,Ce,ae]}(p,u,a,c,s,l,_,C,k,E,T,A),O=function(j,Y){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return function(U,G){var W=[],H=!0,ne=!1,te=void 0;try{for(var Z,X=U[Symbol.iterator]();!(H=(Z=X.next()).done)&&(W.push(Z.value),!G||W.length!==G);H=!0);}catch(Q){ne=!0,te=Q}finally{try{!H&&X.return&&X.return()}finally{if(ne)throw te}}return W}(j,Y);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(b,4),I=O[0],R=O[1],z=O[2],F=O[3],B=Math.abs(F)/(d/4);Math.abs(1-B)<1e-7&&(B=1);var N=Math.max(Math.ceil(B),1);F/=N;for(var q=0;qu[2]&&(u[2]=s[l+0]),s[l+1]>u[3]&&(u[3]=s[l+1]);return u}},29988:function(x,o,t){x.exports=function(M){for(var g,p=[],u=0,a=0,c=0,s=0,l=null,h=null,f=0,m=0,_=0,y=M.length;_4?(u=C[C.length-4],a=C[C.length-3]):(u=f,a=m),p.push(C)}return p};var d=t(7095);function v(M,g,p,u){return["C",M,g,p,u,p,u]}function i(M,g,p,u,a,c){return["C",M/3+.6666666666666666*p,g/3+.6666666666666666*u,a/3+.6666666666666666*p,c/3+.6666666666666666*u,a,c]}},82019:function(x,o,t){var d,v=t(1750),i=t(95616),M=t(31457),g=t(89546),p=t(44781),u=document.createElement("canvas"),a=u.getContext("2d");x.exports=function(c,s){if(!g(c))throw Error("Argument should be valid svg path string");var l,h;s||(s={}),s.shape?(l=s.shape[0],h=s.shape[1]):(l=u.width=s.w||s.width||200,h=u.height=s.h||s.height||200);var f=Math.min(l,h),m=s.stroke||0,_=s.viewbox||s.viewBox||v(c),y=[l/(_[2]-_[0]),h/(_[3]-_[1])],C=Math.min(y[0]||0,y[1]||0)/2;if(a.fillStyle="black",a.fillRect(0,0,l,h),a.fillStyle="white",m&&(typeof m!="number"&&(m=1),a.strokeStyle=m>0?"white":"black",a.lineWidth=Math.abs(m)),a.translate(.5*l,.5*h),a.scale(C,C),function(){if(d!=null)return d;var E=document.createElement("canvas").getContext("2d");if(E.canvas.width=E.canvas.height=1,!window.Path2D)return d=!1;var T=new Path2D("M0,0h1v1h-1v-1Z");E.fillStyle="black",E.fill(T);var A=E.getImageData(0,0,1,1);return d=A&&A.data&&A.data[3]===255}()){var w=new Path2D(c);a.fill(w),m&&a.stroke(w)}else{var k=i(c);M(a,k),a.fill(),m&&a.stroke()}return a.setTransform(1,0,0,1,0,0),p(a,{cutoff:s.cutoff!=null?s.cutoff:.5,radius:s.radius!=null?s.radius:.5*f})}},84267:function(x,o,t){var d;(function(v){var i=/^\s+/,M=/\s+$/,g=0,p=v.round,u=v.min,a=v.max,c=v.random;function s(Q,re){if(re=re||{},(Q=Q||"")instanceof s)return Q;if(!(this instanceof s))return new s(Q,re);var ie=function(oe){var ue,ce,ye,de={r:0,g:0,b:0},me=1,pe=null,xe=null,Pe=null,_e=!1,Me=!1;return typeof oe=="string"&&(oe=function(Se){Se=Se.replace(i,"").replace(M,"").toLowerCase();var Ce,ae=!1;if(z[Se])Se=z[Se],ae=!0;else if(Se=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(Ce=Z.rgb.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3]}:(Ce=Z.rgba.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3],a:Ce[4]}:(Ce=Z.hsl.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3]}:(Ce=Z.hsla.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3],a:Ce[4]}:(Ce=Z.hsv.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3]}:(Ce=Z.hsva.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3],a:Ce[4]}:(Ce=Z.hex8.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),a:W(Ce[4]),format:ae?"name":"hex8"}:(Ce=Z.hex6.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),format:ae?"name":"hex"}:(Ce=Z.hex4.exec(Se))?{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),a:W(Ce[4]+""+Ce[4]),format:ae?"name":"hex8"}:!!(Ce=Z.hex3.exec(Se))&&{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),format:ae?"name":"hex"}}(oe)),typeof oe=="object"&&(X(oe.r)&&X(oe.g)&&X(oe.b)?(ue=oe.r,ce=oe.g,ye=oe.b,de={r:255*N(ue,255),g:255*N(ce,255),b:255*N(ye,255)},_e=!0,Me=String(oe.r).substr(-1)==="%"?"prgb":"rgb"):X(oe.h)&&X(oe.s)&&X(oe.v)?(pe=U(oe.s),xe=U(oe.v),de=function(Se,Ce,ae){Se=6*N(Se,360),Ce=N(Ce,100),ae=N(ae,100);var he=v.floor(Se),be=Se-he,ke=ae*(1-Ce),Le=ae*(1-be*Ce),Be=ae*(1-(1-be)*Ce),ze=he%6;return{r:255*[ae,Le,ke,ke,Be,ae][ze],g:255*[Be,ae,ae,Le,ke,ke][ze],b:255*[ke,ke,Be,ae,ae,Le][ze]}}(oe.h,pe,xe),_e=!0,Me="hsv"):X(oe.h)&&X(oe.s)&&X(oe.l)&&(pe=U(oe.s),Pe=U(oe.l),de=function(Se,Ce,ae){var he,be,ke;function Le(je,ge,we){return we<0&&(we+=1),we>1&&(we-=1),we<1/6?je+6*(ge-je)*we:we<.5?ge:we<2/3?je+(ge-je)*(2/3-we)*6:je}if(Se=N(Se,360),Ce=N(Ce,100),ae=N(ae,100),Ce===0)he=be=ke=ae;else{var Be=ae<.5?ae*(1+Ce):ae+Ce-ae*Ce,ze=2*ae-Be;he=Le(ze,Be,Se+1/3),be=Le(ze,Be,Se),ke=Le(ze,Be,Se-1/3)}return{r:255*he,g:255*be,b:255*ke}}(oe.h,pe,Pe),_e=!0,Me="hsl"),oe.hasOwnProperty("a")&&(me=oe.a)),me=B(me),{ok:_e,format:oe.format||Me,r:u(255,a(de.r,0)),g:u(255,a(de.g,0)),b:u(255,a(de.b,0)),a:me}}(Q);this._originalInput=Q,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=p(100*this._a)/100,this._format=re.format||ie.format,this._gradientType=re.gradientType,this._r<1&&(this._r=p(this._r)),this._g<1&&(this._g=p(this._g)),this._b<1&&(this._b=p(this._b)),this._ok=ie.ok,this._tc_id=g++}function l(Q,re,ie){Q=N(Q,255),re=N(re,255),ie=N(ie,255);var oe,ue,ce=a(Q,re,ie),ye=u(Q,re,ie),de=(ce+ye)/2;if(ce==ye)oe=ue=0;else{var me=ce-ye;switch(ue=de>.5?me/(2-ce-ye):me/(ce+ye),ce){case Q:oe=(re-ie)/me+(re>1)+720)%360;--re;)oe.h=(oe.h+ue)%360,ce.push(s(oe));return ce}function R(Q,re){re=re||6;for(var ie=s(Q).toHsv(),oe=ie.h,ue=ie.s,ce=ie.v,ye=[],de=1/re;re--;)ye.push(s({h:oe,s:ue,v:ce})),ce=(ce+de)%1;return ye}s.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 Q=this.toRgb();return(299*Q.r+587*Q.g+114*Q.b)/1e3},getLuminance:function(){var Q,re,ie,oe=this.toRgb();return Q=oe.r/255,re=oe.g/255,ie=oe.b/255,.2126*(Q<=.03928?Q/12.92:v.pow((Q+.055)/1.055,2.4))+.7152*(re<=.03928?re/12.92:v.pow((re+.055)/1.055,2.4))+.0722*(ie<=.03928?ie/12.92:v.pow((ie+.055)/1.055,2.4))},setAlpha:function(Q){return this._a=B(Q),this._roundA=p(100*this._a)/100,this},toHsv:function(){var Q=h(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,v:Q.v,a:this._a}},toHsvString:function(){var Q=h(this._r,this._g,this._b),re=p(360*Q.h),ie=p(100*Q.s),oe=p(100*Q.v);return this._a==1?"hsv("+re+", "+ie+"%, "+oe+"%)":"hsva("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHsl:function(){var Q=l(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,l:Q.l,a:this._a}},toHslString:function(){var Q=l(this._r,this._g,this._b),re=p(360*Q.h),ie=p(100*Q.s),oe=p(100*Q.l);return this._a==1?"hsl("+re+", "+ie+"%, "+oe+"%)":"hsla("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHex:function(Q){return f(this._r,this._g,this._b,Q)},toHexString:function(Q){return"#"+this.toHex(Q)},toHex8:function(Q){return function(re,ie,oe,ue,ce){var ye=[Y(p(re).toString(16)),Y(p(ie).toString(16)),Y(p(oe).toString(16)),Y(G(ue))];return ce&&ye[0].charAt(0)==ye[0].charAt(1)&&ye[1].charAt(0)==ye[1].charAt(1)&&ye[2].charAt(0)==ye[2].charAt(1)&&ye[3].charAt(0)==ye[3].charAt(1)?ye[0].charAt(0)+ye[1].charAt(0)+ye[2].charAt(0)+ye[3].charAt(0):ye.join("")}(this._r,this._g,this._b,this._a,Q)},toHex8String:function(Q){return"#"+this.toHex8(Q)},toRgb:function(){return{r:p(this._r),g:p(this._g),b:p(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+p(this._r)+", "+p(this._g)+", "+p(this._b)+")":"rgba("+p(this._r)+", "+p(this._g)+", "+p(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:p(100*N(this._r,255))+"%",g:p(100*N(this._g,255))+"%",b:p(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+p(100*N(this._r,255))+"%, "+p(100*N(this._g,255))+"%, "+p(100*N(this._b,255))+"%)":"rgba("+p(100*N(this._r,255))+"%, "+p(100*N(this._g,255))+"%, "+p(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(F[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(Q){var re="#"+m(this._r,this._g,this._b,this._a),ie=re,oe=this._gradientType?"GradientType = 1, ":"";if(Q){var ue=s(Q);ie="#"+m(ue._r,ue._g,ue._b,ue._a)}return"progid:DXImageTransform.Microsoft.gradient("+oe+"startColorstr="+re+",endColorstr="+ie+")"},toString:function(Q){var re=!!Q;Q=Q||this._format;var ie=!1,oe=this._a<1&&this._a>=0;return re||!oe||Q!=="hex"&&Q!=="hex6"&&Q!=="hex3"&&Q!=="hex4"&&Q!=="hex8"&&Q!=="name"?(Q==="rgb"&&(ie=this.toRgbString()),Q==="prgb"&&(ie=this.toPercentageRgbString()),Q!=="hex"&&Q!=="hex6"||(ie=this.toHexString()),Q==="hex3"&&(ie=this.toHexString(!0)),Q==="hex4"&&(ie=this.toHex8String(!0)),Q==="hex8"&&(ie=this.toHex8String()),Q==="name"&&(ie=this.toName()),Q==="hsl"&&(ie=this.toHslString()),Q==="hsv"&&(ie=this.toHsvString()),ie||this.toHexString()):Q==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return s(this.toString())},_applyModification:function(Q,re){var ie=Q.apply(null,[this].concat([].slice.call(re)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(_,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(C,arguments)},spin:function(){return this._applyModification(T,arguments)},_applyCombination:function(Q,re){return Q.apply(null,[this].concat([].slice.call(re)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(R,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(L,arguments)},tetrad:function(){return this._applyCombination(b,arguments)}},s.fromRatio=function(Q,re){if(typeof Q=="object"){var ie={};for(var oe in Q)Q.hasOwnProperty(oe)&&(ie[oe]=oe==="a"?Q[oe]:U(Q[oe]));Q=ie}return s(Q,re)},s.equals=function(Q,re){return!(!Q||!re)&&s(Q).toRgbString()==s(re).toRgbString()},s.random=function(){return s.fromRatio({r:c(),g:c(),b:c()})},s.mix=function(Q,re,ie){ie=ie===0?0:ie||50;var oe=s(Q).toRgb(),ue=s(re).toRgb(),ce=ie/100;return s({r:(ue.r-oe.r)*ce+oe.r,g:(ue.g-oe.g)*ce+oe.g,b:(ue.b-oe.b)*ce+oe.b,a:(ue.a-oe.a)*ce+oe.a})},s.readability=function(Q,re){var ie=s(Q),oe=s(re);return(v.max(ie.getLuminance(),oe.getLuminance())+.05)/(v.min(ie.getLuminance(),oe.getLuminance())+.05)},s.isReadable=function(Q,re,ie){var oe,ue,ce,ye,de,me=s.readability(Q,re);switch(ue=!1,(ce=ie,(ye=((ce=ce||{level:"AA",size:"small"}).level||"AA").toUpperCase())!=="AA"&&ye!=="AAA"&&(ye="AA"),(de=(ce.size||"small").toLowerCase())!=="small"&&de!=="large"&&(de="small"),oe={level:ye,size:de}).level+oe.size){case"AAsmall":case"AAAlarge":ue=me>=4.5;break;case"AAlarge":ue=me>=3;break;case"AAAsmall":ue=me>=7}return ue},s.mostReadable=function(Q,re,ie){var oe,ue,ce,ye,de=null,me=0;ue=(ie=ie||{}).includeFallbackColors,ce=ie.level,ye=ie.size;for(var pe=0;peme&&(me=oe,de=s(re[pe]));return s.isReadable(Q,de,{level:ce,size:ye})||!ue?de:(ie.includeFallbackColors=!1,s.mostReadable(Q,["#fff","#000"],ie))};var z=s.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"},F=s.hexNames=function(Q){var re={};for(var ie in Q)Q.hasOwnProperty(ie)&&(re[Q[ie]]=ie);return re}(z);function B(Q){return Q=parseFloat(Q),(isNaN(Q)||Q<0||Q>1)&&(Q=1),Q}function N(Q,re){(function(oe){return typeof oe=="string"&&oe.indexOf(".")!=-1&&parseFloat(oe)===1})(Q)&&(Q="100%");var ie=function(oe){return typeof oe=="string"&&oe.indexOf("%")!=-1}(Q);return Q=u(re,a(0,parseFloat(Q))),ie&&(Q=parseInt(Q*re,10)/100),v.abs(Q-re)<1e-6?1:Q%re/parseFloat(re)}function q(Q){return u(1,a(0,Q))}function j(Q){return parseInt(Q,16)}function Y(Q){return Q.length==1?"0"+Q:""+Q}function U(Q){return Q<=1&&(Q=100*Q+"%"),Q}function G(Q){return v.round(255*parseFloat(Q)).toString(16)}function W(Q){return j(Q)/255}var H,ne,te,Z=(ne="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",te="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+ne),rgba:new RegExp("rgba"+te),hsl:new RegExp("hsl"+ne),hsla:new RegExp("hsla"+te),hsv:new RegExp("hsv"+ne),hsva:new RegExp("hsva"+te),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 X(Q){return!!Z.CSS_UNIT.exec(Q)}x.exports?x.exports=s:(d=function(){return s}.call(o,t,o,x))===void 0||(x.exports=d)})(Math)},57060:function(x){x.exports=t,x.exports.float32=x.exports.float=t,x.exports.fract32=x.exports.fract=function(d,v){if(d.length){if(d instanceof Float32Array)return new Float32Array(d.length);v instanceof Float32Array||(v=t(d));for(var i=0,M=v.length;i":(M.length>100&&(M=M.slice(0,99)+"…"),M=M.replace(v,function(g){switch(g){case` +`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}))}},47403:function(x,o,t){var d=t(24582),v={object:!0,function:!0,undefined:!0};x.exports=function(i){return!!d(i)&&hasOwnProperty.call(v,typeof i)}},82527:function(x,o,t){var d=t(69190),v=t(84985);x.exports=function(i){return v(i)?i:d(i,"%v is not a plain function",arguments[1])}},84985:function(x,o,t){var d=t(73116),v=/^\s*class[\s{/}]/,i=Function.prototype.toString;x.exports=function(M){return!!d(M)&&!v.test(i.call(M))}},24511:function(x,o,t){var d=t(47403);x.exports=function(v){if(!d(v))return!1;try{return!!v.constructor&&v.constructor.prototype===v}catch{return!1}}},9234:function(x,o,t){var d=t(24582),v=t(47403),i=Object.prototype.toString;x.exports=function(M){if(!d(M))return null;if(v(M)){var g=M.toString;if(typeof g!="function"||g===i)return null}try{return""+M}catch{return null}}},10424:function(x,o,t){var d=t(69190),v=t(24582);x.exports=function(i){return v(i)?i:d(i,"Cannot use %v",arguments[1])}},24582:function(x){x.exports=function(o){return o!=null}},58404:function(x,o,t){var d=t(13547),v=t(12129),i=t(12856).Buffer;t.g.__TYPEDARRAY_POOL||(t.g.__TYPEDARRAY_POOL={UINT8:v([32,0]),UINT16:v([32,0]),UINT32:v([32,0]),BIGUINT64:v([32,0]),INT8:v([32,0]),INT16:v([32,0]),INT32:v([32,0]),BIGINT64:v([32,0]),FLOAT:v([32,0]),DOUBLE:v([32,0]),DATA:v([32,0]),UINT8C:v([32,0]),BUFFER:v([32,0])});var M=typeof Uint8ClampedArray<"u",g=typeof BigUint64Array<"u",p=typeof BigInt64Array<"u",u=t.g.__TYPEDARRAY_POOL;u.UINT8C||(u.UINT8C=v([32,0])),u.BIGUINT64||(u.BIGUINT64=v([32,0])),u.BIGINT64||(u.BIGINT64=v([32,0])),u.BUFFER||(u.BUFFER=v([32,0]));var a=u.DATA,c=u.BUFFER;function s(O){if(O){var I=O.length||O.byteLength,R=d.log2(I);a[R].push(O)}}function l(O){O=d.nextPow2(O);var I=d.log2(O),R=a[I];return R.length>0?R.pop():new ArrayBuffer(O)}function h(O){return new Uint8Array(l(O),0,O)}function f(O){return new Uint16Array(l(2*O),0,O)}function m(O){return new Uint32Array(l(4*O),0,O)}function _(O){return new Int8Array(l(O),0,O)}function y(O){return new Int16Array(l(2*O),0,O)}function C(O){return new Int32Array(l(4*O),0,O)}function w(O){return new Float32Array(l(4*O),0,O)}function k(O){return new Float64Array(l(8*O),0,O)}function E(O){return M?new Uint8ClampedArray(l(O),0,O):h(O)}function T(O){return g?new BigUint64Array(l(8*O),0,O):null}function A(O){return p?new BigInt64Array(l(8*O),0,O):null}function L(O){return new DataView(l(O),0,O)}function b(O){O=d.nextPow2(O);var I=d.log2(O),R=c[I];return R.length>0?R.pop():new i(O)}o.free=function(O){if(i.isBuffer(O))c[d.log2(O.length)].push(O);else{if(Object.prototype.toString.call(O)!=="[object ArrayBuffer]"&&(O=O.buffer),!O)return;var I=O.length||O.byteLength,R=0|d.log2(I);a[R].push(O)}},o.freeUint8=o.freeUint16=o.freeUint32=o.freeBigUint64=o.freeInt8=o.freeInt16=o.freeInt32=o.freeBigInt64=o.freeFloat32=o.freeFloat=o.freeFloat64=o.freeDouble=o.freeUint8Clamped=o.freeDataView=function(O){s(O.buffer)},o.freeArrayBuffer=s,o.freeBuffer=function(O){c[d.log2(O.length)].push(O)},o.malloc=function(O,I){if(I===void 0||I==="arraybuffer")return l(O);switch(I){case"uint8":return h(O);case"uint16":return f(O);case"uint32":return m(O);case"int8":return _(O);case"int16":return y(O);case"int32":return C(O);case"float":case"float32":return w(O);case"double":case"float64":return k(O);case"uint8_clamped":return E(O);case"bigint64":return A(O);case"biguint64":return T(O);case"buffer":return b(O);case"data":case"dataview":return L(O);default:return null}return null},o.mallocArrayBuffer=l,o.mallocUint8=h,o.mallocUint16=f,o.mallocUint32=m,o.mallocInt8=_,o.mallocInt16=y,o.mallocInt32=C,o.mallocFloat32=o.mallocFloat=w,o.mallocFloat64=o.mallocDouble=k,o.mallocUint8Clamped=E,o.mallocBigUint64=T,o.mallocBigInt64=A,o.mallocDataView=L,o.mallocBuffer=b,o.clearCache=function(){for(var O=0;O<32;++O)u.UINT8[O].length=0,u.UINT16[O].length=0,u.UINT32[O].length=0,u.INT8[O].length=0,u.INT16[O].length=0,u.INT32[O].length=0,u.FLOAT[O].length=0,u.DOUBLE[O].length=0,u.BIGUINT64[O].length=0,u.BIGINT64[O].length=0,u.UINT8C[O].length=0,a[O].length=0,c[O].length=0}},90448:function(x){var o=/[\'\"]/;x.exports=function(t){return t?(o.test(t.charAt(0))&&(t=t.substr(1)),o.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}},93447:function(x){x.exports=function(o,t,d){Array.isArray(d)||(d=[].slice.call(arguments,2));for(var v=0,i=d.length;v=U)return H;switch(H){case"%s":return String(Y[j++]);case"%d":return Number(Y[j++]);case"%j":try{return JSON.stringify(Y[j++])}catch{return"[Circular]"}default:return H}}),W=Y[j];j=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),m(q)?j.showHidden=q:q&&o._extend(j,q),w(j.showHidden)&&(j.showHidden=!1),w(j.depth)&&(j.depth=2),w(j.colors)&&(j.colors=!1),w(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=a),s(j,N,j.depth)}function a(N,q){var j=u.styles[q];return j?"\x1B["+u.colors[j][0]+"m"+N+"\x1B["+u.colors[j][1]+"m":N}function c(N,q){return N}function s(N,q,j){if(N.customInspect&&q&&L(q.inspect)&&q.inspect!==o.inspect&&(!q.constructor||q.constructor.prototype!==q)){var Y=q.inspect(j,N);return C(Y)||(Y=s(N,Y,j)),Y}var U=function(Q,re){if(w(re))return Q.stylize("undefined","undefined");if(C(re)){var ie="'"+JSON.stringify(re).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ie,"string")}return y(re)?Q.stylize(""+re,"number"):m(re)?Q.stylize(""+re,"boolean"):_(re)?Q.stylize("null","null"):void 0}(N,q);if(U)return U;var G=Object.keys(q),W=function(Q){var re={};return Q.forEach(function(ie,oe){re[ie]=!0}),re}(G);if(N.showHidden&&(G=Object.getOwnPropertyNames(q)),A(q)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return l(q);if(G.length===0){if(L(q)){var H=q.name?": "+q.name:"";return N.stylize("[Function"+H+"]","special")}if(k(q))return N.stylize(RegExp.prototype.toString.call(q),"regexp");if(T(q))return N.stylize(Date.prototype.toString.call(q),"date");if(A(q))return l(q)}var ne,te="",Z=!1,X=["{","}"];return f(q)&&(Z=!0,X=["[","]"]),L(q)&&(te=" [Function"+(q.name?": "+q.name:"")+"]"),k(q)&&(te=" "+RegExp.prototype.toString.call(q)),T(q)&&(te=" "+Date.prototype.toUTCString.call(q)),A(q)&&(te=" "+l(q)),G.length!==0||Z&&q.length!=0?j<0?k(q)?N.stylize(RegExp.prototype.toString.call(q),"regexp"):N.stylize("[Object]","special"):(N.seen.push(q),ne=Z?function(Q,re,ie,oe,ue){for(var ce=[],ye=0,de=re.length;ye60?ie[0]+(re===""?"":re+` `)+" "+Q.join(`, `)+" "+ie[1]:ie[0]+re+" "+Q.join(", ")+" "+ie[1]}(ne,te,X)):X[0]+te+X[1]}function l(N){return"["+Error.prototype.toString.call(N)+"]"}function h(N,q,j,Y,U,G){var W,H,ne;if((ne=Object.getOwnPropertyDescriptor(q,U)||{value:q[U]}).get?H=ne.set?N.stylize("[Getter/Setter]","special"):N.stylize("[Getter]","special"):ne.set&&(H=N.stylize("[Setter]","special")),z(Y,U)||(W="["+U+"]"),H||(N.seen.indexOf(ne.value)<0?(H=_(j)?s(N,ne.value,null):s(N,ne.value,j-1)).indexOf(` @@ -3644,26 +3644,26 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `).slice(2):` `+H.split(` `).map(function(te){return" "+te}).join(` -`)):H=N.stylize("[Circular]","special")),w(W)){if(G&&U.match(/^\d+$/))return H;(W=JSON.stringify(""+U)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(W=W.slice(1,-1),W=N.stylize(W,"name")):(W=W.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),W=N.stylize(W,"string"))}return W+": "+H}function f(N){return Array.isArray(N)}function m(N){return typeof N=="boolean"}function _(N){return N===null}function y(N){return typeof N=="number"}function C(N){return typeof N=="string"}function w(N){return N===void 0}function k(N){return E(N)&&b(N)==="[object RegExp]"}function E(N){return typeof N=="object"&&N!==null}function T(N){return E(N)&&b(N)==="[object Date]"}function A(N){return E(N)&&(b(N)==="[object Error]"||N instanceof Error)}function L(N){return typeof N=="function"}function b(N){return Object.prototype.toString.call(N)}function O(N){return N<10?"0"+N.toString(10):N.toString(10)}o.debuglog=function(N){if(N=N.toUpperCase(),!M[N])if(v.test(N)){var q=d.pid;M[N]=function(){var j=o.format.apply(o,arguments);console.error("%s %d: %s",N,q,j)}}else M[N]=function(){};return M[N]},o.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"},o.types=t(4936),o.isArray=f,o.isBoolean=m,o.isNull=_,o.isNullOrUndefined=function(N){return N==null},o.isNumber=y,o.isString=C,o.isSymbol=function(N){return typeof N=="symbol"},o.isUndefined=w,o.isRegExp=k,o.types.isRegExp=k,o.isObject=E,o.isDate=T,o.types.isDate=T,o.isError=A,o.types.isNativeError=A,o.isFunction=L,o.isPrimitive=function(N){return N===null||typeof N=="boolean"||typeof N=="number"||typeof N=="string"||typeof N=="symbol"||N===void 0},o.isBuffer=t(45920);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function R(){var N=new Date,q=[O(N.getHours()),O(N.getMinutes()),O(N.getSeconds())].join(":");return[N.getDate(),I[N.getMonth()],q].join(" ")}function z(N,q){return Object.prototype.hasOwnProperty.call(N,q)}o.log=function(){console.log("%s - %s",R(),o.format.apply(o,arguments))},o.inherits=t(42018),o._extend=function(N,q){if(!q||!E(q))return N;for(var j=Object.keys(q),Y=j.length;Y--;)N[j[Y]]=q[j[Y]];return N};var F=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function B(N,q){if(!N){var j=new Error("Promise was rejected with a falsy value");j.reason=N,N=j}return q(N)}o.promisify=function(N){if(typeof N!="function")throw new TypeError('The "original" argument must be of type Function');if(F&&N[F]){var q;if(typeof(q=N[F])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(q,F,{value:q,enumerable:!1,writable:!1,configurable:!0}),q}function q(){for(var j,Y,U=new Promise(function(H,ne){j=H,Y=ne}),G=[],W=0;W"u"?t.g:globalThis,a=g(),c=i("String.prototype.slice"),s={},l=Object.getPrototypeOf;p&&M&&l&&d(a,function(f){if(typeof u[f]=="function"){var m=new u[f];if(Symbol.toStringTag in m){var _=l(m),y=M(_,Symbol.toStringTag);if(!y){var C=l(_);y=M(C,Symbol.toStringTag)}s[f]=y.get}}});var h=t(9187);x.exports=function(f){return!!h(f)&&(p&&Symbol.toStringTag in f?function(m){var _=!1;return d(s,function(y,C){if(!_)try{var w=y.call(m);w===C&&(_=w)}catch{}}),_}(f):c(v(f),8,-1))}},3961:function(x,o,t){var d=t(63489),g=t(56131),i=d.instance();function M(l){this.local=this.regionalOptions[l||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(l,h){if(typeof l=="string"){var f=l.match(p);return f?f[0]:""}var m=this._validateYear(l),_=l.month(),y=""+this.toChineseMonth(m,_);return h&&y.length<2&&(y="0"+y),this.isIntercalaryMonth(m,_)&&(y+="i"),y},monthNames:function(l){if(typeof l=="string"){var h=l.match(u);return h?h[0]:""}var f=this._validateYear(l),m=l.month(),_=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][this.toChineseMonth(f,m)-1];return this.isIntercalaryMonth(f,m)&&(_="闰"+_),_},monthNamesShort:function(l){if(typeof l=="string"){var h=l.match(a);return h?h[0]:""}var f=this._validateYear(l),m=l.month(),_=["一","二","三","四","五","六","七","八","九","十","十一","十二"][this.toChineseMonth(f,m)-1];return this.isIntercalaryMonth(f,m)&&(_="闰"+_),_},parseMonth:function(l,h){l=this._validateYear(l);var f,m=parseInt(h);if(isNaN(m))h[0]==="闰"&&(f=!0,h=h.substring(1)),h[h.length-1]==="月"&&(h=h.substring(0,h.length-1)),m=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(h);else{var _=h[h.length-1];f=_==="i"||_==="I"}return this.toMonthIndex(l,m,f)},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(l,h){if(l.year&&(l=l.year()),typeof l!="number"||l<1888||l>2111)throw h.replace(/\{0\}/,this.local.name);return l},toMonthIndex:function(l,h,f){var m=this.intercalaryMonth(l);if(f&&h!==m||h<1||h>12)throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return m?!f&&h<=m?h-1:h:h-1},toChineseMonth:function(l,h){l.year&&(h=(l=l.year()).month());var f=this.intercalaryMonth(l);if(h<0||h>(f?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return f?h>13},isIntercalaryMonth:function(l,h){l.year&&(h=(l=l.year()).month());var f=this.intercalaryMonth(l);return!!f&&f===h},leapYear:function(l){return this.intercalaryMonth(l)!==0},weekOfYear:function(l,h,f){var m,_=this._validateYear(l,d.local.invalidyear),y=s[_-s[0]],C=y>>9&4095,w=y>>5&15,k=31&y;(m=i.newDate(C,w,k)).add(4-(m.dayOfWeek()||7),"d");var E=this.toJD(l,h,f)-m.toJD();return 1+Math.floor(E/7)},monthsInYear:function(l){return this.leapYear(l)?13:12},daysInMonth:function(l,h){l.year&&(h=l.month(),l=l.year()),l=this._validateYear(l);var f=c[l-c[0]];if(h>(f>>13?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return f&1<<12-h?30:29},weekDay:function(l,h,f){return(this.dayOfWeek(l,h,f)||7)<6},toJD:function(l,h,f){var m=this._validate(l,y,f,d.local.invalidDate);l=this._validateYear(m.year()),h=m.month(),f=m.day();var _=this.isIntercalaryMonth(l,h),y=this.toChineseMonth(l,h),C=function(w,k,E,T,A){var L,b,O;if(typeof w=="object")b=w,L=k||{};else{var I;if(!(typeof w=="number"&&w>=1888&&w<=2111))throw new Error("Lunar year outside range 1888-2111");if(!(typeof k=="number"&&k>=1&&k<=12))throw new Error("Lunar month outside range 1 - 12");if(!(typeof E=="number"&&E>=1&&E<=30))throw new Error("Lunar day outside range 1 - 30");typeof T=="object"?(I=!1,L=T):(I=!!T,L={}),b={year:w,month:k,day:E,isIntercalary:I}}O=b.day-1;var R,z=c[b.year-c[0]],F=z>>13;R=F&&(b.month>F||b.isIntercalary)?b.month:b.month-1;for(var B=0;B>9&4095,(N>>5&15)-1,(31&N)+O);return L.year=q.getFullYear(),L.month=1+q.getMonth(),L.day=q.getDate(),L}(l,y,f,_);return i.toJD(C.year,C.month,C.day)},fromJD:function(l){var h=i.fromJD(l),f=function(_,y,C,w){var k,E;if(typeof _=="object")k=_,E=y||{};else{if(!(typeof _=="number"&&_>=1888&&_<=2111))throw new Error("Solar year outside range 1888-2111");if(!(typeof y=="number"&&y>=1&&y<=12))throw new Error("Solar month outside range 1 - 12");if(!(typeof C=="number"&&C>=1&&C<=31))throw new Error("Solar day outside range 1 - 31");k={year:_,month:y,day:C},E={}}var T=s[k.year-s[0]],A=k.year<<9|k.month<<5|k.day;E.year=A>=T?k.year:k.year-1,T=s[E.year-s[0]];var L,b=new Date(T>>9&4095,(T>>5&15)-1,31&T),O=new Date(k.year,k.month-1,k.day);L=Math.round((O-b)/864e5);var I,R=c[E.year-c[0]];for(I=0;I<13;I++){var z=R&1<<12-I?30:29;if(L>13;return!F||I=2&&a<=6},extraInfo:function(v,p,u){var a=this._validate(v,p,u,d.local.invalidDate);return{century:M[Math.floor((a.year()-1)/100)+1]||""}},toJD:function(v,p,u){var a=this._validate(v,p,u,d.local.invalidDate);return v=a.year()+(a.year()<0?1:0),p=a.month(),(u=a.day())+(p>1?16:0)+(p>2?32*(p-2):0)+400*(v-1)+this.jdEpoch-1},fromJD:function(v){v=Math.floor(v+.5)-Math.floor(this.jdEpoch)-1;var p=Math.floor(v/400)+1;v-=400*(p-1),v+=v>15?16:0;var u=Math.floor(v/32)+1,a=v-32*(u-1)+1;return this.newDate(p<=0?p-1:p,u,a)}});var M={20:"Fruitbat",21:"Anchovy"};d.calendars.discworld=i},37715:function(x,o,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,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(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()+(v.year()<0?1:0))%4==3||M%4==-1},monthsInYear:function(M){return this._validate(M,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear),13},weekOfYear:function(M,v,p){var u=this.newDate(M,v,p);return u.add(-u.dayOfWeek(),"d"),Math.floor((u.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var p=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===13&&this.leapYear(p.year())?1:0)},weekDay:function(M,v,p){return(this.dayOfWeek(M,v,p)||7)<6},toJD:function(M,v,p){var u=this._validate(M,v,p,d.local.invalidDate);return(M=u.year())<0&&M++,u.day()+30*(u.month()-1)+365*(M-1)+Math.floor(M/4)+this.jdEpoch-1},fromJD:function(M){var v=Math.floor(M)+.5-this.jdEpoch,p=Math.floor((v-Math.floor((v+366)/1461))/365)+1;p<=0&&p--,v=Math.floor(M)+.5-this.newDate(p,1,1).toJD();var u=Math.floor(v/30)+1,a=v-30*(u-1)+1;return this.newDate(p,u,a)}}),d.calendars.ethiopian=i},99384:function(x,o,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}function M(v,p){return v-p*Math.floor(v/p)}i.prototype=new d.baseCalendar,g(i.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(v){var p=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this._leapYear(p.year())},_leapYear:function(v){return M(7*(v=v<0?v+1:v)+1,19)<7},monthsInYear:function(v){return this._validate(v,this.minMonth,this.minDay,d.local.invalidYear),this._leapYear(v.year?v.year():v)?13:12},weekOfYear:function(v,p,u){var a=this.newDate(v,p,u);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){return v=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear).year(),this.toJD(v===-1?1:v+1,7,1)-this.toJD(v,7,1)},daysInMonth:function(v,p){return v.year&&(p=v.month(),v=v.year()),this._validate(v,p,this.minDay,d.local.invalidMonth),p===12&&this.leapYear(v)||p===8&&M(this.daysInYear(v),10)===5?30:p===9&&M(this.daysInYear(v),10)===3?29:this.daysPerMonth[p-1]},weekDay:function(v,p,u){return this.dayOfWeek(v,p,u)!==6},extraInfo:function(v,p,u){var a=this._validate(v,p,u,d.local.invalidDate);return{yearType:(this.leapYear(a)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(a)%10-3]}},toJD:function(v,p,u){var a=this._validate(v,p,u,d.local.invalidDate);v=a.year(),p=a.month(),u=a.day();var c=v<=0?v+1:v,s=this.jdEpoch+this._delay1(c)+this._delay2(c)+u+1;if(p<7){for(var l=7;l<=this.monthsInYear(v);l++)s+=this.daysInMonth(v,l);for(l=1;l=this.toJD(p===-1?1:p+1,7,1);)p++;for(var u=vthis.toJD(p,u,this.daysInMonth(p,u));)u++;var a=v-this.toJD(p,u,1)+1;return this.newDate(p,u,a)}}),d.calendars.hebrew=i},43805:function(x,o,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Islamic",jdEpoch:19484395e-1,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(M){return(11*this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year()+14)%30<11},weekOfYear:function(M,v,p){var u=this.newDate(M,v,p);return u.add(-u.dayOfWeek(),"d"),Math.floor((u.dayOfYear()-1)/7)+1},daysInYear:function(M){return this.leapYear(M)?355:354},daysInMonth:function(M,v){var p=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===12&&this.leapYear(p.year())?1:0)},weekDay:function(M,v,p){return this.dayOfWeek(M,v,p)!==5},toJD:function(M,v,p){var u=this._validate(M,v,p,d.local.invalidDate);return M=u.year(),v=u.month(),M=M<=0?M+1:M,(p=u.day())+Math.ceil(29.5*(v-1))+354*(M-1)+Math.floor((3+11*M)/30)+this.jdEpoch-1},fromJD:function(M){M=Math.floor(M)+.5;var v=Math.floor((30*(M-this.jdEpoch)+10646)/10631);v=v<=0?v-1:v;var p=Math.min(12,Math.ceil((M-29-this.toJD(v,1,1))/29.5)+1),u=M-this.toJD(v,p,1)+1;return this.newDate(v,p,u)}}),d.calendars.islamic=i},88874:function(x,o,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Julian",jdEpoch:17214235e-1,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(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()<0?v.year()+1:v.year())%4==0},weekOfYear:function(M,v,p){var u=this.newDate(M,v,p);return u.add(4-(u.dayOfWeek()||7),"d"),Math.floor((u.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var p=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===2&&this.leapYear(p.year())?1:0)},weekDay:function(M,v,p){return(this.dayOfWeek(M,v,p)||7)<6},toJD:function(M,v,p){var u=this._validate(M,v,p,d.local.invalidDate);return M=u.year(),v=u.month(),p=u.day(),M<0&&M++,v<=2&&(M--,v+=12),Math.floor(365.25*(M+4716))+Math.floor(30.6001*(v+1))+p-1524.5},fromJD:function(M){var v=Math.floor(M+.5)+1524,p=Math.floor((v-122.1)/365.25),u=Math.floor(365.25*p),a=Math.floor((v-u)/30.6001),c=a-Math.floor(a<14?1:13),s=p-Math.floor(c>2?4716:4715),l=v-u-Math.floor(30.6001*a);return s<=0&&s--,this.newDate(s,c,l)}}),d.calendars.julian=i},83290:function(x,o,t){var d=t(63489),g=t(56131);function i(p){this.local=this.regionalOptions[p||""]||this.regionalOptions[""]}function M(p,u){return p-u*Math.floor(p/u)}function v(p,u){return M(p-1,u)+1}i.prototype=new d.baseCalendar,g(i.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(p){return this._validate(p,this.minMonth,this.minDay,d.local.invalidYear),!1},formatYear:function(p){p=this._validate(p,this.minMonth,this.minDay,d.local.invalidYear).year();var u=Math.floor(p/400);return p%=400,p+=p<0?400:0,u+"."+Math.floor(p/20)+"."+p%20},forYear:function(p){if((p=p.split(".")).length<3)throw"Invalid Mayan year";for(var u=0,a=0;a19||a>0&&c<0)throw"Invalid Mayan year";u=20*u+c}return u},monthsInYear:function(p){return this._validate(p,this.minMonth,this.minDay,d.local.invalidYear),18},weekOfYear:function(p,u,a){return this._validate(p,u,a,d.local.invalidDate),0},daysInYear:function(p){return this._validate(p,this.minMonth,this.minDay,d.local.invalidYear),360},daysInMonth:function(p,u){return this._validate(p,u,this.minDay,d.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(p,u,a){return this._validate(p,u,a,d.local.invalidDate).day()},weekDay:function(p,u,a){return this._validate(p,u,a,d.local.invalidDate),!0},extraInfo:function(p,u,a){var c=this._validate(p,u,a,d.local.invalidDate).toJD(),s=this._toHaab(c),l=this._toTzolkin(c);return{haabMonthName:this.local.haabMonths[s[0]-1],haabMonth:s[0],haabDay:s[1],tzolkinDayName:this.local.tzolkinMonths[l[0]-1],tzolkinDay:l[0],tzolkinTrecena:l[1]}},_toHaab:function(p){var u=M(8+(p-=this.jdEpoch)+340,365);return[Math.floor(u/20)+1,M(u,20)]},_toTzolkin:function(p){return[v(20+(p-=this.jdEpoch),20),v(p+4,13)]},toJD:function(p,u,a){var c=this._validate(p,u,a,d.local.invalidDate);return c.day()+20*c.month()+360*c.year()+this.jdEpoch},fromJD:function(p){p=Math.floor(p)+.5-this.jdEpoch;var u=Math.floor(p/360);p%=360,p+=p<0?360:0;var a=Math.floor(p/20),c=p%20;return this.newDate(u,a,c)}}),d.calendars.mayan=i},29108:function(x,o,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar;var M=d.instance("gregorian");g(i.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,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(v){var p=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear);return M.leapYear(p.year()+(p.year()<1?1:0)+1469)},weekOfYear:function(v,p,u){var a=this.newDate(v,p,u);return a.add(1-(a.dayOfWeek()||7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,p){var u=this._validate(v,p,this.minDay,d.local.invalidMonth);return this.daysPerMonth[u.month()-1]+(u.month()===12&&this.leapYear(u.year())?1:0)},weekDay:function(v,p,u){return(this.dayOfWeek(v,p,u)||7)<6},toJD:function(v,p,u){var a=this._validate(v,p,u,d.local.invalidMonth);(v=a.year())<0&&v++;for(var c=a.day(),s=1;s=this.toJD(p+1,1,1);)p++;for(var u=v-Math.floor(this.toJD(p,1,1)+.5)+1,a=1;u>this.daysInMonth(p,a);)u-=this.daysInMonth(p,a),a++;return this.newDate(p,a,u)}}),d.calendars.nanakshahi=i},55422:function(x,o,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Nepali",jdEpoch:17007095e-1,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(M){return this.daysInYear(M)!==this.daysPerYear},weekOfYear:function(M,v,p){var u=this.newDate(M,v,p);return u.add(-u.dayOfWeek(),"d"),Math.floor((u.dayOfYear()-1)/7)+1},daysInYear:function(M){if(M=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year(),this.NEPALI_CALENDAR_DATA[M]===void 0)return this.daysPerYear;for(var v=0,p=this.minMonth;p<=12;p++)v+=this.NEPALI_CALENDAR_DATA[M][p];return v},daysInMonth:function(M,v){return M.year&&(v=M.month(),M=M.year()),this._validate(M,v,this.minDay,d.local.invalidMonth),this.NEPALI_CALENDAR_DATA[M]===void 0?this.daysPerMonth[v-1]:this.NEPALI_CALENDAR_DATA[M][v]},weekDay:function(M,v,p){return this.dayOfWeek(M,v,p)!==6},toJD:function(M,v,p){var u=this._validate(M,v,p,d.local.invalidDate);M=u.year(),v=u.month(),p=u.day();var a=d.instance(),c=0,s=v,l=M;this._createMissingCalendarData(M);var h=M-(s>9||s===9&&p>=this.NEPALI_CALENDAR_DATA[l][0]?56:57);for(v!==9&&(c=p,s--);s!==9;)s<=0&&(s=12,l--),c+=this.NEPALI_CALENDAR_DATA[l][s],s--;return v===9?(c+=p-this.NEPALI_CALENDAR_DATA[l][0])<0&&(c+=a.daysInYear(h)):c+=this.NEPALI_CALENDAR_DATA[l][9]-this.NEPALI_CALENDAR_DATA[l][0],a.newDate(h,1,1).add(c,"d").toJD()},fromJD:function(M){var v=d.instance().fromJD(M),p=v.year(),u=v.dayOfYear(),a=p+56;this._createMissingCalendarData(a);for(var c=9,s=this.NEPALI_CALENDAR_DATA[a][0],l=this.NEPALI_CALENDAR_DATA[a][c]-s+1;u>l;)++c>12&&(c=1,a++),l+=this.NEPALI_CALENDAR_DATA[a][c];var h=this.NEPALI_CALENDAR_DATA[a][c]-(l-u);return this.newDate(a,c,h)},_createMissingCalendarData:function(M){var v=this.daysPerMonth.slice(0);v.unshift(17);for(var p=M-1;p0?474:473))%2820+474+38)%2816<682},weekOfYear:function(v,p,u){var a=this.newDate(v,p,u);return a.add(-(a.dayOfWeek()+1)%7,"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,p){var u=this._validate(v,p,this.minDay,d.local.invalidMonth);return this.daysPerMonth[u.month()-1]+(u.month()===12&&this.leapYear(u.year())?1:0)},weekDay:function(v,p,u){return this.dayOfWeek(v,p,u)!==5},toJD:function(v,p,u){var a=this._validate(v,p,u,d.local.invalidDate);v=a.year(),p=a.month(),u=a.day();var c=v-(v>=0?474:473),s=474+M(c,2820);return u+(p<=7?31*(p-1):30*(p-1)+6)+Math.floor((682*s-110)/2816)+365*(s-1)+1029983*Math.floor(c/2820)+this.jdEpoch-1},fromJD:function(v){var p=(v=Math.floor(v)+.5)-this.toJD(475,1,1),u=Math.floor(p/1029983),a=M(p,1029983),c=2820;if(a!==1029982){var s=Math.floor(a/366),l=M(a,366);c=Math.floor((2134*s+2816*l+2815)/1028522)+s+1}var h=c+2820*u+474;h=h<=0?h-1:h;var f=v-this.toJD(h,1,1)+1,m=f<=186?Math.ceil(f/31):Math.ceil((f-6)/30),_=v-this.toJD(h,m,1)+1;return this.newDate(h,m,_)}}),d.calendars.persian=i,d.calendars.jalali=i},31320:function(x,o,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Taiwan",jdEpoch:24194025e-1,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(v){var p=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(p.year()),i.leapYear(v)},weekOfYear:function(v,p,u){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,p){var u=this._validate(v,p,this.minDay,d.local.invalidMonth);return this.daysPerMonth[u.month()-1]+(u.month()===2&&this.leapYear(u.year())?1:0)},weekDay:function(v,p,u){return(this.dayOfWeek(v,p,u)||7)<6},toJD:function(v,p,u){var a=this._validate(v,p,u,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var p=i.fromJD(v),u=this._g2tYear(p.year());return this.newDate(u,p.month(),p.day())},_t2gYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)},_g2tYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)}}),d.calendars.taiwan=M},51367:function(x,o,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Thai",jdEpoch:15230985e-1,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(v){var p=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(p.year()),i.leapYear(v)},weekOfYear:function(v,p,u){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,p){var u=this._validate(v,p,this.minDay,d.local.invalidMonth);return this.daysPerMonth[u.month()-1]+(u.month()===2&&this.leapYear(u.year())?1:0)},weekDay:function(v,p,u){return(this.dayOfWeek(v,p,u)||7)<6},toJD:function(v,p,u){var a=this._validate(v,p,u,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var p=i.fromJD(v),u=this._g2tYear(p.year());return this.newDate(u,p.month(),p.day())},_t2gYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)},_g2tYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)}}),d.calendars.thai=M},21457:function(x,o,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.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(v){var p=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this.daysInYear(p.year())===355},weekOfYear:function(v,p,u){var a=this.newDate(v,p,u);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){for(var p=0,u=1;u<=12;u++)p+=this.daysInMonth(v,u);return p},daysInMonth:function(v,p){for(var u=this._validate(v,p,this.minDay,d.local.invalidMonth).toJD()-24e5+.5,a=0,c=0;cu)return M[a]-M[a-1];a++}return 30},weekDay:function(v,p,u){return this.dayOfWeek(v,p,u)!==5},toJD:function(v,p,u){var a=this._validate(v,p,u,d.local.invalidDate),c=12*(a.year()-1)+a.month()-15292;return a.day()+M[c-1]-1+24e5-.5},fromJD:function(v){for(var p=v-24e5+.5,u=0,a=0;ap);a++)u++;var c=u+15292,s=Math.floor((c-1)/12),l=s+1,h=c-12*s,f=p-M[u-1]+1;return this.newDate(l,h,f)},isValid:function(v,p,u){var a=d.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(a=(v=v.year!=null?v.year:v)>=1276&&v<=1500),a},_validate:function(v,p,u,a){var c=d.baseCalendar.prototype._validate.apply(this,arguments);if(c.year<1276||c.year>1500)throw a.replace(/\{0\}/,this.local.name);return c}}),d.calendars.ummalqura=i;var M=[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]},63489:function(x,o,t){var d=t(56131);function g(){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 i(a,c,s,l){if(this._calendar=a,this._year=c,this._month=s,this._day=l,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(u.local.invalidDate||u.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function M(a,c){return"000000".substring(0,c-(a=""+a).length)+a}function v(){this.shortYearCutoff="+10"}function p(a){this.local=this.regionalOptions[a]||this.regionalOptions[""]}d(g.prototype,{instance:function(a,c){a=(a||"gregorian").toLowerCase(),c=c||"";var s=this._localCals[a+"-"+c];if(!s&&this.calendars[a]&&(s=new this.calendars[a](c),this._localCals[a+"-"+c]=s),!s)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,a);return s},newDate:function(a,c,s,l,h){return(l=(a!=null&&a.year?a.calendar():typeof l=="string"?this.instance(l,h):l)||this.instance()).newDate(a,c,s)},substituteDigits:function(a){return function(c){return(c+"").replace(/[0-9]/g,function(s){return a[s]})}},substituteChineseDigits:function(a,c){return function(s){for(var l="",h=0;s>0;){var f=s%10;l=(f===0?"":a[f]+c[h])+l,h++,s=Math.floor(s/10)}return l.indexOf(a[1]+c[1])===0&&(l=l.substr(1)),l||a[0]}}}),d(i.prototype,{newDate:function(a,c,s){return this._calendar.newDate(a??this,c,s)},year:function(a){return arguments.length===0?this._year:this.set(a,"y")},month:function(a){return arguments.length===0?this._month:this.set(a,"m")},day:function(a){return arguments.length===0?this._day:this.set(a,"d")},date:function(a,c,s){if(!this._calendar.isValid(a,c,s))throw(u.local.invalidDate||u.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=a,this._month=c,this._day=s,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(a,c){return this._calendar.add(this,a,c)},set:function(a,c){return this._calendar.set(this,a,c)},compareTo:function(a){if(this._calendar.name!==a._calendar.name)throw(u.local.differentCalendars||u.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name);var c=this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day;return c===0?0:c<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?"-":"")+M(Math.abs(this.year()),4)+"-"+M(this.month(),2)+"-"+M(this.day(),2)}}),d(v.prototype,{_validateLevel:0,newDate:function(a,c,s){return a==null?this.today():(a.year&&(this._validate(a,c,s,u.local.invalidDate||u.regionalOptions[""].invalidDate),s=a.day(),c=a.month(),a=a.year()),new i(this,a,c,s))},today:function(){return this.fromJSDate(new Date)},epoch:function(a){return this._validate(a,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(a){var c=this._validate(a,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear);return(c.year()<0?"-":"")+M(Math.abs(c.year()),4)},monthsInYear:function(a){return this._validate(a,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear),12},monthOfYear:function(a,c){var s=this._validate(a,c,this.minDay,u.local.invalidMonth||u.regionalOptions[""].invalidMonth);return(s.month()+this.monthsInYear(s)-this.firstMonth)%this.monthsInYear(s)+this.minMonth},fromMonthOfYear:function(a,c){var s=(c+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;return this._validate(a,s,this.minDay,u.local.invalidMonth||u.regionalOptions[""].invalidMonth),s},daysInYear:function(a){var c=this._validate(a,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear);return this.leapYear(c)?366:365},dayOfYear:function(a,c,s){var l=this._validate(a,c,s,u.local.invalidDate||u.regionalOptions[""].invalidDate);return l.toJD()-this.newDate(l.year(),this.fromMonthOfYear(l.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,c,s){var l=this._validate(a,c,s,u.local.invalidDate||u.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(l))+2)%this.daysInWeek()},extraInfo:function(a,c,s){return this._validate(a,c,s,u.local.invalidDate||u.regionalOptions[""].invalidDate),{}},add:function(a,c,s){return this._validate(a,this.minMonth,this.minDay,u.local.invalidDate||u.regionalOptions[""].invalidDate),this._correctAdd(a,this._add(a,c,s),c,s)},_add:function(a,c,s){if(this._validateLevel++,s==="d"||s==="w"){var l=a.toJD()+c*(s==="w"?this.daysInWeek():1),h=a.calendar().fromJD(l);return this._validateLevel--,[h.year(),h.month(),h.day()]}try{var f=a.year()+(s==="y"?c:0),m=a.monthOfYear()+(s==="m"?c:0);h=a.day(),s==="y"?(a.month()!==this.fromMonthOfYear(f,m)&&(m=this.newDate(f,a.month(),this.minDay).monthOfYear()),m=Math.min(m,this.monthsInYear(f)),h=Math.min(h,this.daysInMonth(f,this.fromMonthOfYear(f,m)))):s==="m"&&(function(y){for(;mC-1+y.minMonth;)f++,m-=C,C=y.monthsInYear(f)}(this),h=Math.min(h,this.daysInMonth(f,this.fromMonthOfYear(f,m))));var _=[f,this.fromMonthOfYear(f,m),h];return this._validateLevel--,_}catch(y){throw this._validateLevel--,y}},_correctAdd:function(a,c,s,l){if(!(this.hasYearZero||l!=="y"&&l!=="m"||c[0]!==0&&a.year()>0==c[0]>0)){var h={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[l],f=s<0?-1:1;c=this._add(a,s*h[0]+f*h[1],h[2])}return a.date(c[0],c[1],c[2])},set:function(a,c,s){this._validate(a,this.minMonth,this.minDay,u.local.invalidDate||u.regionalOptions[""].invalidDate);var l=s==="y"?c:a.year(),h=s==="m"?c:a.month(),f=s==="d"?c:a.day();return s!=="y"&&s!=="m"||(f=Math.min(f,this.daysInMonth(l,h))),a.date(l,h,f)},isValid:function(a,c,s){this._validateLevel++;var l=this.hasYearZero||a!==0;if(l){var h=this.newDate(a,c,this.minDay);l=c>=this.minMonth&&c-this.minMonth=this.minDay&&s-this.minDay13.5?13:1),C=h-(y>2.5?4716:4715);return C<=0&&C--,this.newDate(C,y,_)},toJSDate:function(a,c,s){var l=this._validate(a,c,s,u.local.invalidDate||u.regionalOptions[""].invalidDate),h=new Date(l.year(),l.month()-1,l.day());return h.setHours(0),h.setMinutes(0),h.setSeconds(0),h.setMilliseconds(0),h.setHours(h.getHours()>12?h.getHours()+2:0),h},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});var u=x.exports=new g;u.cdate=i,u.baseCalendar=v,u.calendars.gregorian=p},94338:function(x,o,t){var d=t(56131),g=t(63489);d(g.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"}),g.local=g.regionalOptions[""],d(g.cdate.prototype,{formatDate:function(i,M){return typeof i!="string"&&(M=i,i=""),this._calendar.formatDate(i||"",this,M)}}),d(g.baseCalendar.prototype,{UNIX_EPOCH:g.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:g.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(i,M,v){if(typeof i!="string"&&(v=M,M=i,i=""),!M)return"";if(M.calendar()!==this)throw g.local.invalidFormat||g.regionalOptions[""].invalidFormat;i=i||this.local.dateFormat;for(var p,u,a,c=(v=v||{}).dayNamesShort||this.local.dayNamesShort,s=v.dayNames||this.local.dayNames,l=v.monthNumbers||this.local.monthNumbers,h=v.monthNamesShort||this.local.monthNamesShort,f=v.monthNames||this.local.monthNames,m=(v.calculateWeek||this.local.calculateWeek,function(b,O){for(var I=1;L+I1}),_=function(b,O,I,R){var z=""+O;if(m(b,R))for(;z.length1},T=function(N,q){var j=E(N,q),Y=[2,3,j?4:2,j?4:2,10,11,20]["oyYJ@!".indexOf(N)+1],U=new RegExp("^-?\\d{1,"+Y+"}"),G=M.substring(R).match(U);if(!G)throw(g.local.missingNumberAt||g.regionalOptions[""].missingNumberAt).replace(/\{0\}/,R);return R+=G[0].length,parseInt(G[0],10)},A=this,L=function(){if(typeof s=="function"){E("m");var N=s.call(A,M.substring(R));return R+=N.length,N}return T("m")},b=function(N,q,j,Y){for(var U=E(N,Y)?j:q,G=0;G-1){_=1,y=C;for(var B=this.daysInMonth(m,_);y>B;B=this.daysInMonth(m,_))_++,y-=B}return f>-1?this.fromJD(f):this.newDate(m,_,y)},determineDate:function(i,M,v,p,u){v&&typeof v!="object"&&(u=p,p=v,v=null),typeof p!="string"&&(u=p,p="");var a=this;return M=M?M.newDate():null,i==null?M:typeof i=="string"?function(c){try{return a.parseDate(p,c,u)}catch{}for(var s=((c=c.toLowerCase()).match(/^c/)&&v?v.newDate():null)||a.today(),l=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,h=l.exec(c);h;)s.add(parseInt(h[1],10),h[2]||"d"),h=l.exec(c);return s}(i):typeof i=="number"?isNaN(i)||i===1/0||i===-1/0?M:a.today().add(i,"d"):a.newDate(i)}})},69862:function(){},40964:function(){},72077:function(x,o,t){var d=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],g=typeof globalThis>"u"?t.g:globalThis;x.exports=function(){for(var i=[],M=0;M>8&15|me>>4&240,me>>4&15|240&me,(15&me)<<4|15&me,1):pe===8?T(me>>24&255,me>>16&255,me>>8&255,(255&me)/255):pe===4?T(me>>12&15|me>>8&240,me>>8&15|me>>4&240,me>>4&15|240&me,((15&me)<<4|15&me)/255):null):(me=s.exec(de))?new b(me[1],me[2],me[3],1):(me=l.exec(de))?new b(255*me[1]/100,255*me[2]/100,255*me[3]/100,1):(me=h.exec(de))?T(me[1],me[2],me[3],me[4]):(me=f.exec(de))?T(255*me[1]/100,255*me[2]/100,255*me[3]/100,me[4]):(me=m.exec(de))?B(me[1],me[2]/100,me[3]/100,1):(me=_.exec(de))?B(me[1],me[2]/100,me[3]/100,me[4]):y.hasOwnProperty(de)?E(y[de]):de==="transparent"?new b(NaN,NaN,NaN,0):null}function E(de){return new b(de>>16&255,de>>8&255,255&de,1)}function T(de,me,pe,xe){return xe<=0&&(de=me=pe=NaN),new b(de,me,pe,xe)}function A(de){return de instanceof i||(de=k(de)),de?new b((de=de.rgb()).r,de.g,de.b,de.opacity):new b}function L(de,me,pe,xe){return arguments.length===1?A(de):new b(de,me,pe,xe??1)}function b(de,me,pe,xe){this.r=+de,this.g=+me,this.b=+pe,this.opacity=+xe}function O(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b))}function I(){var de=R(this.opacity);return"".concat(de===1?"rgb(":"rgba(").concat(z(this.r),", ").concat(z(this.g),", ").concat(z(this.b)).concat(de===1?")":", ".concat(de,")"))}function R(de){return isNaN(de)?1:Math.max(0,Math.min(1,de))}function z(de){return Math.max(0,Math.min(255,Math.round(de)||0))}function F(de){return((de=z(de))<16?"0":"")+de.toString(16)}function B(de,me,pe,xe){return xe<=0?de=me=pe=NaN:pe<=0||pe>=1?de=me=NaN:me<=0&&(de=NaN),new q(de,me,pe,xe)}function N(de){if(de instanceof q)return new q(de.h,de.s,de.l,de.opacity);if(de instanceof i||(de=k(de)),!de)return new q;if(de instanceof q)return de;var me=(de=de.rgb()).r/255,pe=de.g/255,xe=de.b/255,Pe=Math.min(me,pe,xe),_e=Math.max(me,pe,xe),Me=NaN,Se=_e-Pe,Ce=(_e+Pe)/2;return Se?(Me=me===_e?(pe-xe)/Se+6*(pe0&&Ce<1?0:Me,new q(Me,Se,Ce,de.opacity)}function q(de,me,pe,xe){this.h=+de,this.s=+me,this.l=+pe,this.opacity=+xe}function j(de){return(de=(de||0)%360)<0?de+360:de}function Y(de){return Math.max(0,Math.min(1,de||0))}function U(de,me,pe){return 255*(de<60?me+(pe-me)*de/60:de<180?pe:de<240?me+(pe-me)*(240-de)/60:me)}d(i,k,{copy:function(de){return Object.assign(new this.constructor,this,de)},displayable:function(){return this.rgb().displayable()},hex:C,formatHex:C,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return N(this).formatHsl()},formatRgb:w,toString:w}),d(b,L,g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},rgb:function(){return this},clamp:function(){return new b(z(this.r),z(this.g),z(this.b),R(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:O,formatHex:O,formatHex8:function(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b)).concat(F(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:I,toString:I})),d(q,function(de,me,pe,xe){return arguments.length===1?N(de):new q(de,me,pe,xe??1)},g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new q(this.h,this.s,this.l*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new q(this.h,this.s,this.l*de,this.opacity)},rgb:function(){var de=this.h%360+360*(this.h<0),me=isNaN(de)||isNaN(this.s)?0:this.s,pe=this.l,xe=pe+(pe<.5?pe:1-pe)*me,Pe=2*pe-xe;return new b(U(de>=240?de-240:de+120,Pe,xe),U(de,Pe,xe),U(de<120?de+240:de-120,Pe,xe),this.opacity)},clamp:function(){return new q(j(this.h),Y(this.s),Y(this.l),R(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var de=R(this.opacity);return"".concat(de===1?"hsl(":"hsla(").concat(j(this.h),", ").concat(100*Y(this.s),"%, ").concat(100*Y(this.l),"%").concat(de===1?")":", ".concat(de,")"))}}));var G=function(de){return function(){return de}};function W(de,me){var pe=me-de;return pe?function(xe,Pe){return function(_e){return xe+_e*Pe}}(de,pe):G(isNaN(de)?me:de)}var H=function de(me){var pe=function(Pe){return(Pe=+Pe)==1?W:function(_e,Me){return Me-_e?function(Se,Ce,ae){return Se=Math.pow(Se,ae),Ce=Math.pow(Ce,ae)-Se,ae=1/ae,function(he){return Math.pow(Se+he*Ce,ae)}}(_e,Me,Pe):G(isNaN(_e)?Me:_e)}}(me);function xe(Pe,_e){var Me=pe((Pe=L(Pe)).r,(_e=L(_e)).r),Se=pe(Pe.g,_e.g),Ce=pe(Pe.b,_e.b),ae=W(Pe.opacity,_e.opacity);return function(he){return Pe.r=Me(he),Pe.g=Se(he),Pe.b=Ce(he),Pe.opacity=ae(he),Pe+""}}return xe.gamma=de,xe}(1);function ne(de,me){var pe,xe=me?me.length:0,Pe=de?Math.min(xe,de.length):0,_e=new Array(Pe),Me=new Array(xe);for(pe=0;pe_e&&(Pe=me.slice(_e,Pe),Se[Me]?Se[Me]+=Pe:Se[++Me]=Pe),(pe=pe[0])===(xe=xe[0])?Se[Me]?Se[Me]+=xe:Se[++Me]=xe:(Se[++Me]=null,Ce.push({i:Me,x:Z(pe,xe)})),_e=ie.lastIndex;return _en.rt)},yValues(){return this.dataForHeatmapDrawing.map(n=>n.mass)},markerColorValues(){return this.dataForHeatmapDrawing.map(n=>n.intensity)},data(){return[{type:"scattergl",name:"raw peaks",x:this.xValues,y:this.yValues,mode:"markers",marker:{color:this.markerColorValues,colorscale:"Portland",showscale:!0},hovertext:this.markerColorValues.map(n=>Math.round(n).toString())}]},layout(){var n,e,r,S;return{title:`${this.args.title}`,showlegend:this.args.showLegend,xaxis:{title:"Retention Time"},yaxis:{title:this.yAxisLabel},paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(S=this.theme)==null?void 0:S.font}}}},watch:{renderData(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await Ns.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Ns.Icons.camera,click:n=>{Ns.downloadImage(n,{filename:"FLASHViewer-heatmap",height:400,width:1200,format:"svg"})}}]})}}}),Bo=(n,e)=>{const r=n.__vccOpts||n;for(const[S,D]of e)r[S]=D;return r},ZD=["id"];function XD(n,e,r,S,D,x){return Dr(),ai("div",{id:n.id,style:{width:"100%"}},null,8,ZD)}const KD=Bo(YD,[["render",XD]]),Bc=h2("selection",{state:()=>({scanIndex:void 0,massIndex:void 0,proteinIndex:void 0,tagIndex:void 0,selectedObservedMass:void 0,AApos:void 0,tagData:void 0}),getters:{selectedScanIndex:n=>n.scanIndex,selectedMassIndex:n=>n.massIndex,selectedProteinIndex:n=>n.proteinIndex,selectedTagIndex:n=>n.tagIndex,selectedAApos:n=>n.AApos,selectedTag:n=>n.tagData,selectedObservedMassFromFragmentTable:n=>n.selectedObservedMass},actions:{updateSelectedScan(n){this.scanIndex=n},updateSelectedMass(n){this.massIndex=n},updateSelectedProtein(n){this.proteinIndex=n},updateSelectedTag(n){this.tagIndex=n},selectedAminoAcid(n){this.selectedObservedMass=n},updateSelectedAA(n){this.AApos=n},updateTagData(n){this.tagData=n}}});class Zl{constructor(e){this.table=e}reloadData(e,r,S){return this.table.dataLoader.load(e,void 0,void 0,void 0,r,S)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,r){return typeof r<"u"&&(this.table.options[e]=r),this.table.options[e]}deprecationCheck(e,r){return this.table.deprecationAdvisor.check(e,r)}deprecationCheckMsg(e,r){return this.table.deprecationAdvisor.checkMsg(e,r)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class po{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var r=e.getBoundingClientRect();return{top:r.top+window.pageYOffset-document.documentElement.clientTop,left:r.left+window.pageXOffset-document.documentElement.clientLeft}}static deepClone(e,r,S=[]){var D={}.__proto__,x=[].__proto__;r||(r=Object.assign(Array.isArray(e)?[]:{},e));for(var o in e){let t=e[o],d,g;t!=null&&typeof t=="object"&&(t.__proto__===D||t.__proto__===x)&&(d=S.findIndex(i=>i.subject===t),d>-1?r[o]=S[d].copy:(g=Object.assign(Array.isArray(t)?[]:{},t),S.unshift({subject:t,copy:g}),r[o]=this.deepClone(t,g,S)))}return r}}class m_ extends Zl{constructor(e,r,S){super(e),this.element=r,this.container=this._lookupContainer(),this.parent=S,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,r=this.table.element){return e===r?!0:r.parentNode?this._checkContainerIsParent(e,r.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var r=!(e instanceof MouseEvent),S=r?e.touches[0].pageX:e.pageX,D=r?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let x=po.elOffset(this.container);S-=x.left,D-=x.top}return{x:S,y:D}}elementPositionCoords(e,r="right"){var S=po.elOffset(e),D,x,o;switch(this.container!==document.body&&(D=po.elOffset(this.container),S.left-=D.left,S.top-=D.top),r){case"right":x=S.left+e.offsetWidth,o=S.top-1;break;case"bottom":x=S.left,o=S.top+e.offsetHeight;break;case"left":x=S.left,o=S.top-1;break;case"top":x=S.left,o=S.top;break;case"center":x=S.left+e.offsetWidth/2,o=S.top+e.offsetHeight/2;break}return{x,y:o,offset:S}}show(e,r){var S,D,x,o,t;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(x=e,t=this.elementPositionCoords(e,r),o=t.offset,S=t.x,D=t.y):typeof e=="number"?(o={top:0,left:0},S=e,D=r):(t=this.containerEventCoords(e),S=t.x,D=t.y,this.reversedX=!1),this.element.style.top=D+"px",this.element.style.left=S+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(S,D,x,o,r),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",d=>{d.stopPropagation()}),this)}_fitToScreen(e,r,S,D,x){var o=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;if((e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",S?this.element.style.right=this.container.offsetWidth-D.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0),r+this.element.offsetHeight>Math.max(this.container.offsetHeight,o?this.container.scrollHeight:0))if(S)switch(x){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-S.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+S.offsetHeight+1+"px"}else this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new m_(this.table,e,this),this.childPopup}}class Xi extends Zl{constructor(e,r){super(e),this._handler=null}initialize(){}registerTableOption(e,r){this.table.optionsList.register(e,r)}registerColumnOption(e,r){this.table.columnManager.optionsList.register(e,r)}registerTableFunction(e,r){typeof this.table[e]>"u"?this.table[e]=(...S)=>(this.table.initGuard(e),r(...S)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,r,S){return this.table.componentFunctionBinder.bind(e,r,S)}registerDataHandler(e,r){this.table.rowManager.registerDataPipelineHandler(e,r),this._handler=e}registerDisplayHandler(e,r){this.table.rowManager.registerDisplayPipelineHandler(e,r),this._handler=e}displayRows(e){var r=this.table.rowManager.displayRows.length-1,S;if(this._handler&&(S=this.table.rowManager.displayPipeline.findIndex(D=>D.handler===this._handler),S>-1&&(r=S)),e&&(r=r+e),this._handler)return r>-1?this.table.rowManager.getDisplayRows(r):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,r){r||(r=this._handler),r&&this.table.rowManager.refreshActiveData(r,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,r){return new m_(this.table,e,r)}alert(e,r){return this.table.alertManager.alert(e,r)}clearAlert(){return this.table.alertManager.clear()}}var JD={};class Jp extends Xi{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var r=!1,S={};this.allowedTypes.forEach(D=>{var x="accessor"+(D.charAt(0).toUpperCase()+D.slice(1)),o;e.definition[x]&&(o=this.lookupAccessor(e.definition[x]),o&&(r=!0,S[x]={accessor:o,params:e.definition[x+"Params"]||{}}))}),r&&(e.modules.accessor=S)}lookupAccessor(e){var r=!1;switch(typeof e){case"string":Jp.accessors[e]?r=Jp.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r){var S="accessor"+(r.charAt(0).toUpperCase()+r.slice(1)),D=e.getComponent(),x=po.deepClone(e.data||{});return this.table.columnManager.traverse(function(o){var t,d,g,i;o.modules.accessor&&(d=o.modules.accessor[S]||o.modules.accessor.accessor||!1,d&&(t=o.getFieldValue(x),t!="undefined"&&(i=o.getComponent(),g=typeof d.params=="function"?d.params(t,x,r,i,D):d.params,o.setFieldValue(x,d.accessor(t,x,r,g,i,D)))))}),x}}Jp.moduleName="accessor";Jp.accessors=JD;var QD={method:"GET"};function cx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,x)=>{r=r.concat(cx(D,e?e+"["+x+"]":x))});else if(typeof n=="object")for(var S in n)r=r.concat(cx(n[S],e?e+"["+S+"]":S));else r.push({key:e,value:n});return r}function eR(n){var e=cx(n),r=[];return e.forEach(function(S){r.push(encodeURIComponent(S.key)+"="+encodeURIComponent(S.value))}),r.join("&")}function mM(n,e,r){return n&&r&&Object.keys(r).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",n+=(n.includes("?")?"&":"?")+eR(r)),n}function tR(n,e,r){var S;return new Promise((D,x)=>{if(n=this.urlGenerator.call(this.table,n,e,r),e.method.toUpperCase()!="GET")if(S=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],S){for(var o in S.headers)e.headers||(e.headers={}),typeof e.headers[o]>"u"&&(e.headers[o]=S.headers[o]);e.body=S.body.call(this,n,e,r)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);n?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(n,e).then(t=>{t.ok?t.json().then(d=>{D(d)}).catch(d=>{x(d),console.warn("Ajax Load Error - Invalid JSON returned",d)}):(console.error("Ajax Load Error - Connection Error: "+t.status,t.statusText),x(t))}).catch(t=>{console.error("Ajax Load Error - Connection Error: ",t),x(t)})):(console.warn("Ajax Load Error - No URL Set"),D([]))})}function fx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,x)=>{r=r.concat(fx(D,e?e+"["+x+"]":x))});else if(typeof n=="object")for(var S in n)r=r.concat(fx(n[S],e?e+"["+S+"]":S));else r.push({key:e,value:n});return r}var nR={json:{headers:{"Content-Type":"application/json"},body:function(n,e,r){return JSON.stringify(r)}},form:{headers:{},body:function(n,e,r){var S=fx(r),D=new FormData;return S.forEach(function(x){D.append(x.key,x.value)}),D}}};class Sc extends Xi{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=Sc.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||Sc.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||Sc.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,r,S,D){var x=this.table.options.ajaxParams;return x&&(typeof x=="function"&&(x=x.call(this.table)),D=Object.assign(D,x)),D}requestDataCheck(e,r,S,D){return!!(!e&&this.url||typeof e=="string")}requestData(e,r,S,D,x){var o;return!x&&this.requestDataCheck(e)?(e&&this.setUrl(e),o=this.generateConfig(S),this.sendRequest(this.url,r,o)):x}setDefaultConfig(e={}){this.config=Object.assign({},Sc.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var r=Object.assign({},this.config);return typeof e=="string"?r.method=e:Object.assign(r,e),r}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,r,S){return this.table.options.ajaxRequesting.call(this.table,e,r)!==!1?this.loaderPromise(e,S,r).then(D=>(this.table.options.ajaxResponse&&(D=this.table.options.ajaxResponse.call(this.table,e,r,D)),D)):Promise.reject()}}Sc.moduleName="ajax";Sc.defaultConfig=QD;Sc.defaultURLGenerator=mM;Sc.defaultLoaderPromise=tR;Sc.contentTypeFormatters=nR;var rR={replace:function(n){return this.table.setData(n)},update:function(n){return this.table.updateOrAddData(n)},insert:function(n){return this.table.addData(n)}},iR={table:function(n){var e=[],r=!0,S=this.table.columnManager.columns,D=[],x=[];return n=n.split(` -`),n.forEach(function(o){e.push(o.split(" "))}),e.length&&!(e.length===1&&e[0].length<2)?(e[0].forEach(function(o){var t=S.find(function(d){return o&&d.definition.title&&o.trim()&&d.definition.title.trim()===o.trim()});t?D.push(t):r=!1}),r||(r=!0,D=[],e[0].forEach(function(o){var t=S.find(function(d){return o&&d.field&&o.trim()&&d.field.trim()===o.trim()});t?D.push(t):r=!1}),r||(D=this.table.columnManager.columnsByIndex)),r&&e.shift(),e.forEach(function(o){var t={};o.forEach(function(d,g){D[g]&&(t[D[g].field]=d)}),x.push(t)}),x):!1}};class Dd extends Xi{constructor(e){super(e),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption("clipboard",!1),this.registerTableOption("clipboardCopyStyled",!0),this.registerTableOption("clipboardCopyConfig",!1),this.registerTableOption("clipboardCopyFormatter",!1),this.registerTableOption("clipboardCopyRowRange","active"),this.registerTableOption("clipboardPasteParser","table"),this.registerTableOption("clipboardPasteAction","insert"),this.registerColumnOption("clipboard"),this.registerColumnOption("titleClipboard")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,(this.mode===!0||this.mode==="copy")&&this.table.element.addEventListener("copy",e=>{var r,S,D;this.blocked||(e.preventDefault(),this.customSelection?(r=this.customSelection,this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r))):(D=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,"clipboard"),S=this.table.modules.export.generateHTMLTable(D),r=S?this.generatePlainContent(D):"",this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r),S=this.table.options.clipboardCopyFormatter("html",S))),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",r):e.clipboardData&&e.clipboardData.setData?(e.clipboardData.setData("text/plain",r),S&&e.clipboardData.setData("text/html",S)):e.originalEvent&&e.originalEvent.clipboardData.setData&&(e.originalEvent.clipboardData.setData("text/plain",r),S&&e.originalEvent.clipboardData.setData("text/html",S)),this.dispatchExternal("clipboardCopied",r,S),this.reset())}),(this.mode===!0||this.mode==="paste")&&this.table.element.addEventListener("paste",e=>{this.paste(e)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction("copyToClipboard",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(e){var r=[];return e.forEach(S=>{var D=[];S.columns.forEach(x=>{var o="";if(x)if(S.type==="group"&&(x.value=x.component.getKey()),x.value===null)o="";else switch(typeof x.value){case"object":o=JSON.stringify(x.value);break;case"undefined":o="";break;default:o=x.value}D.push(o)}),r.push(D.join(" "))}),r.join(` -`)}copy(e,r){var S,D;this.blocked=!1,this.customSelection=!1,(this.mode===!0||this.mode==="copy")&&(this.rowRange=e||this.table.options.clipboardCopyRowRange,typeof window.getSelection<"u"&&typeof document.createRange<"u"?(e=document.createRange(),e.selectNodeContents(this.table.element),S=window.getSelection(),S.toString()&&r&&(this.customSelection=S.toString()),S.removeAllRanges(),S.addRange(e)):typeof document.selection<"u"&&typeof document.body.createTextRange<"u"&&(D=document.body.createTextRange(),D.moveToElementText(this.table.element),D.select()),document.execCommand("copy"),S&&S.removeAllRanges())}setPasteAction(e){switch(typeof e){case"string":this.pasteAction=Dd.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e;break}}setPasteParser(e){switch(typeof e){case"string":this.pasteParser=Dd.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e;break}}paste(e){var r,S,D;this.checkPaseOrigin(e)&&(r=this.getPasteData(e),S=this.pasteParser.call(this,r),S?(e.preventDefault(),this.table.modExists("mutator")&&(S=this.mutateData(S)),D=this.pasteAction.call(this,S),this.dispatchExternal("clipboardPasted",r,S,D)):this.dispatchExternal("clipboardPasteError",r))}mutateData(e){var r=[];return Array.isArray(e)?e.forEach(S=>{r.push(this.table.modules.mutator.transformRow(S,"clipboard"))}):r=e,r}checkPaseOrigin(e){var r=!0;return(e.target.tagName!="DIV"||this.table.modules.edit.currentCell)&&(r=!1),r}getPasteData(e){var r;return window.clipboardData&&window.clipboardData.getData?r=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?r=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(r=e.originalEvent.clipboardData.getData("text/plain")),r}}Dd.moduleName="clipboard";Dd.pasteActions=rR;Dd.pasteParsers=iR;class aR{constructor(e){return this._row=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._row.table.componentFunctionBinder.handle("row",r._row,S)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}_getSelf(){return this._row}}class gM{constructor(e){return this._cell=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._cell.table.componentFunctionBinder.handle("cell",r._cell,S)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(e){return this._cell.row.getData(e)}getType(){return"cell"}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(e,r){typeof r>"u"&&(r=!0),this._cell.setValue(e,r)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class ng extends Zl{constructor(e,r){super(e.table),this.table=e.table,this.column=e,this.row=r,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell")}_configureCell(){var e=this.element,r=this.column.getField(),S={top:"flex-start",bottom:"flex-end",middle:"center"},D={left:"flex-start",right:"flex-end",center:"center"};if(e.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(e.style.display="inline-flex",e.style.alignItems=S[this.column.vertAlign]||"",this.column.hozAlign&&(e.style.justifyContent=D[this.column.hozAlign]||"")),r&&e.setAttribute("tabulator-field",r),this.column.definition.cssClass){var x=this.column.definition.cssClass.split(" ");x.forEach(o=>{e.classList.add(o)})}this.dispatch("cell-init",this),this.column.visible||this.hide()}_generateContents(){var e;switch(e=this.chain("cell-format",this,null,()=>this.element.innerHTML=this.value),typeof e){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",e!=null&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":this.element.innerHTML="";break;default:this.element.innerHTML=e}}cellRendered(){this.dispatch("cell-rendered",this)}getElement(e){return this.loaded||(this.loaded=!0,e||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(e,r,S){var D=this.setValueProcessData(e,r,S);D&&(this.dispatch("cell-value-updated",this),this.cellRendered(),this.column.definition.cellEdited&&this.column.definition.cellEdited.call(this.table,this.getComponent()),this.dispatchExternal("cellEdited",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()))}setValueProcessData(e,r,S){var D=!1;return(this.value!==e||S)&&(D=!0,r&&(e=this.chain("cell-value-changing",[this,e],null,e))),this.setValueActual(e),D&&this.dispatch("cell-value-changed",this),D}setValueActual(e){this.oldValue=this.value,this.value=e,this.dispatch("cell-value-save-before",this),this.column.setFieldValue(this.row.data,e),this.dispatch("cell-value-save-after",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this.dispatch("cell-layout",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width="",this.element.style.width=""}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height="",this.height=null,this.dispatch("cell-height",this,"")}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled,this.dispatch("cell-height",this,this.row.heightStyled)}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?"inline-flex":""}hide(){this.element.style.display="none"}delete(){this.dispatch("cell-delete",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new gM(this)),this.component}}class vM{constructor(e){return this._column=e,this.type="ColumnComponent",new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._column.table.componentFunctionBinder.handle("column",r._column,S)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getTitleDownload(){return this._column.getTitleDownload()}getCells(){var e=[];return this._column.cells.forEach(function(r){e.push(r.getComponent())}),e}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(r){e.push(r.getComponent())}),e}getParentColumn(){return this._column.parent instanceof cf?this._column.parent.getComponent():!1}_getSelf(){return this._column}scrollTo(e,r){return this._column.table.columnManager.scrollToColumn(this._column,e,r)}getTable(){return this._column.table}move(e,r){var S=this._column.table.columnManager.findColumn(e);S?this._column.table.columnManager.moveColumn(this._column,S,r):console.warn("Move Error - No matching column found:",S)}getNextColumn(){var e=this._column.nextColumn();return e?e.getComponent():!1}getPrevColumn(){var e=this._column.prevColumn();return e?e.getComponent():!1}updateDefinition(e){return this._column.updateDefinition(e)}getWidth(){return this._column.getWidth()}setWidth(e){var r;return e===!0?r=this._column.reinitializeWidth(!0):r=this._column.setWidth(e),this._column.table.columnManager.rerenderColumns(!0),r}}var yM={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,maxInitialWidth:void 0,cssClass:void 0,variableHeight:void 0,headerVertical:void 0,headerHozAlign:void 0,headerWordWrap:!1,editableTitle:void 0};class cf extends Zl{constructor(e,r){super(r.table),this.definition=e,this.parent=r,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleDownload=null,this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.maxInitialWidth=null,this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach((S,D)=>{var x=new cf(S,this);this.attachColumn(x)}),this.checkColumnVisibility()):r.registerColumnField(this),this._initialize()}createElement(){var e=document.createElement("div");switch(e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),this.table.options.columnHeaderVertAlign){case"middle":e.style.justifyContent="center";break;case"bottom":e.style.justifyContent="flex-end";break}return e}createGroupElement(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e}mapDefinitions(){var e=this.table.options.columnDefaults;if(e)for(let r in e)typeof this.definition[r]>"u"&&(this.definition[r]=e[r]);this.definition=this.table.columnManager.optionsList.generate(cf.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach(e=>{cf.defaultOptionList.indexOf(e)===-1&&console.warn("Invalid column definition option in '"+(this.field||this.definition.title)+"' column:",e)})}setField(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(e){this.parent.registerColumnPosition(e)}registerColumnField(e){this.parent.registerColumnField(e)}reRegisterPosition(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)}_initialize(){for(var e=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);e.headerVertical&&(this.element.classList.add("tabulator-col-vertical"),e.headerVertical==="flip"&&this.element.classList.add("tabulator-col-vertical-flip")),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.dispatch("column-init",this)}_buildColumnHeader(){var e=this.definition;if(this.dispatch("column-layout",this),typeof e.visible<"u"&&(e.visible?this.show(!0):this.hide(!0)),e.cssClass){var r=e.cssClass.split(" ");r.forEach(S=>{this.element.classList.add(S)})}e.field&&this.element.setAttribute("tabulator-field",e.field),this.setMinWidth(parseInt(e.minWidth)),e.maxInitialWidth&&(this.maxInitialWidth=parseInt(e.maxInitialWidth)),e.maxWidth&&this.setMaxWidth(parseInt(e.maxWidth)),this.reinitializeWidth(),this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e}_buildColumnHeaderTitle(){var e=this.definition,r=document.createElement("div");if(r.classList.add("tabulator-col-title"),e.headerWordWrap&&r.classList.add("tabulator-col-title-wrap"),e.editableTitle){var S=document.createElement("input");S.classList.add("tabulator-title-editor"),S.addEventListener("click",D=>{D.stopPropagation(),S.focus()}),S.addEventListener("change",()=>{e.title=S.value,this.dispatchExternal("columnTitleChanged",this.getComponent())}),r.appendChild(S),e.field?this.langBind("columns|"+e.field,D=>{S.value=D||e.title||" "}):S.value=e.title||" "}else e.field?this.langBind("columns|"+e.field,D=>{this._formatColumnHeaderTitle(r,D||e.title||" ")}):this._formatColumnHeaderTitle(r,e.title||" ");return r}_formatColumnHeaderTitle(e,r){var S=this.chain("column-format",[this,r,e],null,()=>r);switch(typeof S){case"object":S instanceof Node?e.appendChild(S):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",S));break;case"undefined":e.innerHTML="";break;default:e.innerHTML=S}}_buildGroupHeader(){if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var e=this.definition.cssClass.split(" ");e.forEach(r=>{this.element.classList.add(r)})}this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(e){return e[this.field]}_getNestedData(e){var r=e,S=this.fieldStructure,D=S.length,x;for(let o=0;o{r.push(S),r=r.concat(S.getColumns(!0))}):r=this.columns,r}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(e){var r=[];return this.isGroup&&e&&(this.columns.forEach(function(S){r.push(S.getDefinition(!0))}),this.definition.columns=r),this.definition}checkColumnVisibility(){var e=!1;this.columns.forEach(function(r){r.visible&&(e=!0)}),e?(this.show(),this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1)):this.hide()}show(e,r){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(S){S.show()}),!this.isGroup&&this.width===null&&this.reinitializeWidth(),this.table.columnManager.verticalAlignHeaders(),this.dispatch("column-show",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}hide(e,r){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager.verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(S){S.hide()}),this.dispatch("column-hide",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}matchChildWidths(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}),this.contentElement.style.maxWidth=e-1+"px",this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(e){var r=this.columns.indexOf(e);r>-1&&this.columns.splice(r,1),this.columns.length||this.delete()}setWidth(e){this.widthFixed=!0,this.setWidthActual(e)}setWidthActual(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(r){r.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch("column-width",this)}checkCellHeights(){var e=[];this.cells.forEach(function(r){r.row.heightInitialized&&(r.row.getElement().offsetParent!==null?(e.push(r.row),r.row.clearCellHeight()):r.row.heightInitialized=!1)}),e.forEach(function(r){r.calcHeight()}),e.forEach(function(r){r.setCellHeight()})}getWidth(){var e=0;return this.isGroup?this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}):e=this.width,e}getLeftOffset(){var e=this.element.offsetLeft;return this.parent.isGroup&&(e+=this.parent.getLeftOffset()),e}getHeight(){return Math.ceil(this.element.getBoundingClientRect().height)}setMinWidth(e){this.maxWidth&&e>this.maxWidth&&(e=this.maxWidth,console.warn("the minWidth ("+e+"px) for column '"+this.field+"' cannot be bigger that its maxWidth ("+this.maxWidthStyled+")")),this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(r){r.setMinWidth()})}setMaxWidth(e){this.minWidth&&e{this.isGroup&&this.columns.forEach(function(D){D.delete()}),this.dispatch("column-delete",this);var S=this.cells.length;for(let D=0;D-1?this._nextVisibleColumn(e+1):!1}_nextVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._nextVisibleColumn(e+1)}prevColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._prevVisibleColumn(e-1):!1}_prevVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._prevVisibleColumn(e-1)}reinitializeWidth(e){this.widthFixed=!1,typeof this.definition.width<"u"&&!e&&this.setWidth(this.definition.width),this.dispatch("column-width-fit-before",this),this.fitToData(e),this.dispatch("column-width-fit-after",this)}fitToData(e){if(!this.isGroup){this.widthFixed||(this.element.style.width="",this.cells.forEach(D=>{D.clearWidth()}));var r=this.element.offsetWidth;if((!this.width||!this.widthFixed)&&(this.cells.forEach(D=>{var x=D.getWidth();x>r&&(r=x)}),r)){var S=r+1;this.maxInitialWidth&&!e&&(S=Math.min(S,this.maxInitialWidth)),this.setWidthActual(S)}}}updateDefinition(e){var r;return this.isGroup||this.parent.isGroup?(console.error("Column Update Error - The updateDefinition function is only available on ungrouped columns"),Promise.reject("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(r=Object.assign({},this.getDefinition()),r=Object.assign(r,e),this.table.columnManager.addColumn(r,!1,this).then(S=>(r.field==this.field&&(this.field=!1),this.delete().then(()=>S.getComponent()))))}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}getComponent(){return this.component||(this.component=new vM(this)),this.component}}cf.defaultOptionList=yM;class Xy{constructor(e){return this._row=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._row.table.componentFunctionBinder.handle("row",r._row,S)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}getIndex(){return this._row.getData("data")[this._row.table.options.index]}getPosition(){return this._row.getPosition()}watchPosition(e){return this._row.watchPosition(e)}delete(){return this._row.delete()}scrollTo(e,r){return this._row.table.rowManager.scrollToRow(this._row,e,r)}move(e,r){this._row.moveToRow(e,r)}update(e){return this._row.updateData(e)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var e=this._row.nextRow();return e&&e.getComponent()}getPrevRow(){var e=this._row.prevRow();return e&&e.getComponent()}}class wl extends Zl{constructor(e,r,S="row"){super(r.table),this.parent=r,this.data={},this.type=S,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.position=0,this.positionWatchers=[],this.component=null,this.created=!1,this.setData(e)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch("row-init",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(e,r){if(this.create(),!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch("row-layout-before",this),this.generateCells(),this.initialized=!0,this.table.columnManager.renderer.renderRowCells(this,r),e&&this.normalizeHeight(),this.dispatch("row-layout",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.dispatch("row-layout-after",this)}else this.table.columnManager.renderer.rerenderRowCells(this,r)}rendered(){this.cells.forEach(e=>{e.cellRendered()})}reinitializeHeight(){this.heightInitialized=!1,this.element&&this.element.offsetParent!==null&&this.normalizeHeight(!0)}deinitialize(){this.initialized=!1}deinitializeHeight(){this.heightInitialized=!1}reinitialize(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&this.element.offsetParent!==null&&this.initialize(!0),this.dispatch("row-relayout",this)}calcHeight(e){var r=0,S;this.table.options.rowHeight?this.height=this.table.options.rowHeight:(S=this.table.options.resizableRows?this.element.clientHeight:0,this.cells.forEach(function(D){var x=D.getHeight();x>r&&(r=x)}),e?this.height=Math.max(r,S):this.height=this.manualHeight?this.height:Math.max(r,S)),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight}setCellHeight(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach(function(e){e.clearHeight()})}normalizeHeight(e){e&&!this.table.options.rowHeight&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()}setHeight(e,r){(this.height!=e||r)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}setData(e){this.data=this.chain("row-data-init-before",[this,e],void 0,e),this.dispatch("row-data-init-after",this)}updateData(e){var r=this.element&&po.elVisible(this.element),S={},D;return new Promise((x,o)=>{typeof e=="string"&&(e=JSON.parse(e)),this.dispatch("row-data-save-before",this),this.subscribed("row-data-changing")&&(S=Object.assign(S,this.data),S=Object.assign(S,e)),D=this.chain("row-data-changing",[this,S,e],null,e);for(let t in D)this.data[t]=D[t];this.dispatch("row-data-save-after",this);for(let t in e)this.table.columnManager.getColumnsByFieldRoot(t).forEach(g=>{let i=this.getCell(g.getField());if(i){let M=g.getFieldValue(D);i.getValue()!==M&&(i.setValueProcessData(M),r&&i.cellRendered())}});r?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=""),this.dispatch("row-data-changed",this,r,e),this.dispatchExternal("rowUpdated",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),x()})}getData(e){return e?this.chain("row-data-retrieve",[this,e],null,this.data):this.data}getCell(e){var r=!1;return e=this.table.columnManager.findColumn(e),!this.initialized&&this.cells.length===0&&this.generateCells(),r=this.cells.find(function(S){return S.column===e}),r}getCellIndex(e){return this.cells.findIndex(function(r){return r===e})}findCell(e){return this.cells.find(r=>r.element===e)}getCells(){return!this.initialized&&this.cells.length===0&&this.generateCells(),this.cells}nextRow(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1}prevRow(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1}moveToRow(e,r){var S=this.table.rowManager.findRow(e);S?(this.table.rowManager.moveRowActual(this,S,!r),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)}delete(){return this.dispatch("row-delete",this),this.deleteActual(),Promise.resolve()}deleteActual(e){this.detachModules(),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch("row-deleted",this)}detachModules(){this.dispatch("row-deleting",this)}deleteCells(){var e=this.cells.length;for(let r=0;r{r(this.position)}))}watchPosition(e){this.positionWatchers.push(e),e(this.position)}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new Xy(this)),this.component}}var oR={avg:function(n,e,r){var S=0,D=typeof r.precision<"u"?r.precision:2;return n.length&&(S=n.reduce(function(x,o){return Number(x)+Number(o)}),S=S/n.length,S=D!==!1?S.toFixed(D):S),parseFloat(S).toString()},max:function(n,e,r){var S=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(x){x=Number(x),(x>S||S===null)&&(S=x)}),S!==null?D!==!1?S.toFixed(D):S:""},min:function(n,e,r){var S=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(x){x=Number(x),(x(n||D===0)&&n.indexOf(D)===x);return S.length}};class Eh extends Xi{constructor(e){super(e),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.blocked=!1,this.recalcAfterBlock=!1,this.registerTableOption("columnCalcs",!0),this.registerColumnOption("topCalc"),this.registerColumnOption("topCalcParams"),this.registerColumnOption("topCalcFormatter"),this.registerColumnOption("topCalcFormatterParams"),this.registerColumnOption("bottomCalc"),this.registerColumnOption("bottomCalcParams"),this.registerColumnOption("bottomCalcFormatter"),this.registerColumnOption("bottomCalcFormatterParams")}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e}initialize(){this.genColumn=new cf({field:"value"},this),this.subscribe("cell-value-changed",this.cellValueChanged.bind(this)),this.subscribe("column-init",this.initializeColumnCheck.bind(this)),this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("column-moved",this.recalcActiveRows.bind(this)),this.subscribe("column-add",this.recalcActiveRows.bind(this)),this.subscribe("data-refreshed",this.recalcActiveRowsRefresh.bind(this)),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("rows-visible",this.visibleRows.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this)),this.subscribe("redraw-blocked",this.blockRedraw.bind(this)),this.subscribe("redraw-restored",this.restoreRedraw.bind(this)),this.subscribe("table-redrawing",this.resizeHolderWidth.bind(this)),this.subscribe("column-resized",this.resizeHolderWidth.bind(this)),this.subscribe("column-show",this.resizeHolderWidth.bind(this)),this.subscribe("column-hide",this.resizeHolderWidth.bind(this)),this.registerTableFunction("getCalcResults",this.getResults.bind(this)),this.registerTableFunction("recalc",this.userRecalc.bind(this)),this.resizeHolderWidth()}resizeHolderWidth(){this.topElement.style.minWidth=this.table.columnManager.headersElement.offsetWidth+"px"}tableRedraw(e){this.recalc(this.table.rowManager.activeRows),e&&this.redraw()}blockRedraw(){this.blocked=!0,this.recalcAfterBlock=!1}restoreRedraw(){this.blocked=!1,this.recalcAfterBlock&&(this.recalcAfterBlock=!1,this.recalcActiveRowsRefresh())}userRecalc(){this.recalc(this.table.rowManager.activeRows)}blockCheck(){return this.blocked&&(this.recalcAfterBlock=!0),this.blocked}visibleRows(e,r){return this.topRow&&r.unshift(this.topRow),this.botRow&&r.push(this.botRow),r}rowsUpdated(e){this.table.options.groupBy?this.recalcRowGroup(e):this.recalcActiveRows()}recalcActiveRowsRefresh(){this.table.options.groupBy&&this.table.options.dataTreeStartExpanded&&this.table.options.dataTree?this.recalcAll():this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(e){(e.column.definition.topCalc||e.column.definition.bottomCalc)&&(this.table.options.groupBy?((this.table.options.columnCalcs=="table"||this.table.options.columnCalcs=="both")&&this.recalcActiveRows(),this.table.options.columnCalcs!="table"&&this.recalcRowGroup(e.row)):this.recalcActiveRows())}initializeColumnCheck(e){(e.definition.topCalc||e.definition.bottomCalc)&&this.initializeColumn(e)}initializeColumn(e){var r=e.definition,S={topCalcParams:r.topCalcParams||{},botCalcParams:r.bottomCalcParams||{}};if(r.topCalc){switch(typeof r.topCalc){case"string":Eh.calculations[r.topCalc]?S.topCalc=Eh.calculations[r.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.topCalc);break;case"function":S.topCalc=r.topCalc;break}S.topCalc&&(e.modules.columnCalcs=S,this.topCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeTopRow())}if(r.bottomCalc){switch(typeof r.bottomCalc){case"string":Eh.calculations[r.bottomCalc]?S.botCalc=Eh.calculations[r.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.bottomCalc);break;case"function":S.botCalc=r.bottomCalc;break}S.botCalc&&(e.modules.columnCalcs=S,this.botCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.footerRemove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()}reinitializeCalcs(){this.topCalcs.length&&this.initializeTopRow(),this.botCalcs.length&&this.initializeBottomRow()}initializeTopRow(){this.topInitialized||(this.table.columnManager.getContentsElement().insertBefore(this.topElement,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.footerPrepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(e){this.botInitialized&&this.botRow&&(this.botElement.scrollLeft=e)}recalc(e){var r,S;if(!this.blockCheck()&&(this.topInitialized||this.botInitialized)){if(r=this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),S=this.generateRow("top",r),this.topRow=S;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(S.getElement()),S.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),S=this.generateRow("bottom",r),this.botRow=S;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(S.getElement()),S.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))}recalcAll(){if((this.topCalcs.length||this.botCalcs.length)&&(this.table.options.columnCalcs!=="group"&&this.recalcActiveRows(),this.table.options.groupBy&&this.table.options.columnCalcs!=="table")){var e=this.table.modules.groupRows.getChildGroups();e.forEach(r=>{this.recalcGroup(r)})}}recalcGroup(e){var r,S;this.blockCheck()||e&&e.calcs&&(e.calcs.bottom&&(r=this.rowsToData(e.rows),S=this.generateRowData("bottom",r),e.calcs.bottom.updateData(S),e.calcs.bottom.reinitialize()),e.calcs.top&&(r=this.rowsToData(e.rows),S=this.generateRowData("top",r),e.calcs.top.updateData(S),e.calcs.top.reinitialize()))}generateTopRow(e){return this.generateRow("top",this.rowsToData(e))}generateBottomRow(e){return this.generateRow("bottom",this.rowsToData(e))}rowsToData(e){var r=[];return e.forEach(S=>{if(r.push(S.getData()),this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs&&S.modules.dataTree&&S.modules.dataTree.open){var D=this.rowsToData(this.table.modules.dataTree.getFilteredTreeChildren(S));r=r.concat(D)}}),r}generateRow(e,r){var S=this.generateRowData(e,r),D;return this.table.modExists("mutator")&&this.table.modules.mutator.disable(),D=new wl(S,this,"calc"),this.table.modExists("mutator")&&this.table.modules.mutator.enable(),D.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),D.component=!1,D.getComponent=()=>(D.component||(D.component=new aR(D)),D.component),D.generateCells=()=>{var x=[];this.table.columnManager.columnsByIndex.forEach(o=>{this.genColumn.setField(o.getField()),this.genColumn.hozAlign=o.hozAlign,o.definition[e+"CalcFormatter"]&&this.table.modExists("format")?this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter(o.definition[e+"CalcFormatter"]),params:o.definition[e+"CalcFormatterParams"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter("plaintext"),params:{}},this.genColumn.definition.cssClass=o.definition.cssClass;var t=new ng(this.genColumn,D);t.getElement(),t.column=o,t.setWidth(),o.cells.push(t),x.push(t),o.visible||t.hide()}),D.cells=x},D}generateRowData(e,r){var S={},D=e=="top"?this.topCalcs:this.botCalcs,x=e=="top"?"topCalc":"botCalc",o,t;return D.forEach(function(d){var g=[];d.modules.columnCalcs&&d.modules.columnCalcs[x]&&(r.forEach(function(i){g.push(d.getFieldValue(i))}),t=x+"Params",o=typeof d.modules.columnCalcs[t]=="function"?d.modules.columnCalcs[t](g,r):d.modules.columnCalcs[t],d.setFieldValue(S,d.modules.columnCalcs[x](g,r,o)))}),S}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var e={},r;return this.table.options.groupBy&&this.table.modExists("groupRows")?(r=this.table.modules.groupRows.getGroups(!0),r.forEach(S=>{e[S.getKey()]=this.getGroupResults(S)})):e={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},e}getGroupResults(e){var r=e._getSelf(),S=e.getSubGroups(),D={},x={};return S.forEach(o=>{D[o.getKey()]=this.getGroupResults(o)}),x={top:r.calcs.top?r.calcs.top.getData():{},bottom:r.calcs.bottom?r.calcs.bottom.getData():{},groups:D},x}adjustForScrollbar(e){this.botRow&&(this.table.rtl?this.botElement.style.paddingLeft=e+"px":this.botElement.style.paddingRight=e+"px")}}Eh.moduleName="columnCalcs";Eh.calculations=oR;class bM extends Xi{constructor(e){super(e),this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.registerTableOption("dataTree",!1),this.registerTableOption("dataTreeFilter",!0),this.registerTableOption("dataTreeSort",!0),this.registerTableOption("dataTreeElementColumn",!1),this.registerTableOption("dataTreeBranchElement",!0),this.registerTableOption("dataTreeChildIndent",9),this.registerTableOption("dataTreeChildField","_children"),this.registerTableOption("dataTreeCollapseElement",!1),this.registerTableOption("dataTreeExpandElement",!1),this.registerTableOption("dataTreeStartExpanded",!1),this.registerTableOption("dataTreeChildColumnCalcs",!1),this.registerTableOption("dataTreeSelectPropagate",!1),this.registerComponentFunction("row","treeCollapse",this.collapseRow.bind(this)),this.registerComponentFunction("row","treeExpand",this.expandRow.bind(this)),this.registerComponentFunction("row","treeToggle",this.toggleRow.bind(this)),this.registerComponentFunction("row","getTreeParent",this.getTreeParent.bind(this)),this.registerComponentFunction("row","getTreeChildren",this.getRowChildren.bind(this)),this.registerComponentFunction("row","addTreeChild",this.addTreeChildRow.bind(this)),this.registerComponentFunction("row","isTreeExpanded",this.isRowExpanded.bind(this))}initialize(){if(this.table.options.dataTree){var e=null,r=this.table.options;switch(this.field=r.dataTreeChildField,this.indent=r.dataTreeChildIndent,this.options("movableRows")&&console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"),r.dataTreeBranchElement?r.dataTreeBranchElement===!0?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):typeof r.dataTreeBranchElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=r.dataTreeBranchElement:(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch-empty")),r.dataTreeCollapseElement?typeof r.dataTreeCollapseElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=r.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="
"),r.dataTreeExpandElement?typeof r.dataTreeExpandElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=r.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="
"),typeof r.dataTreeStartExpanded){case"boolean":this.startOpen=function(S,D){return r.dataTreeStartExpanded};break;case"function":this.startOpen=r.dataTreeStartExpanded;break;default:this.startOpen=function(S,D){return r.dataTreeStartExpanded[D]};break}this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("row-deleted",this.rowDelete.bind(this),0),this.subscribe("row-data-changed",this.rowDataChanged.bind(this),10),this.subscribe("cell-value-updated",this.cellValueChanged.bind(this)),this.subscribe("edit-cancelled",this.cellValueChanged.bind(this)),this.subscribe("column-moving-rows",this.columnMoving.bind(this)),this.subscribe("table-built",this.initializeElementField.bind(this)),this.subscribe("table-redrawing",this.tableRedrawing.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}tableRedrawing(e){var r;e&&(r=this.table.rowManager.getRows(),r.forEach(S=>{this.reinitializeRowChildren(S)}))}initializeElementField(){var e=this.table.columnManager.getFirstVisibleColumn();this.elementField=this.table.options.dataTreeElementColumn||(e?e.field:!1)}getRowChildren(e){return this.getTreeChildren(e,!0)}columnMoving(){var e=[];return this.table.rowManager.rows.forEach(r=>{e=e.concat(this.getTreeChildren(r,!1,!0))}),e}rowDataChanged(e,r,S){this.redrawNeeded(S)&&(this.initializeRow(e),r&&(this.layoutRow(e),this.refreshData(!0)))}cellValueChanged(e){var r=e.column.getField();r===this.elementField&&this.layoutRow(e.row)}initializeRow(e){var r=e.getData()[this.field],S=Array.isArray(r),D=S||!S&&typeof r=="object"&&r!==null;!D&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!D&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:D?e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0):!1,controlEl:e.modules.dataTree&&D?e.modules.dataTree.controlEl:!1,branchEl:e.modules.dataTree&&D?e.modules.dataTree.branchEl:!1,parent:e.modules.dataTree?e.modules.dataTree.parent:!1,children:D}}reinitializeRowChildren(e){var r=this.getTreeChildren(e,!1,!0);r.forEach(function(S){S.reinitialize(!0)})}layoutRow(e){var r=this.elementField?e.getCell(this.elementField):e.getCells()[0],S=r.getElement(),D=e.modules.dataTree;D.branchEl&&(D.branchEl.parentNode&&D.branchEl.parentNode.removeChild(D.branchEl),D.branchEl=!1),D.controlEl&&(D.controlEl.parentNode&&D.controlEl.parentNode.removeChild(D.controlEl),D.controlEl=!1),this.generateControlElement(e,S),e.getElement().classList.add("tabulator-tree-level-"+D.index),D.index&&(this.branchEl?(D.branchEl=this.branchEl.cloneNode(!0),S.insertBefore(D.branchEl,S.firstChild),this.table.rtl?D.branchEl.style.marginRight=(D.branchEl.offsetWidth+D.branchEl.style.marginLeft)*(D.index-1)+D.index*this.indent+"px":D.branchEl.style.marginLeft=(D.branchEl.offsetWidth+D.branchEl.style.marginRight)*(D.index-1)+D.index*this.indent+"px"):this.table.rtl?S.style.paddingRight=parseInt(window.getComputedStyle(S,null).getPropertyValue("padding-right"))+D.index*this.indent+"px":S.style.paddingLeft=parseInt(window.getComputedStyle(S,null).getPropertyValue("padding-left"))+D.index*this.indent+"px")}generateControlElement(e,r){var S=e.modules.dataTree,D=S.controlEl;r=r||e.getCells()[0].getElement(),S.children!==!1&&(S.open?(S.controlEl=this.collapseEl.cloneNode(!0),S.controlEl.addEventListener("click",x=>{x.stopPropagation(),this.collapseRow(e)})):(S.controlEl=this.expandEl.cloneNode(!0),S.controlEl.addEventListener("click",x=>{x.stopPropagation(),this.expandRow(e)})),S.controlEl.addEventListener("mousedown",x=>{x.stopPropagation()}),D&&D.parentNode===r?D.parentNode.replaceChild(S.controlEl,D):r.insertBefore(S.controlEl,r.firstChild))}getRows(e){var r=[];return e.forEach((S,D)=>{var x,o;r.push(S),S instanceof wl&&(S.create(),x=S.modules.dataTree,!x.index&&x.children!==!1&&(o=this.getChildren(S),o.forEach(t=>{t.create(),r.push(t)})))}),r}getChildren(e,r){var S=e.modules.dataTree,D=[],x=[];return S.children!==!1&&(S.open||r)&&(Array.isArray(S.children)||(S.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(S.children):D=S.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(D),D.forEach(o=>{x.push(o);var t=this.getChildren(o);t.forEach(d=>{x.push(d)})})),x}generateChildren(e){var r=[],S=e.getData()[this.field];return Array.isArray(S)||(S=[S]),S.forEach(D=>{var x=new wl(D||{},this.table.rowManager);x.create(),x.modules.dataTree.index=e.modules.dataTree.index+1,x.modules.dataTree.parent=e,x.modules.dataTree.children&&(x.modules.dataTree.open=this.startOpen(x.getComponent(),x.modules.dataTree.index)),r.push(x)}),r}expandRow(e,r){var S=e.modules.dataTree;S.children!==!1&&(S.open=!0,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowExpanded",e.getComponent(),e.modules.dataTree.index))}collapseRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open=!1,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowCollapsed",e.getComponent(),e.modules.dataTree.index))}toggleRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open?this.collapseRow(e):this.expandRow(e))}isRowExpanded(e){return e.modules.dataTree.open}getTreeParent(e){return e.modules.dataTree.parent?e.modules.dataTree.parent.getComponent():!1}getTreeParentRoot(e){return e.modules.dataTree&&e.modules.dataTree.parent?this.getTreeParentRoot(e.modules.dataTree.parent):e}getFilteredTreeChildren(e){var r=e.modules.dataTree,S=[],D;return r.children&&(Array.isArray(r.children)||(r.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(r.children):D=r.children,D.forEach(x=>{x instanceof wl&&S.push(x)})),S}rowDelete(e){var r=e.modules.dataTree.parent,S;r&&(S=this.findChildIndex(e,r),S!==!1&&r.data[this.field].splice(S,1),r.data[this.field].length||delete r.data[this.field],this.initializeRow(r),this.layoutRow(r)),this.refreshData(!0)}addTreeChildRow(e,r,S,D){var x=!1;typeof r=="string"&&(r=JSON.parse(r)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),typeof D<"u"&&(x=this.findChildIndex(D,e),x!==!1&&e.data[this.field].splice(S?x:x+1,0,r)),x===!1&&(S?e.data[this.field].unshift(r):e.data[this.field].push(r)),this.initializeRow(e),this.layoutRow(e),this.refreshData(!0)}findChildIndex(e,r){var S=!1;return typeof e=="object"?e instanceof wl?S=e.data:e instanceof Xy?S=e._getSelf().data:typeof HTMLElement<"u"&&e instanceof HTMLElement?r.modules.dataTree&&(S=r.modules.dataTree.children.find(D=>D instanceof wl?D.element===e:!1),S&&(S=S.data)):e===null&&(S=!1):typeof e>"u"?S=!1:S=r.data[this.field].find(D=>D.data[this.table.options.index]==e),S&&(Array.isArray(r.data[this.field])&&(S=r.data[this.field].indexOf(S)),S==-1&&(S=!1)),S}getTreeChildren(e,r,S){var D=e.modules.dataTree,x=[];return D&&D.children&&(Array.isArray(D.children)||(D.children=this.generateChildren(e)),D.children.forEach(o=>{o instanceof wl&&(x.push(r?o.getComponent():o),S&&(x=x.concat(this.getTreeChildren(o,r,S))))})),x}getChildField(){return this.field}redrawNeeded(e){return(this.field?typeof e[this.field]<"u":!1)||(this.elementField?typeof e[this.elementField]<"u":!1)}}bM.moduleName="dataTree";function sR(n,e={},r){var S=e.delimiter?e.delimiter:",",D=[],x=[];n.forEach(o=>{var t=[];switch(o.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":o.columns.forEach((d,g)=>{d&&d.depth===1&&(x[g]=typeof d.value>"u"||d.value===null?"":'"'+String(d.value).split('"').join('""')+'"')});break;case"row":o.columns.forEach(d=>{if(d){switch(typeof d.value){case"object":d.value=d.value!==null?JSON.stringify(d.value):"";break;case"undefined":d.value="";break}t.push('"'+String(d.value).split('"').join('""')+'"')}}),D.push(t.join(S));break}}),x.length&&D.unshift(x.join(S)),D=D.join(` -`),e.bom&&(D="\uFEFF"+D),r(D,"text/csv")}function lR(n,e,r){var S=[];n.forEach(D=>{var x={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(o=>{o&&(x[o.component.getTitleDownload()||o.component.getField()]=o.value)}),S.push(x);break}}),S=JSON.stringify(S,null," "),r(S,"application/json")}function uR(n,e={},r){var S=[],D=[],x={},o=e.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},t=e.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},d=e.jsPDF||{},g=e.title?e.title:"";d.orientation||(d.orientation=e.orientation||"landscape"),d.unit||(d.unit="pt"),n.forEach(v=>{switch(v.type){case"header":S.push(i(v));break;case"group":D.push(i(v,o));break;case"calc":D.push(i(v,t));break;case"row":D.push(i(v));break}});function i(v,p){var u=[];return v.columns.forEach(a=>{var c;if(a){switch(typeof a.value){case"object":a.value=a.value!==null?JSON.stringify(a.value):"";break;case"undefined":a.value="";break}c={content:a.value,colSpan:a.width,rowSpan:a.height},p&&(c.styles=p),u.push(c)}}),u}var M=new jspdf.jsPDF(d);e.autoTable&&(typeof e.autoTable=="function"?x=e.autoTable(M)||{}:x=e.autoTable),g&&(x.didDrawPage=function(v){M.text(g,40,30)}),x.head=S,x.body=D,M.autoTable(x),e.documentProcessing&&e.documentProcessing(M),r(M.output("arraybuffer"),"application/pdf")}function cR(n,e,r){var S=this,D=e.sheetName||"Sheet1",x=XLSX.utils.book_new(),o=new Zl(this),t="compress"in e?e.compress:!0,d=e.writeOptions||{bookType:"xlsx",bookSST:!0,compression:t},g;d.type="binary",x.SheetNames=[],x.Sheets={};function i(){var p=[],u=[],a={},c={s:{c:0,r:0},e:{c:n[0]?n[0].columns.reduce((s,l)=>s+(l&&l.width?l.width:1),0):0,r:n.length}};return n.forEach((s,l)=>{var h=[];s.columns.forEach(function(f,m){f?(h.push(!(f.value instanceof Date)&&typeof f.value=="object"?JSON.stringify(f.value):f.value),(f.width>1||f.height>-1)&&(f.height>1||f.width>1)&&u.push({s:{r:l,c:m},e:{r:l+f.height-1,c:m+f.width-1}})):h.push("")}),p.push(h)}),XLSX.utils.sheet_add_aoa(a,p),a["!ref"]=XLSX.utils.encode_range(c),u.length&&(a["!merges"]=u),a}if(e.sheetOnly){r(i());return}if(e.sheets)for(var M in e.sheets)e.sheets[M]===!0?(x.SheetNames.push(M),x.Sheets[M]=i()):(x.SheetNames.push(M),o.commsSend(e.sheets[M],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:S.active,intercept:function(p){x.Sheets[M]=p}}));else x.SheetNames.push(D),x.Sheets[D]=i();e.documentProcessing&&(x=e.documentProcessing(x));function v(p){for(var u=new ArrayBuffer(p.length),a=new Uint8Array(u),c=0;c!=p.length;++c)a[c]=p.charCodeAt(c)&255;return u}g=XLSX.write(x,d),r(v(g),"application/octet-stream")}function fR(n,e,r){this.modExists("export",!0)&&r(this.modules.export.generateHTMLTable(n),"text/html")}function hR(n,e,r){const S=[];n.forEach(D=>{const x={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(o=>{o&&(x[o.component.getTitleDownload()||o.component.getField()]=o.value)}),S.push(JSON.stringify(x));break}}),r(S.join(` -`),"application/x-ndjson")}var dR={csv:sR,json:lR,jsonLines:hR,pdf:uR,xlsx:cR,html:fR};class Qp extends Xi{constructor(e){super(e),this.registerTableOption("downloadEncoder",function(r,S){return new Blob([r],{type:S})}),this.registerTableOption("downloadReady",void 0),this.registerTableOption("downloadConfig",{}),this.registerTableOption("downloadRowRange","active"),this.registerColumnOption("download"),this.registerColumnOption("titleDownload")}initialize(){this.deprecatedOptionsCheck(),this.registerTableFunction("download",this.download.bind(this)),this.registerTableFunction("downloadToTab",this.downloadToTab.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("downloadReady","downloadEncoder")}downloadToTab(e,r,S,D){this.download(e,r,S,D,!0)}download(e,r,S,D,x){var o=!1;function t(g,i){x?x===!0?this.triggerDownload(g,i,e,r,!0):x(g):this.triggerDownload(g,i,e,r)}if(typeof e=="function"?o=e:Qp.downloaders[e]?o=Qp.downloaders[e]:console.warn("Download Error - No such download type found: ",e),o){var d=this.generateExportList(D);o.call(this.table,d,S||{},t.bind(this))}}generateExportList(e){var r=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,e||this.table.options.downloadRowRange,"download"),S=this.table.options.groupHeaderDownload;return S&&!Array.isArray(S)&&(S=[S]),r.forEach(D=>{var x;D.type==="group"&&(x=D.columns[0],S&&S[D.indent]&&(x.value=S[D.indent](x.value,D.component._group.getRowCount(),D.component._group.getData(),D.component)))}),r}triggerDownload(e,r,S,D,x){var o=document.createElement("a"),t=this.table.options.downloadEncoder(e,r);t&&(x?window.open(window.URL.createObjectURL(t)):(D=D||"Tabulator."+(typeof S=="function"?"txt":S),navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(t,D):(o.setAttribute("href",window.URL.createObjectURL(t)),o.setAttribute("download",D),o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o))),this.dispatchExternal("downloadComplete"))}commsReceived(e,r,S){switch(r){case"intercept":this.download(S.type,"",S.options,S.active,S.intercept);break}}}Qp.moduleName="download";Qp.downloaders=dR;function Ky(n,e){var r=e.mask,S=typeof e.maskLetterChar<"u"?e.maskLetterChar:"A",D=typeof e.maskNumberChar<"u"?e.maskNumberChar:"9",x=typeof e.maskWildcardChar<"u"?e.maskWildcardChar:"*";function o(t){var d=r[t];typeof d<"u"&&d!==x&&d!==S&&d!==D&&(n.value=n.value+""+d,o(t+1))}n.addEventListener("keydown",t=>{var d=n.value.length,g=t.key;if(t.keyCode>46&&!t.ctrlKey&&!t.metaKey){if(d>=r.length)return t.preventDefault(),t.stopPropagation(),!1;switch(r[d]){case S:if(g.toUpperCase()==g.toLowerCase())return t.preventDefault(),t.stopPropagation(),!1;break;case D:if(isNaN(g))return t.preventDefault(),t.stopPropagation(),!1;break;case x:break;default:if(g!==r[d])return t.preventDefault(),t.stopPropagation(),!1}}}),n.addEventListener("keyup",t=>{t.keyCode>46&&e.maskAutoFill&&o(n.value.length)}),n.placeholder||(n.placeholder=r),e.maskAutoFill&&o(n.value.length)}function pR(n,e,r,S,D){var x=n.getValue(),o=document.createElement("input");if(o.setAttribute("type",D.search?"search":"text"),o.style.padding="4px",o.style.width="100%",o.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),o.setAttribute(d,o.getAttribute(d)+D.elementAttributes["+"+d])):o.setAttribute(d,D.elementAttributes[d]);o.value=typeof x<"u"?x:"",e(function(){n.getType()==="cell"&&(o.focus({preventScroll:!0}),o.style.height="100%",D.selectContents&&o.select())});function t(d){(x===null||typeof x>"u")&&o.value!==""||o.value!==x?r(o.value)&&(x=o.value):S()}return o.addEventListener("change",t),o.addEventListener("blur",t),o.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:S();break;case 35:case 36:d.stopPropagation();break}}),D.mask&&Ky(o,D),o}function mR(n,e,r,S,D){var x=n.getValue(),o=D.verticalNavigation||"hybrid",t=String(x!==null&&typeof x<"u"?x:""),d=document.createElement("textarea"),g=0;if(d.style.display="block",d.style.padding="2px",d.style.height="100%",d.style.width="100%",d.style.boxSizing="border-box",d.style.whiteSpace="pre-wrap",d.style.resize="none",D.elementAttributes&&typeof D.elementAttributes=="object")for(let M in D.elementAttributes)M.charAt(0)=="+"?(M=M.slice(1),d.setAttribute(M,d.getAttribute(M)+D.elementAttributes["+"+M])):d.setAttribute(M,D.elementAttributes[M]);d.value=t,e(function(){n.getType()==="cell"&&(d.focus({preventScroll:!0}),d.style.height="100%",d.scrollHeight,d.style.height=d.scrollHeight+"px",n.getRow().normalizeHeight(),D.selectContents&&d.select())});function i(M){(x===null||typeof x>"u")&&d.value!==""||d.value!==x?(r(d.value)&&(x=d.value),setTimeout(function(){n.getRow().normalizeHeight()},300)):S()}return d.addEventListener("change",i),d.addEventListener("blur",i),d.addEventListener("keyup",function(){d.style.height="";var M=d.scrollHeight;d.style.height=M+"px",M!=g&&(g=M,n.getRow().normalizeHeight())}),d.addEventListener("keydown",function(M){switch(M.keyCode){case 13:M.shiftKey&&D.shiftEnterSubmit&&i();break;case 27:S();break;case 38:(o=="editor"||o=="hybrid"&&d.selectionStart)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 40:(o=="editor"||o=="hybrid"&&d.selectionStart!==d.value.length)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 35:case 36:M.stopPropagation();break}}),D.mask&&Ky(d,D),d}function gR(n,e,r,S,D){var x=n.getValue(),o=D.verticalNavigation||"editor",t=document.createElement("input");if(t.setAttribute("type","number"),typeof D.max<"u"&&t.setAttribute("max",D.max),typeof D.min<"u"&&t.setAttribute("min",D.min),typeof D.step<"u"&&t.setAttribute("step",D.step),t.style.padding="4px",t.style.width="100%",t.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let i in D.elementAttributes)i.charAt(0)=="+"?(i=i.slice(1),t.setAttribute(i,t.getAttribute(i)+D.elementAttributes["+"+i])):t.setAttribute(i,D.elementAttributes[i]);t.value=x;var d=function(i){g()};e(function(){n.getType()==="cell"&&(t.removeEventListener("blur",d),t.focus({preventScroll:!0}),t.style.height="100%",t.addEventListener("blur",d),D.selectContents&&t.select())});function g(){var i=t.value;!isNaN(i)&&i!==""&&(i=Number(i)),i!==x?r(i)&&(x=i):S()}return t.addEventListener("keydown",function(i){switch(i.keyCode){case 13:g();break;case 27:S();break;case 38:case 40:o=="editor"&&(i.stopImmediatePropagation(),i.stopPropagation());break;case 35:case 36:i.stopPropagation();break}}),D.mask&&Ky(t,D),t}function vR(n,e,r,S,D){var x=n.getValue(),o=document.createElement("input");if(o.setAttribute("type","range"),typeof D.max<"u"&&o.setAttribute("max",D.max),typeof D.min<"u"&&o.setAttribute("min",D.min),typeof D.step<"u"&&o.setAttribute("step",D.step),o.style.padding="4px",o.style.width="100%",o.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),o.setAttribute(d,o.getAttribute(d)+D.elementAttributes["+"+d])):o.setAttribute(d,D.elementAttributes[d]);o.value=x,e(function(){n.getType()==="cell"&&(o.focus({preventScroll:!0}),o.style.height="100%")});function t(){var d=o.value;!isNaN(d)&&d!==""&&(d=Number(d)),d!=x?r(d)&&(x=d):S()}return o.addEventListener("blur",function(d){t()}),o.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:S();break}}),o}function yR(n,e,r,S,D){var x=D.format,o=D.verticalNavigation||"editor",t=x?window.DateTime||luxon.DateTime:null,d=n.getValue(),g=document.createElement("input");function i(v){var p;return t.isDateTime(v)?p=v:x==="iso"?p=t.fromISO(String(v)):p=t.fromFormat(String(v),x),p.toFormat("yyyy-MM-dd")}if(g.type="date",g.style.padding="4px",g.style.width="100%",g.style.boxSizing="border-box",D.max&&g.setAttribute("max",x?i(D.max):D.max),D.min&&g.setAttribute("min",x?i(D.min):D.min),D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),g.setAttribute(v,g.getAttribute(v)+D.elementAttributes["+"+v])):g.setAttribute(v,D.elementAttributes[v]);d=typeof d<"u"?d:"",x&&(t?d=i(d):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),g.value=d,e(function(){n.getType()==="cell"&&(g.focus({preventScroll:!0}),g.style.height="100%",D.selectContents&&g.select())});function M(){var v=g.value,p;if((d===null||typeof d>"u")&&v!==""||v!==d){if(v&&x)switch(p=t.fromFormat(String(v),"yyyy-MM-dd"),x){case!0:v=p;break;case"iso":v=p.toISO();break;default:v=p.toFormat(x)}r(v)&&(d=g.value)}else S()}return g.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==g)&&M()}),g.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:S();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:o=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),g}function bR(n,e,r,S,D){var x=D.format,o=D.verticalNavigation||"editor",t=x?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="time",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",x&&(t?(t.isDateTime(g)?d=g:x==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),x),g=d.toFormat("hh:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),i.value=g,e(function(){n.getType()=="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,p;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&x)switch(p=t.fromFormat(String(v),"hh:mm"),x){case!0:v=p;break;case"iso":v=p.toISO();break;default:v=p.toFormat(x)}r(v)&&(g=i.value)}else S()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:S();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:o=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}function xR(n,e,r,S,D){var x=D.format,o=D.verticalNavigation||"editor",t=x?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="datetime-local",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",x&&(t?(t.isDateTime(g)?d=g:x==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),x),g=d.toFormat("yyyy-MM-dd")+"T"+d.toFormat("hh:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),i.value=g,e(function(){n.getType()==="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,p;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&x)switch(p=t.fromISO(String(v)),x){case!0:v=p;break;case"iso":v=p.toISO();break;default:v=p.toFormat(x)}r(v)&&(g=i.value)}else S()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:S();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:o=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}class g_{constructor(e,r,S,D,x,o){this.edit=e,this.table=e.table,this.cell=r,this.params=this._initializeParams(o),this.data=[],this.displayItems=[],this.currentItems=[],this.focusedItem=null,this.input=this._createInputElement(),this.listEl=this._createListElement(),this.initialValues=null,this.isFilter=r.getType()==="header",this.filterTimeout=null,this.filtered=!1,this.typing=!1,this.values=[],this.popup=null,this.listIteration=0,this.lastAction="",this.filterTerm="",this.blurable=!0,this.actions={success:D,cancel:x},this._deprecatedOptionsCheck(),this._initializeValue(),S(this._onRendered.bind(this))}_deprecatedOptionsCheck(){this.params.listItemFormatter&&this.cell.getTable().deprecationAdvisor.msg("The listItemFormatter editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.sortValuesList&&this.cell.getTable().deprecationAdvisor.msg("The sortValuesList editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchFunc&&this.cell.getTable().deprecationAdvisor.msg("The searchFunc editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchingPlaceholder&&this.cell.getTable().deprecationAdvisor.msg("The searchingPlaceholder editor param has been deprecated, please see the latest editor documentation for updated options")}_initializeValue(){var e=this.cell.getValue();typeof e>"u"&&typeof this.params.defaultValue<"u"&&(e=this.params.defaultValue),this.initialValues=this.params.multiselect?e:[e],this.isFilter&&(this.input.value=this.initialValues?this.initialValues.join(","):"",this.headerFilterInitialListGen())}_onRendered(){var e=this.cell.getElement();function r(S){S.stopPropagation()}this.isFilter||(this.input.style.height="100%",this.input.focus({preventScroll:!0})),e.addEventListener("click",r),setTimeout(()=>{e.removeEventListener("click",r)},1e3),this.input.addEventListener("mousedown",this._preventPopupBlur.bind(this))}_createListElement(){var e=document.createElement("div");return e.classList.add("tabulator-edit-list"),e.addEventListener("mousedown",this._preventBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e}_setListWidth(){var e=this.isFilter?this.input:this.cell.getElement();this.listEl.style.minWidth=e.offsetWidth+"px",this.params.maxWidth&&(this.params.maxWidth===!0?this.listEl.style.maxWidth=e.offsetWidth+"px":typeof this.params.maxWidth=="number"?this.listEl.style.maxWidth=this.params.maxWidth+"px":this.listEl.style.maxWidth=this.params.maxWidth)}_createInputElement(){var e=this.params.elementAttributes,r=document.createElement("input");if(r.setAttribute("type",this.params.clearable?"search":"text"),r.style.padding="4px",r.style.width="100%",r.style.boxSizing="border-box",this.params.autocomplete||(r.style.cursor="default",r.style.caretColor="transparent"),e&&typeof e=="object")for(let S in e)S.charAt(0)=="+"?(S=S.slice(1),r.setAttribute(S,r.getAttribute(S)+e["+"+S])):r.setAttribute(S,e[S]);return this.params.mask&&Ky(r,this.params),this._bindInputEvents(r),r}_initializeParams(e){var r=["values","valuesURL","valuesLookup"],S;return e=Object.assign({},e),e.verticalNavigation=e.verticalNavigation||"editor",e.placeholderLoading=typeof e.placeholderLoading>"u"?"Searching ...":e.placeholderLoading,e.placeholderEmpty=typeof e.placeholderEmpty>"u"?"No Results Found":e.placeholderEmpty,e.filterDelay=typeof e.filterDelay>"u"?300:e.filterDelay,e.emptyValue=Object.keys(e).includes("emptyValue")?e.emptyValue:"",S=Object.keys(e).filter(D=>r.includes(D)).length,S?S>1&&console.warn("list editor config error - only one of the values, valuesURL, or valuesLookup options can be set on the same editor"):console.warn("list editor config error - either the values, valuesURL, or valuesLookup option must be set"),e.autocomplete?e.multiselect&&(e.multiselect=!1,console.warn("list editor config error - multiselect option is not available when autocomplete is enabled")):(e.freetext&&(e.freetext=!1,console.warn("list editor config error - freetext option is only available when autocomplete is enabled")),e.filterFunc&&(e.filterFunc=!1,console.warn("list editor config error - filterFunc option is only available when autocomplete is enabled")),e.filterRemote&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option is only available when autocomplete is enabled")),e.mask&&(e.mask=!1,console.warn("list editor config error - mask option is only available when autocomplete is enabled")),e.allowEmpty&&(e.allowEmpty=!1,console.warn("list editor config error - allowEmpty option is only available when autocomplete is enabled")),e.listOnEmpty&&(e.listOnEmpty=!1,console.warn("list editor config error - listOnEmpty option is only available when autocomplete is enabled"))),e.filterRemote&&!(typeof e.valuesLookup=="function"||e.valuesURL)&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option should only be used when values list is populated from a remote source")),e}_bindInputEvents(e){e.addEventListener("focus",this._inputFocus.bind(this)),e.addEventListener("click",this._inputClick.bind(this)),e.addEventListener("blur",this._inputBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e.addEventListener("search",this._inputSearch.bind(this)),this.params.autocomplete&&e.addEventListener("keyup",this._inputKeyUp.bind(this))}_inputFocus(e){this.rebuildOptionsList()}_filter(){this.params.filterRemote?(clearTimeout(this.filterTimeout),this.filterTimeout=setTimeout(()=>{this.rebuildOptionsList()},this.params.filterDelay)):this._filterList()}_inputClick(e){e.stopPropagation()}_inputBlur(e){this.blurable&&(this.popup?this.popup.hide():this._resolveValue(!0))}_inputSearch(){this._clearChoices()}_inputKeyDown(e){switch(e.keyCode){case 38:this._keyUp(e);break;case 40:this._keyDown(e);break;case 37:case 39:this._keySide(e);break;case 13:this._keyEnter();break;case 27:this._keyEsc();break;case 36:case 35:this._keyHomeEnd(e);break;case 9:this._keyTab(e);break;default:this._keySelectLetter(e)}}_inputKeyUp(e){switch(e.keyCode){case 38:case 37:case 39:case 40:case 13:case 27:break;default:this._keyAutoCompLetter(e)}}_preventPopupBlur(){this.popup&&this.popup.blockHide(),setTimeout(()=>{this.popup&&this.popup.restoreHide()},10)}_preventBlur(){this.blurable=!1,setTimeout(()=>{this.blurable=!0},10)}_keyTab(e){this.params.autocomplete&&this.lastAction==="typing"?this._resolveValue(!0):this.focusedItem&&this._chooseItem(this.focusedItem,!0)}_keyUp(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),r>0&&this._focusItem(this.displayItems[r-1]))}_keyDown(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r=38&&e.keyCode<=90&&this._scrollToValue(e.keyCode))}_keyAutoCompLetter(e){this._filter(),this.lastAction="typing",this.typing=!0}_scrollToValue(e){clearTimeout(this.filterTimeout);var r=String.fromCharCode(e).toLowerCase();this.filterTerm+=r.toLowerCase();var S=this.displayItems.find(D=>typeof D.label<"u"&&D.label.toLowerCase().startsWith(this.filterTerm));S&&this._focusItem(S),this.filterTimeout=setTimeout(()=>{this.filterTerm=""},800)}_focusItem(e){this.lastAction="focus",this.focusedItem&&this.focusedItem.element&&this.focusedItem.element.classList.remove("focused"),this.focusedItem=e,e&&e.element&&(e.element.classList.add("focused"),e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}))}headerFilterInitialListGen(){this._generateOptions(!0)}rebuildOptionsList(){this._generateOptions().then(this._sortOptions.bind(this)).then(this._buildList.bind(this)).then(this._showList.bind(this)).catch(e=>{Number.isInteger(e)||console.error("List generation error",e)})}_filterList(){this._buildList(this._filterOptions()),this._showList()}_generateOptions(e){var r=[],S=++this.listIteration;return this.filtered=!1,this.params.values?r=this.params.values:this.params.valuesURL?r=this._ajaxRequest(this.params.valuesURL,this.input.value):typeof this.params.valuesLookup=="function"?r=this.params.valuesLookup(this.cell,this.input.value):this.params.valuesLookup&&(r=this._uniqueColumnValues(this.params.valuesLookupField)),r instanceof Promise?(e||this._addPlaceholder(this.params.placeholderLoading),r.then().then(D=>this.listIteration===S?this._parseList(D):Promise.reject(S))):Promise.resolve(this._parseList(r))}_addPlaceholder(e){var r=document.createElement("div");typeof e=="function"&&(e=e(this.cell.getComponent(),this.listEl)),e&&(this._clearList(),e instanceof HTMLElement?r=e:(r.classList.add("tabulator-edit-list-placeholder"),r.innerHTML=e),this.listEl.appendChild(r),this._showList())}_ajaxRequest(e,r){var S=this.params.filterRemote?{term:r}:{};return e=mM(e,{},S),fetch(e).then(D=>D.ok?D.json().catch(x=>(console.warn("List Ajax Load Error - Invalid JSON returned",x),Promise.reject(x))):(console.error("List Ajax Load Error - Connection Error: "+D.status,D.statusText),Promise.reject(D))).catch(D=>(console.error("List Ajax Load Error - Connection Error: ",D),Promise.reject(D)))}_uniqueColumnValues(e){var r={},S=this.table.getData(this.params.valuesLookup),D;return e?D=this.table.columnManager.getColumnByField(e):D=this.cell.getColumn()._getSelf(),D?S.forEach(x=>{var o=D.getFieldValue(x);o!==null&&typeof o<"u"&&o!==""&&(r[o]=!0)}):(console.warn("unable to find matching column to create select lookup list:",e),r=[]),Object.keys(r)}_parseList(e){var r=[];return Array.isArray(e)||(e=Object.entries(e).map(([S,D])=>({label:D,value:S}))),e.forEach(S=>{typeof S!="object"&&(S={label:S,value:S}),this._parseListItem(S,r,0)}),!this.currentItems.length&&this.params.freetext&&(this.input.value=this.initialValues,this.typing=!0,this.lastAction="typing"),this.data=r,r}_parseListItem(e,r,S){var D={};e.options?D=this._parseListGroup(e,S+1):(D={label:e.label,value:e.value,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,selected:!1,visible:!0,level:S,original:e},this.initialValues&&this.initialValues.indexOf(e.value)>-1&&this._chooseItem(D,!0)),r.push(D)}_parseListGroup(e,r){var S={label:e.label,group:!0,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,visible:!0,level:r,options:[],original:e};return e.options.forEach(D=>{this._parseListItem(D,S.options,r)}),S}_sortOptions(e){var r;return this.params.sort&&(r=typeof this.params.sort=="function"?this.params.sort:this._defaultSortFunction.bind(this),this._sortGroup(r,e)),e}_sortGroup(e,r){r.sort((S,D)=>e(S.label,D.label,S.value,D.value,S.original,D.original)),r.forEach(S=>{S.group&&this._sortGroup(e,S.options)})}_defaultSortFunction(e,r){var S,D,x,o,t=0,d,g=/(\d+)|(\D+)/g,i=/\d/,M=0;if(this.params.sort==="desc"&&([e,r]=[r,e]),!e&&e!==0)M=!r&&r!==0?0:-1;else if(!r&&r!==0)M=1;else{if(isFinite(e)&&isFinite(r))return e-r;if(S=String(e).toLowerCase(),D=String(r).toLowerCase(),S===D)return 0;if(!(i.test(S)&&i.test(D)))return S>D?1:-1;for(S=S.match(g),D=D.match(g),d=S.length>D.length?D.length:S.length;to?1:-1;return S.length>D.length}return M}_filterOptions(){var e=this.params.filterFunc||this._defaultFilterFunc,r=this.input.value;return r?(this.filtered=!0,this.data.forEach(S=>{this._filterItem(e,r,S)})):this.filtered=!1,this.data}_filterItem(e,r,S){var D=!1;return S.group?(S.options.forEach(x=>{this._filterItem(e,r,x)&&(D=!0)}),S.visible=D):S.visible=e(r,S.label,S.value,S.original),S.visible}_defaultFilterFunc(e,r,S,D){return e=String(e).toLowerCase(),r!==null&&typeof r<"u"&&(String(r).toLowerCase().indexOf(e)>-1||String(S).toLowerCase().indexOf(e)>-1)}_clearList(){for(;this.listEl.firstChild;)this.listEl.removeChild(this.listEl.firstChild);this.displayItems=[]}_buildList(e){this._clearList(),e.forEach(r=>{this._buildItem(r)}),this.displayItems.length||this._addPlaceholder(this.params.placeholderEmpty)}_buildItem(e){var r=e.element,S;if(!this.filtered||e.visible){if(!r){if(r=document.createElement("div"),r.tabIndex=0,S=this.params.itemFormatter?this.params.itemFormatter(e.label,e.value,e.original,r):e.label,S instanceof HTMLElement?r.appendChild(S):r.innerHTML=S,e.group?r.classList.add("tabulator-edit-list-group"):r.classList.add("tabulator-edit-list-item"),r.classList.add("tabulator-edit-list-group-level-"+e.level),e.elementAttributes&&typeof e.elementAttributes=="object")for(let D in e.elementAttributes)D.charAt(0)=="+"?(D=D.slice(1),r.setAttribute(D,this.input.getAttribute(D)+e.elementAttributes["+"+D])):r.setAttribute(D,e.elementAttributes[D]);e.group?r.addEventListener("click",this._groupClick.bind(this,e)):r.addEventListener("click",this._itemClick.bind(this,e)),r.addEventListener("mousedown",this._preventBlur.bind(this)),e.element=r}this._styleItem(e),this.listEl.appendChild(r),e.group?e.options.forEach(D=>{this._buildItem(D)}):this.displayItems.push(e)}}_showList(){var e=this.popup&&this.popup.isVisible();if(this.input.parentNode){if(this.params.autocomplete&&this.input.value===""&&!this.params.listOnEmpty){this.popup&&this.popup.hide(!0);return}this._setListWidth(),this.popup||(this.popup=this.edit.popup(this.listEl)),this.popup.show(this.cell.getElement(),"bottom"),e||setTimeout(()=>{this.popup.hideOnBlur(this._resolveValue.bind(this,!0))},10)}}_styleItem(e){e&&e.element&&(e.selected?e.element.classList.add("active"):e.element.classList.remove("active"))}_itemClick(e,r){r.stopPropagation(),this._chooseItem(e)}_groupClick(e,r){r.stopPropagation()}_cancel(){this.popup.hide(!0),this.actions.cancel()}_clearChoices(){this.typing=!0,this.currentItems.forEach(e=>{e.selected=!1,this._styleItem(e)}),this.currentItems=[],this.focusedItem=null}_chooseItem(e,r){var S;this.typing=!1,this.params.multiselect?(S=this.currentItems.indexOf(e),S>-1?(this.currentItems.splice(S,1),e.selected=!1):(this.currentItems.push(e),e.selected=!0),this.input.value=this.currentItems.map(D=>D.label).join(","),this._styleItem(e)):(this.currentItems=[e],e.selected=!0,this.input.value=e.label,this._styleItem(e),r||this._resolveValue()),this._focusItem(e)}_resolveValue(e){var r,S;if(this.popup&&this.popup.hide(!0),this.params.multiselect)r=this.currentItems.map(D=>D.value);else if(e&&this.params.autocomplete&&this.typing)if(this.params.freetext||this.params.allowEmpty&&this.input.value==="")r=this.input.value;else{this.actions.cancel();return}else this.currentItems[0]?r=this.currentItems[0].value:(S=Array.isArray(this.initialValues)?this.initialValues[0]:this.initialValues,S===null||typeof S>"u"||S===""?r=S:r=this.params.emptyValue);r===""&&(r=this.params.emptyValue),this.actions.success(r),this.isFilter&&(this.initialValues=r&&!Array.isArray(r)?[r]:r,this.currentItems=[])}}function _R(n,e,r,S,D){this.deprecationMsg("The select editor has been deprecated, please use the new list editor");var x=new g_(this,n,e,r,S,D);return x.input}function wR(n,e,r,S,D){var x=new g_(this,n,e,r,S,D);return x.input}function TR(n,e,r,S,D){this.deprecationMsg("The autocomplete editor has been deprecated, please use the new list editor with the 'autocomplete' editorParam"),D.autocomplete=!0;var x=new g_(this,n,e,r,S,D);return x.input}function kR(n,e,r,S,D){var x=this,o=n.getElement(),t=n.getValue(),d=o.getElementsByTagName("svg").length||5,g=o.getElementsByTagName("svg")[0]?o.getElementsByTagName("svg")[0].getAttribute("width"):14,i=[],M=document.createElement("div"),v=document.createElementNS("http://www.w3.org/2000/svg","svg");function p(s){i.forEach(function(l,h){h'):(x.table.browser=="ie"?l.setAttribute("class","tabulator-star-inactive"):l.classList.replace("tabulator-star-active","tabulator-star-inactive"),l.innerHTML='')})}function u(s){var l=document.createElement("span"),h=v.cloneNode(!0);i.push(h),l.addEventListener("mouseenter",function(f){f.stopPropagation(),f.stopImmediatePropagation(),p(s)}),l.addEventListener("mousemove",function(f){f.stopPropagation(),f.stopImmediatePropagation()}),l.addEventListener("click",function(f){f.stopPropagation(),f.stopImmediatePropagation(),r(s),o.blur()}),l.appendChild(h),M.appendChild(l)}function a(s){t=s,p(s)}if(o.style.whiteSpace="nowrap",o.style.overflow="hidden",o.style.textOverflow="ellipsis",M.style.verticalAlign="middle",M.style.display="inline-block",M.style.padding="4px",v.setAttribute("width",g),v.setAttribute("height",g),v.setAttribute("viewBox","0 0 512 512"),v.setAttribute("xml:space","preserve"),v.style.padding="0 1px",D.elementAttributes&&typeof D.elementAttributes=="object")for(let s in D.elementAttributes)s.charAt(0)=="+"?(s=s.slice(1),M.setAttribute(s,M.getAttribute(s)+D.elementAttributes["+"+s])):M.setAttribute(s,D.elementAttributes[s]);for(var c=1;c<=d;c++)u(c);return t=Math.min(parseInt(t),d),p(t),M.addEventListener("mousemove",function(s){p(0)}),M.addEventListener("click",function(s){r(0)}),o.addEventListener("blur",function(s){S()}),o.addEventListener("keydown",function(s){switch(s.keyCode){case 39:a(t+1);break;case 37:a(t-1);break;case 13:r(t);break;case 27:S();break}}),M}function MR(n,e,r,S,D){var x=n.getElement(),o=typeof D.max>"u"?x.getElementsByTagName("div")[0]&&x.getElementsByTagName("div")[0].getAttribute("max")||100:D.max,t=typeof D.min>"u"?x.getElementsByTagName("div")[0]&&x.getElementsByTagName("div")[0].getAttribute("min")||0:D.min,d=(o-t)/100,g=n.getValue()||0,i=document.createElement("div"),M=document.createElement("div"),v,p;function u(){var a=window.getComputedStyle(x,null),c=d*Math.round(M.offsetWidth/((x.clientWidth-parseInt(a.getPropertyValue("padding-left"))-parseInt(a.getPropertyValue("padding-right")))/100))+t;r(c),x.setAttribute("aria-valuenow",c),x.setAttribute("aria-label",g)}if(i.style.position="absolute",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.width="5px",i.classList.add("tabulator-progress-handle"),M.style.display="inline-block",M.style.position="relative",M.style.height="100%",M.style.backgroundColor="#488CE9",M.style.maxWidth="100%",M.style.minWidth="0%",D.elementAttributes&&typeof D.elementAttributes=="object")for(let a in D.elementAttributes)a.charAt(0)=="+"?(a=a.slice(1),M.setAttribute(a,M.getAttribute(a)+D.elementAttributes["+"+a])):M.setAttribute(a,D.elementAttributes[a]);return x.style.padding="4px 4px",g=Math.min(parseFloat(g),o),g=Math.max(parseFloat(g),t),g=Math.round((g-t)/d),M.style.width=g+"%",x.setAttribute("aria-valuemin",t),x.setAttribute("aria-valuemax",o),M.appendChild(i),i.addEventListener("mousedown",function(a){v=a.screenX,p=M.offsetWidth}),i.addEventListener("mouseover",function(){i.style.cursor="ew-resize"}),x.addEventListener("mousemove",function(a){v&&(M.style.width=p+a.screenX-v+"px")}),x.addEventListener("mouseup",function(a){v&&(a.stopPropagation(),a.stopImmediatePropagation(),v=!1,p=!1,u())}),x.addEventListener("keydown",function(a){switch(a.keyCode){case 39:a.preventDefault(),M.style.width=M.clientWidth+x.clientWidth/100+"px";break;case 37:a.preventDefault(),M.style.width=M.clientWidth-x.clientWidth/100+"px";break;case 9:case 13:u();break;case 27:S();break}}),x.addEventListener("blur",function(){S()}),M}function AR(n,e,r,S,D){var x=n.getValue(),o=document.createElement("input"),t=D.tristate,d=typeof D.indeterminateValue>"u"?null:D.indeterminateValue,g=!1,i=Object.keys(D).includes("trueValue"),M=Object.keys(D).includes("falseValue");if(o.setAttribute("type","checkbox"),o.style.marginTop="5px",o.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let p in D.elementAttributes)p.charAt(0)=="+"?(p=p.slice(1),o.setAttribute(p,o.getAttribute(p)+D.elementAttributes["+"+p])):o.setAttribute(p,D.elementAttributes[p]);o.value=x,t&&(typeof x>"u"||x===d||x==="")&&(g=!0,o.indeterminate=!0),this.table.browser!="firefox"&&this.table.browser!="safari"&&e(function(){n.getType()==="cell"&&o.focus({preventScroll:!0})}),o.checked=i?x===D.trueValue:x===!0||x==="true"||x==="True"||x===1;function v(p){var u=o.checked;return i&&u?u=D.trueValue:M&&!u&&(u=D.falseValue),t?p?g?d:u:o.checked&&!g?(o.checked=!1,o.indeterminate=!0,g=!0,d):(g=!1,u):u}return o.addEventListener("change",function(p){r(v())}),o.addEventListener("blur",function(p){r(v(!0))}),o.addEventListener("keydown",function(p){p.keyCode==13&&r(v()),p.keyCode==27&&S()}),o}var SR={input:pR,textarea:mR,number:gR,range:vR,date:yR,time:bR,datetime:xR,select:_R,list:wR,autocomplete:TR,star:kR,progress:MR,tickCross:AR};class rg extends Xi{constructor(e){super(e),this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[],this.editors=rg.editors,this.registerColumnOption("editable"),this.registerColumnOption("editor"),this.registerColumnOption("editorParams"),this.registerColumnOption("cellEditing"),this.registerColumnOption("cellEdited"),this.registerColumnOption("cellEditCancelled"),this.registerTableFunction("getEditedCells",this.getEditedCells.bind(this)),this.registerTableFunction("clearCellEdited",this.clearCellEdited.bind(this)),this.registerTableFunction("navigatePrev",this.navigatePrev.bind(this)),this.registerTableFunction("navigateNext",this.navigateNext.bind(this)),this.registerTableFunction("navigateLeft",this.navigateLeft.bind(this)),this.registerTableFunction("navigateRight",this.navigateRight.bind(this)),this.registerTableFunction("navigateUp",this.navigateUp.bind(this)),this.registerTableFunction("navigateDown",this.navigateDown.bind(this)),this.registerComponentFunction("cell","isEdited",this.cellIsEdited.bind(this)),this.registerComponentFunction("cell","clearEdited",this.clearEdited.bind(this)),this.registerComponentFunction("cell","edit",this.editCell.bind(this)),this.registerComponentFunction("cell","cancelEdit",this.cellCancelEdit.bind(this)),this.registerComponentFunction("cell","navigatePrev",this.navigatePrev.bind(this)),this.registerComponentFunction("cell","navigateNext",this.navigateNext.bind(this)),this.registerComponentFunction("cell","navigateLeft",this.navigateLeft.bind(this)),this.registerComponentFunction("cell","navigateRight",this.navigateRight.bind(this)),this.registerComponentFunction("cell","navigateUp",this.navigateUp.bind(this)),this.registerComponentFunction("cell","navigateDown",this.navigateDown.bind(this))}initialize(){this.subscribe("cell-init",this.bindEditor.bind(this)),this.subscribe("cell-delete",this.clearEdited.bind(this)),this.subscribe("cell-value-changed",this.updateCellClass.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("column-delete",this.columnDeleteCheck.bind(this)),this.subscribe("row-deleting",this.rowDeleteCheck.bind(this)),this.subscribe("row-layout",this.rowEditableCheck.bind(this)),this.subscribe("data-refreshing",this.cancelEdit.bind(this)),this.subscribe("keybinding-nav-prev",this.navigatePrev.bind(this,void 0)),this.subscribe("keybinding-nav-next",this.keybindingNavigateNext.bind(this)),this.subscribe("keybinding-nav-left",this.navigateLeft.bind(this,void 0)),this.subscribe("keybinding-nav-right",this.navigateRight.bind(this,void 0)),this.subscribe("keybinding-nav-up",this.navigateUp.bind(this,void 0)),this.subscribe("keybinding-nav-down",this.navigateDown.bind(this,void 0))}keybindingNavigateNext(e){var r=this.currentCell,S=this.options("tabEndNewRow");r&&(this.navigateNext(r,e)||S&&(r.getElement().firstChild.blur(),S===!0?S=this.table.addRow({}):typeof S=="function"?S=this.table.addRow(S(r.row.getComponent())):S=this.table.addRow(Object.assign({},S)),S.then(()=>{setTimeout(()=>{r.getComponent().navigateNext()})})))}cellIsEdited(e){return!!e.modules.edit&&e.modules.edit.edited}cellCancelEdit(e){e===this.currentCell?this.table.modules.edit.cancelEdit():console.warn("Cancel Editor Error - This cell is not currently being edited ")}updateCellClass(e){this.allowEdit(e)?e.getElement().classList.add("tabulator-editable"):e.getElement().classList.remove("tabulator-editable")}clearCellEdited(e){e||(e=this.table.modules.edit.getEditedCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.table.modules.edit.clearEdited(r._getSelf())})}navigatePrev(e=this.currentCell,r){var S,D;if(e){if(r&&r.preventDefault(),S=this.navigateLeft(),S)return!0;if(D=this.table.rowManager.prevDisplayRow(e.row,!0),D&&(S=this.findPrevEditableCell(D,D.cells.length),S))return S.getComponent().edit(),!0}return!1}navigateNext(e=this.currentCell,r){var S,D;if(e){if(r&&r.preventDefault(),S=this.navigateRight(),S)return!0;if(D=this.table.rowManager.nextDisplayRow(e.row,!0),D&&(S=this.findNextEditableCell(D,-1),S))return S.getComponent().edit(),!0}return!1}navigateLeft(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.findPrevEditableCell(e.row,S),D)?(D.getComponent().edit(),!0):!1}navigateRight(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.findNextEditableCell(e.row,S),D)?(D.getComponent().edit(),!0):!1}navigateUp(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.table.rowManager.prevDisplayRow(e.row,!0),D)?(D.cells[S].getComponent().edit(),!0):!1}navigateDown(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.table.rowManager.nextDisplayRow(e.row,!0),D)?(D.cells[S].getComponent().edit(),!0):!1}findNextEditableCell(e,r){var S=!1;if(r0)for(var D=r-1;D>=0;D--){let x=e.cells[D];if(x.column.modules.edit&&po.elVisible(x.getElement())&&this.allowEdit(x)){S=x;break}}return S}initializeColumnCheck(e){typeof e.definition.editor<"u"&&this.initializeColumn(e)}columnDeleteCheck(e){this.currentCell&&this.currentCell.column===e&&this.cancelEdit()}rowDeleteCheck(e){this.currentCell&&this.currentCell.row===e&&this.cancelEdit()}rowEditableCheck(e){e.getCells().forEach(r=>{r.column.modules.edit&&typeof r.column.modules.edit.check=="function"&&this.updateCellClass(r)})}initializeColumn(e){var r={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(typeof e.definition.editor){case"string":this.editors[e.definition.editor]?r.editor=this.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":r.editor=e.definition.editor;break;case"boolean":e.definition.editor===!0&&(typeof e.definition.formatter!="function"?this.editors[e.definition.formatter]?r.editor=this.editors[e.definition.formatter]:r.editor=this.editors.input:console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter));break}r.editor&&(e.modules.edit=r)}getCurrentCell(){return this.currentCell?this.currentCell.getComponent():!1}clearEditor(e){var r=this.currentCell,S;if(this.invalidEdit=!1,r){for(this.currentCell=!1,S=r.getElement(),this.dispatch("edit-editor-clear",r,e),S.classList.remove("tabulator-editing");S.firstChild;)S.removeChild(S.firstChild);r.row.getElement().classList.remove("tabulator-editing"),r.table.element.classList.remove("tabulator-editing")}}cancelEdit(){if(this.currentCell){var e=this.currentCell,r=this.currentCell.getComponent();this.clearEditor(!0),e.setValueActual(e.getValue()),e.cellRendered(),(e.column.definition.editor=="textarea"||e.column.definition.variableHeight)&&e.row.normalizeHeight(!0),e.column.definition.cellEditCancelled&&e.column.definition.cellEditCancelled.call(this.table,r),this.dispatch("edit-cancelled",e),this.dispatchExternal("cellEditCancelled",r)}}bindEditor(e){if(e.column.modules.edit){var r=this,S=e.getElement(!0);this.updateCellClass(e),S.setAttribute("tabindex",0),S.addEventListener("click",function(D){S.classList.contains("tabulator-editing")||S.focus({preventScroll:!0})}),S.addEventListener("mousedown",function(D){D.button===2?D.preventDefault():r.mouseClick=!0}),S.addEventListener("focus",function(D){r.recursionBlock||r.edit(e,D,!1)})}}focusCellNoEvent(e,r){this.recursionBlock=!0,r&&this.table.browser==="ie"||e.getElement().focus({preventScroll:!0}),this.recursionBlock=!1}editCell(e,r){this.focusCellNoEvent(e),this.edit(e,!1,r)}focusScrollAdjust(e){if(this.table.rowManager.getRenderMode()=="virtual"){var r=this.table.rowManager.element.scrollTop,S=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,D=e.row.getElement();D.offsetTopS&&(this.table.rowManager.element.scrollTop+=D.offsetTop+D.offsetHeight-S);var x=this.table.rowManager.element.scrollLeft,o=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,t=e.getElement();this.table.modExists("frozenColumns")&&(x+=parseInt(this.table.modules.frozenColumns.leftMargin||0),o-=parseInt(this.table.modules.frozenColumns.rightMargin||0)),this.table.options.renderHorizontal==="virtual"&&(x-=parseInt(this.table.columnManager.renderer.vDomPadLeft),o-=parseInt(this.table.columnManager.renderer.vDomPadLeft)),t.offsetLefto&&(this.table.rowManager.element.scrollLeft+=t.offsetLeft+t.offsetWidth-o)}}allowEdit(e){var r=!!e.column.modules.edit;if(e.column.modules.edit)switch(typeof e.column.modules.edit.check){case"function":e.row.initialized&&(r=e.column.modules.edit.check(e.getComponent()));break;case"string":r=!!e.row.data[e.column.modules.edit.check];break;case"boolean":r=e.column.modules.edit.check;break}return r}edit(e,r,S){var D=this,x=!0,o=function(){},t=e.getElement(),d,g,i;if(this.currentCell){!this.invalidEdit&&this.currentCell!==e&&this.cancelEdit();return}function M(c){if(D.currentCell===e){var s=D.chain("edit-success",[e,c],!0,!0);return s===!0||D.table.options.validationMode==="highlight"?(D.clearEditor(),e.modules.edit||(e.modules.edit={}),e.modules.edit.edited=!0,D.editedCells.indexOf(e)==-1&&D.editedCells.push(e),e.setValue(c,!0),s===!0):(D.invalidEdit=!0,D.focusCellNoEvent(e,!0),o(),!1)}}function v(){D.currentCell===e&&D.cancelEdit()}function p(c){o=c}if(e.column.modules.edit.blocked)return this.mouseClick=!1,t.blur(),!1;if(r&&r.stopPropagation(),x=this.allowEdit(e),x||S){if(D.cancelEdit(),D.currentCell=e,this.focusScrollAdjust(e),g=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.definition.cellClick&&e.column.definition.cellClick.call(this.table,r,g)),e.column.definition.cellEditing&&e.column.definition.cellEditing.call(this.table,g),this.dispatch("cell-editing",e),this.dispatchExternal("cellEditing",g),i=typeof e.column.modules.edit.params=="function"?e.column.modules.edit.params(g):e.column.modules.edit.params,d=e.column.modules.edit.editor.call(D,g,p,M,v,i),this.currentCell&&d!==!1)if(d instanceof Node){for(t.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-editing"),e.table.element.classList.add("tabulator-editing");t.firstChild;)t.removeChild(t.firstChild);t.appendChild(d),o();for(var u=t.children,a=0;a{e.push(r.getComponent())}),e}clearEdited(e){var r;e.modules.edit&&e.modules.edit.edited&&(e.modules.edit.edited=!1,this.dispatch("edit-edited-clear",e)),r=this.editedCells.indexOf(e),r>-1&&this.editedCells.splice(r,1)}}rg.moduleName="edit";rg.editors=SR;class eT{constructor(e,r,S,D){this.type=e,this.columns=r,this.component=S||!1,this.indent=D||0}}class Cb{constructor(e,r,S,D,x){this.value=e,this.component=r||!1,this.width=S,this.height=D,this.depth=x}}class xM extends Xi{constructor(e){super(e),this.config={},this.cloneTableStyle=!0,this.colVisProp="",this.registerTableOption("htmlOutputConfig",!1),this.registerColumnOption("htmlOutput"),this.registerColumnOption("titleHtmlOutput")}initialize(){this.registerTableFunction("getHtml",this.getHtml.bind(this))}generateExportList(e,r,S,D){this.cloneTableStyle=r,this.config=e||{},this.colVisProp=D;var x=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders()):[],o=this.bodyToExportRows(this.rowLookup(S));return x.concat(o)}generateTable(e,r,S,D){var x=this.generateExportList(e,r,S,D);return this.generateTableElement(x)}rowLookup(e){var r=[];if(typeof e=="function")e.call(this.table).forEach(S=>{S=this.table.rowManager.findRow(S),S&&r.push(S)});else switch(e){case!0:case"visible":r=this.table.rowManager.getVisibleRows(!1,!0);break;case"all":r=this.table.rowManager.rows;break;case"selected":r=this.table.modules.selectRow.selectedRows;break;case"active":default:this.table.options.pagination?r=this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):r=this.table.rowManager.getDisplayRows()}return Object.assign([],r)}generateColumnGroupHeaders(){var e=[],r=this.config.columnGroups!==!1?this.table.columnManager.columns:this.table.columnManager.columnsByIndex;return r.forEach(S=>{var D=this.processColumnGroup(S);D&&e.push(D)}),e}processColumnGroup(e){var r=e.columns,S=0,D=e.definition["title"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||e.definition.title,x={title:D,column:e,depth:1};if(r.length){if(x.subGroups=[],x.width=0,r.forEach(o=>{var t=this.processColumnGroup(o);t&&(x.width+=t.width,x.subGroups.push(t),t.depth>S&&(S=t.depth))}),x.depth+=S,!x.width)return!1}else if(this.columnVisCheck(e))x.width=1;else return!1;return x}columnVisCheck(e){var r=e.definition[this.colVisProp];return typeof r=="function"&&(r=r.call(this.table,e.getComponent())),r!==!1&&(e.visible||!e.visible&&r)}headersToExportRows(e){var r=[],S=0,D=[];function x(o,t){var d=S-t;if(typeof r[t]>"u"&&(r[t]=[]),o.height=o.subGroups?1:d-o.depth+1,r[t].push(o),o.height>1)for(let g=1;g"u"&&(r[t+g]=[]),r[t+g].push(!1);if(o.width>1)for(let g=1;gS&&(S=o.depth)}),e.forEach(function(o){x(o,0)}),r.forEach(o=>{var t=[];o.forEach(d=>{if(d){let g=typeof d.title>"u"?"":d.title;t.push(new Cb(g,d.column.getComponent(),d.width,d.height,d.depth))}else t.push(null)}),D.push(new eT("header",t))}),D}bodyToExportRows(e){var r=[],S=[];return this.table.columnManager.columnsByIndex.forEach(D=>{this.columnVisCheck(D)&&r.push(D.getComponent())}),this.config.columnCalcs!==!1&&this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&e.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&e.push(this.table.modules.columnCalcs.botRow)),e=e.filter(D=>{switch(D.type){case"group":return this.config.rowGroups!==!1;case"calc":return this.config.columnCalcs!==!1;case"row":return!(this.table.options.dataTree&&this.config.dataTree===!1&&D.modules.dataTree.parent)}return!0}),e.forEach((D,x)=>{var o=D.getData(this.colVisProp),t=[],d=0;switch(D.type){case"group":d=D.level,t.push(new Cb(D.key,D.getComponent(),r.length,1));break;case"calc":case"row":r.forEach(g=>{t.push(new Cb(g._column.getFieldValue(o),g,1,1))}),this.table.options.dataTree&&this.config.dataTree!==!1&&(d=D.modules.dataTree.index);break}S.push(new eT(D.type,t,D.getComponent(),d))}),S}generateTableElement(e){var r=document.createElement("table"),S=document.createElement("thead"),D=document.createElement("tbody"),x=this.lookupTableStyles(),o=this.table.options["rowFormatter"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t={};return t.rowFormatter=o!==null?o:this.table.options.rowFormatter,this.table.options.dataTree&&this.config.dataTree!==!1&&this.table.modExists("columnCalcs")&&(t.treeElementField=this.table.modules.dataTree.elementField),t.groupHeader=this.table.options["groupHeader"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t.groupHeader&&!Array.isArray(t.groupHeader)&&(t.groupHeader=[t.groupHeader]),r.classList.add("tabulator-print-table"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),S,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),e.forEach((d,g)=>{let i;switch(d.type){case"header":S.appendChild(this.generateHeaderElement(d,t,x));break;case"group":D.appendChild(this.generateGroupElement(d,t,x));break;case"calc":D.appendChild(this.generateCalcElement(d,t,x));break;case"row":i=this.generateRowElement(d,t,x),this.mapElementStyles(g%2&&x.evenRow?x.evenRow:x.oddRow,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D.appendChild(i);break}}),S.innerHTML&&r.appendChild(S),r.appendChild(D),this.mapElementStyles(this.table.element,r,["border-top","border-left","border-right","border-bottom"]),r}lookupTableStyles(){var e={};return this.cloneTableStyle&&window.getComputedStyle&&(e.oddRow=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),e.evenRow=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),e.calcRow=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),e.firstRow=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),e.firstGroup=this.table.element.getElementsByClassName("tabulator-group")[0],e.firstRow&&(e.styleCells=e.firstRow.getElementsByClassName("tabulator-cell"),e.firstCell=e.styleCells[0],e.lastCell=e.styleCells[e.styleCells.length-1])),e}generateHeaderElement(e,r,S){var D=document.createElement("tr");return e.columns.forEach(x=>{if(x){var o=document.createElement("th"),t=x.component._column.definition.cssClass?x.component._column.definition.cssClass.split(" "):[];o.colSpan=x.width,o.rowSpan=x.height,o.innerHTML=x.value,this.cloneTableStyle&&(o.style.boxSizing="border-box"),t.forEach(function(d){o.classList.add(d)}),this.mapElementStyles(x.component.getElement(),o,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),this.mapElementStyles(x.component._column.contentElement,o,["padding-top","padding-left","padding-right","padding-bottom"]),x.component._column.visible?this.mapElementStyles(x.component.getElement(),o,["width"]):x.component._column.definition.width&&(o.style.width=x.component._column.definition.width+"px"),x.component._column.parent&&this.mapElementStyles(x.component._column.parent.groupElement,o,["border-top"]),D.appendChild(o)}}),D}generateGroupElement(e,r,S){var D=document.createElement("tr"),x=document.createElement("td"),o=e.columns[0];return D.classList.add("tabulator-print-table-row"),r.groupHeader&&r.groupHeader[e.indent]?o.value=r.groupHeader[e.indent](o.value,e.component._group.getRowCount(),e.component._group.getData(),e.component):r.groupHeader!==!1&&(o.value=e.component._group.generator(o.value,e.component._group.getRowCount(),e.component._group.getData(),e.component)),x.colSpan=o.width,x.innerHTML=o.value,D.classList.add("tabulator-print-table-group"),D.classList.add("tabulator-group-level-"+e.indent),o.component.isVisible()&&D.classList.add("tabulator-group-visible"),this.mapElementStyles(S.firstGroup,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),this.mapElementStyles(S.firstGroup,x,["padding-top","padding-left","padding-right","padding-bottom"]),D.appendChild(x),D}generateCalcElement(e,r,S){var D=this.generateRowElement(e,r,S);return D.classList.add("tabulator-print-table-calcs"),this.mapElementStyles(S.calcRow,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D}generateRowElement(e,r,S){var D=document.createElement("tr");if(D.classList.add("tabulator-print-table-row"),e.columns.forEach((x,o)=>{if(x){var t=document.createElement("td"),d=x.component._column,g=this.table.columnManager.findColumnIndex(d),i=x.value,M,v={modules:{},getValue:function(){return i},getField:function(){return d.definition.field},getElement:function(){return t},getType:function(){return"cell"},getColumn:function(){return d.getComponent()},getData:function(){return e.component.getData()},getRow:function(){return e.component},getComponent:function(){return v},column:d},p=d.definition.cssClass?d.definition.cssClass.split(" "):[];if(p.forEach(function(u){t.classList.add(u)}),this.table.modExists("format")&&this.config.formatCells!==!1)i=this.table.modules.format.formatExportValue(v,this.colVisProp);else switch(typeof i){case"object":i=i!==null?JSON.stringify(i):"";break;case"undefined":i="";break}i instanceof Node?t.appendChild(i):t.innerHTML=i,M=S.styleCells&&S.styleCells[g]?S.styleCells[g]:S.firstCell,M&&(this.mapElementStyles(M,t,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","text-align"]),d.definition.align&&(t.style.textAlign=d.definition.align)),this.table.options.dataTree&&this.config.dataTree!==!1&&(r.treeElementField&&r.treeElementField==d.field||!r.treeElementField&&o==0)&&(e.component._row.modules.dataTree.controlEl&&t.insertBefore(e.component._row.modules.dataTree.controlEl.cloneNode(!0),t.firstChild),e.component._row.modules.dataTree.branchEl&&t.insertBefore(e.component._row.modules.dataTree.branchEl.cloneNode(!0),t.firstChild)),D.appendChild(t),v.modules.format&&v.modules.format.renderedCallback&&v.modules.format.renderedCallback()}}),r.rowFormatter&&e.type==="row"&&this.config.formatCells!==!1){let x=Object.assign(e.component);x.getElement=function(){return D},r.rowFormatter(e.component)}return D}generateHTMLTable(e){var r=document.createElement("div");return r.appendChild(this.generateTableElement(e)),r.innerHTML}getHtml(e,r,S,D){var x=this.generateExportList(S||this.table.options.htmlOutputConfig,r,e,D||"htmlOutput");return this.generateHTMLTable(x)}mapElementStyles(e,r,S){if(this.cloneTableStyle&&e&&r){var D={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var x=window.getComputedStyle(e);S.forEach(function(o){r.style[D[o]]||(r.style[D[o]]=x.getPropertyValue(o))})}}}}xM.moduleName="export";var CR={"=":function(n,e,r,S){return e==n},"<":function(n,e,r,S){return e":function(n,e,r,S){return e>n},">=":function(n,e,r,S){return e>=n},"!=":function(n,e,r,S){return e!=n},regex:function(n,e,r,S){return typeof n=="string"&&(n=new RegExp(n)),n.test(e)},like:function(n,e,r,S){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().indexOf(n.toLowerCase())>-1:!1},keywords:function(n,e,r,S){var D=n.toLowerCase().split(typeof S.separator>"u"?" ":S.separator),x=String(e===null||typeof e>"u"?"":e).toLowerCase(),o=[];return D.forEach(t=>{x.includes(t)&&o.push(!0)}),S.matchAll?o.length===D.length:!!o.length},starts:function(n,e,r,S){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().startsWith(n.toLowerCase()):!1},ends:function(n,e,r,S){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().endsWith(n.toLowerCase()):!1},in:function(n,e,r,S){return Array.isArray(n)?n.length?n.indexOf(e)>-1:!0:(console.warn("Filter Error - filter value is not an array:",n),!1)}};class jf extends Xi{constructor(e){super(e),this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck="",this.prevHeaderFilterChangeCheck="{}",this.changed=!1,this.tableInitialized=!1,this.registerTableOption("filterMode","local"),this.registerTableOption("initialFilter",!1),this.registerTableOption("initialHeaderFilter",!1),this.registerTableOption("headerFilterLiveFilterDelay",300),this.registerTableOption("placeholderHeaderFilter",!1),this.registerColumnOption("headerFilter"),this.registerColumnOption("headerFilterPlaceholder"),this.registerColumnOption("headerFilterParams"),this.registerColumnOption("headerFilterEmptyCheck"),this.registerColumnOption("headerFilterFunc"),this.registerColumnOption("headerFilterFuncParams"),this.registerColumnOption("headerFilterLiveFilter"),this.registerTableFunction("searchRows",this.searchRows.bind(this)),this.registerTableFunction("searchData",this.searchData.bind(this)),this.registerTableFunction("setFilter",this.userSetFilter.bind(this)),this.registerTableFunction("refreshFilter",this.userRefreshFilter.bind(this)),this.registerTableFunction("addFilter",this.userAddFilter.bind(this)),this.registerTableFunction("getFilters",this.getFilters.bind(this)),this.registerTableFunction("setHeaderFilterFocus",this.userSetHeaderFilterFocus.bind(this)),this.registerTableFunction("getHeaderFilterValue",this.userGetHeaderFilterValue.bind(this)),this.registerTableFunction("setHeaderFilterValue",this.userSetHeaderFilterValue.bind(this)),this.registerTableFunction("getHeaderFilters",this.getHeaderFilters.bind(this)),this.registerTableFunction("removeFilter",this.userRemoveFilter.bind(this)),this.registerTableFunction("clearFilter",this.userClearFilter.bind(this)),this.registerTableFunction("clearHeaderFilter",this.userClearHeaderFilter.bind(this)),this.registerComponentFunction("column","headerFilterFocus",this.setHeaderFilterFocus.bind(this)),this.registerComponentFunction("column","reloadHeaderFilter",this.reloadHeaderFilter.bind(this)),this.registerComponentFunction("column","getHeaderFilterValue",this.getHeaderFilterValue.bind(this)),this.registerComponentFunction("column","setHeaderFilterValue",this.setHeaderFilterValue.bind(this))}initialize(){this.subscribe("column-init",this.initializeColumnHeaderFilter.bind(this)),this.subscribe("column-width-fit-before",this.hideHeaderFilterElements.bind(this)),this.subscribe("column-width-fit-after",this.showHeaderFilterElements.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.subscribe("placeholder",this.generatePlaceholder.bind(this)),this.table.options.filterMode==="remote"&&this.subscribe("data-params",this.remoteFilterParams.bind(this)),this.registerDataHandler(this.filter.bind(this),10)}tableBuilt(){this.table.options.initialFilter&&this.setFilter(this.table.options.initialFilter),this.table.options.initialHeaderFilter&&this.table.options.initialHeaderFilter.forEach(e=>{var r=this.table.columnManager.findColumn(e.field);if(r)this.setHeaderFilterValue(r,e.value);else return console.warn("Column Filter Error - No matching column found:",e.field),!1}),this.tableInitialized=!0}remoteFilterParams(e,r,S,D){return D.filter=this.getFilters(!0,!0),D}generatePlaceholder(e){if(this.table.options.placeholderHeaderFilter&&Object.keys(this.headerFilters).length)return this.table.options.placeholderHeaderFilter}userSetFilter(e,r,S,D){this.setFilter(e,r,S,D),this.refreshFilter()}userRefreshFilter(){this.refreshFilter()}userAddFilter(e,r,S,D){this.addFilter(e,r,S,D),this.refreshFilter()}userSetHeaderFilterFocus(e){var r=this.table.columnManager.findColumn(e);if(r)this.setHeaderFilterFocus(r);else return console.warn("Column Filter Focus Error - No matching column found:",e),!1}userGetHeaderFilterValue(e){var r=this.table.columnManager.findColumn(e);if(r)return this.getHeaderFilterValue(r);console.warn("Column Filter Error - No matching column found:",e)}userSetHeaderFilterValue(e,r){var S=this.table.columnManager.findColumn(e);if(S)this.setHeaderFilterValue(S,r);else return console.warn("Column Filter Error - No matching column found:",e),!1}userRemoveFilter(e,r,S){this.removeFilter(e,r,S),this.refreshFilter()}userClearFilter(e){this.clearFilter(e),this.refreshFilter()}userClearHeaderFilter(){this.clearHeaderFilter(),this.refreshFilter()}searchRows(e,r,S){return this.search("rows",e,r,S)}searchData(e,r,S){return this.search("data",e,r,S)}initializeColumnHeaderFilter(e){var r=e.definition;r.headerFilter&&this.initializeColumn(e)}initializeColumn(e,r){var S=this,D=e.getField();function x(o){var t=e.modules.filter.tagType=="input"&&e.modules.filter.attrType=="text"||e.modules.filter.tagType=="textarea"?"partial":"match",d="",g="",i;if(typeof e.modules.filter.prevSuccess>"u"||e.modules.filter.prevSuccess!==o){if(e.modules.filter.prevSuccess=o,e.modules.filter.emptyFunc(o))delete S.headerFilters[D];else{switch(e.modules.filter.value=o,typeof e.definition.headerFilterFunc){case"string":jf.filters[e.definition.headerFilterFunc]?(d=e.definition.headerFilterFunc,i=function(M){var v=e.definition.headerFilterFuncParams||{},p=e.getFieldValue(M);return v=typeof v=="function"?v(o,p,M):v,jf.filters[e.definition.headerFilterFunc](o,p,M,v)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":i=function(M){var v=e.definition.headerFilterFuncParams||{},p=e.getFieldValue(M);return v=typeof v=="function"?v(o,p,M):v,e.definition.headerFilterFunc(o,p,M,v)},d=i;break}if(!i)switch(t){case"partial":i=function(M){var v=e.getFieldValue(M);return typeof v<"u"&&v!==null?String(v).toLowerCase().indexOf(String(o).toLowerCase())>-1:!1},d="like";break;default:i=function(M){return e.getFieldValue(M)==o},d="="}S.headerFilters[D]={value:o,func:i,type:d}}e.modules.filter.value=o,g=JSON.stringify(S.headerFilters),S.prevHeaderFilterChangeCheck!==g&&(S.prevHeaderFilterChangeCheck=g,S.trackChanges(),S.refreshFilter())}return!0}e.modules.filter={success:x,attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)}generateHeaderFilterElement(e,r,S){var D=this,x=e.modules.filter.success,o=e.getField(),t,d,g,i,M,v,p,u;e.modules.filter.value=r;function a(){}function c(s){u=s}if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode&&e.contentElement.removeChild(e.modules.filter.headerElement.parentNode),o){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(s){return!s&&s!==0},t=document.createElement("div"),t.classList.add("tabulator-header-filter"),typeof e.definition.headerFilter){case"string":D.table.modules.edit.editors[e.definition.headerFilter]?(d=D.table.modules.edit.editors[e.definition.headerFilter],(e.definition.headerFilter==="tick"||e.definition.headerFilter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(s){return s!==!0&&s!==!1})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":d=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?d=e.modules.edit.editor:e.definition.formatter&&D.table.modules.edit.editors[e.definition.formatter]?(d=D.table.modules.edit.editors[e.definition.formatter],(e.definition.formatter==="tick"||e.definition.formatter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(s){return s!==!0&&s!==!1})):d=D.table.modules.edit.editors.input;break}if(d){if(i={getValue:function(){return typeof r<"u"?r:""},getField:function(){return e.definition.field},getElement:function(){return t},getColumn:function(){return e.getComponent()},getTable:()=>this.table,getType:()=>"header",getRow:function(){return{normalizeHeight:function(){}}}},p=e.definition.headerFilterParams||{},p=typeof p=="function"?p.call(D.table,i):p,g=d.call(this.table.modules.edit,i,c,x,a,p),!g){console.warn("Filter Error - Cannot add filter to "+o+" column, editor returned a value of false");return}if(!(g instanceof Node)){console.warn("Filter Error - Cannot add filter to "+o+" column, editor should return an instance of Node, the editor returned:",g);return}D.langBind("headerFilters|columns|"+e.definition.field,function(s){g.setAttribute("placeholder",typeof s<"u"&&s?s:e.definition.headerFilterPlaceholder||D.langText("headerFilters|default"))}),g.addEventListener("click",function(s){s.stopPropagation(),g.focus()}),g.addEventListener("focus",s=>{var l=this.table.columnManager.contentsElement.scrollLeft,h=this.table.rowManager.element.scrollLeft;l!==h&&(this.table.rowManager.scrollHorizontal(l),this.table.columnManager.scrollHorizontal(l))}),M=!1,v=function(s){M&&clearTimeout(M),M=setTimeout(function(){x(g.value)},D.table.options.headerFilterLiveFilterDelay)},e.modules.filter.headerElement=g,e.modules.filter.attrType=g.hasAttribute("type")?g.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=g.tagName.toLowerCase(),e.definition.headerFilterLiveFilter!==!1&&(e.definition.headerFilter==="autocomplete"||e.definition.headerFilter==="tickCross"||(e.definition.editor==="autocomplete"||e.definition.editor==="tickCross")&&e.definition.headerFilter===!0||(g.addEventListener("keyup",v),g.addEventListener("search",v),e.modules.filter.attrType=="number"&&g.addEventListener("change",function(s){x(g.value)}),e.modules.filter.attrType=="text"&&this.table.browser!=="ie"&&g.setAttribute("type","search")),(e.modules.filter.tagType=="input"||e.modules.filter.tagType=="select"||e.modules.filter.tagType=="textarea")&&g.addEventListener("mousedown",function(s){s.stopPropagation()})),t.appendChild(g),e.contentElement.appendChild(t),S||D.headerFilterColumns.push(e),u&&u()}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)}hideHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="none")})}showHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="")})}setHeaderFilterFocus(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())}getHeaderFilterValue(e){if(e.modules.filter&&e.modules.filter.headerElement)return e.modules.filter.value;console.warn("Column Filter Error - No header filter set on column:",e.getField())}setHeaderFilterValue(e,r){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,r,!0),e.modules.filter.success(r)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}reloadHeaderFilter(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value,!0):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}refreshFilter(){this.tableInitialized&&(this.table.options.filterMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0))}trackChanges(){this.changed=!0,this.dispatch("filter-changed")}hasChanged(){var e=this.changed;return this.changed=!1,e}setFilter(e,r,S,D){this.filterList=[],Array.isArray(e)||(e=[{field:e,type:r,value:S,params:D}]),this.addFilter(e)}addFilter(e,r,S,D){var x=!1;Array.isArray(e)||(e=[{field:e,type:r,value:S,params:D}]),e.forEach(o=>{o=this.findFilter(o),o&&(this.filterList.push(o),x=!0)}),x&&this.trackChanges()}findFilter(e){var r;if(Array.isArray(e))return this.findSubFilters(e);var S=!1;return typeof e.field=="function"?S=function(D){return e.field(D,e.type||{})}:jf.filters[e.type]?(r=this.table.columnManager.getColumnByField(e.field),r?S=function(D){return jf.filters[e.type](e.value,r.getFieldValue(D),D,e.params||{})}:S=function(D){return jf.filters[e.type](e.value,D[e.field],D,e.params||{})}):console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=S,e.func?e:!1}findSubFilters(e){var r=[];return e.forEach(S=>{S=this.findFilter(S),S&&r.push(S)}),r.length?r:!1}getFilters(e,r){var S=[];return e&&(S=this.getHeaderFilters()),r&&S.forEach(function(D){typeof D.type=="function"&&(D.type="function")}),S=S.concat(this.filtersToArray(this.filterList,r)),S}filtersToArray(e,r){var S=[];return e.forEach(D=>{var x;Array.isArray(D)?S.push(this.filtersToArray(D,r)):(x={field:D.field,type:D.type,value:D.value},r&&typeof x.type=="function"&&(x.type="function"),S.push(x))}),S}getHeaderFilters(){var e=[];for(var r in this.headerFilters)e.push({field:r,type:this.headerFilters[r].type,value:this.headerFilters[r].value});return e}removeFilter(e,r,S){Array.isArray(e)||(e=[{field:e,type:r,value:S}]),e.forEach(D=>{var x=-1;typeof D.field=="object"?x=this.filterList.findIndex(o=>D===o):x=this.filterList.findIndex(o=>D.field===o.field&&D.type===o.type&&D.value===o.value),x>-1?this.filterList.splice(x,1):console.warn("Filter Error - No matching filter type found, ignoring: ",D.type)}),this.trackChanges()}clearFilter(e){this.filterList=[],e&&this.clearHeaderFilter(),this.trackChanges()}clearHeaderFilter(){this.headerFilters={},this.prevHeaderFilterChangeCheck="{}",this.headerFilterColumns.forEach(e=>{typeof e.modules.filter.value<"u"&&delete e.modules.filter.value,e.modules.filter.prevSuccess=void 0,this.reloadHeaderFilter(e)}),this.trackChanges()}search(e,r,S,D){var x=[],o=[];return Array.isArray(r)||(r=[{field:r,type:S,value:D}]),r.forEach(t=>{t=this.findFilter(t),t&&o.push(t)}),this.table.rowManager.rows.forEach(t=>{var d=!0;o.forEach(g=>{this.filterRecurse(g,t.getData())||(d=!1)}),d&&x.push(e==="data"?t.getData("data"):t.getComponent())}),x}filter(e,r){var S=[],D=[];return this.subscribedExternal("dataFiltering")&&this.dispatchExternal("dataFiltering",this.getFilters(!0)),this.table.options.filterMode!=="remote"&&(this.filterList.length||Object.keys(this.headerFilters).length)?e.forEach(x=>{this.filterRow(x)&&S.push(x)}):S=e.slice(0),this.subscribedExternal("dataFiltered")&&(S.forEach(x=>{D.push(x.getComponent())}),this.dispatchExternal("dataFiltered",this.getFilters(!0),D)),S}filterRow(e,r){var S=!0,D=e.getData();this.filterList.forEach(o=>{this.filterRecurse(o,D)||(S=!1)});for(var x in this.headerFilters)this.headerFilters[x].func(D)||(S=!1);return S}filterRecurse(e,r){var S=!1;return Array.isArray(e)?e.forEach(D=>{this.filterRecurse(D,r)&&(S=!0)}):S=e.func(r),S}}jf.moduleName="filter";jf.filters=CR;function ER(n,e,r){return this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function LR(n,e,r){return n.getValue()}function IR(n,e,r){return n.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function OR(n,e,r){var S=parseFloat(n.getValue()),D="",x,o,t,d,g,i=e.decimal||".",M=e.thousand||",",v=e.negativeSign||"-",p=e.symbol||"",u=!!e.symbolAfter,a=typeof e.precision<"u"?e.precision:2;if(isNaN(S))return this.emptyToSpace(this.sanitizeHTML(n.getValue()));if(S<0&&(S=Math.abs(S),D=v),x=a!==!1?S.toFixed(a):S,x=String(x).split("."),o=x[0],t=x.length>1?i+x[1]:"",e.thousand!==!1)for(d=/(\d+)(\d{3})/;d.test(o);)o=o.replace(d,"$1"+M+"$2");return g=o+t,D===!0?(g="("+g+")",u?g+p:p+g):u?D+g+p:D+p+g}function PR(n,e,r){var S=n.getValue(),D=e.urlPrefix||"",x=e.download,o=S,t=document.createElement("a"),d;function g(i,M){var v=i.shift(),p=M[v];return i.length&&typeof p=="object"?g(i,p):p}if(e.labelField&&(d=n.getData(),o=g(e.labelField.split(this.table.options.nestedFieldSeparator),d)),e.label)switch(typeof e.label){case"string":o=e.label;break;case"function":o=e.label(n);break}if(o){if(e.urlField&&(d=n.getData(),S=d[e.urlField]),e.url)switch(typeof e.url){case"string":S=e.url;break;case"function":S=e.url(n);break}return t.setAttribute("href",D+S),e.target&&t.setAttribute("target",e.target),e.download&&(typeof x=="function"?x=x(n):x=x===!0?"":x,t.setAttribute("download",x)),t.innerHTML=this.emptyToSpace(this.sanitizeHTML(o)),t}else return" "}function DR(n,e,r){var S=document.createElement("img"),D=n.getValue();switch(e.urlPrefix&&(D=e.urlPrefix+n.getValue()),e.urlSuffix&&(D=D+e.urlSuffix),S.setAttribute("src",D),typeof e.height){case"number":S.style.height=e.height+"px";break;case"string":S.style.height=e.height;break}switch(typeof e.width){case"number":S.style.width=e.width+"px";break;case"string":S.style.width=e.width;break}return S.addEventListener("load",function(){n.getRow().normalizeHeight()}),S}function RR(n,e,r){var S=n.getValue(),D=n.getElement(),x=e.allowEmpty,o=e.allowTruthy,t=Object.keys(e).includes("trueValue"),d=typeof e.tickElement<"u"?e.tickElement:'',g=typeof e.crossElement<"u"?e.crossElement:'';return t&&S===e.trueValue||!t&&(o&&S||S===!0||S==="true"||S==="True"||S===1||S==="1")?(D.setAttribute("aria-checked",!0),d||""):x&&(S==="null"||S===""||S===null||typeof S>"u")?(D.setAttribute("aria-checked","mixed"),""):(D.setAttribute("aria-checked",!1),g||"")}function zR(n,e,r){var S=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",x=e.outputFormat||"dd/MM/yyyy HH:mm:ss",o=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",t=n.getValue();if(typeof S<"u"){var d;return S.isDateTime(t)?d=t:D==="iso"?d=S.fromISO(String(t)):d=S.fromFormat(String(t),D),d.isValid?(e.timezone&&(d=d.setZone(e.timezone)),d.toFormat(x)):o===!0||!t?t:typeof o=="function"?o(t):o}else console.error("Format Error - 'datetime' formatter is dependant on luxon.js")}function FR(n,e,r){var S=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",x=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",o=typeof e.suffix<"u"?e.suffix:!1,t=typeof e.unit<"u"?e.unit:"days",d=typeof e.humanize<"u"?e.humanize:!1,g=typeof e.date<"u"?e.date:S.now(),i=n.getValue();if(typeof S<"u"){var M;return S.isDateTime(i)?M=i:D==="iso"?M=S.fromISO(String(i)):M=S.fromFormat(String(i),D),M.isValid?d?M.diff(g,t).toHuman()+(o?" "+o:""):parseInt(M.diff(g,t)[t])+(o?" "+o:""):x===!0?i:typeof x=="function"?x(i):x}else console.error("Format Error - 'datetimediff' formatter is dependant on luxon.js")}function BR(n,e,r){var S=n.getValue();return typeof e[S]>"u"?(console.warn("Missing display value for "+S),S):e[S]}function NR(n,e,r){var S=n.getValue(),D=n.getElement(),x=e&&e.stars?e.stars:5,o=document.createElement("span"),t=document.createElementNS("http://www.w3.org/2000/svg","svg"),d='',g='';o.style.verticalAlign="middle",t.setAttribute("width","14"),t.setAttribute("height","14"),t.setAttribute("viewBox","0 0 512 512"),t.setAttribute("xml:space","preserve"),t.style.padding="0 1px",S=S&&!isNaN(S)?parseInt(S):0,S=Math.max(0,Math.min(S,x));for(var i=1;i<=x;i++){var M=t.cloneNode(!0);M.innerHTML=i<=S?d:g,o.appendChild(M)}return D.style.whiteSpace="nowrap",D.style.overflow="hidden",D.style.textOverflow="ellipsis",D.setAttribute("aria-label",S),o}function VR(n,e,r){var S=this.sanitizeHTML(n.getValue())||0,D=document.createElement("span"),x=e&&e.max?e.max:100,o=e&&e.min?e.min:0,t=e&&typeof e.color<"u"?e.color:["red","orange","green"],d="#666666",g,i;if(!(isNaN(S)||typeof n.getValue()>"u")){switch(D.classList.add("tabulator-traffic-light"),i=parseFloat(S)<=x?parseFloat(S):x,i=parseFloat(i)>=o?parseFloat(i):o,g=(x-o)/100,i=Math.round((i-o)/g),typeof t){case"string":d=t;break;case"function":d=t(S);break;case"object":if(Array.isArray(t)){var M=100/t.length,v=Math.floor(i/M);v=Math.min(v,t.length-1),v=Math.max(v,0),d=t[v];break}}return D.style.backgroundColor=d,D}}function jR(n,e={},r){var S=this.sanitizeHTML(n.getValue())||0,D=n.getElement(),x=e.max?e.max:100,o=e.min?e.min:0,t=e.legendAlign?e.legendAlign:"center",d,g,i,M,v;switch(g=parseFloat(S)<=x?parseFloat(S):x,g=parseFloat(g)>=o?parseFloat(g):o,d=(x-o)/100,g=Math.round((g-o)/d),typeof e.color){case"string":i=e.color;break;case"function":i=e.color(S);break;case"object":if(Array.isArray(e.color)){let c=100/e.color.length,s=Math.floor(g/c);s=Math.min(s,e.color.length-1),s=Math.max(s,0),i=e.color[s];break}default:i="#2DC214"}switch(typeof e.legend){case"string":M=e.legend;break;case"function":M=e.legend(S);break;case"boolean":M=S;break;default:M=!1}switch(typeof e.legendColor){case"string":v=e.legendColor;break;case"function":v=e.legendColor(S);break;case"object":if(Array.isArray(e.legendColor)){let c=100/e.legendColor.length,s=Math.floor(g/c);s=Math.min(s,e.legendColor.length-1),s=Math.max(s,0),v=e.legendColor[s]}break;default:v="#000"}D.style.minWidth="30px",D.style.position="relative",D.setAttribute("aria-label",g);var p=document.createElement("div");p.style.display="inline-block",p.style.width=g+"%",p.style.backgroundColor=i,p.style.height="100%",p.setAttribute("data-max",x),p.setAttribute("data-min",o);var u=document.createElement("div");if(u.style.position="relative",u.style.width="100%",u.style.height="100%",M){var a=document.createElement("div");a.style.position="absolute",a.style.top=0,a.style.left=0,a.style.textAlign=t,a.style.width="100%",a.style.color=v,a.innerHTML=M}return r(function(){if(!(n instanceof gM)){var c=document.createElement("div");c.style.position="absolute",c.style.top="4px",c.style.bottom="4px",c.style.left="4px",c.style.right="4px",D.appendChild(c),D=c}D.appendChild(u),u.appendChild(p),M&&u.appendChild(a)}),""}function UR(n,e,r){return n.getElement().style.backgroundColor=this.sanitizeHTML(n.getValue()),""}function HR(n,e,r){return''}function GR(n,e,r){return''}function WR(n,e,r){var S=document.createElement("span"),D=n.getRow();return D.watchPosition(x=>{S.innerText=x}),S}function qR(n,e,r){return n.getElement().classList.add("tabulator-row-handle"),"
"}function $R(n,e,r){var S=document.createElement("div"),D=n.getRow()._row.modules.responsiveLayout;S.classList.add("tabulator-responsive-collapse-toggle"),S.innerHTML=` +`)):H=N.stylize("[Circular]","special")),w(W)){if(G&&U.match(/^\d+$/))return H;(W=JSON.stringify(""+U)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(W=W.slice(1,-1),W=N.stylize(W,"name")):(W=W.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),W=N.stylize(W,"string"))}return W+": "+H}function f(N){return Array.isArray(N)}function m(N){return typeof N=="boolean"}function _(N){return N===null}function y(N){return typeof N=="number"}function C(N){return typeof N=="string"}function w(N){return N===void 0}function k(N){return E(N)&&b(N)==="[object RegExp]"}function E(N){return typeof N=="object"&&N!==null}function T(N){return E(N)&&b(N)==="[object Date]"}function A(N){return E(N)&&(b(N)==="[object Error]"||N instanceof Error)}function L(N){return typeof N=="function"}function b(N){return Object.prototype.toString.call(N)}function O(N){return N<10?"0"+N.toString(10):N.toString(10)}o.debuglog=function(N){if(N=N.toUpperCase(),!M[N])if(g.test(N)){var q=d.pid;M[N]=function(){var j=o.format.apply(o,arguments);console.error("%s %d: %s",N,q,j)}}else M[N]=function(){};return M[N]},o.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"},o.types=t(4936),o.isArray=f,o.isBoolean=m,o.isNull=_,o.isNullOrUndefined=function(N){return N==null},o.isNumber=y,o.isString=C,o.isSymbol=function(N){return typeof N=="symbol"},o.isUndefined=w,o.isRegExp=k,o.types.isRegExp=k,o.isObject=E,o.isDate=T,o.types.isDate=T,o.isError=A,o.types.isNativeError=A,o.isFunction=L,o.isPrimitive=function(N){return N===null||typeof N=="boolean"||typeof N=="number"||typeof N=="string"||typeof N=="symbol"||N===void 0},o.isBuffer=t(45920);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function R(){var N=new Date,q=[O(N.getHours()),O(N.getMinutes()),O(N.getSeconds())].join(":");return[N.getDate(),I[N.getMonth()],q].join(" ")}function z(N,q){return Object.prototype.hasOwnProperty.call(N,q)}o.log=function(){console.log("%s - %s",R(),o.format.apply(o,arguments))},o.inherits=t(42018),o._extend=function(N,q){if(!q||!E(q))return N;for(var j=Object.keys(q),Y=j.length;Y--;)N[j[Y]]=q[j[Y]];return N};var F=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function B(N,q){if(!N){var j=new Error("Promise was rejected with a falsy value");j.reason=N,N=j}return q(N)}o.promisify=function(N){if(typeof N!="function")throw new TypeError('The "original" argument must be of type Function');if(F&&N[F]){var q;if(typeof(q=N[F])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(q,F,{value:q,enumerable:!1,writable:!1,configurable:!0}),q}function q(){for(var j,Y,U=new Promise(function(H,ne){j=H,Y=ne}),G=[],W=0;W"u"?t.g:globalThis,a=v(),c=i("String.prototype.slice"),s={},l=Object.getPrototypeOf;p&&M&&l&&d(a,function(f){if(typeof u[f]=="function"){var m=new u[f];if(Symbol.toStringTag in m){var _=l(m),y=M(_,Symbol.toStringTag);if(!y){var C=l(_);y=M(C,Symbol.toStringTag)}s[f]=y.get}}});var h=t(9187);x.exports=function(f){return!!h(f)&&(p&&Symbol.toStringTag in f?function(m){var _=!1;return d(s,function(y,C){if(!_)try{var w=y.call(m);w===C&&(_=w)}catch{}}),_}(f):c(g(f),8,-1))}},3961:function(x,o,t){var d=t(63489),v=t(56131),i=d.instance();function M(l){this.local=this.regionalOptions[l||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,v(M.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(l,h){if(typeof l=="string"){var f=l.match(p);return f?f[0]:""}var m=this._validateYear(l),_=l.month(),y=""+this.toChineseMonth(m,_);return h&&y.length<2&&(y="0"+y),this.isIntercalaryMonth(m,_)&&(y+="i"),y},monthNames:function(l){if(typeof l=="string"){var h=l.match(u);return h?h[0]:""}var f=this._validateYear(l),m=l.month(),_=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][this.toChineseMonth(f,m)-1];return this.isIntercalaryMonth(f,m)&&(_="闰"+_),_},monthNamesShort:function(l){if(typeof l=="string"){var h=l.match(a);return h?h[0]:""}var f=this._validateYear(l),m=l.month(),_=["一","二","三","四","五","六","七","八","九","十","十一","十二"][this.toChineseMonth(f,m)-1];return this.isIntercalaryMonth(f,m)&&(_="闰"+_),_},parseMonth:function(l,h){l=this._validateYear(l);var f,m=parseInt(h);if(isNaN(m))h[0]==="闰"&&(f=!0,h=h.substring(1)),h[h.length-1]==="月"&&(h=h.substring(0,h.length-1)),m=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(h);else{var _=h[h.length-1];f=_==="i"||_==="I"}return this.toMonthIndex(l,m,f)},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(l,h){if(l.year&&(l=l.year()),typeof l!="number"||l<1888||l>2111)throw h.replace(/\{0\}/,this.local.name);return l},toMonthIndex:function(l,h,f){var m=this.intercalaryMonth(l);if(f&&h!==m||h<1||h>12)throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return m?!f&&h<=m?h-1:h:h-1},toChineseMonth:function(l,h){l.year&&(h=(l=l.year()).month());var f=this.intercalaryMonth(l);if(h<0||h>(f?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return f?h>13},isIntercalaryMonth:function(l,h){l.year&&(h=(l=l.year()).month());var f=this.intercalaryMonth(l);return!!f&&f===h},leapYear:function(l){return this.intercalaryMonth(l)!==0},weekOfYear:function(l,h,f){var m,_=this._validateYear(l,d.local.invalidyear),y=s[_-s[0]],C=y>>9&4095,w=y>>5&15,k=31&y;(m=i.newDate(C,w,k)).add(4-(m.dayOfWeek()||7),"d");var E=this.toJD(l,h,f)-m.toJD();return 1+Math.floor(E/7)},monthsInYear:function(l){return this.leapYear(l)?13:12},daysInMonth:function(l,h){l.year&&(h=l.month(),l=l.year()),l=this._validateYear(l);var f=c[l-c[0]];if(h>(f>>13?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return f&1<<12-h?30:29},weekDay:function(l,h,f){return(this.dayOfWeek(l,h,f)||7)<6},toJD:function(l,h,f){var m=this._validate(l,y,f,d.local.invalidDate);l=this._validateYear(m.year()),h=m.month(),f=m.day();var _=this.isIntercalaryMonth(l,h),y=this.toChineseMonth(l,h),C=function(w,k,E,T,A){var L,b,O;if(typeof w=="object")b=w,L=k||{};else{var I;if(!(typeof w=="number"&&w>=1888&&w<=2111))throw new Error("Lunar year outside range 1888-2111");if(!(typeof k=="number"&&k>=1&&k<=12))throw new Error("Lunar month outside range 1 - 12");if(!(typeof E=="number"&&E>=1&&E<=30))throw new Error("Lunar day outside range 1 - 30");typeof T=="object"?(I=!1,L=T):(I=!!T,L={}),b={year:w,month:k,day:E,isIntercalary:I}}O=b.day-1;var R,z=c[b.year-c[0]],F=z>>13;R=F&&(b.month>F||b.isIntercalary)?b.month:b.month-1;for(var B=0;B>9&4095,(N>>5&15)-1,(31&N)+O);return L.year=q.getFullYear(),L.month=1+q.getMonth(),L.day=q.getDate(),L}(l,y,f,_);return i.toJD(C.year,C.month,C.day)},fromJD:function(l){var h=i.fromJD(l),f=function(_,y,C,w){var k,E;if(typeof _=="object")k=_,E=y||{};else{if(!(typeof _=="number"&&_>=1888&&_<=2111))throw new Error("Solar year outside range 1888-2111");if(!(typeof y=="number"&&y>=1&&y<=12))throw new Error("Solar month outside range 1 - 12");if(!(typeof C=="number"&&C>=1&&C<=31))throw new Error("Solar day outside range 1 - 31");k={year:_,month:y,day:C},E={}}var T=s[k.year-s[0]],A=k.year<<9|k.month<<5|k.day;E.year=A>=T?k.year:k.year-1,T=s[E.year-s[0]];var L,b=new Date(T>>9&4095,(T>>5&15)-1,31&T),O=new Date(k.year,k.month-1,k.day);L=Math.round((O-b)/864e5);var I,R=c[E.year-c[0]];for(I=0;I<13;I++){var z=R&1<<12-I?30:29;if(L>13;return!F||I=2&&a<=6},extraInfo:function(g,p,u){var a=this._validate(g,p,u,d.local.invalidDate);return{century:M[Math.floor((a.year()-1)/100)+1]||""}},toJD:function(g,p,u){var a=this._validate(g,p,u,d.local.invalidDate);return g=a.year()+(a.year()<0?1:0),p=a.month(),(u=a.day())+(p>1?16:0)+(p>2?32*(p-2):0)+400*(g-1)+this.jdEpoch-1},fromJD:function(g){g=Math.floor(g+.5)-Math.floor(this.jdEpoch)-1;var p=Math.floor(g/400)+1;g-=400*(p-1),g+=g>15?16:0;var u=Math.floor(g/32)+1,a=g-32*(u-1)+1;return this.newDate(p<=0?p-1:p,u,a)}});var M={20:"Fruitbat",21:"Anchovy"};d.calendars.discworld=i},37715:function(x,o,t){var d=t(63489),v=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,v(i.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,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(M){var g=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=g.year()+(g.year()<0?1:0))%4==3||M%4==-1},monthsInYear:function(M){return this._validate(M,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear),13},weekOfYear:function(M,g,p){var u=this.newDate(M,g,p);return u.add(-u.dayOfWeek(),"d"),Math.floor((u.dayOfYear()-1)/7)+1},daysInMonth:function(M,g){var p=this._validate(M,g,this.minDay,d.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===13&&this.leapYear(p.year())?1:0)},weekDay:function(M,g,p){return(this.dayOfWeek(M,g,p)||7)<6},toJD:function(M,g,p){var u=this._validate(M,g,p,d.local.invalidDate);return(M=u.year())<0&&M++,u.day()+30*(u.month()-1)+365*(M-1)+Math.floor(M/4)+this.jdEpoch-1},fromJD:function(M){var g=Math.floor(M)+.5-this.jdEpoch,p=Math.floor((g-Math.floor((g+366)/1461))/365)+1;p<=0&&p--,g=Math.floor(M)+.5-this.newDate(p,1,1).toJD();var u=Math.floor(g/30)+1,a=g-30*(u-1)+1;return this.newDate(p,u,a)}}),d.calendars.ethiopian=i},99384:function(x,o,t){var d=t(63489),v=t(56131);function i(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}function M(g,p){return g-p*Math.floor(g/p)}i.prototype=new d.baseCalendar,v(i.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(g){var p=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return this._leapYear(p.year())},_leapYear:function(g){return M(7*(g=g<0?g+1:g)+1,19)<7},monthsInYear:function(g){return this._validate(g,this.minMonth,this.minDay,d.local.invalidYear),this._leapYear(g.year?g.year():g)?13:12},weekOfYear:function(g,p,u){var a=this.newDate(g,p,u);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(g){return g=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear).year(),this.toJD(g===-1?1:g+1,7,1)-this.toJD(g,7,1)},daysInMonth:function(g,p){return g.year&&(p=g.month(),g=g.year()),this._validate(g,p,this.minDay,d.local.invalidMonth),p===12&&this.leapYear(g)||p===8&&M(this.daysInYear(g),10)===5?30:p===9&&M(this.daysInYear(g),10)===3?29:this.daysPerMonth[p-1]},weekDay:function(g,p,u){return this.dayOfWeek(g,p,u)!==6},extraInfo:function(g,p,u){var a=this._validate(g,p,u,d.local.invalidDate);return{yearType:(this.leapYear(a)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(a)%10-3]}},toJD:function(g,p,u){var a=this._validate(g,p,u,d.local.invalidDate);g=a.year(),p=a.month(),u=a.day();var c=g<=0?g+1:g,s=this.jdEpoch+this._delay1(c)+this._delay2(c)+u+1;if(p<7){for(var l=7;l<=this.monthsInYear(g);l++)s+=this.daysInMonth(g,l);for(l=1;l=this.toJD(p===-1?1:p+1,7,1);)p++;for(var u=gthis.toJD(p,u,this.daysInMonth(p,u));)u++;var a=g-this.toJD(p,u,1)+1;return this.newDate(p,u,a)}}),d.calendars.hebrew=i},43805:function(x,o,t){var d=t(63489),v=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,v(i.prototype,{name:"Islamic",jdEpoch:19484395e-1,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(M){return(11*this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year()+14)%30<11},weekOfYear:function(M,g,p){var u=this.newDate(M,g,p);return u.add(-u.dayOfWeek(),"d"),Math.floor((u.dayOfYear()-1)/7)+1},daysInYear:function(M){return this.leapYear(M)?355:354},daysInMonth:function(M,g){var p=this._validate(M,g,this.minDay,d.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===12&&this.leapYear(p.year())?1:0)},weekDay:function(M,g,p){return this.dayOfWeek(M,g,p)!==5},toJD:function(M,g,p){var u=this._validate(M,g,p,d.local.invalidDate);return M=u.year(),g=u.month(),M=M<=0?M+1:M,(p=u.day())+Math.ceil(29.5*(g-1))+354*(M-1)+Math.floor((3+11*M)/30)+this.jdEpoch-1},fromJD:function(M){M=Math.floor(M)+.5;var g=Math.floor((30*(M-this.jdEpoch)+10646)/10631);g=g<=0?g-1:g;var p=Math.min(12,Math.ceil((M-29-this.toJD(g,1,1))/29.5)+1),u=M-this.toJD(g,p,1)+1;return this.newDate(g,p,u)}}),d.calendars.islamic=i},88874:function(x,o,t){var d=t(63489),v=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,v(i.prototype,{name:"Julian",jdEpoch:17214235e-1,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(M){var g=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=g.year()<0?g.year()+1:g.year())%4==0},weekOfYear:function(M,g,p){var u=this.newDate(M,g,p);return u.add(4-(u.dayOfWeek()||7),"d"),Math.floor((u.dayOfYear()-1)/7)+1},daysInMonth:function(M,g){var p=this._validate(M,g,this.minDay,d.local.invalidMonth);return this.daysPerMonth[p.month()-1]+(p.month()===2&&this.leapYear(p.year())?1:0)},weekDay:function(M,g,p){return(this.dayOfWeek(M,g,p)||7)<6},toJD:function(M,g,p){var u=this._validate(M,g,p,d.local.invalidDate);return M=u.year(),g=u.month(),p=u.day(),M<0&&M++,g<=2&&(M--,g+=12),Math.floor(365.25*(M+4716))+Math.floor(30.6001*(g+1))+p-1524.5},fromJD:function(M){var g=Math.floor(M+.5)+1524,p=Math.floor((g-122.1)/365.25),u=Math.floor(365.25*p),a=Math.floor((g-u)/30.6001),c=a-Math.floor(a<14?1:13),s=p-Math.floor(c>2?4716:4715),l=g-u-Math.floor(30.6001*a);return s<=0&&s--,this.newDate(s,c,l)}}),d.calendars.julian=i},83290:function(x,o,t){var d=t(63489),v=t(56131);function i(p){this.local=this.regionalOptions[p||""]||this.regionalOptions[""]}function M(p,u){return p-u*Math.floor(p/u)}function g(p,u){return M(p-1,u)+1}i.prototype=new d.baseCalendar,v(i.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(p){return this._validate(p,this.minMonth,this.minDay,d.local.invalidYear),!1},formatYear:function(p){p=this._validate(p,this.minMonth,this.minDay,d.local.invalidYear).year();var u=Math.floor(p/400);return p%=400,p+=p<0?400:0,u+"."+Math.floor(p/20)+"."+p%20},forYear:function(p){if((p=p.split(".")).length<3)throw"Invalid Mayan year";for(var u=0,a=0;a19||a>0&&c<0)throw"Invalid Mayan year";u=20*u+c}return u},monthsInYear:function(p){return this._validate(p,this.minMonth,this.minDay,d.local.invalidYear),18},weekOfYear:function(p,u,a){return this._validate(p,u,a,d.local.invalidDate),0},daysInYear:function(p){return this._validate(p,this.minMonth,this.minDay,d.local.invalidYear),360},daysInMonth:function(p,u){return this._validate(p,u,this.minDay,d.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(p,u,a){return this._validate(p,u,a,d.local.invalidDate).day()},weekDay:function(p,u,a){return this._validate(p,u,a,d.local.invalidDate),!0},extraInfo:function(p,u,a){var c=this._validate(p,u,a,d.local.invalidDate).toJD(),s=this._toHaab(c),l=this._toTzolkin(c);return{haabMonthName:this.local.haabMonths[s[0]-1],haabMonth:s[0],haabDay:s[1],tzolkinDayName:this.local.tzolkinMonths[l[0]-1],tzolkinDay:l[0],tzolkinTrecena:l[1]}},_toHaab:function(p){var u=M(8+(p-=this.jdEpoch)+340,365);return[Math.floor(u/20)+1,M(u,20)]},_toTzolkin:function(p){return[g(20+(p-=this.jdEpoch),20),g(p+4,13)]},toJD:function(p,u,a){var c=this._validate(p,u,a,d.local.invalidDate);return c.day()+20*c.month()+360*c.year()+this.jdEpoch},fromJD:function(p){p=Math.floor(p)+.5-this.jdEpoch;var u=Math.floor(p/360);p%=360,p+=p<0?360:0;var a=Math.floor(p/20),c=p%20;return this.newDate(u,a,c)}}),d.calendars.mayan=i},29108:function(x,o,t){var d=t(63489),v=t(56131);function i(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar;var M=d.instance("gregorian");v(i.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,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(g){var p=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear);return M.leapYear(p.year()+(p.year()<1?1:0)+1469)},weekOfYear:function(g,p,u){var a=this.newDate(g,p,u);return a.add(1-(a.dayOfWeek()||7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(g,p){var u=this._validate(g,p,this.minDay,d.local.invalidMonth);return this.daysPerMonth[u.month()-1]+(u.month()===12&&this.leapYear(u.year())?1:0)},weekDay:function(g,p,u){return(this.dayOfWeek(g,p,u)||7)<6},toJD:function(g,p,u){var a=this._validate(g,p,u,d.local.invalidMonth);(g=a.year())<0&&g++;for(var c=a.day(),s=1;s=this.toJD(p+1,1,1);)p++;for(var u=g-Math.floor(this.toJD(p,1,1)+.5)+1,a=1;u>this.daysInMonth(p,a);)u-=this.daysInMonth(p,a),a++;return this.newDate(p,a,u)}}),d.calendars.nanakshahi=i},55422:function(x,o,t){var d=t(63489),v=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,v(i.prototype,{name:"Nepali",jdEpoch:17007095e-1,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(M){return this.daysInYear(M)!==this.daysPerYear},weekOfYear:function(M,g,p){var u=this.newDate(M,g,p);return u.add(-u.dayOfWeek(),"d"),Math.floor((u.dayOfYear()-1)/7)+1},daysInYear:function(M){if(M=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year(),this.NEPALI_CALENDAR_DATA[M]===void 0)return this.daysPerYear;for(var g=0,p=this.minMonth;p<=12;p++)g+=this.NEPALI_CALENDAR_DATA[M][p];return g},daysInMonth:function(M,g){return M.year&&(g=M.month(),M=M.year()),this._validate(M,g,this.minDay,d.local.invalidMonth),this.NEPALI_CALENDAR_DATA[M]===void 0?this.daysPerMonth[g-1]:this.NEPALI_CALENDAR_DATA[M][g]},weekDay:function(M,g,p){return this.dayOfWeek(M,g,p)!==6},toJD:function(M,g,p){var u=this._validate(M,g,p,d.local.invalidDate);M=u.year(),g=u.month(),p=u.day();var a=d.instance(),c=0,s=g,l=M;this._createMissingCalendarData(M);var h=M-(s>9||s===9&&p>=this.NEPALI_CALENDAR_DATA[l][0]?56:57);for(g!==9&&(c=p,s--);s!==9;)s<=0&&(s=12,l--),c+=this.NEPALI_CALENDAR_DATA[l][s],s--;return g===9?(c+=p-this.NEPALI_CALENDAR_DATA[l][0])<0&&(c+=a.daysInYear(h)):c+=this.NEPALI_CALENDAR_DATA[l][9]-this.NEPALI_CALENDAR_DATA[l][0],a.newDate(h,1,1).add(c,"d").toJD()},fromJD:function(M){var g=d.instance().fromJD(M),p=g.year(),u=g.dayOfYear(),a=p+56;this._createMissingCalendarData(a);for(var c=9,s=this.NEPALI_CALENDAR_DATA[a][0],l=this.NEPALI_CALENDAR_DATA[a][c]-s+1;u>l;)++c>12&&(c=1,a++),l+=this.NEPALI_CALENDAR_DATA[a][c];var h=this.NEPALI_CALENDAR_DATA[a][c]-(l-u);return this.newDate(a,c,h)},_createMissingCalendarData:function(M){var g=this.daysPerMonth.slice(0);g.unshift(17);for(var p=M-1;p0?474:473))%2820+474+38)%2816<682},weekOfYear:function(g,p,u){var a=this.newDate(g,p,u);return a.add(-(a.dayOfWeek()+1)%7,"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(g,p){var u=this._validate(g,p,this.minDay,d.local.invalidMonth);return this.daysPerMonth[u.month()-1]+(u.month()===12&&this.leapYear(u.year())?1:0)},weekDay:function(g,p,u){return this.dayOfWeek(g,p,u)!==5},toJD:function(g,p,u){var a=this._validate(g,p,u,d.local.invalidDate);g=a.year(),p=a.month(),u=a.day();var c=g-(g>=0?474:473),s=474+M(c,2820);return u+(p<=7?31*(p-1):30*(p-1)+6)+Math.floor((682*s-110)/2816)+365*(s-1)+1029983*Math.floor(c/2820)+this.jdEpoch-1},fromJD:function(g){var p=(g=Math.floor(g)+.5)-this.toJD(475,1,1),u=Math.floor(p/1029983),a=M(p,1029983),c=2820;if(a!==1029982){var s=Math.floor(a/366),l=M(a,366);c=Math.floor((2134*s+2816*l+2815)/1028522)+s+1}var h=c+2820*u+474;h=h<=0?h-1:h;var f=g-this.toJD(h,1,1)+1,m=f<=186?Math.ceil(f/31):Math.ceil((f-6)/30),_=g-this.toJD(h,m,1)+1;return this.newDate(h,m,_)}}),d.calendars.persian=i,d.calendars.jalali=i},31320:function(x,o,t){var d=t(63489),v=t(56131),i=d.instance();function M(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,v(M.prototype,{name:"Taiwan",jdEpoch:24194025e-1,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(g){var p=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return g=this._t2gYear(p.year()),i.leapYear(g)},weekOfYear:function(g,p,u){var a=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return g=this._t2gYear(a.year()),i.weekOfYear(g,a.month(),a.day())},daysInMonth:function(g,p){var u=this._validate(g,p,this.minDay,d.local.invalidMonth);return this.daysPerMonth[u.month()-1]+(u.month()===2&&this.leapYear(u.year())?1:0)},weekDay:function(g,p,u){return(this.dayOfWeek(g,p,u)||7)<6},toJD:function(g,p,u){var a=this._validate(g,p,u,d.local.invalidDate);return g=this._t2gYear(a.year()),i.toJD(g,a.month(),a.day())},fromJD:function(g){var p=i.fromJD(g),u=this._g2tYear(p.year());return this.newDate(u,p.month(),p.day())},_t2gYear:function(g){return g+this.yearsOffset+(g>=-this.yearsOffset&&g<=-1?1:0)},_g2tYear:function(g){return g-this.yearsOffset-(g>=1&&g<=this.yearsOffset?1:0)}}),d.calendars.taiwan=M},51367:function(x,o,t){var d=t(63489),v=t(56131),i=d.instance();function M(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,v(M.prototype,{name:"Thai",jdEpoch:15230985e-1,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(g){var p=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return g=this._t2gYear(p.year()),i.leapYear(g)},weekOfYear:function(g,p,u){var a=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return g=this._t2gYear(a.year()),i.weekOfYear(g,a.month(),a.day())},daysInMonth:function(g,p){var u=this._validate(g,p,this.minDay,d.local.invalidMonth);return this.daysPerMonth[u.month()-1]+(u.month()===2&&this.leapYear(u.year())?1:0)},weekDay:function(g,p,u){return(this.dayOfWeek(g,p,u)||7)<6},toJD:function(g,p,u){var a=this._validate(g,p,u,d.local.invalidDate);return g=this._t2gYear(a.year()),i.toJD(g,a.month(),a.day())},fromJD:function(g){var p=i.fromJD(g),u=this._g2tYear(p.year());return this.newDate(u,p.month(),p.day())},_t2gYear:function(g){return g-this.yearsOffset-(g>=1&&g<=this.yearsOffset?1:0)},_g2tYear:function(g){return g+this.yearsOffset+(g>=-this.yearsOffset&&g<=-1?1:0)}}),d.calendars.thai=M},21457:function(x,o,t){var d=t(63489),v=t(56131);function i(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,v(i.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(g){var p=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return this.daysInYear(p.year())===355},weekOfYear:function(g,p,u){var a=this.newDate(g,p,u);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(g){for(var p=0,u=1;u<=12;u++)p+=this.daysInMonth(g,u);return p},daysInMonth:function(g,p){for(var u=this._validate(g,p,this.minDay,d.local.invalidMonth).toJD()-24e5+.5,a=0,c=0;cu)return M[a]-M[a-1];a++}return 30},weekDay:function(g,p,u){return this.dayOfWeek(g,p,u)!==5},toJD:function(g,p,u){var a=this._validate(g,p,u,d.local.invalidDate),c=12*(a.year()-1)+a.month()-15292;return a.day()+M[c-1]-1+24e5-.5},fromJD:function(g){for(var p=g-24e5+.5,u=0,a=0;ap);a++)u++;var c=u+15292,s=Math.floor((c-1)/12),l=s+1,h=c-12*s,f=p-M[u-1]+1;return this.newDate(l,h,f)},isValid:function(g,p,u){var a=d.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(a=(g=g.year!=null?g.year:g)>=1276&&g<=1500),a},_validate:function(g,p,u,a){var c=d.baseCalendar.prototype._validate.apply(this,arguments);if(c.year<1276||c.year>1500)throw a.replace(/\{0\}/,this.local.name);return c}}),d.calendars.ummalqura=i;var M=[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]},63489:function(x,o,t){var d=t(56131);function v(){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 i(a,c,s,l){if(this._calendar=a,this._year=c,this._month=s,this._day=l,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(u.local.invalidDate||u.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function M(a,c){return"000000".substring(0,c-(a=""+a).length)+a}function g(){this.shortYearCutoff="+10"}function p(a){this.local=this.regionalOptions[a]||this.regionalOptions[""]}d(v.prototype,{instance:function(a,c){a=(a||"gregorian").toLowerCase(),c=c||"";var s=this._localCals[a+"-"+c];if(!s&&this.calendars[a]&&(s=new this.calendars[a](c),this._localCals[a+"-"+c]=s),!s)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,a);return s},newDate:function(a,c,s,l,h){return(l=(a!=null&&a.year?a.calendar():typeof l=="string"?this.instance(l,h):l)||this.instance()).newDate(a,c,s)},substituteDigits:function(a){return function(c){return(c+"").replace(/[0-9]/g,function(s){return a[s]})}},substituteChineseDigits:function(a,c){return function(s){for(var l="",h=0;s>0;){var f=s%10;l=(f===0?"":a[f]+c[h])+l,h++,s=Math.floor(s/10)}return l.indexOf(a[1]+c[1])===0&&(l=l.substr(1)),l||a[0]}}}),d(i.prototype,{newDate:function(a,c,s){return this._calendar.newDate(a??this,c,s)},year:function(a){return arguments.length===0?this._year:this.set(a,"y")},month:function(a){return arguments.length===0?this._month:this.set(a,"m")},day:function(a){return arguments.length===0?this._day:this.set(a,"d")},date:function(a,c,s){if(!this._calendar.isValid(a,c,s))throw(u.local.invalidDate||u.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=a,this._month=c,this._day=s,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(a,c){return this._calendar.add(this,a,c)},set:function(a,c){return this._calendar.set(this,a,c)},compareTo:function(a){if(this._calendar.name!==a._calendar.name)throw(u.local.differentCalendars||u.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name);var c=this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day;return c===0?0:c<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?"-":"")+M(Math.abs(this.year()),4)+"-"+M(this.month(),2)+"-"+M(this.day(),2)}}),d(g.prototype,{_validateLevel:0,newDate:function(a,c,s){return a==null?this.today():(a.year&&(this._validate(a,c,s,u.local.invalidDate||u.regionalOptions[""].invalidDate),s=a.day(),c=a.month(),a=a.year()),new i(this,a,c,s))},today:function(){return this.fromJSDate(new Date)},epoch:function(a){return this._validate(a,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(a){var c=this._validate(a,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear);return(c.year()<0?"-":"")+M(Math.abs(c.year()),4)},monthsInYear:function(a){return this._validate(a,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear),12},monthOfYear:function(a,c){var s=this._validate(a,c,this.minDay,u.local.invalidMonth||u.regionalOptions[""].invalidMonth);return(s.month()+this.monthsInYear(s)-this.firstMonth)%this.monthsInYear(s)+this.minMonth},fromMonthOfYear:function(a,c){var s=(c+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;return this._validate(a,s,this.minDay,u.local.invalidMonth||u.regionalOptions[""].invalidMonth),s},daysInYear:function(a){var c=this._validate(a,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[""].invalidYear);return this.leapYear(c)?366:365},dayOfYear:function(a,c,s){var l=this._validate(a,c,s,u.local.invalidDate||u.regionalOptions[""].invalidDate);return l.toJD()-this.newDate(l.year(),this.fromMonthOfYear(l.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,c,s){var l=this._validate(a,c,s,u.local.invalidDate||u.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(l))+2)%this.daysInWeek()},extraInfo:function(a,c,s){return this._validate(a,c,s,u.local.invalidDate||u.regionalOptions[""].invalidDate),{}},add:function(a,c,s){return this._validate(a,this.minMonth,this.minDay,u.local.invalidDate||u.regionalOptions[""].invalidDate),this._correctAdd(a,this._add(a,c,s),c,s)},_add:function(a,c,s){if(this._validateLevel++,s==="d"||s==="w"){var l=a.toJD()+c*(s==="w"?this.daysInWeek():1),h=a.calendar().fromJD(l);return this._validateLevel--,[h.year(),h.month(),h.day()]}try{var f=a.year()+(s==="y"?c:0),m=a.monthOfYear()+(s==="m"?c:0);h=a.day(),s==="y"?(a.month()!==this.fromMonthOfYear(f,m)&&(m=this.newDate(f,a.month(),this.minDay).monthOfYear()),m=Math.min(m,this.monthsInYear(f)),h=Math.min(h,this.daysInMonth(f,this.fromMonthOfYear(f,m)))):s==="m"&&(function(y){for(;mC-1+y.minMonth;)f++,m-=C,C=y.monthsInYear(f)}(this),h=Math.min(h,this.daysInMonth(f,this.fromMonthOfYear(f,m))));var _=[f,this.fromMonthOfYear(f,m),h];return this._validateLevel--,_}catch(y){throw this._validateLevel--,y}},_correctAdd:function(a,c,s,l){if(!(this.hasYearZero||l!=="y"&&l!=="m"||c[0]!==0&&a.year()>0==c[0]>0)){var h={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[l],f=s<0?-1:1;c=this._add(a,s*h[0]+f*h[1],h[2])}return a.date(c[0],c[1],c[2])},set:function(a,c,s){this._validate(a,this.minMonth,this.minDay,u.local.invalidDate||u.regionalOptions[""].invalidDate);var l=s==="y"?c:a.year(),h=s==="m"?c:a.month(),f=s==="d"?c:a.day();return s!=="y"&&s!=="m"||(f=Math.min(f,this.daysInMonth(l,h))),a.date(l,h,f)},isValid:function(a,c,s){this._validateLevel++;var l=this.hasYearZero||a!==0;if(l){var h=this.newDate(a,c,this.minDay);l=c>=this.minMonth&&c-this.minMonth=this.minDay&&s-this.minDay13.5?13:1),C=h-(y>2.5?4716:4715);return C<=0&&C--,this.newDate(C,y,_)},toJSDate:function(a,c,s){var l=this._validate(a,c,s,u.local.invalidDate||u.regionalOptions[""].invalidDate),h=new Date(l.year(),l.month()-1,l.day());return h.setHours(0),h.setMinutes(0),h.setSeconds(0),h.setMilliseconds(0),h.setHours(h.getHours()>12?h.getHours()+2:0),h},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});var u=x.exports=new v;u.cdate=i,u.baseCalendar=g,u.calendars.gregorian=p},94338:function(x,o,t){var d=t(56131),v=t(63489);d(v.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"}),v.local=v.regionalOptions[""],d(v.cdate.prototype,{formatDate:function(i,M){return typeof i!="string"&&(M=i,i=""),this._calendar.formatDate(i||"",this,M)}}),d(v.baseCalendar.prototype,{UNIX_EPOCH:v.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:v.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(i,M,g){if(typeof i!="string"&&(g=M,M=i,i=""),!M)return"";if(M.calendar()!==this)throw v.local.invalidFormat||v.regionalOptions[""].invalidFormat;i=i||this.local.dateFormat;for(var p,u,a,c=(g=g||{}).dayNamesShort||this.local.dayNamesShort,s=g.dayNames||this.local.dayNames,l=g.monthNumbers||this.local.monthNumbers,h=g.monthNamesShort||this.local.monthNamesShort,f=g.monthNames||this.local.monthNames,m=(g.calculateWeek||this.local.calculateWeek,function(b,O){for(var I=1;L+I1}),_=function(b,O,I,R){var z=""+O;if(m(b,R))for(;z.length1},T=function(N,q){var j=E(N,q),Y=[2,3,j?4:2,j?4:2,10,11,20]["oyYJ@!".indexOf(N)+1],U=new RegExp("^-?\\d{1,"+Y+"}"),G=M.substring(R).match(U);if(!G)throw(v.local.missingNumberAt||v.regionalOptions[""].missingNumberAt).replace(/\{0\}/,R);return R+=G[0].length,parseInt(G[0],10)},A=this,L=function(){if(typeof s=="function"){E("m");var N=s.call(A,M.substring(R));return R+=N.length,N}return T("m")},b=function(N,q,j,Y){for(var U=E(N,Y)?j:q,G=0;G-1){_=1,y=C;for(var B=this.daysInMonth(m,_);y>B;B=this.daysInMonth(m,_))_++,y-=B}return f>-1?this.fromJD(f):this.newDate(m,_,y)},determineDate:function(i,M,g,p,u){g&&typeof g!="object"&&(u=p,p=g,g=null),typeof p!="string"&&(u=p,p="");var a=this;return M=M?M.newDate():null,i==null?M:typeof i=="string"?function(c){try{return a.parseDate(p,c,u)}catch{}for(var s=((c=c.toLowerCase()).match(/^c/)&&g?g.newDate():null)||a.today(),l=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,h=l.exec(c);h;)s.add(parseInt(h[1],10),h[2]||"d"),h=l.exec(c);return s}(i):typeof i=="number"?isNaN(i)||i===1/0||i===-1/0?M:a.today().add(i,"d"):a.newDate(i)}})},69862:function(){},40964:function(){},72077:function(x,o,t){var d=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],v=typeof globalThis>"u"?t.g:globalThis;x.exports=function(){for(var i=[],M=0;M>8&15|me>>4&240,me>>4&15|240&me,(15&me)<<4|15&me,1):pe===8?T(me>>24&255,me>>16&255,me>>8&255,(255&me)/255):pe===4?T(me>>12&15|me>>8&240,me>>8&15|me>>4&240,me>>4&15|240&me,((15&me)<<4|15&me)/255):null):(me=s.exec(de))?new b(me[1],me[2],me[3],1):(me=l.exec(de))?new b(255*me[1]/100,255*me[2]/100,255*me[3]/100,1):(me=h.exec(de))?T(me[1],me[2],me[3],me[4]):(me=f.exec(de))?T(255*me[1]/100,255*me[2]/100,255*me[3]/100,me[4]):(me=m.exec(de))?B(me[1],me[2]/100,me[3]/100,1):(me=_.exec(de))?B(me[1],me[2]/100,me[3]/100,me[4]):y.hasOwnProperty(de)?E(y[de]):de==="transparent"?new b(NaN,NaN,NaN,0):null}function E(de){return new b(de>>16&255,de>>8&255,255&de,1)}function T(de,me,pe,xe){return xe<=0&&(de=me=pe=NaN),new b(de,me,pe,xe)}function A(de){return de instanceof i||(de=k(de)),de?new b((de=de.rgb()).r,de.g,de.b,de.opacity):new b}function L(de,me,pe,xe){return arguments.length===1?A(de):new b(de,me,pe,xe??1)}function b(de,me,pe,xe){this.r=+de,this.g=+me,this.b=+pe,this.opacity=+xe}function O(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b))}function I(){var de=R(this.opacity);return"".concat(de===1?"rgb(":"rgba(").concat(z(this.r),", ").concat(z(this.g),", ").concat(z(this.b)).concat(de===1?")":", ".concat(de,")"))}function R(de){return isNaN(de)?1:Math.max(0,Math.min(1,de))}function z(de){return Math.max(0,Math.min(255,Math.round(de)||0))}function F(de){return((de=z(de))<16?"0":"")+de.toString(16)}function B(de,me,pe,xe){return xe<=0?de=me=pe=NaN:pe<=0||pe>=1?de=me=NaN:me<=0&&(de=NaN),new q(de,me,pe,xe)}function N(de){if(de instanceof q)return new q(de.h,de.s,de.l,de.opacity);if(de instanceof i||(de=k(de)),!de)return new q;if(de instanceof q)return de;var me=(de=de.rgb()).r/255,pe=de.g/255,xe=de.b/255,Pe=Math.min(me,pe,xe),_e=Math.max(me,pe,xe),Me=NaN,Se=_e-Pe,Ce=(_e+Pe)/2;return Se?(Me=me===_e?(pe-xe)/Se+6*(pe0&&Ce<1?0:Me,new q(Me,Se,Ce,de.opacity)}function q(de,me,pe,xe){this.h=+de,this.s=+me,this.l=+pe,this.opacity=+xe}function j(de){return(de=(de||0)%360)<0?de+360:de}function Y(de){return Math.max(0,Math.min(1,de||0))}function U(de,me,pe){return 255*(de<60?me+(pe-me)*de/60:de<180?pe:de<240?me+(pe-me)*(240-de)/60:me)}d(i,k,{copy:function(de){return Object.assign(new this.constructor,this,de)},displayable:function(){return this.rgb().displayable()},hex:C,formatHex:C,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return N(this).formatHsl()},formatRgb:w,toString:w}),d(b,L,v(i,{brighter:function(de){return de=de==null?g:Math.pow(g,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},rgb:function(){return this},clamp:function(){return new b(z(this.r),z(this.g),z(this.b),R(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:O,formatHex:O,formatHex8:function(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b)).concat(F(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:I,toString:I})),d(q,function(de,me,pe,xe){return arguments.length===1?N(de):new q(de,me,pe,xe??1)},v(i,{brighter:function(de){return de=de==null?g:Math.pow(g,de),new q(this.h,this.s,this.l*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new q(this.h,this.s,this.l*de,this.opacity)},rgb:function(){var de=this.h%360+360*(this.h<0),me=isNaN(de)||isNaN(this.s)?0:this.s,pe=this.l,xe=pe+(pe<.5?pe:1-pe)*me,Pe=2*pe-xe;return new b(U(de>=240?de-240:de+120,Pe,xe),U(de,Pe,xe),U(de<120?de+240:de-120,Pe,xe),this.opacity)},clamp:function(){return new q(j(this.h),Y(this.s),Y(this.l),R(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var de=R(this.opacity);return"".concat(de===1?"hsl(":"hsla(").concat(j(this.h),", ").concat(100*Y(this.s),"%, ").concat(100*Y(this.l),"%").concat(de===1?")":", ".concat(de,")"))}}));var G=function(de){return function(){return de}};function W(de,me){var pe=me-de;return pe?function(xe,Pe){return function(_e){return xe+_e*Pe}}(de,pe):G(isNaN(de)?me:de)}var H=function de(me){var pe=function(Pe){return(Pe=+Pe)==1?W:function(_e,Me){return Me-_e?function(Se,Ce,ae){return Se=Math.pow(Se,ae),Ce=Math.pow(Ce,ae)-Se,ae=1/ae,function(he){return Math.pow(Se+he*Ce,ae)}}(_e,Me,Pe):G(isNaN(_e)?Me:_e)}}(me);function xe(Pe,_e){var Me=pe((Pe=L(Pe)).r,(_e=L(_e)).r),Se=pe(Pe.g,_e.g),Ce=pe(Pe.b,_e.b),ae=W(Pe.opacity,_e.opacity);return function(he){return Pe.r=Me(he),Pe.g=Se(he),Pe.b=Ce(he),Pe.opacity=ae(he),Pe+""}}return xe.gamma=de,xe}(1);function ne(de,me){var pe,xe=me?me.length:0,Pe=de?Math.min(xe,de.length):0,_e=new Array(Pe),Me=new Array(xe);for(pe=0;pe_e&&(Pe=me.slice(_e,Pe),Se[Me]?Se[Me]+=Pe:Se[++Me]=Pe),(pe=pe[0])===(xe=xe[0])?Se[Me]?Se[Me]+=xe:Se[++Me]=xe:(Se[++Me]=null,Ce.push({i:Me,x:Z(pe,xe)})),_e=ie.lastIndex;return _en.rt)},yValues(){return this.dataForHeatmapDrawing.map(n=>n.mass)},markerColorValues(){return this.dataForHeatmapDrawing.map(n=>n.intensity)},data(){return[{type:"scattergl",name:"raw peaks",x:this.xValues,y:this.yValues,mode:"markers",marker:{color:this.markerColorValues,colorscale:"Portland",showscale:!0},hovertext:this.markerColorValues.map(n=>Math.round(n).toString())}]},layout(){var n,e,r,S;return{title:`${this.args.title}`,showlegend:this.args.showLegend,xaxis:{title:"Retention Time"},yaxis:{title:this.yAxisLabel},paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(S=this.theme)==null?void 0:S.font}}}},watch:{renderData(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await Ns.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Ns.Icons.camera,click:n=>{Ns.downloadImage(n,{filename:"FLASHViewer-heatmap",height:400,width:1200,format:"svg"})}}]})}}}),Bo=(n,e)=>{const r=n.__vccOpts||n;for(const[S,D]of e)r[S]=D;return r},ZD=["id"];function XD(n,e,r,S,D,x){return Dr(),ai("div",{id:n.id,style:{width:"100%"}},null,8,ZD)}const KD=Bo(YD,[["render",XD]]),Bc=h2("selection",{state:()=>({scanIndex:void 0,massIndex:void 0,proteinIndex:void 0,tagIndex:void 0,selectedObservedMass:void 0,AApos:void 0,tagData:void 0}),getters:{selectedScanIndex:n=>n.scanIndex,selectedMassIndex:n=>n.massIndex,selectedProteinIndex:n=>n.proteinIndex,selectedTagIndex:n=>n.tagIndex,selectedAApos:n=>n.AApos,selectedTag:n=>n.tagData,selectedObservedMassFromFragmentTable:n=>n.selectedObservedMass},actions:{updateSelectedScan(n){this.scanIndex=n},updateSelectedMass(n){this.massIndex=n},updateSelectedProtein(n){this.proteinIndex=n},updateSelectedTag(n){this.tagIndex=n},selectedAminoAcid(n){this.selectedObservedMass=n},updateSelectedAA(n){this.AApos=n},updateTagData(n){this.tagData=n}}});class Zl{constructor(e){this.table=e}reloadData(e,r,S){return this.table.dataLoader.load(e,void 0,void 0,void 0,r,S)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,r){return typeof r<"u"&&(this.table.options[e]=r),this.table.options[e]}deprecationCheck(e,r){return this.table.deprecationAdvisor.check(e,r)}deprecationCheckMsg(e,r){return this.table.deprecationAdvisor.checkMsg(e,r)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class po{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var r=e.getBoundingClientRect();return{top:r.top+window.pageYOffset-document.documentElement.clientTop,left:r.left+window.pageXOffset-document.documentElement.clientLeft}}static deepClone(e,r,S=[]){var D={}.__proto__,x=[].__proto__;r||(r=Object.assign(Array.isArray(e)?[]:{},e));for(var o in e){let t=e[o],d,v;t!=null&&typeof t=="object"&&(t.__proto__===D||t.__proto__===x)&&(d=S.findIndex(i=>i.subject===t),d>-1?r[o]=S[d].copy:(v=Object.assign(Array.isArray(t)?[]:{},t),S.unshift({subject:t,copy:v}),r[o]=this.deepClone(t,v,S)))}return r}}class m_ extends Zl{constructor(e,r,S){super(e),this.element=r,this.container=this._lookupContainer(),this.parent=S,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,r=this.table.element){return e===r?!0:r.parentNode?this._checkContainerIsParent(e,r.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var r=!(e instanceof MouseEvent),S=r?e.touches[0].pageX:e.pageX,D=r?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let x=po.elOffset(this.container);S-=x.left,D-=x.top}return{x:S,y:D}}elementPositionCoords(e,r="right"){var S=po.elOffset(e),D,x,o;switch(this.container!==document.body&&(D=po.elOffset(this.container),S.left-=D.left,S.top-=D.top),r){case"right":x=S.left+e.offsetWidth,o=S.top-1;break;case"bottom":x=S.left,o=S.top+e.offsetHeight;break;case"left":x=S.left,o=S.top-1;break;case"top":x=S.left,o=S.top;break;case"center":x=S.left+e.offsetWidth/2,o=S.top+e.offsetHeight/2;break}return{x,y:o,offset:S}}show(e,r){var S,D,x,o,t;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(x=e,t=this.elementPositionCoords(e,r),o=t.offset,S=t.x,D=t.y):typeof e=="number"?(o={top:0,left:0},S=e,D=r):(t=this.containerEventCoords(e),S=t.x,D=t.y,this.reversedX=!1),this.element.style.top=D+"px",this.element.style.left=S+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(S,D,x,o,r),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",d=>{d.stopPropagation()}),this)}_fitToScreen(e,r,S,D,x){var o=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;if((e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",S?this.element.style.right=this.container.offsetWidth-D.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0),r+this.element.offsetHeight>Math.max(this.container.offsetHeight,o?this.container.scrollHeight:0))if(S)switch(x){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-S.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+S.offsetHeight+1+"px"}else this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new m_(this.table,e,this),this.childPopup}}class Xi extends Zl{constructor(e,r){super(e),this._handler=null}initialize(){}registerTableOption(e,r){this.table.optionsList.register(e,r)}registerColumnOption(e,r){this.table.columnManager.optionsList.register(e,r)}registerTableFunction(e,r){typeof this.table[e]>"u"?this.table[e]=(...S)=>(this.table.initGuard(e),r(...S)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,r,S){return this.table.componentFunctionBinder.bind(e,r,S)}registerDataHandler(e,r){this.table.rowManager.registerDataPipelineHandler(e,r),this._handler=e}registerDisplayHandler(e,r){this.table.rowManager.registerDisplayPipelineHandler(e,r),this._handler=e}displayRows(e){var r=this.table.rowManager.displayRows.length-1,S;if(this._handler&&(S=this.table.rowManager.displayPipeline.findIndex(D=>D.handler===this._handler),S>-1&&(r=S)),e&&(r=r+e),this._handler)return r>-1?this.table.rowManager.getDisplayRows(r):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,r){r||(r=this._handler),r&&this.table.rowManager.refreshActiveData(r,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,r){return new m_(this.table,e,r)}alert(e,r){return this.table.alertManager.alert(e,r)}clearAlert(){return this.table.alertManager.clear()}}var JD={};class Jp extends Xi{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var r=!1,S={};this.allowedTypes.forEach(D=>{var x="accessor"+(D.charAt(0).toUpperCase()+D.slice(1)),o;e.definition[x]&&(o=this.lookupAccessor(e.definition[x]),o&&(r=!0,S[x]={accessor:o,params:e.definition[x+"Params"]||{}}))}),r&&(e.modules.accessor=S)}lookupAccessor(e){var r=!1;switch(typeof e){case"string":Jp.accessors[e]?r=Jp.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r){var S="accessor"+(r.charAt(0).toUpperCase()+r.slice(1)),D=e.getComponent(),x=po.deepClone(e.data||{});return this.table.columnManager.traverse(function(o){var t,d,v,i;o.modules.accessor&&(d=o.modules.accessor[S]||o.modules.accessor.accessor||!1,d&&(t=o.getFieldValue(x),t!="undefined"&&(i=o.getComponent(),v=typeof d.params=="function"?d.params(t,x,r,i,D):d.params,o.setFieldValue(x,d.accessor(t,x,r,v,i,D)))))}),x}}Jp.moduleName="accessor";Jp.accessors=JD;var QD={method:"GET"};function cx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,x)=>{r=r.concat(cx(D,e?e+"["+x+"]":x))});else if(typeof n=="object")for(var S in n)r=r.concat(cx(n[S],e?e+"["+S+"]":S));else r.push({key:e,value:n});return r}function eR(n){var e=cx(n),r=[];return e.forEach(function(S){r.push(encodeURIComponent(S.key)+"="+encodeURIComponent(S.value))}),r.join("&")}function mM(n,e,r){return n&&r&&Object.keys(r).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",n+=(n.includes("?")?"&":"?")+eR(r)),n}function tR(n,e,r){var S;return new Promise((D,x)=>{if(n=this.urlGenerator.call(this.table,n,e,r),e.method.toUpperCase()!="GET")if(S=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],S){for(var o in S.headers)e.headers||(e.headers={}),typeof e.headers[o]>"u"&&(e.headers[o]=S.headers[o]);e.body=S.body.call(this,n,e,r)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);n?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(n,e).then(t=>{t.ok?t.json().then(d=>{D(d)}).catch(d=>{x(d),console.warn("Ajax Load Error - Invalid JSON returned",d)}):(console.error("Ajax Load Error - Connection Error: "+t.status,t.statusText),x(t))}).catch(t=>{console.error("Ajax Load Error - Connection Error: ",t),x(t)})):(console.warn("Ajax Load Error - No URL Set"),D([]))})}function fx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,x)=>{r=r.concat(fx(D,e?e+"["+x+"]":x))});else if(typeof n=="object")for(var S in n)r=r.concat(fx(n[S],e?e+"["+S+"]":S));else r.push({key:e,value:n});return r}var nR={json:{headers:{"Content-Type":"application/json"},body:function(n,e,r){return JSON.stringify(r)}},form:{headers:{},body:function(n,e,r){var S=fx(r),D=new FormData;return S.forEach(function(x){D.append(x.key,x.value)}),D}}};class Sc extends Xi{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=Sc.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||Sc.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||Sc.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,r,S,D){var x=this.table.options.ajaxParams;return x&&(typeof x=="function"&&(x=x.call(this.table)),D=Object.assign(D,x)),D}requestDataCheck(e,r,S,D){return!!(!e&&this.url||typeof e=="string")}requestData(e,r,S,D,x){var o;return!x&&this.requestDataCheck(e)?(e&&this.setUrl(e),o=this.generateConfig(S),this.sendRequest(this.url,r,o)):x}setDefaultConfig(e={}){this.config=Object.assign({},Sc.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var r=Object.assign({},this.config);return typeof e=="string"?r.method=e:Object.assign(r,e),r}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,r,S){return this.table.options.ajaxRequesting.call(this.table,e,r)!==!1?this.loaderPromise(e,S,r).then(D=>(this.table.options.ajaxResponse&&(D=this.table.options.ajaxResponse.call(this.table,e,r,D)),D)):Promise.reject()}}Sc.moduleName="ajax";Sc.defaultConfig=QD;Sc.defaultURLGenerator=mM;Sc.defaultLoaderPromise=tR;Sc.contentTypeFormatters=nR;var rR={replace:function(n){return this.table.setData(n)},update:function(n){return this.table.updateOrAddData(n)},insert:function(n){return this.table.addData(n)}},iR={table:function(n){var e=[],r=!0,S=this.table.columnManager.columns,D=[],x=[];return n=n.split(` +`),n.forEach(function(o){e.push(o.split(" "))}),e.length&&!(e.length===1&&e[0].length<2)?(e[0].forEach(function(o){var t=S.find(function(d){return o&&d.definition.title&&o.trim()&&d.definition.title.trim()===o.trim()});t?D.push(t):r=!1}),r||(r=!0,D=[],e[0].forEach(function(o){var t=S.find(function(d){return o&&d.field&&o.trim()&&d.field.trim()===o.trim()});t?D.push(t):r=!1}),r||(D=this.table.columnManager.columnsByIndex)),r&&e.shift(),e.forEach(function(o){var t={};o.forEach(function(d,v){D[v]&&(t[D[v].field]=d)}),x.push(t)}),x):!1}};class Dd extends Xi{constructor(e){super(e),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption("clipboard",!1),this.registerTableOption("clipboardCopyStyled",!0),this.registerTableOption("clipboardCopyConfig",!1),this.registerTableOption("clipboardCopyFormatter",!1),this.registerTableOption("clipboardCopyRowRange","active"),this.registerTableOption("clipboardPasteParser","table"),this.registerTableOption("clipboardPasteAction","insert"),this.registerColumnOption("clipboard"),this.registerColumnOption("titleClipboard")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,(this.mode===!0||this.mode==="copy")&&this.table.element.addEventListener("copy",e=>{var r,S,D;this.blocked||(e.preventDefault(),this.customSelection?(r=this.customSelection,this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r))):(D=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,"clipboard"),S=this.table.modules.export.generateHTMLTable(D),r=S?this.generatePlainContent(D):"",this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r),S=this.table.options.clipboardCopyFormatter("html",S))),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",r):e.clipboardData&&e.clipboardData.setData?(e.clipboardData.setData("text/plain",r),S&&e.clipboardData.setData("text/html",S)):e.originalEvent&&e.originalEvent.clipboardData.setData&&(e.originalEvent.clipboardData.setData("text/plain",r),S&&e.originalEvent.clipboardData.setData("text/html",S)),this.dispatchExternal("clipboardCopied",r,S),this.reset())}),(this.mode===!0||this.mode==="paste")&&this.table.element.addEventListener("paste",e=>{this.paste(e)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction("copyToClipboard",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(e){var r=[];return e.forEach(S=>{var D=[];S.columns.forEach(x=>{var o="";if(x)if(S.type==="group"&&(x.value=x.component.getKey()),x.value===null)o="";else switch(typeof x.value){case"object":o=JSON.stringify(x.value);break;case"undefined":o="";break;default:o=x.value}D.push(o)}),r.push(D.join(" "))}),r.join(` +`)}copy(e,r){var S,D;this.blocked=!1,this.customSelection=!1,(this.mode===!0||this.mode==="copy")&&(this.rowRange=e||this.table.options.clipboardCopyRowRange,typeof window.getSelection<"u"&&typeof document.createRange<"u"?(e=document.createRange(),e.selectNodeContents(this.table.element),S=window.getSelection(),S.toString()&&r&&(this.customSelection=S.toString()),S.removeAllRanges(),S.addRange(e)):typeof document.selection<"u"&&typeof document.body.createTextRange<"u"&&(D=document.body.createTextRange(),D.moveToElementText(this.table.element),D.select()),document.execCommand("copy"),S&&S.removeAllRanges())}setPasteAction(e){switch(typeof e){case"string":this.pasteAction=Dd.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e;break}}setPasteParser(e){switch(typeof e){case"string":this.pasteParser=Dd.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e;break}}paste(e){var r,S,D;this.checkPaseOrigin(e)&&(r=this.getPasteData(e),S=this.pasteParser.call(this,r),S?(e.preventDefault(),this.table.modExists("mutator")&&(S=this.mutateData(S)),D=this.pasteAction.call(this,S),this.dispatchExternal("clipboardPasted",r,S,D)):this.dispatchExternal("clipboardPasteError",r))}mutateData(e){var r=[];return Array.isArray(e)?e.forEach(S=>{r.push(this.table.modules.mutator.transformRow(S,"clipboard"))}):r=e,r}checkPaseOrigin(e){var r=!0;return(e.target.tagName!="DIV"||this.table.modules.edit.currentCell)&&(r=!1),r}getPasteData(e){var r;return window.clipboardData&&window.clipboardData.getData?r=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?r=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(r=e.originalEvent.clipboardData.getData("text/plain")),r}}Dd.moduleName="clipboard";Dd.pasteActions=rR;Dd.pasteParsers=iR;class aR{constructor(e){return this._row=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._row.table.componentFunctionBinder.handle("row",r._row,S)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}_getSelf(){return this._row}}class gM{constructor(e){return this._cell=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._cell.table.componentFunctionBinder.handle("cell",r._cell,S)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(e){return this._cell.row.getData(e)}getType(){return"cell"}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(e,r){typeof r>"u"&&(r=!0),this._cell.setValue(e,r)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class ng extends Zl{constructor(e,r){super(e.table),this.table=e.table,this.column=e,this.row=r,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell")}_configureCell(){var e=this.element,r=this.column.getField(),S={top:"flex-start",bottom:"flex-end",middle:"center"},D={left:"flex-start",right:"flex-end",center:"center"};if(e.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(e.style.display="inline-flex",e.style.alignItems=S[this.column.vertAlign]||"",this.column.hozAlign&&(e.style.justifyContent=D[this.column.hozAlign]||"")),r&&e.setAttribute("tabulator-field",r),this.column.definition.cssClass){var x=this.column.definition.cssClass.split(" ");x.forEach(o=>{e.classList.add(o)})}this.dispatch("cell-init",this),this.column.visible||this.hide()}_generateContents(){var e;switch(e=this.chain("cell-format",this,null,()=>this.element.innerHTML=this.value),typeof e){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",e!=null&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":this.element.innerHTML="";break;default:this.element.innerHTML=e}}cellRendered(){this.dispatch("cell-rendered",this)}getElement(e){return this.loaded||(this.loaded=!0,e||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(e,r,S){var D=this.setValueProcessData(e,r,S);D&&(this.dispatch("cell-value-updated",this),this.cellRendered(),this.column.definition.cellEdited&&this.column.definition.cellEdited.call(this.table,this.getComponent()),this.dispatchExternal("cellEdited",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()))}setValueProcessData(e,r,S){var D=!1;return(this.value!==e||S)&&(D=!0,r&&(e=this.chain("cell-value-changing",[this,e],null,e))),this.setValueActual(e),D&&this.dispatch("cell-value-changed",this),D}setValueActual(e){this.oldValue=this.value,this.value=e,this.dispatch("cell-value-save-before",this),this.column.setFieldValue(this.row.data,e),this.dispatch("cell-value-save-after",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this.dispatch("cell-layout",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width="",this.element.style.width=""}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height="",this.height=null,this.dispatch("cell-height",this,"")}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled,this.dispatch("cell-height",this,this.row.heightStyled)}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?"inline-flex":""}hide(){this.element.style.display="none"}delete(){this.dispatch("cell-delete",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new gM(this)),this.component}}class vM{constructor(e){return this._column=e,this.type="ColumnComponent",new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._column.table.componentFunctionBinder.handle("column",r._column,S)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getTitleDownload(){return this._column.getTitleDownload()}getCells(){var e=[];return this._column.cells.forEach(function(r){e.push(r.getComponent())}),e}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(r){e.push(r.getComponent())}),e}getParentColumn(){return this._column.parent instanceof cf?this._column.parent.getComponent():!1}_getSelf(){return this._column}scrollTo(e,r){return this._column.table.columnManager.scrollToColumn(this._column,e,r)}getTable(){return this._column.table}move(e,r){var S=this._column.table.columnManager.findColumn(e);S?this._column.table.columnManager.moveColumn(this._column,S,r):console.warn("Move Error - No matching column found:",S)}getNextColumn(){var e=this._column.nextColumn();return e?e.getComponent():!1}getPrevColumn(){var e=this._column.prevColumn();return e?e.getComponent():!1}updateDefinition(e){return this._column.updateDefinition(e)}getWidth(){return this._column.getWidth()}setWidth(e){var r;return e===!0?r=this._column.reinitializeWidth(!0):r=this._column.setWidth(e),this._column.table.columnManager.rerenderColumns(!0),r}}var yM={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,maxInitialWidth:void 0,cssClass:void 0,variableHeight:void 0,headerVertical:void 0,headerHozAlign:void 0,headerWordWrap:!1,editableTitle:void 0};class cf extends Zl{constructor(e,r){super(r.table),this.definition=e,this.parent=r,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleDownload=null,this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.maxInitialWidth=null,this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach((S,D)=>{var x=new cf(S,this);this.attachColumn(x)}),this.checkColumnVisibility()):r.registerColumnField(this),this._initialize()}createElement(){var e=document.createElement("div");switch(e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),this.table.options.columnHeaderVertAlign){case"middle":e.style.justifyContent="center";break;case"bottom":e.style.justifyContent="flex-end";break}return e}createGroupElement(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e}mapDefinitions(){var e=this.table.options.columnDefaults;if(e)for(let r in e)typeof this.definition[r]>"u"&&(this.definition[r]=e[r]);this.definition=this.table.columnManager.optionsList.generate(cf.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach(e=>{cf.defaultOptionList.indexOf(e)===-1&&console.warn("Invalid column definition option in '"+(this.field||this.definition.title)+"' column:",e)})}setField(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(e){this.parent.registerColumnPosition(e)}registerColumnField(e){this.parent.registerColumnField(e)}reRegisterPosition(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)}_initialize(){for(var e=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);e.headerVertical&&(this.element.classList.add("tabulator-col-vertical"),e.headerVertical==="flip"&&this.element.classList.add("tabulator-col-vertical-flip")),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.dispatch("column-init",this)}_buildColumnHeader(){var e=this.definition;if(this.dispatch("column-layout",this),typeof e.visible<"u"&&(e.visible?this.show(!0):this.hide(!0)),e.cssClass){var r=e.cssClass.split(" ");r.forEach(S=>{this.element.classList.add(S)})}e.field&&this.element.setAttribute("tabulator-field",e.field),this.setMinWidth(parseInt(e.minWidth)),e.maxInitialWidth&&(this.maxInitialWidth=parseInt(e.maxInitialWidth)),e.maxWidth&&this.setMaxWidth(parseInt(e.maxWidth)),this.reinitializeWidth(),this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e}_buildColumnHeaderTitle(){var e=this.definition,r=document.createElement("div");if(r.classList.add("tabulator-col-title"),e.headerWordWrap&&r.classList.add("tabulator-col-title-wrap"),e.editableTitle){var S=document.createElement("input");S.classList.add("tabulator-title-editor"),S.addEventListener("click",D=>{D.stopPropagation(),S.focus()}),S.addEventListener("change",()=>{e.title=S.value,this.dispatchExternal("columnTitleChanged",this.getComponent())}),r.appendChild(S),e.field?this.langBind("columns|"+e.field,D=>{S.value=D||e.title||" "}):S.value=e.title||" "}else e.field?this.langBind("columns|"+e.field,D=>{this._formatColumnHeaderTitle(r,D||e.title||" ")}):this._formatColumnHeaderTitle(r,e.title||" ");return r}_formatColumnHeaderTitle(e,r){var S=this.chain("column-format",[this,r,e],null,()=>r);switch(typeof S){case"object":S instanceof Node?e.appendChild(S):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",S));break;case"undefined":e.innerHTML="";break;default:e.innerHTML=S}}_buildGroupHeader(){if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var e=this.definition.cssClass.split(" ");e.forEach(r=>{this.element.classList.add(r)})}this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(e){return e[this.field]}_getNestedData(e){var r=e,S=this.fieldStructure,D=S.length,x;for(let o=0;o{r.push(S),r=r.concat(S.getColumns(!0))}):r=this.columns,r}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(e){var r=[];return this.isGroup&&e&&(this.columns.forEach(function(S){r.push(S.getDefinition(!0))}),this.definition.columns=r),this.definition}checkColumnVisibility(){var e=!1;this.columns.forEach(function(r){r.visible&&(e=!0)}),e?(this.show(),this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1)):this.hide()}show(e,r){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(S){S.show()}),!this.isGroup&&this.width===null&&this.reinitializeWidth(),this.table.columnManager.verticalAlignHeaders(),this.dispatch("column-show",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}hide(e,r){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager.verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(S){S.hide()}),this.dispatch("column-hide",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}matchChildWidths(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}),this.contentElement.style.maxWidth=e-1+"px",this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(e){var r=this.columns.indexOf(e);r>-1&&this.columns.splice(r,1),this.columns.length||this.delete()}setWidth(e){this.widthFixed=!0,this.setWidthActual(e)}setWidthActual(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(r){r.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch("column-width",this)}checkCellHeights(){var e=[];this.cells.forEach(function(r){r.row.heightInitialized&&(r.row.getElement().offsetParent!==null?(e.push(r.row),r.row.clearCellHeight()):r.row.heightInitialized=!1)}),e.forEach(function(r){r.calcHeight()}),e.forEach(function(r){r.setCellHeight()})}getWidth(){var e=0;return this.isGroup?this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}):e=this.width,e}getLeftOffset(){var e=this.element.offsetLeft;return this.parent.isGroup&&(e+=this.parent.getLeftOffset()),e}getHeight(){return Math.ceil(this.element.getBoundingClientRect().height)}setMinWidth(e){this.maxWidth&&e>this.maxWidth&&(e=this.maxWidth,console.warn("the minWidth ("+e+"px) for column '"+this.field+"' cannot be bigger that its maxWidth ("+this.maxWidthStyled+")")),this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(r){r.setMinWidth()})}setMaxWidth(e){this.minWidth&&e{this.isGroup&&this.columns.forEach(function(D){D.delete()}),this.dispatch("column-delete",this);var S=this.cells.length;for(let D=0;D-1?this._nextVisibleColumn(e+1):!1}_nextVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._nextVisibleColumn(e+1)}prevColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._prevVisibleColumn(e-1):!1}_prevVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._prevVisibleColumn(e-1)}reinitializeWidth(e){this.widthFixed=!1,typeof this.definition.width<"u"&&!e&&this.setWidth(this.definition.width),this.dispatch("column-width-fit-before",this),this.fitToData(e),this.dispatch("column-width-fit-after",this)}fitToData(e){if(!this.isGroup){this.widthFixed||(this.element.style.width="",this.cells.forEach(D=>{D.clearWidth()}));var r=this.element.offsetWidth;if((!this.width||!this.widthFixed)&&(this.cells.forEach(D=>{var x=D.getWidth();x>r&&(r=x)}),r)){var S=r+1;this.maxInitialWidth&&!e&&(S=Math.min(S,this.maxInitialWidth)),this.setWidthActual(S)}}}updateDefinition(e){var r;return this.isGroup||this.parent.isGroup?(console.error("Column Update Error - The updateDefinition function is only available on ungrouped columns"),Promise.reject("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(r=Object.assign({},this.getDefinition()),r=Object.assign(r,e),this.table.columnManager.addColumn(r,!1,this).then(S=>(r.field==this.field&&(this.field=!1),this.delete().then(()=>S.getComponent()))))}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}getComponent(){return this.component||(this.component=new vM(this)),this.component}}cf.defaultOptionList=yM;class Xy{constructor(e){return this._row=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._row.table.componentFunctionBinder.handle("row",r._row,S)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}getIndex(){return this._row.getData("data")[this._row.table.options.index]}getPosition(){return this._row.getPosition()}watchPosition(e){return this._row.watchPosition(e)}delete(){return this._row.delete()}scrollTo(e,r){return this._row.table.rowManager.scrollToRow(this._row,e,r)}move(e,r){this._row.moveToRow(e,r)}update(e){return this._row.updateData(e)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var e=this._row.nextRow();return e&&e.getComponent()}getPrevRow(){var e=this._row.prevRow();return e&&e.getComponent()}}class wl extends Zl{constructor(e,r,S="row"){super(r.table),this.parent=r,this.data={},this.type=S,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.position=0,this.positionWatchers=[],this.component=null,this.created=!1,this.setData(e)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch("row-init",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(e,r){if(this.create(),!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch("row-layout-before",this),this.generateCells(),this.initialized=!0,this.table.columnManager.renderer.renderRowCells(this,r),e&&this.normalizeHeight(),this.dispatch("row-layout",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.dispatch("row-layout-after",this)}else this.table.columnManager.renderer.rerenderRowCells(this,r)}rendered(){this.cells.forEach(e=>{e.cellRendered()})}reinitializeHeight(){this.heightInitialized=!1,this.element&&this.element.offsetParent!==null&&this.normalizeHeight(!0)}deinitialize(){this.initialized=!1}deinitializeHeight(){this.heightInitialized=!1}reinitialize(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&this.element.offsetParent!==null&&this.initialize(!0),this.dispatch("row-relayout",this)}calcHeight(e){var r=0,S;this.table.options.rowHeight?this.height=this.table.options.rowHeight:(S=this.table.options.resizableRows?this.element.clientHeight:0,this.cells.forEach(function(D){var x=D.getHeight();x>r&&(r=x)}),e?this.height=Math.max(r,S):this.height=this.manualHeight?this.height:Math.max(r,S)),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight}setCellHeight(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach(function(e){e.clearHeight()})}normalizeHeight(e){e&&!this.table.options.rowHeight&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()}setHeight(e,r){(this.height!=e||r)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}setData(e){this.data=this.chain("row-data-init-before",[this,e],void 0,e),this.dispatch("row-data-init-after",this)}updateData(e){var r=this.element&&po.elVisible(this.element),S={},D;return new Promise((x,o)=>{typeof e=="string"&&(e=JSON.parse(e)),this.dispatch("row-data-save-before",this),this.subscribed("row-data-changing")&&(S=Object.assign(S,this.data),S=Object.assign(S,e)),D=this.chain("row-data-changing",[this,S,e],null,e);for(let t in D)this.data[t]=D[t];this.dispatch("row-data-save-after",this);for(let t in e)this.table.columnManager.getColumnsByFieldRoot(t).forEach(v=>{let i=this.getCell(v.getField());if(i){let M=v.getFieldValue(D);i.getValue()!==M&&(i.setValueProcessData(M),r&&i.cellRendered())}});r?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=""),this.dispatch("row-data-changed",this,r,e),this.dispatchExternal("rowUpdated",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),x()})}getData(e){return e?this.chain("row-data-retrieve",[this,e],null,this.data):this.data}getCell(e){var r=!1;return e=this.table.columnManager.findColumn(e),!this.initialized&&this.cells.length===0&&this.generateCells(),r=this.cells.find(function(S){return S.column===e}),r}getCellIndex(e){return this.cells.findIndex(function(r){return r===e})}findCell(e){return this.cells.find(r=>r.element===e)}getCells(){return!this.initialized&&this.cells.length===0&&this.generateCells(),this.cells}nextRow(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1}prevRow(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1}moveToRow(e,r){var S=this.table.rowManager.findRow(e);S?(this.table.rowManager.moveRowActual(this,S,!r),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)}delete(){return this.dispatch("row-delete",this),this.deleteActual(),Promise.resolve()}deleteActual(e){this.detachModules(),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch("row-deleted",this)}detachModules(){this.dispatch("row-deleting",this)}deleteCells(){var e=this.cells.length;for(let r=0;r{r(this.position)}))}watchPosition(e){this.positionWatchers.push(e),e(this.position)}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new Xy(this)),this.component}}var oR={avg:function(n,e,r){var S=0,D=typeof r.precision<"u"?r.precision:2;return n.length&&(S=n.reduce(function(x,o){return Number(x)+Number(o)}),S=S/n.length,S=D!==!1?S.toFixed(D):S),parseFloat(S).toString()},max:function(n,e,r){var S=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(x){x=Number(x),(x>S||S===null)&&(S=x)}),S!==null?D!==!1?S.toFixed(D):S:""},min:function(n,e,r){var S=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(x){x=Number(x),(x(n||D===0)&&n.indexOf(D)===x);return S.length}};class Eh extends Xi{constructor(e){super(e),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.blocked=!1,this.recalcAfterBlock=!1,this.registerTableOption("columnCalcs",!0),this.registerColumnOption("topCalc"),this.registerColumnOption("topCalcParams"),this.registerColumnOption("topCalcFormatter"),this.registerColumnOption("topCalcFormatterParams"),this.registerColumnOption("bottomCalc"),this.registerColumnOption("bottomCalcParams"),this.registerColumnOption("bottomCalcFormatter"),this.registerColumnOption("bottomCalcFormatterParams")}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e}initialize(){this.genColumn=new cf({field:"value"},this),this.subscribe("cell-value-changed",this.cellValueChanged.bind(this)),this.subscribe("column-init",this.initializeColumnCheck.bind(this)),this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("column-moved",this.recalcActiveRows.bind(this)),this.subscribe("column-add",this.recalcActiveRows.bind(this)),this.subscribe("data-refreshed",this.recalcActiveRowsRefresh.bind(this)),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("rows-visible",this.visibleRows.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this)),this.subscribe("redraw-blocked",this.blockRedraw.bind(this)),this.subscribe("redraw-restored",this.restoreRedraw.bind(this)),this.subscribe("table-redrawing",this.resizeHolderWidth.bind(this)),this.subscribe("column-resized",this.resizeHolderWidth.bind(this)),this.subscribe("column-show",this.resizeHolderWidth.bind(this)),this.subscribe("column-hide",this.resizeHolderWidth.bind(this)),this.registerTableFunction("getCalcResults",this.getResults.bind(this)),this.registerTableFunction("recalc",this.userRecalc.bind(this)),this.resizeHolderWidth()}resizeHolderWidth(){this.topElement.style.minWidth=this.table.columnManager.headersElement.offsetWidth+"px"}tableRedraw(e){this.recalc(this.table.rowManager.activeRows),e&&this.redraw()}blockRedraw(){this.blocked=!0,this.recalcAfterBlock=!1}restoreRedraw(){this.blocked=!1,this.recalcAfterBlock&&(this.recalcAfterBlock=!1,this.recalcActiveRowsRefresh())}userRecalc(){this.recalc(this.table.rowManager.activeRows)}blockCheck(){return this.blocked&&(this.recalcAfterBlock=!0),this.blocked}visibleRows(e,r){return this.topRow&&r.unshift(this.topRow),this.botRow&&r.push(this.botRow),r}rowsUpdated(e){this.table.options.groupBy?this.recalcRowGroup(e):this.recalcActiveRows()}recalcActiveRowsRefresh(){this.table.options.groupBy&&this.table.options.dataTreeStartExpanded&&this.table.options.dataTree?this.recalcAll():this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(e){(e.column.definition.topCalc||e.column.definition.bottomCalc)&&(this.table.options.groupBy?((this.table.options.columnCalcs=="table"||this.table.options.columnCalcs=="both")&&this.recalcActiveRows(),this.table.options.columnCalcs!="table"&&this.recalcRowGroup(e.row)):this.recalcActiveRows())}initializeColumnCheck(e){(e.definition.topCalc||e.definition.bottomCalc)&&this.initializeColumn(e)}initializeColumn(e){var r=e.definition,S={topCalcParams:r.topCalcParams||{},botCalcParams:r.bottomCalcParams||{}};if(r.topCalc){switch(typeof r.topCalc){case"string":Eh.calculations[r.topCalc]?S.topCalc=Eh.calculations[r.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.topCalc);break;case"function":S.topCalc=r.topCalc;break}S.topCalc&&(e.modules.columnCalcs=S,this.topCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeTopRow())}if(r.bottomCalc){switch(typeof r.bottomCalc){case"string":Eh.calculations[r.bottomCalc]?S.botCalc=Eh.calculations[r.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.bottomCalc);break;case"function":S.botCalc=r.bottomCalc;break}S.botCalc&&(e.modules.columnCalcs=S,this.botCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.footerRemove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()}reinitializeCalcs(){this.topCalcs.length&&this.initializeTopRow(),this.botCalcs.length&&this.initializeBottomRow()}initializeTopRow(){this.topInitialized||(this.table.columnManager.getContentsElement().insertBefore(this.topElement,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.footerPrepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(e){this.botInitialized&&this.botRow&&(this.botElement.scrollLeft=e)}recalc(e){var r,S;if(!this.blockCheck()&&(this.topInitialized||this.botInitialized)){if(r=this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),S=this.generateRow("top",r),this.topRow=S;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(S.getElement()),S.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),S=this.generateRow("bottom",r),this.botRow=S;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(S.getElement()),S.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))}recalcAll(){if((this.topCalcs.length||this.botCalcs.length)&&(this.table.options.columnCalcs!=="group"&&this.recalcActiveRows(),this.table.options.groupBy&&this.table.options.columnCalcs!=="table")){var e=this.table.modules.groupRows.getChildGroups();e.forEach(r=>{this.recalcGroup(r)})}}recalcGroup(e){var r,S;this.blockCheck()||e&&e.calcs&&(e.calcs.bottom&&(r=this.rowsToData(e.rows),S=this.generateRowData("bottom",r),e.calcs.bottom.updateData(S),e.calcs.bottom.reinitialize()),e.calcs.top&&(r=this.rowsToData(e.rows),S=this.generateRowData("top",r),e.calcs.top.updateData(S),e.calcs.top.reinitialize()))}generateTopRow(e){return this.generateRow("top",this.rowsToData(e))}generateBottomRow(e){return this.generateRow("bottom",this.rowsToData(e))}rowsToData(e){var r=[];return e.forEach(S=>{if(r.push(S.getData()),this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs&&S.modules.dataTree&&S.modules.dataTree.open){var D=this.rowsToData(this.table.modules.dataTree.getFilteredTreeChildren(S));r=r.concat(D)}}),r}generateRow(e,r){var S=this.generateRowData(e,r),D;return this.table.modExists("mutator")&&this.table.modules.mutator.disable(),D=new wl(S,this,"calc"),this.table.modExists("mutator")&&this.table.modules.mutator.enable(),D.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),D.component=!1,D.getComponent=()=>(D.component||(D.component=new aR(D)),D.component),D.generateCells=()=>{var x=[];this.table.columnManager.columnsByIndex.forEach(o=>{this.genColumn.setField(o.getField()),this.genColumn.hozAlign=o.hozAlign,o.definition[e+"CalcFormatter"]&&this.table.modExists("format")?this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter(o.definition[e+"CalcFormatter"]),params:o.definition[e+"CalcFormatterParams"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter("plaintext"),params:{}},this.genColumn.definition.cssClass=o.definition.cssClass;var t=new ng(this.genColumn,D);t.getElement(),t.column=o,t.setWidth(),o.cells.push(t),x.push(t),o.visible||t.hide()}),D.cells=x},D}generateRowData(e,r){var S={},D=e=="top"?this.topCalcs:this.botCalcs,x=e=="top"?"topCalc":"botCalc",o,t;return D.forEach(function(d){var v=[];d.modules.columnCalcs&&d.modules.columnCalcs[x]&&(r.forEach(function(i){v.push(d.getFieldValue(i))}),t=x+"Params",o=typeof d.modules.columnCalcs[t]=="function"?d.modules.columnCalcs[t](v,r):d.modules.columnCalcs[t],d.setFieldValue(S,d.modules.columnCalcs[x](v,r,o)))}),S}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var e={},r;return this.table.options.groupBy&&this.table.modExists("groupRows")?(r=this.table.modules.groupRows.getGroups(!0),r.forEach(S=>{e[S.getKey()]=this.getGroupResults(S)})):e={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},e}getGroupResults(e){var r=e._getSelf(),S=e.getSubGroups(),D={},x={};return S.forEach(o=>{D[o.getKey()]=this.getGroupResults(o)}),x={top:r.calcs.top?r.calcs.top.getData():{},bottom:r.calcs.bottom?r.calcs.bottom.getData():{},groups:D},x}adjustForScrollbar(e){this.botRow&&(this.table.rtl?this.botElement.style.paddingLeft=e+"px":this.botElement.style.paddingRight=e+"px")}}Eh.moduleName="columnCalcs";Eh.calculations=oR;class bM extends Xi{constructor(e){super(e),this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.registerTableOption("dataTree",!1),this.registerTableOption("dataTreeFilter",!0),this.registerTableOption("dataTreeSort",!0),this.registerTableOption("dataTreeElementColumn",!1),this.registerTableOption("dataTreeBranchElement",!0),this.registerTableOption("dataTreeChildIndent",9),this.registerTableOption("dataTreeChildField","_children"),this.registerTableOption("dataTreeCollapseElement",!1),this.registerTableOption("dataTreeExpandElement",!1),this.registerTableOption("dataTreeStartExpanded",!1),this.registerTableOption("dataTreeChildColumnCalcs",!1),this.registerTableOption("dataTreeSelectPropagate",!1),this.registerComponentFunction("row","treeCollapse",this.collapseRow.bind(this)),this.registerComponentFunction("row","treeExpand",this.expandRow.bind(this)),this.registerComponentFunction("row","treeToggle",this.toggleRow.bind(this)),this.registerComponentFunction("row","getTreeParent",this.getTreeParent.bind(this)),this.registerComponentFunction("row","getTreeChildren",this.getRowChildren.bind(this)),this.registerComponentFunction("row","addTreeChild",this.addTreeChildRow.bind(this)),this.registerComponentFunction("row","isTreeExpanded",this.isRowExpanded.bind(this))}initialize(){if(this.table.options.dataTree){var e=null,r=this.table.options;switch(this.field=r.dataTreeChildField,this.indent=r.dataTreeChildIndent,this.options("movableRows")&&console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"),r.dataTreeBranchElement?r.dataTreeBranchElement===!0?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):typeof r.dataTreeBranchElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=r.dataTreeBranchElement:(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch-empty")),r.dataTreeCollapseElement?typeof r.dataTreeCollapseElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=r.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="
"),r.dataTreeExpandElement?typeof r.dataTreeExpandElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=r.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="
"),typeof r.dataTreeStartExpanded){case"boolean":this.startOpen=function(S,D){return r.dataTreeStartExpanded};break;case"function":this.startOpen=r.dataTreeStartExpanded;break;default:this.startOpen=function(S,D){return r.dataTreeStartExpanded[D]};break}this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("row-deleted",this.rowDelete.bind(this),0),this.subscribe("row-data-changed",this.rowDataChanged.bind(this),10),this.subscribe("cell-value-updated",this.cellValueChanged.bind(this)),this.subscribe("edit-cancelled",this.cellValueChanged.bind(this)),this.subscribe("column-moving-rows",this.columnMoving.bind(this)),this.subscribe("table-built",this.initializeElementField.bind(this)),this.subscribe("table-redrawing",this.tableRedrawing.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}tableRedrawing(e){var r;e&&(r=this.table.rowManager.getRows(),r.forEach(S=>{this.reinitializeRowChildren(S)}))}initializeElementField(){var e=this.table.columnManager.getFirstVisibleColumn();this.elementField=this.table.options.dataTreeElementColumn||(e?e.field:!1)}getRowChildren(e){return this.getTreeChildren(e,!0)}columnMoving(){var e=[];return this.table.rowManager.rows.forEach(r=>{e=e.concat(this.getTreeChildren(r,!1,!0))}),e}rowDataChanged(e,r,S){this.redrawNeeded(S)&&(this.initializeRow(e),r&&(this.layoutRow(e),this.refreshData(!0)))}cellValueChanged(e){var r=e.column.getField();r===this.elementField&&this.layoutRow(e.row)}initializeRow(e){var r=e.getData()[this.field],S=Array.isArray(r),D=S||!S&&typeof r=="object"&&r!==null;!D&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!D&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:D?e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0):!1,controlEl:e.modules.dataTree&&D?e.modules.dataTree.controlEl:!1,branchEl:e.modules.dataTree&&D?e.modules.dataTree.branchEl:!1,parent:e.modules.dataTree?e.modules.dataTree.parent:!1,children:D}}reinitializeRowChildren(e){var r=this.getTreeChildren(e,!1,!0);r.forEach(function(S){S.reinitialize(!0)})}layoutRow(e){var r=this.elementField?e.getCell(this.elementField):e.getCells()[0],S=r.getElement(),D=e.modules.dataTree;D.branchEl&&(D.branchEl.parentNode&&D.branchEl.parentNode.removeChild(D.branchEl),D.branchEl=!1),D.controlEl&&(D.controlEl.parentNode&&D.controlEl.parentNode.removeChild(D.controlEl),D.controlEl=!1),this.generateControlElement(e,S),e.getElement().classList.add("tabulator-tree-level-"+D.index),D.index&&(this.branchEl?(D.branchEl=this.branchEl.cloneNode(!0),S.insertBefore(D.branchEl,S.firstChild),this.table.rtl?D.branchEl.style.marginRight=(D.branchEl.offsetWidth+D.branchEl.style.marginLeft)*(D.index-1)+D.index*this.indent+"px":D.branchEl.style.marginLeft=(D.branchEl.offsetWidth+D.branchEl.style.marginRight)*(D.index-1)+D.index*this.indent+"px"):this.table.rtl?S.style.paddingRight=parseInt(window.getComputedStyle(S,null).getPropertyValue("padding-right"))+D.index*this.indent+"px":S.style.paddingLeft=parseInt(window.getComputedStyle(S,null).getPropertyValue("padding-left"))+D.index*this.indent+"px")}generateControlElement(e,r){var S=e.modules.dataTree,D=S.controlEl;r=r||e.getCells()[0].getElement(),S.children!==!1&&(S.open?(S.controlEl=this.collapseEl.cloneNode(!0),S.controlEl.addEventListener("click",x=>{x.stopPropagation(),this.collapseRow(e)})):(S.controlEl=this.expandEl.cloneNode(!0),S.controlEl.addEventListener("click",x=>{x.stopPropagation(),this.expandRow(e)})),S.controlEl.addEventListener("mousedown",x=>{x.stopPropagation()}),D&&D.parentNode===r?D.parentNode.replaceChild(S.controlEl,D):r.insertBefore(S.controlEl,r.firstChild))}getRows(e){var r=[];return e.forEach((S,D)=>{var x,o;r.push(S),S instanceof wl&&(S.create(),x=S.modules.dataTree,!x.index&&x.children!==!1&&(o=this.getChildren(S),o.forEach(t=>{t.create(),r.push(t)})))}),r}getChildren(e,r){var S=e.modules.dataTree,D=[],x=[];return S.children!==!1&&(S.open||r)&&(Array.isArray(S.children)||(S.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(S.children):D=S.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(D),D.forEach(o=>{x.push(o);var t=this.getChildren(o);t.forEach(d=>{x.push(d)})})),x}generateChildren(e){var r=[],S=e.getData()[this.field];return Array.isArray(S)||(S=[S]),S.forEach(D=>{var x=new wl(D||{},this.table.rowManager);x.create(),x.modules.dataTree.index=e.modules.dataTree.index+1,x.modules.dataTree.parent=e,x.modules.dataTree.children&&(x.modules.dataTree.open=this.startOpen(x.getComponent(),x.modules.dataTree.index)),r.push(x)}),r}expandRow(e,r){var S=e.modules.dataTree;S.children!==!1&&(S.open=!0,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowExpanded",e.getComponent(),e.modules.dataTree.index))}collapseRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open=!1,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowCollapsed",e.getComponent(),e.modules.dataTree.index))}toggleRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open?this.collapseRow(e):this.expandRow(e))}isRowExpanded(e){return e.modules.dataTree.open}getTreeParent(e){return e.modules.dataTree.parent?e.modules.dataTree.parent.getComponent():!1}getTreeParentRoot(e){return e.modules.dataTree&&e.modules.dataTree.parent?this.getTreeParentRoot(e.modules.dataTree.parent):e}getFilteredTreeChildren(e){var r=e.modules.dataTree,S=[],D;return r.children&&(Array.isArray(r.children)||(r.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(r.children):D=r.children,D.forEach(x=>{x instanceof wl&&S.push(x)})),S}rowDelete(e){var r=e.modules.dataTree.parent,S;r&&(S=this.findChildIndex(e,r),S!==!1&&r.data[this.field].splice(S,1),r.data[this.field].length||delete r.data[this.field],this.initializeRow(r),this.layoutRow(r)),this.refreshData(!0)}addTreeChildRow(e,r,S,D){var x=!1;typeof r=="string"&&(r=JSON.parse(r)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),typeof D<"u"&&(x=this.findChildIndex(D,e),x!==!1&&e.data[this.field].splice(S?x:x+1,0,r)),x===!1&&(S?e.data[this.field].unshift(r):e.data[this.field].push(r)),this.initializeRow(e),this.layoutRow(e),this.refreshData(!0)}findChildIndex(e,r){var S=!1;return typeof e=="object"?e instanceof wl?S=e.data:e instanceof Xy?S=e._getSelf().data:typeof HTMLElement<"u"&&e instanceof HTMLElement?r.modules.dataTree&&(S=r.modules.dataTree.children.find(D=>D instanceof wl?D.element===e:!1),S&&(S=S.data)):e===null&&(S=!1):typeof e>"u"?S=!1:S=r.data[this.field].find(D=>D.data[this.table.options.index]==e),S&&(Array.isArray(r.data[this.field])&&(S=r.data[this.field].indexOf(S)),S==-1&&(S=!1)),S}getTreeChildren(e,r,S){var D=e.modules.dataTree,x=[];return D&&D.children&&(Array.isArray(D.children)||(D.children=this.generateChildren(e)),D.children.forEach(o=>{o instanceof wl&&(x.push(r?o.getComponent():o),S&&(x=x.concat(this.getTreeChildren(o,r,S))))})),x}getChildField(){return this.field}redrawNeeded(e){return(this.field?typeof e[this.field]<"u":!1)||(this.elementField?typeof e[this.elementField]<"u":!1)}}bM.moduleName="dataTree";function sR(n,e={},r){var S=e.delimiter?e.delimiter:",",D=[],x=[];n.forEach(o=>{var t=[];switch(o.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":o.columns.forEach((d,v)=>{d&&d.depth===1&&(x[v]=typeof d.value>"u"||d.value===null?"":'"'+String(d.value).split('"').join('""')+'"')});break;case"row":o.columns.forEach(d=>{if(d){switch(typeof d.value){case"object":d.value=d.value!==null?JSON.stringify(d.value):"";break;case"undefined":d.value="";break}t.push('"'+String(d.value).split('"').join('""')+'"')}}),D.push(t.join(S));break}}),x.length&&D.unshift(x.join(S)),D=D.join(` +`),e.bom&&(D="\uFEFF"+D),r(D,"text/csv")}function lR(n,e,r){var S=[];n.forEach(D=>{var x={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(o=>{o&&(x[o.component.getTitleDownload()||o.component.getField()]=o.value)}),S.push(x);break}}),S=JSON.stringify(S,null," "),r(S,"application/json")}function uR(n,e={},r){var S=[],D=[],x={},o=e.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},t=e.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},d=e.jsPDF||{},v=e.title?e.title:"";d.orientation||(d.orientation=e.orientation||"landscape"),d.unit||(d.unit="pt"),n.forEach(g=>{switch(g.type){case"header":S.push(i(g));break;case"group":D.push(i(g,o));break;case"calc":D.push(i(g,t));break;case"row":D.push(i(g));break}});function i(g,p){var u=[];return g.columns.forEach(a=>{var c;if(a){switch(typeof a.value){case"object":a.value=a.value!==null?JSON.stringify(a.value):"";break;case"undefined":a.value="";break}c={content:a.value,colSpan:a.width,rowSpan:a.height},p&&(c.styles=p),u.push(c)}}),u}var M=new jspdf.jsPDF(d);e.autoTable&&(typeof e.autoTable=="function"?x=e.autoTable(M)||{}:x=e.autoTable),v&&(x.didDrawPage=function(g){M.text(v,40,30)}),x.head=S,x.body=D,M.autoTable(x),e.documentProcessing&&e.documentProcessing(M),r(M.output("arraybuffer"),"application/pdf")}function cR(n,e,r){var S=this,D=e.sheetName||"Sheet1",x=XLSX.utils.book_new(),o=new Zl(this),t="compress"in e?e.compress:!0,d=e.writeOptions||{bookType:"xlsx",bookSST:!0,compression:t},v;d.type="binary",x.SheetNames=[],x.Sheets={};function i(){var p=[],u=[],a={},c={s:{c:0,r:0},e:{c:n[0]?n[0].columns.reduce((s,l)=>s+(l&&l.width?l.width:1),0):0,r:n.length}};return n.forEach((s,l)=>{var h=[];s.columns.forEach(function(f,m){f?(h.push(!(f.value instanceof Date)&&typeof f.value=="object"?JSON.stringify(f.value):f.value),(f.width>1||f.height>-1)&&(f.height>1||f.width>1)&&u.push({s:{r:l,c:m},e:{r:l+f.height-1,c:m+f.width-1}})):h.push("")}),p.push(h)}),XLSX.utils.sheet_add_aoa(a,p),a["!ref"]=XLSX.utils.encode_range(c),u.length&&(a["!merges"]=u),a}if(e.sheetOnly){r(i());return}if(e.sheets)for(var M in e.sheets)e.sheets[M]===!0?(x.SheetNames.push(M),x.Sheets[M]=i()):(x.SheetNames.push(M),o.commsSend(e.sheets[M],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:S.active,intercept:function(p){x.Sheets[M]=p}}));else x.SheetNames.push(D),x.Sheets[D]=i();e.documentProcessing&&(x=e.documentProcessing(x));function g(p){for(var u=new ArrayBuffer(p.length),a=new Uint8Array(u),c=0;c!=p.length;++c)a[c]=p.charCodeAt(c)&255;return u}v=XLSX.write(x,d),r(g(v),"application/octet-stream")}function fR(n,e,r){this.modExists("export",!0)&&r(this.modules.export.generateHTMLTable(n),"text/html")}function hR(n,e,r){const S=[];n.forEach(D=>{const x={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(o=>{o&&(x[o.component.getTitleDownload()||o.component.getField()]=o.value)}),S.push(JSON.stringify(x));break}}),r(S.join(` +`),"application/x-ndjson")}var dR={csv:sR,json:lR,jsonLines:hR,pdf:uR,xlsx:cR,html:fR};class Qp extends Xi{constructor(e){super(e),this.registerTableOption("downloadEncoder",function(r,S){return new Blob([r],{type:S})}),this.registerTableOption("downloadReady",void 0),this.registerTableOption("downloadConfig",{}),this.registerTableOption("downloadRowRange","active"),this.registerColumnOption("download"),this.registerColumnOption("titleDownload")}initialize(){this.deprecatedOptionsCheck(),this.registerTableFunction("download",this.download.bind(this)),this.registerTableFunction("downloadToTab",this.downloadToTab.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("downloadReady","downloadEncoder")}downloadToTab(e,r,S,D){this.download(e,r,S,D,!0)}download(e,r,S,D,x){var o=!1;function t(v,i){x?x===!0?this.triggerDownload(v,i,e,r,!0):x(v):this.triggerDownload(v,i,e,r)}if(typeof e=="function"?o=e:Qp.downloaders[e]?o=Qp.downloaders[e]:console.warn("Download Error - No such download type found: ",e),o){var d=this.generateExportList(D);o.call(this.table,d,S||{},t.bind(this))}}generateExportList(e){var r=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,e||this.table.options.downloadRowRange,"download"),S=this.table.options.groupHeaderDownload;return S&&!Array.isArray(S)&&(S=[S]),r.forEach(D=>{var x;D.type==="group"&&(x=D.columns[0],S&&S[D.indent]&&(x.value=S[D.indent](x.value,D.component._group.getRowCount(),D.component._group.getData(),D.component)))}),r}triggerDownload(e,r,S,D,x){var o=document.createElement("a"),t=this.table.options.downloadEncoder(e,r);t&&(x?window.open(window.URL.createObjectURL(t)):(D=D||"Tabulator."+(typeof S=="function"?"txt":S),navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(t,D):(o.setAttribute("href",window.URL.createObjectURL(t)),o.setAttribute("download",D),o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o))),this.dispatchExternal("downloadComplete"))}commsReceived(e,r,S){switch(r){case"intercept":this.download(S.type,"",S.options,S.active,S.intercept);break}}}Qp.moduleName="download";Qp.downloaders=dR;function Ky(n,e){var r=e.mask,S=typeof e.maskLetterChar<"u"?e.maskLetterChar:"A",D=typeof e.maskNumberChar<"u"?e.maskNumberChar:"9",x=typeof e.maskWildcardChar<"u"?e.maskWildcardChar:"*";function o(t){var d=r[t];typeof d<"u"&&d!==x&&d!==S&&d!==D&&(n.value=n.value+""+d,o(t+1))}n.addEventListener("keydown",t=>{var d=n.value.length,v=t.key;if(t.keyCode>46&&!t.ctrlKey&&!t.metaKey){if(d>=r.length)return t.preventDefault(),t.stopPropagation(),!1;switch(r[d]){case S:if(v.toUpperCase()==v.toLowerCase())return t.preventDefault(),t.stopPropagation(),!1;break;case D:if(isNaN(v))return t.preventDefault(),t.stopPropagation(),!1;break;case x:break;default:if(v!==r[d])return t.preventDefault(),t.stopPropagation(),!1}}}),n.addEventListener("keyup",t=>{t.keyCode>46&&e.maskAutoFill&&o(n.value.length)}),n.placeholder||(n.placeholder=r),e.maskAutoFill&&o(n.value.length)}function pR(n,e,r,S,D){var x=n.getValue(),o=document.createElement("input");if(o.setAttribute("type",D.search?"search":"text"),o.style.padding="4px",o.style.width="100%",o.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),o.setAttribute(d,o.getAttribute(d)+D.elementAttributes["+"+d])):o.setAttribute(d,D.elementAttributes[d]);o.value=typeof x<"u"?x:"",e(function(){n.getType()==="cell"&&(o.focus({preventScroll:!0}),o.style.height="100%",D.selectContents&&o.select())});function t(d){(x===null||typeof x>"u")&&o.value!==""||o.value!==x?r(o.value)&&(x=o.value):S()}return o.addEventListener("change",t),o.addEventListener("blur",t),o.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:S();break;case 35:case 36:d.stopPropagation();break}}),D.mask&&Ky(o,D),o}function mR(n,e,r,S,D){var x=n.getValue(),o=D.verticalNavigation||"hybrid",t=String(x!==null&&typeof x<"u"?x:""),d=document.createElement("textarea"),v=0;if(d.style.display="block",d.style.padding="2px",d.style.height="100%",d.style.width="100%",d.style.boxSizing="border-box",d.style.whiteSpace="pre-wrap",d.style.resize="none",D.elementAttributes&&typeof D.elementAttributes=="object")for(let M in D.elementAttributes)M.charAt(0)=="+"?(M=M.slice(1),d.setAttribute(M,d.getAttribute(M)+D.elementAttributes["+"+M])):d.setAttribute(M,D.elementAttributes[M]);d.value=t,e(function(){n.getType()==="cell"&&(d.focus({preventScroll:!0}),d.style.height="100%",d.scrollHeight,d.style.height=d.scrollHeight+"px",n.getRow().normalizeHeight(),D.selectContents&&d.select())});function i(M){(x===null||typeof x>"u")&&d.value!==""||d.value!==x?(r(d.value)&&(x=d.value),setTimeout(function(){n.getRow().normalizeHeight()},300)):S()}return d.addEventListener("change",i),d.addEventListener("blur",i),d.addEventListener("keyup",function(){d.style.height="";var M=d.scrollHeight;d.style.height=M+"px",M!=v&&(v=M,n.getRow().normalizeHeight())}),d.addEventListener("keydown",function(M){switch(M.keyCode){case 13:M.shiftKey&&D.shiftEnterSubmit&&i();break;case 27:S();break;case 38:(o=="editor"||o=="hybrid"&&d.selectionStart)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 40:(o=="editor"||o=="hybrid"&&d.selectionStart!==d.value.length)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 35:case 36:M.stopPropagation();break}}),D.mask&&Ky(d,D),d}function gR(n,e,r,S,D){var x=n.getValue(),o=D.verticalNavigation||"editor",t=document.createElement("input");if(t.setAttribute("type","number"),typeof D.max<"u"&&t.setAttribute("max",D.max),typeof D.min<"u"&&t.setAttribute("min",D.min),typeof D.step<"u"&&t.setAttribute("step",D.step),t.style.padding="4px",t.style.width="100%",t.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let i in D.elementAttributes)i.charAt(0)=="+"?(i=i.slice(1),t.setAttribute(i,t.getAttribute(i)+D.elementAttributes["+"+i])):t.setAttribute(i,D.elementAttributes[i]);t.value=x;var d=function(i){v()};e(function(){n.getType()==="cell"&&(t.removeEventListener("blur",d),t.focus({preventScroll:!0}),t.style.height="100%",t.addEventListener("blur",d),D.selectContents&&t.select())});function v(){var i=t.value;!isNaN(i)&&i!==""&&(i=Number(i)),i!==x?r(i)&&(x=i):S()}return t.addEventListener("keydown",function(i){switch(i.keyCode){case 13:v();break;case 27:S();break;case 38:case 40:o=="editor"&&(i.stopImmediatePropagation(),i.stopPropagation());break;case 35:case 36:i.stopPropagation();break}}),D.mask&&Ky(t,D),t}function vR(n,e,r,S,D){var x=n.getValue(),o=document.createElement("input");if(o.setAttribute("type","range"),typeof D.max<"u"&&o.setAttribute("max",D.max),typeof D.min<"u"&&o.setAttribute("min",D.min),typeof D.step<"u"&&o.setAttribute("step",D.step),o.style.padding="4px",o.style.width="100%",o.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),o.setAttribute(d,o.getAttribute(d)+D.elementAttributes["+"+d])):o.setAttribute(d,D.elementAttributes[d]);o.value=x,e(function(){n.getType()==="cell"&&(o.focus({preventScroll:!0}),o.style.height="100%")});function t(){var d=o.value;!isNaN(d)&&d!==""&&(d=Number(d)),d!=x?r(d)&&(x=d):S()}return o.addEventListener("blur",function(d){t()}),o.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:S();break}}),o}function yR(n,e,r,S,D){var x=D.format,o=D.verticalNavigation||"editor",t=x?window.DateTime||luxon.DateTime:null,d=n.getValue(),v=document.createElement("input");function i(g){var p;return t.isDateTime(g)?p=g:x==="iso"?p=t.fromISO(String(g)):p=t.fromFormat(String(g),x),p.toFormat("yyyy-MM-dd")}if(v.type="date",v.style.padding="4px",v.style.width="100%",v.style.boxSizing="border-box",D.max&&v.setAttribute("max",x?i(D.max):D.max),D.min&&v.setAttribute("min",x?i(D.min):D.min),D.elementAttributes&&typeof D.elementAttributes=="object")for(let g in D.elementAttributes)g.charAt(0)=="+"?(g=g.slice(1),v.setAttribute(g,v.getAttribute(g)+D.elementAttributes["+"+g])):v.setAttribute(g,D.elementAttributes[g]);d=typeof d<"u"?d:"",x&&(t?d=i(d):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),v.value=d,e(function(){n.getType()==="cell"&&(v.focus({preventScroll:!0}),v.style.height="100%",D.selectContents&&v.select())});function M(){var g=v.value,p;if((d===null||typeof d>"u")&&g!==""||g!==d){if(g&&x)switch(p=t.fromFormat(String(g),"yyyy-MM-dd"),x){case!0:g=p;break;case"iso":g=p.toISO();break;default:g=p.toFormat(x)}r(g)&&(d=v.value)}else S()}return v.addEventListener("blur",function(g){(g.relatedTarget||g.rangeParent||g.explicitOriginalTarget!==v)&&M()}),v.addEventListener("keydown",function(g){switch(g.keyCode){case 13:M();break;case 27:S();break;case 35:case 36:g.stopPropagation();break;case 38:case 40:o=="editor"&&(g.stopImmediatePropagation(),g.stopPropagation());break}}),v}function bR(n,e,r,S,D){var x=D.format,o=D.verticalNavigation||"editor",t=x?window.DateTime||luxon.DateTime:null,d,v=n.getValue(),i=document.createElement("input");if(i.type="time",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let g in D.elementAttributes)g.charAt(0)=="+"?(g=g.slice(1),i.setAttribute(g,i.getAttribute(g)+D.elementAttributes["+"+g])):i.setAttribute(g,D.elementAttributes[g]);v=typeof v<"u"?v:"",x&&(t?(t.isDateTime(v)?d=v:x==="iso"?d=t.fromISO(String(v)):d=t.fromFormat(String(v),x),v=d.toFormat("hh:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),i.value=v,e(function(){n.getType()=="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var g=i.value,p;if((v===null||typeof v>"u")&&g!==""||g!==v){if(g&&x)switch(p=t.fromFormat(String(g),"hh:mm"),x){case!0:g=p;break;case"iso":g=p.toISO();break;default:g=p.toFormat(x)}r(g)&&(v=i.value)}else S()}return i.addEventListener("blur",function(g){(g.relatedTarget||g.rangeParent||g.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(g){switch(g.keyCode){case 13:M();break;case 27:S();break;case 35:case 36:g.stopPropagation();break;case 38:case 40:o=="editor"&&(g.stopImmediatePropagation(),g.stopPropagation());break}}),i}function xR(n,e,r,S,D){var x=D.format,o=D.verticalNavigation||"editor",t=x?window.DateTime||luxon.DateTime:null,d,v=n.getValue(),i=document.createElement("input");if(i.type="datetime-local",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let g in D.elementAttributes)g.charAt(0)=="+"?(g=g.slice(1),i.setAttribute(g,i.getAttribute(g)+D.elementAttributes["+"+g])):i.setAttribute(g,D.elementAttributes[g]);v=typeof v<"u"?v:"",x&&(t?(t.isDateTime(v)?d=v:x==="iso"?d=t.fromISO(String(v)):d=t.fromFormat(String(v),x),v=d.toFormat("yyyy-MM-dd")+"T"+d.toFormat("hh:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),i.value=v,e(function(){n.getType()==="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var g=i.value,p;if((v===null||typeof v>"u")&&g!==""||g!==v){if(g&&x)switch(p=t.fromISO(String(g)),x){case!0:g=p;break;case"iso":g=p.toISO();break;default:g=p.toFormat(x)}r(g)&&(v=i.value)}else S()}return i.addEventListener("blur",function(g){(g.relatedTarget||g.rangeParent||g.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(g){switch(g.keyCode){case 13:M();break;case 27:S();break;case 35:case 36:g.stopPropagation();break;case 38:case 40:o=="editor"&&(g.stopImmediatePropagation(),g.stopPropagation());break}}),i}class g_{constructor(e,r,S,D,x,o){this.edit=e,this.table=e.table,this.cell=r,this.params=this._initializeParams(o),this.data=[],this.displayItems=[],this.currentItems=[],this.focusedItem=null,this.input=this._createInputElement(),this.listEl=this._createListElement(),this.initialValues=null,this.isFilter=r.getType()==="header",this.filterTimeout=null,this.filtered=!1,this.typing=!1,this.values=[],this.popup=null,this.listIteration=0,this.lastAction="",this.filterTerm="",this.blurable=!0,this.actions={success:D,cancel:x},this._deprecatedOptionsCheck(),this._initializeValue(),S(this._onRendered.bind(this))}_deprecatedOptionsCheck(){this.params.listItemFormatter&&this.cell.getTable().deprecationAdvisor.msg("The listItemFormatter editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.sortValuesList&&this.cell.getTable().deprecationAdvisor.msg("The sortValuesList editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchFunc&&this.cell.getTable().deprecationAdvisor.msg("The searchFunc editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchingPlaceholder&&this.cell.getTable().deprecationAdvisor.msg("The searchingPlaceholder editor param has been deprecated, please see the latest editor documentation for updated options")}_initializeValue(){var e=this.cell.getValue();typeof e>"u"&&typeof this.params.defaultValue<"u"&&(e=this.params.defaultValue),this.initialValues=this.params.multiselect?e:[e],this.isFilter&&(this.input.value=this.initialValues?this.initialValues.join(","):"",this.headerFilterInitialListGen())}_onRendered(){var e=this.cell.getElement();function r(S){S.stopPropagation()}this.isFilter||(this.input.style.height="100%",this.input.focus({preventScroll:!0})),e.addEventListener("click",r),setTimeout(()=>{e.removeEventListener("click",r)},1e3),this.input.addEventListener("mousedown",this._preventPopupBlur.bind(this))}_createListElement(){var e=document.createElement("div");return e.classList.add("tabulator-edit-list"),e.addEventListener("mousedown",this._preventBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e}_setListWidth(){var e=this.isFilter?this.input:this.cell.getElement();this.listEl.style.minWidth=e.offsetWidth+"px",this.params.maxWidth&&(this.params.maxWidth===!0?this.listEl.style.maxWidth=e.offsetWidth+"px":typeof this.params.maxWidth=="number"?this.listEl.style.maxWidth=this.params.maxWidth+"px":this.listEl.style.maxWidth=this.params.maxWidth)}_createInputElement(){var e=this.params.elementAttributes,r=document.createElement("input");if(r.setAttribute("type",this.params.clearable?"search":"text"),r.style.padding="4px",r.style.width="100%",r.style.boxSizing="border-box",this.params.autocomplete||(r.style.cursor="default",r.style.caretColor="transparent"),e&&typeof e=="object")for(let S in e)S.charAt(0)=="+"?(S=S.slice(1),r.setAttribute(S,r.getAttribute(S)+e["+"+S])):r.setAttribute(S,e[S]);return this.params.mask&&Ky(r,this.params),this._bindInputEvents(r),r}_initializeParams(e){var r=["values","valuesURL","valuesLookup"],S;return e=Object.assign({},e),e.verticalNavigation=e.verticalNavigation||"editor",e.placeholderLoading=typeof e.placeholderLoading>"u"?"Searching ...":e.placeholderLoading,e.placeholderEmpty=typeof e.placeholderEmpty>"u"?"No Results Found":e.placeholderEmpty,e.filterDelay=typeof e.filterDelay>"u"?300:e.filterDelay,e.emptyValue=Object.keys(e).includes("emptyValue")?e.emptyValue:"",S=Object.keys(e).filter(D=>r.includes(D)).length,S?S>1&&console.warn("list editor config error - only one of the values, valuesURL, or valuesLookup options can be set on the same editor"):console.warn("list editor config error - either the values, valuesURL, or valuesLookup option must be set"),e.autocomplete?e.multiselect&&(e.multiselect=!1,console.warn("list editor config error - multiselect option is not available when autocomplete is enabled")):(e.freetext&&(e.freetext=!1,console.warn("list editor config error - freetext option is only available when autocomplete is enabled")),e.filterFunc&&(e.filterFunc=!1,console.warn("list editor config error - filterFunc option is only available when autocomplete is enabled")),e.filterRemote&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option is only available when autocomplete is enabled")),e.mask&&(e.mask=!1,console.warn("list editor config error - mask option is only available when autocomplete is enabled")),e.allowEmpty&&(e.allowEmpty=!1,console.warn("list editor config error - allowEmpty option is only available when autocomplete is enabled")),e.listOnEmpty&&(e.listOnEmpty=!1,console.warn("list editor config error - listOnEmpty option is only available when autocomplete is enabled"))),e.filterRemote&&!(typeof e.valuesLookup=="function"||e.valuesURL)&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option should only be used when values list is populated from a remote source")),e}_bindInputEvents(e){e.addEventListener("focus",this._inputFocus.bind(this)),e.addEventListener("click",this._inputClick.bind(this)),e.addEventListener("blur",this._inputBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e.addEventListener("search",this._inputSearch.bind(this)),this.params.autocomplete&&e.addEventListener("keyup",this._inputKeyUp.bind(this))}_inputFocus(e){this.rebuildOptionsList()}_filter(){this.params.filterRemote?(clearTimeout(this.filterTimeout),this.filterTimeout=setTimeout(()=>{this.rebuildOptionsList()},this.params.filterDelay)):this._filterList()}_inputClick(e){e.stopPropagation()}_inputBlur(e){this.blurable&&(this.popup?this.popup.hide():this._resolveValue(!0))}_inputSearch(){this._clearChoices()}_inputKeyDown(e){switch(e.keyCode){case 38:this._keyUp(e);break;case 40:this._keyDown(e);break;case 37:case 39:this._keySide(e);break;case 13:this._keyEnter();break;case 27:this._keyEsc();break;case 36:case 35:this._keyHomeEnd(e);break;case 9:this._keyTab(e);break;default:this._keySelectLetter(e)}}_inputKeyUp(e){switch(e.keyCode){case 38:case 37:case 39:case 40:case 13:case 27:break;default:this._keyAutoCompLetter(e)}}_preventPopupBlur(){this.popup&&this.popup.blockHide(),setTimeout(()=>{this.popup&&this.popup.restoreHide()},10)}_preventBlur(){this.blurable=!1,setTimeout(()=>{this.blurable=!0},10)}_keyTab(e){this.params.autocomplete&&this.lastAction==="typing"?this._resolveValue(!0):this.focusedItem&&this._chooseItem(this.focusedItem,!0)}_keyUp(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),r>0&&this._focusItem(this.displayItems[r-1]))}_keyDown(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r=38&&e.keyCode<=90&&this._scrollToValue(e.keyCode))}_keyAutoCompLetter(e){this._filter(),this.lastAction="typing",this.typing=!0}_scrollToValue(e){clearTimeout(this.filterTimeout);var r=String.fromCharCode(e).toLowerCase();this.filterTerm+=r.toLowerCase();var S=this.displayItems.find(D=>typeof D.label<"u"&&D.label.toLowerCase().startsWith(this.filterTerm));S&&this._focusItem(S),this.filterTimeout=setTimeout(()=>{this.filterTerm=""},800)}_focusItem(e){this.lastAction="focus",this.focusedItem&&this.focusedItem.element&&this.focusedItem.element.classList.remove("focused"),this.focusedItem=e,e&&e.element&&(e.element.classList.add("focused"),e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}))}headerFilterInitialListGen(){this._generateOptions(!0)}rebuildOptionsList(){this._generateOptions().then(this._sortOptions.bind(this)).then(this._buildList.bind(this)).then(this._showList.bind(this)).catch(e=>{Number.isInteger(e)||console.error("List generation error",e)})}_filterList(){this._buildList(this._filterOptions()),this._showList()}_generateOptions(e){var r=[],S=++this.listIteration;return this.filtered=!1,this.params.values?r=this.params.values:this.params.valuesURL?r=this._ajaxRequest(this.params.valuesURL,this.input.value):typeof this.params.valuesLookup=="function"?r=this.params.valuesLookup(this.cell,this.input.value):this.params.valuesLookup&&(r=this._uniqueColumnValues(this.params.valuesLookupField)),r instanceof Promise?(e||this._addPlaceholder(this.params.placeholderLoading),r.then().then(D=>this.listIteration===S?this._parseList(D):Promise.reject(S))):Promise.resolve(this._parseList(r))}_addPlaceholder(e){var r=document.createElement("div");typeof e=="function"&&(e=e(this.cell.getComponent(),this.listEl)),e&&(this._clearList(),e instanceof HTMLElement?r=e:(r.classList.add("tabulator-edit-list-placeholder"),r.innerHTML=e),this.listEl.appendChild(r),this._showList())}_ajaxRequest(e,r){var S=this.params.filterRemote?{term:r}:{};return e=mM(e,{},S),fetch(e).then(D=>D.ok?D.json().catch(x=>(console.warn("List Ajax Load Error - Invalid JSON returned",x),Promise.reject(x))):(console.error("List Ajax Load Error - Connection Error: "+D.status,D.statusText),Promise.reject(D))).catch(D=>(console.error("List Ajax Load Error - Connection Error: ",D),Promise.reject(D)))}_uniqueColumnValues(e){var r={},S=this.table.getData(this.params.valuesLookup),D;return e?D=this.table.columnManager.getColumnByField(e):D=this.cell.getColumn()._getSelf(),D?S.forEach(x=>{var o=D.getFieldValue(x);o!==null&&typeof o<"u"&&o!==""&&(r[o]=!0)}):(console.warn("unable to find matching column to create select lookup list:",e),r=[]),Object.keys(r)}_parseList(e){var r=[];return Array.isArray(e)||(e=Object.entries(e).map(([S,D])=>({label:D,value:S}))),e.forEach(S=>{typeof S!="object"&&(S={label:S,value:S}),this._parseListItem(S,r,0)}),!this.currentItems.length&&this.params.freetext&&(this.input.value=this.initialValues,this.typing=!0,this.lastAction="typing"),this.data=r,r}_parseListItem(e,r,S){var D={};e.options?D=this._parseListGroup(e,S+1):(D={label:e.label,value:e.value,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,selected:!1,visible:!0,level:S,original:e},this.initialValues&&this.initialValues.indexOf(e.value)>-1&&this._chooseItem(D,!0)),r.push(D)}_parseListGroup(e,r){var S={label:e.label,group:!0,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,visible:!0,level:r,options:[],original:e};return e.options.forEach(D=>{this._parseListItem(D,S.options,r)}),S}_sortOptions(e){var r;return this.params.sort&&(r=typeof this.params.sort=="function"?this.params.sort:this._defaultSortFunction.bind(this),this._sortGroup(r,e)),e}_sortGroup(e,r){r.sort((S,D)=>e(S.label,D.label,S.value,D.value,S.original,D.original)),r.forEach(S=>{S.group&&this._sortGroup(e,S.options)})}_defaultSortFunction(e,r){var S,D,x,o,t=0,d,v=/(\d+)|(\D+)/g,i=/\d/,M=0;if(this.params.sort==="desc"&&([e,r]=[r,e]),!e&&e!==0)M=!r&&r!==0?0:-1;else if(!r&&r!==0)M=1;else{if(isFinite(e)&&isFinite(r))return e-r;if(S=String(e).toLowerCase(),D=String(r).toLowerCase(),S===D)return 0;if(!(i.test(S)&&i.test(D)))return S>D?1:-1;for(S=S.match(v),D=D.match(v),d=S.length>D.length?D.length:S.length;to?1:-1;return S.length>D.length}return M}_filterOptions(){var e=this.params.filterFunc||this._defaultFilterFunc,r=this.input.value;return r?(this.filtered=!0,this.data.forEach(S=>{this._filterItem(e,r,S)})):this.filtered=!1,this.data}_filterItem(e,r,S){var D=!1;return S.group?(S.options.forEach(x=>{this._filterItem(e,r,x)&&(D=!0)}),S.visible=D):S.visible=e(r,S.label,S.value,S.original),S.visible}_defaultFilterFunc(e,r,S,D){return e=String(e).toLowerCase(),r!==null&&typeof r<"u"&&(String(r).toLowerCase().indexOf(e)>-1||String(S).toLowerCase().indexOf(e)>-1)}_clearList(){for(;this.listEl.firstChild;)this.listEl.removeChild(this.listEl.firstChild);this.displayItems=[]}_buildList(e){this._clearList(),e.forEach(r=>{this._buildItem(r)}),this.displayItems.length||this._addPlaceholder(this.params.placeholderEmpty)}_buildItem(e){var r=e.element,S;if(!this.filtered||e.visible){if(!r){if(r=document.createElement("div"),r.tabIndex=0,S=this.params.itemFormatter?this.params.itemFormatter(e.label,e.value,e.original,r):e.label,S instanceof HTMLElement?r.appendChild(S):r.innerHTML=S,e.group?r.classList.add("tabulator-edit-list-group"):r.classList.add("tabulator-edit-list-item"),r.classList.add("tabulator-edit-list-group-level-"+e.level),e.elementAttributes&&typeof e.elementAttributes=="object")for(let D in e.elementAttributes)D.charAt(0)=="+"?(D=D.slice(1),r.setAttribute(D,this.input.getAttribute(D)+e.elementAttributes["+"+D])):r.setAttribute(D,e.elementAttributes[D]);e.group?r.addEventListener("click",this._groupClick.bind(this,e)):r.addEventListener("click",this._itemClick.bind(this,e)),r.addEventListener("mousedown",this._preventBlur.bind(this)),e.element=r}this._styleItem(e),this.listEl.appendChild(r),e.group?e.options.forEach(D=>{this._buildItem(D)}):this.displayItems.push(e)}}_showList(){var e=this.popup&&this.popup.isVisible();if(this.input.parentNode){if(this.params.autocomplete&&this.input.value===""&&!this.params.listOnEmpty){this.popup&&this.popup.hide(!0);return}this._setListWidth(),this.popup||(this.popup=this.edit.popup(this.listEl)),this.popup.show(this.cell.getElement(),"bottom"),e||setTimeout(()=>{this.popup.hideOnBlur(this._resolveValue.bind(this,!0))},10)}}_styleItem(e){e&&e.element&&(e.selected?e.element.classList.add("active"):e.element.classList.remove("active"))}_itemClick(e,r){r.stopPropagation(),this._chooseItem(e)}_groupClick(e,r){r.stopPropagation()}_cancel(){this.popup.hide(!0),this.actions.cancel()}_clearChoices(){this.typing=!0,this.currentItems.forEach(e=>{e.selected=!1,this._styleItem(e)}),this.currentItems=[],this.focusedItem=null}_chooseItem(e,r){var S;this.typing=!1,this.params.multiselect?(S=this.currentItems.indexOf(e),S>-1?(this.currentItems.splice(S,1),e.selected=!1):(this.currentItems.push(e),e.selected=!0),this.input.value=this.currentItems.map(D=>D.label).join(","),this._styleItem(e)):(this.currentItems=[e],e.selected=!0,this.input.value=e.label,this._styleItem(e),r||this._resolveValue()),this._focusItem(e)}_resolveValue(e){var r,S;if(this.popup&&this.popup.hide(!0),this.params.multiselect)r=this.currentItems.map(D=>D.value);else if(e&&this.params.autocomplete&&this.typing)if(this.params.freetext||this.params.allowEmpty&&this.input.value==="")r=this.input.value;else{this.actions.cancel();return}else this.currentItems[0]?r=this.currentItems[0].value:(S=Array.isArray(this.initialValues)?this.initialValues[0]:this.initialValues,S===null||typeof S>"u"||S===""?r=S:r=this.params.emptyValue);r===""&&(r=this.params.emptyValue),this.actions.success(r),this.isFilter&&(this.initialValues=r&&!Array.isArray(r)?[r]:r,this.currentItems=[])}}function _R(n,e,r,S,D){this.deprecationMsg("The select editor has been deprecated, please use the new list editor");var x=new g_(this,n,e,r,S,D);return x.input}function wR(n,e,r,S,D){var x=new g_(this,n,e,r,S,D);return x.input}function TR(n,e,r,S,D){this.deprecationMsg("The autocomplete editor has been deprecated, please use the new list editor with the 'autocomplete' editorParam"),D.autocomplete=!0;var x=new g_(this,n,e,r,S,D);return x.input}function kR(n,e,r,S,D){var x=this,o=n.getElement(),t=n.getValue(),d=o.getElementsByTagName("svg").length||5,v=o.getElementsByTagName("svg")[0]?o.getElementsByTagName("svg")[0].getAttribute("width"):14,i=[],M=document.createElement("div"),g=document.createElementNS("http://www.w3.org/2000/svg","svg");function p(s){i.forEach(function(l,h){h'):(x.table.browser=="ie"?l.setAttribute("class","tabulator-star-inactive"):l.classList.replace("tabulator-star-active","tabulator-star-inactive"),l.innerHTML='')})}function u(s){var l=document.createElement("span"),h=g.cloneNode(!0);i.push(h),l.addEventListener("mouseenter",function(f){f.stopPropagation(),f.stopImmediatePropagation(),p(s)}),l.addEventListener("mousemove",function(f){f.stopPropagation(),f.stopImmediatePropagation()}),l.addEventListener("click",function(f){f.stopPropagation(),f.stopImmediatePropagation(),r(s),o.blur()}),l.appendChild(h),M.appendChild(l)}function a(s){t=s,p(s)}if(o.style.whiteSpace="nowrap",o.style.overflow="hidden",o.style.textOverflow="ellipsis",M.style.verticalAlign="middle",M.style.display="inline-block",M.style.padding="4px",g.setAttribute("width",v),g.setAttribute("height",v),g.setAttribute("viewBox","0 0 512 512"),g.setAttribute("xml:space","preserve"),g.style.padding="0 1px",D.elementAttributes&&typeof D.elementAttributes=="object")for(let s in D.elementAttributes)s.charAt(0)=="+"?(s=s.slice(1),M.setAttribute(s,M.getAttribute(s)+D.elementAttributes["+"+s])):M.setAttribute(s,D.elementAttributes[s]);for(var c=1;c<=d;c++)u(c);return t=Math.min(parseInt(t),d),p(t),M.addEventListener("mousemove",function(s){p(0)}),M.addEventListener("click",function(s){r(0)}),o.addEventListener("blur",function(s){S()}),o.addEventListener("keydown",function(s){switch(s.keyCode){case 39:a(t+1);break;case 37:a(t-1);break;case 13:r(t);break;case 27:S();break}}),M}function MR(n,e,r,S,D){var x=n.getElement(),o=typeof D.max>"u"?x.getElementsByTagName("div")[0]&&x.getElementsByTagName("div")[0].getAttribute("max")||100:D.max,t=typeof D.min>"u"?x.getElementsByTagName("div")[0]&&x.getElementsByTagName("div")[0].getAttribute("min")||0:D.min,d=(o-t)/100,v=n.getValue()||0,i=document.createElement("div"),M=document.createElement("div"),g,p;function u(){var a=window.getComputedStyle(x,null),c=d*Math.round(M.offsetWidth/((x.clientWidth-parseInt(a.getPropertyValue("padding-left"))-parseInt(a.getPropertyValue("padding-right")))/100))+t;r(c),x.setAttribute("aria-valuenow",c),x.setAttribute("aria-label",v)}if(i.style.position="absolute",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.width="5px",i.classList.add("tabulator-progress-handle"),M.style.display="inline-block",M.style.position="relative",M.style.height="100%",M.style.backgroundColor="#488CE9",M.style.maxWidth="100%",M.style.minWidth="0%",D.elementAttributes&&typeof D.elementAttributes=="object")for(let a in D.elementAttributes)a.charAt(0)=="+"?(a=a.slice(1),M.setAttribute(a,M.getAttribute(a)+D.elementAttributes["+"+a])):M.setAttribute(a,D.elementAttributes[a]);return x.style.padding="4px 4px",v=Math.min(parseFloat(v),o),v=Math.max(parseFloat(v),t),v=Math.round((v-t)/d),M.style.width=v+"%",x.setAttribute("aria-valuemin",t),x.setAttribute("aria-valuemax",o),M.appendChild(i),i.addEventListener("mousedown",function(a){g=a.screenX,p=M.offsetWidth}),i.addEventListener("mouseover",function(){i.style.cursor="ew-resize"}),x.addEventListener("mousemove",function(a){g&&(M.style.width=p+a.screenX-g+"px")}),x.addEventListener("mouseup",function(a){g&&(a.stopPropagation(),a.stopImmediatePropagation(),g=!1,p=!1,u())}),x.addEventListener("keydown",function(a){switch(a.keyCode){case 39:a.preventDefault(),M.style.width=M.clientWidth+x.clientWidth/100+"px";break;case 37:a.preventDefault(),M.style.width=M.clientWidth-x.clientWidth/100+"px";break;case 9:case 13:u();break;case 27:S();break}}),x.addEventListener("blur",function(){S()}),M}function AR(n,e,r,S,D){var x=n.getValue(),o=document.createElement("input"),t=D.tristate,d=typeof D.indeterminateValue>"u"?null:D.indeterminateValue,v=!1,i=Object.keys(D).includes("trueValue"),M=Object.keys(D).includes("falseValue");if(o.setAttribute("type","checkbox"),o.style.marginTop="5px",o.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let p in D.elementAttributes)p.charAt(0)=="+"?(p=p.slice(1),o.setAttribute(p,o.getAttribute(p)+D.elementAttributes["+"+p])):o.setAttribute(p,D.elementAttributes[p]);o.value=x,t&&(typeof x>"u"||x===d||x==="")&&(v=!0,o.indeterminate=!0),this.table.browser!="firefox"&&this.table.browser!="safari"&&e(function(){n.getType()==="cell"&&o.focus({preventScroll:!0})}),o.checked=i?x===D.trueValue:x===!0||x==="true"||x==="True"||x===1;function g(p){var u=o.checked;return i&&u?u=D.trueValue:M&&!u&&(u=D.falseValue),t?p?v?d:u:o.checked&&!v?(o.checked=!1,o.indeterminate=!0,v=!0,d):(v=!1,u):u}return o.addEventListener("change",function(p){r(g())}),o.addEventListener("blur",function(p){r(g(!0))}),o.addEventListener("keydown",function(p){p.keyCode==13&&r(g()),p.keyCode==27&&S()}),o}var SR={input:pR,textarea:mR,number:gR,range:vR,date:yR,time:bR,datetime:xR,select:_R,list:wR,autocomplete:TR,star:kR,progress:MR,tickCross:AR};class rg extends Xi{constructor(e){super(e),this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[],this.editors=rg.editors,this.registerColumnOption("editable"),this.registerColumnOption("editor"),this.registerColumnOption("editorParams"),this.registerColumnOption("cellEditing"),this.registerColumnOption("cellEdited"),this.registerColumnOption("cellEditCancelled"),this.registerTableFunction("getEditedCells",this.getEditedCells.bind(this)),this.registerTableFunction("clearCellEdited",this.clearCellEdited.bind(this)),this.registerTableFunction("navigatePrev",this.navigatePrev.bind(this)),this.registerTableFunction("navigateNext",this.navigateNext.bind(this)),this.registerTableFunction("navigateLeft",this.navigateLeft.bind(this)),this.registerTableFunction("navigateRight",this.navigateRight.bind(this)),this.registerTableFunction("navigateUp",this.navigateUp.bind(this)),this.registerTableFunction("navigateDown",this.navigateDown.bind(this)),this.registerComponentFunction("cell","isEdited",this.cellIsEdited.bind(this)),this.registerComponentFunction("cell","clearEdited",this.clearEdited.bind(this)),this.registerComponentFunction("cell","edit",this.editCell.bind(this)),this.registerComponentFunction("cell","cancelEdit",this.cellCancelEdit.bind(this)),this.registerComponentFunction("cell","navigatePrev",this.navigatePrev.bind(this)),this.registerComponentFunction("cell","navigateNext",this.navigateNext.bind(this)),this.registerComponentFunction("cell","navigateLeft",this.navigateLeft.bind(this)),this.registerComponentFunction("cell","navigateRight",this.navigateRight.bind(this)),this.registerComponentFunction("cell","navigateUp",this.navigateUp.bind(this)),this.registerComponentFunction("cell","navigateDown",this.navigateDown.bind(this))}initialize(){this.subscribe("cell-init",this.bindEditor.bind(this)),this.subscribe("cell-delete",this.clearEdited.bind(this)),this.subscribe("cell-value-changed",this.updateCellClass.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("column-delete",this.columnDeleteCheck.bind(this)),this.subscribe("row-deleting",this.rowDeleteCheck.bind(this)),this.subscribe("row-layout",this.rowEditableCheck.bind(this)),this.subscribe("data-refreshing",this.cancelEdit.bind(this)),this.subscribe("keybinding-nav-prev",this.navigatePrev.bind(this,void 0)),this.subscribe("keybinding-nav-next",this.keybindingNavigateNext.bind(this)),this.subscribe("keybinding-nav-left",this.navigateLeft.bind(this,void 0)),this.subscribe("keybinding-nav-right",this.navigateRight.bind(this,void 0)),this.subscribe("keybinding-nav-up",this.navigateUp.bind(this,void 0)),this.subscribe("keybinding-nav-down",this.navigateDown.bind(this,void 0))}keybindingNavigateNext(e){var r=this.currentCell,S=this.options("tabEndNewRow");r&&(this.navigateNext(r,e)||S&&(r.getElement().firstChild.blur(),S===!0?S=this.table.addRow({}):typeof S=="function"?S=this.table.addRow(S(r.row.getComponent())):S=this.table.addRow(Object.assign({},S)),S.then(()=>{setTimeout(()=>{r.getComponent().navigateNext()})})))}cellIsEdited(e){return!!e.modules.edit&&e.modules.edit.edited}cellCancelEdit(e){e===this.currentCell?this.table.modules.edit.cancelEdit():console.warn("Cancel Editor Error - This cell is not currently being edited ")}updateCellClass(e){this.allowEdit(e)?e.getElement().classList.add("tabulator-editable"):e.getElement().classList.remove("tabulator-editable")}clearCellEdited(e){e||(e=this.table.modules.edit.getEditedCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.table.modules.edit.clearEdited(r._getSelf())})}navigatePrev(e=this.currentCell,r){var S,D;if(e){if(r&&r.preventDefault(),S=this.navigateLeft(),S)return!0;if(D=this.table.rowManager.prevDisplayRow(e.row,!0),D&&(S=this.findPrevEditableCell(D,D.cells.length),S))return S.getComponent().edit(),!0}return!1}navigateNext(e=this.currentCell,r){var S,D;if(e){if(r&&r.preventDefault(),S=this.navigateRight(),S)return!0;if(D=this.table.rowManager.nextDisplayRow(e.row,!0),D&&(S=this.findNextEditableCell(D,-1),S))return S.getComponent().edit(),!0}return!1}navigateLeft(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.findPrevEditableCell(e.row,S),D)?(D.getComponent().edit(),!0):!1}navigateRight(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.findNextEditableCell(e.row,S),D)?(D.getComponent().edit(),!0):!1}navigateUp(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.table.rowManager.prevDisplayRow(e.row,!0),D)?(D.cells[S].getComponent().edit(),!0):!1}navigateDown(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.table.rowManager.nextDisplayRow(e.row,!0),D)?(D.cells[S].getComponent().edit(),!0):!1}findNextEditableCell(e,r){var S=!1;if(r0)for(var D=r-1;D>=0;D--){let x=e.cells[D];if(x.column.modules.edit&&po.elVisible(x.getElement())&&this.allowEdit(x)){S=x;break}}return S}initializeColumnCheck(e){typeof e.definition.editor<"u"&&this.initializeColumn(e)}columnDeleteCheck(e){this.currentCell&&this.currentCell.column===e&&this.cancelEdit()}rowDeleteCheck(e){this.currentCell&&this.currentCell.row===e&&this.cancelEdit()}rowEditableCheck(e){e.getCells().forEach(r=>{r.column.modules.edit&&typeof r.column.modules.edit.check=="function"&&this.updateCellClass(r)})}initializeColumn(e){var r={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(typeof e.definition.editor){case"string":this.editors[e.definition.editor]?r.editor=this.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":r.editor=e.definition.editor;break;case"boolean":e.definition.editor===!0&&(typeof e.definition.formatter!="function"?this.editors[e.definition.formatter]?r.editor=this.editors[e.definition.formatter]:r.editor=this.editors.input:console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter));break}r.editor&&(e.modules.edit=r)}getCurrentCell(){return this.currentCell?this.currentCell.getComponent():!1}clearEditor(e){var r=this.currentCell,S;if(this.invalidEdit=!1,r){for(this.currentCell=!1,S=r.getElement(),this.dispatch("edit-editor-clear",r,e),S.classList.remove("tabulator-editing");S.firstChild;)S.removeChild(S.firstChild);r.row.getElement().classList.remove("tabulator-editing"),r.table.element.classList.remove("tabulator-editing")}}cancelEdit(){if(this.currentCell){var e=this.currentCell,r=this.currentCell.getComponent();this.clearEditor(!0),e.setValueActual(e.getValue()),e.cellRendered(),(e.column.definition.editor=="textarea"||e.column.definition.variableHeight)&&e.row.normalizeHeight(!0),e.column.definition.cellEditCancelled&&e.column.definition.cellEditCancelled.call(this.table,r),this.dispatch("edit-cancelled",e),this.dispatchExternal("cellEditCancelled",r)}}bindEditor(e){if(e.column.modules.edit){var r=this,S=e.getElement(!0);this.updateCellClass(e),S.setAttribute("tabindex",0),S.addEventListener("click",function(D){S.classList.contains("tabulator-editing")||S.focus({preventScroll:!0})}),S.addEventListener("mousedown",function(D){D.button===2?D.preventDefault():r.mouseClick=!0}),S.addEventListener("focus",function(D){r.recursionBlock||r.edit(e,D,!1)})}}focusCellNoEvent(e,r){this.recursionBlock=!0,r&&this.table.browser==="ie"||e.getElement().focus({preventScroll:!0}),this.recursionBlock=!1}editCell(e,r){this.focusCellNoEvent(e),this.edit(e,!1,r)}focusScrollAdjust(e){if(this.table.rowManager.getRenderMode()=="virtual"){var r=this.table.rowManager.element.scrollTop,S=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,D=e.row.getElement();D.offsetTopS&&(this.table.rowManager.element.scrollTop+=D.offsetTop+D.offsetHeight-S);var x=this.table.rowManager.element.scrollLeft,o=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,t=e.getElement();this.table.modExists("frozenColumns")&&(x+=parseInt(this.table.modules.frozenColumns.leftMargin||0),o-=parseInt(this.table.modules.frozenColumns.rightMargin||0)),this.table.options.renderHorizontal==="virtual"&&(x-=parseInt(this.table.columnManager.renderer.vDomPadLeft),o-=parseInt(this.table.columnManager.renderer.vDomPadLeft)),t.offsetLefto&&(this.table.rowManager.element.scrollLeft+=t.offsetLeft+t.offsetWidth-o)}}allowEdit(e){var r=!!e.column.modules.edit;if(e.column.modules.edit)switch(typeof e.column.modules.edit.check){case"function":e.row.initialized&&(r=e.column.modules.edit.check(e.getComponent()));break;case"string":r=!!e.row.data[e.column.modules.edit.check];break;case"boolean":r=e.column.modules.edit.check;break}return r}edit(e,r,S){var D=this,x=!0,o=function(){},t=e.getElement(),d,v,i;if(this.currentCell){!this.invalidEdit&&this.currentCell!==e&&this.cancelEdit();return}function M(c){if(D.currentCell===e){var s=D.chain("edit-success",[e,c],!0,!0);return s===!0||D.table.options.validationMode==="highlight"?(D.clearEditor(),e.modules.edit||(e.modules.edit={}),e.modules.edit.edited=!0,D.editedCells.indexOf(e)==-1&&D.editedCells.push(e),e.setValue(c,!0),s===!0):(D.invalidEdit=!0,D.focusCellNoEvent(e,!0),o(),!1)}}function g(){D.currentCell===e&&D.cancelEdit()}function p(c){o=c}if(e.column.modules.edit.blocked)return this.mouseClick=!1,t.blur(),!1;if(r&&r.stopPropagation(),x=this.allowEdit(e),x||S){if(D.cancelEdit(),D.currentCell=e,this.focusScrollAdjust(e),v=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.definition.cellClick&&e.column.definition.cellClick.call(this.table,r,v)),e.column.definition.cellEditing&&e.column.definition.cellEditing.call(this.table,v),this.dispatch("cell-editing",e),this.dispatchExternal("cellEditing",v),i=typeof e.column.modules.edit.params=="function"?e.column.modules.edit.params(v):e.column.modules.edit.params,d=e.column.modules.edit.editor.call(D,v,p,M,g,i),this.currentCell&&d!==!1)if(d instanceof Node){for(t.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-editing"),e.table.element.classList.add("tabulator-editing");t.firstChild;)t.removeChild(t.firstChild);t.appendChild(d),o();for(var u=t.children,a=0;a{e.push(r.getComponent())}),e}clearEdited(e){var r;e.modules.edit&&e.modules.edit.edited&&(e.modules.edit.edited=!1,this.dispatch("edit-edited-clear",e)),r=this.editedCells.indexOf(e),r>-1&&this.editedCells.splice(r,1)}}rg.moduleName="edit";rg.editors=SR;class eT{constructor(e,r,S,D){this.type=e,this.columns=r,this.component=S||!1,this.indent=D||0}}class Cb{constructor(e,r,S,D,x){this.value=e,this.component=r||!1,this.width=S,this.height=D,this.depth=x}}class xM extends Xi{constructor(e){super(e),this.config={},this.cloneTableStyle=!0,this.colVisProp="",this.registerTableOption("htmlOutputConfig",!1),this.registerColumnOption("htmlOutput"),this.registerColumnOption("titleHtmlOutput")}initialize(){this.registerTableFunction("getHtml",this.getHtml.bind(this))}generateExportList(e,r,S,D){this.cloneTableStyle=r,this.config=e||{},this.colVisProp=D;var x=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders()):[],o=this.bodyToExportRows(this.rowLookup(S));return x.concat(o)}generateTable(e,r,S,D){var x=this.generateExportList(e,r,S,D);return this.generateTableElement(x)}rowLookup(e){var r=[];if(typeof e=="function")e.call(this.table).forEach(S=>{S=this.table.rowManager.findRow(S),S&&r.push(S)});else switch(e){case!0:case"visible":r=this.table.rowManager.getVisibleRows(!1,!0);break;case"all":r=this.table.rowManager.rows;break;case"selected":r=this.table.modules.selectRow.selectedRows;break;case"active":default:this.table.options.pagination?r=this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):r=this.table.rowManager.getDisplayRows()}return Object.assign([],r)}generateColumnGroupHeaders(){var e=[],r=this.config.columnGroups!==!1?this.table.columnManager.columns:this.table.columnManager.columnsByIndex;return r.forEach(S=>{var D=this.processColumnGroup(S);D&&e.push(D)}),e}processColumnGroup(e){var r=e.columns,S=0,D=e.definition["title"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||e.definition.title,x={title:D,column:e,depth:1};if(r.length){if(x.subGroups=[],x.width=0,r.forEach(o=>{var t=this.processColumnGroup(o);t&&(x.width+=t.width,x.subGroups.push(t),t.depth>S&&(S=t.depth))}),x.depth+=S,!x.width)return!1}else if(this.columnVisCheck(e))x.width=1;else return!1;return x}columnVisCheck(e){var r=e.definition[this.colVisProp];return typeof r=="function"&&(r=r.call(this.table,e.getComponent())),r!==!1&&(e.visible||!e.visible&&r)}headersToExportRows(e){var r=[],S=0,D=[];function x(o,t){var d=S-t;if(typeof r[t]>"u"&&(r[t]=[]),o.height=o.subGroups?1:d-o.depth+1,r[t].push(o),o.height>1)for(let v=1;v"u"&&(r[t+v]=[]),r[t+v].push(!1);if(o.width>1)for(let v=1;vS&&(S=o.depth)}),e.forEach(function(o){x(o,0)}),r.forEach(o=>{var t=[];o.forEach(d=>{if(d){let v=typeof d.title>"u"?"":d.title;t.push(new Cb(v,d.column.getComponent(),d.width,d.height,d.depth))}else t.push(null)}),D.push(new eT("header",t))}),D}bodyToExportRows(e){var r=[],S=[];return this.table.columnManager.columnsByIndex.forEach(D=>{this.columnVisCheck(D)&&r.push(D.getComponent())}),this.config.columnCalcs!==!1&&this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&e.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&e.push(this.table.modules.columnCalcs.botRow)),e=e.filter(D=>{switch(D.type){case"group":return this.config.rowGroups!==!1;case"calc":return this.config.columnCalcs!==!1;case"row":return!(this.table.options.dataTree&&this.config.dataTree===!1&&D.modules.dataTree.parent)}return!0}),e.forEach((D,x)=>{var o=D.getData(this.colVisProp),t=[],d=0;switch(D.type){case"group":d=D.level,t.push(new Cb(D.key,D.getComponent(),r.length,1));break;case"calc":case"row":r.forEach(v=>{t.push(new Cb(v._column.getFieldValue(o),v,1,1))}),this.table.options.dataTree&&this.config.dataTree!==!1&&(d=D.modules.dataTree.index);break}S.push(new eT(D.type,t,D.getComponent(),d))}),S}generateTableElement(e){var r=document.createElement("table"),S=document.createElement("thead"),D=document.createElement("tbody"),x=this.lookupTableStyles(),o=this.table.options["rowFormatter"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t={};return t.rowFormatter=o!==null?o:this.table.options.rowFormatter,this.table.options.dataTree&&this.config.dataTree!==!1&&this.table.modExists("columnCalcs")&&(t.treeElementField=this.table.modules.dataTree.elementField),t.groupHeader=this.table.options["groupHeader"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t.groupHeader&&!Array.isArray(t.groupHeader)&&(t.groupHeader=[t.groupHeader]),r.classList.add("tabulator-print-table"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),S,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),e.forEach((d,v)=>{let i;switch(d.type){case"header":S.appendChild(this.generateHeaderElement(d,t,x));break;case"group":D.appendChild(this.generateGroupElement(d,t,x));break;case"calc":D.appendChild(this.generateCalcElement(d,t,x));break;case"row":i=this.generateRowElement(d,t,x),this.mapElementStyles(v%2&&x.evenRow?x.evenRow:x.oddRow,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D.appendChild(i);break}}),S.innerHTML&&r.appendChild(S),r.appendChild(D),this.mapElementStyles(this.table.element,r,["border-top","border-left","border-right","border-bottom"]),r}lookupTableStyles(){var e={};return this.cloneTableStyle&&window.getComputedStyle&&(e.oddRow=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),e.evenRow=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),e.calcRow=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),e.firstRow=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),e.firstGroup=this.table.element.getElementsByClassName("tabulator-group")[0],e.firstRow&&(e.styleCells=e.firstRow.getElementsByClassName("tabulator-cell"),e.firstCell=e.styleCells[0],e.lastCell=e.styleCells[e.styleCells.length-1])),e}generateHeaderElement(e,r,S){var D=document.createElement("tr");return e.columns.forEach(x=>{if(x){var o=document.createElement("th"),t=x.component._column.definition.cssClass?x.component._column.definition.cssClass.split(" "):[];o.colSpan=x.width,o.rowSpan=x.height,o.innerHTML=x.value,this.cloneTableStyle&&(o.style.boxSizing="border-box"),t.forEach(function(d){o.classList.add(d)}),this.mapElementStyles(x.component.getElement(),o,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),this.mapElementStyles(x.component._column.contentElement,o,["padding-top","padding-left","padding-right","padding-bottom"]),x.component._column.visible?this.mapElementStyles(x.component.getElement(),o,["width"]):x.component._column.definition.width&&(o.style.width=x.component._column.definition.width+"px"),x.component._column.parent&&this.mapElementStyles(x.component._column.parent.groupElement,o,["border-top"]),D.appendChild(o)}}),D}generateGroupElement(e,r,S){var D=document.createElement("tr"),x=document.createElement("td"),o=e.columns[0];return D.classList.add("tabulator-print-table-row"),r.groupHeader&&r.groupHeader[e.indent]?o.value=r.groupHeader[e.indent](o.value,e.component._group.getRowCount(),e.component._group.getData(),e.component):r.groupHeader!==!1&&(o.value=e.component._group.generator(o.value,e.component._group.getRowCount(),e.component._group.getData(),e.component)),x.colSpan=o.width,x.innerHTML=o.value,D.classList.add("tabulator-print-table-group"),D.classList.add("tabulator-group-level-"+e.indent),o.component.isVisible()&&D.classList.add("tabulator-group-visible"),this.mapElementStyles(S.firstGroup,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),this.mapElementStyles(S.firstGroup,x,["padding-top","padding-left","padding-right","padding-bottom"]),D.appendChild(x),D}generateCalcElement(e,r,S){var D=this.generateRowElement(e,r,S);return D.classList.add("tabulator-print-table-calcs"),this.mapElementStyles(S.calcRow,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D}generateRowElement(e,r,S){var D=document.createElement("tr");if(D.classList.add("tabulator-print-table-row"),e.columns.forEach((x,o)=>{if(x){var t=document.createElement("td"),d=x.component._column,v=this.table.columnManager.findColumnIndex(d),i=x.value,M,g={modules:{},getValue:function(){return i},getField:function(){return d.definition.field},getElement:function(){return t},getType:function(){return"cell"},getColumn:function(){return d.getComponent()},getData:function(){return e.component.getData()},getRow:function(){return e.component},getComponent:function(){return g},column:d},p=d.definition.cssClass?d.definition.cssClass.split(" "):[];if(p.forEach(function(u){t.classList.add(u)}),this.table.modExists("format")&&this.config.formatCells!==!1)i=this.table.modules.format.formatExportValue(g,this.colVisProp);else switch(typeof i){case"object":i=i!==null?JSON.stringify(i):"";break;case"undefined":i="";break}i instanceof Node?t.appendChild(i):t.innerHTML=i,M=S.styleCells&&S.styleCells[v]?S.styleCells[v]:S.firstCell,M&&(this.mapElementStyles(M,t,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","text-align"]),d.definition.align&&(t.style.textAlign=d.definition.align)),this.table.options.dataTree&&this.config.dataTree!==!1&&(r.treeElementField&&r.treeElementField==d.field||!r.treeElementField&&o==0)&&(e.component._row.modules.dataTree.controlEl&&t.insertBefore(e.component._row.modules.dataTree.controlEl.cloneNode(!0),t.firstChild),e.component._row.modules.dataTree.branchEl&&t.insertBefore(e.component._row.modules.dataTree.branchEl.cloneNode(!0),t.firstChild)),D.appendChild(t),g.modules.format&&g.modules.format.renderedCallback&&g.modules.format.renderedCallback()}}),r.rowFormatter&&e.type==="row"&&this.config.formatCells!==!1){let x=Object.assign(e.component);x.getElement=function(){return D},r.rowFormatter(e.component)}return D}generateHTMLTable(e){var r=document.createElement("div");return r.appendChild(this.generateTableElement(e)),r.innerHTML}getHtml(e,r,S,D){var x=this.generateExportList(S||this.table.options.htmlOutputConfig,r,e,D||"htmlOutput");return this.generateHTMLTable(x)}mapElementStyles(e,r,S){if(this.cloneTableStyle&&e&&r){var D={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var x=window.getComputedStyle(e);S.forEach(function(o){r.style[D[o]]||(r.style[D[o]]=x.getPropertyValue(o))})}}}}xM.moduleName="export";var CR={"=":function(n,e,r,S){return e==n},"<":function(n,e,r,S){return e":function(n,e,r,S){return e>n},">=":function(n,e,r,S){return e>=n},"!=":function(n,e,r,S){return e!=n},regex:function(n,e,r,S){return typeof n=="string"&&(n=new RegExp(n)),n.test(e)},like:function(n,e,r,S){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().indexOf(n.toLowerCase())>-1:!1},keywords:function(n,e,r,S){var D=n.toLowerCase().split(typeof S.separator>"u"?" ":S.separator),x=String(e===null||typeof e>"u"?"":e).toLowerCase(),o=[];return D.forEach(t=>{x.includes(t)&&o.push(!0)}),S.matchAll?o.length===D.length:!!o.length},starts:function(n,e,r,S){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().startsWith(n.toLowerCase()):!1},ends:function(n,e,r,S){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().endsWith(n.toLowerCase()):!1},in:function(n,e,r,S){return Array.isArray(n)?n.length?n.indexOf(e)>-1:!0:(console.warn("Filter Error - filter value is not an array:",n),!1)}};class jf extends Xi{constructor(e){super(e),this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck="",this.prevHeaderFilterChangeCheck="{}",this.changed=!1,this.tableInitialized=!1,this.registerTableOption("filterMode","local"),this.registerTableOption("initialFilter",!1),this.registerTableOption("initialHeaderFilter",!1),this.registerTableOption("headerFilterLiveFilterDelay",300),this.registerTableOption("placeholderHeaderFilter",!1),this.registerColumnOption("headerFilter"),this.registerColumnOption("headerFilterPlaceholder"),this.registerColumnOption("headerFilterParams"),this.registerColumnOption("headerFilterEmptyCheck"),this.registerColumnOption("headerFilterFunc"),this.registerColumnOption("headerFilterFuncParams"),this.registerColumnOption("headerFilterLiveFilter"),this.registerTableFunction("searchRows",this.searchRows.bind(this)),this.registerTableFunction("searchData",this.searchData.bind(this)),this.registerTableFunction("setFilter",this.userSetFilter.bind(this)),this.registerTableFunction("refreshFilter",this.userRefreshFilter.bind(this)),this.registerTableFunction("addFilter",this.userAddFilter.bind(this)),this.registerTableFunction("getFilters",this.getFilters.bind(this)),this.registerTableFunction("setHeaderFilterFocus",this.userSetHeaderFilterFocus.bind(this)),this.registerTableFunction("getHeaderFilterValue",this.userGetHeaderFilterValue.bind(this)),this.registerTableFunction("setHeaderFilterValue",this.userSetHeaderFilterValue.bind(this)),this.registerTableFunction("getHeaderFilters",this.getHeaderFilters.bind(this)),this.registerTableFunction("removeFilter",this.userRemoveFilter.bind(this)),this.registerTableFunction("clearFilter",this.userClearFilter.bind(this)),this.registerTableFunction("clearHeaderFilter",this.userClearHeaderFilter.bind(this)),this.registerComponentFunction("column","headerFilterFocus",this.setHeaderFilterFocus.bind(this)),this.registerComponentFunction("column","reloadHeaderFilter",this.reloadHeaderFilter.bind(this)),this.registerComponentFunction("column","getHeaderFilterValue",this.getHeaderFilterValue.bind(this)),this.registerComponentFunction("column","setHeaderFilterValue",this.setHeaderFilterValue.bind(this))}initialize(){this.subscribe("column-init",this.initializeColumnHeaderFilter.bind(this)),this.subscribe("column-width-fit-before",this.hideHeaderFilterElements.bind(this)),this.subscribe("column-width-fit-after",this.showHeaderFilterElements.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.subscribe("placeholder",this.generatePlaceholder.bind(this)),this.table.options.filterMode==="remote"&&this.subscribe("data-params",this.remoteFilterParams.bind(this)),this.registerDataHandler(this.filter.bind(this),10)}tableBuilt(){this.table.options.initialFilter&&this.setFilter(this.table.options.initialFilter),this.table.options.initialHeaderFilter&&this.table.options.initialHeaderFilter.forEach(e=>{var r=this.table.columnManager.findColumn(e.field);if(r)this.setHeaderFilterValue(r,e.value);else return console.warn("Column Filter Error - No matching column found:",e.field),!1}),this.tableInitialized=!0}remoteFilterParams(e,r,S,D){return D.filter=this.getFilters(!0,!0),D}generatePlaceholder(e){if(this.table.options.placeholderHeaderFilter&&Object.keys(this.headerFilters).length)return this.table.options.placeholderHeaderFilter}userSetFilter(e,r,S,D){this.setFilter(e,r,S,D),this.refreshFilter()}userRefreshFilter(){this.refreshFilter()}userAddFilter(e,r,S,D){this.addFilter(e,r,S,D),this.refreshFilter()}userSetHeaderFilterFocus(e){var r=this.table.columnManager.findColumn(e);if(r)this.setHeaderFilterFocus(r);else return console.warn("Column Filter Focus Error - No matching column found:",e),!1}userGetHeaderFilterValue(e){var r=this.table.columnManager.findColumn(e);if(r)return this.getHeaderFilterValue(r);console.warn("Column Filter Error - No matching column found:",e)}userSetHeaderFilterValue(e,r){var S=this.table.columnManager.findColumn(e);if(S)this.setHeaderFilterValue(S,r);else return console.warn("Column Filter Error - No matching column found:",e),!1}userRemoveFilter(e,r,S){this.removeFilter(e,r,S),this.refreshFilter()}userClearFilter(e){this.clearFilter(e),this.refreshFilter()}userClearHeaderFilter(){this.clearHeaderFilter(),this.refreshFilter()}searchRows(e,r,S){return this.search("rows",e,r,S)}searchData(e,r,S){return this.search("data",e,r,S)}initializeColumnHeaderFilter(e){var r=e.definition;r.headerFilter&&this.initializeColumn(e)}initializeColumn(e,r){var S=this,D=e.getField();function x(o){var t=e.modules.filter.tagType=="input"&&e.modules.filter.attrType=="text"||e.modules.filter.tagType=="textarea"?"partial":"match",d="",v="",i;if(typeof e.modules.filter.prevSuccess>"u"||e.modules.filter.prevSuccess!==o){if(e.modules.filter.prevSuccess=o,e.modules.filter.emptyFunc(o))delete S.headerFilters[D];else{switch(e.modules.filter.value=o,typeof e.definition.headerFilterFunc){case"string":jf.filters[e.definition.headerFilterFunc]?(d=e.definition.headerFilterFunc,i=function(M){var g=e.definition.headerFilterFuncParams||{},p=e.getFieldValue(M);return g=typeof g=="function"?g(o,p,M):g,jf.filters[e.definition.headerFilterFunc](o,p,M,g)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":i=function(M){var g=e.definition.headerFilterFuncParams||{},p=e.getFieldValue(M);return g=typeof g=="function"?g(o,p,M):g,e.definition.headerFilterFunc(o,p,M,g)},d=i;break}if(!i)switch(t){case"partial":i=function(M){var g=e.getFieldValue(M);return typeof g<"u"&&g!==null?String(g).toLowerCase().indexOf(String(o).toLowerCase())>-1:!1},d="like";break;default:i=function(M){return e.getFieldValue(M)==o},d="="}S.headerFilters[D]={value:o,func:i,type:d}}e.modules.filter.value=o,v=JSON.stringify(S.headerFilters),S.prevHeaderFilterChangeCheck!==v&&(S.prevHeaderFilterChangeCheck=v,S.trackChanges(),S.refreshFilter())}return!0}e.modules.filter={success:x,attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)}generateHeaderFilterElement(e,r,S){var D=this,x=e.modules.filter.success,o=e.getField(),t,d,v,i,M,g,p,u;e.modules.filter.value=r;function a(){}function c(s){u=s}if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode&&e.contentElement.removeChild(e.modules.filter.headerElement.parentNode),o){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(s){return!s&&s!==0},t=document.createElement("div"),t.classList.add("tabulator-header-filter"),typeof e.definition.headerFilter){case"string":D.table.modules.edit.editors[e.definition.headerFilter]?(d=D.table.modules.edit.editors[e.definition.headerFilter],(e.definition.headerFilter==="tick"||e.definition.headerFilter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(s){return s!==!0&&s!==!1})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":d=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?d=e.modules.edit.editor:e.definition.formatter&&D.table.modules.edit.editors[e.definition.formatter]?(d=D.table.modules.edit.editors[e.definition.formatter],(e.definition.formatter==="tick"||e.definition.formatter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(s){return s!==!0&&s!==!1})):d=D.table.modules.edit.editors.input;break}if(d){if(i={getValue:function(){return typeof r<"u"?r:""},getField:function(){return e.definition.field},getElement:function(){return t},getColumn:function(){return e.getComponent()},getTable:()=>this.table,getType:()=>"header",getRow:function(){return{normalizeHeight:function(){}}}},p=e.definition.headerFilterParams||{},p=typeof p=="function"?p.call(D.table,i):p,v=d.call(this.table.modules.edit,i,c,x,a,p),!v){console.warn("Filter Error - Cannot add filter to "+o+" column, editor returned a value of false");return}if(!(v instanceof Node)){console.warn("Filter Error - Cannot add filter to "+o+" column, editor should return an instance of Node, the editor returned:",v);return}D.langBind("headerFilters|columns|"+e.definition.field,function(s){v.setAttribute("placeholder",typeof s<"u"&&s?s:e.definition.headerFilterPlaceholder||D.langText("headerFilters|default"))}),v.addEventListener("click",function(s){s.stopPropagation(),v.focus()}),v.addEventListener("focus",s=>{var l=this.table.columnManager.contentsElement.scrollLeft,h=this.table.rowManager.element.scrollLeft;l!==h&&(this.table.rowManager.scrollHorizontal(l),this.table.columnManager.scrollHorizontal(l))}),M=!1,g=function(s){M&&clearTimeout(M),M=setTimeout(function(){x(v.value)},D.table.options.headerFilterLiveFilterDelay)},e.modules.filter.headerElement=v,e.modules.filter.attrType=v.hasAttribute("type")?v.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=v.tagName.toLowerCase(),e.definition.headerFilterLiveFilter!==!1&&(e.definition.headerFilter==="autocomplete"||e.definition.headerFilter==="tickCross"||(e.definition.editor==="autocomplete"||e.definition.editor==="tickCross")&&e.definition.headerFilter===!0||(v.addEventListener("keyup",g),v.addEventListener("search",g),e.modules.filter.attrType=="number"&&v.addEventListener("change",function(s){x(v.value)}),e.modules.filter.attrType=="text"&&this.table.browser!=="ie"&&v.setAttribute("type","search")),(e.modules.filter.tagType=="input"||e.modules.filter.tagType=="select"||e.modules.filter.tagType=="textarea")&&v.addEventListener("mousedown",function(s){s.stopPropagation()})),t.appendChild(v),e.contentElement.appendChild(t),S||D.headerFilterColumns.push(e),u&&u()}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)}hideHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="none")})}showHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="")})}setHeaderFilterFocus(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())}getHeaderFilterValue(e){if(e.modules.filter&&e.modules.filter.headerElement)return e.modules.filter.value;console.warn("Column Filter Error - No header filter set on column:",e.getField())}setHeaderFilterValue(e,r){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,r,!0),e.modules.filter.success(r)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}reloadHeaderFilter(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value,!0):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}refreshFilter(){this.tableInitialized&&(this.table.options.filterMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0))}trackChanges(){this.changed=!0,this.dispatch("filter-changed")}hasChanged(){var e=this.changed;return this.changed=!1,e}setFilter(e,r,S,D){this.filterList=[],Array.isArray(e)||(e=[{field:e,type:r,value:S,params:D}]),this.addFilter(e)}addFilter(e,r,S,D){var x=!1;Array.isArray(e)||(e=[{field:e,type:r,value:S,params:D}]),e.forEach(o=>{o=this.findFilter(o),o&&(this.filterList.push(o),x=!0)}),x&&this.trackChanges()}findFilter(e){var r;if(Array.isArray(e))return this.findSubFilters(e);var S=!1;return typeof e.field=="function"?S=function(D){return e.field(D,e.type||{})}:jf.filters[e.type]?(r=this.table.columnManager.getColumnByField(e.field),r?S=function(D){return jf.filters[e.type](e.value,r.getFieldValue(D),D,e.params||{})}:S=function(D){return jf.filters[e.type](e.value,D[e.field],D,e.params||{})}):console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=S,e.func?e:!1}findSubFilters(e){var r=[];return e.forEach(S=>{S=this.findFilter(S),S&&r.push(S)}),r.length?r:!1}getFilters(e,r){var S=[];return e&&(S=this.getHeaderFilters()),r&&S.forEach(function(D){typeof D.type=="function"&&(D.type="function")}),S=S.concat(this.filtersToArray(this.filterList,r)),S}filtersToArray(e,r){var S=[];return e.forEach(D=>{var x;Array.isArray(D)?S.push(this.filtersToArray(D,r)):(x={field:D.field,type:D.type,value:D.value},r&&typeof x.type=="function"&&(x.type="function"),S.push(x))}),S}getHeaderFilters(){var e=[];for(var r in this.headerFilters)e.push({field:r,type:this.headerFilters[r].type,value:this.headerFilters[r].value});return e}removeFilter(e,r,S){Array.isArray(e)||(e=[{field:e,type:r,value:S}]),e.forEach(D=>{var x=-1;typeof D.field=="object"?x=this.filterList.findIndex(o=>D===o):x=this.filterList.findIndex(o=>D.field===o.field&&D.type===o.type&&D.value===o.value),x>-1?this.filterList.splice(x,1):console.warn("Filter Error - No matching filter type found, ignoring: ",D.type)}),this.trackChanges()}clearFilter(e){this.filterList=[],e&&this.clearHeaderFilter(),this.trackChanges()}clearHeaderFilter(){this.headerFilters={},this.prevHeaderFilterChangeCheck="{}",this.headerFilterColumns.forEach(e=>{typeof e.modules.filter.value<"u"&&delete e.modules.filter.value,e.modules.filter.prevSuccess=void 0,this.reloadHeaderFilter(e)}),this.trackChanges()}search(e,r,S,D){var x=[],o=[];return Array.isArray(r)||(r=[{field:r,type:S,value:D}]),r.forEach(t=>{t=this.findFilter(t),t&&o.push(t)}),this.table.rowManager.rows.forEach(t=>{var d=!0;o.forEach(v=>{this.filterRecurse(v,t.getData())||(d=!1)}),d&&x.push(e==="data"?t.getData("data"):t.getComponent())}),x}filter(e,r){var S=[],D=[];return this.subscribedExternal("dataFiltering")&&this.dispatchExternal("dataFiltering",this.getFilters(!0)),this.table.options.filterMode!=="remote"&&(this.filterList.length||Object.keys(this.headerFilters).length)?e.forEach(x=>{this.filterRow(x)&&S.push(x)}):S=e.slice(0),this.subscribedExternal("dataFiltered")&&(S.forEach(x=>{D.push(x.getComponent())}),this.dispatchExternal("dataFiltered",this.getFilters(!0),D)),S}filterRow(e,r){var S=!0,D=e.getData();this.filterList.forEach(o=>{this.filterRecurse(o,D)||(S=!1)});for(var x in this.headerFilters)this.headerFilters[x].func(D)||(S=!1);return S}filterRecurse(e,r){var S=!1;return Array.isArray(e)?e.forEach(D=>{this.filterRecurse(D,r)&&(S=!0)}):S=e.func(r),S}}jf.moduleName="filter";jf.filters=CR;function ER(n,e,r){return this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function LR(n,e,r){return n.getValue()}function IR(n,e,r){return n.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function OR(n,e,r){var S=parseFloat(n.getValue()),D="",x,o,t,d,v,i=e.decimal||".",M=e.thousand||",",g=e.negativeSign||"-",p=e.symbol||"",u=!!e.symbolAfter,a=typeof e.precision<"u"?e.precision:2;if(isNaN(S))return this.emptyToSpace(this.sanitizeHTML(n.getValue()));if(S<0&&(S=Math.abs(S),D=g),x=a!==!1?S.toFixed(a):S,x=String(x).split("."),o=x[0],t=x.length>1?i+x[1]:"",e.thousand!==!1)for(d=/(\d+)(\d{3})/;d.test(o);)o=o.replace(d,"$1"+M+"$2");return v=o+t,D===!0?(v="("+v+")",u?v+p:p+v):u?D+v+p:D+p+v}function PR(n,e,r){var S=n.getValue(),D=e.urlPrefix||"",x=e.download,o=S,t=document.createElement("a"),d;function v(i,M){var g=i.shift(),p=M[g];return i.length&&typeof p=="object"?v(i,p):p}if(e.labelField&&(d=n.getData(),o=v(e.labelField.split(this.table.options.nestedFieldSeparator),d)),e.label)switch(typeof e.label){case"string":o=e.label;break;case"function":o=e.label(n);break}if(o){if(e.urlField&&(d=n.getData(),S=d[e.urlField]),e.url)switch(typeof e.url){case"string":S=e.url;break;case"function":S=e.url(n);break}return t.setAttribute("href",D+S),e.target&&t.setAttribute("target",e.target),e.download&&(typeof x=="function"?x=x(n):x=x===!0?"":x,t.setAttribute("download",x)),t.innerHTML=this.emptyToSpace(this.sanitizeHTML(o)),t}else return" "}function DR(n,e,r){var S=document.createElement("img"),D=n.getValue();switch(e.urlPrefix&&(D=e.urlPrefix+n.getValue()),e.urlSuffix&&(D=D+e.urlSuffix),S.setAttribute("src",D),typeof e.height){case"number":S.style.height=e.height+"px";break;case"string":S.style.height=e.height;break}switch(typeof e.width){case"number":S.style.width=e.width+"px";break;case"string":S.style.width=e.width;break}return S.addEventListener("load",function(){n.getRow().normalizeHeight()}),S}function RR(n,e,r){var S=n.getValue(),D=n.getElement(),x=e.allowEmpty,o=e.allowTruthy,t=Object.keys(e).includes("trueValue"),d=typeof e.tickElement<"u"?e.tickElement:'',v=typeof e.crossElement<"u"?e.crossElement:'';return t&&S===e.trueValue||!t&&(o&&S||S===!0||S==="true"||S==="True"||S===1||S==="1")?(D.setAttribute("aria-checked",!0),d||""):x&&(S==="null"||S===""||S===null||typeof S>"u")?(D.setAttribute("aria-checked","mixed"),""):(D.setAttribute("aria-checked",!1),v||"")}function zR(n,e,r){var S=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",x=e.outputFormat||"dd/MM/yyyy HH:mm:ss",o=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",t=n.getValue();if(typeof S<"u"){var d;return S.isDateTime(t)?d=t:D==="iso"?d=S.fromISO(String(t)):d=S.fromFormat(String(t),D),d.isValid?(e.timezone&&(d=d.setZone(e.timezone)),d.toFormat(x)):o===!0||!t?t:typeof o=="function"?o(t):o}else console.error("Format Error - 'datetime' formatter is dependant on luxon.js")}function FR(n,e,r){var S=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",x=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",o=typeof e.suffix<"u"?e.suffix:!1,t=typeof e.unit<"u"?e.unit:"days",d=typeof e.humanize<"u"?e.humanize:!1,v=typeof e.date<"u"?e.date:S.now(),i=n.getValue();if(typeof S<"u"){var M;return S.isDateTime(i)?M=i:D==="iso"?M=S.fromISO(String(i)):M=S.fromFormat(String(i),D),M.isValid?d?M.diff(v,t).toHuman()+(o?" "+o:""):parseInt(M.diff(v,t)[t])+(o?" "+o:""):x===!0?i:typeof x=="function"?x(i):x}else console.error("Format Error - 'datetimediff' formatter is dependant on luxon.js")}function BR(n,e,r){var S=n.getValue();return typeof e[S]>"u"?(console.warn("Missing display value for "+S),S):e[S]}function NR(n,e,r){var S=n.getValue(),D=n.getElement(),x=e&&e.stars?e.stars:5,o=document.createElement("span"),t=document.createElementNS("http://www.w3.org/2000/svg","svg"),d='',v='';o.style.verticalAlign="middle",t.setAttribute("width","14"),t.setAttribute("height","14"),t.setAttribute("viewBox","0 0 512 512"),t.setAttribute("xml:space","preserve"),t.style.padding="0 1px",S=S&&!isNaN(S)?parseInt(S):0,S=Math.max(0,Math.min(S,x));for(var i=1;i<=x;i++){var M=t.cloneNode(!0);M.innerHTML=i<=S?d:v,o.appendChild(M)}return D.style.whiteSpace="nowrap",D.style.overflow="hidden",D.style.textOverflow="ellipsis",D.setAttribute("aria-label",S),o}function VR(n,e,r){var S=this.sanitizeHTML(n.getValue())||0,D=document.createElement("span"),x=e&&e.max?e.max:100,o=e&&e.min?e.min:0,t=e&&typeof e.color<"u"?e.color:["red","orange","green"],d="#666666",v,i;if(!(isNaN(S)||typeof n.getValue()>"u")){switch(D.classList.add("tabulator-traffic-light"),i=parseFloat(S)<=x?parseFloat(S):x,i=parseFloat(i)>=o?parseFloat(i):o,v=(x-o)/100,i=Math.round((i-o)/v),typeof t){case"string":d=t;break;case"function":d=t(S);break;case"object":if(Array.isArray(t)){var M=100/t.length,g=Math.floor(i/M);g=Math.min(g,t.length-1),g=Math.max(g,0),d=t[g];break}}return D.style.backgroundColor=d,D}}function jR(n,e={},r){var S=this.sanitizeHTML(n.getValue())||0,D=n.getElement(),x=e.max?e.max:100,o=e.min?e.min:0,t=e.legendAlign?e.legendAlign:"center",d,v,i,M,g;switch(v=parseFloat(S)<=x?parseFloat(S):x,v=parseFloat(v)>=o?parseFloat(v):o,d=(x-o)/100,v=Math.round((v-o)/d),typeof e.color){case"string":i=e.color;break;case"function":i=e.color(S);break;case"object":if(Array.isArray(e.color)){let c=100/e.color.length,s=Math.floor(v/c);s=Math.min(s,e.color.length-1),s=Math.max(s,0),i=e.color[s];break}default:i="#2DC214"}switch(typeof e.legend){case"string":M=e.legend;break;case"function":M=e.legend(S);break;case"boolean":M=S;break;default:M=!1}switch(typeof e.legendColor){case"string":g=e.legendColor;break;case"function":g=e.legendColor(S);break;case"object":if(Array.isArray(e.legendColor)){let c=100/e.legendColor.length,s=Math.floor(v/c);s=Math.min(s,e.legendColor.length-1),s=Math.max(s,0),g=e.legendColor[s]}break;default:g="#000"}D.style.minWidth="30px",D.style.position="relative",D.setAttribute("aria-label",v);var p=document.createElement("div");p.style.display="inline-block",p.style.width=v+"%",p.style.backgroundColor=i,p.style.height="100%",p.setAttribute("data-max",x),p.setAttribute("data-min",o);var u=document.createElement("div");if(u.style.position="relative",u.style.width="100%",u.style.height="100%",M){var a=document.createElement("div");a.style.position="absolute",a.style.top=0,a.style.left=0,a.style.textAlign=t,a.style.width="100%",a.style.color=g,a.innerHTML=M}return r(function(){if(!(n instanceof gM)){var c=document.createElement("div");c.style.position="absolute",c.style.top="4px",c.style.bottom="4px",c.style.left="4px",c.style.right="4px",D.appendChild(c),D=c}D.appendChild(u),u.appendChild(p),M&&u.appendChild(a)}),""}function UR(n,e,r){return n.getElement().style.backgroundColor=this.sanitizeHTML(n.getValue()),""}function HR(n,e,r){return''}function GR(n,e,r){return''}function WR(n,e,r){var S=document.createElement("span"),D=n.getRow();return D.watchPosition(x=>{S.innerText=x}),S}function qR(n,e,r){return n.getElement().classList.add("tabulator-row-handle"),"
"}function $R(n,e,r){var S=document.createElement("div"),D=n.getRow()._row.modules.responsiveLayout;S.classList.add("tabulator-responsive-collapse-toggle"),S.innerHTML=` -`,n.getElement().classList.add("tabulator-row-handle");function x(o){var t=D.element;D.open=o,t&&(D.open?(S.classList.add("open"),t.style.display=""):(S.classList.remove("open"),t.style.display="none"))}return S.addEventListener("click",function(o){o.stopImmediatePropagation(),x(!D.open),n.getTable().rowManager.adjustTableSize()}),x(D.open),S}function YR(n,e,r){var S=document.createElement("input"),D=!1;if(S.type="checkbox",S.setAttribute("aria-label","Select Row"),this.table.modExists("selectRow",!0))if(S.addEventListener("click",o=>{o.stopPropagation()}),typeof n.getRow=="function"){var x=n.getRow();x instanceof Xy?(S.addEventListener("change",o=>{this.table.options.selectableRangeMode==="click"&&D?D=!1:x.toggleSelect()}),this.table.options.selectableRangeMode==="click"&&S.addEventListener("click",o=>{D=!0,this.table.modules.selectRow.handleComplexRowClick(x._row,o)}),S.checked=x.isSelected&&x.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(x,S)):S=""}else S.addEventListener("change",o=>{this.table.modules.selectRow.selectedRows.length?this.table.deselectRow():this.table.selectRow(e.rowRange)}),this.table.modules.selectRow.registerHeaderSelectCheckbox(S);return S}var ZR={plaintext:ER,html:LR,textarea:IR,money:OR,link:PR,image:DR,tickCross:RR,datetime:zR,datetimediff:FR,lookup:BR,star:NR,traffic:VR,progress:jR,color:UR,buttonTick:HR,buttonCross:GR,rownum:WR,handle:qR,responsiveCollapse:$R,rowSelection:YR};class Gu extends Xi{constructor(e){super(e),this.registerColumnOption("formatter"),this.registerColumnOption("formatterParams"),this.registerColumnOption("formatterPrint"),this.registerColumnOption("formatterPrintParams"),this.registerColumnOption("formatterClipboard"),this.registerColumnOption("formatterClipboardParams"),this.registerColumnOption("formatterHtmlOutput"),this.registerColumnOption("formatterHtmlOutputParams"),this.registerColumnOption("titleFormatter"),this.registerColumnOption("titleFormatterParams")}initialize(){this.subscribe("cell-format",this.formatValue.bind(this)),this.subscribe("cell-rendered",this.cellRendered.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-format",this.formatHeader.bind(this))}initializeColumn(e){e.modules.format=this.lookupFormatter(e,""),typeof e.definition.formatterPrint<"u"&&(e.modules.format.print=this.lookupFormatter(e,"Print")),typeof e.definition.formatterClipboard<"u"&&(e.modules.format.clipboard=this.lookupFormatter(e,"Clipboard")),typeof e.definition.formatterHtmlOutput<"u"&&(e.modules.format.htmlOutput=this.lookupFormatter(e,"HtmlOutput"))}lookupFormatter(e,r){var S={params:e.definition["formatter"+r+"Params"]||{}},D=e.definition["formatter"+r];switch(typeof D){case"string":Gu.formatters[D]?S.formatter=Gu.formatters[D]:(console.warn("Formatter Error - No such formatter found: ",D),S.formatter=Gu.formatters.plaintext);break;case"function":S.formatter=D;break;default:S.formatter=Gu.formatters.plaintext;break}return S}cellRendered(e){e.modules.format&&e.modules.format.renderedCallback&&!e.modules.format.rendered&&(e.modules.format.renderedCallback(),e.modules.format.rendered=!0)}formatHeader(e,r,S){var D,x,o,t;return e.definition.titleFormatter?(D=this.getFormatter(e.definition.titleFormatter),o=d=>{e.titleFormatterRendered=d},t={getValue:function(){return r},getElement:function(){return S},getType:function(){return"header"},getColumn:function(){return e.getComponent()},getTable:()=>this.table},x=e.definition.titleFormatterParams||{},x=typeof x=="function"?x():x,D.call(this,t,x,o)):r}formatValue(e){var r=e.getComponent(),S=typeof e.column.modules.format.params=="function"?e.column.modules.format.params(r):e.column.modules.format.params;function D(x){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=x,e.modules.format.rendered=!1}return e.column.modules.format.formatter.call(this,r,S,D)}formatExportValue(e,r){var S=e.column.modules.format[r],D;if(S){let o=function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1};var x=o;return D=typeof S.params=="function"?S.params(e.getComponent()):S.params,S.formatter.call(this,e.getComponent(),D,o)}else return this.formatValue(e)}sanitizeHTML(e){if(e){var r={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=/]/g,function(S){return r[S]})}else return e}emptyToSpace(e){return e===null||typeof e>"u"||e===""?" ":e}getFormatter(e){switch(typeof e){case"string":Gu.formatters[e]?e=Gu.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=Gu.formatters.plaintext);break;case"function":break;default:e=Gu.formatters.plaintext;break}return e}}Gu.moduleName="format";Gu.formatters=ZR;class _M extends Xi{constructor(e){super(e),this.leftColumns=[],this.rightColumns=[],this.initializationMode="left",this.active=!1,this.blocked=!0,this.registerColumnOption("frozen")}reset(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.active=!1}initialize(){this.subscribe("cell-layout",this.layoutCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-width",this.layout.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("table-layout",this.layout.bind(this)),this.subscribe("columns-loading",this.reset.bind(this)),this.subscribe("column-add",this.reinitializeColumns.bind(this)),this.subscribe("column-delete",this.reinitializeColumns.bind(this)),this.subscribe("table-redraw",this.layout.bind(this)),this.subscribe("layout-refreshing",this.blockLayout.bind(this)),this.subscribe("layout-refreshed",this.unblockLayout.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this))}blockLayout(){this.blocked=!0}unblockLayout(){this.blocked=!1}layoutCell(e){this.layoutElement(e.element,e.column)}reinitializeColumns(){this.reset(),this.table.columnManager.columnsByIndex.forEach(e=>{this.initializeColumn(e)})}initializeColumn(e){var r={margin:0,edge:!1};e.isGroup||(this.frozenCheck(e)?(r.position=this.initializationMode,this.initializationMode=="left"?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=r):this.initializationMode="right")}frozenCheck(e){return e.parent.isGroup&&e.definition.frozen&&console.warn("Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"),e.parent.isGroup?this.frozenCheck(e.parent):e.definition.frozen}layoutCalcRows(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow),this.table.modExists("groupRows")&&this.layoutGroupCalcs(this.table.modules.groupRows.getGroups()))}layoutGroupCalcs(e){e.forEach(r=>{r.calcs.top&&this.layoutRow(r.calcs.top),r.calcs.bottom&&this.layoutRow(r.calcs.bottom),r.groupList&&r.groupList.length&&this.layoutGroupCalcs(r.groupList)})}layoutColumnPosition(e){var r=[],S=0,D=0;this.leftColumns.forEach((x,o)=>{if(x.modules.frozen.marginValue=S,x.modules.frozen.margin=x.modules.frozen.marginValue+"px",x.visible&&(S+=x.getWidth()),o==this.leftColumns.length-1?x.modules.frozen.edge=!0:x.modules.frozen.edge=!1,x.parent.isGroup){var t=this.getColGroupParentElement(x);r.includes(t)||(this.layoutElement(t,x),r.push(t)),x.modules.frozen.edge&&t.classList.add("tabulator-frozen-"+x.modules.frozen.position)}else this.layoutElement(x.getElement(),x);e&&x.cells.forEach(d=>{this.layoutElement(d.getElement(!0),x)})}),this.rightColumns.forEach((x,o)=>{x.modules.frozen.marginValue=D,x.modules.frozen.margin=x.modules.frozen.marginValue+"px",x.visible&&(D+=x.getWidth()),o==this.rightColumns.length-1?x.modules.frozen.edge=!0:x.modules.frozen.edge=!1,x.parent.isGroup?this.layoutElement(this.getColGroupParentElement(x),x):this.layoutElement(x.getElement(),x),e&&x.cells.forEach(t=>{this.layoutElement(t.getElement(!0),x)})})}getColGroupParentElement(e){return e.parent.isGroup?this.getColGroupParentElement(e.parent):e.getElement()}layout(){this.active&&!this.blocked&&(this.layoutColumnPosition(),this.reinitializeRows(),this.layoutCalcRows())}reinitializeRows(){var e=this.table.rowManager.getVisibleRows(!0),r=this.table.rowManager.getRows().filter(S=>!e.includes(S));r.forEach(S=>{S.deinitialize()}),e.forEach(S=>{S.type==="row"&&this.layoutRow(S)})}layoutRow(e){this.table.options.layout==="fitDataFill"&&this.rightColumns.length&&(this.table.rowManager.getTableElement().style.minWidth="calc(100% - "+this.rightMargin+")"),this.leftColumns.forEach(r=>{var S=e.getCell(r);S&&this.layoutElement(S.getElement(!0),r)}),this.rightColumns.forEach(r=>{var S=e.getCell(r);S&&this.layoutElement(S.getElement(!0),r)})}layoutElement(e,r){var S;r.modules.frozen&&e&&(e.style.position="sticky",this.table.rtl?S=r.modules.frozen.position==="left"?"right":"left":S=r.modules.frozen.position,e.style[S]=r.modules.frozen.margin,e.classList.add("tabulator-frozen"),r.modules.frozen.edge&&e.classList.add("tabulator-frozen-"+r.modules.frozen.position))}adjustForScrollbar(e){this.rightColumns.length&&(this.table.columnManager.getContentsElement().style.width="calc(100% - "+e+"px)")}_calcSpace(e,r){var S=0;for(let D=0;D{this.initializeRow(e)})}initializeRow(e){var r=this.table.options.frozenRows,S=typeof r;S==="number"?e.getPosition()&&e.getPosition()+this.rows.length<=r&&this.freezeRow(e):S==="function"?r.call(this.table,e.getComponent())&&this.freezeRow(e):Array.isArray(r)&&r.includes(e.data[this.options("frozenRowsField")])&&this.freezeRow(e)}isRowFrozen(e){var r=this.rows.indexOf(e);return r>-1}isFrozen(){return!!this.rows.length}visibleRows(e,r){return this.rows.forEach(S=>{r.push(S)}),r}getRows(e){var r=e.slice(0);return this.rows.forEach(function(S){var D=r.indexOf(S);D>-1&&r.splice(D,1)}),r}freezeRow(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.rows.push(e),this.refreshData(!1,"display"),this.table.rowManager.adjustTableSize(),this.styleRows())}unfreezeRow(e){e.modules.frozen?(e.modules.frozen=!1,this.detachRow(e),this.table.rowManager.adjustTableSize(),this.refreshData(!1,"display"),this.rows.length&&this.styleRows()):console.warn("Freeze Error - Row is already unfrozen")}detachRow(e){var r=this.rows.indexOf(e);if(r>-1){var S=e.getElement();S.parentNode&&S.parentNode.removeChild(S),this.rows.splice(r,1)}}styleRows(e){this.rows.forEach((r,S)=>{this.table.rowManager.styleRow(r,S)})}}wM.moduleName="frozenRows";class XR{constructor(e){return this._group=e,this.type="GroupComponent",new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._group.groupManager.table.componentFunctionBinder.handle("group",r._group,S)}})}getKey(){return this._group.key}getField(){return this._group.field}getElement(){return this._group.element}getRows(){return this._group.getRows(!0)}getSubGroups(){return this._group.getSubGroups(!0)}getParentGroup(){return this._group.parent?this._group.parent.getComponent():!1}isVisible(){return this._group.visible}show(){this._group.show()}hide(){this._group.hide()}toggle(){this._group.toggleVisibility()}scrollTo(e,r){return this._group.groupManager.table.rowManager.scrollToRow(this._group,e,r)}_getSelf(){return this._group}getTable(){return this._group.groupManager.table}}class Cp{constructor(e,r,S,D,x,o,t){this.groupManager=e,this.parent=r,this.key=D,this.level=S,this.field=x,this.hasSubGroups=S{r.modules&&delete r.modules.group})),this.element=!1,this.arrowElement=!1,this.elementContents=!1}createElements(){var e=document.createElement("div");e.classList.add("tabulator-arrow"),this.element=document.createElement("div"),this.element.classList.add("tabulator-row"),this.element.classList.add("tabulator-group"),this.element.classList.add("tabulator-group-level-"+this.level),this.element.setAttribute("role","rowgroup"),this.arrowElement=document.createElement("div"),this.arrowElement.classList.add("tabulator-group-toggle"),this.arrowElement.appendChild(e),this.groupManager.table.options.movableRows!==!1&&this.groupManager.table.modExists("moveRow")&&this.groupManager.table.modules.moveRow.initializeGroupHeader(this)}createValueGroups(){var e=this.level+1;this.groupManager.allowedValues&&this.groupManager.allowedValues[e]&&this.groupManager.allowedValues[e].forEach(r=>{this._createGroup(r,e)})}addBindings(){var e;this.groupManager.table.options.groupToggleElement&&(e=this.groupManager.table.options.groupToggleElement=="arrow"?this.arrowElement:this.element,e.addEventListener("click",r=>{this.groupManager.table.options.groupToggleElement==="arrow"&&(r.stopPropagation(),r.stopImmediatePropagation()),setTimeout(()=>{this.toggleVisibility()})}))}_createGroup(e,r){var S=r+"_"+e,D=new Cp(this.groupManager,this,r,e,this.groupManager.groupIDLookups[r].field,this.groupManager.headerGenerator[r]||this.groupManager.headerGenerator[0],this.old?this.old.groups[S]:!1);this.groups[S]=D,this.groupList.push(D)}_addRowToGroup(e){var r=this.level+1;if(this.hasSubGroups){var S=this.groupManager.groupIDLookups[r].func(e.getData()),D=r+"_"+S;this.groupManager.allowedValues&&this.groupManager.allowedValues[r]?this.groups[D]&&this.groups[D].addRow(e):(this.groups[D]||this._createGroup(S,r),this.groups[D].addRow(e))}}_addRow(e){this.rows.push(e),e.modules.group=this}insertRow(e,r,S){var D=this.conformRowData({});e.updateData(D);var x=this.rows.indexOf(r);x>-1?S?this.rows.splice(x+1,0,e):this.rows.splice(x,0,e):S?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)}scrollHeader(e){this.arrowElement&&(this.arrowElement.style.marginLeft=e,this.groupList.forEach(function(r){r.scrollHeader(e)}))}getRowIndex(e){}conformRowData(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e}removeRow(e){var r=this.rows.indexOf(e),S=e.getElement();r>-1&&this.rows.splice(r,1),!this.groupManager.table.options.groupValues&&!this.rows.length?(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0)):(S.parentNode&&S.parentNode.removeChild(S),this.groupManager.blockRedraw||(this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)))}removeGroup(e){var r=e.level+"_"+e.key,S;this.groups[r]&&(delete this.groups[r],S=this.groupList.indexOf(e),S>-1&&this.groupList.splice(S,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))}getHeadersAndRows(){var e=[];return e.push(this),this._visSet(),this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.visible?this.groupList.length?this.groupList.forEach(function(r){e=e.concat(r.getHeadersAndRows())}):(this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),e=e.concat(this.rows),this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))):!this.groupList.length&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&(this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))),e}getData(e,r){var S=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach(D=>{S.push(D.getData(r||"data"))}),S}getRowCount(){var e=0;return this.groupList.length?this.groupList.forEach(r=>{e+=r.getRowCount()}):e=this.rows.length,e}toggleVisibility(){this.visible?this.hide():this.show()}hide(){this.visible=!1,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination?(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach(e=>{var r=e.getHeadersAndRows();r.forEach(S=>{S.detachElement()})}):this.rows.forEach(e=>{var r=e.getElement();r.parentNode.removeChild(r)}),this.groupManager.updateGroupRows(!0)):this.groupManager.updateGroupRows(!0),this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!1)}show(){if(this.visible=!0,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination){this.element.classList.add("tabulator-group-visible");var e=this.generateElement();this.groupList.length?this.groupList.forEach(r=>{var S=r.getHeadersAndRows();S.forEach(D=>{var x=D.getElement();e.parentNode.insertBefore(x,e.nextSibling),D.initialize(),e=x})}):this.rows.forEach(r=>{var S=r.getElement();e.parentNode.insertBefore(S,e.nextSibling),r.initialize(),e=S}),this.groupManager.updateGroupRows(!0)}else this.groupManager.updateGroupRows(!0);this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!0)}_visSet(){var e=[];typeof this.visible=="function"&&(this.rows.forEach(function(r){e.push(r.getData())}),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))}getRowGroup(e){var r=!1;return this.groupList.length?this.groupList.forEach(function(S){var D=S.getRowGroup(e);D&&(r=D)}):this.rows.find(function(S){return S===e})&&(r=this),r}getSubGroups(e){var r=[];return this.groupList.forEach(function(S){r.push(e?S.getComponent():S)}),r}getRows(e,r){var S=[];return r&&this.groupList.length?this.groupList.forEach(D=>{S=S.concat(D.getRows(e,r))}):this.rows.forEach(function(D){S.push(e?D.getComponent():D)}),S}generateGroupHeaderContents(){var e=[],r=this.getRows(!1,!0);for(r.forEach(function(S){e.push(S.getData())}),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());this.element.firstChild;)this.element.removeChild(this.element.firstChild);typeof this.elementContents=="string"?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)}getPath(e=[]){return e.unshift(this.key),this.parent&&this.parent.getPath(e),e}getElement(){return this.elementContents?this.element:this.generateElement()}generateElement(){this.addBindings=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;eS.length&&console.warn("Error creating group headers, groupHeader array is shorter than groupBy array"),this.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],this.langBind("groups|item",(x,o)=>{this.headerGenerator[0]=(t,d,g)=>(typeof t>"u"?"":t)+"("+d+" "+(d===1?x:o.groups.items)+")"}),this.groupIDLookups=[],e)this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="table"&&this.table.options.columnCalcs!="both"&&this.table.modules.columnCalcs.removeCalcs();else if(this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="group"){var D=this.table.columnManager.getRealColumns();D.forEach(x=>{x.definition.topCalc&&this.table.modules.columnCalcs.initializeTopRow(),x.definition.bottomCalc&&this.table.modules.columnCalcs.initializeBottomRow()})}Array.isArray(e)||(e=[e]),e.forEach((x,o)=>{var t,d;typeof x=="function"?t=x:(d=this.table.columnManager.getColumnByField(x),d?t=function(g){return d.getFieldValue(g)}:t=function(g){return g[x]}),this.groupIDLookups.push({field:typeof x=="function"?!1:x,func:t,values:this.allowedValues?this.allowedValues[o]:!1})}),r&&(Array.isArray(r)||(r=[r]),r.forEach(x=>{}),this.startOpen=r),S&&(this.headerGenerator=Array.isArray(S)?S:[S])}else this.groupList=[],this.groups={}}rowSample(e,r){if(this.table.options.groupBy){var S=this.getGroups(!1)[0];r.push(S.getRows(!1)[0])}return r}virtualRenderFill(){var e=this.table.rowManager.tableElement,r=this.table.rowManager.getVisibleRows();if(this.table.options.groupBy)r=r.filter(S=>S.type!=="group"),e.style.minWidth=r.length?"":this.table.columnManager.getWidth()+"px";else return r}rowAddingIndex(e,r,S){if(this.table.options.groupBy){this.assignRowToGroup(e);var D=e.modules.group.rows;return D.length>1&&(!r||r&&D.indexOf(r)==-1?S?D[0]!==e&&(r=D[0],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!S)):D[D.length-1]!==e&&(r=D[D.length-1],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!S)):this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!S)),r}}trackChanges(){this.dispatch("group-changed")}setGroupBy(e){this.table.options.groupBy=e,this.initialized||this.initialize(),this.configureGroupSetup(),!e&&this.table.modExists("columnCalcs")&&this.table.options.columnCalcs===!0&&this.table.modules.columnCalcs.reinitializeCalcs(),this.refreshData(),this.trackChanges()}setGroupValues(e){this.table.options.groupValues=e,this.configureGroupSetup(),this.refreshData(),this.trackChanges()}setGroupStartOpen(e){this.table.options.groupStartOpen=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}setGroupHeader(e){this.table.options.groupHeader=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}userGetGroups(e){return this.getGroups(!0)}userGetGroupedData(){return this.table.options.groupBy?this.getGroupedData():this.getData()}rowGetGroup(e){return e.modules.group?e.modules.group.getComponent():!1}rowMoving(e,r,S){if(this.table.options.groupBy){!S&&r instanceof Cp&&(r=this.table.rowManager.prevDisplayRow(e)||r);var D=r instanceof Cp?r:r.modules.group,x=e instanceof Cp?e:e.modules.group;D===x?this.table.rowManager.moveRowInArray(D.rows,e,r,S):(x&&x.removeRow(e),D.insertRow(e,r,S))}}rowDeleting(e){this.table.options.groupBy&&e.modules.group&&e.modules.group.removeRow(e)}rowsUpdated(e){this.table.options.groupBy&&this.updateGroupRows(!0)}cellUpdated(e){this.table.options.groupBy&&this.reassignRowToGroup(e.row)}getRows(e){return this.table.options.groupBy&&this.groupIDLookups.length?(this.dispatchExternal("dataGrouping"),this.generateGroups(e),this.subscribedExternal("dataGrouped")&&this.dispatchExternal("dataGrouped",this.getGroups(!0)),this.updateGroupRows()):e.slice(0)}getGroups(e){var r=[];return this.groupList.forEach(function(S){r.push(e?S.getComponent():S)}),r}getChildGroups(e){var r=[];return e||(e=this),e.groupList.forEach(S=>{S.groupList.length?r=r.concat(this.getChildGroups(S)):r.push(S)}),r}wipe(){this.table.options.groupBy&&(this.groupList.forEach(function(e){e.wipe()}),this.groupList=[],this.groups={})}pullGroupListData(e){var r=[];return e.forEach(S=>{var D={};D.level=0,D.rowCount=0,D.headerContent="";var x=[];S.hasSubGroups?(x=this.pullGroupListData(S.groupList),D.level=S.level,D.rowCount=x.length-S.groupList.length,D.headerContent=S.generator(S.key,D.rowCount,S.rows,S),r.push(D),r=r.concat(x)):(D.level=S.level,D.headerContent=S.generator(S.key,S.rows.length,S.rows,S),D.rowCount=S.getRows().length,r.push(D),S.getRows().forEach(o=>{r.push(o.getData("data"))}))}),r}getGroupedData(){return this.pullGroupListData(this.groupList)}getRowGroup(e){var r=!1;return this.options("dataTree")&&(e=this.table.modules.dataTree.getTreeParentRoot(e)),this.groupList.forEach(S=>{var D=S.getRowGroup(e);D&&(r=D)}),r}countGroups(){return this.groupList.length}generateGroups(e){var r=this.groups;this.groups={},this.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach(S=>{this.createGroup(S,0,r)}),e.forEach(S=>{this.assignRowToExistingGroup(S,r)})):e.forEach(S=>{this.assignRowToGroup(S,r)}),Object.values(r).forEach(S=>{S.wipe(!0)})}createGroup(e,r,S){var D=r+"_"+e,x;S=S||[],x=new Cp(this,!1,r,e,this.groupIDLookups[0].field,this.headerGenerator[0],S[D]),this.groups[D]=x,this.groupList.push(x)}assignRowToExistingGroup(e,r){var S=this.groupIDLookups[0].func(e.getData()),D="0_"+S;this.groups[D]&&this.groups[D].addRow(e)}assignRowToGroup(e,r){var S=this.groupIDLookups[0].func(e.getData()),D=!this.groups["0_"+S];return D&&this.createGroup(S,0,r),this.groups["0_"+S].addRow(e),!D}reassignRowToGroup(e){if(e.type==="row"){var r=e.modules.group,S=r.getPath(),D=this.getExpectedPath(e),x;x=S.length==D.length&&S.every((o,t)=>o===D[t]),x||(r.removeRow(e),this.assignRowToGroup(e,this.groups),this.refreshData(!0))}}getExpectedPath(e){var r=[],S=e.getData();return this.groupIDLookups.forEach(D=>{r.push(D.func(S))}),r}updateGroupRows(e){var r=[];return this.blockRedraw||(this.groupList.forEach(S=>{r=r.concat(S.getHeadersAndRows())}),e&&this.refreshData(!0)),r}scrollHeaders(e){this.table.options.groupBy&&(this.table.options.renderHorizontal==="virtual"&&(e-=this.table.columnManager.renderer.vDomPadLeft),e=e+"px",this.groupList.forEach(r=>{r.scrollHeader(e)}))}removeGroup(e){var r=e.level+"_"+e.key,S;this.groups[r]&&(delete this.groups[r],S=this.groupList.indexOf(e),S>-1&&this.groupList.splice(S,1))}checkBasicModeGroupHeaderWidth(){var e=this.table.rowManager.tableElement,r=!0;this.table.rowManager.getDisplayRows().forEach((S,D)=>{this.table.rowManager.styleRow(S,D),e.appendChild(S.getElement()),S.initialize(!0),S.type!=="group"&&(r=!1)}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}}TM.moduleName="groupRows";var KR={cellEdit:function(n){n.component.setValueProcessData(n.data.oldValue),n.component.cellRendered()},rowAdd:function(n){n.component.deleteActual()},rowDelete:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e)},rowMove:function(n){var e=n.data.posFrom-n.data.posTo>0;this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posFrom),e),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}},JR={cellEdit:function(n){n.component.setValueProcessData(n.data.newValue),n.component.cellRendered()},rowAdd:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e)},rowDelete:function(n){n.component.deleteActual()},rowMove:function(n){this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posTo),n.data.after),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}};class Rd extends Xi{constructor(e){super(e),this.history=[],this.index=-1,this.registerTableOption("history",!1)}initialize(){this.table.options.history&&(this.subscribe("cell-value-updated",this.cellUpdated.bind(this)),this.subscribe("cell-delete",this.clearComponentHistory.bind(this)),this.subscribe("row-delete",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clear.bind(this)),this.subscribe("row-added",this.rowAdded.bind(this)),this.subscribe("row-move",this.rowMoved.bind(this))),this.registerTableFunction("undo",this.undo.bind(this)),this.registerTableFunction("redo",this.redo.bind(this)),this.registerTableFunction("getHistoryUndoSize",this.getHistoryUndoSize.bind(this)),this.registerTableFunction("getHistoryRedoSize",this.getHistoryRedoSize.bind(this)),this.registerTableFunction("clearHistory",this.clear.bind(this))}rowMoved(e,r,S){this.action("rowMove",e,{posFrom:e.getPosition(),posTo:r.getPosition(),to:r,after:S})}rowAdded(e,r,S,D){this.action("rowAdd",e,{data:r,pos:S,index:D})}rowDeleted(e){var r,S;this.table.options.groupBy?(S=e.getComponent().getGroup()._getSelf().rows,r=S.indexOf(e),r&&(r=S[r-1])):(r=e.table.rowManager.getRowIndex(e),r&&(r=e.table.rowManager.rows[r-1])),this.action("rowDelete",e,{data:e.getData(),pos:!r,index:r})}cellUpdated(e){this.action("cellEdit",e,{oldValue:e.oldValue,newValue:e.value})}clear(){this.history=[],this.index=-1}action(e,r,S){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:r,data:S}),this.index++}getHistoryUndoSize(){return this.index+1}getHistoryRedoSize(){return this.history.length-(this.index+1)}clearComponentHistory(e){var r=this.history.findIndex(function(S){return S.component===e});r>-1&&(this.history.splice(r,1),r<=this.index&&this.index--,this.clearComponentHistory(e))}undo(){if(this.index>-1){let e=this.history[this.index];return Rd.undoers[e.type].call(this,e),this.index--,this.dispatchExternal("historyUndo",e.type,e.component.getComponent(),e.data),!0}else return console.warn("History Undo Error - No more history to undo"),!1}redo(){if(this.history.length-1>this.index){this.index++;let e=this.history[this.index];return Rd.redoers[e.type].call(this,e),this.dispatchExternal("historyRedo",e.type,e.component.getComponent(),e.data),!0}else return console.warn("History Redo Error - No more history to redo"),!1}_rebindRow(e,r){this.history.forEach(function(S){if(S.component instanceof wl)S.component===e&&(S.component=r);else if(S.component instanceof ng&&S.component.row===e){var D=S.component.column.getField();D&&(S.component=r.getCell(D))}})}}Rd.moduleName="history";Rd.undoers=KR;Rd.redoers=JR;class kM extends Xi{constructor(e){super(e),this.fieldIndex=[],this.hasIndex=!1}initialize(){this.tableElementCheck()}tableElementCheck(){this.table.originalElement&&this.table.originalElement.tagName==="TABLE"&&(this.table.originalElement.childNodes.length?this.parseTable():console.warn("Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."))}parseTable(){var e=this.table.originalElement,r=this.table.options,S=e.getElementsByTagName("th"),D=e.getElementsByTagName("tbody")[0],x=[];this.hasIndex=!1,this.dispatchExternal("htmlImporting"),D=D?D.getElementsByTagName("tr"):[],this._extractOptions(e,r),S.length?this._extractHeaders(S,D):this._generateBlankHeaders(S,D);for(var o=0;o{o[i.toLowerCase()]=i});for(var t in D){var d=D[t],g;d&&typeof d=="object"&&d.name&&d.name.indexOf("tabulator-")===0&&(g=d.name.replace("tabulator-",""),typeof o[g]<"u"&&(r[o[g]]=this._attribValue(d.value)))}}_attribValue(e){return e==="true"?!0:e==="false"?!1:e}_findCol(e){var r=this.table.options.columns.find(S=>S.title===e);return r||!1}_extractHeaders(e,r){for(var S=0;S`,n.getElement().classList.add("tabulator-row-handle");function x(o){var t=D.element;D.open=o,t&&(D.open?(S.classList.add("open"),t.style.display=""):(S.classList.remove("open"),t.style.display="none"))}return S.addEventListener("click",function(o){o.stopImmediatePropagation(),x(!D.open),n.getTable().rowManager.adjustTableSize()}),x(D.open),S}function YR(n,e,r){var S=document.createElement("input"),D=!1;if(S.type="checkbox",S.setAttribute("aria-label","Select Row"),this.table.modExists("selectRow",!0))if(S.addEventListener("click",o=>{o.stopPropagation()}),typeof n.getRow=="function"){var x=n.getRow();x instanceof Xy?(S.addEventListener("change",o=>{this.table.options.selectableRangeMode==="click"&&D?D=!1:x.toggleSelect()}),this.table.options.selectableRangeMode==="click"&&S.addEventListener("click",o=>{D=!0,this.table.modules.selectRow.handleComplexRowClick(x._row,o)}),S.checked=x.isSelected&&x.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(x,S)):S=""}else S.addEventListener("change",o=>{this.table.modules.selectRow.selectedRows.length?this.table.deselectRow():this.table.selectRow(e.rowRange)}),this.table.modules.selectRow.registerHeaderSelectCheckbox(S);return S}var ZR={plaintext:ER,html:LR,textarea:IR,money:OR,link:PR,image:DR,tickCross:RR,datetime:zR,datetimediff:FR,lookup:BR,star:NR,traffic:VR,progress:jR,color:UR,buttonTick:HR,buttonCross:GR,rownum:WR,handle:qR,responsiveCollapse:$R,rowSelection:YR};class Gu extends Xi{constructor(e){super(e),this.registerColumnOption("formatter"),this.registerColumnOption("formatterParams"),this.registerColumnOption("formatterPrint"),this.registerColumnOption("formatterPrintParams"),this.registerColumnOption("formatterClipboard"),this.registerColumnOption("formatterClipboardParams"),this.registerColumnOption("formatterHtmlOutput"),this.registerColumnOption("formatterHtmlOutputParams"),this.registerColumnOption("titleFormatter"),this.registerColumnOption("titleFormatterParams")}initialize(){this.subscribe("cell-format",this.formatValue.bind(this)),this.subscribe("cell-rendered",this.cellRendered.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-format",this.formatHeader.bind(this))}initializeColumn(e){e.modules.format=this.lookupFormatter(e,""),typeof e.definition.formatterPrint<"u"&&(e.modules.format.print=this.lookupFormatter(e,"Print")),typeof e.definition.formatterClipboard<"u"&&(e.modules.format.clipboard=this.lookupFormatter(e,"Clipboard")),typeof e.definition.formatterHtmlOutput<"u"&&(e.modules.format.htmlOutput=this.lookupFormatter(e,"HtmlOutput"))}lookupFormatter(e,r){var S={params:e.definition["formatter"+r+"Params"]||{}},D=e.definition["formatter"+r];switch(typeof D){case"string":Gu.formatters[D]?S.formatter=Gu.formatters[D]:(console.warn("Formatter Error - No such formatter found: ",D),S.formatter=Gu.formatters.plaintext);break;case"function":S.formatter=D;break;default:S.formatter=Gu.formatters.plaintext;break}return S}cellRendered(e){e.modules.format&&e.modules.format.renderedCallback&&!e.modules.format.rendered&&(e.modules.format.renderedCallback(),e.modules.format.rendered=!0)}formatHeader(e,r,S){var D,x,o,t;return e.definition.titleFormatter?(D=this.getFormatter(e.definition.titleFormatter),o=d=>{e.titleFormatterRendered=d},t={getValue:function(){return r},getElement:function(){return S},getType:function(){return"header"},getColumn:function(){return e.getComponent()},getTable:()=>this.table},x=e.definition.titleFormatterParams||{},x=typeof x=="function"?x():x,D.call(this,t,x,o)):r}formatValue(e){var r=e.getComponent(),S=typeof e.column.modules.format.params=="function"?e.column.modules.format.params(r):e.column.modules.format.params;function D(x){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=x,e.modules.format.rendered=!1}return e.column.modules.format.formatter.call(this,r,S,D)}formatExportValue(e,r){var S=e.column.modules.format[r],D;if(S){let o=function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1};var x=o;return D=typeof S.params=="function"?S.params(e.getComponent()):S.params,S.formatter.call(this,e.getComponent(),D,o)}else return this.formatValue(e)}sanitizeHTML(e){if(e){var r={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=/]/g,function(S){return r[S]})}else return e}emptyToSpace(e){return e===null||typeof e>"u"||e===""?" ":e}getFormatter(e){switch(typeof e){case"string":Gu.formatters[e]?e=Gu.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=Gu.formatters.plaintext);break;case"function":break;default:e=Gu.formatters.plaintext;break}return e}}Gu.moduleName="format";Gu.formatters=ZR;class _M extends Xi{constructor(e){super(e),this.leftColumns=[],this.rightColumns=[],this.initializationMode="left",this.active=!1,this.blocked=!0,this.registerColumnOption("frozen")}reset(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.active=!1}initialize(){this.subscribe("cell-layout",this.layoutCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-width",this.layout.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("table-layout",this.layout.bind(this)),this.subscribe("columns-loading",this.reset.bind(this)),this.subscribe("column-add",this.reinitializeColumns.bind(this)),this.subscribe("column-delete",this.reinitializeColumns.bind(this)),this.subscribe("table-redraw",this.layout.bind(this)),this.subscribe("layout-refreshing",this.blockLayout.bind(this)),this.subscribe("layout-refreshed",this.unblockLayout.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this))}blockLayout(){this.blocked=!0}unblockLayout(){this.blocked=!1}layoutCell(e){this.layoutElement(e.element,e.column)}reinitializeColumns(){this.reset(),this.table.columnManager.columnsByIndex.forEach(e=>{this.initializeColumn(e)})}initializeColumn(e){var r={margin:0,edge:!1};e.isGroup||(this.frozenCheck(e)?(r.position=this.initializationMode,this.initializationMode=="left"?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=r):this.initializationMode="right")}frozenCheck(e){return e.parent.isGroup&&e.definition.frozen&&console.warn("Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"),e.parent.isGroup?this.frozenCheck(e.parent):e.definition.frozen}layoutCalcRows(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow),this.table.modExists("groupRows")&&this.layoutGroupCalcs(this.table.modules.groupRows.getGroups()))}layoutGroupCalcs(e){e.forEach(r=>{r.calcs.top&&this.layoutRow(r.calcs.top),r.calcs.bottom&&this.layoutRow(r.calcs.bottom),r.groupList&&r.groupList.length&&this.layoutGroupCalcs(r.groupList)})}layoutColumnPosition(e){var r=[],S=0,D=0;this.leftColumns.forEach((x,o)=>{if(x.modules.frozen.marginValue=S,x.modules.frozen.margin=x.modules.frozen.marginValue+"px",x.visible&&(S+=x.getWidth()),o==this.leftColumns.length-1?x.modules.frozen.edge=!0:x.modules.frozen.edge=!1,x.parent.isGroup){var t=this.getColGroupParentElement(x);r.includes(t)||(this.layoutElement(t,x),r.push(t)),x.modules.frozen.edge&&t.classList.add("tabulator-frozen-"+x.modules.frozen.position)}else this.layoutElement(x.getElement(),x);e&&x.cells.forEach(d=>{this.layoutElement(d.getElement(!0),x)})}),this.rightColumns.forEach((x,o)=>{x.modules.frozen.marginValue=D,x.modules.frozen.margin=x.modules.frozen.marginValue+"px",x.visible&&(D+=x.getWidth()),o==this.rightColumns.length-1?x.modules.frozen.edge=!0:x.modules.frozen.edge=!1,x.parent.isGroup?this.layoutElement(this.getColGroupParentElement(x),x):this.layoutElement(x.getElement(),x),e&&x.cells.forEach(t=>{this.layoutElement(t.getElement(!0),x)})})}getColGroupParentElement(e){return e.parent.isGroup?this.getColGroupParentElement(e.parent):e.getElement()}layout(){this.active&&!this.blocked&&(this.layoutColumnPosition(),this.reinitializeRows(),this.layoutCalcRows())}reinitializeRows(){var e=this.table.rowManager.getVisibleRows(!0),r=this.table.rowManager.getRows().filter(S=>!e.includes(S));r.forEach(S=>{S.deinitialize()}),e.forEach(S=>{S.type==="row"&&this.layoutRow(S)})}layoutRow(e){this.table.options.layout==="fitDataFill"&&this.rightColumns.length&&(this.table.rowManager.getTableElement().style.minWidth="calc(100% - "+this.rightMargin+")"),this.leftColumns.forEach(r=>{var S=e.getCell(r);S&&this.layoutElement(S.getElement(!0),r)}),this.rightColumns.forEach(r=>{var S=e.getCell(r);S&&this.layoutElement(S.getElement(!0),r)})}layoutElement(e,r){var S;r.modules.frozen&&e&&(e.style.position="sticky",this.table.rtl?S=r.modules.frozen.position==="left"?"right":"left":S=r.modules.frozen.position,e.style[S]=r.modules.frozen.margin,e.classList.add("tabulator-frozen"),r.modules.frozen.edge&&e.classList.add("tabulator-frozen-"+r.modules.frozen.position))}adjustForScrollbar(e){this.rightColumns.length&&(this.table.columnManager.getContentsElement().style.width="calc(100% - "+e+"px)")}_calcSpace(e,r){var S=0;for(let D=0;D{this.initializeRow(e)})}initializeRow(e){var r=this.table.options.frozenRows,S=typeof r;S==="number"?e.getPosition()&&e.getPosition()+this.rows.length<=r&&this.freezeRow(e):S==="function"?r.call(this.table,e.getComponent())&&this.freezeRow(e):Array.isArray(r)&&r.includes(e.data[this.options("frozenRowsField")])&&this.freezeRow(e)}isRowFrozen(e){var r=this.rows.indexOf(e);return r>-1}isFrozen(){return!!this.rows.length}visibleRows(e,r){return this.rows.forEach(S=>{r.push(S)}),r}getRows(e){var r=e.slice(0);return this.rows.forEach(function(S){var D=r.indexOf(S);D>-1&&r.splice(D,1)}),r}freezeRow(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.rows.push(e),this.refreshData(!1,"display"),this.table.rowManager.adjustTableSize(),this.styleRows())}unfreezeRow(e){e.modules.frozen?(e.modules.frozen=!1,this.detachRow(e),this.table.rowManager.adjustTableSize(),this.refreshData(!1,"display"),this.rows.length&&this.styleRows()):console.warn("Freeze Error - Row is already unfrozen")}detachRow(e){var r=this.rows.indexOf(e);if(r>-1){var S=e.getElement();S.parentNode&&S.parentNode.removeChild(S),this.rows.splice(r,1)}}styleRows(e){this.rows.forEach((r,S)=>{this.table.rowManager.styleRow(r,S)})}}wM.moduleName="frozenRows";class XR{constructor(e){return this._group=e,this.type="GroupComponent",new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._group.groupManager.table.componentFunctionBinder.handle("group",r._group,S)}})}getKey(){return this._group.key}getField(){return this._group.field}getElement(){return this._group.element}getRows(){return this._group.getRows(!0)}getSubGroups(){return this._group.getSubGroups(!0)}getParentGroup(){return this._group.parent?this._group.parent.getComponent():!1}isVisible(){return this._group.visible}show(){this._group.show()}hide(){this._group.hide()}toggle(){this._group.toggleVisibility()}scrollTo(e,r){return this._group.groupManager.table.rowManager.scrollToRow(this._group,e,r)}_getSelf(){return this._group}getTable(){return this._group.groupManager.table}}class Cp{constructor(e,r,S,D,x,o,t){this.groupManager=e,this.parent=r,this.key=D,this.level=S,this.field=x,this.hasSubGroups=S{r.modules&&delete r.modules.group})),this.element=!1,this.arrowElement=!1,this.elementContents=!1}createElements(){var e=document.createElement("div");e.classList.add("tabulator-arrow"),this.element=document.createElement("div"),this.element.classList.add("tabulator-row"),this.element.classList.add("tabulator-group"),this.element.classList.add("tabulator-group-level-"+this.level),this.element.setAttribute("role","rowgroup"),this.arrowElement=document.createElement("div"),this.arrowElement.classList.add("tabulator-group-toggle"),this.arrowElement.appendChild(e),this.groupManager.table.options.movableRows!==!1&&this.groupManager.table.modExists("moveRow")&&this.groupManager.table.modules.moveRow.initializeGroupHeader(this)}createValueGroups(){var e=this.level+1;this.groupManager.allowedValues&&this.groupManager.allowedValues[e]&&this.groupManager.allowedValues[e].forEach(r=>{this._createGroup(r,e)})}addBindings(){var e;this.groupManager.table.options.groupToggleElement&&(e=this.groupManager.table.options.groupToggleElement=="arrow"?this.arrowElement:this.element,e.addEventListener("click",r=>{this.groupManager.table.options.groupToggleElement==="arrow"&&(r.stopPropagation(),r.stopImmediatePropagation()),setTimeout(()=>{this.toggleVisibility()})}))}_createGroup(e,r){var S=r+"_"+e,D=new Cp(this.groupManager,this,r,e,this.groupManager.groupIDLookups[r].field,this.groupManager.headerGenerator[r]||this.groupManager.headerGenerator[0],this.old?this.old.groups[S]:!1);this.groups[S]=D,this.groupList.push(D)}_addRowToGroup(e){var r=this.level+1;if(this.hasSubGroups){var S=this.groupManager.groupIDLookups[r].func(e.getData()),D=r+"_"+S;this.groupManager.allowedValues&&this.groupManager.allowedValues[r]?this.groups[D]&&this.groups[D].addRow(e):(this.groups[D]||this._createGroup(S,r),this.groups[D].addRow(e))}}_addRow(e){this.rows.push(e),e.modules.group=this}insertRow(e,r,S){var D=this.conformRowData({});e.updateData(D);var x=this.rows.indexOf(r);x>-1?S?this.rows.splice(x+1,0,e):this.rows.splice(x,0,e):S?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)}scrollHeader(e){this.arrowElement&&(this.arrowElement.style.marginLeft=e,this.groupList.forEach(function(r){r.scrollHeader(e)}))}getRowIndex(e){}conformRowData(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e}removeRow(e){var r=this.rows.indexOf(e),S=e.getElement();r>-1&&this.rows.splice(r,1),!this.groupManager.table.options.groupValues&&!this.rows.length?(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0)):(S.parentNode&&S.parentNode.removeChild(S),this.groupManager.blockRedraw||(this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)))}removeGroup(e){var r=e.level+"_"+e.key,S;this.groups[r]&&(delete this.groups[r],S=this.groupList.indexOf(e),S>-1&&this.groupList.splice(S,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))}getHeadersAndRows(){var e=[];return e.push(this),this._visSet(),this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.visible?this.groupList.length?this.groupList.forEach(function(r){e=e.concat(r.getHeadersAndRows())}):(this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),e=e.concat(this.rows),this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))):!this.groupList.length&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&(this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))),e}getData(e,r){var S=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach(D=>{S.push(D.getData(r||"data"))}),S}getRowCount(){var e=0;return this.groupList.length?this.groupList.forEach(r=>{e+=r.getRowCount()}):e=this.rows.length,e}toggleVisibility(){this.visible?this.hide():this.show()}hide(){this.visible=!1,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination?(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach(e=>{var r=e.getHeadersAndRows();r.forEach(S=>{S.detachElement()})}):this.rows.forEach(e=>{var r=e.getElement();r.parentNode.removeChild(r)}),this.groupManager.updateGroupRows(!0)):this.groupManager.updateGroupRows(!0),this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!1)}show(){if(this.visible=!0,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination){this.element.classList.add("tabulator-group-visible");var e=this.generateElement();this.groupList.length?this.groupList.forEach(r=>{var S=r.getHeadersAndRows();S.forEach(D=>{var x=D.getElement();e.parentNode.insertBefore(x,e.nextSibling),D.initialize(),e=x})}):this.rows.forEach(r=>{var S=r.getElement();e.parentNode.insertBefore(S,e.nextSibling),r.initialize(),e=S}),this.groupManager.updateGroupRows(!0)}else this.groupManager.updateGroupRows(!0);this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!0)}_visSet(){var e=[];typeof this.visible=="function"&&(this.rows.forEach(function(r){e.push(r.getData())}),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))}getRowGroup(e){var r=!1;return this.groupList.length?this.groupList.forEach(function(S){var D=S.getRowGroup(e);D&&(r=D)}):this.rows.find(function(S){return S===e})&&(r=this),r}getSubGroups(e){var r=[];return this.groupList.forEach(function(S){r.push(e?S.getComponent():S)}),r}getRows(e,r){var S=[];return r&&this.groupList.length?this.groupList.forEach(D=>{S=S.concat(D.getRows(e,r))}):this.rows.forEach(function(D){S.push(e?D.getComponent():D)}),S}generateGroupHeaderContents(){var e=[],r=this.getRows(!1,!0);for(r.forEach(function(S){e.push(S.getData())}),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());this.element.firstChild;)this.element.removeChild(this.element.firstChild);typeof this.elementContents=="string"?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)}getPath(e=[]){return e.unshift(this.key),this.parent&&this.parent.getPath(e),e}getElement(){return this.elementContents?this.element:this.generateElement()}generateElement(){this.addBindings=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;eS.length&&console.warn("Error creating group headers, groupHeader array is shorter than groupBy array"),this.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],this.langBind("groups|item",(x,o)=>{this.headerGenerator[0]=(t,d,v)=>(typeof t>"u"?"":t)+"("+d+" "+(d===1?x:o.groups.items)+")"}),this.groupIDLookups=[],e)this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="table"&&this.table.options.columnCalcs!="both"&&this.table.modules.columnCalcs.removeCalcs();else if(this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="group"){var D=this.table.columnManager.getRealColumns();D.forEach(x=>{x.definition.topCalc&&this.table.modules.columnCalcs.initializeTopRow(),x.definition.bottomCalc&&this.table.modules.columnCalcs.initializeBottomRow()})}Array.isArray(e)||(e=[e]),e.forEach((x,o)=>{var t,d;typeof x=="function"?t=x:(d=this.table.columnManager.getColumnByField(x),d?t=function(v){return d.getFieldValue(v)}:t=function(v){return v[x]}),this.groupIDLookups.push({field:typeof x=="function"?!1:x,func:t,values:this.allowedValues?this.allowedValues[o]:!1})}),r&&(Array.isArray(r)||(r=[r]),r.forEach(x=>{}),this.startOpen=r),S&&(this.headerGenerator=Array.isArray(S)?S:[S])}else this.groupList=[],this.groups={}}rowSample(e,r){if(this.table.options.groupBy){var S=this.getGroups(!1)[0];r.push(S.getRows(!1)[0])}return r}virtualRenderFill(){var e=this.table.rowManager.tableElement,r=this.table.rowManager.getVisibleRows();if(this.table.options.groupBy)r=r.filter(S=>S.type!=="group"),e.style.minWidth=r.length?"":this.table.columnManager.getWidth()+"px";else return r}rowAddingIndex(e,r,S){if(this.table.options.groupBy){this.assignRowToGroup(e);var D=e.modules.group.rows;return D.length>1&&(!r||r&&D.indexOf(r)==-1?S?D[0]!==e&&(r=D[0],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!S)):D[D.length-1]!==e&&(r=D[D.length-1],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!S)):this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!S)),r}}trackChanges(){this.dispatch("group-changed")}setGroupBy(e){this.table.options.groupBy=e,this.initialized||this.initialize(),this.configureGroupSetup(),!e&&this.table.modExists("columnCalcs")&&this.table.options.columnCalcs===!0&&this.table.modules.columnCalcs.reinitializeCalcs(),this.refreshData(),this.trackChanges()}setGroupValues(e){this.table.options.groupValues=e,this.configureGroupSetup(),this.refreshData(),this.trackChanges()}setGroupStartOpen(e){this.table.options.groupStartOpen=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}setGroupHeader(e){this.table.options.groupHeader=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}userGetGroups(e){return this.getGroups(!0)}userGetGroupedData(){return this.table.options.groupBy?this.getGroupedData():this.getData()}rowGetGroup(e){return e.modules.group?e.modules.group.getComponent():!1}rowMoving(e,r,S){if(this.table.options.groupBy){!S&&r instanceof Cp&&(r=this.table.rowManager.prevDisplayRow(e)||r);var D=r instanceof Cp?r:r.modules.group,x=e instanceof Cp?e:e.modules.group;D===x?this.table.rowManager.moveRowInArray(D.rows,e,r,S):(x&&x.removeRow(e),D.insertRow(e,r,S))}}rowDeleting(e){this.table.options.groupBy&&e.modules.group&&e.modules.group.removeRow(e)}rowsUpdated(e){this.table.options.groupBy&&this.updateGroupRows(!0)}cellUpdated(e){this.table.options.groupBy&&this.reassignRowToGroup(e.row)}getRows(e){return this.table.options.groupBy&&this.groupIDLookups.length?(this.dispatchExternal("dataGrouping"),this.generateGroups(e),this.subscribedExternal("dataGrouped")&&this.dispatchExternal("dataGrouped",this.getGroups(!0)),this.updateGroupRows()):e.slice(0)}getGroups(e){var r=[];return this.groupList.forEach(function(S){r.push(e?S.getComponent():S)}),r}getChildGroups(e){var r=[];return e||(e=this),e.groupList.forEach(S=>{S.groupList.length?r=r.concat(this.getChildGroups(S)):r.push(S)}),r}wipe(){this.table.options.groupBy&&(this.groupList.forEach(function(e){e.wipe()}),this.groupList=[],this.groups={})}pullGroupListData(e){var r=[];return e.forEach(S=>{var D={};D.level=0,D.rowCount=0,D.headerContent="";var x=[];S.hasSubGroups?(x=this.pullGroupListData(S.groupList),D.level=S.level,D.rowCount=x.length-S.groupList.length,D.headerContent=S.generator(S.key,D.rowCount,S.rows,S),r.push(D),r=r.concat(x)):(D.level=S.level,D.headerContent=S.generator(S.key,S.rows.length,S.rows,S),D.rowCount=S.getRows().length,r.push(D),S.getRows().forEach(o=>{r.push(o.getData("data"))}))}),r}getGroupedData(){return this.pullGroupListData(this.groupList)}getRowGroup(e){var r=!1;return this.options("dataTree")&&(e=this.table.modules.dataTree.getTreeParentRoot(e)),this.groupList.forEach(S=>{var D=S.getRowGroup(e);D&&(r=D)}),r}countGroups(){return this.groupList.length}generateGroups(e){var r=this.groups;this.groups={},this.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach(S=>{this.createGroup(S,0,r)}),e.forEach(S=>{this.assignRowToExistingGroup(S,r)})):e.forEach(S=>{this.assignRowToGroup(S,r)}),Object.values(r).forEach(S=>{S.wipe(!0)})}createGroup(e,r,S){var D=r+"_"+e,x;S=S||[],x=new Cp(this,!1,r,e,this.groupIDLookups[0].field,this.headerGenerator[0],S[D]),this.groups[D]=x,this.groupList.push(x)}assignRowToExistingGroup(e,r){var S=this.groupIDLookups[0].func(e.getData()),D="0_"+S;this.groups[D]&&this.groups[D].addRow(e)}assignRowToGroup(e,r){var S=this.groupIDLookups[0].func(e.getData()),D=!this.groups["0_"+S];return D&&this.createGroup(S,0,r),this.groups["0_"+S].addRow(e),!D}reassignRowToGroup(e){if(e.type==="row"){var r=e.modules.group,S=r.getPath(),D=this.getExpectedPath(e),x;x=S.length==D.length&&S.every((o,t)=>o===D[t]),x||(r.removeRow(e),this.assignRowToGroup(e,this.groups),this.refreshData(!0))}}getExpectedPath(e){var r=[],S=e.getData();return this.groupIDLookups.forEach(D=>{r.push(D.func(S))}),r}updateGroupRows(e){var r=[];return this.blockRedraw||(this.groupList.forEach(S=>{r=r.concat(S.getHeadersAndRows())}),e&&this.refreshData(!0)),r}scrollHeaders(e){this.table.options.groupBy&&(this.table.options.renderHorizontal==="virtual"&&(e-=this.table.columnManager.renderer.vDomPadLeft),e=e+"px",this.groupList.forEach(r=>{r.scrollHeader(e)}))}removeGroup(e){var r=e.level+"_"+e.key,S;this.groups[r]&&(delete this.groups[r],S=this.groupList.indexOf(e),S>-1&&this.groupList.splice(S,1))}checkBasicModeGroupHeaderWidth(){var e=this.table.rowManager.tableElement,r=!0;this.table.rowManager.getDisplayRows().forEach((S,D)=>{this.table.rowManager.styleRow(S,D),e.appendChild(S.getElement()),S.initialize(!0),S.type!=="group"&&(r=!1)}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}}TM.moduleName="groupRows";var KR={cellEdit:function(n){n.component.setValueProcessData(n.data.oldValue),n.component.cellRendered()},rowAdd:function(n){n.component.deleteActual()},rowDelete:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e)},rowMove:function(n){var e=n.data.posFrom-n.data.posTo>0;this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posFrom),e),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}},JR={cellEdit:function(n){n.component.setValueProcessData(n.data.newValue),n.component.cellRendered()},rowAdd:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e)},rowDelete:function(n){n.component.deleteActual()},rowMove:function(n){this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posTo),n.data.after),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}};class Rd extends Xi{constructor(e){super(e),this.history=[],this.index=-1,this.registerTableOption("history",!1)}initialize(){this.table.options.history&&(this.subscribe("cell-value-updated",this.cellUpdated.bind(this)),this.subscribe("cell-delete",this.clearComponentHistory.bind(this)),this.subscribe("row-delete",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clear.bind(this)),this.subscribe("row-added",this.rowAdded.bind(this)),this.subscribe("row-move",this.rowMoved.bind(this))),this.registerTableFunction("undo",this.undo.bind(this)),this.registerTableFunction("redo",this.redo.bind(this)),this.registerTableFunction("getHistoryUndoSize",this.getHistoryUndoSize.bind(this)),this.registerTableFunction("getHistoryRedoSize",this.getHistoryRedoSize.bind(this)),this.registerTableFunction("clearHistory",this.clear.bind(this))}rowMoved(e,r,S){this.action("rowMove",e,{posFrom:e.getPosition(),posTo:r.getPosition(),to:r,after:S})}rowAdded(e,r,S,D){this.action("rowAdd",e,{data:r,pos:S,index:D})}rowDeleted(e){var r,S;this.table.options.groupBy?(S=e.getComponent().getGroup()._getSelf().rows,r=S.indexOf(e),r&&(r=S[r-1])):(r=e.table.rowManager.getRowIndex(e),r&&(r=e.table.rowManager.rows[r-1])),this.action("rowDelete",e,{data:e.getData(),pos:!r,index:r})}cellUpdated(e){this.action("cellEdit",e,{oldValue:e.oldValue,newValue:e.value})}clear(){this.history=[],this.index=-1}action(e,r,S){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:r,data:S}),this.index++}getHistoryUndoSize(){return this.index+1}getHistoryRedoSize(){return this.history.length-(this.index+1)}clearComponentHistory(e){var r=this.history.findIndex(function(S){return S.component===e});r>-1&&(this.history.splice(r,1),r<=this.index&&this.index--,this.clearComponentHistory(e))}undo(){if(this.index>-1){let e=this.history[this.index];return Rd.undoers[e.type].call(this,e),this.index--,this.dispatchExternal("historyUndo",e.type,e.component.getComponent(),e.data),!0}else return console.warn("History Undo Error - No more history to undo"),!1}redo(){if(this.history.length-1>this.index){this.index++;let e=this.history[this.index];return Rd.redoers[e.type].call(this,e),this.dispatchExternal("historyRedo",e.type,e.component.getComponent(),e.data),!0}else return console.warn("History Redo Error - No more history to redo"),!1}_rebindRow(e,r){this.history.forEach(function(S){if(S.component instanceof wl)S.component===e&&(S.component=r);else if(S.component instanceof ng&&S.component.row===e){var D=S.component.column.getField();D&&(S.component=r.getCell(D))}})}}Rd.moduleName="history";Rd.undoers=KR;Rd.redoers=JR;class kM extends Xi{constructor(e){super(e),this.fieldIndex=[],this.hasIndex=!1}initialize(){this.tableElementCheck()}tableElementCheck(){this.table.originalElement&&this.table.originalElement.tagName==="TABLE"&&(this.table.originalElement.childNodes.length?this.parseTable():console.warn("Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."))}parseTable(){var e=this.table.originalElement,r=this.table.options,S=e.getElementsByTagName("th"),D=e.getElementsByTagName("tbody")[0],x=[];this.hasIndex=!1,this.dispatchExternal("htmlImporting"),D=D?D.getElementsByTagName("tr"):[],this._extractOptions(e,r),S.length?this._extractHeaders(S,D):this._generateBlankHeaders(S,D);for(var o=0;o{o[i.toLowerCase()]=i});for(var t in D){var d=D[t],v;d&&typeof d=="object"&&d.name&&d.name.indexOf("tabulator-")===0&&(v=d.name.replace("tabulator-",""),typeof o[v]<"u"&&(r[o[v]]=this._attribValue(d.value)))}}_attribValue(e){return e==="true"?!0:e==="false"?!1:e}_findCol(e){var r=this.table.options.columns.find(S=>S.title===e);return r||!1}_extractHeaders(e,r){for(var S=0;S(console.error("Import Error:",o||"Unable to import data"),Promise.reject(o)))}lookupImporter(e){var r;return e||(e=this.table.options.importFormat),typeof e=="string"?r=ig.importers[e]:r=e,r||console.error("Import Error - Importer not found:",e),r}importFromFile(e,r){var S=this.lookupImporter(e);if(S)return this.pickFile(r).then(this.importData.bind(this,S)).then(this.structureData.bind(this)).then(this.setData.bind(this)).catch(D=>(console.error("Import Error:",D||"Unable to import file"),Promise.reject(D)))}pickFile(e){return new Promise((r,S)=>{var D=document.createElement("input");D.type="file",D.accept=e,D.addEventListener("change",x=>{var o=D.files[0],t=new FileReader;switch(this.table.options.importReader){case"buffer":t.readAsArrayBuffer(o);break;case"binary":t.readAsBinaryString(o);break;case"url":t.readAsDataURL(o);break;case"text":default:t.readAsText(o)}t.onload=d=>{r(t.result)},t.onerror=d=>{console.warn("File Load Error - Unable to read file"),S()}}),D.click()})}importData(e,r){var S=e.call(this.table,r);return S instanceof Promise?S:S?Promise.resolve(S):Promise.reject()}structureData(e){var r=[];return Array.isArray(e)&&e.length&&Array.isArray(e[0])?(this.table.options.autoColumns?r=this.structureArrayToObject(e):r=this.structureArrayToColumns(e),r):e}structureArrayToObject(e){var r=e.shift(),S=e.map(D=>{var x={};return r.forEach((o,t)=>{x[o]=D[t]}),x});return S}structureArrayToColumns(e){var r=[],S=this.table.getColumns();return S[0]&&e[0][0]&&S[0].getDefinition().title===e[0][0]&&e.shift(),e.forEach(D=>{var x={};D.forEach((o,t)=>{var d=S[t];d&&(x[d.getField()]=o)}),r.push(x)}),r}setData(e){return this.table.setData(e)}}ig.moduleName="import";ig.importers=nz;class MM extends Xi{constructor(e){super(e),this.eventMap={rowClick:"row-click",rowDblClick:"row-dblclick",rowContext:"row-contextmenu",rowMouseEnter:"row-mouseenter",rowMouseLeave:"row-mouseleave",rowMouseOver:"row-mouseover",rowMouseOut:"row-mouseout",rowMouseMove:"row-mousemove",rowMouseDown:"row-mousedown",rowMouseUp:"row-mouseup",rowTap:"row",rowDblTap:"row",rowTapHold:"row",cellClick:"cell-click",cellDblClick:"cell-dblclick",cellContext:"cell-contextmenu",cellMouseEnter:"cell-mouseenter",cellMouseLeave:"cell-mouseleave",cellMouseOver:"cell-mouseover",cellMouseOut:"cell-mouseout",cellMouseMove:"cell-mousemove",cellMouseDown:"cell-mousedown",cellMouseUp:"cell-mouseup",cellTap:"cell",cellDblTap:"cell",cellTapHold:"cell",headerClick:"column-click",headerDblClick:"column-dblclick",headerContext:"column-contextmenu",headerMouseEnter:"column-mouseenter",headerMouseLeave:"column-mouseleave",headerMouseOver:"column-mouseover",headerMouseOut:"column-mouseout",headerMouseMove:"column-mousemove",headerMouseDown:"column-mousedown",headerMouseUp:"column-mouseup",headerTap:"column",headerDblTap:"column",headerTapHold:"column",groupClick:"group-click",groupDblClick:"group-dblclick",groupContext:"group-contextmenu",groupMouseEnter:"group-mouseenter",groupMouseLeave:"group-mouseleave",groupMouseOver:"group-mouseover",groupMouseOut:"group-mouseout",groupMouseMove:"group-mousemove",groupMouseDown:"group-mousedown",groupMouseUp:"group-mouseup",groupTap:"group",groupDblTap:"group",groupTapHold:"group"},this.subscribers={},this.touchSubscribers={},this.columnSubscribers={},this.touchWatchers={row:{tap:null,tapDbl:null,tapHold:null},cell:{tap:null,tapDbl:null,tapHold:null},column:{tap:null,tapDbl:null,tapHold:null},group:{tap:null,tapDbl:null,tapHold:null}},this.registerColumnOption("headerClick"),this.registerColumnOption("headerDblClick"),this.registerColumnOption("headerContext"),this.registerColumnOption("headerMouseEnter"),this.registerColumnOption("headerMouseLeave"),this.registerColumnOption("headerMouseOver"),this.registerColumnOption("headerMouseOut"),this.registerColumnOption("headerMouseMove"),this.registerColumnOption("headerMouseDown"),this.registerColumnOption("headerMouseUp"),this.registerColumnOption("headerTap"),this.registerColumnOption("headerDblTap"),this.registerColumnOption("headerTapHold"),this.registerColumnOption("cellClick"),this.registerColumnOption("cellDblClick"),this.registerColumnOption("cellContext"),this.registerColumnOption("cellMouseEnter"),this.registerColumnOption("cellMouseLeave"),this.registerColumnOption("cellMouseOver"),this.registerColumnOption("cellMouseOut"),this.registerColumnOption("cellMouseMove"),this.registerColumnOption("cellMouseDown"),this.registerColumnOption("cellMouseUp"),this.registerColumnOption("cellTap"),this.registerColumnOption("cellDblTap"),this.registerColumnOption("cellTapHold")}initialize(){this.initializeExternalEvents(),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("cell-dblclick",this.cellContentsSelectionFixer.bind(this)),this.subscribe("scroll-horizontal",this.clearTouchWatchers.bind(this)),this.subscribe("scroll-vertical",this.clearTouchWatchers.bind(this))}clearTouchWatchers(){var e=Object.values(this.touchWatchers);e.forEach(r=>{for(let S in r)r[S]=null})}cellContentsSelectionFixer(e,r){var S;if(!(this.table.modExists("edit")&&this.table.modules.edit.currentCell===r)){e.preventDefault();try{document.selection?(S=document.body.createTextRange(),S.moveToElementText(r.getElement()),S.select()):window.getSelection&&(S=document.createRange(),S.selectNode(r.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(S))}catch{}}}initializeExternalEvents(){for(let e in this.eventMap)this.subscriptionChangeExternal(e,this.subscriptionChanged.bind(this,e))}subscriptionChanged(e,r){r?this.subscribers[e]||(this.eventMap[e].includes("-")?(this.subscribers[e]=this.handle.bind(this,e),this.subscribe(this.eventMap[e],this.subscribers[e])):this.subscribeTouchEvents(e)):this.eventMap[e].includes("-")?this.subscribers[e]&&!this.columnSubscribers[e]&&!this.subscribedExternal(e)&&(this.unsubscribe(this.eventMap[e],this.subscribers[e]),delete this.subscribers[e]):this.unsubscribeTouchEvents(e)}subscribeTouchEvents(e){var r=this.eventMap[e];this.touchSubscribers[r+"-touchstart"]||(this.touchSubscribers[r+"-touchstart"]=this.handleTouch.bind(this,r,"start"),this.touchSubscribers[r+"-touchend"]=this.handleTouch.bind(this,r,"end"),this.subscribe(r+"-touchstart",this.touchSubscribers[r+"-touchstart"]),this.subscribe(r+"-touchend",this.touchSubscribers[r+"-touchend"])),this.subscribers[e]=!0}unsubscribeTouchEvents(e){var r=!0,S=this.eventMap[e];if(this.subscribers[e]&&!this.subscribedExternal(e)){delete this.subscribers[e];for(let D in this.eventMap)this.eventMap[D]===S&&this.subscribers[D]&&(r=!1);r&&(this.unsubscribe(S+"-touchstart",this.touchSubscribers[S+"-touchstart"]),this.unsubscribe(S+"-touchend",this.touchSubscribers[S+"-touchend"]),delete this.touchSubscribers[S+"-touchstart"],delete this.touchSubscribers[S+"-touchend"])}}initializeColumn(e){var r=e.definition;for(let S in this.eventMap)r[S]&&(this.subscriptionChanged(S,!0),this.columnSubscribers[S]||(this.columnSubscribers[S]=[]),this.columnSubscribers[S].push(e))}handle(e,r,S){this.dispatchEvent(e,r,S)}handleTouch(e,r,S,D){var x=this.touchWatchers[e];switch(e==="column"&&(e="header"),r){case"start":x.tap=!0,clearTimeout(x.tapHold),x.tapHold=setTimeout(()=>{clearTimeout(x.tapHold),x.tapHold=null,x.tap=null,clearTimeout(x.tapDbl),x.tapDbl=null,this.dispatchEvent(e+"TapHold",S,D)},1e3);break;case"end":x.tap&&(x.tap=null,this.dispatchEvent(e+"Tap",S,D)),x.tapDbl?(clearTimeout(x.tapDbl),x.tapDbl=null,this.dispatchEvent(e+"DblTap",S,D)):x.tapDbl=setTimeout(()=>{clearTimeout(x.tapDbl),x.tapDbl=null},300),clearTimeout(x.tapHold),x.tapHold=null;break}}dispatchEvent(e,r,S){var D=S.getComponent(),x;this.columnSubscribers[e]&&(S instanceof ng?x=S.column.definition[e]:S instanceof cf&&(x=S.definition[e]),x&&x(r,D)),this.dispatchExternal(e,r,D)}}MM.moduleName="interaction";var rz={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:["ctrl + 90","meta + 90"],redo:["ctrl + 89","meta + 89"],copyToClipboard:["ctrl + 67","meta + 89"]},iz={keyBlock:function(n){n.stopPropagation(),n.preventDefault()},scrollPageUp:function(n){var e=this.table.rowManager,r=e.scrollTop-e.element.clientHeight;n.preventDefault(),e.displayRowsCount&&(r>=0?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(n){var e=this.table.rowManager,r=e.scrollTop+e.element.clientHeight,S=e.element.scrollHeight;n.preventDefault(),e.displayRowsCount&&(r<=S?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1]),this.table.element.focus()},navPrev:function(n){this.dispatch("keybinding-nav-prev",n)},navNext:function(n){this.dispatch("keybinding-nav-next",n)},navLeft:function(n){this.dispatch("keybinding-nav-left",n)},navRight:function(n){this.dispatch("keybinding-nav-right",n)},navUp:function(n){this.dispatch("keybinding-nav-up",n)},navDown:function(n){this.dispatch("keybinding-nav-down",n)},undo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.undo()))},redo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(n){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}};class Ph extends Xi{constructor(e){super(e),this.watchKeys=null,this.pressedKeys=null,this.keyupBinding=!1,this.keydownBinding=!1,this.registerTableOption("keybindings",{}),this.registerTableOption("tabEndNewRow",!1)}initialize(){var e=this.table.options.keybindings,r={};this.watchKeys={},this.pressedKeys=[],e!==!1&&(Object.assign(r,Ph.bindings),Object.assign(r,e),this.mapBindings(r),this.bindEvents()),this.subscribe("table-destroy",this.clearBindings.bind(this))}mapBindings(e){for(let r in e)Ph.actions[r]?e[r]&&(typeof e[r]!="object"&&(e[r]=[e[r]]),e[r].forEach(S=>{var D=Array.isArray(S)?S:[S];D.forEach(x=>{this.mapBinding(r,x)})})):console.warn("Key Binding Error - no such action:",r)}mapBinding(e,r){var S={action:Ph.actions[e],keys:[],ctrl:!1,shift:!1,meta:!1},D=r.toString().toLowerCase().split(" ").join("").split("+");D.forEach(x=>{switch(x){case"ctrl":S.ctrl=!0;break;case"shift":S.shift=!0;break;case"meta":S.meta=!0;break;default:x=isNaN(x)?x.toUpperCase().charCodeAt(0):parseInt(x),S.keys.push(x),this.watchKeys[x]||(this.watchKeys[x]=[]),this.watchKeys[x].push(S)}})}bindEvents(){var e=this;this.keyupBinding=function(r){var S=r.keyCode,D=e.watchKeys[S];D&&(e.pressedKeys.push(S),D.forEach(function(x){e.checkBinding(r,x)}))},this.keydownBinding=function(r){var S=r.keyCode,D=e.watchKeys[S];if(D){var x=e.pressedKeys.indexOf(S);x>-1&&e.pressedKeys.splice(x,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)}clearBindings(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)}checkBinding(e,r){var S=!0;return e.ctrlKey==r.ctrl&&e.shiftKey==r.shift&&e.metaKey==r.meta?(r.keys.forEach(D=>{var x=this.pressedKeys.indexOf(D);x==-1&&(S=!1)}),S&&r.action.call(this,e),!0):!1}}Ph.moduleName="keybindings";Ph.bindings=rz;Ph.actions=iz;class AM extends Xi{constructor(e){super(e),this.menuContainer=null,this.nestedMenuBlock=!1,this.currentComponent=null,this.rootPopup=null,this.columnSubscribers={},this.registerTableOption("menuContainer",void 0),this.registerTableOption("rowContextMenu",!1),this.registerTableOption("rowClickMenu",!1),this.registerTableOption("rowDblClickMenu",!1),this.registerTableOption("groupContextMenu",!1),this.registerTableOption("groupClickMenu",!1),this.registerTableOption("groupDblClickMenu",!1),this.registerColumnOption("headerContextMenu"),this.registerColumnOption("headerClickMenu"),this.registerColumnOption("headerDblClickMenu"),this.registerColumnOption("headerMenu"),this.registerColumnOption("headerMenuIcon"),this.registerColumnOption("contextMenu"),this.registerColumnOption("clickMenu"),this.registerColumnOption("dblClickMenu")}initialize(){this.deprecatedOptionsCheck(),this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("menuContainer","popupContainer")||(this.table.options.popupContainer=this.table.options.menuContainer)}initializeRowWatchers(){this.table.options.rowContextMenu&&(this.subscribe("row-contextmenu",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu)),this.table.on("rowTapHold",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu))),this.table.options.rowClickMenu&&this.subscribe("row-click",this.loadMenuEvent.bind(this,this.table.options.rowClickMenu)),this.table.options.rowDblClickMenu&&this.subscribe("row-dblclick",this.loadMenuEvent.bind(this,this.table.options.rowDblClickMenu))}initializeGroupWatchers(){this.table.options.groupContextMenu&&(this.subscribe("group-contextmenu",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu)),this.table.on("groupTapHold",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu))),this.table.options.groupClickMenu&&this.subscribe("group-click",this.loadMenuEvent.bind(this,this.table.options.groupClickMenu)),this.table.options.groupDblClickMenu&&this.subscribe("group-dblclick",this.loadMenuEvent.bind(this,this.table.options.groupDblClickMenu))}initializeColumn(e){var r=e.definition;r.headerContextMenu&&!this.columnSubscribers.headerContextMenu&&(this.columnSubscribers.headerContextMenu=this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextMenu),this.table.on("headerTapHold",this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"))),r.headerClickMenu&&!this.columnSubscribers.headerClickMenu&&(this.columnSubscribers.headerClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerClickMenu"),this.subscribe("column-click",this.columnSubscribers.headerClickMenu)),r.headerDblClickMenu&&!this.columnSubscribers.headerDblClickMenu&&(this.columnSubscribers.headerDblClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerDblClickMenu"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickMenu)),r.headerMenu&&this.initializeColumnHeaderMenu(e),r.contextMenu&&!this.columnSubscribers.contextMenu&&(this.columnSubscribers.contextMenu=this.loadMenuTableCellEvent.bind(this,"contextMenu"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextMenu),this.table.on("cellTapHold",this.loadMenuTableCellEvent.bind(this,"contextMenu"))),r.clickMenu&&!this.columnSubscribers.clickMenu&&(this.columnSubscribers.clickMenu=this.loadMenuTableCellEvent.bind(this,"clickMenu"),this.subscribe("cell-click",this.columnSubscribers.clickMenu)),r.dblClickMenu&&!this.columnSubscribers.dblClickMenu&&(this.columnSubscribers.dblClickMenu=this.loadMenuTableCellEvent.bind(this,"dblClickMenu"),this.subscribe("cell-dblclick",this.columnSubscribers.dblClickMenu))}initializeColumnHeaderMenu(e){var r=e.definition.headerMenuIcon,S;S=document.createElement("span"),S.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?S.appendChild(r):S.innerHTML=r):S.innerHTML="⋮",S.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadMenuEvent(e.definition.headerMenu,D,e)}),e.titleElement.insertBefore(S,e.titleElement.firstChild)}loadMenuTableCellEvent(e,r,S){S._cell&&(S=S._cell),S.column.definition[e]&&this.loadMenuEvent(S.column.definition[e],r,S)}loadMenuTableColumnEvent(e,r,S){S._column&&(S=S._column),S.definition[e]&&this.loadMenuEvent(S.definition[e],r,S)}loadMenuEvent(e,r,S){S._group?S=S._group:S._row&&(S=S._row),e=typeof e=="function"?e.call(this.table,r,S.getComponent()):e,this.loadMenu(r,S,e)}loadMenu(e,r,S,D,x){var o=!(e instanceof MouseEvent),t=document.createElement("div"),d;if(t.classList.add("tabulator-menu"),o||e.preventDefault(),!(!S||!S.length)){if(D)d=x.child(t);else{if(this.nestedMenuBlock){if(this.rootPopup)return}else this.nestedMenuBlock=setTimeout(()=>{this.nestedMenuBlock=!1},100);this.rootPopup&&this.rootPopup.hide(),this.rootPopup=d=this.popup(t)}S.forEach(g=>{var i=document.createElement("div"),M=g.label,v=g.disabled;g.separator?i.classList.add("tabulator-menu-separator"):(i.classList.add("tabulator-menu-item"),typeof M=="function"&&(M=M.call(this.table,r.getComponent())),M instanceof Node?i.appendChild(M):i.innerHTML=M,typeof v=="function"&&(v=v.call(this.table,r.getComponent())),v?(i.classList.add("tabulator-menu-item-disabled"),i.addEventListener("click",p=>{p.stopPropagation()})):g.menu&&g.menu.length?i.addEventListener("click",p=>{p.stopPropagation(),this.loadMenu(p,r,g.menu,i,d)}):g.action&&i.addEventListener("click",p=>{g.action(p,r.getComponent())}),g.menu&&g.menu.length&&i.classList.add("tabulator-menu-item-submenu")),t.appendChild(i)}),t.addEventListener("click",g=>{this.rootPopup&&this.rootPopup.hide()}),d.show(D||e),d===this.rootPopup&&(this.rootPopup.hideOnBlur(()=>{this.rootPopup=null,this.currentComponent&&(this.dispatchExternal("menuClosed",this.currentComponent.getComponent()),this.currentComponent=null)}),this.currentComponent=r,this.dispatchExternal("menuOpened",r.getComponent()))}}}AM.moduleName="menu";class SM extends Xi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.registerTableOption("movableColumns",!1)}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e}initialize(){this.table.options.movableColumns&&this.subscribe("column-init",this.initializeColumn.bind(this))}initializeColumn(e){var r=this,S={},D;!e.modules.frozen&&!e.isGroup&&(D=e.getElement(),S.mousemove=function(x){e.parent===r.moving.parent&&((r.touchMove?x.touches[0].pageX:x.pageX)-po.elOffset(D).left+r.table.columnManager.contentsElement.scrollLeft>e.getWidth()/2?(r.toCol!==e||!r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D.nextSibling),r.moveColumn(e,!0)):(r.toCol!==e||r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D),r.moveColumn(e,!1)))}.bind(r),D.addEventListener("mousedown",function(x){r.touchMove=!1,x.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(x,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(x){x.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),r.bindTouchEvents(e)),e.modules.moveColumn=S}bindTouchEvents(e){var r=e.getElement(),S=!1,D,x,o,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextColumn(),o=D?D.getWidth()/2:0,x=e.prevColumn(),t=x?x.getWidth()/2:0,d=0,g=0,S=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),r.addEventListener("touchmove",i=>{var M,v;this.moving&&(this.moveHover(i),S||(S=i.touches[0].pageX),M=i.touches[0].pageX-S,M>0?D&&M-d>o&&(v=D,v!==e&&(S=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveColumn(v,!0))):x&&-M-g>t&&(v=x,v!==e&&(S=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveColumn(v,!1))),v&&(D=v.nextColumn(),d=o,o=D?D.getWidth()/2:0,x=v.prevColumn(),g=t,t=x?x.getWidth()/2:0))},{passive:!0}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&this.endMove(i)})}startMove(e,r){var S=r.getElement(),D=this.table.columnManager.getContentsElement(),x=this.table.columnManager.getHeadersElement();this.moving=r,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-po.elOffset(S).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",S.parentNode.insertBefore(this.placeholderElement,S),S.parentNode.removeChild(S),this.hoverElement=S.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),D.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom=D.clientHeight-x.offsetHeight+"px",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)}_bindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)})}_unbindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)})}moveColumn(e,r){var S=this.moving.getCells();this.toCol=e,this.toColAfter=r,r?e.getCells().forEach(function(D,x){var o=D.getElement(!0);o.parentNode&&S[x]&&o.parentNode.insertBefore(S[x].getElement(),o.nextSibling)}):e.getCells().forEach(function(D,x){var o=D.getElement(!0);o.parentNode&&S[x]&&o.parentNode.insertBefore(S[x].getElement(),o)})}endMove(e){(e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))}moveHover(e){var r=this.table.columnManager.getContentsElement(),S=r.scrollLeft,D=(this.touchMove?e.touches[0].pageX:e.pageX)-po.elOffset(r).left+S,x;this.hoverElement.style.left=D-this.startX+"px",D-S{x=Math.max(0,S-5),this.table.rowManager.getElement().scrollLeft=x,this.autoScrollTimeout=!1},1))),S+r.clientWidth-D{x=Math.min(r.clientWidth,S+5),this.table.rowManager.getElement().scrollLeft=x,this.autoScrollTimeout=!1},1)))}}SM.moduleName="moveColumn";class Jy extends Xi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=150,this.moving=!1,this.toRow=!1,this.toRowAfter=!1,this.hasHandle=!1,this.startY=0,this.startX=0,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.tableRowDropEvent=!1,this.touchMove=!1,this.connection=!1,this.connectionSelectorsTables=!1,this.connectionSelectorsElements=!1,this.connectionElements=[],this.connections=[],this.connectedTable=!1,this.connectedRow=!1,this.registerTableOption("movableRows",!1),this.registerTableOption("movableRowsConnectedTables",!1),this.registerTableOption("movableRowsConnectedElements",!1),this.registerTableOption("movableRowsSender",!1),this.registerTableOption("movableRowsReceiver","insert"),this.registerColumnOption("rowHandle")}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.classList.add("tabulator-row-placeholder"),e}initialize(){this.table.options.movableRows&&(this.connectionSelectorsTables=this.table.options.movableRowsConnectedTables,this.connectionSelectorsElements=this.table.options.movableRowsConnectedElements,this.connection=this.connectionSelectorsTables||this.connectionSelectorsElements,this.subscribe("cell-init",this.initializeCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)))}initializeGroupHeader(e){var r=this,S={};S.mouseup=function(D){r.tableRowDrop(D,e)}.bind(r),S.mousemove=function(D){var x;D.pageY-po.elOffset(e.element).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(x=e.getElement(),x.parentNode.insertBefore(r.placeholderElement,x.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(x=e.getElement(),x.previousSibling&&(x.parentNode.insertBefore(r.placeholderElement,x),r.moveRow(e,!1)))}.bind(r),e.modules.moveRow=S}initializeRow(e){var r=this,S={},D;S.mouseup=function(x){r.tableRowDrop(x,e)}.bind(r),S.mousemove=function(x){var o=e.getElement();x.pageY-po.elOffset(o).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(o.parentNode.insertBefore(r.placeholderElement,o.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(o.parentNode.insertBefore(r.placeholderElement,o),r.moveRow(e,!1))}.bind(r),this.hasHandle||(D=e.getElement(),D.addEventListener("mousedown",function(x){x.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(x,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(x){x.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=S}initializeColumn(e){e.definition.rowHandle&&this.table.options.movableRows!==!1&&(this.hasHandle=!0)}initializeCell(e){if(e.column.definition.rowHandle&&this.table.options.movableRows!==!1){var r=this,S=e.getElement(!0);S.addEventListener("mousedown",function(D){D.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(D,e.row)},r.checkPeriod))}),S.addEventListener("mouseup",function(D){D.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e.row,S)}}bindTouchEvents(e,r){var S=!1,D,x,o,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextRow(),o=D?D.getHeight()/2:0,x=e.prevRow(),t=x?x.getHeight()/2:0,d=0,g=0,S=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),this.moving,this.toRow,this.toRowAfter,r.addEventListener("touchmove",i=>{var M,v;this.moving&&(i.preventDefault(),this.moveHover(i),S||(S=i.touches[0].pageY),M=i.touches[0].pageY-S,M>0?D&&M-d>o&&(v=D,v!==e&&(S=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveRow(v,!0))):x&&-M-g>t&&(v=x,v!==e&&(S=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveRow(v,!1))),v&&(D=v.nextRow(),d=o,o=D?D.getHeight()/2:0,x=v.prevRow(),g=t,t=x?x.getHeight()/2:0))}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&(this.endMove(i),this.touchMove=!1)})}_bindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)})}_unbindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)})}startMove(e,r){var S=r.getElement();this.setStartPosition(e,r),this.moving=r,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(r)):(S.parentNode.insertBefore(this.placeholderElement,S),S.parentNode.removeChild(S)),this.hoverElement=S.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.dispatchExternal("rowMoving",r.getComponent()),this.moveHover(e)}setStartPosition(e,r){var S=this.touchMove?e.touches[0].pageX:e.pageX,D=this.touchMove?e.touches[0].pageY:e.pageY,x,o;x=r.getElement(),this.connection?(o=x.getBoundingClientRect(),this.startX=o.left-S+window.pageXOffset,this.startY=o.top-D+window.pageYOffset):this.startY=D-x.getBoundingClientRect().top}endMove(e){(!e||e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow?this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter):this.dispatchExternal("rowMoveCancelled",this.moving.getComponent()),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))}moveRow(e,r){this.toRow=e,this.toRowAfter=r}moveHover(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)}moveHoverTable(e){var r=this.table.rowManager.getElement(),S=r.scrollTop,D=(this.touchMove?e.touches[0].pageY:e.pageY)-r.getBoundingClientRect().top+S;this.hoverElement.style.top=Math.min(D-this.startY,this.table.rowManager.element.scrollHeight-this.hoverElement.offsetHeight)+"px"}moveHoverConnections(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"}elementRowDrop(e,r,S){this.dispatchExternal("movableRowsElementDrop",e,r,S?S.getComponent():!1)}connectToTables(e){var r;this.connectionSelectorsTables&&(r=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStart",r),this.commsSend(this.connectionSelectorsTables,"moveRow","connect",{row:e})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach(S=>{typeof S=="string"?this.connectionElements=this.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(S))):this.connectionElements.push(S)}),this.connectionElements.forEach(S=>{var D=x=>{this.elementRowDrop(x,S,this.moving)};S.addEventListener("mouseup",D),S.tabulatorElementDropEvent=D,S.classList.add("tabulator-movingrow-receiving")}))}disconnectFromTables(){var e;this.connectionSelectorsTables&&(e=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStop",e),this.commsSend(this.connectionSelectorsTables,"moveRow","disconnect")),this.connectionElements.forEach(r=>{r.classList.remove("tabulator-movingrow-receiving"),r.removeEventListener("mouseup",r.tabulatorElementDropEvent),delete r.tabulatorElementDropEvent})}connect(e,r){return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=r,this.table.element.classList.add("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(S=>{S.type==="row"&&S.modules.moveRow&&S.modules.moveRow.mouseup&&S.getElement().addEventListener("mouseup",S.modules.moveRow.mouseup)}),this.tableRowDropEvent=this.tableRowDrop.bind(this),this.table.element.addEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStart",r,e),!0)}disconnect(e){e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(r=>{r.type==="row"&&r.modules.moveRow&&r.modules.moveRow.mouseup&&r.getElement().removeEventListener("mouseup",r.modules.moveRow.mouseup)}),this.table.element.removeEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStop",e)):console.warn("Move Row Error - trying to disconnect from non connected table")}dropComplete(e,r,S){var D=!1;if(S){switch(typeof this.table.options.movableRowsSender){case"string":D=this.senders[this.table.options.movableRowsSender];break;case"function":D=this.table.options.movableRowsSender;break}D?D.call(this,this.moving?this.moving.getComponent():void 0,r?r.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.dispatchExternal("movableRowsSent",this.moving.getComponent(),r?r.getComponent():void 0,e)}else this.dispatchExternal("movableRowsSentFailed",this.moving.getComponent(),r?r.getComponent():void 0,e);this.endMove()}tableRowDrop(e,r){var S=!1,D=!1;switch(e.stopImmediatePropagation(),typeof this.table.options.movableRowsReceiver){case"string":S=this.receivers[this.table.options.movableRowsReceiver];break;case"function":S=this.table.options.movableRowsReceiver;break}S?D=S.call(this,this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),D?this.dispatchExternal("movableRowsReceived",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):this.dispatchExternal("movableRowsReceivedFailed",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable),this.commsSend(this.connectedTable,"moveRow","dropcomplete",{row:r,success:D})}commsReceived(e,r,S){switch(r){case"connect":return this.connect(e,S.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,S.row,S.success)}}}Jy.prototype.receivers={insert:function(n,e,r){return this.table.addRow(n.getData(),void 0,e),!0},add:function(n,e,r){return this.table.addRow(n.getData()),!0},update:function(n,e,r){return e?(e.update(n.getData()),!0):!1},replace:function(n,e,r){return e?(this.table.addRow(n.getData(),void 0,e),e.delete(),!0):!1}};Jy.prototype.senders={delete:function(n,e,r){n.delete()}};Jy.moduleName="moveRow";var az={};class e0 extends Xi{constructor(e){super(e),this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0,this.registerColumnOption("mutator"),this.registerColumnOption("mutatorParams"),this.registerColumnOption("mutatorData"),this.registerColumnOption("mutatorDataParams"),this.registerColumnOption("mutatorEdit"),this.registerColumnOption("mutatorEditParams"),this.registerColumnOption("mutatorClipboard"),this.registerColumnOption("mutatorClipboardParams"),this.registerColumnOption("mutateLink")}initialize(){this.subscribe("cell-value-changing",this.transformCell.bind(this)),this.subscribe("cell-value-changed",this.mutateLink.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-init-before",this.rowDataChanged.bind(this)),this.subscribe("row-data-changing",this.rowDataChanged.bind(this))}rowDataChanged(e,r,S){return this.transformRow(r,"data",S)}initializeColumn(e){var r=!1,S={};this.allowedTypes.forEach(D=>{var x="mutator"+(D.charAt(0).toUpperCase()+D.slice(1)),o;e.definition[x]&&(o=this.lookupMutator(e.definition[x]),o&&(r=!0,S[x]={mutator:o,params:e.definition[x+"Params"]||{}}))}),r&&(e.modules.mutate=S)}lookupMutator(e){var r=!1;switch(typeof e){case"string":e0.mutators[e]?r=e0.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r,S){var D="mutator"+(r.charAt(0).toUpperCase()+r.slice(1)),x;return this.enabled&&this.table.columnManager.traverse(o=>{var t,d,g;o.modules.mutate&&(t=o.modules.mutate[D]||o.modules.mutate.mutator||!1,t&&(x=o.getFieldValue(typeof S<"u"?S:e),(r=="data"&&!S||typeof x<"u")&&(g=o.getComponent(),d=typeof t.params=="function"?t.params(x,e,r,g):t.params,o.setFieldValue(e,t.mutator(x,e,r,d,g)))))}),e}transformCell(e,r){if(e.column.modules.mutate){var S=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1,D={};if(S)return D=Object.assign(D,e.row.getData()),e.column.setFieldValue(D,r),S.mutator(r,D,"edit",S.params,e.getComponent())}return r}mutateLink(e){var r=e.column.definition.mutateLink;r&&(Array.isArray(r)||(r=[r]),r.forEach(S=>{var D=e.row.getCell(S);D&&D.setValue(D.getValue(),!0,!0)}))}enable(){this.enabled=!0}disable(){this.enabled=!1}}e0.moduleName="mutator";e0.mutators=az;function oz(n,e,r,S,D){var x=document.createElement("span"),o=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{o.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|rows",M=>{i.innerHTML=M}),S?(t.innerHTML=" "+e+"-"+Math.min(e+n-1,S)+" ",g.innerHTML=" "+S+" ",x.appendChild(o),x.appendChild(t),x.appendChild(d),x.appendChild(g),x.appendChild(i)):(t.innerHTML=" 0 ",x.appendChild(o),x.appendChild(t),x.appendChild(i)),x}function sz(n,e,r,S,D){var x=document.createElement("span"),o=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{o.innerHTML=M}),t.innerHTML=" "+r+" ",this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),g.innerHTML=" "+D+" ",this.table.modules.localize.langBind("pagination|counter|pages",M=>{i.innerHTML=M}),x.appendChild(o),x.appendChild(t),x.appendChild(d),x.appendChild(g),x.appendChild(i),x}var lz={rows:oz,pages:sz};class ag extends Xi{constructor(e){super(e),this.mode="local",this.progressiveLoad=!1,this.element=null,this.pageCounterElement=null,this.pageCounter=null,this.size=0,this.page=1,this.count=5,this.max=1,this.remoteRowCountEstimate=null,this.initialLoad=!0,this.dataChanging=!1,this.pageSizes=[],this.registerTableOption("pagination",!1),this.registerTableOption("paginationMode","local"),this.registerTableOption("paginationSize",!1),this.registerTableOption("paginationInitialPage",1),this.registerTableOption("paginationCounter",!1),this.registerTableOption("paginationCounterElement",!1),this.registerTableOption("paginationButtonCount",5),this.registerTableOption("paginationSizeSelector",!1),this.registerTableOption("paginationElement",!1),this.registerTableOption("paginationAddRow","page"),this.registerTableOption("progressiveLoad",!1),this.registerTableOption("progressiveLoadDelay",0),this.registerTableOption("progressiveLoadScrollMargin",0),this.registerTableFunction("setMaxPage",this.setMaxPage.bind(this)),this.registerTableFunction("setPage",this.setPage.bind(this)),this.registerTableFunction("setPageToRow",this.userSetPageToRow.bind(this)),this.registerTableFunction("setPageSize",this.userSetPageSize.bind(this)),this.registerTableFunction("getPageSize",this.getPageSize.bind(this)),this.registerTableFunction("previousPage",this.previousPage.bind(this)),this.registerTableFunction("nextPage",this.nextPage.bind(this)),this.registerTableFunction("getPage",this.getPage.bind(this)),this.registerTableFunction("getPageMax",this.getPageMax.bind(this)),this.registerComponentFunction("row","pageTo",this.setPageToRow.bind(this))}initialize(){this.table.options.pagination?(this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("footer-redraw",this.footerRedraw.bind(this)),this.table.options.paginationAddRow=="page"&&this.subscribe("row-adding-position",this.rowAddingPosition.bind(this)),this.table.options.paginationMode==="remote"&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this))),this.table.options.progressiveLoad&&console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time"),this.registerDisplayHandler(this.restOnRenderBefore.bind(this),40),this.registerDisplayHandler(this.getRows.bind(this),50),this.createElements(),this.initializePageCounter(),this.initializePaginator()):this.table.options.progressiveLoad&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.initializeProgressive(this.table.options.progressiveLoad),this.table.options.progressiveLoad==="scroll"&&this.subscribe("scroll-vertical",this.scrollVertical.bind(this)))}rowAddingPosition(e,r){var S=this.table.rowManager,D=S.getDisplayRows(),x;return r?D.length?x=D[0]:S.activeRows.length&&(x=S.activeRows[S.activeRows.length-1],r=!1):D.length&&(x=D[D.length-1],r=!(D.length{}))}restOnRenderBefore(e,r){return r||this.mode==="local"&&this.reset(),e}rowsUpdated(){this.refreshData(!0,"all")}createElements(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),e=document.createElement("button"),e.classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))}generatePageSizeSelectList(){var e=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))e=this.table.options.paginationSizeSelector,this.pageSizes=e,this.pageSizes.indexOf(this.size)==-1&&e.unshift(this.size);else if(this.pageSizes.indexOf(this.size)==-1){e=[];for(let r=1;r<5;r++)e.push(this.size*r);this.pageSizes=e}else e=this.pageSizes;for(;this.pageSizeSelect.firstChild;)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);e.forEach(r=>{var S=document.createElement("option");S.value=r,r===!0?this.langBind("pagination|all",function(D){S.innerHTML=D}):S.innerHTML=r,this.pageSizeSelect.appendChild(S)}),this.pageSizeSelect.value=this.size}}initializePageCounter(){var e=this.table.options.paginationCounter,r=null;e&&(typeof e=="function"?r=e:r=ag.pageCounters[e],r?(this.pageCounter=r,this.pageCounterElement=document.createElement("span"),this.pageCounterElement.classList.add("tabulator-page-counter")):console.warn("Pagination Error - No such page counter found: ",e))}initializePaginator(e){var r,S;e||(this.langBind("pagination|first",D=>{this.firstBut.innerHTML=D}),this.langBind("pagination|first_title",D=>{this.firstBut.setAttribute("aria-label",D),this.firstBut.setAttribute("title",D)}),this.langBind("pagination|prev",D=>{this.prevBut.innerHTML=D}),this.langBind("pagination|prev_title",D=>{this.prevBut.setAttribute("aria-label",D),this.prevBut.setAttribute("title",D)}),this.langBind("pagination|next",D=>{this.nextBut.innerHTML=D}),this.langBind("pagination|next_title",D=>{this.nextBut.setAttribute("aria-label",D),this.nextBut.setAttribute("title",D)}),this.langBind("pagination|last",D=>{this.lastBut.innerHTML=D}),this.langBind("pagination|last_title",D=>{this.lastBut.setAttribute("aria-label",D),this.lastBut.setAttribute("title",D)}),this.firstBut.addEventListener("click",()=>{this.setPage(1)}),this.prevBut.addEventListener("click",()=>{this.previousPage()}),this.nextBut.addEventListener("click",()=>{this.nextPage()}),this.lastBut.addEventListener("click",()=>{this.setPage(this.max)}),this.table.options.paginationElement&&(this.element=this.table.options.paginationElement),this.pageSizeSelect&&(r=document.createElement("label"),this.langBind("pagination|page_size",D=>{this.pageSizeSelect.setAttribute("aria-label",D),this.pageSizeSelect.setAttribute("title",D),r.innerHTML=D}),this.element.appendChild(r),this.element.appendChild(this.pageSizeSelect),this.pageSizeSelect.addEventListener("change",D=>{this.setPageSize(this.pageSizeSelect.value=="true"?!0:this.pageSizeSelect.value),this.setPage(1)})),this.element.appendChild(this.firstBut),this.element.appendChild(this.prevBut),this.element.appendChild(this.pagesElement),this.element.appendChild(this.nextBut),this.element.appendChild(this.lastBut),this.table.options.paginationElement||(this.table.options.paginationCounter&&(this.table.options.paginationCounterElement?this.table.options.paginationCounterElement instanceof HTMLElement?this.table.options.paginationCounterElement.appendChild(this.pageCounterElement):typeof this.table.options.paginationCounterElement=="string"&&(S=document.querySelector(this.table.options.paginationCounterElement),S?S.appendChild(this.pageCounterElement):console.warn("Pagination Error - Unable to find element matching paginationCounterElement selector:",this.table.options.paginationCounterElement)):this.footerAppend(this.pageCounterElement)),this.footerAppend(this.element)),this.page=this.table.options.paginationInitialPage,this.count=this.table.options.paginationButtonCount),this.mode=this.table.options.paginationMode}initializeProgressive(e){this.initializePaginator(!0),this.mode="progressive_"+e,this.progressiveLoad=!0}trackChanges(){this.dispatch("page-changed")}setMaxRows(e){e?this.max=this.size===!0?1:Math.ceil(e/this.size):this.max=1,this.page>this.max&&(this.page=this.max)}reset(e){this.initialLoad||(this.mode=="local"||e)&&(this.page=1,this.trackChanges())}setMaxPage(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())}setPage(e){switch(e){case"first":return this.setPage(1);case"prev":return this.previousPage();case"next":return this.nextPage();case"last":return this.setPage(this.max)}return e=parseInt(e),e>0&&e<=this.max||this.mode!=="local"?(this.page=e,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Requested page is out of range of 1 - "+this.max+":",e),Promise.reject())}setPageToRow(e){var r=this.displayRows(-1),S=r.indexOf(e);if(S>-1){var D=this.size===!0?1:Math.ceil((S+1)/this.size);return this.setPage(D)}else return console.warn("Pagination Error - Requested row is not visible"),Promise.reject()}setPageSize(e){e!==!0&&(e=parseInt(e)),e>0&&(this.size=e,this.dispatchExternal("pageSizeChanged",e)),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.trackChanges()}_setPageCounter(e,r,S){var D;if(this.pageCounter)switch(this.mode==="remote"&&(r=this.size,S=(this.page-1)*this.size+1,e=this.remoteRowCountEstimate),D=this.pageCounter.call(this,r,S,this.page,e,this.max),typeof D){case"object":if(D instanceof Node){for(;this.pageCounterElement.firstChild;)this.pageCounterElement.removeChild(this.pageCounterElement.firstChild);this.pageCounterElement.appendChild(D)}else this.pageCounterElement.innerHTML="",D!=null&&console.warn("Page Counter Error - Page Counter has returned a type of object, the only valid page counter object return is an instance of Node, the page counter returned:",D);break;case"undefined":this.pageCounterElement.innerHTML="";break;default:this.pageCounterElement.innerHTML=D}}_setPageButtons(){let e=Math.floor((this.count-1)/2),r=Math.ceil((this.count-1)/2),S=this.max-this.page+e+10&&x<=this.max&&this.pagesElement.appendChild(this._generatePageButton(x));this.footerRedraw()}_generatePageButton(e){var r=document.createElement("button");return r.classList.add("tabulator-page"),e==this.page&&r.classList.add("active"),r.setAttribute("type","button"),r.setAttribute("role","button"),this.langBind("pagination|page_title",S=>{r.setAttribute("aria-label",S+" "+e),r.setAttribute("title",S+" "+e)}),r.setAttribute("data-page",e),r.textContent=e,r.addEventListener("click",S=>{this.setPage(e)}),r}previousPage(){return this.page>1?(this.page--,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Previous page would be less than page 1:",0),Promise.reject())}nextPage(){return this.paged.type==="row");if(this.mode=="local"){S=[],this.setMaxRows(e.length),this.size===!0?(D=0,x=e.length):(D=this.size*(this.page-1),x=D+parseInt(this.size)),this._setPageButtons();for(let d=D;d{this.dataChanging=!1});case"progressive_load":case"progressive_scroll":return this.reloadData(null,!0);default:return console.warn("Pagination Error - no such pagination mode:",this.mode),Promise.reject()}}_parseRemoteData(e){var r;if(typeof e.last_page>"u"&&console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").last_page||"last_page")+"' property"),e.data)if(this.max=parseInt(e.last_page)||1,this.remoteRowCountEstimate=typeof e.last_row<"u"?e.last_row:e.last_page*this.size-(this.page==e.last_page?this.size-e.data.length:0),this.progressiveLoad){switch(this.mode){case"progressive_load":this.page==1?this.table.rowManager.setData(e.data,!1,this.page==1):this.table.rowManager.addRows(e.data),this.page{this.nextPage()},this.table.options.progressiveLoadDelay);break;case"progressive_scroll":e=this.page===1?e.data:this.table.rowManager.getData().concat(e.data),this.table.rowManager.setData(e,this.page!==1,this.page==1),r=this.table.options.progressiveLoadScrollMargin||this.table.rowManager.element.clientHeight*2,this.table.rowManager.element.scrollHeight<=this.table.rowManager.element.clientHeight+r&&this.page{this.nextPage()});break}return!1}else this.dispatchExternal("pageLoaded",this.getPage());else console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").data||"data")+"' property");return e.data}footerRedraw(){var e=this.table.footerManager.containerElement;Math.ceil(e.clientWidth)-e.scrollWidth<0?this.pagesElement.style.display="none":(this.pagesElement.style.display="",Math.ceil(e.clientWidth)-e.scrollWidth<0&&(this.pagesElement.style.display="none"))}}ag.moduleName="page";ag.pageCounters=lz;var uz={local:function(n,e){var r=localStorage.getItem(n+"-"+e);return r?JSON.parse(r):!1},cookie:function(n,e){var r=document.cookie,S=n+"-"+e,D=r.indexOf(S+"="),x,o;return D>-1&&(r=r.slice(D),x=r.indexOf(";"),x>-1&&(r=r.slice(0,x)),o=r.replace(S+"=","")),o?JSON.parse(o):!1}},cz={local:function(n,e,r){localStorage.setItem(n+"-"+e,JSON.stringify(r))},cookie:function(n,e,r){var S=new Date;S.setDate(S.getDate()+1e4),document.cookie=n+"-"+e+"="+JSON.stringify(r)+"; expires="+S.toUTCString()}};class Gl extends Xi{constructor(e){super(e),this.mode="",this.id="",this.defWatcherBlock=!1,this.config={},this.readFunc=!1,this.writeFunc=!1,this.registerTableOption("persistence",!1),this.registerTableOption("persistenceID",""),this.registerTableOption("persistenceMode",!0),this.registerTableOption("persistenceReaderFunc",!1),this.registerTableOption("persistenceWriterFunc",!1)}localStorageTest(){var e="_tabulator_test";try{return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch{return!1}}initialize(){if(this.table.options.persistence){var e=this.table.options.persistenceMode,r=this.table.options.persistenceID,S;this.mode=e!==!0?e:this.localStorageTest()?"local":"cookie",this.table.options.persistenceReaderFunc?typeof this.table.options.persistenceReaderFunc=="function"?this.readFunc=this.table.options.persistenceReaderFunc:Gl.readers[this.table.options.persistenceReaderFunc]?this.readFunc=Gl.readers[this.table.options.persistenceReaderFunc]:console.warn("Persistence Read Error - invalid reader set",this.table.options.persistenceReaderFunc):Gl.readers[this.mode]?this.readFunc=Gl.readers[this.mode]:console.warn("Persistence Read Error - invalid reader set",this.mode),this.table.options.persistenceWriterFunc?typeof this.table.options.persistenceWriterFunc=="function"?this.writeFunc=this.table.options.persistenceWriterFunc:Gl.writers[this.table.options.persistenceWriterFunc]?this.writeFunc=Gl.writers[this.table.options.persistenceWriterFunc]:console.warn("Persistence Write Error - invalid reader set",this.table.options.persistenceWriterFunc):Gl.writers[this.mode]?this.writeFunc=Gl.writers[this.mode]:console.warn("Persistence Write Error - invalid writer set",this.mode),this.id="tabulator-"+(r||this.table.element.getAttribute("id")||""),this.config={sort:this.table.options.persistence===!0||this.table.options.persistence.sort,filter:this.table.options.persistence===!0||this.table.options.persistence.filter,headerFilter:this.table.options.persistence===!0||this.table.options.persistence.headerFilter,group:this.table.options.persistence===!0||this.table.options.persistence.group,page:this.table.options.persistence===!0||this.table.options.persistence.page,columns:this.table.options.persistence===!0?["title","width","visible"]:this.table.options.persistence.columns},this.config.page&&(S=this.retrieveData("page"),S&&(typeof S.paginationSize<"u"&&(this.config.page===!0||this.config.page.size)&&(this.table.options.paginationSize=S.paginationSize),typeof S.paginationInitialPage<"u"&&(this.config.page===!0||this.config.page.page)&&(this.table.options.paginationInitialPage=S.paginationInitialPage))),this.config.group&&(S=this.retrieveData("group"),S&&(typeof S.groupBy<"u"&&(this.config.group===!0||this.config.group.groupBy)&&(this.table.options.groupBy=S.groupBy),typeof S.groupStartOpen<"u"&&(this.config.group===!0||this.config.group.groupStartOpen)&&(this.table.options.groupStartOpen=S.groupStartOpen),typeof S.groupHeader<"u"&&(this.config.group===!0||this.config.group.groupHeader)&&(this.table.options.groupHeader=S.groupHeader))),this.config.columns&&(this.table.options.columns=this.load("columns",this.table.options.columns),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-show",this.save.bind(this,"columns")),this.subscribe("column-hide",this.save.bind(this,"columns")),this.subscribe("column-moved",this.save.bind(this,"columns"))),this.subscribe("table-built",this.tableBuilt.bind(this),0),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("filter-changed",this.eventSave.bind(this,"filter")),this.subscribe("filter-changed",this.eventSave.bind(this,"headerFilter")),this.subscribe("sort-changed",this.eventSave.bind(this,"sort")),this.subscribe("group-changed",this.eventSave.bind(this,"group")),this.subscribe("page-changed",this.eventSave.bind(this,"page")),this.subscribe("column-resized",this.eventSave.bind(this,"columns")),this.subscribe("column-width",this.eventSave.bind(this,"columns")),this.subscribe("layout-refreshed",this.eventSave.bind(this,"columns"))}this.registerTableFunction("getColumnLayout",this.getColumnLayout.bind(this)),this.registerTableFunction("setColumnLayout",this.setColumnLayout.bind(this))}eventSave(e){this.config[e]&&this.save(e)}tableBuilt(){var e,r,S;this.config.sort&&(e=this.load("sort"),e&&(this.table.options.initialSort=e)),this.config.filter&&(r=this.load("filter"),r&&(this.table.options.initialFilter=r)),this.config.headerFilter&&(S=this.load("headerFilter"),S&&(this.table.options.initialHeaderFilter=S))}tableRedraw(e){e&&this.config.columns&&this.save("columns")}getColumnLayout(){return this.parseColumns(this.table.columnManager.getColumns())}setColumnLayout(e){return this.table.columnManager.setColumns(this.mergeDefinition(this.table.options.columns,e)),!0}initializeColumn(e){var r,S;this.config.columns&&(this.defWatcherBlock=!0,r=e.getDefinition(),S=this.config.columns===!0?Object.keys(r):this.config.columns,S.forEach(D=>{var x=Object.getOwnPropertyDescriptor(r,D),o=r[D];x&&Object.defineProperty(r,D,{set:t=>{o=t,this.defWatcherBlock||this.save("columns"),x.set&&x.set(t)},get:()=>(x.get&&x.get(),o)})}),this.defWatcherBlock=!1)}load(e,r){var S=this.retrieveData(e);return r&&(S=S?this.mergeDefinition(r,S):r),S}retrieveData(e){return this.readFunc?this.readFunc(this.id,e):!1}mergeDefinition(e,r){var S=[];return r=r||[],r.forEach((D,x)=>{var o=this._findColumn(e,D),t;o&&(this.config.columns===!0||this.config.columns==null?(t=Object.keys(o),t.push("width")):t=this.config.columns,t.forEach(d=>{d!=="columns"&&typeof D[d]<"u"&&(o[d]=D[d])}),o.columns&&(o.columns=this.mergeDefinition(o.columns,D.columns)),S.push(o))}),e.forEach((D,x)=>{var o=this._findColumn(r,D);o||(S.length>x?S.splice(x,0,D):S.push(D))}),S}_findColumn(e,r){var S=r.columns?"group":r.field?"field":"object";return e.find(function(D){switch(S){case"group":return D.title===r.title&&D.columns.length===r.columns.length;case"field":return D.field===r.field;case"object":return D===r}})}save(e){var r={};switch(e){case"columns":r=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":r=this.table.modules.filter.getFilters();break;case"headerFilter":r=this.table.modules.filter.getHeaderFilters();break;case"sort":r=this.validateSorters(this.table.modules.sort.getSort());break;case"group":r=this.getGroupConfig();break;case"page":r=this.getPageConfig();break}this.writeFunc&&this.writeFunc(this.id,e,r)}validateSorters(e){return e.forEach(function(r){r.column=r.field,delete r.field}),e}getGroupConfig(){var e={};return this.config.group&&((this.config.group===!0||this.config.group.groupBy)&&(e.groupBy=this.table.options.groupBy),(this.config.group===!0||this.config.group.groupStartOpen)&&(e.groupStartOpen=this.table.options.groupStartOpen),(this.config.group===!0||this.config.group.groupHeader)&&(e.groupHeader=this.table.options.groupHeader)),e}getPageConfig(){var e={};return this.config.page&&((this.config.page===!0||this.config.page.size)&&(e.paginationSize=this.table.modules.page.getPageSize()),(this.config.page===!0||this.config.page.page)&&(e.paginationInitialPage=this.table.modules.page.getPage())),e}parseColumns(e){var r=[],S=["headerContextMenu","headerMenu","contextMenu","clickMenu"];return e.forEach(D=>{var x={},o=D.getDefinition(),t;D.isGroup?(x.title=o.title,x.columns=this.parseColumns(D.getColumns())):(x.field=D.getField(),this.config.columns===!0||this.config.columns==null?(t=Object.keys(o),t.push("width"),t.push("visible")):t=this.config.columns,t.forEach(d=>{switch(d){case"width":x.width=D.getWidth();break;case"visible":x.visible=D.visible;break;default:typeof o[d]!="function"&&S.indexOf(d)===-1&&(x[d]=o[d])}})),r.push(x)}),r}}Gl.moduleName="persistence";Gl.moduleInitOrder=-10;Gl.readers=uz;Gl.writers=cz;class CM extends Xi{constructor(e){super(e),this.columnSubscribers={},this.registerTableOption("rowContextPopup",!1),this.registerTableOption("rowClickPopup",!1),this.registerTableOption("rowDblClickPopup",!1),this.registerTableOption("groupContextPopup",!1),this.registerTableOption("groupClickPopup",!1),this.registerTableOption("groupDblClickPopup",!1),this.registerColumnOption("headerContextPopup"),this.registerColumnOption("headerClickPopup"),this.registerColumnOption("headerDblClickPopup"),this.registerColumnOption("headerPopup"),this.registerColumnOption("headerPopupIcon"),this.registerColumnOption("contextPopup"),this.registerColumnOption("clickPopup"),this.registerColumnOption("dblClickPopup"),this.registerComponentFunction("cell","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("column","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("row","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("group","popup",this._componentPopupCall.bind(this))}initialize(){this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}_componentPopupCall(e,r,S){this.loadPopupEvent(r,null,e,S)}initializeRowWatchers(){this.table.options.rowContextPopup&&(this.subscribe("row-contextmenu",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup)),this.table.on("rowTapHold",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup))),this.table.options.rowClickPopup&&this.subscribe("row-click",this.loadPopupEvent.bind(this,this.table.options.rowClickPopup)),this.table.options.rowDblClickPopup&&this.subscribe("row-dblclick",this.loadPopupEvent.bind(this,this.table.options.rowDblClickPopup))}initializeGroupWatchers(){this.table.options.groupContextPopup&&(this.subscribe("group-contextmenu",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup)),this.table.on("groupTapHold",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup))),this.table.options.groupClickPopup&&this.subscribe("group-click",this.loadPopupEvent.bind(this,this.table.options.groupClickPopup)),this.table.options.groupDblClickPopup&&this.subscribe("group-dblclick",this.loadPopupEvent.bind(this,this.table.options.groupDblClickPopup))}initializeColumn(e){var r=e.definition;r.headerContextPopup&&!this.columnSubscribers.headerContextPopup&&(this.columnSubscribers.headerContextPopup=this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextPopup),this.table.on("headerTapHold",this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"))),r.headerClickPopup&&!this.columnSubscribers.headerClickPopup&&(this.columnSubscribers.headerClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerClickPopup"),this.subscribe("column-click",this.columnSubscribers.headerClickPopup)),r.headerDblClickPopup&&!this.columnSubscribers.headerDblClickPopup&&(this.columnSubscribers.headerDblClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerDblClickPopup"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickPopup)),r.headerPopup&&this.initializeColumnHeaderPopup(e),r.contextPopup&&!this.columnSubscribers.contextPopup&&(this.columnSubscribers.contextPopup=this.loadPopupTableCellEvent.bind(this,"contextPopup"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextPopup),this.table.on("cellTapHold",this.loadPopupTableCellEvent.bind(this,"contextPopup"))),r.clickPopup&&!this.columnSubscribers.clickPopup&&(this.columnSubscribers.clickPopup=this.loadPopupTableCellEvent.bind(this,"clickPopup"),this.subscribe("cell-click",this.columnSubscribers.clickPopup)),r.dblClickPopup&&!this.columnSubscribers.dblClickPopup&&(this.columnSubscribers.dblClickPopup=this.loadPopupTableCellEvent.bind(this,"dblClickPopup"),this.subscribe("cell-click",this.columnSubscribers.dblClickPopup))}initializeColumnHeaderPopup(e){var r=e.definition.headerPopupIcon,S;S=document.createElement("span"),S.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?S.appendChild(r):S.innerHTML=r):S.innerHTML="⋮",S.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadPopupEvent(e.definition.headerPopup,D,e)}),e.titleElement.insertBefore(S,e.titleElement.firstChild)}loadPopupTableCellEvent(e,r,S){S._cell&&(S=S._cell),S.column.definition[e]&&this.loadPopupEvent(S.column.definition[e],r,S)}loadPopupTableColumnEvent(e,r,S){S._column&&(S=S._column),S.definition[e]&&this.loadPopupEvent(S.definition[e],r,S)}loadPopupEvent(e,r,S,D){var x;function o(t){x=t}S._group?S=S._group:S._row&&(S=S._row),e=typeof e=="function"?e.call(this.table,r,S.getComponent(),o):e,this.loadPopup(r,S,e,x,D)}loadPopup(e,r,S,D,x){var o=!(e instanceof MouseEvent),t,d;S instanceof HTMLElement?t=S:(t=document.createElement("div"),t.innerHTML=S),t.classList.add("tabulator-popup"),t.addEventListener("click",g=>{g.stopPropagation()}),o||e.preventDefault(),d=this.popup(t),typeof D=="function"&&d.renderCallback(D),e?d.show(e):d.show(r.getElement(),x||"center"),d.hideOnBlur(()=>{this.dispatchExternal("popupClosed",r.getComponent())}),this.dispatchExternal("popupOpened",r.getComponent())}}CM.moduleName="popup";class EM extends Xi{constructor(e){super(e),this.element=!1,this.manualBlock=!1,this.beforeprintEventHandler=null,this.afterprintEventHandler=null,this.registerTableOption("printAsHtml",!1),this.registerTableOption("printFormatter",!1),this.registerTableOption("printHeader",!1),this.registerTableOption("printFooter",!1),this.registerTableOption("printStyled",!0),this.registerTableOption("printRowRange","visible"),this.registerTableOption("printConfig",{}),this.registerColumnOption("print"),this.registerColumnOption("titlePrint")}initialize(){this.table.options.printAsHtml&&(this.beforeprintEventHandler=this.replaceTable.bind(this),this.afterprintEventHandler=this.cleanup.bind(this),window.addEventListener("beforeprint",this.beforeprintEventHandler),window.addEventListener("afterprint",this.afterprintEventHandler),this.subscribe("table-destroy",this.destroy.bind(this))),this.registerTableFunction("print",this.printFullscreen.bind(this))}destroy(){this.table.options.printAsHtml&&(window.removeEventListener("beforeprint",this.beforeprintEventHandler),window.removeEventListener("afterprint",this.afterprintEventHandler))}replaceTable(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.export.generateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))}cleanup(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")}printFullscreen(e,r,S){var D=window.scrollX,x=window.scrollY,o=document.createElement("div"),t=document.createElement("div"),d=this.table.modules.export.generateTable(typeof S<"u"?S:this.table.options.printConfig,typeof r<"u"?r:this.table.options.printStyled,e||this.table.options.printRowRange,"print"),g,i;this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(o.classList.add("tabulator-print-header"),g=typeof this.table.options.printHeader=="function"?this.table.options.printHeader.call(this.table):this.table.options.printHeader,typeof g=="string"?o.innerHTML=g:o.appendChild(g),this.element.appendChild(o)),this.element.appendChild(d),this.table.options.printFooter&&(t.classList.add("tabulator-print-footer"),i=typeof this.table.options.printFooter=="function"?this.table.options.printFooter.call(this.table):this.table.options.printFooter,typeof i=="string"?t.innerHTML=i:t.appendChild(i),this.element.appendChild(t)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,d),window.print(),this.cleanup(),window.scrollTo(D,x),this.manualBlock=!1}}EM.moduleName="print";class LM extends Xi{constructor(e){super(e),this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0,this.registerTableOption("reactiveData",!1)}initialize(){this.table.options.reactiveData&&(this.subscribe("cell-value-save-before",this.block.bind(this,"cellsave")),this.subscribe("cell-value-save-after",this.unblock.bind(this,"cellsave")),this.subscribe("row-data-save-before",this.block.bind(this,"rowsave")),this.subscribe("row-data-save-after",this.unblock.bind(this,"rowsave")),this.subscribe("row-data-init-after",this.watchRow.bind(this)),this.subscribe("data-processing",this.watchData.bind(this)),this.subscribe("table-destroy",this.unwatchData.bind(this)))}watchData(e){var r=this,S;this.currentVersion++,S=this.currentVersion,this.unwatchData(),this.data=e,this.origFuncs.push=e.push,Object.defineProperty(this.data,"push",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),x;return!r.blocked&&S===r.currentVersion&&(r.block("data-push"),D.forEach(o=>{r.table.rowManager.addRowActual(o,!1)}),x=r.origFuncs.push.apply(e,arguments),r.unblock("data-push")),x}}),this.origFuncs.unshift=e.unshift,Object.defineProperty(this.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),x;return!r.blocked&&S===r.currentVersion&&(r.block("data-unshift"),D.forEach(o=>{r.table.rowManager.addRowActual(o,!0)}),x=r.origFuncs.unshift.apply(e,arguments),r.unblock("data-unshift")),x}}),this.origFuncs.shift=e.shift,Object.defineProperty(this.data,"shift",{enumerable:!1,configurable:!0,value:function(){var D,x;return!r.blocked&&S===r.currentVersion&&(r.block("data-shift"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[0]),D&&D.deleteActual()),x=r.origFuncs.shift.call(e),r.unblock("data-shift")),x}}),this.origFuncs.pop=e.pop,Object.defineProperty(this.data,"pop",{enumerable:!1,configurable:!0,value:function(){var D,x;return!r.blocked&&S===r.currentVersion&&(r.block("data-pop"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[r.data.length-1]),D&&D.deleteActual()),x=r.origFuncs.pop.call(e),r.unblock("data-pop")),x}}),this.origFuncs.splice=e.splice,Object.defineProperty(this.data,"splice",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),x=D[0]<0?e.length+D[0]:D[0],o=D[1],t=D[2]?D.slice(2):!1,d,g;if(!r.blocked&&S===r.currentVersion){if(r.block("data-splice"),t&&(d=e[x]?r.table.rowManager.getRowFromDataObject(e[x]):!1,d?t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,d,!0)}):(t=t.slice().reverse(),t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,!1,!0)}))),o!==0){var i=e.slice(x,typeof D[1]>"u"?D[1]:x+o);i.forEach((M,v)=>{var p=r.table.rowManager.getRowFromDataObject(M);p&&p.deleteActual(v!==i.length-1)})}(t||o!==0)&&r.table.rowManager.reRenderInPosition(),g=r.origFuncs.splice.apply(e,arguments),r.unblock("data-splice")}return g}})}unwatchData(){if(this.data!==!1)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})}watchRow(e){var r=e.getData();for(var S in r)this.watchKey(e,r,S);this.table.options.dataTree&&this.watchTreeChildren(e)}watchTreeChildren(e){var r=this,S=e.getData()[this.table.options.dataTreeChildField],D={};S&&(D.push=S.push,Object.defineProperty(S,"push",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-push");var x=D.push.apply(S,arguments);this.rebuildTree(e),r.unblock("tree-push")}return x}}),D.unshift=S.unshift,Object.defineProperty(S,"unshift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-unshift");var x=D.unshift.apply(S,arguments);this.rebuildTree(e),r.unblock("tree-unshift")}return x}}),D.shift=S.shift,Object.defineProperty(S,"shift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-shift");var x=D.shift.call(S);this.rebuildTree(e),r.unblock("tree-shift")}return x}}),D.pop=S.pop,Object.defineProperty(S,"pop",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-pop");var x=D.pop.call(S);this.rebuildTree(e),r.unblock("tree-pop")}return x}}),D.splice=S.splice,Object.defineProperty(S,"splice",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-splice");var x=D.splice.apply(S,arguments);this.rebuildTree(e),r.unblock("tree-splice")}return x}}))}rebuildTree(e){this.table.modules.dataTree.initializeRow(e),this.table.modules.dataTree.layoutRow(e),this.table.rowManager.refreshActiveData("tree",!1,!0)}watchKey(e,r,S){var D=this,x=Object.getOwnPropertyDescriptor(r,S),o=r[S],t=this.currentVersion;Object.defineProperty(r,S,{set:d=>{if(o=d,!D.blocked&&t===D.currentVersion){D.block("key");var g={};g[S]=d,e.updateData(g),D.unblock("key")}x.set&&x.set(d)},get:()=>(x.get&&x.get(),o)})}unwatchRow(e){var r=e.getData();for(var S in r)Object.defineProperty(r,S,{value:r[S]})}block(e){this.blocked||(this.blocked=e)}unblock(e){this.blocked===e&&(this.blocked=!1)}}LM.moduleName="reactiveData";class IM extends Xi{constructor(e){super(e),this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.latestX=!1,this.handle=null,this.initialNextColumn=null,this.nextColumn=null,this.initialized=!1,this.registerColumnOption("resizable",!0),this.registerTableOption("resizableColumnFit",!1)}initialize(){this.subscribe("column-rendered",this.layoutColumnHeader.bind(this))}initializeEventWatchers(){this.initialized||(this.subscribe("cell-rendered",this.layoutCellHandles.bind(this)),this.subscribe("cell-delete",this.deInitializeComponent.bind(this)),this.subscribe("cell-height",this.resizeHandle.bind(this)),this.subscribe("column-moved",this.columnLayoutUpdated.bind(this)),this.subscribe("column-hide",this.deInitializeColumn.bind(this)),this.subscribe("column-show",this.columnLayoutUpdated.bind(this)),this.subscribe("column-width",this.columnWidthUpdated.bind(this)),this.subscribe("column-delete",this.deInitializeComponent.bind(this)),this.subscribe("column-height",this.resizeHandle.bind(this)),this.initialized=!0)}layoutCellHandles(e){e.row.type==="row"&&(this.deInitializeComponent(e),this.initializeColumn("cell",e,e.column,e.element))}layoutColumnHeader(e){e.definition.resizable&&(this.initializeEventWatchers(),this.deInitializeComponent(e),this.initializeColumn("header",e,e,e.element))}columnLayoutUpdated(e){var r=e.prevColumn();this.reinitializeColumn(e),r&&this.reinitializeColumn(r)}columnWidthUpdated(e){e.modules.frozen&&(this.table.modules.frozenColumns.leftColumns.includes(e)?this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.reinitializeColumn(r)}):this.table.modules.frozenColumns.rightColumns.includes(e)&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.reinitializeColumn(r)}))}frozenColumnOffset(e){var r=!1;return e.modules.frozen&&(r=e.modules.frozen.marginValue,e.modules.frozen.position==="left"?r+=e.getWidth()-3:r&&(r-=3)),r!==!1?r+"px":!1}reinitializeColumn(e){var r=this.frozenColumnOffset(e);e.cells.forEach(S=>{S.modules.resize&&S.modules.resize.handleEl&&(r&&(S.modules.resize.handleEl.style[e.modules.frozen.position]=r),S.element.after(S.modules.resize.handleEl))}),e.modules.resize&&e.modules.resize.handleEl&&(r&&(e.modules.resize.handleEl.style[e.modules.frozen.position]=r),e.element.after(e.modules.resize.handleEl))}initializeColumn(e,r,S,D){var x=this,o=!1,t=S.definition.resizable,d={},g=S.getLastColumn();if(e==="header"&&(o=S.definition.formatter=="textarea"||S.definition.variableHeight,d={variableHeight:o}),(t===!0||t==e)&&this._checkResizability(g)){var i=document.createElement("span");i.className="tabulator-col-resize-handle",i.addEventListener("click",function(v){v.stopPropagation()});var M=function(v){x.startColumn=S,x.initialNextColumn=x.nextColumn=g.nextColumn(),x._mouseDown(v,g,i)};i.addEventListener("mousedown",M),i.addEventListener("touchstart",M,{passive:!0}),i.addEventListener("dblclick",v=>{var p=g.getWidth();v.stopPropagation(),g.reinitializeWidth(!0),p!==g.getWidth()&&(x.dispatch("column-resized",g),x.table.externalEvents.dispatch("columnResized",g.getComponent()))}),S.modules.frozen&&(i.style.position="sticky",i.style[S.modules.frozen.position]=this.frozenColumnOffset(S)),d.handleEl=i,D.parentNode&&S.visible&&D.after(i)}r.modules.resize=d}deInitializeColumn(e){this.deInitializeComponent(e),e.cells.forEach(r=>{this.deInitializeComponent(r)})}deInitializeComponent(e){var r;e.modules.resize&&(r=e.modules.resize.handleEl,r&&r.parentElement&&r.parentElement.removeChild(r))}resizeHandle(e,r){e.modules.resize&&e.modules.resize.handleEl&&(e.modules.resize.handleEl.style.height=r)}_checkResizability(e){return e.definition.resizable}_mouseDown(e,r,S){var D=this;D.table.element.classList.add("tabulator-block-select");function x(t){var d=typeof t.screenX>"u"?t.touches[0].screenX:t.screenX,g=d-D.startX,i=d-D.latestX,M,v;if(D.latestX=d,D.table.rtl&&(g=-g,i=-i),M=r.width==r.minWidth||r.width==r.maxWidth,r.setWidth(D.startWidth+g),v=r.width==r.minWidth||r.width==r.maxWidth,i<0&&(D.nextColumn=D.initialNextColumn),D.table.options.resizableColumnFit&&D.nextColumn&&!(M&&v)){let p=D.nextColumn.getWidth();i>0&&p<=D.nextColumn.minWidth&&(D.nextColumn=D.nextColumn.nextColumn()),D.nextColumn&&D.nextColumn.setWidth(D.nextColumn.getWidth()-i)}D.table.columnManager.rerenderColumns(!0),!D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights()}function o(t){D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!1),D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights(),document.body.removeEventListener("mouseup",o),document.body.removeEventListener("mousemove",x),S.removeEventListener("touchmove",x),S.removeEventListener("touchend",o),D.table.element.classList.remove("tabulator-block-select"),D.startWidth!==r.getWidth()&&(D.table.columnManager.verticalAlignHeaders(),D.dispatch("column-resized",r),D.table.externalEvents.dispatch("columnResized",r.getComponent()))}e.stopPropagation(),D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!0),D.startX=typeof e.screenX>"u"?e.touches[0].screenX:e.screenX,D.latestX=D.startX,D.startWidth=r.getWidth(),document.body.addEventListener("mousemove",x),document.body.addEventListener("mouseup",o),S.addEventListener("touchmove",x,{passive:!0}),S.addEventListener("touchend",o)}}IM.moduleName="resizeColumns";class OM extends Xi{constructor(e){super(e),this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null,this.registerTableOption("resizableRows",!1)}initialize(){this.table.options.resizableRows&&this.subscribe("row-layout-after",this.initializeRow.bind(this))}initializeRow(e){var r=this,S=e.getElement(),D=document.createElement("div");D.className="tabulator-row-resize-handle";var x=document.createElement("div");x.className="tabulator-row-resize-handle prev",D.addEventListener("click",function(d){d.stopPropagation()});var o=function(d){r.startRow=e,r._mouseDown(d,e,D)};D.addEventListener("mousedown",o),D.addEventListener("touchstart",o,{passive:!0}),x.addEventListener("click",function(d){d.stopPropagation()});var t=function(d){var g=r.table.rowManager.prevDisplayRow(e);g&&(r.startRow=g,r._mouseDown(d,g,x))};x.addEventListener("mousedown",t),x.addEventListener("touchstart",t,{passive:!0}),S.appendChild(D),S.appendChild(x)}_mouseDown(e,r,S){var D=this;D.table.element.classList.add("tabulator-block-select");function x(t){r.setHeight(D.startHeight+((typeof t.screenY>"u"?t.touches[0].screenY:t.screenY)-D.startY))}function o(t){document.body.removeEventListener("mouseup",x),document.body.removeEventListener("mousemove",x),S.removeEventListener("touchmove",x),S.removeEventListener("touchend",o),D.table.element.classList.remove("tabulator-block-select"),D.dispatchExternal("rowResized",r.getComponent())}e.stopPropagation(),D.startY=typeof e.screenY>"u"?e.touches[0].screenY:e.screenY,D.startHeight=r.getHeight(),document.body.addEventListener("mousemove",x),document.body.addEventListener("mouseup",o),S.addEventListener("touchmove",x,{passive:!0}),S.addEventListener("touchend",o)}}OM.moduleName="resizeRows";class PM extends Xi{constructor(e){super(e),this.binding=!1,this.visibilityObserver=!1,this.resizeObserver=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1,this.visible=!1,this.initialized=!1,this.initialRedraw=!1,this.registerTableOption("autoResize",!0)}initialize(){if(this.table.options.autoResize){var e=this.table,r;this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),typeof IntersectionObserver<"u"&&typeof ResizeObserver<"u"&&e.rowManager.getRenderMode()==="virtual"?(this.initializeVisibilityObserver(),this.autoResize=!0,this.resizeObserver=new ResizeObserver(S=>{if(!e.browserMobile||e.browserMobile&&!e.modules.edit.currentCell){var D=Math.floor(S[0].contentRect.height),x=Math.floor(S[0].contentRect.width);(this.tableHeight!=D||this.tableWidth!=x)&&(this.tableHeight=D,this.tableWidth=x,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),this.redrawTable())}}),this.resizeObserver.observe(e.element),r=window.getComputedStyle(e.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(r.getPropertyValue("max-height")||r.getPropertyValue("min-height"))&&(this.containerObserver=new ResizeObserver(S=>{if(!e.browserMobile||e.browserMobile&&!e.modules.edit.currentCell){var D=Math.floor(S[0].contentRect.height),x=Math.floor(S[0].contentRect.width);(this.containerHeight!=D||this.containerWidth!=x)&&(this.containerHeight=D,this.containerWidth=x,this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth),this.redrawTable()}}),this.containerObserver.observe(this.table.element.parentNode)),this.subscribe("table-resize",this.tableResized.bind(this))):(this.binding=function(){(!e.browserMobile||e.browserMobile&&!e.modules.edit.currentCell)&&(e.columnManager.rerenderColumns(!0),e.redraw())},window.addEventListener("resize",this.binding)),this.subscribe("table-destroy",this.clearBindings.bind(this))}}initializeVisibilityObserver(){this.visibilityObserver=new IntersectionObserver(e=>{this.visible=e[0].isIntersecting,this.initialized?this.visible&&(this.redrawTable(this.initialRedraw),this.initialRedraw=!1):(this.initialized=!0,this.initialRedraw=!this.visible)}),this.visibilityObserver.observe(this.table.element)}redrawTable(e){this.initialized&&this.visible&&(this.table.columnManager.rerenderColumns(!0),this.table.redraw(e))}tableResized(){this.table.rowManager.redraw()}clearBindings(){this.binding&&window.removeEventListener("resize",this.binding),this.resizeObserver&&this.resizeObserver.unobserve(this.table.element),this.visibilityObserver&&this.visibilityObserver.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)}}PM.moduleName="resizeTable";class DM extends Xi{constructor(e){super(e),this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1,this.registerTableOption("responsiveLayout",!1),this.registerTableOption("responsiveLayoutCollapseStartOpen",!0),this.registerTableOption("responsiveLayoutCollapseUseFormatters",!0),this.registerTableOption("responsiveLayoutCollapseFormatter",!1),this.registerColumnOption("responsive")}initialize(){this.table.options.responsiveLayout&&(this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-show",this.updateColumnVisibility.bind(this)),this.subscribe("column-hide",this.updateColumnVisibility.bind(this)),this.subscribe("columns-loaded",this.initializeResponsivity.bind(this)),this.subscribe("column-moved",this.initializeResponsivity.bind(this)),this.subscribe("column-add",this.initializeResponsivity.bind(this)),this.subscribe("column-delete",this.initializeResponsivity.bind(this)),this.subscribe("table-redrawing",this.tableRedraw.bind(this)),this.table.options.responsiveLayout==="collapse"&&(this.subscribe("row-data-changed",this.generateCollapsedRowContent.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout",this.layoutRow.bind(this))))}tableRedraw(e){["fitColumns","fitDataStretch"].indexOf(this.layoutMode())===-1&&(e||this.update())}initializeResponsivity(){var e=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach((r,S)=>{r.modules.responsive&&r.modules.responsive.order&&r.modules.responsive.visible&&(r.modules.responsive.index=S,e.push(r),!r.visible&&this.mode==="collapse"&&this.hiddenColumns.push(r))}),e=e.reverse(),e=e.sort((r,S)=>{var D=S.modules.responsive.order-r.modules.responsive.order;return D||S.modules.responsive.index-r.modules.responsive.index}),this.columns=e,this.mode==="collapse"&&this.generateCollapsedContent();for(let r of this.table.columnManager.columnsByIndex)if(r.definition.formatter=="responsiveCollapse"){this.collapseHandleColumn=r;break}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())}initializeColumn(e){var r=e.getDefinition();e.modules.responsive={order:typeof r.responsive>"u"?1:r.responsive,visible:r.visible!==!1}}initializeRow(e){var r;e.type!=="calc"&&(r=document.createElement("div"),r.classList.add("tabulator-responsive-collapse"),e.modules.responsiveLayout={element:r,open:this.collapseStartOpen},this.collapseStartOpen||(r.style.display="none"))}layoutRow(e){var r=e.getElement();e.modules.responsiveLayout&&(r.appendChild(e.modules.responsiveLayout.element),this.generateCollapsedRowContent(e))}updateColumnVisibility(e,r){!r&&e.modules.responsive&&(e.modules.responsive.visible=e.visible,this.initializeResponsivity())}hideColumn(e){var r=this.hiddenColumns.length;e.hide(!1,!0),this.mode==="collapse"&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent(),this.collapseHandleColumn&&!r&&this.collapseHandleColumn.show())}showColumn(e){var r;e.show(!1,!0),e.setWidth(e.getWidth()),this.mode==="collapse"&&(r=this.hiddenColumns.indexOf(e),r>-1&&this.hiddenColumns.splice(r,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())}update(){for(var e=!0;e;){let r=this.table.modules.layout.getMode()=="fitColumns"?this.table.columnManager.getFlexBaseWidth():this.table.columnManager.getWidth(),S=(this.table.options.headerVisible?this.table.columnManager.element.clientWidth:this.table.element.clientWidth)-r;if(S<0){let D=this.columns[this.index];D?(this.hideColumn(D),this.index++):e=!1}else{let D=this.columns[this.index-1];D&&S>0&&S>=D.getWidth()?(this.showColumn(D),this.index--):e=!1}this.table.rowManager.activeRowsCount||this.table.rowManager.renderEmptyScroll()}}generateCollapsedContent(){var e=this.table.rowManager.getDisplayRows();e.forEach(r=>{this.generateCollapsedRowContent(r)})}generateCollapsedRowContent(e){var r,S;if(e.modules.responsiveLayout){for(r=e.modules.responsiveLayout.element;r.firstChild;)r.removeChild(r.firstChild);S=this.collapseFormatter(this.generateCollapsedRowData(e)),S&&r.appendChild(S)}}generateCollapsedRowData(e){var r=e.getData(),S=[],D;return this.hiddenColumns.forEach(x=>{var o=x.getFieldValue(r);if(x.definition.title&&x.field)if(x.modules.format&&this.table.options.responsiveLayoutCollapseUseFormatters){let d=function(g){g()};var t=d;D={value:!1,data:{},getValue:function(){return o},getData:function(){return r},getType:function(){return"cell"},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return x.getComponent()},getTable:()=>this.table},S.push({field:x.field,title:x.definition.title,value:x.modules.format.formatter.call(this.table.modules.format,D,x.modules.format.params,d)})}else S.push({field:x.field,title:x.definition.title,value:o})}),S}formatCollapsedData(e){var r=document.createElement("table");return e.forEach(function(S){var D=document.createElement("tr"),x=document.createElement("td"),o=document.createElement("td"),t,d=document.createElement("strong");x.appendChild(d),this.langBind("columns|"+S.field,function(g){d.innerHTML=g||S.title}),S.value instanceof Node?(t=document.createElement("div"),t.appendChild(S.value),o.appendChild(t)):o.innerHTML=S.value,D.appendChild(x),D.appendChild(o),r.appendChild(D)},this),Object.keys(e).length?r:""}}DM.moduleName="responsiveLayout";class RM extends Xi{constructor(e){super(e),this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null,this.registerTableOption("selectable","highlight"),this.registerTableOption("selectableRangeMode","drag"),this.registerTableOption("selectableRollingSelection",!0),this.registerTableOption("selectablePersistence",!0),this.registerTableOption("selectableCheck",function(r,S){return!0}),this.registerTableFunction("selectRow",this.selectRows.bind(this)),this.registerTableFunction("deselectRow",this.deselectRows.bind(this)),this.registerTableFunction("toggleSelectRow",this.toggleRow.bind(this)),this.registerTableFunction("getSelectedRows",this.getSelectedRows.bind(this)),this.registerTableFunction("getSelectedData",this.getSelectedData.bind(this)),this.registerComponentFunction("row","select",this.selectRows.bind(this)),this.registerComponentFunction("row","deselect",this.deselectRows.bind(this)),this.registerComponentFunction("row","toggleSelect",this.toggleRow.bind(this)),this.registerComponentFunction("row","isSelected",this.isRowSelected.bind(this))}initialize(){this.table.options.selectable!==!1&&(this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-deleting",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clearSelectionData.bind(this)),this.subscribe("rows-retrieve",this.rowRetrieve.bind(this)),this.table.options.selectable&&!this.table.options.selectablePersistence&&this.subscribe("data-refreshing",this.deselectRows.bind(this)))}rowRetrieve(e,r){return e==="selected"?this.selectedRows:r}rowDeleted(e){this._deselectRow(e,!0)}clearSelectionData(e){var r=this.selectedRows.length;this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],r&&e!==!0&&this._rowSelectionChanged()}initializeRow(e){var r=this,S=e.getElement(),D=function(){setTimeout(function(){r.selecting=!1},50),document.body.removeEventListener("mouseup",D)};e.modules.select={selected:!1},r.checkRowSelectability(e)?(S.classList.add("tabulator-selectable"),S.classList.remove("tabulator-unselectable"),r.table.options.selectable&&r.table.options.selectable!="highlight"&&(r.table.options.selectableRangeMode==="click"?S.addEventListener("click",this.handleComplexRowClick.bind(this,e)):(S.addEventListener("click",function(x){(!r.table.modExists("edit")||!r.table.modules.edit.getCurrentCell())&&r.table._clearSelection(),r.selecting||r.toggleRow(e)}),S.addEventListener("mousedown",function(x){if(x.shiftKey)return r.table._clearSelection(),r.selecting=!0,r.selectPrev=[],document.body.addEventListener("mouseup",D),document.body.addEventListener("keyup",D),r.toggleRow(e),!1}),S.addEventListener("mouseenter",function(x){r.selecting&&(r.table._clearSelection(),r.toggleRow(e),r.selectPrev[1]==e&&r.toggleRow(r.selectPrev[0]))}),S.addEventListener("mouseout",function(x){r.selecting&&(r.table._clearSelection(),r.selectPrev.unshift(e))})))):(S.classList.add("tabulator-unselectable"),S.classList.remove("tabulator-selectable"))}handleComplexRowClick(e,r){if(r.shiftKey){this.table._clearSelection(),this.lastClickedRow=this.lastClickedRow||e;var S=this.table.rowManager.getDisplayRowIndex(this.lastClickedRow),D=this.table.rowManager.getDisplayRowIndex(e),x=S<=D?S:D,o=S>=D?S:D,t=this.table.rowManager.getDisplayRows().slice(0),d=t.splice(x,o-x+1);r.ctrlKey||r.metaKey?(d.forEach(g=>{g!==this.lastClickedRow&&(this.table.options.selectable!==!0&&!this.isRowSelected(e)?this.selectedRows.lengththis.table.options.selectable&&(d=d.slice(0,this.table.options.selectable)),this.selectRows(d)),this.table._clearSelection()}else r.ctrlKey||r.metaKey?(this.toggleRow(e),this.lastClickedRow=e):(this.deselectRows(void 0,!0),this.selectRows(e),this.lastClickedRow=e)}checkRowSelectability(e){return e&&e.type==="row"?this.table.options.selectableCheck.call(this.table,e.getComponent()):!1}toggleRow(e){this.checkRowSelectability(e)&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))}selectRows(e){var r=[],S,D;switch(typeof e){case"undefined":S=this.table.rowManager.rows;break;case"string":S=this.table.rowManager.findRow(e),S||(S=this.table.rowManager.getRows(e));break;default:S=e;break}Array.isArray(S)?S.length&&(S.forEach(x=>{D=this._selectRow(x,!0,!0),D&&r.push(D)}),this._rowSelectionChanged(!1,r)):S&&this._selectRow(S,!1,!0)}_selectRow(e,r,S){if(!isNaN(this.table.options.selectable)&&this.table.options.selectable!==!0&&!S&&this.selectedRows.length>=this.table.options.selectable)if(this.table.options.selectableRollingSelection)this._deselectRow(this.selectedRows[0]);else return!1;var D=this.table.rowManager.findRow(e);if(D){if(this.selectedRows.indexOf(D)==-1)return D.getElement().classList.add("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!0,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!0),this.selectedRows.push(D),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!0),this.dispatchExternal("rowSelected",D.getComponent()),this._rowSelectionChanged(r,D),D}else r||console.warn("Selection Error - No such row found, ignoring selection:"+e)}isRowSelected(e){return this.selectedRows.indexOf(e)!==-1}deselectRows(e,r){var S=[],D,x;switch(typeof e){case"undefined":D=Object.assign([],this.selectedRows);break;case"string":D=this.table.rowManager.findRow(e),D||(D=this.table.rowManager.getRows(e));break;default:D=e;break}Array.isArray(D)?D.length&&(D.forEach(o=>{x=this._deselectRow(o,!0,!0),x&&S.push(x)}),this._rowSelectionChanged(r,[],S)):D&&this._deselectRow(D,r,!0)}_deselectRow(e,r){var S=this,D=S.table.rowManager.findRow(e),x,o;if(D){if(x=S.selectedRows.findIndex(function(t){return t==D}),x>-1)return o=D.getElement(),o&&o.classList.remove("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!1,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!1),S.selectedRows.splice(x,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!1),this.dispatchExternal("rowDeselected",D.getComponent()),S._rowSelectionChanged(r,void 0,D),D}else r||console.warn("Deselection Error - No such row found, ignoring selection:"+e)}getSelectedData(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getData())}),e}getSelectedRows(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getComponent())}),e}_rowSelectionChanged(e,r=[],S=[]){this.headerCheckboxElement&&(this.selectedRows.length===0?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),e||(Array.isArray(r)||(r=[r]),r=r.map(D=>D.getComponent()),Array.isArray(S)||(S=[S]),S=S.map(D=>D.getComponent()),this.dispatchExternal("rowSelectionChanged",this.getSelectedData(),this.getSelectedRows(),r,S))}registerRowSelectCheckbox(e,r){e._row.modules.select||(e._row.modules.select={}),e._row.modules.select.checkboxEl=r}registerHeaderSelectCheckbox(e){this.headerCheckboxElement=e}childRowSelection(e,r){var S=this.table.modules.dataTree.getChildren(e,!0);if(r)for(let D of S)this._selectRow(D,!0);else for(let D of S)this._deselectRow(D,!0)}}RM.moduleName="selectRow";function fz(n,e,r,S,D,x,o){var t=o.alignEmptyValues,d=o.decimalSeparator,g=o.thousandSeparator,i=0;if(n=String(n),e=String(e),g&&(n=n.split(g).join(""),e=e.split(g).join("")),d&&(n=n.split(d).join("."),e=e.split(d).join(".")),n=parseFloat(n),e=parseFloat(e),isNaN(n))i=isNaN(e)?0:-1;else if(isNaN(e))i=1;else return n-e;return(t==="top"&&x==="desc"||t==="bottom"&&x==="asc")&&(i*=-1),i}function hz(n,e,r,S,D,x,o){var t=o.alignEmptyValues,d=0,g;if(!n)d=e?-1:0;else if(!e)d=1;else{switch(typeof o.locale){case"boolean":o.locale&&(g=this.langLocale());break;case"string":g=o.locale;break}return String(n).toLowerCase().localeCompare(String(e).toLowerCase(),g)}return(t==="top"&&x==="desc"||t==="bottom"&&x==="asc")&&(d*=-1),d}function v_(n,e,r,S,D,x,o){var t=window.DateTime||luxon.DateTime,d=o.format||"dd/MM/yyyy HH:mm:ss",g=o.alignEmptyValues,i=0;if(typeof t<"u"){if(t.isDateTime(n)||(d==="iso"?n=t.fromISO(String(n)):n=t.fromFormat(String(n),d)),t.isDateTime(e)||(d==="iso"?e=t.fromISO(String(e)):e=t.fromFormat(String(e),d)),!n.isValid)i=e.isValid?-1:0;else if(!e.isValid)i=1;else return n-e;return(g==="top"&&x==="desc"||g==="bottom"&&x==="asc")&&(i*=-1),i}else console.error("Sort Error - 'datetime' sorter is dependant on luxon.js")}function dz(n,e,r,S,D,x,o){return o.format||(o.format="dd/MM/yyyy"),v_.call(this,n,e,r,S,D,x,o)}function pz(n,e,r,S,D,x,o){return o.format||(o.format="HH:mm"),v_.call(this,n,e,r,S,D,x,o)}function mz(n,e,r,S,D,x,o){var t=n===!0||n==="true"||n==="True"||n===1?1:0,d=e===!0||e==="true"||e==="True"||e===1?1:0;return t-d}function gz(n,e,r,S,D,x,o){var t=o.type||"length",d=o.alignEmptyValues,g=0;function i(M){var v;switch(t){case"length":v=M.length;break;case"sum":v=M.reduce(function(p,u){return p+u});break;case"max":v=Math.max.apply(null,M);break;case"min":v=Math.min.apply(null,M);break;case"avg":v=M.reduce(function(p,u){return p+u})/M.length;break}return v}if(!Array.isArray(n))g=Array.isArray(e)?-1:0;else if(!Array.isArray(e))g=1;else return i(e)-i(n);return(d==="top"&&x==="desc"||d==="bottom"&&x==="asc")&&(g*=-1),g}function vz(n,e,r,S,D,x,o){var t=typeof n>"u"?0:1,d=typeof e>"u"?0:1;return t-d}function yz(n,e,r,S,D,x,o){var t,d,g,i,M=0,v,p=/(\d+)|(\D+)/g,u=/\d/,a=o.alignEmptyValues,c=0;if(!n&&n!==0)c=!e&&e!==0?0:-1;else if(!e&&e!==0)c=1;else{if(isFinite(n)&&isFinite(e))return n-e;if(t=String(n).toLowerCase(),d=String(e).toLowerCase(),t===d)return 0;if(!(u.test(t)&&u.test(d)))return t>d?1:-1;for(t=t.match(p),d=d.match(p),v=t.length>d.length?d.length:t.length;Mi?1:-1;return t.length>d.length}return(a==="top"&&x==="desc"||a==="bottom"&&x==="asc")&&(c*=-1),c}var bz={number:fz,string:hz,date:dz,time:pz,datetime:v_,boolean:mz,array:gz,exists:vz,alphanum:yz};class Ad extends Xi{constructor(e){super(e),this.sortList=[],this.changed=!1,this.registerTableOption("sortMode","local"),this.registerTableOption("initialSort",!1),this.registerTableOption("columnHeaderSortMulti",!0),this.registerTableOption("sortOrderReverse",!1),this.registerTableOption("headerSortElement","
"),this.registerTableOption("headerSortClickElement","header"),this.registerColumnOption("sorter"),this.registerColumnOption("sorterParams"),this.registerColumnOption("headerSort",!0),this.registerColumnOption("headerSortStartingDir"),this.registerColumnOption("headerSortTristate")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.registerDataHandler(this.sort.bind(this),20),this.registerTableFunction("setSort",this.userSetSort.bind(this)),this.registerTableFunction("getSorters",this.getSort.bind(this)),this.registerTableFunction("clearSort",this.clearSort.bind(this)),this.table.options.sortMode==="remote"&&this.subscribe("data-params",this.remoteSortParams.bind(this))}tableBuilt(){this.table.options.initialSort&&this.setSort(this.table.options.initialSort)}remoteSortParams(e,r,S,D){var x=this.getSort();return x.forEach(o=>{delete o.column}),D.sort=x,D}userSetSort(e,r){this.setSort(e,r),this.refreshSort()}clearSort(){this.clear(),this.refreshSort()}initializeColumn(e){var r=!1,S,D;switch(typeof e.definition.sorter){case"string":Ad.sorters[e.definition.sorter]?r=Ad.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":r=e.definition.sorter;break}if(e.modules.sort={sorter:r,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:e.definition.headerSortTristate},e.definition.headerSort!==!1){switch(S=e.getElement(),S.classList.add("tabulator-sortable"),D=document.createElement("div"),D.classList.add("tabulator-col-sorter"),this.table.options.headerSortClickElement){case"icon":D.classList.add("tabulator-col-sorter-element");break;case"header":S.classList.add("tabulator-col-sorter-element");break;default:S.classList.add("tabulator-col-sorter-element");break}switch(this.table.options.headerSortElement){case"function":break;case"object":D.appendChild(this.table.options.headerSortElement);break;default:D.innerHTML=this.table.options.headerSortElement}e.titleHolderElement.appendChild(D),e.modules.sort.element=D,this.setColumnHeaderSortIcon(e,"none"),(this.table.options.headerSortClickElement==="icon"?D:S).addEventListener("click",x=>{var o="",t=[],d=!1;if(e.modules.sort){if(e.modules.sort.tristate)e.modules.sort.dir=="none"?o=e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?o=e.modules.sort.dir=="asc"?"desc":"asc":o="none";else switch(e.modules.sort.dir){case"asc":o="desc";break;case"desc":o="asc";break;default:o=e.modules.sort.startingDir}this.table.options.columnHeaderSortMulti&&(x.shiftKey||x.ctrlKey)?(t=this.getSort(),d=t.findIndex(g=>g.field===e.getField()),d>-1?(t[d].dir=o,d=t.splice(d,1)[0],o!="none"&&t.push(d)):o!="none"&&t.push({column:e,dir:o}),this.setSort(t)):o=="none"?this.clear():this.setSort(e,o),this.refreshSort()}})}}refreshSort(){this.table.options.sortMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0)}hasChanged(){var e=this.changed;return this.changed=!1,e}getSort(){var e=this,r=[];return e.sortList.forEach(function(S){S.column&&r.push({column:S.column.getComponent(),field:S.column.getField(),dir:S.dir})}),r}setSort(e,r){var S=this,D=[];Array.isArray(e)||(e=[{column:e,dir:r}]),e.forEach(function(x){var o;o=S.table.columnManager.findColumn(x.column),o?(x.column=o,D.push(x),S.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",x.column)}),S.sortList=D,this.dispatch("sort-changed")}clear(){this.setSort([])}findSorter(e){var r=this.table.rowManager.activeRows[0],S="string",D,x;if(r&&(r=r.getData(),D=e.getField(),D))switch(x=e.getFieldValue(r),typeof x){case"undefined":S="string";break;case"boolean":S="boolean";break;default:!isNaN(x)&&x!==""?S="number":x.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(S="alphanum");break}return Ad.sorters[S]}sort(e){var r=this,S=this.table.options.sortOrderReverse?r.sortList.slice().reverse():r.sortList,D=[],x=[];return this.subscribedExternal("dataSorting")&&this.dispatchExternal("dataSorting",r.getSort()),r.clearColumnHeaders(),this.table.options.sortMode!=="remote"?(S.forEach(function(o,t){var d;o.column&&(d=o.column.modules.sort,d&&(d.sorter||(d.sorter=r.findSorter(o.column)),o.params=typeof d.params=="function"?d.params(o.column.getComponent(),o.dir):d.params,D.push(o)),r.setColumnHeader(o.column,o.dir))}),D.length&&r._sortItems(e,D)):S.forEach(function(o,t){r.setColumnHeader(o.column,o.dir)}),this.subscribedExternal("dataSorted")&&(e.forEach(o=>{x.push(o.getComponent())}),this.dispatchExternal("dataSorted",r.getSort(),x)),e}clearColumnHeaders(){this.table.columnManager.getRealColumns().forEach(e=>{e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"),this.setColumnHeaderSortIcon(e,"none"))})}setColumnHeader(e,r){e.modules.sort.dir=r,e.getElement().setAttribute("aria-sort",r==="asc"?"ascending":"descending"),this.setColumnHeaderSortIcon(e,r)}setColumnHeaderSortIcon(e,r){var S=e.modules.sort.element,D;if(e.definition.headerSort&&typeof this.table.options.headerSortElement=="function"){for(;S.firstChild;)S.removeChild(S.firstChild);D=this.table.options.headerSortElement.call(this.table,e.getComponent(),r),typeof D=="object"?S.appendChild(D):S.innerHTML=D}}_sortItems(e,r){var S=r.length-1;e.sort((D,x)=>{for(var o,t=S;t>=0;t--){let d=r[t];if(o=this._sortRow(D,x,d.column,d.dir,d.params),o!==0)break}return o})}_sortRow(e,r,S,D,x){var o,t,d=D=="asc"?e:r,g=D=="asc"?r:e;return e=S.getFieldValue(d.getData()),r=S.getFieldValue(g.getData()),e=typeof e<"u"?e:"",r=typeof r<"u"?r:"",o=d.getComponent(),t=g.getComponent(),S.modules.sort.sorter.call(this,e,r,o,t,S.getComponent(),D,x)}}Ad.moduleName="sort";Ad.sorters=bz;class zM extends Xi{constructor(e){super(e),this.tooltipSubscriber=null,this.headerSubscriber=null,this.timeout=null,this.popupInstance=null,this.registerTableOption("tooltipGenerationMode",void 0),this.registerTableOption("tooltipDelay",300),this.registerColumnOption("tooltip"),this.registerColumnOption("headerTooltip")}initialize(){this.deprecatedOptionsCheck(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheckMsg("tooltipGenerationMode","This option is no longer needed as tooltips are always generated on hover now")}initializeColumn(e){e.definition.headerTooltip&&!this.headerSubscriber&&(this.headerSubscriber=!0,this.subscribe("column-mousemove",this.mousemoveCheck.bind(this,"headerTooltip")),this.subscribe("column-mouseout",this.mouseoutCheck.bind(this,"headerTooltip"))),e.definition.tooltip&&!this.tooltipSubscriber&&(this.tooltipSubscriber=!0,this.subscribe("cell-mousemove",this.mousemoveCheck.bind(this,"tooltip")),this.subscribe("cell-mouseout",this.mouseoutCheck.bind(this,"tooltip")))}mousemoveCheck(e,r,S){var D=e==="tooltip"?S.column.definition.tooltip:S.definition.headerTooltip;D&&(this.clearPopup(),this.timeout=setTimeout(this.loadTooltip.bind(this,r,S,D),this.table.options.tooltipDelay))}mouseoutCheck(e,r,S){this.popupInstance||this.clearPopup()}clearPopup(e,r,S){clearTimeout(this.timeout),this.timeout=null,this.popupInstance&&this.popupInstance.hide()}loadTooltip(e,r,S){var D,x,o;function t(d){x=d}typeof S=="function"&&(S=S(e,r.getComponent(),t)),S instanceof HTMLElement?D=S:(D=document.createElement("div"),S===!0&&(r instanceof ng?S=r.value:r.definition.field?this.langBind("columns|"+r.definition.field,d=>{D.innerHTML=S=d||r.definition.title}):S=r.definition.title),D.innerHTML=S),(S||S===0||S===!1)&&(D.classList.add("tabulator-tooltip"),D.addEventListener("mousemove",d=>d.preventDefault()),this.popupInstance=this.popup(D),typeof x=="function"&&this.popupInstance.renderCallback(x),o=this.popupInstance.containerEventCoords(e),this.popupInstance.show(o.x+15,o.y+15).hideOnBlur(()=>{this.dispatchExternal("TooltipClosed",r.getComponent()),this.popupInstance=null}),this.dispatchExternal("TooltipOpened",r.getComponent()))}}zM.moduleName="tooltip";var xz={integer:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&Math.floor(e)===e)},float:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&e%1!==0)},numeric:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:!isNaN(e)},string:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:isNaN(e)},max:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)<=r},min:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)>=r},starts:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().startsWith(String(r).toLowerCase())},ends:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().endsWith(String(r).toLowerCase())},minLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length>=r},maxLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length<=r},in:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(typeof r=="string"&&(r=r.split("|")),r.indexOf(e)>-1)},regex:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var S=new RegExp(r);return S.test(e)},unique:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var S=!0,D=n.getData(),x=n.getColumn()._getSelf();return this.table.rowManager.rows.forEach(function(o){var t=o.getData();t!==D&&e==x.getFieldValue(t)&&(S=!1)}),S},required:function(n,e,r){return e!==""&&e!==null&&typeof e<"u"}};class og extends Xi{constructor(e){super(e),this.invalidCells=[],this.registerTableOption("validationMode","blocking"),this.registerColumnOption("validator"),this.registerTableFunction("getInvalidCells",this.getInvalidCells.bind(this)),this.registerTableFunction("clearCellValidation",this.userClearCellValidation.bind(this)),this.registerTableFunction("validate",this.userValidate.bind(this)),this.registerComponentFunction("cell","isValid",this.cellIsValid.bind(this)),this.registerComponentFunction("cell","clearValidation",this.clearValidation.bind(this)),this.registerComponentFunction("cell","validate",this.cellValidate.bind(this)),this.registerComponentFunction("column","validate",this.columnValidate.bind(this)),this.registerComponentFunction("row","validate",this.rowValidate.bind(this))}initialize(){this.subscribe("cell-delete",this.clearValidation.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("edit-success",this.editValidate.bind(this)),this.subscribe("edit-editor-clear",this.editorClear.bind(this)),this.subscribe("edit-edited-clear",this.editedClear.bind(this))}editValidate(e,r,S){var D=this.table.options.validationMode!=="manual"?this.validate(e.column.modules.validate,e,r):!0;return D!==!0&&setTimeout(()=>{e.getElement().classList.add("tabulator-validation-fail"),this.dispatchExternal("validationFailed",e.getComponent(),r,D)}),D}editorClear(e,r){r&&e.column.modules.validate&&this.cellValidate(e),e.getElement().classList.remove("tabulator-validation-fail")}editedClear(e){e.modules.validate&&(e.modules.validate.invalid=!1)}cellIsValid(e){return e.modules.validate&&e.modules.validate.invalid||!0}cellValidate(e){return this.validate(e.column.modules.validate,e,e.getValue())}columnValidate(e){var r=[];return e.cells.forEach(S=>{this.cellValidate(S)!==!0&&r.push(S.getComponent())}),r.length?r:!0}rowValidate(e){var r=[];return e.cells.forEach(S=>{this.cellValidate(S)!==!0&&r.push(S.getComponent())}),r.length?r:!0}userClearCellValidation(e){e||(e=this.getInvalidCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.clearValidation(r._getSelf())})}userValidate(e){var r=[];return this.table.rowManager.rows.forEach(S=>{S=S.getComponent();var D=S.validate();D!==!0&&(r=r.concat(D))}),r.length?r:!0}initializeColumnCheck(e){typeof e.definition.validator<"u"&&this.initializeColumn(e)}initializeColumn(e){var r=this,S=[],D;e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach(x=>{D=r._extractValidator(x),D&&S.push(D)}):(D=this._extractValidator(e.definition.validator),D&&S.push(D)),e.modules.validate=S.length?S:!1)}_extractValidator(e){var r,S,D;switch(typeof e){case"string":return D=e.indexOf(":"),D>-1?(r=e.substring(0,D),S=e.substring(D+1)):r=e,this._buildValidator(r,S);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}}_buildValidator(e,r){var S=typeof e=="function"?e:og.validators[e];return S?{type:typeof e=="function"?"function":e,func:S,params:r}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)}validate(e,r,S){var D=this,x=[],o=this.invalidCells.indexOf(r);return e&&e.forEach(t=>{t.func.call(D,r.getComponent(),S,t.params)||x.push({type:t.type,parameters:t.params})}),r.modules.validate||(r.modules.validate={}),x.length?(r.modules.validate.invalid=x,this.table.options.validationMode!=="manual"&&r.getElement().classList.add("tabulator-validation-fail"),o==-1&&this.invalidCells.push(r)):(r.modules.validate.invalid=!1,r.getElement().classList.remove("tabulator-validation-fail"),o>-1&&this.invalidCells.splice(o,1)),x.length?x:!0}getInvalidCells(){var e=[];return this.invalidCells.forEach(r=>{e.push(r.getComponent())}),e}clearValidation(e){var r;e.modules.validate&&e.modules.validate.invalid&&(e.getElement().classList.remove("tabulator-validation-fail"),e.modules.validate.invalid=!1,r=this.invalidCells.indexOf(e),r>-1&&this.invalidCells.splice(r,1))}}og.moduleName="validate";og.validators=xz;var _z=Object.freeze({__proto__:null,AccessorModule:Jp,AjaxModule:Sc,ClipboardModule:Dd,ColumnCalcsModule:Eh,DataTreeModule:bM,DownloadModule:Qp,EditModule:rg,ExportModule:xM,FilterModule:jf,FormatModule:Gu,FrozenColumnsModule:_M,FrozenRowsModule:wM,GroupRowsModule:TM,HistoryModule:Rd,HtmlTableImportModule:kM,ImportModule:ig,InteractionModule:MM,KeybindingsModule:Ph,MenuModule:AM,MoveColumnsModule:SM,MoveRowsModule:Jy,MutatorModule:e0,PageModule:ag,PersistenceModule:Gl,PopupModule:CM,PrintModule:EM,ReactiveDataModule:LM,ResizeColumnsModule:IM,ResizeRowsModule:OM,ResizeTableModule:PM,ResponsiveLayoutModule:DM,SelectRowModule:RM,SortModule:Ad,TooltipModule:zM,ValidateModule:og}),wz={debugEventsExternal:!1,debugEventsInternal:!1,debugInvalidOptions:!0,debugInvalidComponentFuncs:!0,debugInitialization:!0,debugDeprecation:!0,height:!1,minHeight:!1,maxHeight:!1,columnHeaderVertAlign:"top",popupContainer:!1,columns:[],columnDefaults:{},data:!1,autoColumns:!1,autoColumnsDefinitions:!1,nestedFieldSeparator:".",footerElement:!1,index:"id",textDirection:"auto",addRowPos:"bottom",headerVisible:!0,renderVertical:"virtual",renderHorizontal:"basic",renderVerticalBuffer:0,scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,rowHeight:null,placeholder:!1,dataLoader:!0,dataLoaderLoading:!1,dataLoaderError:!1,dataLoaderErrorTimeout:3e3,dataSendParams:{},dataReceiveParams:{}};class FM{constructor(e,r,S={}){this.table=e,this.msgType=r,this.registeredDefaults=Object.assign({},S)}register(e,r){this.registeredDefaults[e]=r}generate(e,r={}){var S=Object.assign({},this.registeredDefaults),D=this.table.options.debugInvalidOptions||r.debugInvalidOptions===!0;Object.assign(S,e);for(let x in r)S.hasOwnProperty(x)||(D&&console.warn("Invalid "+this.msgType+" option:",x),S[x]=r.key);for(let x in S)x in r?S[x]=r[x]:Array.isArray(S[x])?S[x]=Object.assign([],S[x]):typeof S[x]=="object"&&S[x]!==null?S[x]=Object.assign({},S[x]):typeof S[x]>"u"&&delete S[x];return S}}class Qy extends Zl{constructor(e){super(e),this.elementVertical=e.rowManager.element,this.elementHorizontal=e.columnManager.element,this.tableElement=e.rowManager.tableElement,this.verticalFillMode="fit"}initialize(){}clearRows(){}clearColumns(){}reinitializeColumnWidths(e){}renderRows(){}renderColumns(){}rerenderRows(e){e&&e()}rerenderColumns(e,r){}renderRowCells(e){}rerenderRowCells(e,r){}scrollColumns(e,r){}scrollRows(e,r){}resize(){}scrollToRow(e){}scrollToRowNearestTop(e){}visibleRows(e){return[]}rows(){return this.table.rowManager.getDisplayRows()}styleRow(e,r){var S=e.getElement();r%2?(S.classList.add("tabulator-row-even"),S.classList.remove("tabulator-row-odd")):(S.classList.add("tabulator-row-odd"),S.classList.remove("tabulator-row-even"))}clear(){this.clearRows(),this.clearColumns()}render(){this.renderRows(),this.renderColumns()}rerender(e){this.rerenderRows(),this.rerenderColumns()}scrollToRowPosition(e,r,S){var D=this.rows().indexOf(e),x=e.getElement(),o=0;return new Promise((t,d)=>{if(D>-1){if(typeof S>"u"&&(S=this.table.options.scrollToRowIfVisible),!S&&po.elVisible(x)&&(o=po.elOffset(x).top-po.elOffset(this.elementVertical).top,o>0&&o"u"&&(r=this.table.options.scrollToRowPosition),r==="nearest"&&(r=this.scrollToRowNearestTop(e)?"top":"bottom"),this.scrollToRow(e),r){case"middle":case"center":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop+(x.offsetTop-this.elementVertical.scrollTop)-(this.elementVertical.scrollHeight-x.offsetTop)/2:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight/2;break;case"bottom":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop-(this.elementVertical.scrollHeight-x.offsetTop)+x.offsetHeight:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight+x.offsetHeight;break;case"top":this.elementVertical.scrollTop=x.offsetTop;break}t()}else console.warn("Scroll Error - Row not visible"),d("Scroll Error - Row not visible")})}}class Tz extends Qy{constructor(e){super(e)}renderRowCells(e,r){const S=document.createDocumentFragment();e.cells.forEach(D=>{S.appendChild(D.getElement())}),e.element.appendChild(S),r||e.cells.forEach(D=>{D.cellRendered()})}reinitializeColumnWidths(e){e.forEach(function(r){r.reinitializeWidth()})}}class kz extends Qy{constructor(e){super(e),this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.windowBuffer=200,this.visibleRows=null,this.initialized=!1,this.isFitData=!1,this.columns=[]}initialize(){this.compatibilityCheck(),this.layoutCheck(),this.vertScrollListen()}compatibilityCheck(){this.options("layout")=="fitDataTable"&&console.warn("Horizontal Virtual DOM is not compatible with fitDataTable layout mode"),this.options("responsiveLayout")&&console.warn("Horizontal Virtual DOM is not compatible with responsive columns"),this.options("rtl")&&console.warn("Horizontal Virtual DOM is not currently compatible with RTL text direction")}layoutCheck(){this.isFitData=this.options("layout").startsWith("fitData")}vertScrollListen(){this.subscribe("scroll-vertical",this.clearVisRowCache.bind(this)),this.subscribe("data-refreshed",this.clearVisRowCache.bind(this))}clearVisRowCache(){this.visibleRows=null}renderColumns(e,r){this.dataChange()}scrollColumns(e,r){this.scrollLeft!=e&&(this.scrollLeft=e,this.scroll(e-(this.vDomScrollPosLeft+this.windowBuffer)))}calcWindowBuffer(){var e=this.elementVertical.clientWidth;this.table.columnManager.columnsByIndex.forEach(r=>{if(r.visible){var S=r.getWidth();S>e&&(e=S)}}),this.windowBuffer=e*2}rerenderColumns(e,r){var S={cols:this.columns,leftCol:this.leftCol,rightCol:this.rightCol},D=0;e&&!this.initialized||(this.clear(),this.calcWindowBuffer(),this.scrollLeft=this.elementVertical.scrollLeft,this.vDomScrollPosLeft=this.scrollLeft-this.windowBuffer,this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,this.table.columnManager.columnsByIndex.forEach(x=>{var o={},t;x.visible&&(x.modules.frozen||(t=x.getWidth(),o.leftPos=D,o.rightPos=D+t,o.width=t,this.isFitData&&(o.fitDataCheck=x.modules.vdomHoz?x.modules.vdomHoz.fitDataCheck:!0),D+t>this.vDomScrollPosLeft&&D{r.appendChild(S.getElement())}),e.element.appendChild(r),e.cells.forEach(S=>{S.cellRendered()})}}rerenderRowCells(e,r){this.reinitializeRow(e,r)}reinitializeColumnWidths(e){for(let r=this.leftCol;r<=this.rightCol;r++)this.columns[r].reinitializeWidth()}deinitialize(){this.initialized=!1}clear(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0}dataChange(){var e=!1,r,S;if(this.isFitData){if(this.table.columnManager.columnsByIndex.forEach(D=>{!D.definition.width&&D.visible&&(e=!0)}),e&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,r=this.chain("rows-sample",[1],[],()=>this.table.rowManager.getDisplayRows())[0],r)){S=r.getElement(),r.generateCells(),this.tableElement.appendChild(S);for(let D=0;D{S!==this.columns[D]&&(r=!1)}),!r)}reinitializeRows(){var e=this.getVisibleRows(),r=this.table.rowManager.getRows().filter(S=>!e.includes(S));e.forEach(S=>{this.reinitializeRow(S,!0)}),r.forEach(S=>{S.deinitialize()})}getVisibleRows(){return this.visibleRows||(this.visibleRows=this.table.rowManager.getVisibleRows()),this.visibleRows}scroll(e){this.vDomScrollPosLeft+=e,this.vDomScrollPosRight+=e,Math.abs(e)>this.windowBuffer/2?this.rerenderColumns():e>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())}colPositionAdjust(e,r,S){for(let D=e;D{if(D.type!=="group"){var x=D.getCell(S);D.getElement().insertBefore(x.getElement(),D.getCell(this.columns[this.rightCol]).getElement().nextSibling),x.cellRendered()}}),this.fitDataColActualWidthCheck(S),this.rightCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)}),this.rightCol>=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=S.getWidth()):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}addColLeft(){for(var e=!1,r=!0;r;){let S=this.columns[this.leftCol-1];if(S)if(S.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft){e=!0,this.getVisibleRows().forEach(x=>{if(x.type!=="group"){var o=x.getCell(S);x.getElement().insertBefore(o.getElement(),x.getCell(this.columns[this.leftCol]).getElement()),o.cellRendered()}}),this.leftCol--,this.getVisibleRows().forEach(x=>{x.type!=="group"&&(x.modules.vdomHoz.leftCol=this.leftCol)}),this.leftCol<=0?this.vDomPadLeft=0:this.vDomPadLeft-=S.getWidth();let D=this.fitDataColActualWidthCheck(S);D&&(this.scrollLeft=this.elementVertical.scrollLeft=this.elementVertical.scrollLeft+D,this.vDomPadRight-=D)}else r=!1;else r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}removeColRight(){for(var e=!1,r=!0;r;){let S=this.columns[this.rightCol];S&&S.modules.vdomHoz.leftPos>this.vDomScrollPosRight?(e=!0,this.getVisibleRows().forEach(D=>{if(D.type!=="group"){var x=D.getCell(S);try{D.getElement().removeChild(x.getElement())}catch(o){console.warn("Could not removeColRight",o.message)}}}),this.vDomPadRight+=S.getWidth(),this.rightCol--,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)})):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}removeColLeft(){for(var e=!1,r=!0;r;){let S=this.columns[this.leftCol];S&&S.modules.vdomHoz.rightPos{if(D.type!=="group"){var x=D.getCell(S);try{D.getElement().removeChild(x.getElement())}catch(o){console.warn("Could not removeColLeft",o.message)}}}),this.vDomPadLeft+=S.getWidth(),this.leftCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.leftCol=this.leftCol)})):r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}fitDataColActualWidthCheck(e){var r,S;return e.modules.vdomHoz.fitDataCheck&&(e.reinitializeWidth(),r=e.getWidth(),S=r-e.modules.vdomHoz.width,S&&(e.modules.vdomHoz.rightPos+=S,e.modules.vdomHoz.width=r,this.colPositionAdjust(this.columns.indexOf(e)+1,this.columns.length,S)),e.modules.vdomHoz.fitDataCheck=!1),S}initializeRow(e){if(e.type!=="group"){e.modules.vdomHoz={leftCol:this.leftCol,rightCol:this.rightCol},this.table.modules.frozenColumns&&this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.appendCell(e,r)});for(let r=this.leftCol;r<=this.rightCol;r++)this.appendCell(e,this.columns[r]);this.table.modules.frozenColumns&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.appendCell(e,r)})}}appendCell(e,r){if(r&&r.visible){let S=e.getCell(r);e.getElement().appendChild(S.getElement()),S.cellRendered()}}reinitializeRow(e,r){if(e.type!=="group"&&(r||!e.modules.vdomHoz||e.modules.vdomHoz.leftCol!==this.leftCol||e.modules.vdomHoz.rightCol!==this.rightCol)){for(var S=e.getElement();S.firstChild;)S.removeChild(S.firstChild);this.initializeRow(e)}}}class Mz extends Zl{constructor(e){super(e),this.blockHozScrollEvent=!1,this.headersElement=null,this.contentsElement=null,this.element=null,this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.scrollLeft=0,this.optionsList=new FM(this.table,"column definition",yM),this.redrawBlock=!1,this.redrawBlockUpdate=null,this.renderer=null}initialize(){this.initializeRenderer(),this.headersElement=this.createHeadersElement(),this.contentsElement=this.createHeaderContentsElement(),this.element=this.createHeaderElement(),this.contentsElement.insertBefore(this.headersElement,this.contentsElement.firstChild),this.element.insertBefore(this.contentsElement,this.element.firstChild),this.initializeScrollWheelWatcher(),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("scrollbar-vertical",this.padVerticalScrollbar.bind(this))}padVerticalScrollbar(e){this.table.rtl?this.headersElement.style.marginLeft=e+"px":this.headersElement.style.marginRight=e+"px"}initializeRenderer(){var e,r={virtual:kz,basic:Tz};typeof this.table.options.renderHorizontal=="string"?e=r[this.table.options.renderHorizontal]:e=this.table.options.renderHorizontal,e?(this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize()):console.error("Unable to find matching renderer:",this.table.options.renderHorizontal)}createHeadersElement(){var e=document.createElement("div");return e.classList.add("tabulator-headers"),e.setAttribute("role","row"),e}createHeaderContentsElement(){var e=document.createElement("div");return e.classList.add("tabulator-header-contents"),e.setAttribute("role","rowgroup"),e}createHeaderElement(){var e=document.createElement("div");return e.classList.add("tabulator-header"),e.setAttribute("role","rowgroup"),this.table.options.headerVisible||e.classList.add("tabulator-header-hidden"),e}getElement(){return this.element}getContentsElement(){return this.contentsElement}getHeadersElement(){return this.headersElement}scrollHorizontal(e){this.contentsElement.scrollLeft=e,this.scrollLeft=e,this.renderer.scrollColumns(e)}initializeScrollWheelWatcher(){this.contentsElement.addEventListener("wheel",e=>{var r;e.deltaX&&(r=this.contentsElement.scrollLeft+e.deltaX,this.table.rowManager.scrollHorizontal(r),this.table.columnManager.scrollHorizontal(r))})}generateColumnsFromRowData(e){var r=[],S=this.table.options.autoColumnsDefinitions,D,x;if(e&&e.length){D=e[0];for(var o in D){let t={field:o,title:o},d=D[o];switch(typeof d){case"undefined":x="string";break;case"boolean":x="boolean";break;case"object":Array.isArray(d)?x="array":x="string";break;default:!isNaN(d)&&d!==""?x="number":d.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?x="alphanum":x="string";break}t.sorter=x,r.push(t)}if(S)switch(typeof S){case"function":this.table.options.columns=S.call(this.table,r);break;case"object":Array.isArray(S)?r.forEach(t=>{var d=S.find(g=>g.field===t.field);d&&Object.assign(t,d)}):r.forEach(t=>{S[t.field]&&Object.assign(t,S[t.field])}),this.table.options.columns=r;break}else this.table.options.columns=r;this.setColumns(this.table.options.columns)}}setColumns(e,r){for(;this.headersElement.firstChild;)this.headersElement.removeChild(this.headersElement.firstChild);this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.dispatch("columns-loading"),e.forEach((S,D)=>{this._addColumn(S)}),this._reIndexColumns(),this.dispatch("columns-loaded"),this.rerenderColumns(!1,!0),this.redraw(!0)}_addColumn(e,r,S){var D=new cf(e,this),x=D.getElement(),o=S&&this.findColumnIndex(S);if(S&&o>-1){var t=S.getTopColumn(),d=this.columns.indexOf(t),g=t.getElement();r?(this.columns.splice(d,0,D),g.parentNode.insertBefore(x,g)):(this.columns.splice(d+1,0,D),g.parentNode.insertBefore(x,g.nextSibling))}else r?(this.columns.unshift(D),this.headersElement.insertBefore(D.getElement(),this.headersElement.firstChild)):(this.columns.push(D),this.headersElement.appendChild(D.getElement()));return D.columnRendered(),D}registerColumnField(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)}registerColumnPosition(e){this.columnsByIndex.push(e)}_reIndexColumns(){this.columnsByIndex=[],this.columns.forEach(function(e){e.reRegisterPosition()})}verticalAlignHeaders(){var e=0;this.redrawBlock||(this.headersElement.style.height="",this.columns.forEach(r=>{r.clearVerticalAlign()}),this.columns.forEach(r=>{var S=r.getHeight();S>e&&(e=S)}),this.headersElement.style.height=e+"px",this.columns.forEach(r=>{r.verticalAlign(this.table.options.columnHeaderVertAlign,e)}),this.table.rowManager.adjustTableSize())}findColumn(e){var r;if(typeof e=="object"){if(e instanceof cf)return e;if(e instanceof vM)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return r=[],this.columns.forEach(D=>{r.push(D),r=r.concat(D.getColumns(!0))}),r.find(D=>D.element===e)||!1}else return this.columnsByField[e]||!1;return!1}getColumnByField(e){return this.columnsByField[e]}getColumnsByFieldRoot(e){var r=[];return Object.keys(this.columnsByField).forEach(S=>{var D=S.split(".")[0];D===e&&r.push(this.columnsByField[S])}),r}getColumnByIndex(e){return this.columnsByIndex[e]}getFirstVisibleColumn(){var e=this.columnsByIndex.findIndex(r=>r.visible);return e>-1?this.columnsByIndex[e]:!1}getColumns(){return this.columns}findColumnIndex(e){return this.columnsByIndex.findIndex(r=>e===r)}getRealColumns(){return this.columnsByIndex}traverse(e){this.columnsByIndex.forEach((r,S)=>{e(r,S)})}getDefinitions(e){var r=[];return this.columnsByIndex.forEach(S=>{(!e||e&&S.visible)&&r.push(S.getDefinition())}),r}getDefinitionTree(){var e=[];return this.columns.forEach(r=>{e.push(r.getDefinition(!0))}),e}getComponents(e){var r=[],S=e?this.columns:this.columnsByIndex;return S.forEach(D=>{r.push(D.getComponent())}),r}getWidth(){var e=0;return this.columnsByIndex.forEach(r=>{r.visible&&(e+=r.getWidth())}),e}moveColumn(e,r,S){r.element.parentNode.insertBefore(e.element,r.element),S&&r.element.parentNode.insertBefore(r.element,e.element),this.moveColumnActual(e,r,S),this.verticalAlignHeaders(),this.table.rowManager.reinitialize()}moveColumnActual(e,r,S){e.parent.isGroup?this._moveColumnInArray(e.parent.columns,e,r,S):this._moveColumnInArray(this.columns,e,r,S),this._moveColumnInArray(this.columnsByIndex,e,r,S,!0),this.rerenderColumns(!0),this.dispatch("column-moved",e,r,S),this.subscribedExternal("columnMoved")&&this.dispatchExternal("columnMoved",e.getComponent(),this.table.columnManager.getComponents())}_moveColumnInArray(e,r,S,D,x){var o=e.indexOf(r),t,d=[];o>-1&&(e.splice(o,1),t=e.indexOf(S),t>-1?D&&(t=t+1):t=o,e.splice(t,0,r),x&&(d=this.chain("column-moving-rows",[r,S,D],null,[])||[],d=d.concat(this.table.rowManager.rows),d.forEach(function(g){if(g.cells.length){var i=g.cells.splice(o,1)[0];g.cells.splice(t,0,i)}})))}scrollToColumn(e,r,S){var D=0,x=e.getLeftOffset(),o=0,t=e.getElement();return new Promise((d,g)=>{if(typeof r>"u"&&(r=this.table.options.scrollToColumnPosition),typeof S>"u"&&(S=this.table.options.scrollToColumnIfVisible),e.visible){switch(r){case"middle":case"center":o=-this.element.clientWidth/2;break;case"right":o=t.clientWidth-this.headersElement.clientWidth;break}if(!S&&x>0&&x+t.offsetWidth{r.push(S.generateCell(e))}),r}getFlexBaseWidth(){var e=this.table.element.clientWidth,r=0;return this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(e-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),this.columnsByIndex.forEach(function(S){var D,x,o;S.visible&&(D=S.definition.width||0,x=parseInt(S.minWidth),typeof D=="string"?D.indexOf("%")>-1?o=e/100*parseInt(D):o=parseInt(D):o=D,r+=o>x?o:x)}),r}addColumn(e,r,S){return new Promise((D,x)=>{var o=this._addColumn(e,r,S);this._reIndexColumns(),this.dispatch("column-add",e,r,S),this.layoutMode()!="fitColumns"&&o.reinitializeWidth(),this.redraw(!0),this.table.rowManager.reinitialize(),this.rerenderColumns(),D(o)})}deregisterColumn(e){var r=e.getField(),S;r&&delete this.columnsByField[r],S=this.columnsByIndex.indexOf(e),S>-1&&this.columnsByIndex.splice(S,1),S=this.columns.indexOf(e),S>-1&&this.columns.splice(S,1),this.verticalAlignHeaders(),this.redraw()}rerenderColumns(e,r){this.redrawBlock?(e===!1||e===!0&&this.redrawBlockUpdate===null)&&(this.redrawBlockUpdate=e):this.renderer.rerenderColumns(e,r)}blockRedraw(){this.redrawBlock=!0,this.redrawBlockUpdate=null}restoreRedraw(){this.redrawBlock=!1,this.verticalAlignHeaders(),this.renderer.rerenderColumns(this.redrawBlockUpdate)}redraw(e){po.elVisible(this.element)&&this.verticalAlignHeaders(),e&&(this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),this.confirm("table-redrawing",e)||this.layoutRefresh(e),this.dispatch("table-redraw",e),this.table.footerManager.redraw()}}class Az extends Qy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.scrollTop=0,e.scrollLeft=0,e.style.minWidth="",e.style.minHeight="",e.style.display="",e.style.visibility=""}renderRows(){var e=this.tableElement,r=!0,S=document.createDocumentFragment(),D=this.rows();D.forEach((x,o)=>{this.styleRow(x,o),x.initialize(!1,!0),x.type!=="group"&&(r=!1),S.appendChild(x.getElement())}),e.appendChild(S),D.forEach(x=>{x.rendered(),x.heightInitialized||x.calcHeight(!0)}),D.forEach(x=>{x.heightInitialized||x.setCellHeight()}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}rerenderRows(e){this.clearRows(),e&&e(),this.renderRows()}scrollToRowNearestTop(e){var r=po.elOffset(e.getElement()).top;return!(Math.abs(this.elementVertical.scrollTop-r)>Math.abs(this.elementVertical.scrollTop+this.elementVertical.clientHeight-r))}scrollToRow(e){var r=e.getElement();this.elementVertical.scrollTop=po.elOffset(r).top-po.elOffset(this.elementVertical).top+this.elementVertical.scrollTop}visibleRows(e){return this.rows()}}class Sz extends Qy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[]}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.style.paddingTop="",e.style.paddingBottom="",e.style.minHeight="",e.style.display="",e.style.visibility="",this.elementVertical.scrollTop=0,this.elementVertical.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0,this.vDomTop=0,this.vDomBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0}renderRows(){this._virtualRenderFill()}rerenderRows(e){for(var r=this.elementVertical.scrollTop,S=!1,D=!1,x=this.table.rowManager.scrollLeft,o=this.rows(),t=this.vDomTop;t<=this.vDomBottom;t++)if(o[t]){var d=r-o[t].getElement().offsetTop;if(D===!1||Math.abs(d){g.deinitializeHeight()}),e&&e(),this.rows().length?this._virtualRenderFill(S===!1?this.rows.length-1:S,!0,D||0):(this.clear(),this.table.rowManager.tableEmpty()),this.scrollColumns(x)}scrollColumns(e){this.table.rowManager.scrollHorizontal(e)}scrollRows(e,r){var S=e-this.vDomScrollPosTop,D=e-this.vDomScrollPosBottom,x=this.vDomWindowBuffer*2,o=this.rows();if(this.scrollTop=e,-S>x||D>x){var t=this.table.rowManager.scrollLeft;this._virtualRenderFill(Math.floor(this.elementVertical.scrollTop/this.elementVertical.scrollHeight*o.length)),this.scrollColumns(t)}else r?(S<0&&this._addTopRow(o,-S),D<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(o,-D):this.vDomScrollPosBottom=this.scrollTop)):(D>=0&&this._addBottomRow(o,D),S>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(o,S):this.vDomScrollPosTop=this.scrollTop))}resize(){this.vDomWindowBuffer=this.table.options.renderVerticalBuffer||this.elementVertical.clientHeight}scrollToRowNearestTop(e){var r=this.rows().indexOf(e);return!(Math.abs(this.vDomTop-r)>Math.abs(this.vDomBottom-r))}scrollToRow(e){var r=this.rows().indexOf(e);r>-1&&this._virtualRenderFill(r,!0)}visibleRows(e){var r=this.elementVertical.scrollTop,S=this.elementVertical.clientHeight+r,D=!1,x=0,o=0,t=this.rows();if(e)x=this.vDomTop,o=this.vDomBottom;else for(var d=this.vDomTop;d<=this.vDomBottom;d++)if(t[d])if(D)if(S-t[d].getElement().offsetTop>=0)o=d;else break;else if(r-t[d].getElement().offsetTop>=0)x=d;else if(D=!0,S-t[d].getElement().offsetTop>=0)o=d;else break;return t.slice(x,o+1)}_virtualRenderFill(e,r,S){var D=this.tableElement,x=this.elementVertical,o=0,t=0,d=0,g=0,i=0,M=0,v=this.rows(),p=v.length,u=0,a,c,s=[],l=0,h=0,f=this.table.rowManager.fixedHeight,m=this.elementVertical.clientHeight,_=this.table.options.rowHeight,y=!0;if(e=e||0,S=S||0,!e)this.clear();else{for(;D.firstChild;)D.removeChild(D.firstChild);g=(p-e+1)*this.vDomRowHeight,g{C.rendered(),C.heightInitialized||C.calcHeight(!0)}),s.forEach(C=>{C.heightInitialized||C.setCellHeight()}),s.forEach(C=>{d=C.getHeight(),lthis.vDomWindowBuffer&&(this.vDomWindowBuffer=d*2),l++}),y=this.table.rowManager.adjustTableSize(),m=this.elementVertical.clientHeight,y&&(f||this.table.options.maxHeight)&&(_=t/l,h=Math.max(this.vDomWindowMinTotalRows,Math.ceil(m/_+this.vDomWindowBuffer/_)))}e?(this.vDomTopPad=r?this.vDomRowHeight*this.vDomTop+S:this.scrollTop-i,this.vDomBottomPad=this.vDomBottom==p-1?0:Math.max(this.vDomScrollHeight-this.vDomTopPad-t-i,0)):(this.vDomTopPad=0,this.vDomRowHeight=Math.floor((t+i)/l),this.vDomBottomPad=this.vDomRowHeight*(p-this.vDomBottom-1),this.vDomScrollHeight=i+t+this.vDomBottomPad-m),D.style.paddingTop=this.vDomTopPad+"px",D.style.paddingBottom=this.vDomBottomPad+"px",r&&(this.scrollTop=this.vDomTopPad+i+S-(this.elementVertical.scrollWidth>this.elementVertical.clientWidth?this.elementVertical.offsetHeight-m:0)),this.scrollTop=Math.min(this.scrollTop,this.elementVertical.scrollHeight-m),this.elementVertical.scrollWidth>this.elementVertical.clientWidth&&r&&(this.scrollTop+=this.elementVertical.offsetHeight-m),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,x.scrollTop=this.scrollTop,this.dispatch("render-virtual-fill")}}_addTopRow(e,r){for(var S=this.tableElement,D=[],x=0,o=this.vDomTop-1,t=0,d=!0;d;)if(this.vDomTop){let g=e[o],i,M;g&&t=i?(this.styleRow(g,o),S.insertBefore(g.getElement(),S.firstChild),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,x+=i,this.vDomTop--,o--,t++):d=!1):d=!1}else d=!1;for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),x&&(this.vDomTopPad-=x,this.vDomTopPad<0&&(this.vDomTopPad=o*this.vDomRowHeight),o<1&&(this.vDomTopPad=0),S.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=x)}_removeTopRow(e,r){for(var S=[],D=0,x=0,o=!0;o;){let t=e[this.vDomTop],d;t&&x=d?(this.vDomTop++,r-=d,D+=d,S.push(t),x++):o=!1):o=!1}for(let t of S){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomTopPad+=D,this.tableElement.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?D:D+this.vDomWindowBuffer)}_addBottomRow(e,r){for(var S=this.tableElement,D=[],x=0,o=this.vDomBottom+1,t=0,d=!0;d;){let g=e[o],i,M;g&&t=i?(this.styleRow(g,o),S.appendChild(g.getElement()),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,x+=i,this.vDomBottom++,o++,t++):d=!1):d=!1}for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),x&&(this.vDomBottomPad-=x,(this.vDomBottomPad<0||o==e.length-1)&&(this.vDomBottomPad=0),S.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=x)}_removeBottomRow(e,r){for(var S=[],D=0,x=0,o=!0;o;){let t=e[this.vDomBottom],d;t&&x=d?(this.vDomBottom--,r-=d,D+=d,S.push(t),x++):o=!1):o=!1}for(let t of S){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomBottomPad+=D,this.vDomBottomPad<0&&(this.vDomBottomPad=0),this.tableElement.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=D)}_quickNormalizeRowHeight(e){for(let r of e)r.calcHeight();for(let r of e)r.setCellHeight()}}class Cz extends Zl{constructor(e){super(e),this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.placeholder=null,this.placeholderContents=null,this.firstRender=!1,this.renderMode="virtual",this.fixedHeight=!1,this.rows=[],this.activeRowsPipeline=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRenderInPosition=!1,this.dataPipeline=[],this.displayPipeline=[],this.scrollbarWidth=0,this.renderer=null}createHolderElement(){var e=document.createElement("div");return e.classList.add("tabulator-tableholder"),e.setAttribute("tabindex",0),e}createTableElement(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e.setAttribute("role","rowgroup"),e}initializePlaceholder(){var e=this.table.options.placeholder;if(typeof e=="function"&&(e=e.call(this.table)),e=this.chain("placeholder",[e],e,e)||e,e){let r=document.createElement("div");if(r.classList.add("tabulator-placeholder"),typeof e=="string"){let S=document.createElement("div");S.classList.add("tabulator-placeholder-contents"),S.innerHTML=e,r.appendChild(S),this.placeholderContents=S}else typeof HTMLElement<"u"&&e instanceof HTMLElement?(r.appendChild(e),this.placeholderContents=e):(console.warn("Invalid placeholder provided, must be string or HTML Element",e),this.el=null);this.placeholder=r}}getElement(){return this.element}getTableElement(){return this.tableElement}initialize(){this.initializePlaceholder(),this.initializeRenderer(),this.element.appendChild(this.tableElement),this.firstRender=!0,this.element.addEventListener("scroll",()=>{var e=this.element.scrollLeft,r=this.scrollLeft>e,S=this.element.scrollTop,D=this.scrollTop>S;this.scrollLeft!=e&&(this.scrollLeft=e,this.dispatch("scroll-horizontal",e,r),this.dispatchExternal("scrollHorizontal",e,r),this._positionPlaceholder()),this.scrollTop!=S&&(this.scrollTop=S,this.renderer.scrollRows(S,D),this.dispatch("scroll-vertical",S,D),this.dispatchExternal("scrollVertical",S,D))})}findRow(e){if(typeof e=="object"){if(e instanceof wl)return e;if(e instanceof Xy)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return this.rows.find(S=>S.getElement()===e)||!1;if(e===null)return!1}else return typeof e>"u"?!1:this.rows.find(S=>S.data[this.table.options.index]==e)||!1;return!1}getRowFromDataObject(e){var r=this.rows.find(S=>S.data===e);return r||!1}getRowFromPosition(e){return this.getDisplayRows().find(r=>r.getPosition()===e&&r.isDisplayed())}scrollToRow(e,r,S){return this.renderer.scrollToRowPosition(e,r,S)}setData(e,r,S){return new Promise((D,x)=>{r&&this.getDisplayRows().length?this.table.options.pagination?this._setDataActual(e,!0):this.reRenderInPosition(()=>{this._setDataActual(e)}):(this.table.options.autoColumns&&S&&this.table.initialized&&this.table.columnManager.generateColumnsFromRowData(e),this.resetScroll(),this._setDataActual(e)),D()})}_setDataActual(e,r){this.dispatchExternal("dataProcessing",e),this._wipeElements(),Array.isArray(e)?(this.dispatch("data-processing",e),e.forEach((S,D)=>{if(S&&typeof S=="object"){var x=new wl(S,this);this.rows.push(x)}else console.warn("Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",S)}),this.refreshActiveData(!1,!1,r),this.dispatch("data-processed",e),this.dispatchExternal("dataProcessed",e)):console.error(`Data Loading Error - Unable to process data due to invalid data type +`)&&!D){S=0,r++;continue}e[r][S]+=o}return e}function ez(n){try{return JSON.parse(n)}catch(e){return console.warn("JSON Import Error - File contents is invalid JSON",e),Promise.reject()}}function tz(n){return n}var nz={csv:QR,json:ez,array:tz};class ig extends Xi{constructor(e){super(e),this.registerTableOption("importFormat"),this.registerTableOption("importReader","text")}initialize(){this.registerTableFunction("import",this.importFromFile.bind(this)),this.table.options.importFormat&&(this.subscribe("data-loading",this.loadDataCheck.bind(this),10),this.subscribe("data-load",this.loadData.bind(this),10))}loadDataCheck(e){return this.table.options.importFormat&&(typeof e=="string"||Array.isArray(e)&&e.length&&Array.isArray(e))}loadData(e,r,S,D,x){return this.importData(this.lookupImporter(),e).then(this.structureData.bind(this)).catch(o=>(console.error("Import Error:",o||"Unable to import data"),Promise.reject(o)))}lookupImporter(e){var r;return e||(e=this.table.options.importFormat),typeof e=="string"?r=ig.importers[e]:r=e,r||console.error("Import Error - Importer not found:",e),r}importFromFile(e,r){var S=this.lookupImporter(e);if(S)return this.pickFile(r).then(this.importData.bind(this,S)).then(this.structureData.bind(this)).then(this.setData.bind(this)).catch(D=>(console.error("Import Error:",D||"Unable to import file"),Promise.reject(D)))}pickFile(e){return new Promise((r,S)=>{var D=document.createElement("input");D.type="file",D.accept=e,D.addEventListener("change",x=>{var o=D.files[0],t=new FileReader;switch(this.table.options.importReader){case"buffer":t.readAsArrayBuffer(o);break;case"binary":t.readAsBinaryString(o);break;case"url":t.readAsDataURL(o);break;case"text":default:t.readAsText(o)}t.onload=d=>{r(t.result)},t.onerror=d=>{console.warn("File Load Error - Unable to read file"),S()}}),D.click()})}importData(e,r){var S=e.call(this.table,r);return S instanceof Promise?S:S?Promise.resolve(S):Promise.reject()}structureData(e){var r=[];return Array.isArray(e)&&e.length&&Array.isArray(e[0])?(this.table.options.autoColumns?r=this.structureArrayToObject(e):r=this.structureArrayToColumns(e),r):e}structureArrayToObject(e){var r=e.shift(),S=e.map(D=>{var x={};return r.forEach((o,t)=>{x[o]=D[t]}),x});return S}structureArrayToColumns(e){var r=[],S=this.table.getColumns();return S[0]&&e[0][0]&&S[0].getDefinition().title===e[0][0]&&e.shift(),e.forEach(D=>{var x={};D.forEach((o,t)=>{var d=S[t];d&&(x[d.getField()]=o)}),r.push(x)}),r}setData(e){return this.table.setData(e)}}ig.moduleName="import";ig.importers=nz;class MM extends Xi{constructor(e){super(e),this.eventMap={rowClick:"row-click",rowDblClick:"row-dblclick",rowContext:"row-contextmenu",rowMouseEnter:"row-mouseenter",rowMouseLeave:"row-mouseleave",rowMouseOver:"row-mouseover",rowMouseOut:"row-mouseout",rowMouseMove:"row-mousemove",rowMouseDown:"row-mousedown",rowMouseUp:"row-mouseup",rowTap:"row",rowDblTap:"row",rowTapHold:"row",cellClick:"cell-click",cellDblClick:"cell-dblclick",cellContext:"cell-contextmenu",cellMouseEnter:"cell-mouseenter",cellMouseLeave:"cell-mouseleave",cellMouseOver:"cell-mouseover",cellMouseOut:"cell-mouseout",cellMouseMove:"cell-mousemove",cellMouseDown:"cell-mousedown",cellMouseUp:"cell-mouseup",cellTap:"cell",cellDblTap:"cell",cellTapHold:"cell",headerClick:"column-click",headerDblClick:"column-dblclick",headerContext:"column-contextmenu",headerMouseEnter:"column-mouseenter",headerMouseLeave:"column-mouseleave",headerMouseOver:"column-mouseover",headerMouseOut:"column-mouseout",headerMouseMove:"column-mousemove",headerMouseDown:"column-mousedown",headerMouseUp:"column-mouseup",headerTap:"column",headerDblTap:"column",headerTapHold:"column",groupClick:"group-click",groupDblClick:"group-dblclick",groupContext:"group-contextmenu",groupMouseEnter:"group-mouseenter",groupMouseLeave:"group-mouseleave",groupMouseOver:"group-mouseover",groupMouseOut:"group-mouseout",groupMouseMove:"group-mousemove",groupMouseDown:"group-mousedown",groupMouseUp:"group-mouseup",groupTap:"group",groupDblTap:"group",groupTapHold:"group"},this.subscribers={},this.touchSubscribers={},this.columnSubscribers={},this.touchWatchers={row:{tap:null,tapDbl:null,tapHold:null},cell:{tap:null,tapDbl:null,tapHold:null},column:{tap:null,tapDbl:null,tapHold:null},group:{tap:null,tapDbl:null,tapHold:null}},this.registerColumnOption("headerClick"),this.registerColumnOption("headerDblClick"),this.registerColumnOption("headerContext"),this.registerColumnOption("headerMouseEnter"),this.registerColumnOption("headerMouseLeave"),this.registerColumnOption("headerMouseOver"),this.registerColumnOption("headerMouseOut"),this.registerColumnOption("headerMouseMove"),this.registerColumnOption("headerMouseDown"),this.registerColumnOption("headerMouseUp"),this.registerColumnOption("headerTap"),this.registerColumnOption("headerDblTap"),this.registerColumnOption("headerTapHold"),this.registerColumnOption("cellClick"),this.registerColumnOption("cellDblClick"),this.registerColumnOption("cellContext"),this.registerColumnOption("cellMouseEnter"),this.registerColumnOption("cellMouseLeave"),this.registerColumnOption("cellMouseOver"),this.registerColumnOption("cellMouseOut"),this.registerColumnOption("cellMouseMove"),this.registerColumnOption("cellMouseDown"),this.registerColumnOption("cellMouseUp"),this.registerColumnOption("cellTap"),this.registerColumnOption("cellDblTap"),this.registerColumnOption("cellTapHold")}initialize(){this.initializeExternalEvents(),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("cell-dblclick",this.cellContentsSelectionFixer.bind(this)),this.subscribe("scroll-horizontal",this.clearTouchWatchers.bind(this)),this.subscribe("scroll-vertical",this.clearTouchWatchers.bind(this))}clearTouchWatchers(){var e=Object.values(this.touchWatchers);e.forEach(r=>{for(let S in r)r[S]=null})}cellContentsSelectionFixer(e,r){var S;if(!(this.table.modExists("edit")&&this.table.modules.edit.currentCell===r)){e.preventDefault();try{document.selection?(S=document.body.createTextRange(),S.moveToElementText(r.getElement()),S.select()):window.getSelection&&(S=document.createRange(),S.selectNode(r.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(S))}catch{}}}initializeExternalEvents(){for(let e in this.eventMap)this.subscriptionChangeExternal(e,this.subscriptionChanged.bind(this,e))}subscriptionChanged(e,r){r?this.subscribers[e]||(this.eventMap[e].includes("-")?(this.subscribers[e]=this.handle.bind(this,e),this.subscribe(this.eventMap[e],this.subscribers[e])):this.subscribeTouchEvents(e)):this.eventMap[e].includes("-")?this.subscribers[e]&&!this.columnSubscribers[e]&&!this.subscribedExternal(e)&&(this.unsubscribe(this.eventMap[e],this.subscribers[e]),delete this.subscribers[e]):this.unsubscribeTouchEvents(e)}subscribeTouchEvents(e){var r=this.eventMap[e];this.touchSubscribers[r+"-touchstart"]||(this.touchSubscribers[r+"-touchstart"]=this.handleTouch.bind(this,r,"start"),this.touchSubscribers[r+"-touchend"]=this.handleTouch.bind(this,r,"end"),this.subscribe(r+"-touchstart",this.touchSubscribers[r+"-touchstart"]),this.subscribe(r+"-touchend",this.touchSubscribers[r+"-touchend"])),this.subscribers[e]=!0}unsubscribeTouchEvents(e){var r=!0,S=this.eventMap[e];if(this.subscribers[e]&&!this.subscribedExternal(e)){delete this.subscribers[e];for(let D in this.eventMap)this.eventMap[D]===S&&this.subscribers[D]&&(r=!1);r&&(this.unsubscribe(S+"-touchstart",this.touchSubscribers[S+"-touchstart"]),this.unsubscribe(S+"-touchend",this.touchSubscribers[S+"-touchend"]),delete this.touchSubscribers[S+"-touchstart"],delete this.touchSubscribers[S+"-touchend"])}}initializeColumn(e){var r=e.definition;for(let S in this.eventMap)r[S]&&(this.subscriptionChanged(S,!0),this.columnSubscribers[S]||(this.columnSubscribers[S]=[]),this.columnSubscribers[S].push(e))}handle(e,r,S){this.dispatchEvent(e,r,S)}handleTouch(e,r,S,D){var x=this.touchWatchers[e];switch(e==="column"&&(e="header"),r){case"start":x.tap=!0,clearTimeout(x.tapHold),x.tapHold=setTimeout(()=>{clearTimeout(x.tapHold),x.tapHold=null,x.tap=null,clearTimeout(x.tapDbl),x.tapDbl=null,this.dispatchEvent(e+"TapHold",S,D)},1e3);break;case"end":x.tap&&(x.tap=null,this.dispatchEvent(e+"Tap",S,D)),x.tapDbl?(clearTimeout(x.tapDbl),x.tapDbl=null,this.dispatchEvent(e+"DblTap",S,D)):x.tapDbl=setTimeout(()=>{clearTimeout(x.tapDbl),x.tapDbl=null},300),clearTimeout(x.tapHold),x.tapHold=null;break}}dispatchEvent(e,r,S){var D=S.getComponent(),x;this.columnSubscribers[e]&&(S instanceof ng?x=S.column.definition[e]:S instanceof cf&&(x=S.definition[e]),x&&x(r,D)),this.dispatchExternal(e,r,D)}}MM.moduleName="interaction";var rz={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:["ctrl + 90","meta + 90"],redo:["ctrl + 89","meta + 89"],copyToClipboard:["ctrl + 67","meta + 89"]},iz={keyBlock:function(n){n.stopPropagation(),n.preventDefault()},scrollPageUp:function(n){var e=this.table.rowManager,r=e.scrollTop-e.element.clientHeight;n.preventDefault(),e.displayRowsCount&&(r>=0?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(n){var e=this.table.rowManager,r=e.scrollTop+e.element.clientHeight,S=e.element.scrollHeight;n.preventDefault(),e.displayRowsCount&&(r<=S?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1]),this.table.element.focus()},navPrev:function(n){this.dispatch("keybinding-nav-prev",n)},navNext:function(n){this.dispatch("keybinding-nav-next",n)},navLeft:function(n){this.dispatch("keybinding-nav-left",n)},navRight:function(n){this.dispatch("keybinding-nav-right",n)},navUp:function(n){this.dispatch("keybinding-nav-up",n)},navDown:function(n){this.dispatch("keybinding-nav-down",n)},undo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.undo()))},redo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(n){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}};class Ph extends Xi{constructor(e){super(e),this.watchKeys=null,this.pressedKeys=null,this.keyupBinding=!1,this.keydownBinding=!1,this.registerTableOption("keybindings",{}),this.registerTableOption("tabEndNewRow",!1)}initialize(){var e=this.table.options.keybindings,r={};this.watchKeys={},this.pressedKeys=[],e!==!1&&(Object.assign(r,Ph.bindings),Object.assign(r,e),this.mapBindings(r),this.bindEvents()),this.subscribe("table-destroy",this.clearBindings.bind(this))}mapBindings(e){for(let r in e)Ph.actions[r]?e[r]&&(typeof e[r]!="object"&&(e[r]=[e[r]]),e[r].forEach(S=>{var D=Array.isArray(S)?S:[S];D.forEach(x=>{this.mapBinding(r,x)})})):console.warn("Key Binding Error - no such action:",r)}mapBinding(e,r){var S={action:Ph.actions[e],keys:[],ctrl:!1,shift:!1,meta:!1},D=r.toString().toLowerCase().split(" ").join("").split("+");D.forEach(x=>{switch(x){case"ctrl":S.ctrl=!0;break;case"shift":S.shift=!0;break;case"meta":S.meta=!0;break;default:x=isNaN(x)?x.toUpperCase().charCodeAt(0):parseInt(x),S.keys.push(x),this.watchKeys[x]||(this.watchKeys[x]=[]),this.watchKeys[x].push(S)}})}bindEvents(){var e=this;this.keyupBinding=function(r){var S=r.keyCode,D=e.watchKeys[S];D&&(e.pressedKeys.push(S),D.forEach(function(x){e.checkBinding(r,x)}))},this.keydownBinding=function(r){var S=r.keyCode,D=e.watchKeys[S];if(D){var x=e.pressedKeys.indexOf(S);x>-1&&e.pressedKeys.splice(x,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)}clearBindings(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)}checkBinding(e,r){var S=!0;return e.ctrlKey==r.ctrl&&e.shiftKey==r.shift&&e.metaKey==r.meta?(r.keys.forEach(D=>{var x=this.pressedKeys.indexOf(D);x==-1&&(S=!1)}),S&&r.action.call(this,e),!0):!1}}Ph.moduleName="keybindings";Ph.bindings=rz;Ph.actions=iz;class AM extends Xi{constructor(e){super(e),this.menuContainer=null,this.nestedMenuBlock=!1,this.currentComponent=null,this.rootPopup=null,this.columnSubscribers={},this.registerTableOption("menuContainer",void 0),this.registerTableOption("rowContextMenu",!1),this.registerTableOption("rowClickMenu",!1),this.registerTableOption("rowDblClickMenu",!1),this.registerTableOption("groupContextMenu",!1),this.registerTableOption("groupClickMenu",!1),this.registerTableOption("groupDblClickMenu",!1),this.registerColumnOption("headerContextMenu"),this.registerColumnOption("headerClickMenu"),this.registerColumnOption("headerDblClickMenu"),this.registerColumnOption("headerMenu"),this.registerColumnOption("headerMenuIcon"),this.registerColumnOption("contextMenu"),this.registerColumnOption("clickMenu"),this.registerColumnOption("dblClickMenu")}initialize(){this.deprecatedOptionsCheck(),this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("menuContainer","popupContainer")||(this.table.options.popupContainer=this.table.options.menuContainer)}initializeRowWatchers(){this.table.options.rowContextMenu&&(this.subscribe("row-contextmenu",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu)),this.table.on("rowTapHold",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu))),this.table.options.rowClickMenu&&this.subscribe("row-click",this.loadMenuEvent.bind(this,this.table.options.rowClickMenu)),this.table.options.rowDblClickMenu&&this.subscribe("row-dblclick",this.loadMenuEvent.bind(this,this.table.options.rowDblClickMenu))}initializeGroupWatchers(){this.table.options.groupContextMenu&&(this.subscribe("group-contextmenu",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu)),this.table.on("groupTapHold",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu))),this.table.options.groupClickMenu&&this.subscribe("group-click",this.loadMenuEvent.bind(this,this.table.options.groupClickMenu)),this.table.options.groupDblClickMenu&&this.subscribe("group-dblclick",this.loadMenuEvent.bind(this,this.table.options.groupDblClickMenu))}initializeColumn(e){var r=e.definition;r.headerContextMenu&&!this.columnSubscribers.headerContextMenu&&(this.columnSubscribers.headerContextMenu=this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextMenu),this.table.on("headerTapHold",this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"))),r.headerClickMenu&&!this.columnSubscribers.headerClickMenu&&(this.columnSubscribers.headerClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerClickMenu"),this.subscribe("column-click",this.columnSubscribers.headerClickMenu)),r.headerDblClickMenu&&!this.columnSubscribers.headerDblClickMenu&&(this.columnSubscribers.headerDblClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerDblClickMenu"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickMenu)),r.headerMenu&&this.initializeColumnHeaderMenu(e),r.contextMenu&&!this.columnSubscribers.contextMenu&&(this.columnSubscribers.contextMenu=this.loadMenuTableCellEvent.bind(this,"contextMenu"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextMenu),this.table.on("cellTapHold",this.loadMenuTableCellEvent.bind(this,"contextMenu"))),r.clickMenu&&!this.columnSubscribers.clickMenu&&(this.columnSubscribers.clickMenu=this.loadMenuTableCellEvent.bind(this,"clickMenu"),this.subscribe("cell-click",this.columnSubscribers.clickMenu)),r.dblClickMenu&&!this.columnSubscribers.dblClickMenu&&(this.columnSubscribers.dblClickMenu=this.loadMenuTableCellEvent.bind(this,"dblClickMenu"),this.subscribe("cell-dblclick",this.columnSubscribers.dblClickMenu))}initializeColumnHeaderMenu(e){var r=e.definition.headerMenuIcon,S;S=document.createElement("span"),S.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?S.appendChild(r):S.innerHTML=r):S.innerHTML="⋮",S.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadMenuEvent(e.definition.headerMenu,D,e)}),e.titleElement.insertBefore(S,e.titleElement.firstChild)}loadMenuTableCellEvent(e,r,S){S._cell&&(S=S._cell),S.column.definition[e]&&this.loadMenuEvent(S.column.definition[e],r,S)}loadMenuTableColumnEvent(e,r,S){S._column&&(S=S._column),S.definition[e]&&this.loadMenuEvent(S.definition[e],r,S)}loadMenuEvent(e,r,S){S._group?S=S._group:S._row&&(S=S._row),e=typeof e=="function"?e.call(this.table,r,S.getComponent()):e,this.loadMenu(r,S,e)}loadMenu(e,r,S,D,x){var o=!(e instanceof MouseEvent),t=document.createElement("div"),d;if(t.classList.add("tabulator-menu"),o||e.preventDefault(),!(!S||!S.length)){if(D)d=x.child(t);else{if(this.nestedMenuBlock){if(this.rootPopup)return}else this.nestedMenuBlock=setTimeout(()=>{this.nestedMenuBlock=!1},100);this.rootPopup&&this.rootPopup.hide(),this.rootPopup=d=this.popup(t)}S.forEach(v=>{var i=document.createElement("div"),M=v.label,g=v.disabled;v.separator?i.classList.add("tabulator-menu-separator"):(i.classList.add("tabulator-menu-item"),typeof M=="function"&&(M=M.call(this.table,r.getComponent())),M instanceof Node?i.appendChild(M):i.innerHTML=M,typeof g=="function"&&(g=g.call(this.table,r.getComponent())),g?(i.classList.add("tabulator-menu-item-disabled"),i.addEventListener("click",p=>{p.stopPropagation()})):v.menu&&v.menu.length?i.addEventListener("click",p=>{p.stopPropagation(),this.loadMenu(p,r,v.menu,i,d)}):v.action&&i.addEventListener("click",p=>{v.action(p,r.getComponent())}),v.menu&&v.menu.length&&i.classList.add("tabulator-menu-item-submenu")),t.appendChild(i)}),t.addEventListener("click",v=>{this.rootPopup&&this.rootPopup.hide()}),d.show(D||e),d===this.rootPopup&&(this.rootPopup.hideOnBlur(()=>{this.rootPopup=null,this.currentComponent&&(this.dispatchExternal("menuClosed",this.currentComponent.getComponent()),this.currentComponent=null)}),this.currentComponent=r,this.dispatchExternal("menuOpened",r.getComponent()))}}}AM.moduleName="menu";class SM extends Xi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.registerTableOption("movableColumns",!1)}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e}initialize(){this.table.options.movableColumns&&this.subscribe("column-init",this.initializeColumn.bind(this))}initializeColumn(e){var r=this,S={},D;!e.modules.frozen&&!e.isGroup&&(D=e.getElement(),S.mousemove=function(x){e.parent===r.moving.parent&&((r.touchMove?x.touches[0].pageX:x.pageX)-po.elOffset(D).left+r.table.columnManager.contentsElement.scrollLeft>e.getWidth()/2?(r.toCol!==e||!r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D.nextSibling),r.moveColumn(e,!0)):(r.toCol!==e||r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D),r.moveColumn(e,!1)))}.bind(r),D.addEventListener("mousedown",function(x){r.touchMove=!1,x.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(x,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(x){x.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),r.bindTouchEvents(e)),e.modules.moveColumn=S}bindTouchEvents(e){var r=e.getElement(),S=!1,D,x,o,t,d,v;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextColumn(),o=D?D.getWidth()/2:0,x=e.prevColumn(),t=x?x.getWidth()/2:0,d=0,v=0,S=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),r.addEventListener("touchmove",i=>{var M,g;this.moving&&(this.moveHover(i),S||(S=i.touches[0].pageX),M=i.touches[0].pageX-S,M>0?D&&M-d>o&&(g=D,g!==e&&(S=i.touches[0].pageX,g.getElement().parentNode.insertBefore(this.placeholderElement,g.getElement().nextSibling),this.moveColumn(g,!0))):x&&-M-v>t&&(g=x,g!==e&&(S=i.touches[0].pageX,g.getElement().parentNode.insertBefore(this.placeholderElement,g.getElement()),this.moveColumn(g,!1))),g&&(D=g.nextColumn(),d=o,o=D?D.getWidth()/2:0,x=g.prevColumn(),v=t,t=x?x.getWidth()/2:0))},{passive:!0}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&this.endMove(i)})}startMove(e,r){var S=r.getElement(),D=this.table.columnManager.getContentsElement(),x=this.table.columnManager.getHeadersElement();this.moving=r,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-po.elOffset(S).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",S.parentNode.insertBefore(this.placeholderElement,S),S.parentNode.removeChild(S),this.hoverElement=S.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),D.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom=D.clientHeight-x.offsetHeight+"px",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)}_bindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)})}_unbindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)})}moveColumn(e,r){var S=this.moving.getCells();this.toCol=e,this.toColAfter=r,r?e.getCells().forEach(function(D,x){var o=D.getElement(!0);o.parentNode&&S[x]&&o.parentNode.insertBefore(S[x].getElement(),o.nextSibling)}):e.getCells().forEach(function(D,x){var o=D.getElement(!0);o.parentNode&&S[x]&&o.parentNode.insertBefore(S[x].getElement(),o)})}endMove(e){(e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))}moveHover(e){var r=this.table.columnManager.getContentsElement(),S=r.scrollLeft,D=(this.touchMove?e.touches[0].pageX:e.pageX)-po.elOffset(r).left+S,x;this.hoverElement.style.left=D-this.startX+"px",D-S{x=Math.max(0,S-5),this.table.rowManager.getElement().scrollLeft=x,this.autoScrollTimeout=!1},1))),S+r.clientWidth-D{x=Math.min(r.clientWidth,S+5),this.table.rowManager.getElement().scrollLeft=x,this.autoScrollTimeout=!1},1)))}}SM.moduleName="moveColumn";class Jy extends Xi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=150,this.moving=!1,this.toRow=!1,this.toRowAfter=!1,this.hasHandle=!1,this.startY=0,this.startX=0,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.tableRowDropEvent=!1,this.touchMove=!1,this.connection=!1,this.connectionSelectorsTables=!1,this.connectionSelectorsElements=!1,this.connectionElements=[],this.connections=[],this.connectedTable=!1,this.connectedRow=!1,this.registerTableOption("movableRows",!1),this.registerTableOption("movableRowsConnectedTables",!1),this.registerTableOption("movableRowsConnectedElements",!1),this.registerTableOption("movableRowsSender",!1),this.registerTableOption("movableRowsReceiver","insert"),this.registerColumnOption("rowHandle")}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.classList.add("tabulator-row-placeholder"),e}initialize(){this.table.options.movableRows&&(this.connectionSelectorsTables=this.table.options.movableRowsConnectedTables,this.connectionSelectorsElements=this.table.options.movableRowsConnectedElements,this.connection=this.connectionSelectorsTables||this.connectionSelectorsElements,this.subscribe("cell-init",this.initializeCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)))}initializeGroupHeader(e){var r=this,S={};S.mouseup=function(D){r.tableRowDrop(D,e)}.bind(r),S.mousemove=function(D){var x;D.pageY-po.elOffset(e.element).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(x=e.getElement(),x.parentNode.insertBefore(r.placeholderElement,x.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(x=e.getElement(),x.previousSibling&&(x.parentNode.insertBefore(r.placeholderElement,x),r.moveRow(e,!1)))}.bind(r),e.modules.moveRow=S}initializeRow(e){var r=this,S={},D;S.mouseup=function(x){r.tableRowDrop(x,e)}.bind(r),S.mousemove=function(x){var o=e.getElement();x.pageY-po.elOffset(o).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(o.parentNode.insertBefore(r.placeholderElement,o.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(o.parentNode.insertBefore(r.placeholderElement,o),r.moveRow(e,!1))}.bind(r),this.hasHandle||(D=e.getElement(),D.addEventListener("mousedown",function(x){x.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(x,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(x){x.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=S}initializeColumn(e){e.definition.rowHandle&&this.table.options.movableRows!==!1&&(this.hasHandle=!0)}initializeCell(e){if(e.column.definition.rowHandle&&this.table.options.movableRows!==!1){var r=this,S=e.getElement(!0);S.addEventListener("mousedown",function(D){D.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(D,e.row)},r.checkPeriod))}),S.addEventListener("mouseup",function(D){D.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e.row,S)}}bindTouchEvents(e,r){var S=!1,D,x,o,t,d,v;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextRow(),o=D?D.getHeight()/2:0,x=e.prevRow(),t=x?x.getHeight()/2:0,d=0,v=0,S=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),this.moving,this.toRow,this.toRowAfter,r.addEventListener("touchmove",i=>{var M,g;this.moving&&(i.preventDefault(),this.moveHover(i),S||(S=i.touches[0].pageY),M=i.touches[0].pageY-S,M>0?D&&M-d>o&&(g=D,g!==e&&(S=i.touches[0].pageY,g.getElement().parentNode.insertBefore(this.placeholderElement,g.getElement().nextSibling),this.moveRow(g,!0))):x&&-M-v>t&&(g=x,g!==e&&(S=i.touches[0].pageY,g.getElement().parentNode.insertBefore(this.placeholderElement,g.getElement()),this.moveRow(g,!1))),g&&(D=g.nextRow(),d=o,o=D?D.getHeight()/2:0,x=g.prevRow(),v=t,t=x?x.getHeight()/2:0))}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&(this.endMove(i),this.touchMove=!1)})}_bindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)})}_unbindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)})}startMove(e,r){var S=r.getElement();this.setStartPosition(e,r),this.moving=r,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(r)):(S.parentNode.insertBefore(this.placeholderElement,S),S.parentNode.removeChild(S)),this.hoverElement=S.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.dispatchExternal("rowMoving",r.getComponent()),this.moveHover(e)}setStartPosition(e,r){var S=this.touchMove?e.touches[0].pageX:e.pageX,D=this.touchMove?e.touches[0].pageY:e.pageY,x,o;x=r.getElement(),this.connection?(o=x.getBoundingClientRect(),this.startX=o.left-S+window.pageXOffset,this.startY=o.top-D+window.pageYOffset):this.startY=D-x.getBoundingClientRect().top}endMove(e){(!e||e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow?this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter):this.dispatchExternal("rowMoveCancelled",this.moving.getComponent()),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))}moveRow(e,r){this.toRow=e,this.toRowAfter=r}moveHover(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)}moveHoverTable(e){var r=this.table.rowManager.getElement(),S=r.scrollTop,D=(this.touchMove?e.touches[0].pageY:e.pageY)-r.getBoundingClientRect().top+S;this.hoverElement.style.top=Math.min(D-this.startY,this.table.rowManager.element.scrollHeight-this.hoverElement.offsetHeight)+"px"}moveHoverConnections(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"}elementRowDrop(e,r,S){this.dispatchExternal("movableRowsElementDrop",e,r,S?S.getComponent():!1)}connectToTables(e){var r;this.connectionSelectorsTables&&(r=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStart",r),this.commsSend(this.connectionSelectorsTables,"moveRow","connect",{row:e})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach(S=>{typeof S=="string"?this.connectionElements=this.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(S))):this.connectionElements.push(S)}),this.connectionElements.forEach(S=>{var D=x=>{this.elementRowDrop(x,S,this.moving)};S.addEventListener("mouseup",D),S.tabulatorElementDropEvent=D,S.classList.add("tabulator-movingrow-receiving")}))}disconnectFromTables(){var e;this.connectionSelectorsTables&&(e=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStop",e),this.commsSend(this.connectionSelectorsTables,"moveRow","disconnect")),this.connectionElements.forEach(r=>{r.classList.remove("tabulator-movingrow-receiving"),r.removeEventListener("mouseup",r.tabulatorElementDropEvent),delete r.tabulatorElementDropEvent})}connect(e,r){return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=r,this.table.element.classList.add("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(S=>{S.type==="row"&&S.modules.moveRow&&S.modules.moveRow.mouseup&&S.getElement().addEventListener("mouseup",S.modules.moveRow.mouseup)}),this.tableRowDropEvent=this.tableRowDrop.bind(this),this.table.element.addEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStart",r,e),!0)}disconnect(e){e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(r=>{r.type==="row"&&r.modules.moveRow&&r.modules.moveRow.mouseup&&r.getElement().removeEventListener("mouseup",r.modules.moveRow.mouseup)}),this.table.element.removeEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStop",e)):console.warn("Move Row Error - trying to disconnect from non connected table")}dropComplete(e,r,S){var D=!1;if(S){switch(typeof this.table.options.movableRowsSender){case"string":D=this.senders[this.table.options.movableRowsSender];break;case"function":D=this.table.options.movableRowsSender;break}D?D.call(this,this.moving?this.moving.getComponent():void 0,r?r.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.dispatchExternal("movableRowsSent",this.moving.getComponent(),r?r.getComponent():void 0,e)}else this.dispatchExternal("movableRowsSentFailed",this.moving.getComponent(),r?r.getComponent():void 0,e);this.endMove()}tableRowDrop(e,r){var S=!1,D=!1;switch(e.stopImmediatePropagation(),typeof this.table.options.movableRowsReceiver){case"string":S=this.receivers[this.table.options.movableRowsReceiver];break;case"function":S=this.table.options.movableRowsReceiver;break}S?D=S.call(this,this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),D?this.dispatchExternal("movableRowsReceived",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):this.dispatchExternal("movableRowsReceivedFailed",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable),this.commsSend(this.connectedTable,"moveRow","dropcomplete",{row:r,success:D})}commsReceived(e,r,S){switch(r){case"connect":return this.connect(e,S.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,S.row,S.success)}}}Jy.prototype.receivers={insert:function(n,e,r){return this.table.addRow(n.getData(),void 0,e),!0},add:function(n,e,r){return this.table.addRow(n.getData()),!0},update:function(n,e,r){return e?(e.update(n.getData()),!0):!1},replace:function(n,e,r){return e?(this.table.addRow(n.getData(),void 0,e),e.delete(),!0):!1}};Jy.prototype.senders={delete:function(n,e,r){n.delete()}};Jy.moduleName="moveRow";var az={};class e0 extends Xi{constructor(e){super(e),this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0,this.registerColumnOption("mutator"),this.registerColumnOption("mutatorParams"),this.registerColumnOption("mutatorData"),this.registerColumnOption("mutatorDataParams"),this.registerColumnOption("mutatorEdit"),this.registerColumnOption("mutatorEditParams"),this.registerColumnOption("mutatorClipboard"),this.registerColumnOption("mutatorClipboardParams"),this.registerColumnOption("mutateLink")}initialize(){this.subscribe("cell-value-changing",this.transformCell.bind(this)),this.subscribe("cell-value-changed",this.mutateLink.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-init-before",this.rowDataChanged.bind(this)),this.subscribe("row-data-changing",this.rowDataChanged.bind(this))}rowDataChanged(e,r,S){return this.transformRow(r,"data",S)}initializeColumn(e){var r=!1,S={};this.allowedTypes.forEach(D=>{var x="mutator"+(D.charAt(0).toUpperCase()+D.slice(1)),o;e.definition[x]&&(o=this.lookupMutator(e.definition[x]),o&&(r=!0,S[x]={mutator:o,params:e.definition[x+"Params"]||{}}))}),r&&(e.modules.mutate=S)}lookupMutator(e){var r=!1;switch(typeof e){case"string":e0.mutators[e]?r=e0.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r,S){var D="mutator"+(r.charAt(0).toUpperCase()+r.slice(1)),x;return this.enabled&&this.table.columnManager.traverse(o=>{var t,d,v;o.modules.mutate&&(t=o.modules.mutate[D]||o.modules.mutate.mutator||!1,t&&(x=o.getFieldValue(typeof S<"u"?S:e),(r=="data"&&!S||typeof x<"u")&&(v=o.getComponent(),d=typeof t.params=="function"?t.params(x,e,r,v):t.params,o.setFieldValue(e,t.mutator(x,e,r,d,v)))))}),e}transformCell(e,r){if(e.column.modules.mutate){var S=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1,D={};if(S)return D=Object.assign(D,e.row.getData()),e.column.setFieldValue(D,r),S.mutator(r,D,"edit",S.params,e.getComponent())}return r}mutateLink(e){var r=e.column.definition.mutateLink;r&&(Array.isArray(r)||(r=[r]),r.forEach(S=>{var D=e.row.getCell(S);D&&D.setValue(D.getValue(),!0,!0)}))}enable(){this.enabled=!0}disable(){this.enabled=!1}}e0.moduleName="mutator";e0.mutators=az;function oz(n,e,r,S,D){var x=document.createElement("span"),o=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),v=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{o.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|rows",M=>{i.innerHTML=M}),S?(t.innerHTML=" "+e+"-"+Math.min(e+n-1,S)+" ",v.innerHTML=" "+S+" ",x.appendChild(o),x.appendChild(t),x.appendChild(d),x.appendChild(v),x.appendChild(i)):(t.innerHTML=" 0 ",x.appendChild(o),x.appendChild(t),x.appendChild(i)),x}function sz(n,e,r,S,D){var x=document.createElement("span"),o=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),v=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{o.innerHTML=M}),t.innerHTML=" "+r+" ",this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),v.innerHTML=" "+D+" ",this.table.modules.localize.langBind("pagination|counter|pages",M=>{i.innerHTML=M}),x.appendChild(o),x.appendChild(t),x.appendChild(d),x.appendChild(v),x.appendChild(i),x}var lz={rows:oz,pages:sz};class ag extends Xi{constructor(e){super(e),this.mode="local",this.progressiveLoad=!1,this.element=null,this.pageCounterElement=null,this.pageCounter=null,this.size=0,this.page=1,this.count=5,this.max=1,this.remoteRowCountEstimate=null,this.initialLoad=!0,this.dataChanging=!1,this.pageSizes=[],this.registerTableOption("pagination",!1),this.registerTableOption("paginationMode","local"),this.registerTableOption("paginationSize",!1),this.registerTableOption("paginationInitialPage",1),this.registerTableOption("paginationCounter",!1),this.registerTableOption("paginationCounterElement",!1),this.registerTableOption("paginationButtonCount",5),this.registerTableOption("paginationSizeSelector",!1),this.registerTableOption("paginationElement",!1),this.registerTableOption("paginationAddRow","page"),this.registerTableOption("progressiveLoad",!1),this.registerTableOption("progressiveLoadDelay",0),this.registerTableOption("progressiveLoadScrollMargin",0),this.registerTableFunction("setMaxPage",this.setMaxPage.bind(this)),this.registerTableFunction("setPage",this.setPage.bind(this)),this.registerTableFunction("setPageToRow",this.userSetPageToRow.bind(this)),this.registerTableFunction("setPageSize",this.userSetPageSize.bind(this)),this.registerTableFunction("getPageSize",this.getPageSize.bind(this)),this.registerTableFunction("previousPage",this.previousPage.bind(this)),this.registerTableFunction("nextPage",this.nextPage.bind(this)),this.registerTableFunction("getPage",this.getPage.bind(this)),this.registerTableFunction("getPageMax",this.getPageMax.bind(this)),this.registerComponentFunction("row","pageTo",this.setPageToRow.bind(this))}initialize(){this.table.options.pagination?(this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("footer-redraw",this.footerRedraw.bind(this)),this.table.options.paginationAddRow=="page"&&this.subscribe("row-adding-position",this.rowAddingPosition.bind(this)),this.table.options.paginationMode==="remote"&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this))),this.table.options.progressiveLoad&&console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time"),this.registerDisplayHandler(this.restOnRenderBefore.bind(this),40),this.registerDisplayHandler(this.getRows.bind(this),50),this.createElements(),this.initializePageCounter(),this.initializePaginator()):this.table.options.progressiveLoad&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.initializeProgressive(this.table.options.progressiveLoad),this.table.options.progressiveLoad==="scroll"&&this.subscribe("scroll-vertical",this.scrollVertical.bind(this)))}rowAddingPosition(e,r){var S=this.table.rowManager,D=S.getDisplayRows(),x;return r?D.length?x=D[0]:S.activeRows.length&&(x=S.activeRows[S.activeRows.length-1],r=!1):D.length&&(x=D[D.length-1],r=!(D.length{}))}restOnRenderBefore(e,r){return r||this.mode==="local"&&this.reset(),e}rowsUpdated(){this.refreshData(!0,"all")}createElements(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),e=document.createElement("button"),e.classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))}generatePageSizeSelectList(){var e=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))e=this.table.options.paginationSizeSelector,this.pageSizes=e,this.pageSizes.indexOf(this.size)==-1&&e.unshift(this.size);else if(this.pageSizes.indexOf(this.size)==-1){e=[];for(let r=1;r<5;r++)e.push(this.size*r);this.pageSizes=e}else e=this.pageSizes;for(;this.pageSizeSelect.firstChild;)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);e.forEach(r=>{var S=document.createElement("option");S.value=r,r===!0?this.langBind("pagination|all",function(D){S.innerHTML=D}):S.innerHTML=r,this.pageSizeSelect.appendChild(S)}),this.pageSizeSelect.value=this.size}}initializePageCounter(){var e=this.table.options.paginationCounter,r=null;e&&(typeof e=="function"?r=e:r=ag.pageCounters[e],r?(this.pageCounter=r,this.pageCounterElement=document.createElement("span"),this.pageCounterElement.classList.add("tabulator-page-counter")):console.warn("Pagination Error - No such page counter found: ",e))}initializePaginator(e){var r,S;e||(this.langBind("pagination|first",D=>{this.firstBut.innerHTML=D}),this.langBind("pagination|first_title",D=>{this.firstBut.setAttribute("aria-label",D),this.firstBut.setAttribute("title",D)}),this.langBind("pagination|prev",D=>{this.prevBut.innerHTML=D}),this.langBind("pagination|prev_title",D=>{this.prevBut.setAttribute("aria-label",D),this.prevBut.setAttribute("title",D)}),this.langBind("pagination|next",D=>{this.nextBut.innerHTML=D}),this.langBind("pagination|next_title",D=>{this.nextBut.setAttribute("aria-label",D),this.nextBut.setAttribute("title",D)}),this.langBind("pagination|last",D=>{this.lastBut.innerHTML=D}),this.langBind("pagination|last_title",D=>{this.lastBut.setAttribute("aria-label",D),this.lastBut.setAttribute("title",D)}),this.firstBut.addEventListener("click",()=>{this.setPage(1)}),this.prevBut.addEventListener("click",()=>{this.previousPage()}),this.nextBut.addEventListener("click",()=>{this.nextPage()}),this.lastBut.addEventListener("click",()=>{this.setPage(this.max)}),this.table.options.paginationElement&&(this.element=this.table.options.paginationElement),this.pageSizeSelect&&(r=document.createElement("label"),this.langBind("pagination|page_size",D=>{this.pageSizeSelect.setAttribute("aria-label",D),this.pageSizeSelect.setAttribute("title",D),r.innerHTML=D}),this.element.appendChild(r),this.element.appendChild(this.pageSizeSelect),this.pageSizeSelect.addEventListener("change",D=>{this.setPageSize(this.pageSizeSelect.value=="true"?!0:this.pageSizeSelect.value),this.setPage(1)})),this.element.appendChild(this.firstBut),this.element.appendChild(this.prevBut),this.element.appendChild(this.pagesElement),this.element.appendChild(this.nextBut),this.element.appendChild(this.lastBut),this.table.options.paginationElement||(this.table.options.paginationCounter&&(this.table.options.paginationCounterElement?this.table.options.paginationCounterElement instanceof HTMLElement?this.table.options.paginationCounterElement.appendChild(this.pageCounterElement):typeof this.table.options.paginationCounterElement=="string"&&(S=document.querySelector(this.table.options.paginationCounterElement),S?S.appendChild(this.pageCounterElement):console.warn("Pagination Error - Unable to find element matching paginationCounterElement selector:",this.table.options.paginationCounterElement)):this.footerAppend(this.pageCounterElement)),this.footerAppend(this.element)),this.page=this.table.options.paginationInitialPage,this.count=this.table.options.paginationButtonCount),this.mode=this.table.options.paginationMode}initializeProgressive(e){this.initializePaginator(!0),this.mode="progressive_"+e,this.progressiveLoad=!0}trackChanges(){this.dispatch("page-changed")}setMaxRows(e){e?this.max=this.size===!0?1:Math.ceil(e/this.size):this.max=1,this.page>this.max&&(this.page=this.max)}reset(e){this.initialLoad||(this.mode=="local"||e)&&(this.page=1,this.trackChanges())}setMaxPage(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())}setPage(e){switch(e){case"first":return this.setPage(1);case"prev":return this.previousPage();case"next":return this.nextPage();case"last":return this.setPage(this.max)}return e=parseInt(e),e>0&&e<=this.max||this.mode!=="local"?(this.page=e,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Requested page is out of range of 1 - "+this.max+":",e),Promise.reject())}setPageToRow(e){var r=this.displayRows(-1),S=r.indexOf(e);if(S>-1){var D=this.size===!0?1:Math.ceil((S+1)/this.size);return this.setPage(D)}else return console.warn("Pagination Error - Requested row is not visible"),Promise.reject()}setPageSize(e){e!==!0&&(e=parseInt(e)),e>0&&(this.size=e,this.dispatchExternal("pageSizeChanged",e)),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.trackChanges()}_setPageCounter(e,r,S){var D;if(this.pageCounter)switch(this.mode==="remote"&&(r=this.size,S=(this.page-1)*this.size+1,e=this.remoteRowCountEstimate),D=this.pageCounter.call(this,r,S,this.page,e,this.max),typeof D){case"object":if(D instanceof Node){for(;this.pageCounterElement.firstChild;)this.pageCounterElement.removeChild(this.pageCounterElement.firstChild);this.pageCounterElement.appendChild(D)}else this.pageCounterElement.innerHTML="",D!=null&&console.warn("Page Counter Error - Page Counter has returned a type of object, the only valid page counter object return is an instance of Node, the page counter returned:",D);break;case"undefined":this.pageCounterElement.innerHTML="";break;default:this.pageCounterElement.innerHTML=D}}_setPageButtons(){let e=Math.floor((this.count-1)/2),r=Math.ceil((this.count-1)/2),S=this.max-this.page+e+10&&x<=this.max&&this.pagesElement.appendChild(this._generatePageButton(x));this.footerRedraw()}_generatePageButton(e){var r=document.createElement("button");return r.classList.add("tabulator-page"),e==this.page&&r.classList.add("active"),r.setAttribute("type","button"),r.setAttribute("role","button"),this.langBind("pagination|page_title",S=>{r.setAttribute("aria-label",S+" "+e),r.setAttribute("title",S+" "+e)}),r.setAttribute("data-page",e),r.textContent=e,r.addEventListener("click",S=>{this.setPage(e)}),r}previousPage(){return this.page>1?(this.page--,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Previous page would be less than page 1:",0),Promise.reject())}nextPage(){return this.paged.type==="row");if(this.mode=="local"){S=[],this.setMaxRows(e.length),this.size===!0?(D=0,x=e.length):(D=this.size*(this.page-1),x=D+parseInt(this.size)),this._setPageButtons();for(let d=D;d{this.dataChanging=!1});case"progressive_load":case"progressive_scroll":return this.reloadData(null,!0);default:return console.warn("Pagination Error - no such pagination mode:",this.mode),Promise.reject()}}_parseRemoteData(e){var r;if(typeof e.last_page>"u"&&console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").last_page||"last_page")+"' property"),e.data)if(this.max=parseInt(e.last_page)||1,this.remoteRowCountEstimate=typeof e.last_row<"u"?e.last_row:e.last_page*this.size-(this.page==e.last_page?this.size-e.data.length:0),this.progressiveLoad){switch(this.mode){case"progressive_load":this.page==1?this.table.rowManager.setData(e.data,!1,this.page==1):this.table.rowManager.addRows(e.data),this.page{this.nextPage()},this.table.options.progressiveLoadDelay);break;case"progressive_scroll":e=this.page===1?e.data:this.table.rowManager.getData().concat(e.data),this.table.rowManager.setData(e,this.page!==1,this.page==1),r=this.table.options.progressiveLoadScrollMargin||this.table.rowManager.element.clientHeight*2,this.table.rowManager.element.scrollHeight<=this.table.rowManager.element.clientHeight+r&&this.page{this.nextPage()});break}return!1}else this.dispatchExternal("pageLoaded",this.getPage());else console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").data||"data")+"' property");return e.data}footerRedraw(){var e=this.table.footerManager.containerElement;Math.ceil(e.clientWidth)-e.scrollWidth<0?this.pagesElement.style.display="none":(this.pagesElement.style.display="",Math.ceil(e.clientWidth)-e.scrollWidth<0&&(this.pagesElement.style.display="none"))}}ag.moduleName="page";ag.pageCounters=lz;var uz={local:function(n,e){var r=localStorage.getItem(n+"-"+e);return r?JSON.parse(r):!1},cookie:function(n,e){var r=document.cookie,S=n+"-"+e,D=r.indexOf(S+"="),x,o;return D>-1&&(r=r.slice(D),x=r.indexOf(";"),x>-1&&(r=r.slice(0,x)),o=r.replace(S+"=","")),o?JSON.parse(o):!1}},cz={local:function(n,e,r){localStorage.setItem(n+"-"+e,JSON.stringify(r))},cookie:function(n,e,r){var S=new Date;S.setDate(S.getDate()+1e4),document.cookie=n+"-"+e+"="+JSON.stringify(r)+"; expires="+S.toUTCString()}};class Gl extends Xi{constructor(e){super(e),this.mode="",this.id="",this.defWatcherBlock=!1,this.config={},this.readFunc=!1,this.writeFunc=!1,this.registerTableOption("persistence",!1),this.registerTableOption("persistenceID",""),this.registerTableOption("persistenceMode",!0),this.registerTableOption("persistenceReaderFunc",!1),this.registerTableOption("persistenceWriterFunc",!1)}localStorageTest(){var e="_tabulator_test";try{return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch{return!1}}initialize(){if(this.table.options.persistence){var e=this.table.options.persistenceMode,r=this.table.options.persistenceID,S;this.mode=e!==!0?e:this.localStorageTest()?"local":"cookie",this.table.options.persistenceReaderFunc?typeof this.table.options.persistenceReaderFunc=="function"?this.readFunc=this.table.options.persistenceReaderFunc:Gl.readers[this.table.options.persistenceReaderFunc]?this.readFunc=Gl.readers[this.table.options.persistenceReaderFunc]:console.warn("Persistence Read Error - invalid reader set",this.table.options.persistenceReaderFunc):Gl.readers[this.mode]?this.readFunc=Gl.readers[this.mode]:console.warn("Persistence Read Error - invalid reader set",this.mode),this.table.options.persistenceWriterFunc?typeof this.table.options.persistenceWriterFunc=="function"?this.writeFunc=this.table.options.persistenceWriterFunc:Gl.writers[this.table.options.persistenceWriterFunc]?this.writeFunc=Gl.writers[this.table.options.persistenceWriterFunc]:console.warn("Persistence Write Error - invalid reader set",this.table.options.persistenceWriterFunc):Gl.writers[this.mode]?this.writeFunc=Gl.writers[this.mode]:console.warn("Persistence Write Error - invalid writer set",this.mode),this.id="tabulator-"+(r||this.table.element.getAttribute("id")||""),this.config={sort:this.table.options.persistence===!0||this.table.options.persistence.sort,filter:this.table.options.persistence===!0||this.table.options.persistence.filter,headerFilter:this.table.options.persistence===!0||this.table.options.persistence.headerFilter,group:this.table.options.persistence===!0||this.table.options.persistence.group,page:this.table.options.persistence===!0||this.table.options.persistence.page,columns:this.table.options.persistence===!0?["title","width","visible"]:this.table.options.persistence.columns},this.config.page&&(S=this.retrieveData("page"),S&&(typeof S.paginationSize<"u"&&(this.config.page===!0||this.config.page.size)&&(this.table.options.paginationSize=S.paginationSize),typeof S.paginationInitialPage<"u"&&(this.config.page===!0||this.config.page.page)&&(this.table.options.paginationInitialPage=S.paginationInitialPage))),this.config.group&&(S=this.retrieveData("group"),S&&(typeof S.groupBy<"u"&&(this.config.group===!0||this.config.group.groupBy)&&(this.table.options.groupBy=S.groupBy),typeof S.groupStartOpen<"u"&&(this.config.group===!0||this.config.group.groupStartOpen)&&(this.table.options.groupStartOpen=S.groupStartOpen),typeof S.groupHeader<"u"&&(this.config.group===!0||this.config.group.groupHeader)&&(this.table.options.groupHeader=S.groupHeader))),this.config.columns&&(this.table.options.columns=this.load("columns",this.table.options.columns),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-show",this.save.bind(this,"columns")),this.subscribe("column-hide",this.save.bind(this,"columns")),this.subscribe("column-moved",this.save.bind(this,"columns"))),this.subscribe("table-built",this.tableBuilt.bind(this),0),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("filter-changed",this.eventSave.bind(this,"filter")),this.subscribe("filter-changed",this.eventSave.bind(this,"headerFilter")),this.subscribe("sort-changed",this.eventSave.bind(this,"sort")),this.subscribe("group-changed",this.eventSave.bind(this,"group")),this.subscribe("page-changed",this.eventSave.bind(this,"page")),this.subscribe("column-resized",this.eventSave.bind(this,"columns")),this.subscribe("column-width",this.eventSave.bind(this,"columns")),this.subscribe("layout-refreshed",this.eventSave.bind(this,"columns"))}this.registerTableFunction("getColumnLayout",this.getColumnLayout.bind(this)),this.registerTableFunction("setColumnLayout",this.setColumnLayout.bind(this))}eventSave(e){this.config[e]&&this.save(e)}tableBuilt(){var e,r,S;this.config.sort&&(e=this.load("sort"),e&&(this.table.options.initialSort=e)),this.config.filter&&(r=this.load("filter"),r&&(this.table.options.initialFilter=r)),this.config.headerFilter&&(S=this.load("headerFilter"),S&&(this.table.options.initialHeaderFilter=S))}tableRedraw(e){e&&this.config.columns&&this.save("columns")}getColumnLayout(){return this.parseColumns(this.table.columnManager.getColumns())}setColumnLayout(e){return this.table.columnManager.setColumns(this.mergeDefinition(this.table.options.columns,e)),!0}initializeColumn(e){var r,S;this.config.columns&&(this.defWatcherBlock=!0,r=e.getDefinition(),S=this.config.columns===!0?Object.keys(r):this.config.columns,S.forEach(D=>{var x=Object.getOwnPropertyDescriptor(r,D),o=r[D];x&&Object.defineProperty(r,D,{set:t=>{o=t,this.defWatcherBlock||this.save("columns"),x.set&&x.set(t)},get:()=>(x.get&&x.get(),o)})}),this.defWatcherBlock=!1)}load(e,r){var S=this.retrieveData(e);return r&&(S=S?this.mergeDefinition(r,S):r),S}retrieveData(e){return this.readFunc?this.readFunc(this.id,e):!1}mergeDefinition(e,r){var S=[];return r=r||[],r.forEach((D,x)=>{var o=this._findColumn(e,D),t;o&&(this.config.columns===!0||this.config.columns==null?(t=Object.keys(o),t.push("width")):t=this.config.columns,t.forEach(d=>{d!=="columns"&&typeof D[d]<"u"&&(o[d]=D[d])}),o.columns&&(o.columns=this.mergeDefinition(o.columns,D.columns)),S.push(o))}),e.forEach((D,x)=>{var o=this._findColumn(r,D);o||(S.length>x?S.splice(x,0,D):S.push(D))}),S}_findColumn(e,r){var S=r.columns?"group":r.field?"field":"object";return e.find(function(D){switch(S){case"group":return D.title===r.title&&D.columns.length===r.columns.length;case"field":return D.field===r.field;case"object":return D===r}})}save(e){var r={};switch(e){case"columns":r=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":r=this.table.modules.filter.getFilters();break;case"headerFilter":r=this.table.modules.filter.getHeaderFilters();break;case"sort":r=this.validateSorters(this.table.modules.sort.getSort());break;case"group":r=this.getGroupConfig();break;case"page":r=this.getPageConfig();break}this.writeFunc&&this.writeFunc(this.id,e,r)}validateSorters(e){return e.forEach(function(r){r.column=r.field,delete r.field}),e}getGroupConfig(){var e={};return this.config.group&&((this.config.group===!0||this.config.group.groupBy)&&(e.groupBy=this.table.options.groupBy),(this.config.group===!0||this.config.group.groupStartOpen)&&(e.groupStartOpen=this.table.options.groupStartOpen),(this.config.group===!0||this.config.group.groupHeader)&&(e.groupHeader=this.table.options.groupHeader)),e}getPageConfig(){var e={};return this.config.page&&((this.config.page===!0||this.config.page.size)&&(e.paginationSize=this.table.modules.page.getPageSize()),(this.config.page===!0||this.config.page.page)&&(e.paginationInitialPage=this.table.modules.page.getPage())),e}parseColumns(e){var r=[],S=["headerContextMenu","headerMenu","contextMenu","clickMenu"];return e.forEach(D=>{var x={},o=D.getDefinition(),t;D.isGroup?(x.title=o.title,x.columns=this.parseColumns(D.getColumns())):(x.field=D.getField(),this.config.columns===!0||this.config.columns==null?(t=Object.keys(o),t.push("width"),t.push("visible")):t=this.config.columns,t.forEach(d=>{switch(d){case"width":x.width=D.getWidth();break;case"visible":x.visible=D.visible;break;default:typeof o[d]!="function"&&S.indexOf(d)===-1&&(x[d]=o[d])}})),r.push(x)}),r}}Gl.moduleName="persistence";Gl.moduleInitOrder=-10;Gl.readers=uz;Gl.writers=cz;class CM extends Xi{constructor(e){super(e),this.columnSubscribers={},this.registerTableOption("rowContextPopup",!1),this.registerTableOption("rowClickPopup",!1),this.registerTableOption("rowDblClickPopup",!1),this.registerTableOption("groupContextPopup",!1),this.registerTableOption("groupClickPopup",!1),this.registerTableOption("groupDblClickPopup",!1),this.registerColumnOption("headerContextPopup"),this.registerColumnOption("headerClickPopup"),this.registerColumnOption("headerDblClickPopup"),this.registerColumnOption("headerPopup"),this.registerColumnOption("headerPopupIcon"),this.registerColumnOption("contextPopup"),this.registerColumnOption("clickPopup"),this.registerColumnOption("dblClickPopup"),this.registerComponentFunction("cell","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("column","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("row","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("group","popup",this._componentPopupCall.bind(this))}initialize(){this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}_componentPopupCall(e,r,S){this.loadPopupEvent(r,null,e,S)}initializeRowWatchers(){this.table.options.rowContextPopup&&(this.subscribe("row-contextmenu",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup)),this.table.on("rowTapHold",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup))),this.table.options.rowClickPopup&&this.subscribe("row-click",this.loadPopupEvent.bind(this,this.table.options.rowClickPopup)),this.table.options.rowDblClickPopup&&this.subscribe("row-dblclick",this.loadPopupEvent.bind(this,this.table.options.rowDblClickPopup))}initializeGroupWatchers(){this.table.options.groupContextPopup&&(this.subscribe("group-contextmenu",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup)),this.table.on("groupTapHold",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup))),this.table.options.groupClickPopup&&this.subscribe("group-click",this.loadPopupEvent.bind(this,this.table.options.groupClickPopup)),this.table.options.groupDblClickPopup&&this.subscribe("group-dblclick",this.loadPopupEvent.bind(this,this.table.options.groupDblClickPopup))}initializeColumn(e){var r=e.definition;r.headerContextPopup&&!this.columnSubscribers.headerContextPopup&&(this.columnSubscribers.headerContextPopup=this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextPopup),this.table.on("headerTapHold",this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"))),r.headerClickPopup&&!this.columnSubscribers.headerClickPopup&&(this.columnSubscribers.headerClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerClickPopup"),this.subscribe("column-click",this.columnSubscribers.headerClickPopup)),r.headerDblClickPopup&&!this.columnSubscribers.headerDblClickPopup&&(this.columnSubscribers.headerDblClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerDblClickPopup"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickPopup)),r.headerPopup&&this.initializeColumnHeaderPopup(e),r.contextPopup&&!this.columnSubscribers.contextPopup&&(this.columnSubscribers.contextPopup=this.loadPopupTableCellEvent.bind(this,"contextPopup"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextPopup),this.table.on("cellTapHold",this.loadPopupTableCellEvent.bind(this,"contextPopup"))),r.clickPopup&&!this.columnSubscribers.clickPopup&&(this.columnSubscribers.clickPopup=this.loadPopupTableCellEvent.bind(this,"clickPopup"),this.subscribe("cell-click",this.columnSubscribers.clickPopup)),r.dblClickPopup&&!this.columnSubscribers.dblClickPopup&&(this.columnSubscribers.dblClickPopup=this.loadPopupTableCellEvent.bind(this,"dblClickPopup"),this.subscribe("cell-click",this.columnSubscribers.dblClickPopup))}initializeColumnHeaderPopup(e){var r=e.definition.headerPopupIcon,S;S=document.createElement("span"),S.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?S.appendChild(r):S.innerHTML=r):S.innerHTML="⋮",S.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadPopupEvent(e.definition.headerPopup,D,e)}),e.titleElement.insertBefore(S,e.titleElement.firstChild)}loadPopupTableCellEvent(e,r,S){S._cell&&(S=S._cell),S.column.definition[e]&&this.loadPopupEvent(S.column.definition[e],r,S)}loadPopupTableColumnEvent(e,r,S){S._column&&(S=S._column),S.definition[e]&&this.loadPopupEvent(S.definition[e],r,S)}loadPopupEvent(e,r,S,D){var x;function o(t){x=t}S._group?S=S._group:S._row&&(S=S._row),e=typeof e=="function"?e.call(this.table,r,S.getComponent(),o):e,this.loadPopup(r,S,e,x,D)}loadPopup(e,r,S,D,x){var o=!(e instanceof MouseEvent),t,d;S instanceof HTMLElement?t=S:(t=document.createElement("div"),t.innerHTML=S),t.classList.add("tabulator-popup"),t.addEventListener("click",v=>{v.stopPropagation()}),o||e.preventDefault(),d=this.popup(t),typeof D=="function"&&d.renderCallback(D),e?d.show(e):d.show(r.getElement(),x||"center"),d.hideOnBlur(()=>{this.dispatchExternal("popupClosed",r.getComponent())}),this.dispatchExternal("popupOpened",r.getComponent())}}CM.moduleName="popup";class EM extends Xi{constructor(e){super(e),this.element=!1,this.manualBlock=!1,this.beforeprintEventHandler=null,this.afterprintEventHandler=null,this.registerTableOption("printAsHtml",!1),this.registerTableOption("printFormatter",!1),this.registerTableOption("printHeader",!1),this.registerTableOption("printFooter",!1),this.registerTableOption("printStyled",!0),this.registerTableOption("printRowRange","visible"),this.registerTableOption("printConfig",{}),this.registerColumnOption("print"),this.registerColumnOption("titlePrint")}initialize(){this.table.options.printAsHtml&&(this.beforeprintEventHandler=this.replaceTable.bind(this),this.afterprintEventHandler=this.cleanup.bind(this),window.addEventListener("beforeprint",this.beforeprintEventHandler),window.addEventListener("afterprint",this.afterprintEventHandler),this.subscribe("table-destroy",this.destroy.bind(this))),this.registerTableFunction("print",this.printFullscreen.bind(this))}destroy(){this.table.options.printAsHtml&&(window.removeEventListener("beforeprint",this.beforeprintEventHandler),window.removeEventListener("afterprint",this.afterprintEventHandler))}replaceTable(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.export.generateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))}cleanup(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")}printFullscreen(e,r,S){var D=window.scrollX,x=window.scrollY,o=document.createElement("div"),t=document.createElement("div"),d=this.table.modules.export.generateTable(typeof S<"u"?S:this.table.options.printConfig,typeof r<"u"?r:this.table.options.printStyled,e||this.table.options.printRowRange,"print"),v,i;this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(o.classList.add("tabulator-print-header"),v=typeof this.table.options.printHeader=="function"?this.table.options.printHeader.call(this.table):this.table.options.printHeader,typeof v=="string"?o.innerHTML=v:o.appendChild(v),this.element.appendChild(o)),this.element.appendChild(d),this.table.options.printFooter&&(t.classList.add("tabulator-print-footer"),i=typeof this.table.options.printFooter=="function"?this.table.options.printFooter.call(this.table):this.table.options.printFooter,typeof i=="string"?t.innerHTML=i:t.appendChild(i),this.element.appendChild(t)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,d),window.print(),this.cleanup(),window.scrollTo(D,x),this.manualBlock=!1}}EM.moduleName="print";class LM extends Xi{constructor(e){super(e),this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0,this.registerTableOption("reactiveData",!1)}initialize(){this.table.options.reactiveData&&(this.subscribe("cell-value-save-before",this.block.bind(this,"cellsave")),this.subscribe("cell-value-save-after",this.unblock.bind(this,"cellsave")),this.subscribe("row-data-save-before",this.block.bind(this,"rowsave")),this.subscribe("row-data-save-after",this.unblock.bind(this,"rowsave")),this.subscribe("row-data-init-after",this.watchRow.bind(this)),this.subscribe("data-processing",this.watchData.bind(this)),this.subscribe("table-destroy",this.unwatchData.bind(this)))}watchData(e){var r=this,S;this.currentVersion++,S=this.currentVersion,this.unwatchData(),this.data=e,this.origFuncs.push=e.push,Object.defineProperty(this.data,"push",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),x;return!r.blocked&&S===r.currentVersion&&(r.block("data-push"),D.forEach(o=>{r.table.rowManager.addRowActual(o,!1)}),x=r.origFuncs.push.apply(e,arguments),r.unblock("data-push")),x}}),this.origFuncs.unshift=e.unshift,Object.defineProperty(this.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),x;return!r.blocked&&S===r.currentVersion&&(r.block("data-unshift"),D.forEach(o=>{r.table.rowManager.addRowActual(o,!0)}),x=r.origFuncs.unshift.apply(e,arguments),r.unblock("data-unshift")),x}}),this.origFuncs.shift=e.shift,Object.defineProperty(this.data,"shift",{enumerable:!1,configurable:!0,value:function(){var D,x;return!r.blocked&&S===r.currentVersion&&(r.block("data-shift"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[0]),D&&D.deleteActual()),x=r.origFuncs.shift.call(e),r.unblock("data-shift")),x}}),this.origFuncs.pop=e.pop,Object.defineProperty(this.data,"pop",{enumerable:!1,configurable:!0,value:function(){var D,x;return!r.blocked&&S===r.currentVersion&&(r.block("data-pop"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[r.data.length-1]),D&&D.deleteActual()),x=r.origFuncs.pop.call(e),r.unblock("data-pop")),x}}),this.origFuncs.splice=e.splice,Object.defineProperty(this.data,"splice",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),x=D[0]<0?e.length+D[0]:D[0],o=D[1],t=D[2]?D.slice(2):!1,d,v;if(!r.blocked&&S===r.currentVersion){if(r.block("data-splice"),t&&(d=e[x]?r.table.rowManager.getRowFromDataObject(e[x]):!1,d?t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,d,!0)}):(t=t.slice().reverse(),t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,!1,!0)}))),o!==0){var i=e.slice(x,typeof D[1]>"u"?D[1]:x+o);i.forEach((M,g)=>{var p=r.table.rowManager.getRowFromDataObject(M);p&&p.deleteActual(g!==i.length-1)})}(t||o!==0)&&r.table.rowManager.reRenderInPosition(),v=r.origFuncs.splice.apply(e,arguments),r.unblock("data-splice")}return v}})}unwatchData(){if(this.data!==!1)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})}watchRow(e){var r=e.getData();for(var S in r)this.watchKey(e,r,S);this.table.options.dataTree&&this.watchTreeChildren(e)}watchTreeChildren(e){var r=this,S=e.getData()[this.table.options.dataTreeChildField],D={};S&&(D.push=S.push,Object.defineProperty(S,"push",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-push");var x=D.push.apply(S,arguments);this.rebuildTree(e),r.unblock("tree-push")}return x}}),D.unshift=S.unshift,Object.defineProperty(S,"unshift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-unshift");var x=D.unshift.apply(S,arguments);this.rebuildTree(e),r.unblock("tree-unshift")}return x}}),D.shift=S.shift,Object.defineProperty(S,"shift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-shift");var x=D.shift.call(S);this.rebuildTree(e),r.unblock("tree-shift")}return x}}),D.pop=S.pop,Object.defineProperty(S,"pop",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-pop");var x=D.pop.call(S);this.rebuildTree(e),r.unblock("tree-pop")}return x}}),D.splice=S.splice,Object.defineProperty(S,"splice",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-splice");var x=D.splice.apply(S,arguments);this.rebuildTree(e),r.unblock("tree-splice")}return x}}))}rebuildTree(e){this.table.modules.dataTree.initializeRow(e),this.table.modules.dataTree.layoutRow(e),this.table.rowManager.refreshActiveData("tree",!1,!0)}watchKey(e,r,S){var D=this,x=Object.getOwnPropertyDescriptor(r,S),o=r[S],t=this.currentVersion;Object.defineProperty(r,S,{set:d=>{if(o=d,!D.blocked&&t===D.currentVersion){D.block("key");var v={};v[S]=d,e.updateData(v),D.unblock("key")}x.set&&x.set(d)},get:()=>(x.get&&x.get(),o)})}unwatchRow(e){var r=e.getData();for(var S in r)Object.defineProperty(r,S,{value:r[S]})}block(e){this.blocked||(this.blocked=e)}unblock(e){this.blocked===e&&(this.blocked=!1)}}LM.moduleName="reactiveData";class IM extends Xi{constructor(e){super(e),this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.latestX=!1,this.handle=null,this.initialNextColumn=null,this.nextColumn=null,this.initialized=!1,this.registerColumnOption("resizable",!0),this.registerTableOption("resizableColumnFit",!1)}initialize(){this.subscribe("column-rendered",this.layoutColumnHeader.bind(this))}initializeEventWatchers(){this.initialized||(this.subscribe("cell-rendered",this.layoutCellHandles.bind(this)),this.subscribe("cell-delete",this.deInitializeComponent.bind(this)),this.subscribe("cell-height",this.resizeHandle.bind(this)),this.subscribe("column-moved",this.columnLayoutUpdated.bind(this)),this.subscribe("column-hide",this.deInitializeColumn.bind(this)),this.subscribe("column-show",this.columnLayoutUpdated.bind(this)),this.subscribe("column-width",this.columnWidthUpdated.bind(this)),this.subscribe("column-delete",this.deInitializeComponent.bind(this)),this.subscribe("column-height",this.resizeHandle.bind(this)),this.initialized=!0)}layoutCellHandles(e){e.row.type==="row"&&(this.deInitializeComponent(e),this.initializeColumn("cell",e,e.column,e.element))}layoutColumnHeader(e){e.definition.resizable&&(this.initializeEventWatchers(),this.deInitializeComponent(e),this.initializeColumn("header",e,e,e.element))}columnLayoutUpdated(e){var r=e.prevColumn();this.reinitializeColumn(e),r&&this.reinitializeColumn(r)}columnWidthUpdated(e){e.modules.frozen&&(this.table.modules.frozenColumns.leftColumns.includes(e)?this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.reinitializeColumn(r)}):this.table.modules.frozenColumns.rightColumns.includes(e)&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.reinitializeColumn(r)}))}frozenColumnOffset(e){var r=!1;return e.modules.frozen&&(r=e.modules.frozen.marginValue,e.modules.frozen.position==="left"?r+=e.getWidth()-3:r&&(r-=3)),r!==!1?r+"px":!1}reinitializeColumn(e){var r=this.frozenColumnOffset(e);e.cells.forEach(S=>{S.modules.resize&&S.modules.resize.handleEl&&(r&&(S.modules.resize.handleEl.style[e.modules.frozen.position]=r),S.element.after(S.modules.resize.handleEl))}),e.modules.resize&&e.modules.resize.handleEl&&(r&&(e.modules.resize.handleEl.style[e.modules.frozen.position]=r),e.element.after(e.modules.resize.handleEl))}initializeColumn(e,r,S,D){var x=this,o=!1,t=S.definition.resizable,d={},v=S.getLastColumn();if(e==="header"&&(o=S.definition.formatter=="textarea"||S.definition.variableHeight,d={variableHeight:o}),(t===!0||t==e)&&this._checkResizability(v)){var i=document.createElement("span");i.className="tabulator-col-resize-handle",i.addEventListener("click",function(g){g.stopPropagation()});var M=function(g){x.startColumn=S,x.initialNextColumn=x.nextColumn=v.nextColumn(),x._mouseDown(g,v,i)};i.addEventListener("mousedown",M),i.addEventListener("touchstart",M,{passive:!0}),i.addEventListener("dblclick",g=>{var p=v.getWidth();g.stopPropagation(),v.reinitializeWidth(!0),p!==v.getWidth()&&(x.dispatch("column-resized",v),x.table.externalEvents.dispatch("columnResized",v.getComponent()))}),S.modules.frozen&&(i.style.position="sticky",i.style[S.modules.frozen.position]=this.frozenColumnOffset(S)),d.handleEl=i,D.parentNode&&S.visible&&D.after(i)}r.modules.resize=d}deInitializeColumn(e){this.deInitializeComponent(e),e.cells.forEach(r=>{this.deInitializeComponent(r)})}deInitializeComponent(e){var r;e.modules.resize&&(r=e.modules.resize.handleEl,r&&r.parentElement&&r.parentElement.removeChild(r))}resizeHandle(e,r){e.modules.resize&&e.modules.resize.handleEl&&(e.modules.resize.handleEl.style.height=r)}_checkResizability(e){return e.definition.resizable}_mouseDown(e,r,S){var D=this;D.table.element.classList.add("tabulator-block-select");function x(t){var d=typeof t.screenX>"u"?t.touches[0].screenX:t.screenX,v=d-D.startX,i=d-D.latestX,M,g;if(D.latestX=d,D.table.rtl&&(v=-v,i=-i),M=r.width==r.minWidth||r.width==r.maxWidth,r.setWidth(D.startWidth+v),g=r.width==r.minWidth||r.width==r.maxWidth,i<0&&(D.nextColumn=D.initialNextColumn),D.table.options.resizableColumnFit&&D.nextColumn&&!(M&&g)){let p=D.nextColumn.getWidth();i>0&&p<=D.nextColumn.minWidth&&(D.nextColumn=D.nextColumn.nextColumn()),D.nextColumn&&D.nextColumn.setWidth(D.nextColumn.getWidth()-i)}D.table.columnManager.rerenderColumns(!0),!D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights()}function o(t){D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!1),D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights(),document.body.removeEventListener("mouseup",o),document.body.removeEventListener("mousemove",x),S.removeEventListener("touchmove",x),S.removeEventListener("touchend",o),D.table.element.classList.remove("tabulator-block-select"),D.startWidth!==r.getWidth()&&(D.table.columnManager.verticalAlignHeaders(),D.dispatch("column-resized",r),D.table.externalEvents.dispatch("columnResized",r.getComponent()))}e.stopPropagation(),D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!0),D.startX=typeof e.screenX>"u"?e.touches[0].screenX:e.screenX,D.latestX=D.startX,D.startWidth=r.getWidth(),document.body.addEventListener("mousemove",x),document.body.addEventListener("mouseup",o),S.addEventListener("touchmove",x,{passive:!0}),S.addEventListener("touchend",o)}}IM.moduleName="resizeColumns";class OM extends Xi{constructor(e){super(e),this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null,this.registerTableOption("resizableRows",!1)}initialize(){this.table.options.resizableRows&&this.subscribe("row-layout-after",this.initializeRow.bind(this))}initializeRow(e){var r=this,S=e.getElement(),D=document.createElement("div");D.className="tabulator-row-resize-handle";var x=document.createElement("div");x.className="tabulator-row-resize-handle prev",D.addEventListener("click",function(d){d.stopPropagation()});var o=function(d){r.startRow=e,r._mouseDown(d,e,D)};D.addEventListener("mousedown",o),D.addEventListener("touchstart",o,{passive:!0}),x.addEventListener("click",function(d){d.stopPropagation()});var t=function(d){var v=r.table.rowManager.prevDisplayRow(e);v&&(r.startRow=v,r._mouseDown(d,v,x))};x.addEventListener("mousedown",t),x.addEventListener("touchstart",t,{passive:!0}),S.appendChild(D),S.appendChild(x)}_mouseDown(e,r,S){var D=this;D.table.element.classList.add("tabulator-block-select");function x(t){r.setHeight(D.startHeight+((typeof t.screenY>"u"?t.touches[0].screenY:t.screenY)-D.startY))}function o(t){document.body.removeEventListener("mouseup",x),document.body.removeEventListener("mousemove",x),S.removeEventListener("touchmove",x),S.removeEventListener("touchend",o),D.table.element.classList.remove("tabulator-block-select"),D.dispatchExternal("rowResized",r.getComponent())}e.stopPropagation(),D.startY=typeof e.screenY>"u"?e.touches[0].screenY:e.screenY,D.startHeight=r.getHeight(),document.body.addEventListener("mousemove",x),document.body.addEventListener("mouseup",o),S.addEventListener("touchmove",x,{passive:!0}),S.addEventListener("touchend",o)}}OM.moduleName="resizeRows";class PM extends Xi{constructor(e){super(e),this.binding=!1,this.visibilityObserver=!1,this.resizeObserver=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1,this.visible=!1,this.initialized=!1,this.initialRedraw=!1,this.registerTableOption("autoResize",!0)}initialize(){if(this.table.options.autoResize){var e=this.table,r;this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),typeof IntersectionObserver<"u"&&typeof ResizeObserver<"u"&&e.rowManager.getRenderMode()==="virtual"?(this.initializeVisibilityObserver(),this.autoResize=!0,this.resizeObserver=new ResizeObserver(S=>{if(!e.browserMobile||e.browserMobile&&!e.modules.edit.currentCell){var D=Math.floor(S[0].contentRect.height),x=Math.floor(S[0].contentRect.width);(this.tableHeight!=D||this.tableWidth!=x)&&(this.tableHeight=D,this.tableWidth=x,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),this.redrawTable())}}),this.resizeObserver.observe(e.element),r=window.getComputedStyle(e.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(r.getPropertyValue("max-height")||r.getPropertyValue("min-height"))&&(this.containerObserver=new ResizeObserver(S=>{if(!e.browserMobile||e.browserMobile&&!e.modules.edit.currentCell){var D=Math.floor(S[0].contentRect.height),x=Math.floor(S[0].contentRect.width);(this.containerHeight!=D||this.containerWidth!=x)&&(this.containerHeight=D,this.containerWidth=x,this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth),this.redrawTable()}}),this.containerObserver.observe(this.table.element.parentNode)),this.subscribe("table-resize",this.tableResized.bind(this))):(this.binding=function(){(!e.browserMobile||e.browserMobile&&!e.modules.edit.currentCell)&&(e.columnManager.rerenderColumns(!0),e.redraw())},window.addEventListener("resize",this.binding)),this.subscribe("table-destroy",this.clearBindings.bind(this))}}initializeVisibilityObserver(){this.visibilityObserver=new IntersectionObserver(e=>{this.visible=e[0].isIntersecting,this.initialized?this.visible&&(this.redrawTable(this.initialRedraw),this.initialRedraw=!1):(this.initialized=!0,this.initialRedraw=!this.visible)}),this.visibilityObserver.observe(this.table.element)}redrawTable(e){this.initialized&&this.visible&&(this.table.columnManager.rerenderColumns(!0),this.table.redraw(e))}tableResized(){this.table.rowManager.redraw()}clearBindings(){this.binding&&window.removeEventListener("resize",this.binding),this.resizeObserver&&this.resizeObserver.unobserve(this.table.element),this.visibilityObserver&&this.visibilityObserver.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)}}PM.moduleName="resizeTable";class DM extends Xi{constructor(e){super(e),this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1,this.registerTableOption("responsiveLayout",!1),this.registerTableOption("responsiveLayoutCollapseStartOpen",!0),this.registerTableOption("responsiveLayoutCollapseUseFormatters",!0),this.registerTableOption("responsiveLayoutCollapseFormatter",!1),this.registerColumnOption("responsive")}initialize(){this.table.options.responsiveLayout&&(this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-show",this.updateColumnVisibility.bind(this)),this.subscribe("column-hide",this.updateColumnVisibility.bind(this)),this.subscribe("columns-loaded",this.initializeResponsivity.bind(this)),this.subscribe("column-moved",this.initializeResponsivity.bind(this)),this.subscribe("column-add",this.initializeResponsivity.bind(this)),this.subscribe("column-delete",this.initializeResponsivity.bind(this)),this.subscribe("table-redrawing",this.tableRedraw.bind(this)),this.table.options.responsiveLayout==="collapse"&&(this.subscribe("row-data-changed",this.generateCollapsedRowContent.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout",this.layoutRow.bind(this))))}tableRedraw(e){["fitColumns","fitDataStretch"].indexOf(this.layoutMode())===-1&&(e||this.update())}initializeResponsivity(){var e=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach((r,S)=>{r.modules.responsive&&r.modules.responsive.order&&r.modules.responsive.visible&&(r.modules.responsive.index=S,e.push(r),!r.visible&&this.mode==="collapse"&&this.hiddenColumns.push(r))}),e=e.reverse(),e=e.sort((r,S)=>{var D=S.modules.responsive.order-r.modules.responsive.order;return D||S.modules.responsive.index-r.modules.responsive.index}),this.columns=e,this.mode==="collapse"&&this.generateCollapsedContent();for(let r of this.table.columnManager.columnsByIndex)if(r.definition.formatter=="responsiveCollapse"){this.collapseHandleColumn=r;break}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())}initializeColumn(e){var r=e.getDefinition();e.modules.responsive={order:typeof r.responsive>"u"?1:r.responsive,visible:r.visible!==!1}}initializeRow(e){var r;e.type!=="calc"&&(r=document.createElement("div"),r.classList.add("tabulator-responsive-collapse"),e.modules.responsiveLayout={element:r,open:this.collapseStartOpen},this.collapseStartOpen||(r.style.display="none"))}layoutRow(e){var r=e.getElement();e.modules.responsiveLayout&&(r.appendChild(e.modules.responsiveLayout.element),this.generateCollapsedRowContent(e))}updateColumnVisibility(e,r){!r&&e.modules.responsive&&(e.modules.responsive.visible=e.visible,this.initializeResponsivity())}hideColumn(e){var r=this.hiddenColumns.length;e.hide(!1,!0),this.mode==="collapse"&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent(),this.collapseHandleColumn&&!r&&this.collapseHandleColumn.show())}showColumn(e){var r;e.show(!1,!0),e.setWidth(e.getWidth()),this.mode==="collapse"&&(r=this.hiddenColumns.indexOf(e),r>-1&&this.hiddenColumns.splice(r,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())}update(){for(var e=!0;e;){let r=this.table.modules.layout.getMode()=="fitColumns"?this.table.columnManager.getFlexBaseWidth():this.table.columnManager.getWidth(),S=(this.table.options.headerVisible?this.table.columnManager.element.clientWidth:this.table.element.clientWidth)-r;if(S<0){let D=this.columns[this.index];D?(this.hideColumn(D),this.index++):e=!1}else{let D=this.columns[this.index-1];D&&S>0&&S>=D.getWidth()?(this.showColumn(D),this.index--):e=!1}this.table.rowManager.activeRowsCount||this.table.rowManager.renderEmptyScroll()}}generateCollapsedContent(){var e=this.table.rowManager.getDisplayRows();e.forEach(r=>{this.generateCollapsedRowContent(r)})}generateCollapsedRowContent(e){var r,S;if(e.modules.responsiveLayout){for(r=e.modules.responsiveLayout.element;r.firstChild;)r.removeChild(r.firstChild);S=this.collapseFormatter(this.generateCollapsedRowData(e)),S&&r.appendChild(S)}}generateCollapsedRowData(e){var r=e.getData(),S=[],D;return this.hiddenColumns.forEach(x=>{var o=x.getFieldValue(r);if(x.definition.title&&x.field)if(x.modules.format&&this.table.options.responsiveLayoutCollapseUseFormatters){let d=function(v){v()};var t=d;D={value:!1,data:{},getValue:function(){return o},getData:function(){return r},getType:function(){return"cell"},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return x.getComponent()},getTable:()=>this.table},S.push({field:x.field,title:x.definition.title,value:x.modules.format.formatter.call(this.table.modules.format,D,x.modules.format.params,d)})}else S.push({field:x.field,title:x.definition.title,value:o})}),S}formatCollapsedData(e){var r=document.createElement("table");return e.forEach(function(S){var D=document.createElement("tr"),x=document.createElement("td"),o=document.createElement("td"),t,d=document.createElement("strong");x.appendChild(d),this.langBind("columns|"+S.field,function(v){d.innerHTML=v||S.title}),S.value instanceof Node?(t=document.createElement("div"),t.appendChild(S.value),o.appendChild(t)):o.innerHTML=S.value,D.appendChild(x),D.appendChild(o),r.appendChild(D)},this),Object.keys(e).length?r:""}}DM.moduleName="responsiveLayout";class RM extends Xi{constructor(e){super(e),this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null,this.registerTableOption("selectable","highlight"),this.registerTableOption("selectableRangeMode","drag"),this.registerTableOption("selectableRollingSelection",!0),this.registerTableOption("selectablePersistence",!0),this.registerTableOption("selectableCheck",function(r,S){return!0}),this.registerTableFunction("selectRow",this.selectRows.bind(this)),this.registerTableFunction("deselectRow",this.deselectRows.bind(this)),this.registerTableFunction("toggleSelectRow",this.toggleRow.bind(this)),this.registerTableFunction("getSelectedRows",this.getSelectedRows.bind(this)),this.registerTableFunction("getSelectedData",this.getSelectedData.bind(this)),this.registerComponentFunction("row","select",this.selectRows.bind(this)),this.registerComponentFunction("row","deselect",this.deselectRows.bind(this)),this.registerComponentFunction("row","toggleSelect",this.toggleRow.bind(this)),this.registerComponentFunction("row","isSelected",this.isRowSelected.bind(this))}initialize(){this.table.options.selectable!==!1&&(this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-deleting",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clearSelectionData.bind(this)),this.subscribe("rows-retrieve",this.rowRetrieve.bind(this)),this.table.options.selectable&&!this.table.options.selectablePersistence&&this.subscribe("data-refreshing",this.deselectRows.bind(this)))}rowRetrieve(e,r){return e==="selected"?this.selectedRows:r}rowDeleted(e){this._deselectRow(e,!0)}clearSelectionData(e){var r=this.selectedRows.length;this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],r&&e!==!0&&this._rowSelectionChanged()}initializeRow(e){var r=this,S=e.getElement(),D=function(){setTimeout(function(){r.selecting=!1},50),document.body.removeEventListener("mouseup",D)};e.modules.select={selected:!1},r.checkRowSelectability(e)?(S.classList.add("tabulator-selectable"),S.classList.remove("tabulator-unselectable"),r.table.options.selectable&&r.table.options.selectable!="highlight"&&(r.table.options.selectableRangeMode==="click"?S.addEventListener("click",this.handleComplexRowClick.bind(this,e)):(S.addEventListener("click",function(x){(!r.table.modExists("edit")||!r.table.modules.edit.getCurrentCell())&&r.table._clearSelection(),r.selecting||r.toggleRow(e)}),S.addEventListener("mousedown",function(x){if(x.shiftKey)return r.table._clearSelection(),r.selecting=!0,r.selectPrev=[],document.body.addEventListener("mouseup",D),document.body.addEventListener("keyup",D),r.toggleRow(e),!1}),S.addEventListener("mouseenter",function(x){r.selecting&&(r.table._clearSelection(),r.toggleRow(e),r.selectPrev[1]==e&&r.toggleRow(r.selectPrev[0]))}),S.addEventListener("mouseout",function(x){r.selecting&&(r.table._clearSelection(),r.selectPrev.unshift(e))})))):(S.classList.add("tabulator-unselectable"),S.classList.remove("tabulator-selectable"))}handleComplexRowClick(e,r){if(r.shiftKey){this.table._clearSelection(),this.lastClickedRow=this.lastClickedRow||e;var S=this.table.rowManager.getDisplayRowIndex(this.lastClickedRow),D=this.table.rowManager.getDisplayRowIndex(e),x=S<=D?S:D,o=S>=D?S:D,t=this.table.rowManager.getDisplayRows().slice(0),d=t.splice(x,o-x+1);r.ctrlKey||r.metaKey?(d.forEach(v=>{v!==this.lastClickedRow&&(this.table.options.selectable!==!0&&!this.isRowSelected(e)?this.selectedRows.lengththis.table.options.selectable&&(d=d.slice(0,this.table.options.selectable)),this.selectRows(d)),this.table._clearSelection()}else r.ctrlKey||r.metaKey?(this.toggleRow(e),this.lastClickedRow=e):(this.deselectRows(void 0,!0),this.selectRows(e),this.lastClickedRow=e)}checkRowSelectability(e){return e&&e.type==="row"?this.table.options.selectableCheck.call(this.table,e.getComponent()):!1}toggleRow(e){this.checkRowSelectability(e)&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))}selectRows(e){var r=[],S,D;switch(typeof e){case"undefined":S=this.table.rowManager.rows;break;case"string":S=this.table.rowManager.findRow(e),S||(S=this.table.rowManager.getRows(e));break;default:S=e;break}Array.isArray(S)?S.length&&(S.forEach(x=>{D=this._selectRow(x,!0,!0),D&&r.push(D)}),this._rowSelectionChanged(!1,r)):S&&this._selectRow(S,!1,!0)}_selectRow(e,r,S){if(!isNaN(this.table.options.selectable)&&this.table.options.selectable!==!0&&!S&&this.selectedRows.length>=this.table.options.selectable)if(this.table.options.selectableRollingSelection)this._deselectRow(this.selectedRows[0]);else return!1;var D=this.table.rowManager.findRow(e);if(D){if(this.selectedRows.indexOf(D)==-1)return D.getElement().classList.add("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!0,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!0),this.selectedRows.push(D),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!0),this.dispatchExternal("rowSelected",D.getComponent()),this._rowSelectionChanged(r,D),D}else r||console.warn("Selection Error - No such row found, ignoring selection:"+e)}isRowSelected(e){return this.selectedRows.indexOf(e)!==-1}deselectRows(e,r){var S=[],D,x;switch(typeof e){case"undefined":D=Object.assign([],this.selectedRows);break;case"string":D=this.table.rowManager.findRow(e),D||(D=this.table.rowManager.getRows(e));break;default:D=e;break}Array.isArray(D)?D.length&&(D.forEach(o=>{x=this._deselectRow(o,!0,!0),x&&S.push(x)}),this._rowSelectionChanged(r,[],S)):D&&this._deselectRow(D,r,!0)}_deselectRow(e,r){var S=this,D=S.table.rowManager.findRow(e),x,o;if(D){if(x=S.selectedRows.findIndex(function(t){return t==D}),x>-1)return o=D.getElement(),o&&o.classList.remove("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!1,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!1),S.selectedRows.splice(x,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!1),this.dispatchExternal("rowDeselected",D.getComponent()),S._rowSelectionChanged(r,void 0,D),D}else r||console.warn("Deselection Error - No such row found, ignoring selection:"+e)}getSelectedData(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getData())}),e}getSelectedRows(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getComponent())}),e}_rowSelectionChanged(e,r=[],S=[]){this.headerCheckboxElement&&(this.selectedRows.length===0?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),e||(Array.isArray(r)||(r=[r]),r=r.map(D=>D.getComponent()),Array.isArray(S)||(S=[S]),S=S.map(D=>D.getComponent()),this.dispatchExternal("rowSelectionChanged",this.getSelectedData(),this.getSelectedRows(),r,S))}registerRowSelectCheckbox(e,r){e._row.modules.select||(e._row.modules.select={}),e._row.modules.select.checkboxEl=r}registerHeaderSelectCheckbox(e){this.headerCheckboxElement=e}childRowSelection(e,r){var S=this.table.modules.dataTree.getChildren(e,!0);if(r)for(let D of S)this._selectRow(D,!0);else for(let D of S)this._deselectRow(D,!0)}}RM.moduleName="selectRow";function fz(n,e,r,S,D,x,o){var t=o.alignEmptyValues,d=o.decimalSeparator,v=o.thousandSeparator,i=0;if(n=String(n),e=String(e),v&&(n=n.split(v).join(""),e=e.split(v).join("")),d&&(n=n.split(d).join("."),e=e.split(d).join(".")),n=parseFloat(n),e=parseFloat(e),isNaN(n))i=isNaN(e)?0:-1;else if(isNaN(e))i=1;else return n-e;return(t==="top"&&x==="desc"||t==="bottom"&&x==="asc")&&(i*=-1),i}function hz(n,e,r,S,D,x,o){var t=o.alignEmptyValues,d=0,v;if(!n)d=e?-1:0;else if(!e)d=1;else{switch(typeof o.locale){case"boolean":o.locale&&(v=this.langLocale());break;case"string":v=o.locale;break}return String(n).toLowerCase().localeCompare(String(e).toLowerCase(),v)}return(t==="top"&&x==="desc"||t==="bottom"&&x==="asc")&&(d*=-1),d}function v_(n,e,r,S,D,x,o){var t=window.DateTime||luxon.DateTime,d=o.format||"dd/MM/yyyy HH:mm:ss",v=o.alignEmptyValues,i=0;if(typeof t<"u"){if(t.isDateTime(n)||(d==="iso"?n=t.fromISO(String(n)):n=t.fromFormat(String(n),d)),t.isDateTime(e)||(d==="iso"?e=t.fromISO(String(e)):e=t.fromFormat(String(e),d)),!n.isValid)i=e.isValid?-1:0;else if(!e.isValid)i=1;else return n-e;return(v==="top"&&x==="desc"||v==="bottom"&&x==="asc")&&(i*=-1),i}else console.error("Sort Error - 'datetime' sorter is dependant on luxon.js")}function dz(n,e,r,S,D,x,o){return o.format||(o.format="dd/MM/yyyy"),v_.call(this,n,e,r,S,D,x,o)}function pz(n,e,r,S,D,x,o){return o.format||(o.format="HH:mm"),v_.call(this,n,e,r,S,D,x,o)}function mz(n,e,r,S,D,x,o){var t=n===!0||n==="true"||n==="True"||n===1?1:0,d=e===!0||e==="true"||e==="True"||e===1?1:0;return t-d}function gz(n,e,r,S,D,x,o){var t=o.type||"length",d=o.alignEmptyValues,v=0;function i(M){var g;switch(t){case"length":g=M.length;break;case"sum":g=M.reduce(function(p,u){return p+u});break;case"max":g=Math.max.apply(null,M);break;case"min":g=Math.min.apply(null,M);break;case"avg":g=M.reduce(function(p,u){return p+u})/M.length;break}return g}if(!Array.isArray(n))v=Array.isArray(e)?-1:0;else if(!Array.isArray(e))v=1;else return i(e)-i(n);return(d==="top"&&x==="desc"||d==="bottom"&&x==="asc")&&(v*=-1),v}function vz(n,e,r,S,D,x,o){var t=typeof n>"u"?0:1,d=typeof e>"u"?0:1;return t-d}function yz(n,e,r,S,D,x,o){var t,d,v,i,M=0,g,p=/(\d+)|(\D+)/g,u=/\d/,a=o.alignEmptyValues,c=0;if(!n&&n!==0)c=!e&&e!==0?0:-1;else if(!e&&e!==0)c=1;else{if(isFinite(n)&&isFinite(e))return n-e;if(t=String(n).toLowerCase(),d=String(e).toLowerCase(),t===d)return 0;if(!(u.test(t)&&u.test(d)))return t>d?1:-1;for(t=t.match(p),d=d.match(p),g=t.length>d.length?d.length:t.length;Mi?1:-1;return t.length>d.length}return(a==="top"&&x==="desc"||a==="bottom"&&x==="asc")&&(c*=-1),c}var bz={number:fz,string:hz,date:dz,time:pz,datetime:v_,boolean:mz,array:gz,exists:vz,alphanum:yz};class Ad extends Xi{constructor(e){super(e),this.sortList=[],this.changed=!1,this.registerTableOption("sortMode","local"),this.registerTableOption("initialSort",!1),this.registerTableOption("columnHeaderSortMulti",!0),this.registerTableOption("sortOrderReverse",!1),this.registerTableOption("headerSortElement","
"),this.registerTableOption("headerSortClickElement","header"),this.registerColumnOption("sorter"),this.registerColumnOption("sorterParams"),this.registerColumnOption("headerSort",!0),this.registerColumnOption("headerSortStartingDir"),this.registerColumnOption("headerSortTristate")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.registerDataHandler(this.sort.bind(this),20),this.registerTableFunction("setSort",this.userSetSort.bind(this)),this.registerTableFunction("getSorters",this.getSort.bind(this)),this.registerTableFunction("clearSort",this.clearSort.bind(this)),this.table.options.sortMode==="remote"&&this.subscribe("data-params",this.remoteSortParams.bind(this))}tableBuilt(){this.table.options.initialSort&&this.setSort(this.table.options.initialSort)}remoteSortParams(e,r,S,D){var x=this.getSort();return x.forEach(o=>{delete o.column}),D.sort=x,D}userSetSort(e,r){this.setSort(e,r),this.refreshSort()}clearSort(){this.clear(),this.refreshSort()}initializeColumn(e){var r=!1,S,D;switch(typeof e.definition.sorter){case"string":Ad.sorters[e.definition.sorter]?r=Ad.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":r=e.definition.sorter;break}if(e.modules.sort={sorter:r,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:e.definition.headerSortTristate},e.definition.headerSort!==!1){switch(S=e.getElement(),S.classList.add("tabulator-sortable"),D=document.createElement("div"),D.classList.add("tabulator-col-sorter"),this.table.options.headerSortClickElement){case"icon":D.classList.add("tabulator-col-sorter-element");break;case"header":S.classList.add("tabulator-col-sorter-element");break;default:S.classList.add("tabulator-col-sorter-element");break}switch(this.table.options.headerSortElement){case"function":break;case"object":D.appendChild(this.table.options.headerSortElement);break;default:D.innerHTML=this.table.options.headerSortElement}e.titleHolderElement.appendChild(D),e.modules.sort.element=D,this.setColumnHeaderSortIcon(e,"none"),(this.table.options.headerSortClickElement==="icon"?D:S).addEventListener("click",x=>{var o="",t=[],d=!1;if(e.modules.sort){if(e.modules.sort.tristate)e.modules.sort.dir=="none"?o=e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?o=e.modules.sort.dir=="asc"?"desc":"asc":o="none";else switch(e.modules.sort.dir){case"asc":o="desc";break;case"desc":o="asc";break;default:o=e.modules.sort.startingDir}this.table.options.columnHeaderSortMulti&&(x.shiftKey||x.ctrlKey)?(t=this.getSort(),d=t.findIndex(v=>v.field===e.getField()),d>-1?(t[d].dir=o,d=t.splice(d,1)[0],o!="none"&&t.push(d)):o!="none"&&t.push({column:e,dir:o}),this.setSort(t)):o=="none"?this.clear():this.setSort(e,o),this.refreshSort()}})}}refreshSort(){this.table.options.sortMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0)}hasChanged(){var e=this.changed;return this.changed=!1,e}getSort(){var e=this,r=[];return e.sortList.forEach(function(S){S.column&&r.push({column:S.column.getComponent(),field:S.column.getField(),dir:S.dir})}),r}setSort(e,r){var S=this,D=[];Array.isArray(e)||(e=[{column:e,dir:r}]),e.forEach(function(x){var o;o=S.table.columnManager.findColumn(x.column),o?(x.column=o,D.push(x),S.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",x.column)}),S.sortList=D,this.dispatch("sort-changed")}clear(){this.setSort([])}findSorter(e){var r=this.table.rowManager.activeRows[0],S="string",D,x;if(r&&(r=r.getData(),D=e.getField(),D))switch(x=e.getFieldValue(r),typeof x){case"undefined":S="string";break;case"boolean":S="boolean";break;default:!isNaN(x)&&x!==""?S="number":x.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(S="alphanum");break}return Ad.sorters[S]}sort(e){var r=this,S=this.table.options.sortOrderReverse?r.sortList.slice().reverse():r.sortList,D=[],x=[];return this.subscribedExternal("dataSorting")&&this.dispatchExternal("dataSorting",r.getSort()),r.clearColumnHeaders(),this.table.options.sortMode!=="remote"?(S.forEach(function(o,t){var d;o.column&&(d=o.column.modules.sort,d&&(d.sorter||(d.sorter=r.findSorter(o.column)),o.params=typeof d.params=="function"?d.params(o.column.getComponent(),o.dir):d.params,D.push(o)),r.setColumnHeader(o.column,o.dir))}),D.length&&r._sortItems(e,D)):S.forEach(function(o,t){r.setColumnHeader(o.column,o.dir)}),this.subscribedExternal("dataSorted")&&(e.forEach(o=>{x.push(o.getComponent())}),this.dispatchExternal("dataSorted",r.getSort(),x)),e}clearColumnHeaders(){this.table.columnManager.getRealColumns().forEach(e=>{e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"),this.setColumnHeaderSortIcon(e,"none"))})}setColumnHeader(e,r){e.modules.sort.dir=r,e.getElement().setAttribute("aria-sort",r==="asc"?"ascending":"descending"),this.setColumnHeaderSortIcon(e,r)}setColumnHeaderSortIcon(e,r){var S=e.modules.sort.element,D;if(e.definition.headerSort&&typeof this.table.options.headerSortElement=="function"){for(;S.firstChild;)S.removeChild(S.firstChild);D=this.table.options.headerSortElement.call(this.table,e.getComponent(),r),typeof D=="object"?S.appendChild(D):S.innerHTML=D}}_sortItems(e,r){var S=r.length-1;e.sort((D,x)=>{for(var o,t=S;t>=0;t--){let d=r[t];if(o=this._sortRow(D,x,d.column,d.dir,d.params),o!==0)break}return o})}_sortRow(e,r,S,D,x){var o,t,d=D=="asc"?e:r,v=D=="asc"?r:e;return e=S.getFieldValue(d.getData()),r=S.getFieldValue(v.getData()),e=typeof e<"u"?e:"",r=typeof r<"u"?r:"",o=d.getComponent(),t=v.getComponent(),S.modules.sort.sorter.call(this,e,r,o,t,S.getComponent(),D,x)}}Ad.moduleName="sort";Ad.sorters=bz;class zM extends Xi{constructor(e){super(e),this.tooltipSubscriber=null,this.headerSubscriber=null,this.timeout=null,this.popupInstance=null,this.registerTableOption("tooltipGenerationMode",void 0),this.registerTableOption("tooltipDelay",300),this.registerColumnOption("tooltip"),this.registerColumnOption("headerTooltip")}initialize(){this.deprecatedOptionsCheck(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheckMsg("tooltipGenerationMode","This option is no longer needed as tooltips are always generated on hover now")}initializeColumn(e){e.definition.headerTooltip&&!this.headerSubscriber&&(this.headerSubscriber=!0,this.subscribe("column-mousemove",this.mousemoveCheck.bind(this,"headerTooltip")),this.subscribe("column-mouseout",this.mouseoutCheck.bind(this,"headerTooltip"))),e.definition.tooltip&&!this.tooltipSubscriber&&(this.tooltipSubscriber=!0,this.subscribe("cell-mousemove",this.mousemoveCheck.bind(this,"tooltip")),this.subscribe("cell-mouseout",this.mouseoutCheck.bind(this,"tooltip")))}mousemoveCheck(e,r,S){var D=e==="tooltip"?S.column.definition.tooltip:S.definition.headerTooltip;D&&(this.clearPopup(),this.timeout=setTimeout(this.loadTooltip.bind(this,r,S,D),this.table.options.tooltipDelay))}mouseoutCheck(e,r,S){this.popupInstance||this.clearPopup()}clearPopup(e,r,S){clearTimeout(this.timeout),this.timeout=null,this.popupInstance&&this.popupInstance.hide()}loadTooltip(e,r,S){var D,x,o;function t(d){x=d}typeof S=="function"&&(S=S(e,r.getComponent(),t)),S instanceof HTMLElement?D=S:(D=document.createElement("div"),S===!0&&(r instanceof ng?S=r.value:r.definition.field?this.langBind("columns|"+r.definition.field,d=>{D.innerHTML=S=d||r.definition.title}):S=r.definition.title),D.innerHTML=S),(S||S===0||S===!1)&&(D.classList.add("tabulator-tooltip"),D.addEventListener("mousemove",d=>d.preventDefault()),this.popupInstance=this.popup(D),typeof x=="function"&&this.popupInstance.renderCallback(x),o=this.popupInstance.containerEventCoords(e),this.popupInstance.show(o.x+15,o.y+15).hideOnBlur(()=>{this.dispatchExternal("TooltipClosed",r.getComponent()),this.popupInstance=null}),this.dispatchExternal("TooltipOpened",r.getComponent()))}}zM.moduleName="tooltip";var xz={integer:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&Math.floor(e)===e)},float:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&e%1!==0)},numeric:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:!isNaN(e)},string:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:isNaN(e)},max:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)<=r},min:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)>=r},starts:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().startsWith(String(r).toLowerCase())},ends:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().endsWith(String(r).toLowerCase())},minLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length>=r},maxLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length<=r},in:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(typeof r=="string"&&(r=r.split("|")),r.indexOf(e)>-1)},regex:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var S=new RegExp(r);return S.test(e)},unique:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var S=!0,D=n.getData(),x=n.getColumn()._getSelf();return this.table.rowManager.rows.forEach(function(o){var t=o.getData();t!==D&&e==x.getFieldValue(t)&&(S=!1)}),S},required:function(n,e,r){return e!==""&&e!==null&&typeof e<"u"}};class og extends Xi{constructor(e){super(e),this.invalidCells=[],this.registerTableOption("validationMode","blocking"),this.registerColumnOption("validator"),this.registerTableFunction("getInvalidCells",this.getInvalidCells.bind(this)),this.registerTableFunction("clearCellValidation",this.userClearCellValidation.bind(this)),this.registerTableFunction("validate",this.userValidate.bind(this)),this.registerComponentFunction("cell","isValid",this.cellIsValid.bind(this)),this.registerComponentFunction("cell","clearValidation",this.clearValidation.bind(this)),this.registerComponentFunction("cell","validate",this.cellValidate.bind(this)),this.registerComponentFunction("column","validate",this.columnValidate.bind(this)),this.registerComponentFunction("row","validate",this.rowValidate.bind(this))}initialize(){this.subscribe("cell-delete",this.clearValidation.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("edit-success",this.editValidate.bind(this)),this.subscribe("edit-editor-clear",this.editorClear.bind(this)),this.subscribe("edit-edited-clear",this.editedClear.bind(this))}editValidate(e,r,S){var D=this.table.options.validationMode!=="manual"?this.validate(e.column.modules.validate,e,r):!0;return D!==!0&&setTimeout(()=>{e.getElement().classList.add("tabulator-validation-fail"),this.dispatchExternal("validationFailed",e.getComponent(),r,D)}),D}editorClear(e,r){r&&e.column.modules.validate&&this.cellValidate(e),e.getElement().classList.remove("tabulator-validation-fail")}editedClear(e){e.modules.validate&&(e.modules.validate.invalid=!1)}cellIsValid(e){return e.modules.validate&&e.modules.validate.invalid||!0}cellValidate(e){return this.validate(e.column.modules.validate,e,e.getValue())}columnValidate(e){var r=[];return e.cells.forEach(S=>{this.cellValidate(S)!==!0&&r.push(S.getComponent())}),r.length?r:!0}rowValidate(e){var r=[];return e.cells.forEach(S=>{this.cellValidate(S)!==!0&&r.push(S.getComponent())}),r.length?r:!0}userClearCellValidation(e){e||(e=this.getInvalidCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.clearValidation(r._getSelf())})}userValidate(e){var r=[];return this.table.rowManager.rows.forEach(S=>{S=S.getComponent();var D=S.validate();D!==!0&&(r=r.concat(D))}),r.length?r:!0}initializeColumnCheck(e){typeof e.definition.validator<"u"&&this.initializeColumn(e)}initializeColumn(e){var r=this,S=[],D;e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach(x=>{D=r._extractValidator(x),D&&S.push(D)}):(D=this._extractValidator(e.definition.validator),D&&S.push(D)),e.modules.validate=S.length?S:!1)}_extractValidator(e){var r,S,D;switch(typeof e){case"string":return D=e.indexOf(":"),D>-1?(r=e.substring(0,D),S=e.substring(D+1)):r=e,this._buildValidator(r,S);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}}_buildValidator(e,r){var S=typeof e=="function"?e:og.validators[e];return S?{type:typeof e=="function"?"function":e,func:S,params:r}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)}validate(e,r,S){var D=this,x=[],o=this.invalidCells.indexOf(r);return e&&e.forEach(t=>{t.func.call(D,r.getComponent(),S,t.params)||x.push({type:t.type,parameters:t.params})}),r.modules.validate||(r.modules.validate={}),x.length?(r.modules.validate.invalid=x,this.table.options.validationMode!=="manual"&&r.getElement().classList.add("tabulator-validation-fail"),o==-1&&this.invalidCells.push(r)):(r.modules.validate.invalid=!1,r.getElement().classList.remove("tabulator-validation-fail"),o>-1&&this.invalidCells.splice(o,1)),x.length?x:!0}getInvalidCells(){var e=[];return this.invalidCells.forEach(r=>{e.push(r.getComponent())}),e}clearValidation(e){var r;e.modules.validate&&e.modules.validate.invalid&&(e.getElement().classList.remove("tabulator-validation-fail"),e.modules.validate.invalid=!1,r=this.invalidCells.indexOf(e),r>-1&&this.invalidCells.splice(r,1))}}og.moduleName="validate";og.validators=xz;var _z=Object.freeze({__proto__:null,AccessorModule:Jp,AjaxModule:Sc,ClipboardModule:Dd,ColumnCalcsModule:Eh,DataTreeModule:bM,DownloadModule:Qp,EditModule:rg,ExportModule:xM,FilterModule:jf,FormatModule:Gu,FrozenColumnsModule:_M,FrozenRowsModule:wM,GroupRowsModule:TM,HistoryModule:Rd,HtmlTableImportModule:kM,ImportModule:ig,InteractionModule:MM,KeybindingsModule:Ph,MenuModule:AM,MoveColumnsModule:SM,MoveRowsModule:Jy,MutatorModule:e0,PageModule:ag,PersistenceModule:Gl,PopupModule:CM,PrintModule:EM,ReactiveDataModule:LM,ResizeColumnsModule:IM,ResizeRowsModule:OM,ResizeTableModule:PM,ResponsiveLayoutModule:DM,SelectRowModule:RM,SortModule:Ad,TooltipModule:zM,ValidateModule:og}),wz={debugEventsExternal:!1,debugEventsInternal:!1,debugInvalidOptions:!0,debugInvalidComponentFuncs:!0,debugInitialization:!0,debugDeprecation:!0,height:!1,minHeight:!1,maxHeight:!1,columnHeaderVertAlign:"top",popupContainer:!1,columns:[],columnDefaults:{},data:!1,autoColumns:!1,autoColumnsDefinitions:!1,nestedFieldSeparator:".",footerElement:!1,index:"id",textDirection:"auto",addRowPos:"bottom",headerVisible:!0,renderVertical:"virtual",renderHorizontal:"basic",renderVerticalBuffer:0,scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,rowHeight:null,placeholder:!1,dataLoader:!0,dataLoaderLoading:!1,dataLoaderError:!1,dataLoaderErrorTimeout:3e3,dataSendParams:{},dataReceiveParams:{}};class FM{constructor(e,r,S={}){this.table=e,this.msgType=r,this.registeredDefaults=Object.assign({},S)}register(e,r){this.registeredDefaults[e]=r}generate(e,r={}){var S=Object.assign({},this.registeredDefaults),D=this.table.options.debugInvalidOptions||r.debugInvalidOptions===!0;Object.assign(S,e);for(let x in r)S.hasOwnProperty(x)||(D&&console.warn("Invalid "+this.msgType+" option:",x),S[x]=r.key);for(let x in S)x in r?S[x]=r[x]:Array.isArray(S[x])?S[x]=Object.assign([],S[x]):typeof S[x]=="object"&&S[x]!==null?S[x]=Object.assign({},S[x]):typeof S[x]>"u"&&delete S[x];return S}}class Qy extends Zl{constructor(e){super(e),this.elementVertical=e.rowManager.element,this.elementHorizontal=e.columnManager.element,this.tableElement=e.rowManager.tableElement,this.verticalFillMode="fit"}initialize(){}clearRows(){}clearColumns(){}reinitializeColumnWidths(e){}renderRows(){}renderColumns(){}rerenderRows(e){e&&e()}rerenderColumns(e,r){}renderRowCells(e){}rerenderRowCells(e,r){}scrollColumns(e,r){}scrollRows(e,r){}resize(){}scrollToRow(e){}scrollToRowNearestTop(e){}visibleRows(e){return[]}rows(){return this.table.rowManager.getDisplayRows()}styleRow(e,r){var S=e.getElement();r%2?(S.classList.add("tabulator-row-even"),S.classList.remove("tabulator-row-odd")):(S.classList.add("tabulator-row-odd"),S.classList.remove("tabulator-row-even"))}clear(){this.clearRows(),this.clearColumns()}render(){this.renderRows(),this.renderColumns()}rerender(e){this.rerenderRows(),this.rerenderColumns()}scrollToRowPosition(e,r,S){var D=this.rows().indexOf(e),x=e.getElement(),o=0;return new Promise((t,d)=>{if(D>-1){if(typeof S>"u"&&(S=this.table.options.scrollToRowIfVisible),!S&&po.elVisible(x)&&(o=po.elOffset(x).top-po.elOffset(this.elementVertical).top,o>0&&o"u"&&(r=this.table.options.scrollToRowPosition),r==="nearest"&&(r=this.scrollToRowNearestTop(e)?"top":"bottom"),this.scrollToRow(e),r){case"middle":case"center":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop+(x.offsetTop-this.elementVertical.scrollTop)-(this.elementVertical.scrollHeight-x.offsetTop)/2:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight/2;break;case"bottom":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop-(this.elementVertical.scrollHeight-x.offsetTop)+x.offsetHeight:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight+x.offsetHeight;break;case"top":this.elementVertical.scrollTop=x.offsetTop;break}t()}else console.warn("Scroll Error - Row not visible"),d("Scroll Error - Row not visible")})}}class Tz extends Qy{constructor(e){super(e)}renderRowCells(e,r){const S=document.createDocumentFragment();e.cells.forEach(D=>{S.appendChild(D.getElement())}),e.element.appendChild(S),r||e.cells.forEach(D=>{D.cellRendered()})}reinitializeColumnWidths(e){e.forEach(function(r){r.reinitializeWidth()})}}class kz extends Qy{constructor(e){super(e),this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.windowBuffer=200,this.visibleRows=null,this.initialized=!1,this.isFitData=!1,this.columns=[]}initialize(){this.compatibilityCheck(),this.layoutCheck(),this.vertScrollListen()}compatibilityCheck(){this.options("layout")=="fitDataTable"&&console.warn("Horizontal Virtual DOM is not compatible with fitDataTable layout mode"),this.options("responsiveLayout")&&console.warn("Horizontal Virtual DOM is not compatible with responsive columns"),this.options("rtl")&&console.warn("Horizontal Virtual DOM is not currently compatible with RTL text direction")}layoutCheck(){this.isFitData=this.options("layout").startsWith("fitData")}vertScrollListen(){this.subscribe("scroll-vertical",this.clearVisRowCache.bind(this)),this.subscribe("data-refreshed",this.clearVisRowCache.bind(this))}clearVisRowCache(){this.visibleRows=null}renderColumns(e,r){this.dataChange()}scrollColumns(e,r){this.scrollLeft!=e&&(this.scrollLeft=e,this.scroll(e-(this.vDomScrollPosLeft+this.windowBuffer)))}calcWindowBuffer(){var e=this.elementVertical.clientWidth;this.table.columnManager.columnsByIndex.forEach(r=>{if(r.visible){var S=r.getWidth();S>e&&(e=S)}}),this.windowBuffer=e*2}rerenderColumns(e,r){var S={cols:this.columns,leftCol:this.leftCol,rightCol:this.rightCol},D=0;e&&!this.initialized||(this.clear(),this.calcWindowBuffer(),this.scrollLeft=this.elementVertical.scrollLeft,this.vDomScrollPosLeft=this.scrollLeft-this.windowBuffer,this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,this.table.columnManager.columnsByIndex.forEach(x=>{var o={},t;x.visible&&(x.modules.frozen||(t=x.getWidth(),o.leftPos=D,o.rightPos=D+t,o.width=t,this.isFitData&&(o.fitDataCheck=x.modules.vdomHoz?x.modules.vdomHoz.fitDataCheck:!0),D+t>this.vDomScrollPosLeft&&D{r.appendChild(S.getElement())}),e.element.appendChild(r),e.cells.forEach(S=>{S.cellRendered()})}}rerenderRowCells(e,r){this.reinitializeRow(e,r)}reinitializeColumnWidths(e){for(let r=this.leftCol;r<=this.rightCol;r++)this.columns[r].reinitializeWidth()}deinitialize(){this.initialized=!1}clear(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0}dataChange(){var e=!1,r,S;if(this.isFitData){if(this.table.columnManager.columnsByIndex.forEach(D=>{!D.definition.width&&D.visible&&(e=!0)}),e&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,r=this.chain("rows-sample",[1],[],()=>this.table.rowManager.getDisplayRows())[0],r)){S=r.getElement(),r.generateCells(),this.tableElement.appendChild(S);for(let D=0;D{S!==this.columns[D]&&(r=!1)}),!r)}reinitializeRows(){var e=this.getVisibleRows(),r=this.table.rowManager.getRows().filter(S=>!e.includes(S));e.forEach(S=>{this.reinitializeRow(S,!0)}),r.forEach(S=>{S.deinitialize()})}getVisibleRows(){return this.visibleRows||(this.visibleRows=this.table.rowManager.getVisibleRows()),this.visibleRows}scroll(e){this.vDomScrollPosLeft+=e,this.vDomScrollPosRight+=e,Math.abs(e)>this.windowBuffer/2?this.rerenderColumns():e>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())}colPositionAdjust(e,r,S){for(let D=e;D{if(D.type!=="group"){var x=D.getCell(S);D.getElement().insertBefore(x.getElement(),D.getCell(this.columns[this.rightCol]).getElement().nextSibling),x.cellRendered()}}),this.fitDataColActualWidthCheck(S),this.rightCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)}),this.rightCol>=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=S.getWidth()):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}addColLeft(){for(var e=!1,r=!0;r;){let S=this.columns[this.leftCol-1];if(S)if(S.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft){e=!0,this.getVisibleRows().forEach(x=>{if(x.type!=="group"){var o=x.getCell(S);x.getElement().insertBefore(o.getElement(),x.getCell(this.columns[this.leftCol]).getElement()),o.cellRendered()}}),this.leftCol--,this.getVisibleRows().forEach(x=>{x.type!=="group"&&(x.modules.vdomHoz.leftCol=this.leftCol)}),this.leftCol<=0?this.vDomPadLeft=0:this.vDomPadLeft-=S.getWidth();let D=this.fitDataColActualWidthCheck(S);D&&(this.scrollLeft=this.elementVertical.scrollLeft=this.elementVertical.scrollLeft+D,this.vDomPadRight-=D)}else r=!1;else r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}removeColRight(){for(var e=!1,r=!0;r;){let S=this.columns[this.rightCol];S&&S.modules.vdomHoz.leftPos>this.vDomScrollPosRight?(e=!0,this.getVisibleRows().forEach(D=>{if(D.type!=="group"){var x=D.getCell(S);try{D.getElement().removeChild(x.getElement())}catch(o){console.warn("Could not removeColRight",o.message)}}}),this.vDomPadRight+=S.getWidth(),this.rightCol--,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)})):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}removeColLeft(){for(var e=!1,r=!0;r;){let S=this.columns[this.leftCol];S&&S.modules.vdomHoz.rightPos{if(D.type!=="group"){var x=D.getCell(S);try{D.getElement().removeChild(x.getElement())}catch(o){console.warn("Could not removeColLeft",o.message)}}}),this.vDomPadLeft+=S.getWidth(),this.leftCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.leftCol=this.leftCol)})):r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}fitDataColActualWidthCheck(e){var r,S;return e.modules.vdomHoz.fitDataCheck&&(e.reinitializeWidth(),r=e.getWidth(),S=r-e.modules.vdomHoz.width,S&&(e.modules.vdomHoz.rightPos+=S,e.modules.vdomHoz.width=r,this.colPositionAdjust(this.columns.indexOf(e)+1,this.columns.length,S)),e.modules.vdomHoz.fitDataCheck=!1),S}initializeRow(e){if(e.type!=="group"){e.modules.vdomHoz={leftCol:this.leftCol,rightCol:this.rightCol},this.table.modules.frozenColumns&&this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.appendCell(e,r)});for(let r=this.leftCol;r<=this.rightCol;r++)this.appendCell(e,this.columns[r]);this.table.modules.frozenColumns&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.appendCell(e,r)})}}appendCell(e,r){if(r&&r.visible){let S=e.getCell(r);e.getElement().appendChild(S.getElement()),S.cellRendered()}}reinitializeRow(e,r){if(e.type!=="group"&&(r||!e.modules.vdomHoz||e.modules.vdomHoz.leftCol!==this.leftCol||e.modules.vdomHoz.rightCol!==this.rightCol)){for(var S=e.getElement();S.firstChild;)S.removeChild(S.firstChild);this.initializeRow(e)}}}class Mz extends Zl{constructor(e){super(e),this.blockHozScrollEvent=!1,this.headersElement=null,this.contentsElement=null,this.element=null,this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.scrollLeft=0,this.optionsList=new FM(this.table,"column definition",yM),this.redrawBlock=!1,this.redrawBlockUpdate=null,this.renderer=null}initialize(){this.initializeRenderer(),this.headersElement=this.createHeadersElement(),this.contentsElement=this.createHeaderContentsElement(),this.element=this.createHeaderElement(),this.contentsElement.insertBefore(this.headersElement,this.contentsElement.firstChild),this.element.insertBefore(this.contentsElement,this.element.firstChild),this.initializeScrollWheelWatcher(),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("scrollbar-vertical",this.padVerticalScrollbar.bind(this))}padVerticalScrollbar(e){this.table.rtl?this.headersElement.style.marginLeft=e+"px":this.headersElement.style.marginRight=e+"px"}initializeRenderer(){var e,r={virtual:kz,basic:Tz};typeof this.table.options.renderHorizontal=="string"?e=r[this.table.options.renderHorizontal]:e=this.table.options.renderHorizontal,e?(this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize()):console.error("Unable to find matching renderer:",this.table.options.renderHorizontal)}createHeadersElement(){var e=document.createElement("div");return e.classList.add("tabulator-headers"),e.setAttribute("role","row"),e}createHeaderContentsElement(){var e=document.createElement("div");return e.classList.add("tabulator-header-contents"),e.setAttribute("role","rowgroup"),e}createHeaderElement(){var e=document.createElement("div");return e.classList.add("tabulator-header"),e.setAttribute("role","rowgroup"),this.table.options.headerVisible||e.classList.add("tabulator-header-hidden"),e}getElement(){return this.element}getContentsElement(){return this.contentsElement}getHeadersElement(){return this.headersElement}scrollHorizontal(e){this.contentsElement.scrollLeft=e,this.scrollLeft=e,this.renderer.scrollColumns(e)}initializeScrollWheelWatcher(){this.contentsElement.addEventListener("wheel",e=>{var r;e.deltaX&&(r=this.contentsElement.scrollLeft+e.deltaX,this.table.rowManager.scrollHorizontal(r),this.table.columnManager.scrollHorizontal(r))})}generateColumnsFromRowData(e){var r=[],S=this.table.options.autoColumnsDefinitions,D,x;if(e&&e.length){D=e[0];for(var o in D){let t={field:o,title:o},d=D[o];switch(typeof d){case"undefined":x="string";break;case"boolean":x="boolean";break;case"object":Array.isArray(d)?x="array":x="string";break;default:!isNaN(d)&&d!==""?x="number":d.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?x="alphanum":x="string";break}t.sorter=x,r.push(t)}if(S)switch(typeof S){case"function":this.table.options.columns=S.call(this.table,r);break;case"object":Array.isArray(S)?r.forEach(t=>{var d=S.find(v=>v.field===t.field);d&&Object.assign(t,d)}):r.forEach(t=>{S[t.field]&&Object.assign(t,S[t.field])}),this.table.options.columns=r;break}else this.table.options.columns=r;this.setColumns(this.table.options.columns)}}setColumns(e,r){for(;this.headersElement.firstChild;)this.headersElement.removeChild(this.headersElement.firstChild);this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.dispatch("columns-loading"),e.forEach((S,D)=>{this._addColumn(S)}),this._reIndexColumns(),this.dispatch("columns-loaded"),this.rerenderColumns(!1,!0),this.redraw(!0)}_addColumn(e,r,S){var D=new cf(e,this),x=D.getElement(),o=S&&this.findColumnIndex(S);if(S&&o>-1){var t=S.getTopColumn(),d=this.columns.indexOf(t),v=t.getElement();r?(this.columns.splice(d,0,D),v.parentNode.insertBefore(x,v)):(this.columns.splice(d+1,0,D),v.parentNode.insertBefore(x,v.nextSibling))}else r?(this.columns.unshift(D),this.headersElement.insertBefore(D.getElement(),this.headersElement.firstChild)):(this.columns.push(D),this.headersElement.appendChild(D.getElement()));return D.columnRendered(),D}registerColumnField(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)}registerColumnPosition(e){this.columnsByIndex.push(e)}_reIndexColumns(){this.columnsByIndex=[],this.columns.forEach(function(e){e.reRegisterPosition()})}verticalAlignHeaders(){var e=0;this.redrawBlock||(this.headersElement.style.height="",this.columns.forEach(r=>{r.clearVerticalAlign()}),this.columns.forEach(r=>{var S=r.getHeight();S>e&&(e=S)}),this.headersElement.style.height=e+"px",this.columns.forEach(r=>{r.verticalAlign(this.table.options.columnHeaderVertAlign,e)}),this.table.rowManager.adjustTableSize())}findColumn(e){var r;if(typeof e=="object"){if(e instanceof cf)return e;if(e instanceof vM)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return r=[],this.columns.forEach(D=>{r.push(D),r=r.concat(D.getColumns(!0))}),r.find(D=>D.element===e)||!1}else return this.columnsByField[e]||!1;return!1}getColumnByField(e){return this.columnsByField[e]}getColumnsByFieldRoot(e){var r=[];return Object.keys(this.columnsByField).forEach(S=>{var D=S.split(".")[0];D===e&&r.push(this.columnsByField[S])}),r}getColumnByIndex(e){return this.columnsByIndex[e]}getFirstVisibleColumn(){var e=this.columnsByIndex.findIndex(r=>r.visible);return e>-1?this.columnsByIndex[e]:!1}getColumns(){return this.columns}findColumnIndex(e){return this.columnsByIndex.findIndex(r=>e===r)}getRealColumns(){return this.columnsByIndex}traverse(e){this.columnsByIndex.forEach((r,S)=>{e(r,S)})}getDefinitions(e){var r=[];return this.columnsByIndex.forEach(S=>{(!e||e&&S.visible)&&r.push(S.getDefinition())}),r}getDefinitionTree(){var e=[];return this.columns.forEach(r=>{e.push(r.getDefinition(!0))}),e}getComponents(e){var r=[],S=e?this.columns:this.columnsByIndex;return S.forEach(D=>{r.push(D.getComponent())}),r}getWidth(){var e=0;return this.columnsByIndex.forEach(r=>{r.visible&&(e+=r.getWidth())}),e}moveColumn(e,r,S){r.element.parentNode.insertBefore(e.element,r.element),S&&r.element.parentNode.insertBefore(r.element,e.element),this.moveColumnActual(e,r,S),this.verticalAlignHeaders(),this.table.rowManager.reinitialize()}moveColumnActual(e,r,S){e.parent.isGroup?this._moveColumnInArray(e.parent.columns,e,r,S):this._moveColumnInArray(this.columns,e,r,S),this._moveColumnInArray(this.columnsByIndex,e,r,S,!0),this.rerenderColumns(!0),this.dispatch("column-moved",e,r,S),this.subscribedExternal("columnMoved")&&this.dispatchExternal("columnMoved",e.getComponent(),this.table.columnManager.getComponents())}_moveColumnInArray(e,r,S,D,x){var o=e.indexOf(r),t,d=[];o>-1&&(e.splice(o,1),t=e.indexOf(S),t>-1?D&&(t=t+1):t=o,e.splice(t,0,r),x&&(d=this.chain("column-moving-rows",[r,S,D],null,[])||[],d=d.concat(this.table.rowManager.rows),d.forEach(function(v){if(v.cells.length){var i=v.cells.splice(o,1)[0];v.cells.splice(t,0,i)}})))}scrollToColumn(e,r,S){var D=0,x=e.getLeftOffset(),o=0,t=e.getElement();return new Promise((d,v)=>{if(typeof r>"u"&&(r=this.table.options.scrollToColumnPosition),typeof S>"u"&&(S=this.table.options.scrollToColumnIfVisible),e.visible){switch(r){case"middle":case"center":o=-this.element.clientWidth/2;break;case"right":o=t.clientWidth-this.headersElement.clientWidth;break}if(!S&&x>0&&x+t.offsetWidth{r.push(S.generateCell(e))}),r}getFlexBaseWidth(){var e=this.table.element.clientWidth,r=0;return this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(e-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),this.columnsByIndex.forEach(function(S){var D,x,o;S.visible&&(D=S.definition.width||0,x=parseInt(S.minWidth),typeof D=="string"?D.indexOf("%")>-1?o=e/100*parseInt(D):o=parseInt(D):o=D,r+=o>x?o:x)}),r}addColumn(e,r,S){return new Promise((D,x)=>{var o=this._addColumn(e,r,S);this._reIndexColumns(),this.dispatch("column-add",e,r,S),this.layoutMode()!="fitColumns"&&o.reinitializeWidth(),this.redraw(!0),this.table.rowManager.reinitialize(),this.rerenderColumns(),D(o)})}deregisterColumn(e){var r=e.getField(),S;r&&delete this.columnsByField[r],S=this.columnsByIndex.indexOf(e),S>-1&&this.columnsByIndex.splice(S,1),S=this.columns.indexOf(e),S>-1&&this.columns.splice(S,1),this.verticalAlignHeaders(),this.redraw()}rerenderColumns(e,r){this.redrawBlock?(e===!1||e===!0&&this.redrawBlockUpdate===null)&&(this.redrawBlockUpdate=e):this.renderer.rerenderColumns(e,r)}blockRedraw(){this.redrawBlock=!0,this.redrawBlockUpdate=null}restoreRedraw(){this.redrawBlock=!1,this.verticalAlignHeaders(),this.renderer.rerenderColumns(this.redrawBlockUpdate)}redraw(e){po.elVisible(this.element)&&this.verticalAlignHeaders(),e&&(this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),this.confirm("table-redrawing",e)||this.layoutRefresh(e),this.dispatch("table-redraw",e),this.table.footerManager.redraw()}}class Az extends Qy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.scrollTop=0,e.scrollLeft=0,e.style.minWidth="",e.style.minHeight="",e.style.display="",e.style.visibility=""}renderRows(){var e=this.tableElement,r=!0,S=document.createDocumentFragment(),D=this.rows();D.forEach((x,o)=>{this.styleRow(x,o),x.initialize(!1,!0),x.type!=="group"&&(r=!1),S.appendChild(x.getElement())}),e.appendChild(S),D.forEach(x=>{x.rendered(),x.heightInitialized||x.calcHeight(!0)}),D.forEach(x=>{x.heightInitialized||x.setCellHeight()}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}rerenderRows(e){this.clearRows(),e&&e(),this.renderRows()}scrollToRowNearestTop(e){var r=po.elOffset(e.getElement()).top;return!(Math.abs(this.elementVertical.scrollTop-r)>Math.abs(this.elementVertical.scrollTop+this.elementVertical.clientHeight-r))}scrollToRow(e){var r=e.getElement();this.elementVertical.scrollTop=po.elOffset(r).top-po.elOffset(this.elementVertical).top+this.elementVertical.scrollTop}visibleRows(e){return this.rows()}}class Sz extends Qy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[]}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.style.paddingTop="",e.style.paddingBottom="",e.style.minHeight="",e.style.display="",e.style.visibility="",this.elementVertical.scrollTop=0,this.elementVertical.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0,this.vDomTop=0,this.vDomBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0}renderRows(){this._virtualRenderFill()}rerenderRows(e){for(var r=this.elementVertical.scrollTop,S=!1,D=!1,x=this.table.rowManager.scrollLeft,o=this.rows(),t=this.vDomTop;t<=this.vDomBottom;t++)if(o[t]){var d=r-o[t].getElement().offsetTop;if(D===!1||Math.abs(d){v.deinitializeHeight()}),e&&e(),this.rows().length?this._virtualRenderFill(S===!1?this.rows.length-1:S,!0,D||0):(this.clear(),this.table.rowManager.tableEmpty()),this.scrollColumns(x)}scrollColumns(e){this.table.rowManager.scrollHorizontal(e)}scrollRows(e,r){var S=e-this.vDomScrollPosTop,D=e-this.vDomScrollPosBottom,x=this.vDomWindowBuffer*2,o=this.rows();if(this.scrollTop=e,-S>x||D>x){var t=this.table.rowManager.scrollLeft;this._virtualRenderFill(Math.floor(this.elementVertical.scrollTop/this.elementVertical.scrollHeight*o.length)),this.scrollColumns(t)}else r?(S<0&&this._addTopRow(o,-S),D<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(o,-D):this.vDomScrollPosBottom=this.scrollTop)):(D>=0&&this._addBottomRow(o,D),S>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(o,S):this.vDomScrollPosTop=this.scrollTop))}resize(){this.vDomWindowBuffer=this.table.options.renderVerticalBuffer||this.elementVertical.clientHeight}scrollToRowNearestTop(e){var r=this.rows().indexOf(e);return!(Math.abs(this.vDomTop-r)>Math.abs(this.vDomBottom-r))}scrollToRow(e){var r=this.rows().indexOf(e);r>-1&&this._virtualRenderFill(r,!0)}visibleRows(e){var r=this.elementVertical.scrollTop,S=this.elementVertical.clientHeight+r,D=!1,x=0,o=0,t=this.rows();if(e)x=this.vDomTop,o=this.vDomBottom;else for(var d=this.vDomTop;d<=this.vDomBottom;d++)if(t[d])if(D)if(S-t[d].getElement().offsetTop>=0)o=d;else break;else if(r-t[d].getElement().offsetTop>=0)x=d;else if(D=!0,S-t[d].getElement().offsetTop>=0)o=d;else break;return t.slice(x,o+1)}_virtualRenderFill(e,r,S){var D=this.tableElement,x=this.elementVertical,o=0,t=0,d=0,v=0,i=0,M=0,g=this.rows(),p=g.length,u=0,a,c,s=[],l=0,h=0,f=this.table.rowManager.fixedHeight,m=this.elementVertical.clientHeight,_=this.table.options.rowHeight,y=!0;if(e=e||0,S=S||0,!e)this.clear();else{for(;D.firstChild;)D.removeChild(D.firstChild);v=(p-e+1)*this.vDomRowHeight,v{C.rendered(),C.heightInitialized||C.calcHeight(!0)}),s.forEach(C=>{C.heightInitialized||C.setCellHeight()}),s.forEach(C=>{d=C.getHeight(),lthis.vDomWindowBuffer&&(this.vDomWindowBuffer=d*2),l++}),y=this.table.rowManager.adjustTableSize(),m=this.elementVertical.clientHeight,y&&(f||this.table.options.maxHeight)&&(_=t/l,h=Math.max(this.vDomWindowMinTotalRows,Math.ceil(m/_+this.vDomWindowBuffer/_)))}e?(this.vDomTopPad=r?this.vDomRowHeight*this.vDomTop+S:this.scrollTop-i,this.vDomBottomPad=this.vDomBottom==p-1?0:Math.max(this.vDomScrollHeight-this.vDomTopPad-t-i,0)):(this.vDomTopPad=0,this.vDomRowHeight=Math.floor((t+i)/l),this.vDomBottomPad=this.vDomRowHeight*(p-this.vDomBottom-1),this.vDomScrollHeight=i+t+this.vDomBottomPad-m),D.style.paddingTop=this.vDomTopPad+"px",D.style.paddingBottom=this.vDomBottomPad+"px",r&&(this.scrollTop=this.vDomTopPad+i+S-(this.elementVertical.scrollWidth>this.elementVertical.clientWidth?this.elementVertical.offsetHeight-m:0)),this.scrollTop=Math.min(this.scrollTop,this.elementVertical.scrollHeight-m),this.elementVertical.scrollWidth>this.elementVertical.clientWidth&&r&&(this.scrollTop+=this.elementVertical.offsetHeight-m),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,x.scrollTop=this.scrollTop,this.dispatch("render-virtual-fill")}}_addTopRow(e,r){for(var S=this.tableElement,D=[],x=0,o=this.vDomTop-1,t=0,d=!0;d;)if(this.vDomTop){let v=e[o],i,M;v&&t=i?(this.styleRow(v,o),S.insertBefore(v.getElement(),S.firstChild),(!v.initialized||!v.heightInitialized)&&D.push(v),v.initialize(),M||(i=v.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,x+=i,this.vDomTop--,o--,t++):d=!1):d=!1}else d=!1;for(let v of D)v.clearCellHeight();this._quickNormalizeRowHeight(D),x&&(this.vDomTopPad-=x,this.vDomTopPad<0&&(this.vDomTopPad=o*this.vDomRowHeight),o<1&&(this.vDomTopPad=0),S.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=x)}_removeTopRow(e,r){for(var S=[],D=0,x=0,o=!0;o;){let t=e[this.vDomTop],d;t&&x=d?(this.vDomTop++,r-=d,D+=d,S.push(t),x++):o=!1):o=!1}for(let t of S){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomTopPad+=D,this.tableElement.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?D:D+this.vDomWindowBuffer)}_addBottomRow(e,r){for(var S=this.tableElement,D=[],x=0,o=this.vDomBottom+1,t=0,d=!0;d;){let v=e[o],i,M;v&&t=i?(this.styleRow(v,o),S.appendChild(v.getElement()),(!v.initialized||!v.heightInitialized)&&D.push(v),v.initialize(),M||(i=v.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,x+=i,this.vDomBottom++,o++,t++):d=!1):d=!1}for(let v of D)v.clearCellHeight();this._quickNormalizeRowHeight(D),x&&(this.vDomBottomPad-=x,(this.vDomBottomPad<0||o==e.length-1)&&(this.vDomBottomPad=0),S.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=x)}_removeBottomRow(e,r){for(var S=[],D=0,x=0,o=!0;o;){let t=e[this.vDomBottom],d;t&&x=d?(this.vDomBottom--,r-=d,D+=d,S.push(t),x++):o=!1):o=!1}for(let t of S){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomBottomPad+=D,this.vDomBottomPad<0&&(this.vDomBottomPad=0),this.tableElement.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=D)}_quickNormalizeRowHeight(e){for(let r of e)r.calcHeight();for(let r of e)r.setCellHeight()}}class Cz extends Zl{constructor(e){super(e),this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.placeholder=null,this.placeholderContents=null,this.firstRender=!1,this.renderMode="virtual",this.fixedHeight=!1,this.rows=[],this.activeRowsPipeline=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRenderInPosition=!1,this.dataPipeline=[],this.displayPipeline=[],this.scrollbarWidth=0,this.renderer=null}createHolderElement(){var e=document.createElement("div");return e.classList.add("tabulator-tableholder"),e.setAttribute("tabindex",0),e}createTableElement(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e.setAttribute("role","rowgroup"),e}initializePlaceholder(){var e=this.table.options.placeholder;if(typeof e=="function"&&(e=e.call(this.table)),e=this.chain("placeholder",[e],e,e)||e,e){let r=document.createElement("div");if(r.classList.add("tabulator-placeholder"),typeof e=="string"){let S=document.createElement("div");S.classList.add("tabulator-placeholder-contents"),S.innerHTML=e,r.appendChild(S),this.placeholderContents=S}else typeof HTMLElement<"u"&&e instanceof HTMLElement?(r.appendChild(e),this.placeholderContents=e):(console.warn("Invalid placeholder provided, must be string or HTML Element",e),this.el=null);this.placeholder=r}}getElement(){return this.element}getTableElement(){return this.tableElement}initialize(){this.initializePlaceholder(),this.initializeRenderer(),this.element.appendChild(this.tableElement),this.firstRender=!0,this.element.addEventListener("scroll",()=>{var e=this.element.scrollLeft,r=this.scrollLeft>e,S=this.element.scrollTop,D=this.scrollTop>S;this.scrollLeft!=e&&(this.scrollLeft=e,this.dispatch("scroll-horizontal",e,r),this.dispatchExternal("scrollHorizontal",e,r),this._positionPlaceholder()),this.scrollTop!=S&&(this.scrollTop=S,this.renderer.scrollRows(S,D),this.dispatch("scroll-vertical",S,D),this.dispatchExternal("scrollVertical",S,D))})}findRow(e){if(typeof e=="object"){if(e instanceof wl)return e;if(e instanceof Xy)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return this.rows.find(S=>S.getElement()===e)||!1;if(e===null)return!1}else return typeof e>"u"?!1:this.rows.find(S=>S.data[this.table.options.index]==e)||!1;return!1}getRowFromDataObject(e){var r=this.rows.find(S=>S.data===e);return r||!1}getRowFromPosition(e){return this.getDisplayRows().find(r=>r.getPosition()===e&&r.isDisplayed())}scrollToRow(e,r,S){return this.renderer.scrollToRowPosition(e,r,S)}setData(e,r,S){return new Promise((D,x)=>{r&&this.getDisplayRows().length?this.table.options.pagination?this._setDataActual(e,!0):this.reRenderInPosition(()=>{this._setDataActual(e)}):(this.table.options.autoColumns&&S&&this.table.initialized&&this.table.columnManager.generateColumnsFromRowData(e),this.resetScroll(),this._setDataActual(e)),D()})}_setDataActual(e,r){this.dispatchExternal("dataProcessing",e),this._wipeElements(),Array.isArray(e)?(this.dispatch("data-processing",e),e.forEach((S,D)=>{if(S&&typeof S=="object"){var x=new wl(S,this);this.rows.push(x)}else console.warn("Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",S)}),this.refreshActiveData(!1,!1,r),this.dispatch("data-processed",e),this.dispatchExternal("dataProcessed",e)):console.error(`Data Loading Error - Unable to process data due to invalid data type Expecting: array Received: `,typeof e,` -Data: `,e)}_wipeElements(){this.dispatch("rows-wipe"),this.destroy(),this.adjustTableSize(),this.dispatch("rows-wiped")}destroy(){this.rows.forEach(e=>{e.wipe()}),this.rows=[],this.activeRows=[],this.activeRowsPipeline=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0}deleteRow(e,r){var S=this.rows.indexOf(e),D=this.activeRows.indexOf(e);D>-1&&this.activeRows.splice(D,1),S>-1&&this.rows.splice(S,1),this.setActiveRows(this.activeRows),this.displayRowIterator(x=>{var o=x.indexOf(e);o>-1&&x.splice(o,1)}),r||this.reRenderInPosition(),this.regenerateRowPositions(),this.dispatchExternal("rowDeleted",e.getComponent()),this.displayRowsCount||this.tableEmpty(),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.getData())}addRow(e,r,S,D){var x=this.addRowActual(e,r,S,D);return x}addRows(e,r,S,D){var x=[];return new Promise((o,t)=>{r=this.findAddRowPos(r),Array.isArray(e)||(e=[e]),(typeof S>"u"&&r||typeof S<"u"&&!r)&&e.reverse(),e.forEach((d,g)=>{var i=this.addRow(d,r,S,!0);x.push(i),this.dispatch("row-added",i,d,r,S)}),this.refreshActiveData(D?"displayPipeline":!1,!1,!0),this.regenerateRowPositions(),x.length&&this._clearPlaceholder(),o(x)})}findAddRowPos(e){return typeof e>"u"&&(e=this.table.options.addRowPos),e==="pos"&&(e=!0),e==="bottom"&&(e=!1),e}addRowActual(e,r,S,D){var x=e instanceof wl?e:new wl(e||{},this),o=this.findAddRowPos(r),t=-1,d,g;return S||(g=this.chain("row-adding-position",[x,o],null,{index:S,top:o}),S=g.index,o=g.top),typeof S<"u"&&(S=this.findRow(S)),S=this.chain("row-adding-index",[x,S,o],null,S),S&&(t=this.rows.indexOf(S)),S&&t>-1?(d=this.activeRows.indexOf(S),this.displayRowIterator(function(i){var M=i.indexOf(S);M>-1&&i.splice(o?M:M+1,0,x)}),d>-1&&this.activeRows.splice(o?d:d+1,0,x),this.rows.splice(o?t:t+1,0,x)):o?(this.displayRowIterator(function(i){i.unshift(x)}),this.activeRows.unshift(x),this.rows.unshift(x)):(this.displayRowIterator(function(i){i.push(x)}),this.activeRows.push(x),this.rows.push(x)),this.setActiveRows(this.activeRows),this.dispatchExternal("rowAdded",x.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),D||this.reRenderInPosition(),x}moveRow(e,r,S){this.dispatch("row-move",e,r,S),this.moveRowActual(e,r,S),this.regenerateRowPositions(),this.dispatch("row-moved",e,r,S),this.dispatchExternal("rowMoved",e.getComponent())}moveRowActual(e,r,S){this.moveRowInArray(this.rows,e,r,S),this.moveRowInArray(this.activeRows,e,r,S),this.displayRowIterator(D=>{this.moveRowInArray(D,e,r,S)}),this.dispatch("row-moving",e,r,S)}moveRowInArray(e,r,S,D){var x,o,t,d;if(r!==S&&(x=e.indexOf(r),x>-1&&(e.splice(x,1),o=e.indexOf(S),o>-1?D?e.splice(o+1,0,r):e.splice(o,0,r):e.splice(x,0,r)),e===this.getDisplayRows())){t=xx?o:x+1;for(let g=t;g<=d;g++)e[g]&&this.styleRow(e[g],g)}}clearData(){this.setData([])}getRowIndex(e){return this.findRowIndex(e,this.rows)}getDisplayRowIndex(e){var r=this.getDisplayRows().indexOf(e);return r>-1?r:!1}nextDisplayRow(e,r){var S=this.getDisplayRowIndex(e),D=!1;return S!==!1&&S-1)?S:!1}getData(e,r){var S=[],D=this.getRows(e);return D.forEach(function(x){x.type=="row"&&S.push(x.getData(r||"data"))}),S}getComponents(e){var r=[],S=this.getRows(e);return S.forEach(function(D){r.push(D.getComponent())}),r}getDataCount(e){var r=this.getRows(e);return r.length}scrollHorizontal(e){this.scrollLeft=e,this.element.scrollLeft=e,this.dispatch("scroll-horizontal",e)}registerDataPipelineHandler(e,r){typeof r<"u"?(this.dataPipeline.push({handler:e,priority:r}),this.dataPipeline.sort((S,D)=>S.priority-D.priority)):console.error("Data pipeline handlers must have a priority in order to be registered")}registerDisplayPipelineHandler(e,r){typeof r<"u"?(this.displayPipeline.push({handler:e,priority:r}),this.displayPipeline.sort((S,D)=>S.priority-D.priority)):console.error("Display pipeline handlers must have a priority in order to be registered")}refreshActiveData(e,r,S){var D=this.table,x="",o=0,t=["all","dataPipeline","display","displayPipeline","end"];if(!this.table.destroyed){if(typeof e=="function")if(o=this.dataPipeline.findIndex(d=>d.handler===e),o>-1)x="dataPipeline",r&&(o==this.dataPipeline.length-1?x="display":o++);else if(o=this.displayPipeline.findIndex(d=>d.handler===e),o>-1)x="displayPipeline",r&&(o==this.displayPipeline.length-1?x="end":o++);else{console.error("Unable to refresh data, invalid handler provided",e);return}else x=e||"all",o=0;if(this.redrawBlock){(!this.redrawBlockRestoreConfig||this.redrawBlockRestoreConfig&&(this.redrawBlockRestoreConfig.stage===x&&o{S.type==="row"&&(S.setPosition(r),r++)})}setActiveRows(e){this.activeRows=this.activeRows=Object.assign([],e),this.activeRowsCount=this.activeRows.length}resetDisplayRows(){this.displayRows=[],this.displayRows.push(this.activeRows.slice(0)),this.displayRowsCount=this.displayRows[0].length}setDisplayRows(e,r){this.displayRows[r]=e,r==this.displayRows.length-1&&(this.displayRowsCount=this.displayRows[this.displayRows.length-1].length)}getDisplayRows(e){return typeof e>"u"?this.displayRows.length?this.displayRows[this.displayRows.length-1]:[]:this.displayRows[e]||[]}getVisibleRows(e,r){var S=Object.assign([],this.renderer.visibleRows(!r));return e&&(S=this.chain("rows-visible",[r],S,S)),S}displayRowIterator(e){this.activeRowsPipeline.forEach(e),this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length}getRows(e){var r=[];switch(e){case"active":r=this.activeRows;break;case"display":r=this.table.rowManager.getDisplayRows();break;case"visible":r=this.getVisibleRows(!1,!0);break;default:r=this.chain("rows-retrieve",e,null,this.rows)||this.rows}return r}reRenderInPosition(e){this.redrawBlock?e?e():this.redrawBlockRenderInPosition=!0:(this.dispatchExternal("renderStarted"),this.renderer.rerenderRows(e),this.fixedHeight||this.adjustTableSize(),this.scrollBarCheck(),this.dispatchExternal("renderComplete"))}scrollBarCheck(){var e=0;this.element.scrollHeight>this.element.clientHeight&&(e=this.element.offsetWidth-this.element.clientWidth),e!==this.scrollbarWidth&&(this.scrollbarWidth=e,this.dispatch("scrollbar-vertical",e))}initializeRenderer(){var e,r={virtual:Sz,basic:Az};typeof this.table.options.renderVertical=="string"?e=r[this.table.options.renderVertical]:e=this.table.options.renderVertical,e?(this.renderMode=this.table.options.renderVertical,this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize(),(this.table.element.clientHeight||this.table.options.height)&&!(this.table.options.minHeight&&this.table.options.maxHeight)?this.fixedHeight=!0:this.fixedHeight=!1):console.error("Unable to find matching renderer:",this.table.options.renderVertical)}getRenderMode(){return this.renderMode}renderTable(){this.dispatchExternal("renderStarted"),this.element.scrollTop=0,this._clearTable(),this.displayRowsCount?(this.renderer.renderRows(),this.firstRender&&(this.firstRender=!1,this.fixedHeight||this.adjustTableSize(),this.layoutRefresh(!0))):this.renderEmptyScroll(),this.fixedHeight||this.adjustTableSize(),this.dispatch("table-layout"),this.displayRowsCount||this._showPlaceholder(),this.scrollBarCheck(),this.dispatchExternal("renderComplete")}renderEmptyScroll(){this.placeholder?this.tableElement.style.display="none":this.tableElement.style.minWidth=this.table.columnManager.getWidth()+"px"}_clearTable(){this._clearPlaceholder(),this.scrollTop=0,this.scrollLeft=0,this.renderer.clearRows()}tableEmpty(){this.renderEmptyScroll(),this._showPlaceholder()}_showPlaceholder(){this.placeholder&&(this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.initializePlaceholder(),this.placeholder.setAttribute("tabulator-render-mode",this.renderMode),this.getElement().appendChild(this.placeholder),this._positionPlaceholder(),this.adjustTableSize())}_clearPlaceholder(){this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.tableElement.style.minWidth="",this.tableElement.style.display=""}_positionPlaceholder(){this.placeholder&&this.placeholder.parentNode&&(this.placeholder.style.width=this.table.columnManager.getWidth()+"px",this.placeholderContents.style.width=this.table.rowManager.element.clientWidth+"px",this.placeholderContents.style.marginLeft=this.scrollLeft+"px")}styleRow(e,r){var S=e.getElement();r%2?(S.classList.add("tabulator-row-even"),S.classList.remove("tabulator-row-odd")):(S.classList.add("tabulator-row-odd"),S.classList.remove("tabulator-row-even"))}normalizeHeight(){this.activeRows.forEach(function(e){e.normalizeHeight()})}adjustTableSize(){let e=this.element.clientHeight,r,S=!1;if(this.renderer.verticalFillMode==="fill"){let D=Math.floor(this.table.columnManager.getElement().getBoundingClientRect().height+(this.table.footerManager&&this.table.footerManager.active&&!this.table.footerManager.external?this.table.footerManager.getElement().getBoundingClientRect().height:0));if(this.fixedHeight){r=isNaN(this.table.options.minHeight)?this.table.options.minHeight:this.table.options.minHeight+"px";const x="calc(100% - "+D+"px)";this.element.style.minHeight=r||"calc(100% - "+D+"px)",this.element.style.height=x,this.element.style.maxHeight=x}else this.element.style.height="",this.element.style.height=this.table.element.clientHeight-D+"px",this.element.scrollTop=this.scrollTop;this.renderer.resize(),!this.fixedHeight&&e!=this.element.clientHeight&&(S=!0,this.subscribed("table-resize")?this.dispatch("table-resize"):this.redraw()),this.scrollBarCheck()}return this._positionPlaceholder(),S}reinitialize(){this.rows.forEach(function(e){e.reinitialize(!0)})}blockRedraw(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1}restoreRedraw(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.handler,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRenderInPosition&&this.reRenderInPosition(),this.redrawBlockRenderInPosition=!1}redraw(e){const r=this.adjustTableSize();this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():(r&&this.reRenderInPosition(),this.scrollHorizontal(this.scrollLeft))}resetScroll(){if(this.element.scrollLeft=0,this.element.scrollTop=0,this.table.browser==="ie"){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))}}class Ez extends Zl{constructor(e){super(e),this.active=!1,this.element=this.createElement(),this.containerElement=this.createContainerElement(),this.external=!1}initialize(){this.initializeElement()}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer"),e}createContainerElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer-contents"),this.element.appendChild(e),e}initializeElement(){if(this.table.options.footerElement)switch(typeof this.table.options.footerElement){case"string":this.table.options.footerElement[0]==="<"?this.containerElement.innerHTML=this.table.options.footerElement:(this.external=!0,this.containerElement=document.querySelector(this.table.options.footerElement));break;default:this.element=this.table.options.footerElement;break}}getElement(){return this.element}append(e){this.activate(),this.containerElement.appendChild(e),this.table.rowManager.adjustTableSize()}prepend(e){this.activate(),this.element.insertBefore(e,this.element.firstChild),this.table.rowManager.adjustTableSize()}remove(e){e.parentNode.removeChild(e),this.deactivate()}deactivate(e){(!this.element.firstChild||e)&&(this.external||this.element.parentNode.removeChild(this.element),this.active=!1)}activate(){this.active||(this.active=!0,this.external||(this.table.element.appendChild(this.getElement()),this.table.element.style.display=""))}redraw(){this.dispatch("footer-redraw")}}class Lz extends Zl{constructor(e){super(e),this.el=null,this.abortClasses=["tabulator-headers","tabulator-table"],this.previousTargets={},this.listeners=["click","dblclick","contextmenu","mouseenter","mouseleave","mouseover","mouseout","mousemove","mouseup","mousedown","touchstart","touchend"],this.componentMap={"tabulator-cell":"cell","tabulator-row":"row","tabulator-group":"group","tabulator-col":"column"},this.pseudoTrackers={row:{subscriber:null,target:null},cell:{subscriber:null,target:null},group:{subscriber:null,target:null},column:{subscriber:null,target:null}},this.pseudoTracking=!1}initialize(){this.el=this.table.element,this.buildListenerMap(),this.bindSubscriptionWatchers()}buildListenerMap(){var e={};this.listeners.forEach(r=>{e[r]={handler:null,components:[]}}),this.listeners=e}bindPseudoEvents(){Object.keys(this.pseudoTrackers).forEach(e=>{this.pseudoTrackers[e].subscriber=this.pseudoMouseEnter.bind(this,e),this.subscribe(e+"-mouseover",this.pseudoTrackers[e].subscriber)}),this.pseudoTracking=!0}pseudoMouseEnter(e,r,S){this.pseudoTrackers[e].target!==S&&(this.pseudoTrackers[e].target&&this.dispatch(e+"-mouseleave",r,this.pseudoTrackers[e].target),this.pseudoMouseLeave(e,r),this.pseudoTrackers[e].target=S,this.dispatch(e+"-mouseenter",r,S))}pseudoMouseLeave(e,r){var S=Object.keys(this.pseudoTrackers),D={row:["cell"],cell:["row"]};S=S.filter(x=>{var o=D[e];return x!==e&&(!o||o&&!o.includes(x))}),S.forEach(x=>{var o=this.pseudoTrackers[x].target;this.pseudoTrackers[x].target&&(this.dispatch(x+"-mouseleave",r,o),this.pseudoTrackers[x].target=null)})}bindSubscriptionWatchers(){var e=Object.keys(this.listeners),r=Object.values(this.componentMap);for(let S of r)for(let D of e){let x=S+"-"+D;this.subscriptionChange(x,this.subscriptionChanged.bind(this,S,D))}this.subscribe("table-destroy",this.clearWatchers.bind(this))}subscriptionChanged(e,r,S){var D=this.listeners[r].components,x=D.indexOf(e),o=!1;S?x===-1&&(D.push(e),o=!0):this.subscribed(e+"-"+r)||x>-1&&(D.splice(x,1),o=!0),(r==="mouseenter"||r==="mouseleave")&&!this.pseudoTracking&&this.bindPseudoEvents(),o&&this.updateEventListeners()}updateEventListeners(){for(let e in this.listeners){let r=this.listeners[e];r.components.length?r.handler||(r.handler=this.track.bind(this,e),this.el.addEventListener(e,r.handler)):r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}track(e,r){var S=r.composedPath&&r.composedPath()||r.path,D=this.findTargets(S);D=this.bindComponents(e,D),this.triggerEvents(e,r,D),this.pseudoTracking&&(e=="mouseover"||e=="mouseleave")&&!Object.keys(D).length&&this.pseudoMouseLeave("none",r)}findTargets(e){var r={};let S=Object.keys(this.componentMap);for(let D of e){let x=D.classList?[...D.classList]:[];if(x.filter(d=>this.abortClasses.includes(d)).length)break;let t=x.filter(d=>S.includes(d));for(let d of t)r[this.componentMap[d]]||(r[this.componentMap[d]]=D)}return r.group&&r.group===r.row&&delete r.row,r}bindComponents(e,r){var S=Object.keys(r).reverse(),D=this.listeners[e],x={},o={};for(let t of S){let d,g=r[t],i=this.previousTargets[t];if(i&&i.target===g)d=i.component;else switch(t){case"row":case"group":(D.components.includes("row")||D.components.includes("cell")||D.components.includes("group"))&&(d=this.table.rowManager.getVisibleRows(!0).find(v=>v.getElement()===g),r.row&&r.row.parentNode&&r.row.parentNode.closest(".tabulator-row")&&(r[t]=!1));break;case"column":D.components.includes("column")&&(d=this.table.columnManager.findColumn(g));break;case"cell":D.components.includes("cell")&&(x.row instanceof wl?d=x.row.findCell(g):r.row&&console.warn("Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"));break}d&&(x[t]=d,o[t]={target:g,component:d})}return this.previousTargets=o,x}triggerEvents(e,r,S){var D=this.listeners[e];for(let x in S)S[x]&&D.components.includes(x)&&this.dispatch(x+"-"+e,r,S[x])}clearWatchers(){for(let e in this.listeners){let r=this.listeners[e];r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}}class Iz{constructor(e){this.table=e,this.bindings={}}bind(e,r,S){this.bindings[e]||(this.bindings[e]={}),this.bindings[e][r]?console.warn("Unable to bind component handler, a matching function name is already bound",e,r,S):this.bindings[e][r]=S}handle(e,r,S){if(this.bindings[e]&&this.bindings[e][S]&&typeof this.bindings[e][S].bind=="function")return this.bindings[e][S].bind(null,r);S!=="then"&&typeof S=="string"&&!S.startsWith("_")&&this.table.options.debugInvalidComponentFuncs&&console.error("The "+e+" component does not have a "+S+" function, have you checked that you have the correct Tabulator module installed?")}}class Oz extends Zl{constructor(e){super(e),this.requestOrder=0,this.loading=!1}initialize(){}load(e,r,S,D,x,o){var t=++this.requestOrder;if(this.table.destroyed)return Promise.resolve();if(this.dispatchExternal("dataLoading",e),e&&(e.indexOf("{")==0||e.indexOf("[")==0)&&(e=JSON.parse(e)),this.confirm("data-loading",[e,r,S,x])){this.loading=!0,x||this.alertLoader(),r=this.chain("data-params",[e,S,x],r||{},r||{}),r=this.mapParams(r,this.table.options.dataSendParams);var d=this.chain("data-load",[e,r,S,x],!1,Promise.resolve([]));return d.then(g=>{if(this.table.destroyed)console.warn("Data Load Response Blocked - Table has been destroyed");else{!Array.isArray(g)&&typeof g=="object"&&(g=this.mapParams(g,this.objectInvert(this.table.options.dataReceiveParams)));var i=this.chain("data-loaded",g,null,g);t==this.requestOrder?(this.clearAlert(),i!==!1&&(this.dispatchExternal("dataLoaded",i),this.table.rowManager.setData(i,D,typeof o>"u"?!D:o))):console.warn("Data Load Response Blocked - An active data load request was blocked by an attempt to change table data while the request was being made")}}).catch(g=>{console.error("Data Load Error: ",g),this.dispatchExternal("dataLoadError",g),x||this.alertError(),setTimeout(()=>{this.clearAlert()},this.table.options.dataLoaderErrorTimeout)}).finally(()=>{this.loading=!1})}else return this.dispatchExternal("dataLoaded",e),e||(e=[]),this.table.rowManager.setData(e,D,typeof o>"u"?!D:o),Promise.resolve()}mapParams(e,r){var S={};for(let D in e)S[r.hasOwnProperty(D)?r[D]:D]=e[D];return S}objectInvert(e){var r={};for(let S in e)r[e[S]]=S;return r}blockActiveLoad(){this.requestOrder++}alertLoader(){var e=typeof this.table.options.dataLoader=="function"?this.table.options.dataLoader():this.table.options.dataLoader;e&&this.table.alertManager.alert(this.table.options.dataLoaderLoading||this.langText("data|loading"))}alertError(){this.table.alertManager.alert(this.table.options.dataLoaderError||this.langText("data|error"),"error")}clearAlert(){this.table.alertManager.clear()}}class Pz{constructor(e,r,S){this.table=e,this.events={},this.optionsList=r||{},this.subscriptionNotifiers={},this.dispatch=S?this._debugDispatch.bind(this):this._dispatch.bind(this),this.debug=S}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r){this.events[e]||(this.events[e]=[]),this.events[e].push(r),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var S;if(this.events[e])if(r)if(S=this.events[e].findIndex(D=>D===r),S>-1)this.events[e].splice(S,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}else delete this.events[e];else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_notifySubscriptionChange(e,r){var S=this.subscriptionNotifiers[e];S&&S.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift(),S;return this.events[r]&&this.events[r].forEach((D,x)=>{let o=D.apply(this.table,e);x||(S=o)}),S}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="ExternalEvent:"+e[0],(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}}class Dz{constructor(e){this.events={},this.subscriptionNotifiers={},this.dispatch=e?this._debugDispatch.bind(this):this._dispatch.bind(this),this.chain=e?this._debugChain.bind(this):this._chain.bind(this),this.confirm=e?this._debugConfirm.bind(this):this._confirm.bind(this),this.debug=e}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r,S=1e4){this.events[e]||(this.events[e]=[]),this.events[e].push({callback:r,priority:S}),this.events[e].sort((D,x)=>D.priority-x.priority),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var S;if(this.events[e]){if(r)if(S=this.events[e].findIndex(D=>D.callback===r),S>-1)this.events[e].splice(S,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}}else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_chain(e,r,S,D){var x=S;return Array.isArray(r)||(r=[r]),this.subscribed(e)?(this.events[e].forEach((o,t)=>{x=o.callback.apply(this,r.concat([x]))}),x):typeof D=="function"?D():D}_confirm(e,r){var S=!1;return Array.isArray(r)||(r=[r]),this.subscribed(e)&&this.events[e].forEach((D,x)=>{D.callback.apply(this,r)&&(S=!0)}),S}_notifySubscriptionChange(e,r){var S=this.subscriptionNotifiers[e];S&&S.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift();this.events[r]&&this.events[r].forEach(S=>{S.callback.apply(this,e)})}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}_debugChain(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._chain(...arguments)}_debugConfirm(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._confirm(...arguments)}}class Rz extends Zl{constructor(e){super(e)}_warnUser(){this.options("debugDeprecation")&&console.warn(...arguments)}check(e,r){var S="";return typeof this.options(e)<"u"?(S="Deprecated Setup Option - Use of the %c"+e+"%c option is now deprecated",r?(S=S+", Please use the %c"+r+"%c option instead",this._warnUser(S,"font-weight: bold;","font-weight: normal;","font-weight: bold;","font-weight: normal;")):this._warnUser(S,"font-weight: bold;","font-weight: normal;"),!1):!0}checkMsg(e,r){return typeof this.options(e)<"u"?(this._warnUser("%cDeprecated Setup Option - Use of the %c"+e+" %c option is now deprecated, "+r,"font-weight: normal;","font-weight: bold;","font-weight: normal;"),!1):!0}msg(e){this._warnUser(e)}}class pu{static register(e){pu.tables.push(e)}static deregister(e){var r=pu.tables.indexOf(e);r>-1&&pu.tables.splice(r,1)}static lookupTable(e,r){var S=[],D,x;if(typeof e=="string"){if(D=document.querySelectorAll(e),D.length)for(var o=0;o{o.widthFixed||o.reinitializeWidth(),(this.table.options.responsiveLayout?o.modules.responsive.visible:o.visible)&&(x=o),o.visible&&(r+=o.getWidth())}),x?(D=S-r+x.getWidth(),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&(x.setWidth(0),this.table.modules.responsiveLayout.update()),D>0?x.setWidth(D):x.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()}function Bz(n,e){var r=this.table.rowManager.element.getBoundingClientRect().width,S=0,D=0,x=0,o=0,t=[],d=[],g=0,i=0,M=0;function v(u){var a;return typeof u=="string"?u.indexOf("%")>-1?a=r/100*parseInt(u):a=parseInt(u):a=u,a}function p(u,a,c,s){var l=[],h=0,f=0,m=0,_=x,y=0,C=0,w=[];function k(T){return c*(T.column.definition.widthGrow||1)}function E(T){return v(T.width)-c*(T.column.definition.widthShrink||0)}return u.forEach(function(T,A){var L=s?E(T):k(T);T.column.minWidth>=L?l.push(T):T.column.maxWidth&&T.column.maxWidththis.table.rowManager.element.clientHeight&&(r-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),n.forEach(function(u){var a,c,s;u.visible&&(a=u.definition.width,c=parseInt(u.minWidth),a?(s=v(a),S+=s>c?s:c,u.definition.widthShrink&&(d.push({column:u,width:s>c?s:c}),g+=u.definition.widthShrink)):(t.push({column:u,width:0}),x+=u.definition.widthGrow||1))}),D=r-S,o=Math.floor(D/x),M=p(t,D,o,!1),t.length&&M>0&&(t[t.length-1].width+=M),t.forEach(function(u){D-=u.width}),i=Math.abs(M)+D,i>0&&g&&(M=p(d,i,Math.floor(i/g),!0)),M&&d.length&&(d[d.length-1].width-=M),t.forEach(function(u){u.column.setWidth(u.width)}),d.forEach(function(u){u.column.setWidth(u.width)})}var Nz={fitData:zz,fitDataFill:tT,fitDataTable:tT,fitDataStretch:Fz,fitColumns:Bz};class t0 extends Xi{constructor(e){super(e,"layout"),this.mode=null,this.registerTableOption("layout","fitData"),this.registerTableOption("layoutColumnsOnNewData",!1),this.registerColumnOption("widthGrow"),this.registerColumnOption("widthShrink")}initialize(){var e=this.table.options.layout;t0.modes[e]?this.mode=e:(console.warn("Layout Error - invalid mode set, defaulting to 'fitData' : "+e),this.mode="fitData"),this.table.element.setAttribute("tabulator-layout",this.mode)}getMode(){return this.mode}layout(e){this.dispatch("layout-refreshing"),t0.modes[this.mode].call(this,this.table.columnManager.columnsByIndex,e),this.dispatch("layout-refreshed")}}t0.moduleName="layout";t0.modes=Nz;var Vz={default:{groups:{item:"item",items:"items"},columns:{},data:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",page_title:"Show Page",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page",all:"All",counter:{showing:"Showing",of:"of",rows:"rows",pages:"pages"}},headerFilters:{default:"filter column...",columns:{}}}};class sg extends Xi{constructor(e){super(e),this.locale="default",this.lang=!1,this.bindings={},this.langList={},this.registerTableOption("locale",!1),this.registerTableOption("langs",{})}initialize(){this.langList=po.deepClone(sg.langs),this.table.options.columnDefaults.headerFilterPlaceholder!==!1&&this.setHeaderFilterPlaceholder(this.table.options.columnDefaults.headerFilterPlaceholder);for(let e in this.table.options.langs)this.installLang(e,this.table.options.langs[e]);this.setLocale(this.table.options.locale),this.registerTableFunction("setLocale",this.setLocale.bind(this)),this.registerTableFunction("getLocale",this.getLocale.bind(this)),this.registerTableFunction("getLang",this.getLang.bind(this))}setHeaderFilterPlaceholder(e){this.langList.default.headerFilters.default=e}installLang(e,r){this.langList[e]?this._setLangProp(this.langList[e],r):this.langList[e]=r}_setLangProp(e,r){for(let S in r)e[S]&&typeof e[S]=="object"?this._setLangProp(e[S],r[S]):e[S]=r[S]}setLocale(e){e=e||"default";function r(S,D){for(var x in S)typeof S[x]=="object"?(D[x]||(D[x]={}),r(S[x],D[x])):D[x]=S[x]}if(e===!0&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!this.langList[e]){let S=e.split("-")[0];this.langList[S]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,S),e=S):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}this.locale=e,this.lang=po.deepClone(this.langList.default||{}),e!="default"&&r(this.langList[e],this.lang),this.dispatchExternal("localized",this.locale,this.lang),this._executeBindings()}getLocale(e){return this.locale}getLang(e){return e?this.langList[e]:this.lang}getText(e,r){var S=r?e+"|"+r:e,D=S.split("|"),x=this._getLangElement(D,this.locale);return x||""}_getLangElement(e,r){var S=this.lang;return e.forEach(function(D){var x;S&&(x=S[D],typeof x<"u"?S=x:S=!1)}),S}bind(e,r){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(r),r(this.getText(e),this.lang)}_executeBindings(){for(let e in this.bindings)this.bindings[e].forEach(r=>{r(this.getText(e),this.lang)})}}sg.moduleName="localize";sg.langs=Vz;class BM extends Xi{constructor(e){super(e)}initialize(){this.registerTableFunction("tableComms",this.receive.bind(this))}getConnections(e){var r=[],S;return S=pu.lookupTable(e),S.forEach(D=>{this.table!==D&&r.push(D)}),r}send(e,r,S,D){var x=this.getConnections(e);x.forEach(o=>{o.tableComms(this.table.element,r,S,D)}),!x.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)}receive(e,r,S,D){if(this.table.modExists(r))return this.table.modules[r].commsReceived(e,S,D);console.warn("Inter-table Comms Error - no such module:",r)}}BM.moduleName="comms";var jz=Object.freeze({__proto__:null,LayoutModule:t0,LocalizeModule:sg,CommsModule:BM});class NM{constructor(e,r){this.bindStaticFunctionality(e),this.bindModules(e,jz,!0),r&&this.bindModules(e,r)}bindStaticFunctionality(e){e.moduleBindings={},e.extendModule=function(r,S,D){if(e.moduleBindings[r]){var x=e.moduleBindings[r][S];if(x)if(typeof D=="object")for(let o in D)x[o]=D[o];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",S)}else console.warn("Module Error - module does not exist:",r)},e.registerModule=function(r){Array.isArray(r)||(r=[r]),r.forEach(S=>{e.registerModuleBinding(S)})},e.registerModuleBinding=function(r){e.moduleBindings[r.moduleName]=r},e.findTable=function(r){var S=pu.lookupTable(r,!0);return Array.isArray(S)&&!S.length?!1:S},e.prototype.bindModules=function(){var r=[],S=[],D=[];this.modules={};for(var x in e.moduleBindings){let o=e.moduleBindings[x],t=new o(this);this.modules[x]=t,o.prototype.moduleCore?this.modulesCore.push(t):o.moduleInitOrder?o.moduleInitOrder<0?r.push(t):S.push(t):D.push(t)}r.sort((o,t)=>o.moduleInitOrder>t.moduleInitOrder?1:-1),S.sort((o,t)=>o.moduleInitOrder>t.moduleInitOrder?1:-1),this.modulesRegular=r.concat(D.concat(S))}}bindModules(e,r,S){var D=Object.values(r);S&&D.forEach(x=>{x.prototype.moduleCore=!0}),e.registerModule(D)}}class Uz extends Zl{constructor(e){super(e),this.element=this._createAlertElement(),this.msgElement=this._createMsgElement(),this.type=null,this.element.appendChild(this.msgElement)}_createAlertElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert"),e}_createMsgElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert-msg"),e.setAttribute("role","alert"),e}_typeClass(){return"tabulator-alert-state-"+this.type}alert(e,r="msg"){if(e){for(this.clear(),this.type=r;this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.add(this._typeClass()),typeof e=="function"&&(e=e()),e instanceof HTMLElement?this.msgElement.appendChild(e):this.msgElement.innerHTML=e,this.table.element.appendChild(this.element)}}clear(){this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.msgElement.classList.remove(this._typeClass())}}class zd{constructor(e,r){this.options={},this.columnManager=null,this.rowManager=null,this.footerManager=null,this.alertManager=null,this.vdomHoz=null,this.externalEvents=null,this.eventBus=null,this.interactionMonitor=!1,this.browser="",this.browserSlow=!1,this.browserMobile=!1,this.rtl=!1,this.originalElement=null,this.componentFunctionBinder=new Iz(this),this.dataLoader=!1,this.modules={},this.modulesCore=[],this.modulesRegular=[],this.deprecationAdvisor=new Rz(this),this.optionsList=new FM(this,"table constructor"),this.initialized=!1,this.destroyed=!1,this.initializeElement(e)&&(this.initializeCoreSystems(r),setTimeout(()=>{this._create()})),pu.register(this)}initializeElement(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement?(this.element=e,!0):typeof e=="string"?(this.element=document.querySelector(e),this.element?!0:(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)}initializeCoreSystems(e){this.columnManager=new Mz(this),this.rowManager=new Cz(this),this.footerManager=new Ez(this),this.dataLoader=new Oz(this),this.alertManager=new Uz(this),this.bindModules(),this.options=this.optionsList.generate(zd.defaultOptions,e),this._clearObjectPointers(),this._mapDeprecatedFunctionality(),this.externalEvents=new Pz(this,this.options,this.options.debugEventsExternal),this.eventBus=new Dz(this.options.debugEventsInternal),this.interactionMonitor=new Lz(this),this.dataLoader.initialize(),this.footerManager.initialize()}_mapDeprecatedFunctionality(){}_clearSelection(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")}_create(){this.externalEvents.dispatch("tableBuilding"),this.eventBus.dispatch("table-building"),this._rtlCheck(),this._buildElement(),this._initializeTable(),this._loadInitialData(),this.initialized=!0,this.externalEvents.dispatch("tableBuilt")}_rtlCheck(){var e=window.getComputedStyle(this.element);switch(this.options.textDirection){case"auto":if(e.direction!=="rtl")break;case"rtl":this.element.classList.add("tabulator-rtl"),this.rtl=!0;break;case"ltr":this.element.classList.add("tabulator-ltr");default:this.rtl=!1}}_clearObjectPointers(){this.options.columns=this.options.columns.slice(0),Array.isArray(this.options.data)&&!this.options.reactiveData&&(this.options.data=this.options.data.slice(0))}_buildElement(){var e=this.element,r=this.options,S;if(e.tagName==="TABLE"){this.originalElement=this.element,S=document.createElement("div");var D=e.attributes;for(var x in D)typeof D[x]=="object"&&S.setAttribute(D[x].name,D[x].value);e.parentNode.replaceChild(S,e),this.element=e=S}for(e.classList.add("tabulator"),e.setAttribute("role","grid");e.firstChild;)e.removeChild(e.firstChild);r.height&&(r.height=isNaN(r.height)?r.height:r.height+"px",e.style.height=r.height),r.minHeight!==!1&&(r.minHeight=isNaN(r.minHeight)?r.minHeight:r.minHeight+"px",e.style.minHeight=r.minHeight),r.maxHeight!==!1&&(r.maxHeight=isNaN(r.maxHeight)?r.maxHeight:r.maxHeight+"px",e.style.maxHeight=r.maxHeight)}_initializeTable(){var e=this.element,r=this.options;this.interactionMonitor.initialize(),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modulesCore.forEach(S=>{S.initialize()}),e.appendChild(this.columnManager.getElement()),e.appendChild(this.rowManager.getElement()),r.footerElement&&this.footerManager.activate(),r.autoColumns&&r.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modulesRegular.forEach(S=>{S.initialize()}),this.columnManager.setColumns(r.columns),this.eventBus.dispatch("table-built")}_loadInitialData(){this.dataLoader.load(this.options.data)}destroy(){var e=this.element;for(this.destroyed=!0,pu.deregister(this),this.eventBus.dispatch("table-destroy"),this.rowManager.destroy();e.firstChild;)e.removeChild(e.firstChild);e.classList.remove("tabulator"),this.externalEvents.dispatch("tableDestroyed")}_detectBrowser(){var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):e.indexOf("Mac OS")>-1?(this.browser="safari",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1),this.browserMobile=/(android|bb\d+|meego).+mobile|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(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.slice(0,4))}initGuard(e,r){var S,D;return this.options.debugInitialization&&!this.initialized&&(e||(S=new Error().stack.split(` -`),D=S[0]=="Error"?S[2]:S[1],D[0]==" "?e=D.trim().split(" ")[1].split(".")[1]:e=D.trim().split("@")[0]),console.warn("Table Not Initialized - Calling the "+e+" function before the table is initialized may result in inconsistent behavior, Please wait for the `tableBuilt` event before calling this function."+(r?" "+r:""))),this.initialized}blockRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-blocking"),this.rowManager.blockRedraw(),this.columnManager.blockRedraw(),this.eventBus.dispatch("redraw-blocked")}restoreRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-restoring"),this.rowManager.restoreRedraw(),this.columnManager.restoreRedraw(),this.eventBus.dispatch("redraw-restored")}setData(e,r,S){return this.initGuard(!1,"To set initial data please use the 'data' property in the table constructor."),this.dataLoader.load(e,r,S,!1)}clearData(){this.initGuard(),this.dataLoader.blockActiveLoad(),this.rowManager.clearData()}getData(e){return this.rowManager.getData(e)}getDataCount(e){return this.rowManager.getDataCount(e)}replaceData(e,r,S){return this.initGuard(),this.dataLoader.load(e,r,S,!0,!0)}updateData(e){var r=0;return this.initGuard(),new Promise((S,D)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(x=>{var o=this.rowManager.findRow(x[this.options.index]);o?(r++,o.updateData(x).then(()=>{r--,r||S()}).catch(t=>{D("Update Error - Unable to update row",x,t)})):D("Update Error - Unable to find row",x)}):(console.warn("Update Error - No data provided"),D("Update Error - No data provided"))})}addData(e,r,S){return this.initGuard(),new Promise((D,x)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e?this.rowManager.addRows(e,r,S).then(o=>{var t=[];o.forEach(function(d){t.push(d.getComponent())}),D(t)}):(console.warn("Update Error - No data provided"),x("Update Error - No data provided"))})}updateOrAddData(e){var r=[],S=0;return this.initGuard(),new Promise((D,x)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(o=>{var t=this.rowManager.findRow(o[this.options.index]);S++,t?t.updateData(o).then(()=>{S--,r.push(t.getComponent()),S||D(r)}):this.rowManager.addRows(o).then(d=>{S--,r.push(d[0].getComponent()),S||D(r)})}):(console.warn("Update Error - No data provided"),x("Update Error - No data provided"))})}getRow(e){var r=this.rowManager.findRow(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}getRowFromPosition(e){var r=this.rowManager.getRowFromPosition(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}deleteRow(e){var r=[];this.initGuard(),Array.isArray(e)||(e=[e]);for(let S of e){let D=this.rowManager.findRow(S,!0);if(D)r.push(D);else return console.error("Delete Error - No matching row found:",S),Promise.reject("Delete Error - No matching row found")}return r.sort((S,D)=>this.rowManager.rows.indexOf(S)>this.rowManager.rows.indexOf(D)?1:-1),r.forEach(S=>{S.delete()}),this.rowManager.reRenderInPosition(),Promise.resolve()}addRow(e,r,S){return this.initGuard(),typeof e=="string"&&(e=JSON.parse(e)),this.rowManager.addRows(e,r,S,!0).then(D=>D[0].getComponent())}updateOrAddRow(e,r){var S=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),S?S.updateData(r).then(()=>S.getComponent()):this.rowManager.addRows(r).then(D=>D[0].getComponent())}updateRow(e,r){var S=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),S?S.updateData(r).then(()=>Promise.resolve(S.getComponent())):(console.warn("Update Error - No matching row found:",e),Promise.reject("Update Error - No matching row found"))}scrollToRow(e,r,S){var D=this.rowManager.findRow(e);return D?this.rowManager.scrollToRow(D,r,S):(console.warn("Scroll Error - No matching row found:",e),Promise.reject("Scroll Error - No matching row found"))}moveRow(e,r,S){var D=this.rowManager.findRow(e);this.initGuard(),D?D.moveToRow(r,S):console.warn("Move Error - No matching row found:",e)}getRows(e){return this.rowManager.getComponents(e)}getRowPosition(e){var r=this.rowManager.findRow(e);return r?r.getPosition():(console.warn("Position Error - No matching row found:",e),!1)}setColumns(e){this.initGuard(!1,"To set initial columns please use the 'columns' property in the table constructor"),this.columnManager.setColumns(e)}getColumns(e){return this.columnManager.getComponents(e)}getColumn(e){var r=this.columnManager.findColumn(e);return r?r.getComponent():(console.warn("Find Error - No matching column found:",e),!1)}getColumnDefinitions(){return this.columnManager.getDefinitionTree()}showColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.show();else return console.warn("Column Show Error - No matching column found:",e),!1}hideColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.hide();else return console.warn("Column Hide Error - No matching column found:",e),!1}toggleColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.visible?r.hide():r.show();else return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1}addColumn(e,r,S){var D=this.columnManager.findColumn(S);return this.initGuard(),this.columnManager.addColumn(e,r,D).then(x=>x.getComponent())}deleteColumn(e){var r=this.columnManager.findColumn(e);return this.initGuard(),r?r.delete():(console.warn("Column Delete Error - No matching column found:",e),Promise.reject())}updateColumnDefinition(e,r){var S=this.columnManager.findColumn(e);return this.initGuard(),S?S.updateDefinition(r):(console.warn("Column Update Error - No matching column found:",e),Promise.reject())}moveColumn(e,r,S){var D=this.columnManager.findColumn(e),x=this.columnManager.findColumn(r);this.initGuard(),D?x?this.columnManager.moveColumn(D,x,S):console.warn("Move Error - No matching column found:",x):console.warn("Move Error - No matching column found:",e)}scrollToColumn(e,r,S){return new Promise((D,x)=>{var o=this.columnManager.findColumn(e);return o?this.columnManager.scrollToColumn(o,r,S):(console.warn("Scroll Error - No matching column found:",e),Promise.reject("Scroll Error - No matching column found"))})}redraw(e){this.initGuard(),this.columnManager.redraw(e),this.rowManager.redraw(e)}setHeight(e){this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.initializeRenderer(),this.rowManager.redraw()}on(e,r){this.externalEvents.subscribe(e,r)}off(e,r){this.externalEvents.unsubscribe(e,r)}dispatchEvent(){var e=Array.from(arguments);e.shift(),this.externalEvents.dispatch(...arguments)}alert(e,r){this.initGuard(),this.alertManager.alert(e,r)}clearAlert(){this.initGuard(),this.alertManager.clear()}modExists(e,r){return this.modules[e]?!0:(r&&console.error("Tabulator Module Not Installed: "+e),!1)}module(e){var r=this.modules[e];return r||console.error("Tabulator module not installed: "+e),r}}zd.defaultOptions=wz;new NM(zd);class VM extends zd{}new NM(VM,_z);const Hz=Io({name:"TabulatorTable",props:{tableIndexField:{type:String,required:!1,default:()=>"id"},tableData:{type:Object,required:!0},columnDefinitions:{type:Object,required:!0},title:{type:String,required:!1},index:{type:Number,required:!0},selectedRowIndexFromListening:{type:Number,required:!1,default:()=>{}},tableLayoutParam:{type:String,required:!1,default:()=>"fitDataFill"},defaultRow:{type:Number,required:!0,default:()=>0}},emits:["rowSelected"],setup(){return{streamlitDataStore:os()}},data(){return{tabulator:void 0,initialized:0}},computed:{id(){return`table-${this.index}`},containerStyles(){return{display:"flex","flex-direction":"column","align-items":"center"}},tableClasses(){var n,e;return{"table-dark":((n=this.streamlitDataStore.theme)==null?void 0:n.base)==="dark","table-light":((e=this.streamlitDataStore.theme)==null?void 0:e.base)==="light","table-striped":!1,"table-bordered":!0,"table-sm":!0}},preparedTableData(){if(this.tableData.length>0&&this.tableData[0][this.tableIndexField]===void 0){const n=[];return this.tableData.forEach((e,r)=>{n.push({...e,[this.tableIndexField]:r})}),n}return this.tableData}},watch:{tableData(){this.drawTable()},selectedRowIndexFromListening(n){n!==void 0&&this.onSelectedRowListener(n)}},mounted(){this.drawTable()},methods:{drawTable(){this.tabulator=new VM(`#${this.id}`,{index:this.tableIndexField,data:this.preparedTableData,minHeight:50,maxHeight:this.title?320:310,layout:this.tableLayoutParam,selectable:1,columnDefaults:{title:"",hozAlign:"right"},columns:this.columnDefinitions.map(n=>(n.headerTooltip=!0,n))}),this.tabulator.on("tableBuilt",()=>{this.initialized<3&&(this.initialized+=1,this.selectDefaultRow())})},selectDefaultRow(){var n;this.defaultRow>=0&&((n=this.tabulator)==null||n.selectRow([this.defaultRow]),this.onTableClick())},onTableClick(){var e,r;const n=(r=(e=this.tabulator)==null?void 0:e.getSelectedRows()[0])==null?void 0:r.getIndex();n!==void 0&&this.$emit("rowSelected",n)},onSelectedRowListener(n){var e,r,S;(e=this.tabulator)==null||e.scrollToRow(n,"top",!1),(r=this.tabulator)==null||r.deselectRow(),(S=this.tabulator)==null||S.selectRow([n]),this.onTableClick()},downloadTable(){this.tabulator!==void 0&&this.tabulator.download("csv",`${this.title}.csv`)}}});const Gz={style:{padding:"8px",width:"98%"}},Wz={class:"d-flex"},qz={style:{width:"100%",display:"grid","grid-template-columns":"1fr 1fr 1fr"}},$z={class:"d-flex justify-end",style:{"grid-column":"1 / span 1"}},Yz={class:"d-flex justify-center",style:{"grid-column":"2 / span 1"}},Zz=["id"],Xz={class:"d-flex justify-end",style:{"grid-column":"3 / span 1"}},Kz=["id"];function Jz(n,e,r,S,D,x){const o=Tr("v-btn"),t=Tr("v-card"),d=Tr("v-menu");return Dr(),ai("div",Gz,[Nr("div",Wz,[Nr("div",qz,[Nr("div",$z,[sb(n.$slots,"start-title-row")]),Nr("div",Yz,[Nr("h4",{id:`${n.id}-title`},[sb(n.$slots,"default",{},()=>[ki(So(n.title??""),1)])],8,Zz),dt(d,{activator:`#${n.id}-title`,location:"bottom"},{default:Yr(()=>[dt(t,{"min-width":"100"},{default:Yr(()=>[dt(o,{"prepend-icon":"mdi-download",onClick:n.downloadTable},{default:Yr(()=>[ki("Download")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["activator"])]),Nr("div",Xz,[sb(n.$slots,"end-title-row")])])]),Nr("div",{id:n.id,class:vu(n.tableClasses),onClick:e[0]||(e[0]=(...g)=>n.onTableClick&&n.onTableClick(...g))},null,10,Kz)])}const Wd=Bo(Hz,[["render",Jz]]),Uf=n=>e=>e.getValue().toString().length>4?e.getValue().toFixed(n??4):e.getValue(),Qz=Io({name:"TabulatorScanTable",components:{TabulatorTable:Wd},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=os(),e=Bc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Index",field:"id"},{title:"Scan Number",field:"Scan"},{title:"MS Level",field:"MSLevel"},{title:"Retention time",field:"RT",formatter:Uf()},{title:"Precursor Mass",field:"PrecursorMass",formatter:Uf()},{title:"#Masses",field:"#Masses"}]}},computed:{tableData(){const n=this.streamlitDataStore.allDataForDrawing.per_scan_data;return n.forEach(e=>e.id=e.index),n}},methods:{updateSelectedScan(n){n!==void 0&&(n!==this.selectionStore.selectedScanIndex&&this.selectionStore.updateSelectedMass(void 0),this.selectionStore.updateSelectedScan(n))}}});function eF(n,e,r,S,D,x){const o=Tr("TabulatorTable");return Dr(),Aa(o,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Scan Table",index:n.index,"table-layout-param":"fitColumns",onRowSelected:n.updateSelectedScan},null,8,["table-data","column-definitions","index","onRowSelected"])}const tF=Bo(Qz,[["render",eF]]),nF=Io({name:"PlotlyLineplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=os(),e=Bc();return{streamlitDataStore:n,selectionStore:e}},computed:{id(){return`graph-${this.index}`},theme(){return this.streamlitDataStore.theme},selectedRow(){return this.selectionStore.selectedScanIndex},xAxisLabel(){switch(this.args.title){case"Annotated Spectrum":return"m/z";case"Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},xColumn(){switch(this.args.title){case"Annotated Spectrum":return"MonoMass_Anno";case"Deconvolved Spectrum":return"MonoMass";default:return""}},xValues(){const n=[];return this.selectedRow===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedRow][this.xColumn].forEach(e=>{n.push(e,e,e)}),n},yColmun(){switch(this.args.title){case"Annotated Spectrum":return"SumIntensity_Anno";case"Deconvolved Spectrum":return"SumIntensity";default:return""}},yValues(){const n=[];return this.selectedRow===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedRow][this.yColmun].forEach(e=>{n.push(-1e7,e,-1e7)}),n},data(){return[{x:this.xValues,y:this.yValues,mode:"lines",type:"scatter",connectgaps:!1}]},layout(){var n,e,r,S,D;return{title:`${this.args.title}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1},yaxis:{title:"Intensity",showgrid:!0,gridcolor:(n=this.theme)==null?void 0:n.secondaryBackgroundColor,rangemode:"nonnegative",fixedrange:!0},paper_bgcolor:(e=this.theme)==null?void 0:e.backgroundColor,plot_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,font:{color:(S=this.theme)==null?void 0:S.textColor,family:(D=this.theme)==null?void 0:D.font}}}},watch:{selectedRow(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await Ns.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Ns.Icons.camera,click:n=>{Ns.downloadImage(n,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}}]})}}}),rF=["id"];function iF(n,e,r,S,D,x){return Dr(),ai("div",{id:n.id,style:{width:"100%"}},null,8,rF)}const aF=Bo(nF,[["render",iF]]),oF=Io({name:"PlotlyLineplotTagger",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=os(),e=Bc();return{streamlitDataStore:n,selectionStore:e}},data(){return{manual:!1,manual_xRange:void 0,selectedMass:void 0}},computed:{id(){return`graph-${this.index}`},theme(){return this.streamlitDataStore.theme},selectedScan(){return this.selectionStore.selectedScanIndex},selectedTag(){return this.selectionStore.selectedTagIndex},selectedAA(){var n;return(n=this.selectionStore.selectedTag)==null?void 0:n.selectedAA},showBackButton(){return this.args.title==="Annotated Spectrum"},minCharge(){return this.selectedScan===void 0?-10:Math.min(...this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].MinCharges)},maxCharge(){return this.selectedScan===void 0?-10:Math.max(...this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].MinCharges)},xAxisLabel(){switch(this.args.title){case"Annotated Spectrum":return"m/z";case"Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},xColumn(){switch(this.args.title){case"Annotated Spectrum":return"MonoMass_Anno";case"Deconvolved Spectrum":return"MonoMass";default:return""}},xValues(){const n=[];return this.selectedScan===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan][this.xColumn].forEach(e=>{n.push(e,e,e)}),n},xMassValues(){return this.selectedScan===void 0?[]:this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].MonoMass},mzSignals(){let n=[];return this.selectedScan===void 0||(n=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].SignalPeaks),n},yColmun(){switch(this.args.title){case"Annotated Spectrum":return"SumIntensity_Anno";case"Deconvolved Spectrum":return"SumIntensity";default:return""}},yValues(){const n=[];return this.selectedScan===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan][this.yColmun].forEach(e=>{n.push(-1e7,e,-1e7)}),n},highlightedMassPos(){var r;const n=(r=this.selectionStore.selectedTag)==null?void 0:r.masses;if(n===void 0)return[];let e=[];for(let S=0;S{const k=C.reduce((A,L)=>A+L.intensity,0),T=C.map(A=>A.intensity/k*A.mz).reduce((A,L)=>A+L,0);e.push({type:"rect",x0:T-.5*t,y0:D,x1:T+.5*t,y1:o,fillcolor:h,line:{width:0}}),r.push({x:T,y:x,xref:"x",yref:"y",text:"z="+w,showarrow:!1,font:{size:15}})}),{shapes:e,annotations:r,traces:n}}let d=[];if(t>40)return{shapes:e,annotations:r,traces:n};for(let h=0;hy?(A=_-y,_-=E,w+=E*.1,y+=E,k-=E*.1):(A=y-_,_+=E,w-=E*.1,y-=E,k+=E*.1),d.push({ax:w,ay:g,xref:"x",yref:"y",x:_,y:g,axref:"x",ayref:"y",showarrow:!0,arrowhead:0,arrowsize:1,arrowwidth:2,arrowcolor:f}),d.push({ax:k,ay:g,xref:"x",yref:"y",x:y,y:g,axref:"x",ayref:"y",showarrow:!0,arrowhead:2,arrowsize:1,arrowwidth:2,arrowcolor:f}),d.push({x:C,y:i,xref:"x",yref:"y",text:T,hovertext:"Δ="+A.toFixed(2)+" Da",showarrow:!1,font:{size:15,color:f,family:m}})}return{shapes:e,annotations:[...r,...d],traces:n}},data(){let n=[];if(n.push({x:this.plotData.unhighlighted_x,y:this.plotData.unhighlighted_y,mode:"lines",type:"scatter",marker:{color:"lightblue"}}),n.push({x:this.plotData.highlighted_x,y:this.plotData.highlighted_y,mode:"lines",type:"scatter",marker:{color:"#E4572E"}}),n.push({x:this.plotData.selected_x,y:this.plotData.selected_y,mode:"lines",type:"scatter",marker:{color:"#F3A712"}}),this.args.title==="Deconvolved Spectrum"){const e=this.annotationData.traces;n.push(...e)}return n},xRange(){return this.xValues.length===0?[]:this.manual&&this.manual_xRange!==void 0?this.manual_xRange:this.highlightedValues.length===0?[Math.min(...this.xValues)*.98,Math.max(...this.xValues)*1.02]:this.args.title==="Annotated Spectrum"&&this.selectedMass!==void 0?[Math.min(...this.highlightedValues[this.selectedMass].mzs)*.98,Math.max(...this.highlightedValues[this.selectedMass].mzs)*1.02]:[Math.min(...this.highlightedValues.map(n=>n.mass))*.98,Math.max(...this.highlightedValues.map(n=>n.mass))*1.02]},yRange(){return this.computeYRange(this.xRange)},layout(){var n,e,r,S,D;return{title:`${this.args.title}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1,range:this.xRange,showline:!0,linecolor:"grey",linewidth:1},yaxis:{title:"Intensity",showgrid:!0,gridcolor:(n=this.theme)==null?void 0:n.secondaryBackgroundColor,rangemode:"nonnegative",range:this.yRange,fixedrange:!0,showline:!0,linecolor:"grey",linewidth:1},paper_bgcolor:(e=this.theme)==null?void 0:e.backgroundColor,plot_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,font:{color:(S=this.theme)==null?void 0:S.textColor,family:(D=this.theme)==null?void 0:D.font},shapes:this.annotationData.shapes,annotations:this.annotationData.annotations}}},watch:{selectedScan(){this.manual=!1,this.args.title="Deconvolved Spectrum",this.selectedMass=void 0,this.graph()},selectedTag(){this.manual=!1,this.args.title="Deconvolved Spectrum",this.selectedMass=void 0,this.graph()},annotationData(){this.manual&&this.updateButtons(this.annotationData.shapes,this.annotationData.annotations)}},mounted(){this.graph()},methods:{backButton(){this.args.title="Deconvolved Spectrum",this.selectedMass=void 0,this.manual=!1,this.graph()},onPlotClick(n){if(n.points&&n.points.length>0){const e=n.points[0].x;for(let r=0;r=n[1]||D>e&&(e=D)}return e===0?[0,1]:[0,e*1.8]},isHighlighted(n){return this.highlightedPos(n)!==void 0},highlightedPos(n){if(this.args.title==="Annotated Spectrum"){const e=this.selectedMass;if(e===void 0)return;const r=this.highlightedValues[e].mzs;for(let S=0;S{Ns.downloadImage(e,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}}],scrollZoom:!0});n.on("plotly_relayout",e=>{this.onRelayout(e)}),n.on("plotly_click",e=>{this.onPlotClick(e)})}}});const sF=["id"];function lF(n,e,r,S,D,x){return Dr(),ai("div",{id:n.id,class:"plot-container"},[n.showBackButton?(Dr(),ai("button",{key:0,class:"simple-button",onClick:e[0]||(e[0]=(...o)=>n.backButton&&n.backButton(...o))},"↩")):pa("",!0)],8,sF)}const uF=Bo(oF,[["render",lF],["__scopeId","data-v-b6b2daaf"]]),cF=Io({name:"Plotly3Dplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=os(),e=Bc();return{streamlitDataStore:n,selectionStore:e}},data(){return{maximumIntensity:0}},computed:{id(){return`graph-${this.index}`},title(){return this.selectedScanRow===void 0?"":this.selectedMassRow===void 0?"Precursor signals":"Mass signals"},theme(){return this.streamlitDataStore.theme},selectedScanRow(){return this.selectionStore.selectedScanIndex},selectedMassRow(){return this.selectionStore.selectedMassIndex},dataForDrawing(){if(this.selectedMassRow===void 0&&this.selectedScanRow===void 0)return[];const n=this.selectedScanRow?this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanRow]:{};let e={};return this.selectedMassRow===void 0&&this.selectedScanRow!==void 0?e=this.getPrecursorSignal(n):this.selectedMassRow!==void 0&&(e=this.getSignalNoiseObject(n.SignalPeaks[this.selectedMassRow],n.NoisyPeaks[this.selectedMassRow])),Object.keys(e).length===0?[]:(this.maximumIntensity=e.signal_z.concat(e.noise_z).reduce((r,S)=>Math.max(r,S),-1/0),[{name:"Signal",type:"scatter3d",mode:"lines",x:e.signal_x,y:e.signal_y,z:e.signal_z,line:{color:"#3366CC"}},{name:"Noise",type:"scatter3d",mode:"lines",x:e.noise_x,y:e.noise_y,z:e.noise_z,line:{color:"#DC3912"}}])},layout(){var n,e,r,S;return{title:`${this.title}`,paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(S=this.theme)==null?void 0:S.font},scene:{xaxis:{title:"Mass"},yaxis:{title:"Charge"},zaxis:{title:"Intensity",range:[0,this.maximumIntensity]},camera:{eye:{x:2.5,y:0,z:.2}}},showlegend:!0}}},watch:{selectedScanRow(){this.graph()},selectedMassRow(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await Ns.newPlot(this.id,this.dataForDrawing,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Ns.Icons.camera,click:function(n){Ns.downloadImage(n,{filename:"FLASHViewer-3d-plot",height:800,width:800,format:"svg"})}}]})},getPrecursorSignal(n){if(n.PrecursorScan==0)return{};const e=this.streamlitDataStore.allDataForDrawing.per_scan_data.find(D=>D.Scan===n.PrecursorScan);if(!e)return{};const r=e.MonoMass,S=n.PrecursorMass;for(let D=0,x=r.length;DS.field),r=[];return Object.entries(n).forEach(S=>{const D=S[0];if(!e.includes(D)||D==="id")return;S[1].forEach((o,t)=>{r[t]={...r[t],[D]:o}})}),r.map((S,D)=>S.id=D),r},selectedMassFromFragmentTable(){return this.selectionStore.selectedObservedMassFromFragmentTable}},watch:{selectedMassFromFragmentTable(n){const e=this.tableData.findIndex(r=>r.MonoMass===n);e!==-1&&(this.selectedMassIndex=e)}},methods:{updateSelectedMass(n){n!==void 0&&this.selectionStore.updateSelectedMass(n)}}});function mF(n,e,r,S,D,x){const o=Tr("TabulatorTable");return Dr(),Aa(o,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Mass Table",index:n.index,"selected-row-index-from-listening":n.selectedMassIndex,onRowSelected:n.updateSelectedMass},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","onRowSelected"])}const gF=Bo(pF,[["render",mF]]),vF=Io({name:"TabulatorProteinTable",components:{TabulatorTable:Wd},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=os(),e=Bc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Accession",field:"accession"},{title:"Description",field:"description"},{title:"Length",field:"length"}]}},computed:{selectedRow(){return this.selectionStore.selectedProteinIndex},tableData(){const n=this.streamlitDataStore.dataForDrawing.protein_table;return n.forEach(e=>e.id=e.index),n}},methods:{updateSelectedProtein(n){console.log("SelectedProtein!!"),console.log(n),n!==void 0&&(this.selectionStore.updateSelectedProtein(n),this.selectionStore.updateSelectedTag(void 0),this.selectionStore.updateTagData(void 0))}}});function yF(n,e,r,S,D,x){const o=Tr("TabulatorTable");return Dr(),Aa(o,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Protein Table",index:n.index,"selected-row-index-from-listening":n.selectedRow,"default-row":0,onRowSelected:n.updateSelectedProtein},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","onRowSelected"])}const bF=Bo(vF,[["render",yF]]),xF=Io({name:"TabulatorTagTable",components:{TabulatorTable:Wd},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=os(),e=Bc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan Number",field:"Scan"},{title:"Start Position",field:"StartPos"},{title:"End Position",field:"EndPos"},{title:"Sequence",field:"TagSequence"},{title:"Length",field:"Length"},{title:"Score",field:"Score"}],selectedTagIndex:void 0}},computed:{selectedRow(){return this.selectionStore.selectedTagIndex},tableData(){let e=this.streamlitDataStore.dataForDrawing.tag_table.filter(S=>S.ProteinIndex===this.selectionStore.selectedProteinIndex);const r=this.selectionStore.selectedAApos;return r!==void 0&&(e=e.filter(S=>{const D=S.StartPos,x=S.EndPos;return typeof D=="number"&&typeof x=="number"&&D<=r&&x>=r})),e.forEach(S=>S.id=S.TagIndex),e}},watch:{},methods:{getRowByTagIndex(n){return this.tableData.find(S=>S.id===n)},updateSelectedTag(n){if(n===void 0)return;this.selectionStore.updateSelectedTag(n);const e=this.getRowByTagIndex(n);if(e===void 0)return;const r=e.Scan;typeof r=="number"&&this.selectionStore.updateSelectedScan(r);const S=e.mzs;let D=[];typeof S=="string"&&(D=S.split(",").map(Number).filter(M=>M!==0));const x=typeof e.StartPos=="number"?e.StartPos:0,o=typeof e.EndPos=="number"?e.EndPos:0;let t=-1e3;x!==void 0&&this.selectionStore.selectedAApos!==void 0&&typeof x=="number"&&(t=this.selectionStore.selectedAApos-x);const d=e.TagSequence;let g="";typeof d=="string"&&(g=d);let i=!1;e["N mass"]===-1&&(i=!0),this.selectionStore.updateTagData({sequence:g,nTerminal:i,masses:D,selectedAA:t,startPos:x,endPos:o})}}});function _F(n,e,r,S,D,x){const o=Tr("TabulatorTable");return Dr(),Aa(o,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Tag Table",index:n.index,"selected-row-index-from-listening":n.selectedRow,onRowSelected:n.updateSelectedTag,"default-row":1},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","onRowSelected"])}const wF=Bo(xF,[["render",_F]]),lg=h2("variable-mod",{state:()=>({variableMod:{}}),getters:{variableModifications:n=>n.variableMod,isEmpty:n=>Object.values(n.variableMod).filter(e=>e!==void 0&&e!==0).length===0},actions:{updateVariableModifications(n,e){this.variableMod={...this.variableMod,[n]:e}}}}),y_={Acetyl:42.010565,Methyl:14.01565,Phospho:79.966331,Oxidation:15.994915,Deamidated:.984016,Amidated:-.984016},b_={"N-term":["Acetyl","Methyl","Phospho"],"C-term":["Amidated"],C:["Acetyl","Methyl","Phospho"],E:["Methyl","Phospho"],D:["Methyl","Phospho"],H:["Methyl","Phospho"],I:["Methyl"],K:["Methyl","Phospho"],L:["Methyl"],M:["Oxidation"],N:["Methyl"],Q:["Deamidated","Methyl"],R:["Methyl","Phospho"],S:["Acetyl","Methyl","Phospho"],T:["Acetyl","Methyl","Phospho"],Y:["Phospho"]},jM={default:[{typeName:"",typeMass:0}],"water loss":[{typeName:"-H2O",typeMass:-18.0105646863}],"ammonium loss":[{typeName:"-NH3",typeMass:-17.0265491015}],"proton loss/addition":[{typeName:"-H",typeMass:-1.0078250319},{typeName:"+H",typeMass:1.0078250319}]},TF=Io({name:"AminoAcidCell",props:{sequenceObject:{type:Object,required:!0},index:{type:Number,required:!0},fixedModification:{type:Boolean,default:!1}},emits:["selected"],setup(){const n=os(),e=lg();return{streamlitData:n,variableModData:e}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.aminoAcid}${this.index}`},sequence(){return this.streamlitData.sequenceData?this.streamlitData.sequenceData[0].sequence:[]},theme(){return this.streamlitData.theme},aminoAcid(){return this.sequenceObject.aminoAcid},modificationsForSelect(){return["None","Custom",...this.potentialModifications]},aminoAcidCellStyles(){var n,e,r,S;return{"--amino-acid-cell-color":((n=this.theme)==null?void 0:n.textColor)??"#fff","--amino-acid-cell-bg-color":((e=this.theme)==null?void 0:e.secondaryBackgroundColor)??"#000","--amino-acid-cell-hover-color":((r=this.theme)==null?void 0:r.textColor)??"#fff","--amino-acid-cell-hover-bg-color":((S=this.theme)==null?void 0:S.backgroundColor)??"#000",position:"relative"}},aminoAcidCellClass(){return{"sequence-amino-acid":!this.fixedModification,"sequence-amino-acid-highlighted":this.fixedModification,"sequence-amino-acid-modified":this.isThisAAmodified}},potentialModifications(){return b_[this.aminoAcid]??[]},isThisAAmodified(){const n=this.variableModData.variableModifications??{};return this.selectedModification!==void 0?!0:n[this.index]!==void 0&&n[this.index]!==0},DoesThisAAHaveMatchingFragments(){return this.sequenceObject.aIon||this.sequenceObject.bIon||this.sequenceObject.cIon||this.sequenceObject.xIon||this.sequenceObject.yIon||this.sequenceObject.zIon},DoesThisAAHaveExtraFragTypes(){return this.sequenceObject.extraTypes.length>0}},methods:{toggleMenuOpen(){this.menuOpen=!this.menuOpen},selectCell(){this.DoesThisAAHaveMatchingFragments&&this.$emit("selected",this.index)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?y_[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}}});const ih=n=>(jd("data-v-36874f28"),n=n(),Ud(),n),kF=["id"],MF={key:0,class:"frag-marker-container-a"},AF=ih(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"green",d:"M7, 1 L9, 3 L9, 7 L9, 3 L7, 1 z","stroke-width":"1.5"})],-1)),SF=[AF],CF={key:1,class:"frag-marker-container-b"},EF=ih(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"blue",d:"M10, 0 V5 M10, 0 H5 z","stroke-width":"3"})],-1)),LF=[EF],IF={key:2,class:"frag-marker-container-c"},OF=ih(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"red",d:"M4, 1 L9, 3 L9, 7 L9, 3 L4, 1 z","stroke-width":"1.5"})],-1)),PF=[OF],DF={key:3,class:"frag-marker-container-x"},RF=ih(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"green",d:"M1, 3 L1, 7 L3, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),zF=[RF],FF={key:4,class:"frag-marker-container-y"},BF=ih(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"blue",d:"M0, 10 V5 M0, 10 H5 z","stroke-width":"3"})],-1)),NF=[BF],VF={key:5,class:"frag-marker-container-z"},jF=ih(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"red",d:"M1, 3 L1, 7 L6, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),UF=[jF],HF={key:6,class:"frag-marker-extra-type"},GF=ih(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("circle",{cx:"5",cy:"5",r:"0.5",stroke:"black","stroke-width":"0.3",fill:"gold"})],-1)),WF=[GF],qF={class:"aa-text"},$F=ih(()=>Nr("br",null,null,-1)),YF=ih(()=>Nr("br",null,null,-1)),ZF={key:0};function XF(n,e,r,S,D,x){const o=Tr("v-select"),t=Tr("v-list-item"),d=Tr("v-text-field"),g=Tr("v-btn"),i=Tr("v-form"),M=Tr("v-list"),v=Tr("v-menu"),p=Tr("v-tooltip");return Dr(),ai("div",{id:n.id,class:vu(["d-flex justify-center align-center rounded-lg",n.aminoAcidCellClass]),style:Bs(n.aminoAcidCellStyles),onClick:e[5]||(e[5]=(...u)=>n.selectCell&&n.selectCell(...u)),onContextmenu:e[6]||(e[6]=Wf((...u)=>n.toggleMenuOpen&&n.toggleMenuOpen(...u),["prevent"]))},[n.sequenceObject.aIon?(Dr(),ai("div",MF,SF)):pa("",!0),n.sequenceObject.bIon?(Dr(),ai("div",CF,LF)):pa("",!0),n.sequenceObject.cIon?(Dr(),ai("div",IF,PF)):pa("",!0),n.sequenceObject.xIon?(Dr(),ai("div",DF,zF)):pa("",!0),n.sequenceObject.yIon?(Dr(),ai("div",FF,NF)):pa("",!0),n.sequenceObject.zIon?(Dr(),ai("div",VF,UF)):pa("",!0),n.DoesThisAAHaveExtraFragTypes?(Dr(),ai("div",HF,WF)):pa("",!0),Nr("div",qF,So(n.aminoAcid),1),dt(v,{modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=u=>n.menuOpen=u),activator:"parent",location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:Yr(()=>[dt(M,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[dt(o,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=u=>n.selectedModification=u),n.updateSelectedModification],clearable:"true",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=u=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Dr(),Aa(t,{key:0},{default:Yr(()=>[dt(i,{onSubmit:e[3]||(e[3]=Wf(()=>{},["prevent"]))},{default:Yr(()=>[dt(d,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=u=>n.customModMass=u),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),dt(g,{type:"submit",block:"true",class:"mt-2",onClick:n.updateCustomModification},{default:Yr(()=>[ki("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):pa("",!0)]),_:1})]),_:1},8,["modelValue"]),dt(p,{activator:"parent"},{default:Yr(()=>[ki(So(`Prefix: ${n.index+1}`)+" ",1),$F,ki(" "+So(`Suffix: ${(n.sequence.length??0)-n.index}`)+" ",1),YF,n.DoesThisAAHaveExtraFragTypes?(Dr(),ai("div",ZF,So(n.sequenceObject.extraTypes.join(", ")),1)):pa("",!0)]),_:1})],46,kF)}const UM=Bo(TF,[["render",XF],["__scopeId","data-v-36874f28"]]),KF=Io({name:"ProteinTerminalCell",props:{proteinTerminal:{type:String,required:!0},index:{type:Number,required:!0}},setup(){const n=os(),e=lg();return{streamlitData:n,variableModData:e}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.proteinTerminal}${this.index}`},theme(){return this.streamlitData.theme},proteinTerminalText(){return this.proteinTerminal.charAt(0)},hasVariableModification(){return this.variableModData.variableModifications[this.index]!==void 0&&this.variableModData.variableModifications[this.index]!==0},modificationsForSelect(){return["None","Custom",...this.potentialModifications]},proteinTerminalCellStyles(){var n,e;return{"--protein-terminal-cell-color":((n=this.theme)==null?void 0:n.textColor)??"#fff","--protein-terminal-cell-hover-color":"#fff","--protein-terminal-cell-hover-bg-color":((e=this.theme)==null?void 0:e.secondaryBackgroundColor)??"#000"}},proteinTerminalCellClasses(){return{"protein-terminal":this.selectedModification===void 0&&!this.hasVariableModification,"protein-terminal-modified":this.selectedModification!==void 0||this.hasVariableModification}},potentialModifications(){return b_[this.proteinTerminal]??[]}},methods:{toggleMenuOpen(){this.menuOpen=!this.menuOpen},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?y_[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}}});function JF(n,e,r,S,D,x){const o=Tr("v-select"),t=Tr("v-list-item"),d=Tr("v-text-field"),g=Tr("v-btn"),i=Tr("v-form"),M=Tr("v-list"),v=Tr("v-menu"),p=Tr("v-tooltip");return Dr(),ai("div",{class:vu(["d-flex justify-center align-center rounded-lg",n.proteinTerminalCellClasses]),style:Bs(n.proteinTerminalCellStyles),onClick:e[5]||(e[5]=Wf(()=>{},["stop"])),onContextmenu:e[6]||(e[6]=Wf((...u)=>n.toggleMenuOpen&&n.toggleMenuOpen(...u),["prevent"]))},[Nr("div",null,So(n.proteinTerminalText),1),dt(v,{activator:"parent",modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=u=>n.menuOpen=u),location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:Yr(()=>[dt(M,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[dt(o,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=u=>n.selectedModification=u),n.updateSelectedModification],clearable:"",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=u=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Dr(),Aa(t,{key:0},{default:Yr(()=>[dt(i,{onSubmit:e[3]||(e[3]=Wf(()=>{},["prevent"]))},{default:Yr(()=>[dt(d,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=u=>n.customModMass=u),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),dt(g,{type:"submit",block:"",class:"mt-2",onClick:n.updateCustomModification},{default:Yr(()=>[ki("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):pa("",!0)]),_:1})]),_:1},8,["modelValue"]),dt(p,{activator:"parent"},{default:Yr(()=>[ki(So(n.proteinTerminalText),1)]),_:1})],38)}const HM=Bo(KF,[["render",JF],["__scopeId","data-v-01ab13cd"]]);var GM={exports:{}};/*! dom-to-image-more 26-04-2023 */(function(n,e){(function(r){const S=function(){let y=0;return{escape:function(A){return A.replace(/([.*+?^${}()|[]\/\\])/g,"\\$1")},isDataUrl:function(A){return A.search(/^(data:)/)!==-1},canvasToBlob:function(A){return A.toBlob?new Promise(function(L){A.toBlob(L)}):function(L){return new Promise(function(b){var O=p(L.toDataURL().split(",")[1]),I=O.length,R=new Uint8Array(I);for(let z=0;zte.style.removeProperty(X)),["left","right","top","bottom"].forEach(X=>{te.style.getPropertyValue(X)&&te.style.setProperty(X,"0px")})))}H(q,N)}function Y(){const W=S.uid();function H(ne){const te=v(q,ne),Z=te.getPropertyValue("content");if(Z!==""&&Z!=="none"){let ie=function(){const oe=`.${W}:`+ne,ue=(te.cssText?ce:ye)();return document.createTextNode(oe+`{${ue}}`);function ce(){return`${te.cssText} content: ${Z};`}function ye(){return S.asArray(te).map(me).join("; ")+";";function me(pe){const xe=te.getPropertyValue(pe),Pe=te.getPropertyPriority(pe)?" !important":"";return pe+": "+xe+Pe}}};var X=ie;const Q=N.getAttribute("class")||"",re=(N.setAttribute("class",Q+" "+W),document.createElement("style"));re.appendChild(ie()),N.appendChild(re)}}[":before",":after"].forEach(function(ne){H(ne)})}function U(){S.isHTMLTextAreaElement(q)&&(N.innerHTML=q.value),S.isHTMLInputElement(q)&&N.setAttribute("value",q.value)}function G(){S.isSVGElement(N)&&(N.setAttribute("xmlns","http://www.w3.org/2000/svg"),S.isSVGRectElement(N))&&["width","height"].forEach(function(W){const H=N.getAttribute(W);H&&N.style.setProperty(W,H)})}}}(E,C,null)}).then(s).then(l).then(function(E){C.bgcolor&&(E.style.backgroundColor=C.bgcolor),C.width&&(E.style.width=C.width+"px"),C.height&&(E.style.height=C.height+"px"),C.style&&Object.keys(C.style).forEach(function(A){E.style[A]=C.style[A]});let T=null;return typeof C.onclone=="function"&&(T=C.onclone(E)),Promise.resolve(T).then(function(){return E})}).then(function(E){let T=C.width||S.width(E),A=C.height||S.height(E);return Promise.resolve(E).then(function(L){return L.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(L)}).then(S.escapeXhtml).then(function(L){var b=(S.isDimensionMissing(T)?' width="100%"':` width="${T}"`)+(S.isDimensionMissing(A)?' height="100%"':` height="${A}"`);return`${L}`}).then(function(L){return"data:image/svg+xml;charset=utf-8,"+L})}).then(function(E){for(;0{f=null,m={}},2e4)}(),E})}function a(y,C){return u(y,C=C||{}).then(S.makeImage).then(function(w){var k=typeof C.scale!="number"?1:C.scale,E=function(A,L){let b=C.width||S.width(A),O=C.height||S.height(A);return S.isDimensionMissing(b)&&(b=S.isDimensionMissing(O)?300:2*O),S.isDimensionMissing(O)&&(O=b/2),A=document.createElement("canvas"),A.width=b*L,A.height=O*L,C.bgcolor&&((L=A.getContext("2d")).fillStyle=C.bgcolor,L.fillRect(0,0,A.width,A.height)),A}(y,k),T=E.getContext("2d");return T.msImageSmoothingEnabled=!1,T.imageSmoothingEnabled=!1,w&&(T.scale(k,k),T.drawImage(w,0,0)),E})}let c=null;function s(y){return x.resolveAll().then(function(C){var w;return C!==""&&(w=document.createElement("style"),y.appendChild(w),w.appendChild(document.createTextNode(C))),y})}function l(y){return t.inlineAll(y).then(function(){return y})}function h(y,C,w,k,E){const T=i.impl.options.copyDefaultStyles?function(L,I){var I=function(z){var F=[];do if(z.nodeType===M){var B=z.tagName;if(F.push(B),_.includes(B))break}while(z=z.parentNode,z);return F}(I),O=function(z){return(L.styleCaching!=="relaxed"?z:z.filter((F,B,N)=>B===0||B===N.length-1)).join(">")}(I);if(m[O])return m[O];var R=function(){if(c)return c.contentWindow;var z=document.characterSet||"UTF-8",F=document.doctype,F=F?(`":"";return(c=document.createElement("iframe")).id="domtoimage-sandbox-"+S.uid(),c.style.visibility="hidden",c.style.position="fixed",document.body.appendChild(c),function(N,q,j,Y){try{return N.contentWindow.document.write(q+`${Y}`),N.contentWindow}catch{}var U=document.createElement("meta");U.setAttribute("charset",j);try{var G=document.implementation.createHTMLDocument(Y),W=(G.head.appendChild(U),q+G.documentElement.outerHTML);return N.setAttribute("srcdoc",W),N.contentWindow}catch{}return N.contentDocument.head.appendChild(U),N.contentDocument.title=Y,N.contentWindow}(c,F,z,"domtoimage-sandbox");function B(N){var q;return N?((q=document.createElement("div")).innerText=N,q.innerHTML):""}}(),I=function(z,F){let B=z.body;do{var N=F.pop(),N=z.createElement(N);B.appendChild(N),B=N}while(0{const r=this.$refs.downloadLink;r.download="FLASHViewer-sequence.svg",r.href=e,r.click()}).finally(()=>{this.svgDownloadTriggered=!1})}}}),nB={ref:"downloadLink",style:{visibility:"hidden"}};function rB(n,e,r,S,D,x){const o=Tr("v-btn"),t=Tr("v-tooltip"),d=Tr("v-progress-linear"),g=Tr("v-card-text"),i=Tr("v-card"),M=Tr("v-dialog");return Dr(),ai(Xr,null,[dt(o,{id:"download-button",variant:"text",size:"large",icon:"mdi-download",onClick:n.triggerDownload},null,8,["onClick"]),dt(t,{text:"Save as SVG",location:"bottom",activator:"#download-button"}),Nr("a",nB,null,512),dt(M,{modelValue:n.svgDownloadTriggered,"onUpdate:modelValue":e[0]||(e[0]=v=>n.svgDownloadTriggered=v),persistent:"",width:"auto"},{default:Yr(()=>[dt(i,{color:"primary"},{default:Yr(()=>[dt(g,null,{default:Yr(()=>[ki(" Please stand by "),dt(d,{indeterminate:"",color:"white",class:"mb-0"})]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const WM=Bo(tB,[["render",rB]]),iB=Io({name:"SequenceViewInformation",components:{AminoAcidCell:UM},setup(){return{streamlitDataStore:os()}},data(){return{dialog:!1,aIon:!0,bIon:!1,cIon:!1,xIon:!0,yIon:!0,zIon:!1,fixed_mod:!1,variable_mod:!1,originalAAClasses:void 0,waterLoss:!1,ammoniumLoss:!1,proton:!1}},computed:{theme(){return this.streamlitDataStore.theme},aaSequenceObject(){return{aminoAcid:"AA",aIon:this.aIon,bIon:this.bIon,cIon:this.cIon,xIon:this.xIon,yIon:this.yIon,zIon:this.zIon,extraTypes:this.extraFragTypes()}}},methods:{setAAWithVarMod(){var e;this.originalAAClasses===void 0&&(this.originalAAClasses=((e=document.getElementById("AA0"))==null?void 0:e.getAttribute("class"))??"");const n=document.getElementById("AA0");if(n){let r=this.originalAAClasses;this.fixed_mod&&(r="sequence-amino-acid-highlighted "+r),this.variable_mod&&(r="sequence-amino-acid-modified "+r),n.setAttribute("class",r)}},extraFragTypes(){let n="";if(this.aIon)n="a";else if(this.bIon)n="b";else if(this.cIon)n="c";else if(this.xIon)n="x";else if(this.yIon)n="y";else if(this.zIon)n="z";else return[];let e=[];return this.waterLoss&&e.push(`${n}-H20`),this.ammoniumLoss&&e.push(`${n}-NH3`),this.proton&&(e.push(`${n}-H`),e.push(`${n}+H`)),e}}});const qM=n=>(jd("data-v-4ba716b9"),n=n(),Ud(),n),aB=qM(()=>Nr("div",{class:"text-h6 d-flex justify-center"},"Legend for Sequence Map",-1)),oB={class:"d-flex justify-center"},sB={class:"sequence-grid pa-6",style:{width:"150px","max-width":"100%"}},lB={class:"d-flex"},uB={class:"d-flex"},cB=qM(()=>Nr("div",{class:"text-subtitle-2 d-flex justify-end align-end"}," * Click checkboxes to see the styles ",-1));function fB(n,e,r,S,D,x){var h;const o=Tr("v-btn"),t=Tr("v-card-title"),d=Tr("v-divider"),g=Tr("AminoAcidCell"),i=Tr("v-checkbox"),M=Tr("v-row"),v=Tr("v-list-item-title"),p=Tr("v-list-item"),u=Tr("v-list"),a=Tr("v-card-text"),c=Tr("v-card-actions"),s=Tr("v-card"),l=Tr("v-dialog");return Dr(),ai(Xr,null,[dt(o,{id:"info-button",variant:"text",size:"large",icon:"mdi-information"}),dt(l,{modelValue:n.dialog,"onUpdate:modelValue":e[13]||(e[13]=f=>n.dialog=f),activator:"#info-button",width:"auto",theme:((h=n.theme)==null?void 0:h.base)??"light"},{default:Yr(()=>[dt(s,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[ki("Sequence View legend")]),_:1}),dt(d),dt(a,null,{default:Yr(()=>[aB,Nr("div",oB,[Nr("div",sB,[dt(g,{index:0,"sequence-object":n.aaSequenceObject,onSelected:e[0]||(e[0]=Wf(()=>{},["stop"]))},null,8,["sequence-object"])])]),ki(" Fragment ion types "),dt(M,null,{default:Yr(()=>[Nr("div",lB,[dt(i,{modelValue:n.aIon,"onUpdate:modelValue":e[1]||(e[1]=f=>n.aIon=f),label:"a"},null,8,["modelValue"]),dt(i,{modelValue:n.bIon,"onUpdate:modelValue":e[2]||(e[2]=f=>n.bIon=f),label:"b"},null,8,["modelValue"]),dt(i,{modelValue:n.cIon,"onUpdate:modelValue":e[3]||(e[3]=f=>n.cIon=f),label:"c"},null,8,["modelValue"]),dt(i,{modelValue:n.xIon,"onUpdate:modelValue":e[4]||(e[4]=f=>n.xIon=f),label:"x"},null,8,["modelValue"]),dt(i,{modelValue:n.yIon,"onUpdate:modelValue":e[5]||(e[5]=f=>n.yIon=f),label:"y"},null,8,["modelValue"]),dt(i,{modelValue:n.zIon,"onUpdate:modelValue":e[6]||(e[6]=f=>n.zIon=f),label:"z"},null,8,["modelValue"]),dt(i,{modelValue:n.waterLoss,"onUpdate:modelValue":e[7]||(e[7]=f=>n.waterLoss=f),label:"water loss"},null,8,["modelValue"]),dt(i,{modelValue:n.ammoniumLoss,"onUpdate:modelValue":e[8]||(e[8]=f=>n.ammoniumLoss=f),label:"ammonium loss"},null,8,["modelValue"]),dt(i,{modelValue:n.proton,"onUpdate:modelValue":e[9]||(e[9]=f=>n.proton=f),label:"proton loss/addition"},null,8,["modelValue"])])]),_:1}),ki(" Modifications "),Nr("div",uB,[dt(i,{modelValue:n.fixed_mod,"onUpdate:modelValue":[e[10]||(e[10]=f=>n.fixed_mod=f),n.setAAWithVarMod],label:"Fixed modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),dt(i,{modelValue:n.variable_mod,"onUpdate:modelValue":[e[11]||(e[11]=f=>n.variable_mod=f),n.setAAWithVarMod],label:"Variable modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),cB]),dt(u,{density:"compact"},{default:Yr(()=>[dt(v,null,{default:Yr(()=>[ki("Interaction tips")]),_:1}),dt(p,null,{default:Yr(()=>[ki("Left click: highlights corresponding entries in Fragment Table and Mass Table")]),_:1}),dt(p,null,{default:Yr(()=>[ki("Right click: opens variable modification menu (custom modification is available)")]),_:1})]),_:1})]),_:1}),dt(c,null,{default:Yr(()=>[dt(o,{color:"primary",block:"true",onClick:e[12]||(e[12]=f=>n.dialog=!1)},{default:Yr(()=>[ki("Close")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","theme"])],64)}const hB=Bo(iB,[["render",fB],["__scopeId","data-v-4ba716b9"]]),dB=Io({name:"SequenceView",components:{SequenceViewInformation:hB,TabulatorTable:Wd,AminoAcidCell:UM,ProteinTerminalCell:HM,SvgScreenshot:WM},props:{index:{type:Number,required:!0}},setup(){const n=os(),e=Bc(),r=lg();return{streamlitDataStore:n,selectionStore:e,variableModData:r}},data(){return{rowWidth:35,precursorData:[],ionTypes:[{text:"a",selected:!1},{text:"b",selected:!0},{text:"c",selected:!1},{text:"x",selected:!1},{text:"y",selected:!0},{text:"z",selected:!1}],ionTypesExtra:{"water loss":!0,"ammonium loss":!0,"proton loss/addition":!0},fragmentMassTolerance:10,fragmentTableColumnDefinitions:[{title:"Name",field:"Name"},{title:"Ion type",field:"IonType"},{title:"Ion number",field:"IonNumber"},{title:"Theoretical mass",field:"TheoreticalMass"},{title:"Observed mass",field:"ObservedMass",formatter:Uf()},{title:"Mass difference (Da)",field:"MassDiffDa"},{title:"Mass difference (ppm)",field:"MassDiffPpm"}],fragmentTableData:[],fragmentTableTitle:"",residueCleavagePercentage:0,sequenceObjects:[],selectedFragTableRowIndex:void 0}},computed:{theme(){return this.streamlitDataStore.theme},sequence(){return this.streamlitDataStore.sequenceData?this.streamlitDataStore.sequenceData[0].sequence:[]},theoreticalMass(){var n,e;return((e=(n=this.streamlitDataStore.sequenceData)==null?void 0:n[0])==null?void 0:e.theoretical_mass)??0},fixedModificationSites(){var n,e;return((e=(n=this.streamlitDataStore.sequenceData)==null?void 0:n[0])==null?void 0:e.fixed_modifications)??[]},variableModifications(){return this.variableModData.variableModifications??{}},tickLabels(){return{20:"20",25:"25",30:"30",35:"35",40:"40"}},gridClasses(){return{"sequence-grid":!0,[`grid-width-${this.rowWidth}`]:!0}},proteinTerminalCellStyles(){var n;return{"--amino-acid-cell-hover-color":"#fff","--amino-acid-cell-hover-bg-color":((n=this.theme)==null?void 0:n.secondaryBackgroundColor)??"#000"}},selectedScanIndex(){return this.selectionStore.selectedScanIndex},calculateCleavagePercentage(){let n=0;for(let e=0,r=this.sequenceObjects.length-1;e{r+=D}));const S=Math.abs(r-e);this.precursorData=[`Theoretical mass: ${r.toFixed(2)}`,`Observed mass :${e.toFixed(2)}`,`Δ Mass (Da) :${S.toFixed(2)}`]},prepareFragmentTable(){if(this.selectedScanIndex==null){this.fragmentTableTitle="";return}const n=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex];if(n.PrecursorMass===0){this.fragmentTableTitle="";return}const r=n.MonoMass;let S=[];const D=this.sequence.length-1;this.ionTypes.filter(x=>x.selected).forEach(x=>{var t,d;const o=(d=(t=this.streamlitDataStore.sequenceData)==null?void 0:t[0])==null?void 0:d[`fragment_masses_${x.text}`];for(let g=0,i=o.length;g{parseInt(p)<=g&&(M+=u)}),(x.text==="x"||x.text==="y"||x.text==="z")&&Object.entries(this.variableModifications).forEach(([p,u])=>{D-parseInt(p)<=g&&(M+=u)}));const v=Object.entries(jM).filter(([p])=>this.ionTypesExtra[p]||p==="default").map(([p,u])=>u).flat();for(let p=0,u=r.length;p{const s=M+c,l=r[p]-s,h=l/s*1e6;if(Math.abs(h)>this.fragmentMassTolerance)return;const f={Name:`${x.text}${g+1}`,IonType:`${x.text}${a}`,IonNumber:g+1,TheoreticalMass:s.toFixed(3),ObservedMass:r[p],MassDiffDa:l.toFixed(3),MassDiffPpm:h.toFixed(3)};S.push(f);let m=g;(x.text==="a"||x.text==="b"||x.text==="c")&&(this.sequenceObjects[m][`${x.text}Ion`]=!0),(x.text==="x"||x.text==="y"||x.text==="z")&&(this.sequenceObjects[D-g][`${x.text}Ion`]=!0,m=D-g),a&&this.sequenceObjects[m].extraTypes.push(`${x.text}${a}`)})}}),this.residueCleavagePercentage=this.calculateCleavagePercentage,this.fragmentTableData=S,this.fragmentTableTitle=`Matching fragments (# ${S.length})`},fixedModification(n){return this.fixedModificationSites.includes(n)},initializeSequenceObjects(){this.sequenceObjects=[],this.sequence.forEach(n=>{this.sequenceObjects.push({aminoAcid:n,aIon:!1,bIon:!1,cIon:!1,xIon:!1,yIon:!1,zIon:!1,extraTypes:[]})})},aminoAcidSelected(n){let e="";const r=this.sequenceObjects[n];r.aIon?e=`a${n+1}`:r.bIon?e=`b${n+1}`:r.cIon?e=`c${n+1}`:r.xIon?e=`x${this.sequence.length-n}`:r.yIon?e=`y${this.sequence.length-n}`:e=`z${this.sequence.length-n}`,this.selectedFragTableRowIndex=this.fragmentTableData.findIndex(S=>S.Name===e),this.selectionStore.selectedAminoAcid(this.fragmentTableData[this.selectedFragTableRowIndex].ObservedMass)}}});const $M=n=>(jd("data-v-d938d643"),n=n(),Ud(),n),pB=$M(()=>Nr("div",{class:"d-flex justify-center"},[Nr("h4",null,"Sequence View")],-1)),mB={id:"sequence-part"},gB={class:"d-flex justify-space-evenly"},vB=$M(()=>Nr("h3",null,"Precursor",-1)),yB={class:"d-flex justify-end px-4 mb-4"},bB={class:"d-flex justify-space-evenly"},xB={class:"d-flex justify-space-evenly"},_B={key:0,class:"d-flex justify-center align-center"},wB={key:2,class:"d-flex justify-center align-center"},TB={id:"sequence-view-table"};function kB(n,e,r,S,D,x){var _;const o=Tr("v-divider"),t=Tr("SvgScreenshot"),d=Tr("SequenceViewInformation"),g=Tr("v-btn"),i=Tr("v-list-item-title"),M=Tr("v-slider"),v=Tr("v-list-item"),p=Tr("v-checkbox"),u=Tr("v-text-field"),a=Tr("v-list"),c=Tr("v-card"),s=Tr("v-menu"),l=Tr("ProteinTerminalCell"),h=Tr("AminoAcidCell"),f=Tr("TabulatorTable"),m=Tr("v-sheet");return Dr(),ai(Xr,null,[pB,dt(m,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((_=n.theme)==null?void 0:_.base)??"light",border:""},{default:Yr(()=>[Nr("div",mB,[Nr("div",gB,[n.precursorData.length!=0?(Dr(),ai(Xr,{key:0},[vB,dt(o,{vertical:!0}),(Dr(!0),ai(Xr,null,_l(n.precursorData,(y,C)=>(Dr(),ai(Xr,{key:C},[ki(So(y)+" ",1),dt(o,{vertical:!0})],64))),128))],64)):pa("",!0)]),Nr("div",yB,[Nr("div",null,[dt(t,{"element-id":"sequence-part"}),dt(d),dt(g,{id:"settings-button",variant:"text",icon:"mdi-cog",size:"large"}),dt(s,{"close-on-content-click":!1,activator:"#settings-button",location:"bottom"},{default:Yr(()=>[dt(c,{"min-width":"300"},{default:Yr(()=>[dt(a,null,{default:Yr(()=>[dt(v,null,{default:Yr(()=>[dt(i,null,{default:Yr(()=>[ki("# amino acids per row")]),_:1}),dt(M,{modelValue:n.rowWidth,"onUpdate:modelValue":e[0]||(e[0]=y=>n.rowWidth=y),ticks:n.tickLabels,min:20,max:40,step:"5","show-ticks":"always","tick-size":"4"},null,8,["modelValue","ticks"])]),_:1}),dt(v,null,{default:Yr(()=>[dt(i,null,{default:Yr(()=>[ki("Fragment ion types")]),_:1}),Nr("div",bB,[(Dr(!0),ai(Xr,null,_l(n.ionTypes,(y,C)=>(Dr(),Aa(p,{key:y.text,modelValue:y.selected,"onUpdate:modelValue":w=>y.selected=w,"hide-details":"",density:"comfortable",label:y.text,onClick:w=>n.toggleIonTypeSelected(C)},null,8,["modelValue","onUpdate:modelValue","label","onClick"]))),128))]),Nr("div",xB,[(Dr(!0),ai(Xr,null,_l(Object.keys(n.ionTypesExtra),y=>(Dr(),Aa(p,{key:y,modelValue:n.ionTypesExtra[y],"onUpdate:modelValue":C=>n.ionTypesExtra[y]=C,"hide-details":"",density:"comfortable",label:y},null,8,["modelValue","onUpdate:modelValue","label"]))),128))])]),_:1}),dt(v,null,{default:Yr(()=>[dt(i,null,{default:Yr(()=>[ki("Fragment mass tolerance")]),_:1}),dt(u,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[1]||(e[1]=y=>n.fragmentMassTolerance=y),type:"number","hide-details":"auto",label:"mass tolerance in ppm",onChange:n.updateMassTolerance},null,8,["modelValue","onChange"])]),_:1})]),_:1})]),_:1})]),_:1})])]),Nr("div",{class:vu(["pb-4 px-2",n.gridClasses]),style:{width:"100%","max-width":"100%"}},[(Dr(!0),ai(Xr,null,_l(n.sequenceObjects,(y,C)=>(Dr(),ai(Xr,{key:C},[C!==0&&C%n.rowWidth===0?(Dr(),ai("div",_B,So(C+1),1)):pa("",!0),C===0?(Dr(),Aa(l,{key:1,"protein-terminal":"N-term",index:-1})):pa("",!0),dt(h,{index:C,"sequence-object":y,"fixed-modification":n.fixedModification(y.aminoAcid),onSelected:n.aminoAcidSelected},null,8,["index","sequence-object","fixed-modification","onSelected"]),C%n.rowWidth===n.rowWidth-1&&C!==n.sequence.length-1?(Dr(),ai("div",wB,So(C+1),1)):pa("",!0),C===n.sequence.length-1?(Dr(),Aa(l,{key:3,"protein-terminal":"C-term",index:n.sequence.length},null,8,["index"])):pa("",!0)],64))),128))],2)]),Nr("div",TB,[n.fragmentTableTitle!==""?(Dr(),Aa(f,{key:0,"table-data":n.fragmentTableData,"column-definitions":n.fragmentTableColumnDefinitions,index:n.index,"selected-row-index-from-listening":n.selectedFragTableRowIndex,"table-layout-param":"fitColumns"},{default:Yr(()=>[ki(So(n.fragmentTableTitle),1)]),"end-title-row":Yr(()=>[ki("% Residue cleavage: "+So(n.residueCleavagePercentage.toFixed(3))+"%",1)]),_:1},8,["table-data","column-definitions","index","selected-row-index-from-listening"])):pa("",!0)])]),_:1},8,["theme"])],64)}const MB=Bo(dB,[["render",kB],["__scopeId","data-v-d938d643"]]),AB=Io({name:"AminoAcidCellTagger",props:{sequenceObject:{type:Object,required:!0},index:{type:Number,required:!0},fixedModification:{type:Boolean,default:!1}},emits:["selected"],setup(){const n=os(),e=lg(),r=Bc();return{streamlitData:n,variableModData:e,selectionStore:r}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.aminoAcid}${this.index}`},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:1},theme(){return this.streamlitData.theme},aminoAcid(){return this.sequenceObject.aminoAcid},coverage(){return this.sequenceObject.coverage},modificationsForSelect(){return["None","Custom",...this.potentialModifications]},aminoAcidCellStyles(){var e,r,S;let n=typeof this.sequenceObject.coverage=="number"?this.sequenceObject.coverage:.9;return n!==0&&(n=n*.9+.1),{"--amino-acid-cell-color":((e=this.theme)==null?void 0:e.textColor)??"#fff","--amino-acid-cell-bg-color":`rgba(228, 87, 46, ${n})`,"--amino-acid-cell-hover-color":((r=this.theme)==null?void 0:r.textColor)??"#fff","--amino-acid-cell-hover-bg-color":((S=this.theme)==null?void 0:S.backgroundColor)??"#000",position:"relative"}},aminoAcidCellClass(){return{"sequence-amino-acid":!this.fixedModification,"sequence-amino-acid-highlighted":this.fixedModification,"sequence-amino-acid-modified":this.isThisAAmodified}},potentialModifications(){return b_[this.aminoAcid]??[]},isThisAAmodified(){const n=this.variableModData.variableModifications??{};return this.selectedModification!==void 0?!0:n[this.index]!==void 0&&n[this.index]!==0},DoesThisAAHaveMatchingFragments(){return this.sequenceObject.aIon||this.sequenceObject.bIon||this.sequenceObject.cIon||this.sequenceObject.xIon||this.sequenceObject.yIon||this.sequenceObject.zIon},DoesThisAAHaveSequenceTags(){return this.coverage>0},DoesThisAAHaveExtraFragTypes(){return this.sequenceObject.extraTypes.length>0},isHighlighted(){return this.index===this.selectionStore.selectedAApos}},methods:{toggleMenuOpen(){this.menuOpen=!this.menuOpen},selectCell(){this.DoesThisAAHaveSequenceTags&&(this.selectionStore.selectedAApos===this.index?this.selectionStore.updateSelectedAA(void 0):this.selectionStore.updateSelectedAA(this.index))},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?y_[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}}});const ah=n=>(jd("data-v-953b463c"),n=n(),Ud(),n),SB=["id"],CB={key:0,class:"frag-marker-container-a"},EB=ah(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"green",d:"M7, 1 L9, 3 L9, 7 L9, 3 L7, 1 z","stroke-width":"1.5"})],-1)),LB=[EB],IB={key:1,class:"frag-marker-container-b"},OB=ah(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"#669BBC",d:"M10, 0 V5 M10, 0 H5 z","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),PB=[OB],DB={key:2,class:"frag-marker-container-c"},RB=ah(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"red",d:"M4, 1 L9, 3 L9, 7 L9, 3 L4, 1 z","stroke-width":"1.5"})],-1)),zB=[RB],FB={key:3,class:"frag-marker-container-x"},BB=ah(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"green",d:"M1, 3 L1, 7 L3, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),NB=[BB],VB={key:4,class:"frag-marker-container-y"},jB=ah(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"#669BBC",d:"M0, 10 V5 M0, 10 H5 z","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),UB=[jB],HB={key:5,class:"frag-marker-container-z"},GB=ah(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"red",d:"M1, 3 L1, 7 L6, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),WB=[GB],qB={key:6,class:"frag-marker-extra-type"},$B=ah(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("circle",{cx:"5",cy:"5",r:"0.5",stroke:"black","stroke-width":"0.3",fill:"gold"})],-1)),YB=[$B],ZB={class:"aa-text"},XB=ah(()=>Nr("br",null,null,-1)),KB=ah(()=>Nr("br",null,null,-1)),JB={key:0};function QB(n,e,r,S,D,x){const o=Tr("v-select"),t=Tr("v-list-item"),d=Tr("v-text-field"),g=Tr("v-btn"),i=Tr("v-form"),M=Tr("v-list"),v=Tr("v-menu"),p=Tr("v-tooltip");return Dr(),ai("div",{id:n.id,class:vu(["d-flex justify-center align-center rounded-lg",[n.aminoAcidCellClass,{highlighted:n.isHighlighted}]]),style:Bs(n.aminoAcidCellStyles),onClick:e[5]||(e[5]=(...u)=>n.selectCell&&n.selectCell(...u)),onContextmenu:e[6]||(e[6]=Wf((...u)=>n.toggleMenuOpen&&n.toggleMenuOpen(...u),["prevent"]))},[n.sequenceObject.aIon?(Dr(),ai("div",CB,LB)):pa("",!0),n.sequenceObject.bIon?(Dr(),ai("div",IB,PB)):pa("",!0),n.sequenceObject.cIon?(Dr(),ai("div",DB,zB)):pa("",!0),n.sequenceObject.xIon?(Dr(),ai("div",FB,NB)):pa("",!0),n.sequenceObject.yIon?(Dr(),ai("div",VB,UB)):pa("",!0),n.sequenceObject.zIon?(Dr(),ai("div",HB,WB)):pa("",!0),n.DoesThisAAHaveExtraFragTypes?(Dr(),ai("div",qB,YB)):pa("",!0),Nr("div",ZB,So(n.aminoAcid),1),dt(v,{modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=u=>n.menuOpen=u),activator:"parent",location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:Yr(()=>[dt(M,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[dt(o,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=u=>n.selectedModification=u),n.updateSelectedModification],clearable:"true",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=u=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Dr(),Aa(t,{key:0},{default:Yr(()=>[dt(i,{onSubmit:e[3]||(e[3]=Wf(()=>{},["prevent"]))},{default:Yr(()=>[dt(d,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=u=>n.customModMass=u),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),dt(g,{type:"submit",block:"true",class:"mt-2",onClick:n.updateCustomModification},{default:Yr(()=>[ki("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):pa("",!0)]),_:1})]),_:1},8,["modelValue"]),dt(p,{activator:"parent"},{default:Yr(()=>{var u;return[ki(So(`Prefix: ${n.index+1}`)+" ",1),XB,ki(" "+So(`Suffix: ${(((u=n.streamlitData.sequenceData)==null?void 0:u[n.selectedSequence].sequence.length)??0)-n.index}`)+" ",1),KB,n.DoesThisAAHaveExtraFragTypes?(Dr(),ai("div",JB,So(n.sequenceObject.extraTypes.join(", ")),1)):pa("",!0)]}),_:1})],46,SB)}const YM=Bo(AB,[["render",QB],["__scopeId","data-v-953b463c"]]),eN=Io({name:"SequenceViewInformationTagger",components:{AminoAcidCellTagger:YM},setup(){return{streamlitDataStore:os()}},data(){return{dialog:!1,aIon:!0,bIon:!1,cIon:!1,xIon:!0,yIon:!0,zIon:!1,fixed_mod:!1,variable_mod:!1,originalAAClasses:void 0,waterLoss:!1,ammoniumLoss:!1,proton:!1}},computed:{theme(){return this.streamlitDataStore.theme},aaSequenceObject(){return{aminoAcid:"AA",aIon:this.aIon,bIon:this.bIon,cIon:this.cIon,xIon:this.xIon,yIon:this.yIon,zIon:this.zIon,extraTypes:this.extraFragTypes(),coverage:0}}},methods:{setAAWithVarMod(){var e;this.originalAAClasses===void 0&&(this.originalAAClasses=((e=document.getElementById("AA0"))==null?void 0:e.getAttribute("class"))??"");const n=document.getElementById("AA0");if(n){let r=this.originalAAClasses;this.fixed_mod&&(r="sequence-amino-acid-highlighted "+r),this.variable_mod&&(r="sequence-amino-acid-modified "+r),n.setAttribute("class",r)}},extraFragTypes(){let n="";if(this.aIon)n="a";else if(this.bIon)n="b";else if(this.cIon)n="c";else if(this.xIon)n="x";else if(this.yIon)n="y";else if(this.zIon)n="z";else return[];let e=[];return this.waterLoss&&e.push(`${n}-H20`),this.ammoniumLoss&&e.push(`${n}-NH3`),this.proton&&(e.push(`${n}-H`),e.push(`${n}+H`)),e}}});const ZM=n=>(jd("data-v-d77bc8b6"),n=n(),Ud(),n),tN=ZM(()=>Nr("div",{class:"text-h6 d-flex justify-center"},"Legend for Sequence Map",-1)),nN={class:"d-flex justify-center"},rN={class:"sequence-grid pa-6",style:{width:"150px","max-width":"100%"}},iN={class:"d-flex"},aN={class:"d-flex"},oN=ZM(()=>Nr("div",{class:"text-subtitle-2 d-flex justify-end align-end"}," * Click checkboxes to see the styles ",-1));function sN(n,e,r,S,D,x){var h;const o=Tr("v-btn"),t=Tr("v-card-title"),d=Tr("v-divider"),g=Tr("AminoAcidCellTagger"),i=Tr("v-checkbox"),M=Tr("v-row"),v=Tr("v-list-item-title"),p=Tr("v-list-item"),u=Tr("v-list"),a=Tr("v-card-text"),c=Tr("v-card-actions"),s=Tr("v-card"),l=Tr("v-dialog");return Dr(),ai(Xr,null,[dt(o,{id:"info-button",variant:"text",size:"large",icon:"mdi-information"}),dt(l,{modelValue:n.dialog,"onUpdate:modelValue":e[13]||(e[13]=f=>n.dialog=f),activator:"#info-button",width:"auto",theme:((h=n.theme)==null?void 0:h.base)??"light"},{default:Yr(()=>[dt(s,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[ki("Sequence View legend")]),_:1}),dt(d),dt(a,null,{default:Yr(()=>[tN,Nr("div",nN,[Nr("div",rN,[dt(g,{index:0,"sequence-object":n.aaSequenceObject,onSelected:e[0]||(e[0]=Wf(()=>{},["stop"]))},null,8,["sequence-object"])])]),ki(" Fragment ion types "),dt(M,null,{default:Yr(()=>[Nr("div",iN,[dt(i,{modelValue:n.aIon,"onUpdate:modelValue":e[1]||(e[1]=f=>n.aIon=f),label:"a"},null,8,["modelValue"]),dt(i,{modelValue:n.bIon,"onUpdate:modelValue":e[2]||(e[2]=f=>n.bIon=f),label:"b"},null,8,["modelValue"]),dt(i,{modelValue:n.cIon,"onUpdate:modelValue":e[3]||(e[3]=f=>n.cIon=f),label:"c"},null,8,["modelValue"]),dt(i,{modelValue:n.xIon,"onUpdate:modelValue":e[4]||(e[4]=f=>n.xIon=f),label:"x"},null,8,["modelValue"]),dt(i,{modelValue:n.yIon,"onUpdate:modelValue":e[5]||(e[5]=f=>n.yIon=f),label:"y"},null,8,["modelValue"]),dt(i,{modelValue:n.zIon,"onUpdate:modelValue":e[6]||(e[6]=f=>n.zIon=f),label:"z"},null,8,["modelValue"]),dt(i,{modelValue:n.waterLoss,"onUpdate:modelValue":e[7]||(e[7]=f=>n.waterLoss=f),label:"water loss"},null,8,["modelValue"]),dt(i,{modelValue:n.ammoniumLoss,"onUpdate:modelValue":e[8]||(e[8]=f=>n.ammoniumLoss=f),label:"ammonium loss"},null,8,["modelValue"]),dt(i,{modelValue:n.proton,"onUpdate:modelValue":e[9]||(e[9]=f=>n.proton=f),label:"proton loss/addition"},null,8,["modelValue"])])]),_:1}),ki(" Modifications "),Nr("div",aN,[dt(i,{modelValue:n.fixed_mod,"onUpdate:modelValue":[e[10]||(e[10]=f=>n.fixed_mod=f),n.setAAWithVarMod],label:"Fixed modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),dt(i,{modelValue:n.variable_mod,"onUpdate:modelValue":[e[11]||(e[11]=f=>n.variable_mod=f),n.setAAWithVarMod],label:"Variable modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),oN]),dt(u,{density:"compact"},{default:Yr(()=>[dt(v,null,{default:Yr(()=>[ki("Interaction tips")]),_:1}),dt(p,null,{default:Yr(()=>[ki("Left click: highlights corresponding entries in Fragment Table and Mass Table")]),_:1}),dt(p,null,{default:Yr(()=>[ki("Right click: opens variable modification menu (custom modification is available)")]),_:1})]),_:1})]),_:1}),dt(c,null,{default:Yr(()=>[dt(o,{color:"primary",block:"true",onClick:e[12]||(e[12]=f=>n.dialog=!1)},{default:Yr(()=>[ki("Close")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","theme"])],64)}const lN=Bo(eN,[["render",sN],["__scopeId","data-v-d77bc8b6"]]),uN=Io({name:"SequenceViewTagger",components:{SequenceViewInformationTagger:lN,TabulatorTable:Wd,AminoAcidCellTagger:YM,ProteinTerminalCell:HM,SvgScreenshot:WM},props:{index:{type:Number,required:!0}},setup(){const n=os(),e=Bc(),r=lg();return{streamlitDataStore:n,selectionStore:e,variableModData:r}},data(){return{rowWidth:35,precursorData:[],ionTypes:[{text:"a",selected:!1},{text:"b",selected:!0},{text:"c",selected:!1},{text:"x",selected:!1},{text:"y",selected:!0},{text:"z",selected:!1}],ionTypesExtra:{"water loss":!0,"ammonium loss":!0,"proton loss/addition":!0},fragmentMassTolerance:10,fragmentTableColumnDefinitions:[{title:"Name",field:"Name"},{title:"Ion type",field:"IonType"},{title:"Ion number",field:"IonNumber"},{title:"Theoretical mass",field:"TheoreticalMass"},{title:"Observed mass",field:"ObservedMass",formatter:Uf()},{title:"Mass difference (Da)",field:"MassDiffDa"},{title:"Mass difference (ppm)",field:"MassDiffPpm"}],fragmentTableData:[],fragmentTableTitle:"",residueCleavagePercentage:0,sequenceObjects:[],selectedFragTableRowIndex:void 0}},computed:{theme(){return this.streamlitDataStore.theme},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;if(typeof n=="number")return n},selectedTag(){return this.selectionStore.selectedTag},sequence(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.sequence)??[]:[]},coverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.coverage)??[]:[]},maxCoverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.maxCoverage)??-1:-1},theoreticalMass(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.theoretical_mass)??0:0},fixedModificationSites(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.fixed_modifications)??[]:[]},variableModifications(){return this.variableModData.variableModifications??{}},tickLabels(){return{20:"20",25:"25",30:"30",35:"35",40:"40"}},gridClasses(){return{"sequence-grid":!0,[`grid-width-${this.rowWidth}`]:!0}},proteinTerminalCellStyles(){var n;return{"--amino-acid-cell-hover-color":"#fff","--amino-acid-cell-hover-bg-color":((n=this.theme)==null?void 0:n.secondaryBackgroundColor)??"#000"}},selectedScanIndex(){return this.selectionStore.selectedScanIndex},calculateCleavagePercentage(){let n=0;for(let e=0,r=this.sequenceObjects.length-1;e{}))},prepareFragmentTable(){if(this.selectedScanIndex==null){this.fragmentTableTitle="";return}const n=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex];if(n.PrecursorMass===0){this.fragmentTableTitle="";return}const r=n.MonoMass;let S=[];const D=this.sequence.length-1;this.ionTypes.filter(x=>x.selected).forEach(x=>{const o=`fragment_masses_${x.text}`;let t=[];typeof this.streamlitDataStore.sequenceData<"u"&&(t=this.streamlitDataStore.sequenceData[o]);for(let d=0,g=t.length;d{parseInt(v)<=d&&(i+=p)}),(x.text==="x"||x.text==="y"||x.text==="z")&&Object.entries(this.variableModifications).forEach(([v,p])=>{D-parseInt(v)<=d&&(i+=p)}));const M=Object.entries(jM).filter(([v])=>this.ionTypesExtra[v]||v==="default").map(([v,p])=>p).flat();for(let v=0,p=r.length;v{const c=i+a,s=r[v]-c,l=s/c*1e6;if(Math.abs(l)>this.fragmentMassTolerance)return;const h={Name:`${x.text}${d+1}`,IonType:`${x.text}${u}`,IonNumber:d+1,TheoreticalMass:c.toFixed(3),ObservedMass:r[v],MassDiffDa:s.toFixed(3),MassDiffPpm:l.toFixed(3)};S.push(h);let f=d;(x.text==="a"||x.text==="b"||x.text==="c")&&(this.sequenceObjects[f][`${x.text}Ion`]=!0),(x.text==="x"||x.text==="y"||x.text==="z")&&(this.sequenceObjects[D-d][`${x.text}Ion`]=!0,f=D-d),u&&this.sequenceObjects[f].extraTypes.push(`${x.text}${u}`)})}}),this.residueCleavagePercentage=this.calculateCleavagePercentage,this.fragmentTableData=S,this.fragmentTableTitle=`Matching fragments (# ${S.length})`},fixedModification(n){return this.fixedModificationSites.includes(n)},initializeSequenceObjects(){this.sequenceObjects=[],this.sequence.forEach((n,e)=>{var x,o;const r=this.coverage[e],S=((x=this.selectedTag)==null?void 0:x.startPos)==e,D=((o=this.selectedTag)==null?void 0:o.endPos)==e;this.sequenceObjects.push({aminoAcid:n,coverage:r,aIon:!1,bIon:D,cIon:!1,xIon:!1,yIon:S,zIon:!1,extraTypes:[]})})},aminoAcidSelected(n){let e="";const r=this.sequenceObjects[n];r.aIon?e=`a${n+1}`:r.bIon?e=`b${n+1}`:r.cIon?e=`c${n+1}`:r.xIon?e=`x${this.sequence.length-n}`:r.yIon?e=`y${this.sequence.length-n}`:e=`z${this.sequence.length-n}`,this.selectedFragTableRowIndex=this.fragmentTableData.findIndex(S=>S.Name===e),this.selectionStore.selectedAminoAcid(this.fragmentTableData[this.selectedFragTableRowIndex].ObservedMass)}}});const e1=n=>(jd("data-v-3ef6c7b6"),n=n(),Ud(),n),cN=e1(()=>Nr("div",{class:"d-flex justify-center"},[Nr("h4",null,"Sequence View")],-1)),fN={class:"sequence-and-scale"},hN={id:"sequence-part"},dN={class:"d-flex justify-space-evenly"},pN=e1(()=>Nr("h3",null,"Precursor",-1)),mN={class:"d-flex justify-end px-4 mb-4"},gN={key:0,class:"d-flex justify-center align-center"},vN={key:2,class:"d-flex justify-center align-center"},yN={class:"scale-container",title:"Coverage"},bN={class:"scale-text"},xN=e1(()=>Nr("div",{class:"scale"},null,-1)),_N=e1(()=>Nr("div",{class:"scale-text"},"1x",-1)),wN={id:"sequence-view-table"};function TN(n,e,r,S,D,x){var f;const o=Tr("v-divider"),t=Tr("SvgScreenshot"),d=Tr("SequenceViewInformationTagger"),g=Tr("v-btn"),i=Tr("v-list-item-title"),M=Tr("v-slider"),v=Tr("v-list-item"),p=Tr("v-list"),u=Tr("v-card"),a=Tr("v-menu"),c=Tr("ProteinTerminalCell"),s=Tr("AminoAcidCellTagger"),l=Tr("TabulatorTable"),h=Tr("v-sheet");return Dr(),ai(Xr,null,[cN,dt(h,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((f=n.theme)==null?void 0:f.base)??"light",border:""},{default:Yr(()=>[Nr("div",fN,[Nr("div",hN,[Nr("div",dN,[n.precursorData.length!=0?(Dr(),ai(Xr,{key:0},[pN,dt(o,{vertical:!0}),(Dr(!0),ai(Xr,null,_l(n.precursorData,(m,_)=>(Dr(),ai(Xr,{key:_},[ki(So(m)+" ",1),dt(o,{vertical:!0})],64))),128))],64)):pa("",!0)]),Nr("div",mN,[Nr("div",null,[dt(t,{"element-id":"sequence-part"}),dt(d),dt(g,{id:"settings-button",variant:"text",icon:"mdi-cog",size:"large"}),dt(a,{"close-on-content-click":!1,activator:"#settings-button",location:"bottom"},{default:Yr(()=>[dt(u,{"min-width":"300"},{default:Yr(()=>[dt(p,null,{default:Yr(()=>[dt(v,null,{default:Yr(()=>[dt(i,null,{default:Yr(()=>[ki("# amino acids per row")]),_:1}),dt(M,{modelValue:n.rowWidth,"onUpdate:modelValue":e[0]||(e[0]=m=>n.rowWidth=m),ticks:n.tickLabels,min:20,max:40,step:"5","show-ticks":"always","tick-size":"4"},null,8,["modelValue","ticks"])]),_:1})]),_:1})]),_:1})]),_:1})])]),Nr("div",{class:vu(["pb-4 px-2",n.gridClasses]),style:{width:"100%","max-width":"100%"}},[(Dr(!0),ai(Xr,null,_l(n.sequenceObjects,(m,_)=>(Dr(),ai(Xr,{key:_},[_!==0&&_%n.rowWidth===0?(Dr(),ai("div",gN,So(_+1),1)):pa("",!0),_===0?(Dr(),Aa(c,{key:1,"protein-terminal":"N-term",index:-1})):pa("",!0),dt(s,{index:_,"sequence-object":m,"fixed-modification":n.fixedModification(m.aminoAcid),onSelected:n.aminoAcidSelected},null,8,["index","sequence-object","fixed-modification","onSelected"]),_%n.rowWidth===n.rowWidth-1&&_!==n.sequence.length-1?(Dr(),ai("div",vN,So(_+1),1)):pa("",!0),_===n.sequence.length-1?(Dr(),Aa(c,{key:3,"protein-terminal":"C-term",index:n.sequence.length},null,8,["index"])):pa("",!0)],64))),128))],2)]),Nr("div",yN,[Nr("div",bN,So(n.maxCoverage+"x"),1),xN,_N])]),Nr("div",wN,[n.fragmentTableTitle!==""?(Dr(),Aa(l,{key:0,"table-data":n.fragmentTableData,"column-definitions":n.fragmentTableColumnDefinitions,index:n.index,"selected-row-index-from-listening":n.selectedFragTableRowIndex,"table-layout-param":"fitColumns"},{default:Yr(()=>[ki(So(n.fragmentTableTitle),1)]),"end-title-row":Yr(()=>[ki("% Residue cleavage: "+So(n.residueCleavagePercentage.toFixed(3))+"%",1)]),_:1},8,["table-data","column-definitions","index","selected-row-index-from-listening"])):pa("",!0)])]),_:1},8,["theme"])],64)}const kN=Bo(uN,[["render",TN],["__scopeId","data-v-3ef6c7b6"]]),MN=Io({name:"FLASHQuantView",components:{TabulatorTable:Wd},setup(){return{streamlitDataStore:os()}},data(){return{setHeightInterval:null,featureGroupTableColumnDefinitions:[{title:"Index",field:"FeatureGroupIndex"},{title:"Monoisotopic Mass",field:"MonoisotopicMass"},{title:"Average Mass",field:"AverageMass"},{title:"Start Retention Time (FWHM)",field:"StartRetentionTime(FWHM)"},{title:"End Retention Time (FWHM)",field:"EndRetentionTime(FWHM)"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Min Charge",field:"MinCharge"},{title:"Max Charge",field:"MaxCharge"},{title:"Most Abundant Charge",field:"MostAbundantFeatureCharge"},{title:"Isotope Cosine Score",field:"IsotopeCosineScore"}],selectedFeatureGroupIndex:void 0,maximumIntensity:0}},computed:{theme(){return this.streamlitDataStore.theme},featureGroupTableData(){return this.streamlitDataStore.dataForDrawing.quant_data},trace3DgraphLayout(){var n,e,r,S;return{title:"Feature group signals",paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(S=this.theme)==null?void 0:S.font},scene:{xaxis:{title:"m/z"},yaxis:{title:"retention time"},zaxis:{title:"intensity",range:[0,this.maximumIntensity]}},showlegend:!0}}},watch:{selectedFeatureGroupIndex(){this.trace3DGraph()}},mounted(){this.setHeightInterval=setInterval(()=>Tc.setFrameHeight(),500)},unmounted(){this.setHeightInterval!==null&&clearInterval(this.setHeightInterval)},methods:{async trace3DGraph(){await Ns.newPlot("trace3Dplot",this.trace3DgraphData(),this.trace3DgraphLayout,{responsive:!0})},updateSelectedFeatureGroupRow(n){n!==void 0&&(this.selectedFeatureGroupIndex=n)},trace3DgraphData(){if(this.selectedFeatureGroupIndex===void 0)return[];const n=this.featureGroupTableData[this.selectedFeatureGroupIndex],e=[...new Set(n.Charges)],r={};e.forEach(x=>{r[x]={mzs:[],rts:[],intys:[]}}),n.Charges.forEach((x,o)=>{const t=n.MZs[o].split(",").map(parseFloat),d=n.RTs[o].split(",").map(parseFloat),g=n.Intensities[o].split(",").map(parseFloat);r[x].mzs.push(t[0]),r[x].rts.push(d[0]),r[x].intys.push(-1e3),r[x].mzs.push(...t),r[x].rts.push(...d),r[x].intys.push(...g),r[x].mzs.push(t[-1]),r[x].rts.push(d[-1]),r[x].intys.push(-1e3)}),this.maximumIntensity=Math.max.apply(null,Object.values(r).map(x=>Math.max.apply(null,x.intys)));let D=[];return Object.entries(r).forEach(([x,o])=>{D.push({x:o.mzs,y:o.rts,z:o.intys,mode:"lines",line:{color:"#3366CC"},type:"scatter3d",name:`Charge: ${x}`})}),D}}}),AN={class:"pa-4"},SN=Nr("div",{id:"trace3Dplot",style:{width:"90%"}},null,-1);function CN(n,e,r,S,D,x){const o=Tr("TabulatorTable"),t=Tr("v-row");return Dr(),ai("div",AN,[dt(t,{class:"flex-nowrap"},{default:Yr(()=>[n.featureGroupTableData?(Dr(),Aa(o,{key:0,title:"Feature groups",index:0,"table-data":n.featureGroupTableData,"column-definitions":n.featureGroupTableColumnDefinitions,"table-index-field":"FeatureGroupIndex",onRowSelected:n.updateSelectedFeatureGroupRow},null,8,["table-data","column-definitions","onRowSelected"])):pa("",!0)]),_:1}),SN])}const EN=Bo(MN,[["render",CN]]),LN=Io({name:"InternalFragmentMap",props:{index:{type:Number,required:!0}},setup(){const n=os(),e=Bc();return{streamlitData:n,selectionStore:e}},data(){return{fragmentMassTolerance:10,fragmentMassToleranceUnit:"ppm",fragmentMassTypes:{by:!0,cy:!0,bz:!0},fragmentDisplayOverlay:!1,fragOpacity:.2,fragOpacityMin:.01,fragOpacityMax:1}},computed:{theme(){return this.streamlitData.theme},internalFragmentData(){return this.streamlitData.internalFragmentData},sequence(){return this.streamlitData.sequenceData?this.streamlitData.sequenceData[0].sequence:[]},fragmentStyle(){var n;return{height:(94/(((n=this.sequence)==null?void 0:n.length)??1)).toFixed(2)+"vw","--frag-block-opacity-value":this.fragOpacity}},fragmentTypeContainerStyle(){return{height:this.fragmentDisplayOverlay?this.fragmentStyle.height:"auto"}},fragmentTypeOverlayStyle(){return{position:this.fragmentDisplayOverlay?"absolute":"static"}},fragmentDisplayOverlayLabels(){return this.fragmentDisplayOverlay?"Overlay fragments from the same type":"Stacked"},selectedScanInfo(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitData.allDataForDrawing.per_scan_data[this.selectionStore.selectedScanIndex]},byData(){var S,D,x;if(this.selectedScanInfo===void 0||!((S=this.internalFragmentData)!=null&&S.fragment_masses_by)||!((D=this.internalFragmentData)!=null&&D.start_indices_by)||!((x=this.internalFragmentData)!=null&&x.end_indices_by))return[];if(this.selectedScanInfo.PrecursorMass===0)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_by,this.internalFragmentData.start_indices_by,this.internalFragmentData.end_indices_by,e),e},cyData(){var S,D,x;if(this.selectedScanInfo===void 0||!((S=this.internalFragmentData)!=null&&S.fragment_masses_cy)||!((D=this.internalFragmentData)!=null&&D.start_indices_cy)||!((x=this.internalFragmentData)!=null&&x.end_indices_cy))return[];if(this.selectedScanInfo.PrecursorMass===0)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_cy,this.internalFragmentData.start_indices_cy,this.internalFragmentData.end_indices_cy,e),e},bzData(){var S,D,x;if(this.selectedScanInfo===void 0||!((S=this.internalFragmentData)!=null&&S.fragment_masses_bz)||!((D=this.internalFragmentData)!=null&&D.start_indices_bz)||!((x=this.internalFragmentData)!=null&&x.end_indices_bz))return[];if(this.selectedScanInfo.PrecursorMass===0)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_bz,this.internalFragmentData.start_indices_bz,this.internalFragmentData.end_indices_bz,e),e}},methods:{updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},fragmentClasses(n,e,r,S){const D=n>e&&n<=r;let x=S;return this.fragmentDisplayOverlay&&(x+="-overlayed"),{[x]:D,"not-in-fragment":!D}},filterMatchingMasses(n,e,r,S,D){for(let x=0,o=e.length;xthis.fragmentMassTolerance)){D.push({mass:t,start:r[x],end:S[x]});break}}}}}});const IN=n=>(jd("data-v-95e6ed77"),n=n(),Ud(),n),ON=IN(()=>Nr("div",{class:"d-flex justify-center"},[Nr("h4",null,"Internal Fragment Map")],-1)),PN={class:"d-flex justify-space-between"},DN=L7('
by/cz
bz
cy
',1),RN={class:"d-flex justify-end px-4 mb-4",style:{"max-width":"97%"}},zN={class:"d-flex"},FN={class:"d-flex justify-space-between"},BN={id:"internal-fragment-part"},NN={class:"d-flex",style:{"border-bottom":"white","border-bottom-width":"1px","border-bottom-style":"solid"}};function VN(n,e,r,S,D,x){var c;const o=Tr("v-btn"),t=Tr("v-list-item-title"),d=Tr("v-switch"),g=Tr("v-list-item"),i=Tr("v-text-field"),M=Tr("v-slider"),v=Tr("v-list"),p=Tr("v-card"),u=Tr("v-menu"),a=Tr("v-sheet");return Dr(),ai(Xr,null,[ON,Nr("div",PN,[DN,Nr("div",RN,[dt(o,{id:"settings-button",variant:"text",icon:"mdi-cog",size:"medium"}),dt(u,{"close-on-content-click":!1,activator:"#settings-button",location:"bottom"},{default:Yr(()=>[dt(p,{"min-width":"300"},{default:Yr(()=>[dt(v,null,{default:Yr(()=>[dt(g,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[ki("Fragments display style")]),_:1}),Nr("div",zN,[dt(d,{modelValue:n.fragmentDisplayOverlay,"onUpdate:modelValue":e[0]||(e[0]=s=>n.fragmentDisplayOverlay=s),"hide-details":"",label:`${n.fragmentDisplayOverlayLabels}`,class:"mr-4"},null,8,["modelValue","label"])])]),_:1}),dt(g,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[ki("Opacity of each fragment (If overlay display style)")]),_:1}),Nr("div",{style:Bs({background:`rgba(240, 164, 65, ${n.fragOpacity})`})},[dt(M,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[2]||(e[2]=s=>n.fragOpacity=s),class:"align-center ml-4",max:n.fragOpacityMax,min:n.fragOpacityMin,"hide-details":""},{append:Yr(()=>[dt(i,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[1]||(e[1]=s=>n.fragOpacity=s),"hide-details":"","single-line":"",min:n.fragOpacityMin,max:n.fragOpacityMax,step:"0.01",density:"compact",type:"number",class:"textFieldFontSize"},null,8,["modelValue","min","max"])]),_:1},8,["modelValue","max","min"])],4)]),_:1}),dt(g,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[ki("Fragment mass tolerance")]),_:1}),Nr("div",FN,[dt(d,{modelValue:n.fragmentMassToleranceUnit,"onUpdate:modelValue":e[3]||(e[3]=s=>n.fragmentMassToleranceUnit=s),"true-value":"ppm","false-value":"Da","hide-details":"",label:`${n.fragmentMassToleranceUnit}`,class:"mr-4"},null,8,["modelValue","label"]),dt(i,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[4]||(e[4]=s=>n.fragmentMassTolerance=s),type:"number","hide-details":"auto",label:"mass tolerance",onChange:n.updateMassTolerance},null,8,["modelValue","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})])]),dt(a,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((c=n.theme)==null?void 0:c.base)??"light",border:""},{default:Yr(()=>[Nr("div",BN,[Nr("div",NN,[(Dr(!0),ai(Xr,null,_l(n.sequence,(s,l)=>(Dr(),ai("div",{key:`${s}-${l}`,class:"d-flex justify-center align-center fragment-segment sequence-text",style:Bs(n.fragmentStyle)},So(s),5))),128))]),Nr("div",{style:Bs(n.fragmentTypeContainerStyle)},[(Dr(!0),ai(Xr,null,_l(n.byData,s=>(Dr(),ai("div",{key:s.mass,class:"d-flex",style:Bs(n.fragmentTypeOverlayStyle)},[(Dr(!0),ai(Xr,null,_l(n.sequence,(l,h)=>(Dr(),ai("div",{key:`${l}-${h}`,class:vu(n.fragmentClasses(h,s.start,s.end,"by-fragment")),style:Bs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),Nr("div",{style:Bs(n.fragmentTypeContainerStyle)},[(Dr(!0),ai(Xr,null,_l(n.cyData,s=>(Dr(),ai("div",{key:s.mass,class:"d-flex",style:Bs(n.fragmentTypeOverlayStyle)},[(Dr(!0),ai(Xr,null,_l(n.sequence,(l,h)=>(Dr(),ai("div",{key:`${l}-${h}`,class:vu(n.fragmentClasses(h,s.start,s.end,"cy-fragment")),style:Bs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),Nr("div",{style:Bs(n.fragmentTypeContainerStyle)},[(Dr(!0),ai(Xr,null,_l(n.bzData,s=>(Dr(),ai("div",{key:s.mass,class:"d-flex",style:Bs(n.fragmentTypeOverlayStyle)},[(Dr(!0),ai(Xr,null,_l(n.sequence,(l,h)=>(Dr(),ai("div",{key:`${l}-${h}`,class:vu(n.fragmentClasses(h,s.start,s.end,"bz-fragment")),style:Bs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4)])]),_:1},8,["theme"])],64)}const jN=Bo(LN,[["render",VN],["__scopeId","data-v-95e6ed77"]]),UN=Io({name:"ComponentsRow",components:{InternalFragmentMap:jN,FLASHQuantView:EN,Plotly3Dplot:dF,PlotlyHeatmap:KD,TabulatorScanTable:tF,PlotlyLineplot:aF,PlotlyLineplotTagger:uF,TabulatorMassTable:gF,TabulatorProteinTable:bF,TabulatorTagTable:wF,SequenceView:MB,SequenceViewTagger:kN},props:{components:{type:Object,required:!0},rowIndex:{type:Number,required:!0}},data(){return{componentHeightMapping:{TabulatorScanTable:"height-any",TabulatorMassTable:"height-any",TabulatorProteinTable:"height-any",TabulatorTagTable:"height-any",PlotlyLineplot:"height-any",PlotlyLineplotTagger:"height-any",PlotlyHeatmap:"height-any",Plotly3Dplot:"height-any",SequenceView:"height-any",SequenceViewTagger:"height-any",InternalFragmentMap:"height-any"}}},methods:{componentClasses(n){return{[this.componentHeightMapping[n]]:!0,[`component-width-${this.components.length}`]:!0}},componentIndex(n){return n+this.rowIndex*100}}});const HN={class:"component-row"};function GN(n,e,r,S,D,x){const o=Tr("PlotlyHeatmap"),t=Tr("TabulatorScanTable"),d=Tr("TabulatorMassTable"),g=Tr("TabulatorProteinTable"),i=Tr("TabulatorTagTable"),M=Tr("PlotlyLineplot"),v=Tr("PlotlyLineplotTagger"),p=Tr("Plotly3Dplot"),u=Tr("SequenceView"),a=Tr("SequenceViewTagger"),c=Tr("InternalFragmentMap"),s=Tr("FLASHQuantView");return Dr(),ai("div",HN,[(Dr(!0),ai(Xr,null,_l(n.components,(l,h)=>(Dr(),ai("div",{key:h,class:vu(n.componentClasses(l.componentArgs.componentName))},[l.componentArgs.componentName==="PlotlyHeatmap"?(Dr(),Aa(o,{key:0,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="TabulatorScanTable"?(Dr(),Aa(t,{key:1,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="TabulatorMassTable"?(Dr(),Aa(d,{key:2,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="TabulatorProteinTable"?(Dr(),Aa(g,{key:3,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="TabulatorTagTable"?(Dr(),Aa(i,{key:4,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="PlotlyLineplot"?(Dr(),Aa(M,{key:5,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="PlotlyLineplotTagger"?(Dr(),Aa(v,{key:6,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="Plotly3Dplot"?(Dr(),Aa(p,{key:7,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="SequenceView"?(Dr(),Aa(u,{key:8,index:n.componentIndex(h)},null,8,["index"])):l.componentArgs.componentName==="SequenceViewTagger"?(Dr(),Aa(a,{key:9,index:n.componentIndex(h)},null,8,["index"])):l.componentArgs.componentName==="InternalFragmentMap"?(Dr(),Aa(c,{key:10,index:n.componentIndex(h)},null,8,["index"])):l.componentArgs.componentName==="FLASHQuantView"?(Dr(),Aa(s,{key:11})):pa("",!0)],2))),128))])}const WN=Bo(UN,[["render",GN],["__scopeId","data-v-1e2d685f"]]),qN=Io({name:"ComponentsLayout",components:{ComponentsRow:WN},props:{components:{type:Object,required:!0}},data(){return{columns:6}},methods:{componentRowClasses(){return{"[`height-${layout.height ?? 1}`]":!0,[`component-width-${this.components.length}`]:!0}}}});const $N={class:"component-layout"};function YN(n,e,r,S,D,x){const o=Tr("ComponentsRow");return Dr(),ai("div",$N,[(Dr(!0),ai(Xr,null,_l(n.components,(t,d)=>(Dr(),Aa(o,{key:d,components:t,"row-index":d},null,8,["components","row-index"]))),128))])}const ZN=Bo(qN,[["render",YN],["__scopeId","data-v-1d160719"]]),XN=Io({name:"App",components:{ComponentsLayout:ZN},setup(){return{streamlitDataStore:os()}},data(){return{timer:void 0}},computed:{components(){var n;return(n=this.streamlitDataStore.args)==null?void 0:n.components}},created(){Tc.setComponentReady(),Tc.setFrameHeight(500),Tc.events.addEventListener(Tc.RENDER_EVENT,this.updateStreamlitData)},mounted(){this.timer=setInterval(()=>{Tc.setFrameHeight()},500)},unmounted(){Tc.events.removeEventListener(Tc.RENDER_EVENT,this.updateStreamlitData),clearInterval(this.timer)},updated(){Tc.setFrameHeight()},methods:{async updateStreamlitData(n){this.streamlitDataStore.updateRenderData(n.detail)}}});const KN={key:0},JN={key:1,class:"d-flex w-100",style:{height:"400px"}};function QN(n,e,r,S,D,x){const o=Tr("ComponentsLayout"),t=Tr("v-progress-linear"),d=Tr("v-alert");return n.components!==void 0&&n.components.length>0?(Dr(),ai("div",KN,[dt(o,{components:n.components},null,8,["components"])])):(Dr(),ai("div",JN,[dt(d,{class:"h-50 ma-16 pr-16",icon:"mdi-application-variable-outline",title:"FLASHViewer loading",type:"info"},{default:Yr(()=>[dt(t,{indeterminate:""}),ki(" Please wait... ")]),_:1})]))}const eV=Bo(XN,[["render",QN]]);const no=typeof window<"u",x_=no&&"IntersectionObserver"in window,tV=no&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function nT(n,e,r){nV(n,e),e.set(n,r)}function nV(n,e){if(e.has(n))throw new TypeError("Cannot initialize the same private elements twice on an object")}function rV(n,e,r){var S=XM(n,e,"set");return iV(n,S,r),r}function iV(n,e,r){if(e.set)e.set.call(n,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function fd(n,e){var r=XM(n,e,"get");return aV(n,r)}function XM(n,e,r){if(!e.has(n))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(n)}function aV(n,e){return e.get?e.get.call(n):e.value}function KM(n,e,r){const S=e.length-1;if(S<0)return n===void 0?r:n;for(let D=0;Dd0(n[S],e[S]))}function hx(n,e,r){return n==null||!e||typeof e!="string"?r:n[e]!==void 0?n[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),KM(n,e.split("."),r))}function lf(n,e,r){if(e==null)return n===void 0?r:n;if(n!==Object(n)){if(typeof e!="function")return r;const D=e(n,r);return typeof D>"u"?r:D}if(typeof e=="string")return hx(n,e,r);if(Array.isArray(e))return KM(n,e,r);if(typeof e!="function")return r;const S=e(n,r);return typeof S>"u"?r:S}function Gf(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:n},(r,S)=>e+S)}function ii(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(n==null||n===""))return isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${e}`:void 0}function dx(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function px(n){return n&&"$el"in n?n.$el:n}const rT=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),mx=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function JM(n){return Object.keys(n)}function xd(n,e){return e.every(r=>n.hasOwnProperty(r))}function Fd(n,e,r){const S=Object.create(null),D=Object.create(null);for(const x in n)e.some(o=>o instanceof RegExp?o.test(x):o===x)&&!(r!=null&&r.some(o=>o===x))?S[x]=n[x]:D[x]=n[x];return[S,D]}function Ku(n,e){const r={...n};return e.forEach(S=>delete r[S]),r}const QM=/^on[^a-z]/,__=n=>QM.test(n),oV=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function qd(n){const[e,r]=Fd(n,[QM]),S=Ku(e,oV),[D,x]=Fd(r,["class","style","id",/^data-/]);return Object.assign(D,e),Object.assign(x,S),[D,x]}function bu(n){return n==null?[]:Array.isArray(n)?n:[n]}function el(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(r,n))}function iT(n){const e=n.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function aT(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return n+r.repeat(Math.max(0,e-n.length))}function sV(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const r=[];let S=0;for(;S1&&arguments[1]!==void 0?arguments[1]:1e3;if(n=e&&S0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const S={};for(const D in n)S[D]=n[D];for(const D in e){const x=n[D],o=e[D];if(dx(x)&&dx(o)){S[D]=Wu(x,o,r);continue}if(Array.isArray(x)&&Array.isArray(o)&&r){S[D]=r(x,o);continue}S[D]=o}return S}function eA(n){return n.map(e=>e.type===Xr?eA(e.children):e).flat()}function Sd(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Sd.cache.has(n))return Sd.cache.get(n);const e=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Sd.cache.set(n,e),e}Sd.cache=new Map;function pm(n,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(r=>pm(n,r)).flat(1);if(Array.isArray(e.children))return e.children.map(r=>pm(n,r)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(n))return[e.component];if(e.component.subTree)return pm(n,e.component.subTree).flat(1)}return[]}var dv=new WeakMap,_p=new WeakMap;class lV{constructor(e){nT(this,dv,{writable:!0,value:[]}),nT(this,_p,{writable:!0,value:0}),this.size=e}push(e){fd(this,dv)[fd(this,_p)]=e,rV(this,_p,(fd(this,_p)+1)%this.size)}values(){return fd(this,dv).slice(fd(this,_p)).concat(fd(this,dv).slice(0,fd(this,_p)))}}function uV(n){return"touches"in n?{clientX:n.touches[0].clientX,clientY:n.touches[0].clientY}:{clientX:n.clientX,clientY:n.clientY}}function w_(n){const e=Tl({}),r=cn(n);return wu(()=>{for(const S in r.value)e[S]=r.value[S]},{flush:"sync"}),py(e)}function ry(n,e){return n.includes(e)}function tA(n){return n[2].toLowerCase()+n.slice(3)}const ff=()=>[Function,Array];function sT(n,e){return e="on"+Jf(e),!!(n[e]||n[`${e}Once`]||n[`${e}Capture`]||n[`${e}OnceCapture`]||n[`${e}CaptureOnce`])}function T_(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),S=1;S1&&arguments[1]!==void 0?arguments[1]:!0;const r=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(S=>`${S}${e?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(r)]}function nA(n,e,r){let S,D=n.indexOf(document.activeElement);const x=e==="next"?1:-1;do D+=x,S=n[D];while((!S||S.offsetParent==null||!((r==null?void 0:r(S))??!0))&&D=0);return S}function iy(n,e){var S,D,x,o;const r=Om(n);if(!e)(n===document.activeElement||!n.contains(document.activeElement))&&((S=r[0])==null||S.focus());else if(e==="first")(D=r[0])==null||D.focus();else if(e==="last")(x=r.at(-1))==null||x.focus();else if(typeof e=="number")(o=r[e])==null||o.focus();else{const t=nA(r,e);t?t.focus():iy(n,e==="next"?"first":"last")}}function rA(){}function n0(n,e){if(!(no&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!n&&n.matches(e)}catch{return null}}const iA=["top","bottom"],cV=["start","end","left","right"];function gx(n,e){let[r,S]=n.split(" ");return S||(S=ry(iA,r)?"start":ry(cV,r)?"top":"center"),{side:vx(r,e),align:vx(S,e)}}function vx(n,e){return n==="start"?e?"right":"left":n==="end"?e?"left":"right":n}function Eb(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function Lb(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function lT(n){return{side:n.align,align:n.side}}function uT(n){return ry(iA,n.side)?"y":"x"}class Fp{constructor(e){let{x:r,y:S,width:D,height:x}=e;this.x=r,this.y=S,this.width=D,this.height=x}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function cT(n,e){return{x:{before:Math.max(0,e.left-n.left),after:Math.max(0,n.right-e.right)},y:{before:Math.max(0,e.top-n.top),after:Math.max(0,n.bottom-e.bottom)}}}function k_(n){const e=n.getBoundingClientRect(),r=getComputedStyle(n),S=r.transform;if(S){let D,x,o,t,d;if(S.startsWith("matrix3d("))D=S.slice(9,-1).split(/, /),x=+D[0],o=+D[5],t=+D[12],d=+D[13];else if(S.startsWith("matrix("))D=S.slice(7,-1).split(/, /),x=+D[0],o=+D[3],t=+D[4],d=+D[5];else return new Fp(e);const g=r.transformOrigin,i=e.x-t-(1-x)*parseFloat(g),M=e.y-d-(1-o)*parseFloat(g.slice(g.indexOf(" ")+1)),v=x?e.width/x:n.offsetWidth+1,p=o?e.height/o:n.offsetHeight+1;return new Fp({x:i,y:M,width:v,height:p})}else return new Fp(e)}function _d(n,e,r){if(typeof n.animate>"u")return{finished:Promise.resolve()};let S;try{S=n.animate(e,r)}catch{return{finished:Promise.resolve()}}return typeof S.finished>"u"&&(S.finished=new Promise(D=>{S.onfinish=()=>{D(S)}})),S}const Sv=new WeakMap;function fV(n,e){Object.keys(e).forEach(r=>{if(__(r)){const S=tA(r),D=Sv.get(n);if(e[r]==null)D==null||D.forEach(x=>{const[o,t]=x;o===S&&(n.removeEventListener(S,t),D.delete(x))});else if(!D||![...D].some(x=>x[0]===S&&x[1]===e[r])){n.addEventListener(S,e[r]);const x=D||new Set;x.add([S,e[r]]),Sv.has(n)||Sv.set(n,x)}}else e[r]==null?n.removeAttribute(r):n.setAttribute(r,e[r])})}function hV(n,e){Object.keys(e).forEach(r=>{if(__(r)){const S=tA(r),D=Sv.get(n);D==null||D.forEach(x=>{const[o,t]=x;o===S&&(n.removeEventListener(S,t),D.delete(x))})}else n.removeAttribute(r)})}const wp=2.4,fT=.2126729,hT=.7151522,dT=.072175,dV=.55,pV=.58,mV=.57,gV=.62,pv=.03,pT=1.45,vV=5e-4,yV=1.25,bV=1.25,mT=.078,gT=12.82051282051282,mv=.06,vT=.001;function yT(n,e){const r=(n.r/255)**wp,S=(n.g/255)**wp,D=(n.b/255)**wp,x=(e.r/255)**wp,o=(e.g/255)**wp,t=(e.b/255)**wp;let d=r*fT+S*hT+D*dT,g=x*fT+o*hT+t*dT;if(d<=pv&&(d+=(pv-d)**pT),g<=pv&&(g+=(pv-g)**pT),Math.abs(g-d)d){const M=(g**dV-d**pV)*yV;i=M-vT?0:M>-mT?M-M*gT*mv:M+mv}return i*100}function xV(n,e){e=Array.isArray(e)?e.slice(0,-1).map(r=>`'${r}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const ay=.20689655172413793,_V=n=>n>ay**3?Math.cbrt(n):n/(3*ay**2)+4/29,wV=n=>n>ay?n**3:3*ay**2*(n-4/29);function aA(n){const e=_V,r=e(n[1]);return[116*r-16,500*(e(n[0]/.95047)-r),200*(r-e(n[2]/1.08883))]}function oA(n){const e=wV,r=(n[0]+16)/116;return[e(r+n[1]/500)*.95047,e(r),e(r-n[2]/200)*1.08883]}const TV=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],kV=n=>n<=.0031308?n*12.92:1.055*n**(1/2.4)-.055,MV=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],AV=n=>n<=.04045?n/12.92:((n+.055)/1.055)**2.4;function sA(n){const e=Array(3),r=kV,S=TV;for(let D=0;D<3;++D)e[D]=Math.round(el(r(S[D][0]*n[0]+S[D][1]*n[1]+S[D][2]*n[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function M_(n){let{r:e,g:r,b:S}=n;const D=[0,0,0],x=AV,o=MV;e=x(e/255),r=x(r/255),S=x(S/255);for(let t=0;t<3;++t)D[t]=o[t][0]*e+o[t][1]*r+o[t][2]*S;return D}function bT(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const xT=/^(?(?:rgb|hsl)a?)\((?.+)\)/,SV={rgb:(n,e,r,S)=>({r:n,g:e,b:r,a:S}),rgba:(n,e,r,S)=>({r:n,g:e,b:r,a:S}),hsl:(n,e,r,S)=>_T({h:n,s:e,l:r,a:S}),hsla:(n,e,r,S)=>_T({h:n,s:e,l:r,a:S}),hsv:(n,e,r,S)=>Zf({h:n,s:e,v:r,a:S}),hsva:(n,e,r,S)=>Zf({h:n,s:e,v:r,a:S})};function Cc(n){if(typeof n=="number")return{r:(n&16711680)>>16,g:(n&65280)>>8,b:n&255};if(typeof n=="string"&&xT.test(n)){const{groups:e}=n.match(xT),{fn:r,values:S}=e,D=S.split(/,\s*/).map(x=>x.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(r)?parseFloat(x)/100:parseFloat(x));return SV[r](...D)}else if(typeof n=="string"){let e=n.startsWith("#")?n.slice(1):n;return[3,4].includes(e.length)?e=e.split("").map(r=>r+r).join(""):[6,8].includes(e.length),hA(e)}else if(typeof n=="object"){if(xd(n,["r","g","b"]))return n;if(xd(n,["h","s","l"]))return Zf(A_(n));if(xd(n,["h","s","v"]))return Zf(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function Zf(n){const{h:e,s:r,v:S,a:D}=n,x=t=>{const d=(t+e/60)%6;return S-S*r*Math.max(Math.min(d,4-d,1),0)},o=[x(5),x(3),x(1)].map(t=>Math.round(t*255));return{r:o[0],g:o[1],b:o[2],a:D}}function _T(n){return Zf(A_(n))}function t1(n){if(!n)return{h:0,s:1,v:1,a:1};const e=n.r/255,r=n.g/255,S=n.b/255,D=Math.max(e,r,S),x=Math.min(e,r,S);let o=0;D!==x&&(D===e?o=60*(0+(r-S)/(D-x)):D===r?o=60*(2+(S-e)/(D-x)):D===S&&(o=60*(4+(e-r)/(D-x)))),o<0&&(o=o+360);const t=D===0?0:(D-x)/D,d=[o,t,D];return{h:d[0],s:d[1],v:d[2],a:n.a}}function lA(n){const{h:e,s:r,v:S,a:D}=n,x=S-S*r/2,o=x===1||x===0?0:(S-x)/Math.min(x,1-x);return{h:e,s:o,l:x,a:D}}function A_(n){const{h:e,s:r,l:S,a:D}=n,x=S+r*Math.min(S,1-S),o=x===0?0:2-2*S/x;return{h:e,s:o,v:x,a:D}}function uA(n){let{r:e,g:r,b:S,a:D}=n;return D===void 0?`rgb(${e}, ${r}, ${S})`:`rgba(${e}, ${r}, ${S}, ${D})`}function cA(n){return uA(Zf(n))}function gv(n){const e=Math.round(n).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function fA(n){let{r:e,g:r,b:S,a:D}=n;return`#${[gv(e),gv(r),gv(S),D!==void 0?gv(Math.round(D*255)):""].join("")}`}function hA(n){n=EV(n);let[e,r,S,D]=sV(n,2).map(x=>parseInt(x,16));return D=D===void 0?D:D/255,{r:e,g:r,b:S,a:D}}function CV(n){const e=hA(n);return t1(e)}function dA(n){return fA(Zf(n))}function EV(n){return n.startsWith("#")&&(n=n.slice(1)),n=n.replace(/([^0-9a-f])/gi,"F"),(n.length===3||n.length===4)&&(n=n.split("").map(e=>e+e).join("")),n.length!==6&&(n=aT(aT(n,6),8,"F")),n}function LV(n,e){const r=aA(M_(n));return r[0]=r[0]+e*10,sA(oA(r))}function IV(n,e){const r=aA(M_(n));return r[0]=r[0]-e*10,sA(oA(r))}function yx(n){const e=Cc(n);return M_(e)[1]}function OV(n,e){const r=yx(n),S=yx(e),D=Math.max(r,S),x=Math.min(r,S);return(D+.05)/(x+.05)}function pA(n){const e=Math.abs(yT(Cc(0),Cc(n)));return Math.abs(yT(Cc(16777215),Cc(n)))>Math.min(e,50)?"#fff":"#000"}function cr(n,e){return r=>Object.keys(n).reduce((S,D)=>{const o=typeof n[D]=="object"&&n[D]!=null&&!Array.isArray(n[D])?n[D]:{type:n[D]};return r&&D in r?S[D]={...o,default:r[D]}:S[D]=o,e&&!S[D].source&&(S[D].source=e),S},{})}const Jr=cr({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function Ju(n){if(n._setup=n._setup??n.setup,!n.name)return n;if(n._setup){n.props=cr(n.props??{},n.name)();const e=Object.keys(n.props);n.filterProps=function(S){return Fd(S,e,["class","style"])},n.props._as=String,n.setup=function(S,D){const x=E_();if(!x.value)return n._setup(S,D);const{props:o,provideSubDefaults:t}=VV(S,S._as??n.name,x),d=n._setup(o,D);return t(),d}}return n}function Er(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(n?Ju:Io)(e)}function Nc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",r=arguments.length>2?arguments[2]:void 0;return Er()({name:r??Jf(Zu(n.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...Jr()},setup(S,D){let{slots:x}=D;return()=>{var o;return jh(S.tag,{class:[n,S.class],style:S.style},(o=x.default)==null?void 0:o.call(x))}}})}function mA(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const e=n.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const Pm="cubic-bezier(0.4, 0, 0.2, 1)",PV="cubic-bezier(0.0, 0, 0.2, 1)",DV="cubic-bezier(0.4, 0, 1, 1)";function Es(n,e){const r=wy();if(!r)throw new Error(`[Vuetify] ${n} ${e||"must be called from inside a setup function"}`);return r}function oh(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Es(n).type;return Sd((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let gA=0,Cv=new WeakMap;function rl(){const n=Es("getUid");if(Cv.has(n))return Cv.get(n);{const e=gA++;return Cv.set(n,e),e}}rl.reset=()=>{gA=0,Cv=new WeakMap};function S_(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;n;){if(e?RV(n):C_(n))return n;n=n.parentElement}return document.scrollingElement}function oy(n,e){const r=[];if(e&&n&&!e.contains(n))return r;for(;n&&(C_(n)&&r.push(n),n!==e);)n=n.parentElement;return r}function C_(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return e.overflowY==="scroll"||e.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function RV(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return["scroll","auto"].includes(e.overflowY)}function zV(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Es("injectSelf");const{provides:r}=e;if(r&&n in r)return r[n]}function FV(n){for(;n;){if(window.getComputedStyle(n).position==="fixed")return!0;n=n.offsetParent}return!1}function Fr(n){const e=Es("useRender");e.render=n}const r0=Symbol.for("vuetify:defaults");function BV(n){return Gr(n)}function E_(){const n=Sa(r0);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function is(n,e){const r=E_(),S=Gr(n),D=cn(()=>{if(gu(e==null?void 0:e.disabled))return r.value;const o=gu(e==null?void 0:e.scoped),t=gu(e==null?void 0:e.reset),d=gu(e==null?void 0:e.root);if(S.value==null&&!(o||t||d))return r.value;let g=Wu(S.value,{prev:r.value});if(o)return g;if(t||d){const i=Number(t||1/0);for(let M=0;M<=i&&!(!g||!("prev"in g));M++)g=g.prev;return g&&typeof d=="string"&&d in g&&(g=Wu(Wu(g,{prev:g}),g[d])),g}return g.prev?Wu(g.prev,g):g});return as(r0,D),D}function NV(n,e){var r,S;return typeof((r=n.props)==null?void 0:r[e])<"u"||typeof((S=n.props)==null?void 0:S[Sd(e)])<"u"}function VV(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:E_();const S=Es("useDefaults");if(e=e??S.type.name??S.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const D=cn(()=>{var d;return(d=r.value)==null?void 0:d[n._as??e]}),x=new Proxy(n,{get(d,g){var M,v,p,u;const i=Reflect.get(d,g);return g==="class"||g==="style"?[(M=D.value)==null?void 0:M[g],i].filter(a=>a!=null):typeof g=="string"&&!NV(S.vnode,g)?((v=D.value)==null?void 0:v[g])??((u=(p=r.value)==null?void 0:p.global)==null?void 0:u[g])??i:i}}),o=Kr();wu(()=>{if(D.value){const d=Object.entries(D.value).filter(g=>{let[i]=g;return i.startsWith(i[0].toUpperCase())});o.value=d.length?Object.fromEntries(d):void 0}else o.value=void 0});function t(){const d=zV(r0,S);as(r0,cn(()=>o.value?Wu((d==null?void 0:d.value)??{},o.value):d==null?void 0:d.value))}return{props:x,provideSubDefaults:t}}const n1=["sm","md","lg","xl","xxl"],bx=Symbol.for("vuetify:display"),wT={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},jV=function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wT;return Wu(wT,n)};function TT(n){return no&&!n?window.innerWidth:typeof n=="object"&&n.clientWidth||0}function kT(n){return no&&!n?window.innerHeight:typeof n=="object"&&n.clientHeight||0}function MT(n){const e=no&&!n?window.navigator.userAgent:"ssr";function r(u){return!!e.match(u)}const S=r(/android/i),D=r(/iphone|ipad|ipod/i),x=r(/cordova/i),o=r(/electron/i),t=r(/chrome/i),d=r(/edge/i),g=r(/firefox/i),i=r(/opera/i),M=r(/win/i),v=r(/mac/i),p=r(/linux/i);return{android:S,ios:D,cordova:x,electron:o,chrome:t,edge:d,firefox:g,opera:i,win:M,mac:v,linux:p,touch:tV,ssr:e==="ssr"}}function UV(n,e){const{thresholds:r,mobileBreakpoint:S}=jV(n),D=Kr(kT(e)),x=Kr(MT(e)),o=Tl({}),t=Kr(TT(e));function d(){D.value=kT(),t.value=TT()}function g(){d(),x.value=MT()}return wu(()=>{const i=t.value=r.xxl,c=i?"xs":M?"sm":v?"md":p?"lg":u?"xl":"xxl",s=typeof S=="number"?S:r[S],l=t.valuejh(I_,{...n,class:"mdi"})},wi=[String,Function,Object,Array],xx=Symbol.for("vuetify:icons"),r1=cr({icon:{type:wi},tag:{type:String,required:!0}},"icon"),_x=Er()({name:"VComponentIcon",props:r1(),setup(n,e){let{slots:r}=e;return()=>{const S=n.icon;return dt(n.tag,null,{default:()=>{var D;return[n.icon?dt(S,null,null):(D=r.default)==null?void 0:D.call(r)]}})}}}),L_=Ju({name:"VSvgIcon",inheritAttrs:!1,props:r1(),setup(n,e){let{attrs:r}=e;return()=>dt(n.tag,Zr(r,{style:null}),{default:()=>[dt("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(S=>Array.isArray(S)?dt("path",{d:S[0],"fill-opacity":S[1]},null):dt("path",{d:S},null)):dt("path",{d:n.icon},null)])]})}}),WV=Ju({name:"VLigatureIcon",props:r1(),setup(n){return()=>dt(n.tag,null,{default:()=>[n.icon]})}}),I_=Ju({name:"VClassIcon",props:r1(),setup(n){return()=>dt(n.tag,{class:n.icon},null)}}),qV={svg:{component:L_},class:{component:I_}};function $V(n){return Wu({defaultSet:"mdi",sets:{...qV,mdi:GV},aliases:{...HV,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},n)}const YV=n=>{const e=Sa(xx);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:cn(()=>{var d;const S=gu(n);if(!S)return{component:_x};let D=S;if(typeof D=="string"&&(D=D.trim(),D.startsWith("$")&&(D=(d=e.aliases)==null?void 0:d[D.slice(1)])),!D)throw new Error(`Could not find aliased icon "${S}"`);if(Array.isArray(D))return{component:L_,icon:D};if(typeof D!="string")return{component:_x,icon:D};const x=Object.keys(e.sets).find(g=>typeof D=="string"&&D.startsWith(`${g}:`)),o=x?D.slice(x.length+1):D;return{component:e.sets[x??e.defaultSet].component,icon:o}})}},ZV={badge:"Badge",open:"Open",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},XV={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function Nh(n,e){let r;function S(){r=Nm(),r.run(()=>e.length?e(()=>{r==null||r.stop(),S()}):e())}ei(n,D=>{D&&!r?S():D||(r==null||r.stop(),r=void 0)},{immediate:!0}),Al(()=>{r==null||r.stop()})}function Ti(n,e,r){let S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:M=>M,D=arguments.length>4&&arguments[4]!==void 0?arguments[4]:M=>M;const x=Es("useProxiedModel"),o=Gr(n[e]!==void 0?n[e]:r),t=Sd(e),g=cn(t!==e?()=>{var M,v,p,u;return n[e],!!(((M=x.vnode.props)!=null&&M.hasOwnProperty(e)||(v=x.vnode.props)!=null&&v.hasOwnProperty(t))&&((p=x.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${e}`)||(u=x.vnode.props)!=null&&u.hasOwnProperty(`onUpdate:${t}`)))}:()=>{var M,v;return n[e],!!((M=x.vnode.props)!=null&&M.hasOwnProperty(e)&&((v=x.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${e}`)))});Nh(()=>!g.value,()=>{ei(()=>n[e],M=>{o.value=M})});const i=cn({get(){const M=n[e];return S(g.value?M:o.value)},set(M){const v=D(M),p=Ii(g.value?n[e]:o.value);p===v||S(p)===M||(o.value=v,x==null||x.emit(`update:${e}`,v))}});return Object.defineProperty(i,"externalValue",{get:()=>g.value?n[e]:o.value}),i}const AT="$vuetify.",ST=(n,e)=>n.replace(/\{(\d+)\}/g,(r,S)=>String(e[+S])),vA=(n,e,r)=>function(S){for(var D=arguments.length,x=new Array(D>1?D-1:0),o=1;onew Intl.NumberFormat([n.value,e.value],S).format(r)}function Ib(n,e,r){const S=Ti(n,e,n[e]??r.value);return S.value=n[e]??r.value,ei(r,D=>{n[e]==null&&(S.value=r.value)}),S}function bA(n){return e=>{const r=Ib(e,"locale",n.current),S=Ib(e,"fallback",n.fallback),D=Ib(e,"messages",n.messages);return{name:"vuetify",current:r,fallback:S,messages:D,t:vA(r,S,D),n:yA(r,S),provide:bA({current:r,fallback:S,messages:D})}}}function KV(n){const e=Kr((n==null?void 0:n.locale)??"en"),r=Kr((n==null?void 0:n.fallback)??"en"),S=Gr({en:ZV,...n==null?void 0:n.messages});return{name:"vuetify",current:e,fallback:r,messages:S,t:vA(e,r,S),n:yA(e,r),provide:bA({current:e,fallback:r,messages:S})}}const i0=Symbol.for("vuetify:locale");function JV(n){return n.name!=null}function QV(n){const e=n!=null&&n.adapter&&JV(n==null?void 0:n.adapter)?n==null?void 0:n.adapter:KV(n),r=tj(e,n);return{...e,...r}}function Qu(){const n=Sa(i0);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function ej(n){const e=Sa(i0);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");const r=e.provide(n),S=nj(r,e.rtl,n),D={...r,...S};return as(i0,D),D}function tj(n,e){const r=Gr((e==null?void 0:e.rtl)??XV),S=cn(()=>r.value[n.current.value]??!1);return{isRtl:S,rtl:r,rtlClasses:cn(()=>`v-locale--is-${S.value?"rtl":"ltr"}`)}}function nj(n,e,r){const S=cn(()=>r.rtl??e.value[n.current.value]??!1);return{isRtl:S,rtl:e,rtlClasses:cn(()=>`v-locale--is-${S.value?"rtl":"ltr"}`)}}function Ls(){const n=Sa(i0);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Dm=Symbol.for("vuetify:theme"),sa=cr({theme:String},"theme"),em={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function rj(){var r,S;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:em;if(!n)return{...em,isDisabled:!0};const e={};for(const[D,x]of Object.entries(n.themes??{})){const o=x.dark||D==="dark"?(r=em.themes)==null?void 0:r.dark:(S=em.themes)==null?void 0:S.light;e[D]=Wu(o,x)}return Wu(em,{...n,themes:e})}function ij(n){const e=rj(n),r=Gr(e.defaultTheme),S=Gr(e.themes),D=cn(()=>{const i={};for(const[M,v]of Object.entries(S.value)){const p=i[M]={...v,colors:{...v.colors}};if(e.variations)for(const u of e.variations.colors){const a=p.colors[u];if(a)for(const c of["lighten","darken"]){const s=c==="lighten"?LV:IV;for(const l of Gf(e.variations[c],1))p.colors[`${u}-${c}-${l}`]=fA(s(Cc(a),l))}}for(const u of Object.keys(p.colors)){if(/^on-[a-z]/.test(u)||p.colors[`on-${u}`])continue;const a=`on-${u}`,c=Cc(p.colors[u]);p.colors[a]=pA(c)}}return i}),x=cn(()=>D.value[r.value]),o=cn(()=>{const i=[];x.value.dark&&hd(i,":root",["color-scheme: dark"]),hd(i,":root",CT(x.value));for(const[u,a]of Object.entries(D.value))hd(i,`.v-theme--${u}`,[`color-scheme: ${a.dark?"dark":"normal"}`,...CT(a)]);const M=[],v=[],p=new Set(Object.values(D.value).flatMap(u=>Object.keys(u.colors)));for(const u of p)/^on-[a-z]/.test(u)?hd(v,`.${u}`,[`color: rgb(var(--v-theme-${u})) !important`]):(hd(M,`.bg-${u}`,[`--v-theme-overlay-multiplier: var(--v-theme-${u}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${u})) !important`,`color: rgb(var(--v-theme-on-${u})) !important`]),hd(v,`.text-${u}`,[`color: rgb(var(--v-theme-${u})) !important`]),hd(v,`.border-${u}`,[`--v-border-color: var(--v-theme-${u})`]));return i.push(...M,...v),i.map((u,a)=>a===0?u:` ${u}`).join("")});function t(){return{style:[{children:o.value,id:"vuetify-theme-stylesheet",nonce:e.cspNonce||!1}]}}function d(i){if(e.isDisabled)return;const M=i._context.provides.usehead;if(M)if(M.push){const p=M.push(t);no&&ei(o,()=>{p.patch(t)})}else no?(M.addHeadObjs(cn(t)),wu(()=>M.updateDOM())):M.addHeadObjs(t());else{let u=function(){if(typeof document<"u"&&!p){const a=document.createElement("style");a.type="text/css",a.id="vuetify-theme-stylesheet",e.cspNonce&&a.setAttribute("nonce",e.cspNonce),p=a,document.head.appendChild(p)}p&&(p.innerHTML=o.value)};var v=u;let p=no?document.getElementById("vuetify-theme-stylesheet"):null;no?ei(o,u,{immediate:!0}):u()}}const g=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`);return{install:d,isDisabled:e.isDisabled,name:r,themes:S,current:x,computedThemes:D,themeClasses:g,styles:o,global:{name:r,current:x}}}function Ca(n){Es("provideTheme");const e=Sa(Dm,null);if(!e)throw new Error("Could not find Vuetify theme injection");const r=cn(()=>n.theme??e.name.value),S=cn(()=>e.themes.value[r.value]),D=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`),x={...e,name:r,current:S,themeClasses:D};return as(Dm,x),x}function xA(){Es("useTheme");const n=Sa(Dm,null);if(!n)throw new Error("Could not find Vuetify theme injection");return n}function hd(n,e,r){n.push(`${e} { +Data: `,e)}_wipeElements(){this.dispatch("rows-wipe"),this.destroy(),this.adjustTableSize(),this.dispatch("rows-wiped")}destroy(){this.rows.forEach(e=>{e.wipe()}),this.rows=[],this.activeRows=[],this.activeRowsPipeline=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0}deleteRow(e,r){var S=this.rows.indexOf(e),D=this.activeRows.indexOf(e);D>-1&&this.activeRows.splice(D,1),S>-1&&this.rows.splice(S,1),this.setActiveRows(this.activeRows),this.displayRowIterator(x=>{var o=x.indexOf(e);o>-1&&x.splice(o,1)}),r||this.reRenderInPosition(),this.regenerateRowPositions(),this.dispatchExternal("rowDeleted",e.getComponent()),this.displayRowsCount||this.tableEmpty(),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.getData())}addRow(e,r,S,D){var x=this.addRowActual(e,r,S,D);return x}addRows(e,r,S,D){var x=[];return new Promise((o,t)=>{r=this.findAddRowPos(r),Array.isArray(e)||(e=[e]),(typeof S>"u"&&r||typeof S<"u"&&!r)&&e.reverse(),e.forEach((d,v)=>{var i=this.addRow(d,r,S,!0);x.push(i),this.dispatch("row-added",i,d,r,S)}),this.refreshActiveData(D?"displayPipeline":!1,!1,!0),this.regenerateRowPositions(),x.length&&this._clearPlaceholder(),o(x)})}findAddRowPos(e){return typeof e>"u"&&(e=this.table.options.addRowPos),e==="pos"&&(e=!0),e==="bottom"&&(e=!1),e}addRowActual(e,r,S,D){var x=e instanceof wl?e:new wl(e||{},this),o=this.findAddRowPos(r),t=-1,d,v;return S||(v=this.chain("row-adding-position",[x,o],null,{index:S,top:o}),S=v.index,o=v.top),typeof S<"u"&&(S=this.findRow(S)),S=this.chain("row-adding-index",[x,S,o],null,S),S&&(t=this.rows.indexOf(S)),S&&t>-1?(d=this.activeRows.indexOf(S),this.displayRowIterator(function(i){var M=i.indexOf(S);M>-1&&i.splice(o?M:M+1,0,x)}),d>-1&&this.activeRows.splice(o?d:d+1,0,x),this.rows.splice(o?t:t+1,0,x)):o?(this.displayRowIterator(function(i){i.unshift(x)}),this.activeRows.unshift(x),this.rows.unshift(x)):(this.displayRowIterator(function(i){i.push(x)}),this.activeRows.push(x),this.rows.push(x)),this.setActiveRows(this.activeRows),this.dispatchExternal("rowAdded",x.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),D||this.reRenderInPosition(),x}moveRow(e,r,S){this.dispatch("row-move",e,r,S),this.moveRowActual(e,r,S),this.regenerateRowPositions(),this.dispatch("row-moved",e,r,S),this.dispatchExternal("rowMoved",e.getComponent())}moveRowActual(e,r,S){this.moveRowInArray(this.rows,e,r,S),this.moveRowInArray(this.activeRows,e,r,S),this.displayRowIterator(D=>{this.moveRowInArray(D,e,r,S)}),this.dispatch("row-moving",e,r,S)}moveRowInArray(e,r,S,D){var x,o,t,d;if(r!==S&&(x=e.indexOf(r),x>-1&&(e.splice(x,1),o=e.indexOf(S),o>-1?D?e.splice(o+1,0,r):e.splice(o,0,r):e.splice(x,0,r)),e===this.getDisplayRows())){t=xx?o:x+1;for(let v=t;v<=d;v++)e[v]&&this.styleRow(e[v],v)}}clearData(){this.setData([])}getRowIndex(e){return this.findRowIndex(e,this.rows)}getDisplayRowIndex(e){var r=this.getDisplayRows().indexOf(e);return r>-1?r:!1}nextDisplayRow(e,r){var S=this.getDisplayRowIndex(e),D=!1;return S!==!1&&S-1)?S:!1}getData(e,r){var S=[],D=this.getRows(e);return D.forEach(function(x){x.type=="row"&&S.push(x.getData(r||"data"))}),S}getComponents(e){var r=[],S=this.getRows(e);return S.forEach(function(D){r.push(D.getComponent())}),r}getDataCount(e){var r=this.getRows(e);return r.length}scrollHorizontal(e){this.scrollLeft=e,this.element.scrollLeft=e,this.dispatch("scroll-horizontal",e)}registerDataPipelineHandler(e,r){typeof r<"u"?(this.dataPipeline.push({handler:e,priority:r}),this.dataPipeline.sort((S,D)=>S.priority-D.priority)):console.error("Data pipeline handlers must have a priority in order to be registered")}registerDisplayPipelineHandler(e,r){typeof r<"u"?(this.displayPipeline.push({handler:e,priority:r}),this.displayPipeline.sort((S,D)=>S.priority-D.priority)):console.error("Display pipeline handlers must have a priority in order to be registered")}refreshActiveData(e,r,S){var D=this.table,x="",o=0,t=["all","dataPipeline","display","displayPipeline","end"];if(!this.table.destroyed){if(typeof e=="function")if(o=this.dataPipeline.findIndex(d=>d.handler===e),o>-1)x="dataPipeline",r&&(o==this.dataPipeline.length-1?x="display":o++);else if(o=this.displayPipeline.findIndex(d=>d.handler===e),o>-1)x="displayPipeline",r&&(o==this.displayPipeline.length-1?x="end":o++);else{console.error("Unable to refresh data, invalid handler provided",e);return}else x=e||"all",o=0;if(this.redrawBlock){(!this.redrawBlockRestoreConfig||this.redrawBlockRestoreConfig&&(this.redrawBlockRestoreConfig.stage===x&&o{S.type==="row"&&(S.setPosition(r),r++)})}setActiveRows(e){this.activeRows=this.activeRows=Object.assign([],e),this.activeRowsCount=this.activeRows.length}resetDisplayRows(){this.displayRows=[],this.displayRows.push(this.activeRows.slice(0)),this.displayRowsCount=this.displayRows[0].length}setDisplayRows(e,r){this.displayRows[r]=e,r==this.displayRows.length-1&&(this.displayRowsCount=this.displayRows[this.displayRows.length-1].length)}getDisplayRows(e){return typeof e>"u"?this.displayRows.length?this.displayRows[this.displayRows.length-1]:[]:this.displayRows[e]||[]}getVisibleRows(e,r){var S=Object.assign([],this.renderer.visibleRows(!r));return e&&(S=this.chain("rows-visible",[r],S,S)),S}displayRowIterator(e){this.activeRowsPipeline.forEach(e),this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length}getRows(e){var r=[];switch(e){case"active":r=this.activeRows;break;case"display":r=this.table.rowManager.getDisplayRows();break;case"visible":r=this.getVisibleRows(!1,!0);break;default:r=this.chain("rows-retrieve",e,null,this.rows)||this.rows}return r}reRenderInPosition(e){this.redrawBlock?e?e():this.redrawBlockRenderInPosition=!0:(this.dispatchExternal("renderStarted"),this.renderer.rerenderRows(e),this.fixedHeight||this.adjustTableSize(),this.scrollBarCheck(),this.dispatchExternal("renderComplete"))}scrollBarCheck(){var e=0;this.element.scrollHeight>this.element.clientHeight&&(e=this.element.offsetWidth-this.element.clientWidth),e!==this.scrollbarWidth&&(this.scrollbarWidth=e,this.dispatch("scrollbar-vertical",e))}initializeRenderer(){var e,r={virtual:Sz,basic:Az};typeof this.table.options.renderVertical=="string"?e=r[this.table.options.renderVertical]:e=this.table.options.renderVertical,e?(this.renderMode=this.table.options.renderVertical,this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize(),(this.table.element.clientHeight||this.table.options.height)&&!(this.table.options.minHeight&&this.table.options.maxHeight)?this.fixedHeight=!0:this.fixedHeight=!1):console.error("Unable to find matching renderer:",this.table.options.renderVertical)}getRenderMode(){return this.renderMode}renderTable(){this.dispatchExternal("renderStarted"),this.element.scrollTop=0,this._clearTable(),this.displayRowsCount?(this.renderer.renderRows(),this.firstRender&&(this.firstRender=!1,this.fixedHeight||this.adjustTableSize(),this.layoutRefresh(!0))):this.renderEmptyScroll(),this.fixedHeight||this.adjustTableSize(),this.dispatch("table-layout"),this.displayRowsCount||this._showPlaceholder(),this.scrollBarCheck(),this.dispatchExternal("renderComplete")}renderEmptyScroll(){this.placeholder?this.tableElement.style.display="none":this.tableElement.style.minWidth=this.table.columnManager.getWidth()+"px"}_clearTable(){this._clearPlaceholder(),this.scrollTop=0,this.scrollLeft=0,this.renderer.clearRows()}tableEmpty(){this.renderEmptyScroll(),this._showPlaceholder()}_showPlaceholder(){this.placeholder&&(this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.initializePlaceholder(),this.placeholder.setAttribute("tabulator-render-mode",this.renderMode),this.getElement().appendChild(this.placeholder),this._positionPlaceholder(),this.adjustTableSize())}_clearPlaceholder(){this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.tableElement.style.minWidth="",this.tableElement.style.display=""}_positionPlaceholder(){this.placeholder&&this.placeholder.parentNode&&(this.placeholder.style.width=this.table.columnManager.getWidth()+"px",this.placeholderContents.style.width=this.table.rowManager.element.clientWidth+"px",this.placeholderContents.style.marginLeft=this.scrollLeft+"px")}styleRow(e,r){var S=e.getElement();r%2?(S.classList.add("tabulator-row-even"),S.classList.remove("tabulator-row-odd")):(S.classList.add("tabulator-row-odd"),S.classList.remove("tabulator-row-even"))}normalizeHeight(){this.activeRows.forEach(function(e){e.normalizeHeight()})}adjustTableSize(){let e=this.element.clientHeight,r,S=!1;if(this.renderer.verticalFillMode==="fill"){let D=Math.floor(this.table.columnManager.getElement().getBoundingClientRect().height+(this.table.footerManager&&this.table.footerManager.active&&!this.table.footerManager.external?this.table.footerManager.getElement().getBoundingClientRect().height:0));if(this.fixedHeight){r=isNaN(this.table.options.minHeight)?this.table.options.minHeight:this.table.options.minHeight+"px";const x="calc(100% - "+D+"px)";this.element.style.minHeight=r||"calc(100% - "+D+"px)",this.element.style.height=x,this.element.style.maxHeight=x}else this.element.style.height="",this.element.style.height=this.table.element.clientHeight-D+"px",this.element.scrollTop=this.scrollTop;this.renderer.resize(),!this.fixedHeight&&e!=this.element.clientHeight&&(S=!0,this.subscribed("table-resize")?this.dispatch("table-resize"):this.redraw()),this.scrollBarCheck()}return this._positionPlaceholder(),S}reinitialize(){this.rows.forEach(function(e){e.reinitialize(!0)})}blockRedraw(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1}restoreRedraw(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.handler,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRenderInPosition&&this.reRenderInPosition(),this.redrawBlockRenderInPosition=!1}redraw(e){const r=this.adjustTableSize();this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():(r&&this.reRenderInPosition(),this.scrollHorizontal(this.scrollLeft))}resetScroll(){if(this.element.scrollLeft=0,this.element.scrollTop=0,this.table.browser==="ie"){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))}}class Ez extends Zl{constructor(e){super(e),this.active=!1,this.element=this.createElement(),this.containerElement=this.createContainerElement(),this.external=!1}initialize(){this.initializeElement()}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer"),e}createContainerElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer-contents"),this.element.appendChild(e),e}initializeElement(){if(this.table.options.footerElement)switch(typeof this.table.options.footerElement){case"string":this.table.options.footerElement[0]==="<"?this.containerElement.innerHTML=this.table.options.footerElement:(this.external=!0,this.containerElement=document.querySelector(this.table.options.footerElement));break;default:this.element=this.table.options.footerElement;break}}getElement(){return this.element}append(e){this.activate(),this.containerElement.appendChild(e),this.table.rowManager.adjustTableSize()}prepend(e){this.activate(),this.element.insertBefore(e,this.element.firstChild),this.table.rowManager.adjustTableSize()}remove(e){e.parentNode.removeChild(e),this.deactivate()}deactivate(e){(!this.element.firstChild||e)&&(this.external||this.element.parentNode.removeChild(this.element),this.active=!1)}activate(){this.active||(this.active=!0,this.external||(this.table.element.appendChild(this.getElement()),this.table.element.style.display=""))}redraw(){this.dispatch("footer-redraw")}}class Lz extends Zl{constructor(e){super(e),this.el=null,this.abortClasses=["tabulator-headers","tabulator-table"],this.previousTargets={},this.listeners=["click","dblclick","contextmenu","mouseenter","mouseleave","mouseover","mouseout","mousemove","mouseup","mousedown","touchstart","touchend"],this.componentMap={"tabulator-cell":"cell","tabulator-row":"row","tabulator-group":"group","tabulator-col":"column"},this.pseudoTrackers={row:{subscriber:null,target:null},cell:{subscriber:null,target:null},group:{subscriber:null,target:null},column:{subscriber:null,target:null}},this.pseudoTracking=!1}initialize(){this.el=this.table.element,this.buildListenerMap(),this.bindSubscriptionWatchers()}buildListenerMap(){var e={};this.listeners.forEach(r=>{e[r]={handler:null,components:[]}}),this.listeners=e}bindPseudoEvents(){Object.keys(this.pseudoTrackers).forEach(e=>{this.pseudoTrackers[e].subscriber=this.pseudoMouseEnter.bind(this,e),this.subscribe(e+"-mouseover",this.pseudoTrackers[e].subscriber)}),this.pseudoTracking=!0}pseudoMouseEnter(e,r,S){this.pseudoTrackers[e].target!==S&&(this.pseudoTrackers[e].target&&this.dispatch(e+"-mouseleave",r,this.pseudoTrackers[e].target),this.pseudoMouseLeave(e,r),this.pseudoTrackers[e].target=S,this.dispatch(e+"-mouseenter",r,S))}pseudoMouseLeave(e,r){var S=Object.keys(this.pseudoTrackers),D={row:["cell"],cell:["row"]};S=S.filter(x=>{var o=D[e];return x!==e&&(!o||o&&!o.includes(x))}),S.forEach(x=>{var o=this.pseudoTrackers[x].target;this.pseudoTrackers[x].target&&(this.dispatch(x+"-mouseleave",r,o),this.pseudoTrackers[x].target=null)})}bindSubscriptionWatchers(){var e=Object.keys(this.listeners),r=Object.values(this.componentMap);for(let S of r)for(let D of e){let x=S+"-"+D;this.subscriptionChange(x,this.subscriptionChanged.bind(this,S,D))}this.subscribe("table-destroy",this.clearWatchers.bind(this))}subscriptionChanged(e,r,S){var D=this.listeners[r].components,x=D.indexOf(e),o=!1;S?x===-1&&(D.push(e),o=!0):this.subscribed(e+"-"+r)||x>-1&&(D.splice(x,1),o=!0),(r==="mouseenter"||r==="mouseleave")&&!this.pseudoTracking&&this.bindPseudoEvents(),o&&this.updateEventListeners()}updateEventListeners(){for(let e in this.listeners){let r=this.listeners[e];r.components.length?r.handler||(r.handler=this.track.bind(this,e),this.el.addEventListener(e,r.handler)):r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}track(e,r){var S=r.composedPath&&r.composedPath()||r.path,D=this.findTargets(S);D=this.bindComponents(e,D),this.triggerEvents(e,r,D),this.pseudoTracking&&(e=="mouseover"||e=="mouseleave")&&!Object.keys(D).length&&this.pseudoMouseLeave("none",r)}findTargets(e){var r={};let S=Object.keys(this.componentMap);for(let D of e){let x=D.classList?[...D.classList]:[];if(x.filter(d=>this.abortClasses.includes(d)).length)break;let t=x.filter(d=>S.includes(d));for(let d of t)r[this.componentMap[d]]||(r[this.componentMap[d]]=D)}return r.group&&r.group===r.row&&delete r.row,r}bindComponents(e,r){var S=Object.keys(r).reverse(),D=this.listeners[e],x={},o={};for(let t of S){let d,v=r[t],i=this.previousTargets[t];if(i&&i.target===v)d=i.component;else switch(t){case"row":case"group":(D.components.includes("row")||D.components.includes("cell")||D.components.includes("group"))&&(d=this.table.rowManager.getVisibleRows(!0).find(g=>g.getElement()===v),r.row&&r.row.parentNode&&r.row.parentNode.closest(".tabulator-row")&&(r[t]=!1));break;case"column":D.components.includes("column")&&(d=this.table.columnManager.findColumn(v));break;case"cell":D.components.includes("cell")&&(x.row instanceof wl?d=x.row.findCell(v):r.row&&console.warn("Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"));break}d&&(x[t]=d,o[t]={target:v,component:d})}return this.previousTargets=o,x}triggerEvents(e,r,S){var D=this.listeners[e];for(let x in S)S[x]&&D.components.includes(x)&&this.dispatch(x+"-"+e,r,S[x])}clearWatchers(){for(let e in this.listeners){let r=this.listeners[e];r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}}class Iz{constructor(e){this.table=e,this.bindings={}}bind(e,r,S){this.bindings[e]||(this.bindings[e]={}),this.bindings[e][r]?console.warn("Unable to bind component handler, a matching function name is already bound",e,r,S):this.bindings[e][r]=S}handle(e,r,S){if(this.bindings[e]&&this.bindings[e][S]&&typeof this.bindings[e][S].bind=="function")return this.bindings[e][S].bind(null,r);S!=="then"&&typeof S=="string"&&!S.startsWith("_")&&this.table.options.debugInvalidComponentFuncs&&console.error("The "+e+" component does not have a "+S+" function, have you checked that you have the correct Tabulator module installed?")}}class Oz extends Zl{constructor(e){super(e),this.requestOrder=0,this.loading=!1}initialize(){}load(e,r,S,D,x,o){var t=++this.requestOrder;if(this.table.destroyed)return Promise.resolve();if(this.dispatchExternal("dataLoading",e),e&&(e.indexOf("{")==0||e.indexOf("[")==0)&&(e=JSON.parse(e)),this.confirm("data-loading",[e,r,S,x])){this.loading=!0,x||this.alertLoader(),r=this.chain("data-params",[e,S,x],r||{},r||{}),r=this.mapParams(r,this.table.options.dataSendParams);var d=this.chain("data-load",[e,r,S,x],!1,Promise.resolve([]));return d.then(v=>{if(this.table.destroyed)console.warn("Data Load Response Blocked - Table has been destroyed");else{!Array.isArray(v)&&typeof v=="object"&&(v=this.mapParams(v,this.objectInvert(this.table.options.dataReceiveParams)));var i=this.chain("data-loaded",v,null,v);t==this.requestOrder?(this.clearAlert(),i!==!1&&(this.dispatchExternal("dataLoaded",i),this.table.rowManager.setData(i,D,typeof o>"u"?!D:o))):console.warn("Data Load Response Blocked - An active data load request was blocked by an attempt to change table data while the request was being made")}}).catch(v=>{console.error("Data Load Error: ",v),this.dispatchExternal("dataLoadError",v),x||this.alertError(),setTimeout(()=>{this.clearAlert()},this.table.options.dataLoaderErrorTimeout)}).finally(()=>{this.loading=!1})}else return this.dispatchExternal("dataLoaded",e),e||(e=[]),this.table.rowManager.setData(e,D,typeof o>"u"?!D:o),Promise.resolve()}mapParams(e,r){var S={};for(let D in e)S[r.hasOwnProperty(D)?r[D]:D]=e[D];return S}objectInvert(e){var r={};for(let S in e)r[e[S]]=S;return r}blockActiveLoad(){this.requestOrder++}alertLoader(){var e=typeof this.table.options.dataLoader=="function"?this.table.options.dataLoader():this.table.options.dataLoader;e&&this.table.alertManager.alert(this.table.options.dataLoaderLoading||this.langText("data|loading"))}alertError(){this.table.alertManager.alert(this.table.options.dataLoaderError||this.langText("data|error"),"error")}clearAlert(){this.table.alertManager.clear()}}class Pz{constructor(e,r,S){this.table=e,this.events={},this.optionsList=r||{},this.subscriptionNotifiers={},this.dispatch=S?this._debugDispatch.bind(this):this._dispatch.bind(this),this.debug=S}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r){this.events[e]||(this.events[e]=[]),this.events[e].push(r),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var S;if(this.events[e])if(r)if(S=this.events[e].findIndex(D=>D===r),S>-1)this.events[e].splice(S,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}else delete this.events[e];else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_notifySubscriptionChange(e,r){var S=this.subscriptionNotifiers[e];S&&S.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift(),S;return this.events[r]&&this.events[r].forEach((D,x)=>{let o=D.apply(this.table,e);x||(S=o)}),S}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="ExternalEvent:"+e[0],(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}}class Dz{constructor(e){this.events={},this.subscriptionNotifiers={},this.dispatch=e?this._debugDispatch.bind(this):this._dispatch.bind(this),this.chain=e?this._debugChain.bind(this):this._chain.bind(this),this.confirm=e?this._debugConfirm.bind(this):this._confirm.bind(this),this.debug=e}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r,S=1e4){this.events[e]||(this.events[e]=[]),this.events[e].push({callback:r,priority:S}),this.events[e].sort((D,x)=>D.priority-x.priority),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var S;if(this.events[e]){if(r)if(S=this.events[e].findIndex(D=>D.callback===r),S>-1)this.events[e].splice(S,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}}else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_chain(e,r,S,D){var x=S;return Array.isArray(r)||(r=[r]),this.subscribed(e)?(this.events[e].forEach((o,t)=>{x=o.callback.apply(this,r.concat([x]))}),x):typeof D=="function"?D():D}_confirm(e,r){var S=!1;return Array.isArray(r)||(r=[r]),this.subscribed(e)&&this.events[e].forEach((D,x)=>{D.callback.apply(this,r)&&(S=!0)}),S}_notifySubscriptionChange(e,r){var S=this.subscriptionNotifiers[e];S&&S.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift();this.events[r]&&this.events[r].forEach(S=>{S.callback.apply(this,e)})}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}_debugChain(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._chain(...arguments)}_debugConfirm(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._confirm(...arguments)}}class Rz extends Zl{constructor(e){super(e)}_warnUser(){this.options("debugDeprecation")&&console.warn(...arguments)}check(e,r){var S="";return typeof this.options(e)<"u"?(S="Deprecated Setup Option - Use of the %c"+e+"%c option is now deprecated",r?(S=S+", Please use the %c"+r+"%c option instead",this._warnUser(S,"font-weight: bold;","font-weight: normal;","font-weight: bold;","font-weight: normal;")):this._warnUser(S,"font-weight: bold;","font-weight: normal;"),!1):!0}checkMsg(e,r){return typeof this.options(e)<"u"?(this._warnUser("%cDeprecated Setup Option - Use of the %c"+e+" %c option is now deprecated, "+r,"font-weight: normal;","font-weight: bold;","font-weight: normal;"),!1):!0}msg(e){this._warnUser(e)}}class pu{static register(e){pu.tables.push(e)}static deregister(e){var r=pu.tables.indexOf(e);r>-1&&pu.tables.splice(r,1)}static lookupTable(e,r){var S=[],D,x;if(typeof e=="string"){if(D=document.querySelectorAll(e),D.length)for(var o=0;o{o.widthFixed||o.reinitializeWidth(),(this.table.options.responsiveLayout?o.modules.responsive.visible:o.visible)&&(x=o),o.visible&&(r+=o.getWidth())}),x?(D=S-r+x.getWidth(),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&(x.setWidth(0),this.table.modules.responsiveLayout.update()),D>0?x.setWidth(D):x.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()}function Bz(n,e){var r=this.table.rowManager.element.getBoundingClientRect().width,S=0,D=0,x=0,o=0,t=[],d=[],v=0,i=0,M=0;function g(u){var a;return typeof u=="string"?u.indexOf("%")>-1?a=r/100*parseInt(u):a=parseInt(u):a=u,a}function p(u,a,c,s){var l=[],h=0,f=0,m=0,_=x,y=0,C=0,w=[];function k(T){return c*(T.column.definition.widthGrow||1)}function E(T){return g(T.width)-c*(T.column.definition.widthShrink||0)}return u.forEach(function(T,A){var L=s?E(T):k(T);T.column.minWidth>=L?l.push(T):T.column.maxWidth&&T.column.maxWidththis.table.rowManager.element.clientHeight&&(r-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),n.forEach(function(u){var a,c,s;u.visible&&(a=u.definition.width,c=parseInt(u.minWidth),a?(s=g(a),S+=s>c?s:c,u.definition.widthShrink&&(d.push({column:u,width:s>c?s:c}),v+=u.definition.widthShrink)):(t.push({column:u,width:0}),x+=u.definition.widthGrow||1))}),D=r-S,o=Math.floor(D/x),M=p(t,D,o,!1),t.length&&M>0&&(t[t.length-1].width+=M),t.forEach(function(u){D-=u.width}),i=Math.abs(M)+D,i>0&&v&&(M=p(d,i,Math.floor(i/v),!0)),M&&d.length&&(d[d.length-1].width-=M),t.forEach(function(u){u.column.setWidth(u.width)}),d.forEach(function(u){u.column.setWidth(u.width)})}var Nz={fitData:zz,fitDataFill:tT,fitDataTable:tT,fitDataStretch:Fz,fitColumns:Bz};class t0 extends Xi{constructor(e){super(e,"layout"),this.mode=null,this.registerTableOption("layout","fitData"),this.registerTableOption("layoutColumnsOnNewData",!1),this.registerColumnOption("widthGrow"),this.registerColumnOption("widthShrink")}initialize(){var e=this.table.options.layout;t0.modes[e]?this.mode=e:(console.warn("Layout Error - invalid mode set, defaulting to 'fitData' : "+e),this.mode="fitData"),this.table.element.setAttribute("tabulator-layout",this.mode)}getMode(){return this.mode}layout(e){this.dispatch("layout-refreshing"),t0.modes[this.mode].call(this,this.table.columnManager.columnsByIndex,e),this.dispatch("layout-refreshed")}}t0.moduleName="layout";t0.modes=Nz;var Vz={default:{groups:{item:"item",items:"items"},columns:{},data:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",page_title:"Show Page",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page",all:"All",counter:{showing:"Showing",of:"of",rows:"rows",pages:"pages"}},headerFilters:{default:"filter column...",columns:{}}}};class sg extends Xi{constructor(e){super(e),this.locale="default",this.lang=!1,this.bindings={},this.langList={},this.registerTableOption("locale",!1),this.registerTableOption("langs",{})}initialize(){this.langList=po.deepClone(sg.langs),this.table.options.columnDefaults.headerFilterPlaceholder!==!1&&this.setHeaderFilterPlaceholder(this.table.options.columnDefaults.headerFilterPlaceholder);for(let e in this.table.options.langs)this.installLang(e,this.table.options.langs[e]);this.setLocale(this.table.options.locale),this.registerTableFunction("setLocale",this.setLocale.bind(this)),this.registerTableFunction("getLocale",this.getLocale.bind(this)),this.registerTableFunction("getLang",this.getLang.bind(this))}setHeaderFilterPlaceholder(e){this.langList.default.headerFilters.default=e}installLang(e,r){this.langList[e]?this._setLangProp(this.langList[e],r):this.langList[e]=r}_setLangProp(e,r){for(let S in r)e[S]&&typeof e[S]=="object"?this._setLangProp(e[S],r[S]):e[S]=r[S]}setLocale(e){e=e||"default";function r(S,D){for(var x in S)typeof S[x]=="object"?(D[x]||(D[x]={}),r(S[x],D[x])):D[x]=S[x]}if(e===!0&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!this.langList[e]){let S=e.split("-")[0];this.langList[S]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,S),e=S):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}this.locale=e,this.lang=po.deepClone(this.langList.default||{}),e!="default"&&r(this.langList[e],this.lang),this.dispatchExternal("localized",this.locale,this.lang),this._executeBindings()}getLocale(e){return this.locale}getLang(e){return e?this.langList[e]:this.lang}getText(e,r){var S=r?e+"|"+r:e,D=S.split("|"),x=this._getLangElement(D,this.locale);return x||""}_getLangElement(e,r){var S=this.lang;return e.forEach(function(D){var x;S&&(x=S[D],typeof x<"u"?S=x:S=!1)}),S}bind(e,r){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(r),r(this.getText(e),this.lang)}_executeBindings(){for(let e in this.bindings)this.bindings[e].forEach(r=>{r(this.getText(e),this.lang)})}}sg.moduleName="localize";sg.langs=Vz;class BM extends Xi{constructor(e){super(e)}initialize(){this.registerTableFunction("tableComms",this.receive.bind(this))}getConnections(e){var r=[],S;return S=pu.lookupTable(e),S.forEach(D=>{this.table!==D&&r.push(D)}),r}send(e,r,S,D){var x=this.getConnections(e);x.forEach(o=>{o.tableComms(this.table.element,r,S,D)}),!x.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)}receive(e,r,S,D){if(this.table.modExists(r))return this.table.modules[r].commsReceived(e,S,D);console.warn("Inter-table Comms Error - no such module:",r)}}BM.moduleName="comms";var jz=Object.freeze({__proto__:null,LayoutModule:t0,LocalizeModule:sg,CommsModule:BM});class NM{constructor(e,r){this.bindStaticFunctionality(e),this.bindModules(e,jz,!0),r&&this.bindModules(e,r)}bindStaticFunctionality(e){e.moduleBindings={},e.extendModule=function(r,S,D){if(e.moduleBindings[r]){var x=e.moduleBindings[r][S];if(x)if(typeof D=="object")for(let o in D)x[o]=D[o];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",S)}else console.warn("Module Error - module does not exist:",r)},e.registerModule=function(r){Array.isArray(r)||(r=[r]),r.forEach(S=>{e.registerModuleBinding(S)})},e.registerModuleBinding=function(r){e.moduleBindings[r.moduleName]=r},e.findTable=function(r){var S=pu.lookupTable(r,!0);return Array.isArray(S)&&!S.length?!1:S},e.prototype.bindModules=function(){var r=[],S=[],D=[];this.modules={};for(var x in e.moduleBindings){let o=e.moduleBindings[x],t=new o(this);this.modules[x]=t,o.prototype.moduleCore?this.modulesCore.push(t):o.moduleInitOrder?o.moduleInitOrder<0?r.push(t):S.push(t):D.push(t)}r.sort((o,t)=>o.moduleInitOrder>t.moduleInitOrder?1:-1),S.sort((o,t)=>o.moduleInitOrder>t.moduleInitOrder?1:-1),this.modulesRegular=r.concat(D.concat(S))}}bindModules(e,r,S){var D=Object.values(r);S&&D.forEach(x=>{x.prototype.moduleCore=!0}),e.registerModule(D)}}class Uz extends Zl{constructor(e){super(e),this.element=this._createAlertElement(),this.msgElement=this._createMsgElement(),this.type=null,this.element.appendChild(this.msgElement)}_createAlertElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert"),e}_createMsgElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert-msg"),e.setAttribute("role","alert"),e}_typeClass(){return"tabulator-alert-state-"+this.type}alert(e,r="msg"){if(e){for(this.clear(),this.type=r;this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.add(this._typeClass()),typeof e=="function"&&(e=e()),e instanceof HTMLElement?this.msgElement.appendChild(e):this.msgElement.innerHTML=e,this.table.element.appendChild(this.element)}}clear(){this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.msgElement.classList.remove(this._typeClass())}}class zd{constructor(e,r){this.options={},this.columnManager=null,this.rowManager=null,this.footerManager=null,this.alertManager=null,this.vdomHoz=null,this.externalEvents=null,this.eventBus=null,this.interactionMonitor=!1,this.browser="",this.browserSlow=!1,this.browserMobile=!1,this.rtl=!1,this.originalElement=null,this.componentFunctionBinder=new Iz(this),this.dataLoader=!1,this.modules={},this.modulesCore=[],this.modulesRegular=[],this.deprecationAdvisor=new Rz(this),this.optionsList=new FM(this,"table constructor"),this.initialized=!1,this.destroyed=!1,this.initializeElement(e)&&(this.initializeCoreSystems(r),setTimeout(()=>{this._create()})),pu.register(this)}initializeElement(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement?(this.element=e,!0):typeof e=="string"?(this.element=document.querySelector(e),this.element?!0:(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)}initializeCoreSystems(e){this.columnManager=new Mz(this),this.rowManager=new Cz(this),this.footerManager=new Ez(this),this.dataLoader=new Oz(this),this.alertManager=new Uz(this),this.bindModules(),this.options=this.optionsList.generate(zd.defaultOptions,e),this._clearObjectPointers(),this._mapDeprecatedFunctionality(),this.externalEvents=new Pz(this,this.options,this.options.debugEventsExternal),this.eventBus=new Dz(this.options.debugEventsInternal),this.interactionMonitor=new Lz(this),this.dataLoader.initialize(),this.footerManager.initialize()}_mapDeprecatedFunctionality(){}_clearSelection(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")}_create(){this.externalEvents.dispatch("tableBuilding"),this.eventBus.dispatch("table-building"),this._rtlCheck(),this._buildElement(),this._initializeTable(),this._loadInitialData(),this.initialized=!0,this.externalEvents.dispatch("tableBuilt")}_rtlCheck(){var e=window.getComputedStyle(this.element);switch(this.options.textDirection){case"auto":if(e.direction!=="rtl")break;case"rtl":this.element.classList.add("tabulator-rtl"),this.rtl=!0;break;case"ltr":this.element.classList.add("tabulator-ltr");default:this.rtl=!1}}_clearObjectPointers(){this.options.columns=this.options.columns.slice(0),Array.isArray(this.options.data)&&!this.options.reactiveData&&(this.options.data=this.options.data.slice(0))}_buildElement(){var e=this.element,r=this.options,S;if(e.tagName==="TABLE"){this.originalElement=this.element,S=document.createElement("div");var D=e.attributes;for(var x in D)typeof D[x]=="object"&&S.setAttribute(D[x].name,D[x].value);e.parentNode.replaceChild(S,e),this.element=e=S}for(e.classList.add("tabulator"),e.setAttribute("role","grid");e.firstChild;)e.removeChild(e.firstChild);r.height&&(r.height=isNaN(r.height)?r.height:r.height+"px",e.style.height=r.height),r.minHeight!==!1&&(r.minHeight=isNaN(r.minHeight)?r.minHeight:r.minHeight+"px",e.style.minHeight=r.minHeight),r.maxHeight!==!1&&(r.maxHeight=isNaN(r.maxHeight)?r.maxHeight:r.maxHeight+"px",e.style.maxHeight=r.maxHeight)}_initializeTable(){var e=this.element,r=this.options;this.interactionMonitor.initialize(),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modulesCore.forEach(S=>{S.initialize()}),e.appendChild(this.columnManager.getElement()),e.appendChild(this.rowManager.getElement()),r.footerElement&&this.footerManager.activate(),r.autoColumns&&r.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modulesRegular.forEach(S=>{S.initialize()}),this.columnManager.setColumns(r.columns),this.eventBus.dispatch("table-built")}_loadInitialData(){this.dataLoader.load(this.options.data)}destroy(){var e=this.element;for(this.destroyed=!0,pu.deregister(this),this.eventBus.dispatch("table-destroy"),this.rowManager.destroy();e.firstChild;)e.removeChild(e.firstChild);e.classList.remove("tabulator"),this.externalEvents.dispatch("tableDestroyed")}_detectBrowser(){var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):e.indexOf("Mac OS")>-1?(this.browser="safari",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1),this.browserMobile=/(android|bb\d+|meego).+mobile|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(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.slice(0,4))}initGuard(e,r){var S,D;return this.options.debugInitialization&&!this.initialized&&(e||(S=new Error().stack.split(` +`),D=S[0]=="Error"?S[2]:S[1],D[0]==" "?e=D.trim().split(" ")[1].split(".")[1]:e=D.trim().split("@")[0]),console.warn("Table Not Initialized - Calling the "+e+" function before the table is initialized may result in inconsistent behavior, Please wait for the `tableBuilt` event before calling this function."+(r?" "+r:""))),this.initialized}blockRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-blocking"),this.rowManager.blockRedraw(),this.columnManager.blockRedraw(),this.eventBus.dispatch("redraw-blocked")}restoreRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-restoring"),this.rowManager.restoreRedraw(),this.columnManager.restoreRedraw(),this.eventBus.dispatch("redraw-restored")}setData(e,r,S){return this.initGuard(!1,"To set initial data please use the 'data' property in the table constructor."),this.dataLoader.load(e,r,S,!1)}clearData(){this.initGuard(),this.dataLoader.blockActiveLoad(),this.rowManager.clearData()}getData(e){return this.rowManager.getData(e)}getDataCount(e){return this.rowManager.getDataCount(e)}replaceData(e,r,S){return this.initGuard(),this.dataLoader.load(e,r,S,!0,!0)}updateData(e){var r=0;return this.initGuard(),new Promise((S,D)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(x=>{var o=this.rowManager.findRow(x[this.options.index]);o?(r++,o.updateData(x).then(()=>{r--,r||S()}).catch(t=>{D("Update Error - Unable to update row",x,t)})):D("Update Error - Unable to find row",x)}):(console.warn("Update Error - No data provided"),D("Update Error - No data provided"))})}addData(e,r,S){return this.initGuard(),new Promise((D,x)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e?this.rowManager.addRows(e,r,S).then(o=>{var t=[];o.forEach(function(d){t.push(d.getComponent())}),D(t)}):(console.warn("Update Error - No data provided"),x("Update Error - No data provided"))})}updateOrAddData(e){var r=[],S=0;return this.initGuard(),new Promise((D,x)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(o=>{var t=this.rowManager.findRow(o[this.options.index]);S++,t?t.updateData(o).then(()=>{S--,r.push(t.getComponent()),S||D(r)}):this.rowManager.addRows(o).then(d=>{S--,r.push(d[0].getComponent()),S||D(r)})}):(console.warn("Update Error - No data provided"),x("Update Error - No data provided"))})}getRow(e){var r=this.rowManager.findRow(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}getRowFromPosition(e){var r=this.rowManager.getRowFromPosition(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}deleteRow(e){var r=[];this.initGuard(),Array.isArray(e)||(e=[e]);for(let S of e){let D=this.rowManager.findRow(S,!0);if(D)r.push(D);else return console.error("Delete Error - No matching row found:",S),Promise.reject("Delete Error - No matching row found")}return r.sort((S,D)=>this.rowManager.rows.indexOf(S)>this.rowManager.rows.indexOf(D)?1:-1),r.forEach(S=>{S.delete()}),this.rowManager.reRenderInPosition(),Promise.resolve()}addRow(e,r,S){return this.initGuard(),typeof e=="string"&&(e=JSON.parse(e)),this.rowManager.addRows(e,r,S,!0).then(D=>D[0].getComponent())}updateOrAddRow(e,r){var S=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),S?S.updateData(r).then(()=>S.getComponent()):this.rowManager.addRows(r).then(D=>D[0].getComponent())}updateRow(e,r){var S=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),S?S.updateData(r).then(()=>Promise.resolve(S.getComponent())):(console.warn("Update Error - No matching row found:",e),Promise.reject("Update Error - No matching row found"))}scrollToRow(e,r,S){var D=this.rowManager.findRow(e);return D?this.rowManager.scrollToRow(D,r,S):(console.warn("Scroll Error - No matching row found:",e),Promise.reject("Scroll Error - No matching row found"))}moveRow(e,r,S){var D=this.rowManager.findRow(e);this.initGuard(),D?D.moveToRow(r,S):console.warn("Move Error - No matching row found:",e)}getRows(e){return this.rowManager.getComponents(e)}getRowPosition(e){var r=this.rowManager.findRow(e);return r?r.getPosition():(console.warn("Position Error - No matching row found:",e),!1)}setColumns(e){this.initGuard(!1,"To set initial columns please use the 'columns' property in the table constructor"),this.columnManager.setColumns(e)}getColumns(e){return this.columnManager.getComponents(e)}getColumn(e){var r=this.columnManager.findColumn(e);return r?r.getComponent():(console.warn("Find Error - No matching column found:",e),!1)}getColumnDefinitions(){return this.columnManager.getDefinitionTree()}showColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.show();else return console.warn("Column Show Error - No matching column found:",e),!1}hideColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.hide();else return console.warn("Column Hide Error - No matching column found:",e),!1}toggleColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.visible?r.hide():r.show();else return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1}addColumn(e,r,S){var D=this.columnManager.findColumn(S);return this.initGuard(),this.columnManager.addColumn(e,r,D).then(x=>x.getComponent())}deleteColumn(e){var r=this.columnManager.findColumn(e);return this.initGuard(),r?r.delete():(console.warn("Column Delete Error - No matching column found:",e),Promise.reject())}updateColumnDefinition(e,r){var S=this.columnManager.findColumn(e);return this.initGuard(),S?S.updateDefinition(r):(console.warn("Column Update Error - No matching column found:",e),Promise.reject())}moveColumn(e,r,S){var D=this.columnManager.findColumn(e),x=this.columnManager.findColumn(r);this.initGuard(),D?x?this.columnManager.moveColumn(D,x,S):console.warn("Move Error - No matching column found:",x):console.warn("Move Error - No matching column found:",e)}scrollToColumn(e,r,S){return new Promise((D,x)=>{var o=this.columnManager.findColumn(e);return o?this.columnManager.scrollToColumn(o,r,S):(console.warn("Scroll Error - No matching column found:",e),Promise.reject("Scroll Error - No matching column found"))})}redraw(e){this.initGuard(),this.columnManager.redraw(e),this.rowManager.redraw(e)}setHeight(e){this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.initializeRenderer(),this.rowManager.redraw()}on(e,r){this.externalEvents.subscribe(e,r)}off(e,r){this.externalEvents.unsubscribe(e,r)}dispatchEvent(){var e=Array.from(arguments);e.shift(),this.externalEvents.dispatch(...arguments)}alert(e,r){this.initGuard(),this.alertManager.alert(e,r)}clearAlert(){this.initGuard(),this.alertManager.clear()}modExists(e,r){return this.modules[e]?!0:(r&&console.error("Tabulator Module Not Installed: "+e),!1)}module(e){var r=this.modules[e];return r||console.error("Tabulator module not installed: "+e),r}}zd.defaultOptions=wz;new NM(zd);class VM extends zd{}new NM(VM,_z);const Hz=Io({name:"TabulatorTable",props:{tableIndexField:{type:String,required:!1,default:()=>"id"},tableData:{type:Object,required:!0},columnDefinitions:{type:Object,required:!0},title:{type:String,required:!1},index:{type:Number,required:!0},selectedRowIndexFromListening:{type:Number,required:!1,default:()=>{}},tableLayoutParam:{type:String,required:!1,default:()=>"fitDataFill"},defaultRow:{type:Number,required:!1,default:()=>0}},emits:["rowSelected"],setup(){return{streamlitDataStore:os()}},data(){return{tabulator:void 0,initialized:0}},computed:{id(){return`table-${this.index}`},containerStyles(){return{display:"flex","flex-direction":"column","align-items":"center"}},tableClasses(){var n,e;return{"table-dark":((n=this.streamlitDataStore.theme)==null?void 0:n.base)==="dark","table-light":((e=this.streamlitDataStore.theme)==null?void 0:e.base)==="light","table-striped":!1,"table-bordered":!0,"table-sm":!0}},preparedTableData(){if(this.tableData.length>0&&this.tableData[0][this.tableIndexField]===void 0){const n=[];return this.tableData.forEach((e,r)=>{n.push({...e,[this.tableIndexField]:r})}),n}return this.tableData}},watch:{tableData(){this.drawTable()},selectedRowIndexFromListening(n){n!==void 0&&this.onSelectedRowListener(n)}},mounted(){this.drawTable()},methods:{drawTable(){this.tabulator=new VM(`#${this.id}`,{index:this.tableIndexField,data:this.preparedTableData,minHeight:50,maxHeight:this.title?320:310,layout:this.tableLayoutParam,selectable:1,columnDefaults:{title:"",hozAlign:"right"},columns:this.columnDefinitions.map(n=>(n.headerTooltip=!0,n))}),this.tabulator.on("tableBuilt",()=>{this.initialized<3&&(this.initialized+=1,this.selectDefaultRow())})},selectDefaultRow(){var n;this.defaultRow>=0&&((n=this.tabulator)==null||n.selectRow([this.defaultRow]),this.onTableClick())},onTableClick(){var e,r;const n=(r=(e=this.tabulator)==null?void 0:e.getSelectedRows()[0])==null?void 0:r.getIndex();n!==void 0&&this.$emit("rowSelected",n)},onSelectedRowListener(n){var e,r,S;(e=this.tabulator)==null||e.scrollToRow(n,"top",!1),(r=this.tabulator)==null||r.deselectRow(),(S=this.tabulator)==null||S.selectRow([n]),this.onTableClick()},downloadTable(){this.tabulator!==void 0&&this.tabulator.download("csv",`${this.title}.csv`)}}});const Gz={style:{padding:"8px",width:"98%"}},Wz={class:"d-flex"},qz={style:{width:"100%",display:"grid","grid-template-columns":"1fr 1fr 1fr"}},$z={class:"d-flex justify-end",style:{"grid-column":"1 / span 1"}},Yz={class:"d-flex justify-center",style:{"grid-column":"2 / span 1"}},Zz=["id"],Xz={class:"d-flex justify-end",style:{"grid-column":"3 / span 1"}},Kz=["id"];function Jz(n,e,r,S,D,x){const o=Tr("v-btn"),t=Tr("v-card"),d=Tr("v-menu");return Dr(),ai("div",Gz,[Nr("div",Wz,[Nr("div",qz,[Nr("div",$z,[sb(n.$slots,"start-title-row")]),Nr("div",Yz,[Nr("h4",{id:`${n.id}-title`},[sb(n.$slots,"default",{},()=>[ki(So(n.title??""),1)])],8,Zz),dt(d,{activator:`#${n.id}-title`,location:"bottom"},{default:Yr(()=>[dt(t,{"min-width":"100"},{default:Yr(()=>[dt(o,{"prepend-icon":"mdi-download",onClick:n.downloadTable},{default:Yr(()=>[ki("Download")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["activator"])]),Nr("div",Xz,[sb(n.$slots,"end-title-row")])])]),Nr("div",{id:n.id,class:vu(n.tableClasses),onClick:e[0]||(e[0]=(...v)=>n.onTableClick&&n.onTableClick(...v))},null,10,Kz)])}const Wd=Bo(Hz,[["render",Jz]]),Uf=n=>e=>e.getValue().toString().length>4?e.getValue().toFixed(n??4):e.getValue(),Qz=Io({name:"TabulatorScanTable",components:{TabulatorTable:Wd},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=os(),e=Bc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Index",field:"id"},{title:"Scan Number",field:"Scan"},{title:"MS Level",field:"MSLevel"},{title:"Retention time",field:"RT",formatter:Uf()},{title:"Precursor Mass",field:"PrecursorMass",formatter:Uf()},{title:"#Masses",field:"#Masses"}]}},computed:{tableData(){const n=this.streamlitDataStore.allDataForDrawing.per_scan_data;return n.forEach(e=>e.id=e.index),n}},methods:{updateSelectedScan(n){n!==void 0&&(n!==this.selectionStore.selectedScanIndex&&this.selectionStore.updateSelectedMass(void 0),this.selectionStore.updateSelectedScan(n))}}});function eF(n,e,r,S,D,x){const o=Tr("TabulatorTable");return Dr(),Aa(o,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Scan Table",index:n.index,"table-layout-param":"fitColumns",onRowSelected:n.updateSelectedScan},null,8,["table-data","column-definitions","index","onRowSelected"])}const tF=Bo(Qz,[["render",eF]]),nF=Io({name:"PlotlyLineplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=os(),e=Bc();return{streamlitDataStore:n,selectionStore:e}},computed:{id(){return`graph-${this.index}`},theme(){return this.streamlitDataStore.theme},selectedRow(){return this.selectionStore.selectedScanIndex},xAxisLabel(){switch(this.args.title){case"Annotated Spectrum":return"m/z";case"Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},xColumn(){switch(this.args.title){case"Annotated Spectrum":return"MonoMass_Anno";case"Deconvolved Spectrum":return"MonoMass";default:return""}},xValues(){const n=[];return this.selectedRow===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedRow][this.xColumn].forEach(e=>{n.push(e,e,e)}),n},yColmun(){switch(this.args.title){case"Annotated Spectrum":return"SumIntensity_Anno";case"Deconvolved Spectrum":return"SumIntensity";default:return""}},yValues(){const n=[];return this.selectedRow===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedRow][this.yColmun].forEach(e=>{n.push(-1e7,e,-1e7)}),n},data(){return[{x:this.xValues,y:this.yValues,mode:"lines",type:"scatter",connectgaps:!1}]},layout(){var n,e,r,S,D;return{title:`${this.args.title}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1},yaxis:{title:"Intensity",showgrid:!0,gridcolor:(n=this.theme)==null?void 0:n.secondaryBackgroundColor,rangemode:"nonnegative",fixedrange:!0},paper_bgcolor:(e=this.theme)==null?void 0:e.backgroundColor,plot_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,font:{color:(S=this.theme)==null?void 0:S.textColor,family:(D=this.theme)==null?void 0:D.font}}}},watch:{selectedRow(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await Ns.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Ns.Icons.camera,click:n=>{Ns.downloadImage(n,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}}]})}}}),rF=["id"];function iF(n,e,r,S,D,x){return Dr(),ai("div",{id:n.id,style:{width:"100%"}},null,8,rF)}const aF=Bo(nF,[["render",iF]]),oF=Io({name:"PlotlyLineplotTagger",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=os(),e=Bc();return{streamlitDataStore:n,selectionStore:e}},data(){return{manual:!1,manual_xRange:void 0,selectedMass:void 0}},computed:{id(){return`graph-${this.index}`},theme(){return this.streamlitDataStore.theme},selectedScan(){return this.selectionStore.selectedScanIndex},selectedTag(){return this.selectionStore.selectedTagIndex},selectedAA(){var n;return(n=this.selectionStore.selectedTag)==null?void 0:n.selectedAA},showBackButton(){return this.args.title==="Annotated Spectrum"},minCharge(){return this.selectedScan===void 0?-10:Math.min(...this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].MinCharges)},maxCharge(){return this.selectedScan===void 0?-10:Math.max(...this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].MinCharges)},xAxisLabel(){switch(this.args.title){case"Annotated Spectrum":return"m/z";case"Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},xColumn(){switch(this.args.title){case"Annotated Spectrum":return"MonoMass_Anno";case"Deconvolved Spectrum":return"MonoMass";default:return""}},xValues(){const n=[];return this.selectedScan===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan][this.xColumn].forEach(e=>{n.push(e,e,e)}),n},xMassValues(){return this.selectedScan===void 0?[]:this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].MonoMass},mzSignals(){let n=[];return this.selectedScan===void 0||(n=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].SignalPeaks),n},yColmun(){switch(this.args.title){case"Annotated Spectrum":return"SumIntensity_Anno";case"Deconvolved Spectrum":return"SumIntensity";default:return""}},yValues(){const n=[];return this.selectedScan===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan][this.yColmun].forEach(e=>{n.push(-1e7,e,-1e7)}),n},highlightedMassPos(){var r;const n=(r=this.selectionStore.selectedTag)==null?void 0:r.masses;if(n===void 0)return[];let e=[];for(let S=0;S{const k=C.reduce((A,L)=>A+L.intensity,0),T=C.map(A=>A.intensity/k*A.mz).reduce((A,L)=>A+L,0);e.push({type:"rect",x0:T-.5*t,y0:D,x1:T+.5*t,y1:o,fillcolor:h,line:{width:0}}),r.push({x:T,y:x,xref:"x",yref:"y",text:"z="+w,showarrow:!1,font:{size:15}})}),{shapes:e,annotations:r,traces:n}}let d=[];if(t>40)return{shapes:e,annotations:r,traces:n};for(let h=0;hy?(A=_-y,_-=E,w+=E*.1,y+=E,k-=E*.1):(A=y-_,_+=E,w-=E*.1,y-=E,k+=E*.1),d.push({ax:w,ay:v,xref:"x",yref:"y",x:_,y:v,axref:"x",ayref:"y",showarrow:!0,arrowhead:0,arrowsize:1,arrowwidth:2,arrowcolor:f}),d.push({ax:k,ay:v,xref:"x",yref:"y",x:y,y:v,axref:"x",ayref:"y",showarrow:!0,arrowhead:2,arrowsize:1,arrowwidth:2,arrowcolor:f}),d.push({x:C,y:i,xref:"x",yref:"y",text:T,hovertext:"Δ="+A.toFixed(2)+" Da",showarrow:!1,font:{size:15,color:f,family:m}})}return{shapes:e,annotations:[...r,...d],traces:n}},data(){let n=[];if(n.push({x:this.plotData.unhighlighted_x,y:this.plotData.unhighlighted_y,mode:"lines",type:"scatter",marker:{color:"lightblue"}}),n.push({x:this.plotData.highlighted_x,y:this.plotData.highlighted_y,mode:"lines",type:"scatter",marker:{color:"#E4572E"}}),n.push({x:this.plotData.selected_x,y:this.plotData.selected_y,mode:"lines",type:"scatter",marker:{color:"#F3A712"}}),this.args.title==="Deconvolved Spectrum"){const e=this.annotationData.traces;n.push(...e)}return n},xRange(){return this.xValues.length===0?[]:this.manual&&this.manual_xRange!==void 0?this.manual_xRange:this.highlightedValues.length===0?[Math.min(...this.xValues)*.98,Math.max(...this.xValues)*1.02]:this.args.title==="Annotated Spectrum"&&this.selectedMass!==void 0?[Math.min(...this.highlightedValues[this.selectedMass].mzs)*.98,Math.max(...this.highlightedValues[this.selectedMass].mzs)*1.02]:[Math.min(...this.highlightedValues.map(n=>n.mass))*.98,Math.max(...this.highlightedValues.map(n=>n.mass))*1.02]},yRange(){return this.computeYRange(this.xRange)},layout(){var n,e,r,S,D;return{title:`${this.args.title}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1,range:this.xRange,showline:!0,linecolor:"grey",linewidth:1},yaxis:{title:"Intensity",showgrid:!0,gridcolor:(n=this.theme)==null?void 0:n.secondaryBackgroundColor,rangemode:"nonnegative",range:this.yRange,fixedrange:!0,showline:!0,linecolor:"grey",linewidth:1},paper_bgcolor:(e=this.theme)==null?void 0:e.backgroundColor,plot_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,font:{color:(S=this.theme)==null?void 0:S.textColor,family:(D=this.theme)==null?void 0:D.font},shapes:this.annotationData.shapes,annotations:this.annotationData.annotations}}},watch:{selectedScan(){this.manual=!1,this.args.title="Deconvolved Spectrum",this.selectedMass=void 0,this.graph()},selectedTag(){this.manual=!1,this.args.title="Deconvolved Spectrum",this.selectedMass=void 0,this.graph()},annotationData(){this.manual&&this.updateButtons(this.annotationData.shapes,this.annotationData.annotations)}},mounted(){this.graph()},methods:{backButton(){this.args.title="Deconvolved Spectrum",this.selectedMass=void 0,this.manual=!1,this.graph()},onPlotClick(n){if(n.points&&n.points.length>0){const e=n.points[0].x;for(let r=0;r=n[1]||D>e&&(e=D)}return e===0?[0,1]:[0,e*1.8]},isHighlighted(n){return this.highlightedPos(n)!==void 0},highlightedPos(n){if(this.args.title==="Annotated Spectrum"){const e=this.selectedMass;if(e===void 0)return;const r=this.highlightedValues[e].mzs;for(let S=0;S{Ns.downloadImage(e,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}}],scrollZoom:!0});n.on("plotly_relayout",e=>{this.onRelayout(e)}),n.on("plotly_click",e=>{this.onPlotClick(e)})}}});const sF=["id"];function lF(n,e,r,S,D,x){return Dr(),ai("div",{id:n.id,class:"plot-container"},[n.showBackButton?(Dr(),ai("button",{key:0,class:"simple-button",onClick:e[0]||(e[0]=(...o)=>n.backButton&&n.backButton(...o))},"↩")):pa("",!0)],8,sF)}const uF=Bo(oF,[["render",lF],["__scopeId","data-v-b6b2daaf"]]),cF=Io({name:"Plotly3Dplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=os(),e=Bc();return{streamlitDataStore:n,selectionStore:e}},data(){return{maximumIntensity:0}},computed:{id(){return`graph-${this.index}`},title(){return this.selectedScanRow===void 0?"":this.selectedMassRow===void 0?"Precursor signals":"Mass signals"},theme(){return this.streamlitDataStore.theme},selectedScanRow(){return this.selectionStore.selectedScanIndex},selectedMassRow(){return this.selectionStore.selectedMassIndex},dataForDrawing(){var r,S;if(this.selectedScanRow===void 0)return[];const n=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanRow]??{};let e={};return this.selectedMassRow===void 0?e=this.getPrecursorSignal(n):e=this.getSignalNoiseObject(((r=n.SignalPeaks)==null?void 0:r[this.selectedMassRow])??[[]],((S=n.NoisyPeaks)==null?void 0:S[this.selectedMassRow])??[[]]),Object.keys(e).length===0?[]:(this.updateMaximumIntensity(e),[{name:"Signal",type:"scatter3d",mode:"lines",x:e.signal_x,y:e.signal_y,z:e.signal_z,line:{color:"#3366CC"}},{name:"Noise",type:"scatter3d",mode:"lines",x:e.noise_x,y:e.noise_y,z:e.noise_z,line:{color:"#DC3912"}}])},layout(){var n,e,r,S;return{title:`${this.title}`,paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(S=this.theme)==null?void 0:S.font},scene:{xaxis:{title:"Mass"},yaxis:{title:"Charge"},zaxis:{title:"Intensity",range:[0,this.maximumIntensity]},camera:{eye:{x:2.5,y:0,z:.2}}},showlegend:!0}}},watch:{selectedScanRow(){this.graph()},selectedMassRow(){this.graph()}},mounted(){this.graph()},methods:{updateMaximumIntensity(n){this.maximumIntensity=n.signal_z.concat(n.noise_z).reduce((e,r)=>Math.max(e,r),-1/0)},async graph(){await Ns.newPlot(this.id,this.dataForDrawing,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Ns.Icons.camera,click:function(n){Ns.downloadImage(n,{filename:"FLASHViewer-3d-plot",height:800,width:800,format:"svg"})}}]})},getPrecursorSignal(n){if(n.PrecursorScan==0)return{};const e=this.streamlitDataStore.allDataForDrawing.per_scan_data.find(D=>D.Scan===n.PrecursorScan);if(!e)return{};const r=e.MonoMass,S=n.PrecursorMass;for(let D=0,x=r.length;DS.field),r=[];return Object.entries(n).forEach(S=>{const D=S[0];if(!e.includes(D)||D==="id")return;S[1].forEach((o,t)=>{r[t]={...r[t],[D]:o}})}),r.map((S,D)=>S.id=D),r},selectedMassFromFragmentTable(){return this.selectionStore.selectedObservedMassFromFragmentTable}},watch:{selectedMassFromFragmentTable(n){const e=this.tableData.findIndex(r=>r.MonoMass===n);e!==-1&&(this.selectedMassIndex=e)}},methods:{updateSelectedMass(n){n!==void 0&&this.selectionStore.updateSelectedMass(n)}}});function mF(n,e,r,S,D,x){const o=Tr("TabulatorTable");return Dr(),Aa(o,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Mass Table",index:n.index,"selected-row-index-from-listening":n.selectedMassIndex,onRowSelected:n.updateSelectedMass},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","onRowSelected"])}const gF=Bo(pF,[["render",mF]]),vF=Io({name:"TabulatorProteinTable",components:{TabulatorTable:Wd},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=os(),e=Bc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Accession",field:"accession"},{title:"Description",field:"description"},{title:"Length",field:"length"}]}},computed:{selectedRow(){return this.selectionStore.selectedProteinIndex},tableData(){const n=this.streamlitDataStore.dataForDrawing.protein_table;return n.forEach(e=>e.id=e.index),n}},methods:{updateSelectedProtein(n){console.log("SelectedProtein!!"),console.log(n),n!==void 0&&(this.selectionStore.updateSelectedProtein(n),this.selectionStore.updateSelectedTag(void 0),this.selectionStore.updateTagData(void 0))}}});function yF(n,e,r,S,D,x){const o=Tr("TabulatorTable");return Dr(),Aa(o,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Protein Table",index:n.index,"selected-row-index-from-listening":n.selectedRow,"default-row":0,onRowSelected:n.updateSelectedProtein},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","onRowSelected"])}const bF=Bo(vF,[["render",yF]]),xF=Io({name:"TabulatorTagTable",components:{TabulatorTable:Wd},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=os(),e=Bc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan Number",field:"Scan"},{title:"Start Position",field:"StartPos"},{title:"End Position",field:"EndPos"},{title:"Sequence",field:"TagSequence"},{title:"Length",field:"Length"},{title:"Score",field:"Score"}],selectedTagIndex:void 0}},computed:{selectedRow(){return this.selectionStore.selectedTagIndex},tableData(){let e=this.streamlitDataStore.dataForDrawing.tag_table.filter(S=>S.ProteinIndex===this.selectionStore.selectedProteinIndex);const r=this.selectionStore.selectedAApos;return r!==void 0&&(e=e.filter(S=>{const D=S.StartPos,x=S.EndPos;return typeof D=="number"&&typeof x=="number"&&D<=r&&x>=r})),e.forEach(S=>S.id=S.TagIndex),e}},watch:{},methods:{getRowByTagIndex(n){return this.tableData.find(S=>S.id===n)},updateSelectedTag(n){if(n===void 0)return;this.selectionStore.updateSelectedTag(n);const e=this.getRowByTagIndex(n);if(e===void 0)return;const r=e.Scan;typeof r=="number"&&this.selectionStore.updateSelectedScan(r);const S=e.mzs;let D=[];typeof S=="string"&&(D=S.split(",").map(Number).filter(M=>M!==0));const x=typeof e.StartPos=="number"?e.StartPos:0,o=typeof e.EndPos=="number"?e.EndPos:0;let t=-1e3;x!==void 0&&this.selectionStore.selectedAApos!==void 0&&typeof x=="number"&&(t=this.selectionStore.selectedAApos-x);const d=e.TagSequence;let v="";typeof d=="string"&&(v=d);let i=!1;e["N mass"]===-1&&(i=!0),this.selectionStore.updateTagData({sequence:v,nTerminal:i,masses:D,selectedAA:t,startPos:x,endPos:o})}}});function _F(n,e,r,S,D,x){const o=Tr("TabulatorTable");return Dr(),Aa(o,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Tag Table",index:n.index,"selected-row-index-from-listening":n.selectedRow,onRowSelected:n.updateSelectedTag,"default-row":1},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","onRowSelected"])}const wF=Bo(xF,[["render",_F]]),lg=h2("variable-mod",{state:()=>({variableMod:{}}),getters:{variableModifications:n=>n.variableMod,isEmpty:n=>Object.values(n.variableMod).filter(e=>e!==void 0&&e!==0).length===0},actions:{updateVariableModifications(n,e){this.variableMod={...this.variableMod,[n]:e}}}}),y_={Acetyl:42.010565,Methyl:14.01565,Phospho:79.966331,Oxidation:15.994915,Deamidated:.984016,Amidated:-.984016},b_={"N-term":["Acetyl","Methyl","Phospho"],"C-term":["Amidated"],C:["Acetyl","Methyl","Phospho"],E:["Methyl","Phospho"],D:["Methyl","Phospho"],H:["Methyl","Phospho"],I:["Methyl"],K:["Methyl","Phospho"],L:["Methyl"],M:["Oxidation"],N:["Methyl"],Q:["Deamidated","Methyl"],R:["Methyl","Phospho"],S:["Acetyl","Methyl","Phospho"],T:["Acetyl","Methyl","Phospho"],Y:["Phospho"]},jM={default:[{typeName:"",typeMass:0}],"water loss":[{typeName:"-H2O",typeMass:-18.0105646863}],"ammonium loss":[{typeName:"-NH3",typeMass:-17.0265491015}],"proton loss/addition":[{typeName:"-H",typeMass:-1.0078250319},{typeName:"+H",typeMass:1.0078250319}]},TF=Io({name:"AminoAcidCell",props:{sequenceObject:{type:Object,required:!0},index:{type:Number,required:!0},fixedModification:{type:Boolean,default:!1}},emits:["selected"],setup(){const n=os(),e=lg();return{streamlitData:n,variableModData:e}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.aminoAcid}${this.index}`},theme(){return this.streamlitData.theme},aminoAcid(){return this.sequenceObject.aminoAcid},modificationsForSelect(){return["None","Custom",...this.potentialModifications]},aminoAcidCellStyles(){var n,e,r,S;return{"--amino-acid-cell-color":((n=this.theme)==null?void 0:n.textColor)??"#fff","--amino-acid-cell-bg-color":((e=this.theme)==null?void 0:e.secondaryBackgroundColor)??"#000","--amino-acid-cell-hover-color":((r=this.theme)==null?void 0:r.textColor)??"#fff","--amino-acid-cell-hover-bg-color":((S=this.theme)==null?void 0:S.backgroundColor)??"#000",position:"relative"}},aminoAcidCellClass(){return{"sequence-amino-acid":!this.fixedModification,"sequence-amino-acid-highlighted":this.fixedModification,"sequence-amino-acid-modified":this.isThisAAmodified}},potentialModifications(){return b_[this.aminoAcid]??[]},isThisAAmodified(){const n=this.variableModData.variableModifications??{};return this.selectedModification!==void 0?!0:n[this.index]!==void 0&&n[this.index]!==0},DoesThisAAHaveMatchingFragments(){return this.sequenceObject.aIon||this.sequenceObject.bIon||this.sequenceObject.cIon||this.sequenceObject.xIon||this.sequenceObject.yIon||this.sequenceObject.zIon},DoesThisAAHaveExtraFragTypes(){return this.sequenceObject.extraTypes.length>0}},methods:{toggleMenuOpen(){this.menuOpen=!this.menuOpen},selectCell(){this.DoesThisAAHaveMatchingFragments&&this.$emit("selected",this.index)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?y_[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}}});const ih=n=>(jd("data-v-313413c5"),n=n(),Ud(),n),kF=["id"],MF={key:0,class:"frag-marker-container-a"},AF=ih(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"green",d:"M7, 1 L9, 3 L9, 7 L9, 3 L7, 1 z","stroke-width":"1.5"})],-1)),SF=[AF],CF={key:1,class:"frag-marker-container-b"},EF=ih(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"blue",d:"M10, 0 V5 M10, 0 H5 z","stroke-width":"3"})],-1)),LF=[EF],IF={key:2,class:"frag-marker-container-c"},OF=ih(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"red",d:"M4, 1 L9, 3 L9, 7 L9, 3 L4, 1 z","stroke-width":"1.5"})],-1)),PF=[OF],DF={key:3,class:"frag-marker-container-x"},RF=ih(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"green",d:"M1, 3 L1, 7 L3, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),zF=[RF],FF={key:4,class:"frag-marker-container-y"},BF=ih(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"blue",d:"M0, 10 V5 M0, 10 H5 z","stroke-width":"3"})],-1)),NF=[BF],VF={key:5,class:"frag-marker-container-z"},jF=ih(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"red",d:"M1, 3 L1, 7 L6, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),UF=[jF],HF={key:6,class:"frag-marker-extra-type"},GF=ih(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("circle",{cx:"5",cy:"5",r:"0.5",stroke:"black","stroke-width":"0.3",fill:"gold"})],-1)),WF=[GF],qF={class:"aa-text"},$F=ih(()=>Nr("br",null,null,-1)),YF=ih(()=>Nr("br",null,null,-1)),ZF={key:0};function XF(n,e,r,S,D,x){const o=Tr("v-select"),t=Tr("v-list-item"),d=Tr("v-text-field"),v=Tr("v-btn"),i=Tr("v-form"),M=Tr("v-list"),g=Tr("v-menu"),p=Tr("v-tooltip");return Dr(),ai("div",{id:n.id,class:vu(["d-flex justify-center align-center rounded-lg",n.aminoAcidCellClass]),style:Bs(n.aminoAcidCellStyles),onClick:e[5]||(e[5]=(...u)=>n.selectCell&&n.selectCell(...u)),onContextmenu:e[6]||(e[6]=Wf((...u)=>n.toggleMenuOpen&&n.toggleMenuOpen(...u),["prevent"]))},[n.sequenceObject.aIon?(Dr(),ai("div",MF,SF)):pa("",!0),n.sequenceObject.bIon?(Dr(),ai("div",CF,LF)):pa("",!0),n.sequenceObject.cIon?(Dr(),ai("div",IF,PF)):pa("",!0),n.sequenceObject.xIon?(Dr(),ai("div",DF,zF)):pa("",!0),n.sequenceObject.yIon?(Dr(),ai("div",FF,NF)):pa("",!0),n.sequenceObject.zIon?(Dr(),ai("div",VF,UF)):pa("",!0),n.DoesThisAAHaveExtraFragTypes?(Dr(),ai("div",HF,WF)):pa("",!0),Nr("div",qF,So(n.aminoAcid),1),dt(g,{modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=u=>n.menuOpen=u),activator:"parent",location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:Yr(()=>[dt(M,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[dt(o,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=u=>n.selectedModification=u),n.updateSelectedModification],clearable:"true",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=u=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Dr(),Aa(t,{key:0},{default:Yr(()=>[dt(i,{onSubmit:e[3]||(e[3]=Wf(()=>{},["prevent"]))},{default:Yr(()=>[dt(d,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=u=>n.customModMass=u),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),dt(v,{type:"submit",block:"true",class:"mt-2",onClick:n.updateCustomModification},{default:Yr(()=>[ki("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):pa("",!0)]),_:1})]),_:1},8,["modelValue"]),dt(p,{activator:"parent"},{default:Yr(()=>{var u;return[ki(So(`Prefix: ${n.index+1}`)+" ",1),$F,ki(" "+So(`Suffix: ${(((u=n.streamlitData.sequenceData)==null?void 0:u[0].sequence.length)??0)-n.index}`)+" ",1),YF,n.DoesThisAAHaveExtraFragTypes?(Dr(),ai("div",ZF,So(n.sequenceObject.extraTypes.join(", ")),1)):pa("",!0)]}),_:1})],46,kF)}const UM=Bo(TF,[["render",XF],["__scopeId","data-v-313413c5"]]),KF=Io({name:"ProteinTerminalCell",props:{proteinTerminal:{type:String,required:!0},index:{type:Number,required:!0}},setup(){const n=os(),e=lg();return{streamlitData:n,variableModData:e}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.proteinTerminal}${this.index}`},theme(){return this.streamlitData.theme},proteinTerminalText(){return this.proteinTerminal.charAt(0)},hasVariableModification(){return this.variableModData.variableModifications[this.index]!==void 0&&this.variableModData.variableModifications[this.index]!==0},modificationsForSelect(){return["None","Custom",...this.potentialModifications]},proteinTerminalCellStyles(){var n,e;return{"--protein-terminal-cell-color":((n=this.theme)==null?void 0:n.textColor)??"#fff","--protein-terminal-cell-hover-color":"#fff","--protein-terminal-cell-hover-bg-color":((e=this.theme)==null?void 0:e.secondaryBackgroundColor)??"#000"}},proteinTerminalCellClasses(){return{"protein-terminal":this.selectedModification===void 0&&!this.hasVariableModification,"protein-terminal-modified":this.selectedModification!==void 0||this.hasVariableModification}},potentialModifications(){return b_[this.proteinTerminal]??[]}},methods:{toggleMenuOpen(){this.menuOpen=!this.menuOpen},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?y_[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}}});function JF(n,e,r,S,D,x){const o=Tr("v-select"),t=Tr("v-list-item"),d=Tr("v-text-field"),v=Tr("v-btn"),i=Tr("v-form"),M=Tr("v-list"),g=Tr("v-menu"),p=Tr("v-tooltip");return Dr(),ai("div",{class:vu(["d-flex justify-center align-center rounded-lg",n.proteinTerminalCellClasses]),style:Bs(n.proteinTerminalCellStyles),onClick:e[5]||(e[5]=Wf(()=>{},["stop"])),onContextmenu:e[6]||(e[6]=Wf((...u)=>n.toggleMenuOpen&&n.toggleMenuOpen(...u),["prevent"]))},[Nr("div",null,So(n.proteinTerminalText),1),dt(g,{activator:"parent",modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=u=>n.menuOpen=u),location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:Yr(()=>[dt(M,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[dt(o,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=u=>n.selectedModification=u),n.updateSelectedModification],clearable:"",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=u=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Dr(),Aa(t,{key:0},{default:Yr(()=>[dt(i,{onSubmit:e[3]||(e[3]=Wf(()=>{},["prevent"]))},{default:Yr(()=>[dt(d,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=u=>n.customModMass=u),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),dt(v,{type:"submit",block:"",class:"mt-2",onClick:n.updateCustomModification},{default:Yr(()=>[ki("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):pa("",!0)]),_:1})]),_:1},8,["modelValue"]),dt(p,{activator:"parent"},{default:Yr(()=>[ki(So(n.proteinTerminalText),1)]),_:1})],38)}const HM=Bo(KF,[["render",JF],["__scopeId","data-v-01ab13cd"]]);var GM={exports:{}};/*! dom-to-image-more 26-04-2023 */(function(n,e){(function(r){const S=function(){let y=0;return{escape:function(A){return A.replace(/([.*+?^${}()|[]\/\\])/g,"\\$1")},isDataUrl:function(A){return A.search(/^(data:)/)!==-1},canvasToBlob:function(A){return A.toBlob?new Promise(function(L){A.toBlob(L)}):function(L){return new Promise(function(b){var O=p(L.toDataURL().split(",")[1]),I=O.length,R=new Uint8Array(I);for(let z=0;zte.style.removeProperty(X)),["left","right","top","bottom"].forEach(X=>{te.style.getPropertyValue(X)&&te.style.setProperty(X,"0px")})))}H(q,N)}function Y(){const W=S.uid();function H(ne){const te=g(q,ne),Z=te.getPropertyValue("content");if(Z!==""&&Z!=="none"){let ie=function(){const oe=`.${W}:`+ne,ue=(te.cssText?ce:ye)();return document.createTextNode(oe+`{${ue}}`);function ce(){return`${te.cssText} content: ${Z};`}function ye(){return S.asArray(te).map(me).join("; ")+";";function me(pe){const xe=te.getPropertyValue(pe),Pe=te.getPropertyPriority(pe)?" !important":"";return pe+": "+xe+Pe}}};var X=ie;const Q=N.getAttribute("class")||"",re=(N.setAttribute("class",Q+" "+W),document.createElement("style"));re.appendChild(ie()),N.appendChild(re)}}[":before",":after"].forEach(function(ne){H(ne)})}function U(){S.isHTMLTextAreaElement(q)&&(N.innerHTML=q.value),S.isHTMLInputElement(q)&&N.setAttribute("value",q.value)}function G(){S.isSVGElement(N)&&(N.setAttribute("xmlns","http://www.w3.org/2000/svg"),S.isSVGRectElement(N))&&["width","height"].forEach(function(W){const H=N.getAttribute(W);H&&N.style.setProperty(W,H)})}}}(E,C,null)}).then(s).then(l).then(function(E){C.bgcolor&&(E.style.backgroundColor=C.bgcolor),C.width&&(E.style.width=C.width+"px"),C.height&&(E.style.height=C.height+"px"),C.style&&Object.keys(C.style).forEach(function(A){E.style[A]=C.style[A]});let T=null;return typeof C.onclone=="function"&&(T=C.onclone(E)),Promise.resolve(T).then(function(){return E})}).then(function(E){let T=C.width||S.width(E),A=C.height||S.height(E);return Promise.resolve(E).then(function(L){return L.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(L)}).then(S.escapeXhtml).then(function(L){var b=(S.isDimensionMissing(T)?' width="100%"':` width="${T}"`)+(S.isDimensionMissing(A)?' height="100%"':` height="${A}"`);return`${L}`}).then(function(L){return"data:image/svg+xml;charset=utf-8,"+L})}).then(function(E){for(;0{f=null,m={}},2e4)}(),E})}function a(y,C){return u(y,C=C||{}).then(S.makeImage).then(function(w){var k=typeof C.scale!="number"?1:C.scale,E=function(A,L){let b=C.width||S.width(A),O=C.height||S.height(A);return S.isDimensionMissing(b)&&(b=S.isDimensionMissing(O)?300:2*O),S.isDimensionMissing(O)&&(O=b/2),A=document.createElement("canvas"),A.width=b*L,A.height=O*L,C.bgcolor&&((L=A.getContext("2d")).fillStyle=C.bgcolor,L.fillRect(0,0,A.width,A.height)),A}(y,k),T=E.getContext("2d");return T.msImageSmoothingEnabled=!1,T.imageSmoothingEnabled=!1,w&&(T.scale(k,k),T.drawImage(w,0,0)),E})}let c=null;function s(y){return x.resolveAll().then(function(C){var w;return C!==""&&(w=document.createElement("style"),y.appendChild(w),w.appendChild(document.createTextNode(C))),y})}function l(y){return t.inlineAll(y).then(function(){return y})}function h(y,C,w,k,E){const T=i.impl.options.copyDefaultStyles?function(L,I){var I=function(z){var F=[];do if(z.nodeType===M){var B=z.tagName;if(F.push(B),_.includes(B))break}while(z=z.parentNode,z);return F}(I),O=function(z){return(L.styleCaching!=="relaxed"?z:z.filter((F,B,N)=>B===0||B===N.length-1)).join(">")}(I);if(m[O])return m[O];var R=function(){if(c)return c.contentWindow;var z=document.characterSet||"UTF-8",F=document.doctype,F=F?(`":"";return(c=document.createElement("iframe")).id="domtoimage-sandbox-"+S.uid(),c.style.visibility="hidden",c.style.position="fixed",document.body.appendChild(c),function(N,q,j,Y){try{return N.contentWindow.document.write(q+`${Y}`),N.contentWindow}catch{}var U=document.createElement("meta");U.setAttribute("charset",j);try{var G=document.implementation.createHTMLDocument(Y),W=(G.head.appendChild(U),q+G.documentElement.outerHTML);return N.setAttribute("srcdoc",W),N.contentWindow}catch{}return N.contentDocument.head.appendChild(U),N.contentDocument.title=Y,N.contentWindow}(c,F,z,"domtoimage-sandbox");function B(N){var q;return N?((q=document.createElement("div")).innerText=N,q.innerHTML):""}}(),I=function(z,F){let B=z.body;do{var N=F.pop(),N=z.createElement(N);B.appendChild(N),B=N}while(0{const r=this.$refs.downloadLink;r.download="FLASHViewer-sequence.svg",r.href=e,r.click()}).finally(()=>{this.svgDownloadTriggered=!1})}}}),nB={ref:"downloadLink",style:{visibility:"hidden"}};function rB(n,e,r,S,D,x){const o=Tr("v-btn"),t=Tr("v-tooltip"),d=Tr("v-progress-linear"),v=Tr("v-card-text"),i=Tr("v-card"),M=Tr("v-dialog");return Dr(),ai(Xr,null,[dt(o,{id:"download-button",variant:"text",size:"large",icon:"mdi-download",onClick:n.triggerDownload},null,8,["onClick"]),dt(t,{text:"Save as SVG",location:"bottom",activator:"#download-button"}),Nr("a",nB,null,512),dt(M,{modelValue:n.svgDownloadTriggered,"onUpdate:modelValue":e[0]||(e[0]=g=>n.svgDownloadTriggered=g),persistent:"",width:"auto"},{default:Yr(()=>[dt(i,{color:"primary"},{default:Yr(()=>[dt(v,null,{default:Yr(()=>[ki(" Please stand by "),dt(d,{indeterminate:"",color:"white",class:"mb-0"})]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const WM=Bo(tB,[["render",rB]]),iB=Io({name:"SequenceViewInformation",components:{AminoAcidCell:UM},setup(){return{streamlitDataStore:os()}},data(){return{dialog:!1,aIon:!0,bIon:!1,cIon:!1,xIon:!0,yIon:!0,zIon:!1,fixed_mod:!1,variable_mod:!1,originalAAClasses:void 0,waterLoss:!1,ammoniumLoss:!1,proton:!1}},computed:{theme(){return this.streamlitDataStore.theme},aaSequenceObject(){return{aminoAcid:"AA",aIon:this.aIon,bIon:this.bIon,cIon:this.cIon,xIon:this.xIon,yIon:this.yIon,zIon:this.zIon,extraTypes:this.extraFragTypes()}}},methods:{setAAWithVarMod(){var e;this.originalAAClasses===void 0&&(this.originalAAClasses=((e=document.getElementById("AA0"))==null?void 0:e.getAttribute("class"))??"");const n=document.getElementById("AA0");if(n){let r=this.originalAAClasses;this.fixed_mod&&(r="sequence-amino-acid-highlighted "+r),this.variable_mod&&(r="sequence-amino-acid-modified "+r),n.setAttribute("class",r)}},extraFragTypes(){let n="";if(this.aIon)n="a";else if(this.bIon)n="b";else if(this.cIon)n="c";else if(this.xIon)n="x";else if(this.yIon)n="y";else if(this.zIon)n="z";else return[];let e=[];return this.waterLoss&&e.push(`${n}-H20`),this.ammoniumLoss&&e.push(`${n}-NH3`),this.proton&&(e.push(`${n}-H`),e.push(`${n}+H`)),e}}});const qM=n=>(jd("data-v-4ba716b9"),n=n(),Ud(),n),aB=qM(()=>Nr("div",{class:"text-h6 d-flex justify-center"},"Legend for Sequence Map",-1)),oB={class:"d-flex justify-center"},sB={class:"sequence-grid pa-6",style:{width:"150px","max-width":"100%"}},lB={class:"d-flex"},uB={class:"d-flex"},cB=qM(()=>Nr("div",{class:"text-subtitle-2 d-flex justify-end align-end"}," * Click checkboxes to see the styles ",-1));function fB(n,e,r,S,D,x){var h;const o=Tr("v-btn"),t=Tr("v-card-title"),d=Tr("v-divider"),v=Tr("AminoAcidCell"),i=Tr("v-checkbox"),M=Tr("v-row"),g=Tr("v-list-item-title"),p=Tr("v-list-item"),u=Tr("v-list"),a=Tr("v-card-text"),c=Tr("v-card-actions"),s=Tr("v-card"),l=Tr("v-dialog");return Dr(),ai(Xr,null,[dt(o,{id:"info-button",variant:"text",size:"large",icon:"mdi-information"}),dt(l,{modelValue:n.dialog,"onUpdate:modelValue":e[13]||(e[13]=f=>n.dialog=f),activator:"#info-button",width:"auto",theme:((h=n.theme)==null?void 0:h.base)??"light"},{default:Yr(()=>[dt(s,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[ki("Sequence View legend")]),_:1}),dt(d),dt(a,null,{default:Yr(()=>[aB,Nr("div",oB,[Nr("div",sB,[dt(v,{index:0,"sequence-object":n.aaSequenceObject,onSelected:e[0]||(e[0]=Wf(()=>{},["stop"]))},null,8,["sequence-object"])])]),ki(" Fragment ion types "),dt(M,null,{default:Yr(()=>[Nr("div",lB,[dt(i,{modelValue:n.aIon,"onUpdate:modelValue":e[1]||(e[1]=f=>n.aIon=f),label:"a"},null,8,["modelValue"]),dt(i,{modelValue:n.bIon,"onUpdate:modelValue":e[2]||(e[2]=f=>n.bIon=f),label:"b"},null,8,["modelValue"]),dt(i,{modelValue:n.cIon,"onUpdate:modelValue":e[3]||(e[3]=f=>n.cIon=f),label:"c"},null,8,["modelValue"]),dt(i,{modelValue:n.xIon,"onUpdate:modelValue":e[4]||(e[4]=f=>n.xIon=f),label:"x"},null,8,["modelValue"]),dt(i,{modelValue:n.yIon,"onUpdate:modelValue":e[5]||(e[5]=f=>n.yIon=f),label:"y"},null,8,["modelValue"]),dt(i,{modelValue:n.zIon,"onUpdate:modelValue":e[6]||(e[6]=f=>n.zIon=f),label:"z"},null,8,["modelValue"]),dt(i,{modelValue:n.waterLoss,"onUpdate:modelValue":e[7]||(e[7]=f=>n.waterLoss=f),label:"water loss"},null,8,["modelValue"]),dt(i,{modelValue:n.ammoniumLoss,"onUpdate:modelValue":e[8]||(e[8]=f=>n.ammoniumLoss=f),label:"ammonium loss"},null,8,["modelValue"]),dt(i,{modelValue:n.proton,"onUpdate:modelValue":e[9]||(e[9]=f=>n.proton=f),label:"proton loss/addition"},null,8,["modelValue"])])]),_:1}),ki(" Modifications "),Nr("div",uB,[dt(i,{modelValue:n.fixed_mod,"onUpdate:modelValue":[e[10]||(e[10]=f=>n.fixed_mod=f),n.setAAWithVarMod],label:"Fixed modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),dt(i,{modelValue:n.variable_mod,"onUpdate:modelValue":[e[11]||(e[11]=f=>n.variable_mod=f),n.setAAWithVarMod],label:"Variable modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),cB]),dt(u,{density:"compact"},{default:Yr(()=>[dt(g,null,{default:Yr(()=>[ki("Interaction tips")]),_:1}),dt(p,null,{default:Yr(()=>[ki("Left click: highlights corresponding entries in Fragment Table and Mass Table")]),_:1}),dt(p,null,{default:Yr(()=>[ki("Right click: opens variable modification menu (custom modification is available)")]),_:1})]),_:1})]),_:1}),dt(c,null,{default:Yr(()=>[dt(o,{color:"primary",block:"true",onClick:e[12]||(e[12]=f=>n.dialog=!1)},{default:Yr(()=>[ki("Close")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","theme"])],64)}const hB=Bo(iB,[["render",fB],["__scopeId","data-v-4ba716b9"]]),dB=Io({name:"SequenceView",components:{SequenceViewInformation:hB,TabulatorTable:Wd,AminoAcidCell:UM,ProteinTerminalCell:HM,SvgScreenshot:WM},props:{index:{type:Number,required:!0}},setup(){const n=os(),e=Bc(),r=lg();return{streamlitDataStore:n,selectionStore:e,variableModData:r}},data(){return{rowWidth:35,precursorData:[],ionTypes:[{text:"a",selected:!1},{text:"b",selected:!0},{text:"c",selected:!1},{text:"x",selected:!1},{text:"y",selected:!0},{text:"z",selected:!1}],ionTypesExtra:{"water loss":!0,"ammonium loss":!0,"proton loss/addition":!0},fragmentMassTolerance:10,fragmentTableColumnDefinitions:[{title:"Name",field:"Name"},{title:"Ion type",field:"IonType"},{title:"Ion number",field:"IonNumber"},{title:"Theoretical mass",field:"TheoreticalMass"},{title:"Observed mass",field:"ObservedMass",formatter:Uf()},{title:"Mass difference (Da)",field:"MassDiffDa"},{title:"Mass difference (ppm)",field:"MassDiffPpm"}],fragmentTableData:[],fragmentTableTitle:"",residueCleavagePercentage:0,sequenceObjects:[],selectedFragTableRowIndex:void 0}},computed:{theme(){return this.streamlitDataStore.theme},sequence(){var n;return((n=this.streamlitDataStore.sequenceData)==null?void 0:n[0].sequence)??[]},theoreticalMass(){var n;return((n=this.streamlitDataStore.sequenceData)==null?void 0:n[0].theoretical_mass)??0},fixedModificationSites(){var n;return((n=this.streamlitDataStore.sequenceData)==null?void 0:n[0].fixed_modifications)??[]},variableModifications(){return this.variableModData.variableModifications??{}},tickLabels(){return{20:"20",25:"25",30:"30",35:"35",40:"40"}},gridClasses(){return{"sequence-grid":!0,[`grid-width-${this.rowWidth}`]:!0}},proteinTerminalCellStyles(){var n;return{"--amino-acid-cell-hover-color":"#fff","--amino-acid-cell-hover-bg-color":((n=this.theme)==null?void 0:n.secondaryBackgroundColor)??"#000"}},selectedScanIndex(){return this.selectionStore.selectedScanIndex},calculateCleavagePercentage(){let n=0;for(let e=0,r=this.sequenceObjects.length-1;e{r+=D}));const S=Math.abs(r-e);this.precursorData=[`Theoretical mass: ${r.toFixed(2)}`,`Observed mass :${e.toFixed(2)}`,`Δ Mass (Da) :${S.toFixed(2)}`]},prepareFragmentTable(){if(this.selectedScanIndex==null){this.fragmentTableTitle="";return}const n=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex];if(n.PrecursorMass===0){this.fragmentTableTitle="";return}const r=n.MonoMass;let S=[];const D=this.sequence.length-1;this.ionTypes.filter(x=>x.selected).forEach(x=>{const o=this.getFragmentMasses(x.text);for(let t=0,d=o.length;t{parseInt(M)<=t&&(v+=g)}),(x.text==="x"||x.text==="y"||x.text==="z")&&Object.entries(this.variableModifications).forEach(([M,g])=>{D-parseInt(M)<=t&&(v+=g)}));const i=Object.entries(jM).filter(([M])=>this.ionTypesExtra[M]||M==="default").map(([M,g])=>g).flat();for(let M=0,g=r.length;M{const a=v+u,c=r[M]-a,s=c/a*1e6;if(Math.abs(s)>this.fragmentMassTolerance)return;const l={Name:`${x.text}${t+1}`,IonType:`${x.text}${p}`,IonNumber:t+1,TheoreticalMass:a.toFixed(3),ObservedMass:r[M],MassDiffDa:c.toFixed(3),MassDiffPpm:s.toFixed(3)};S.push(l);let h=t;(x.text==="a"||x.text==="b"||x.text==="c")&&(this.sequenceObjects[h][`${x.text}Ion`]=!0),(x.text==="x"||x.text==="y"||x.text==="z")&&(this.sequenceObjects[D-t][`${x.text}Ion`]=!0,h=D-t),p&&this.sequenceObjects[h].extraTypes.push(`${x.text}${p}`)})}}),this.residueCleavagePercentage=this.calculateCleavagePercentage,this.fragmentTableData=S,this.fragmentTableTitle=`Matching fragments (# ${S.length})`},fixedModification(n){return this.fixedModificationSites.includes(n)},initializeSequenceObjects(){this.sequenceObjects=[],this.sequence.forEach(n=>{this.sequenceObjects.push({aminoAcid:n,aIon:!1,bIon:!1,cIon:!1,xIon:!1,yIon:!1,zIon:!1,extraTypes:[]})})},aminoAcidSelected(n){let e="";const r=this.sequenceObjects[n];r.aIon?e=`a${n+1}`:r.bIon?e=`b${n+1}`:r.cIon?e=`c${n+1}`:r.xIon?e=`x${this.sequence.length-n}`:r.yIon?e=`y${this.sequence.length-n}`:e=`z${this.sequence.length-n}`,this.selectedFragTableRowIndex=this.fragmentTableData.findIndex(S=>S.Name===e),this.selectionStore.selectedAminoAcid(this.fragmentTableData[this.selectedFragTableRowIndex].ObservedMass)}}});const $M=n=>(jd("data-v-5ba5c0dd"),n=n(),Ud(),n),pB=$M(()=>Nr("div",{class:"d-flex justify-center"},[Nr("h4",null,"Sequence View")],-1)),mB={id:"sequence-part"},gB={class:"d-flex justify-space-evenly"},vB=$M(()=>Nr("h3",null,"Precursor",-1)),yB={class:"d-flex justify-end px-4 mb-4"},bB={class:"d-flex justify-space-evenly"},xB={class:"d-flex justify-space-evenly"},_B={key:0,class:"d-flex justify-center align-center"},wB={key:2,class:"d-flex justify-center align-center"},TB={id:"sequence-view-table"};function kB(n,e,r,S,D,x){var _;const o=Tr("v-divider"),t=Tr("SvgScreenshot"),d=Tr("SequenceViewInformation"),v=Tr("v-btn"),i=Tr("v-list-item-title"),M=Tr("v-slider"),g=Tr("v-list-item"),p=Tr("v-checkbox"),u=Tr("v-text-field"),a=Tr("v-list"),c=Tr("v-card"),s=Tr("v-menu"),l=Tr("ProteinTerminalCell"),h=Tr("AminoAcidCell"),f=Tr("TabulatorTable"),m=Tr("v-sheet");return Dr(),ai(Xr,null,[pB,dt(m,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((_=n.theme)==null?void 0:_.base)??"light",border:""},{default:Yr(()=>[Nr("div",mB,[Nr("div",gB,[n.precursorData.length!=0?(Dr(),ai(Xr,{key:0},[vB,dt(o,{vertical:!0}),(Dr(!0),ai(Xr,null,_l(n.precursorData,(y,C)=>(Dr(),ai(Xr,{key:C},[ki(So(y)+" ",1),dt(o,{vertical:!0})],64))),128))],64)):pa("",!0)]),Nr("div",yB,[Nr("div",null,[dt(t,{"element-id":"sequence-part"}),dt(d),dt(v,{id:"settings-button",variant:"text",icon:"mdi-cog",size:"large"}),dt(s,{"close-on-content-click":!1,activator:"#settings-button",location:"bottom"},{default:Yr(()=>[dt(c,{"min-width":"300"},{default:Yr(()=>[dt(a,null,{default:Yr(()=>[dt(g,null,{default:Yr(()=>[dt(i,null,{default:Yr(()=>[ki("# amino acids per row")]),_:1}),dt(M,{modelValue:n.rowWidth,"onUpdate:modelValue":e[0]||(e[0]=y=>n.rowWidth=y),ticks:n.tickLabels,min:20,max:40,step:"5","show-ticks":"always","tick-size":"4"},null,8,["modelValue","ticks"])]),_:1}),dt(g,null,{default:Yr(()=>[dt(i,null,{default:Yr(()=>[ki("Fragment ion types")]),_:1}),Nr("div",bB,[(Dr(!0),ai(Xr,null,_l(n.ionTypes,(y,C)=>(Dr(),Aa(p,{key:y.text,modelValue:y.selected,"onUpdate:modelValue":w=>y.selected=w,"hide-details":"",density:"comfortable",label:y.text,onClick:w=>n.toggleIonTypeSelected(C)},null,8,["modelValue","onUpdate:modelValue","label","onClick"]))),128))]),Nr("div",xB,[(Dr(!0),ai(Xr,null,_l(Object.keys(n.ionTypesExtra),y=>(Dr(),Aa(p,{key:y,modelValue:n.ionTypesExtra[y],"onUpdate:modelValue":C=>n.ionTypesExtra[y]=C,"hide-details":"",density:"comfortable",label:y},null,8,["modelValue","onUpdate:modelValue","label"]))),128))])]),_:1}),dt(g,null,{default:Yr(()=>[dt(i,null,{default:Yr(()=>[ki("Fragment mass tolerance")]),_:1}),dt(u,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[1]||(e[1]=y=>n.fragmentMassTolerance=y),type:"number","hide-details":"auto",label:"mass tolerance in ppm",onChange:n.updateMassTolerance},null,8,["modelValue","onChange"])]),_:1})]),_:1})]),_:1})]),_:1})])]),Nr("div",{class:vu(["pb-4 px-2",n.gridClasses]),style:{width:"100%","max-width":"100%"}},[(Dr(!0),ai(Xr,null,_l(n.sequenceObjects,(y,C)=>(Dr(),ai(Xr,{key:C},[C!==0&&C%n.rowWidth===0?(Dr(),ai("div",_B,So(C+1),1)):pa("",!0),C===0?(Dr(),Aa(l,{key:1,"protein-terminal":"N-term",index:-1})):pa("",!0),dt(h,{index:C,"sequence-object":y,"fixed-modification":n.fixedModification(y.aminoAcid),onSelected:n.aminoAcidSelected},null,8,["index","sequence-object","fixed-modification","onSelected"]),C%n.rowWidth===n.rowWidth-1&&C!==n.sequence.length-1?(Dr(),ai("div",wB,So(C+1),1)):pa("",!0),C===n.sequence.length-1?(Dr(),Aa(l,{key:3,"protein-terminal":"C-term",index:n.sequence.length},null,8,["index"])):pa("",!0)],64))),128))],2)]),Nr("div",TB,[n.fragmentTableTitle!==""?(Dr(),Aa(f,{key:0,"table-data":n.fragmentTableData,"column-definitions":n.fragmentTableColumnDefinitions,index:n.index,"selected-row-index-from-listening":n.selectedFragTableRowIndex,"table-layout-param":"fitColumns"},{default:Yr(()=>[ki(So(n.fragmentTableTitle),1)]),"end-title-row":Yr(()=>[ki("% Residue cleavage: "+So(n.residueCleavagePercentage.toFixed(3))+"%",1)]),_:1},8,["table-data","column-definitions","index","selected-row-index-from-listening"])):pa("",!0)])]),_:1},8,["theme"])],64)}const MB=Bo(dB,[["render",kB],["__scopeId","data-v-5ba5c0dd"]]),AB=Io({name:"AminoAcidCellTagger",props:{sequenceObject:{type:Object,required:!0},index:{type:Number,required:!0},fixedModification:{type:Boolean,default:!1}},emits:["selected"],setup(){const n=os(),e=lg(),r=Bc();return{streamlitData:n,variableModData:e,selectionStore:r}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.aminoAcid}${this.index}`},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:1},theme(){return this.streamlitData.theme},aminoAcid(){return this.sequenceObject.aminoAcid},coverage(){return this.sequenceObject.coverage},modificationsForSelect(){return["None","Custom",...this.potentialModifications]},aminoAcidCellStyles(){var e,r,S;let n=typeof this.sequenceObject.coverage=="number"?this.sequenceObject.coverage:.9;return n!==0&&(n=n*.9+.1),{"--amino-acid-cell-color":((e=this.theme)==null?void 0:e.textColor)??"#fff","--amino-acid-cell-bg-color":`rgba(228, 87, 46, ${n})`,"--amino-acid-cell-hover-color":((r=this.theme)==null?void 0:r.textColor)??"#fff","--amino-acid-cell-hover-bg-color":((S=this.theme)==null?void 0:S.backgroundColor)??"#000",position:"relative"}},aminoAcidCellClass(){return{"sequence-amino-acid":!this.fixedModification,"sequence-amino-acid-highlighted":this.fixedModification,"sequence-amino-acid-modified":this.isThisAAmodified}},potentialModifications(){return b_[this.aminoAcid]??[]},isThisAAmodified(){const n=this.variableModData.variableModifications??{};return this.selectedModification!==void 0?!0:n[this.index]!==void 0&&n[this.index]!==0},DoesThisAAHaveMatchingFragments(){return this.sequenceObject.aIon||this.sequenceObject.bIon||this.sequenceObject.cIon||this.sequenceObject.xIon||this.sequenceObject.yIon||this.sequenceObject.zIon},DoesThisAAHaveSequenceTags(){return this.coverage>0},DoesThisAAHaveExtraFragTypes(){return this.sequenceObject.extraTypes.length>0},isHighlighted(){return this.index===this.selectionStore.selectedAApos}},methods:{toggleMenuOpen(){this.menuOpen=!this.menuOpen},selectCell(){this.DoesThisAAHaveSequenceTags&&(this.selectionStore.selectedAApos===this.index?this.selectionStore.updateSelectedAA(void 0):this.selectionStore.updateSelectedAA(this.index))},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?y_[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}}});const ah=n=>(jd("data-v-953b463c"),n=n(),Ud(),n),SB=["id"],CB={key:0,class:"frag-marker-container-a"},EB=ah(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"green",d:"M7, 1 L9, 3 L9, 7 L9, 3 L7, 1 z","stroke-width":"1.5"})],-1)),LB=[EB],IB={key:1,class:"frag-marker-container-b"},OB=ah(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"#669BBC",d:"M10, 0 V5 M10, 0 H5 z","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),PB=[OB],DB={key:2,class:"frag-marker-container-c"},RB=ah(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"red",d:"M4, 1 L9, 3 L9, 7 L9, 3 L4, 1 z","stroke-width":"1.5"})],-1)),zB=[RB],FB={key:3,class:"frag-marker-container-x"},BB=ah(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"green",d:"M1, 3 L1, 7 L3, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),NB=[BB],VB={key:4,class:"frag-marker-container-y"},jB=ah(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"#669BBC",d:"M0, 10 V5 M0, 10 H5 z","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),UB=[jB],HB={key:5,class:"frag-marker-container-z"},GB=ah(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("path",{stroke:"red",d:"M1, 3 L1, 7 L6, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),WB=[GB],qB={key:6,class:"frag-marker-extra-type"},$B=ah(()=>Nr("svg",{viewBox:"0 0 10 10"},[Nr("circle",{cx:"5",cy:"5",r:"0.5",stroke:"black","stroke-width":"0.3",fill:"gold"})],-1)),YB=[$B],ZB={class:"aa-text"},XB=ah(()=>Nr("br",null,null,-1)),KB=ah(()=>Nr("br",null,null,-1)),JB={key:0};function QB(n,e,r,S,D,x){const o=Tr("v-select"),t=Tr("v-list-item"),d=Tr("v-text-field"),v=Tr("v-btn"),i=Tr("v-form"),M=Tr("v-list"),g=Tr("v-menu"),p=Tr("v-tooltip");return Dr(),ai("div",{id:n.id,class:vu(["d-flex justify-center align-center rounded-lg",[n.aminoAcidCellClass,{highlighted:n.isHighlighted}]]),style:Bs(n.aminoAcidCellStyles),onClick:e[5]||(e[5]=(...u)=>n.selectCell&&n.selectCell(...u)),onContextmenu:e[6]||(e[6]=Wf((...u)=>n.toggleMenuOpen&&n.toggleMenuOpen(...u),["prevent"]))},[n.sequenceObject.aIon?(Dr(),ai("div",CB,LB)):pa("",!0),n.sequenceObject.bIon?(Dr(),ai("div",IB,PB)):pa("",!0),n.sequenceObject.cIon?(Dr(),ai("div",DB,zB)):pa("",!0),n.sequenceObject.xIon?(Dr(),ai("div",FB,NB)):pa("",!0),n.sequenceObject.yIon?(Dr(),ai("div",VB,UB)):pa("",!0),n.sequenceObject.zIon?(Dr(),ai("div",HB,WB)):pa("",!0),n.DoesThisAAHaveExtraFragTypes?(Dr(),ai("div",qB,YB)):pa("",!0),Nr("div",ZB,So(n.aminoAcid),1),dt(g,{modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=u=>n.menuOpen=u),activator:"parent",location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:Yr(()=>[dt(M,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[dt(o,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=u=>n.selectedModification=u),n.updateSelectedModification],clearable:"true",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=u=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Dr(),Aa(t,{key:0},{default:Yr(()=>[dt(i,{onSubmit:e[3]||(e[3]=Wf(()=>{},["prevent"]))},{default:Yr(()=>[dt(d,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=u=>n.customModMass=u),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),dt(v,{type:"submit",block:"true",class:"mt-2",onClick:n.updateCustomModification},{default:Yr(()=>[ki("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):pa("",!0)]),_:1})]),_:1},8,["modelValue"]),dt(p,{activator:"parent"},{default:Yr(()=>{var u;return[ki(So(`Prefix: ${n.index+1}`)+" ",1),XB,ki(" "+So(`Suffix: ${(((u=n.streamlitData.sequenceData)==null?void 0:u[n.selectedSequence].sequence.length)??0)-n.index}`)+" ",1),KB,n.DoesThisAAHaveExtraFragTypes?(Dr(),ai("div",JB,So(n.sequenceObject.extraTypes.join(", ")),1)):pa("",!0)]}),_:1})],46,SB)}const YM=Bo(AB,[["render",QB],["__scopeId","data-v-953b463c"]]),eN=Io({name:"SequenceViewInformationTagger",components:{AminoAcidCellTagger:YM},setup(){return{streamlitDataStore:os()}},data(){return{dialog:!1,aIon:!0,bIon:!1,cIon:!1,xIon:!0,yIon:!0,zIon:!1,fixed_mod:!1,variable_mod:!1,originalAAClasses:void 0,waterLoss:!1,ammoniumLoss:!1,proton:!1}},computed:{theme(){return this.streamlitDataStore.theme},aaSequenceObject(){return{aminoAcid:"AA",aIon:this.aIon,bIon:this.bIon,cIon:this.cIon,xIon:this.xIon,yIon:this.yIon,zIon:this.zIon,extraTypes:this.extraFragTypes(),coverage:0}}},methods:{setAAWithVarMod(){var e;this.originalAAClasses===void 0&&(this.originalAAClasses=((e=document.getElementById("AA0"))==null?void 0:e.getAttribute("class"))??"");const n=document.getElementById("AA0");if(n){let r=this.originalAAClasses;this.fixed_mod&&(r="sequence-amino-acid-highlighted "+r),this.variable_mod&&(r="sequence-amino-acid-modified "+r),n.setAttribute("class",r)}},extraFragTypes(){let n="";if(this.aIon)n="a";else if(this.bIon)n="b";else if(this.cIon)n="c";else if(this.xIon)n="x";else if(this.yIon)n="y";else if(this.zIon)n="z";else return[];let e=[];return this.waterLoss&&e.push(`${n}-H20`),this.ammoniumLoss&&e.push(`${n}-NH3`),this.proton&&(e.push(`${n}-H`),e.push(`${n}+H`)),e}}});const ZM=n=>(jd("data-v-d77bc8b6"),n=n(),Ud(),n),tN=ZM(()=>Nr("div",{class:"text-h6 d-flex justify-center"},"Legend for Sequence Map",-1)),nN={class:"d-flex justify-center"},rN={class:"sequence-grid pa-6",style:{width:"150px","max-width":"100%"}},iN={class:"d-flex"},aN={class:"d-flex"},oN=ZM(()=>Nr("div",{class:"text-subtitle-2 d-flex justify-end align-end"}," * Click checkboxes to see the styles ",-1));function sN(n,e,r,S,D,x){var h;const o=Tr("v-btn"),t=Tr("v-card-title"),d=Tr("v-divider"),v=Tr("AminoAcidCellTagger"),i=Tr("v-checkbox"),M=Tr("v-row"),g=Tr("v-list-item-title"),p=Tr("v-list-item"),u=Tr("v-list"),a=Tr("v-card-text"),c=Tr("v-card-actions"),s=Tr("v-card"),l=Tr("v-dialog");return Dr(),ai(Xr,null,[dt(o,{id:"info-button",variant:"text",size:"large",icon:"mdi-information"}),dt(l,{modelValue:n.dialog,"onUpdate:modelValue":e[13]||(e[13]=f=>n.dialog=f),activator:"#info-button",width:"auto",theme:((h=n.theme)==null?void 0:h.base)??"light"},{default:Yr(()=>[dt(s,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[ki("Sequence View legend")]),_:1}),dt(d),dt(a,null,{default:Yr(()=>[tN,Nr("div",nN,[Nr("div",rN,[dt(v,{index:0,"sequence-object":n.aaSequenceObject,onSelected:e[0]||(e[0]=Wf(()=>{},["stop"]))},null,8,["sequence-object"])])]),ki(" Fragment ion types "),dt(M,null,{default:Yr(()=>[Nr("div",iN,[dt(i,{modelValue:n.aIon,"onUpdate:modelValue":e[1]||(e[1]=f=>n.aIon=f),label:"a"},null,8,["modelValue"]),dt(i,{modelValue:n.bIon,"onUpdate:modelValue":e[2]||(e[2]=f=>n.bIon=f),label:"b"},null,8,["modelValue"]),dt(i,{modelValue:n.cIon,"onUpdate:modelValue":e[3]||(e[3]=f=>n.cIon=f),label:"c"},null,8,["modelValue"]),dt(i,{modelValue:n.xIon,"onUpdate:modelValue":e[4]||(e[4]=f=>n.xIon=f),label:"x"},null,8,["modelValue"]),dt(i,{modelValue:n.yIon,"onUpdate:modelValue":e[5]||(e[5]=f=>n.yIon=f),label:"y"},null,8,["modelValue"]),dt(i,{modelValue:n.zIon,"onUpdate:modelValue":e[6]||(e[6]=f=>n.zIon=f),label:"z"},null,8,["modelValue"]),dt(i,{modelValue:n.waterLoss,"onUpdate:modelValue":e[7]||(e[7]=f=>n.waterLoss=f),label:"water loss"},null,8,["modelValue"]),dt(i,{modelValue:n.ammoniumLoss,"onUpdate:modelValue":e[8]||(e[8]=f=>n.ammoniumLoss=f),label:"ammonium loss"},null,8,["modelValue"]),dt(i,{modelValue:n.proton,"onUpdate:modelValue":e[9]||(e[9]=f=>n.proton=f),label:"proton loss/addition"},null,8,["modelValue"])])]),_:1}),ki(" Modifications "),Nr("div",aN,[dt(i,{modelValue:n.fixed_mod,"onUpdate:modelValue":[e[10]||(e[10]=f=>n.fixed_mod=f),n.setAAWithVarMod],label:"Fixed modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),dt(i,{modelValue:n.variable_mod,"onUpdate:modelValue":[e[11]||(e[11]=f=>n.variable_mod=f),n.setAAWithVarMod],label:"Variable modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),oN]),dt(u,{density:"compact"},{default:Yr(()=>[dt(g,null,{default:Yr(()=>[ki("Interaction tips")]),_:1}),dt(p,null,{default:Yr(()=>[ki("Left click: highlights corresponding entries in Fragment Table and Mass Table")]),_:1}),dt(p,null,{default:Yr(()=>[ki("Right click: opens variable modification menu (custom modification is available)")]),_:1})]),_:1})]),_:1}),dt(c,null,{default:Yr(()=>[dt(o,{color:"primary",block:"true",onClick:e[12]||(e[12]=f=>n.dialog=!1)},{default:Yr(()=>[ki("Close")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","theme"])],64)}const lN=Bo(eN,[["render",sN],["__scopeId","data-v-d77bc8b6"]]),uN=Io({name:"SequenceViewTagger",components:{SequenceViewInformationTagger:lN,TabulatorTable:Wd,AminoAcidCellTagger:YM,ProteinTerminalCell:HM,SvgScreenshot:WM},props:{index:{type:Number,required:!0}},setup(){const n=os(),e=Bc(),r=lg();return{streamlitDataStore:n,selectionStore:e,variableModData:r}},data(){return{rowWidth:35,precursorData:[],ionTypes:[{text:"a",selected:!1},{text:"b",selected:!0},{text:"c",selected:!1},{text:"x",selected:!1},{text:"y",selected:!0},{text:"z",selected:!1}],ionTypesExtra:{"water loss":!0,"ammonium loss":!0,"proton loss/addition":!0},fragmentMassTolerance:10,fragmentTableColumnDefinitions:[{title:"Name",field:"Name"},{title:"Ion type",field:"IonType"},{title:"Ion number",field:"IonNumber"},{title:"Theoretical mass",field:"TheoreticalMass"},{title:"Observed mass",field:"ObservedMass",formatter:Uf()},{title:"Mass difference (Da)",field:"MassDiffDa"},{title:"Mass difference (ppm)",field:"MassDiffPpm"}],fragmentTableData:[],fragmentTableTitle:"",residueCleavagePercentage:0,sequenceObjects:[],selectedFragTableRowIndex:void 0}},computed:{theme(){return this.streamlitDataStore.theme},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;if(typeof n=="number")return n},selectedTag(){return this.selectionStore.selectedTag},sequence(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.sequence)??[]:[]},coverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.coverage)??[]:[]},maxCoverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.maxCoverage)??-1:-1},theoreticalMass(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.theoretical_mass)??0:0},fixedModificationSites(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.fixed_modifications)??[]:[]},variableModifications(){return this.variableModData.variableModifications??{}},tickLabels(){return{20:"20",25:"25",30:"30",35:"35",40:"40"}},gridClasses(){return{"sequence-grid":!0,[`grid-width-${this.rowWidth}`]:!0}},proteinTerminalCellStyles(){var n;return{"--amino-acid-cell-hover-color":"#fff","--amino-acid-cell-hover-bg-color":((n=this.theme)==null?void 0:n.secondaryBackgroundColor)??"#000"}},selectedScanIndex(){return this.selectionStore.selectedScanIndex},calculateCleavagePercentage(){let n=0;for(let e=0,r=this.sequenceObjects.length-1;e{}))},prepareFragmentTable(){if(this.selectedScanIndex==null){this.fragmentTableTitle="";return}const n=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex];if(n.PrecursorMass===0){this.fragmentTableTitle="";return}const r=n.MonoMass;let S=[];const D=this.sequence.length-1;this.ionTypes.filter(x=>x.selected).forEach(x=>{const o=`fragment_masses_${x.text}`;let t=[];typeof this.streamlitDataStore.sequenceData<"u"&&(t=this.streamlitDataStore.sequenceData[o]);for(let d=0,v=t.length;d{parseInt(g)<=d&&(i+=p)}),(x.text==="x"||x.text==="y"||x.text==="z")&&Object.entries(this.variableModifications).forEach(([g,p])=>{D-parseInt(g)<=d&&(i+=p)}));const M=Object.entries(jM).filter(([g])=>this.ionTypesExtra[g]||g==="default").map(([g,p])=>p).flat();for(let g=0,p=r.length;g{const c=i+a,s=r[g]-c,l=s/c*1e6;if(Math.abs(l)>this.fragmentMassTolerance)return;const h={Name:`${x.text}${d+1}`,IonType:`${x.text}${u}`,IonNumber:d+1,TheoreticalMass:c.toFixed(3),ObservedMass:r[g],MassDiffDa:s.toFixed(3),MassDiffPpm:l.toFixed(3)};S.push(h);let f=d;(x.text==="a"||x.text==="b"||x.text==="c")&&(this.sequenceObjects[f][`${x.text}Ion`]=!0),(x.text==="x"||x.text==="y"||x.text==="z")&&(this.sequenceObjects[D-d][`${x.text}Ion`]=!0,f=D-d),u&&this.sequenceObjects[f].extraTypes.push(`${x.text}${u}`)})}}),this.residueCleavagePercentage=this.calculateCleavagePercentage,this.fragmentTableData=S,this.fragmentTableTitle=`Matching fragments (# ${S.length})`},fixedModification(n){return this.fixedModificationSites.includes(n)},initializeSequenceObjects(){this.sequenceObjects=[],this.sequence.forEach((n,e)=>{var x,o;const r=this.coverage[e],S=((x=this.selectedTag)==null?void 0:x.startPos)==e,D=((o=this.selectedTag)==null?void 0:o.endPos)==e;this.sequenceObjects.push({aminoAcid:n,coverage:r,aIon:!1,bIon:D,cIon:!1,xIon:!1,yIon:S,zIon:!1,extraTypes:[]})})},aminoAcidSelected(n){let e="";const r=this.sequenceObjects[n];r.aIon?e=`a${n+1}`:r.bIon?e=`b${n+1}`:r.cIon?e=`c${n+1}`:r.xIon?e=`x${this.sequence.length-n}`:r.yIon?e=`y${this.sequence.length-n}`:e=`z${this.sequence.length-n}`,this.selectedFragTableRowIndex=this.fragmentTableData.findIndex(S=>S.Name===e),this.selectionStore.selectedAminoAcid(this.fragmentTableData[this.selectedFragTableRowIndex].ObservedMass)}}});const e1=n=>(jd("data-v-3ef6c7b6"),n=n(),Ud(),n),cN=e1(()=>Nr("div",{class:"d-flex justify-center"},[Nr("h4",null,"Sequence View")],-1)),fN={class:"sequence-and-scale"},hN={id:"sequence-part"},dN={class:"d-flex justify-space-evenly"},pN=e1(()=>Nr("h3",null,"Precursor",-1)),mN={class:"d-flex justify-end px-4 mb-4"},gN={key:0,class:"d-flex justify-center align-center"},vN={key:2,class:"d-flex justify-center align-center"},yN={class:"scale-container",title:"Coverage"},bN={class:"scale-text"},xN=e1(()=>Nr("div",{class:"scale"},null,-1)),_N=e1(()=>Nr("div",{class:"scale-text"},"1x",-1)),wN={id:"sequence-view-table"};function TN(n,e,r,S,D,x){var f;const o=Tr("v-divider"),t=Tr("SvgScreenshot"),d=Tr("SequenceViewInformationTagger"),v=Tr("v-btn"),i=Tr("v-list-item-title"),M=Tr("v-slider"),g=Tr("v-list-item"),p=Tr("v-list"),u=Tr("v-card"),a=Tr("v-menu"),c=Tr("ProteinTerminalCell"),s=Tr("AminoAcidCellTagger"),l=Tr("TabulatorTable"),h=Tr("v-sheet");return Dr(),ai(Xr,null,[cN,dt(h,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((f=n.theme)==null?void 0:f.base)??"light",border:""},{default:Yr(()=>[Nr("div",fN,[Nr("div",hN,[Nr("div",dN,[n.precursorData.length!=0?(Dr(),ai(Xr,{key:0},[pN,dt(o,{vertical:!0}),(Dr(!0),ai(Xr,null,_l(n.precursorData,(m,_)=>(Dr(),ai(Xr,{key:_},[ki(So(m)+" ",1),dt(o,{vertical:!0})],64))),128))],64)):pa("",!0)]),Nr("div",mN,[Nr("div",null,[dt(t,{"element-id":"sequence-part"}),dt(d),dt(v,{id:"settings-button",variant:"text",icon:"mdi-cog",size:"large"}),dt(a,{"close-on-content-click":!1,activator:"#settings-button",location:"bottom"},{default:Yr(()=>[dt(u,{"min-width":"300"},{default:Yr(()=>[dt(p,null,{default:Yr(()=>[dt(g,null,{default:Yr(()=>[dt(i,null,{default:Yr(()=>[ki("# amino acids per row")]),_:1}),dt(M,{modelValue:n.rowWidth,"onUpdate:modelValue":e[0]||(e[0]=m=>n.rowWidth=m),ticks:n.tickLabels,min:20,max:40,step:"5","show-ticks":"always","tick-size":"4"},null,8,["modelValue","ticks"])]),_:1})]),_:1})]),_:1})]),_:1})])]),Nr("div",{class:vu(["pb-4 px-2",n.gridClasses]),style:{width:"100%","max-width":"100%"}},[(Dr(!0),ai(Xr,null,_l(n.sequenceObjects,(m,_)=>(Dr(),ai(Xr,{key:_},[_!==0&&_%n.rowWidth===0?(Dr(),ai("div",gN,So(_+1),1)):pa("",!0),_===0?(Dr(),Aa(c,{key:1,"protein-terminal":"N-term",index:-1})):pa("",!0),dt(s,{index:_,"sequence-object":m,"fixed-modification":n.fixedModification(m.aminoAcid),onSelected:n.aminoAcidSelected},null,8,["index","sequence-object","fixed-modification","onSelected"]),_%n.rowWidth===n.rowWidth-1&&_!==n.sequence.length-1?(Dr(),ai("div",vN,So(_+1),1)):pa("",!0),_===n.sequence.length-1?(Dr(),Aa(c,{key:3,"protein-terminal":"C-term",index:n.sequence.length},null,8,["index"])):pa("",!0)],64))),128))],2)]),Nr("div",yN,[Nr("div",bN,So(n.maxCoverage+"x"),1),xN,_N])]),Nr("div",wN,[n.fragmentTableTitle!==""?(Dr(),Aa(l,{key:0,"table-data":n.fragmentTableData,"column-definitions":n.fragmentTableColumnDefinitions,index:n.index,"selected-row-index-from-listening":n.selectedFragTableRowIndex,"table-layout-param":"fitColumns"},{default:Yr(()=>[ki(So(n.fragmentTableTitle),1)]),"end-title-row":Yr(()=>[ki("% Residue cleavage: "+So(n.residueCleavagePercentage.toFixed(3))+"%",1)]),_:1},8,["table-data","column-definitions","index","selected-row-index-from-listening"])):pa("",!0)])]),_:1},8,["theme"])],64)}const kN=Bo(uN,[["render",TN],["__scopeId","data-v-3ef6c7b6"]]),MN=Io({name:"FLASHQuantView",components:{TabulatorTable:Wd},setup(){return{streamlitDataStore:os()}},data(){return{setHeightInterval:null,featureGroupTableColumnDefinitions:[{title:"Index",field:"FeatureGroupIndex"},{title:"Monoisotopic Mass",field:"MonoisotopicMass"},{title:"Average Mass",field:"AverageMass"},{title:"Start Retention Time (FWHM)",field:"StartRetentionTime(FWHM)"},{title:"End Retention Time (FWHM)",field:"EndRetentionTime(FWHM)"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Min Charge",field:"MinCharge"},{title:"Max Charge",field:"MaxCharge"},{title:"Most Abundant Charge",field:"MostAbundantFeatureCharge"},{title:"Isotope Cosine Score",field:"IsotopeCosineScore"}],selectedFeatureGroupIndex:void 0,maximumIntensity:0}},computed:{theme(){return this.streamlitDataStore.theme},featureGroupTableData(){return this.streamlitDataStore.dataForDrawing.quant_data},trace3DgraphLayout(){var n,e,r,S;return{title:"Feature group signals",paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(S=this.theme)==null?void 0:S.font},scene:{xaxis:{title:"m/z"},yaxis:{title:"retention time"},zaxis:{title:"intensity",range:[0,this.maximumIntensity]}},showlegend:!0}}},watch:{selectedFeatureGroupIndex(){this.trace3DGraph()}},mounted(){this.setHeightInterval=setInterval(()=>Tc.setFrameHeight(),500)},unmounted(){this.setHeightInterval!==null&&clearInterval(this.setHeightInterval)},methods:{async trace3DGraph(){await Ns.newPlot("trace3Dplot",this.trace3DgraphData(),this.trace3DgraphLayout,{responsive:!0})},updateSelectedFeatureGroupRow(n){n!==void 0&&(this.selectedFeatureGroupIndex=n)},trace3DgraphData(){if(this.selectedFeatureGroupIndex===void 0)return[];const n=this.featureGroupTableData[this.selectedFeatureGroupIndex],e=[...new Set(n.Charges)],r={};e.forEach(x=>{r[x]={mzs:[],rts:[],intys:[]}}),n.Charges.forEach((x,o)=>{const t=n.MZs[o].split(",").map(parseFloat),d=n.RTs[o].split(",").map(parseFloat),v=n.Intensities[o].split(",").map(parseFloat);r[x].mzs.push(t[0]),r[x].rts.push(d[0]),r[x].intys.push(-1e3),r[x].mzs.push(...t),r[x].rts.push(...d),r[x].intys.push(...v),r[x].mzs.push(t[-1]),r[x].rts.push(d[-1]),r[x].intys.push(-1e3)}),this.maximumIntensity=Math.max.apply(null,Object.values(r).map(x=>Math.max.apply(null,x.intys)));let D=[];return Object.entries(r).forEach(([x,o])=>{D.push({x:o.mzs,y:o.rts,z:o.intys,mode:"lines",line:{color:"#3366CC"},type:"scatter3d",name:`Charge: ${x}`})}),D}}}),AN={class:"pa-4"},SN=Nr("div",{id:"trace3Dplot",style:{width:"90%"}},null,-1);function CN(n,e,r,S,D,x){const o=Tr("TabulatorTable"),t=Tr("v-row");return Dr(),ai("div",AN,[dt(t,{class:"flex-nowrap"},{default:Yr(()=>[n.featureGroupTableData?(Dr(),Aa(o,{key:0,title:"Feature groups",index:0,"table-data":n.featureGroupTableData,"column-definitions":n.featureGroupTableColumnDefinitions,"table-index-field":"FeatureGroupIndex",onRowSelected:n.updateSelectedFeatureGroupRow},null,8,["table-data","column-definitions","onRowSelected"])):pa("",!0)]),_:1}),SN])}const EN=Bo(MN,[["render",CN]]),LN=Io({name:"InternalFragmentMap",props:{index:{type:Number,required:!0}},setup(){const n=os(),e=Bc();return{streamlitData:n,selectionStore:e}},data(){return{fragmentMassTolerance:10,fragmentMassToleranceUnit:"ppm",fragmentMassTypes:{by:!0,cy:!0,bz:!0},fragmentDisplayOverlay:!1,fragOpacity:.2,fragOpacityMin:.01,fragOpacityMax:1}},computed:{theme(){return this.streamlitData.theme},internalFragmentData(){return this.streamlitData.internalFragmentData},sequence(){var n;return(n=this.streamlitData.sequenceData)==null?void 0:n[0].sequence},fragmentStyle(){var n;return{height:(94/(((n=this.sequence)==null?void 0:n.length)??1)).toFixed(2)+"vw","--frag-block-opacity-value":this.fragOpacity}},fragmentTypeContainerStyle(){return{height:this.fragmentDisplayOverlay?this.fragmentStyle.height:"auto"}},fragmentTypeOverlayStyle(){return{position:this.fragmentDisplayOverlay?"absolute":"static"}},fragmentDisplayOverlayLabels(){return this.fragmentDisplayOverlay?"Overlay fragments from the same type":"Stacked"},selectedScanInfo(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitData.allDataForDrawing.per_scan_data[this.selectionStore.selectedScanIndex]},byData(){var S,D,x;if(this.selectedScanInfo===void 0||!((S=this.internalFragmentData)!=null&&S.fragment_masses_by)||!((D=this.internalFragmentData)!=null&&D.start_indices_by)||!((x=this.internalFragmentData)!=null&&x.end_indices_by))return[];if(this.selectedScanInfo.PrecursorMass===0)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_by,this.internalFragmentData.start_indices_by,this.internalFragmentData.end_indices_by,e),e},cyData(){var S,D,x;if(this.selectedScanInfo===void 0||!((S=this.internalFragmentData)!=null&&S.fragment_masses_cy)||!((D=this.internalFragmentData)!=null&&D.start_indices_cy)||!((x=this.internalFragmentData)!=null&&x.end_indices_cy))return[];if(this.selectedScanInfo.PrecursorMass===0)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_cy,this.internalFragmentData.start_indices_cy,this.internalFragmentData.end_indices_cy,e),e},bzData(){var S,D,x;if(this.selectedScanInfo===void 0||!((S=this.internalFragmentData)!=null&&S.fragment_masses_bz)||!((D=this.internalFragmentData)!=null&&D.start_indices_bz)||!((x=this.internalFragmentData)!=null&&x.end_indices_bz))return[];if(this.selectedScanInfo.PrecursorMass===0)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_bz,this.internalFragmentData.start_indices_bz,this.internalFragmentData.end_indices_bz,e),e}},methods:{updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},fragmentClasses(n,e,r,S){const D=n>e&&n<=r;let x=S;return this.fragmentDisplayOverlay&&(x+="-overlayed"),{[x]:D,"not-in-fragment":!D}},filterMatchingMasses(n,e,r,S,D){for(let x=0,o=e.length;xthis.fragmentMassTolerance)){D.push({mass:t,start:r[x],end:S[x]});break}}}}}});const IN=n=>(jd("data-v-d41ea218"),n=n(),Ud(),n),ON=IN(()=>Nr("div",{class:"d-flex justify-center"},[Nr("h4",null,"Internal Fragment Map")],-1)),PN={class:"d-flex justify-space-between"},DN=L7('
by/cz
bz
cy
',1),RN={class:"d-flex justify-end px-4 mb-4",style:{"max-width":"97%"}},zN={class:"d-flex"},FN={class:"d-flex justify-space-between"},BN={id:"internal-fragment-part"},NN={class:"d-flex",style:{"border-bottom":"white","border-bottom-width":"1px","border-bottom-style":"solid"}};function VN(n,e,r,S,D,x){var c;const o=Tr("v-btn"),t=Tr("v-list-item-title"),d=Tr("v-switch"),v=Tr("v-list-item"),i=Tr("v-text-field"),M=Tr("v-slider"),g=Tr("v-list"),p=Tr("v-card"),u=Tr("v-menu"),a=Tr("v-sheet");return Dr(),ai(Xr,null,[ON,Nr("div",PN,[DN,Nr("div",RN,[dt(o,{id:"internal-frag-settings-button",variant:"text",icon:"mdi-cog",size:"medium"}),dt(u,{"close-on-content-click":!1,activator:"#internal-frag-settings-button",location:"bottom"},{default:Yr(()=>[dt(p,{"min-width":"300"},{default:Yr(()=>[dt(g,null,{default:Yr(()=>[dt(v,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[ki("Fragments display style")]),_:1}),Nr("div",zN,[dt(d,{modelValue:n.fragmentDisplayOverlay,"onUpdate:modelValue":e[0]||(e[0]=s=>n.fragmentDisplayOverlay=s),"hide-details":"",label:`${n.fragmentDisplayOverlayLabels}`,class:"mr-4"},null,8,["modelValue","label"])])]),_:1}),dt(v,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[ki("Opacity of each fragment (If overlay display style)")]),_:1}),Nr("div",{style:Bs({background:`rgba(240, 164, 65, ${n.fragOpacity})`})},[dt(M,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[2]||(e[2]=s=>n.fragOpacity=s),class:"align-center ml-4",max:n.fragOpacityMax,min:n.fragOpacityMin,"hide-details":""},{append:Yr(()=>[dt(i,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[1]||(e[1]=s=>n.fragOpacity=s),"hide-details":"","single-line":"",min:n.fragOpacityMin,max:n.fragOpacityMax,step:"0.01",density:"compact",type:"number",class:"textFieldFontSize"},null,8,["modelValue","min","max"])]),_:1},8,["modelValue","max","min"])],4)]),_:1}),dt(v,null,{default:Yr(()=>[dt(t,null,{default:Yr(()=>[ki("Fragment mass tolerance")]),_:1}),Nr("div",FN,[dt(d,{modelValue:n.fragmentMassToleranceUnit,"onUpdate:modelValue":e[3]||(e[3]=s=>n.fragmentMassToleranceUnit=s),"true-value":"ppm","false-value":"Da","hide-details":"",label:`${n.fragmentMassToleranceUnit}`,class:"mr-4"},null,8,["modelValue","label"]),dt(i,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[4]||(e[4]=s=>n.fragmentMassTolerance=s),type:"number","hide-details":"auto",label:"mass tolerance",onChange:n.updateMassTolerance},null,8,["modelValue","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})])]),dt(a,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((c=n.theme)==null?void 0:c.base)??"light",border:""},{default:Yr(()=>[Nr("div",BN,[Nr("div",NN,[(Dr(!0),ai(Xr,null,_l(n.sequence,(s,l)=>(Dr(),ai("div",{key:`${s}-${l}`,class:"d-flex justify-center align-center fragment-segment sequence-text",style:Bs(n.fragmentStyle)},So(s),5))),128))]),Nr("div",{style:Bs(n.fragmentTypeContainerStyle)},[(Dr(!0),ai(Xr,null,_l(n.byData,s=>(Dr(),ai("div",{key:s.mass,class:"d-flex",style:Bs(n.fragmentTypeOverlayStyle)},[(Dr(!0),ai(Xr,null,_l(n.sequence,(l,h)=>(Dr(),ai("div",{key:`${l}-${h}`,class:vu(n.fragmentClasses(h,s.start,s.end,"by-fragment")),style:Bs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),Nr("div",{style:Bs(n.fragmentTypeContainerStyle)},[(Dr(!0),ai(Xr,null,_l(n.cyData,s=>(Dr(),ai("div",{key:s.mass,class:"d-flex",style:Bs(n.fragmentTypeOverlayStyle)},[(Dr(!0),ai(Xr,null,_l(n.sequence,(l,h)=>(Dr(),ai("div",{key:`${l}-${h}`,class:vu(n.fragmentClasses(h,s.start,s.end,"cy-fragment")),style:Bs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),Nr("div",{style:Bs(n.fragmentTypeContainerStyle)},[(Dr(!0),ai(Xr,null,_l(n.bzData,s=>(Dr(),ai("div",{key:s.mass,class:"d-flex",style:Bs(n.fragmentTypeOverlayStyle)},[(Dr(!0),ai(Xr,null,_l(n.sequence,(l,h)=>(Dr(),ai("div",{key:`${l}-${h}`,class:vu(n.fragmentClasses(h,s.start,s.end,"bz-fragment")),style:Bs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4)])]),_:1},8,["theme"])],64)}const jN=Bo(LN,[["render",VN],["__scopeId","data-v-d41ea218"]]),UN=Io({name:"ComponentsRow",components:{InternalFragmentMap:jN,FLASHQuantView:EN,Plotly3Dplot:dF,PlotlyHeatmap:KD,TabulatorScanTable:tF,PlotlyLineplot:aF,PlotlyLineplotTagger:uF,TabulatorMassTable:gF,TabulatorProteinTable:bF,TabulatorTagTable:wF,SequenceView:MB,SequenceViewTagger:kN},props:{components:{type:Object,required:!0},rowIndex:{type:Number,required:!0}},data(){return{componentHeightMapping:{TabulatorScanTable:"height-any",TabulatorMassTable:"height-any",TabulatorProteinTable:"height-any",TabulatorTagTable:"height-any",PlotlyLineplot:"height-any",PlotlyLineplotTagger:"height-any",PlotlyHeatmap:"height-any",Plotly3Dplot:"height-any",SequenceView:"height-any",SequenceViewTagger:"height-any",InternalFragmentMap:"height-any"}}},methods:{componentClasses(n){return{[this.componentHeightMapping[n]]:!0,[`component-width-${this.components.length}`]:!0}},componentIndex(n){return n+this.rowIndex*100}}});const HN={class:"component-row"};function GN(n,e,r,S,D,x){const o=Tr("PlotlyHeatmap"),t=Tr("TabulatorScanTable"),d=Tr("TabulatorMassTable"),v=Tr("TabulatorProteinTable"),i=Tr("TabulatorTagTable"),M=Tr("PlotlyLineplot"),g=Tr("PlotlyLineplotTagger"),p=Tr("Plotly3Dplot"),u=Tr("SequenceView"),a=Tr("SequenceViewTagger"),c=Tr("InternalFragmentMap"),s=Tr("FLASHQuantView");return Dr(),ai("div",HN,[(Dr(!0),ai(Xr,null,_l(n.components,(l,h)=>(Dr(),ai("div",{key:h,class:vu(n.componentClasses(l.componentArgs.componentName))},[l.componentArgs.componentName==="PlotlyHeatmap"?(Dr(),Aa(o,{key:0,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="TabulatorScanTable"?(Dr(),Aa(t,{key:1,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="TabulatorMassTable"?(Dr(),Aa(d,{key:2,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="TabulatorProteinTable"?(Dr(),Aa(v,{key:3,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="TabulatorTagTable"?(Dr(),Aa(i,{key:4,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="PlotlyLineplot"?(Dr(),Aa(M,{key:5,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="PlotlyLineplotTagger"?(Dr(),Aa(g,{key:6,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="Plotly3Dplot"?(Dr(),Aa(p,{key:7,args:l.componentArgs,index:n.componentIndex(h)},null,8,["args","index"])):l.componentArgs.componentName==="SequenceView"?(Dr(),Aa(u,{key:8,index:n.componentIndex(h)},null,8,["index"])):l.componentArgs.componentName==="SequenceViewTagger"?(Dr(),Aa(a,{key:9,index:n.componentIndex(h)},null,8,["index"])):l.componentArgs.componentName==="InternalFragmentMap"?(Dr(),Aa(c,{key:10,index:n.componentIndex(h)},null,8,["index"])):l.componentArgs.componentName==="FLASHQuantView"?(Dr(),Aa(s,{key:11})):pa("",!0)],2))),128))])}const WN=Bo(UN,[["render",GN],["__scopeId","data-v-1e2d685f"]]),qN=Io({name:"ComponentsLayout",components:{ComponentsRow:WN},props:{components:{type:Object,required:!0}},data(){return{columns:6}},methods:{componentRowClasses(){return{"[`height-${layout.height ?? 1}`]":!0,[`component-width-${this.components.length}`]:!0}}}});const $N={class:"component-layout"};function YN(n,e,r,S,D,x){const o=Tr("ComponentsRow");return Dr(),ai("div",$N,[(Dr(!0),ai(Xr,null,_l(n.components,(t,d)=>(Dr(),Aa(o,{key:d,components:t,"row-index":d},null,8,["components","row-index"]))),128))])}const ZN=Bo(qN,[["render",YN],["__scopeId","data-v-1d160719"]]),XN=Io({name:"App",components:{ComponentsLayout:ZN},setup(){return{streamlitDataStore:os()}},data(){return{timer:void 0}},computed:{components(){var n;return(n=this.streamlitDataStore.args)==null?void 0:n.components}},created(){Tc.setComponentReady(),Tc.setFrameHeight(500),Tc.events.addEventListener(Tc.RENDER_EVENT,this.updateStreamlitData)},mounted(){this.timer=setInterval(()=>{Tc.setFrameHeight()},500)},unmounted(){Tc.events.removeEventListener(Tc.RENDER_EVENT,this.updateStreamlitData),clearInterval(this.timer)},updated(){Tc.setFrameHeight()},methods:{async updateStreamlitData(n){this.streamlitDataStore.updateRenderData(n.detail)}}});const KN={key:0},JN={key:1,class:"d-flex w-100",style:{height:"400px"}};function QN(n,e,r,S,D,x){const o=Tr("ComponentsLayout"),t=Tr("v-progress-linear"),d=Tr("v-alert");return n.components!==void 0&&n.components.length>0?(Dr(),ai("div",KN,[dt(o,{components:n.components},null,8,["components"])])):(Dr(),ai("div",JN,[dt(d,{class:"h-50 ma-16 pr-16",icon:"mdi-application-variable-outline",title:"FLASHViewer loading",type:"info"},{default:Yr(()=>[dt(t,{indeterminate:""}),ki(" Please wait... ")]),_:1})]))}const eV=Bo(XN,[["render",QN]]);const no=typeof window<"u",x_=no&&"IntersectionObserver"in window,tV=no&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function nT(n,e,r){nV(n,e),e.set(n,r)}function nV(n,e){if(e.has(n))throw new TypeError("Cannot initialize the same private elements twice on an object")}function rV(n,e,r){var S=XM(n,e,"set");return iV(n,S,r),r}function iV(n,e,r){if(e.set)e.set.call(n,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function fd(n,e){var r=XM(n,e,"get");return aV(n,r)}function XM(n,e,r){if(!e.has(n))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(n)}function aV(n,e){return e.get?e.get.call(n):e.value}function KM(n,e,r){const S=e.length-1;if(S<0)return n===void 0?r:n;for(let D=0;Dd0(n[S],e[S]))}function hx(n,e,r){return n==null||!e||typeof e!="string"?r:n[e]!==void 0?n[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),KM(n,e.split("."),r))}function lf(n,e,r){if(e==null)return n===void 0?r:n;if(n!==Object(n)){if(typeof e!="function")return r;const D=e(n,r);return typeof D>"u"?r:D}if(typeof e=="string")return hx(n,e,r);if(Array.isArray(e))return KM(n,e,r);if(typeof e!="function")return r;const S=e(n,r);return typeof S>"u"?r:S}function Gf(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:n},(r,S)=>e+S)}function ii(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(n==null||n===""))return isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${e}`:void 0}function dx(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function px(n){return n&&"$el"in n?n.$el:n}const rT=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),mx=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function JM(n){return Object.keys(n)}function xd(n,e){return e.every(r=>n.hasOwnProperty(r))}function Fd(n,e,r){const S=Object.create(null),D=Object.create(null);for(const x in n)e.some(o=>o instanceof RegExp?o.test(x):o===x)&&!(r!=null&&r.some(o=>o===x))?S[x]=n[x]:D[x]=n[x];return[S,D]}function Ku(n,e){const r={...n};return e.forEach(S=>delete r[S]),r}const QM=/^on[^a-z]/,__=n=>QM.test(n),oV=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function qd(n){const[e,r]=Fd(n,[QM]),S=Ku(e,oV),[D,x]=Fd(r,["class","style","id",/^data-/]);return Object.assign(D,e),Object.assign(x,S),[D,x]}function bu(n){return n==null?[]:Array.isArray(n)?n:[n]}function el(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(r,n))}function iT(n){const e=n.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function aT(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return n+r.repeat(Math.max(0,e-n.length))}function sV(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const r=[];let S=0;for(;S1&&arguments[1]!==void 0?arguments[1]:1e3;if(n=e&&S0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const S={};for(const D in n)S[D]=n[D];for(const D in e){const x=n[D],o=e[D];if(dx(x)&&dx(o)){S[D]=Wu(x,o,r);continue}if(Array.isArray(x)&&Array.isArray(o)&&r){S[D]=r(x,o);continue}S[D]=o}return S}function eA(n){return n.map(e=>e.type===Xr?eA(e.children):e).flat()}function Sd(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Sd.cache.has(n))return Sd.cache.get(n);const e=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Sd.cache.set(n,e),e}Sd.cache=new Map;function pm(n,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(r=>pm(n,r)).flat(1);if(Array.isArray(e.children))return e.children.map(r=>pm(n,r)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(n))return[e.component];if(e.component.subTree)return pm(n,e.component.subTree).flat(1)}return[]}var dv=new WeakMap,_p=new WeakMap;class lV{constructor(e){nT(this,dv,{writable:!0,value:[]}),nT(this,_p,{writable:!0,value:0}),this.size=e}push(e){fd(this,dv)[fd(this,_p)]=e,rV(this,_p,(fd(this,_p)+1)%this.size)}values(){return fd(this,dv).slice(fd(this,_p)).concat(fd(this,dv).slice(0,fd(this,_p)))}}function uV(n){return"touches"in n?{clientX:n.touches[0].clientX,clientY:n.touches[0].clientY}:{clientX:n.clientX,clientY:n.clientY}}function w_(n){const e=Tl({}),r=cn(n);return wu(()=>{for(const S in r.value)e[S]=r.value[S]},{flush:"sync"}),py(e)}function ry(n,e){return n.includes(e)}function tA(n){return n[2].toLowerCase()+n.slice(3)}const ff=()=>[Function,Array];function sT(n,e){return e="on"+Jf(e),!!(n[e]||n[`${e}Once`]||n[`${e}Capture`]||n[`${e}OnceCapture`]||n[`${e}CaptureOnce`])}function T_(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),S=1;S1&&arguments[1]!==void 0?arguments[1]:!0;const r=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(S=>`${S}${e?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(r)]}function nA(n,e,r){let S,D=n.indexOf(document.activeElement);const x=e==="next"?1:-1;do D+=x,S=n[D];while((!S||S.offsetParent==null||!((r==null?void 0:r(S))??!0))&&D=0);return S}function iy(n,e){var S,D,x,o;const r=Om(n);if(!e)(n===document.activeElement||!n.contains(document.activeElement))&&((S=r[0])==null||S.focus());else if(e==="first")(D=r[0])==null||D.focus();else if(e==="last")(x=r.at(-1))==null||x.focus();else if(typeof e=="number")(o=r[e])==null||o.focus();else{const t=nA(r,e);t?t.focus():iy(n,e==="next"?"first":"last")}}function rA(){}function n0(n,e){if(!(no&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!n&&n.matches(e)}catch{return null}}const iA=["top","bottom"],cV=["start","end","left","right"];function gx(n,e){let[r,S]=n.split(" ");return S||(S=ry(iA,r)?"start":ry(cV,r)?"top":"center"),{side:vx(r,e),align:vx(S,e)}}function vx(n,e){return n==="start"?e?"right":"left":n==="end"?e?"left":"right":n}function Eb(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function Lb(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function lT(n){return{side:n.align,align:n.side}}function uT(n){return ry(iA,n.side)?"y":"x"}class Fp{constructor(e){let{x:r,y:S,width:D,height:x}=e;this.x=r,this.y=S,this.width=D,this.height=x}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function cT(n,e){return{x:{before:Math.max(0,e.left-n.left),after:Math.max(0,n.right-e.right)},y:{before:Math.max(0,e.top-n.top),after:Math.max(0,n.bottom-e.bottom)}}}function k_(n){const e=n.getBoundingClientRect(),r=getComputedStyle(n),S=r.transform;if(S){let D,x,o,t,d;if(S.startsWith("matrix3d("))D=S.slice(9,-1).split(/, /),x=+D[0],o=+D[5],t=+D[12],d=+D[13];else if(S.startsWith("matrix("))D=S.slice(7,-1).split(/, /),x=+D[0],o=+D[3],t=+D[4],d=+D[5];else return new Fp(e);const v=r.transformOrigin,i=e.x-t-(1-x)*parseFloat(v),M=e.y-d-(1-o)*parseFloat(v.slice(v.indexOf(" ")+1)),g=x?e.width/x:n.offsetWidth+1,p=o?e.height/o:n.offsetHeight+1;return new Fp({x:i,y:M,width:g,height:p})}else return new Fp(e)}function _d(n,e,r){if(typeof n.animate>"u")return{finished:Promise.resolve()};let S;try{S=n.animate(e,r)}catch{return{finished:Promise.resolve()}}return typeof S.finished>"u"&&(S.finished=new Promise(D=>{S.onfinish=()=>{D(S)}})),S}const Sv=new WeakMap;function fV(n,e){Object.keys(e).forEach(r=>{if(__(r)){const S=tA(r),D=Sv.get(n);if(e[r]==null)D==null||D.forEach(x=>{const[o,t]=x;o===S&&(n.removeEventListener(S,t),D.delete(x))});else if(!D||![...D].some(x=>x[0]===S&&x[1]===e[r])){n.addEventListener(S,e[r]);const x=D||new Set;x.add([S,e[r]]),Sv.has(n)||Sv.set(n,x)}}else e[r]==null?n.removeAttribute(r):n.setAttribute(r,e[r])})}function hV(n,e){Object.keys(e).forEach(r=>{if(__(r)){const S=tA(r),D=Sv.get(n);D==null||D.forEach(x=>{const[o,t]=x;o===S&&(n.removeEventListener(S,t),D.delete(x))})}else n.removeAttribute(r)})}const wp=2.4,fT=.2126729,hT=.7151522,dT=.072175,dV=.55,pV=.58,mV=.57,gV=.62,pv=.03,pT=1.45,vV=5e-4,yV=1.25,bV=1.25,mT=.078,gT=12.82051282051282,mv=.06,vT=.001;function yT(n,e){const r=(n.r/255)**wp,S=(n.g/255)**wp,D=(n.b/255)**wp,x=(e.r/255)**wp,o=(e.g/255)**wp,t=(e.b/255)**wp;let d=r*fT+S*hT+D*dT,v=x*fT+o*hT+t*dT;if(d<=pv&&(d+=(pv-d)**pT),v<=pv&&(v+=(pv-v)**pT),Math.abs(v-d)d){const M=(v**dV-d**pV)*yV;i=M-vT?0:M>-mT?M-M*gT*mv:M+mv}return i*100}function xV(n,e){e=Array.isArray(e)?e.slice(0,-1).map(r=>`'${r}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const ay=.20689655172413793,_V=n=>n>ay**3?Math.cbrt(n):n/(3*ay**2)+4/29,wV=n=>n>ay?n**3:3*ay**2*(n-4/29);function aA(n){const e=_V,r=e(n[1]);return[116*r-16,500*(e(n[0]/.95047)-r),200*(r-e(n[2]/1.08883))]}function oA(n){const e=wV,r=(n[0]+16)/116;return[e(r+n[1]/500)*.95047,e(r),e(r-n[2]/200)*1.08883]}const TV=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],kV=n=>n<=.0031308?n*12.92:1.055*n**(1/2.4)-.055,MV=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],AV=n=>n<=.04045?n/12.92:((n+.055)/1.055)**2.4;function sA(n){const e=Array(3),r=kV,S=TV;for(let D=0;D<3;++D)e[D]=Math.round(el(r(S[D][0]*n[0]+S[D][1]*n[1]+S[D][2]*n[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function M_(n){let{r:e,g:r,b:S}=n;const D=[0,0,0],x=AV,o=MV;e=x(e/255),r=x(r/255),S=x(S/255);for(let t=0;t<3;++t)D[t]=o[t][0]*e+o[t][1]*r+o[t][2]*S;return D}function bT(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const xT=/^(?(?:rgb|hsl)a?)\((?.+)\)/,SV={rgb:(n,e,r,S)=>({r:n,g:e,b:r,a:S}),rgba:(n,e,r,S)=>({r:n,g:e,b:r,a:S}),hsl:(n,e,r,S)=>_T({h:n,s:e,l:r,a:S}),hsla:(n,e,r,S)=>_T({h:n,s:e,l:r,a:S}),hsv:(n,e,r,S)=>Zf({h:n,s:e,v:r,a:S}),hsva:(n,e,r,S)=>Zf({h:n,s:e,v:r,a:S})};function Cc(n){if(typeof n=="number")return{r:(n&16711680)>>16,g:(n&65280)>>8,b:n&255};if(typeof n=="string"&&xT.test(n)){const{groups:e}=n.match(xT),{fn:r,values:S}=e,D=S.split(/,\s*/).map(x=>x.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(r)?parseFloat(x)/100:parseFloat(x));return SV[r](...D)}else if(typeof n=="string"){let e=n.startsWith("#")?n.slice(1):n;return[3,4].includes(e.length)?e=e.split("").map(r=>r+r).join(""):[6,8].includes(e.length),hA(e)}else if(typeof n=="object"){if(xd(n,["r","g","b"]))return n;if(xd(n,["h","s","l"]))return Zf(A_(n));if(xd(n,["h","s","v"]))return Zf(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} +Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function Zf(n){const{h:e,s:r,v:S,a:D}=n,x=t=>{const d=(t+e/60)%6;return S-S*r*Math.max(Math.min(d,4-d,1),0)},o=[x(5),x(3),x(1)].map(t=>Math.round(t*255));return{r:o[0],g:o[1],b:o[2],a:D}}function _T(n){return Zf(A_(n))}function t1(n){if(!n)return{h:0,s:1,v:1,a:1};const e=n.r/255,r=n.g/255,S=n.b/255,D=Math.max(e,r,S),x=Math.min(e,r,S);let o=0;D!==x&&(D===e?o=60*(0+(r-S)/(D-x)):D===r?o=60*(2+(S-e)/(D-x)):D===S&&(o=60*(4+(e-r)/(D-x)))),o<0&&(o=o+360);const t=D===0?0:(D-x)/D,d=[o,t,D];return{h:d[0],s:d[1],v:d[2],a:n.a}}function lA(n){const{h:e,s:r,v:S,a:D}=n,x=S-S*r/2,o=x===1||x===0?0:(S-x)/Math.min(x,1-x);return{h:e,s:o,l:x,a:D}}function A_(n){const{h:e,s:r,l:S,a:D}=n,x=S+r*Math.min(S,1-S),o=x===0?0:2-2*S/x;return{h:e,s:o,v:x,a:D}}function uA(n){let{r:e,g:r,b:S,a:D}=n;return D===void 0?`rgb(${e}, ${r}, ${S})`:`rgba(${e}, ${r}, ${S}, ${D})`}function cA(n){return uA(Zf(n))}function gv(n){const e=Math.round(n).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function fA(n){let{r:e,g:r,b:S,a:D}=n;return`#${[gv(e),gv(r),gv(S),D!==void 0?gv(Math.round(D*255)):""].join("")}`}function hA(n){n=EV(n);let[e,r,S,D]=sV(n,2).map(x=>parseInt(x,16));return D=D===void 0?D:D/255,{r:e,g:r,b:S,a:D}}function CV(n){const e=hA(n);return t1(e)}function dA(n){return fA(Zf(n))}function EV(n){return n.startsWith("#")&&(n=n.slice(1)),n=n.replace(/([^0-9a-f])/gi,"F"),(n.length===3||n.length===4)&&(n=n.split("").map(e=>e+e).join("")),n.length!==6&&(n=aT(aT(n,6),8,"F")),n}function LV(n,e){const r=aA(M_(n));return r[0]=r[0]+e*10,sA(oA(r))}function IV(n,e){const r=aA(M_(n));return r[0]=r[0]-e*10,sA(oA(r))}function yx(n){const e=Cc(n);return M_(e)[1]}function OV(n,e){const r=yx(n),S=yx(e),D=Math.max(r,S),x=Math.min(r,S);return(D+.05)/(x+.05)}function pA(n){const e=Math.abs(yT(Cc(0),Cc(n)));return Math.abs(yT(Cc(16777215),Cc(n)))>Math.min(e,50)?"#fff":"#000"}function cr(n,e){return r=>Object.keys(n).reduce((S,D)=>{const o=typeof n[D]=="object"&&n[D]!=null&&!Array.isArray(n[D])?n[D]:{type:n[D]};return r&&D in r?S[D]={...o,default:r[D]}:S[D]=o,e&&!S[D].source&&(S[D].source=e),S},{})}const Jr=cr({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function Ju(n){if(n._setup=n._setup??n.setup,!n.name)return n;if(n._setup){n.props=cr(n.props??{},n.name)();const e=Object.keys(n.props);n.filterProps=function(S){return Fd(S,e,["class","style"])},n.props._as=String,n.setup=function(S,D){const x=E_();if(!x.value)return n._setup(S,D);const{props:o,provideSubDefaults:t}=VV(S,S._as??n.name,x),d=n._setup(o,D);return t(),d}}return n}function Er(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(n?Ju:Io)(e)}function Nc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",r=arguments.length>2?arguments[2]:void 0;return Er()({name:r??Jf(Zu(n.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...Jr()},setup(S,D){let{slots:x}=D;return()=>{var o;return jh(S.tag,{class:[n,S.class],style:S.style},(o=x.default)==null?void 0:o.call(x))}}})}function mA(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const e=n.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const Pm="cubic-bezier(0.4, 0, 0.2, 1)",PV="cubic-bezier(0.0, 0, 0.2, 1)",DV="cubic-bezier(0.4, 0, 1, 1)";function Es(n,e){const r=wy();if(!r)throw new Error(`[Vuetify] ${n} ${e||"must be called from inside a setup function"}`);return r}function oh(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Es(n).type;return Sd((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let gA=0,Cv=new WeakMap;function rl(){const n=Es("getUid");if(Cv.has(n))return Cv.get(n);{const e=gA++;return Cv.set(n,e),e}}rl.reset=()=>{gA=0,Cv=new WeakMap};function S_(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;n;){if(e?RV(n):C_(n))return n;n=n.parentElement}return document.scrollingElement}function oy(n,e){const r=[];if(e&&n&&!e.contains(n))return r;for(;n&&(C_(n)&&r.push(n),n!==e);)n=n.parentElement;return r}function C_(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return e.overflowY==="scroll"||e.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function RV(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return["scroll","auto"].includes(e.overflowY)}function zV(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Es("injectSelf");const{provides:r}=e;if(r&&n in r)return r[n]}function FV(n){for(;n;){if(window.getComputedStyle(n).position==="fixed")return!0;n=n.offsetParent}return!1}function Fr(n){const e=Es("useRender");e.render=n}const r0=Symbol.for("vuetify:defaults");function BV(n){return Gr(n)}function E_(){const n=Sa(r0);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function is(n,e){const r=E_(),S=Gr(n),D=cn(()=>{if(gu(e==null?void 0:e.disabled))return r.value;const o=gu(e==null?void 0:e.scoped),t=gu(e==null?void 0:e.reset),d=gu(e==null?void 0:e.root);if(S.value==null&&!(o||t||d))return r.value;let v=Wu(S.value,{prev:r.value});if(o)return v;if(t||d){const i=Number(t||1/0);for(let M=0;M<=i&&!(!v||!("prev"in v));M++)v=v.prev;return v&&typeof d=="string"&&d in v&&(v=Wu(Wu(v,{prev:v}),v[d])),v}return v.prev?Wu(v.prev,v):v});return as(r0,D),D}function NV(n,e){var r,S;return typeof((r=n.props)==null?void 0:r[e])<"u"||typeof((S=n.props)==null?void 0:S[Sd(e)])<"u"}function VV(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:E_();const S=Es("useDefaults");if(e=e??S.type.name??S.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const D=cn(()=>{var d;return(d=r.value)==null?void 0:d[n._as??e]}),x=new Proxy(n,{get(d,v){var M,g,p,u;const i=Reflect.get(d,v);return v==="class"||v==="style"?[(M=D.value)==null?void 0:M[v],i].filter(a=>a!=null):typeof v=="string"&&!NV(S.vnode,v)?((g=D.value)==null?void 0:g[v])??((u=(p=r.value)==null?void 0:p.global)==null?void 0:u[v])??i:i}}),o=Kr();wu(()=>{if(D.value){const d=Object.entries(D.value).filter(v=>{let[i]=v;return i.startsWith(i[0].toUpperCase())});o.value=d.length?Object.fromEntries(d):void 0}else o.value=void 0});function t(){const d=zV(r0,S);as(r0,cn(()=>o.value?Wu((d==null?void 0:d.value)??{},o.value):d==null?void 0:d.value))}return{props:x,provideSubDefaults:t}}const n1=["sm","md","lg","xl","xxl"],bx=Symbol.for("vuetify:display"),wT={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},jV=function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wT;return Wu(wT,n)};function TT(n){return no&&!n?window.innerWidth:typeof n=="object"&&n.clientWidth||0}function kT(n){return no&&!n?window.innerHeight:typeof n=="object"&&n.clientHeight||0}function MT(n){const e=no&&!n?window.navigator.userAgent:"ssr";function r(u){return!!e.match(u)}const S=r(/android/i),D=r(/iphone|ipad|ipod/i),x=r(/cordova/i),o=r(/electron/i),t=r(/chrome/i),d=r(/edge/i),v=r(/firefox/i),i=r(/opera/i),M=r(/win/i),g=r(/mac/i),p=r(/linux/i);return{android:S,ios:D,cordova:x,electron:o,chrome:t,edge:d,firefox:v,opera:i,win:M,mac:g,linux:p,touch:tV,ssr:e==="ssr"}}function UV(n,e){const{thresholds:r,mobileBreakpoint:S}=jV(n),D=Kr(kT(e)),x=Kr(MT(e)),o=Tl({}),t=Kr(TT(e));function d(){D.value=kT(),t.value=TT()}function v(){d(),x.value=MT()}return wu(()=>{const i=t.value=r.xxl,c=i?"xs":M?"sm":g?"md":p?"lg":u?"xl":"xxl",s=typeof S=="number"?S:r[S],l=t.valuejh(I_,{...n,class:"mdi"})},wi=[String,Function,Object,Array],xx=Symbol.for("vuetify:icons"),r1=cr({icon:{type:wi},tag:{type:String,required:!0}},"icon"),_x=Er()({name:"VComponentIcon",props:r1(),setup(n,e){let{slots:r}=e;return()=>{const S=n.icon;return dt(n.tag,null,{default:()=>{var D;return[n.icon?dt(S,null,null):(D=r.default)==null?void 0:D.call(r)]}})}}}),L_=Ju({name:"VSvgIcon",inheritAttrs:!1,props:r1(),setup(n,e){let{attrs:r}=e;return()=>dt(n.tag,Zr(r,{style:null}),{default:()=>[dt("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(S=>Array.isArray(S)?dt("path",{d:S[0],"fill-opacity":S[1]},null):dt("path",{d:S},null)):dt("path",{d:n.icon},null)])]})}}),WV=Ju({name:"VLigatureIcon",props:r1(),setup(n){return()=>dt(n.tag,null,{default:()=>[n.icon]})}}),I_=Ju({name:"VClassIcon",props:r1(),setup(n){return()=>dt(n.tag,{class:n.icon},null)}}),qV={svg:{component:L_},class:{component:I_}};function $V(n){return Wu({defaultSet:"mdi",sets:{...qV,mdi:GV},aliases:{...HV,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},n)}const YV=n=>{const e=Sa(xx);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:cn(()=>{var d;const S=gu(n);if(!S)return{component:_x};let D=S;if(typeof D=="string"&&(D=D.trim(),D.startsWith("$")&&(D=(d=e.aliases)==null?void 0:d[D.slice(1)])),!D)throw new Error(`Could not find aliased icon "${S}"`);if(Array.isArray(D))return{component:L_,icon:D};if(typeof D!="string")return{component:_x,icon:D};const x=Object.keys(e.sets).find(v=>typeof D=="string"&&D.startsWith(`${v}:`)),o=x?D.slice(x.length+1):D;return{component:e.sets[x??e.defaultSet].component,icon:o}})}},ZV={badge:"Badge",open:"Open",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},XV={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function Nh(n,e){let r;function S(){r=Nm(),r.run(()=>e.length?e(()=>{r==null||r.stop(),S()}):e())}ei(n,D=>{D&&!r?S():D||(r==null||r.stop(),r=void 0)},{immediate:!0}),Al(()=>{r==null||r.stop()})}function Ti(n,e,r){let S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:M=>M,D=arguments.length>4&&arguments[4]!==void 0?arguments[4]:M=>M;const x=Es("useProxiedModel"),o=Gr(n[e]!==void 0?n[e]:r),t=Sd(e),v=cn(t!==e?()=>{var M,g,p,u;return n[e],!!(((M=x.vnode.props)!=null&&M.hasOwnProperty(e)||(g=x.vnode.props)!=null&&g.hasOwnProperty(t))&&((p=x.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${e}`)||(u=x.vnode.props)!=null&&u.hasOwnProperty(`onUpdate:${t}`)))}:()=>{var M,g;return n[e],!!((M=x.vnode.props)!=null&&M.hasOwnProperty(e)&&((g=x.vnode.props)!=null&&g.hasOwnProperty(`onUpdate:${e}`)))});Nh(()=>!v.value,()=>{ei(()=>n[e],M=>{o.value=M})});const i=cn({get(){const M=n[e];return S(v.value?M:o.value)},set(M){const g=D(M),p=Ii(v.value?n[e]:o.value);p===g||S(p)===M||(o.value=g,x==null||x.emit(`update:${e}`,g))}});return Object.defineProperty(i,"externalValue",{get:()=>v.value?n[e]:o.value}),i}const AT="$vuetify.",ST=(n,e)=>n.replace(/\{(\d+)\}/g,(r,S)=>String(e[+S])),vA=(n,e,r)=>function(S){for(var D=arguments.length,x=new Array(D>1?D-1:0),o=1;onew Intl.NumberFormat([n.value,e.value],S).format(r)}function Ib(n,e,r){const S=Ti(n,e,n[e]??r.value);return S.value=n[e]??r.value,ei(r,D=>{n[e]==null&&(S.value=r.value)}),S}function bA(n){return e=>{const r=Ib(e,"locale",n.current),S=Ib(e,"fallback",n.fallback),D=Ib(e,"messages",n.messages);return{name:"vuetify",current:r,fallback:S,messages:D,t:vA(r,S,D),n:yA(r,S),provide:bA({current:r,fallback:S,messages:D})}}}function KV(n){const e=Kr((n==null?void 0:n.locale)??"en"),r=Kr((n==null?void 0:n.fallback)??"en"),S=Gr({en:ZV,...n==null?void 0:n.messages});return{name:"vuetify",current:e,fallback:r,messages:S,t:vA(e,r,S),n:yA(e,r),provide:bA({current:e,fallback:r,messages:S})}}const i0=Symbol.for("vuetify:locale");function JV(n){return n.name!=null}function QV(n){const e=n!=null&&n.adapter&&JV(n==null?void 0:n.adapter)?n==null?void 0:n.adapter:KV(n),r=tj(e,n);return{...e,...r}}function Qu(){const n=Sa(i0);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function ej(n){const e=Sa(i0);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");const r=e.provide(n),S=nj(r,e.rtl,n),D={...r,...S};return as(i0,D),D}function tj(n,e){const r=Gr((e==null?void 0:e.rtl)??XV),S=cn(()=>r.value[n.current.value]??!1);return{isRtl:S,rtl:r,rtlClasses:cn(()=>`v-locale--is-${S.value?"rtl":"ltr"}`)}}function nj(n,e,r){const S=cn(()=>r.rtl??e.value[n.current.value]??!1);return{isRtl:S,rtl:e,rtlClasses:cn(()=>`v-locale--is-${S.value?"rtl":"ltr"}`)}}function Ls(){const n=Sa(i0);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Dm=Symbol.for("vuetify:theme"),sa=cr({theme:String},"theme"),em={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function rj(){var r,S;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:em;if(!n)return{...em,isDisabled:!0};const e={};for(const[D,x]of Object.entries(n.themes??{})){const o=x.dark||D==="dark"?(r=em.themes)==null?void 0:r.dark:(S=em.themes)==null?void 0:S.light;e[D]=Wu(o,x)}return Wu(em,{...n,themes:e})}function ij(n){const e=rj(n),r=Gr(e.defaultTheme),S=Gr(e.themes),D=cn(()=>{const i={};for(const[M,g]of Object.entries(S.value)){const p=i[M]={...g,colors:{...g.colors}};if(e.variations)for(const u of e.variations.colors){const a=p.colors[u];if(a)for(const c of["lighten","darken"]){const s=c==="lighten"?LV:IV;for(const l of Gf(e.variations[c],1))p.colors[`${u}-${c}-${l}`]=fA(s(Cc(a),l))}}for(const u of Object.keys(p.colors)){if(/^on-[a-z]/.test(u)||p.colors[`on-${u}`])continue;const a=`on-${u}`,c=Cc(p.colors[u]);p.colors[a]=pA(c)}}return i}),x=cn(()=>D.value[r.value]),o=cn(()=>{const i=[];x.value.dark&&hd(i,":root",["color-scheme: dark"]),hd(i,":root",CT(x.value));for(const[u,a]of Object.entries(D.value))hd(i,`.v-theme--${u}`,[`color-scheme: ${a.dark?"dark":"normal"}`,...CT(a)]);const M=[],g=[],p=new Set(Object.values(D.value).flatMap(u=>Object.keys(u.colors)));for(const u of p)/^on-[a-z]/.test(u)?hd(g,`.${u}`,[`color: rgb(var(--v-theme-${u})) !important`]):(hd(M,`.bg-${u}`,[`--v-theme-overlay-multiplier: var(--v-theme-${u}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${u})) !important`,`color: rgb(var(--v-theme-on-${u})) !important`]),hd(g,`.text-${u}`,[`color: rgb(var(--v-theme-${u})) !important`]),hd(g,`.border-${u}`,[`--v-border-color: var(--v-theme-${u})`]));return i.push(...M,...g),i.map((u,a)=>a===0?u:` ${u}`).join("")});function t(){return{style:[{children:o.value,id:"vuetify-theme-stylesheet",nonce:e.cspNonce||!1}]}}function d(i){if(e.isDisabled)return;const M=i._context.provides.usehead;if(M)if(M.push){const p=M.push(t);no&&ei(o,()=>{p.patch(t)})}else no?(M.addHeadObjs(cn(t)),wu(()=>M.updateDOM())):M.addHeadObjs(t());else{let u=function(){if(typeof document<"u"&&!p){const a=document.createElement("style");a.type="text/css",a.id="vuetify-theme-stylesheet",e.cspNonce&&a.setAttribute("nonce",e.cspNonce),p=a,document.head.appendChild(p)}p&&(p.innerHTML=o.value)};var g=u;let p=no?document.getElementById("vuetify-theme-stylesheet"):null;no?ei(o,u,{immediate:!0}):u()}}const v=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`);return{install:d,isDisabled:e.isDisabled,name:r,themes:S,current:x,computedThemes:D,themeClasses:v,styles:o,global:{name:r,current:x}}}function Ca(n){Es("provideTheme");const e=Sa(Dm,null);if(!e)throw new Error("Could not find Vuetify theme injection");const r=cn(()=>n.theme??e.name.value),S=cn(()=>e.themes.value[r.value]),D=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`),x={...e,name:r,current:S,themeClasses:D};return as(Dm,x),x}function xA(){Es("useTheme");const n=Sa(Dm,null);if(!n)throw new Error("Could not find Vuetify theme injection");return n}function hd(n,e,r){n.push(`${e} { `,...r.map(S=>` ${S}; `),`} -`)}function CT(n){const e=n.dark?2:1,r=n.dark?1:2,S=[];for(const[D,x]of Object.entries(n.colors)){const o=Cc(x);S.push(`--v-theme-${D}: ${o.r},${o.g},${o.b}`),D.startsWith("on-")||S.push(`--v-theme-${D}-overlay-multiplier: ${yx(x)>.18?e:r}`)}for(const[D,x]of Object.entries(n.variables)){const o=typeof x=="string"&&x.startsWith("#")?Cc(x):void 0,t=o?`${o.r}, ${o.g}, ${o.b}`:void 0;S.push(`--v-${D}: ${t??x}`)}return S}const wx={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function aj(n,e){const r=[];let S=[];const D=_A(n),x=wA(n),o=D.getDay()-wx[e.slice(-2).toUpperCase()],t=x.getDay()-wx[e.slice(-2).toUpperCase()];for(let d=0;d{const S=new Date(ET);return S.setDate(ET.getDate()+e+r),new Intl.DateTimeFormat(n,{weekday:"narrow"}).format(S)})}function cj(n,e,r){const S=new Date(n);let D={};switch(e){case"fullDateWithWeekday":D={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":D={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":D={};break;case"monthAndDate":D={month:"long",day:"numeric"};break;case"monthAndYear":D={month:"long",year:"numeric"};break;case"dayOfMonth":D={day:"numeric"};break;default:D={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(r,D).format(S)}function fj(n,e){const r=new Date(n);return r.setDate(r.getDate()+e),r}function hj(n,e){const r=new Date(n);return r.setMonth(r.getMonth()+e),r}function dj(n){return n.getFullYear()}function pj(n){return n.getMonth()}function mj(n){return new Date(n.getFullYear(),0,1)}function gj(n){return new Date(n.getFullYear(),11,31)}function vj(n,e){return Tx(n,e[0])&&bj(n,e[1])}function yj(n){if(!n||n==null)return!1;const e=new Date(n);return e instanceof Date&&!isNaN(e.getTime())}function Tx(n,e){return n.getTime()>e.getTime()}function bj(n,e){return n.getTime()1&&arguments[1]!==void 0?arguments[1]:"content";const r=Gr(),S=Gr();if(no){const D=new ResizeObserver(x=>{n==null||n(x,D),x.length&&(e==="content"?S.value=x[0].contentRect:S.value=x[0].target.getBoundingClientRect())});Sl(()=>{D.disconnect()}),ei(r,(x,o)=>{o&&(D.unobserve(px(o)),S.value=void 0),x&&D.observe(px(x))},{flush:"post"})}return{resizeRef:r,contentRect:Vm(S)}}const sy=Symbol.for("vuetify:layout"),TA=Symbol.for("vuetify:layout-item"),OT=1e3,kA=cr({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),p0=cr({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function Cj(){const n=Sa(sy);if(!n)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:n.getLayoutItem,mainRect:n.mainRect,mainStyles:n.mainStyles}}function m0(n){const e=Sa(sy);if(!e)throw new Error("[Vuetify] Could not find injected layout");const r=n.id??`layout-item-${rl()}`,S=Es("useLayoutItem");as(TA,{id:r});const D=Kr(!1);O4(()=>D.value=!0),I4(()=>D.value=!1);const{layoutItemStyles:x,layoutItemScrimStyles:o}=e.register(S,{...n,active:cn(()=>D.value?!1:n.active.value),id:r});return Sl(()=>e.unregister(r)),{layoutItemStyles:x,layoutRect:e.layoutRect,layoutItemScrimStyles:o}}const Ej=(n,e,r,S)=>{let D={top:0,left:0,right:0,bottom:0};const x=[{id:"",layer:{...D}}];for(const o of n){const t=e.get(o),d=r.get(o),g=S.get(o);if(!t||!d||!g)continue;const i={...D,[t.value]:parseInt(D[t.value],10)+(g.value?parseInt(d.value,10):0)};x.push({id:o,layer:i}),D=i}return x};function MA(n){const e=Sa(sy,null),r=cn(()=>e?e.rootZIndex.value-100:OT),S=Gr([]),D=Tl(new Map),x=Tl(new Map),o=Tl(new Map),t=Tl(new Map),d=Tl(new Map),{resizeRef:g,contentRect:i}=gf(),M=cn(()=>{const _=new Map,y=n.overlaps??[];for(const C of y.filter(w=>w.includes(":"))){const[w,k]=C.split(":");if(!S.value.includes(w)||!S.value.includes(k))continue;const E=D.get(w),T=D.get(k),A=x.get(w),L=x.get(k);!E||!T||!A||!L||(_.set(k,{position:E.value,amount:parseInt(A.value,10)}),_.set(w,{position:T.value,amount:-parseInt(L.value,10)}))}return _}),v=cn(()=>{const _=[...new Set([...o.values()].map(C=>C.value))].sort((C,w)=>C-w),y=[];for(const C of _){const w=S.value.filter(k=>{var E;return((E=o.get(k))==null?void 0:E.value)===C});y.push(...w)}return Ej(y,D,x,t)}),p=cn(()=>!Array.from(d.values()).some(_=>_.value)),u=cn(()=>v.value[v.value.length-1].layer),a=cn(()=>({"--v-layout-left":ii(u.value.left),"--v-layout-right":ii(u.value.right),"--v-layout-top":ii(u.value.top),"--v-layout-bottom":ii(u.value.bottom),...p.value?void 0:{transition:"none"}})),c=cn(()=>v.value.slice(1).map((_,y)=>{let{id:C}=_;const{layer:w}=v.value[y],k=x.get(C),E=D.get(C);return{id:C,...w,size:Number(k.value),position:E.value}})),s=_=>c.value.find(y=>y.id===_),l=Es("createLayout"),h=Kr(!1);nl(()=>{h.value=!0}),as(sy,{register:(_,y)=>{let{id:C,order:w,position:k,layoutSize:E,elementSize:T,active:A,disableTransitions:L,absolute:b}=y;o.set(C,w),D.set(C,k),x.set(C,E),t.set(C,A),L&&d.set(C,L);const I=pm(TA,l==null?void 0:l.vnode).indexOf(_);I>-1?S.value.splice(I,0,C):S.value.push(C);const R=cn(()=>c.value.findIndex(N=>N.id===C)),z=cn(()=>r.value+v.value.length*2-R.value*2),F=cn(()=>{const N=k.value==="left"||k.value==="right",q=k.value==="right",j=k.value==="bottom",Y={[k.value]:0,zIndex:z.value,transform:`translate${N?"X":"Y"}(${(A.value?0:-110)*(q||j?-1:1)}%)`,position:b.value||r.value!==OT?"absolute":"fixed",...p.value?void 0:{transition:"none"}};if(!h.value)return Y;const U=c.value[R.value];if(!U)throw new Error(`[Vuetify] Could not find layout item "${C}"`);const G=M.value.get(C);return G&&(U[G.position]+=G.amount),{...Y,height:N?`calc(100% - ${U.top}px - ${U.bottom}px)`:T.value?`${T.value}px`:void 0,left:q?void 0:`${U.left}px`,right:q?`${U.right}px`:void 0,top:k.value!=="bottom"?`${U.top}px`:void 0,bottom:k.value!=="top"?`${U.bottom}px`:void 0,width:N?T.value?`${T.value}px`:void 0:`calc(100% - ${U.left}px - ${U.right}px)`}}),B=cn(()=>({zIndex:z.value-1}));return{layoutItemStyles:F,layoutItemScrimStyles:B,zIndex:z}},unregister:_=>{o.delete(_),D.delete(_),x.delete(_),t.delete(_),d.delete(_),S.value=S.value.filter(y=>y!==_)},mainRect:u,mainStyles:a,getLayoutItem:s,items:c,layoutRect:i,rootZIndex:r});const f=cn(()=>["v-layout",{"v-layout--full-height":n.fullHeight}]),m=cn(()=>({zIndex:r.value,position:e?"relative":void 0,overflow:e?"hidden":void 0}));return{layoutClasses:f,layoutStyles:m,getLayoutItem:s,items:c,layoutRect:i,layoutRef:g}}function AA(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...r}=n,S=Wu(e,r),{aliases:D={},components:x={},directives:o={}}=S,t=BV(S.defaults),d=UV(S.display,S.ssr),g=ij(S.theme),i=$V(S.icons),M=QV(S.locale),v=Sj(S.date);return{install:u=>{for(const a in o)u.directive(a,o[a]);for(const a in x)u.component(a,x[a]);for(const a in D)u.component(a,Ju({...D[a],name:a,aliasName:D[a].name}));if(g.install(u),u.provide(r0,t),u.provide(bx,d),u.provide(Dm,g),u.provide(xx,i),u.provide(i0,M),u.provide(IT,v),no&&S.ssr)if(u.$nuxt)u.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:a}=u;u.mount=function(){const c=a(...arguments);return qa(()=>d.update()),u.mount=a,c}}rl.reset(),u.mixin({computed:{$vuetify(){return Tl({defaults:Tp.call(this,r0),display:Tp.call(this,bx),theme:Tp.call(this,Dm),icons:Tp.call(this,xx),locale:Tp.call(this,i0),date:Tp.call(this,IT)})}}})},defaults:t,display:d,theme:g,icons:i,locale:M,date:v}}const Lj="3.3.16";AA.version=Lj;function Tp(n){var S,D;const e=this.$,r=((S=e.parent)==null?void 0:S.provides)??((D=e.vnode.appContext)==null?void 0:D.provides);if(r&&n in r)return r[n]}const Ij=cr({...Jr(),...kA({fullHeight:!0}),...sa()},"VApp"),Oj=Er()({name:"VApp",props:Ij(),setup(n,e){let{slots:r}=e;const S=Ca(n),{layoutClasses:D,layoutStyles:x,getLayoutItem:o,items:t,layoutRef:d}=MA(n),{rtlClasses:g}=Ls();return Fr(()=>{var i;return dt("div",{ref:d,class:["v-application",S.themeClasses.value,D.value,g.value,n.class],style:[x.value,n.style]},[dt("div",{class:"v-application__wrap"},[(i=r.default)==null?void 0:i.call(r)])])}),{getLayoutItem:o,items:t,theme:S}}});const Li=cr({tag:{type:String,default:"div"}},"tag"),SA=cr({text:String,...Jr(),...Li()},"VToolbarTitle"),O_=Er()({name:"VToolbarTitle",props:SA(),setup(n,e){let{slots:r}=e;return Fr(()=>{const S=!!(r.default||r.text||n.text);return dt(n.tag,{class:["v-toolbar-title",n.class],style:n.style},{default:()=>{var D;return[S&&dt("div",{class:"v-toolbar-title__placeholder"},[r.text?r.text():n.text,(D=r.default)==null?void 0:D.call(r)])]}})}),{}}}),Pj=cr({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Mu(n,e,r){return Er()({name:n,props:Pj({mode:r,origin:e}),setup(S,D){let{slots:x}=D;const o={onBeforeEnter(t){S.origin&&(t.style.transformOrigin=S.origin)},onLeave(t){if(S.leaveAbsolute){const{offsetTop:d,offsetLeft:g,offsetWidth:i,offsetHeight:M}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=`${d}px`,t.style.left=`${g}px`,t.style.width=`${i}px`,t.style.height=`${M}px`}S.hideOnLeave&&t.style.setProperty("display","none","important")},onAfterLeave(t){if(S.leaveAbsolute&&(t!=null&&t._transitionInitialStyles)){const{position:d,top:g,left:i,width:M,height:v}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=d||"",t.style.top=g||"",t.style.left=i||"",t.style.width=M||"",t.style.height=v||""}}};return()=>{const t=S.group?u9:hf;return jh(t,{name:S.disabled?"":n,css:!S.disabled,...S.group?void 0:{mode:S.mode},...S.disabled?{}:o},x.default)}}})}function CA(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Er()({name:n,props:{mode:{type:String,default:r},disabled:Boolean},setup(S,D){let{slots:x}=D;return()=>jh(hf,{name:S.disabled?"":n,css:!S.disabled,...S.disabled?{}:e},x.default)}})}function EA(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",S=Zu(`offset-${r}`);return{onBeforeEnter(o){o._parent=o.parentNode,o._initialStyle={transition:o.style.transition,overflow:o.style.overflow,[r]:o.style[r]}},onEnter(o){const t=o._initialStyle;o.style.setProperty("transition","none","important"),o.style.overflow="hidden";const d=`${o[S]}px`;o.style[r]="0",o.offsetHeight,o.style.transition=t.transition,n&&o._parent&&o._parent.classList.add(n),requestAnimationFrame(()=>{o.style[r]=d})},onAfterEnter:x,onEnterCancelled:x,onLeave(o){o._initialStyle={transition:"",overflow:o.style.overflow,[r]:o.style[r]},o.style.overflow="hidden",o.style[r]=`${o[S]}px`,o.offsetHeight,requestAnimationFrame(()=>o.style[r]="0")},onAfterLeave:D,onLeaveCancelled:D};function D(o){n&&o._parent&&o._parent.classList.remove(n),x(o)}function x(o){const t=o._initialStyle[r];o.style.overflow=o._initialStyle.overflow,t!=null&&(o.style[r]=t),delete o._initialStyle}}const Dj=cr({target:Object},"v-dialog-transition"),i1=Er()({name:"VDialogTransition",props:Dj(),setup(n,e){let{slots:r}=e;const S={onBeforeEnter(D){D.style.pointerEvents="none",D.style.visibility="hidden"},async onEnter(D,x){var v;await new Promise(p=>requestAnimationFrame(p)),await new Promise(p=>requestAnimationFrame(p)),D.style.visibility="";const{x:o,y:t,sx:d,sy:g,speed:i}=DT(n.target,D),M=_d(D,[{transform:`translate(${o}px, ${t}px) scale(${d}, ${g})`,opacity:0},{}],{duration:225*i,easing:PV});(v=PT(D))==null||v.forEach(p=>{_d(p,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*i,easing:Pm})}),M.finished.then(()=>x())},onAfterEnter(D){D.style.removeProperty("pointer-events")},onBeforeLeave(D){D.style.pointerEvents="none"},async onLeave(D,x){var v;await new Promise(p=>requestAnimationFrame(p));const{x:o,y:t,sx:d,sy:g,speed:i}=DT(n.target,D);_d(D,[{},{transform:`translate(${o}px, ${t}px) scale(${d}, ${g})`,opacity:0}],{duration:125*i,easing:DV}).finished.then(()=>x()),(v=PT(D))==null||v.forEach(p=>{_d(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*i,easing:Pm})})},onAfterLeave(D){D.style.removeProperty("pointer-events")}};return()=>n.target?dt(hf,Zr({name:"dialog-transition"},S,{css:!1}),r):dt(hf,{name:"dialog-transition"},r)}});function PT(n){var r;const e=(r=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return e&&[...e]}function DT(n,e){const r=n.getBoundingClientRect(),S=k_(e),[D,x]=getComputedStyle(e).transformOrigin.split(" ").map(s=>parseFloat(s)),[o,t]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let d=r.left+r.width/2;o==="left"||t==="left"?d-=r.width/2:(o==="right"||t==="right")&&(d+=r.width/2);let g=r.top+r.height/2;o==="top"||t==="top"?g-=r.height/2:(o==="bottom"||t==="bottom")&&(g+=r.height/2);const i=r.width/S.width,M=r.height/S.height,v=Math.max(1,i,M),p=i/v||0,u=M/v||0,a=S.width*S.height/(window.innerWidth*window.innerHeight),c=a>.12?Math.min(1.5,(a-.12)*10+1):1;return{x:d-(D+S.left),y:g-(x+S.top),sx:p,sy:u,speed:c}}const Rj=Mu("fab-transition","center center","out-in"),zj=Mu("dialog-bottom-transition"),Fj=Mu("dialog-top-transition"),kx=Mu("fade-transition"),P_=Mu("scale-transition"),Bj=Mu("scroll-x-transition"),Nj=Mu("scroll-x-reverse-transition"),Vj=Mu("scroll-y-transition"),jj=Mu("scroll-y-reverse-transition"),Uj=Mu("slide-x-transition"),Hj=Mu("slide-x-reverse-transition"),D_=Mu("slide-y-transition"),Gj=Mu("slide-y-reverse-transition"),a1=CA("expand-transition",EA()),R_=CA("expand-x-transition",EA("",!0)),Wj=cr({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Va=Er(!1)({name:"VDefaultsProvider",props:Wj(),setup(n,e){let{slots:r}=e;const{defaults:S,disabled:D,reset:x,root:o,scoped:t}=py(n);return is(S,{reset:x,root:o,scoped:t,disabled:D}),()=>{var d;return(d=r.default)==null?void 0:d.call(r)}}});const ec=cr({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function tc(n){return{dimensionStyles:cn(()=>({height:ii(n.height),maxHeight:ii(n.maxHeight),maxWidth:ii(n.maxWidth),minHeight:ii(n.minHeight),minWidth:ii(n.minWidth),width:ii(n.width)}))}}function qj(n){return{aspectStyles:cn(()=>{const e=Number(n.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const LA=cr({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Jr(),...ec()},"VResponsive"),Mx=Er()({name:"VResponsive",props:LA(),setup(n,e){let{slots:r}=e;const{aspectStyles:S}=qj(n),{dimensionStyles:D}=tc(n);return Fr(()=>{var x;return dt("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[D.value,n.style]},[dt("div",{class:"v-responsive__sizer",style:S.value},null),(x=r.additional)==null?void 0:x.call(r),r.default&&dt("div",{class:["v-responsive__content",n.contentClass]},[r.default()])])}),{}}}),sh=cr({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),Ec=(n,e)=>{let{slots:r}=e;const{transition:S,disabled:D,...x}=n,{component:o=hf,...t}=typeof S=="object"?S:{};return jh(o,Zr(typeof S=="string"?{name:D?"":S}:t,x,{disabled:D}),r)};function $j(n,e){if(!x_)return;const r=e.modifiers||{},S=e.value,{handler:D,options:x}=typeof S=="object"?S:{handler:S,options:{}},o=new IntersectionObserver(function(){var M;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1?arguments[1]:void 0;const g=(M=n._observe)==null?void 0:M[e.instance.$.uid];if(!g)return;const i=t.some(v=>v.isIntersecting);D&&(!r.quiet||g.init)&&(!r.once||i||g.init)&&D(i,t,d),i&&r.once?IA(n,e):g.init=!0},x);n._observe=Object(n._observe),n._observe[e.instance.$.uid]={init:!1,observer:o},o.observe(n)}function IA(n,e){var S;const r=(S=n._observe)==null?void 0:S[e.instance.$.uid];r&&(r.observer.unobserve(n),delete n._observe[e.instance.$.uid])}const ug={mounted:$j,unmounted:IA},OA=cr({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...LA(),...Jr(),...sh()},"VImg"),Bd=Er()({name:"VImg",directives:{intersect:ug},props:OA(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,e){let{emit:r,slots:S}=e;const D=Kr(""),x=Gr(),o=Kr(n.eager?"loading":"idle"),t=Kr(),d=Kr(),g=cn(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),i=cn(()=>g.value.aspect||t.value/d.value||0);ei(()=>n.src,()=>{M(o.value!=="idle")}),ei(i,(C,w)=>{!C&&w&&x.value&&c(x.value)}),xy(()=>M());function M(C){if(!(n.eager&&C)&&!(x_&&!C&&!n.eager)){if(o.value="loading",g.value.lazySrc){const w=new Image;w.src=g.value.lazySrc,c(w,null)}g.value.src&&qa(()=>{var w,k;if(r("loadstart",((w=x.value)==null?void 0:w.currentSrc)||g.value.src),(k=x.value)!=null&&k.complete){if(x.value.naturalWidth||p(),o.value==="error")return;i.value||c(x.value,null),v()}else i.value||c(x.value),u()})}}function v(){var C;u(),o.value="loaded",r("load",((C=x.value)==null?void 0:C.currentSrc)||g.value.src)}function p(){var C;o.value="error",r("error",((C=x.value)==null?void 0:C.currentSrc)||g.value.src)}function u(){const C=x.value;C&&(D.value=C.currentSrc||C.src)}let a=-1;function c(C){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const k=()=>{clearTimeout(a);const{naturalHeight:E,naturalWidth:T}=C;E||T?(t.value=T,d.value=E):!C.complete&&o.value==="loading"&&w!=null?a=window.setTimeout(k,w):(C.currentSrc.endsWith(".svg")||C.currentSrc.startsWith("data:image/svg+xml"))&&(t.value=1,d.value=1)};k()}const s=cn(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),l=()=>{var k;if(!g.value.src||o.value==="idle")return null;const C=dt("img",{class:["v-img__img",s.value],src:g.value.src,srcset:g.value.srcset,alt:n.alt,sizes:n.sizes,ref:x,onLoad:v,onError:p},null),w=(k=S.sources)==null?void 0:k.call(S);return dt(Ec,{transition:n.transition,appear:!0},{default:()=>[Lo(w?dt("picture",{class:"v-img__picture"},[w,C]):C,[[vf,o.value==="loaded"]])]})},h=()=>dt(Ec,{transition:n.transition},{default:()=>[g.value.lazySrc&&o.value!=="loaded"&&dt("img",{class:["v-img__img","v-img__img--preload",s.value],src:g.value.lazySrc,alt:n.alt},null)]}),f=()=>S.placeholder?dt(Ec,{transition:n.transition,appear:!0},{default:()=>[(o.value==="loading"||o.value==="error"&&!S.error)&&dt("div",{class:"v-img__placeholder"},[S.placeholder()])]}):null,m=()=>S.error?dt(Ec,{transition:n.transition,appear:!0},{default:()=>[o.value==="error"&&dt("div",{class:"v-img__error"},[S.error()])]}):null,_=()=>n.gradient?dt("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,y=Kr(!1);{const C=ei(i,w=>{w&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{y.value=!0})}),C())})}return Fr(()=>{const[C]=Mx.filterProps(n);return Lo(dt(Mx,Zr({class:["v-img",{"v-img--booting":!y.value},n.class],style:[{width:ii(n.width==="auto"?t.value:n.width)},n.style]},C,{aspectRatio:i.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>dt(Xr,null,[dt(l,null,null),dt(h,null,null),dt(_,null,null),dt(f,null,null),dt(m,null,null)]),default:S.default}),[[Tu("intersect"),{handler:M,options:n.options},null,{once:!0}]])}),{currentSrc:D,image:x,state:o,naturalWidth:t,naturalHeight:d}}}),Au=cr({border:[Boolean,Number,String]},"border");function nc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();return{borderClasses:cn(()=>{const S=to(n)?n.value:n.border,D=[];if(S===!0||S==="")D.push(`${e}--border`);else if(typeof S=="string"||S===0)for(const x of String(S).split(" "))D.push(`border-${x}`);return D})}}function z_(n){return w_(()=>{const e=[],r={};if(n.value.background)if(bT(n.value.background)){if(r.backgroundColor=n.value.background,!n.value.text){const S=pA(r.backgroundColor);r.color=S,r.caretColor=S}}else e.push(`bg-${n.value.background}`);return n.value.text&&(bT(n.value.text)?(r.color=n.value.text,r.caretColor=n.value.text):e.push(`text-${n.value.text}`)),{colorClasses:e,colorStyles:r}})}function tl(n,e){const r=cn(()=>({text:to(n)?n.value:e?n[e]:null})),{colorClasses:S,colorStyles:D}=z_(r);return{textColorClasses:S,textColorStyles:D}}function Fo(n,e){const r=cn(()=>({background:to(n)?n.value:e?n[e]:null})),{colorClasses:S,colorStyles:D}=z_(r);return{backgroundColorClasses:S,backgroundColorStyles:D}}const ps=cr({elevation:{type:[Number,String],validator(n){const e=parseInt(n);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Ws(n){return{elevationClasses:cn(()=>{const r=to(n)?n.value:n.elevation,S=[];return r==null||S.push(`elevation-${r}`),S})}}const uo=cr({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Oo(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();return{roundedClasses:cn(()=>{const S=to(n)?n.value:n.rounded,D=[];if(S===!0||S==="")D.push(`${e}--rounded`);else if(typeof S=="string"||S===0)for(const x of String(S).split(" "))D.push(`rounded-${x}`);return D})}}const Yj=[null,"prominent","default","comfortable","compact"],PA=cr({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:n=>Yj.includes(n)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Au(),...Jr(),...ps(),...uo(),...Li({tag:"header"}),...sa()},"VToolbar"),Ax=Er()({name:"VToolbar",props:PA(),setup(n,e){var p;let{slots:r}=e;const{backgroundColorClasses:S,backgroundColorStyles:D}=Fo(Ir(n,"color")),{borderClasses:x}=nc(n),{elevationClasses:o}=Ws(n),{roundedClasses:t}=Oo(n),{themeClasses:d}=Ca(n),{rtlClasses:g}=Ls(),i=Kr(!!(n.extended||(p=r.extension)!=null&&p.call(r))),M=cn(()=>parseInt(Number(n.height)+(n.density==="prominent"?Number(n.height):0)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0),10)),v=cn(()=>i.value?parseInt(Number(n.extensionHeight)+(n.density==="prominent"?Number(n.extensionHeight):0)-(n.density==="comfortable"?4:0)-(n.density==="compact"?8:0),10):0);return is({VBtn:{variant:"text"}}),Fr(()=>{var s;const u=!!(n.title||r.title),a=!!(r.image||n.image),c=(s=r.extension)==null?void 0:s.call(r);return i.value=!!(n.extended||c),dt(n.tag,{class:["v-toolbar",{"v-toolbar--absolute":n.absolute,"v-toolbar--collapse":n.collapse,"v-toolbar--flat":n.flat,"v-toolbar--floating":n.floating,[`v-toolbar--density-${n.density}`]:!0},S.value,x.value,o.value,t.value,d.value,g.value,n.class],style:[D.value,n.style]},{default:()=>[a&&dt("div",{key:"image",class:"v-toolbar__image"},[r.image?dt(Va,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},r.image):dt(Bd,{key:"image-img",cover:!0,src:n.image},null)]),dt(Va,{defaults:{VTabs:{height:ii(M.value)}}},{default:()=>{var l,h,f;return[dt("div",{class:"v-toolbar__content",style:{height:ii(M.value)}},[r.prepend&&dt("div",{class:"v-toolbar__prepend"},[(l=r.prepend)==null?void 0:l.call(r)]),u&&dt(O_,{key:"title",text:n.title},{text:r.title}),(h=r.default)==null?void 0:h.call(r),r.append&&dt("div",{class:"v-toolbar__append"},[(f=r.append)==null?void 0:f.call(r)])])]}}),dt(Va,{defaults:{VTabs:{height:ii(v.value)}}},{default:()=>[dt(a1,null,{default:()=>[i.value&&dt("div",{class:"v-toolbar__extension",style:{height:ii(v.value)}},[c])]})]})]})}),{contentHeight:M,extensionHeight:v}}}),Zj=cr({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function Xj(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:r}=e;let S=0;const D=Gr(null),x=Kr(0),o=Kr(0),t=Kr(0),d=Kr(!1),g=Kr(!1),i=cn(()=>Number(n.scrollThreshold)),M=cn(()=>el((i.value-x.value)/i.value||0)),v=()=>{const p=D.value;!p||r&&!r.value||(S=x.value,x.value="window"in p?p.pageYOffset:p.scrollTop,g.value=x.value{o.value=o.value||x.value}),ei(d,()=>{o.value=0}),nl(()=>{ei(()=>n.scrollTarget,p=>{var a;const u=p?document.querySelector(p):window;u&&u!==D.value&&((a=D.value)==null||a.removeEventListener("scroll",v),D.value=u,D.value.addEventListener("scroll",v,{passive:!0}))},{immediate:!0})}),Sl(()=>{var p;(p=D.value)==null||p.removeEventListener("scroll",v)}),r&&ei(r,v,{immediate:!0}),{scrollThreshold:i,currentScroll:x,currentThreshold:t,isScrollActive:d,scrollRatio:M,isScrollingUp:g,savedScroll:o}}function Yd(){const n=Kr(!1);return nl(()=>{window.requestAnimationFrame(()=>{n.value=!0})}),{ssrBootStyles:cn(()=>n.value?void 0:{transition:"none !important"}),isBooted:Vm(n)}}const Kj=cr({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},...PA(),...p0(),...Zj(),height:{type:[Number,String],default:64}},"VAppBar"),Jj=Er()({name:"VAppBar",props:Kj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Gr(),D=Ti(n,"modelValue"),x=cn(()=>{var l;const s=new Set(((l=n.scrollBehavior)==null?void 0:l.split(" "))??[]);return{hide:s.has("hide"),inverted:s.has("inverted"),collapse:s.has("collapse"),elevate:s.has("elevate"),fadeImage:s.has("fade-image")}}),o=cn(()=>{const s=x.value;return s.hide||s.inverted||s.collapse||s.elevate||s.fadeImage||!D.value}),{currentScroll:t,scrollThreshold:d,isScrollingUp:g,scrollRatio:i}=Xj(n,{canScroll:o}),M=cn(()=>n.collapse||x.value.collapse&&(x.value.inverted?i.value>0:i.value===0)),v=cn(()=>n.flat||x.value.elevate&&(x.value.inverted?t.value>0:t.value===0)),p=cn(()=>x.value.fadeImage?x.value.inverted?1-i.value:i.value:void 0),u=cn(()=>{var h,f;if(x.value.hide&&x.value.inverted)return 0;const s=((h=S.value)==null?void 0:h.contentHeight)??0,l=((f=S.value)==null?void 0:f.extensionHeight)??0;return s+l});Nh(cn(()=>!!n.scrollBehavior),()=>{wu(()=>{x.value.hide?x.value.inverted?D.value=t.value>d.value:D.value=g.value||t.valueparseInt(n.order,10)),position:Ir(n,"location"),layoutSize:u,elementSize:Kr(void 0),active:D,absolute:Ir(n,"absolute")});return Fr(()=>{const[s]=Ax.filterProps(n);return dt(Ax,Zr({ref:S,class:["v-app-bar",{"v-app-bar--bottom":n.location==="bottom"},n.class],style:[{...c.value,"--v-toolbar-image-opacity":p.value,height:void 0,...a.value},n.style]},s,{collapse:M.value,flat:v.value}),r)}),{}}});const Qj=[null,"default","comfortable","compact"],ms=cr({density:{type:String,default:"default",validator:n=>Qj.includes(n)}},"density");function il(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();return{densityClasses:cn(()=>`${e}--density-${n.density}`)}}const eU=["elevated","flat","tonal","outlined","text","plain"];function Zd(n,e){return dt(Xr,null,[n&&dt("span",{key:"overlay",class:`${e}__overlay`},null),dt("span",{key:"underlay",class:`${e}__underlay`},null)])}const rc=cr({color:String,variant:{type:String,default:"elevated",validator:n=>eU.includes(n)}},"variant");function Xd(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();const r=cn(()=>{const{variant:x}=gu(n);return`${e}--variant-${x}`}),{colorClasses:S,colorStyles:D}=z_(cn(()=>{const{variant:x,color:o}=gu(n);return{[["elevated","flat"].includes(x)?"background":"text"]:o}}));return{colorClasses:S,colorStyles:D,variantClasses:r}}const DA=cr({divided:Boolean,...Au(),...Jr(),...ms(),...ps(),...uo(),...Li(),...sa(),...rc()},"VBtnGroup"),Sx=Er()({name:"VBtnGroup",props:DA(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{densityClasses:D}=il(n),{borderClasses:x}=nc(n),{elevationClasses:o}=Ws(n),{roundedClasses:t}=Oo(n);is({VBtn:{height:"auto",color:Ir(n,"color"),density:Ir(n,"density"),flat:!0,variant:Ir(n,"variant")}}),Fr(()=>dt(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},S.value,x.value,D.value,o.value,t.value,n.class],style:n.style},r))}}),g0=cr({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),v0=cr({value:null,disabled:Boolean,selectedClass:String},"group-item");function y0(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const S=Es("useGroupItem");if(!S)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const D=rl();as(Symbol.for(`${e.description}:id`),D);const x=Sa(e,null);if(!x){if(!r)return x;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const o=Ir(n,"value"),t=cn(()=>!!(x.disabled.value||n.disabled));x.register({id:D,value:o,disabled:t},S),Sl(()=>{x.unregister(D)});const d=cn(()=>x.isSelected(D)),g=cn(()=>d.value&&[x.selectedClass.value,n.selectedClass]);return ei(d,i=>{S.emit("group:selected",{value:i})}),{id:D,isSelected:d,toggle:()=>x.select(D,!d.value),select:i=>x.select(D,i),selectedClass:g,value:o,disabled:t,group:x}}function Kd(n,e){let r=!1;const S=Tl([]),D=Ti(n,"modelValue",[],v=>v==null?[]:RA(S,bu(v)),v=>{const p=nU(S,v);return n.multiple?p:p[0]}),x=Es("useGroup");function o(v,p){const u=v,a=Symbol.for(`${e.description}:id`),s=pm(a,x==null?void 0:x.vnode).indexOf(p);s>-1?S.splice(s,0,u):S.push(u)}function t(v){if(r)return;d();const p=S.findIndex(u=>u.id===v);S.splice(p,1)}function d(){const v=S.find(p=>!p.disabled);v&&n.mandatory==="force"&&!D.value.length&&(D.value=[v.id])}nl(()=>{d()}),Sl(()=>{r=!0});function g(v,p){const u=S.find(a=>a.id===v);if(!(p&&(u!=null&&u.disabled)))if(n.multiple){const a=D.value.slice(),c=a.findIndex(l=>l===v),s=~c;if(p=p??!s,s&&n.mandatory&&a.length<=1||!s&&n.max!=null&&a.length+1>n.max)return;c<0&&p?a.push(v):c>=0&&!p&&a.splice(c,1),D.value=a}else{const a=D.value.includes(v);if(n.mandatory&&a)return;D.value=p??!a?[v]:[]}}function i(v){if(n.multiple,D.value.length){const p=D.value[0],u=S.findIndex(s=>s.id===p);let a=(u+v)%S.length,c=S[a];for(;c.disabled&&a!==u;)a=(a+v)%S.length,c=S[a];if(c.disabled)return;D.value=[S[a].id]}else{const p=S.find(u=>!u.disabled);p&&(D.value=[p.id])}}const M={register:o,unregister:t,selected:D,select:g,disabled:Ir(n,"disabled"),prev:()=>i(S.length-1),next:()=>i(1),isSelected:v=>D.value.includes(v),selectedClass:cn(()=>n.selectedClass),items:cn(()=>S),getItemIndex:v=>tU(S,v)};return as(e,M),M}function tU(n,e){const r=RA(n,[e]);return r.length?n.findIndex(S=>S.id===r[0]):-1}function RA(n,e){const r=[];return e.forEach(S=>{const D=n.find(o=>d0(S,o.value)),x=n[S];(D==null?void 0:D.value)!=null?r.push(D.id):x!=null&&r.push(x.id)}),r}function nU(n,e){const r=[];return e.forEach(S=>{const D=n.findIndex(x=>x.id===S);if(~D){const x=n[D];r.push(x.value!=null?x.value:D)}}),r}const F_=Symbol.for("vuetify:v-btn-toggle"),rU=cr({...DA(),...g0()},"VBtnToggle"),iU=Er()({name:"VBtnToggle",props:rU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:S,next:D,prev:x,select:o,selected:t}=Kd(n,F_);return Fr(()=>{const[d]=Sx.filterProps(n);return dt(Sx,Zr({class:["v-btn-toggle",n.class]},d,{style:n.style}),{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:S,next:D,prev:x,select:o,selected:t})]}})}),{next:D,prev:x,select:o}}});const aU=["x-small","small","default","large","x-large"],lh=cr({size:{type:[String,Number],default:"default"}},"size");function b0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();return w_(()=>{let r,S;return ry(aU,n.size)?r=`${e}--size-${n.size}`:n.size&&(S={width:ii(n.size),height:ii(n.size)}),{sizeClasses:r,sizeStyles:S}})}const oU=cr({color:String,start:Boolean,end:Boolean,icon:wi,...Jr(),...lh(),...Li({tag:"i"}),...sa()},"VIcon"),Wa=Er()({name:"VIcon",props:oU(),setup(n,e){let{attrs:r,slots:S}=e;const D=Gr(),{themeClasses:x}=Ca(n),{iconData:o}=YV(cn(()=>D.value||n.icon)),{sizeClasses:t}=b0(n),{textColorClasses:d,textColorStyles:g}=tl(Ir(n,"color"));return Fr(()=>{var M,v;const i=(M=S.default)==null?void 0:M.call(S);return i&&(D.value=(v=eA(i).filter(p=>p.type===jm&&p.children&&typeof p.children=="string")[0])==null?void 0:v.children),dt(o.value.component,{tag:n.tag,icon:o.value.icon,class:["v-icon","notranslate",x.value,t.value,d.value,{"v-icon--clickable":!!r.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[t.value?void 0:{fontSize:ii(n.size),height:ii(n.size),width:ii(n.size)},g.value,n.style],role:r.onClick?"button":void 0,"aria-hidden":!r.onClick},{default:()=>[i]})}),{}}});function B_(n,e){const r=Gr(),S=Kr(!1);if(x_){const D=new IntersectionObserver(x=>{n==null||n(x,D),S.value=!!x.find(o=>o.isIntersecting)},e);Sl(()=>{D.disconnect()}),ei(r,(x,o)=>{o&&(D.unobserve(o),S.value=!1),x&&D.observe(x)},{flush:"post"})}return{intersectionRef:r,isIntersecting:S}}const sU=cr({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Jr(),...lh(),...Li({tag:"div"}),...sa()},"VProgressCircular"),N_=Er()({name:"VProgressCircular",props:sU(),setup(n,e){let{slots:r}=e;const S=20,D=2*Math.PI*S,x=Gr(),{themeClasses:o}=Ca(n),{sizeClasses:t,sizeStyles:d}=b0(n),{textColorClasses:g,textColorStyles:i}=tl(Ir(n,"color")),{textColorClasses:M,textColorStyles:v}=tl(Ir(n,"bgColor")),{intersectionRef:p,isIntersecting:u}=B_(),{resizeRef:a,contentRect:c}=gf(),s=cn(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),l=cn(()=>Number(n.width)),h=cn(()=>d.value?Number(n.size):c.value?c.value.width:Math.max(l.value,32)),f=cn(()=>S/(1-l.value/h.value)*2),m=cn(()=>l.value/h.value*f.value),_=cn(()=>ii((100-s.value)/100*D));return wu(()=>{p.value=x.value,a.value=x.value}),Fr(()=>dt(n.tag,{ref:x,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":u.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},o.value,t.value,g.value,n.class],style:[d.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:s.value},{default:()=>[dt("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${f.value} ${f.value}`},[dt("circle",{class:["v-progress-circular__underlay",M.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:S,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":0},null),dt("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:S,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":_.value},null)]),r.default&&dt("div",{class:"v-progress-circular__content"},[r.default({value:s.value})])]})),{}}});const RT={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Gh=cr({location:String},"location");function Wh(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const{isRtl:S}=Ls();return{locationStyles:cn(()=>{if(!n.location)return{};const{side:x,align:o}=gx(n.location.split(" ").length>1?n.location:`${n.location} center`,S.value);function t(g){return r?r(g):0}const d={};return x!=="center"&&(e?d[RT[x]]=`calc(100% - ${t(x)}px)`:d[x]=0),o!=="center"?e?d[RT[o]]=`calc(100% - ${t(o)}px)`:d[o]=0:(x==="center"?d.top=d.left="50%":d[{top:"left",bottom:"left",left:"top",right:"top"}[x]]="50%",d.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[x]),d})}}const lU=cr({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Jr(),...Gh({location:"top"}),...uo(),...Li(),...sa()},"VProgressLinear"),V_=Er()({name:"VProgressLinear",props:lU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),{isRtl:D,rtlClasses:x}=Ls(),{themeClasses:o}=Ca(n),{locationStyles:t}=Wh(n),{textColorClasses:d,textColorStyles:g}=tl(n,"color"),{backgroundColorClasses:i,backgroundColorStyles:M}=Fo(cn(()=>n.bgColor||n.color)),{backgroundColorClasses:v,backgroundColorStyles:p}=Fo(n,"color"),{roundedClasses:u}=Oo(n),{intersectionRef:a,isIntersecting:c}=B_(),s=cn(()=>parseInt(n.max,10)),l=cn(()=>parseInt(n.height,10)),h=cn(()=>parseFloat(n.bufferValue)/s.value*100),f=cn(()=>parseFloat(S.value)/s.value*100),m=cn(()=>D.value!==n.reverse),_=cn(()=>n.indeterminate?"fade-transition":"slide-x-transition"),y=cn(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function C(w){if(!a.value)return;const{left:k,right:E,width:T}=a.value.getBoundingClientRect(),A=m.value?T-w.clientX+(E-T):w.clientX-k;S.value=Math.round(A/T*s.value)}return Fr(()=>dt(n.tag,{ref:a,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&c.value,"v-progress-linear--reverse":m.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},u.value,o.value,x.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?ii(l.value):0,"--v-progress-linear-height":ii(l.value),...t.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:f.value,onClick:n.clickable&&C},{default:()=>[n.stream&&dt("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:{...g.value,[m.value?"left":"right"]:ii(-l.value),borderTop:`${ii(l.value/2)} dotted`,opacity:y.value,top:`calc(50% - ${ii(l.value/4)})`,width:ii(100-h.value,"%"),"--v-progress-linear-stream-to":ii(l.value*(m.value?1:-1))}},null),dt("div",{class:["v-progress-linear__background",i.value],style:[M.value,{opacity:y.value,width:ii(n.stream?h.value:100,"%")}]},null),dt(hf,{name:_.value},{default:()=>[n.indeterminate?dt("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(w=>dt("div",{key:w,class:["v-progress-linear__indeterminate",w,v.value],style:p.value},null))]):dt("div",{class:["v-progress-linear__determinate",v.value],style:[p.value,{width:ii(f.value,"%")}]},null)]}),r.default&&dt("div",{class:"v-progress-linear__content"},[r.default({value:f.value,buffer:h.value})])]})),{}}}),j_=cr({loading:[Boolean,String]},"loader");function o1(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();return{loaderClasses:cn(()=>({[`${e}--loading`]:n.loading}))}}function U_(n,e){var S;let{slots:r}=e;return dt("div",{class:`${n.name}__loader`},[((S=r.default)==null?void 0:S.call(r,{color:n.color,isActive:n.active}))||dt(V_,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const uU=["static","relative","fixed","absolute","sticky"],x0=cr({position:{type:String,validator:n=>uU.includes(n)}},"position");function _0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();return{positionClasses:cn(()=>n.position?`${e}--${n.position}`:void 0)}}function zA(){var n,e;return(e=(n=Es("useRouter"))==null?void 0:n.proxy)==null?void 0:e.$router}function cg(n,e){const r=o7("RouterLink"),S=cn(()=>!!(n.href||n.to)),D=cn(()=>(S==null?void 0:S.value)||sT(e,"click")||sT(n,"click"));if(typeof r=="string")return{isLink:S,isClickable:D,href:Ir(n,"href")};const x=n.to?r.useLink(n):void 0;return{isLink:S,isClickable:D,route:x==null?void 0:x.route,navigate:x==null?void 0:x.navigate,isActive:x&&cn(()=>{var o,t;return n.exact?(o=x.isExactActive)==null?void 0:o.value:(t=x.isActive)==null?void 0:t.value}),href:cn(()=>n.to?x==null?void 0:x.route.value.href:n.href)}}const fg=cr({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let Ob=!1;function cU(n,e){let r=!1,S,D;no&&(qa(()=>{window.addEventListener("popstate",x),S=n==null?void 0:n.beforeEach((o,t,d)=>{Ob?r?e(d):d():setTimeout(()=>r?e(d):d()),Ob=!0}),D=n==null?void 0:n.afterEach(()=>{Ob=!1})}),Al(()=>{window.removeEventListener("popstate",x),S==null||S(),D==null||D()}));function x(o){var t;(t=o.state)!=null&&t.replaced||(r=!0,setTimeout(()=>r=!1))}}function fU(n,e){ei(()=>{var r;return(r=n.isActive)==null?void 0:r.value},r=>{n.isLink.value&&r&&e&&qa(()=>{e(!0)})},{immediate:!0})}const Cx=Symbol("rippleStop"),hU=80;function zT(n,e){n.style.transform=e,n.style.webkitTransform=e}function Ex(n){return n.constructor.name==="TouchEvent"}function FA(n){return n.constructor.name==="KeyboardEvent"}const dU=function(n,e){var M;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},S=0,D=0;if(!FA(n)){const v=e.getBoundingClientRect(),p=Ex(n)?n.touches[n.touches.length-1]:n;S=p.clientX-v.left,D=p.clientY-v.top}let x=0,o=.3;(M=e._ripple)!=null&&M.circle?(o=.15,x=e.clientWidth/2,x=r.center?x:x+Math.sqrt((S-x)**2+(D-x)**2)/4):x=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const t=`${(e.clientWidth-x*2)/2}px`,d=`${(e.clientHeight-x*2)/2}px`,g=r.center?t:`${S-x}px`,i=r.center?d:`${D-x}px`;return{radius:x,scale:o,x:g,y:i,centerX:t,centerY:d}},ly={show(n,e){var p;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((p=e==null?void 0:e._ripple)!=null&&p.enabled))return;const S=document.createElement("span"),D=document.createElement("span");S.appendChild(D),S.className="v-ripple__container",r.class&&(S.className+=` ${r.class}`);const{radius:x,scale:o,x:t,y:d,centerX:g,centerY:i}=dU(n,e,r),M=`${x*2}px`;D.className="v-ripple__animation",D.style.width=M,D.style.height=M,e.appendChild(S);const v=window.getComputedStyle(e);v&&v.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),D.classList.add("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--visible"),zT(D,`translate(${t}, ${d}) scale3d(${o},${o},${o})`),D.dataset.activated=String(performance.now()),setTimeout(()=>{D.classList.remove("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--in"),zT(D,`translate(${g}, ${i}) scale3d(1,1,1)`)},0)},hide(n){var x;if(!((x=n==null?void 0:n._ripple)!=null&&x.enabled))return;const e=n.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const r=e[e.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const S=performance.now()-Number(r.dataset.activated),D=Math.max(250-S,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{var t;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((t=r.parentNode)==null?void 0:t.parentNode)===n&&n.removeChild(r.parentNode)},300)},D)}};function BA(n){return typeof n>"u"||!!n}function Rm(n){const e={},r=n.currentTarget;if(!(!(r!=null&&r._ripple)||r._ripple.touched||n[Cx])){if(n[Cx]=!0,Ex(n))r._ripple.touched=!0,r._ripple.isTouch=!0;else if(r._ripple.isTouch)return;if(e.center=r._ripple.centered||FA(n),r._ripple.class&&(e.class=r._ripple.class),Ex(n)){if(r._ripple.showTimerCommit)return;r._ripple.showTimerCommit=()=>{ly.show(n,r,e)},r._ripple.showTimer=window.setTimeout(()=>{var S;(S=r==null?void 0:r._ripple)!=null&&S.showTimerCommit&&(r._ripple.showTimerCommit(),r._ripple.showTimerCommit=null)},hU)}else ly.show(n,r,e)}}function FT(n){n[Cx]=!0}function mu(n){const e=n.currentTarget;if(e!=null&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),n.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{mu(n)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),ly.hide(e)}}function NA(n){const e=n.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let zm=!1;function VA(n){!zm&&(n.keyCode===rT.enter||n.keyCode===rT.space)&&(zm=!0,Rm(n))}function jA(n){zm=!1,mu(n)}function UA(n){zm&&(zm=!1,mu(n))}function HA(n,e,r){const{value:S,modifiers:D}=e,x=BA(S);if(x||ly.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=x,n._ripple.centered=D.center,n._ripple.circle=D.circle,dx(S)&&S.class&&(n._ripple.class=S.class),x&&!r){if(D.stop){n.addEventListener("touchstart",FT,{passive:!0}),n.addEventListener("mousedown",FT);return}n.addEventListener("touchstart",Rm,{passive:!0}),n.addEventListener("touchend",mu,{passive:!0}),n.addEventListener("touchmove",NA,{passive:!0}),n.addEventListener("touchcancel",mu),n.addEventListener("mousedown",Rm),n.addEventListener("mouseup",mu),n.addEventListener("mouseleave",mu),n.addEventListener("keydown",VA),n.addEventListener("keyup",jA),n.addEventListener("blur",UA),n.addEventListener("dragstart",mu,{passive:!0})}else!x&&r&&GA(n)}function GA(n){n.removeEventListener("mousedown",Rm),n.removeEventListener("touchstart",Rm),n.removeEventListener("touchend",mu),n.removeEventListener("touchmove",NA),n.removeEventListener("touchcancel",mu),n.removeEventListener("mouseup",mu),n.removeEventListener("mouseleave",mu),n.removeEventListener("keydown",VA),n.removeEventListener("keyup",jA),n.removeEventListener("dragstart",mu),n.removeEventListener("blur",UA)}function pU(n,e){HA(n,e,!1)}function mU(n){delete n._ripple,GA(n)}function gU(n,e){if(e.value===e.oldValue)return;const r=BA(e.oldValue);HA(n,e,r)}const qh={mounted:pU,unmounted:mU,updated:gU},H_=cr({active:{type:Boolean,default:void 0},symbol:{type:null,default:F_},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:wi,appendIcon:wi,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Au(),...Jr(),...ms(),...ec(),...ps(),...v0(),...j_(),...Gh(),...x0(),...uo(),...fg(),...lh(),...Li({tag:"button"}),...sa(),...rc({variant:"elevated"})},"VBtn"),Ml=Er()({name:"VBtn",directives:{Ripple:qh},props:H_(),emits:{"group:selected":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const{themeClasses:D}=Ca(n),{borderClasses:x}=nc(n),{colorClasses:o,colorStyles:t,variantClasses:d}=Xd(n),{densityClasses:g}=il(n),{dimensionStyles:i}=tc(n),{elevationClasses:M}=Ws(n),{loaderClasses:v}=o1(n),{locationStyles:p}=Wh(n),{positionClasses:u}=_0(n),{roundedClasses:a}=Oo(n),{sizeClasses:c,sizeStyles:s}=b0(n),l=y0(n,n.symbol,!1),h=cg(n,r),f=cn(()=>{var w;return n.active!==void 0?n.active:h.isLink.value?(w=h.isActive)==null?void 0:w.value:l==null?void 0:l.isSelected.value}),m=cn(()=>(l==null?void 0:l.disabled.value)||n.disabled),_=cn(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),y=cn(()=>{if(n.value!==void 0)return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function C(w){var k;m.value||h.isLink.value&&(w.metaKey||w.ctrlKey||w.shiftKey||w.button!==0||r.target==="_blank")||((k=h.navigate)==null||k.call(h,w),l==null||l.toggle())}return fU(h,l==null?void 0:l.select),Fr(()=>{var L,b;const w=h.isLink.value?"a":n.tag,k=!!(n.prependIcon||S.prepend),E=!!(n.appendIcon||S.append),T=!!(n.icon&&n.icon!==!0),A=(l==null?void 0:l.isSelected.value)&&(!h.isLink.value||((L=h.isActive)==null?void 0:L.value))||!l||((b=h.isActive)==null?void 0:b.value);return Lo(dt(w,{type:w==="a"?void 0:"button",class:["v-btn",l==null?void 0:l.selectedClass.value,{"v-btn--active":f.value,"v-btn--block":n.block,"v-btn--disabled":m.value,"v-btn--elevated":_.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--stacked":n.stacked},D.value,x.value,A?o.value:void 0,g.value,M.value,v.value,u.value,a.value,c.value,d.value,n.class],style:[A?t.value:void 0,i.value,p.value,s.value,n.style],disabled:m.value||void 0,href:h.href.value,onClick:C,value:y.value},{default:()=>{var O;return[Zd(!0,"v-btn"),!n.icon&&k&&dt("span",{key:"prepend",class:"v-btn__prepend"},[S.prepend?dt(Va,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},S.prepend):dt(Wa,{key:"prepend-icon",icon:n.prependIcon},null)]),dt("span",{class:"v-btn__content","data-no-activator":""},[!S.default&&T?dt(Wa,{key:"content-icon",icon:n.icon},null):dt(Va,{key:"content-defaults",disabled:!T,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var I;return[((I=S.default)==null?void 0:I.call(S))??n.text]}})]),!n.icon&&E&&dt("span",{key:"append",class:"v-btn__append"},[S.append?dt(Va,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},S.append):dt(Wa,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&&dt("span",{key:"loader",class:"v-btn__loader"},[((O=S.loader)==null?void 0:O.call(S))??dt(N_,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Tu("ripple"),!m.value&&n.ripple,null]])}),{}}}),vU=cr({...H_({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),yU=Er()({name:"VAppBarNavIcon",props:vU(),setup(n,e){let{slots:r}=e;return Fr(()=>dt(Ml,Zr(n,{class:["v-app-bar-nav-icon"]}),r)),{}}}),bU=Er()({name:"VAppBarTitle",props:SA(),setup(n,e){let{slots:r}=e;return Fr(()=>dt(O_,Zr(n,{class:"v-app-bar-title"}),r)),{}}});const WA=Nc("v-alert-title"),xU=["success","info","warning","error"],_U=cr({border:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["top","end","bottom","start"].includes(n)},borderColor:String,closable:Boolean,closeIcon:{type:wi,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:n=>xU.includes(n)},...Jr(),...ms(),...ec(),...ps(),...Gh(),...x0(),...uo(),...Li(),...sa(),...rc({variant:"flat"})},"VAlert"),wU=Er()({name:"VAlert",props:_U(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{emit:r,slots:S}=e;const D=Ti(n,"modelValue"),x=cn(()=>{if(n.icon!==!1)return n.type?n.icon??`$${n.type}`:n.icon}),o=cn(()=>({color:n.color??n.type,variant:n.variant})),{themeClasses:t}=Ca(n),{colorClasses:d,colorStyles:g,variantClasses:i}=Xd(o),{densityClasses:M}=il(n),{dimensionStyles:v}=tc(n),{elevationClasses:p}=Ws(n),{locationStyles:u}=Wh(n),{positionClasses:a}=_0(n),{roundedClasses:c}=Oo(n),{textColorClasses:s,textColorStyles:l}=tl(Ir(n,"borderColor")),{t:h}=Qu(),f=cn(()=>({"aria-label":h(n.closeLabel),onClick(m){D.value=!1,r("click:close",m)}}));return()=>{const m=!!(S.prepend||x.value),_=!!(S.title||n.title),y=!!(S.close||n.closable);return D.value&&dt(n.tag,{class:["v-alert",n.border&&{"v-alert--border":!!n.border,[`v-alert--border-${n.border===!0?"start":n.border}`]:!0},{"v-alert--prominent":n.prominent},t.value,d.value,M.value,p.value,a.value,c.value,i.value,n.class],style:[g.value,v.value,u.value,n.style],role:"alert"},{default:()=>{var C,w;return[Zd(!1,"v-alert"),n.border&&dt("div",{key:"border",class:["v-alert__border",s.value],style:l.value},null),m&&dt("div",{key:"prepend",class:"v-alert__prepend"},[S.prepend?dt(Va,{key:"prepend-defaults",disabled:!x.value,defaults:{VIcon:{density:n.density,icon:x.value,size:n.prominent?44:28}}},S.prepend):dt(Wa,{key:"prepend-icon",density:n.density,icon:x.value,size:n.prominent?44:28},null)]),dt("div",{class:"v-alert__content"},[_&&dt(WA,{key:"title"},{default:()=>{var k;return[((k=S.title)==null?void 0:k.call(S))??n.title]}}),((C=S.text)==null?void 0:C.call(S))??n.text,(w=S.default)==null?void 0:w.call(S)]),S.append&&dt("div",{key:"append",class:"v-alert__append"},[S.append()]),y&&dt("div",{key:"close",class:"v-alert__close"},[S.close?dt(Va,{key:"close-defaults",defaults:{VBtn:{icon:n.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var k;return[(k=S.close)==null?void 0:k.call(S,{props:f.value})]}}):dt(Ml,Zr({key:"close-btn",icon:n.closeIcon,size:"x-small",variant:"text"},f.value),null)])]}})}}});const TU=cr({text:String,clickable:Boolean,...Jr(),...sa()},"VLabel"),w0=Er()({name:"VLabel",props:TU(),setup(n,e){let{slots:r}=e;return Fr(()=>{var S;return dt("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(S=r.default)==null?void 0:S.call(r)])}),{}}});const qA=Symbol.for("vuetify:selection-control-group"),G_=cr({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:wi,trueIcon:wi,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:d0},...Jr(),...ms(),...sa()},"SelectionControlGroup"),kU=cr({...G_({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),$A=Er()({name:"VSelectionControlGroup",props:kU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),D=rl(),x=cn(()=>n.id||`v-selection-control-group-${D}`),o=cn(()=>n.name||x.value),t=new Set;return as(qA,{modelValue:S,forceUpdate:()=>{t.forEach(d=>d())},onForceUpdate:d=>{t.add(d),Al(()=>{t.delete(d)})}}),is({[n.defaultsTarget]:{color:Ir(n,"color"),disabled:Ir(n,"disabled"),density:Ir(n,"density"),error:Ir(n,"error"),inline:Ir(n,"inline"),modelValue:S,multiple:cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(S.value)),name:o,falseIcon:Ir(n,"falseIcon"),trueIcon:Ir(n,"trueIcon"),readonly:Ir(n,"readonly"),ripple:Ir(n,"ripple"),type:Ir(n,"type"),valueComparator:Ir(n,"valueComparator")}}),Fr(()=>{var d;return dt("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(d=r.default)==null?void 0:d.call(r)])}),{}}}),s1=cr({label:String,trueValue:null,falseValue:null,value:null,...Jr(),...G_()},"VSelectionControl");function MU(n){const e=Sa(qA,void 0),{densityClasses:r}=il(n),S=Ti(n,"modelValue"),D=cn(()=>n.trueValue!==void 0?n.trueValue:n.value!==void 0?n.value:!0),x=cn(()=>n.falseValue!==void 0?n.falseValue:!1),o=cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(S.value)),t=cn({get(){const p=e?e.modelValue.value:S.value;return o.value?p.some(u=>n.valueComparator(u,D.value)):n.valueComparator(p,D.value)},set(p){if(n.readonly)return;const u=p?D.value:x.value;let a=u;o.value&&(a=p?[...bu(S.value),u]:bu(S.value).filter(c=>!n.valueComparator(c,D.value))),e?e.modelValue.value=a:S.value=a}}),{textColorClasses:d,textColorStyles:g}=tl(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),{backgroundColorClasses:i,backgroundColorStyles:M}=Fo(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),v=cn(()=>t.value?n.trueIcon:n.falseIcon);return{group:e,densityClasses:r,trueValue:D,falseValue:x,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,icon:v}}const Nd=Er()({name:"VSelectionControl",directives:{Ripple:qh},inheritAttrs:!1,props:s1(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const{group:D,densityClasses:x,icon:o,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,trueValue:v}=MU(n),p=rl(),u=cn(()=>n.id||`input-${p}`),a=Kr(!1),c=Kr(!1),s=Gr();D==null||D.onForceUpdate(()=>{s.value&&(s.value.checked=t.value)});function l(m){a.value=!0,n0(m.target,":focus-visible")!==!1&&(c.value=!0)}function h(){a.value=!1,c.value=!1}function f(m){n.readonly&&D&&qa(()=>D.forceUpdate()),t.value=m.target.checked}return Fr(()=>{var w,k;const m=S.label?S.label({label:n.label,props:{for:u.value}}):n.label,[_,y]=qd(r),C=dt("input",Zr({ref:s,checked:t.value,disabled:!!(n.readonly||n.disabled),id:u.value,onBlur:h,onFocus:l,onInput:f,"aria-disabled":!!(n.readonly||n.disabled),type:n.type,value:v.value,name:n.name,"aria-checked":n.type==="checkbox"?t.value:void 0},y),null);return dt("div",Zr({class:["v-selection-control",{"v-selection-control--dirty":t.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":a.value,"v-selection-control--focus-visible":c.value,"v-selection-control--inline":n.inline},x.value,n.class]},_,{style:n.style}),[dt("div",{class:["v-selection-control__wrapper",d.value],style:g.value},[(w=S.default)==null?void 0:w.call(S,{backgroundColorClasses:i,backgroundColorStyles:M}),Lo(dt("div",{class:["v-selection-control__input"]},[((k=S.input)==null?void 0:k.call(S,{model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,inputNode:C,icon:o.value,props:{onFocus:l,onBlur:h,id:u.value}}))??dt(Xr,null,[o.value&&dt(Wa,{key:"icon",icon:o.value},null),C])]),[[Tu("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),m&&dt(w0,{for:u.value,clickable:!0,onClick:E=>E.stopPropagation()},{default:()=>[m]})])}),{isFocused:a,input:s}}}),YA=cr({indeterminate:Boolean,indeterminateIcon:{type:wi,default:"$checkboxIndeterminate"},...s1({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),a0=Er()({name:"VCheckboxBtn",props:YA(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"indeterminate"),D=Ti(n,"modelValue");function x(d){S.value&&(S.value=!1)}const o=cn(()=>S.value?n.indeterminateIcon:n.falseIcon),t=cn(()=>S.value?n.indeterminateIcon:n.trueIcon);return Fr(()=>{const d=Ku(Nd.filterProps(n)[0],["modelValue"]);return dt(Nd,Zr(d,{modelValue:D.value,"onUpdate:modelValue":[g=>D.value=g,x],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:o.value,trueIcon:t.value,"aria-checked":S.value?"mixed":void 0}),r)}),{}}});function ZA(n){const{t:e}=Qu();function r(S){let{name:D}=S;const x={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[D],o=n[`onClick:${D}`],t=o&&x?e(`$vuetify.input.${x}`,n.label??""):void 0;return dt(Wa,{icon:n[`${D}Icon`],"aria-label":t,onClick:o},null)}return{InputIcon:r}}const AU=cr({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Jr(),...sh({transition:{component:D_,leaveAbsolute:!0,group:!0}})},"VMessages"),XA=Er()({name:"VMessages",props:AU(),setup(n,e){let{slots:r}=e;const S=cn(()=>bu(n.messages)),{textColorClasses:D,textColorStyles:x}=tl(cn(()=>n.color));return Fr(()=>dt(Ec,{transition:n.transition,tag:"div",class:["v-messages",D.value,n.class],style:[x.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&S.value.map((o,t)=>dt("div",{class:"v-messages__message",key:`${t}-${S.value}`},[r.message?r.message({message:o}):o]))]})),{}}}),l1=cr({focused:Boolean,"onUpdate:focused":ff()},"focus");function $h(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();const r=Ti(n,"focused"),S=cn(()=>({[`${e}--focused`]:r.value}));function D(){r.value=!0}function x(){r.value=!1}return{focusClasses:S,isFocused:r,focus:D,blur:x}}const KA=Symbol.for("vuetify:form"),SU=cr({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function CU(n){const e=Ti(n,"modelValue"),r=cn(()=>n.disabled),S=cn(()=>n.readonly),D=Kr(!1),x=Gr([]),o=Gr([]);async function t(){const i=[];let M=!0;o.value=[],D.value=!0;for(const v of x.value){const p=await v.validate();if(p.length>0&&(M=!1,i.push({id:v.id,errorMessages:p})),!M&&n.fastFail)break}return o.value=i,D.value=!1,{valid:M,errors:o.value}}function d(){x.value.forEach(i=>i.reset())}function g(){x.value.forEach(i=>i.resetValidation())}return ei(x,()=>{let i=0,M=0;const v=[];for(const p of x.value)p.isValid===!1?(M++,v.push({id:p.id,errorMessages:p.errorMessages})):p.isValid===!0&&i++;o.value=v,e.value=M>0?!1:i===x.value.length?!0:null},{deep:!0}),as(KA,{register:i=>{let{id:M,validate:v,reset:p,resetValidation:u}=i;x.value.some(a=>a.id===M),x.value.push({id:M,validate:v,reset:p,resetValidation:u,isValid:null,errorMessages:[]})},unregister:i=>{x.value=x.value.filter(M=>M.id!==i)},update:(i,M,v)=>{const p=x.value.find(u=>u.id===i);p&&(p.isValid=M,p.errorMessages=v)},isDisabled:r,isReadonly:S,isValidating:D,isValid:e,items:x,validateOn:Ir(n,"validateOn")}),{errors:o,isDisabled:r,isReadonly:S,isValidating:D,isValid:e,items:x,validate:t,reset:d,resetValidation:g}}function u1(){return Sa(KA,null)}const JA=cr({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...l1()},"validation");function QA(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:rl();const S=Ti(n,"modelValue"),D=cn(()=>n.validationValue===void 0?S.value:n.validationValue),x=u1(),o=Gr([]),t=Kr(!0),d=cn(()=>!!(bu(S.value===""?null:S.value).length||bu(D.value===""?null:D.value).length)),g=cn(()=>!!(n.disabled??(x==null?void 0:x.isDisabled.value))),i=cn(()=>!!(n.readonly??(x==null?void 0:x.isReadonly.value))),M=cn(()=>n.errorMessages.length?bu(n.errorMessages).slice(0,Math.max(0,+n.maxErrors)):o.value),v=cn(()=>{let f=(n.validateOn??(x==null?void 0:x.validateOn.value))||"input";f==="lazy"&&(f="input lazy");const m=new Set((f==null?void 0:f.split(" "))??[]);return{blur:m.has("blur")||m.has("input"),input:m.has("input"),submit:m.has("submit"),lazy:m.has("lazy")}}),p=cn(()=>n.error||n.errorMessages.length?!1:n.rules.length?t.value?o.value.length||v.value.lazy?null:!0:!o.value.length:!0),u=Kr(!1),a=cn(()=>({[`${e}--error`]:p.value===!1,[`${e}--dirty`]:d.value,[`${e}--disabled`]:g.value,[`${e}--readonly`]:i.value})),c=cn(()=>n.name??gu(r));xy(()=>{x==null||x.register({id:c.value,validate:h,reset:s,resetValidation:l})}),Sl(()=>{x==null||x.unregister(c.value)}),nl(async()=>{v.value.lazy||await h(!0),x==null||x.update(c.value,p.value,M.value)}),Nh(()=>v.value.input,()=>{ei(D,()=>{if(D.value!=null)h();else if(n.focused){const f=ei(()=>n.focused,m=>{m||h(),f()})}})}),Nh(()=>v.value.blur,()=>{ei(()=>n.focused,f=>{f||h()})}),ei(p,()=>{x==null||x.update(c.value,p.value,M.value)});function s(){S.value=null,qa(l)}function l(){t.value=!0,v.value.lazy?o.value=[]:h(!0)}async function h(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const m=[];u.value=!0;for(const _ of n.rules){if(m.length>=+(n.maxErrors??1))break;const C=await(typeof _=="function"?_:()=>_)(D.value);if(C!==!0){if(C!==!1&&typeof C!="string"){console.warn(`${C} is not a valid value. Rule functions must return boolean true or a string.`);continue}m.push(C||"")}}return o.value=m,u.value=!1,t.value=f,o.value}return{errorMessages:M,isDirty:d,isDisabled:g,isReadonly:i,isPristine:t,isValid:p,isValidating:u,reset:s,resetValidation:l,validate:h,validationClasses:a}}const uh=cr({id:String,appendIcon:wi,centerAffix:{type:Boolean,default:!0},prependIcon:wi,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":ff(),"onClick:append":ff(),...Jr(),...ms(),...JA()},"VInput"),Gs=Er()({name:"VInput",props:{...uh()},emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:S,emit:D}=e;const{densityClasses:x}=il(n),{rtlClasses:o}=Ls(),{InputIcon:t}=ZA(n),d=rl(),g=cn(()=>n.id||`input-${d}`),i=cn(()=>`${g.value}-messages`),{errorMessages:M,isDirty:v,isDisabled:p,isReadonly:u,isPristine:a,isValid:c,isValidating:s,reset:l,resetValidation:h,validate:f,validationClasses:m}=QA(n,"v-input",g),_=cn(()=>({id:g,messagesId:i,isDirty:v,isDisabled:p,isReadonly:u,isPristine:a,isValid:c,isValidating:s,reset:l,resetValidation:h,validate:f})),y=cn(()=>{var C;return(C=n.errorMessages)!=null&&C.length||!a.value&&M.value.length?M.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return Fr(()=>{var T,A,L,b;const C=!!(S.prepend||n.prependIcon),w=!!(S.append||n.appendIcon),k=y.value.length>0,E=!n.hideDetails||n.hideDetails==="auto"&&(k||!!S.details);return dt("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix},x.value,o.value,m.value,n.class],style:n.style},[C&&dt("div",{key:"prepend",class:"v-input__prepend"},[(T=S.prepend)==null?void 0:T.call(S,_.value),n.prependIcon&&dt(t,{key:"prepend-icon",name:"prepend"},null)]),S.default&&dt("div",{class:"v-input__control"},[(A=S.default)==null?void 0:A.call(S,_.value)]),w&&dt("div",{key:"append",class:"v-input__append"},[n.appendIcon&&dt(t,{key:"append-icon",name:"append"},null),(L=S.append)==null?void 0:L.call(S,_.value)]),E&&dt("div",{class:"v-input__details"},[dt(XA,{id:i.value,active:k,messages:y.value},{message:S.message}),(b=S.details)==null?void 0:b.call(S,_.value)])])}),{reset:l,resetValidation:h,validate:f}}}),EU=cr({...uh(),...Ku(YA(),["inline"])},"VCheckbox"),LU=Er()({name:"VCheckbox",inheritAttrs:!1,props:EU(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const D=Ti(n,"modelValue"),{isFocused:x,focus:o,blur:t}=$h(n),d=rl(),g=cn(()=>n.id||`checkbox-${d}`);return Fr(()=>{const[i,M]=qd(r),[v,p]=Gs.filterProps(n),[u,a]=a0.filterProps(n);return dt(Gs,Zr({class:["v-checkbox",n.class]},i,v,{modelValue:D.value,"onUpdate:modelValue":c=>D.value=c,id:g.value,focused:x.value,style:n.style}),{...S,default:c=>{let{id:s,messagesId:l,isDisabled:h,isReadonly:f}=c;return dt(a0,Zr(u,{id:s.value,"aria-describedby":l.value,disabled:h.value,readonly:f.value},M,{modelValue:D.value,"onUpdate:modelValue":m=>D.value=m,onFocus:o,onBlur:t}),S)}})}),{}}});const IU=cr({start:Boolean,end:Boolean,icon:wi,image:String,...Jr(),...ms(),...uo(),...lh(),...Li(),...sa(),...rc({variant:"flat"})},"VAvatar"),Vh=Er()({name:"VAvatar",props:IU(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{colorClasses:D,colorStyles:x,variantClasses:o}=Xd(n),{densityClasses:t}=il(n),{roundedClasses:d}=Oo(n),{sizeClasses:g,sizeStyles:i}=b0(n);return Fr(()=>dt(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},S.value,D.value,t.value,d.value,g.value,o.value,n.class],style:[x.value,i.value,n.style]},{default:()=>{var M;return[n.image?dt(Bd,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?dt(Wa,{key:"icon",icon:n.icon},null):(M=r.default)==null?void 0:M.call(r),Zd(!1,"v-avatar")]}})),{}}});const eS=Symbol.for("vuetify:v-chip-group"),OU=cr({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:d0},...Jr(),...g0({selectedClass:"v-chip--selected"}),...Li(),...sa(),...rc({variant:"tonal"})},"VChipGroup"),PU=Er()({name:"VChipGroup",props:OU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{isSelected:D,select:x,next:o,prev:t,selected:d}=Kd(n,eS);return is({VChip:{color:Ir(n,"color"),disabled:Ir(n,"disabled"),filter:Ir(n,"filter"),variant:Ir(n,"variant")}}),Fr(()=>dt(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},S.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:x,next:o,prev:t,selected:d.value})]}})),{}}}),DU=cr({activeClass:String,appendAvatar:String,appendIcon:wi,closable:Boolean,closeIcon:{type:wi,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:wi,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:ff(),onClickOnce:ff(),...Au(),...Jr(),...ms(),...ps(),...v0(),...uo(),...fg(),...lh(),...Li({tag:"span"}),...sa(),...rc({variant:"tonal"})},"VChip"),hg=Er()({name:"VChip",directives:{Ripple:qh},props:DU(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{t:x}=Qu(),{borderClasses:o}=nc(n),{colorClasses:t,colorStyles:d,variantClasses:g}=Xd(n),{densityClasses:i}=il(n),{elevationClasses:M}=Ws(n),{roundedClasses:v}=Oo(n),{sizeClasses:p}=b0(n),{themeClasses:u}=Ca(n),a=Ti(n,"modelValue"),c=y0(n,eS,!1),s=cg(n,r),l=cn(()=>n.link!==!1&&s.isLink.value),h=cn(()=>!n.disabled&&n.link!==!1&&(!!c||n.link||s.isClickable.value)),f=cn(()=>({"aria-label":x(n.closeLabel),onClick(y){y.stopPropagation(),a.value=!1,S("click:close",y)}}));function m(y){var C;S("click",y),h.value&&((C=s.navigate)==null||C.call(s,y),c==null||c.toggle())}function _(y){(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),m(y))}return()=>{const y=s.isLink.value?"a":n.tag,C=!!(n.appendIcon||n.appendAvatar),w=!!(C||D.append),k=!!(D.close||n.closable),E=!!(D.filter||n.filter)&&c,T=!!(n.prependIcon||n.prependAvatar),A=!!(T||D.prepend),L=!c||c.isSelected.value;return a.value&&Lo(dt(y,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":h.value,"v-chip--filter":E,"v-chip--pill":n.pill},u.value,o.value,L?t.value:void 0,i.value,M.value,v.value,p.value,g.value,c==null?void 0:c.selectedClass.value,n.class],style:[L?d.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:s.href.value,tabindex:h.value?0:void 0,onClick:m,onKeydown:h.value&&!l.value&&_},{default:()=>{var b;return[Zd(h.value,"v-chip"),E&&dt(R_,{key:"filter"},{default:()=>[Lo(dt("div",{class:"v-chip__filter"},[D.filter?dt(Va,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},D.filter):dt(Wa,{key:"filter-icon",icon:n.filterIcon},null)]),[[vf,c.isSelected.value]])]}),A&&dt("div",{key:"prepend",class:"v-chip__prepend"},[D.prepend?dt(Va,{key:"prepend-defaults",disabled:!T,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},D.prepend):dt(Xr,null,[n.prependIcon&&dt(Wa,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&&dt(Vh,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),dt("div",{class:"v-chip__content"},[((b=D.default)==null?void 0:b.call(D,{isSelected:c==null?void 0:c.isSelected.value,selectedClass:c==null?void 0:c.selectedClass.value,select:c==null?void 0:c.select,toggle:c==null?void 0:c.toggle,value:c==null?void 0:c.value.value,disabled:n.disabled}))??n.text]),w&&dt("div",{key:"append",class:"v-chip__append"},[D.append?dt(Va,{key:"append-defaults",disabled:!C,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},D.append):dt(Xr,null,[n.appendIcon&&dt(Wa,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&&dt(Vh,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),k&&dt("div",Zr({key:"close",class:"v-chip__close"},f.value),[D.close?dt(Va,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},D.close):dt(Wa,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[Tu("ripple"),h.value&&n.ripple,null]])}}});const Lx=Symbol.for("vuetify:list");function tS(){const n=Sa(Lx,{hasPrepend:Kr(!1),updateHasPrepend:()=>null}),e={hasPrepend:Kr(!1),updateHasPrepend:r=>{r&&(e.hasPrepend.value=r)}};return as(Lx,e),n}function nS(){return Sa(Lx,null)}const RU={open:n=>{let{id:e,value:r,opened:S,parents:D}=n;if(r){const x=new Set;x.add(e);let o=D.get(e);for(;o!=null;)x.add(o),o=D.get(o);return x}else return S.delete(e),S},select:()=>null},rS={open:n=>{let{id:e,value:r,opened:S,parents:D}=n;if(r){let x=D.get(e);for(S.add(e);x!=null&&x!==e;)S.add(x),x=D.get(x);return S}else S.delete(e);return S},select:()=>null},zU={open:rS.open,select:n=>{let{id:e,value:r,opened:S,parents:D}=n;if(!r)return S;const x=[];let o=D.get(e);for(;o!=null;)x.push(o),o=D.get(o);return new Set(x)}},W_=n=>{const e={select:r=>{let{id:S,value:D,selected:x}=r;if(S=Ii(S),n&&!D){const o=Array.from(x.entries()).reduce((t,d)=>{let[g,i]=d;return i==="on"?[...t,g]:t},[]);if(o.length===1&&o[0]===S)return x}return x.set(S,D?"on":"off"),x},in:(r,S,D)=>{let x=new Map;for(const o of r||[])x=e.select({id:o,value:!0,selected:new Map(x),children:S,parents:D});return x},out:r=>{const S=[];for(const[D,x]of r.entries())x==="on"&&S.push(D);return S}};return e},iS=n=>{const e=W_(n);return{select:S=>{let{selected:D,id:x,...o}=S;x=Ii(x);const t=D.has(x)?new Map([[x,D.get(x)]]):new Map;return e.select({...o,id:x,selected:t})},in:(S,D,x)=>{let o=new Map;return S!=null&&S.length&&(o=e.in(S.slice(0,1),D,x)),o},out:(S,D,x)=>e.out(S,D,x)}},FU=n=>{const e=W_(n);return{select:S=>{let{id:D,selected:x,children:o,...t}=S;return D=Ii(D),o.has(D)?x:e.select({id:D,selected:x,children:o,...t})},in:e.in,out:e.out}},BU=n=>{const e=iS(n);return{select:S=>{let{id:D,selected:x,children:o,...t}=S;return D=Ii(D),o.has(D)?x:e.select({id:D,selected:x,children:o,...t})},in:e.in,out:e.out}},NU=n=>{const e={select:r=>{let{id:S,value:D,selected:x,children:o,parents:t}=r;S=Ii(S);const d=new Map(x),g=[S];for(;g.length;){const M=g.shift();x.set(M,D?"on":"off"),o.has(M)&&g.push(...o.get(M))}let i=t.get(S);for(;i;){const M=o.get(i),v=M.every(u=>x.get(u)==="on"),p=M.every(u=>!x.has(u)||x.get(u)==="off");x.set(i,v?"on":p?"off":"indeterminate"),i=t.get(i)}return n&&!D&&Array.from(x.entries()).reduce((v,p)=>{let[u,a]=p;return a==="on"?[...v,u]:v},[]).length===0?d:x},in:(r,S,D)=>{let x=new Map;for(const o of r||[])x=e.select({id:o,value:!0,selected:new Map(x),children:S,parents:D});return x},out:(r,S)=>{const D=[];for(const[x,o]of r.entries())o==="on"&&!S.has(x)&&D.push(x);return D}};return e},Fm=Symbol.for("vuetify:nested"),aS={id:Kr(),root:{register:()=>null,unregister:()=>null,parents:Gr(new Map),children:Gr(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:Gr(new Set),selected:Gr(new Map),selectedValues:Gr([])}},VU=cr({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),jU=n=>{let e=!1;const r=Gr(new Map),S=Gr(new Map),D=Ti(n,"opened",n.opened,M=>new Set(M),M=>[...M.values()]),x=cn(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return BU(n.mandatory);case"leaf":return FU(n.mandatory);case"independent":return W_(n.mandatory);case"single-independent":return iS(n.mandatory);case"classic":default:return NU(n.mandatory)}}),o=cn(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return zU;case"single":return RU;case"multiple":default:return rS}}),t=Ti(n,"selected",n.selected,M=>x.value.in(M,r.value,S.value),M=>x.value.out(M,r.value,S.value));Sl(()=>{e=!0});function d(M){const v=[];let p=M;for(;p!=null;)v.unshift(p),p=S.value.get(p);return v}const g=Es("nested"),i={id:Kr(),root:{opened:D,selected:t,selectedValues:cn(()=>{const M=[];for(const[v,p]of t.value.entries())p==="on"&&M.push(v);return M}),register:(M,v,p)=>{v&&M!==v&&S.value.set(M,v),p&&r.value.set(M,[]),v!=null&&r.value.set(v,[...r.value.get(v)||[],M])},unregister:M=>{if(e)return;r.value.delete(M);const v=S.value.get(M);if(v){const p=r.value.get(v)??[];r.value.set(v,p.filter(u=>u!==M))}S.value.delete(M),D.value.delete(M)},open:(M,v,p)=>{g.emit("click:open",{id:M,value:v,path:d(M),event:p});const u=o.value.open({id:M,value:v,opened:new Set(D.value),children:r.value,parents:S.value,event:p});u&&(D.value=u)},openOnSelect:(M,v,p)=>{const u=o.value.select({id:M,value:v,selected:new Map(t.value),opened:new Set(D.value),children:r.value,parents:S.value,event:p});u&&(D.value=u)},select:(M,v,p)=>{g.emit("click:select",{id:M,value:v,path:d(M),event:p});const u=x.value.select({id:M,value:v,selected:new Map(t.value),children:r.value,parents:S.value,event:p});u&&(t.value=u),i.root.openOnSelect(M,v,p)},children:r,parents:S}};return as(Fm,i),i.root},oS=(n,e)=>{const r=Sa(Fm,aS),S=Symbol(rl()),D=cn(()=>n.value!==void 0?n.value:S),x={...r,id:D,open:(o,t)=>r.root.open(D.value,o,t),openOnSelect:(o,t)=>r.root.openOnSelect(D.value,o,t),isOpen:cn(()=>r.root.opened.value.has(D.value)),parent:cn(()=>r.root.parents.value.get(D.value)),select:(o,t)=>r.root.select(D.value,o,t),isSelected:cn(()=>r.root.selected.value.get(Ii(D.value))==="on"),isIndeterminate:cn(()=>r.root.selected.value.get(D.value)==="indeterminate"),isLeaf:cn(()=>!r.root.children.value.get(D.value)),isGroupActivator:r.isGroupActivator};return!r.isGroupActivator&&r.root.register(D.value,r.id.value,e),Sl(()=>{!r.isGroupActivator&&r.root.unregister(D.value)}),e&&as(Fm,x),x},UU=()=>{const n=Sa(Fm,aS);as(Fm,{...n,isGroupActivator:!0})},HU=Ju({name:"VListGroupActivator",setup(n,e){let{slots:r}=e;return UU(),()=>{var S;return(S=r.default)==null?void 0:S.call(r)}}}),GU=cr({activeColor:String,baseColor:String,color:String,collapseIcon:{type:wi,default:"$collapse"},expandIcon:{type:wi,default:"$expand"},prependIcon:wi,appendIcon:wi,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Jr(),...Li()},"VListGroup"),Ix=Er()({name:"VListGroup",props:GU(),setup(n,e){let{slots:r}=e;const{isOpen:S,open:D,id:x}=oS(Ir(n,"value"),!0),o=cn(()=>`v-list-group--id-${String(x.value)}`),t=nS(),{isBooted:d}=Yd();function g(p){D(!S.value,p)}const i=cn(()=>({onClick:g,class:"v-list-group__header",id:o.value})),M=cn(()=>S.value?n.collapseIcon:n.expandIcon),v=cn(()=>({VListItem:{active:S.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&M.value,appendIcon:n.appendIcon||!n.subgroup&&M.value,title:n.title,value:n.value}}));return Fr(()=>dt(n.tag,{class:["v-list-group",{"v-list-group--prepend":t==null?void 0:t.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":S.value},n.class],style:n.style},{default:()=>[r.activator&&dt(Va,{defaults:v.value},{default:()=>[dt(HU,null,{default:()=>[r.activator({props:i.value,isOpen:S.value})]})]}),dt(Ec,{transition:{component:a1},disabled:!d.value},{default:()=>{var p;return[Lo(dt("div",{class:"v-list-group__items",role:"group","aria-labelledby":o.value},[(p=r.default)==null?void 0:p.call(r)]),[[vf,S.value]])]}})]})),{}}});const sS=Nc("v-list-item-subtitle"),lS=Nc("v-list-item-title"),WU=cr({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:wi,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:wi,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:ff(),onClickOnce:ff(),...Au(),...Jr(),...ms(),...ec(),...ps(),...uo(),...fg(),...Li(),...sa(),...rc({variant:"text"})},"VListItem"),Xf=Er()({name:"VListItem",directives:{Ripple:qh},props:WU(),emits:{click:n=>!0},setup(n,e){let{attrs:r,slots:S,emit:D}=e;const x=cg(n,r),o=cn(()=>n.value===void 0?x.href.value:n.value),{select:t,isSelected:d,isIndeterminate:g,isGroupActivator:i,root:M,parent:v,openOnSelect:p}=oS(o,!1),u=nS(),a=cn(()=>{var R;return n.active!==!1&&(n.active||((R=x.isActive)==null?void 0:R.value)||d.value)}),c=cn(()=>n.link!==!1&&x.isLink.value),s=cn(()=>!n.disabled&&n.link!==!1&&(n.link||x.isClickable.value||n.value!=null&&!!u)),l=cn(()=>n.rounded||n.nav),h=cn(()=>n.color??n.activeColor),f=cn(()=>({color:a.value?h.value??n.baseColor:n.baseColor,variant:n.variant}));ei(()=>{var R;return(R=x.isActive)==null?void 0:R.value},R=>{R&&v.value!=null&&M.open(v.value,!0),R&&p(R)},{immediate:!0});const{themeClasses:m}=Ca(n),{borderClasses:_}=nc(n),{colorClasses:y,colorStyles:C,variantClasses:w}=Xd(f),{densityClasses:k}=il(n),{dimensionStyles:E}=tc(n),{elevationClasses:T}=Ws(n),{roundedClasses:A}=Oo(l),L=cn(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),b=cn(()=>({isActive:a.value,select:t,isSelected:d.value,isIndeterminate:g.value}));function O(R){var z;D("click",R),!(i||!s.value)&&((z=x.navigate)==null||z.call(x,R),n.value!=null&&t(!d.value,R))}function I(R){(R.key==="Enter"||R.key===" ")&&(R.preventDefault(),O(R))}return Fr(()=>{const R=c.value?"a":n.tag,z=S.title||n.title,F=S.subtitle||n.subtitle,B=!!(n.appendAvatar||n.appendIcon),N=!!(B||S.append),q=!!(n.prependAvatar||n.prependIcon),j=!!(q||S.prepend);return u==null||u.updateHasPrepend(j),n.activeColor&&xV("active-color",["color","base-color"]),Lo(dt(R,{class:["v-list-item",{"v-list-item--active":a.value,"v-list-item--disabled":n.disabled,"v-list-item--link":s.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!j&&(u==null?void 0:u.hasPrepend.value),[`${n.activeClass}`]:n.activeClass&&a.value},m.value,_.value,y.value,k.value,T.value,L.value,A.value,w.value,n.class],style:[C.value,E.value,n.style],href:x.href.value,tabindex:s.value?u?-2:0:void 0,onClick:O,onKeydown:s.value&&!c.value&&I},{default:()=>{var Y;return[Zd(s.value||a.value,"v-list-item"),j&&dt("div",{key:"prepend",class:"v-list-item__prepend"},[S.prepend?dt(Va,{key:"prepend-defaults",disabled:!q,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var U;return[(U=S.prepend)==null?void 0:U.call(S,b.value)]}}):dt(Xr,null,[n.prependAvatar&&dt(Vh,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&&dt(Wa,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),dt("div",{class:"v-list-item__spacer"},null)]),dt("div",{class:"v-list-item__content","data-no-activator":""},[z&&dt(lS,{key:"title"},{default:()=>{var U;return[((U=S.title)==null?void 0:U.call(S,{title:n.title}))??n.title]}}),F&&dt(sS,{key:"subtitle"},{default:()=>{var U;return[((U=S.subtitle)==null?void 0:U.call(S,{subtitle:n.subtitle}))??n.subtitle]}}),(Y=S.default)==null?void 0:Y.call(S,b.value)]),N&&dt("div",{key:"append",class:"v-list-item__append"},[S.append?dt(Va,{key:"append-defaults",disabled:!B,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var U;return[(U=S.append)==null?void 0:U.call(S,b.value)]}}):dt(Xr,null,[n.appendIcon&&dt(Wa,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&&dt(Vh,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),dt("div",{class:"v-list-item__spacer"},null)])]}}),[[Tu("ripple"),s.value&&n.ripple]])}),{}}}),qU=cr({color:String,inset:Boolean,sticky:Boolean,title:String,...Jr(),...Li()},"VListSubheader"),uS=Er()({name:"VListSubheader",props:qU(),setup(n,e){let{slots:r}=e;const{textColorClasses:S,textColorStyles:D}=tl(Ir(n,"color"));return Fr(()=>{const x=!!(r.default||n.title);return dt(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},S.value,n.class],style:[{textColorStyles:D},n.style]},{default:()=>{var o;return[x&&dt("div",{class:"v-list-subheader__text"},[((o=r.default)==null?void 0:o.call(r))??n.title])]}})}),{}}});const $U=cr({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Jr(),...sa()},"VDivider"),cS=Er()({name:"VDivider",props:$U(),setup(n,e){let{attrs:r}=e;const{themeClasses:S}=Ca(n),{textColorClasses:D,textColorStyles:x}=tl(Ir(n,"color")),o=cn(()=>{const t={};return n.length&&(t[n.vertical?"maxHeight":"maxWidth"]=ii(n.length)),n.thickness&&(t[n.vertical?"borderRightWidth":"borderTopWidth"]=ii(n.thickness)),t});return Fr(()=>dt("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},S.value,D.value,n.class],style:[o.value,x.value,n.style],"aria-orientation":!r.role||r.role==="separator"?n.vertical?"vertical":"horizontal":void 0,role:`${r.role||"separator"}`},null)),{}}}),YU=cr({items:Array},"VListChildren"),fS=Er()({name:"VListChildren",props:YU(),setup(n,e){let{slots:r}=e;return tS(),()=>{var S,D;return((S=r.default)==null?void 0:S.call(r))??((D=n.items)==null?void 0:D.map(x=>{var p,u;let{children:o,props:t,type:d,raw:g}=x;if(d==="divider")return((p=r.divider)==null?void 0:p.call(r,{props:t}))??dt(cS,t,null);if(d==="subheader")return((u=r.subheader)==null?void 0:u.call(r,{props:t}))??dt(uS,t,null);const i={subtitle:r.subtitle?a=>{var c;return(c=r.subtitle)==null?void 0:c.call(r,{...a,item:g})}:void 0,prepend:r.prepend?a=>{var c;return(c=r.prepend)==null?void 0:c.call(r,{...a,item:g})}:void 0,append:r.append?a=>{var c;return(c=r.append)==null?void 0:c.call(r,{...a,item:g})}:void 0,title:r.title?a=>{var c;return(c=r.title)==null?void 0:c.call(r,{...a,item:g})}:void 0},[M,v]=Ix.filterProps(t);return o?dt(Ix,Zr({value:t==null?void 0:t.value},M),{activator:a=>{let{props:c}=a;return r.header?r.header({props:{...t,...c}}):dt(Xf,Zr(t,c),i)},default:()=>dt(fS,{items:o},r)}):r.item?r.item({props:t}):dt(Xf,t,i)}))}}}),hS=cr({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:d0}},"list-items");function wd(n,e){const r=lf(e,n.itemTitle,e),S=lf(e,n.itemValue,r),D=lf(e,n.itemChildren),x=n.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?Fd(e,["children"])[1]:e:void 0:lf(e,n.itemProps),o={title:r,value:S,...x};return{title:String(o.title??""),value:o.value,props:o,children:Array.isArray(D)?dS(n,D):void 0,raw:e}}function dS(n,e){const r=[];for(const S of e)r.push(wd(n,S));return r}function q_(n){const e=cn(()=>dS(n,n.items)),r=cn(()=>e.value.some(x=>x.value===null));function S(x){return r.value||(x=x.filter(o=>o!==null)),x.map(o=>n.returnObject&&typeof o=="string"?wd(n,o):e.value.find(t=>n.valueComparator(o,t.value))||wd(n,o))}function D(x){return n.returnObject?x.map(o=>{let{raw:t}=o;return t}):x.map(o=>{let{value:t}=o;return t})}return{items:e,transformIn:S,transformOut:D}}function ZU(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"}function XU(n,e){const r=lf(e,n.itemType,"item"),S=ZU(e)?e:lf(e,n.itemTitle),D=lf(e,n.itemValue,void 0),x=lf(e,n.itemChildren),o=n.itemProps===!0?Fd(e,["children"])[1]:lf(e,n.itemProps),t={title:S,value:D,...o};return{type:r,title:t.title,value:t.value,props:t,children:r==="item"&&x?pS(n,x):void 0,raw:e}}function pS(n,e){const r=[];for(const S of e)r.push(XU(n,S));return r}function KU(n){return{items:cn(()=>pS(n,n.items))}}const JU=cr({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...VU({selectStrategy:"single-leaf",openStrategy:"list"}),...Au(),...Jr(),...ms(),...ec(),...ps(),itemType:{type:String,default:"type"},...hS(),...uo(),...Li(),...sa(),...rc({variant:"text"})},"VList"),c1=Er()({name:"VList",props:JU(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,e){let{slots:r}=e;const{items:S}=KU(n),{themeClasses:D}=Ca(n),{backgroundColorClasses:x,backgroundColorStyles:o}=Fo(Ir(n,"bgColor")),{borderClasses:t}=nc(n),{densityClasses:d}=il(n),{dimensionStyles:g}=tc(n),{elevationClasses:i}=Ws(n),{roundedClasses:M}=Oo(n),{open:v,select:p}=jU(n),u=cn(()=>n.lines?`v-list--${n.lines}-line`:void 0),a=Ir(n,"activeColor"),c=Ir(n,"baseColor"),s=Ir(n,"color");tS(),is({VListGroup:{activeColor:a,baseColor:c,color:s},VListItem:{activeClass:Ir(n,"activeClass"),activeColor:a,baseColor:c,color:s,density:Ir(n,"density"),disabled:Ir(n,"disabled"),lines:Ir(n,"lines"),nav:Ir(n,"nav"),variant:Ir(n,"variant")}});const l=Kr(!1),h=Gr();function f(w){l.value=!0}function m(w){l.value=!1}function _(w){var k;!l.value&&!(w.relatedTarget&&((k=h.value)!=null&&k.contains(w.relatedTarget)))&&C()}function y(w){if(h.value){if(w.key==="ArrowDown")C("next");else if(w.key==="ArrowUp")C("prev");else if(w.key==="Home")C("first");else if(w.key==="End")C("last");else return;w.preventDefault()}}function C(w){if(h.value)return iy(h.value,w)}return Fr(()=>dt(n.tag,{ref:h,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},D.value,x.value,t.value,d.value,i.value,u.value,M.value,n.class],style:[o.value,g.value,n.style],tabindex:n.disabled||l.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:f,onFocusout:m,onFocus:_,onKeydown:y},{default:()=>[dt(fS,{items:S.value},r)]})),{open:v,select:p,focus:C}}}),QU=Nc("v-list-img"),eH=cr({start:Boolean,end:Boolean,...Jr(),...Li()},"VListItemAction"),tH=Er()({name:"VListItemAction",props:eH(),setup(n,e){let{slots:r}=e;return Fr(()=>dt(n.tag,{class:["v-list-item-action",{"v-list-item-action--start":n.start,"v-list-item-action--end":n.end},n.class],style:n.style},r)),{}}}),nH=cr({start:Boolean,end:Boolean,...Jr(),...Li()},"VListItemMedia"),rH=Er()({name:"VListItemMedia",props:nH(),setup(n,e){let{slots:r}=e;return Fr(()=>dt(n.tag,{class:["v-list-item-media",{"v-list-item-media--start":n.start,"v-list-item-media--end":n.end},n.class],style:n.style},r)),{}}});function Pb(n,e){return{x:n.x+e.x,y:n.y+e.y}}function iH(n,e){return{x:n.x-e.x,y:n.y-e.y}}function BT(n,e){if(n.side==="top"||n.side==="bottom"){const{side:r,align:S}=n,D=S==="left"?0:S==="center"?e.width/2:S==="right"?e.width:S,x=r==="top"?0:r==="bottom"?e.height:r;return Pb({x:D,y:x},e)}else if(n.side==="left"||n.side==="right"){const{side:r,align:S}=n,D=r==="left"?0:r==="right"?e.width:r,x=S==="top"?0:S==="center"?e.height/2:S==="bottom"?e.height:S;return Pb({x:D,y:x},e)}return Pb({x:e.width/2,y:e.height/2},e)}const mS={static:sH,connected:uH},aH=cr({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in mS},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function oH(n,e){const r=Gr({}),S=Gr();no&&(Nh(()=>!!(e.isActive.value&&n.locationStrategy),x=>{var o,t;ei(()=>n.locationStrategy,x),Al(()=>{S.value=void 0}),typeof n.locationStrategy=="function"?S.value=(o=n.locationStrategy(e,n,r))==null?void 0:o.updateLocation:S.value=(t=mS[n.locationStrategy](e,n,r))==null?void 0:t.updateLocation}),window.addEventListener("resize",D,{passive:!0}),Al(()=>{window.removeEventListener("resize",D),S.value=void 0}));function D(x){var o;(o=S.value)==null||o.call(S,x)}return{contentStyles:r,updateLocation:S}}function sH(){}function lH(n,e){e?n.style.removeProperty("left"):n.style.removeProperty("right");const r=k_(n);return e?r.x+=parseFloat(n.style.right||0):r.x-=parseFloat(n.style.left||0),r.y-=parseFloat(n.style.top||0),r}function uH(n,e,r){FV(n.activatorEl.value)&&Object.assign(r.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:D,preferredOrigin:x}=w_(()=>{const u=gx(e.location,n.isRtl.value),a=e.origin==="overlap"?u:e.origin==="auto"?Eb(u):gx(e.origin,n.isRtl.value);return u.side===a.side&&u.align===Lb(a).align?{preferredAnchor:lT(u),preferredOrigin:lT(a)}:{preferredAnchor:u,preferredOrigin:a}}),[o,t,d,g]=["minWidth","minHeight","maxWidth","maxHeight"].map(u=>cn(()=>{const a=parseFloat(e[u]);return isNaN(a)?1/0:a})),i=cn(()=>{if(Array.isArray(e.offset))return e.offset;if(typeof e.offset=="string"){const u=e.offset.split(" ").map(parseFloat);return u.length<2&&u.push(0),u}return typeof e.offset=="number"?[e.offset,0]:[0,0]});let M=!1;const v=new ResizeObserver(()=>{M&&p()});ei([n.activatorEl,n.contentEl],(u,a)=>{let[c,s]=u,[l,h]=a;l&&v.unobserve(l),c&&v.observe(c),h&&v.unobserve(h),s&&v.observe(s)},{immediate:!0}),Al(()=>{v.disconnect()});function p(){if(M=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>M=!0)}),!n.activatorEl.value||!n.contentEl.value)return;const u=n.activatorEl.value.getBoundingClientRect(),a=lH(n.contentEl.value,n.isRtl.value),c=oy(n.contentEl.value),s=12;c.length||(c.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(a.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),a.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const l=c.reduce((E,T)=>{const A=T.getBoundingClientRect(),L=new Fp({x:T===document.documentElement?0:A.x,y:T===document.documentElement?0:A.y,width:T.clientWidth,height:T.clientHeight});return E?new Fp({x:Math.max(E.left,L.left),y:Math.max(E.top,L.top),width:Math.min(E.right,L.right)-Math.max(E.left,L.left),height:Math.min(E.bottom,L.bottom)-Math.max(E.top,L.top)}):L},void 0);l.x+=s,l.y+=s,l.width-=s*2,l.height-=s*2;let h={anchor:D.value,origin:x.value};function f(E){const T=new Fp(a),A=BT(E.anchor,u),L=BT(E.origin,T);let{x:b,y:O}=iH(A,L);switch(E.anchor.side){case"top":O-=i.value[0];break;case"bottom":O+=i.value[0];break;case"left":b-=i.value[0];break;case"right":b+=i.value[0];break}switch(E.anchor.align){case"top":O-=i.value[1];break;case"bottom":O+=i.value[1];break;case"left":b-=i.value[1];break;case"right":b+=i.value[1];break}return T.x+=b,T.y+=O,T.width=Math.min(T.width,d.value),T.height=Math.min(T.height,g.value),{overflows:cT(T,l),x:b,y:O}}let m=0,_=0;const y={x:0,y:0},C={x:!1,y:!1};let w=-1;for(;!(w++>10);){const{x:E,y:T,overflows:A}=f(h);m+=E,_+=T,a.x+=E,a.y+=T;{const L=uT(h.anchor),b=A.x.before||A.x.after,O=A.y.before||A.y.after;let I=!1;if(["x","y"].forEach(R=>{if(R==="x"&&b&&!C.x||R==="y"&&O&&!C.y){const z={anchor:{...h.anchor},origin:{...h.origin}},F=R==="x"?L==="y"?Lb:Eb:L==="y"?Eb:Lb;z.anchor=F(z.anchor),z.origin=F(z.origin);const{overflows:B}=f(z);(B[R].before<=A[R].before&&B[R].after<=A[R].after||B[R].before+B[R].after<(A[R].before+A[R].after)/2)&&(h=z,I=C[R]=!0)}}),I)continue}A.x.before&&(m+=A.x.before,a.x+=A.x.before),A.x.after&&(m-=A.x.after,a.x-=A.x.after),A.y.before&&(_+=A.y.before,a.y+=A.y.before),A.y.after&&(_-=A.y.after,a.y-=A.y.after);{const L=cT(a,l);y.x=l.width-L.x.before-L.x.after,y.y=l.height-L.y.before-L.y.after,m+=L.x.before,a.x+=L.x.before,_+=L.y.before,a.y+=L.y.before}break}const k=uT(h.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${h.anchor.side} ${h.anchor.align}`,transformOrigin:`${h.origin.side} ${h.origin.align}`,top:ii(Db(_)),left:n.isRtl.value?void 0:ii(Db(m)),right:n.isRtl.value?ii(Db(-m)):void 0,minWidth:ii(k==="y"?Math.min(o.value,u.width):o.value),maxWidth:ii(NT(el(y.x,o.value===1/0?0:o.value,d.value))),maxHeight:ii(NT(el(y.y,t.value===1/0?0:t.value,g.value)))}),{available:y,contentBox:a}}return ei(()=>[D.value,x.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>p()),qa(()=>{const u=p();if(!u)return;const{available:a,contentBox:c}=u;c.height>a.y&&requestAnimationFrame(()=>{p(),requestAnimationFrame(()=>{p()})})}),{updateLocation:p}}function Db(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function NT(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let Ox=!0;const uy=[];function cH(n){!Ox||uy.length?(uy.push(n),Px()):(Ox=!1,n(),Px())}let VT=-1;function Px(){cancelAnimationFrame(VT),VT=requestAnimationFrame(()=>{const n=uy.shift();n&&n(),uy.length?Px():Ox=!0})}const Ev={none:null,close:dH,block:pH,reposition:mH},fH=cr({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in Ev}},"VOverlay-scroll-strategies");function hH(n,e){if(!no)return;let r;wu(async()=>{r==null||r.stop(),e.isActive.value&&n.scrollStrategy&&(r=Nm(),await qa(),r.active&&r.run(()=>{var S;typeof n.scrollStrategy=="function"?n.scrollStrategy(e,n,r):(S=Ev[n.scrollStrategy])==null||S.call(Ev,e,n,r)}))}),Al(()=>{r==null||r.stop()})}function dH(n){function e(r){n.isActive.value=!1}gS(n.activatorEl.value??n.contentEl.value,e)}function pH(n,e){var o;const r=(o=n.root.value)==null?void 0:o.offsetParent,S=[...new Set([...oy(n.activatorEl.value,e.contained?r:void 0),...oy(n.contentEl.value,e.contained?r:void 0)])].filter(t=>!t.classList.contains("v-overlay-scroll-blocked")),D=window.innerWidth-document.documentElement.offsetWidth,x=(t=>C_(t)&&t)(r||document.documentElement);x&&n.root.value.classList.add("v-overlay--scroll-blocked"),S.forEach((t,d)=>{t.style.setProperty("--v-body-scroll-x",ii(-t.scrollLeft)),t.style.setProperty("--v-body-scroll-y",ii(-t.scrollTop)),t!==document.documentElement&&t.style.setProperty("--v-scrollbar-offset",ii(D)),t.classList.add("v-overlay-scroll-blocked")}),Al(()=>{S.forEach((t,d)=>{const g=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),i=parseFloat(t.style.getPropertyValue("--v-body-scroll-y"));t.style.removeProperty("--v-body-scroll-x"),t.style.removeProperty("--v-body-scroll-y"),t.style.removeProperty("--v-scrollbar-offset"),t.classList.remove("v-overlay-scroll-blocked"),t.scrollLeft=-g,t.scrollTop=-i}),x&&n.root.value.classList.remove("v-overlay--scroll-blocked")})}function mH(n,e,r){let S=!1,D=-1,x=-1;function o(t){cH(()=>{var i,M;const d=performance.now();(M=(i=n.updateLocation).value)==null||M.call(i,t),S=(performance.now()-d)/(1e3/60)>2})}x=(typeof requestIdleCallback>"u"?t=>t():requestIdleCallback)(()=>{r.run(()=>{gS(n.activatorEl.value??n.contentEl.value,t=>{S?(cancelAnimationFrame(D),D=requestAnimationFrame(()=>{D=requestAnimationFrame(()=>{o(t)})})):o(t)})})}),Al(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(x),cancelAnimationFrame(D)})}function gS(n,e){const r=[document,...oy(n)];r.forEach(S=>{S.addEventListener("scroll",e,{passive:!0})}),Al(()=>{r.forEach(S=>{S.removeEventListener("scroll",e)})})}const Dx=Symbol.for("vuetify:v-menu"),vS=cr({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function yS(n,e){const r={},S=D=>()=>{if(!no)return Promise.resolve(!0);const x=D==="openDelay";return r.closeDelay&&window.clearTimeout(r.closeDelay),delete r.closeDelay,r.openDelay&&window.clearTimeout(r.openDelay),delete r.openDelay,new Promise(o=>{const t=parseInt(n[D]??0,10);r[D]=window.setTimeout(()=>{e==null||e(x),o(x)},t)})};return{runCloseDelay:S("closeDelay"),runOpenDelay:S("openDelay")}}const gH=cr({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...vS()},"VOverlay-activator");function vH(n,e){let{isActive:r,isTop:S}=e;const D=Gr();let x=!1,o=!1,t=!0;const d=cn(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),g=cn(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!d.value),{runOpenDelay:i,runCloseDelay:M}=yS(n,h=>{h===(n.openOnHover&&x||d.value&&o)&&!(n.openOnHover&&r.value&&!S.value)&&(r.value!==h&&(t=!0),r.value=h)}),v={onClick:h=>{h.stopPropagation(),D.value=h.currentTarget||h.target,r.value=!r.value},onMouseenter:h=>{var f;(f=h.sourceCapabilities)!=null&&f.firesTouchEvents||(x=!0,D.value=h.currentTarget||h.target,i())},onMouseleave:h=>{x=!1,M()},onFocus:h=>{n0(h.target,":focus-visible")!==!1&&(o=!0,h.stopPropagation(),D.value=h.currentTarget||h.target,i())},onBlur:h=>{o=!1,h.stopPropagation(),M()}},p=cn(()=>{const h={};return g.value&&(h.onClick=v.onClick),n.openOnHover&&(h.onMouseenter=v.onMouseenter,h.onMouseleave=v.onMouseleave),d.value&&(h.onFocus=v.onFocus,h.onBlur=v.onBlur),h}),u=cn(()=>{const h={};if(n.openOnHover&&(h.onMouseenter=()=>{x=!0,i()},h.onMouseleave=()=>{x=!1,M()}),d.value&&(h.onFocusin=()=>{o=!0,i()},h.onFocusout=()=>{o=!1,M()}),n.closeOnContentClick){const f=Sa(Dx,null);h.onClick=()=>{r.value=!1,f==null||f.closeParents()}}return h}),a=cn(()=>{const h={};return n.openOnHover&&(h.onMouseenter=()=>{t&&(x=!0,t=!1,i())},h.onMouseleave=()=>{x=!1,M()}),h});ei(S,h=>{h&&(n.openOnHover&&!x&&(!d.value||!o)||d.value&&!o&&(!n.openOnHover||!x))&&(r.value=!1)});const c=Gr();wu(()=>{c.value&&qa(()=>{D.value=px(c.value)})});const s=Es("useActivator");let l;return ei(()=>!!n.activator,h=>{h&&no?(l=Nm(),l.run(()=>{yH(n,s,{activatorEl:D,activatorEvents:p})})):l&&l.stop()},{flush:"post",immediate:!0}),Al(()=>{l==null||l.stop()}),{activatorEl:D,activatorRef:c,activatorEvents:p,contentEvents:u,scrimEvents:a}}function yH(n,e,r){let{activatorEl:S,activatorEvents:D}=r;ei(()=>n.activator,(d,g)=>{if(g&&d!==g){const i=t(g);i&&o(i)}d&&qa(()=>x())},{immediate:!0}),ei(()=>n.activatorProps,()=>{x()}),Al(()=>{o()});function x(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&fV(d,Zr(D.value,g))}function o(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&hV(d,Zr(D.value,g))}function t(){var i,M;let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n.activator,g;if(d)if(d==="parent"){let v=(M=(i=e==null?void 0:e.proxy)==null?void 0:i.$el)==null?void 0:M.parentNode;for(;v!=null&&v.hasAttribute("data-no-activator");)v=v.parentNode;g=v}else typeof d=="string"?g=document.querySelector(d):"$el"in d?g=d.$el:g=d;return S.value=(g==null?void 0:g.nodeType)===Node.ELEMENT_NODE?g:null,S.value}}function bS(){if(!no)return Kr(!1);const{ssr:n}=$d();if(n){const e=Kr(!1);return nl(()=>{e.value=!0}),e}else return Kr(!0)}const f1=cr({eager:Boolean},"lazy");function $_(n,e){const r=Kr(!1),S=cn(()=>r.value||n.eager||e.value);ei(e,()=>r.value=!0);function D(){n.eager||(r.value=!1)}return{isBooted:r,hasContent:S,onAfterLeave:D}}function T0(){const e=Es("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const jT=Symbol.for("vuetify:stack"),tm=Tl([]);function bH(n,e,r){const S=Es("useStack"),D=!r,x=Sa(jT,void 0),o=Tl({activeChildren:new Set});as(jT,o);const t=Kr(+e.value);Nh(n,()=>{var M;const i=(M=tm.at(-1))==null?void 0:M[1];t.value=i?i+10:+e.value,D&&tm.push([S.uid,t.value]),x==null||x.activeChildren.add(S.uid),Al(()=>{if(D){const v=Ii(tm).findIndex(p=>p[0]===S.uid);tm.splice(v,1)}x==null||x.activeChildren.delete(S.uid)})});const d=Kr(!0);D&&wu(()=>{var M;const i=((M=tm.at(-1))==null?void 0:M[0])===S.uid;setTimeout(()=>d.value=i)});const g=cn(()=>!o.activeChildren.size);return{globalTop:Vm(d),localTop:g,stackStyles:cn(()=>({zIndex:t.value}))}}function xH(n){return{teleportTarget:cn(()=>{const r=n.value;if(r===!0||!no)return;const S=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(S==null)return;let D=S.querySelector(":scope > .v-overlay-container");return D||(D=document.createElement("div"),D.className="v-overlay-container",S.appendChild(D)),D})}}function _H(){return!0}function xS(n,e,r){if(!n||_S(n,r)===!1)return!1;const S=mA(e);if(typeof ShadowRoot<"u"&&S instanceof ShadowRoot&&S.host===n.target)return!1;const D=(typeof r.value=="object"&&r.value.include||(()=>[]))();return D.push(e),!D.some(x=>x==null?void 0:x.contains(n.target))}function _S(n,e){return(typeof e.value=="object"&&e.value.closeConditional||_H)(n)}function wH(n,e,r){const S=typeof r.value=="function"?r.value:r.value.handler;e._clickOutside.lastMousedownWasOutside&&xS(n,e,r)&&setTimeout(()=>{_S(n,r)&&S&&S(n)},0)}function UT(n,e){const r=mA(n);e(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&e(r)}const wS={mounted(n,e){const r=D=>wH(D,n,e),S=D=>{n._clickOutside.lastMousedownWasOutside=xS(D,n,e)};UT(n,D=>{D.addEventListener("click",r,!0),D.addEventListener("mousedown",S,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[e.instance.$.uid]={onClick:r,onMousedown:S}},unmounted(n,e){n._clickOutside&&(UT(n,r=>{var x;if(!r||!((x=n._clickOutside)!=null&&x[e.instance.$.uid]))return;const{onClick:S,onMousedown:D}=n._clickOutside[e.instance.$.uid];r.removeEventListener("click",S,!0),r.removeEventListener("mousedown",D,!0)}),delete n._clickOutside[e.instance.$.uid])}};function TH(n){const{modelValue:e,color:r,...S}=n;return dt(hf,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&&dt("div",Zr({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},S),null)]})}const dg=cr({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...gH(),...Jr(),...ec(),...f1(),...aH(),...fH(),...sa(),...sh()},"VOverlay"),Kf=Er()({name:"VOverlay",directives:{ClickOutside:wS},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...dg()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,e){let{slots:r,attrs:S,emit:D}=e;const x=Ti(n,"modelValue"),o=cn({get:()=>x.value,set:z=>{z&&n.disabled||(x.value=z)}}),{teleportTarget:t}=xH(cn(()=>n.attach||n.contained)),{themeClasses:d}=Ca(n),{rtlClasses:g,isRtl:i}=Ls(),{hasContent:M,onAfterLeave:v}=$_(n,o),p=Fo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:u,localTop:a,stackStyles:c}=bH(o,Ir(n,"zIndex"),n._disableGlobalStack),{activatorEl:s,activatorRef:l,activatorEvents:h,contentEvents:f,scrimEvents:m}=vH(n,{isActive:o,isTop:a}),{dimensionStyles:_}=tc(n),y=bS(),{scopeId:C}=T0();ei(()=>n.disabled,z=>{z&&(o.value=!1)});const w=Gr(),k=Gr(),{contentStyles:E,updateLocation:T}=oH(n,{isRtl:i,contentEl:k,activatorEl:s,isActive:o});hH(n,{root:w,contentEl:k,activatorEl:s,isActive:o,updateLocation:T});function A(z){D("click:outside",z),n.persistent?R():o.value=!1}function L(){return o.value&&u.value}no&&ei(o,z=>{z?window.addEventListener("keydown",b):window.removeEventListener("keydown",b)},{immediate:!0});function b(z){var F,B;z.key==="Escape"&&u.value&&(n.persistent?R():(o.value=!1,(F=k.value)!=null&&F.contains(document.activeElement)&&((B=s.value)==null||B.focus())))}const O=zA();Nh(()=>n.closeOnBack,()=>{cU(O,z=>{u.value&&o.value?(z(!1),n.persistent?R():o.value=!1):z()})});const I=Gr();ei(()=>o.value&&(n.absolute||n.contained)&&t.value==null,z=>{if(z){const F=S_(w.value);F&&F!==document.scrollingElement&&(I.value=F.scrollTop)}});function R(){n.noClickAnimation||k.value&&_d(k.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Pm})}return Fr(()=>{var z;return dt(Xr,null,[(z=r.activator)==null?void 0:z.call(r,{isActive:o.value,props:Zr({ref:l},h.value,n.activatorProps)}),y.value&&M.value&&dt(A7,{disabled:!t.value,to:t.value},{default:()=>[dt("div",Zr({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":o.value,"v-overlay--contained":n.contained},d.value,g.value,n.class],style:[c.value,{top:ii(I.value)},n.style],ref:w},C,S),[dt(TH,Zr({color:p,modelValue:o.value&&!!n.scrim},m.value),null),dt(Ec,{appear:!0,persisted:!0,transition:n.transition,target:s.value,onAfterLeave:()=>{v(),D("afterLeave")}},{default:()=>{var F;return[Lo(dt("div",Zr({ref:k,class:["v-overlay__content",n.contentClass],style:[_.value,E.value]},f.value,n.contentProps),[(F=r.default)==null?void 0:F.call(r,{isActive:o})]),[[vf,o.value],[Tu("click-outside"),{handler:A,closeConditional:L,include:()=>[s.value]}]])]}})])]})])}),{activatorEl:s,animateClick:R,contentEl:k,globalTop:u,localTop:a,updateLocation:T}}}),Rb=Symbol("Forwarded refs");function zb(n,e){let r=n;for(;r;){const S=Reflect.getOwnPropertyDescriptor(r,e);if(S)return S;r=Object.getPrototypeOf(r)}}function Vc(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),S=1;S!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),{scopeId:D}=T0(),x=rl(),o=cn(()=>n.id||`v-menu-${x}`),t=Gr(),d=Sa(Dx,null),g=Kr(0);as(Dx,{register(){++g.value},unregister(){--g.value},closeParents(){setTimeout(()=>{g.value||(S.value=!1,d==null||d.closeParents())},40)}});async function i(a){var l,h,f;const c=a.relatedTarget,s=a.target;await qa(),S.value&&c!==s&&((l=t.value)!=null&&l.contentEl)&&((h=t.value)!=null&&h.globalTop)&&![document,t.value.contentEl].includes(s)&&!t.value.contentEl.contains(s)&&((f=Om(t.value.contentEl)[0])==null||f.focus())}ei(S,a=>{a?(d==null||d.register(),document.addEventListener("focusin",i,{once:!0})):(d==null||d.unregister(),document.removeEventListener("focusin",i))});function M(){d==null||d.closeParents()}function v(a){var c,s,l;n.disabled||a.key==="Tab"&&(nA(Om((c=t.value)==null?void 0:c.contentEl,!1),a.shiftKey?"prev":"next",f=>f.tabIndex>=0)||(S.value=!1,(l=(s=t.value)==null?void 0:s.activatorEl)==null||l.focus()))}function p(a){var s;if(n.disabled)return;const c=(s=t.value)==null?void 0:s.contentEl;c&&S.value?a.key==="ArrowDown"?(a.preventDefault(),iy(c,"next")):a.key==="ArrowUp"&&(a.preventDefault(),iy(c,"prev")):["ArrowDown","ArrowUp"].includes(a.key)&&(S.value=!0,a.preventDefault(),setTimeout(()=>setTimeout(()=>p(a))))}const u=cn(()=>Zr({"aria-haspopup":"menu","aria-expanded":String(S.value),"aria-owns":o.value,onKeydown:p},n.activatorProps));return Fr(()=>{const[a]=Kf.filterProps(n);return dt(Kf,Zr({ref:t,class:["v-menu",n.class],style:n.style},a,{modelValue:S.value,"onUpdate:modelValue":c=>S.value=c,absolute:!0,activatorProps:u.value,"onClick:outside":M,onKeydown:v},D),{activator:r.activator,default:function(){for(var c=arguments.length,s=new Array(c),l=0;l{var h;return[(h=r.default)==null?void 0:h.call(r,...s)]}})}})}),Vc({id:o,ΨopenChildren:g},t)}});const MH=cr({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Jr(),...sh({transition:{component:D_}})},"VCounter"),d1=Er()({name:"VCounter",functional:!0,props:MH(),setup(n,e){let{slots:r}=e;const S=cn(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return Fr(()=>dt(Ec,{transition:n.transition},{default:()=>[Lo(dt("div",{class:["v-counter",n.class],style:n.style},[r.default?r.default({counter:S.value,max:n.max,value:n.value}):S.value]),[[vf,n.active]])]})),{}}});const AH=cr({floating:Boolean,...Jr()},"VFieldLabel"),rm=Er()({name:"VFieldLabel",props:AH(),setup(n,e){let{slots:r}=e;return Fr(()=>dt(w0,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},r)),{}}}),SH=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],p1=cr({appendInnerIcon:wi,bgColor:String,clearable:Boolean,clearIcon:{type:wi,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:wi,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>SH.includes(n)},"onClick:clear":ff(),"onClick:appendInner":ff(),"onClick:prependInner":ff(),...Jr(),...j_(),...uo(),...sa()},"VField"),pg=Er()({name:"VField",inheritAttrs:!1,props:{id:String,...l1(),...p1()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{themeClasses:x}=Ca(n),{loaderClasses:o}=o1(n),{focusClasses:t,isFocused:d,focus:g,blur:i}=$h(n),{InputIcon:M}=ZA(n),{roundedClasses:v}=Oo(n),{rtlClasses:p}=Ls(),u=cn(()=>n.dirty||n.active),a=cn(()=>!n.singleLine&&!!(n.label||D.label)),c=rl(),s=cn(()=>n.id||`input-${c}`),l=cn(()=>`${s.value}-messages`),h=Gr(),f=Gr(),m=Gr(),_=cn(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:y,backgroundColorStyles:C}=Fo(Ir(n,"bgColor")),{textColorClasses:w,textColorStyles:k}=tl(cn(()=>n.error||n.disabled?void 0:u.value&&d.value?n.color:n.baseColor));ei(u,A=>{if(a.value){const L=h.value.$el,b=f.value.$el;requestAnimationFrame(()=>{const O=k_(L),I=b.getBoundingClientRect(),R=I.x-O.x,z=I.y-O.y-(O.height/2-I.height/2),F=I.width/.75,B=Math.abs(F-O.width)>1?{maxWidth:ii(F)}:void 0,N=getComputedStyle(L),q=getComputedStyle(b),j=parseFloat(N.transitionDuration)*1e3||150,Y=parseFloat(q.getPropertyValue("--v-field-label-scale")),U=q.getPropertyValue("color");L.style.visibility="visible",b.style.visibility="hidden",_d(L,{transform:`translate(${R}px, ${z}px) scale(${Y})`,color:U,...B},{duration:j,easing:Pm,direction:A?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),b.style.removeProperty("visibility")})})}},{flush:"post"});const E=cn(()=>({isActive:u,isFocused:d,controlRef:m,blur:i,focus:g}));function T(A){A.target!==document.activeElement&&A.preventDefault()}return Fr(()=>{var R,z,F;const A=n.variant==="outlined",L=D["prepend-inner"]||n.prependInnerIcon,b=!!(n.clearable||D.clear),O=!!(D["append-inner"]||n.appendInnerIcon||b),I=D.label?D.label({...E.value,label:n.label,props:{for:s.value}}):n.label;return dt("div",Zr({class:["v-field",{"v-field--active":u.value,"v-field--appended":O,"v-field--center-affix":n.centerAffix??!_.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!I,[`v-field--variant-${n.variant}`]:!0},x.value,y.value,t.value,o.value,v.value,p.value,n.class],style:[C.value,n.style],onClick:T},r),[dt("div",{class:"v-field__overlay"},null),dt(U_,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:D.loader}),L&&dt("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&&dt(M,{key:"prepend-icon",name:"prependInner"},null),(R=D["prepend-inner"])==null?void 0:R.call(D,E.value)]),dt("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&a.value&&dt(rm,{key:"floating-label",ref:f,class:[w.value],floating:!0,for:s.value,style:k.value},{default:()=>[I]}),dt(rm,{ref:h,for:s.value},{default:()=>[I]}),(z=D.default)==null?void 0:z.call(D,{...E.value,props:{id:s.value,class:"v-field__input","aria-describedby":l.value},focus:g,blur:i})]),b&&dt(R_,{key:"clear"},{default:()=>[Lo(dt("div",{class:"v-field__clearable",onMousedown:B=>{B.preventDefault(),B.stopPropagation()}},[D.clear?D.clear():dt(M,{name:"clear"},null)]),[[vf,n.dirty]])]}),O&&dt("div",{key:"append",class:"v-field__append-inner"},[(F=D["append-inner"])==null?void 0:F.call(D,E.value),n.appendInnerIcon&&dt(M,{key:"append-icon",name:"appendInner"},null)]),dt("div",{class:["v-field__outline",w.value],style:k.value},[A&&dt(Xr,null,[dt("div",{class:"v-field__outline__start"},null),a.value&&dt("div",{class:"v-field__outline__notch"},[dt(rm,{ref:f,floating:!0,for:s.value},{default:()=>[I]})]),dt("div",{class:"v-field__outline__end"},null)]),_.value&&a.value&&dt(rm,{ref:f,floating:!0,for:s.value},{default:()=>[I]})])])}),{controlRef:m}}});function Y_(n){const e=Object.keys(pg.props).filter(r=>!__(r)&&r!=="class"&&r!=="style");return Fd(n,e)}const CH=["color","file","time","date","datetime-local","week","month"],m1=cr({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...uh(),...p1()},"VTextField"),Vd=Er()({name:"VTextField",directives:{Intersect:ug},inheritAttrs:!1,props:m1(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const x=Ti(n,"modelValue"),{isFocused:o,focus:t,blur:d}=$h(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(x.value):(x.value??"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter}),M=cn(()=>["plain","underlined"].includes(n.variant));function v(_,y){var C,w;!n.autofocus||!_||(w=(C=y[0].target)==null?void 0:C.focus)==null||w.call(C)}const p=Gr(),u=Gr(),a=Gr(),c=cn(()=>CH.includes(n.type)||n.persistentPlaceholder||o.value||n.active);function s(){var _;a.value!==document.activeElement&&((_=a.value)==null||_.focus()),o.value||t()}function l(_){S("mousedown:control",_),_.target!==a.value&&(s(),_.preventDefault())}function h(_){s(),S("click:control",_)}function f(_){_.stopPropagation(),s(),qa(()=>{x.value=null,T_(n["onClick:clear"],_)})}function m(_){var C;const y=_.target;if(x.value=y.value,(C=n.modelModifiers)!=null&&C.trim&&["text","search","password","tel","url"].includes(n.type)){const w=[y.selectionStart,y.selectionEnd];qa(()=>{y.selectionStart=w[0],y.selectionEnd=w[1]})}}return Fr(()=>{const _=!!(D.counter||n.counter||n.counterValue),y=!!(_||D.details),[C,w]=qd(r),[{modelValue:k,...E}]=Gs.filterProps(n),[T]=Y_(n);return dt(Gs,Zr({ref:p,modelValue:x.value,"onUpdate:modelValue":A=>x.value=A,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(n.variant)},n.class],style:n.style},C,E,{centerAffix:!M.value,focused:o.value}),{...D,default:A=>{let{id:L,isDisabled:b,isDirty:O,isReadonly:I,isValid:R}=A;return dt(pg,Zr({ref:u,onMousedown:l,onClick:h,"onClick:clear":f,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},T,{id:L.value,active:c.value||O.value,dirty:O.value||n.dirty,disabled:b.value,focused:o.value,error:R.value===!1}),{...D,default:z=>{let{props:{class:F,...B}}=z;const N=Lo(dt("input",Zr({ref:a,value:x.value,onInput:m,autofocus:n.autofocus,readonly:I.value,disabled:b.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:s,onBlur:d},B,w),null),[[Tu("intersect"),{handler:v},null,{once:!0}]]);return dt(Xr,null,[n.prefix&&dt("span",{class:"v-text-field__prefix"},[dt("span",{class:"v-text-field__prefix__text"},[n.prefix])]),D.default?dt("div",{class:F,"data-no-activator":""},[D.default(),N]):$f(N,{class:F}),n.suffix&&dt("span",{class:"v-text-field__suffix"},[dt("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:y?A=>{var L;return dt(Xr,null,[(L=D.details)==null?void 0:L.call(D,A),_&&dt(Xr,null,[dt("span",null,null),dt(d1,{active:n.persistentCounter||o.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},p,u,a)}});const EH=cr({renderless:Boolean,...Jr()},"VVirtualScrollItem"),LH=Er()({name:"VVirtualScrollItem",inheritAttrs:!1,props:EH(),emits:{"update:height":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{resizeRef:x,contentRect:o}=gf(void 0,"border");ei(()=>{var t;return(t=o.value)==null?void 0:t.height},t=>{t!=null&&S("update:height",t)}),Fr(()=>{var t,d;return n.renderless?dt(Xr,null,[(t=D.default)==null?void 0:t.call(D,{itemRef:x})]):dt("div",Zr({ref:x,class:["v-virtual-scroll__item",n.class],style:n.style},r),[(d=D.default)==null?void 0:d.call(D)])})}}),HT=-1,GT=1,IH=cr({itemHeight:{type:[Number,String],default:48}},"virtual");function OH(n,e,r){const S=Kr(0),D=Kr(n.itemHeight),x=cn({get:()=>parseInt(D.value??0,10),set(y){D.value=y}}),o=Gr(),{resizeRef:t,contentRect:d}=gf();wu(()=>{t.value=o.value});const g=$d(),i=new Map;let M=Array.from({length:e.value.length});const v=cn(()=>{const y=(!d.value||o.value===document.documentElement?g.height.value:d.value.height)-((r==null?void 0:r.value)??0);return Math.ceil(y/x.value*1.7+1)});function p(y,C){x.value=Math.max(x.value,C),M[y]=C,i.set(e.value[y],C)}function u(y){return M.slice(0,y).reduce((C,w)=>C+(w||x.value),0)}function a(y){const C=e.value.length;let w=0,k=0;for(;k=A&&(S.value=el(T,0,e.value.length-v.value)),c=C}function l(y){if(!o.value)return;const C=u(y);o.value.scrollTop=C}const h=cn(()=>Math.min(e.value.length,S.value+v.value)),f=cn(()=>e.value.slice(S.value,h.value).map((y,C)=>({raw:y,index:C+S.value}))),m=cn(()=>u(S.value)),_=cn(()=>u(e.value.length)-u(h.value));return ei(()=>e.value.length,()=>{M=Gf(e.value.length).map(()=>x.value),i.forEach((y,C)=>{const w=e.value.indexOf(C);w===-1?i.delete(C):M[w]=y})}),{containerRef:o,computedItems:f,itemHeight:x,paddingTop:m,paddingBottom:_,scrollToIndex:l,handleScroll:s,handleItemResize:p}}const PH=cr({items:{type:Array,default:()=>[]},renderless:Boolean,...IH(),...Jr(),...ec()},"VVirtualScroll"),g1=Er()({name:"VVirtualScroll",props:PH(),setup(n,e){let{slots:r}=e;const S=Es("VVirtualScroll"),{dimensionStyles:D}=tc(n),{containerRef:x,handleScroll:o,handleItemResize:t,scrollToIndex:d,paddingTop:g,paddingBottom:i,computedItems:M}=OH(n,Ir(n,"items"));return Nh(()=>n.renderless,()=>{nl(()=>{var v;x.value=S_(S.vnode.el,!0),(v=x.value)==null||v.addEventListener("scroll",o)}),Al(()=>{var v;(v=x.value)==null||v.removeEventListener("scroll",o)})}),Fr(()=>{const v=M.value.map(p=>dt(LH,{key:p.index,renderless:n.renderless,"onUpdate:height":u=>t(p.index,u)},{default:u=>{var a;return(a=r.default)==null?void 0:a.call(r,{item:p.raw,index:p.index,...u})}}));return n.renderless?dt(Xr,null,[dt("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:ii(g.value)}},null),v,dt("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:ii(i.value)}},null)]):dt("div",{ref:x,class:["v-virtual-scroll",n.class],onScroll:o,style:[D.value,n.style]},[dt("div",{class:"v-virtual-scroll__container",style:{paddingTop:ii(g.value),paddingBottom:ii(i.value)}},[v])])}),{scrollToIndex:d}}});function Z_(n,e){const r=Kr(!1);let S;function D(t){cancelAnimationFrame(S),r.value=!0,S=requestAnimationFrame(()=>{S=requestAnimationFrame(()=>{r.value=!1})})}async function x(){await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>{if(r.value){const d=ei(r,()=>{d(),t()})}else t()})}async function o(t){var i,M;if(t.key==="Tab"&&((i=e.value)==null||i.focus()),!["PageDown","PageUp","Home","End"].includes(t.key))return;const d=(M=n.value)==null?void 0:M.$el;if(!d)return;(t.key==="Home"||t.key==="End")&&d.scrollTo({top:t.key==="Home"?0:d.scrollHeight,behavior:"smooth"}),await x();const g=d.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(t.key==="PageDown"||t.key==="Home"){const v=d.getBoundingClientRect().top;for(const p of g)if(p.getBoundingClientRect().top>=v){p.focus();break}}else{const v=d.getBoundingClientRect().bottom;for(const p of[...g].reverse())if(p.getBoundingClientRect().bottom<=v){p.focus();break}}}return{onListScroll:D,onListKeydown:o}}const X_=cr({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:wi,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...hS({itemChildren:!1})},"Select"),DH=cr({...X_(),...Ku(m1({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...sh({transition:{component:i1}})},"VSelect"),RH=Er()({name:"VSelect",props:DH(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:S}=Qu(),D=Gr(),x=Gr(),o=Gr(),t=Ti(n,"menu"),d=cn({get:()=>t.value,set:O=>{var I;t.value&&!O&&((I=x.value)!=null&&I.ΨopenChildren)||(t.value=O)}}),{items:g,transformIn:i,transformOut:M}=q_(n),v=Ti(n,"modelValue",[],O=>i(O===null?[null]:bu(O)),O=>{const I=M(O);return n.multiple?I:I[0]??null}),p=u1(),u=cn(()=>v.value.map(O=>O.value)),a=Kr(!1),c=cn(()=>d.value?n.closeText:n.openText);let s="",l;const h=cn(()=>n.hideSelected?g.value.filter(O=>!v.value.some(I=>I===O)):g.value),f=cn(()=>n.hideNoData&&!g.value.length||n.readonly||(p==null?void 0:p.isReadonly.value)),m=Gr(),{onListScroll:_,onListKeydown:y}=Z_(m,D);function C(O){n.openOnClear&&(d.value=!0)}function w(){f.value||(d.value=!d.value)}function k(O){var B,N;if(!O.key||n.readonly||p!=null&&p.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(O.key)&&O.preventDefault(),["Enter","ArrowDown"," "].includes(O.key)&&(d.value=!0),["Escape","Tab"].includes(O.key)&&(d.value=!1),O.key==="Home"?(B=m.value)==null||B.focus("first"):O.key==="End"&&((N=m.value)==null||N.focus("last"));const I=1e3;function R(q){const j=q.key.length===1,Y=!q.ctrlKey&&!q.metaKey&&!q.altKey;return j&&Y}if(n.multiple||!R(O))return;const z=performance.now();z-l>I&&(s=""),s+=O.key.toLowerCase(),l=z;const F=g.value.find(q=>q.title.toLowerCase().startsWith(s));F!==void 0&&(v.value=[F])}function E(O){if(n.multiple){const I=v.value.findIndex(R=>n.valueComparator(R.value,O.value));if(I===-1)v.value=[...v.value,O];else{const R=[...v.value];R.splice(I,1),v.value=R}}else v.value=[O],d.value=!1}function T(O){var I;(I=m.value)!=null&&I.$el.contains(O.relatedTarget)||(d.value=!1)}function A(){var O;a.value&&((O=D.value)==null||O.focus())}function L(O){a.value=!0}function b(O){if(O==null)v.value=[];else if(n0(D.value,":autofill")||n0(D.value,":-webkit-autofill")){const I=g.value.find(R=>R.title===O);I&&E(I)}else D.value&&(D.value.value="")}return ei(d,()=>{if(!n.hideSelected&&d.value&&v.value.length){const O=h.value.findIndex(I=>v.value.some(R=>n.valueComparator(R.value,I.value)));no&&window.requestAnimationFrame(()=>{var I;O>=0&&((I=o.value)==null||I.scrollToIndex(O))})}}),Fr(()=>{const O=!!(n.chips||r.chip),I=!!(!n.hideNoData||h.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),R=v.value.length>0,[z]=Vd.filterProps(n),F=R||!a.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return dt(Vd,Zr({ref:D},z,{modelValue:v.value.map(B=>B.props.value).join(", "),"onUpdate:modelValue":b,focused:a.value,"onUpdate:focused":B=>a.value=B,validationValue:v.externalValue,dirty:R,class:["v-select",{"v-select--active-menu":d.value,"v-select--chips":!!n.chips,[`v-select--${n.multiple?"multiple":"single"}`]:!0,"v-select--selected":v.value.length,"v-select--selection-slot":!!r.selection},n.class],style:n.style,inputmode:"none",placeholder:F,"onClick:clear":C,"onMousedown:control":w,onBlur:T,onKeydown:k,"aria-label":S(c.value),title:S(c.value)}),{...r,default:()=>dt(Xr,null,[dt(h1,Zr({ref:x,modelValue:d.value,"onUpdate:modelValue":B=>d.value=B,activator:"parent",contentClass:"v-select__content",disabled:f.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:A},n.menuProps),{default:()=>[I&&dt(c1,{ref:m,selected:u.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:B=>B.preventDefault(),onKeydown:y,onFocusin:L,onScrollPassive:_,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var B,N,q;return[(B=r["prepend-item"])==null?void 0:B.call(r),!h.value.length&&!n.hideNoData&&(((N=r["no-data"])==null?void 0:N.call(r))??dt(Xf,{title:S(n.noDataText)},null)),dt(g1,{ref:o,renderless:!0,items:h.value},{default:j=>{var H;let{item:Y,index:U,itemRef:G}=j;const W=Zr(Y.props,{ref:G,key:U,onClick:()=>E(Y)});return((H=r.item)==null?void 0:H.call(r,{item:Y,index:U,props:W}))??dt(Xf,W,{prepend:ne=>{let{isSelected:te}=ne;return dt(Xr,null,[n.multiple&&!n.hideSelected?dt(a0,{key:Y.value,modelValue:te,ripple:!1,tabindex:"-1"},null):void 0,Y.props.prependIcon&&dt(Wa,{icon:Y.props.prependIcon},null)])}})}}),(q=r["append-item"])==null?void 0:q.call(r)]}})]}),v.value.map((B,N)=>{var Y;function q(U){U.stopPropagation(),U.preventDefault(),E(B)}const j={"onClick:close":q,onMousedown(U){U.preventDefault(),U.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return dt("div",{key:B.value,class:"v-select__selection"},[O?r.chip?dt(Va,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:B.title}}},{default:()=>{var U;return[(U=r.chip)==null?void 0:U.call(r,{item:B,index:N,props:j})]}}):dt(hg,Zr({key:"chip",closable:n.closableChips,size:"small",text:B.title},j),null):((Y=r.selection)==null?void 0:Y.call(r,{item:B,index:N}))??dt("span",{class:"v-select__selection-text"},[B.title,n.multiple&&Nn==null||e==null?-1:n.toString().toLocaleLowerCase().indexOf(e.toString().toLocaleLowerCase()),TS=cr({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function FH(n,e,r){var t;const S=[],D=(r==null?void 0:r.default)??zH,x=r!=null&&r.filterKeys?bu(r.filterKeys):!1,o=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(n!=null&&n.length))return S;e:for(let d=0;dS!=null&&S.transform?gu(e).map(d=>[d,S.transform(d)]):gu(e));wu(()=>{const d=typeof r=="function"?r():gu(r),g=typeof d!="string"&&typeof d!="number"?"":String(d),i=FH(o.value,g,{customKeyFilter:n.customKeyFilter,default:n.customFilter,filterKeys:n.filterKeys,filterMode:n.filterMode,noFilter:n.noFilter}),M=gu(e),v=[],p=new Map;i.forEach(u=>{let{index:a,matches:c}=u;const s=M[a];v.push(s),p.set(s.value,c)}),D.value=v,x.value=p});function t(d){return x.value.get(d.value)}return{filteredItems:D,filteredMatches:x,getMatches:t}}function BH(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?dt(Xr,null,[dt("span",{class:"v-autocomplete__unmask"},[n.substr(0,e)]),dt("span",{class:"v-autocomplete__mask"},[n.substr(e,r)]),dt("span",{class:"v-autocomplete__unmask"},[n.substr(e+r)])]):n}const NH=cr({autoSelectFirst:{type:[Boolean,String]},search:String,...TS({filterKeys:["title"]}),...X_(),...Ku(m1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...sh({transition:!1})},"VAutocomplete"),VH=Er()({name:"VAutocomplete",props:NH(),emits:{"update:focused":n=>!0,"update:search":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:S}=Qu(),D=Gr(),x=Kr(!1),o=Kr(!0),t=Kr(!1),d=Gr(),g=Gr(),i=Ti(n,"menu"),M=cn({get:()=>i.value,set:W=>{var H;i.value&&!W&&((H=d.value)!=null&&H.ΨopenChildren)||(i.value=W)}}),v=Kr(-1),p=cn(()=>{var W;return(W=D.value)==null?void 0:W.color}),u=cn(()=>M.value?n.closeText:n.openText),{items:a,transformIn:c,transformOut:s}=q_(n),{textColorClasses:l,textColorStyles:h}=tl(p),f=Ti(n,"search",""),m=Ti(n,"modelValue",[],W=>c(W===null?[null]:bu(W)),W=>{const H=s(W);return n.multiple?H:H[0]??null}),_=u1(),{filteredItems:y,getMatches:C}=kS(n,a,()=>o.value?"":f.value),w=cn(()=>n.hideSelected?y.value.filter(W=>!m.value.some(H=>H.value===W.value)):y.value),k=cn(()=>m.value.map(W=>W.props.value)),E=cn(()=>{var H;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&f.value===((H=w.value[0])==null?void 0:H.title))&&w.value.length>0&&!o.value&&!t.value}),T=cn(()=>n.hideNoData&&!a.value.length||n.readonly||(_==null?void 0:_.isReadonly.value)),A=Gr(),{onListScroll:L,onListKeydown:b}=Z_(A,D);function O(W){n.openOnClear&&(M.value=!0),f.value=""}function I(){T.value||(M.value=!0)}function R(W){T.value||(x.value&&(W.preventDefault(),W.stopPropagation()),M.value=!M.value)}function z(W){var te,Z,X;if(n.readonly||_!=null&&_.isReadonly.value)return;const H=D.value.selectionStart,ne=m.value.length;if((v.value>-1||["Enter","ArrowDown","ArrowUp"].includes(W.key))&&W.preventDefault(),["Enter","ArrowDown"].includes(W.key)&&(M.value=!0),["Escape"].includes(W.key)&&(M.value=!1),E.value&&["Enter","Tab"].includes(W.key)&&G(w.value[0]),W.key==="ArrowDown"&&E.value&&((te=A.value)==null||te.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(W.key)){if(v.value<0){W.key==="Backspace"&&!f.value&&(v.value=ne-1);return}const Q=v.value,re=m.value[v.value];re&&G(re),v.value=Q>=ne-1?ne-2:Q}if(W.key==="ArrowLeft"){if(v.value<0&&H>0)return;const Q=v.value>-1?v.value-1:ne-1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange((Z=f.value)==null?void 0:Z.length,(X=f.value)==null?void 0:X.length))}if(W.key==="ArrowRight"){if(v.value<0)return;const Q=v.value+1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange(0,0))}}}function F(W){f.value=W.target.value}function B(W){if(n0(D.value,":autofill")||n0(D.value,":-webkit-autofill")){const H=a.value.find(ne=>ne.title===W.target.value);H&&G(H)}}function N(){var W;x.value&&(o.value=!0,(W=D.value)==null||W.focus())}function q(W){x.value=!0,setTimeout(()=>{t.value=!0})}function j(W){t.value=!1}function Y(W){(W==null||W===""&&!n.multiple)&&(m.value=[])}const U=Kr(!1);function G(W){if(n.multiple){const H=m.value.findIndex(ne=>n.valueComparator(ne.value,W.value));if(H===-1)m.value=[...m.value,W];else{const ne=[...m.value];ne.splice(H,1),m.value=ne}}else m.value=[W],U.value=!0,f.value=W.title,M.value=!1,o.value=!0,qa(()=>U.value=!1)}return ei(x,(W,H)=>{var ne;W!==H&&(W?(U.value=!0,f.value=n.multiple?"":String(((ne=m.value.at(-1))==null?void 0:ne.props.title)??""),o.value=!0,qa(()=>U.value=!1)):(!n.multiple&&!f.value?m.value=[]:E.value&&!t.value&&!m.value.some(te=>{let{value:Z}=te;return Z===w.value[0].value})&&G(w.value[0]),M.value=!1,f.value="",v.value=-1))}),ei(f,W=>{!x.value||U.value||(W&&(M.value=!0),o.value=!W)}),ei(M,()=>{if(!n.hideSelected&&M.value&&m.value.length){const W=w.value.findIndex(H=>m.value.some(ne=>H.value===ne.value));no&&window.requestAnimationFrame(()=>{var H;W>=0&&((H=g.value)==null||H.scrollToIndex(W))})}}),Fr(()=>{const W=!!(n.chips||r.chip),H=!!(!n.hideNoData||w.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),ne=m.value.length>0,[te]=Vd.filterProps(n);return dt(Vd,Zr({ref:D},te,{modelValue:f.value,"onUpdate:modelValue":Y,focused:x.value,"onUpdate:focused":Z=>x.value=Z,validationValue:m.externalValue,dirty:ne,onInput:F,onChange:B,class:["v-autocomplete",`v-autocomplete--${n.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":M.value,"v-autocomplete--chips":!!n.chips,"v-autocomplete--selection-slot":!!r.selection,"v-autocomplete--selecting-index":v.value>-1},n.class],style:n.style,readonly:n.readonly,placeholder:ne?void 0:n.placeholder,"onClick:clear":O,"onMousedown:control":I,onKeydown:z}),{...r,default:()=>dt(Xr,null,[dt(h1,Zr({ref:d,modelValue:M.value,"onUpdate:modelValue":Z=>M.value=Z,activator:"parent",contentClass:"v-autocomplete__content",disabled:T.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:N},n.menuProps),{default:()=>[H&&dt(c1,{ref:A,selected:k.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:Z=>Z.preventDefault(),onKeydown:b,onFocusin:q,onFocusout:j,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var Z,X,Q;return[(Z=r["prepend-item"])==null?void 0:Z.call(r),!w.value.length&&!n.hideNoData&&(((X=r["no-data"])==null?void 0:X.call(r))??dt(Xf,{title:S(n.noDataText)},null)),dt(g1,{ref:g,renderless:!0,items:w.value},{default:re=>{var ye;let{item:ie,index:oe,itemRef:ue}=re;const ce=Zr(ie.props,{ref:ue,key:oe,active:E.value&&oe===0?!0:void 0,onClick:()=>G(ie)});return((ye=r.item)==null?void 0:ye.call(r,{item:ie,index:oe,props:ce}))??dt(Xf,ce,{prepend:de=>{let{isSelected:me}=de;return dt(Xr,null,[n.multiple&&!n.hideSelected?dt(a0,{key:ie.value,modelValue:me,ripple:!1,tabindex:"-1"},null):void 0,ie.props.prependIcon&&dt(Wa,{icon:ie.props.prependIcon},null)])},title:()=>{var de,me;return o.value?ie.title:BH(ie.title,(de=C(ie))==null?void 0:de.title,((me=f.value)==null?void 0:me.length)??0)}})}}),(Q=r["append-item"])==null?void 0:Q.call(r)]}})]}),m.value.map((Z,X)=>{var ie;function Q(oe){oe.stopPropagation(),oe.preventDefault(),G(Z)}const re={"onClick:close":Q,onMousedown(oe){oe.preventDefault(),oe.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return dt("div",{key:Z.value,class:["v-autocomplete__selection",X===v.value&&["v-autocomplete__selection--selected",l.value]],style:X===v.value?h.value:{}},[W?r.chip?dt(Va,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:Z.title}}},{default:()=>{var oe;return[(oe=r.chip)==null?void 0:oe.call(r,{item:Z,index:X,props:re})]}}):dt(hg,Zr({key:"chip",closable:n.closableChips,size:"small",text:Z.title},re),null):((ie=r.selection)==null?void 0:ie.call(r,{item:Z,index:X}))??dt("span",{class:"v-autocomplete__selection-text"},[Z.title,n.multiple&&X(n.floating?n.dot?2:4:n.dot?8:12)+(["top","bottom"].includes(i)?+(n.offsetY??0):["left","right"].includes(i)?+(n.offsetX??0):0));return Fr(()=>{const i=Number(n.content),M=!n.max||isNaN(i)?n.content:i<=+n.max?i:`${n.max}+`,[v,p]=Fd(e.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return dt(n.tag,Zr({class:["v-badge",{"v-badge--bordered":n.bordered,"v-badge--dot":n.dot,"v-badge--floating":n.floating,"v-badge--inline":n.inline},n.class]},p,{style:n.style}),{default:()=>{var u,a;return[dt("div",{class:"v-badge__wrapper"},[(a=(u=e.slots).default)==null?void 0:a.call(u),dt(Ec,{transition:n.transition},{default:()=>{var c,s;return[Lo(dt("span",Zr({class:["v-badge__badge",d.value,r.value,D.value,o.value],style:[S.value,t.value,n.inline?{}:g.value],"aria-atomic":"true","aria-label":x(n.label,i),"aria-live":"polite",role:"status"},v),[n.dot?void 0:e.slots.badge?(s=(c=e.slots).badge)==null?void 0:s.call(c):n.icon?dt(Wa,{icon:n.icon},null):M]),[[vf,n.modelValue]])]}})])]}})}),{}}});const HH=cr({color:String,density:String,...Jr()},"VBannerActions"),MS=Er()({name:"VBannerActions",props:HH(),setup(n,e){let{slots:r}=e;return is({VBtn:{color:n.color,density:n.density,variant:"text"}}),Fr(()=>{var S;return dt("div",{class:["v-banner-actions",n.class],style:n.style},[(S=r.default)==null?void 0:S.call(r)])}),{}}}),AS=Nc("v-banner-text"),GH=cr({avatar:String,color:String,icon:wi,lines:String,stacked:Boolean,sticky:Boolean,text:String,...Au(),...Jr(),...ms(),...ec(),...ps(),...Gh(),...x0(),...uo(),...Li(),...sa()},"VBanner"),WH=Er()({name:"VBanner",props:GH(),setup(n,e){let{slots:r}=e;const{borderClasses:S}=nc(n),{densityClasses:D}=il(n),{mobile:x}=$d(),{dimensionStyles:o}=tc(n),{elevationClasses:t}=Ws(n),{locationStyles:d}=Wh(n),{positionClasses:g}=_0(n),{roundedClasses:i}=Oo(n),{themeClasses:M}=Ca(n),v=Ir(n,"color"),p=Ir(n,"density");is({VBannerActions:{color:v,density:p}}),Fr(()=>{const u=!!(n.text||r.text),a=!!(n.avatar||n.icon),c=!!(a||r.prepend);return dt(n.tag,{class:["v-banner",{"v-banner--stacked":n.stacked||x.value,"v-banner--sticky":n.sticky,[`v-banner--${n.lines}-line`]:!!n.lines},S.value,D.value,t.value,g.value,i.value,M.value,n.class],style:[o.value,d.value,n.style],role:"banner"},{default:()=>{var s;return[c&&dt("div",{key:"prepend",class:"v-banner__prepend"},[r.prepend?dt(Va,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{color:v.value,density:p.value,icon:n.icon,image:n.avatar}}},r.prepend):dt(Vh,{key:"prepend-avatar",color:v.value,density:p.value,icon:n.icon,image:n.avatar},null)]),dt("div",{class:"v-banner__content"},[u&&dt(AS,{key:"text"},{default:()=>{var l;return[((l=r.text)==null?void 0:l.call(r))??n.text]}}),(s=r.default)==null?void 0:s.call(r)]),r.actions&&dt(MS,{key:"actions"},r.actions)]}})})}});const qH=cr({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:n=>!n||["horizontal","shift"].includes(n)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...Au(),...Jr(),...ms(),...ps(),...uo(),...p0({name:"bottom-navigation"}),...Li({tag:"header"}),...g0({modelValue:!0,selectedClass:"v-btn--selected"}),...sa()},"VBottomNavigation"),$H=Er()({name:"VBottomNavigation",props:qH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=xA(),{borderClasses:D}=nc(n),{backgroundColorClasses:x,backgroundColorStyles:o}=Fo(Ir(n,"bgColor")),{densityClasses:t}=il(n),{elevationClasses:d}=Ws(n),{roundedClasses:g}=Oo(n),{ssrBootStyles:i}=Yd(),M=cn(()=>Number(n.height)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0)),v=Ir(n,"active"),{layoutItemStyles:p}=m0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:cn(()=>v.value?M.value:0),elementSize:M,active:v,absolute:Ir(n,"absolute")});return Kd(n,F_),is({VBtn:{color:Ir(n,"color"),density:Ir(n,"density"),stacked:cn(()=>n.mode!=="horizontal"),variant:"text"}},{scoped:!0}),Fr(()=>dt(n.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":v.value,"v-bottom-navigation--grow":n.grow,"v-bottom-navigation--shift":n.mode==="shift"},S.value,x.value,D.value,t.value,d.value,g.value,n.class],style:[o.value,p.value,{height:ii(M.value),transform:`translateY(${ii(v.value?0:100,"%")})`},i.value,n.style]},{default:()=>[r.default&&dt("div",{class:"v-bottom-navigation__content"},[r.default()])]})),{}}});const YH=cr({divider:[Number,String],...Jr()},"VBreadcrumbsDivider"),SS=Er()({name:"VBreadcrumbsDivider",props:YH(),setup(n,e){let{slots:r}=e;return Fr(()=>{var S;return dt("li",{class:["v-breadcrumbs-divider",n.class],style:n.style},[((S=r==null?void 0:r.default)==null?void 0:S.call(r))??n.divider])}),{}}}),ZH=cr({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...Jr(),...fg(),...Li({tag:"li"})},"VBreadcrumbsItem"),CS=Er()({name:"VBreadcrumbsItem",props:ZH(),setup(n,e){let{slots:r,attrs:S}=e;const D=cg(n,S),x=cn(()=>{var g;return n.active||((g=D.isActive)==null?void 0:g.value)}),o=cn(()=>x.value?n.activeColor:n.color),{textColorClasses:t,textColorStyles:d}=tl(o);return Fr(()=>dt(n.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":x.value,"v-breadcrumbs-item--disabled":n.disabled,[`${n.activeClass}`]:x.value&&n.activeClass},t.value,n.class],style:[d.value,n.style],"aria-current":x.value?"page":void 0},{default:()=>{var g,i;return[D.isLink.value?dt("a",{class:"v-breadcrumbs-item--link",href:D.href.value,"aria-current":x.value?"page":void 0,onClick:D.navigate},[((i=r.default)==null?void 0:i.call(r))??n.title]):((g=r.default)==null?void 0:g.call(r))??n.title]}})),{}}}),XH=cr({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:wi,items:{type:Array,default:()=>[]},...Jr(),...ms(),...uo(),...Li({tag:"ul"})},"VBreadcrumbs"),KH=Er()({name:"VBreadcrumbs",props:XH(),setup(n,e){let{slots:r}=e;const{backgroundColorClasses:S,backgroundColorStyles:D}=Fo(Ir(n,"bgColor")),{densityClasses:x}=il(n),{roundedClasses:o}=Oo(n);is({VBreadcrumbsDivider:{divider:Ir(n,"divider")},VBreadcrumbsItem:{activeClass:Ir(n,"activeClass"),activeColor:Ir(n,"activeColor"),color:Ir(n,"color"),disabled:Ir(n,"disabled")}});const t=cn(()=>n.items.map(d=>typeof d=="string"?{item:{title:d},raw:d}:{item:d,raw:d}));return Fr(()=>{const d=!!(r.prepend||n.icon);return dt(n.tag,{class:["v-breadcrumbs",S.value,x.value,o.value,n.class],style:[D.value,n.style]},{default:()=>{var g;return[d&&dt("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[r.prepend?dt(Va,{key:"prepend-defaults",disabled:!n.icon,defaults:{VIcon:{icon:n.icon,start:!0}}},r.prepend):dt(Wa,{key:"prepend-icon",start:!0,icon:n.icon},null)]),t.value.map((i,M,v)=>{let{item:p,raw:u}=i;return dt(Xr,null,[dt(CS,Zr({key:p.title,disabled:M>=v.length-1},p),{default:r.title?()=>{var a;return(a=r.title)==null?void 0:a.call(r,{item:u,index:M})}:void 0}),M{var a;return(a=r.divider)==null?void 0:a.call(r,{item:u,index:M})}:void 0})])}),(g=r.default)==null?void 0:g.call(r)]}})}),{}}});const ES=Er()({name:"VCardActions",props:Jr(),setup(n,e){let{slots:r}=e;return is({VBtn:{variant:"text"}}),Fr(()=>{var S;return dt("div",{class:["v-card-actions",n.class],style:n.style},[(S=r.default)==null?void 0:S.call(r)])}),{}}}),LS=Nc("v-card-subtitle"),IS=Nc("v-card-title"),JH=cr({appendAvatar:String,appendIcon:wi,prependAvatar:String,prependIcon:wi,subtitle:String,title:String,...Jr(),...ms()},"VCardItem"),OS=Er()({name:"VCardItem",props:JH(),setup(n,e){let{slots:r}=e;return Fr(()=>{var g;const S=!!(n.prependAvatar||n.prependIcon),D=!!(S||r.prepend),x=!!(n.appendAvatar||n.appendIcon),o=!!(x||r.append),t=!!(n.title||r.title),d=!!(n.subtitle||r.subtitle);return dt("div",{class:["v-card-item",n.class],style:n.style},[D&&dt("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?dt(Va,{key:"prepend-defaults",disabled:!S,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},r.prepend):S&&dt(Vh,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),dt("div",{class:"v-card-item__content"},[t&&dt(IS,{key:"title"},{default:()=>{var i;return[((i=r.title)==null?void 0:i.call(r))??n.title]}}),d&&dt(LS,{key:"subtitle"},{default:()=>{var i;return[((i=r.subtitle)==null?void 0:i.call(r))??n.subtitle]}}),(g=r.default)==null?void 0:g.call(r)]),o&&dt("div",{key:"append",class:"v-card-item__append"},[r.append?dt(Va,{key:"append-defaults",disabled:!x,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},r.append):x&&dt(Vh,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),PS=Nc("v-card-text"),QH=cr({appendAvatar:String,appendIcon:wi,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:wi,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Au(),...Jr(),...ms(),...ec(),...ps(),...j_(),...Gh(),...x0(),...uo(),...fg(),...Li(),...sa(),...rc({variant:"elevated"})},"VCard"),eG=Er()({name:"VCard",directives:{Ripple:qh},props:QH(),setup(n,e){let{attrs:r,slots:S}=e;const{themeClasses:D}=Ca(n),{borderClasses:x}=nc(n),{colorClasses:o,colorStyles:t,variantClasses:d}=Xd(n),{densityClasses:g}=il(n),{dimensionStyles:i}=tc(n),{elevationClasses:M}=Ws(n),{loaderClasses:v}=o1(n),{locationStyles:p}=Wh(n),{positionClasses:u}=_0(n),{roundedClasses:a}=Oo(n),c=cg(n,r),s=cn(()=>n.link!==!1&&c.isLink.value),l=cn(()=>!n.disabled&&n.link!==!1&&(n.link||c.isClickable.value));return Fr(()=>{const h=s.value?"a":n.tag,f=!!(S.title||n.title),m=!!(S.subtitle||n.subtitle),_=f||m,y=!!(S.append||n.appendAvatar||n.appendIcon),C=!!(S.prepend||n.prependAvatar||n.prependIcon),w=!!(S.image||n.image),k=_||C||y,E=!!(S.text||n.text);return Lo(dt(h,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":l.value},D.value,x.value,o.value,g.value,M.value,v.value,u.value,a.value,d.value,n.class],style:[t.value,i.value,p.value,n.style],href:c.href.value,onClick:l.value&&c.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var T;return[w&&dt("div",{key:"image",class:"v-card__image"},[S.image?dt(Va,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},S.image):dt(Bd,{key:"image-img",cover:!0,src:n.image},null)]),dt(U_,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:S.loader}),k&&dt(OS,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:S.item,prepend:S.prepend,title:S.title,subtitle:S.subtitle,append:S.append}),E&&dt(PS,{key:"text"},{default:()=>{var A;return[((A=S.text)==null?void 0:A.call(S))??n.text]}}),(T=S.default)==null?void 0:T.call(S),S.actions&&dt(ES,null,{default:S.actions}),Zd(l.value,"v-card")]}}),[[Tu("ripple"),l.value&&n.ripple]])}),{}}});const tG=n=>{const{touchstartX:e,touchendX:r,touchstartY:S,touchendY:D}=n,x=.5,o=16;n.offsetX=r-e,n.offsetY=D-S,Math.abs(n.offsetY)e+o&&n.right(n)),Math.abs(n.offsetX)S+o&&n.down(n))};function nG(n,e){var S;const r=n.changedTouches[0];e.touchstartX=r.clientX,e.touchstartY=r.clientY,(S=e.start)==null||S.call(e,{originalEvent:n,...e})}function rG(n,e){var S;const r=n.changedTouches[0];e.touchendX=r.clientX,e.touchendY=r.clientY,(S=e.end)==null||S.call(e,{originalEvent:n,...e}),tG(e)}function iG(n,e){var S;const r=n.changedTouches[0];e.touchmoveX=r.clientX,e.touchmoveY=r.clientY,(S=e.move)==null||S.call(e,{originalEvent:n,...e})}function aG(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:n.left,right:n.right,up:n.up,down:n.down,start:n.start,move:n.move,end:n.end};return{touchstart:r=>nG(r,e),touchend:r=>rG(r,e),touchmove:r=>iG(r,e)}}function oG(n,e){var t;const r=e.value,S=r!=null&&r.parent?n.parentElement:n,D=(r==null?void 0:r.options)??{passive:!0},x=(t=e.instance)==null?void 0:t.$.uid;if(!S||!x)return;const o=aG(e.value);S._touchHandlers=S._touchHandlers??Object.create(null),S._touchHandlers[x]=o,JM(o).forEach(d=>{S.addEventListener(d,o[d],D)})}function sG(n,e){var x,o;const r=(x=e.value)!=null&&x.parent?n.parentElement:n,S=(o=e.instance)==null?void 0:o.$.uid;if(!(r!=null&&r._touchHandlers)||!S)return;const D=r._touchHandlers[S];JM(D).forEach(t=>{r.removeEventListener(t,D[t])}),delete r._touchHandlers[S]}const K_={mounted:oG,unmounted:sG},DS=Symbol.for("vuetify:v-window"),RS=Symbol.for("vuetify:v-window-group"),zS=cr({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||n==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...Jr(),...Li(),...sa()},"VWindow"),Rx=Er()({name:"VWindow",directives:{Touch:K_},props:zS(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{isRtl:D}=Ls(),{t:x}=Qu(),o=Kd(n,RS),t=Gr(),d=cn(()=>D.value?!n.reverse:n.reverse),g=Kr(!1),i=cn(()=>{const f=n.direction==="vertical"?"y":"x",_=(d.value?!g.value:g.value)?"-reverse":"";return`v-window-${f}${_}-transition`}),M=Kr(0),v=Gr(void 0),p=cn(()=>o.items.value.findIndex(f=>o.selected.value.includes(f.id)));ei(p,(f,m)=>{const _=o.items.value.length,y=_-1;_<=2?g.value=fn.continuous||p.value!==0),a=cn(()=>n.continuous||p.value!==o.items.value.length-1);function c(){u.value&&o.prev()}function s(){a.value&&o.next()}const l=cn(()=>{const f=[],m={icon:D.value?n.nextIcon:n.prevIcon,class:`v-window__${d.value?"right":"left"}`,onClick:o.prev,ariaLabel:x("$vuetify.carousel.prev")};f.push(u.value?r.prev?r.prev({props:m}):dt(Ml,m,null):dt("div",null,null));const _={icon:D.value?n.prevIcon:n.nextIcon,class:`v-window__${d.value?"left":"right"}`,onClick:o.next,ariaLabel:x("$vuetify.carousel.next")};return f.push(a.value?r.next?r.next({props:_}):dt(Ml,_,null):dt("div",null,null)),f}),h=cn(()=>n.touch===!1?n.touch:{...{left:()=>{d.value?c():s()},right:()=>{d.value?s():c()},start:m=>{let{originalEvent:_}=m;_.stopPropagation()}},...n.touch===!0?{}:n.touch});return Fr(()=>Lo(dt(n.tag,{ref:t,class:["v-window",{"v-window--show-arrows-on-hover":n.showArrows==="hover"},S.value,n.class],style:n.style},{default:()=>{var f,m;return[dt("div",{class:"v-window__container",style:{height:v.value}},[(f=r.default)==null?void 0:f.call(r,{group:o}),n.showArrows!==!1&&dt("div",{class:"v-window__controls"},[l.value])]),(m=r.additional)==null?void 0:m.call(r,{group:o})]}}),[[Tu("touch"),h.value]])),{group:o}}}),lG=cr({color:String,cycle:Boolean,delimiterIcon:{type:wi,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:n=>Number(n)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...zS({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),uG=Er()({name:"VCarousel",props:lG(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),{t:D}=Qu(),x=Gr();let o=-1;ei(S,d),ei(()=>n.interval,d),ei(()=>n.cycle,g=>{g?d():window.clearTimeout(o)}),nl(t);function t(){!n.cycle||!x.value||(o=window.setTimeout(x.value.group.next,+n.interval>0?+n.interval:6e3))}function d(){window.clearTimeout(o),window.requestAnimationFrame(t)}return Fr(()=>{const[g]=Rx.filterProps(n);return dt(Rx,Zr({ref:x},g,{modelValue:S.value,"onUpdate:modelValue":i=>S.value=i,class:["v-carousel",{"v-carousel--hide-delimiter-background":n.hideDelimiterBackground,"v-carousel--vertical-delimiters":n.verticalDelimiters},n.class],style:[{height:ii(n.height)},n.style]}),{default:r.default,additional:i=>{let{group:M}=i;return dt(Xr,null,[!n.hideDelimiters&&dt("div",{class:"v-carousel__controls",style:{left:n.verticalDelimiters==="left"&&n.verticalDelimiters?0:"auto",right:n.verticalDelimiters==="right"?0:"auto"}},[M.items.value.length>0&&dt(Va,{defaults:{VBtn:{color:n.color,icon:n.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[M.items.value.map((v,p)=>{const u={id:`carousel-item-${v.id}`,"aria-label":D("$vuetify.carousel.ariaLabel.delimiter",p+1,M.items.value.length),class:[M.isSelected(v.id)&&"v-btn--active"],onClick:()=>M.select(v.id,!0)};return r.item?r.item({props:u,item:v}):dt(Ml,Zr(v,u),null)})]})]),n.progress&&dt(V_,{class:"v-carousel__progress",color:typeof n.progress=="string"?n.progress:void 0,modelValue:(M.getItemIndex(S.value)+1)/M.items.value.length*100},null)])},prev:r.prev,next:r.next})}),{}}}),FS=cr({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...Jr(),...v0(),...f1()},"VWindowItem"),zx=Er()({name:"VWindowItem",directives:{Touch:K_},props:FS(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const S=Sa(DS),D=y0(n,RS),{isBooted:x}=Yd();if(!S||!D)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const o=Kr(!1),t=cn(()=>x.value&&(S.isReversed.value?n.reverseTransition!==!1:n.transition!==!1));function d(){!o.value||!S||(o.value=!1,S.transitionCount.value>0&&(S.transitionCount.value-=1,S.transitionCount.value===0&&(S.transitionHeight.value=void 0)))}function g(){var u;o.value||!S||(o.value=!0,S.transitionCount.value===0&&(S.transitionHeight.value=ii((u=S.rootRef.value)==null?void 0:u.clientHeight)),S.transitionCount.value+=1)}function i(){d()}function M(u){o.value&&qa(()=>{!t.value||!o.value||!S||(S.transitionHeight.value=ii(u.clientHeight))})}const v=cn(()=>{const u=S.isReversed.value?n.reverseTransition:n.transition;return t.value?{name:typeof u!="string"?S.transition.value:u,onBeforeEnter:g,onAfterEnter:d,onEnterCancelled:i,onBeforeLeave:g,onAfterLeave:d,onLeaveCancelled:i,onEnter:M}:!1}),{hasContent:p}=$_(n,D.isSelected);return Fr(()=>dt(Ec,{transition:v.value,disabled:!x.value},{default:()=>{var u;return[Lo(dt("div",{class:["v-window-item",D.selectedClass.value,n.class],style:n.style},[p.value&&((u=r.default)==null?void 0:u.call(r))]),[[vf,D.isSelected.value]])]}})),{groupItem:D}}}),cG=cr({...OA(),...FS()},"VCarouselItem"),fG=Er()({name:"VCarouselItem",inheritAttrs:!1,props:cG(),setup(n,e){let{slots:r,attrs:S}=e;Fr(()=>{const[D]=Bd.filterProps(n),[x]=zx.filterProps(n);return dt(zx,Zr({class:"v-carousel-item"},x),{default:()=>[dt(Bd,Zr(S,D),r)]})})}});const hG=Nc("v-code");const dG=cr({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...Jr()},"VColorPickerCanvas"),pG=Ju({name:"VColorPickerCanvas",props:dG(),emits:{"update:color":n=>!0,"update:position":n=>!0},setup(n,e){let{emit:r}=e;const S=Kr(!1),D=Gr(),x=Kr(parseFloat(n.width)),o=Kr(parseFloat(n.height)),t=Gr({x:0,y:0}),d=cn({get:()=>t.value,set(c){var h,f;if(!D.value)return;const{x:s,y:l}=c;r("update:color",{h:((h=n.color)==null?void 0:h.h)??0,s:el(s,0,x.value)/x.value,v:1-el(l,0,o.value)/o.value,a:((f=n.color)==null?void 0:f.a)??1})}}),g=cn(()=>{const{x:c,y:s}=d.value,l=parseInt(n.dotSize,10)/2;return{width:ii(n.dotSize),height:ii(n.dotSize),transform:`translate(${ii(c-l)}, ${ii(s-l)})`}}),{resizeRef:i}=gf(c=>{var h;if(!((h=i.value)!=null&&h.offsetParent))return;const{width:s,height:l}=c[0].contentRect;x.value=s,o.value=l});function M(c,s,l){const{left:h,top:f,width:m,height:_}=l;d.value={x:el(c-h,0,m),y:el(s-f,0,_)}}function v(c){c.type==="mousedown"&&c.preventDefault(),!n.disabled&&(p(c),window.addEventListener("mousemove",p),window.addEventListener("mouseup",u),window.addEventListener("touchmove",p),window.addEventListener("touchend",u))}function p(c){if(n.disabled||!D.value)return;S.value=!0;const s=uV(c);M(s.clientX,s.clientY,D.value.getBoundingClientRect())}function u(){window.removeEventListener("mousemove",p),window.removeEventListener("mouseup",u),window.removeEventListener("touchmove",p),window.removeEventListener("touchend",u)}function a(){var f;if(!D.value)return;const c=D.value,s=c.getContext("2d");if(!s)return;const l=s.createLinearGradient(0,0,c.width,0);l.addColorStop(0,"hsla(0, 0%, 100%, 1)"),l.addColorStop(1,`hsla(${((f=n.color)==null?void 0:f.h)??0}, 100%, 50%, 1)`),s.fillStyle=l,s.fillRect(0,0,c.width,c.height);const h=s.createLinearGradient(0,0,0,c.height);h.addColorStop(0,"hsla(0, 0%, 100%, 0)"),h.addColorStop(1,"hsla(0, 0%, 0%, 1)"),s.fillStyle=h,s.fillRect(0,0,c.width,c.height)}return ei(()=>{var c;return(c=n.color)==null?void 0:c.h},a,{immediate:!0}),ei(()=>[x.value,o.value],(c,s)=>{a(),t.value={x:d.value.x*c[0]/s[0],y:d.value.y*c[1]/s[1]}},{flush:"post"}),ei(()=>n.color,()=>{if(S.value){S.value=!1;return}t.value=n.color?{x:n.color.s*x.value,y:(1-n.color.v)*o.value}:{x:0,y:0}},{deep:!0,immediate:!0}),nl(()=>a()),Fr(()=>dt("div",{ref:i,class:["v-color-picker-canvas",n.class],style:n.style,onMousedown:v,onTouchstartPassive:v},[dt("canvas",{ref:D,width:x.value,height:o.value},null),n.color&&dt("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":n.disabled}],style:g.value},null)])),{}}});function mG(n,e){if(e){const{a:r,...S}=n;return S}return n}function gG(n,e){if(e==null||typeof e=="string"){const r=dA(n);return n.a===1?r.slice(0,7):r}if(typeof e=="object"){let r;return xd(e,["r","g","b"])?r=Zf(n):xd(e,["h","s","l"])?r=lA(n):xd(e,["h","s","v"])&&(r=n),mG(r,!xd(e,["a"])&&n.a===1)}return n}const mm={h:0,s:0,v:1,a:1},Fx={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:n=>Math.round(n.r),getColor:(n,e)=>({...n,r:Number(e)})},{label:"G",max:255,step:1,getValue:n=>Math.round(n.g),getColor:(n,e)=>({...n,g:Number(e)})},{label:"B",max:255,step:1,getValue:n=>Math.round(n.b),getColor:(n,e)=>({...n,b:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:Zf,from:t1};var KT;const vG={...Fx,inputs:(KT=Fx.inputs)==null?void 0:KT.slice(0,3)},Bx={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:n=>Math.round(n.h),getColor:(n,e)=>({...n,h:Number(e)})},{label:"S",max:1,step:.01,getValue:n=>Math.round(n.s*100)/100,getColor:(n,e)=>({...n,s:Number(e)})},{label:"L",max:1,step:.01,getValue:n=>Math.round(n.l*100)/100,getColor:(n,e)=>({...n,l:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:lA,from:A_},yG={...Bx,inputs:Bx.inputs.slice(0,3)},BS={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:n=>n,getColor:(n,e)=>e}],to:dA,from:CV},bG={...BS,inputs:[{label:"HEX",getValue:n=>n.slice(0,7),getColor:(n,e)=>e}]},Cd={rgb:vG,rgba:Fx,hsl:yG,hsla:Bx,hex:bG,hexa:BS},xG=n=>{let{label:e,...r}=n;return dt("div",{class:"v-color-picker-edit__input"},[dt("input",r,null),dt("span",null,[e])])},_G=cr({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Cd).includes(n)},modes:{type:Array,default:()=>Object.keys(Cd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Cd).includes(e))},...Jr()},"VColorPickerEdit"),wG=Ju({name:"VColorPickerEdit",props:_G(),emits:{"update:color":n=>!0,"update:mode":n=>!0},setup(n,e){let{emit:r}=e;const S=cn(()=>n.modes.map(x=>({...Cd[x],name:x}))),D=cn(()=>{var t;const x=S.value.find(d=>d.name===n.mode);if(!x)return[];const o=n.color?x.to(n.color):null;return(t=x.inputs)==null?void 0:t.map(d=>{let{getValue:g,getColor:i,...M}=d;return{...x.inputProps,...M,disabled:n.disabled,value:o&&g(o),onChange:v=>{const p=v.target;p&&r("update:color",x.from(i(o??mm,p.value)))}}})});return Fr(()=>{var x;return dt("div",{class:["v-color-picker-edit",n.class],style:n.style},[(x=D.value)==null?void 0:x.map(o=>dt(xG,o,null)),S.value.length>1&&dt(Ml,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const o=S.value.findIndex(t=>t.name===n.mode);r("update:mode",S.value[(o+1)%S.value.length].name)}},null)])}),{}}});const J_=Symbol.for("vuetify:v-slider");function Nx(n,e,r){const S=r==="vertical",D=e.getBoundingClientRect(),x="touches"in n?n.touches[0]:n;return S?x.clientY-(D.top+D.height/2):x.clientX-(D.left+D.width/2)}function TG(n,e){return"touches"in n&&n.touches.length?n.touches[0][e]:"changedTouches"in n&&n.changedTouches.length?n.changedTouches[0][e]:n[e]}const NS=cr({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:n=>typeof n=="boolean"||n==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:n=>typeof n=="boolean"||n==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:n=>["vertical","horizontal"].includes(n)},reverse:Boolean,...uo(),...ps({elevation:2})},"Slider"),VS=n=>{const e=cn(()=>parseFloat(n.min)),r=cn(()=>parseFloat(n.max)),S=cn(()=>+n.step>0?parseFloat(n.step):0),D=cn(()=>Math.max(iT(S.value),iT(e.value)));function x(o){if(o=parseFloat(o),S.value<=0)return o;const t=el(o,e.value,r.value),d=e.value%S.value,g=Math.round((t-d)/S.value)*S.value+d;return parseFloat(Math.min(g,r.value).toFixed(D.value))}return{min:e,max:r,step:S,decimals:D,roundValue:x}},jS=n=>{let{props:e,steps:r,onSliderStart:S,onSliderMove:D,onSliderEnd:x,getActiveThumb:o}=n;const{isRtl:t}=Ls(),d=Ir(e,"reverse"),g=cn(()=>{let U=t.value?"rtl":"ltr";return e.reverse&&(U=U==="rtl"?"ltr":"rtl"),U}),{min:i,max:M,step:v,decimals:p,roundValue:u}=r,a=cn(()=>parseInt(e.thumbSize,10)),c=cn(()=>parseInt(e.tickSize,10)),s=cn(()=>parseInt(e.trackSize,10)),l=cn(()=>(M.value-i.value)/v.value),h=Ir(e,"disabled"),f=cn(()=>e.direction==="vertical"),m=cn(()=>e.error||e.disabled?void 0:e.thumbColor??e.color),_=cn(()=>e.error||e.disabled?void 0:e.trackColor??e.color),y=cn(()=>e.error||e.disabled?void 0:e.trackFillColor??e.color),C=Kr(!1),w=Kr(0),k=Gr(),E=Gr();function T(U){var re;const G=e.direction==="vertical",W=G?"top":"left",H=G?"height":"width",ne=G?"clientY":"clientX",{[W]:te,[H]:Z}=(re=k.value)==null?void 0:re.$el.getBoundingClientRect(),X=TG(U,ne);let Q=Math.min(Math.max((X-te-w.value)/Z,0),1)||0;return(G||g.value==="rtl")&&(Q=1-Q),u(i.value+Q*(M.value-i.value))}const A=U=>{x({value:T(U)}),C.value=!1,w.value=0},L=U=>{E.value=o(U),E.value&&(E.value.focus(),C.value=!0,E.value.contains(U.target)?w.value=Nx(U,E.value,e.direction):(w.value=0,D({value:T(U)})),S({value:T(U)}))},b={passive:!0,capture:!0};function O(U){D({value:T(U)})}function I(U){U.stopPropagation(),U.preventDefault(),A(U),window.removeEventListener("mousemove",O,b),window.removeEventListener("mouseup",I)}function R(U){var G;A(U),window.removeEventListener("touchmove",O,b),(G=U.target)==null||G.removeEventListener("touchend",R)}function z(U){var G;L(U),window.addEventListener("touchmove",O,b),(G=U.target)==null||G.addEventListener("touchend",R,{passive:!1})}function F(U){U.preventDefault(),L(U),window.addEventListener("mousemove",O,b),window.addEventListener("mouseup",I,{passive:!1})}const B=U=>{const G=(U-i.value)/(M.value-i.value)*100;return el(isNaN(G)?0:G,0,100)},N=Ir(e,"showTicks"),q=cn(()=>N.value?e.ticks?Array.isArray(e.ticks)?e.ticks.map(U=>({value:U,position:B(U),label:U.toString()})):Object.keys(e.ticks).map(U=>({value:parseFloat(U),position:B(parseFloat(U)),label:e.ticks[U]})):l.value!==1/0?Gf(l.value+1).map(U=>{const G=i.value+U*v.value;return{value:G,position:B(G)}}):[]:[]),j=cn(()=>q.value.some(U=>{let{label:G}=U;return!!G})),Y={activeThumbRef:E,color:Ir(e,"color"),decimals:p,disabled:h,direction:Ir(e,"direction"),elevation:Ir(e,"elevation"),hasLabels:j,horizontalDirection:g,isReversed:d,min:i,max:M,mousePressed:C,numTicks:l,onSliderMousedown:F,onSliderTouchstart:z,parsedTicks:q,parseMouseMove:T,position:B,readonly:Ir(e,"readonly"),rounded:Ir(e,"rounded"),roundValue:u,showTicks:N,startOffset:w,step:v,thumbSize:a,thumbColor:m,thumbLabel:Ir(e,"thumbLabel"),ticks:Ir(e,"ticks"),tickSize:c,trackColor:_,trackContainerRef:k,trackFillColor:y,trackSize:s,vertical:f};return as(J_,Y),Y},kG=cr({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...Jr()},"VSliderThumb"),Vx=Er()({name:"VSliderThumb",directives:{Ripple:qh},props:kG(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=Sa(J_),{rtlClasses:x}=Ls();if(!D)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:o,step:t,vertical:d,disabled:g,thumbSize:i,thumbLabel:M,direction:v,readonly:p,elevation:u,isReversed:a,horizontalDirection:c,mousePressed:s,decimals:l}=D,{textColorClasses:h,textColorStyles:f}=tl(o),{pageup:m,pagedown:_,end:y,home:C,left:w,right:k,down:E,up:T}=mx,A=[m,_,y,C,w,k,E,T],L=cn(()=>t.value?[1,2,3]:[1,5,10]);function b(I,R){if(!A.includes(I.key))return;I.preventDefault();const z=t.value||.1,F=(n.max-n.min)/z;if([w,k,E,T].includes(I.key)){const N=(c.value==="rtl"?[w,T]:[k,T]).includes(I.key)?1:-1,q=I.shiftKey?2:I.ctrlKey?1:0;R=R+N*z*L.value[q]}else if(I.key===C)R=n.min;else if(I.key===y)R=n.max;else{const B=I.key===_?1:-1;R=R-B*z*(F>100?F/10:10)}return Math.max(n.min,Math.min(n.max,R))}function O(I){const R=b(I,n.modelValue);R!=null&&S("update:modelValue",R)}return Fr(()=>{const I=ii(d.value||a.value?100-n.position:n.position,"%"),{elevationClasses:R}=Ws(cn(()=>g.value?void 0:u.value));return dt("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":n.focused,"v-slider-thumb--pressed":n.focused&&s.value},n.class,x.value],style:[{"--v-slider-thumb-position":I,"--v-slider-thumb-size":ii(i.value)},n.style],role:"slider",tabindex:g.value?-1:0,"aria-valuemin":n.min,"aria-valuemax":n.max,"aria-valuenow":n.modelValue,"aria-readonly":!!p.value,"aria-orientation":v.value,onKeydown:p.value?void 0:O},[dt("div",{class:["v-slider-thumb__surface",h.value,R.value],style:{...f.value}},null),Lo(dt("div",{class:["v-slider-thumb__ripple",h.value],style:f.value},null),[[Tu("ripple"),n.ripple,null,{circle:!0,center:!0}]]),dt(P_,{origin:"bottom center"},{default:()=>{var z;return[Lo(dt("div",{class:"v-slider-thumb__label-container"},[dt("div",{class:["v-slider-thumb__label"]},[dt("div",null,[((z=r["thumb-label"])==null?void 0:z.call(r,{modelValue:n.modelValue}))??n.modelValue.toFixed(t.value?l.value:1)])])]),[[vf,M.value&&n.focused||M.value==="always"]])]}})])}),{}}});const MG=cr({start:{type:Number,required:!0},stop:{type:Number,required:!0},...Jr()},"VSliderTrack"),US=Er()({name:"VSliderTrack",props:MG(),emits:{},setup(n,e){let{slots:r}=e;const S=Sa(J_);if(!S)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:D,horizontalDirection:x,parsedTicks:o,rounded:t,showTicks:d,tickSize:g,trackColor:i,trackFillColor:M,trackSize:v,vertical:p,min:u,max:a}=S,{roundedClasses:c}=Oo(t),{backgroundColorClasses:s,backgroundColorStyles:l}=Fo(M),{backgroundColorClasses:h,backgroundColorStyles:f}=Fo(i),m=cn(()=>`inset-${p.value?"block-end":"inline-start"}`),_=cn(()=>p.value?"height":"width"),y=cn(()=>({[m.value]:"0%",[_.value]:"100%"})),C=cn(()=>n.stop-n.start),w=cn(()=>({[m.value]:ii(n.start,"%"),[_.value]:ii(C.value,"%")})),k=cn(()=>d.value?(p.value?o.value.slice().reverse():o.value).map((T,A)=>{var O;const L=p.value?"bottom":"margin-inline-start",b=T.value!==u.value&&T.value!==a.value?ii(T.position,"%"):void 0;return dt("div",{key:T.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":T.position>=n.start&&T.position<=n.stop,"v-slider-track__tick--first":T.value===u.value,"v-slider-track__tick--last":T.value===a.value}],style:{[L]:b}},[(T.label||r["tick-label"])&&dt("div",{class:"v-slider-track__tick-label"},[((O=r["tick-label"])==null?void 0:O.call(r,{tick:T,index:A}))??T.label])])}):[]);return Fr(()=>dt("div",{class:["v-slider-track",c.value,n.class],style:[{"--v-slider-track-size":ii(v.value),"--v-slider-tick-size":ii(g.value),direction:p.value?void 0:x.value},n.style]},[dt("div",{class:["v-slider-track__background",h.value,{"v-slider-track__background--opacity":!!D.value||!M.value}],style:{...y.value,...f.value}},null),dt("div",{class:["v-slider-track__fill",s.value],style:{...w.value,...l.value}},null),d.value&&dt("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":d.value==="always"}]},[k.value])])),{}}}),AG=cr({...l1(),...NS(),...uh(),modelValue:{type:[Number,String],default:0}},"VSlider"),jx=Er()({name:"VSlider",props:AG(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,start:n=>!0,end:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=Gr(),{rtlClasses:x}=Ls(),o=VS(n),t=Ti(n,"modelValue",void 0,_=>o.roundValue(_??o.min.value)),{min:d,max:g,mousePressed:i,roundValue:M,onSliderMousedown:v,onSliderTouchstart:p,trackContainerRef:u,position:a,hasLabels:c,readonly:s}=jS({props:n,steps:o,onSliderStart:()=>{S("start",t.value)},onSliderEnd:_=>{let{value:y}=_;const C=M(y);t.value=C,S("end",C)},onSliderMove:_=>{let{value:y}=_;return t.value=M(y)},getActiveThumb:()=>{var _;return(_=D.value)==null?void 0:_.$el}}),{isFocused:l,focus:h,blur:f}=$h(n),m=cn(()=>a(t.value));return Fr(()=>{const[_,y]=Gs.filterProps(n),C=!!(n.label||r.label||r.prepend);return dt(Gs,Zr({class:["v-slider",{"v-slider--has-labels":!!r["tick-label"]||c.value,"v-slider--focused":l.value,"v-slider--pressed":i.value,"v-slider--disabled":n.disabled},x.value,n.class],style:n.style},_,{focused:l.value}),{...r,prepend:C?w=>{var k,E;return dt(Xr,null,[((k=r.label)==null?void 0:k.call(r,w))??n.label?dt(w0,{id:w.id.value,class:"v-slider__label",text:n.label},null):void 0,(E=r.prepend)==null?void 0:E.call(r,w)])}:void 0,default:w=>{let{id:k,messagesId:E}=w;return dt("div",{class:"v-slider__container",onMousedown:s.value?void 0:v,onTouchstartPassive:s.value?void 0:p},[dt("input",{id:k.value,name:n.name||k.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:t.value},null),dt(US,{ref:u,start:0,stop:m.value},{"tick-label":r["tick-label"]}),dt(Vx,{ref:D,"aria-describedby":E.value,focused:l.value,min:d.value,max:g.value,modelValue:t.value,"onUpdate:modelValue":T=>t.value=T,position:m.value,elevation:n.elevation,onFocus:h,onBlur:f},{"thumb-label":r["thumb-label"]})])}})}),{}}}),SG=cr({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...Jr()},"VColorPickerPreview"),CG=Ju({name:"VColorPickerPreview",props:SG(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Fr(()=>{var S,D;return dt("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":n.hideAlpha},n.class],style:n.style},[dt("div",{class:"v-color-picker-preview__dot"},[dt("div",{style:{background:cA(n.color??mm)}},null)]),dt("div",{class:"v-color-picker-preview__sliders"},[dt(jx,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(S=n.color)==null?void 0:S.h,"onUpdate:modelValue":x=>r("update:color",{...n.color??mm,h:x}),step:0,min:0,max:360,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!n.hideAlpha&&dt(jx,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((D=n.color)==null?void 0:D.a)??1,"onUpdate:modelValue":x=>r("update:color",{...n.color??mm,a:x}),step:1/256,min:0,max:1,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}});const EG=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),LG=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),IG=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),OG=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),PG=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),DG=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),RG=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),zG=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),FG=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),BG=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),NG=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),VG=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),jG=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),UG=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),HG=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),GG=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),WG=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),qG=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),$G=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),YG=Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"}),ZG=Object.freeze({red:EG,pink:LG,purple:IG,deepPurple:OG,indigo:PG,blue:DG,lightBlue:RG,cyan:zG,teal:FG,green:BG,lightGreen:NG,lime:VG,yellow:jG,amber:UG,orange:HG,deepOrange:GG,brown:WG,blueGrey:qG,grey:$G,shades:YG}),XG=cr({swatches:{type:Array,default:()=>KG(ZG)},disabled:Boolean,color:Object,maxHeight:[Number,String],...Jr()},"VColorPickerSwatches");function KG(n){return Object.keys(n).map(e=>{const r=n[e];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const JG=Ju({name:"VColorPickerSwatches",props:XG(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Fr(()=>dt("div",{class:["v-color-picker-swatches",n.class],style:[{maxHeight:ii(n.maxHeight)},n.style]},[dt("div",null,[n.swatches.map(S=>dt("div",{class:"v-color-picker-swatches__swatch"},[S.map(D=>{const x=Cc(D),o=t1(x),t=uA(x);return dt("div",{class:"v-color-picker-swatches__color",onClick:()=>o&&r("update:color",o)},[dt("div",{style:{background:t}},[n.color&&d0(n.color,o)?dt(Wa,{size:"x-small",icon:"$success",color:OV(D,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}});const HS=cr({color:String,...Au(),...Jr(),...ec(),...ps(),...Gh(),...x0(),...uo(),...Li(),...sa()},"VSheet"),Ux=Er()({name:"VSheet",props:HS(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{backgroundColorClasses:D,backgroundColorStyles:x}=Fo(Ir(n,"color")),{borderClasses:o}=nc(n),{dimensionStyles:t}=tc(n),{elevationClasses:d}=Ws(n),{locationStyles:g}=Wh(n),{positionClasses:i}=_0(n),{roundedClasses:M}=Oo(n);return Fr(()=>dt(n.tag,{class:["v-sheet",S.value,D.value,o.value,d.value,i.value,M.value,n.class],style:[x.value,t.value,g.value,n.style]},r)),{}}}),QG=cr({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Cd).includes(n)},modes:{type:Array,default:()=>Object.keys(Cd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Cd).includes(e))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...Ku(HS({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),eW=Ju({name:"VColorPicker",props:QG(),emits:{"update:modelValue":n=>!0,"update:mode":n=>!0},setup(n){const e=Ti(n,"mode"),r=Gr(null),S=Ti(n,"modelValue",void 0,o=>{if(o==null||o==="")return null;let t;try{t=t1(Cc(o))}catch{return null}return r.value&&(t={...t,h:r.value.h},r.value=null),t},o=>o?gG(o,n.modelValue):null),{rtlClasses:D}=Ls(),x=o=>{S.value=o,r.value=o};return nl(()=>{n.modes.includes(e.value)||(e.value=n.modes[0])}),is({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),Fr(()=>{const[o]=Ux.filterProps(n);return dt(Ux,Zr({rounded:n.rounded,elevation:n.elevation,theme:n.theme,class:["v-color-picker",D.value,n.class],style:[{"--v-color-picker-color-hsv":cA({...S.value??mm,a:1})},n.style]},o,{maxWidth:n.width}),{default:()=>[!n.hideCanvas&&dt(pG,{key:"canvas",color:S.value,"onUpdate:color":x,disabled:n.disabled,dotSize:n.dotSize,width:n.width,height:n.canvasHeight},null),(!n.hideSliders||!n.hideInputs)&&dt("div",{key:"controls",class:"v-color-picker__controls"},[!n.hideSliders&&dt(CG,{key:"preview",color:S.value,"onUpdate:color":x,hideAlpha:!e.value.endsWith("a"),disabled:n.disabled},null),!n.hideInputs&&dt(wG,{key:"edit",modes:n.modes,mode:e.value,"onUpdate:mode":t=>e.value=t,color:S.value,"onUpdate:color":x,disabled:n.disabled},null)]),n.showSwatches&&dt(JG,{key:"swatches",color:S.value,"onUpdate:color":x,maxHeight:n.swatchesMaxHeight,swatches:n.swatches,disabled:n.disabled},null)]})}),{}}});function tW(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?dt(Xr,null,[dt("span",{class:"v-combobox__unmask"},[n.substr(0,e)]),dt("span",{class:"v-combobox__mask"},[n.substr(e,r)]),dt("span",{class:"v-combobox__unmask"},[n.substr(e+r)])]):n}const nW=cr({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...TS({filterKeys:["title"]}),...X_({hideNoData:!0,returnObject:!0}),...Ku(m1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...sh({transition:!1})},"VCombobox"),rW=Er()({name:"VCombobox",props:nW(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:search":n=>!0,"update:menu":n=>!0},setup(n,e){var W;let{emit:r,slots:S}=e;const{t:D}=Qu(),x=Gr(),o=Kr(!1),t=Kr(!0),d=Kr(!1),g=Gr(),i=Gr(),M=Ti(n,"menu"),v=cn({get:()=>M.value,set:H=>{var ne;M.value&&!H&&((ne=g.value)!=null&&ne.ΨopenChildren)||(M.value=H)}}),p=Kr(-1);let u=!1;const a=cn(()=>{var H;return(H=x.value)==null?void 0:H.color}),c=cn(()=>v.value?n.closeText:n.openText),{items:s,transformIn:l,transformOut:h}=q_(n),{textColorClasses:f,textColorStyles:m}=tl(a),_=Ti(n,"modelValue",[],H=>l(bu(H)),H=>{const ne=h(H);return n.multiple?ne:ne[0]??null}),y=u1(),C=Kr(n.multiple?"":((W=_.value[0])==null?void 0:W.title)??""),w=cn({get:()=>C.value,set:H=>{var ne;if(C.value=H,n.multiple||(_.value=[wd(n,H)]),H&&n.multiple&&((ne=n.delimiters)!=null&&ne.length)){const te=H.split(new RegExp(`(?:${n.delimiters.join("|")})+`));te.length>1&&(te.forEach(Z=>{Z=Z.trim(),Z&&j(wd(n,Z))}),C.value="")}H||(p.value=-1),t.value=!H}});ei(C,H=>{u?qa(()=>u=!1):o.value&&!v.value&&(v.value=!0),r("update:search",H)}),ei(_,H=>{var ne;n.multiple||(C.value=((ne=H[0])==null?void 0:ne.title)??"")});const{filteredItems:k,getMatches:E}=kS(n,s,()=>t.value?"":w.value),T=cn(()=>n.hideSelected?k.value.filter(H=>!_.value.some(ne=>ne.value===H.value)):k.value),A=cn(()=>_.value.map(H=>H.value)),L=cn(()=>{var ne;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&w.value===((ne=T.value[0])==null?void 0:ne.title))&&T.value.length>0&&!t.value&&!d.value}),b=cn(()=>n.hideNoData&&!s.value.length||n.readonly||(y==null?void 0:y.isReadonly.value)),O=Gr(),{onListScroll:I,onListKeydown:R}=Z_(O,x);function z(H){u=!0,n.openOnClear&&(v.value=!0)}function F(){b.value||(v.value=!0)}function B(H){b.value||(o.value&&(H.preventDefault(),H.stopPropagation()),v.value=!v.value)}function N(H){var Z;if(n.readonly||y!=null&&y.isReadonly.value)return;const ne=x.value.selectionStart,te=_.value.length;if((p.value>-1||["Enter","ArrowDown","ArrowUp"].includes(H.key))&&H.preventDefault(),["Enter","ArrowDown"].includes(H.key)&&(v.value=!0),["Escape"].includes(H.key)&&(v.value=!1),["Enter","Escape","Tab"].includes(H.key)&&(L.value&&["Enter","Tab"].includes(H.key)&&j(k.value[0]),t.value=!0),H.key==="ArrowDown"&&L.value&&((Z=O.value)==null||Z.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(H.key)){if(p.value<0){H.key==="Backspace"&&!w.value&&(p.value=te-1);return}const X=p.value,Q=_.value[p.value];Q&&j(Q),p.value=X>=te-1?te-2:X}if(H.key==="ArrowLeft"){if(p.value<0&&ne>0)return;const X=p.value>-1?p.value-1:te-1;_.value[X]?p.value=X:(p.value=-1,x.value.setSelectionRange(w.value.length,w.value.length))}if(H.key==="ArrowRight"){if(p.value<0)return;const X=p.value+1;_.value[X]?p.value=X:(p.value=-1,x.value.setSelectionRange(0,0))}H.key==="Enter"&&w.value&&(j(wd(n,w.value)),w.value="")}}function q(){var H;o.value&&(t.value=!0,(H=x.value)==null||H.focus())}function j(H){if(n.multiple){const ne=_.value.findIndex(te=>n.valueComparator(te.value,H.value));if(ne===-1)_.value=[..._.value,H];else{const te=[..._.value];te.splice(ne,1),_.value=te}w.value=""}else _.value=[H],C.value=H.title,qa(()=>{v.value=!1,t.value=!0})}function Y(H){o.value=!0,setTimeout(()=>{d.value=!0})}function U(H){d.value=!1}function G(H){(H==null||H===""&&!n.multiple)&&(_.value=[])}return ei(k,H=>{!H.length&&n.hideNoData&&(v.value=!1)}),ei(o,(H,ne)=>{H||H===ne||(p.value=-1,v.value=!1,L.value&&!d.value&&!_.value.some(te=>{let{value:Z}=te;return Z===T.value[0].value})?j(T.value[0]):n.multiple&&w.value&&(_.value=[..._.value,wd(n,w.value)],w.value=""))}),ei(v,()=>{if(!n.hideSelected&&v.value&&_.value.length){const H=T.value.findIndex(ne=>_.value.some(te=>n.valueComparator(te.value,ne.value)));no&&window.requestAnimationFrame(()=>{var ne;H>=0&&((ne=i.value)==null||ne.scrollToIndex(H))})}}),Fr(()=>{const H=!!(n.chips||S.chip),ne=!!(!n.hideNoData||T.value.length||S["prepend-item"]||S["append-item"]||S["no-data"]),te=_.value.length>0,[Z]=Vd.filterProps(n);return dt(Vd,Zr({ref:x},Z,{modelValue:w.value,"onUpdate:modelValue":[X=>w.value=X,G],focused:o.value,"onUpdate:focused":X=>o.value=X,validationValue:_.externalValue,dirty:te,class:["v-combobox",{"v-combobox--active-menu":v.value,"v-combobox--chips":!!n.chips,"v-combobox--selection-slot":!!S.selection,"v-combobox--selecting-index":p.value>-1,[`v-combobox--${n.multiple?"multiple":"single"}`]:!0},n.class],style:n.style,readonly:n.readonly,placeholder:te?void 0:n.placeholder,"onClick:clear":z,"onMousedown:control":F,onKeydown:N}),{...S,default:()=>dt(Xr,null,[dt(h1,Zr({ref:g,modelValue:v.value,"onUpdate:modelValue":X=>v.value=X,activator:"parent",contentClass:"v-combobox__content",disabled:b.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:q},n.menuProps),{default:()=>[ne&&dt(c1,{ref:O,selected:A.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:X=>X.preventDefault(),onKeydown:R,onFocusin:Y,onFocusout:U,onScrollPassive:I,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var X,Q,re;return[(X=S["prepend-item"])==null?void 0:X.call(S),!T.value.length&&!n.hideNoData&&(((Q=S["no-data"])==null?void 0:Q.call(S))??dt(Xf,{title:D(n.noDataText)},null)),dt(g1,{ref:i,renderless:!0,items:T.value},{default:ie=>{var de;let{item:oe,index:ue,itemRef:ce}=ie;const ye=Zr(oe.props,{ref:ce,key:ue,active:L.value&&ue===0?!0:void 0,onClick:()=>j(oe)});return((de=S.item)==null?void 0:de.call(S,{item:oe,index:ue,props:ye}))??dt(Xf,ye,{prepend:me=>{let{isSelected:pe}=me;return dt(Xr,null,[n.multiple&&!n.hideSelected?dt(a0,{key:oe.value,modelValue:pe,ripple:!1,tabindex:"-1"},null):void 0,oe.props.prependIcon&&dt(Wa,{icon:oe.props.prependIcon},null)])},title:()=>{var me,pe;return t.value?oe.title:tW(oe.title,(me=E(oe))==null?void 0:me.title,((pe=w.value)==null?void 0:pe.length)??0)}})}}),(re=S["append-item"])==null?void 0:re.call(S)]}})]}),_.value.map((X,Q)=>{var oe;function re(ue){ue.stopPropagation(),ue.preventDefault(),j(X)}const ie={"onClick:close":re,onMousedown(ue){ue.preventDefault(),ue.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return dt("div",{key:X.value,class:["v-combobox__selection",Q===p.value&&["v-combobox__selection--selected",f.value]],style:Q===p.value?m.value:{}},[H?S.chip?dt(Va,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:X.title}}},{default:()=>{var ue;return[(ue=S.chip)==null?void 0:ue.call(S,{item:X,index:Q,props:ie})]}}):dt(hg,Zr({key:"chip",closable:n.closableChips,size:"small",text:X.title},ie),null):((oe=S.selection)==null?void 0:oe.call(S,{item:X,index:Q}))??dt("span",{class:"v-combobox__selection-text"},[X.title,n.multiple&&Q<_.value.length-1&&dt("span",{class:"v-combobox__selection-comma"},[ki(",")])])])})]),"append-inner":function(){var ie;for(var X=arguments.length,Q=new Array(X),re=0;re!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),{scopeId:D}=T0(),x=Gr();function o(d){var M,v;const g=d.relatedTarget,i=d.target;if(g!==i&&((M=x.value)!=null&&M.contentEl)&&((v=x.value)!=null&&v.globalTop)&&![document,x.value.contentEl].includes(i)&&!x.value.contentEl.contains(i)){const p=Om(x.value.contentEl);if(!p.length)return;const u=p[0],a=p[p.length-1];g===u?a.focus():u.focus()}}no&&ei(()=>S.value&&n.retainFocus,d=>{d?document.addEventListener("focusin",o):document.removeEventListener("focusin",o)},{immediate:!0}),ei(S,async d=>{var g,i;await qa(),d?(g=x.value.contentEl)==null||g.focus({preventScroll:!0}):(i=x.value.activatorEl)==null||i.focus({preventScroll:!0})});const t=cn(()=>Zr({"aria-haspopup":"dialog","aria-expanded":String(S.value)},n.activatorProps));return Fr(()=>{const[d]=Kf.filterProps(n);return dt(Kf,Zr({ref:x,class:["v-dialog",{"v-dialog--fullscreen":n.fullscreen,"v-dialog--scrollable":n.scrollable},n.class],style:n.style},d,{modelValue:S.value,"onUpdate:modelValue":g=>S.value=g,"aria-modal":"true",activatorProps:t.value,role:"dialog"},D),{activator:r.activator,default:function(){for(var g=arguments.length,i=new Array(g),M=0;M{var v;return[(v=r.default)==null?void 0:v.call(r,...i)]}})}})}),Vc({},x)}});const Bm=Symbol.for("vuetify:v-expansion-panel"),oW=["default","accordion","inset","popout"],sW=cr({color:String,variant:{type:String,default:"default",validator:n=>oW.includes(n)},readonly:Boolean,...Jr(),...g0(),...Li(),...sa()},"VExpansionPanels"),lW=Er()({name:"VExpansionPanels",props:sW(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;Kd(n,Bm);const{themeClasses:S}=Ca(n),D=cn(()=>n.variant&&`v-expansion-panels--variant-${n.variant}`);return is({VExpansionPanel:{color:Ir(n,"color")},VExpansionPanelTitle:{readonly:Ir(n,"readonly")}}),Fr(()=>dt(n.tag,{class:["v-expansion-panels",S.value,D.value,n.class],style:n.style},r)),{}}}),uW=cr({...Jr(),...f1()},"VExpansionPanelText"),GS=Er()({name:"VExpansionPanelText",props:uW(),setup(n,e){let{slots:r}=e;const S=Sa(Bm);if(!S)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:D,onAfterLeave:x}=$_(n,S.isSelected);return Fr(()=>dt(a1,{onAfterLeave:x},{default:()=>{var o;return[Lo(dt("div",{class:["v-expansion-panel-text",n.class],style:n.style},[r.default&&D.value&&dt("div",{class:"v-expansion-panel-text__wrapper"},[(o=r.default)==null?void 0:o.call(r)])]),[[vf,S.isSelected.value]])]}})),{}}}),WS=cr({color:String,expandIcon:{type:wi,default:"$expand"},collapseIcon:{type:wi,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...Jr()},"VExpansionPanelTitle"),qS=Er()({name:"VExpansionPanelTitle",directives:{Ripple:qh},props:WS(),setup(n,e){let{slots:r}=e;const S=Sa(Bm);if(!S)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:D,backgroundColorStyles:x}=Fo(n,"color"),o=cn(()=>({collapseIcon:n.collapseIcon,disabled:S.disabled.value,expanded:S.isSelected.value,expandIcon:n.expandIcon,readonly:n.readonly}));return Fr(()=>{var t;return Lo(dt("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":S.isSelected.value},D.value,n.class],style:[x.value,n.style],type:"button",tabindex:S.disabled.value?-1:void 0,disabled:S.disabled.value,"aria-expanded":S.isSelected.value,onClick:n.readonly?void 0:S.toggle},[dt("span",{class:"v-expansion-panel-title__overlay"},null),(t=r.default)==null?void 0:t.call(r,o.value),!n.hideActions&&dt("span",{class:"v-expansion-panel-title__icon"},[r.actions?r.actions(o.value):dt(Wa,{icon:S.isSelected.value?n.collapseIcon:n.expandIcon},null)])]),[[Tu("ripple"),n.ripple]])}),{}}}),cW=cr({title:String,text:String,bgColor:String,...Jr(),...ps(),...v0(),...f1(),...uo(),...Li(),...WS()},"VExpansionPanel"),fW=Er()({name:"VExpansionPanel",props:cW(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const S=y0(n,Bm),{backgroundColorClasses:D,backgroundColorStyles:x}=Fo(n,"bgColor"),{elevationClasses:o}=Ws(n),{roundedClasses:t}=Oo(n),d=cn(()=>(S==null?void 0:S.disabled.value)||n.disabled),g=cn(()=>S.group.items.value.reduce((v,p,u)=>(S.group.selected.value.includes(p.id)&&v.push(u),v),[])),i=cn(()=>{const v=S.group.items.value.findIndex(p=>p.id===S.id);return!S.isSelected.value&&g.value.some(p=>p-v===1)}),M=cn(()=>{const v=S.group.items.value.findIndex(p=>p.id===S.id);return!S.isSelected.value&&g.value.some(p=>p-v===-1)});return as(Bm,S),is({VExpansionPanelText:{eager:Ir(n,"eager")}}),Fr(()=>{const v=!!(r.text||n.text),p=!!(r.title||n.title);return dt(n.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":S.isSelected.value,"v-expansion-panel--before-active":i.value,"v-expansion-panel--after-active":M.value,"v-expansion-panel--disabled":d.value},t.value,D.value,n.class],style:[x.value,n.style]},{default:()=>{var u;return[dt("div",{class:["v-expansion-panel__shadow",...o.value]},null),p&&dt(qS,{key:"title",collapseIcon:n.collapseIcon,color:n.color,expandIcon:n.expandIcon,hideActions:n.hideActions,ripple:n.ripple},{default:()=>[r.title?r.title():n.title]}),v&&dt(GS,{key:"text"},{default:()=>[r.text?r.text():n.text]}),(u=r.default)==null?void 0:u.call(r)]}})}),{}}});const hW=cr({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:n=>typeof n=="boolean"||[1e3,1024].includes(n)},...uh({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:n=>bu(n).every(e=>e!=null&&typeof e=="object")},...p1({clearable:!0})},"VFileInput"),dW=Er()({name:"VFileInput",inheritAttrs:!1,props:hW(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{t:x}=Qu(),o=Ti(n,"modelValue"),{isFocused:t,focus:d,blur:g}=$h(n),i=cn(()=>typeof n.showSize!="boolean"?n.showSize:void 0),M=cn(()=>(o.value??[]).reduce((w,k)=>{let{size:E=0}=k;return w+E},0)),v=cn(()=>oT(M.value,i.value)),p=cn(()=>(o.value??[]).map(w=>{const{name:k="",size:E=0}=w;return n.showSize?`${k} (${oT(E,i.value)})`:k})),u=cn(()=>{var k;const w=((k=o.value)==null?void 0:k.length)??0;return n.showSize?x(n.counterSizeString,w,v.value):x(n.counterString,w)}),a=Gr(),c=Gr(),s=Gr(),l=cn(()=>t.value||n.active),h=cn(()=>["plain","underlined"].includes(n.variant));function f(){var w;s.value!==document.activeElement&&((w=s.value)==null||w.focus()),t.value||d()}function m(w){y(w)}function _(w){S("mousedown:control",w)}function y(w){var k;(k=s.value)==null||k.click(),S("click:control",w)}function C(w){w.stopPropagation(),f(),qa(()=>{o.value=[],T_(n["onClick:clear"],w)})}return ei(o,w=>{(!Array.isArray(w)||!w.length)&&s.value&&(s.value.value="")}),Fr(()=>{const w=!!(D.counter||n.counter),k=!!(w||D.details),[E,T]=qd(r),[{modelValue:A,...L}]=Gs.filterProps(n),[b]=Y_(n);return dt(Gs,Zr({ref:a,modelValue:o.value,"onUpdate:modelValue":O=>o.value=O,class:["v-file-input",{"v-text-field--plain-underlined":h.value},n.class],style:n.style,"onClick:prepend":m},E,L,{centerAffix:!h.value,focused:t.value}),{...D,default:O=>{let{id:I,isDisabled:R,isDirty:z,isReadonly:F,isValid:B}=O;return dt(pg,Zr({ref:c,"prepend-icon":n.prependIcon,onMousedown:_,onClick:y,"onClick:clear":C,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},b,{id:I.value,active:l.value||z.value,dirty:z.value,disabled:R.value,focused:t.value,error:B.value===!1}),{...D,default:N=>{var Y;let{props:{class:q,...j}}=N;return dt(Xr,null,[dt("input",Zr({ref:s,type:"file",readonly:F.value,disabled:R.value,multiple:n.multiple,name:n.name,onClick:U=>{U.stopPropagation(),F.value&&U.preventDefault(),f()},onChange:U=>{if(!U.target)return;const G=U.target;o.value=[...G.files??[]]},onFocus:f,onBlur:g},j,T),null),dt("div",{class:q},[!!((Y=o.value)!=null&&Y.length)&&(D.selection?D.selection({fileNames:p.value,totalBytes:M.value,totalBytesReadable:v.value}):n.chips?p.value.map(U=>dt(hg,{key:U,size:"small",color:n.color},{default:()=>[U]})):p.value.join(", "))])])}})},details:k?O=>{var I,R;return dt(Xr,null,[(I=D.details)==null?void 0:I.call(D,O),w&&dt(Xr,null,[dt("span",null,null),dt(d1,{active:!!((R=o.value)!=null&&R.length),value:u.value},D.counter)])])}:void 0})}),Vc({},a,c,s)}});const pW=cr({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...Au(),...Jr(),...ps(),...p0(),...uo(),...Li({tag:"footer"}),...sa()},"VFooter"),mW=Er()({name:"VFooter",props:pW(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{backgroundColorClasses:D,backgroundColorStyles:x}=Fo(Ir(n,"color")),{borderClasses:o}=nc(n),{elevationClasses:t}=Ws(n),{roundedClasses:d}=Oo(n),g=Kr(32),{resizeRef:i}=gf(p=>{p.length&&(g.value=p[0].target.clientHeight)}),M=cn(()=>n.height==="auto"?g.value:parseInt(n.height,10)),{layoutItemStyles:v}=m0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:M,elementSize:cn(()=>n.height==="auto"?void 0:M.value),active:cn(()=>n.app),absolute:Ir(n,"absolute")});return Fr(()=>dt(n.tag,{ref:i,class:["v-footer",S.value,D.value,o.value,t.value,d.value,n.class],style:[x.value,n.app?v.value:{height:ii(n.height)},n.style]},r)),{}}}),gW=cr({...Jr(),...SU()},"VForm"),vW=Er()({name:"VForm",props:gW(),emits:{"update:modelValue":n=>!0,submit:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=CU(n),x=Gr();function o(d){d.preventDefault(),D.reset()}function t(d){const g=d,i=D.validate();g.then=i.then.bind(i),g.catch=i.catch.bind(i),g.finally=i.finally.bind(i),S("submit",g),g.defaultPrevented||i.then(M=>{var p;let{valid:v}=M;v&&((p=x.value)==null||p.submit())}),g.preventDefault()}return Fr(()=>{var d;return dt("form",{ref:x,class:["v-form",n.class],style:n.style,novalidate:!0,onReset:o,onSubmit:t},[(d=r.default)==null?void 0:d.call(r,D)])}),Vc(D,x)}});const yW=cr({fluid:{type:Boolean,default:!1},...Jr(),...Li()},"VContainer"),bW=Er()({name:"VContainer",props:yW(),setup(n,e){let{slots:r}=e;const{rtlClasses:S}=Ls();return Fr(()=>dt(n.tag,{class:["v-container",{"v-container--fluid":n.fluid},S.value,n.class],style:n.style},r)),{}}}),$S=(()=>n1.reduce((n,e)=>(n[e]={type:[Boolean,String,Number],default:!1},n),{}))(),YS=(()=>n1.reduce((n,e)=>{const r="offset"+Jf(e);return n[r]={type:[String,Number],default:null},n},{}))(),ZS=(()=>n1.reduce((n,e)=>{const r="order"+Jf(e);return n[r]={type:[String,Number],default:null},n},{}))(),WT={col:Object.keys($S),offset:Object.keys(YS),order:Object.keys(ZS)};function xW(n,e,r){let S=n;if(!(r==null||r===!1)){if(e){const D=e.replace(n,"");S+=`-${D}`}return n==="col"&&(S="v-"+S),n==="col"&&(r===""||r===!0)||(S+=`-${r}`),S.toLowerCase()}}const _W=["auto","start","end","center","baseline","stretch"],wW=cr({cols:{type:[Boolean,String,Number],default:!1},...$S,offset:{type:[String,Number],default:null},...YS,order:{type:[String,Number],default:null},...ZS,alignSelf:{type:String,default:null,validator:n=>_W.includes(n)},...Jr(),...Li()},"VCol"),TW=Er()({name:"VCol",props:wW(),setup(n,e){let{slots:r}=e;const S=cn(()=>{const D=[];let x;for(x in WT)WT[x].forEach(t=>{const d=n[t],g=xW(x,t,d);g&&D.push(g)});const o=D.some(t=>t.startsWith("v-col-"));return D.push({"v-col":!o||!n.cols,[`v-col-${n.cols}`]:n.cols,[`offset-${n.offset}`]:n.offset,[`order-${n.order}`]:n.order,[`align-self-${n.alignSelf}`]:n.alignSelf}),D});return()=>{var D;return jh(n.tag,{class:[S.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),Q_=["start","end","center"],XS=["space-between","space-around","space-evenly"];function ew(n,e){return n1.reduce((r,S)=>{const D=n+Jf(S);return r[D]=e(),r},{})}const kW=[...Q_,"baseline","stretch"],KS=n=>kW.includes(n),JS=ew("align",()=>({type:String,default:null,validator:KS})),MW=[...Q_,...XS],QS=n=>MW.includes(n),e8=ew("justify",()=>({type:String,default:null,validator:QS})),AW=[...Q_,...XS,"stretch"],t8=n=>AW.includes(n),n8=ew("alignContent",()=>({type:String,default:null,validator:t8})),qT={align:Object.keys(JS),justify:Object.keys(e8),alignContent:Object.keys(n8)},SW={align:"align",justify:"justify",alignContent:"align-content"};function CW(n,e,r){let S=SW[n];if(r!=null){if(e){const D=e.replace(n,"");S+=`-${D}`}return S+=`-${r}`,S.toLowerCase()}}const EW=cr({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:KS},...JS,justify:{type:String,default:null,validator:QS},...e8,alignContent:{type:String,default:null,validator:t8},...n8,...Jr(),...Li()},"VRow"),LW=Er()({name:"VRow",props:EW(),setup(n,e){let{slots:r}=e;const S=cn(()=>{const D=[];let x;for(x in qT)qT[x].forEach(o=>{const t=n[o],d=CW(x,o,t);d&&D.push(d)});return D.push({"v-row--no-gutters":n.noGutters,"v-row--dense":n.dense,[`align-${n.align}`]:n.align,[`justify-${n.justify}`]:n.justify,[`align-content-${n.alignContent}`]:n.alignContent}),D});return()=>{var D;return jh(n.tag,{class:["v-row",S.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),IW=Nc("v-spacer","div","VSpacer"),OW=cr({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...vS()},"VHover"),PW=Er()({name:"VHover",props:OW(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),{runOpenDelay:D,runCloseDelay:x}=yS(n,o=>!n.disabled&&(S.value=o));return()=>{var o;return(o=r.default)==null?void 0:o.call(r,{isHovering:S.value,props:{onMouseenter:D,onMouseleave:x}})}}});const r8=Symbol.for("vuetify:v-item-group"),DW=cr({...Jr(),...g0({selectedClass:"v-item--selected"}),...Li(),...sa()},"VItemGroup"),RW=Er()({name:"VItemGroup",props:DW(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{isSelected:D,select:x,next:o,prev:t,selected:d}=Kd(n,r8);return()=>dt(n.tag,{class:["v-item-group",S.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:x,next:o,prev:t,selected:d.value})]}})}}),zW=Er()({name:"VItem",props:v0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:S,select:D,toggle:x,selectedClass:o,value:t,disabled:d}=y0(n,r8);return()=>{var g;return(g=r.default)==null?void 0:g.call(r,{isSelected:S.value,selectedClass:o.value,select:D,toggle:x,value:t.value,disabled:d.value})}}});const FW=Nc("v-kbd");const BW=cr({...Jr(),...kA()},"VLayout"),NW=Er()({name:"VLayout",props:BW(),setup(n,e){let{slots:r}=e;const{layoutClasses:S,layoutStyles:D,getLayoutItem:x,items:o,layoutRef:t}=MA(n);return Fr(()=>{var d;return dt("div",{ref:t,class:[S.value,n.class],style:[D.value,n.style]},[(d=r.default)==null?void 0:d.call(r)])}),{getLayoutItem:x,items:o}}});const VW=cr({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...Jr(),...p0()},"VLayoutItem"),jW=Er()({name:"VLayoutItem",props:VW(),setup(n,e){let{slots:r}=e;const{layoutItemStyles:S}=m0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Ir(n,"position"),elementSize:Ir(n,"size"),layoutSize:Ir(n,"size"),active:Ir(n,"modelValue"),absolute:Ir(n,"absolute")});return()=>{var D;return dt("div",{class:["v-layout-item",n.class],style:[S.value,n.style]},[(D=r.default)==null?void 0:D.call(r)])}}}),UW=cr({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...Jr(),...ec(),...Li(),...sh({transition:"fade-transition"})},"VLazy"),HW=Er()({name:"VLazy",directives:{intersect:ug},props:UW(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{dimensionStyles:S}=tc(n),D=Ti(n,"modelValue");function x(o){D.value||(D.value=o)}return Fr(()=>Lo(dt(n.tag,{class:["v-lazy",n.class],style:[S.value,n.style]},{default:()=>[D.value&&dt(Ec,{transition:n.transition,appear:!0},{default:()=>{var o;return[(o=r.default)==null?void 0:o.call(r)]}})]}),[[Tu("intersect"),{handler:x,options:n.options},null]])),{}}});const GW=cr({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...Jr()},"VLocaleProvider"),WW=Er()({name:"VLocaleProvider",props:GW(),setup(n,e){let{slots:r}=e;const{rtlClasses:S}=ej(n);return Fr(()=>{var D;return dt("div",{class:["v-locale-provider",S.value,n.class],style:n.style},[(D=r.default)==null?void 0:D.call(r)])}),{}}});const qW=cr({scrollable:Boolean,...Jr(),...Li({tag:"main"})},"VMain"),$W=Er()({name:"VMain",props:qW(),setup(n,e){let{slots:r}=e;const{mainStyles:S}=Cj(),{ssrBootStyles:D}=Yd();return Fr(()=>dt(n.tag,{class:["v-main",{"v-main--scrollable":n.scrollable},n.class],style:[S.value,D.value,n.style]},{default:()=>{var x,o;return[n.scrollable?dt("div",{class:"v-main__scroller"},[(x=r.default)==null?void 0:x.call(r)]):(o=r.default)==null?void 0:o.call(r)]}})),{}}});function YW(n){let{rootEl:e,isSticky:r,layoutItemStyles:S}=n;const D=Kr(!1),x=Kr(0),o=cn(()=>{const g=typeof D.value=="boolean"?"top":D.value;return[r.value?{top:"auto",bottom:"auto",height:void 0}:void 0,D.value?{[g]:ii(x.value)}:{top:S.value.top}]});nl(()=>{ei(r,g=>{g?window.addEventListener("scroll",d,{passive:!0}):window.removeEventListener("scroll",d)},{immediate:!0})}),Sl(()=>{window.removeEventListener("scroll",d)});let t=0;function d(){const g=t>window.scrollY?"up":"down",i=e.value.getBoundingClientRect(),M=parseFloat(S.value.top??0),v=window.scrollY-Math.max(0,x.value-M),p=i.height+Math.max(x.value,M)-window.scrollY-window.innerHeight,u=parseFloat(getComputedStyle(e.value).getPropertyValue("--v-body-scroll-y"))||0;i.height0;r--){if(n[r].t===n[r-1].t)continue;const S=$T(e),D=(n[r].d-n[r-1].d)/(n[r].t-n[r-1].t);e+=(D-S)*Math.abs(D),r===n.length-1&&(e*=.5)}return $T(e)*1e3}function KW(){const n={};function e(D){Array.from(D.changedTouches).forEach(x=>{(n[x.identifier]??(n[x.identifier]=new lV(XW))).push([D.timeStamp,x])})}function r(D){Array.from(D.changedTouches).forEach(x=>{delete n[x.identifier]})}function S(D){var g;const x=(g=n[D])==null?void 0:g.values().reverse();if(!x)throw new Error(`No samples for touch id ${D}`);const o=x[0],t=[],d=[];for(const i of x){if(o[0]-i[0]>ZW)break;t.push({t:i[0],d:i[1].clientX}),d.push({t:i[0],d:i[1].clientY})}return{x:YT(t),y:YT(d),get direction(){const{x:i,y:M}=this,[v,p]=[Math.abs(i),Math.abs(M)];return v>p&&i>=0?"right":v>p&&i<=0?"left":p>v&&M>=0?"down":p>v&&M<=0?"up":JW()}}}return{addMovement:e,endTouch:r,getVelocity:S}}function JW(){throw new Error}function QW(n){let{isActive:e,isTemporary:r,width:S,touchless:D,position:x}=n;nl(()=>{window.addEventListener("touchstart",s,{passive:!0}),window.addEventListener("touchmove",l,{passive:!1}),window.addEventListener("touchend",h,{passive:!0})}),Sl(()=>{window.removeEventListener("touchstart",s),window.removeEventListener("touchmove",l),window.removeEventListener("touchend",h)});const o=cn(()=>["left","right"].includes(x.value)),{addMovement:t,endTouch:d,getVelocity:g}=KW();let i=!1;const M=Kr(!1),v=Kr(0),p=Kr(0);let u;function a(m,_){return(x.value==="left"?m:x.value==="right"?document.documentElement.clientWidth-m:x.value==="top"?m:x.value==="bottom"?document.documentElement.clientHeight-m:kp())-(_?S.value:0)}function c(m){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const y=x.value==="left"?(m-p.value)/S.value:x.value==="right"?(document.documentElement.clientWidth-m-p.value)/S.value:x.value==="top"?(m-p.value)/S.value:x.value==="bottom"?(document.documentElement.clientHeight-m-p.value)/S.value:kp();return _?Math.max(0,Math.min(1,y)):y}function s(m){if(D.value)return;const _=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY,C=25,w=x.value==="left"?_document.documentElement.clientWidth-C:x.value==="top"?ydocument.documentElement.clientHeight-C:kp(),k=e.value&&(x.value==="left"?_document.documentElement.clientWidth-S.value:x.value==="top"?ydocument.documentElement.clientHeight-S.value:kp());(w||k||e.value&&r.value)&&(i=!0,u=[_,y],p.value=a(o.value?_:y,e.value),v.value=c(o.value?_:y),d(m),t(m))}function l(m){const _=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY;if(i){if(!m.cancelable){i=!1;return}const w=Math.abs(_-u[0]),k=Math.abs(y-u[1]);(o.value?w>k&&w>3:k>w&&k>3)?(M.value=!0,i=!1):(o.value?k:w)>3&&(i=!1)}if(!M.value)return;m.preventDefault(),t(m);const C=c(o.value?_:y,!1);v.value=Math.max(0,Math.min(1,C)),C>1?p.value=a(o.value?_:y,!0):C<0&&(p.value=a(o.value?_:y,!1))}function h(m){if(i=!1,!M.value)return;t(m),M.value=!1;const _=g(m.changedTouches[0].identifier),y=Math.abs(_.x),C=Math.abs(_.y);(o.value?y>C&&y>400:C>y&&C>3)?e.value=_.direction===({left:"right",right:"left",top:"down",bottom:"up"}[x.value]||kp()):e.value=v.value>.5}const f=cn(()=>M.value?{transform:x.value==="left"?`translateX(calc(-100% + ${v.value*S.value}px))`:x.value==="right"?`translateX(calc(100% - ${v.value*S.value}px))`:x.value==="top"?`translateY(calc(-100% + ${v.value*S.value}px))`:x.value==="bottom"?`translateY(calc(100% - ${v.value*S.value}px))`:kp(),transition:"none"}:void 0);return{isDragging:M,dragProgress:v,dragStyles:f}}function kp(){throw new Error}const eq=["start","end","left","right","top","bottom"],tq=cr({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:n=>eq.includes(n)},sticky:Boolean,...Au(),...Jr(),...ps(),...p0(),...uo(),...Li({tag:"nav"}),...sa()},"VNavigationDrawer"),nq=Er()({name:"VNavigationDrawer",props:tq(),emits:{"update:modelValue":n=>!0,"update:rail":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{isRtl:x}=Ls(),{themeClasses:o}=Ca(n),{borderClasses:t}=nc(n),{backgroundColorClasses:d,backgroundColorStyles:g}=Fo(Ir(n,"color")),{elevationClasses:i}=Ws(n),{mobile:M}=$d(),{roundedClasses:v}=Oo(n),p=zA(),u=Ti(n,"modelValue",null,z=>!!z),{ssrBootStyles:a}=Yd(),{scopeId:c}=T0(),s=Gr(),l=Kr(!1),h=cn(()=>n.rail&&n.expandOnHover&&l.value?Number(n.width):Number(n.rail?n.railWidth:n.width)),f=cn(()=>vx(n.location,x.value)),m=cn(()=>!n.permanent&&(M.value||n.temporary)),_=cn(()=>n.sticky&&!m.value&&f.value!=="bottom");n.expandOnHover&&n.rail!=null&&ei(l,z=>S("update:rail",!z)),n.disableResizeWatcher||ei(m,z=>!n.permanent&&qa(()=>u.value=!z)),!n.disableRouteWatcher&&p&&ei(p.currentRoute,()=>m.value&&(u.value=!1)),ei(()=>n.permanent,z=>{z&&(u.value=!0)}),xy(()=>{n.modelValue!=null||m.value||(u.value=n.permanent||!M.value)});const{isDragging:y,dragProgress:C,dragStyles:w}=QW({isActive:u,isTemporary:m,width:h,touchless:Ir(n,"touchless"),position:f}),k=cn(()=>{const z=m.value?0:n.rail&&n.expandOnHover?Number(n.railWidth):h.value;return y.value?z*C.value:z}),{layoutItemStyles:E,layoutItemScrimStyles:T}=m0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:f,layoutSize:k,elementSize:h,active:cn(()=>u.value||y.value),disableTransitions:cn(()=>y.value),absolute:cn(()=>n.absolute||_.value&&typeof A.value!="string")}),{isStuck:A,stickyStyles:L}=YW({rootEl:s,isSticky:_,layoutItemStyles:E}),b=Fo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),O=cn(()=>({...y.value?{opacity:C.value*.2,transition:"none"}:void 0,...T.value}));is({VList:{bgColor:"transparent"}});function I(){l.value=!0}function R(){l.value=!1}return Fr(()=>{const z=D.image||n.image;return dt(Xr,null,[dt(n.tag,Zr({ref:s,onMouseenter:I,onMouseleave:R,class:["v-navigation-drawer",`v-navigation-drawer--${f.value}`,{"v-navigation-drawer--expand-on-hover":n.expandOnHover,"v-navigation-drawer--floating":n.floating,"v-navigation-drawer--is-hovering":l.value,"v-navigation-drawer--rail":n.rail,"v-navigation-drawer--temporary":m.value,"v-navigation-drawer--active":u.value,"v-navigation-drawer--sticky":_.value},o.value,d.value,t.value,i.value,v.value,n.class],style:[g.value,E.value,w.value,a.value,L.value,n.style]},c,r),{default:()=>{var F,B,N,q;return[z&&dt("div",{key:"image",class:"v-navigation-drawer__img"},[D.image?(F=D.image)==null?void 0:F.call(D,{image:n.image}):dt("img",{src:n.image,alt:""},null)]),D.prepend&&dt("div",{class:"v-navigation-drawer__prepend"},[(B=D.prepend)==null?void 0:B.call(D)]),dt("div",{class:"v-navigation-drawer__content"},[(N=D.default)==null?void 0:N.call(D)]),D.append&&dt("div",{class:"v-navigation-drawer__append"},[(q=D.append)==null?void 0:q.call(D)])]}}),dt(hf,{name:"fade-transition"},{default:()=>[m.value&&(y.value||u.value)&&!!n.scrim&&dt("div",Zr({class:["v-navigation-drawer__scrim",b.backgroundColorClasses.value],style:[O.value,b.backgroundColorStyles.value],onClick:()=>u.value=!1},c),null)]})])}),{isStuck:A}}}),rq=Ju({name:"VNoSsr",setup(n,e){let{slots:r}=e;const S=bS();return()=>{var D;return S.value&&((D=r.default)==null?void 0:D.call(r))}}});function iq(){const n=Gr([]);D4(()=>n.value=[]);function e(r,S){n.value[S]=r}return{refs:n,updateRef:e}}const aq=cr({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:n=>n.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:n=>n%1===0},totalVisible:[Number,String],firstIcon:{type:wi,default:"$first"},prevIcon:{type:wi,default:"$prev"},nextIcon:{type:wi,default:"$next"},lastIcon:{type:wi,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Au(),...Jr(),...ms(),...ps(),...uo(),...lh(),...Li({tag:"nav"}),...sa(),...rc({variant:"text"})},"VPagination"),oq=Er()({name:"VPagination",props:aq(),emits:{"update:modelValue":n=>!0,first:n=>!0,prev:n=>!0,next:n=>!0,last:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=Ti(n,"modelValue"),{t:x,n:o}=Qu(),{isRtl:t}=Ls(),{themeClasses:d}=Ca(n),{width:g}=$d(),i=Kr(-1);is(void 0,{scoped:!0});const{resizeRef:M}=gf(C=>{if(!C.length)return;const{target:w,contentRect:k}=C[0],E=w.querySelector(".v-pagination__list > *");if(!E)return;const T=k.width,A=E.offsetWidth+parseFloat(getComputedStyle(E).marginRight)*2;i.value=a(T,A)}),v=cn(()=>parseInt(n.length,10)),p=cn(()=>parseInt(n.start,10)),u=cn(()=>n.totalVisible?parseInt(n.totalVisible,10):i.value>=0?i.value:a(g.value,58));function a(C,w){const k=n.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((C-w*k)/w).toFixed(2)))}const c=cn(()=>{if(v.value<=0||isNaN(v.value)||v.value>Number.MAX_SAFE_INTEGER)return[];if(u.value<=1)return[D.value];if(v.value<=u.value)return Gf(v.value,p.value);const C=u.value%2===0,w=C?u.value/2:Math.floor(u.value/2),k=C?w:w+1,E=v.value-w;if(k-D.value>=0)return[...Gf(Math.max(1,u.value-1),p.value),n.ellipsis,v.value];if(D.value-E>=(C?1:0)){const T=u.value-1,A=v.value-T+p.value;return[p.value,n.ellipsis,...Gf(T,A)]}else{const T=Math.max(1,u.value-3),A=T===1?D.value:D.value-Math.ceil(T/2)+p.value;return[p.value,n.ellipsis,...Gf(T,A),n.ellipsis,v.value]}});function s(C,w,k){C.preventDefault(),D.value=w,k&&S(k,w)}const{refs:l,updateRef:h}=iq();is({VPaginationBtn:{color:Ir(n,"color"),border:Ir(n,"border"),density:Ir(n,"density"),size:Ir(n,"size"),variant:Ir(n,"variant"),rounded:Ir(n,"rounded"),elevation:Ir(n,"elevation")}});const f=cn(()=>c.value.map((C,w)=>{const k=E=>h(E,w);if(typeof C=="string")return{isActive:!1,key:`ellipsis-${w}`,page:C,props:{ref:k,ellipsis:!0,icon:!0,disabled:!0}};{const E=C===D.value;return{isActive:E,key:C,page:o(C),props:{ref:k,ellipsis:!1,icon:!0,disabled:!!n.disabled||+n.length<2,color:E?n.activeColor:n.color,ariaCurrent:E,ariaLabel:x(E?n.currentPageAriaLabel:n.pageAriaLabel,C),onClick:T=>s(T,C)}}}})),m=cn(()=>{const C=!!n.disabled||D.value<=p.value,w=!!n.disabled||D.value>=p.value+v.value-1;return{first:n.showFirstLastPage?{icon:t.value?n.lastIcon:n.firstIcon,onClick:k=>s(k,p.value,"first"),disabled:C,ariaLabel:x(n.firstAriaLabel),ariaDisabled:C}:void 0,prev:{icon:t.value?n.nextIcon:n.prevIcon,onClick:k=>s(k,D.value-1,"prev"),disabled:C,ariaLabel:x(n.previousAriaLabel),ariaDisabled:C},next:{icon:t.value?n.prevIcon:n.nextIcon,onClick:k=>s(k,D.value+1,"next"),disabled:w,ariaLabel:x(n.nextAriaLabel),ariaDisabled:w},last:n.showFirstLastPage?{icon:t.value?n.firstIcon:n.lastIcon,onClick:k=>s(k,p.value+v.value-1,"last"),disabled:w,ariaLabel:x(n.lastAriaLabel),ariaDisabled:w}:void 0}});function _(){var w;const C=D.value-p.value;(w=l.value[C])==null||w.$el.focus()}function y(C){C.key===mx.left&&!n.disabled&&D.value>+n.start?(D.value=D.value-1,qa(_)):C.key===mx.right&&!n.disabled&&D.valuedt(n.tag,{ref:M,class:["v-pagination",d.value,n.class],style:n.style,role:"navigation","aria-label":x(n.ariaLabel),onKeydown:y,"data-test":"v-pagination-root"},{default:()=>[dt("ul",{class:"v-pagination__list"},[n.showFirstLastPage&&dt("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[r.first?r.first(m.value.first):dt(Ml,Zr({_as:"VPaginationBtn"},m.value.first),null)]),dt("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[r.prev?r.prev(m.value.prev):dt(Ml,Zr({_as:"VPaginationBtn"},m.value.prev),null)]),f.value.map((C,w)=>dt("li",{key:C.key,class:["v-pagination__item",{"v-pagination__item--is-active":C.isActive}],"data-test":"v-pagination-item"},[r.item?r.item(C):dt(Ml,Zr({_as:"VPaginationBtn"},C.props),{default:()=>[C.page]})])),dt("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[r.next?r.next(m.value.next):dt(Ml,Zr({_as:"VPaginationBtn"},m.value.next),null)]),n.showFirstLastPage&&dt("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[r.last?r.last(m.value.last):dt(Ml,Zr({_as:"VPaginationBtn"},m.value.last),null)])])]})),{}}});function sq(n){return Math.floor(Math.abs(n))*Math.sign(n)}const lq=cr({scale:{type:[Number,String],default:.5},...Jr()},"VParallax"),uq=Er()({name:"VParallax",props:lq(),setup(n,e){let{slots:r}=e;const{intersectionRef:S,isIntersecting:D}=B_(),{resizeRef:x,contentRect:o}=gf(),{height:t}=$d(),d=Gr();wu(()=>{var p;S.value=x.value=(p=d.value)==null?void 0:p.$el});let g;ei(D,p=>{p?(g=S_(S.value),g=g===document.scrollingElement?document:g,g.addEventListener("scroll",v,{passive:!0}),v()):g.removeEventListener("scroll",v)}),Sl(()=>{g==null||g.removeEventListener("scroll",v)}),ei(t,v),ei(()=>{var p;return(p=o.value)==null?void 0:p.height},v);const i=cn(()=>1-el(+n.scale));let M=-1;function v(){D.value&&(cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var m;const p=((m=d.value)==null?void 0:m.$el).querySelector(".v-img__img");if(!p)return;const u=g instanceof Document?document.documentElement.clientHeight:g.clientHeight,a=g instanceof Document?window.scrollY:g.scrollTop,c=S.value.getBoundingClientRect().top+a,s=o.value.height,l=c+(s-u)/2,h=sq((a-l)*i.value),f=Math.max(1,(i.value*(u-s)+s)/s);p.style.setProperty("transform",`translateY(${h}px) scale(${f})`)}))}return Fr(()=>dt(Bd,{class:["v-parallax",{"v-parallax--active":D.value},n.class],style:n.style,ref:d,cover:!0,onLoadstart:v,onLoad:v},r)),{}}}),cq=cr({...s1({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),fq=Er()({name:"VRadio",props:cq(),setup(n,e){let{slots:r}=e;return Fr(()=>dt(Nd,Zr(n,{class:["v-radio",n.class],style:n.style,type:"radio"}),r)),{}}});const hq=cr({height:{type:[Number,String],default:"auto"},...uh(),...Ku(G_(),["multiple"]),trueIcon:{type:wi,default:"$radioOn"},falseIcon:{type:wi,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),dq=Er()({name:"VRadioGroup",inheritAttrs:!1,props:hq(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const D=rl(),x=cn(()=>n.id||`radio-group-${D}`),o=Ti(n,"modelValue");return Fr(()=>{const[t,d]=qd(r),[g,i]=Gs.filterProps(n),[M,v]=Nd.filterProps(n),p=S.label?S.label({label:n.label,props:{for:x.value}}):n.label;return dt(Gs,Zr({class:["v-radio-group",n.class],style:n.style},t,g,{modelValue:o.value,"onUpdate:modelValue":u=>o.value=u,id:x.value}),{...S,default:u=>{let{id:a,messagesId:c,isDisabled:s,isReadonly:l}=u;return dt(Xr,null,[p&&dt(w0,{id:a.value},{default:()=>[p]}),dt($A,Zr(M,{id:a.value,"aria-describedby":c.value,defaultsTarget:"VRadio",trueIcon:n.trueIcon,falseIcon:n.falseIcon,type:n.type,disabled:s.value,readonly:l.value,"aria-labelledby":p?a.value:void 0,multiple:!1},d,{modelValue:o.value,"onUpdate:modelValue":h=>o.value=h}),S)])}})}),{}}}),pq=cr({...l1(),...uh(),...NS(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),mq=Er()({name:"VRangeSlider",props:pq(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,end:n=>!0,start:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=Gr(),x=Gr(),o=Gr(),{rtlClasses:t}=Ls();function d(w){if(!D.value||!x.value)return;const k=Nx(w,D.value.$el,n.direction),E=Nx(w,x.value.$el,n.direction),T=Math.abs(k),A=Math.abs(E);return Tw!=null&&w.length?w.map(k=>g.roundValue(k)):[0,0]),{activeThumbRef:M,hasLabels:v,max:p,min:u,mousePressed:a,onSliderMousedown:c,onSliderTouchstart:s,position:l,trackContainerRef:h}=jS({props:n,steps:g,onSliderStart:()=>{S("start",i.value)},onSliderEnd:w=>{var T;let{value:k}=w;const E=M.value===((T=D.value)==null?void 0:T.$el)?[k,i.value[1]]:[i.value[0],k];!n.strict&&E[0]{var A,L,b,O;let{value:k}=w;const[E,T]=i.value;!n.strict&&E===T&&E!==u.value&&(M.value=k>E?(A=x.value)==null?void 0:A.$el:(L=D.value)==null?void 0:L.$el,(b=M.value)==null||b.focus()),M.value===((O=D.value)==null?void 0:O.$el)?i.value=[Math.min(k,T),T]:i.value=[E,Math.max(E,k)]},getActiveThumb:d}),{isFocused:f,focus:m,blur:_}=$h(n),y=cn(()=>l(i.value[0])),C=cn(()=>l(i.value[1]));return Fr(()=>{const[w,k]=Gs.filterProps(n),E=!!(n.label||r.label||r.prepend);return dt(Gs,Zr({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!r["tick-label"]||v.value,"v-slider--focused":f.value,"v-slider--pressed":a.value,"v-slider--disabled":n.disabled},t.value,n.class],style:n.style,ref:o},w,{focused:f.value}),{...r,prepend:E?T=>{var A,L;return dt(Xr,null,[((A=r.label)==null?void 0:A.call(r,T))??n.label?dt(w0,{class:"v-slider__label",text:n.label},null):void 0,(L=r.prepend)==null?void 0:L.call(r,T)])}:void 0,default:T=>{var b,O;let{id:A,messagesId:L}=T;return dt("div",{class:"v-slider__container",onMousedown:c,onTouchstartPassive:s},[dt("input",{id:`${A.value}_start`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[0]},null),dt("input",{id:`${A.value}_stop`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[1]},null),dt(US,{ref:h,start:y.value,stop:C.value},{"tick-label":r["tick-label"]}),dt(Vx,{ref:D,"aria-describedby":L.value,focused:f&&M.value===((b=D.value)==null?void 0:b.$el),modelValue:i.value[0],"onUpdate:modelValue":I=>i.value=[I,i.value[1]],onFocus:I=>{var R,z,F,B;m(),M.value=(R=D.value)==null?void 0:R.$el,i.value[0]===i.value[1]&&i.value[1]===u.value&&I.relatedTarget!==((z=x.value)==null?void 0:z.$el)&&((F=D.value)==null||F.$el.blur(),(B=x.value)==null||B.$el.focus())},onBlur:()=>{_(),M.value=void 0},min:u.value,max:i.value[1],position:y.value},{"thumb-label":r["thumb-label"]}),dt(Vx,{ref:x,"aria-describedby":L.value,focused:f&&M.value===((O=x.value)==null?void 0:O.$el),modelValue:i.value[1],"onUpdate:modelValue":I=>i.value=[i.value[0],I],onFocus:I=>{var R,z,F,B;m(),M.value=(R=x.value)==null?void 0:R.$el,i.value[0]===i.value[1]&&i.value[0]===p.value&&I.relatedTarget!==((z=D.value)==null?void 0:z.$el)&&((F=x.value)==null||F.$el.blur(),(B=D.value)==null||B.$el.focus())},onBlur:()=>{_(),M.value=void 0},min:i.value[0],max:p.value,position:C.value},{"thumb-label":r["thumb-label"]})])}})}),{}}});const gq=cr({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:wi,default:"$ratingEmpty"},fullIcon:{type:wi,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},ripple:Boolean,...Jr(),...ms(),...lh(),...Li(),...sa()},"VRating"),vq=Er()({name:"VRating",props:gq(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{t:S}=Qu(),{themeClasses:D}=Ca(n),x=Ti(n,"modelValue"),o=cn(()=>el(parseFloat(x.value),0,+n.length)),t=cn(()=>Gf(Number(n.length),1)),d=cn(()=>t.value.flatMap(a=>n.halfIncrements?[a-.5,a]:[a])),g=Kr(-1),i=cn(()=>d.value.map(a=>{const c=n.hover&&g.value>-1,s=o.value>=a,l=g.value>=a,f=(c?l:s)?n.fullIcon:n.emptyIcon,m=n.activeColor??n.color,_=s||l?m:n.color;return{isFilled:s,isHovered:l,icon:f,color:_}})),M=cn(()=>[0,...d.value].map(a=>{function c(){g.value=a}function s(){g.value=-1}function l(){n.disabled||n.readonly||(x.value=o.value===a&&n.clearable?0:a)}return{onMouseenter:n.hover?c:void 0,onMouseleave:n.hover?s:void 0,onClick:l}})),v=cn(()=>n.name??`v-rating-${rl()}`);function p(a){var C,w;let{value:c,index:s,showStar:l=!0}=a;const{onMouseenter:h,onMouseleave:f,onClick:m}=M.value[s+1],_=`${v.value}-${String(c).replace(".","-")}`,y={color:(C=i.value[s])==null?void 0:C.color,density:n.density,disabled:n.disabled,icon:(w=i.value[s])==null?void 0:w.icon,ripple:n.ripple,size:n.size,variant:"plain"};return dt(Xr,null,[dt("label",{for:_,class:{"v-rating__item--half":n.halfIncrements&&c%1>0,"v-rating__item--full":n.halfIncrements&&c%1===0},onMouseenter:h,onMouseleave:f,onClick:m},[dt("span",{class:"v-rating__hidden"},[S(n.itemAriaLabel,c,n.length)]),l?r.item?r.item({...i.value[s],props:y,value:c,index:s,rating:o.value}):dt(Ml,Zr({"aria-label":S(n.itemAriaLabel,c,n.length)},y),null):void 0]),dt("input",{class:"v-rating__hidden",name:v.value,id:_,type:"radio",value:c,checked:o.value===c,tabindex:-1,readonly:n.readonly,disabled:n.disabled},null)])}function u(a){return r["item-label"]?r["item-label"](a):a.label?dt("span",null,[a.label]):dt("span",null,[ki(" ")])}return Fr(()=>{var c;const a=!!((c=n.itemLabels)!=null&&c.length)||r["item-label"];return dt(n.tag,{class:["v-rating",{"v-rating--hover":n.hover,"v-rating--readonly":n.readonly},D.value,n.class],style:n.style},{default:()=>[dt(p,{value:0,index:-1,showStar:!1},null),t.value.map((s,l)=>{var h,f;return dt("div",{class:"v-rating__wrapper"},[a&&n.itemLabelPosition==="top"?u({value:s,index:l,label:(h=n.itemLabels)==null?void 0:h[l]}):void 0,dt("div",{class:"v-rating__item"},[n.halfIncrements?dt(Xr,null,[dt(p,{value:s-.5,index:l*2},null),dt(p,{value:s,index:l*2+1},null)]):dt(p,{value:s,index:l},null)]),a&&n.itemLabelPosition==="bottom"?u({value:s,index:l,label:(f=n.itemLabels)==null?void 0:f[l]}):void 0])})]})}),{}}});function ZT(n){const r=Math.abs(n);return Math.sign(n)*(r/((1/.501-2)*(1-r)+1))}function XT(n){let{selectedElement:e,containerSize:r,contentSize:S,isRtl:D,currentScrollOffset:x,isHorizontal:o}=n;const t=o?e.clientWidth:e.clientHeight,d=o?e.offsetLeft:e.offsetTop,g=D&&o?S-d-t:d,i=r+x,M=t+g,v=t*.4;return g<=x?x=Math.max(g-v,0):i<=M&&(x=Math.min(x-(i-M-v),S-r)),x}function yq(n){let{selectedElement:e,containerSize:r,contentSize:S,isRtl:D,isHorizontal:x}=n;const o=x?e.clientWidth:e.clientHeight,t=x?e.offsetLeft:e.offsetTop,d=D&&x?S-t-o/2-r/2:t+o/2-r/2;return Math.min(S-r,Math.max(0,d))}const i8=Symbol.for("vuetify:v-slide-group"),a8=cr({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:i8},nextIcon:{type:wi,default:"$next"},prevIcon:{type:wi,default:"$prev"},showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["always","desktop","mobile"].includes(n)},...Jr(),...Li(),...g0({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Hx=Er()({name:"VSlideGroup",props:a8(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isRtl:S}=Ls(),{mobile:D}=$d(),x=Kd(n,n.symbol),o=Kr(!1),t=Kr(0),d=Kr(0),g=Kr(0),i=cn(()=>n.direction==="horizontal"),{resizeRef:M,contentRect:v}=gf(),{resizeRef:p,contentRect:u}=gf(),a=cn(()=>x.selected.value.length?x.items.value.findIndex(F=>F.id===x.selected.value[0]):-1),c=cn(()=>x.selected.value.length?x.items.value.findIndex(F=>F.id===x.selected.value[x.selected.value.length-1]):-1);if(no){let F=-1;ei(()=>[x.selected.value,v.value,u.value,i.value],()=>{cancelAnimationFrame(F),F=requestAnimationFrame(()=>{if(v.value&&u.value){const B=i.value?"width":"height";d.value=v.value[B],g.value=u.value[B],o.value=d.value+1=0&&p.value){const B=p.value.children[c.value];a.value===0||!o.value?t.value=0:n.centerActive?t.value=yq({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:S.value,isHorizontal:i.value}):o.value&&(t.value=XT({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:S.value,currentScrollOffset:t.value,isHorizontal:i.value}))}})})}const s=Kr(!1);let l=0,h=0;function f(F){const B=i.value?"clientX":"clientY";h=(S.value&&i.value?-1:1)*t.value,l=F.touches[0][B],s.value=!0}function m(F){if(!o.value)return;const B=i.value?"clientX":"clientY",N=S.value&&i.value?-1:1;t.value=N*(h+l-F.touches[0][B])}function _(F){const B=g.value-d.value;t.value<0||!o.value?t.value=0:t.value>=B&&(t.value=B),s.value=!1}function y(){M.value&&(M.value[i.value?"scrollLeft":"scrollTop"]=0)}const C=Kr(!1);function w(F){if(C.value=!0,!(!o.value||!p.value)){for(const B of F.composedPath())for(const N of p.value.children)if(N===B){t.value=XT({selectedElement:N,containerSize:d.value,contentSize:g.value,isRtl:S.value,currentScrollOffset:t.value,isHorizontal:i.value});return}}}function k(F){C.value=!1}function E(F){var B;!C.value&&!(F.relatedTarget&&((B=p.value)!=null&&B.contains(F.relatedTarget)))&&A()}function T(F){p.value&&(i.value?F.key==="ArrowRight"?A(S.value?"prev":"next"):F.key==="ArrowLeft"&&A(S.value?"next":"prev"):F.key==="ArrowDown"?A("next"):F.key==="ArrowUp"&&A("prev"),F.key==="Home"?A("first"):F.key==="End"&&A("last"))}function A(F){var B,N,q,j,Y;if(p.value)if(!F)(B=Om(p.value)[0])==null||B.focus();else if(F==="next"){const U=(N=p.value.querySelector(":focus"))==null?void 0:N.nextElementSibling;U?U.focus():A("first")}else if(F==="prev"){const U=(q=p.value.querySelector(":focus"))==null?void 0:q.previousElementSibling;U?U.focus():A("last")}else F==="first"?(j=p.value.firstElementChild)==null||j.focus():F==="last"&&((Y=p.value.lastElementChild)==null||Y.focus())}function L(F){const B=t.value+(F==="prev"?-1:1)*d.value;t.value=el(B,0,g.value-d.value)}const b=cn(()=>{let F=t.value>g.value-d.value?-(g.value-d.value)+ZT(g.value-d.value-t.value):-t.value;t.value<=0&&(F=ZT(-t.value));const B=S.value&&i.value?-1:1;return{transform:`translate${i.value?"X":"Y"}(${B*F}px)`,transition:s.value?"none":"",willChange:s.value?"transform":""}}),O=cn(()=>({next:x.next,prev:x.prev,select:x.select,isSelected:x.isSelected})),I=cn(()=>{switch(n.showArrows){case"always":return!0;case"desktop":return!D.value;case!0:return o.value||Math.abs(t.value)>0;case"mobile":return D.value||o.value||Math.abs(t.value)>0;default:return!D.value&&(o.value||Math.abs(t.value)>0)}}),R=cn(()=>Math.abs(t.value)>0),z=cn(()=>g.value>Math.abs(t.value)+d.value);return Fr(()=>dt(n.tag,{class:["v-slide-group",{"v-slide-group--vertical":!i.value,"v-slide-group--has-affixes":I.value,"v-slide-group--is-overflowing":o.value},n.class],style:n.style,tabindex:C.value||x.selected.value.length?-1:0,onFocus:E},{default:()=>{var F,B,N;return[I.value&&dt("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!R.value}],onClick:()=>L("prev")},[((F=r.prev)==null?void 0:F.call(r,O.value))??dt(kx,null,{default:()=>[dt(Wa,{icon:S.value?n.nextIcon:n.prevIcon},null)]})]),dt("div",{key:"container",ref:M,class:"v-slide-group__container",onScroll:y},[dt("div",{ref:p,class:"v-slide-group__content",style:b.value,onTouchstartPassive:f,onTouchmovePassive:m,onTouchendPassive:_,onFocusin:w,onFocusout:k,onKeydown:T},[(B=r.default)==null?void 0:B.call(r,O.value)])]),I.value&&dt("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!z.value}],onClick:()=>L("next")},[((N=r.next)==null?void 0:N.call(r,O.value))??dt(kx,null,{default:()=>[dt(Wa,{icon:S.value?n.prevIcon:n.nextIcon},null)]})])]}})),{selected:x.selected,scrollTo:L,scrollOffset:t,focus:A}}}),bq=Er()({name:"VSlideGroupItem",props:v0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const S=y0(n,i8);return()=>{var D;return(D=r.default)==null?void 0:D.call(r,{isSelected:S.isSelected.value,select:S.select,toggle:S.toggle,selectedClass:S.selectedClass.value})}}});const xq=cr({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,...Gh({location:"bottom"}),...x0(),...uo(),...rc(),...sa(),...Ku(dg({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),_q=Er()({name:"VSnackbar",props:xq(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),{locationStyles:D}=Wh(n),{positionClasses:x}=_0(n),{scopeId:o}=T0(),{themeClasses:t}=Ca(n),{colorClasses:d,colorStyles:g,variantClasses:i}=Xd(n),{roundedClasses:M}=Oo(n),v=Gr();ei(S,u),ei(()=>n.timeout,u),nl(()=>{S.value&&u()});let p=-1;function u(){window.clearTimeout(p);const c=Number(n.timeout);!S.value||c===-1||(p=window.setTimeout(()=>{S.value=!1},c))}function a(){window.clearTimeout(p)}return Fr(()=>{const[c]=Kf.filterProps(n);return dt(Kf,Zr({ref:v,class:["v-snackbar",{"v-snackbar--active":S.value,"v-snackbar--multi-line":n.multiLine&&!n.vertical,"v-snackbar--vertical":n.vertical},x.value,n.class],style:n.style},c,{modelValue:S.value,"onUpdate:modelValue":s=>S.value=s,contentProps:Zr({class:["v-snackbar__wrapper",t.value,d.value,M.value,i.value],style:[D.value,g.value],onPointerenter:a,onPointerleave:u},c.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},o),{default:()=>[Zd(!1,"v-snackbar"),r.default&&dt("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[r.default()]),r.actions&&dt(Va,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[dt("div",{class:"v-snackbar__actions"},[r.actions()])]})],activator:r.activator})}),Vc({},v)}});const wq=cr({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...uh(),...s1()},"VSwitch"),Tq=Er()({name:"VSwitch",inheritAttrs:!1,props:wq(),emits:{"update:focused":n=>!0,"update:modelValue":()=>!0,"update:indeterminate":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const D=Ti(n,"indeterminate"),x=Ti(n,"modelValue"),{loaderClasses:o}=o1(n),{isFocused:t,focus:d,blur:g}=$h(n),i=Gr(),M=cn(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),v=rl(),p=cn(()=>n.id||`switch-${v}`);function u(){D.value&&(D.value=!1)}function a(c){var s,l;c.stopPropagation(),c.preventDefault(),(l=(s=i.value)==null?void 0:s.input)==null||l.click()}return Fr(()=>{const[c,s]=qd(r),[l,h]=Gs.filterProps(n),[f,m]=Nd.filterProps(n);return dt(Gs,Zr({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":D.value},o.value,n.class],style:n.style},c,l,{id:p.value,focused:t.value}),{...S,default:_=>{let{id:y,messagesId:C,isDisabled:w,isReadonly:k,isValid:E}=_;return dt(Nd,Zr({ref:i},f,{modelValue:x.value,"onUpdate:modelValue":[T=>x.value=T,u],id:y.value,"aria-describedby":C.value,type:"checkbox","aria-checked":D.value?"mixed":void 0,disabled:w.value,readonly:k.value,onFocus:d,onBlur:g},s),{...S,default:T=>{let{backgroundColorClasses:A,backgroundColorStyles:L}=T;return dt("div",{class:["v-switch__track",...A.value],style:L.value,onClick:a},null)},input:T=>{let{inputNode:A,icon:L,backgroundColorClasses:b,backgroundColorStyles:O}=T;return dt(Xr,null,[A,dt("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":L||n.loading},n.inset?void 0:b.value],style:n.inset?void 0:O.value},[dt(P_,null,{default:()=>[n.loading?dt(U_,{name:"v-switch",active:!0,color:E.value===!1?void 0:M.value},{default:I=>S.loader?S.loader(I):dt(N_,{active:I.isActive,color:I.color,indeterminate:!0,size:"16",width:"2"},null)}):L&&dt(Wa,{key:L,icon:L,size:"x-small"},null)]})])])}})}})}),{}}});const kq=cr({color:String,height:[Number,String],window:Boolean,...Jr(),...ps(),...p0(),...uo(),...Li(),...sa()},"VSystemBar"),Mq=Er()({name:"VSystemBar",props:kq(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{backgroundColorClasses:D,backgroundColorStyles:x}=Fo(Ir(n,"color")),{elevationClasses:o}=Ws(n),{roundedClasses:t}=Oo(n),{ssrBootStyles:d}=Yd(),g=cn(()=>n.height??(n.window?32:24)),{layoutItemStyles:i}=m0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Kr("top"),layoutSize:g,elementSize:g,active:cn(()=>!0),absolute:Ir(n,"absolute")});return Fr(()=>dt(n.tag,{class:["v-system-bar",{"v-system-bar--window":n.window},S.value,D.value,o.value,t.value,n.class],style:[x.value,i.value,d.value,n.style]},r)),{}}});const o8=Symbol.for("vuetify:v-tabs"),Aq=cr({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...Ku(H_({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),s8=Er()({name:"VTab",props:Aq(),setup(n,e){let{slots:r,attrs:S}=e;const{textColorClasses:D,textColorStyles:x}=tl(n,"sliderColor"),o=cn(()=>n.direction==="horizontal"),t=Kr(!1),d=Gr(),g=Gr();function i(M){var p,u;let{value:v}=M;if(t.value=v,v){const a=(u=(p=d.value)==null?void 0:p.$el.parentElement)==null?void 0:u.querySelector(".v-tab--selected .v-tab__slider"),c=g.value;if(!a||!c)return;const s=getComputedStyle(a).color,l=a.getBoundingClientRect(),h=c.getBoundingClientRect(),f=o.value?"x":"y",m=o.value?"X":"Y",_=o.value?"right":"bottom",y=o.value?"width":"height",C=l[f],w=h[f],k=C>w?l[_]-h[_]:l[f]-h[f],E=Math.sign(k)>0?o.value?"right":"bottom":Math.sign(k)<0?o.value?"left":"top":"center",A=(Math.abs(k)+(Math.sign(k)<0?l[y]:h[y]))/Math.max(l[y],h[y])||0,L=l[y]/h[y]||0,b=1.5;_d(c,{backgroundColor:[s,"currentcolor"],transform:[`translate${m}(${k}px) scale${m}(${L})`,`translate${m}(${k/b}px) scale${m}(${(A-1)/b+1})`,"none"],transformOrigin:Array(3).fill(E)},{duration:225,easing:Pm})}}return Fr(()=>{const[M]=Ml.filterProps(n);return dt(Ml,Zr({symbol:o8,ref:d,class:["v-tab",n.class],style:n.style,tabindex:t.value?0:-1,role:"tab","aria-selected":String(t.value),active:!1},M,S,{block:n.fixed,maxWidth:n.fixed?300:void 0,"onGroup:selected":i}),{default:()=>{var v;return[((v=r.default)==null?void 0:v.call(r))??n.text,!n.hideSlider&&dt("div",{ref:g,class:["v-tab__slider",D.value],style:x.value},null)]}})}),{}}});function Sq(n){return n?n.map(e=>typeof e=="string"?{title:e,value:e}:e):[]}const Cq=cr({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...a8({mandatory:"force"}),...ms(),...Li()},"VTabs"),Eq=Er()({name:"VTabs",props:Cq(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),D=cn(()=>Sq(n.items)),{densityClasses:x}=il(n),{backgroundColorClasses:o,backgroundColorStyles:t}=Fo(Ir(n,"bgColor"));return is({VTab:{color:Ir(n,"color"),direction:Ir(n,"direction"),stacked:Ir(n,"stacked"),fixed:Ir(n,"fixedTabs"),sliderColor:Ir(n,"sliderColor"),hideSlider:Ir(n,"hideSlider")}}),Fr(()=>{const[d]=Hx.filterProps(n);return dt(Hx,Zr(d,{modelValue:S.value,"onUpdate:modelValue":g=>S.value=g,class:["v-tabs",`v-tabs--${n.direction}`,`v-tabs--align-tabs-${n.alignTabs}`,{"v-tabs--fixed-tabs":n.fixedTabs,"v-tabs--grow":n.grow,"v-tabs--stacked":n.stacked},x.value,o.value,n.class],style:[{"--v-tabs-height":ii(n.height)},t.value,n.style],role:"tablist",symbol:o8}),{default:()=>[r.default?r.default():D.value.map(g=>dt(s8,Zr(g,{key:g.title}),null))]})}),{}}});const Lq=cr({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...Jr(),...ms(),...Li(),...sa()},"VTable"),Iq=Er()({name:"VTable",props:Lq(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{densityClasses:D}=il(n);return Fr(()=>dt(n.tag,{class:["v-table",{"v-table--fixed-height":!!n.height,"v-table--fixed-header":n.fixedHeader,"v-table--fixed-footer":n.fixedFooter,"v-table--has-top":!!r.top,"v-table--has-bottom":!!r.bottom,"v-table--hover":n.hover},S.value,D.value,n.class],style:n.style},{default:()=>{var x,o,t;return[(x=r.top)==null?void 0:x.call(r),r.default?dt("div",{class:"v-table__wrapper",style:{height:ii(n.height)}},[dt("table",null,[r.default()])]):(o=r.wrapper)==null?void 0:o.call(r),(t=r.bottom)==null?void 0:t.call(r)]}})),{}}});const Oq=cr({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...uh(),...p1()},"VTextarea"),Pq=Er()({name:"VTextarea",directives:{Intersect:ug},inheritAttrs:!1,props:Oq(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const x=Ti(n,"modelValue"),{isFocused:o,focus:t,blur:d}=$h(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(x.value):(x.value||"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter});function M(E,T){var A,L;!n.autofocus||!E||(L=(A=T[0].target)==null?void 0:A.focus)==null||L.call(A)}const v=Gr(),p=Gr(),u=Kr(""),a=Gr(),c=cn(()=>n.persistentPlaceholder||o.value||n.active);function s(){var E;a.value!==document.activeElement&&((E=a.value)==null||E.focus()),o.value||t()}function l(E){s(),S("click:control",E)}function h(E){S("mousedown:control",E)}function f(E){E.stopPropagation(),s(),qa(()=>{x.value="",T_(n["onClick:clear"],E)})}function m(E){var A;const T=E.target;if(x.value=T.value,(A=n.modelModifiers)!=null&&A.trim){const L=[T.selectionStart,T.selectionEnd];qa(()=>{T.selectionStart=L[0],T.selectionEnd=L[1]})}}const _=Gr(),y=Gr(+n.rows),C=cn(()=>["plain","underlined"].includes(n.variant));wu(()=>{n.autoGrow||(y.value=+n.rows)});function w(){n.autoGrow&&qa(()=>{if(!_.value||!p.value)return;const E=getComputedStyle(_.value),T=getComputedStyle(p.value.$el),A=parseFloat(E.getPropertyValue("--v-field-padding-top"))+parseFloat(E.getPropertyValue("--v-input-padding-top"))+parseFloat(E.getPropertyValue("--v-field-padding-bottom")),L=_.value.scrollHeight,b=parseFloat(E.lineHeight),O=Math.max(parseFloat(n.rows)*b+A,parseFloat(T.getPropertyValue("--v-input-control-height"))),I=parseFloat(n.maxRows)*b+A||1/0,R=el(L??0,O,I);y.value=Math.floor((R-A)/b),u.value=ii(R)})}nl(w),ei(x,w),ei(()=>n.rows,w),ei(()=>n.maxRows,w),ei(()=>n.density,w);let k;return ei(_,E=>{E?(k=new ResizeObserver(w),k.observe(_.value)):k==null||k.disconnect()}),Sl(()=>{k==null||k.disconnect()}),Fr(()=>{const E=!!(D.counter||n.counter||n.counterValue),T=!!(E||D.details),[A,L]=qd(r),[{modelValue:b,...O}]=Gs.filterProps(n),[I]=Y_(n);return dt(Gs,Zr({ref:v,modelValue:x.value,"onUpdate:modelValue":R=>x.value=R,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-text-field--plain-underlined":C.value},n.class],style:n.style},A,O,{centerAffix:y.value===1&&!C.value,focused:o.value}),{...D,default:R=>{let{isDisabled:z,isDirty:F,isReadonly:B,isValid:N}=R;return dt(pg,Zr({ref:p,style:{"--v-textarea-control-height":u.value},onClick:l,onMousedown:h,"onClick:clear":f,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},I,{active:c.value||F.value,centerAffix:y.value===1&&!C.value,dirty:F.value||n.dirty,disabled:z.value,focused:o.value,error:N.value===!1}),{...D,default:q=>{let{props:{class:j,...Y}}=q;return dt(Xr,null,[n.prefix&&dt("span",{class:"v-text-field__prefix"},[n.prefix]),Lo(dt("textarea",Zr({ref:a,class:j,value:x.value,onInput:m,autofocus:n.autofocus,readonly:B.value,disabled:z.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:s,onBlur:d},Y,L),null),[[Tu("intersect"),{handler:M},null,{once:!0}]]),n.autoGrow&&Lo(dt("textarea",{class:[j,"v-textarea__sizer"],id:`${Y.id}-sizer`,"onUpdate:modelValue":U=>x.value=U,ref:_,readonly:!0,"aria-hidden":"true"},null),[[m9,x.value]]),n.suffix&&dt("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:T?R=>{var z;return dt(Xr,null,[(z=D.details)==null?void 0:z.call(D,R),E&&dt(Xr,null,[dt("span",null,null),dt(d1,{active:n.persistentCounter||o.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},v,p,a)}});const Dq=cr({withBackground:Boolean,...Jr(),...sa(),...Li()},"VThemeProvider"),Rq=Er()({name:"VThemeProvider",props:Dq(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n);return()=>{var D;return n.withBackground?dt(n.tag,{class:["v-theme-provider",S.value,n.class],style:n.style},{default:()=>{var x;return[(x=r.default)==null?void 0:x.call(r)]}}):(D=r.default)==null?void 0:D.call(r)}}});const zq=cr({align:{type:String,default:"center",validator:n=>["center","start"].includes(n)},direction:{type:String,default:"vertical",validator:n=>["vertical","horizontal"].includes(n)},justify:{type:String,default:"auto",validator:n=>["auto","center"].includes(n)},side:{type:String,validator:n=>n==null||["start","end"].includes(n)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:n=>["start","end","both"].includes(n)},...Jr(),...ms(),...Li(),...sa()},"VTimeline"),Fq=Er()({name:"VTimeline",props:zq(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{densityClasses:D}=il(n),{rtlClasses:x}=Ls();is({VTimelineDivider:{lineColor:Ir(n,"lineColor")},VTimelineItem:{density:Ir(n,"density"),lineInset:Ir(n,"lineInset")}});const o=cn(()=>{const d=n.side?n.side:n.density!=="default"?"end":null;return d&&`v-timeline--side-${d}`}),t=cn(()=>{const d=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(n.truncateLine){case"both":return d;case"start":return d[0];case"end":return d[1];default:return null}});return Fr(()=>dt(n.tag,{class:["v-timeline",`v-timeline--${n.direction}`,`v-timeline--align-${n.align}`,`v-timeline--justify-${n.justify}`,t.value,{"v-timeline--inset-line":!!n.lineInset},S.value,D.value,o.value,x.value,n.class],style:[{"--v-timeline-line-thickness":ii(n.lineThickness)},n.style]},r)),{}}}),Bq=cr({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:wi,iconColor:String,lineColor:String,...Jr(),...uo(),...lh(),...ps()},"VTimelineDivider"),Nq=Er()({name:"VTimelineDivider",props:Bq(),setup(n,e){let{slots:r}=e;const{sizeClasses:S,sizeStyles:D}=b0(n,"v-timeline-divider__dot"),{backgroundColorStyles:x,backgroundColorClasses:o}=Fo(Ir(n,"dotColor")),{roundedClasses:t}=Oo(n,"v-timeline-divider__dot"),{elevationClasses:d}=Ws(n),{backgroundColorClasses:g,backgroundColorStyles:i}=Fo(Ir(n,"lineColor"));return Fr(()=>dt("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":n.fillDot},n.class],style:n.style},[dt("div",{class:["v-timeline-divider__before",g.value],style:i.value},null),!n.hideDot&&dt("div",{key:"dot",class:["v-timeline-divider__dot",d.value,t.value,S.value],style:D.value},[dt("div",{class:["v-timeline-divider__inner-dot",o.value,t.value],style:x.value},[r.default?dt(Va,{key:"icon-defaults",disabled:!n.icon,defaults:{VIcon:{color:n.iconColor,icon:n.icon,size:n.size}}},r.default):dt(Wa,{key:"icon",color:n.iconColor,icon:n.icon,size:n.size},null)])]),dt("div",{class:["v-timeline-divider__after",g.value],style:i.value},null)])),{}}}),Vq=cr({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:wi,iconColor:String,lineInset:[Number,String],...Jr(),...ec(),...ps(),...uo(),...lh(),...Li()},"VTimelineItem"),jq=Er()({name:"VTimelineItem",props:Vq(),setup(n,e){let{slots:r}=e;const{dimensionStyles:S}=tc(n),D=Kr(0),x=Gr();return ei(x,o=>{var t;o&&(D.value=((t=o.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:t.getBoundingClientRect().width)??0)},{flush:"post"}),Fr(()=>{var o,t;return dt("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":n.fillDot},n.class],style:[{"--v-timeline-dot-size":ii(D.value),"--v-timeline-line-inset":n.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${ii(n.lineInset)})`:ii(0)},n.style]},[dt("div",{class:"v-timeline-item__body",style:S.value},[(o=r.default)==null?void 0:o.call(r)]),dt(Nq,{ref:x,hideDot:n.hideDot,icon:n.icon,iconColor:n.iconColor,size:n.size,elevation:n.elevation,dotColor:n.dotColor,fillDot:n.fillDot,rounded:n.rounded},{default:r.icon}),n.density!=="compact"&&dt("div",{class:"v-timeline-item__opposite"},[!n.hideOpposite&&((t=r.opposite)==null?void 0:t.call(r))])])}),{}}}),Uq=cr({...Jr(),...rc({variant:"text"})},"VToolbarItems"),Hq=Er()({name:"VToolbarItems",props:Uq(),setup(n,e){let{slots:r}=e;return is({VBtn:{color:Ir(n,"color"),height:"inherit",variant:Ir(n,"variant")}}),Fr(()=>{var S;return dt("div",{class:["v-toolbar-items",n.class],style:n.style},[(S=r.default)==null?void 0:S.call(r)])}),{}}});const Gq=cr({id:String,text:String,...Ku(dg({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),Wq=Er()({name:"VTooltip",props:Gq(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),{scopeId:D}=T0(),x=rl(),o=cn(()=>n.id||`v-tooltip-${x}`),t=Gr(),d=cn(()=>n.location.split(" ").length>1?n.location:n.location+" center"),g=cn(()=>n.origin==="auto"||n.origin==="overlap"||n.origin.split(" ").length>1||n.location.split(" ").length>1?n.origin:n.origin+" center"),i=cn(()=>n.transition?n.transition:S.value?"scale-transition":"fade-transition"),M=cn(()=>Zr({"aria-describedby":o.value},n.activatorProps));return Fr(()=>{const[v]=Kf.filterProps(n);return dt(Kf,Zr({ref:t,class:["v-tooltip",n.class],style:n.style,id:o.value},v,{modelValue:S.value,"onUpdate:modelValue":p=>S.value=p,transition:i.value,absolute:!0,location:d.value,origin:g.value,persistent:!0,role:"tooltip",activatorProps:M.value,_disableGlobalStack:!0},D),{activator:r.activator,default:function(){var c;for(var p=arguments.length,u=new Array(p),a=0;a!0},setup(n,e){let{slots:r}=e;const S=QA(n,"validation");return()=>{var D;return(D=r.default)==null?void 0:D.call(r,S)}}}),$q=Object.freeze(Object.defineProperty({__proto__:null,VAlert:wU,VAlertTitle:WA,VApp:Oj,VAppBar:Jj,VAppBarNavIcon:yU,VAppBarTitle:bU,VAutocomplete:VH,VAvatar:Vh,VBadge:UH,VBanner:WH,VBannerActions:MS,VBannerText:AS,VBottomNavigation:$H,VBreadcrumbs:KH,VBreadcrumbsDivider:SS,VBreadcrumbsItem:CS,VBtn:Ml,VBtnGroup:Sx,VBtnToggle:iU,VCard:eG,VCardActions:ES,VCardItem:OS,VCardSubtitle:LS,VCardText:PS,VCardTitle:IS,VCarousel:uG,VCarouselItem:fG,VCheckbox:LU,VCheckboxBtn:a0,VChip:hg,VChipGroup:PU,VClassIcon:I_,VCode:hG,VCol:TW,VColorPicker:eW,VCombobox:rW,VComponentIcon:_x,VContainer:bW,VCounter:d1,VDefaultsProvider:Va,VDialog:aW,VDialogBottomTransition:zj,VDialogTopTransition:Fj,VDialogTransition:i1,VDivider:cS,VExpandTransition:a1,VExpandXTransition:R_,VExpansionPanel:fW,VExpansionPanelText:GS,VExpansionPanelTitle:qS,VExpansionPanels:lW,VFabTransition:Rj,VFadeTransition:kx,VField:pg,VFieldLabel:rm,VFileInput:dW,VFooter:mW,VForm:vW,VHover:PW,VIcon:Wa,VImg:Bd,VInput:Gs,VItem:zW,VItemGroup:RW,VKbd:FW,VLabel:w0,VLayout:NW,VLayoutItem:jW,VLazy:HW,VLigatureIcon:WV,VList:c1,VListGroup:Ix,VListImg:QU,VListItem:Xf,VListItemAction:tH,VListItemMedia:rH,VListItemSubtitle:sS,VListItemTitle:lS,VListSubheader:uS,VLocaleProvider:WW,VMain:$W,VMenu:h1,VMessages:XA,VNavigationDrawer:nq,VNoSsr:rq,VOverlay:Kf,VPagination:oq,VParallax:uq,VProgressCircular:N_,VProgressLinear:V_,VRadio:fq,VRadioGroup:dq,VRangeSlider:mq,VRating:vq,VResponsive:Mx,VRow:LW,VScaleTransition:P_,VScrollXReverseTransition:Nj,VScrollXTransition:Bj,VScrollYReverseTransition:jj,VScrollYTransition:Vj,VSelect:RH,VSelectionControl:Nd,VSelectionControlGroup:$A,VSheet:Ux,VSlideGroup:Hx,VSlideGroupItem:bq,VSlideXReverseTransition:Hj,VSlideXTransition:Uj,VSlideYReverseTransition:Gj,VSlideYTransition:D_,VSlider:jx,VSnackbar:_q,VSpacer:IW,VSvgIcon:L_,VSwitch:Tq,VSystemBar:Mq,VTab:s8,VTable:Iq,VTabs:Eq,VTextField:Vd,VTextarea:Pq,VThemeProvider:Rq,VTimeline:Fq,VTimelineItem:jq,VToolbar:Ax,VToolbarItems:Hq,VToolbarTitle:O_,VTooltip:Wq,VValidation:qq,VVirtualScroll:g1,VWindow:Rx,VWindowItem:zx},Symbol.toStringTag,{value:"Module"}));function Yq(n,e){const r=e.modifiers||{},S=e.value,{once:D,immediate:x,...o}=r,t=!Object.keys(o).length,{handler:d,options:g}=typeof S=="object"?S:{handler:S,options:{attributes:(o==null?void 0:o.attr)??t,characterData:(o==null?void 0:o.char)??t,childList:(o==null?void 0:o.child)??t,subtree:(o==null?void 0:o.sub)??t}},i=new MutationObserver(function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],v=arguments.length>1?arguments[1]:void 0;d==null||d(M,v),D&&l8(n,e)});x&&(d==null||d([],i)),n._mutate=Object(n._mutate),n._mutate[e.instance.$.uid]={observer:i},i.observe(n,g)}function l8(n,e){var r;(r=n._mutate)!=null&&r[e.instance.$.uid]&&(n._mutate[e.instance.$.uid].observer.disconnect(),delete n._mutate[e.instance.$.uid])}const Zq={mounted:Yq,unmounted:l8};function Xq(n,e){var D,x;const r=e.value,S={passive:!((D=e.modifiers)!=null&&D.active)};window.addEventListener("resize",r,S),n._onResize=Object(n._onResize),n._onResize[e.instance.$.uid]={handler:r,options:S},(x=e.modifiers)!=null&&x.quiet||r()}function Kq(n,e){var D;if(!((D=n._onResize)!=null&&D[e.instance.$.uid]))return;const{handler:r,options:S}=n._onResize[e.instance.$.uid];window.removeEventListener("resize",r,S),delete n._onResize[e.instance.$.uid]}const Jq={mounted:Xq,unmounted:Kq};function u8(n,e){const{self:r=!1}=e.modifiers??{},S=e.value,D=typeof S=="object"&&S.options||{passive:!0},x=typeof S=="function"||"handleEvent"in S?S:S.handler,o=r?n:e.arg?document.querySelector(e.arg):window;o&&(o.addEventListener("scroll",x,D),n._onScroll=Object(n._onScroll),n._onScroll[e.instance.$.uid]={handler:x,options:D,target:r?void 0:o})}function c8(n,e){var x;if(!((x=n._onScroll)!=null&&x[e.instance.$.uid]))return;const{handler:r,options:S,target:D=n}=n._onScroll[e.instance.$.uid];D.removeEventListener("scroll",r,S),delete n._onScroll[e.instance.$.uid]}function Qq(n,e){e.value!==e.oldValue&&(c8(n,e),u8(n,e))}const e$={mounted:u8,unmounted:c8,updated:Qq},t$=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside:wS,Intersect:ug,Mutate:Zq,Resize:Jq,Ripple:qh,Scroll:e$,Touch:K_},Symbol.toStringTag,{value:"Module"})),tw=x9(eV);tw.use(T9());tw.use(AA({components:$q,directives:t$}));tw.mount("#app"); +`)}function CT(n){const e=n.dark?2:1,r=n.dark?1:2,S=[];for(const[D,x]of Object.entries(n.colors)){const o=Cc(x);S.push(`--v-theme-${D}: ${o.r},${o.g},${o.b}`),D.startsWith("on-")||S.push(`--v-theme-${D}-overlay-multiplier: ${yx(x)>.18?e:r}`)}for(const[D,x]of Object.entries(n.variables)){const o=typeof x=="string"&&x.startsWith("#")?Cc(x):void 0,t=o?`${o.r}, ${o.g}, ${o.b}`:void 0;S.push(`--v-${D}: ${t??x}`)}return S}const wx={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function aj(n,e){const r=[];let S=[];const D=_A(n),x=wA(n),o=D.getDay()-wx[e.slice(-2).toUpperCase()],t=x.getDay()-wx[e.slice(-2).toUpperCase()];for(let d=0;d{const S=new Date(ET);return S.setDate(ET.getDate()+e+r),new Intl.DateTimeFormat(n,{weekday:"narrow"}).format(S)})}function cj(n,e,r){const S=new Date(n);let D={};switch(e){case"fullDateWithWeekday":D={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":D={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":D={};break;case"monthAndDate":D={month:"long",day:"numeric"};break;case"monthAndYear":D={month:"long",year:"numeric"};break;case"dayOfMonth":D={day:"numeric"};break;default:D={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(r,D).format(S)}function fj(n,e){const r=new Date(n);return r.setDate(r.getDate()+e),r}function hj(n,e){const r=new Date(n);return r.setMonth(r.getMonth()+e),r}function dj(n){return n.getFullYear()}function pj(n){return n.getMonth()}function mj(n){return new Date(n.getFullYear(),0,1)}function gj(n){return new Date(n.getFullYear(),11,31)}function vj(n,e){return Tx(n,e[0])&&bj(n,e[1])}function yj(n){if(!n||n==null)return!1;const e=new Date(n);return e instanceof Date&&!isNaN(e.getTime())}function Tx(n,e){return n.getTime()>e.getTime()}function bj(n,e){return n.getTime()1&&arguments[1]!==void 0?arguments[1]:"content";const r=Gr(),S=Gr();if(no){const D=new ResizeObserver(x=>{n==null||n(x,D),x.length&&(e==="content"?S.value=x[0].contentRect:S.value=x[0].target.getBoundingClientRect())});Sl(()=>{D.disconnect()}),ei(r,(x,o)=>{o&&(D.unobserve(px(o)),S.value=void 0),x&&D.observe(px(x))},{flush:"post"})}return{resizeRef:r,contentRect:Vm(S)}}const sy=Symbol.for("vuetify:layout"),TA=Symbol.for("vuetify:layout-item"),OT=1e3,kA=cr({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),p0=cr({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function Cj(){const n=Sa(sy);if(!n)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:n.getLayoutItem,mainRect:n.mainRect,mainStyles:n.mainStyles}}function m0(n){const e=Sa(sy);if(!e)throw new Error("[Vuetify] Could not find injected layout");const r=n.id??`layout-item-${rl()}`,S=Es("useLayoutItem");as(TA,{id:r});const D=Kr(!1);O4(()=>D.value=!0),I4(()=>D.value=!1);const{layoutItemStyles:x,layoutItemScrimStyles:o}=e.register(S,{...n,active:cn(()=>D.value?!1:n.active.value),id:r});return Sl(()=>e.unregister(r)),{layoutItemStyles:x,layoutRect:e.layoutRect,layoutItemScrimStyles:o}}const Ej=(n,e,r,S)=>{let D={top:0,left:0,right:0,bottom:0};const x=[{id:"",layer:{...D}}];for(const o of n){const t=e.get(o),d=r.get(o),v=S.get(o);if(!t||!d||!v)continue;const i={...D,[t.value]:parseInt(D[t.value],10)+(v.value?parseInt(d.value,10):0)};x.push({id:o,layer:i}),D=i}return x};function MA(n){const e=Sa(sy,null),r=cn(()=>e?e.rootZIndex.value-100:OT),S=Gr([]),D=Tl(new Map),x=Tl(new Map),o=Tl(new Map),t=Tl(new Map),d=Tl(new Map),{resizeRef:v,contentRect:i}=gf(),M=cn(()=>{const _=new Map,y=n.overlaps??[];for(const C of y.filter(w=>w.includes(":"))){const[w,k]=C.split(":");if(!S.value.includes(w)||!S.value.includes(k))continue;const E=D.get(w),T=D.get(k),A=x.get(w),L=x.get(k);!E||!T||!A||!L||(_.set(k,{position:E.value,amount:parseInt(A.value,10)}),_.set(w,{position:T.value,amount:-parseInt(L.value,10)}))}return _}),g=cn(()=>{const _=[...new Set([...o.values()].map(C=>C.value))].sort((C,w)=>C-w),y=[];for(const C of _){const w=S.value.filter(k=>{var E;return((E=o.get(k))==null?void 0:E.value)===C});y.push(...w)}return Ej(y,D,x,t)}),p=cn(()=>!Array.from(d.values()).some(_=>_.value)),u=cn(()=>g.value[g.value.length-1].layer),a=cn(()=>({"--v-layout-left":ii(u.value.left),"--v-layout-right":ii(u.value.right),"--v-layout-top":ii(u.value.top),"--v-layout-bottom":ii(u.value.bottom),...p.value?void 0:{transition:"none"}})),c=cn(()=>g.value.slice(1).map((_,y)=>{let{id:C}=_;const{layer:w}=g.value[y],k=x.get(C),E=D.get(C);return{id:C,...w,size:Number(k.value),position:E.value}})),s=_=>c.value.find(y=>y.id===_),l=Es("createLayout"),h=Kr(!1);nl(()=>{h.value=!0}),as(sy,{register:(_,y)=>{let{id:C,order:w,position:k,layoutSize:E,elementSize:T,active:A,disableTransitions:L,absolute:b}=y;o.set(C,w),D.set(C,k),x.set(C,E),t.set(C,A),L&&d.set(C,L);const I=pm(TA,l==null?void 0:l.vnode).indexOf(_);I>-1?S.value.splice(I,0,C):S.value.push(C);const R=cn(()=>c.value.findIndex(N=>N.id===C)),z=cn(()=>r.value+g.value.length*2-R.value*2),F=cn(()=>{const N=k.value==="left"||k.value==="right",q=k.value==="right",j=k.value==="bottom",Y={[k.value]:0,zIndex:z.value,transform:`translate${N?"X":"Y"}(${(A.value?0:-110)*(q||j?-1:1)}%)`,position:b.value||r.value!==OT?"absolute":"fixed",...p.value?void 0:{transition:"none"}};if(!h.value)return Y;const U=c.value[R.value];if(!U)throw new Error(`[Vuetify] Could not find layout item "${C}"`);const G=M.value.get(C);return G&&(U[G.position]+=G.amount),{...Y,height:N?`calc(100% - ${U.top}px - ${U.bottom}px)`:T.value?`${T.value}px`:void 0,left:q?void 0:`${U.left}px`,right:q?`${U.right}px`:void 0,top:k.value!=="bottom"?`${U.top}px`:void 0,bottom:k.value!=="top"?`${U.bottom}px`:void 0,width:N?T.value?`${T.value}px`:void 0:`calc(100% - ${U.left}px - ${U.right}px)`}}),B=cn(()=>({zIndex:z.value-1}));return{layoutItemStyles:F,layoutItemScrimStyles:B,zIndex:z}},unregister:_=>{o.delete(_),D.delete(_),x.delete(_),t.delete(_),d.delete(_),S.value=S.value.filter(y=>y!==_)},mainRect:u,mainStyles:a,getLayoutItem:s,items:c,layoutRect:i,rootZIndex:r});const f=cn(()=>["v-layout",{"v-layout--full-height":n.fullHeight}]),m=cn(()=>({zIndex:r.value,position:e?"relative":void 0,overflow:e?"hidden":void 0}));return{layoutClasses:f,layoutStyles:m,getLayoutItem:s,items:c,layoutRect:i,layoutRef:v}}function AA(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...r}=n,S=Wu(e,r),{aliases:D={},components:x={},directives:o={}}=S,t=BV(S.defaults),d=UV(S.display,S.ssr),v=ij(S.theme),i=$V(S.icons),M=QV(S.locale),g=Sj(S.date);return{install:u=>{for(const a in o)u.directive(a,o[a]);for(const a in x)u.component(a,x[a]);for(const a in D)u.component(a,Ju({...D[a],name:a,aliasName:D[a].name}));if(v.install(u),u.provide(r0,t),u.provide(bx,d),u.provide(Dm,v),u.provide(xx,i),u.provide(i0,M),u.provide(IT,g),no&&S.ssr)if(u.$nuxt)u.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:a}=u;u.mount=function(){const c=a(...arguments);return qa(()=>d.update()),u.mount=a,c}}rl.reset(),u.mixin({computed:{$vuetify(){return Tl({defaults:Tp.call(this,r0),display:Tp.call(this,bx),theme:Tp.call(this,Dm),icons:Tp.call(this,xx),locale:Tp.call(this,i0),date:Tp.call(this,IT)})}}})},defaults:t,display:d,theme:v,icons:i,locale:M,date:g}}const Lj="3.3.16";AA.version=Lj;function Tp(n){var S,D;const e=this.$,r=((S=e.parent)==null?void 0:S.provides)??((D=e.vnode.appContext)==null?void 0:D.provides);if(r&&n in r)return r[n]}const Ij=cr({...Jr(),...kA({fullHeight:!0}),...sa()},"VApp"),Oj=Er()({name:"VApp",props:Ij(),setup(n,e){let{slots:r}=e;const S=Ca(n),{layoutClasses:D,layoutStyles:x,getLayoutItem:o,items:t,layoutRef:d}=MA(n),{rtlClasses:v}=Ls();return Fr(()=>{var i;return dt("div",{ref:d,class:["v-application",S.themeClasses.value,D.value,v.value,n.class],style:[x.value,n.style]},[dt("div",{class:"v-application__wrap"},[(i=r.default)==null?void 0:i.call(r)])])}),{getLayoutItem:o,items:t,theme:S}}});const Li=cr({tag:{type:String,default:"div"}},"tag"),SA=cr({text:String,...Jr(),...Li()},"VToolbarTitle"),O_=Er()({name:"VToolbarTitle",props:SA(),setup(n,e){let{slots:r}=e;return Fr(()=>{const S=!!(r.default||r.text||n.text);return dt(n.tag,{class:["v-toolbar-title",n.class],style:n.style},{default:()=>{var D;return[S&&dt("div",{class:"v-toolbar-title__placeholder"},[r.text?r.text():n.text,(D=r.default)==null?void 0:D.call(r)])]}})}),{}}}),Pj=cr({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Mu(n,e,r){return Er()({name:n,props:Pj({mode:r,origin:e}),setup(S,D){let{slots:x}=D;const o={onBeforeEnter(t){S.origin&&(t.style.transformOrigin=S.origin)},onLeave(t){if(S.leaveAbsolute){const{offsetTop:d,offsetLeft:v,offsetWidth:i,offsetHeight:M}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=`${d}px`,t.style.left=`${v}px`,t.style.width=`${i}px`,t.style.height=`${M}px`}S.hideOnLeave&&t.style.setProperty("display","none","important")},onAfterLeave(t){if(S.leaveAbsolute&&(t!=null&&t._transitionInitialStyles)){const{position:d,top:v,left:i,width:M,height:g}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=d||"",t.style.top=v||"",t.style.left=i||"",t.style.width=M||"",t.style.height=g||""}}};return()=>{const t=S.group?u9:hf;return jh(t,{name:S.disabled?"":n,css:!S.disabled,...S.group?void 0:{mode:S.mode},...S.disabled?{}:o},x.default)}}})}function CA(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Er()({name:n,props:{mode:{type:String,default:r},disabled:Boolean},setup(S,D){let{slots:x}=D;return()=>jh(hf,{name:S.disabled?"":n,css:!S.disabled,...S.disabled?{}:e},x.default)}})}function EA(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",S=Zu(`offset-${r}`);return{onBeforeEnter(o){o._parent=o.parentNode,o._initialStyle={transition:o.style.transition,overflow:o.style.overflow,[r]:o.style[r]}},onEnter(o){const t=o._initialStyle;o.style.setProperty("transition","none","important"),o.style.overflow="hidden";const d=`${o[S]}px`;o.style[r]="0",o.offsetHeight,o.style.transition=t.transition,n&&o._parent&&o._parent.classList.add(n),requestAnimationFrame(()=>{o.style[r]=d})},onAfterEnter:x,onEnterCancelled:x,onLeave(o){o._initialStyle={transition:"",overflow:o.style.overflow,[r]:o.style[r]},o.style.overflow="hidden",o.style[r]=`${o[S]}px`,o.offsetHeight,requestAnimationFrame(()=>o.style[r]="0")},onAfterLeave:D,onLeaveCancelled:D};function D(o){n&&o._parent&&o._parent.classList.remove(n),x(o)}function x(o){const t=o._initialStyle[r];o.style.overflow=o._initialStyle.overflow,t!=null&&(o.style[r]=t),delete o._initialStyle}}const Dj=cr({target:Object},"v-dialog-transition"),i1=Er()({name:"VDialogTransition",props:Dj(),setup(n,e){let{slots:r}=e;const S={onBeforeEnter(D){D.style.pointerEvents="none",D.style.visibility="hidden"},async onEnter(D,x){var g;await new Promise(p=>requestAnimationFrame(p)),await new Promise(p=>requestAnimationFrame(p)),D.style.visibility="";const{x:o,y:t,sx:d,sy:v,speed:i}=DT(n.target,D),M=_d(D,[{transform:`translate(${o}px, ${t}px) scale(${d}, ${v})`,opacity:0},{}],{duration:225*i,easing:PV});(g=PT(D))==null||g.forEach(p=>{_d(p,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*i,easing:Pm})}),M.finished.then(()=>x())},onAfterEnter(D){D.style.removeProperty("pointer-events")},onBeforeLeave(D){D.style.pointerEvents="none"},async onLeave(D,x){var g;await new Promise(p=>requestAnimationFrame(p));const{x:o,y:t,sx:d,sy:v,speed:i}=DT(n.target,D);_d(D,[{},{transform:`translate(${o}px, ${t}px) scale(${d}, ${v})`,opacity:0}],{duration:125*i,easing:DV}).finished.then(()=>x()),(g=PT(D))==null||g.forEach(p=>{_d(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*i,easing:Pm})})},onAfterLeave(D){D.style.removeProperty("pointer-events")}};return()=>n.target?dt(hf,Zr({name:"dialog-transition"},S,{css:!1}),r):dt(hf,{name:"dialog-transition"},r)}});function PT(n){var r;const e=(r=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return e&&[...e]}function DT(n,e){const r=n.getBoundingClientRect(),S=k_(e),[D,x]=getComputedStyle(e).transformOrigin.split(" ").map(s=>parseFloat(s)),[o,t]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let d=r.left+r.width/2;o==="left"||t==="left"?d-=r.width/2:(o==="right"||t==="right")&&(d+=r.width/2);let v=r.top+r.height/2;o==="top"||t==="top"?v-=r.height/2:(o==="bottom"||t==="bottom")&&(v+=r.height/2);const i=r.width/S.width,M=r.height/S.height,g=Math.max(1,i,M),p=i/g||0,u=M/g||0,a=S.width*S.height/(window.innerWidth*window.innerHeight),c=a>.12?Math.min(1.5,(a-.12)*10+1):1;return{x:d-(D+S.left),y:v-(x+S.top),sx:p,sy:u,speed:c}}const Rj=Mu("fab-transition","center center","out-in"),zj=Mu("dialog-bottom-transition"),Fj=Mu("dialog-top-transition"),kx=Mu("fade-transition"),P_=Mu("scale-transition"),Bj=Mu("scroll-x-transition"),Nj=Mu("scroll-x-reverse-transition"),Vj=Mu("scroll-y-transition"),jj=Mu("scroll-y-reverse-transition"),Uj=Mu("slide-x-transition"),Hj=Mu("slide-x-reverse-transition"),D_=Mu("slide-y-transition"),Gj=Mu("slide-y-reverse-transition"),a1=CA("expand-transition",EA()),R_=CA("expand-x-transition",EA("",!0)),Wj=cr({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Va=Er(!1)({name:"VDefaultsProvider",props:Wj(),setup(n,e){let{slots:r}=e;const{defaults:S,disabled:D,reset:x,root:o,scoped:t}=py(n);return is(S,{reset:x,root:o,scoped:t,disabled:D}),()=>{var d;return(d=r.default)==null?void 0:d.call(r)}}});const ec=cr({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function tc(n){return{dimensionStyles:cn(()=>({height:ii(n.height),maxHeight:ii(n.maxHeight),maxWidth:ii(n.maxWidth),minHeight:ii(n.minHeight),minWidth:ii(n.minWidth),width:ii(n.width)}))}}function qj(n){return{aspectStyles:cn(()=>{const e=Number(n.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const LA=cr({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Jr(),...ec()},"VResponsive"),Mx=Er()({name:"VResponsive",props:LA(),setup(n,e){let{slots:r}=e;const{aspectStyles:S}=qj(n),{dimensionStyles:D}=tc(n);return Fr(()=>{var x;return dt("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[D.value,n.style]},[dt("div",{class:"v-responsive__sizer",style:S.value},null),(x=r.additional)==null?void 0:x.call(r),r.default&&dt("div",{class:["v-responsive__content",n.contentClass]},[r.default()])])}),{}}}),sh=cr({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),Ec=(n,e)=>{let{slots:r}=e;const{transition:S,disabled:D,...x}=n,{component:o=hf,...t}=typeof S=="object"?S:{};return jh(o,Zr(typeof S=="string"?{name:D?"":S}:t,x,{disabled:D}),r)};function $j(n,e){if(!x_)return;const r=e.modifiers||{},S=e.value,{handler:D,options:x}=typeof S=="object"?S:{handler:S,options:{}},o=new IntersectionObserver(function(){var M;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1?arguments[1]:void 0;const v=(M=n._observe)==null?void 0:M[e.instance.$.uid];if(!v)return;const i=t.some(g=>g.isIntersecting);D&&(!r.quiet||v.init)&&(!r.once||i||v.init)&&D(i,t,d),i&&r.once?IA(n,e):v.init=!0},x);n._observe=Object(n._observe),n._observe[e.instance.$.uid]={init:!1,observer:o},o.observe(n)}function IA(n,e){var S;const r=(S=n._observe)==null?void 0:S[e.instance.$.uid];r&&(r.observer.unobserve(n),delete n._observe[e.instance.$.uid])}const ug={mounted:$j,unmounted:IA},OA=cr({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...LA(),...Jr(),...sh()},"VImg"),Bd=Er()({name:"VImg",directives:{intersect:ug},props:OA(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,e){let{emit:r,slots:S}=e;const D=Kr(""),x=Gr(),o=Kr(n.eager?"loading":"idle"),t=Kr(),d=Kr(),v=cn(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),i=cn(()=>v.value.aspect||t.value/d.value||0);ei(()=>n.src,()=>{M(o.value!=="idle")}),ei(i,(C,w)=>{!C&&w&&x.value&&c(x.value)}),xy(()=>M());function M(C){if(!(n.eager&&C)&&!(x_&&!C&&!n.eager)){if(o.value="loading",v.value.lazySrc){const w=new Image;w.src=v.value.lazySrc,c(w,null)}v.value.src&&qa(()=>{var w,k;if(r("loadstart",((w=x.value)==null?void 0:w.currentSrc)||v.value.src),(k=x.value)!=null&&k.complete){if(x.value.naturalWidth||p(),o.value==="error")return;i.value||c(x.value,null),g()}else i.value||c(x.value),u()})}}function g(){var C;u(),o.value="loaded",r("load",((C=x.value)==null?void 0:C.currentSrc)||v.value.src)}function p(){var C;o.value="error",r("error",((C=x.value)==null?void 0:C.currentSrc)||v.value.src)}function u(){const C=x.value;C&&(D.value=C.currentSrc||C.src)}let a=-1;function c(C){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const k=()=>{clearTimeout(a);const{naturalHeight:E,naturalWidth:T}=C;E||T?(t.value=T,d.value=E):!C.complete&&o.value==="loading"&&w!=null?a=window.setTimeout(k,w):(C.currentSrc.endsWith(".svg")||C.currentSrc.startsWith("data:image/svg+xml"))&&(t.value=1,d.value=1)};k()}const s=cn(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),l=()=>{var k;if(!v.value.src||o.value==="idle")return null;const C=dt("img",{class:["v-img__img",s.value],src:v.value.src,srcset:v.value.srcset,alt:n.alt,sizes:n.sizes,ref:x,onLoad:g,onError:p},null),w=(k=S.sources)==null?void 0:k.call(S);return dt(Ec,{transition:n.transition,appear:!0},{default:()=>[Lo(w?dt("picture",{class:"v-img__picture"},[w,C]):C,[[vf,o.value==="loaded"]])]})},h=()=>dt(Ec,{transition:n.transition},{default:()=>[v.value.lazySrc&&o.value!=="loaded"&&dt("img",{class:["v-img__img","v-img__img--preload",s.value],src:v.value.lazySrc,alt:n.alt},null)]}),f=()=>S.placeholder?dt(Ec,{transition:n.transition,appear:!0},{default:()=>[(o.value==="loading"||o.value==="error"&&!S.error)&&dt("div",{class:"v-img__placeholder"},[S.placeholder()])]}):null,m=()=>S.error?dt(Ec,{transition:n.transition,appear:!0},{default:()=>[o.value==="error"&&dt("div",{class:"v-img__error"},[S.error()])]}):null,_=()=>n.gradient?dt("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,y=Kr(!1);{const C=ei(i,w=>{w&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{y.value=!0})}),C())})}return Fr(()=>{const[C]=Mx.filterProps(n);return Lo(dt(Mx,Zr({class:["v-img",{"v-img--booting":!y.value},n.class],style:[{width:ii(n.width==="auto"?t.value:n.width)},n.style]},C,{aspectRatio:i.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>dt(Xr,null,[dt(l,null,null),dt(h,null,null),dt(_,null,null),dt(f,null,null),dt(m,null,null)]),default:S.default}),[[Tu("intersect"),{handler:M,options:n.options},null,{once:!0}]])}),{currentSrc:D,image:x,state:o,naturalWidth:t,naturalHeight:d}}}),Au=cr({border:[Boolean,Number,String]},"border");function nc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();return{borderClasses:cn(()=>{const S=to(n)?n.value:n.border,D=[];if(S===!0||S==="")D.push(`${e}--border`);else if(typeof S=="string"||S===0)for(const x of String(S).split(" "))D.push(`border-${x}`);return D})}}function z_(n){return w_(()=>{const e=[],r={};if(n.value.background)if(bT(n.value.background)){if(r.backgroundColor=n.value.background,!n.value.text){const S=pA(r.backgroundColor);r.color=S,r.caretColor=S}}else e.push(`bg-${n.value.background}`);return n.value.text&&(bT(n.value.text)?(r.color=n.value.text,r.caretColor=n.value.text):e.push(`text-${n.value.text}`)),{colorClasses:e,colorStyles:r}})}function tl(n,e){const r=cn(()=>({text:to(n)?n.value:e?n[e]:null})),{colorClasses:S,colorStyles:D}=z_(r);return{textColorClasses:S,textColorStyles:D}}function Fo(n,e){const r=cn(()=>({background:to(n)?n.value:e?n[e]:null})),{colorClasses:S,colorStyles:D}=z_(r);return{backgroundColorClasses:S,backgroundColorStyles:D}}const ps=cr({elevation:{type:[Number,String],validator(n){const e=parseInt(n);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Ws(n){return{elevationClasses:cn(()=>{const r=to(n)?n.value:n.elevation,S=[];return r==null||S.push(`elevation-${r}`),S})}}const uo=cr({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Oo(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();return{roundedClasses:cn(()=>{const S=to(n)?n.value:n.rounded,D=[];if(S===!0||S==="")D.push(`${e}--rounded`);else if(typeof S=="string"||S===0)for(const x of String(S).split(" "))D.push(`rounded-${x}`);return D})}}const Yj=[null,"prominent","default","comfortable","compact"],PA=cr({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:n=>Yj.includes(n)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Au(),...Jr(),...ps(),...uo(),...Li({tag:"header"}),...sa()},"VToolbar"),Ax=Er()({name:"VToolbar",props:PA(),setup(n,e){var p;let{slots:r}=e;const{backgroundColorClasses:S,backgroundColorStyles:D}=Fo(Ir(n,"color")),{borderClasses:x}=nc(n),{elevationClasses:o}=Ws(n),{roundedClasses:t}=Oo(n),{themeClasses:d}=Ca(n),{rtlClasses:v}=Ls(),i=Kr(!!(n.extended||(p=r.extension)!=null&&p.call(r))),M=cn(()=>parseInt(Number(n.height)+(n.density==="prominent"?Number(n.height):0)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0),10)),g=cn(()=>i.value?parseInt(Number(n.extensionHeight)+(n.density==="prominent"?Number(n.extensionHeight):0)-(n.density==="comfortable"?4:0)-(n.density==="compact"?8:0),10):0);return is({VBtn:{variant:"text"}}),Fr(()=>{var s;const u=!!(n.title||r.title),a=!!(r.image||n.image),c=(s=r.extension)==null?void 0:s.call(r);return i.value=!!(n.extended||c),dt(n.tag,{class:["v-toolbar",{"v-toolbar--absolute":n.absolute,"v-toolbar--collapse":n.collapse,"v-toolbar--flat":n.flat,"v-toolbar--floating":n.floating,[`v-toolbar--density-${n.density}`]:!0},S.value,x.value,o.value,t.value,d.value,v.value,n.class],style:[D.value,n.style]},{default:()=>[a&&dt("div",{key:"image",class:"v-toolbar__image"},[r.image?dt(Va,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},r.image):dt(Bd,{key:"image-img",cover:!0,src:n.image},null)]),dt(Va,{defaults:{VTabs:{height:ii(M.value)}}},{default:()=>{var l,h,f;return[dt("div",{class:"v-toolbar__content",style:{height:ii(M.value)}},[r.prepend&&dt("div",{class:"v-toolbar__prepend"},[(l=r.prepend)==null?void 0:l.call(r)]),u&&dt(O_,{key:"title",text:n.title},{text:r.title}),(h=r.default)==null?void 0:h.call(r),r.append&&dt("div",{class:"v-toolbar__append"},[(f=r.append)==null?void 0:f.call(r)])])]}}),dt(Va,{defaults:{VTabs:{height:ii(g.value)}}},{default:()=>[dt(a1,null,{default:()=>[i.value&&dt("div",{class:"v-toolbar__extension",style:{height:ii(g.value)}},[c])]})]})]})}),{contentHeight:M,extensionHeight:g}}}),Zj=cr({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function Xj(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:r}=e;let S=0;const D=Gr(null),x=Kr(0),o=Kr(0),t=Kr(0),d=Kr(!1),v=Kr(!1),i=cn(()=>Number(n.scrollThreshold)),M=cn(()=>el((i.value-x.value)/i.value||0)),g=()=>{const p=D.value;!p||r&&!r.value||(S=x.value,x.value="window"in p?p.pageYOffset:p.scrollTop,v.value=x.value{o.value=o.value||x.value}),ei(d,()=>{o.value=0}),nl(()=>{ei(()=>n.scrollTarget,p=>{var a;const u=p?document.querySelector(p):window;u&&u!==D.value&&((a=D.value)==null||a.removeEventListener("scroll",g),D.value=u,D.value.addEventListener("scroll",g,{passive:!0}))},{immediate:!0})}),Sl(()=>{var p;(p=D.value)==null||p.removeEventListener("scroll",g)}),r&&ei(r,g,{immediate:!0}),{scrollThreshold:i,currentScroll:x,currentThreshold:t,isScrollActive:d,scrollRatio:M,isScrollingUp:v,savedScroll:o}}function Yd(){const n=Kr(!1);return nl(()=>{window.requestAnimationFrame(()=>{n.value=!0})}),{ssrBootStyles:cn(()=>n.value?void 0:{transition:"none !important"}),isBooted:Vm(n)}}const Kj=cr({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},...PA(),...p0(),...Zj(),height:{type:[Number,String],default:64}},"VAppBar"),Jj=Er()({name:"VAppBar",props:Kj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Gr(),D=Ti(n,"modelValue"),x=cn(()=>{var l;const s=new Set(((l=n.scrollBehavior)==null?void 0:l.split(" "))??[]);return{hide:s.has("hide"),inverted:s.has("inverted"),collapse:s.has("collapse"),elevate:s.has("elevate"),fadeImage:s.has("fade-image")}}),o=cn(()=>{const s=x.value;return s.hide||s.inverted||s.collapse||s.elevate||s.fadeImage||!D.value}),{currentScroll:t,scrollThreshold:d,isScrollingUp:v,scrollRatio:i}=Xj(n,{canScroll:o}),M=cn(()=>n.collapse||x.value.collapse&&(x.value.inverted?i.value>0:i.value===0)),g=cn(()=>n.flat||x.value.elevate&&(x.value.inverted?t.value>0:t.value===0)),p=cn(()=>x.value.fadeImage?x.value.inverted?1-i.value:i.value:void 0),u=cn(()=>{var h,f;if(x.value.hide&&x.value.inverted)return 0;const s=((h=S.value)==null?void 0:h.contentHeight)??0,l=((f=S.value)==null?void 0:f.extensionHeight)??0;return s+l});Nh(cn(()=>!!n.scrollBehavior),()=>{wu(()=>{x.value.hide?x.value.inverted?D.value=t.value>d.value:D.value=v.value||t.valueparseInt(n.order,10)),position:Ir(n,"location"),layoutSize:u,elementSize:Kr(void 0),active:D,absolute:Ir(n,"absolute")});return Fr(()=>{const[s]=Ax.filterProps(n);return dt(Ax,Zr({ref:S,class:["v-app-bar",{"v-app-bar--bottom":n.location==="bottom"},n.class],style:[{...c.value,"--v-toolbar-image-opacity":p.value,height:void 0,...a.value},n.style]},s,{collapse:M.value,flat:g.value}),r)}),{}}});const Qj=[null,"default","comfortable","compact"],ms=cr({density:{type:String,default:"default",validator:n=>Qj.includes(n)}},"density");function il(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();return{densityClasses:cn(()=>`${e}--density-${n.density}`)}}const eU=["elevated","flat","tonal","outlined","text","plain"];function Zd(n,e){return dt(Xr,null,[n&&dt("span",{key:"overlay",class:`${e}__overlay`},null),dt("span",{key:"underlay",class:`${e}__underlay`},null)])}const rc=cr({color:String,variant:{type:String,default:"elevated",validator:n=>eU.includes(n)}},"variant");function Xd(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();const r=cn(()=>{const{variant:x}=gu(n);return`${e}--variant-${x}`}),{colorClasses:S,colorStyles:D}=z_(cn(()=>{const{variant:x,color:o}=gu(n);return{[["elevated","flat"].includes(x)?"background":"text"]:o}}));return{colorClasses:S,colorStyles:D,variantClasses:r}}const DA=cr({divided:Boolean,...Au(),...Jr(),...ms(),...ps(),...uo(),...Li(),...sa(),...rc()},"VBtnGroup"),Sx=Er()({name:"VBtnGroup",props:DA(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{densityClasses:D}=il(n),{borderClasses:x}=nc(n),{elevationClasses:o}=Ws(n),{roundedClasses:t}=Oo(n);is({VBtn:{height:"auto",color:Ir(n,"color"),density:Ir(n,"density"),flat:!0,variant:Ir(n,"variant")}}),Fr(()=>dt(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},S.value,x.value,D.value,o.value,t.value,n.class],style:n.style},r))}}),g0=cr({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),v0=cr({value:null,disabled:Boolean,selectedClass:String},"group-item");function y0(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const S=Es("useGroupItem");if(!S)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const D=rl();as(Symbol.for(`${e.description}:id`),D);const x=Sa(e,null);if(!x){if(!r)return x;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const o=Ir(n,"value"),t=cn(()=>!!(x.disabled.value||n.disabled));x.register({id:D,value:o,disabled:t},S),Sl(()=>{x.unregister(D)});const d=cn(()=>x.isSelected(D)),v=cn(()=>d.value&&[x.selectedClass.value,n.selectedClass]);return ei(d,i=>{S.emit("group:selected",{value:i})}),{id:D,isSelected:d,toggle:()=>x.select(D,!d.value),select:i=>x.select(D,i),selectedClass:v,value:o,disabled:t,group:x}}function Kd(n,e){let r=!1;const S=Tl([]),D=Ti(n,"modelValue",[],g=>g==null?[]:RA(S,bu(g)),g=>{const p=nU(S,g);return n.multiple?p:p[0]}),x=Es("useGroup");function o(g,p){const u=g,a=Symbol.for(`${e.description}:id`),s=pm(a,x==null?void 0:x.vnode).indexOf(p);s>-1?S.splice(s,0,u):S.push(u)}function t(g){if(r)return;d();const p=S.findIndex(u=>u.id===g);S.splice(p,1)}function d(){const g=S.find(p=>!p.disabled);g&&n.mandatory==="force"&&!D.value.length&&(D.value=[g.id])}nl(()=>{d()}),Sl(()=>{r=!0});function v(g,p){const u=S.find(a=>a.id===g);if(!(p&&(u!=null&&u.disabled)))if(n.multiple){const a=D.value.slice(),c=a.findIndex(l=>l===g),s=~c;if(p=p??!s,s&&n.mandatory&&a.length<=1||!s&&n.max!=null&&a.length+1>n.max)return;c<0&&p?a.push(g):c>=0&&!p&&a.splice(c,1),D.value=a}else{const a=D.value.includes(g);if(n.mandatory&&a)return;D.value=p??!a?[g]:[]}}function i(g){if(n.multiple,D.value.length){const p=D.value[0],u=S.findIndex(s=>s.id===p);let a=(u+g)%S.length,c=S[a];for(;c.disabled&&a!==u;)a=(a+g)%S.length,c=S[a];if(c.disabled)return;D.value=[S[a].id]}else{const p=S.find(u=>!u.disabled);p&&(D.value=[p.id])}}const M={register:o,unregister:t,selected:D,select:v,disabled:Ir(n,"disabled"),prev:()=>i(S.length-1),next:()=>i(1),isSelected:g=>D.value.includes(g),selectedClass:cn(()=>n.selectedClass),items:cn(()=>S),getItemIndex:g=>tU(S,g)};return as(e,M),M}function tU(n,e){const r=RA(n,[e]);return r.length?n.findIndex(S=>S.id===r[0]):-1}function RA(n,e){const r=[];return e.forEach(S=>{const D=n.find(o=>d0(S,o.value)),x=n[S];(D==null?void 0:D.value)!=null?r.push(D.id):x!=null&&r.push(x.id)}),r}function nU(n,e){const r=[];return e.forEach(S=>{const D=n.findIndex(x=>x.id===S);if(~D){const x=n[D];r.push(x.value!=null?x.value:D)}}),r}const F_=Symbol.for("vuetify:v-btn-toggle"),rU=cr({...DA(),...g0()},"VBtnToggle"),iU=Er()({name:"VBtnToggle",props:rU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:S,next:D,prev:x,select:o,selected:t}=Kd(n,F_);return Fr(()=>{const[d]=Sx.filterProps(n);return dt(Sx,Zr({class:["v-btn-toggle",n.class]},d,{style:n.style}),{default:()=>{var v;return[(v=r.default)==null?void 0:v.call(r,{isSelected:S,next:D,prev:x,select:o,selected:t})]}})}),{next:D,prev:x,select:o}}});const aU=["x-small","small","default","large","x-large"],lh=cr({size:{type:[String,Number],default:"default"}},"size");function b0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();return w_(()=>{let r,S;return ry(aU,n.size)?r=`${e}--size-${n.size}`:n.size&&(S={width:ii(n.size),height:ii(n.size)}),{sizeClasses:r,sizeStyles:S}})}const oU=cr({color:String,start:Boolean,end:Boolean,icon:wi,...Jr(),...lh(),...Li({tag:"i"}),...sa()},"VIcon"),Wa=Er()({name:"VIcon",props:oU(),setup(n,e){let{attrs:r,slots:S}=e;const D=Gr(),{themeClasses:x}=Ca(n),{iconData:o}=YV(cn(()=>D.value||n.icon)),{sizeClasses:t}=b0(n),{textColorClasses:d,textColorStyles:v}=tl(Ir(n,"color"));return Fr(()=>{var M,g;const i=(M=S.default)==null?void 0:M.call(S);return i&&(D.value=(g=eA(i).filter(p=>p.type===jm&&p.children&&typeof p.children=="string")[0])==null?void 0:g.children),dt(o.value.component,{tag:n.tag,icon:o.value.icon,class:["v-icon","notranslate",x.value,t.value,d.value,{"v-icon--clickable":!!r.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[t.value?void 0:{fontSize:ii(n.size),height:ii(n.size),width:ii(n.size)},v.value,n.style],role:r.onClick?"button":void 0,"aria-hidden":!r.onClick},{default:()=>[i]})}),{}}});function B_(n,e){const r=Gr(),S=Kr(!1);if(x_){const D=new IntersectionObserver(x=>{n==null||n(x,D),S.value=!!x.find(o=>o.isIntersecting)},e);Sl(()=>{D.disconnect()}),ei(r,(x,o)=>{o&&(D.unobserve(o),S.value=!1),x&&D.observe(x)},{flush:"post"})}return{intersectionRef:r,isIntersecting:S}}const sU=cr({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Jr(),...lh(),...Li({tag:"div"}),...sa()},"VProgressCircular"),N_=Er()({name:"VProgressCircular",props:sU(),setup(n,e){let{slots:r}=e;const S=20,D=2*Math.PI*S,x=Gr(),{themeClasses:o}=Ca(n),{sizeClasses:t,sizeStyles:d}=b0(n),{textColorClasses:v,textColorStyles:i}=tl(Ir(n,"color")),{textColorClasses:M,textColorStyles:g}=tl(Ir(n,"bgColor")),{intersectionRef:p,isIntersecting:u}=B_(),{resizeRef:a,contentRect:c}=gf(),s=cn(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),l=cn(()=>Number(n.width)),h=cn(()=>d.value?Number(n.size):c.value?c.value.width:Math.max(l.value,32)),f=cn(()=>S/(1-l.value/h.value)*2),m=cn(()=>l.value/h.value*f.value),_=cn(()=>ii((100-s.value)/100*D));return wu(()=>{p.value=x.value,a.value=x.value}),Fr(()=>dt(n.tag,{ref:x,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":u.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},o.value,t.value,v.value,n.class],style:[d.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:s.value},{default:()=>[dt("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${f.value} ${f.value}`},[dt("circle",{class:["v-progress-circular__underlay",M.value],style:g.value,fill:"transparent",cx:"50%",cy:"50%",r:S,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":0},null),dt("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:S,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":_.value},null)]),r.default&&dt("div",{class:"v-progress-circular__content"},[r.default({value:s.value})])]})),{}}});const RT={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Gh=cr({location:String},"location");function Wh(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const{isRtl:S}=Ls();return{locationStyles:cn(()=>{if(!n.location)return{};const{side:x,align:o}=gx(n.location.split(" ").length>1?n.location:`${n.location} center`,S.value);function t(v){return r?r(v):0}const d={};return x!=="center"&&(e?d[RT[x]]=`calc(100% - ${t(x)}px)`:d[x]=0),o!=="center"?e?d[RT[o]]=`calc(100% - ${t(o)}px)`:d[o]=0:(x==="center"?d.top=d.left="50%":d[{top:"left",bottom:"left",left:"top",right:"top"}[x]]="50%",d.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[x]),d})}}const lU=cr({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Jr(),...Gh({location:"top"}),...uo(),...Li(),...sa()},"VProgressLinear"),V_=Er()({name:"VProgressLinear",props:lU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),{isRtl:D,rtlClasses:x}=Ls(),{themeClasses:o}=Ca(n),{locationStyles:t}=Wh(n),{textColorClasses:d,textColorStyles:v}=tl(n,"color"),{backgroundColorClasses:i,backgroundColorStyles:M}=Fo(cn(()=>n.bgColor||n.color)),{backgroundColorClasses:g,backgroundColorStyles:p}=Fo(n,"color"),{roundedClasses:u}=Oo(n),{intersectionRef:a,isIntersecting:c}=B_(),s=cn(()=>parseInt(n.max,10)),l=cn(()=>parseInt(n.height,10)),h=cn(()=>parseFloat(n.bufferValue)/s.value*100),f=cn(()=>parseFloat(S.value)/s.value*100),m=cn(()=>D.value!==n.reverse),_=cn(()=>n.indeterminate?"fade-transition":"slide-x-transition"),y=cn(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function C(w){if(!a.value)return;const{left:k,right:E,width:T}=a.value.getBoundingClientRect(),A=m.value?T-w.clientX+(E-T):w.clientX-k;S.value=Math.round(A/T*s.value)}return Fr(()=>dt(n.tag,{ref:a,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&c.value,"v-progress-linear--reverse":m.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},u.value,o.value,x.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?ii(l.value):0,"--v-progress-linear-height":ii(l.value),...t.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:f.value,onClick:n.clickable&&C},{default:()=>[n.stream&&dt("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:{...v.value,[m.value?"left":"right"]:ii(-l.value),borderTop:`${ii(l.value/2)} dotted`,opacity:y.value,top:`calc(50% - ${ii(l.value/4)})`,width:ii(100-h.value,"%"),"--v-progress-linear-stream-to":ii(l.value*(m.value?1:-1))}},null),dt("div",{class:["v-progress-linear__background",i.value],style:[M.value,{opacity:y.value,width:ii(n.stream?h.value:100,"%")}]},null),dt(hf,{name:_.value},{default:()=>[n.indeterminate?dt("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(w=>dt("div",{key:w,class:["v-progress-linear__indeterminate",w,g.value],style:p.value},null))]):dt("div",{class:["v-progress-linear__determinate",g.value],style:[p.value,{width:ii(f.value,"%")}]},null)]}),r.default&&dt("div",{class:"v-progress-linear__content"},[r.default({value:f.value,buffer:h.value})])]})),{}}}),j_=cr({loading:[Boolean,String]},"loader");function o1(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();return{loaderClasses:cn(()=>({[`${e}--loading`]:n.loading}))}}function U_(n,e){var S;let{slots:r}=e;return dt("div",{class:`${n.name}__loader`},[((S=r.default)==null?void 0:S.call(r,{color:n.color,isActive:n.active}))||dt(V_,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const uU=["static","relative","fixed","absolute","sticky"],x0=cr({position:{type:String,validator:n=>uU.includes(n)}},"position");function _0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();return{positionClasses:cn(()=>n.position?`${e}--${n.position}`:void 0)}}function zA(){var n,e;return(e=(n=Es("useRouter"))==null?void 0:n.proxy)==null?void 0:e.$router}function cg(n,e){const r=o7("RouterLink"),S=cn(()=>!!(n.href||n.to)),D=cn(()=>(S==null?void 0:S.value)||sT(e,"click")||sT(n,"click"));if(typeof r=="string")return{isLink:S,isClickable:D,href:Ir(n,"href")};const x=n.to?r.useLink(n):void 0;return{isLink:S,isClickable:D,route:x==null?void 0:x.route,navigate:x==null?void 0:x.navigate,isActive:x&&cn(()=>{var o,t;return n.exact?(o=x.isExactActive)==null?void 0:o.value:(t=x.isActive)==null?void 0:t.value}),href:cn(()=>n.to?x==null?void 0:x.route.value.href:n.href)}}const fg=cr({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let Ob=!1;function cU(n,e){let r=!1,S,D;no&&(qa(()=>{window.addEventListener("popstate",x),S=n==null?void 0:n.beforeEach((o,t,d)=>{Ob?r?e(d):d():setTimeout(()=>r?e(d):d()),Ob=!0}),D=n==null?void 0:n.afterEach(()=>{Ob=!1})}),Al(()=>{window.removeEventListener("popstate",x),S==null||S(),D==null||D()}));function x(o){var t;(t=o.state)!=null&&t.replaced||(r=!0,setTimeout(()=>r=!1))}}function fU(n,e){ei(()=>{var r;return(r=n.isActive)==null?void 0:r.value},r=>{n.isLink.value&&r&&e&&qa(()=>{e(!0)})},{immediate:!0})}const Cx=Symbol("rippleStop"),hU=80;function zT(n,e){n.style.transform=e,n.style.webkitTransform=e}function Ex(n){return n.constructor.name==="TouchEvent"}function FA(n){return n.constructor.name==="KeyboardEvent"}const dU=function(n,e){var M;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},S=0,D=0;if(!FA(n)){const g=e.getBoundingClientRect(),p=Ex(n)?n.touches[n.touches.length-1]:n;S=p.clientX-g.left,D=p.clientY-g.top}let x=0,o=.3;(M=e._ripple)!=null&&M.circle?(o=.15,x=e.clientWidth/2,x=r.center?x:x+Math.sqrt((S-x)**2+(D-x)**2)/4):x=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const t=`${(e.clientWidth-x*2)/2}px`,d=`${(e.clientHeight-x*2)/2}px`,v=r.center?t:`${S-x}px`,i=r.center?d:`${D-x}px`;return{radius:x,scale:o,x:v,y:i,centerX:t,centerY:d}},ly={show(n,e){var p;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((p=e==null?void 0:e._ripple)!=null&&p.enabled))return;const S=document.createElement("span"),D=document.createElement("span");S.appendChild(D),S.className="v-ripple__container",r.class&&(S.className+=` ${r.class}`);const{radius:x,scale:o,x:t,y:d,centerX:v,centerY:i}=dU(n,e,r),M=`${x*2}px`;D.className="v-ripple__animation",D.style.width=M,D.style.height=M,e.appendChild(S);const g=window.getComputedStyle(e);g&&g.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),D.classList.add("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--visible"),zT(D,`translate(${t}, ${d}) scale3d(${o},${o},${o})`),D.dataset.activated=String(performance.now()),setTimeout(()=>{D.classList.remove("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--in"),zT(D,`translate(${v}, ${i}) scale3d(1,1,1)`)},0)},hide(n){var x;if(!((x=n==null?void 0:n._ripple)!=null&&x.enabled))return;const e=n.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const r=e[e.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const S=performance.now()-Number(r.dataset.activated),D=Math.max(250-S,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{var t;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((t=r.parentNode)==null?void 0:t.parentNode)===n&&n.removeChild(r.parentNode)},300)},D)}};function BA(n){return typeof n>"u"||!!n}function Rm(n){const e={},r=n.currentTarget;if(!(!(r!=null&&r._ripple)||r._ripple.touched||n[Cx])){if(n[Cx]=!0,Ex(n))r._ripple.touched=!0,r._ripple.isTouch=!0;else if(r._ripple.isTouch)return;if(e.center=r._ripple.centered||FA(n),r._ripple.class&&(e.class=r._ripple.class),Ex(n)){if(r._ripple.showTimerCommit)return;r._ripple.showTimerCommit=()=>{ly.show(n,r,e)},r._ripple.showTimer=window.setTimeout(()=>{var S;(S=r==null?void 0:r._ripple)!=null&&S.showTimerCommit&&(r._ripple.showTimerCommit(),r._ripple.showTimerCommit=null)},hU)}else ly.show(n,r,e)}}function FT(n){n[Cx]=!0}function mu(n){const e=n.currentTarget;if(e!=null&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),n.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{mu(n)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),ly.hide(e)}}function NA(n){const e=n.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let zm=!1;function VA(n){!zm&&(n.keyCode===rT.enter||n.keyCode===rT.space)&&(zm=!0,Rm(n))}function jA(n){zm=!1,mu(n)}function UA(n){zm&&(zm=!1,mu(n))}function HA(n,e,r){const{value:S,modifiers:D}=e,x=BA(S);if(x||ly.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=x,n._ripple.centered=D.center,n._ripple.circle=D.circle,dx(S)&&S.class&&(n._ripple.class=S.class),x&&!r){if(D.stop){n.addEventListener("touchstart",FT,{passive:!0}),n.addEventListener("mousedown",FT);return}n.addEventListener("touchstart",Rm,{passive:!0}),n.addEventListener("touchend",mu,{passive:!0}),n.addEventListener("touchmove",NA,{passive:!0}),n.addEventListener("touchcancel",mu),n.addEventListener("mousedown",Rm),n.addEventListener("mouseup",mu),n.addEventListener("mouseleave",mu),n.addEventListener("keydown",VA),n.addEventListener("keyup",jA),n.addEventListener("blur",UA),n.addEventListener("dragstart",mu,{passive:!0})}else!x&&r&&GA(n)}function GA(n){n.removeEventListener("mousedown",Rm),n.removeEventListener("touchstart",Rm),n.removeEventListener("touchend",mu),n.removeEventListener("touchmove",NA),n.removeEventListener("touchcancel",mu),n.removeEventListener("mouseup",mu),n.removeEventListener("mouseleave",mu),n.removeEventListener("keydown",VA),n.removeEventListener("keyup",jA),n.removeEventListener("dragstart",mu),n.removeEventListener("blur",UA)}function pU(n,e){HA(n,e,!1)}function mU(n){delete n._ripple,GA(n)}function gU(n,e){if(e.value===e.oldValue)return;const r=BA(e.oldValue);HA(n,e,r)}const qh={mounted:pU,unmounted:mU,updated:gU},H_=cr({active:{type:Boolean,default:void 0},symbol:{type:null,default:F_},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:wi,appendIcon:wi,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Au(),...Jr(),...ms(),...ec(),...ps(),...v0(),...j_(),...Gh(),...x0(),...uo(),...fg(),...lh(),...Li({tag:"button"}),...sa(),...rc({variant:"elevated"})},"VBtn"),Ml=Er()({name:"VBtn",directives:{Ripple:qh},props:H_(),emits:{"group:selected":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const{themeClasses:D}=Ca(n),{borderClasses:x}=nc(n),{colorClasses:o,colorStyles:t,variantClasses:d}=Xd(n),{densityClasses:v}=il(n),{dimensionStyles:i}=tc(n),{elevationClasses:M}=Ws(n),{loaderClasses:g}=o1(n),{locationStyles:p}=Wh(n),{positionClasses:u}=_0(n),{roundedClasses:a}=Oo(n),{sizeClasses:c,sizeStyles:s}=b0(n),l=y0(n,n.symbol,!1),h=cg(n,r),f=cn(()=>{var w;return n.active!==void 0?n.active:h.isLink.value?(w=h.isActive)==null?void 0:w.value:l==null?void 0:l.isSelected.value}),m=cn(()=>(l==null?void 0:l.disabled.value)||n.disabled),_=cn(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),y=cn(()=>{if(n.value!==void 0)return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function C(w){var k;m.value||h.isLink.value&&(w.metaKey||w.ctrlKey||w.shiftKey||w.button!==0||r.target==="_blank")||((k=h.navigate)==null||k.call(h,w),l==null||l.toggle())}return fU(h,l==null?void 0:l.select),Fr(()=>{var L,b;const w=h.isLink.value?"a":n.tag,k=!!(n.prependIcon||S.prepend),E=!!(n.appendIcon||S.append),T=!!(n.icon&&n.icon!==!0),A=(l==null?void 0:l.isSelected.value)&&(!h.isLink.value||((L=h.isActive)==null?void 0:L.value))||!l||((b=h.isActive)==null?void 0:b.value);return Lo(dt(w,{type:w==="a"?void 0:"button",class:["v-btn",l==null?void 0:l.selectedClass.value,{"v-btn--active":f.value,"v-btn--block":n.block,"v-btn--disabled":m.value,"v-btn--elevated":_.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--stacked":n.stacked},D.value,x.value,A?o.value:void 0,v.value,M.value,g.value,u.value,a.value,c.value,d.value,n.class],style:[A?t.value:void 0,i.value,p.value,s.value,n.style],disabled:m.value||void 0,href:h.href.value,onClick:C,value:y.value},{default:()=>{var O;return[Zd(!0,"v-btn"),!n.icon&&k&&dt("span",{key:"prepend",class:"v-btn__prepend"},[S.prepend?dt(Va,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},S.prepend):dt(Wa,{key:"prepend-icon",icon:n.prependIcon},null)]),dt("span",{class:"v-btn__content","data-no-activator":""},[!S.default&&T?dt(Wa,{key:"content-icon",icon:n.icon},null):dt(Va,{key:"content-defaults",disabled:!T,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var I;return[((I=S.default)==null?void 0:I.call(S))??n.text]}})]),!n.icon&&E&&dt("span",{key:"append",class:"v-btn__append"},[S.append?dt(Va,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},S.append):dt(Wa,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&&dt("span",{key:"loader",class:"v-btn__loader"},[((O=S.loader)==null?void 0:O.call(S))??dt(N_,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Tu("ripple"),!m.value&&n.ripple,null]])}),{}}}),vU=cr({...H_({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),yU=Er()({name:"VAppBarNavIcon",props:vU(),setup(n,e){let{slots:r}=e;return Fr(()=>dt(Ml,Zr(n,{class:["v-app-bar-nav-icon"]}),r)),{}}}),bU=Er()({name:"VAppBarTitle",props:SA(),setup(n,e){let{slots:r}=e;return Fr(()=>dt(O_,Zr(n,{class:"v-app-bar-title"}),r)),{}}});const WA=Nc("v-alert-title"),xU=["success","info","warning","error"],_U=cr({border:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["top","end","bottom","start"].includes(n)},borderColor:String,closable:Boolean,closeIcon:{type:wi,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:n=>xU.includes(n)},...Jr(),...ms(),...ec(),...ps(),...Gh(),...x0(),...uo(),...Li(),...sa(),...rc({variant:"flat"})},"VAlert"),wU=Er()({name:"VAlert",props:_U(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{emit:r,slots:S}=e;const D=Ti(n,"modelValue"),x=cn(()=>{if(n.icon!==!1)return n.type?n.icon??`$${n.type}`:n.icon}),o=cn(()=>({color:n.color??n.type,variant:n.variant})),{themeClasses:t}=Ca(n),{colorClasses:d,colorStyles:v,variantClasses:i}=Xd(o),{densityClasses:M}=il(n),{dimensionStyles:g}=tc(n),{elevationClasses:p}=Ws(n),{locationStyles:u}=Wh(n),{positionClasses:a}=_0(n),{roundedClasses:c}=Oo(n),{textColorClasses:s,textColorStyles:l}=tl(Ir(n,"borderColor")),{t:h}=Qu(),f=cn(()=>({"aria-label":h(n.closeLabel),onClick(m){D.value=!1,r("click:close",m)}}));return()=>{const m=!!(S.prepend||x.value),_=!!(S.title||n.title),y=!!(S.close||n.closable);return D.value&&dt(n.tag,{class:["v-alert",n.border&&{"v-alert--border":!!n.border,[`v-alert--border-${n.border===!0?"start":n.border}`]:!0},{"v-alert--prominent":n.prominent},t.value,d.value,M.value,p.value,a.value,c.value,i.value,n.class],style:[v.value,g.value,u.value,n.style],role:"alert"},{default:()=>{var C,w;return[Zd(!1,"v-alert"),n.border&&dt("div",{key:"border",class:["v-alert__border",s.value],style:l.value},null),m&&dt("div",{key:"prepend",class:"v-alert__prepend"},[S.prepend?dt(Va,{key:"prepend-defaults",disabled:!x.value,defaults:{VIcon:{density:n.density,icon:x.value,size:n.prominent?44:28}}},S.prepend):dt(Wa,{key:"prepend-icon",density:n.density,icon:x.value,size:n.prominent?44:28},null)]),dt("div",{class:"v-alert__content"},[_&&dt(WA,{key:"title"},{default:()=>{var k;return[((k=S.title)==null?void 0:k.call(S))??n.title]}}),((C=S.text)==null?void 0:C.call(S))??n.text,(w=S.default)==null?void 0:w.call(S)]),S.append&&dt("div",{key:"append",class:"v-alert__append"},[S.append()]),y&&dt("div",{key:"close",class:"v-alert__close"},[S.close?dt(Va,{key:"close-defaults",defaults:{VBtn:{icon:n.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var k;return[(k=S.close)==null?void 0:k.call(S,{props:f.value})]}}):dt(Ml,Zr({key:"close-btn",icon:n.closeIcon,size:"x-small",variant:"text"},f.value),null)])]}})}}});const TU=cr({text:String,clickable:Boolean,...Jr(),...sa()},"VLabel"),w0=Er()({name:"VLabel",props:TU(),setup(n,e){let{slots:r}=e;return Fr(()=>{var S;return dt("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(S=r.default)==null?void 0:S.call(r)])}),{}}});const qA=Symbol.for("vuetify:selection-control-group"),G_=cr({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:wi,trueIcon:wi,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:d0},...Jr(),...ms(),...sa()},"SelectionControlGroup"),kU=cr({...G_({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),$A=Er()({name:"VSelectionControlGroup",props:kU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),D=rl(),x=cn(()=>n.id||`v-selection-control-group-${D}`),o=cn(()=>n.name||x.value),t=new Set;return as(qA,{modelValue:S,forceUpdate:()=>{t.forEach(d=>d())},onForceUpdate:d=>{t.add(d),Al(()=>{t.delete(d)})}}),is({[n.defaultsTarget]:{color:Ir(n,"color"),disabled:Ir(n,"disabled"),density:Ir(n,"density"),error:Ir(n,"error"),inline:Ir(n,"inline"),modelValue:S,multiple:cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(S.value)),name:o,falseIcon:Ir(n,"falseIcon"),trueIcon:Ir(n,"trueIcon"),readonly:Ir(n,"readonly"),ripple:Ir(n,"ripple"),type:Ir(n,"type"),valueComparator:Ir(n,"valueComparator")}}),Fr(()=>{var d;return dt("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(d=r.default)==null?void 0:d.call(r)])}),{}}}),s1=cr({label:String,trueValue:null,falseValue:null,value:null,...Jr(),...G_()},"VSelectionControl");function MU(n){const e=Sa(qA,void 0),{densityClasses:r}=il(n),S=Ti(n,"modelValue"),D=cn(()=>n.trueValue!==void 0?n.trueValue:n.value!==void 0?n.value:!0),x=cn(()=>n.falseValue!==void 0?n.falseValue:!1),o=cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(S.value)),t=cn({get(){const p=e?e.modelValue.value:S.value;return o.value?p.some(u=>n.valueComparator(u,D.value)):n.valueComparator(p,D.value)},set(p){if(n.readonly)return;const u=p?D.value:x.value;let a=u;o.value&&(a=p?[...bu(S.value),u]:bu(S.value).filter(c=>!n.valueComparator(c,D.value))),e?e.modelValue.value=a:S.value=a}}),{textColorClasses:d,textColorStyles:v}=tl(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),{backgroundColorClasses:i,backgroundColorStyles:M}=Fo(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),g=cn(()=>t.value?n.trueIcon:n.falseIcon);return{group:e,densityClasses:r,trueValue:D,falseValue:x,model:t,textColorClasses:d,textColorStyles:v,backgroundColorClasses:i,backgroundColorStyles:M,icon:g}}const Nd=Er()({name:"VSelectionControl",directives:{Ripple:qh},inheritAttrs:!1,props:s1(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const{group:D,densityClasses:x,icon:o,model:t,textColorClasses:d,textColorStyles:v,backgroundColorClasses:i,backgroundColorStyles:M,trueValue:g}=MU(n),p=rl(),u=cn(()=>n.id||`input-${p}`),a=Kr(!1),c=Kr(!1),s=Gr();D==null||D.onForceUpdate(()=>{s.value&&(s.value.checked=t.value)});function l(m){a.value=!0,n0(m.target,":focus-visible")!==!1&&(c.value=!0)}function h(){a.value=!1,c.value=!1}function f(m){n.readonly&&D&&qa(()=>D.forceUpdate()),t.value=m.target.checked}return Fr(()=>{var w,k;const m=S.label?S.label({label:n.label,props:{for:u.value}}):n.label,[_,y]=qd(r),C=dt("input",Zr({ref:s,checked:t.value,disabled:!!(n.readonly||n.disabled),id:u.value,onBlur:h,onFocus:l,onInput:f,"aria-disabled":!!(n.readonly||n.disabled),type:n.type,value:g.value,name:n.name,"aria-checked":n.type==="checkbox"?t.value:void 0},y),null);return dt("div",Zr({class:["v-selection-control",{"v-selection-control--dirty":t.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":a.value,"v-selection-control--focus-visible":c.value,"v-selection-control--inline":n.inline},x.value,n.class]},_,{style:n.style}),[dt("div",{class:["v-selection-control__wrapper",d.value],style:v.value},[(w=S.default)==null?void 0:w.call(S,{backgroundColorClasses:i,backgroundColorStyles:M}),Lo(dt("div",{class:["v-selection-control__input"]},[((k=S.input)==null?void 0:k.call(S,{model:t,textColorClasses:d,textColorStyles:v,backgroundColorClasses:i,backgroundColorStyles:M,inputNode:C,icon:o.value,props:{onFocus:l,onBlur:h,id:u.value}}))??dt(Xr,null,[o.value&&dt(Wa,{key:"icon",icon:o.value},null),C])]),[[Tu("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),m&&dt(w0,{for:u.value,clickable:!0,onClick:E=>E.stopPropagation()},{default:()=>[m]})])}),{isFocused:a,input:s}}}),YA=cr({indeterminate:Boolean,indeterminateIcon:{type:wi,default:"$checkboxIndeterminate"},...s1({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),a0=Er()({name:"VCheckboxBtn",props:YA(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"indeterminate"),D=Ti(n,"modelValue");function x(d){S.value&&(S.value=!1)}const o=cn(()=>S.value?n.indeterminateIcon:n.falseIcon),t=cn(()=>S.value?n.indeterminateIcon:n.trueIcon);return Fr(()=>{const d=Ku(Nd.filterProps(n)[0],["modelValue"]);return dt(Nd,Zr(d,{modelValue:D.value,"onUpdate:modelValue":[v=>D.value=v,x],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:o.value,trueIcon:t.value,"aria-checked":S.value?"mixed":void 0}),r)}),{}}});function ZA(n){const{t:e}=Qu();function r(S){let{name:D}=S;const x={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[D],o=n[`onClick:${D}`],t=o&&x?e(`$vuetify.input.${x}`,n.label??""):void 0;return dt(Wa,{icon:n[`${D}Icon`],"aria-label":t,onClick:o},null)}return{InputIcon:r}}const AU=cr({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Jr(),...sh({transition:{component:D_,leaveAbsolute:!0,group:!0}})},"VMessages"),XA=Er()({name:"VMessages",props:AU(),setup(n,e){let{slots:r}=e;const S=cn(()=>bu(n.messages)),{textColorClasses:D,textColorStyles:x}=tl(cn(()=>n.color));return Fr(()=>dt(Ec,{transition:n.transition,tag:"div",class:["v-messages",D.value,n.class],style:[x.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&S.value.map((o,t)=>dt("div",{class:"v-messages__message",key:`${t}-${S.value}`},[r.message?r.message({message:o}):o]))]})),{}}}),l1=cr({focused:Boolean,"onUpdate:focused":ff()},"focus");function $h(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh();const r=Ti(n,"focused"),S=cn(()=>({[`${e}--focused`]:r.value}));function D(){r.value=!0}function x(){r.value=!1}return{focusClasses:S,isFocused:r,focus:D,blur:x}}const KA=Symbol.for("vuetify:form"),SU=cr({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function CU(n){const e=Ti(n,"modelValue"),r=cn(()=>n.disabled),S=cn(()=>n.readonly),D=Kr(!1),x=Gr([]),o=Gr([]);async function t(){const i=[];let M=!0;o.value=[],D.value=!0;for(const g of x.value){const p=await g.validate();if(p.length>0&&(M=!1,i.push({id:g.id,errorMessages:p})),!M&&n.fastFail)break}return o.value=i,D.value=!1,{valid:M,errors:o.value}}function d(){x.value.forEach(i=>i.reset())}function v(){x.value.forEach(i=>i.resetValidation())}return ei(x,()=>{let i=0,M=0;const g=[];for(const p of x.value)p.isValid===!1?(M++,g.push({id:p.id,errorMessages:p.errorMessages})):p.isValid===!0&&i++;o.value=g,e.value=M>0?!1:i===x.value.length?!0:null},{deep:!0}),as(KA,{register:i=>{let{id:M,validate:g,reset:p,resetValidation:u}=i;x.value.some(a=>a.id===M),x.value.push({id:M,validate:g,reset:p,resetValidation:u,isValid:null,errorMessages:[]})},unregister:i=>{x.value=x.value.filter(M=>M.id!==i)},update:(i,M,g)=>{const p=x.value.find(u=>u.id===i);p&&(p.isValid=M,p.errorMessages=g)},isDisabled:r,isReadonly:S,isValidating:D,isValid:e,items:x,validateOn:Ir(n,"validateOn")}),{errors:o,isDisabled:r,isReadonly:S,isValidating:D,isValid:e,items:x,validate:t,reset:d,resetValidation:v}}function u1(){return Sa(KA,null)}const JA=cr({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...l1()},"validation");function QA(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oh(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:rl();const S=Ti(n,"modelValue"),D=cn(()=>n.validationValue===void 0?S.value:n.validationValue),x=u1(),o=Gr([]),t=Kr(!0),d=cn(()=>!!(bu(S.value===""?null:S.value).length||bu(D.value===""?null:D.value).length)),v=cn(()=>!!(n.disabled??(x==null?void 0:x.isDisabled.value))),i=cn(()=>!!(n.readonly??(x==null?void 0:x.isReadonly.value))),M=cn(()=>n.errorMessages.length?bu(n.errorMessages).slice(0,Math.max(0,+n.maxErrors)):o.value),g=cn(()=>{let f=(n.validateOn??(x==null?void 0:x.validateOn.value))||"input";f==="lazy"&&(f="input lazy");const m=new Set((f==null?void 0:f.split(" "))??[]);return{blur:m.has("blur")||m.has("input"),input:m.has("input"),submit:m.has("submit"),lazy:m.has("lazy")}}),p=cn(()=>n.error||n.errorMessages.length?!1:n.rules.length?t.value?o.value.length||g.value.lazy?null:!0:!o.value.length:!0),u=Kr(!1),a=cn(()=>({[`${e}--error`]:p.value===!1,[`${e}--dirty`]:d.value,[`${e}--disabled`]:v.value,[`${e}--readonly`]:i.value})),c=cn(()=>n.name??gu(r));xy(()=>{x==null||x.register({id:c.value,validate:h,reset:s,resetValidation:l})}),Sl(()=>{x==null||x.unregister(c.value)}),nl(async()=>{g.value.lazy||await h(!0),x==null||x.update(c.value,p.value,M.value)}),Nh(()=>g.value.input,()=>{ei(D,()=>{if(D.value!=null)h();else if(n.focused){const f=ei(()=>n.focused,m=>{m||h(),f()})}})}),Nh(()=>g.value.blur,()=>{ei(()=>n.focused,f=>{f||h()})}),ei(p,()=>{x==null||x.update(c.value,p.value,M.value)});function s(){S.value=null,qa(l)}function l(){t.value=!0,g.value.lazy?o.value=[]:h(!0)}async function h(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const m=[];u.value=!0;for(const _ of n.rules){if(m.length>=+(n.maxErrors??1))break;const C=await(typeof _=="function"?_:()=>_)(D.value);if(C!==!0){if(C!==!1&&typeof C!="string"){console.warn(`${C} is not a valid value. Rule functions must return boolean true or a string.`);continue}m.push(C||"")}}return o.value=m,u.value=!1,t.value=f,o.value}return{errorMessages:M,isDirty:d,isDisabled:v,isReadonly:i,isPristine:t,isValid:p,isValidating:u,reset:s,resetValidation:l,validate:h,validationClasses:a}}const uh=cr({id:String,appendIcon:wi,centerAffix:{type:Boolean,default:!0},prependIcon:wi,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":ff(),"onClick:append":ff(),...Jr(),...ms(),...JA()},"VInput"),Gs=Er()({name:"VInput",props:{...uh()},emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:S,emit:D}=e;const{densityClasses:x}=il(n),{rtlClasses:o}=Ls(),{InputIcon:t}=ZA(n),d=rl(),v=cn(()=>n.id||`input-${d}`),i=cn(()=>`${v.value}-messages`),{errorMessages:M,isDirty:g,isDisabled:p,isReadonly:u,isPristine:a,isValid:c,isValidating:s,reset:l,resetValidation:h,validate:f,validationClasses:m}=QA(n,"v-input",v),_=cn(()=>({id:v,messagesId:i,isDirty:g,isDisabled:p,isReadonly:u,isPristine:a,isValid:c,isValidating:s,reset:l,resetValidation:h,validate:f})),y=cn(()=>{var C;return(C=n.errorMessages)!=null&&C.length||!a.value&&M.value.length?M.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return Fr(()=>{var T,A,L,b;const C=!!(S.prepend||n.prependIcon),w=!!(S.append||n.appendIcon),k=y.value.length>0,E=!n.hideDetails||n.hideDetails==="auto"&&(k||!!S.details);return dt("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix},x.value,o.value,m.value,n.class],style:n.style},[C&&dt("div",{key:"prepend",class:"v-input__prepend"},[(T=S.prepend)==null?void 0:T.call(S,_.value),n.prependIcon&&dt(t,{key:"prepend-icon",name:"prepend"},null)]),S.default&&dt("div",{class:"v-input__control"},[(A=S.default)==null?void 0:A.call(S,_.value)]),w&&dt("div",{key:"append",class:"v-input__append"},[n.appendIcon&&dt(t,{key:"append-icon",name:"append"},null),(L=S.append)==null?void 0:L.call(S,_.value)]),E&&dt("div",{class:"v-input__details"},[dt(XA,{id:i.value,active:k,messages:y.value},{message:S.message}),(b=S.details)==null?void 0:b.call(S,_.value)])])}),{reset:l,resetValidation:h,validate:f}}}),EU=cr({...uh(),...Ku(YA(),["inline"])},"VCheckbox"),LU=Er()({name:"VCheckbox",inheritAttrs:!1,props:EU(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const D=Ti(n,"modelValue"),{isFocused:x,focus:o,blur:t}=$h(n),d=rl(),v=cn(()=>n.id||`checkbox-${d}`);return Fr(()=>{const[i,M]=qd(r),[g,p]=Gs.filterProps(n),[u,a]=a0.filterProps(n);return dt(Gs,Zr({class:["v-checkbox",n.class]},i,g,{modelValue:D.value,"onUpdate:modelValue":c=>D.value=c,id:v.value,focused:x.value,style:n.style}),{...S,default:c=>{let{id:s,messagesId:l,isDisabled:h,isReadonly:f}=c;return dt(a0,Zr(u,{id:s.value,"aria-describedby":l.value,disabled:h.value,readonly:f.value},M,{modelValue:D.value,"onUpdate:modelValue":m=>D.value=m,onFocus:o,onBlur:t}),S)}})}),{}}});const IU=cr({start:Boolean,end:Boolean,icon:wi,image:String,...Jr(),...ms(),...uo(),...lh(),...Li(),...sa(),...rc({variant:"flat"})},"VAvatar"),Vh=Er()({name:"VAvatar",props:IU(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{colorClasses:D,colorStyles:x,variantClasses:o}=Xd(n),{densityClasses:t}=il(n),{roundedClasses:d}=Oo(n),{sizeClasses:v,sizeStyles:i}=b0(n);return Fr(()=>dt(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},S.value,D.value,t.value,d.value,v.value,o.value,n.class],style:[x.value,i.value,n.style]},{default:()=>{var M;return[n.image?dt(Bd,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?dt(Wa,{key:"icon",icon:n.icon},null):(M=r.default)==null?void 0:M.call(r),Zd(!1,"v-avatar")]}})),{}}});const eS=Symbol.for("vuetify:v-chip-group"),OU=cr({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:d0},...Jr(),...g0({selectedClass:"v-chip--selected"}),...Li(),...sa(),...rc({variant:"tonal"})},"VChipGroup"),PU=Er()({name:"VChipGroup",props:OU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{isSelected:D,select:x,next:o,prev:t,selected:d}=Kd(n,eS);return is({VChip:{color:Ir(n,"color"),disabled:Ir(n,"disabled"),filter:Ir(n,"filter"),variant:Ir(n,"variant")}}),Fr(()=>dt(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},S.value,n.class],style:n.style},{default:()=>{var v;return[(v=r.default)==null?void 0:v.call(r,{isSelected:D,select:x,next:o,prev:t,selected:d.value})]}})),{}}}),DU=cr({activeClass:String,appendAvatar:String,appendIcon:wi,closable:Boolean,closeIcon:{type:wi,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:wi,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:ff(),onClickOnce:ff(),...Au(),...Jr(),...ms(),...ps(),...v0(),...uo(),...fg(),...lh(),...Li({tag:"span"}),...sa(),...rc({variant:"tonal"})},"VChip"),hg=Er()({name:"VChip",directives:{Ripple:qh},props:DU(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{t:x}=Qu(),{borderClasses:o}=nc(n),{colorClasses:t,colorStyles:d,variantClasses:v}=Xd(n),{densityClasses:i}=il(n),{elevationClasses:M}=Ws(n),{roundedClasses:g}=Oo(n),{sizeClasses:p}=b0(n),{themeClasses:u}=Ca(n),a=Ti(n,"modelValue"),c=y0(n,eS,!1),s=cg(n,r),l=cn(()=>n.link!==!1&&s.isLink.value),h=cn(()=>!n.disabled&&n.link!==!1&&(!!c||n.link||s.isClickable.value)),f=cn(()=>({"aria-label":x(n.closeLabel),onClick(y){y.stopPropagation(),a.value=!1,S("click:close",y)}}));function m(y){var C;S("click",y),h.value&&((C=s.navigate)==null||C.call(s,y),c==null||c.toggle())}function _(y){(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),m(y))}return()=>{const y=s.isLink.value?"a":n.tag,C=!!(n.appendIcon||n.appendAvatar),w=!!(C||D.append),k=!!(D.close||n.closable),E=!!(D.filter||n.filter)&&c,T=!!(n.prependIcon||n.prependAvatar),A=!!(T||D.prepend),L=!c||c.isSelected.value;return a.value&&Lo(dt(y,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":h.value,"v-chip--filter":E,"v-chip--pill":n.pill},u.value,o.value,L?t.value:void 0,i.value,M.value,g.value,p.value,v.value,c==null?void 0:c.selectedClass.value,n.class],style:[L?d.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:s.href.value,tabindex:h.value?0:void 0,onClick:m,onKeydown:h.value&&!l.value&&_},{default:()=>{var b;return[Zd(h.value,"v-chip"),E&&dt(R_,{key:"filter"},{default:()=>[Lo(dt("div",{class:"v-chip__filter"},[D.filter?dt(Va,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},D.filter):dt(Wa,{key:"filter-icon",icon:n.filterIcon},null)]),[[vf,c.isSelected.value]])]}),A&&dt("div",{key:"prepend",class:"v-chip__prepend"},[D.prepend?dt(Va,{key:"prepend-defaults",disabled:!T,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},D.prepend):dt(Xr,null,[n.prependIcon&&dt(Wa,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&&dt(Vh,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),dt("div",{class:"v-chip__content"},[((b=D.default)==null?void 0:b.call(D,{isSelected:c==null?void 0:c.isSelected.value,selectedClass:c==null?void 0:c.selectedClass.value,select:c==null?void 0:c.select,toggle:c==null?void 0:c.toggle,value:c==null?void 0:c.value.value,disabled:n.disabled}))??n.text]),w&&dt("div",{key:"append",class:"v-chip__append"},[D.append?dt(Va,{key:"append-defaults",disabled:!C,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},D.append):dt(Xr,null,[n.appendIcon&&dt(Wa,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&&dt(Vh,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),k&&dt("div",Zr({key:"close",class:"v-chip__close"},f.value),[D.close?dt(Va,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},D.close):dt(Wa,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[Tu("ripple"),h.value&&n.ripple,null]])}}});const Lx=Symbol.for("vuetify:list");function tS(){const n=Sa(Lx,{hasPrepend:Kr(!1),updateHasPrepend:()=>null}),e={hasPrepend:Kr(!1),updateHasPrepend:r=>{r&&(e.hasPrepend.value=r)}};return as(Lx,e),n}function nS(){return Sa(Lx,null)}const RU={open:n=>{let{id:e,value:r,opened:S,parents:D}=n;if(r){const x=new Set;x.add(e);let o=D.get(e);for(;o!=null;)x.add(o),o=D.get(o);return x}else return S.delete(e),S},select:()=>null},rS={open:n=>{let{id:e,value:r,opened:S,parents:D}=n;if(r){let x=D.get(e);for(S.add(e);x!=null&&x!==e;)S.add(x),x=D.get(x);return S}else S.delete(e);return S},select:()=>null},zU={open:rS.open,select:n=>{let{id:e,value:r,opened:S,parents:D}=n;if(!r)return S;const x=[];let o=D.get(e);for(;o!=null;)x.push(o),o=D.get(o);return new Set(x)}},W_=n=>{const e={select:r=>{let{id:S,value:D,selected:x}=r;if(S=Ii(S),n&&!D){const o=Array.from(x.entries()).reduce((t,d)=>{let[v,i]=d;return i==="on"?[...t,v]:t},[]);if(o.length===1&&o[0]===S)return x}return x.set(S,D?"on":"off"),x},in:(r,S,D)=>{let x=new Map;for(const o of r||[])x=e.select({id:o,value:!0,selected:new Map(x),children:S,parents:D});return x},out:r=>{const S=[];for(const[D,x]of r.entries())x==="on"&&S.push(D);return S}};return e},iS=n=>{const e=W_(n);return{select:S=>{let{selected:D,id:x,...o}=S;x=Ii(x);const t=D.has(x)?new Map([[x,D.get(x)]]):new Map;return e.select({...o,id:x,selected:t})},in:(S,D,x)=>{let o=new Map;return S!=null&&S.length&&(o=e.in(S.slice(0,1),D,x)),o},out:(S,D,x)=>e.out(S,D,x)}},FU=n=>{const e=W_(n);return{select:S=>{let{id:D,selected:x,children:o,...t}=S;return D=Ii(D),o.has(D)?x:e.select({id:D,selected:x,children:o,...t})},in:e.in,out:e.out}},BU=n=>{const e=iS(n);return{select:S=>{let{id:D,selected:x,children:o,...t}=S;return D=Ii(D),o.has(D)?x:e.select({id:D,selected:x,children:o,...t})},in:e.in,out:e.out}},NU=n=>{const e={select:r=>{let{id:S,value:D,selected:x,children:o,parents:t}=r;S=Ii(S);const d=new Map(x),v=[S];for(;v.length;){const M=v.shift();x.set(M,D?"on":"off"),o.has(M)&&v.push(...o.get(M))}let i=t.get(S);for(;i;){const M=o.get(i),g=M.every(u=>x.get(u)==="on"),p=M.every(u=>!x.has(u)||x.get(u)==="off");x.set(i,g?"on":p?"off":"indeterminate"),i=t.get(i)}return n&&!D&&Array.from(x.entries()).reduce((g,p)=>{let[u,a]=p;return a==="on"?[...g,u]:g},[]).length===0?d:x},in:(r,S,D)=>{let x=new Map;for(const o of r||[])x=e.select({id:o,value:!0,selected:new Map(x),children:S,parents:D});return x},out:(r,S)=>{const D=[];for(const[x,o]of r.entries())o==="on"&&!S.has(x)&&D.push(x);return D}};return e},Fm=Symbol.for("vuetify:nested"),aS={id:Kr(),root:{register:()=>null,unregister:()=>null,parents:Gr(new Map),children:Gr(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:Gr(new Set),selected:Gr(new Map),selectedValues:Gr([])}},VU=cr({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),jU=n=>{let e=!1;const r=Gr(new Map),S=Gr(new Map),D=Ti(n,"opened",n.opened,M=>new Set(M),M=>[...M.values()]),x=cn(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return BU(n.mandatory);case"leaf":return FU(n.mandatory);case"independent":return W_(n.mandatory);case"single-independent":return iS(n.mandatory);case"classic":default:return NU(n.mandatory)}}),o=cn(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return zU;case"single":return RU;case"multiple":default:return rS}}),t=Ti(n,"selected",n.selected,M=>x.value.in(M,r.value,S.value),M=>x.value.out(M,r.value,S.value));Sl(()=>{e=!0});function d(M){const g=[];let p=M;for(;p!=null;)g.unshift(p),p=S.value.get(p);return g}const v=Es("nested"),i={id:Kr(),root:{opened:D,selected:t,selectedValues:cn(()=>{const M=[];for(const[g,p]of t.value.entries())p==="on"&&M.push(g);return M}),register:(M,g,p)=>{g&&M!==g&&S.value.set(M,g),p&&r.value.set(M,[]),g!=null&&r.value.set(g,[...r.value.get(g)||[],M])},unregister:M=>{if(e)return;r.value.delete(M);const g=S.value.get(M);if(g){const p=r.value.get(g)??[];r.value.set(g,p.filter(u=>u!==M))}S.value.delete(M),D.value.delete(M)},open:(M,g,p)=>{v.emit("click:open",{id:M,value:g,path:d(M),event:p});const u=o.value.open({id:M,value:g,opened:new Set(D.value),children:r.value,parents:S.value,event:p});u&&(D.value=u)},openOnSelect:(M,g,p)=>{const u=o.value.select({id:M,value:g,selected:new Map(t.value),opened:new Set(D.value),children:r.value,parents:S.value,event:p});u&&(D.value=u)},select:(M,g,p)=>{v.emit("click:select",{id:M,value:g,path:d(M),event:p});const u=x.value.select({id:M,value:g,selected:new Map(t.value),children:r.value,parents:S.value,event:p});u&&(t.value=u),i.root.openOnSelect(M,g,p)},children:r,parents:S}};return as(Fm,i),i.root},oS=(n,e)=>{const r=Sa(Fm,aS),S=Symbol(rl()),D=cn(()=>n.value!==void 0?n.value:S),x={...r,id:D,open:(o,t)=>r.root.open(D.value,o,t),openOnSelect:(o,t)=>r.root.openOnSelect(D.value,o,t),isOpen:cn(()=>r.root.opened.value.has(D.value)),parent:cn(()=>r.root.parents.value.get(D.value)),select:(o,t)=>r.root.select(D.value,o,t),isSelected:cn(()=>r.root.selected.value.get(Ii(D.value))==="on"),isIndeterminate:cn(()=>r.root.selected.value.get(D.value)==="indeterminate"),isLeaf:cn(()=>!r.root.children.value.get(D.value)),isGroupActivator:r.isGroupActivator};return!r.isGroupActivator&&r.root.register(D.value,r.id.value,e),Sl(()=>{!r.isGroupActivator&&r.root.unregister(D.value)}),e&&as(Fm,x),x},UU=()=>{const n=Sa(Fm,aS);as(Fm,{...n,isGroupActivator:!0})},HU=Ju({name:"VListGroupActivator",setup(n,e){let{slots:r}=e;return UU(),()=>{var S;return(S=r.default)==null?void 0:S.call(r)}}}),GU=cr({activeColor:String,baseColor:String,color:String,collapseIcon:{type:wi,default:"$collapse"},expandIcon:{type:wi,default:"$expand"},prependIcon:wi,appendIcon:wi,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Jr(),...Li()},"VListGroup"),Ix=Er()({name:"VListGroup",props:GU(),setup(n,e){let{slots:r}=e;const{isOpen:S,open:D,id:x}=oS(Ir(n,"value"),!0),o=cn(()=>`v-list-group--id-${String(x.value)}`),t=nS(),{isBooted:d}=Yd();function v(p){D(!S.value,p)}const i=cn(()=>({onClick:v,class:"v-list-group__header",id:o.value})),M=cn(()=>S.value?n.collapseIcon:n.expandIcon),g=cn(()=>({VListItem:{active:S.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&M.value,appendIcon:n.appendIcon||!n.subgroup&&M.value,title:n.title,value:n.value}}));return Fr(()=>dt(n.tag,{class:["v-list-group",{"v-list-group--prepend":t==null?void 0:t.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":S.value},n.class],style:n.style},{default:()=>[r.activator&&dt(Va,{defaults:g.value},{default:()=>[dt(HU,null,{default:()=>[r.activator({props:i.value,isOpen:S.value})]})]}),dt(Ec,{transition:{component:a1},disabled:!d.value},{default:()=>{var p;return[Lo(dt("div",{class:"v-list-group__items",role:"group","aria-labelledby":o.value},[(p=r.default)==null?void 0:p.call(r)]),[[vf,S.value]])]}})]})),{}}});const sS=Nc("v-list-item-subtitle"),lS=Nc("v-list-item-title"),WU=cr({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:wi,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:wi,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:ff(),onClickOnce:ff(),...Au(),...Jr(),...ms(),...ec(),...ps(),...uo(),...fg(),...Li(),...sa(),...rc({variant:"text"})},"VListItem"),Xf=Er()({name:"VListItem",directives:{Ripple:qh},props:WU(),emits:{click:n=>!0},setup(n,e){let{attrs:r,slots:S,emit:D}=e;const x=cg(n,r),o=cn(()=>n.value===void 0?x.href.value:n.value),{select:t,isSelected:d,isIndeterminate:v,isGroupActivator:i,root:M,parent:g,openOnSelect:p}=oS(o,!1),u=nS(),a=cn(()=>{var R;return n.active!==!1&&(n.active||((R=x.isActive)==null?void 0:R.value)||d.value)}),c=cn(()=>n.link!==!1&&x.isLink.value),s=cn(()=>!n.disabled&&n.link!==!1&&(n.link||x.isClickable.value||n.value!=null&&!!u)),l=cn(()=>n.rounded||n.nav),h=cn(()=>n.color??n.activeColor),f=cn(()=>({color:a.value?h.value??n.baseColor:n.baseColor,variant:n.variant}));ei(()=>{var R;return(R=x.isActive)==null?void 0:R.value},R=>{R&&g.value!=null&&M.open(g.value,!0),R&&p(R)},{immediate:!0});const{themeClasses:m}=Ca(n),{borderClasses:_}=nc(n),{colorClasses:y,colorStyles:C,variantClasses:w}=Xd(f),{densityClasses:k}=il(n),{dimensionStyles:E}=tc(n),{elevationClasses:T}=Ws(n),{roundedClasses:A}=Oo(l),L=cn(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),b=cn(()=>({isActive:a.value,select:t,isSelected:d.value,isIndeterminate:v.value}));function O(R){var z;D("click",R),!(i||!s.value)&&((z=x.navigate)==null||z.call(x,R),n.value!=null&&t(!d.value,R))}function I(R){(R.key==="Enter"||R.key===" ")&&(R.preventDefault(),O(R))}return Fr(()=>{const R=c.value?"a":n.tag,z=S.title||n.title,F=S.subtitle||n.subtitle,B=!!(n.appendAvatar||n.appendIcon),N=!!(B||S.append),q=!!(n.prependAvatar||n.prependIcon),j=!!(q||S.prepend);return u==null||u.updateHasPrepend(j),n.activeColor&&xV("active-color",["color","base-color"]),Lo(dt(R,{class:["v-list-item",{"v-list-item--active":a.value,"v-list-item--disabled":n.disabled,"v-list-item--link":s.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!j&&(u==null?void 0:u.hasPrepend.value),[`${n.activeClass}`]:n.activeClass&&a.value},m.value,_.value,y.value,k.value,T.value,L.value,A.value,w.value,n.class],style:[C.value,E.value,n.style],href:x.href.value,tabindex:s.value?u?-2:0:void 0,onClick:O,onKeydown:s.value&&!c.value&&I},{default:()=>{var Y;return[Zd(s.value||a.value,"v-list-item"),j&&dt("div",{key:"prepend",class:"v-list-item__prepend"},[S.prepend?dt(Va,{key:"prepend-defaults",disabled:!q,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var U;return[(U=S.prepend)==null?void 0:U.call(S,b.value)]}}):dt(Xr,null,[n.prependAvatar&&dt(Vh,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&&dt(Wa,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),dt("div",{class:"v-list-item__spacer"},null)]),dt("div",{class:"v-list-item__content","data-no-activator":""},[z&&dt(lS,{key:"title"},{default:()=>{var U;return[((U=S.title)==null?void 0:U.call(S,{title:n.title}))??n.title]}}),F&&dt(sS,{key:"subtitle"},{default:()=>{var U;return[((U=S.subtitle)==null?void 0:U.call(S,{subtitle:n.subtitle}))??n.subtitle]}}),(Y=S.default)==null?void 0:Y.call(S,b.value)]),N&&dt("div",{key:"append",class:"v-list-item__append"},[S.append?dt(Va,{key:"append-defaults",disabled:!B,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var U;return[(U=S.append)==null?void 0:U.call(S,b.value)]}}):dt(Xr,null,[n.appendIcon&&dt(Wa,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&&dt(Vh,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),dt("div",{class:"v-list-item__spacer"},null)])]}}),[[Tu("ripple"),s.value&&n.ripple]])}),{}}}),qU=cr({color:String,inset:Boolean,sticky:Boolean,title:String,...Jr(),...Li()},"VListSubheader"),uS=Er()({name:"VListSubheader",props:qU(),setup(n,e){let{slots:r}=e;const{textColorClasses:S,textColorStyles:D}=tl(Ir(n,"color"));return Fr(()=>{const x=!!(r.default||n.title);return dt(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},S.value,n.class],style:[{textColorStyles:D},n.style]},{default:()=>{var o;return[x&&dt("div",{class:"v-list-subheader__text"},[((o=r.default)==null?void 0:o.call(r))??n.title])]}})}),{}}});const $U=cr({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Jr(),...sa()},"VDivider"),cS=Er()({name:"VDivider",props:$U(),setup(n,e){let{attrs:r}=e;const{themeClasses:S}=Ca(n),{textColorClasses:D,textColorStyles:x}=tl(Ir(n,"color")),o=cn(()=>{const t={};return n.length&&(t[n.vertical?"maxHeight":"maxWidth"]=ii(n.length)),n.thickness&&(t[n.vertical?"borderRightWidth":"borderTopWidth"]=ii(n.thickness)),t});return Fr(()=>dt("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},S.value,D.value,n.class],style:[o.value,x.value,n.style],"aria-orientation":!r.role||r.role==="separator"?n.vertical?"vertical":"horizontal":void 0,role:`${r.role||"separator"}`},null)),{}}}),YU=cr({items:Array},"VListChildren"),fS=Er()({name:"VListChildren",props:YU(),setup(n,e){let{slots:r}=e;return tS(),()=>{var S,D;return((S=r.default)==null?void 0:S.call(r))??((D=n.items)==null?void 0:D.map(x=>{var p,u;let{children:o,props:t,type:d,raw:v}=x;if(d==="divider")return((p=r.divider)==null?void 0:p.call(r,{props:t}))??dt(cS,t,null);if(d==="subheader")return((u=r.subheader)==null?void 0:u.call(r,{props:t}))??dt(uS,t,null);const i={subtitle:r.subtitle?a=>{var c;return(c=r.subtitle)==null?void 0:c.call(r,{...a,item:v})}:void 0,prepend:r.prepend?a=>{var c;return(c=r.prepend)==null?void 0:c.call(r,{...a,item:v})}:void 0,append:r.append?a=>{var c;return(c=r.append)==null?void 0:c.call(r,{...a,item:v})}:void 0,title:r.title?a=>{var c;return(c=r.title)==null?void 0:c.call(r,{...a,item:v})}:void 0},[M,g]=Ix.filterProps(t);return o?dt(Ix,Zr({value:t==null?void 0:t.value},M),{activator:a=>{let{props:c}=a;return r.header?r.header({props:{...t,...c}}):dt(Xf,Zr(t,c),i)},default:()=>dt(fS,{items:o},r)}):r.item?r.item({props:t}):dt(Xf,t,i)}))}}}),hS=cr({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:d0}},"list-items");function wd(n,e){const r=lf(e,n.itemTitle,e),S=lf(e,n.itemValue,r),D=lf(e,n.itemChildren),x=n.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?Fd(e,["children"])[1]:e:void 0:lf(e,n.itemProps),o={title:r,value:S,...x};return{title:String(o.title??""),value:o.value,props:o,children:Array.isArray(D)?dS(n,D):void 0,raw:e}}function dS(n,e){const r=[];for(const S of e)r.push(wd(n,S));return r}function q_(n){const e=cn(()=>dS(n,n.items)),r=cn(()=>e.value.some(x=>x.value===null));function S(x){return r.value||(x=x.filter(o=>o!==null)),x.map(o=>n.returnObject&&typeof o=="string"?wd(n,o):e.value.find(t=>n.valueComparator(o,t.value))||wd(n,o))}function D(x){return n.returnObject?x.map(o=>{let{raw:t}=o;return t}):x.map(o=>{let{value:t}=o;return t})}return{items:e,transformIn:S,transformOut:D}}function ZU(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"}function XU(n,e){const r=lf(e,n.itemType,"item"),S=ZU(e)?e:lf(e,n.itemTitle),D=lf(e,n.itemValue,void 0),x=lf(e,n.itemChildren),o=n.itemProps===!0?Fd(e,["children"])[1]:lf(e,n.itemProps),t={title:S,value:D,...o};return{type:r,title:t.title,value:t.value,props:t,children:r==="item"&&x?pS(n,x):void 0,raw:e}}function pS(n,e){const r=[];for(const S of e)r.push(XU(n,S));return r}function KU(n){return{items:cn(()=>pS(n,n.items))}}const JU=cr({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...VU({selectStrategy:"single-leaf",openStrategy:"list"}),...Au(),...Jr(),...ms(),...ec(),...ps(),itemType:{type:String,default:"type"},...hS(),...uo(),...Li(),...sa(),...rc({variant:"text"})},"VList"),c1=Er()({name:"VList",props:JU(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,e){let{slots:r}=e;const{items:S}=KU(n),{themeClasses:D}=Ca(n),{backgroundColorClasses:x,backgroundColorStyles:o}=Fo(Ir(n,"bgColor")),{borderClasses:t}=nc(n),{densityClasses:d}=il(n),{dimensionStyles:v}=tc(n),{elevationClasses:i}=Ws(n),{roundedClasses:M}=Oo(n),{open:g,select:p}=jU(n),u=cn(()=>n.lines?`v-list--${n.lines}-line`:void 0),a=Ir(n,"activeColor"),c=Ir(n,"baseColor"),s=Ir(n,"color");tS(),is({VListGroup:{activeColor:a,baseColor:c,color:s},VListItem:{activeClass:Ir(n,"activeClass"),activeColor:a,baseColor:c,color:s,density:Ir(n,"density"),disabled:Ir(n,"disabled"),lines:Ir(n,"lines"),nav:Ir(n,"nav"),variant:Ir(n,"variant")}});const l=Kr(!1),h=Gr();function f(w){l.value=!0}function m(w){l.value=!1}function _(w){var k;!l.value&&!(w.relatedTarget&&((k=h.value)!=null&&k.contains(w.relatedTarget)))&&C()}function y(w){if(h.value){if(w.key==="ArrowDown")C("next");else if(w.key==="ArrowUp")C("prev");else if(w.key==="Home")C("first");else if(w.key==="End")C("last");else return;w.preventDefault()}}function C(w){if(h.value)return iy(h.value,w)}return Fr(()=>dt(n.tag,{ref:h,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},D.value,x.value,t.value,d.value,i.value,u.value,M.value,n.class],style:[o.value,v.value,n.style],tabindex:n.disabled||l.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:f,onFocusout:m,onFocus:_,onKeydown:y},{default:()=>[dt(fS,{items:S.value},r)]})),{open:g,select:p,focus:C}}}),QU=Nc("v-list-img"),eH=cr({start:Boolean,end:Boolean,...Jr(),...Li()},"VListItemAction"),tH=Er()({name:"VListItemAction",props:eH(),setup(n,e){let{slots:r}=e;return Fr(()=>dt(n.tag,{class:["v-list-item-action",{"v-list-item-action--start":n.start,"v-list-item-action--end":n.end},n.class],style:n.style},r)),{}}}),nH=cr({start:Boolean,end:Boolean,...Jr(),...Li()},"VListItemMedia"),rH=Er()({name:"VListItemMedia",props:nH(),setup(n,e){let{slots:r}=e;return Fr(()=>dt(n.tag,{class:["v-list-item-media",{"v-list-item-media--start":n.start,"v-list-item-media--end":n.end},n.class],style:n.style},r)),{}}});function Pb(n,e){return{x:n.x+e.x,y:n.y+e.y}}function iH(n,e){return{x:n.x-e.x,y:n.y-e.y}}function BT(n,e){if(n.side==="top"||n.side==="bottom"){const{side:r,align:S}=n,D=S==="left"?0:S==="center"?e.width/2:S==="right"?e.width:S,x=r==="top"?0:r==="bottom"?e.height:r;return Pb({x:D,y:x},e)}else if(n.side==="left"||n.side==="right"){const{side:r,align:S}=n,D=r==="left"?0:r==="right"?e.width:r,x=S==="top"?0:S==="center"?e.height/2:S==="bottom"?e.height:S;return Pb({x:D,y:x},e)}return Pb({x:e.width/2,y:e.height/2},e)}const mS={static:sH,connected:uH},aH=cr({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in mS},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function oH(n,e){const r=Gr({}),S=Gr();no&&(Nh(()=>!!(e.isActive.value&&n.locationStrategy),x=>{var o,t;ei(()=>n.locationStrategy,x),Al(()=>{S.value=void 0}),typeof n.locationStrategy=="function"?S.value=(o=n.locationStrategy(e,n,r))==null?void 0:o.updateLocation:S.value=(t=mS[n.locationStrategy](e,n,r))==null?void 0:t.updateLocation}),window.addEventListener("resize",D,{passive:!0}),Al(()=>{window.removeEventListener("resize",D),S.value=void 0}));function D(x){var o;(o=S.value)==null||o.call(S,x)}return{contentStyles:r,updateLocation:S}}function sH(){}function lH(n,e){e?n.style.removeProperty("left"):n.style.removeProperty("right");const r=k_(n);return e?r.x+=parseFloat(n.style.right||0):r.x-=parseFloat(n.style.left||0),r.y-=parseFloat(n.style.top||0),r}function uH(n,e,r){FV(n.activatorEl.value)&&Object.assign(r.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:D,preferredOrigin:x}=w_(()=>{const u=gx(e.location,n.isRtl.value),a=e.origin==="overlap"?u:e.origin==="auto"?Eb(u):gx(e.origin,n.isRtl.value);return u.side===a.side&&u.align===Lb(a).align?{preferredAnchor:lT(u),preferredOrigin:lT(a)}:{preferredAnchor:u,preferredOrigin:a}}),[o,t,d,v]=["minWidth","minHeight","maxWidth","maxHeight"].map(u=>cn(()=>{const a=parseFloat(e[u]);return isNaN(a)?1/0:a})),i=cn(()=>{if(Array.isArray(e.offset))return e.offset;if(typeof e.offset=="string"){const u=e.offset.split(" ").map(parseFloat);return u.length<2&&u.push(0),u}return typeof e.offset=="number"?[e.offset,0]:[0,0]});let M=!1;const g=new ResizeObserver(()=>{M&&p()});ei([n.activatorEl,n.contentEl],(u,a)=>{let[c,s]=u,[l,h]=a;l&&g.unobserve(l),c&&g.observe(c),h&&g.unobserve(h),s&&g.observe(s)},{immediate:!0}),Al(()=>{g.disconnect()});function p(){if(M=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>M=!0)}),!n.activatorEl.value||!n.contentEl.value)return;const u=n.activatorEl.value.getBoundingClientRect(),a=lH(n.contentEl.value,n.isRtl.value),c=oy(n.contentEl.value),s=12;c.length||(c.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(a.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),a.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const l=c.reduce((E,T)=>{const A=T.getBoundingClientRect(),L=new Fp({x:T===document.documentElement?0:A.x,y:T===document.documentElement?0:A.y,width:T.clientWidth,height:T.clientHeight});return E?new Fp({x:Math.max(E.left,L.left),y:Math.max(E.top,L.top),width:Math.min(E.right,L.right)-Math.max(E.left,L.left),height:Math.min(E.bottom,L.bottom)-Math.max(E.top,L.top)}):L},void 0);l.x+=s,l.y+=s,l.width-=s*2,l.height-=s*2;let h={anchor:D.value,origin:x.value};function f(E){const T=new Fp(a),A=BT(E.anchor,u),L=BT(E.origin,T);let{x:b,y:O}=iH(A,L);switch(E.anchor.side){case"top":O-=i.value[0];break;case"bottom":O+=i.value[0];break;case"left":b-=i.value[0];break;case"right":b+=i.value[0];break}switch(E.anchor.align){case"top":O-=i.value[1];break;case"bottom":O+=i.value[1];break;case"left":b-=i.value[1];break;case"right":b+=i.value[1];break}return T.x+=b,T.y+=O,T.width=Math.min(T.width,d.value),T.height=Math.min(T.height,v.value),{overflows:cT(T,l),x:b,y:O}}let m=0,_=0;const y={x:0,y:0},C={x:!1,y:!1};let w=-1;for(;!(w++>10);){const{x:E,y:T,overflows:A}=f(h);m+=E,_+=T,a.x+=E,a.y+=T;{const L=uT(h.anchor),b=A.x.before||A.x.after,O=A.y.before||A.y.after;let I=!1;if(["x","y"].forEach(R=>{if(R==="x"&&b&&!C.x||R==="y"&&O&&!C.y){const z={anchor:{...h.anchor},origin:{...h.origin}},F=R==="x"?L==="y"?Lb:Eb:L==="y"?Eb:Lb;z.anchor=F(z.anchor),z.origin=F(z.origin);const{overflows:B}=f(z);(B[R].before<=A[R].before&&B[R].after<=A[R].after||B[R].before+B[R].after<(A[R].before+A[R].after)/2)&&(h=z,I=C[R]=!0)}}),I)continue}A.x.before&&(m+=A.x.before,a.x+=A.x.before),A.x.after&&(m-=A.x.after,a.x-=A.x.after),A.y.before&&(_+=A.y.before,a.y+=A.y.before),A.y.after&&(_-=A.y.after,a.y-=A.y.after);{const L=cT(a,l);y.x=l.width-L.x.before-L.x.after,y.y=l.height-L.y.before-L.y.after,m+=L.x.before,a.x+=L.x.before,_+=L.y.before,a.y+=L.y.before}break}const k=uT(h.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${h.anchor.side} ${h.anchor.align}`,transformOrigin:`${h.origin.side} ${h.origin.align}`,top:ii(Db(_)),left:n.isRtl.value?void 0:ii(Db(m)),right:n.isRtl.value?ii(Db(-m)):void 0,minWidth:ii(k==="y"?Math.min(o.value,u.width):o.value),maxWidth:ii(NT(el(y.x,o.value===1/0?0:o.value,d.value))),maxHeight:ii(NT(el(y.y,t.value===1/0?0:t.value,v.value)))}),{available:y,contentBox:a}}return ei(()=>[D.value,x.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>p()),qa(()=>{const u=p();if(!u)return;const{available:a,contentBox:c}=u;c.height>a.y&&requestAnimationFrame(()=>{p(),requestAnimationFrame(()=>{p()})})}),{updateLocation:p}}function Db(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function NT(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let Ox=!0;const uy=[];function cH(n){!Ox||uy.length?(uy.push(n),Px()):(Ox=!1,n(),Px())}let VT=-1;function Px(){cancelAnimationFrame(VT),VT=requestAnimationFrame(()=>{const n=uy.shift();n&&n(),uy.length?Px():Ox=!0})}const Ev={none:null,close:dH,block:pH,reposition:mH},fH=cr({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in Ev}},"VOverlay-scroll-strategies");function hH(n,e){if(!no)return;let r;wu(async()=>{r==null||r.stop(),e.isActive.value&&n.scrollStrategy&&(r=Nm(),await qa(),r.active&&r.run(()=>{var S;typeof n.scrollStrategy=="function"?n.scrollStrategy(e,n,r):(S=Ev[n.scrollStrategy])==null||S.call(Ev,e,n,r)}))}),Al(()=>{r==null||r.stop()})}function dH(n){function e(r){n.isActive.value=!1}gS(n.activatorEl.value??n.contentEl.value,e)}function pH(n,e){var o;const r=(o=n.root.value)==null?void 0:o.offsetParent,S=[...new Set([...oy(n.activatorEl.value,e.contained?r:void 0),...oy(n.contentEl.value,e.contained?r:void 0)])].filter(t=>!t.classList.contains("v-overlay-scroll-blocked")),D=window.innerWidth-document.documentElement.offsetWidth,x=(t=>C_(t)&&t)(r||document.documentElement);x&&n.root.value.classList.add("v-overlay--scroll-blocked"),S.forEach((t,d)=>{t.style.setProperty("--v-body-scroll-x",ii(-t.scrollLeft)),t.style.setProperty("--v-body-scroll-y",ii(-t.scrollTop)),t!==document.documentElement&&t.style.setProperty("--v-scrollbar-offset",ii(D)),t.classList.add("v-overlay-scroll-blocked")}),Al(()=>{S.forEach((t,d)=>{const v=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),i=parseFloat(t.style.getPropertyValue("--v-body-scroll-y"));t.style.removeProperty("--v-body-scroll-x"),t.style.removeProperty("--v-body-scroll-y"),t.style.removeProperty("--v-scrollbar-offset"),t.classList.remove("v-overlay-scroll-blocked"),t.scrollLeft=-v,t.scrollTop=-i}),x&&n.root.value.classList.remove("v-overlay--scroll-blocked")})}function mH(n,e,r){let S=!1,D=-1,x=-1;function o(t){cH(()=>{var i,M;const d=performance.now();(M=(i=n.updateLocation).value)==null||M.call(i,t),S=(performance.now()-d)/(1e3/60)>2})}x=(typeof requestIdleCallback>"u"?t=>t():requestIdleCallback)(()=>{r.run(()=>{gS(n.activatorEl.value??n.contentEl.value,t=>{S?(cancelAnimationFrame(D),D=requestAnimationFrame(()=>{D=requestAnimationFrame(()=>{o(t)})})):o(t)})})}),Al(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(x),cancelAnimationFrame(D)})}function gS(n,e){const r=[document,...oy(n)];r.forEach(S=>{S.addEventListener("scroll",e,{passive:!0})}),Al(()=>{r.forEach(S=>{S.removeEventListener("scroll",e)})})}const Dx=Symbol.for("vuetify:v-menu"),vS=cr({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function yS(n,e){const r={},S=D=>()=>{if(!no)return Promise.resolve(!0);const x=D==="openDelay";return r.closeDelay&&window.clearTimeout(r.closeDelay),delete r.closeDelay,r.openDelay&&window.clearTimeout(r.openDelay),delete r.openDelay,new Promise(o=>{const t=parseInt(n[D]??0,10);r[D]=window.setTimeout(()=>{e==null||e(x),o(x)},t)})};return{runCloseDelay:S("closeDelay"),runOpenDelay:S("openDelay")}}const gH=cr({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...vS()},"VOverlay-activator");function vH(n,e){let{isActive:r,isTop:S}=e;const D=Gr();let x=!1,o=!1,t=!0;const d=cn(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),v=cn(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!d.value),{runOpenDelay:i,runCloseDelay:M}=yS(n,h=>{h===(n.openOnHover&&x||d.value&&o)&&!(n.openOnHover&&r.value&&!S.value)&&(r.value!==h&&(t=!0),r.value=h)}),g={onClick:h=>{h.stopPropagation(),D.value=h.currentTarget||h.target,r.value=!r.value},onMouseenter:h=>{var f;(f=h.sourceCapabilities)!=null&&f.firesTouchEvents||(x=!0,D.value=h.currentTarget||h.target,i())},onMouseleave:h=>{x=!1,M()},onFocus:h=>{n0(h.target,":focus-visible")!==!1&&(o=!0,h.stopPropagation(),D.value=h.currentTarget||h.target,i())},onBlur:h=>{o=!1,h.stopPropagation(),M()}},p=cn(()=>{const h={};return v.value&&(h.onClick=g.onClick),n.openOnHover&&(h.onMouseenter=g.onMouseenter,h.onMouseleave=g.onMouseleave),d.value&&(h.onFocus=g.onFocus,h.onBlur=g.onBlur),h}),u=cn(()=>{const h={};if(n.openOnHover&&(h.onMouseenter=()=>{x=!0,i()},h.onMouseleave=()=>{x=!1,M()}),d.value&&(h.onFocusin=()=>{o=!0,i()},h.onFocusout=()=>{o=!1,M()}),n.closeOnContentClick){const f=Sa(Dx,null);h.onClick=()=>{r.value=!1,f==null||f.closeParents()}}return h}),a=cn(()=>{const h={};return n.openOnHover&&(h.onMouseenter=()=>{t&&(x=!0,t=!1,i())},h.onMouseleave=()=>{x=!1,M()}),h});ei(S,h=>{h&&(n.openOnHover&&!x&&(!d.value||!o)||d.value&&!o&&(!n.openOnHover||!x))&&(r.value=!1)});const c=Gr();wu(()=>{c.value&&qa(()=>{D.value=px(c.value)})});const s=Es("useActivator");let l;return ei(()=>!!n.activator,h=>{h&&no?(l=Nm(),l.run(()=>{yH(n,s,{activatorEl:D,activatorEvents:p})})):l&&l.stop()},{flush:"post",immediate:!0}),Al(()=>{l==null||l.stop()}),{activatorEl:D,activatorRef:c,activatorEvents:p,contentEvents:u,scrimEvents:a}}function yH(n,e,r){let{activatorEl:S,activatorEvents:D}=r;ei(()=>n.activator,(d,v)=>{if(v&&d!==v){const i=t(v);i&&o(i)}d&&qa(()=>x())},{immediate:!0}),ei(()=>n.activatorProps,()=>{x()}),Al(()=>{o()});function x(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&fV(d,Zr(D.value,v))}function o(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&hV(d,Zr(D.value,v))}function t(){var i,M;let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n.activator,v;if(d)if(d==="parent"){let g=(M=(i=e==null?void 0:e.proxy)==null?void 0:i.$el)==null?void 0:M.parentNode;for(;g!=null&&g.hasAttribute("data-no-activator");)g=g.parentNode;v=g}else typeof d=="string"?v=document.querySelector(d):"$el"in d?v=d.$el:v=d;return S.value=(v==null?void 0:v.nodeType)===Node.ELEMENT_NODE?v:null,S.value}}function bS(){if(!no)return Kr(!1);const{ssr:n}=$d();if(n){const e=Kr(!1);return nl(()=>{e.value=!0}),e}else return Kr(!0)}const f1=cr({eager:Boolean},"lazy");function $_(n,e){const r=Kr(!1),S=cn(()=>r.value||n.eager||e.value);ei(e,()=>r.value=!0);function D(){n.eager||(r.value=!1)}return{isBooted:r,hasContent:S,onAfterLeave:D}}function T0(){const e=Es("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const jT=Symbol.for("vuetify:stack"),tm=Tl([]);function bH(n,e,r){const S=Es("useStack"),D=!r,x=Sa(jT,void 0),o=Tl({activeChildren:new Set});as(jT,o);const t=Kr(+e.value);Nh(n,()=>{var M;const i=(M=tm.at(-1))==null?void 0:M[1];t.value=i?i+10:+e.value,D&&tm.push([S.uid,t.value]),x==null||x.activeChildren.add(S.uid),Al(()=>{if(D){const g=Ii(tm).findIndex(p=>p[0]===S.uid);tm.splice(g,1)}x==null||x.activeChildren.delete(S.uid)})});const d=Kr(!0);D&&wu(()=>{var M;const i=((M=tm.at(-1))==null?void 0:M[0])===S.uid;setTimeout(()=>d.value=i)});const v=cn(()=>!o.activeChildren.size);return{globalTop:Vm(d),localTop:v,stackStyles:cn(()=>({zIndex:t.value}))}}function xH(n){return{teleportTarget:cn(()=>{const r=n.value;if(r===!0||!no)return;const S=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(S==null)return;let D=S.querySelector(":scope > .v-overlay-container");return D||(D=document.createElement("div"),D.className="v-overlay-container",S.appendChild(D)),D})}}function _H(){return!0}function xS(n,e,r){if(!n||_S(n,r)===!1)return!1;const S=mA(e);if(typeof ShadowRoot<"u"&&S instanceof ShadowRoot&&S.host===n.target)return!1;const D=(typeof r.value=="object"&&r.value.include||(()=>[]))();return D.push(e),!D.some(x=>x==null?void 0:x.contains(n.target))}function _S(n,e){return(typeof e.value=="object"&&e.value.closeConditional||_H)(n)}function wH(n,e,r){const S=typeof r.value=="function"?r.value:r.value.handler;e._clickOutside.lastMousedownWasOutside&&xS(n,e,r)&&setTimeout(()=>{_S(n,r)&&S&&S(n)},0)}function UT(n,e){const r=mA(n);e(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&e(r)}const wS={mounted(n,e){const r=D=>wH(D,n,e),S=D=>{n._clickOutside.lastMousedownWasOutside=xS(D,n,e)};UT(n,D=>{D.addEventListener("click",r,!0),D.addEventListener("mousedown",S,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[e.instance.$.uid]={onClick:r,onMousedown:S}},unmounted(n,e){n._clickOutside&&(UT(n,r=>{var x;if(!r||!((x=n._clickOutside)!=null&&x[e.instance.$.uid]))return;const{onClick:S,onMousedown:D}=n._clickOutside[e.instance.$.uid];r.removeEventListener("click",S,!0),r.removeEventListener("mousedown",D,!0)}),delete n._clickOutside[e.instance.$.uid])}};function TH(n){const{modelValue:e,color:r,...S}=n;return dt(hf,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&&dt("div",Zr({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},S),null)]})}const dg=cr({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...gH(),...Jr(),...ec(),...f1(),...aH(),...fH(),...sa(),...sh()},"VOverlay"),Kf=Er()({name:"VOverlay",directives:{ClickOutside:wS},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...dg()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,e){let{slots:r,attrs:S,emit:D}=e;const x=Ti(n,"modelValue"),o=cn({get:()=>x.value,set:z=>{z&&n.disabled||(x.value=z)}}),{teleportTarget:t}=xH(cn(()=>n.attach||n.contained)),{themeClasses:d}=Ca(n),{rtlClasses:v,isRtl:i}=Ls(),{hasContent:M,onAfterLeave:g}=$_(n,o),p=Fo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:u,localTop:a,stackStyles:c}=bH(o,Ir(n,"zIndex"),n._disableGlobalStack),{activatorEl:s,activatorRef:l,activatorEvents:h,contentEvents:f,scrimEvents:m}=vH(n,{isActive:o,isTop:a}),{dimensionStyles:_}=tc(n),y=bS(),{scopeId:C}=T0();ei(()=>n.disabled,z=>{z&&(o.value=!1)});const w=Gr(),k=Gr(),{contentStyles:E,updateLocation:T}=oH(n,{isRtl:i,contentEl:k,activatorEl:s,isActive:o});hH(n,{root:w,contentEl:k,activatorEl:s,isActive:o,updateLocation:T});function A(z){D("click:outside",z),n.persistent?R():o.value=!1}function L(){return o.value&&u.value}no&&ei(o,z=>{z?window.addEventListener("keydown",b):window.removeEventListener("keydown",b)},{immediate:!0});function b(z){var F,B;z.key==="Escape"&&u.value&&(n.persistent?R():(o.value=!1,(F=k.value)!=null&&F.contains(document.activeElement)&&((B=s.value)==null||B.focus())))}const O=zA();Nh(()=>n.closeOnBack,()=>{cU(O,z=>{u.value&&o.value?(z(!1),n.persistent?R():o.value=!1):z()})});const I=Gr();ei(()=>o.value&&(n.absolute||n.contained)&&t.value==null,z=>{if(z){const F=S_(w.value);F&&F!==document.scrollingElement&&(I.value=F.scrollTop)}});function R(){n.noClickAnimation||k.value&&_d(k.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Pm})}return Fr(()=>{var z;return dt(Xr,null,[(z=r.activator)==null?void 0:z.call(r,{isActive:o.value,props:Zr({ref:l},h.value,n.activatorProps)}),y.value&&M.value&&dt(A7,{disabled:!t.value,to:t.value},{default:()=>[dt("div",Zr({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":o.value,"v-overlay--contained":n.contained},d.value,v.value,n.class],style:[c.value,{top:ii(I.value)},n.style],ref:w},C,S),[dt(TH,Zr({color:p,modelValue:o.value&&!!n.scrim},m.value),null),dt(Ec,{appear:!0,persisted:!0,transition:n.transition,target:s.value,onAfterLeave:()=>{g(),D("afterLeave")}},{default:()=>{var F;return[Lo(dt("div",Zr({ref:k,class:["v-overlay__content",n.contentClass],style:[_.value,E.value]},f.value,n.contentProps),[(F=r.default)==null?void 0:F.call(r,{isActive:o})]),[[vf,o.value],[Tu("click-outside"),{handler:A,closeConditional:L,include:()=>[s.value]}]])]}})])]})])}),{activatorEl:s,animateClick:R,contentEl:k,globalTop:u,localTop:a,updateLocation:T}}}),Rb=Symbol("Forwarded refs");function zb(n,e){let r=n;for(;r;){const S=Reflect.getOwnPropertyDescriptor(r,e);if(S)return S;r=Object.getPrototypeOf(r)}}function Vc(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),S=1;S!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),{scopeId:D}=T0(),x=rl(),o=cn(()=>n.id||`v-menu-${x}`),t=Gr(),d=Sa(Dx,null),v=Kr(0);as(Dx,{register(){++v.value},unregister(){--v.value},closeParents(){setTimeout(()=>{v.value||(S.value=!1,d==null||d.closeParents())},40)}});async function i(a){var l,h,f;const c=a.relatedTarget,s=a.target;await qa(),S.value&&c!==s&&((l=t.value)!=null&&l.contentEl)&&((h=t.value)!=null&&h.globalTop)&&![document,t.value.contentEl].includes(s)&&!t.value.contentEl.contains(s)&&((f=Om(t.value.contentEl)[0])==null||f.focus())}ei(S,a=>{a?(d==null||d.register(),document.addEventListener("focusin",i,{once:!0})):(d==null||d.unregister(),document.removeEventListener("focusin",i))});function M(){d==null||d.closeParents()}function g(a){var c,s,l;n.disabled||a.key==="Tab"&&(nA(Om((c=t.value)==null?void 0:c.contentEl,!1),a.shiftKey?"prev":"next",f=>f.tabIndex>=0)||(S.value=!1,(l=(s=t.value)==null?void 0:s.activatorEl)==null||l.focus()))}function p(a){var s;if(n.disabled)return;const c=(s=t.value)==null?void 0:s.contentEl;c&&S.value?a.key==="ArrowDown"?(a.preventDefault(),iy(c,"next")):a.key==="ArrowUp"&&(a.preventDefault(),iy(c,"prev")):["ArrowDown","ArrowUp"].includes(a.key)&&(S.value=!0,a.preventDefault(),setTimeout(()=>setTimeout(()=>p(a))))}const u=cn(()=>Zr({"aria-haspopup":"menu","aria-expanded":String(S.value),"aria-owns":o.value,onKeydown:p},n.activatorProps));return Fr(()=>{const[a]=Kf.filterProps(n);return dt(Kf,Zr({ref:t,class:["v-menu",n.class],style:n.style},a,{modelValue:S.value,"onUpdate:modelValue":c=>S.value=c,absolute:!0,activatorProps:u.value,"onClick:outside":M,onKeydown:g},D),{activator:r.activator,default:function(){for(var c=arguments.length,s=new Array(c),l=0;l{var h;return[(h=r.default)==null?void 0:h.call(r,...s)]}})}})}),Vc({id:o,ΨopenChildren:v},t)}});const MH=cr({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Jr(),...sh({transition:{component:D_}})},"VCounter"),d1=Er()({name:"VCounter",functional:!0,props:MH(),setup(n,e){let{slots:r}=e;const S=cn(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return Fr(()=>dt(Ec,{transition:n.transition},{default:()=>[Lo(dt("div",{class:["v-counter",n.class],style:n.style},[r.default?r.default({counter:S.value,max:n.max,value:n.value}):S.value]),[[vf,n.active]])]})),{}}});const AH=cr({floating:Boolean,...Jr()},"VFieldLabel"),rm=Er()({name:"VFieldLabel",props:AH(),setup(n,e){let{slots:r}=e;return Fr(()=>dt(w0,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},r)),{}}}),SH=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],p1=cr({appendInnerIcon:wi,bgColor:String,clearable:Boolean,clearIcon:{type:wi,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:wi,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>SH.includes(n)},"onClick:clear":ff(),"onClick:appendInner":ff(),"onClick:prependInner":ff(),...Jr(),...j_(),...uo(),...sa()},"VField"),pg=Er()({name:"VField",inheritAttrs:!1,props:{id:String,...l1(),...p1()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{themeClasses:x}=Ca(n),{loaderClasses:o}=o1(n),{focusClasses:t,isFocused:d,focus:v,blur:i}=$h(n),{InputIcon:M}=ZA(n),{roundedClasses:g}=Oo(n),{rtlClasses:p}=Ls(),u=cn(()=>n.dirty||n.active),a=cn(()=>!n.singleLine&&!!(n.label||D.label)),c=rl(),s=cn(()=>n.id||`input-${c}`),l=cn(()=>`${s.value}-messages`),h=Gr(),f=Gr(),m=Gr(),_=cn(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:y,backgroundColorStyles:C}=Fo(Ir(n,"bgColor")),{textColorClasses:w,textColorStyles:k}=tl(cn(()=>n.error||n.disabled?void 0:u.value&&d.value?n.color:n.baseColor));ei(u,A=>{if(a.value){const L=h.value.$el,b=f.value.$el;requestAnimationFrame(()=>{const O=k_(L),I=b.getBoundingClientRect(),R=I.x-O.x,z=I.y-O.y-(O.height/2-I.height/2),F=I.width/.75,B=Math.abs(F-O.width)>1?{maxWidth:ii(F)}:void 0,N=getComputedStyle(L),q=getComputedStyle(b),j=parseFloat(N.transitionDuration)*1e3||150,Y=parseFloat(q.getPropertyValue("--v-field-label-scale")),U=q.getPropertyValue("color");L.style.visibility="visible",b.style.visibility="hidden",_d(L,{transform:`translate(${R}px, ${z}px) scale(${Y})`,color:U,...B},{duration:j,easing:Pm,direction:A?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),b.style.removeProperty("visibility")})})}},{flush:"post"});const E=cn(()=>({isActive:u,isFocused:d,controlRef:m,blur:i,focus:v}));function T(A){A.target!==document.activeElement&&A.preventDefault()}return Fr(()=>{var R,z,F;const A=n.variant==="outlined",L=D["prepend-inner"]||n.prependInnerIcon,b=!!(n.clearable||D.clear),O=!!(D["append-inner"]||n.appendInnerIcon||b),I=D.label?D.label({...E.value,label:n.label,props:{for:s.value}}):n.label;return dt("div",Zr({class:["v-field",{"v-field--active":u.value,"v-field--appended":O,"v-field--center-affix":n.centerAffix??!_.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!I,[`v-field--variant-${n.variant}`]:!0},x.value,y.value,t.value,o.value,g.value,p.value,n.class],style:[C.value,n.style],onClick:T},r),[dt("div",{class:"v-field__overlay"},null),dt(U_,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:D.loader}),L&&dt("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&&dt(M,{key:"prepend-icon",name:"prependInner"},null),(R=D["prepend-inner"])==null?void 0:R.call(D,E.value)]),dt("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&a.value&&dt(rm,{key:"floating-label",ref:f,class:[w.value],floating:!0,for:s.value,style:k.value},{default:()=>[I]}),dt(rm,{ref:h,for:s.value},{default:()=>[I]}),(z=D.default)==null?void 0:z.call(D,{...E.value,props:{id:s.value,class:"v-field__input","aria-describedby":l.value},focus:v,blur:i})]),b&&dt(R_,{key:"clear"},{default:()=>[Lo(dt("div",{class:"v-field__clearable",onMousedown:B=>{B.preventDefault(),B.stopPropagation()}},[D.clear?D.clear():dt(M,{name:"clear"},null)]),[[vf,n.dirty]])]}),O&&dt("div",{key:"append",class:"v-field__append-inner"},[(F=D["append-inner"])==null?void 0:F.call(D,E.value),n.appendInnerIcon&&dt(M,{key:"append-icon",name:"appendInner"},null)]),dt("div",{class:["v-field__outline",w.value],style:k.value},[A&&dt(Xr,null,[dt("div",{class:"v-field__outline__start"},null),a.value&&dt("div",{class:"v-field__outline__notch"},[dt(rm,{ref:f,floating:!0,for:s.value},{default:()=>[I]})]),dt("div",{class:"v-field__outline__end"},null)]),_.value&&a.value&&dt(rm,{ref:f,floating:!0,for:s.value},{default:()=>[I]})])])}),{controlRef:m}}});function Y_(n){const e=Object.keys(pg.props).filter(r=>!__(r)&&r!=="class"&&r!=="style");return Fd(n,e)}const CH=["color","file","time","date","datetime-local","week","month"],m1=cr({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...uh(),...p1()},"VTextField"),Vd=Er()({name:"VTextField",directives:{Intersect:ug},inheritAttrs:!1,props:m1(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const x=Ti(n,"modelValue"),{isFocused:o,focus:t,blur:d}=$h(n),v=cn(()=>typeof n.counterValue=="function"?n.counterValue(x.value):(x.value??"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter}),M=cn(()=>["plain","underlined"].includes(n.variant));function g(_,y){var C,w;!n.autofocus||!_||(w=(C=y[0].target)==null?void 0:C.focus)==null||w.call(C)}const p=Gr(),u=Gr(),a=Gr(),c=cn(()=>CH.includes(n.type)||n.persistentPlaceholder||o.value||n.active);function s(){var _;a.value!==document.activeElement&&((_=a.value)==null||_.focus()),o.value||t()}function l(_){S("mousedown:control",_),_.target!==a.value&&(s(),_.preventDefault())}function h(_){s(),S("click:control",_)}function f(_){_.stopPropagation(),s(),qa(()=>{x.value=null,T_(n["onClick:clear"],_)})}function m(_){var C;const y=_.target;if(x.value=y.value,(C=n.modelModifiers)!=null&&C.trim&&["text","search","password","tel","url"].includes(n.type)){const w=[y.selectionStart,y.selectionEnd];qa(()=>{y.selectionStart=w[0],y.selectionEnd=w[1]})}}return Fr(()=>{const _=!!(D.counter||n.counter||n.counterValue),y=!!(_||D.details),[C,w]=qd(r),[{modelValue:k,...E}]=Gs.filterProps(n),[T]=Y_(n);return dt(Gs,Zr({ref:p,modelValue:x.value,"onUpdate:modelValue":A=>x.value=A,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(n.variant)},n.class],style:n.style},C,E,{centerAffix:!M.value,focused:o.value}),{...D,default:A=>{let{id:L,isDisabled:b,isDirty:O,isReadonly:I,isValid:R}=A;return dt(pg,Zr({ref:u,onMousedown:l,onClick:h,"onClick:clear":f,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},T,{id:L.value,active:c.value||O.value,dirty:O.value||n.dirty,disabled:b.value,focused:o.value,error:R.value===!1}),{...D,default:z=>{let{props:{class:F,...B}}=z;const N=Lo(dt("input",Zr({ref:a,value:x.value,onInput:m,autofocus:n.autofocus,readonly:I.value,disabled:b.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:s,onBlur:d},B,w),null),[[Tu("intersect"),{handler:g},null,{once:!0}]]);return dt(Xr,null,[n.prefix&&dt("span",{class:"v-text-field__prefix"},[dt("span",{class:"v-text-field__prefix__text"},[n.prefix])]),D.default?dt("div",{class:F,"data-no-activator":""},[D.default(),N]):$f(N,{class:F}),n.suffix&&dt("span",{class:"v-text-field__suffix"},[dt("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:y?A=>{var L;return dt(Xr,null,[(L=D.details)==null?void 0:L.call(D,A),_&&dt(Xr,null,[dt("span",null,null),dt(d1,{active:n.persistentCounter||o.value,value:v.value,max:i.value},D.counter)])])}:void 0})}),Vc({},p,u,a)}});const EH=cr({renderless:Boolean,...Jr()},"VVirtualScrollItem"),LH=Er()({name:"VVirtualScrollItem",inheritAttrs:!1,props:EH(),emits:{"update:height":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{resizeRef:x,contentRect:o}=gf(void 0,"border");ei(()=>{var t;return(t=o.value)==null?void 0:t.height},t=>{t!=null&&S("update:height",t)}),Fr(()=>{var t,d;return n.renderless?dt(Xr,null,[(t=D.default)==null?void 0:t.call(D,{itemRef:x})]):dt("div",Zr({ref:x,class:["v-virtual-scroll__item",n.class],style:n.style},r),[(d=D.default)==null?void 0:d.call(D)])})}}),HT=-1,GT=1,IH=cr({itemHeight:{type:[Number,String],default:48}},"virtual");function OH(n,e,r){const S=Kr(0),D=Kr(n.itemHeight),x=cn({get:()=>parseInt(D.value??0,10),set(y){D.value=y}}),o=Gr(),{resizeRef:t,contentRect:d}=gf();wu(()=>{t.value=o.value});const v=$d(),i=new Map;let M=Array.from({length:e.value.length});const g=cn(()=>{const y=(!d.value||o.value===document.documentElement?v.height.value:d.value.height)-((r==null?void 0:r.value)??0);return Math.ceil(y/x.value*1.7+1)});function p(y,C){x.value=Math.max(x.value,C),M[y]=C,i.set(e.value[y],C)}function u(y){return M.slice(0,y).reduce((C,w)=>C+(w||x.value),0)}function a(y){const C=e.value.length;let w=0,k=0;for(;k=A&&(S.value=el(T,0,e.value.length-g.value)),c=C}function l(y){if(!o.value)return;const C=u(y);o.value.scrollTop=C}const h=cn(()=>Math.min(e.value.length,S.value+g.value)),f=cn(()=>e.value.slice(S.value,h.value).map((y,C)=>({raw:y,index:C+S.value}))),m=cn(()=>u(S.value)),_=cn(()=>u(e.value.length)-u(h.value));return ei(()=>e.value.length,()=>{M=Gf(e.value.length).map(()=>x.value),i.forEach((y,C)=>{const w=e.value.indexOf(C);w===-1?i.delete(C):M[w]=y})}),{containerRef:o,computedItems:f,itemHeight:x,paddingTop:m,paddingBottom:_,scrollToIndex:l,handleScroll:s,handleItemResize:p}}const PH=cr({items:{type:Array,default:()=>[]},renderless:Boolean,...IH(),...Jr(),...ec()},"VVirtualScroll"),g1=Er()({name:"VVirtualScroll",props:PH(),setup(n,e){let{slots:r}=e;const S=Es("VVirtualScroll"),{dimensionStyles:D}=tc(n),{containerRef:x,handleScroll:o,handleItemResize:t,scrollToIndex:d,paddingTop:v,paddingBottom:i,computedItems:M}=OH(n,Ir(n,"items"));return Nh(()=>n.renderless,()=>{nl(()=>{var g;x.value=S_(S.vnode.el,!0),(g=x.value)==null||g.addEventListener("scroll",o)}),Al(()=>{var g;(g=x.value)==null||g.removeEventListener("scroll",o)})}),Fr(()=>{const g=M.value.map(p=>dt(LH,{key:p.index,renderless:n.renderless,"onUpdate:height":u=>t(p.index,u)},{default:u=>{var a;return(a=r.default)==null?void 0:a.call(r,{item:p.raw,index:p.index,...u})}}));return n.renderless?dt(Xr,null,[dt("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:ii(v.value)}},null),g,dt("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:ii(i.value)}},null)]):dt("div",{ref:x,class:["v-virtual-scroll",n.class],onScroll:o,style:[D.value,n.style]},[dt("div",{class:"v-virtual-scroll__container",style:{paddingTop:ii(v.value),paddingBottom:ii(i.value)}},[g])])}),{scrollToIndex:d}}});function Z_(n,e){const r=Kr(!1);let S;function D(t){cancelAnimationFrame(S),r.value=!0,S=requestAnimationFrame(()=>{S=requestAnimationFrame(()=>{r.value=!1})})}async function x(){await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>{if(r.value){const d=ei(r,()=>{d(),t()})}else t()})}async function o(t){var i,M;if(t.key==="Tab"&&((i=e.value)==null||i.focus()),!["PageDown","PageUp","Home","End"].includes(t.key))return;const d=(M=n.value)==null?void 0:M.$el;if(!d)return;(t.key==="Home"||t.key==="End")&&d.scrollTo({top:t.key==="Home"?0:d.scrollHeight,behavior:"smooth"}),await x();const v=d.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(t.key==="PageDown"||t.key==="Home"){const g=d.getBoundingClientRect().top;for(const p of v)if(p.getBoundingClientRect().top>=g){p.focus();break}}else{const g=d.getBoundingClientRect().bottom;for(const p of[...v].reverse())if(p.getBoundingClientRect().bottom<=g){p.focus();break}}}return{onListScroll:D,onListKeydown:o}}const X_=cr({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:wi,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...hS({itemChildren:!1})},"Select"),DH=cr({...X_(),...Ku(m1({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...sh({transition:{component:i1}})},"VSelect"),RH=Er()({name:"VSelect",props:DH(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:S}=Qu(),D=Gr(),x=Gr(),o=Gr(),t=Ti(n,"menu"),d=cn({get:()=>t.value,set:O=>{var I;t.value&&!O&&((I=x.value)!=null&&I.ΨopenChildren)||(t.value=O)}}),{items:v,transformIn:i,transformOut:M}=q_(n),g=Ti(n,"modelValue",[],O=>i(O===null?[null]:bu(O)),O=>{const I=M(O);return n.multiple?I:I[0]??null}),p=u1(),u=cn(()=>g.value.map(O=>O.value)),a=Kr(!1),c=cn(()=>d.value?n.closeText:n.openText);let s="",l;const h=cn(()=>n.hideSelected?v.value.filter(O=>!g.value.some(I=>I===O)):v.value),f=cn(()=>n.hideNoData&&!v.value.length||n.readonly||(p==null?void 0:p.isReadonly.value)),m=Gr(),{onListScroll:_,onListKeydown:y}=Z_(m,D);function C(O){n.openOnClear&&(d.value=!0)}function w(){f.value||(d.value=!d.value)}function k(O){var B,N;if(!O.key||n.readonly||p!=null&&p.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(O.key)&&O.preventDefault(),["Enter","ArrowDown"," "].includes(O.key)&&(d.value=!0),["Escape","Tab"].includes(O.key)&&(d.value=!1),O.key==="Home"?(B=m.value)==null||B.focus("first"):O.key==="End"&&((N=m.value)==null||N.focus("last"));const I=1e3;function R(q){const j=q.key.length===1,Y=!q.ctrlKey&&!q.metaKey&&!q.altKey;return j&&Y}if(n.multiple||!R(O))return;const z=performance.now();z-l>I&&(s=""),s+=O.key.toLowerCase(),l=z;const F=v.value.find(q=>q.title.toLowerCase().startsWith(s));F!==void 0&&(g.value=[F])}function E(O){if(n.multiple){const I=g.value.findIndex(R=>n.valueComparator(R.value,O.value));if(I===-1)g.value=[...g.value,O];else{const R=[...g.value];R.splice(I,1),g.value=R}}else g.value=[O],d.value=!1}function T(O){var I;(I=m.value)!=null&&I.$el.contains(O.relatedTarget)||(d.value=!1)}function A(){var O;a.value&&((O=D.value)==null||O.focus())}function L(O){a.value=!0}function b(O){if(O==null)g.value=[];else if(n0(D.value,":autofill")||n0(D.value,":-webkit-autofill")){const I=v.value.find(R=>R.title===O);I&&E(I)}else D.value&&(D.value.value="")}return ei(d,()=>{if(!n.hideSelected&&d.value&&g.value.length){const O=h.value.findIndex(I=>g.value.some(R=>n.valueComparator(R.value,I.value)));no&&window.requestAnimationFrame(()=>{var I;O>=0&&((I=o.value)==null||I.scrollToIndex(O))})}}),Fr(()=>{const O=!!(n.chips||r.chip),I=!!(!n.hideNoData||h.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),R=g.value.length>0,[z]=Vd.filterProps(n),F=R||!a.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return dt(Vd,Zr({ref:D},z,{modelValue:g.value.map(B=>B.props.value).join(", "),"onUpdate:modelValue":b,focused:a.value,"onUpdate:focused":B=>a.value=B,validationValue:g.externalValue,dirty:R,class:["v-select",{"v-select--active-menu":d.value,"v-select--chips":!!n.chips,[`v-select--${n.multiple?"multiple":"single"}`]:!0,"v-select--selected":g.value.length,"v-select--selection-slot":!!r.selection},n.class],style:n.style,inputmode:"none",placeholder:F,"onClick:clear":C,"onMousedown:control":w,onBlur:T,onKeydown:k,"aria-label":S(c.value),title:S(c.value)}),{...r,default:()=>dt(Xr,null,[dt(h1,Zr({ref:x,modelValue:d.value,"onUpdate:modelValue":B=>d.value=B,activator:"parent",contentClass:"v-select__content",disabled:f.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:A},n.menuProps),{default:()=>[I&&dt(c1,{ref:m,selected:u.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:B=>B.preventDefault(),onKeydown:y,onFocusin:L,onScrollPassive:_,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var B,N,q;return[(B=r["prepend-item"])==null?void 0:B.call(r),!h.value.length&&!n.hideNoData&&(((N=r["no-data"])==null?void 0:N.call(r))??dt(Xf,{title:S(n.noDataText)},null)),dt(g1,{ref:o,renderless:!0,items:h.value},{default:j=>{var H;let{item:Y,index:U,itemRef:G}=j;const W=Zr(Y.props,{ref:G,key:U,onClick:()=>E(Y)});return((H=r.item)==null?void 0:H.call(r,{item:Y,index:U,props:W}))??dt(Xf,W,{prepend:ne=>{let{isSelected:te}=ne;return dt(Xr,null,[n.multiple&&!n.hideSelected?dt(a0,{key:Y.value,modelValue:te,ripple:!1,tabindex:"-1"},null):void 0,Y.props.prependIcon&&dt(Wa,{icon:Y.props.prependIcon},null)])}})}}),(q=r["append-item"])==null?void 0:q.call(r)]}})]}),g.value.map((B,N)=>{var Y;function q(U){U.stopPropagation(),U.preventDefault(),E(B)}const j={"onClick:close":q,onMousedown(U){U.preventDefault(),U.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return dt("div",{key:B.value,class:"v-select__selection"},[O?r.chip?dt(Va,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:B.title}}},{default:()=>{var U;return[(U=r.chip)==null?void 0:U.call(r,{item:B,index:N,props:j})]}}):dt(hg,Zr({key:"chip",closable:n.closableChips,size:"small",text:B.title},j),null):((Y=r.selection)==null?void 0:Y.call(r,{item:B,index:N}))??dt("span",{class:"v-select__selection-text"},[B.title,n.multiple&&Nn==null||e==null?-1:n.toString().toLocaleLowerCase().indexOf(e.toString().toLocaleLowerCase()),TS=cr({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function FH(n,e,r){var t;const S=[],D=(r==null?void 0:r.default)??zH,x=r!=null&&r.filterKeys?bu(r.filterKeys):!1,o=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(n!=null&&n.length))return S;e:for(let d=0;dS!=null&&S.transform?gu(e).map(d=>[d,S.transform(d)]):gu(e));wu(()=>{const d=typeof r=="function"?r():gu(r),v=typeof d!="string"&&typeof d!="number"?"":String(d),i=FH(o.value,v,{customKeyFilter:n.customKeyFilter,default:n.customFilter,filterKeys:n.filterKeys,filterMode:n.filterMode,noFilter:n.noFilter}),M=gu(e),g=[],p=new Map;i.forEach(u=>{let{index:a,matches:c}=u;const s=M[a];g.push(s),p.set(s.value,c)}),D.value=g,x.value=p});function t(d){return x.value.get(d.value)}return{filteredItems:D,filteredMatches:x,getMatches:t}}function BH(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?dt(Xr,null,[dt("span",{class:"v-autocomplete__unmask"},[n.substr(0,e)]),dt("span",{class:"v-autocomplete__mask"},[n.substr(e,r)]),dt("span",{class:"v-autocomplete__unmask"},[n.substr(e+r)])]):n}const NH=cr({autoSelectFirst:{type:[Boolean,String]},search:String,...TS({filterKeys:["title"]}),...X_(),...Ku(m1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...sh({transition:!1})},"VAutocomplete"),VH=Er()({name:"VAutocomplete",props:NH(),emits:{"update:focused":n=>!0,"update:search":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:S}=Qu(),D=Gr(),x=Kr(!1),o=Kr(!0),t=Kr(!1),d=Gr(),v=Gr(),i=Ti(n,"menu"),M=cn({get:()=>i.value,set:W=>{var H;i.value&&!W&&((H=d.value)!=null&&H.ΨopenChildren)||(i.value=W)}}),g=Kr(-1),p=cn(()=>{var W;return(W=D.value)==null?void 0:W.color}),u=cn(()=>M.value?n.closeText:n.openText),{items:a,transformIn:c,transformOut:s}=q_(n),{textColorClasses:l,textColorStyles:h}=tl(p),f=Ti(n,"search",""),m=Ti(n,"modelValue",[],W=>c(W===null?[null]:bu(W)),W=>{const H=s(W);return n.multiple?H:H[0]??null}),_=u1(),{filteredItems:y,getMatches:C}=kS(n,a,()=>o.value?"":f.value),w=cn(()=>n.hideSelected?y.value.filter(W=>!m.value.some(H=>H.value===W.value)):y.value),k=cn(()=>m.value.map(W=>W.props.value)),E=cn(()=>{var H;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&f.value===((H=w.value[0])==null?void 0:H.title))&&w.value.length>0&&!o.value&&!t.value}),T=cn(()=>n.hideNoData&&!a.value.length||n.readonly||(_==null?void 0:_.isReadonly.value)),A=Gr(),{onListScroll:L,onListKeydown:b}=Z_(A,D);function O(W){n.openOnClear&&(M.value=!0),f.value=""}function I(){T.value||(M.value=!0)}function R(W){T.value||(x.value&&(W.preventDefault(),W.stopPropagation()),M.value=!M.value)}function z(W){var te,Z,X;if(n.readonly||_!=null&&_.isReadonly.value)return;const H=D.value.selectionStart,ne=m.value.length;if((g.value>-1||["Enter","ArrowDown","ArrowUp"].includes(W.key))&&W.preventDefault(),["Enter","ArrowDown"].includes(W.key)&&(M.value=!0),["Escape"].includes(W.key)&&(M.value=!1),E.value&&["Enter","Tab"].includes(W.key)&&G(w.value[0]),W.key==="ArrowDown"&&E.value&&((te=A.value)==null||te.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(W.key)){if(g.value<0){W.key==="Backspace"&&!f.value&&(g.value=ne-1);return}const Q=g.value,re=m.value[g.value];re&&G(re),g.value=Q>=ne-1?ne-2:Q}if(W.key==="ArrowLeft"){if(g.value<0&&H>0)return;const Q=g.value>-1?g.value-1:ne-1;m.value[Q]?g.value=Q:(g.value=-1,D.value.setSelectionRange((Z=f.value)==null?void 0:Z.length,(X=f.value)==null?void 0:X.length))}if(W.key==="ArrowRight"){if(g.value<0)return;const Q=g.value+1;m.value[Q]?g.value=Q:(g.value=-1,D.value.setSelectionRange(0,0))}}}function F(W){f.value=W.target.value}function B(W){if(n0(D.value,":autofill")||n0(D.value,":-webkit-autofill")){const H=a.value.find(ne=>ne.title===W.target.value);H&&G(H)}}function N(){var W;x.value&&(o.value=!0,(W=D.value)==null||W.focus())}function q(W){x.value=!0,setTimeout(()=>{t.value=!0})}function j(W){t.value=!1}function Y(W){(W==null||W===""&&!n.multiple)&&(m.value=[])}const U=Kr(!1);function G(W){if(n.multiple){const H=m.value.findIndex(ne=>n.valueComparator(ne.value,W.value));if(H===-1)m.value=[...m.value,W];else{const ne=[...m.value];ne.splice(H,1),m.value=ne}}else m.value=[W],U.value=!0,f.value=W.title,M.value=!1,o.value=!0,qa(()=>U.value=!1)}return ei(x,(W,H)=>{var ne;W!==H&&(W?(U.value=!0,f.value=n.multiple?"":String(((ne=m.value.at(-1))==null?void 0:ne.props.title)??""),o.value=!0,qa(()=>U.value=!1)):(!n.multiple&&!f.value?m.value=[]:E.value&&!t.value&&!m.value.some(te=>{let{value:Z}=te;return Z===w.value[0].value})&&G(w.value[0]),M.value=!1,f.value="",g.value=-1))}),ei(f,W=>{!x.value||U.value||(W&&(M.value=!0),o.value=!W)}),ei(M,()=>{if(!n.hideSelected&&M.value&&m.value.length){const W=w.value.findIndex(H=>m.value.some(ne=>H.value===ne.value));no&&window.requestAnimationFrame(()=>{var H;W>=0&&((H=v.value)==null||H.scrollToIndex(W))})}}),Fr(()=>{const W=!!(n.chips||r.chip),H=!!(!n.hideNoData||w.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),ne=m.value.length>0,[te]=Vd.filterProps(n);return dt(Vd,Zr({ref:D},te,{modelValue:f.value,"onUpdate:modelValue":Y,focused:x.value,"onUpdate:focused":Z=>x.value=Z,validationValue:m.externalValue,dirty:ne,onInput:F,onChange:B,class:["v-autocomplete",`v-autocomplete--${n.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":M.value,"v-autocomplete--chips":!!n.chips,"v-autocomplete--selection-slot":!!r.selection,"v-autocomplete--selecting-index":g.value>-1},n.class],style:n.style,readonly:n.readonly,placeholder:ne?void 0:n.placeholder,"onClick:clear":O,"onMousedown:control":I,onKeydown:z}),{...r,default:()=>dt(Xr,null,[dt(h1,Zr({ref:d,modelValue:M.value,"onUpdate:modelValue":Z=>M.value=Z,activator:"parent",contentClass:"v-autocomplete__content",disabled:T.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:N},n.menuProps),{default:()=>[H&&dt(c1,{ref:A,selected:k.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:Z=>Z.preventDefault(),onKeydown:b,onFocusin:q,onFocusout:j,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var Z,X,Q;return[(Z=r["prepend-item"])==null?void 0:Z.call(r),!w.value.length&&!n.hideNoData&&(((X=r["no-data"])==null?void 0:X.call(r))??dt(Xf,{title:S(n.noDataText)},null)),dt(g1,{ref:v,renderless:!0,items:w.value},{default:re=>{var ye;let{item:ie,index:oe,itemRef:ue}=re;const ce=Zr(ie.props,{ref:ue,key:oe,active:E.value&&oe===0?!0:void 0,onClick:()=>G(ie)});return((ye=r.item)==null?void 0:ye.call(r,{item:ie,index:oe,props:ce}))??dt(Xf,ce,{prepend:de=>{let{isSelected:me}=de;return dt(Xr,null,[n.multiple&&!n.hideSelected?dt(a0,{key:ie.value,modelValue:me,ripple:!1,tabindex:"-1"},null):void 0,ie.props.prependIcon&&dt(Wa,{icon:ie.props.prependIcon},null)])},title:()=>{var de,me;return o.value?ie.title:BH(ie.title,(de=C(ie))==null?void 0:de.title,((me=f.value)==null?void 0:me.length)??0)}})}}),(Q=r["append-item"])==null?void 0:Q.call(r)]}})]}),m.value.map((Z,X)=>{var ie;function Q(oe){oe.stopPropagation(),oe.preventDefault(),G(Z)}const re={"onClick:close":Q,onMousedown(oe){oe.preventDefault(),oe.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return dt("div",{key:Z.value,class:["v-autocomplete__selection",X===g.value&&["v-autocomplete__selection--selected",l.value]],style:X===g.value?h.value:{}},[W?r.chip?dt(Va,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:Z.title}}},{default:()=>{var oe;return[(oe=r.chip)==null?void 0:oe.call(r,{item:Z,index:X,props:re})]}}):dt(hg,Zr({key:"chip",closable:n.closableChips,size:"small",text:Z.title},re),null):((ie=r.selection)==null?void 0:ie.call(r,{item:Z,index:X}))??dt("span",{class:"v-autocomplete__selection-text"},[Z.title,n.multiple&&X(n.floating?n.dot?2:4:n.dot?8:12)+(["top","bottom"].includes(i)?+(n.offsetY??0):["left","right"].includes(i)?+(n.offsetX??0):0));return Fr(()=>{const i=Number(n.content),M=!n.max||isNaN(i)?n.content:i<=+n.max?i:`${n.max}+`,[g,p]=Fd(e.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return dt(n.tag,Zr({class:["v-badge",{"v-badge--bordered":n.bordered,"v-badge--dot":n.dot,"v-badge--floating":n.floating,"v-badge--inline":n.inline},n.class]},p,{style:n.style}),{default:()=>{var u,a;return[dt("div",{class:"v-badge__wrapper"},[(a=(u=e.slots).default)==null?void 0:a.call(u),dt(Ec,{transition:n.transition},{default:()=>{var c,s;return[Lo(dt("span",Zr({class:["v-badge__badge",d.value,r.value,D.value,o.value],style:[S.value,t.value,n.inline?{}:v.value],"aria-atomic":"true","aria-label":x(n.label,i),"aria-live":"polite",role:"status"},g),[n.dot?void 0:e.slots.badge?(s=(c=e.slots).badge)==null?void 0:s.call(c):n.icon?dt(Wa,{icon:n.icon},null):M]),[[vf,n.modelValue]])]}})])]}})}),{}}});const HH=cr({color:String,density:String,...Jr()},"VBannerActions"),MS=Er()({name:"VBannerActions",props:HH(),setup(n,e){let{slots:r}=e;return is({VBtn:{color:n.color,density:n.density,variant:"text"}}),Fr(()=>{var S;return dt("div",{class:["v-banner-actions",n.class],style:n.style},[(S=r.default)==null?void 0:S.call(r)])}),{}}}),AS=Nc("v-banner-text"),GH=cr({avatar:String,color:String,icon:wi,lines:String,stacked:Boolean,sticky:Boolean,text:String,...Au(),...Jr(),...ms(),...ec(),...ps(),...Gh(),...x0(),...uo(),...Li(),...sa()},"VBanner"),WH=Er()({name:"VBanner",props:GH(),setup(n,e){let{slots:r}=e;const{borderClasses:S}=nc(n),{densityClasses:D}=il(n),{mobile:x}=$d(),{dimensionStyles:o}=tc(n),{elevationClasses:t}=Ws(n),{locationStyles:d}=Wh(n),{positionClasses:v}=_0(n),{roundedClasses:i}=Oo(n),{themeClasses:M}=Ca(n),g=Ir(n,"color"),p=Ir(n,"density");is({VBannerActions:{color:g,density:p}}),Fr(()=>{const u=!!(n.text||r.text),a=!!(n.avatar||n.icon),c=!!(a||r.prepend);return dt(n.tag,{class:["v-banner",{"v-banner--stacked":n.stacked||x.value,"v-banner--sticky":n.sticky,[`v-banner--${n.lines}-line`]:!!n.lines},S.value,D.value,t.value,v.value,i.value,M.value,n.class],style:[o.value,d.value,n.style],role:"banner"},{default:()=>{var s;return[c&&dt("div",{key:"prepend",class:"v-banner__prepend"},[r.prepend?dt(Va,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{color:g.value,density:p.value,icon:n.icon,image:n.avatar}}},r.prepend):dt(Vh,{key:"prepend-avatar",color:g.value,density:p.value,icon:n.icon,image:n.avatar},null)]),dt("div",{class:"v-banner__content"},[u&&dt(AS,{key:"text"},{default:()=>{var l;return[((l=r.text)==null?void 0:l.call(r))??n.text]}}),(s=r.default)==null?void 0:s.call(r)]),r.actions&&dt(MS,{key:"actions"},r.actions)]}})})}});const qH=cr({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:n=>!n||["horizontal","shift"].includes(n)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...Au(),...Jr(),...ms(),...ps(),...uo(),...p0({name:"bottom-navigation"}),...Li({tag:"header"}),...g0({modelValue:!0,selectedClass:"v-btn--selected"}),...sa()},"VBottomNavigation"),$H=Er()({name:"VBottomNavigation",props:qH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=xA(),{borderClasses:D}=nc(n),{backgroundColorClasses:x,backgroundColorStyles:o}=Fo(Ir(n,"bgColor")),{densityClasses:t}=il(n),{elevationClasses:d}=Ws(n),{roundedClasses:v}=Oo(n),{ssrBootStyles:i}=Yd(),M=cn(()=>Number(n.height)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0)),g=Ir(n,"active"),{layoutItemStyles:p}=m0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:cn(()=>g.value?M.value:0),elementSize:M,active:g,absolute:Ir(n,"absolute")});return Kd(n,F_),is({VBtn:{color:Ir(n,"color"),density:Ir(n,"density"),stacked:cn(()=>n.mode!=="horizontal"),variant:"text"}},{scoped:!0}),Fr(()=>dt(n.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":g.value,"v-bottom-navigation--grow":n.grow,"v-bottom-navigation--shift":n.mode==="shift"},S.value,x.value,D.value,t.value,d.value,v.value,n.class],style:[o.value,p.value,{height:ii(M.value),transform:`translateY(${ii(g.value?0:100,"%")})`},i.value,n.style]},{default:()=>[r.default&&dt("div",{class:"v-bottom-navigation__content"},[r.default()])]})),{}}});const YH=cr({divider:[Number,String],...Jr()},"VBreadcrumbsDivider"),SS=Er()({name:"VBreadcrumbsDivider",props:YH(),setup(n,e){let{slots:r}=e;return Fr(()=>{var S;return dt("li",{class:["v-breadcrumbs-divider",n.class],style:n.style},[((S=r==null?void 0:r.default)==null?void 0:S.call(r))??n.divider])}),{}}}),ZH=cr({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...Jr(),...fg(),...Li({tag:"li"})},"VBreadcrumbsItem"),CS=Er()({name:"VBreadcrumbsItem",props:ZH(),setup(n,e){let{slots:r,attrs:S}=e;const D=cg(n,S),x=cn(()=>{var v;return n.active||((v=D.isActive)==null?void 0:v.value)}),o=cn(()=>x.value?n.activeColor:n.color),{textColorClasses:t,textColorStyles:d}=tl(o);return Fr(()=>dt(n.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":x.value,"v-breadcrumbs-item--disabled":n.disabled,[`${n.activeClass}`]:x.value&&n.activeClass},t.value,n.class],style:[d.value,n.style],"aria-current":x.value?"page":void 0},{default:()=>{var v,i;return[D.isLink.value?dt("a",{class:"v-breadcrumbs-item--link",href:D.href.value,"aria-current":x.value?"page":void 0,onClick:D.navigate},[((i=r.default)==null?void 0:i.call(r))??n.title]):((v=r.default)==null?void 0:v.call(r))??n.title]}})),{}}}),XH=cr({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:wi,items:{type:Array,default:()=>[]},...Jr(),...ms(),...uo(),...Li({tag:"ul"})},"VBreadcrumbs"),KH=Er()({name:"VBreadcrumbs",props:XH(),setup(n,e){let{slots:r}=e;const{backgroundColorClasses:S,backgroundColorStyles:D}=Fo(Ir(n,"bgColor")),{densityClasses:x}=il(n),{roundedClasses:o}=Oo(n);is({VBreadcrumbsDivider:{divider:Ir(n,"divider")},VBreadcrumbsItem:{activeClass:Ir(n,"activeClass"),activeColor:Ir(n,"activeColor"),color:Ir(n,"color"),disabled:Ir(n,"disabled")}});const t=cn(()=>n.items.map(d=>typeof d=="string"?{item:{title:d},raw:d}:{item:d,raw:d}));return Fr(()=>{const d=!!(r.prepend||n.icon);return dt(n.tag,{class:["v-breadcrumbs",S.value,x.value,o.value,n.class],style:[D.value,n.style]},{default:()=>{var v;return[d&&dt("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[r.prepend?dt(Va,{key:"prepend-defaults",disabled:!n.icon,defaults:{VIcon:{icon:n.icon,start:!0}}},r.prepend):dt(Wa,{key:"prepend-icon",start:!0,icon:n.icon},null)]),t.value.map((i,M,g)=>{let{item:p,raw:u}=i;return dt(Xr,null,[dt(CS,Zr({key:p.title,disabled:M>=g.length-1},p),{default:r.title?()=>{var a;return(a=r.title)==null?void 0:a.call(r,{item:u,index:M})}:void 0}),M{var a;return(a=r.divider)==null?void 0:a.call(r,{item:u,index:M})}:void 0})])}),(v=r.default)==null?void 0:v.call(r)]}})}),{}}});const ES=Er()({name:"VCardActions",props:Jr(),setup(n,e){let{slots:r}=e;return is({VBtn:{variant:"text"}}),Fr(()=>{var S;return dt("div",{class:["v-card-actions",n.class],style:n.style},[(S=r.default)==null?void 0:S.call(r)])}),{}}}),LS=Nc("v-card-subtitle"),IS=Nc("v-card-title"),JH=cr({appendAvatar:String,appendIcon:wi,prependAvatar:String,prependIcon:wi,subtitle:String,title:String,...Jr(),...ms()},"VCardItem"),OS=Er()({name:"VCardItem",props:JH(),setup(n,e){let{slots:r}=e;return Fr(()=>{var v;const S=!!(n.prependAvatar||n.prependIcon),D=!!(S||r.prepend),x=!!(n.appendAvatar||n.appendIcon),o=!!(x||r.append),t=!!(n.title||r.title),d=!!(n.subtitle||r.subtitle);return dt("div",{class:["v-card-item",n.class],style:n.style},[D&&dt("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?dt(Va,{key:"prepend-defaults",disabled:!S,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},r.prepend):S&&dt(Vh,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),dt("div",{class:"v-card-item__content"},[t&&dt(IS,{key:"title"},{default:()=>{var i;return[((i=r.title)==null?void 0:i.call(r))??n.title]}}),d&&dt(LS,{key:"subtitle"},{default:()=>{var i;return[((i=r.subtitle)==null?void 0:i.call(r))??n.subtitle]}}),(v=r.default)==null?void 0:v.call(r)]),o&&dt("div",{key:"append",class:"v-card-item__append"},[r.append?dt(Va,{key:"append-defaults",disabled:!x,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},r.append):x&&dt(Vh,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),PS=Nc("v-card-text"),QH=cr({appendAvatar:String,appendIcon:wi,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:wi,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Au(),...Jr(),...ms(),...ec(),...ps(),...j_(),...Gh(),...x0(),...uo(),...fg(),...Li(),...sa(),...rc({variant:"elevated"})},"VCard"),eG=Er()({name:"VCard",directives:{Ripple:qh},props:QH(),setup(n,e){let{attrs:r,slots:S}=e;const{themeClasses:D}=Ca(n),{borderClasses:x}=nc(n),{colorClasses:o,colorStyles:t,variantClasses:d}=Xd(n),{densityClasses:v}=il(n),{dimensionStyles:i}=tc(n),{elevationClasses:M}=Ws(n),{loaderClasses:g}=o1(n),{locationStyles:p}=Wh(n),{positionClasses:u}=_0(n),{roundedClasses:a}=Oo(n),c=cg(n,r),s=cn(()=>n.link!==!1&&c.isLink.value),l=cn(()=>!n.disabled&&n.link!==!1&&(n.link||c.isClickable.value));return Fr(()=>{const h=s.value?"a":n.tag,f=!!(S.title||n.title),m=!!(S.subtitle||n.subtitle),_=f||m,y=!!(S.append||n.appendAvatar||n.appendIcon),C=!!(S.prepend||n.prependAvatar||n.prependIcon),w=!!(S.image||n.image),k=_||C||y,E=!!(S.text||n.text);return Lo(dt(h,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":l.value},D.value,x.value,o.value,v.value,M.value,g.value,u.value,a.value,d.value,n.class],style:[t.value,i.value,p.value,n.style],href:c.href.value,onClick:l.value&&c.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var T;return[w&&dt("div",{key:"image",class:"v-card__image"},[S.image?dt(Va,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},S.image):dt(Bd,{key:"image-img",cover:!0,src:n.image},null)]),dt(U_,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:S.loader}),k&&dt(OS,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:S.item,prepend:S.prepend,title:S.title,subtitle:S.subtitle,append:S.append}),E&&dt(PS,{key:"text"},{default:()=>{var A;return[((A=S.text)==null?void 0:A.call(S))??n.text]}}),(T=S.default)==null?void 0:T.call(S),S.actions&&dt(ES,null,{default:S.actions}),Zd(l.value,"v-card")]}}),[[Tu("ripple"),l.value&&n.ripple]])}),{}}});const tG=n=>{const{touchstartX:e,touchendX:r,touchstartY:S,touchendY:D}=n,x=.5,o=16;n.offsetX=r-e,n.offsetY=D-S,Math.abs(n.offsetY)e+o&&n.right(n)),Math.abs(n.offsetX)S+o&&n.down(n))};function nG(n,e){var S;const r=n.changedTouches[0];e.touchstartX=r.clientX,e.touchstartY=r.clientY,(S=e.start)==null||S.call(e,{originalEvent:n,...e})}function rG(n,e){var S;const r=n.changedTouches[0];e.touchendX=r.clientX,e.touchendY=r.clientY,(S=e.end)==null||S.call(e,{originalEvent:n,...e}),tG(e)}function iG(n,e){var S;const r=n.changedTouches[0];e.touchmoveX=r.clientX,e.touchmoveY=r.clientY,(S=e.move)==null||S.call(e,{originalEvent:n,...e})}function aG(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:n.left,right:n.right,up:n.up,down:n.down,start:n.start,move:n.move,end:n.end};return{touchstart:r=>nG(r,e),touchend:r=>rG(r,e),touchmove:r=>iG(r,e)}}function oG(n,e){var t;const r=e.value,S=r!=null&&r.parent?n.parentElement:n,D=(r==null?void 0:r.options)??{passive:!0},x=(t=e.instance)==null?void 0:t.$.uid;if(!S||!x)return;const o=aG(e.value);S._touchHandlers=S._touchHandlers??Object.create(null),S._touchHandlers[x]=o,JM(o).forEach(d=>{S.addEventListener(d,o[d],D)})}function sG(n,e){var x,o;const r=(x=e.value)!=null&&x.parent?n.parentElement:n,S=(o=e.instance)==null?void 0:o.$.uid;if(!(r!=null&&r._touchHandlers)||!S)return;const D=r._touchHandlers[S];JM(D).forEach(t=>{r.removeEventListener(t,D[t])}),delete r._touchHandlers[S]}const K_={mounted:oG,unmounted:sG},DS=Symbol.for("vuetify:v-window"),RS=Symbol.for("vuetify:v-window-group"),zS=cr({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||n==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...Jr(),...Li(),...sa()},"VWindow"),Rx=Er()({name:"VWindow",directives:{Touch:K_},props:zS(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{isRtl:D}=Ls(),{t:x}=Qu(),o=Kd(n,RS),t=Gr(),d=cn(()=>D.value?!n.reverse:n.reverse),v=Kr(!1),i=cn(()=>{const f=n.direction==="vertical"?"y":"x",_=(d.value?!v.value:v.value)?"-reverse":"";return`v-window-${f}${_}-transition`}),M=Kr(0),g=Gr(void 0),p=cn(()=>o.items.value.findIndex(f=>o.selected.value.includes(f.id)));ei(p,(f,m)=>{const _=o.items.value.length,y=_-1;_<=2?v.value=fn.continuous||p.value!==0),a=cn(()=>n.continuous||p.value!==o.items.value.length-1);function c(){u.value&&o.prev()}function s(){a.value&&o.next()}const l=cn(()=>{const f=[],m={icon:D.value?n.nextIcon:n.prevIcon,class:`v-window__${d.value?"right":"left"}`,onClick:o.prev,ariaLabel:x("$vuetify.carousel.prev")};f.push(u.value?r.prev?r.prev({props:m}):dt(Ml,m,null):dt("div",null,null));const _={icon:D.value?n.prevIcon:n.nextIcon,class:`v-window__${d.value?"left":"right"}`,onClick:o.next,ariaLabel:x("$vuetify.carousel.next")};return f.push(a.value?r.next?r.next({props:_}):dt(Ml,_,null):dt("div",null,null)),f}),h=cn(()=>n.touch===!1?n.touch:{...{left:()=>{d.value?c():s()},right:()=>{d.value?s():c()},start:m=>{let{originalEvent:_}=m;_.stopPropagation()}},...n.touch===!0?{}:n.touch});return Fr(()=>Lo(dt(n.tag,{ref:t,class:["v-window",{"v-window--show-arrows-on-hover":n.showArrows==="hover"},S.value,n.class],style:n.style},{default:()=>{var f,m;return[dt("div",{class:"v-window__container",style:{height:g.value}},[(f=r.default)==null?void 0:f.call(r,{group:o}),n.showArrows!==!1&&dt("div",{class:"v-window__controls"},[l.value])]),(m=r.additional)==null?void 0:m.call(r,{group:o})]}}),[[Tu("touch"),h.value]])),{group:o}}}),lG=cr({color:String,cycle:Boolean,delimiterIcon:{type:wi,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:n=>Number(n)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...zS({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),uG=Er()({name:"VCarousel",props:lG(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),{t:D}=Qu(),x=Gr();let o=-1;ei(S,d),ei(()=>n.interval,d),ei(()=>n.cycle,v=>{v?d():window.clearTimeout(o)}),nl(t);function t(){!n.cycle||!x.value||(o=window.setTimeout(x.value.group.next,+n.interval>0?+n.interval:6e3))}function d(){window.clearTimeout(o),window.requestAnimationFrame(t)}return Fr(()=>{const[v]=Rx.filterProps(n);return dt(Rx,Zr({ref:x},v,{modelValue:S.value,"onUpdate:modelValue":i=>S.value=i,class:["v-carousel",{"v-carousel--hide-delimiter-background":n.hideDelimiterBackground,"v-carousel--vertical-delimiters":n.verticalDelimiters},n.class],style:[{height:ii(n.height)},n.style]}),{default:r.default,additional:i=>{let{group:M}=i;return dt(Xr,null,[!n.hideDelimiters&&dt("div",{class:"v-carousel__controls",style:{left:n.verticalDelimiters==="left"&&n.verticalDelimiters?0:"auto",right:n.verticalDelimiters==="right"?0:"auto"}},[M.items.value.length>0&&dt(Va,{defaults:{VBtn:{color:n.color,icon:n.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[M.items.value.map((g,p)=>{const u={id:`carousel-item-${g.id}`,"aria-label":D("$vuetify.carousel.ariaLabel.delimiter",p+1,M.items.value.length),class:[M.isSelected(g.id)&&"v-btn--active"],onClick:()=>M.select(g.id,!0)};return r.item?r.item({props:u,item:g}):dt(Ml,Zr(g,u),null)})]})]),n.progress&&dt(V_,{class:"v-carousel__progress",color:typeof n.progress=="string"?n.progress:void 0,modelValue:(M.getItemIndex(S.value)+1)/M.items.value.length*100},null)])},prev:r.prev,next:r.next})}),{}}}),FS=cr({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...Jr(),...v0(),...f1()},"VWindowItem"),zx=Er()({name:"VWindowItem",directives:{Touch:K_},props:FS(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const S=Sa(DS),D=y0(n,RS),{isBooted:x}=Yd();if(!S||!D)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const o=Kr(!1),t=cn(()=>x.value&&(S.isReversed.value?n.reverseTransition!==!1:n.transition!==!1));function d(){!o.value||!S||(o.value=!1,S.transitionCount.value>0&&(S.transitionCount.value-=1,S.transitionCount.value===0&&(S.transitionHeight.value=void 0)))}function v(){var u;o.value||!S||(o.value=!0,S.transitionCount.value===0&&(S.transitionHeight.value=ii((u=S.rootRef.value)==null?void 0:u.clientHeight)),S.transitionCount.value+=1)}function i(){d()}function M(u){o.value&&qa(()=>{!t.value||!o.value||!S||(S.transitionHeight.value=ii(u.clientHeight))})}const g=cn(()=>{const u=S.isReversed.value?n.reverseTransition:n.transition;return t.value?{name:typeof u!="string"?S.transition.value:u,onBeforeEnter:v,onAfterEnter:d,onEnterCancelled:i,onBeforeLeave:v,onAfterLeave:d,onLeaveCancelled:i,onEnter:M}:!1}),{hasContent:p}=$_(n,D.isSelected);return Fr(()=>dt(Ec,{transition:g.value,disabled:!x.value},{default:()=>{var u;return[Lo(dt("div",{class:["v-window-item",D.selectedClass.value,n.class],style:n.style},[p.value&&((u=r.default)==null?void 0:u.call(r))]),[[vf,D.isSelected.value]])]}})),{groupItem:D}}}),cG=cr({...OA(),...FS()},"VCarouselItem"),fG=Er()({name:"VCarouselItem",inheritAttrs:!1,props:cG(),setup(n,e){let{slots:r,attrs:S}=e;Fr(()=>{const[D]=Bd.filterProps(n),[x]=zx.filterProps(n);return dt(zx,Zr({class:"v-carousel-item"},x),{default:()=>[dt(Bd,Zr(S,D),r)]})})}});const hG=Nc("v-code");const dG=cr({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...Jr()},"VColorPickerCanvas"),pG=Ju({name:"VColorPickerCanvas",props:dG(),emits:{"update:color":n=>!0,"update:position":n=>!0},setup(n,e){let{emit:r}=e;const S=Kr(!1),D=Gr(),x=Kr(parseFloat(n.width)),o=Kr(parseFloat(n.height)),t=Gr({x:0,y:0}),d=cn({get:()=>t.value,set(c){var h,f;if(!D.value)return;const{x:s,y:l}=c;r("update:color",{h:((h=n.color)==null?void 0:h.h)??0,s:el(s,0,x.value)/x.value,v:1-el(l,0,o.value)/o.value,a:((f=n.color)==null?void 0:f.a)??1})}}),v=cn(()=>{const{x:c,y:s}=d.value,l=parseInt(n.dotSize,10)/2;return{width:ii(n.dotSize),height:ii(n.dotSize),transform:`translate(${ii(c-l)}, ${ii(s-l)})`}}),{resizeRef:i}=gf(c=>{var h;if(!((h=i.value)!=null&&h.offsetParent))return;const{width:s,height:l}=c[0].contentRect;x.value=s,o.value=l});function M(c,s,l){const{left:h,top:f,width:m,height:_}=l;d.value={x:el(c-h,0,m),y:el(s-f,0,_)}}function g(c){c.type==="mousedown"&&c.preventDefault(),!n.disabled&&(p(c),window.addEventListener("mousemove",p),window.addEventListener("mouseup",u),window.addEventListener("touchmove",p),window.addEventListener("touchend",u))}function p(c){if(n.disabled||!D.value)return;S.value=!0;const s=uV(c);M(s.clientX,s.clientY,D.value.getBoundingClientRect())}function u(){window.removeEventListener("mousemove",p),window.removeEventListener("mouseup",u),window.removeEventListener("touchmove",p),window.removeEventListener("touchend",u)}function a(){var f;if(!D.value)return;const c=D.value,s=c.getContext("2d");if(!s)return;const l=s.createLinearGradient(0,0,c.width,0);l.addColorStop(0,"hsla(0, 0%, 100%, 1)"),l.addColorStop(1,`hsla(${((f=n.color)==null?void 0:f.h)??0}, 100%, 50%, 1)`),s.fillStyle=l,s.fillRect(0,0,c.width,c.height);const h=s.createLinearGradient(0,0,0,c.height);h.addColorStop(0,"hsla(0, 0%, 100%, 0)"),h.addColorStop(1,"hsla(0, 0%, 0%, 1)"),s.fillStyle=h,s.fillRect(0,0,c.width,c.height)}return ei(()=>{var c;return(c=n.color)==null?void 0:c.h},a,{immediate:!0}),ei(()=>[x.value,o.value],(c,s)=>{a(),t.value={x:d.value.x*c[0]/s[0],y:d.value.y*c[1]/s[1]}},{flush:"post"}),ei(()=>n.color,()=>{if(S.value){S.value=!1;return}t.value=n.color?{x:n.color.s*x.value,y:(1-n.color.v)*o.value}:{x:0,y:0}},{deep:!0,immediate:!0}),nl(()=>a()),Fr(()=>dt("div",{ref:i,class:["v-color-picker-canvas",n.class],style:n.style,onMousedown:g,onTouchstartPassive:g},[dt("canvas",{ref:D,width:x.value,height:o.value},null),n.color&&dt("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":n.disabled}],style:v.value},null)])),{}}});function mG(n,e){if(e){const{a:r,...S}=n;return S}return n}function gG(n,e){if(e==null||typeof e=="string"){const r=dA(n);return n.a===1?r.slice(0,7):r}if(typeof e=="object"){let r;return xd(e,["r","g","b"])?r=Zf(n):xd(e,["h","s","l"])?r=lA(n):xd(e,["h","s","v"])&&(r=n),mG(r,!xd(e,["a"])&&n.a===1)}return n}const mm={h:0,s:0,v:1,a:1},Fx={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:n=>Math.round(n.r),getColor:(n,e)=>({...n,r:Number(e)})},{label:"G",max:255,step:1,getValue:n=>Math.round(n.g),getColor:(n,e)=>({...n,g:Number(e)})},{label:"B",max:255,step:1,getValue:n=>Math.round(n.b),getColor:(n,e)=>({...n,b:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:Zf,from:t1};var KT;const vG={...Fx,inputs:(KT=Fx.inputs)==null?void 0:KT.slice(0,3)},Bx={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:n=>Math.round(n.h),getColor:(n,e)=>({...n,h:Number(e)})},{label:"S",max:1,step:.01,getValue:n=>Math.round(n.s*100)/100,getColor:(n,e)=>({...n,s:Number(e)})},{label:"L",max:1,step:.01,getValue:n=>Math.round(n.l*100)/100,getColor:(n,e)=>({...n,l:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:lA,from:A_},yG={...Bx,inputs:Bx.inputs.slice(0,3)},BS={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:n=>n,getColor:(n,e)=>e}],to:dA,from:CV},bG={...BS,inputs:[{label:"HEX",getValue:n=>n.slice(0,7),getColor:(n,e)=>e}]},Cd={rgb:vG,rgba:Fx,hsl:yG,hsla:Bx,hex:bG,hexa:BS},xG=n=>{let{label:e,...r}=n;return dt("div",{class:"v-color-picker-edit__input"},[dt("input",r,null),dt("span",null,[e])])},_G=cr({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Cd).includes(n)},modes:{type:Array,default:()=>Object.keys(Cd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Cd).includes(e))},...Jr()},"VColorPickerEdit"),wG=Ju({name:"VColorPickerEdit",props:_G(),emits:{"update:color":n=>!0,"update:mode":n=>!0},setup(n,e){let{emit:r}=e;const S=cn(()=>n.modes.map(x=>({...Cd[x],name:x}))),D=cn(()=>{var t;const x=S.value.find(d=>d.name===n.mode);if(!x)return[];const o=n.color?x.to(n.color):null;return(t=x.inputs)==null?void 0:t.map(d=>{let{getValue:v,getColor:i,...M}=d;return{...x.inputProps,...M,disabled:n.disabled,value:o&&v(o),onChange:g=>{const p=g.target;p&&r("update:color",x.from(i(o??mm,p.value)))}}})});return Fr(()=>{var x;return dt("div",{class:["v-color-picker-edit",n.class],style:n.style},[(x=D.value)==null?void 0:x.map(o=>dt(xG,o,null)),S.value.length>1&&dt(Ml,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const o=S.value.findIndex(t=>t.name===n.mode);r("update:mode",S.value[(o+1)%S.value.length].name)}},null)])}),{}}});const J_=Symbol.for("vuetify:v-slider");function Nx(n,e,r){const S=r==="vertical",D=e.getBoundingClientRect(),x="touches"in n?n.touches[0]:n;return S?x.clientY-(D.top+D.height/2):x.clientX-(D.left+D.width/2)}function TG(n,e){return"touches"in n&&n.touches.length?n.touches[0][e]:"changedTouches"in n&&n.changedTouches.length?n.changedTouches[0][e]:n[e]}const NS=cr({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:n=>typeof n=="boolean"||n==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:n=>typeof n=="boolean"||n==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:n=>["vertical","horizontal"].includes(n)},reverse:Boolean,...uo(),...ps({elevation:2})},"Slider"),VS=n=>{const e=cn(()=>parseFloat(n.min)),r=cn(()=>parseFloat(n.max)),S=cn(()=>+n.step>0?parseFloat(n.step):0),D=cn(()=>Math.max(iT(S.value),iT(e.value)));function x(o){if(o=parseFloat(o),S.value<=0)return o;const t=el(o,e.value,r.value),d=e.value%S.value,v=Math.round((t-d)/S.value)*S.value+d;return parseFloat(Math.min(v,r.value).toFixed(D.value))}return{min:e,max:r,step:S,decimals:D,roundValue:x}},jS=n=>{let{props:e,steps:r,onSliderStart:S,onSliderMove:D,onSliderEnd:x,getActiveThumb:o}=n;const{isRtl:t}=Ls(),d=Ir(e,"reverse"),v=cn(()=>{let U=t.value?"rtl":"ltr";return e.reverse&&(U=U==="rtl"?"ltr":"rtl"),U}),{min:i,max:M,step:g,decimals:p,roundValue:u}=r,a=cn(()=>parseInt(e.thumbSize,10)),c=cn(()=>parseInt(e.tickSize,10)),s=cn(()=>parseInt(e.trackSize,10)),l=cn(()=>(M.value-i.value)/g.value),h=Ir(e,"disabled"),f=cn(()=>e.direction==="vertical"),m=cn(()=>e.error||e.disabled?void 0:e.thumbColor??e.color),_=cn(()=>e.error||e.disabled?void 0:e.trackColor??e.color),y=cn(()=>e.error||e.disabled?void 0:e.trackFillColor??e.color),C=Kr(!1),w=Kr(0),k=Gr(),E=Gr();function T(U){var re;const G=e.direction==="vertical",W=G?"top":"left",H=G?"height":"width",ne=G?"clientY":"clientX",{[W]:te,[H]:Z}=(re=k.value)==null?void 0:re.$el.getBoundingClientRect(),X=TG(U,ne);let Q=Math.min(Math.max((X-te-w.value)/Z,0),1)||0;return(G||v.value==="rtl")&&(Q=1-Q),u(i.value+Q*(M.value-i.value))}const A=U=>{x({value:T(U)}),C.value=!1,w.value=0},L=U=>{E.value=o(U),E.value&&(E.value.focus(),C.value=!0,E.value.contains(U.target)?w.value=Nx(U,E.value,e.direction):(w.value=0,D({value:T(U)})),S({value:T(U)}))},b={passive:!0,capture:!0};function O(U){D({value:T(U)})}function I(U){U.stopPropagation(),U.preventDefault(),A(U),window.removeEventListener("mousemove",O,b),window.removeEventListener("mouseup",I)}function R(U){var G;A(U),window.removeEventListener("touchmove",O,b),(G=U.target)==null||G.removeEventListener("touchend",R)}function z(U){var G;L(U),window.addEventListener("touchmove",O,b),(G=U.target)==null||G.addEventListener("touchend",R,{passive:!1})}function F(U){U.preventDefault(),L(U),window.addEventListener("mousemove",O,b),window.addEventListener("mouseup",I,{passive:!1})}const B=U=>{const G=(U-i.value)/(M.value-i.value)*100;return el(isNaN(G)?0:G,0,100)},N=Ir(e,"showTicks"),q=cn(()=>N.value?e.ticks?Array.isArray(e.ticks)?e.ticks.map(U=>({value:U,position:B(U),label:U.toString()})):Object.keys(e.ticks).map(U=>({value:parseFloat(U),position:B(parseFloat(U)),label:e.ticks[U]})):l.value!==1/0?Gf(l.value+1).map(U=>{const G=i.value+U*g.value;return{value:G,position:B(G)}}):[]:[]),j=cn(()=>q.value.some(U=>{let{label:G}=U;return!!G})),Y={activeThumbRef:E,color:Ir(e,"color"),decimals:p,disabled:h,direction:Ir(e,"direction"),elevation:Ir(e,"elevation"),hasLabels:j,horizontalDirection:v,isReversed:d,min:i,max:M,mousePressed:C,numTicks:l,onSliderMousedown:F,onSliderTouchstart:z,parsedTicks:q,parseMouseMove:T,position:B,readonly:Ir(e,"readonly"),rounded:Ir(e,"rounded"),roundValue:u,showTicks:N,startOffset:w,step:g,thumbSize:a,thumbColor:m,thumbLabel:Ir(e,"thumbLabel"),ticks:Ir(e,"ticks"),tickSize:c,trackColor:_,trackContainerRef:k,trackFillColor:y,trackSize:s,vertical:f};return as(J_,Y),Y},kG=cr({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...Jr()},"VSliderThumb"),Vx=Er()({name:"VSliderThumb",directives:{Ripple:qh},props:kG(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=Sa(J_),{rtlClasses:x}=Ls();if(!D)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:o,step:t,vertical:d,disabled:v,thumbSize:i,thumbLabel:M,direction:g,readonly:p,elevation:u,isReversed:a,horizontalDirection:c,mousePressed:s,decimals:l}=D,{textColorClasses:h,textColorStyles:f}=tl(o),{pageup:m,pagedown:_,end:y,home:C,left:w,right:k,down:E,up:T}=mx,A=[m,_,y,C,w,k,E,T],L=cn(()=>t.value?[1,2,3]:[1,5,10]);function b(I,R){if(!A.includes(I.key))return;I.preventDefault();const z=t.value||.1,F=(n.max-n.min)/z;if([w,k,E,T].includes(I.key)){const N=(c.value==="rtl"?[w,T]:[k,T]).includes(I.key)?1:-1,q=I.shiftKey?2:I.ctrlKey?1:0;R=R+N*z*L.value[q]}else if(I.key===C)R=n.min;else if(I.key===y)R=n.max;else{const B=I.key===_?1:-1;R=R-B*z*(F>100?F/10:10)}return Math.max(n.min,Math.min(n.max,R))}function O(I){const R=b(I,n.modelValue);R!=null&&S("update:modelValue",R)}return Fr(()=>{const I=ii(d.value||a.value?100-n.position:n.position,"%"),{elevationClasses:R}=Ws(cn(()=>v.value?void 0:u.value));return dt("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":n.focused,"v-slider-thumb--pressed":n.focused&&s.value},n.class,x.value],style:[{"--v-slider-thumb-position":I,"--v-slider-thumb-size":ii(i.value)},n.style],role:"slider",tabindex:v.value?-1:0,"aria-valuemin":n.min,"aria-valuemax":n.max,"aria-valuenow":n.modelValue,"aria-readonly":!!p.value,"aria-orientation":g.value,onKeydown:p.value?void 0:O},[dt("div",{class:["v-slider-thumb__surface",h.value,R.value],style:{...f.value}},null),Lo(dt("div",{class:["v-slider-thumb__ripple",h.value],style:f.value},null),[[Tu("ripple"),n.ripple,null,{circle:!0,center:!0}]]),dt(P_,{origin:"bottom center"},{default:()=>{var z;return[Lo(dt("div",{class:"v-slider-thumb__label-container"},[dt("div",{class:["v-slider-thumb__label"]},[dt("div",null,[((z=r["thumb-label"])==null?void 0:z.call(r,{modelValue:n.modelValue}))??n.modelValue.toFixed(t.value?l.value:1)])])]),[[vf,M.value&&n.focused||M.value==="always"]])]}})])}),{}}});const MG=cr({start:{type:Number,required:!0},stop:{type:Number,required:!0},...Jr()},"VSliderTrack"),US=Er()({name:"VSliderTrack",props:MG(),emits:{},setup(n,e){let{slots:r}=e;const S=Sa(J_);if(!S)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:D,horizontalDirection:x,parsedTicks:o,rounded:t,showTicks:d,tickSize:v,trackColor:i,trackFillColor:M,trackSize:g,vertical:p,min:u,max:a}=S,{roundedClasses:c}=Oo(t),{backgroundColorClasses:s,backgroundColorStyles:l}=Fo(M),{backgroundColorClasses:h,backgroundColorStyles:f}=Fo(i),m=cn(()=>`inset-${p.value?"block-end":"inline-start"}`),_=cn(()=>p.value?"height":"width"),y=cn(()=>({[m.value]:"0%",[_.value]:"100%"})),C=cn(()=>n.stop-n.start),w=cn(()=>({[m.value]:ii(n.start,"%"),[_.value]:ii(C.value,"%")})),k=cn(()=>d.value?(p.value?o.value.slice().reverse():o.value).map((T,A)=>{var O;const L=p.value?"bottom":"margin-inline-start",b=T.value!==u.value&&T.value!==a.value?ii(T.position,"%"):void 0;return dt("div",{key:T.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":T.position>=n.start&&T.position<=n.stop,"v-slider-track__tick--first":T.value===u.value,"v-slider-track__tick--last":T.value===a.value}],style:{[L]:b}},[(T.label||r["tick-label"])&&dt("div",{class:"v-slider-track__tick-label"},[((O=r["tick-label"])==null?void 0:O.call(r,{tick:T,index:A}))??T.label])])}):[]);return Fr(()=>dt("div",{class:["v-slider-track",c.value,n.class],style:[{"--v-slider-track-size":ii(g.value),"--v-slider-tick-size":ii(v.value),direction:p.value?void 0:x.value},n.style]},[dt("div",{class:["v-slider-track__background",h.value,{"v-slider-track__background--opacity":!!D.value||!M.value}],style:{...y.value,...f.value}},null),dt("div",{class:["v-slider-track__fill",s.value],style:{...w.value,...l.value}},null),d.value&&dt("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":d.value==="always"}]},[k.value])])),{}}}),AG=cr({...l1(),...NS(),...uh(),modelValue:{type:[Number,String],default:0}},"VSlider"),jx=Er()({name:"VSlider",props:AG(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,start:n=>!0,end:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=Gr(),{rtlClasses:x}=Ls(),o=VS(n),t=Ti(n,"modelValue",void 0,_=>o.roundValue(_??o.min.value)),{min:d,max:v,mousePressed:i,roundValue:M,onSliderMousedown:g,onSliderTouchstart:p,trackContainerRef:u,position:a,hasLabels:c,readonly:s}=jS({props:n,steps:o,onSliderStart:()=>{S("start",t.value)},onSliderEnd:_=>{let{value:y}=_;const C=M(y);t.value=C,S("end",C)},onSliderMove:_=>{let{value:y}=_;return t.value=M(y)},getActiveThumb:()=>{var _;return(_=D.value)==null?void 0:_.$el}}),{isFocused:l,focus:h,blur:f}=$h(n),m=cn(()=>a(t.value));return Fr(()=>{const[_,y]=Gs.filterProps(n),C=!!(n.label||r.label||r.prepend);return dt(Gs,Zr({class:["v-slider",{"v-slider--has-labels":!!r["tick-label"]||c.value,"v-slider--focused":l.value,"v-slider--pressed":i.value,"v-slider--disabled":n.disabled},x.value,n.class],style:n.style},_,{focused:l.value}),{...r,prepend:C?w=>{var k,E;return dt(Xr,null,[((k=r.label)==null?void 0:k.call(r,w))??n.label?dt(w0,{id:w.id.value,class:"v-slider__label",text:n.label},null):void 0,(E=r.prepend)==null?void 0:E.call(r,w)])}:void 0,default:w=>{let{id:k,messagesId:E}=w;return dt("div",{class:"v-slider__container",onMousedown:s.value?void 0:g,onTouchstartPassive:s.value?void 0:p},[dt("input",{id:k.value,name:n.name||k.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:t.value},null),dt(US,{ref:u,start:0,stop:m.value},{"tick-label":r["tick-label"]}),dt(Vx,{ref:D,"aria-describedby":E.value,focused:l.value,min:d.value,max:v.value,modelValue:t.value,"onUpdate:modelValue":T=>t.value=T,position:m.value,elevation:n.elevation,onFocus:h,onBlur:f},{"thumb-label":r["thumb-label"]})])}})}),{}}}),SG=cr({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...Jr()},"VColorPickerPreview"),CG=Ju({name:"VColorPickerPreview",props:SG(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Fr(()=>{var S,D;return dt("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":n.hideAlpha},n.class],style:n.style},[dt("div",{class:"v-color-picker-preview__dot"},[dt("div",{style:{background:cA(n.color??mm)}},null)]),dt("div",{class:"v-color-picker-preview__sliders"},[dt(jx,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(S=n.color)==null?void 0:S.h,"onUpdate:modelValue":x=>r("update:color",{...n.color??mm,h:x}),step:0,min:0,max:360,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!n.hideAlpha&&dt(jx,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((D=n.color)==null?void 0:D.a)??1,"onUpdate:modelValue":x=>r("update:color",{...n.color??mm,a:x}),step:1/256,min:0,max:1,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}});const EG=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),LG=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),IG=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),OG=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),PG=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),DG=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),RG=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),zG=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),FG=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),BG=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),NG=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),VG=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),jG=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),UG=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),HG=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),GG=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),WG=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),qG=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),$G=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),YG=Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"}),ZG=Object.freeze({red:EG,pink:LG,purple:IG,deepPurple:OG,indigo:PG,blue:DG,lightBlue:RG,cyan:zG,teal:FG,green:BG,lightGreen:NG,lime:VG,yellow:jG,amber:UG,orange:HG,deepOrange:GG,brown:WG,blueGrey:qG,grey:$G,shades:YG}),XG=cr({swatches:{type:Array,default:()=>KG(ZG)},disabled:Boolean,color:Object,maxHeight:[Number,String],...Jr()},"VColorPickerSwatches");function KG(n){return Object.keys(n).map(e=>{const r=n[e];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const JG=Ju({name:"VColorPickerSwatches",props:XG(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Fr(()=>dt("div",{class:["v-color-picker-swatches",n.class],style:[{maxHeight:ii(n.maxHeight)},n.style]},[dt("div",null,[n.swatches.map(S=>dt("div",{class:"v-color-picker-swatches__swatch"},[S.map(D=>{const x=Cc(D),o=t1(x),t=uA(x);return dt("div",{class:"v-color-picker-swatches__color",onClick:()=>o&&r("update:color",o)},[dt("div",{style:{background:t}},[n.color&&d0(n.color,o)?dt(Wa,{size:"x-small",icon:"$success",color:OV(D,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}});const HS=cr({color:String,...Au(),...Jr(),...ec(),...ps(),...Gh(),...x0(),...uo(),...Li(),...sa()},"VSheet"),Ux=Er()({name:"VSheet",props:HS(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{backgroundColorClasses:D,backgroundColorStyles:x}=Fo(Ir(n,"color")),{borderClasses:o}=nc(n),{dimensionStyles:t}=tc(n),{elevationClasses:d}=Ws(n),{locationStyles:v}=Wh(n),{positionClasses:i}=_0(n),{roundedClasses:M}=Oo(n);return Fr(()=>dt(n.tag,{class:["v-sheet",S.value,D.value,o.value,d.value,i.value,M.value,n.class],style:[x.value,t.value,v.value,n.style]},r)),{}}}),QG=cr({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Cd).includes(n)},modes:{type:Array,default:()=>Object.keys(Cd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Cd).includes(e))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...Ku(HS({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),eW=Ju({name:"VColorPicker",props:QG(),emits:{"update:modelValue":n=>!0,"update:mode":n=>!0},setup(n){const e=Ti(n,"mode"),r=Gr(null),S=Ti(n,"modelValue",void 0,o=>{if(o==null||o==="")return null;let t;try{t=t1(Cc(o))}catch{return null}return r.value&&(t={...t,h:r.value.h},r.value=null),t},o=>o?gG(o,n.modelValue):null),{rtlClasses:D}=Ls(),x=o=>{S.value=o,r.value=o};return nl(()=>{n.modes.includes(e.value)||(e.value=n.modes[0])}),is({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),Fr(()=>{const[o]=Ux.filterProps(n);return dt(Ux,Zr({rounded:n.rounded,elevation:n.elevation,theme:n.theme,class:["v-color-picker",D.value,n.class],style:[{"--v-color-picker-color-hsv":cA({...S.value??mm,a:1})},n.style]},o,{maxWidth:n.width}),{default:()=>[!n.hideCanvas&&dt(pG,{key:"canvas",color:S.value,"onUpdate:color":x,disabled:n.disabled,dotSize:n.dotSize,width:n.width,height:n.canvasHeight},null),(!n.hideSliders||!n.hideInputs)&&dt("div",{key:"controls",class:"v-color-picker__controls"},[!n.hideSliders&&dt(CG,{key:"preview",color:S.value,"onUpdate:color":x,hideAlpha:!e.value.endsWith("a"),disabled:n.disabled},null),!n.hideInputs&&dt(wG,{key:"edit",modes:n.modes,mode:e.value,"onUpdate:mode":t=>e.value=t,color:S.value,"onUpdate:color":x,disabled:n.disabled},null)]),n.showSwatches&&dt(JG,{key:"swatches",color:S.value,"onUpdate:color":x,maxHeight:n.swatchesMaxHeight,swatches:n.swatches,disabled:n.disabled},null)]})}),{}}});function tW(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?dt(Xr,null,[dt("span",{class:"v-combobox__unmask"},[n.substr(0,e)]),dt("span",{class:"v-combobox__mask"},[n.substr(e,r)]),dt("span",{class:"v-combobox__unmask"},[n.substr(e+r)])]):n}const nW=cr({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...TS({filterKeys:["title"]}),...X_({hideNoData:!0,returnObject:!0}),...Ku(m1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...sh({transition:!1})},"VCombobox"),rW=Er()({name:"VCombobox",props:nW(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:search":n=>!0,"update:menu":n=>!0},setup(n,e){var W;let{emit:r,slots:S}=e;const{t:D}=Qu(),x=Gr(),o=Kr(!1),t=Kr(!0),d=Kr(!1),v=Gr(),i=Gr(),M=Ti(n,"menu"),g=cn({get:()=>M.value,set:H=>{var ne;M.value&&!H&&((ne=v.value)!=null&&ne.ΨopenChildren)||(M.value=H)}}),p=Kr(-1);let u=!1;const a=cn(()=>{var H;return(H=x.value)==null?void 0:H.color}),c=cn(()=>g.value?n.closeText:n.openText),{items:s,transformIn:l,transformOut:h}=q_(n),{textColorClasses:f,textColorStyles:m}=tl(a),_=Ti(n,"modelValue",[],H=>l(bu(H)),H=>{const ne=h(H);return n.multiple?ne:ne[0]??null}),y=u1(),C=Kr(n.multiple?"":((W=_.value[0])==null?void 0:W.title)??""),w=cn({get:()=>C.value,set:H=>{var ne;if(C.value=H,n.multiple||(_.value=[wd(n,H)]),H&&n.multiple&&((ne=n.delimiters)!=null&&ne.length)){const te=H.split(new RegExp(`(?:${n.delimiters.join("|")})+`));te.length>1&&(te.forEach(Z=>{Z=Z.trim(),Z&&j(wd(n,Z))}),C.value="")}H||(p.value=-1),t.value=!H}});ei(C,H=>{u?qa(()=>u=!1):o.value&&!g.value&&(g.value=!0),r("update:search",H)}),ei(_,H=>{var ne;n.multiple||(C.value=((ne=H[0])==null?void 0:ne.title)??"")});const{filteredItems:k,getMatches:E}=kS(n,s,()=>t.value?"":w.value),T=cn(()=>n.hideSelected?k.value.filter(H=>!_.value.some(ne=>ne.value===H.value)):k.value),A=cn(()=>_.value.map(H=>H.value)),L=cn(()=>{var ne;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&w.value===((ne=T.value[0])==null?void 0:ne.title))&&T.value.length>0&&!t.value&&!d.value}),b=cn(()=>n.hideNoData&&!s.value.length||n.readonly||(y==null?void 0:y.isReadonly.value)),O=Gr(),{onListScroll:I,onListKeydown:R}=Z_(O,x);function z(H){u=!0,n.openOnClear&&(g.value=!0)}function F(){b.value||(g.value=!0)}function B(H){b.value||(o.value&&(H.preventDefault(),H.stopPropagation()),g.value=!g.value)}function N(H){var Z;if(n.readonly||y!=null&&y.isReadonly.value)return;const ne=x.value.selectionStart,te=_.value.length;if((p.value>-1||["Enter","ArrowDown","ArrowUp"].includes(H.key))&&H.preventDefault(),["Enter","ArrowDown"].includes(H.key)&&(g.value=!0),["Escape"].includes(H.key)&&(g.value=!1),["Enter","Escape","Tab"].includes(H.key)&&(L.value&&["Enter","Tab"].includes(H.key)&&j(k.value[0]),t.value=!0),H.key==="ArrowDown"&&L.value&&((Z=O.value)==null||Z.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(H.key)){if(p.value<0){H.key==="Backspace"&&!w.value&&(p.value=te-1);return}const X=p.value,Q=_.value[p.value];Q&&j(Q),p.value=X>=te-1?te-2:X}if(H.key==="ArrowLeft"){if(p.value<0&&ne>0)return;const X=p.value>-1?p.value-1:te-1;_.value[X]?p.value=X:(p.value=-1,x.value.setSelectionRange(w.value.length,w.value.length))}if(H.key==="ArrowRight"){if(p.value<0)return;const X=p.value+1;_.value[X]?p.value=X:(p.value=-1,x.value.setSelectionRange(0,0))}H.key==="Enter"&&w.value&&(j(wd(n,w.value)),w.value="")}}function q(){var H;o.value&&(t.value=!0,(H=x.value)==null||H.focus())}function j(H){if(n.multiple){const ne=_.value.findIndex(te=>n.valueComparator(te.value,H.value));if(ne===-1)_.value=[..._.value,H];else{const te=[..._.value];te.splice(ne,1),_.value=te}w.value=""}else _.value=[H],C.value=H.title,qa(()=>{g.value=!1,t.value=!0})}function Y(H){o.value=!0,setTimeout(()=>{d.value=!0})}function U(H){d.value=!1}function G(H){(H==null||H===""&&!n.multiple)&&(_.value=[])}return ei(k,H=>{!H.length&&n.hideNoData&&(g.value=!1)}),ei(o,(H,ne)=>{H||H===ne||(p.value=-1,g.value=!1,L.value&&!d.value&&!_.value.some(te=>{let{value:Z}=te;return Z===T.value[0].value})?j(T.value[0]):n.multiple&&w.value&&(_.value=[..._.value,wd(n,w.value)],w.value=""))}),ei(g,()=>{if(!n.hideSelected&&g.value&&_.value.length){const H=T.value.findIndex(ne=>_.value.some(te=>n.valueComparator(te.value,ne.value)));no&&window.requestAnimationFrame(()=>{var ne;H>=0&&((ne=i.value)==null||ne.scrollToIndex(H))})}}),Fr(()=>{const H=!!(n.chips||S.chip),ne=!!(!n.hideNoData||T.value.length||S["prepend-item"]||S["append-item"]||S["no-data"]),te=_.value.length>0,[Z]=Vd.filterProps(n);return dt(Vd,Zr({ref:x},Z,{modelValue:w.value,"onUpdate:modelValue":[X=>w.value=X,G],focused:o.value,"onUpdate:focused":X=>o.value=X,validationValue:_.externalValue,dirty:te,class:["v-combobox",{"v-combobox--active-menu":g.value,"v-combobox--chips":!!n.chips,"v-combobox--selection-slot":!!S.selection,"v-combobox--selecting-index":p.value>-1,[`v-combobox--${n.multiple?"multiple":"single"}`]:!0},n.class],style:n.style,readonly:n.readonly,placeholder:te?void 0:n.placeholder,"onClick:clear":z,"onMousedown:control":F,onKeydown:N}),{...S,default:()=>dt(Xr,null,[dt(h1,Zr({ref:v,modelValue:g.value,"onUpdate:modelValue":X=>g.value=X,activator:"parent",contentClass:"v-combobox__content",disabled:b.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:q},n.menuProps),{default:()=>[ne&&dt(c1,{ref:O,selected:A.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:X=>X.preventDefault(),onKeydown:R,onFocusin:Y,onFocusout:U,onScrollPassive:I,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var X,Q,re;return[(X=S["prepend-item"])==null?void 0:X.call(S),!T.value.length&&!n.hideNoData&&(((Q=S["no-data"])==null?void 0:Q.call(S))??dt(Xf,{title:D(n.noDataText)},null)),dt(g1,{ref:i,renderless:!0,items:T.value},{default:ie=>{var de;let{item:oe,index:ue,itemRef:ce}=ie;const ye=Zr(oe.props,{ref:ce,key:ue,active:L.value&&ue===0?!0:void 0,onClick:()=>j(oe)});return((de=S.item)==null?void 0:de.call(S,{item:oe,index:ue,props:ye}))??dt(Xf,ye,{prepend:me=>{let{isSelected:pe}=me;return dt(Xr,null,[n.multiple&&!n.hideSelected?dt(a0,{key:oe.value,modelValue:pe,ripple:!1,tabindex:"-1"},null):void 0,oe.props.prependIcon&&dt(Wa,{icon:oe.props.prependIcon},null)])},title:()=>{var me,pe;return t.value?oe.title:tW(oe.title,(me=E(oe))==null?void 0:me.title,((pe=w.value)==null?void 0:pe.length)??0)}})}}),(re=S["append-item"])==null?void 0:re.call(S)]}})]}),_.value.map((X,Q)=>{var oe;function re(ue){ue.stopPropagation(),ue.preventDefault(),j(X)}const ie={"onClick:close":re,onMousedown(ue){ue.preventDefault(),ue.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return dt("div",{key:X.value,class:["v-combobox__selection",Q===p.value&&["v-combobox__selection--selected",f.value]],style:Q===p.value?m.value:{}},[H?S.chip?dt(Va,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:X.title}}},{default:()=>{var ue;return[(ue=S.chip)==null?void 0:ue.call(S,{item:X,index:Q,props:ie})]}}):dt(hg,Zr({key:"chip",closable:n.closableChips,size:"small",text:X.title},ie),null):((oe=S.selection)==null?void 0:oe.call(S,{item:X,index:Q}))??dt("span",{class:"v-combobox__selection-text"},[X.title,n.multiple&&Q<_.value.length-1&&dt("span",{class:"v-combobox__selection-comma"},[ki(",")])])])})]),"append-inner":function(){var ie;for(var X=arguments.length,Q=new Array(X),re=0;re!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),{scopeId:D}=T0(),x=Gr();function o(d){var M,g;const v=d.relatedTarget,i=d.target;if(v!==i&&((M=x.value)!=null&&M.contentEl)&&((g=x.value)!=null&&g.globalTop)&&![document,x.value.contentEl].includes(i)&&!x.value.contentEl.contains(i)){const p=Om(x.value.contentEl);if(!p.length)return;const u=p[0],a=p[p.length-1];v===u?a.focus():u.focus()}}no&&ei(()=>S.value&&n.retainFocus,d=>{d?document.addEventListener("focusin",o):document.removeEventListener("focusin",o)},{immediate:!0}),ei(S,async d=>{var v,i;await qa(),d?(v=x.value.contentEl)==null||v.focus({preventScroll:!0}):(i=x.value.activatorEl)==null||i.focus({preventScroll:!0})});const t=cn(()=>Zr({"aria-haspopup":"dialog","aria-expanded":String(S.value)},n.activatorProps));return Fr(()=>{const[d]=Kf.filterProps(n);return dt(Kf,Zr({ref:x,class:["v-dialog",{"v-dialog--fullscreen":n.fullscreen,"v-dialog--scrollable":n.scrollable},n.class],style:n.style},d,{modelValue:S.value,"onUpdate:modelValue":v=>S.value=v,"aria-modal":"true",activatorProps:t.value,role:"dialog"},D),{activator:r.activator,default:function(){for(var v=arguments.length,i=new Array(v),M=0;M{var g;return[(g=r.default)==null?void 0:g.call(r,...i)]}})}})}),Vc({},x)}});const Bm=Symbol.for("vuetify:v-expansion-panel"),oW=["default","accordion","inset","popout"],sW=cr({color:String,variant:{type:String,default:"default",validator:n=>oW.includes(n)},readonly:Boolean,...Jr(),...g0(),...Li(),...sa()},"VExpansionPanels"),lW=Er()({name:"VExpansionPanels",props:sW(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;Kd(n,Bm);const{themeClasses:S}=Ca(n),D=cn(()=>n.variant&&`v-expansion-panels--variant-${n.variant}`);return is({VExpansionPanel:{color:Ir(n,"color")},VExpansionPanelTitle:{readonly:Ir(n,"readonly")}}),Fr(()=>dt(n.tag,{class:["v-expansion-panels",S.value,D.value,n.class],style:n.style},r)),{}}}),uW=cr({...Jr(),...f1()},"VExpansionPanelText"),GS=Er()({name:"VExpansionPanelText",props:uW(),setup(n,e){let{slots:r}=e;const S=Sa(Bm);if(!S)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:D,onAfterLeave:x}=$_(n,S.isSelected);return Fr(()=>dt(a1,{onAfterLeave:x},{default:()=>{var o;return[Lo(dt("div",{class:["v-expansion-panel-text",n.class],style:n.style},[r.default&&D.value&&dt("div",{class:"v-expansion-panel-text__wrapper"},[(o=r.default)==null?void 0:o.call(r)])]),[[vf,S.isSelected.value]])]}})),{}}}),WS=cr({color:String,expandIcon:{type:wi,default:"$expand"},collapseIcon:{type:wi,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...Jr()},"VExpansionPanelTitle"),qS=Er()({name:"VExpansionPanelTitle",directives:{Ripple:qh},props:WS(),setup(n,e){let{slots:r}=e;const S=Sa(Bm);if(!S)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:D,backgroundColorStyles:x}=Fo(n,"color"),o=cn(()=>({collapseIcon:n.collapseIcon,disabled:S.disabled.value,expanded:S.isSelected.value,expandIcon:n.expandIcon,readonly:n.readonly}));return Fr(()=>{var t;return Lo(dt("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":S.isSelected.value},D.value,n.class],style:[x.value,n.style],type:"button",tabindex:S.disabled.value?-1:void 0,disabled:S.disabled.value,"aria-expanded":S.isSelected.value,onClick:n.readonly?void 0:S.toggle},[dt("span",{class:"v-expansion-panel-title__overlay"},null),(t=r.default)==null?void 0:t.call(r,o.value),!n.hideActions&&dt("span",{class:"v-expansion-panel-title__icon"},[r.actions?r.actions(o.value):dt(Wa,{icon:S.isSelected.value?n.collapseIcon:n.expandIcon},null)])]),[[Tu("ripple"),n.ripple]])}),{}}}),cW=cr({title:String,text:String,bgColor:String,...Jr(),...ps(),...v0(),...f1(),...uo(),...Li(),...WS()},"VExpansionPanel"),fW=Er()({name:"VExpansionPanel",props:cW(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const S=y0(n,Bm),{backgroundColorClasses:D,backgroundColorStyles:x}=Fo(n,"bgColor"),{elevationClasses:o}=Ws(n),{roundedClasses:t}=Oo(n),d=cn(()=>(S==null?void 0:S.disabled.value)||n.disabled),v=cn(()=>S.group.items.value.reduce((g,p,u)=>(S.group.selected.value.includes(p.id)&&g.push(u),g),[])),i=cn(()=>{const g=S.group.items.value.findIndex(p=>p.id===S.id);return!S.isSelected.value&&v.value.some(p=>p-g===1)}),M=cn(()=>{const g=S.group.items.value.findIndex(p=>p.id===S.id);return!S.isSelected.value&&v.value.some(p=>p-g===-1)});return as(Bm,S),is({VExpansionPanelText:{eager:Ir(n,"eager")}}),Fr(()=>{const g=!!(r.text||n.text),p=!!(r.title||n.title);return dt(n.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":S.isSelected.value,"v-expansion-panel--before-active":i.value,"v-expansion-panel--after-active":M.value,"v-expansion-panel--disabled":d.value},t.value,D.value,n.class],style:[x.value,n.style]},{default:()=>{var u;return[dt("div",{class:["v-expansion-panel__shadow",...o.value]},null),p&&dt(qS,{key:"title",collapseIcon:n.collapseIcon,color:n.color,expandIcon:n.expandIcon,hideActions:n.hideActions,ripple:n.ripple},{default:()=>[r.title?r.title():n.title]}),g&&dt(GS,{key:"text"},{default:()=>[r.text?r.text():n.text]}),(u=r.default)==null?void 0:u.call(r)]}})}),{}}});const hW=cr({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:n=>typeof n=="boolean"||[1e3,1024].includes(n)},...uh({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:n=>bu(n).every(e=>e!=null&&typeof e=="object")},...p1({clearable:!0})},"VFileInput"),dW=Er()({name:"VFileInput",inheritAttrs:!1,props:hW(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{t:x}=Qu(),o=Ti(n,"modelValue"),{isFocused:t,focus:d,blur:v}=$h(n),i=cn(()=>typeof n.showSize!="boolean"?n.showSize:void 0),M=cn(()=>(o.value??[]).reduce((w,k)=>{let{size:E=0}=k;return w+E},0)),g=cn(()=>oT(M.value,i.value)),p=cn(()=>(o.value??[]).map(w=>{const{name:k="",size:E=0}=w;return n.showSize?`${k} (${oT(E,i.value)})`:k})),u=cn(()=>{var k;const w=((k=o.value)==null?void 0:k.length)??0;return n.showSize?x(n.counterSizeString,w,g.value):x(n.counterString,w)}),a=Gr(),c=Gr(),s=Gr(),l=cn(()=>t.value||n.active),h=cn(()=>["plain","underlined"].includes(n.variant));function f(){var w;s.value!==document.activeElement&&((w=s.value)==null||w.focus()),t.value||d()}function m(w){y(w)}function _(w){S("mousedown:control",w)}function y(w){var k;(k=s.value)==null||k.click(),S("click:control",w)}function C(w){w.stopPropagation(),f(),qa(()=>{o.value=[],T_(n["onClick:clear"],w)})}return ei(o,w=>{(!Array.isArray(w)||!w.length)&&s.value&&(s.value.value="")}),Fr(()=>{const w=!!(D.counter||n.counter),k=!!(w||D.details),[E,T]=qd(r),[{modelValue:A,...L}]=Gs.filterProps(n),[b]=Y_(n);return dt(Gs,Zr({ref:a,modelValue:o.value,"onUpdate:modelValue":O=>o.value=O,class:["v-file-input",{"v-text-field--plain-underlined":h.value},n.class],style:n.style,"onClick:prepend":m},E,L,{centerAffix:!h.value,focused:t.value}),{...D,default:O=>{let{id:I,isDisabled:R,isDirty:z,isReadonly:F,isValid:B}=O;return dt(pg,Zr({ref:c,"prepend-icon":n.prependIcon,onMousedown:_,onClick:y,"onClick:clear":C,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},b,{id:I.value,active:l.value||z.value,dirty:z.value,disabled:R.value,focused:t.value,error:B.value===!1}),{...D,default:N=>{var Y;let{props:{class:q,...j}}=N;return dt(Xr,null,[dt("input",Zr({ref:s,type:"file",readonly:F.value,disabled:R.value,multiple:n.multiple,name:n.name,onClick:U=>{U.stopPropagation(),F.value&&U.preventDefault(),f()},onChange:U=>{if(!U.target)return;const G=U.target;o.value=[...G.files??[]]},onFocus:f,onBlur:v},j,T),null),dt("div",{class:q},[!!((Y=o.value)!=null&&Y.length)&&(D.selection?D.selection({fileNames:p.value,totalBytes:M.value,totalBytesReadable:g.value}):n.chips?p.value.map(U=>dt(hg,{key:U,size:"small",color:n.color},{default:()=>[U]})):p.value.join(", "))])])}})},details:k?O=>{var I,R;return dt(Xr,null,[(I=D.details)==null?void 0:I.call(D,O),w&&dt(Xr,null,[dt("span",null,null),dt(d1,{active:!!((R=o.value)!=null&&R.length),value:u.value},D.counter)])])}:void 0})}),Vc({},a,c,s)}});const pW=cr({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...Au(),...Jr(),...ps(),...p0(),...uo(),...Li({tag:"footer"}),...sa()},"VFooter"),mW=Er()({name:"VFooter",props:pW(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{backgroundColorClasses:D,backgroundColorStyles:x}=Fo(Ir(n,"color")),{borderClasses:o}=nc(n),{elevationClasses:t}=Ws(n),{roundedClasses:d}=Oo(n),v=Kr(32),{resizeRef:i}=gf(p=>{p.length&&(v.value=p[0].target.clientHeight)}),M=cn(()=>n.height==="auto"?v.value:parseInt(n.height,10)),{layoutItemStyles:g}=m0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:M,elementSize:cn(()=>n.height==="auto"?void 0:M.value),active:cn(()=>n.app),absolute:Ir(n,"absolute")});return Fr(()=>dt(n.tag,{ref:i,class:["v-footer",S.value,D.value,o.value,t.value,d.value,n.class],style:[x.value,n.app?g.value:{height:ii(n.height)},n.style]},r)),{}}}),gW=cr({...Jr(),...SU()},"VForm"),vW=Er()({name:"VForm",props:gW(),emits:{"update:modelValue":n=>!0,submit:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=CU(n),x=Gr();function o(d){d.preventDefault(),D.reset()}function t(d){const v=d,i=D.validate();v.then=i.then.bind(i),v.catch=i.catch.bind(i),v.finally=i.finally.bind(i),S("submit",v),v.defaultPrevented||i.then(M=>{var p;let{valid:g}=M;g&&((p=x.value)==null||p.submit())}),v.preventDefault()}return Fr(()=>{var d;return dt("form",{ref:x,class:["v-form",n.class],style:n.style,novalidate:!0,onReset:o,onSubmit:t},[(d=r.default)==null?void 0:d.call(r,D)])}),Vc(D,x)}});const yW=cr({fluid:{type:Boolean,default:!1},...Jr(),...Li()},"VContainer"),bW=Er()({name:"VContainer",props:yW(),setup(n,e){let{slots:r}=e;const{rtlClasses:S}=Ls();return Fr(()=>dt(n.tag,{class:["v-container",{"v-container--fluid":n.fluid},S.value,n.class],style:n.style},r)),{}}}),$S=(()=>n1.reduce((n,e)=>(n[e]={type:[Boolean,String,Number],default:!1},n),{}))(),YS=(()=>n1.reduce((n,e)=>{const r="offset"+Jf(e);return n[r]={type:[String,Number],default:null},n},{}))(),ZS=(()=>n1.reduce((n,e)=>{const r="order"+Jf(e);return n[r]={type:[String,Number],default:null},n},{}))(),WT={col:Object.keys($S),offset:Object.keys(YS),order:Object.keys(ZS)};function xW(n,e,r){let S=n;if(!(r==null||r===!1)){if(e){const D=e.replace(n,"");S+=`-${D}`}return n==="col"&&(S="v-"+S),n==="col"&&(r===""||r===!0)||(S+=`-${r}`),S.toLowerCase()}}const _W=["auto","start","end","center","baseline","stretch"],wW=cr({cols:{type:[Boolean,String,Number],default:!1},...$S,offset:{type:[String,Number],default:null},...YS,order:{type:[String,Number],default:null},...ZS,alignSelf:{type:String,default:null,validator:n=>_W.includes(n)},...Jr(),...Li()},"VCol"),TW=Er()({name:"VCol",props:wW(),setup(n,e){let{slots:r}=e;const S=cn(()=>{const D=[];let x;for(x in WT)WT[x].forEach(t=>{const d=n[t],v=xW(x,t,d);v&&D.push(v)});const o=D.some(t=>t.startsWith("v-col-"));return D.push({"v-col":!o||!n.cols,[`v-col-${n.cols}`]:n.cols,[`offset-${n.offset}`]:n.offset,[`order-${n.order}`]:n.order,[`align-self-${n.alignSelf}`]:n.alignSelf}),D});return()=>{var D;return jh(n.tag,{class:[S.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),Q_=["start","end","center"],XS=["space-between","space-around","space-evenly"];function ew(n,e){return n1.reduce((r,S)=>{const D=n+Jf(S);return r[D]=e(),r},{})}const kW=[...Q_,"baseline","stretch"],KS=n=>kW.includes(n),JS=ew("align",()=>({type:String,default:null,validator:KS})),MW=[...Q_,...XS],QS=n=>MW.includes(n),e8=ew("justify",()=>({type:String,default:null,validator:QS})),AW=[...Q_,...XS,"stretch"],t8=n=>AW.includes(n),n8=ew("alignContent",()=>({type:String,default:null,validator:t8})),qT={align:Object.keys(JS),justify:Object.keys(e8),alignContent:Object.keys(n8)},SW={align:"align",justify:"justify",alignContent:"align-content"};function CW(n,e,r){let S=SW[n];if(r!=null){if(e){const D=e.replace(n,"");S+=`-${D}`}return S+=`-${r}`,S.toLowerCase()}}const EW=cr({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:KS},...JS,justify:{type:String,default:null,validator:QS},...e8,alignContent:{type:String,default:null,validator:t8},...n8,...Jr(),...Li()},"VRow"),LW=Er()({name:"VRow",props:EW(),setup(n,e){let{slots:r}=e;const S=cn(()=>{const D=[];let x;for(x in qT)qT[x].forEach(o=>{const t=n[o],d=CW(x,o,t);d&&D.push(d)});return D.push({"v-row--no-gutters":n.noGutters,"v-row--dense":n.dense,[`align-${n.align}`]:n.align,[`justify-${n.justify}`]:n.justify,[`align-content-${n.alignContent}`]:n.alignContent}),D});return()=>{var D;return jh(n.tag,{class:["v-row",S.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),IW=Nc("v-spacer","div","VSpacer"),OW=cr({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...vS()},"VHover"),PW=Er()({name:"VHover",props:OW(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),{runOpenDelay:D,runCloseDelay:x}=yS(n,o=>!n.disabled&&(S.value=o));return()=>{var o;return(o=r.default)==null?void 0:o.call(r,{isHovering:S.value,props:{onMouseenter:D,onMouseleave:x}})}}});const r8=Symbol.for("vuetify:v-item-group"),DW=cr({...Jr(),...g0({selectedClass:"v-item--selected"}),...Li(),...sa()},"VItemGroup"),RW=Er()({name:"VItemGroup",props:DW(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{isSelected:D,select:x,next:o,prev:t,selected:d}=Kd(n,r8);return()=>dt(n.tag,{class:["v-item-group",S.value,n.class],style:n.style},{default:()=>{var v;return[(v=r.default)==null?void 0:v.call(r,{isSelected:D,select:x,next:o,prev:t,selected:d.value})]}})}}),zW=Er()({name:"VItem",props:v0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:S,select:D,toggle:x,selectedClass:o,value:t,disabled:d}=y0(n,r8);return()=>{var v;return(v=r.default)==null?void 0:v.call(r,{isSelected:S.value,selectedClass:o.value,select:D,toggle:x,value:t.value,disabled:d.value})}}});const FW=Nc("v-kbd");const BW=cr({...Jr(),...kA()},"VLayout"),NW=Er()({name:"VLayout",props:BW(),setup(n,e){let{slots:r}=e;const{layoutClasses:S,layoutStyles:D,getLayoutItem:x,items:o,layoutRef:t}=MA(n);return Fr(()=>{var d;return dt("div",{ref:t,class:[S.value,n.class],style:[D.value,n.style]},[(d=r.default)==null?void 0:d.call(r)])}),{getLayoutItem:x,items:o}}});const VW=cr({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...Jr(),...p0()},"VLayoutItem"),jW=Er()({name:"VLayoutItem",props:VW(),setup(n,e){let{slots:r}=e;const{layoutItemStyles:S}=m0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Ir(n,"position"),elementSize:Ir(n,"size"),layoutSize:Ir(n,"size"),active:Ir(n,"modelValue"),absolute:Ir(n,"absolute")});return()=>{var D;return dt("div",{class:["v-layout-item",n.class],style:[S.value,n.style]},[(D=r.default)==null?void 0:D.call(r)])}}}),UW=cr({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...Jr(),...ec(),...Li(),...sh({transition:"fade-transition"})},"VLazy"),HW=Er()({name:"VLazy",directives:{intersect:ug},props:UW(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{dimensionStyles:S}=tc(n),D=Ti(n,"modelValue");function x(o){D.value||(D.value=o)}return Fr(()=>Lo(dt(n.tag,{class:["v-lazy",n.class],style:[S.value,n.style]},{default:()=>[D.value&&dt(Ec,{transition:n.transition,appear:!0},{default:()=>{var o;return[(o=r.default)==null?void 0:o.call(r)]}})]}),[[Tu("intersect"),{handler:x,options:n.options},null]])),{}}});const GW=cr({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...Jr()},"VLocaleProvider"),WW=Er()({name:"VLocaleProvider",props:GW(),setup(n,e){let{slots:r}=e;const{rtlClasses:S}=ej(n);return Fr(()=>{var D;return dt("div",{class:["v-locale-provider",S.value,n.class],style:n.style},[(D=r.default)==null?void 0:D.call(r)])}),{}}});const qW=cr({scrollable:Boolean,...Jr(),...Li({tag:"main"})},"VMain"),$W=Er()({name:"VMain",props:qW(),setup(n,e){let{slots:r}=e;const{mainStyles:S}=Cj(),{ssrBootStyles:D}=Yd();return Fr(()=>dt(n.tag,{class:["v-main",{"v-main--scrollable":n.scrollable},n.class],style:[S.value,D.value,n.style]},{default:()=>{var x,o;return[n.scrollable?dt("div",{class:"v-main__scroller"},[(x=r.default)==null?void 0:x.call(r)]):(o=r.default)==null?void 0:o.call(r)]}})),{}}});function YW(n){let{rootEl:e,isSticky:r,layoutItemStyles:S}=n;const D=Kr(!1),x=Kr(0),o=cn(()=>{const v=typeof D.value=="boolean"?"top":D.value;return[r.value?{top:"auto",bottom:"auto",height:void 0}:void 0,D.value?{[v]:ii(x.value)}:{top:S.value.top}]});nl(()=>{ei(r,v=>{v?window.addEventListener("scroll",d,{passive:!0}):window.removeEventListener("scroll",d)},{immediate:!0})}),Sl(()=>{window.removeEventListener("scroll",d)});let t=0;function d(){const v=t>window.scrollY?"up":"down",i=e.value.getBoundingClientRect(),M=parseFloat(S.value.top??0),g=window.scrollY-Math.max(0,x.value-M),p=i.height+Math.max(x.value,M)-window.scrollY-window.innerHeight,u=parseFloat(getComputedStyle(e.value).getPropertyValue("--v-body-scroll-y"))||0;i.height0;r--){if(n[r].t===n[r-1].t)continue;const S=$T(e),D=(n[r].d-n[r-1].d)/(n[r].t-n[r-1].t);e+=(D-S)*Math.abs(D),r===n.length-1&&(e*=.5)}return $T(e)*1e3}function KW(){const n={};function e(D){Array.from(D.changedTouches).forEach(x=>{(n[x.identifier]??(n[x.identifier]=new lV(XW))).push([D.timeStamp,x])})}function r(D){Array.from(D.changedTouches).forEach(x=>{delete n[x.identifier]})}function S(D){var v;const x=(v=n[D])==null?void 0:v.values().reverse();if(!x)throw new Error(`No samples for touch id ${D}`);const o=x[0],t=[],d=[];for(const i of x){if(o[0]-i[0]>ZW)break;t.push({t:i[0],d:i[1].clientX}),d.push({t:i[0],d:i[1].clientY})}return{x:YT(t),y:YT(d),get direction(){const{x:i,y:M}=this,[g,p]=[Math.abs(i),Math.abs(M)];return g>p&&i>=0?"right":g>p&&i<=0?"left":p>g&&M>=0?"down":p>g&&M<=0?"up":JW()}}}return{addMovement:e,endTouch:r,getVelocity:S}}function JW(){throw new Error}function QW(n){let{isActive:e,isTemporary:r,width:S,touchless:D,position:x}=n;nl(()=>{window.addEventListener("touchstart",s,{passive:!0}),window.addEventListener("touchmove",l,{passive:!1}),window.addEventListener("touchend",h,{passive:!0})}),Sl(()=>{window.removeEventListener("touchstart",s),window.removeEventListener("touchmove",l),window.removeEventListener("touchend",h)});const o=cn(()=>["left","right"].includes(x.value)),{addMovement:t,endTouch:d,getVelocity:v}=KW();let i=!1;const M=Kr(!1),g=Kr(0),p=Kr(0);let u;function a(m,_){return(x.value==="left"?m:x.value==="right"?document.documentElement.clientWidth-m:x.value==="top"?m:x.value==="bottom"?document.documentElement.clientHeight-m:kp())-(_?S.value:0)}function c(m){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const y=x.value==="left"?(m-p.value)/S.value:x.value==="right"?(document.documentElement.clientWidth-m-p.value)/S.value:x.value==="top"?(m-p.value)/S.value:x.value==="bottom"?(document.documentElement.clientHeight-m-p.value)/S.value:kp();return _?Math.max(0,Math.min(1,y)):y}function s(m){if(D.value)return;const _=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY,C=25,w=x.value==="left"?_document.documentElement.clientWidth-C:x.value==="top"?ydocument.documentElement.clientHeight-C:kp(),k=e.value&&(x.value==="left"?_document.documentElement.clientWidth-S.value:x.value==="top"?ydocument.documentElement.clientHeight-S.value:kp());(w||k||e.value&&r.value)&&(i=!0,u=[_,y],p.value=a(o.value?_:y,e.value),g.value=c(o.value?_:y),d(m),t(m))}function l(m){const _=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY;if(i){if(!m.cancelable){i=!1;return}const w=Math.abs(_-u[0]),k=Math.abs(y-u[1]);(o.value?w>k&&w>3:k>w&&k>3)?(M.value=!0,i=!1):(o.value?k:w)>3&&(i=!1)}if(!M.value)return;m.preventDefault(),t(m);const C=c(o.value?_:y,!1);g.value=Math.max(0,Math.min(1,C)),C>1?p.value=a(o.value?_:y,!0):C<0&&(p.value=a(o.value?_:y,!1))}function h(m){if(i=!1,!M.value)return;t(m),M.value=!1;const _=v(m.changedTouches[0].identifier),y=Math.abs(_.x),C=Math.abs(_.y);(o.value?y>C&&y>400:C>y&&C>3)?e.value=_.direction===({left:"right",right:"left",top:"down",bottom:"up"}[x.value]||kp()):e.value=g.value>.5}const f=cn(()=>M.value?{transform:x.value==="left"?`translateX(calc(-100% + ${g.value*S.value}px))`:x.value==="right"?`translateX(calc(100% - ${g.value*S.value}px))`:x.value==="top"?`translateY(calc(-100% + ${g.value*S.value}px))`:x.value==="bottom"?`translateY(calc(100% - ${g.value*S.value}px))`:kp(),transition:"none"}:void 0);return{isDragging:M,dragProgress:g,dragStyles:f}}function kp(){throw new Error}const eq=["start","end","left","right","top","bottom"],tq=cr({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:n=>eq.includes(n)},sticky:Boolean,...Au(),...Jr(),...ps(),...p0(),...uo(),...Li({tag:"nav"}),...sa()},"VNavigationDrawer"),nq=Er()({name:"VNavigationDrawer",props:tq(),emits:{"update:modelValue":n=>!0,"update:rail":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{isRtl:x}=Ls(),{themeClasses:o}=Ca(n),{borderClasses:t}=nc(n),{backgroundColorClasses:d,backgroundColorStyles:v}=Fo(Ir(n,"color")),{elevationClasses:i}=Ws(n),{mobile:M}=$d(),{roundedClasses:g}=Oo(n),p=zA(),u=Ti(n,"modelValue",null,z=>!!z),{ssrBootStyles:a}=Yd(),{scopeId:c}=T0(),s=Gr(),l=Kr(!1),h=cn(()=>n.rail&&n.expandOnHover&&l.value?Number(n.width):Number(n.rail?n.railWidth:n.width)),f=cn(()=>vx(n.location,x.value)),m=cn(()=>!n.permanent&&(M.value||n.temporary)),_=cn(()=>n.sticky&&!m.value&&f.value!=="bottom");n.expandOnHover&&n.rail!=null&&ei(l,z=>S("update:rail",!z)),n.disableResizeWatcher||ei(m,z=>!n.permanent&&qa(()=>u.value=!z)),!n.disableRouteWatcher&&p&&ei(p.currentRoute,()=>m.value&&(u.value=!1)),ei(()=>n.permanent,z=>{z&&(u.value=!0)}),xy(()=>{n.modelValue!=null||m.value||(u.value=n.permanent||!M.value)});const{isDragging:y,dragProgress:C,dragStyles:w}=QW({isActive:u,isTemporary:m,width:h,touchless:Ir(n,"touchless"),position:f}),k=cn(()=>{const z=m.value?0:n.rail&&n.expandOnHover?Number(n.railWidth):h.value;return y.value?z*C.value:z}),{layoutItemStyles:E,layoutItemScrimStyles:T}=m0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:f,layoutSize:k,elementSize:h,active:cn(()=>u.value||y.value),disableTransitions:cn(()=>y.value),absolute:cn(()=>n.absolute||_.value&&typeof A.value!="string")}),{isStuck:A,stickyStyles:L}=YW({rootEl:s,isSticky:_,layoutItemStyles:E}),b=Fo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),O=cn(()=>({...y.value?{opacity:C.value*.2,transition:"none"}:void 0,...T.value}));is({VList:{bgColor:"transparent"}});function I(){l.value=!0}function R(){l.value=!1}return Fr(()=>{const z=D.image||n.image;return dt(Xr,null,[dt(n.tag,Zr({ref:s,onMouseenter:I,onMouseleave:R,class:["v-navigation-drawer",`v-navigation-drawer--${f.value}`,{"v-navigation-drawer--expand-on-hover":n.expandOnHover,"v-navigation-drawer--floating":n.floating,"v-navigation-drawer--is-hovering":l.value,"v-navigation-drawer--rail":n.rail,"v-navigation-drawer--temporary":m.value,"v-navigation-drawer--active":u.value,"v-navigation-drawer--sticky":_.value},o.value,d.value,t.value,i.value,g.value,n.class],style:[v.value,E.value,w.value,a.value,L.value,n.style]},c,r),{default:()=>{var F,B,N,q;return[z&&dt("div",{key:"image",class:"v-navigation-drawer__img"},[D.image?(F=D.image)==null?void 0:F.call(D,{image:n.image}):dt("img",{src:n.image,alt:""},null)]),D.prepend&&dt("div",{class:"v-navigation-drawer__prepend"},[(B=D.prepend)==null?void 0:B.call(D)]),dt("div",{class:"v-navigation-drawer__content"},[(N=D.default)==null?void 0:N.call(D)]),D.append&&dt("div",{class:"v-navigation-drawer__append"},[(q=D.append)==null?void 0:q.call(D)])]}}),dt(hf,{name:"fade-transition"},{default:()=>[m.value&&(y.value||u.value)&&!!n.scrim&&dt("div",Zr({class:["v-navigation-drawer__scrim",b.backgroundColorClasses.value],style:[O.value,b.backgroundColorStyles.value],onClick:()=>u.value=!1},c),null)]})])}),{isStuck:A}}}),rq=Ju({name:"VNoSsr",setup(n,e){let{slots:r}=e;const S=bS();return()=>{var D;return S.value&&((D=r.default)==null?void 0:D.call(r))}}});function iq(){const n=Gr([]);D4(()=>n.value=[]);function e(r,S){n.value[S]=r}return{refs:n,updateRef:e}}const aq=cr({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:n=>n.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:n=>n%1===0},totalVisible:[Number,String],firstIcon:{type:wi,default:"$first"},prevIcon:{type:wi,default:"$prev"},nextIcon:{type:wi,default:"$next"},lastIcon:{type:wi,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Au(),...Jr(),...ms(),...ps(),...uo(),...lh(),...Li({tag:"nav"}),...sa(),...rc({variant:"text"})},"VPagination"),oq=Er()({name:"VPagination",props:aq(),emits:{"update:modelValue":n=>!0,first:n=>!0,prev:n=>!0,next:n=>!0,last:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=Ti(n,"modelValue"),{t:x,n:o}=Qu(),{isRtl:t}=Ls(),{themeClasses:d}=Ca(n),{width:v}=$d(),i=Kr(-1);is(void 0,{scoped:!0});const{resizeRef:M}=gf(C=>{if(!C.length)return;const{target:w,contentRect:k}=C[0],E=w.querySelector(".v-pagination__list > *");if(!E)return;const T=k.width,A=E.offsetWidth+parseFloat(getComputedStyle(E).marginRight)*2;i.value=a(T,A)}),g=cn(()=>parseInt(n.length,10)),p=cn(()=>parseInt(n.start,10)),u=cn(()=>n.totalVisible?parseInt(n.totalVisible,10):i.value>=0?i.value:a(v.value,58));function a(C,w){const k=n.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((C-w*k)/w).toFixed(2)))}const c=cn(()=>{if(g.value<=0||isNaN(g.value)||g.value>Number.MAX_SAFE_INTEGER)return[];if(u.value<=1)return[D.value];if(g.value<=u.value)return Gf(g.value,p.value);const C=u.value%2===0,w=C?u.value/2:Math.floor(u.value/2),k=C?w:w+1,E=g.value-w;if(k-D.value>=0)return[...Gf(Math.max(1,u.value-1),p.value),n.ellipsis,g.value];if(D.value-E>=(C?1:0)){const T=u.value-1,A=g.value-T+p.value;return[p.value,n.ellipsis,...Gf(T,A)]}else{const T=Math.max(1,u.value-3),A=T===1?D.value:D.value-Math.ceil(T/2)+p.value;return[p.value,n.ellipsis,...Gf(T,A),n.ellipsis,g.value]}});function s(C,w,k){C.preventDefault(),D.value=w,k&&S(k,w)}const{refs:l,updateRef:h}=iq();is({VPaginationBtn:{color:Ir(n,"color"),border:Ir(n,"border"),density:Ir(n,"density"),size:Ir(n,"size"),variant:Ir(n,"variant"),rounded:Ir(n,"rounded"),elevation:Ir(n,"elevation")}});const f=cn(()=>c.value.map((C,w)=>{const k=E=>h(E,w);if(typeof C=="string")return{isActive:!1,key:`ellipsis-${w}`,page:C,props:{ref:k,ellipsis:!0,icon:!0,disabled:!0}};{const E=C===D.value;return{isActive:E,key:C,page:o(C),props:{ref:k,ellipsis:!1,icon:!0,disabled:!!n.disabled||+n.length<2,color:E?n.activeColor:n.color,ariaCurrent:E,ariaLabel:x(E?n.currentPageAriaLabel:n.pageAriaLabel,C),onClick:T=>s(T,C)}}}})),m=cn(()=>{const C=!!n.disabled||D.value<=p.value,w=!!n.disabled||D.value>=p.value+g.value-1;return{first:n.showFirstLastPage?{icon:t.value?n.lastIcon:n.firstIcon,onClick:k=>s(k,p.value,"first"),disabled:C,ariaLabel:x(n.firstAriaLabel),ariaDisabled:C}:void 0,prev:{icon:t.value?n.nextIcon:n.prevIcon,onClick:k=>s(k,D.value-1,"prev"),disabled:C,ariaLabel:x(n.previousAriaLabel),ariaDisabled:C},next:{icon:t.value?n.prevIcon:n.nextIcon,onClick:k=>s(k,D.value+1,"next"),disabled:w,ariaLabel:x(n.nextAriaLabel),ariaDisabled:w},last:n.showFirstLastPage?{icon:t.value?n.firstIcon:n.lastIcon,onClick:k=>s(k,p.value+g.value-1,"last"),disabled:w,ariaLabel:x(n.lastAriaLabel),ariaDisabled:w}:void 0}});function _(){var w;const C=D.value-p.value;(w=l.value[C])==null||w.$el.focus()}function y(C){C.key===mx.left&&!n.disabled&&D.value>+n.start?(D.value=D.value-1,qa(_)):C.key===mx.right&&!n.disabled&&D.valuedt(n.tag,{ref:M,class:["v-pagination",d.value,n.class],style:n.style,role:"navigation","aria-label":x(n.ariaLabel),onKeydown:y,"data-test":"v-pagination-root"},{default:()=>[dt("ul",{class:"v-pagination__list"},[n.showFirstLastPage&&dt("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[r.first?r.first(m.value.first):dt(Ml,Zr({_as:"VPaginationBtn"},m.value.first),null)]),dt("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[r.prev?r.prev(m.value.prev):dt(Ml,Zr({_as:"VPaginationBtn"},m.value.prev),null)]),f.value.map((C,w)=>dt("li",{key:C.key,class:["v-pagination__item",{"v-pagination__item--is-active":C.isActive}],"data-test":"v-pagination-item"},[r.item?r.item(C):dt(Ml,Zr({_as:"VPaginationBtn"},C.props),{default:()=>[C.page]})])),dt("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[r.next?r.next(m.value.next):dt(Ml,Zr({_as:"VPaginationBtn"},m.value.next),null)]),n.showFirstLastPage&&dt("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[r.last?r.last(m.value.last):dt(Ml,Zr({_as:"VPaginationBtn"},m.value.last),null)])])]})),{}}});function sq(n){return Math.floor(Math.abs(n))*Math.sign(n)}const lq=cr({scale:{type:[Number,String],default:.5},...Jr()},"VParallax"),uq=Er()({name:"VParallax",props:lq(),setup(n,e){let{slots:r}=e;const{intersectionRef:S,isIntersecting:D}=B_(),{resizeRef:x,contentRect:o}=gf(),{height:t}=$d(),d=Gr();wu(()=>{var p;S.value=x.value=(p=d.value)==null?void 0:p.$el});let v;ei(D,p=>{p?(v=S_(S.value),v=v===document.scrollingElement?document:v,v.addEventListener("scroll",g,{passive:!0}),g()):v.removeEventListener("scroll",g)}),Sl(()=>{v==null||v.removeEventListener("scroll",g)}),ei(t,g),ei(()=>{var p;return(p=o.value)==null?void 0:p.height},g);const i=cn(()=>1-el(+n.scale));let M=-1;function g(){D.value&&(cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var m;const p=((m=d.value)==null?void 0:m.$el).querySelector(".v-img__img");if(!p)return;const u=v instanceof Document?document.documentElement.clientHeight:v.clientHeight,a=v instanceof Document?window.scrollY:v.scrollTop,c=S.value.getBoundingClientRect().top+a,s=o.value.height,l=c+(s-u)/2,h=sq((a-l)*i.value),f=Math.max(1,(i.value*(u-s)+s)/s);p.style.setProperty("transform",`translateY(${h}px) scale(${f})`)}))}return Fr(()=>dt(Bd,{class:["v-parallax",{"v-parallax--active":D.value},n.class],style:n.style,ref:d,cover:!0,onLoadstart:g,onLoad:g},r)),{}}}),cq=cr({...s1({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),fq=Er()({name:"VRadio",props:cq(),setup(n,e){let{slots:r}=e;return Fr(()=>dt(Nd,Zr(n,{class:["v-radio",n.class],style:n.style,type:"radio"}),r)),{}}});const hq=cr({height:{type:[Number,String],default:"auto"},...uh(),...Ku(G_(),["multiple"]),trueIcon:{type:wi,default:"$radioOn"},falseIcon:{type:wi,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),dq=Er()({name:"VRadioGroup",inheritAttrs:!1,props:hq(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const D=rl(),x=cn(()=>n.id||`radio-group-${D}`),o=Ti(n,"modelValue");return Fr(()=>{const[t,d]=qd(r),[v,i]=Gs.filterProps(n),[M,g]=Nd.filterProps(n),p=S.label?S.label({label:n.label,props:{for:x.value}}):n.label;return dt(Gs,Zr({class:["v-radio-group",n.class],style:n.style},t,v,{modelValue:o.value,"onUpdate:modelValue":u=>o.value=u,id:x.value}),{...S,default:u=>{let{id:a,messagesId:c,isDisabled:s,isReadonly:l}=u;return dt(Xr,null,[p&&dt(w0,{id:a.value},{default:()=>[p]}),dt($A,Zr(M,{id:a.value,"aria-describedby":c.value,defaultsTarget:"VRadio",trueIcon:n.trueIcon,falseIcon:n.falseIcon,type:n.type,disabled:s.value,readonly:l.value,"aria-labelledby":p?a.value:void 0,multiple:!1},d,{modelValue:o.value,"onUpdate:modelValue":h=>o.value=h}),S)])}})}),{}}}),pq=cr({...l1(),...uh(),...NS(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),mq=Er()({name:"VRangeSlider",props:pq(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,end:n=>!0,start:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=Gr(),x=Gr(),o=Gr(),{rtlClasses:t}=Ls();function d(w){if(!D.value||!x.value)return;const k=Nx(w,D.value.$el,n.direction),E=Nx(w,x.value.$el,n.direction),T=Math.abs(k),A=Math.abs(E);return Tw!=null&&w.length?w.map(k=>v.roundValue(k)):[0,0]),{activeThumbRef:M,hasLabels:g,max:p,min:u,mousePressed:a,onSliderMousedown:c,onSliderTouchstart:s,position:l,trackContainerRef:h}=jS({props:n,steps:v,onSliderStart:()=>{S("start",i.value)},onSliderEnd:w=>{var T;let{value:k}=w;const E=M.value===((T=D.value)==null?void 0:T.$el)?[k,i.value[1]]:[i.value[0],k];!n.strict&&E[0]{var A,L,b,O;let{value:k}=w;const[E,T]=i.value;!n.strict&&E===T&&E!==u.value&&(M.value=k>E?(A=x.value)==null?void 0:A.$el:(L=D.value)==null?void 0:L.$el,(b=M.value)==null||b.focus()),M.value===((O=D.value)==null?void 0:O.$el)?i.value=[Math.min(k,T),T]:i.value=[E,Math.max(E,k)]},getActiveThumb:d}),{isFocused:f,focus:m,blur:_}=$h(n),y=cn(()=>l(i.value[0])),C=cn(()=>l(i.value[1]));return Fr(()=>{const[w,k]=Gs.filterProps(n),E=!!(n.label||r.label||r.prepend);return dt(Gs,Zr({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!r["tick-label"]||g.value,"v-slider--focused":f.value,"v-slider--pressed":a.value,"v-slider--disabled":n.disabled},t.value,n.class],style:n.style,ref:o},w,{focused:f.value}),{...r,prepend:E?T=>{var A,L;return dt(Xr,null,[((A=r.label)==null?void 0:A.call(r,T))??n.label?dt(w0,{class:"v-slider__label",text:n.label},null):void 0,(L=r.prepend)==null?void 0:L.call(r,T)])}:void 0,default:T=>{var b,O;let{id:A,messagesId:L}=T;return dt("div",{class:"v-slider__container",onMousedown:c,onTouchstartPassive:s},[dt("input",{id:`${A.value}_start`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[0]},null),dt("input",{id:`${A.value}_stop`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[1]},null),dt(US,{ref:h,start:y.value,stop:C.value},{"tick-label":r["tick-label"]}),dt(Vx,{ref:D,"aria-describedby":L.value,focused:f&&M.value===((b=D.value)==null?void 0:b.$el),modelValue:i.value[0],"onUpdate:modelValue":I=>i.value=[I,i.value[1]],onFocus:I=>{var R,z,F,B;m(),M.value=(R=D.value)==null?void 0:R.$el,i.value[0]===i.value[1]&&i.value[1]===u.value&&I.relatedTarget!==((z=x.value)==null?void 0:z.$el)&&((F=D.value)==null||F.$el.blur(),(B=x.value)==null||B.$el.focus())},onBlur:()=>{_(),M.value=void 0},min:u.value,max:i.value[1],position:y.value},{"thumb-label":r["thumb-label"]}),dt(Vx,{ref:x,"aria-describedby":L.value,focused:f&&M.value===((O=x.value)==null?void 0:O.$el),modelValue:i.value[1],"onUpdate:modelValue":I=>i.value=[i.value[0],I],onFocus:I=>{var R,z,F,B;m(),M.value=(R=x.value)==null?void 0:R.$el,i.value[0]===i.value[1]&&i.value[0]===p.value&&I.relatedTarget!==((z=D.value)==null?void 0:z.$el)&&((F=x.value)==null||F.$el.blur(),(B=D.value)==null||B.$el.focus())},onBlur:()=>{_(),M.value=void 0},min:i.value[0],max:p.value,position:C.value},{"thumb-label":r["thumb-label"]})])}})}),{}}});const gq=cr({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:wi,default:"$ratingEmpty"},fullIcon:{type:wi,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},ripple:Boolean,...Jr(),...ms(),...lh(),...Li(),...sa()},"VRating"),vq=Er()({name:"VRating",props:gq(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{t:S}=Qu(),{themeClasses:D}=Ca(n),x=Ti(n,"modelValue"),o=cn(()=>el(parseFloat(x.value),0,+n.length)),t=cn(()=>Gf(Number(n.length),1)),d=cn(()=>t.value.flatMap(a=>n.halfIncrements?[a-.5,a]:[a])),v=Kr(-1),i=cn(()=>d.value.map(a=>{const c=n.hover&&v.value>-1,s=o.value>=a,l=v.value>=a,f=(c?l:s)?n.fullIcon:n.emptyIcon,m=n.activeColor??n.color,_=s||l?m:n.color;return{isFilled:s,isHovered:l,icon:f,color:_}})),M=cn(()=>[0,...d.value].map(a=>{function c(){v.value=a}function s(){v.value=-1}function l(){n.disabled||n.readonly||(x.value=o.value===a&&n.clearable?0:a)}return{onMouseenter:n.hover?c:void 0,onMouseleave:n.hover?s:void 0,onClick:l}})),g=cn(()=>n.name??`v-rating-${rl()}`);function p(a){var C,w;let{value:c,index:s,showStar:l=!0}=a;const{onMouseenter:h,onMouseleave:f,onClick:m}=M.value[s+1],_=`${g.value}-${String(c).replace(".","-")}`,y={color:(C=i.value[s])==null?void 0:C.color,density:n.density,disabled:n.disabled,icon:(w=i.value[s])==null?void 0:w.icon,ripple:n.ripple,size:n.size,variant:"plain"};return dt(Xr,null,[dt("label",{for:_,class:{"v-rating__item--half":n.halfIncrements&&c%1>0,"v-rating__item--full":n.halfIncrements&&c%1===0},onMouseenter:h,onMouseleave:f,onClick:m},[dt("span",{class:"v-rating__hidden"},[S(n.itemAriaLabel,c,n.length)]),l?r.item?r.item({...i.value[s],props:y,value:c,index:s,rating:o.value}):dt(Ml,Zr({"aria-label":S(n.itemAriaLabel,c,n.length)},y),null):void 0]),dt("input",{class:"v-rating__hidden",name:g.value,id:_,type:"radio",value:c,checked:o.value===c,tabindex:-1,readonly:n.readonly,disabled:n.disabled},null)])}function u(a){return r["item-label"]?r["item-label"](a):a.label?dt("span",null,[a.label]):dt("span",null,[ki(" ")])}return Fr(()=>{var c;const a=!!((c=n.itemLabels)!=null&&c.length)||r["item-label"];return dt(n.tag,{class:["v-rating",{"v-rating--hover":n.hover,"v-rating--readonly":n.readonly},D.value,n.class],style:n.style},{default:()=>[dt(p,{value:0,index:-1,showStar:!1},null),t.value.map((s,l)=>{var h,f;return dt("div",{class:"v-rating__wrapper"},[a&&n.itemLabelPosition==="top"?u({value:s,index:l,label:(h=n.itemLabels)==null?void 0:h[l]}):void 0,dt("div",{class:"v-rating__item"},[n.halfIncrements?dt(Xr,null,[dt(p,{value:s-.5,index:l*2},null),dt(p,{value:s,index:l*2+1},null)]):dt(p,{value:s,index:l},null)]),a&&n.itemLabelPosition==="bottom"?u({value:s,index:l,label:(f=n.itemLabels)==null?void 0:f[l]}):void 0])})]})}),{}}});function ZT(n){const r=Math.abs(n);return Math.sign(n)*(r/((1/.501-2)*(1-r)+1))}function XT(n){let{selectedElement:e,containerSize:r,contentSize:S,isRtl:D,currentScrollOffset:x,isHorizontal:o}=n;const t=o?e.clientWidth:e.clientHeight,d=o?e.offsetLeft:e.offsetTop,v=D&&o?S-d-t:d,i=r+x,M=t+v,g=t*.4;return v<=x?x=Math.max(v-g,0):i<=M&&(x=Math.min(x-(i-M-g),S-r)),x}function yq(n){let{selectedElement:e,containerSize:r,contentSize:S,isRtl:D,isHorizontal:x}=n;const o=x?e.clientWidth:e.clientHeight,t=x?e.offsetLeft:e.offsetTop,d=D&&x?S-t-o/2-r/2:t+o/2-r/2;return Math.min(S-r,Math.max(0,d))}const i8=Symbol.for("vuetify:v-slide-group"),a8=cr({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:i8},nextIcon:{type:wi,default:"$next"},prevIcon:{type:wi,default:"$prev"},showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["always","desktop","mobile"].includes(n)},...Jr(),...Li(),...g0({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Hx=Er()({name:"VSlideGroup",props:a8(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isRtl:S}=Ls(),{mobile:D}=$d(),x=Kd(n,n.symbol),o=Kr(!1),t=Kr(0),d=Kr(0),v=Kr(0),i=cn(()=>n.direction==="horizontal"),{resizeRef:M,contentRect:g}=gf(),{resizeRef:p,contentRect:u}=gf(),a=cn(()=>x.selected.value.length?x.items.value.findIndex(F=>F.id===x.selected.value[0]):-1),c=cn(()=>x.selected.value.length?x.items.value.findIndex(F=>F.id===x.selected.value[x.selected.value.length-1]):-1);if(no){let F=-1;ei(()=>[x.selected.value,g.value,u.value,i.value],()=>{cancelAnimationFrame(F),F=requestAnimationFrame(()=>{if(g.value&&u.value){const B=i.value?"width":"height";d.value=g.value[B],v.value=u.value[B],o.value=d.value+1=0&&p.value){const B=p.value.children[c.value];a.value===0||!o.value?t.value=0:n.centerActive?t.value=yq({selectedElement:B,containerSize:d.value,contentSize:v.value,isRtl:S.value,isHorizontal:i.value}):o.value&&(t.value=XT({selectedElement:B,containerSize:d.value,contentSize:v.value,isRtl:S.value,currentScrollOffset:t.value,isHorizontal:i.value}))}})})}const s=Kr(!1);let l=0,h=0;function f(F){const B=i.value?"clientX":"clientY";h=(S.value&&i.value?-1:1)*t.value,l=F.touches[0][B],s.value=!0}function m(F){if(!o.value)return;const B=i.value?"clientX":"clientY",N=S.value&&i.value?-1:1;t.value=N*(h+l-F.touches[0][B])}function _(F){const B=v.value-d.value;t.value<0||!o.value?t.value=0:t.value>=B&&(t.value=B),s.value=!1}function y(){M.value&&(M.value[i.value?"scrollLeft":"scrollTop"]=0)}const C=Kr(!1);function w(F){if(C.value=!0,!(!o.value||!p.value)){for(const B of F.composedPath())for(const N of p.value.children)if(N===B){t.value=XT({selectedElement:N,containerSize:d.value,contentSize:v.value,isRtl:S.value,currentScrollOffset:t.value,isHorizontal:i.value});return}}}function k(F){C.value=!1}function E(F){var B;!C.value&&!(F.relatedTarget&&((B=p.value)!=null&&B.contains(F.relatedTarget)))&&A()}function T(F){p.value&&(i.value?F.key==="ArrowRight"?A(S.value?"prev":"next"):F.key==="ArrowLeft"&&A(S.value?"next":"prev"):F.key==="ArrowDown"?A("next"):F.key==="ArrowUp"&&A("prev"),F.key==="Home"?A("first"):F.key==="End"&&A("last"))}function A(F){var B,N,q,j,Y;if(p.value)if(!F)(B=Om(p.value)[0])==null||B.focus();else if(F==="next"){const U=(N=p.value.querySelector(":focus"))==null?void 0:N.nextElementSibling;U?U.focus():A("first")}else if(F==="prev"){const U=(q=p.value.querySelector(":focus"))==null?void 0:q.previousElementSibling;U?U.focus():A("last")}else F==="first"?(j=p.value.firstElementChild)==null||j.focus():F==="last"&&((Y=p.value.lastElementChild)==null||Y.focus())}function L(F){const B=t.value+(F==="prev"?-1:1)*d.value;t.value=el(B,0,v.value-d.value)}const b=cn(()=>{let F=t.value>v.value-d.value?-(v.value-d.value)+ZT(v.value-d.value-t.value):-t.value;t.value<=0&&(F=ZT(-t.value));const B=S.value&&i.value?-1:1;return{transform:`translate${i.value?"X":"Y"}(${B*F}px)`,transition:s.value?"none":"",willChange:s.value?"transform":""}}),O=cn(()=>({next:x.next,prev:x.prev,select:x.select,isSelected:x.isSelected})),I=cn(()=>{switch(n.showArrows){case"always":return!0;case"desktop":return!D.value;case!0:return o.value||Math.abs(t.value)>0;case"mobile":return D.value||o.value||Math.abs(t.value)>0;default:return!D.value&&(o.value||Math.abs(t.value)>0)}}),R=cn(()=>Math.abs(t.value)>0),z=cn(()=>v.value>Math.abs(t.value)+d.value);return Fr(()=>dt(n.tag,{class:["v-slide-group",{"v-slide-group--vertical":!i.value,"v-slide-group--has-affixes":I.value,"v-slide-group--is-overflowing":o.value},n.class],style:n.style,tabindex:C.value||x.selected.value.length?-1:0,onFocus:E},{default:()=>{var F,B,N;return[I.value&&dt("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!R.value}],onClick:()=>L("prev")},[((F=r.prev)==null?void 0:F.call(r,O.value))??dt(kx,null,{default:()=>[dt(Wa,{icon:S.value?n.nextIcon:n.prevIcon},null)]})]),dt("div",{key:"container",ref:M,class:"v-slide-group__container",onScroll:y},[dt("div",{ref:p,class:"v-slide-group__content",style:b.value,onTouchstartPassive:f,onTouchmovePassive:m,onTouchendPassive:_,onFocusin:w,onFocusout:k,onKeydown:T},[(B=r.default)==null?void 0:B.call(r,O.value)])]),I.value&&dt("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!z.value}],onClick:()=>L("next")},[((N=r.next)==null?void 0:N.call(r,O.value))??dt(kx,null,{default:()=>[dt(Wa,{icon:S.value?n.prevIcon:n.nextIcon},null)]})])]}})),{selected:x.selected,scrollTo:L,scrollOffset:t,focus:A}}}),bq=Er()({name:"VSlideGroupItem",props:v0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const S=y0(n,i8);return()=>{var D;return(D=r.default)==null?void 0:D.call(r,{isSelected:S.isSelected.value,select:S.select,toggle:S.toggle,selectedClass:S.selectedClass.value})}}});const xq=cr({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,...Gh({location:"bottom"}),...x0(),...uo(),...rc(),...sa(),...Ku(dg({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),_q=Er()({name:"VSnackbar",props:xq(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),{locationStyles:D}=Wh(n),{positionClasses:x}=_0(n),{scopeId:o}=T0(),{themeClasses:t}=Ca(n),{colorClasses:d,colorStyles:v,variantClasses:i}=Xd(n),{roundedClasses:M}=Oo(n),g=Gr();ei(S,u),ei(()=>n.timeout,u),nl(()=>{S.value&&u()});let p=-1;function u(){window.clearTimeout(p);const c=Number(n.timeout);!S.value||c===-1||(p=window.setTimeout(()=>{S.value=!1},c))}function a(){window.clearTimeout(p)}return Fr(()=>{const[c]=Kf.filterProps(n);return dt(Kf,Zr({ref:g,class:["v-snackbar",{"v-snackbar--active":S.value,"v-snackbar--multi-line":n.multiLine&&!n.vertical,"v-snackbar--vertical":n.vertical},x.value,n.class],style:n.style},c,{modelValue:S.value,"onUpdate:modelValue":s=>S.value=s,contentProps:Zr({class:["v-snackbar__wrapper",t.value,d.value,M.value,i.value],style:[D.value,v.value],onPointerenter:a,onPointerleave:u},c.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},o),{default:()=>[Zd(!1,"v-snackbar"),r.default&&dt("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[r.default()]),r.actions&&dt(Va,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[dt("div",{class:"v-snackbar__actions"},[r.actions()])]})],activator:r.activator})}),Vc({},g)}});const wq=cr({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...uh(),...s1()},"VSwitch"),Tq=Er()({name:"VSwitch",inheritAttrs:!1,props:wq(),emits:{"update:focused":n=>!0,"update:modelValue":()=>!0,"update:indeterminate":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const D=Ti(n,"indeterminate"),x=Ti(n,"modelValue"),{loaderClasses:o}=o1(n),{isFocused:t,focus:d,blur:v}=$h(n),i=Gr(),M=cn(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),g=rl(),p=cn(()=>n.id||`switch-${g}`);function u(){D.value&&(D.value=!1)}function a(c){var s,l;c.stopPropagation(),c.preventDefault(),(l=(s=i.value)==null?void 0:s.input)==null||l.click()}return Fr(()=>{const[c,s]=qd(r),[l,h]=Gs.filterProps(n),[f,m]=Nd.filterProps(n);return dt(Gs,Zr({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":D.value},o.value,n.class],style:n.style},c,l,{id:p.value,focused:t.value}),{...S,default:_=>{let{id:y,messagesId:C,isDisabled:w,isReadonly:k,isValid:E}=_;return dt(Nd,Zr({ref:i},f,{modelValue:x.value,"onUpdate:modelValue":[T=>x.value=T,u],id:y.value,"aria-describedby":C.value,type:"checkbox","aria-checked":D.value?"mixed":void 0,disabled:w.value,readonly:k.value,onFocus:d,onBlur:v},s),{...S,default:T=>{let{backgroundColorClasses:A,backgroundColorStyles:L}=T;return dt("div",{class:["v-switch__track",...A.value],style:L.value,onClick:a},null)},input:T=>{let{inputNode:A,icon:L,backgroundColorClasses:b,backgroundColorStyles:O}=T;return dt(Xr,null,[A,dt("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":L||n.loading},n.inset?void 0:b.value],style:n.inset?void 0:O.value},[dt(P_,null,{default:()=>[n.loading?dt(U_,{name:"v-switch",active:!0,color:E.value===!1?void 0:M.value},{default:I=>S.loader?S.loader(I):dt(N_,{active:I.isActive,color:I.color,indeterminate:!0,size:"16",width:"2"},null)}):L&&dt(Wa,{key:L,icon:L,size:"x-small"},null)]})])])}})}})}),{}}});const kq=cr({color:String,height:[Number,String],window:Boolean,...Jr(),...ps(),...p0(),...uo(),...Li(),...sa()},"VSystemBar"),Mq=Er()({name:"VSystemBar",props:kq(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{backgroundColorClasses:D,backgroundColorStyles:x}=Fo(Ir(n,"color")),{elevationClasses:o}=Ws(n),{roundedClasses:t}=Oo(n),{ssrBootStyles:d}=Yd(),v=cn(()=>n.height??(n.window?32:24)),{layoutItemStyles:i}=m0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Kr("top"),layoutSize:v,elementSize:v,active:cn(()=>!0),absolute:Ir(n,"absolute")});return Fr(()=>dt(n.tag,{class:["v-system-bar",{"v-system-bar--window":n.window},S.value,D.value,o.value,t.value,n.class],style:[x.value,i.value,d.value,n.style]},r)),{}}});const o8=Symbol.for("vuetify:v-tabs"),Aq=cr({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...Ku(H_({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),s8=Er()({name:"VTab",props:Aq(),setup(n,e){let{slots:r,attrs:S}=e;const{textColorClasses:D,textColorStyles:x}=tl(n,"sliderColor"),o=cn(()=>n.direction==="horizontal"),t=Kr(!1),d=Gr(),v=Gr();function i(M){var p,u;let{value:g}=M;if(t.value=g,g){const a=(u=(p=d.value)==null?void 0:p.$el.parentElement)==null?void 0:u.querySelector(".v-tab--selected .v-tab__slider"),c=v.value;if(!a||!c)return;const s=getComputedStyle(a).color,l=a.getBoundingClientRect(),h=c.getBoundingClientRect(),f=o.value?"x":"y",m=o.value?"X":"Y",_=o.value?"right":"bottom",y=o.value?"width":"height",C=l[f],w=h[f],k=C>w?l[_]-h[_]:l[f]-h[f],E=Math.sign(k)>0?o.value?"right":"bottom":Math.sign(k)<0?o.value?"left":"top":"center",A=(Math.abs(k)+(Math.sign(k)<0?l[y]:h[y]))/Math.max(l[y],h[y])||0,L=l[y]/h[y]||0,b=1.5;_d(c,{backgroundColor:[s,"currentcolor"],transform:[`translate${m}(${k}px) scale${m}(${L})`,`translate${m}(${k/b}px) scale${m}(${(A-1)/b+1})`,"none"],transformOrigin:Array(3).fill(E)},{duration:225,easing:Pm})}}return Fr(()=>{const[M]=Ml.filterProps(n);return dt(Ml,Zr({symbol:o8,ref:d,class:["v-tab",n.class],style:n.style,tabindex:t.value?0:-1,role:"tab","aria-selected":String(t.value),active:!1},M,S,{block:n.fixed,maxWidth:n.fixed?300:void 0,"onGroup:selected":i}),{default:()=>{var g;return[((g=r.default)==null?void 0:g.call(r))??n.text,!n.hideSlider&&dt("div",{ref:v,class:["v-tab__slider",D.value],style:x.value},null)]}})}),{}}});function Sq(n){return n?n.map(e=>typeof e=="string"?{title:e,value:e}:e):[]}const Cq=cr({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...a8({mandatory:"force"}),...ms(),...Li()},"VTabs"),Eq=Er()({name:"VTabs",props:Cq(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),D=cn(()=>Sq(n.items)),{densityClasses:x}=il(n),{backgroundColorClasses:o,backgroundColorStyles:t}=Fo(Ir(n,"bgColor"));return is({VTab:{color:Ir(n,"color"),direction:Ir(n,"direction"),stacked:Ir(n,"stacked"),fixed:Ir(n,"fixedTabs"),sliderColor:Ir(n,"sliderColor"),hideSlider:Ir(n,"hideSlider")}}),Fr(()=>{const[d]=Hx.filterProps(n);return dt(Hx,Zr(d,{modelValue:S.value,"onUpdate:modelValue":v=>S.value=v,class:["v-tabs",`v-tabs--${n.direction}`,`v-tabs--align-tabs-${n.alignTabs}`,{"v-tabs--fixed-tabs":n.fixedTabs,"v-tabs--grow":n.grow,"v-tabs--stacked":n.stacked},x.value,o.value,n.class],style:[{"--v-tabs-height":ii(n.height)},t.value,n.style],role:"tablist",symbol:o8}),{default:()=>[r.default?r.default():D.value.map(v=>dt(s8,Zr(v,{key:v.title}),null))]})}),{}}});const Lq=cr({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...Jr(),...ms(),...Li(),...sa()},"VTable"),Iq=Er()({name:"VTable",props:Lq(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{densityClasses:D}=il(n);return Fr(()=>dt(n.tag,{class:["v-table",{"v-table--fixed-height":!!n.height,"v-table--fixed-header":n.fixedHeader,"v-table--fixed-footer":n.fixedFooter,"v-table--has-top":!!r.top,"v-table--has-bottom":!!r.bottom,"v-table--hover":n.hover},S.value,D.value,n.class],style:n.style},{default:()=>{var x,o,t;return[(x=r.top)==null?void 0:x.call(r),r.default?dt("div",{class:"v-table__wrapper",style:{height:ii(n.height)}},[dt("table",null,[r.default()])]):(o=r.wrapper)==null?void 0:o.call(r),(t=r.bottom)==null?void 0:t.call(r)]}})),{}}});const Oq=cr({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...uh(),...p1()},"VTextarea"),Pq=Er()({name:"VTextarea",directives:{Intersect:ug},inheritAttrs:!1,props:Oq(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const x=Ti(n,"modelValue"),{isFocused:o,focus:t,blur:d}=$h(n),v=cn(()=>typeof n.counterValue=="function"?n.counterValue(x.value):(x.value||"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter});function M(E,T){var A,L;!n.autofocus||!E||(L=(A=T[0].target)==null?void 0:A.focus)==null||L.call(A)}const g=Gr(),p=Gr(),u=Kr(""),a=Gr(),c=cn(()=>n.persistentPlaceholder||o.value||n.active);function s(){var E;a.value!==document.activeElement&&((E=a.value)==null||E.focus()),o.value||t()}function l(E){s(),S("click:control",E)}function h(E){S("mousedown:control",E)}function f(E){E.stopPropagation(),s(),qa(()=>{x.value="",T_(n["onClick:clear"],E)})}function m(E){var A;const T=E.target;if(x.value=T.value,(A=n.modelModifiers)!=null&&A.trim){const L=[T.selectionStart,T.selectionEnd];qa(()=>{T.selectionStart=L[0],T.selectionEnd=L[1]})}}const _=Gr(),y=Gr(+n.rows),C=cn(()=>["plain","underlined"].includes(n.variant));wu(()=>{n.autoGrow||(y.value=+n.rows)});function w(){n.autoGrow&&qa(()=>{if(!_.value||!p.value)return;const E=getComputedStyle(_.value),T=getComputedStyle(p.value.$el),A=parseFloat(E.getPropertyValue("--v-field-padding-top"))+parseFloat(E.getPropertyValue("--v-input-padding-top"))+parseFloat(E.getPropertyValue("--v-field-padding-bottom")),L=_.value.scrollHeight,b=parseFloat(E.lineHeight),O=Math.max(parseFloat(n.rows)*b+A,parseFloat(T.getPropertyValue("--v-input-control-height"))),I=parseFloat(n.maxRows)*b+A||1/0,R=el(L??0,O,I);y.value=Math.floor((R-A)/b),u.value=ii(R)})}nl(w),ei(x,w),ei(()=>n.rows,w),ei(()=>n.maxRows,w),ei(()=>n.density,w);let k;return ei(_,E=>{E?(k=new ResizeObserver(w),k.observe(_.value)):k==null||k.disconnect()}),Sl(()=>{k==null||k.disconnect()}),Fr(()=>{const E=!!(D.counter||n.counter||n.counterValue),T=!!(E||D.details),[A,L]=qd(r),[{modelValue:b,...O}]=Gs.filterProps(n),[I]=Y_(n);return dt(Gs,Zr({ref:g,modelValue:x.value,"onUpdate:modelValue":R=>x.value=R,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-text-field--plain-underlined":C.value},n.class],style:n.style},A,O,{centerAffix:y.value===1&&!C.value,focused:o.value}),{...D,default:R=>{let{isDisabled:z,isDirty:F,isReadonly:B,isValid:N}=R;return dt(pg,Zr({ref:p,style:{"--v-textarea-control-height":u.value},onClick:l,onMousedown:h,"onClick:clear":f,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},I,{active:c.value||F.value,centerAffix:y.value===1&&!C.value,dirty:F.value||n.dirty,disabled:z.value,focused:o.value,error:N.value===!1}),{...D,default:q=>{let{props:{class:j,...Y}}=q;return dt(Xr,null,[n.prefix&&dt("span",{class:"v-text-field__prefix"},[n.prefix]),Lo(dt("textarea",Zr({ref:a,class:j,value:x.value,onInput:m,autofocus:n.autofocus,readonly:B.value,disabled:z.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:s,onBlur:d},Y,L),null),[[Tu("intersect"),{handler:M},null,{once:!0}]]),n.autoGrow&&Lo(dt("textarea",{class:[j,"v-textarea__sizer"],id:`${Y.id}-sizer`,"onUpdate:modelValue":U=>x.value=U,ref:_,readonly:!0,"aria-hidden":"true"},null),[[m9,x.value]]),n.suffix&&dt("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:T?R=>{var z;return dt(Xr,null,[(z=D.details)==null?void 0:z.call(D,R),E&&dt(Xr,null,[dt("span",null,null),dt(d1,{active:n.persistentCounter||o.value,value:v.value,max:i.value},D.counter)])])}:void 0})}),Vc({},g,p,a)}});const Dq=cr({withBackground:Boolean,...Jr(),...sa(),...Li()},"VThemeProvider"),Rq=Er()({name:"VThemeProvider",props:Dq(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n);return()=>{var D;return n.withBackground?dt(n.tag,{class:["v-theme-provider",S.value,n.class],style:n.style},{default:()=>{var x;return[(x=r.default)==null?void 0:x.call(r)]}}):(D=r.default)==null?void 0:D.call(r)}}});const zq=cr({align:{type:String,default:"center",validator:n=>["center","start"].includes(n)},direction:{type:String,default:"vertical",validator:n=>["vertical","horizontal"].includes(n)},justify:{type:String,default:"auto",validator:n=>["auto","center"].includes(n)},side:{type:String,validator:n=>n==null||["start","end"].includes(n)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:n=>["start","end","both"].includes(n)},...Jr(),...ms(),...Li(),...sa()},"VTimeline"),Fq=Er()({name:"VTimeline",props:zq(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ca(n),{densityClasses:D}=il(n),{rtlClasses:x}=Ls();is({VTimelineDivider:{lineColor:Ir(n,"lineColor")},VTimelineItem:{density:Ir(n,"density"),lineInset:Ir(n,"lineInset")}});const o=cn(()=>{const d=n.side?n.side:n.density!=="default"?"end":null;return d&&`v-timeline--side-${d}`}),t=cn(()=>{const d=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(n.truncateLine){case"both":return d;case"start":return d[0];case"end":return d[1];default:return null}});return Fr(()=>dt(n.tag,{class:["v-timeline",`v-timeline--${n.direction}`,`v-timeline--align-${n.align}`,`v-timeline--justify-${n.justify}`,t.value,{"v-timeline--inset-line":!!n.lineInset},S.value,D.value,o.value,x.value,n.class],style:[{"--v-timeline-line-thickness":ii(n.lineThickness)},n.style]},r)),{}}}),Bq=cr({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:wi,iconColor:String,lineColor:String,...Jr(),...uo(),...lh(),...ps()},"VTimelineDivider"),Nq=Er()({name:"VTimelineDivider",props:Bq(),setup(n,e){let{slots:r}=e;const{sizeClasses:S,sizeStyles:D}=b0(n,"v-timeline-divider__dot"),{backgroundColorStyles:x,backgroundColorClasses:o}=Fo(Ir(n,"dotColor")),{roundedClasses:t}=Oo(n,"v-timeline-divider__dot"),{elevationClasses:d}=Ws(n),{backgroundColorClasses:v,backgroundColorStyles:i}=Fo(Ir(n,"lineColor"));return Fr(()=>dt("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":n.fillDot},n.class],style:n.style},[dt("div",{class:["v-timeline-divider__before",v.value],style:i.value},null),!n.hideDot&&dt("div",{key:"dot",class:["v-timeline-divider__dot",d.value,t.value,S.value],style:D.value},[dt("div",{class:["v-timeline-divider__inner-dot",o.value,t.value],style:x.value},[r.default?dt(Va,{key:"icon-defaults",disabled:!n.icon,defaults:{VIcon:{color:n.iconColor,icon:n.icon,size:n.size}}},r.default):dt(Wa,{key:"icon",color:n.iconColor,icon:n.icon,size:n.size},null)])]),dt("div",{class:["v-timeline-divider__after",v.value],style:i.value},null)])),{}}}),Vq=cr({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:wi,iconColor:String,lineInset:[Number,String],...Jr(),...ec(),...ps(),...uo(),...lh(),...Li()},"VTimelineItem"),jq=Er()({name:"VTimelineItem",props:Vq(),setup(n,e){let{slots:r}=e;const{dimensionStyles:S}=tc(n),D=Kr(0),x=Gr();return ei(x,o=>{var t;o&&(D.value=((t=o.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:t.getBoundingClientRect().width)??0)},{flush:"post"}),Fr(()=>{var o,t;return dt("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":n.fillDot},n.class],style:[{"--v-timeline-dot-size":ii(D.value),"--v-timeline-line-inset":n.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${ii(n.lineInset)})`:ii(0)},n.style]},[dt("div",{class:"v-timeline-item__body",style:S.value},[(o=r.default)==null?void 0:o.call(r)]),dt(Nq,{ref:x,hideDot:n.hideDot,icon:n.icon,iconColor:n.iconColor,size:n.size,elevation:n.elevation,dotColor:n.dotColor,fillDot:n.fillDot,rounded:n.rounded},{default:r.icon}),n.density!=="compact"&&dt("div",{class:"v-timeline-item__opposite"},[!n.hideOpposite&&((t=r.opposite)==null?void 0:t.call(r))])])}),{}}}),Uq=cr({...Jr(),...rc({variant:"text"})},"VToolbarItems"),Hq=Er()({name:"VToolbarItems",props:Uq(),setup(n,e){let{slots:r}=e;return is({VBtn:{color:Ir(n,"color"),height:"inherit",variant:Ir(n,"variant")}}),Fr(()=>{var S;return dt("div",{class:["v-toolbar-items",n.class],style:n.style},[(S=r.default)==null?void 0:S.call(r)])}),{}}});const Gq=cr({id:String,text:String,...Ku(dg({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),Wq=Er()({name:"VTooltip",props:Gq(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Ti(n,"modelValue"),{scopeId:D}=T0(),x=rl(),o=cn(()=>n.id||`v-tooltip-${x}`),t=Gr(),d=cn(()=>n.location.split(" ").length>1?n.location:n.location+" center"),v=cn(()=>n.origin==="auto"||n.origin==="overlap"||n.origin.split(" ").length>1||n.location.split(" ").length>1?n.origin:n.origin+" center"),i=cn(()=>n.transition?n.transition:S.value?"scale-transition":"fade-transition"),M=cn(()=>Zr({"aria-describedby":o.value},n.activatorProps));return Fr(()=>{const[g]=Kf.filterProps(n);return dt(Kf,Zr({ref:t,class:["v-tooltip",n.class],style:n.style,id:o.value},g,{modelValue:S.value,"onUpdate:modelValue":p=>S.value=p,transition:i.value,absolute:!0,location:d.value,origin:v.value,persistent:!0,role:"tooltip",activatorProps:M.value,_disableGlobalStack:!0},D),{activator:r.activator,default:function(){var c;for(var p=arguments.length,u=new Array(p),a=0;a!0},setup(n,e){let{slots:r}=e;const S=QA(n,"validation");return()=>{var D;return(D=r.default)==null?void 0:D.call(r,S)}}}),$q=Object.freeze(Object.defineProperty({__proto__:null,VAlert:wU,VAlertTitle:WA,VApp:Oj,VAppBar:Jj,VAppBarNavIcon:yU,VAppBarTitle:bU,VAutocomplete:VH,VAvatar:Vh,VBadge:UH,VBanner:WH,VBannerActions:MS,VBannerText:AS,VBottomNavigation:$H,VBreadcrumbs:KH,VBreadcrumbsDivider:SS,VBreadcrumbsItem:CS,VBtn:Ml,VBtnGroup:Sx,VBtnToggle:iU,VCard:eG,VCardActions:ES,VCardItem:OS,VCardSubtitle:LS,VCardText:PS,VCardTitle:IS,VCarousel:uG,VCarouselItem:fG,VCheckbox:LU,VCheckboxBtn:a0,VChip:hg,VChipGroup:PU,VClassIcon:I_,VCode:hG,VCol:TW,VColorPicker:eW,VCombobox:rW,VComponentIcon:_x,VContainer:bW,VCounter:d1,VDefaultsProvider:Va,VDialog:aW,VDialogBottomTransition:zj,VDialogTopTransition:Fj,VDialogTransition:i1,VDivider:cS,VExpandTransition:a1,VExpandXTransition:R_,VExpansionPanel:fW,VExpansionPanelText:GS,VExpansionPanelTitle:qS,VExpansionPanels:lW,VFabTransition:Rj,VFadeTransition:kx,VField:pg,VFieldLabel:rm,VFileInput:dW,VFooter:mW,VForm:vW,VHover:PW,VIcon:Wa,VImg:Bd,VInput:Gs,VItem:zW,VItemGroup:RW,VKbd:FW,VLabel:w0,VLayout:NW,VLayoutItem:jW,VLazy:HW,VLigatureIcon:WV,VList:c1,VListGroup:Ix,VListImg:QU,VListItem:Xf,VListItemAction:tH,VListItemMedia:rH,VListItemSubtitle:sS,VListItemTitle:lS,VListSubheader:uS,VLocaleProvider:WW,VMain:$W,VMenu:h1,VMessages:XA,VNavigationDrawer:nq,VNoSsr:rq,VOverlay:Kf,VPagination:oq,VParallax:uq,VProgressCircular:N_,VProgressLinear:V_,VRadio:fq,VRadioGroup:dq,VRangeSlider:mq,VRating:vq,VResponsive:Mx,VRow:LW,VScaleTransition:P_,VScrollXReverseTransition:Nj,VScrollXTransition:Bj,VScrollYReverseTransition:jj,VScrollYTransition:Vj,VSelect:RH,VSelectionControl:Nd,VSelectionControlGroup:$A,VSheet:Ux,VSlideGroup:Hx,VSlideGroupItem:bq,VSlideXReverseTransition:Hj,VSlideXTransition:Uj,VSlideYReverseTransition:Gj,VSlideYTransition:D_,VSlider:jx,VSnackbar:_q,VSpacer:IW,VSvgIcon:L_,VSwitch:Tq,VSystemBar:Mq,VTab:s8,VTable:Iq,VTabs:Eq,VTextField:Vd,VTextarea:Pq,VThemeProvider:Rq,VTimeline:Fq,VTimelineItem:jq,VToolbar:Ax,VToolbarItems:Hq,VToolbarTitle:O_,VTooltip:Wq,VValidation:qq,VVirtualScroll:g1,VWindow:Rx,VWindowItem:zx},Symbol.toStringTag,{value:"Module"}));function Yq(n,e){const r=e.modifiers||{},S=e.value,{once:D,immediate:x,...o}=r,t=!Object.keys(o).length,{handler:d,options:v}=typeof S=="object"?S:{handler:S,options:{attributes:(o==null?void 0:o.attr)??t,characterData:(o==null?void 0:o.char)??t,childList:(o==null?void 0:o.child)??t,subtree:(o==null?void 0:o.sub)??t}},i=new MutationObserver(function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],g=arguments.length>1?arguments[1]:void 0;d==null||d(M,g),D&&l8(n,e)});x&&(d==null||d([],i)),n._mutate=Object(n._mutate),n._mutate[e.instance.$.uid]={observer:i},i.observe(n,v)}function l8(n,e){var r;(r=n._mutate)!=null&&r[e.instance.$.uid]&&(n._mutate[e.instance.$.uid].observer.disconnect(),delete n._mutate[e.instance.$.uid])}const Zq={mounted:Yq,unmounted:l8};function Xq(n,e){var D,x;const r=e.value,S={passive:!((D=e.modifiers)!=null&&D.active)};window.addEventListener("resize",r,S),n._onResize=Object(n._onResize),n._onResize[e.instance.$.uid]={handler:r,options:S},(x=e.modifiers)!=null&&x.quiet||r()}function Kq(n,e){var D;if(!((D=n._onResize)!=null&&D[e.instance.$.uid]))return;const{handler:r,options:S}=n._onResize[e.instance.$.uid];window.removeEventListener("resize",r,S),delete n._onResize[e.instance.$.uid]}const Jq={mounted:Xq,unmounted:Kq};function u8(n,e){const{self:r=!1}=e.modifiers??{},S=e.value,D=typeof S=="object"&&S.options||{passive:!0},x=typeof S=="function"||"handleEvent"in S?S:S.handler,o=r?n:e.arg?document.querySelector(e.arg):window;o&&(o.addEventListener("scroll",x,D),n._onScroll=Object(n._onScroll),n._onScroll[e.instance.$.uid]={handler:x,options:D,target:r?void 0:o})}function c8(n,e){var x;if(!((x=n._onScroll)!=null&&x[e.instance.$.uid]))return;const{handler:r,options:S,target:D=n}=n._onScroll[e.instance.$.uid];D.removeEventListener("scroll",r,S),delete n._onScroll[e.instance.$.uid]}function Qq(n,e){e.value!==e.oldValue&&(c8(n,e),u8(n,e))}const e$={mounted:u8,unmounted:c8,updated:Qq},t$=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside:wS,Intersect:ug,Mutate:Zq,Resize:Jq,Ripple:qh,Scroll:e$,Touch:K_},Symbol.toStringTag,{value:"Module"})),tw=x9(eV);tw.use(T9());tw.use(AA({components:$q,directives:t$}));tw.mount("#app"); diff --git a/dist/index.html b/dist/index.html index a2cf281a..3c3b5c9f 100644 --- a/dist/index.html +++ b/dist/index.html @@ -5,8 +5,8 @@ openms-streamlit-vue-component - - + +
diff --git a/openms-streamlit-vue-component b/openms-streamlit-vue-component index df86f227..7ae827e3 160000 --- a/openms-streamlit-vue-component +++ b/openms-streamlit-vue-component @@ -1 +1 @@ -Subproject commit df86f2270dd262fb2ad100428211ee80bdff7676 +Subproject commit 7ae827e355cb41275660689d0ea9caee66e9e414